From 574b19a905568e7fa9a49ad714f7021d498b3b4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Thu, 29 Jul 2021 13:13:43 +0200 Subject: [PATCH] Fixed bug on user services page load and updated translations --- .../src/uds/locale/ar/LC_MESSAGES/django.po | 389 ++++++++------- .../src/uds/locale/ar/LC_MESSAGES/djangojs.po | 455 ++++++++--------- .../src/uds/locale/ca/LC_MESSAGES/django.po | 390 ++++++++------- .../src/uds/locale/ca/LC_MESSAGES/djangojs.po | 455 ++++++++--------- .../src/uds/locale/de/LC_MESSAGES/django.po | 393 ++++++++------- .../src/uds/locale/de/LC_MESSAGES/djangojs.po | 455 ++++++++--------- .../src/uds/locale/en/LC_MESSAGES/django.po | 380 ++++++++------- .../src/uds/locale/en/LC_MESSAGES/djangojs.po | 454 ++++++++--------- .../src/uds/locale/es/LC_MESSAGES/django.po | 397 ++++++++------- .../src/uds/locale/es/LC_MESSAGES/djangojs.po | 459 +++++++++--------- .../src/uds/locale/eu/LC_MESSAGES/django.po | 391 ++++++++------- .../src/uds/locale/eu/LC_MESSAGES/djangojs.po | 455 ++++++++--------- .../src/uds/locale/fr/LC_MESSAGES/django.po | 391 ++++++++------- .../src/uds/locale/fr/LC_MESSAGES/djangojs.po | 456 ++++++++--------- .../src/uds/locale/it/LC_MESSAGES/django.po | 391 ++++++++------- .../src/uds/locale/it/LC_MESSAGES/djangojs.po | 455 ++++++++--------- .../src/uds/locale/pt/LC_MESSAGES/django.po | 389 ++++++++------- .../src/uds/locale/pt/LC_MESSAGES/djangojs.po | 455 ++++++++--------- .../src/uds/locale/ru/LC_MESSAGES/django.po | 391 ++++++++------- .../src/uds/locale/ru/LC_MESSAGES/djangojs.po | 455 ++++++++--------- .../uds/locale/zh_Hans/LC_MESSAGES/django.po | 387 ++++++++------- .../locale/zh_Hans/LC_MESSAGES/djangojs.po | 455 ++++++++--------- server/src/uds/static/modern/main-es2015.js | 2 +- server/src/uds/static/modern/main-es5.js | 2 +- 24 files changed, 4963 insertions(+), 4339 deletions(-) diff --git a/server/src/uds/locale/ar/LC_MESSAGES/django.po b/server/src/uds/locale/ar/LC_MESSAGES/django.po index 22a312f4d..1a85a2706 100644 --- a/server/src/uds/locale/ar/LC_MESSAGES/django.po +++ b/server/src/uds/locale/ar/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: OpenUDS\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-08 14:18+0200\n" +"POT-Creation-Date: 2021-07-29 13:12+0200\n" "PO-Revision-Date: 2021-07-08 10:58+0000\n" "Last-Translator: Adolfo Gómez \n" "Language-Team: Arabic (http://www.transifex.com/openuds/openuds/language/" @@ -30,7 +30,7 @@ msgstr "حسابات" #: REST/methods/osmanagers.py:55 REST/methods/providers.py:71 #: REST/methods/proxies.py:59 REST/methods/reports.py:57 #: REST/methods/services_pool_groups.py:63 REST/methods/services_pools.py:133 -#: REST/methods/transports.py:58 REST/methods/user_services.py:321 +#: REST/methods/transports.py:66 REST/methods/user_services.py:321 #: REST/methods/user_services.py:396 REST/methods/users_groups.py:122 #: REST/model.py:149 msgid "Name" @@ -41,7 +41,7 @@ msgstr "الاسم" #: REST/methods/meta_pools.py:71 REST/methods/osmanagers.py:57 #: REST/methods/providers.py:73 REST/methods/proxies.py:62 #: REST/methods/services.py:241 REST/methods/services_pool_groups.py:64 -#: REST/methods/transports.py:60 REST/methods/user_services.py:398 +#: REST/methods/transports.py:68 REST/methods/user_services.py:398 #: REST/methods/users_groups.py:123 REST/methods/users_groups.py:291 #: REST/model.py:173 msgid "Comments" @@ -56,7 +56,7 @@ msgstr "علامة الوقت" #: REST/methods/networks.py:63 REST/methods/osmanagers.py:59 #: REST/methods/providers.py:79 REST/methods/proxies.py:63 #: REST/methods/services.py:250 REST/methods/services_pools.py:142 -#: REST/methods/transports.py:63 +#: REST/methods/transports.py:77 msgid "tags" msgstr "العلامات" @@ -68,7 +68,7 @@ msgstr "اسم حمام السباحة" msgid "User name" msgstr "اسم المستخدم" -#: REST/methods/accountsusage.py:94 core/util/state.py:78 +#: REST/methods/accountsusage.py:94 core/util/state.py:79 #: core/util/states/common.py:71 msgid "Running" msgstr "تشغيل" @@ -115,11 +115,11 @@ msgstr "مضيف غير مدار" msgid "User service not found" msgstr "لم يتم العثور على خدمة المستخدم" -#: REST/methods/actor_token.py:51 REST/methods/tunnel_token.py:51 +#: REST/methods/actor_token.py:51 msgid "Actor tokens" msgstr "الرموز الفاعلة" -#: REST/methods/actor_token.py:54 REST/methods/tunnel_token.py:54 +#: REST/methods/actor_token.py:54 REST/methods/tunnel_token.py:51 #: reports/auto/fields.py:56 reports/stats/pools_performance.py:217 #: reports/stats/pools_performance.py:236 reports/stats/pools_usage_day.py:64 #: reports/stats/usage_by_pool.py:169 reports/stats/user_access.py:190 @@ -127,11 +127,11 @@ msgstr "الرموز الفاعلة" msgid "Date" msgstr "تاريخ" -#: REST/methods/actor_token.py:55 REST/methods/tunnel_token.py:55 +#: REST/methods/actor_token.py:55 REST/methods/tunnel_token.py:52 msgid "Issued by" msgstr "صادر عن" -#: REST/methods/actor_token.py:56 REST/methods/tunnel_token.py:56 +#: REST/methods/actor_token.py:56 REST/methods/tunnel_token.py:53 #: reports/stats/usage_by_pool.py:173 #: templates/uds/reports/stats/usage-by-pool.html:18 msgid "Origin" @@ -157,7 +157,7 @@ msgstr "تشغيل مرة واحدة" msgid "Log level" msgstr "تسجيل مستوى" -#: REST/methods/actor_token.py:67 REST/methods/tunnel_token.py:63 +#: REST/methods/actor_token.py:67 REST/methods/tunnel_token.py:60 msgid "Token isued by {} from {}" msgstr "يتم إقفال الرمز بواسطة {} من {}" @@ -171,13 +171,13 @@ msgstr "Id" #: REST/methods/authenticators.py:67 REST/methods/osmanagers.py:56 #: REST/methods/providers.py:72 REST/methods/services.py:242 -#: REST/methods/transports.py:59 REST/methods/user_services.py:397 +#: REST/methods/transports.py:67 REST/methods/user_services.py:397 msgid "Type" msgstr "نوع" #: REST/methods/authenticators.py:69 REST/methods/meta_service_pools.py:88 #: REST/methods/op_calendars.py:80 REST/methods/services_pool_groups.py:61 -#: REST/methods/transports.py:57 REST/methods/user_services.py:395 +#: REST/methods/transports.py:65 REST/methods/user_services.py:395 #: REST/model.py:185 models/meta_pool.py:73 msgid "Priority" msgstr "الأولوية" @@ -189,7 +189,7 @@ msgid "Visible" msgstr "مرئي" #: REST/methods/authenticators.py:71 REST/methods/meta_pools.py:77 -#: REST/methods/transports.py:115 REST/model.py:201 +#: REST/methods/transports.py:164 REST/model.py:201 msgid "Label" msgstr "التسمية" @@ -385,7 +385,7 @@ msgid "Pool" msgstr "تجمع" #: REST/methods/meta_service_pools.py:197 REST/methods/services_usage.py:122 -#: REST/methods/tunnel_token.py:57 REST/methods/user_services.py:139 +#: REST/methods/tunnel_token.py:54 REST/methods/user_services.py:139 #: REST/methods/user_services.py:270 auths/IP/authenticator.py:68 msgid "IP" msgstr "IP" @@ -433,7 +433,7 @@ msgstr "تمت ازالت البند مسبقاً" msgid "Item is not removable" msgstr "البند غير قابل للإزالة" -#: REST/methods/networks.py:58 REST/methods/transports.py:88 +#: REST/methods/networks.py:58 REST/methods/transports.py:114 msgid "Networks" msgstr "الشبكات" @@ -559,7 +559,7 @@ msgstr "تحقق من الشهادة" #: services/OpenGnsys/provider.py:97 services/OpenNebula/provider.py:77 #: services/OpenStack/provider_legacy.py:106 services/Proxmox/provider.py:66 #: services/VCloud_enterprise/provider.py:32 -#: services/Vmware_enterprise/provider.py:41 services/Xen/provider.py:100 +#: services/Vmware_enterprise/provider.py:45 services/Xen/provider.py:100 msgid "Host" msgstr "المضيف" @@ -578,7 +578,7 @@ msgstr "الخادم (IP أو FQDN) الذي سيعمل بمثابة وكيل." #: services/OpenStack/provider_legacy.py:110 services/Proxmox/provider.py:73 #: services/RDS_enterprise/provider.py:101 #: services/VCloud_enterprise/provider.py:33 -#: services/Vmware_enterprise/provider.py:42 +#: services/Vmware_enterprise/provider.py:52 msgid "Port" msgstr "منفذ" @@ -699,8 +699,8 @@ msgstr "موافق" msgid "Services Pool Groups" msgstr "خدمات تجمع مجموعات" -#: REST/methods/services_pools.py:131 REST/methods/transports.py:61 -#: REST/methods/transports.py:106 +#: REST/methods/services_pools.py:131 REST/methods/transports.py:71 +#: REST/methods/transports.py:152 msgid "Service Pools" msgstr "تجمعات الخدمة " @@ -847,19 +847,19 @@ msgstr "استخدام الخدمات" msgid "Service" msgstr "خدمة" -#: REST/methods/transports.py:55 +#: REST/methods/transports.py:63 msgid "Transports" msgstr "النقل" -#: REST/methods/transports.py:62 +#: REST/methods/transports.py:76 msgid "Devices" msgstr "جهاز" -#: REST/methods/transports.py:79 +#: REST/methods/transports.py:97 msgid "Network access" msgstr "الوصول إلى شبكة الاتصال" -#: REST/methods/transports.py:80 +#: REST/methods/transports.py:99 msgid "" "If checked, the transport will be enabled for the selected networks. If " "unchecked, transport will be disabled for selected networks" @@ -867,7 +867,7 @@ msgstr "" "إذا تم تحديده، سيتم تمكين النقل للشبكات المحددة. إذا تم إلغاء تحديده، سيتم " "تعطيل النقل لشبكات محددة" -#: REST/methods/transports.py:89 +#: REST/methods/transports.py:116 msgid "" "Networks associated with this transport. If No network selected, will mean " "\"all networks\"" @@ -875,11 +875,11 @@ msgstr "" "الشبكات المرتبطة بهذا النقل. في حالة عدم وجود شبكة اتصال محددة، سوف يعني " "\"جميع الشبكات\"" -#: REST/methods/transports.py:97 +#: REST/methods/transports.py:134 msgid "Allowed Devices" msgstr "أجهزة مسموحة " -#: REST/methods/transports.py:98 +#: REST/methods/transports.py:136 msgid "" "If empty, any kind of device compatible with this transport will be allowed. " "Else, only devices compatible with selected values will be allowed" @@ -887,15 +887,20 @@ msgstr "" "إذا كان فارغا، لن يسمح لأي نوع من الأجهزة المتوافقة مع هذا النقل. خلاف ذلك، " "يسمح لأجهزة متوافقة فقط مع القيم المحددة" -#: REST/methods/transports.py:107 +#: REST/methods/transports.py:153 msgid "Currently assigned services pools" msgstr "مجمعات الخدمات المعينة حاليا" -#: REST/methods/transports.py:116 +#: REST/methods/transports.py:166 msgid "Metapool transport label (only used on metapool transports grouping)" msgstr "ملصق نقل Metapool (يُستخدم فقط في تجميع عمليات نقل metapool)" -#: REST/methods/tunnel_token.py:53 +#: REST/methods/tunnel_token.py:48 +#| msgid "Tunneled" +msgid "Tunnel tokens" +msgstr "رموز النفق" + +#: REST/methods/tunnel_token.py:50 msgid "Token" msgstr "رمز" @@ -994,7 +999,7 @@ msgstr "المستخدمون الحاليون" #: services/OpenStack/provider.py:127 services/OpenStack/provider_legacy.py:144 #: services/Proxmox/provider.py:82 services/RDS_enterprise/provider.py:118 #: services/VCloud_enterprise/provider.py:35 -#: services/Vmware_enterprise/provider.py:43 services/Xen/provider.py:107 +#: services/Vmware_enterprise/provider.py:60 services/Xen/provider.py:107 #: transports/HTML5RDP/html5rdp.py:103 transports/HTML5VNC/html5vnc.py:75 #: transports/NoMachine_enterprise/nomachine_base.py:63 #: transports/PCoIP_enterprise/pcoip.py:59 transports/RDP/rdp_base.py:75 @@ -1139,7 +1144,7 @@ msgstr "" #: services/OpenStack/provider.py:135 services/OpenStack/provider_legacy.py:152 #: services/Proxmox/provider.py:92 services/RDS_enterprise/provider.py:126 #: services/Sample/service.py:140 services/VCloud_enterprise/provider.py:36 -#: services/Vmware_enterprise/provider.py:44 services/Xen/provider.py:115 +#: services/Vmware_enterprise/provider.py:67 services/Xen/provider.py:115 #: transports/HTML5RDP/html5rdp.py:109 transports/HTML5VNC/html5vnc.py:76 #: transports/NoMachine_enterprise/nomachine_base.py:69 #: transports/PCoIP_enterprise/pcoip.py:60 transports/RDP/rdp_base.py:81 @@ -1164,7 +1169,7 @@ msgstr "كلمة مرور المستخدم ldap" #: services/OpenGnsys/provider.py:164 services/OpenNebula/provider.py:86 #: services/OpenStack/provider.py:166 services/OpenStack/provider_legacy.py:183 #: services/Proxmox/provider.py:123 services/VCloud_enterprise/provider.py:63 -#: services/Vmware_enterprise/provider.py:50 +#: services/Vmware_enterprise/provider.py:99 msgid "Timeout" msgstr "مهلة" @@ -1626,11 +1631,11 @@ msgstr "المصادق SAML" msgid "SAML (v2.0) Authenticator" msgstr "المصادق (SAML (v2.0" -#: auths/SAML_enterprise/saml.py:127 +#: auths/SAML_enterprise/saml.py:129 msgid "Private key" msgstr "المفتاح الخاص" -#: auths/SAML_enterprise/saml.py:128 +#: auths/SAML_enterprise/saml.py:132 msgid "" "Private key used for sign and encription, as generated in base 64 from " "openssl" @@ -1638,15 +1643,15 @@ msgstr "" "استخدام المفتاح الخاص للتسجيل ولهذه السمة، كما تم إنشاؤه في الأساس 64 من " "OpenSSL" -#: auths/SAML_enterprise/saml.py:129 auths/SAML_enterprise/saml.py:134 +#: auths/SAML_enterprise/saml.py:135 auths/SAML_enterprise/saml.py:146 msgid "Certificates" msgstr "شهادات" -#: auths/SAML_enterprise/saml.py:132 transports/SPICE/spice_base.py:82 +#: auths/SAML_enterprise/saml.py:140 transports/SPICE/spice_base.py:82 msgid "Certificate" msgstr "شهادة" -#: auths/SAML_enterprise/saml.py:133 +#: auths/SAML_enterprise/saml.py:143 msgid "" "Public key used for sign and encription (public part of previous private " "key), as generated in base 64 from openssl" @@ -1654,62 +1659,62 @@ msgstr "" "المفتاح العمومي يستخدم للإمضاء والتشفير (الجزء العلني من المفتاح الخاص " "السابق)، كما ولد في base64 من OpenSSL" -#: auths/SAML_enterprise/saml.py:137 +#: auths/SAML_enterprise/saml.py:151 msgid "IDP Metadata" msgstr "IDP Metadata" -#: auths/SAML_enterprise/saml.py:138 +#: auths/SAML_enterprise/saml.py:154 msgid "" "You can enter here the URL or the IDP metadata or the metadata itself (xml)" msgstr "" "يمكنك إدخال URL أو بيانات IDP Metadata هنا داخليا أو بيان التعريف نفسه (xml)" -#: auths/SAML_enterprise/saml.py:139 auths/SAML_enterprise/saml.py:143 +#: auths/SAML_enterprise/saml.py:157 auths/SAML_enterprise/saml.py:166 msgid "Metadata" msgstr "بيانات التعريف" -#: auths/SAML_enterprise/saml.py:142 +#: auths/SAML_enterprise/saml.py:161 msgid "Entity ID" msgstr "معرف الكيان" -#: auths/SAML_enterprise/saml.py:143 +#: auths/SAML_enterprise/saml.py:164 msgid "ID of the SP. If left blank, this will be autogenerated from server URL" msgstr "SP ID. إذا ترك فارغاً، ستكون هذه المعطيات من محدد موقع معلومات الخادم" -#: auths/SAML_enterprise/saml.py:147 +#: auths/SAML_enterprise/saml.py:172 msgid "User name attrs" msgstr "User name attrs" -#: auths/SAML_enterprise/saml.py:148 +#: auths/SAML_enterprise/saml.py:174 msgid "Fields from where to extract user name" msgstr "حقول منها يستخرج اسم المستخدم" -#: auths/SAML_enterprise/saml.py:148 auths/SAML_enterprise/saml.py:153 -#: auths/SAML_enterprise/saml.py:158 +#: auths/SAML_enterprise/saml.py:176 auths/SAML_enterprise/saml.py:186 +#: auths/SAML_enterprise/saml.py:196 msgid "Attributes" msgstr "سمات" -#: auths/SAML_enterprise/saml.py:152 +#: auths/SAML_enterprise/saml.py:182 msgid "Group name attrs" msgstr "Group name attrs" -#: auths/SAML_enterprise/saml.py:153 +#: auths/SAML_enterprise/saml.py:184 msgid "Fields from where to extract the groups" msgstr "حقول منها تستخرج المجموعات" -#: auths/SAML_enterprise/saml.py:157 +#: auths/SAML_enterprise/saml.py:192 msgid "Real name attrs" msgstr "Real name attrs" -#: auths/SAML_enterprise/saml.py:158 +#: auths/SAML_enterprise/saml.py:194 msgid "Fields from where to extract the real name" msgstr "حقول منها يستخرج الاسم الحقيقي" -#: auths/SAML_enterprise/saml.py:176 +#: auths/SAML_enterprise/saml.py:216 msgid "SAML Authenticator does not support white spaces on field NAME" msgstr "لا يدعم أداة مصادقة SAML المسافات البيضاء في الحقل NAME" -#: auths/SAML_enterprise/saml.py:183 +#: auths/SAML_enterprise/saml.py:230 msgid "" "Server certificate should be a valid PEM (PEM certificates starts with -----" "BEGIN CERTIFICATE-----)" @@ -1717,11 +1722,11 @@ msgstr "" "يجب أن تكون شهادة الملقم PEM صالحة (PEM شهادات تبدأ ب-----BEGIN " "CERTIFICATE-----)" -#: auths/SAML_enterprise/saml.py:188 +#: auths/SAML_enterprise/saml.py:238 msgid "Invalid server certificate. " msgstr "شهادة الملقم غير صالحة. " -#: auths/SAML_enterprise/saml.py:192 +#: auths/SAML_enterprise/saml.py:249 msgid "" "Private key should be a valid PEM (PEM private keys starts with -----BEGIN " "RSA PRIVATE KEY-----" @@ -1729,48 +1734,48 @@ msgstr "" "يجب أن يكون المفتاح الخاص PEM صالح (PEM المفاتيح الخاصة تبدأ ب------BEGIN " "RSA PRIVATE KEY-----" -#: auths/SAML_enterprise/saml.py:197 +#: auths/SAML_enterprise/saml.py:257 msgid "Invalid private key. " msgstr "المفتاح الخاص غير صالح. " -#: auths/SAML_enterprise/saml.py:214 +#: auths/SAML_enterprise/saml.py:276 #, python-brace-format msgid "Can't fetch url {0}: {1}" msgstr "لا يمكن إحضار url {0}: {1}" -#: auths/SAML_enterprise/saml.py:222 +#: auths/SAML_enterprise/saml.py:287 msgid " (obtained from URL)" msgstr " (تم الحصول عليها من URL)" -#: auths/SAML_enterprise/saml.py:223 +#: auths/SAML_enterprise/saml.py:289 msgid "XML does not seem valid for IDP Metadata " msgstr "XML لا تبدو صالحة لبيانات التعريف IDP Metadata" -#: auths/SAML_enterprise/saml.py:239 +#: auths/SAML_enterprise/saml.py:311 msgid "Can't access idp metadata" msgstr "لا يمكن الوصول إلى بيانات التعريف IDP Metadata" -#: auths/Sample/SampleAuth.py:76 +#: auths/Sample/SampleAuth.py:79 msgid "Sample Authenticator" msgstr "مصادق نموذجي" -#: auths/Sample/SampleAuth.py:88 +#: auths/Sample/SampleAuth.py:91 msgid "Sample dummy authenticator" msgstr "نموذج المصادق الغبي" -#: auths/Sample/SampleAuth.py:106 +#: auths/Sample/SampleAuth.py:109 msgid "Fake User" msgstr "مستخدم وهمي" -#: auths/Sample/SampleAuth.py:109 +#: auths/Sample/SampleAuth.py:112 msgid "Fake Group" msgstr "مجموعة وهمية" -#: auths/Sample/SampleAuth.py:115 +#: auths/Sample/SampleAuth.py:118 msgid "Groups" msgstr "المجموعات" -#: auths/Sample/SampleAuth.py:128 +#: auths/Sample/SampleAuth.py:132 msgid "We need more than two groups!" msgstr "نحن بحاجة إلى أكثر من مجموعتين!" @@ -1953,7 +1958,7 @@ msgstr "خدمة قاعدة" #: core/services/service.py:141 core/services/service.py:150 #: models/permissions.py:92 models/permissions.py:96 -#: services/Azure_enterprise/helpers.py:97 services/OpenStack/helpers.py:74 +#: services/Azure_enterprise/helpers.py:100 services/OpenStack/helpers.py:74 #: services/Proxmox/service.py:194 services/Sample/service.py:98 #: services/Sample/service.py:104 services/TestService_enterprise/service.py:28 msgid "None" @@ -1979,79 +1984,79 @@ msgstr "النفق" msgid "Can't contact LDAP server" msgstr "لا يمكن الاتصال بخادم LDAP" -#: core/util/state.py:65 core/util/states/common.py:59 +#: core/util/state.py:66 core/util/states/common.py:59 msgid "Active" msgstr "نشط" -#: core/util/state.py:66 core/util/states/common.py:60 +#: core/util/state.py:67 core/util/states/common.py:60 msgid "Inactive" msgstr "غير نشط" -#: core/util/state.py:67 core/util/states/common.py:61 +#: core/util/state.py:68 core/util/states/common.py:61 msgid "Blocked" msgstr "محظور" -#: core/util/state.py:68 core/util/states/common.py:62 +#: core/util/state.py:69 core/util/states/common.py:62 msgid "Waiting publication" msgstr "في انتظار النشر" -#: core/util/state.py:69 core/util/states/common.py:63 +#: core/util/state.py:70 core/util/states/common.py:63 msgid "In preparation" msgstr "في إعداد" -#: core/util/state.py:70 core/util/states/common.py:64 +#: core/util/state.py:71 core/util/states/common.py:64 msgid "Valid" msgstr "صالحة" -#: core/util/state.py:71 core/util/state.py:73 core/util/states/common.py:66 +#: core/util/state.py:72 core/util/state.py:74 core/util/states/common.py:66 msgid "Removing" msgstr "إزالة" -#: core/util/state.py:72 +#: core/util/state.py:73 msgid "Restrained" msgstr "المقيد" -#: core/util/state.py:74 core/util/states/common.py:67 +#: core/util/state.py:75 core/util/states/common.py:67 msgid "Removed" msgstr "مزال" -#: core/util/state.py:75 core/util/states/common.py:68 +#: core/util/state.py:76 core/util/states/common.py:68 msgid "Canceled" msgstr "ملغى" -#: core/util/state.py:76 core/util/states/common.py:69 +#: core/util/state.py:77 core/util/states/common.py:69 msgid "Canceling" msgstr "إلغاء" -#: core/util/state.py:77 core/util/states/common.py:70 +#: core/util/state.py:78 core/util/states/common.py:70 msgid "Error" msgstr "خطأ" -#: core/util/state.py:79 core/util/states/common.py:72 +#: core/util/state.py:80 core/util/states/common.py:72 msgid "Finished" msgstr "انتهى" -#: core/util/state.py:80 core/util/states/common.py:73 +#: core/util/state.py:81 core/util/states/common.py:73 msgid "Waiting execution" msgstr "في انتظار التنفيذ" -#: core/util/state.py:81 core/util/states/common.py:74 +#: core/util/state.py:82 core/util/states/common.py:74 msgid "Balancing" msgstr "موازنة" -#: core/util/state.py:82 core/util/states/common.py:75 +#: core/util/state.py:83 core/util/states/common.py:75 msgid "In maintenance" msgstr "في الصيانة" -#: core/util/state.py:83 core/util/states/common.py:76 +#: core/util/state.py:84 core/util/states/common.py:76 msgid "Waiting OS" msgstr "في انتظار نظام التشغيل" -#: core/util/state.py:84 +#: core/util/state.py:85 msgid "Too many preparing services" msgstr "عدد كبير من الخدمات المهيأة" -#: core/util/state.py:85 +#: core/util/state.py:86 msgid "Meta member" msgstr "عضو ميتا" @@ -2083,23 +2088,23 @@ msgstr "المستخدمون مع الخدمات" msgid "Cached" msgstr "مخبأ" -#: core/util/tools.py:144 +#: core/util/tools.py:152 msgid "{} days {:d}:{:02d}:{:02d}" msgstr "{} أيام {: d}: {: 02d}: {: 02d}" -#: core/util/tools.py:161 +#: core/util/tools.py:171 msgid "The basename is not a valid for a hostname" msgstr "اسم القاعدة ليس صالحًا لاسم المضيف" -#: core/util/tools.py:164 +#: core/util/tools.py:176 msgid "The length of basename plus length must be greater than 0" msgstr "يجب أن يكون طول اسم القاعدة زائد الطول أكبر من 0" -#: core/util/tools.py:167 +#: core/util/tools.py:181 msgid "The length of basename plus length must not be greater than 15" msgstr "لا يجب أن يكون طول اسم بالإضافة إلى طول قاعدة أكبر من 15" -#: core/util/tools.py:170 +#: core/util/tools.py:186 msgid "The machine name can't be only numbers" msgstr "لا يمكن أن يكون اسم الجهاز أرقام فقط" @@ -2107,30 +2112,30 @@ msgstr "لا يمكن أن يكون اسم الجهاز أرقام فقط" msgid "Numeric" msgstr "رقمية" -#: core/util/validators.py:64 +#: core/util/validators.py:66 #, python-brace-format msgid "{0} must be greater than or equal to {1}" msgstr "{0} يجب أن يكون أكبر من أو يساوي {1}" -#: core/util/validators.py:67 +#: core/util/validators.py:74 #, python-brace-format msgid "{0} must be lower than or equal to {1}" msgstr "{0} يجب أن يكون أقل من أو يساوي {1}" -#: core/util/validators.py:72 +#: core/util/validators.py:81 #, python-brace-format msgid "{0} contains invalid characters" msgstr "{0} يحتوي على أحرف غير صالحة" -#: core/util/validators.py:81 +#: core/util/validators.py:90 msgid "{} exceeds maximum host name length." msgstr "{} يتجاوز الحد الأقصى لطول اسم المضيف." -#: core/util/validators.py:92 +#: core/util/validators.py:103 msgid "{} is not a valid hostname" msgstr "{} ليس اسم مضيف صالحًا" -#: core/util/validators.py:136 +#: core/util/validators.py:152 msgid "" "Invalid mac range. Mac range must be in format XX:XX:XX:XX:XX:XX-XX:XX:XX:XX:" "XX:XX" @@ -3068,8 +3073,8 @@ msgstr "التي تم الحصول عليها من اشتراكات" #: services/OpenGnsys/provider.py:141 services/OpenNebula/provider.py:83 #: services/OpenStack/provider.py:143 services/OpenStack/provider_legacy.py:160 #: services/Proxmox/provider.py:100 services/VCloud_enterprise/provider.py:60 -#: services/Vmware_enterprise/provider.py:47 -#: services/Vmware_enterprise/provider.py:99 services/Xen/provider.py:123 +#: services/Vmware_enterprise/provider.py:76 +#: services/Vmware_enterprise/provider.py:182 services/Xen/provider.py:123 msgid "Creation concurrency" msgstr "تزامن الخلق" @@ -3081,7 +3086,7 @@ msgstr "تزامن الخلق" #: services/OpenGnsys/provider.py:146 services/OpenNebula/provider.py:83 #: services/OpenStack/provider.py:148 services/OpenStack/provider_legacy.py:165 #: services/Proxmox/provider.py:105 services/VCloud_enterprise/provider.py:60 -#: services/Vmware_enterprise/provider.py:47 services/Xen/provider.py:128 +#: services/Vmware_enterprise/provider.py:81 services/Xen/provider.py:128 msgid "Maximum number of concurrently creating VMs" msgstr "الحد الأقصى لعدد بالتزامن خلق الأجهزة الظاهرية." @@ -3093,8 +3098,8 @@ msgstr "الحد الأقصى لعدد بالتزامن خلق الأجهزة ا #: services/OpenGnsys/provider.py:152 services/OpenNebula/provider.py:84 #: services/OpenStack/provider.py:154 services/OpenStack/provider_legacy.py:171 #: services/Proxmox/provider.py:111 services/VCloud_enterprise/provider.py:61 -#: services/Vmware_enterprise/provider.py:48 -#: services/Vmware_enterprise/provider.py:100 services/Xen/provider.py:134 +#: services/Vmware_enterprise/provider.py:87 +#: services/Vmware_enterprise/provider.py:188 services/Xen/provider.py:134 msgid "Removal concurrency" msgstr "تزامن الإزالة." @@ -3106,7 +3111,7 @@ msgstr "تزامن الإزالة." #: services/OpenGnsys/provider.py:157 services/OpenNebula/provider.py:84 #: services/OpenStack/provider.py:159 services/OpenStack/provider_legacy.py:176 #: services/Proxmox/provider.py:116 services/VCloud_enterprise/provider.py:61 -#: services/Vmware_enterprise/provider.py:48 services/Xen/provider.py:139 +#: services/Vmware_enterprise/provider.py:92 services/Xen/provider.py:139 msgid "Maximum number of concurrently removing VMs" msgstr "الحد الأقصى لعدد الأجهزة الافتراضية إزالة في وقت واحد" @@ -3315,7 +3320,7 @@ msgstr "المهلة بالثواني لاتصال HyperV" #: services/HyperV_enterprise/legacy/provider.py:95 #: services/HyperV_enterprise/provider.py:103 #: services/Nutanix_enterprise/provider.py:45 services/OVirt/provider.py:117 -#: services/Vmware_enterprise/provider.py:51 services/Xen/provider.py:146 +#: services/Vmware_enterprise/provider.py:109 services/Xen/provider.py:146 msgid "Macs range" msgstr "نطاق MAC" @@ -3332,7 +3337,7 @@ msgstr "اختبار اتصال ناجح" #: services/HyperV_enterprise/legacy/provider.py:268 #: services/NutanixPrism_enterprise/provider.py:262 #: services/Nutanix_enterprise/provider.py:228 services/OVirt/provider.py:457 -#: services/Proxmox/provider.py:312 services/Vmware_enterprise/provider.py:168 +#: services/Proxmox/provider.py:312 services/Vmware_enterprise/provider.py:291 msgid "Connection failed. Check connection params" msgstr "فشل الاتصال. تحقق اتصال params" @@ -4151,12 +4156,12 @@ msgstr "ثابت IP آلات مزود" msgid "Provides connection to machines by IP" msgstr "يوفر اتصال إلى الأجهزة عن طريق IP" -#: services/PhysicalMachines/service_multi.py:63 +#: services/PhysicalMachines/service_multi.py:64 #: services/Vmware_enterprise/service_fixed.py:55 msgid "Service Token" msgstr "رمز الخدمة" -#: services/PhysicalMachines/service_multi.py:66 +#: services/PhysicalMachines/service_multi.py:67 #: services/Vmware_enterprise/service_fixed.py:57 msgid "" "Service token that will be used by actors to communicate with service. Leave " @@ -4165,43 +4170,56 @@ msgstr "" "رمز الخدمة الذي سيتم استخدامه بواسطة الجهات الفاعلة للتواصل مع الخدمة. اتركه " "فارغًا للتخصيص المستمر." -#: services/PhysicalMachines/service_multi.py:74 +#: services/PhysicalMachines/service_multi.py:75 #: services/RDS_enterprise/provider.py:49 msgid "List of servers" msgstr "قائمة ملقمات" -#: services/PhysicalMachines/service_multi.py:75 +#: services/PhysicalMachines/service_multi.py:76 msgid "List of servers available for this service" msgstr "قائمة الخوادم المتاحة لهذه الخدمة" -#: services/PhysicalMachines/service_multi.py:80 +#: services/PhysicalMachines/service_multi.py:81 msgid "Check Port" msgstr "تحقق من المنفذ" -#: services/PhysicalMachines/service_multi.py:84 +#: services/PhysicalMachines/service_multi.py:85 msgid "" "If non zero, only hosts responding to connection on that port will be served." msgstr "" "إذا لم تكن صفرية ، فسيتم تقديم المضيفين الذين يستجيبون للاتصال على هذا " "المنفذ فقط." -#: services/PhysicalMachines/service_multi.py:91 +#: services/PhysicalMachines/service_multi.py:92 msgid "Skip time" msgstr "تخطي الوقت" -#: services/PhysicalMachines/service_multi.py:94 +#: services/PhysicalMachines/service_multi.py:95 msgid "If a host fails to check, skip it for this time (in minutes)." msgstr "إذا فشل مضيف في التحقق ، فتخطه لهذا الوقت (بالدقائق)." -#: services/PhysicalMachines/service_multi.py:101 +#: services/PhysicalMachines/service_multi.py:103 +#| msgid "Max. session time" +msgid "Max session per machine" +msgstr "أقصى جلسة لكل آلة" + +#: services/PhysicalMachines/service_multi.py:107 +msgid "" +"Maximum session duration before UDS thinks this machine got locked and " +"releases it (hours). 0 means \"never\"." +msgstr "" +"المدة القصوى للجلسة قبل أن تعتقد UDS أن هذا الجهاز قد تم قفله وتحريره (ساعات)" +". 0 يعني \"أبدًا\"." + +#: services/PhysicalMachines/service_multi.py:115 msgid "Static Multiple IP" msgstr "IP ثابت متعدد." -#: services/PhysicalMachines/service_multi.py:103 +#: services/PhysicalMachines/service_multi.py:117 msgid "This service provides access to POWERED-ON Machines by IP" msgstr "توفر هذه الخدمة إمكانية الوصول إلى آلات مشتغلة ب IP" -#: services/PhysicalMachines/service_multi.py:134 +#: services/PhysicalMachines/service_multi.py:150 msgid "Invalid value detected on servers list: \"{}\"" msgstr "تم اكتشاف قيمة غير صالحة في قائمة الخوادم: \"{}\"" @@ -4545,7 +4563,7 @@ msgstr "الحد الأقصى لعدد الخدمات المسموح بها (0 msgid "Wait spawned processes" msgstr "انتظر العمليات الناتجة" -#: services/RDS_enterprise/service.py:99 +#: services/RDS_enterprise/service.py:100 msgid "" "If active, RDS Actor will wait until the application and all spawned " "processes finished before considering app logged out" @@ -4553,7 +4571,7 @@ msgstr "" "إذا تم تحديده، RDS Actor سينتظر إنهاء التطبيق وجميع العمليات قبل النظر في " "تطبيق الخروج" -#: services/RDS_enterprise/service.py:109 +#: services/RDS_enterprise/service.py:112 msgid "A valid application path is required" msgstr "مطلوب مسار تطبيق صحيح" @@ -4800,27 +4818,27 @@ msgstr "محلي" msgid "Remote" msgstr "التحكم عن بعد" -#: services/Vmware_enterprise/provider.py:41 +#: services/Vmware_enterprise/provider.py:47 msgid "VMWare VCenter Server IP or Hostname" msgstr "برنامج VMWare IP خادم VCenter أو اسم المضيف" -#: services/Vmware_enterprise/provider.py:42 +#: services/Vmware_enterprise/provider.py:55 msgid "VMWare VC Server Port (usually 443)" msgstr "VMWare الخادم ميناء VC (عادة 443)" -#: services/Vmware_enterprise/provider.py:43 +#: services/Vmware_enterprise/provider.py:62 msgid "User with valid privileges on VC" msgstr "المستخدم مع امتيازات صالح على VC" -#: services/Vmware_enterprise/provider.py:44 +#: services/Vmware_enterprise/provider.py:69 msgid "Password of the user of the VC" msgstr "كلمة السر للمستخدم من VC" -#: services/Vmware_enterprise/provider.py:50 +#: services/Vmware_enterprise/provider.py:102 msgid "Timeout in seconds of connection to VC" msgstr "المهلة بالثواني لاتصال VC" -#: services/Vmware_enterprise/provider.py:52 +#: services/Vmware_enterprise/provider.py:114 msgid "" "Range of valid macs for created machines. Must be inside " "00:50:56:00:00:00-00:50:56:3F:FF:FF" @@ -4828,15 +4846,15 @@ msgstr "" "مجموعة MAC الصالحة للآلات التي تم إنشاؤها. يجب أن يكون داخل 00: 50: 56: 00: " "00: 00-00: 50: 56: 3F: FF: FF" -#: services/Vmware_enterprise/provider.py:56 +#: services/Vmware_enterprise/provider.py:126 msgid "VMWare VCenter Platform Provider" msgstr "مزود برنامج VMWare VCenter منصة" -#: services/Vmware_enterprise/provider.py:58 +#: services/Vmware_enterprise/provider.py:128 msgid "Provides connection to Virtual Center Services" msgstr "توفر وصولا إلى مركز الظاهرية" -#: services/Vmware_enterprise/provider.py:166 +#: services/Vmware_enterprise/provider.py:287 msgid "Connection params ok" msgstr "اتصال params ok" @@ -5304,7 +5322,7 @@ msgstr "اظهر خلفية." #: transports/HTML5RDP/html5rdp.py:134 #: transports/HTML5RDS_enterprise/html5rds.py:123 -#: transports/RDP/rdp_base.py:213 +#: transports/RDP/rdp_base.py:222 msgid "" "If checked, the wallpaper and themes will be shown on machine (better user " "experience, more bandwidth)" @@ -5314,25 +5332,25 @@ msgstr "" #: transports/HTML5RDP/html5rdp.py:139 #: transports/HTML5RDS_enterprise/html5rds.py:128 -#: transports/RDP/rdp_base.py:226 +#: transports/RDP/rdp_base.py:235 msgid "Allow Desk.Comp." msgstr "السماح Desk.Comp." #: transports/HTML5RDP/html5rdp.py:141 #: transports/HTML5RDS_enterprise/html5rds.py:130 -#: transports/RDP/rdp_base.py:228 +#: transports/RDP/rdp_base.py:237 msgid "If checked, desktop composition will be allowed" msgstr "إذا تم، سيكون يسمح تكوين سطح المكتب." #: transports/HTML5RDP/html5rdp.py:145 #: transports/HTML5RDS_enterprise/html5rds.py:134 -#: transports/RDP/rdp_base.py:232 transports/RDS_enterprise/rds_base.py:150 +#: transports/RDP/rdp_base.py:241 transports/RDS_enterprise/rds_base.py:150 msgid "Font Smoothing" msgstr "تجانس الخطوط" #: transports/HTML5RDP/html5rdp.py:147 #: transports/HTML5RDS_enterprise/html5rds.py:136 -#: transports/RDS_enterprise/rds_base.py:152 +#: transports/RDS_enterprise/rds_base.py:153 msgid "If checked, fonts smoothing will be allowed (windows clients only)" msgstr "في حالة تحديد تجانس الخطوط سيتم السماح (عملاء windows فقط)" @@ -5503,13 +5521,22 @@ msgstr "" msgid "TLS (Transport Security Layer encryption)" msgstr "TLS (تشفير طبقة النقل الأمن)" -#: transports/HTML5RDP/html5rdp.py:246 +#: transports/HTML5RDP/html5rdp.py:247 transports/RDP/rdp_base.py:172 +#| msgid "Port" +msgid "RDP Port" +msgstr "منفذ RDP" + +#: transports/HTML5RDP/html5rdp.py:248 transports/RDP/rdp_base.py:173 +msgid "Use this port as RDP port. Defaults to 3389." +msgstr "استخدم هذا المنفذ كمنفذ RDP. الافتراضي هو 3389." + +#: transports/HTML5RDP/html5rdp.py:256 #: transports/HTML5RDS_enterprise/html5rds.py:223 #: transports/HTML5VNC/html5vnc.py:109 msgid "Ticket Validity" msgstr "صلاحية التذكرة" -#: transports/HTML5RDP/html5rdp.py:250 +#: transports/HTML5RDP/html5rdp.py:260 #: transports/HTML5RDS_enterprise/html5rds.py:227 #: transports/HTML5VNC/html5vnc.py:112 msgid "" @@ -5519,42 +5546,42 @@ msgstr "" "يسمح الوقت، بالثواني، للعميل HTML5 لإعادة تحميل البيانات من \"وسيط مصغراً\". " "ويوصي بالقيمة الافتراضية ل 60." -#: transports/HTML5RDP/html5rdp.py:259 +#: transports/HTML5RDP/html5rdp.py:269 #: transports/HTML5RDS_enterprise/html5rds.py:236 #: transports/HTML5VNC/html5vnc.py:119 transports/URL/url_custom.py:82 msgid "Force new HTML Window" msgstr "فرض نافذة HTML جديدة" -#: transports/HTML5RDP/html5rdp.py:260 +#: transports/HTML5RDP/html5rdp.py:270 #: transports/HTML5RDS_enterprise/html5rds.py:237 #: transports/HTML5VNC/html5vnc.py:120 msgid "Select windows behavior for new connections on HTML5" msgstr "حدد سلوك النوافذ للاتصالات الجديدة على HTML5" -#: transports/HTML5RDP/html5rdp.py:265 +#: transports/HTML5RDP/html5rdp.py:275 #: transports/HTML5RDS_enterprise/html5rds.py:242 #: transports/HTML5VNC/html5vnc.py:123 msgid "Open every connection on the same window, but keeps UDS window." msgstr "افتح كل اتصال في نفس النافذة ، ولكن مع الاحتفاظ بنافذة UDS." -#: transports/HTML5RDP/html5rdp.py:268 +#: transports/HTML5RDP/html5rdp.py:278 #: transports/HTML5RDS_enterprise/html5rds.py:245 #: transports/HTML5VNC/html5vnc.py:124 msgid "Force every connection to be opened on a new window." msgstr "فرض كل اتصال ليتم فتحه في نافذة جديدة." -#: transports/HTML5RDP/html5rdp.py:272 +#: transports/HTML5RDP/html5rdp.py:282 #: transports/HTML5RDS_enterprise/html5rds.py:249 #: transports/HTML5VNC/html5vnc.py:125 msgid "Override UDS window and replace it with the connection." msgstr "تجاوز نافذة UDS واستبدلها بالاتصال." -#: transports/HTML5RDP/html5rdp.py:280 +#: transports/HTML5RDP/html5rdp.py:290 #: transports/HTML5RDS_enterprise/html5rds.py:256 msgid "Glyptodon Enterprise context path" msgstr "مسار سياق Glyptodon Enterprise" -#: transports/HTML5RDP/html5rdp.py:283 +#: transports/HTML5RDP/html5rdp.py:293 #: transports/HTML5RDS_enterprise/html5rds.py:259 msgid "" "Customized path for Glyptodon Enterprise tunnel. (Only valid for Glyptodon " @@ -5563,13 +5590,13 @@ msgstr "" "مسار مخصص لنفق Glyptodon Enterprise. (صالح فقط لـ Glyptodon Enterprise " "Tunnel)" -#: transports/HTML5RDP/html5rdp.py:298 +#: transports/HTML5RDP/html5rdp.py:308 #: transports/HTML5RDS_enterprise/html5rds.py:273 #: transports/HTML5VNC/html5vnc.py:137 msgid "The server must be http or https" msgstr "يجب أن يكون خادم HTTP أو HTTPS" -#: transports/HTML5RDP/html5rdp.py:303 +#: transports/HTML5RDP/html5rdp.py:313 #: transports/HTML5RDS_enterprise/html5rds.py:278 msgid "" "Empty credentials (on Credentials tab) is only allowed with Security level " @@ -5622,7 +5649,7 @@ msgstr "منفذ خادم VNC" msgid "Port of the VNC server." msgstr "منفذ خادم VNC." -#: transports/HTML5VNC/html5vnc.py:90 transports/RDP/rdp_base.py:196 +#: transports/HTML5VNC/html5vnc.py:90 transports/RDP/rdp_base.py:205 #: transports/RDS_enterprise/rds_base.py:136 msgid "Color depth" msgstr "عمق اللون" @@ -5731,7 +5758,7 @@ msgid "" msgstr "في حالة التمكين ، سيتم التحقق من شهادة خادم النفق (موصى به)." #: transports/NoMachine_enterprise/nomachine_tunneltransport.py:114 -#: transports/RDP/rdptunnel.py:134 transports/RDS_enterprise/rdstunnel.py:126 +#: transports/RDP/rdptunnel.py:135 transports/RDS_enterprise/rdstunnel.py:126 #: transports/SPICE/spice_tunnel.py:106 transports/X2GO/x2go_tunnel.py:117 msgid "Must use HOST:PORT in Tunnel Server Field" msgstr "يجب استخدام HOST: PORT في خادم الميدان نفق" @@ -5840,88 +5867,88 @@ msgstr "دعم Credssp" msgid "If checked, will enable Credentials Provider Support)" msgstr "إذا راجعت، سيمكن دعم موفر بيانات الاعتماد)" -#: transports/RDP/rdp_base.py:172 +#: transports/RDP/rdp_base.py:181 msgid "Screen Size" msgstr "حجم الشاشة" -#: transports/RDP/rdp_base.py:174 +#: transports/RDP/rdp_base.py:183 msgid "Screen size for this transport" msgstr "حجم الشاشة لهذا النقل" -#: transports/RDP/rdp_base.py:198 transports/RDS_enterprise/rds_base.py:138 +#: transports/RDP/rdp_base.py:207 transports/RDS_enterprise/rds_base.py:138 msgid "Color depth for this connection" msgstr "عمق الألوان لهذا الاتصال" -#: transports/RDP/rdp_base.py:210 +#: transports/RDP/rdp_base.py:219 msgid "Wallpaper/theme" msgstr "خلفية/الموضوع" -#: transports/RDP/rdp_base.py:218 +#: transports/RDP/rdp_base.py:227 msgid "Multiple monitors" msgstr "أجهزة عرض متعددة" -#: transports/RDP/rdp_base.py:221 +#: transports/RDP/rdp_base.py:230 msgid "" "If checked, all client monitors will be used for displaying (only works on " "windows clients)" msgstr "" "إذا تحققت، سوف تستخدم كافة أجهزة العميل لعرض (يعمل فقط على عملاء ويندوز)." -#: transports/RDP/rdp_base.py:234 +#: transports/RDP/rdp_base.py:244 msgid "If checked, fonts smoothing will be allowed" msgstr "إذا راجعت، سيسمح لتجانس الخطوط" -#: transports/RDP/rdp_base.py:238 +#: transports/RDP/rdp_base.py:248 msgid "Connection Bar" msgstr "شريط الاتصال" -#: transports/RDP/rdp_base.py:240 +#: transports/RDP/rdp_base.py:250 msgid "If checked, connection bar will be shown (only on Windows clients)" msgstr "إذا راجعت، سيظهر شريط الاتصال (فقط على عملاء Windows)" -#: transports/RDP/rdp_base.py:246 transports/RDS_enterprise/rds_base.py:174 +#: transports/RDP/rdp_base.py:256 transports/RDS_enterprise/rds_base.py:179 msgid "Multimedia sync" msgstr "تزامن الوسائط المتعددة" -#: transports/RDP/rdp_base.py:249 transports/RDS_enterprise/rds_base.py:177 +#: transports/RDP/rdp_base.py:259 transports/RDS_enterprise/rds_base.py:182 msgid "If checked. Linux client will use multimedia parameter for xfreerdp" msgstr "" "إذا تحققت. سوف العميل لينكس استخدام المعلمة الوسائط المتعددة لxfreerdp." -#: transports/RDP/rdp_base.py:254 transports/RDS_enterprise/rds_base.py:182 +#: transports/RDP/rdp_base.py:264 transports/RDS_enterprise/rds_base.py:187 msgid "Use Alsa" msgstr "استخدام ALSA" -#: transports/RDP/rdp_base.py:257 transports/RDS_enterprise/rds_base.py:185 +#: transports/RDP/rdp_base.py:267 transports/RDS_enterprise/rds_base.py:190 msgid "" "If checked, Linux client will try to use ALSA, otherwise Pulse will be used" msgstr "" "إذا تم، سيكون العميل لينكس في محاولة لاستخدام ALSA، وإلا سيتم استخدام نبض" -#: transports/RDP/rdp_base.py:262 transports/RDS_enterprise/rds_base.py:190 +#: transports/RDP/rdp_base.py:272 transports/RDS_enterprise/rds_base.py:195 msgid "Printer string" msgstr "سلسلة الطابعة" -#: transports/RDP/rdp_base.py:265 transports/RDS_enterprise/rds_base.py:193 +#: transports/RDP/rdp_base.py:275 transports/RDS_enterprise/rds_base.py:198 msgid "If printer is checked, the printer string used with xfreerdp client" msgstr "إذا تم فحص طابعة، سلسلة الطابعة المستخدمة مع العميل XFreeRDP" -#: transports/RDP/rdp_base.py:271 transports/RDS_enterprise/rds_base.py:199 +#: transports/RDP/rdp_base.py:281 transports/RDS_enterprise/rds_base.py:204 msgid "Smartcard string" msgstr "سلسلة البطاقة الذكية" -#: transports/RDP/rdp_base.py:274 transports/RDS_enterprise/rds_base.py:202 +#: transports/RDP/rdp_base.py:284 transports/RDS_enterprise/rds_base.py:207 msgid "If smartcard is checked, the smartcard string used with xfreerdp client" msgstr "" "إذا تم التحقق من البطاقة الذكية، استخدام السلسلة البطاقة الذكية مع العميل " "XFreeRDP" -#: transports/RDP/rdp_base.py:280 transports/RDP/rdp_base.py:300 -#: transports/RDS_enterprise/rds_base.py:208 +#: transports/RDP/rdp_base.py:290 transports/RDP/rdp_base.py:310 +#: transports/RDS_enterprise/rds_base.py:213 msgid "Custom parameters" msgstr "معلمات مخصصة" -#: transports/RDP/rdp_base.py:283 transports/RDS_enterprise/rds_base.py:211 +#: transports/RDP/rdp_base.py:293 transports/RDS_enterprise/rds_base.py:216 msgid "" "If not empty, extra parameter to include for Linux Client (for example /usb:" "id,dev:054c:0268, or aything compatible with your xfreerdp client)" @@ -5929,11 +5956,11 @@ msgstr "" "إذا لم تكن المعلمة فارغة، إضافية تشمل لينكس العميل (على سبيل المثال /usb:id," "dev:054c:0268، أو أي شيء متوافق مع العميل الخاص بك XFreeRDP)" -#: transports/RDP/rdp_base.py:290 +#: transports/RDP/rdp_base.py:300 msgid "Allow Microsoft Rdp Client" msgstr "السماح لعميل Microsoft Rdp" -#: transports/RDP/rdp_base.py:293 +#: transports/RDP/rdp_base.py:303 msgid "" "If checked, allows use of Microsoft Remote Desktop Client. PASSWORD WILL BE " "PROMPTED!" @@ -5941,7 +5968,7 @@ msgstr "" "إذا تم تحديده ، فإنه يسمح باستخدام Microsoft Remote Desktop Client. سيتم دفع " "كلمة المرور!" -#: transports/RDP/rdp_base.py:303 +#: transports/RDP/rdp_base.py:313 msgid "" "If not empty, extra parameter to include for Mac OS X Freerdp Client (for " "example /usb:id,dev:054c:0268, or aything compatible with your xfreerdp " @@ -5965,18 +5992,32 @@ msgid "RDS access using RDP for vApps. Direct connection." msgstr "الوصول RDS باستخدام RDP VApps. الاتصال المباشر." #: transports/RDS_enterprise/rds_base.py:157 +#| msgid "Window Size" +msgid "Window state" +msgstr "حالة النافذة" + +#: transports/RDS_enterprise/rds_base.py:159 +msgid "UDS Will try to execute the applicaiton with the window in this state" +msgstr "ستحاول UDS تنفيذ التطبيق مع النافذة في هذه الحالة" + +#: transports/RDS_enterprise/rds_base.py:162 +msgid "Normal" +msgstr "طبيعي" + +#: transports/RDS_enterprise/rds_base.py:163 msgid "Maximized" msgstr "مكبرة" -#: transports/RDS_enterprise/rds_base.py:160 -msgid "If checked, UDS Actor will try to execute application maximized)" -msgstr "إذا تم تحديده ، سيحاول UDS Actor تنفيذ التطبيق إلى أقصى حد)" +#: transports/RDS_enterprise/rds_base.py:164 +#| msgid "Maximized" +msgid "Minimized" +msgstr "مصغر" -#: transports/RDS_enterprise/rds_base.py:165 +#: transports/RDS_enterprise/rds_base.py:170 msgid "Execute as shell" msgstr "نفذ كقذيفة" -#: transports/RDS_enterprise/rds_base.py:169 +#: transports/RDS_enterprise/rds_base.py:174 msgid "" "If checked, Linux client will execute application in a session instead of a " "remoteapp" @@ -6175,7 +6216,7 @@ msgstr "الكثير من أخطاء التوثيق. المستخدم محظور msgid "Invalid data" msgstr "بيانات غير صالحة" -#: web/util/configjs.py:146 +#: web/util/configjs.py:145 msgid "Access limited by calendar" msgstr "وصول محدود بسبب الجدول الزمني." @@ -6310,6 +6351,6 @@ msgid "" "complete it.)" msgstr "جاري إنشاء الخدمة الخاصة بك ، يرجى الانتظار لبضع ثوان أثناء إكمالها.)" -#: web/views/auth.py:151 +#: web/views/auth.py:154 msgid "Authenticator does not provide information" msgstr "الموثق لا يوفر المعلومات" diff --git a/server/src/uds/locale/ar/LC_MESSAGES/djangojs.po b/server/src/uds/locale/ar/LC_MESSAGES/djangojs.po index 24176e4d7..03b1b5b55 100644 --- a/server/src/uds/locale/ar/LC_MESSAGES/djangojs.po +++ b/server/src/uds/locale/ar/LC_MESSAGES/djangojs.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: OpenUDS\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-08 14:18+0200\n" +"POT-Creation-Date: 2021-07-29 13:12+0200\n" "PO-Revision-Date: 2021-07-08 10:59+0000\n" "Last-Translator: Adolfo Gómez \n" "Language-Team: Arabic (http://www.transifex.com/openuds/openuds/language/" @@ -150,23 +150,23 @@ msgstr "مجموعة البركة" msgid "Go to" msgstr "اذهب إلى" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:271 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:272 msgid "yes" msgstr "نعم" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:272 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:273 msgid "no" msgstr "لا" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:268 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:269 msgid "Error saving: " msgstr "خطأ في الحفظ:" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:269 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:270 msgid "Error saving element" msgstr "خطأ في حفظ العنصر" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:270 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:271 msgid "Error handling your request" msgstr "خطأ في معالجة طلبك" @@ -275,8 +275,8 @@ msgstr "#RESTRAINED_NUMBER# خدمات مقيدة!" #: static/admin/main.js:1 static/admin/translations-fakejs.js:105 #: static/admin/translations-fakejs.js:249 -#: static/admin/translations-fakejs.js:398 -#: static/admin/translations-fakejs.js:450 +#: static/admin/translations-fakejs.js:402 +#: static/admin/translations-fakejs.js:454 msgid "Assigned services" msgstr "الخدمات المعينة" @@ -285,8 +285,8 @@ msgid "Services in use" msgstr "الخدمات قيد الاستخدام" #: static/admin/main.js:1 static/admin/translations-fakejs.js:21 -#: static/admin/translations-fakejs.js:291 -#: static/admin/translations-fakejs.js:299 +#: static/admin/translations-fakejs.js:292 +#: static/admin/translations-fakejs.js:300 #: static/modern/translations-fakejs.js:30 msgid "Filter" msgstr "مصفاة " @@ -304,25 +304,25 @@ msgid "Full Access" msgstr "الوصول الكامل" #: static/admin/main.js:1 static/admin/translations-fakejs.js:15 -#: static/admin/translations-fakejs.js:358 -#: static/admin/translations-fakejs.js:405 -#: static/admin/translations-fakejs.js:410 +#: static/admin/translations-fakejs.js:362 +#: static/admin/translations-fakejs.js:409 +#: static/admin/translations-fakejs.js:414 msgid "User" msgstr "المستخدم" #: static/admin/main.js:1 static/admin/translations-fakejs.js:16 #: static/admin/translations-fakejs.js:83 #: static/admin/translations-fakejs.js:93 -#: static/admin/translations-fakejs.js:423 -#: static/admin/translations-fakejs.js:444 +#: static/admin/translations-fakejs.js:427 +#: static/admin/translations-fakejs.js:448 msgid "Group" msgstr "المجموعة" #: static/admin/main.js:1 static/admin/translations-fakejs.js:17 -#: static/admin/translations-fakejs.js:404 -#: static/admin/translations-fakejs.js:409 -#: static/admin/translations-fakejs.js:422 -#: static/admin/translations-fakejs.js:443 +#: static/admin/translations-fakejs.js:408 +#: static/admin/translations-fakejs.js:413 +#: static/admin/translations-fakejs.js:426 +#: static/admin/translations-fakejs.js:447 #: static/modern/translations-fakejs.js:73 msgid "Authenticator" msgstr "الموثق" @@ -394,8 +394,8 @@ msgstr "حوض السباحة" #: static/admin/main.js:1 static/admin/translations-fakejs.js:77 #: static/admin/translations-fakejs.js:96 #: static/admin/translations-fakejs.js:230 -#: static/admin/translations-fakejs.js:339 -#: static/admin/translations-fakejs.js:351 +#: static/admin/translations-fakejs.js:343 +#: static/admin/translations-fakejs.js:355 msgid "State" msgstr "حالة" @@ -407,21 +407,21 @@ msgstr "خدمات المستخدم" #: static/admin/main.js:1 static/admin/translations-fakejs.js:88 #: static/admin/translations-fakejs.js:232 -#: static/admin/translations-fakejs.js:319 -#: static/admin/translations-fakejs.js:397 +#: static/admin/translations-fakejs.js:321 +#: static/admin/translations-fakejs.js:401 msgid "Service pools" msgstr "مجمعات الخدمة" #: static/admin/main.js:1 static/admin/translations-fakejs.js:3 #: static/admin/translations-fakejs.js:7 -#: static/admin/translations-fakejs.js:306 +#: static/admin/translations-fakejs.js:308 #: static/modern/translations-fakejs.js:44 msgid "Yes" msgstr "نعم" #: static/admin/main.js:1 static/admin/translations-fakejs.js:4 #: static/admin/translations-fakejs.js:8 -#: static/admin/translations-fakejs.js:307 +#: static/admin/translations-fakejs.js:309 #: static/modern/translations-fakejs.js:45 msgid "No" msgstr "لا" @@ -478,10 +478,10 @@ msgstr "الكل" #: static/admin/main.js:1 static/admin/translations-fakejs.js:84 #: static/admin/translations-fakejs.js:94 -#: static/admin/translations-fakejs.js:338 -#: static/admin/translations-fakejs.js:350 -#: static/admin/translations-fakejs.js:375 -#: static/admin/translations-fakejs.js:431 +#: static/admin/translations-fakejs.js:342 +#: static/admin/translations-fakejs.js:354 +#: static/admin/translations-fakejs.js:379 +#: static/admin/translations-fakejs.js:435 msgid "Comments" msgstr "تعليقات" @@ -507,25 +507,25 @@ msgstr "خدمات بركة" #: static/admin/main.js:1 static/admin/translations-fakejs.js:90 #: static/admin/translations-fakejs.js:103 -#: static/admin/translations-fakejs.js:286 -#: static/admin/translations-fakejs.js:321 -#: static/admin/translations-fakejs.js:333 -#: static/admin/translations-fakejs.js:359 +#: static/admin/translations-fakejs.js:287 +#: static/admin/translations-fakejs.js:323 +#: static/admin/translations-fakejs.js:337 #: static/admin/translations-fakejs.js:363 -#: static/admin/translations-fakejs.js:369 -#: static/admin/translations-fakejs.js:399 -#: static/admin/translations-fakejs.js:452 +#: static/admin/translations-fakejs.js:367 +#: static/admin/translations-fakejs.js:373 +#: static/admin/translations-fakejs.js:403 +#: static/admin/translations-fakejs.js:456 msgid "Groups" msgstr "المجموعات" #: static/admin/main.js:1 static/admin/translations-fakejs.js:104 -#: static/admin/translations-fakejs.js:331 -#: static/admin/translations-fakejs.js:364 +#: static/admin/translations-fakejs.js:335 +#: static/admin/translations-fakejs.js:368 msgid "Services Pools" msgstr "خدمات حمامات" #: static/admin/main.js:1 static/admin/translations-fakejs.js:79 -#: static/admin/translations-fakejs.js:374 +#: static/admin/translations-fakejs.js:378 msgid "Name" msgstr "اسم" @@ -542,26 +542,26 @@ msgid "Last access" msgstr "آخر ولوج" #: static/admin/main.js:1 static/admin/translations-fakejs.js:89 -#: static/admin/translations-fakejs.js:285 -#: static/admin/translations-fakejs.js:332 -#: static/admin/translations-fakejs.js:368 +#: static/admin/translations-fakejs.js:286 +#: static/admin/translations-fakejs.js:336 +#: static/admin/translations-fakejs.js:372 msgid "Users" msgstr "المستخدمين" #: static/admin/main.js:1 static/admin/translations-fakejs.js:85 -#: static/admin/translations-fakejs.js:340 -#: static/admin/translations-fakejs.js:352 +#: static/admin/translations-fakejs.js:344 +#: static/admin/translations-fakejs.js:356 msgid "Enabled" msgstr "تمكين" #: static/admin/main.js:1 static/admin/translations-fakejs.js:86 -#: static/admin/translations-fakejs.js:341 -#: static/admin/translations-fakejs.js:353 +#: static/admin/translations-fakejs.js:345 +#: static/admin/translations-fakejs.js:357 msgid "Disabled" msgstr "معاق" #: static/admin/main.js:1 static/admin/translations-fakejs.js:87 -#: static/admin/translations-fakejs.js:354 +#: static/admin/translations-fakejs.js:358 msgid "Blocked" msgstr "مسدود" @@ -671,12 +671,12 @@ msgid "In use" msgstr "في الاستخدام" #: static/admin/main.js:1 static/admin/translations-fakejs.js:202 -#: static/admin/translations-fakejs.js:289 -#: static/admin/translations-fakejs.js:370 -#: static/admin/translations-fakejs.js:401 -#: static/admin/translations-fakejs.js:458 -#: static/admin/translations-fakejs.js:461 -#: static/admin/translations-fakejs.js:466 +#: static/admin/translations-fakejs.js:290 +#: static/admin/translations-fakejs.js:374 +#: static/admin/translations-fakejs.js:405 +#: static/admin/translations-fakejs.js:462 +#: static/admin/translations-fakejs.js:465 +#: static/admin/translations-fakejs.js:470 msgid "Logs" msgstr "سجلات" @@ -697,20 +697,20 @@ msgid "Assign service" msgstr "تخصيص الخدمة" #: static/admin/main.js:1 static/admin/translations-fakejs.js:207 -#: static/admin/translations-fakejs.js:276 -#: static/admin/translations-fakejs.js:282 -#: static/admin/translations-fakejs.js:345 -#: static/admin/translations-fakejs.js:360 -#: static/admin/translations-fakejs.js:386 -#: static/admin/translations-fakejs.js:394 -#: static/admin/translations-fakejs.js:406 -#: static/admin/translations-fakejs.js:411 -#: static/admin/translations-fakejs.js:419 -#: static/admin/translations-fakejs.js:424 +#: static/admin/translations-fakejs.js:277 +#: static/admin/translations-fakejs.js:283 +#: static/admin/translations-fakejs.js:349 +#: static/admin/translations-fakejs.js:364 +#: static/admin/translations-fakejs.js:390 +#: static/admin/translations-fakejs.js:398 +#: static/admin/translations-fakejs.js:410 +#: static/admin/translations-fakejs.js:415 +#: static/admin/translations-fakejs.js:423 #: static/admin/translations-fakejs.js:428 #: static/admin/translations-fakejs.js:432 -#: static/admin/translations-fakejs.js:445 -#: static/admin/translations-fakejs.js:487 +#: static/admin/translations-fakejs.js:436 +#: static/admin/translations-fakejs.js:449 +#: static/admin/translations-fakejs.js:491 msgid "Cancel" msgstr "إلغاء الأمر" @@ -862,7 +862,7 @@ msgid "Yearly" msgstr "سنوياً" #: static/admin/main.js:1 static/admin/translations-fakejs.js:148 -#: static/admin/translations-fakejs.js:383 +#: static/admin/translations-fakejs.js:387 msgid "Weekdays" msgstr "أيام الأسبوع" @@ -1019,6 +1019,11 @@ msgstr "حفظ التكوين" msgid "Delete actor token - USE WITH EXTREME CAUTION!!!" msgstr "حذف الرمز المميز للممثل - استخدام بحذر شديد !!!" +#: static/admin/main.js:1 static/admin/translations-fakejs.js:268 +#| msgid "Delete actor token - USE WITH EXTREME CAUTION!!!" +msgid "Delete tunnel token - USE WITH EXTREME CAUTION!!!" +msgstr "حذف رمز النفق - استخدمه بحذر شديد !!!" + #: static/admin/main.js:1 static/admin/translations-fakejs.js:24 msgid "Cache flushed" msgstr "مخبأ مسح" @@ -1107,493 +1112,505 @@ msgstr "غير معالج" msgid "rejectionHandledHandler" msgstr "الرفض" -#: static/admin/translations-fakejs.js:274 +#: static/admin/translations-fakejs.js:275 msgid "Remove all" msgstr "حذف الكل" -#: static/admin/translations-fakejs.js:275 +#: static/admin/translations-fakejs.js:276 msgid "Add" msgstr "إضافة" -#: static/admin/translations-fakejs.js:277 -#: static/admin/translations-fakejs.js:283 -#: static/admin/translations-fakejs.js:288 -#: static/admin/translations-fakejs.js:334 -#: static/admin/translations-fakejs.js:346 -#: static/admin/translations-fakejs.js:361 -#: static/admin/translations-fakejs.js:366 -#: static/admin/translations-fakejs.js:387 -#: static/admin/translations-fakejs.js:395 -#: static/admin/translations-fakejs.js:407 -#: static/admin/translations-fakejs.js:412 -#: static/admin/translations-fakejs.js:420 -#: static/admin/translations-fakejs.js:425 +#: static/admin/translations-fakejs.js:278 +#: static/admin/translations-fakejs.js:284 +#: static/admin/translations-fakejs.js:289 +#: static/admin/translations-fakejs.js:338 +#: static/admin/translations-fakejs.js:350 +#: static/admin/translations-fakejs.js:365 +#: static/admin/translations-fakejs.js:370 +#: static/admin/translations-fakejs.js:391 +#: static/admin/translations-fakejs.js:399 +#: static/admin/translations-fakejs.js:411 +#: static/admin/translations-fakejs.js:416 +#: static/admin/translations-fakejs.js:424 #: static/admin/translations-fakejs.js:429 #: static/admin/translations-fakejs.js:433 -#: static/admin/translations-fakejs.js:435 -#: static/admin/translations-fakejs.js:446 -#: static/admin/translations-fakejs.js:448 -#: static/admin/translations-fakejs.js:462 -#: static/admin/translations-fakejs.js:488 +#: static/admin/translations-fakejs.js:437 +#: static/admin/translations-fakejs.js:439 +#: static/admin/translations-fakejs.js:450 +#: static/admin/translations-fakejs.js:452 +#: static/admin/translations-fakejs.js:466 +#: static/admin/translations-fakejs.js:492 msgid "Ok" msgstr "حسنا" -#: static/admin/translations-fakejs.js:278 +#: static/admin/translations-fakejs.js:279 msgid "Discard & close" msgstr "تجاهل وإغلاق" -#: static/admin/translations-fakejs.js:279 -#: static/admin/translations-fakejs.js:480 +#: static/admin/translations-fakejs.js:280 +#: static/admin/translations-fakejs.js:484 msgid "Save" msgstr "حفظ" -#: static/admin/translations-fakejs.js:280 +#: static/admin/translations-fakejs.js:281 msgid "New user permission for" msgstr "إذن مستخدم جديد لـ" -#: static/admin/translations-fakejs.js:281 +#: static/admin/translations-fakejs.js:282 msgid "New group permission for" msgstr "إذن مجموعة جديدة لـ" -#: static/admin/translations-fakejs.js:284 +#: static/admin/translations-fakejs.js:285 msgid "Permissions for" msgstr "أذونات" -#: static/admin/translations-fakejs.js:287 +#: static/admin/translations-fakejs.js:288 msgid "New permission..." msgstr "إذن جديد ..." -#: static/admin/translations-fakejs.js:290 -#: static/admin/translations-fakejs.js:297 +#: static/admin/translations-fakejs.js:291 +#: static/admin/translations-fakejs.js:298 msgid "Export" msgstr "تصدير" -#: static/admin/translations-fakejs.js:292 #: static/admin/translations-fakejs.js:293 #: static/admin/translations-fakejs.js:294 +#: static/admin/translations-fakejs.js:295 msgid "New" msgstr "جديد" -#: static/admin/translations-fakejs.js:295 -#: static/admin/translations-fakejs.js:302 +#: static/admin/translations-fakejs.js:296 +#: static/admin/translations-fakejs.js:304 msgid "Edit" msgstr "تحرير" -#: static/admin/translations-fakejs.js:296 -#: static/admin/translations-fakejs.js:303 +#: static/admin/translations-fakejs.js:297 +#: static/admin/translations-fakejs.js:305 msgid "Permissions" msgstr "أذونات" -#: static/admin/translations-fakejs.js:298 -#: static/admin/translations-fakejs.js:304 +#: static/admin/translations-fakejs.js:299 +#: static/admin/translations-fakejs.js:306 msgid "Delete" msgstr "حذف" -#: static/admin/translations-fakejs.js:300 +#: static/admin/translations-fakejs.js:301 msgid "Selected items" msgstr "العناصر المختارة" -#: static/admin/translations-fakejs.js:301 +#: static/admin/translations-fakejs.js:302 +msgid "Copy" +msgstr "ينسخ" + +#: static/admin/translations-fakejs.js:303 msgid "Detail" msgstr "التفاصيل" -#: static/admin/translations-fakejs.js:305 +#: static/admin/translations-fakejs.js:307 #: static/modern/translations-fakejs.js:43 msgid "Close" msgstr "إغلاق" -#: static/admin/translations-fakejs.js:308 +#: static/admin/translations-fakejs.js:310 msgid "User mode" msgstr "وضع المستخدم" -#: static/admin/translations-fakejs.js:309 +#: static/admin/translations-fakejs.js:311 #: static/modern/translations-fakejs.js:48 msgid "Logout" msgstr "الخروج" -#: static/admin/translations-fakejs.js:310 -#: static/admin/translations-fakejs.js:367 -#: static/admin/translations-fakejs.js:385 -#: static/admin/translations-fakejs.js:396 -#: static/admin/translations-fakejs.js:449 -#: static/admin/translations-fakejs.js:463 +#: static/admin/translations-fakejs.js:312 +#: static/admin/translations-fakejs.js:371 +#: static/admin/translations-fakejs.js:389 +#: static/admin/translations-fakejs.js:400 +#: static/admin/translations-fakejs.js:453 +#: static/admin/translations-fakejs.js:467 msgid "Summary" msgstr "ملخص" -#: static/admin/translations-fakejs.js:311 -#: static/admin/translations-fakejs.js:464 +#: static/admin/translations-fakejs.js:313 +#: static/admin/translations-fakejs.js:468 msgid "Services" msgstr "خدمات" -#: static/admin/translations-fakejs.js:312 +#: static/admin/translations-fakejs.js:314 msgid "Authenticators" msgstr "الموثقون" -#: static/admin/translations-fakejs.js:313 +#: static/admin/translations-fakejs.js:315 msgid "Os Managers" msgstr "مدراء Os" -#: static/admin/translations-fakejs.js:314 +#: static/admin/translations-fakejs.js:316 msgid "Connectivity" msgstr "الاتصال" -#: static/admin/translations-fakejs.js:315 -#: static/admin/translations-fakejs.js:453 +#: static/admin/translations-fakejs.js:317 +#: static/admin/translations-fakejs.js:457 #: static/modern/translations-fakejs.js:39 msgid "Transports" msgstr "وسائل النقل" -#: static/admin/translations-fakejs.js:316 +#: static/admin/translations-fakejs.js:318 #: static/modern/translations-fakejs.js:41 msgid "Networks" msgstr "الشبكات" -#: static/admin/translations-fakejs.js:317 +#: static/admin/translations-fakejs.js:319 msgid "Proxies" msgstr "وكلاء" -#: static/admin/translations-fakejs.js:318 +#: static/admin/translations-fakejs.js:320 msgid "Pools" msgstr "حمامات" -#: static/admin/translations-fakejs.js:320 +#: static/admin/translations-fakejs.js:322 msgid "Meta pools" msgstr "حمامات ميتا" -#: static/admin/translations-fakejs.js:322 +#: static/admin/translations-fakejs.js:324 msgid "Calendars" msgstr "التقويمات" -#: static/admin/translations-fakejs.js:323 +#: static/admin/translations-fakejs.js:325 msgid "Accounts" msgstr "حسابات" -#: static/admin/translations-fakejs.js:324 +#: static/admin/translations-fakejs.js:326 msgid "Tools" msgstr "أدوات" -#: static/admin/translations-fakejs.js:325 +#: static/admin/translations-fakejs.js:327 msgid "Gallery" msgstr "صالة عرض" -#: static/admin/translations-fakejs.js:326 +#: static/admin/translations-fakejs.js:328 msgid "Reports" msgstr "تقارير" -#: static/admin/translations-fakejs.js:327 -msgid "Configuration" -msgstr "ترتيب" - -#: static/admin/translations-fakejs.js:328 -msgid "Actor tokens" -msgstr "الرموز الفاعلة" - #: static/admin/translations-fakejs.js:329 +msgid "Tokens" +msgstr "الرموز" + +#: static/admin/translations-fakejs.js:330 +msgid "Actor" +msgstr "الممثل" + +#: static/admin/translations-fakejs.js:331 +msgid "Tunnel" +msgstr "نفق" + +#: static/admin/translations-fakejs.js:332 msgid "Flush Cache" msgstr "مخبأ دافق" -#: static/admin/translations-fakejs.js:330 -#: static/admin/translations-fakejs.js:362 -#: static/admin/translations-fakejs.js:459 +#: static/admin/translations-fakejs.js:333 +msgid "Configuration" +msgstr "ترتيب" + +#: static/admin/translations-fakejs.js:334 +#: static/admin/translations-fakejs.js:366 +#: static/admin/translations-fakejs.js:463 msgid "Information for" msgstr "معلومات عن" -#: static/admin/translations-fakejs.js:335 +#: static/admin/translations-fakejs.js:339 msgid "Edit group" msgstr "تحرير مجموعة" -#: static/admin/translations-fakejs.js:336 +#: static/admin/translations-fakejs.js:340 msgid "New group" msgstr "مجموعة جديدة" -#: static/admin/translations-fakejs.js:337 +#: static/admin/translations-fakejs.js:341 msgid "Meta group name" msgstr "اسم مجموعة التعريف" -#: static/admin/translations-fakejs.js:342 +#: static/admin/translations-fakejs.js:346 msgid "Service Pools" msgstr "مجمعات الخدمة" -#: static/admin/translations-fakejs.js:343 +#: static/admin/translations-fakejs.js:347 msgid "Match mode" msgstr "وضع التطابق" -#: static/admin/translations-fakejs.js:344 +#: static/admin/translations-fakejs.js:348 msgid "Selected Groups" msgstr "المجموعات المختارة" -#: static/admin/translations-fakejs.js:347 +#: static/admin/translations-fakejs.js:351 msgid "Edit user" msgstr "تحرير المستخدم" -#: static/admin/translations-fakejs.js:348 +#: static/admin/translations-fakejs.js:352 msgid "New user" msgstr "مستخدم جديد" -#: static/admin/translations-fakejs.js:349 +#: static/admin/translations-fakejs.js:353 msgid "Real name" msgstr "الاسم الحقيقي" -#: static/admin/translations-fakejs.js:355 +#: static/admin/translations-fakejs.js:359 msgid "Role" msgstr "وظيفة" -#: static/admin/translations-fakejs.js:356 +#: static/admin/translations-fakejs.js:360 msgid "Admin" msgstr "مشرف" -#: static/admin/translations-fakejs.js:357 +#: static/admin/translations-fakejs.js:361 msgid "Staff member" msgstr "موظف" -#: static/admin/translations-fakejs.js:365 +#: static/admin/translations-fakejs.js:369 msgid "Assigned Services" msgstr "الخدمات المعينة" -#: static/admin/translations-fakejs.js:371 +#: static/admin/translations-fakejs.js:375 msgid "Account usage" msgstr "استخدام الحساب" -#: static/admin/translations-fakejs.js:372 +#: static/admin/translations-fakejs.js:376 msgid "Edit rule" msgstr "تحرير القاعدة" -#: static/admin/translations-fakejs.js:373 +#: static/admin/translations-fakejs.js:377 msgid "New rule" msgstr "قانون جديد" -#: static/admin/translations-fakejs.js:376 +#: static/admin/translations-fakejs.js:380 msgid "Event" msgstr "هدف" -#: static/admin/translations-fakejs.js:377 +#: static/admin/translations-fakejs.js:381 msgid "Start time" msgstr "وقت البدء" -#: static/admin/translations-fakejs.js:378 +#: static/admin/translations-fakejs.js:382 msgid "Duration" msgstr "المدة الزمنية" -#: static/admin/translations-fakejs.js:379 +#: static/admin/translations-fakejs.js:383 msgid "Duration units" msgstr "وحدات المدة" -#: static/admin/translations-fakejs.js:380 +#: static/admin/translations-fakejs.js:384 msgid "Start date" msgstr "تاريخ البدء" -#: static/admin/translations-fakejs.js:381 +#: static/admin/translations-fakejs.js:385 msgid "Repeat until date" msgstr "كرر حتى التاريخ" -#: static/admin/translations-fakejs.js:382 +#: static/admin/translations-fakejs.js:386 msgid "Frequency" msgstr "تكرر" -#: static/admin/translations-fakejs.js:384 +#: static/admin/translations-fakejs.js:388 msgid "Repeat every" msgstr "تكرار كل" -#: static/admin/translations-fakejs.js:388 +#: static/admin/translations-fakejs.js:392 msgid "Rules" msgstr "قواعد" -#: static/admin/translations-fakejs.js:389 +#: static/admin/translations-fakejs.js:393 msgid "New member pool" msgstr "تجمع عضو جديد" -#: static/admin/translations-fakejs.js:390 +#: static/admin/translations-fakejs.js:394 msgid "Edit member pool" msgstr "تحرير تجمع الأعضاء" -#: static/admin/translations-fakejs.js:391 -#: static/admin/translations-fakejs.js:416 +#: static/admin/translations-fakejs.js:395 +#: static/admin/translations-fakejs.js:420 msgid "Priority" msgstr "أفضلية" -#: static/admin/translations-fakejs.js:392 +#: static/admin/translations-fakejs.js:396 msgid "Service pool" msgstr "تجمع خدمة" -#: static/admin/translations-fakejs.js:393 +#: static/admin/translations-fakejs.js:397 msgid "Enabled?" msgstr "تمكين؟" -#: static/admin/translations-fakejs.js:400 -#: static/admin/translations-fakejs.js:456 +#: static/admin/translations-fakejs.js:404 +#: static/admin/translations-fakejs.js:460 msgid "Access calendars" msgstr "تقاويم الوصول" -#: static/admin/translations-fakejs.js:402 +#: static/admin/translations-fakejs.js:406 msgid "Assign service to user manually" msgstr "تخصيص الخدمة للمستخدم يدويا" -#: static/admin/translations-fakejs.js:403 +#: static/admin/translations-fakejs.js:407 msgid "Service" msgstr "الخدمات" -#: static/admin/translations-fakejs.js:408 +#: static/admin/translations-fakejs.js:412 msgid "Change owner of assigned service" msgstr "تغيير مالك الخدمة المعينة" -#: static/admin/translations-fakejs.js:413 +#: static/admin/translations-fakejs.js:417 msgid "New access rule for" msgstr "قاعدة وصول جديدة لـ" -#: static/admin/translations-fakejs.js:414 +#: static/admin/translations-fakejs.js:418 msgid "Edit access rule for" msgstr "تحرير قاعدة الوصول لـ" -#: static/admin/translations-fakejs.js:415 +#: static/admin/translations-fakejs.js:419 msgid "Default fallback access for" msgstr "العودة الاحتياطية الافتراضية ل" -#: static/admin/translations-fakejs.js:417 -#: static/admin/translations-fakejs.js:438 +#: static/admin/translations-fakejs.js:421 +#: static/admin/translations-fakejs.js:442 msgid "Calendar" msgstr "التقويم" -#: static/admin/translations-fakejs.js:418 -#: static/admin/translations-fakejs.js:441 +#: static/admin/translations-fakejs.js:422 +#: static/admin/translations-fakejs.js:445 msgid "Action" msgstr "عمل" -#: static/admin/translations-fakejs.js:421 +#: static/admin/translations-fakejs.js:425 msgid "New group for" msgstr "مجموعة جديدة لـ" -#: static/admin/translations-fakejs.js:426 +#: static/admin/translations-fakejs.js:430 msgid "New transport for" msgstr "النقل الجديد ل" -#: static/admin/translations-fakejs.js:427 -#: static/admin/translations-fakejs.js:442 +#: static/admin/translations-fakejs.js:431 +#: static/admin/translations-fakejs.js:446 msgid "Transport" msgstr "المواصلات" -#: static/admin/translations-fakejs.js:430 +#: static/admin/translations-fakejs.js:434 msgid "New publication for" msgstr "منشور جديد لـ" -#: static/admin/translations-fakejs.js:434 +#: static/admin/translations-fakejs.js:438 msgid "Changelog of" msgstr "التغيير من" -#: static/admin/translations-fakejs.js:436 +#: static/admin/translations-fakejs.js:440 msgid "Edit action for" msgstr "تحرير العمل ل" -#: static/admin/translations-fakejs.js:437 +#: static/admin/translations-fakejs.js:441 msgid "New action for" msgstr "عمل جديد ل" -#: static/admin/translations-fakejs.js:439 +#: static/admin/translations-fakejs.js:443 msgid "Events offset (minutes)" msgstr "إزاحة الأحداث (بالدقائق)" -#: static/admin/translations-fakejs.js:440 +#: static/admin/translations-fakejs.js:444 msgid "At the beginning of the interval?" msgstr "في بداية الفاصل؟" -#: static/admin/translations-fakejs.js:447 +#: static/admin/translations-fakejs.js:451 msgid "Logs of" msgstr "سجلات من" -#: static/admin/translations-fakejs.js:451 +#: static/admin/translations-fakejs.js:455 msgid "Cache" msgstr "ذاكرة التخزين المؤقت" -#: static/admin/translations-fakejs.js:454 +#: static/admin/translations-fakejs.js:458 msgid "Publications" msgstr "المنشورات" -#: static/admin/translations-fakejs.js:455 +#: static/admin/translations-fakejs.js:459 msgid "Scheduled actions" msgstr "الإجراءات المجدولة" -#: static/admin/translations-fakejs.js:457 +#: static/admin/translations-fakejs.js:461 msgid "Charts" msgstr "الرسوم البيانية" -#: static/admin/translations-fakejs.js:460 +#: static/admin/translations-fakejs.js:464 msgid "Services pools" msgstr "تجمع الخدمات" -#: static/admin/translations-fakejs.js:465 +#: static/admin/translations-fakejs.js:469 msgid "Usage" msgstr "استعمال" -#: static/admin/translations-fakejs.js:467 +#: static/admin/translations-fakejs.js:471 #: static/modern/translations-fakejs.js:46 msgid "Dashboard" msgstr "لوحة القيادة" -#: static/admin/translations-fakejs.js:468 +#: static/admin/translations-fakejs.js:472 msgid "View authenticators" msgstr "عرض المصادقين" -#: static/admin/translations-fakejs.js:469 -#: static/admin/translations-fakejs.js:470 -#: static/admin/translations-fakejs.js:471 +#: static/admin/translations-fakejs.js:473 +#: static/admin/translations-fakejs.js:474 +#: static/admin/translations-fakejs.js:475 msgid "View service pools" msgstr "عرض حمامات الخدمة" -#: static/admin/translations-fakejs.js:472 +#: static/admin/translations-fakejs.js:476 msgid "Assigned services chart" msgstr "مخطط الخدمات المعينة" -#: static/admin/translations-fakejs.js:473 +#: static/admin/translations-fakejs.js:477 msgid "In use services chart" msgstr "مخطط الخدمات قيد الاستخدام" -#: static/admin/translations-fakejs.js:474 +#: static/admin/translations-fakejs.js:478 msgid "UDS Administration" msgstr "إدارة UDS" -#: static/admin/translations-fakejs.js:475 +#: static/admin/translations-fakejs.js:479 msgid "You are accessing UDS Administration as staff member." msgstr "أنت تصل إلى إدارة UDS كموظف." -#: static/admin/translations-fakejs.js:476 +#: static/admin/translations-fakejs.js:480 msgid "This means that you have restricted access to elements." msgstr "هذا يعني أن لديك تقييد الوصول إلى العناصر." -#: static/admin/translations-fakejs.js:477 +#: static/admin/translations-fakejs.js:481 msgid "" "In order to increase your access privileges, please contact your local UDS " "administrator." msgstr "" "من أجل زيادة امتيازات الوصول الخاصة بك ، يرجى الاتصال بمسؤول UDS المحلي." -#: static/admin/translations-fakejs.js:478 +#: static/admin/translations-fakejs.js:482 msgid "Thank you." msgstr "شكرا لكم." -#: static/admin/translations-fakejs.js:479 +#: static/admin/translations-fakejs.js:483 msgid "UDS Configuration" msgstr "تكوين UDS" -#: static/admin/translations-fakejs.js:481 +#: static/admin/translations-fakejs.js:485 msgid "New image for" msgstr "صورة جديدة ل" -#: static/admin/translations-fakejs.js:482 +#: static/admin/translations-fakejs.js:486 msgid "Edit for" msgstr "تحرير ل" -#: static/admin/translations-fakejs.js:483 +#: static/admin/translations-fakejs.js:487 msgid "Image name" msgstr "اسم الصورة" -#: static/admin/translations-fakejs.js:484 +#: static/admin/translations-fakejs.js:488 msgid "Image (click to change)" msgstr "صورة (انقر للتغيير)" -#: static/admin/translations-fakejs.js:485 +#: static/admin/translations-fakejs.js:489 msgid "For optimal results, use " msgstr "للحصول على أفضل النتائج ، استخدم" -#: static/admin/translations-fakejs.js:486 +#: static/admin/translations-fakejs.js:490 msgid "The image will be resized on upload to" msgstr "سيتم تغيير حجم الصورة عند التحميل إلى" diff --git a/server/src/uds/locale/ca/LC_MESSAGES/django.po b/server/src/uds/locale/ca/LC_MESSAGES/django.po index 042a2f558..3281c56c7 100644 --- a/server/src/uds/locale/ca/LC_MESSAGES/django.po +++ b/server/src/uds/locale/ca/LC_MESSAGES/django.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: OpenUDS\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-08 14:18+0200\n" +"POT-Creation-Date: 2021-07-29 13:12+0200\n" "PO-Revision-Date: 2021-07-08 10:58+0000\n" "Last-Translator: Adolfo Gómez \n" "Language-Team: Catalan (http://www.transifex.com/openuds/openuds/language/" @@ -31,7 +31,7 @@ msgstr "Comptes" #: REST/methods/osmanagers.py:55 REST/methods/providers.py:71 #: REST/methods/proxies.py:59 REST/methods/reports.py:57 #: REST/methods/services_pool_groups.py:63 REST/methods/services_pools.py:133 -#: REST/methods/transports.py:58 REST/methods/user_services.py:321 +#: REST/methods/transports.py:66 REST/methods/user_services.py:321 #: REST/methods/user_services.py:396 REST/methods/users_groups.py:122 #: REST/model.py:149 msgid "Name" @@ -42,7 +42,7 @@ msgstr "Nom" #: REST/methods/meta_pools.py:71 REST/methods/osmanagers.py:57 #: REST/methods/providers.py:73 REST/methods/proxies.py:62 #: REST/methods/services.py:241 REST/methods/services_pool_groups.py:64 -#: REST/methods/transports.py:60 REST/methods/user_services.py:398 +#: REST/methods/transports.py:68 REST/methods/user_services.py:398 #: REST/methods/users_groups.py:123 REST/methods/users_groups.py:291 #: REST/model.py:173 msgid "Comments" @@ -57,7 +57,7 @@ msgstr "Marca de temps" #: REST/methods/networks.py:63 REST/methods/osmanagers.py:59 #: REST/methods/providers.py:79 REST/methods/proxies.py:63 #: REST/methods/services.py:250 REST/methods/services_pools.py:142 -#: REST/methods/transports.py:63 +#: REST/methods/transports.py:77 msgid "tags" msgstr "etiquetes" @@ -69,7 +69,7 @@ msgstr "Nom de Pool" msgid "User name" msgstr "Nom d'usuari" -#: REST/methods/accountsusage.py:94 core/util/state.py:78 +#: REST/methods/accountsusage.py:94 core/util/state.py:79 #: core/util/states/common.py:71 msgid "Running" msgstr "En execució" @@ -116,11 +116,11 @@ msgstr "Host no administrat" msgid "User service not found" msgstr "Servei d'usuari no trobat" -#: REST/methods/actor_token.py:51 REST/methods/tunnel_token.py:51 +#: REST/methods/actor_token.py:51 msgid "Actor tokens" msgstr "Tokens de l'actor" -#: REST/methods/actor_token.py:54 REST/methods/tunnel_token.py:54 +#: REST/methods/actor_token.py:54 REST/methods/tunnel_token.py:51 #: reports/auto/fields.py:56 reports/stats/pools_performance.py:217 #: reports/stats/pools_performance.py:236 reports/stats/pools_usage_day.py:64 #: reports/stats/usage_by_pool.py:169 reports/stats/user_access.py:190 @@ -128,11 +128,11 @@ msgstr "Tokens de l'actor" msgid "Date" msgstr "Data" -#: REST/methods/actor_token.py:55 REST/methods/tunnel_token.py:55 +#: REST/methods/actor_token.py:55 REST/methods/tunnel_token.py:52 msgid "Issued by" msgstr "Emès per" -#: REST/methods/actor_token.py:56 REST/methods/tunnel_token.py:56 +#: REST/methods/actor_token.py:56 REST/methods/tunnel_token.py:53 #: reports/stats/usage_by_pool.py:173 #: templates/uds/reports/stats/usage-by-pool.html:18 msgid "Origin" @@ -158,7 +158,7 @@ msgstr "Executar una vegada" msgid "Log level" msgstr "Nivell de registre" -#: REST/methods/actor_token.py:67 REST/methods/tunnel_token.py:63 +#: REST/methods/actor_token.py:67 REST/methods/tunnel_token.py:60 msgid "Token isued by {} from {}" msgstr "El token es mostra per {} de {}" @@ -172,13 +172,13 @@ msgstr "ID" #: REST/methods/authenticators.py:67 REST/methods/osmanagers.py:56 #: REST/methods/providers.py:72 REST/methods/services.py:242 -#: REST/methods/transports.py:59 REST/methods/user_services.py:397 +#: REST/methods/transports.py:67 REST/methods/user_services.py:397 msgid "Type" msgstr "Tipus" #: REST/methods/authenticators.py:69 REST/methods/meta_service_pools.py:88 #: REST/methods/op_calendars.py:80 REST/methods/services_pool_groups.py:61 -#: REST/methods/transports.py:57 REST/methods/user_services.py:395 +#: REST/methods/transports.py:65 REST/methods/user_services.py:395 #: REST/model.py:185 models/meta_pool.py:73 msgid "Priority" msgstr "Prioritat" @@ -190,7 +190,7 @@ msgid "Visible" msgstr "Visible" #: REST/methods/authenticators.py:71 REST/methods/meta_pools.py:77 -#: REST/methods/transports.py:115 REST/model.py:201 +#: REST/methods/transports.py:164 REST/model.py:201 msgid "Label" msgstr "Etiqueta" @@ -389,7 +389,7 @@ msgid "Pool" msgstr "Pool" #: REST/methods/meta_service_pools.py:197 REST/methods/services_usage.py:122 -#: REST/methods/tunnel_token.py:57 REST/methods/user_services.py:139 +#: REST/methods/tunnel_token.py:54 REST/methods/user_services.py:139 #: REST/methods/user_services.py:270 auths/IP/authenticator.py:68 msgid "IP" msgstr "IP" @@ -437,7 +437,7 @@ msgstr "Element ja eliminat" msgid "Item is not removable" msgstr "Element que no pot eliminar-se" -#: REST/methods/networks.py:58 REST/methods/transports.py:88 +#: REST/methods/networks.py:58 REST/methods/transports.py:114 msgid "Networks" msgstr "Xarxes" @@ -563,7 +563,7 @@ msgstr "Comproveu el certificat" #: services/OpenGnsys/provider.py:97 services/OpenNebula/provider.py:77 #: services/OpenStack/provider_legacy.py:106 services/Proxmox/provider.py:66 #: services/VCloud_enterprise/provider.py:32 -#: services/Vmware_enterprise/provider.py:41 services/Xen/provider.py:100 +#: services/Vmware_enterprise/provider.py:45 services/Xen/provider.py:100 msgid "Host" msgstr "Host" @@ -582,7 +582,7 @@ msgstr "Servidor (IP o FQDN) que servirà de servidor proxy." #: services/OpenStack/provider_legacy.py:110 services/Proxmox/provider.py:73 #: services/RDS_enterprise/provider.py:101 #: services/VCloud_enterprise/provider.py:33 -#: services/Vmware_enterprise/provider.py:42 +#: services/Vmware_enterprise/provider.py:52 msgid "Port" msgstr "Port" @@ -703,8 +703,8 @@ msgstr "D'acord" msgid "Services Pool Groups" msgstr "Grups de pools de serveis" -#: REST/methods/services_pools.py:131 REST/methods/transports.py:61 -#: REST/methods/transports.py:106 +#: REST/methods/services_pools.py:131 REST/methods/transports.py:71 +#: REST/methods/transports.py:152 msgid "Service Pools" msgstr "Pools de servei" @@ -855,19 +855,19 @@ msgstr "Ús de serveis" msgid "Service" msgstr "Servei" -#: REST/methods/transports.py:55 +#: REST/methods/transports.py:63 msgid "Transports" msgstr "Transports" -#: REST/methods/transports.py:62 +#: REST/methods/transports.py:76 msgid "Devices" msgstr "Dispositius" -#: REST/methods/transports.py:79 +#: REST/methods/transports.py:97 msgid "Network access" msgstr "Accés a la xarxa" -#: REST/methods/transports.py:80 +#: REST/methods/transports.py:99 msgid "" "If checked, the transport will be enabled for the selected networks. If " "unchecked, transport will be disabled for selected networks" @@ -876,7 +876,7 @@ msgstr "" "seleccionades. Si no està seleccionat, el transport es deshabilitarà per a " "les xarxes seleccionades." -#: REST/methods/transports.py:89 +#: REST/methods/transports.py:116 msgid "" "Networks associated with this transport. If No network selected, will mean " "\"all networks\"" @@ -884,11 +884,11 @@ msgstr "" "Xarxes associades amb aquest transport. Si no hi ha cap xarxa seleccionada, " "vol dir \"totes les xarxes\"" -#: REST/methods/transports.py:97 +#: REST/methods/transports.py:134 msgid "Allowed Devices" msgstr "Dispositius permesos" -#: REST/methods/transports.py:98 +#: REST/methods/transports.py:136 msgid "" "If empty, any kind of device compatible with this transport will be allowed. " "Else, only devices compatible with selected values will be allowed" @@ -897,17 +897,22 @@ msgstr "" "aquest transport. Sinó, només es permetran els dispositius compatibles amb " "els valors seleccionats" -#: REST/methods/transports.py:107 +#: REST/methods/transports.py:153 msgid "Currently assigned services pools" msgstr "Pools de serveis actualment assignats" -#: REST/methods/transports.py:116 +#: REST/methods/transports.py:166 msgid "Metapool transport label (only used on metapool transports grouping)" msgstr "" "Etiqueta de transport metapool (només s'utilitza en l'agrupació de " "transports metapool)" -#: REST/methods/tunnel_token.py:53 +#: REST/methods/tunnel_token.py:48 +#| msgid "Tunneled" +msgid "Tunnel tokens" +msgstr "Fitxes de túnel" + +#: REST/methods/tunnel_token.py:50 msgid "Token" msgstr "Testimoni" @@ -1006,7 +1011,7 @@ msgstr "Usuaris actuals" #: services/OpenStack/provider.py:127 services/OpenStack/provider_legacy.py:144 #: services/Proxmox/provider.py:82 services/RDS_enterprise/provider.py:118 #: services/VCloud_enterprise/provider.py:35 -#: services/Vmware_enterprise/provider.py:43 services/Xen/provider.py:107 +#: services/Vmware_enterprise/provider.py:60 services/Xen/provider.py:107 #: transports/HTML5RDP/html5rdp.py:103 transports/HTML5VNC/html5vnc.py:75 #: transports/NoMachine_enterprise/nomachine_base.py:63 #: transports/PCoIP_enterprise/pcoip.py:59 transports/RDP/rdp_base.py:75 @@ -1156,7 +1161,7 @@ msgstr "" #: services/OpenStack/provider.py:135 services/OpenStack/provider_legacy.py:152 #: services/Proxmox/provider.py:92 services/RDS_enterprise/provider.py:126 #: services/Sample/service.py:140 services/VCloud_enterprise/provider.py:36 -#: services/Vmware_enterprise/provider.py:44 services/Xen/provider.py:115 +#: services/Vmware_enterprise/provider.py:67 services/Xen/provider.py:115 #: transports/HTML5RDP/html5rdp.py:109 transports/HTML5VNC/html5vnc.py:76 #: transports/NoMachine_enterprise/nomachine_base.py:69 #: transports/PCoIP_enterprise/pcoip.py:60 transports/RDP/rdp_base.py:81 @@ -1181,7 +1186,7 @@ msgstr "Contrasenya de l'usuari LDAP" #: services/OpenGnsys/provider.py:164 services/OpenNebula/provider.py:86 #: services/OpenStack/provider.py:166 services/OpenStack/provider_legacy.py:183 #: services/Proxmox/provider.py:123 services/VCloud_enterprise/provider.py:63 -#: services/Vmware_enterprise/provider.py:50 +#: services/Vmware_enterprise/provider.py:99 msgid "Timeout" msgstr "Temps d'espera" @@ -1660,11 +1665,11 @@ msgstr "Autenticador SAML" msgid "SAML (v2.0) Authenticator" msgstr "Autenticador SAML (v2.0)" -#: auths/SAML_enterprise/saml.py:127 +#: auths/SAML_enterprise/saml.py:129 msgid "Private key" msgstr "Clau privada" -#: auths/SAML_enterprise/saml.py:128 +#: auths/SAML_enterprise/saml.py:132 msgid "" "Private key used for sign and encription, as generated in base 64 from " "openssl" @@ -1672,15 +1677,15 @@ msgstr "" "Clau privada utilitzada per a signar i encriptar, generada en base 64 des " "d'OPENSSL" -#: auths/SAML_enterprise/saml.py:129 auths/SAML_enterprise/saml.py:134 +#: auths/SAML_enterprise/saml.py:135 auths/SAML_enterprise/saml.py:146 msgid "Certificates" msgstr "Certificats" -#: auths/SAML_enterprise/saml.py:132 transports/SPICE/spice_base.py:82 +#: auths/SAML_enterprise/saml.py:140 transports/SPICE/spice_base.py:82 msgid "Certificate" msgstr "Certificat" -#: auths/SAML_enterprise/saml.py:133 +#: auths/SAML_enterprise/saml.py:143 msgid "" "Public key used for sign and encription (public part of previous private " "key), as generated in base 64 from openssl" @@ -1688,64 +1693,64 @@ msgstr "" "Clau pública utilitzada per a signar i encriptar (part pública de la clau " "privada anterior), generada en base 64 des d'OPENSSL" -#: auths/SAML_enterprise/saml.py:137 +#: auths/SAML_enterprise/saml.py:151 msgid "IDP Metadata" msgstr "Metadades IDP" -#: auths/SAML_enterprise/saml.py:138 +#: auths/SAML_enterprise/saml.py:154 msgid "" "You can enter here the URL or the IDP metadata or the metadata itself (xml)" msgstr "" "Podeu posar aquí l'URL o les metadades IDP o les mateixes metadades (xml)" -#: auths/SAML_enterprise/saml.py:139 auths/SAML_enterprise/saml.py:143 +#: auths/SAML_enterprise/saml.py:157 auths/SAML_enterprise/saml.py:166 msgid "Metadata" msgstr "Metadades" -#: auths/SAML_enterprise/saml.py:142 +#: auths/SAML_enterprise/saml.py:161 msgid "Entity ID" msgstr "ID de l'entitat" -#: auths/SAML_enterprise/saml.py:143 +#: auths/SAML_enterprise/saml.py:164 msgid "ID of the SP. If left blank, this will be autogenerated from server URL" msgstr "" "ID del SP. Si es deixa en blanc, es generarà automàticament des del servidor " "URL" -#: auths/SAML_enterprise/saml.py:147 +#: auths/SAML_enterprise/saml.py:172 msgid "User name attrs" msgstr "Atributs de nom d'usuari" -#: auths/SAML_enterprise/saml.py:148 +#: auths/SAML_enterprise/saml.py:174 msgid "Fields from where to extract user name" msgstr "Camps d'on obtenir el nom d'usuari" -#: auths/SAML_enterprise/saml.py:148 auths/SAML_enterprise/saml.py:153 -#: auths/SAML_enterprise/saml.py:158 +#: auths/SAML_enterprise/saml.py:176 auths/SAML_enterprise/saml.py:186 +#: auths/SAML_enterprise/saml.py:196 msgid "Attributes" msgstr "Atributs" -#: auths/SAML_enterprise/saml.py:152 +#: auths/SAML_enterprise/saml.py:182 msgid "Group name attrs" msgstr "Atributs de Nom de grup" -#: auths/SAML_enterprise/saml.py:153 +#: auths/SAML_enterprise/saml.py:184 msgid "Fields from where to extract the groups" msgstr "Camps d'on obtenir els grups" -#: auths/SAML_enterprise/saml.py:157 +#: auths/SAML_enterprise/saml.py:192 msgid "Real name attrs" msgstr "Atributs de Nom real" -#: auths/SAML_enterprise/saml.py:158 +#: auths/SAML_enterprise/saml.py:194 msgid "Fields from where to extract the real name" msgstr "Camps d'on obtenir el nom real" -#: auths/SAML_enterprise/saml.py:176 +#: auths/SAML_enterprise/saml.py:216 msgid "SAML Authenticator does not support white spaces on field NAME" msgstr "L'Autenticador SAML no admet espais blancs al camp NAME" -#: auths/SAML_enterprise/saml.py:183 +#: auths/SAML_enterprise/saml.py:230 msgid "" "Server certificate should be a valid PEM (PEM certificates starts with -----" "BEGIN CERTIFICATE-----)" @@ -1753,11 +1758,11 @@ msgstr "" "El certificat del servidor ha de ser PEM vàlid (els certificats PEM comencen " "amb -----BEGIN CERTIFICATE-----)" -#: auths/SAML_enterprise/saml.py:188 +#: auths/SAML_enterprise/saml.py:238 msgid "Invalid server certificate. " msgstr "Certificat de servidor no vàlid" -#: auths/SAML_enterprise/saml.py:192 +#: auths/SAML_enterprise/saml.py:249 msgid "" "Private key should be a valid PEM (PEM private keys starts with -----BEGIN " "RSA PRIVATE KEY-----" @@ -1765,48 +1770,48 @@ msgstr "" "La clau privada ha de ser PEM vàlida (les claus privades PEM comencen amb " "-----BEGIN RSA PRIVATE KEY-----)" -#: auths/SAML_enterprise/saml.py:197 +#: auths/SAML_enterprise/saml.py:257 msgid "Invalid private key. " msgstr "Clau privada incorrecta." -#: auths/SAML_enterprise/saml.py:214 +#: auths/SAML_enterprise/saml.py:276 #, python-brace-format msgid "Can't fetch url {0}: {1}" msgstr "No es por extreure URL {0}: {1}" -#: auths/SAML_enterprise/saml.py:222 +#: auths/SAML_enterprise/saml.py:287 msgid " (obtained from URL)" msgstr " (obtingut de l'URL)" -#: auths/SAML_enterprise/saml.py:223 +#: auths/SAML_enterprise/saml.py:289 msgid "XML does not seem valid for IDP Metadata " msgstr "El XML no sembla vàlid per a metadades IDP" -#: auths/SAML_enterprise/saml.py:239 +#: auths/SAML_enterprise/saml.py:311 msgid "Can't access idp metadata" msgstr "No es pot accedir a les metadades IDP" -#: auths/Sample/SampleAuth.py:76 +#: auths/Sample/SampleAuth.py:79 msgid "Sample Authenticator" msgstr "Autenticador d'exemple" -#: auths/Sample/SampleAuth.py:88 +#: auths/Sample/SampleAuth.py:91 msgid "Sample dummy authenticator" msgstr "Autenticador simulat d'exemple" -#: auths/Sample/SampleAuth.py:106 +#: auths/Sample/SampleAuth.py:109 msgid "Fake User" msgstr "Usuari fals" -#: auths/Sample/SampleAuth.py:109 +#: auths/Sample/SampleAuth.py:112 msgid "Fake Group" msgstr "Grup fals" -#: auths/Sample/SampleAuth.py:115 +#: auths/Sample/SampleAuth.py:118 msgid "Groups" msgstr "Grups" -#: auths/Sample/SampleAuth.py:128 +#: auths/Sample/SampleAuth.py:132 msgid "We need more than two groups!" msgstr "Es necessiten més de dos grups!" @@ -1994,7 +1999,7 @@ msgstr "Servei base" #: core/services/service.py:141 core/services/service.py:150 #: models/permissions.py:92 models/permissions.py:96 -#: services/Azure_enterprise/helpers.py:97 services/OpenStack/helpers.py:74 +#: services/Azure_enterprise/helpers.py:100 services/OpenStack/helpers.py:74 #: services/Proxmox/service.py:194 services/Sample/service.py:98 #: services/Sample/service.py:104 services/TestService_enterprise/service.py:28 msgid "None" @@ -2020,79 +2025,79 @@ msgstr "Túnel" msgid "Can't contact LDAP server" msgstr "No es pot contactar amb el servidor LDAP" -#: core/util/state.py:65 core/util/states/common.py:59 +#: core/util/state.py:66 core/util/states/common.py:59 msgid "Active" msgstr "Actiu" -#: core/util/state.py:66 core/util/states/common.py:60 +#: core/util/state.py:67 core/util/states/common.py:60 msgid "Inactive" msgstr "Inactiu" -#: core/util/state.py:67 core/util/states/common.py:61 +#: core/util/state.py:68 core/util/states/common.py:61 msgid "Blocked" msgstr "Bloquejat" -#: core/util/state.py:68 core/util/states/common.py:62 +#: core/util/state.py:69 core/util/states/common.py:62 msgid "Waiting publication" msgstr "Esperant publicació" -#: core/util/state.py:69 core/util/states/common.py:63 +#: core/util/state.py:70 core/util/states/common.py:63 msgid "In preparation" msgstr "En preparació" -#: core/util/state.py:70 core/util/states/common.py:64 +#: core/util/state.py:71 core/util/states/common.py:64 msgid "Valid" msgstr "Vàlid" -#: core/util/state.py:71 core/util/state.py:73 core/util/states/common.py:66 +#: core/util/state.py:72 core/util/state.py:74 core/util/states/common.py:66 msgid "Removing" msgstr "Eliminant" -#: core/util/state.py:72 +#: core/util/state.py:73 msgid "Restrained" msgstr "Restringit" -#: core/util/state.py:74 core/util/states/common.py:67 +#: core/util/state.py:75 core/util/states/common.py:67 msgid "Removed" msgstr "Eliminat" -#: core/util/state.py:75 core/util/states/common.py:68 +#: core/util/state.py:76 core/util/states/common.py:68 msgid "Canceled" msgstr "Cancel·lat" -#: core/util/state.py:76 core/util/states/common.py:69 +#: core/util/state.py:77 core/util/states/common.py:69 msgid "Canceling" msgstr "Cancel·lant" -#: core/util/state.py:77 core/util/states/common.py:70 +#: core/util/state.py:78 core/util/states/common.py:70 msgid "Error" msgstr "Error" -#: core/util/state.py:79 core/util/states/common.py:72 +#: core/util/state.py:80 core/util/states/common.py:72 msgid "Finished" msgstr "Finalitzat" -#: core/util/state.py:80 core/util/states/common.py:73 +#: core/util/state.py:81 core/util/states/common.py:73 msgid "Waiting execution" msgstr "Esperant execució" -#: core/util/state.py:81 core/util/states/common.py:74 +#: core/util/state.py:82 core/util/states/common.py:74 msgid "Balancing" msgstr "Equilibrant" -#: core/util/state.py:82 core/util/states/common.py:75 +#: core/util/state.py:83 core/util/states/common.py:75 msgid "In maintenance" msgstr "En manteniment" -#: core/util/state.py:83 core/util/states/common.py:76 +#: core/util/state.py:84 core/util/states/common.py:76 msgid "Waiting OS" msgstr "Esperant SO" -#: core/util/state.py:84 +#: core/util/state.py:85 msgid "Too many preparing services" msgstr "Massa serveis en preparació" -#: core/util/state.py:85 +#: core/util/state.py:86 msgid "Meta member" msgstr "Meta membre" @@ -2124,23 +2129,23 @@ msgstr "Usuaris amb serveis" msgid "Cached" msgstr "A la memòria cau" -#: core/util/tools.py:144 +#: core/util/tools.py:152 msgid "{} days {:d}:{:02d}:{:02d}" msgstr "{} dies {: d}: {: 02d}: {: 02d}" -#: core/util/tools.py:161 +#: core/util/tools.py:171 msgid "The basename is not a valid for a hostname" msgstr "El nom base no és vàlid per a un nom de host" -#: core/util/tools.py:164 +#: core/util/tools.py:176 msgid "The length of basename plus length must be greater than 0" msgstr "La llargada del nom base més la llargada ha de ser superior a 0" -#: core/util/tools.py:167 +#: core/util/tools.py:181 msgid "The length of basename plus length must not be greater than 15" msgstr "La llargada del nom base més la llargada no pot ser superior a 15" -#: core/util/tools.py:170 +#: core/util/tools.py:186 msgid "The machine name can't be only numbers" msgstr "El nom de màquina no pot contenir només valors numèrics" @@ -2148,30 +2153,30 @@ msgstr "El nom de màquina no pot contenir només valors numèrics" msgid "Numeric" msgstr "Numèric" -#: core/util/validators.py:64 +#: core/util/validators.py:66 #, python-brace-format msgid "{0} must be greater than or equal to {1}" msgstr "{0} ha de ser major o igual a {1}" -#: core/util/validators.py:67 +#: core/util/validators.py:74 #, python-brace-format msgid "{0} must be lower than or equal to {1}" msgstr "{0} ha de ser menor o igual a {1}" -#: core/util/validators.py:72 +#: core/util/validators.py:81 #, python-brace-format msgid "{0} contains invalid characters" msgstr "{0} conté caràcters no vàlids" -#: core/util/validators.py:81 +#: core/util/validators.py:90 msgid "{} exceeds maximum host name length." msgstr "{} supera la llargada màxima del nom de host." -#: core/util/validators.py:92 +#: core/util/validators.py:103 msgid "{} is not a valid hostname" msgstr "{} no és un nom de host vàlid" -#: core/util/validators.py:136 +#: core/util/validators.py:152 msgid "" "Invalid mac range. Mac range must be in format XX:XX:XX:XX:XX:XX-XX:XX:XX:XX:" "XX:XX" @@ -3122,8 +3127,8 @@ msgstr "Obtingut de les subscripcions" #: services/OpenGnsys/provider.py:141 services/OpenNebula/provider.py:83 #: services/OpenStack/provider.py:143 services/OpenStack/provider_legacy.py:160 #: services/Proxmox/provider.py:100 services/VCloud_enterprise/provider.py:60 -#: services/Vmware_enterprise/provider.py:47 -#: services/Vmware_enterprise/provider.py:99 services/Xen/provider.py:123 +#: services/Vmware_enterprise/provider.py:76 +#: services/Vmware_enterprise/provider.py:182 services/Xen/provider.py:123 msgid "Creation concurrency" msgstr "Concurrència de creació" @@ -3135,7 +3140,7 @@ msgstr "Concurrència de creació" #: services/OpenGnsys/provider.py:146 services/OpenNebula/provider.py:83 #: services/OpenStack/provider.py:148 services/OpenStack/provider_legacy.py:165 #: services/Proxmox/provider.py:105 services/VCloud_enterprise/provider.py:60 -#: services/Vmware_enterprise/provider.py:47 services/Xen/provider.py:128 +#: services/Vmware_enterprise/provider.py:81 services/Xen/provider.py:128 msgid "Maximum number of concurrently creating VMs" msgstr "Nombre màxim de màquines virtuals creant-se simultàniament " @@ -3147,8 +3152,8 @@ msgstr "Nombre màxim de màquines virtuals creant-se simultàniament " #: services/OpenGnsys/provider.py:152 services/OpenNebula/provider.py:84 #: services/OpenStack/provider.py:154 services/OpenStack/provider_legacy.py:171 #: services/Proxmox/provider.py:111 services/VCloud_enterprise/provider.py:61 -#: services/Vmware_enterprise/provider.py:48 -#: services/Vmware_enterprise/provider.py:100 services/Xen/provider.py:134 +#: services/Vmware_enterprise/provider.py:87 +#: services/Vmware_enterprise/provider.py:188 services/Xen/provider.py:134 msgid "Removal concurrency" msgstr "Concurrència d'eliminació" @@ -3160,7 +3165,7 @@ msgstr "Concurrència d'eliminació" #: services/OpenGnsys/provider.py:157 services/OpenNebula/provider.py:84 #: services/OpenStack/provider.py:159 services/OpenStack/provider_legacy.py:176 #: services/Proxmox/provider.py:116 services/VCloud_enterprise/provider.py:61 -#: services/Vmware_enterprise/provider.py:48 services/Xen/provider.py:139 +#: services/Vmware_enterprise/provider.py:92 services/Xen/provider.py:139 msgid "Maximum number of concurrently removing VMs" msgstr "Nombre màxim de màquines virtuals eliminant-se simultàniament " @@ -3377,7 +3382,7 @@ msgstr "Temps d'espera de la connexió a HyperV en segons" #: services/HyperV_enterprise/legacy/provider.py:95 #: services/HyperV_enterprise/provider.py:103 #: services/Nutanix_enterprise/provider.py:45 services/OVirt/provider.py:117 -#: services/Vmware_enterprise/provider.py:51 services/Xen/provider.py:146 +#: services/Vmware_enterprise/provider.py:109 services/Xen/provider.py:146 msgid "Macs range" msgstr "Rang d'adreces mac" @@ -3394,7 +3399,7 @@ msgstr "La prova de connexió s'ha realitzat correctament" #: services/HyperV_enterprise/legacy/provider.py:268 #: services/NutanixPrism_enterprise/provider.py:262 #: services/Nutanix_enterprise/provider.py:228 services/OVirt/provider.py:457 -#: services/Proxmox/provider.py:312 services/Vmware_enterprise/provider.py:168 +#: services/Proxmox/provider.py:312 services/Vmware_enterprise/provider.py:291 msgid "Connection failed. Check connection params" msgstr "La connexió ha fallat. Verifiqueu els paràmetres de connexió" @@ -4239,12 +4244,12 @@ msgstr "Proveïdor de màquines amb IP estàtica" msgid "Provides connection to machines by IP" msgstr "Proporciona connexió a màquines mitjançant IP" -#: services/PhysicalMachines/service_multi.py:63 +#: services/PhysicalMachines/service_multi.py:64 #: services/Vmware_enterprise/service_fixed.py:55 msgid "Service Token" msgstr "Token de servei" -#: services/PhysicalMachines/service_multi.py:66 +#: services/PhysicalMachines/service_multi.py:67 #: services/Vmware_enterprise/service_fixed.py:57 msgid "" "Service token that will be used by actors to communicate with service. Leave " @@ -4253,44 +4258,57 @@ msgstr "" "Token de servei que faran servir els actors per comunicar-se amb el servei. " "Deixeu-lo buit per a una assignació persistent." -#: services/PhysicalMachines/service_multi.py:74 +#: services/PhysicalMachines/service_multi.py:75 #: services/RDS_enterprise/provider.py:49 msgid "List of servers" msgstr "Llistat de servidors" -#: services/PhysicalMachines/service_multi.py:75 +#: services/PhysicalMachines/service_multi.py:76 msgid "List of servers available for this service" msgstr "Llistat de servidors disponibles per a aquest servei" -#: services/PhysicalMachines/service_multi.py:80 +#: services/PhysicalMachines/service_multi.py:81 msgid "Check Port" msgstr "Consultar Port" -#: services/PhysicalMachines/service_multi.py:84 +#: services/PhysicalMachines/service_multi.py:85 msgid "" "If non zero, only hosts responding to connection on that port will be served." msgstr "" "Si no és zero, només es donarà servei als hostes que responguin a la " "connexió en aquest port." -#: services/PhysicalMachines/service_multi.py:91 +#: services/PhysicalMachines/service_multi.py:92 msgid "Skip time" msgstr "Pasar el temps" -#: services/PhysicalMachines/service_multi.py:94 +#: services/PhysicalMachines/service_multi.py:95 msgid "If a host fails to check, skip it for this time (in minutes)." msgstr "" "Si falla la comprovació d'un host, ometeu-la durant aquest temps (en minuts)." -#: services/PhysicalMachines/service_multi.py:101 +#: services/PhysicalMachines/service_multi.py:103 +#| msgid "Max. session time" +msgid "Max session per machine" +msgstr "Sessió màxima per màquina" + +#: services/PhysicalMachines/service_multi.py:107 +msgid "" +"Maximum session duration before UDS thinks this machine got locked and " +"releases it (hours). 0 means \"never\"." +msgstr "" +"Durada màxima de la sessió abans que UDS cregui que aquesta màquina s'ha " +"bloquejat i la deixa anar (hores). 0 significa \"mai\"." + +#: services/PhysicalMachines/service_multi.py:115 msgid "Static Multiple IP" msgstr "IP múltiple estàtica" -#: services/PhysicalMachines/service_multi.py:103 +#: services/PhysicalMachines/service_multi.py:117 msgid "This service provides access to POWERED-ON Machines by IP" msgstr "Aquest servei proporciona accés per IP a màquines engegades" -#: services/PhysicalMachines/service_multi.py:134 +#: services/PhysicalMachines/service_multi.py:150 msgid "Invalid value detected on servers list: \"{}\"" msgstr "S'ha detectat un valor no vàlid a la llista de servidors: \"{}\"" @@ -4654,7 +4672,7 @@ msgstr "Nombre màxim de serveis permesos (0 vol dir sense límit)" msgid "Wait spawned processes" msgstr "Esperar els processos generats" -#: services/RDS_enterprise/service.py:99 +#: services/RDS_enterprise/service.py:100 msgid "" "If active, RDS Actor will wait until the application and all spawned " "processes finished before considering app logged out" @@ -4662,7 +4680,7 @@ msgstr "" "Si està activat, l'actor de RDS esperarà fins que l'aplicació i tots els " "processos generats finalitzin abans de considerar-ne la sortida" -#: services/RDS_enterprise/service.py:109 +#: services/RDS_enterprise/service.py:112 msgid "A valid application path is required" msgstr "Es necessita una ruta d'aplicació vàlida" @@ -4912,27 +4930,27 @@ msgstr "Local" msgid "Remote" msgstr "Remot" -#: services/Vmware_enterprise/provider.py:41 +#: services/Vmware_enterprise/provider.py:47 msgid "VMWare VCenter Server IP or Hostname" msgstr "Nom de host o IP del servidor VMWare VCenter" -#: services/Vmware_enterprise/provider.py:42 +#: services/Vmware_enterprise/provider.py:55 msgid "VMWare VC Server Port (usually 443)" msgstr "Port del servidor VMWare VCenter (generalment el 443)" -#: services/Vmware_enterprise/provider.py:43 +#: services/Vmware_enterprise/provider.py:62 msgid "User with valid privileges on VC" msgstr "Usuari amb privilegis vàlids sobre VC" -#: services/Vmware_enterprise/provider.py:44 +#: services/Vmware_enterprise/provider.py:69 msgid "Password of the user of the VC" msgstr "Contrasenya de l'usuari de VC" -#: services/Vmware_enterprise/provider.py:50 +#: services/Vmware_enterprise/provider.py:102 msgid "Timeout in seconds of connection to VC" msgstr "Temps d'espera de la connexió a VC en segons" -#: services/Vmware_enterprise/provider.py:52 +#: services/Vmware_enterprise/provider.py:114 msgid "" "Range of valid macs for created machines. Must be inside " "00:50:56:00:00:00-00:50:56:3F:FF:FF" @@ -4940,15 +4958,15 @@ msgstr "" "Rang d'adreces mac vàlides per a màquines creades. Ha d'estar entre " "00:50:56:00:00:00 i 00:50:56:3F:FF:FF" -#: services/Vmware_enterprise/provider.py:56 +#: services/Vmware_enterprise/provider.py:126 msgid "VMWare VCenter Platform Provider" msgstr "Proveïdor de la plataforma VMWare VCenter" -#: services/Vmware_enterprise/provider.py:58 +#: services/Vmware_enterprise/provider.py:128 msgid "Provides connection to Virtual Center Services" msgstr "Proporciona connexió a serveis VMWare VCenter" -#: services/Vmware_enterprise/provider.py:166 +#: services/Vmware_enterprise/provider.py:287 msgid "Connection params ok" msgstr "Paràmetres de connexió correctes" @@ -5432,7 +5450,7 @@ msgstr "Mostrar el fons de pantalla" #: transports/HTML5RDP/html5rdp.py:134 #: transports/HTML5RDS_enterprise/html5rds.py:123 -#: transports/RDP/rdp_base.py:213 +#: transports/RDP/rdp_base.py:222 msgid "" "If checked, the wallpaper and themes will be shown on machine (better user " "experience, more bandwidth)" @@ -5442,25 +5460,25 @@ msgstr "" #: transports/HTML5RDP/html5rdp.py:139 #: transports/HTML5RDS_enterprise/html5rds.py:128 -#: transports/RDP/rdp_base.py:226 +#: transports/RDP/rdp_base.py:235 msgid "Allow Desk.Comp." msgstr "Permetre composició d'escriptori" #: transports/HTML5RDP/html5rdp.py:141 #: transports/HTML5RDS_enterprise/html5rds.py:130 -#: transports/RDP/rdp_base.py:228 +#: transports/RDP/rdp_base.py:237 msgid "If checked, desktop composition will be allowed" msgstr "Si està seleccionat, es permet la composició d'escriptori" #: transports/HTML5RDP/html5rdp.py:145 #: transports/HTML5RDS_enterprise/html5rds.py:134 -#: transports/RDP/rdp_base.py:232 transports/RDS_enterprise/rds_base.py:150 +#: transports/RDP/rdp_base.py:241 transports/RDS_enterprise/rds_base.py:150 msgid "Font Smoothing" msgstr "Suavització de fonts" #: transports/HTML5RDP/html5rdp.py:147 #: transports/HTML5RDS_enterprise/html5rds.py:136 -#: transports/RDS_enterprise/rds_base.py:152 +#: transports/RDS_enterprise/rds_base.py:153 msgid "If checked, fonts smoothing will be allowed (windows clients only)" msgstr "" "Si està seleccionat, es permet la suavització de fonts (només per a clients " @@ -5633,13 +5651,22 @@ msgstr "" msgid "TLS (Transport Security Layer encryption)" msgstr "TLS (xifrat de capa de seguretat de transport)" -#: transports/HTML5RDP/html5rdp.py:246 +#: transports/HTML5RDP/html5rdp.py:247 transports/RDP/rdp_base.py:172 +#| msgid "Port" +msgid "RDP Port" +msgstr "Port RDP" + +#: transports/HTML5RDP/html5rdp.py:248 transports/RDP/rdp_base.py:173 +msgid "Use this port as RDP port. Defaults to 3389." +msgstr "Utilitzeu aquest port com a port RDP. Per defecte és 3389." + +#: transports/HTML5RDP/html5rdp.py:256 #: transports/HTML5RDS_enterprise/html5rds.py:223 #: transports/HTML5VNC/html5vnc.py:109 msgid "Ticket Validity" msgstr "Validesa del ticket" -#: transports/HTML5RDP/html5rdp.py:250 +#: transports/HTML5RDP/html5rdp.py:260 #: transports/HTML5RDS_enterprise/html5rds.py:227 #: transports/HTML5VNC/html5vnc.py:112 msgid "" @@ -5649,43 +5676,43 @@ msgstr "" "Temps permès, en segons, al client HTML5 per a recarregar dades del Broker " "UDS. Es recomana el valor predeterminat de 60." -#: transports/HTML5RDP/html5rdp.py:259 +#: transports/HTML5RDP/html5rdp.py:269 #: transports/HTML5RDS_enterprise/html5rds.py:236 #: transports/HTML5VNC/html5vnc.py:119 transports/URL/url_custom.py:82 msgid "Force new HTML Window" msgstr "Forçar una nova finestra HTML" -#: transports/HTML5RDP/html5rdp.py:260 +#: transports/HTML5RDP/html5rdp.py:270 #: transports/HTML5RDS_enterprise/html5rds.py:237 #: transports/HTML5VNC/html5vnc.py:120 msgid "Select windows behavior for new connections on HTML5" msgstr "Seleccioneu el comportament de Windows per a noves connexions a HTML5" -#: transports/HTML5RDP/html5rdp.py:265 +#: transports/HTML5RDP/html5rdp.py:275 #: transports/HTML5RDS_enterprise/html5rds.py:242 #: transports/HTML5VNC/html5vnc.py:123 msgid "Open every connection on the same window, but keeps UDS window." msgstr "" "Obriu totes les connexions a la mateixa finestra, però manté la finestra UDS." -#: transports/HTML5RDP/html5rdp.py:268 +#: transports/HTML5RDP/html5rdp.py:278 #: transports/HTML5RDS_enterprise/html5rds.py:245 #: transports/HTML5VNC/html5vnc.py:124 msgid "Force every connection to be opened on a new window." msgstr "Força l'obertura de totes les connexions en una finestra nova." -#: transports/HTML5RDP/html5rdp.py:272 +#: transports/HTML5RDP/html5rdp.py:282 #: transports/HTML5RDS_enterprise/html5rds.py:249 #: transports/HTML5VNC/html5vnc.py:125 msgid "Override UDS window and replace it with the connection." msgstr "Substitueix la finestra UDS i substitueix-la per la connexió." -#: transports/HTML5RDP/html5rdp.py:280 +#: transports/HTML5RDP/html5rdp.py:290 #: transports/HTML5RDS_enterprise/html5rds.py:256 msgid "Glyptodon Enterprise context path" msgstr "Camí de context de Glyptodon Enterprise" -#: transports/HTML5RDP/html5rdp.py:283 +#: transports/HTML5RDP/html5rdp.py:293 #: transports/HTML5RDS_enterprise/html5rds.py:259 msgid "" "Customized path for Glyptodon Enterprise tunnel. (Only valid for Glyptodon " @@ -5694,13 +5721,13 @@ msgstr "" "Camí personalitzat per al túnel Glyptodon Enterprise. (Vàlid només per al " "túnel empresarial Glyptodon)" -#: transports/HTML5RDP/html5rdp.py:298 +#: transports/HTML5RDP/html5rdp.py:308 #: transports/HTML5RDS_enterprise/html5rds.py:273 #: transports/HTML5VNC/html5vnc.py:137 msgid "The server must be http or https" msgstr "El servidor ha de ser http o https" -#: transports/HTML5RDP/html5rdp.py:303 +#: transports/HTML5RDP/html5rdp.py:313 #: transports/HTML5RDS_enterprise/html5rds.py:278 msgid "" "Empty credentials (on Credentials tab) is only allowed with Security level " @@ -5753,7 +5780,7 @@ msgstr "Port del servidor VNC" msgid "Port of the VNC server." msgstr "Port del servidor VNC." -#: transports/HTML5VNC/html5vnc.py:90 transports/RDP/rdp_base.py:196 +#: transports/HTML5VNC/html5vnc.py:90 transports/RDP/rdp_base.py:205 #: transports/RDS_enterprise/rds_base.py:136 msgid "Color depth" msgstr "Profunditat de color" @@ -5867,7 +5894,7 @@ msgstr "" "(recomanat)." #: transports/NoMachine_enterprise/nomachine_tunneltransport.py:114 -#: transports/RDP/rdptunnel.py:134 transports/RDS_enterprise/rdstunnel.py:126 +#: transports/RDP/rdptunnel.py:135 transports/RDS_enterprise/rdstunnel.py:126 #: transports/SPICE/spice_tunnel.py:106 transports/X2GO/x2go_tunnel.py:117 msgid "Must use HOST:PORT in Tunnel Server Field" msgstr "Cal utilitzar HOST:PORT al camp Servidor de túnel" @@ -5984,27 +6011,27 @@ msgid "If checked, will enable Credentials Provider Support)" msgstr "" "Si està seleccionat, s'habilitarà el suport de proveïdor de credencials" -#: transports/RDP/rdp_base.py:172 +#: transports/RDP/rdp_base.py:181 msgid "Screen Size" msgstr "Mida de pantalla" -#: transports/RDP/rdp_base.py:174 +#: transports/RDP/rdp_base.py:183 msgid "Screen size for this transport" msgstr "Mida de pantalla per a aquest transport" -#: transports/RDP/rdp_base.py:198 transports/RDS_enterprise/rds_base.py:138 +#: transports/RDP/rdp_base.py:207 transports/RDS_enterprise/rds_base.py:138 msgid "Color depth for this connection" msgstr "Profunditat de color per a aquesta connexió" -#: transports/RDP/rdp_base.py:210 +#: transports/RDP/rdp_base.py:219 msgid "Wallpaper/theme" msgstr "Fons de pantalla/tema" -#: transports/RDP/rdp_base.py:218 +#: transports/RDP/rdp_base.py:227 msgid "Multiple monitors" msgstr "Monitors múltiples" -#: transports/RDP/rdp_base.py:221 +#: transports/RDP/rdp_base.py:230 msgid "" "If checked, all client monitors will be used for displaying (only works on " "windows clients)" @@ -6012,67 +6039,67 @@ msgstr "" "Si està seleccionat, s'utilitzaran tots els monitors del client (només " "funciona en clients de Windows)" -#: transports/RDP/rdp_base.py:234 +#: transports/RDP/rdp_base.py:244 msgid "If checked, fonts smoothing will be allowed" msgstr "Si està seleccionat, es permet la suavització de fonts." -#: transports/RDP/rdp_base.py:238 +#: transports/RDP/rdp_base.py:248 msgid "Connection Bar" msgstr "Barra de connexió" -#: transports/RDP/rdp_base.py:240 +#: transports/RDP/rdp_base.py:250 msgid "If checked, connection bar will be shown (only on Windows clients)" msgstr "" "Si està seleccionat, es mostrarà la barra de connexió (només a clients " "Windows)" -#: transports/RDP/rdp_base.py:246 transports/RDS_enterprise/rds_base.py:174 +#: transports/RDP/rdp_base.py:256 transports/RDS_enterprise/rds_base.py:179 msgid "Multimedia sync" msgstr "Sincronització multimèdia" -#: transports/RDP/rdp_base.py:249 transports/RDS_enterprise/rds_base.py:177 +#: transports/RDP/rdp_base.py:259 transports/RDS_enterprise/rds_base.py:182 msgid "If checked. Linux client will use multimedia parameter for xfreerdp" msgstr "" "Si està seleccionat, el client Linux utilitzarà el paràmetre multimèdia per " "a xfreerdp" -#: transports/RDP/rdp_base.py:254 transports/RDS_enterprise/rds_base.py:182 +#: transports/RDP/rdp_base.py:264 transports/RDS_enterprise/rds_base.py:187 msgid "Use Alsa" msgstr "Utilitzar ALSA" -#: transports/RDP/rdp_base.py:257 transports/RDS_enterprise/rds_base.py:185 +#: transports/RDP/rdp_base.py:267 transports/RDS_enterprise/rds_base.py:190 msgid "" "If checked, Linux client will try to use ALSA, otherwise Pulse will be used" msgstr "" "Si està seleccionat, el client Linux intentarà utilitzar ALSA, d'altra " "manera s'utilitzarà PULSE" -#: transports/RDP/rdp_base.py:262 transports/RDS_enterprise/rds_base.py:190 +#: transports/RDP/rdp_base.py:272 transports/RDS_enterprise/rds_base.py:195 msgid "Printer string" msgstr "Cadena d'impressora" -#: transports/RDP/rdp_base.py:265 transports/RDS_enterprise/rds_base.py:193 +#: transports/RDP/rdp_base.py:275 transports/RDS_enterprise/rds_base.py:198 msgid "If printer is checked, the printer string used with xfreerdp client" msgstr "" "Si Impressora està seleccionat, la cadena d'impressora utilitzada amb el " "client xfreerdp" -#: transports/RDP/rdp_base.py:271 transports/RDS_enterprise/rds_base.py:199 +#: transports/RDP/rdp_base.py:281 transports/RDS_enterprise/rds_base.py:204 msgid "Smartcard string" msgstr "Cadena de targeta intel·ligent" -#: transports/RDP/rdp_base.py:274 transports/RDS_enterprise/rds_base.py:202 +#: transports/RDP/rdp_base.py:284 transports/RDS_enterprise/rds_base.py:207 msgid "If smartcard is checked, the smartcard string used with xfreerdp client" msgstr "" "Si Targeta intel·ligent està seleccionat, la cadena de targeta intel·ligent " "utilitzada amb el client xfreerdp" -#: transports/RDP/rdp_base.py:280 transports/RDP/rdp_base.py:300 -#: transports/RDS_enterprise/rds_base.py:208 +#: transports/RDP/rdp_base.py:290 transports/RDP/rdp_base.py:310 +#: transports/RDS_enterprise/rds_base.py:213 msgid "Custom parameters" msgstr "Paràmetres personalitzats" -#: transports/RDP/rdp_base.py:283 transports/RDS_enterprise/rds_base.py:211 +#: transports/RDP/rdp_base.py:293 transports/RDS_enterprise/rds_base.py:216 msgid "" "If not empty, extra parameter to include for Linux Client (for example /usb:" "id,dev:054c:0268, or aything compatible with your xfreerdp client)" @@ -6081,11 +6108,11 @@ msgstr "" "exemple /usb:id,dev:054c:0268, o alguna cosa compatible amb el vostre client " "xfreerdp)" -#: transports/RDP/rdp_base.py:290 +#: transports/RDP/rdp_base.py:300 msgid "Allow Microsoft Rdp Client" msgstr "Permetre el client Microsoft Rdp" -#: transports/RDP/rdp_base.py:293 +#: transports/RDP/rdp_base.py:303 msgid "" "If checked, allows use of Microsoft Remote Desktop Client. PASSWORD WILL BE " "PROMPTED!" @@ -6093,7 +6120,7 @@ msgstr "" "Si està marcat, permet l'ús del client d'escriptori remot de " "Microsoft. LA CONTRASENYA ES PROMETRÀ!" -#: transports/RDP/rdp_base.py:303 +#: transports/RDP/rdp_base.py:313 msgid "" "If not empty, extra parameter to include for Mac OS X Freerdp Client (for " "example /usb:id,dev:054c:0268, or aything compatible with your xfreerdp " @@ -6117,19 +6144,32 @@ msgid "RDS access using RDP for vApps. Direct connection." msgstr "Accés RDS utilitzant RDP per a vAPPs. Connexió directa." #: transports/RDS_enterprise/rds_base.py:157 +#| msgid "Window Size" +msgid "Window state" +msgstr "Estat de la finestra" + +#: transports/RDS_enterprise/rds_base.py:159 +msgid "UDS Will try to execute the applicaiton with the window in this state" +msgstr "UDS intentarà executar l'aplicació amb la finestra en aquest estat" + +#: transports/RDS_enterprise/rds_base.py:162 +msgid "Normal" +msgstr "Normal" + +#: transports/RDS_enterprise/rds_base.py:163 msgid "Maximized" msgstr "Maximitzat" -#: transports/RDS_enterprise/rds_base.py:160 -msgid "If checked, UDS Actor will try to execute application maximized)" -msgstr "" -"Si està marcat, l'actor UDS intentarà executar l'aplicació al màxim)" +#: transports/RDS_enterprise/rds_base.py:164 +#| msgid "Maximized" +msgid "Minimized" +msgstr "Minimitzat" -#: transports/RDS_enterprise/rds_base.py:165 +#: transports/RDS_enterprise/rds_base.py:170 msgid "Execute as shell" msgstr "Executeu com a intèrpret d'ordres" -#: transports/RDS_enterprise/rds_base.py:169 +#: transports/RDS_enterprise/rds_base.py:174 msgid "" "If checked, Linux client will execute application in a session instead of a " "remoteapp" @@ -6334,7 +6374,7 @@ msgstr "Excés d'errors d'autenticació. Usuari bloquejat temporalment" msgid "Invalid data" msgstr "Dades no vàlides" -#: web/util/configjs.py:146 +#: web/util/configjs.py:145 msgid "Access limited by calendar" msgstr "Accés limitat per calendari" @@ -6478,6 +6518,6 @@ msgstr "" "El vostre servei s'està creant, si us plau, espereu uns segons mentre es " "completa.)" -#: web/views/auth.py:151 +#: web/views/auth.py:154 msgid "Authenticator does not provide information" msgstr "L'autenticador no proporciona informació" diff --git a/server/src/uds/locale/ca/LC_MESSAGES/djangojs.po b/server/src/uds/locale/ca/LC_MESSAGES/djangojs.po index bce495f1e..4f05edf8e 100644 --- a/server/src/uds/locale/ca/LC_MESSAGES/djangojs.po +++ b/server/src/uds/locale/ca/LC_MESSAGES/djangojs.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: OpenUDS\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-08 14:18+0200\n" +"POT-Creation-Date: 2021-07-29 13:12+0200\n" "PO-Revision-Date: 2021-07-08 10:59+0000\n" "Last-Translator: Adolfo Gómez \n" "Language-Team: Catalan (http://www.transifex.com/openuds/openuds/language/" @@ -148,23 +148,23 @@ msgstr "grup de pools" msgid "Go to" msgstr "Anar a" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:271 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:272 msgid "yes" msgstr "sí" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:272 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:273 msgid "no" msgstr "no" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:268 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:269 msgid "Error saving: " msgstr "S'ha produït un error desant:" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:269 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:270 msgid "Error saving element" msgstr "S'ha produït un error desant l'element" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:270 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:271 msgid "Error handling your request" msgstr "S'ha produït un error gestionant la vostra sol·licitud" @@ -273,8 +273,8 @@ msgstr "#RESTRAINED_NUMBER# serveis restringits!" #: static/admin/main.js:1 static/admin/translations-fakejs.js:105 #: static/admin/translations-fakejs.js:249 -#: static/admin/translations-fakejs.js:398 -#: static/admin/translations-fakejs.js:450 +#: static/admin/translations-fakejs.js:402 +#: static/admin/translations-fakejs.js:454 msgid "Assigned services" msgstr "Serveis assignats" @@ -283,8 +283,8 @@ msgid "Services in use" msgstr "Serveis en ús" #: static/admin/main.js:1 static/admin/translations-fakejs.js:21 -#: static/admin/translations-fakejs.js:291 -#: static/admin/translations-fakejs.js:299 +#: static/admin/translations-fakejs.js:292 +#: static/admin/translations-fakejs.js:300 #: static/modern/translations-fakejs.js:30 msgid "Filter" msgstr "Filtre" @@ -302,25 +302,25 @@ msgid "Full Access" msgstr "Accés complet" #: static/admin/main.js:1 static/admin/translations-fakejs.js:15 -#: static/admin/translations-fakejs.js:358 -#: static/admin/translations-fakejs.js:405 -#: static/admin/translations-fakejs.js:410 +#: static/admin/translations-fakejs.js:362 +#: static/admin/translations-fakejs.js:409 +#: static/admin/translations-fakejs.js:414 msgid "User" msgstr "Usuari" #: static/admin/main.js:1 static/admin/translations-fakejs.js:16 #: static/admin/translations-fakejs.js:83 #: static/admin/translations-fakejs.js:93 -#: static/admin/translations-fakejs.js:423 -#: static/admin/translations-fakejs.js:444 +#: static/admin/translations-fakejs.js:427 +#: static/admin/translations-fakejs.js:448 msgid "Group" msgstr "Grup" #: static/admin/main.js:1 static/admin/translations-fakejs.js:17 -#: static/admin/translations-fakejs.js:404 -#: static/admin/translations-fakejs.js:409 -#: static/admin/translations-fakejs.js:422 -#: static/admin/translations-fakejs.js:443 +#: static/admin/translations-fakejs.js:408 +#: static/admin/translations-fakejs.js:413 +#: static/admin/translations-fakejs.js:426 +#: static/admin/translations-fakejs.js:447 #: static/modern/translations-fakejs.js:73 msgid "Authenticator" msgstr "Autenticador" @@ -392,8 +392,8 @@ msgstr "Pool" #: static/admin/main.js:1 static/admin/translations-fakejs.js:77 #: static/admin/translations-fakejs.js:96 #: static/admin/translations-fakejs.js:230 -#: static/admin/translations-fakejs.js:339 -#: static/admin/translations-fakejs.js:351 +#: static/admin/translations-fakejs.js:343 +#: static/admin/translations-fakejs.js:355 msgid "State" msgstr "Estat" @@ -405,21 +405,21 @@ msgstr "Serveis d'usuari" #: static/admin/main.js:1 static/admin/translations-fakejs.js:88 #: static/admin/translations-fakejs.js:232 -#: static/admin/translations-fakejs.js:319 -#: static/admin/translations-fakejs.js:397 +#: static/admin/translations-fakejs.js:321 +#: static/admin/translations-fakejs.js:401 msgid "Service pools" msgstr "Pools de servei" #: static/admin/main.js:1 static/admin/translations-fakejs.js:3 #: static/admin/translations-fakejs.js:7 -#: static/admin/translations-fakejs.js:306 +#: static/admin/translations-fakejs.js:308 #: static/modern/translations-fakejs.js:44 msgid "Yes" msgstr "Sí" #: static/admin/main.js:1 static/admin/translations-fakejs.js:4 #: static/admin/translations-fakejs.js:8 -#: static/admin/translations-fakejs.js:307 +#: static/admin/translations-fakejs.js:309 #: static/modern/translations-fakejs.js:45 msgid "No" msgstr "No" @@ -476,10 +476,10 @@ msgstr "Tots" #: static/admin/main.js:1 static/admin/translations-fakejs.js:84 #: static/admin/translations-fakejs.js:94 -#: static/admin/translations-fakejs.js:338 -#: static/admin/translations-fakejs.js:350 -#: static/admin/translations-fakejs.js:375 -#: static/admin/translations-fakejs.js:431 +#: static/admin/translations-fakejs.js:342 +#: static/admin/translations-fakejs.js:354 +#: static/admin/translations-fakejs.js:379 +#: static/admin/translations-fakejs.js:435 msgid "Comments" msgstr "Comentaris" @@ -505,25 +505,25 @@ msgstr "Pool de serveis" #: static/admin/main.js:1 static/admin/translations-fakejs.js:90 #: static/admin/translations-fakejs.js:103 -#: static/admin/translations-fakejs.js:286 -#: static/admin/translations-fakejs.js:321 -#: static/admin/translations-fakejs.js:333 -#: static/admin/translations-fakejs.js:359 +#: static/admin/translations-fakejs.js:287 +#: static/admin/translations-fakejs.js:323 +#: static/admin/translations-fakejs.js:337 #: static/admin/translations-fakejs.js:363 -#: static/admin/translations-fakejs.js:369 -#: static/admin/translations-fakejs.js:399 -#: static/admin/translations-fakejs.js:452 +#: static/admin/translations-fakejs.js:367 +#: static/admin/translations-fakejs.js:373 +#: static/admin/translations-fakejs.js:403 +#: static/admin/translations-fakejs.js:456 msgid "Groups" msgstr "Grups" #: static/admin/main.js:1 static/admin/translations-fakejs.js:104 -#: static/admin/translations-fakejs.js:331 -#: static/admin/translations-fakejs.js:364 +#: static/admin/translations-fakejs.js:335 +#: static/admin/translations-fakejs.js:368 msgid "Services Pools" msgstr "Pools de serveis" #: static/admin/main.js:1 static/admin/translations-fakejs.js:79 -#: static/admin/translations-fakejs.js:374 +#: static/admin/translations-fakejs.js:378 msgid "Name" msgstr "Nom" @@ -540,26 +540,26 @@ msgid "Last access" msgstr "Últim accés" #: static/admin/main.js:1 static/admin/translations-fakejs.js:89 -#: static/admin/translations-fakejs.js:285 -#: static/admin/translations-fakejs.js:332 -#: static/admin/translations-fakejs.js:368 +#: static/admin/translations-fakejs.js:286 +#: static/admin/translations-fakejs.js:336 +#: static/admin/translations-fakejs.js:372 msgid "Users" msgstr "Usuaris" #: static/admin/main.js:1 static/admin/translations-fakejs.js:85 -#: static/admin/translations-fakejs.js:340 -#: static/admin/translations-fakejs.js:352 +#: static/admin/translations-fakejs.js:344 +#: static/admin/translations-fakejs.js:356 msgid "Enabled" msgstr "Habilitat" #: static/admin/main.js:1 static/admin/translations-fakejs.js:86 -#: static/admin/translations-fakejs.js:341 -#: static/admin/translations-fakejs.js:353 +#: static/admin/translations-fakejs.js:345 +#: static/admin/translations-fakejs.js:357 msgid "Disabled" msgstr "Deshabilitat" #: static/admin/main.js:1 static/admin/translations-fakejs.js:87 -#: static/admin/translations-fakejs.js:354 +#: static/admin/translations-fakejs.js:358 msgid "Blocked" msgstr "Bloquejat" @@ -670,12 +670,12 @@ msgid "In use" msgstr "En ús" #: static/admin/main.js:1 static/admin/translations-fakejs.js:202 -#: static/admin/translations-fakejs.js:289 -#: static/admin/translations-fakejs.js:370 -#: static/admin/translations-fakejs.js:401 -#: static/admin/translations-fakejs.js:458 -#: static/admin/translations-fakejs.js:461 -#: static/admin/translations-fakejs.js:466 +#: static/admin/translations-fakejs.js:290 +#: static/admin/translations-fakejs.js:374 +#: static/admin/translations-fakejs.js:405 +#: static/admin/translations-fakejs.js:462 +#: static/admin/translations-fakejs.js:465 +#: static/admin/translations-fakejs.js:470 msgid "Logs" msgstr "Registres" @@ -696,20 +696,20 @@ msgid "Assign service" msgstr "Assignar servei" #: static/admin/main.js:1 static/admin/translations-fakejs.js:207 -#: static/admin/translations-fakejs.js:276 -#: static/admin/translations-fakejs.js:282 -#: static/admin/translations-fakejs.js:345 -#: static/admin/translations-fakejs.js:360 -#: static/admin/translations-fakejs.js:386 -#: static/admin/translations-fakejs.js:394 -#: static/admin/translations-fakejs.js:406 -#: static/admin/translations-fakejs.js:411 -#: static/admin/translations-fakejs.js:419 -#: static/admin/translations-fakejs.js:424 +#: static/admin/translations-fakejs.js:277 +#: static/admin/translations-fakejs.js:283 +#: static/admin/translations-fakejs.js:349 +#: static/admin/translations-fakejs.js:364 +#: static/admin/translations-fakejs.js:390 +#: static/admin/translations-fakejs.js:398 +#: static/admin/translations-fakejs.js:410 +#: static/admin/translations-fakejs.js:415 +#: static/admin/translations-fakejs.js:423 #: static/admin/translations-fakejs.js:428 #: static/admin/translations-fakejs.js:432 -#: static/admin/translations-fakejs.js:445 -#: static/admin/translations-fakejs.js:487 +#: static/admin/translations-fakejs.js:436 +#: static/admin/translations-fakejs.js:449 +#: static/admin/translations-fakejs.js:491 msgid "Cancel" msgstr "Cancel·lar" @@ -861,7 +861,7 @@ msgid "Yearly" msgstr "Anual" #: static/admin/main.js:1 static/admin/translations-fakejs.js:148 -#: static/admin/translations-fakejs.js:383 +#: static/admin/translations-fakejs.js:387 msgid "Weekdays" msgstr "Dies de la setmana" @@ -1018,6 +1018,11 @@ msgstr "Configuració desada" msgid "Delete actor token - USE WITH EXTREME CAUTION!!!" msgstr "Suprimir el token de l'actor - UTILITZEU-HO AMB PRECAUCIÓ MÀXIMA !!!" +#: static/admin/main.js:1 static/admin/translations-fakejs.js:268 +#| msgid "Delete actor token - USE WITH EXTREME CAUTION!!!" +msgid "Delete tunnel token - USE WITH EXTREME CAUTION!!!" +msgstr "Suprimeix el testimoni de túnel: utilitzeu-lo amb extrema precaució." + #: static/admin/main.js:1 static/admin/translations-fakejs.js:24 msgid "Cache flushed" msgstr "S'ha buidat la memòria cau" @@ -1106,458 +1111,470 @@ msgstr "unhandledPromiseRejectionHandler" msgid "rejectionHandledHandler" msgstr "rebuigHandledHandler" -#: static/admin/translations-fakejs.js:274 +#: static/admin/translations-fakejs.js:275 msgid "Remove all" msgstr "Eliminar-ho tot" -#: static/admin/translations-fakejs.js:275 +#: static/admin/translations-fakejs.js:276 msgid "Add" msgstr "Afegir" -#: static/admin/translations-fakejs.js:277 -#: static/admin/translations-fakejs.js:283 -#: static/admin/translations-fakejs.js:288 -#: static/admin/translations-fakejs.js:334 -#: static/admin/translations-fakejs.js:346 -#: static/admin/translations-fakejs.js:361 -#: static/admin/translations-fakejs.js:366 -#: static/admin/translations-fakejs.js:387 -#: static/admin/translations-fakejs.js:395 -#: static/admin/translations-fakejs.js:407 -#: static/admin/translations-fakejs.js:412 -#: static/admin/translations-fakejs.js:420 -#: static/admin/translations-fakejs.js:425 +#: static/admin/translations-fakejs.js:278 +#: static/admin/translations-fakejs.js:284 +#: static/admin/translations-fakejs.js:289 +#: static/admin/translations-fakejs.js:338 +#: static/admin/translations-fakejs.js:350 +#: static/admin/translations-fakejs.js:365 +#: static/admin/translations-fakejs.js:370 +#: static/admin/translations-fakejs.js:391 +#: static/admin/translations-fakejs.js:399 +#: static/admin/translations-fakejs.js:411 +#: static/admin/translations-fakejs.js:416 +#: static/admin/translations-fakejs.js:424 #: static/admin/translations-fakejs.js:429 #: static/admin/translations-fakejs.js:433 -#: static/admin/translations-fakejs.js:435 -#: static/admin/translations-fakejs.js:446 -#: static/admin/translations-fakejs.js:448 -#: static/admin/translations-fakejs.js:462 -#: static/admin/translations-fakejs.js:488 +#: static/admin/translations-fakejs.js:437 +#: static/admin/translations-fakejs.js:439 +#: static/admin/translations-fakejs.js:450 +#: static/admin/translations-fakejs.js:452 +#: static/admin/translations-fakejs.js:466 +#: static/admin/translations-fakejs.js:492 msgid "Ok" msgstr "D'acord" -#: static/admin/translations-fakejs.js:278 +#: static/admin/translations-fakejs.js:279 msgid "Discard & close" msgstr "Descartar i tancar" -#: static/admin/translations-fakejs.js:279 -#: static/admin/translations-fakejs.js:480 +#: static/admin/translations-fakejs.js:280 +#: static/admin/translations-fakejs.js:484 msgid "Save" msgstr "Desar" -#: static/admin/translations-fakejs.js:280 +#: static/admin/translations-fakejs.js:281 msgid "New user permission for" msgstr "Nou permís d'usuari per a" -#: static/admin/translations-fakejs.js:281 +#: static/admin/translations-fakejs.js:282 msgid "New group permission for" msgstr "Nou permís de grup per a" -#: static/admin/translations-fakejs.js:284 +#: static/admin/translations-fakejs.js:285 msgid "Permissions for" msgstr "Permisos per a" -#: static/admin/translations-fakejs.js:287 +#: static/admin/translations-fakejs.js:288 msgid "New permission..." msgstr "Nou permís ..." -#: static/admin/translations-fakejs.js:290 -#: static/admin/translations-fakejs.js:297 +#: static/admin/translations-fakejs.js:291 +#: static/admin/translations-fakejs.js:298 msgid "Export" msgstr "Exportar" -#: static/admin/translations-fakejs.js:292 #: static/admin/translations-fakejs.js:293 #: static/admin/translations-fakejs.js:294 +#: static/admin/translations-fakejs.js:295 msgid "New" msgstr "Nou" -#: static/admin/translations-fakejs.js:295 -#: static/admin/translations-fakejs.js:302 +#: static/admin/translations-fakejs.js:296 +#: static/admin/translations-fakejs.js:304 msgid "Edit" msgstr "Editar" -#: static/admin/translations-fakejs.js:296 -#: static/admin/translations-fakejs.js:303 +#: static/admin/translations-fakejs.js:297 +#: static/admin/translations-fakejs.js:305 msgid "Permissions" msgstr "Permisos" -#: static/admin/translations-fakejs.js:298 -#: static/admin/translations-fakejs.js:304 +#: static/admin/translations-fakejs.js:299 +#: static/admin/translations-fakejs.js:306 msgid "Delete" msgstr "Suprimir" -#: static/admin/translations-fakejs.js:300 +#: static/admin/translations-fakejs.js:301 msgid "Selected items" msgstr "Elements seleccionats" -#: static/admin/translations-fakejs.js:301 +#: static/admin/translations-fakejs.js:302 +msgid "Copy" +msgstr "Copia" + +#: static/admin/translations-fakejs.js:303 msgid "Detail" msgstr "Detall" -#: static/admin/translations-fakejs.js:305 +#: static/admin/translations-fakejs.js:307 #: static/modern/translations-fakejs.js:43 msgid "Close" msgstr "Tanca" -#: static/admin/translations-fakejs.js:308 +#: static/admin/translations-fakejs.js:310 msgid "User mode" msgstr "Mode d'usuari" -#: static/admin/translations-fakejs.js:309 +#: static/admin/translations-fakejs.js:311 #: static/modern/translations-fakejs.js:48 msgid "Logout" msgstr "Tancar sessió" -#: static/admin/translations-fakejs.js:310 -#: static/admin/translations-fakejs.js:367 -#: static/admin/translations-fakejs.js:385 -#: static/admin/translations-fakejs.js:396 -#: static/admin/translations-fakejs.js:449 -#: static/admin/translations-fakejs.js:463 +#: static/admin/translations-fakejs.js:312 +#: static/admin/translations-fakejs.js:371 +#: static/admin/translations-fakejs.js:389 +#: static/admin/translations-fakejs.js:400 +#: static/admin/translations-fakejs.js:453 +#: static/admin/translations-fakejs.js:467 msgid "Summary" msgstr "Resum" -#: static/admin/translations-fakejs.js:311 -#: static/admin/translations-fakejs.js:464 +#: static/admin/translations-fakejs.js:313 +#: static/admin/translations-fakejs.js:468 msgid "Services" msgstr "Serveis" -#: static/admin/translations-fakejs.js:312 +#: static/admin/translations-fakejs.js:314 msgid "Authenticators" msgstr "Autenticadors" -#: static/admin/translations-fakejs.js:313 +#: static/admin/translations-fakejs.js:315 msgid "Os Managers" msgstr "Gestors de Sistema Operatiu" -#: static/admin/translations-fakejs.js:314 +#: static/admin/translations-fakejs.js:316 msgid "Connectivity" msgstr "Connectivitat" -#: static/admin/translations-fakejs.js:315 -#: static/admin/translations-fakejs.js:453 +#: static/admin/translations-fakejs.js:317 +#: static/admin/translations-fakejs.js:457 #: static/modern/translations-fakejs.js:39 msgid "Transports" msgstr "Transports" -#: static/admin/translations-fakejs.js:316 +#: static/admin/translations-fakejs.js:318 #: static/modern/translations-fakejs.js:41 msgid "Networks" msgstr "Xarxes" -#: static/admin/translations-fakejs.js:317 +#: static/admin/translations-fakejs.js:319 msgid "Proxies" msgstr "Proxies" -#: static/admin/translations-fakejs.js:318 +#: static/admin/translations-fakejs.js:320 msgid "Pools" msgstr "Pools" -#: static/admin/translations-fakejs.js:320 +#: static/admin/translations-fakejs.js:322 msgid "Meta pools" msgstr "Meta pools" -#: static/admin/translations-fakejs.js:322 +#: static/admin/translations-fakejs.js:324 msgid "Calendars" msgstr "Calendaris" -#: static/admin/translations-fakejs.js:323 +#: static/admin/translations-fakejs.js:325 msgid "Accounts" msgstr "Comptes" -#: static/admin/translations-fakejs.js:324 +#: static/admin/translations-fakejs.js:326 msgid "Tools" msgstr "Eines" -#: static/admin/translations-fakejs.js:325 +#: static/admin/translations-fakejs.js:327 msgid "Gallery" msgstr "Galeria" -#: static/admin/translations-fakejs.js:326 +#: static/admin/translations-fakejs.js:328 msgid "Reports" msgstr "Informes" -#: static/admin/translations-fakejs.js:327 -msgid "Configuration" -msgstr "Configuració" - -#: static/admin/translations-fakejs.js:328 -msgid "Actor tokens" -msgstr "Tokens de l'actor" - #: static/admin/translations-fakejs.js:329 +msgid "Tokens" +msgstr "Fitxes" + +#: static/admin/translations-fakejs.js:330 +msgid "Actor" +msgstr "Actor" + +#: static/admin/translations-fakejs.js:331 +msgid "Tunnel" +msgstr "Túnel" + +#: static/admin/translations-fakejs.js:332 msgid "Flush Cache" msgstr "Buidar memòria cau" -#: static/admin/translations-fakejs.js:330 -#: static/admin/translations-fakejs.js:362 -#: static/admin/translations-fakejs.js:459 +#: static/admin/translations-fakejs.js:333 +msgid "Configuration" +msgstr "Configuració" + +#: static/admin/translations-fakejs.js:334 +#: static/admin/translations-fakejs.js:366 +#: static/admin/translations-fakejs.js:463 msgid "Information for" msgstr "Informació per a" -#: static/admin/translations-fakejs.js:335 +#: static/admin/translations-fakejs.js:339 msgid "Edit group" msgstr "Editar grup" -#: static/admin/translations-fakejs.js:336 +#: static/admin/translations-fakejs.js:340 msgid "New group" msgstr "Nou grup" -#: static/admin/translations-fakejs.js:337 +#: static/admin/translations-fakejs.js:341 msgid "Meta group name" msgstr "Nom del meta grup" -#: static/admin/translations-fakejs.js:342 +#: static/admin/translations-fakejs.js:346 msgid "Service Pools" msgstr "Pools de servei" -#: static/admin/translations-fakejs.js:343 +#: static/admin/translations-fakejs.js:347 msgid "Match mode" msgstr "Mode coincidència" -#: static/admin/translations-fakejs.js:344 +#: static/admin/translations-fakejs.js:348 msgid "Selected Groups" msgstr "Grups seleccionats" -#: static/admin/translations-fakejs.js:347 +#: static/admin/translations-fakejs.js:351 msgid "Edit user" msgstr "Editar usuari" -#: static/admin/translations-fakejs.js:348 +#: static/admin/translations-fakejs.js:352 msgid "New user" msgstr "Nou usuari" -#: static/admin/translations-fakejs.js:349 +#: static/admin/translations-fakejs.js:353 msgid "Real name" msgstr "Nom real" -#: static/admin/translations-fakejs.js:355 +#: static/admin/translations-fakejs.js:359 msgid "Role" msgstr "Paper" -#: static/admin/translations-fakejs.js:356 +#: static/admin/translations-fakejs.js:360 msgid "Admin" msgstr "Admin" -#: static/admin/translations-fakejs.js:357 +#: static/admin/translations-fakejs.js:361 msgid "Staff member" msgstr "Membre del personal" -#: static/admin/translations-fakejs.js:365 +#: static/admin/translations-fakejs.js:369 msgid "Assigned Services" msgstr "Serveis assignats" -#: static/admin/translations-fakejs.js:371 +#: static/admin/translations-fakejs.js:375 msgid "Account usage" msgstr "Ús del compte" -#: static/admin/translations-fakejs.js:372 +#: static/admin/translations-fakejs.js:376 msgid "Edit rule" msgstr "Editar regla" -#: static/admin/translations-fakejs.js:373 +#: static/admin/translations-fakejs.js:377 msgid "New rule" msgstr "Nova regla" -#: static/admin/translations-fakejs.js:376 +#: static/admin/translations-fakejs.js:380 msgid "Event" msgstr "Esdeveniment" -#: static/admin/translations-fakejs.js:377 +#: static/admin/translations-fakejs.js:381 msgid "Start time" msgstr "Hora d'inici" -#: static/admin/translations-fakejs.js:378 +#: static/admin/translations-fakejs.js:382 msgid "Duration" msgstr "Durada" -#: static/admin/translations-fakejs.js:379 +#: static/admin/translations-fakejs.js:383 msgid "Duration units" msgstr "Unitats de durada" -#: static/admin/translations-fakejs.js:380 +#: static/admin/translations-fakejs.js:384 msgid "Start date" msgstr "Data d'inici" -#: static/admin/translations-fakejs.js:381 +#: static/admin/translations-fakejs.js:385 msgid "Repeat until date" msgstr "Repetir fins a la data" -#: static/admin/translations-fakejs.js:382 +#: static/admin/translations-fakejs.js:386 msgid "Frequency" msgstr "Freqüència" -#: static/admin/translations-fakejs.js:384 +#: static/admin/translations-fakejs.js:388 msgid "Repeat every" msgstr "Repetir cada" -#: static/admin/translations-fakejs.js:388 +#: static/admin/translations-fakejs.js:392 msgid "Rules" msgstr "Regles" -#: static/admin/translations-fakejs.js:389 +#: static/admin/translations-fakejs.js:393 msgid "New member pool" msgstr "Nou member pool" -#: static/admin/translations-fakejs.js:390 +#: static/admin/translations-fakejs.js:394 msgid "Edit member pool" msgstr "Editar member pool" -#: static/admin/translations-fakejs.js:391 -#: static/admin/translations-fakejs.js:416 +#: static/admin/translations-fakejs.js:395 +#: static/admin/translations-fakejs.js:420 msgid "Priority" msgstr "Prioritat" -#: static/admin/translations-fakejs.js:392 +#: static/admin/translations-fakejs.js:396 msgid "Service pool" msgstr "Pool de servei" -#: static/admin/translations-fakejs.js:393 +#: static/admin/translations-fakejs.js:397 msgid "Enabled?" msgstr "Habilitat?" -#: static/admin/translations-fakejs.js:400 -#: static/admin/translations-fakejs.js:456 +#: static/admin/translations-fakejs.js:404 +#: static/admin/translations-fakejs.js:460 msgid "Access calendars" msgstr "Calendaris d'accés" -#: static/admin/translations-fakejs.js:402 +#: static/admin/translations-fakejs.js:406 msgid "Assign service to user manually" msgstr "Assignar servei a l'usuari manualment" -#: static/admin/translations-fakejs.js:403 +#: static/admin/translations-fakejs.js:407 msgid "Service" msgstr "Servei" -#: static/admin/translations-fakejs.js:408 +#: static/admin/translations-fakejs.js:412 msgid "Change owner of assigned service" msgstr "Canviar el propietari del servei assignat" -#: static/admin/translations-fakejs.js:413 +#: static/admin/translations-fakejs.js:417 msgid "New access rule for" msgstr "Nova regla d'accés per a" -#: static/admin/translations-fakejs.js:414 +#: static/admin/translations-fakejs.js:418 msgid "Edit access rule for" msgstr "Editar la regla d'accés de" -#: static/admin/translations-fakejs.js:415 +#: static/admin/translations-fakejs.js:419 msgid "Default fallback access for" msgstr "Accés alternatiu predeterminat" -#: static/admin/translations-fakejs.js:417 -#: static/admin/translations-fakejs.js:438 +#: static/admin/translations-fakejs.js:421 +#: static/admin/translations-fakejs.js:442 msgid "Calendar" msgstr "Calendari" -#: static/admin/translations-fakejs.js:418 -#: static/admin/translations-fakejs.js:441 +#: static/admin/translations-fakejs.js:422 +#: static/admin/translations-fakejs.js:445 msgid "Action" msgstr "Acció" -#: static/admin/translations-fakejs.js:421 +#: static/admin/translations-fakejs.js:425 msgid "New group for" msgstr "Nou grup per a" -#: static/admin/translations-fakejs.js:426 +#: static/admin/translations-fakejs.js:430 msgid "New transport for" msgstr "Nou transport per a" -#: static/admin/translations-fakejs.js:427 -#: static/admin/translations-fakejs.js:442 +#: static/admin/translations-fakejs.js:431 +#: static/admin/translations-fakejs.js:446 msgid "Transport" msgstr "Transport" -#: static/admin/translations-fakejs.js:430 +#: static/admin/translations-fakejs.js:434 msgid "New publication for" msgstr "Nova publicació per a" -#: static/admin/translations-fakejs.js:434 +#: static/admin/translations-fakejs.js:438 msgid "Changelog of" msgstr "Registre de canvis de" -#: static/admin/translations-fakejs.js:436 +#: static/admin/translations-fakejs.js:440 msgid "Edit action for" msgstr "Editar l'acció per a" -#: static/admin/translations-fakejs.js:437 +#: static/admin/translations-fakejs.js:441 msgid "New action for" msgstr "Nova acció per a" -#: static/admin/translations-fakejs.js:439 +#: static/admin/translations-fakejs.js:443 msgid "Events offset (minutes)" msgstr "Compensació dels esdeveniments (minuts)" -#: static/admin/translations-fakejs.js:440 +#: static/admin/translations-fakejs.js:444 msgid "At the beginning of the interval?" msgstr "A l'inici de l'interval?" -#: static/admin/translations-fakejs.js:447 +#: static/admin/translations-fakejs.js:451 msgid "Logs of" msgstr "Registres de" -#: static/admin/translations-fakejs.js:451 +#: static/admin/translations-fakejs.js:455 msgid "Cache" msgstr "Memòria cau" -#: static/admin/translations-fakejs.js:454 +#: static/admin/translations-fakejs.js:458 msgid "Publications" msgstr "Publicacions" -#: static/admin/translations-fakejs.js:455 +#: static/admin/translations-fakejs.js:459 msgid "Scheduled actions" msgstr "Accions programades" -#: static/admin/translations-fakejs.js:457 +#: static/admin/translations-fakejs.js:461 msgid "Charts" msgstr "Gràfics" -#: static/admin/translations-fakejs.js:460 +#: static/admin/translations-fakejs.js:464 msgid "Services pools" msgstr "Pools de serveis" -#: static/admin/translations-fakejs.js:465 +#: static/admin/translations-fakejs.js:469 msgid "Usage" msgstr "Ús" -#: static/admin/translations-fakejs.js:467 +#: static/admin/translations-fakejs.js:471 #: static/modern/translations-fakejs.js:46 msgid "Dashboard" msgstr "Panell" -#: static/admin/translations-fakejs.js:468 +#: static/admin/translations-fakejs.js:472 msgid "View authenticators" msgstr "Veure autenticadors" -#: static/admin/translations-fakejs.js:469 -#: static/admin/translations-fakejs.js:470 -#: static/admin/translations-fakejs.js:471 +#: static/admin/translations-fakejs.js:473 +#: static/admin/translations-fakejs.js:474 +#: static/admin/translations-fakejs.js:475 msgid "View service pools" msgstr "Veure Pools de servei" -#: static/admin/translations-fakejs.js:472 +#: static/admin/translations-fakejs.js:476 msgid "Assigned services chart" msgstr "Gràfic de serveis assignats" -#: static/admin/translations-fakejs.js:473 +#: static/admin/translations-fakejs.js:477 msgid "In use services chart" msgstr "Gràfic de serveis en ús" -#: static/admin/translations-fakejs.js:474 +#: static/admin/translations-fakejs.js:478 msgid "UDS Administration" msgstr "Administració d'UDS" -#: static/admin/translations-fakejs.js:475 +#: static/admin/translations-fakejs.js:479 msgid "You are accessing UDS Administration as staff member." msgstr "Esteu accedint a l’administració d’UDS com a membre del personal." -#: static/admin/translations-fakejs.js:476 +#: static/admin/translations-fakejs.js:480 msgid "This means that you have restricted access to elements." msgstr "Això vol dir que teniu accés restringit als elements." -#: static/admin/translations-fakejs.js:477 +#: static/admin/translations-fakejs.js:481 msgid "" "In order to increase your access privileges, please contact your local UDS " "administrator." @@ -1565,35 +1582,35 @@ msgstr "" "Per incrementar els vostres privilegis d’accés, contacteu amb " "l’administrador d'UDS." -#: static/admin/translations-fakejs.js:478 +#: static/admin/translations-fakejs.js:482 msgid "Thank you." msgstr "Gràcies." -#: static/admin/translations-fakejs.js:479 +#: static/admin/translations-fakejs.js:483 msgid "UDS Configuration" msgstr "Configuració UDS" -#: static/admin/translations-fakejs.js:481 +#: static/admin/translations-fakejs.js:485 msgid "New image for" msgstr "Nova imatge per a" -#: static/admin/translations-fakejs.js:482 +#: static/admin/translations-fakejs.js:486 msgid "Edit for" msgstr "Editar per a" -#: static/admin/translations-fakejs.js:483 +#: static/admin/translations-fakejs.js:487 msgid "Image name" msgstr "Nom de la imatge" -#: static/admin/translations-fakejs.js:484 +#: static/admin/translations-fakejs.js:488 msgid "Image (click to change)" msgstr "Imatge (feu clic per canviar)" -#: static/admin/translations-fakejs.js:485 +#: static/admin/translations-fakejs.js:489 msgid "For optimal results, use " msgstr "Per obtenir resultats òptims, utilitzeu" -#: static/admin/translations-fakejs.js:486 +#: static/admin/translations-fakejs.js:490 msgid "The image will be resized on upload to" msgstr "La imatge quan es carregui es redimensionarà a" diff --git a/server/src/uds/locale/de/LC_MESSAGES/django.po b/server/src/uds/locale/de/LC_MESSAGES/django.po index dea2fc52c..6de8687b2 100644 --- a/server/src/uds/locale/de/LC_MESSAGES/django.po +++ b/server/src/uds/locale/de/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: OpenUDS\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-08 14:18+0200\n" +"POT-Creation-Date: 2021-07-29 13:12+0200\n" "PO-Revision-Date: 2021-07-08 10:59+0000\n" "Last-Translator: Adolfo Gómez \n" "Language-Team: German (http://www.transifex.com/openuds/openuds/language/" @@ -29,7 +29,7 @@ msgstr "Konten" #: REST/methods/osmanagers.py:55 REST/methods/providers.py:71 #: REST/methods/proxies.py:59 REST/methods/reports.py:57 #: REST/methods/services_pool_groups.py:63 REST/methods/services_pools.py:133 -#: REST/methods/transports.py:58 REST/methods/user_services.py:321 +#: REST/methods/transports.py:66 REST/methods/user_services.py:321 #: REST/methods/user_services.py:396 REST/methods/users_groups.py:122 #: REST/model.py:149 msgid "Name" @@ -40,7 +40,7 @@ msgstr "Name" #: REST/methods/meta_pools.py:71 REST/methods/osmanagers.py:57 #: REST/methods/providers.py:73 REST/methods/proxies.py:62 #: REST/methods/services.py:241 REST/methods/services_pool_groups.py:64 -#: REST/methods/transports.py:60 REST/methods/user_services.py:398 +#: REST/methods/transports.py:68 REST/methods/user_services.py:398 #: REST/methods/users_groups.py:123 REST/methods/users_groups.py:291 #: REST/model.py:173 msgid "Comments" @@ -55,7 +55,7 @@ msgstr "Zeitmarke" #: REST/methods/networks.py:63 REST/methods/osmanagers.py:59 #: REST/methods/providers.py:79 REST/methods/proxies.py:63 #: REST/methods/services.py:250 REST/methods/services_pools.py:142 -#: REST/methods/transports.py:63 +#: REST/methods/transports.py:77 msgid "tags" msgstr "Stichworte" @@ -67,7 +67,7 @@ msgstr "Poolname" msgid "User name" msgstr "Nutzername" -#: REST/methods/accountsusage.py:94 core/util/state.py:78 +#: REST/methods/accountsusage.py:94 core/util/state.py:79 #: core/util/states/common.py:71 msgid "Running" msgstr "Laufen" @@ -114,11 +114,11 @@ msgstr "Nicht verwalteter Host" msgid "User service not found" msgstr "Benutzerdienst nicht gefunden" -#: REST/methods/actor_token.py:51 REST/methods/tunnel_token.py:51 +#: REST/methods/actor_token.py:51 msgid "Actor tokens" msgstr "Schauspieler-Token" -#: REST/methods/actor_token.py:54 REST/methods/tunnel_token.py:54 +#: REST/methods/actor_token.py:54 REST/methods/tunnel_token.py:51 #: reports/auto/fields.py:56 reports/stats/pools_performance.py:217 #: reports/stats/pools_performance.py:236 reports/stats/pools_usage_day.py:64 #: reports/stats/usage_by_pool.py:169 reports/stats/user_access.py:190 @@ -126,11 +126,11 @@ msgstr "Schauspieler-Token" msgid "Date" msgstr "Datum" -#: REST/methods/actor_token.py:55 REST/methods/tunnel_token.py:55 +#: REST/methods/actor_token.py:55 REST/methods/tunnel_token.py:52 msgid "Issued by" msgstr "Herausgegeben von" -#: REST/methods/actor_token.py:56 REST/methods/tunnel_token.py:56 +#: REST/methods/actor_token.py:56 REST/methods/tunnel_token.py:53 #: reports/stats/usage_by_pool.py:173 #: templates/uds/reports/stats/usage-by-pool.html:18 msgid "Origin" @@ -156,7 +156,7 @@ msgstr "Renne einmal" msgid "Log level" msgstr "Protokollstufe" -#: REST/methods/actor_token.py:67 REST/methods/tunnel_token.py:63 +#: REST/methods/actor_token.py:67 REST/methods/tunnel_token.py:60 msgid "Token isued by {} from {}" msgstr "Token wird von {} von {} ausgegeben" @@ -170,13 +170,13 @@ msgstr "Ich würde" #: REST/methods/authenticators.py:67 REST/methods/osmanagers.py:56 #: REST/methods/providers.py:72 REST/methods/services.py:242 -#: REST/methods/transports.py:59 REST/methods/user_services.py:397 +#: REST/methods/transports.py:67 REST/methods/user_services.py:397 msgid "Type" msgstr "Art" #: REST/methods/authenticators.py:69 REST/methods/meta_service_pools.py:88 #: REST/methods/op_calendars.py:80 REST/methods/services_pool_groups.py:61 -#: REST/methods/transports.py:57 REST/methods/user_services.py:395 +#: REST/methods/transports.py:65 REST/methods/user_services.py:395 #: REST/model.py:185 models/meta_pool.py:73 msgid "Priority" msgstr "Priorität" @@ -188,7 +188,7 @@ msgid "Visible" msgstr "Sichtbar" #: REST/methods/authenticators.py:71 REST/methods/meta_pools.py:77 -#: REST/methods/transports.py:115 REST/model.py:201 +#: REST/methods/transports.py:164 REST/model.py:201 msgid "Label" msgstr "Etikette" @@ -386,7 +386,7 @@ msgid "Pool" msgstr "Schwimmbad" #: REST/methods/meta_service_pools.py:197 REST/methods/services_usage.py:122 -#: REST/methods/tunnel_token.py:57 REST/methods/user_services.py:139 +#: REST/methods/tunnel_token.py:54 REST/methods/user_services.py:139 #: REST/methods/user_services.py:270 auths/IP/authenticator.py:68 msgid "IP" msgstr "IP" @@ -434,7 +434,7 @@ msgstr "Artikel wurde bereits entfernt" msgid "Item is not removable" msgstr "Artikel ist nicht abnehmbar" -#: REST/methods/networks.py:58 REST/methods/transports.py:88 +#: REST/methods/networks.py:58 REST/methods/transports.py:114 msgid "Networks" msgstr "Netzwerke" @@ -561,7 +561,7 @@ msgstr "Zertifikat prüfen" #: services/OpenGnsys/provider.py:97 services/OpenNebula/provider.py:77 #: services/OpenStack/provider_legacy.py:106 services/Proxmox/provider.py:66 #: services/VCloud_enterprise/provider.py:32 -#: services/Vmware_enterprise/provider.py:41 services/Xen/provider.py:100 +#: services/Vmware_enterprise/provider.py:45 services/Xen/provider.py:100 msgid "Host" msgstr "Wirt" @@ -580,7 +580,7 @@ msgstr "Server (IP oder FQDN), der als Proxy dienen soll." #: services/OpenStack/provider_legacy.py:110 services/Proxmox/provider.py:73 #: services/RDS_enterprise/provider.py:101 #: services/VCloud_enterprise/provider.py:33 -#: services/Vmware_enterprise/provider.py:42 +#: services/Vmware_enterprise/provider.py:52 msgid "Port" msgstr "Hafen" @@ -701,8 +701,8 @@ msgstr "OK" msgid "Services Pool Groups" msgstr "Dienstleistungen Pool Gruppen" -#: REST/methods/services_pools.py:131 REST/methods/transports.py:61 -#: REST/methods/transports.py:106 +#: REST/methods/services_pools.py:131 REST/methods/transports.py:71 +#: REST/methods/transports.py:152 msgid "Service Pools" msgstr "Service-Pools" @@ -856,19 +856,19 @@ msgstr "Dienstleistungen" msgid "Service" msgstr "Bedienung" -#: REST/methods/transports.py:55 +#: REST/methods/transports.py:63 msgid "Transports" msgstr "Transporte" -#: REST/methods/transports.py:62 +#: REST/methods/transports.py:76 msgid "Devices" msgstr "Geräte" -#: REST/methods/transports.py:79 +#: REST/methods/transports.py:97 msgid "Network access" msgstr "Netzwerkzugang" -#: REST/methods/transports.py:80 +#: REST/methods/transports.py:99 msgid "" "If checked, the transport will be enabled for the selected networks. If " "unchecked, transport will be disabled for selected networks" @@ -877,7 +877,7 @@ msgstr "" "Wenn diese Option nicht aktiviert ist, wird der Transport für ausgewählte " "Netzwerke deaktiviert" -#: REST/methods/transports.py:89 +#: REST/methods/transports.py:116 msgid "" "Networks associated with this transport. If No network selected, will mean " "\"all networks\"" @@ -885,11 +885,11 @@ msgstr "" "Mit diesem Transport verbundene Netzwerke. Wenn Kein Netzwerk ausgewählt " "ist, bedeutet dies \"Alle Netzwerke\"." -#: REST/methods/transports.py:97 +#: REST/methods/transports.py:134 msgid "Allowed Devices" msgstr "Zulässige Geräte" -#: REST/methods/transports.py:98 +#: REST/methods/transports.py:136 msgid "" "If empty, any kind of device compatible with this transport will be allowed. " "Else, only devices compatible with selected values will be allowed" @@ -898,17 +898,22 @@ msgstr "" "zulässig. Andernfalls sind nur Geräte zulässig, die mit ausgewählten Werten " "kompatibel sind" -#: REST/methods/transports.py:107 +#: REST/methods/transports.py:153 msgid "Currently assigned services pools" msgstr "Derzeit zugewiesene Service-Pools" -#: REST/methods/transports.py:116 +#: REST/methods/transports.py:166 msgid "Metapool transport label (only used on metapool transports grouping)" msgstr "" "Metapool-Transportkennzeichen (wird nur bei der Gruppierung von Metapool-" "Transporten verwendet)" -#: REST/methods/tunnel_token.py:53 +#: REST/methods/tunnel_token.py:48 +#| msgid "Tunneled" +msgid "Tunnel tokens" +msgstr "Tunnel-Token" + +#: REST/methods/tunnel_token.py:50 msgid "Token" msgstr "Zeichen" @@ -1007,7 +1012,7 @@ msgstr "Derzeitige Nutzer" #: services/OpenStack/provider.py:127 services/OpenStack/provider_legacy.py:144 #: services/Proxmox/provider.py:82 services/RDS_enterprise/provider.py:118 #: services/VCloud_enterprise/provider.py:35 -#: services/Vmware_enterprise/provider.py:43 services/Xen/provider.py:107 +#: services/Vmware_enterprise/provider.py:60 services/Xen/provider.py:107 #: transports/HTML5RDP/html5rdp.py:103 transports/HTML5VNC/html5vnc.py:75 #: transports/NoMachine_enterprise/nomachine_base.py:63 #: transports/PCoIP_enterprise/pcoip.py:59 transports/RDP/rdp_base.py:75 @@ -1157,7 +1162,7 @@ msgstr "" #: services/OpenStack/provider.py:135 services/OpenStack/provider_legacy.py:152 #: services/Proxmox/provider.py:92 services/RDS_enterprise/provider.py:126 #: services/Sample/service.py:140 services/VCloud_enterprise/provider.py:36 -#: services/Vmware_enterprise/provider.py:44 services/Xen/provider.py:115 +#: services/Vmware_enterprise/provider.py:67 services/Xen/provider.py:115 #: transports/HTML5RDP/html5rdp.py:109 transports/HTML5VNC/html5vnc.py:76 #: transports/NoMachine_enterprise/nomachine_base.py:69 #: transports/PCoIP_enterprise/pcoip.py:60 transports/RDP/rdp_base.py:81 @@ -1182,7 +1187,7 @@ msgstr "Passwort des LDAP-Benutzers" #: services/OpenGnsys/provider.py:164 services/OpenNebula/provider.py:86 #: services/OpenStack/provider.py:166 services/OpenStack/provider_legacy.py:183 #: services/Proxmox/provider.py:123 services/VCloud_enterprise/provider.py:63 -#: services/Vmware_enterprise/provider.py:50 +#: services/Vmware_enterprise/provider.py:99 msgid "Timeout" msgstr "Auszeit" @@ -1666,11 +1671,11 @@ msgstr "SAML Authenticator" msgid "SAML (v2.0) Authenticator" msgstr "SAML (v2.0) Authenticator" -#: auths/SAML_enterprise/saml.py:127 +#: auths/SAML_enterprise/saml.py:129 msgid "Private key" msgstr "Privat Schlüssel" -#: auths/SAML_enterprise/saml.py:128 +#: auths/SAML_enterprise/saml.py:132 msgid "" "Private key used for sign and encription, as generated in base 64 from " "openssl" @@ -1678,15 +1683,15 @@ msgstr "" "Privater Schlüssel, der zum Signieren und Schreiben verwendet wird, wie in " "Base 64 von openssl generiert" -#: auths/SAML_enterprise/saml.py:129 auths/SAML_enterprise/saml.py:134 +#: auths/SAML_enterprise/saml.py:135 auths/SAML_enterprise/saml.py:146 msgid "Certificates" msgstr "Zertifikate" -#: auths/SAML_enterprise/saml.py:132 transports/SPICE/spice_base.py:82 +#: auths/SAML_enterprise/saml.py:140 transports/SPICE/spice_base.py:82 msgid "Certificate" msgstr "Zertifikat" -#: auths/SAML_enterprise/saml.py:133 +#: auths/SAML_enterprise/saml.py:143 msgid "" "Public key used for sign and encription (public part of previous private " "key), as generated in base 64 from openssl" @@ -1695,65 +1700,65 @@ msgstr "" "vorherigen privaten Schlüssels), wie er in der Basis 64 von openssl " "generiert wird" -#: auths/SAML_enterprise/saml.py:137 +#: auths/SAML_enterprise/saml.py:151 msgid "IDP Metadata" msgstr "IDP-Metadaten" -#: auths/SAML_enterprise/saml.py:138 +#: auths/SAML_enterprise/saml.py:154 msgid "" "You can enter here the URL or the IDP metadata or the metadata itself (xml)" msgstr "" "Sie können hier die URL oder die IDP-Metadaten oder die Metadaten selbst " "(xml) eingeben." -#: auths/SAML_enterprise/saml.py:139 auths/SAML_enterprise/saml.py:143 +#: auths/SAML_enterprise/saml.py:157 auths/SAML_enterprise/saml.py:166 msgid "Metadata" msgstr "Metadaten" -#: auths/SAML_enterprise/saml.py:142 +#: auths/SAML_enterprise/saml.py:161 msgid "Entity ID" msgstr "Entity-ID" -#: auths/SAML_enterprise/saml.py:143 +#: auths/SAML_enterprise/saml.py:164 msgid "ID of the SP. If left blank, this will be autogenerated from server URL" msgstr "" "ID des SP. Bleibt das Feld leer, wird dies automatisch von der Server-URL " "generiert" -#: auths/SAML_enterprise/saml.py:147 +#: auths/SAML_enterprise/saml.py:172 msgid "User name attrs" msgstr "Benutzername attrs" -#: auths/SAML_enterprise/saml.py:148 +#: auths/SAML_enterprise/saml.py:174 msgid "Fields from where to extract user name" msgstr "Felder, aus denen der Benutzername extrahiert werden soll" -#: auths/SAML_enterprise/saml.py:148 auths/SAML_enterprise/saml.py:153 -#: auths/SAML_enterprise/saml.py:158 +#: auths/SAML_enterprise/saml.py:176 auths/SAML_enterprise/saml.py:186 +#: auths/SAML_enterprise/saml.py:196 msgid "Attributes" msgstr "Attribute" -#: auths/SAML_enterprise/saml.py:152 +#: auths/SAML_enterprise/saml.py:182 msgid "Group name attrs" msgstr "Gruppenname attrs" -#: auths/SAML_enterprise/saml.py:153 +#: auths/SAML_enterprise/saml.py:184 msgid "Fields from where to extract the groups" msgstr "Felder, aus denen die Gruppen extrahiert werden sollen" -#: auths/SAML_enterprise/saml.py:157 +#: auths/SAML_enterprise/saml.py:192 msgid "Real name attrs" msgstr "Echte name attrs" -#: auths/SAML_enterprise/saml.py:158 +#: auths/SAML_enterprise/saml.py:194 msgid "Fields from where to extract the real name" msgstr "Felder, aus denen der tatsächliche Name extrahiert werden soll" -#: auths/SAML_enterprise/saml.py:176 +#: auths/SAML_enterprise/saml.py:216 msgid "SAML Authenticator does not support white spaces on field NAME" msgstr "SAML Authenticator unterstützt keine Leerzeichen im Feld NAME" -#: auths/SAML_enterprise/saml.py:183 +#: auths/SAML_enterprise/saml.py:230 msgid "" "Server certificate should be a valid PEM (PEM certificates starts with -----" "BEGIN CERTIFICATE-----)" @@ -1761,11 +1766,11 @@ msgstr "" "Serverzertifikat sollte ein gültiges PEM sein (PEM-Zertifikate beginnen mit " "----- BEGIN CERTIFICATE -----)" -#: auths/SAML_enterprise/saml.py:188 +#: auths/SAML_enterprise/saml.py:238 msgid "Invalid server certificate. " msgstr "Ungültiges Serverzertifikat" -#: auths/SAML_enterprise/saml.py:192 +#: auths/SAML_enterprise/saml.py:249 msgid "" "Private key should be a valid PEM (PEM private keys starts with -----BEGIN " "RSA PRIVATE KEY-----" @@ -1773,48 +1778,48 @@ msgstr "" "Der private Schlüssel sollte ein gültiges PEM sein (der private PEM-" "Schlüssel beginnt mit ----- BEGIN RSA PRIVATE KEY -----" -#: auths/SAML_enterprise/saml.py:197 +#: auths/SAML_enterprise/saml.py:257 msgid "Invalid private key. " msgstr "Ungültiger privater Schlüssel" -#: auths/SAML_enterprise/saml.py:214 +#: auths/SAML_enterprise/saml.py:276 #, python-brace-format msgid "Can't fetch url {0}: {1}" msgstr "URL {0} kann nicht abgerufen werden: {1}" -#: auths/SAML_enterprise/saml.py:222 +#: auths/SAML_enterprise/saml.py:287 msgid " (obtained from URL)" msgstr "(von URL erhalten)" -#: auths/SAML_enterprise/saml.py:223 +#: auths/SAML_enterprise/saml.py:289 msgid "XML does not seem valid for IDP Metadata " msgstr "XML scheint für IDP-Metadaten nicht gültig zu sein" -#: auths/SAML_enterprise/saml.py:239 +#: auths/SAML_enterprise/saml.py:311 msgid "Can't access idp metadata" msgstr "Ich kann nicht auf IDP-Metadaten zugreifen" -#: auths/Sample/SampleAuth.py:76 +#: auths/Sample/SampleAuth.py:79 msgid "Sample Authenticator" msgstr "Beispielauthentifizierer" -#: auths/Sample/SampleAuth.py:88 +#: auths/Sample/SampleAuth.py:91 msgid "Sample dummy authenticator" msgstr "Beispiel-Dummy-Authentifikator" -#: auths/Sample/SampleAuth.py:106 +#: auths/Sample/SampleAuth.py:109 msgid "Fake User" msgstr "Gefälschter Benutzer" -#: auths/Sample/SampleAuth.py:109 +#: auths/Sample/SampleAuth.py:112 msgid "Fake Group" msgstr "Gefälschte Gruppe" -#: auths/Sample/SampleAuth.py:115 +#: auths/Sample/SampleAuth.py:118 msgid "Groups" msgstr "Gruppen" -#: auths/Sample/SampleAuth.py:128 +#: auths/Sample/SampleAuth.py:132 msgid "We need more than two groups!" msgstr "Wir brauchen mehr als zwei Gruppen!" @@ -2010,7 +2015,7 @@ msgstr "Basisdienst" #: core/services/service.py:141 core/services/service.py:150 #: models/permissions.py:92 models/permissions.py:96 -#: services/Azure_enterprise/helpers.py:97 services/OpenStack/helpers.py:74 +#: services/Azure_enterprise/helpers.py:100 services/OpenStack/helpers.py:74 #: services/Proxmox/service.py:194 services/Sample/service.py:98 #: services/Sample/service.py:104 services/TestService_enterprise/service.py:28 msgid "None" @@ -2036,79 +2041,79 @@ msgstr "Tunnel" msgid "Can't contact LDAP server" msgstr "LDAP-Server kann nicht kontaktiert werden" -#: core/util/state.py:65 core/util/states/common.py:59 +#: core/util/state.py:66 core/util/states/common.py:59 msgid "Active" msgstr "Aktiv" -#: core/util/state.py:66 core/util/states/common.py:60 +#: core/util/state.py:67 core/util/states/common.py:60 msgid "Inactive" msgstr "Inaktiv" -#: core/util/state.py:67 core/util/states/common.py:61 +#: core/util/state.py:68 core/util/states/common.py:61 msgid "Blocked" msgstr "verstopft" -#: core/util/state.py:68 core/util/states/common.py:62 +#: core/util/state.py:69 core/util/states/common.py:62 msgid "Waiting publication" msgstr "Warten auf Veröffentlichung" -#: core/util/state.py:69 core/util/states/common.py:63 +#: core/util/state.py:70 core/util/states/common.py:63 msgid "In preparation" msgstr "In Vorbereitung" -#: core/util/state.py:70 core/util/states/common.py:64 +#: core/util/state.py:71 core/util/states/common.py:64 msgid "Valid" msgstr "Gültig" -#: core/util/state.py:71 core/util/state.py:73 core/util/states/common.py:66 +#: core/util/state.py:72 core/util/state.py:74 core/util/states/common.py:66 msgid "Removing" msgstr "Entfernen" -#: core/util/state.py:72 +#: core/util/state.py:73 msgid "Restrained" msgstr "Zurückhaltend" -#: core/util/state.py:74 core/util/states/common.py:67 +#: core/util/state.py:75 core/util/states/common.py:67 msgid "Removed" msgstr "Entfernt" -#: core/util/state.py:75 core/util/states/common.py:68 +#: core/util/state.py:76 core/util/states/common.py:68 msgid "Canceled" msgstr "Abgebrochen" -#: core/util/state.py:76 core/util/states/common.py:69 +#: core/util/state.py:77 core/util/states/common.py:69 msgid "Canceling" msgstr "Abbrechen" -#: core/util/state.py:77 core/util/states/common.py:70 +#: core/util/state.py:78 core/util/states/common.py:70 msgid "Error" msgstr "Error" -#: core/util/state.py:79 core/util/states/common.py:72 +#: core/util/state.py:80 core/util/states/common.py:72 msgid "Finished" msgstr "Fertig" -#: core/util/state.py:80 core/util/states/common.py:73 +#: core/util/state.py:81 core/util/states/common.py:73 msgid "Waiting execution" msgstr "Warten auf die Ausführung" -#: core/util/state.py:81 core/util/states/common.py:74 +#: core/util/state.py:82 core/util/states/common.py:74 msgid "Balancing" msgstr "Balancing" -#: core/util/state.py:82 core/util/states/common.py:75 +#: core/util/state.py:83 core/util/states/common.py:75 msgid "In maintenance" msgstr "In Wartung" -#: core/util/state.py:83 core/util/states/common.py:76 +#: core/util/state.py:84 core/util/states/common.py:76 msgid "Waiting OS" msgstr "Wartendes OS" -#: core/util/state.py:84 +#: core/util/state.py:85 msgid "Too many preparing services" msgstr "Zu viele Vorbereitungsdienste" -#: core/util/state.py:85 +#: core/util/state.py:86 msgid "Meta member" msgstr "Meta-Mitglied" @@ -2140,23 +2145,23 @@ msgstr "Benutzer mit Diensten" msgid "Cached" msgstr "Zwischengespeichert" -#: core/util/tools.py:144 +#: core/util/tools.py:152 msgid "{} days {:d}:{:02d}:{:02d}" msgstr "{} Tage {: d}: {: 02d}: {: 02d}" -#: core/util/tools.py:161 +#: core/util/tools.py:171 msgid "The basename is not a valid for a hostname" msgstr "Der Basisname ist kein gültiger Hostname" -#: core/util/tools.py:164 +#: core/util/tools.py:176 msgid "The length of basename plus length must be greater than 0" msgstr "Die Länge von basename plus length muss größer als 0 sein" -#: core/util/tools.py:167 +#: core/util/tools.py:181 msgid "The length of basename plus length must not be greater than 15" msgstr "Die Länge des Basisnamens plus Länge darf nicht größer als 15 sein" -#: core/util/tools.py:170 +#: core/util/tools.py:186 msgid "The machine name can't be only numbers" msgstr "Der Maschinenname kann nicht nur aus Zahlen bestehen" @@ -2164,30 +2169,30 @@ msgstr "Der Maschinenname kann nicht nur aus Zahlen bestehen" msgid "Numeric" msgstr "Numerisch" -#: core/util/validators.py:64 +#: core/util/validators.py:66 #, python-brace-format msgid "{0} must be greater than or equal to {1}" msgstr "{0} muss größer oder gleich {1} sein" -#: core/util/validators.py:67 +#: core/util/validators.py:74 #, python-brace-format msgid "{0} must be lower than or equal to {1}" msgstr "{0} muss kleiner oder gleich {1} sein" -#: core/util/validators.py:72 +#: core/util/validators.py:81 #, python-brace-format msgid "{0} contains invalid characters" msgstr "{0} enthält ungültige Zeichen" -#: core/util/validators.py:81 +#: core/util/validators.py:90 msgid "{} exceeds maximum host name length." msgstr "{} überschreitet die maximale Länge des Hostnamens." -#: core/util/validators.py:92 +#: core/util/validators.py:103 msgid "{} is not a valid hostname" msgstr "{} ist kein gültiger Hostname" -#: core/util/validators.py:136 +#: core/util/validators.py:152 msgid "" "Invalid mac range. Mac range must be in format XX:XX:XX:XX:XX:XX-XX:XX:XX:XX:" "XX:XX" @@ -3142,8 +3147,8 @@ msgstr "Wird aus Abonnements bezogen" #: services/OpenGnsys/provider.py:141 services/OpenNebula/provider.py:83 #: services/OpenStack/provider.py:143 services/OpenStack/provider_legacy.py:160 #: services/Proxmox/provider.py:100 services/VCloud_enterprise/provider.py:60 -#: services/Vmware_enterprise/provider.py:47 -#: services/Vmware_enterprise/provider.py:99 services/Xen/provider.py:123 +#: services/Vmware_enterprise/provider.py:76 +#: services/Vmware_enterprise/provider.py:182 services/Xen/provider.py:123 msgid "Creation concurrency" msgstr "Parallelität der Schöpfung" @@ -3155,7 +3160,7 @@ msgstr "Parallelität der Schöpfung" #: services/OpenGnsys/provider.py:146 services/OpenNebula/provider.py:83 #: services/OpenStack/provider.py:148 services/OpenStack/provider_legacy.py:165 #: services/Proxmox/provider.py:105 services/VCloud_enterprise/provider.py:60 -#: services/Vmware_enterprise/provider.py:47 services/Xen/provider.py:128 +#: services/Vmware_enterprise/provider.py:81 services/Xen/provider.py:128 msgid "Maximum number of concurrently creating VMs" msgstr "Maximale Anzahl der gleichzeitig erstellten VMs" @@ -3167,8 +3172,8 @@ msgstr "Maximale Anzahl der gleichzeitig erstellten VMs" #: services/OpenGnsys/provider.py:152 services/OpenNebula/provider.py:84 #: services/OpenStack/provider.py:154 services/OpenStack/provider_legacy.py:171 #: services/Proxmox/provider.py:111 services/VCloud_enterprise/provider.py:61 -#: services/Vmware_enterprise/provider.py:48 -#: services/Vmware_enterprise/provider.py:100 services/Xen/provider.py:134 +#: services/Vmware_enterprise/provider.py:87 +#: services/Vmware_enterprise/provider.py:188 services/Xen/provider.py:134 msgid "Removal concurrency" msgstr "Parallelität entfernen" @@ -3180,7 +3185,7 @@ msgstr "Parallelität entfernen" #: services/OpenGnsys/provider.py:157 services/OpenNebula/provider.py:84 #: services/OpenStack/provider.py:159 services/OpenStack/provider_legacy.py:176 #: services/Proxmox/provider.py:116 services/VCloud_enterprise/provider.py:61 -#: services/Vmware_enterprise/provider.py:48 services/Xen/provider.py:139 +#: services/Vmware_enterprise/provider.py:92 services/Xen/provider.py:139 msgid "Maximum number of concurrently removing VMs" msgstr "Maximale Anzahl gleichzeitig entfernter VMs" @@ -3393,7 +3398,7 @@ msgstr "Timeout in Sekunden der Verbindung zu HyperV" #: services/HyperV_enterprise/legacy/provider.py:95 #: services/HyperV_enterprise/provider.py:103 #: services/Nutanix_enterprise/provider.py:45 services/OVirt/provider.py:117 -#: services/Vmware_enterprise/provider.py:51 services/Xen/provider.py:146 +#: services/Vmware_enterprise/provider.py:109 services/Xen/provider.py:146 msgid "Macs range" msgstr "Macs reichen" @@ -3410,7 +3415,7 @@ msgstr "Verbindungstest erfolgreich" #: services/HyperV_enterprise/legacy/provider.py:268 #: services/NutanixPrism_enterprise/provider.py:262 #: services/Nutanix_enterprise/provider.py:228 services/OVirt/provider.py:457 -#: services/Proxmox/provider.py:312 services/Vmware_enterprise/provider.py:168 +#: services/Proxmox/provider.py:312 services/Vmware_enterprise/provider.py:291 msgid "Connection failed. Check connection params" msgstr "Verbindung fehlgeschlagen. Überprüfen Sie die Verbindungsparameter" @@ -4255,12 +4260,12 @@ msgstr "Anbieter statischer IP-Maschinen" msgid "Provides connection to machines by IP" msgstr "Bietet eine Verbindung zu Computern per IP" -#: services/PhysicalMachines/service_multi.py:63 +#: services/PhysicalMachines/service_multi.py:64 #: services/Vmware_enterprise/service_fixed.py:55 msgid "Service Token" msgstr "Service-Token" -#: services/PhysicalMachines/service_multi.py:66 +#: services/PhysicalMachines/service_multi.py:67 #: services/Vmware_enterprise/service_fixed.py:57 msgid "" "Service token that will be used by actors to communicate with service. Leave " @@ -4269,45 +4274,58 @@ msgstr "" "Service-Token, das von den Akteuren zur Kommunikation mit dem Service " "verwendet wird. Für dauerhafte Zuordnung leer lassen." -#: services/PhysicalMachines/service_multi.py:74 +#: services/PhysicalMachines/service_multi.py:75 #: services/RDS_enterprise/provider.py:49 msgid "List of servers" msgstr "Liste der Server" -#: services/PhysicalMachines/service_multi.py:75 +#: services/PhysicalMachines/service_multi.py:76 msgid "List of servers available for this service" msgstr "Liste der für diesen Dienst verfügbaren Server" -#: services/PhysicalMachines/service_multi.py:80 +#: services/PhysicalMachines/service_multi.py:81 msgid "Check Port" msgstr "Überprüfen Sie den Port" -#: services/PhysicalMachines/service_multi.py:84 +#: services/PhysicalMachines/service_multi.py:85 msgid "" "If non zero, only hosts responding to connection on that port will be served." msgstr "" "Wenn nicht Null, werden nur Hosts bedient, die auf die Verbindung an diesem " "Port antworten." -#: services/PhysicalMachines/service_multi.py:91 +#: services/PhysicalMachines/service_multi.py:92 msgid "Skip time" msgstr "Zeit überspringen" -#: services/PhysicalMachines/service_multi.py:94 +#: services/PhysicalMachines/service_multi.py:95 msgid "If a host fails to check, skip it for this time (in minutes)." msgstr "" "Wenn ein Host dies nicht überprüft, überspringen Sie es für diese Zeit (in " "Minuten)." -#: services/PhysicalMachines/service_multi.py:101 +#: services/PhysicalMachines/service_multi.py:103 +#| msgid "Max. session time" +msgid "Max session per machine" +msgstr "Maximale Sitzung pro Maschine" + +#: services/PhysicalMachines/service_multi.py:107 +msgid "" +"Maximum session duration before UDS thinks this machine got locked and " +"releases it (hours). 0 means \"never\"." +msgstr "" +"Maximale Sitzungsdauer, bevor UDS denkt, dass diese Maschine gesperrt wurde " +"und sie freigibt (Stunden). 0 bedeutet „nie“." + +#: services/PhysicalMachines/service_multi.py:115 msgid "Static Multiple IP" msgstr "Statische mehrfache IP" -#: services/PhysicalMachines/service_multi.py:103 +#: services/PhysicalMachines/service_multi.py:117 msgid "This service provides access to POWERED-ON Machines by IP" msgstr "Dieser Dienst ermöglicht den Zugriff auf POWERED-ON-Rechner über IP" -#: services/PhysicalMachines/service_multi.py:134 +#: services/PhysicalMachines/service_multi.py:150 msgid "Invalid value detected on servers list: \"{}\"" msgstr "Ungültiger Wert in der Serverliste erkannt: \"{}\"" @@ -4670,7 +4688,7 @@ msgstr "Maximale Anzahl erlaubter Dienste (0 bedeutet keine Begrenzung)" msgid "Wait spawned processes" msgstr "Warten Sie die erzeugten Prozesse" -#: services/RDS_enterprise/service.py:99 +#: services/RDS_enterprise/service.py:100 msgid "" "If active, RDS Actor will wait until the application and all spawned " "processes finished before considering app logged out" @@ -4678,7 +4696,7 @@ msgstr "" "Wenn aktiv, wartet RDS Actor, bis die Anwendung und alle erzeugten Prozesse " "abgeschlossen sind, bevor die Abmeldung der App in Betracht gezogen wird" -#: services/RDS_enterprise/service.py:109 +#: services/RDS_enterprise/service.py:112 msgid "A valid application path is required" msgstr "Ein gültiger Anwendungspfad ist erforderlich" @@ -4929,27 +4947,27 @@ msgstr "Lokal" msgid "Remote" msgstr "Remote" -#: services/Vmware_enterprise/provider.py:41 +#: services/Vmware_enterprise/provider.py:47 msgid "VMWare VCenter Server IP or Hostname" msgstr "VMWare VCenter Server-IP oder Hostname" -#: services/Vmware_enterprise/provider.py:42 +#: services/Vmware_enterprise/provider.py:55 msgid "VMWare VC Server Port (usually 443)" msgstr "VMWare VC Server Port (normalerweise 443)" -#: services/Vmware_enterprise/provider.py:43 +#: services/Vmware_enterprise/provider.py:62 msgid "User with valid privileges on VC" msgstr "Benutzer mit gültigen Berechtigungen für VC" -#: services/Vmware_enterprise/provider.py:44 +#: services/Vmware_enterprise/provider.py:69 msgid "Password of the user of the VC" msgstr "Passwort des Benutzers des VC" -#: services/Vmware_enterprise/provider.py:50 +#: services/Vmware_enterprise/provider.py:102 msgid "Timeout in seconds of connection to VC" msgstr "Timeout in Sekunden der Verbindung zu VC" -#: services/Vmware_enterprise/provider.py:52 +#: services/Vmware_enterprise/provider.py:114 msgid "" "Range of valid macs for created machines. Must be inside " "00:50:56:00:00:00-00:50:56:3F:FF:FF" @@ -4957,15 +4975,15 @@ msgstr "" "Bereich gültiger Macs für erstellte Maschinen. Muss innerhalb von " "00:50:56:00:00:00:50:56:3F:FF:FF sein" -#: services/Vmware_enterprise/provider.py:56 +#: services/Vmware_enterprise/provider.py:126 msgid "VMWare VCenter Platform Provider" msgstr "VMWare VCenter Platform Provider" -#: services/Vmware_enterprise/provider.py:58 +#: services/Vmware_enterprise/provider.py:128 msgid "Provides connection to Virtual Center Services" msgstr "Stellt eine Verbindung zu Virtual Center Services bereit" -#: services/Vmware_enterprise/provider.py:166 +#: services/Vmware_enterprise/provider.py:287 msgid "Connection params ok" msgstr "Verbindungsparameter ok" @@ -5449,7 +5467,7 @@ msgstr "Hintergrundbild anzeigen" #: transports/HTML5RDP/html5rdp.py:134 #: transports/HTML5RDS_enterprise/html5rds.py:123 -#: transports/RDP/rdp_base.py:213 +#: transports/RDP/rdp_base.py:222 msgid "" "If checked, the wallpaper and themes will be shown on machine (better user " "experience, more bandwidth)" @@ -5459,25 +5477,25 @@ msgstr "" #: transports/HTML5RDP/html5rdp.py:139 #: transports/HTML5RDS_enterprise/html5rds.py:128 -#: transports/RDP/rdp_base.py:226 +#: transports/RDP/rdp_base.py:235 msgid "Allow Desk.Comp." msgstr "Erlauben Sie Desk.Comp." #: transports/HTML5RDP/html5rdp.py:141 #: transports/HTML5RDS_enterprise/html5rds.py:130 -#: transports/RDP/rdp_base.py:228 +#: transports/RDP/rdp_base.py:237 msgid "If checked, desktop composition will be allowed" msgstr "Wenn diese Option aktiviert ist, ist die Desktop-Erstellung zulässig" #: transports/HTML5RDP/html5rdp.py:145 #: transports/HTML5RDS_enterprise/html5rds.py:134 -#: transports/RDP/rdp_base.py:232 transports/RDS_enterprise/rds_base.py:150 +#: transports/RDP/rdp_base.py:241 transports/RDS_enterprise/rds_base.py:150 msgid "Font Smoothing" msgstr "Schriftglättung" #: transports/HTML5RDP/html5rdp.py:147 #: transports/HTML5RDS_enterprise/html5rds.py:136 -#: transports/RDS_enterprise/rds_base.py:152 +#: transports/RDS_enterprise/rds_base.py:153 msgid "If checked, fonts smoothing will be allowed (windows clients only)" msgstr "" "Wenn aktiviert, wird das Glätten von Schriftarten zugelassen (nur Windows-" @@ -5652,13 +5670,22 @@ msgstr "" msgid "TLS (Transport Security Layer encryption)" msgstr "TLS (Transport Security Layer-Verschlüsselung)" -#: transports/HTML5RDP/html5rdp.py:246 +#: transports/HTML5RDP/html5rdp.py:247 transports/RDP/rdp_base.py:172 +#| msgid "Port" +msgid "RDP Port" +msgstr "RDP-Port" + +#: transports/HTML5RDP/html5rdp.py:248 transports/RDP/rdp_base.py:173 +msgid "Use this port as RDP port. Defaults to 3389." +msgstr "Verwenden Sie diesen Port als RDP-Port. Standardmäßig auf 3389." + +#: transports/HTML5RDP/html5rdp.py:256 #: transports/HTML5RDS_enterprise/html5rds.py:223 #: transports/HTML5VNC/html5vnc.py:109 msgid "Ticket Validity" msgstr "Ticket Gültigkeit" -#: transports/HTML5RDP/html5rdp.py:250 +#: transports/HTML5RDP/html5rdp.py:260 #: transports/HTML5RDS_enterprise/html5rds.py:227 #: transports/HTML5VNC/html5vnc.py:112 msgid "" @@ -5668,19 +5695,19 @@ msgstr "" "Zulässige Zeit (in Sekunden) für den HTML5-Client zum erneuten Laden von " "Daten aus UDS Broker. Der Standardwert von 60 wird empfohlen." -#: transports/HTML5RDP/html5rdp.py:259 +#: transports/HTML5RDP/html5rdp.py:269 #: transports/HTML5RDS_enterprise/html5rds.py:236 #: transports/HTML5VNC/html5vnc.py:119 transports/URL/url_custom.py:82 msgid "Force new HTML Window" msgstr "Neues HTML-Fenster erzwingen" -#: transports/HTML5RDP/html5rdp.py:260 +#: transports/HTML5RDP/html5rdp.py:270 #: transports/HTML5RDS_enterprise/html5rds.py:237 #: transports/HTML5VNC/html5vnc.py:120 msgid "Select windows behavior for new connections on HTML5" msgstr "Wählen Sie das Windows-Verhalten für neue Verbindungen in HTML5 aus" -#: transports/HTML5RDP/html5rdp.py:265 +#: transports/HTML5RDP/html5rdp.py:275 #: transports/HTML5RDS_enterprise/html5rds.py:242 #: transports/HTML5VNC/html5vnc.py:123 msgid "Open every connection on the same window, but keeps UDS window." @@ -5688,26 +5715,26 @@ msgstr "" "Öffnen Sie jede Verbindung im selben Fenster, behalten Sie jedoch das UDS-" "Fenster bei." -#: transports/HTML5RDP/html5rdp.py:268 +#: transports/HTML5RDP/html5rdp.py:278 #: transports/HTML5RDS_enterprise/html5rds.py:245 #: transports/HTML5VNC/html5vnc.py:124 msgid "Force every connection to be opened on a new window." msgstr "" "Erzwingen Sie, dass jede Verbindung in einem neuen Fenster geöffnet wird." -#: transports/HTML5RDP/html5rdp.py:272 +#: transports/HTML5RDP/html5rdp.py:282 #: transports/HTML5RDS_enterprise/html5rds.py:249 #: transports/HTML5VNC/html5vnc.py:125 msgid "Override UDS window and replace it with the connection." msgstr "" "Überschreiben Sie das UDS-Fenster und ersetzen Sie es durch die Verbindung." -#: transports/HTML5RDP/html5rdp.py:280 +#: transports/HTML5RDP/html5rdp.py:290 #: transports/HTML5RDS_enterprise/html5rds.py:256 msgid "Glyptodon Enterprise context path" msgstr "Glyptodon Enterprise-Kontextpfad" -#: transports/HTML5RDP/html5rdp.py:283 +#: transports/HTML5RDP/html5rdp.py:293 #: transports/HTML5RDS_enterprise/html5rds.py:259 msgid "" "Customized path for Glyptodon Enterprise tunnel. (Only valid for Glyptodon " @@ -5716,13 +5743,13 @@ msgstr "" "Benutzerdefinierter Pfad für den Glyptodon Enterprise-Tunnel. (Nur gültig " "für Glyptodon Enterprise Tunnel)" -#: transports/HTML5RDP/html5rdp.py:298 +#: transports/HTML5RDP/html5rdp.py:308 #: transports/HTML5RDS_enterprise/html5rds.py:273 #: transports/HTML5VNC/html5vnc.py:137 msgid "The server must be http or https" msgstr "Der Server muss http oder https sein" -#: transports/HTML5RDP/html5rdp.py:303 +#: transports/HTML5RDP/html5rdp.py:313 #: transports/HTML5RDS_enterprise/html5rds.py:278 msgid "" "Empty credentials (on Credentials tab) is only allowed with Security level " @@ -5776,7 +5803,7 @@ msgstr "VNC-Server-Port" msgid "Port of the VNC server." msgstr "Port des VNC-Servers." -#: transports/HTML5VNC/html5vnc.py:90 transports/RDP/rdp_base.py:196 +#: transports/HTML5VNC/html5vnc.py:90 transports/RDP/rdp_base.py:205 #: transports/RDS_enterprise/rds_base.py:136 msgid "Color depth" msgstr "Farbtiefe" @@ -5890,7 +5917,7 @@ msgstr "" "Wenn aktiviert, wird das Zertifikat des Tunnelservers überprüft (empfohlen)." #: transports/NoMachine_enterprise/nomachine_tunneltransport.py:114 -#: transports/RDP/rdptunnel.py:134 transports/RDS_enterprise/rdstunnel.py:126 +#: transports/RDP/rdptunnel.py:135 transports/RDS_enterprise/rdstunnel.py:126 #: transports/SPICE/spice_tunnel.py:106 transports/X2GO/x2go_tunnel.py:117 msgid "Must use HOST:PORT in Tunnel Server Field" msgstr "Muss HOST: PORT im Tunnelserverfeld verwenden" @@ -6013,27 +6040,27 @@ msgstr "" "Wenn diese Option aktiviert ist, wird der Provider-Support für " "Anmeldeinformationen aktiviert." -#: transports/RDP/rdp_base.py:172 +#: transports/RDP/rdp_base.py:181 msgid "Screen Size" msgstr "Bildschirmgröße" -#: transports/RDP/rdp_base.py:174 +#: transports/RDP/rdp_base.py:183 msgid "Screen size for this transport" msgstr "Bildschirmgröße für diesen Transport" -#: transports/RDP/rdp_base.py:198 transports/RDS_enterprise/rds_base.py:138 +#: transports/RDP/rdp_base.py:207 transports/RDS_enterprise/rds_base.py:138 msgid "Color depth for this connection" msgstr "Farbtiefe für diese Verbindung" -#: transports/RDP/rdp_base.py:210 +#: transports/RDP/rdp_base.py:219 msgid "Wallpaper/theme" msgstr "Wallpaper / Thema" -#: transports/RDP/rdp_base.py:218 +#: transports/RDP/rdp_base.py:227 msgid "Multiple monitors" msgstr "Mehrere Monitore" -#: transports/RDP/rdp_base.py:221 +#: transports/RDP/rdp_base.py:230 msgid "" "If checked, all client monitors will be used for displaying (only works on " "windows clients)" @@ -6041,66 +6068,66 @@ msgstr "" "Wenn diese Option aktiviert ist, werden alle Client-Monitore für die Anzeige " "verwendet (funktioniert nur auf Windows-Clients)." -#: transports/RDP/rdp_base.py:234 +#: transports/RDP/rdp_base.py:244 msgid "If checked, fonts smoothing will be allowed" msgstr "" "Wenn diese Option aktiviert ist, wird das Glätten von Schriftarten zugelassen" -#: transports/RDP/rdp_base.py:238 +#: transports/RDP/rdp_base.py:248 msgid "Connection Bar" msgstr "Verbindungsleiste" -#: transports/RDP/rdp_base.py:240 +#: transports/RDP/rdp_base.py:250 msgid "If checked, connection bar will be shown (only on Windows clients)" msgstr "" "Wenn aktiviert, wird die Verbindungsleiste angezeigt (nur bei Windows-" "Clients)" -#: transports/RDP/rdp_base.py:246 transports/RDS_enterprise/rds_base.py:174 +#: transports/RDP/rdp_base.py:256 transports/RDS_enterprise/rds_base.py:179 msgid "Multimedia sync" msgstr "Multimedia-Synchronisierung" -#: transports/RDP/rdp_base.py:249 transports/RDS_enterprise/rds_base.py:177 +#: transports/RDP/rdp_base.py:259 transports/RDS_enterprise/rds_base.py:182 msgid "If checked. Linux client will use multimedia parameter for xfreerdp" msgstr "Wenn geprüft Linux-Client verwendet Multimedia-Parameter für xfreerdp" -#: transports/RDP/rdp_base.py:254 transports/RDS_enterprise/rds_base.py:182 +#: transports/RDP/rdp_base.py:264 transports/RDS_enterprise/rds_base.py:187 msgid "Use Alsa" msgstr "Verwenden Sie Alsa" -#: transports/RDP/rdp_base.py:257 transports/RDS_enterprise/rds_base.py:185 +#: transports/RDP/rdp_base.py:267 transports/RDS_enterprise/rds_base.py:190 msgid "" "If checked, Linux client will try to use ALSA, otherwise Pulse will be used" msgstr "" "Wenn diese Option aktiviert ist, versucht der Linux-Client, ALSA zu " "verwenden. Andernfalls wird Pulse verwendet" -#: transports/RDP/rdp_base.py:262 transports/RDS_enterprise/rds_base.py:190 +#: transports/RDP/rdp_base.py:272 transports/RDS_enterprise/rds_base.py:195 msgid "Printer string" msgstr "Druckerzeichenfolge" -#: transports/RDP/rdp_base.py:265 transports/RDS_enterprise/rds_base.py:193 +#: transports/RDP/rdp_base.py:275 transports/RDS_enterprise/rds_base.py:198 msgid "If printer is checked, the printer string used with xfreerdp client" msgstr "" "Wenn der Drucker markiert ist, wird die mit dem xfreerdp-Client verwendete " "Druckerzeichenfolge verwendet" -#: transports/RDP/rdp_base.py:271 transports/RDS_enterprise/rds_base.py:199 +#: transports/RDP/rdp_base.py:281 transports/RDS_enterprise/rds_base.py:204 msgid "Smartcard string" msgstr "Smartcard-Zeichenfolge" -#: transports/RDP/rdp_base.py:274 transports/RDS_enterprise/rds_base.py:202 +#: transports/RDP/rdp_base.py:284 transports/RDS_enterprise/rds_base.py:207 msgid "If smartcard is checked, the smartcard string used with xfreerdp client" msgstr "" "Wenn die Smartcard markiert ist, die mit dem xfreerdp-Client verwendete " "Smartcard-Zeichenfolge" -#: transports/RDP/rdp_base.py:280 transports/RDP/rdp_base.py:300 -#: transports/RDS_enterprise/rds_base.py:208 +#: transports/RDP/rdp_base.py:290 transports/RDP/rdp_base.py:310 +#: transports/RDS_enterprise/rds_base.py:213 msgid "Custom parameters" msgstr "Benutzerdefinierte Parameter" -#: transports/RDP/rdp_base.py:283 transports/RDS_enterprise/rds_base.py:211 +#: transports/RDP/rdp_base.py:293 transports/RDS_enterprise/rds_base.py:216 msgid "" "If not empty, extra parameter to include for Linux Client (for example /usb:" "id,dev:054c:0268, or aything compatible with your xfreerdp client)" @@ -6108,11 +6135,11 @@ msgstr "" "Falls nicht leer, zusätzliche Parameter für Linux-Client (zum Beispiel /usb:" "id,dev:054c:0268 oder alles, was mit Ihrem xfreerdp-Client kompatibel ist)" -#: transports/RDP/rdp_base.py:290 +#: transports/RDP/rdp_base.py:300 msgid "Allow Microsoft Rdp Client" msgstr "Microsoft Rdp-Client zulassen" -#: transports/RDP/rdp_base.py:293 +#: transports/RDP/rdp_base.py:303 msgid "" "If checked, allows use of Microsoft Remote Desktop Client. PASSWORD WILL BE " "PROMPTED!" @@ -6120,7 +6147,7 @@ msgstr "" "Wenn diese Option aktiviert ist, können Sie den Microsoft Remote Desktop " "Client verwenden. PASSWORT WIRD ABGEGEBEN!" -#: transports/RDP/rdp_base.py:303 +#: transports/RDP/rdp_base.py:313 msgid "" "If not empty, extra parameter to include for Mac OS X Freerdp Client (for " "example /usb:id,dev:054c:0268, or aything compatible with your xfreerdp " @@ -6144,20 +6171,34 @@ msgid "RDS access using RDP for vApps. Direct connection." msgstr "RDS-Zugriff über RDP für vApps. Direkte Verbindung." #: transports/RDS_enterprise/rds_base.py:157 +#| msgid "Window Size" +msgid "Window state" +msgstr "Fensterstatus" + +#: transports/RDS_enterprise/rds_base.py:159 +msgid "UDS Will try to execute the applicaiton with the window in this state" +msgstr "" +"UDS wird versuchen, die Anwendung mit dem Fenster in diesem Zustand " +"auszuführen" + +#: transports/RDS_enterprise/rds_base.py:162 +msgid "Normal" +msgstr "Normal" + +#: transports/RDS_enterprise/rds_base.py:163 msgid "Maximized" msgstr "Maximiert" -#: transports/RDS_enterprise/rds_base.py:160 -msgid "If checked, UDS Actor will try to execute application maximized)" -msgstr "" -"Wenn diese Option aktiviert ist, versucht UDS Actor, die Anwendung maximiert " -"auszuführen.)" +#: transports/RDS_enterprise/rds_base.py:164 +#| msgid "Maximized" +msgid "Minimized" +msgstr "Minimiert" -#: transports/RDS_enterprise/rds_base.py:165 +#: transports/RDS_enterprise/rds_base.py:170 msgid "Execute as shell" msgstr "Als Shell ausführen" -#: transports/RDS_enterprise/rds_base.py:169 +#: transports/RDS_enterprise/rds_base.py:174 msgid "" "If checked, Linux client will execute application in a session instead of a " "remoteapp" @@ -6364,7 +6405,7 @@ msgstr "Zu viele Authentifizierungsfehler. Benutzer vorübergehend gesperrt" msgid "Invalid data" msgstr "Ungültige Daten" -#: web/util/configjs.py:146 +#: web/util/configjs.py:145 msgid "Access limited by calendar" msgstr "Zugriff durch Kalender begrenzt" @@ -6506,6 +6547,6 @@ msgstr "" "Ihr Service wird erstellt. Bitte warten Sie einige Sekunden, bis wir ihn " "abgeschlossen haben.)" -#: web/views/auth.py:151 +#: web/views/auth.py:154 msgid "Authenticator does not provide information" msgstr "Der Authentifikator liefert keine Informationen" diff --git a/server/src/uds/locale/de/LC_MESSAGES/djangojs.po b/server/src/uds/locale/de/LC_MESSAGES/djangojs.po index 314ea9e79..5401168ad 100644 --- a/server/src/uds/locale/de/LC_MESSAGES/djangojs.po +++ b/server/src/uds/locale/de/LC_MESSAGES/djangojs.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: OpenUDS\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-08 14:18+0200\n" +"POT-Creation-Date: 2021-07-29 13:12+0200\n" "PO-Revision-Date: 2021-07-08 10:59+0000\n" "Last-Translator: Adolfo Gómez \n" "Language-Team: German (http://www.transifex.com/openuds/openuds/language/" @@ -150,23 +150,23 @@ msgstr "Poolgruppe" msgid "Go to" msgstr "Gehe zu" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:271 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:272 msgid "yes" msgstr "Ja" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:272 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:273 msgid "no" msgstr "Nein" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:268 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:269 msgid "Error saving: " msgstr "Fehler beim Speichern:" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:269 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:270 msgid "Error saving element" msgstr "Fehler beim Speichern des Elements" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:270 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:271 msgid "Error handling your request" msgstr "Fehler bei der Bearbeitung Ihrer Anfrage" @@ -275,8 +275,8 @@ msgstr "#RESTRAINED_NUMBER# Zurückhaltende Services!" #: static/admin/main.js:1 static/admin/translations-fakejs.js:105 #: static/admin/translations-fakejs.js:249 -#: static/admin/translations-fakejs.js:398 -#: static/admin/translations-fakejs.js:450 +#: static/admin/translations-fakejs.js:402 +#: static/admin/translations-fakejs.js:454 msgid "Assigned services" msgstr "Zugewiesene Dienste" @@ -285,8 +285,8 @@ msgid "Services in use" msgstr "Dienste im Einsatz" #: static/admin/main.js:1 static/admin/translations-fakejs.js:21 -#: static/admin/translations-fakejs.js:291 -#: static/admin/translations-fakejs.js:299 +#: static/admin/translations-fakejs.js:292 +#: static/admin/translations-fakejs.js:300 #: static/modern/translations-fakejs.js:30 msgid "Filter" msgstr "Filter" @@ -304,25 +304,25 @@ msgid "Full Access" msgstr "Voller Zugriff" #: static/admin/main.js:1 static/admin/translations-fakejs.js:15 -#: static/admin/translations-fakejs.js:358 -#: static/admin/translations-fakejs.js:405 -#: static/admin/translations-fakejs.js:410 +#: static/admin/translations-fakejs.js:362 +#: static/admin/translations-fakejs.js:409 +#: static/admin/translations-fakejs.js:414 msgid "User" msgstr "Nutzer" #: static/admin/main.js:1 static/admin/translations-fakejs.js:16 #: static/admin/translations-fakejs.js:83 #: static/admin/translations-fakejs.js:93 -#: static/admin/translations-fakejs.js:423 -#: static/admin/translations-fakejs.js:444 +#: static/admin/translations-fakejs.js:427 +#: static/admin/translations-fakejs.js:448 msgid "Group" msgstr "Gruppe" #: static/admin/main.js:1 static/admin/translations-fakejs.js:17 -#: static/admin/translations-fakejs.js:404 -#: static/admin/translations-fakejs.js:409 -#: static/admin/translations-fakejs.js:422 -#: static/admin/translations-fakejs.js:443 +#: static/admin/translations-fakejs.js:408 +#: static/admin/translations-fakejs.js:413 +#: static/admin/translations-fakejs.js:426 +#: static/admin/translations-fakejs.js:447 #: static/modern/translations-fakejs.js:73 msgid "Authenticator" msgstr "Authenticator" @@ -394,8 +394,8 @@ msgstr "Pool" #: static/admin/main.js:1 static/admin/translations-fakejs.js:77 #: static/admin/translations-fakejs.js:96 #: static/admin/translations-fakejs.js:230 -#: static/admin/translations-fakejs.js:339 -#: static/admin/translations-fakejs.js:351 +#: static/admin/translations-fakejs.js:343 +#: static/admin/translations-fakejs.js:355 msgid "State" msgstr "Zustand" @@ -407,21 +407,21 @@ msgstr "Benutzerdienste" #: static/admin/main.js:1 static/admin/translations-fakejs.js:88 #: static/admin/translations-fakejs.js:232 -#: static/admin/translations-fakejs.js:319 -#: static/admin/translations-fakejs.js:397 +#: static/admin/translations-fakejs.js:321 +#: static/admin/translations-fakejs.js:401 msgid "Service pools" msgstr "Service-Pools" #: static/admin/main.js:1 static/admin/translations-fakejs.js:3 #: static/admin/translations-fakejs.js:7 -#: static/admin/translations-fakejs.js:306 +#: static/admin/translations-fakejs.js:308 #: static/modern/translations-fakejs.js:44 msgid "Yes" msgstr "Ja" #: static/admin/main.js:1 static/admin/translations-fakejs.js:4 #: static/admin/translations-fakejs.js:8 -#: static/admin/translations-fakejs.js:307 +#: static/admin/translations-fakejs.js:309 #: static/modern/translations-fakejs.js:45 msgid "No" msgstr "Nein" @@ -478,10 +478,10 @@ msgstr "Alles" #: static/admin/main.js:1 static/admin/translations-fakejs.js:84 #: static/admin/translations-fakejs.js:94 -#: static/admin/translations-fakejs.js:338 -#: static/admin/translations-fakejs.js:350 -#: static/admin/translations-fakejs.js:375 -#: static/admin/translations-fakejs.js:431 +#: static/admin/translations-fakejs.js:342 +#: static/admin/translations-fakejs.js:354 +#: static/admin/translations-fakejs.js:379 +#: static/admin/translations-fakejs.js:435 msgid "Comments" msgstr "Bemerkungen" @@ -507,25 +507,25 @@ msgstr "Dienstleistungen Pool" #: static/admin/main.js:1 static/admin/translations-fakejs.js:90 #: static/admin/translations-fakejs.js:103 -#: static/admin/translations-fakejs.js:286 -#: static/admin/translations-fakejs.js:321 -#: static/admin/translations-fakejs.js:333 -#: static/admin/translations-fakejs.js:359 +#: static/admin/translations-fakejs.js:287 +#: static/admin/translations-fakejs.js:323 +#: static/admin/translations-fakejs.js:337 #: static/admin/translations-fakejs.js:363 -#: static/admin/translations-fakejs.js:369 -#: static/admin/translations-fakejs.js:399 -#: static/admin/translations-fakejs.js:452 +#: static/admin/translations-fakejs.js:367 +#: static/admin/translations-fakejs.js:373 +#: static/admin/translations-fakejs.js:403 +#: static/admin/translations-fakejs.js:456 msgid "Groups" msgstr "Gruppen" #: static/admin/main.js:1 static/admin/translations-fakejs.js:104 -#: static/admin/translations-fakejs.js:331 -#: static/admin/translations-fakejs.js:364 +#: static/admin/translations-fakejs.js:335 +#: static/admin/translations-fakejs.js:368 msgid "Services Pools" msgstr "Dienstleistungen Pools" #: static/admin/main.js:1 static/admin/translations-fakejs.js:79 -#: static/admin/translations-fakejs.js:374 +#: static/admin/translations-fakejs.js:378 msgid "Name" msgstr "Name" @@ -542,26 +542,26 @@ msgid "Last access" msgstr "Letzter Zugriff" #: static/admin/main.js:1 static/admin/translations-fakejs.js:89 -#: static/admin/translations-fakejs.js:285 -#: static/admin/translations-fakejs.js:332 -#: static/admin/translations-fakejs.js:368 +#: static/admin/translations-fakejs.js:286 +#: static/admin/translations-fakejs.js:336 +#: static/admin/translations-fakejs.js:372 msgid "Users" msgstr "Benutzer" #: static/admin/main.js:1 static/admin/translations-fakejs.js:85 -#: static/admin/translations-fakejs.js:340 -#: static/admin/translations-fakejs.js:352 +#: static/admin/translations-fakejs.js:344 +#: static/admin/translations-fakejs.js:356 msgid "Enabled" msgstr "Aktiviert" #: static/admin/main.js:1 static/admin/translations-fakejs.js:86 -#: static/admin/translations-fakejs.js:341 -#: static/admin/translations-fakejs.js:353 +#: static/admin/translations-fakejs.js:345 +#: static/admin/translations-fakejs.js:357 msgid "Disabled" msgstr "Deaktiviert" #: static/admin/main.js:1 static/admin/translations-fakejs.js:87 -#: static/admin/translations-fakejs.js:354 +#: static/admin/translations-fakejs.js:358 msgid "Blocked" msgstr "Blockiert" @@ -673,12 +673,12 @@ msgid "In use" msgstr "In Benutzung" #: static/admin/main.js:1 static/admin/translations-fakejs.js:202 -#: static/admin/translations-fakejs.js:289 -#: static/admin/translations-fakejs.js:370 -#: static/admin/translations-fakejs.js:401 -#: static/admin/translations-fakejs.js:458 -#: static/admin/translations-fakejs.js:461 -#: static/admin/translations-fakejs.js:466 +#: static/admin/translations-fakejs.js:290 +#: static/admin/translations-fakejs.js:374 +#: static/admin/translations-fakejs.js:405 +#: static/admin/translations-fakejs.js:462 +#: static/admin/translations-fakejs.js:465 +#: static/admin/translations-fakejs.js:470 msgid "Logs" msgstr "Protokolle" @@ -699,20 +699,20 @@ msgid "Assign service" msgstr "Service zuweisen" #: static/admin/main.js:1 static/admin/translations-fakejs.js:207 -#: static/admin/translations-fakejs.js:276 -#: static/admin/translations-fakejs.js:282 -#: static/admin/translations-fakejs.js:345 -#: static/admin/translations-fakejs.js:360 -#: static/admin/translations-fakejs.js:386 -#: static/admin/translations-fakejs.js:394 -#: static/admin/translations-fakejs.js:406 -#: static/admin/translations-fakejs.js:411 -#: static/admin/translations-fakejs.js:419 -#: static/admin/translations-fakejs.js:424 +#: static/admin/translations-fakejs.js:277 +#: static/admin/translations-fakejs.js:283 +#: static/admin/translations-fakejs.js:349 +#: static/admin/translations-fakejs.js:364 +#: static/admin/translations-fakejs.js:390 +#: static/admin/translations-fakejs.js:398 +#: static/admin/translations-fakejs.js:410 +#: static/admin/translations-fakejs.js:415 +#: static/admin/translations-fakejs.js:423 #: static/admin/translations-fakejs.js:428 #: static/admin/translations-fakejs.js:432 -#: static/admin/translations-fakejs.js:445 -#: static/admin/translations-fakejs.js:487 +#: static/admin/translations-fakejs.js:436 +#: static/admin/translations-fakejs.js:449 +#: static/admin/translations-fakejs.js:491 msgid "Cancel" msgstr "Stornieren" @@ -864,7 +864,7 @@ msgid "Yearly" msgstr "Jährlich" #: static/admin/main.js:1 static/admin/translations-fakejs.js:148 -#: static/admin/translations-fakejs.js:383 +#: static/admin/translations-fakejs.js:387 msgid "Weekdays" msgstr "Wochentage" @@ -1022,6 +1022,11 @@ msgstr "Konfiguration gespeichert" msgid "Delete actor token - USE WITH EXTREME CAUTION!!!" msgstr "Actor-Token löschen - MIT EXTREMER VORSICHT VERWENDEN !!!" +#: static/admin/main.js:1 static/admin/translations-fakejs.js:268 +#| msgid "Delete actor token - USE WITH EXTREME CAUTION!!!" +msgid "Delete tunnel token - USE WITH EXTREME CAUTION!!!" +msgstr "Tunnel-Token löschen - MIT EXTREM VORSICHT VERWENDEN!!!" + #: static/admin/main.js:1 static/admin/translations-fakejs.js:24 msgid "Cache flushed" msgstr "Cache geleert" @@ -1110,458 +1115,470 @@ msgstr "unhandledPromiseRejectionHandler" msgid "rejectionHandledHandler" msgstr "AblehnungHandledHandler" -#: static/admin/translations-fakejs.js:274 +#: static/admin/translations-fakejs.js:275 msgid "Remove all" msgstr "Alles entfernen" -#: static/admin/translations-fakejs.js:275 +#: static/admin/translations-fakejs.js:276 msgid "Add" msgstr "Hinzufügen" -#: static/admin/translations-fakejs.js:277 -#: static/admin/translations-fakejs.js:283 -#: static/admin/translations-fakejs.js:288 -#: static/admin/translations-fakejs.js:334 -#: static/admin/translations-fakejs.js:346 -#: static/admin/translations-fakejs.js:361 -#: static/admin/translations-fakejs.js:366 -#: static/admin/translations-fakejs.js:387 -#: static/admin/translations-fakejs.js:395 -#: static/admin/translations-fakejs.js:407 -#: static/admin/translations-fakejs.js:412 -#: static/admin/translations-fakejs.js:420 -#: static/admin/translations-fakejs.js:425 +#: static/admin/translations-fakejs.js:278 +#: static/admin/translations-fakejs.js:284 +#: static/admin/translations-fakejs.js:289 +#: static/admin/translations-fakejs.js:338 +#: static/admin/translations-fakejs.js:350 +#: static/admin/translations-fakejs.js:365 +#: static/admin/translations-fakejs.js:370 +#: static/admin/translations-fakejs.js:391 +#: static/admin/translations-fakejs.js:399 +#: static/admin/translations-fakejs.js:411 +#: static/admin/translations-fakejs.js:416 +#: static/admin/translations-fakejs.js:424 #: static/admin/translations-fakejs.js:429 #: static/admin/translations-fakejs.js:433 -#: static/admin/translations-fakejs.js:435 -#: static/admin/translations-fakejs.js:446 -#: static/admin/translations-fakejs.js:448 -#: static/admin/translations-fakejs.js:462 -#: static/admin/translations-fakejs.js:488 +#: static/admin/translations-fakejs.js:437 +#: static/admin/translations-fakejs.js:439 +#: static/admin/translations-fakejs.js:450 +#: static/admin/translations-fakejs.js:452 +#: static/admin/translations-fakejs.js:466 +#: static/admin/translations-fakejs.js:492 msgid "Ok" msgstr "OK" -#: static/admin/translations-fakejs.js:278 +#: static/admin/translations-fakejs.js:279 msgid "Discard & close" msgstr "Verwerfen und schließen" -#: static/admin/translations-fakejs.js:279 -#: static/admin/translations-fakejs.js:480 +#: static/admin/translations-fakejs.js:280 +#: static/admin/translations-fakejs.js:484 msgid "Save" msgstr "Speichern" -#: static/admin/translations-fakejs.js:280 +#: static/admin/translations-fakejs.js:281 msgid "New user permission for" msgstr "Neue Benutzerberechtigung für" -#: static/admin/translations-fakejs.js:281 +#: static/admin/translations-fakejs.js:282 msgid "New group permission for" msgstr "Neue Gruppenerlaubnis für" -#: static/admin/translations-fakejs.js:284 +#: static/admin/translations-fakejs.js:285 msgid "Permissions for" msgstr "Berechtigungen für" -#: static/admin/translations-fakejs.js:287 +#: static/admin/translations-fakejs.js:288 msgid "New permission..." msgstr "Neue Berechtigung ..." -#: static/admin/translations-fakejs.js:290 -#: static/admin/translations-fakejs.js:297 +#: static/admin/translations-fakejs.js:291 +#: static/admin/translations-fakejs.js:298 msgid "Export" msgstr "Export" -#: static/admin/translations-fakejs.js:292 #: static/admin/translations-fakejs.js:293 #: static/admin/translations-fakejs.js:294 +#: static/admin/translations-fakejs.js:295 msgid "New" msgstr "Neu" -#: static/admin/translations-fakejs.js:295 -#: static/admin/translations-fakejs.js:302 +#: static/admin/translations-fakejs.js:296 +#: static/admin/translations-fakejs.js:304 msgid "Edit" msgstr "Bearbeiten" -#: static/admin/translations-fakejs.js:296 -#: static/admin/translations-fakejs.js:303 +#: static/admin/translations-fakejs.js:297 +#: static/admin/translations-fakejs.js:305 msgid "Permissions" msgstr "Berechtigungen" -#: static/admin/translations-fakejs.js:298 -#: static/admin/translations-fakejs.js:304 +#: static/admin/translations-fakejs.js:299 +#: static/admin/translations-fakejs.js:306 msgid "Delete" msgstr "Löschen" -#: static/admin/translations-fakejs.js:300 +#: static/admin/translations-fakejs.js:301 msgid "Selected items" msgstr "Ausgewählte Artikel" -#: static/admin/translations-fakejs.js:301 +#: static/admin/translations-fakejs.js:302 +msgid "Copy" +msgstr "Kopieren" + +#: static/admin/translations-fakejs.js:303 msgid "Detail" msgstr "Detail" -#: static/admin/translations-fakejs.js:305 +#: static/admin/translations-fakejs.js:307 #: static/modern/translations-fakejs.js:43 msgid "Close" msgstr "Beenden" -#: static/admin/translations-fakejs.js:308 +#: static/admin/translations-fakejs.js:310 msgid "User mode" msgstr "Benutzermodus" -#: static/admin/translations-fakejs.js:309 +#: static/admin/translations-fakejs.js:311 #: static/modern/translations-fakejs.js:48 msgid "Logout" msgstr "Abmelden" -#: static/admin/translations-fakejs.js:310 -#: static/admin/translations-fakejs.js:367 -#: static/admin/translations-fakejs.js:385 -#: static/admin/translations-fakejs.js:396 -#: static/admin/translations-fakejs.js:449 -#: static/admin/translations-fakejs.js:463 +#: static/admin/translations-fakejs.js:312 +#: static/admin/translations-fakejs.js:371 +#: static/admin/translations-fakejs.js:389 +#: static/admin/translations-fakejs.js:400 +#: static/admin/translations-fakejs.js:453 +#: static/admin/translations-fakejs.js:467 msgid "Summary" msgstr "Zusammenfassung" -#: static/admin/translations-fakejs.js:311 -#: static/admin/translations-fakejs.js:464 +#: static/admin/translations-fakejs.js:313 +#: static/admin/translations-fakejs.js:468 msgid "Services" msgstr "Services" -#: static/admin/translations-fakejs.js:312 +#: static/admin/translations-fakejs.js:314 msgid "Authenticators" msgstr "Authentifikatoren" -#: static/admin/translations-fakejs.js:313 +#: static/admin/translations-fakejs.js:315 msgid "Os Managers" msgstr "OS-Manager" -#: static/admin/translations-fakejs.js:314 +#: static/admin/translations-fakejs.js:316 msgid "Connectivity" msgstr "Konnektivität" -#: static/admin/translations-fakejs.js:315 -#: static/admin/translations-fakejs.js:453 +#: static/admin/translations-fakejs.js:317 +#: static/admin/translations-fakejs.js:457 #: static/modern/translations-fakejs.js:39 msgid "Transports" msgstr "Transporte" -#: static/admin/translations-fakejs.js:316 +#: static/admin/translations-fakejs.js:318 #: static/modern/translations-fakejs.js:41 msgid "Networks" msgstr "Netzwerke" -#: static/admin/translations-fakejs.js:317 +#: static/admin/translations-fakejs.js:319 msgid "Proxies" msgstr "Proxies" -#: static/admin/translations-fakejs.js:318 +#: static/admin/translations-fakejs.js:320 msgid "Pools" msgstr "Pools" -#: static/admin/translations-fakejs.js:320 +#: static/admin/translations-fakejs.js:322 msgid "Meta pools" msgstr "Meta-Pools" -#: static/admin/translations-fakejs.js:322 +#: static/admin/translations-fakejs.js:324 msgid "Calendars" msgstr "Kalender" -#: static/admin/translations-fakejs.js:323 +#: static/admin/translations-fakejs.js:325 msgid "Accounts" msgstr "Konten" -#: static/admin/translations-fakejs.js:324 +#: static/admin/translations-fakejs.js:326 msgid "Tools" msgstr "Werkzeuge" -#: static/admin/translations-fakejs.js:325 +#: static/admin/translations-fakejs.js:327 msgid "Gallery" msgstr "Galerie" -#: static/admin/translations-fakejs.js:326 +#: static/admin/translations-fakejs.js:328 msgid "Reports" msgstr "Berichte" -#: static/admin/translations-fakejs.js:327 -msgid "Configuration" -msgstr "Konfiguration" - -#: static/admin/translations-fakejs.js:328 -msgid "Actor tokens" -msgstr "Actor-Token" - #: static/admin/translations-fakejs.js:329 +msgid "Tokens" +msgstr "Token" + +#: static/admin/translations-fakejs.js:330 +msgid "Actor" +msgstr "Darsteller" + +#: static/admin/translations-fakejs.js:331 +msgid "Tunnel" +msgstr "Tunnel" + +#: static/admin/translations-fakejs.js:332 msgid "Flush Cache" msgstr "Cache leeren" -#: static/admin/translations-fakejs.js:330 -#: static/admin/translations-fakejs.js:362 -#: static/admin/translations-fakejs.js:459 +#: static/admin/translations-fakejs.js:333 +msgid "Configuration" +msgstr "Konfiguration" + +#: static/admin/translations-fakejs.js:334 +#: static/admin/translations-fakejs.js:366 +#: static/admin/translations-fakejs.js:463 msgid "Information for" msgstr "Information für" -#: static/admin/translations-fakejs.js:335 +#: static/admin/translations-fakejs.js:339 msgid "Edit group" msgstr "Gruppe bearbeiten" -#: static/admin/translations-fakejs.js:336 +#: static/admin/translations-fakejs.js:340 msgid "New group" msgstr "Neue Gruppe" -#: static/admin/translations-fakejs.js:337 +#: static/admin/translations-fakejs.js:341 msgid "Meta group name" msgstr "Name der Metagruppe" -#: static/admin/translations-fakejs.js:342 +#: static/admin/translations-fakejs.js:346 msgid "Service Pools" msgstr "Service-Pools" -#: static/admin/translations-fakejs.js:343 +#: static/admin/translations-fakejs.js:347 msgid "Match mode" msgstr "Match-Modus" -#: static/admin/translations-fakejs.js:344 +#: static/admin/translations-fakejs.js:348 msgid "Selected Groups" msgstr "Ausgewählte Gruppen" -#: static/admin/translations-fakejs.js:347 +#: static/admin/translations-fakejs.js:351 msgid "Edit user" msgstr "Benutzer bearbeiten" -#: static/admin/translations-fakejs.js:348 +#: static/admin/translations-fakejs.js:352 msgid "New user" msgstr "Neuer Benutzer" -#: static/admin/translations-fakejs.js:349 +#: static/admin/translations-fakejs.js:353 msgid "Real name" msgstr "Echter Name" -#: static/admin/translations-fakejs.js:355 +#: static/admin/translations-fakejs.js:359 msgid "Role" msgstr "Rolle" -#: static/admin/translations-fakejs.js:356 +#: static/admin/translations-fakejs.js:360 msgid "Admin" msgstr "Administrator" -#: static/admin/translations-fakejs.js:357 +#: static/admin/translations-fakejs.js:361 msgid "Staff member" msgstr "Mitarbeiter" -#: static/admin/translations-fakejs.js:365 +#: static/admin/translations-fakejs.js:369 msgid "Assigned Services" msgstr "Zugewiesene Dienste" -#: static/admin/translations-fakejs.js:371 +#: static/admin/translations-fakejs.js:375 msgid "Account usage" msgstr "Kontonutzung" -#: static/admin/translations-fakejs.js:372 +#: static/admin/translations-fakejs.js:376 msgid "Edit rule" msgstr "Regel bearbeiten" -#: static/admin/translations-fakejs.js:373 +#: static/admin/translations-fakejs.js:377 msgid "New rule" msgstr "Neue Regel" -#: static/admin/translations-fakejs.js:376 +#: static/admin/translations-fakejs.js:380 msgid "Event" msgstr "Veranstaltung" -#: static/admin/translations-fakejs.js:377 +#: static/admin/translations-fakejs.js:381 msgid "Start time" msgstr "Startzeit" -#: static/admin/translations-fakejs.js:378 +#: static/admin/translations-fakejs.js:382 msgid "Duration" msgstr "Dauer" -#: static/admin/translations-fakejs.js:379 +#: static/admin/translations-fakejs.js:383 msgid "Duration units" msgstr "Dauer Einheiten" -#: static/admin/translations-fakejs.js:380 +#: static/admin/translations-fakejs.js:384 msgid "Start date" msgstr "Anfangsdatum" -#: static/admin/translations-fakejs.js:381 +#: static/admin/translations-fakejs.js:385 msgid "Repeat until date" msgstr "Wiederholen bis zum Datum" -#: static/admin/translations-fakejs.js:382 +#: static/admin/translations-fakejs.js:386 msgid "Frequency" msgstr "Häufigkeit" -#: static/admin/translations-fakejs.js:384 +#: static/admin/translations-fakejs.js:388 msgid "Repeat every" msgstr "Wiederhole jeden" -#: static/admin/translations-fakejs.js:388 +#: static/admin/translations-fakejs.js:392 msgid "Rules" msgstr "Regeln" -#: static/admin/translations-fakejs.js:389 +#: static/admin/translations-fakejs.js:393 msgid "New member pool" msgstr "Neuer Mitgliederpool" -#: static/admin/translations-fakejs.js:390 +#: static/admin/translations-fakejs.js:394 msgid "Edit member pool" msgstr "Mitgliederpool bearbeiten" -#: static/admin/translations-fakejs.js:391 -#: static/admin/translations-fakejs.js:416 +#: static/admin/translations-fakejs.js:395 +#: static/admin/translations-fakejs.js:420 msgid "Priority" msgstr "Priorität" -#: static/admin/translations-fakejs.js:392 +#: static/admin/translations-fakejs.js:396 msgid "Service pool" msgstr "Service-Pool" -#: static/admin/translations-fakejs.js:393 +#: static/admin/translations-fakejs.js:397 msgid "Enabled?" msgstr "Aktiviert?" -#: static/admin/translations-fakejs.js:400 -#: static/admin/translations-fakejs.js:456 +#: static/admin/translations-fakejs.js:404 +#: static/admin/translations-fakejs.js:460 msgid "Access calendars" msgstr "Zugriff auf Kalender" -#: static/admin/translations-fakejs.js:402 +#: static/admin/translations-fakejs.js:406 msgid "Assign service to user manually" msgstr "Ordnen Sie den Dienst manuell dem Benutzer zu" -#: static/admin/translations-fakejs.js:403 +#: static/admin/translations-fakejs.js:407 msgid "Service" msgstr "Bedienung" -#: static/admin/translations-fakejs.js:408 +#: static/admin/translations-fakejs.js:412 msgid "Change owner of assigned service" msgstr "Besitzer des zugewiesenen Dienstes ändern" -#: static/admin/translations-fakejs.js:413 +#: static/admin/translations-fakejs.js:417 msgid "New access rule for" msgstr "Neue Zugriffsregel für" -#: static/admin/translations-fakejs.js:414 +#: static/admin/translations-fakejs.js:418 msgid "Edit access rule for" msgstr "Zugriffsregel für bearbeiten" -#: static/admin/translations-fakejs.js:415 +#: static/admin/translations-fakejs.js:419 msgid "Default fallback access for" msgstr "Standard-Fallback-Zugriff für" -#: static/admin/translations-fakejs.js:417 -#: static/admin/translations-fakejs.js:438 +#: static/admin/translations-fakejs.js:421 +#: static/admin/translations-fakejs.js:442 msgid "Calendar" msgstr "Kalender" -#: static/admin/translations-fakejs.js:418 -#: static/admin/translations-fakejs.js:441 +#: static/admin/translations-fakejs.js:422 +#: static/admin/translations-fakejs.js:445 msgid "Action" msgstr "Aktion" -#: static/admin/translations-fakejs.js:421 +#: static/admin/translations-fakejs.js:425 msgid "New group for" msgstr "Neue Gruppe für" -#: static/admin/translations-fakejs.js:426 +#: static/admin/translations-fakejs.js:430 msgid "New transport for" msgstr "Neuer Transport für" -#: static/admin/translations-fakejs.js:427 -#: static/admin/translations-fakejs.js:442 +#: static/admin/translations-fakejs.js:431 +#: static/admin/translations-fakejs.js:446 msgid "Transport" msgstr "Transport" -#: static/admin/translations-fakejs.js:430 +#: static/admin/translations-fakejs.js:434 msgid "New publication for" msgstr "Neue Veröffentlichung für" -#: static/admin/translations-fakejs.js:434 +#: static/admin/translations-fakejs.js:438 msgid "Changelog of" msgstr "Änderungsprotokoll von" -#: static/admin/translations-fakejs.js:436 +#: static/admin/translations-fakejs.js:440 msgid "Edit action for" msgstr "Aktion bearbeiten für" -#: static/admin/translations-fakejs.js:437 +#: static/admin/translations-fakejs.js:441 msgid "New action for" msgstr "Neue Aktion für" -#: static/admin/translations-fakejs.js:439 +#: static/admin/translations-fakejs.js:443 msgid "Events offset (minutes)" msgstr "Versatz der Ereignisse (Minuten)" -#: static/admin/translations-fakejs.js:440 +#: static/admin/translations-fakejs.js:444 msgid "At the beginning of the interval?" msgstr "Am Anfang des Intervalls?" -#: static/admin/translations-fakejs.js:447 +#: static/admin/translations-fakejs.js:451 msgid "Logs of" msgstr "Protokolle von" -#: static/admin/translations-fakejs.js:451 +#: static/admin/translations-fakejs.js:455 msgid "Cache" msgstr "Zwischenspeicher" -#: static/admin/translations-fakejs.js:454 +#: static/admin/translations-fakejs.js:458 msgid "Publications" msgstr "Veröffentlichungen" -#: static/admin/translations-fakejs.js:455 +#: static/admin/translations-fakejs.js:459 msgid "Scheduled actions" msgstr "Geplante Aktionen" -#: static/admin/translations-fakejs.js:457 +#: static/admin/translations-fakejs.js:461 msgid "Charts" msgstr "Diagramme" -#: static/admin/translations-fakejs.js:460 +#: static/admin/translations-fakejs.js:464 msgid "Services pools" msgstr "Dienstleistungen Pools" -#: static/admin/translations-fakejs.js:465 +#: static/admin/translations-fakejs.js:469 msgid "Usage" msgstr "Verwendungszweck" -#: static/admin/translations-fakejs.js:467 +#: static/admin/translations-fakejs.js:471 #: static/modern/translations-fakejs.js:46 msgid "Dashboard" msgstr "Übersicht" -#: static/admin/translations-fakejs.js:468 +#: static/admin/translations-fakejs.js:472 msgid "View authenticators" msgstr "Authentifikatoren anzeigen" -#: static/admin/translations-fakejs.js:469 -#: static/admin/translations-fakejs.js:470 -#: static/admin/translations-fakejs.js:471 +#: static/admin/translations-fakejs.js:473 +#: static/admin/translations-fakejs.js:474 +#: static/admin/translations-fakejs.js:475 msgid "View service pools" msgstr "Service-Pools anzeigen" -#: static/admin/translations-fakejs.js:472 +#: static/admin/translations-fakejs.js:476 msgid "Assigned services chart" msgstr "Tabelle der zugewiesenen Dienste" -#: static/admin/translations-fakejs.js:473 +#: static/admin/translations-fakejs.js:477 msgid "In use services chart" msgstr "Tabelle der im Einsatz befindlichen Dienste" -#: static/admin/translations-fakejs.js:474 +#: static/admin/translations-fakejs.js:478 msgid "UDS Administration" msgstr "UDS-Administration" -#: static/admin/translations-fakejs.js:475 +#: static/admin/translations-fakejs.js:479 msgid "You are accessing UDS Administration as staff member." msgstr "Sie greifen als Mitarbeiter auf die UDS-Administration zu." -#: static/admin/translations-fakejs.js:476 +#: static/admin/translations-fakejs.js:480 msgid "This means that you have restricted access to elements." msgstr "Das bedeutet, dass Sie Zugriff auf Elemente haben." -#: static/admin/translations-fakejs.js:477 +#: static/admin/translations-fakejs.js:481 msgid "" "In order to increase your access privileges, please contact your local UDS " "administrator." @@ -1569,35 +1586,35 @@ msgstr "" "Wenden Sie sich an Ihren lokalen UDS-Administrator, um Ihre Zugriffsrechte " "zu erhöhen." -#: static/admin/translations-fakejs.js:478 +#: static/admin/translations-fakejs.js:482 msgid "Thank you." msgstr "Vielen Dank." -#: static/admin/translations-fakejs.js:479 +#: static/admin/translations-fakejs.js:483 msgid "UDS Configuration" msgstr "UDS-Konfiguration" -#: static/admin/translations-fakejs.js:481 +#: static/admin/translations-fakejs.js:485 msgid "New image for" msgstr "Neues Bild für" -#: static/admin/translations-fakejs.js:482 +#: static/admin/translations-fakejs.js:486 msgid "Edit for" msgstr "Bearbeiten für" -#: static/admin/translations-fakejs.js:483 +#: static/admin/translations-fakejs.js:487 msgid "Image name" msgstr "Bildname" -#: static/admin/translations-fakejs.js:484 +#: static/admin/translations-fakejs.js:488 msgid "Image (click to change)" msgstr "Bild (zum Ändern klicken)" -#: static/admin/translations-fakejs.js:485 +#: static/admin/translations-fakejs.js:489 msgid "For optimal results, use " msgstr "Für optimale Ergebnisse nutzen Sie" -#: static/admin/translations-fakejs.js:486 +#: static/admin/translations-fakejs.js:490 msgid "The image will be resized on upload to" msgstr "Die Größe des Bildes wird beim Hochladen angepasst" diff --git a/server/src/uds/locale/en/LC_MESSAGES/django.po b/server/src/uds/locale/en/LC_MESSAGES/django.po index e191b3a65..438e2fca8 100644 --- a/server/src/uds/locale/en/LC_MESSAGES/django.po +++ b/server/src/uds/locale/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-08 14:18+0200\n" +"POT-Creation-Date: 2021-07-29 13:12+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -27,7 +27,7 @@ msgstr "" #: REST/methods/osmanagers.py:55 REST/methods/providers.py:71 #: REST/methods/proxies.py:59 REST/methods/reports.py:57 #: REST/methods/services_pool_groups.py:63 REST/methods/services_pools.py:133 -#: REST/methods/transports.py:58 REST/methods/user_services.py:321 +#: REST/methods/transports.py:66 REST/methods/user_services.py:321 #: REST/methods/user_services.py:396 REST/methods/users_groups.py:122 #: REST/model.py:149 msgid "Name" @@ -38,7 +38,7 @@ msgstr "" #: REST/methods/meta_pools.py:71 REST/methods/osmanagers.py:57 #: REST/methods/providers.py:73 REST/methods/proxies.py:62 #: REST/methods/services.py:241 REST/methods/services_pool_groups.py:64 -#: REST/methods/transports.py:60 REST/methods/user_services.py:398 +#: REST/methods/transports.py:68 REST/methods/user_services.py:398 #: REST/methods/users_groups.py:123 REST/methods/users_groups.py:291 #: REST/model.py:173 msgid "Comments" @@ -53,7 +53,7 @@ msgstr "" #: REST/methods/networks.py:63 REST/methods/osmanagers.py:59 #: REST/methods/providers.py:79 REST/methods/proxies.py:63 #: REST/methods/services.py:250 REST/methods/services_pools.py:142 -#: REST/methods/transports.py:63 +#: REST/methods/transports.py:77 msgid "tags" msgstr "" @@ -65,7 +65,7 @@ msgstr "" msgid "User name" msgstr "" -#: REST/methods/accountsusage.py:94 core/util/state.py:78 +#: REST/methods/accountsusage.py:94 core/util/state.py:79 #: core/util/states/common.py:71 msgid "Running" msgstr "" @@ -112,11 +112,11 @@ msgstr "" msgid "User service not found" msgstr "" -#: REST/methods/actor_token.py:51 REST/methods/tunnel_token.py:51 +#: REST/methods/actor_token.py:51 msgid "Actor tokens" msgstr "" -#: REST/methods/actor_token.py:54 REST/methods/tunnel_token.py:54 +#: REST/methods/actor_token.py:54 REST/methods/tunnel_token.py:51 #: reports/auto/fields.py:56 reports/stats/pools_performance.py:217 #: reports/stats/pools_performance.py:236 reports/stats/pools_usage_day.py:64 #: reports/stats/usage_by_pool.py:169 reports/stats/user_access.py:190 @@ -124,11 +124,11 @@ msgstr "" msgid "Date" msgstr "" -#: REST/methods/actor_token.py:55 REST/methods/tunnel_token.py:55 +#: REST/methods/actor_token.py:55 REST/methods/tunnel_token.py:52 msgid "Issued by" msgstr "" -#: REST/methods/actor_token.py:56 REST/methods/tunnel_token.py:56 +#: REST/methods/actor_token.py:56 REST/methods/tunnel_token.py:53 #: reports/stats/usage_by_pool.py:173 #: templates/uds/reports/stats/usage-by-pool.html:18 msgid "Origin" @@ -154,7 +154,7 @@ msgstr "" msgid "Log level" msgstr "" -#: REST/methods/actor_token.py:67 REST/methods/tunnel_token.py:63 +#: REST/methods/actor_token.py:67 REST/methods/tunnel_token.py:60 msgid "Token isued by {} from {}" msgstr "" @@ -168,13 +168,13 @@ msgstr "" #: REST/methods/authenticators.py:67 REST/methods/osmanagers.py:56 #: REST/methods/providers.py:72 REST/methods/services.py:242 -#: REST/methods/transports.py:59 REST/methods/user_services.py:397 +#: REST/methods/transports.py:67 REST/methods/user_services.py:397 msgid "Type" msgstr "" #: REST/methods/authenticators.py:69 REST/methods/meta_service_pools.py:88 #: REST/methods/op_calendars.py:80 REST/methods/services_pool_groups.py:61 -#: REST/methods/transports.py:57 REST/methods/user_services.py:395 +#: REST/methods/transports.py:65 REST/methods/user_services.py:395 #: REST/model.py:185 models/meta_pool.py:73 msgid "Priority" msgstr "" @@ -186,7 +186,7 @@ msgid "Visible" msgstr "" #: REST/methods/authenticators.py:71 REST/methods/meta_pools.py:77 -#: REST/methods/transports.py:115 REST/model.py:201 +#: REST/methods/transports.py:164 REST/model.py:201 msgid "Label" msgstr "" @@ -382,7 +382,7 @@ msgid "Pool" msgstr "" #: REST/methods/meta_service_pools.py:197 REST/methods/services_usage.py:122 -#: REST/methods/tunnel_token.py:57 REST/methods/user_services.py:139 +#: REST/methods/tunnel_token.py:54 REST/methods/user_services.py:139 #: REST/methods/user_services.py:270 auths/IP/authenticator.py:68 msgid "IP" msgstr "" @@ -430,7 +430,7 @@ msgstr "" msgid "Item is not removable" msgstr "" -#: REST/methods/networks.py:58 REST/methods/transports.py:88 +#: REST/methods/networks.py:58 REST/methods/transports.py:114 msgid "Networks" msgstr "" @@ -554,7 +554,7 @@ msgstr "" #: services/OpenGnsys/provider.py:97 services/OpenNebula/provider.py:77 #: services/OpenStack/provider_legacy.py:106 services/Proxmox/provider.py:66 #: services/VCloud_enterprise/provider.py:32 -#: services/Vmware_enterprise/provider.py:41 services/Xen/provider.py:100 +#: services/Vmware_enterprise/provider.py:45 services/Xen/provider.py:100 msgid "Host" msgstr "" @@ -573,7 +573,7 @@ msgstr "" #: services/OpenStack/provider_legacy.py:110 services/Proxmox/provider.py:73 #: services/RDS_enterprise/provider.py:101 #: services/VCloud_enterprise/provider.py:33 -#: services/Vmware_enterprise/provider.py:42 +#: services/Vmware_enterprise/provider.py:52 msgid "Port" msgstr "" @@ -690,8 +690,8 @@ msgstr "" msgid "Services Pool Groups" msgstr "" -#: REST/methods/services_pools.py:131 REST/methods/transports.py:61 -#: REST/methods/transports.py:106 +#: REST/methods/services_pools.py:131 REST/methods/transports.py:71 +#: REST/methods/transports.py:152 msgid "Service Pools" msgstr "" @@ -832,49 +832,53 @@ msgstr "" msgid "Service" msgstr "" -#: REST/methods/transports.py:55 +#: REST/methods/transports.py:63 msgid "Transports" msgstr "" -#: REST/methods/transports.py:62 +#: REST/methods/transports.py:76 msgid "Devices" msgstr "" -#: REST/methods/transports.py:79 +#: REST/methods/transports.py:97 msgid "Network access" msgstr "" -#: REST/methods/transports.py:80 +#: REST/methods/transports.py:99 msgid "" "If checked, the transport will be enabled for the selected networks. If " "unchecked, transport will be disabled for selected networks" msgstr "" -#: REST/methods/transports.py:89 +#: REST/methods/transports.py:116 msgid "" "Networks associated with this transport. If No network selected, will mean " "\"all networks\"" msgstr "" -#: REST/methods/transports.py:97 +#: REST/methods/transports.py:134 msgid "Allowed Devices" msgstr "" -#: REST/methods/transports.py:98 +#: REST/methods/transports.py:136 msgid "" "If empty, any kind of device compatible with this transport will be allowed. " "Else, only devices compatible with selected values will be allowed" msgstr "" -#: REST/methods/transports.py:107 +#: REST/methods/transports.py:153 msgid "Currently assigned services pools" msgstr "" -#: REST/methods/transports.py:116 +#: REST/methods/transports.py:166 msgid "Metapool transport label (only used on metapool transports grouping)" msgstr "" -#: REST/methods/tunnel_token.py:53 +#: REST/methods/tunnel_token.py:48 +msgid "Tunnel tokens" +msgstr "" + +#: REST/methods/tunnel_token.py:50 msgid "Token" msgstr "" @@ -973,7 +977,7 @@ msgstr "" #: services/OpenStack/provider.py:127 services/OpenStack/provider_legacy.py:144 #: services/Proxmox/provider.py:82 services/RDS_enterprise/provider.py:118 #: services/VCloud_enterprise/provider.py:35 -#: services/Vmware_enterprise/provider.py:43 services/Xen/provider.py:107 +#: services/Vmware_enterprise/provider.py:60 services/Xen/provider.py:107 #: transports/HTML5RDP/html5rdp.py:103 transports/HTML5VNC/html5vnc.py:75 #: transports/NoMachine_enterprise/nomachine_base.py:63 #: transports/PCoIP_enterprise/pcoip.py:59 transports/RDP/rdp_base.py:75 @@ -1116,7 +1120,7 @@ msgstr "" #: services/OpenStack/provider.py:135 services/OpenStack/provider_legacy.py:152 #: services/Proxmox/provider.py:92 services/RDS_enterprise/provider.py:126 #: services/Sample/service.py:140 services/VCloud_enterprise/provider.py:36 -#: services/Vmware_enterprise/provider.py:44 services/Xen/provider.py:115 +#: services/Vmware_enterprise/provider.py:67 services/Xen/provider.py:115 #: transports/HTML5RDP/html5rdp.py:109 transports/HTML5VNC/html5vnc.py:76 #: transports/NoMachine_enterprise/nomachine_base.py:69 #: transports/PCoIP_enterprise/pcoip.py:60 transports/RDP/rdp_base.py:81 @@ -1141,7 +1145,7 @@ msgstr "" #: services/OpenGnsys/provider.py:164 services/OpenNebula/provider.py:86 #: services/OpenStack/provider.py:166 services/OpenStack/provider_legacy.py:183 #: services/Proxmox/provider.py:123 services/VCloud_enterprise/provider.py:63 -#: services/Vmware_enterprise/provider.py:50 +#: services/Vmware_enterprise/provider.py:99 msgid "Timeout" msgstr "" @@ -1582,142 +1586,142 @@ msgstr "" msgid "SAML (v2.0) Authenticator" msgstr "" -#: auths/SAML_enterprise/saml.py:127 +#: auths/SAML_enterprise/saml.py:129 msgid "Private key" msgstr "" -#: auths/SAML_enterprise/saml.py:128 +#: auths/SAML_enterprise/saml.py:132 msgid "" "Private key used for sign and encription, as generated in base 64 from " "openssl" msgstr "" -#: auths/SAML_enterprise/saml.py:129 auths/SAML_enterprise/saml.py:134 +#: auths/SAML_enterprise/saml.py:135 auths/SAML_enterprise/saml.py:146 msgid "Certificates" msgstr "" -#: auths/SAML_enterprise/saml.py:132 transports/SPICE/spice_base.py:82 +#: auths/SAML_enterprise/saml.py:140 transports/SPICE/spice_base.py:82 msgid "Certificate" msgstr "" -#: auths/SAML_enterprise/saml.py:133 +#: auths/SAML_enterprise/saml.py:143 msgid "" "Public key used for sign and encription (public part of previous private " "key), as generated in base 64 from openssl" msgstr "" -#: auths/SAML_enterprise/saml.py:137 +#: auths/SAML_enterprise/saml.py:151 msgid "IDP Metadata" msgstr "" -#: auths/SAML_enterprise/saml.py:138 +#: auths/SAML_enterprise/saml.py:154 msgid "" "You can enter here the URL or the IDP metadata or the metadata itself (xml)" msgstr "" -#: auths/SAML_enterprise/saml.py:139 auths/SAML_enterprise/saml.py:143 +#: auths/SAML_enterprise/saml.py:157 auths/SAML_enterprise/saml.py:166 msgid "Metadata" msgstr "" -#: auths/SAML_enterprise/saml.py:142 +#: auths/SAML_enterprise/saml.py:161 msgid "Entity ID" msgstr "" -#: auths/SAML_enterprise/saml.py:143 +#: auths/SAML_enterprise/saml.py:164 msgid "ID of the SP. If left blank, this will be autogenerated from server URL" msgstr "" -#: auths/SAML_enterprise/saml.py:147 +#: auths/SAML_enterprise/saml.py:172 msgid "User name attrs" msgstr "" -#: auths/SAML_enterprise/saml.py:148 +#: auths/SAML_enterprise/saml.py:174 msgid "Fields from where to extract user name" msgstr "" -#: auths/SAML_enterprise/saml.py:148 auths/SAML_enterprise/saml.py:153 -#: auths/SAML_enterprise/saml.py:158 +#: auths/SAML_enterprise/saml.py:176 auths/SAML_enterprise/saml.py:186 +#: auths/SAML_enterprise/saml.py:196 msgid "Attributes" msgstr "" -#: auths/SAML_enterprise/saml.py:152 +#: auths/SAML_enterprise/saml.py:182 msgid "Group name attrs" msgstr "" -#: auths/SAML_enterprise/saml.py:153 +#: auths/SAML_enterprise/saml.py:184 msgid "Fields from where to extract the groups" msgstr "" -#: auths/SAML_enterprise/saml.py:157 +#: auths/SAML_enterprise/saml.py:192 msgid "Real name attrs" msgstr "" -#: auths/SAML_enterprise/saml.py:158 +#: auths/SAML_enterprise/saml.py:194 msgid "Fields from where to extract the real name" msgstr "" -#: auths/SAML_enterprise/saml.py:176 +#: auths/SAML_enterprise/saml.py:216 msgid "SAML Authenticator does not support white spaces on field NAME" msgstr "" -#: auths/SAML_enterprise/saml.py:183 +#: auths/SAML_enterprise/saml.py:230 msgid "" "Server certificate should be a valid PEM (PEM certificates starts with -----" "BEGIN CERTIFICATE-----)" msgstr "" -#: auths/SAML_enterprise/saml.py:188 +#: auths/SAML_enterprise/saml.py:238 msgid "Invalid server certificate. " msgstr "" -#: auths/SAML_enterprise/saml.py:192 +#: auths/SAML_enterprise/saml.py:249 msgid "" "Private key should be a valid PEM (PEM private keys starts with -----BEGIN " "RSA PRIVATE KEY-----" msgstr "" -#: auths/SAML_enterprise/saml.py:197 +#: auths/SAML_enterprise/saml.py:257 msgid "Invalid private key. " msgstr "" -#: auths/SAML_enterprise/saml.py:214 +#: auths/SAML_enterprise/saml.py:276 #, python-brace-format msgid "Can't fetch url {0}: {1}" msgstr "" -#: auths/SAML_enterprise/saml.py:222 +#: auths/SAML_enterprise/saml.py:287 msgid " (obtained from URL)" msgstr "" -#: auths/SAML_enterprise/saml.py:223 +#: auths/SAML_enterprise/saml.py:289 msgid "XML does not seem valid for IDP Metadata " msgstr "" -#: auths/SAML_enterprise/saml.py:239 +#: auths/SAML_enterprise/saml.py:311 msgid "Can't access idp metadata" msgstr "" -#: auths/Sample/SampleAuth.py:76 +#: auths/Sample/SampleAuth.py:79 msgid "Sample Authenticator" msgstr "" -#: auths/Sample/SampleAuth.py:88 +#: auths/Sample/SampleAuth.py:91 msgid "Sample dummy authenticator" msgstr "" -#: auths/Sample/SampleAuth.py:106 +#: auths/Sample/SampleAuth.py:109 msgid "Fake User" msgstr "" -#: auths/Sample/SampleAuth.py:109 +#: auths/Sample/SampleAuth.py:112 msgid "Fake Group" msgstr "" -#: auths/Sample/SampleAuth.py:115 +#: auths/Sample/SampleAuth.py:118 msgid "Groups" msgstr "" -#: auths/Sample/SampleAuth.py:128 +#: auths/Sample/SampleAuth.py:132 msgid "We need more than two groups!" msgstr "" @@ -1894,7 +1898,7 @@ msgstr "" #: core/services/service.py:141 core/services/service.py:150 #: models/permissions.py:92 models/permissions.py:96 -#: services/Azure_enterprise/helpers.py:97 services/OpenStack/helpers.py:74 +#: services/Azure_enterprise/helpers.py:100 services/OpenStack/helpers.py:74 #: services/Proxmox/service.py:194 services/Sample/service.py:98 #: services/Sample/service.py:104 services/TestService_enterprise/service.py:28 msgid "None" @@ -1920,79 +1924,79 @@ msgstr "" msgid "Can't contact LDAP server" msgstr "" -#: core/util/state.py:65 core/util/states/common.py:59 +#: core/util/state.py:66 core/util/states/common.py:59 msgid "Active" msgstr "" -#: core/util/state.py:66 core/util/states/common.py:60 +#: core/util/state.py:67 core/util/states/common.py:60 msgid "Inactive" msgstr "" -#: core/util/state.py:67 core/util/states/common.py:61 +#: core/util/state.py:68 core/util/states/common.py:61 msgid "Blocked" msgstr "" -#: core/util/state.py:68 core/util/states/common.py:62 +#: core/util/state.py:69 core/util/states/common.py:62 msgid "Waiting publication" msgstr "" -#: core/util/state.py:69 core/util/states/common.py:63 +#: core/util/state.py:70 core/util/states/common.py:63 msgid "In preparation" msgstr "" -#: core/util/state.py:70 core/util/states/common.py:64 +#: core/util/state.py:71 core/util/states/common.py:64 msgid "Valid" msgstr "" -#: core/util/state.py:71 core/util/state.py:73 core/util/states/common.py:66 +#: core/util/state.py:72 core/util/state.py:74 core/util/states/common.py:66 msgid "Removing" msgstr "" -#: core/util/state.py:72 +#: core/util/state.py:73 msgid "Restrained" msgstr "" -#: core/util/state.py:74 core/util/states/common.py:67 +#: core/util/state.py:75 core/util/states/common.py:67 msgid "Removed" msgstr "" -#: core/util/state.py:75 core/util/states/common.py:68 +#: core/util/state.py:76 core/util/states/common.py:68 msgid "Canceled" msgstr "" -#: core/util/state.py:76 core/util/states/common.py:69 +#: core/util/state.py:77 core/util/states/common.py:69 msgid "Canceling" msgstr "" -#: core/util/state.py:77 core/util/states/common.py:70 +#: core/util/state.py:78 core/util/states/common.py:70 msgid "Error" msgstr "" -#: core/util/state.py:79 core/util/states/common.py:72 +#: core/util/state.py:80 core/util/states/common.py:72 msgid "Finished" msgstr "" -#: core/util/state.py:80 core/util/states/common.py:73 +#: core/util/state.py:81 core/util/states/common.py:73 msgid "Waiting execution" msgstr "" -#: core/util/state.py:81 core/util/states/common.py:74 +#: core/util/state.py:82 core/util/states/common.py:74 msgid "Balancing" msgstr "" -#: core/util/state.py:82 core/util/states/common.py:75 +#: core/util/state.py:83 core/util/states/common.py:75 msgid "In maintenance" msgstr "" -#: core/util/state.py:83 core/util/states/common.py:76 +#: core/util/state.py:84 core/util/states/common.py:76 msgid "Waiting OS" msgstr "" -#: core/util/state.py:84 +#: core/util/state.py:85 msgid "Too many preparing services" msgstr "" -#: core/util/state.py:85 +#: core/util/state.py:86 msgid "Meta member" msgstr "" @@ -2024,23 +2028,23 @@ msgstr "" msgid "Cached" msgstr "" -#: core/util/tools.py:144 +#: core/util/tools.py:152 msgid "{} days {:d}:{:02d}:{:02d}" msgstr "" -#: core/util/tools.py:161 +#: core/util/tools.py:171 msgid "The basename is not a valid for a hostname" msgstr "" -#: core/util/tools.py:164 +#: core/util/tools.py:176 msgid "The length of basename plus length must be greater than 0" msgstr "" -#: core/util/tools.py:167 +#: core/util/tools.py:181 msgid "The length of basename plus length must not be greater than 15" msgstr "" -#: core/util/tools.py:170 +#: core/util/tools.py:186 msgid "The machine name can't be only numbers" msgstr "" @@ -2048,30 +2052,30 @@ msgstr "" msgid "Numeric" msgstr "" -#: core/util/validators.py:64 +#: core/util/validators.py:66 #, python-brace-format msgid "{0} must be greater than or equal to {1}" msgstr "" -#: core/util/validators.py:67 +#: core/util/validators.py:74 #, python-brace-format msgid "{0} must be lower than or equal to {1}" msgstr "" -#: core/util/validators.py:72 +#: core/util/validators.py:81 #, python-brace-format msgid "{0} contains invalid characters" msgstr "" -#: core/util/validators.py:81 +#: core/util/validators.py:90 msgid "{} exceeds maximum host name length." msgstr "" -#: core/util/validators.py:92 +#: core/util/validators.py:103 msgid "{} is not a valid hostname" msgstr "" -#: core/util/validators.py:136 +#: core/util/validators.py:152 msgid "" "Invalid mac range. Mac range must be in format XX:XX:XX:XX:XX:XX-XX:XX:XX:XX:" "XX:XX" @@ -2974,8 +2978,8 @@ msgstr "" #: services/OpenGnsys/provider.py:141 services/OpenNebula/provider.py:83 #: services/OpenStack/provider.py:143 services/OpenStack/provider_legacy.py:160 #: services/Proxmox/provider.py:100 services/VCloud_enterprise/provider.py:60 -#: services/Vmware_enterprise/provider.py:47 -#: services/Vmware_enterprise/provider.py:99 services/Xen/provider.py:123 +#: services/Vmware_enterprise/provider.py:76 +#: services/Vmware_enterprise/provider.py:182 services/Xen/provider.py:123 msgid "Creation concurrency" msgstr "" @@ -2987,7 +2991,7 @@ msgstr "" #: services/OpenGnsys/provider.py:146 services/OpenNebula/provider.py:83 #: services/OpenStack/provider.py:148 services/OpenStack/provider_legacy.py:165 #: services/Proxmox/provider.py:105 services/VCloud_enterprise/provider.py:60 -#: services/Vmware_enterprise/provider.py:47 services/Xen/provider.py:128 +#: services/Vmware_enterprise/provider.py:81 services/Xen/provider.py:128 msgid "Maximum number of concurrently creating VMs" msgstr "" @@ -2999,8 +3003,8 @@ msgstr "" #: services/OpenGnsys/provider.py:152 services/OpenNebula/provider.py:84 #: services/OpenStack/provider.py:154 services/OpenStack/provider_legacy.py:171 #: services/Proxmox/provider.py:111 services/VCloud_enterprise/provider.py:61 -#: services/Vmware_enterprise/provider.py:48 -#: services/Vmware_enterprise/provider.py:100 services/Xen/provider.py:134 +#: services/Vmware_enterprise/provider.py:87 +#: services/Vmware_enterprise/provider.py:188 services/Xen/provider.py:134 msgid "Removal concurrency" msgstr "" @@ -3012,7 +3016,7 @@ msgstr "" #: services/OpenGnsys/provider.py:157 services/OpenNebula/provider.py:84 #: services/OpenStack/provider.py:159 services/OpenStack/provider_legacy.py:176 #: services/Proxmox/provider.py:116 services/VCloud_enterprise/provider.py:61 -#: services/Vmware_enterprise/provider.py:48 services/Xen/provider.py:139 +#: services/Vmware_enterprise/provider.py:92 services/Xen/provider.py:139 msgid "Maximum number of concurrently removing VMs" msgstr "" @@ -3217,7 +3221,7 @@ msgstr "" #: services/HyperV_enterprise/legacy/provider.py:95 #: services/HyperV_enterprise/provider.py:103 #: services/Nutanix_enterprise/provider.py:45 services/OVirt/provider.py:117 -#: services/Vmware_enterprise/provider.py:51 services/Xen/provider.py:146 +#: services/Vmware_enterprise/provider.py:109 services/Xen/provider.py:146 msgid "Macs range" msgstr "" @@ -3234,7 +3238,7 @@ msgstr "" #: services/HyperV_enterprise/legacy/provider.py:268 #: services/NutanixPrism_enterprise/provider.py:262 #: services/Nutanix_enterprise/provider.py:228 services/OVirt/provider.py:457 -#: services/Proxmox/provider.py:312 services/Vmware_enterprise/provider.py:168 +#: services/Proxmox/provider.py:312 services/Vmware_enterprise/provider.py:291 msgid "Connection failed. Check connection params" msgstr "" @@ -4024,53 +4028,63 @@ msgstr "" msgid "Provides connection to machines by IP" msgstr "" -#: services/PhysicalMachines/service_multi.py:63 +#: services/PhysicalMachines/service_multi.py:64 #: services/Vmware_enterprise/service_fixed.py:55 msgid "Service Token" msgstr "" -#: services/PhysicalMachines/service_multi.py:66 +#: services/PhysicalMachines/service_multi.py:67 #: services/Vmware_enterprise/service_fixed.py:57 msgid "" "Service token that will be used by actors to communicate with service. Leave " "empty for persistent assignation." msgstr "" -#: services/PhysicalMachines/service_multi.py:74 +#: services/PhysicalMachines/service_multi.py:75 #: services/RDS_enterprise/provider.py:49 msgid "List of servers" msgstr "" -#: services/PhysicalMachines/service_multi.py:75 +#: services/PhysicalMachines/service_multi.py:76 msgid "List of servers available for this service" msgstr "" -#: services/PhysicalMachines/service_multi.py:80 +#: services/PhysicalMachines/service_multi.py:81 msgid "Check Port" msgstr "" -#: services/PhysicalMachines/service_multi.py:84 +#: services/PhysicalMachines/service_multi.py:85 msgid "" "If non zero, only hosts responding to connection on that port will be served." msgstr "" -#: services/PhysicalMachines/service_multi.py:91 +#: services/PhysicalMachines/service_multi.py:92 msgid "Skip time" msgstr "" -#: services/PhysicalMachines/service_multi.py:94 +#: services/PhysicalMachines/service_multi.py:95 msgid "If a host fails to check, skip it for this time (in minutes)." msgstr "" -#: services/PhysicalMachines/service_multi.py:101 +#: services/PhysicalMachines/service_multi.py:103 +msgid "Max session per machine" +msgstr "" + +#: services/PhysicalMachines/service_multi.py:107 +msgid "" +"Maximum session duration before UDS thinks this machine got locked and " +"releases it (hours). 0 means \"never\"." +msgstr "" + +#: services/PhysicalMachines/service_multi.py:115 msgid "Static Multiple IP" msgstr "" -#: services/PhysicalMachines/service_multi.py:103 +#: services/PhysicalMachines/service_multi.py:117 msgid "This service provides access to POWERED-ON Machines by IP" msgstr "" -#: services/PhysicalMachines/service_multi.py:134 +#: services/PhysicalMachines/service_multi.py:150 msgid "Invalid value detected on servers list: \"{}\"" msgstr "" @@ -4399,13 +4413,13 @@ msgstr "" msgid "Wait spawned processes" msgstr "" -#: services/RDS_enterprise/service.py:99 +#: services/RDS_enterprise/service.py:100 msgid "" "If active, RDS Actor will wait until the application and all spawned " "processes finished before considering app logged out" msgstr "" -#: services/RDS_enterprise/service.py:109 +#: services/RDS_enterprise/service.py:112 msgid "A valid application path is required" msgstr "" @@ -4648,41 +4662,41 @@ msgstr "" msgid "Remote" msgstr "" -#: services/Vmware_enterprise/provider.py:41 +#: services/Vmware_enterprise/provider.py:47 msgid "VMWare VCenter Server IP or Hostname" msgstr "" -#: services/Vmware_enterprise/provider.py:42 +#: services/Vmware_enterprise/provider.py:55 msgid "VMWare VC Server Port (usually 443)" msgstr "" -#: services/Vmware_enterprise/provider.py:43 +#: services/Vmware_enterprise/provider.py:62 msgid "User with valid privileges on VC" msgstr "" -#: services/Vmware_enterprise/provider.py:44 +#: services/Vmware_enterprise/provider.py:69 msgid "Password of the user of the VC" msgstr "" -#: services/Vmware_enterprise/provider.py:50 +#: services/Vmware_enterprise/provider.py:102 msgid "Timeout in seconds of connection to VC" msgstr "" -#: services/Vmware_enterprise/provider.py:52 +#: services/Vmware_enterprise/provider.py:114 msgid "" "Range of valid macs for created machines. Must be inside " "00:50:56:00:00:00-00:50:56:3F:FF:FF" msgstr "" -#: services/Vmware_enterprise/provider.py:56 +#: services/Vmware_enterprise/provider.py:126 msgid "VMWare VCenter Platform Provider" msgstr "" -#: services/Vmware_enterprise/provider.py:58 +#: services/Vmware_enterprise/provider.py:128 msgid "Provides connection to Virtual Center Services" msgstr "" -#: services/Vmware_enterprise/provider.py:166 +#: services/Vmware_enterprise/provider.py:287 msgid "Connection params ok" msgstr "" @@ -5137,7 +5151,7 @@ msgstr "" #: transports/HTML5RDP/html5rdp.py:134 #: transports/HTML5RDS_enterprise/html5rds.py:123 -#: transports/RDP/rdp_base.py:213 +#: transports/RDP/rdp_base.py:222 msgid "" "If checked, the wallpaper and themes will be shown on machine (better user " "experience, more bandwidth)" @@ -5145,25 +5159,25 @@ msgstr "" #: transports/HTML5RDP/html5rdp.py:139 #: transports/HTML5RDS_enterprise/html5rds.py:128 -#: transports/RDP/rdp_base.py:226 +#: transports/RDP/rdp_base.py:235 msgid "Allow Desk.Comp." msgstr "" #: transports/HTML5RDP/html5rdp.py:141 #: transports/HTML5RDS_enterprise/html5rds.py:130 -#: transports/RDP/rdp_base.py:228 +#: transports/RDP/rdp_base.py:237 msgid "If checked, desktop composition will be allowed" msgstr "" #: transports/HTML5RDP/html5rdp.py:145 #: transports/HTML5RDS_enterprise/html5rds.py:134 -#: transports/RDP/rdp_base.py:232 transports/RDS_enterprise/rds_base.py:150 +#: transports/RDP/rdp_base.py:241 transports/RDS_enterprise/rds_base.py:150 msgid "Font Smoothing" msgstr "" #: transports/HTML5RDP/html5rdp.py:147 #: transports/HTML5RDS_enterprise/html5rds.py:136 -#: transports/RDS_enterprise/rds_base.py:152 +#: transports/RDS_enterprise/rds_base.py:153 msgid "If checked, fonts smoothing will be allowed (windows clients only)" msgstr "" @@ -5324,13 +5338,21 @@ msgstr "" msgid "TLS (Transport Security Layer encryption)" msgstr "" -#: transports/HTML5RDP/html5rdp.py:246 +#: transports/HTML5RDP/html5rdp.py:247 transports/RDP/rdp_base.py:172 +msgid "RDP Port" +msgstr "" + +#: transports/HTML5RDP/html5rdp.py:248 transports/RDP/rdp_base.py:173 +msgid "Use this port as RDP port. Defaults to 3389." +msgstr "" + +#: transports/HTML5RDP/html5rdp.py:256 #: transports/HTML5RDS_enterprise/html5rds.py:223 #: transports/HTML5VNC/html5vnc.py:109 msgid "Ticket Validity" msgstr "" -#: transports/HTML5RDP/html5rdp.py:250 +#: transports/HTML5RDP/html5rdp.py:260 #: transports/HTML5RDS_enterprise/html5rds.py:227 #: transports/HTML5VNC/html5vnc.py:112 msgid "" @@ -5338,55 +5360,55 @@ msgid "" "The default value of 60 is recommended." msgstr "" -#: transports/HTML5RDP/html5rdp.py:259 +#: transports/HTML5RDP/html5rdp.py:269 #: transports/HTML5RDS_enterprise/html5rds.py:236 #: transports/HTML5VNC/html5vnc.py:119 transports/URL/url_custom.py:82 msgid "Force new HTML Window" msgstr "" -#: transports/HTML5RDP/html5rdp.py:260 +#: transports/HTML5RDP/html5rdp.py:270 #: transports/HTML5RDS_enterprise/html5rds.py:237 #: transports/HTML5VNC/html5vnc.py:120 msgid "Select windows behavior for new connections on HTML5" msgstr "" -#: transports/HTML5RDP/html5rdp.py:265 +#: transports/HTML5RDP/html5rdp.py:275 #: transports/HTML5RDS_enterprise/html5rds.py:242 #: transports/HTML5VNC/html5vnc.py:123 msgid "Open every connection on the same window, but keeps UDS window." msgstr "" -#: transports/HTML5RDP/html5rdp.py:268 +#: transports/HTML5RDP/html5rdp.py:278 #: transports/HTML5RDS_enterprise/html5rds.py:245 #: transports/HTML5VNC/html5vnc.py:124 msgid "Force every connection to be opened on a new window." msgstr "" -#: transports/HTML5RDP/html5rdp.py:272 +#: transports/HTML5RDP/html5rdp.py:282 #: transports/HTML5RDS_enterprise/html5rds.py:249 #: transports/HTML5VNC/html5vnc.py:125 msgid "Override UDS window and replace it with the connection." msgstr "" -#: transports/HTML5RDP/html5rdp.py:280 +#: transports/HTML5RDP/html5rdp.py:290 #: transports/HTML5RDS_enterprise/html5rds.py:256 msgid "Glyptodon Enterprise context path" msgstr "" -#: transports/HTML5RDP/html5rdp.py:283 +#: transports/HTML5RDP/html5rdp.py:293 #: transports/HTML5RDS_enterprise/html5rds.py:259 msgid "" "Customized path for Glyptodon Enterprise tunnel. (Only valid for Glyptodon " "Enterprise Tunnel)" msgstr "" -#: transports/HTML5RDP/html5rdp.py:298 +#: transports/HTML5RDP/html5rdp.py:308 #: transports/HTML5RDS_enterprise/html5rds.py:273 #: transports/HTML5VNC/html5vnc.py:137 msgid "The server must be http or https" msgstr "" -#: transports/HTML5RDP/html5rdp.py:303 +#: transports/HTML5RDP/html5rdp.py:313 #: transports/HTML5RDS_enterprise/html5rds.py:278 msgid "" "Empty credentials (on Credentials tab) is only allowed with Security level " @@ -5435,7 +5457,7 @@ msgstr "" msgid "Port of the VNC server." msgstr "" -#: transports/HTML5VNC/html5vnc.py:90 transports/RDP/rdp_base.py:196 +#: transports/HTML5VNC/html5vnc.py:90 transports/RDP/rdp_base.py:205 #: transports/RDS_enterprise/rds_base.py:136 msgid "Color depth" msgstr "" @@ -5540,7 +5562,7 @@ msgid "" msgstr "" #: transports/NoMachine_enterprise/nomachine_tunneltransport.py:114 -#: transports/RDP/rdptunnel.py:134 transports/RDS_enterprise/rdstunnel.py:126 +#: transports/RDP/rdptunnel.py:135 transports/RDS_enterprise/rdstunnel.py:126 #: transports/SPICE/spice_tunnel.py:106 transports/X2GO/x2go_tunnel.py:117 msgid "Must use HOST:PORT in Tunnel Server Field" msgstr "" @@ -5646,99 +5668,99 @@ msgstr "" msgid "If checked, will enable Credentials Provider Support)" msgstr "" -#: transports/RDP/rdp_base.py:172 +#: transports/RDP/rdp_base.py:181 msgid "Screen Size" msgstr "" -#: transports/RDP/rdp_base.py:174 +#: transports/RDP/rdp_base.py:183 msgid "Screen size for this transport" msgstr "" -#: transports/RDP/rdp_base.py:198 transports/RDS_enterprise/rds_base.py:138 +#: transports/RDP/rdp_base.py:207 transports/RDS_enterprise/rds_base.py:138 msgid "Color depth for this connection" msgstr "" -#: transports/RDP/rdp_base.py:210 +#: transports/RDP/rdp_base.py:219 msgid "Wallpaper/theme" msgstr "" -#: transports/RDP/rdp_base.py:218 +#: transports/RDP/rdp_base.py:227 msgid "Multiple monitors" msgstr "" -#: transports/RDP/rdp_base.py:221 +#: transports/RDP/rdp_base.py:230 msgid "" "If checked, all client monitors will be used for displaying (only works on " "windows clients)" msgstr "" -#: transports/RDP/rdp_base.py:234 +#: transports/RDP/rdp_base.py:244 msgid "If checked, fonts smoothing will be allowed" msgstr "" -#: transports/RDP/rdp_base.py:238 +#: transports/RDP/rdp_base.py:248 msgid "Connection Bar" msgstr "" -#: transports/RDP/rdp_base.py:240 +#: transports/RDP/rdp_base.py:250 msgid "If checked, connection bar will be shown (only on Windows clients)" msgstr "" -#: transports/RDP/rdp_base.py:246 transports/RDS_enterprise/rds_base.py:174 +#: transports/RDP/rdp_base.py:256 transports/RDS_enterprise/rds_base.py:179 msgid "Multimedia sync" msgstr "" -#: transports/RDP/rdp_base.py:249 transports/RDS_enterprise/rds_base.py:177 +#: transports/RDP/rdp_base.py:259 transports/RDS_enterprise/rds_base.py:182 msgid "If checked. Linux client will use multimedia parameter for xfreerdp" msgstr "" -#: transports/RDP/rdp_base.py:254 transports/RDS_enterprise/rds_base.py:182 +#: transports/RDP/rdp_base.py:264 transports/RDS_enterprise/rds_base.py:187 msgid "Use Alsa" msgstr "" -#: transports/RDP/rdp_base.py:257 transports/RDS_enterprise/rds_base.py:185 +#: transports/RDP/rdp_base.py:267 transports/RDS_enterprise/rds_base.py:190 msgid "" "If checked, Linux client will try to use ALSA, otherwise Pulse will be used" msgstr "" -#: transports/RDP/rdp_base.py:262 transports/RDS_enterprise/rds_base.py:190 +#: transports/RDP/rdp_base.py:272 transports/RDS_enterprise/rds_base.py:195 msgid "Printer string" msgstr "" -#: transports/RDP/rdp_base.py:265 transports/RDS_enterprise/rds_base.py:193 +#: transports/RDP/rdp_base.py:275 transports/RDS_enterprise/rds_base.py:198 msgid "If printer is checked, the printer string used with xfreerdp client" msgstr "" -#: transports/RDP/rdp_base.py:271 transports/RDS_enterprise/rds_base.py:199 +#: transports/RDP/rdp_base.py:281 transports/RDS_enterprise/rds_base.py:204 msgid "Smartcard string" msgstr "" -#: transports/RDP/rdp_base.py:274 transports/RDS_enterprise/rds_base.py:202 +#: transports/RDP/rdp_base.py:284 transports/RDS_enterprise/rds_base.py:207 msgid "If smartcard is checked, the smartcard string used with xfreerdp client" msgstr "" -#: transports/RDP/rdp_base.py:280 transports/RDP/rdp_base.py:300 -#: transports/RDS_enterprise/rds_base.py:208 +#: transports/RDP/rdp_base.py:290 transports/RDP/rdp_base.py:310 +#: transports/RDS_enterprise/rds_base.py:213 msgid "Custom parameters" msgstr "" -#: transports/RDP/rdp_base.py:283 transports/RDS_enterprise/rds_base.py:211 +#: transports/RDP/rdp_base.py:293 transports/RDS_enterprise/rds_base.py:216 msgid "" "If not empty, extra parameter to include for Linux Client (for example /usb:" "id,dev:054c:0268, or aything compatible with your xfreerdp client)" msgstr "" -#: transports/RDP/rdp_base.py:290 +#: transports/RDP/rdp_base.py:300 msgid "Allow Microsoft Rdp Client" msgstr "" -#: transports/RDP/rdp_base.py:293 +#: transports/RDP/rdp_base.py:303 msgid "" "If checked, allows use of Microsoft Remote Desktop Client. PASSWORD WILL BE " "PROMPTED!" msgstr "" -#: transports/RDP/rdp_base.py:303 +#: transports/RDP/rdp_base.py:313 msgid "" "If not empty, extra parameter to include for Mac OS X Freerdp Client (for " "example /usb:id,dev:054c:0268, or aything compatible with your xfreerdp " @@ -5759,18 +5781,30 @@ msgid "RDS access using RDP for vApps. Direct connection." msgstr "" #: transports/RDS_enterprise/rds_base.py:157 +msgid "Window state" +msgstr "" + +#: transports/RDS_enterprise/rds_base.py:159 +msgid "UDS Will try to execute the applicaiton with the window in this state" +msgstr "" + +#: transports/RDS_enterprise/rds_base.py:162 +msgid "Normal" +msgstr "" + +#: transports/RDS_enterprise/rds_base.py:163 msgid "Maximized" msgstr "" -#: transports/RDS_enterprise/rds_base.py:160 -msgid "If checked, UDS Actor will try to execute application maximized)" +#: transports/RDS_enterprise/rds_base.py:164 +msgid "Minimized" msgstr "" -#: transports/RDS_enterprise/rds_base.py:165 +#: transports/RDS_enterprise/rds_base.py:170 msgid "Execute as shell" msgstr "" -#: transports/RDS_enterprise/rds_base.py:169 +#: transports/RDS_enterprise/rds_base.py:174 msgid "" "If checked, Linux client will execute application in a session instead of a " "remoteapp" @@ -5960,7 +5994,7 @@ msgstr "" msgid "Invalid data" msgstr "" -#: web/util/configjs.py:146 +#: web/util/configjs.py:145 msgid "Access limited by calendar" msgstr "" @@ -6090,6 +6124,6 @@ msgid "" "complete it.)" msgstr "" -#: web/views/auth.py:151 +#: web/views/auth.py:154 msgid "Authenticator does not provide information" msgstr "" diff --git a/server/src/uds/locale/en/LC_MESSAGES/djangojs.po b/server/src/uds/locale/en/LC_MESSAGES/djangojs.po index 3b63c92cd..ed8ef360a 100644 --- a/server/src/uds/locale/en/LC_MESSAGES/djangojs.po +++ b/server/src/uds/locale/en/LC_MESSAGES/djangojs.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-08 14:18+0200\n" +"POT-Creation-Date: 2021-07-29 13:12+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -145,23 +145,23 @@ msgstr "" msgid "Go to" msgstr "" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:271 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:272 msgid "yes" msgstr "" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:272 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:273 msgid "no" msgstr "" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:268 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:269 msgid "Error saving: " msgstr "" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:269 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:270 msgid "Error saving element" msgstr "" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:270 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:271 msgid "Error handling your request" msgstr "" @@ -270,8 +270,8 @@ msgstr "" #: static/admin/main.js:1 static/admin/translations-fakejs.js:105 #: static/admin/translations-fakejs.js:249 -#: static/admin/translations-fakejs.js:398 -#: static/admin/translations-fakejs.js:450 +#: static/admin/translations-fakejs.js:402 +#: static/admin/translations-fakejs.js:454 msgid "Assigned services" msgstr "" @@ -280,8 +280,8 @@ msgid "Services in use" msgstr "" #: static/admin/main.js:1 static/admin/translations-fakejs.js:21 -#: static/admin/translations-fakejs.js:291 -#: static/admin/translations-fakejs.js:299 +#: static/admin/translations-fakejs.js:292 +#: static/admin/translations-fakejs.js:300 #: static/modern/translations-fakejs.js:30 msgid "Filter" msgstr "" @@ -299,25 +299,25 @@ msgid "Full Access" msgstr "" #: static/admin/main.js:1 static/admin/translations-fakejs.js:15 -#: static/admin/translations-fakejs.js:358 -#: static/admin/translations-fakejs.js:405 -#: static/admin/translations-fakejs.js:410 +#: static/admin/translations-fakejs.js:362 +#: static/admin/translations-fakejs.js:409 +#: static/admin/translations-fakejs.js:414 msgid "User" msgstr "" #: static/admin/main.js:1 static/admin/translations-fakejs.js:16 #: static/admin/translations-fakejs.js:83 #: static/admin/translations-fakejs.js:93 -#: static/admin/translations-fakejs.js:423 -#: static/admin/translations-fakejs.js:444 +#: static/admin/translations-fakejs.js:427 +#: static/admin/translations-fakejs.js:448 msgid "Group" msgstr "" #: static/admin/main.js:1 static/admin/translations-fakejs.js:17 -#: static/admin/translations-fakejs.js:404 -#: static/admin/translations-fakejs.js:409 -#: static/admin/translations-fakejs.js:422 -#: static/admin/translations-fakejs.js:443 +#: static/admin/translations-fakejs.js:408 +#: static/admin/translations-fakejs.js:413 +#: static/admin/translations-fakejs.js:426 +#: static/admin/translations-fakejs.js:447 #: static/modern/translations-fakejs.js:73 msgid "Authenticator" msgstr "" @@ -389,8 +389,8 @@ msgstr "" #: static/admin/main.js:1 static/admin/translations-fakejs.js:77 #: static/admin/translations-fakejs.js:96 #: static/admin/translations-fakejs.js:230 -#: static/admin/translations-fakejs.js:339 -#: static/admin/translations-fakejs.js:351 +#: static/admin/translations-fakejs.js:343 +#: static/admin/translations-fakejs.js:355 msgid "State" msgstr "" @@ -402,21 +402,21 @@ msgstr "" #: static/admin/main.js:1 static/admin/translations-fakejs.js:88 #: static/admin/translations-fakejs.js:232 -#: static/admin/translations-fakejs.js:319 -#: static/admin/translations-fakejs.js:397 +#: static/admin/translations-fakejs.js:321 +#: static/admin/translations-fakejs.js:401 msgid "Service pools" msgstr "" #: static/admin/main.js:1 static/admin/translations-fakejs.js:3 #: static/admin/translations-fakejs.js:7 -#: static/admin/translations-fakejs.js:306 +#: static/admin/translations-fakejs.js:308 #: static/modern/translations-fakejs.js:44 msgid "Yes" msgstr "" #: static/admin/main.js:1 static/admin/translations-fakejs.js:4 #: static/admin/translations-fakejs.js:8 -#: static/admin/translations-fakejs.js:307 +#: static/admin/translations-fakejs.js:309 #: static/modern/translations-fakejs.js:45 msgid "No" msgstr "" @@ -473,10 +473,10 @@ msgstr "" #: static/admin/main.js:1 static/admin/translations-fakejs.js:84 #: static/admin/translations-fakejs.js:94 -#: static/admin/translations-fakejs.js:338 -#: static/admin/translations-fakejs.js:350 -#: static/admin/translations-fakejs.js:375 -#: static/admin/translations-fakejs.js:431 +#: static/admin/translations-fakejs.js:342 +#: static/admin/translations-fakejs.js:354 +#: static/admin/translations-fakejs.js:379 +#: static/admin/translations-fakejs.js:435 msgid "Comments" msgstr "" @@ -502,25 +502,25 @@ msgstr "" #: static/admin/main.js:1 static/admin/translations-fakejs.js:90 #: static/admin/translations-fakejs.js:103 -#: static/admin/translations-fakejs.js:286 -#: static/admin/translations-fakejs.js:321 -#: static/admin/translations-fakejs.js:333 -#: static/admin/translations-fakejs.js:359 +#: static/admin/translations-fakejs.js:287 +#: static/admin/translations-fakejs.js:323 +#: static/admin/translations-fakejs.js:337 #: static/admin/translations-fakejs.js:363 -#: static/admin/translations-fakejs.js:369 -#: static/admin/translations-fakejs.js:399 -#: static/admin/translations-fakejs.js:452 +#: static/admin/translations-fakejs.js:367 +#: static/admin/translations-fakejs.js:373 +#: static/admin/translations-fakejs.js:403 +#: static/admin/translations-fakejs.js:456 msgid "Groups" msgstr "" #: static/admin/main.js:1 static/admin/translations-fakejs.js:104 -#: static/admin/translations-fakejs.js:331 -#: static/admin/translations-fakejs.js:364 +#: static/admin/translations-fakejs.js:335 +#: static/admin/translations-fakejs.js:368 msgid "Services Pools" msgstr "" #: static/admin/main.js:1 static/admin/translations-fakejs.js:79 -#: static/admin/translations-fakejs.js:374 +#: static/admin/translations-fakejs.js:378 msgid "Name" msgstr "" @@ -537,26 +537,26 @@ msgid "Last access" msgstr "" #: static/admin/main.js:1 static/admin/translations-fakejs.js:89 -#: static/admin/translations-fakejs.js:285 -#: static/admin/translations-fakejs.js:332 -#: static/admin/translations-fakejs.js:368 +#: static/admin/translations-fakejs.js:286 +#: static/admin/translations-fakejs.js:336 +#: static/admin/translations-fakejs.js:372 msgid "Users" msgstr "" #: static/admin/main.js:1 static/admin/translations-fakejs.js:85 -#: static/admin/translations-fakejs.js:340 -#: static/admin/translations-fakejs.js:352 +#: static/admin/translations-fakejs.js:344 +#: static/admin/translations-fakejs.js:356 msgid "Enabled" msgstr "" #: static/admin/main.js:1 static/admin/translations-fakejs.js:86 -#: static/admin/translations-fakejs.js:341 -#: static/admin/translations-fakejs.js:353 +#: static/admin/translations-fakejs.js:345 +#: static/admin/translations-fakejs.js:357 msgid "Disabled" msgstr "" #: static/admin/main.js:1 static/admin/translations-fakejs.js:87 -#: static/admin/translations-fakejs.js:354 +#: static/admin/translations-fakejs.js:358 msgid "Blocked" msgstr "" @@ -666,12 +666,12 @@ msgid "In use" msgstr "" #: static/admin/main.js:1 static/admin/translations-fakejs.js:202 -#: static/admin/translations-fakejs.js:289 -#: static/admin/translations-fakejs.js:370 -#: static/admin/translations-fakejs.js:401 -#: static/admin/translations-fakejs.js:458 -#: static/admin/translations-fakejs.js:461 -#: static/admin/translations-fakejs.js:466 +#: static/admin/translations-fakejs.js:290 +#: static/admin/translations-fakejs.js:374 +#: static/admin/translations-fakejs.js:405 +#: static/admin/translations-fakejs.js:462 +#: static/admin/translations-fakejs.js:465 +#: static/admin/translations-fakejs.js:470 msgid "Logs" msgstr "" @@ -692,20 +692,20 @@ msgid "Assign service" msgstr "" #: static/admin/main.js:1 static/admin/translations-fakejs.js:207 -#: static/admin/translations-fakejs.js:276 -#: static/admin/translations-fakejs.js:282 -#: static/admin/translations-fakejs.js:345 -#: static/admin/translations-fakejs.js:360 -#: static/admin/translations-fakejs.js:386 -#: static/admin/translations-fakejs.js:394 -#: static/admin/translations-fakejs.js:406 -#: static/admin/translations-fakejs.js:411 -#: static/admin/translations-fakejs.js:419 -#: static/admin/translations-fakejs.js:424 +#: static/admin/translations-fakejs.js:277 +#: static/admin/translations-fakejs.js:283 +#: static/admin/translations-fakejs.js:349 +#: static/admin/translations-fakejs.js:364 +#: static/admin/translations-fakejs.js:390 +#: static/admin/translations-fakejs.js:398 +#: static/admin/translations-fakejs.js:410 +#: static/admin/translations-fakejs.js:415 +#: static/admin/translations-fakejs.js:423 #: static/admin/translations-fakejs.js:428 #: static/admin/translations-fakejs.js:432 -#: static/admin/translations-fakejs.js:445 -#: static/admin/translations-fakejs.js:487 +#: static/admin/translations-fakejs.js:436 +#: static/admin/translations-fakejs.js:449 +#: static/admin/translations-fakejs.js:491 msgid "Cancel" msgstr "" @@ -857,7 +857,7 @@ msgid "Yearly" msgstr "" #: static/admin/main.js:1 static/admin/translations-fakejs.js:148 -#: static/admin/translations-fakejs.js:383 +#: static/admin/translations-fakejs.js:387 msgid "Weekdays" msgstr "" @@ -1014,6 +1014,10 @@ msgstr "" msgid "Delete actor token - USE WITH EXTREME CAUTION!!!" msgstr "" +#: static/admin/main.js:1 static/admin/translations-fakejs.js:268 +msgid "Delete tunnel token - USE WITH EXTREME CAUTION!!!" +msgstr "" + #: static/admin/main.js:1 static/admin/translations-fakejs.js:24 msgid "Cache flushed" msgstr "" @@ -1102,492 +1106,504 @@ msgstr "" msgid "rejectionHandledHandler" msgstr "" -#: static/admin/translations-fakejs.js:274 +#: static/admin/translations-fakejs.js:275 msgid "Remove all" msgstr "" -#: static/admin/translations-fakejs.js:275 +#: static/admin/translations-fakejs.js:276 msgid "Add" msgstr "" -#: static/admin/translations-fakejs.js:277 -#: static/admin/translations-fakejs.js:283 -#: static/admin/translations-fakejs.js:288 -#: static/admin/translations-fakejs.js:334 -#: static/admin/translations-fakejs.js:346 -#: static/admin/translations-fakejs.js:361 -#: static/admin/translations-fakejs.js:366 -#: static/admin/translations-fakejs.js:387 -#: static/admin/translations-fakejs.js:395 -#: static/admin/translations-fakejs.js:407 -#: static/admin/translations-fakejs.js:412 -#: static/admin/translations-fakejs.js:420 -#: static/admin/translations-fakejs.js:425 +#: static/admin/translations-fakejs.js:278 +#: static/admin/translations-fakejs.js:284 +#: static/admin/translations-fakejs.js:289 +#: static/admin/translations-fakejs.js:338 +#: static/admin/translations-fakejs.js:350 +#: static/admin/translations-fakejs.js:365 +#: static/admin/translations-fakejs.js:370 +#: static/admin/translations-fakejs.js:391 +#: static/admin/translations-fakejs.js:399 +#: static/admin/translations-fakejs.js:411 +#: static/admin/translations-fakejs.js:416 +#: static/admin/translations-fakejs.js:424 #: static/admin/translations-fakejs.js:429 #: static/admin/translations-fakejs.js:433 -#: static/admin/translations-fakejs.js:435 -#: static/admin/translations-fakejs.js:446 -#: static/admin/translations-fakejs.js:448 -#: static/admin/translations-fakejs.js:462 -#: static/admin/translations-fakejs.js:488 +#: static/admin/translations-fakejs.js:437 +#: static/admin/translations-fakejs.js:439 +#: static/admin/translations-fakejs.js:450 +#: static/admin/translations-fakejs.js:452 +#: static/admin/translations-fakejs.js:466 +#: static/admin/translations-fakejs.js:492 msgid "Ok" msgstr "" -#: static/admin/translations-fakejs.js:278 +#: static/admin/translations-fakejs.js:279 msgid "Discard & close" msgstr "" -#: static/admin/translations-fakejs.js:279 -#: static/admin/translations-fakejs.js:480 +#: static/admin/translations-fakejs.js:280 +#: static/admin/translations-fakejs.js:484 msgid "Save" msgstr "" -#: static/admin/translations-fakejs.js:280 +#: static/admin/translations-fakejs.js:281 msgid "New user permission for" msgstr "" -#: static/admin/translations-fakejs.js:281 +#: static/admin/translations-fakejs.js:282 msgid "New group permission for" msgstr "" -#: static/admin/translations-fakejs.js:284 +#: static/admin/translations-fakejs.js:285 msgid "Permissions for" msgstr "" -#: static/admin/translations-fakejs.js:287 +#: static/admin/translations-fakejs.js:288 msgid "New permission..." msgstr "" -#: static/admin/translations-fakejs.js:290 -#: static/admin/translations-fakejs.js:297 +#: static/admin/translations-fakejs.js:291 +#: static/admin/translations-fakejs.js:298 msgid "Export" msgstr "" -#: static/admin/translations-fakejs.js:292 #: static/admin/translations-fakejs.js:293 #: static/admin/translations-fakejs.js:294 +#: static/admin/translations-fakejs.js:295 msgid "New" msgstr "" -#: static/admin/translations-fakejs.js:295 -#: static/admin/translations-fakejs.js:302 +#: static/admin/translations-fakejs.js:296 +#: static/admin/translations-fakejs.js:304 msgid "Edit" msgstr "" -#: static/admin/translations-fakejs.js:296 -#: static/admin/translations-fakejs.js:303 +#: static/admin/translations-fakejs.js:297 +#: static/admin/translations-fakejs.js:305 msgid "Permissions" msgstr "" -#: static/admin/translations-fakejs.js:298 -#: static/admin/translations-fakejs.js:304 +#: static/admin/translations-fakejs.js:299 +#: static/admin/translations-fakejs.js:306 msgid "Delete" msgstr "" -#: static/admin/translations-fakejs.js:300 +#: static/admin/translations-fakejs.js:301 msgid "Selected items" msgstr "" -#: static/admin/translations-fakejs.js:301 +#: static/admin/translations-fakejs.js:302 +msgid "Copy" +msgstr "" + +#: static/admin/translations-fakejs.js:303 msgid "Detail" msgstr "" -#: static/admin/translations-fakejs.js:305 +#: static/admin/translations-fakejs.js:307 #: static/modern/translations-fakejs.js:43 msgid "Close" msgstr "" -#: static/admin/translations-fakejs.js:308 +#: static/admin/translations-fakejs.js:310 msgid "User mode" msgstr "" -#: static/admin/translations-fakejs.js:309 +#: static/admin/translations-fakejs.js:311 #: static/modern/translations-fakejs.js:48 msgid "Logout" msgstr "" -#: static/admin/translations-fakejs.js:310 -#: static/admin/translations-fakejs.js:367 -#: static/admin/translations-fakejs.js:385 -#: static/admin/translations-fakejs.js:396 -#: static/admin/translations-fakejs.js:449 -#: static/admin/translations-fakejs.js:463 +#: static/admin/translations-fakejs.js:312 +#: static/admin/translations-fakejs.js:371 +#: static/admin/translations-fakejs.js:389 +#: static/admin/translations-fakejs.js:400 +#: static/admin/translations-fakejs.js:453 +#: static/admin/translations-fakejs.js:467 msgid "Summary" msgstr "" -#: static/admin/translations-fakejs.js:311 -#: static/admin/translations-fakejs.js:464 +#: static/admin/translations-fakejs.js:313 +#: static/admin/translations-fakejs.js:468 msgid "Services" msgstr "" -#: static/admin/translations-fakejs.js:312 +#: static/admin/translations-fakejs.js:314 msgid "Authenticators" msgstr "" -#: static/admin/translations-fakejs.js:313 +#: static/admin/translations-fakejs.js:315 msgid "Os Managers" msgstr "" -#: static/admin/translations-fakejs.js:314 +#: static/admin/translations-fakejs.js:316 msgid "Connectivity" msgstr "" -#: static/admin/translations-fakejs.js:315 -#: static/admin/translations-fakejs.js:453 +#: static/admin/translations-fakejs.js:317 +#: static/admin/translations-fakejs.js:457 #: static/modern/translations-fakejs.js:39 msgid "Transports" msgstr "" -#: static/admin/translations-fakejs.js:316 +#: static/admin/translations-fakejs.js:318 #: static/modern/translations-fakejs.js:41 msgid "Networks" msgstr "" -#: static/admin/translations-fakejs.js:317 +#: static/admin/translations-fakejs.js:319 msgid "Proxies" msgstr "" -#: static/admin/translations-fakejs.js:318 +#: static/admin/translations-fakejs.js:320 msgid "Pools" msgstr "" -#: static/admin/translations-fakejs.js:320 +#: static/admin/translations-fakejs.js:322 msgid "Meta pools" msgstr "" -#: static/admin/translations-fakejs.js:322 +#: static/admin/translations-fakejs.js:324 msgid "Calendars" msgstr "" -#: static/admin/translations-fakejs.js:323 +#: static/admin/translations-fakejs.js:325 msgid "Accounts" msgstr "" -#: static/admin/translations-fakejs.js:324 +#: static/admin/translations-fakejs.js:326 msgid "Tools" msgstr "" -#: static/admin/translations-fakejs.js:325 +#: static/admin/translations-fakejs.js:327 msgid "Gallery" msgstr "" -#: static/admin/translations-fakejs.js:326 +#: static/admin/translations-fakejs.js:328 msgid "Reports" msgstr "" -#: static/admin/translations-fakejs.js:327 -msgid "Configuration" -msgstr "" - -#: static/admin/translations-fakejs.js:328 -msgid "Actor tokens" -msgstr "" - #: static/admin/translations-fakejs.js:329 -msgid "Flush Cache" +msgid "Tokens" msgstr "" #: static/admin/translations-fakejs.js:330 -#: static/admin/translations-fakejs.js:362 -#: static/admin/translations-fakejs.js:459 +msgid "Actor" +msgstr "" + +#: static/admin/translations-fakejs.js:331 +msgid "Tunnel" +msgstr "" + +#: static/admin/translations-fakejs.js:332 +msgid "Flush Cache" +msgstr "" + +#: static/admin/translations-fakejs.js:333 +msgid "Configuration" +msgstr "" + +#: static/admin/translations-fakejs.js:334 +#: static/admin/translations-fakejs.js:366 +#: static/admin/translations-fakejs.js:463 msgid "Information for" msgstr "" -#: static/admin/translations-fakejs.js:335 +#: static/admin/translations-fakejs.js:339 msgid "Edit group" msgstr "" -#: static/admin/translations-fakejs.js:336 +#: static/admin/translations-fakejs.js:340 msgid "New group" msgstr "" -#: static/admin/translations-fakejs.js:337 +#: static/admin/translations-fakejs.js:341 msgid "Meta group name" msgstr "" -#: static/admin/translations-fakejs.js:342 +#: static/admin/translations-fakejs.js:346 msgid "Service Pools" msgstr "" -#: static/admin/translations-fakejs.js:343 +#: static/admin/translations-fakejs.js:347 msgid "Match mode" msgstr "" -#: static/admin/translations-fakejs.js:344 +#: static/admin/translations-fakejs.js:348 msgid "Selected Groups" msgstr "" -#: static/admin/translations-fakejs.js:347 +#: static/admin/translations-fakejs.js:351 msgid "Edit user" msgstr "" -#: static/admin/translations-fakejs.js:348 +#: static/admin/translations-fakejs.js:352 msgid "New user" msgstr "" -#: static/admin/translations-fakejs.js:349 +#: static/admin/translations-fakejs.js:353 msgid "Real name" msgstr "" -#: static/admin/translations-fakejs.js:355 +#: static/admin/translations-fakejs.js:359 msgid "Role" msgstr "" -#: static/admin/translations-fakejs.js:356 +#: static/admin/translations-fakejs.js:360 msgid "Admin" msgstr "" -#: static/admin/translations-fakejs.js:357 +#: static/admin/translations-fakejs.js:361 msgid "Staff member" msgstr "" -#: static/admin/translations-fakejs.js:365 +#: static/admin/translations-fakejs.js:369 msgid "Assigned Services" msgstr "" -#: static/admin/translations-fakejs.js:371 +#: static/admin/translations-fakejs.js:375 msgid "Account usage" msgstr "" -#: static/admin/translations-fakejs.js:372 +#: static/admin/translations-fakejs.js:376 msgid "Edit rule" msgstr "" -#: static/admin/translations-fakejs.js:373 +#: static/admin/translations-fakejs.js:377 msgid "New rule" msgstr "" -#: static/admin/translations-fakejs.js:376 +#: static/admin/translations-fakejs.js:380 msgid "Event" msgstr "" -#: static/admin/translations-fakejs.js:377 +#: static/admin/translations-fakejs.js:381 msgid "Start time" msgstr "" -#: static/admin/translations-fakejs.js:378 +#: static/admin/translations-fakejs.js:382 msgid "Duration" msgstr "" -#: static/admin/translations-fakejs.js:379 +#: static/admin/translations-fakejs.js:383 msgid "Duration units" msgstr "" -#: static/admin/translations-fakejs.js:380 +#: static/admin/translations-fakejs.js:384 msgid "Start date" msgstr "" -#: static/admin/translations-fakejs.js:381 +#: static/admin/translations-fakejs.js:385 msgid "Repeat until date" msgstr "" -#: static/admin/translations-fakejs.js:382 +#: static/admin/translations-fakejs.js:386 msgid "Frequency" msgstr "" -#: static/admin/translations-fakejs.js:384 +#: static/admin/translations-fakejs.js:388 msgid "Repeat every" msgstr "" -#: static/admin/translations-fakejs.js:388 +#: static/admin/translations-fakejs.js:392 msgid "Rules" msgstr "" -#: static/admin/translations-fakejs.js:389 +#: static/admin/translations-fakejs.js:393 msgid "New member pool" msgstr "" -#: static/admin/translations-fakejs.js:390 +#: static/admin/translations-fakejs.js:394 msgid "Edit member pool" msgstr "" -#: static/admin/translations-fakejs.js:391 -#: static/admin/translations-fakejs.js:416 +#: static/admin/translations-fakejs.js:395 +#: static/admin/translations-fakejs.js:420 msgid "Priority" msgstr "" -#: static/admin/translations-fakejs.js:392 +#: static/admin/translations-fakejs.js:396 msgid "Service pool" msgstr "" -#: static/admin/translations-fakejs.js:393 +#: static/admin/translations-fakejs.js:397 msgid "Enabled?" msgstr "" -#: static/admin/translations-fakejs.js:400 -#: static/admin/translations-fakejs.js:456 +#: static/admin/translations-fakejs.js:404 +#: static/admin/translations-fakejs.js:460 msgid "Access calendars" msgstr "" -#: static/admin/translations-fakejs.js:402 +#: static/admin/translations-fakejs.js:406 msgid "Assign service to user manually" msgstr "" -#: static/admin/translations-fakejs.js:403 +#: static/admin/translations-fakejs.js:407 msgid "Service" msgstr "" -#: static/admin/translations-fakejs.js:408 +#: static/admin/translations-fakejs.js:412 msgid "Change owner of assigned service" msgstr "" -#: static/admin/translations-fakejs.js:413 +#: static/admin/translations-fakejs.js:417 msgid "New access rule for" msgstr "" -#: static/admin/translations-fakejs.js:414 +#: static/admin/translations-fakejs.js:418 msgid "Edit access rule for" msgstr "" -#: static/admin/translations-fakejs.js:415 +#: static/admin/translations-fakejs.js:419 msgid "Default fallback access for" msgstr "" -#: static/admin/translations-fakejs.js:417 -#: static/admin/translations-fakejs.js:438 +#: static/admin/translations-fakejs.js:421 +#: static/admin/translations-fakejs.js:442 msgid "Calendar" msgstr "" -#: static/admin/translations-fakejs.js:418 -#: static/admin/translations-fakejs.js:441 +#: static/admin/translations-fakejs.js:422 +#: static/admin/translations-fakejs.js:445 msgid "Action" msgstr "" -#: static/admin/translations-fakejs.js:421 +#: static/admin/translations-fakejs.js:425 msgid "New group for" msgstr "" -#: static/admin/translations-fakejs.js:426 +#: static/admin/translations-fakejs.js:430 msgid "New transport for" msgstr "" -#: static/admin/translations-fakejs.js:427 -#: static/admin/translations-fakejs.js:442 +#: static/admin/translations-fakejs.js:431 +#: static/admin/translations-fakejs.js:446 msgid "Transport" msgstr "" -#: static/admin/translations-fakejs.js:430 +#: static/admin/translations-fakejs.js:434 msgid "New publication for" msgstr "" -#: static/admin/translations-fakejs.js:434 +#: static/admin/translations-fakejs.js:438 msgid "Changelog of" msgstr "" -#: static/admin/translations-fakejs.js:436 +#: static/admin/translations-fakejs.js:440 msgid "Edit action for" msgstr "" -#: static/admin/translations-fakejs.js:437 +#: static/admin/translations-fakejs.js:441 msgid "New action for" msgstr "" -#: static/admin/translations-fakejs.js:439 +#: static/admin/translations-fakejs.js:443 msgid "Events offset (minutes)" msgstr "" -#: static/admin/translations-fakejs.js:440 +#: static/admin/translations-fakejs.js:444 msgid "At the beginning of the interval?" msgstr "" -#: static/admin/translations-fakejs.js:447 +#: static/admin/translations-fakejs.js:451 msgid "Logs of" msgstr "" -#: static/admin/translations-fakejs.js:451 +#: static/admin/translations-fakejs.js:455 msgid "Cache" msgstr "" -#: static/admin/translations-fakejs.js:454 +#: static/admin/translations-fakejs.js:458 msgid "Publications" msgstr "" -#: static/admin/translations-fakejs.js:455 +#: static/admin/translations-fakejs.js:459 msgid "Scheduled actions" msgstr "" -#: static/admin/translations-fakejs.js:457 +#: static/admin/translations-fakejs.js:461 msgid "Charts" msgstr "" -#: static/admin/translations-fakejs.js:460 +#: static/admin/translations-fakejs.js:464 msgid "Services pools" msgstr "" -#: static/admin/translations-fakejs.js:465 +#: static/admin/translations-fakejs.js:469 msgid "Usage" msgstr "" -#: static/admin/translations-fakejs.js:467 +#: static/admin/translations-fakejs.js:471 #: static/modern/translations-fakejs.js:46 msgid "Dashboard" msgstr "" -#: static/admin/translations-fakejs.js:468 +#: static/admin/translations-fakejs.js:472 msgid "View authenticators" msgstr "" -#: static/admin/translations-fakejs.js:469 -#: static/admin/translations-fakejs.js:470 -#: static/admin/translations-fakejs.js:471 +#: static/admin/translations-fakejs.js:473 +#: static/admin/translations-fakejs.js:474 +#: static/admin/translations-fakejs.js:475 msgid "View service pools" msgstr "" -#: static/admin/translations-fakejs.js:472 +#: static/admin/translations-fakejs.js:476 msgid "Assigned services chart" msgstr "" -#: static/admin/translations-fakejs.js:473 +#: static/admin/translations-fakejs.js:477 msgid "In use services chart" msgstr "" -#: static/admin/translations-fakejs.js:474 +#: static/admin/translations-fakejs.js:478 msgid "UDS Administration" msgstr "" -#: static/admin/translations-fakejs.js:475 +#: static/admin/translations-fakejs.js:479 msgid "You are accessing UDS Administration as staff member." msgstr "" -#: static/admin/translations-fakejs.js:476 +#: static/admin/translations-fakejs.js:480 msgid "This means that you have restricted access to elements." msgstr "" -#: static/admin/translations-fakejs.js:477 +#: static/admin/translations-fakejs.js:481 msgid "" "In order to increase your access privileges, please contact your local UDS " "administrator." msgstr "" -#: static/admin/translations-fakejs.js:478 +#: static/admin/translations-fakejs.js:482 msgid "Thank you." msgstr "" -#: static/admin/translations-fakejs.js:479 +#: static/admin/translations-fakejs.js:483 msgid "UDS Configuration" msgstr "" -#: static/admin/translations-fakejs.js:481 +#: static/admin/translations-fakejs.js:485 msgid "New image for" msgstr "" -#: static/admin/translations-fakejs.js:482 +#: static/admin/translations-fakejs.js:486 msgid "Edit for" msgstr "" -#: static/admin/translations-fakejs.js:483 +#: static/admin/translations-fakejs.js:487 msgid "Image name" msgstr "" -#: static/admin/translations-fakejs.js:484 +#: static/admin/translations-fakejs.js:488 msgid "Image (click to change)" msgstr "" -#: static/admin/translations-fakejs.js:485 +#: static/admin/translations-fakejs.js:489 msgid "For optimal results, use " msgstr "" -#: static/admin/translations-fakejs.js:486 +#: static/admin/translations-fakejs.js:490 msgid "The image will be resized on upload to" msgstr "" diff --git a/server/src/uds/locale/es/LC_MESSAGES/django.po b/server/src/uds/locale/es/LC_MESSAGES/django.po index 8ae6b1ee8..d8f23c578 100644 --- a/server/src/uds/locale/es/LC_MESSAGES/django.po +++ b/server/src/uds/locale/es/LC_MESSAGES/django.po @@ -7,6 +7,7 @@ # Adolfo Gómez , 2014-2015,2017-2020 # Adolfo Gómez , 2019 # albert clar , 2017,2020 +# Andrés Schumann , 2021 # blafuente , 2014 # blafuente , 2014-2016 # Javier , 2014 @@ -19,9 +20,9 @@ msgid "" msgstr "" "Project-Id-Version: OpenUDS\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-08 14:18+0200\n" -"PO-Revision-Date: 2021-07-08 10:59+0000\n" -"Last-Translator: Adolfo Gómez \n" +"POT-Creation-Date: 2021-07-29 13:12+0200\n" +"PO-Revision-Date: 2021-07-22 10:54+0000\n" +"Last-Translator: Andrés Schumann \n" "Language-Team: Spanish (http://www.transifex.com/openuds/openuds/language/" "es/)\n" "Language: es\n" @@ -40,7 +41,7 @@ msgstr "Cuentas" #: REST/methods/osmanagers.py:55 REST/methods/providers.py:71 #: REST/methods/proxies.py:59 REST/methods/reports.py:57 #: REST/methods/services_pool_groups.py:63 REST/methods/services_pools.py:133 -#: REST/methods/transports.py:58 REST/methods/user_services.py:321 +#: REST/methods/transports.py:66 REST/methods/user_services.py:321 #: REST/methods/user_services.py:396 REST/methods/users_groups.py:122 #: REST/model.py:149 msgid "Name" @@ -51,7 +52,7 @@ msgstr "Nombre" #: REST/methods/meta_pools.py:71 REST/methods/osmanagers.py:57 #: REST/methods/providers.py:73 REST/methods/proxies.py:62 #: REST/methods/services.py:241 REST/methods/services_pool_groups.py:64 -#: REST/methods/transports.py:60 REST/methods/user_services.py:398 +#: REST/methods/transports.py:68 REST/methods/user_services.py:398 #: REST/methods/users_groups.py:123 REST/methods/users_groups.py:291 #: REST/model.py:173 msgid "Comments" @@ -66,7 +67,7 @@ msgstr "Marca de tiempo" #: REST/methods/networks.py:63 REST/methods/osmanagers.py:59 #: REST/methods/providers.py:79 REST/methods/proxies.py:63 #: REST/methods/services.py:250 REST/methods/services_pools.py:142 -#: REST/methods/transports.py:63 +#: REST/methods/transports.py:77 msgid "tags" msgstr "Etiquetas" @@ -78,7 +79,7 @@ msgstr "Nombre del Pool" msgid "User name" msgstr "Nombre de usuario" -#: REST/methods/accountsusage.py:94 core/util/state.py:78 +#: REST/methods/accountsusage.py:94 core/util/state.py:79 #: core/util/states/common.py:71 msgid "Running" msgstr "En ejecución" @@ -125,11 +126,11 @@ msgstr "Host no administrado" msgid "User service not found" msgstr "Servicio de usuario no encontrado" -#: REST/methods/actor_token.py:51 REST/methods/tunnel_token.py:51 +#: REST/methods/actor_token.py:51 msgid "Actor tokens" msgstr "Tokens del Actor" -#: REST/methods/actor_token.py:54 REST/methods/tunnel_token.py:54 +#: REST/methods/actor_token.py:54 REST/methods/tunnel_token.py:51 #: reports/auto/fields.py:56 reports/stats/pools_performance.py:217 #: reports/stats/pools_performance.py:236 reports/stats/pools_usage_day.py:64 #: reports/stats/usage_by_pool.py:169 reports/stats/user_access.py:190 @@ -137,11 +138,11 @@ msgstr "Tokens del Actor" msgid "Date" msgstr "Fecha" -#: REST/methods/actor_token.py:55 REST/methods/tunnel_token.py:55 +#: REST/methods/actor_token.py:55 REST/methods/tunnel_token.py:52 msgid "Issued by" msgstr "Emitido por" -#: REST/methods/actor_token.py:56 REST/methods/tunnel_token.py:56 +#: REST/methods/actor_token.py:56 REST/methods/tunnel_token.py:53 #: reports/stats/usage_by_pool.py:173 #: templates/uds/reports/stats/usage-by-pool.html:18 msgid "Origin" @@ -167,7 +168,7 @@ msgstr "Ejecutar una vez" msgid "Log level" msgstr "Nivel de log" -#: REST/methods/actor_token.py:67 REST/methods/tunnel_token.py:63 +#: REST/methods/actor_token.py:67 REST/methods/tunnel_token.py:60 msgid "Token isued by {} from {}" msgstr "Token emitido por {} de {}" @@ -181,13 +182,13 @@ msgstr "Id" #: REST/methods/authenticators.py:67 REST/methods/osmanagers.py:56 #: REST/methods/providers.py:72 REST/methods/services.py:242 -#: REST/methods/transports.py:59 REST/methods/user_services.py:397 +#: REST/methods/transports.py:67 REST/methods/user_services.py:397 msgid "Type" msgstr "Tipo" #: REST/methods/authenticators.py:69 REST/methods/meta_service_pools.py:88 #: REST/methods/op_calendars.py:80 REST/methods/services_pool_groups.py:61 -#: REST/methods/transports.py:57 REST/methods/user_services.py:395 +#: REST/methods/transports.py:65 REST/methods/user_services.py:395 #: REST/model.py:185 models/meta_pool.py:73 msgid "Priority" msgstr "Prioridad" @@ -199,7 +200,7 @@ msgid "Visible" msgstr "Visible" #: REST/methods/authenticators.py:71 REST/methods/meta_pools.py:77 -#: REST/methods/transports.py:115 REST/model.py:201 +#: REST/methods/transports.py:164 REST/model.py:201 msgid "Label" msgstr "Etiqueta" @@ -398,7 +399,7 @@ msgid "Pool" msgstr "Pool" #: REST/methods/meta_service_pools.py:197 REST/methods/services_usage.py:122 -#: REST/methods/tunnel_token.py:57 REST/methods/user_services.py:139 +#: REST/methods/tunnel_token.py:54 REST/methods/user_services.py:139 #: REST/methods/user_services.py:270 auths/IP/authenticator.py:68 msgid "IP" msgstr "IP " @@ -446,7 +447,7 @@ msgstr "Elemento ya eliminado" msgid "Item is not removable" msgstr "El elemento no se puede eliminar" -#: REST/methods/networks.py:58 REST/methods/transports.py:88 +#: REST/methods/networks.py:58 REST/methods/transports.py:114 msgid "Networks" msgstr "Redes" @@ -572,7 +573,7 @@ msgstr "Verifique el certificado" #: services/OpenGnsys/provider.py:97 services/OpenNebula/provider.py:77 #: services/OpenStack/provider_legacy.py:106 services/Proxmox/provider.py:66 #: services/VCloud_enterprise/provider.py:32 -#: services/Vmware_enterprise/provider.py:41 services/Xen/provider.py:100 +#: services/Vmware_enterprise/provider.py:45 services/Xen/provider.py:100 msgid "Host" msgstr "Servidor" @@ -591,7 +592,7 @@ msgstr "Servidor (IP o FQDN) que servirá como proxy." #: services/OpenStack/provider_legacy.py:110 services/Proxmox/provider.py:73 #: services/RDS_enterprise/provider.py:101 #: services/VCloud_enterprise/provider.py:33 -#: services/Vmware_enterprise/provider.py:42 +#: services/Vmware_enterprise/provider.py:52 msgid "Port" msgstr "Puerto" @@ -712,8 +713,8 @@ msgstr "Ok" msgid "Services Pool Groups" msgstr "Grupos de Pools de servicios" -#: REST/methods/services_pools.py:131 REST/methods/transports.py:61 -#: REST/methods/transports.py:106 +#: REST/methods/services_pools.py:131 REST/methods/transports.py:71 +#: REST/methods/transports.py:152 msgid "Service Pools" msgstr "Pools de servicios" @@ -865,19 +866,19 @@ msgstr "Uso de servicios" msgid "Service" msgstr "Servicio" -#: REST/methods/transports.py:55 +#: REST/methods/transports.py:63 msgid "Transports" msgstr "Transportes" -#: REST/methods/transports.py:62 +#: REST/methods/transports.py:76 msgid "Devices" msgstr "Dispositivos" -#: REST/methods/transports.py:79 +#: REST/methods/transports.py:97 msgid "Network access" msgstr "Acceso de red" -#: REST/methods/transports.py:80 +#: REST/methods/transports.py:99 msgid "" "If checked, the transport will be enabled for the selected networks. If " "unchecked, transport will be disabled for selected networks" @@ -885,7 +886,7 @@ msgstr "" "Si está marcada, se habilitará el transporte para las redes seleccionadas. " "Si no, el transporte se desactivará para redes seleccionadas" -#: REST/methods/transports.py:89 +#: REST/methods/transports.py:116 msgid "" "Networks associated with this transport. If No network selected, will mean " "\"all networks\"" @@ -893,11 +894,11 @@ msgstr "" "Redes asociadas a este transporte. Si no hay red seleccionada, significará " "\"todas las redes\"" -#: REST/methods/transports.py:97 +#: REST/methods/transports.py:134 msgid "Allowed Devices" msgstr "Dispositivos permitidos" -#: REST/methods/transports.py:98 +#: REST/methods/transports.py:136 msgid "" "If empty, any kind of device compatible with this transport will be allowed. " "Else, only devices compatible with selected values will be allowed" @@ -906,17 +907,22 @@ msgstr "" "este transporte. Otra cosa, se permitirá sólo dispositivos compatibles con " "los valores seleccionados" -#: REST/methods/transports.py:107 +#: REST/methods/transports.py:153 msgid "Currently assigned services pools" msgstr "Services pools asignados actualmente" -#: REST/methods/transports.py:116 +#: REST/methods/transports.py:166 msgid "Metapool transport label (only used on metapool transports grouping)" msgstr "" "Etiqueta de transporte de metapool (solo se utiliza en la agrupación de " "transportes de metapool)" -#: REST/methods/tunnel_token.py:53 +#: REST/methods/tunnel_token.py:48 +#| msgid "Tunneled" +msgid "Tunnel tokens" +msgstr "Fichas de túnel" + +#: REST/methods/tunnel_token.py:50 msgid "Token" msgstr "Simbólico" @@ -1015,7 +1021,7 @@ msgstr "Usuarios actuales" #: services/OpenStack/provider.py:127 services/OpenStack/provider_legacy.py:144 #: services/Proxmox/provider.py:82 services/RDS_enterprise/provider.py:118 #: services/VCloud_enterprise/provider.py:35 -#: services/Vmware_enterprise/provider.py:43 services/Xen/provider.py:107 +#: services/Vmware_enterprise/provider.py:60 services/Xen/provider.py:107 #: transports/HTML5RDP/html5rdp.py:103 transports/HTML5VNC/html5vnc.py:75 #: transports/NoMachine_enterprise/nomachine_base.py:63 #: transports/PCoIP_enterprise/pcoip.py:59 transports/RDP/rdp_base.py:75 @@ -1163,7 +1169,7 @@ msgstr "" #: services/OpenStack/provider.py:135 services/OpenStack/provider_legacy.py:152 #: services/Proxmox/provider.py:92 services/RDS_enterprise/provider.py:126 #: services/Sample/service.py:140 services/VCloud_enterprise/provider.py:36 -#: services/Vmware_enterprise/provider.py:44 services/Xen/provider.py:115 +#: services/Vmware_enterprise/provider.py:67 services/Xen/provider.py:115 #: transports/HTML5RDP/html5rdp.py:109 transports/HTML5VNC/html5vnc.py:76 #: transports/NoMachine_enterprise/nomachine_base.py:69 #: transports/PCoIP_enterprise/pcoip.py:60 transports/RDP/rdp_base.py:81 @@ -1188,7 +1194,7 @@ msgstr "Contraseña del usuario LDAP" #: services/OpenGnsys/provider.py:164 services/OpenNebula/provider.py:86 #: services/OpenStack/provider.py:166 services/OpenStack/provider_legacy.py:183 #: services/Proxmox/provider.py:123 services/VCloud_enterprise/provider.py:63 -#: services/Vmware_enterprise/provider.py:50 +#: services/Vmware_enterprise/provider.py:99 msgid "Timeout" msgstr "Tiempo de espera" @@ -1668,11 +1674,11 @@ msgstr "Autenticador SAML " msgid "SAML (v2.0) Authenticator" msgstr "Autenticador SAML (v2.0) " -#: auths/SAML_enterprise/saml.py:127 +#: auths/SAML_enterprise/saml.py:129 msgid "Private key" msgstr "Clave privada" -#: auths/SAML_enterprise/saml.py:128 +#: auths/SAML_enterprise/saml.py:132 msgid "" "Private key used for sign and encription, as generated in base 64 from " "openssl" @@ -1680,15 +1686,15 @@ msgstr "" "Clave privada utilizada para firmar y encriptar, la generada en la base 64 " "de OpenSSL" -#: auths/SAML_enterprise/saml.py:129 auths/SAML_enterprise/saml.py:134 +#: auths/SAML_enterprise/saml.py:135 auths/SAML_enterprise/saml.py:146 msgid "Certificates" msgstr "Certificados" -#: auths/SAML_enterprise/saml.py:132 transports/SPICE/spice_base.py:82 +#: auths/SAML_enterprise/saml.py:140 transports/SPICE/spice_base.py:82 msgid "Certificate" msgstr "Certificado" -#: auths/SAML_enterprise/saml.py:133 +#: auths/SAML_enterprise/saml.py:143 msgid "" "Public key used for sign and encription (public part of previous private " "key), as generated in base 64 from openssl" @@ -1696,65 +1702,65 @@ msgstr "" "Clave pública utilizada para firma y encriptación (parte pública de la clave " "privada anterior), como se genera en base 64 usando openssl" -#: auths/SAML_enterprise/saml.py:137 +#: auths/SAML_enterprise/saml.py:151 msgid "IDP Metadata" msgstr "Metadatos IDP " -#: auths/SAML_enterprise/saml.py:138 +#: auths/SAML_enterprise/saml.py:154 msgid "" "You can enter here the URL or the IDP metadata or the metadata itself (xml)" msgstr "" "Puede introducir aquí la URL o los metadatos IDP o simplemente los metadatos " "(xml)" -#: auths/SAML_enterprise/saml.py:139 auths/SAML_enterprise/saml.py:143 +#: auths/SAML_enterprise/saml.py:157 auths/SAML_enterprise/saml.py:166 msgid "Metadata" msgstr "Metadatos " -#: auths/SAML_enterprise/saml.py:142 +#: auths/SAML_enterprise/saml.py:161 msgid "Entity ID" msgstr "ID de la entidad" -#: auths/SAML_enterprise/saml.py:143 +#: auths/SAML_enterprise/saml.py:164 msgid "ID of the SP. If left blank, this will be autogenerated from server URL" msgstr "" "ID del SP. Si se deja en blanco, se generará automáticamente desde la " "dirección URL del servidor" -#: auths/SAML_enterprise/saml.py:147 +#: auths/SAML_enterprise/saml.py:172 msgid "User name attrs" msgstr "Atrs del nombre de usuario" -#: auths/SAML_enterprise/saml.py:148 +#: auths/SAML_enterprise/saml.py:174 msgid "Fields from where to extract user name" msgstr "Campos de los que se extrae el nombre de usuario" -#: auths/SAML_enterprise/saml.py:148 auths/SAML_enterprise/saml.py:153 -#: auths/SAML_enterprise/saml.py:158 +#: auths/SAML_enterprise/saml.py:176 auths/SAML_enterprise/saml.py:186 +#: auths/SAML_enterprise/saml.py:196 msgid "Attributes" msgstr "Atributos" -#: auths/SAML_enterprise/saml.py:152 +#: auths/SAML_enterprise/saml.py:182 msgid "Group name attrs" msgstr "Atrs del nombre de grupo " -#: auths/SAML_enterprise/saml.py:153 +#: auths/SAML_enterprise/saml.py:184 msgid "Fields from where to extract the groups" msgstr "Campos de los que extraer los grupos" -#: auths/SAML_enterprise/saml.py:157 +#: auths/SAML_enterprise/saml.py:192 msgid "Real name attrs" msgstr "Atrs del nombre real " -#: auths/SAML_enterprise/saml.py:158 +#: auths/SAML_enterprise/saml.py:194 msgid "Fields from where to extract the real name" msgstr "Campos de los que se extrae el nombre real" -#: auths/SAML_enterprise/saml.py:176 +#: auths/SAML_enterprise/saml.py:216 msgid "SAML Authenticator does not support white spaces on field NAME" msgstr "El autenticador SAML no admite espacios en blanco en el campo NOMBRE" -#: auths/SAML_enterprise/saml.py:183 +#: auths/SAML_enterprise/saml.py:230 msgid "" "Server certificate should be a valid PEM (PEM certificates starts with -----" "BEGIN CERTIFICATE-----)" @@ -1762,11 +1768,11 @@ msgstr "" "El certificado del servidor debe ser un PEM válido (Los certificados PEM " "empiezan con---EMPEZAR CERTIFICADO---)" -#: auths/SAML_enterprise/saml.py:188 +#: auths/SAML_enterprise/saml.py:238 msgid "Invalid server certificate. " msgstr "Certificado de servidor no válido. " -#: auths/SAML_enterprise/saml.py:192 +#: auths/SAML_enterprise/saml.py:249 msgid "" "Private key should be a valid PEM (PEM private keys starts with -----BEGIN " "RSA PRIVATE KEY-----" @@ -1774,48 +1780,48 @@ msgstr "" "La clave privada debe ser un PEM válido (Las claves privadas PEM empiezan " "con---EMPEZAR CLAVE PRIVADA RSA---" -#: auths/SAML_enterprise/saml.py:197 +#: auths/SAML_enterprise/saml.py:257 msgid "Invalid private key. " msgstr "Clave privada inválida. " -#: auths/SAML_enterprise/saml.py:214 +#: auths/SAML_enterprise/saml.py:276 #, python-brace-format msgid "Can't fetch url {0}: {1}" msgstr "No se puede extraer url {0}: {1}" -#: auths/SAML_enterprise/saml.py:222 +#: auths/SAML_enterprise/saml.py:287 msgid " (obtained from URL)" msgstr " (Obtenido de la URL)" -#: auths/SAML_enterprise/saml.py:223 +#: auths/SAML_enterprise/saml.py:289 msgid "XML does not seem valid for IDP Metadata " msgstr "XML no parece válido para metadatos IDP " -#: auths/SAML_enterprise/saml.py:239 +#: auths/SAML_enterprise/saml.py:311 msgid "Can't access idp metadata" msgstr "No se puede acceder a los metadatos IDP" -#: auths/Sample/SampleAuth.py:76 +#: auths/Sample/SampleAuth.py:79 msgid "Sample Authenticator" msgstr "Autenticador de muestra" -#: auths/Sample/SampleAuth.py:88 +#: auths/Sample/SampleAuth.py:91 msgid "Sample dummy authenticator" msgstr "Autenticador simulado de muestra " -#: auths/Sample/SampleAuth.py:106 +#: auths/Sample/SampleAuth.py:109 msgid "Fake User" msgstr "Usuario falso" -#: auths/Sample/SampleAuth.py:109 +#: auths/Sample/SampleAuth.py:112 msgid "Fake Group" msgstr "Grupo falso" -#: auths/Sample/SampleAuth.py:115 +#: auths/Sample/SampleAuth.py:118 msgid "Groups" msgstr "Grupos" -#: auths/Sample/SampleAuth.py:128 +#: auths/Sample/SampleAuth.py:132 msgid "We need more than two groups!" msgstr "¡Necesitamos más de dos grupos!" @@ -2006,7 +2012,7 @@ msgstr "Servicio Base" #: core/services/service.py:141 core/services/service.py:150 #: models/permissions.py:92 models/permissions.py:96 -#: services/Azure_enterprise/helpers.py:97 services/OpenStack/helpers.py:74 +#: services/Azure_enterprise/helpers.py:100 services/OpenStack/helpers.py:74 #: services/Proxmox/service.py:194 services/Sample/service.py:98 #: services/Sample/service.py:104 services/TestService_enterprise/service.py:28 msgid "None" @@ -2032,79 +2038,79 @@ msgstr "Túnel" msgid "Can't contact LDAP server" msgstr "No existe conexión con el servidor LDAP" -#: core/util/state.py:65 core/util/states/common.py:59 +#: core/util/state.py:66 core/util/states/common.py:59 msgid "Active" msgstr "Activo" -#: core/util/state.py:66 core/util/states/common.py:60 +#: core/util/state.py:67 core/util/states/common.py:60 msgid "Inactive" msgstr "Inactivo" -#: core/util/state.py:67 core/util/states/common.py:61 +#: core/util/state.py:68 core/util/states/common.py:61 msgid "Blocked" msgstr "Bloqueado" -#: core/util/state.py:68 core/util/states/common.py:62 +#: core/util/state.py:69 core/util/states/common.py:62 msgid "Waiting publication" msgstr "Esperando publicación" -#: core/util/state.py:69 core/util/states/common.py:63 +#: core/util/state.py:70 core/util/states/common.py:63 msgid "In preparation" msgstr "En preparación" -#: core/util/state.py:70 core/util/states/common.py:64 +#: core/util/state.py:71 core/util/states/common.py:64 msgid "Valid" msgstr "Válido" -#: core/util/state.py:71 core/util/state.py:73 core/util/states/common.py:66 +#: core/util/state.py:72 core/util/state.py:74 core/util/states/common.py:66 msgid "Removing" msgstr "Eliminando" -#: core/util/state.py:72 +#: core/util/state.py:73 msgid "Restrained" msgstr "Restringido" -#: core/util/state.py:74 core/util/states/common.py:67 +#: core/util/state.py:75 core/util/states/common.py:67 msgid "Removed" msgstr "Eliminado " -#: core/util/state.py:75 core/util/states/common.py:68 +#: core/util/state.py:76 core/util/states/common.py:68 msgid "Canceled" msgstr "Cancelado" -#: core/util/state.py:76 core/util/states/common.py:69 +#: core/util/state.py:77 core/util/states/common.py:69 msgid "Canceling" msgstr "Cancelando" -#: core/util/state.py:77 core/util/states/common.py:70 +#: core/util/state.py:78 core/util/states/common.py:70 msgid "Error" msgstr "Error" -#: core/util/state.py:79 core/util/states/common.py:72 +#: core/util/state.py:80 core/util/states/common.py:72 msgid "Finished" msgstr "Finalizado" -#: core/util/state.py:80 core/util/states/common.py:73 +#: core/util/state.py:81 core/util/states/common.py:73 msgid "Waiting execution" msgstr "Esperando ejecución" -#: core/util/state.py:81 core/util/states/common.py:74 +#: core/util/state.py:82 core/util/states/common.py:74 msgid "Balancing" msgstr "Equilibrando" -#: core/util/state.py:82 core/util/states/common.py:75 +#: core/util/state.py:83 core/util/states/common.py:75 msgid "In maintenance" msgstr "En mantenimiento" -#: core/util/state.py:83 core/util/states/common.py:76 +#: core/util/state.py:84 core/util/states/common.py:76 msgid "Waiting OS" msgstr "Esperando SO " -#: core/util/state.py:84 +#: core/util/state.py:85 msgid "Too many preparing services" msgstr "Demasiados servicios en preparación" -#: core/util/state.py:85 +#: core/util/state.py:86 msgid "Meta member" msgstr "Miembro MetaPool" @@ -2136,23 +2142,23 @@ msgstr "Usuarios con servicios" msgid "Cached" msgstr "En caché" -#: core/util/tools.py:144 +#: core/util/tools.py:152 msgid "{} days {:d}:{:02d}:{:02d}" msgstr "{} días {: d}: {: 02d}: {: 02d}" -#: core/util/tools.py:161 +#: core/util/tools.py:171 msgid "The basename is not a valid for a hostname" msgstr "El nombre no es válido para un nombre de host" -#: core/util/tools.py:164 +#: core/util/tools.py:176 msgid "The length of basename plus length must be greater than 0" msgstr "El nombre base más el contador debe ser mayor que 0" -#: core/util/tools.py:167 +#: core/util/tools.py:181 msgid "The length of basename plus length must not be greater than 15" msgstr "El nombre base más el contador no debe ser superior a 15" -#: core/util/tools.py:170 +#: core/util/tools.py:186 msgid "The machine name can't be only numbers" msgstr "" "El nombre de la máquina no puede estar compuesto únicamente por números" @@ -2161,30 +2167,30 @@ msgstr "" msgid "Numeric" msgstr "Numérico" -#: core/util/validators.py:64 +#: core/util/validators.py:66 #, python-brace-format msgid "{0} must be greater than or equal to {1}" msgstr "{0} debe ser mayor o igual a {1}" -#: core/util/validators.py:67 +#: core/util/validators.py:74 #, python-brace-format msgid "{0} must be lower than or equal to {1}" msgstr "{0} debe ser inferior o igual a {1}" -#: core/util/validators.py:72 +#: core/util/validators.py:81 #, python-brace-format msgid "{0} contains invalid characters" msgstr "{0} contiene caracteres no válidos" -#: core/util/validators.py:81 +#: core/util/validators.py:90 msgid "{} exceeds maximum host name length." msgstr "{} excede la longitud máxima de un nombre de host." -#: core/util/validators.py:92 +#: core/util/validators.py:103 msgid "{} is not a valid hostname" msgstr "{} no es un nombre de host válido" -#: core/util/validators.py:136 +#: core/util/validators.py:152 msgid "" "Invalid mac range. Mac range must be in format XX:XX:XX:XX:XX:XX-XX:XX:XX:XX:" "XX:XX" @@ -3132,8 +3138,8 @@ msgstr "Obtenidos de las suscripciones" #: services/OpenGnsys/provider.py:141 services/OpenNebula/provider.py:83 #: services/OpenStack/provider.py:143 services/OpenStack/provider_legacy.py:160 #: services/Proxmox/provider.py:100 services/VCloud_enterprise/provider.py:60 -#: services/Vmware_enterprise/provider.py:47 -#: services/Vmware_enterprise/provider.py:99 services/Xen/provider.py:123 +#: services/Vmware_enterprise/provider.py:76 +#: services/Vmware_enterprise/provider.py:182 services/Xen/provider.py:123 msgid "Creation concurrency" msgstr "Concurrencia de creación" @@ -3145,7 +3151,7 @@ msgstr "Concurrencia de creación" #: services/OpenGnsys/provider.py:146 services/OpenNebula/provider.py:83 #: services/OpenStack/provider.py:148 services/OpenStack/provider_legacy.py:165 #: services/Proxmox/provider.py:105 services/VCloud_enterprise/provider.py:60 -#: services/Vmware_enterprise/provider.py:47 services/Xen/provider.py:128 +#: services/Vmware_enterprise/provider.py:81 services/Xen/provider.py:128 msgid "Maximum number of concurrently creating VMs" msgstr "Número máximo de creación de VMs de forma simultánea " @@ -3157,8 +3163,8 @@ msgstr "Número máximo de creación de VMs de forma simultánea " #: services/OpenGnsys/provider.py:152 services/OpenNebula/provider.py:84 #: services/OpenStack/provider.py:154 services/OpenStack/provider_legacy.py:171 #: services/Proxmox/provider.py:111 services/VCloud_enterprise/provider.py:61 -#: services/Vmware_enterprise/provider.py:48 -#: services/Vmware_enterprise/provider.py:100 services/Xen/provider.py:134 +#: services/Vmware_enterprise/provider.py:87 +#: services/Vmware_enterprise/provider.py:188 services/Xen/provider.py:134 msgid "Removal concurrency" msgstr "Concurrencia de eliminación" @@ -3170,7 +3176,7 @@ msgstr "Concurrencia de eliminación" #: services/OpenGnsys/provider.py:157 services/OpenNebula/provider.py:84 #: services/OpenStack/provider.py:159 services/OpenStack/provider_legacy.py:176 #: services/Proxmox/provider.py:116 services/VCloud_enterprise/provider.py:61 -#: services/Vmware_enterprise/provider.py:48 services/Xen/provider.py:139 +#: services/Vmware_enterprise/provider.py:92 services/Xen/provider.py:139 msgid "Maximum number of concurrently removing VMs" msgstr "Número máximo de VMs que se pueden eliminar al mismo tiempo " @@ -3383,7 +3389,7 @@ msgstr "Tiempo de espera en segundos de conexión a HyperV" #: services/HyperV_enterprise/legacy/provider.py:95 #: services/HyperV_enterprise/provider.py:103 #: services/Nutanix_enterprise/provider.py:45 services/OVirt/provider.py:117 -#: services/Vmware_enterprise/provider.py:51 services/Xen/provider.py:146 +#: services/Vmware_enterprise/provider.py:109 services/Xen/provider.py:146 msgid "Macs range" msgstr "Rango de Macs" @@ -3400,7 +3406,7 @@ msgstr "Test de conexión realizado con éxito" #: services/HyperV_enterprise/legacy/provider.py:268 #: services/NutanixPrism_enterprise/provider.py:262 #: services/Nutanix_enterprise/provider.py:228 services/OVirt/provider.py:457 -#: services/Proxmox/provider.py:312 services/Vmware_enterprise/provider.py:168 +#: services/Proxmox/provider.py:312 services/Vmware_enterprise/provider.py:291 msgid "Connection failed. Check connection params" msgstr "La conexión ha fallado. Compruebe los parámetros de conexión" @@ -4244,12 +4250,12 @@ msgstr "Proveedor de máquinas con IP estática" msgid "Provides connection to machines by IP" msgstr "Proporciona conexión a máquinas vía IP" -#: services/PhysicalMachines/service_multi.py:63 +#: services/PhysicalMachines/service_multi.py:64 #: services/Vmware_enterprise/service_fixed.py:55 msgid "Service Token" msgstr "Token del servicio" -#: services/PhysicalMachines/service_multi.py:66 +#: services/PhysicalMachines/service_multi.py:67 #: services/Vmware_enterprise/service_fixed.py:57 msgid "" "Service token that will be used by actors to communicate with service. Leave " @@ -4259,45 +4265,58 @@ msgstr "" "Deje en blanco para no gestionar el servicio y disponer de asignación " "persistente." -#: services/PhysicalMachines/service_multi.py:74 +#: services/PhysicalMachines/service_multi.py:75 #: services/RDS_enterprise/provider.py:49 msgid "List of servers" msgstr "Lista de servidores" -#: services/PhysicalMachines/service_multi.py:75 +#: services/PhysicalMachines/service_multi.py:76 msgid "List of servers available for this service" msgstr "Lista de IPs de máquinas disponibles para este servicio." -#: services/PhysicalMachines/service_multi.py:80 +#: services/PhysicalMachines/service_multi.py:81 msgid "Check Port" msgstr "Comprobar puerto" -#: services/PhysicalMachines/service_multi.py:84 +#: services/PhysicalMachines/service_multi.py:85 msgid "" "If non zero, only hosts responding to connection on that port will be served." msgstr "" "Si no es cero, solo se asignarán las IPs de las máquinas que respondan a la " "conexión con el puerto indicado." -#: services/PhysicalMachines/service_multi.py:91 +#: services/PhysicalMachines/service_multi.py:92 msgid "Skip time" msgstr "Tiempo de comprobación" -#: services/PhysicalMachines/service_multi.py:94 +#: services/PhysicalMachines/service_multi.py:95 msgid "If a host fails to check, skip it for this time (in minutes)." msgstr "" "Si en una maquina no se puede verificar su conexión, omítala para una nueva " "comprobación por este tiempo (en minutos)." -#: services/PhysicalMachines/service_multi.py:101 +#: services/PhysicalMachines/service_multi.py:103 +#| msgid "Max. session time" +msgid "Max session per machine" +msgstr "Sesión máxima por máquina" + +#: services/PhysicalMachines/service_multi.py:107 +msgid "" +"Maximum session duration before UDS thinks this machine got locked and " +"releases it (hours). 0 means \"never\"." +msgstr "" +"Duración máxima de la sesión antes de que UDS considere que esta máquina se " +"bloqueó y la libera (horas). 0 significa \"nunca\"." + +#: services/PhysicalMachines/service_multi.py:115 msgid "Static Multiple IP" msgstr "Estatica, Multiples IPs" -#: services/PhysicalMachines/service_multi.py:103 +#: services/PhysicalMachines/service_multi.py:117 msgid "This service provides access to POWERED-ON Machines by IP" msgstr "Este servicio proporciona acceso a las máquinas POWERED-ON por IP" -#: services/PhysicalMachines/service_multi.py:134 +#: services/PhysicalMachines/service_multi.py:150 msgid "Invalid value detected on servers list: \"{}\"" msgstr "Se detectó un valor no válido en la lista de servidores: \"{}\"" @@ -4656,7 +4675,7 @@ msgstr "Número máximo de servicios permitidos (0 significa sin límite)" msgid "Wait spawned processes" msgstr "Esperar procesos generados" -#: services/RDS_enterprise/service.py:99 +#: services/RDS_enterprise/service.py:100 msgid "" "If active, RDS Actor will wait until the application and all spawned " "processes finished before considering app logged out" @@ -4664,7 +4683,7 @@ msgstr "" "Si activa RDS Actor esperará hasta la aplicación y todos los procesos " "generados acaben antes de considerar la aplicación ha finalizado." -#: services/RDS_enterprise/service.py:109 +#: services/RDS_enterprise/service.py:112 msgid "A valid application path is required" msgstr "Se requiere una ruta de aplicación válida" @@ -4911,27 +4930,27 @@ msgstr "Local" msgid "Remote" msgstr "Remoto" -#: services/Vmware_enterprise/provider.py:41 +#: services/Vmware_enterprise/provider.py:47 msgid "VMWare VCenter Server IP or Hostname" msgstr "IP de Servidor VMware vCenter o nombre de host" -#: services/Vmware_enterprise/provider.py:42 +#: services/Vmware_enterprise/provider.py:55 msgid "VMWare VC Server Port (usually 443)" msgstr "Puerto del servidor VC VMware (generalmente 443)" -#: services/Vmware_enterprise/provider.py:43 +#: services/Vmware_enterprise/provider.py:62 msgid "User with valid privileges on VC" msgstr "Usuario con privilegios válidos en VC" -#: services/Vmware_enterprise/provider.py:44 +#: services/Vmware_enterprise/provider.py:69 msgid "Password of the user of the VC" msgstr "Contraseña del usuario de VC" -#: services/Vmware_enterprise/provider.py:50 +#: services/Vmware_enterprise/provider.py:102 msgid "Timeout in seconds of connection to VC" msgstr "Tiempo de espera en segundos de conexión a VC" -#: services/Vmware_enterprise/provider.py:52 +#: services/Vmware_enterprise/provider.py:114 msgid "" "Range of valid macs for created machines. Must be inside " "00:50:56:00:00:00-00:50:56:3F:FF:FF" @@ -4939,15 +4958,15 @@ msgstr "" "Rango de macs válidos para máquinas creadas. Debe estar dentro de " "00:50:56:00:00:00-00:50:56:3F:FF:FF" -#: services/Vmware_enterprise/provider.py:56 +#: services/Vmware_enterprise/provider.py:126 msgid "VMWare VCenter Platform Provider" msgstr "Proveedor de Plataforma VMware vCenter" -#: services/Vmware_enterprise/provider.py:58 +#: services/Vmware_enterprise/provider.py:128 msgid "Provides connection to Virtual Center Services" msgstr "Proporciona conexión a los Servicios del Centro Virtual" -#: services/Vmware_enterprise/provider.py:166 +#: services/Vmware_enterprise/provider.py:287 msgid "Connection params ok" msgstr "Parámetros de conexión ok" @@ -5431,7 +5450,7 @@ msgstr "Mostrar fondo de pantalla " #: transports/HTML5RDP/html5rdp.py:134 #: transports/HTML5RDS_enterprise/html5rds.py:123 -#: transports/RDP/rdp_base.py:213 +#: transports/RDP/rdp_base.py:222 msgid "" "If checked, the wallpaper and themes will be shown on machine (better user " "experience, more bandwidth)" @@ -5441,25 +5460,25 @@ msgstr "" #: transports/HTML5RDP/html5rdp.py:139 #: transports/HTML5RDS_enterprise/html5rds.py:128 -#: transports/RDP/rdp_base.py:226 +#: transports/RDP/rdp_base.py:235 msgid "Allow Desk.Comp." msgstr "Permitir Comp.Escr." #: transports/HTML5RDP/html5rdp.py:141 #: transports/HTML5RDS_enterprise/html5rds.py:130 -#: transports/RDP/rdp_base.py:228 +#: transports/RDP/rdp_base.py:237 msgid "If checked, desktop composition will be allowed" msgstr "Si está marcada, se permitirá la composición de escritorio" #: transports/HTML5RDP/html5rdp.py:145 #: transports/HTML5RDS_enterprise/html5rds.py:134 -#: transports/RDP/rdp_base.py:232 transports/RDS_enterprise/rds_base.py:150 +#: transports/RDP/rdp_base.py:241 transports/RDS_enterprise/rds_base.py:150 msgid "Font Smoothing" msgstr "Suavizado de fuentes" #: transports/HTML5RDP/html5rdp.py:147 #: transports/HTML5RDS_enterprise/html5rds.py:136 -#: transports/RDS_enterprise/rds_base.py:152 +#: transports/RDS_enterprise/rds_base.py:153 msgid "If checked, fonts smoothing will be allowed (windows clients only)" msgstr "" "Si está marcada, se permitirá el suavizado de fuentes (sólo clientes windows)" @@ -5631,13 +5650,22 @@ msgstr "" msgid "TLS (Transport Security Layer encryption)" msgstr "TLS (encriptación de capa de seguridad de transporte)" -#: transports/HTML5RDP/html5rdp.py:246 +#: transports/HTML5RDP/html5rdp.py:247 transports/RDP/rdp_base.py:172 +#| msgid "Port" +msgid "RDP Port" +msgstr "Puerto RDP" + +#: transports/HTML5RDP/html5rdp.py:248 transports/RDP/rdp_base.py:173 +msgid "Use this port as RDP port. Defaults to 3389." +msgstr "Utilice este puerto como puerto RDP. El valor predeterminado es 3389." + +#: transports/HTML5RDP/html5rdp.py:256 #: transports/HTML5RDS_enterprise/html5rds.py:223 #: transports/HTML5VNC/html5vnc.py:109 msgid "Ticket Validity" msgstr "Validez del ticket" -#: transports/HTML5RDP/html5rdp.py:250 +#: transports/HTML5RDP/html5rdp.py:260 #: transports/HTML5RDS_enterprise/html5rds.py:227 #: transports/HTML5VNC/html5vnc.py:112 msgid "" @@ -5648,44 +5676,44 @@ msgstr "" "los datos de conexión desde el broker UDS. Se recomienda el valor " "predeterminado de 60." -#: transports/HTML5RDP/html5rdp.py:259 +#: transports/HTML5RDP/html5rdp.py:269 #: transports/HTML5RDS_enterprise/html5rds.py:236 #: transports/HTML5VNC/html5vnc.py:119 transports/URL/url_custom.py:82 msgid "Force new HTML Window" msgstr "Forzar nueva ventana HTML" -#: transports/HTML5RDP/html5rdp.py:260 +#: transports/HTML5RDP/html5rdp.py:270 #: transports/HTML5RDS_enterprise/html5rds.py:237 #: transports/HTML5VNC/html5vnc.py:120 msgid "Select windows behavior for new connections on HTML5" msgstr "" "Seleccione el comportamiento de Windows para nuevas conexiones en HTML5" -#: transports/HTML5RDP/html5rdp.py:265 +#: transports/HTML5RDP/html5rdp.py:275 #: transports/HTML5RDS_enterprise/html5rds.py:242 #: transports/HTML5VNC/html5vnc.py:123 msgid "Open every connection on the same window, but keeps UDS window." msgstr "" "Abre todas las conexiones en la misma ventana, pero mantiene la ventana UDS." -#: transports/HTML5RDP/html5rdp.py:268 +#: transports/HTML5RDP/html5rdp.py:278 #: transports/HTML5RDS_enterprise/html5rds.py:245 #: transports/HTML5VNC/html5vnc.py:124 msgid "Force every connection to be opened on a new window." msgstr "Fuerza que todas las conexiones se abran en una nueva ventana." -#: transports/HTML5RDP/html5rdp.py:272 +#: transports/HTML5RDP/html5rdp.py:282 #: transports/HTML5RDS_enterprise/html5rds.py:249 #: transports/HTML5VNC/html5vnc.py:125 msgid "Override UDS window and replace it with the connection." msgstr "Anule la ventana UDS y reemplácela con la conexión." -#: transports/HTML5RDP/html5rdp.py:280 +#: transports/HTML5RDP/html5rdp.py:290 #: transports/HTML5RDS_enterprise/html5rds.py:256 msgid "Glyptodon Enterprise context path" msgstr "Ruta de contexto de Glyptodon Enterprise" -#: transports/HTML5RDP/html5rdp.py:283 +#: transports/HTML5RDP/html5rdp.py:293 #: transports/HTML5RDS_enterprise/html5rds.py:259 msgid "" "Customized path for Glyptodon Enterprise tunnel. (Only valid for Glyptodon " @@ -5694,13 +5722,13 @@ msgstr "" "Ruta personalizada para el túnel de Glyptodon Enterprise. (Solo válido para " "Glyptodon Enterprise Tunnel)" -#: transports/HTML5RDP/html5rdp.py:298 +#: transports/HTML5RDP/html5rdp.py:308 #: transports/HTML5RDS_enterprise/html5rds.py:273 #: transports/HTML5VNC/html5vnc.py:137 msgid "The server must be http or https" msgstr "El servidor debe ser http o https" -#: transports/HTML5RDP/html5rdp.py:303 +#: transports/HTML5RDP/html5rdp.py:313 #: transports/HTML5RDS_enterprise/html5rds.py:278 msgid "" "Empty credentials (on Credentials tab) is only allowed with Security level " @@ -5753,7 +5781,7 @@ msgstr "Puerto del servidor VNC" msgid "Port of the VNC server." msgstr "Puerto del servidor VNC." -#: transports/HTML5VNC/html5vnc.py:90 transports/RDP/rdp_base.py:196 +#: transports/HTML5VNC/html5vnc.py:90 transports/RDP/rdp_base.py:205 #: transports/RDS_enterprise/rds_base.py:136 msgid "Color depth" msgstr "Profundidad de color" @@ -5793,7 +5821,7 @@ msgstr "Si se establece, la conexión será de solo lectura" #: transports/NoMachine_enterprise/nomachine_base.py:75 msgid "Listening port" -msgstr "Puerto de audio" +msgstr "Puerto de escucha" #: transports/NoMachine_enterprise/nomachine_base.py:78 msgid "Listening port of NX (Defaults to 4000 for NX, 22 for SSH)" @@ -5866,7 +5894,7 @@ msgstr "" "(recomendado)." #: transports/NoMachine_enterprise/nomachine_tunneltransport.py:114 -#: transports/RDP/rdptunnel.py:134 transports/RDS_enterprise/rdstunnel.py:126 +#: transports/RDP/rdptunnel.py:135 transports/RDS_enterprise/rdstunnel.py:126 #: transports/SPICE/spice_tunnel.py:106 transports/X2GO/x2go_tunnel.py:117 msgid "Must use HOST:PORT in Tunnel Server Field" msgstr "Debe utilizar HOST: PUERTO en el Campo Servidor de Túnel" @@ -5982,27 +6010,27 @@ msgstr "Soporte CredSSP" msgid "If checked, will enable Credentials Provider Support)" msgstr "Si está marcada, permitirá el soporte de proveedor de credenciales)" -#: transports/RDP/rdp_base.py:172 +#: transports/RDP/rdp_base.py:181 msgid "Screen Size" msgstr "Tamaño de pantalla" -#: transports/RDP/rdp_base.py:174 +#: transports/RDP/rdp_base.py:183 msgid "Screen size for this transport" msgstr "Tamaño de la pantalla para este transporte" -#: transports/RDP/rdp_base.py:198 transports/RDS_enterprise/rds_base.py:138 +#: transports/RDP/rdp_base.py:207 transports/RDS_enterprise/rds_base.py:138 msgid "Color depth for this connection" msgstr "Profundidad de color para esta conexión" -#: transports/RDP/rdp_base.py:210 +#: transports/RDP/rdp_base.py:219 msgid "Wallpaper/theme" msgstr "Tema de fondo de pantalla" -#: transports/RDP/rdp_base.py:218 +#: transports/RDP/rdp_base.py:227 msgid "Multiple monitors" msgstr "Varios monitores" -#: transports/RDP/rdp_base.py:221 +#: transports/RDP/rdp_base.py:230 msgid "" "If checked, all client monitors will be used for displaying (only works on " "windows clients)" @@ -6010,65 +6038,65 @@ msgstr "" "Si está marcada, todos los monitores cliente se utilizarán para visualizar " "(sólo funciona en clientes Windows)" -#: transports/RDP/rdp_base.py:234 +#: transports/RDP/rdp_base.py:244 msgid "If checked, fonts smoothing will be allowed" msgstr "Si está marcada, se permitirá el suavizado de fuentes" -#: transports/RDP/rdp_base.py:238 +#: transports/RDP/rdp_base.py:248 msgid "Connection Bar" msgstr "Barra de conexión" -#: transports/RDP/rdp_base.py:240 +#: transports/RDP/rdp_base.py:250 msgid "If checked, connection bar will be shown (only on Windows clients)" msgstr "" "Si está marcada, aparecerá barra de conexión (sólo en clientes de Windows)" -#: transports/RDP/rdp_base.py:246 transports/RDS_enterprise/rds_base.py:174 +#: transports/RDP/rdp_base.py:256 transports/RDS_enterprise/rds_base.py:179 msgid "Multimedia sync" msgstr "Sincronización multimedia" -#: transports/RDP/rdp_base.py:249 transports/RDS_enterprise/rds_base.py:177 +#: transports/RDP/rdp_base.py:259 transports/RDS_enterprise/rds_base.py:182 msgid "If checked. Linux client will use multimedia parameter for xfreerdp" msgstr "" "Si está marcada, el cliente Linux usará el parámetro multimedia para xfreerdp" -#: transports/RDP/rdp_base.py:254 transports/RDS_enterprise/rds_base.py:182 +#: transports/RDP/rdp_base.py:264 transports/RDS_enterprise/rds_base.py:187 msgid "Use Alsa" msgstr "Use ALSA" -#: transports/RDP/rdp_base.py:257 transports/RDS_enterprise/rds_base.py:185 +#: transports/RDP/rdp_base.py:267 transports/RDS_enterprise/rds_base.py:190 msgid "" "If checked, Linux client will try to use ALSA, otherwise Pulse will be used" msgstr "" "Si está marcado, el cliente Linux intentará usar ALSA, en caso contrario " "usará Pulse" -#: transports/RDP/rdp_base.py:262 transports/RDS_enterprise/rds_base.py:190 +#: transports/RDP/rdp_base.py:272 transports/RDS_enterprise/rds_base.py:195 msgid "Printer string" msgstr "Cadena de impresora" -#: transports/RDP/rdp_base.py:265 transports/RDS_enterprise/rds_base.py:193 +#: transports/RDP/rdp_base.py:275 transports/RDS_enterprise/rds_base.py:198 msgid "If printer is checked, the printer string used with xfreerdp client" msgstr "" "Si la impresora está activada, la cadena de impresora utilizadada con el " "cliente xfreerdp" -#: transports/RDP/rdp_base.py:271 transports/RDS_enterprise/rds_base.py:199 +#: transports/RDP/rdp_base.py:281 transports/RDS_enterprise/rds_base.py:204 msgid "Smartcard string" msgstr "Cadena de tarjeta inteligente" -#: transports/RDP/rdp_base.py:274 transports/RDS_enterprise/rds_base.py:202 +#: transports/RDP/rdp_base.py:284 transports/RDS_enterprise/rds_base.py:207 msgid "If smartcard is checked, the smartcard string used with xfreerdp client" msgstr "" "Si la smartcard está activada, la cadena de smartcard utilizada con el " "cliente xfreerdp" -#: transports/RDP/rdp_base.py:280 transports/RDP/rdp_base.py:300 -#: transports/RDS_enterprise/rds_base.py:208 +#: transports/RDP/rdp_base.py:290 transports/RDP/rdp_base.py:310 +#: transports/RDS_enterprise/rds_base.py:213 msgid "Custom parameters" msgstr "Parámetros personalizados" -#: transports/RDP/rdp_base.py:283 transports/RDS_enterprise/rds_base.py:211 +#: transports/RDP/rdp_base.py:293 transports/RDS_enterprise/rds_base.py:216 msgid "" "If not empty, extra parameter to include for Linux Client (for example /usb:" "id,dev:054c:0268, or aything compatible with your xfreerdp client)" @@ -6076,11 +6104,11 @@ msgstr "" "Si no vacía, parámetros extra para el cliente Linux (por ejemplo /usb:id, " "dev:054c:0268, o cualquier cosa compatible con su cliente xfreerdp)" -#: transports/RDP/rdp_base.py:290 +#: transports/RDP/rdp_base.py:300 msgid "Allow Microsoft Rdp Client" msgstr "Permitir cliente Rdp de Microsoft" -#: transports/RDP/rdp_base.py:293 +#: transports/RDP/rdp_base.py:303 msgid "" "If checked, allows use of Microsoft Remote Desktop Client. PASSWORD WILL BE " "PROMPTED!" @@ -6088,7 +6116,7 @@ msgstr "" "Si está marcado, permite el uso de Microsoft Remote Desktop Client. ¡SE LE " "INDICARÁ LA CONTRASEÑA!" -#: transports/RDP/rdp_base.py:303 +#: transports/RDP/rdp_base.py:313 msgid "" "If not empty, extra parameter to include for Mac OS X Freerdp Client (for " "example /usb:id,dev:054c:0268, or aything compatible with your xfreerdp " @@ -6112,19 +6140,32 @@ msgid "RDS access using RDP for vApps. Direct connection." msgstr "Acceso RDS mediante RDP para vApps. Conexión directa." #: transports/RDS_enterprise/rds_base.py:157 +#| msgid "Window Size" +msgid "Window state" +msgstr "Estado de la ventana" + +#: transports/RDS_enterprise/rds_base.py:159 +msgid "UDS Will try to execute the applicaiton with the window in this state" +msgstr "UDS intentará ejecutar la aplicación con la ventana en este estado" + +#: transports/RDS_enterprise/rds_base.py:162 +msgid "Normal" +msgstr "Normal" + +#: transports/RDS_enterprise/rds_base.py:163 msgid "Maximized" msgstr "Maximizado" -#: transports/RDS_enterprise/rds_base.py:160 -msgid "If checked, UDS Actor will try to execute application maximized)" -msgstr "" -"Si está marcado, UDS Actor intentará ejecutar la aplicación maximizada)" +#: transports/RDS_enterprise/rds_base.py:164 +#| msgid "Maximized" +msgid "Minimized" +msgstr "Minimizado" -#: transports/RDS_enterprise/rds_base.py:165 +#: transports/RDS_enterprise/rds_base.py:170 msgid "Execute as shell" msgstr "Ejecutar como shell" -#: transports/RDS_enterprise/rds_base.py:169 +#: transports/RDS_enterprise/rds_base.py:174 msgid "" "If checked, Linux client will execute application in a session instead of a " "remoteapp" @@ -6331,7 +6372,7 @@ msgstr "" msgid "Invalid data" msgstr "Datos incorrectos" -#: web/util/configjs.py:146 +#: web/util/configjs.py:145 msgid "Access limited by calendar" msgstr "Acceso limitado por calendario" @@ -6473,6 +6514,6 @@ msgid "" msgstr "" "Su servicio se está creando (espere unos segundos mientras se completa)." -#: web/views/auth.py:151 +#: web/views/auth.py:154 msgid "Authenticator does not provide information" msgstr "El Autenticador no proporciona información" diff --git a/server/src/uds/locale/es/LC_MESSAGES/djangojs.po b/server/src/uds/locale/es/LC_MESSAGES/djangojs.po index 2a3566495..ed931bcb2 100644 --- a/server/src/uds/locale/es/LC_MESSAGES/djangojs.po +++ b/server/src/uds/locale/es/LC_MESSAGES/djangojs.po @@ -18,9 +18,9 @@ msgid "" msgstr "" "Project-Id-Version: OpenUDS\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-08 14:18+0200\n" -"PO-Revision-Date: 2021-07-08 10:59+0000\n" -"Last-Translator: Adolfo Gómez \n" +"POT-Creation-Date: 2021-07-29 13:12+0200\n" +"PO-Revision-Date: 2021-07-22 10:50+0000\n" +"Last-Translator: Francisco Javier Gómez Seijo \n" "Language-Team: Spanish (http://www.transifex.com/openuds/openuds/language/" "es/)\n" "Language: es\n" @@ -157,23 +157,23 @@ msgstr "Pool group" msgid "Go to" msgstr "Ir" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:271 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:272 msgid "yes" msgstr "sí" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:272 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:273 msgid "no" msgstr "no" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:268 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:269 msgid "Error saving: " msgstr "Error al guardar:" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:269 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:270 msgid "Error saving element" msgstr "Error al guardar el elemento" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:270 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:271 msgid "Error handling your request" msgstr "Error al manejar su solicitud" @@ -282,8 +282,8 @@ msgstr "#RESTRAINED_NUMBER# servicios restringidos" #: static/admin/main.js:1 static/admin/translations-fakejs.js:105 #: static/admin/translations-fakejs.js:249 -#: static/admin/translations-fakejs.js:398 -#: static/admin/translations-fakejs.js:450 +#: static/admin/translations-fakejs.js:402 +#: static/admin/translations-fakejs.js:454 msgid "Assigned services" msgstr "Servicios Asignados" @@ -292,8 +292,8 @@ msgid "Services in use" msgstr "Servicios en uso" #: static/admin/main.js:1 static/admin/translations-fakejs.js:21 -#: static/admin/translations-fakejs.js:291 -#: static/admin/translations-fakejs.js:299 +#: static/admin/translations-fakejs.js:292 +#: static/admin/translations-fakejs.js:300 #: static/modern/translations-fakejs.js:30 msgid "Filter" msgstr "Filtro" @@ -311,25 +311,25 @@ msgid "Full Access" msgstr "Acceso completo" #: static/admin/main.js:1 static/admin/translations-fakejs.js:15 -#: static/admin/translations-fakejs.js:358 -#: static/admin/translations-fakejs.js:405 -#: static/admin/translations-fakejs.js:410 +#: static/admin/translations-fakejs.js:362 +#: static/admin/translations-fakejs.js:409 +#: static/admin/translations-fakejs.js:414 msgid "User" msgstr "Usuario" #: static/admin/main.js:1 static/admin/translations-fakejs.js:16 #: static/admin/translations-fakejs.js:83 #: static/admin/translations-fakejs.js:93 -#: static/admin/translations-fakejs.js:423 -#: static/admin/translations-fakejs.js:444 +#: static/admin/translations-fakejs.js:427 +#: static/admin/translations-fakejs.js:448 msgid "Group" msgstr "Grupo" #: static/admin/main.js:1 static/admin/translations-fakejs.js:17 -#: static/admin/translations-fakejs.js:404 -#: static/admin/translations-fakejs.js:409 -#: static/admin/translations-fakejs.js:422 -#: static/admin/translations-fakejs.js:443 +#: static/admin/translations-fakejs.js:408 +#: static/admin/translations-fakejs.js:413 +#: static/admin/translations-fakejs.js:426 +#: static/admin/translations-fakejs.js:447 #: static/modern/translations-fakejs.js:73 msgid "Authenticator" msgstr "Autenticador" @@ -401,8 +401,8 @@ msgstr "Pool" #: static/admin/main.js:1 static/admin/translations-fakejs.js:77 #: static/admin/translations-fakejs.js:96 #: static/admin/translations-fakejs.js:230 -#: static/admin/translations-fakejs.js:339 -#: static/admin/translations-fakejs.js:351 +#: static/admin/translations-fakejs.js:343 +#: static/admin/translations-fakejs.js:355 msgid "State" msgstr "Estado" @@ -414,21 +414,21 @@ msgstr "Servicios de usuario" #: static/admin/main.js:1 static/admin/translations-fakejs.js:88 #: static/admin/translations-fakejs.js:232 -#: static/admin/translations-fakejs.js:319 -#: static/admin/translations-fakejs.js:397 +#: static/admin/translations-fakejs.js:321 +#: static/admin/translations-fakejs.js:401 msgid "Service pools" msgstr "Pools de servicio" #: static/admin/main.js:1 static/admin/translations-fakejs.js:3 #: static/admin/translations-fakejs.js:7 -#: static/admin/translations-fakejs.js:306 +#: static/admin/translations-fakejs.js:308 #: static/modern/translations-fakejs.js:44 msgid "Yes" msgstr "Sí" #: static/admin/main.js:1 static/admin/translations-fakejs.js:4 #: static/admin/translations-fakejs.js:8 -#: static/admin/translations-fakejs.js:307 +#: static/admin/translations-fakejs.js:309 #: static/modern/translations-fakejs.js:45 msgid "No" msgstr "No" @@ -485,10 +485,10 @@ msgstr "Todos" #: static/admin/main.js:1 static/admin/translations-fakejs.js:84 #: static/admin/translations-fakejs.js:94 -#: static/admin/translations-fakejs.js:338 -#: static/admin/translations-fakejs.js:350 -#: static/admin/translations-fakejs.js:375 -#: static/admin/translations-fakejs.js:431 +#: static/admin/translations-fakejs.js:342 +#: static/admin/translations-fakejs.js:354 +#: static/admin/translations-fakejs.js:379 +#: static/admin/translations-fakejs.js:435 msgid "Comments" msgstr "Comentarios" @@ -514,25 +514,25 @@ msgstr "Pool de Servicios" #: static/admin/main.js:1 static/admin/translations-fakejs.js:90 #: static/admin/translations-fakejs.js:103 -#: static/admin/translations-fakejs.js:286 -#: static/admin/translations-fakejs.js:321 -#: static/admin/translations-fakejs.js:333 -#: static/admin/translations-fakejs.js:359 +#: static/admin/translations-fakejs.js:287 +#: static/admin/translations-fakejs.js:323 +#: static/admin/translations-fakejs.js:337 #: static/admin/translations-fakejs.js:363 -#: static/admin/translations-fakejs.js:369 -#: static/admin/translations-fakejs.js:399 -#: static/admin/translations-fakejs.js:452 +#: static/admin/translations-fakejs.js:367 +#: static/admin/translations-fakejs.js:373 +#: static/admin/translations-fakejs.js:403 +#: static/admin/translations-fakejs.js:456 msgid "Groups" msgstr "Grupos" #: static/admin/main.js:1 static/admin/translations-fakejs.js:104 -#: static/admin/translations-fakejs.js:331 -#: static/admin/translations-fakejs.js:364 +#: static/admin/translations-fakejs.js:335 +#: static/admin/translations-fakejs.js:368 msgid "Services Pools" msgstr "Pools de Servicios" #: static/admin/main.js:1 static/admin/translations-fakejs.js:79 -#: static/admin/translations-fakejs.js:374 +#: static/admin/translations-fakejs.js:378 msgid "Name" msgstr "Nombre" @@ -549,26 +549,26 @@ msgid "Last access" msgstr "Ultimo acceso" #: static/admin/main.js:1 static/admin/translations-fakejs.js:89 -#: static/admin/translations-fakejs.js:285 -#: static/admin/translations-fakejs.js:332 -#: static/admin/translations-fakejs.js:368 +#: static/admin/translations-fakejs.js:286 +#: static/admin/translations-fakejs.js:336 +#: static/admin/translations-fakejs.js:372 msgid "Users" msgstr "Usuarios" #: static/admin/main.js:1 static/admin/translations-fakejs.js:85 -#: static/admin/translations-fakejs.js:340 -#: static/admin/translations-fakejs.js:352 +#: static/admin/translations-fakejs.js:344 +#: static/admin/translations-fakejs.js:356 msgid "Enabled" msgstr "Habilitado" #: static/admin/main.js:1 static/admin/translations-fakejs.js:86 -#: static/admin/translations-fakejs.js:341 -#: static/admin/translations-fakejs.js:353 +#: static/admin/translations-fakejs.js:345 +#: static/admin/translations-fakejs.js:357 msgid "Disabled" msgstr "Deshabilitado" #: static/admin/main.js:1 static/admin/translations-fakejs.js:87 -#: static/admin/translations-fakejs.js:354 +#: static/admin/translations-fakejs.js:358 msgid "Blocked" msgstr "Bloqueado" @@ -680,12 +680,12 @@ msgid "In use" msgstr "En uso" #: static/admin/main.js:1 static/admin/translations-fakejs.js:202 -#: static/admin/translations-fakejs.js:289 -#: static/admin/translations-fakejs.js:370 -#: static/admin/translations-fakejs.js:401 -#: static/admin/translations-fakejs.js:458 -#: static/admin/translations-fakejs.js:461 -#: static/admin/translations-fakejs.js:466 +#: static/admin/translations-fakejs.js:290 +#: static/admin/translations-fakejs.js:374 +#: static/admin/translations-fakejs.js:405 +#: static/admin/translations-fakejs.js:462 +#: static/admin/translations-fakejs.js:465 +#: static/admin/translations-fakejs.js:470 msgid "Logs" msgstr "Logs" @@ -706,20 +706,20 @@ msgid "Assign service" msgstr "Servicios asignados" #: static/admin/main.js:1 static/admin/translations-fakejs.js:207 -#: static/admin/translations-fakejs.js:276 -#: static/admin/translations-fakejs.js:282 -#: static/admin/translations-fakejs.js:345 -#: static/admin/translations-fakejs.js:360 -#: static/admin/translations-fakejs.js:386 -#: static/admin/translations-fakejs.js:394 -#: static/admin/translations-fakejs.js:406 -#: static/admin/translations-fakejs.js:411 -#: static/admin/translations-fakejs.js:419 -#: static/admin/translations-fakejs.js:424 +#: static/admin/translations-fakejs.js:277 +#: static/admin/translations-fakejs.js:283 +#: static/admin/translations-fakejs.js:349 +#: static/admin/translations-fakejs.js:364 +#: static/admin/translations-fakejs.js:390 +#: static/admin/translations-fakejs.js:398 +#: static/admin/translations-fakejs.js:410 +#: static/admin/translations-fakejs.js:415 +#: static/admin/translations-fakejs.js:423 #: static/admin/translations-fakejs.js:428 #: static/admin/translations-fakejs.js:432 -#: static/admin/translations-fakejs.js:445 -#: static/admin/translations-fakejs.js:487 +#: static/admin/translations-fakejs.js:436 +#: static/admin/translations-fakejs.js:449 +#: static/admin/translations-fakejs.js:491 msgid "Cancel" msgstr "Cancelar" @@ -871,7 +871,7 @@ msgid "Yearly" msgstr "Anual" #: static/admin/main.js:1 static/admin/translations-fakejs.js:148 -#: static/admin/translations-fakejs.js:383 +#: static/admin/translations-fakejs.js:387 msgid "Weekdays" msgstr "Días de la semana" @@ -1028,6 +1028,11 @@ msgstr "Configuración guardada" msgid "Delete actor token - USE WITH EXTREME CAUTION!!!" msgstr "Eliminar token de actor - ¡USAR CON EXTREMA PRECAUCIÓN!" +#: static/admin/main.js:1 static/admin/translations-fakejs.js:268 +#| msgid "Delete actor token - USE WITH EXTREME CAUTION!!!" +msgid "Delete tunnel token - USE WITH EXTREME CAUTION!!!" +msgstr "Elimine el token del túnel: ¡UTILICE CON EXTREMA PRECAUCIÓN!" + #: static/admin/main.js:1 static/admin/translations-fakejs.js:24 msgid "Cache flushed" msgstr "La caché se ha vaciado" @@ -1116,459 +1121,471 @@ msgstr "unhandledPromiseRejectionHandler" msgid "rejectionHandledHandler" msgstr "rejectionHandledHandler" -#: static/admin/translations-fakejs.js:274 +#: static/admin/translations-fakejs.js:275 msgid "Remove all" msgstr "Eliminar todo" -#: static/admin/translations-fakejs.js:275 +#: static/admin/translations-fakejs.js:276 msgid "Add" msgstr "Añadir" -#: static/admin/translations-fakejs.js:277 -#: static/admin/translations-fakejs.js:283 -#: static/admin/translations-fakejs.js:288 -#: static/admin/translations-fakejs.js:334 -#: static/admin/translations-fakejs.js:346 -#: static/admin/translations-fakejs.js:361 -#: static/admin/translations-fakejs.js:366 -#: static/admin/translations-fakejs.js:387 -#: static/admin/translations-fakejs.js:395 -#: static/admin/translations-fakejs.js:407 -#: static/admin/translations-fakejs.js:412 -#: static/admin/translations-fakejs.js:420 -#: static/admin/translations-fakejs.js:425 +#: static/admin/translations-fakejs.js:278 +#: static/admin/translations-fakejs.js:284 +#: static/admin/translations-fakejs.js:289 +#: static/admin/translations-fakejs.js:338 +#: static/admin/translations-fakejs.js:350 +#: static/admin/translations-fakejs.js:365 +#: static/admin/translations-fakejs.js:370 +#: static/admin/translations-fakejs.js:391 +#: static/admin/translations-fakejs.js:399 +#: static/admin/translations-fakejs.js:411 +#: static/admin/translations-fakejs.js:416 +#: static/admin/translations-fakejs.js:424 #: static/admin/translations-fakejs.js:429 #: static/admin/translations-fakejs.js:433 -#: static/admin/translations-fakejs.js:435 -#: static/admin/translations-fakejs.js:446 -#: static/admin/translations-fakejs.js:448 -#: static/admin/translations-fakejs.js:462 -#: static/admin/translations-fakejs.js:488 +#: static/admin/translations-fakejs.js:437 +#: static/admin/translations-fakejs.js:439 +#: static/admin/translations-fakejs.js:450 +#: static/admin/translations-fakejs.js:452 +#: static/admin/translations-fakejs.js:466 +#: static/admin/translations-fakejs.js:492 msgid "Ok" msgstr "Ok" -#: static/admin/translations-fakejs.js:278 +#: static/admin/translations-fakejs.js:279 msgid "Discard & close" msgstr "Descartar y cerrar" -#: static/admin/translations-fakejs.js:279 -#: static/admin/translations-fakejs.js:480 +#: static/admin/translations-fakejs.js:280 +#: static/admin/translations-fakejs.js:484 msgid "Save" msgstr "Guardar" -#: static/admin/translations-fakejs.js:280 +#: static/admin/translations-fakejs.js:281 msgid "New user permission for" msgstr "Nuevo permiso de usuario para" -#: static/admin/translations-fakejs.js:281 +#: static/admin/translations-fakejs.js:282 msgid "New group permission for" msgstr "Nuevo permiso de grupo para" -#: static/admin/translations-fakejs.js:284 +#: static/admin/translations-fakejs.js:285 msgid "Permissions for" msgstr "Permisos para" -#: static/admin/translations-fakejs.js:287 +#: static/admin/translations-fakejs.js:288 msgid "New permission..." msgstr "Nuevo permiso..." -#: static/admin/translations-fakejs.js:290 -#: static/admin/translations-fakejs.js:297 +#: static/admin/translations-fakejs.js:291 +#: static/admin/translations-fakejs.js:298 msgid "Export" msgstr "Exportar" -#: static/admin/translations-fakejs.js:292 #: static/admin/translations-fakejs.js:293 #: static/admin/translations-fakejs.js:294 +#: static/admin/translations-fakejs.js:295 msgid "New" msgstr "Nuevo" -#: static/admin/translations-fakejs.js:295 -#: static/admin/translations-fakejs.js:302 +#: static/admin/translations-fakejs.js:296 +#: static/admin/translations-fakejs.js:304 msgid "Edit" msgstr "Editar" -#: static/admin/translations-fakejs.js:296 -#: static/admin/translations-fakejs.js:303 +#: static/admin/translations-fakejs.js:297 +#: static/admin/translations-fakejs.js:305 msgid "Permissions" msgstr "Permisos" -#: static/admin/translations-fakejs.js:298 -#: static/admin/translations-fakejs.js:304 +#: static/admin/translations-fakejs.js:299 +#: static/admin/translations-fakejs.js:306 msgid "Delete" msgstr "Borrar" -#: static/admin/translations-fakejs.js:300 +#: static/admin/translations-fakejs.js:301 msgid "Selected items" msgstr "Elementos seleccionados" -#: static/admin/translations-fakejs.js:301 +#: static/admin/translations-fakejs.js:302 +msgid "Copy" +msgstr "Dupdo" + +#: static/admin/translations-fakejs.js:303 msgid "Detail" msgstr "Detalles" -#: static/admin/translations-fakejs.js:305 +#: static/admin/translations-fakejs.js:307 #: static/modern/translations-fakejs.js:43 msgid "Close" msgstr "Cerrar" -#: static/admin/translations-fakejs.js:308 +#: static/admin/translations-fakejs.js:310 msgid "User mode" msgstr "Modo de usuario" -#: static/admin/translations-fakejs.js:309 +#: static/admin/translations-fakejs.js:311 #: static/modern/translations-fakejs.js:48 msgid "Logout" msgstr "Cerrar sesión" -#: static/admin/translations-fakejs.js:310 -#: static/admin/translations-fakejs.js:367 -#: static/admin/translations-fakejs.js:385 -#: static/admin/translations-fakejs.js:396 -#: static/admin/translations-fakejs.js:449 -#: static/admin/translations-fakejs.js:463 +#: static/admin/translations-fakejs.js:312 +#: static/admin/translations-fakejs.js:371 +#: static/admin/translations-fakejs.js:389 +#: static/admin/translations-fakejs.js:400 +#: static/admin/translations-fakejs.js:453 +#: static/admin/translations-fakejs.js:467 msgid "Summary" msgstr "Resumen" -#: static/admin/translations-fakejs.js:311 -#: static/admin/translations-fakejs.js:464 +#: static/admin/translations-fakejs.js:313 +#: static/admin/translations-fakejs.js:468 msgid "Services" msgstr "Servicios" -#: static/admin/translations-fakejs.js:312 +#: static/admin/translations-fakejs.js:314 msgid "Authenticators" msgstr "Autenticadores" -#: static/admin/translations-fakejs.js:313 +#: static/admin/translations-fakejs.js:315 msgid "Os Managers" msgstr "OS Managers" -#: static/admin/translations-fakejs.js:314 +#: static/admin/translations-fakejs.js:316 msgid "Connectivity" msgstr "Conectividad" -#: static/admin/translations-fakejs.js:315 -#: static/admin/translations-fakejs.js:453 +#: static/admin/translations-fakejs.js:317 +#: static/admin/translations-fakejs.js:457 #: static/modern/translations-fakejs.js:39 msgid "Transports" msgstr "Transportes" -#: static/admin/translations-fakejs.js:316 +#: static/admin/translations-fakejs.js:318 #: static/modern/translations-fakejs.js:41 msgid "Networks" msgstr "Redes" -#: static/admin/translations-fakejs.js:317 +#: static/admin/translations-fakejs.js:319 msgid "Proxies" msgstr "Proxies" -#: static/admin/translations-fakejs.js:318 +#: static/admin/translations-fakejs.js:320 msgid "Pools" msgstr "Pools" -#: static/admin/translations-fakejs.js:320 +#: static/admin/translations-fakejs.js:322 msgid "Meta pools" msgstr "Meta pools" -#: static/admin/translations-fakejs.js:322 +#: static/admin/translations-fakejs.js:324 msgid "Calendars" msgstr "Calendarios" -#: static/admin/translations-fakejs.js:323 +#: static/admin/translations-fakejs.js:325 msgid "Accounts" msgstr "Contadores" -#: static/admin/translations-fakejs.js:324 +#: static/admin/translations-fakejs.js:326 msgid "Tools" msgstr "Herramientas" -#: static/admin/translations-fakejs.js:325 +#: static/admin/translations-fakejs.js:327 msgid "Gallery" msgstr "Galería" -#: static/admin/translations-fakejs.js:326 +#: static/admin/translations-fakejs.js:328 msgid "Reports" msgstr "Informes" -#: static/admin/translations-fakejs.js:327 -msgid "Configuration" -msgstr "Configuración" - -#: static/admin/translations-fakejs.js:328 -msgid "Actor tokens" -msgstr "Tokens del Actor" - #: static/admin/translations-fakejs.js:329 +msgid "Tokens" +msgstr "Tokens" + +#: static/admin/translations-fakejs.js:330 +msgid "Actor" +msgstr "Actor" + +#: static/admin/translations-fakejs.js:331 +msgid "Tunnel" +msgstr "Túnel" + +#: static/admin/translations-fakejs.js:332 msgid "Flush Cache" msgstr "Vaciar caché" -#: static/admin/translations-fakejs.js:330 -#: static/admin/translations-fakejs.js:362 -#: static/admin/translations-fakejs.js:459 +#: static/admin/translations-fakejs.js:333 +msgid "Configuration" +msgstr "Configuración" + +#: static/admin/translations-fakejs.js:334 +#: static/admin/translations-fakejs.js:366 +#: static/admin/translations-fakejs.js:463 msgid "Information for" msgstr "Información para" -#: static/admin/translations-fakejs.js:335 +#: static/admin/translations-fakejs.js:339 msgid "Edit group" msgstr "Editar grupo" -#: static/admin/translations-fakejs.js:336 +#: static/admin/translations-fakejs.js:340 msgid "New group" msgstr "Nuevo grupo" -#: static/admin/translations-fakejs.js:337 +#: static/admin/translations-fakejs.js:341 msgid "Meta group name" msgstr "Nombre del meta grupo" -#: static/admin/translations-fakejs.js:342 +#: static/admin/translations-fakejs.js:346 msgid "Service Pools" msgstr "Service Pool" -#: static/admin/translations-fakejs.js:343 +#: static/admin/translations-fakejs.js:347 msgid "Match mode" msgstr "Modo de coincidencia" -#: static/admin/translations-fakejs.js:344 +#: static/admin/translations-fakejs.js:348 msgid "Selected Groups" msgstr "Grupos seleccionados" -#: static/admin/translations-fakejs.js:347 +#: static/admin/translations-fakejs.js:351 msgid "Edit user" msgstr "Editar usuario" -#: static/admin/translations-fakejs.js:348 +#: static/admin/translations-fakejs.js:352 msgid "New user" msgstr "Nuevo usuario" -#: static/admin/translations-fakejs.js:349 +#: static/admin/translations-fakejs.js:353 msgid "Real name" msgstr "Nombre real" -#: static/admin/translations-fakejs.js:355 +#: static/admin/translations-fakejs.js:359 msgid "Role" msgstr "Rol" -#: static/admin/translations-fakejs.js:356 +#: static/admin/translations-fakejs.js:360 msgid "Admin" msgstr "Admin" -#: static/admin/translations-fakejs.js:357 +#: static/admin/translations-fakejs.js:361 msgid "Staff member" msgstr "Miembro del personal" -#: static/admin/translations-fakejs.js:365 +#: static/admin/translations-fakejs.js:369 msgid "Assigned Services" msgstr "Servicios Asignados" -#: static/admin/translations-fakejs.js:371 +#: static/admin/translations-fakejs.js:375 msgid "Account usage" msgstr "Uso de la cuenta" -#: static/admin/translations-fakejs.js:372 +#: static/admin/translations-fakejs.js:376 msgid "Edit rule" msgstr "Editar regla" -#: static/admin/translations-fakejs.js:373 +#: static/admin/translations-fakejs.js:377 msgid "New rule" msgstr "Nueva regla" -#: static/admin/translations-fakejs.js:376 +#: static/admin/translations-fakejs.js:380 msgid "Event" msgstr "Evento" -#: static/admin/translations-fakejs.js:377 +#: static/admin/translations-fakejs.js:381 msgid "Start time" msgstr "Hora de inicio" -#: static/admin/translations-fakejs.js:378 +#: static/admin/translations-fakejs.js:382 msgid "Duration" msgstr "Duración" -#: static/admin/translations-fakejs.js:379 +#: static/admin/translations-fakejs.js:383 msgid "Duration units" msgstr "Unidades de duración" -#: static/admin/translations-fakejs.js:380 +#: static/admin/translations-fakejs.js:384 msgid "Start date" msgstr "Fecha de inicio" -#: static/admin/translations-fakejs.js:381 +#: static/admin/translations-fakejs.js:385 msgid "Repeat until date" msgstr "Repetir hasta la fecha" -#: static/admin/translations-fakejs.js:382 +#: static/admin/translations-fakejs.js:386 msgid "Frequency" msgstr "Frecuencia" -#: static/admin/translations-fakejs.js:384 +#: static/admin/translations-fakejs.js:388 msgid "Repeat every" msgstr "Repite cada" -#: static/admin/translations-fakejs.js:388 +#: static/admin/translations-fakejs.js:392 msgid "Rules" msgstr "Reglas" -#: static/admin/translations-fakejs.js:389 +#: static/admin/translations-fakejs.js:393 msgid "New member pool" msgstr "Nuevo miembro en el pool" -#: static/admin/translations-fakejs.js:390 +#: static/admin/translations-fakejs.js:394 msgid "Edit member pool" msgstr "Editar miembros en el pool" -#: static/admin/translations-fakejs.js:391 -#: static/admin/translations-fakejs.js:416 +#: static/admin/translations-fakejs.js:395 +#: static/admin/translations-fakejs.js:420 msgid "Priority" msgstr "Prioridad" -#: static/admin/translations-fakejs.js:392 +#: static/admin/translations-fakejs.js:396 msgid "Service pool" msgstr "Service pool" -#: static/admin/translations-fakejs.js:393 +#: static/admin/translations-fakejs.js:397 msgid "Enabled?" msgstr "¿Habilitado?" -#: static/admin/translations-fakejs.js:400 -#: static/admin/translations-fakejs.js:456 +#: static/admin/translations-fakejs.js:404 +#: static/admin/translations-fakejs.js:460 msgid "Access calendars" msgstr "Calendarios de acceso" -#: static/admin/translations-fakejs.js:402 +#: static/admin/translations-fakejs.js:406 msgid "Assign service to user manually" msgstr "Asignar servicio al usuario manualmente" -#: static/admin/translations-fakejs.js:403 +#: static/admin/translations-fakejs.js:407 msgid "Service" msgstr "Servicio" -#: static/admin/translations-fakejs.js:408 +#: static/admin/translations-fakejs.js:412 msgid "Change owner of assigned service" msgstr "Cambiar propietario del servicio asignado" -#: static/admin/translations-fakejs.js:413 +#: static/admin/translations-fakejs.js:417 msgid "New access rule for" msgstr "Nueva regla de acceso para" -#: static/admin/translations-fakejs.js:414 +#: static/admin/translations-fakejs.js:418 msgid "Edit access rule for" msgstr "Editar regla de acceso para" -#: static/admin/translations-fakejs.js:415 +#: static/admin/translations-fakejs.js:419 msgid "Default fallback access for" msgstr "Acceso de reserva predeterminado para" -#: static/admin/translations-fakejs.js:417 -#: static/admin/translations-fakejs.js:438 +#: static/admin/translations-fakejs.js:421 +#: static/admin/translations-fakejs.js:442 msgid "Calendar" msgstr "Calendario" -#: static/admin/translations-fakejs.js:418 -#: static/admin/translations-fakejs.js:441 +#: static/admin/translations-fakejs.js:422 +#: static/admin/translations-fakejs.js:445 msgid "Action" msgstr "Acción" -#: static/admin/translations-fakejs.js:421 +#: static/admin/translations-fakejs.js:425 msgid "New group for" msgstr "Nuevo grupo para" -#: static/admin/translations-fakejs.js:426 +#: static/admin/translations-fakejs.js:430 msgid "New transport for" msgstr "Nuevo transporte para" -#: static/admin/translations-fakejs.js:427 -#: static/admin/translations-fakejs.js:442 +#: static/admin/translations-fakejs.js:431 +#: static/admin/translations-fakejs.js:446 msgid "Transport" msgstr "Transporte" -#: static/admin/translations-fakejs.js:430 +#: static/admin/translations-fakejs.js:434 msgid "New publication for" msgstr "Nueva publicación para" -#: static/admin/translations-fakejs.js:434 +#: static/admin/translations-fakejs.js:438 msgid "Changelog of" msgstr "Registro de cambios de" -#: static/admin/translations-fakejs.js:436 +#: static/admin/translations-fakejs.js:440 msgid "Edit action for" msgstr "Editar acción para" -#: static/admin/translations-fakejs.js:437 +#: static/admin/translations-fakejs.js:441 msgid "New action for" msgstr "Nueva accion para" -#: static/admin/translations-fakejs.js:439 +#: static/admin/translations-fakejs.js:443 msgid "Events offset (minutes)" msgstr "Eventos compensados (minutos)" -#: static/admin/translations-fakejs.js:440 +#: static/admin/translations-fakejs.js:444 msgid "At the beginning of the interval?" msgstr "¿Al principio del intervalo?" -#: static/admin/translations-fakejs.js:447 +#: static/admin/translations-fakejs.js:451 msgid "Logs of" msgstr "Registros de" -#: static/admin/translations-fakejs.js:451 +#: static/admin/translations-fakejs.js:455 msgid "Cache" msgstr "Caché" -#: static/admin/translations-fakejs.js:454 +#: static/admin/translations-fakejs.js:458 msgid "Publications" msgstr "Publicaciones" -#: static/admin/translations-fakejs.js:455 +#: static/admin/translations-fakejs.js:459 msgid "Scheduled actions" msgstr "Acciones programadas" -#: static/admin/translations-fakejs.js:457 +#: static/admin/translations-fakejs.js:461 msgid "Charts" msgstr "Gráficos" -#: static/admin/translations-fakejs.js:460 +#: static/admin/translations-fakejs.js:464 msgid "Services pools" msgstr "Services pools" -#: static/admin/translations-fakejs.js:465 +#: static/admin/translations-fakejs.js:469 msgid "Usage" msgstr "Uso" -#: static/admin/translations-fakejs.js:467 +#: static/admin/translations-fakejs.js:471 #: static/modern/translations-fakejs.js:46 msgid "Dashboard" msgstr "Panel de control" -#: static/admin/translations-fakejs.js:468 +#: static/admin/translations-fakejs.js:472 msgid "View authenticators" msgstr "Ver autenticadores" -#: static/admin/translations-fakejs.js:469 -#: static/admin/translations-fakejs.js:470 -#: static/admin/translations-fakejs.js:471 +#: static/admin/translations-fakejs.js:473 +#: static/admin/translations-fakejs.js:474 +#: static/admin/translations-fakejs.js:475 msgid "View service pools" msgstr "Ver service pools" -#: static/admin/translations-fakejs.js:472 +#: static/admin/translations-fakejs.js:476 msgid "Assigned services chart" msgstr "Cuadro de servicios asignados" -#: static/admin/translations-fakejs.js:473 +#: static/admin/translations-fakejs.js:477 msgid "In use services chart" msgstr "Cuadro de servicios en uso" -#: static/admin/translations-fakejs.js:474 +#: static/admin/translations-fakejs.js:478 msgid "UDS Administration" msgstr "Administración de UDS" -#: static/admin/translations-fakejs.js:475 +#: static/admin/translations-fakejs.js:479 msgid "You are accessing UDS Administration as staff member." msgstr "" "Usted está accediendo al Panel de control de UDS como miembro del personal." -#: static/admin/translations-fakejs.js:476 +#: static/admin/translations-fakejs.js:480 msgid "This means that you have restricted access to elements." msgstr "Esto significa que tienes acceso restringido a los elementos." -#: static/admin/translations-fakejs.js:477 +#: static/admin/translations-fakejs.js:481 msgid "" "In order to increase your access privileges, please contact your local UDS " "administrator." @@ -1576,35 +1593,35 @@ msgstr "" "Para aumentar sus privilegios de acceso, comuníquese con su administrador de " "UDS." -#: static/admin/translations-fakejs.js:478 +#: static/admin/translations-fakejs.js:482 msgid "Thank you." msgstr "Gracias." -#: static/admin/translations-fakejs.js:479 +#: static/admin/translations-fakejs.js:483 msgid "UDS Configuration" msgstr "Configuración UDS" -#: static/admin/translations-fakejs.js:481 +#: static/admin/translations-fakejs.js:485 msgid "New image for" msgstr "Nueva imagen para" -#: static/admin/translations-fakejs.js:482 +#: static/admin/translations-fakejs.js:486 msgid "Edit for" msgstr "Editar para" -#: static/admin/translations-fakejs.js:483 +#: static/admin/translations-fakejs.js:487 msgid "Image name" msgstr "Nombre de la imágen" -#: static/admin/translations-fakejs.js:484 +#: static/admin/translations-fakejs.js:488 msgid "Image (click to change)" msgstr "Imagen (click para cambiar)" -#: static/admin/translations-fakejs.js:485 +#: static/admin/translations-fakejs.js:489 msgid "For optimal results, use " msgstr "Para obtener resultados óptimos, use" -#: static/admin/translations-fakejs.js:486 +#: static/admin/translations-fakejs.js:490 msgid "The image will be resized on upload to" msgstr "La imagen se redimensionará al subir a" diff --git a/server/src/uds/locale/eu/LC_MESSAGES/django.po b/server/src/uds/locale/eu/LC_MESSAGES/django.po index 49a99b1e3..5ba968080 100644 --- a/server/src/uds/locale/eu/LC_MESSAGES/django.po +++ b/server/src/uds/locale/eu/LC_MESSAGES/django.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: OpenUDS\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-08 14:18+0200\n" +"POT-Creation-Date: 2021-07-29 13:12+0200\n" "PO-Revision-Date: 2021-07-08 10:58+0000\n" "Last-Translator: Adolfo Gómez \n" "Language-Team: Basque (http://www.transifex.com/openuds/openuds/language/" @@ -30,7 +30,7 @@ msgstr "Kontuak" #: REST/methods/osmanagers.py:55 REST/methods/providers.py:71 #: REST/methods/proxies.py:59 REST/methods/reports.py:57 #: REST/methods/services_pool_groups.py:63 REST/methods/services_pools.py:133 -#: REST/methods/transports.py:58 REST/methods/user_services.py:321 +#: REST/methods/transports.py:66 REST/methods/user_services.py:321 #: REST/methods/user_services.py:396 REST/methods/users_groups.py:122 #: REST/model.py:149 msgid "Name" @@ -41,7 +41,7 @@ msgstr "Izena" #: REST/methods/meta_pools.py:71 REST/methods/osmanagers.py:57 #: REST/methods/providers.py:73 REST/methods/proxies.py:62 #: REST/methods/services.py:241 REST/methods/services_pool_groups.py:64 -#: REST/methods/transports.py:60 REST/methods/user_services.py:398 +#: REST/methods/transports.py:68 REST/methods/user_services.py:398 #: REST/methods/users_groups.py:123 REST/methods/users_groups.py:291 #: REST/model.py:173 msgid "Comments" @@ -56,7 +56,7 @@ msgstr "Denbora-marka" #: REST/methods/networks.py:63 REST/methods/osmanagers.py:59 #: REST/methods/providers.py:79 REST/methods/proxies.py:63 #: REST/methods/services.py:250 REST/methods/services_pools.py:142 -#: REST/methods/transports.py:63 +#: REST/methods/transports.py:77 msgid "tags" msgstr "Etiketak" @@ -68,7 +68,7 @@ msgstr "Pool izena" msgid "User name" msgstr "Erabiltzaile-izena" -#: REST/methods/accountsusage.py:94 core/util/state.py:78 +#: REST/methods/accountsusage.py:94 core/util/state.py:79 #: core/util/states/common.py:71 msgid "Running" msgstr "Exekutatzen" @@ -115,11 +115,11 @@ msgstr "Kudeaketa gabeko ostalaria" msgid "User service not found" msgstr "Ez da Erabiltzaile-zerbitzurik aurkitu" -#: REST/methods/actor_token.py:51 REST/methods/tunnel_token.py:51 +#: REST/methods/actor_token.py:51 msgid "Actor tokens" msgstr "Aktoreen marka-ikurrak" -#: REST/methods/actor_token.py:54 REST/methods/tunnel_token.py:54 +#: REST/methods/actor_token.py:54 REST/methods/tunnel_token.py:51 #: reports/auto/fields.py:56 reports/stats/pools_performance.py:217 #: reports/stats/pools_performance.py:236 reports/stats/pools_usage_day.py:64 #: reports/stats/usage_by_pool.py:169 reports/stats/user_access.py:190 @@ -127,11 +127,11 @@ msgstr "Aktoreen marka-ikurrak" msgid "Date" msgstr "Data" -#: REST/methods/actor_token.py:55 REST/methods/tunnel_token.py:55 +#: REST/methods/actor_token.py:55 REST/methods/tunnel_token.py:52 msgid "Issued by" msgstr "Jaulkia" -#: REST/methods/actor_token.py:56 REST/methods/tunnel_token.py:56 +#: REST/methods/actor_token.py:56 REST/methods/tunnel_token.py:53 #: reports/stats/usage_by_pool.py:173 #: templates/uds/reports/stats/usage-by-pool.html:18 msgid "Origin" @@ -157,7 +157,7 @@ msgstr "Exekutatu behin" msgid "Log level" msgstr "Erregistro maila" -#: REST/methods/actor_token.py:67 REST/methods/tunnel_token.py:63 +#: REST/methods/actor_token.py:67 REST/methods/tunnel_token.py:60 msgid "Token isued by {} from {}" msgstr "Token {} etatik {} isued" @@ -171,13 +171,13 @@ msgstr "Id" #: REST/methods/authenticators.py:67 REST/methods/osmanagers.py:56 #: REST/methods/providers.py:72 REST/methods/services.py:242 -#: REST/methods/transports.py:59 REST/methods/user_services.py:397 +#: REST/methods/transports.py:67 REST/methods/user_services.py:397 msgid "Type" msgstr "Mota" #: REST/methods/authenticators.py:69 REST/methods/meta_service_pools.py:88 #: REST/methods/op_calendars.py:80 REST/methods/services_pool_groups.py:61 -#: REST/methods/transports.py:57 REST/methods/user_services.py:395 +#: REST/methods/transports.py:65 REST/methods/user_services.py:395 #: REST/model.py:185 models/meta_pool.py:73 msgid "Priority" msgstr "Lehentasuna" @@ -189,7 +189,7 @@ msgid "Visible" msgstr "Ikusgai" #: REST/methods/authenticators.py:71 REST/methods/meta_pools.py:77 -#: REST/methods/transports.py:115 REST/model.py:201 +#: REST/methods/transports.py:164 REST/model.py:201 msgid "Label" msgstr "Etiketa" @@ -388,7 +388,7 @@ msgid "Pool" msgstr "Pool" #: REST/methods/meta_service_pools.py:197 REST/methods/services_usage.py:122 -#: REST/methods/tunnel_token.py:57 REST/methods/user_services.py:139 +#: REST/methods/tunnel_token.py:54 REST/methods/user_services.py:139 #: REST/methods/user_services.py:270 auths/IP/authenticator.py:68 msgid "IP" msgstr "IP" @@ -436,7 +436,7 @@ msgstr "Elementua dagoeneko ezabatzen ari da" msgid "Item is not removable" msgstr "Elementua ez da ezabagarria" -#: REST/methods/networks.py:58 REST/methods/transports.py:88 +#: REST/methods/networks.py:58 REST/methods/transports.py:114 msgid "Networks" msgstr "Sareak" @@ -564,7 +564,7 @@ msgstr "Egiaztatu ziurtagiria" #: services/OpenGnsys/provider.py:97 services/OpenNebula/provider.py:77 #: services/OpenStack/provider_legacy.py:106 services/Proxmox/provider.py:66 #: services/VCloud_enterprise/provider.py:32 -#: services/Vmware_enterprise/provider.py:41 services/Xen/provider.py:100 +#: services/Vmware_enterprise/provider.py:45 services/Xen/provider.py:100 msgid "Host" msgstr "Ostalaria" @@ -583,7 +583,7 @@ msgstr "Proxy gisa erabiliko den zerbitzaria (IP edo FQDN)." #: services/OpenStack/provider_legacy.py:110 services/Proxmox/provider.py:73 #: services/RDS_enterprise/provider.py:101 #: services/VCloud_enterprise/provider.py:33 -#: services/Vmware_enterprise/provider.py:42 +#: services/Vmware_enterprise/provider.py:52 msgid "Port" msgstr "Portua" @@ -704,8 +704,8 @@ msgstr "Ondo" msgid "Services Pool Groups" msgstr "Pool-zerbitzu taldeak" -#: REST/methods/services_pools.py:131 REST/methods/transports.py:61 -#: REST/methods/transports.py:106 +#: REST/methods/services_pools.py:131 REST/methods/transports.py:71 +#: REST/methods/transports.py:152 msgid "Service Pools" msgstr "Pool-Zerbitzua" @@ -854,19 +854,19 @@ msgstr "Zerbitzuen erabilpena" msgid "Service" msgstr "Zerbitzua" -#: REST/methods/transports.py:55 +#: REST/methods/transports.py:63 msgid "Transports" msgstr "Garraioak" -#: REST/methods/transports.py:62 +#: REST/methods/transports.py:76 msgid "Devices" msgstr "Gailuak" -#: REST/methods/transports.py:79 +#: REST/methods/transports.py:97 msgid "Network access" msgstr "Sare sarrera" -#: REST/methods/transports.py:80 +#: REST/methods/transports.py:99 msgid "" "If checked, the transport will be enabled for the selected networks. If " "unchecked, transport will be disabled for selected networks" @@ -874,7 +874,7 @@ msgstr "" "Hautatuta badago, garraioa hautatutako sareetarako gaituko da. Ez bada " "hautatuta, garraioa desgaituko da hautatutako sareetarako" -#: REST/methods/transports.py:89 +#: REST/methods/transports.py:116 msgid "" "Networks associated with this transport. If No network selected, will mean " "\"all networks\"" @@ -882,11 +882,11 @@ msgstr "" "Garraio honekin loturiko sareak. Sarerik ez bada aukeratzen, denak lotuko " "dira" -#: REST/methods/transports.py:97 +#: REST/methods/transports.py:134 msgid "Allowed Devices" msgstr "Baimendutako gailuak" -#: REST/methods/transports.py:98 +#: REST/methods/transports.py:136 msgid "" "If empty, any kind of device compatible with this transport will be allowed. " "Else, only devices compatible with selected values will be allowed" @@ -895,17 +895,22 @@ msgstr "" "Bestela, hautatutako balioekin bateragarriak diren gailuak bakarrik onartuko " "dira" -#: REST/methods/transports.py:107 +#: REST/methods/transports.py:153 msgid "Currently assigned services pools" msgstr "Une honetan esleiturik dauden zerbitzu-poolak" -#: REST/methods/transports.py:116 +#: REST/methods/transports.py:166 msgid "Metapool transport label (only used on metapool transports grouping)" msgstr "" "Metapool garraioaren etiketa (metapool garraioen taldekatzeetan soilik " "erabiltzen da)" -#: REST/methods/tunnel_token.py:53 +#: REST/methods/tunnel_token.py:48 +#| msgid "Tunneled" +msgid "Tunnel tokens" +msgstr "Tuneleko tokenak" + +#: REST/methods/tunnel_token.py:50 msgid "Token" msgstr "Token" @@ -1004,7 +1009,7 @@ msgstr "Momentuko erabiltzaileak" #: services/OpenStack/provider.py:127 services/OpenStack/provider_legacy.py:144 #: services/Proxmox/provider.py:82 services/RDS_enterprise/provider.py:118 #: services/VCloud_enterprise/provider.py:35 -#: services/Vmware_enterprise/provider.py:43 services/Xen/provider.py:107 +#: services/Vmware_enterprise/provider.py:60 services/Xen/provider.py:107 #: transports/HTML5RDP/html5rdp.py:103 transports/HTML5VNC/html5vnc.py:75 #: transports/NoMachine_enterprise/nomachine_base.py:63 #: transports/PCoIP_enterprise/pcoip.py:59 transports/RDP/rdp_base.py:75 @@ -1150,7 +1155,7 @@ msgstr "" #: services/OpenStack/provider.py:135 services/OpenStack/provider_legacy.py:152 #: services/Proxmox/provider.py:92 services/RDS_enterprise/provider.py:126 #: services/Sample/service.py:140 services/VCloud_enterprise/provider.py:36 -#: services/Vmware_enterprise/provider.py:44 services/Xen/provider.py:115 +#: services/Vmware_enterprise/provider.py:67 services/Xen/provider.py:115 #: transports/HTML5RDP/html5rdp.py:109 transports/HTML5VNC/html5vnc.py:76 #: transports/NoMachine_enterprise/nomachine_base.py:69 #: transports/PCoIP_enterprise/pcoip.py:60 transports/RDP/rdp_base.py:81 @@ -1175,7 +1180,7 @@ msgstr "LDAP erabiltzailearen pasahitza" #: services/OpenGnsys/provider.py:164 services/OpenNebula/provider.py:86 #: services/OpenStack/provider.py:166 services/OpenStack/provider_legacy.py:183 #: services/Proxmox/provider.py:123 services/VCloud_enterprise/provider.py:63 -#: services/Vmware_enterprise/provider.py:50 +#: services/Vmware_enterprise/provider.py:99 msgid "Timeout" msgstr "Demboraz kampo" @@ -1655,11 +1660,11 @@ msgstr "SAML autentikatzailea" msgid "SAML (v2.0) Authenticator" msgstr "SAML (v2.0) autentikatzailea" -#: auths/SAML_enterprise/saml.py:127 +#: auths/SAML_enterprise/saml.py:129 msgid "Private key" msgstr "Gako pribatua" -#: auths/SAML_enterprise/saml.py:128 +#: auths/SAML_enterprise/saml.py:132 msgid "" "Private key used for sign and encription, as generated in base 64 from " "openssl" @@ -1667,15 +1672,15 @@ msgstr "" "Seinale eta enkripzioan erabilitako gako pribatua, oinarrian sortutako 64 " "ataka irekitik" -#: auths/SAML_enterprise/saml.py:129 auths/SAML_enterprise/saml.py:134 +#: auths/SAML_enterprise/saml.py:135 auths/SAML_enterprise/saml.py:146 msgid "Certificates" msgstr "Ziurtagiriak" -#: auths/SAML_enterprise/saml.py:132 transports/SPICE/spice_base.py:82 +#: auths/SAML_enterprise/saml.py:140 transports/SPICE/spice_base.py:82 msgid "Certificate" msgstr "Ziurtagiria" -#: auths/SAML_enterprise/saml.py:133 +#: auths/SAML_enterprise/saml.py:143 msgid "" "Public key used for sign and encription (public part of previous private " "key), as generated in base 64 from openssl" @@ -1683,62 +1688,62 @@ msgstr "" "Sartu eta erregistratzeko (gako pribatuaren aurreko atal publikoa) " "erabilitako gako publikoa, oinarrian sortua 64 ataka irekitik" -#: auths/SAML_enterprise/saml.py:137 +#: auths/SAML_enterprise/saml.py:151 msgid "IDP Metadata" msgstr "IDP Metadata" -#: auths/SAML_enterprise/saml.py:138 +#: auths/SAML_enterprise/saml.py:154 msgid "" "You can enter here the URL or the IDP metadata or the metadata itself (xml)" msgstr "Hemen sar dezakezu URLa edo IDP metadatuak edo metadatu bera (xml)" -#: auths/SAML_enterprise/saml.py:139 auths/SAML_enterprise/saml.py:143 +#: auths/SAML_enterprise/saml.py:157 auths/SAML_enterprise/saml.py:166 msgid "Metadata" msgstr "Metadata" -#: auths/SAML_enterprise/saml.py:142 +#: auths/SAML_enterprise/saml.py:161 msgid "Entity ID" msgstr "Erakunde IDa" -#: auths/SAML_enterprise/saml.py:143 +#: auths/SAML_enterprise/saml.py:164 msgid "ID of the SP. If left blank, this will be autogenerated from server URL" msgstr "" "SP IDa. Utzi hutsik badaude, zerbitzariaren URLa automatikoki sortuko da" -#: auths/SAML_enterprise/saml.py:147 +#: auths/SAML_enterprise/saml.py:172 msgid "User name attrs" msgstr "Erabiltzaile-izen atributuak" -#: auths/SAML_enterprise/saml.py:148 +#: auths/SAML_enterprise/saml.py:174 msgid "Fields from where to extract user name" msgstr "Erabiltzaile izena ateratzeko eremuak" -#: auths/SAML_enterprise/saml.py:148 auths/SAML_enterprise/saml.py:153 -#: auths/SAML_enterprise/saml.py:158 +#: auths/SAML_enterprise/saml.py:176 auths/SAML_enterprise/saml.py:186 +#: auths/SAML_enterprise/saml.py:196 msgid "Attributes" msgstr "Atributuak" -#: auths/SAML_enterprise/saml.py:152 +#: auths/SAML_enterprise/saml.py:182 msgid "Group name attrs" msgstr "Talde-izen atributuak" -#: auths/SAML_enterprise/saml.py:153 +#: auths/SAML_enterprise/saml.py:184 msgid "Fields from where to extract the groups" msgstr "Taldeak ateratzeko eremuak" -#: auths/SAML_enterprise/saml.py:157 +#: auths/SAML_enterprise/saml.py:192 msgid "Real name attrs" msgstr "Benetazko izenaren atributuak" -#: auths/SAML_enterprise/saml.py:158 +#: auths/SAML_enterprise/saml.py:194 msgid "Fields from where to extract the real name" msgstr "Izen erreala ateratzeko eremuetatik" -#: auths/SAML_enterprise/saml.py:176 +#: auths/SAML_enterprise/saml.py:216 msgid "SAML Authenticator does not support white spaces on field NAME" msgstr "SAML autetikatzaileak ez du NAME eremuan espaziorik onartzen" -#: auths/SAML_enterprise/saml.py:183 +#: auths/SAML_enterprise/saml.py:230 msgid "" "Server certificate should be a valid PEM (PEM certificates starts with -----" "BEGIN CERTIFICATE-----)" @@ -1746,11 +1751,11 @@ msgstr "" "Zerbitzariaren ziurtagiria PEM baliagarria izan behar da (PEM ziurtagiriak " "hasi behar dira ----- ZIURTATUEI BEGIN -----)" -#: auths/SAML_enterprise/saml.py:188 +#: auths/SAML_enterprise/saml.py:238 msgid "Invalid server certificate. " msgstr "Baliogabeko zerbitzari ziiurtagiria" -#: auths/SAML_enterprise/saml.py:192 +#: auths/SAML_enterprise/saml.py:249 msgid "" "Private key should be a valid PEM (PEM private keys starts with -----BEGIN " "RSA PRIVATE KEY-----" @@ -1758,48 +1763,48 @@ msgstr "" "Gako pribatua PEM baliagarria izan behar da (PEM gako pribatuak hasten dira " "----- BEGIN RSA PRIBATUA KEY -----" -#: auths/SAML_enterprise/saml.py:197 +#: auths/SAML_enterprise/saml.py:257 msgid "Invalid private key. " msgstr "Gako pribatua baliogabea da." -#: auths/SAML_enterprise/saml.py:214 +#: auths/SAML_enterprise/saml.py:276 #, python-brace-format msgid "Can't fetch url {0}: {1}" msgstr "Ezin da URL {0} eskuratu: {1}" -#: auths/SAML_enterprise/saml.py:222 +#: auths/SAML_enterprise/saml.py:287 msgid " (obtained from URL)" msgstr "(URLetik lortzen da)" -#: auths/SAML_enterprise/saml.py:223 +#: auths/SAML_enterprise/saml.py:289 msgid "XML does not seem valid for IDP Metadata " msgstr "XML IDP Metadata ez da baliozkoa" -#: auths/SAML_enterprise/saml.py:239 +#: auths/SAML_enterprise/saml.py:311 msgid "Can't access idp metadata" msgstr "Ezin dira idp metadatuak atzitu" -#: auths/Sample/SampleAuth.py:76 +#: auths/Sample/SampleAuth.py:79 msgid "Sample Authenticator" msgstr "Adibide autetikatzailea" -#: auths/Sample/SampleAuth.py:88 +#: auths/Sample/SampleAuth.py:91 msgid "Sample dummy authenticator" msgstr "Dummy adibide autentikatzailea" -#: auths/Sample/SampleAuth.py:106 +#: auths/Sample/SampleAuth.py:109 msgid "Fake User" msgstr "Erabiltzaile faltsua" -#: auths/Sample/SampleAuth.py:109 +#: auths/Sample/SampleAuth.py:112 msgid "Fake Group" msgstr "Talde faltsua" -#: auths/Sample/SampleAuth.py:115 +#: auths/Sample/SampleAuth.py:118 msgid "Groups" msgstr "Taldeak" -#: auths/Sample/SampleAuth.py:128 +#: auths/Sample/SampleAuth.py:132 msgid "We need more than two groups!" msgstr "Bi talde baino gehiago behar ditugu!" @@ -1986,7 +1991,7 @@ msgstr "Oinarrizko Zerbitzua" #: core/services/service.py:141 core/services/service.py:150 #: models/permissions.py:92 models/permissions.py:96 -#: services/Azure_enterprise/helpers.py:97 services/OpenStack/helpers.py:74 +#: services/Azure_enterprise/helpers.py:100 services/OpenStack/helpers.py:74 #: services/Proxmox/service.py:194 services/Sample/service.py:98 #: services/Sample/service.py:104 services/TestService_enterprise/service.py:28 msgid "None" @@ -2012,79 +2017,79 @@ msgstr "Tunela" msgid "Can't contact LDAP server" msgstr "Ezin da LDAP zerbitzariarekin kontaktatu" -#: core/util/state.py:65 core/util/states/common.py:59 +#: core/util/state.py:66 core/util/states/common.py:59 msgid "Active" msgstr "Aktibo" -#: core/util/state.py:66 core/util/states/common.py:60 +#: core/util/state.py:67 core/util/states/common.py:60 msgid "Inactive" msgstr "Inaktibo" -#: core/util/state.py:67 core/util/states/common.py:61 +#: core/util/state.py:68 core/util/states/common.py:61 msgid "Blocked" msgstr "Blokeatuta" -#: core/util/state.py:68 core/util/states/common.py:62 +#: core/util/state.py:69 core/util/states/common.py:62 msgid "Waiting publication" msgstr "Argitalpena itxaroten" -#: core/util/state.py:69 core/util/states/common.py:63 +#: core/util/state.py:70 core/util/states/common.py:63 msgid "In preparation" msgstr "Prestatzen" -#: core/util/state.py:70 core/util/states/common.py:64 +#: core/util/state.py:71 core/util/states/common.py:64 msgid "Valid" msgstr "Baliozkoa" -#: core/util/state.py:71 core/util/state.py:73 core/util/states/common.py:66 +#: core/util/state.py:72 core/util/state.py:74 core/util/states/common.py:66 msgid "Removing" msgstr "Kentzen" -#: core/util/state.py:72 +#: core/util/state.py:73 msgid "Restrained" msgstr "restrained" -#: core/util/state.py:74 core/util/states/common.py:67 +#: core/util/state.py:75 core/util/states/common.py:67 msgid "Removed" msgstr "Kenduta" -#: core/util/state.py:75 core/util/states/common.py:68 +#: core/util/state.py:76 core/util/states/common.py:68 msgid "Canceled" msgstr "Ezeztaturik" -#: core/util/state.py:76 core/util/states/common.py:69 +#: core/util/state.py:77 core/util/states/common.py:69 msgid "Canceling" msgstr "Ezeztatzen" -#: core/util/state.py:77 core/util/states/common.py:70 +#: core/util/state.py:78 core/util/states/common.py:70 msgid "Error" msgstr "Errorea" -#: core/util/state.py:79 core/util/states/common.py:72 +#: core/util/state.py:80 core/util/states/common.py:72 msgid "Finished" msgstr "Amaiturik" -#: core/util/state.py:80 core/util/states/common.py:73 +#: core/util/state.py:81 core/util/states/common.py:73 msgid "Waiting execution" msgstr "Exekutatzeko itxaroten" -#: core/util/state.py:81 core/util/states/common.py:74 +#: core/util/state.py:82 core/util/states/common.py:74 msgid "Balancing" msgstr "Oreka" -#: core/util/state.py:82 core/util/states/common.py:75 +#: core/util/state.py:83 core/util/states/common.py:75 msgid "In maintenance" msgstr "Mantentze lanetan" -#: core/util/state.py:83 core/util/states/common.py:76 +#: core/util/state.py:84 core/util/states/common.py:76 msgid "Waiting OS" msgstr "SE-ri itxaroten" -#: core/util/state.py:84 +#: core/util/state.py:85 msgid "Too many preparing services" msgstr "Prestatzeko zerbitzu gehiegi" -#: core/util/state.py:85 +#: core/util/state.py:86 msgid "Meta member" msgstr "Meta kide da" @@ -2116,23 +2121,23 @@ msgstr "Zerbitzuak dituzten erabiltzaileak" msgid "Cached" msgstr "Cachean gordeta" -#: core/util/tools.py:144 +#: core/util/tools.py:152 msgid "{} days {:d}:{:02d}:{:02d}" msgstr "{} egun {: d}: {: 02d}: {: 02d}" -#: core/util/tools.py:161 +#: core/util/tools.py:171 msgid "The basename is not a valid for a hostname" msgstr "Oinarri-izena ez da baliozko ostalari-izen baterako" -#: core/util/tools.py:164 +#: core/util/tools.py:176 msgid "The length of basename plus length must be greater than 0" msgstr "Izenaren oinarria gehi luzera 0 baino handiagoa izan behar da" -#: core/util/tools.py:167 +#: core/util/tools.py:181 msgid "The length of basename plus length must not be greater than 15" msgstr "Basename plus luzeraren luzera ez da 15 baino handiagoa izan behar" -#: core/util/tools.py:170 +#: core/util/tools.py:186 msgid "The machine name can't be only numbers" msgstr "Makinaren izena ezin da zenbaki bakarra izan" @@ -2140,30 +2145,30 @@ msgstr "Makinaren izena ezin da zenbaki bakarra izan" msgid "Numeric" msgstr "Zenbakizkoa" -#: core/util/validators.py:64 +#: core/util/validators.py:66 #, python-brace-format msgid "{0} must be greater than or equal to {1}" msgstr "{0} {1} baino handiagoa edo handiagoa izan behar du" -#: core/util/validators.py:67 +#: core/util/validators.py:74 #, python-brace-format msgid "{0} must be lower than or equal to {1}" msgstr "{0} {1} baino txikiagoa edo txikiagoa izan behar du" -#: core/util/validators.py:72 +#: core/util/validators.py:81 #, python-brace-format msgid "{0} contains invalid characters" msgstr "{0} karaktere baliogabeak ditu" -#: core/util/validators.py:81 +#: core/util/validators.py:90 msgid "{} exceeds maximum host name length." msgstr "{}-k ostalariaren izenaren luzera gainditzen du." -#: core/util/validators.py:92 +#: core/util/validators.py:103 msgid "{} is not a valid hostname" msgstr "{} ez da baliozko ostalari izena" -#: core/util/validators.py:136 +#: core/util/validators.py:152 msgid "" "Invalid mac range. Mac range must be in format XX:XX:XX:XX:XX:XX-XX:XX:XX:XX:" "XX:XX" @@ -3113,8 +3118,8 @@ msgstr "Harpidetzak lortu dira" #: services/OpenGnsys/provider.py:141 services/OpenNebula/provider.py:83 #: services/OpenStack/provider.py:143 services/OpenStack/provider_legacy.py:160 #: services/Proxmox/provider.py:100 services/VCloud_enterprise/provider.py:60 -#: services/Vmware_enterprise/provider.py:47 -#: services/Vmware_enterprise/provider.py:99 services/Xen/provider.py:123 +#: services/Vmware_enterprise/provider.py:76 +#: services/Vmware_enterprise/provider.py:182 services/Xen/provider.py:123 msgid "Creation concurrency" msgstr "Sorkuntza konkurrentzia" @@ -3126,7 +3131,7 @@ msgstr "Sorkuntza konkurrentzia" #: services/OpenGnsys/provider.py:146 services/OpenNebula/provider.py:83 #: services/OpenStack/provider.py:148 services/OpenStack/provider_legacy.py:165 #: services/Proxmox/provider.py:105 services/VCloud_enterprise/provider.py:60 -#: services/Vmware_enterprise/provider.py:47 services/Xen/provider.py:128 +#: services/Vmware_enterprise/provider.py:81 services/Xen/provider.py:128 msgid "Maximum number of concurrently creating VMs" msgstr "VMak aldi berean sortzeko gehienezko kopurua" @@ -3138,8 +3143,8 @@ msgstr "VMak aldi berean sortzeko gehienezko kopurua" #: services/OpenGnsys/provider.py:152 services/OpenNebula/provider.py:84 #: services/OpenStack/provider.py:154 services/OpenStack/provider_legacy.py:171 #: services/Proxmox/provider.py:111 services/VCloud_enterprise/provider.py:61 -#: services/Vmware_enterprise/provider.py:48 -#: services/Vmware_enterprise/provider.py:100 services/Xen/provider.py:134 +#: services/Vmware_enterprise/provider.py:87 +#: services/Vmware_enterprise/provider.py:188 services/Xen/provider.py:134 msgid "Removal concurrency" msgstr "Kentzea" @@ -3151,7 +3156,7 @@ msgstr "Kentzea" #: services/OpenGnsys/provider.py:157 services/OpenNebula/provider.py:84 #: services/OpenStack/provider.py:159 services/OpenStack/provider_legacy.py:176 #: services/Proxmox/provider.py:116 services/VCloud_enterprise/provider.py:61 -#: services/Vmware_enterprise/provider.py:48 services/Xen/provider.py:139 +#: services/Vmware_enterprise/provider.py:92 services/Xen/provider.py:139 msgid "Maximum number of concurrently removing VMs" msgstr "VMak aldi berean kentzen diren gehienezko kopurua" @@ -3361,7 +3366,7 @@ msgstr "Denbora-muga, HyperV konexiorako segundoetan" #: services/HyperV_enterprise/legacy/provider.py:95 #: services/HyperV_enterprise/provider.py:103 #: services/Nutanix_enterprise/provider.py:45 services/OVirt/provider.py:117 -#: services/Vmware_enterprise/provider.py:51 services/Xen/provider.py:146 +#: services/Vmware_enterprise/provider.py:109 services/Xen/provider.py:146 msgid "Macs range" msgstr "MAC eremua" @@ -3378,7 +3383,7 @@ msgstr "Konexioaren proba arrakastatsua" #: services/HyperV_enterprise/legacy/provider.py:268 #: services/NutanixPrism_enterprise/provider.py:262 #: services/Nutanix_enterprise/provider.py:228 services/OVirt/provider.py:457 -#: services/Proxmox/provider.py:312 services/Vmware_enterprise/provider.py:168 +#: services/Proxmox/provider.py:312 services/Vmware_enterprise/provider.py:291 msgid "Connection failed. Check connection params" msgstr "Konexioa huts egin du. Egiaztatu konexioaren parametak" @@ -4210,12 +4215,12 @@ msgstr "IP Makinen hornitzaile estatikoa" msgid "Provides connection to machines by IP" msgstr "Makinen konexioa eskaintzen du IP bidez" -#: services/PhysicalMachines/service_multi.py:63 +#: services/PhysicalMachines/service_multi.py:64 #: services/Vmware_enterprise/service_fixed.py:55 msgid "Service Token" msgstr "Zerbitzuaren tokena" -#: services/PhysicalMachines/service_multi.py:66 +#: services/PhysicalMachines/service_multi.py:67 #: services/Vmware_enterprise/service_fixed.py:57 msgid "" "Service token that will be used by actors to communicate with service. Leave " @@ -4224,45 +4229,58 @@ msgstr "" "Aktoreek zerbitzuarekin komunikatzeko erabiliko duten token zerbitzua. Utzi " "hutsik iraunkorra esleitzeko." -#: services/PhysicalMachines/service_multi.py:74 +#: services/PhysicalMachines/service_multi.py:75 #: services/RDS_enterprise/provider.py:49 msgid "List of servers" msgstr "Zerbitzari zerrenda" -#: services/PhysicalMachines/service_multi.py:75 +#: services/PhysicalMachines/service_multi.py:76 msgid "List of servers available for this service" msgstr "Zerbitzu honetarako erabilgarri dauden zerbitzuen zerrenda" -#: services/PhysicalMachines/service_multi.py:80 +#: services/PhysicalMachines/service_multi.py:81 msgid "Check Port" msgstr "Begiratu Portua" -#: services/PhysicalMachines/service_multi.py:84 +#: services/PhysicalMachines/service_multi.py:85 msgid "" "If non zero, only hosts responding to connection on that port will be served." msgstr "" "Zero ez bada, portu horretako konexioei erantzuten dieten ostalariak soilik " "zerbitzatuko dira." -#: services/PhysicalMachines/service_multi.py:91 +#: services/PhysicalMachines/service_multi.py:92 msgid "Skip time" msgstr "Saltatu denbora" -#: services/PhysicalMachines/service_multi.py:94 +#: services/PhysicalMachines/service_multi.py:95 msgid "If a host fails to check, skip it for this time (in minutes)." msgstr "" "Ostalari batek huts egiten badu egiaztatzen bada, salta ezazu oraingoan " "(minutu batzuetan)." -#: services/PhysicalMachines/service_multi.py:101 +#: services/PhysicalMachines/service_multi.py:103 +#| msgid "Max. session time" +msgid "Max session per machine" +msgstr "Makina bakoitzeko gehienezko saioa" + +#: services/PhysicalMachines/service_multi.py:107 +msgid "" +"Maximum session duration before UDS thinks this machine got locked and " +"releases it (hours). 0 means \"never\"." +msgstr "" +"Saioaren gehieneko iraupena, UDSk makina hau blokeatu egin dela eta askatu " +"(orduak) baino lehen. 0 \"inoiz\" esan nahi du." + +#: services/PhysicalMachines/service_multi.py:115 msgid "Static Multiple IP" msgstr "IP estatiko anitz" -#: services/PhysicalMachines/service_multi.py:103 +#: services/PhysicalMachines/service_multi.py:117 msgid "This service provides access to POWERED-ON Machines by IP" msgstr "Zerbitzu honek POWERED-ON makinak IP bidez sarbidea eskaintzen du" -#: services/PhysicalMachines/service_multi.py:134 +#: services/PhysicalMachines/service_multi.py:150 msgid "Invalid value detected on servers list: \"{}\"" msgstr "Zerbitzari zerrendan hautemandako balio baliogabea: \"{}\"" @@ -4626,7 +4644,7 @@ msgstr "Zerbitzu baimenduen gehienezko kopurua (0 ez da mugarik)" msgid "Wait spawned processes" msgstr "Itxaron prozesu abiarazleak" -#: services/RDS_enterprise/service.py:99 +#: services/RDS_enterprise/service.py:100 msgid "" "If active, RDS Actor will wait until the application and all spawned " "processes finished before considering app logged out" @@ -4634,7 +4652,7 @@ msgstr "" "Aktibo badago, RDS Aktorea aplikazioa eta abiarazitako prozesuak amaitu arte " "itxaron egingo da saioa amaitu aurretik" -#: services/RDS_enterprise/service.py:109 +#: services/RDS_enterprise/service.py:112 msgid "A valid application path is required" msgstr "Baliozko aplikazio bide bat behar da" @@ -4882,27 +4900,27 @@ msgstr "Lokala" msgid "Remote" msgstr "Urrunekoa" -#: services/Vmware_enterprise/provider.py:41 +#: services/Vmware_enterprise/provider.py:47 msgid "VMWare VCenter Server IP or Hostname" msgstr "VMWare VCenter Server IP edo Hostname" -#: services/Vmware_enterprise/provider.py:42 +#: services/Vmware_enterprise/provider.py:55 msgid "VMWare VC Server Port (usually 443)" msgstr "VMWare VC zerbitzariaren portua (normalean 443)" -#: services/Vmware_enterprise/provider.py:43 +#: services/Vmware_enterprise/provider.py:62 msgid "User with valid privileges on VC" msgstr "Erabiltzaileak VCri buruzko baliozko pribilegioak ditu" -#: services/Vmware_enterprise/provider.py:44 +#: services/Vmware_enterprise/provider.py:69 msgid "Password of the user of the VC" msgstr "VC-eko erabiltzailearen pasahitza" -#: services/Vmware_enterprise/provider.py:50 +#: services/Vmware_enterprise/provider.py:102 msgid "Timeout in seconds of connection to VC" msgstr "Denbora-muga VC konexioaren segundotan" -#: services/Vmware_enterprise/provider.py:52 +#: services/Vmware_enterprise/provider.py:114 msgid "" "Range of valid macs for created machines. Must be inside " "00:50:56:00:00:00-00:50:56:3F:FF:FF" @@ -4910,15 +4928,15 @@ msgstr "" "Sortutako makinen makina baliotsuen gama. Barruan egon behar du 00: 50: 56: " "00: 00: 00-00: 50: 56: 3F: FF: FF" -#: services/Vmware_enterprise/provider.py:56 +#: services/Vmware_enterprise/provider.py:126 msgid "VMWare VCenter Platform Provider" msgstr "VMWare VCenter Plataforma hornitzailea" -#: services/Vmware_enterprise/provider.py:58 +#: services/Vmware_enterprise/provider.py:128 msgid "Provides connection to Virtual Center Services" msgstr "Virtual Center zerbitzuetarako konexioa eskaintzen du" -#: services/Vmware_enterprise/provider.py:166 +#: services/Vmware_enterprise/provider.py:287 msgid "Connection params ok" msgstr "Konexio parametroak ondo daude" @@ -5398,7 +5416,7 @@ msgstr "Erakutsi horma-papera" #: transports/HTML5RDP/html5rdp.py:134 #: transports/HTML5RDS_enterprise/html5rds.py:123 -#: transports/RDP/rdp_base.py:213 +#: transports/RDP/rdp_base.py:222 msgid "" "If checked, the wallpaper and themes will be shown on machine (better user " "experience, more bandwidth)" @@ -5408,25 +5426,25 @@ msgstr "" #: transports/HTML5RDP/html5rdp.py:139 #: transports/HTML5RDS_enterprise/html5rds.py:128 -#: transports/RDP/rdp_base.py:226 +#: transports/RDP/rdp_base.py:235 msgid "Allow Desk.Comp." msgstr "Baimendu Desk.Comp." #: transports/HTML5RDP/html5rdp.py:141 #: transports/HTML5RDS_enterprise/html5rds.py:130 -#: transports/RDP/rdp_base.py:228 +#: transports/RDP/rdp_base.py:237 msgid "If checked, desktop composition will be allowed" msgstr "Egiaztatuta badago, mahaigaineko konposizioa onartuko da" #: transports/HTML5RDP/html5rdp.py:145 #: transports/HTML5RDS_enterprise/html5rds.py:134 -#: transports/RDP/rdp_base.py:232 transports/RDS_enterprise/rds_base.py:150 +#: transports/RDP/rdp_base.py:241 transports/RDS_enterprise/rds_base.py:150 msgid "Font Smoothing" msgstr "Letra tipoaren leuntzea" #: transports/HTML5RDP/html5rdp.py:147 #: transports/HTML5RDS_enterprise/html5rds.py:136 -#: transports/RDS_enterprise/rds_base.py:152 +#: transports/RDS_enterprise/rds_base.py:153 msgid "If checked, fonts smoothing will be allowed (windows clients only)" msgstr "" "Egiaztatuta badago, letra-tipoak leuntzeko aukera izango dute (leiho " @@ -5599,13 +5617,22 @@ msgstr "" msgid "TLS (Transport Security Layer encryption)" msgstr "TLS (Garraioaren segurtasunaren geruza enkriptatzea)" -#: transports/HTML5RDP/html5rdp.py:246 +#: transports/HTML5RDP/html5rdp.py:247 transports/RDP/rdp_base.py:172 +#| msgid "Port" +msgid "RDP Port" +msgstr "RDP ataka" + +#: transports/HTML5RDP/html5rdp.py:248 transports/RDP/rdp_base.py:173 +msgid "Use this port as RDP port. Defaults to 3389." +msgstr "Erabili ataka hau RDP ataka gisa. 3389 lehenetsiak." + +#: transports/HTML5RDP/html5rdp.py:256 #: transports/HTML5RDS_enterprise/html5rds.py:223 #: transports/HTML5VNC/html5vnc.py:109 msgid "Ticket Validity" msgstr "Txartelaren balioa" -#: transports/HTML5RDP/html5rdp.py:250 +#: transports/HTML5RDP/html5rdp.py:260 #: transports/HTML5RDS_enterprise/html5rds.py:227 #: transports/HTML5VNC/html5vnc.py:112 msgid "" @@ -5615,42 +5642,42 @@ msgstr "" "Onartutako denbora, segundotan, HTML5 bezeroarentzako UDS Broker datuen " "birkargatzeko. 60 balio lehenetsia gomendatzen da." -#: transports/HTML5RDP/html5rdp.py:259 +#: transports/HTML5RDP/html5rdp.py:269 #: transports/HTML5RDS_enterprise/html5rds.py:236 #: transports/HTML5VNC/html5vnc.py:119 transports/URL/url_custom.py:82 msgid "Force new HTML Window" msgstr "HTML leiho berria behartu" -#: transports/HTML5RDP/html5rdp.py:260 +#: transports/HTML5RDP/html5rdp.py:270 #: transports/HTML5RDS_enterprise/html5rds.py:237 #: transports/HTML5VNC/html5vnc.py:120 msgid "Select windows behavior for new connections on HTML5" msgstr "Aukeratu leihoen portaera HTML5 konexio berrietarako" -#: transports/HTML5RDP/html5rdp.py:265 +#: transports/HTML5RDP/html5rdp.py:275 #: transports/HTML5RDS_enterprise/html5rds.py:242 #: transports/HTML5VNC/html5vnc.py:123 msgid "Open every connection on the same window, but keeps UDS window." msgstr "Ireki leiho berean konexio guztiak, baina UDS leihoa mantentzen du." -#: transports/HTML5RDP/html5rdp.py:268 +#: transports/HTML5RDP/html5rdp.py:278 #: transports/HTML5RDS_enterprise/html5rds.py:245 #: transports/HTML5VNC/html5vnc.py:124 msgid "Force every connection to be opened on a new window." msgstr "Behartu konexio guztiak leiho berri batean irekitzera." -#: transports/HTML5RDP/html5rdp.py:272 +#: transports/HTML5RDP/html5rdp.py:282 #: transports/HTML5RDS_enterprise/html5rds.py:249 #: transports/HTML5VNC/html5vnc.py:125 msgid "Override UDS window and replace it with the connection." msgstr "Gainidatzi UDS leihoa eta ordeztu konexioarekin." -#: transports/HTML5RDP/html5rdp.py:280 +#: transports/HTML5RDP/html5rdp.py:290 #: transports/HTML5RDS_enterprise/html5rds.py:256 msgid "Glyptodon Enterprise context path" msgstr "Glyptodon Enterprise testuinguruaren bidea" -#: transports/HTML5RDP/html5rdp.py:283 +#: transports/HTML5RDP/html5rdp.py:293 #: transports/HTML5RDS_enterprise/html5rds.py:259 msgid "" "Customized path for Glyptodon Enterprise tunnel. (Only valid for Glyptodon " @@ -5659,13 +5686,13 @@ msgstr "" "Glyptodon Enterprise tunelerako pertsonalizatutako bidea. (Glyptodon " "Enterprise Tunnelerako soilik balio du)" -#: transports/HTML5RDP/html5rdp.py:298 +#: transports/HTML5RDP/html5rdp.py:308 #: transports/HTML5RDS_enterprise/html5rds.py:273 #: transports/HTML5VNC/html5vnc.py:137 msgid "The server must be http or https" msgstr "Zerbitzariak http edo https izan behar du" -#: transports/HTML5RDP/html5rdp.py:303 +#: transports/HTML5RDP/html5rdp.py:313 #: transports/HTML5RDS_enterprise/html5rds.py:278 msgid "" "Empty credentials (on Credentials tab) is only allowed with Security level " @@ -5718,7 +5745,7 @@ msgstr "VNC zerbitzariaren ataka" msgid "Port of the VNC server." msgstr "VNC zerbitzariaren ataka." -#: transports/HTML5VNC/html5vnc.py:90 transports/RDP/rdp_base.py:196 +#: transports/HTML5VNC/html5vnc.py:90 transports/RDP/rdp_base.py:205 #: transports/RDS_enterprise/rds_base.py:136 msgid "Color depth" msgstr "Koloreen sakonera" @@ -5831,7 +5858,7 @@ msgstr "" "(gomendagarria)." #: transports/NoMachine_enterprise/nomachine_tunneltransport.py:114 -#: transports/RDP/rdptunnel.py:134 transports/RDS_enterprise/rdstunnel.py:126 +#: transports/RDP/rdptunnel.py:135 transports/RDS_enterprise/rdstunnel.py:126 #: transports/SPICE/spice_tunnel.py:106 transports/X2GO/x2go_tunnel.py:117 msgid "Must use HOST:PORT in Tunnel Server Field" msgstr "Tunnel zerbitzariaren eremuan HOSTALARI : PORTUA erabili behar da " @@ -5947,27 +5974,27 @@ msgstr "Credssp laguntza" msgid "If checked, will enable Credentials Provider Support)" msgstr "Hautatuta badago, kredentzialak hornitzailearen euskarria gaituko du)" -#: transports/RDP/rdp_base.py:172 +#: transports/RDP/rdp_base.py:181 msgid "Screen Size" msgstr "Pantaila-neurria" -#: transports/RDP/rdp_base.py:174 +#: transports/RDP/rdp_base.py:183 msgid "Screen size for this transport" msgstr "Garraioaren tamainaren tamaina" -#: transports/RDP/rdp_base.py:198 transports/RDS_enterprise/rds_base.py:138 +#: transports/RDP/rdp_base.py:207 transports/RDS_enterprise/rds_base.py:138 msgid "Color depth for this connection" msgstr "Kolorearen sakontasuna konexio honetarako" -#: transports/RDP/rdp_base.py:210 +#: transports/RDP/rdp_base.py:219 msgid "Wallpaper/theme" msgstr "Wallpaper / gaiaren" -#: transports/RDP/rdp_base.py:218 +#: transports/RDP/rdp_base.py:227 msgid "Multiple monitors" msgstr "Hainbat monitore" -#: transports/RDP/rdp_base.py:221 +#: transports/RDP/rdp_base.py:230 msgid "" "If checked, all client monitors will be used for displaying (only works on " "windows clients)" @@ -5975,65 +6002,65 @@ msgstr "" "Egiaztatuta badago, bezeroen monitore guztiak erabiliko dira erakusteko " "(Windows bezeroetan bakarrik funtzionatzen du)." -#: transports/RDP/rdp_base.py:234 +#: transports/RDP/rdp_base.py:244 msgid "If checked, fonts smoothing will be allowed" msgstr "Egiaztatuta badago, letra-tipoak leuntzeko aukera izango da" -#: transports/RDP/rdp_base.py:238 +#: transports/RDP/rdp_base.py:248 msgid "Connection Bar" msgstr "Konexio barra" -#: transports/RDP/rdp_base.py:240 +#: transports/RDP/rdp_base.py:250 msgid "If checked, connection bar will be shown (only on Windows clients)" msgstr "" "Egiaztatuta badago, konexioaren barra agertuko da (Windows bezeroetan soilik)" -#: transports/RDP/rdp_base.py:246 transports/RDS_enterprise/rds_base.py:174 +#: transports/RDP/rdp_base.py:256 transports/RDS_enterprise/rds_base.py:179 msgid "Multimedia sync" msgstr "Multimedia sinkronizazioa" -#: transports/RDP/rdp_base.py:249 transports/RDS_enterprise/rds_base.py:177 +#: transports/RDP/rdp_base.py:259 transports/RDS_enterprise/rds_base.py:182 msgid "If checked. Linux client will use multimedia parameter for xfreerdp" msgstr "" "Egiaztatuta badago. Linux bezeroak xfreerdp-ren multimedia parametroa " "erabiliko du" -#: transports/RDP/rdp_base.py:254 transports/RDS_enterprise/rds_base.py:182 +#: transports/RDP/rdp_base.py:264 transports/RDS_enterprise/rds_base.py:187 msgid "Use Alsa" msgstr "Erabili Alsa" -#: transports/RDP/rdp_base.py:257 transports/RDS_enterprise/rds_base.py:185 +#: transports/RDP/rdp_base.py:267 transports/RDS_enterprise/rds_base.py:190 msgid "" "If checked, Linux client will try to use ALSA, otherwise Pulse will be used" msgstr "" "Egiaztatuta badago, Linux bezeroak ALSA erabiliko du, bestela Pulse " "erabiliko da" -#: transports/RDP/rdp_base.py:262 transports/RDS_enterprise/rds_base.py:190 +#: transports/RDP/rdp_base.py:272 transports/RDS_enterprise/rds_base.py:195 msgid "Printer string" msgstr "Inprimagailuen katea" -#: transports/RDP/rdp_base.py:265 transports/RDS_enterprise/rds_base.py:193 +#: transports/RDP/rdp_base.py:275 transports/RDS_enterprise/rds_base.py:198 msgid "If printer is checked, the printer string used with xfreerdp client" msgstr "" "Inprimagailua hautatuta badago, xfreerdp bezeroarekin erabiliko den " "inprimagailuaren katea" -#: transports/RDP/rdp_base.py:271 transports/RDS_enterprise/rds_base.py:199 +#: transports/RDP/rdp_base.py:281 transports/RDS_enterprise/rds_base.py:204 msgid "Smartcard string" msgstr "Smartcard katea" -#: transports/RDP/rdp_base.py:274 transports/RDS_enterprise/rds_base.py:202 +#: transports/RDP/rdp_base.py:284 transports/RDS_enterprise/rds_base.py:207 msgid "If smartcard is checked, the smartcard string used with xfreerdp client" msgstr "" "Smartcard egiaztatzen bada, xfreerdp bezeroarekin erabilitako smartcard katea" -#: transports/RDP/rdp_base.py:280 transports/RDP/rdp_base.py:300 -#: transports/RDS_enterprise/rds_base.py:208 +#: transports/RDP/rdp_base.py:290 transports/RDP/rdp_base.py:310 +#: transports/RDS_enterprise/rds_base.py:213 msgid "Custom parameters" msgstr "Parametro pertsonalizatuak" -#: transports/RDP/rdp_base.py:283 transports/RDS_enterprise/rds_base.py:211 +#: transports/RDP/rdp_base.py:293 transports/RDS_enterprise/rds_base.py:216 msgid "" "If not empty, extra parameter to include for Linux Client (for example /usb:" "id,dev:054c:0268, or aything compatible with your xfreerdp client)" @@ -6041,11 +6068,11 @@ msgstr "" "Ez bada hutsik, parametro gehigarria Linux Client-era sartzeko (adibidez / " "usb: id, dev: 054c: 0268 edo zure xfreerdp bezeroarekin bateragarria)" -#: transports/RDP/rdp_base.py:290 +#: transports/RDP/rdp_base.py:300 msgid "Allow Microsoft Rdp Client" msgstr "Baimendu Microsoft Rdp bezeroa" -#: transports/RDP/rdp_base.py:293 +#: transports/RDP/rdp_base.py:303 msgid "" "If checked, allows use of Microsoft Remote Desktop Client. PASSWORD WILL BE " "PROMPTED!" @@ -6053,7 +6080,7 @@ msgstr "" "Markatuta badago, Microsoft Remote Desktop Client erabiltzeko baimena ematen " "du. PASAHITZA AHAL IZANGO DA!" -#: transports/RDP/rdp_base.py:303 +#: transports/RDP/rdp_base.py:313 msgid "" "If not empty, extra parameter to include for Mac OS X Freerdp Client (for " "example /usb:id,dev:054c:0268, or aything compatible with your xfreerdp " @@ -6077,20 +6104,32 @@ msgid "RDS access using RDP for vApps. Direct connection." msgstr "RDS sarbidea vPps bidez RDP erabiliz. Zuzeneko konexioa." #: transports/RDS_enterprise/rds_base.py:157 +#| msgid "Window Size" +msgid "Window state" +msgstr "Leihoaren egoera" + +#: transports/RDS_enterprise/rds_base.py:159 +msgid "UDS Will try to execute the applicaiton with the window in this state" +msgstr "UDS egoera horretan leihoarekin aplikazioa exekutatzen saiatuko da" + +#: transports/RDS_enterprise/rds_base.py:162 +msgid "Normal" +msgstr "Normala" + +#: transports/RDS_enterprise/rds_base.py:163 msgid "Maximized" msgstr "Maximizatuta" -#: transports/RDS_enterprise/rds_base.py:160 -msgid "If checked, UDS Actor will try to execute application maximized)" -msgstr "" -"Markatuta badago, UDS Aktorea maximizatutako aplikazioa exekutatzen saiatuko " -"da)" +#: transports/RDS_enterprise/rds_base.py:164 +#| msgid "Maximized" +msgid "Minimized" +msgstr "Minimizatua" -#: transports/RDS_enterprise/rds_base.py:165 +#: transports/RDS_enterprise/rds_base.py:170 msgid "Execute as shell" msgstr "Exekutatu shell gisa" -#: transports/RDS_enterprise/rds_base.py:169 +#: transports/RDS_enterprise/rds_base.py:174 msgid "" "If checked, Linux client will execute application in a session instead of a " "remoteapp" @@ -6293,7 +6332,7 @@ msgstr "Autentifikazio errore gehiegi. Erabiltzailea aldi baterako blokeatu da" msgid "Invalid data" msgstr "Datu baliogabeak" -#: web/util/configjs.py:146 +#: web/util/configjs.py:145 msgid "Access limited by calendar" msgstr "Sarbidea egutegian mugatua" @@ -6432,6 +6471,6 @@ msgstr "" "Zure zerbitzua sortzen ari da, mesedez, itxaron segundo batzuk betetzen " "dugun bitartean.)" -#: web/views/auth.py:151 +#: web/views/auth.py:154 msgid "Authenticator does not provide information" msgstr "Autentikatzaileak ez du informaziorik eman." diff --git a/server/src/uds/locale/eu/LC_MESSAGES/djangojs.po b/server/src/uds/locale/eu/LC_MESSAGES/djangojs.po index e9a9fe3db..bfcd2bb92 100644 --- a/server/src/uds/locale/eu/LC_MESSAGES/djangojs.po +++ b/server/src/uds/locale/eu/LC_MESSAGES/djangojs.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: OpenUDS\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-08 14:18+0200\n" +"POT-Creation-Date: 2021-07-29 13:12+0200\n" "PO-Revision-Date: 2021-07-08 10:59+0000\n" "Last-Translator: Adolfo Gómez \n" "Language-Team: Basque (http://www.transifex.com/openuds/openuds/language/" @@ -152,23 +152,23 @@ msgstr "Multzo taldea" msgid "Go to" msgstr "Joan" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:271 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:272 msgid "yes" msgstr "Bai" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:272 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:273 msgid "no" msgstr "Ez" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:268 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:269 msgid "Error saving: " msgstr "Gordetzerakoan errorea:" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:269 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:270 msgid "Error saving element" msgstr "Elementua gordetzerakoan errorea" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:270 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:271 msgid "Error handling your request" msgstr "Errorea eskaera kudeatzean" @@ -277,8 +277,8 @@ msgstr "#RESTRAINED_NUMBER# murriztutako zerbitzuak!" #: static/admin/main.js:1 static/admin/translations-fakejs.js:105 #: static/admin/translations-fakejs.js:249 -#: static/admin/translations-fakejs.js:398 -#: static/admin/translations-fakejs.js:450 +#: static/admin/translations-fakejs.js:402 +#: static/admin/translations-fakejs.js:454 msgid "Assigned services" msgstr "Zerbitzu esleituak" @@ -287,8 +287,8 @@ msgid "Services in use" msgstr "Erabilitako zerbitzuak" #: static/admin/main.js:1 static/admin/translations-fakejs.js:21 -#: static/admin/translations-fakejs.js:291 -#: static/admin/translations-fakejs.js:299 +#: static/admin/translations-fakejs.js:292 +#: static/admin/translations-fakejs.js:300 #: static/modern/translations-fakejs.js:30 msgid "Filter" msgstr "iragazkia" @@ -306,25 +306,25 @@ msgid "Full Access" msgstr "Sarbide osoa" #: static/admin/main.js:1 static/admin/translations-fakejs.js:15 -#: static/admin/translations-fakejs.js:358 -#: static/admin/translations-fakejs.js:405 -#: static/admin/translations-fakejs.js:410 +#: static/admin/translations-fakejs.js:362 +#: static/admin/translations-fakejs.js:409 +#: static/admin/translations-fakejs.js:414 msgid "User" msgstr "Erabiltzailea" #: static/admin/main.js:1 static/admin/translations-fakejs.js:16 #: static/admin/translations-fakejs.js:83 #: static/admin/translations-fakejs.js:93 -#: static/admin/translations-fakejs.js:423 -#: static/admin/translations-fakejs.js:444 +#: static/admin/translations-fakejs.js:427 +#: static/admin/translations-fakejs.js:448 msgid "Group" msgstr "Taldea" #: static/admin/main.js:1 static/admin/translations-fakejs.js:17 -#: static/admin/translations-fakejs.js:404 -#: static/admin/translations-fakejs.js:409 -#: static/admin/translations-fakejs.js:422 -#: static/admin/translations-fakejs.js:443 +#: static/admin/translations-fakejs.js:408 +#: static/admin/translations-fakejs.js:413 +#: static/admin/translations-fakejs.js:426 +#: static/admin/translations-fakejs.js:447 #: static/modern/translations-fakejs.js:73 msgid "Authenticator" msgstr "Autentikatzailea" @@ -396,8 +396,8 @@ msgstr "Multzoa" #: static/admin/main.js:1 static/admin/translations-fakejs.js:77 #: static/admin/translations-fakejs.js:96 #: static/admin/translations-fakejs.js:230 -#: static/admin/translations-fakejs.js:339 -#: static/admin/translations-fakejs.js:351 +#: static/admin/translations-fakejs.js:343 +#: static/admin/translations-fakejs.js:355 msgid "State" msgstr "Egoera" @@ -409,21 +409,21 @@ msgstr "Erabiltzaile-zerbitzuak" #: static/admin/main.js:1 static/admin/translations-fakejs.js:88 #: static/admin/translations-fakejs.js:232 -#: static/admin/translations-fakejs.js:319 -#: static/admin/translations-fakejs.js:397 +#: static/admin/translations-fakejs.js:321 +#: static/admin/translations-fakejs.js:401 msgid "Service pools" msgstr "Zerbitzu-multzoak" #: static/admin/main.js:1 static/admin/translations-fakejs.js:3 #: static/admin/translations-fakejs.js:7 -#: static/admin/translations-fakejs.js:306 +#: static/admin/translations-fakejs.js:308 #: static/modern/translations-fakejs.js:44 msgid "Yes" msgstr "Bai" #: static/admin/main.js:1 static/admin/translations-fakejs.js:4 #: static/admin/translations-fakejs.js:8 -#: static/admin/translations-fakejs.js:307 +#: static/admin/translations-fakejs.js:309 #: static/modern/translations-fakejs.js:45 msgid "No" msgstr "Ez" @@ -480,10 +480,10 @@ msgstr "Denak" #: static/admin/main.js:1 static/admin/translations-fakejs.js:84 #: static/admin/translations-fakejs.js:94 -#: static/admin/translations-fakejs.js:338 -#: static/admin/translations-fakejs.js:350 -#: static/admin/translations-fakejs.js:375 -#: static/admin/translations-fakejs.js:431 +#: static/admin/translations-fakejs.js:342 +#: static/admin/translations-fakejs.js:354 +#: static/admin/translations-fakejs.js:379 +#: static/admin/translations-fakejs.js:435 msgid "Comments" msgstr "Oharrak" @@ -509,25 +509,25 @@ msgstr "Zerbitzu-multzoak" #: static/admin/main.js:1 static/admin/translations-fakejs.js:90 #: static/admin/translations-fakejs.js:103 -#: static/admin/translations-fakejs.js:286 -#: static/admin/translations-fakejs.js:321 -#: static/admin/translations-fakejs.js:333 -#: static/admin/translations-fakejs.js:359 +#: static/admin/translations-fakejs.js:287 +#: static/admin/translations-fakejs.js:323 +#: static/admin/translations-fakejs.js:337 #: static/admin/translations-fakejs.js:363 -#: static/admin/translations-fakejs.js:369 -#: static/admin/translations-fakejs.js:399 -#: static/admin/translations-fakejs.js:452 +#: static/admin/translations-fakejs.js:367 +#: static/admin/translations-fakejs.js:373 +#: static/admin/translations-fakejs.js:403 +#: static/admin/translations-fakejs.js:456 msgid "Groups" msgstr "Taldeak" #: static/admin/main.js:1 static/admin/translations-fakejs.js:104 -#: static/admin/translations-fakejs.js:331 -#: static/admin/translations-fakejs.js:364 +#: static/admin/translations-fakejs.js:335 +#: static/admin/translations-fakejs.js:368 msgid "Services Pools" msgstr "Zerbitzu-multzoak" #: static/admin/main.js:1 static/admin/translations-fakejs.js:79 -#: static/admin/translations-fakejs.js:374 +#: static/admin/translations-fakejs.js:378 msgid "Name" msgstr "Izena" @@ -544,26 +544,26 @@ msgid "Last access" msgstr "Atzitutako azken aldia" #: static/admin/main.js:1 static/admin/translations-fakejs.js:89 -#: static/admin/translations-fakejs.js:285 -#: static/admin/translations-fakejs.js:332 -#: static/admin/translations-fakejs.js:368 +#: static/admin/translations-fakejs.js:286 +#: static/admin/translations-fakejs.js:336 +#: static/admin/translations-fakejs.js:372 msgid "Users" msgstr "Erabiltzaileak" #: static/admin/main.js:1 static/admin/translations-fakejs.js:85 -#: static/admin/translations-fakejs.js:340 -#: static/admin/translations-fakejs.js:352 +#: static/admin/translations-fakejs.js:344 +#: static/admin/translations-fakejs.js:356 msgid "Enabled" msgstr "Gaituta" #: static/admin/main.js:1 static/admin/translations-fakejs.js:86 -#: static/admin/translations-fakejs.js:341 -#: static/admin/translations-fakejs.js:353 +#: static/admin/translations-fakejs.js:345 +#: static/admin/translations-fakejs.js:357 msgid "Disabled" msgstr "Desgaituta" #: static/admin/main.js:1 static/admin/translations-fakejs.js:87 -#: static/admin/translations-fakejs.js:354 +#: static/admin/translations-fakejs.js:358 msgid "Blocked" msgstr "Blokeatuta" @@ -673,12 +673,12 @@ msgid "In use" msgstr "Erabileran" #: static/admin/main.js:1 static/admin/translations-fakejs.js:202 -#: static/admin/translations-fakejs.js:289 -#: static/admin/translations-fakejs.js:370 -#: static/admin/translations-fakejs.js:401 -#: static/admin/translations-fakejs.js:458 -#: static/admin/translations-fakejs.js:461 -#: static/admin/translations-fakejs.js:466 +#: static/admin/translations-fakejs.js:290 +#: static/admin/translations-fakejs.js:374 +#: static/admin/translations-fakejs.js:405 +#: static/admin/translations-fakejs.js:462 +#: static/admin/translations-fakejs.js:465 +#: static/admin/translations-fakejs.js:470 msgid "Logs" msgstr "Agerraldiak" @@ -699,20 +699,20 @@ msgid "Assign service" msgstr "Esleitu zerbitzua" #: static/admin/main.js:1 static/admin/translations-fakejs.js:207 -#: static/admin/translations-fakejs.js:276 -#: static/admin/translations-fakejs.js:282 -#: static/admin/translations-fakejs.js:345 -#: static/admin/translations-fakejs.js:360 -#: static/admin/translations-fakejs.js:386 -#: static/admin/translations-fakejs.js:394 -#: static/admin/translations-fakejs.js:406 -#: static/admin/translations-fakejs.js:411 -#: static/admin/translations-fakejs.js:419 -#: static/admin/translations-fakejs.js:424 +#: static/admin/translations-fakejs.js:277 +#: static/admin/translations-fakejs.js:283 +#: static/admin/translations-fakejs.js:349 +#: static/admin/translations-fakejs.js:364 +#: static/admin/translations-fakejs.js:390 +#: static/admin/translations-fakejs.js:398 +#: static/admin/translations-fakejs.js:410 +#: static/admin/translations-fakejs.js:415 +#: static/admin/translations-fakejs.js:423 #: static/admin/translations-fakejs.js:428 #: static/admin/translations-fakejs.js:432 -#: static/admin/translations-fakejs.js:445 -#: static/admin/translations-fakejs.js:487 +#: static/admin/translations-fakejs.js:436 +#: static/admin/translations-fakejs.js:449 +#: static/admin/translations-fakejs.js:491 msgid "Cancel" msgstr "Ezeztatu" @@ -864,7 +864,7 @@ msgid "Yearly" msgstr "Urtero" #: static/admin/main.js:1 static/admin/translations-fakejs.js:148 -#: static/admin/translations-fakejs.js:383 +#: static/admin/translations-fakejs.js:387 msgid "Weekdays" msgstr "Astegunak" @@ -1021,6 +1021,11 @@ msgstr "Konfigurazioa gordeta" msgid "Delete actor token - USE WITH EXTREME CAUTION!!!" msgstr "Ezabatu aktoreen tokenak - ERABILI KONTUZ!!!" +#: static/admin/main.js:1 static/admin/translations-fakejs.js:268 +#| msgid "Delete actor token - USE WITH EXTREME CAUTION!!!" +msgid "Delete tunnel token - USE WITH EXTREME CAUTION!!!" +msgstr "Ezabatu tunelaren token-a. ERABILI KONTUZ." + #: static/admin/main.js:1 static/admin/translations-fakejs.js:24 msgid "Cache flushed" msgstr "Cachea hustuta" @@ -1109,458 +1114,470 @@ msgstr "unhandledPromiseRejectionHandler" msgid "rejectionHandledHandler" msgstr "arbuioaHandledHandler" -#: static/admin/translations-fakejs.js:274 +#: static/admin/translations-fakejs.js:275 msgid "Remove all" msgstr "Kendu guztiak" -#: static/admin/translations-fakejs.js:275 +#: static/admin/translations-fakejs.js:276 msgid "Add" msgstr "Gehitu" -#: static/admin/translations-fakejs.js:277 -#: static/admin/translations-fakejs.js:283 -#: static/admin/translations-fakejs.js:288 -#: static/admin/translations-fakejs.js:334 -#: static/admin/translations-fakejs.js:346 -#: static/admin/translations-fakejs.js:361 -#: static/admin/translations-fakejs.js:366 -#: static/admin/translations-fakejs.js:387 -#: static/admin/translations-fakejs.js:395 -#: static/admin/translations-fakejs.js:407 -#: static/admin/translations-fakejs.js:412 -#: static/admin/translations-fakejs.js:420 -#: static/admin/translations-fakejs.js:425 +#: static/admin/translations-fakejs.js:278 +#: static/admin/translations-fakejs.js:284 +#: static/admin/translations-fakejs.js:289 +#: static/admin/translations-fakejs.js:338 +#: static/admin/translations-fakejs.js:350 +#: static/admin/translations-fakejs.js:365 +#: static/admin/translations-fakejs.js:370 +#: static/admin/translations-fakejs.js:391 +#: static/admin/translations-fakejs.js:399 +#: static/admin/translations-fakejs.js:411 +#: static/admin/translations-fakejs.js:416 +#: static/admin/translations-fakejs.js:424 #: static/admin/translations-fakejs.js:429 #: static/admin/translations-fakejs.js:433 -#: static/admin/translations-fakejs.js:435 -#: static/admin/translations-fakejs.js:446 -#: static/admin/translations-fakejs.js:448 -#: static/admin/translations-fakejs.js:462 -#: static/admin/translations-fakejs.js:488 +#: static/admin/translations-fakejs.js:437 +#: static/admin/translations-fakejs.js:439 +#: static/admin/translations-fakejs.js:450 +#: static/admin/translations-fakejs.js:452 +#: static/admin/translations-fakejs.js:466 +#: static/admin/translations-fakejs.js:492 msgid "Ok" msgstr "Ados" -#: static/admin/translations-fakejs.js:278 +#: static/admin/translations-fakejs.js:279 msgid "Discard & close" msgstr "Baztertu eta itxi" -#: static/admin/translations-fakejs.js:279 -#: static/admin/translations-fakejs.js:480 +#: static/admin/translations-fakejs.js:280 +#: static/admin/translations-fakejs.js:484 msgid "Save" msgstr "Gorde" -#: static/admin/translations-fakejs.js:280 +#: static/admin/translations-fakejs.js:281 msgid "New user permission for" msgstr "Erabiltzaile baimen berria honentzako:" -#: static/admin/translations-fakejs.js:281 +#: static/admin/translations-fakejs.js:282 msgid "New group permission for" msgstr "Talde baimen berria honentzako:" -#: static/admin/translations-fakejs.js:284 +#: static/admin/translations-fakejs.js:285 msgid "Permissions for" msgstr "Baimenak" -#: static/admin/translations-fakejs.js:287 +#: static/admin/translations-fakejs.js:288 msgid "New permission..." msgstr "Baimen berria ..." -#: static/admin/translations-fakejs.js:290 -#: static/admin/translations-fakejs.js:297 +#: static/admin/translations-fakejs.js:291 +#: static/admin/translations-fakejs.js:298 msgid "Export" msgstr "Esportazioa" -#: static/admin/translations-fakejs.js:292 #: static/admin/translations-fakejs.js:293 #: static/admin/translations-fakejs.js:294 +#: static/admin/translations-fakejs.js:295 msgid "New" msgstr "Berria" -#: static/admin/translations-fakejs.js:295 -#: static/admin/translations-fakejs.js:302 +#: static/admin/translations-fakejs.js:296 +#: static/admin/translations-fakejs.js:304 msgid "Edit" msgstr "Editatu" -#: static/admin/translations-fakejs.js:296 -#: static/admin/translations-fakejs.js:303 +#: static/admin/translations-fakejs.js:297 +#: static/admin/translations-fakejs.js:305 msgid "Permissions" msgstr "Baimenak" -#: static/admin/translations-fakejs.js:298 -#: static/admin/translations-fakejs.js:304 +#: static/admin/translations-fakejs.js:299 +#: static/admin/translations-fakejs.js:306 msgid "Delete" msgstr "Ezabatu" -#: static/admin/translations-fakejs.js:300 +#: static/admin/translations-fakejs.js:301 msgid "Selected items" msgstr "Hautatutako elementuak" -#: static/admin/translations-fakejs.js:301 +#: static/admin/translations-fakejs.js:302 +msgid "Copy" +msgstr "Kopiatu" + +#: static/admin/translations-fakejs.js:303 msgid "Detail" msgstr "Xehetasun" -#: static/admin/translations-fakejs.js:305 +#: static/admin/translations-fakejs.js:307 #: static/modern/translations-fakejs.js:43 msgid "Close" msgstr "Itxi" -#: static/admin/translations-fakejs.js:308 +#: static/admin/translations-fakejs.js:310 msgid "User mode" msgstr "Erabiltzaile modua" -#: static/admin/translations-fakejs.js:309 +#: static/admin/translations-fakejs.js:311 #: static/modern/translations-fakejs.js:48 msgid "Logout" msgstr "Saioa amaitu" -#: static/admin/translations-fakejs.js:310 -#: static/admin/translations-fakejs.js:367 -#: static/admin/translations-fakejs.js:385 -#: static/admin/translations-fakejs.js:396 -#: static/admin/translations-fakejs.js:449 -#: static/admin/translations-fakejs.js:463 +#: static/admin/translations-fakejs.js:312 +#: static/admin/translations-fakejs.js:371 +#: static/admin/translations-fakejs.js:389 +#: static/admin/translations-fakejs.js:400 +#: static/admin/translations-fakejs.js:453 +#: static/admin/translations-fakejs.js:467 msgid "Summary" msgstr "Laburpena" -#: static/admin/translations-fakejs.js:311 -#: static/admin/translations-fakejs.js:464 +#: static/admin/translations-fakejs.js:313 +#: static/admin/translations-fakejs.js:468 msgid "Services" msgstr "Zerbitzuak" -#: static/admin/translations-fakejs.js:312 +#: static/admin/translations-fakejs.js:314 msgid "Authenticators" msgstr "Autentikatzaileak" -#: static/admin/translations-fakejs.js:313 +#: static/admin/translations-fakejs.js:315 msgid "Os Managers" msgstr "SE Kudeatzaileak" -#: static/admin/translations-fakejs.js:314 +#: static/admin/translations-fakejs.js:316 msgid "Connectivity" msgstr "Konektagarritasuna" -#: static/admin/translations-fakejs.js:315 -#: static/admin/translations-fakejs.js:453 +#: static/admin/translations-fakejs.js:317 +#: static/admin/translations-fakejs.js:457 #: static/modern/translations-fakejs.js:39 msgid "Transports" msgstr "Garraioak" -#: static/admin/translations-fakejs.js:316 +#: static/admin/translations-fakejs.js:318 #: static/modern/translations-fakejs.js:41 msgid "Networks" msgstr "Sareak" -#: static/admin/translations-fakejs.js:317 +#: static/admin/translations-fakejs.js:319 msgid "Proxies" msgstr "Proxyak" -#: static/admin/translations-fakejs.js:318 +#: static/admin/translations-fakejs.js:320 msgid "Pools" msgstr "Multzoak" -#: static/admin/translations-fakejs.js:320 +#: static/admin/translations-fakejs.js:322 msgid "Meta pools" msgstr "Meta-multzoak" -#: static/admin/translations-fakejs.js:322 +#: static/admin/translations-fakejs.js:324 msgid "Calendars" msgstr "Egutegiak" -#: static/admin/translations-fakejs.js:323 +#: static/admin/translations-fakejs.js:325 msgid "Accounts" msgstr "Kontuak" -#: static/admin/translations-fakejs.js:324 +#: static/admin/translations-fakejs.js:326 msgid "Tools" msgstr "Tresnak" -#: static/admin/translations-fakejs.js:325 +#: static/admin/translations-fakejs.js:327 msgid "Gallery" msgstr "Galeria" -#: static/admin/translations-fakejs.js:326 +#: static/admin/translations-fakejs.js:328 msgid "Reports" msgstr "Txostenak" -#: static/admin/translations-fakejs.js:327 -msgid "Configuration" -msgstr "Konfigurazioa" - -#: static/admin/translations-fakejs.js:328 -msgid "Actor tokens" -msgstr "Aktoreen tokenak" - #: static/admin/translations-fakejs.js:329 +msgid "Tokens" +msgstr "Tokens" + +#: static/admin/translations-fakejs.js:330 +msgid "Actor" +msgstr "Aktorea" + +#: static/admin/translations-fakejs.js:331 +msgid "Tunnel" +msgstr "Tunel" + +#: static/admin/translations-fakejs.js:332 msgid "Flush Cache" msgstr "Cachea hustu" -#: static/admin/translations-fakejs.js:330 -#: static/admin/translations-fakejs.js:362 -#: static/admin/translations-fakejs.js:459 +#: static/admin/translations-fakejs.js:333 +msgid "Configuration" +msgstr "Konfigurazioa" + +#: static/admin/translations-fakejs.js:334 +#: static/admin/translations-fakejs.js:366 +#: static/admin/translations-fakejs.js:463 msgid "Information for" msgstr "Informazioa honentzako" -#: static/admin/translations-fakejs.js:335 +#: static/admin/translations-fakejs.js:339 msgid "Edit group" msgstr "Taldea editatu" -#: static/admin/translations-fakejs.js:336 +#: static/admin/translations-fakejs.js:340 msgid "New group" msgstr "Talde Berria" -#: static/admin/translations-fakejs.js:337 +#: static/admin/translations-fakejs.js:341 msgid "Meta group name" msgstr "Meta taldearen izena" -#: static/admin/translations-fakejs.js:342 +#: static/admin/translations-fakejs.js:346 msgid "Service Pools" msgstr "Zerbitzu-multzoak" -#: static/admin/translations-fakejs.js:343 +#: static/admin/translations-fakejs.js:347 msgid "Match mode" msgstr "Bat egiteko modua" -#: static/admin/translations-fakejs.js:344 +#: static/admin/translations-fakejs.js:348 msgid "Selected Groups" msgstr "Hautatutako taldeak" -#: static/admin/translations-fakejs.js:347 +#: static/admin/translations-fakejs.js:351 msgid "Edit user" msgstr "Editatu erabiltzailea" -#: static/admin/translations-fakejs.js:348 +#: static/admin/translations-fakejs.js:352 msgid "New user" msgstr "Erabiltzaile berria" -#: static/admin/translations-fakejs.js:349 +#: static/admin/translations-fakejs.js:353 msgid "Real name" msgstr "Benetako izena" -#: static/admin/translations-fakejs.js:355 +#: static/admin/translations-fakejs.js:359 msgid "Role" msgstr "Rola" -#: static/admin/translations-fakejs.js:356 +#: static/admin/translations-fakejs.js:360 msgid "Admin" msgstr "Admin" -#: static/admin/translations-fakejs.js:357 +#: static/admin/translations-fakejs.js:361 msgid "Staff member" msgstr "Langilea" -#: static/admin/translations-fakejs.js:365 +#: static/admin/translations-fakejs.js:369 msgid "Assigned Services" msgstr "Zerbitzu esleituak" -#: static/admin/translations-fakejs.js:371 +#: static/admin/translations-fakejs.js:375 msgid "Account usage" msgstr "Kontuaren erabilera" -#: static/admin/translations-fakejs.js:372 +#: static/admin/translations-fakejs.js:376 msgid "Edit rule" msgstr "Editatu araua" -#: static/admin/translations-fakejs.js:373 +#: static/admin/translations-fakejs.js:377 msgid "New rule" msgstr "Arau berria" -#: static/admin/translations-fakejs.js:376 +#: static/admin/translations-fakejs.js:380 msgid "Event" msgstr "Gertaera" -#: static/admin/translations-fakejs.js:377 +#: static/admin/translations-fakejs.js:381 msgid "Start time" msgstr "Hasiera-denbora" -#: static/admin/translations-fakejs.js:378 +#: static/admin/translations-fakejs.js:382 msgid "Duration" msgstr "Iraupena" -#: static/admin/translations-fakejs.js:379 +#: static/admin/translations-fakejs.js:383 msgid "Duration units" msgstr "Iraupen unitateak" -#: static/admin/translations-fakejs.js:380 +#: static/admin/translations-fakejs.js:384 msgid "Start date" msgstr "Hasiera data" -#: static/admin/translations-fakejs.js:381 +#: static/admin/translations-fakejs.js:385 msgid "Repeat until date" msgstr "Errepikatu data arte" -#: static/admin/translations-fakejs.js:382 +#: static/admin/translations-fakejs.js:386 msgid "Frequency" msgstr " Frekuentzia" -#: static/admin/translations-fakejs.js:384 +#: static/admin/translations-fakejs.js:388 msgid "Repeat every" msgstr "Errepikatu" -#: static/admin/translations-fakejs.js:388 +#: static/admin/translations-fakejs.js:392 msgid "Rules" msgstr "Arauak" -#: static/admin/translations-fakejs.js:389 +#: static/admin/translations-fakejs.js:393 msgid "New member pool" msgstr "Multzo-kide berria" -#: static/admin/translations-fakejs.js:390 +#: static/admin/translations-fakejs.js:394 msgid "Edit member pool" msgstr "Editatu multzo-kidea" -#: static/admin/translations-fakejs.js:391 -#: static/admin/translations-fakejs.js:416 +#: static/admin/translations-fakejs.js:395 +#: static/admin/translations-fakejs.js:420 msgid "Priority" msgstr "Lehentasuna" -#: static/admin/translations-fakejs.js:392 +#: static/admin/translations-fakejs.js:396 msgid "Service pool" msgstr "Zerbitzu-multzoa" -#: static/admin/translations-fakejs.js:393 +#: static/admin/translations-fakejs.js:397 msgid "Enabled?" msgstr "Gaituta?" -#: static/admin/translations-fakejs.js:400 -#: static/admin/translations-fakejs.js:456 +#: static/admin/translations-fakejs.js:404 +#: static/admin/translations-fakejs.js:460 msgid "Access calendars" msgstr "Sarbide-egutegiak" -#: static/admin/translations-fakejs.js:402 +#: static/admin/translations-fakejs.js:406 msgid "Assign service to user manually" msgstr "Zerbitzua eskuz esleitu erabiltzaileari" -#: static/admin/translations-fakejs.js:403 +#: static/admin/translations-fakejs.js:407 msgid "Service" msgstr "Zerbitzua" -#: static/admin/translations-fakejs.js:408 +#: static/admin/translations-fakejs.js:412 msgid "Change owner of assigned service" msgstr "Aldatu esleitutako zerbitzuaren jabea" -#: static/admin/translations-fakejs.js:413 +#: static/admin/translations-fakejs.js:417 msgid "New access rule for" msgstr "Sarbide arau berria honentzako:" -#: static/admin/translations-fakejs.js:414 +#: static/admin/translations-fakejs.js:418 msgid "Edit access rule for" msgstr "Editatu sarbide-araua honentzako:" -#: static/admin/translations-fakejs.js:415 +#: static/admin/translations-fakejs.js:419 msgid "Default fallback access for" msgstr "Lehenetsitako sarrera alternatiboa honentzako:" -#: static/admin/translations-fakejs.js:417 -#: static/admin/translations-fakejs.js:438 +#: static/admin/translations-fakejs.js:421 +#: static/admin/translations-fakejs.js:442 msgid "Calendar" msgstr "Egutegia" -#: static/admin/translations-fakejs.js:418 -#: static/admin/translations-fakejs.js:441 +#: static/admin/translations-fakejs.js:422 +#: static/admin/translations-fakejs.js:445 msgid "Action" msgstr "Ekintza" -#: static/admin/translations-fakejs.js:421 +#: static/admin/translations-fakejs.js:425 msgid "New group for" msgstr "Talde berria honentzako:" -#: static/admin/translations-fakejs.js:426 +#: static/admin/translations-fakejs.js:430 msgid "New transport for" msgstr "Garraio berria" -#: static/admin/translations-fakejs.js:427 -#: static/admin/translations-fakejs.js:442 +#: static/admin/translations-fakejs.js:431 +#: static/admin/translations-fakejs.js:446 msgid "Transport" msgstr "Garraioa" -#: static/admin/translations-fakejs.js:430 +#: static/admin/translations-fakejs.js:434 msgid "New publication for" msgstr "Argitaratze berria honentzako:" -#: static/admin/translations-fakejs.js:434 +#: static/admin/translations-fakejs.js:438 msgid "Changelog of" msgstr "Honen aldaketa egunkaria" -#: static/admin/translations-fakejs.js:436 +#: static/admin/translations-fakejs.js:440 msgid "Edit action for" msgstr "Editatu ekintza honentzako:" -#: static/admin/translations-fakejs.js:437 +#: static/admin/translations-fakejs.js:441 msgid "New action for" msgstr "Ekintza berri bat honentzako:" -#: static/admin/translations-fakejs.js:439 +#: static/admin/translations-fakejs.js:443 msgid "Events offset (minutes)" msgstr "Ekintzaren desplazamendua (minutuetan)" -#: static/admin/translations-fakejs.js:440 +#: static/admin/translations-fakejs.js:444 msgid "At the beginning of the interval?" msgstr "Tarte hasieran?" -#: static/admin/translations-fakejs.js:447 +#: static/admin/translations-fakejs.js:451 msgid "Logs of" msgstr "Erregistroak" -#: static/admin/translations-fakejs.js:451 +#: static/admin/translations-fakejs.js:455 msgid "Cache" msgstr "Cachea" -#: static/admin/translations-fakejs.js:454 +#: static/admin/translations-fakejs.js:458 msgid "Publications" msgstr "Argitalpenak" -#: static/admin/translations-fakejs.js:455 +#: static/admin/translations-fakejs.js:459 msgid "Scheduled actions" msgstr "Antolatutako ekintzak" -#: static/admin/translations-fakejs.js:457 +#: static/admin/translations-fakejs.js:461 msgid "Charts" msgstr "Taulak" -#: static/admin/translations-fakejs.js:460 +#: static/admin/translations-fakejs.js:464 msgid "Services pools" msgstr "Zerbitzu-multzoak" -#: static/admin/translations-fakejs.js:465 +#: static/admin/translations-fakejs.js:469 msgid "Usage" msgstr "Erabilpena" -#: static/admin/translations-fakejs.js:467 +#: static/admin/translations-fakejs.js:471 #: static/modern/translations-fakejs.js:46 msgid "Dashboard" msgstr "Arbela" -#: static/admin/translations-fakejs.js:468 +#: static/admin/translations-fakejs.js:472 msgid "View authenticators" msgstr "Ikusi autentikatzaileak" -#: static/admin/translations-fakejs.js:469 -#: static/admin/translations-fakejs.js:470 -#: static/admin/translations-fakejs.js:471 +#: static/admin/translations-fakejs.js:473 +#: static/admin/translations-fakejs.js:474 +#: static/admin/translations-fakejs.js:475 msgid "View service pools" msgstr "Ikusi zerbitzu-multzoak" -#: static/admin/translations-fakejs.js:472 +#: static/admin/translations-fakejs.js:476 msgid "Assigned services chart" msgstr "Esleitutako zerbitzuen taula" -#: static/admin/translations-fakejs.js:473 +#: static/admin/translations-fakejs.js:477 msgid "In use services chart" msgstr "Erabilera zerbitzuen taula" -#: static/admin/translations-fakejs.js:474 +#: static/admin/translations-fakejs.js:478 msgid "UDS Administration" msgstr "UDS Administrazioa" -#: static/admin/translations-fakejs.js:475 +#: static/admin/translations-fakejs.js:479 msgid "You are accessing UDS Administration as staff member." msgstr "Langile gisa satzen ari zara UDSren administrazioan" -#: static/admin/translations-fakejs.js:476 +#: static/admin/translations-fakejs.js:480 msgid "This means that you have restricted access to elements." msgstr "Horrek esan nahi du elementuetarako sarbide mugatua duzula." -#: static/admin/translations-fakejs.js:477 +#: static/admin/translations-fakejs.js:481 msgid "" "In order to increase your access privileges, please contact your local UDS " "administrator." @@ -1568,35 +1585,35 @@ msgstr "" "Sarbide pribilegioak handitzeko, jarri harremanetan zure UDS " "administratzailearekin." -#: static/admin/translations-fakejs.js:478 +#: static/admin/translations-fakejs.js:482 msgid "Thank you." msgstr "Eskerrik asko." -#: static/admin/translations-fakejs.js:479 +#: static/admin/translations-fakejs.js:483 msgid "UDS Configuration" msgstr "UDS konfigurazioa" -#: static/admin/translations-fakejs.js:481 +#: static/admin/translations-fakejs.js:485 msgid "New image for" msgstr "Irudi berria honentzako:" -#: static/admin/translations-fakejs.js:482 +#: static/admin/translations-fakejs.js:486 msgid "Edit for" msgstr "Editatu honentzako" -#: static/admin/translations-fakejs.js:483 +#: static/admin/translations-fakejs.js:487 msgid "Image name" msgstr "Irudiaren izena" -#: static/admin/translations-fakejs.js:484 +#: static/admin/translations-fakejs.js:488 msgid "Image (click to change)" msgstr "Irudia (egin klik aldatzeko)" -#: static/admin/translations-fakejs.js:485 +#: static/admin/translations-fakejs.js:489 msgid "For optimal results, use " msgstr "Emaitza hobeak lortzeko, erabili" -#: static/admin/translations-fakejs.js:486 +#: static/admin/translations-fakejs.js:490 msgid "The image will be resized on upload to" msgstr "Igo ostean, irudiaren tamaina aldatu egingo da" diff --git a/server/src/uds/locale/fr/LC_MESSAGES/django.po b/server/src/uds/locale/fr/LC_MESSAGES/django.po index 2a6f40046..4ff4972f5 100644 --- a/server/src/uds/locale/fr/LC_MESSAGES/django.po +++ b/server/src/uds/locale/fr/LC_MESSAGES/django.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: OpenUDS\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-08 14:18+0200\n" +"POT-Creation-Date: 2021-07-29 13:12+0200\n" "PO-Revision-Date: 2021-07-08 10:59+0000\n" "Last-Translator: Adolfo Gómez \n" "Language-Team: French (http://www.transifex.com/openuds/openuds/language/" @@ -30,7 +30,7 @@ msgstr "Comptes" #: REST/methods/osmanagers.py:55 REST/methods/providers.py:71 #: REST/methods/proxies.py:59 REST/methods/reports.py:57 #: REST/methods/services_pool_groups.py:63 REST/methods/services_pools.py:133 -#: REST/methods/transports.py:58 REST/methods/user_services.py:321 +#: REST/methods/transports.py:66 REST/methods/user_services.py:321 #: REST/methods/user_services.py:396 REST/methods/users_groups.py:122 #: REST/model.py:149 msgid "Name" @@ -41,7 +41,7 @@ msgstr "Nom" #: REST/methods/meta_pools.py:71 REST/methods/osmanagers.py:57 #: REST/methods/providers.py:73 REST/methods/proxies.py:62 #: REST/methods/services.py:241 REST/methods/services_pool_groups.py:64 -#: REST/methods/transports.py:60 REST/methods/user_services.py:398 +#: REST/methods/transports.py:68 REST/methods/user_services.py:398 #: REST/methods/users_groups.py:123 REST/methods/users_groups.py:291 #: REST/model.py:173 msgid "Comments" @@ -56,7 +56,7 @@ msgstr "Marque de temps" #: REST/methods/networks.py:63 REST/methods/osmanagers.py:59 #: REST/methods/providers.py:79 REST/methods/proxies.py:63 #: REST/methods/services.py:250 REST/methods/services_pools.py:142 -#: REST/methods/transports.py:63 +#: REST/methods/transports.py:77 msgid "tags" msgstr "Tags" @@ -68,7 +68,7 @@ msgstr "Nom de la piscine" msgid "User name" msgstr "Nom d'utilisateur" -#: REST/methods/accountsusage.py:94 core/util/state.py:78 +#: REST/methods/accountsusage.py:94 core/util/state.py:79 #: core/util/states/common.py:71 msgid "Running" msgstr "En cours d'exécution" @@ -115,11 +115,11 @@ msgstr "Hôte non managé" msgid "User service not found" msgstr "Service utilisateur introuvable" -#: REST/methods/actor_token.py:51 REST/methods/tunnel_token.py:51 +#: REST/methods/actor_token.py:51 msgid "Actor tokens" msgstr "Jetons d'acteur" -#: REST/methods/actor_token.py:54 REST/methods/tunnel_token.py:54 +#: REST/methods/actor_token.py:54 REST/methods/tunnel_token.py:51 #: reports/auto/fields.py:56 reports/stats/pools_performance.py:217 #: reports/stats/pools_performance.py:236 reports/stats/pools_usage_day.py:64 #: reports/stats/usage_by_pool.py:169 reports/stats/user_access.py:190 @@ -127,11 +127,11 @@ msgstr "Jetons d'acteur" msgid "Date" msgstr "Date" -#: REST/methods/actor_token.py:55 REST/methods/tunnel_token.py:55 +#: REST/methods/actor_token.py:55 REST/methods/tunnel_token.py:52 msgid "Issued by" msgstr "Délivré par" -#: REST/methods/actor_token.py:56 REST/methods/tunnel_token.py:56 +#: REST/methods/actor_token.py:56 REST/methods/tunnel_token.py:53 #: reports/stats/usage_by_pool.py:173 #: templates/uds/reports/stats/usage-by-pool.html:18 msgid "Origin" @@ -157,7 +157,7 @@ msgstr "Exécuter une fois" msgid "Log level" msgstr "Niveau de journal" -#: REST/methods/actor_token.py:67 REST/methods/tunnel_token.py:63 +#: REST/methods/actor_token.py:67 REST/methods/tunnel_token.py:60 msgid "Token isued by {} from {}" msgstr "Le jeton est émis par {} de {}" @@ -171,13 +171,13 @@ msgstr "ID" #: REST/methods/authenticators.py:67 REST/methods/osmanagers.py:56 #: REST/methods/providers.py:72 REST/methods/services.py:242 -#: REST/methods/transports.py:59 REST/methods/user_services.py:397 +#: REST/methods/transports.py:67 REST/methods/user_services.py:397 msgid "Type" msgstr "Type" #: REST/methods/authenticators.py:69 REST/methods/meta_service_pools.py:88 #: REST/methods/op_calendars.py:80 REST/methods/services_pool_groups.py:61 -#: REST/methods/transports.py:57 REST/methods/user_services.py:395 +#: REST/methods/transports.py:65 REST/methods/user_services.py:395 #: REST/model.py:185 models/meta_pool.py:73 msgid "Priority" msgstr "Priorité" @@ -189,7 +189,7 @@ msgid "Visible" msgstr "Visible" #: REST/methods/authenticators.py:71 REST/methods/meta_pools.py:77 -#: REST/methods/transports.py:115 REST/model.py:201 +#: REST/methods/transports.py:164 REST/model.py:201 msgid "Label" msgstr "Étiquette" @@ -389,7 +389,7 @@ msgid "Pool" msgstr "Pool" #: REST/methods/meta_service_pools.py:197 REST/methods/services_usage.py:122 -#: REST/methods/tunnel_token.py:57 REST/methods/user_services.py:139 +#: REST/methods/tunnel_token.py:54 REST/methods/user_services.py:139 #: REST/methods/user_services.py:270 auths/IP/authenticator.py:68 msgid "IP" msgstr "IP " @@ -437,7 +437,7 @@ msgstr "Élément déjà retiré" msgid "Item is not removable" msgstr "Point non amovible" -#: REST/methods/networks.py:58 REST/methods/transports.py:88 +#: REST/methods/networks.py:58 REST/methods/transports.py:114 msgid "Networks" msgstr "Réseaux" @@ -563,7 +563,7 @@ msgstr "Certificat de vérification" #: services/OpenGnsys/provider.py:97 services/OpenNebula/provider.py:77 #: services/OpenStack/provider_legacy.py:106 services/Proxmox/provider.py:66 #: services/VCloud_enterprise/provider.py:32 -#: services/Vmware_enterprise/provider.py:41 services/Xen/provider.py:100 +#: services/Vmware_enterprise/provider.py:45 services/Xen/provider.py:100 msgid "Host" msgstr "Serveur" @@ -582,7 +582,7 @@ msgstr "Serveur (IP ou FQDN) qui servira de proxy." #: services/OpenStack/provider_legacy.py:110 services/Proxmox/provider.py:73 #: services/RDS_enterprise/provider.py:101 #: services/VCloud_enterprise/provider.py:33 -#: services/Vmware_enterprise/provider.py:42 +#: services/Vmware_enterprise/provider.py:52 msgid "Port" msgstr "Port" @@ -705,8 +705,8 @@ msgstr "Bien" msgid "Services Pool Groups" msgstr "Groupes de pool de services" -#: REST/methods/services_pools.py:131 REST/methods/transports.py:61 -#: REST/methods/transports.py:106 +#: REST/methods/services_pools.py:131 REST/methods/transports.py:71 +#: REST/methods/transports.py:152 msgid "Service Pools" msgstr "Service pool" @@ -860,19 +860,19 @@ msgstr "Utilisation des services" msgid "Service" msgstr "Service" -#: REST/methods/transports.py:55 +#: REST/methods/transports.py:63 msgid "Transports" msgstr "Transports" -#: REST/methods/transports.py:62 +#: REST/methods/transports.py:76 msgid "Devices" msgstr "Dispositifs de" -#: REST/methods/transports.py:79 +#: REST/methods/transports.py:97 msgid "Network access" msgstr "Accès au réseau" -#: REST/methods/transports.py:80 +#: REST/methods/transports.py:99 msgid "" "If checked, the transport will be enabled for the selected networks. If " "unchecked, transport will be disabled for selected networks" @@ -881,7 +881,7 @@ msgstr "" "sélectionnés. Si cette case n'est pas cochée, le transport sera désactivé " "pour les réseaux sélectionnés" -#: REST/methods/transports.py:89 +#: REST/methods/transports.py:116 msgid "" "Networks associated with this transport. If No network selected, will mean " "\"all networks\"" @@ -889,11 +889,11 @@ msgstr "" "Réseaux liés à ce transport. Si aucun réseau n'a été sélectionné, signifiera " "« tous les réseaux »" -#: REST/methods/transports.py:97 +#: REST/methods/transports.py:134 msgid "Allowed Devices" msgstr "Périphériques autorisés" -#: REST/methods/transports.py:98 +#: REST/methods/transports.py:136 msgid "" "If empty, any kind of device compatible with this transport will be allowed. " "Else, only devices compatible with selected values will be allowed" @@ -902,17 +902,22 @@ msgstr "" "transport. Sinon, seuls les appareils compatibles avec les valeurs " "sélectionnées seront autorisés" -#: REST/methods/transports.py:107 +#: REST/methods/transports.py:153 msgid "Currently assigned services pools" msgstr "Actuellement affecté piscines services" -#: REST/methods/transports.py:116 +#: REST/methods/transports.py:166 msgid "Metapool transport label (only used on metapool transports grouping)" msgstr "" "Étiquette de transport Metapool (utilisée uniquement sur le regroupement de " "transports metapool)" -#: REST/methods/tunnel_token.py:53 +#: REST/methods/tunnel_token.py:48 +#| msgid "Tunneled" +msgid "Tunnel tokens" +msgstr "Jetons de tunnel" + +#: REST/methods/tunnel_token.py:50 msgid "Token" msgstr "Jeton" @@ -1011,7 +1016,7 @@ msgstr "Utilisateurs actuels" #: services/OpenStack/provider.py:127 services/OpenStack/provider_legacy.py:144 #: services/Proxmox/provider.py:82 services/RDS_enterprise/provider.py:118 #: services/VCloud_enterprise/provider.py:35 -#: services/Vmware_enterprise/provider.py:43 services/Xen/provider.py:107 +#: services/Vmware_enterprise/provider.py:60 services/Xen/provider.py:107 #: transports/HTML5RDP/html5rdp.py:103 transports/HTML5VNC/html5vnc.py:75 #: transports/NoMachine_enterprise/nomachine_base.py:63 #: transports/PCoIP_enterprise/pcoip.py:59 transports/RDP/rdp_base.py:75 @@ -1160,7 +1165,7 @@ msgstr "" #: services/OpenStack/provider.py:135 services/OpenStack/provider_legacy.py:152 #: services/Proxmox/provider.py:92 services/RDS_enterprise/provider.py:126 #: services/Sample/service.py:140 services/VCloud_enterprise/provider.py:36 -#: services/Vmware_enterprise/provider.py:44 services/Xen/provider.py:115 +#: services/Vmware_enterprise/provider.py:67 services/Xen/provider.py:115 #: transports/HTML5RDP/html5rdp.py:109 transports/HTML5VNC/html5vnc.py:76 #: transports/NoMachine_enterprise/nomachine_base.py:69 #: transports/PCoIP_enterprise/pcoip.py:60 transports/RDP/rdp_base.py:81 @@ -1185,7 +1190,7 @@ msgstr "Mot de passe de l'utilisateur ldap" #: services/OpenGnsys/provider.py:164 services/OpenNebula/provider.py:86 #: services/OpenStack/provider.py:166 services/OpenStack/provider_legacy.py:183 #: services/Proxmox/provider.py:123 services/VCloud_enterprise/provider.py:63 -#: services/Vmware_enterprise/provider.py:50 +#: services/Vmware_enterprise/provider.py:99 msgid "Timeout" msgstr "Délai d'attente" @@ -1674,11 +1679,11 @@ msgstr " Authentificateur SAML" msgid "SAML (v2.0) Authenticator" msgstr "SAML (v2.0) authentificateur" -#: auths/SAML_enterprise/saml.py:127 +#: auths/SAML_enterprise/saml.py:129 msgid "Private key" msgstr "Clé privée" -#: auths/SAML_enterprise/saml.py:128 +#: auths/SAML_enterprise/saml.py:132 msgid "" "Private key used for sign and encription, as generated in base 64 from " "openssl" @@ -1686,15 +1691,15 @@ msgstr "" "Clé privée utilisée pour signature et cryptage, tel qu'elle est générée en " "base 64 de OpenSSL" -#: auths/SAML_enterprise/saml.py:129 auths/SAML_enterprise/saml.py:134 +#: auths/SAML_enterprise/saml.py:135 auths/SAML_enterprise/saml.py:146 msgid "Certificates" msgstr "Certificats" -#: auths/SAML_enterprise/saml.py:132 transports/SPICE/spice_base.py:82 +#: auths/SAML_enterprise/saml.py:140 transports/SPICE/spice_base.py:82 msgid "Certificate" msgstr "Certificat" -#: auths/SAML_enterprise/saml.py:133 +#: auths/SAML_enterprise/saml.py:143 msgid "" "Public key used for sign and encription (public part of previous private " "key), as generated in base 64 from openssl" @@ -1702,67 +1707,67 @@ msgstr "" "Clé publique utilisée pour signature et cryptage (partie publique de la clé " "privé précédente), tel qu'elle est générée en base 64 d’openssl" -#: auths/SAML_enterprise/saml.py:137 +#: auths/SAML_enterprise/saml.py:151 msgid "IDP Metadata" msgstr "Métadonnées de l'IDP" -#: auths/SAML_enterprise/saml.py:138 +#: auths/SAML_enterprise/saml.py:154 msgid "" "You can enter here the URL or the IDP metadata or the metadata itself (xml)" msgstr "" "Ici, vous pouvez entrer le URL ou les métadonnées d'IDP ou les métadonnées " "eux-même (xml)" -#: auths/SAML_enterprise/saml.py:139 auths/SAML_enterprise/saml.py:143 +#: auths/SAML_enterprise/saml.py:157 auths/SAML_enterprise/saml.py:166 msgid "Metadata" msgstr "Métadonnées" -#: auths/SAML_enterprise/saml.py:142 +#: auths/SAML_enterprise/saml.py:161 msgid "Entity ID" msgstr "ID de l'entité" -#: auths/SAML_enterprise/saml.py:143 +#: auths/SAML_enterprise/saml.py:164 msgid "ID of the SP. If left blank, this will be autogenerated from server URL" msgstr "" "ID de la SP. Si laissé vide, ce sera généré automatiquement a partir des URL " "du serveur" -#: auths/SAML_enterprise/saml.py:147 +#: auths/SAML_enterprise/saml.py:172 msgid "User name attrs" msgstr "Utilisateur nom attrs" -#: auths/SAML_enterprise/saml.py:148 +#: auths/SAML_enterprise/saml.py:174 msgid "Fields from where to extract user name" msgstr "Champs d'où extraire le nom d'utilisateur" -#: auths/SAML_enterprise/saml.py:148 auths/SAML_enterprise/saml.py:153 -#: auths/SAML_enterprise/saml.py:158 +#: auths/SAML_enterprise/saml.py:176 auths/SAML_enterprise/saml.py:186 +#: auths/SAML_enterprise/saml.py:196 msgid "Attributes" msgstr "Attributs" -#: auths/SAML_enterprise/saml.py:152 +#: auths/SAML_enterprise/saml.py:182 msgid "Group name attrs" msgstr "Groupe nom attrs" -#: auths/SAML_enterprise/saml.py:153 +#: auths/SAML_enterprise/saml.py:184 msgid "Fields from where to extract the groups" msgstr "Champs d'où extraire les groupes" -#: auths/SAML_enterprise/saml.py:157 +#: auths/SAML_enterprise/saml.py:192 msgid "Real name attrs" msgstr "Vrai nom attrs" -#: auths/SAML_enterprise/saml.py:158 +#: auths/SAML_enterprise/saml.py:194 msgid "Fields from where to extract the real name" msgstr "Champs d'où extraire le nom réel" -#: auths/SAML_enterprise/saml.py:176 +#: auths/SAML_enterprise/saml.py:216 msgid "SAML Authenticator does not support white spaces on field NAME" msgstr "" "SAML Authenticator ne prend pas en charge les espaces blancs sur le champ " "NAME" -#: auths/SAML_enterprise/saml.py:183 +#: auths/SAML_enterprise/saml.py:230 msgid "" "Server certificate should be a valid PEM (PEM certificates starts with -----" "BEGIN CERTIFICATE-----)" @@ -1770,11 +1775,11 @@ msgstr "" "Certificat de serveur doit être un PEM valide (certificats PEM commencent " "par---BEGIN CERTIFICATE---)" -#: auths/SAML_enterprise/saml.py:188 +#: auths/SAML_enterprise/saml.py:238 msgid "Invalid server certificate. " msgstr "Certificat de serveur non valide. " -#: auths/SAML_enterprise/saml.py:192 +#: auths/SAML_enterprise/saml.py:249 msgid "" "Private key should be a valid PEM (PEM private keys starts with -----BEGIN " "RSA PRIVATE KEY-----" @@ -1782,48 +1787,48 @@ msgstr "" "Clé privée doit être un PEM valide (clés privées PEM commencent par---BEGIN " "RSA PRIVATE KEY---" -#: auths/SAML_enterprise/saml.py:197 +#: auths/SAML_enterprise/saml.py:257 msgid "Invalid private key. " msgstr "Clé privée non valide. " -#: auths/SAML_enterprise/saml.py:214 +#: auths/SAML_enterprise/saml.py:276 #, python-brace-format msgid "Can't fetch url {0}: {1}" msgstr "Impossible d'extraire url {0}: {1}" -#: auths/SAML_enterprise/saml.py:222 +#: auths/SAML_enterprise/saml.py:287 msgid " (obtained from URL)" msgstr " (obtenu à partir d'URL)" -#: auths/SAML_enterprise/saml.py:223 +#: auths/SAML_enterprise/saml.py:289 msgid "XML does not seem valid for IDP Metadata " msgstr "XML ne semble pas etre valide pour les métadonnées de l'IDP " -#: auths/SAML_enterprise/saml.py:239 +#: auths/SAML_enterprise/saml.py:311 msgid "Can't access idp metadata" msgstr "Ne peut pas accéder aux métadonnées de l'idp" -#: auths/Sample/SampleAuth.py:76 +#: auths/Sample/SampleAuth.py:79 msgid "Sample Authenticator" msgstr "Échantillon authentificateur" -#: auths/Sample/SampleAuth.py:88 +#: auths/Sample/SampleAuth.py:91 msgid "Sample dummy authenticator" msgstr "Authentificateur factice de l'échantillon" -#: auths/Sample/SampleAuth.py:106 +#: auths/Sample/SampleAuth.py:109 msgid "Fake User" msgstr "Faux utilisateur" -#: auths/Sample/SampleAuth.py:109 +#: auths/Sample/SampleAuth.py:112 msgid "Fake Group" msgstr "Faux groupe" -#: auths/Sample/SampleAuth.py:115 +#: auths/Sample/SampleAuth.py:118 msgid "Groups" msgstr "Groupes" -#: auths/Sample/SampleAuth.py:128 +#: auths/Sample/SampleAuth.py:132 msgid "We need more than two groups!" msgstr "Nous avons besoin de plus de deux groupes!" @@ -2017,7 +2022,7 @@ msgstr "Service de base" #: core/services/service.py:141 core/services/service.py:150 #: models/permissions.py:92 models/permissions.py:96 -#: services/Azure_enterprise/helpers.py:97 services/OpenStack/helpers.py:74 +#: services/Azure_enterprise/helpers.py:100 services/OpenStack/helpers.py:74 #: services/Proxmox/service.py:194 services/Sample/service.py:98 #: services/Sample/service.py:104 services/TestService_enterprise/service.py:28 msgid "None" @@ -2043,79 +2048,79 @@ msgstr "Tunnel" msgid "Can't contact LDAP server" msgstr "Impossible de contacter le serveur LDAP" -#: core/util/state.py:65 core/util/states/common.py:59 +#: core/util/state.py:66 core/util/states/common.py:59 msgid "Active" msgstr "Active" -#: core/util/state.py:66 core/util/states/common.py:60 +#: core/util/state.py:67 core/util/states/common.py:60 msgid "Inactive" msgstr "Inactif" -#: core/util/state.py:67 core/util/states/common.py:61 +#: core/util/state.py:68 core/util/states/common.py:61 msgid "Blocked" msgstr "Bloqué" -#: core/util/state.py:68 core/util/states/common.py:62 +#: core/util/state.py:69 core/util/states/common.py:62 msgid "Waiting publication" msgstr "Attente de publication" -#: core/util/state.py:69 core/util/states/common.py:63 +#: core/util/state.py:70 core/util/states/common.py:63 msgid "In preparation" msgstr "En préparation" -#: core/util/state.py:70 core/util/states/common.py:64 +#: core/util/state.py:71 core/util/states/common.py:64 msgid "Valid" msgstr "Valide" -#: core/util/state.py:71 core/util/state.py:73 core/util/states/common.py:66 +#: core/util/state.py:72 core/util/state.py:74 core/util/states/common.py:66 msgid "Removing" msgstr "Suppression" -#: core/util/state.py:72 +#: core/util/state.py:73 msgid "Restrained" msgstr "Restreint" -#: core/util/state.py:74 core/util/states/common.py:67 +#: core/util/state.py:75 core/util/states/common.py:67 msgid "Removed" msgstr "Supprimé" -#: core/util/state.py:75 core/util/states/common.py:68 +#: core/util/state.py:76 core/util/states/common.py:68 msgid "Canceled" msgstr "Annulée" -#: core/util/state.py:76 core/util/states/common.py:69 +#: core/util/state.py:77 core/util/states/common.py:69 msgid "Canceling" msgstr "Annulation" -#: core/util/state.py:77 core/util/states/common.py:70 +#: core/util/state.py:78 core/util/states/common.py:70 msgid "Error" msgstr "Erreur" -#: core/util/state.py:79 core/util/states/common.py:72 +#: core/util/state.py:80 core/util/states/common.py:72 msgid "Finished" msgstr "Fini" -#: core/util/state.py:80 core/util/states/common.py:73 +#: core/util/state.py:81 core/util/states/common.py:73 msgid "Waiting execution" msgstr "Exécution en attente" -#: core/util/state.py:81 core/util/states/common.py:74 +#: core/util/state.py:82 core/util/states/common.py:74 msgid "Balancing" msgstr "Équilibrage" -#: core/util/state.py:82 core/util/states/common.py:75 +#: core/util/state.py:83 core/util/states/common.py:75 msgid "In maintenance" msgstr "Dans l'entretien" -#: core/util/state.py:83 core/util/states/common.py:76 +#: core/util/state.py:84 core/util/states/common.py:76 msgid "Waiting OS" msgstr "OS en attente" -#: core/util/state.py:84 +#: core/util/state.py:85 msgid "Too many preparing services" msgstr "Trop de services de préparation" -#: core/util/state.py:85 +#: core/util/state.py:86 msgid "Meta member" msgstr "Membre méta" @@ -2147,24 +2152,24 @@ msgstr "Utilisateurs avec services" msgid "Cached" msgstr "En cache" -#: core/util/tools.py:144 +#: core/util/tools.py:152 msgid "{} days {:d}:{:02d}:{:02d}" msgstr "{} jours {: d}: {: 02d}: {: 02d}" -#: core/util/tools.py:161 +#: core/util/tools.py:171 msgid "The basename is not a valid for a hostname" msgstr "Le nom de base n'est pas valide pour un nom d'hôte" -#: core/util/tools.py:164 +#: core/util/tools.py:176 msgid "The length of basename plus length must be greater than 0" msgstr "La longueur du nom de base plus la longueur doit être supérieure à 0" -#: core/util/tools.py:167 +#: core/util/tools.py:181 msgid "The length of basename plus length must not be greater than 15" msgstr "" "La longueur du nom de base plus la longueur ne doit pas être supérieure à 15" -#: core/util/tools.py:170 +#: core/util/tools.py:186 msgid "The machine name can't be only numbers" msgstr "Nom de l'ordinateur ne peut pas être uniquement des nombres" @@ -2172,30 +2177,30 @@ msgstr "Nom de l'ordinateur ne peut pas être uniquement des nombres" msgid "Numeric" msgstr "Numérique" -#: core/util/validators.py:64 +#: core/util/validators.py:66 #, python-brace-format msgid "{0} must be greater than or equal to {1}" msgstr "{0} doit être supérieure ou égale à {1}" -#: core/util/validators.py:67 +#: core/util/validators.py:74 #, python-brace-format msgid "{0} must be lower than or equal to {1}" msgstr "{0} doit être inférieure ou égale à {1}" -#: core/util/validators.py:72 +#: core/util/validators.py:81 #, python-brace-format msgid "{0} contains invalid characters" msgstr "{0} contient des caractères non valides" -#: core/util/validators.py:81 +#: core/util/validators.py:90 msgid "{} exceeds maximum host name length." msgstr "{} dépasse la longueur maximale du nom d'hôte." -#: core/util/validators.py:92 +#: core/util/validators.py:103 msgid "{} is not a valid hostname" msgstr "{} n'est pas un nom d'hôte valide" -#: core/util/validators.py:136 +#: core/util/validators.py:152 msgid "" "Invalid mac range. Mac range must be in format XX:XX:XX:XX:XX:XX-XX:XX:XX:XX:" "XX:XX" @@ -3152,8 +3157,8 @@ msgstr "Obtenu à partir des abonnements" #: services/OpenGnsys/provider.py:141 services/OpenNebula/provider.py:83 #: services/OpenStack/provider.py:143 services/OpenStack/provider_legacy.py:160 #: services/Proxmox/provider.py:100 services/VCloud_enterprise/provider.py:60 -#: services/Vmware_enterprise/provider.py:47 -#: services/Vmware_enterprise/provider.py:99 services/Xen/provider.py:123 +#: services/Vmware_enterprise/provider.py:76 +#: services/Vmware_enterprise/provider.py:182 services/Xen/provider.py:123 msgid "Creation concurrency" msgstr "Simultanéité de la création" @@ -3165,7 +3170,7 @@ msgstr "Simultanéité de la création" #: services/OpenGnsys/provider.py:146 services/OpenNebula/provider.py:83 #: services/OpenStack/provider.py:148 services/OpenStack/provider_legacy.py:165 #: services/Proxmox/provider.py:105 services/VCloud_enterprise/provider.py:60 -#: services/Vmware_enterprise/provider.py:47 services/Xen/provider.py:128 +#: services/Vmware_enterprise/provider.py:81 services/Xen/provider.py:128 msgid "Maximum number of concurrently creating VMs" msgstr "Nombre maximal de machines virtuelles en création simultanée" @@ -3177,8 +3182,8 @@ msgstr "Nombre maximal de machines virtuelles en création simultanée" #: services/OpenGnsys/provider.py:152 services/OpenNebula/provider.py:84 #: services/OpenStack/provider.py:154 services/OpenStack/provider_legacy.py:171 #: services/Proxmox/provider.py:111 services/VCloud_enterprise/provider.py:61 -#: services/Vmware_enterprise/provider.py:48 -#: services/Vmware_enterprise/provider.py:100 services/Xen/provider.py:134 +#: services/Vmware_enterprise/provider.py:87 +#: services/Vmware_enterprise/provider.py:188 services/Xen/provider.py:134 msgid "Removal concurrency" msgstr "Simultanéité de supression" @@ -3190,7 +3195,7 @@ msgstr "Simultanéité de supression" #: services/OpenGnsys/provider.py:157 services/OpenNebula/provider.py:84 #: services/OpenStack/provider.py:159 services/OpenStack/provider_legacy.py:176 #: services/Proxmox/provider.py:116 services/VCloud_enterprise/provider.py:61 -#: services/Vmware_enterprise/provider.py:48 services/Xen/provider.py:139 +#: services/Vmware_enterprise/provider.py:92 services/Xen/provider.py:139 msgid "Maximum number of concurrently removing VMs" msgstr "Nombre maximal de suppression simultanée de machines virtuelles" @@ -3406,7 +3411,7 @@ msgstr "Délai d'attente en secondes de connexion pour HyperV" #: services/HyperV_enterprise/legacy/provider.py:95 #: services/HyperV_enterprise/provider.py:103 #: services/Nutanix_enterprise/provider.py:45 services/OVirt/provider.py:117 -#: services/Vmware_enterprise/provider.py:51 services/Xen/provider.py:146 +#: services/Vmware_enterprise/provider.py:109 services/Xen/provider.py:146 msgid "Macs range" msgstr "Gamme Mac" @@ -3423,7 +3428,7 @@ msgstr "Test de connexion réussie" #: services/HyperV_enterprise/legacy/provider.py:268 #: services/NutanixPrism_enterprise/provider.py:262 #: services/Nutanix_enterprise/provider.py:228 services/OVirt/provider.py:457 -#: services/Proxmox/provider.py:312 services/Vmware_enterprise/provider.py:168 +#: services/Proxmox/provider.py:312 services/Vmware_enterprise/provider.py:291 msgid "Connection failed. Check connection params" msgstr "La connexion a échoué. Vérifiez les paramètres de connexion" @@ -4277,12 +4282,12 @@ msgstr "Fournisseur de machines IP statiques" msgid "Provides connection to machines by IP" msgstr "Fournit une connexion aux machines par IP" -#: services/PhysicalMachines/service_multi.py:63 +#: services/PhysicalMachines/service_multi.py:64 #: services/Vmware_enterprise/service_fixed.py:55 msgid "Service Token" msgstr "Jeton de service" -#: services/PhysicalMachines/service_multi.py:66 +#: services/PhysicalMachines/service_multi.py:67 #: services/Vmware_enterprise/service_fixed.py:57 msgid "" "Service token that will be used by actors to communicate with service. Leave " @@ -4291,45 +4296,58 @@ msgstr "" "Jeton de service qui sera utilisé par les acteurs pour communiquer avec le " "service. Laissez vide pour une affectation persistante." -#: services/PhysicalMachines/service_multi.py:74 +#: services/PhysicalMachines/service_multi.py:75 #: services/RDS_enterprise/provider.py:49 msgid "List of servers" msgstr "Liste des serveurs" -#: services/PhysicalMachines/service_multi.py:75 +#: services/PhysicalMachines/service_multi.py:76 msgid "List of servers available for this service" msgstr "Liste des serveurs disponibles pour ce service" -#: services/PhysicalMachines/service_multi.py:80 +#: services/PhysicalMachines/service_multi.py:81 msgid "Check Port" msgstr "Vérifier le port" -#: services/PhysicalMachines/service_multi.py:84 +#: services/PhysicalMachines/service_multi.py:85 msgid "" "If non zero, only hosts responding to connection on that port will be served." msgstr "" "Si différent de zéro, seuls les hôtes répondant à la connexion sur ce port " "seront servis." -#: services/PhysicalMachines/service_multi.py:91 +#: services/PhysicalMachines/service_multi.py:92 msgid "Skip time" msgstr "Passer le temps" -#: services/PhysicalMachines/service_multi.py:94 +#: services/PhysicalMachines/service_multi.py:95 msgid "If a host fails to check, skip it for this time (in minutes)." msgstr "" "Si un hôte ne parvient pas à vérifier, ignorez-le pendant cette période (en " "minutes)." -#: services/PhysicalMachines/service_multi.py:101 +#: services/PhysicalMachines/service_multi.py:103 +#| msgid "Max. session time" +msgid "Max session per machine" +msgstr "Session max par machine" + +#: services/PhysicalMachines/service_multi.py:107 +msgid "" +"Maximum session duration before UDS thinks this machine got locked and " +"releases it (hours). 0 means \"never\"." +msgstr "" +"Durée maximale de la session avant qu'UDS pense que cette machine s'" +"est verrouillée et la libère (heures). 0 signifie \"jamais\"." + +#: services/PhysicalMachines/service_multi.py:115 msgid "Static Multiple IP" msgstr "IP statique multiple" -#: services/PhysicalMachines/service_multi.py:103 +#: services/PhysicalMachines/service_multi.py:117 msgid "This service provides access to POWERED-ON Machines by IP" msgstr "Ce service fournit un accès aux machines sous tension par IP" -#: services/PhysicalMachines/service_multi.py:134 +#: services/PhysicalMachines/service_multi.py:150 msgid "Invalid value detected on servers list: \"{}\"" msgstr "Valeur non valide détectée sur la liste des serveurs : \"{}\"" @@ -4700,7 +4718,7 @@ msgstr "Nombre maximum de services autorisés (0 ne signifie aucune limite)" msgid "Wait spawned processes" msgstr "Attendre le processus engendré" -#: services/RDS_enterprise/service.py:99 +#: services/RDS_enterprise/service.py:100 msgid "" "If active, RDS Actor will wait until the application and all spawned " "processes finished before considering app logged out" @@ -4708,7 +4726,7 @@ msgstr "" "S'il est actif, RDS Actor attendra que l'application et tous les processus " "engendrés aient terminé avant de considérer l'application déconnectée" -#: services/RDS_enterprise/service.py:109 +#: services/RDS_enterprise/service.py:112 msgid "A valid application path is required" msgstr "Un chemin d'accès d'application valide est requis" @@ -4957,27 +4975,27 @@ msgstr "Local" msgid "Remote" msgstr "Distant" -#: services/Vmware_enterprise/provider.py:41 +#: services/Vmware_enterprise/provider.py:47 msgid "VMWare VCenter Server IP or Hostname" msgstr "IP du Server VMWare VCenter ou nom d’hôte" -#: services/Vmware_enterprise/provider.py:42 +#: services/Vmware_enterprise/provider.py:55 msgid "VMWare VC Server Port (usually 443)" msgstr "Port du serveur VMWare VC (habituellement 443)" -#: services/Vmware_enterprise/provider.py:43 +#: services/Vmware_enterprise/provider.py:62 msgid "User with valid privileges on VC" msgstr "Utilisateur avec des privilèges valides sur VC" -#: services/Vmware_enterprise/provider.py:44 +#: services/Vmware_enterprise/provider.py:69 msgid "Password of the user of the VC" msgstr "Mot de passe de l'utilisateur du VC" -#: services/Vmware_enterprise/provider.py:50 +#: services/Vmware_enterprise/provider.py:102 msgid "Timeout in seconds of connection to VC" msgstr "Délai en secondes de connexion à VC" -#: services/Vmware_enterprise/provider.py:52 +#: services/Vmware_enterprise/provider.py:114 msgid "" "Range of valid macs for created machines. Must be inside " "00:50:56:00:00:00-00:50:56:3F:FF:FF" @@ -4985,15 +5003,15 @@ msgstr "" "Gamme de Mac valide pour machines créées. Doit être comprise dans " "00:50:56:00:00:00-00:50:56:3F:FF:FF" -#: services/Vmware_enterprise/provider.py:56 +#: services/Vmware_enterprise/provider.py:126 msgid "VMWare VCenter Platform Provider" msgstr "Fournisseur de plates-formes VMWare VCenter" -#: services/Vmware_enterprise/provider.py:58 +#: services/Vmware_enterprise/provider.py:128 msgid "Provides connection to Virtual Center Services" msgstr "Fournit la connexion à des Services de centre virtuel" -#: services/Vmware_enterprise/provider.py:166 +#: services/Vmware_enterprise/provider.py:287 msgid "Connection params ok" msgstr "Connexion params ok" @@ -5479,7 +5497,7 @@ msgstr "Afficher le papier peint" #: transports/HTML5RDP/html5rdp.py:134 #: transports/HTML5RDS_enterprise/html5rds.py:123 -#: transports/RDP/rdp_base.py:213 +#: transports/RDP/rdp_base.py:222 msgid "" "If checked, the wallpaper and themes will be shown on machine (better user " "experience, more bandwidth)" @@ -5489,25 +5507,25 @@ msgstr "" #: transports/HTML5RDP/html5rdp.py:139 #: transports/HTML5RDS_enterprise/html5rds.py:128 -#: transports/RDP/rdp_base.py:226 +#: transports/RDP/rdp_base.py:235 msgid "Allow Desk.Comp." msgstr "Autoriser Desk.Comp." #: transports/HTML5RDP/html5rdp.py:141 #: transports/HTML5RDS_enterprise/html5rds.py:130 -#: transports/RDP/rdp_base.py:228 +#: transports/RDP/rdp_base.py:237 msgid "If checked, desktop composition will be allowed" msgstr "Si cochée, la composition du bureau sera autorisée" #: transports/HTML5RDP/html5rdp.py:145 #: transports/HTML5RDS_enterprise/html5rds.py:134 -#: transports/RDP/rdp_base.py:232 transports/RDS_enterprise/rds_base.py:150 +#: transports/RDP/rdp_base.py:241 transports/RDS_enterprise/rds_base.py:150 msgid "Font Smoothing" msgstr "Lissage des polices" #: transports/HTML5RDP/html5rdp.py:147 #: transports/HTML5RDS_enterprise/html5rds.py:136 -#: transports/RDS_enterprise/rds_base.py:152 +#: transports/RDS_enterprise/rds_base.py:153 msgid "If checked, fonts smoothing will be allowed (windows clients only)" msgstr "" "Si cette case est cochée, le lissage des polices sera autorisé (clients " @@ -5681,13 +5699,22 @@ msgstr "" msgid "TLS (Transport Security Layer encryption)" msgstr "TLS (chiffrement de la couche de sécurité de transport)" -#: transports/HTML5RDP/html5rdp.py:246 +#: transports/HTML5RDP/html5rdp.py:247 transports/RDP/rdp_base.py:172 +#| msgid "Port" +msgid "RDP Port" +msgstr "Port RDP" + +#: transports/HTML5RDP/html5rdp.py:248 transports/RDP/rdp_base.py:173 +msgid "Use this port as RDP port. Defaults to 3389." +msgstr "Utilisez ce port comme port RDP. La valeur par défaut est 3389." + +#: transports/HTML5RDP/html5rdp.py:256 #: transports/HTML5RDS_enterprise/html5rds.py:223 #: transports/HTML5VNC/html5vnc.py:109 msgid "Ticket Validity" msgstr "Validité du ticket" -#: transports/HTML5RDP/html5rdp.py:250 +#: transports/HTML5RDP/html5rdp.py:260 #: transports/HTML5RDS_enterprise/html5rds.py:227 #: transports/HTML5VNC/html5vnc.py:112 msgid "" @@ -5697,13 +5724,13 @@ msgstr "" "Temps d'attente, en secondes, pour que le client HTML5 recharge les données " "d'UDS Broker. La valeur par défaut de 60 est recommandée." -#: transports/HTML5RDP/html5rdp.py:259 +#: transports/HTML5RDP/html5rdp.py:269 #: transports/HTML5RDS_enterprise/html5rds.py:236 #: transports/HTML5VNC/html5vnc.py:119 transports/URL/url_custom.py:82 msgid "Force new HTML Window" msgstr "Forcer une nouvelle fenêtre HTML" -#: transports/HTML5RDP/html5rdp.py:260 +#: transports/HTML5RDP/html5rdp.py:270 #: transports/HTML5RDS_enterprise/html5rds.py:237 #: transports/HTML5VNC/html5vnc.py:120 msgid "Select windows behavior for new connections on HTML5" @@ -5711,31 +5738,31 @@ msgstr "" "Sélectionnez le comportement de Windows pour les nouvelles connexions sur " "HTML5" -#: transports/HTML5RDP/html5rdp.py:265 +#: transports/HTML5RDP/html5rdp.py:275 #: transports/HTML5RDS_enterprise/html5rds.py:242 #: transports/HTML5VNC/html5vnc.py:123 msgid "Open every connection on the same window, but keeps UDS window." msgstr "" "Ouvrez chaque connexion sur la même fenêtre, mais conserve la fenêtre UDS." -#: transports/HTML5RDP/html5rdp.py:268 +#: transports/HTML5RDP/html5rdp.py:278 #: transports/HTML5RDS_enterprise/html5rds.py:245 #: transports/HTML5VNC/html5vnc.py:124 msgid "Force every connection to be opened on a new window." msgstr "Forcer l'ouverture de chaque connexion dans une nouvelle fenêtre." -#: transports/HTML5RDP/html5rdp.py:272 +#: transports/HTML5RDP/html5rdp.py:282 #: transports/HTML5RDS_enterprise/html5rds.py:249 #: transports/HTML5VNC/html5vnc.py:125 msgid "Override UDS window and replace it with the connection." msgstr "Remplacez la fenêtre UDS et remplacez-la par la connexion." -#: transports/HTML5RDP/html5rdp.py:280 +#: transports/HTML5RDP/html5rdp.py:290 #: transports/HTML5RDS_enterprise/html5rds.py:256 msgid "Glyptodon Enterprise context path" msgstr "Chemin de contexte Glyptodon Enterprise" -#: transports/HTML5RDP/html5rdp.py:283 +#: transports/HTML5RDP/html5rdp.py:293 #: transports/HTML5RDS_enterprise/html5rds.py:259 msgid "" "Customized path for Glyptodon Enterprise tunnel. (Only valid for Glyptodon " @@ -5744,13 +5771,13 @@ msgstr "" "Chemin personnalisé pour le tunnel Glyptodon Enterprise. (Valable uniquement " "pour Glyptodon Enterprise Tunnel)" -#: transports/HTML5RDP/html5rdp.py:298 +#: transports/HTML5RDP/html5rdp.py:308 #: transports/HTML5RDS_enterprise/html5rds.py:273 #: transports/HTML5VNC/html5vnc.py:137 msgid "The server must be http or https" msgstr "Le serveur doit être http ou https" -#: transports/HTML5RDP/html5rdp.py:303 +#: transports/HTML5RDP/html5rdp.py:313 #: transports/HTML5RDS_enterprise/html5rds.py:278 msgid "" "Empty credentials (on Credentials tab) is only allowed with Security level " @@ -5804,7 +5831,7 @@ msgstr "Port du serveur VNC" msgid "Port of the VNC server." msgstr "Port du serveur VNC." -#: transports/HTML5VNC/html5vnc.py:90 transports/RDP/rdp_base.py:196 +#: transports/HTML5VNC/html5vnc.py:90 transports/RDP/rdp_base.py:205 #: transports/RDS_enterprise/rds_base.py:136 msgid "Color depth" msgstr "Profondeur de couleur" @@ -5915,7 +5942,7 @@ msgid "" msgstr "Si activé, le certificat du serveur tunnel sera vérifié (recommandé)." #: transports/NoMachine_enterprise/nomachine_tunneltransport.py:114 -#: transports/RDP/rdptunnel.py:134 transports/RDS_enterprise/rdstunnel.py:126 +#: transports/RDP/rdptunnel.py:135 transports/RDS_enterprise/rdstunnel.py:126 #: transports/SPICE/spice_tunnel.py:106 transports/X2GO/x2go_tunnel.py:117 msgid "Must use HOST:PORT in Tunnel Server Field" msgstr "Devez utiliser HOST : PORT dans le champ serveur Tunnel" @@ -6030,27 +6057,27 @@ msgid "If checked, will enable Credentials Provider Support)" msgstr "" "Si coché, activera le support du fournisseur d'informations d'identification)" -#: transports/RDP/rdp_base.py:172 +#: transports/RDP/rdp_base.py:181 msgid "Screen Size" msgstr "Taille de l'écran" -#: transports/RDP/rdp_base.py:174 +#: transports/RDP/rdp_base.py:183 msgid "Screen size for this transport" msgstr "Taille de l’écran pour ce type de transport" -#: transports/RDP/rdp_base.py:198 transports/RDS_enterprise/rds_base.py:138 +#: transports/RDP/rdp_base.py:207 transports/RDS_enterprise/rds_base.py:138 msgid "Color depth for this connection" msgstr "Profondeur de couleur pour cette connexion" -#: transports/RDP/rdp_base.py:210 +#: transports/RDP/rdp_base.py:219 msgid "Wallpaper/theme" msgstr "Thème/fond d’écran" -#: transports/RDP/rdp_base.py:218 +#: transports/RDP/rdp_base.py:227 msgid "Multiple monitors" msgstr "Plusieurs moniteurs" -#: transports/RDP/rdp_base.py:221 +#: transports/RDP/rdp_base.py:230 msgid "" "If checked, all client monitors will be used for displaying (only works on " "windows clients)" @@ -6058,65 +6085,65 @@ msgstr "" "Si cette case est cochée, tous les moniteurs clients seront utilisés pour " "l'affichage (ne fonctionne que sur les clients Windows)" -#: transports/RDP/rdp_base.py:234 +#: transports/RDP/rdp_base.py:244 msgid "If checked, fonts smoothing will be allowed" msgstr "Si coché, le lissage de polices pourront" -#: transports/RDP/rdp_base.py:238 +#: transports/RDP/rdp_base.py:248 msgid "Connection Bar" msgstr "Barre de connexion" -#: transports/RDP/rdp_base.py:240 +#: transports/RDP/rdp_base.py:250 msgid "If checked, connection bar will be shown (only on Windows clients)" msgstr "" "Si cochée, barre de connexion s’affichera (uniquement sur les clients " "Windows)" -#: transports/RDP/rdp_base.py:246 transports/RDS_enterprise/rds_base.py:174 +#: transports/RDP/rdp_base.py:256 transports/RDS_enterprise/rds_base.py:179 msgid "Multimedia sync" msgstr "Sync Multimédia " -#: transports/RDP/rdp_base.py:249 transports/RDS_enterprise/rds_base.py:177 +#: transports/RDP/rdp_base.py:259 transports/RDS_enterprise/rds_base.py:182 msgid "If checked. Linux client will use multimedia parameter for xfreerdp" msgstr "" "S’il est activé. Client Linux utilisera le paramètre multimédia pour xfreerdp" -#: transports/RDP/rdp_base.py:254 transports/RDS_enterprise/rds_base.py:182 +#: transports/RDP/rdp_base.py:264 transports/RDS_enterprise/rds_base.py:187 msgid "Use Alsa" msgstr "Utiliser Alsa" -#: transports/RDP/rdp_base.py:257 transports/RDS_enterprise/rds_base.py:185 +#: transports/RDP/rdp_base.py:267 transports/RDS_enterprise/rds_base.py:190 msgid "" "If checked, Linux client will try to use ALSA, otherwise Pulse will be used" msgstr "" "Si coché, le client Linux essayera d'utiliser ALSA, sinon, Pulse sera utilisé" -#: transports/RDP/rdp_base.py:262 transports/RDS_enterprise/rds_base.py:190 +#: transports/RDP/rdp_base.py:272 transports/RDS_enterprise/rds_base.py:195 msgid "Printer string" msgstr "Chaîne de l’imprimante" -#: transports/RDP/rdp_base.py:265 transports/RDS_enterprise/rds_base.py:193 +#: transports/RDP/rdp_base.py:275 transports/RDS_enterprise/rds_base.py:198 msgid "If printer is checked, the printer string used with xfreerdp client" msgstr "" "Si l’imprimante est activée, la chaîne de l’imprimante sera utilisée avec " "xfreerdp client" -#: transports/RDP/rdp_base.py:271 transports/RDS_enterprise/rds_base.py:199 +#: transports/RDP/rdp_base.py:281 transports/RDS_enterprise/rds_base.py:204 msgid "Smartcard string" msgstr "Chaîne de carte à puce" -#: transports/RDP/rdp_base.py:274 transports/RDS_enterprise/rds_base.py:202 +#: transports/RDP/rdp_base.py:284 transports/RDS_enterprise/rds_base.py:207 msgid "If smartcard is checked, the smartcard string used with xfreerdp client" msgstr "" "Si la carte à puce est cochée, la chaîne de carte à puce serautilisée avec " "xfreerdp client" -#: transports/RDP/rdp_base.py:280 transports/RDP/rdp_base.py:300 -#: transports/RDS_enterprise/rds_base.py:208 +#: transports/RDP/rdp_base.py:290 transports/RDP/rdp_base.py:310 +#: transports/RDS_enterprise/rds_base.py:213 msgid "Custom parameters" msgstr "Paramètres personnalisés" -#: transports/RDP/rdp_base.py:283 transports/RDS_enterprise/rds_base.py:211 +#: transports/RDP/rdp_base.py:293 transports/RDS_enterprise/rds_base.py:216 msgid "" "If not empty, extra parameter to include for Linux Client (for example /usb:" "id,dev:054c:0268, or aything compatible with your xfreerdp client)" @@ -6125,11 +6152,11 @@ msgstr "" "exemple / usb: id, dev: 054c: 0268, ou quoi que ce soit compatible avec " "votre client xfreerdp)" -#: transports/RDP/rdp_base.py:290 +#: transports/RDP/rdp_base.py:300 msgid "Allow Microsoft Rdp Client" msgstr "Autoriser le client Microsoft Rdp" -#: transports/RDP/rdp_base.py:293 +#: transports/RDP/rdp_base.py:303 msgid "" "If checked, allows use of Microsoft Remote Desktop Client. PASSWORD WILL BE " "PROMPTED!" @@ -6137,7 +6164,7 @@ msgstr "" "Si coché, permet l'utilisation de Microsoft Remote Desktop Client. LE " "MOT DE PASSE SERA INVITÉ !" -#: transports/RDP/rdp_base.py:303 +#: transports/RDP/rdp_base.py:313 msgid "" "If not empty, extra parameter to include for Mac OS X Freerdp Client (for " "example /usb:id,dev:054c:0268, or aything compatible with your xfreerdp " @@ -6161,19 +6188,33 @@ msgid "RDS access using RDP for vApps. Direct connection." msgstr "Accès RDS en utilisant RDP pour les vApps. Connexion directe." #: transports/RDS_enterprise/rds_base.py:157 +#| msgid "Window Size" +msgid "Window state" +msgstr "État de la fenêtre" + +#: transports/RDS_enterprise/rds_base.py:159 +msgid "UDS Will try to execute the applicaiton with the window in this state" +msgstr "" +"UDS essaiera d'exécuter l'application avec la fenêtre dans cet état" + +#: transports/RDS_enterprise/rds_base.py:162 +msgid "Normal" +msgstr "Normal" + +#: transports/RDS_enterprise/rds_base.py:163 msgid "Maximized" msgstr "Maximisé" -#: transports/RDS_enterprise/rds_base.py:160 -msgid "If checked, UDS Actor will try to execute application maximized)" -msgstr "" -"Si coché, UDS Actor essaiera d'exécuter l'application au maximum)" +#: transports/RDS_enterprise/rds_base.py:164 +#| msgid "Maximized" +msgid "Minimized" +msgstr "Minimisé" -#: transports/RDS_enterprise/rds_base.py:165 +#: transports/RDS_enterprise/rds_base.py:170 msgid "Execute as shell" msgstr "Exécuter en tant que shell" -#: transports/RDS_enterprise/rds_base.py:169 +#: transports/RDS_enterprise/rds_base.py:174 msgid "" "If checked, Linux client will execute application in a session instead of a " "remoteapp" @@ -6378,7 +6419,7 @@ msgstr "" msgid "Invalid data" msgstr "Données invalides" -#: web/util/configjs.py:146 +#: web/util/configjs.py:145 msgid "Access limited by calendar" msgstr "Accès limité par calendrier" @@ -6521,6 +6562,6 @@ msgstr "" "Votre service est en cours de création, veuillez patienter quelques secondes " "pendant que nous le terminons.)" -#: web/views/auth.py:151 +#: web/views/auth.py:154 msgid "Authenticator does not provide information" msgstr "Authentificateur ne fournit pas d'informations" diff --git a/server/src/uds/locale/fr/LC_MESSAGES/djangojs.po b/server/src/uds/locale/fr/LC_MESSAGES/djangojs.po index 0f8012e21..8b344480a 100644 --- a/server/src/uds/locale/fr/LC_MESSAGES/djangojs.po +++ b/server/src/uds/locale/fr/LC_MESSAGES/djangojs.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: OpenUDS\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-08 14:18+0200\n" +"POT-Creation-Date: 2021-07-29 13:12+0200\n" "PO-Revision-Date: 2021-07-08 10:59+0000\n" "Last-Translator: Adolfo Gómez \n" "Language-Team: French (http://www.transifex.com/openuds/openuds/language/" @@ -150,23 +150,23 @@ msgstr "groupe de piscine" msgid "Go to" msgstr "Aller à" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:271 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:272 msgid "yes" msgstr "Oui" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:272 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:273 msgid "no" msgstr "non" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:268 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:269 msgid "Error saving: " msgstr "Erreur d'enregistrement:" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:269 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:270 msgid "Error saving element" msgstr "Erreur lors de l'enregistrement de l'élément" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:270 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:271 msgid "Error handling your request" msgstr "Erreur lors du traitement de votre demande" @@ -275,8 +275,8 @@ msgstr "#RESTRAINED_NUMBER# services restreints!" #: static/admin/main.js:1 static/admin/translations-fakejs.js:105 #: static/admin/translations-fakejs.js:249 -#: static/admin/translations-fakejs.js:398 -#: static/admin/translations-fakejs.js:450 +#: static/admin/translations-fakejs.js:402 +#: static/admin/translations-fakejs.js:454 msgid "Assigned services" msgstr "Services assignés" @@ -285,8 +285,8 @@ msgid "Services in use" msgstr "Services en cours d'utilisation" #: static/admin/main.js:1 static/admin/translations-fakejs.js:21 -#: static/admin/translations-fakejs.js:291 -#: static/admin/translations-fakejs.js:299 +#: static/admin/translations-fakejs.js:292 +#: static/admin/translations-fakejs.js:300 #: static/modern/translations-fakejs.js:30 msgid "Filter" msgstr "Filtre" @@ -304,25 +304,25 @@ msgid "Full Access" msgstr "Accès total" #: static/admin/main.js:1 static/admin/translations-fakejs.js:15 -#: static/admin/translations-fakejs.js:358 -#: static/admin/translations-fakejs.js:405 -#: static/admin/translations-fakejs.js:410 +#: static/admin/translations-fakejs.js:362 +#: static/admin/translations-fakejs.js:409 +#: static/admin/translations-fakejs.js:414 msgid "User" msgstr "Utilisateur" #: static/admin/main.js:1 static/admin/translations-fakejs.js:16 #: static/admin/translations-fakejs.js:83 #: static/admin/translations-fakejs.js:93 -#: static/admin/translations-fakejs.js:423 -#: static/admin/translations-fakejs.js:444 +#: static/admin/translations-fakejs.js:427 +#: static/admin/translations-fakejs.js:448 msgid "Group" msgstr "Groupe" #: static/admin/main.js:1 static/admin/translations-fakejs.js:17 -#: static/admin/translations-fakejs.js:404 -#: static/admin/translations-fakejs.js:409 -#: static/admin/translations-fakejs.js:422 -#: static/admin/translations-fakejs.js:443 +#: static/admin/translations-fakejs.js:408 +#: static/admin/translations-fakejs.js:413 +#: static/admin/translations-fakejs.js:426 +#: static/admin/translations-fakejs.js:447 #: static/modern/translations-fakejs.js:73 msgid "Authenticator" msgstr "Authentificateur" @@ -394,8 +394,8 @@ msgstr "bassin" #: static/admin/main.js:1 static/admin/translations-fakejs.js:77 #: static/admin/translations-fakejs.js:96 #: static/admin/translations-fakejs.js:230 -#: static/admin/translations-fakejs.js:339 -#: static/admin/translations-fakejs.js:351 +#: static/admin/translations-fakejs.js:343 +#: static/admin/translations-fakejs.js:355 msgid "State" msgstr "Etat" @@ -407,21 +407,21 @@ msgstr "Services utilisateur" #: static/admin/main.js:1 static/admin/translations-fakejs.js:88 #: static/admin/translations-fakejs.js:232 -#: static/admin/translations-fakejs.js:319 -#: static/admin/translations-fakejs.js:397 +#: static/admin/translations-fakejs.js:321 +#: static/admin/translations-fakejs.js:401 msgid "Service pools" msgstr "Piscines de service" #: static/admin/main.js:1 static/admin/translations-fakejs.js:3 #: static/admin/translations-fakejs.js:7 -#: static/admin/translations-fakejs.js:306 +#: static/admin/translations-fakejs.js:308 #: static/modern/translations-fakejs.js:44 msgid "Yes" msgstr "Oui" #: static/admin/main.js:1 static/admin/translations-fakejs.js:4 #: static/admin/translations-fakejs.js:8 -#: static/admin/translations-fakejs.js:307 +#: static/admin/translations-fakejs.js:309 #: static/modern/translations-fakejs.js:45 msgid "No" msgstr "Non" @@ -478,10 +478,10 @@ msgstr "Tout" #: static/admin/main.js:1 static/admin/translations-fakejs.js:84 #: static/admin/translations-fakejs.js:94 -#: static/admin/translations-fakejs.js:338 -#: static/admin/translations-fakejs.js:350 -#: static/admin/translations-fakejs.js:375 -#: static/admin/translations-fakejs.js:431 +#: static/admin/translations-fakejs.js:342 +#: static/admin/translations-fakejs.js:354 +#: static/admin/translations-fakejs.js:379 +#: static/admin/translations-fakejs.js:435 msgid "Comments" msgstr "commentaires" @@ -507,25 +507,25 @@ msgstr "Piscine de services" #: static/admin/main.js:1 static/admin/translations-fakejs.js:90 #: static/admin/translations-fakejs.js:103 -#: static/admin/translations-fakejs.js:286 -#: static/admin/translations-fakejs.js:321 -#: static/admin/translations-fakejs.js:333 -#: static/admin/translations-fakejs.js:359 +#: static/admin/translations-fakejs.js:287 +#: static/admin/translations-fakejs.js:323 +#: static/admin/translations-fakejs.js:337 #: static/admin/translations-fakejs.js:363 -#: static/admin/translations-fakejs.js:369 -#: static/admin/translations-fakejs.js:399 -#: static/admin/translations-fakejs.js:452 +#: static/admin/translations-fakejs.js:367 +#: static/admin/translations-fakejs.js:373 +#: static/admin/translations-fakejs.js:403 +#: static/admin/translations-fakejs.js:456 msgid "Groups" msgstr "Groupes" #: static/admin/main.js:1 static/admin/translations-fakejs.js:104 -#: static/admin/translations-fakejs.js:331 -#: static/admin/translations-fakejs.js:364 +#: static/admin/translations-fakejs.js:335 +#: static/admin/translations-fakejs.js:368 msgid "Services Pools" msgstr "Services Piscines" #: static/admin/main.js:1 static/admin/translations-fakejs.js:79 -#: static/admin/translations-fakejs.js:374 +#: static/admin/translations-fakejs.js:378 msgid "Name" msgstr "prénom" @@ -542,26 +542,26 @@ msgid "Last access" msgstr "Dernier accès" #: static/admin/main.js:1 static/admin/translations-fakejs.js:89 -#: static/admin/translations-fakejs.js:285 -#: static/admin/translations-fakejs.js:332 -#: static/admin/translations-fakejs.js:368 +#: static/admin/translations-fakejs.js:286 +#: static/admin/translations-fakejs.js:336 +#: static/admin/translations-fakejs.js:372 msgid "Users" msgstr "Utilisateurs" #: static/admin/main.js:1 static/admin/translations-fakejs.js:85 -#: static/admin/translations-fakejs.js:340 -#: static/admin/translations-fakejs.js:352 +#: static/admin/translations-fakejs.js:344 +#: static/admin/translations-fakejs.js:356 msgid "Enabled" msgstr "Activée" #: static/admin/main.js:1 static/admin/translations-fakejs.js:86 -#: static/admin/translations-fakejs.js:341 -#: static/admin/translations-fakejs.js:353 +#: static/admin/translations-fakejs.js:345 +#: static/admin/translations-fakejs.js:357 msgid "Disabled" msgstr "désactivé" #: static/admin/main.js:1 static/admin/translations-fakejs.js:87 -#: static/admin/translations-fakejs.js:354 +#: static/admin/translations-fakejs.js:358 msgid "Blocked" msgstr "Bloqué" @@ -672,12 +672,12 @@ msgid "In use" msgstr "Utilisé" #: static/admin/main.js:1 static/admin/translations-fakejs.js:202 -#: static/admin/translations-fakejs.js:289 -#: static/admin/translations-fakejs.js:370 -#: static/admin/translations-fakejs.js:401 -#: static/admin/translations-fakejs.js:458 -#: static/admin/translations-fakejs.js:461 -#: static/admin/translations-fakejs.js:466 +#: static/admin/translations-fakejs.js:290 +#: static/admin/translations-fakejs.js:374 +#: static/admin/translations-fakejs.js:405 +#: static/admin/translations-fakejs.js:462 +#: static/admin/translations-fakejs.js:465 +#: static/admin/translations-fakejs.js:470 msgid "Logs" msgstr "Registres" @@ -698,20 +698,20 @@ msgid "Assign service" msgstr "Attribuer un service" #: static/admin/main.js:1 static/admin/translations-fakejs.js:207 -#: static/admin/translations-fakejs.js:276 -#: static/admin/translations-fakejs.js:282 -#: static/admin/translations-fakejs.js:345 -#: static/admin/translations-fakejs.js:360 -#: static/admin/translations-fakejs.js:386 -#: static/admin/translations-fakejs.js:394 -#: static/admin/translations-fakejs.js:406 -#: static/admin/translations-fakejs.js:411 -#: static/admin/translations-fakejs.js:419 -#: static/admin/translations-fakejs.js:424 +#: static/admin/translations-fakejs.js:277 +#: static/admin/translations-fakejs.js:283 +#: static/admin/translations-fakejs.js:349 +#: static/admin/translations-fakejs.js:364 +#: static/admin/translations-fakejs.js:390 +#: static/admin/translations-fakejs.js:398 +#: static/admin/translations-fakejs.js:410 +#: static/admin/translations-fakejs.js:415 +#: static/admin/translations-fakejs.js:423 #: static/admin/translations-fakejs.js:428 #: static/admin/translations-fakejs.js:432 -#: static/admin/translations-fakejs.js:445 -#: static/admin/translations-fakejs.js:487 +#: static/admin/translations-fakejs.js:436 +#: static/admin/translations-fakejs.js:449 +#: static/admin/translations-fakejs.js:491 msgid "Cancel" msgstr "Annuler" @@ -863,7 +863,7 @@ msgid "Yearly" msgstr "annuel" #: static/admin/main.js:1 static/admin/translations-fakejs.js:148 -#: static/admin/translations-fakejs.js:383 +#: static/admin/translations-fakejs.js:387 msgid "Weekdays" msgstr "Lundi au vendredi" @@ -1023,6 +1023,12 @@ msgid "Delete actor token - USE WITH EXTREME CAUTION!!!" msgstr "" "Supprimer le jeton d'acteur - UTILISER AVEC UNE ATTENTION EXTRÊME !!!" +#: static/admin/main.js:1 static/admin/translations-fakejs.js:268 +#| msgid "Delete actor token - USE WITH EXTREME CAUTION!!!" +msgid "Delete tunnel token - USE WITH EXTREME CAUTION!!!" +msgstr "" +"Supprimer le jeton de tunnel - À UTILISER AVEC UNE EXTRÊME PRÉCAUTION !!!" + #: static/admin/main.js:1 static/admin/translations-fakejs.js:24 msgid "Cache flushed" msgstr "Cache vidée" @@ -1111,458 +1117,470 @@ msgstr "unhandledPromiseRejectionHandler" msgid "rejectionHandledHandler" msgstr "rejetHandledHandler" -#: static/admin/translations-fakejs.js:274 +#: static/admin/translations-fakejs.js:275 msgid "Remove all" msgstr "Enlever tout" -#: static/admin/translations-fakejs.js:275 +#: static/admin/translations-fakejs.js:276 msgid "Add" msgstr "Ajouter" -#: static/admin/translations-fakejs.js:277 -#: static/admin/translations-fakejs.js:283 -#: static/admin/translations-fakejs.js:288 -#: static/admin/translations-fakejs.js:334 -#: static/admin/translations-fakejs.js:346 -#: static/admin/translations-fakejs.js:361 -#: static/admin/translations-fakejs.js:366 -#: static/admin/translations-fakejs.js:387 -#: static/admin/translations-fakejs.js:395 -#: static/admin/translations-fakejs.js:407 -#: static/admin/translations-fakejs.js:412 -#: static/admin/translations-fakejs.js:420 -#: static/admin/translations-fakejs.js:425 +#: static/admin/translations-fakejs.js:278 +#: static/admin/translations-fakejs.js:284 +#: static/admin/translations-fakejs.js:289 +#: static/admin/translations-fakejs.js:338 +#: static/admin/translations-fakejs.js:350 +#: static/admin/translations-fakejs.js:365 +#: static/admin/translations-fakejs.js:370 +#: static/admin/translations-fakejs.js:391 +#: static/admin/translations-fakejs.js:399 +#: static/admin/translations-fakejs.js:411 +#: static/admin/translations-fakejs.js:416 +#: static/admin/translations-fakejs.js:424 #: static/admin/translations-fakejs.js:429 #: static/admin/translations-fakejs.js:433 -#: static/admin/translations-fakejs.js:435 -#: static/admin/translations-fakejs.js:446 -#: static/admin/translations-fakejs.js:448 -#: static/admin/translations-fakejs.js:462 -#: static/admin/translations-fakejs.js:488 +#: static/admin/translations-fakejs.js:437 +#: static/admin/translations-fakejs.js:439 +#: static/admin/translations-fakejs.js:450 +#: static/admin/translations-fakejs.js:452 +#: static/admin/translations-fakejs.js:466 +#: static/admin/translations-fakejs.js:492 msgid "Ok" msgstr "D'accord" -#: static/admin/translations-fakejs.js:278 +#: static/admin/translations-fakejs.js:279 msgid "Discard & close" msgstr "Jeter et fermer" -#: static/admin/translations-fakejs.js:279 -#: static/admin/translations-fakejs.js:480 +#: static/admin/translations-fakejs.js:280 +#: static/admin/translations-fakejs.js:484 msgid "Save" msgstr "Enregistrer" -#: static/admin/translations-fakejs.js:280 +#: static/admin/translations-fakejs.js:281 msgid "New user permission for" msgstr "Nouvelle autorisation utilisateur pour" -#: static/admin/translations-fakejs.js:281 +#: static/admin/translations-fakejs.js:282 msgid "New group permission for" msgstr "Nouvelle autorisation de groupe pour" -#: static/admin/translations-fakejs.js:284 +#: static/admin/translations-fakejs.js:285 msgid "Permissions for" msgstr "Autorisations pour" -#: static/admin/translations-fakejs.js:287 +#: static/admin/translations-fakejs.js:288 msgid "New permission..." msgstr "Nouvelle permission ..." -#: static/admin/translations-fakejs.js:290 -#: static/admin/translations-fakejs.js:297 +#: static/admin/translations-fakejs.js:291 +#: static/admin/translations-fakejs.js:298 msgid "Export" msgstr "Exportation" -#: static/admin/translations-fakejs.js:292 #: static/admin/translations-fakejs.js:293 #: static/admin/translations-fakejs.js:294 +#: static/admin/translations-fakejs.js:295 msgid "New" msgstr "Nouveau" -#: static/admin/translations-fakejs.js:295 -#: static/admin/translations-fakejs.js:302 +#: static/admin/translations-fakejs.js:296 +#: static/admin/translations-fakejs.js:304 msgid "Edit" msgstr "Modifier" -#: static/admin/translations-fakejs.js:296 -#: static/admin/translations-fakejs.js:303 +#: static/admin/translations-fakejs.js:297 +#: static/admin/translations-fakejs.js:305 msgid "Permissions" msgstr "Autorisations" -#: static/admin/translations-fakejs.js:298 -#: static/admin/translations-fakejs.js:304 +#: static/admin/translations-fakejs.js:299 +#: static/admin/translations-fakejs.js:306 msgid "Delete" msgstr "Supprimer" -#: static/admin/translations-fakejs.js:300 +#: static/admin/translations-fakejs.js:301 msgid "Selected items" msgstr "Articles sélectionnés" -#: static/admin/translations-fakejs.js:301 +#: static/admin/translations-fakejs.js:302 +msgid "Copy" +msgstr "Copie" + +#: static/admin/translations-fakejs.js:303 msgid "Detail" msgstr "Détail" -#: static/admin/translations-fakejs.js:305 +#: static/admin/translations-fakejs.js:307 #: static/modern/translations-fakejs.js:43 msgid "Close" msgstr "Fermer" -#: static/admin/translations-fakejs.js:308 +#: static/admin/translations-fakejs.js:310 msgid "User mode" msgstr "Mode utilisateur" -#: static/admin/translations-fakejs.js:309 +#: static/admin/translations-fakejs.js:311 #: static/modern/translations-fakejs.js:48 msgid "Logout" msgstr "Connectez - Out" -#: static/admin/translations-fakejs.js:310 -#: static/admin/translations-fakejs.js:367 -#: static/admin/translations-fakejs.js:385 -#: static/admin/translations-fakejs.js:396 -#: static/admin/translations-fakejs.js:449 -#: static/admin/translations-fakejs.js:463 +#: static/admin/translations-fakejs.js:312 +#: static/admin/translations-fakejs.js:371 +#: static/admin/translations-fakejs.js:389 +#: static/admin/translations-fakejs.js:400 +#: static/admin/translations-fakejs.js:453 +#: static/admin/translations-fakejs.js:467 msgid "Summary" msgstr "Résumé" -#: static/admin/translations-fakejs.js:311 -#: static/admin/translations-fakejs.js:464 +#: static/admin/translations-fakejs.js:313 +#: static/admin/translations-fakejs.js:468 msgid "Services" msgstr "Prestations de service" -#: static/admin/translations-fakejs.js:312 +#: static/admin/translations-fakejs.js:314 msgid "Authenticators" msgstr "Authentificateurs" -#: static/admin/translations-fakejs.js:313 +#: static/admin/translations-fakejs.js:315 msgid "Os Managers" msgstr "Gestionnaires Os" -#: static/admin/translations-fakejs.js:314 +#: static/admin/translations-fakejs.js:316 msgid "Connectivity" msgstr "Connectivité" -#: static/admin/translations-fakejs.js:315 -#: static/admin/translations-fakejs.js:453 +#: static/admin/translations-fakejs.js:317 +#: static/admin/translations-fakejs.js:457 #: static/modern/translations-fakejs.js:39 msgid "Transports" msgstr "Les transports" -#: static/admin/translations-fakejs.js:316 +#: static/admin/translations-fakejs.js:318 #: static/modern/translations-fakejs.js:41 msgid "Networks" msgstr "Les réseaux" -#: static/admin/translations-fakejs.js:317 +#: static/admin/translations-fakejs.js:319 msgid "Proxies" msgstr "Les procurations" -#: static/admin/translations-fakejs.js:318 +#: static/admin/translations-fakejs.js:320 msgid "Pools" msgstr "Les piscines" -#: static/admin/translations-fakejs.js:320 +#: static/admin/translations-fakejs.js:322 msgid "Meta pools" msgstr "Méta piscines" -#: static/admin/translations-fakejs.js:322 +#: static/admin/translations-fakejs.js:324 msgid "Calendars" msgstr "Calendriers" -#: static/admin/translations-fakejs.js:323 +#: static/admin/translations-fakejs.js:325 msgid "Accounts" msgstr "Comptes" -#: static/admin/translations-fakejs.js:324 +#: static/admin/translations-fakejs.js:326 msgid "Tools" msgstr "Outils" -#: static/admin/translations-fakejs.js:325 +#: static/admin/translations-fakejs.js:327 msgid "Gallery" msgstr "Galerie" -#: static/admin/translations-fakejs.js:326 +#: static/admin/translations-fakejs.js:328 msgid "Reports" msgstr "Rapports" -#: static/admin/translations-fakejs.js:327 -msgid "Configuration" -msgstr "Configuration" - -#: static/admin/translations-fakejs.js:328 -msgid "Actor tokens" -msgstr "Jetons d'acteur" - #: static/admin/translations-fakejs.js:329 +msgid "Tokens" +msgstr "Jetons" + +#: static/admin/translations-fakejs.js:330 +msgid "Actor" +msgstr "Acteur" + +#: static/admin/translations-fakejs.js:331 +msgid "Tunnel" +msgstr "Tunnel" + +#: static/admin/translations-fakejs.js:332 msgid "Flush Cache" msgstr "Vider le cache" -#: static/admin/translations-fakejs.js:330 -#: static/admin/translations-fakejs.js:362 -#: static/admin/translations-fakejs.js:459 +#: static/admin/translations-fakejs.js:333 +msgid "Configuration" +msgstr "Configuration" + +#: static/admin/translations-fakejs.js:334 +#: static/admin/translations-fakejs.js:366 +#: static/admin/translations-fakejs.js:463 msgid "Information for" msgstr "Information pour" -#: static/admin/translations-fakejs.js:335 +#: static/admin/translations-fakejs.js:339 msgid "Edit group" msgstr "Modifier groupe" -#: static/admin/translations-fakejs.js:336 +#: static/admin/translations-fakejs.js:340 msgid "New group" msgstr "Nouveau groupe" -#: static/admin/translations-fakejs.js:337 +#: static/admin/translations-fakejs.js:341 msgid "Meta group name" msgstr "Nom du groupe méta" -#: static/admin/translations-fakejs.js:342 +#: static/admin/translations-fakejs.js:346 msgid "Service Pools" msgstr "Pools de service" -#: static/admin/translations-fakejs.js:343 +#: static/admin/translations-fakejs.js:347 msgid "Match mode" msgstr "Mode match" -#: static/admin/translations-fakejs.js:344 +#: static/admin/translations-fakejs.js:348 msgid "Selected Groups" msgstr "Groupes sélectionnés" -#: static/admin/translations-fakejs.js:347 +#: static/admin/translations-fakejs.js:351 msgid "Edit user" msgstr "Modifier utilisateur" -#: static/admin/translations-fakejs.js:348 +#: static/admin/translations-fakejs.js:352 msgid "New user" msgstr "Nouvel utilisateur" -#: static/admin/translations-fakejs.js:349 +#: static/admin/translations-fakejs.js:353 msgid "Real name" msgstr "Vrai nom" -#: static/admin/translations-fakejs.js:355 +#: static/admin/translations-fakejs.js:359 msgid "Role" msgstr "Rôle" -#: static/admin/translations-fakejs.js:356 +#: static/admin/translations-fakejs.js:360 msgid "Admin" msgstr "Admin" -#: static/admin/translations-fakejs.js:357 +#: static/admin/translations-fakejs.js:361 msgid "Staff member" msgstr "Membre du personnel" -#: static/admin/translations-fakejs.js:365 +#: static/admin/translations-fakejs.js:369 msgid "Assigned Services" msgstr "Services assignés" -#: static/admin/translations-fakejs.js:371 +#: static/admin/translations-fakejs.js:375 msgid "Account usage" msgstr "Utilisation du compte" -#: static/admin/translations-fakejs.js:372 +#: static/admin/translations-fakejs.js:376 msgid "Edit rule" msgstr "Modifier la règle" -#: static/admin/translations-fakejs.js:373 +#: static/admin/translations-fakejs.js:377 msgid "New rule" msgstr "Nouvelle règle" -#: static/admin/translations-fakejs.js:376 +#: static/admin/translations-fakejs.js:380 msgid "Event" msgstr "un événement" -#: static/admin/translations-fakejs.js:377 +#: static/admin/translations-fakejs.js:381 msgid "Start time" msgstr "Heure de début" -#: static/admin/translations-fakejs.js:378 +#: static/admin/translations-fakejs.js:382 msgid "Duration" msgstr "Durée" -#: static/admin/translations-fakejs.js:379 +#: static/admin/translations-fakejs.js:383 msgid "Duration units" msgstr "Unités de durée" -#: static/admin/translations-fakejs.js:380 +#: static/admin/translations-fakejs.js:384 msgid "Start date" msgstr "Date de début" -#: static/admin/translations-fakejs.js:381 +#: static/admin/translations-fakejs.js:385 msgid "Repeat until date" msgstr "Répéter jusqu'à la date" -#: static/admin/translations-fakejs.js:382 +#: static/admin/translations-fakejs.js:386 msgid "Frequency" msgstr "La fréquence" -#: static/admin/translations-fakejs.js:384 +#: static/admin/translations-fakejs.js:388 msgid "Repeat every" msgstr "Répéter tous les" -#: static/admin/translations-fakejs.js:388 +#: static/admin/translations-fakejs.js:392 msgid "Rules" msgstr "Règles" -#: static/admin/translations-fakejs.js:389 +#: static/admin/translations-fakejs.js:393 msgid "New member pool" msgstr "Nouveau pool de membres" -#: static/admin/translations-fakejs.js:390 +#: static/admin/translations-fakejs.js:394 msgid "Edit member pool" msgstr "Modifier le pool de membres" -#: static/admin/translations-fakejs.js:391 -#: static/admin/translations-fakejs.js:416 +#: static/admin/translations-fakejs.js:395 +#: static/admin/translations-fakejs.js:420 msgid "Priority" msgstr "Priorité" -#: static/admin/translations-fakejs.js:392 +#: static/admin/translations-fakejs.js:396 msgid "Service pool" msgstr "Piscine de service" -#: static/admin/translations-fakejs.js:393 +#: static/admin/translations-fakejs.js:397 msgid "Enabled?" msgstr "Activée?" -#: static/admin/translations-fakejs.js:400 -#: static/admin/translations-fakejs.js:456 +#: static/admin/translations-fakejs.js:404 +#: static/admin/translations-fakejs.js:460 msgid "Access calendars" msgstr "Calendriers d'accès" -#: static/admin/translations-fakejs.js:402 +#: static/admin/translations-fakejs.js:406 msgid "Assign service to user manually" msgstr "Attribuer manuellement le service à l'utilisateur" -#: static/admin/translations-fakejs.js:403 +#: static/admin/translations-fakejs.js:407 msgid "Service" msgstr "Un service" -#: static/admin/translations-fakejs.js:408 +#: static/admin/translations-fakejs.js:412 msgid "Change owner of assigned service" msgstr "Changer le propriétaire du service attribué" -#: static/admin/translations-fakejs.js:413 +#: static/admin/translations-fakejs.js:417 msgid "New access rule for" msgstr "Nouvelle règle d'accès pour" -#: static/admin/translations-fakejs.js:414 +#: static/admin/translations-fakejs.js:418 msgid "Edit access rule for" msgstr "Modifier la règle d'accès pour" -#: static/admin/translations-fakejs.js:415 +#: static/admin/translations-fakejs.js:419 msgid "Default fallback access for" msgstr "Accès de secours par défaut pour" -#: static/admin/translations-fakejs.js:417 -#: static/admin/translations-fakejs.js:438 +#: static/admin/translations-fakejs.js:421 +#: static/admin/translations-fakejs.js:442 msgid "Calendar" msgstr "Calendrier" -#: static/admin/translations-fakejs.js:418 -#: static/admin/translations-fakejs.js:441 +#: static/admin/translations-fakejs.js:422 +#: static/admin/translations-fakejs.js:445 msgid "Action" msgstr "action" -#: static/admin/translations-fakejs.js:421 +#: static/admin/translations-fakejs.js:425 msgid "New group for" msgstr "Nouveau groupe pour" -#: static/admin/translations-fakejs.js:426 +#: static/admin/translations-fakejs.js:430 msgid "New transport for" msgstr "Nouveau transport pour" -#: static/admin/translations-fakejs.js:427 -#: static/admin/translations-fakejs.js:442 +#: static/admin/translations-fakejs.js:431 +#: static/admin/translations-fakejs.js:446 msgid "Transport" msgstr "Transport" -#: static/admin/translations-fakejs.js:430 +#: static/admin/translations-fakejs.js:434 msgid "New publication for" msgstr "Nouvelle publication pour" -#: static/admin/translations-fakejs.js:434 +#: static/admin/translations-fakejs.js:438 msgid "Changelog of" msgstr "Changelog de" -#: static/admin/translations-fakejs.js:436 +#: static/admin/translations-fakejs.js:440 msgid "Edit action for" msgstr "Modifier l'action pour" -#: static/admin/translations-fakejs.js:437 +#: static/admin/translations-fakejs.js:441 msgid "New action for" msgstr "Nouvelle action pour" -#: static/admin/translations-fakejs.js:439 +#: static/admin/translations-fakejs.js:443 msgid "Events offset (minutes)" msgstr "Décalage d'événements (minutes)" -#: static/admin/translations-fakejs.js:440 +#: static/admin/translations-fakejs.js:444 msgid "At the beginning of the interval?" msgstr "Au début de l'intervalle?" -#: static/admin/translations-fakejs.js:447 +#: static/admin/translations-fakejs.js:451 msgid "Logs of" msgstr "Journaux de" -#: static/admin/translations-fakejs.js:451 +#: static/admin/translations-fakejs.js:455 msgid "Cache" msgstr "Cache" -#: static/admin/translations-fakejs.js:454 +#: static/admin/translations-fakejs.js:458 msgid "Publications" msgstr "Des publications" -#: static/admin/translations-fakejs.js:455 +#: static/admin/translations-fakejs.js:459 msgid "Scheduled actions" msgstr "Actions programmées" -#: static/admin/translations-fakejs.js:457 +#: static/admin/translations-fakejs.js:461 msgid "Charts" msgstr "Graphiques" -#: static/admin/translations-fakejs.js:460 +#: static/admin/translations-fakejs.js:464 msgid "Services pools" msgstr "Piscines de services" -#: static/admin/translations-fakejs.js:465 +#: static/admin/translations-fakejs.js:469 msgid "Usage" msgstr "Usage" -#: static/admin/translations-fakejs.js:467 +#: static/admin/translations-fakejs.js:471 #: static/modern/translations-fakejs.js:46 msgid "Dashboard" msgstr "Tableau de bord" -#: static/admin/translations-fakejs.js:468 +#: static/admin/translations-fakejs.js:472 msgid "View authenticators" msgstr "Voir les authentificateurs" -#: static/admin/translations-fakejs.js:469 -#: static/admin/translations-fakejs.js:470 -#: static/admin/translations-fakejs.js:471 +#: static/admin/translations-fakejs.js:473 +#: static/admin/translations-fakejs.js:474 +#: static/admin/translations-fakejs.js:475 msgid "View service pools" msgstr "Voir les piscines de service" -#: static/admin/translations-fakejs.js:472 +#: static/admin/translations-fakejs.js:476 msgid "Assigned services chart" msgstr "Tableau des services attribués" -#: static/admin/translations-fakejs.js:473 +#: static/admin/translations-fakejs.js:477 msgid "In use services chart" msgstr "Tableau des services en cours d'utilisation" -#: static/admin/translations-fakejs.js:474 +#: static/admin/translations-fakejs.js:478 msgid "UDS Administration" msgstr "Administration UDS" -#: static/admin/translations-fakejs.js:475 +#: static/admin/translations-fakejs.js:479 msgid "You are accessing UDS Administration as staff member." msgstr "Vous accédez à l’administration UDS en tant que membre du personnel." -#: static/admin/translations-fakejs.js:476 +#: static/admin/translations-fakejs.js:480 msgid "This means that you have restricted access to elements." msgstr "Cela signifie que vous avez un accès restreint aux éléments." -#: static/admin/translations-fakejs.js:477 +#: static/admin/translations-fakejs.js:481 msgid "" "In order to increase your access privileges, please contact your local UDS " "administrator." @@ -1570,35 +1588,35 @@ msgstr "" "Pour augmenter vos privilèges d'accès, veuillez contacter votre " "administrateur UDS local." -#: static/admin/translations-fakejs.js:478 +#: static/admin/translations-fakejs.js:482 msgid "Thank you." msgstr "Je vous remercie." -#: static/admin/translations-fakejs.js:479 +#: static/admin/translations-fakejs.js:483 msgid "UDS Configuration" msgstr "Configuration UDS" -#: static/admin/translations-fakejs.js:481 +#: static/admin/translations-fakejs.js:485 msgid "New image for" msgstr "Nouvelle image pour" -#: static/admin/translations-fakejs.js:482 +#: static/admin/translations-fakejs.js:486 msgid "Edit for" msgstr "Modifier pour" -#: static/admin/translations-fakejs.js:483 +#: static/admin/translations-fakejs.js:487 msgid "Image name" msgstr "Nom de l'image" -#: static/admin/translations-fakejs.js:484 +#: static/admin/translations-fakejs.js:488 msgid "Image (click to change)" msgstr "Image (cliquez pour changer)" -#: static/admin/translations-fakejs.js:485 +#: static/admin/translations-fakejs.js:489 msgid "For optimal results, use " msgstr "Pour des résultats optimaux, utilisez" -#: static/admin/translations-fakejs.js:486 +#: static/admin/translations-fakejs.js:490 msgid "The image will be resized on upload to" msgstr "L'image sera redimensionnée lors du téléchargement sur" diff --git a/server/src/uds/locale/it/LC_MESSAGES/django.po b/server/src/uds/locale/it/LC_MESSAGES/django.po index 71906f76e..60306c1eb 100644 --- a/server/src/uds/locale/it/LC_MESSAGES/django.po +++ b/server/src/uds/locale/it/LC_MESSAGES/django.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: OpenUDS\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-08 14:18+0200\n" +"POT-Creation-Date: 2021-07-29 13:12+0200\n" "PO-Revision-Date: 2021-07-08 10:59+0000\n" "Last-Translator: Adolfo Gómez \n" "Language-Team: Italian (http://www.transifex.com/openuds/openuds/language/" @@ -35,7 +35,7 @@ msgstr "Resoconti" #: REST/methods/osmanagers.py:55 REST/methods/providers.py:71 #: REST/methods/proxies.py:59 REST/methods/reports.py:57 #: REST/methods/services_pool_groups.py:63 REST/methods/services_pools.py:133 -#: REST/methods/transports.py:58 REST/methods/user_services.py:321 +#: REST/methods/transports.py:66 REST/methods/user_services.py:321 #: REST/methods/user_services.py:396 REST/methods/users_groups.py:122 #: REST/model.py:149 msgid "Name" @@ -46,7 +46,7 @@ msgstr "Nome" #: REST/methods/meta_pools.py:71 REST/methods/osmanagers.py:57 #: REST/methods/providers.py:73 REST/methods/proxies.py:62 #: REST/methods/services.py:241 REST/methods/services_pool_groups.py:64 -#: REST/methods/transports.py:60 REST/methods/user_services.py:398 +#: REST/methods/transports.py:68 REST/methods/user_services.py:398 #: REST/methods/users_groups.py:123 REST/methods/users_groups.py:291 #: REST/model.py:173 msgid "Comments" @@ -61,7 +61,7 @@ msgstr "Marca temporale" #: REST/methods/networks.py:63 REST/methods/osmanagers.py:59 #: REST/methods/providers.py:79 REST/methods/proxies.py:63 #: REST/methods/services.py:250 REST/methods/services_pools.py:142 -#: REST/methods/transports.py:63 +#: REST/methods/transports.py:77 msgid "tags" msgstr "tag" @@ -73,7 +73,7 @@ msgstr "Nome del pool" msgid "User name" msgstr "Nome utente" -#: REST/methods/accountsusage.py:94 core/util/state.py:78 +#: REST/methods/accountsusage.py:94 core/util/state.py:79 #: core/util/states/common.py:71 msgid "Running" msgstr "In esecuzione" @@ -120,11 +120,11 @@ msgstr "Host non gestito" msgid "User service not found" msgstr "Servizio utente non trovato" -#: REST/methods/actor_token.py:51 REST/methods/tunnel_token.py:51 +#: REST/methods/actor_token.py:51 msgid "Actor tokens" msgstr "Token Actor" -#: REST/methods/actor_token.py:54 REST/methods/tunnel_token.py:54 +#: REST/methods/actor_token.py:54 REST/methods/tunnel_token.py:51 #: reports/auto/fields.py:56 reports/stats/pools_performance.py:217 #: reports/stats/pools_performance.py:236 reports/stats/pools_usage_day.py:64 #: reports/stats/usage_by_pool.py:169 reports/stats/user_access.py:190 @@ -132,11 +132,11 @@ msgstr "Token Actor" msgid "Date" msgstr "Data" -#: REST/methods/actor_token.py:55 REST/methods/tunnel_token.py:55 +#: REST/methods/actor_token.py:55 REST/methods/tunnel_token.py:52 msgid "Issued by" msgstr "Rilasciato da" -#: REST/methods/actor_token.py:56 REST/methods/tunnel_token.py:56 +#: REST/methods/actor_token.py:56 REST/methods/tunnel_token.py:53 #: reports/stats/usage_by_pool.py:173 #: templates/uds/reports/stats/usage-by-pool.html:18 msgid "Origin" @@ -162,7 +162,7 @@ msgstr "Esegui una volta" msgid "Log level" msgstr "Livello dei log" -#: REST/methods/actor_token.py:67 REST/methods/tunnel_token.py:63 +#: REST/methods/actor_token.py:67 REST/methods/tunnel_token.py:60 msgid "Token isued by {} from {}" msgstr "Token emesso per {} da {}" @@ -176,13 +176,13 @@ msgstr "Id" #: REST/methods/authenticators.py:67 REST/methods/osmanagers.py:56 #: REST/methods/providers.py:72 REST/methods/services.py:242 -#: REST/methods/transports.py:59 REST/methods/user_services.py:397 +#: REST/methods/transports.py:67 REST/methods/user_services.py:397 msgid "Type" msgstr "Tipo" #: REST/methods/authenticators.py:69 REST/methods/meta_service_pools.py:88 #: REST/methods/op_calendars.py:80 REST/methods/services_pool_groups.py:61 -#: REST/methods/transports.py:57 REST/methods/user_services.py:395 +#: REST/methods/transports.py:65 REST/methods/user_services.py:395 #: REST/model.py:185 models/meta_pool.py:73 msgid "Priority" msgstr "Priorità" @@ -194,7 +194,7 @@ msgid "Visible" msgstr "Visibile" #: REST/methods/authenticators.py:71 REST/methods/meta_pools.py:77 -#: REST/methods/transports.py:115 REST/model.py:201 +#: REST/methods/transports.py:164 REST/model.py:201 msgid "Label" msgstr "Etichetta" @@ -394,7 +394,7 @@ msgid "Pool" msgstr "Pool" #: REST/methods/meta_service_pools.py:197 REST/methods/services_usage.py:122 -#: REST/methods/tunnel_token.py:57 REST/methods/user_services.py:139 +#: REST/methods/tunnel_token.py:54 REST/methods/user_services.py:139 #: REST/methods/user_services.py:270 auths/IP/authenticator.py:68 msgid "IP" msgstr "IP" @@ -442,7 +442,7 @@ msgstr "Elemento già rimosso" msgid "Item is not removable" msgstr "L'elemento non è rimovibile" -#: REST/methods/networks.py:58 REST/methods/transports.py:88 +#: REST/methods/networks.py:58 REST/methods/transports.py:114 msgid "Networks" msgstr "Reti" @@ -568,7 +568,7 @@ msgstr "Controllare il certificato" #: services/OpenGnsys/provider.py:97 services/OpenNebula/provider.py:77 #: services/OpenStack/provider_legacy.py:106 services/Proxmox/provider.py:66 #: services/VCloud_enterprise/provider.py:32 -#: services/Vmware_enterprise/provider.py:41 services/Xen/provider.py:100 +#: services/Vmware_enterprise/provider.py:45 services/Xen/provider.py:100 msgid "Host" msgstr "Host" @@ -587,7 +587,7 @@ msgstr "Server (IP o FQDN) che fungerà da proxy." #: services/OpenStack/provider_legacy.py:110 services/Proxmox/provider.py:73 #: services/RDS_enterprise/provider.py:101 #: services/VCloud_enterprise/provider.py:33 -#: services/Vmware_enterprise/provider.py:42 +#: services/Vmware_enterprise/provider.py:52 msgid "Port" msgstr "Porta" @@ -708,8 +708,8 @@ msgstr "Ok" msgid "Services Pool Groups" msgstr "Gruppi di Pool di servizi" -#: REST/methods/services_pools.py:131 REST/methods/transports.py:61 -#: REST/methods/transports.py:106 +#: REST/methods/services_pools.py:131 REST/methods/transports.py:71 +#: REST/methods/transports.py:152 msgid "Service Pools" msgstr "Pool di servizi" @@ -860,19 +860,19 @@ msgstr "Utilizzo dei servizi" msgid "Service" msgstr "Servizio" -#: REST/methods/transports.py:55 +#: REST/methods/transports.py:63 msgid "Transports" msgstr "Trasporti" -#: REST/methods/transports.py:62 +#: REST/methods/transports.py:76 msgid "Devices" msgstr "Dispositivi" -#: REST/methods/transports.py:79 +#: REST/methods/transports.py:97 msgid "Network access" msgstr "Accesso alla rete" -#: REST/methods/transports.py:80 +#: REST/methods/transports.py:99 msgid "" "If checked, the transport will be enabled for the selected networks. If " "unchecked, transport will be disabled for selected networks" @@ -880,7 +880,7 @@ msgstr "" "Se selezionato, il trasporto verrà abilitato per le reti selezionate. Se " "deselezionato, il trasporto verrà disabilitato per le reti selezionate" -#: REST/methods/transports.py:89 +#: REST/methods/transports.py:116 msgid "" "Networks associated with this transport. If No network selected, will mean " "\"all networks\"" @@ -888,11 +888,11 @@ msgstr "" "Reti associate a questo trasporto. Se nessuna rete selezionata, significa " "\"tutte le reti\"" -#: REST/methods/transports.py:97 +#: REST/methods/transports.py:134 msgid "Allowed Devices" msgstr "Dispositivi autorizzati" -#: REST/methods/transports.py:98 +#: REST/methods/transports.py:136 msgid "" "If empty, any kind of device compatible with this transport will be allowed. " "Else, only devices compatible with selected values will be allowed" @@ -901,17 +901,22 @@ msgstr "" "questo trasporto. Altrimenti, saranno autorizzati solo i dispositivi " "compatibili con i valori selezionati" -#: REST/methods/transports.py:107 +#: REST/methods/transports.py:153 msgid "Currently assigned services pools" msgstr "Pool di servizi attualmente assegnati" -#: REST/methods/transports.py:116 +#: REST/methods/transports.py:166 msgid "Metapool transport label (only used on metapool transports grouping)" msgstr "" "Etichetta di trasporto Metapool (utilizzata solo nel raggruppamento di " "trasporti metapool)" -#: REST/methods/tunnel_token.py:53 +#: REST/methods/tunnel_token.py:48 +#| msgid "Tunneled" +msgid "Tunnel tokens" +msgstr "Gettoni tunnel" + +#: REST/methods/tunnel_token.py:50 msgid "Token" msgstr "Gettone" @@ -1010,7 +1015,7 @@ msgstr "Utenti attuali" #: services/OpenStack/provider.py:127 services/OpenStack/provider_legacy.py:144 #: services/Proxmox/provider.py:82 services/RDS_enterprise/provider.py:118 #: services/VCloud_enterprise/provider.py:35 -#: services/Vmware_enterprise/provider.py:43 services/Xen/provider.py:107 +#: services/Vmware_enterprise/provider.py:60 services/Xen/provider.py:107 #: transports/HTML5RDP/html5rdp.py:103 transports/HTML5VNC/html5vnc.py:75 #: transports/NoMachine_enterprise/nomachine_base.py:63 #: transports/PCoIP_enterprise/pcoip.py:59 transports/RDP/rdp_base.py:75 @@ -1160,7 +1165,7 @@ msgstr "" #: services/OpenStack/provider.py:135 services/OpenStack/provider_legacy.py:152 #: services/Proxmox/provider.py:92 services/RDS_enterprise/provider.py:126 #: services/Sample/service.py:140 services/VCloud_enterprise/provider.py:36 -#: services/Vmware_enterprise/provider.py:44 services/Xen/provider.py:115 +#: services/Vmware_enterprise/provider.py:67 services/Xen/provider.py:115 #: transports/HTML5RDP/html5rdp.py:109 transports/HTML5VNC/html5vnc.py:76 #: transports/NoMachine_enterprise/nomachine_base.py:69 #: transports/PCoIP_enterprise/pcoip.py:60 transports/RDP/rdp_base.py:81 @@ -1185,7 +1190,7 @@ msgstr "Password dell'utente ldap" #: services/OpenGnsys/provider.py:164 services/OpenNebula/provider.py:86 #: services/OpenStack/provider.py:166 services/OpenStack/provider_legacy.py:183 #: services/Proxmox/provider.py:123 services/VCloud_enterprise/provider.py:63 -#: services/Vmware_enterprise/provider.py:50 +#: services/Vmware_enterprise/provider.py:99 msgid "Timeout" msgstr "TImeout" @@ -1666,11 +1671,11 @@ msgstr "Autenticatore SAML" msgid "SAML (v2.0) Authenticator" msgstr "Autenticatore SAML (v2.0)" -#: auths/SAML_enterprise/saml.py:127 +#: auths/SAML_enterprise/saml.py:129 msgid "Private key" msgstr "Chiave privata" -#: auths/SAML_enterprise/saml.py:128 +#: auths/SAML_enterprise/saml.py:132 msgid "" "Private key used for sign and encription, as generated in base 64 from " "openssl" @@ -1678,15 +1683,15 @@ msgstr "" "Chiave privata utilizzata per firma e la crittografia, in formato base64 " "come generata da openssl" -#: auths/SAML_enterprise/saml.py:129 auths/SAML_enterprise/saml.py:134 +#: auths/SAML_enterprise/saml.py:135 auths/SAML_enterprise/saml.py:146 msgid "Certificates" msgstr "Certificati" -#: auths/SAML_enterprise/saml.py:132 transports/SPICE/spice_base.py:82 +#: auths/SAML_enterprise/saml.py:140 transports/SPICE/spice_base.py:82 msgid "Certificate" msgstr "Certificato" -#: auths/SAML_enterprise/saml.py:133 +#: auths/SAML_enterprise/saml.py:143 msgid "" "Public key used for sign and encription (public part of previous private " "key), as generated in base 64 from openssl" @@ -1694,63 +1699,63 @@ msgstr "" "Chiave pubblica utilizzata per la firma e la crittografia (parte pubblica " "della chiave privata precedente), in formato base64 come generata da openssl" -#: auths/SAML_enterprise/saml.py:137 +#: auths/SAML_enterprise/saml.py:151 msgid "IDP Metadata" msgstr "Metadati IDP" -#: auths/SAML_enterprise/saml.py:138 +#: auths/SAML_enterprise/saml.py:154 msgid "" "You can enter here the URL or the IDP metadata or the metadata itself (xml)" msgstr "Puoi inserire qui l'URL o i metadati IDP o i metadati stessi (xml)" -#: auths/SAML_enterprise/saml.py:139 auths/SAML_enterprise/saml.py:143 +#: auths/SAML_enterprise/saml.py:157 auths/SAML_enterprise/saml.py:166 msgid "Metadata" msgstr "Metadati" -#: auths/SAML_enterprise/saml.py:142 +#: auths/SAML_enterprise/saml.py:161 msgid "Entity ID" msgstr "Entity ID" -#: auths/SAML_enterprise/saml.py:143 +#: auths/SAML_enterprise/saml.py:164 msgid "ID of the SP. If left blank, this will be autogenerated from server URL" msgstr "" "ID dello SP. Se lasciato vuoto, questo verrà generato automaticamente " "dall'URL del server" -#: auths/SAML_enterprise/saml.py:147 +#: auths/SAML_enterprise/saml.py:172 msgid "User name attrs" msgstr "Attributi nome utente" -#: auths/SAML_enterprise/saml.py:148 +#: auths/SAML_enterprise/saml.py:174 msgid "Fields from where to extract user name" msgstr "Campi da cui estrarre il nome utente" -#: auths/SAML_enterprise/saml.py:148 auths/SAML_enterprise/saml.py:153 -#: auths/SAML_enterprise/saml.py:158 +#: auths/SAML_enterprise/saml.py:176 auths/SAML_enterprise/saml.py:186 +#: auths/SAML_enterprise/saml.py:196 msgid "Attributes" msgstr "Attributi" -#: auths/SAML_enterprise/saml.py:152 +#: auths/SAML_enterprise/saml.py:182 msgid "Group name attrs" msgstr "Attributi nome di gruppo" -#: auths/SAML_enterprise/saml.py:153 +#: auths/SAML_enterprise/saml.py:184 msgid "Fields from where to extract the groups" msgstr "Campi da cui estrarre i gruppi" -#: auths/SAML_enterprise/saml.py:157 +#: auths/SAML_enterprise/saml.py:192 msgid "Real name attrs" msgstr "Attributi nome reale" -#: auths/SAML_enterprise/saml.py:158 +#: auths/SAML_enterprise/saml.py:194 msgid "Fields from where to extract the real name" msgstr "Campi da cui estrarre il nome reale" -#: auths/SAML_enterprise/saml.py:176 +#: auths/SAML_enterprise/saml.py:216 msgid "SAML Authenticator does not support white spaces on field NAME" msgstr "Autenticatore SAML, spazi non supportati nel campo Nome" -#: auths/SAML_enterprise/saml.py:183 +#: auths/SAML_enterprise/saml.py:230 msgid "" "Server certificate should be a valid PEM (PEM certificates starts with -----" "BEGIN CERTIFICATE-----)" @@ -1758,11 +1763,11 @@ msgstr "" "Il certificato del server deve essere in formato PEM valido (i certificati " "PEM iniziano con ----- BEGIN CERTIFICATE -----)" -#: auths/SAML_enterprise/saml.py:188 +#: auths/SAML_enterprise/saml.py:238 msgid "Invalid server certificate. " msgstr "Certificato del server non valido." -#: auths/SAML_enterprise/saml.py:192 +#: auths/SAML_enterprise/saml.py:249 msgid "" "Private key should be a valid PEM (PEM private keys starts with -----BEGIN " "RSA PRIVATE KEY-----" @@ -1770,48 +1775,48 @@ msgstr "" "La chiave privata dovrebbe essere un PEM valido (le chiavi private PEM " "iniziano con ----- BEGIN RSA PRIVATE KEY-----)" -#: auths/SAML_enterprise/saml.py:197 +#: auths/SAML_enterprise/saml.py:257 msgid "Invalid private key. " msgstr "Chiave privata non valida." -#: auths/SAML_enterprise/saml.py:214 +#: auths/SAML_enterprise/saml.py:276 #, python-brace-format msgid "Can't fetch url {0}: {1}" msgstr "Impossibile recuperare l'URL {0}: {1}" -#: auths/SAML_enterprise/saml.py:222 +#: auths/SAML_enterprise/saml.py:287 msgid " (obtained from URL)" msgstr "(ottenuto dall'URL)" -#: auths/SAML_enterprise/saml.py:223 +#: auths/SAML_enterprise/saml.py:289 msgid "XML does not seem valid for IDP Metadata " msgstr "XML non sembra valido per i metadati IDP" -#: auths/SAML_enterprise/saml.py:239 +#: auths/SAML_enterprise/saml.py:311 msgid "Can't access idp metadata" msgstr "Impossibile accedere ai metadati idp" -#: auths/Sample/SampleAuth.py:76 +#: auths/Sample/SampleAuth.py:79 msgid "Sample Authenticator" msgstr "Autenticatore di esempio" -#: auths/Sample/SampleAuth.py:88 +#: auths/Sample/SampleAuth.py:91 msgid "Sample dummy authenticator" msgstr "Autenticatore fittizio di esempio" -#: auths/Sample/SampleAuth.py:106 +#: auths/Sample/SampleAuth.py:109 msgid "Fake User" msgstr "Utente falso" -#: auths/Sample/SampleAuth.py:109 +#: auths/Sample/SampleAuth.py:112 msgid "Fake Group" msgstr "Gruppo falso" -#: auths/Sample/SampleAuth.py:115 +#: auths/Sample/SampleAuth.py:118 msgid "Groups" msgstr "Gruppi" -#: auths/Sample/SampleAuth.py:128 +#: auths/Sample/SampleAuth.py:132 msgid "We need more than two groups!" msgstr "Sono necessari più di due gruppi!" @@ -2006,7 +2011,7 @@ msgstr "Servizio di base" #: core/services/service.py:141 core/services/service.py:150 #: models/permissions.py:92 models/permissions.py:96 -#: services/Azure_enterprise/helpers.py:97 services/OpenStack/helpers.py:74 +#: services/Azure_enterprise/helpers.py:100 services/OpenStack/helpers.py:74 #: services/Proxmox/service.py:194 services/Sample/service.py:98 #: services/Sample/service.py:104 services/TestService_enterprise/service.py:28 msgid "None" @@ -2032,79 +2037,79 @@ msgstr "Tunnel" msgid "Can't contact LDAP server" msgstr "Impossibile contattare il server LDAP" -#: core/util/state.py:65 core/util/states/common.py:59 +#: core/util/state.py:66 core/util/states/common.py:59 msgid "Active" msgstr "Attivo" -#: core/util/state.py:66 core/util/states/common.py:60 +#: core/util/state.py:67 core/util/states/common.py:60 msgid "Inactive" msgstr "Non attivo" -#: core/util/state.py:67 core/util/states/common.py:61 +#: core/util/state.py:68 core/util/states/common.py:61 msgid "Blocked" msgstr "Bloccato" -#: core/util/state.py:68 core/util/states/common.py:62 +#: core/util/state.py:69 core/util/states/common.py:62 msgid "Waiting publication" msgstr "In attesa di pubblicazione" -#: core/util/state.py:69 core/util/states/common.py:63 +#: core/util/state.py:70 core/util/states/common.py:63 msgid "In preparation" msgstr "In preparazione" -#: core/util/state.py:70 core/util/states/common.py:64 +#: core/util/state.py:71 core/util/states/common.py:64 msgid "Valid" msgstr "Valido" -#: core/util/state.py:71 core/util/state.py:73 core/util/states/common.py:66 +#: core/util/state.py:72 core/util/state.py:74 core/util/states/common.py:66 msgid "Removing" msgstr "Rimozione" -#: core/util/state.py:72 +#: core/util/state.py:73 msgid "Restrained" msgstr "Riservato" -#: core/util/state.py:74 core/util/states/common.py:67 +#: core/util/state.py:75 core/util/states/common.py:67 msgid "Removed" msgstr "Rimosso" -#: core/util/state.py:75 core/util/states/common.py:68 +#: core/util/state.py:76 core/util/states/common.py:68 msgid "Canceled" msgstr "Annullato" -#: core/util/state.py:76 core/util/states/common.py:69 +#: core/util/state.py:77 core/util/states/common.py:69 msgid "Canceling" msgstr "Annullamento" -#: core/util/state.py:77 core/util/states/common.py:70 +#: core/util/state.py:78 core/util/states/common.py:70 msgid "Error" msgstr "Errore" -#: core/util/state.py:79 core/util/states/common.py:72 +#: core/util/state.py:80 core/util/states/common.py:72 msgid "Finished" msgstr "Finito" -#: core/util/state.py:80 core/util/states/common.py:73 +#: core/util/state.py:81 core/util/states/common.py:73 msgid "Waiting execution" msgstr "In attesa di esecuzione" -#: core/util/state.py:81 core/util/states/common.py:74 +#: core/util/state.py:82 core/util/states/common.py:74 msgid "Balancing" msgstr "Bilanciamento" -#: core/util/state.py:82 core/util/states/common.py:75 +#: core/util/state.py:83 core/util/states/common.py:75 msgid "In maintenance" msgstr "In manutenzione" -#: core/util/state.py:83 core/util/states/common.py:76 +#: core/util/state.py:84 core/util/states/common.py:76 msgid "Waiting OS" msgstr "In attesa del sistema operativo" -#: core/util/state.py:84 +#: core/util/state.py:85 msgid "Too many preparing services" msgstr "Troppi servizi di preparazione" -#: core/util/state.py:85 +#: core/util/state.py:86 msgid "Meta member" msgstr "Meta membro" @@ -2136,24 +2141,24 @@ msgstr "Utenti con servizi" msgid "Cached" msgstr "Memorizzato nella cache" -#: core/util/tools.py:144 +#: core/util/tools.py:152 msgid "{} days {:d}:{:02d}:{:02d}" msgstr "{} giorni {: d}: {: 02d}: {: 02d}" -#: core/util/tools.py:161 +#: core/util/tools.py:171 msgid "The basename is not a valid for a hostname" msgstr "Il nome base non è valido per un nome host" -#: core/util/tools.py:164 +#: core/util/tools.py:176 msgid "The length of basename plus length must be greater than 0" msgstr "La lunghezza del nome base più la lunghezza deve essere maggiore di 0" -#: core/util/tools.py:167 +#: core/util/tools.py:181 msgid "The length of basename plus length must not be greater than 15" msgstr "" "La lunghezza del nome base più la lunghezza non deve essere maggiore di 15" -#: core/util/tools.py:170 +#: core/util/tools.py:186 msgid "The machine name can't be only numbers" msgstr "Il nome della macchina non può essere solo numeri" @@ -2161,30 +2166,30 @@ msgstr "Il nome della macchina non può essere solo numeri" msgid "Numeric" msgstr "Numerico" -#: core/util/validators.py:64 +#: core/util/validators.py:66 #, python-brace-format msgid "{0} must be greater than or equal to {1}" msgstr "{0} deve essere maggiore o uguale a {1}" -#: core/util/validators.py:67 +#: core/util/validators.py:74 #, python-brace-format msgid "{0} must be lower than or equal to {1}" msgstr "{0} deve essere inferiore o uguale a {1}" -#: core/util/validators.py:72 +#: core/util/validators.py:81 #, python-brace-format msgid "{0} contains invalid characters" msgstr "{0} contiene caratteri non validi" -#: core/util/validators.py:81 +#: core/util/validators.py:90 msgid "{} exceeds maximum host name length." msgstr "{} supera la lunghezza massima del nome host." -#: core/util/validators.py:92 +#: core/util/validators.py:103 msgid "{} is not a valid hostname" msgstr "{} non è un nome host valido" -#: core/util/validators.py:136 +#: core/util/validators.py:152 msgid "" "Invalid mac range. Mac range must be in format XX:XX:XX:XX:XX:XX-XX:XX:XX:XX:" "XX:XX" @@ -3135,8 +3140,8 @@ msgstr "Ottenuto da sottoscrizione" #: services/OpenGnsys/provider.py:141 services/OpenNebula/provider.py:83 #: services/OpenStack/provider.py:143 services/OpenStack/provider_legacy.py:160 #: services/Proxmox/provider.py:100 services/VCloud_enterprise/provider.py:60 -#: services/Vmware_enterprise/provider.py:47 -#: services/Vmware_enterprise/provider.py:99 services/Xen/provider.py:123 +#: services/Vmware_enterprise/provider.py:76 +#: services/Vmware_enterprise/provider.py:182 services/Xen/provider.py:123 msgid "Creation concurrency" msgstr "Concorrenza di creazione" @@ -3148,7 +3153,7 @@ msgstr "Concorrenza di creazione" #: services/OpenGnsys/provider.py:146 services/OpenNebula/provider.py:83 #: services/OpenStack/provider.py:148 services/OpenStack/provider_legacy.py:165 #: services/Proxmox/provider.py:105 services/VCloud_enterprise/provider.py:60 -#: services/Vmware_enterprise/provider.py:47 services/Xen/provider.py:128 +#: services/Vmware_enterprise/provider.py:81 services/Xen/provider.py:128 msgid "Maximum number of concurrently creating VMs" msgstr "Numero massimo di VM create contemporaneamente" @@ -3160,8 +3165,8 @@ msgstr "Numero massimo di VM create contemporaneamente" #: services/OpenGnsys/provider.py:152 services/OpenNebula/provider.py:84 #: services/OpenStack/provider.py:154 services/OpenStack/provider_legacy.py:171 #: services/Proxmox/provider.py:111 services/VCloud_enterprise/provider.py:61 -#: services/Vmware_enterprise/provider.py:48 -#: services/Vmware_enterprise/provider.py:100 services/Xen/provider.py:134 +#: services/Vmware_enterprise/provider.py:87 +#: services/Vmware_enterprise/provider.py:188 services/Xen/provider.py:134 msgid "Removal concurrency" msgstr "Concorrenza di rimozione" @@ -3173,7 +3178,7 @@ msgstr "Concorrenza di rimozione" #: services/OpenGnsys/provider.py:157 services/OpenNebula/provider.py:84 #: services/OpenStack/provider.py:159 services/OpenStack/provider_legacy.py:176 #: services/Proxmox/provider.py:116 services/VCloud_enterprise/provider.py:61 -#: services/Vmware_enterprise/provider.py:48 services/Xen/provider.py:139 +#: services/Vmware_enterprise/provider.py:92 services/Xen/provider.py:139 msgid "Maximum number of concurrently removing VMs" msgstr "Numero massimo di VM rimosse contemporaneamente" @@ -3387,7 +3392,7 @@ msgstr "Timeout in secondi per la connessione a HyperV" #: services/HyperV_enterprise/legacy/provider.py:95 #: services/HyperV_enterprise/provider.py:103 #: services/Nutanix_enterprise/provider.py:45 services/OVirt/provider.py:117 -#: services/Vmware_enterprise/provider.py:51 services/Xen/provider.py:146 +#: services/Vmware_enterprise/provider.py:109 services/Xen/provider.py:146 msgid "Macs range" msgstr "Intervallo di Mac" @@ -3404,7 +3409,7 @@ msgstr "Test di connessione riuscito" #: services/HyperV_enterprise/legacy/provider.py:268 #: services/NutanixPrism_enterprise/provider.py:262 #: services/Nutanix_enterprise/provider.py:228 services/OVirt/provider.py:457 -#: services/Proxmox/provider.py:312 services/Vmware_enterprise/provider.py:168 +#: services/Proxmox/provider.py:312 services/Vmware_enterprise/provider.py:291 msgid "Connection failed. Check connection params" msgstr "Connessione fallita. Controllare i parametri di connessione" @@ -4242,12 +4247,12 @@ msgstr "Static IP Machines Provider" msgid "Provides connection to machines by IP" msgstr "Fornisce la connessione alle macchine tramite IP" -#: services/PhysicalMachines/service_multi.py:63 +#: services/PhysicalMachines/service_multi.py:64 #: services/Vmware_enterprise/service_fixed.py:55 msgid "Service Token" msgstr "Token di servizio" -#: services/PhysicalMachines/service_multi.py:66 +#: services/PhysicalMachines/service_multi.py:67 #: services/Vmware_enterprise/service_fixed.py:57 msgid "" "Service token that will be used by actors to communicate with service. Leave " @@ -4256,45 +4261,58 @@ msgstr "" "Token di servizio che verrà utilizzato dagli Actor per comunicare con il " "servizio. Lasciare vuoto per assegnazione persistente." -#: services/PhysicalMachines/service_multi.py:74 +#: services/PhysicalMachines/service_multi.py:75 #: services/RDS_enterprise/provider.py:49 msgid "List of servers" msgstr "Elenco dei server" -#: services/PhysicalMachines/service_multi.py:75 +#: services/PhysicalMachines/service_multi.py:76 msgid "List of servers available for this service" msgstr "Elenco dei server disponibili per questo servizio" -#: services/PhysicalMachines/service_multi.py:80 +#: services/PhysicalMachines/service_multi.py:81 msgid "Check Port" msgstr "Verifica la porta" -#: services/PhysicalMachines/service_multi.py:84 +#: services/PhysicalMachines/service_multi.py:85 msgid "" "If non zero, only hosts responding to connection on that port will be served." msgstr "" "Se diverso da zero, verranno serviti solo gli host che rispondono alla " "connessione su quella porta." -#: services/PhysicalMachines/service_multi.py:91 +#: services/PhysicalMachines/service_multi.py:92 msgid "Skip time" msgstr "Salta il tempo" -#: services/PhysicalMachines/service_multi.py:94 +#: services/PhysicalMachines/service_multi.py:95 msgid "If a host fails to check, skip it for this time (in minutes)." msgstr "" "Se un host non riesce ad effettuare il controllo, lo salta per questo tempo " "(in minuti)." -#: services/PhysicalMachines/service_multi.py:101 +#: services/PhysicalMachines/service_multi.py:103 +#| msgid "Max. session time" +msgid "Max session per machine" +msgstr "Sessione massima per macchina" + +#: services/PhysicalMachines/service_multi.py:107 +msgid "" +"Maximum session duration before UDS thinks this machine got locked and " +"releases it (hours). 0 means \"never\"." +msgstr "" +"Durata massima della sessione prima che UDS ritenga che questa macchina sia " +"stata bloccata e la rilasci (ore). 0 significa \"mai\"." + +#: services/PhysicalMachines/service_multi.py:115 msgid "Static Multiple IP" msgstr "IP statico multiplo" -#: services/PhysicalMachines/service_multi.py:103 +#: services/PhysicalMachines/service_multi.py:117 msgid "This service provides access to POWERED-ON Machines by IP" msgstr "Questo servizio fornisce l'accesso ai computer POWERED-ON tramite IP" -#: services/PhysicalMachines/service_multi.py:134 +#: services/PhysicalMachines/service_multi.py:150 msgid "Invalid value detected on servers list: \"{}\"" msgstr "Rilevato valore non valido nell'elenco dei server: \"{}\"" @@ -4653,7 +4671,7 @@ msgstr "Numero massimo di servizi consentiti (0 significa nessun limite)" msgid "Wait spawned processes" msgstr "Attendi i processi generati" -#: services/RDS_enterprise/service.py:99 +#: services/RDS_enterprise/service.py:100 msgid "" "If active, RDS Actor will wait until the application and all spawned " "processes finished before considering app logged out" @@ -4661,7 +4679,7 @@ msgstr "" "Se attivo, RDS Actor attenderà che l'applicazione e tutti i processi " "spawnati terminino prima di considerare l'app disconnessa" -#: services/RDS_enterprise/service.py:109 +#: services/RDS_enterprise/service.py:112 msgid "A valid application path is required" msgstr "È richiesto un percorso dell'applicazione valido" @@ -4908,27 +4926,27 @@ msgstr "Locale" msgid "Remote" msgstr "Remoto" -#: services/Vmware_enterprise/provider.py:41 +#: services/Vmware_enterprise/provider.py:47 msgid "VMWare VCenter Server IP or Hostname" msgstr "IP o nome host del server VMWare VCenter" -#: services/Vmware_enterprise/provider.py:42 +#: services/Vmware_enterprise/provider.py:55 msgid "VMWare VC Server Port (usually 443)" msgstr "Porta del server VMWare VC (in genere 443)" -#: services/Vmware_enterprise/provider.py:43 +#: services/Vmware_enterprise/provider.py:62 msgid "User with valid privileges on VC" msgstr "Utente con privilegi validi su VC" -#: services/Vmware_enterprise/provider.py:44 +#: services/Vmware_enterprise/provider.py:69 msgid "Password of the user of the VC" msgstr "Password dell';utente del VC" -#: services/Vmware_enterprise/provider.py:50 +#: services/Vmware_enterprise/provider.py:102 msgid "Timeout in seconds of connection to VC" msgstr "Timeout in secondi per la connessione a VC" -#: services/Vmware_enterprise/provider.py:52 +#: services/Vmware_enterprise/provider.py:114 msgid "" "Range of valid macs for created machines. Must be inside " "00:50:56:00:00:00-00:50:56:3F:FF:FF" @@ -4936,15 +4954,15 @@ msgstr "" "Intervallo di mac validi per le VM create. Deve essere all'interno di " "00:50:56:00:00:00-00:50:56:3F:FF:FF" -#: services/Vmware_enterprise/provider.py:56 +#: services/Vmware_enterprise/provider.py:126 msgid "VMWare VCenter Platform Provider" msgstr "VMWare VCenter Platform Provider" -#: services/Vmware_enterprise/provider.py:58 +#: services/Vmware_enterprise/provider.py:128 msgid "Provides connection to Virtual Center Services" msgstr "Fornisce la connessione ai Virtual Center Services" -#: services/Vmware_enterprise/provider.py:166 +#: services/Vmware_enterprise/provider.py:287 msgid "Connection params ok" msgstr "Parametri di connessione validi" @@ -5428,7 +5446,7 @@ msgstr "Mostra sfondo" #: transports/HTML5RDP/html5rdp.py:134 #: transports/HTML5RDS_enterprise/html5rds.py:123 -#: transports/RDP/rdp_base.py:213 +#: transports/RDP/rdp_base.py:222 msgid "" "If checked, the wallpaper and themes will be shown on machine (better user " "experience, more bandwidth)" @@ -5438,25 +5456,25 @@ msgstr "" #: transports/HTML5RDP/html5rdp.py:139 #: transports/HTML5RDS_enterprise/html5rds.py:128 -#: transports/RDP/rdp_base.py:226 +#: transports/RDP/rdp_base.py:235 msgid "Allow Desk.Comp." msgstr "Consenti Desk.Comp." #: transports/HTML5RDP/html5rdp.py:141 #: transports/HTML5RDS_enterprise/html5rds.py:130 -#: transports/RDP/rdp_base.py:228 +#: transports/RDP/rdp_base.py:237 msgid "If checked, desktop composition will be allowed" msgstr "Se selezionato, la composizione desktop sarà consentita" #: transports/HTML5RDP/html5rdp.py:145 #: transports/HTML5RDS_enterprise/html5rds.py:134 -#: transports/RDP/rdp_base.py:232 transports/RDS_enterprise/rds_base.py:150 +#: transports/RDP/rdp_base.py:241 transports/RDS_enterprise/rds_base.py:150 msgid "Font Smoothing" msgstr "Font Smoothing" #: transports/HTML5RDP/html5rdp.py:147 #: transports/HTML5RDS_enterprise/html5rds.py:136 -#: transports/RDS_enterprise/rds_base.py:152 +#: transports/RDS_enterprise/rds_base.py:153 msgid "If checked, fonts smoothing will be allowed (windows clients only)" msgstr "" "Se selezionato, sarà consentita la smussatura dei caratteri (solo per i " @@ -5631,13 +5649,22 @@ msgstr "" msgid "TLS (Transport Security Layer encryption)" msgstr "Crittografia TLS (Transport Security Layer)" -#: transports/HTML5RDP/html5rdp.py:246 +#: transports/HTML5RDP/html5rdp.py:247 transports/RDP/rdp_base.py:172 +#| msgid "Port" +msgid "RDP Port" +msgstr "Porta RDP" + +#: transports/HTML5RDP/html5rdp.py:248 transports/RDP/rdp_base.py:173 +msgid "Use this port as RDP port. Defaults to 3389." +msgstr "Usa questa porta come porta RDP. Il valore predefinito è 3389." + +#: transports/HTML5RDP/html5rdp.py:256 #: transports/HTML5RDS_enterprise/html5rds.py:223 #: transports/HTML5VNC/html5vnc.py:109 msgid "Ticket Validity" msgstr "Validità del ticket" -#: transports/HTML5RDP/html5rdp.py:250 +#: transports/HTML5RDP/html5rdp.py:260 #: transports/HTML5RDS_enterprise/html5rds.py:227 #: transports/HTML5VNC/html5vnc.py:112 msgid "" @@ -5647,44 +5674,44 @@ msgstr "" "Tempo consentito, in secondi, al client HTML5 per ricaricare i dati da UDS " "Broker. Il valore predefinito e consigliato è 60." -#: transports/HTML5RDP/html5rdp.py:259 +#: transports/HTML5RDP/html5rdp.py:269 #: transports/HTML5RDS_enterprise/html5rds.py:236 #: transports/HTML5VNC/html5vnc.py:119 transports/URL/url_custom.py:82 msgid "Force new HTML Window" msgstr "Forza nuova finestra HTML" -#: transports/HTML5RDP/html5rdp.py:260 +#: transports/HTML5RDP/html5rdp.py:270 #: transports/HTML5RDS_enterprise/html5rds.py:237 #: transports/HTML5VNC/html5vnc.py:120 msgid "Select windows behavior for new connections on HTML5" msgstr "" "Seleziona il comportamento di Windows per le nuove connessioni su HTML5" -#: transports/HTML5RDP/html5rdp.py:265 +#: transports/HTML5RDP/html5rdp.py:275 #: transports/HTML5RDS_enterprise/html5rds.py:242 #: transports/HTML5VNC/html5vnc.py:123 msgid "Open every connection on the same window, but keeps UDS window." msgstr "" "Apri ogni connessione sulla stessa finestra, ma mantiene la finestra UDS." -#: transports/HTML5RDP/html5rdp.py:268 +#: transports/HTML5RDP/html5rdp.py:278 #: transports/HTML5RDS_enterprise/html5rds.py:245 #: transports/HTML5VNC/html5vnc.py:124 msgid "Force every connection to be opened on a new window." msgstr "Forza l'apertura di ogni connessione in una nuova finestra." -#: transports/HTML5RDP/html5rdp.py:272 +#: transports/HTML5RDP/html5rdp.py:282 #: transports/HTML5RDS_enterprise/html5rds.py:249 #: transports/HTML5VNC/html5vnc.py:125 msgid "Override UDS window and replace it with the connection." msgstr "Ignora la finestra UDS e sostituiscila con la connessione." -#: transports/HTML5RDP/html5rdp.py:280 +#: transports/HTML5RDP/html5rdp.py:290 #: transports/HTML5RDS_enterprise/html5rds.py:256 msgid "Glyptodon Enterprise context path" msgstr "Percorso di contesto Glyptodon Enterprise" -#: transports/HTML5RDP/html5rdp.py:283 +#: transports/HTML5RDP/html5rdp.py:293 #: transports/HTML5RDS_enterprise/html5rds.py:259 msgid "" "Customized path for Glyptodon Enterprise tunnel. (Only valid for Glyptodon " @@ -5693,13 +5720,13 @@ msgstr "" "Percorso personalizzato per il tunnel Glyptodon Enterprise. (Valido solo per " "Glyptodon Enterprise Tunnel)" -#: transports/HTML5RDP/html5rdp.py:298 +#: transports/HTML5RDP/html5rdp.py:308 #: transports/HTML5RDS_enterprise/html5rds.py:273 #: transports/HTML5VNC/html5vnc.py:137 msgid "The server must be http or https" msgstr "Il server deve essere http o https" -#: transports/HTML5RDP/html5rdp.py:303 +#: transports/HTML5RDP/html5rdp.py:313 #: transports/HTML5RDS_enterprise/html5rds.py:278 msgid "" "Empty credentials (on Credentials tab) is only allowed with Security level " @@ -5752,7 +5779,7 @@ msgstr "Porta del server VNC" msgid "Port of the VNC server." msgstr "Porta del server VNC." -#: transports/HTML5VNC/html5vnc.py:90 transports/RDP/rdp_base.py:196 +#: transports/HTML5VNC/html5vnc.py:90 transports/RDP/rdp_base.py:205 #: transports/RDS_enterprise/rds_base.py:136 msgid "Color depth" msgstr "Profondità di colore" @@ -5865,7 +5892,7 @@ msgstr "" "(consigliato)." #: transports/NoMachine_enterprise/nomachine_tunneltransport.py:114 -#: transports/RDP/rdptunnel.py:134 transports/RDS_enterprise/rdstunnel.py:126 +#: transports/RDP/rdptunnel.py:135 transports/RDS_enterprise/rdstunnel.py:126 #: transports/SPICE/spice_tunnel.py:106 transports/X2GO/x2go_tunnel.py:117 msgid "Must use HOST:PORT in Tunnel Server Field" msgstr "Occorre usare il formato HOST: PORT nel campo Tunnel Server" @@ -5981,27 +6008,27 @@ msgstr "" "Se selezionato, abiliterà il protocollo CredSSP (Credential Security Support " "Provider)" -#: transports/RDP/rdp_base.py:172 +#: transports/RDP/rdp_base.py:181 msgid "Screen Size" msgstr "Dimensione dello schermo" -#: transports/RDP/rdp_base.py:174 +#: transports/RDP/rdp_base.py:183 msgid "Screen size for this transport" msgstr "Dimensioni dello schermo per questo trasporto" -#: transports/RDP/rdp_base.py:198 transports/RDS_enterprise/rds_base.py:138 +#: transports/RDP/rdp_base.py:207 transports/RDS_enterprise/rds_base.py:138 msgid "Color depth for this connection" msgstr "Profondità del colore per questa connessione" -#: transports/RDP/rdp_base.py:210 +#: transports/RDP/rdp_base.py:219 msgid "Wallpaper/theme" msgstr "Sfondo/tema" -#: transports/RDP/rdp_base.py:218 +#: transports/RDP/rdp_base.py:227 msgid "Multiple monitors" msgstr "Monitor multipli" -#: transports/RDP/rdp_base.py:221 +#: transports/RDP/rdp_base.py:230 msgid "" "If checked, all client monitors will be used for displaying (only works on " "windows clients)" @@ -6009,67 +6036,67 @@ msgstr "" "Se selezionato, tutti i monitor client verranno utilizzati per la " "visualizzazione (funziona solo su client Windows)" -#: transports/RDP/rdp_base.py:234 +#: transports/RDP/rdp_base.py:244 msgid "If checked, fonts smoothing will be allowed" msgstr "Se selezionato, sarà consentita la smussatura dei caratteri" -#: transports/RDP/rdp_base.py:238 +#: transports/RDP/rdp_base.py:248 msgid "Connection Bar" msgstr "Barra di connessione" -#: transports/RDP/rdp_base.py:240 +#: transports/RDP/rdp_base.py:250 msgid "If checked, connection bar will be shown (only on Windows clients)" msgstr "" "Se selezionato, verrà mostrata la barra di connessione (solo su client " "Windows)" -#: transports/RDP/rdp_base.py:246 transports/RDS_enterprise/rds_base.py:174 +#: transports/RDP/rdp_base.py:256 transports/RDS_enterprise/rds_base.py:179 msgid "Multimedia sync" msgstr "Sincronizzazione multimediale" -#: transports/RDP/rdp_base.py:249 transports/RDS_enterprise/rds_base.py:177 +#: transports/RDP/rdp_base.py:259 transports/RDS_enterprise/rds_base.py:182 msgid "If checked. Linux client will use multimedia parameter for xfreerdp" msgstr "" "Se selezionato. Il client Linux utilizzerà i parametri multimediali per " "xfreerdp" -#: transports/RDP/rdp_base.py:254 transports/RDS_enterprise/rds_base.py:182 +#: transports/RDP/rdp_base.py:264 transports/RDS_enterprise/rds_base.py:187 msgid "Use Alsa" msgstr "Usa Alsa" -#: transports/RDP/rdp_base.py:257 transports/RDS_enterprise/rds_base.py:185 +#: transports/RDP/rdp_base.py:267 transports/RDS_enterprise/rds_base.py:190 msgid "" "If checked, Linux client will try to use ALSA, otherwise Pulse will be used" msgstr "" "Se selezionato, il client Linux proverà ad usare ALSA, altrimenti verrà " "utilizzato Pulse" -#: transports/RDP/rdp_base.py:262 transports/RDS_enterprise/rds_base.py:190 +#: transports/RDP/rdp_base.py:272 transports/RDS_enterprise/rds_base.py:195 msgid "Printer string" msgstr "Stringa della stampante" -#: transports/RDP/rdp_base.py:265 transports/RDS_enterprise/rds_base.py:193 +#: transports/RDP/rdp_base.py:275 transports/RDS_enterprise/rds_base.py:198 msgid "If printer is checked, the printer string used with xfreerdp client" msgstr "" "Se la stampante è selezionata, la stringa della stampante viene utilizzata " "con il client xfreerdp" -#: transports/RDP/rdp_base.py:271 transports/RDS_enterprise/rds_base.py:199 +#: transports/RDP/rdp_base.py:281 transports/RDS_enterprise/rds_base.py:204 msgid "Smartcard string" msgstr "Stringa della smartcard" -#: transports/RDP/rdp_base.py:274 transports/RDS_enterprise/rds_base.py:202 +#: transports/RDP/rdp_base.py:284 transports/RDS_enterprise/rds_base.py:207 msgid "If smartcard is checked, the smartcard string used with xfreerdp client" msgstr "" "Se la smartcard è selezionata, la stringa della smartcard viene utilizzata " "con il client xfreerdp" -#: transports/RDP/rdp_base.py:280 transports/RDP/rdp_base.py:300 -#: transports/RDS_enterprise/rds_base.py:208 +#: transports/RDP/rdp_base.py:290 transports/RDP/rdp_base.py:310 +#: transports/RDS_enterprise/rds_base.py:213 msgid "Custom parameters" msgstr "Parametri personalizzati" -#: transports/RDP/rdp_base.py:283 transports/RDS_enterprise/rds_base.py:211 +#: transports/RDP/rdp_base.py:293 transports/RDS_enterprise/rds_base.py:216 msgid "" "If not empty, extra parameter to include for Linux Client (for example /usb:" "id,dev:054c:0268, or aything compatible with your xfreerdp client)" @@ -6077,11 +6104,11 @@ msgstr "" "Se non vuoto, parametro extra da includere per client Linux (per esempio /" "usb i, dev:054c:0268, o altro compatibile con il tuo client xfreerdp)" -#: transports/RDP/rdp_base.py:290 +#: transports/RDP/rdp_base.py:300 msgid "Allow Microsoft Rdp Client" msgstr "Consenti client Microsoft Rdp" -#: transports/RDP/rdp_base.py:293 +#: transports/RDP/rdp_base.py:303 msgid "" "If checked, allows use of Microsoft Remote Desktop Client. PASSWORD WILL BE " "PROMPTED!" @@ -6089,7 +6116,7 @@ msgstr "" "Se selezionato, consente l'utilizzo di Microsoft Remote Desktop Client. " "LA PASSWORD SARÀ RICHIESTA!" -#: transports/RDP/rdp_base.py:303 +#: transports/RDP/rdp_base.py:313 msgid "" "If not empty, extra parameter to include for Mac OS X Freerdp Client (for " "example /usb:id,dev:054c:0268, or aything compatible with your xfreerdp " @@ -6113,19 +6140,33 @@ msgid "RDS access using RDP for vApps. Direct connection." msgstr "Accesso RDS mediante RDP per vApp. Connessione diretta." #: transports/RDS_enterprise/rds_base.py:157 +#| msgid "Window Size" +msgid "Window state" +msgstr "Stato della finestra" + +#: transports/RDS_enterprise/rds_base.py:159 +msgid "UDS Will try to execute the applicaiton with the window in this state" +msgstr "" +"UDS tenterà di eseguire l'applicazione con la finestra in questo stato" + +#: transports/RDS_enterprise/rds_base.py:162 +msgid "Normal" +msgstr "Normale" + +#: transports/RDS_enterprise/rds_base.py:163 msgid "Maximized" msgstr "Massimizzato" -#: transports/RDS_enterprise/rds_base.py:160 -msgid "If checked, UDS Actor will try to execute application maximized)" -msgstr "" -"Se selezionato, UDS Actor tenterà di eseguire l'applicazione ingrandita)" +#: transports/RDS_enterprise/rds_base.py:164 +#| msgid "Maximized" +msgid "Minimized" +msgstr "Ridotto a icona" -#: transports/RDS_enterprise/rds_base.py:165 +#: transports/RDS_enterprise/rds_base.py:170 msgid "Execute as shell" msgstr "Esegui come shell" -#: transports/RDS_enterprise/rds_base.py:169 +#: transports/RDS_enterprise/rds_base.py:174 msgid "" "If checked, Linux client will execute application in a session instead of a " "remoteapp" @@ -6332,7 +6373,7 @@ msgstr "Troppi errori di autenticazione. Utente temporaneamente bloccato" msgid "Invalid data" msgstr "Dati non validi" -#: web/util/configjs.py:146 +#: web/util/configjs.py:145 msgid "Access limited by calendar" msgstr "Accesso limitato dal calendario" @@ -6474,6 +6515,6 @@ msgstr "" "Il tuo servizio è in fase di creazione, per favore, attendi qualche secondo " "mentre viene completato.)" -#: web/views/auth.py:151 +#: web/views/auth.py:154 msgid "Authenticator does not provide information" msgstr "Autenticatore non fornisce informazioni" diff --git a/server/src/uds/locale/it/LC_MESSAGES/djangojs.po b/server/src/uds/locale/it/LC_MESSAGES/djangojs.po index 666950500..04ca48c5b 100644 --- a/server/src/uds/locale/it/LC_MESSAGES/djangojs.po +++ b/server/src/uds/locale/it/LC_MESSAGES/djangojs.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: OpenUDS\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-08 14:18+0200\n" +"POT-Creation-Date: 2021-07-29 13:12+0200\n" "PO-Revision-Date: 2021-07-08 10:59+0000\n" "Last-Translator: Adolfo Gómez \n" "Language-Team: Italian (http://www.transifex.com/openuds/openuds/language/" @@ -152,23 +152,23 @@ msgstr "gruppo di pool" msgid "Go to" msgstr "Vai a" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:271 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:272 msgid "yes" msgstr "sì" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:272 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:273 msgid "no" msgstr "no" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:268 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:269 msgid "Error saving: " msgstr "Errore durante il salvataggio:" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:269 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:270 msgid "Error saving element" msgstr "Errore durante il salvataggio dell'elemento" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:270 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:271 msgid "Error handling your request" msgstr "Errore durante la gestione della tua richiesta" @@ -277,8 +277,8 @@ msgstr "#RESTRAINED_NUMBER# servizi limitati!" #: static/admin/main.js:1 static/admin/translations-fakejs.js:105 #: static/admin/translations-fakejs.js:249 -#: static/admin/translations-fakejs.js:398 -#: static/admin/translations-fakejs.js:450 +#: static/admin/translations-fakejs.js:402 +#: static/admin/translations-fakejs.js:454 msgid "Assigned services" msgstr "Servizi assegnati" @@ -287,8 +287,8 @@ msgid "Services in use" msgstr "Servizi in uso" #: static/admin/main.js:1 static/admin/translations-fakejs.js:21 -#: static/admin/translations-fakejs.js:291 -#: static/admin/translations-fakejs.js:299 +#: static/admin/translations-fakejs.js:292 +#: static/admin/translations-fakejs.js:300 #: static/modern/translations-fakejs.js:30 msgid "Filter" msgstr "Filtro" @@ -306,25 +306,25 @@ msgid "Full Access" msgstr "Accesso completo" #: static/admin/main.js:1 static/admin/translations-fakejs.js:15 -#: static/admin/translations-fakejs.js:358 -#: static/admin/translations-fakejs.js:405 -#: static/admin/translations-fakejs.js:410 +#: static/admin/translations-fakejs.js:362 +#: static/admin/translations-fakejs.js:409 +#: static/admin/translations-fakejs.js:414 msgid "User" msgstr "Utente" #: static/admin/main.js:1 static/admin/translations-fakejs.js:16 #: static/admin/translations-fakejs.js:83 #: static/admin/translations-fakejs.js:93 -#: static/admin/translations-fakejs.js:423 -#: static/admin/translations-fakejs.js:444 +#: static/admin/translations-fakejs.js:427 +#: static/admin/translations-fakejs.js:448 msgid "Group" msgstr "Gruppo" #: static/admin/main.js:1 static/admin/translations-fakejs.js:17 -#: static/admin/translations-fakejs.js:404 -#: static/admin/translations-fakejs.js:409 -#: static/admin/translations-fakejs.js:422 -#: static/admin/translations-fakejs.js:443 +#: static/admin/translations-fakejs.js:408 +#: static/admin/translations-fakejs.js:413 +#: static/admin/translations-fakejs.js:426 +#: static/admin/translations-fakejs.js:447 #: static/modern/translations-fakejs.js:73 msgid "Authenticator" msgstr "Autenticatore" @@ -396,8 +396,8 @@ msgstr "Pool" #: static/admin/main.js:1 static/admin/translations-fakejs.js:77 #: static/admin/translations-fakejs.js:96 #: static/admin/translations-fakejs.js:230 -#: static/admin/translations-fakejs.js:339 -#: static/admin/translations-fakejs.js:351 +#: static/admin/translations-fakejs.js:343 +#: static/admin/translations-fakejs.js:355 msgid "State" msgstr "Stato" @@ -409,21 +409,21 @@ msgstr "Servizi utente" #: static/admin/main.js:1 static/admin/translations-fakejs.js:88 #: static/admin/translations-fakejs.js:232 -#: static/admin/translations-fakejs.js:319 -#: static/admin/translations-fakejs.js:397 +#: static/admin/translations-fakejs.js:321 +#: static/admin/translations-fakejs.js:401 msgid "Service pools" msgstr "Pool di servizi" #: static/admin/main.js:1 static/admin/translations-fakejs.js:3 #: static/admin/translations-fakejs.js:7 -#: static/admin/translations-fakejs.js:306 +#: static/admin/translations-fakejs.js:308 #: static/modern/translations-fakejs.js:44 msgid "Yes" msgstr "Sì" #: static/admin/main.js:1 static/admin/translations-fakejs.js:4 #: static/admin/translations-fakejs.js:8 -#: static/admin/translations-fakejs.js:307 +#: static/admin/translations-fakejs.js:309 #: static/modern/translations-fakejs.js:45 msgid "No" msgstr "No" @@ -480,10 +480,10 @@ msgstr "Tutti" #: static/admin/main.js:1 static/admin/translations-fakejs.js:84 #: static/admin/translations-fakejs.js:94 -#: static/admin/translations-fakejs.js:338 -#: static/admin/translations-fakejs.js:350 -#: static/admin/translations-fakejs.js:375 -#: static/admin/translations-fakejs.js:431 +#: static/admin/translations-fakejs.js:342 +#: static/admin/translations-fakejs.js:354 +#: static/admin/translations-fakejs.js:379 +#: static/admin/translations-fakejs.js:435 msgid "Comments" msgstr "Commenti" @@ -509,25 +509,25 @@ msgstr "Pool di servizi" #: static/admin/main.js:1 static/admin/translations-fakejs.js:90 #: static/admin/translations-fakejs.js:103 -#: static/admin/translations-fakejs.js:286 -#: static/admin/translations-fakejs.js:321 -#: static/admin/translations-fakejs.js:333 -#: static/admin/translations-fakejs.js:359 +#: static/admin/translations-fakejs.js:287 +#: static/admin/translations-fakejs.js:323 +#: static/admin/translations-fakejs.js:337 #: static/admin/translations-fakejs.js:363 -#: static/admin/translations-fakejs.js:369 -#: static/admin/translations-fakejs.js:399 -#: static/admin/translations-fakejs.js:452 +#: static/admin/translations-fakejs.js:367 +#: static/admin/translations-fakejs.js:373 +#: static/admin/translations-fakejs.js:403 +#: static/admin/translations-fakejs.js:456 msgid "Groups" msgstr "Gruppi" #: static/admin/main.js:1 static/admin/translations-fakejs.js:104 -#: static/admin/translations-fakejs.js:331 -#: static/admin/translations-fakejs.js:364 +#: static/admin/translations-fakejs.js:335 +#: static/admin/translations-fakejs.js:368 msgid "Services Pools" msgstr "Pool di servizi" #: static/admin/main.js:1 static/admin/translations-fakejs.js:79 -#: static/admin/translations-fakejs.js:374 +#: static/admin/translations-fakejs.js:378 msgid "Name" msgstr "Nome" @@ -544,26 +544,26 @@ msgid "Last access" msgstr "Ultimo accesso" #: static/admin/main.js:1 static/admin/translations-fakejs.js:89 -#: static/admin/translations-fakejs.js:285 -#: static/admin/translations-fakejs.js:332 -#: static/admin/translations-fakejs.js:368 +#: static/admin/translations-fakejs.js:286 +#: static/admin/translations-fakejs.js:336 +#: static/admin/translations-fakejs.js:372 msgid "Users" msgstr "Utenti" #: static/admin/main.js:1 static/admin/translations-fakejs.js:85 -#: static/admin/translations-fakejs.js:340 -#: static/admin/translations-fakejs.js:352 +#: static/admin/translations-fakejs.js:344 +#: static/admin/translations-fakejs.js:356 msgid "Enabled" msgstr "Abilitato" #: static/admin/main.js:1 static/admin/translations-fakejs.js:86 -#: static/admin/translations-fakejs.js:341 -#: static/admin/translations-fakejs.js:353 +#: static/admin/translations-fakejs.js:345 +#: static/admin/translations-fakejs.js:357 msgid "Disabled" msgstr "Disabilitato" #: static/admin/main.js:1 static/admin/translations-fakejs.js:87 -#: static/admin/translations-fakejs.js:354 +#: static/admin/translations-fakejs.js:358 msgid "Blocked" msgstr "Bloccato" @@ -674,12 +674,12 @@ msgid "In use" msgstr "In uso" #: static/admin/main.js:1 static/admin/translations-fakejs.js:202 -#: static/admin/translations-fakejs.js:289 -#: static/admin/translations-fakejs.js:370 -#: static/admin/translations-fakejs.js:401 -#: static/admin/translations-fakejs.js:458 -#: static/admin/translations-fakejs.js:461 -#: static/admin/translations-fakejs.js:466 +#: static/admin/translations-fakejs.js:290 +#: static/admin/translations-fakejs.js:374 +#: static/admin/translations-fakejs.js:405 +#: static/admin/translations-fakejs.js:462 +#: static/admin/translations-fakejs.js:465 +#: static/admin/translations-fakejs.js:470 msgid "Logs" msgstr "Logs" @@ -700,20 +700,20 @@ msgid "Assign service" msgstr "Assegna servizio" #: static/admin/main.js:1 static/admin/translations-fakejs.js:207 -#: static/admin/translations-fakejs.js:276 -#: static/admin/translations-fakejs.js:282 -#: static/admin/translations-fakejs.js:345 -#: static/admin/translations-fakejs.js:360 -#: static/admin/translations-fakejs.js:386 -#: static/admin/translations-fakejs.js:394 -#: static/admin/translations-fakejs.js:406 -#: static/admin/translations-fakejs.js:411 -#: static/admin/translations-fakejs.js:419 -#: static/admin/translations-fakejs.js:424 +#: static/admin/translations-fakejs.js:277 +#: static/admin/translations-fakejs.js:283 +#: static/admin/translations-fakejs.js:349 +#: static/admin/translations-fakejs.js:364 +#: static/admin/translations-fakejs.js:390 +#: static/admin/translations-fakejs.js:398 +#: static/admin/translations-fakejs.js:410 +#: static/admin/translations-fakejs.js:415 +#: static/admin/translations-fakejs.js:423 #: static/admin/translations-fakejs.js:428 #: static/admin/translations-fakejs.js:432 -#: static/admin/translations-fakejs.js:445 -#: static/admin/translations-fakejs.js:487 +#: static/admin/translations-fakejs.js:436 +#: static/admin/translations-fakejs.js:449 +#: static/admin/translations-fakejs.js:491 msgid "Cancel" msgstr "Annulla" @@ -865,7 +865,7 @@ msgid "Yearly" msgstr "Annuale" #: static/admin/main.js:1 static/admin/translations-fakejs.js:148 -#: static/admin/translations-fakejs.js:383 +#: static/admin/translations-fakejs.js:387 msgid "Weekdays" msgstr "Nei giorni feriali" @@ -1023,6 +1023,11 @@ msgstr "Configurazione salvata" msgid "Delete actor token - USE WITH EXTREME CAUTION!!!" msgstr "Elimina token Actor - UTILIZZARE CON ESTREMA ATTENZIONE!!!" +#: static/admin/main.js:1 static/admin/translations-fakejs.js:268 +#| msgid "Delete actor token - USE WITH EXTREME CAUTION!!!" +msgid "Delete tunnel token - USE WITH EXTREME CAUTION!!!" +msgstr "Elimina token tunnel - UTILIZZARE CON ESTREMA CAUTELA!!!" + #: static/admin/main.js:1 static/admin/translations-fakejs.js:24 msgid "Cache flushed" msgstr "Cache vuotata" @@ -1111,458 +1116,470 @@ msgstr "unhandlerPromiseRejectionHandler" msgid "rejectionHandledHandler" msgstr "rifiutoHandledHandler" -#: static/admin/translations-fakejs.js:274 +#: static/admin/translations-fakejs.js:275 msgid "Remove all" msgstr "Rimuovi tutto" -#: static/admin/translations-fakejs.js:275 +#: static/admin/translations-fakejs.js:276 msgid "Add" msgstr "Aggiungi" -#: static/admin/translations-fakejs.js:277 -#: static/admin/translations-fakejs.js:283 -#: static/admin/translations-fakejs.js:288 -#: static/admin/translations-fakejs.js:334 -#: static/admin/translations-fakejs.js:346 -#: static/admin/translations-fakejs.js:361 -#: static/admin/translations-fakejs.js:366 -#: static/admin/translations-fakejs.js:387 -#: static/admin/translations-fakejs.js:395 -#: static/admin/translations-fakejs.js:407 -#: static/admin/translations-fakejs.js:412 -#: static/admin/translations-fakejs.js:420 -#: static/admin/translations-fakejs.js:425 +#: static/admin/translations-fakejs.js:278 +#: static/admin/translations-fakejs.js:284 +#: static/admin/translations-fakejs.js:289 +#: static/admin/translations-fakejs.js:338 +#: static/admin/translations-fakejs.js:350 +#: static/admin/translations-fakejs.js:365 +#: static/admin/translations-fakejs.js:370 +#: static/admin/translations-fakejs.js:391 +#: static/admin/translations-fakejs.js:399 +#: static/admin/translations-fakejs.js:411 +#: static/admin/translations-fakejs.js:416 +#: static/admin/translations-fakejs.js:424 #: static/admin/translations-fakejs.js:429 #: static/admin/translations-fakejs.js:433 -#: static/admin/translations-fakejs.js:435 -#: static/admin/translations-fakejs.js:446 -#: static/admin/translations-fakejs.js:448 -#: static/admin/translations-fakejs.js:462 -#: static/admin/translations-fakejs.js:488 +#: static/admin/translations-fakejs.js:437 +#: static/admin/translations-fakejs.js:439 +#: static/admin/translations-fakejs.js:450 +#: static/admin/translations-fakejs.js:452 +#: static/admin/translations-fakejs.js:466 +#: static/admin/translations-fakejs.js:492 msgid "Ok" msgstr "Ok" -#: static/admin/translations-fakejs.js:278 +#: static/admin/translations-fakejs.js:279 msgid "Discard & close" msgstr "Annulla e chiudi" -#: static/admin/translations-fakejs.js:279 -#: static/admin/translations-fakejs.js:480 +#: static/admin/translations-fakejs.js:280 +#: static/admin/translations-fakejs.js:484 msgid "Save" msgstr "Salva" -#: static/admin/translations-fakejs.js:280 +#: static/admin/translations-fakejs.js:281 msgid "New user permission for" msgstr "Nuovo permesso utente per" -#: static/admin/translations-fakejs.js:281 +#: static/admin/translations-fakejs.js:282 msgid "New group permission for" msgstr "Nuovo permesso di gruppo per" -#: static/admin/translations-fakejs.js:284 +#: static/admin/translations-fakejs.js:285 msgid "Permissions for" msgstr "Permessi per" -#: static/admin/translations-fakejs.js:287 +#: static/admin/translations-fakejs.js:288 msgid "New permission..." msgstr "Nuovo permesso..." -#: static/admin/translations-fakejs.js:290 -#: static/admin/translations-fakejs.js:297 +#: static/admin/translations-fakejs.js:291 +#: static/admin/translations-fakejs.js:298 msgid "Export" msgstr "Esporta" -#: static/admin/translations-fakejs.js:292 #: static/admin/translations-fakejs.js:293 #: static/admin/translations-fakejs.js:294 +#: static/admin/translations-fakejs.js:295 msgid "New" msgstr "Nuovo" -#: static/admin/translations-fakejs.js:295 -#: static/admin/translations-fakejs.js:302 +#: static/admin/translations-fakejs.js:296 +#: static/admin/translations-fakejs.js:304 msgid "Edit" msgstr "Modifica" -#: static/admin/translations-fakejs.js:296 -#: static/admin/translations-fakejs.js:303 +#: static/admin/translations-fakejs.js:297 +#: static/admin/translations-fakejs.js:305 msgid "Permissions" msgstr "Permessi" -#: static/admin/translations-fakejs.js:298 -#: static/admin/translations-fakejs.js:304 +#: static/admin/translations-fakejs.js:299 +#: static/admin/translations-fakejs.js:306 msgid "Delete" msgstr "Elimina" -#: static/admin/translations-fakejs.js:300 +#: static/admin/translations-fakejs.js:301 msgid "Selected items" msgstr "Elementi selezionati" -#: static/admin/translations-fakejs.js:301 +#: static/admin/translations-fakejs.js:302 +msgid "Copy" +msgstr "copia" + +#: static/admin/translations-fakejs.js:303 msgid "Detail" msgstr "Dettaglio" -#: static/admin/translations-fakejs.js:305 +#: static/admin/translations-fakejs.js:307 #: static/modern/translations-fakejs.js:43 msgid "Close" msgstr "Chiudi" -#: static/admin/translations-fakejs.js:308 +#: static/admin/translations-fakejs.js:310 msgid "User mode" msgstr "Modalità utente" -#: static/admin/translations-fakejs.js:309 +#: static/admin/translations-fakejs.js:311 #: static/modern/translations-fakejs.js:48 msgid "Logout" msgstr "Disconnetti" -#: static/admin/translations-fakejs.js:310 -#: static/admin/translations-fakejs.js:367 -#: static/admin/translations-fakejs.js:385 -#: static/admin/translations-fakejs.js:396 -#: static/admin/translations-fakejs.js:449 -#: static/admin/translations-fakejs.js:463 +#: static/admin/translations-fakejs.js:312 +#: static/admin/translations-fakejs.js:371 +#: static/admin/translations-fakejs.js:389 +#: static/admin/translations-fakejs.js:400 +#: static/admin/translations-fakejs.js:453 +#: static/admin/translations-fakejs.js:467 msgid "Summary" msgstr "Sommario" -#: static/admin/translations-fakejs.js:311 -#: static/admin/translations-fakejs.js:464 +#: static/admin/translations-fakejs.js:313 +#: static/admin/translations-fakejs.js:468 msgid "Services" msgstr "Servizi" -#: static/admin/translations-fakejs.js:312 +#: static/admin/translations-fakejs.js:314 msgid "Authenticators" msgstr "Autenticatori" -#: static/admin/translations-fakejs.js:313 +#: static/admin/translations-fakejs.js:315 msgid "Os Managers" msgstr "Os Manager" -#: static/admin/translations-fakejs.js:314 +#: static/admin/translations-fakejs.js:316 msgid "Connectivity" msgstr "Connettività" -#: static/admin/translations-fakejs.js:315 -#: static/admin/translations-fakejs.js:453 +#: static/admin/translations-fakejs.js:317 +#: static/admin/translations-fakejs.js:457 #: static/modern/translations-fakejs.js:39 msgid "Transports" msgstr "Trasporti" -#: static/admin/translations-fakejs.js:316 +#: static/admin/translations-fakejs.js:318 #: static/modern/translations-fakejs.js:41 msgid "Networks" msgstr "Reti" -#: static/admin/translations-fakejs.js:317 +#: static/admin/translations-fakejs.js:319 msgid "Proxies" msgstr "Proxy" -#: static/admin/translations-fakejs.js:318 +#: static/admin/translations-fakejs.js:320 msgid "Pools" msgstr "Pool" -#: static/admin/translations-fakejs.js:320 +#: static/admin/translations-fakejs.js:322 msgid "Meta pools" msgstr "Meta pool" -#: static/admin/translations-fakejs.js:322 +#: static/admin/translations-fakejs.js:324 msgid "Calendars" msgstr "Calendari" -#: static/admin/translations-fakejs.js:323 +#: static/admin/translations-fakejs.js:325 msgid "Accounts" msgstr "Resoconti" -#: static/admin/translations-fakejs.js:324 +#: static/admin/translations-fakejs.js:326 msgid "Tools" msgstr "Strumenti" -#: static/admin/translations-fakejs.js:325 +#: static/admin/translations-fakejs.js:327 msgid "Gallery" msgstr "Galleria" -#: static/admin/translations-fakejs.js:326 +#: static/admin/translations-fakejs.js:328 msgid "Reports" msgstr "Rapporti" -#: static/admin/translations-fakejs.js:327 -msgid "Configuration" -msgstr "Configurazione" - -#: static/admin/translations-fakejs.js:328 -msgid "Actor tokens" -msgstr "Token Actor" - #: static/admin/translations-fakejs.js:329 +msgid "Tokens" +msgstr "Gettoni" + +#: static/admin/translations-fakejs.js:330 +msgid "Actor" +msgstr "Attore" + +#: static/admin/translations-fakejs.js:331 +msgid "Tunnel" +msgstr "Tunnel" + +#: static/admin/translations-fakejs.js:332 msgid "Flush Cache" msgstr "Svuota Cache" -#: static/admin/translations-fakejs.js:330 -#: static/admin/translations-fakejs.js:362 -#: static/admin/translations-fakejs.js:459 +#: static/admin/translations-fakejs.js:333 +msgid "Configuration" +msgstr "Configurazione" + +#: static/admin/translations-fakejs.js:334 +#: static/admin/translations-fakejs.js:366 +#: static/admin/translations-fakejs.js:463 msgid "Information for" msgstr "Informazioni per" -#: static/admin/translations-fakejs.js:335 +#: static/admin/translations-fakejs.js:339 msgid "Edit group" msgstr "Modifica gruppo" -#: static/admin/translations-fakejs.js:336 +#: static/admin/translations-fakejs.js:340 msgid "New group" msgstr "Nuovo gruppo" -#: static/admin/translations-fakejs.js:337 +#: static/admin/translations-fakejs.js:341 msgid "Meta group name" msgstr "Nome del meta gruppo" -#: static/admin/translations-fakejs.js:342 +#: static/admin/translations-fakejs.js:346 msgid "Service Pools" msgstr "Pool di servizi" -#: static/admin/translations-fakejs.js:343 +#: static/admin/translations-fakejs.js:347 msgid "Match mode" msgstr "Modalità di confronto" -#: static/admin/translations-fakejs.js:344 +#: static/admin/translations-fakejs.js:348 msgid "Selected Groups" msgstr "Gruppi selezionati" -#: static/admin/translations-fakejs.js:347 +#: static/admin/translations-fakejs.js:351 msgid "Edit user" msgstr "Modifica utente" -#: static/admin/translations-fakejs.js:348 +#: static/admin/translations-fakejs.js:352 msgid "New user" msgstr "Nuovo utente" -#: static/admin/translations-fakejs.js:349 +#: static/admin/translations-fakejs.js:353 msgid "Real name" msgstr "Nome vero" -#: static/admin/translations-fakejs.js:355 +#: static/admin/translations-fakejs.js:359 msgid "Role" msgstr "Ruolo" -#: static/admin/translations-fakejs.js:356 +#: static/admin/translations-fakejs.js:360 msgid "Admin" msgstr "Admin" -#: static/admin/translations-fakejs.js:357 +#: static/admin/translations-fakejs.js:361 msgid "Staff member" msgstr "Membro dello staff" -#: static/admin/translations-fakejs.js:365 +#: static/admin/translations-fakejs.js:369 msgid "Assigned Services" msgstr "Servizi assegnati" -#: static/admin/translations-fakejs.js:371 +#: static/admin/translations-fakejs.js:375 msgid "Account usage" msgstr "Uso del resoconto" -#: static/admin/translations-fakejs.js:372 +#: static/admin/translations-fakejs.js:376 msgid "Edit rule" msgstr "Modifica regola" -#: static/admin/translations-fakejs.js:373 +#: static/admin/translations-fakejs.js:377 msgid "New rule" msgstr "Nuova regola" -#: static/admin/translations-fakejs.js:376 +#: static/admin/translations-fakejs.js:380 msgid "Event" msgstr "Evento" -#: static/admin/translations-fakejs.js:377 +#: static/admin/translations-fakejs.js:381 msgid "Start time" msgstr "Orario di inizio" -#: static/admin/translations-fakejs.js:378 +#: static/admin/translations-fakejs.js:382 msgid "Duration" msgstr "Durata" -#: static/admin/translations-fakejs.js:379 +#: static/admin/translations-fakejs.js:383 msgid "Duration units" msgstr "Unità di durata" -#: static/admin/translations-fakejs.js:380 +#: static/admin/translations-fakejs.js:384 msgid "Start date" msgstr "Data d'inizio" -#: static/admin/translations-fakejs.js:381 +#: static/admin/translations-fakejs.js:385 msgid "Repeat until date" msgstr "Ripeti fino alla data" -#: static/admin/translations-fakejs.js:382 +#: static/admin/translations-fakejs.js:386 msgid "Frequency" msgstr "Frequenza" -#: static/admin/translations-fakejs.js:384 +#: static/admin/translations-fakejs.js:388 msgid "Repeat every" msgstr "Ripeti ogni" -#: static/admin/translations-fakejs.js:388 +#: static/admin/translations-fakejs.js:392 msgid "Rules" msgstr "Regole" -#: static/admin/translations-fakejs.js:389 +#: static/admin/translations-fakejs.js:393 msgid "New member pool" msgstr "Nuovo membro del pool" -#: static/admin/translations-fakejs.js:390 +#: static/admin/translations-fakejs.js:394 msgid "Edit member pool" msgstr "Modifica membro del pool" -#: static/admin/translations-fakejs.js:391 -#: static/admin/translations-fakejs.js:416 +#: static/admin/translations-fakejs.js:395 +#: static/admin/translations-fakejs.js:420 msgid "Priority" msgstr "Priorità" -#: static/admin/translations-fakejs.js:392 +#: static/admin/translations-fakejs.js:396 msgid "Service pool" msgstr "Pool di servizi" -#: static/admin/translations-fakejs.js:393 +#: static/admin/translations-fakejs.js:397 msgid "Enabled?" msgstr "Abilitato?" -#: static/admin/translations-fakejs.js:400 -#: static/admin/translations-fakejs.js:456 +#: static/admin/translations-fakejs.js:404 +#: static/admin/translations-fakejs.js:460 msgid "Access calendars" msgstr "Accedi ai calendari" -#: static/admin/translations-fakejs.js:402 +#: static/admin/translations-fakejs.js:406 msgid "Assign service to user manually" msgstr "Assegna il servizio all'utente manualmente" -#: static/admin/translations-fakejs.js:403 +#: static/admin/translations-fakejs.js:407 msgid "Service" msgstr "Servizio" -#: static/admin/translations-fakejs.js:408 +#: static/admin/translations-fakejs.js:412 msgid "Change owner of assigned service" msgstr "Cambia proprietario del servizio assegnato" -#: static/admin/translations-fakejs.js:413 +#: static/admin/translations-fakejs.js:417 msgid "New access rule for" msgstr "Nuova regola di accesso per" -#: static/admin/translations-fakejs.js:414 +#: static/admin/translations-fakejs.js:418 msgid "Edit access rule for" msgstr "Modifica regola di accesso per" -#: static/admin/translations-fakejs.js:415 +#: static/admin/translations-fakejs.js:419 msgid "Default fallback access for" msgstr "Accesso di riserva predefinito per" -#: static/admin/translations-fakejs.js:417 -#: static/admin/translations-fakejs.js:438 +#: static/admin/translations-fakejs.js:421 +#: static/admin/translations-fakejs.js:442 msgid "Calendar" msgstr "Calendario" -#: static/admin/translations-fakejs.js:418 -#: static/admin/translations-fakejs.js:441 +#: static/admin/translations-fakejs.js:422 +#: static/admin/translations-fakejs.js:445 msgid "Action" msgstr "Azione" -#: static/admin/translations-fakejs.js:421 +#: static/admin/translations-fakejs.js:425 msgid "New group for" msgstr "Nuovo gruppo per" -#: static/admin/translations-fakejs.js:426 +#: static/admin/translations-fakejs.js:430 msgid "New transport for" msgstr "Nuovo trasporto per" -#: static/admin/translations-fakejs.js:427 -#: static/admin/translations-fakejs.js:442 +#: static/admin/translations-fakejs.js:431 +#: static/admin/translations-fakejs.js:446 msgid "Transport" msgstr "Trasporto" -#: static/admin/translations-fakejs.js:430 +#: static/admin/translations-fakejs.js:434 msgid "New publication for" msgstr "Nuova pubblicazione per" -#: static/admin/translations-fakejs.js:434 +#: static/admin/translations-fakejs.js:438 msgid "Changelog of" msgstr "Changelog di" -#: static/admin/translations-fakejs.js:436 +#: static/admin/translations-fakejs.js:440 msgid "Edit action for" msgstr "Modifica l'azione per" -#: static/admin/translations-fakejs.js:437 +#: static/admin/translations-fakejs.js:441 msgid "New action for" msgstr "Nuova azione per" -#: static/admin/translations-fakejs.js:439 +#: static/admin/translations-fakejs.js:443 msgid "Events offset (minutes)" msgstr "Offset degli eventi (minuti)" -#: static/admin/translations-fakejs.js:440 +#: static/admin/translations-fakejs.js:444 msgid "At the beginning of the interval?" msgstr "All'inizio dell'intervallo?" -#: static/admin/translations-fakejs.js:447 +#: static/admin/translations-fakejs.js:451 msgid "Logs of" msgstr "Log di" -#: static/admin/translations-fakejs.js:451 +#: static/admin/translations-fakejs.js:455 msgid "Cache" msgstr "Cache" -#: static/admin/translations-fakejs.js:454 +#: static/admin/translations-fakejs.js:458 msgid "Publications" msgstr "Pubblicazioni" -#: static/admin/translations-fakejs.js:455 +#: static/admin/translations-fakejs.js:459 msgid "Scheduled actions" msgstr "Azioni programmate" -#: static/admin/translations-fakejs.js:457 +#: static/admin/translations-fakejs.js:461 msgid "Charts" msgstr "Grafici" -#: static/admin/translations-fakejs.js:460 +#: static/admin/translations-fakejs.js:464 msgid "Services pools" msgstr "Pool di servizi" -#: static/admin/translations-fakejs.js:465 +#: static/admin/translations-fakejs.js:469 msgid "Usage" msgstr "Uso" -#: static/admin/translations-fakejs.js:467 +#: static/admin/translations-fakejs.js:471 #: static/modern/translations-fakejs.js:46 msgid "Dashboard" msgstr "Cruscotto" -#: static/admin/translations-fakejs.js:468 +#: static/admin/translations-fakejs.js:472 msgid "View authenticators" msgstr "Visualizza autenticatori" -#: static/admin/translations-fakejs.js:469 -#: static/admin/translations-fakejs.js:470 -#: static/admin/translations-fakejs.js:471 +#: static/admin/translations-fakejs.js:473 +#: static/admin/translations-fakejs.js:474 +#: static/admin/translations-fakejs.js:475 msgid "View service pools" msgstr "Visualizza pool di servizi" -#: static/admin/translations-fakejs.js:472 +#: static/admin/translations-fakejs.js:476 msgid "Assigned services chart" msgstr "Tabella servizi assegnati" -#: static/admin/translations-fakejs.js:473 +#: static/admin/translations-fakejs.js:477 msgid "In use services chart" msgstr "Tabella servizi in uso" -#: static/admin/translations-fakejs.js:474 +#: static/admin/translations-fakejs.js:478 msgid "UDS Administration" msgstr "Amministrazione UDS" -#: static/admin/translations-fakejs.js:475 +#: static/admin/translations-fakejs.js:479 msgid "You are accessing UDS Administration as staff member." msgstr "Stai accedendo all'amministrazione di UDS come membro dello staff." -#: static/admin/translations-fakejs.js:476 +#: static/admin/translations-fakejs.js:480 msgid "This means that you have restricted access to elements." msgstr "Ciò significa che hai accesso limitato agli elementi." -#: static/admin/translations-fakejs.js:477 +#: static/admin/translations-fakejs.js:481 msgid "" "In order to increase your access privileges, please contact your local UDS " "administrator." @@ -1570,35 +1587,35 @@ msgstr "" "Per aumentare i tuoi privilegi di accesso, contatta l'amministratore UDS " "locale." -#: static/admin/translations-fakejs.js:478 +#: static/admin/translations-fakejs.js:482 msgid "Thank you." msgstr "Grazie." -#: static/admin/translations-fakejs.js:479 +#: static/admin/translations-fakejs.js:483 msgid "UDS Configuration" msgstr "Configurazione UDS" -#: static/admin/translations-fakejs.js:481 +#: static/admin/translations-fakejs.js:485 msgid "New image for" msgstr "Nuova immagine per" -#: static/admin/translations-fakejs.js:482 +#: static/admin/translations-fakejs.js:486 msgid "Edit for" msgstr "Modifica per" -#: static/admin/translations-fakejs.js:483 +#: static/admin/translations-fakejs.js:487 msgid "Image name" msgstr "Nome dell'immagine" -#: static/admin/translations-fakejs.js:484 +#: static/admin/translations-fakejs.js:488 msgid "Image (click to change)" msgstr "Immagine (clicca per cambiare)" -#: static/admin/translations-fakejs.js:485 +#: static/admin/translations-fakejs.js:489 msgid "For optimal results, use " msgstr "Per risultati ottimali, usa" -#: static/admin/translations-fakejs.js:486 +#: static/admin/translations-fakejs.js:490 msgid "The image will be resized on upload to" msgstr "L'immagine verrà ridimensionata in caricamento su" diff --git a/server/src/uds/locale/pt/LC_MESSAGES/django.po b/server/src/uds/locale/pt/LC_MESSAGES/django.po index 1cf98b4c3..436ff165c 100644 --- a/server/src/uds/locale/pt/LC_MESSAGES/django.po +++ b/server/src/uds/locale/pt/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: OpenUDS\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-08 14:18+0200\n" +"POT-Creation-Date: 2021-07-29 13:12+0200\n" "PO-Revision-Date: 2021-07-08 10:59+0000\n" "Last-Translator: Adolfo Gómez \n" "Language-Team: Portuguese (http://www.transifex.com/openuds/openuds/language/" @@ -29,7 +29,7 @@ msgstr "Contas" #: REST/methods/osmanagers.py:55 REST/methods/providers.py:71 #: REST/methods/proxies.py:59 REST/methods/reports.py:57 #: REST/methods/services_pool_groups.py:63 REST/methods/services_pools.py:133 -#: REST/methods/transports.py:58 REST/methods/user_services.py:321 +#: REST/methods/transports.py:66 REST/methods/user_services.py:321 #: REST/methods/user_services.py:396 REST/methods/users_groups.py:122 #: REST/model.py:149 msgid "Name" @@ -40,7 +40,7 @@ msgstr "Nome" #: REST/methods/meta_pools.py:71 REST/methods/osmanagers.py:57 #: REST/methods/providers.py:73 REST/methods/proxies.py:62 #: REST/methods/services.py:241 REST/methods/services_pool_groups.py:64 -#: REST/methods/transports.py:60 REST/methods/user_services.py:398 +#: REST/methods/transports.py:68 REST/methods/user_services.py:398 #: REST/methods/users_groups.py:123 REST/methods/users_groups.py:291 #: REST/model.py:173 msgid "Comments" @@ -55,7 +55,7 @@ msgstr "Marca de tempo" #: REST/methods/networks.py:63 REST/methods/osmanagers.py:59 #: REST/methods/providers.py:79 REST/methods/proxies.py:63 #: REST/methods/services.py:250 REST/methods/services_pools.py:142 -#: REST/methods/transports.py:63 +#: REST/methods/transports.py:77 msgid "tags" msgstr "Tag" @@ -67,7 +67,7 @@ msgstr "Nome do pool" msgid "User name" msgstr "Nome de usuário" -#: REST/methods/accountsusage.py:94 core/util/state.py:78 +#: REST/methods/accountsusage.py:94 core/util/state.py:79 #: core/util/states/common.py:71 msgid "Running" msgstr "Corrida" @@ -114,11 +114,11 @@ msgstr "Host não gerenciado" msgid "User service not found" msgstr "Serviço do usuário não encontrado" -#: REST/methods/actor_token.py:51 REST/methods/tunnel_token.py:51 +#: REST/methods/actor_token.py:51 msgid "Actor tokens" msgstr "Tokens de ator" -#: REST/methods/actor_token.py:54 REST/methods/tunnel_token.py:54 +#: REST/methods/actor_token.py:54 REST/methods/tunnel_token.py:51 #: reports/auto/fields.py:56 reports/stats/pools_performance.py:217 #: reports/stats/pools_performance.py:236 reports/stats/pools_usage_day.py:64 #: reports/stats/usage_by_pool.py:169 reports/stats/user_access.py:190 @@ -126,11 +126,11 @@ msgstr "Tokens de ator" msgid "Date" msgstr "Encontro" -#: REST/methods/actor_token.py:55 REST/methods/tunnel_token.py:55 +#: REST/methods/actor_token.py:55 REST/methods/tunnel_token.py:52 msgid "Issued by" msgstr "Publicado por" -#: REST/methods/actor_token.py:56 REST/methods/tunnel_token.py:56 +#: REST/methods/actor_token.py:56 REST/methods/tunnel_token.py:53 #: reports/stats/usage_by_pool.py:173 #: templates/uds/reports/stats/usage-by-pool.html:18 msgid "Origin" @@ -156,7 +156,7 @@ msgstr "Executar Uma Vez" msgid "Log level" msgstr "Nível de log" -#: REST/methods/actor_token.py:67 REST/methods/tunnel_token.py:63 +#: REST/methods/actor_token.py:67 REST/methods/tunnel_token.py:60 msgid "Token isued by {} from {}" msgstr "O token é usado por {} de {}" @@ -170,13 +170,13 @@ msgstr "Identidade" #: REST/methods/authenticators.py:67 REST/methods/osmanagers.py:56 #: REST/methods/providers.py:72 REST/methods/services.py:242 -#: REST/methods/transports.py:59 REST/methods/user_services.py:397 +#: REST/methods/transports.py:67 REST/methods/user_services.py:397 msgid "Type" msgstr "Tipo" #: REST/methods/authenticators.py:69 REST/methods/meta_service_pools.py:88 #: REST/methods/op_calendars.py:80 REST/methods/services_pool_groups.py:61 -#: REST/methods/transports.py:57 REST/methods/user_services.py:395 +#: REST/methods/transports.py:65 REST/methods/user_services.py:395 #: REST/model.py:185 models/meta_pool.py:73 msgid "Priority" msgstr "Prioridade" @@ -188,7 +188,7 @@ msgid "Visible" msgstr "Visível" #: REST/methods/authenticators.py:71 REST/methods/meta_pools.py:77 -#: REST/methods/transports.py:115 REST/model.py:201 +#: REST/methods/transports.py:164 REST/model.py:201 msgid "Label" msgstr "Rótulo" @@ -386,7 +386,7 @@ msgid "Pool" msgstr "Piscina" #: REST/methods/meta_service_pools.py:197 REST/methods/services_usage.py:122 -#: REST/methods/tunnel_token.py:57 REST/methods/user_services.py:139 +#: REST/methods/tunnel_token.py:54 REST/methods/user_services.py:139 #: REST/methods/user_services.py:270 auths/IP/authenticator.py:68 msgid "IP" msgstr "IP" @@ -434,7 +434,7 @@ msgstr "Item já sendo removido" msgid "Item is not removable" msgstr "Item não é removível" -#: REST/methods/networks.py:58 REST/methods/transports.py:88 +#: REST/methods/networks.py:58 REST/methods/transports.py:114 msgid "Networks" msgstr "Redes" @@ -561,7 +561,7 @@ msgstr "Verificar certificado" #: services/OpenGnsys/provider.py:97 services/OpenNebula/provider.py:77 #: services/OpenStack/provider_legacy.py:106 services/Proxmox/provider.py:66 #: services/VCloud_enterprise/provider.py:32 -#: services/Vmware_enterprise/provider.py:41 services/Xen/provider.py:100 +#: services/Vmware_enterprise/provider.py:45 services/Xen/provider.py:100 msgid "Host" msgstr "Hospedeiro" @@ -580,7 +580,7 @@ msgstr "Servidor (IP ou FQDN) que servirá como proxy." #: services/OpenStack/provider_legacy.py:110 services/Proxmox/provider.py:73 #: services/RDS_enterprise/provider.py:101 #: services/VCloud_enterprise/provider.py:33 -#: services/Vmware_enterprise/provider.py:42 +#: services/Vmware_enterprise/provider.py:52 msgid "Port" msgstr "Porta" @@ -701,8 +701,8 @@ msgstr "Está bem" msgid "Services Pool Groups" msgstr "Grupos de Piscina" -#: REST/methods/services_pools.py:131 REST/methods/transports.py:61 -#: REST/methods/transports.py:106 +#: REST/methods/services_pools.py:131 REST/methods/transports.py:71 +#: REST/methods/transports.py:152 msgid "Service Pools" msgstr "Piscinas de Serviço" @@ -850,19 +850,19 @@ msgstr "Uso de Serviços" msgid "Service" msgstr "Serviço" -#: REST/methods/transports.py:55 +#: REST/methods/transports.py:63 msgid "Transports" msgstr "Transportes" -#: REST/methods/transports.py:62 +#: REST/methods/transports.py:76 msgid "Devices" msgstr "Devices" -#: REST/methods/transports.py:79 +#: REST/methods/transports.py:97 msgid "Network access" msgstr "Acesso à rede" -#: REST/methods/transports.py:80 +#: REST/methods/transports.py:99 msgid "" "If checked, the transport will be enabled for the selected networks. If " "unchecked, transport will be disabled for selected networks" @@ -870,7 +870,7 @@ msgstr "" "Se marcado, o transporte será habilitado para as redes selecionadas. Se " "desmarcado, o transporte será desativado para redes selecionadas" -#: REST/methods/transports.py:89 +#: REST/methods/transports.py:116 msgid "" "Networks associated with this transport. If No network selected, will mean " "\"all networks\"" @@ -878,11 +878,11 @@ msgstr "" "Redes associadas a este transporte. Se Nenhuma rede for selecionada, " "significará \"todas as redes\"" -#: REST/methods/transports.py:97 +#: REST/methods/transports.py:134 msgid "Allowed Devices" msgstr "Dispositivos Permitidos" -#: REST/methods/transports.py:98 +#: REST/methods/transports.py:136 msgid "" "If empty, any kind of device compatible with this transport will be allowed. " "Else, only devices compatible with selected values will be allowed" @@ -891,17 +891,22 @@ msgstr "" "permitido. Além disso, somente dispositivos compatíveis com valores " "selecionados serão permitidos" -#: REST/methods/transports.py:107 +#: REST/methods/transports.py:153 msgid "Currently assigned services pools" msgstr "Conjuntos de serviços atualmente atribuídos" -#: REST/methods/transports.py:116 +#: REST/methods/transports.py:166 msgid "Metapool transport label (only used on metapool transports grouping)" msgstr "" "Etiqueta de transporte Metapool (usado apenas no agrupamento de transportes " "metapool)" -#: REST/methods/tunnel_token.py:53 +#: REST/methods/tunnel_token.py:48 +#| msgid "Tunneled" +msgid "Tunnel tokens" +msgstr "Tokens de túnel" + +#: REST/methods/tunnel_token.py:50 msgid "Token" msgstr "Símbolo" @@ -1000,7 +1005,7 @@ msgstr "Usuários atuais" #: services/OpenStack/provider.py:127 services/OpenStack/provider_legacy.py:144 #: services/Proxmox/provider.py:82 services/RDS_enterprise/provider.py:118 #: services/VCloud_enterprise/provider.py:35 -#: services/Vmware_enterprise/provider.py:43 services/Xen/provider.py:107 +#: services/Vmware_enterprise/provider.py:60 services/Xen/provider.py:107 #: transports/HTML5RDP/html5rdp.py:103 transports/HTML5VNC/html5vnc.py:75 #: transports/NoMachine_enterprise/nomachine_base.py:63 #: transports/PCoIP_enterprise/pcoip.py:59 transports/RDP/rdp_base.py:75 @@ -1148,7 +1153,7 @@ msgstr "" #: services/OpenStack/provider.py:135 services/OpenStack/provider_legacy.py:152 #: services/Proxmox/provider.py:92 services/RDS_enterprise/provider.py:126 #: services/Sample/service.py:140 services/VCloud_enterprise/provider.py:36 -#: services/Vmware_enterprise/provider.py:44 services/Xen/provider.py:115 +#: services/Vmware_enterprise/provider.py:67 services/Xen/provider.py:115 #: transports/HTML5RDP/html5rdp.py:109 transports/HTML5VNC/html5vnc.py:76 #: transports/NoMachine_enterprise/nomachine_base.py:69 #: transports/PCoIP_enterprise/pcoip.py:60 transports/RDP/rdp_base.py:81 @@ -1173,7 +1178,7 @@ msgstr "Senha do usuário ldap" #: services/OpenGnsys/provider.py:164 services/OpenNebula/provider.py:86 #: services/OpenStack/provider.py:166 services/OpenStack/provider_legacy.py:183 #: services/Proxmox/provider.py:123 services/VCloud_enterprise/provider.py:63 -#: services/Vmware_enterprise/provider.py:50 +#: services/Vmware_enterprise/provider.py:99 msgid "Timeout" msgstr "Tempo esgotado" @@ -1647,11 +1652,11 @@ msgstr "Autenticador SAML" msgid "SAML (v2.0) Authenticator" msgstr "Autenticador SAML (v2.0)" -#: auths/SAML_enterprise/saml.py:127 +#: auths/SAML_enterprise/saml.py:129 msgid "Private key" msgstr "Chave privada" -#: auths/SAML_enterprise/saml.py:128 +#: auths/SAML_enterprise/saml.py:132 msgid "" "Private key used for sign and encription, as generated in base 64 from " "openssl" @@ -1659,15 +1664,15 @@ msgstr "" "Chave privada usada para sinal e inscrição, conforme gerado na base 64 do " "openssl" -#: auths/SAML_enterprise/saml.py:129 auths/SAML_enterprise/saml.py:134 +#: auths/SAML_enterprise/saml.py:135 auths/SAML_enterprise/saml.py:146 msgid "Certificates" msgstr "Certificados" -#: auths/SAML_enterprise/saml.py:132 transports/SPICE/spice_base.py:82 +#: auths/SAML_enterprise/saml.py:140 transports/SPICE/spice_base.py:82 msgid "Certificate" msgstr "Certificado" -#: auths/SAML_enterprise/saml.py:133 +#: auths/SAML_enterprise/saml.py:143 msgid "" "Public key used for sign and encription (public part of previous private " "key), as generated in base 64 from openssl" @@ -1675,65 +1680,65 @@ msgstr "" "Chave pública usada para sinal e inscrição (parte pública da chave privada " "anterior), conforme gerado na base 64 de openssl" -#: auths/SAML_enterprise/saml.py:137 +#: auths/SAML_enterprise/saml.py:151 msgid "IDP Metadata" msgstr "Metadados IDP" -#: auths/SAML_enterprise/saml.py:138 +#: auths/SAML_enterprise/saml.py:154 msgid "" "You can enter here the URL or the IDP metadata or the metadata itself (xml)" msgstr "" "Você pode inserir aqui o URL ou os metadados do IDP ou os próprios metadados " "(xml)" -#: auths/SAML_enterprise/saml.py:139 auths/SAML_enterprise/saml.py:143 +#: auths/SAML_enterprise/saml.py:157 auths/SAML_enterprise/saml.py:166 msgid "Metadata" msgstr "Metadados" -#: auths/SAML_enterprise/saml.py:142 +#: auths/SAML_enterprise/saml.py:161 msgid "Entity ID" msgstr "ID da entidade" -#: auths/SAML_enterprise/saml.py:143 +#: auths/SAML_enterprise/saml.py:164 msgid "ID of the SP. If left blank, this will be autogenerated from server URL" msgstr "" "ID do SP. Se deixado em branco, isso será gerado automaticamente a partir do " "URL do servidor" -#: auths/SAML_enterprise/saml.py:147 +#: auths/SAML_enterprise/saml.py:172 msgid "User name attrs" msgstr "Nome de usuário attrs" -#: auths/SAML_enterprise/saml.py:148 +#: auths/SAML_enterprise/saml.py:174 msgid "Fields from where to extract user name" msgstr "Campos de onde extrair o nome do usuário" -#: auths/SAML_enterprise/saml.py:148 auths/SAML_enterprise/saml.py:153 -#: auths/SAML_enterprise/saml.py:158 +#: auths/SAML_enterprise/saml.py:176 auths/SAML_enterprise/saml.py:186 +#: auths/SAML_enterprise/saml.py:196 msgid "Attributes" msgstr "Atributos" -#: auths/SAML_enterprise/saml.py:152 +#: auths/SAML_enterprise/saml.py:182 msgid "Group name attrs" msgstr "Nome do grupo attrs" -#: auths/SAML_enterprise/saml.py:153 +#: auths/SAML_enterprise/saml.py:184 msgid "Fields from where to extract the groups" msgstr "Campos de onde extrair os grupos" -#: auths/SAML_enterprise/saml.py:157 +#: auths/SAML_enterprise/saml.py:192 msgid "Real name attrs" msgstr "Nome real attrs" -#: auths/SAML_enterprise/saml.py:158 +#: auths/SAML_enterprise/saml.py:194 msgid "Fields from where to extract the real name" msgstr "Campos de onde extrair o nome real" -#: auths/SAML_enterprise/saml.py:176 +#: auths/SAML_enterprise/saml.py:216 msgid "SAML Authenticator does not support white spaces on field NAME" msgstr "O autenticador SAML não suporta espaços em branco no campo NAME" -#: auths/SAML_enterprise/saml.py:183 +#: auths/SAML_enterprise/saml.py:230 msgid "" "Server certificate should be a valid PEM (PEM certificates starts with -----" "BEGIN CERTIFICATE-----)" @@ -1741,11 +1746,11 @@ msgstr "" "O certificado do servidor deve ser um PEM válido (os certificados PEM " "começam com ----- BEGIN CERTIFICATE -----)" -#: auths/SAML_enterprise/saml.py:188 +#: auths/SAML_enterprise/saml.py:238 msgid "Invalid server certificate. " msgstr "Certificado de servidor inválido." -#: auths/SAML_enterprise/saml.py:192 +#: auths/SAML_enterprise/saml.py:249 msgid "" "Private key should be a valid PEM (PEM private keys starts with -----BEGIN " "RSA PRIVATE KEY-----" @@ -1753,48 +1758,48 @@ msgstr "" "A chave privada deve ser um PEM válido (as chaves privadas do PEM começam " "com ----- BEGIN RSA PRIVATE KEY -----" -#: auths/SAML_enterprise/saml.py:197 +#: auths/SAML_enterprise/saml.py:257 msgid "Invalid private key. " msgstr "Chave privada inválida." -#: auths/SAML_enterprise/saml.py:214 +#: auths/SAML_enterprise/saml.py:276 #, python-brace-format msgid "Can't fetch url {0}: {1}" msgstr "Não é possível buscar o URL {0}: {1}" -#: auths/SAML_enterprise/saml.py:222 +#: auths/SAML_enterprise/saml.py:287 msgid " (obtained from URL)" msgstr "(obtido da URL)" -#: auths/SAML_enterprise/saml.py:223 +#: auths/SAML_enterprise/saml.py:289 msgid "XML does not seem valid for IDP Metadata " msgstr "XML não parece válido para metadados IDP" -#: auths/SAML_enterprise/saml.py:239 +#: auths/SAML_enterprise/saml.py:311 msgid "Can't access idp metadata" msgstr "Não é possível acessar os metadados do idp" -#: auths/Sample/SampleAuth.py:76 +#: auths/Sample/SampleAuth.py:79 msgid "Sample Authenticator" msgstr "Autenticador de amostra" -#: auths/Sample/SampleAuth.py:88 +#: auths/Sample/SampleAuth.py:91 msgid "Sample dummy authenticator" msgstr "Autenticador simulado de amostra" -#: auths/Sample/SampleAuth.py:106 +#: auths/Sample/SampleAuth.py:109 msgid "Fake User" msgstr "Usuário Falsificado" -#: auths/Sample/SampleAuth.py:109 +#: auths/Sample/SampleAuth.py:112 msgid "Fake Group" msgstr "Grupo Falso" -#: auths/Sample/SampleAuth.py:115 +#: auths/Sample/SampleAuth.py:118 msgid "Groups" msgstr "Grupos" -#: auths/Sample/SampleAuth.py:128 +#: auths/Sample/SampleAuth.py:132 msgid "We need more than two groups!" msgstr "Precisamos de mais de dois grupos!" @@ -1986,7 +1991,7 @@ msgstr "Serviço Base" #: core/services/service.py:141 core/services/service.py:150 #: models/permissions.py:92 models/permissions.py:96 -#: services/Azure_enterprise/helpers.py:97 services/OpenStack/helpers.py:74 +#: services/Azure_enterprise/helpers.py:100 services/OpenStack/helpers.py:74 #: services/Proxmox/service.py:194 services/Sample/service.py:98 #: services/Sample/service.py:104 services/TestService_enterprise/service.py:28 msgid "None" @@ -2012,79 +2017,79 @@ msgstr "Túnel" msgid "Can't contact LDAP server" msgstr "Não é possível entrar em contato com o servidor LDAP" -#: core/util/state.py:65 core/util/states/common.py:59 +#: core/util/state.py:66 core/util/states/common.py:59 msgid "Active" msgstr "Ativo" -#: core/util/state.py:66 core/util/states/common.py:60 +#: core/util/state.py:67 core/util/states/common.py:60 msgid "Inactive" msgstr "Inativo" -#: core/util/state.py:67 core/util/states/common.py:61 +#: core/util/state.py:68 core/util/states/common.py:61 msgid "Blocked" msgstr "Bloqueado" -#: core/util/state.py:68 core/util/states/common.py:62 +#: core/util/state.py:69 core/util/states/common.py:62 msgid "Waiting publication" msgstr "Espera publicação" -#: core/util/state.py:69 core/util/states/common.py:63 +#: core/util/state.py:70 core/util/states/common.py:63 msgid "In preparation" msgstr "Em preparação" -#: core/util/state.py:70 core/util/states/common.py:64 +#: core/util/state.py:71 core/util/states/common.py:64 msgid "Valid" msgstr "Válido" -#: core/util/state.py:71 core/util/state.py:73 core/util/states/common.py:66 +#: core/util/state.py:72 core/util/state.py:74 core/util/states/common.py:66 msgid "Removing" msgstr "Removendo" -#: core/util/state.py:72 +#: core/util/state.py:73 msgid "Restrained" msgstr "Contido" -#: core/util/state.py:74 core/util/states/common.py:67 +#: core/util/state.py:75 core/util/states/common.py:67 msgid "Removed" msgstr "Removido" -#: core/util/state.py:75 core/util/states/common.py:68 +#: core/util/state.py:76 core/util/states/common.py:68 msgid "Canceled" msgstr "Cancelado" -#: core/util/state.py:76 core/util/states/common.py:69 +#: core/util/state.py:77 core/util/states/common.py:69 msgid "Canceling" msgstr "Cancelando" -#: core/util/state.py:77 core/util/states/common.py:70 +#: core/util/state.py:78 core/util/states/common.py:70 msgid "Error" msgstr "Erro" -#: core/util/state.py:79 core/util/states/common.py:72 +#: core/util/state.py:80 core/util/states/common.py:72 msgid "Finished" msgstr "Acabado" -#: core/util/state.py:80 core/util/states/common.py:73 +#: core/util/state.py:81 core/util/states/common.py:73 msgid "Waiting execution" msgstr "Execução de espera" -#: core/util/state.py:81 core/util/states/common.py:74 +#: core/util/state.py:82 core/util/states/common.py:74 msgid "Balancing" msgstr "Balanceamento" -#: core/util/state.py:82 core/util/states/common.py:75 +#: core/util/state.py:83 core/util/states/common.py:75 msgid "In maintenance" msgstr "Em manutenção" -#: core/util/state.py:83 core/util/states/common.py:76 +#: core/util/state.py:84 core/util/states/common.py:76 msgid "Waiting OS" msgstr "Esperando OS" -#: core/util/state.py:84 +#: core/util/state.py:85 msgid "Too many preparing services" msgstr "Muitos serviços de preparação" -#: core/util/state.py:85 +#: core/util/state.py:86 msgid "Meta member" msgstr "Meta membro" @@ -2116,24 +2121,24 @@ msgstr "Usuários com serviços" msgid "Cached" msgstr "Em cache" -#: core/util/tools.py:144 +#: core/util/tools.py:152 msgid "{} days {:d}:{:02d}:{:02d}" msgstr "{} dias {: d}: {: 02d}: {: 02d}" -#: core/util/tools.py:161 +#: core/util/tools.py:171 msgid "The basename is not a valid for a hostname" msgstr "O nome da base não é válido para um nome de host" -#: core/util/tools.py:164 +#: core/util/tools.py:176 msgid "The length of basename plus length must be greater than 0" msgstr "O comprimento do nome da base e o comprimento devem ser maiores que 0" -#: core/util/tools.py:167 +#: core/util/tools.py:181 msgid "The length of basename plus length must not be greater than 15" msgstr "" "O comprimento do nome de base mais o comprimento não deve ser maior que 15" -#: core/util/tools.py:170 +#: core/util/tools.py:186 msgid "The machine name can't be only numbers" msgstr "O nome da máquina não pode ser apenas números" @@ -2141,30 +2146,30 @@ msgstr "O nome da máquina não pode ser apenas números" msgid "Numeric" msgstr "Numérico" -#: core/util/validators.py:64 +#: core/util/validators.py:66 #, python-brace-format msgid "{0} must be greater than or equal to {1}" msgstr "{0} deve ser maior ou igual a {1}" -#: core/util/validators.py:67 +#: core/util/validators.py:74 #, python-brace-format msgid "{0} must be lower than or equal to {1}" msgstr "{0} deve ser menor ou igual a {1}" -#: core/util/validators.py:72 +#: core/util/validators.py:81 #, python-brace-format msgid "{0} contains invalid characters" msgstr "{0} contém caracteres inválidos" -#: core/util/validators.py:81 +#: core/util/validators.py:90 msgid "{} exceeds maximum host name length." msgstr "{} excede o tamanho máximo do nome do host." -#: core/util/validators.py:92 +#: core/util/validators.py:103 msgid "{} is not a valid hostname" msgstr "{} não é um nome de host válido" -#: core/util/validators.py:136 +#: core/util/validators.py:152 msgid "" "Invalid mac range. Mac range must be in format XX:XX:XX:XX:XX:XX-XX:XX:XX:XX:" "XX:XX" @@ -3115,8 +3120,8 @@ msgstr "Obtido de assinaturas" #: services/OpenGnsys/provider.py:141 services/OpenNebula/provider.py:83 #: services/OpenStack/provider.py:143 services/OpenStack/provider_legacy.py:160 #: services/Proxmox/provider.py:100 services/VCloud_enterprise/provider.py:60 -#: services/Vmware_enterprise/provider.py:47 -#: services/Vmware_enterprise/provider.py:99 services/Xen/provider.py:123 +#: services/Vmware_enterprise/provider.py:76 +#: services/Vmware_enterprise/provider.py:182 services/Xen/provider.py:123 msgid "Creation concurrency" msgstr "Concorrência de criação" @@ -3128,7 +3133,7 @@ msgstr "Concorrência de criação" #: services/OpenGnsys/provider.py:146 services/OpenNebula/provider.py:83 #: services/OpenStack/provider.py:148 services/OpenStack/provider_legacy.py:165 #: services/Proxmox/provider.py:105 services/VCloud_enterprise/provider.py:60 -#: services/Vmware_enterprise/provider.py:47 services/Xen/provider.py:128 +#: services/Vmware_enterprise/provider.py:81 services/Xen/provider.py:128 msgid "Maximum number of concurrently creating VMs" msgstr "Número máximo de criações simultâneas de VMs" @@ -3140,8 +3145,8 @@ msgstr "Número máximo de criações simultâneas de VMs" #: services/OpenGnsys/provider.py:152 services/OpenNebula/provider.py:84 #: services/OpenStack/provider.py:154 services/OpenStack/provider_legacy.py:171 #: services/Proxmox/provider.py:111 services/VCloud_enterprise/provider.py:61 -#: services/Vmware_enterprise/provider.py:48 -#: services/Vmware_enterprise/provider.py:100 services/Xen/provider.py:134 +#: services/Vmware_enterprise/provider.py:87 +#: services/Vmware_enterprise/provider.py:188 services/Xen/provider.py:134 msgid "Removal concurrency" msgstr "Concorrência de remoção" @@ -3153,7 +3158,7 @@ msgstr "Concorrência de remoção" #: services/OpenGnsys/provider.py:157 services/OpenNebula/provider.py:84 #: services/OpenStack/provider.py:159 services/OpenStack/provider_legacy.py:176 #: services/Proxmox/provider.py:116 services/VCloud_enterprise/provider.py:61 -#: services/Vmware_enterprise/provider.py:48 services/Xen/provider.py:139 +#: services/Vmware_enterprise/provider.py:92 services/Xen/provider.py:139 msgid "Maximum number of concurrently removing VMs" msgstr "Número máximo de remoção simultânea de VMs" @@ -3364,7 +3369,7 @@ msgstr "Tempo limite em segundos de conexão ao HyperV" #: services/HyperV_enterprise/legacy/provider.py:95 #: services/HyperV_enterprise/provider.py:103 #: services/Nutanix_enterprise/provider.py:45 services/OVirt/provider.py:117 -#: services/Vmware_enterprise/provider.py:51 services/Xen/provider.py:146 +#: services/Vmware_enterprise/provider.py:109 services/Xen/provider.py:146 msgid "Macs range" msgstr "Macs range" @@ -3381,7 +3386,7 @@ msgstr "Teste de conexão bem sucedido" #: services/HyperV_enterprise/legacy/provider.py:268 #: services/NutanixPrism_enterprise/provider.py:262 #: services/Nutanix_enterprise/provider.py:228 services/OVirt/provider.py:457 -#: services/Proxmox/provider.py:312 services/Vmware_enterprise/provider.py:168 +#: services/Proxmox/provider.py:312 services/Vmware_enterprise/provider.py:291 msgid "Connection failed. Check connection params" msgstr "Conexão falhou. Verifique os parâmetros de conexão" @@ -4214,12 +4219,12 @@ msgstr "Fornecedor de máquinas IP estáticas" msgid "Provides connection to machines by IP" msgstr "Fornece conexão com máquinas por IP" -#: services/PhysicalMachines/service_multi.py:63 +#: services/PhysicalMachines/service_multi.py:64 #: services/Vmware_enterprise/service_fixed.py:55 msgid "Service Token" msgstr "Token de Serviço" -#: services/PhysicalMachines/service_multi.py:66 +#: services/PhysicalMachines/service_multi.py:67 #: services/Vmware_enterprise/service_fixed.py:57 msgid "" "Service token that will be used by actors to communicate with service. Leave " @@ -4228,43 +4233,56 @@ msgstr "" "Token de serviço que será usado pelos atores para se comunicar com o " "serviço. Deixe em branco para atribuição persistente." -#: services/PhysicalMachines/service_multi.py:74 +#: services/PhysicalMachines/service_multi.py:75 #: services/RDS_enterprise/provider.py:49 msgid "List of servers" msgstr "Lista de servidores" -#: services/PhysicalMachines/service_multi.py:75 +#: services/PhysicalMachines/service_multi.py:76 msgid "List of servers available for this service" msgstr "Lista de servidores disponíveis para este serviço" -#: services/PhysicalMachines/service_multi.py:80 +#: services/PhysicalMachines/service_multi.py:81 msgid "Check Port" msgstr "Verificar porta" -#: services/PhysicalMachines/service_multi.py:84 +#: services/PhysicalMachines/service_multi.py:85 msgid "" "If non zero, only hosts responding to connection on that port will be served." msgstr "" "Se diferente de zero, apenas os hosts que responderem à conexão nessa porta " "serão atendidos." -#: services/PhysicalMachines/service_multi.py:91 +#: services/PhysicalMachines/service_multi.py:92 msgid "Skip time" msgstr "Ignorar tempo" -#: services/PhysicalMachines/service_multi.py:94 +#: services/PhysicalMachines/service_multi.py:95 msgid "If a host fails to check, skip it for this time (in minutes)." msgstr "Se um host falhar na verificação, pule esse período (em minutos)." -#: services/PhysicalMachines/service_multi.py:101 +#: services/PhysicalMachines/service_multi.py:103 +#| msgid "Max. session time" +msgid "Max session per machine" +msgstr "Sessão máxima por máquina" + +#: services/PhysicalMachines/service_multi.py:107 +msgid "" +"Maximum session duration before UDS thinks this machine got locked and " +"releases it (hours). 0 means \"never\"." +msgstr "" +"Duração máxima da sessão antes que o UDS pense que esta máquina foi " +"bloqueada e a libere (horas). 0 significa \"nunca\"." + +#: services/PhysicalMachines/service_multi.py:115 msgid "Static Multiple IP" msgstr "IP múltiplo estático" -#: services/PhysicalMachines/service_multi.py:103 +#: services/PhysicalMachines/service_multi.py:117 msgid "This service provides access to POWERED-ON Machines by IP" msgstr "Este serviço fornece acesso a máquinas POWERED-ON por IP" -#: services/PhysicalMachines/service_multi.py:134 +#: services/PhysicalMachines/service_multi.py:150 msgid "Invalid value detected on servers list: \"{}\"" msgstr "Valor inválido detectado na lista de servidores: \"{}\"" @@ -4628,7 +4646,7 @@ msgstr "Número máximo de serviços permitidos (0 significa sem limite)" msgid "Wait spawned processes" msgstr "Espere processos gerados" -#: services/RDS_enterprise/service.py:99 +#: services/RDS_enterprise/service.py:100 msgid "" "If active, RDS Actor will wait until the application and all spawned " "processes finished before considering app logged out" @@ -4637,7 +4655,7 @@ msgstr "" "processos gerados sejam concluídos antes de considerar o aplicativo " "desconectado" -#: services/RDS_enterprise/service.py:109 +#: services/RDS_enterprise/service.py:112 msgid "A valid application path is required" msgstr "Um caminho de aplicativo válido é obrigatório" @@ -4885,27 +4903,27 @@ msgstr "Local" msgid "Remote" msgstr "Controlo remoto" -#: services/Vmware_enterprise/provider.py:41 +#: services/Vmware_enterprise/provider.py:47 msgid "VMWare VCenter Server IP or Hostname" msgstr "IP do servidor VMWare VCenter ou nome do host" -#: services/Vmware_enterprise/provider.py:42 +#: services/Vmware_enterprise/provider.py:55 msgid "VMWare VC Server Port (usually 443)" msgstr "Porta do servidor VMWare VC (geralmente 443)" -#: services/Vmware_enterprise/provider.py:43 +#: services/Vmware_enterprise/provider.py:62 msgid "User with valid privileges on VC" msgstr "Usuário com privilégios válidos no VC" -#: services/Vmware_enterprise/provider.py:44 +#: services/Vmware_enterprise/provider.py:69 msgid "Password of the user of the VC" msgstr "Senha do usuário do VC" -#: services/Vmware_enterprise/provider.py:50 +#: services/Vmware_enterprise/provider.py:102 msgid "Timeout in seconds of connection to VC" msgstr "Tempo limite em segundos de conexão ao VC" -#: services/Vmware_enterprise/provider.py:52 +#: services/Vmware_enterprise/provider.py:114 msgid "" "Range of valid macs for created machines. Must be inside " "00:50:56:00:00:00-00:50:56:3F:FF:FF" @@ -4913,15 +4931,15 @@ msgstr "" "Intervalo de macs válidos para máquinas criadas. Deve estar dentro das " "00:50:56:00:00:00-00:50:56:3F:FF:FF" -#: services/Vmware_enterprise/provider.py:56 +#: services/Vmware_enterprise/provider.py:126 msgid "VMWare VCenter Platform Provider" msgstr "Provedor de plataforma VMWare VCenter" -#: services/Vmware_enterprise/provider.py:58 +#: services/Vmware_enterprise/provider.py:128 msgid "Provides connection to Virtual Center Services" msgstr "Fornece conexão com os serviços do Virtual Center" -#: services/Vmware_enterprise/provider.py:166 +#: services/Vmware_enterprise/provider.py:287 msgid "Connection params ok" msgstr "Params de conexão ok" @@ -5401,7 +5419,7 @@ msgstr "Mostrar papel de parede" #: transports/HTML5RDP/html5rdp.py:134 #: transports/HTML5RDS_enterprise/html5rds.py:123 -#: transports/RDP/rdp_base.py:213 +#: transports/RDP/rdp_base.py:222 msgid "" "If checked, the wallpaper and themes will be shown on machine (better user " "experience, more bandwidth)" @@ -5411,25 +5429,25 @@ msgstr "" #: transports/HTML5RDP/html5rdp.py:139 #: transports/HTML5RDS_enterprise/html5rds.py:128 -#: transports/RDP/rdp_base.py:226 +#: transports/RDP/rdp_base.py:235 msgid "Allow Desk.Comp." msgstr "Permitir Desk.Comp." #: transports/HTML5RDP/html5rdp.py:141 #: transports/HTML5RDS_enterprise/html5rds.py:130 -#: transports/RDP/rdp_base.py:228 +#: transports/RDP/rdp_base.py:237 msgid "If checked, desktop composition will be allowed" msgstr "Se marcada, a composição da área de trabalho será permitida" #: transports/HTML5RDP/html5rdp.py:145 #: transports/HTML5RDS_enterprise/html5rds.py:134 -#: transports/RDP/rdp_base.py:232 transports/RDS_enterprise/rds_base.py:150 +#: transports/RDP/rdp_base.py:241 transports/RDS_enterprise/rds_base.py:150 msgid "Font Smoothing" msgstr "Suavização de fontes" #: transports/HTML5RDP/html5rdp.py:147 #: transports/HTML5RDS_enterprise/html5rds.py:136 -#: transports/RDS_enterprise/rds_base.py:152 +#: transports/RDS_enterprise/rds_base.py:153 msgid "If checked, fonts smoothing will be allowed (windows clients only)" msgstr "" "Se marcada, a suavização de fontes será permitida (somente para clientes do " @@ -5603,13 +5621,22 @@ msgstr "" msgid "TLS (Transport Security Layer encryption)" msgstr "TLS (criptografia de camada de segurança de transporte)" -#: transports/HTML5RDP/html5rdp.py:246 +#: transports/HTML5RDP/html5rdp.py:247 transports/RDP/rdp_base.py:172 +#| msgid "Port" +msgid "RDP Port" +msgstr "Porta RDP" + +#: transports/HTML5RDP/html5rdp.py:248 transports/RDP/rdp_base.py:173 +msgid "Use this port as RDP port. Defaults to 3389." +msgstr "Use esta porta como porta RDP. O padrão é 3389." + +#: transports/HTML5RDP/html5rdp.py:256 #: transports/HTML5RDS_enterprise/html5rds.py:223 #: transports/HTML5VNC/html5vnc.py:109 msgid "Ticket Validity" msgstr "Validade do Bilhete" -#: transports/HTML5RDP/html5rdp.py:250 +#: transports/HTML5RDP/html5rdp.py:260 #: transports/HTML5RDS_enterprise/html5rds.py:227 #: transports/HTML5VNC/html5vnc.py:112 msgid "" @@ -5619,42 +5646,42 @@ msgstr "" "Tempo permitido, em segundos, para o cliente HTML5 recarregar dados do UDS " "Broker. O valor padrão de 60 é recomendado." -#: transports/HTML5RDP/html5rdp.py:259 +#: transports/HTML5RDP/html5rdp.py:269 #: transports/HTML5RDS_enterprise/html5rds.py:236 #: transports/HTML5VNC/html5vnc.py:119 transports/URL/url_custom.py:82 msgid "Force new HTML Window" msgstr "Forçar nova janela HTML" -#: transports/HTML5RDP/html5rdp.py:260 +#: transports/HTML5RDP/html5rdp.py:270 #: transports/HTML5RDS_enterprise/html5rds.py:237 #: transports/HTML5VNC/html5vnc.py:120 msgid "Select windows behavior for new connections on HTML5" msgstr "Selecione o comportamento das janelas para novas conexões em HTML5" -#: transports/HTML5RDP/html5rdp.py:265 +#: transports/HTML5RDP/html5rdp.py:275 #: transports/HTML5RDS_enterprise/html5rds.py:242 #: transports/HTML5VNC/html5vnc.py:123 msgid "Open every connection on the same window, but keeps UDS window." msgstr "Abra todas as conexões na mesma janela, mas mantém a janela UDS." -#: transports/HTML5RDP/html5rdp.py:268 +#: transports/HTML5RDP/html5rdp.py:278 #: transports/HTML5RDS_enterprise/html5rds.py:245 #: transports/HTML5VNC/html5vnc.py:124 msgid "Force every connection to be opened on a new window." msgstr "Força cada conexão a ser aberta em uma nova janela." -#: transports/HTML5RDP/html5rdp.py:272 +#: transports/HTML5RDP/html5rdp.py:282 #: transports/HTML5RDS_enterprise/html5rds.py:249 #: transports/HTML5VNC/html5vnc.py:125 msgid "Override UDS window and replace it with the connection." msgstr "Substitua a janela UDS e substitua-a pela conexão." -#: transports/HTML5RDP/html5rdp.py:280 +#: transports/HTML5RDP/html5rdp.py:290 #: transports/HTML5RDS_enterprise/html5rds.py:256 msgid "Glyptodon Enterprise context path" msgstr "Caminho de contexto Glyptodon Enterprise" -#: transports/HTML5RDP/html5rdp.py:283 +#: transports/HTML5RDP/html5rdp.py:293 #: transports/HTML5RDS_enterprise/html5rds.py:259 msgid "" "Customized path for Glyptodon Enterprise tunnel. (Only valid for Glyptodon " @@ -5663,13 +5690,13 @@ msgstr "" "Caminho personalizado para o túnel Glyptodon Enterprise. (Válido apenas para " "Glyptodon Enterprise Tunnel)" -#: transports/HTML5RDP/html5rdp.py:298 +#: transports/HTML5RDP/html5rdp.py:308 #: transports/HTML5RDS_enterprise/html5rds.py:273 #: transports/HTML5VNC/html5vnc.py:137 msgid "The server must be http or https" msgstr "O servidor deve ser http ou https" -#: transports/HTML5RDP/html5rdp.py:303 +#: transports/HTML5RDP/html5rdp.py:313 #: transports/HTML5RDS_enterprise/html5rds.py:278 msgid "" "Empty credentials (on Credentials tab) is only allowed with Security level " @@ -5722,7 +5749,7 @@ msgstr "Porta do servidor VNC" msgid "Port of the VNC server." msgstr "Porta do servidor VNC." -#: transports/HTML5VNC/html5vnc.py:90 transports/RDP/rdp_base.py:196 +#: transports/HTML5VNC/html5vnc.py:90 transports/RDP/rdp_base.py:205 #: transports/RDS_enterprise/rds_base.py:136 msgid "Color depth" msgstr "Profundidade de cor" @@ -5835,7 +5862,7 @@ msgstr "" "(recomendado)." #: transports/NoMachine_enterprise/nomachine_tunneltransport.py:114 -#: transports/RDP/rdptunnel.py:134 transports/RDS_enterprise/rdstunnel.py:126 +#: transports/RDP/rdptunnel.py:135 transports/RDS_enterprise/rdstunnel.py:126 #: transports/SPICE/spice_tunnel.py:106 transports/X2GO/x2go_tunnel.py:117 msgid "Must use HOST:PORT in Tunnel Server Field" msgstr "Deve usar HOST: PORT no campo do servidor de encapsulamento" @@ -5948,27 +5975,27 @@ msgstr "Suporte de Credssp" msgid "If checked, will enable Credentials Provider Support)" msgstr "Se marcada, ativará o Suporte ao Provedor de Credenciais)" -#: transports/RDP/rdp_base.py:172 +#: transports/RDP/rdp_base.py:181 msgid "Screen Size" msgstr "Tamanho da tela" -#: transports/RDP/rdp_base.py:174 +#: transports/RDP/rdp_base.py:183 msgid "Screen size for this transport" msgstr "Tamanho da tela para este transporte" -#: transports/RDP/rdp_base.py:198 transports/RDS_enterprise/rds_base.py:138 +#: transports/RDP/rdp_base.py:207 transports/RDS_enterprise/rds_base.py:138 msgid "Color depth for this connection" msgstr "Profundidade de cor para esta conexão" -#: transports/RDP/rdp_base.py:210 +#: transports/RDP/rdp_base.py:219 msgid "Wallpaper/theme" msgstr "Papel de parede / tema" -#: transports/RDP/rdp_base.py:218 +#: transports/RDP/rdp_base.py:227 msgid "Multiple monitors" msgstr "Monitores múltiplos" -#: transports/RDP/rdp_base.py:221 +#: transports/RDP/rdp_base.py:230 msgid "" "If checked, all client monitors will be used for displaying (only works on " "windows clients)" @@ -5976,64 +6003,64 @@ msgstr "" "Se marcado, todos os monitores de clientes serão usados para exibição " "(funciona apenas em clientes Windows)" -#: transports/RDP/rdp_base.py:234 +#: transports/RDP/rdp_base.py:244 msgid "If checked, fonts smoothing will be allowed" msgstr "Se marcada, a suavização de fontes será permitida" -#: transports/RDP/rdp_base.py:238 +#: transports/RDP/rdp_base.py:248 msgid "Connection Bar" msgstr "Barra de conexão" -#: transports/RDP/rdp_base.py:240 +#: transports/RDP/rdp_base.py:250 msgid "If checked, connection bar will be shown (only on Windows clients)" msgstr "" "Se marcado, a barra de conexão será mostrada (somente em clientes Windows)" -#: transports/RDP/rdp_base.py:246 transports/RDS_enterprise/rds_base.py:174 +#: transports/RDP/rdp_base.py:256 transports/RDS_enterprise/rds_base.py:179 msgid "Multimedia sync" msgstr "Sincronização multimídia" -#: transports/RDP/rdp_base.py:249 transports/RDS_enterprise/rds_base.py:177 +#: transports/RDP/rdp_base.py:259 transports/RDS_enterprise/rds_base.py:182 msgid "If checked. Linux client will use multimedia parameter for xfreerdp" msgstr "Se marcado. Cliente Linux usará parâmetro multimídia para o xfreerdp" -#: transports/RDP/rdp_base.py:254 transports/RDS_enterprise/rds_base.py:182 +#: transports/RDP/rdp_base.py:264 transports/RDS_enterprise/rds_base.py:187 msgid "Use Alsa" msgstr "Use Alsa" -#: transports/RDP/rdp_base.py:257 transports/RDS_enterprise/rds_base.py:185 +#: transports/RDP/rdp_base.py:267 transports/RDS_enterprise/rds_base.py:190 msgid "" "If checked, Linux client will try to use ALSA, otherwise Pulse will be used" msgstr "" "Se marcado, o cliente Linux tentará usar o ALSA, caso contrário o Pulse será " "usado" -#: transports/RDP/rdp_base.py:262 transports/RDS_enterprise/rds_base.py:190 +#: transports/RDP/rdp_base.py:272 transports/RDS_enterprise/rds_base.py:195 msgid "Printer string" msgstr "Cadeia de impressão" -#: transports/RDP/rdp_base.py:265 transports/RDS_enterprise/rds_base.py:193 +#: transports/RDP/rdp_base.py:275 transports/RDS_enterprise/rds_base.py:198 msgid "If printer is checked, the printer string used with xfreerdp client" msgstr "" "Se a impressora estiver marcada, a string de impressora usada com o cliente " "xfreerdp" -#: transports/RDP/rdp_base.py:271 transports/RDS_enterprise/rds_base.py:199 +#: transports/RDP/rdp_base.py:281 transports/RDS_enterprise/rds_base.py:204 msgid "Smartcard string" msgstr "Seqüência de cartão inteligente" -#: transports/RDP/rdp_base.py:274 transports/RDS_enterprise/rds_base.py:202 +#: transports/RDP/rdp_base.py:284 transports/RDS_enterprise/rds_base.py:207 msgid "If smartcard is checked, the smartcard string used with xfreerdp client" msgstr "" "Se o smartcard estiver marcado, a cadeia de smartcard usada com o cliente " "xfreerdp" -#: transports/RDP/rdp_base.py:280 transports/RDP/rdp_base.py:300 -#: transports/RDS_enterprise/rds_base.py:208 +#: transports/RDP/rdp_base.py:290 transports/RDP/rdp_base.py:310 +#: transports/RDS_enterprise/rds_base.py:213 msgid "Custom parameters" msgstr "Parâmetros personalizados" -#: transports/RDP/rdp_base.py:283 transports/RDS_enterprise/rds_base.py:211 +#: transports/RDP/rdp_base.py:293 transports/RDS_enterprise/rds_base.py:216 msgid "" "If not empty, extra parameter to include for Linux Client (for example /usb:" "id,dev:054c:0268, or aything compatible with your xfreerdp client)" @@ -6042,11 +6069,11 @@ msgstr "" "(por exemplo, / usb: id, dev: 054c: 0268, ou qualquer coisa compatível com " "seu cliente xfreerdp)" -#: transports/RDP/rdp_base.py:290 +#: transports/RDP/rdp_base.py:300 msgid "Allow Microsoft Rdp Client" msgstr "Permitir cliente Microsoft Rdp" -#: transports/RDP/rdp_base.py:293 +#: transports/RDP/rdp_base.py:303 msgid "" "If checked, allows use of Microsoft Remote Desktop Client. PASSWORD WILL BE " "PROMPTED!" @@ -6054,7 +6081,7 @@ msgstr "" "Se marcado, permite o uso do Microsoft Remote Desktop Client. A SENHA SERÁ " "AVANÇADA!" -#: transports/RDP/rdp_base.py:303 +#: transports/RDP/rdp_base.py:313 msgid "" "If not empty, extra parameter to include for Mac OS X Freerdp Client (for " "example /usb:id,dev:054c:0268, or aything compatible with your xfreerdp " @@ -6078,18 +6105,32 @@ msgid "RDS access using RDP for vApps. Direct connection." msgstr "Acesso RDS usando RDP para vApps. Conexão direta." #: transports/RDS_enterprise/rds_base.py:157 +#| msgid "Window Size" +msgid "Window state" +msgstr "Estado da janela" + +#: transports/RDS_enterprise/rds_base.py:159 +msgid "UDS Will try to execute the applicaiton with the window in this state" +msgstr "O UDS tentará executar o aplicativo com a janela neste estado" + +#: transports/RDS_enterprise/rds_base.py:162 +msgid "Normal" +msgstr "Normal" + +#: transports/RDS_enterprise/rds_base.py:163 msgid "Maximized" msgstr "Maximizado" -#: transports/RDS_enterprise/rds_base.py:160 -msgid "If checked, UDS Actor will try to execute application maximized)" -msgstr "Se marcado, o UDS Actor tentará executar o aplicativo maximizado)" +#: transports/RDS_enterprise/rds_base.py:164 +#| msgid "Maximized" +msgid "Minimized" +msgstr "Minimizado" -#: transports/RDS_enterprise/rds_base.py:165 +#: transports/RDS_enterprise/rds_base.py:170 msgid "Execute as shell" msgstr "Executar como shell" -#: transports/RDS_enterprise/rds_base.py:169 +#: transports/RDS_enterprise/rds_base.py:174 msgid "" "If checked, Linux client will execute application in a session instead of a " "remoteapp" @@ -6295,7 +6336,7 @@ msgstr "Muitos erros de autenticação. Usuário temporariamente bloqueado" msgid "Invalid data" msgstr "Dados inválidos" -#: web/util/configjs.py:146 +#: web/util/configjs.py:145 msgid "Access limited by calendar" msgstr "Acesso limitado por calendário" @@ -6437,6 +6478,6 @@ msgstr "" "Seu serviço está sendo criado. Aguarde alguns segundos enquanto o " "concluímos.)" -#: web/views/auth.py:151 +#: web/views/auth.py:154 msgid "Authenticator does not provide information" msgstr "O autenticador não fornece informações" diff --git a/server/src/uds/locale/pt/LC_MESSAGES/djangojs.po b/server/src/uds/locale/pt/LC_MESSAGES/djangojs.po index 72b2aff39..190d21a33 100644 --- a/server/src/uds/locale/pt/LC_MESSAGES/djangojs.po +++ b/server/src/uds/locale/pt/LC_MESSAGES/djangojs.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: OpenUDS\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-08 14:18+0200\n" +"POT-Creation-Date: 2021-07-29 13:12+0200\n" "PO-Revision-Date: 2021-07-08 10:59+0000\n" "Last-Translator: Adolfo Gómez \n" "Language-Team: Portuguese (http://www.transifex.com/openuds/openuds/language/" @@ -148,23 +148,23 @@ msgstr "grupo de pool" msgid "Go to" msgstr "Vamos para" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:271 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:272 msgid "yes" msgstr "sim" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:272 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:273 msgid "no" msgstr "não" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:268 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:269 msgid "Error saving: " msgstr "Erro ao salvar:" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:269 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:270 msgid "Error saving element" msgstr "Erro ao salvar o elemento" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:270 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:271 msgid "Error handling your request" msgstr "Erro ao processar sua solicitação" @@ -273,8 +273,8 @@ msgstr "#RESTRAINED_NUMBER# serviços restritos!" #: static/admin/main.js:1 static/admin/translations-fakejs.js:105 #: static/admin/translations-fakejs.js:249 -#: static/admin/translations-fakejs.js:398 -#: static/admin/translations-fakejs.js:450 +#: static/admin/translations-fakejs.js:402 +#: static/admin/translations-fakejs.js:454 msgid "Assigned services" msgstr "Serviços Atribuídos" @@ -283,8 +283,8 @@ msgid "Services in use" msgstr "Serviços em uso" #: static/admin/main.js:1 static/admin/translations-fakejs.js:21 -#: static/admin/translations-fakejs.js:291 -#: static/admin/translations-fakejs.js:299 +#: static/admin/translations-fakejs.js:292 +#: static/admin/translations-fakejs.js:300 #: static/modern/translations-fakejs.js:30 msgid "Filter" msgstr "Filtro" @@ -302,25 +302,25 @@ msgid "Full Access" msgstr "Acesso total" #: static/admin/main.js:1 static/admin/translations-fakejs.js:15 -#: static/admin/translations-fakejs.js:358 -#: static/admin/translations-fakejs.js:405 -#: static/admin/translations-fakejs.js:410 +#: static/admin/translations-fakejs.js:362 +#: static/admin/translations-fakejs.js:409 +#: static/admin/translations-fakejs.js:414 msgid "User" msgstr "Do utilizador" #: static/admin/main.js:1 static/admin/translations-fakejs.js:16 #: static/admin/translations-fakejs.js:83 #: static/admin/translations-fakejs.js:93 -#: static/admin/translations-fakejs.js:423 -#: static/admin/translations-fakejs.js:444 +#: static/admin/translations-fakejs.js:427 +#: static/admin/translations-fakejs.js:448 msgid "Group" msgstr "Grupo" #: static/admin/main.js:1 static/admin/translations-fakejs.js:17 -#: static/admin/translations-fakejs.js:404 -#: static/admin/translations-fakejs.js:409 -#: static/admin/translations-fakejs.js:422 -#: static/admin/translations-fakejs.js:443 +#: static/admin/translations-fakejs.js:408 +#: static/admin/translations-fakejs.js:413 +#: static/admin/translations-fakejs.js:426 +#: static/admin/translations-fakejs.js:447 #: static/modern/translations-fakejs.js:73 msgid "Authenticator" msgstr "Autenticador" @@ -392,8 +392,8 @@ msgstr "Piscina" #: static/admin/main.js:1 static/admin/translations-fakejs.js:77 #: static/admin/translations-fakejs.js:96 #: static/admin/translations-fakejs.js:230 -#: static/admin/translations-fakejs.js:339 -#: static/admin/translations-fakejs.js:351 +#: static/admin/translations-fakejs.js:343 +#: static/admin/translations-fakejs.js:355 msgid "State" msgstr "Estado" @@ -405,21 +405,21 @@ msgstr "Serviços ao usuário" #: static/admin/main.js:1 static/admin/translations-fakejs.js:88 #: static/admin/translations-fakejs.js:232 -#: static/admin/translations-fakejs.js:319 -#: static/admin/translations-fakejs.js:397 +#: static/admin/translations-fakejs.js:321 +#: static/admin/translations-fakejs.js:401 msgid "Service pools" msgstr "Pools de serviço" #: static/admin/main.js:1 static/admin/translations-fakejs.js:3 #: static/admin/translations-fakejs.js:7 -#: static/admin/translations-fakejs.js:306 +#: static/admin/translations-fakejs.js:308 #: static/modern/translations-fakejs.js:44 msgid "Yes" msgstr "sim" #: static/admin/main.js:1 static/admin/translations-fakejs.js:4 #: static/admin/translations-fakejs.js:8 -#: static/admin/translations-fakejs.js:307 +#: static/admin/translations-fakejs.js:309 #: static/modern/translations-fakejs.js:45 msgid "No" msgstr "Não" @@ -476,10 +476,10 @@ msgstr "Todos" #: static/admin/main.js:1 static/admin/translations-fakejs.js:84 #: static/admin/translations-fakejs.js:94 -#: static/admin/translations-fakejs.js:338 -#: static/admin/translations-fakejs.js:350 -#: static/admin/translations-fakejs.js:375 -#: static/admin/translations-fakejs.js:431 +#: static/admin/translations-fakejs.js:342 +#: static/admin/translations-fakejs.js:354 +#: static/admin/translations-fakejs.js:379 +#: static/admin/translations-fakejs.js:435 msgid "Comments" msgstr "Comentários" @@ -505,25 +505,25 @@ msgstr "Piscina de serviços" #: static/admin/main.js:1 static/admin/translations-fakejs.js:90 #: static/admin/translations-fakejs.js:103 -#: static/admin/translations-fakejs.js:286 -#: static/admin/translations-fakejs.js:321 -#: static/admin/translations-fakejs.js:333 -#: static/admin/translations-fakejs.js:359 +#: static/admin/translations-fakejs.js:287 +#: static/admin/translations-fakejs.js:323 +#: static/admin/translations-fakejs.js:337 #: static/admin/translations-fakejs.js:363 -#: static/admin/translations-fakejs.js:369 -#: static/admin/translations-fakejs.js:399 -#: static/admin/translations-fakejs.js:452 +#: static/admin/translations-fakejs.js:367 +#: static/admin/translations-fakejs.js:373 +#: static/admin/translations-fakejs.js:403 +#: static/admin/translations-fakejs.js:456 msgid "Groups" msgstr "Grupos" #: static/admin/main.js:1 static/admin/translations-fakejs.js:104 -#: static/admin/translations-fakejs.js:331 -#: static/admin/translations-fakejs.js:364 +#: static/admin/translations-fakejs.js:335 +#: static/admin/translations-fakejs.js:368 msgid "Services Pools" msgstr "Piscinas de Serviços" #: static/admin/main.js:1 static/admin/translations-fakejs.js:79 -#: static/admin/translations-fakejs.js:374 +#: static/admin/translations-fakejs.js:378 msgid "Name" msgstr "Nome" @@ -540,26 +540,26 @@ msgid "Last access" msgstr "Último acesso" #: static/admin/main.js:1 static/admin/translations-fakejs.js:89 -#: static/admin/translations-fakejs.js:285 -#: static/admin/translations-fakejs.js:332 -#: static/admin/translations-fakejs.js:368 +#: static/admin/translations-fakejs.js:286 +#: static/admin/translations-fakejs.js:336 +#: static/admin/translations-fakejs.js:372 msgid "Users" msgstr "Comercial" #: static/admin/main.js:1 static/admin/translations-fakejs.js:85 -#: static/admin/translations-fakejs.js:340 -#: static/admin/translations-fakejs.js:352 +#: static/admin/translations-fakejs.js:344 +#: static/admin/translations-fakejs.js:356 msgid "Enabled" msgstr "ativado" #: static/admin/main.js:1 static/admin/translations-fakejs.js:86 -#: static/admin/translations-fakejs.js:341 -#: static/admin/translations-fakejs.js:353 +#: static/admin/translations-fakejs.js:345 +#: static/admin/translations-fakejs.js:357 msgid "Disabled" msgstr "Desativado" #: static/admin/main.js:1 static/admin/translations-fakejs.js:87 -#: static/admin/translations-fakejs.js:354 +#: static/admin/translations-fakejs.js:358 msgid "Blocked" msgstr "Bloqueado" @@ -669,12 +669,12 @@ msgid "In use" msgstr "Em uso" #: static/admin/main.js:1 static/admin/translations-fakejs.js:202 -#: static/admin/translations-fakejs.js:289 -#: static/admin/translations-fakejs.js:370 -#: static/admin/translations-fakejs.js:401 -#: static/admin/translations-fakejs.js:458 -#: static/admin/translations-fakejs.js:461 -#: static/admin/translations-fakejs.js:466 +#: static/admin/translations-fakejs.js:290 +#: static/admin/translations-fakejs.js:374 +#: static/admin/translations-fakejs.js:405 +#: static/admin/translations-fakejs.js:462 +#: static/admin/translations-fakejs.js:465 +#: static/admin/translations-fakejs.js:470 msgid "Logs" msgstr "Logs" @@ -695,20 +695,20 @@ msgid "Assign service" msgstr "Atribuir serviço" #: static/admin/main.js:1 static/admin/translations-fakejs.js:207 -#: static/admin/translations-fakejs.js:276 -#: static/admin/translations-fakejs.js:282 -#: static/admin/translations-fakejs.js:345 -#: static/admin/translations-fakejs.js:360 -#: static/admin/translations-fakejs.js:386 -#: static/admin/translations-fakejs.js:394 -#: static/admin/translations-fakejs.js:406 -#: static/admin/translations-fakejs.js:411 -#: static/admin/translations-fakejs.js:419 -#: static/admin/translations-fakejs.js:424 +#: static/admin/translations-fakejs.js:277 +#: static/admin/translations-fakejs.js:283 +#: static/admin/translations-fakejs.js:349 +#: static/admin/translations-fakejs.js:364 +#: static/admin/translations-fakejs.js:390 +#: static/admin/translations-fakejs.js:398 +#: static/admin/translations-fakejs.js:410 +#: static/admin/translations-fakejs.js:415 +#: static/admin/translations-fakejs.js:423 #: static/admin/translations-fakejs.js:428 #: static/admin/translations-fakejs.js:432 -#: static/admin/translations-fakejs.js:445 -#: static/admin/translations-fakejs.js:487 +#: static/admin/translations-fakejs.js:436 +#: static/admin/translations-fakejs.js:449 +#: static/admin/translations-fakejs.js:491 msgid "Cancel" msgstr "Cancelar" @@ -860,7 +860,7 @@ msgid "Yearly" msgstr "Anual" #: static/admin/main.js:1 static/admin/translations-fakejs.js:148 -#: static/admin/translations-fakejs.js:383 +#: static/admin/translations-fakejs.js:387 msgid "Weekdays" msgstr "Dias úteis" @@ -1017,6 +1017,11 @@ msgstr "Configuração salva" msgid "Delete actor token - USE WITH EXTREME CAUTION!!!" msgstr "Excluir token de ator - USE COM CUIDADO EXTREMO !!!" +#: static/admin/main.js:1 static/admin/translations-fakejs.js:268 +#| msgid "Delete actor token - USE WITH EXTREME CAUTION!!!" +msgid "Delete tunnel token - USE WITH EXTREME CAUTION!!!" +msgstr "Excluir token de túnel - USE COM EXTREMO CUIDADO !!!" + #: static/admin/main.js:1 static/admin/translations-fakejs.js:24 msgid "Cache flushed" msgstr "Cache liberado" @@ -1105,458 +1110,470 @@ msgstr "unhandledPromiseRejectionHandler" msgid "rejectionHandledHandler" msgstr "rejeiçãoHandledHandler" -#: static/admin/translations-fakejs.js:274 +#: static/admin/translations-fakejs.js:275 msgid "Remove all" msgstr "Deletar tudo" -#: static/admin/translations-fakejs.js:275 +#: static/admin/translations-fakejs.js:276 msgid "Add" msgstr "Adicionar" -#: static/admin/translations-fakejs.js:277 -#: static/admin/translations-fakejs.js:283 -#: static/admin/translations-fakejs.js:288 -#: static/admin/translations-fakejs.js:334 -#: static/admin/translations-fakejs.js:346 -#: static/admin/translations-fakejs.js:361 -#: static/admin/translations-fakejs.js:366 -#: static/admin/translations-fakejs.js:387 -#: static/admin/translations-fakejs.js:395 -#: static/admin/translations-fakejs.js:407 -#: static/admin/translations-fakejs.js:412 -#: static/admin/translations-fakejs.js:420 -#: static/admin/translations-fakejs.js:425 +#: static/admin/translations-fakejs.js:278 +#: static/admin/translations-fakejs.js:284 +#: static/admin/translations-fakejs.js:289 +#: static/admin/translations-fakejs.js:338 +#: static/admin/translations-fakejs.js:350 +#: static/admin/translations-fakejs.js:365 +#: static/admin/translations-fakejs.js:370 +#: static/admin/translations-fakejs.js:391 +#: static/admin/translations-fakejs.js:399 +#: static/admin/translations-fakejs.js:411 +#: static/admin/translations-fakejs.js:416 +#: static/admin/translations-fakejs.js:424 #: static/admin/translations-fakejs.js:429 #: static/admin/translations-fakejs.js:433 -#: static/admin/translations-fakejs.js:435 -#: static/admin/translations-fakejs.js:446 -#: static/admin/translations-fakejs.js:448 -#: static/admin/translations-fakejs.js:462 -#: static/admin/translations-fakejs.js:488 +#: static/admin/translations-fakejs.js:437 +#: static/admin/translations-fakejs.js:439 +#: static/admin/translations-fakejs.js:450 +#: static/admin/translations-fakejs.js:452 +#: static/admin/translations-fakejs.js:466 +#: static/admin/translations-fakejs.js:492 msgid "Ok" msgstr "Está bem" -#: static/admin/translations-fakejs.js:278 +#: static/admin/translations-fakejs.js:279 msgid "Discard & close" msgstr "Descartar e fechar" -#: static/admin/translations-fakejs.js:279 -#: static/admin/translations-fakejs.js:480 +#: static/admin/translations-fakejs.js:280 +#: static/admin/translations-fakejs.js:484 msgid "Save" msgstr "Salve " -#: static/admin/translations-fakejs.js:280 +#: static/admin/translations-fakejs.js:281 msgid "New user permission for" msgstr "Nova permissão de usuário para" -#: static/admin/translations-fakejs.js:281 +#: static/admin/translations-fakejs.js:282 msgid "New group permission for" msgstr "Nova permissão de grupo para" -#: static/admin/translations-fakejs.js:284 +#: static/admin/translations-fakejs.js:285 msgid "Permissions for" msgstr "Permissões para" -#: static/admin/translations-fakejs.js:287 +#: static/admin/translations-fakejs.js:288 msgid "New permission..." msgstr "Nova permissão ..." -#: static/admin/translations-fakejs.js:290 -#: static/admin/translations-fakejs.js:297 +#: static/admin/translations-fakejs.js:291 +#: static/admin/translations-fakejs.js:298 msgid "Export" msgstr "Exportar" -#: static/admin/translations-fakejs.js:292 #: static/admin/translations-fakejs.js:293 #: static/admin/translations-fakejs.js:294 +#: static/admin/translations-fakejs.js:295 msgid "New" msgstr "Novo" -#: static/admin/translations-fakejs.js:295 -#: static/admin/translations-fakejs.js:302 +#: static/admin/translations-fakejs.js:296 +#: static/admin/translations-fakejs.js:304 msgid "Edit" msgstr "Editar" -#: static/admin/translations-fakejs.js:296 -#: static/admin/translations-fakejs.js:303 +#: static/admin/translations-fakejs.js:297 +#: static/admin/translations-fakejs.js:305 msgid "Permissions" msgstr "Permissões" -#: static/admin/translations-fakejs.js:298 -#: static/admin/translations-fakejs.js:304 +#: static/admin/translations-fakejs.js:299 +#: static/admin/translations-fakejs.js:306 msgid "Delete" msgstr "Excluir" -#: static/admin/translations-fakejs.js:300 +#: static/admin/translations-fakejs.js:301 msgid "Selected items" msgstr "Itens selecionados" -#: static/admin/translations-fakejs.js:301 +#: static/admin/translations-fakejs.js:302 +msgid "Copy" +msgstr "cópia de" + +#: static/admin/translations-fakejs.js:303 msgid "Detail" msgstr "Detalhe" -#: static/admin/translations-fakejs.js:305 +#: static/admin/translations-fakejs.js:307 #: static/modern/translations-fakejs.js:43 msgid "Close" msgstr "Perto" -#: static/admin/translations-fakejs.js:308 +#: static/admin/translations-fakejs.js:310 msgid "User mode" msgstr "Modo de usuário" -#: static/admin/translations-fakejs.js:309 +#: static/admin/translations-fakejs.js:311 #: static/modern/translations-fakejs.js:48 msgid "Logout" msgstr "Sair" -#: static/admin/translations-fakejs.js:310 -#: static/admin/translations-fakejs.js:367 -#: static/admin/translations-fakejs.js:385 -#: static/admin/translations-fakejs.js:396 -#: static/admin/translations-fakejs.js:449 -#: static/admin/translations-fakejs.js:463 +#: static/admin/translations-fakejs.js:312 +#: static/admin/translations-fakejs.js:371 +#: static/admin/translations-fakejs.js:389 +#: static/admin/translations-fakejs.js:400 +#: static/admin/translations-fakejs.js:453 +#: static/admin/translations-fakejs.js:467 msgid "Summary" msgstr "Resumo" -#: static/admin/translations-fakejs.js:311 -#: static/admin/translations-fakejs.js:464 +#: static/admin/translations-fakejs.js:313 +#: static/admin/translations-fakejs.js:468 msgid "Services" msgstr "Serviços" -#: static/admin/translations-fakejs.js:312 +#: static/admin/translations-fakejs.js:314 msgid "Authenticators" msgstr "Autenticadores" -#: static/admin/translations-fakejs.js:313 +#: static/admin/translations-fakejs.js:315 msgid "Os Managers" msgstr "Os gerentes" -#: static/admin/translations-fakejs.js:314 +#: static/admin/translations-fakejs.js:316 msgid "Connectivity" msgstr "Conectividade" -#: static/admin/translations-fakejs.js:315 -#: static/admin/translations-fakejs.js:453 +#: static/admin/translations-fakejs.js:317 +#: static/admin/translations-fakejs.js:457 #: static/modern/translations-fakejs.js:39 msgid "Transports" msgstr "Transportes" -#: static/admin/translations-fakejs.js:316 +#: static/admin/translations-fakejs.js:318 #: static/modern/translations-fakejs.js:41 msgid "Networks" msgstr "Redes" -#: static/admin/translations-fakejs.js:317 +#: static/admin/translations-fakejs.js:319 msgid "Proxies" msgstr "Proxies" -#: static/admin/translations-fakejs.js:318 +#: static/admin/translations-fakejs.js:320 msgid "Pools" msgstr "Piscinas" -#: static/admin/translations-fakejs.js:320 +#: static/admin/translations-fakejs.js:322 msgid "Meta pools" msgstr "Meta pools" -#: static/admin/translations-fakejs.js:322 +#: static/admin/translations-fakejs.js:324 msgid "Calendars" msgstr "Calendários" -#: static/admin/translations-fakejs.js:323 +#: static/admin/translations-fakejs.js:325 msgid "Accounts" msgstr "Contas" -#: static/admin/translations-fakejs.js:324 +#: static/admin/translations-fakejs.js:326 msgid "Tools" msgstr "Ferramentas" -#: static/admin/translations-fakejs.js:325 +#: static/admin/translations-fakejs.js:327 msgid "Gallery" msgstr "Galeria" -#: static/admin/translations-fakejs.js:326 +#: static/admin/translations-fakejs.js:328 msgid "Reports" msgstr "Relatórios" -#: static/admin/translations-fakejs.js:327 -msgid "Configuration" -msgstr "Configuração" - -#: static/admin/translations-fakejs.js:328 -msgid "Actor tokens" -msgstr "Tokens de ator" - #: static/admin/translations-fakejs.js:329 +msgid "Tokens" +msgstr "Tokens" + +#: static/admin/translations-fakejs.js:330 +msgid "Actor" +msgstr "Ator" + +#: static/admin/translations-fakejs.js:331 +msgid "Tunnel" +msgstr "Túnel" + +#: static/admin/translations-fakejs.js:332 msgid "Flush Cache" msgstr "Cache nivelado" -#: static/admin/translations-fakejs.js:330 -#: static/admin/translations-fakejs.js:362 -#: static/admin/translations-fakejs.js:459 +#: static/admin/translations-fakejs.js:333 +msgid "Configuration" +msgstr "Configuração" + +#: static/admin/translations-fakejs.js:334 +#: static/admin/translations-fakejs.js:366 +#: static/admin/translations-fakejs.js:463 msgid "Information for" msgstr "Informação para" -#: static/admin/translations-fakejs.js:335 +#: static/admin/translations-fakejs.js:339 msgid "Edit group" msgstr "Editar grupo" -#: static/admin/translations-fakejs.js:336 +#: static/admin/translations-fakejs.js:340 msgid "New group" msgstr "Novo grupo" -#: static/admin/translations-fakejs.js:337 +#: static/admin/translations-fakejs.js:341 msgid "Meta group name" msgstr "Nome do grupo Meta" -#: static/admin/translations-fakejs.js:342 +#: static/admin/translations-fakejs.js:346 msgid "Service Pools" msgstr "Piscinas de serviço" -#: static/admin/translations-fakejs.js:343 +#: static/admin/translations-fakejs.js:347 msgid "Match mode" msgstr "Modo de jogo" -#: static/admin/translations-fakejs.js:344 +#: static/admin/translations-fakejs.js:348 msgid "Selected Groups" msgstr "Grupos Selecionados" -#: static/admin/translations-fakejs.js:347 +#: static/admin/translations-fakejs.js:351 msgid "Edit user" msgstr "Editar usuário" -#: static/admin/translations-fakejs.js:348 +#: static/admin/translations-fakejs.js:352 msgid "New user" msgstr "Novo usuário" -#: static/admin/translations-fakejs.js:349 +#: static/admin/translations-fakejs.js:353 msgid "Real name" msgstr "Nome real" -#: static/admin/translations-fakejs.js:355 +#: static/admin/translations-fakejs.js:359 msgid "Role" msgstr "Função" -#: static/admin/translations-fakejs.js:356 +#: static/admin/translations-fakejs.js:360 msgid "Admin" msgstr "Admin" -#: static/admin/translations-fakejs.js:357 +#: static/admin/translations-fakejs.js:361 msgid "Staff member" msgstr "Membro da equipe" -#: static/admin/translations-fakejs.js:365 +#: static/admin/translations-fakejs.js:369 msgid "Assigned Services" msgstr "Serviços Atribuídos" -#: static/admin/translations-fakejs.js:371 +#: static/admin/translations-fakejs.js:375 msgid "Account usage" msgstr "Uso da conta" -#: static/admin/translations-fakejs.js:372 +#: static/admin/translations-fakejs.js:376 msgid "Edit rule" msgstr "Editar regra" -#: static/admin/translations-fakejs.js:373 +#: static/admin/translations-fakejs.js:377 msgid "New rule" msgstr "Nova regra" -#: static/admin/translations-fakejs.js:376 +#: static/admin/translations-fakejs.js:380 msgid "Event" msgstr "Evento" -#: static/admin/translations-fakejs.js:377 +#: static/admin/translations-fakejs.js:381 msgid "Start time" msgstr "Hora de início" -#: static/admin/translations-fakejs.js:378 +#: static/admin/translations-fakejs.js:382 msgid "Duration" msgstr "Duração" -#: static/admin/translations-fakejs.js:379 +#: static/admin/translations-fakejs.js:383 msgid "Duration units" msgstr "Unidades de duração" -#: static/admin/translations-fakejs.js:380 +#: static/admin/translations-fakejs.js:384 msgid "Start date" msgstr "Data de início" -#: static/admin/translations-fakejs.js:381 +#: static/admin/translations-fakejs.js:385 msgid "Repeat until date" msgstr "Repetir até a data" -#: static/admin/translations-fakejs.js:382 +#: static/admin/translations-fakejs.js:386 msgid "Frequency" msgstr "Freqüência" -#: static/admin/translations-fakejs.js:384 +#: static/admin/translations-fakejs.js:388 msgid "Repeat every" msgstr "Repita todos os" -#: static/admin/translations-fakejs.js:388 +#: static/admin/translations-fakejs.js:392 msgid "Rules" msgstr "Regras" -#: static/admin/translations-fakejs.js:389 +#: static/admin/translations-fakejs.js:393 msgid "New member pool" msgstr "Novo pool de membros" -#: static/admin/translations-fakejs.js:390 +#: static/admin/translations-fakejs.js:394 msgid "Edit member pool" msgstr "Editar pool de membros" -#: static/admin/translations-fakejs.js:391 -#: static/admin/translations-fakejs.js:416 +#: static/admin/translations-fakejs.js:395 +#: static/admin/translations-fakejs.js:420 msgid "Priority" msgstr "Prioridade" -#: static/admin/translations-fakejs.js:392 +#: static/admin/translations-fakejs.js:396 msgid "Service pool" msgstr "Pool de serviços" -#: static/admin/translations-fakejs.js:393 +#: static/admin/translations-fakejs.js:397 msgid "Enabled?" msgstr "Ativado?" -#: static/admin/translations-fakejs.js:400 -#: static/admin/translations-fakejs.js:456 +#: static/admin/translations-fakejs.js:404 +#: static/admin/translations-fakejs.js:460 msgid "Access calendars" msgstr "Acessar calendários" -#: static/admin/translations-fakejs.js:402 +#: static/admin/translations-fakejs.js:406 msgid "Assign service to user manually" msgstr "Atribuir serviço ao usuário manualmente" -#: static/admin/translations-fakejs.js:403 +#: static/admin/translations-fakejs.js:407 msgid "Service" msgstr "Serviço" -#: static/admin/translations-fakejs.js:408 +#: static/admin/translations-fakejs.js:412 msgid "Change owner of assigned service" msgstr "Alterar proprietário do serviço atribuído" -#: static/admin/translations-fakejs.js:413 +#: static/admin/translations-fakejs.js:417 msgid "New access rule for" msgstr "Nova regra de acesso para" -#: static/admin/translations-fakejs.js:414 +#: static/admin/translations-fakejs.js:418 msgid "Edit access rule for" msgstr "Editar regra de acesso para" -#: static/admin/translations-fakejs.js:415 +#: static/admin/translations-fakejs.js:419 msgid "Default fallback access for" msgstr "Acesso de fallback padrão para" -#: static/admin/translations-fakejs.js:417 -#: static/admin/translations-fakejs.js:438 +#: static/admin/translations-fakejs.js:421 +#: static/admin/translations-fakejs.js:442 msgid "Calendar" msgstr "Calendário" -#: static/admin/translations-fakejs.js:418 -#: static/admin/translations-fakejs.js:441 +#: static/admin/translations-fakejs.js:422 +#: static/admin/translations-fakejs.js:445 msgid "Action" msgstr "Açao" -#: static/admin/translations-fakejs.js:421 +#: static/admin/translations-fakejs.js:425 msgid "New group for" msgstr "Novo grupo para" -#: static/admin/translations-fakejs.js:426 +#: static/admin/translations-fakejs.js:430 msgid "New transport for" msgstr "Novo transporte para" -#: static/admin/translations-fakejs.js:427 -#: static/admin/translations-fakejs.js:442 +#: static/admin/translations-fakejs.js:431 +#: static/admin/translations-fakejs.js:446 msgid "Transport" msgstr "Transporte" -#: static/admin/translations-fakejs.js:430 +#: static/admin/translations-fakejs.js:434 msgid "New publication for" msgstr "Nova publicação para" -#: static/admin/translations-fakejs.js:434 +#: static/admin/translations-fakejs.js:438 msgid "Changelog of" msgstr "Changelog de" -#: static/admin/translations-fakejs.js:436 +#: static/admin/translations-fakejs.js:440 msgid "Edit action for" msgstr "Editar ação para" -#: static/admin/translations-fakejs.js:437 +#: static/admin/translations-fakejs.js:441 msgid "New action for" msgstr "Nova ação para" -#: static/admin/translations-fakejs.js:439 +#: static/admin/translations-fakejs.js:443 msgid "Events offset (minutes)" msgstr "Deslocamento de eventos (minutos)" -#: static/admin/translations-fakejs.js:440 +#: static/admin/translations-fakejs.js:444 msgid "At the beginning of the interval?" msgstr "No começo do intervalo?" -#: static/admin/translations-fakejs.js:447 +#: static/admin/translations-fakejs.js:451 msgid "Logs of" msgstr "Logs de" -#: static/admin/translations-fakejs.js:451 +#: static/admin/translations-fakejs.js:455 msgid "Cache" msgstr "Cache" -#: static/admin/translations-fakejs.js:454 +#: static/admin/translations-fakejs.js:458 msgid "Publications" msgstr "Publicações" -#: static/admin/translations-fakejs.js:455 +#: static/admin/translations-fakejs.js:459 msgid "Scheduled actions" msgstr "Ações agendadas" -#: static/admin/translations-fakejs.js:457 +#: static/admin/translations-fakejs.js:461 msgid "Charts" msgstr "Gráficos" -#: static/admin/translations-fakejs.js:460 +#: static/admin/translations-fakejs.js:464 msgid "Services pools" msgstr "Pools de serviços" -#: static/admin/translations-fakejs.js:465 +#: static/admin/translations-fakejs.js:469 msgid "Usage" msgstr "Uso" -#: static/admin/translations-fakejs.js:467 +#: static/admin/translations-fakejs.js:471 #: static/modern/translations-fakejs.js:46 msgid "Dashboard" msgstr "painel de controle" -#: static/admin/translations-fakejs.js:468 +#: static/admin/translations-fakejs.js:472 msgid "View authenticators" msgstr "Visualizar autenticadores" -#: static/admin/translations-fakejs.js:469 -#: static/admin/translations-fakejs.js:470 -#: static/admin/translations-fakejs.js:471 +#: static/admin/translations-fakejs.js:473 +#: static/admin/translations-fakejs.js:474 +#: static/admin/translations-fakejs.js:475 msgid "View service pools" msgstr "Exibir pools de serviço" -#: static/admin/translations-fakejs.js:472 +#: static/admin/translations-fakejs.js:476 msgid "Assigned services chart" msgstr "Gráfico de serviços atribuídos" -#: static/admin/translations-fakejs.js:473 +#: static/admin/translations-fakejs.js:477 msgid "In use services chart" msgstr "Gráfico de serviços em uso" -#: static/admin/translations-fakejs.js:474 +#: static/admin/translations-fakejs.js:478 msgid "UDS Administration" msgstr "Administração UDS" -#: static/admin/translations-fakejs.js:475 +#: static/admin/translations-fakejs.js:479 msgid "You are accessing UDS Administration as staff member." msgstr "Você está acessando a Administração do UDS como membro da equipe." -#: static/admin/translations-fakejs.js:476 +#: static/admin/translations-fakejs.js:480 msgid "This means that you have restricted access to elements." msgstr "Isso significa que você restringiu o acesso aos elementos." -#: static/admin/translations-fakejs.js:477 +#: static/admin/translations-fakejs.js:481 msgid "" "In order to increase your access privileges, please contact your local UDS " "administrator." @@ -1564,35 +1581,35 @@ msgstr "" "Para aumentar seus privilégios de acesso, entre em contato com o " "administrador local da UDS." -#: static/admin/translations-fakejs.js:478 +#: static/admin/translations-fakejs.js:482 msgid "Thank you." msgstr "Obrigado." -#: static/admin/translations-fakejs.js:479 +#: static/admin/translations-fakejs.js:483 msgid "UDS Configuration" msgstr "Configuração UDS" -#: static/admin/translations-fakejs.js:481 +#: static/admin/translations-fakejs.js:485 msgid "New image for" msgstr "Nova imagem para" -#: static/admin/translations-fakejs.js:482 +#: static/admin/translations-fakejs.js:486 msgid "Edit for" msgstr "Editar para" -#: static/admin/translations-fakejs.js:483 +#: static/admin/translations-fakejs.js:487 msgid "Image name" msgstr "Nome da imagem" -#: static/admin/translations-fakejs.js:484 +#: static/admin/translations-fakejs.js:488 msgid "Image (click to change)" msgstr "Imagem (clique para mudar)" -#: static/admin/translations-fakejs.js:485 +#: static/admin/translations-fakejs.js:489 msgid "For optimal results, use " msgstr "Para melhores resultados, use" -#: static/admin/translations-fakejs.js:486 +#: static/admin/translations-fakejs.js:490 msgid "The image will be resized on upload to" msgstr "A imagem será redimensionada no upload para" diff --git a/server/src/uds/locale/ru/LC_MESSAGES/django.po b/server/src/uds/locale/ru/LC_MESSAGES/django.po index d156dbef8..80dc1b5f1 100644 --- a/server/src/uds/locale/ru/LC_MESSAGES/django.po +++ b/server/src/uds/locale/ru/LC_MESSAGES/django.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: OpenUDS\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-08 14:18+0200\n" +"POT-Creation-Date: 2021-07-29 13:12+0200\n" "PO-Revision-Date: 2021-07-08 10:59+0000\n" "Last-Translator: Adolfo Gómez \n" "Language-Team: Russian (http://www.transifex.com/openuds/openuds/language/" @@ -34,7 +34,7 @@ msgstr "Accounts" #: REST/methods/osmanagers.py:55 REST/methods/providers.py:71 #: REST/methods/proxies.py:59 REST/methods/reports.py:57 #: REST/methods/services_pool_groups.py:63 REST/methods/services_pools.py:133 -#: REST/methods/transports.py:58 REST/methods/user_services.py:321 +#: REST/methods/transports.py:66 REST/methods/user_services.py:321 #: REST/methods/user_services.py:396 REST/methods/users_groups.py:122 #: REST/model.py:149 msgid "Name" @@ -45,7 +45,7 @@ msgstr "Имя" #: REST/methods/meta_pools.py:71 REST/methods/osmanagers.py:57 #: REST/methods/providers.py:73 REST/methods/proxies.py:62 #: REST/methods/services.py:241 REST/methods/services_pool_groups.py:64 -#: REST/methods/transports.py:60 REST/methods/user_services.py:398 +#: REST/methods/transports.py:68 REST/methods/user_services.py:398 #: REST/methods/users_groups.py:123 REST/methods/users_groups.py:291 #: REST/model.py:173 msgid "Comments" @@ -60,7 +60,7 @@ msgstr "Отметка времени" #: REST/methods/networks.py:63 REST/methods/osmanagers.py:59 #: REST/methods/providers.py:79 REST/methods/proxies.py:63 #: REST/methods/services.py:250 REST/methods/services_pools.py:142 -#: REST/methods/transports.py:63 +#: REST/methods/transports.py:77 msgid "tags" msgstr "Тэги" @@ -72,7 +72,7 @@ msgstr "Название пула" msgid "User name" msgstr "Имя пользователя" -#: REST/methods/accountsusage.py:94 core/util/state.py:78 +#: REST/methods/accountsusage.py:94 core/util/state.py:79 #: core/util/states/common.py:71 msgid "Running" msgstr "Запускается" @@ -119,11 +119,11 @@ msgstr "Неуправляемый хост" msgid "User service not found" msgstr "Сервис пользователя не найден" -#: REST/methods/actor_token.py:51 REST/methods/tunnel_token.py:51 +#: REST/methods/actor_token.py:51 msgid "Actor tokens" msgstr "Ключи клиента" -#: REST/methods/actor_token.py:54 REST/methods/tunnel_token.py:54 +#: REST/methods/actor_token.py:54 REST/methods/tunnel_token.py:51 #: reports/auto/fields.py:56 reports/stats/pools_performance.py:217 #: reports/stats/pools_performance.py:236 reports/stats/pools_usage_day.py:64 #: reports/stats/usage_by_pool.py:169 reports/stats/user_access.py:190 @@ -131,11 +131,11 @@ msgstr "Ключи клиента" msgid "Date" msgstr "Дата" -#: REST/methods/actor_token.py:55 REST/methods/tunnel_token.py:55 +#: REST/methods/actor_token.py:55 REST/methods/tunnel_token.py:52 msgid "Issued by" msgstr "Выдан" -#: REST/methods/actor_token.py:56 REST/methods/tunnel_token.py:56 +#: REST/methods/actor_token.py:56 REST/methods/tunnel_token.py:53 #: reports/stats/usage_by_pool.py:173 #: templates/uds/reports/stats/usage-by-pool.html:18 msgid "Origin" @@ -161,7 +161,7 @@ msgstr "Запустить один раз" msgid "Log level" msgstr "Уровень журнала" -#: REST/methods/actor_token.py:67 REST/methods/tunnel_token.py:63 +#: REST/methods/actor_token.py:67 REST/methods/tunnel_token.py:60 msgid "Token isued by {} from {}" msgstr "Токен выпущен {} из {}" @@ -175,13 +175,13 @@ msgstr "Идентификатор" #: REST/methods/authenticators.py:67 REST/methods/osmanagers.py:56 #: REST/methods/providers.py:72 REST/methods/services.py:242 -#: REST/methods/transports.py:59 REST/methods/user_services.py:397 +#: REST/methods/transports.py:67 REST/methods/user_services.py:397 msgid "Type" msgstr "Тип" #: REST/methods/authenticators.py:69 REST/methods/meta_service_pools.py:88 #: REST/methods/op_calendars.py:80 REST/methods/services_pool_groups.py:61 -#: REST/methods/transports.py:57 REST/methods/user_services.py:395 +#: REST/methods/transports.py:65 REST/methods/user_services.py:395 #: REST/model.py:185 models/meta_pool.py:73 msgid "Priority" msgstr "Приоритет" @@ -193,7 +193,7 @@ msgid "Visible" msgstr "Видимый" #: REST/methods/authenticators.py:71 REST/methods/meta_pools.py:77 -#: REST/methods/transports.py:115 REST/model.py:201 +#: REST/methods/transports.py:164 REST/model.py:201 msgid "Label" msgstr "Метка" @@ -391,7 +391,7 @@ msgid "Pool" msgstr "Пул" #: REST/methods/meta_service_pools.py:197 REST/methods/services_usage.py:122 -#: REST/methods/tunnel_token.py:57 REST/methods/user_services.py:139 +#: REST/methods/tunnel_token.py:54 REST/methods/user_services.py:139 #: REST/methods/user_services.py:270 auths/IP/authenticator.py:68 msgid "IP" msgstr "IP" @@ -439,7 +439,7 @@ msgstr "Элемент уже удален" msgid "Item is not removable" msgstr "Элемент не удаляется" -#: REST/methods/networks.py:58 REST/methods/transports.py:88 +#: REST/methods/networks.py:58 REST/methods/transports.py:114 msgid "Networks" msgstr "Сети" @@ -565,7 +565,7 @@ msgstr "Проверить сертификат" #: services/OpenGnsys/provider.py:97 services/OpenNebula/provider.py:77 #: services/OpenStack/provider_legacy.py:106 services/Proxmox/provider.py:66 #: services/VCloud_enterprise/provider.py:32 -#: services/Vmware_enterprise/provider.py:41 services/Xen/provider.py:100 +#: services/Vmware_enterprise/provider.py:45 services/Xen/provider.py:100 msgid "Host" msgstr "Хост" @@ -584,7 +584,7 @@ msgstr "Сервер (IP или FQDN), который будет служить #: services/OpenStack/provider_legacy.py:110 services/Proxmox/provider.py:73 #: services/RDS_enterprise/provider.py:101 #: services/VCloud_enterprise/provider.py:33 -#: services/Vmware_enterprise/provider.py:42 +#: services/Vmware_enterprise/provider.py:52 msgid "Port" msgstr "Порт" @@ -705,8 +705,8 @@ msgstr "ОК" msgid "Services Pool Groups" msgstr "Группы сервис-пулов" -#: REST/methods/services_pools.py:131 REST/methods/transports.py:61 -#: REST/methods/transports.py:106 +#: REST/methods/services_pools.py:131 REST/methods/transports.py:71 +#: REST/methods/transports.py:152 msgid "Service Pools" msgstr "Сервис-пулы" @@ -856,19 +856,19 @@ msgstr "Использование сервисов" msgid "Service" msgstr "Сужба" -#: REST/methods/transports.py:55 +#: REST/methods/transports.py:63 msgid "Transports" msgstr "Транспорты" -#: REST/methods/transports.py:62 +#: REST/methods/transports.py:76 msgid "Devices" msgstr "Устройства" -#: REST/methods/transports.py:79 +#: REST/methods/transports.py:97 msgid "Network access" msgstr "Сетевой доступ" -#: REST/methods/transports.py:80 +#: REST/methods/transports.py:99 msgid "" "If checked, the transport will be enabled for the selected networks. If " "unchecked, transport will be disabled for selected networks" @@ -876,7 +876,7 @@ msgstr "" "Если флаг установлен, то транспорт будет включен для выбранных сетей. Если " "флаг не установлен, транспорт будет выключен для выбранных сетей" -#: REST/methods/transports.py:89 +#: REST/methods/transports.py:116 msgid "" "Networks associated with this transport. If No network selected, will mean " "\"all networks\"" @@ -884,11 +884,11 @@ msgstr "" "Сети, ассоциированные с транспортом. Если сети не выбраны, это означает все " "сети" -#: REST/methods/transports.py:97 +#: REST/methods/transports.py:134 msgid "Allowed Devices" msgstr "Разрешённые устройства" -#: REST/methods/transports.py:98 +#: REST/methods/transports.py:136 msgid "" "If empty, any kind of device compatible with this transport will be allowed. " "Else, only devices compatible with selected values will be allowed" @@ -896,17 +896,22 @@ msgstr "" "Если пусто, будет разрешено использовать любое устройство, совместимое с " "этим транспортом" -#: REST/methods/transports.py:107 +#: REST/methods/transports.py:153 msgid "Currently assigned services pools" msgstr "Текущие привязанные пулы услуг" -#: REST/methods/transports.py:116 +#: REST/methods/transports.py:166 msgid "Metapool transport label (only used on metapool transports grouping)" msgstr "" "Метка транспорта метапула (используется только при группировке транспорта " "метапула)" -#: REST/methods/tunnel_token.py:53 +#: REST/methods/tunnel_token.py:48 +#| msgid "Tunneled" +msgid "Tunnel tokens" +msgstr "Жетоны туннелей" + +#: REST/methods/tunnel_token.py:50 msgid "Token" msgstr "Токен" @@ -1005,7 +1010,7 @@ msgstr "Текущие пользователи" #: services/OpenStack/provider.py:127 services/OpenStack/provider_legacy.py:144 #: services/Proxmox/provider.py:82 services/RDS_enterprise/provider.py:118 #: services/VCloud_enterprise/provider.py:35 -#: services/Vmware_enterprise/provider.py:43 services/Xen/provider.py:107 +#: services/Vmware_enterprise/provider.py:60 services/Xen/provider.py:107 #: transports/HTML5RDP/html5rdp.py:103 transports/HTML5VNC/html5vnc.py:75 #: transports/NoMachine_enterprise/nomachine_base.py:63 #: transports/PCoIP_enterprise/pcoip.py:59 transports/RDP/rdp_base.py:75 @@ -1152,7 +1157,7 @@ msgstr "" #: services/OpenStack/provider.py:135 services/OpenStack/provider_legacy.py:152 #: services/Proxmox/provider.py:92 services/RDS_enterprise/provider.py:126 #: services/Sample/service.py:140 services/VCloud_enterprise/provider.py:36 -#: services/Vmware_enterprise/provider.py:44 services/Xen/provider.py:115 +#: services/Vmware_enterprise/provider.py:67 services/Xen/provider.py:115 #: transports/HTML5RDP/html5rdp.py:109 transports/HTML5VNC/html5vnc.py:76 #: transports/NoMachine_enterprise/nomachine_base.py:69 #: transports/PCoIP_enterprise/pcoip.py:60 transports/RDP/rdp_base.py:81 @@ -1177,7 +1182,7 @@ msgstr "Пароль пользователя LDAP" #: services/OpenGnsys/provider.py:164 services/OpenNebula/provider.py:86 #: services/OpenStack/provider.py:166 services/OpenStack/provider_legacy.py:183 #: services/Proxmox/provider.py:123 services/VCloud_enterprise/provider.py:63 -#: services/Vmware_enterprise/provider.py:50 +#: services/Vmware_enterprise/provider.py:99 msgid "Timeout" msgstr "Таймаут" @@ -1659,11 +1664,11 @@ msgstr "Аутентификатор SAML" msgid "SAML (v2.0) Authenticator" msgstr "Аутентификатор SAML (v2.0)" -#: auths/SAML_enterprise/saml.py:127 +#: auths/SAML_enterprise/saml.py:129 msgid "Private key" msgstr "Приватный ключ" -#: auths/SAML_enterprise/saml.py:128 +#: auths/SAML_enterprise/saml.py:132 msgid "" "Private key used for sign and encription, as generated in base 64 from " "openssl" @@ -1671,15 +1676,15 @@ msgstr "" "Приватный ключ, используемый для подписи и шифрования, сгенерированный в " "base64 c помощью openssl" -#: auths/SAML_enterprise/saml.py:129 auths/SAML_enterprise/saml.py:134 +#: auths/SAML_enterprise/saml.py:135 auths/SAML_enterprise/saml.py:146 msgid "Certificates" msgstr "Сертификаты" -#: auths/SAML_enterprise/saml.py:132 transports/SPICE/spice_base.py:82 +#: auths/SAML_enterprise/saml.py:140 transports/SPICE/spice_base.py:82 msgid "Certificate" msgstr "Сертификат" -#: auths/SAML_enterprise/saml.py:133 +#: auths/SAML_enterprise/saml.py:143 msgid "" "Public key used for sign and encription (public part of previous private " "key), as generated in base 64 from openssl" @@ -1687,64 +1692,64 @@ msgstr "" "Открытый ключ, используемый для подписывания и шифрования (общедоступная " "часть предыдущего частного), сгенерированный в base64 от openssl" -#: auths/SAML_enterprise/saml.py:137 +#: auths/SAML_enterprise/saml.py:151 msgid "IDP Metadata" msgstr "IDP метаданные" -#: auths/SAML_enterprise/saml.py:138 +#: auths/SAML_enterprise/saml.py:154 msgid "" "You can enter here the URL or the IDP metadata or the metadata itself (xml)" msgstr "" "Здесь вы можете указать URL-адрес, метаданные IDP или сами метаданные (xml)" -#: auths/SAML_enterprise/saml.py:139 auths/SAML_enterprise/saml.py:143 +#: auths/SAML_enterprise/saml.py:157 auths/SAML_enterprise/saml.py:166 msgid "Metadata" msgstr "Метаданные" -#: auths/SAML_enterprise/saml.py:142 +#: auths/SAML_enterprise/saml.py:161 msgid "Entity ID" msgstr "ID объекта" -#: auths/SAML_enterprise/saml.py:143 +#: auths/SAML_enterprise/saml.py:164 msgid "ID of the SP. If left blank, this will be autogenerated from server URL" msgstr "" "Идентификатор SP. Если оставить пустым, будет автоматически генерироваться с " "URL-адреса сервера" -#: auths/SAML_enterprise/saml.py:147 +#: auths/SAML_enterprise/saml.py:172 msgid "User name attrs" msgstr "Аттрибут имени пользователя" -#: auths/SAML_enterprise/saml.py:148 +#: auths/SAML_enterprise/saml.py:174 msgid "Fields from where to extract user name" msgstr "Поля, откуда извлекается имя пользователя" -#: auths/SAML_enterprise/saml.py:148 auths/SAML_enterprise/saml.py:153 -#: auths/SAML_enterprise/saml.py:158 +#: auths/SAML_enterprise/saml.py:176 auths/SAML_enterprise/saml.py:186 +#: auths/SAML_enterprise/saml.py:196 msgid "Attributes" msgstr "Аттрибуты" -#: auths/SAML_enterprise/saml.py:152 +#: auths/SAML_enterprise/saml.py:182 msgid "Group name attrs" msgstr "Аттрибуты имени группы" -#: auths/SAML_enterprise/saml.py:153 +#: auths/SAML_enterprise/saml.py:184 msgid "Fields from where to extract the groups" msgstr "Поля, откуда извлекается имя группы" -#: auths/SAML_enterprise/saml.py:157 +#: auths/SAML_enterprise/saml.py:192 msgid "Real name attrs" msgstr "Аттрибуты реального имени" -#: auths/SAML_enterprise/saml.py:158 +#: auths/SAML_enterprise/saml.py:194 msgid "Fields from where to extract the real name" msgstr "Поля, откуда извлекается реальное имя" -#: auths/SAML_enterprise/saml.py:176 +#: auths/SAML_enterprise/saml.py:216 msgid "SAML Authenticator does not support white spaces on field NAME" msgstr "Аутентификатор SAML не поддерживает пробелы в поле NAME" -#: auths/SAML_enterprise/saml.py:183 +#: auths/SAML_enterprise/saml.py:230 msgid "" "Server certificate should be a valid PEM (PEM certificates starts with -----" "BEGIN CERTIFICATE-----)" @@ -1752,11 +1757,11 @@ msgstr "" "Сертификат сервера должен быть действительным PEM (PEM сертификат начинается " "с -----BEGIN CERTIFICATE-----)" -#: auths/SAML_enterprise/saml.py:188 +#: auths/SAML_enterprise/saml.py:238 msgid "Invalid server certificate. " msgstr "Недопустимый сертификат сервера" -#: auths/SAML_enterprise/saml.py:192 +#: auths/SAML_enterprise/saml.py:249 msgid "" "Private key should be a valid PEM (PEM private keys starts with -----BEGIN " "RSA PRIVATE KEY-----" @@ -1764,48 +1769,48 @@ msgstr "" "Приватный ключ должен быть действительным PEM (PEM приватный ключ начинается " "с -----BEGIN RSA PRIVATE KEY-----)" -#: auths/SAML_enterprise/saml.py:197 +#: auths/SAML_enterprise/saml.py:257 msgid "Invalid private key. " msgstr "Недопустимый приватный ключ" -#: auths/SAML_enterprise/saml.py:214 +#: auths/SAML_enterprise/saml.py:276 #, python-brace-format msgid "Can't fetch url {0}: {1}" msgstr "Невозможно получить url {0}: {1}" -#: auths/SAML_enterprise/saml.py:222 +#: auths/SAML_enterprise/saml.py:287 msgid " (obtained from URL)" msgstr "(полученный из URL)" -#: auths/SAML_enterprise/saml.py:223 +#: auths/SAML_enterprise/saml.py:289 msgid "XML does not seem valid for IDP Metadata " msgstr "XML не подходит для метаданных IDP" -#: auths/SAML_enterprise/saml.py:239 +#: auths/SAML_enterprise/saml.py:311 msgid "Can't access idp metadata" msgstr "Нет доступа к IDP метаданным" -#: auths/Sample/SampleAuth.py:76 +#: auths/Sample/SampleAuth.py:79 msgid "Sample Authenticator" msgstr "Простой аутентификатор" -#: auths/Sample/SampleAuth.py:88 +#: auths/Sample/SampleAuth.py:91 msgid "Sample dummy authenticator" msgstr "Пример фиктивного аутентификатора" -#: auths/Sample/SampleAuth.py:106 +#: auths/Sample/SampleAuth.py:109 msgid "Fake User" msgstr "Фиктивный пользователь" -#: auths/Sample/SampleAuth.py:109 +#: auths/Sample/SampleAuth.py:112 msgid "Fake Group" msgstr "Фиктивная группа" -#: auths/Sample/SampleAuth.py:115 +#: auths/Sample/SampleAuth.py:118 msgid "Groups" msgstr "Группы" -#: auths/Sample/SampleAuth.py:128 +#: auths/Sample/SampleAuth.py:132 msgid "We need more than two groups!" msgstr "Нам нужно более двух групп!" @@ -1992,7 +1997,7 @@ msgstr "Базовый сервис" #: core/services/service.py:141 core/services/service.py:150 #: models/permissions.py:92 models/permissions.py:96 -#: services/Azure_enterprise/helpers.py:97 services/OpenStack/helpers.py:74 +#: services/Azure_enterprise/helpers.py:100 services/OpenStack/helpers.py:74 #: services/Proxmox/service.py:194 services/Sample/service.py:98 #: services/Sample/service.py:104 services/TestService_enterprise/service.py:28 msgid "None" @@ -2018,79 +2023,79 @@ msgstr "Туннель" msgid "Can't contact LDAP server" msgstr "Не удаётся связаться с сервером LDAP" -#: core/util/state.py:65 core/util/states/common.py:59 +#: core/util/state.py:66 core/util/states/common.py:59 msgid "Active" msgstr "Активный" -#: core/util/state.py:66 core/util/states/common.py:60 +#: core/util/state.py:67 core/util/states/common.py:60 msgid "Inactive" msgstr "Неактивный" -#: core/util/state.py:67 core/util/states/common.py:61 +#: core/util/state.py:68 core/util/states/common.py:61 msgid "Blocked" msgstr "Заблокирован" -#: core/util/state.py:68 core/util/states/common.py:62 +#: core/util/state.py:69 core/util/states/common.py:62 msgid "Waiting publication" msgstr "Ожидает публикации" -#: core/util/state.py:69 core/util/states/common.py:63 +#: core/util/state.py:70 core/util/states/common.py:63 msgid "In preparation" msgstr "Подготавливается" -#: core/util/state.py:70 core/util/states/common.py:64 +#: core/util/state.py:71 core/util/states/common.py:64 msgid "Valid" msgstr "Верный" -#: core/util/state.py:71 core/util/state.py:73 core/util/states/common.py:66 +#: core/util/state.py:72 core/util/state.py:74 core/util/states/common.py:66 msgid "Removing" msgstr "Удаляется" -#: core/util/state.py:72 +#: core/util/state.py:73 msgid "Restrained" msgstr "Ограниченный" -#: core/util/state.py:74 core/util/states/common.py:67 +#: core/util/state.py:75 core/util/states/common.py:67 msgid "Removed" msgstr "Удалён" -#: core/util/state.py:75 core/util/states/common.py:68 +#: core/util/state.py:76 core/util/states/common.py:68 msgid "Canceled" msgstr "Отменён" -#: core/util/state.py:76 core/util/states/common.py:69 +#: core/util/state.py:77 core/util/states/common.py:69 msgid "Canceling" msgstr "Отменяется" -#: core/util/state.py:77 core/util/states/common.py:70 +#: core/util/state.py:78 core/util/states/common.py:70 msgid "Error" msgstr "Ошибка" -#: core/util/state.py:79 core/util/states/common.py:72 +#: core/util/state.py:80 core/util/states/common.py:72 msgid "Finished" msgstr "Завершено" -#: core/util/state.py:80 core/util/states/common.py:73 +#: core/util/state.py:81 core/util/states/common.py:73 msgid "Waiting execution" msgstr "Ожидает запуска" -#: core/util/state.py:81 core/util/states/common.py:74 +#: core/util/state.py:82 core/util/states/common.py:74 msgid "Balancing" msgstr "Балансируется" -#: core/util/state.py:82 core/util/states/common.py:75 +#: core/util/state.py:83 core/util/states/common.py:75 msgid "In maintenance" msgstr "На техническом обслуживании" -#: core/util/state.py:83 core/util/states/common.py:76 +#: core/util/state.py:84 core/util/states/common.py:76 msgid "Waiting OS" msgstr "Ожидает ОС" -#: core/util/state.py:84 +#: core/util/state.py:85 msgid "Too many preparing services" msgstr "Слишком много подготавливаемых сервисов" -#: core/util/state.py:85 +#: core/util/state.py:86 msgid "Meta member" msgstr "Мета-член" @@ -2122,23 +2127,23 @@ msgstr "Пользователи с услугами" msgid "Cached" msgstr "Кешировано" -#: core/util/tools.py:144 +#: core/util/tools.py:152 msgid "{} days {:d}:{:02d}:{:02d}" msgstr "{} дней {: d}: {: 02d}: {: 02d}" -#: core/util/tools.py:161 +#: core/util/tools.py:171 msgid "The basename is not a valid for a hostname" msgstr "Базовое имя не является допустимым для имени хоста" -#: core/util/tools.py:164 +#: core/util/tools.py:176 msgid "The length of basename plus length must be greater than 0" msgstr "Длина базового имени плюс длина должна быть больше 0" -#: core/util/tools.py:167 +#: core/util/tools.py:181 msgid "The length of basename plus length must not be greater than 15" msgstr "Длина базового имени плюс длина числовой части не должна превышать 15" -#: core/util/tools.py:170 +#: core/util/tools.py:186 msgid "The machine name can't be only numbers" msgstr "Имя машины не может быть только из номеров" @@ -2146,30 +2151,30 @@ msgstr "Имя машины не может быть только из номе msgid "Numeric" msgstr "Численный" -#: core/util/validators.py:64 +#: core/util/validators.py:66 #, python-brace-format msgid "{0} must be greater than or equal to {1}" msgstr "{0} должен быть больше или равен чем {1}" -#: core/util/validators.py:67 +#: core/util/validators.py:74 #, python-brace-format msgid "{0} must be lower than or equal to {1}" msgstr "{0} должен быть меньше либо равен, чем {1}" -#: core/util/validators.py:72 +#: core/util/validators.py:81 #, python-brace-format msgid "{0} contains invalid characters" msgstr "{0} содержит недопустимые символы" -#: core/util/validators.py:81 +#: core/util/validators.py:90 msgid "{} exceeds maximum host name length." msgstr "{} превышает максимальную длину имени хоста." -#: core/util/validators.py:92 +#: core/util/validators.py:103 msgid "{} is not a valid hostname" msgstr "{} не является допустимым именем хоста" -#: core/util/validators.py:136 +#: core/util/validators.py:152 msgid "" "Invalid mac range. Mac range must be in format XX:XX:XX:XX:XX:XX-XX:XX:XX:XX:" "XX:XX" @@ -3116,8 +3121,8 @@ msgstr "Полученные от подписок" #: services/OpenGnsys/provider.py:141 services/OpenNebula/provider.py:83 #: services/OpenStack/provider.py:143 services/OpenStack/provider_legacy.py:160 #: services/Proxmox/provider.py:100 services/VCloud_enterprise/provider.py:60 -#: services/Vmware_enterprise/provider.py:47 -#: services/Vmware_enterprise/provider.py:99 services/Xen/provider.py:123 +#: services/Vmware_enterprise/provider.py:76 +#: services/Vmware_enterprise/provider.py:182 services/Xen/provider.py:123 msgid "Creation concurrency" msgstr "Одновременное создание" @@ -3129,7 +3134,7 @@ msgstr "Одновременное создание" #: services/OpenGnsys/provider.py:146 services/OpenNebula/provider.py:83 #: services/OpenStack/provider.py:148 services/OpenStack/provider_legacy.py:165 #: services/Proxmox/provider.py:105 services/VCloud_enterprise/provider.py:60 -#: services/Vmware_enterprise/provider.py:47 services/Xen/provider.py:128 +#: services/Vmware_enterprise/provider.py:81 services/Xen/provider.py:128 msgid "Maximum number of concurrently creating VMs" msgstr "Максимальное количество одновременно создаваемых ВМ" @@ -3141,8 +3146,8 @@ msgstr "Максимальное количество одновременно #: services/OpenGnsys/provider.py:152 services/OpenNebula/provider.py:84 #: services/OpenStack/provider.py:154 services/OpenStack/provider_legacy.py:171 #: services/Proxmox/provider.py:111 services/VCloud_enterprise/provider.py:61 -#: services/Vmware_enterprise/provider.py:48 -#: services/Vmware_enterprise/provider.py:100 services/Xen/provider.py:134 +#: services/Vmware_enterprise/provider.py:87 +#: services/Vmware_enterprise/provider.py:188 services/Xen/provider.py:134 msgid "Removal concurrency" msgstr "Одновременное удаление" @@ -3154,7 +3159,7 @@ msgstr "Одновременное удаление" #: services/OpenGnsys/provider.py:157 services/OpenNebula/provider.py:84 #: services/OpenStack/provider.py:159 services/OpenStack/provider_legacy.py:176 #: services/Proxmox/provider.py:116 services/VCloud_enterprise/provider.py:61 -#: services/Vmware_enterprise/provider.py:48 services/Xen/provider.py:139 +#: services/Vmware_enterprise/provider.py:92 services/Xen/provider.py:139 msgid "Maximum number of concurrently removing VMs" msgstr "Максимальное количество одновременно удаляемых ВМ" @@ -3369,7 +3374,7 @@ msgstr "Таймаут подключения к HyperV в секундах" #: services/HyperV_enterprise/legacy/provider.py:95 #: services/HyperV_enterprise/provider.py:103 #: services/Nutanix_enterprise/provider.py:45 services/OVirt/provider.py:117 -#: services/Vmware_enterprise/provider.py:51 services/Xen/provider.py:146 +#: services/Vmware_enterprise/provider.py:109 services/Xen/provider.py:146 msgid "Macs range" msgstr "Максимальный диапазон" @@ -3386,7 +3391,7 @@ msgstr "Тест соединения успешен" #: services/HyperV_enterprise/legacy/provider.py:268 #: services/NutanixPrism_enterprise/provider.py:262 #: services/Nutanix_enterprise/provider.py:228 services/OVirt/provider.py:457 -#: services/Proxmox/provider.py:312 services/Vmware_enterprise/provider.py:168 +#: services/Proxmox/provider.py:312 services/Vmware_enterprise/provider.py:291 msgid "Connection failed. Check connection params" msgstr "Ошибка подключения. Проверьте параметры подключения" @@ -4223,12 +4228,12 @@ msgstr "Поставщик машин статических IP" msgid "Provides connection to machines by IP" msgstr "Обеспечивает подключение к машинам по IP" -#: services/PhysicalMachines/service_multi.py:63 +#: services/PhysicalMachines/service_multi.py:64 #: services/Vmware_enterprise/service_fixed.py:55 msgid "Service Token" msgstr "Ключ услуги" -#: services/PhysicalMachines/service_multi.py:66 +#: services/PhysicalMachines/service_multi.py:67 #: services/Vmware_enterprise/service_fixed.py:57 msgid "" "Service token that will be used by actors to communicate with service. Leave " @@ -4237,43 +4242,56 @@ msgstr "" "Ключ услуги, который будет использоваться клиентами для связи с сервисом. " "Оставьте пустым для постоянного назначения." -#: services/PhysicalMachines/service_multi.py:74 +#: services/PhysicalMachines/service_multi.py:75 #: services/RDS_enterprise/provider.py:49 msgid "List of servers" msgstr "Список серверов" -#: services/PhysicalMachines/service_multi.py:75 +#: services/PhysicalMachines/service_multi.py:76 msgid "List of servers available for this service" msgstr "Список серверов, доступных для этой услуги" -#: services/PhysicalMachines/service_multi.py:80 +#: services/PhysicalMachines/service_multi.py:81 msgid "Check Port" msgstr "Проверьте порт" -#: services/PhysicalMachines/service_multi.py:84 +#: services/PhysicalMachines/service_multi.py:85 msgid "" "If non zero, only hosts responding to connection on that port will be served." msgstr "" "Если не ноль, будут обслуживаться только хосты, отвечающие соединениям на " "этом порту" -#: services/PhysicalMachines/service_multi.py:91 +#: services/PhysicalMachines/service_multi.py:92 msgid "Skip time" msgstr "Пропустить время" -#: services/PhysicalMachines/service_multi.py:94 +#: services/PhysicalMachines/service_multi.py:95 msgid "If a host fails to check, skip it for this time (in minutes)." msgstr "Если хост не может проверить, пропустите его на это время (в минутах)." -#: services/PhysicalMachines/service_multi.py:101 +#: services/PhysicalMachines/service_multi.py:103 +#| msgid "Max. session time" +msgid "Max session per machine" +msgstr "Максимальное количество сеансов на машину" + +#: services/PhysicalMachines/service_multi.py:107 +msgid "" +"Maximum session duration before UDS thinks this machine got locked and " +"releases it (hours). 0 means \"never\"." +msgstr "" +"Максимальная продолжительность сеанса, прежде чем UDS решит, что эта машина " +"заблокирована, и освободит ее (часы). 0 означает «никогда»." + +#: services/PhysicalMachines/service_multi.py:115 msgid "Static Multiple IP" msgstr "Статический множественный IP-адрес" -#: services/PhysicalMachines/service_multi.py:103 +#: services/PhysicalMachines/service_multi.py:117 msgid "This service provides access to POWERED-ON Machines by IP" msgstr "Эта услуга обеспечивает доступ к включенным машинам по IP" -#: services/PhysicalMachines/service_multi.py:134 +#: services/PhysicalMachines/service_multi.py:150 msgid "Invalid value detected on servers list: \"{}\"" msgstr "В списке серверов обнаружено недопустимое значение: \"{}\"" @@ -4638,7 +4656,7 @@ msgstr "" msgid "Wait spawned processes" msgstr "Ожидание порожденных процессов" -#: services/RDS_enterprise/service.py:99 +#: services/RDS_enterprise/service.py:100 msgid "" "If active, RDS Actor will wait until the application and all spawned " "processes finished before considering app logged out" @@ -4646,7 +4664,7 @@ msgstr "" "Если активен, RDS Actor будет ждать, пока приложение и все порожденные " "процессы завершены до того, как приложение выйдет из системы" -#: services/RDS_enterprise/service.py:109 +#: services/RDS_enterprise/service.py:112 msgid "A valid application path is required" msgstr "Требуется допустимый путь к приложению" @@ -4894,27 +4912,27 @@ msgstr "Локальный" msgid "Remote" msgstr "Удаленный" -#: services/Vmware_enterprise/provider.py:41 +#: services/Vmware_enterprise/provider.py:47 msgid "VMWare VCenter Server IP or Hostname" msgstr "IP адрес или имя сервера VMWare VCenter" -#: services/Vmware_enterprise/provider.py:42 +#: services/Vmware_enterprise/provider.py:55 msgid "VMWare VC Server Port (usually 443)" msgstr "Порт сервера VMWare VCenter (обыно 443)" -#: services/Vmware_enterprise/provider.py:43 +#: services/Vmware_enterprise/provider.py:62 msgid "User with valid privileges on VC" msgstr "Пользователь с действующими правами на VC" -#: services/Vmware_enterprise/provider.py:44 +#: services/Vmware_enterprise/provider.py:69 msgid "Password of the user of the VC" msgstr "Пароль пользователя VCenter" -#: services/Vmware_enterprise/provider.py:50 +#: services/Vmware_enterprise/provider.py:102 msgid "Timeout in seconds of connection to VC" msgstr "Таймаут в секундах подключения к VC" -#: services/Vmware_enterprise/provider.py:52 +#: services/Vmware_enterprise/provider.py:114 msgid "" "Range of valid macs for created machines. Must be inside " "00:50:56:00:00:00-00:50:56:3F:FF:FF" @@ -4922,15 +4940,15 @@ msgstr "" "Диапазон допустимых макросов для созданных машин. Должно быть внутри " "00:50:56:00:00:00-00:50:56:3F:FF:FF" -#: services/Vmware_enterprise/provider.py:56 +#: services/Vmware_enterprise/provider.py:126 msgid "VMWare VCenter Platform Provider" msgstr "Поставщик платформы VMWare VCenter" -#: services/Vmware_enterprise/provider.py:58 +#: services/Vmware_enterprise/provider.py:128 msgid "Provides connection to Virtual Center Services" msgstr "Обеспечивает подключение к Virtual Center Services" -#: services/Vmware_enterprise/provider.py:166 +#: services/Vmware_enterprise/provider.py:287 msgid "Connection params ok" msgstr "Параметры подключения ОК" @@ -5414,7 +5432,7 @@ msgstr "Показать обои" #: transports/HTML5RDP/html5rdp.py:134 #: transports/HTML5RDS_enterprise/html5rds.py:123 -#: transports/RDP/rdp_base.py:213 +#: transports/RDP/rdp_base.py:222 msgid "" "If checked, the wallpaper and themes will be shown on machine (better user " "experience, more bandwidth)" @@ -5424,25 +5442,25 @@ msgstr "" #: transports/HTML5RDP/html5rdp.py:139 #: transports/HTML5RDS_enterprise/html5rds.py:128 -#: transports/RDP/rdp_base.py:226 +#: transports/RDP/rdp_base.py:235 msgid "Allow Desk.Comp." msgstr "Разрешить композицию рабочего стола" #: transports/HTML5RDP/html5rdp.py:141 #: transports/HTML5RDS_enterprise/html5rds.py:130 -#: transports/RDP/rdp_base.py:228 +#: transports/RDP/rdp_base.py:237 msgid "If checked, desktop composition will be allowed" msgstr "Если флажок установлен, будет разрешена композиция рабочего стола" #: transports/HTML5RDP/html5rdp.py:145 #: transports/HTML5RDS_enterprise/html5rds.py:134 -#: transports/RDP/rdp_base.py:232 transports/RDS_enterprise/rds_base.py:150 +#: transports/RDP/rdp_base.py:241 transports/RDS_enterprise/rds_base.py:150 msgid "Font Smoothing" msgstr "Сглаживание шрифтов" #: transports/HTML5RDP/html5rdp.py:147 #: transports/HTML5RDS_enterprise/html5rds.py:136 -#: transports/RDS_enterprise/rds_base.py:152 +#: transports/RDS_enterprise/rds_base.py:153 msgid "If checked, fonts smoothing will be allowed (windows clients only)" msgstr "" "Если флажок установлен, разрешено сглаживание шрифтов (только для клиентов " @@ -5616,13 +5634,22 @@ msgstr "" msgid "TLS (Transport Security Layer encryption)" msgstr "TLS (шифрование уровня безопасности передачи)" -#: transports/HTML5RDP/html5rdp.py:246 +#: transports/HTML5RDP/html5rdp.py:247 transports/RDP/rdp_base.py:172 +#| msgid "Port" +msgid "RDP Port" +msgstr "Порт RDP" + +#: transports/HTML5RDP/html5rdp.py:248 transports/RDP/rdp_base.py:173 +msgid "Use this port as RDP port. Defaults to 3389." +msgstr "Используйте этот порт как порт RDP. По умолчанию 3389." + +#: transports/HTML5RDP/html5rdp.py:256 #: transports/HTML5RDS_enterprise/html5rds.py:223 #: transports/HTML5VNC/html5vnc.py:109 msgid "Ticket Validity" msgstr "Срок действия билета" -#: transports/HTML5RDP/html5rdp.py:250 +#: transports/HTML5RDP/html5rdp.py:260 #: transports/HTML5RDS_enterprise/html5rds.py:227 #: transports/HTML5VNC/html5vnc.py:112 msgid "" @@ -5632,42 +5659,42 @@ msgstr "" "Допустимое время, в секундах, для клиента HTML5 для перезагрузки данных из " "UDS Broker. Рекомендуется использовать значение по умолчанию 60." -#: transports/HTML5RDP/html5rdp.py:259 +#: transports/HTML5RDP/html5rdp.py:269 #: transports/HTML5RDS_enterprise/html5rds.py:236 #: transports/HTML5VNC/html5vnc.py:119 transports/URL/url_custom.py:82 msgid "Force new HTML Window" msgstr "Открывать HTML в новом окне" -#: transports/HTML5RDP/html5rdp.py:260 +#: transports/HTML5RDP/html5rdp.py:270 #: transports/HTML5RDS_enterprise/html5rds.py:237 #: transports/HTML5VNC/html5vnc.py:120 msgid "Select windows behavior for new connections on HTML5" msgstr "Выберите поведение Windows для новых подключений в HTML5" -#: transports/HTML5RDP/html5rdp.py:265 +#: transports/HTML5RDP/html5rdp.py:275 #: transports/HTML5RDS_enterprise/html5rds.py:242 #: transports/HTML5VNC/html5vnc.py:123 msgid "Open every connection on the same window, but keeps UDS window." msgstr "Открывать каждое соединение в одном окне, но сохранять окно UDS." -#: transports/HTML5RDP/html5rdp.py:268 +#: transports/HTML5RDP/html5rdp.py:278 #: transports/HTML5RDS_enterprise/html5rds.py:245 #: transports/HTML5VNC/html5vnc.py:124 msgid "Force every connection to be opened on a new window." msgstr "Принудительно открывать каждое соединение в новом окне." -#: transports/HTML5RDP/html5rdp.py:272 +#: transports/HTML5RDP/html5rdp.py:282 #: transports/HTML5RDS_enterprise/html5rds.py:249 #: transports/HTML5VNC/html5vnc.py:125 msgid "Override UDS window and replace it with the connection." msgstr "Переопределите окно UDS и замените его подключением." -#: transports/HTML5RDP/html5rdp.py:280 +#: transports/HTML5RDP/html5rdp.py:290 #: transports/HTML5RDS_enterprise/html5rds.py:256 msgid "Glyptodon Enterprise context path" msgstr "Путь к контексту Glyptodon Enterprise" -#: transports/HTML5RDP/html5rdp.py:283 +#: transports/HTML5RDP/html5rdp.py:293 #: transports/HTML5RDS_enterprise/html5rds.py:259 msgid "" "Customized path for Glyptodon Enterprise tunnel. (Only valid for Glyptodon " @@ -5676,13 +5703,13 @@ msgstr "" "Настроенный путь для туннеля Glyptodon Enterprise. (Действительно только для " "Glyptodon Enterprise Tunnel)" -#: transports/HTML5RDP/html5rdp.py:298 +#: transports/HTML5RDP/html5rdp.py:308 #: transports/HTML5RDS_enterprise/html5rds.py:273 #: transports/HTML5VNC/html5vnc.py:137 msgid "The server must be http or https" msgstr "Сервер должен быть http или https" -#: transports/HTML5RDP/html5rdp.py:303 +#: transports/HTML5RDP/html5rdp.py:313 #: transports/HTML5RDS_enterprise/html5rds.py:278 msgid "" "Empty credentials (on Credentials tab) is only allowed with Security level " @@ -5735,7 +5762,7 @@ msgstr "Порт сервера VNC" msgid "Port of the VNC server." msgstr "Порт сервера VNC." -#: transports/HTML5VNC/html5vnc.py:90 transports/RDP/rdp_base.py:196 +#: transports/HTML5VNC/html5vnc.py:90 transports/RDP/rdp_base.py:205 #: transports/RDS_enterprise/rds_base.py:136 msgid "Color depth" msgstr "Глубина цвета" @@ -5850,7 +5877,7 @@ msgstr "" "(рекомендуется)." #: transports/NoMachine_enterprise/nomachine_tunneltransport.py:114 -#: transports/RDP/rdptunnel.py:134 transports/RDS_enterprise/rdstunnel.py:126 +#: transports/RDP/rdptunnel.py:135 transports/RDS_enterprise/rdstunnel.py:126 #: transports/SPICE/spice_tunnel.py:106 transports/X2GO/x2go_tunnel.py:117 msgid "Must use HOST:PORT in Tunnel Server Field" msgstr "Нужно использовать HOST:PORT в поле туннельного сервера" @@ -5967,27 +5994,27 @@ msgstr "Поддержка Credssp" msgid "If checked, will enable Credentials Provider Support)" msgstr "Если флажок установлен, включит поддержку поставщика учетных данных" -#: transports/RDP/rdp_base.py:172 +#: transports/RDP/rdp_base.py:181 msgid "Screen Size" msgstr "Размер экрана" -#: transports/RDP/rdp_base.py:174 +#: transports/RDP/rdp_base.py:183 msgid "Screen size for this transport" msgstr "Размер экрана для этого транспорта" -#: transports/RDP/rdp_base.py:198 transports/RDS_enterprise/rds_base.py:138 +#: transports/RDP/rdp_base.py:207 transports/RDS_enterprise/rds_base.py:138 msgid "Color depth for this connection" msgstr "Глубина цвета для этого подключения" -#: transports/RDP/rdp_base.py:210 +#: transports/RDP/rdp_base.py:219 msgid "Wallpaper/theme" msgstr "Обои/темы" -#: transports/RDP/rdp_base.py:218 +#: transports/RDP/rdp_base.py:227 msgid "Multiple monitors" msgstr "Несколько мониторов" -#: transports/RDP/rdp_base.py:221 +#: transports/RDP/rdp_base.py:230 msgid "" "If checked, all client monitors will be used for displaying (only works on " "windows clients)" @@ -5995,65 +6022,65 @@ msgstr "" "Если этот флажок установлен, все клиентские мониторы будут использоваться " "для отображения (работает только на клиентах Windows)" -#: transports/RDP/rdp_base.py:234 +#: transports/RDP/rdp_base.py:244 msgid "If checked, fonts smoothing will be allowed" msgstr "Если флажок установлен, разрешается сглаживание шрифтов" -#: transports/RDP/rdp_base.py:238 +#: transports/RDP/rdp_base.py:248 msgid "Connection Bar" msgstr "Окно подключения" -#: transports/RDP/rdp_base.py:240 +#: transports/RDP/rdp_base.py:250 msgid "If checked, connection bar will be shown (only on Windows clients)" msgstr "" "Если включено, окно подключения будет показано (только на Windows клиентах)" -#: transports/RDP/rdp_base.py:246 transports/RDS_enterprise/rds_base.py:174 +#: transports/RDP/rdp_base.py:256 transports/RDS_enterprise/rds_base.py:179 msgid "Multimedia sync" msgstr "Мультимедийная синхронизация" -#: transports/RDP/rdp_base.py:249 transports/RDS_enterprise/rds_base.py:177 +#: transports/RDP/rdp_base.py:259 transports/RDS_enterprise/rds_base.py:182 msgid "If checked. Linux client will use multimedia parameter for xfreerdp" msgstr "" "Если отмечено. Клиент Linux будет использовать мультимедийный параметр для " "xfreerdp" -#: transports/RDP/rdp_base.py:254 transports/RDS_enterprise/rds_base.py:182 +#: transports/RDP/rdp_base.py:264 transports/RDS_enterprise/rds_base.py:187 msgid "Use Alsa" msgstr "Использовать Alsa" -#: transports/RDP/rdp_base.py:257 transports/RDS_enterprise/rds_base.py:185 +#: transports/RDP/rdp_base.py:267 transports/RDS_enterprise/rds_base.py:190 msgid "" "If checked, Linux client will try to use ALSA, otherwise Pulse will be used" msgstr "" "Если флажок установлен, клиент Linux попытается использовать ALSA, иначе " "будет использоваться Pulse" -#: transports/RDP/rdp_base.py:262 transports/RDS_enterprise/rds_base.py:190 +#: transports/RDP/rdp_base.py:272 transports/RDS_enterprise/rds_base.py:195 msgid "Printer string" msgstr "Строка принтера" -#: transports/RDP/rdp_base.py:265 transports/RDS_enterprise/rds_base.py:193 +#: transports/RDP/rdp_base.py:275 transports/RDS_enterprise/rds_base.py:198 msgid "If printer is checked, the printer string used with xfreerdp client" msgstr "" "Если принтер установлен, строка принтера, используемая с клиентом xfreerdp" -#: transports/RDP/rdp_base.py:271 transports/RDS_enterprise/rds_base.py:199 +#: transports/RDP/rdp_base.py:281 transports/RDS_enterprise/rds_base.py:204 msgid "Smartcard string" msgstr "Строка Smartcard" -#: transports/RDP/rdp_base.py:274 transports/RDS_enterprise/rds_base.py:202 +#: transports/RDP/rdp_base.py:284 transports/RDS_enterprise/rds_base.py:207 msgid "If smartcard is checked, the smartcard string used with xfreerdp client" msgstr "" "Если проверена смарт-карта, строка смарт-карты, используемая с клиентом " "freerdp" -#: transports/RDP/rdp_base.py:280 transports/RDP/rdp_base.py:300 -#: transports/RDS_enterprise/rds_base.py:208 +#: transports/RDP/rdp_base.py:290 transports/RDP/rdp_base.py:310 +#: transports/RDS_enterprise/rds_base.py:213 msgid "Custom parameters" msgstr "Пользовательские параметры" -#: transports/RDP/rdp_base.py:283 transports/RDS_enterprise/rds_base.py:211 +#: transports/RDP/rdp_base.py:293 transports/RDS_enterprise/rds_base.py:216 msgid "" "If not empty, extra parameter to include for Linux Client (for example /usb:" "id,dev:054c:0268, or aything compatible with your xfreerdp client)" @@ -6061,11 +6088,11 @@ msgstr "" "Если не пуст, добавочный параметр для включения клиента Linux (например, /" "usb:id,dev:054c:0268 или любой совместимый с вашим клиентом xfreerdp)" -#: transports/RDP/rdp_base.py:290 +#: transports/RDP/rdp_base.py:300 msgid "Allow Microsoft Rdp Client" msgstr "Разрешить клиент Microsoft Rdp" -#: transports/RDP/rdp_base.py:293 +#: transports/RDP/rdp_base.py:303 msgid "" "If checked, allows use of Microsoft Remote Desktop Client. PASSWORD WILL BE " "PROMPTED!" @@ -6073,7 +6100,7 @@ msgstr "" "Если этот флажок установлен, разрешается использование клиента удаленного " "рабочего стола Microsoft. ПАРОЛЬ БУДЕТ УКАЗАНО!" -#: transports/RDP/rdp_base.py:303 +#: transports/RDP/rdp_base.py:313 msgid "" "If not empty, extra parameter to include for Mac OS X Freerdp Client (for " "example /usb:id,dev:054c:0268, or aything compatible with your xfreerdp " @@ -6097,20 +6124,32 @@ msgid "RDS access using RDP for vApps. Direct connection." msgstr "RDS-доступ с использованием RDP для vApps. Прямое подключение." #: transports/RDS_enterprise/rds_base.py:157 +#| msgid "Window Size" +msgid "Window state" +msgstr "Состояние окна" + +#: transports/RDS_enterprise/rds_base.py:159 +msgid "UDS Will try to execute the applicaiton with the window in this state" +msgstr "UDS попытается запустить приложение с окном в этом состоянии" + +#: transports/RDS_enterprise/rds_base.py:162 +msgid "Normal" +msgstr "Нормальный" + +#: transports/RDS_enterprise/rds_base.py:163 msgid "Maximized" msgstr "Развернутый" -#: transports/RDS_enterprise/rds_base.py:160 -msgid "If checked, UDS Actor will try to execute application maximized)" -msgstr "" -"Если этот флажок установлен, UDS Actor будет пытаться запустить приложение в " -"развернутом виде)" +#: transports/RDS_enterprise/rds_base.py:164 +#| msgid "Maximized" +msgid "Minimized" +msgstr "Свернуто" -#: transports/RDS_enterprise/rds_base.py:165 +#: transports/RDS_enterprise/rds_base.py:170 msgid "Execute as shell" msgstr "Выполнить как оболочку" -#: transports/RDS_enterprise/rds_base.py:169 +#: transports/RDS_enterprise/rds_base.py:174 msgid "" "If checked, Linux client will execute application in a session instead of a " "remoteapp" @@ -6315,7 +6354,7 @@ msgstr "" msgid "Invalid data" msgstr "Неверные данные" -#: web/util/configjs.py:146 +#: web/util/configjs.py:145 msgid "Access limited by calendar" msgstr "Доступ ограничен календарем" @@ -6455,6 +6494,6 @@ msgstr "" "Ваш сервис создается, пожалуйста, подождите несколько секунд, пока мы " "завершим." -#: web/views/auth.py:151 +#: web/views/auth.py:154 msgid "Authenticator does not provide information" msgstr "Аутентификатор не предоставляет информацию" diff --git a/server/src/uds/locale/ru/LC_MESSAGES/djangojs.po b/server/src/uds/locale/ru/LC_MESSAGES/djangojs.po index 6e2ebcd43..2ad90dc94 100644 --- a/server/src/uds/locale/ru/LC_MESSAGES/djangojs.po +++ b/server/src/uds/locale/ru/LC_MESSAGES/djangojs.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: OpenUDS\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-08 14:18+0200\n" +"POT-Creation-Date: 2021-07-29 13:12+0200\n" "PO-Revision-Date: 2021-07-08 10:59+0000\n" "Last-Translator: Adolfo Gómez \n" "Language-Team: Russian (http://www.transifex.com/openuds/openuds/language/" @@ -153,23 +153,23 @@ msgstr "пул-группа" msgid "Go to" msgstr "Перейти к" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:271 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:272 msgid "yes" msgstr "да" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:272 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:273 msgid "no" msgstr "нет" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:268 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:269 msgid "Error saving: " msgstr "Ошибка сохранения:" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:269 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:270 msgid "Error saving element" msgstr "Ошибка сохранения элемента" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:270 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:271 msgid "Error handling your request" msgstr "Ошибка обработки вашего запроса" @@ -278,8 +278,8 @@ msgstr "Ограниченных сервисов: #RESTRAINED_NUMBER#" #: static/admin/main.js:1 static/admin/translations-fakejs.js:105 #: static/admin/translations-fakejs.js:249 -#: static/admin/translations-fakejs.js:398 -#: static/admin/translations-fakejs.js:450 +#: static/admin/translations-fakejs.js:402 +#: static/admin/translations-fakejs.js:454 msgid "Assigned services" msgstr "Назначенные сервисы" @@ -288,8 +288,8 @@ msgid "Services in use" msgstr "Используемые услуги" #: static/admin/main.js:1 static/admin/translations-fakejs.js:21 -#: static/admin/translations-fakejs.js:291 -#: static/admin/translations-fakejs.js:299 +#: static/admin/translations-fakejs.js:292 +#: static/admin/translations-fakejs.js:300 #: static/modern/translations-fakejs.js:30 msgid "Filter" msgstr "Фильтр" @@ -307,25 +307,25 @@ msgid "Full Access" msgstr "Полный доступ" #: static/admin/main.js:1 static/admin/translations-fakejs.js:15 -#: static/admin/translations-fakejs.js:358 -#: static/admin/translations-fakejs.js:405 -#: static/admin/translations-fakejs.js:410 +#: static/admin/translations-fakejs.js:362 +#: static/admin/translations-fakejs.js:409 +#: static/admin/translations-fakejs.js:414 msgid "User" msgstr "Пользователь" #: static/admin/main.js:1 static/admin/translations-fakejs.js:16 #: static/admin/translations-fakejs.js:83 #: static/admin/translations-fakejs.js:93 -#: static/admin/translations-fakejs.js:423 -#: static/admin/translations-fakejs.js:444 +#: static/admin/translations-fakejs.js:427 +#: static/admin/translations-fakejs.js:448 msgid "Group" msgstr "Группа" #: static/admin/main.js:1 static/admin/translations-fakejs.js:17 -#: static/admin/translations-fakejs.js:404 -#: static/admin/translations-fakejs.js:409 -#: static/admin/translations-fakejs.js:422 -#: static/admin/translations-fakejs.js:443 +#: static/admin/translations-fakejs.js:408 +#: static/admin/translations-fakejs.js:413 +#: static/admin/translations-fakejs.js:426 +#: static/admin/translations-fakejs.js:447 #: static/modern/translations-fakejs.js:73 msgid "Authenticator" msgstr "Аутентификатор" @@ -397,8 +397,8 @@ msgstr "Пул" #: static/admin/main.js:1 static/admin/translations-fakejs.js:77 #: static/admin/translations-fakejs.js:96 #: static/admin/translations-fakejs.js:230 -#: static/admin/translations-fakejs.js:339 -#: static/admin/translations-fakejs.js:351 +#: static/admin/translations-fakejs.js:343 +#: static/admin/translations-fakejs.js:355 msgid "State" msgstr "Состояние" @@ -410,21 +410,21 @@ msgstr "Сервисы пользователя" #: static/admin/main.js:1 static/admin/translations-fakejs.js:88 #: static/admin/translations-fakejs.js:232 -#: static/admin/translations-fakejs.js:319 -#: static/admin/translations-fakejs.js:397 +#: static/admin/translations-fakejs.js:321 +#: static/admin/translations-fakejs.js:401 msgid "Service pools" msgstr "Пулы услуг" #: static/admin/main.js:1 static/admin/translations-fakejs.js:3 #: static/admin/translations-fakejs.js:7 -#: static/admin/translations-fakejs.js:306 +#: static/admin/translations-fakejs.js:308 #: static/modern/translations-fakejs.js:44 msgid "Yes" msgstr "Да" #: static/admin/main.js:1 static/admin/translations-fakejs.js:4 #: static/admin/translations-fakejs.js:8 -#: static/admin/translations-fakejs.js:307 +#: static/admin/translations-fakejs.js:309 #: static/modern/translations-fakejs.js:45 msgid "No" msgstr "Нет" @@ -481,10 +481,10 @@ msgstr "Все" #: static/admin/main.js:1 static/admin/translations-fakejs.js:84 #: static/admin/translations-fakejs.js:94 -#: static/admin/translations-fakejs.js:338 -#: static/admin/translations-fakejs.js:350 -#: static/admin/translations-fakejs.js:375 -#: static/admin/translations-fakejs.js:431 +#: static/admin/translations-fakejs.js:342 +#: static/admin/translations-fakejs.js:354 +#: static/admin/translations-fakejs.js:379 +#: static/admin/translations-fakejs.js:435 msgid "Comments" msgstr "Комментарии" @@ -510,25 +510,25 @@ msgstr "Сервисный пул" #: static/admin/main.js:1 static/admin/translations-fakejs.js:90 #: static/admin/translations-fakejs.js:103 -#: static/admin/translations-fakejs.js:286 -#: static/admin/translations-fakejs.js:321 -#: static/admin/translations-fakejs.js:333 -#: static/admin/translations-fakejs.js:359 +#: static/admin/translations-fakejs.js:287 +#: static/admin/translations-fakejs.js:323 +#: static/admin/translations-fakejs.js:337 #: static/admin/translations-fakejs.js:363 -#: static/admin/translations-fakejs.js:369 -#: static/admin/translations-fakejs.js:399 -#: static/admin/translations-fakejs.js:452 +#: static/admin/translations-fakejs.js:367 +#: static/admin/translations-fakejs.js:373 +#: static/admin/translations-fakejs.js:403 +#: static/admin/translations-fakejs.js:456 msgid "Groups" msgstr "Группы" #: static/admin/main.js:1 static/admin/translations-fakejs.js:104 -#: static/admin/translations-fakejs.js:331 -#: static/admin/translations-fakejs.js:364 +#: static/admin/translations-fakejs.js:335 +#: static/admin/translations-fakejs.js:368 msgid "Services Pools" msgstr "Сервисные пулы" #: static/admin/main.js:1 static/admin/translations-fakejs.js:79 -#: static/admin/translations-fakejs.js:374 +#: static/admin/translations-fakejs.js:378 msgid "Name" msgstr "Имя" @@ -545,26 +545,26 @@ msgid "Last access" msgstr "Последний доступ" #: static/admin/main.js:1 static/admin/translations-fakejs.js:89 -#: static/admin/translations-fakejs.js:285 -#: static/admin/translations-fakejs.js:332 -#: static/admin/translations-fakejs.js:368 +#: static/admin/translations-fakejs.js:286 +#: static/admin/translations-fakejs.js:336 +#: static/admin/translations-fakejs.js:372 msgid "Users" msgstr "Пользователей" #: static/admin/main.js:1 static/admin/translations-fakejs.js:85 -#: static/admin/translations-fakejs.js:340 -#: static/admin/translations-fakejs.js:352 +#: static/admin/translations-fakejs.js:344 +#: static/admin/translations-fakejs.js:356 msgid "Enabled" msgstr "Включено" #: static/admin/main.js:1 static/admin/translations-fakejs.js:86 -#: static/admin/translations-fakejs.js:341 -#: static/admin/translations-fakejs.js:353 +#: static/admin/translations-fakejs.js:345 +#: static/admin/translations-fakejs.js:357 msgid "Disabled" msgstr "Отключено" #: static/admin/main.js:1 static/admin/translations-fakejs.js:87 -#: static/admin/translations-fakejs.js:354 +#: static/admin/translations-fakejs.js:358 msgid "Blocked" msgstr "Заблокирован" @@ -674,12 +674,12 @@ msgid "In use" msgstr "В использовании" #: static/admin/main.js:1 static/admin/translations-fakejs.js:202 -#: static/admin/translations-fakejs.js:289 -#: static/admin/translations-fakejs.js:370 -#: static/admin/translations-fakejs.js:401 -#: static/admin/translations-fakejs.js:458 -#: static/admin/translations-fakejs.js:461 -#: static/admin/translations-fakejs.js:466 +#: static/admin/translations-fakejs.js:290 +#: static/admin/translations-fakejs.js:374 +#: static/admin/translations-fakejs.js:405 +#: static/admin/translations-fakejs.js:462 +#: static/admin/translations-fakejs.js:465 +#: static/admin/translations-fakejs.js:470 msgid "Logs" msgstr "Журналы" @@ -700,20 +700,20 @@ msgid "Assign service" msgstr "Назначить услугу" #: static/admin/main.js:1 static/admin/translations-fakejs.js:207 -#: static/admin/translations-fakejs.js:276 -#: static/admin/translations-fakejs.js:282 -#: static/admin/translations-fakejs.js:345 -#: static/admin/translations-fakejs.js:360 -#: static/admin/translations-fakejs.js:386 -#: static/admin/translations-fakejs.js:394 -#: static/admin/translations-fakejs.js:406 -#: static/admin/translations-fakejs.js:411 -#: static/admin/translations-fakejs.js:419 -#: static/admin/translations-fakejs.js:424 +#: static/admin/translations-fakejs.js:277 +#: static/admin/translations-fakejs.js:283 +#: static/admin/translations-fakejs.js:349 +#: static/admin/translations-fakejs.js:364 +#: static/admin/translations-fakejs.js:390 +#: static/admin/translations-fakejs.js:398 +#: static/admin/translations-fakejs.js:410 +#: static/admin/translations-fakejs.js:415 +#: static/admin/translations-fakejs.js:423 #: static/admin/translations-fakejs.js:428 #: static/admin/translations-fakejs.js:432 -#: static/admin/translations-fakejs.js:445 -#: static/admin/translations-fakejs.js:487 +#: static/admin/translations-fakejs.js:436 +#: static/admin/translations-fakejs.js:449 +#: static/admin/translations-fakejs.js:491 msgid "Cancel" msgstr "Отменить" @@ -865,7 +865,7 @@ msgid "Yearly" msgstr "Ежегодно" #: static/admin/main.js:1 static/admin/translations-fakejs.js:148 -#: static/admin/translations-fakejs.js:383 +#: static/admin/translations-fakejs.js:387 msgid "Weekdays" msgstr "По будням" @@ -1022,6 +1022,11 @@ msgstr "Конфигурация сохранена" msgid "Delete actor token - USE WITH EXTREME CAUTION!!!" msgstr "Удалить ключ клиента - ИСПОЛЬЗУЙТЕ С БОЛЬШОЙ ОСТОРОЖНОСТЬЮ!!!" +#: static/admin/main.js:1 static/admin/translations-fakejs.js:268 +#| msgid "Delete actor token - USE WITH EXTREME CAUTION!!!" +msgid "Delete tunnel token - USE WITH EXTREME CAUTION!!!" +msgstr "Удалите токен туннеля - ИСПОЛЬЗУЙТЕ С КРАЙНЕЙ ВНИМАНИЕМ !!!" + #: static/admin/main.js:1 static/admin/translations-fakejs.js:24 msgid "Cache flushed" msgstr "Кэш очищен" @@ -1110,492 +1115,504 @@ msgstr "unhandledPromiseRejectionHandler" msgid "rejectionHandledHandler" msgstr "rejectionHandledHandler" -#: static/admin/translations-fakejs.js:274 +#: static/admin/translations-fakejs.js:275 msgid "Remove all" msgstr "Удалить все" -#: static/admin/translations-fakejs.js:275 +#: static/admin/translations-fakejs.js:276 msgid "Add" msgstr "Добавить" -#: static/admin/translations-fakejs.js:277 -#: static/admin/translations-fakejs.js:283 -#: static/admin/translations-fakejs.js:288 -#: static/admin/translations-fakejs.js:334 -#: static/admin/translations-fakejs.js:346 -#: static/admin/translations-fakejs.js:361 -#: static/admin/translations-fakejs.js:366 -#: static/admin/translations-fakejs.js:387 -#: static/admin/translations-fakejs.js:395 -#: static/admin/translations-fakejs.js:407 -#: static/admin/translations-fakejs.js:412 -#: static/admin/translations-fakejs.js:420 -#: static/admin/translations-fakejs.js:425 +#: static/admin/translations-fakejs.js:278 +#: static/admin/translations-fakejs.js:284 +#: static/admin/translations-fakejs.js:289 +#: static/admin/translations-fakejs.js:338 +#: static/admin/translations-fakejs.js:350 +#: static/admin/translations-fakejs.js:365 +#: static/admin/translations-fakejs.js:370 +#: static/admin/translations-fakejs.js:391 +#: static/admin/translations-fakejs.js:399 +#: static/admin/translations-fakejs.js:411 +#: static/admin/translations-fakejs.js:416 +#: static/admin/translations-fakejs.js:424 #: static/admin/translations-fakejs.js:429 #: static/admin/translations-fakejs.js:433 -#: static/admin/translations-fakejs.js:435 -#: static/admin/translations-fakejs.js:446 -#: static/admin/translations-fakejs.js:448 -#: static/admin/translations-fakejs.js:462 -#: static/admin/translations-fakejs.js:488 +#: static/admin/translations-fakejs.js:437 +#: static/admin/translations-fakejs.js:439 +#: static/admin/translations-fakejs.js:450 +#: static/admin/translations-fakejs.js:452 +#: static/admin/translations-fakejs.js:466 +#: static/admin/translations-fakejs.js:492 msgid "Ok" msgstr "Хорошо" -#: static/admin/translations-fakejs.js:278 +#: static/admin/translations-fakejs.js:279 msgid "Discard & close" msgstr "Отменить и закрыть" -#: static/admin/translations-fakejs.js:279 -#: static/admin/translations-fakejs.js:480 +#: static/admin/translations-fakejs.js:280 +#: static/admin/translations-fakejs.js:484 msgid "Save" msgstr "Сохранить" -#: static/admin/translations-fakejs.js:280 +#: static/admin/translations-fakejs.js:281 msgid "New user permission for" msgstr "Новое разрешение пользователя для" -#: static/admin/translations-fakejs.js:281 +#: static/admin/translations-fakejs.js:282 msgid "New group permission for" msgstr "Новое разрешение группы для" -#: static/admin/translations-fakejs.js:284 +#: static/admin/translations-fakejs.js:285 msgid "Permissions for" msgstr "Разрешения для" -#: static/admin/translations-fakejs.js:287 +#: static/admin/translations-fakejs.js:288 msgid "New permission..." msgstr "Новое разрешение..." -#: static/admin/translations-fakejs.js:290 -#: static/admin/translations-fakejs.js:297 +#: static/admin/translations-fakejs.js:291 +#: static/admin/translations-fakejs.js:298 msgid "Export" msgstr "Экспорт" -#: static/admin/translations-fakejs.js:292 #: static/admin/translations-fakejs.js:293 #: static/admin/translations-fakejs.js:294 +#: static/admin/translations-fakejs.js:295 msgid "New" msgstr "Новый" -#: static/admin/translations-fakejs.js:295 -#: static/admin/translations-fakejs.js:302 +#: static/admin/translations-fakejs.js:296 +#: static/admin/translations-fakejs.js:304 msgid "Edit" msgstr "Редактировать" -#: static/admin/translations-fakejs.js:296 -#: static/admin/translations-fakejs.js:303 +#: static/admin/translations-fakejs.js:297 +#: static/admin/translations-fakejs.js:305 msgid "Permissions" msgstr "Разрешения" -#: static/admin/translations-fakejs.js:298 -#: static/admin/translations-fakejs.js:304 +#: static/admin/translations-fakejs.js:299 +#: static/admin/translations-fakejs.js:306 msgid "Delete" msgstr "Удалить" -#: static/admin/translations-fakejs.js:300 +#: static/admin/translations-fakejs.js:301 msgid "Selected items" msgstr "Выбранные предметы" -#: static/admin/translations-fakejs.js:301 +#: static/admin/translations-fakejs.js:302 +msgid "Copy" +msgstr "Копировать" + +#: static/admin/translations-fakejs.js:303 msgid "Detail" msgstr "Подробность" -#: static/admin/translations-fakejs.js:305 +#: static/admin/translations-fakejs.js:307 #: static/modern/translations-fakejs.js:43 msgid "Close" msgstr "Закрыть" -#: static/admin/translations-fakejs.js:308 +#: static/admin/translations-fakejs.js:310 msgid "User mode" msgstr "Пользовательский режим" -#: static/admin/translations-fakejs.js:309 +#: static/admin/translations-fakejs.js:311 #: static/modern/translations-fakejs.js:48 msgid "Logout" msgstr "Выйти" -#: static/admin/translations-fakejs.js:310 -#: static/admin/translations-fakejs.js:367 -#: static/admin/translations-fakejs.js:385 -#: static/admin/translations-fakejs.js:396 -#: static/admin/translations-fakejs.js:449 -#: static/admin/translations-fakejs.js:463 +#: static/admin/translations-fakejs.js:312 +#: static/admin/translations-fakejs.js:371 +#: static/admin/translations-fakejs.js:389 +#: static/admin/translations-fakejs.js:400 +#: static/admin/translations-fakejs.js:453 +#: static/admin/translations-fakejs.js:467 msgid "Summary" msgstr "Панель" -#: static/admin/translations-fakejs.js:311 -#: static/admin/translations-fakejs.js:464 +#: static/admin/translations-fakejs.js:313 +#: static/admin/translations-fakejs.js:468 msgid "Services" msgstr "Поставщики услуг" -#: static/admin/translations-fakejs.js:312 +#: static/admin/translations-fakejs.js:314 msgid "Authenticators" msgstr "Аутентификаторы" -#: static/admin/translations-fakejs.js:313 +#: static/admin/translations-fakejs.js:315 msgid "Os Managers" msgstr "Менеджеры ОС" -#: static/admin/translations-fakejs.js:314 +#: static/admin/translations-fakejs.js:316 msgid "Connectivity" msgstr "Подключение" -#: static/admin/translations-fakejs.js:315 -#: static/admin/translations-fakejs.js:453 +#: static/admin/translations-fakejs.js:317 +#: static/admin/translations-fakejs.js:457 #: static/modern/translations-fakejs.js:39 msgid "Transports" msgstr "Транспорты" -#: static/admin/translations-fakejs.js:316 +#: static/admin/translations-fakejs.js:318 #: static/modern/translations-fakejs.js:41 msgid "Networks" msgstr "Сети" -#: static/admin/translations-fakejs.js:317 +#: static/admin/translations-fakejs.js:319 msgid "Proxies" msgstr "Прокси" -#: static/admin/translations-fakejs.js:318 +#: static/admin/translations-fakejs.js:320 msgid "Pools" msgstr "Пулы" -#: static/admin/translations-fakejs.js:320 +#: static/admin/translations-fakejs.js:322 msgid "Meta pools" msgstr "Мета-пулы" -#: static/admin/translations-fakejs.js:322 +#: static/admin/translations-fakejs.js:324 msgid "Calendars" msgstr "Календари" -#: static/admin/translations-fakejs.js:323 +#: static/admin/translations-fakejs.js:325 msgid "Accounts" msgstr "Аккаунты" -#: static/admin/translations-fakejs.js:324 +#: static/admin/translations-fakejs.js:326 msgid "Tools" msgstr "Инструменты" -#: static/admin/translations-fakejs.js:325 +#: static/admin/translations-fakejs.js:327 msgid "Gallery" msgstr "Галерея" -#: static/admin/translations-fakejs.js:326 +#: static/admin/translations-fakejs.js:328 msgid "Reports" msgstr "Отчёты" -#: static/admin/translations-fakejs.js:327 -msgid "Configuration" -msgstr "Конфигурация" - -#: static/admin/translations-fakejs.js:328 -msgid "Actor tokens" -msgstr "Ключи клиента" - #: static/admin/translations-fakejs.js:329 +msgid "Tokens" +msgstr "Жетоны" + +#: static/admin/translations-fakejs.js:330 +msgid "Actor" +msgstr "Актер" + +#: static/admin/translations-fakejs.js:331 +msgid "Tunnel" +msgstr "Туннель" + +#: static/admin/translations-fakejs.js:332 msgid "Flush Cache" msgstr "Очистить кэш" -#: static/admin/translations-fakejs.js:330 -#: static/admin/translations-fakejs.js:362 -#: static/admin/translations-fakejs.js:459 +#: static/admin/translations-fakejs.js:333 +msgid "Configuration" +msgstr "Конфигурация" + +#: static/admin/translations-fakejs.js:334 +#: static/admin/translations-fakejs.js:366 +#: static/admin/translations-fakejs.js:463 msgid "Information for" msgstr "Информация для" -#: static/admin/translations-fakejs.js:335 +#: static/admin/translations-fakejs.js:339 msgid "Edit group" msgstr "Редактировать группу" -#: static/admin/translations-fakejs.js:336 +#: static/admin/translations-fakejs.js:340 msgid "New group" msgstr "Новая группа" -#: static/admin/translations-fakejs.js:337 +#: static/admin/translations-fakejs.js:341 msgid "Meta group name" msgstr "Название мета-группы" -#: static/admin/translations-fakejs.js:342 +#: static/admin/translations-fakejs.js:346 msgid "Service Pools" msgstr "Пулы услуг" -#: static/admin/translations-fakejs.js:343 +#: static/admin/translations-fakejs.js:347 msgid "Match mode" msgstr "Режим совпадений" -#: static/admin/translations-fakejs.js:344 +#: static/admin/translations-fakejs.js:348 msgid "Selected Groups" msgstr "Выбранные группы" -#: static/admin/translations-fakejs.js:347 +#: static/admin/translations-fakejs.js:351 msgid "Edit user" msgstr "Редактировать пользователя" -#: static/admin/translations-fakejs.js:348 +#: static/admin/translations-fakejs.js:352 msgid "New user" msgstr "Новый пользователь" -#: static/admin/translations-fakejs.js:349 +#: static/admin/translations-fakejs.js:353 msgid "Real name" msgstr "Настоящее имя" -#: static/admin/translations-fakejs.js:355 +#: static/admin/translations-fakejs.js:359 msgid "Role" msgstr "Роль" -#: static/admin/translations-fakejs.js:356 +#: static/admin/translations-fakejs.js:360 msgid "Admin" msgstr "Администратор" -#: static/admin/translations-fakejs.js:357 +#: static/admin/translations-fakejs.js:361 msgid "Staff member" msgstr "Штатный сотрудник" -#: static/admin/translations-fakejs.js:365 +#: static/admin/translations-fakejs.js:369 msgid "Assigned Services" msgstr "Назначенные сервисы" -#: static/admin/translations-fakejs.js:371 +#: static/admin/translations-fakejs.js:375 msgid "Account usage" msgstr "Использование аккаунта" -#: static/admin/translations-fakejs.js:372 +#: static/admin/translations-fakejs.js:376 msgid "Edit rule" msgstr "Изменить правило" -#: static/admin/translations-fakejs.js:373 +#: static/admin/translations-fakejs.js:377 msgid "New rule" msgstr "Новое правило" -#: static/admin/translations-fakejs.js:376 +#: static/admin/translations-fakejs.js:380 msgid "Event" msgstr "Событие" -#: static/admin/translations-fakejs.js:377 +#: static/admin/translations-fakejs.js:381 msgid "Start time" msgstr "Время начала" -#: static/admin/translations-fakejs.js:378 +#: static/admin/translations-fakejs.js:382 msgid "Duration" msgstr "Продолжительность" -#: static/admin/translations-fakejs.js:379 +#: static/admin/translations-fakejs.js:383 msgid "Duration units" msgstr "Единицы длительности" -#: static/admin/translations-fakejs.js:380 +#: static/admin/translations-fakejs.js:384 msgid "Start date" msgstr "Дата начала" -#: static/admin/translations-fakejs.js:381 +#: static/admin/translations-fakejs.js:385 msgid "Repeat until date" msgstr "Повторять до даты" -#: static/admin/translations-fakejs.js:382 +#: static/admin/translations-fakejs.js:386 msgid "Frequency" msgstr "Частота" -#: static/admin/translations-fakejs.js:384 +#: static/admin/translations-fakejs.js:388 msgid "Repeat every" msgstr "Повторять каждый" -#: static/admin/translations-fakejs.js:388 +#: static/admin/translations-fakejs.js:392 msgid "Rules" msgstr "Правила" -#: static/admin/translations-fakejs.js:389 +#: static/admin/translations-fakejs.js:393 msgid "New member pool" msgstr "Новый пул участников" -#: static/admin/translations-fakejs.js:390 +#: static/admin/translations-fakejs.js:394 msgid "Edit member pool" msgstr "Изменить пул участников" -#: static/admin/translations-fakejs.js:391 -#: static/admin/translations-fakejs.js:416 +#: static/admin/translations-fakejs.js:395 +#: static/admin/translations-fakejs.js:420 msgid "Priority" msgstr "Приоритет" -#: static/admin/translations-fakejs.js:392 +#: static/admin/translations-fakejs.js:396 msgid "Service pool" msgstr "Пул услуг" -#: static/admin/translations-fakejs.js:393 +#: static/admin/translations-fakejs.js:397 msgid "Enabled?" msgstr "Включено?" -#: static/admin/translations-fakejs.js:400 -#: static/admin/translations-fakejs.js:456 +#: static/admin/translations-fakejs.js:404 +#: static/admin/translations-fakejs.js:460 msgid "Access calendars" msgstr "Доступ к календарям" -#: static/admin/translations-fakejs.js:402 +#: static/admin/translations-fakejs.js:406 msgid "Assign service to user manually" msgstr "Назначить услугу пользователю вручную" -#: static/admin/translations-fakejs.js:403 +#: static/admin/translations-fakejs.js:407 msgid "Service" msgstr "Услуга" -#: static/admin/translations-fakejs.js:408 +#: static/admin/translations-fakejs.js:412 msgid "Change owner of assigned service" msgstr "Смена владельца назначенной услуги" -#: static/admin/translations-fakejs.js:413 +#: static/admin/translations-fakejs.js:417 msgid "New access rule for" msgstr "Новое правило доступа для" -#: static/admin/translations-fakejs.js:414 +#: static/admin/translations-fakejs.js:418 msgid "Edit access rule for" msgstr "Изменить правило доступа для" -#: static/admin/translations-fakejs.js:415 +#: static/admin/translations-fakejs.js:419 msgid "Default fallback access for" msgstr "Резервный доступ по умолчанию для" -#: static/admin/translations-fakejs.js:417 -#: static/admin/translations-fakejs.js:438 +#: static/admin/translations-fakejs.js:421 +#: static/admin/translations-fakejs.js:442 msgid "Calendar" msgstr "Календарь" -#: static/admin/translations-fakejs.js:418 -#: static/admin/translations-fakejs.js:441 +#: static/admin/translations-fakejs.js:422 +#: static/admin/translations-fakejs.js:445 msgid "Action" msgstr "Действие" -#: static/admin/translations-fakejs.js:421 +#: static/admin/translations-fakejs.js:425 msgid "New group for" msgstr "Новая группа для" -#: static/admin/translations-fakejs.js:426 +#: static/admin/translations-fakejs.js:430 msgid "New transport for" msgstr "Новый транспорт для" -#: static/admin/translations-fakejs.js:427 -#: static/admin/translations-fakejs.js:442 +#: static/admin/translations-fakejs.js:431 +#: static/admin/translations-fakejs.js:446 msgid "Transport" msgstr "Транспорт" -#: static/admin/translations-fakejs.js:430 +#: static/admin/translations-fakejs.js:434 msgid "New publication for" msgstr "Новая публикация для" -#: static/admin/translations-fakejs.js:434 +#: static/admin/translations-fakejs.js:438 msgid "Changelog of" msgstr "Список изменений" -#: static/admin/translations-fakejs.js:436 +#: static/admin/translations-fakejs.js:440 msgid "Edit action for" msgstr "Изменить действие для" -#: static/admin/translations-fakejs.js:437 +#: static/admin/translations-fakejs.js:441 msgid "New action for" msgstr "Новое действие для" -#: static/admin/translations-fakejs.js:439 +#: static/admin/translations-fakejs.js:443 msgid "Events offset (minutes)" msgstr "Смещение событий (минуты)" -#: static/admin/translations-fakejs.js:440 +#: static/admin/translations-fakejs.js:444 msgid "At the beginning of the interval?" msgstr "В начале интервала?" -#: static/admin/translations-fakejs.js:447 +#: static/admin/translations-fakejs.js:451 msgid "Logs of" msgstr "Журналы" -#: static/admin/translations-fakejs.js:451 +#: static/admin/translations-fakejs.js:455 msgid "Cache" msgstr "Кэш" -#: static/admin/translations-fakejs.js:454 +#: static/admin/translations-fakejs.js:458 msgid "Publications" msgstr "Публикации" -#: static/admin/translations-fakejs.js:455 +#: static/admin/translations-fakejs.js:459 msgid "Scheduled actions" msgstr "Запланированные действия" -#: static/admin/translations-fakejs.js:457 +#: static/admin/translations-fakejs.js:461 msgid "Charts" msgstr "Диаграммы" -#: static/admin/translations-fakejs.js:460 +#: static/admin/translations-fakejs.js:464 msgid "Services pools" msgstr "Сервисные пулы" -#: static/admin/translations-fakejs.js:465 +#: static/admin/translations-fakejs.js:469 msgid "Usage" msgstr "Использование" -#: static/admin/translations-fakejs.js:467 +#: static/admin/translations-fakejs.js:471 #: static/modern/translations-fakejs.js:46 msgid "Dashboard" msgstr "Панель управления" -#: static/admin/translations-fakejs.js:468 +#: static/admin/translations-fakejs.js:472 msgid "View authenticators" msgstr "Посмотреть аутентификаторы" -#: static/admin/translations-fakejs.js:469 -#: static/admin/translations-fakejs.js:470 -#: static/admin/translations-fakejs.js:471 +#: static/admin/translations-fakejs.js:473 +#: static/admin/translations-fakejs.js:474 +#: static/admin/translations-fakejs.js:475 msgid "View service pools" msgstr "Просмотр пулов услуг" -#: static/admin/translations-fakejs.js:472 +#: static/admin/translations-fakejs.js:476 msgid "Assigned services chart" msgstr "Таблица назначенных услуг" -#: static/admin/translations-fakejs.js:473 +#: static/admin/translations-fakejs.js:477 msgid "In use services chart" msgstr "Таблица используемых услуг" -#: static/admin/translations-fakejs.js:474 +#: static/admin/translations-fakejs.js:478 msgid "UDS Administration" msgstr "Администрирование UDS" -#: static/admin/translations-fakejs.js:475 +#: static/admin/translations-fakejs.js:479 msgid "You are accessing UDS Administration as staff member." msgstr "Вы входите в администрирование UDS в качестве сотрудника." -#: static/admin/translations-fakejs.js:476 +#: static/admin/translations-fakejs.js:480 msgid "This means that you have restricted access to elements." msgstr "Это означает, что у вас ограничен доступ к элементам." -#: static/admin/translations-fakejs.js:477 +#: static/admin/translations-fakejs.js:481 msgid "" "In order to increase your access privileges, please contact your local UDS " "administrator." msgstr "Чтобы увеличить свои права доступа, обратитесь к администратору UDS." -#: static/admin/translations-fakejs.js:478 +#: static/admin/translations-fakejs.js:482 msgid "Thank you." msgstr "Спасибо." -#: static/admin/translations-fakejs.js:479 +#: static/admin/translations-fakejs.js:483 msgid "UDS Configuration" msgstr "Конфигурация UDS" -#: static/admin/translations-fakejs.js:481 +#: static/admin/translations-fakejs.js:485 msgid "New image for" msgstr "Новое изображение для" -#: static/admin/translations-fakejs.js:482 +#: static/admin/translations-fakejs.js:486 msgid "Edit for" msgstr "Изменить для" -#: static/admin/translations-fakejs.js:483 +#: static/admin/translations-fakejs.js:487 msgid "Image name" msgstr "Название изображения" -#: static/admin/translations-fakejs.js:484 +#: static/admin/translations-fakejs.js:488 msgid "Image (click to change)" msgstr "Изображение (нажмите, чтобы изменить)" -#: static/admin/translations-fakejs.js:485 +#: static/admin/translations-fakejs.js:489 msgid "For optimal results, use " msgstr "Для получения оптимальных результатов используйте" -#: static/admin/translations-fakejs.js:486 +#: static/admin/translations-fakejs.js:490 msgid "The image will be resized on upload to" msgstr "Размер изображения будет изменен при загрузке в" diff --git a/server/src/uds/locale/zh_Hans/LC_MESSAGES/django.po b/server/src/uds/locale/zh_Hans/LC_MESSAGES/django.po index f7d609961..fc5d40fe1 100644 --- a/server/src/uds/locale/zh_Hans/LC_MESSAGES/django.po +++ b/server/src/uds/locale/zh_Hans/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: OpenUDS\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-08 14:18+0200\n" +"POT-Creation-Date: 2021-07-29 13:12+0200\n" "PO-Revision-Date: 2021-07-08 10:59+0000\n" "Last-Translator: Adolfo Gómez \n" "Language-Team: Chinese (http://www.transifex.com/openuds/openuds/language/" @@ -28,7 +28,7 @@ msgstr "帐号" #: REST/methods/osmanagers.py:55 REST/methods/providers.py:71 #: REST/methods/proxies.py:59 REST/methods/reports.py:57 #: REST/methods/services_pool_groups.py:63 REST/methods/services_pools.py:133 -#: REST/methods/transports.py:58 REST/methods/user_services.py:321 +#: REST/methods/transports.py:66 REST/methods/user_services.py:321 #: REST/methods/user_services.py:396 REST/methods/users_groups.py:122 #: REST/model.py:149 msgid "Name" @@ -39,7 +39,7 @@ msgstr "名称" #: REST/methods/meta_pools.py:71 REST/methods/osmanagers.py:57 #: REST/methods/providers.py:73 REST/methods/proxies.py:62 #: REST/methods/services.py:241 REST/methods/services_pool_groups.py:64 -#: REST/methods/transports.py:60 REST/methods/user_services.py:398 +#: REST/methods/transports.py:68 REST/methods/user_services.py:398 #: REST/methods/users_groups.py:123 REST/methods/users_groups.py:291 #: REST/model.py:173 msgid "Comments" @@ -54,7 +54,7 @@ msgstr "时间标记" #: REST/methods/networks.py:63 REST/methods/osmanagers.py:59 #: REST/methods/providers.py:79 REST/methods/proxies.py:63 #: REST/methods/services.py:250 REST/methods/services_pools.py:142 -#: REST/methods/transports.py:63 +#: REST/methods/transports.py:77 msgid "tags" msgstr "标签" @@ -66,7 +66,7 @@ msgstr "池名称" msgid "User name" msgstr "用户名" -#: REST/methods/accountsusage.py:94 core/util/state.py:78 +#: REST/methods/accountsusage.py:94 core/util/state.py:79 #: core/util/states/common.py:71 msgid "Running" msgstr "运行" @@ -113,11 +113,11 @@ msgstr "非托管主机" msgid "User service not found" msgstr "找不到用户服务" -#: REST/methods/actor_token.py:51 REST/methods/tunnel_token.py:51 +#: REST/methods/actor_token.py:51 msgid "Actor tokens" msgstr "演员代币" -#: REST/methods/actor_token.py:54 REST/methods/tunnel_token.py:54 +#: REST/methods/actor_token.py:54 REST/methods/tunnel_token.py:51 #: reports/auto/fields.py:56 reports/stats/pools_performance.py:217 #: reports/stats/pools_performance.py:236 reports/stats/pools_usage_day.py:64 #: reports/stats/usage_by_pool.py:169 reports/stats/user_access.py:190 @@ -125,11 +125,11 @@ msgstr "演员代币" msgid "Date" msgstr "日期" -#: REST/methods/actor_token.py:55 REST/methods/tunnel_token.py:55 +#: REST/methods/actor_token.py:55 REST/methods/tunnel_token.py:52 msgid "Issued by" msgstr "由...发出" -#: REST/methods/actor_token.py:56 REST/methods/tunnel_token.py:56 +#: REST/methods/actor_token.py:56 REST/methods/tunnel_token.py:53 #: reports/stats/usage_by_pool.py:173 #: templates/uds/reports/stats/usage-by-pool.html:18 msgid "Origin" @@ -155,7 +155,7 @@ msgstr "运行一次" msgid "Log level" msgstr "日志级别" -#: REST/methods/actor_token.py:67 REST/methods/tunnel_token.py:63 +#: REST/methods/actor_token.py:67 REST/methods/tunnel_token.py:60 msgid "Token isued by {} from {}" msgstr "{}从{}发来的令牌" @@ -169,13 +169,13 @@ msgstr "ID" #: REST/methods/authenticators.py:67 REST/methods/osmanagers.py:56 #: REST/methods/providers.py:72 REST/methods/services.py:242 -#: REST/methods/transports.py:59 REST/methods/user_services.py:397 +#: REST/methods/transports.py:67 REST/methods/user_services.py:397 msgid "Type" msgstr "类型" #: REST/methods/authenticators.py:69 REST/methods/meta_service_pools.py:88 #: REST/methods/op_calendars.py:80 REST/methods/services_pool_groups.py:61 -#: REST/methods/transports.py:57 REST/methods/user_services.py:395 +#: REST/methods/transports.py:65 REST/methods/user_services.py:395 #: REST/model.py:185 models/meta_pool.py:73 msgid "Priority" msgstr "优先" @@ -187,7 +187,7 @@ msgid "Visible" msgstr "可见" #: REST/methods/authenticators.py:71 REST/methods/meta_pools.py:77 -#: REST/methods/transports.py:115 REST/model.py:201 +#: REST/methods/transports.py:164 REST/model.py:201 msgid "Label" msgstr "标签" @@ -383,7 +383,7 @@ msgid "Pool" msgstr "池" #: REST/methods/meta_service_pools.py:197 REST/methods/services_usage.py:122 -#: REST/methods/tunnel_token.py:57 REST/methods/user_services.py:139 +#: REST/methods/tunnel_token.py:54 REST/methods/user_services.py:139 #: REST/methods/user_services.py:270 auths/IP/authenticator.py:68 msgid "IP" msgstr "IP" @@ -431,7 +431,7 @@ msgstr "物品已被删除" msgid "Item is not removable" msgstr "物品不可拆卸" -#: REST/methods/networks.py:58 REST/methods/transports.py:88 +#: REST/methods/networks.py:58 REST/methods/transports.py:114 msgid "Networks" msgstr "网络" @@ -555,7 +555,7 @@ msgstr "检查证书" #: services/OpenGnsys/provider.py:97 services/OpenNebula/provider.py:77 #: services/OpenStack/provider_legacy.py:106 services/Proxmox/provider.py:66 #: services/VCloud_enterprise/provider.py:32 -#: services/Vmware_enterprise/provider.py:41 services/Xen/provider.py:100 +#: services/Vmware_enterprise/provider.py:45 services/Xen/provider.py:100 msgid "Host" msgstr "主办" @@ -574,7 +574,7 @@ msgstr "将充当代理的服务器(IP或FQDN)。" #: services/OpenStack/provider_legacy.py:110 services/Proxmox/provider.py:73 #: services/RDS_enterprise/provider.py:101 #: services/VCloud_enterprise/provider.py:33 -#: services/Vmware_enterprise/provider.py:42 +#: services/Vmware_enterprise/provider.py:52 msgid "Port" msgstr "港口" @@ -691,8 +691,8 @@ msgstr "好" msgid "Services Pool Groups" msgstr "服务池组" -#: REST/methods/services_pools.py:131 REST/methods/transports.py:61 -#: REST/methods/transports.py:106 +#: REST/methods/services_pools.py:131 REST/methods/transports.py:71 +#: REST/methods/transports.py:152 msgid "Service Pools" msgstr "服务池" @@ -835,49 +835,54 @@ msgstr "服务使用" msgid "Service" msgstr "服务" -#: REST/methods/transports.py:55 +#: REST/methods/transports.py:63 msgid "Transports" msgstr "运输" -#: REST/methods/transports.py:62 +#: REST/methods/transports.py:76 msgid "Devices" msgstr "设备" -#: REST/methods/transports.py:79 +#: REST/methods/transports.py:97 msgid "Network access" msgstr "网络访问" -#: REST/methods/transports.py:80 +#: REST/methods/transports.py:99 msgid "" "If checked, the transport will be enabled for the selected networks. If " "unchecked, transport will be disabled for selected networks" msgstr "如果选中,将为所选网络启用传输。如果未选中,将禁用所选网络的传输" -#: REST/methods/transports.py:89 +#: REST/methods/transports.py:116 msgid "" "Networks associated with this transport. If No network selected, will mean " "\"all networks\"" msgstr "与此传输相关的网络。如果没有选择网络,则表示“所有网络”" -#: REST/methods/transports.py:97 +#: REST/methods/transports.py:134 msgid "Allowed Devices" msgstr "允许的设备" -#: REST/methods/transports.py:98 +#: REST/methods/transports.py:136 msgid "" "If empty, any kind of device compatible with this transport will be allowed. " "Else, only devices compatible with selected values will be allowed" msgstr "如果为空,将允许任何与此传输兼容的设备。否则,只允许与所选值兼容的设备" -#: REST/methods/transports.py:107 +#: REST/methods/transports.py:153 msgid "Currently assigned services pools" msgstr "当前分配的服务池" -#: REST/methods/transports.py:116 +#: REST/methods/transports.py:166 msgid "Metapool transport label (only used on metapool transports grouping)" msgstr "元池传输标签(仅用于元池传输分组)" -#: REST/methods/tunnel_token.py:53 +#: REST/methods/tunnel_token.py:48 +#| msgid "Tunneled" +msgid "Tunnel tokens" +msgstr "隧道令牌" + +#: REST/methods/tunnel_token.py:50 msgid "Token" msgstr "令牌" @@ -976,7 +981,7 @@ msgstr "目前的用户" #: services/OpenStack/provider.py:127 services/OpenStack/provider_legacy.py:144 #: services/Proxmox/provider.py:82 services/RDS_enterprise/provider.py:118 #: services/VCloud_enterprise/provider.py:35 -#: services/Vmware_enterprise/provider.py:43 services/Xen/provider.py:107 +#: services/Vmware_enterprise/provider.py:60 services/Xen/provider.py:107 #: transports/HTML5RDP/html5rdp.py:103 transports/HTML5VNC/html5vnc.py:75 #: transports/NoMachine_enterprise/nomachine_base.py:63 #: transports/PCoIP_enterprise/pcoip.py:59 transports/RDP/rdp_base.py:75 @@ -1119,7 +1124,7 @@ msgstr "在所选基础上具有读取权限的用户名(使用USER@DOMAIN.DOM #: services/OpenStack/provider.py:135 services/OpenStack/provider_legacy.py:152 #: services/Proxmox/provider.py:92 services/RDS_enterprise/provider.py:126 #: services/Sample/service.py:140 services/VCloud_enterprise/provider.py:36 -#: services/Vmware_enterprise/provider.py:44 services/Xen/provider.py:115 +#: services/Vmware_enterprise/provider.py:67 services/Xen/provider.py:115 #: transports/HTML5RDP/html5rdp.py:109 transports/HTML5VNC/html5vnc.py:76 #: transports/NoMachine_enterprise/nomachine_base.py:69 #: transports/PCoIP_enterprise/pcoip.py:60 transports/RDP/rdp_base.py:81 @@ -1144,7 +1149,7 @@ msgstr "ldap用户的密码" #: services/OpenGnsys/provider.py:164 services/OpenNebula/provider.py:86 #: services/OpenStack/provider.py:166 services/OpenStack/provider_legacy.py:183 #: services/Proxmox/provider.py:123 services/VCloud_enterprise/provider.py:63 -#: services/Vmware_enterprise/provider.py:50 +#: services/Vmware_enterprise/provider.py:99 msgid "Timeout" msgstr "超时" @@ -1591,143 +1596,143 @@ msgstr "SAML身份验证器" msgid "SAML (v2.0) Authenticator" msgstr "SAML(v2.0)身份验证器" -#: auths/SAML_enterprise/saml.py:127 +#: auths/SAML_enterprise/saml.py:129 msgid "Private key" msgstr "私钥" -#: auths/SAML_enterprise/saml.py:128 +#: auths/SAML_enterprise/saml.py:132 msgid "" "Private key used for sign and encription, as generated in base 64 from " "openssl" msgstr "用于签名和登记的私钥,由openssl在base 64中生成" -#: auths/SAML_enterprise/saml.py:129 auths/SAML_enterprise/saml.py:134 +#: auths/SAML_enterprise/saml.py:135 auths/SAML_enterprise/saml.py:146 msgid "Certificates" msgstr "证书" -#: auths/SAML_enterprise/saml.py:132 transports/SPICE/spice_base.py:82 +#: auths/SAML_enterprise/saml.py:140 transports/SPICE/spice_base.py:82 msgid "Certificate" msgstr "证书" -#: auths/SAML_enterprise/saml.py:133 +#: auths/SAML_enterprise/saml.py:143 msgid "" "Public key used for sign and encription (public part of previous private " "key), as generated in base 64 from openssl" msgstr "用于签名和登记的公钥(前一个私钥的公共部分),由openssl在base 64中生成" -#: auths/SAML_enterprise/saml.py:137 +#: auths/SAML_enterprise/saml.py:151 msgid "IDP Metadata" msgstr "IDP元数据" -#: auths/SAML_enterprise/saml.py:138 +#: auths/SAML_enterprise/saml.py:154 msgid "" "You can enter here the URL or the IDP metadata or the metadata itself (xml)" msgstr "您可以在此处输入URL或IDP元数据或元数据本身(xml)" -#: auths/SAML_enterprise/saml.py:139 auths/SAML_enterprise/saml.py:143 +#: auths/SAML_enterprise/saml.py:157 auths/SAML_enterprise/saml.py:166 msgid "Metadata" msgstr "元数据" -#: auths/SAML_enterprise/saml.py:142 +#: auths/SAML_enterprise/saml.py:161 msgid "Entity ID" msgstr "实体ID" -#: auths/SAML_enterprise/saml.py:143 +#: auths/SAML_enterprise/saml.py:164 msgid "ID of the SP. If left blank, this will be autogenerated from server URL" msgstr "SP的ID。如果留空,则会从服务器URL自动生成" -#: auths/SAML_enterprise/saml.py:147 +#: auths/SAML_enterprise/saml.py:172 msgid "User name attrs" msgstr "用户名attrs" -#: auths/SAML_enterprise/saml.py:148 +#: auths/SAML_enterprise/saml.py:174 msgid "Fields from where to extract user name" msgstr "从哪里提取用户名的字段" -#: auths/SAML_enterprise/saml.py:148 auths/SAML_enterprise/saml.py:153 -#: auths/SAML_enterprise/saml.py:158 +#: auths/SAML_enterprise/saml.py:176 auths/SAML_enterprise/saml.py:186 +#: auths/SAML_enterprise/saml.py:196 msgid "Attributes" msgstr "属性" -#: auths/SAML_enterprise/saml.py:152 +#: auths/SAML_enterprise/saml.py:182 msgid "Group name attrs" msgstr "集团名称attrs" -#: auths/SAML_enterprise/saml.py:153 +#: auths/SAML_enterprise/saml.py:184 msgid "Fields from where to extract the groups" msgstr "从哪里提取组的字段" -#: auths/SAML_enterprise/saml.py:157 +#: auths/SAML_enterprise/saml.py:192 msgid "Real name attrs" msgstr "真名牌" -#: auths/SAML_enterprise/saml.py:158 +#: auths/SAML_enterprise/saml.py:194 msgid "Fields from where to extract the real name" msgstr "字段从哪里提取真实姓名" -#: auths/SAML_enterprise/saml.py:176 +#: auths/SAML_enterprise/saml.py:216 msgid "SAML Authenticator does not support white spaces on field NAME" msgstr "SAML身份验证器不支持字段NAME上的空格" -#: auths/SAML_enterprise/saml.py:183 +#: auths/SAML_enterprise/saml.py:230 msgid "" "Server certificate should be a valid PEM (PEM certificates starts with -----" "BEGIN CERTIFICATE-----)" msgstr "" "服务器证书应该是有效的PEM(PEM证书以----- BEGIN CERTIFICATE -----开头)" -#: auths/SAML_enterprise/saml.py:188 +#: auths/SAML_enterprise/saml.py:238 msgid "Invalid server certificate. " msgstr "服务器证书无效。" -#: auths/SAML_enterprise/saml.py:192 +#: auths/SAML_enterprise/saml.py:249 msgid "" "Private key should be a valid PEM (PEM private keys starts with -----BEGIN " "RSA PRIVATE KEY-----" msgstr "私钥应该是有效的PEM(PEM私钥以----- BEGIN RSA私钥开头-----" -#: auths/SAML_enterprise/saml.py:197 +#: auths/SAML_enterprise/saml.py:257 msgid "Invalid private key. " msgstr "私钥无效。" -#: auths/SAML_enterprise/saml.py:214 +#: auths/SAML_enterprise/saml.py:276 #, python-brace-format msgid "Can't fetch url {0}: {1}" msgstr "无法获取网址{0}:{1}" -#: auths/SAML_enterprise/saml.py:222 +#: auths/SAML_enterprise/saml.py:287 msgid " (obtained from URL)" msgstr "(从URL获得)" -#: auths/SAML_enterprise/saml.py:223 +#: auths/SAML_enterprise/saml.py:289 msgid "XML does not seem valid for IDP Metadata " msgstr "XML似乎对IDP元数据无效" -#: auths/SAML_enterprise/saml.py:239 +#: auths/SAML_enterprise/saml.py:311 msgid "Can't access idp metadata" msgstr "无法访问idp元数据" -#: auths/Sample/SampleAuth.py:76 +#: auths/Sample/SampleAuth.py:79 msgid "Sample Authenticator" msgstr "样本验证器" -#: auths/Sample/SampleAuth.py:88 +#: auths/Sample/SampleAuth.py:91 msgid "Sample dummy authenticator" msgstr "样本虚拟验证器" -#: auths/Sample/SampleAuth.py:106 +#: auths/Sample/SampleAuth.py:109 msgid "Fake User" msgstr "假用户" -#: auths/Sample/SampleAuth.py:109 +#: auths/Sample/SampleAuth.py:112 msgid "Fake Group" msgstr "假团体" -#: auths/Sample/SampleAuth.py:115 +#: auths/Sample/SampleAuth.py:118 msgid "Groups" msgstr "组" -#: auths/Sample/SampleAuth.py:128 +#: auths/Sample/SampleAuth.py:132 msgid "We need more than two groups!" msgstr "我们需要两个以上的团体!" @@ -1904,7 +1909,7 @@ msgstr "基础服务" #: core/services/service.py:141 core/services/service.py:150 #: models/permissions.py:92 models/permissions.py:96 -#: services/Azure_enterprise/helpers.py:97 services/OpenStack/helpers.py:74 +#: services/Azure_enterprise/helpers.py:100 services/OpenStack/helpers.py:74 #: services/Proxmox/service.py:194 services/Sample/service.py:98 #: services/Sample/service.py:104 services/TestService_enterprise/service.py:28 msgid "None" @@ -1930,79 +1935,79 @@ msgstr "隧道" msgid "Can't contact LDAP server" msgstr "无法联系LDAP服务器" -#: core/util/state.py:65 core/util/states/common.py:59 +#: core/util/state.py:66 core/util/states/common.py:59 msgid "Active" msgstr "活性" -#: core/util/state.py:66 core/util/states/common.py:60 +#: core/util/state.py:67 core/util/states/common.py:60 msgid "Inactive" msgstr "待用" -#: core/util/state.py:67 core/util/states/common.py:61 +#: core/util/state.py:68 core/util/states/common.py:61 msgid "Blocked" msgstr "阻止" -#: core/util/state.py:68 core/util/states/common.py:62 +#: core/util/state.py:69 core/util/states/common.py:62 msgid "Waiting publication" msgstr "等待出版" -#: core/util/state.py:69 core/util/states/common.py:63 +#: core/util/state.py:70 core/util/states/common.py:63 msgid "In preparation" msgstr "在筹备" -#: core/util/state.py:70 core/util/states/common.py:64 +#: core/util/state.py:71 core/util/states/common.py:64 msgid "Valid" msgstr "有效" -#: core/util/state.py:71 core/util/state.py:73 core/util/states/common.py:66 +#: core/util/state.py:72 core/util/state.py:74 core/util/states/common.py:66 msgid "Removing" msgstr "删除" -#: core/util/state.py:72 +#: core/util/state.py:73 msgid "Restrained" msgstr "矜持" -#: core/util/state.py:74 core/util/states/common.py:67 +#: core/util/state.py:75 core/util/states/common.py:67 msgid "Removed" msgstr "删除" -#: core/util/state.py:75 core/util/states/common.py:68 +#: core/util/state.py:76 core/util/states/common.py:68 msgid "Canceled" msgstr "取消" -#: core/util/state.py:76 core/util/states/common.py:69 +#: core/util/state.py:77 core/util/states/common.py:69 msgid "Canceling" msgstr "取消" -#: core/util/state.py:77 core/util/states/common.py:70 +#: core/util/state.py:78 core/util/states/common.py:70 msgid "Error" msgstr "错误" -#: core/util/state.py:79 core/util/states/common.py:72 +#: core/util/state.py:80 core/util/states/common.py:72 msgid "Finished" msgstr "成品" -#: core/util/state.py:80 core/util/states/common.py:73 +#: core/util/state.py:81 core/util/states/common.py:73 msgid "Waiting execution" msgstr "等待执行" -#: core/util/state.py:81 core/util/states/common.py:74 +#: core/util/state.py:82 core/util/states/common.py:74 msgid "Balancing" msgstr "平衡" -#: core/util/state.py:82 core/util/states/common.py:75 +#: core/util/state.py:83 core/util/states/common.py:75 msgid "In maintenance" msgstr "在维护" -#: core/util/state.py:83 core/util/states/common.py:76 +#: core/util/state.py:84 core/util/states/common.py:76 msgid "Waiting OS" msgstr "等待操作系统" -#: core/util/state.py:84 +#: core/util/state.py:85 msgid "Too many preparing services" msgstr "准备服务太多了" -#: core/util/state.py:85 +#: core/util/state.py:86 msgid "Meta member" msgstr "元成员" @@ -2034,23 +2039,23 @@ msgstr "为用户提供服务" msgid "Cached" msgstr "缓存" -#: core/util/tools.py:144 +#: core/util/tools.py:152 msgid "{} days {:d}:{:02d}:{:02d}" msgstr "{}天{:d}:{:02d}:{:02d}" -#: core/util/tools.py:161 +#: core/util/tools.py:171 msgid "The basename is not a valid for a hostname" msgstr "基本名称对于主机名无效" -#: core/util/tools.py:164 +#: core/util/tools.py:176 msgid "The length of basename plus length must be greater than 0" msgstr "基本名称的长度加上长度必须大于0" -#: core/util/tools.py:167 +#: core/util/tools.py:181 msgid "The length of basename plus length must not be greater than 15" msgstr "basename加长度的长度不得大于15" -#: core/util/tools.py:170 +#: core/util/tools.py:186 msgid "The machine name can't be only numbers" msgstr "机器名称不能只是数字" @@ -2058,30 +2063,30 @@ msgstr "机器名称不能只是数字" msgid "Numeric" msgstr "数字" -#: core/util/validators.py:64 +#: core/util/validators.py:66 #, python-brace-format msgid "{0} must be greater than or equal to {1}" msgstr "{0}必须大于或等于{1}" -#: core/util/validators.py:67 +#: core/util/validators.py:74 #, python-brace-format msgid "{0} must be lower than or equal to {1}" msgstr "{0}必须小于或等于{1}" -#: core/util/validators.py:72 +#: core/util/validators.py:81 #, python-brace-format msgid "{0} contains invalid characters" msgstr "{0}包含无效字符" -#: core/util/validators.py:81 +#: core/util/validators.py:90 msgid "{} exceeds maximum host name length." msgstr "{}超过了主机名的最大长度。" -#: core/util/validators.py:92 +#: core/util/validators.py:103 msgid "{} is not a valid hostname" msgstr "{}不是有效的主机名" -#: core/util/validators.py:136 +#: core/util/validators.py:152 msgid "" "Invalid mac range. Mac range must be in format XX:XX:XX:XX:XX:XX-XX:XX:XX:XX:" "XX:XX" @@ -3002,8 +3007,8 @@ msgstr "从订阅中获得" #: services/OpenGnsys/provider.py:141 services/OpenNebula/provider.py:83 #: services/OpenStack/provider.py:143 services/OpenStack/provider_legacy.py:160 #: services/Proxmox/provider.py:100 services/VCloud_enterprise/provider.py:60 -#: services/Vmware_enterprise/provider.py:47 -#: services/Vmware_enterprise/provider.py:99 services/Xen/provider.py:123 +#: services/Vmware_enterprise/provider.py:76 +#: services/Vmware_enterprise/provider.py:182 services/Xen/provider.py:123 msgid "Creation concurrency" msgstr "创建并发" @@ -3015,7 +3020,7 @@ msgstr "创建并发" #: services/OpenGnsys/provider.py:146 services/OpenNebula/provider.py:83 #: services/OpenStack/provider.py:148 services/OpenStack/provider_legacy.py:165 #: services/Proxmox/provider.py:105 services/VCloud_enterprise/provider.py:60 -#: services/Vmware_enterprise/provider.py:47 services/Xen/provider.py:128 +#: services/Vmware_enterprise/provider.py:81 services/Xen/provider.py:128 msgid "Maximum number of concurrently creating VMs" msgstr "最大并发创建VM的数量" @@ -3027,8 +3032,8 @@ msgstr "最大并发创建VM的数量" #: services/OpenGnsys/provider.py:152 services/OpenNebula/provider.py:84 #: services/OpenStack/provider.py:154 services/OpenStack/provider_legacy.py:171 #: services/Proxmox/provider.py:111 services/VCloud_enterprise/provider.py:61 -#: services/Vmware_enterprise/provider.py:48 -#: services/Vmware_enterprise/provider.py:100 services/Xen/provider.py:134 +#: services/Vmware_enterprise/provider.py:87 +#: services/Vmware_enterprise/provider.py:188 services/Xen/provider.py:134 msgid "Removal concurrency" msgstr "删除并发" @@ -3040,7 +3045,7 @@ msgstr "删除并发" #: services/OpenGnsys/provider.py:157 services/OpenNebula/provider.py:84 #: services/OpenStack/provider.py:159 services/OpenStack/provider_legacy.py:176 #: services/Proxmox/provider.py:116 services/VCloud_enterprise/provider.py:61 -#: services/Vmware_enterprise/provider.py:48 services/Xen/provider.py:139 +#: services/Vmware_enterprise/provider.py:92 services/Xen/provider.py:139 msgid "Maximum number of concurrently removing VMs" msgstr "最大并发删除VM数" @@ -3247,7 +3252,7 @@ msgstr "连接到HyperV的超时时间" #: services/HyperV_enterprise/legacy/provider.py:95 #: services/HyperV_enterprise/provider.py:103 #: services/Nutanix_enterprise/provider.py:45 services/OVirt/provider.py:117 -#: services/Vmware_enterprise/provider.py:51 services/Xen/provider.py:146 +#: services/Vmware_enterprise/provider.py:109 services/Xen/provider.py:146 msgid "Macs range" msgstr "Macs系列" @@ -3264,7 +3269,7 @@ msgstr "连接测试成功" #: services/HyperV_enterprise/legacy/provider.py:268 #: services/NutanixPrism_enterprise/provider.py:262 #: services/Nutanix_enterprise/provider.py:228 services/OVirt/provider.py:457 -#: services/Proxmox/provider.py:312 services/Vmware_enterprise/provider.py:168 +#: services/Proxmox/provider.py:312 services/Vmware_enterprise/provider.py:291 msgid "Connection failed. Check connection params" msgstr "连接失败。检查连接参数" @@ -4063,53 +4068,64 @@ msgstr "静态IP机器提供商" msgid "Provides connection to machines by IP" msgstr "通过IP提供与机器的连接" -#: services/PhysicalMachines/service_multi.py:63 +#: services/PhysicalMachines/service_multi.py:64 #: services/Vmware_enterprise/service_fixed.py:55 msgid "Service Token" msgstr "服务令牌" -#: services/PhysicalMachines/service_multi.py:66 +#: services/PhysicalMachines/service_multi.py:67 #: services/Vmware_enterprise/service_fixed.py:57 msgid "" "Service token that will be used by actors to communicate with service. Leave " "empty for persistent assignation." msgstr "参与者将用于与服务进行通信的服务令牌。留空以进行永久分配。" -#: services/PhysicalMachines/service_multi.py:74 +#: services/PhysicalMachines/service_multi.py:75 #: services/RDS_enterprise/provider.py:49 msgid "List of servers" msgstr "服务器列表" -#: services/PhysicalMachines/service_multi.py:75 +#: services/PhysicalMachines/service_multi.py:76 msgid "List of servers available for this service" msgstr "可用于此服务的服务器列表" -#: services/PhysicalMachines/service_multi.py:80 +#: services/PhysicalMachines/service_multi.py:81 msgid "Check Port" msgstr "检查端口" -#: services/PhysicalMachines/service_multi.py:84 +#: services/PhysicalMachines/service_multi.py:85 msgid "" "If non zero, only hosts responding to connection on that port will be served." msgstr "如果非零,则仅响应该端口上的连接的主机。" -#: services/PhysicalMachines/service_multi.py:91 +#: services/PhysicalMachines/service_multi.py:92 msgid "Skip time" msgstr "跳过时间" -#: services/PhysicalMachines/service_multi.py:94 +#: services/PhysicalMachines/service_multi.py:95 msgid "If a host fails to check, skip it for this time (in minutes)." msgstr "如果主机无法检查,请跳过此时间(以分钟为单位)。" -#: services/PhysicalMachines/service_multi.py:101 +#: services/PhysicalMachines/service_multi.py:103 +#| msgid "Max. session time" +msgid "Max session per machine" +msgstr "每台机器的最大会话数" + +#: services/PhysicalMachines/service_multi.py:107 +msgid "" +"Maximum session duration before UDS thinks this machine got locked and " +"releases it (hours). 0 means \"never\"." +msgstr "UDS 认为这台机器被锁定并释放它之前的最大会话持续时间(小时)。 0 表示“从不”。" + +#: services/PhysicalMachines/service_multi.py:115 msgid "Static Multiple IP" msgstr "静态多IP" -#: services/PhysicalMachines/service_multi.py:103 +#: services/PhysicalMachines/service_multi.py:117 msgid "This service provides access to POWERED-ON Machines by IP" msgstr "此服务可通过IP访问POWERED-ON机器" -#: services/PhysicalMachines/service_multi.py:134 +#: services/PhysicalMachines/service_multi.py:150 msgid "Invalid value detected on servers list: \"{}\"" msgstr "在服务器列表中检测到无效值:“{}”" @@ -4447,7 +4463,7 @@ msgstr "允许的最大服务数(0表示没有限制)" msgid "Wait spawned processes" msgstr "等待产生的进程" -#: services/RDS_enterprise/service.py:99 +#: services/RDS_enterprise/service.py:100 msgid "" "If active, RDS Actor will wait until the application and all spawned " "processes finished before considering app logged out" @@ -4455,7 +4471,7 @@ msgstr "" "如果处于活动状态,RDS Actor将等到应用程序和所有生成的进程完成后再考虑应用程序" "注销" -#: services/RDS_enterprise/service.py:109 +#: services/RDS_enterprise/service.py:112 msgid "A valid application path is required" msgstr "需要有效的应用程序路径" @@ -4698,27 +4714,27 @@ msgstr "本地" msgid "Remote" msgstr "远程" -#: services/Vmware_enterprise/provider.py:41 +#: services/Vmware_enterprise/provider.py:47 msgid "VMWare VCenter Server IP or Hostname" msgstr "VMWare VCenter服务器IP或主机名" -#: services/Vmware_enterprise/provider.py:42 +#: services/Vmware_enterprise/provider.py:55 msgid "VMWare VC Server Port (usually 443)" msgstr "VMWare VC服务器端口(通常为443)" -#: services/Vmware_enterprise/provider.py:43 +#: services/Vmware_enterprise/provider.py:62 msgid "User with valid privileges on VC" msgstr "具有VC有效权限的用户" -#: services/Vmware_enterprise/provider.py:44 +#: services/Vmware_enterprise/provider.py:69 msgid "Password of the user of the VC" msgstr "VC用户的密码" -#: services/Vmware_enterprise/provider.py:50 +#: services/Vmware_enterprise/provider.py:102 msgid "Timeout in seconds of connection to VC" msgstr "连接VC的超时时间" -#: services/Vmware_enterprise/provider.py:52 +#: services/Vmware_enterprise/provider.py:114 msgid "" "Range of valid macs for created machines. Must be inside " "00:50:56:00:00:00-00:50:56:3F:FF:FF" @@ -4726,15 +4742,15 @@ msgstr "" "已创建计算机的有效mac范围。必须在00:50:56:00:00:00-00:50:56:3F:FF:" "FF内" -#: services/Vmware_enterprise/provider.py:56 +#: services/Vmware_enterprise/provider.py:126 msgid "VMWare VCenter Platform Provider" msgstr "VMWare VCenter平台提供商" -#: services/Vmware_enterprise/provider.py:58 +#: services/Vmware_enterprise/provider.py:128 msgid "Provides connection to Virtual Center Services" msgstr "提供与Virtual Center Services的连接" -#: services/Vmware_enterprise/provider.py:166 +#: services/Vmware_enterprise/provider.py:287 msgid "Connection params ok" msgstr "连接参数确定" @@ -5191,7 +5207,7 @@ msgstr "显示壁纸" #: transports/HTML5RDP/html5rdp.py:134 #: transports/HTML5RDS_enterprise/html5rds.py:123 -#: transports/RDP/rdp_base.py:213 +#: transports/RDP/rdp_base.py:222 msgid "" "If checked, the wallpaper and themes will be shown on machine (better user " "experience, more bandwidth)" @@ -5199,25 +5215,25 @@ msgstr "如果选中,壁纸和主题将显示在机器上(更好的用户体 #: transports/HTML5RDP/html5rdp.py:139 #: transports/HTML5RDS_enterprise/html5rds.py:128 -#: transports/RDP/rdp_base.py:226 +#: transports/RDP/rdp_base.py:235 msgid "Allow Desk.Comp." msgstr "允许Desk.Comp。" #: transports/HTML5RDP/html5rdp.py:141 #: transports/HTML5RDS_enterprise/html5rds.py:130 -#: transports/RDP/rdp_base.py:228 +#: transports/RDP/rdp_base.py:237 msgid "If checked, desktop composition will be allowed" msgstr "如果选中,则允许桌面合成" #: transports/HTML5RDP/html5rdp.py:145 #: transports/HTML5RDS_enterprise/html5rds.py:134 -#: transports/RDP/rdp_base.py:232 transports/RDS_enterprise/rds_base.py:150 +#: transports/RDP/rdp_base.py:241 transports/RDS_enterprise/rds_base.py:150 msgid "Font Smoothing" msgstr "字体平滑" #: transports/HTML5RDP/html5rdp.py:147 #: transports/HTML5RDS_enterprise/html5rds.py:136 -#: transports/RDS_enterprise/rds_base.py:152 +#: transports/RDS_enterprise/rds_base.py:153 msgid "If checked, fonts smoothing will be allowed (windows clients only)" msgstr "如果选中,将允许字体平滑(仅限Windows客户端)" @@ -5378,13 +5394,22 @@ msgstr "NLA 扩展(网络层身份验证。需要有效的用户名和密码 msgid "TLS (Transport Security Layer encryption)" msgstr "TLS(传输安全层加密)" -#: transports/HTML5RDP/html5rdp.py:246 +#: transports/HTML5RDP/html5rdp.py:247 transports/RDP/rdp_base.py:172 +#| msgid "Port" +msgid "RDP Port" +msgstr "RDP 端口" + +#: transports/HTML5RDP/html5rdp.py:248 transports/RDP/rdp_base.py:173 +msgid "Use this port as RDP port. Defaults to 3389." +msgstr "将此端口用作 RDP 端口。默认为 3389。" + +#: transports/HTML5RDP/html5rdp.py:256 #: transports/HTML5RDS_enterprise/html5rds.py:223 #: transports/HTML5VNC/html5vnc.py:109 msgid "Ticket Validity" msgstr "机票有效期" -#: transports/HTML5RDP/html5rdp.py:250 +#: transports/HTML5RDP/html5rdp.py:260 #: transports/HTML5RDS_enterprise/html5rds.py:227 #: transports/HTML5VNC/html5vnc.py:112 msgid "" @@ -5394,42 +5419,42 @@ msgstr "" "HTML5客户端从UDS Broker重新加载数据的允许时间(以秒为单位)。建议使用默认值" "60。" -#: transports/HTML5RDP/html5rdp.py:259 +#: transports/HTML5RDP/html5rdp.py:269 #: transports/HTML5RDS_enterprise/html5rds.py:236 #: transports/HTML5VNC/html5vnc.py:119 transports/URL/url_custom.py:82 msgid "Force new HTML Window" msgstr "强制新的HTML窗口" -#: transports/HTML5RDP/html5rdp.py:260 +#: transports/HTML5RDP/html5rdp.py:270 #: transports/HTML5RDS_enterprise/html5rds.py:237 #: transports/HTML5VNC/html5vnc.py:120 msgid "Select windows behavior for new connections on HTML5" msgstr "选择Windows行为以获取HTML5上的新连接" -#: transports/HTML5RDP/html5rdp.py:265 +#: transports/HTML5RDP/html5rdp.py:275 #: transports/HTML5RDS_enterprise/html5rds.py:242 #: transports/HTML5VNC/html5vnc.py:123 msgid "Open every connection on the same window, but keeps UDS window." msgstr "在同一窗口中打开每个连接,但保留UDS窗口。" -#: transports/HTML5RDP/html5rdp.py:268 +#: transports/HTML5RDP/html5rdp.py:278 #: transports/HTML5RDS_enterprise/html5rds.py:245 #: transports/HTML5VNC/html5vnc.py:124 msgid "Force every connection to be opened on a new window." msgstr "强制在新窗口中打开每个连接。" -#: transports/HTML5RDP/html5rdp.py:272 +#: transports/HTML5RDP/html5rdp.py:282 #: transports/HTML5RDS_enterprise/html5rds.py:249 #: transports/HTML5VNC/html5vnc.py:125 msgid "Override UDS window and replace it with the connection." msgstr "覆盖UDS窗口并将其替换为连接。" -#: transports/HTML5RDP/html5rdp.py:280 +#: transports/HTML5RDP/html5rdp.py:290 #: transports/HTML5RDS_enterprise/html5rds.py:256 msgid "Glyptodon Enterprise context path" msgstr "Glyptodon 企业上下文路径" -#: transports/HTML5RDP/html5rdp.py:283 +#: transports/HTML5RDP/html5rdp.py:293 #: transports/HTML5RDS_enterprise/html5rds.py:259 msgid "" "Customized path for Glyptodon Enterprise tunnel. (Only valid for Glyptodon " @@ -5438,13 +5463,13 @@ msgstr "" "Glyptodon Enterprise 隧道的自定义路径。 (仅对 Glyptodon Enterprise Tunnel 有" "效)" -#: transports/HTML5RDP/html5rdp.py:298 +#: transports/HTML5RDP/html5rdp.py:308 #: transports/HTML5RDS_enterprise/html5rds.py:273 #: transports/HTML5VNC/html5vnc.py:137 msgid "The server must be http or https" msgstr "服务器必须是http或https" -#: transports/HTML5RDP/html5rdp.py:303 +#: transports/HTML5RDP/html5rdp.py:313 #: transports/HTML5RDS_enterprise/html5rds.py:278 msgid "" "Empty credentials (on Credentials tab) is only allowed with Security level " @@ -5495,7 +5520,7 @@ msgstr "VNC服务器端口" msgid "Port of the VNC server." msgstr "VNC服务器的端口。" -#: transports/HTML5VNC/html5vnc.py:90 transports/RDP/rdp_base.py:196 +#: transports/HTML5VNC/html5vnc.py:90 transports/RDP/rdp_base.py:205 #: transports/RDS_enterprise/rds_base.py:136 msgid "Color depth" msgstr "颜色深度" @@ -5602,7 +5627,7 @@ msgid "" msgstr "如果启用,将验证隧道服务器的证书(推荐)。" #: transports/NoMachine_enterprise/nomachine_tunneltransport.py:114 -#: transports/RDP/rdptunnel.py:134 transports/RDS_enterprise/rdstunnel.py:126 +#: transports/RDP/rdptunnel.py:135 transports/RDS_enterprise/rdstunnel.py:126 #: transports/SPICE/spice_tunnel.py:106 transports/X2GO/x2go_tunnel.py:117 msgid "Must use HOST:PORT in Tunnel Server Field" msgstr "必须在隧道服务器字段中使用HOST:PORT" @@ -5709,83 +5734,83 @@ msgstr "Credssp支持" msgid "If checked, will enable Credentials Provider Support)" msgstr "如果选中,将启用凭据提供程序支持)" -#: transports/RDP/rdp_base.py:172 +#: transports/RDP/rdp_base.py:181 msgid "Screen Size" msgstr "屏幕尺寸" -#: transports/RDP/rdp_base.py:174 +#: transports/RDP/rdp_base.py:183 msgid "Screen size for this transport" msgstr "此运输的屏幕尺寸" -#: transports/RDP/rdp_base.py:198 transports/RDS_enterprise/rds_base.py:138 +#: transports/RDP/rdp_base.py:207 transports/RDS_enterprise/rds_base.py:138 msgid "Color depth for this connection" msgstr "此连接的颜色深度" -#: transports/RDP/rdp_base.py:210 +#: transports/RDP/rdp_base.py:219 msgid "Wallpaper/theme" msgstr "壁纸/主题" -#: transports/RDP/rdp_base.py:218 +#: transports/RDP/rdp_base.py:227 msgid "Multiple monitors" msgstr "多个显示器" -#: transports/RDP/rdp_base.py:221 +#: transports/RDP/rdp_base.py:230 msgid "" "If checked, all client monitors will be used for displaying (only works on " "windows clients)" msgstr "如果选中,则将使用所有客户端监视器进行显示(仅适用于Windows客户端)" -#: transports/RDP/rdp_base.py:234 +#: transports/RDP/rdp_base.py:244 msgid "If checked, fonts smoothing will be allowed" msgstr "如果选中,则允许字体平滑" -#: transports/RDP/rdp_base.py:238 +#: transports/RDP/rdp_base.py:248 msgid "Connection Bar" msgstr "连接栏" -#: transports/RDP/rdp_base.py:240 +#: transports/RDP/rdp_base.py:250 msgid "If checked, connection bar will be shown (only on Windows clients)" msgstr "如果选中,将显示连接栏(仅在Windows客户端上)" -#: transports/RDP/rdp_base.py:246 transports/RDS_enterprise/rds_base.py:174 +#: transports/RDP/rdp_base.py:256 transports/RDS_enterprise/rds_base.py:179 msgid "Multimedia sync" msgstr "多媒体同步" -#: transports/RDP/rdp_base.py:249 transports/RDS_enterprise/rds_base.py:177 +#: transports/RDP/rdp_base.py:259 transports/RDS_enterprise/rds_base.py:182 msgid "If checked. Linux client will use multimedia parameter for xfreerdp" msgstr "如果选中。 Linux客户端将使用xfreerdp的多媒体参数" -#: transports/RDP/rdp_base.py:254 transports/RDS_enterprise/rds_base.py:182 +#: transports/RDP/rdp_base.py:264 transports/RDS_enterprise/rds_base.py:187 msgid "Use Alsa" msgstr "使用Alsa" -#: transports/RDP/rdp_base.py:257 transports/RDS_enterprise/rds_base.py:185 +#: transports/RDP/rdp_base.py:267 transports/RDS_enterprise/rds_base.py:190 msgid "" "If checked, Linux client will try to use ALSA, otherwise Pulse will be used" msgstr "如果选中,Linux客户端将尝试使用ALSA,否则将使用Pulse" -#: transports/RDP/rdp_base.py:262 transports/RDS_enterprise/rds_base.py:190 +#: transports/RDP/rdp_base.py:272 transports/RDS_enterprise/rds_base.py:195 msgid "Printer string" msgstr "打印机字符串" -#: transports/RDP/rdp_base.py:265 transports/RDS_enterprise/rds_base.py:193 +#: transports/RDP/rdp_base.py:275 transports/RDS_enterprise/rds_base.py:198 msgid "If printer is checked, the printer string used with xfreerdp client" msgstr "如果选中打印机,则打印机字符串与xfreerdp客户端一起使用" -#: transports/RDP/rdp_base.py:271 transports/RDS_enterprise/rds_base.py:199 +#: transports/RDP/rdp_base.py:281 transports/RDS_enterprise/rds_base.py:204 msgid "Smartcard string" msgstr "智能卡字符串" -#: transports/RDP/rdp_base.py:274 transports/RDS_enterprise/rds_base.py:202 +#: transports/RDP/rdp_base.py:284 transports/RDS_enterprise/rds_base.py:207 msgid "If smartcard is checked, the smartcard string used with xfreerdp client" msgstr "如果选中智能卡,则智能卡字符串与xfreerdp客户端一起使用" -#: transports/RDP/rdp_base.py:280 transports/RDP/rdp_base.py:300 -#: transports/RDS_enterprise/rds_base.py:208 +#: transports/RDP/rdp_base.py:290 transports/RDP/rdp_base.py:310 +#: transports/RDS_enterprise/rds_base.py:213 msgid "Custom parameters" msgstr "自定义参数" -#: transports/RDP/rdp_base.py:283 transports/RDS_enterprise/rds_base.py:211 +#: transports/RDP/rdp_base.py:293 transports/RDS_enterprise/rds_base.py:216 msgid "" "If not empty, extra parameter to include for Linux Client (for example /usb:" "id,dev:054c:0268, or aything compatible with your xfreerdp client)" @@ -5793,17 +5818,17 @@ msgstr "" "如果不为空,则为Linux客户端包含额外参数(例如/usb:id,dev:054c:0268,或者" "与xfreerdp客户端兼容的东西)" -#: transports/RDP/rdp_base.py:290 +#: transports/RDP/rdp_base.py:300 msgid "Allow Microsoft Rdp Client" msgstr "允许 Microsoft Rdp 客户端" -#: transports/RDP/rdp_base.py:293 +#: transports/RDP/rdp_base.py:303 msgid "" "If checked, allows use of Microsoft Remote Desktop Client. PASSWORD WILL BE " "PROMPTED!" msgstr "如果选中,则允许使用 Microsoft 远程桌面客户端。密码将被提示!" -#: transports/RDP/rdp_base.py:303 +#: transports/RDP/rdp_base.py:313 msgid "" "If not empty, extra parameter to include for Mac OS X Freerdp Client (for " "example /usb:id,dev:054c:0268, or aything compatible with your xfreerdp " @@ -5826,18 +5851,32 @@ msgid "RDS access using RDP for vApps. Direct connection." msgstr "使用RDP为vApp进行RDS访问。直接连接。" #: transports/RDS_enterprise/rds_base.py:157 +#| msgid "Window Size" +msgid "Window state" +msgstr "窗口状态" + +#: transports/RDS_enterprise/rds_base.py:159 +msgid "UDS Will try to execute the applicaiton with the window in this state" +msgstr "UDS 将尝试在此状态下使用窗口执行应用程序" + +#: transports/RDS_enterprise/rds_base.py:162 +msgid "Normal" +msgstr "普通的" + +#: transports/RDS_enterprise/rds_base.py:163 msgid "Maximized" msgstr "最大化" -#: transports/RDS_enterprise/rds_base.py:160 -msgid "If checked, UDS Actor will try to execute application maximized)" -msgstr "如果选中,UDS Actor 将尝试最大化执行应用程序)" +#: transports/RDS_enterprise/rds_base.py:164 +#| msgid "Maximized" +msgid "Minimized" +msgstr "最小化" -#: transports/RDS_enterprise/rds_base.py:165 +#: transports/RDS_enterprise/rds_base.py:170 msgid "Execute as shell" msgstr "作为 shell 执行" -#: transports/RDS_enterprise/rds_base.py:169 +#: transports/RDS_enterprise/rds_base.py:174 msgid "" "If checked, Linux client will execute application in a session instead of a " "remoteapp" @@ -6031,7 +6070,7 @@ msgstr "身份验证错误太多。用户暂时被阻止" msgid "Invalid data" msgstr "无效数据" -#: web/util/configjs.py:146 +#: web/util/configjs.py:145 msgid "Access limited by calendar" msgstr "访问受日历限制" @@ -6161,6 +6200,6 @@ msgid "" "complete it.)" msgstr "我们正在创建您的服务,请等待几秒钟。)" -#: web/views/auth.py:151 +#: web/views/auth.py:154 msgid "Authenticator does not provide information" msgstr "Authenticator不提供信息" diff --git a/server/src/uds/locale/zh_Hans/LC_MESSAGES/djangojs.po b/server/src/uds/locale/zh_Hans/LC_MESSAGES/djangojs.po index e3afe8614..fae23340b 100644 --- a/server/src/uds/locale/zh_Hans/LC_MESSAGES/djangojs.po +++ b/server/src/uds/locale/zh_Hans/LC_MESSAGES/djangojs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: OpenUDS\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-08 14:18+0200\n" +"POT-Creation-Date: 2021-07-29 13:12+0200\n" "PO-Revision-Date: 2021-07-08 10:59+0000\n" "Last-Translator: Adolfo Gómez \n" "Language-Team: Chinese (http://www.transifex.com/openuds/openuds/language/" @@ -146,23 +146,23 @@ msgstr "游泳池组" msgid "Go to" msgstr "去" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:271 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:272 msgid "yes" msgstr "是" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:272 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:273 msgid "no" msgstr "没有" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:268 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:269 msgid "Error saving: " msgstr "保存时出错:" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:269 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:270 msgid "Error saving element" msgstr "错误保存元素" -#: static/admin/main.js:1 static/admin/translations-fakejs.js:270 +#: static/admin/main.js:1 static/admin/translations-fakejs.js:271 msgid "Error handling your request" msgstr "处理您的请求时出错" @@ -271,8 +271,8 @@ msgstr "#RESTRAINED_NUMBER#个受限制的服务!" #: static/admin/main.js:1 static/admin/translations-fakejs.js:105 #: static/admin/translations-fakejs.js:249 -#: static/admin/translations-fakejs.js:398 -#: static/admin/translations-fakejs.js:450 +#: static/admin/translations-fakejs.js:402 +#: static/admin/translations-fakejs.js:454 msgid "Assigned services" msgstr "分配的服务" @@ -281,8 +281,8 @@ msgid "Services in use" msgstr "使用中的服务" #: static/admin/main.js:1 static/admin/translations-fakejs.js:21 -#: static/admin/translations-fakejs.js:291 -#: static/admin/translations-fakejs.js:299 +#: static/admin/translations-fakejs.js:292 +#: static/admin/translations-fakejs.js:300 #: static/modern/translations-fakejs.js:30 msgid "Filter" msgstr "过滤" @@ -300,25 +300,25 @@ msgid "Full Access" msgstr "完全访问" #: static/admin/main.js:1 static/admin/translations-fakejs.js:15 -#: static/admin/translations-fakejs.js:358 -#: static/admin/translations-fakejs.js:405 -#: static/admin/translations-fakejs.js:410 +#: static/admin/translations-fakejs.js:362 +#: static/admin/translations-fakejs.js:409 +#: static/admin/translations-fakejs.js:414 msgid "User" msgstr "用户" #: static/admin/main.js:1 static/admin/translations-fakejs.js:16 #: static/admin/translations-fakejs.js:83 #: static/admin/translations-fakejs.js:93 -#: static/admin/translations-fakejs.js:423 -#: static/admin/translations-fakejs.js:444 +#: static/admin/translations-fakejs.js:427 +#: static/admin/translations-fakejs.js:448 msgid "Group" msgstr "组" #: static/admin/main.js:1 static/admin/translations-fakejs.js:17 -#: static/admin/translations-fakejs.js:404 -#: static/admin/translations-fakejs.js:409 -#: static/admin/translations-fakejs.js:422 -#: static/admin/translations-fakejs.js:443 +#: static/admin/translations-fakejs.js:408 +#: static/admin/translations-fakejs.js:413 +#: static/admin/translations-fakejs.js:426 +#: static/admin/translations-fakejs.js:447 #: static/modern/translations-fakejs.js:73 msgid "Authenticator" msgstr "认证" @@ -390,8 +390,8 @@ msgstr "池" #: static/admin/main.js:1 static/admin/translations-fakejs.js:77 #: static/admin/translations-fakejs.js:96 #: static/admin/translations-fakejs.js:230 -#: static/admin/translations-fakejs.js:339 -#: static/admin/translations-fakejs.js:351 +#: static/admin/translations-fakejs.js:343 +#: static/admin/translations-fakejs.js:355 msgid "State" msgstr "州" @@ -403,21 +403,21 @@ msgstr "用户服务" #: static/admin/main.js:1 static/admin/translations-fakejs.js:88 #: static/admin/translations-fakejs.js:232 -#: static/admin/translations-fakejs.js:319 -#: static/admin/translations-fakejs.js:397 +#: static/admin/translations-fakejs.js:321 +#: static/admin/translations-fakejs.js:401 msgid "Service pools" msgstr "服务池" #: static/admin/main.js:1 static/admin/translations-fakejs.js:3 #: static/admin/translations-fakejs.js:7 -#: static/admin/translations-fakejs.js:306 +#: static/admin/translations-fakejs.js:308 #: static/modern/translations-fakejs.js:44 msgid "Yes" msgstr "是" #: static/admin/main.js:1 static/admin/translations-fakejs.js:4 #: static/admin/translations-fakejs.js:8 -#: static/admin/translations-fakejs.js:307 +#: static/admin/translations-fakejs.js:309 #: static/modern/translations-fakejs.js:45 msgid "No" msgstr "没有" @@ -474,10 +474,10 @@ msgstr "所有" #: static/admin/main.js:1 static/admin/translations-fakejs.js:84 #: static/admin/translations-fakejs.js:94 -#: static/admin/translations-fakejs.js:338 -#: static/admin/translations-fakejs.js:350 -#: static/admin/translations-fakejs.js:375 -#: static/admin/translations-fakejs.js:431 +#: static/admin/translations-fakejs.js:342 +#: static/admin/translations-fakejs.js:354 +#: static/admin/translations-fakejs.js:379 +#: static/admin/translations-fakejs.js:435 msgid "Comments" msgstr "评论" @@ -503,25 +503,25 @@ msgstr "服务池" #: static/admin/main.js:1 static/admin/translations-fakejs.js:90 #: static/admin/translations-fakejs.js:103 -#: static/admin/translations-fakejs.js:286 -#: static/admin/translations-fakejs.js:321 -#: static/admin/translations-fakejs.js:333 -#: static/admin/translations-fakejs.js:359 +#: static/admin/translations-fakejs.js:287 +#: static/admin/translations-fakejs.js:323 +#: static/admin/translations-fakejs.js:337 #: static/admin/translations-fakejs.js:363 -#: static/admin/translations-fakejs.js:369 -#: static/admin/translations-fakejs.js:399 -#: static/admin/translations-fakejs.js:452 +#: static/admin/translations-fakejs.js:367 +#: static/admin/translations-fakejs.js:373 +#: static/admin/translations-fakejs.js:403 +#: static/admin/translations-fakejs.js:456 msgid "Groups" msgstr "组" #: static/admin/main.js:1 static/admin/translations-fakejs.js:104 -#: static/admin/translations-fakejs.js:331 -#: static/admin/translations-fakejs.js:364 +#: static/admin/translations-fakejs.js:335 +#: static/admin/translations-fakejs.js:368 msgid "Services Pools" msgstr "服务池" #: static/admin/main.js:1 static/admin/translations-fakejs.js:79 -#: static/admin/translations-fakejs.js:374 +#: static/admin/translations-fakejs.js:378 msgid "Name" msgstr "名称" @@ -538,26 +538,26 @@ msgid "Last access" msgstr "上次访问" #: static/admin/main.js:1 static/admin/translations-fakejs.js:89 -#: static/admin/translations-fakejs.js:285 -#: static/admin/translations-fakejs.js:332 -#: static/admin/translations-fakejs.js:368 +#: static/admin/translations-fakejs.js:286 +#: static/admin/translations-fakejs.js:336 +#: static/admin/translations-fakejs.js:372 msgid "Users" msgstr "用户" #: static/admin/main.js:1 static/admin/translations-fakejs.js:85 -#: static/admin/translations-fakejs.js:340 -#: static/admin/translations-fakejs.js:352 +#: static/admin/translations-fakejs.js:344 +#: static/admin/translations-fakejs.js:356 msgid "Enabled" msgstr "启用" #: static/admin/main.js:1 static/admin/translations-fakejs.js:86 -#: static/admin/translations-fakejs.js:341 -#: static/admin/translations-fakejs.js:353 +#: static/admin/translations-fakejs.js:345 +#: static/admin/translations-fakejs.js:357 msgid "Disabled" msgstr "残" #: static/admin/main.js:1 static/admin/translations-fakejs.js:87 -#: static/admin/translations-fakejs.js:354 +#: static/admin/translations-fakejs.js:358 msgid "Blocked" msgstr "阻止" @@ -667,12 +667,12 @@ msgid "In use" msgstr "正在使用" #: static/admin/main.js:1 static/admin/translations-fakejs.js:202 -#: static/admin/translations-fakejs.js:289 -#: static/admin/translations-fakejs.js:370 -#: static/admin/translations-fakejs.js:401 -#: static/admin/translations-fakejs.js:458 -#: static/admin/translations-fakejs.js:461 -#: static/admin/translations-fakejs.js:466 +#: static/admin/translations-fakejs.js:290 +#: static/admin/translations-fakejs.js:374 +#: static/admin/translations-fakejs.js:405 +#: static/admin/translations-fakejs.js:462 +#: static/admin/translations-fakejs.js:465 +#: static/admin/translations-fakejs.js:470 msgid "Logs" msgstr "日志" @@ -693,20 +693,20 @@ msgid "Assign service" msgstr "分配服务" #: static/admin/main.js:1 static/admin/translations-fakejs.js:207 -#: static/admin/translations-fakejs.js:276 -#: static/admin/translations-fakejs.js:282 -#: static/admin/translations-fakejs.js:345 -#: static/admin/translations-fakejs.js:360 -#: static/admin/translations-fakejs.js:386 -#: static/admin/translations-fakejs.js:394 -#: static/admin/translations-fakejs.js:406 -#: static/admin/translations-fakejs.js:411 -#: static/admin/translations-fakejs.js:419 -#: static/admin/translations-fakejs.js:424 +#: static/admin/translations-fakejs.js:277 +#: static/admin/translations-fakejs.js:283 +#: static/admin/translations-fakejs.js:349 +#: static/admin/translations-fakejs.js:364 +#: static/admin/translations-fakejs.js:390 +#: static/admin/translations-fakejs.js:398 +#: static/admin/translations-fakejs.js:410 +#: static/admin/translations-fakejs.js:415 +#: static/admin/translations-fakejs.js:423 #: static/admin/translations-fakejs.js:428 #: static/admin/translations-fakejs.js:432 -#: static/admin/translations-fakejs.js:445 -#: static/admin/translations-fakejs.js:487 +#: static/admin/translations-fakejs.js:436 +#: static/admin/translations-fakejs.js:449 +#: static/admin/translations-fakejs.js:491 msgid "Cancel" msgstr "取消" @@ -858,7 +858,7 @@ msgid "Yearly" msgstr "每年" #: static/admin/main.js:1 static/admin/translations-fakejs.js:148 -#: static/admin/translations-fakejs.js:383 +#: static/admin/translations-fakejs.js:387 msgid "Weekdays" msgstr "平日" @@ -1015,6 +1015,11 @@ msgstr "配置已保存" msgid "Delete actor token - USE WITH EXTREME CAUTION!!!" msgstr "删除演员令牌-格外小心!!!" +#: static/admin/main.js:1 static/admin/translations-fakejs.js:268 +#| msgid "Delete actor token - USE WITH EXTREME CAUTION!!!" +msgid "Delete tunnel token - USE WITH EXTREME CAUTION!!!" +msgstr "删除隧道令牌 - 使用时要格外小心!!!" + #: static/admin/main.js:1 static/admin/translations-fakejs.js:24 msgid "Cache flushed" msgstr "缓存已刷新" @@ -1103,492 +1108,504 @@ msgstr "未处理的PromiseRejectionHandler" msgid "rejectionHandledHandler" msgstr "拒绝处理程序" -#: static/admin/translations-fakejs.js:274 +#: static/admin/translations-fakejs.js:275 msgid "Remove all" msgstr "移除所有" -#: static/admin/translations-fakejs.js:275 +#: static/admin/translations-fakejs.js:276 msgid "Add" msgstr "加" -#: static/admin/translations-fakejs.js:277 -#: static/admin/translations-fakejs.js:283 -#: static/admin/translations-fakejs.js:288 -#: static/admin/translations-fakejs.js:334 -#: static/admin/translations-fakejs.js:346 -#: static/admin/translations-fakejs.js:361 -#: static/admin/translations-fakejs.js:366 -#: static/admin/translations-fakejs.js:387 -#: static/admin/translations-fakejs.js:395 -#: static/admin/translations-fakejs.js:407 -#: static/admin/translations-fakejs.js:412 -#: static/admin/translations-fakejs.js:420 -#: static/admin/translations-fakejs.js:425 +#: static/admin/translations-fakejs.js:278 +#: static/admin/translations-fakejs.js:284 +#: static/admin/translations-fakejs.js:289 +#: static/admin/translations-fakejs.js:338 +#: static/admin/translations-fakejs.js:350 +#: static/admin/translations-fakejs.js:365 +#: static/admin/translations-fakejs.js:370 +#: static/admin/translations-fakejs.js:391 +#: static/admin/translations-fakejs.js:399 +#: static/admin/translations-fakejs.js:411 +#: static/admin/translations-fakejs.js:416 +#: static/admin/translations-fakejs.js:424 #: static/admin/translations-fakejs.js:429 #: static/admin/translations-fakejs.js:433 -#: static/admin/translations-fakejs.js:435 -#: static/admin/translations-fakejs.js:446 -#: static/admin/translations-fakejs.js:448 -#: static/admin/translations-fakejs.js:462 -#: static/admin/translations-fakejs.js:488 +#: static/admin/translations-fakejs.js:437 +#: static/admin/translations-fakejs.js:439 +#: static/admin/translations-fakejs.js:450 +#: static/admin/translations-fakejs.js:452 +#: static/admin/translations-fakejs.js:466 +#: static/admin/translations-fakejs.js:492 msgid "Ok" msgstr "好" -#: static/admin/translations-fakejs.js:278 +#: static/admin/translations-fakejs.js:279 msgid "Discard & close" msgstr "放弃并关闭" -#: static/admin/translations-fakejs.js:279 -#: static/admin/translations-fakejs.js:480 +#: static/admin/translations-fakejs.js:280 +#: static/admin/translations-fakejs.js:484 msgid "Save" msgstr "保存" -#: static/admin/translations-fakejs.js:280 +#: static/admin/translations-fakejs.js:281 msgid "New user permission for" msgstr "的新用户权限" -#: static/admin/translations-fakejs.js:281 +#: static/admin/translations-fakejs.js:282 msgid "New group permission for" msgstr "新的组权限" -#: static/admin/translations-fakejs.js:284 +#: static/admin/translations-fakejs.js:285 msgid "Permissions for" msgstr "权限" -#: static/admin/translations-fakejs.js:287 +#: static/admin/translations-fakejs.js:288 msgid "New permission..." msgstr "新许可......" -#: static/admin/translations-fakejs.js:290 -#: static/admin/translations-fakejs.js:297 +#: static/admin/translations-fakejs.js:291 +#: static/admin/translations-fakejs.js:298 msgid "Export" msgstr "出口" -#: static/admin/translations-fakejs.js:292 #: static/admin/translations-fakejs.js:293 #: static/admin/translations-fakejs.js:294 +#: static/admin/translations-fakejs.js:295 msgid "New" msgstr "新" -#: static/admin/translations-fakejs.js:295 -#: static/admin/translations-fakejs.js:302 +#: static/admin/translations-fakejs.js:296 +#: static/admin/translations-fakejs.js:304 msgid "Edit" msgstr "编辑" -#: static/admin/translations-fakejs.js:296 -#: static/admin/translations-fakejs.js:303 +#: static/admin/translations-fakejs.js:297 +#: static/admin/translations-fakejs.js:305 msgid "Permissions" msgstr "权限" -#: static/admin/translations-fakejs.js:298 -#: static/admin/translations-fakejs.js:304 +#: static/admin/translations-fakejs.js:299 +#: static/admin/translations-fakejs.js:306 msgid "Delete" msgstr "删除" -#: static/admin/translations-fakejs.js:300 +#: static/admin/translations-fakejs.js:301 msgid "Selected items" msgstr "选定的项目" -#: static/admin/translations-fakejs.js:301 +#: static/admin/translations-fakejs.js:302 +msgid "Copy" +msgstr "复制" + +#: static/admin/translations-fakejs.js:303 msgid "Detail" msgstr "详情" -#: static/admin/translations-fakejs.js:305 +#: static/admin/translations-fakejs.js:307 #: static/modern/translations-fakejs.js:43 msgid "Close" msgstr "关" -#: static/admin/translations-fakejs.js:308 +#: static/admin/translations-fakejs.js:310 msgid "User mode" msgstr "用户模式" -#: static/admin/translations-fakejs.js:309 +#: static/admin/translations-fakejs.js:311 #: static/modern/translations-fakejs.js:48 msgid "Logout" msgstr "登出" -#: static/admin/translations-fakejs.js:310 -#: static/admin/translations-fakejs.js:367 -#: static/admin/translations-fakejs.js:385 -#: static/admin/translations-fakejs.js:396 -#: static/admin/translations-fakejs.js:449 -#: static/admin/translations-fakejs.js:463 +#: static/admin/translations-fakejs.js:312 +#: static/admin/translations-fakejs.js:371 +#: static/admin/translations-fakejs.js:389 +#: static/admin/translations-fakejs.js:400 +#: static/admin/translations-fakejs.js:453 +#: static/admin/translations-fakejs.js:467 msgid "Summary" msgstr "摘要" -#: static/admin/translations-fakejs.js:311 -#: static/admin/translations-fakejs.js:464 +#: static/admin/translations-fakejs.js:313 +#: static/admin/translations-fakejs.js:468 msgid "Services" msgstr "服务" -#: static/admin/translations-fakejs.js:312 +#: static/admin/translations-fakejs.js:314 msgid "Authenticators" msgstr "验证器" -#: static/admin/translations-fakejs.js:313 +#: static/admin/translations-fakejs.js:315 msgid "Os Managers" msgstr "Os经理" -#: static/admin/translations-fakejs.js:314 +#: static/admin/translations-fakejs.js:316 msgid "Connectivity" msgstr "连接" -#: static/admin/translations-fakejs.js:315 -#: static/admin/translations-fakejs.js:453 +#: static/admin/translations-fakejs.js:317 +#: static/admin/translations-fakejs.js:457 #: static/modern/translations-fakejs.js:39 msgid "Transports" msgstr "运输" -#: static/admin/translations-fakejs.js:316 +#: static/admin/translations-fakejs.js:318 #: static/modern/translations-fakejs.js:41 msgid "Networks" msgstr "网络" -#: static/admin/translations-fakejs.js:317 +#: static/admin/translations-fakejs.js:319 msgid "Proxies" msgstr "代理" -#: static/admin/translations-fakejs.js:318 +#: static/admin/translations-fakejs.js:320 msgid "Pools" msgstr "池" -#: static/admin/translations-fakejs.js:320 +#: static/admin/translations-fakejs.js:322 msgid "Meta pools" msgstr "元池" -#: static/admin/translations-fakejs.js:322 +#: static/admin/translations-fakejs.js:324 msgid "Calendars" msgstr "日历" -#: static/admin/translations-fakejs.js:323 +#: static/admin/translations-fakejs.js:325 msgid "Accounts" msgstr "帐号" -#: static/admin/translations-fakejs.js:324 +#: static/admin/translations-fakejs.js:326 msgid "Tools" msgstr "工具" -#: static/admin/translations-fakejs.js:325 +#: static/admin/translations-fakejs.js:327 msgid "Gallery" msgstr "画廊" -#: static/admin/translations-fakejs.js:326 +#: static/admin/translations-fakejs.js:328 msgid "Reports" msgstr "报告" -#: static/admin/translations-fakejs.js:327 -msgid "Configuration" -msgstr "组态" - -#: static/admin/translations-fakejs.js:328 -msgid "Actor tokens" -msgstr "演员代币" - #: static/admin/translations-fakejs.js:329 +msgid "Tokens" +msgstr "代币" + +#: static/admin/translations-fakejs.js:330 +msgid "Actor" +msgstr "演员" + +#: static/admin/translations-fakejs.js:331 +msgid "Tunnel" +msgstr "隧道" + +#: static/admin/translations-fakejs.js:332 msgid "Flush Cache" msgstr "刷新缓存" -#: static/admin/translations-fakejs.js:330 -#: static/admin/translations-fakejs.js:362 -#: static/admin/translations-fakejs.js:459 +#: static/admin/translations-fakejs.js:333 +msgid "Configuration" +msgstr "组态" + +#: static/admin/translations-fakejs.js:334 +#: static/admin/translations-fakejs.js:366 +#: static/admin/translations-fakejs.js:463 msgid "Information for" msgstr "信息" -#: static/admin/translations-fakejs.js:335 +#: static/admin/translations-fakejs.js:339 msgid "Edit group" msgstr "编辑组" -#: static/admin/translations-fakejs.js:336 +#: static/admin/translations-fakejs.js:340 msgid "New group" msgstr "新组" -#: static/admin/translations-fakejs.js:337 +#: static/admin/translations-fakejs.js:341 msgid "Meta group name" msgstr "元组名称" -#: static/admin/translations-fakejs.js:342 +#: static/admin/translations-fakejs.js:346 msgid "Service Pools" msgstr "服务池" -#: static/admin/translations-fakejs.js:343 +#: static/admin/translations-fakejs.js:347 msgid "Match mode" msgstr "比赛模式" -#: static/admin/translations-fakejs.js:344 +#: static/admin/translations-fakejs.js:348 msgid "Selected Groups" msgstr "选定的团体" -#: static/admin/translations-fakejs.js:347 +#: static/admin/translations-fakejs.js:351 msgid "Edit user" msgstr "编辑用户" -#: static/admin/translations-fakejs.js:348 +#: static/admin/translations-fakejs.js:352 msgid "New user" msgstr "新用户" -#: static/admin/translations-fakejs.js:349 +#: static/admin/translations-fakejs.js:353 msgid "Real name" msgstr "真正的名字" -#: static/admin/translations-fakejs.js:355 +#: static/admin/translations-fakejs.js:359 msgid "Role" msgstr "角色" -#: static/admin/translations-fakejs.js:356 +#: static/admin/translations-fakejs.js:360 msgid "Admin" msgstr "管理员" -#: static/admin/translations-fakejs.js:357 +#: static/admin/translations-fakejs.js:361 msgid "Staff member" msgstr "工作人员" -#: static/admin/translations-fakejs.js:365 +#: static/admin/translations-fakejs.js:369 msgid "Assigned Services" msgstr "指定服务" -#: static/admin/translations-fakejs.js:371 +#: static/admin/translations-fakejs.js:375 msgid "Account usage" msgstr "帐户使用情况" -#: static/admin/translations-fakejs.js:372 +#: static/admin/translations-fakejs.js:376 msgid "Edit rule" msgstr "修改规则" -#: static/admin/translations-fakejs.js:373 +#: static/admin/translations-fakejs.js:377 msgid "New rule" msgstr "新规定" -#: static/admin/translations-fakejs.js:376 +#: static/admin/translations-fakejs.js:380 msgid "Event" msgstr "事件" -#: static/admin/translations-fakejs.js:377 +#: static/admin/translations-fakejs.js:381 msgid "Start time" msgstr "开始时间" -#: static/admin/translations-fakejs.js:378 +#: static/admin/translations-fakejs.js:382 msgid "Duration" msgstr "持续时间" -#: static/admin/translations-fakejs.js:379 +#: static/admin/translations-fakejs.js:383 msgid "Duration units" msgstr "持续时间单位" -#: static/admin/translations-fakejs.js:380 +#: static/admin/translations-fakejs.js:384 msgid "Start date" msgstr "开始日期" -#: static/admin/translations-fakejs.js:381 +#: static/admin/translations-fakejs.js:385 msgid "Repeat until date" msgstr "重复直到日期" -#: static/admin/translations-fakejs.js:382 +#: static/admin/translations-fakejs.js:386 msgid "Frequency" msgstr "频率" -#: static/admin/translations-fakejs.js:384 +#: static/admin/translations-fakejs.js:388 msgid "Repeat every" msgstr "重复一遍" -#: static/admin/translations-fakejs.js:388 +#: static/admin/translations-fakejs.js:392 msgid "Rules" msgstr "规则" -#: static/admin/translations-fakejs.js:389 +#: static/admin/translations-fakejs.js:393 msgid "New member pool" msgstr "新会员池" -#: static/admin/translations-fakejs.js:390 +#: static/admin/translations-fakejs.js:394 msgid "Edit member pool" msgstr "编辑成员池" -#: static/admin/translations-fakejs.js:391 -#: static/admin/translations-fakejs.js:416 +#: static/admin/translations-fakejs.js:395 +#: static/admin/translations-fakejs.js:420 msgid "Priority" msgstr "优先" -#: static/admin/translations-fakejs.js:392 +#: static/admin/translations-fakejs.js:396 msgid "Service pool" msgstr "服务池" -#: static/admin/translations-fakejs.js:393 +#: static/admin/translations-fakejs.js:397 msgid "Enabled?" msgstr "启用?" -#: static/admin/translations-fakejs.js:400 -#: static/admin/translations-fakejs.js:456 +#: static/admin/translations-fakejs.js:404 +#: static/admin/translations-fakejs.js:460 msgid "Access calendars" msgstr "访问日历" -#: static/admin/translations-fakejs.js:402 +#: static/admin/translations-fakejs.js:406 msgid "Assign service to user manually" msgstr "手动为用户分配服务" -#: static/admin/translations-fakejs.js:403 +#: static/admin/translations-fakejs.js:407 msgid "Service" msgstr "服务" -#: static/admin/translations-fakejs.js:408 +#: static/admin/translations-fakejs.js:412 msgid "Change owner of assigned service" msgstr "更改已分配服务的所有者" -#: static/admin/translations-fakejs.js:413 +#: static/admin/translations-fakejs.js:417 msgid "New access rule for" msgstr "的新访问规则" -#: static/admin/translations-fakejs.js:414 +#: static/admin/translations-fakejs.js:418 msgid "Edit access rule for" msgstr "编辑的访问规则" -#: static/admin/translations-fakejs.js:415 +#: static/admin/translations-fakejs.js:419 msgid "Default fallback access for" msgstr "的默认后备访问权限" -#: static/admin/translations-fakejs.js:417 -#: static/admin/translations-fakejs.js:438 +#: static/admin/translations-fakejs.js:421 +#: static/admin/translations-fakejs.js:442 msgid "Calendar" msgstr "日历" -#: static/admin/translations-fakejs.js:418 -#: static/admin/translations-fakejs.js:441 +#: static/admin/translations-fakejs.js:422 +#: static/admin/translations-fakejs.js:445 msgid "Action" msgstr "行动" -#: static/admin/translations-fakejs.js:421 +#: static/admin/translations-fakejs.js:425 msgid "New group for" msgstr "新组" -#: static/admin/translations-fakejs.js:426 +#: static/admin/translations-fakejs.js:430 msgid "New transport for" msgstr "新的运输" -#: static/admin/translations-fakejs.js:427 -#: static/admin/translations-fakejs.js:442 +#: static/admin/translations-fakejs.js:431 +#: static/admin/translations-fakejs.js:446 msgid "Transport" msgstr "运输" -#: static/admin/translations-fakejs.js:430 +#: static/admin/translations-fakejs.js:434 msgid "New publication for" msgstr "新出版物" -#: static/admin/translations-fakejs.js:434 +#: static/admin/translations-fakejs.js:438 msgid "Changelog of" msgstr "更改日志" -#: static/admin/translations-fakejs.js:436 +#: static/admin/translations-fakejs.js:440 msgid "Edit action for" msgstr "编辑动作" -#: static/admin/translations-fakejs.js:437 +#: static/admin/translations-fakejs.js:441 msgid "New action for" msgstr "新的行动" -#: static/admin/translations-fakejs.js:439 +#: static/admin/translations-fakejs.js:443 msgid "Events offset (minutes)" msgstr "事件抵消(分钟)" -#: static/admin/translations-fakejs.js:440 +#: static/admin/translations-fakejs.js:444 msgid "At the beginning of the interval?" msgstr "在间隔的开始?" -#: static/admin/translations-fakejs.js:447 +#: static/admin/translations-fakejs.js:451 msgid "Logs of" msgstr "日志" -#: static/admin/translations-fakejs.js:451 +#: static/admin/translations-fakejs.js:455 msgid "Cache" msgstr "高速缓存" -#: static/admin/translations-fakejs.js:454 +#: static/admin/translations-fakejs.js:458 msgid "Publications" msgstr "出版物" -#: static/admin/translations-fakejs.js:455 +#: static/admin/translations-fakejs.js:459 msgid "Scheduled actions" msgstr "预定的行动" -#: static/admin/translations-fakejs.js:457 +#: static/admin/translations-fakejs.js:461 msgid "Charts" msgstr "图表" -#: static/admin/translations-fakejs.js:460 +#: static/admin/translations-fakejs.js:464 msgid "Services pools" msgstr "服务池" -#: static/admin/translations-fakejs.js:465 +#: static/admin/translations-fakejs.js:469 msgid "Usage" msgstr "用法" -#: static/admin/translations-fakejs.js:467 +#: static/admin/translations-fakejs.js:471 #: static/modern/translations-fakejs.js:46 msgid "Dashboard" msgstr "仪表板" -#: static/admin/translations-fakejs.js:468 +#: static/admin/translations-fakejs.js:472 msgid "View authenticators" msgstr "查看验证者" -#: static/admin/translations-fakejs.js:469 -#: static/admin/translations-fakejs.js:470 -#: static/admin/translations-fakejs.js:471 +#: static/admin/translations-fakejs.js:473 +#: static/admin/translations-fakejs.js:474 +#: static/admin/translations-fakejs.js:475 msgid "View service pools" msgstr "查看服务池" -#: static/admin/translations-fakejs.js:472 +#: static/admin/translations-fakejs.js:476 msgid "Assigned services chart" msgstr "分配的服务图表" -#: static/admin/translations-fakejs.js:473 +#: static/admin/translations-fakejs.js:477 msgid "In use services chart" msgstr "在用服务图表" -#: static/admin/translations-fakejs.js:474 +#: static/admin/translations-fakejs.js:478 msgid "UDS Administration" msgstr "UDS管理" -#: static/admin/translations-fakejs.js:475 +#: static/admin/translations-fakejs.js:479 msgid "You are accessing UDS Administration as staff member." msgstr "您正在以工作人员身份访问UDS管理。" -#: static/admin/translations-fakejs.js:476 +#: static/admin/translations-fakejs.js:480 msgid "This means that you have restricted access to elements." msgstr "这意味着您具有对元素的限制访问权限。" -#: static/admin/translations-fakejs.js:477 +#: static/admin/translations-fakejs.js:481 msgid "" "In order to increase your access privileges, please contact your local UDS " "administrator." msgstr "要增加访问权限,请与当地的UDS管理员联系。" -#: static/admin/translations-fakejs.js:478 +#: static/admin/translations-fakejs.js:482 msgid "Thank you." msgstr "谢谢。" -#: static/admin/translations-fakejs.js:479 +#: static/admin/translations-fakejs.js:483 msgid "UDS Configuration" msgstr "UDS配置" -#: static/admin/translations-fakejs.js:481 +#: static/admin/translations-fakejs.js:485 msgid "New image for" msgstr "的新图片" -#: static/admin/translations-fakejs.js:482 +#: static/admin/translations-fakejs.js:486 msgid "Edit for" msgstr "编辑为" -#: static/admin/translations-fakejs.js:483 +#: static/admin/translations-fakejs.js:487 msgid "Image name" msgstr "图像名称" -#: static/admin/translations-fakejs.js:484 +#: static/admin/translations-fakejs.js:488 msgid "Image (click to change)" msgstr "图片(点击更改)" -#: static/admin/translations-fakejs.js:485 +#: static/admin/translations-fakejs.js:489 msgid "For optimal results, use " msgstr "为获得最佳效果,请使用" -#: static/admin/translations-fakejs.js:486 +#: static/admin/translations-fakejs.js:490 msgid "The image will be resized on upload to" msgstr "图片将在上传时调整大小" diff --git a/server/src/uds/static/modern/main-es2015.js b/server/src/uds/static/modern/main-es2015.js index a2d5b0415..811f1cbaf 100644 --- a/server/src/uds/static/modern/main-es2015.js +++ b/server/src/uds/static/modern/main-es2015.js @@ -1 +1 @@ -(self.webpackChunkuds=self.webpackChunkuds||[]).push([[179],{8255:function(t){function e(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=function(){return[]},e.resolve=e,e.id=8255,t.exports=e},7238:function(t,e,n){"use strict";n.d(e,{l3:function(){return r},_j:function(){return i},LC:function(){return s},ZN:function(){return g},jt:function(){return a},pV:function(){return p},F4:function(){return h},IO:function(){return f},vP:function(){return l},SB:function(){return u},oB:function(){return c},eR:function(){return d},X$:function(){return o},ZE:function(){return _},k1:function(){return y}});class i{}class s{}const r="*";function o(t,e){return{type:7,name:t,definitions:e,options:{}}}function a(t,e=null){return{type:4,styles:e,timings:t}}function l(t,e=null){return{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function u(t,e,n){return{type:0,name:t,styles:e,options:n}}function h(t){return{type:5,steps:t}}function d(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function p(t=null){return{type:9,options:t}}function f(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function m(t){Promise.resolve(null).then(t)}class g{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(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(){m(()=>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}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(t=>t()),e.length=0}}class _{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,n=0,i=0;const s=this.players.length;0==s?m(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==s&&this._onFinish()}),t.onDestroy(()=>{++n==s&&this._onDestroy()}),t.onStart(()=>{++i==s&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.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(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,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(t=>t()),e.length=0}}const y="!"},9238:function(t,e,n){"use strict";n.d(e,{rt:function(){return W},s1:function(){return A},$s:function(){return S},Em:function(){return P},tE:function(){return K},qV:function(){return L},qm:function(){return $},Kd:function(){return z},X6:function(){return F},yG:function(){return N}});var i=n(8583),s=n(3018),r=n(9765),o=n(5319),a=n(6215),l=n(5917),c=n(6461),u=n(3342),h=n(4395),d=n(5435),p=n(8002),f=n(5257),m=n(3653),g=n(7519),_=n(6782),y=n(9490),b=n(521),v=n(8553);function w(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}let C=0;const x=new Map;let E=null,S=(()=>{class t{constructor(t){this._document=t}describe(t,e,n){if(!this._canBeDescribed(t,e))return;const i=k(e,n);"string"!=typeof e?(O(e),x.set(i,{messageElement:e,referenceCount:0})):x.has(i)||this._createMessageElement(e,n),this._isElementDescribedByMessage(t,i)||this._addMessageReference(t,i)}removeDescription(t,e,n){if(!e||!this._isElementNode(t))return;const i=k(e,n);if(this._isElementDescribedByMessage(t,i)&&this._removeMessageReference(t,i),"string"==typeof e){const t=x.get(i);t&&0===t.referenceCount&&this._deleteMessageElement(i)}E&&0===E.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const t=this._document.querySelectorAll("[cdk-describedby-host]");for(let e=0;e0!=t.indexOf("cdk-describedby-message"));t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){const n=x.get(e);!function(t,e,n){const i=w(t,e);i.some(t=>t.trim()==n.trim())||(i.push(n.trim()),t.setAttribute(e,i.join(" ")))}(t,"aria-describedby",n.messageElement.id),t.setAttribute("cdk-describedby-host",""),n.referenceCount++}_removeMessageReference(t,e){const n=x.get(e);n.referenceCount--,function(t,e,n){const i=w(t,e).filter(t=>t!=n.trim());i.length?t.setAttribute(e,i.join(" ")):t.removeAttribute(e)}(t,"aria-describedby",n.messageElement.id),t.removeAttribute("cdk-describedby-host")}_isElementDescribedByMessage(t,e){const n=w(t,"aria-describedby"),i=x.get(e),s=i&&i.messageElement.id;return!!s&&-1!=n.indexOf(s)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;const n=null==e?"":`${e}`.trim(),i=t.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(i.K0))},token:t,providedIn:"root"}),t})();function k(t,e){return"string"==typeof t?`${e||""}/${t}`:t}function O(t){t.id||(t.id="cdk-describedby-message-"+C++)}class T{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new r.xQ,this._typeaheadSubscription=o.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new r.xQ,this.change=new r.xQ,t instanceof s.n_E&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}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((0,u.b)(t=>this._pressedLetters.push(t)),(0,h.b)(t),(0,d.h)(()=>this._pressedLetters.length>0),(0,p.U)(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let n=1;n!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case c.Mf:return void this.tabOut.next();case c.JH:if(this._vertical&&n){this.setNextItemActive();break}return;case c.LH:if(this._vertical&&n){this.setPreviousItemActive();break}return;case c.SV:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case c.oh:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case c.Sd:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case c.uR:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||(0,c.Vb)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=c.A&&e<=c.Z||e>=c.xE&&e<=c.aO)&&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(),n="number"==typeof t?t:e.indexOf(t),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof s.n_E?this._items.toArray():this._items}}class A extends T{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class P extends T{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 I=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(e){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){if(-1===D(e))return!1;if(!this.isVisible(e))return!1}let i=t.nodeName.toLowerCase(),s=D(t);return t.hasAttribute("contenteditable")?-1!==s:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&("audio"===i?!!t.hasAttribute("controls")&&-1!==s:"video"===i?-1!==s&&(null!==s||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||R(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(b.t4))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(b.t4))},token:t,providedIn:"root"}),t})();function R(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function D(t){if(!R(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class M{constructor(t,e,n,i,s=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}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))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),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){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let n=0;n=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}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((0,f.q)(1)).subscribe(t)}}let L=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new M(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(I),s.LFG(s.R0b),s.LFG(i.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(I),s.LFG(s.R0b),s.LFG(i.K0))},token:t,providedIn:"root"}),t})();function F(t){return 0===t.buttons}function N(t){const e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}"undefined"!=typeof Element&∈const B=new s.OlP("cdk-input-modality-detector-options"),U={ignoreKeys:[c.zL,c.jx,c.b2,c.MW,c.JU]},Z=(0,b.i$)({passive:!0,capture:!0});let j=(()=>{class t{constructor(t,e,n,i){this._platform=t,this._mostRecentTarget=null,this._modality=new a.X(null),this._lastTouchMs=0,this._onKeydown=t=>{var e,n;(null===(n=null===(e=this._options)||void 0===e?void 0:e.ignoreKeys)||void 0===n?void 0:n.some(e=>e===t.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=q(t))},this._onMousedown=t=>{Date.now()-this._lastTouchMs<650||(this._modality.next(F(t)?"keyboard":"mouse"),this._mostRecentTarget=q(t))},this._onTouchstart=t=>{N(t)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=q(t))},this._options=Object.assign(Object.assign({},U),i),this.modalityDetected=this._modality.pipe((0,m.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,g.x)()),t.isBrowser&&e.runOutsideAngular(()=>{n.addEventListener("keydown",this._onKeydown,Z),n.addEventListener("mousedown",this._onMousedown,Z),n.addEventListener("touchstart",this._onTouchstart,Z)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Z),document.removeEventListener("mousedown",this._onMousedown,Z),document.removeEventListener("touchstart",this._onTouchstart,Z))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(b.t4),s.LFG(s.R0b),s.LFG(i.K0),s.LFG(B,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(b.t4),s.LFG(s.R0b),s.LFG(i.K0),s.LFG(B,8))},token:t,providedIn:"root"}),t})();function q(t){return t.composedPath?t.composedPath()[0]:t.target}const V=new s.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),H=new s.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let z=(()=>{class t{constructor(t,e,n,i){this._ngZone=e,this._defaultOptions=i,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){const n=this._defaultOptions;let i,s;return 1===e.length&&"number"==typeof e[0]?s=e[0]:[i,s]=e,this.clear(),clearTimeout(this._previousTimeout),i||(i=n&&n.politeness?n.politeness:"polite"),null==s&&n&&(s=n.duration),this._liveElement.setAttribute("aria-live",i),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t=this._document.getElementsByClassName("cdk-live-announcer-element"),e=this._document.createElement("div");for(let n=0;n{class t{constructor(t,e,n,i,s){this._ngZone=t,this._platform=e,this._inputModalityDetector=n,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=setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new r.xQ,this._rootNodeFocusAndBlurListener=t=>{const e=q(t),n="focus"===t.type?this._onFocus:this._onBlur;for(let i=e;i;i=i.parentElement)n.call(this,t,i)},this._document=i,this._detectionMode=(null==s?void 0:s.detectionMode)||0}monitor(t,e=!1){const n=(0,y.fI)(t);if(!this._platform.isBrowser||1!==n.nodeType)return(0,l.of)(null);const i=(0,b.kV)(n)||this._getDocument(),s=this._elementInfo.get(n);if(s)return e&&(s.checkChildren=!0),s.subject;const o={checkChildren:e,subject:new r.xQ,rootNode:i};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject}stopMonitoring(t){const e=(0,y.fI)(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}focusVia(t,e,n){const i=(0,y.fI)(t);i===this._getDocument().activeElement?this._getClosestElementsInfo(i).forEach(([t,n])=>this._originChanged(t,e,n)):(this._setOrigin(e),"function"==typeof i.focus&&i.focus(n))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(t){return 1===this._detectionMode||!!(null==t?void 0:t.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOrigin(t,e=!1){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originFromTouchInteraction="touch"===t&&e,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,e){const n=this._elementInfo.get(e),i=q(t);n&&(n.checkChildren||e===i)&&this._originChanged(e,this._getFocusOrigin(i),n)}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,n=this._rootNodeFocusListenerCount.get(e)||0;n||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,G),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,G)}),this._rootNodeFocusListenerCount.set(e,n+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,_.R)(this._stopInputModalityDetector)).subscribe(t=>{this._setOrigin(t,!0)}))}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,G),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,G),this._rootNodeFocusListenerCount.delete(e))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,e,n){this._setClasses(t,e),this._emitOrigin(n.subject,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){const e=[];return this._elementInfo.forEach((n,i)=>{(i===t||n.checkChildren&&i.contains(t))&&e.push([i,n])}),e}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b),s.LFG(b.t4),s.LFG(j),s.LFG(i.K0,8),s.LFG(Y,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.R0b),s.LFG(b.t4),s.LFG(j),s.LFG(i.K0,8),s.LFG(Y,8))},token:t,providedIn:"root"}),t})(),$=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black"),this._hasCheckedHighContrastMode=!0;const e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(b.t4),s.LFG(i.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(b.t4),s.LFG(i.K0))},token:t,providedIn:"root"}),t})(),W=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG($))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[b.ud,v.Q8]]}),t})()},946:function(t,e,n){"use strict";n.d(e,{vT:function(){return a},Is:function(){return o}});var i=n(3018),s=n(8583);const r=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,i.f3M)(s.K0)}});let o=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new i.vpe,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r,8))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(r,8))},token:t,providedIn:"root"}),t})(),a=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},8345:function(t,e,n){"use strict";n.d(e,{P3:function(){return l},Ov:function(){return u},A8:function(){return h},eX:function(){return c},k:function(){return d},Z9:function(){return a}});var i=n(5639),s=n(5917),r=n(9765),o=n(3018);function a(t){return t&&"function"==typeof t.connect}class l extends class{}{constructor(t){super(),this._data=t}connect(){return(0,i.b)(this._data)?this._data:(0,s.of)(this._data)}disconnect(){}}class c{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(t,e,n,i,s){t.forEachOperation((t,r,o)=>{let a,l;null==t.previousIndex?(a=this._insertView(()=>n(t,r,o),o,e,i(t)),l=a?1:0):null==o?(this._detachAndCacheView(r,e),l=3):(a=this._moveView(r,o,e,i(t)),l=2),s&&s({context:null==a?void 0:a.context,operation:l,record:t})})}detach(){for(const t of this._viewCache)t.destroy();this._viewCache=[]}_insertView(t,e,n,i){const s=this._insertViewFromCache(e,n);if(s)return void(s.context.$implicit=i);const r=t();return n.createEmbeddedView(r.templateRef,r.context,r.index)}_detachAndCacheView(t,e){const n=e.detach(t);this._maybeCacheView(n,e)}_moveView(t,e,n,i){const s=n.get(t);return n.move(s,e),s.context.$implicit=i,s}_maybeCacheView(t,e){if(this._viewCache.lengththis._markSelected(t)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(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){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(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){}}let h=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let n of this._listeners)n(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const d=new o.OlP("_ViewRepeater")},6461:function(t,e,n){"use strict";n.d(e,{A:function(){return y},zL:function(){return a},jx:function(){return o},JH:function(){return m},uR:function(){return u},K5:function(){return s},hY:function(){return l},Sd:function(){return h},oh:function(){return d},b2:function(){return w},MW:function(){return v},aO:function(){return _},SV:function(){return f},JU:function(){return r},L_:function(){return c},Mf:function(){return i},LH:function(){return p},Z:function(){return b},xE:function(){return g},Vb:function(){return C}});const i=9,s=13,r=16,o=17,a=18,l=27,c=32,u=35,h=36,d=37,p=38,f=39,m=40,g=48,_=57,y=65,b=90,v=91,w=224;function C(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},8553:function(t,e,n){"use strict";n.d(e,{wD:function(){return u},yq:function(){return c},Q8:function(){return h}});var i=n(9490),s=n(3018),r=n(7574),o=n(9765),a=n(4395);let l=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})(),c=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=(0,i.fI)(t);return new r.y(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new o.xQ,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(l))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(l))},token:t,providedIn:"root"}),t})(),u=(()=>{class t{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new s.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,i.Ig)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=(0,i.su)(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe((0,a.b)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(c),s.Y36(s.SBq),s.Y36(s.R0b))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[l]}),t})()},625:function(t,e,n){"use strict";n.d(e,{pI:function(){return $},xu:function(){return K},aV:function(){return z},X_:function(){return O},Xj:function(){return M},U8:function(){return Q}});var i=n(9243),s=n(3018),r=n(521),o=n(946),a=n(8583),l=n(9490),c=n(7636),u=n(9765),h=n(5319),d=n(6682),p=n(7393);class f{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new m(t,this.predicate,this.inclusive))}}class m extends p.L{constructor(t,e,n){super(t),this.predicate=e,this.inclusive=n,this.index=0}_next(t){const e=this.destination;let n;try{n=this.predicate(t,this.index++)}catch(i){return void e.error(i)}this.nextOrComplete(t,n)}nextOrComplete(t,e){const n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())}}var g=n(5257),_=n(6782),y=n(6461);const b=(0,r.Mq)();class v{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=(0,l.HM)(-this._previousScrollPosition.left),t.style.top=(0,l.HM)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,i=e.scrollBehavior||"",s=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),b&&(e.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),b&&(e.scrollBehavior=i,n.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}class w{constructor(t,e,n,i){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=i,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);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-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 C{enable(){}disable(){}attach(){}}function x(t,e){return e.some(e=>t.bottome.bottom||t.righte.right)}function E(t,e){return e.some(e=>t.tope.bottom||t.lefte.right)}class S{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i,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 t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();x(t,[{width:e,height:n,bottom:n,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let k=(()=>{class t{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new C,this.close=t=>new w(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new v(this._viewportRuler,this._document),this.reposition=t=>new S(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=i}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.mF),s.LFG(i.rL),s.LFG(s.R0b),s.LFG(a.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(i.mF),s.LFG(i.rL),s.LFG(s.R0b),s.LFG(a.K0))},token:t,providedIn:"root"}),t})();class O{constructor(t){if(this.scrollStrategy=new C,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class T{constructor(t,e,n,i,s){this.offsetX=n,this.offsetY=i,this.panelClass=s,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class A{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let P=(()=>{class t{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0))},token:t,providedIn:"root"}),t})(),I=(()=>{class t extends P{constructor(t){super(t),this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0))},token:t,providedIn:"root"}),t})(),R=(()=>{class t extends P{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._clickListener=t=>{const e=t.composedPath?t.composedPath()[0]:t.target,n=this._attachedOverlays.slice();for(let i=n.length-1;i>-1;i--){const s=n[i];if(!(s._outsidePointerEvents.observers.length<1)&&s.hasAttached()){if(s.overlayElement.contains(e))break;s._outsidePointerEvents.next(t)}}}}add(t){if(super.add(t),!this._isAttached){const t=this._document.body;t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0),s.LFG(r.t4))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0),s.LFG(r.t4))},token:t,providedIn:"root"}),t})();const D="undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha;let M=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){if(this._platform.isBrowser||D){const t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]');for(let e=0;ethis._backdropClick.next(t),this._keydownEvents=new u.xQ,this._outsidePointerEvents=new u.xQ,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,g.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const 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.detachBackdrop(),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&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=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=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},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=(0,l.HM)(this._config.width),t.height=(0,l.HM)(this._config.height),t.minWidth=(0,l.HM)(this._config.minWidth),t.minHeight=(0,l.HM)(this._config.minHeight),t.maxWidth=(0,l.HM)(this._config.maxWidth),t.maxHeight=(0,l.HM)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let n=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",n),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",n)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const i=t.classList;(0,l.Eq)(e).forEach(t=>{t&&(n?i.add(t):i.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe((0,_.R)((0,d.T)(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._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const F=/([A-Za-z%]+)$/;class N{constructor(t,e,n,i,s){this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=s,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new u.xQ,this._resizeSubscription=h.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),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();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,i=[];let s;for(let r of this._preferredPositions){let o=this._getOriginPoint(t,r),a=this._getOverlayPoint(o,e,r),l=this._getOverlayFit(a,e,n,r);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(r,o);this._canFitWithFlexibleDimensions(l,a,n)?i.push({position:r,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,r)}):(!s||s.overlayFit.visibleAreae&&(e=i,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&B(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}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){let n,i;if("center"==e.originX)n=t.left+t.width/2;else{const i=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;n="start"==e.originX?i:s}return i="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:n,y:i}}_getOverlayPoint(t,e,n){let i,s;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+i,y:t.y+s}}_getOverlayFit(t,e,n,i){const s=Z(e);let{x:r,y:o}=t,a=this._getOffset(i,"x"),l=this._getOffset(i,"y");a&&(r+=a),l&&(o+=l);let c=0-o,u=o+s.height-n.height,h=this._subtractOverflows(s.width,0-r,r+s.width-n.width),d=this._subtractOverflows(s.height,c,u),p=h*d;return{visibleArea:p,isCompletelyWithinViewport:s.width*s.height===p,fitsInViewportVertically:d===s.height,fitsInViewportHorizontally:h==s.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const i=n.bottom-e.y,s=n.right-e.x,r=U(this._overlayRef.getConfig().minHeight),o=U(this._overlayRef.getConfig().minWidth),a=t.fitsInViewportHorizontally||null!=o&&o<=s;return(t.fitsInViewportVertically||null!=r&&r<=i)&&a}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const i=Z(e),s=this._viewportRect,r=Math.max(t.x+i.width-s.width,0),o=Math.max(t.y+i.height-s.height,0),a=Math.max(s.top-n.top-t.y,0),l=Math.max(s.left-n.left-t.x,0);let c=0,u=0;return c=i.width<=s.width?l||-r:t.xi&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-i/2)}if("end"===e.overlayX&&!i||"start"===e.overlayX&&i)c=n.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!i||"end"===e.overlayX&&i)l=t.x,a=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),i=this._lastBoundingBoxSize.width;a=2*e,l=t.x-e,a>i&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-i/2)}return{top:r,left:l,bottom:o,right:c,width:a,height:s}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=(0,l.HM)(n.height),i.top=(0,l.HM)(n.top),i.bottom=(0,l.HM)(n.bottom),i.width=(0,l.HM)(n.width),i.left=(0,l.HM)(n.left),i.right=(0,l.HM)(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(i.maxHeight=(0,l.HM)(t)),s&&(i.maxWidth=(0,l.HM)(s))}this._lastBoundingBoxSize=n,B(this._boundingBox.style,i)}_resetBoundingBoxStyles(){B(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){B(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},i=this._hasExactPosition(),s=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(i){const i=this._viewportRuler.getViewportScrollPosition();B(n,this._getExactOverlayY(e,t,i)),B(n,this._getExactOverlayX(e,t,i))}else n.position="static";let o="",a=this._getOffset(e,"x"),c=this._getOffset(e,"y");a&&(o+=`translateX(${a}px) `),c&&(o+=`translateY(${c}px)`),n.transform=o.trim(),r.maxHeight&&(i?n.maxHeight=(0,l.HM)(r.maxHeight):s&&(n.maxHeight="")),r.maxWidth&&(i?n.maxWidth=(0,l.HM)(r.maxWidth):s&&(n.maxWidth="")),B(this._pane.style,n)}_getExactOverlayY(t,e,n){let i={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,n));let r=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return s.y-=r,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":i.top=(0,l.HM)(s.y),i}_getExactOverlayX(t,e,n){let i,s={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),i=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===i?s.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":s.left=(0,l.HM)(r.x),s}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:E(t,n),isOriginOutsideView:x(t,n),isOverlayClipped:E(e,n),isOverlayOutsideView:x(e,n)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.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&&(0,l.Eq)(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof s.SBq)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function B(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function U(t){if("number"!=typeof t&&null!=t){const[e,n]=t.split(F);return n&&"px"!==n?null:parseFloat(e)}return t||null}function Z(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}class j{constructor(t,e,n,i,s,r,o){this._preferredPositions=[],this._positionStrategy=new N(n,i,s,r,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,i){const s=new T(t,e,n,i);return this._preferredPositions.push(s),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}class q{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}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("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-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._justifyContent="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,n=this._overlayRef.getConfig(),{width:i,height:s,maxWidth:r,maxHeight:o}=n,a=!("100%"!==i&&"100vw"!==i||r&&"100%"!==r&&"100vw"!==r),l=!("100%"!==s&&"100vh"!==s||o&&"100%"!==o&&"100vh"!==o);t.position=this._cssPosition,t.marginLeft=a?"0":this._leftOffset,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,a?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let V=(()=>{class t{constructor(t,e,n,i){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=i}global(){return new q}connectedTo(t,e,n){return new j(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new N(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.rL),s.LFG(a.K0),s.LFG(r.t4),s.LFG(M))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(i.rL),s.LFG(a.K0),s.LFG(r.t4),s.LFG(M))},token:t,providedIn:"root"}),t})(),H=0,z=(()=>{class t{constructor(t,e,n,i,s,r,o,a,l,c,u){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=s,this._injector=r,this._ngZone=o,this._document=a,this._directionality=l,this._location=c,this._outsideClickDispatcher=u}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),s=new O(t);return s.direction=s.direction||this._directionality.value,new L(i,e,n,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+H++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(s.z2F)),new c.u0(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(k),s.LFG(M),s.LFG(s._Vd),s.LFG(V),s.LFG(I),s.LFG(s.zs3),s.LFG(s.R0b),s.LFG(a.K0),s.LFG(o.Is),s.LFG(a.Ye),s.LFG(R))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const Y=[{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"}],G=new s.OlP("cdk-connected-overlay-scroll-strategy");let K=(()=>{class t{constructor(t){this.elementRef=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),$=(()=>{class t{constructor(t,e,n,i,r){this._overlay=t,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=h.w.EMPTY,this._attachSubscription=h.w.EMPTY,this._detachSubscription=h.w.EMPTY,this._positionSubscription=h.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new s.vpe,this.positionChange=new s.vpe,this.attach=new s.vpe,this.detach=new s.vpe,this.overlayKeydown=new s.vpe,this.overlayOutsideClick=new s.vpe,this._templatePortal=new c.UE(e,n),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,l.Ig)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=(0,l.Ig)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=(0,l.Ig)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=(0,l.Ig)(t)}get push(){return this._push}set push(t){this._push=(0,l.Ig)(t)}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(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=Y);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode!==y.hY||this.disableClose||(0,y.Vb)(t)||(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new O({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}_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(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(t,e=!1){return n=>n.lift(new f(t,e))}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(z),s.Y36(s.Rgc),s.Y36(s.s_b),s.Y36(G),s.Y36(o.Is,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[s.TTD]}),t})();const W={provide:G,deps:[z],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let Q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[z,W],imports:[[o.vT,c.eL,i.Cl],i.Cl]}),t})()},521:function(t,e,n){"use strict";n.d(e,{t4:function(){return a},ud:function(){return l},ht:function(){return b},kV:function(){return y},_i:function(){return _},qK:function(){return u},i$:function(){return m},Mq:function(){return g}});var i=n(3018),s=n(8583);let r;try{r="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(v){r=!1}let o,a=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?(0,s.NF)(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&&!r)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.Lbi))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(i.Lbi))},token:t,providedIn:"root"}),t})(),l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();const c=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function u(){if(o)return o;if("object"!=typeof document||!document)return o=new Set(c),o;let t=document.createElement("input");return o=new Set(c.filter(e=>(t.setAttribute("type",e),t.type===e))),o}let h,d,p,f;function m(t){return function(){if(null==h&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>h=!0}))}finally{h=h||!1}return h}()?t:!!t.capture}function g(){if(null==p){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return p=!1,p;if("scrollBehavior"in document.documentElement.style)p=!0;else{const t=Element.prototype.scrollTo;p=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return p}function _(){if("object"!=typeof document||!document)return 0;if(null==d){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",t.appendChild(n),document.body.appendChild(t),d=0,0===t.scrollLeft&&(t.scrollLeft=1,d=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return d}function y(t){if(function(){if(null==f){const t="undefined"!=typeof document?document.head:null;f=!(!t||!t.createShadowRoot&&!t.attachShadow)}return f}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function b(){let t="undefined"!=typeof document&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}},7636:function(t,e,n){"use strict";n.d(e,{en:function(){return c},Pl:function(){return h},C5:function(){return o},u0:function(){return u},eL:function(){return d},UE:function(){return a}});var i=n(3018),s=n(8583);class r{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 o extends r{constructor(t,e,n,i){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=i}}class a extends r{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}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 l extends r{constructor(t){super(),this.element=t instanceof i.SBq?t.nativeElement:t}}class c{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof o?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof a?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof l?(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 u extends c{constructor(t,e,n,i,s){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=s}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=t,n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),n.detectChanges(),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),this._attachedPortal=t,n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let h=(()=>{class t extends c{constructor(t,e,n){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new i.vpe,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(n,e),this._getRootNode().appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i=e.createComponent(n,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i._Vd),i.Y36(i.s_b),i.Y36(s.K0))},t.\u0275dir=i.lG2({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.qOj]}),t})(),d=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},9243:function(t,e,n){"use strict";n.d(e,{ZD:function(){return y},mF:function(){return g},Cl:function(){return b},rL:function(){return _}});var i=n(9490),s=n(3018),r=n(6465),o=n(6102);new class extends o.v{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,s=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}});var a=n(9765),l=n(5917),c=n(7574),u=n(2759);n(4581),n(5319),n(5639),n(7393),new class extends o.v{}(class extends r.o{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,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}),n(1593),n(7971),n(8858),n(7519);var h=n(628),d=n(5435),p=(n(6782),n(9761),n(3190),n(521)),f=n(8583),m=n(946);n(8345);let g=(()=>{class t{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new a.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new c.y(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe((0,h.e)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,l.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe((0,d.h)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,t)&&e.push(i)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let n=(0,i.fI)(e),s=t.getElementRef().nativeElement;do{if(n==s)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const t=this._getWindow();return(0,u.R)(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b),s.LFG(p.t4),s.LFG(f.K0,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.R0b),s.LFG(p.t4),s.LFG(f.K0,8))},token:t,providedIn:"root"}),t})(),_=(()=>{class t{constructor(t,e,n){this._platform=t,this._change=new a.xQ,this._changeListener=t=>{this._change.next(t)},this._document=n,e.runOutsideAngular(()=>{if(t.isBrowser){const t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,e=this._getWindow(),n=t.documentElement,i=n.getBoundingClientRect();return{top:-i.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-i.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}change(t=20){return t>0?this._change.pipe((0,h.e)(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(p.t4),s.LFG(s.R0b),s.LFG(f.K0,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(p.t4),s.LFG(s.R0b),s.LFG(f.K0,8))},token:t,providedIn:"root"}),t})(),y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),b=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[m.vT,p.ud,y],m.vT,y]}),t})()},9490:function(t,e,n){"use strict";n.d(e,{Eq:function(){return o},Ig:function(){return s},HM:function(){return a},fI:function(){return l},su:function(){return r}});var i=n(3018);function s(t){return null!=t&&"false"!=`${t}`}function r(t,e=0){return function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function o(t){return Array.isArray(t)?t:[t]}function a(t){return null==t?"":"string"==typeof t?t:`${t}px`}function l(t){return t instanceof i.SBq?t.nativeElement:t}},8583:function(t,e,n){"use strict";n.d(e,{mr:function(){return v},Ov:function(){return Y},ez:function(){return G},K0:function(){return l},Do:function(){return C},V_:function(){return h},Ye:function(){return x},S$:function(){return y},mk:function(){return I},sg:function(){return D},O5:function(){return L},RF:function(){return U},n9:function(){return Z},ED:function(){return j},b0:function(){return w},lw:function(){return c},EM:function(){return W},JF:function(){return X},NF:function(){return $},w_:function(){return a},bD:function(){return K},q:function(){return r},Mx:function(){return P},HT:function(){return o}});var i=n(3018);let s=null;function r(){return s}function o(t){s||(s=t)}class a{}const l=new i.OlP("DocumentToken");let c=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:u,token:t,providedIn:"platform"}),t})();function u(){return(0,i.LFG)(d)}const h=new i.OlP("Location Initialized");let d=(()=>{class t extends c{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return r().getBaseHref(this._doc)}onPopState(t){const e=r().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=r().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){p()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){p()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(l))},t.\u0275prov=(0,i.Yz7)({factory:f,token:t,providedIn:"platform"}),t})();function p(){return!!window.history.pushState}function f(){return new d((0,i.LFG)(l))}function m(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function g(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function _(t){return t&&"?"!==t[0]?"?"+t:t}let y=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:b,token:t,providedIn:"root"}),t})();function b(t){const e=(0,i.LFG)(l).location;return new w((0,i.LFG)(c),e&&e.origin||"")}const v=new i.OlP("appBaseHref");let w=(()=>{class t extends y{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return m(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+_(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const s=this.prepareExternalUrl(n+_(i));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,i){const s=this.prepareExternalUrl(n+_(i));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(c),i.LFG(v,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),C=(()=>{class t extends y{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=m(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,i){let s=this.prepareExternalUrl(n+_(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,i){let s=this.prepareExternalUrl(n+_(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(c),i.LFG(v,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),x=(()=>{class t{constructor(t,e){this._subject=new i.vpe,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=g(S(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+_(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,S(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformStrategy).historyGo)||void 0===n||n.call(e,t)}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(y),i.LFG(c))},t.normalizeQueryParams=_,t.joinWithSlash=m,t.stripTrailingSlash=g,t.\u0275prov=(0,i.Yz7)({factory:E,token:t,providedIn:"root"}),t})();function E(){return new x((0,i.LFG)(y),(0,i.LFG)(c))}function S(t){return t.replace(/\/index.html$/,"")}var k=(()=>((k=k||{})[k.Zero=0]="Zero",k[k.One=1]="One",k[k.Two=2]="Two",k[k.Few=3]="Few",k[k.Many=4]="Many",k[k.Other=5]="Other",k))();const O=i.kL8;class T{}let A=(()=>{class t extends T{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(O(e||this.locale)(t)){case k.Zero:return"zero";case k.One:return"one";case k.Two:return"two";case k.Few:return"few";case k.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.soG))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();function P(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,s]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(s)}return null}let I=(()=>{class t{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&((0,i.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,i.AaK)(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class R{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}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 D=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new R(null,this._ngForOf,-1,-1),null===i?void 0:i),s=new M(t,n);e.push(s)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,i);const r=new M(t,s);e.push(r)}});for(let n=0;n{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class M{constructor(t,e){this.record=t,this.view=e}}let L=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new F,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){N("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){N("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class F{constructor(){this.$implicit=null,this.ngIf=null}}function N(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${(0,i.AaK)(e)}'.`)}class B{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 U=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new B(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(U,9))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),j=(()=>{class t{constructor(t,e,n){n._addDefault(new B(t,e))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(U,9))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngSwitchDefault",""]]}),t})();class q{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class V{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const H=new V,z=new q;let Y=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if((0,i.QGY)(e))return H;if((0,i.F4k)(e))return z;throw Error(`InvalidPipeArgument: '${e}' for pipe '${(0,i.AaK)(t)}'`)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.sBO,16))},t.\u0275pipe=i.Yjl({name:"async",type:t,pure:!1}),t})(),G=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[{provide:T,useClass:A}]}),t})();const K="browser";function $(t){return t===K}let W=(()=>{class t{}return t.\u0275prov=(0,i.Yz7)({token:t,providedIn:"root",factory:()=>new Q((0,i.LFG)(l),window)}),t})();class Q{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let i=n.currentNode;for(;i;){const t=i.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}i=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],i-s[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=J(this.window.history)||J(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function J(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class X{}},1841:function(t,e,n){"use strict";n.d(e,{eN:function(){return T},JF:function(){return j}});var i=n(8583),s=n(3018),r=n(5917),o=n(7574),a=n(4612),l=n(5435),c=n(8002);class u{}class h{}class d{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),i=n.toLowerCase(),s=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const i=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(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 d?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 d;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof d?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 n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":const s=t.value;if(s){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===s.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return f(t)}encodeValue(t){return f(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function f(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function m(t){return`${t}`}class g{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new p,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(t=>{const i=t.indexOf("="),[s,r]=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],o=n.get(s)||[];o.push(r),n.set(s,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):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(n=>{const i=t[n];Array.isArray(i)?i.forEach(t=>{e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:i,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(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new g({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(m(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(m(t.value));-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class _{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}keys(){return this.map.keys()}}function y(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function b(t){return"undefined"!=typeof Blob&&t instanceof Blob}function v(t){return"undefined"!=typeof FormData&&t instanceof FormData}class w{constructor(t,e,n,i){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,s=i):s=n,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new d),this.context||(this.context=new _),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":ne.set(n,t.setHeaders[n]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),c)),new w(n,i,r,{params:c,headers:l,context:u,reportProgress:a,responseType:s,withCredentials:o})}}var C=(()=>((C=C||{})[C.Sent=0]="Sent",C[C.UploadProgress=1]="UploadProgress",C[C.ResponseHeader=2]="ResponseHeader",C[C.DownloadProgress=3]="DownloadProgress",C[C.Response=4]="Response",C[C.User=5]="User",C))();class x{constructor(t,e=200,n="OK"){this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class E extends x{constructor(t={}){super(t),this.type=C.ResponseHeader}clone(t={}){return new E({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 S extends x{constructor(t={}){super(t),this.type=C.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new S({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 k extends x{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 O(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let T=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let i;if(t instanceof w)i=t;else{let s,r;s=n.headers instanceof d?n.headers:new d(n.headers),n.params&&(r=n.params instanceof g?n.params:new g({fromObject:n.params})),i=new w(t,e,void 0!==n.body?n.body:null,{headers:s,context:n.context,params:r,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=(0,r.of)(i).pipe((0,a.b)(t=>this.handler.handle(t)));if(t instanceof w||"events"===n.observe)return s;const o=s.pipe((0,l.h)(t=>t instanceof S));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return o.pipe((0,c.U)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return o.pipe((0,c.U)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return o.pipe((0,c.U)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return o.pipe((0,c.U)(t=>t.body))}case"response":return o;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new g).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,O(n,e))}post(t,e,n={}){return this.request("POST",t,O(n,e))}put(t,e,n={}){return this.request("PUT",t,O(n,e))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(u))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class A{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const P=new s.OlP("HTTP_INTERCEPTORS");let I=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const R=/^\)\]\}',?\n/;let D=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new o.y(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const i=t.serializeBody();let s=null;const r=()=>{if(null!==s)return s;const e=1223===n.status?204:n.status,i=n.statusText||"OK",r=new d(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return s=new E({headers:r,status:e,statusText:i,url:o}),s},o=()=>{let{headers:i,status:s,statusText:o,url:a}=r(),l=null;204!==s&&(l=void 0===n.response?n.responseText:n.response),0===s&&(s=l?200:0);let c=s>=200&&s<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(R,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new S({body:l,headers:i,status:s,statusText:o,url:a||void 0})),e.complete()):e.error(new k({error:l,headers:i,status:s,statusText:o,url:a||void 0}))},a=t=>{const{url:i}=r(),s=new k({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});e.error(s)};let l=!1;const c=i=>{l||(e.next(r()),l=!0);let s={type:C.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(s.total=i.total),"text"===t.responseType&&n.responseText&&(s.partialText=n.responseText),e.next(s)},u=t=>{let n={type:C.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),t.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",u)),n.send(i),e.next({type:C.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),t.reportProgress&&(n.removeEventListener("progress",c),null!==i&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.JF))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const M=new s.OlP("XSRF_COOKIE_NAME"),L=new s.OlP("XSRF_HEADER_NAME");class F{}let N=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,i.Mx)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0),s.LFG(s.Lbi),s.LFG(M))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),B=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(F),s.LFG(L))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),U=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(P,[]);this.chain=t.reduceRight((t,e)=>new A(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(h),s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Z=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:B,useClass:I}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:M,useValue:e.cookieName}:[],e.headerName?{provide:L,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[B,{provide:P,useExisting:B,multi:!0},{provide:F,useClass:N},{provide:M,useValue:"XSRF-TOKEN"},{provide:L,useValue:"X-XSRF-TOKEN"}]}),t})(),j=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[T,{provide:u,useClass:U},D,{provide:h,useExisting:D}],imports:[[Z.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},3018:function(t,e,n){"use strict";n.d(e,{deG:function(){return rn},tb:function(){return jl},AFp:function(){return Fl},ip1:function(){return Ml},CZH:function(){return Ll},hGG:function(){return Mc},z2F:function(){return Ec},sBO:function(){return Na},Sil:function(){return Jl},_Vd:function(){return aa},EJc:function(){return Hl},SBq:function(){return ha},qLn:function(){return Ei},vpe:function(){return ml},gxx:function(){return hr},tBr:function(){return Sn},XFs:function(){return I},OlP:function(){return sn},zs3:function(){return kr},ZZ4:function(){return Pa},aQg:function(){return Ra},soG:function(){return Vl},YKP:function(){return Ga},v3s:function(){return kc},h0i:function(){return Ya},PXZ:function(){return bc},R0b:function(){return ec},FiY:function(){return kn},Lbi:function(){return Zl},g9A:function(){return Ul},n_E:function(){return _l},Qsj:function(){return fa},FYo:function(){return pa},JOm:function(){return Ti},Tiy:function(){return ga},q3G:function(){return mi},tp0:function(){return On},EAV:function(){return Ac},Rgc:function(){return qa},dDg:function(){return lc},DyG:function(){return on},GfV:function(){return _a},s_b:function(){return $a},ifc:function(){return N},eFA:function(){return vc},G48:function(){return _c},Gpc:function(){return m},f3M:function(){return Cn},X6Q:function(){return gc},_c5:function(){return Rc},VLi:function(){return hc},c2e:function(){return ql},zSh:function(){return pr},wAp:function(){return Ko},vHH:function(){return y},EiD:function(){return pi},mCW:function(){return Wn},qzn:function(){return Un},JVY:function(){return jn},pB0:function(){return zn},eBb:function(){return Vn},L6k:function(){return qn},LAX:function(){return Hn},cg1:function(){return zo},Tjo:function(){return Ic},kL8:function(){return Yo},yhl:function(){return Zn},dqk:function(){return q},sIi:function(){return Fr},CqO:function(){return eo},QGY:function(){return Xr},F4k:function(){return to},RDi:function(){return Et},AaK:function(){return d},z3N:function(){return Bn},qOj:function(){return Tr},TTD:function(){return yt},_Bn:function(){return sa},xp6:function(){return fs},uIk:function(){return Zr},Tol:function(){return Co},Gre:function(){return Uo},ekj:function(){return wo},Suo:function(){return Al},Xpm:function(){return X},lG2:function(){return ot},Yz7:function(){return C},cJS:function(){return x},oAB:function(){return it},Yjl:function(){return at},Y36:function(){return Hr},_UZ:function(){return $r},BQk:function(){return Qr},ynx:function(){return Wr},qZA:function(){return Kr},TgZ:function(){return Gr},EpF:function(){return Jr},n5z:function(){return Xe},Ikx:function(){return Zo},LFG:function(){return wn},$8M:function(){return en},NdJ:function(){return no},CRH:function(){return Pl},kcU:function(){return ye},O4$:function(){return _e},oxw:function(){return ao},ALo:function(){return dl},lcZ:function(){return pl},Hsn:function(){return uo},F$t:function(){return co},Q6J:function(){return zr},s9C:function(){return ho},VKq:function(){return ul},iGM:function(){return Ol},MAs:function(){return Vr},pYS:function(){return ki},CHM:function(){return Vt},oJD:function(){return gi},LSH:function(){return _i},kYT:function(){return st},Udp:function(){return vo},WFA:function(){return io},d8E:function(){return jo},YNc:function(){return qr},_uU:function(){return Mo},Oqu:function(){return Lo},hij:function(){return Fo},AsE:function(){return No},lnq:function(){return Bo},Gf:function(){return Tl}});var i=n(9765),s=n(5319),r=n(7574),o=n(6682),a=n(2441),l=n(1307);function c(){return new i.xQ}function u(t){for(let e in t)if(t[e]===u)return e;throw Error("Could not find renamed property on target object.")}function h(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function d(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(d).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function p(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const f=u({__forward_ref__:u});function m(t){return t.__forward_ref__=m,t.toString=function(){return d(this())},t}function g(t){return _(t)?t():t}function _(t){return"function"==typeof t&&t.hasOwnProperty(f)&&t.__forward_ref__===m}class y extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function b(t){return"string"==typeof t?t:null==t?"":String(t)}function v(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():b(t)}function w(t,e){const n=e?` in ${e}`:"";throw new y("201",`No provider for ${v(t)} found${n}`)}function C(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function x(t){return{providers:t.providers||[],imports:t.imports||[]}}function E(t){return S(t,O)||S(t,A)}function S(t,e){return t.hasOwnProperty(e)?t[e]:null}function k(t){return t&&(t.hasOwnProperty(T)||t.hasOwnProperty(P))?t[T]:null}const O=u({"\u0275prov":u}),T=u({"\u0275inj":u}),A=u({ngInjectableDef:u}),P=u({ngInjectorDef:u});var I=(()=>((I=I||{})[I.Default=0]="Default",I[I.Host=1]="Host",I[I.Self=2]="Self",I[I.SkipSelf=4]="SkipSelf",I[I.Optional=8]="Optional",I))();let R;function D(t){const e=R;return R=t,e}function M(t,e,n){const i=E(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&I.Optional?null:void 0!==e?e:void w(d(t),"Injector")}function L(t){return{toString:t}.toString()}var F=(()=>((F=F||{})[F.OnPush=0]="OnPush",F[F.Default=1]="Default",F))(),N=(()=>((N=N||{})[N.Emulated=0]="Emulated",N[N.None=2]="None",N[N.ShadowDom=3]="ShadowDom",N))();const B="undefined"!=typeof globalThis&&globalThis,U="undefined"!=typeof window&&window,Z="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,j="undefined"!=typeof global&&global,q=B||j||U||Z,V={},H=[],z=u({"\u0275cmp":u}),Y=u({"\u0275dir":u}),G=u({"\u0275pipe":u}),K=u({"\u0275mod":u}),$=u({"\u0275loc":u}),W=u({"\u0275fac":u}),Q=u({__NG_ELEMENT_ID__:u});let J=0;function X(t){return L(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===F.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||H,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||N.Emulated,id:"c",styles:t.styles||H,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,s=t.features,r=t.pipes;return n.id+=J++,n.inputs=rt(t.inputs,e),n.outputs=rt(t.outputs),s&&s.forEach(t=>t(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(tt):null,n.pipeDefs=r?()=>("function"==typeof r?r():r).map(et):null,n})}function tt(t){return lt(t)||function(t){return t[Y]||null}(t)}function et(t){return function(t){return t[G]||null}(t)}const nt={};function it(t){return L(()=>{const e={type:t.type,bootstrap:t.bootstrap||H,declarations:t.declarations||H,imports:t.imports||H,exports:t.exports||H,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(nt[t.id]=t.type),e})}function st(t,e){return L(()=>{const n=ct(t,!0);n.declarations=e.declarations||H,n.imports=e.imports||H,n.exports=e.exports||H})}function rt(t,e){if(null==t)return V;const n={};for(const i in t)if(t.hasOwnProperty(i)){let s=t[i],r=s;Array.isArray(s)&&(r=s[1],s=s[0]),n[s]=i,e&&(e[s]=r)}return n}const ot=X;function at(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function lt(t){return t[z]||null}function ct(t,e){const n=t[K]||null;if(!n&&!0===e)throw new Error(`Type ${d(t)} does not have '\u0275mod' property.`);return n}function ut(t){return Array.isArray(t)&&"object"==typeof t[1]}function ht(t){return Array.isArray(t)&&!0===t[1]}function dt(t){return 0!=(8&t.flags)}function pt(t){return 2==(2&t.flags)}function ft(t){return 1==(1&t.flags)}function mt(t){return null!==t.template}function gt(t,e){return t.hasOwnProperty(W)?t[W]:null}class _t{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function yt(){return bt}function bt(t){return t.type.prototype.ngOnChanges&&(t.setInput=wt),vt}function vt(){const t=Ct(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===V)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function wt(t,e,n,i){const s=Ct(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:V,current:null}),r=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],l=o[a];r[a]=new _t(l&&l.currentValue,e,o===V),t[i]=e}function Ct(t){return t.__ngSimpleChanges__||null}let xt;function Et(t){xt=t}function St(){return void 0!==xt?xt:"undefined"!=typeof document?document:void 0}function kt(t){return!!t.listen}yt.ngInherit=!0;const Ot={createRenderer:(t,e)=>St()};function Tt(t){for(;Array.isArray(t);)t=t[0];return t}function At(t,e){return Tt(e[t])}function Pt(t,e){return Tt(e[t.index])}function It(t,e){return t.data[e]}function Rt(t,e){return t[e]}function Dt(t,e){const n=e[t];return ut(n)?n:n[0]}function Mt(t){return 4==(4&t[2])}function Lt(t){return 128==(128&t[2])}function Ft(t,e){return null==e?null:t[e]}function Nt(t){t[18]=0}function Bt(t,e){t[5]+=e;let n=t,i=t[3];for(;null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}const Ut={lFrame:ue(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Zt(){return Ut.bindingsEnabled}function jt(){return Ut.lFrame.lView}function qt(){return Ut.lFrame.tView}function Vt(t){return Ut.lFrame.contextLView=t,t[8]}function Ht(){let t=zt();for(;null!==t&&64===t.type;)t=t.parent;return t}function zt(){return Ut.lFrame.currentTNode}function Yt(t,e){const n=Ut.lFrame;n.currentTNode=t,n.isParent=e}function Gt(){return Ut.lFrame.isParent}function Kt(){Ut.lFrame.isParent=!1}function $t(){return Ut.isInCheckNoChangesMode}function Wt(t){Ut.isInCheckNoChangesMode=t}function Qt(){const t=Ut.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Jt(){return Ut.lFrame.bindingIndex}function Xt(){return Ut.lFrame.bindingIndex++}function te(t){const e=Ut.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function ee(t,e){const n=Ut.lFrame;n.bindingIndex=n.bindingRootIndex=t,ne(e)}function ne(t){Ut.lFrame.currentDirectiveIndex=t}function ie(t){const e=Ut.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function se(){return Ut.lFrame.currentQueryIndex}function re(t){Ut.lFrame.currentQueryIndex=t}function oe(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function ae(t,e,n){if(n&I.SkipSelf){let i=e,s=t;for(;i=i.parent,!(null!==i||n&I.Host||(i=oe(s),null===i)||(s=s[15],10&i.type)););if(null===i)return!1;e=i,t=s}const i=Ut.lFrame=ce();return i.currentTNode=e,i.lView=t,!0}function le(t){const e=ce(),n=t[1];Ut.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function ce(){const t=Ut.lFrame,e=null===t?null:t.child;return null===e?ue(t):e}function ue(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function he(){const t=Ut.lFrame;return Ut.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const de=he;function pe(){const t=he();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function fe(){return Ut.lFrame.selectedIndex}function me(t){Ut.lFrame.selectedIndex=t}function ge(){const t=Ut.lFrame;return It(t.tView,t.selectedIndex)}function _e(){Ut.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function ye(){Ut.lFrame.currentNamespace=null}function be(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n=i)break}else e[a]<0&&(t[18]+=65536),(o>11>16&&(3&t[2])===e){t[2]+=2048;try{r.call(o)}finally{}}}else try{r.call(o)}finally{}}class Se{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function ke(t,e,n){const i=kt(t);let s=0;for(;se){o=r-1;break}}}for(;r>16,i=e;for(;n>0;)i=i[15],n--;return i}let Me=!0;function Le(t){const e=Me;return Me=t,e}let Fe=0;function Ne(t,e){const n=Ue(t,e);if(-1!==n)return n;const i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,Be(i.data,t),Be(e,null),Be(i.blueprint,null));const s=Ze(t,e),r=t.injectorIndex;if(Ie(s)){const t=Re(s),n=De(s,e),i=n[1].data;for(let s=0;s<8;s++)e[r+s]=n[t+s]|i[t+s]}return e[r+8]=s,r}function Be(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ue(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Ze(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,s=e;for(;null!==s;){const t=s[1],e=t.type;if(i=2===e?t.declTNode:1===e?s[6]:null,null===i)return-1;if(n++,s=s[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function je(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Q)&&(i=n[Q]),null==i&&(i=n[Q]=Fe++);const s=255&i;e.data[t+(s>>5)]|=1<=0?255&e:Ye:e}(n);if("function"==typeof r){if(!ae(e,t,i))return i&I.Host?qe(s,n,i):Ve(e,n,i,s);try{const t=r(i);if(null!=t||i&I.Optional)return t;w(n)}finally{de()}}else if("number"==typeof r){let s=null,o=Ue(t,e),a=-1,l=i&I.Host?e[16][6]:null;for((-1===o||i&I.SkipSelf)&&(a=-1===o?Ze(t,e):e[o+8],-1!==a&&Qe(i,!1)?(s=e[1],o=Re(a),e=De(a,e)):o=-1);-1!==o;){const t=e[1];if(We(r,o,t.data)){const t=Ge(o,e,n,s,i,l);if(t!==ze)return t}a=e[o+8],-1!==a&&Qe(i,e[1].data[o+8]===l)&&We(r,o,e)?(s=t,o=Re(a),e=De(a,e)):o=-1}}}return Ve(e,n,i,s)}const ze={};function Ye(){return new Je(Ht(),jt())}function Ge(t,e,n,i,s,r){const o=e[1],a=o.data[t+8],l=Ke(a,o,n,null==i?pt(a)&&Me:i!=o&&0!=(3&a.type),s&I.Host&&r===a);return null!==l?$e(e,o,l,a):ze}function Ke(t,e,n,i,s){const r=t.providerIndexes,o=e.data,a=1048575&r,l=t.directiveStart,c=r>>20,u=s?a+c:t.directiveEnd;for(let h=i?a:a+c;h=l&&t.type===n)return h}if(s){const t=o[l];if(t&&mt(t)&&t.type===n)return l}return null}function $e(t,e,n,i){let s=t[n];const r=e.data;if(s instanceof Se){const o=s;o.resolving&&function(t,e){throw new y("200",`Circular dependency in DI detected for ${t}`)}(v(r[n]));const a=Le(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?D(o.injectImpl):null;ae(t,i,I.Default);try{s=t[n]=o.factory(void 0,r,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{ngOnChanges:i,ngOnInit:s,ngDoCheck:r}=e.type.prototype;if(i){const i=bt(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,s),r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r))}(n,r[n],e)}finally{null!==l&&D(l),Le(a),o.resolving=!1,de()}}return s}function We(t,e,n){return!!(n[e+(t>>5)]&1<{const e=t.prototype.constructor,n=e[W]||tn(e),i=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==i;){const t=s[W]||tn(s);if(t&&t!==n)return t;s=Object.getPrototypeOf(s)}return t=>new t})}function tn(t){return _(t)?()=>{const e=tn(g(t));return e&&e()}:gt(t)}function en(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let i=0;for(;i{const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function s(...t){if(this instanceof s)return i.apply(this,t),this;const e=new s(...t);return n.annotation=e,n;function n(t,n,i){const s=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;s.length<=i;)s.push(null);return(s[i]=s[i]||[]).push(e),t}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}class sn{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=C({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const rn=new sn("AnalyzeForEntryComponents"),on=Function;function an(t,e){void 0===e&&(e=t);for(let n=0;nArray.isArray(t)?ln(t,e):e(t))}function cn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function un(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function hn(t,e){const n=[];for(let i=0;i=0?t[1|i]=n:(i=~i,function(t,e,n,i){let s=t.length;if(s==e)t.push(n,i);else if(1===s)t.push(i,t[0]),t[0]=n;else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function pn(t,e){const n=fn(t,e);if(n>=0)return t[1|n]}function fn(t,e){return function(t,e,n){let i=0,s=t.length>>1;for(;s!==i;){const n=i+(s-i>>1),r=t[n<<1];if(e===r)return n<<1;r>e?s=n:i=n+1}return~(s<<1)}(t,e)}const mn={},gn=/\n/gm,_n=u({provide:String,useValue:u});let yn;function bn(t){const e=yn;return yn=t,e}function vn(t,e=I.Default){if(void 0===yn)throw new Error("inject() must be called from an injection context");return null===yn?M(t,void 0,e):yn.get(t,e&I.Optional?null:void 0,e)}function wn(t,e=I.Default){return(R||vn)(g(t),e)}const Cn=wn;function xn(t){const e=[];for(let n=0;n({token:t})),-1),kn=En(nn("Optional"),8),On=En(nn("SkipSelf"),4);let Tn,An;function Pn(t){var e;return(null===(e=function(){if(void 0===Tn&&(Tn=null,q.trustedTypes))try{Tn=q.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return Tn}())||void 0===e?void 0:e.createHTML(t))||t}function In(t){var e;return(null===(e=function(){if(void 0===An&&(An=null,q.trustedTypes))try{An=q.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return An}())||void 0===e?void 0:e.createHTML(t))||t}class Rn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Dn extends Rn{getTypeName(){return"HTML"}}class Mn extends Rn{getTypeName(){return"Style"}}class Ln extends Rn{getTypeName(){return"Script"}}class Fn extends Rn{getTypeName(){return"URL"}}class Nn extends Rn{getTypeName(){return"ResourceURL"}}function Bn(t){return t instanceof Rn?t.changingThisBreaksApplicationSecurity:t}function Un(t,e){const n=Zn(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}function Zn(t){return t instanceof Rn&&t.getTypeName()||null}function jn(t){return new Dn(t)}function qn(t){return new Mn(t)}function Vn(t){return new Ln(t)}function Hn(t){return new Fn(t)}function zn(t){return new Nn(t)}class Yn{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Pn(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class Gn{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Pn(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=Pn(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0Wn(t.trim())).join(", ")),this.buf.push(" ",e,'="',hi(o),'"')}var i;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();ii.hasOwnProperty(e)&&!Xn.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(hi(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 ci=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ui=/([^\#-~ |!])/g;function hi(t){return t.replace(/&/g,"&").replace(ci,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ui,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let di;function pi(t,e){let n=null;try{di=di||function(t){const e=new Gn(t);return function(){try{return!!(new window.DOMParser).parseFromString(Pn(""),"text/html")}catch(t){return!1}}()?new Yn(e):e}(t);let i=e?String(e):"";n=di.getInertBodyElement(i);let s=5,r=i;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,i=r,r=n.innerHTML,n=di.getInertBodyElement(i)}while(i!==r);return Pn((new li).sanitizeChildren(fi(n)||n))}finally{if(n){const t=fi(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function fi(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var mi=(()=>((mi=mi||{})[mi.NONE=0]="NONE",mi[mi.HTML=1]="HTML",mi[mi.STYLE=2]="STYLE",mi[mi.SCRIPT=3]="SCRIPT",mi[mi.URL=4]="URL",mi[mi.RESOURCE_URL=5]="RESOURCE_URL",mi))();function gi(t){const e=yi();return e?In(e.sanitize(mi.HTML,t)||""):Un(t,"HTML")?In(Bn(t)):pi(St(),b(t))}function _i(t){const e=yi();return e?e.sanitize(mi.URL,t)||"":Un(t,"URL")?Bn(t):Wn(b(t))}function yi(){const t=jt();return t&&t[12]}function bi(t,e){t.__ngContext__=e}function vi(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function wi(t){return t.ngDebugContext}function Ci(t){return t.ngOriginalError}function xi(t,...e){t.error(...e)}class Ei{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=function(t){return t.ngErrorLogger||xi}(t);i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?wi(t)?wi(t):this._findContext(Ci(t)):null}_findOriginalError(t){let e=Ci(t);for(;e&&Ci(e);)e=Ci(e);return e}}const Si=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(q))();function ki(t){return t.ownerDocument.body}function Oi(t){return t instanceof Function?t():t}var Ti=(()=>((Ti=Ti||{})[Ti.Important=1]="Important",Ti[Ti.DashCase=2]="DashCase",Ti))();function Ai(t,e){return(void 0)(t,e)}function Pi(t){const e=t[3];return ht(e)?e[3]:e}function Ii(t){return Di(t[13])}function Ri(t){return Di(t[4])}function Di(t){for(;null!==t&&!ht(t);)t=t[4];return t}function Mi(t,e,n,i,s){if(null!=i){let r,o=!1;ht(i)?r=i:ut(i)&&(o=!0,i=i[0]);const a=Tt(i);0===t&&null!==n?null==s?qi(e,n,a):ji(e,n,a,s||null,!0):1===t&&null!==n?ji(e,n,a,s||null,!0):2===t?function(t,e,n){const i=Hi(t,e);i&&function(t,e,n,i){kt(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=r&&function(t,e,n,i,s){const r=n[7];r!==Tt(n)&&Mi(e,t,i,r,s);for(let o=10;o0&&(t[n-1][4]=i[4]);const o=un(t,10+e);Ji(i[1],s=i,s[11],2,null,null),s[0]=null,s[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}var s;return i}function Bi(t,e){if(!(256&e[2])){const n=e[11];kt(n)&&n.destroyNode&&Ji(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Ui(t[1],t);for(;e;){let n=null;if(ut(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)ut(e)&&Ui(e[1],e),e=e[3];null===e&&(e=t),ut(e)&&Ui(e[1],e),n=e&&e[4]}e=n}}(e)}}function Ui(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let i=0;i=0?i[s=l]():i[s=-l].unsubscribe(),r+=2}else{const t=i[s=n[r+1]];n[r].call(t)}if(null!==i){for(let t=s+1;tr?"":s[u+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==ns(e,c,0)||2&i&&c!==t){if(as(i))return!1;o=!0}}}}else{if(!o&&!as(i)&&!as(l))return!1;if(o&&as(l))continue;o=!1,i=l|1&i}}return as(i)||o}function as(t){return 0==(1&t)}function ls(t,e,n,i){if(null===e)return-1;let s=0;if(i||!n){let n=!1;for(;s-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&i?s+="."+o:4&i&&(s+=" "+o);else""===s||as(o)||(e+=hs(r,s),s=""),i=o,r=r||!as(i);n++}return""!==s&&(e+=hs(r,s)),e}const ps={};function fs(t){ms(qt(),jt(),fe()+t,$t())}function ms(t,e,n,i){if(!i)if(3==(3&e[2])){const i=t.preOrderCheckHooks;null!==i&&ve(e,i,n)}else{const i=t.preOrderHooks;null!==i&&we(e,i,0,n)}me(n)}function gs(t,e){return t<<17|e<<2}function _s(t){return t>>17&32767}function ys(t){return 2|t}function bs(t){return(131068&t)>>2}function vs(t,e){return-131069&t|e<<2}function ws(t){return 1|t}function Cs(t,e){const n=t.contentQueries;if(null!==n)for(let i=0;i20&&ms(t,e,20,$t()),n(i,s)}finally{me(r)}}function Ps(t,e,n){if(dt(e)){const i=e.directiveEnd;for(let s=e.directiveStart;s0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=r&&n.push(r),n.push(i,s,o)}}function Zs(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function js(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function qs(t,e,n){if(n){if(e.exportAs)for(let i=0;i0&&Ws(n)}}function Ws(t){for(let n=Ii(t);null!==n;n=Ri(n))for(let t=10;t0&&Ws(e)}const e=t[1].components;if(null!==e)for(let n=0;n0&&Ws(i)}}function Qs(t,e){const n=Dt(e,t),i=n[1];!function(t,e){for(let n=e.length;nPromise.resolve(null))();function sr(t){return t[7]||(t[7]=[])}function rr(t){return t.cleanup||(t.cleanup=[])}function or(t,e,n){return(null===t||mt(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}function ar(t,e){const n=t[9],i=n?n.get(Ei,null):null;i&&i.handleError(e)}function lr(t,e,n,i,s){for(let r=0;rthis.processProvider(n,t,e)),ln([t],t=>this.processInjectorType(t,[],s)),this.records.set(hr,Cr(void 0,this));const r=this.records.get(pr);this.scope=null!=r?r.value:null,this.source=i||("object"==typeof t?null:d(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=mn,n=I.Default){this.assertNotDestroyed();const i=bn(this);try{if(!(n&I.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(s=t)||"object"==typeof s&&s instanceof sn)&&E(t);e=n&&this.injectableDefInScope(n)?Cr(vr(t),fr):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&I.Self?_r():this.parent).get(t,e=n&I.Optional&&e===mn?null:e)}catch(r){if("NullInjectorError"===r.name){if((r.ngTempTokenPath=r.ngTempTokenPath||[]).unshift(d(t)),i)throw r;return function(t,e,n,i){const s=t.ngTempTokenPath;throw e.__source&&s.unshift(e.__source),t.message=function(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=d(e);if(Array.isArray(e))s=e.map(d).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):d(i)))}s=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${s}]: ${t.replace(gn,"\n ")}`}("\n"+t.message,s,n,i),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(r,t,"R3InjectorError",this.source)}throw r}finally{bn(i)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(d(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=g(t)))return!1;let i=k(t);const s=null==i&&t.ngModule||void 0,r=void 0===s?t:s,o=-1!==n.indexOf(r);if(void 0!==s&&(i=k(s)),null==i)return!1;if(null!=i.imports&&!o){let t;n.push(r);try{ln(i.imports,i=>{this.processInjectorType(i,e,n)&&(void 0===t&&(t=[]),t.push(i))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,n,i||H))}}this.injectorDefTypes.add(r);const a=gt(r)||(()=>new r);this.records.set(r,Cr(a,fr));const l=i.providers;if(null!=l&&!o){const e=t;ln(l,t=>this.processProvider(t,e,l))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let i=Er(t=g(t))?t:g(t&&t.provide);const s=function(t,e,n){return xr(t)?Cr(void 0,t.useValue):Cr(wr(t),fr)}(t);if(Er(t)||!0!==t.multi)this.records.get(i);else{let e=this.records.get(i);e||(e=Cr(void 0,fr,!0),e.factory=()=>xn(e.multi),this.records.set(i,e)),i=t,e.multi.push(t)}this.records.set(i,s)}hydrate(t,e){var n;return e.value===fr&&(e.value=mr,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=g(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function vr(t){const e=E(t),n=null!==e?e.factory:gt(t);if(null!==n)return n;if(t instanceof sn)throw new Error(`Token ${d(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=hn(e,"?");throw new Error(`Can't resolve all parameters for ${d(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[O]||t[A]);if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function wr(t,e,n){let i;if(Er(t)){const e=g(t);return gt(e)||vr(e)}if(xr(t))i=()=>g(t.useValue);else if((s=t)&&s.useFactory)i=()=>t.useFactory(...xn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>wn(g(t.useExisting));else{const e=g(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return gt(e)||vr(e);i=()=>new e(...xn(t.deps))}var s;return i}function Cr(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function xr(t){return null!==t&&"object"==typeof t&&_n in t}function Er(t){return"function"==typeof t}const Sr=function(t,e,n){return function(t,e=null,n=null,i){const s=yr(t,e,n,i);return s._resolveInjectorDefTypes(),s}({name:n},e,t,n)};class kr{static create(t,e){return Array.isArray(t)?Sr(t,e,""):Sr(t.providers,t.parent,t.name||"")}}function Or(t,e){be(vi(t)[1],Ht())}function Tr(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const i=[t];for(;e;){let s;if(mt(t))s=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");s=e.\u0275dir}if(s){if(n){i.push(s);const e=t;e.inputs=Ar(t.inputs),e.declaredInputs=Ar(t.declaredInputs),e.outputs=Ar(t.outputs);const n=s.hostBindings;n&&Rr(t,n);const r=s.viewQuery,o=s.contentQueries;if(r&&Pr(t,r),o&&Ir(t,o),h(t.inputs,s.inputs),h(t.declaredInputs,s.declaredInputs),h(t.outputs,s.outputs),mt(s)&&s.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(s.data.animation)}}const e=s.features;if(e)for(let i=0;i=0;i--){const s=t[i];s.hostVars=e+=s.hostVars,s.hostAttrs=Ae(s.hostAttrs,n=Ae(n,s.hostAttrs))}}(i)}function Ar(t){return t===V?{}:t===H?[]:t}function Pr(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function Ir(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,s)=>{e(t,i,s),n(t,i,s)}:e}function Rr(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}kr.THROW_IF_NOT_FOUND=mn,kr.NULL=new dr,kr.\u0275prov=C({token:kr,providedIn:"any",factory:()=>wn(hr)}),kr.__NG_ELEMENT_ID__=-1;let Dr=null;function Mr(){if(!Dr){const t=q.Symbol;if(t&&t.iterator)Dr=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(Tt(t[i.index])):i.index;if(kt(n)){let o=null;if(!a&&l&&(o=function(t,e,n,i){const s=t.cleanup;if(null!=s)for(let r=0;rn?t[n]:null}"string"==typeof t&&(r+=2)}return null}(t,e,s,i.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=r,o.__ngLastListenerFn__=r,h=!1;else{r=oo(i,e,0,r,!1);const t=n.listen(p,s,r);u.push(r,t),c&&c.push(s,m,f,f+1)}}else r=oo(i,e,0,r,!0),p.addEventListener(s,r,o),u.push(r),c&&c.push(s,m,f,o)}else r=oo(i,e,0,r,!1);const d=i.outputs;let p;if(h&&null!==d&&(p=d[s])){const t=p.length;if(t)for(let n=0;n0;)e=e[15],t--;return e}(t,Ut.lFrame.contextLView))[8]}(t)}function lo(t,e){let n=null;const i=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let s=0;s=0}const go={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function _o(t){return t.substring(go.key,go.keyEnd)}function yo(t,e){const n=go.textEnd;return n===e?-1:(e=go.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,go.key=e,n),bo(t,e,n))}function bo(t,e,n){for(;e=0;n=yo(e,n))dn(t,_o(e),!0)}function Eo(t,e,n,i){const s=jt(),r=qt(),o=te(2);r.firstUpdatePass&&Oo(r,t,o,i),e!==ps&&Br(s,o,e)&&Po(r,r.data[fe()],s,s[11],t,s[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=d(Bn(t)))),t}(e,n),i,o)}function So(t,e,n,i){const s=qt(),r=te(2);s.firstUpdatePass&&Oo(s,null,r,i);const o=jt();if(n!==ps&&Br(o,r,n)){const a=s.data[fe()];if(Do(a,i)&&!ko(s,r)){let t=i?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(n=p(t,n||"")),Yr(s,a,o,n,i)}else!function(t,e,n,i,s,r,o,a){s===ps&&(s=H);let l=0,c=0,u=0=t.expandoStartIndex}function Oo(t,e,n,i){const s=t.data;if(null===s[n+1]){const r=s[fe()],o=ko(t,n);Do(r,i)&&null===e&&!o&&(e=!1),e=function(t,e,n,i){const s=ie(t);let r=i?e.residualClasses:e.residualStyles;if(null===s)0===(i?e.classBindings:e.styleBindings)&&(n=Ao(n=To(null,t,e,n,i),e.attrs,i),r=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==s)if(n=To(s,t,e,n,i),null===r){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==bs(i))return t[_s(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=To(null,t,e,n[1],i),n=Ao(n,e.attrs,i),function(t,e,n,i){t[_s(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else r=function(t,e,n){let i;const s=e.directiveEnd;for(let r=1+e.directiveStylingLast;r0)&&(u=!0)}else c=n;if(s)if(0!==l){const e=_s(t[a+1]);t[i+1]=gs(e,a),0!==e&&(t[e+1]=vs(t[e+1],i)),t[a+1]=131071&t[a+1]|i<<17}else t[i+1]=gs(a,0),0!==a&&(t[a+1]=vs(t[a+1],i)),a=i;else t[i+1]=gs(l,0),0===a?a=i:t[l+1]=vs(t[l+1],i),l=i;u&&(t[i+1]=ys(t[i+1])),fo(t,c,i,!0),fo(t,c,i,!1),function(t,e,n,i,s){const r=s?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof e&&fn(r,e)>=0&&(n[i+1]=ws(n[i+1]))}(e,c,t,i,r),o=gs(a,l),r?e.classBindings=o:e.styleBindings=o}(s,r,e,n,o,i)}}function To(t,e,n,i,s){let r=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const e=t[s],r=Array.isArray(e),l=r?e[1]:e,c=null===l;let u=n[s+1];u===ps&&(u=c?H:void 0);let h=c?pn(u,i):l===i?u:void 0;if(r&&!Ro(h)&&(h=pn(e,i)),Ro(h)&&(a=h,o))return a;const d=t[s+1];s=o?_s(d):bs(d)}if(null!==e){let t=r?e.residualClasses:e.residualStyles;null!=t&&(a=pn(t,i))}return a}function Ro(t){return void 0!==t}function Do(t,e){return 0!=(t.flags&(e?16:32))}function Mo(t,e=""){const n=jt(),i=qt(),s=t+20,r=i.firstCreatePass?Es(i,s,1,e,null):i.data[s],o=n[s]=function(t,e){return kt(t)?t.createText(e):t.createTextNode(e)}(n[11],e);Gi(i,n,o,r),Yt(r,!1)}function Lo(t){return Fo("",t,""),Lo}function Fo(t,e,n){const i=jt(),s=jr(i,t,e,n);return s!==ps&&cr(i,fe(),s),Fo}function No(t,e,n,i,s){const r=jt(),o=function(t,e,n,i,s,r){const o=Ur(t,Jt(),n,s);return te(2),o?e+b(n)+i+b(s)+r:ps}(r,t,e,n,i,s);return o!==ps&&cr(r,fe(),o),No}function Bo(t,e,n,i,s,r,o){const a=jt(),l=function(t,e,n,i,s,r,o,a){const l=function(t,e,n,i,s){const r=Ur(t,e,n,i);return Br(t,e+2,s)||r}(t,Jt(),n,s,o);return te(3),l?e+b(n)+i+b(s)+r+b(o)+a:ps}(a,t,e,n,i,s,r,o);return l!==ps&&cr(a,fe(),l),Bo}function Uo(t,e,n){So(dn,xo,jr(jt(),t,e,n),!0)}function Zo(t,e,n){const i=jt();return Br(i,Xt(),e)&&Ns(qt(),ge(),i,t,e,i[11],n,!0),Zo}function jo(t,e,n){const i=jt();if(Br(i,Xt(),e)){const s=qt(),r=ge();Ns(s,r,i,t,e,or(ie(s.data),r,i),n,!0)}return jo}const qo=void 0;var Vo=["en",[["a","p"],["AM","PM"],qo],[["AM","PM"],qo,qo],[["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"]],qo,[["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"]],qo,[["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}",qo,"{1} 'at' {0}",qo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let Ho={};function zo(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Go(e);if(n)return n;const i=e.split("-")[0];if(n=Go(i),n)return n;if("en"===i)return Vo;throw new Error(`Missing locale data for the locale "${t}".`)}function Yo(t){return zo(t)[Ko.PluralCase]}function Go(t){return t in Ho||(Ho[t]=q.ng&&q.ng.common&&q.ng.common.locales&&q.ng.common.locales[t]),Ho[t]}var Ko=(()=>((Ko=Ko||{})[Ko.LocaleId=0]="LocaleId",Ko[Ko.DayPeriodsFormat=1]="DayPeriodsFormat",Ko[Ko.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ko[Ko.DaysFormat=3]="DaysFormat",Ko[Ko.DaysStandalone=4]="DaysStandalone",Ko[Ko.MonthsFormat=5]="MonthsFormat",Ko[Ko.MonthsStandalone=6]="MonthsStandalone",Ko[Ko.Eras=7]="Eras",Ko[Ko.FirstDayOfWeek=8]="FirstDayOfWeek",Ko[Ko.WeekendRange=9]="WeekendRange",Ko[Ko.DateFormat=10]="DateFormat",Ko[Ko.TimeFormat=11]="TimeFormat",Ko[Ko.DateTimeFormat=12]="DateTimeFormat",Ko[Ko.NumberSymbols=13]="NumberSymbols",Ko[Ko.NumberFormats=14]="NumberFormats",Ko[Ko.CurrencyCode=15]="CurrencyCode",Ko[Ko.CurrencySymbol=16]="CurrencySymbol",Ko[Ko.CurrencyName=17]="CurrencyName",Ko[Ko.Currencies=18]="Currencies",Ko[Ko.Directionality=19]="Directionality",Ko[Ko.PluralCase=20]="PluralCase",Ko[Ko.ExtraData=21]="ExtraData",Ko))();let $o="en-US";function Wo(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t} [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&($o=t.toLowerCase().replace(/_/g,"-"))}function Qo(t,e,n,i,s){if(t=g(t),Array.isArray(t))for(let r=0;r>20;if(Er(t)||!t.multi){const i=new Se(l,s,Hr),p=ta(a,e,s?u:u+d,h);-1===p?(je(Ne(c,o),r,a),Jo(r,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(i),o.push(i)):(n[p]=i,o[p]=i)}else{const p=ta(a,e,u+d,h),f=ta(a,e,u,u+d),m=p>=0&&n[p],g=f>=0&&n[f];if(s&&!g||!s&&!m){je(Ne(c,o),r,a);const u=function(t,e,n,i,s){const r=new Se(t,n,Hr);return r.multi=[],r.index=e,r.componentProviders=0,Xo(r,s,i&&!n),r}(s?na:ea,n.length,s,i,l);!s&&g&&(n[f].providerFactory=u),Jo(r,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(u),o.push(u)}else Jo(r,t,p>-1?p:f,Xo(n[s?f:p],l,!s&&i));!s&&i&&g&&n[f].componentProviders++}}}function Jo(t,e,n,i){const s=Er(e);if(s||e.useClass){const r=(e.useClass||e).prototype.ngOnDestroy;if(r){const o=t.destroyHooks||(t.destroyHooks=[]);if(!s&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[i,r]):o[t+1].push(i,r)}else o.push(n,r)}}}function Xo(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function ta(t,e,n,i){for(let s=n;s{n.providersResolver=(n,i)=>function(t,e,n){const i=qt();if(i.firstCreatePass){const s=mt(t);Qo(n,i.data,i.blueprint,s,!0),Qo(e,i.data,i.blueprint,s,!1)}}(n,i?i(t):t,e)}}class ra{}class oa{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${d(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}class aa{}function la(...t){}function ca(t,e){return new ha(Pt(t,e))}aa.NULL=new oa;const ua=function(){return ca(Ht(),jt())};let ha=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=ua,t})();function da(t){return t instanceof ha?t.nativeElement:t}class pa{}let fa=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ma(),t})();const ma=function(){const t=jt(),e=Dt(Ht().index,t);return function(t){return t[11]}(ut(e)?e:t)};let ga=(()=>{class t{}return t.\u0275prov=C({token:t,providedIn:"root",factory:()=>null}),t})();class _a{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ya=new _a("12.1.0");class ba{constructor(){}supports(t){return Fr(t)}create(t){return new wa(t)}}const va=(t,e)=>e;class wa{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||va}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,s=null;for(;e||n;){const r=!n||e&&e.currentIndex{i=this._trackByFn(e,t),null!==s&&Object.is(s.trackById,i)?(r&&(s=this._verifyReinsertion(s,t,i,e)),Object.is(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,i,e),r=!0),s=s._next,e++}),this.length=e;return this._truncate(s),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,n,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,i)):t=this._addAfter(new Ca(e,n),s,i),t}_verifyReinsertion(t,e,n,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Ea),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._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 Ea),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 Ca{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 xa{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 n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class Ea{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new xa,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.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 Sa(t,e,n){const i=t.previousIndex;if(null===i)return i;let s=0;return n&&i{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._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 n=this._records.get(t);this._maybeAddToChanges(n,e);const i=n._prev,s=n._next;return i&&(i._next=s),s&&(s._prev=i),n._next=null,n._prev=null,n}const n=new Ta(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_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(n=>e(t[n],n))}}class Ta{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 Aa(){return new Pa([new ba])}let Pa=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Aa()),deps:[[t,new On,new kn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=C({token:t,providedIn:"root",factory:Aa}),t})();function Ia(){return new Ra([new ka])}let Ra=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Ia()),deps:[[t,new On,new kn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=C({token:t,providedIn:"root",factory:Ia}),t})();function Da(t,e,n,i,s=!1){for(;null!==n;){const r=e[n.index];if(null!==r&&i.push(Tt(r)),ht(r))for(let t=10;t-1&&(Ni(t,n),un(e,n))}this._attachedToViewContainer=!1}Bi(this._lView[1],this._lView)}onDestroy(t){Ls(this._lView[1],this._lView,null,t)}markForCheck(){Xs(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){tr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Wt(!0);try{tr(t,e,n)}finally{Wt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Ji(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class La extends Ma{constructor(t){super(t),this._view=t}detectChanges(){er(this._view)}checkNoChanges(){!function(t){Wt(!0);try{er(t)}finally{Wt(!1)}}(this._view)}get context(){return null}}const Fa=function(t){return function(t,e,n){if(pt(t)&&!n){const n=Dt(t.index,e);return new Ma(n,n)}return 47&t.type?new Ma(e[16],e):null}(Ht(),jt(),16==(16&t))};let Na=(()=>{class t{}return t.__NG_ELEMENT_ID__=Fa,t})();const Ba=[new ka],Ua=new Pa([new ba]),Za=new Ra(Ba),ja=function(){return za(Ht(),jt())};let qa=(()=>{class t{}return t.__NG_ELEMENT_ID__=ja,t})();const Va=qa,Ha=class extends Va{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=xs(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),ks(e,n,t),new Ma(n)}};function za(t,e){return 4&t.type?new Ha(e,t,ca(t,e)):null}class Ya{}class Ga{}const Ka=function(){return tl(Ht(),jt())};let $a=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ka,t})();const Wa=$a,Qa=class extends Wa{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return ca(this._hostTNode,this._hostLView)}get injector(){return new Je(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ze(this._hostTNode,this._hostLView);if(Ie(t)){const e=De(t,this._hostLView),n=Re(t);return new Je(e[1].data[n+8],e)}return new Je(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Ja(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,s){const r=n||this.parentInjector;if(!s&&null==t.ngModule&&r){const t=r.get(Ya,null);t&&(s=t)}const o=t.create(r,i,void 0,s);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,i=n[1];if(ht(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],i=new Qa(e,e[6],e[3]);i.detach(i.indexOf(t))}}const s=this._adjustIndex(e),r=this._lContainer;!function(t,e,n,i){const s=10+i,r=n.length;i>0&&(n[s-1][4]=e),iSi});class rl extends ra{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(ds).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return il(this.componentDef.inputs)}get outputs(){return il(this.componentDef.outputs)}create(t,e,n,i){const s=(i=i||this.ngModule)?function(t,e){return{get:(n,i,s)=>{const r=t.get(n,el,s);return r!==el||i===el?r:e.get(n,i,s)}}}(t,i.injector):t,r=s.get(pa,Ot),o=s.get(ga,null),a=r.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(kt(t))return t.selectRootElement(e,n===N.ShadowDom);let i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(a,n,this.componentDef.encapsulation):Li(r.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:Si,clean:ir,playerHandler:null,flags:0},d=Ms(0,null,null,1,0,null,null,null,null,null),p=xs(null,d,h,u,null,null,r,a,o,s);let f,m;le(p);try{const t=function(t,e,n,i,s,r){const o=n[1];n[20]=t;const a=Es(o,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(ur(a,l,!0),null!==t&&(ke(s,t,l),null!==a.classes&&es(s,t,a.classes),null!==a.styles&&ts(s,t,a.styles)));const c=i.createRenderer(t,e),u=xs(n,Ds(e),null,e.onPush?64:16,n[20],a,i,c,null,null);return o.firstCreatePass&&(je(Ne(a,n),o,e.type),js(o,a),Vs(a,n.length,1)),Js(n,u),n[20]=u}(c,this.componentDef,p,r,a);if(c)if(n)ke(a,c,["ng-version",ya.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let i=1,s=2;for(;i0&&es(a,c,e.join(" "))}if(m=It(d,20),void 0!==e){const t=m.projection=[];for(let n=0;nt(o,e)),e.contentQueries){const t=Ht();e.contentQueries(1,o,t.directiveStart)}const a=Ht();return!r.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(me(a.index),Us(n[1],a,0,a.directiveStart,a.directiveEnd,e),Zs(e,o)),o}(t,this.componentDef,p,h,[Or]),ks(d,p,null)}finally{pe()}return new ol(this.componentType,f,ca(m,p),p,m)}}class ol extends class{}{constructor(t,e,n,i,s){super(),this.location=n,this._rootLView=i,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new La(i),this.componentType=t}get injector(){return new Je(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const al=new Map;class ll extends Ya{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new nl(this);const n=ct(t),i=t[$]||null;i&&Wo(i),this._bootstrapComponents=Oi(n.bootstrap),this._r3Injector=yr(t,e,[{provide:Ya,useValue:this},{provide:aa,useValue:this.componentFactoryResolver}],d(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=kr.THROW_IF_NOT_FOUND,n=I.Default){return t===kr||t===Ya||t===hr?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class cl extends Ga{constructor(t){super(),this.moduleType=t,null!==ct(t)&&function(t){const e=new Set;!function t(n){const i=ct(n,!0),s=i.id;null!==s&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${d(e)} vs ${d(e.name)}`)}(s,al.get(s),n),al.set(s,n));const r=Oi(i.imports);for(const o of r)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new ll(this.moduleType,t)}}function ul(t,e,n,i){return hl(jt(),Qt(),t,e,n,i)}function hl(t,e,n,i,s,r){const o=e+n;return Br(t,o,s)?function(t,e,n){return t[e]=n}(t,o+1,r?i.call(r,s):i(s)):function(t,e){const n=t[e];return n===ps?void 0:n}(t,o+1)}function dl(t,e){const n=qt();let i;const s=t+20;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}throw new y("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[s]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,i.onDestroy)):i=n.data[s];const r=i.factory||(i.factory=gt(i.type)),o=D(Hr);try{const t=Le(!1),e=r();return Le(t),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(n,jt(),s,e),e}finally{D(o)}}function pl(t,e,n){const i=t+20,s=jt(),r=Rt(s,i);return function(t,e){return Lr.isWrapped(e)&&(e=Lr.unwrap(e),t[Jt()]=ps),e}(s,function(t,e){return t[1].data[e].pure}(s,i)?hl(s,Qt(),e,r.transform,n,r):r.transform(n))}function fl(t){return e=>{setTimeout(t,void 0,e)}}const ml=class extends i.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var i,r,o;let a=t,l=e||(()=>null),c=n;if(t&&"object"==typeof t){const e=t;a=null===(i=e.next)||void 0===i?void 0:i.bind(e),l=null===(r=e.error)||void 0===r?void 0:r.bind(e),c=null===(o=e.complete)||void 0===o?void 0:o.bind(e)}this.__isAsync&&(l=fl(l),a&&(a=fl(a)),c&&(c=fl(c)));const u=super.subscribe({next:a,error:l,complete:c});return t instanceof s.w&&t.add(u),u}};function gl(){return this._results[Mr()]()}class _l{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=Mr(),n=_l.prototype;n[e]||(n[e]=gl)}get changes(){return this._changes||(this._changes=new ml)}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){this.dirty=!1;const n=an(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let i=0;i0)i.push(o[t/2]);else{const s=r[t+1],o=e[-n];for(let t=10;t{class t{constructor(t){this.appInits=t,this.resolve=la,this.reject=la,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{e.subscribe({complete:t,error:n})});t.push(n)}}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(wn(Ml,8))},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();const Fl=new sn("AppId"),Nl={provide:Fl,useFactory:function(){return`${Bl()}${Bl()}${Bl()}`},deps:[]};function Bl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ul=new sn("Platform Initializer"),Zl=new sn("Platform ID"),jl=new sn("appBootstrapListener");let ql=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();const Vl=new sn("LocaleId"),Hl=new sn("DefaultCurrencyCode");class zl{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Yl=function(t){return new cl(t)},Gl=Yl,Kl=function(t){return Promise.resolve(Yl(t))},$l=function(t){const e=Yl(t),n=Oi(ct(t).declarations).reduce((t,e)=>{const n=lt(e);return n&&t.push(new rl(n)),t},[]);return new zl(e,n)},Wl=$l,Ql=function(t){return Promise.resolve($l(t))};let Jl=(()=>{class t{constructor(){this.compileModuleSync=Gl,this.compileModuleAsync=Kl,this.compileModuleAndAllComponentsSync=Wl,this.compileModuleAndAllComponentsAsync=Ql}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();const Xl=(()=>Promise.resolve(0))();function tc(t){"undefined"==typeof Zone?Xl.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class ec{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ml(!1),this.onMicrotaskEmpty=new ml(!1),this.onStable=new ml(!1),this.onError=new ml(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=!n&&e,this.shouldCoalesceRunChangeDetection=n,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=q.requestAnimationFrame,e=q.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(q,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,sc(t),t.isCheckStableRunning=!0,ic(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),sc(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,s,r,o,a)=>{try{return rc(t),n.invokeTask(s,r,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||t.shouldCoalesceRunChangeDetection)&&e(),oc(t)}},onInvoke:(n,i,s,r,o,a,l)=>{try{return rc(t),n.invoke(s,r,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),oc(t)}},onHasTask:(e,n,i,s)=>{e.hasTask(i,s),n===i&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,sc(t),ic(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,i,s)=>(e.handleError(i,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ec.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(ec.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,i){const s=this._inner,r=s.scheduleEventTask("NgZoneEvent: "+i,t,nc,la,la);try{return s.runTask(r,e,n)}finally{s.cancelTask(r)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const nc={};function ic(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function sc(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function rc(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function oc(t){t._nesting--,ic(t)}class ac{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ml,this.onMicrotaskEmpty=new ml,this.onStable=new ml,this.onError=new ml}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,i){return t.apply(e,n)}}let lc=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ec.assertNotInAngularZone(),tc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())tc(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(wn(ec))},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})(),cc=(()=>{class t{constructor(){this._applications=new Map,pc.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return pc.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();class uc{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function hc(t){pc=t}let dc,pc=new uc,fc=!0,mc=!1;function gc(){return mc=!0,fc}function _c(){if(mc)throw new Error("Cannot enable prod mode after platform setup.");fc=!1}const yc=new sn("AllowMultipleToken");class bc{constructor(t,e){this.name=t,this.token=e}}function vc(t,e,n=[]){const i=`Platform: ${e}`,s=new sn(i);return(e=[])=>{let r=wc();if(!r||r.injector.get(yc,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:pr,useValue:"platform"});!function(t){if(dc&&!dc.destroyed&&!dc.injector.get(yc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");dc=t.get(Cc);const e=t.get(Ul,null);e&&e.forEach(t=>t())}(kr.create({providers:t,name:i}))}return function(t){const e=wc();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function wc(){return dc&&!dc.destroyed?dc:null}let Cc=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new ac:("zone.js"===t?void 0:t)||new ec({enableLongStackTrace:gc(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),i=[{provide:ec,useValue:n}];return n.run(()=>{const e=kr.create({providers:i,parent:this.injector,name:t.moduleType.name}),s=t.create(e),r=s.injector.get(Ei,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{r.handleError(t)}});s.onDestroy(()=>{Sc(this._modules,s),t.unsubscribe()})}),function(t,e,n){try{const i=n();return Xr(i)?i.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):i}catch(i){throw e.runOutsideAngular(()=>t.handleError(i)),i}}(r,n,()=>{const t=s.injector.get(Ll);return t.runInitializers(),t.donePromise.then(()=>(Wo(s.injector.get(Vl,"en-US")||"en-US"),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const n=xc({},e);return function(t,e,n){const i=new cl(n);return Promise.resolve(i)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Ec);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${d(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(wn(kr))},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();function xc(t,e){return Array.isArray(e)?e.reduce(xc,t):Object.assign(Object.assign({},t),e)}let Ec=(()=>{class t{constructor(t,e,n,i,s){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const u=new r.y(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),h=new r.y(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{ec.assertNotInAngularZone(),tc(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{ec.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=(0,o.T)(u,h.pipe(t=>{return(0,l.x)()((e=c,function(t){let n;n="function"==typeof e?e:function(){return e};const i=Object.create(t,a.N);return i.source=t,i.subjectFactory=n,i})(t));var e}))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof ra?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(Ya),s=n.create(kr.NULL,[],e||n.selector,i),r=s.location.nativeElement,o=s.injector.get(lc,null),a=o&&s.injector.get(cc);return o&&a&&a.registerApplication(r,o),s.onDestroy(()=>{this.detachView(s.hostView),Sc(this.components,s),a&&a.unregisterApplication(r)}),this._loadComponent(s),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Sc(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(jl,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(wn(ec),wn(kr),wn(Ei),wn(aa),wn(Ll))},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();function Sc(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class kc{}class Oc{}const Tc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Ac=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Tc}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,i]=t.split("#");return void 0===i&&(i="default"),n(8255)(e).then(t=>t[i]).then(t=>Pc(t,e,i)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,i]=t.split("#"),s="NgFactory";return void 0===i&&(i="default",s=""),n(8255)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[i+s]).then(t=>Pc(t,e,i))}}return t.\u0275fac=function(e){return new(e||t)(wn(Jl),wn(Oc,8))},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();function Pc(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const Ic=function(t){return null},Rc=vc(null,"core",[{provide:Zl,useValue:"unknown"},{provide:Cc,deps:[kr]},{provide:cc,deps:[]},{provide:ql,deps:[]}]),Dc=[{provide:Ec,useClass:Ec,deps:[ec,kr,Ei,aa,Ll]},{provide:sl,deps:[ec],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Ll,useClass:Ll,deps:[[new kn,Ml]]},{provide:Jl,useClass:Jl,deps:[]},Nl,{provide:Pa,useFactory:function(){return Ua},deps:[]},{provide:Ra,useFactory:function(){return Za},deps:[]},{provide:Vl,useFactory:function(t){return Wo(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new Sn(Vl),new kn,new On]]},{provide:Hl,useValue:"USD"}];let Mc=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(wn(Ec))},t.\u0275mod=it({type:t}),t.\u0275inj=x({providers:Dc}),t})()},665:function(t,e,n){"use strict";n.d(e,{Zs:function(){return et},sg:function(){return Q},u5:function(){return it},Cf:function(){return h},JU:function(){return u},a5:function(){return S},JL:function(){return k},F:function(){return G},_Y:function(){return K}});var i=n(3018),s=(n(8583),n(7574)),r=n(9796),o=n(8002),a=n(1555),l=n(4402);function c(t,e){return new s.y(n=>{const i=t.length;if(0===i)return void n.complete();const s=new Array(i);let r=0,o=0;for(let a=0;a{u||(u=!0,o++),s[a]=t},error:t=>n.error(t),complete:()=>{r++,r!==i&&u||(o===i&&n.next(e?e.reduce((t,e,n)=>(t[e]=s[n],t),{}):s),n.complete())}}))}})}const u=new i.OlP("NgValueAccessor"),h=new i.OlP("NgValidators"),d=new i.OlP("NgAsyncValidators");function p(t){return null!=t}function f(t){const e=(0,i.QGY)(t)?(0,l.D)(t):t;return(0,i.CqO)(e),e}function m(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function g(t,e){return e.map(e=>e(t))}function _(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function y(t){return null!=t?function(t){if(!t)return null;const e=t.filter(p);return 0==e.length?null:function(t){return m(g(t,e))}}(_(t)):null}function b(t){return null!=t?function(t){if(!t)return null;const e=t.filter(p);return 0==e.length?null:function(t){return function(...t){if(1===t.length){const e=t[0];if((0,r.k)(e))return c(e,null);if((0,a.K)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return c(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return c(t=1===t.length&&(0,r.k)(t[0])?t[0]:t,null).pipe((0,o.U)(t=>e(...t)))}return c(t,null)}(g(t,e).map(f)).pipe((0,o.U)(m))}}(_(t)):null}function v(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function w(t){return t._rawValidators}function C(t){return t._rawAsyncValidators}let x=(()=>{class t{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=y(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=b(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){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}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t}),t})(),E=(()=>{class t extends x{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})();class S extends x{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}let k=(()=>{class t extends class{constructor(t){this._cd=t}is(t){var e,n,i;return"submitted"===t?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(i=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===i?void 0:i[t])}}{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(E,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,e){2&t&&i.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))("ng-submitted",e.is("submitted"))},features:[i.qOj]}),t})();function O(t,e){P(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&R(t,e)})}(t,e),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&R(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function T(t,e,n=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),I(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function A(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function P(t,e){const n=w(t);null!==e.validator?t.setValidators(v(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const i=C(t);null!==e.asyncValidator?t.setAsyncValidators(v(i,e.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const s=()=>t.updateValueAndValidity();A(e._rawValidators,s),A(e._rawAsyncValidators,s)}function I(t,e){let n=!1;if(null!==t){if(null!==e.validator){const i=w(t);if(Array.isArray(i)&&i.length>0){const s=i.filter(t=>t!==e.validator);s.length!==i.length&&(n=!0,t.setValidators(s))}}if(null!==e.asyncValidator){const i=C(t);if(Array.isArray(i)&&i.length>0){const s=i.filter(t=>t!==e.asyncValidator);s.length!==i.length&&(n=!0,t.setAsyncValidators(s))}}}const i=()=>{};return A(e._rawValidators,i),A(e._rawAsyncValidators,i),n}function R(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function D(t,e){P(t,e)}function M(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function L(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function F(t){return(Z(t)?t.validators:t)||null}function N(t){return Array.isArray(t)?y(t):t||null}function B(t,e){return(Z(e)?e.asyncValidators:t)||null}function U(t){return Array.isArray(t)?b(t):t||null}function Z(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class j{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=N(this._rawValidators),this._composedAsyncValidatorFn=U(this._rawAsyncValidators)}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"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}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._rawValidators=t,this._composedValidatorFn=N(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=U(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(t=>{t.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(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status="PENDING",!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="DISABLED",this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||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()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;const e=f(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let i=t;return e.forEach(t=>{i=i instanceof V?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof H&&i.at(t)||null}),i}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.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 i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_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)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Z(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class q extends j{constructor(t=null,e,n){super(F(e),B(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,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){L(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){L(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){this._isBoxedValue(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}}class V extends j{constructor(t,e,n){super(F(e),B(n,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,n={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.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,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof q?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,i)=>{n=e(n,t,i)}),n}_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}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class H extends j{constructor(t,e,n){super(F(e),B(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,n={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof q?t.value:t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_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))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_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)}}const z={provide:E,useExisting:(0,i.Gpc)(()=>G)},Y=(()=>Promise.resolve(null))();let G=(()=>{class t extends E{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new i.vpe,this.form=new V({},y(t),b(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Y.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),O(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Y.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),L(this._directives,t)})}addFormGroup(t){Y.then(()=>{const e=this._findContainer(t.path),n=new V({});D(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Y.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){Y.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,M(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(h,10),i.Y36(d,10))},t.\u0275dir=i.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&i.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([z]),i.qOj]}),t})(),K=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),$=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();const W={provide:E,useExisting:(0,i.Gpc)(()=>Q)};let Q=(()=>{class t extends E{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.vpe,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(I(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return O(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){T(t.control||null,t,!1),L(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,M(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=t.control,n=this.form.get(t.path);e!==n&&(T(e||null,t),n instanceof q&&(O(n,t),t.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);D(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return I(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){P(this.form,this),this._oldForm&&I(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(h,10),i.Y36(d,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&i.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([W]),i.qOj,i.TTD]}),t})();const J={provide:h,useExisting:(0,i.Gpc)(()=>tt),multi:!0},X={provide:h,useExisting:(0,i.Gpc)(()=>et),multi:!0};let tt=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&"false"!=`${t}`,this._onChange&&this._onChange()}validate(t){return this.required?function(t){return null==(e=t.value)||0===e.length?{required:!0}:null;var e}(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("required",e.required?"":null)},inputs:{required:"required"},features:[i._Bn([J])]}),t})(),et=(()=>{class t extends tt{validate(t){return this.required?function(t){return!0===t.value?null:{required:!0}}(t):null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("required",e.required?"":null)},features:[i._Bn([X]),i.qOj]}),t})(),nt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[$]]}),t})(),it=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[nt]}),t})()},1095:function(t,e,n){"use strict";n.d(e,{zs:function(){return p},lW:function(){return d},ot:function(){return f}});var i=n(2458),s=n(6237),r=n(3018),o=n(9238);const a=["mat-button",""],l=["*"],c=".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n",u=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],h=(0,i.pj)((0,i.Id)((0,i.Kr)(class{constructor(t){this._elementRef=t}})));let d=(()=>{class t extends h{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const i of u)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);t.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,e){t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(o.tE),r.Y36(s.Qb,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,e){if(1&t&&r.Gf(i.wG,5),2&t){let t;r.iGM(t=r.CRH())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(r.uIk("disabled",e.disabled||null),r.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[r.qOj],attrs:a,ngContentSelectors:l,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"span",0),r.Hsn(1),r.qZA(),r._UZ(2,"span",1),r._UZ(3,"span",2)),2&t&&(r.xp6(2),r.ekj("mat-button-ripple-round",e.isRoundButton||e.isIconButton),r.Q6J("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[i.wG],styles:[c],encapsulation:2,changeDetection:0}),t})(),p=(()=>{class t extends d{constructor(t,e,n){super(e,t,n)}_haltDisabledEvents(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(o.tE),r.Y36(r.SBq),r.Y36(s.Qb,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(t,e){1&t&&r.NdJ("click",function(t){return e._haltDisabledEvents(t)}),2&t&&(r.uIk("tabindex",e.disabled?-1:e.tabIndex||0)("disabled",e.disabled||null)("aria-disabled",e.disabled.toString()),r.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[r.qOj],attrs:a,ngContentSelectors:l,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"span",0),r.Hsn(1),r.qZA(),r._UZ(2,"span",1),r._UZ(3,"span",2)),2&t&&(r.xp6(2),r.ekj("mat-button-ripple-round",e.isRoundButton||e.isIconButton),r.Q6J("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[i.wG],styles:[c],encapsulation:2,changeDetection:0}),t})(),f=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[i.si,i.BQ],i.BQ]}),t})()},2458:function(t,e,n){"use strict";n.d(e,{rD:function(){return S},K7:function(){return j},HF:function(){return N},BQ:function(){return b},ey:function(){return z},Ng:function(){return K},wG:function(){return D},si:function(){return M},CB:function(){return Y},jH:function(){return G},pj:function(){return w},Kr:function(){return C},Id:function(){return v},FD:function(){return E},sb:function(){return x}});var i=n(3018),s=n(9238),r=n(946);const o=new i.GfV("12.1.0");var a=n(8583),l=n(9490),c=n(9765),u=n(521),h=n(6237),d=n(6461);function p(t,e){if(1&t&&i._UZ(0,"mat-pseudo-checkbox",4),2&t){const t=i.oxw();i.Q6J("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}function f(t,e){if(1&t&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.hij("(",t.group.label,")")}}const m=["*"],g=new i.GfV("12.1.0"),_=new i.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let y,b=(()=>{class t{constructor(t,e,n){this._hasDoneGlobalChecks=!1,this._document=n,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getWindow(){const t=this._document.defaultView||window;return"object"==typeof t&&t?t:null}_checksAreEnabled(){return(0,i.X6Q)()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&g.full!==o.full&&console.warn("The Angular Material version ("+g.full+") does not match the Angular CDK version ("+o.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(s.qm),i.LFG(_,8),i.LFG(a.K0))},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[r.vT],r.vT]}),t})();function v(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,l.Ig)(t)}}}function w(t,e){return class extends t{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),e&&this._elementRef.nativeElement.classList.add(`mat-${e}`),this._color=e)}}}function C(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=(0,l.Ig)(t)}}}function x(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e,this.defaultTabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?(0,l.su)(t):this.defaultTabIndex}}}function E(t){return class extends t{constructor(...t){super(...t),this.stateChanges=new c.xQ,this.errorState=!1}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}try{y="undefined"!=typeof Intl}catch($){y=!1}let S=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();class k{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const O={enterDuration:450,exitDuration:400},T=(0,u.i$)({passive:!0}),A=["mousedown","touchstart"],P=["mouseup","mouseleave","touchend","touchcancel"];class I{constructor(t,e,n,i){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=(0,l.fI)(n))}fadeInRipple(t,e,n={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},O),n.animation);n.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);const r=n.radius||function(t,e,n){const i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),s=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+s*s)}(t,e,i),o=t-i.left,a=e-i.top,l=s.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=o-r+"px",c.style.top=a-r+"px",c.style.height=2*r+"px",c.style.width=2*r+"px",null!=n.color&&(c.style.backgroundColor=n.color),c.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const u=new k(this,c,n);return u.state=0,this._activeRipples.add(u),n.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const t=u===this._mostRecentTransientRipple;u.state=1,n.persistent||t&&this._isPointerDown||u.fadeOut()},l),u}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,i=Object.assign(Object.assign({},O),t.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,n.parentNode.removeChild(n)},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=(0,l.fI)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(A))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(P),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=(0,s.X6)(t),n=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(t=>{this._triggerElement.addEventListener(t,this,T)})})}_removeTriggerEvents(){this._triggerElement&&(A.forEach(t=>{this._triggerElement.removeEventListener(t,this,T)}),this._pointerUpEventsRegistered&&P.forEach(t=>{this._triggerElement.removeEventListener(t,this,T)}))}}const R=new i.OlP("mat-ripple-global-options");let D=(()=>{class t{constructor(t,e,n,i,s){this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new I(this,e,t,n)}get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(u.t4),i.Y36(R,8),i.Y36(h.Qb,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t})(),M=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[b,u.ud],b]}),t})(),L=(()=>{class t{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(h.Qb,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&i.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;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-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),t})(),F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[b]]}),t})();const N=new i.OlP("MAT_OPTION_PARENT_COMPONENT"),B=v(class{});let U=0,Z=(()=>{class t extends B{constructor(t){var e;super(),this._labelId="mat-optgroup-label-"+U++,this._inert=null!==(e=null==t?void 0:t.inertGroups)&&void 0!==e&&e}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(N,8))},t.\u0275dir=i.lG2({type:t,inputs:{label:"label"},features:[i.qOj]}),t})();const j=new i.OlP("MatOptgroup");let q=0;class V{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let H=(()=>{class t{constructor(t,e,n,s){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+q++,this.onSelectionChange=new i.vpe,this._stateChanges=new c.xQ}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(t){this._disabled=(0,l.Ig)(t)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().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(t,e){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){t.keyCode!==d.K5&&t.keyCode!==d.L_||(0,d.Vb)(t)||(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new V(this,t))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(void 0),i.Y36(Z))},t.\u0275dir=i.lG2({type:t,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),z=(()=>{class t extends H{constructor(t,e,n,i){super(t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(N,8),i.Y36(j,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&i.NdJ("click",function(){return e._selectViaInteraction()})("keydown",function(t){return e._handleKeydown(t)}),2&t&&(i.Ikx("id",e.id),i.uIk("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),i.ekj("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[i.qOj],ngContentSelectors:m,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,p,1,2,"mat-pseudo-checkbox",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,f,2,1,"span",2),i._UZ(4,"div",3)),2&t&&(i.Q6J("ngIf",e.multiple),i.xp6(3),i.Q6J("ngIf",e.group&&e.group._inert),i.xp6(1),i.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[a.O5,D,L],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),t})();function Y(t,e,n){if(n.length){let i=e.toArray(),s=n.toArray(),r=0;for(let e=0;en+i?Math.max(0,t-i+e):n}let K=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[M,a.ez,b,F]]}),t})()},2238:function(t,e,n){"use strict";n.d(e,{WI:function(){return O},uw:function(){return R},H8:function(){return N},ZT:function(){return M},xY:function(){return F},Is:function(){return U},so:function(){return S},uh:function(){return L}});var i=n(625),s=n(7636),r=n(3018),o=n(2458),a=n(946),l=n(8583),c=n(9765),u=n(1439),h=n(5917),d=n(5435),p=n(5257),f=n(9761),m=n(521),g=n(7238),_=n(6461),y=n(9238);function b(t,e){}class v{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const w={dialogContainer:(0,g.X$)("dialogContainer",[(0,g.SB)("void, exit",(0,g.oB)({opacity:0,transform:"scale(0.7)"})),(0,g.SB)("enter",(0,g.oB)({transform:"none"})),(0,g.eR)("* => enter",(0,g.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,g.oB)({transform:"none",opacity:1}))),(0,g.eR)("* => void, * => exit",(0,g.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,g.oB)({opacity:0})))])};let C=(()=>{class t extends s.en{constructor(t,e,n,i,s,o){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=n,this._config=s,this._focusMonitor=o,this._animationStateChanged=new r.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=t=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=i}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const e=(0,m.ht)(),n=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==n&&!n.contains(e)||(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,m.ht)())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,e=(0,m.ht)();return t===e||t.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(y.qV),r.Y36(r.sBO),r.Y36(l.K0,8),r.Y36(v),r.Y36(y.tE))},t.\u0275dir=r.lG2({type:t,viewQuery:function(t,e){if(1&t&&r.Gf(s.Pl,7),2&t){let t;r.iGM(t=r.CRH())&&(e._portalOutlet=t.first)}},features:[r.qOj]}),t})(),x=(()=>{class t extends C{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:t,totalTime:e}){"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:e}))}_onAnimationStart({toState:t,totalTime:e}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:e}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&r.WFA("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(r.Ikx("id",e._id),r.uIk("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),r.d8E("@dialogContainer",e._state))},features:[r.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&r.YNc(0,b,0,0,"ng-template",0)},directives:[s.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[w.dialogContainer]}}),t})(),E=0;class S{constructor(t,e,n="mat-dialog-"+E++){this._overlayRef=t,this._containerInstance=e,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new c.xQ,this._afterClosed=new c.xQ,this._beforeClosed=new c.xQ,this._state=0,e._id=n,e._animationStateChanged.pipe((0,d.h)(t=>"opened"===t.state),(0,p.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,d.h)(t=>"closed"===t.state),(0,p.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe((0,d.h)(t=>t.keyCode===_.hY&&!this.disableClose&&!(0,_.Vb)(t))).subscribe(t=>{t.preventDefault(),k(this,"keyboard")}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():k(this,"mouse")})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe((0,d.h)(t=>"closing"===t.state),(0,p.q)(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();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._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function k(t,e,n){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(n)}const O=new r.OlP("MatDialogData"),T=new r.OlP("mat-dialog-default-options"),A=new r.OlP("mat-dialog-scroll-strategy"),P={provide:A,deps:[i.aV],useFactory:function(t){return()=>t.scrollStrategies.block()}};let I=(()=>{class t{constructor(t,e,n,i,s,r,o,a,l){this._overlay=t,this._injector=e,this._defaultOptions=n,this._parentDialog=i,this._overlayContainer=s,this._dialogRefConstructor=o,this._dialogContainerType=a,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new c.xQ,this._afterOpenedAtThisLevel=new c.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,u.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,f.O)(void 0))),this._scrollStrategy=r}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,e){(e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new v)).id&&this.getDialogById(e.id);const n=this._createOverlay(e),i=this._attachDialogContainer(n,e),s=this._attachDialogContent(t,i,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(()=>this._removeOpenDialog(s)),this.afterOpened.next(s),i._initializeWithAttachedContent(),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new i.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const n=r.zs3.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:v,useValue:e}]}),i=new s.C5(this._dialogContainerType,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}_attachDialogContent(t,e,n,i){const o=new this._dialogRefConstructor(n,e,i.id);if(t instanceof r.Rgc)e.attachTemplatePortal(new s.UE(t,null,{$implicit:i.data,dialogRef:o}));else{const n=this._createInjector(i,o,e),r=e.attachComponentPortal(new s.C5(t,i.viewContainerRef,n));o.componentInstance=r.instance}return o.updateSize(i.width,i.height).updatePosition(i.position),o}_createInjector(t,e,n){const i=t&&t.viewContainerRef&&t.viewContainerRef.injector,s=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return!t.direction||i&&i.get(a.Is,null,r.XFs.Optional)||s.push({provide:a.Is,useValue:{value:t.direction,change:(0,h.of)()}}),r.zs3.create({parent:i||this._injector,providers:s})}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let i=e[n];i===t||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.aV),r.Y36(r.zs3),r.Y36(void 0),r.Y36(void 0),r.Y36(i.Xj),r.Y36(void 0),r.Y36(r.DyG),r.Y36(r.DyG),r.Y36(r.OlP))},t.\u0275dir=r.lG2({type:t}),t})(),R=(()=>{class t extends I{constructor(t,e,n,i,s,r,o){super(t,e,i,r,o,s,S,x,O)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.aV),r.LFG(r.zs3),r.LFG(l.Ye,8),r.LFG(T,8),r.LFG(A),r.LFG(t,12),r.LFG(i.Xj))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),D=0,M=(()=>{class t{constructor(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=B(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}_onButtonClick(t){k(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(S,8),r.Y36(r.SBq),r.Y36(R))},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,e){1&t&&r.NdJ("click",function(t){return e._onButtonClick(t)}),2&t&&r.uIk("aria-label",e.ariaLabel||null)("type",e.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[r.TTD]}),t})(),L=(()=>{class t{constructor(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id="mat-dialog-title-"+D++}ngOnInit(){this._dialogRef||(this._dialogRef=B(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(S,8),r.Y36(r.SBq),r.Y36(R))},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&r.Ikx("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t})();function B(t,e){let n=t.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find(t=>t.id===n.id):null}let U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[R,P],imports:[[i.U8,s.eL,o.BQ],o.BQ]}),t})()},8295:function(t,e,n){"use strict";n.d(e,{G_:function(){return G},o2:function(){return Y},KE:function(){return K},Eo:function(){return N},lN:function(){return $},hX:function(){return U},R9:function(){return V}});var i=n(8553),s=n(8583),r=n(3018),o=n(2458),a=n(9490),l=n(9765),c=n(6682),u=n(2759),h=n(9761),d=n(6782),p=n(5257),f=n(7238),m=n(6237),g=n(946),_=n(521);const y=["underline"],b=["connectionContainer"],v=["inputContainer"],w=["label"];function C(t,e){1&t&&(r.ynx(0),r.TgZ(1,"div",14),r._UZ(2,"div",15),r._UZ(3,"div",16),r._UZ(4,"div",17),r.qZA(),r.TgZ(5,"div",18),r._UZ(6,"div",15),r._UZ(7,"div",16),r._UZ(8,"div",17),r.qZA(),r.BQk())}function x(t,e){1&t&&(r.TgZ(0,"div",19),r.Hsn(1,1),r.qZA())}function E(t,e){if(1&t&&(r.ynx(0),r.Hsn(1,2),r.TgZ(2,"span"),r._uU(3),r.qZA(),r.BQk()),2&t){const t=r.oxw(2);r.xp6(3),r.Oqu(t._control.placeholder)}}function S(t,e){1&t&&r.Hsn(0,3,["*ngSwitchCase","true"])}function k(t,e){1&t&&(r.TgZ(0,"span",23),r._uU(1," *"),r.qZA())}function O(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"label",20,21),r.NdJ("cdkObserveContent",function(){return r.CHM(t),r.oxw().updateOutlineGap()}),r.YNc(2,E,4,1,"ng-container",12),r.YNc(3,S,1,0,"ng-content",12),r.YNc(4,k,2,0,"span",22),r.qZA()}if(2&t){const t=r.oxw();r.ekj("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),r.Q6J("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),r.uIk("for",t._control.id)("aria-owns",t._control.id),r.xp6(2),r.Q6J("ngSwitchCase",!1),r.xp6(1),r.Q6J("ngSwitchCase",!0),r.xp6(1),r.Q6J("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function T(t,e){1&t&&(r.TgZ(0,"div",24),r.Hsn(1,4),r.qZA())}function A(t,e){if(1&t&&(r.TgZ(0,"div",25,26),r._UZ(2,"span",27),r.qZA()),2&t){const t=r.oxw();r.xp6(2),r.ekj("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function P(t,e){if(1&t&&(r.TgZ(0,"div"),r.Hsn(1,5),r.qZA()),2&t){const t=r.oxw();r.Q6J("@transitionMessages",t._subscriptAnimationState)}}function I(t,e){if(1&t&&(r.TgZ(0,"div",31),r._uU(1),r.qZA()),2&t){const t=r.oxw(2);r.Q6J("id",t._hintLabelId),r.xp6(1),r.Oqu(t.hintLabel)}}function R(t,e){if(1&t&&(r.TgZ(0,"div",28),r.YNc(1,I,2,2,"div",29),r.Hsn(2,6),r._UZ(3,"div",30),r.Hsn(4,7),r.qZA()),2&t){const t=r.oxw();r.Q6J("@transitionMessages",t._subscriptAnimationState),r.xp6(1),r.Q6J("ngIf",t.hintLabel)}}const D=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],M=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],L=new r.OlP("MatError"),F={transitionMessages:(0,f.X$)("transitionMessages",[(0,f.SB)("enter",(0,f.oB)({opacity:1,transform:"translateY(0%)"})),(0,f.eR)("void => enter",[(0,f.oB)({opacity:0,transform:"translateY(-5px)"}),(0,f.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t}),t})();const B=new r.OlP("MatHint");let U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["mat-label"]]}),t})(),Z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["mat-placeholder"]]}),t})();const j=new r.OlP("MatPrefix"),q=new r.OlP("MatSuffix");let V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","matSuffix",""]],features:[r._Bn([{provide:q,useExisting:t}])]}),t})(),H=0;const z=(0,o.pj)(class{constructor(t){this._elementRef=t}},"primary"),Y=new r.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),G=new r.OlP("MatFormField");let K=(()=>{class t extends z{constructor(t,e,n,i,s,r,o,a){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=i,this._defaults=s,this._platform=r,this._ngZone=o,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new l.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+H++,this._labelId="mat-form-field-label-"+H++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==a,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=(0,a.Ig)(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe((0,h.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe((0,d.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,d.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,c.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,h.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,h.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,d.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,u.R)(this._label.nativeElement,"transitionend").pipe((0,p.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,n=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&t.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,n=0;const i=this._connectionContainerRef.nativeElement,s=i.querySelectorAll(".mat-form-field-outline-start"),r=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const s=i.getBoundingClientRect();if(0===s.width&&0===s.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const r=this._getStartEnd(s),o=t.children,a=this._getStartEnd(o[0].getBoundingClientRect());let l=0;for(let t=0;t0?.75*l+10:0}for(let o=0;o{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[s.ez,o.BQ,i.Q8],o.BQ]}),t})()},9983:function(t,e,n){"use strict";n.d(e,{Nt:function(){return y},c:function(){return b}});var i=n(521),s=n(3018),r=n(9490),o=n(9193),a=n(9765);n(2759),n(628),n(6782),n(8583);const l=(0,i.i$)({passive:!0});let c=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return o.E;const e=(0,r.fI)(t),n=this._monitoredElements.get(e);if(n)return n.subject;const i=new a.xQ,s="cdk-text-field-autofilled",c=t=>{"cdk-text-field-autofill-start"!==t.animationName||e.classList.contains(s)?"cdk-text-field-autofill-end"===t.animationName&&e.classList.contains(s)&&(e.classList.remove(s),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!1}))):(e.classList.add(s),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener("animationstart",c,l),e.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(e,{subject:i,unlisten:()=>{e.removeEventListener("animationstart",c,l)}}),i}stopMonitoring(t){const e=(0,r.fI)(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.t4),s.LFG(s.R0b))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(i.t4),s.LFG(s.R0b))},token:t,providedIn:"root"}),t})(),u=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[i.ud]]}),t})();var h=n(2458),d=n(8295),p=n(665);const f=new s.OlP("MAT_INPUT_VALUE_ACCESSOR"),m=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let g=0;const _=(0,h.FD)(class{constructor(t,e,n,i){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=i}});let y=(()=>{class t extends _{constructor(t,e,n,s,r,o,l,c,u,h){super(o,s,r,n),this._elementRef=t,this._platform=e,this.ngControl=n,this._autofillMonitor=c,this._formField=h,this._uid="mat-input-"+g++,this.focused=!1,this.stateChanges=new a.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>(0,i.qK)().has(t));const d=this._elementRef.nativeElement,p=d.nodeName.toLowerCase();this._inputValueAccessor=l||d,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&u.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{const e=t.target;e.value||0!==e.selectionStart||0!==e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===p,this._isTextarea="textarea"===p,this._isInFormField=!!h,this._isNativeSelect&&(this.controlType=d.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=(0,r.Ig)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=(0,r.Ig)(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&(0,i.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=(0,r.Ig)(t)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var t,e;const n=(null===(e=null===(t=this._formField)||void 0===t?void 0:t._hideControlPlaceholder)||void 0===e?void 0:e.call(t))?null:this.placeholder;if(n!==this._previousPlaceholder){const t=this._elementRef.nativeElement;this._previousPlaceholder=n,n?t.setAttribute("placeholder",n):t.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){m.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(i.t4),s.Y36(p.a5,10),s.Y36(p.F,8),s.Y36(p.sg,8),s.Y36(h.rD),s.Y36(f,10),s.Y36(c),s.Y36(s.R0b),s.Y36(d.G_,8))},t.\u0275dir=s.lG2({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(t,e){1&t&&s.NdJ("focus",function(){return e._focusChanged(!0)})("blur",function(){return e._focusChanged(!1)})("input",function(){return e._onInput()}),2&t&&(s.Ikx("disabled",e.disabled)("required",e.required),s.uIk("id",e.id)("data-placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-invalid",e.empty&&e.required?null:e.errorState)("aria-required",e.required),s.ekj("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[s._Bn([{provide:d.Eo,useExisting:t}]),s.qOj,s.TTD]}),t})(),b=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[h.rD],imports:[[u,d.lN,h.BQ],u,d.lN]}),t})()},7441:function(t,e,n){"use strict";n.d(e,{gD:function(){return H},LD:function(){return z}});var i=n(625),s=n(8583),r=n(3018),o=n(2458),a=n(8295),l=n(9243),c=n(9238),u=n(9490),h=n(8345),d=n(6461),p=n(9765),f=n(1439),m=n(6682),g=n(9761),_=n(3190),y=n(5257),b=n(5435),v=n(8002),w=n(7519),C=n(6782),x=n(7238),E=n(946),S=n(665);const k=["trigger"],O=["panel"];function T(t,e){if(1&t&&(r.TgZ(0,"span",8),r._uU(1),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Oqu(t.placeholder)}}function A(t,e){if(1&t&&(r.TgZ(0,"span",12),r._uU(1),r.qZA()),2&t){const t=r.oxw(2);r.xp6(1),r.Oqu(t.triggerValue)}}function P(t,e){1&t&&r.Hsn(0,0,["*ngSwitchCase","true"])}function I(t,e){if(1&t&&(r.TgZ(0,"span",9),r.YNc(1,A,2,1,"span",10),r.YNc(2,P,1,0,"ng-content",11),r.qZA()),2&t){const t=r.oxw();r.Q6J("ngSwitch",!!t.customTrigger),r.xp6(2),r.Q6J("ngSwitchCase",!0)}}function R(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",13),r.TgZ(1,"div",14,15),r.NdJ("@transformPanel.done",function(e){return r.CHM(t),r.oxw()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return r.CHM(t),r.oxw()._handleKeydown(e)}),r.Hsn(3,1),r.qZA(),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("@transformPanelWrap",void 0),r.xp6(1),r.Gre("mat-select-panel ",t._getPanelTheme(),""),r.Udp("transform-origin",t._transformOrigin)("font-size",t._triggerFontSize,"px"),r.Q6J("ngClass",t.panelClass)("@transformPanel",t.multiple?"showing-multiple":"showing"),r.uIk("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const D=[[["mat-select-trigger"]],"*"],M=["mat-select-trigger","*"],L={transformPanelWrap:(0,x.X$)("transformPanelWrap",[(0,x.eR)("* => void",(0,x.IO)("@transformPanel",[(0,x.pV)()],{optional:!0}))]),transformPanel:(0,x.X$)("transformPanel",[(0,x.SB)("void",(0,x.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,x.SB)("showing",(0,x.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,x.SB)("showing-multiple",(0,x.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,x.eR)("void => *",(0,x.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,x.eR)("* => void",(0,x.jt)("100ms 25ms linear",(0,x.oB)({opacity:0})))])};let F=0;const N=new r.OlP("mat-select-scroll-strategy"),B=new r.OlP("MAT_SELECT_CONFIG"),U={provide:N,deps:[i.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class Z{constructor(t,e){this.source=t,this.value=e}}const j=(0,o.Kr)((0,o.sb)((0,o.Id)((0,o.FD)(class{constructor(t,e,n,i,s){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=s}})))),q=new r.OlP("MatSelectTrigger");let V=(()=>{class t extends j{constructor(t,e,n,i,s,o,a,l,c,u,h,d,w,C){var x,E,S;super(s,i,a,l,u),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=n,this._dir=o,this._parentFormField=c,this.ngControl=u,this._liveAnnouncer=w,this._defaultOptions=C,this._panelOpen=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+F++,this._triggerAriaLabelledBy=null,this._destroy=new p.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+F++,this._panelDoneAnimatingStream=new p.xQ,this._overlayPanelClass=(null===(x=this._defaultOptions)||void 0===x?void 0:x.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(S=null===(E=this._defaultOptions)||void 0===E?void 0:E.disableOptionCentering)&&void 0!==S&&S,this.ariaLabel="",this.optionSelectionChanges=(0,f.P)(()=>{const t=this.options;return t?t.changes.pipe((0,g.O)(t),(0,_.w)(()=>(0,m.T)(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.pipe((0,y.q)(1),(0,_.w)(()=>this.optionSelectionChanges))}),this.openedChange=new r.vpe,this._openedStream=this.openedChange.pipe((0,b.h)(t=>t),(0,v.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,b.h)(t=>!t),(0,v.U)(()=>{})),this.selectionChange=new r.vpe,this.valueChange=new r.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==C?void 0:C.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=C.typeaheadDebounceInterval),this._scrollStrategyFactory=d,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(h)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=(0,u.Ig)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=(0,u.Ig)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=(0,u.Ig)(t)}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){(t!==this._value||this._multiple&&Array.isArray(t))&&(this.options&&this._setSelectionByValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=(0,u.su)(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new h.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,w.x)(),(0,C.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,C.R)(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe((0,g.O)(null),(0,C.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby();if(t!==this._triggerAriaLabelledBy){const e=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?e.setAttribute("aria-labelledby",t):e.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,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 t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,n=e===d.JH||e===d.LH||e===d.oh||e===d.SV,i=e===d.K5||e===d.L_,s=this._keyManager;if(!s.isTyping()&&i&&!(0,d.Vb)(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){const e=this.selected;s.onKeydown(t);const n=this.selected;n&&e!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,n=t.keyCode,i=n===d.JH||n===d.LH,s=e.isTyping();if(i&&t.altKey)t.preventDefault(),this.close();else if(s||n!==d.K5&&n!==d.L_||!e.activeItem||(0,d.Vb)(t))if(!s&&this._multiple&&n===d.A&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const n=e.activeItemIndex;e.onKeydown(t),this._multiple&&i&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==n&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,y.q)(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._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(t=>this._selectValue(t)),this._sortValues();else{const e=this._selectValue(t);e?this._keyManager.updateActiveItem(e):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{if(this._selectionModel.isSelected(e))return!1;try{return null!=e.value&&this._compareWith(e.value,t)}catch(n){return!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new c.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,C.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,C.R)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=(0,m.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,C.R)(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,m.T)(...this.options.map(t=>t._stateChanges)).pipe((0,C.R)(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(t,e){const n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,n)=>this.sortComparator?this.sortComparator(e,n,t):t.indexOf(e)-t.indexOf(n)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(this._getChangeEvent(e)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var t;return!this._panelOpen&&!this.disabled&&(null===(t=this.options)||void 0===t?void 0:t.length)>0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){var t;if(this.ariaLabel)return null;const e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var t;if(this.ariaLabel)return null;const e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();let n=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(l.rL),r.Y36(r.sBO),r.Y36(r.R0b),r.Y36(o.rD),r.Y36(r.SBq),r.Y36(E.Is,8),r.Y36(S.F,8),r.Y36(S.sg,8),r.Y36(a.G_,8),r.Y36(S.a5,10),r.$8M("tabindex"),r.Y36(N),r.Y36(c.Kd),r.Y36(B,8))},t.\u0275dir=r.lG2({type:t,viewQuery:function(t,e){if(1&t&&(r.Gf(k,5),r.Gf(O,5),r.Gf(i.pI,5)),2&t){let t;r.iGM(t=r.CRH())&&(e.trigger=t.first),r.iGM(t=r.CRH())&&(e.panel=t.first),r.iGM(t=r.CRH())&&(e._overlayDir=t.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[r.qOj,r.TTD]}),t})(),H=(()=>{class t extends V{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(t,e,n){const i=this._getItemHeight();return Math.min(Math.max(0,i*t-e+i/2),n)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,C.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,y.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(t){const e=(0,o.CB)(t,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=(0,o.jH)((t+e)*n,n,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(t){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(t)}_getChangeEvent(t){return new Z(this,t)}_calculateOverlayOffsetX(){const t=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),n=this._isRtl(),i=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let t=this._selectionModel.selected[0]||this.options.first;s=t&&t.group?32:16}n||(s*=-1);const r=0-(t.left+s-(n?i:0)),o=t.right+s-e.width+(n?0:i);r>0?s+=r+8:o>0&&(s-=o+8),this._overlayDir.offsetX=Math.round(s),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,n){const i=this._getItemHeight(),s=(i-this._triggerRect.height)/2,r=Math.floor(256/i);let o;return this.disableOptionCentering?0:(o=0===this._scrollTop?t*i:this._scrollTop===n?(t-(this._getItemCount()-r))*i+(i-(this._getItemCount()*i-256)%i):e-i/2,Math.round(-1*o-s))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,s=n.height-this._triggerRect.bottom-8,r=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,256)-r-this._triggerRect.height;o>s?this._adjustPanelUp(o,s):r>i?this._adjustPanelDown(r,i,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,n){const i=Math.round(t-e);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),i=e*t-n;let s;s=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),s+=(0,o.CB)(s,this.options,this.optionGroups);const r=n/2;this._scrollTop=this._calculateOverlayScroll(s,r,i),this._offsetY=this._calculateOverlayOffsetY(s,r,i),this._checkOverlayWithinViewport(i)}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,n){if(1&t&&(r.Suo(n,q,5),r.Suo(n,o.ey,5),r.Suo(n,o.K7,5)),2&t){let t;r.iGM(t=r.CRH())&&(e.customTrigger=t.first),r.iGM(t=r.CRH())&&(e.options=t),r.iGM(t=r.CRH())&&(e.optionGroups=t)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,e){1&t&&r.NdJ("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e._onFocus()})("blur",function(){return e._onBlur()}),2&t&&(r.uIk("id",e.id)("tabindex",e.tabIndex)("aria-controls",e.panelOpen?e.id+"-panel":null)("aria-expanded",e.panelOpen)("aria-label",e.ariaLabel||null)("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),r.ekj("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty)("mat-select-multiple",e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[r._Bn([{provide:a.Eo,useExisting:t},{provide:o.HF,useExisting:t}]),r.qOj],ngContentSelectors:M,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,e){if(1&t&&(r.F$t(D),r.TgZ(0,"div",0,1),r.NdJ("click",function(){return e.toggle()}),r.TgZ(3,"div",2),r.YNc(4,T,2,1,"span",3),r.YNc(5,I,3,2,"span",4),r.qZA(),r.TgZ(6,"div",5),r._UZ(7,"div",6),r.qZA(),r.qZA(),r.YNc(8,R,4,14,"ng-template",7),r.NdJ("backdropClick",function(){return e.close()})("attach",function(){return e._onAttached()})("detach",function(){return e.close()})),2&t){const t=r.MAs(1);r.uIk("aria-owns",e.panelOpen?e.id+"-panel":null),r.xp6(3),r.Q6J("ngSwitch",e.empty),r.uIk("id",e._valueId),r.xp6(1),r.Q6J("ngSwitchCase",!0),r.xp6(1),r.Q6J("ngSwitchCase",!1),r.xp6(3),r.Q6J("cdkConnectedOverlayPanelClass",e._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[i.xu,s.RF,s.n9,i.pI,s.ED,s.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n'],encapsulation:2,data:{animation:[L.transformPanelWrap,L.transformPanel]},changeDetection:0}),t})(),z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[U],imports:[[s.ez,i.U8,o.Ng,o.BQ],l.ZD,a.lN,o.Ng,o.BQ]}),t})()},6237:function(t,e,n){"use strict";n.d(e,{Qb:function(){return _e},PW:function(){return we}});var i=n(3018),s=n(9075),r=n(7238);function o(){return"undefined"!=typeof window&&void 0!==window.document}function a(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function l(t){switch(t.length){case 0:return new r.ZN;case 1:return t[0];default:return new r.ZE(t)}}function c(t,e,n,i,s={},o={}){const a=[],l=[];let c=-1,u=null;if(i.forEach(t=>{const n=t.offset,i=n==c,h=i&&u||{};Object.keys(t).forEach(n=>{let i=n,l=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,a),l){case r.k1:l=s[n];break;case r.l3:l=o[n];break;default:l=e.normalizeStyleValue(n,i,l,a)}h[i]=l}),i||l.push(h),u=h,c=n}),a.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${a.join(t)}`)}return l}function u(t,e,n,i){switch(e){case"start":t.onStart(()=>i(n&&h(n,"start",t)));break;case"done":t.onDone(()=>i(n&&h(n,"done",t)));break;case"destroy":t.onDestroy(()=>i(n&&h(n,"destroy",t)))}}function h(t,e,n){const i=n.totalTime,s=d(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),r=t._data;return null!=r&&(s._data=r),s}function d(t,e,n,i,s="",r=0,o){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:s,totalTime:r,disabled:!!o}}function p(t,e,n){let i;return t instanceof Map?(i=t.get(e),i||t.set(e,i=n)):(i=t[e],i||(i=t[e]=n)),i}function f(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let m=(t,e)=>!1,g=(t,e)=>!1,_=(t,e,n)=>[];const y=a();(y||"undefined"!=typeof Element)&&(m=o()?(t,e)=>{for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:(t,e)=>t.contains(e),g=(()=>{if(y||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):g}})(),_=(t,e,n)=>{let i=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}let k=(()=>{class t{validateStyleProperty(t){return w(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return x(t,e)}query(t,e,n){return E(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,i,s,o=[],a){return new r.ZN(n,i)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class O{}function T(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:A(parseFloat(e[1]),e[2])}function A(t,e){switch(e){case"s":return 1e3*t;default:return t}}function P(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let i,s=0,r="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};i=A(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(s=A(parseFloat(o),n[4]));const a=n[5];a&&(r=a)}else i=t;if(!n){let n=!1,r=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),s<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(r,0,`The provided timing value "${t}" is invalid.`)}return{duration:i,delay:s,easing:r}}(t,e,n)}function I(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function R(t,e,n={}){if(e)for(let i in t)n[i]=t[i];else I(t,n);return n}function D(t,e,n){return n?e+":"+n+";":""}function M(t){let e="";for(let n=0;n{const s=V(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[s]),t.style[s]=e[i]}),a()&&M(t))}function F(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=V(e);t.style[n]=""}),a()&&M(t))}function N(t){return Array.isArray(t)?1==t.length?t[0]:(0,r.vP)(t):t}O.NOOP=new k;const B=new RegExp("{{\\s*(.+?)\\s*}}","g");function U(t){let e=[];if("string"==typeof t){let n;for(;n=B.exec(t);)e.push(n[1]);B.lastIndex=0}return e}function Z(t,e,n){const i=t.toString(),s=i.replace(B,(t,i)=>{let s=e[i];return e.hasOwnProperty(i)||(n.push(`Please provide a value for the animation param ${i}`),s=""),s.toString()});return s==i?t:s}function j(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const q=/-+([a-z0-9])/g;function V(t){return t.replace(q,(...t)=>t[1].toUpperCase())}function H(t,e){return 0===t||0===e}function z(t,e,n){const i=Object.keys(n);if(i.length&&e.length){let r=e[0],o=[];if(i.forEach(t=>{r.hasOwnProperty(t)||o.push(t),r[t]=n[t]}),o.length)for(var s=1;sfunction(t,e,n){if(":"==t[0]){const i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e) *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const s=i[1],r=i[2],o=i[3];e.push(Q(s,o)),"<"!=r[0]||"*"==s&&"*"==o||e.push(Q(o,s))}(t,n,e)):n.push(t),n}const $=new Set(["true","1"]),W=new Set(["false","0"]);function Q(t,e){const n=$.has(t)||W.has(t),i=$.has(e)||W.has(e);return(s,r)=>{let o="*"==t||t==s,a="*"==e||e==r;return!o&&n&&"boolean"==typeof s&&(o=s?$.has(t):W.has(t)),!a&&i&&"boolean"==typeof r&&(a=r?$.has(e):W.has(e)),o&&a}}const J=new RegExp("s*:selfs*,?","g");function X(t,e,n){return new tt(t).build(e,n)}class tt{constructor(t){this._driver=t}build(t,e){const n=new et(e);return this._resetContextStyleTimingState(n),Y(this,N(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const s=[],r=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,s.push(this.visitState(n,e))}),n.name=i}else if(1==t.type){const s=this.visitTransition(t,e);n+=s.queryCount,i+=s.depCount,r.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:s,transitions:r,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const s=new Set,r=i||{};if(n.styles.forEach(t=>{if(nt(t)){const e=t;Object.keys(e).forEach(t=>{U(e[t]).forEach(t=>{r.hasOwnProperty(t)||s.add(t)})})}}),s.size){const n=j(s.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=Y(this,N(t.animation),e);return{type:1,matchers:K(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:it(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>Y(this,t,e)),options:it(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const s=t.steps.map(t=>{e.currentTime=n;const s=Y(this,t,e);return i=Math.max(i,e.currentTime),s});return e.currentTime=i,{type:3,steps:s,options:it(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return st(P(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=st(0,0,"");return t.dynamic=!0,t.strValue=i,t}return n=n||P(i,e),st(n.duration,n.delay,n.easing)}(t.timings,e.errors);let i;e.currentAnimateTimings=n;let s=t.styles?t.styles:(0,r.oB)({});if(5==s.type)i=this.visitKeyframes(s,e);else{let s=t.styles,o=!1;if(!s){o=!0;const t={};n.easing&&(t.easing=n.easing),s=(0,r.oB)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(s,e);a.isEmptyStep=o,i=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==r.l3?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let i=!1,s=null;return n.forEach(t=>{if(nt(t)){const e=t,n=e.easing;if(n&&(s=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:s,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,s=e.currentTime;n&&s>0&&(s-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const r=e.collectedStyles[e.currentQuerySelector],o=r[n];let a=!0;o&&(s!=i&&s>=o.startTime&&i<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${i}ms"`),a=!1),s=o.startTime),a&&(r[n]={startTime:s,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},s=U(t);s.length&&s.forEach(t=>{i.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const s=[];let r=!1,o=!1,a=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(nt(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(nt(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),o=o||c<0||c>1,r=r||c0&&i{const r=u>0?i==h?1:u*i:s[i],o=r*f;e.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=r,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:Y(this,N(t.animation),e),options:it(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:it(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:it(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[s,r]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(J,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,".ng-animating"),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+s:s,p(e.collectedStyles,e.currentQuerySelector,{});const o=Y(this,N(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:s,limit:i.limit||0,optional:!!i.optional,includeSelf:r,animation:o,originalSelector:t.selector,options:it(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:P(t.timings,e.errors,!0);return{type:12,animation:Y(this,N(t.animation),e),timings:n,options:null}}}class et{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={},this.options=null}}function nt(t){return!Array.isArray(t)&&"object"==typeof t}function it(t){var e;return t?(t=I(t)).params&&(t.params=(e=t.params)?I(e):null):t={},t}function st(t,e,n){return{duration:t,delay:e,easing:n}}function rt(t,e,n,i,s,r,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:s,delay:r,totalTime:s+r,easing:o,subTimeline:a}}class ot{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const at=new RegExp(":enter","g"),lt=new RegExp(":leave","g");function ct(t,e,n,i,s,r={},o={},a,l,c=[]){return(new ut).buildKeyframes(t,e,n,i,s,r,o,a,l,c)}class ut{buildKeyframes(t,e,n,i,s,r,o,a,l,c=[]){l=l||new ot;const u=new dt(t,e,l,i,s,c,[]);u.options=a,u.currentTimeline.setStyles([r],null,u.errors,a),Y(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[rt(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const i=e.createSubContext(t.options),s=e.currentTimeline.currentTime,r=this._visitSubInstructions(n,i,i.options);s!=r&&e.transformIntoNewTimeline(r)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const s=null!=n.duration?T(n.duration):null,r=null!=n.delay?T(n.delay):null;return 0!==s&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,s,r);i=Math.max(i,n.duration+n.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),Y(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const s=t.options;if(s&&(s.params||s.delay)&&(i=e.createSubContext(s),i.transformIntoNewTimeline(),null!=s.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ht);const t=T(s.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>Y(this,t,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?T(t.options.delay):0;t.steps.forEach(r=>{const o=e.createSubContext(t.options);s&&o.delayNextStep(s),Y(this,r,o),i=Math.max(i,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return P(e.params?Z(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(n.duration),this.visitStyle(s,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const s=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(s):n.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,s=n.duration,r=e.createSubContext().currentTimeline;r.easing=n.easing,t.styles.forEach(t=>{r.forwardTime((t.offset||0)*s),r.setStyles(t.styles,t.easing,e.errors,e.options),r.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(r),e.transformIntoNewTimeline(i+s),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},s=i.delay?T(i.delay):0;s&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ht);let r=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,i)=>{e.currentQueryIndex=i;const o=e.createSubContext(t.options,n);s&&o.delayNextStep(s),n===e.element&&(a=o.currentTimeline),Y(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,i=e.currentTimeline,s=t.timings,r=Math.abs(s.duration),o=r*(e.currentQueryTotal-1);let a=r*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;Y(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const ht={};class dt{constructor(t,e,n,i,s,r,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=s,this.errors=r,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ht,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new pt(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=T(n.duration)),null!=n.delay&&(i.delay=T(n.delay));const s=n.params;if(s){let t=i.params;t||(t=this.options.params={}),Object.keys(s).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=Z(s[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const i=e||this.element,s=new dt(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=ht,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},s=new ft(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(s),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,s,r){let o=[];if(i&&o.push(this.element),t.length>0){t=(t=t.replace(at,"."+this._enterClassName)).replace(lt,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return s||0!=o.length||r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class pt{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new pt(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=Object.create(this._backFill,{}),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[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||r.l3,this._currentKeyframe[t]=r.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const s=i&&i.params||{},o=function(t,e){const n={};let i;return t.forEach(t=>{"*"===t?(i=i||Object.keys(e),i.forEach(t=>{n[t]=r.l3})):R(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=Z(o[t],s,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:r.l3),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[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){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],i=t._styleSummary[e];(!n||i.time>n.time)&&this._updateStyle(e,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((s,o)=>{const a=R(s,!0);Object.keys(a).forEach(n=>{const i=a[n];i==r.k1?t.add(n):i==r.l3&&e.add(n)}),n||(a.offset=o/this.duration),i.push(a)});const s=t.size?j(t.values()):[],o=e.size?j(e.values()):[];if(n){const t=i[0],e=I(t);t.offset=0,e.offset=1,i=[t,e]}return rt(this.element,i,s,o,this.duration,this.startTime,this.easing,!1)}}class ft extends pt{constructor(t,e,n,i,s,r,o=!1){super(t,e,r.delay),this.element=e,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=s,this._stretchStartingKeyframe=o,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],r=n+e,o=e/r,a=R(t[0],!1);a.offset=0,s.push(a);const l=R(t[0],!1);l.offset=mt(o),s.push(l);const c=t.length-1;for(let i=1;i<=c;i++){let o=R(t[i],!1);o.offset=mt((e+o.offset*n)/r),s.push(o)}n=r,e=0,i="",t=s}return rt(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function mt(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class gt{}class _t extends gt{normalizePropertyName(t,e){return V(t)}normalizeStyleValue(t,e,n,i){let s="";const r=n.toString().trim();if(yt[e]&&0!==n&&"0"!==n)if("number"==typeof n)s="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&i.push(`Please provide a CSS unit value for ${t}:${n}`)}return r+s}}const yt=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function bt(t,e,n,i,s,r,o,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:s,fromState:n,fromStyles:r,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const vt={};class wt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,s){return t.some(t=>t(e,n,i,s))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){const i=this._stateStyles["*"],s=this._stateStyles[t],r=i?i.buildStyles(e,n):{};return s?s.buildStyles(e,n):r}build(t,e,n,i,s,r,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||vt,d=this.buildStyles(n,o&&o.params||vt,u),f=a&&a.params||vt,m=this.buildStyles(i,f,u),g=new Set,_=new Map,y=new Map,b="void"===i,v={params:Object.assign(Object.assign({},h),f)},w=c?[]:ct(t,e,this.ast.animation,s,r,d,m,v,l,u);let C=0;if(w.forEach(t=>{C=Math.max(t.duration+t.delay,C)}),u.length)return bt(e,this._triggerName,n,i,b,d,m,[],[],_,y,C,u);w.forEach(t=>{const n=t.element,i=p(_,n,{});t.preStyleProps.forEach(t=>i[t]=!0);const s=p(y,n,{});t.postStyleProps.forEach(t=>s[t]=!0),n!==e&&g.add(n)});const x=j(g.values());return bt(e,this._triggerName,n,i,b,d,m,w,x,_,y,C)}}class Ct{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},i=I(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const s=t;Object.keys(s).forEach(t=>{let r=s[t];r.length>1&&(r=Z(r,i,e)),n[t]=r})}}),n}}class xt{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new Ct(t.style,t.options&&t.options.params||{})}),Et(this.states,"true","1"),Et(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new wt(t,e,this.states))}),this.fallbackTransition=new wt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find(s=>s.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Et(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const St=new ot;class kt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],i=X(this._driver,e,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[t]=i}_buildPlayer(t,e,n){const i=t.element,s=c(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],s=this._animations[t];let o;const a=new Map;if(s?(o=ct(this._driver,e,s,"ng-enter","ng-leave",{},{},n,St,i),o.forEach(t=>{const e=p(a,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error(`Unable to create the animation due to the following errors: ${i.join("\n")}`);a.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,r.l3)})});const c=l(o.map(t=>{const e=a.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=c,c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,n,i){const s=d(e,"","","");return u(this._getPlayer(t),n,s,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n)return void this.create(t,e,i[0]||{});const s=this._getPlayer(t);switch(n){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const Ot=[],Tt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},At={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Pt{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(i=n?t.value:t)?i:null,n){const e=I(t);delete e.value,this.options=e}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const It=new Pt("void");class Rt{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Ut(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(s=n)&&"done"!=s)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var s;const r=p(this._elementListeners,t,[]),o={name:e,phase:n,callback:i};r.push(o);const a=p(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Ut(t,"ng-trigger"),Ut(t,"ng-trigger-"+e),a[e]=It),()=>{this._engine.afterFlush(()=>{const t=r.indexOf(o);t>=0&&r.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,i=!0){const s=this._getTrigger(e),r=new Mt(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Ut(t,"ng-trigger"),Ut(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const l=new Pt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[e]=l,a||(a=It),"void"!==l.value&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let s=0;s{F(t,n),L(t,i)})}return}const c=p(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=s.matchTransition(a.value,l.value,t,l.params),h=!1;if(!u){if(!i)return;u=s.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:r,isFallbackTransition:h}),h||(Ut(t,"ng-animate-queued"),r.onStart(()=>{Zt(t,"ng-animate-queued")})),r.onDone(()=>{let e=this.players.indexOf(r);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(r);t>=0&&n.splice(t,1)}}),this.players.push(r),c.push(r),r}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,".ng-trigger",!0);n.forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,i){const s=this._engine.statesByElement.get(t);if(s){const r=[];if(Object.keys(s).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,"void",i);n&&r.push(n)}}),r.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&l(r).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),n=this._engine.statesByElement.get(t);if(e&&n){const i=new Set;e.forEach(e=>{const s=e.name;if(i.has(s))return;i.add(s);const r=this._triggers[s].fallbackTransition,o=n[s]||It,a=new Pt("void"),l=new Mt(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:r,fromState:o,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t.__ng_removed;i&&i!==Tt||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Ut(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const s=n.element,r=this._elementListeners.get(s);r&&r.forEach(e=>{if(e.name==n.triggerName){const i=d(s,n.triggerName,n.fromState.value,n.toState.value);i._data=t,u(n.player,e.phase,i,e.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class Dt{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,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=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new Rt(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let s=n;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let i=0;i=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Ut(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Zt(t,"ng-animate-disabled"))}removeNode(t,e,n,i){if(Lt(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,n,i){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,s){return Lt(e)?this._fetchNamespace(t).listen(e,n,i,s):()=>{}}_buildInstruction(t,e,n,i,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,".ng-trigger",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,".ng-animating",!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return l(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=Tt,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?l(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const n=new ot,i=[],s=new Map,o=[],a=new Map,c=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(t=>{h.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n{const n="ng-enter"+_++;g.set(e,n),t.forEach(t=>Ut(t,n))});const y=[],b=new Set,v=new Set;for(let r=0;rb.add(t)):v.add(t))}const w=new Map,C=Bt(f,Array.from(b));C.forEach((t,e)=>{const n="ng-leave"+_++;w.set(e,n),t.forEach(t=>Ut(t,n))}),t.push(()=>{m.forEach((t,e)=>{const n=g.get(e);t.forEach(t=>Zt(t,n))}),C.forEach((t,e)=>{const n=w.get(e);t.forEach(t=>Zt(t,n))}),y.forEach(t=>{this.processLeaveNode(t)})});const x=[],E=[];for(let r=this._namespaceList.length-1;r>=0;r--)this._namespaceList[r].drainQueuedTransitions(e).forEach(t=>{const e=t.player,s=t.element;if(x.push(e),this.collectedEnterElements.length){const t=s.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const r=!d||!this.driver.containsElement(d,s),l=w.get(s),h=g.get(s),f=this._buildInstruction(t,n,h,l,r);if(f.errors&&f.errors.length)E.push(f);else{if(r)return e.onStart(()=>F(s,f.fromStyles)),e.onDestroy(()=>L(s,f.toStyles)),void i.push(e);if(t.isFallbackTransition)return e.onStart(()=>F(s,f.fromStyles)),e.onDestroy(()=>L(s,f.toStyles)),void i.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(s,f.timelines),o.push({instruction:f,player:e,element:s}),f.queriedElements.forEach(t=>p(a,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=c.get(e);t||c.set(e,t=new Set),n.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let i=u.get(e);i||u.set(e,i=new Set),n.forEach(t=>i.add(t))})}});if(E.length){const t=[];E.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),x.forEach(t=>t.destroy()),this.reportError(t)}const S=new Map,k=new Map;o.forEach(t=>{const e=t.element;n.has(e)&&(k.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,S))}),i.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{p(S,e,[]).push(t),t.destroy()})});const O=y.filter(t=>Vt(t,c,u)),T=new Map;Nt(T,this.driver,v,u,r.l3).forEach(t=>{Vt(t,c,u)&&O.push(t)});const A=new Map;m.forEach((t,e)=>{Nt(A,this.driver,new Set(t),c,r.k1)}),O.forEach(t=>{const e=T.get(t),n=A.get(t);T.set(t,Object.assign(Object.assign({},e),n))});const P=[],I=[],R={};o.forEach(t=>{const{element:e,player:r,instruction:o}=t;if(n.has(e)){if(h.has(e))return r.onDestroy(()=>L(e,o.toStyles)),r.disabled=!0,r.overrideTotalTime(o.totalTime),void i.push(r);let t=R;if(k.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=k.get(n);if(e){t=e;break}i.push(n)}i.forEach(e=>k.set(e,t))}const n=this._buildAnimation(r.namespaceId,o,S,s,A,T);if(r.setRealPlayer(n),t===R)P.push(r);else{const e=this.playersByElement.get(t);e&&e.length&&(r.parentPlayer=l(e)),i.push(r)}}else F(e,o.fromStyles),r.onDestroy(()=>L(e,o.toStyles)),I.push(r),h.has(e)&&i.push(r)}),I.forEach(t=>{const e=s.get(t.element);if(e&&e.length){const n=l(e);t.setRealPlayer(n)}}),i.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let r=0;r!t.destroyed);i.length?jt(this,t,i):this.processLeaveNode(t)}return y.length=0,P.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),P}elementContainsData(t,e){let n=!1;const i=e.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,s){let r=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(r=e)}else{const e=this.playersByElement.get(t);if(e){const t=!s||"void"==s;e.forEach(e=>{e.queued||(t||e.triggerName==i)&&r.push(e)})}}return(n||i)&&(r=r.filter(t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName))),r}_beforeAnimationBuild(t,e,n){const i=e.element,s=e.isRemovalTransition?void 0:t,r=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==i,l=p(n,t,[]);this._getPreviousPlayers(t,a,s,r,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}F(i,e.fromStyles)}_buildAnimation(t,e,n,i,s,o){const a=e.triggerName,u=e.element,h=[],d=new Set,f=new Set,m=e.timelines.map(e=>{const l=e.element;d.add(l);const p=l.__ng_removed;if(p&&p.removedBeforeQueried)return new r.ZN(e.duration,e.delay);const m=l!==u,g=function(t){const e=[];return qt(t,e),e}((n.get(l)||Ot).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===l),_=s.get(l),y=o.get(l),b=c(0,this._normalizer,0,e.keyframes,_,y),v=this._buildPlayer(e,b,g);if(e.subTimeline&&i&&f.add(l),m){const e=new Mt(t,a,l);e.setRealPlayer(v),h.push(e)}return v});h.forEach(t=>{p(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e),i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e],i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&delete t[e]}return i}(this.playersByQueriedElement,t.element,t))}),d.forEach(t=>Ut(t,"ng-animating"));const g=l(m);return g.onDestroy(()=>{d.forEach(t=>Zt(t,"ng-animating")),L(u,e.toStyles)}),f.forEach(t=>{p(i,t,[]).push(g)}),g}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new r.ZN(t.duration,t.delay)}}class Mt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new r.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>u(t,e,void 0,n))}),this._queuedCallbacks={},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){p(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 Lt(t){return t&&1===t.nodeType}function Ft(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Nt(t,e,n,i,s){const r=[];n.forEach(t=>r.push(Ft(t)));const o=[];i.forEach((n,i)=>{const r={};n.forEach(t=>{const n=r[t]=e.computeStyle(i,t,s);n&&0!=n.length||(i.__ng_removed=At,o.push(i))}),t.set(i,r)});let a=0;return n.forEach(t=>Ft(t,r[a++])),o}function Bt(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const i=new Set(e),s=new Map;function r(t){if(!t)return 1;let e=s.get(t);if(e)return e;const o=t.parentNode;return e=n.has(o)?o:i.has(o)?1:r(o),s.set(t,e),e}return e.forEach(t=>{const e=r(t);1!==e&&n.get(e).push(t)}),n}function Ut(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Zt(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function jt(t,e,n){l(n).onDone(()=>t.processLeaveNode(e))}function qt(t,e){for(let n=0;ns.add(t)):e.set(t,i),n.delete(t),!0}class Ht{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Dt(t,e,n),this._timelineEngine=new kt(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,s){const r=t+"-"+i;let o=this._triggerCache[r];if(!o){const t=[],e=X(this._driver,s,t);if(t.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new xt(t,e)}(i,e),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(e,i,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,s]=f(n);this._timelineEngine.command(t,e,s,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,s){if("@"==n.charAt(0)){const[t,i]=f(n);return this._timelineEngine.listen(t,e,i,s)}return this._transitionEngine.listen(t,e,n,i,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function zt(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=Gt(e[0]),e.length>1&&(i=Gt(e[e.length-1]))):e&&(n=Gt(e)),n||i?new Yt(t,n,i):null}class Yt{constructor(t,e,n){this._element=t,this._startStyles=e,this._endStyles=n,this._state=0;let i=Yt.initialStylesByElement.get(t);i||Yt.initialStylesByElement.set(t,i={}),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&L(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(L(this._element,this._initialStyles),this._endStyles&&(L(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Yt.initialStylesByElement.delete(this._element),this._startStyles&&(F(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(F(this._element,this._endStyles),this._endStyles=null),L(this._element,this._initialStyles),this._state=3)}}function Gt(t){let e=null;const n=Object.keys(t);for(let i=0;ithis._handleCallback(t)}apply(){!function(t,e){const n=ee(t,"").trim();n.length&&(function(t,e){let n=0;for(let i=0;i=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Xt(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=ee(t,"").split(","),i=Jt(n,e);i>=0&&(n.splice(i,1),te(t,"",n.join(",")))}(this._element,this._name))}}function Wt(t,e,n){te(t,"PlayState",n,Qt(t,e))}function Qt(t,e){const n=ee(t,"");return n.indexOf(",")>0?Jt(n.split(","),e):Jt([n],e)}function Jt(t,e){for(let n=0;n=0)return n;return-1}function Xt(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function te(t,e,n,i){const s="animation"+e;if(null!=i){const e=t.style[s];if(e.length){const t=e.split(",");t[i]=n,n=t.join(",")}}t.style[s]=n}function ee(t,e){return t.style["animation"+e]||""}class ne{constructor(t,e,n,i,s,r,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=s,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=r||"linear",this.totalTime=i+s,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new $t(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:G(this.element,n))})}this.currentSnapshot=t}}class ie extends r.ZN{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=S(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class se{constructor(){this._count=0}validateStyleProperty(t){return w(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return x(t,e)}query(t,e,n){return E(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>S(t));let i=`@keyframes ${e} {\n`,s="";n.forEach(t=>{s=" ";const e=parseFloat(t.offset);i+=`${s}${100*e}% {\n`,s+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=`${s}animation-timing-function: ${n};\n`));default:return void(i+=`${s}${e}: ${n};\n`)}}),i+=`${s}}\n`}),i+="}\n";const r=document.createElement("style");return r.textContent=i,r}animate(t,e,n,i,s,r=[],o){const a=r.filter(t=>t instanceof ne),l={};H(n,i)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=z(t,e,l));if(0==n)return new ie(t,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,u,e);(function(t){var e;const n=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(t).appendChild(h);const d=zt(t,e),p=new ne(t,e,u,n,i,s,c,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}}class re{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.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]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(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}_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={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:G(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class oe{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ae().toString()),this._cssKeyframesDriver=new se}validateStyleProperty(t){return w(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return x(t,e)}query(t,e,n){return E(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,i,s,r=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,s,r);const a={duration:n,delay:i,fill:0==i?"both":"forwards"};s&&(a.easing=s);const l={},c=r.filter(t=>t instanceof re);H(n,i)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=zt(t,e=z(t,e=e.map(t=>R(t,!1)),l));return new re(t,e,a,u)}}function ae(){return o()&&Element.prototype.animate||{}}var le=n(8583);let ce=(()=>{class t extends r._j{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?(0,r.vP)(t):t;return de(this._renderer,null,e,"register",[n]),new ue(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.FYo),i.LFG(le.K0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class ue extends r.LC{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new he(this._id,t,e||{},this._renderer)}}class he{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return de(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(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function de(t,e,n,i,s){return t.setProperty(e,`@@${n}:${i}`,s)}let pe=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new fe("",n,this.engine),this._rendererCache.set(n,t)),t}const i=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const r=e=>{Array.isArray(e)?e.forEach(r):this.engine.registerTrigger(i,s,t,e.name,e)};return e.data.animation.forEach(r),new me(this,s,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&te(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.FYo),i.LFG(Ht),i.LFG(i.R0b))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class fe{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}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,n,i=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}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,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class me extends fe{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if("@"==e.charAt(0)){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let s=e.substr(1),r="";return"@"!=s.charAt(0)&&([s,r]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,i,s,r,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let ge=(()=>{class t extends Ht{constructor(t,e,n){super(t.body,e,n)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(le.K0),i.LFG(O),i.LFG(gt))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const _e=new i.OlP("AnimationModuleType"),ye=[{provide:r._j,useClass:ce},{provide:gt,useFactory:function(){return new _t}},{provide:Ht,useClass:ge},{provide:i.FYo,useFactory:function(t,e,n){return new pe(t,e,n)},deps:[s.se,Ht,i.R0b]}],be=[{provide:O,useFactory:function(){return"function"==typeof ae()?new oe:new se}},{provide:_e,useValue:"BrowserAnimations"},...ye],ve=[{provide:O,useClass:k},{provide:_e,useValue:"NoopAnimations"},...ye];let we=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?ve:be}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:be,imports:[s.b2]}),t})()},9075:function(t,e,n){"use strict";n.d(e,{b2:function(){return B},H7:function(){return D},q6:function(){return F},se:function(){return x}});var i=n(8583),s=n(3018);class r extends i.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class o extends r{static makeCurrent(){(0,i.HT)(new o)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}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=(l=l||document.querySelector("base"),l?l.getAttribute("href"):null);return null==e?null:function(t){a=a||document.createElement("a"),a.setAttribute("href",t);const e=a.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return(0,i.Mx)(document.cookie,t)}}let a,l=null;const c=new s.OlP("TRANSITION_ID"),u=[{provide:s.ip1,useFactory:function(t,e,n){return()=>{n.get(s.CZH).donePromise.then(()=>{const n=(0,i.q)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[c,i.K0,s.zs3],multi:!0}];class h{static init(){(0,s.VLi)(new h)}addToWindow(t){s.dqk.getAngularTestability=(e,n=!0)=>{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},s.dqk.getAllAngularTestabilities=()=>t.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>t.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push(t=>{const e=s.dqk.getAllAngularTestabilities();let n=e.length,i=!1;const r=function(e){i=i||e,n--,0==n&&t(i)};e.forEach(function(t){t.whenStable(r)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const s=t.getTestability(e);return null!=s?s:n?(0,i.q)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let d=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const p=new s.OlP("EventManagerPlugins");let f=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let i=0;i{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),_=(()=>{class t extends g{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,n){t.forEach(t=>{const i=this._doc.createElement("style");i.textContent=t,n.push(e.appendChild(i))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(y),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,n)=>{this._addStylesToHost(t,n,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(y))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function y(t){(0,i.q)().remove(t)}const b={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/"},v=/%COMP%/g;function w(t,e,n){for(let i=0;i{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let x=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new E(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case s.ifc.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new S(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case s.ifc.ShadowDom:return new k(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=w(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(f),s.LFG(_),s.LFG(s.AFp))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class E{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(b[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,i){if(i){e=i+":"+e;const s=b[i];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=b[n];i?t.removeAttributeNS(i,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,i){i&(s.JOm.DashCase|s.JOm.Important)?t.style.setProperty(e,n,i&s.JOm.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&s.JOm.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,C(n)):this.eventManager.addEventListener(t,e,C(n))}}class S extends E{constructor(t,e,n,i){super(t),this.component=n;const s=w(i+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(v,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(v,i+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class k extends E{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=w(i.id,i.styles,[]);for(let r=0;r{class t extends m{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const T=["alt","control","meta","shift"],A={"\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"},P={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},I={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let R=(()=>{class t extends m{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,s){const r=t.parseEventName(n),o=t.eventCallback(r.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.q)().onAndCancel(e,r.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const s=t._normalizeKey(n.pop());let r="";if(T.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),r+=t+".")}),r+=s,0!=n.length||0===s.length)return null;const o={};return o.domEventName=i,o.fullKey=r,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&P.hasOwnProperty(e)&&(e=P[e]))}return A[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),T.forEach(i=>{i!=n&&(0,I[i])(t)&&(e+=i+".")}),e+=n,e}static eventCallback(e,n,i){return s=>{t.getEventFullKey(s)===e&&i.runGuarded(()=>n(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),D=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:function(){return(0,s.LFG)(L)},token:t,providedIn:"root"}),t})();function M(t){return new L(t.get(i.K0))}let L=(()=>{class t extends D{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case s.q3G.NONE:return e;case s.q3G.HTML:return(0,s.qzn)(e,"HTML")?(0,s.z3N)(e):(0,s.EiD)(this._doc,String(e)).toString();case s.q3G.STYLE:return(0,s.qzn)(e,"Style")?(0,s.z3N)(e):e;case s.q3G.SCRIPT:if((0,s.qzn)(e,"Script"))return(0,s.z3N)(e);throw new Error("unsafe value used in a script context");case s.q3G.URL:return(0,s.yhl)(e),(0,s.qzn)(e,"URL")?(0,s.z3N)(e):(0,s.mCW)(String(e));case s.q3G.RESOURCE_URL:if((0,s.qzn)(e,"ResourceURL"))return(0,s.z3N)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return(0,s.JVY)(t)}bypassSecurityTrustStyle(t){return(0,s.L6k)(t)}bypassSecurityTrustScript(t){return(0,s.eBb)(t)}bypassSecurityTrustUrl(t){return(0,s.LAX)(t)}bypassSecurityTrustResourceUrl(t){return(0,s.pB0)(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=(0,s.Yz7)({factory:function(){return M((0,s.LFG)(s.gxx))},token:t,providedIn:"root"}),t})();const F=(0,s.eFA)(s._c5,"browser",[{provide:s.Lbi,useValue:i.bD},{provide:s.g9A,useValue:function(){o.makeCurrent(),h.init()},multi:!0},{provide:i.K0,useFactory:function(){return(0,s.RDi)(document),document},deps:[]}]),N=[[],{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function(){return new s.qLn},deps:[]},{provide:p,useClass:O,multi:!0,deps:[i.K0,s.R0b,s.Lbi]},{provide:p,useClass:R,multi:!0,deps:[i.K0]},[],{provide:x,useClass:x,deps:[f,_,s.AFp]},{provide:s.FYo,useExisting:x},{provide:g,useExisting:_},{provide:_,useClass:_,deps:[i.K0]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b]},{provide:f,useClass:f,deps:[p,s.R0b]},{provide:i.JF,useClass:d,deps:[]},[]];let B=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:s.AFp,useValue:e.appId},{provide:c,useExisting:s.AFp},u]}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(t,12))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:N,imports:[i.ez,s.hGG]}),t})();"undefined"!=typeof window&&window},8741:function(t,e,n){"use strict";n.d(e,{gz:function(){return ne},F0:function(){return Sn},rH:function(){return kn},yS:function(){return On},Bz:function(){return Un},lC:function(){return An}});var i=n(8583),s=n(3018);const r=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();var o=n(4402),a=n(5917),l=n(6215),c=n(739),u=n(7574),h=n(8071),d=n(1439),p=n(9193),f=n(2441),m=n(9765),g=n(7393);function _(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new y(t,e,n))}}class y{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new b(t,this.accumulator,this.seed,this.hasSeed))}}class b extends g.L{constructor(t,e,n,i){super(t),this.accumulator=e,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}var v=n(5345);function w(t){return function(e){const n=new C(t),i=e.lift(n);return n.caught=i}}class C{constructor(t){this.selector=t}call(t,e){return e.subscribe(new x(t,this.selector,this.caught))}}class x extends v.Ds{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const i=new v.IY(this);this.add(i);const s=(0,v.ft)(n,i);s!==i&&this.add(s)}}}var E=n(5435),S=n(7108);function k(t){return function(e){return 0===t?(0,p.c)():e.lift(new O(t))}}class O{constructor(t){if(this.total=t,this.total<0)throw new S.W}call(t,e){return e.subscribe(new T(t,this.total))}}class T extends g.L{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,i=this.count++;e.length0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let s=0;se.lift(new P(t))}class P{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new I(t,this.errorFactory))}}class I extends g.L{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function R(){return new r}function D(t=null){return e=>e.lift(new M(t))}class M{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new L(t,this.defaultValue))}}class L extends g.L{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var F=n(4487),N=n(5257);function B(t,e){const n=arguments.length>=2;return i=>i.pipe(t?(0,E.h)((e,n)=>t(e,n,i)):F.y,(0,N.q)(1),n?D(e):A(()=>new r))}var U=n(5319);class Z{constructor(t){this.callback=t}call(t,e){return e.subscribe(new j(t,this.callback))}}class j extends g.L{constructor(t,e){super(t),this.add(new U.w(e))}}var q=n(8002),V=n(3190),H=n(9761),z=n(4612),Y=n(9773),G=n(3342),K=n(1307),$=n(3282);class W{constructor(t,e){this.id=t,this.url=e}}class Q extends W{constructor(t,e,n="imperative",i=null){super(t,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class J extends W{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class X extends W{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class tt extends W{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class et extends W{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nt extends W{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class it extends W{constructor(t,e,n,i,s){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class st extends W{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rt extends W{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ot{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class at{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class lt{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ct{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ut{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ht{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dt{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class pt{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 ft(t){return new pt(t)}function mt(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function gt(t,e,n){const i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.lengthi[e]===t)}return t===e}function bt(t){return Array.prototype.concat.apply([],t)}function vt(t){return t.length>0?t[t.length-1]:null}function wt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Ct(t){return(0,s.CqO)(t)?t:(0,s.QGY)(t)?(0,o.D)(Promise.resolve(t)):(0,a.of)(t)}const xt={exact:function t(e,n,i){if(!Rt(e.segments,n.segments))return!1;if(!Tt(e.segments,n.segments,i))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const s in n.children){if(!e.children[s])return!1;if(!t(e.children[s],n.children[s],i))return!1}return!0},subset:kt},Et={exact:function(t,e){return _t(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>yt(t[n],e[n]))},ignored:()=>!0};function St(t,e,n){return xt[n.paths](t.root,e.root,n.matrixParams)&&Et[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function kt(t,e,n){return Ot(t,e,e.segments,n)}function Ot(t,e,n,i){if(t.segments.length>n.length){const s=t.segments.slice(0,n.length);return!!Rt(s,n)&&!e.hasChildren()&&!!Tt(s,n,i)}if(t.segments.length===n.length){if(!Rt(t.segments,n))return!1;if(!Tt(t.segments,n,i))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!kt(t.children[n],e.children[n],i))return!1}return!0}{const s=n.slice(0,t.segments.length),r=n.slice(t.segments.length);return!!Rt(t.segments,s)&&!!Tt(t.segments,s,i)&&!!t.children.primary&&Ot(t.children.primary,e,r,i)}}function Tt(t,e,n){return e.every((e,i)=>Et[n](t[i].parameters,e.parameters))}class At{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ft(this.queryParams)),this._queryParamMap}toString(){return Lt.serialize(this)}}class Pt{constructor(t,e){this.segments=t,this.children=e,this.parent=null,wt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ft(this)}}class It{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=ft(this.parameters)),this._parameterMap}toString(){return Vt(this)}}function Rt(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class Dt{}class Mt{parse(t){const e=new Kt(t);return new At(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${Nt(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Ut(e)}=${Ut(t)}`).join("&"):`${Ut(e)}=${Ut(n)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const Lt=new Mt;function Ft(t){return t.segments.map(t=>Vt(t)).join("/")}function Nt(t,e){if(!t.hasChildren())return Ft(t);if(e){const e=t.children.primary?Nt(t.children.primary,!1):"",n=[];return wt(t.children,(t,e)=>{"primary"!==e&&n.push(`${e}:${Nt(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return wt(t.children,(t,i)=>{"primary"===i&&(n=n.concat(e(t,i)))}),wt(t.children,(t,i)=>{"primary"!==i&&(n=n.concat(e(t,i)))}),n}(t,(e,n)=>"primary"===n?[Nt(t.children.primary,!1)]:[`${n}:${Nt(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${Ft(t)}/${e[0]}`:`${Ft(t)}/(${e.join("//")})`}}function Bt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ut(t){return Bt(t).replace(/%3B/gi,";")}function Zt(t){return Bt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function jt(t){return decodeURIComponent(t)}function qt(t){return jt(t.replace(/\+/g,"%20"))}function Vt(t){return`${Zt(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Zt(t)}=${Zt(e[t])}`).join("")}`;var e}const Ht=/^[^\/()?;=#]+/;function zt(t){const e=t.match(Ht);return e?e[0]:""}const Yt=/^[^=?&#]+/,Gt=/^[^?&#]+/;class Kt{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Pt([],{}):new Pt([],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 n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new Pt(t,e)),n}parseSegment(){const t=zt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new It(jt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=zt(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=zt(this.remaining);t&&(n=t,this.capture(n))}t[jt(e)]=jt(n)}parseQueryParam(t){const e=function(t){const e=t.match(Yt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(Gt);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=qt(e),s=qt(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(s)}else t[i]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=zt(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let s;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s="primary");const r=this.parseChildren();e[s]=1===Object.keys(r).length?r.primary:new Pt([],r),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 Error(`Expected "${t}".`)}}class $t{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=Wt(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Wt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Qt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Qt(t,this._root).map(t=>t.value)}}function Wt(t,e){if(t===e.value)return e;for(const n of e.children){const e=Wt(t,n);if(e)return e}return null}function Qt(t,e){if(t===e.value)return[e];for(const n of e.children){const i=Qt(t,n);if(i.length)return i.unshift(e),i}return[]}class Jt{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Xt(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class te extends $t{constructor(t,e){super(t),this.snapshot=e,oe(this,t)}toString(){return this.snapshot.toString()}}function ee(t,e){const n=function(t,e){const n=new se([],{},{},"",{},"primary",e,null,t.root,-1,{});return new re("",new Jt(n,[]))}(t,e),i=new l.X([new It("",{})]),s=new l.X({}),r=new l.X({}),o=new l.X({}),a=new l.X(""),c=new ne(i,s,o,a,r,"primary",e,n.root);return c.snapshot=n.root,new te(new Jt(c,[]),n)}class ne{constructor(t,e,n,i,s,r,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=r,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,q.U)(t=>ft(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,q.U)(t=>ft(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ie(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class se{constructor(t,e,n,i,s,r,o,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=r,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ft(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ft(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class re extends $t{constructor(t,e){super(e),this.url=t,oe(this,e)}toString(){return ae(this._root)}}function oe(t,e){e.value._routerState=t,e.children.forEach(e=>oe(t,e))}function ae(t){const e=t.children.length>0?` { ${t.children.map(ae).join(", ")} } `:"";return`${t.value}${e}`}function le(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,_t(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),_t(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n_t(t.parameters,i[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||ce(t.parent,e.parent))}function ue(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=e.value;const s=function(t,e,n){return e.children.map(e=>{for(const i of n.children)if(t.shouldReuseRoute(e.value,i.value.snapshot))return ue(t,e,i);return ue(t,e)})}(t,e,n);return new Jt(i,s)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const t=n.route;return he(e,t),t}}const n=new ne(new l.X((i=e.value).url),new l.X(i.params),new l.X(i.queryParams),new l.X(i.fragment),new l.X(i.data),i.outlet,i.component,i),s=e.children.map(e=>ue(t,e));return new Jt(n,s)}var i}function he(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n{r[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new At(n.root===t?e:me(n.root,t,e),r,s)}function me(t,e,n){const i={};return wt(t.children,(t,s)=>{i[s]=t===e?n:me(t,e,n)}),new Pt(t.segments,i)}class ge{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&de(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(pe);if(i&&i!==vt(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class _e{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function ye(t,e,n){if(t||(t=new Pt([],{})),0===t.segments.length&&t.hasChildren())return be(t,e,n);const i=function(t,e,n){let i=0,s=e;const r={match:!1,pathIndex:0,commandIndex:0};for(;s=n.length)return r;const e=t.segments[s],o=n[i];if(pe(o))break;const a=`${o}`,l=i0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!xe(a,l,e))return r;i+=2}else{if(!xe(a,{},e))return r;i++}s++}return{match:!0,pathIndex:s,commandIndex:i}}(t,e,n),s=n.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof n&&(n=[n]),null!==n&&(s[i]=ye(t.children[i],e,n))}),wt(t.children,(t,e)=>{void 0===i[e]&&(s[e]=t)}),new Pt(t.segments,s)}}function ve(t,e,n){const i=t.segments.slice(0,e);let s=0;for(;s{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=ve(new Pt([],{}),0,t))}),e}function Ce(t){const e={};return wt(t,(t,n)=>e[n]=`${t}`),e}function xe(t,e,n){return t==n.path&&_t(e,n.parameters)}class Ee{constructor(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),le(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=Xt(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]}),wt(i,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const i=t.value,s=e?e.value:null;if(i===s)if(i.component){const s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,n);else s&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,s=Xt(t);for(const r of Object.keys(s))this.deactivateRouteAndItsChildren(s[r],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const i=Xt(e);t.children.forEach(t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new ht(t.value.snapshot))}),t.children.length&&this.forwardEvent(new ct(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,s=e?e.value:null;if(le(i),i===s)if(i.component){const s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const t=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),Se(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(i.snapshot),s=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=s,e.outlet&&e.outlet.activateWith(i,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function Se(t){le(t.value),t.children.forEach(Se)}class ke{constructor(t,e){this.routes=t,this.module=e}}function Oe(t){return"function"==typeof t}function Te(t){return t instanceof At}const Ae=Symbol("INITIAL_VALUE");function Pe(){return(0,V.w)(t=>(0,c.aj)(t.map(t=>t.pipe((0,N.q)(1),(0,H.O)(Ae)))).pipe(_((t,e)=>{let n=!1;return e.reduce((t,i,s)=>{if(t!==Ae)return t;if(i===Ae&&(n=!0),!n){if(!1===i)return i;if(s===e.length-1||Te(i))return i}return t},t)},Ae),(0,E.h)(t=>t!==Ae),(0,q.U)(t=>Te(t)?t:!0===t),(0,N.q)(1)))}let Ie=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&s._UZ(0,"router-outlet")},directives:function(){return[An]},encapsulation:2}),t})();function Re(t,e=""){for(let n=0;nFe(t)===e);return n.push(...t.filter(t=>Fe(t)!==e)),n}const Be={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Ue(t,e,n){var i;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},Be):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(e.matcher||gt)(n,t,e);if(!s)return Object.assign({},Be);const r={};wt(s.posParams,(t,e)=>{r[e]=t.path});const o=s.consumed.length>0?Object.assign(Object.assign({},r),s.consumed[s.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:o,positionalParamSegments:null!==(i=s.posParams)&&void 0!==i?i:{}}}function Ze(t,e,n,i,s="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>je(t,e,n)&&"primary"!==Fe(n))}(t,n,i)){const s=new Pt(e,function(t,e,n,i){const s={};s.primary=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const r of n)if(""===r.path&&"primary"!==Fe(r)){const n=new Pt([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,s[Fe(r)]=n}return s}(t,e,i,new Pt(n,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>je(t,e,n))}(t,n,i)){const r=new Pt(t.segments,function(t,e,n,i,s,r){const o={};for(const a of i)if(je(t,n,a)&&!s[Fe(a)]){const n=new Pt([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===r?t.segments.length:e.length,o[Fe(a)]=n}return Object.assign(Object.assign({},s),o)}(t,e,n,i,t.children,s));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}const r=new Pt(t.segments,t.children);return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}function je(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function qe(t,e,n,i){return!!(Fe(t)===i||"primary"!==i&&je(e,n,t))&&("**"===t.path||Ue(e,t,n).matched)}function Ve(t,e,n){return 0===e.length&&!t.children[n]}class He{constructor(t){this.segmentGroup=t||null}}class ze{constructor(t){this.urlTree=t}}function Ye(t){return new u.y(e=>e.error(new He(t)))}function Ge(t){return new u.y(e=>e.error(new ze(t)))}function Ke(t){return new u.y(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class $e{constructor(t,e,n,i,r){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=r,this.allowRedirects=!0,this.ngModule=t.get(s.h0i)}apply(){const t=Ze(this.urlTree.root,[],[],this.config).segmentGroup,e=new Pt(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,"primary").pipe((0,q.U)(t=>this.createUrlTree(We(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe(w(t=>{if(t instanceof ze)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof He)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe((0,q.U)(e=>this.createUrlTree(We(e),t.queryParams,t.fragment))).pipe(w(t=>{if(t instanceof He)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const i=t.segments.length>0?new Pt([],{primary:t}):t;return new At(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe((0,q.U)(t=>new Pt([],t))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){const i=[];for(const s of Object.keys(n.children))"primary"===s?i.unshift(s):i.push(s);return(0,o.D)(i).pipe((0,z.b)(i=>{const s=n.children[i],r=Ne(e,i);return this.expandSegmentGroup(t,r,s,i).pipe((0,q.U)(t=>({segment:t,outlet:i})))}),_((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return i=>i.pipe(t?(0,E.h)((e,n)=>t(e,n,i)):F.y,k(1),n?D(e):A(()=>new r))}())}expandSegment(t,e,n,i,s,l){return(0,o.D)(n).pipe((0,z.b)(r=>this.expandSegmentAgainstRoute(t,e,n,r,i,s,l).pipe(w(t=>{if(t instanceof He)return(0,a.of)(null);throw t}))),B(t=>!!t),w((t,n)=>{if(t instanceof r||"EmptyError"===t.name){if(Ve(e,i,s))return(0,a.of)(new Pt([],{}));throw new He(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,i,s,r,o){return qe(i,e,s,r)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,s,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r):Ye(e):Ye(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,r):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Ge(s):this.lineralizeSegments(n,s).pipe((0,Y.zg)(n=>{const s=new Pt(n,{});return this.expandSegment(t,s,e,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=Ue(e,i,s);if(!o)return Ye(e);const u=this.applyRedirectCommands(a,i.redirectTo,c);return i.redirectTo.startsWith("/")?Ge(u):this.lineralizeSegments(i,u).pipe((0,Y.zg)(i=>this.expandSegment(t,e,n,i.concat(s.slice(l)),r,!1)))}matchSegmentAgainstRoute(t,e,n,i,s){if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,a.of)(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe((0,q.U)(t=>(n._loadedConfig=t,new Pt(i,{})))):(0,a.of)(new Pt(i,{}));const{matched:r,consumedSegments:o,lastChild:l}=Ue(e,n,i);if(!r)return Ye(e);const c=i.slice(l);return this.getChildConfig(t,n,i).pipe((0,Y.zg)(t=>{const i=t.module,r=t.routes,{segmentGroup:l,slicedSegments:u}=Ze(e,o,c,r),h=new Pt(l.segments,l.children);if(0===u.length&&h.hasChildren())return this.expandChildren(i,r,h).pipe((0,q.U)(t=>new Pt(o,t)));if(0===r.length&&0===u.length)return(0,a.of)(new Pt(o,{}));const d=Fe(n)===s;return this.expandSegment(i,h,r,u,d?"primary":s,!0).pipe((0,q.U)(t=>new Pt(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?(0,a.of)(new ke(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?(0,a.of)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe((0,Y.zg)(n=>n?this.configLoader.load(t.injector,e).pipe((0,q.U)(t=>(e._loadedConfig=t,t))):function(t){return new u.y(e=>e.error(mt(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):(0,a.of)(new ke([],t))}runCanLoadGuards(t,e,n){const i=e.canLoad;if(!i||0===i.length)return(0,a.of)(!0);const s=i.map(i=>{const s=t.get(i);let r;if(function(t){return t&&Oe(t.canLoad)}(s))r=s.canLoad(e,n);else{if(!Oe(s))throw new Error("Invalid CanLoad guard");r=s(e,n)}return Ct(r)});return(0,a.of)(s).pipe(Pe(),(0,G.b)(t=>{if(!Te(t))return;const e=mt(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),(0,q.U)(t=>!0===t))}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return(0,a.of)(n);if(i.numberOfChildren>1||!i.children.primary)return Ke(t.redirectTo);i=i.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const s=this.createSegmentGroup(t,e.root,n,i);return new At(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return wt(t,(t,i)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);n[i]=e[s]}else n[i]=t}),n}createSegmentGroup(t,e,n,i){const s=this.createSegments(t,e.segments,n,i);let r={};return wt(e.children,(e,s)=>{r[s]=this.createSegmentGroup(t,e,n,i)}),new Pt(s,r)}createSegments(t,e,n,i){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n))}findPosParam(t,e,n){const i=n[e.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return i}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}function We(t){const e={};for(const n of Object.keys(t.children)){const i=We(t.children[n]);(i.segments.length>0||i.hasChildren())&&(e[n]=i)}return function(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new Pt(t.segments.concat(e.segments),e.children)}return t}(new Pt(t.segments,e))}class Qe{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Je{constructor(t,e){this.component=t,this.route=e}}function Xe(t,e,n){const i=t._root;return en(i,e?e._root:null,n,[i.value])}function tn(t,e,n){const i=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function en(t,e,n,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const r=Xt(e);return t.children.forEach(t=>{!function(t,e,n,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const r=t.value,o=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(o&&r.routeConfig===o.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Rt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Rt(t.url,e.url)||!_t(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ce(t,e)||!_t(t.queryParams,e.queryParams);case"paramsChange":default:return!ce(t,e)}}(o,r,r.routeConfig.runGuardsAndResolvers);l?s.canActivateChecks.push(new Qe(i)):(r.data=o.data,r._resolvedData=o._resolvedData),en(t,e,r.component?a?a.children:null:n,i,s),l&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new Je(a.outlet.component,o))}else o&&nn(e,a,s),s.canActivateChecks.push(new Qe(i)),en(t,null,r.component?a?a.children:null:n,i,s)}(t,r[t.value.outlet],n,i.concat([t.value]),s),delete r[t.value.outlet]}),wt(r,(t,e)=>nn(t,n.getContext(e),s)),s}function nn(t,e,n){const i=Xt(t),s=t.value;wt(i,(t,i)=>{nn(t,s.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new Je(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}class sn{}function rn(t){return new u.y(e=>e.error(t))}class on{constructor(t,e,n,i,s,r){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=r}recognize(){const t=Ze(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary");if(null===e)return null;const n=new se([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Jt(n,e),s=new re(this.url,i);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const e=t.value,n=ie(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=[];for(const s of Object.keys(e.children)){const i=e.children[s],r=Ne(t,s),o=this.processSegmentGroup(r,i,s);if(null===o)return null;n.push(...o)}const i=ln(n);return i.sort((t,e)=>"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)),i}processSegment(t,e,n,i){for(const s of t){const t=this.processSegmentAgainstRoute(s,e,n,i);if(null!==t)return t}return Ve(e,n,i)?[]:null}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo||!qe(t,e,n,i))return null;let s,r=[],o=[];if("**"===t.path){const i=n.length>0?vt(n).parameters:{};s=new se(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hn(t),Fe(t),t.component,t,cn(e),un(e)+n.length,dn(t))}else{const i=Ue(e,t,n);if(!i.matched)return null;r=i.consumedSegments,o=n.slice(i.lastChild),s=new se(r,i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hn(t),Fe(t),t.component,t,cn(e),un(e)+r.length,dn(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=Ze(e,r,o,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return null===t?null:[new Jt(s,t)]}if(0===a.length&&0===c.length)return[new Jt(s,[])];const u=Fe(t)===i,h=this.processSegment(a,l,c,u?"primary":i);return null===h?null:[new Jt(s,h)]}}function an(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function ln(t){const e=[],n=new Set;for(const i of t){if(!an(i)){e.push(i);continue}const t=e.find(t=>i.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...i.children),n.add(t)):e.push(i)}for(const i of n){const t=ln(i.children);e.push(new Jt(i.value,t))}return e.filter(t=>!n.has(t))}function cn(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function un(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function hn(t){return t.data||{}}function dn(t){return t.resolve||{}}function pn(t){return(0,V.w)(e=>{const n=t(e);return n?(0,o.D)(n).pipe((0,q.U)(()=>e)):(0,a.of)(e)})}class fn extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const mn=new s.OlP("ROUTES");class gn{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const n=this.loadModuleFactory(e.loadChildren).pipe((0,q.U)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new ke(bt(i.injector.get(mn,void 0,s.XFs.Self|s.XFs.Optional)).map(Le),i)}),w(t=>{throw e._loader$=void 0,t}));return e._loader$=new f.c(n,()=>new m.xQ).pipe((0,K.x)()),e._loader$}loadModuleFactory(t){return"string"==typeof t?(0,o.D)(this.loader.load(t)):Ct(t()).pipe((0,Y.zg)(t=>t instanceof s.YKP?(0,a.of)(t):(0,o.D)(this.compiler.compileModuleAsync(t))))}}class _n{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new yn,this.attachRef=null}}class yn{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new _n,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class bn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function vn(t){throw t}function wn(t,e,n){return e.parse("/")}function Cn(t,e){return(0,a.of)(null)}const xn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},En={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Sn=(()=>{class t{constructor(t,e,n,i,r,o,a,c){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new m.xQ,this.errorHandler=vn,this.malformedUriErrorHandler=wn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Cn,afterPreactivation:Cn},this.urlHandlingStrategy=new bn,this.routeReuseStrategy=new fn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=r.get(s.h0i),this.console=r.get(s.c2e);const u=r.get(s.R0b);this.isNgZoneEnabled=u instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new At(new Pt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new gn(o,a,t=>this.triggerEvent(new ot(t)),t=>this.triggerEvent(new at(t))),this.routerState=ee(this.currentUrlTree,this.rootComponentType),this.transitions=new l.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe((0,E.h)(t=>0!==t.id),(0,q.U)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),(0,V.w)(t=>{let n=!1,i=!1;return(0,a.of)(t).pipe((0,G.b)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,V.w)(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return(0,a.of)(t).pipe((0,V.w)(t=>{const n=this.transitions.getValue();return e.next(new Q(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?p.E:Promise.resolve(t)}),(i=this.ngModule.injector,s=this.configLoader,r=this.urlSerializer,o=this.config,(0,V.w)(t=>function(t,e,n,i,s){return new $e(t,e,n,i,s).apply()}(i,s,r,t.extractedUrl,o).pipe((0,q.U)(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e}))))),(0,G.b)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,i,s){return(0,Y.zg)(r=>function(t,e,n,i,s="emptyOnly",r="legacy"){try{const o=new on(t,e,n,i,s,r).recognize();return null===o?rn(new sn):(0,a.of)(o)}catch(o){return rn(o)}}(t,e,r.urlAfterRedirects,n(r.urlAfterRedirects),i,s).pipe((0,q.U)(t=>Object.assign(Object.assign({},r),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,G.b)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,t),this.browserUrlTree=t.urlAfterRedirects);const n=new et(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var i,s,r,o;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:s,restoredState:r,extras:o}=t,l=new Q(n,this.serializeUrl(i),s,r);e.next(l);const c=ee(i,this.rootComponentType).snapshot;return(0,a.of)(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:i,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),p.E}),pn(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:s,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:s,skipLocationChange:!!r,replaceUrl:!!o})}),(0,G.b)(t=>{const e=new nt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,q.U)(t=>Object.assign(Object.assign({},t),{guards:Xe(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return(0,Y.zg)(n=>{const{targetSnapshot:i,currentSnapshot:s,guards:{canActivateChecks:r,canDeactivateChecks:l}}=n;return 0===l.length&&0===r.length?(0,a.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return(0,o.D)(t).pipe((0,Y.zg)(t=>function(t,e,n,i,s){const r=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!r||0===r.length)return(0,a.of)(!0);const o=r.map(r=>{const o=tn(r,e,s);let a;if(function(t){return t&&Oe(t.canDeactivate)}(o))a=Ct(o.canDeactivate(t,e,n,i));else{if(!Oe(o))throw new Error("Invalid CanDeactivate guard");a=Ct(o(t,e,n,i))}return a.pipe(B())});return(0,a.of)(o).pipe(Pe())}(t.component,t.route,n,e,i)),B(t=>!0!==t,!0))}(l,i,s,t).pipe((0,Y.zg)(n=>n&&"boolean"==typeof n?function(t,e,n,i){return(0,o.D)(e).pipe((0,z.b)(e=>(0,h.z)(function(t,e){return null!==t&&e&&e(new lt(t)),(0,a.of)(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new ut(t)),(0,a.of)(!0)}(e.route,i),function(t,e,n){const i=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>(0,d.P)(()=>{const s=e.guards.map(s=>{const r=tn(s,e.node,n);let o;if(function(t){return t&&Oe(t.canActivateChild)}(r))o=Ct(r.canActivateChild(i,t));else{if(!Oe(r))throw new Error("Invalid CanActivateChild guard");o=Ct(r(i,t))}return o.pipe(B())});return(0,a.of)(s).pipe(Pe())}));return(0,a.of)(s).pipe(Pe())}(t,e.path,n),function(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return(0,a.of)(!0);const s=i.map(i=>(0,d.P)(()=>{const s=tn(i,e,n);let r;if(function(t){return t&&Oe(t.canActivate)}(s))r=Ct(s.canActivate(e,t));else{if(!Oe(s))throw new Error("Invalid CanActivate guard");r=Ct(s(e,t))}return r.pipe(B())}));return(0,a.of)(s).pipe(Pe())}(t,e.route,n))),B(t=>!0!==t,!0))}(i,r,t,e):(0,a.of)(n)),(0,q.U)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),(0,G.b)(t=>{if(Te(t.guardsResult)){const e=mt(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new it(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),(0,E.h)(t=>!!t.guardsResult||(this.cancelNavigationTransition(t,""),!1)),pn(t=>{if(t.guards.canActivateChecks.length)return(0,a.of)(t).pipe((0,G.b)(t=>{const e=new st(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,V.w)(t=>{let e=!1;return(0,a.of)(t).pipe((n=this.paramsInheritanceStrategy,i=this.ngModule.injector,(0,Y.zg)(t=>{const{targetSnapshot:e,guards:{canActivateChecks:s}}=t;if(!s.length)return(0,a.of)(t);let r=0;return(0,o.D)(s).pipe((0,z.b)(t=>function(t,e,n,i){return function(t,e,n,i){const s=Object.keys(t);if(0===s.length)return(0,a.of)({});const r={};return(0,o.D)(s).pipe((0,Y.zg)(s=>function(t,e,n,i){const s=tn(t,e,i);return Ct(s.resolve?s.resolve(e,n):s(e,n))}(t[s],e,n,i).pipe((0,G.b)(t=>{r[s]=t}))),k(1),(0,Y.zg)(()=>Object.keys(r).length===s.length?(0,a.of)(r):p.E))}(t._resolve,t,e,i).pipe((0,q.U)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),ie(t,n).resolve),null)))}(t.route,e,n,i)),(0,G.b)(()=>r++),k(1),(0,Y.zg)(e=>r===s.length?(0,a.of)(t):p.E))})),(0,G.b)({next:()=>e=!0,complete:()=>{e||this.cancelNavigationTransition(t,"At least one route resolver didn't emit any value.")}}));var n,i}),(0,G.b)(t=>{const e=new rt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),pn(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:s,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:s,skipLocationChange:!!r,replaceUrl:!!o})}),(0,q.U)(t=>{const e=function(t,e,n){const i=ue(t,e._root,n?n._root:void 0);return new te(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),(0,G.b)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,t),this.browserUrlTree=t.urlAfterRedirects)}),(r=this.rootContexts,l=this.routeReuseStrategy,c=t=>this.triggerEvent(t),(0,q.U)(t=>(new Ee(l,t.targetRouterState,t.currentRouterState,c).activate(r),t))),(0,G.b)({next(){n=!0},complete(){n=!0}}),(s=()=>{n||i||this.cancelNavigationTransition(t,`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation=null},t=>t.lift(new Z(s))),w(n=>{if(i=!0,(s=n)&&s.ngNavigationCancelingError){const i=Te(n.url);i||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const s=new X(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(s),i?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const i=new tt(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(r){t.reject(r)}}var s;return p.E}));var s,r,l,c}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:i}=e,s={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,delete t.\u0275routerPageId,0!==Object.keys(t).length&&(s.state=t)}this.scheduleNavigation(i,t,n,s)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&n&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Re(t),this.config=t.map(Le),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:s,queryParamsHandling:r,preserveFragment:o}=e,a=n||this.routerState.root,l=o?this.currentUrlTree.fragment:s;let c=null;switch(r){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,i,s){if(0===n.length)return fe(e.root,e.root,e,i,s);const r=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new ge(!0,0,t);let e=0,n=!1;const i=t.reduce((t,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return wt(i.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===s?(i.split("/").forEach((i,s)=>{0==s&&"."===i||(0==s&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[...t,i]},[]);return new ge(n,e,i)}(n);if(r.toRoot())return fe(e.root,new Pt([],{}),e,i,s);const o=function(t,e,n){if(t.isAbsolute)return new _e(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new _e(t,t===e.root,0)}const i=de(t.commands[0])?0:1;return function(t,e,n){let i=t,s=e,r=n;for(;r>s;){if(r-=s,i=i.parent,!i)throw new Error("Invalid number of '../'");s=i.segments.length}return new _e(i,!1,s-r)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(r,e,t),a=o.processChildren?be(o.segmentGroup,o.index,r.commands):ye(o.segmentGroup,o.index,r.commands);return fe(o.segmentGroup,a,e,i,s)}(a,this.currentUrlTree,t,c,null!=l?l:null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=Te(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);let s=null;return"computed"===this.canceledNavigationResolution&&(0===this.currentPageId||e.skipLocationChange||e.replaceUrl)&&(s=this.location.getState()),this.scheduleNavigation(i,"imperative",s,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const i=t[n];return null!=i&&(e[n]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new J(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,i,s){if(this.disposed)return Promise.resolve(!1);const r=this.getTransition(),o="imperative"!==e&&"imperative"===(null==r?void 0:r.source),a=(this.lastSuccessfulId===r.id||this.currentNavigation?r.rawUrl:r.urlAfterRedirects).toString()===t.toString();if(o&&a)return Promise.resolve(!0);let l,c,u;s?(l=s.resolve,c=s.reject,u=s.promise):u=new Promise((t,e)=>{l=t,c=e});const h=++this.navigationId;let d;return d="computed"===this.canceledNavigationResolution?n&&n.\u0275routerPageId?n.\u0275routerPageId:this.currentPageId+1:0,this.setTransition({id:h,targetPageId:d,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(t=>Promise.reject(t))}setBrowserUrl(t,e){const n=this.urlSerializer.serialize(t),i=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl?this.location.replaceState(n,"",i):this.location.go(n,"",i)}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,e){"computed"===this.canceledNavigationResolution?"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy||this.location.historyGo(this.currentPageId-t.targetPageId):this.resetUrlToCurrentUrlTree();const n=new X(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(n),t.resolve(!1)}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.DyG),s.LFG(Dt),s.LFG(yn),s.LFG(i.Ye),s.LFG(s.zs3),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),kn=(()=>{class t{constructor(t,e,n,i,s){this.router=t,this.route=e,this.commands=[],this.onChanges=new m.xQ,null==n&&i.setAttribute(s.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:Tn(this.skipLocationChange),replaceUrl:Tn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Tn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Sn),s.Y36(ne),s.$8M("tabindex"),s.Y36(s.Qsj),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s.TTD]}),t})(),On=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new m.xQ,this.subscription=t.events.subscribe(t=>{t instanceof J&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,i,s){if(0!==t||e||n||i||s)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const r={skipLocationChange:Tn(this.skipLocationChange),replaceUrl:Tn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Tn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Sn),s.Y36(ne),s.Y36(i.S$))},t.\u0275dir=s.lG2({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(s.Ikx("href",e.href,s.LSH),s.uIk("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s.TTD]}),t})();function Tn(t){return""===t||!!t}let An=(()=>{class t{constructor(t,e,n,i,r){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new s.vpe,this.deactivateEvents=new s.vpe,this.name=i||"primary",t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,s=new Pn(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(yn),s.Y36(s.s_b),s.Y36(s._Vd),s.$8M("name"),s.Y36(s.sBO))},t.\u0275dir=s.lG2({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class Pn{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===ne?this.route:t===yn?this.childContexts:this.parent.get(t,e)}}class In{}class Rn{preload(t,e){return(0,a.of)(null)}}let Dn=(()=>{class t{constructor(t,e,n,i,s){this.router=t,this.injector=i,this.preloadingStrategy=s,this.loader=new gn(e,n,e=>t.triggerEvent(new ot(e)),e=>t.triggerEvent(new at(e)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,E.h)(t=>t instanceof J),(0,z.b)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(s.h0i);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const i of e)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const t=i._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(t,i)):i.children&&n.push(this.processRoutes(t,i.children));return(0,o.D)(n).pipe((0,$.J)(),(0,q.U)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?(0,a.of)(e._loadedConfig):this.loader.load(t.injector,e)).pipe((0,Y.zg)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Sn),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(s.zs3),s.LFG(In))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Mn=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Q?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof J&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof dt&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new dt(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Sn),s.LFG(i.EM),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const Ln=new s.OlP("ROUTER_CONFIGURATION"),Fn=new s.OlP("ROUTER_FORROOT_GUARD"),Nn=[i.Ye,{provide:Dt,useClass:Mt},{provide:Sn,useFactory:function(t,e,n,i,s,r,o,a={},l,c){const u=new Sn(null,t,e,n,i,s,r,bt(o));return l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,u),a.enableTracing&&u.events.subscribe(t=>{var e,n;null===(e=console.group)||void 0===e||e.call(console,`Router Event: ${t.constructor.name}`),console.log(t.toString()),console.log(t),null===(n=console.groupEnd)||void 0===n||n.call(console)}),u},deps:[Dt,yn,i.Ye,s.zs3,s.v3s,s.Sil,mn,Ln,[class{},new s.FiY],[class{},new s.FiY]]},yn,{provide:ne,useFactory:function(t){return t.routerState.root},deps:[Sn]},{provide:s.v3s,useClass:s.EAV},Dn,Rn,class{preload(t,e){return e().pipe(w(()=>(0,a.of)(null)))}},{provide:Ln,useValue:{enableTracing:!1}}];function Bn(){return new s.PXZ("Router",Sn)}let Un=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[Nn,Vn(e),{provide:Fn,useFactory:qn,deps:[[Sn,new s.FiY,new s.tp0]]},{provide:Ln,useValue:n||{}},{provide:i.S$,useFactory:jn,deps:[i.lw,[new s.tBr(i.mr),new s.FiY],Ln]},{provide:Mn,useFactory:Zn,deps:[Sn,i.EM,Ln]},{provide:In,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Rn},{provide:s.PXZ,multi:!0,useFactory:Bn},[Hn,{provide:s.ip1,multi:!0,useFactory:zn,deps:[Hn]},{provide:Gn,useFactory:Yn,deps:[Hn]},{provide:s.tb,multi:!0,useExisting:Gn}]]}}static forChild(e){return{ngModule:t,providers:[Vn(e)]}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Fn,8),s.LFG(Sn,8))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();function Zn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Mn(t,e,n)}function jn(t,e,n={}){return n.useHash?new i.Do(t,e):new i.b0(t,e)}function qn(t){return"guarded"}function Vn(t){return[{provide:s.deG,multi:!0,useValue:t},{provide:mn,multi:!0,useValue:t}]}let Hn=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new m.xQ}appInitializer(){return this.injector.get(i.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const e=new Promise(e=>t=e),n=this.injector.get(Sn),i=this.injector.get(Ln);return"disabled"===i.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?(0,a.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(Ln),n=this.injector.get(Dn),i=this.injector.get(Mn),r=this.injector.get(Sn),o=this.injector.get(s.z2F);t===o.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||r.initialNavigation(),n.setUpPreloading(),i.init(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function zn(t){return t.appInitializer.bind(t)}function Yn(t){return t.bootstrapListener.bind(t)}const Gn=new s.OlP("Router Initializer")},6215:function(t,e,n){"use strict";n.d(e,{X:function(){return r}});var i=n(9765),s=n(7971);class r extends i.xQ{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new s.N;return this._value}next(t){super.next(this._value=t)}}},1593:function(t,e,n){"use strict";n.d(e,{P:function(){return o}});var i=n(9193),s=n(5917),r=n(7574);class o{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return(0,s.of)(this.value);case"E":return t=this.error,new r.y(e=>e.error(t));case"C":return(0,i.c)()}var t;throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new o("N",t):o.undefinedValueNotification}static createError(t){return new o("E",void 0,t)}static createComplete(){return o.completeNotification}}o.completeNotification=new o("C"),o.undefinedValueNotification=new o("N",void 0)},7574:function(t,e,n){"use strict";n.d(e,{y:function(){return c}});var i=n(7393),s=n(9181),r=n(6490),o=n(6554),a=n(4487),l=n(2494);let c=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:o}=this,a=function(t,e,n){if(t){if(t instanceof i.L)return t;if(t[s.b])return t[s.b]()}return t||e||n?new i.L(t,e,n):new i.L(r.c)}(t,e,n);if(a.add(o?o.call(a,this.source):this.source||l.v.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),l.v.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(t){try{return this._subscribe(t)}catch(e){l.v.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:s}=t;if(e||s)return!1;t=n&&n instanceof i.L?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=u(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(s){n(s),i&&i.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[o.L](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?a.y:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=u(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function u(t){if(t||(t=l.v.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},6490:function(t,e,n){"use strict";n.d(e,{c:function(){return r}});var i=n(2494),s=n(4449);const r={closed:!0,next(t){},error(t){if(i.v.useDeprecatedSynchronousErrorHandling)throw t;(0,s.z)(t)},complete(){}}},9765:function(t,e,n){"use strict";n.d(e,{Yc:function(){return c},xQ:function(){return u}});var i=n(7574),s=n(7393),r=n(5319),o=n(7971),a=n(8858),l=n(9181);class c extends s.L{constructor(t){super(t),this.destination=t}}let u=(()=>{class t extends i.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.b](){return new c(this)}lift(t){const e=new h(this,this);return e.operator=t,e}next(t){if(this.closed)throw new o.N;if(!this.isStopped){const{observers:e}=this,n=e.length,i=e.slice();for(let s=0;snew h(t,e),t})();class h extends u{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):r.w.EMPTY}}},8858:function(t,e,n){"use strict";n.d(e,{W:function(){return s}});var i=n(5319);class s extends i.w{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},7393:function(t,e,n){"use strict";n.d(e,{L:function(){return c}});var i=n(9105),s=n(6490),r=n(5319),o=n(9181),a=n(2494),l=n(4449);class c extends r.w{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.c;break;case 1:if(!t){this.destination=s.c;break}if("object"==typeof t){t instanceof c?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,t,e,n)}}[o.b](){return this}static create(t,e,n){const i=new c(t,e,n);return i.syncErrorThrowable=!1,i}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class u extends c{constructor(t,e,n,r){let o;super(),this._parentSubscriber=t;let a=this;(0,i.m)(e)?o=e:e&&(o=e.next,n=e.error,r=e.complete,e!==s.c&&(a=Object.create(e),(0,i.m)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=n,this._complete=r}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;a.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=a.v;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):(0,l.z)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;(0,l.z)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.v.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),a.v.useDeprecatedSynchronousErrorHandling)throw n;(0,l.z)(n)}}__tryOrSetError(t,e,n){if(!a.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return a.v.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):((0,l.z)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},5319:function(t,e,n){"use strict";n.d(e,{w:function(){return a}});var i=n(9796),s=n(1555),r=n(9105);const o=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();class a{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:n,_unsubscribe:l,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof a)e.remove(this);else if(null!==e)for(let i=0;it.concat(e instanceof o?e.errors:e),[])}a.EMPTY=((l=new a).closed=!0,l)},2494:function(t,e,n){"use strict";n.d(e,{v:function(){return s}});let i=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},5345:function(t,e,n){"use strict";n.d(e,{IY:function(){return o},Ds:function(){return a},ft:function(){return l}});var i=n(7393),s=n(7574),r=n(7444);class o extends i.L{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class a extends i.L{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function l(t,e){if(e.closed)return;if(t instanceof s.y)return t.subscribe(e);let n;try{n=(0,r.s)(t)(e)}catch(i){e.error(i)}return n}},2441:function(t,e,n){"use strict";n.d(e,{c:function(){return a},N:function(){return l}});var i=n(9765),s=n(7574),r=n(5319),o=n(1307);class a extends s.y{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new r.w,t.add(this.source.subscribe(new c(this.getSubject(),this))),t.closed&&(this._connection=null,t=r.w.EMPTY)),t}refCount(){return(0,o.x)()(this)}}const l=(()=>{const t=a.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class c extends i.Yc{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}},739:function(t,e,n){"use strict";n.d(e,{aj:function(){return p}});var i=n(4869),s=n(9796),r=n(7393);class o extends r.L{notifyNext(t,e,n,i,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class a extends r.L{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var l=n(7444),c=n(7574);function u(t,e,n,i,s=new a(t,n,i)){if(!s.closed)return e instanceof c.y?e.subscribe(s):(0,l.s)(e)(s)}var h=n(6693);const d={};function p(...t){let e,n;return(0,i.K)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&(0,s.k)(t[0])&&(t=t[0]),(0,h.n)(t,n).lift(new f(e))}class f{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new m(t,this.resultSelector))}}class m extends o{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(d),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n{let n;try{n=t()}catch(i){return void e.error(i)}return(n?(0,s.D)(n):(0,r.c)()).subscribe(e)})}},9193:function(t,e,n){"use strict";n.d(e,{E:function(){return s},c:function(){return r}});var i=n(7574);const s=new i.y(t=>t.complete());function r(t){return t?function(t){return new i.y(e=>t.schedule(()=>e.complete()))}(t):s}},4402:function(t,e,n){"use strict";n.d(e,{D:function(){return h}});var i=n(7574),s=n(7444),r=n(5319),o=n(6554),a=n(4087),l=n(377),c=n(4072),u=n(9489);function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.L]}(t))return function(t,e){return new i.y(n=>{const i=new r.w;return i.add(e.schedule(()=>{const s=t[o.L]();i.add(s.subscribe({next(t){i.add(e.schedule(()=>n.next(t)))},error(t){i.add(e.schedule(()=>n.error(t)))},complete(){i.add(e.schedule(()=>n.complete()))}}))})),i})}(t,e);if((0,c.t)(t))return function(t,e){return new i.y(n=>{const i=new r.w;return i.add(e.schedule(()=>t.then(t=>{i.add(e.schedule(()=>{n.next(t),i.add(e.schedule(()=>n.complete()))}))},t=>{i.add(e.schedule(()=>n.error(t)))}))),i})}(t,e);if((0,u.z)(t))return(0,a.r)(t,e);if(function(t){return t&&"function"==typeof t[l.hZ]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new i.y(n=>{const i=new r.w;let s;return i.add(()=>{s&&"function"==typeof s.return&&s.return()}),i.add(e.schedule(()=>{s=t[l.hZ](),i.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=s.next();t=n.value,e=n.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())}))})),i})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof i.y?t:new i.y((0,s.s)(t))}},6693:function(t,e,n){"use strict";n.d(e,{n:function(){return o}});var i=n(7574),s=n(5015),r=n(4087);function o(t,e){return e?(0,r.r)(t,e):new i.y((0,s.V)(t))}},2759:function(t,e,n){"use strict";n.d(e,{R:function(){return a}});var i=n(7574),s=n(9796),r=n(9105),o=n(8002);function a(t,e,n,c){return(0,r.m)(n)&&(c=n,n=void 0),c?a(t,e,n).pipe((0,o.U)(t=>(0,s.k)(t)?c(...t):c(t))):new i.y(i=>{l(t,e,function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},i,n)})}function l(t,e,n,i,s){let r;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const i=t;t.addEventListener(e,n,s),r=()=>i.removeEventListener(e,n,s)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const i=t;t.on(e,n),r=()=>i.off(e,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const i=t;t.addListener(e,n),r=()=>i.removeListener(e,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let r=0,o=t.length;r1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof a&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof i.y?t[0]:(0,r.J)(e)((0,o.n)(t,n))}},5917:function(t,e,n){"use strict";n.d(e,{of:function(){return o}});var i=n(4869),s=n(6693),r=n(4087);function o(...t){let e=t[t.length-1];return(0,i.K)(e)?(t.pop(),(0,r.r)(t,e)):(0,s.n)(t)}},628:function(t,e,n){"use strict";n.d(e,{e:function(){return h}});var i=n(3637),s=n(5345);class r{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new o(t,this.durationSelector))}}class o extends s.Ds{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:e}=this;n=e(t)}catch(e){return this.destination.error(e)}const i=(0,s.ft)(n,new s.IY(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:t,hasValue:e,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var a=n(7574),l=n(6561),c=n(4869);function u(t){const{index:e,period:n,subscriber:i}=t;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}function h(t,e=i.P){return n=()=>function(t=0,e,n){let s=-1;return(0,l.k)(e)?s=Number(e)<1?1:Number(e):(0,c.K)(e)&&(n=e),(0,c.K)(n)||(n=i.P),new a.y(e=>{const i=(0,l.k)(t)?t:+t-n.now();return n.schedule(u,i,{index:0,period:s,subscriber:e})})}(t,e),function(t){return t.lift(new r(n))};var n}},4612:function(t,e,n){"use strict";n.d(e,{b:function(){return s}});var i=n(9773);function s(t,e){return(0,i.zg)(t,e,1)}},4395:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var i=n(7393),s=n(3637);function r(t,e=s.P){return n=>n.lift(new o(t,e))}class o{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new a(t,this.dueTime,this.scheduler))}}class a extends i.L{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function l(t){t.debouncedNext()}},7519:function(t,e,n){"use strict";n.d(e,{x:function(){return s}});var i=n(7393);function s(t,e){return n=>n.lift(new r(t,e))}class r{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new o(t,this.compare,this.keySelector))}}class o extends i.L{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}},5435:function(t,e,n){"use strict";n.d(e,{h:function(){return s}});var i=n(7393);function s(t,e){return function(n){return n.lift(new r(t,e))}}class r{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.predicate,this.thisArg))}}class o extends i.L{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}},8002:function(t,e,n){"use strict";n.d(e,{U:function(){return s}});var i=n(7393);function s(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new r(t,e))}}class r{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.project,this.thisArg))}}class o extends i.L{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},3282:function(t,e,n){"use strict";n.d(e,{J:function(){return r}});var i=n(9773),s=n(4487);function r(t=Number.POSITIVE_INFINITY){return(0,i.zg)(s.y,t)}},9773:function(t,e,n){"use strict";n.d(e,{zg:function(){return o}});var i=n(8002),s=n(4402),r=n(5345);function o(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(o((n,r)=>(0,s.D)(t(n,r)).pipe((0,i.U)((t,i)=>e(n,t,r,i))),n)):("number"==typeof e&&(n=e),e=>e.lift(new a(t,n)))}class a{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new l(t,this.project,this.concurrent))}}class l extends r.Ds{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},1307:function(t,e,n){"use strict";n.d(e,{x:function(){return s}});var i=n(7393);function s(){return function(t){return t.lift(new r(t))}}class r{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new o(t,n),s=e.subscribe(i);return i.closed||(i.connection=n.connect()),s}}class o extends i.L{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}},3653:function(t,e,n){"use strict";n.d(e,{T:function(){return s}});var i=n(7393);function s(t){return e=>e.lift(new r(t))}class r{constructor(t){this.total=t}call(t,e){return e.subscribe(new o(t,this.total))}}class o extends i.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}},9761:function(t,e,n){"use strict";n.d(e,{O:function(){return r}});var i=n(8071),s=n(4869);function r(...t){const e=t[t.length-1];return(0,s.K)(e)?(t.pop(),n=>(0,i.z)(t,n,e)):e=>(0,i.z)(t,e)}},3190:function(t,e,n){"use strict";n.d(e,{w:function(){return o}});var i=n(8002),s=n(4402),r=n(5345);function o(t,e){return"function"==typeof e?n=>n.pipe(o((n,r)=>(0,s.D)(t(n,r)).pipe((0,i.U)((t,i)=>e(n,t,r,i))))):e=>e.lift(new a(t))}class a{constructor(t){this.project=t}call(t,e){return e.subscribe(new l(t,this.project))}}class l extends r.Ds{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new r.IY(this),i=this.destination;i.add(n),this.innerSubscription=(0,r.ft)(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}},5257:function(t,e,n){"use strict";n.d(e,{q:function(){return o}});var i=n(7393),s=n(7108),r=n(9193);function o(t){return e=>0===t?(0,r.c)():e.lift(new a(t))}class a{constructor(t){if(this.total=t,this.total<0)throw new s.W}call(t,e){return e.subscribe(new l(t,this.total))}}class l extends i.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}},6782:function(t,e,n){"use strict";n.d(e,{R:function(){return s}});var i=n(5345);function s(t){return e=>e.lift(new r(t))}class r{constructor(t){this.notifier=t}call(t,e){const n=new o(t),s=(0,i.ft)(this.notifier,new i.IY(n));return s&&!n.seenValue?(n.add(s),e.subscribe(n)):n}}class o extends i.Ds{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},3342:function(t,e,n){"use strict";n.d(e,{b:function(){return o}});var i=n(7393);function s(){}var r=n(9105);function o(t,e,n){return function(i){return i.lift(new a(t,e,n))}}class a{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))}}class l extends i.L{constructor(t,e,n,i){super(t),this._tapNext=s,this._tapError=s,this._tapComplete=s,this._tapError=n||s,this._tapComplete=i||s,(0,r.m)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||s,this._tapError=e.error||s,this._tapComplete=e.complete||s)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},4087:function(t,e,n){"use strict";n.d(e,{r:function(){return r}});var i=n(7574),s=n(5319);function r(t,e){return new i.y(n=>{const i=new s.w;let r=0;return i.add(e.schedule(function(){r!==t.length?(n.next(t[r++]),n.closed||i.add(this.schedule())):n.complete()})),i})}},6465:function(t,e,n){"use strict";n.d(e,{o:function(){return r}});var i=n(5319);class s extends i.w{constructor(t,e){super()}schedule(t,e=0){return this}}class r extends s{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,i=!1;try{this.work(t)}catch(s){i=!0,n=!!s&&s||new Error(s)}if(i)return this.unsubscribe(),n}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},6102:function(t,e,n){"use strict";n.d(e,{v:function(){return s}});let i=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class s extends i{constructor(t,e=i.now){super(t,()=>s.delegate&&s.delegate!==this?s.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return s.delegate&&s.delegate!==this?s.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},4581:function(t,e,n){"use strict";n.d(e,{E:function(){return u}});let i=1;const s=Promise.resolve(),r={};function o(t){return t in r&&(delete r[t],!0)}const a={setImmediate(t){const e=i++;return r[e]=!0,s.then(()=>o(e)&&t()),e},clearImmediate(t){o(t)}};var l=n(6465),c=n(6102);const u=new class extends c.v{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,s=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=a.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(a.clearImmediate(e),t.scheduled=void 0)}})},3637:function(t,e,n){"use strict";n.d(e,{P:function(){return s}});var i=n(6465);const s=new(n(6102).v)(i.o)},377:function(t,e,n){"use strict";n.d(e,{hZ:function(){return i}});const i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},6554:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},9181:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});const i="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:function(t,e,n){"use strict";n.d(e,{W:function(){return i}});const i=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},7971:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});const i=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},4449:function(t,e,n){"use strict";function i(t){setTimeout(()=>{throw t},0)}n.d(e,{z:function(){return i}})},4487:function(t,e,n){"use strict";function i(t){return t}n.d(e,{y:function(){return i}})},9796:function(t,e,n){"use strict";n.d(e,{k:function(){return i}});const i=Array.isArray||(t=>t&&"number"==typeof t.length)},9489:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});const i=t=>t&&"number"==typeof t.length&&"function"!=typeof t},9105:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,{m:function(){return i}})},6561:function(t,e,n){"use strict";n.d(e,{k:function(){return s}});var i=n(9796);function s(t){return!(0,i.k)(t)&&t-parseFloat(t)+1>=0}},1555:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t}n.d(e,{K:function(){return i}})},5639:function(t,e,n){"use strict";n.d(e,{b:function(){return s}});var i=n(7574);function s(t){return!!t&&(t instanceof i.y||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},4072:function(t,e,n){"use strict";function i(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,{t:function(){return i}})},4869:function(t,e,n){"use strict";function i(t){return t&&"function"==typeof t.schedule}n.d(e,{K:function(){return i}})},7444:function(t,e,n){"use strict";n.d(e,{s:function(){return u}});var i=n(5015),s=n(4449),r=n(377),o=n(6554),a=n(9489),l=n(4072),c=n(1555);const u=t=>{if(t&&"function"==typeof t[o.L])return u=t,t=>{const e=u[o.L]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if((0,a.z)(t))return(0,i.V)(t);if((0,l.t)(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,s.z),t);if(t&&"function"==typeof t[r.hZ])return e=t,t=>{const n=e[r.hZ]();for(;;){let e;try{e=n.next()}catch(i){return t.error(i),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=(0,c.K)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,u}},5015:function(t,e,n){"use strict";n.d(e,{V:function(){return i}});const i=t=>e=>{for(let n=0,i=t.length;n{class t{constructor(t){this.sanitizer=t}transform(t,e){return this.sanitizer.bypassSecurityTrustHtml(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(s.H7,16))},t.\u0275pipe=i.Yjl({name:"safeHtml",type:t,pure:!0}),t})()},3183:function(t,e,n){"use strict";n.d(e,{h:function(){return y}});var i=n(2238),s=n(7574),r=n(3637),o=n(6561);function a(t){const{subscriber:e,counter:n,period:i}=t;e.next(n),this.schedule({subscriber:e,counter:n+1,period:i},i)}var l=n(3018),c=n(8583),u=n(1095),h=n(7918),d=n(6498);function p(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",3),l.NdJ("click",function(){return l.CHM(t),l.oxw().close()}),l.TgZ(1,"uds-translate"),l._uU(2,"Close"),l.qZA(),l._uU(3),l.qZA()}if(2&t){const t=l.oxw();l.xp6(3),l.Oqu(t.extra)}}function f(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",3),l.NdJ("click",function(){return l.CHM(t),l.oxw().yes()}),l.TgZ(1,"uds-translate"),l._uU(2,"Yes"),l.qZA(),l.qZA()}}function m(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",3),l.NdJ("click",function(){return l.CHM(t),l.oxw().no()}),l.TgZ(1,"uds-translate"),l._uU(2,"No"),l.qZA(),l.qZA()}}var g=(()=>(function(t){t[t.alert=0]="alert",t[t.yesno=1]="yesno"}(g||(g={})),g))();let _=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e,this.subscription=null,this.resetCallbacks(),this.yesno=new s.y(t=>{this.yes=()=>{t.next(!0),t.complete()},this.no=()=>{t.next(!1),t.complete()},this.close=()=>{this.doClose(),t.next(!1),t.complete()};const e=this;return{unsubscribe:()=>e.resetCallbacks()}})}resetCallbacks(){this.yes=this.no=()=>this.close(),this.close=()=>this.doClose()}closed(){null!==this.subscription&&this.subscription.unsubscribe()}doClose(){this.dialogRef.close()}setExtra(t){this.extra=" ("+Math.floor(t/1e3)+" "+django.gettext("seconds")+") "}initAlert(){this.data.autoclose>0?(this.dialogRef.afterClosed().subscribe(t=>{this.closed()}),this.setExtra(this.data.autoclose),this.subscription=function(t=0,e=r.P){return(!(0,o.k)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=r.P),new s.y(n=>(n.add(e.schedule(a,t,{subscriber:n,counter:0,period:t})),n))}(1e3).subscribe(t=>{const e=this.data.autoclose-1e3*(t+1);this.setExtra(e),e<=0&&this.close()})):this.data.checkClose&&(this.dialogRef.afterClosed().subscribe(t=>{this.closed()}),this.subscription=this.data.checkClose.subscribe(t=>{window.setTimeout(()=>{this.doClose()})}))}initYesNo(){}ngOnInit(){this.data.type===g.yesno?this.initYesNo():this.initAlert()}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(i.so),l.Y36(i.WI))},t.\u0275cmp=l.Xpm({type:t,selectors:[["uds-modal"]],decls:8,vars:9,consts:[["mat-dialog-title","",3,"innerHtml"],[3,"innerHTML"],["mat-raised-button","","mat-dialog-close","",3,"click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"click"]],template:function(t,e){1&t&&(l._UZ(0,"h4",0),l.ALo(1,"safeHtml"),l._UZ(2,"mat-dialog-content",1),l.ALo(3,"safeHtml"),l.TgZ(4,"mat-dialog-actions"),l.YNc(5,p,4,1,"button",2),l.YNc(6,f,3,0,"button",2),l.YNc(7,m,3,0,"button",2),l.qZA()),2&t&&(l.Q6J("innerHtml",l.lcZ(1,5,e.data.title),l.oJD),l.xp6(2),l.Q6J("innerHTML",l.lcZ(3,7,e.data.body),l.oJD),l.xp6(3),l.Q6J("ngIf",0==e.data.type),l.xp6(1),l.Q6J("ngIf",1==e.data.type),l.xp6(1),l.Q6J("ngIf",1==e.data.type))},directives:[i.uh,i.xY,i.H8,c.O5,u.lW,i.ZT,h.P],pipes:[d.z],styles:[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]}),t})(),y=(()=>{class t{constructor(t){this.dialog=t}alert(t,e,n=0,i=null){const s=window.innerWidth<800?"80%":"40%";return this.dialog.open(_,{width:s,data:{title:t,body:e,autoclose:n,checkClose:i,type:g.alert},disableClose:!0})}yesno(t,e){const n=window.innerWidth<800?"80%":"40%";return this.dialog.open(_,{width:n,data:{title:t,body:e,type:g.yesno},disableClose:!0}).componentInstance.yesno}}return t.\u0275fac=function(e){return new(e||t)(l.LFG(i.uw))},t.\u0275prov=l.Yz7({token:t,factory:t.\u0275fac}),t})()},2870:function(t,e,n){"use strict";n.d(e,{S:function(){return s}});var i=n(7574);let s=(()=>{class t{constructor(t){this.api=t,this.delay=t.config.launcher_wait_time}launchURL(e){let n="init";const s=t=>{let e=django.gettext("Error communicating with your service. Please, retry again.");"string"==typeof t?e=t:403===t.status&&(e=django.gettext("Your session has expired. Please, login again")),window.setTimeout(()=>{this.showAlert(django.gettext("Error"),e,5e3),403===t.status&&window.setTimeout(()=>{this.api.logout()},5e3)})};if("udsa://"===e.substring(0,7)){const t=e.split("//")[1].split("/"),r=this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Remember that you will need the UDS client on your platform to access the service."),0,new i.y(e=>{let i=0;const o=()=>{r.componentInstance&&this.api.status(t[0],t[1]).subscribe(t=>{"ready"===t.status?(i?Date.now()-i>5*this.delay&&(r.componentInstance.data.title=django.gettext("Service ready")+" - "+django.gettext("UDS Client not launching"),r.componentInstance.data.body=''+django.gettext("It seems that you don't have UDS Client installed. Please, install it from here:")+' '+django.gettext("UDS Client Download")+""):(i=Date.now(),r.componentInstance.data.title=django.gettext("Service ready"),r.componentInstance.data.body=django.gettext("Launching UDS Client, almost done.")),window.setTimeout(o,this.delay)):"accessed"===t.status?(r.componentInstance.data.body=django.gettext("Machine ready, waiting for UDS Client"),e.next(!0),e.complete()):"running"===t.status?window.setTimeout(o,this.delay):(e.next(!0),e.complete(),s())},t=>{e.next(!0),e.complete(),s(t)})},a=()=>{if("init"===n)window.setTimeout(a,this.delay);else{if("error"===n||"stop"===n)return;window.setTimeout(o)}};window.setTimeout(a)}));this.api.enabler(t[0],t[1]).subscribe(t=>{if(t.error)n="error",this.api.gui.alert(django.gettext("Error launching service"),t.error);else{if(t.url.startsWith("/"))return n="stop",void this.launchURL(t.url);"https:"===window.location.protocol&&(t.url=t.url.replace("uds://","udss://")),n="enabled",this.doLaunch(t.url)}},t=>{this.api.logout()})}else{const n=this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Your connection is being prepared. It will open on a new window when ready."),0,new i.y(i=>{const r=()=>{n.componentInstance&&this.api.transportUrl(e).subscribe(e=>{if(e.url)if(i.next(!0),i.complete(),-1!==e.url.indexOf("o_s_w=")){const t=/(.*)&o_s_w=.*/.exec(e.url);window.location.href=t[1]}else{let n="global";if(-1!==e.url.indexOf("o_n_w=")){const t=/(.*)&o_n_w=([a-zA-Z0-9._-]*)/.exec(e.url);t&&(n=t[2],e.url=t[1])}t.transportsWindow[n]&&t.transportsWindow[n].close(),t.transportsWindow[n]=window.open(e.url,"uds_trans_"+n)}else e.running?window.setTimeout(r,this.delay):(i.next(!0),i.complete(),s(e.error))},t=>{i.next(!0),i.complete(),s(t)})};window.setTimeout(r)}))}}showAlert(t,e,n,i=null){return this.api.gui.alert(django.gettext("Launching service"),'

'+t+'

'+e+"

",n,i)}doLaunch(t){let e=document.getElementById("hiddenUdsLauncherIFrame");if(null===e){const t=document.createElement("div");t.id="testID",t.innerHTML='',document.body.appendChild(t),e=document.getElementById("hiddenUdsLauncherIFrame")}e.contentWindow.location.href=t}}return t.transportsWindow={},t})()},4902:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{G:function(){return LoginComponent}});var _uds_api_service__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7540),_angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3018),_angular_forms__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(665),_angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8295),_translate_directive__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(7918),_angular_material_input__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(9983),_angular_common__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8583),_angular_material_button__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1095),_angular_material_select__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(7441),_angular_material_core__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(2458),_gui_safe_html_pipe__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(6498);function LoginComponent_div_22_mat_option_6_Template(t,e){if(1&t&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(0,"mat-option",20),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()),2&t){const t=e.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("value",t.id),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.hij(" ",t.name," ")}}function LoginComponent_div_22_Template(t,e){if(1&t){const t=_angular_core__WEBPACK_IMPORTED_MODULE_1__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(0,"div",9),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(1,"mat-form-field",17),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(2,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(3,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(4,"Authenticator"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(5,"mat-select",18),_angular_core__WEBPACK_IMPORTED_MODULE_1__.NdJ("selectionChange",function(e){return _angular_core__WEBPACK_IMPORTED_MODULE_1__.CHM(t),_angular_core__WEBPACK_IMPORTED_MODULE_1__.oxw().changeAuth(e.value)}),_angular_core__WEBPACK_IMPORTED_MODULE_1__.YNc(6,LoginComponent_div_22_mat_option_6_Template,2,2,"mat-option",19),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()}if(2&t){const t=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("value",t.auths[0].id),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("ngForOf",t.auths)}}let LoginComponent=(()=>{class LoginComponent{constructor(t){this.api=t,this.title="UDS Enterprise",this.title=t.config.site_name,this.auths=t.config.authenticators.slice(0),this.auths.sort((t,e)=>t.priority-e.priority)}ngOnInit(){document.getElementById("loginform").action=this.api.config.urls.login;const t=document.getElementById("token");t.name=this.api.config.csrf_field,t.value=this.api.config.csrf,this.auth=document.getElementById("authenticator"),this.auths.length>0&&(this.auth.value=this.auths[0].id,this.changeAuth(this.auth.value)),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}changeAuth(auth){this.auth.value=auth;const doCustomAuth=data=>{eval(data)};for(const t of this.auths)t.id===auth&&t.is_custom&&(document.getElementsByClassName("login-form")[0].setAttribute("style","display: none;"),this.api.getAuthCustomHtml(t.id).subscribe(t=>doCustomAuth(t)))}launch(){return document.getElementById("loginform").submit(),!0}}return LoginComponent.\u0275fac=function(t){return new(t||LoginComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.Y36(_uds_api_service__WEBPACK_IMPORTED_MODULE_0__.n))},LoginComponent.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Xpm({type:LoginComponent,selectors:[["uds-login"]],decls:29,vars:6,consts:[["id","loginform","method","post",3,"ngSubmit"],["name","","id","token","value","","type","hidden"],["name","logouturl","id","id_logouturl","value","","type","hidden"],["name","authenticator","id","authenticator","value","","type","hidden"],[1,"login-container"],[1,"login-brand"],[3,"src"],[1,"login-info"],[1,"login-form"],[1,"login-field"],["appearance","standard"],["matInput","","id","id_user","name","user","value","","required","","autofocus",""],["matInput","","id","id_password","type","password","name","password","data-eye","",1,"form-control"],["class","login-field",4,"ngIf"],[1,"login-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"site-info",3,"innerHTML"],["appaerance","standard"],[3,"value","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(0,"form",0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.NdJ("ngSubmit",function(){return e.launch()}),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(1,"input",1),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(2,"input",2),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(3,"input",3),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(4,"div",4),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(5,"div",5),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(6,"img",6),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(7,"div",7),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(9,"div",8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(10,"div",9),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(11,"mat-form-field",10),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(12,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(13,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(14,"Username"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(15,"input",11),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(16,"div",9),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(17,"mat-form-field",10),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(18,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(19,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(20,"Password"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(21,"input",12),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.YNc(22,LoginComponent_div_22_Template,7,2,"div",13),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(23,"div",14),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(24,"button",15),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(25,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(26,"Login"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(27,"div",16),_angular_core__WEBPACK_IMPORTED_MODULE_1__.ALo(28,"safeHtml"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()),2&t&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(6),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("src",e.api.staticURL("modern/img/login-img.png"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LSH),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_1__.hij(" ",e.title," "),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(14),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("ngIf",e.auths.length>1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("innerHTML",_angular_core__WEBPACK_IMPORTED_MODULE_1__.lcZ(28,4,e.api.config.site_information),_angular_core__WEBPACK_IMPORTED_MODULE_1__.oJD))},directives:[_angular_forms__WEBPACK_IMPORTED_MODULE_2__._Y,_angular_forms__WEBPACK_IMPORTED_MODULE_2__.JL,_angular_forms__WEBPACK_IMPORTED_MODULE_2__.F,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__.KE,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__.hX,_translate_directive__WEBPACK_IMPORTED_MODULE_4__.P,_angular_material_input__WEBPACK_IMPORTED_MODULE_5__.Nt,_angular_common__WEBPACK_IMPORTED_MODULE_6__.O5,_angular_material_button__WEBPACK_IMPORTED_MODULE_7__.lW,_angular_material_select__WEBPACK_IMPORTED_MODULE_8__.gD,_angular_common__WEBPACK_IMPORTED_MODULE_6__.sg,_angular_material_core__WEBPACK_IMPORTED_MODULE_9__.ey],pipes:[_gui_safe_html_pipe__WEBPACK_IMPORTED_MODULE_10__.z],styles:[".login-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.login-brand[_ngcontent-%COMP%]{margin:1rem 0 0}.login-info[_ngcontent-%COMP%]{margin:1rem 0}.login-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.login-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.login-button[_ngcontent-%COMP%]{margin:2rem}.mat-form-field[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width:744px){.login-form[_ngcontent-%COMP%]{min-width:80%}}"]}),LoginComponent})()},7918:function(t,e,n){"use strict";n.d(e,{P:function(){return s}});var i=n(3018);let s=(()=>{class t{constructor(t){this.el=t}ngOnInit(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq))},t.\u0275dir=i.lG2({type:t,selectors:[["uds-translate"]]}),t})()},3513:function(t,e,n){"use strict";n.d(e,{n:function(){return i}});class i{constructor(t){this.user=t.user,this.role=t.role,this.admin=t.admin}get isStaff(){return"staff"===this.role||"admin"===this.role}get isAdmin(){return"admin"===this.role}get isLogged(){return null!=this.user}get isRestricted(){return"restricted"===this.role}}},7540:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{n:function(){return UDSApiService}});var _types_config__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3513),_helpers_plugin__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(2870),_environments_environment__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2340),_angular_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(3018),_angular_common_http__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1841),_gui_uds_gui_service__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(3183),_angular_router__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8741);let UDSApiService=(()=>{class UDSApiService{constructor(t,e,n){this.http=t,this.gui=e,this.router=n,this.user=new _types_config__WEBPACK_IMPORTED_MODULE_1__.n(udsData.profile),this.transportsWindow=null,this.plugin=new _helpers_plugin__WEBPACK_IMPORTED_MODULE_2__.S(this)}get config(){return udsData.config}get staffInfo(){return udsData.info}get plugins(){return udsData.plugins}get actors(){return udsData.actors}get errors(){return udsData.errors}enabler(t,e){const n=this.config.urls.enabler.replace("param1",t).replace("param2",e);return this.http.get(n)}status(t,e){const n=this.config.urls.status.replace("param1",t).replace("param2",e);return this.http.get(n)}action(t,e){const n=this.config.urls.action.replace("param1",e).replace("param2",t);return this.http.get(n)}transportUrl(t){return this.http.get(t)}galleryImageURL(t){return this.config.urls.galleryImage.replace("param1",t)}transportIconURL(t){return this.config.urls.transportIcon.replace("param1",t)}staticURL(t){return _environments_environment__WEBPACK_IMPORTED_MODULE_0__.N.production?this.config.urls.static+t:"/static/"+t}getServicesInformation(){return this.http.get(this.config.urls.services)}executeCustomJSForServiceLaunch(){void 0!==udsData.customJSForServiceLaunch&&eval(udsData.customJSForServiceLaunch)}gotoAdmin(){window.location.href=this.config.urls.admin}logout(){window.location.href=this.config.urls.logout}launchURL(t){this.plugin.launchURL(t)}getAuthCustomHtml(t){return this.http.get(this.config.urls.customAuth+t,{responseType:"text"})}}return UDSApiService.\u0275fac=function(t){return new(t||UDSApiService)(_angular_core__WEBPACK_IMPORTED_MODULE_3__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_4__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_3__.LFG(_gui_uds_gui_service__WEBPACK_IMPORTED_MODULE_5__.h),_angular_core__WEBPACK_IMPORTED_MODULE_3__.LFG(_angular_router__WEBPACK_IMPORTED_MODULE_6__.F0))},UDSApiService.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_3__.Yz7({token:UDSApiService,factory:UDSApiService.\u0275fac}),UDSApiService})()},2340:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});const i={production:!0}},1479:function(t,e,n){"use strict";var i=n(9075),s=n(3018),r=n(9490),o=n(9765),a=n(739),l=n(8071),c=n(7574),u=n(5257),h=n(3653),d=n(4395),p=n(8002),f=n(9761),m=n(6782),g=n(521);let _=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();const y=new Set;let b,v=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):w}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!y.has(t))try{b||(b=document.createElement("style"),b.setAttribute("type","text/css"),document.head.appendChild(b)),b.sheet&&(b.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),y.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(g.t4))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(g.t4))},token:t,providedIn:"root"}),t})();function w(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let C=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new o.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return x((0,r.Eq)(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=x((0,r.Eq)(t)).map(t=>this._registerQuery(t).observable);let n=(0,a.aj)(e);return n=(0,l.z)(n.pipe((0,u.q)(1)),n.pipe((0,h.T)(1),(0,d.b)(0))),n.pipe((0,p.U)(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(({matches:t,query:n})=>{e.matches=e.matches||t,e.breakpoints[n]=t}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),n={observable:new c.y(t=>{const n=e=>this._zone.run(()=>t.next(e));return e.addListener(n),()=>{e.removeListener(n)}}).pipe((0,f.O)(e),(0,p.U)(({matches:e})=>({query:t,matches:e})),(0,m.R)(this._destroySubject)),mql:e};return this._queries.set(t,n),n}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(v),s.LFG(s.R0b))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(v),s.LFG(s.R0b))},token:t,providedIn:"root"}),t})();function x(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}var E=n(1841),S=n(8741),k=n(7540);let O=(()=>{class t{constructor(t){this.api=t}canActivate(t,e){return!!this.api.user.isLogged||(this.api.router.navigate(["login"]),!1)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(k.n))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var T=n(4902),A=n(7918),P=n(8583);function I(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",6),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw().download(e.url)}),s.TgZ(1,"div",7),s._UZ(2,"img",8),s.qZA(),s.TgZ(3,"div",9),s._uU(4),s.qZA(),s.TgZ(5,"div",10),s._uU(6),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw();s.Tol(n.css(t)),s.xp6(2),s.Q6J("src",n.img(t.name),s.LSH),s.xp6(2),s.lnq(" ",n.legacy(t)," ",t.name," (",t.url.split(".").pop(),") "),s.xp6(2),s.hij(" ",t.description," ")}}let R=(()=>{class t{constructor(t){this.api=t}ngOnInit(){}download(t){window.location.href=t}img(t){return this.api.staticURL("modern/img/"+t+".png")}css(t){const e=["plugin"];return t.legacy&&e.push("legacy"),e}legacy(t){return t.legacy?"Legacy":""}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-client-download"]],decls:16,vars:1,consts:[[1,"plugins-container"],[1,"banner"],[1,"banner-text"],[1,"plugins"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"platform"],[1,"description"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"div",2),s.TgZ(3,"h1"),s.TgZ(4,"uds-translate"),s._uU(5,"UDS Client"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.TgZ(6,"div",3),s.YNc(7,I,7,7,"div",4),s.qZA(),s.TgZ(8,"div",5),s.TgZ(9,"ul"),s.TgZ(10,"li"),s.TgZ(11,"uds-translate"),s._uU(12,"Download UDS client for your platform"),s.qZA(),s.qZA(),s.TgZ(13,"li"),s.TgZ(14,"uds-translate"),s._uU(15,"Legacy clients are only provided for old operating system support. Try to avoid them."),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(7),s.Q6J("ngForOf",e.api.plugins))},directives:[A.P,P.sg],styles:[".plugins-container[_ngcontent-%COMP%]{margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3rem;text-align:center}.banner-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1rem}.plugins[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center}.plugin[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;padding:1rem;border-radius:1rem;box-shadow:0 1rem 2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 15%}.plugin.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;flex:1 0 19%;max-width:20%}.plugin.legacy[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:5rem}.plugin[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);background-color:rgba(0,0,0,.1)}.image[_ngcontent-%COMP%]{display:flex;justify-content:center}.platform[_ngcontent-%COMP%]{text-align:center;font-size:2rem}.description[_ngcontent-%COMP%]{display:flex;text-align:center;justify-content:center;margin-top:.5rem}"]}),t})();var D=n(6498);function M(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",6),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw().download(e.url)}),s.TgZ(1,"div",7),s._UZ(2,"img",8),s.qZA(),s._UZ(3,"div",9),s.ALo(4,"safeHtml"),s._UZ(5,"div",10),s.ALo(6,"safeHtml"),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw();s.Tol(n.css(t.name)),s.xp6(2),s.Q6J("src",n.img(t.name),s.LSH),s.xp6(1),s.Q6J("innerHTML",s.lcZ(4,5,t.name),s.oJD),s.xp6(2),s.Q6J("innerHTML",s.lcZ(6,7,t.description),s.oJD)}}let L=(()=>{class t{constructor(t){this.api=t}ngOnInit(){this.actors=[];const t=[];this.api.actors.forEach(e=>{e.name.includes("legacy")?t.push(e):this.actors.push(e)}),t.forEach(t=>{this.actors.push(t)})}download(t){window.location.href=t}img(t){const e=t.split(".").pop().toLowerCase();let n="Linux";return"exe"===e?n="Windows":"pkg"===e&&(n="MacOS"),this.api.staticURL("modern/img/"+n+".png")}css(t){const e=["actor"];return t.toLowerCase().includes("legacy")&&e.push("legacy"),e}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-downloads"]],decls:16,vars:1,consts:[[1,"actors-container"],[1,"banner"],[1,"banner-text"],[1,"actors"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"name",3,"innerHTML"],[1,"description",3,"innerHTML"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"div",2),s.TgZ(3,"h1"),s.TgZ(4,"uds-translate"),s._uU(5,"Downloads"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.TgZ(6,"div",3),s.YNc(7,M,7,9,"div",4),s.qZA(),s.TgZ(8,"div",5),s.TgZ(9,"ul"),s.TgZ(10,"li"),s.TgZ(11,"uds-translate"),s._uU(12,"Always download the UDS actor matching your platform"),s.qZA(),s.qZA(),s.TgZ(13,"li"),s.TgZ(14,"uds-translate"),s._uU(15,"Legacy actors are only provided for old operating system support. Try to avoid them."),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(7),s.Q6J("ngForOf",e.actors))},directives:[A.P,P.sg],pipes:[D.z],styles:[".actors-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2em;text-align:center}.actors[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-around;align-content:center;margin:auto}.actor[_ngcontent-%COMP%]{border:1px solid;margin-top:1rem;padding:1em;border-radius:1rem;box-shadow:0 1rem 2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 34%;margin-right:1em}.actor.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;max-width:50%}.actor[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);background-color:rgba(0,0,0,.1)}.image[_ngcontent-%COMP%]{display:block;float:left;padding-right:1rem;height:100%}.image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:4rem}.name[_ngcontent-%COMP%]{font-size:1.5em;margin-bottom:1em;font-weight:700;overflow:hidden}"]}),t})();var F=n(5319),N=n(8345);let B=0;const U=new s.OlP("CdkAccordion");let Z=(()=>{class t{constructor(){this._stateChanges=new o.xQ,this._openCloseAllActions=new o.xQ,this.id="cdk-accordion-"+B++,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=(0,r.Ig)(t)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[s._Bn([{provide:U,useExisting:t}]),s.TTD]}),t})(),j=0,q=(()=>{class t{constructor(t,e,n){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=n,this._openCloseAllSubscription=F.w.EMPTY,this.closed=new s.vpe,this.opened=new s.vpe,this.destroyed=new s.vpe,this.expandedChange=new s.vpe,this.id="cdk-accordion-child-"+j++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=n.listen((t,e)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===e&&this.id!==t&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(t){t=(0,r.Ig)(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(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(t){this._disabled=(0,r.Ig)(t)}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(t=>{this.disabled||(this.expanded=t)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(U,12),s.Y36(s.sBO),s.Y36(N.A8))},t.\u0275dir=s.lG2({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[s._Bn([{provide:U,useValue:void 0}])]}),t})(),V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();var H=n(7636),z=n(2458),Y=n(9238),G=n(7519),K=n(5435),$=n(6461),W=n(6237),Q=n(9193),J=n(6682),X=n(7238);const tt=["body"];function et(t,e){}const nt=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],it=["mat-expansion-panel-header","*","mat-action-row"];function st(t,e){if(1&t&&s._UZ(0,"span",2),2&t){const t=s.oxw();s.Q6J("@indicatorRotate",t._getExpandedState())}}const rt=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],ot=["mat-panel-title","mat-panel-description","*"],at=new s.OlP("MAT_ACCORDION"),lt={indicatorRotate:(0,X.X$)("indicatorRotate",[(0,X.SB)("collapsed, void",(0,X.oB)({transform:"rotate(0deg)"})),(0,X.SB)("expanded",(0,X.oB)({transform:"rotate(180deg)"})),(0,X.eR)("expanded <=> collapsed, void => collapsed",(0,X.jt)("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),bodyExpansion:(0,X.X$)("bodyExpansion",[(0,X.SB)("collapsed, void",(0,X.oB)({height:"0px",visibility:"hidden"})),(0,X.SB)("expanded",(0,X.oB)({height:"*",visibility:"visible"})),(0,X.eR)("expanded <=> collapsed, void => collapsed",(0,X.jt)("225ms cubic-bezier(0.4,0.0,0.2,1)"))])};let ct=(()=>{class t{constructor(t){this._template=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc))},t.\u0275dir=s.lG2({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t})(),ut=0;const ht=new s.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let dt=(()=>{class t extends q{constructor(t,e,n,i,r,a,l){super(t,e,n),this._viewContainerRef=i,this._animationMode=a,this._hideToggle=!1,this.afterExpand=new s.vpe,this.afterCollapse=new s.vpe,this._inputChanges=new o.xQ,this._headerId="mat-expansion-panel-header-"+ut++,this._bodyAnimationDone=new o.xQ,this.accordion=t,this._document=r,this._bodyAnimationDone.pipe((0,G.x)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{"void"!==t.fromState&&("expanded"===t.toState?this.afterExpand.emit():"collapsed"===t.toState&&this.afterCollapse.emit())}),l&&(this.hideToggle=l.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=(0,r.Ig)(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_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.opened.pipe((0,f.O)(null),(0,K.h)(()=>this.expanded&&!this._portal),(0,u.q)(1)).subscribe(()=>{this._portal=new H.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(at,12),s.Y36(s.sBO),s.Y36(N.A8),s.Y36(s.s_b),s.Y36(P.K0),s.Y36(W.Qb,8),s.Y36(ht,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(t,e,n){if(1&t&&s.Suo(n,ct,5),2&t){let t;s.iGM(t=s.CRH())&&(e._lazyContent=t.first)}},viewQuery:function(t,e){if(1&t&&s.Gf(tt,5),2&t){let t;s.iGM(t=s.CRH())&&(e._body=t.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,e){2&t&&s.ekj("mat-expanded",e.expanded)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-expansion-panel-spacing",e._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[s._Bn([{provide:at,useValue:void 0}]),s.qOj,s.TTD],ngContentSelectors:it,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(s.F$t(nt),s.Hsn(0),s.TgZ(1,"div",0,1),s.NdJ("@bodyExpansion.done",function(t){return e._bodyAnimationDone.next(t)}),s.TgZ(3,"div",2),s.Hsn(4,1),s.YNc(5,et,0,0,"ng-template",3),s.qZA(),s.Hsn(6,2),s.qZA()),2&t&&(s.xp6(1),s.Q6J("@bodyExpansion",e._getExpandedState())("id",e.id),s.uIk("aria-labelledby",e._headerId),s.xp6(4),s.Q6J("cdkPortalOutlet",e._portal))},directives:[H.Pl],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-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 button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[lt.bodyExpansion]},changeDetection:0}),t})();class pt{}const ft=(0,z.sb)(pt);let mt=(()=>{class t extends ft{constructor(t,e,n,i,s,r,o){super(),this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=i,this._animationMode=r,this._parentChangeSubscription=F.w.EMPTY;const a=t.accordion?t.accordion._stateChanges.pipe((0,K.h)(t=>!(!t.hideToggle&&!t.togglePosition))):Q.E;this.tabIndex=parseInt(o||"")||0,this._parentChangeSubscription=(0,J.T)(t.opened,t.closed,a,t._inputChanges.pipe((0,K.h)(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe((0,K.h)(()=>t._containsFocus())).subscribe(()=>n.focusVia(e,"program")),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.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 t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}_keydown(t){switch(t.keyCode){case $.L_:case $.K5:(0,$.Vb)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t,e){t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(t=>{t&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(dt,1),s.Y36(s.SBq),s.Y36(Y.tE),s.Y36(s.sBO),s.Y36(ht,8),s.Y36(W.Qb,8),s.$8M("tabindex"))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e._toggle()})("keydown",function(t){return e._keydown(t)}),2&t&&(s.uIk("id",e.panel._headerId)("tabindex",e.tabIndex)("aria-controls",e._getPanelId())("aria-expanded",e._isExpanded())("aria-disabled",e.panel.disabled),s.Udp("height",e._getHeaderHeight()),s.ekj("mat-expanded",e._isExpanded())("mat-expansion-toggle-indicator-after","after"===e._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===e._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[s.qOj],ngContentSelectors:ot,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(t,e){1&t&&(s.F$t(rt),s.TgZ(0,"span",0),s.Hsn(1),s.Hsn(2,1),s.Hsn(3,2),s.qZA(),s.YNc(4,st,1,1,"span",1)),2&t&&(s.xp6(4),s.Q6J("ngIf",e._showToggle()))},directives:[P.O5],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-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[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 .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}\n'],encapsulation:2,data:{animation:[lt.indicatorRotate]},changeDetection:0}),t})(),gt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),t})(),_t=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t})(),yt=(()=>{class t extends Z{constructor(){super(...arguments),this._ownHeaders=new s.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=(0,r.Ig)(t)}ngAfterContentInit(){this._headers.changes.pipe((0,f.O)(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Y.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(t){this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["mat-accordion"]],contentQueries:function(t,e,n){if(1&t&&s.Suo(n,mt,5),2&t){let t;s.iGM(t=s.CRH())&&(e._headers=t)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("mat-accordion-multi",e.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[s._Bn([{provide:at,useExisting:t}]),s.qOj]}),t})(),bt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[P.ez,z.BQ,V,H.eL]]}),t})();function vt(t,e){if(1&t&&(s.TgZ(0,"li"),s.TgZ(1,"uds-translate"),s._uU(2,"Detected proxy ip"),s.qZA(),s._uU(3),s.qZA()),2&t){const t=s.oxw(2);s.xp6(3),s.hij(": ",t.api.staffInfo.ip_proxy,"")}}function wt(t,e){if(1&t&&(s.TgZ(0,"li"),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t)}}function Ct(t,e){if(1&t&&(s.TgZ(0,"span"),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t)}}function xt(t,e){if(1&t&&(s.TgZ(0,"div",1),s.TgZ(1,"h1"),s.TgZ(2,"uds-translate"),s._uU(3,"Information"),s.qZA(),s.qZA(),s.TgZ(4,"mat-accordion"),s.TgZ(5,"mat-expansion-panel"),s.TgZ(6,"mat-expansion-panel-header",2),s.TgZ(7,"mat-panel-title"),s._uU(8," IPs "),s.qZA(),s.TgZ(9,"mat-panel-description"),s.TgZ(10,"uds-translate"),s._uU(11,"Client IP"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(12,"ol"),s.TgZ(13,"li"),s.TgZ(14,"uds-translate"),s._uU(15,"Client IP"),s.qZA(),s._uU(16),s.qZA(),s.YNc(17,vt,4,1,"li",3),s.qZA(),s.qZA(),s.TgZ(18,"mat-expansion-panel"),s.TgZ(19,"mat-expansion-panel-header",2),s.TgZ(20,"mat-panel-title"),s.TgZ(21,"uds-translate"),s._uU(22,"Transports"),s.qZA(),s.qZA(),s.TgZ(23,"mat-panel-description"),s.TgZ(24,"uds-translate"),s._uU(25,"UDS transports for this client"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(26,"ol"),s.YNc(27,wt,2,1,"li",4),s.qZA(),s.qZA(),s.TgZ(28,"mat-expansion-panel"),s.TgZ(29,"mat-expansion-panel-header",2),s.TgZ(30,"mat-panel-title"),s.TgZ(31,"uds-translate"),s._uU(32,"Networks"),s.qZA(),s.qZA(),s.TgZ(33,"mat-panel-description"),s.TgZ(34,"uds-translate"),s._uU(35,"UDS networks for this IP"),s.qZA(),s.qZA(),s.qZA(),s.YNc(36,Ct,2,1,"span",4),s._uU(37,"\xa0 "),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(16),s.hij(": ",t.api.staffInfo.ip,""),s.xp6(1),s.Q6J("ngIf",t.api.staffInfo.ip_proxy!==t.api.staffInfo.ip),s.xp6(10),s.Q6J("ngForOf",t.api.staffInfo.transports),s.xp6(9),s.Q6J("ngForOf",t.api.staffInfo.networks)}}let Et=(()=>{class t{constructor(t){this.api=t}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-staff-info"]],decls:1,vars:1,consts:[["class","staff-info",4,"ngIf"],[1,"staff-info"],[1,"staff-panel"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(t,e){1&t&&s.YNc(0,xt,38,4,"div",0),2&t&&s.Q6J("ngIf",e.api.staffInfo)},directives:[P.O5,A.P,yt,dt,mt,_t,gt,P.sg],styles:[".staff-info[_ngcontent-%COMP%]{margin-top:1rem;padding:1rem;background-color:#ebebeb}.staff-info[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{text-align:center}.staff-panel[_ngcontent-%COMP%]{background-color:#d4d4d4}"]}),t})();var St=n(2759),kt=n(3342),Ot=n(8295),Tt=n(9983);const At=["input"];let Pt=(()=>{class t{constructor(){this.updateEvent=new s.vpe}ngAfterViewInit(){(0,St.R)(this.input.nativeElement,"keyup").pipe((0,K.h)(Boolean),(0,d.b)(600),(0,G.x)(),(0,kt.b)(()=>this.update(this.input.nativeElement.value))).subscribe()}update(t){this.updateEvent.emit(t.toLowerCase())}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-filter"]],viewQuery:function(t,e){if(1&t&&s.Gf(At,7),2&t){let t;s.iGM(t=s.CRH())&&(e.input=t.first)}},outputs:{updateEvent:"updateEvent"},decls:9,vars:0,consts:[[1,"filter"],["floatLabel","auto",1,"nav-input-field"],["matInput","","type","text"],["input",""],["matSuffix","",1,"material-icons"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"mat-form-field",1),s.TgZ(2,"mat-label"),s.TgZ(3,"uds-translate"),s._uU(4,"Filter"),s.qZA(),s.qZA(),s._UZ(5,"input",2,3),s.TgZ(7,"i",4),s._uU(8,"search"),s.qZA(),s.qZA(),s.qZA())},directives:[Ot.KE,Ot.hX,A.P,Tt.Nt,Ot.R9],styles:[".filter[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;justify-content:flex-end;font-size:.8rem}"]}),t})();var It=n(5917),Rt=n(4581),Dt=n(3190),Mt=n(3637),Lt=n(7393),Ft=n(1593);function Nt(t,e=Mt.P){var n;const i=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return t=>t.lift(new Bt(i,e))}class Bt{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new Ut(t,this.delay,this.scheduler))}}class Ut extends Lt.L{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,i=t.scheduler,s=t.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(s);if(n.length>0){const e=Math.max(0,n[0].time-i.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(Ut.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new Zt(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(Ft.P.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(Ft.P.createComplete()),this.unsubscribe()}}class Zt{constructor(t,e){this.time=t,this.notification=e}}var jt=n(625),qt=n(9243),Vt=n(946);const Ht=["mat-menu-item",""],zt=["*"];function Yt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",0),s.NdJ("keydown",function(e){return s.CHM(t),s.oxw()._handleKeydown(e)})("click",function(){return s.CHM(t),s.oxw().closed.emit("click")})("@transformMenu.start",function(e){return s.CHM(t),s.oxw()._onAnimationStart(e)})("@transformMenu.done",function(e){return s.CHM(t),s.oxw()._onAnimationDone(e)}),s.TgZ(1,"div",1),s.Hsn(2),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),s.uIk("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const Gt={transformMenu:(0,X.X$)("transformMenu",[(0,X.SB)("void",(0,X.oB)({opacity:0,transform:"scale(0.8)"})),(0,X.eR)("void => enter",(0,X.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,X.oB)({opacity:1,transform:"scale(1)"}))),(0,X.eR)("* => void",(0,X.jt)("100ms 25ms linear",(0,X.oB)({opacity:0})))]),fadeInItems:(0,X.X$)("fadeInItems",[(0,X.SB)("showing",(0,X.oB)({opacity:1})),(0,X.eR)("void => *",[(0,X.oB)({opacity:0}),(0,X.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Kt=new s.OlP("MatMenuContent"),$t=new s.OlP("MAT_MENU_PANEL"),Wt=(0,z.Kr)((0,z.Id)(class{}));let Qt=(()=>{class t extends Wt{constructor(t,e,n,i){super(),this._elementRef=t,this._focusMonitor=n,this._parentMenu=i,this.role="menuitem",this._hovered=new o.xQ,this._focused=new o.xQ,this._highlighted=!1,this._triggersSubmenu=!1,i&&i.addItem&&i.addItem(this)}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),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(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var t,e;const n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons");for(let s=0;s{class t{constructor(t,e,n){this._elementRef=t,this._ngZone=e,this._defaultOptions=n,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new s.n_E,this._tabSubscription=F.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new o.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new s.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Xt++}get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=(0,r.Ig)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,r.Ig)(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Y.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,f.O)(this._directDescendantItems),(0,Dt.w)(t=>(0,J.T)(...t.map(t=>t._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,f.O)(this._directDescendantItems),(0,Dt.w)(t=>(0,J.T)(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,n=this._keyManager;switch(e){case $.hY:(0,$.Vb)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case $.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case $.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:e!==$.LH&&e!==$.JH||n.setFocusOrigin("keyboard"),n.onKeydown(t)}}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.pipe((0,u.q)(1)).subscribe(()=>this._focusFirstItem(t)):this._focusFirstItem(t)}_focusFirstItem(t){const e=this._keyManager;if(e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if("menu"===t.getAttribute("role")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e=Math.min(this._baseElevation+t,24),n=`${this._elevationPrefix}${e}`,i=Object.keys(this._classList).find(t=>t.startsWith(this._elevationPrefix));i&&i!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[n]=!0,this._previousElevation=n)}setPositionClasses(t=this.xPosition,e=this.yPosition){const n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,f.O)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(Jt))},t.\u0275dir=s.lG2({type:t,contentQueries:function(t,e,n){if(1&t&&(s.Suo(n,Kt,5),s.Suo(n,Qt,5),s.Suo(n,Qt,4)),2&t){let t;s.iGM(t=s.CRH())&&(e.lazyContent=t.first),s.iGM(t=s.CRH())&&(e._allItems=t),s.iGM(t=s.CRH())&&(e.items=t)}},viewQuery:function(t,e){if(1&t&&s.Gf(s.Rgc,5),2&t){let t;s.iGM(t=s.CRH())&&(e.templateRef=t.first)}},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),t})(),ee=(()=>{class t extends te{constructor(t,e,n){super(t,e,n),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(Jt))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,e){2&t&&s.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[s._Bn([{provide:$t,useExisting:t}]),s.qOj],ngContentSelectors:zt,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,e){1&t&&(s.F$t(),s.YNc(0,Yt,3,6,"ng-template"))},directives:[P.mk],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[Gt.transformMenu,Gt.fadeInItems]},changeDetection:0}),t})();const ne=new s.OlP("mat-menu-scroll-strategy"),ie={provide:ne,deps:[jt.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},se=(0,g.i$)({passive:!0});let re=(()=>{class t{constructor(t,e,n,i,r,o,a,l){this._overlay=t,this._element=e,this._viewContainerRef=n,this._menuItemInstance=o,this._dir=a,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=F.w.EMPTY,this._hoverSubscription=F.w.EMPTY,this._menuCloseSubscription=F.w.EMPTY,this._handleTouchStart=t=>{(0,Y.yG)(t)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new s.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new s.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=i,this._parentMaterialMenu=r instanceof te?r:void 0,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,se),o&&(o._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(t=>{this._destroyMenu(t),"click"!==t&&"tab"!==t||!this._parentMaterialMenu||this._parentMaterialMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,se),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)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof te&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}updatePosition(){var t;null===(t=this._overlayRef)||void 0===t||t.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;const e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),!this.restoreFocus||"keydown"!==t&&this._openedBy&&this.triggersSubmenu()||this.focus(this._openedBy),this._openedBy=void 0,e instanceof te?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe((0,K.h)(t=>"void"===t.toState),(0,u.q)(1),(0,m.R)(e.lazyContent._attached)).subscribe({next:()=>e.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new jt.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[e,n]="before"===this.menu.xPosition?["end","start"]:["start","end"],[i,s]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[r,o]=[i,s],[a,l]=[e,n],c=0;this.triggersSubmenu()?(l=e="before"===this.menu.xPosition?"start":"end",n=a="end"===e?"start":"end",c="bottom"===i?8:-8):this.menu.overlapTrigger||(r="top"===i?"bottom":"top",o="top"===s?"bottom":"top"),t.withPositions([{originX:e,originY:r,overlayX:a,overlayY:i,offsetY:c},{originX:n,originY:r,overlayX:l,overlayY:i,offsetY:c},{originX:e,originY:o,overlayX:a,overlayY:s,offsetY:-c},{originX:n,originY:o,overlayX:l,overlayY:s,offsetY:-c}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),n=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,It.of)(),i=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,K.h)(t=>t!==this._menuItemInstance),(0,K.h)(()=>this._menuOpen)):(0,It.of)();return(0,J.T)(t,n,i,e)}_handleMousedown(t){(0,Y.X6)(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;e!==$.K5&&e!==$.L_||(this._openedBy="keyboard"),this.triggersSubmenu()&&(e===$.SV&&"ltr"===this.dir||e===$.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,K.h)(t=>t===this._menuItemInstance&&!t.disabled),Nt(0,Rt.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof te&&this.menu._isAnimating?this.menu._animationDone.pipe((0,u.q)(1),Nt(0,Rt.E),(0,m.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new H.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(jt.aV),s.Y36(s.SBq),s.Y36(s.s_b),s.Y36(ne),s.Y36($t,8),s.Y36(Qt,10),s.Y36(Vt.Is,8),s.Y36(Y.tE))},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("mousedown",function(t){return e._handleMousedown(t)})("keydown",function(t){return e._handleKeydown(t)})("click",function(t){return e._handleClick(t)}),2&t&&s.uIk("aria-expanded",e.menuOpen||null)("aria-controls",e.menuOpen?e.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),t})(),oe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[ie],imports:[z.BQ]}),t})(),ae=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[ie],imports:[[P.ez,z.BQ,z.si,jt.U8,oe],qt.ZD,z.BQ,oe]}),t})();const le={tooltipState:(0,X.X$)("state",[(0,X.SB)("initial, void, hidden",(0,X.oB)({opacity:0,transform:"scale(0)"})),(0,X.SB)("visible",(0,X.oB)({transform:"scale(1)"})),(0,X.eR)("* => visible",(0,X.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,X.F4)([(0,X.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,X.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,X.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,X.eR)("* => hidden",(0,X.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,X.oB)({opacity:0})))])},ce=(0,g.i$)({passive:!0}),ue=new s.OlP("mat-tooltip-scroll-strategy"),he={provide:ue,deps:[jt.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},de=new s.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let pe=(()=>{class t{constructor(t,e,n,i,s,r,a,l,c,u,h,d){this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=s,this._platform=r,this._ariaDescriber=a,this._focusMonitor=l,this._dir=u,this._defaultOptions=h,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new o.xQ,this._handleKeydown=t=>{this._isTooltipVisible()&&t.keyCode===$.hY&&!(0,$.Vb)(t)&&(t.preventDefault(),t.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=c,this._document=d,h&&(h.position&&(this.position=h.position),h.touchGestures&&(this.touchGestures=h.touchGestures)),u.change.pipe((0,m.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),s.runOutsideAngular(()=>{e.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){var e;t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(e=this._tooltipInstance)||void 0===e||e.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,r.Ig)(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).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(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,m.R)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([e,n])=>{t.removeEventListener(e,n,ce)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new H.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,m.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return e.positionChanges.pipe((0,m.R)(this._destroyed)).subscribe(t=>{this._updateCurrentPositionClass(t.connectionPair),this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:`${this._cssClassPrefix}-tooltip-panel`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,m.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){const e=t.getConfig().positionStrategy,n=this._getOrigin(),i=this._getOverlayPosition();e.withPositions([this._addOffset(Object.assign(Object.assign({},n.main),i.main)),this._addOffset(Object.assign(Object.assign({},n.fallback),i.fallback))])}_addOffset(t){return t}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;"above"==e||"below"==e?n={originX:"center",originY:"above"==e?"top":"bottom"}:"before"==e||"left"==e&&t||"right"==e&&!t?n={originX:"start",originY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(n={originX:"end",originY:"center"});const{x:i,y:s}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:i,originY:s}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;"above"==e?n={overlayX:"center",overlayY:"bottom"}:"below"==e?n={overlayX:"center",overlayY:"top"}:"before"==e||"left"==e&&t||"right"==e&&!t?n={overlayX:"end",overlayY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(n={overlayX:"start",overlayY:"center"});const{x:i,y:s}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:i,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,u.q)(1),(0,m.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}_updateCurrentPositionClass(t){const{overlayY:e,originX:n,originY:i}=t;let s;if(s="center"===e?this._dir&&"rtl"===this._dir.value?"end"===n?"left":"right":"start"===n?"left":"right":"bottom"===e&&"top"===i?"above":"below",s!==this._currentPosition){const t=this._overlayRef;if(t){const e=`${this._cssClassPrefix}-tooltip-panel-`;t.removePanelClass(e+this._currentPosition),t.addPanelClass(e+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const e=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",e],["touchcancel",e])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([t,e])=>{this._elementRef.nativeElement.addEventListener(t,e,ce)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const e=this._document.elementFromPoint(t.clientX,t.clientY),n=this._elementRef.nativeElement;e===n||n.contains(e)||this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const e=this._elementRef.nativeElement,n=e.style;("on"===t||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),"on"!==t&&e.draggable||(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(jt.aV),s.Y36(s.SBq),s.Y36(qt.mF),s.Y36(s.s_b),s.Y36(s.R0b),s.Y36(g.t4),s.Y36(Y.$s),s.Y36(Y.tE),s.Y36(void 0),s.Y36(Vt.Is),s.Y36(void 0),s.Y36(P.K0))},t.\u0275dir=s.lG2({type:t,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),t})(),fe=(()=>{class t extends pe{constructor(t,e,n,i,s,r,o,a,l,c,u,h){super(t,e,n,i,s,r,o,a,l,c,u,h),this._tooltipComponent=ge}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(jt.aV),s.Y36(s.SBq),s.Y36(qt.mF),s.Y36(s.s_b),s.Y36(s.R0b),s.Y36(g.t4),s.Y36(Y.$s),s.Y36(Y.tE),s.Y36(ue),s.Y36(Vt.Is,8),s.Y36(de,8),s.Y36(P.K0))},t.\u0275dir=s.lG2({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[s.qOj]}),t})(),me=(()=>{class t{constructor(t){this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new o.xQ}show(t){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},t)}hide(t){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},t)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO))},t.\u0275dir=s.lG2({type:t}),t})(),ge=(()=>{class t extends me{constructor(t,e){super(t),this._breakpointObserver=e,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO),s.Y36(C))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e._handleBodyInteraction()},!1,s.pYS)("auxclick",function(){return e._handleBodyInteraction()},!1,s.pYS),2&t&&s.Udp("zoom","visible"===e._visibility?1:null)},features:[s.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){if(1&t&&(s.TgZ(0,"div",0),s.NdJ("@state.start",function(){return e._animationStart()})("@state.done",function(t){return e._animationDone(t)}),s.ALo(1,"async"),s._uU(2),s.qZA()),2&t){let t;s.ekj("mat-tooltip-handset",null==(t=s.lcZ(1,5,e._isHandset))?null:t.matches),s.Q6J("ngClass",e.tooltipClass)("@state",e._visibility),s.xp6(2),s.Oqu(e.message)}},directives:[P.mk],pipes:[P.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[le.tooltipState]},changeDetection:0}),t})(),_e=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[he],imports:[[Y.rt,P.ez,jt.U8,z.BQ],z.BQ,qt.ZD]}),t})();var ye=n(1095);function be(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",14),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw(2).launch(e)}),s.TgZ(1,"div",15),s._UZ(2,"img",9),s._uU(3),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw(2);s.xp6(2),s.Q6J("src",n.getTransportIcon(t.id),s.LSH),s.xp6(1),s.hij(" ",t.name," ")}}function ve(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",14),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).action("release")}),s.TgZ(1,"i",16),s._uU(2,"delete"),s.qZA(),s.TgZ(3,"uds-translate"),s._uU(4," Release service"),s.qZA(),s.qZA()}}function we(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",14),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).action("reset")}),s.TgZ(1,"i",16),s._uU(2,"refresh"),s.qZA(),s.TgZ(3,"uds-translate"),s._uU(4," Reset service"),s.qZA(),s.qZA()}}function Ce(t,e){if(1&t&&(s.TgZ(0,"button",17),s.TgZ(1,"uds-translate"),s._uU(2,"Connections"),s.qZA(),s.qZA()),2&t){s.oxw();const t=s.MAs(2);s.Q6J("matMenuTriggerFor",t)}}function xe(t,e){if(1&t&&(s.TgZ(0,"button",17),s.TgZ(1,"uds-translate"),s._uU(2,"Actions"),s.qZA(),s.qZA()),2&t){s.oxw();const t=s.MAs(5);s.Q6J("matMenuTriggerFor",t)}}function Ee(t,e){if(1&t&&(s.TgZ(0,"button",18),s.TgZ(1,"i",16),s._uU(2,"menu"),s.qZA(),s.qZA()),2&t){s.oxw();const t=s.MAs(9);s.Q6J("matMenuTriggerFor",t)}}function Se(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"mat-menu",null,1),s.YNc(3,be,4,2,"button",2),s.qZA(),s.TgZ(4,"mat-menu",null,3),s.YNc(6,ve,5,0,"button",4),s.YNc(7,we,5,0,"button",4),s.qZA(),s.TgZ(8,"mat-menu",null,5),s.YNc(10,Ce,3,1,"button",6),s.YNc(11,xe,3,1,"button",6),s.qZA(),s.TgZ(12,"div",7),s.TgZ(13,"div",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().launch(null)}),s._UZ(14,"img",9),s.qZA(),s.TgZ(15,"div",10),s.TgZ(16,"span",11),s._uU(17),s.qZA(),s.qZA(),s.TgZ(18,"div",12),s.YNc(19,Ee,3,1,"button",13),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(3),s.Q6J("ngForOf",t.service.transports),s.xp6(3),s.Q6J("ngIf",t.service.allow_users_remove),s.xp6(1),s.Q6J("ngIf",t.service.allow_users_reset),s.xp6(3),s.Q6J("ngIf",t.showTransportsMenu()),s.xp6(1),s.Q6J("ngIf",t.hasActions()),s.xp6(1),s.Q6J("ngClass",t.serviceClass)("matTooltipDisabled",""===t.serviceTooltip)("matTooltip",t.serviceTooltip),s.xp6(2),s.Q6J("src",t.serviceImage,s.LSH),s.xp6(2),s.Q6J("ngClass",t.serviceNameClass),s.xp6(1),s.Oqu(t.serviceName),s.xp6(2),s.Q6J("ngIf",t.hasMenu())}}let ke=(()=>{class t{constructor(t){this.api=t}ngOnInit(){}get serviceImage(){return this.api.galleryImageURL(this.service.imageId)}get serviceName(){let t=this.service.visual_name;return t.length>32&&(t=t.substring(0,29)+"..."),t}get serviceTooltip(){return null!==this.service.to_be_replaced?this.service.to_be_replaced_text:this.service.maintenance?django.gettext("Service is in maintenance"):this.service.not_accesible?this.service.custom_calendar_text:this.serviceName!==this.service.name?this.service.name:""}get serviceClass(){const t=["service"];return null!=this.service.to_be_replaced?t.push("tobereplaced"):this.service.maintenance?t.push("maintenance"):this.service.not_accesible?t.push("forbidden"):this.service.in_use&&t.push("inuse"),t.length>1&&t.push("alert"),t}get serviceNameClass(){const t=[],e=Math.min(4*Math.floor((this.service.visual_name.length-1)/4),28);return e>=16&&t.push("small-"+e.toString()),t}getTransportIcon(t){return this.api.transportIconURL(t)}hasActions(){return this.service.allow_users_remove||this.service.allow_users_reset}showTransportsMenu(){return this.service.transports.length>1&&this.service.show_transports}hasMenu(){return!1===this.service.maintenance&&!1===this.service.not_accesible&&(this.hasActions()||this.showTransportsMenu())}notifyNotLaunching(t){this.api.gui.alert('

'+django.gettext("Launcher")+"

",t)}launch(t){if(this.service.maintenance)this.notifyNotLaunching(django.gettext("Service is in maintenance and cannot be launched"));else if(this.service.not_accesible){const t=this.service.custom_calendar_text||this.api.config.messages.calendarDenied;this.notifyNotLaunching('

'+django.gettext("This service is currently not accesible due to schedule restrictions.")+'

'+t+'

')}else null!==t&&!1!==this.service.show_transports||(t=this.service.transports[0]),this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(t.link)}action(t){const e=("release"===t?django.gettext("Release service: "):django.gettext("Reset service: "))+" "+this.serviceName,n="release"===t?django.gettext("Service released"):django.gettext("Service reseted");this.api.gui.yesno(e,django.gettext("Are you sure?")).subscribe(i=>{i&&this.api.action(t,this.service.id).subscribe(t=>{t&&this.api.gui.alert(e,n)})})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-service"]],inputs:{service:"service"},decls:1,vars:1,consts:[[4,"ngIf"],["transports",""],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["actions",""],["mat-menu-item","",3,"click",4,"ngIf"],["menu",""],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["matTooltipShowDelay","1000","matTooltipPosition","above",3,"ngClass","matTooltipDisabled","matTooltip"],[1,"icon",3,"click"],[3,"src"],[1,"name"],[3,"ngClass"],[1,"menu"],["mat-icon-button","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"transport-item"],[1,"material-icons"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-icon-button","",3,"matMenuTriggerFor"]],template:function(t,e){1&t&&s.YNc(0,Se,20,12,"div",0),2&t&&s.Q6J("ngIf",e.service.transports.length>0)},directives:[P.O5,ee,P.sg,P.mk,fe,Qt,A.P,re,ye.lW],styles:['.service[_ngcontent-%COMP%]{width:10rem;margin:0 1rem 2rem 0;padding:.5rem 0 1rem;box-shadow:0 12px 18px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-color:rgb(0,0,0,.22);display:flex;flex:1;align-items:center;justify-content:flex-start;flex-flow:column wrap;position:relative}.service[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.icon[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:center;transition:all .3s cubic-bezier(.25,.8,.25,1);width:6rem;height:6rem;margin:.5rem}.service[_ngcontent-%COMP%]:not(.forbidden):not(.maintenance):hover .icon[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.25,.8,.25,1);width:7rem;height:7rem;margin:0}.icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden}.forbidden[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .maintenance[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.5;z-index:10}.tobereplaced[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.7;z-index:10}.name[_ngcontent-%COMP%]{margin-top:.5em;width:calc(100% - 1em);display:flex;flex:1 0 auto;flex-flow:row;align-items:center;justify-content:center;padding:0 .5em;overflow:hidden;height:2.4em;text-align:center}.name[_ngcontent-%COMP%], .small-16[_ngcontent-%COMP%]{font-size:1.05rem}.small-20[_ngcontent-%COMP%]{font-size:1rem}.small-24[_ngcontent-%COMP%]{font-size:.95rem}.small-28[_ngcontent-%COMP%]{font-size:.9rem}.menu[_ngcontent-%COMP%]{position:absolute;top:2px;right:2px}.menu[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{cursor:pointer;border-radius:1px;background-color:hsla(0,0%,100%,.8)}.menu[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1)}.transport-item[_ngcontent-%COMP%]{display:flex;align-items:center}.transport-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2em;margin-right:.4em}.alert[_ngcontent-%COMP%]:before{position:absolute;top:1rem;left:1rem;font-size:8rem;font-weight:500;font-family:Material Icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:"liga";text-shadow:0 6px 8px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);z-index:1}.forbidden[_ngcontent-%COMP%]:before{color:#fc0000;content:"update"}.maintenance[_ngcontent-%COMP%]:before{color:#fcb900;content:"build"}.tobereplaced[_ngcontent-%COMP%]:before{color:#fc0000;content:"delete_forever"}']}),t})();function Oe(t,e){1&t&&s._UZ(0,"uds-service",8),2&t&&s.Q6J("service",e.$implicit)}function Te(t,e){if(1&t&&(s.TgZ(0,"mat-expansion-panel",1),s.TgZ(1,"mat-expansion-panel-header",2),s.TgZ(2,"mat-panel-title"),s.TgZ(3,"div",3),s._UZ(4,"img",4),s._uU(5),s.qZA(),s.qZA(),s.TgZ(6,"mat-panel-description",5),s._uU(7),s.qZA(),s.qZA(),s.TgZ(8,"div",6),s.YNc(9,Oe,1,1,"uds-service",7),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.Q6J("expanded",t.expanded),s.xp6(1),s.Q6J("collapsedHeight","3rem")("expandedHeight","5rem"),s.xp6(3),s.Q6J("src",t.groupImage,s.LSH),s.xp6(1),s.hij(" ",t.group.name,""),s.xp6(2),s.hij(" ",t.group.comments," "),s.xp6(2),s.Q6J("ngForOf",t.sortedServices)}}let Ae=(()=>{class t{constructor(t){this.api=t,this.expanded=!1}ngOnInit(){}get groupImage(){return this.api.galleryImageURL(this.group.imageUuid)}get hasVisibleServices(){return this.services.length>0}get sortedServices(){return this.services.sort((t,e)=>t.name>e.name?1:t.name{class t{constructor(t){this.api=t}update(t){this.updateServices(t)}ngOnInit(){this.api.config.urls.launch?this.api.logout():this.loadServices()}autorun(){if(this.servicesInformation.autorun&&1===this.servicesInformation.services.length){if(!this.servicesInformation.services[0].maintenance)return this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(this.servicesInformation.services[0].transports[0].link),!0;this.api.gui.alert(django.gettext("Warning"),django.gettext("Service is in maintenance and cannot be executed"))}return!1}loadServices(){this.api.user.isRestricted&&this.api.logout(),this.api.getServicesInformation().subscribe(t=>{this.servicesInformation=t,this.autorun(),this.updateServices()})}updateServices(t=""){this.group=[];let e=null;this.servicesInformation.services.filter(e=>!t||e.visual_name.toLowerCase().includes(t)||e.group.name.toLowerCase().includes(t)).sort((t,e)=>t.group.priority!==e.group.priority?t.group.priority-e.group.priority:t.group.id>e.group.id?1:t.group.id{null!==e&&t.group.id===e.group.id||(null!==e&&this.group.push(e),e=new De(t.group)),e.services.push(t)}),null!==e&&this.group.push(e)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-services-page"]],decls:6,vars:3,consts:[[3,"updateEvent",4,"ngIf"],[1,"services-groups"],[3,"services","group","expanded",4,"ngFor","ngForOf"],[3,"updateEvent"],[3,"services","group","expanded"]],template:function(t,e){1&t&&(s.YNc(0,Pe,1,0,"uds-filter",0),s.TgZ(1,"div",1),s.TgZ(2,"mat-accordion"),s.YNc(3,Ie,1,3,"uds-services-group",2),s.qZA(),s.qZA(),s.YNc(4,Re,1,0,"uds-filter",0),s._UZ(5,"uds-staff-info")),2&t&&(s.Q6J("ngIf",e.servicesInformation.services.length>=e.api.config.min_for_filter&&e.api.config.site_filter_on_top),s.xp6(3),s.Q6J("ngForOf",e.group),s.xp6(1),s.Q6J("ngIf",e.servicesInformation.services.length>=e.api.config.min_for_filter&&!e.api.config.site_filter_on_top))},directives:[P.O5,yt,P.sg,Et,Pt,Ae],styles:[".services-groups[_ngcontent-%COMP%]{padding-top:1rem}"]}),t})(),canActivate:[O]},{path:"login",component:T.G},{path:"login/:id",component:T.G},{path:"client-download",component:R},{path:"downloads",component:L,canActivate:[O]},{path:"error/:id",component:(()=>{class t{constructor(t){this.route=t,this.error=""}ngOnInit(){this.getError()}getError(){const t=this.route.snapshot.paramMap.get("id");try{this.error=(new TextDecoder).decode(Uint8Array.from(window.atob(t),t=>t.charCodeAt(t))).replace("\n","
"),console.log(this.error),udsData.error=this.error}catch(e){console.log(e),this.error=django.gettext("Invalid error string")}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(S.gz))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-error"]],decls:14,vars:3,consts:[[1,"error-container"],[1,"graph"],["viewBox","0 0 55 41","xmlns","http://www.w3.org/2000/svg",1,"bird"],["d","M35.5 5L54.7.6H32.3L35.5 5zM12.4 40.8l10.3-10.1-6.2-6.7-4.1 16.8zM33.8 5.3L30.5.8l-5.4 4 8.7.5zM20.8 4.6L8.8 0l1.9 4.1 10.1.5zM0 5l15.2 15.4 7.5-14.2L0 5zM34.2 6.8l-9.9-.5-8 15.2 7.4 8.1 8-7.9 2.5-14.9z"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 32 32",1,"gears"],["d","M29.18 19.07c-1.678-2.908-.668-6.634 2.256-8.328L28.29 5.295c-.897.527-1.942.83-3.057.83-3.36 0-6.085-2.743-6.085-6.126h-6.29c.01 1.043-.25 2.102-.81 3.07-1.68 2.907-5.41 3.896-8.34 2.21L.566 10.727c.905.515 1.69 1.268 2.246 2.234 1.677 2.904.673 6.624-2.24 8.32l3.145 5.447c.895-.522 1.935-.82 3.044-.82 3.35 0 6.066 2.725 6.083 6.092h6.29c-.004-1.035.258-2.08.81-3.04 1.676-2.902 5.4-3.893 8.325-2.218l3.145-5.447c-.9-.515-1.678-1.266-2.232-2.226zM16 22.48c-3.578 0-6.48-2.902-6.48-6.48S12.423 9.52 16 9.52c3.578 0 6.48 2.902 6.48 6.48s-2.902 6.48-6.48 6.48z"],[1,"title"],[1,"description",3,"innerHTML"],["mat-raised-button","","color","warn","routerLink","/"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.O4$(),s.TgZ(2,"svg",2),s._UZ(3,"path",3),s.qZA(),s.TgZ(4,"svg",4),s._UZ(5,"path",5),s.qZA(),s.qZA(),s.kcU(),s.TgZ(6,"h1",6),s.TgZ(7,"uds-translate"),s._uU(8,"An error has occurred"),s.qZA(),s.qZA(),s._UZ(9,"p",7),s.ALo(10,"safeHtml"),s.TgZ(11,"a",8),s.TgZ(12,"uds-translate"),s._uU(13,"Return"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(9),s.Q6J("innerHTML",s.lcZ(10,1,e.error),s.oJD))},directives:[A.P,ye.zs,S.yS],pipes:[D.z],styles:[".error-container[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;position:relative}.title[_ngcontent-%COMP%]{display:block;font-size:2rem;font-weight:lighter;text-align:center}.description[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:lighter}.graph[_ngcontent-%COMP%]{position:relative}.gears[_ngcontent-%COMP%]{width:10rem;height:10rem;fill:#6aafe6;transition:easeInOutQuint();-webkit-animation:CogAnimation 5s infinite;animation:CogAnimation 5s infinite}.bird[_ngcontent-%COMP%]{position:absolute;width:3rem;height:3rem;fill:#30a9de;left:50%;top:50%;transform:translate(-50%,-50%)}@-webkit-keyframes CogAnimation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes CogAnimation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}"]}),t})()},{path:"about",component:(()=>{class t{constructor(t){this.api=t}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-about"]],decls:45,vars:2,consts:[[1,"about"],["href","http://www.udsenterprise.com","target","_blank"],["href","https://github.com/dkmstr/openuds","target","_blank"],[1,"components"],["href","https://www.python.org/"],["href","https://www.typescriptlang.org/","target","_blank"],["href","https://www.djangoproject.com/","target","_blank"],["href","https://angular.io","target","_blank"],["href","https://guac-dev.org/","target","_blank"],["href","https://weasyprint.org/","target","_blank"],["href","https://kde-look.org/content/show.php/Crystal+Project?content=60475)","target","_blank"],["href","https://github.com/NitruxSA/flattr-icons","target","_blank"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1"),s._uU(2),s.qZA(),s.TgZ(3,"h3"),s.TgZ(4,"a",1),s._uU(5," \xa9 2012-2020 Virtual Cable S.L.U."),s.qZA(),s.qZA(),s.TgZ(6,"h4"),s.TgZ(7,"uds-translate"),s._uU(8,"You can access UDS Open Source code at"),s.qZA(),s.TgZ(9,"a",2),s._uU(10," OpenUDS github repository"),s.qZA(),s.qZA(),s.TgZ(11,"div",3),s.TgZ(12,"h2"),s.TgZ(13,"uds-translate"),s._uU(14,"UDS has been developed using these components:"),s.qZA(),s.qZA(),s.TgZ(15,"ul"),s.TgZ(16,"li"),s.TgZ(17,"a",4),s._uU(18,"Python"),s.qZA(),s.qZA(),s.TgZ(19,"li"),s.TgZ(20,"a",5),s._uU(21,"TypeScript"),s.qZA(),s.qZA(),s.TgZ(22,"li"),s.TgZ(23,"a",6),s._uU(24,"Django"),s.qZA(),s.qZA(),s.TgZ(25,"li"),s.TgZ(26,"a",7),s._uU(27,"Angular"),s.qZA(),s.qZA(),s.TgZ(28,"li"),s.TgZ(29,"a",8),s._uU(30,"Guacamole"),s.qZA(),s.qZA(),s.TgZ(31,"li"),s.TgZ(32,"a",9),s._uU(33,"weasyprint"),s.qZA(),s.qZA(),s.TgZ(34,"li"),s.TgZ(35,"a",10),s._uU(36,"Crystal project icons"),s.qZA(),s.qZA(),s.TgZ(37,"li"),s.TgZ(38,"a",11),s._uU(39,"Flattr Icons"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(40,"p"),s.TgZ(41,"small"),s._uU(42,"* "),s.TgZ(43,"uds-translate"),s._uU(44,"If you find that we missed any component, please let us know"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.AsE("Universal Desktop Services ",e.api.config.version," build ",e.api.config.version_stamp,""))},directives:[A.P],styles:["[_nghost-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center}.about[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center}.about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-size:1em;font-weight:400}.about[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{padding:0;list-style:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none;color:#000;background-color:#fff;line-height:30px;border-bottom:1px solid #ccc;padding-left:10px;cursor:pointer}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#3e6b2d}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px}"]}),t})()},{path:"ticket/launcher",component:(()=>{class t{constructor(t){this.api=t}ngOnInit(){""!==this.api.config.urls.launch&&this.api.launchURL(this.api.config.urls.launch)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-launcher"]],decls:24,vars:0,consts:[[1,"launcher"],[1,"launcher-box"],["routerLink","/client-download"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"h1"),s.TgZ(3,"uds-translate"),s._uU(4,"UDS Service launcher"),s.qZA(),s.qZA(),s.TgZ(5,"h4"),s.TgZ(6,"uds-translate"),s._uU(7,"The service you have requested is being launched."),s.qZA(),s.qZA(),s.TgZ(8,"h5"),s.TgZ(9,"uds-translate"),s._uU(10,"Please, note that reloading this page will not work."),s.qZA(),s.qZA(),s.TgZ(11,"h5"),s.TgZ(12,"uds-translate"),s._uU(13,"To relaunch service, you will have to do it from origin."),s.qZA(),s.qZA(),s.TgZ(14,"h6"),s.TgZ(15,"uds-translate"),s._uU(16,"If the service does not launchs automatically, probably you dont have the UDS Client installed"),s.qZA(),s.qZA(),s.TgZ(17,"h6"),s.TgZ(18,"uds-translate"),s._uU(19,"You can obtain it from the"),s.qZA(),s._uU(20,"\xa0"),s.TgZ(21,"a",2),s.TgZ(22,"uds-translate"),s._uU(23,"UDS Client download page"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA())},directives:[A.P,S.yS],styles:[".launcher[_ngcontent-%COMP%]{justify-content:center;display:flex;margin-top:1rem;font-size:larger}.launcher-box[_ngcontent-%COMP%]{box-shadow:0 12px 18px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-radius:.5rem;border-color:rgb(0,0,0,.22);padding:1rem}.launcher-box[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{text-align:center}.launcher-box[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{margin-top:.6rem;margin-bottom:.6rem;font-weight:400}"]}),t})()},{path:"**",redirectTo:"services"}];let Le=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[S.Bz.forRoot(Me,{relativeLinkResolution:"legacy"})],S.Bz]}),t})();var Fe=n(665),Ne=n(8553);let Be=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),Ue=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[z.si,z.BQ,Ne.Q8,Be],z.BQ,Be]}),t})();var Ze=n(2238),je=n(7441);const qe=["*",[["mat-toolbar-row"]]],Ve=["*","mat-toolbar-row"],He=(0,z.pj)(class{constructor(t){this._elementRef=t}});let ze=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t})(),Ye=(()=>{class t extends He{constructor(t,e,n){super(t),this._platform=e,this._document=n}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(g.t4),s.Y36(P.K0))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-toolbar"]],contentQueries:function(t,e,n){if(1&t&&s.Suo(n,ze,5),2&t){let t;s.iGM(t=s.CRH())&&(e._toolbarRows=t)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(t,e){2&t&&s.ekj("mat-toolbar-multiple-rows",e._toolbarRows.length>0)("mat-toolbar-single-row",0===e._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[s.qOj],ngContentSelectors:Ve,decls:2,vars:0,template:function(t,e){1&t&&(s.F$t(qe),s.Hsn(0),s.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),t})(),Ge=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[z.BQ],z.BQ]}),t})(),Ke=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[{provide:Ot.o2,useValue:{floatLabel:"always"}}],imports:[Fe.u5,Ge,ye.ot,ae,_e,bt,Ze.Is,Ot.lN,Tt.c,je.LD,Ue]}),t})();function $e(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",9),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw(2).changeLang(e)}),s._uU(1),s.qZA()}if(2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.name)}}function We(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).admin()}),s.TgZ(1,"i",23),s._uU(2,"dashboard"),s.qZA(),s.TgZ(3,"uds-translate"),s._uU(4,"Dashboard"),s.qZA(),s.qZA()}}function Qe(t,e){1&t&&(s.TgZ(0,"button",28),s.TgZ(1,"i",23),s._uU(2,"file_download"),s.qZA(),s.TgZ(3,"uds-translate"),s._uU(4,"Downloads"),s.qZA(),s.qZA())}function Je(t,e){if(1&t&&(s.TgZ(0,"button",14),s._uU(1),s.qZA()),2&t){s.oxw();const t=s.MAs(8),e=s.oxw();s.Q6J("matMenuTriggerFor",t),s.xp6(1),s.Oqu(e.api.user.user)}}function Xe(t,e){if(1&t&&(s.TgZ(0,"button",25),s._uU(1),s.TgZ(2,"i",23),s._uU(3,"arrow_drop_down"),s.qZA(),s.qZA()),2&t){s.oxw();const t=s.MAs(8),e=s.oxw();s.Q6J("matMenuTriggerFor",t),s.xp6(1),s.hij("",e.api.user.user," ")}}function tn(t,e){if(1&t){const t=s.EpF();s.ynx(0),s.TgZ(1,"form",1),s._UZ(2,"input",2),s._UZ(3,"input",3),s.qZA(),s.TgZ(4,"mat-menu",null,4),s.YNc(6,$e,2,1,"button",5),s.qZA(),s.TgZ(7,"mat-menu",null,6),s.YNc(9,We,5,0,"button",7),s.YNc(10,Qe,5,0,"button",8),s.TgZ(11,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().logout()}),s.TgZ(12,"i",10),s._uU(13,"exit_to_app"),s.qZA(),s.TgZ(14,"uds-translate"),s._uU(15,"Logout"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(16,"mat-menu",11,12),s.YNc(18,Je,2,2,"button",13),s.TgZ(19,"button",14),s._uU(20),s.qZA(),s.TgZ(21,"button",15),s.TgZ(22,"uds-translate"),s._uU(23,"UDS Client"),s.qZA(),s.qZA(),s.TgZ(24,"button",16),s.TgZ(25,"uds-translate"),s._uU(26,"About"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(27,"mat-toolbar",17),s.TgZ(28,"button",18),s._UZ(29,"img",19),s._uU(30),s.qZA(),s._UZ(31,"span",20),s.TgZ(32,"div",21),s.TgZ(33,"button",22),s.TgZ(34,"i",23),s._uU(35,"file_download"),s.qZA(),s.TgZ(36,"uds-translate"),s._uU(37,"UDS Client"),s.qZA(),s.qZA(),s.TgZ(38,"button",24),s.TgZ(39,"i",23),s._uU(40,"info"),s.qZA(),s.TgZ(41,"uds-translate"),s._uU(42,"About"),s.qZA(),s.qZA(),s.TgZ(43,"button",25),s._uU(44),s.TgZ(45,"i",23),s._uU(46,"arrow_drop_down"),s.qZA(),s.qZA(),s.YNc(47,Xe,4,2,"button",26),s.qZA(),s.TgZ(48,"div",27),s.TgZ(49,"button",25),s.TgZ(50,"i",23),s._uU(51,"menu"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.BQk()}if(2&t){const t=s.MAs(5),e=s.MAs(17),n=s.oxw();s.xp6(1),s.s9C("action",n.api.config.urls.changeLang,s.LSH),s.xp6(1),s.s9C("name",n.api.config.csrf_field),s.s9C("value",n.api.config.csrf),s.xp6(1),s.s9C("value",n.lang.id),s.xp6(3),s.Q6J("ngForOf",n.langs),s.xp6(3),s.Q6J("ngIf",n.api.user.isStaff),s.xp6(1),s.Q6J("ngIf",n.api.user.isStaff),s.xp6(8),s.Q6J("ngIf",n.api.user.isLogged),s.xp6(1),s.Q6J("matMenuTriggerFor",t),s.xp6(1),s.hij("",n.lang.name," "),s.xp6(9),s.Q6J("src",n.api.staticURL("modern/img/udsicon.png"),s.LSH),s.xp6(1),s.hij(" ",n.api.config.site_logo_name," "),s.xp6(13),s.Q6J("matMenuTriggerFor",t),s.xp6(1),s.hij("",n.lang.name," "),s.xp6(3),s.Q6J("ngIf",n.api.user.isLogged),s.xp6(2),s.Q6J("matMenuTriggerFor",e)}}let en=(()=>{class t{constructor(t){this.api=t,this.style="";const e=t.config.language;this.langs=[];for(const n of t.config.available_languages)n.id===e?this.lang=n:this.langs.push(n)}ngOnInit(){}changeLang(t){return this.lang=t,document.getElementById("id_language").attributes.value.value=t.id,document.getElementById("form_language").submit(),!1}admin(){this.api.gotoAdmin()}logout(){this.api.logout()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-navbar"]],decls:1,vars:1,consts:[[4,"ngIf"],["id","form_language","method","post",3,"action"],["type","hidden",3,"name","value"],["id","id_language","type","hidden","name","language",3,"value"],["appMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["userMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","","routerLink","/downloads",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"material-icons","highlight"],["x-position","before"],["shrink","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","","routerLink","/client-download"],["mat-menu-item","","routerLink","/about"],["color","primary",1,"uds-nav"],["mat-button","","routerLink","/"],["alt","Universal Desktop Services",1,"udsicon",3,"src"],[1,"fill-remaining-space"],[1,"expanded"],["mat-button","","routerLink","/client-download"],[1,"material-icons"],["mat-button","","routerLink","/about"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[1,"shrinked"],["mat-menu-item","","routerLink","/downloads"]],template:function(t,e){1&t&&s.YNc(0,tn,52,16,"ng-container",0),2&t&&s.Q6J("ngIf",""==e.api.config.urls.launch)},directives:[P.O5,Fe._Y,Fe.JL,Fe.F,ee,P.sg,Qt,A.P,re,S.rH,Ye,ye.lW],styles:[".uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.udsicon[_ngcontent-%COMP%]{width:2rem}@media only screen and (max-width:744px){.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width:745px){.expanded[_ngcontent-%COMP%]{visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}}"]}),t})(),nn=(()=>{class t{constructor(t){this.api=t}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-footer"]],decls:3,vars:2,consts:[[3,"href"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"a",0),s._uU(2),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Q6J("href",e.api.config.site_copyright_link,s.LSH),s.xp6(1),s.Oqu(e.api.config.site_copyright_info))},styles:[""]}),t})(),sn=(()=>{class t{constructor(){this.title="uds"}ngOnInit(){cookieconsent.initialise({palette:{popup:{background:"#343c66",text:"#cfcfe8"},button:{background:"#f71559"}},content:{message:django.gettext("We use cookies to track usage and preferences"),dismiss:django.gettext("I Understand"),link:django.gettext("Learn more")}})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-root"]],decls:6,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(t,e){1&t&&(s._UZ(0,"uds-navbar"),s.TgZ(1,"div",0),s.TgZ(2,"div",1),s._UZ(3,"router-outlet"),s.qZA(),s.TgZ(4,"div",2),s._UZ(5,"uds-footer"),s.qZA(),s.qZA())},directives:[en,S.lC,nn],styles:[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:80%;margin:64px auto 0}@media only screen and (max-width:744px){.content[_ngcontent-%COMP%]{width:100%}}"]}),t})();var rn=n(3183);let on=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t,bootstrap:[sn]}),t.\u0275inj=s.cJS({providers:[k.n,rn.h],imports:[[i.b2,_,E.JF,Le,W.PW,Ke]]}),t})();n(2340).N.production&&(0,s.G48)(),i.q6().bootstrapModule(on).catch(t=>console.log(t))}},function(t){"use strict";t(t.s=1479)}]); \ No newline at end of file +(self.webpackChunkuds=self.webpackChunkuds||[]).push([[179],{8255:function(t){function e(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=function(){return[]},e.resolve=e,e.id=8255,t.exports=e},7238:function(t,e,n){"use strict";n.d(e,{l3:function(){return r},_j:function(){return i},LC:function(){return s},ZN:function(){return g},jt:function(){return a},pV:function(){return p},F4:function(){return h},IO:function(){return f},vP:function(){return l},SB:function(){return u},oB:function(){return c},eR:function(){return d},X$:function(){return o},ZE:function(){return _},k1:function(){return y}});class i{}class s{}const r="*";function o(t,e){return{type:7,name:t,definitions:e,options:{}}}function a(t,e=null){return{type:4,styles:e,timings:t}}function l(t,e=null){return{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function u(t,e,n){return{type:0,name:t,styles:e,options:n}}function h(t){return{type:5,steps:t}}function d(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function p(t=null){return{type:9,options:t}}function f(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function m(t){Promise.resolve(null).then(t)}class g{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(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(){m(()=>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}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(t=>t()),e.length=0}}class _{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,n=0,i=0;const s=this.players.length;0==s?m(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==s&&this._onFinish()}),t.onDestroy(()=>{++n==s&&this._onDestroy()}),t.onStart(()=>{++i==s&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.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(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,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(t=>t()),e.length=0}}const y="!"},9238:function(t,e,n){"use strict";n.d(e,{rt:function(){return W},s1:function(){return A},$s:function(){return S},Em:function(){return P},tE:function(){return K},qV:function(){return L},qm:function(){return $},Kd:function(){return z},X6:function(){return F},yG:function(){return N}});var i=n(8583),s=n(3018),r=n(9765),o=n(5319),a=n(6215),l=n(5917),c=n(6461),u=n(3342),h=n(4395),d=n(5435),p=n(8002),f=n(5257),m=n(3653),g=n(7519),_=n(6782),y=n(9490),b=n(521),v=n(8553);function w(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}let C=0;const x=new Map;let E=null,S=(()=>{class t{constructor(t){this._document=t}describe(t,e,n){if(!this._canBeDescribed(t,e))return;const i=k(e,n);"string"!=typeof e?(O(e),x.set(i,{messageElement:e,referenceCount:0})):x.has(i)||this._createMessageElement(e,n),this._isElementDescribedByMessage(t,i)||this._addMessageReference(t,i)}removeDescription(t,e,n){if(!e||!this._isElementNode(t))return;const i=k(e,n);if(this._isElementDescribedByMessage(t,i)&&this._removeMessageReference(t,i),"string"==typeof e){const t=x.get(i);t&&0===t.referenceCount&&this._deleteMessageElement(i)}E&&0===E.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const t=this._document.querySelectorAll("[cdk-describedby-host]");for(let e=0;e0!=t.indexOf("cdk-describedby-message"));t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){const n=x.get(e);!function(t,e,n){const i=w(t,e);i.some(t=>t.trim()==n.trim())||(i.push(n.trim()),t.setAttribute(e,i.join(" ")))}(t,"aria-describedby",n.messageElement.id),t.setAttribute("cdk-describedby-host",""),n.referenceCount++}_removeMessageReference(t,e){const n=x.get(e);n.referenceCount--,function(t,e,n){const i=w(t,e).filter(t=>t!=n.trim());i.length?t.setAttribute(e,i.join(" ")):t.removeAttribute(e)}(t,"aria-describedby",n.messageElement.id),t.removeAttribute("cdk-describedby-host")}_isElementDescribedByMessage(t,e){const n=w(t,"aria-describedby"),i=x.get(e),s=i&&i.messageElement.id;return!!s&&-1!=n.indexOf(s)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;const n=null==e?"":`${e}`.trim(),i=t.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(i.K0))},token:t,providedIn:"root"}),t})();function k(t,e){return"string"==typeof t?`${e||""}/${t}`:t}function O(t){t.id||(t.id="cdk-describedby-message-"+C++)}class T{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new r.xQ,this._typeaheadSubscription=o.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new r.xQ,this.change=new r.xQ,t instanceof s.n_E&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}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((0,u.b)(t=>this._pressedLetters.push(t)),(0,h.b)(t),(0,d.h)(()=>this._pressedLetters.length>0),(0,p.U)(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let n=1;n!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case c.Mf:return void this.tabOut.next();case c.JH:if(this._vertical&&n){this.setNextItemActive();break}return;case c.LH:if(this._vertical&&n){this.setPreviousItemActive();break}return;case c.SV:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case c.oh:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case c.Sd:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case c.uR:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||(0,c.Vb)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=c.A&&e<=c.Z||e>=c.xE&&e<=c.aO)&&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(),n="number"==typeof t?t:e.indexOf(t),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof s.n_E?this._items.toArray():this._items}}class A extends T{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class P extends T{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 I=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(e){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){if(-1===D(e))return!1;if(!this.isVisible(e))return!1}let i=t.nodeName.toLowerCase(),s=D(t);return t.hasAttribute("contenteditable")?-1!==s:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&("audio"===i?!!t.hasAttribute("controls")&&-1!==s:"video"===i?-1!==s&&(null!==s||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||R(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(b.t4))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(b.t4))},token:t,providedIn:"root"}),t})();function R(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function D(t){if(!R(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class M{constructor(t,e,n,i,s=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}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))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),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){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let n=0;n=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}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((0,f.q)(1)).subscribe(t)}}let L=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new M(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(I),s.LFG(s.R0b),s.LFG(i.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(I),s.LFG(s.R0b),s.LFG(i.K0))},token:t,providedIn:"root"}),t})();function F(t){return 0===t.buttons}function N(t){const e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}"undefined"!=typeof Element&∈const B=new s.OlP("cdk-input-modality-detector-options"),U={ignoreKeys:[c.zL,c.jx,c.b2,c.MW,c.JU]},Z=(0,b.i$)({passive:!0,capture:!0});let j=(()=>{class t{constructor(t,e,n,i){this._platform=t,this._mostRecentTarget=null,this._modality=new a.X(null),this._lastTouchMs=0,this._onKeydown=t=>{var e,n;(null===(n=null===(e=this._options)||void 0===e?void 0:e.ignoreKeys)||void 0===n?void 0:n.some(e=>e===t.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=q(t))},this._onMousedown=t=>{Date.now()-this._lastTouchMs<650||(this._modality.next(F(t)?"keyboard":"mouse"),this._mostRecentTarget=q(t))},this._onTouchstart=t=>{N(t)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=q(t))},this._options=Object.assign(Object.assign({},U),i),this.modalityDetected=this._modality.pipe((0,m.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,g.x)()),t.isBrowser&&e.runOutsideAngular(()=>{n.addEventListener("keydown",this._onKeydown,Z),n.addEventListener("mousedown",this._onMousedown,Z),n.addEventListener("touchstart",this._onTouchstart,Z)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Z),document.removeEventListener("mousedown",this._onMousedown,Z),document.removeEventListener("touchstart",this._onTouchstart,Z))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(b.t4),s.LFG(s.R0b),s.LFG(i.K0),s.LFG(B,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(b.t4),s.LFG(s.R0b),s.LFG(i.K0),s.LFG(B,8))},token:t,providedIn:"root"}),t})();function q(t){return t.composedPath?t.composedPath()[0]:t.target}const V=new s.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),H=new s.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let z=(()=>{class t{constructor(t,e,n,i){this._ngZone=e,this._defaultOptions=i,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){const n=this._defaultOptions;let i,s;return 1===e.length&&"number"==typeof e[0]?s=e[0]:[i,s]=e,this.clear(),clearTimeout(this._previousTimeout),i||(i=n&&n.politeness?n.politeness:"polite"),null==s&&n&&(s=n.duration),this._liveElement.setAttribute("aria-live",i),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t=this._document.getElementsByClassName("cdk-live-announcer-element"),e=this._document.createElement("div");for(let n=0;n{class t{constructor(t,e,n,i,s){this._ngZone=t,this._platform=e,this._inputModalityDetector=n,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=setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new r.xQ,this._rootNodeFocusAndBlurListener=t=>{const e=q(t),n="focus"===t.type?this._onFocus:this._onBlur;for(let i=e;i;i=i.parentElement)n.call(this,t,i)},this._document=i,this._detectionMode=(null==s?void 0:s.detectionMode)||0}monitor(t,e=!1){const n=(0,y.fI)(t);if(!this._platform.isBrowser||1!==n.nodeType)return(0,l.of)(null);const i=(0,b.kV)(n)||this._getDocument(),s=this._elementInfo.get(n);if(s)return e&&(s.checkChildren=!0),s.subject;const o={checkChildren:e,subject:new r.xQ,rootNode:i};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject}stopMonitoring(t){const e=(0,y.fI)(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}focusVia(t,e,n){const i=(0,y.fI)(t);i===this._getDocument().activeElement?this._getClosestElementsInfo(i).forEach(([t,n])=>this._originChanged(t,e,n)):(this._setOrigin(e),"function"==typeof i.focus&&i.focus(n))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(t){return 1===this._detectionMode||!!(null==t?void 0:t.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOrigin(t,e=!1){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originFromTouchInteraction="touch"===t&&e,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,e){const n=this._elementInfo.get(e),i=q(t);n&&(n.checkChildren||e===i)&&this._originChanged(e,this._getFocusOrigin(i),n)}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,n=this._rootNodeFocusListenerCount.get(e)||0;n||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,G),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,G)}),this._rootNodeFocusListenerCount.set(e,n+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,_.R)(this._stopInputModalityDetector)).subscribe(t=>{this._setOrigin(t,!0)}))}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,G),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,G),this._rootNodeFocusListenerCount.delete(e))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,e,n){this._setClasses(t,e),this._emitOrigin(n.subject,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){const e=[];return this._elementInfo.forEach((n,i)=>{(i===t||n.checkChildren&&i.contains(t))&&e.push([i,n])}),e}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b),s.LFG(b.t4),s.LFG(j),s.LFG(i.K0,8),s.LFG(Y,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.R0b),s.LFG(b.t4),s.LFG(j),s.LFG(i.K0,8),s.LFG(Y,8))},token:t,providedIn:"root"}),t})(),$=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black"),this._hasCheckedHighContrastMode=!0;const e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(b.t4),s.LFG(i.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(b.t4),s.LFG(i.K0))},token:t,providedIn:"root"}),t})(),W=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG($))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[b.ud,v.Q8]]}),t})()},946:function(t,e,n){"use strict";n.d(e,{vT:function(){return a},Is:function(){return o}});var i=n(3018),s=n(8583);const r=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,i.f3M)(s.K0)}});let o=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new i.vpe,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r,8))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(r,8))},token:t,providedIn:"root"}),t})(),a=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},8345:function(t,e,n){"use strict";n.d(e,{P3:function(){return l},Ov:function(){return u},A8:function(){return h},eX:function(){return c},k:function(){return d},Z9:function(){return a}});var i=n(5639),s=n(5917),r=n(9765),o=n(3018);function a(t){return t&&"function"==typeof t.connect}class l extends class{}{constructor(t){super(),this._data=t}connect(){return(0,i.b)(this._data)?this._data:(0,s.of)(this._data)}disconnect(){}}class c{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(t,e,n,i,s){t.forEachOperation((t,r,o)=>{let a,l;null==t.previousIndex?(a=this._insertView(()=>n(t,r,o),o,e,i(t)),l=a?1:0):null==o?(this._detachAndCacheView(r,e),l=3):(a=this._moveView(r,o,e,i(t)),l=2),s&&s({context:null==a?void 0:a.context,operation:l,record:t})})}detach(){for(const t of this._viewCache)t.destroy();this._viewCache=[]}_insertView(t,e,n,i){const s=this._insertViewFromCache(e,n);if(s)return void(s.context.$implicit=i);const r=t();return n.createEmbeddedView(r.templateRef,r.context,r.index)}_detachAndCacheView(t,e){const n=e.detach(t);this._maybeCacheView(n,e)}_moveView(t,e,n,i){const s=n.get(t);return n.move(s,e),s.context.$implicit=i,s}_maybeCacheView(t,e){if(this._viewCache.lengththis._markSelected(t)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(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){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(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){}}let h=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let n of this._listeners)n(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const d=new o.OlP("_ViewRepeater")},6461:function(t,e,n){"use strict";n.d(e,{A:function(){return y},zL:function(){return a},jx:function(){return o},JH:function(){return m},uR:function(){return u},K5:function(){return s},hY:function(){return l},Sd:function(){return h},oh:function(){return d},b2:function(){return w},MW:function(){return v},aO:function(){return _},SV:function(){return f},JU:function(){return r},L_:function(){return c},Mf:function(){return i},LH:function(){return p},Z:function(){return b},xE:function(){return g},Vb:function(){return C}});const i=9,s=13,r=16,o=17,a=18,l=27,c=32,u=35,h=36,d=37,p=38,f=39,m=40,g=48,_=57,y=65,b=90,v=91,w=224;function C(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},8553:function(t,e,n){"use strict";n.d(e,{wD:function(){return u},yq:function(){return c},Q8:function(){return h}});var i=n(9490),s=n(3018),r=n(7574),o=n(9765),a=n(4395);let l=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})(),c=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=(0,i.fI)(t);return new r.y(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new o.xQ,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(l))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(l))},token:t,providedIn:"root"}),t})(),u=(()=>{class t{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new s.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,i.Ig)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=(0,i.su)(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe((0,a.b)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(c),s.Y36(s.SBq),s.Y36(s.R0b))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[l]}),t})()},625:function(t,e,n){"use strict";n.d(e,{pI:function(){return $},xu:function(){return K},aV:function(){return z},X_:function(){return O},Xj:function(){return M},U8:function(){return Q}});var i=n(9243),s=n(3018),r=n(521),o=n(946),a=n(8583),l=n(9490),c=n(7636),u=n(9765),h=n(5319),d=n(6682),p=n(7393);class f{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new m(t,this.predicate,this.inclusive))}}class m extends p.L{constructor(t,e,n){super(t),this.predicate=e,this.inclusive=n,this.index=0}_next(t){const e=this.destination;let n;try{n=this.predicate(t,this.index++)}catch(i){return void e.error(i)}this.nextOrComplete(t,n)}nextOrComplete(t,e){const n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())}}var g=n(5257),_=n(6782),y=n(6461);const b=(0,r.Mq)();class v{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=(0,l.HM)(-this._previousScrollPosition.left),t.style.top=(0,l.HM)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,i=e.scrollBehavior||"",s=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),b&&(e.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),b&&(e.scrollBehavior=i,n.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}class w{constructor(t,e,n,i){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=i,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);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-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 C{enable(){}disable(){}attach(){}}function x(t,e){return e.some(e=>t.bottome.bottom||t.righte.right)}function E(t,e){return e.some(e=>t.tope.bottom||t.lefte.right)}class S{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i,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 t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();x(t,[{width:e,height:n,bottom:n,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let k=(()=>{class t{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new C,this.close=t=>new w(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new v(this._viewportRuler,this._document),this.reposition=t=>new S(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=i}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.mF),s.LFG(i.rL),s.LFG(s.R0b),s.LFG(a.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(i.mF),s.LFG(i.rL),s.LFG(s.R0b),s.LFG(a.K0))},token:t,providedIn:"root"}),t})();class O{constructor(t){if(this.scrollStrategy=new C,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class T{constructor(t,e,n,i,s){this.offsetX=n,this.offsetY=i,this.panelClass=s,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class A{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let P=(()=>{class t{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0))},token:t,providedIn:"root"}),t})(),I=(()=>{class t extends P{constructor(t){super(t),this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0))},token:t,providedIn:"root"}),t})(),R=(()=>{class t extends P{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._clickListener=t=>{const e=t.composedPath?t.composedPath()[0]:t.target,n=this._attachedOverlays.slice();for(let i=n.length-1;i>-1;i--){const s=n[i];if(!(s._outsidePointerEvents.observers.length<1)&&s.hasAttached()){if(s.overlayElement.contains(e))break;s._outsidePointerEvents.next(t)}}}}add(t){if(super.add(t),!this._isAttached){const t=this._document.body;t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0),s.LFG(r.t4))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0),s.LFG(r.t4))},token:t,providedIn:"root"}),t})();const D="undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha;let M=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){if(this._platform.isBrowser||D){const t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]');for(let e=0;ethis._backdropClick.next(t),this._keydownEvents=new u.xQ,this._outsidePointerEvents=new u.xQ,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,g.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const 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.detachBackdrop(),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&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=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=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},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=(0,l.HM)(this._config.width),t.height=(0,l.HM)(this._config.height),t.minWidth=(0,l.HM)(this._config.minWidth),t.minHeight=(0,l.HM)(this._config.minHeight),t.maxWidth=(0,l.HM)(this._config.maxWidth),t.maxHeight=(0,l.HM)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let n=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",n),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",n)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const i=t.classList;(0,l.Eq)(e).forEach(t=>{t&&(n?i.add(t):i.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe((0,_.R)((0,d.T)(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._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const F=/([A-Za-z%]+)$/;class N{constructor(t,e,n,i,s){this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=s,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new u.xQ,this._resizeSubscription=h.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),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();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,i=[];let s;for(let r of this._preferredPositions){let o=this._getOriginPoint(t,r),a=this._getOverlayPoint(o,e,r),l=this._getOverlayFit(a,e,n,r);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(r,o);this._canFitWithFlexibleDimensions(l,a,n)?i.push({position:r,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,r)}):(!s||s.overlayFit.visibleAreae&&(e=i,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&B(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}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){let n,i;if("center"==e.originX)n=t.left+t.width/2;else{const i=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;n="start"==e.originX?i:s}return i="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:n,y:i}}_getOverlayPoint(t,e,n){let i,s;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+i,y:t.y+s}}_getOverlayFit(t,e,n,i){const s=Z(e);let{x:r,y:o}=t,a=this._getOffset(i,"x"),l=this._getOffset(i,"y");a&&(r+=a),l&&(o+=l);let c=0-o,u=o+s.height-n.height,h=this._subtractOverflows(s.width,0-r,r+s.width-n.width),d=this._subtractOverflows(s.height,c,u),p=h*d;return{visibleArea:p,isCompletelyWithinViewport:s.width*s.height===p,fitsInViewportVertically:d===s.height,fitsInViewportHorizontally:h==s.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const i=n.bottom-e.y,s=n.right-e.x,r=U(this._overlayRef.getConfig().minHeight),o=U(this._overlayRef.getConfig().minWidth),a=t.fitsInViewportHorizontally||null!=o&&o<=s;return(t.fitsInViewportVertically||null!=r&&r<=i)&&a}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const i=Z(e),s=this._viewportRect,r=Math.max(t.x+i.width-s.width,0),o=Math.max(t.y+i.height-s.height,0),a=Math.max(s.top-n.top-t.y,0),l=Math.max(s.left-n.left-t.x,0);let c=0,u=0;return c=i.width<=s.width?l||-r:t.xi&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-i/2)}if("end"===e.overlayX&&!i||"start"===e.overlayX&&i)c=n.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!i||"end"===e.overlayX&&i)l=t.x,a=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),i=this._lastBoundingBoxSize.width;a=2*e,l=t.x-e,a>i&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-i/2)}return{top:r,left:l,bottom:o,right:c,width:a,height:s}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=(0,l.HM)(n.height),i.top=(0,l.HM)(n.top),i.bottom=(0,l.HM)(n.bottom),i.width=(0,l.HM)(n.width),i.left=(0,l.HM)(n.left),i.right=(0,l.HM)(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(i.maxHeight=(0,l.HM)(t)),s&&(i.maxWidth=(0,l.HM)(s))}this._lastBoundingBoxSize=n,B(this._boundingBox.style,i)}_resetBoundingBoxStyles(){B(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){B(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},i=this._hasExactPosition(),s=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(i){const i=this._viewportRuler.getViewportScrollPosition();B(n,this._getExactOverlayY(e,t,i)),B(n,this._getExactOverlayX(e,t,i))}else n.position="static";let o="",a=this._getOffset(e,"x"),c=this._getOffset(e,"y");a&&(o+=`translateX(${a}px) `),c&&(o+=`translateY(${c}px)`),n.transform=o.trim(),r.maxHeight&&(i?n.maxHeight=(0,l.HM)(r.maxHeight):s&&(n.maxHeight="")),r.maxWidth&&(i?n.maxWidth=(0,l.HM)(r.maxWidth):s&&(n.maxWidth="")),B(this._pane.style,n)}_getExactOverlayY(t,e,n){let i={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,n));let r=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return s.y-=r,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":i.top=(0,l.HM)(s.y),i}_getExactOverlayX(t,e,n){let i,s={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),i=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===i?s.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":s.left=(0,l.HM)(r.x),s}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:E(t,n),isOriginOutsideView:x(t,n),isOverlayClipped:E(e,n),isOverlayOutsideView:x(e,n)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.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&&(0,l.Eq)(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof s.SBq)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function B(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function U(t){if("number"!=typeof t&&null!=t){const[e,n]=t.split(F);return n&&"px"!==n?null:parseFloat(e)}return t||null}function Z(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}class j{constructor(t,e,n,i,s,r,o){this._preferredPositions=[],this._positionStrategy=new N(n,i,s,r,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,i){const s=new T(t,e,n,i);return this._preferredPositions.push(s),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}class q{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}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("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-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._justifyContent="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,n=this._overlayRef.getConfig(),{width:i,height:s,maxWidth:r,maxHeight:o}=n,a=!("100%"!==i&&"100vw"!==i||r&&"100%"!==r&&"100vw"!==r),l=!("100%"!==s&&"100vh"!==s||o&&"100%"!==o&&"100vh"!==o);t.position=this._cssPosition,t.marginLeft=a?"0":this._leftOffset,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,a?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let V=(()=>{class t{constructor(t,e,n,i){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=i}global(){return new q}connectedTo(t,e,n){return new j(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new N(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.rL),s.LFG(a.K0),s.LFG(r.t4),s.LFG(M))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(i.rL),s.LFG(a.K0),s.LFG(r.t4),s.LFG(M))},token:t,providedIn:"root"}),t})(),H=0,z=(()=>{class t{constructor(t,e,n,i,s,r,o,a,l,c,u){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=s,this._injector=r,this._ngZone=o,this._document=a,this._directionality=l,this._location=c,this._outsideClickDispatcher=u}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),s=new O(t);return s.direction=s.direction||this._directionality.value,new L(i,e,n,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+H++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(s.z2F)),new c.u0(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(k),s.LFG(M),s.LFG(s._Vd),s.LFG(V),s.LFG(I),s.LFG(s.zs3),s.LFG(s.R0b),s.LFG(a.K0),s.LFG(o.Is),s.LFG(a.Ye),s.LFG(R))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const Y=[{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"}],G=new s.OlP("cdk-connected-overlay-scroll-strategy");let K=(()=>{class t{constructor(t){this.elementRef=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),$=(()=>{class t{constructor(t,e,n,i,r){this._overlay=t,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=h.w.EMPTY,this._attachSubscription=h.w.EMPTY,this._detachSubscription=h.w.EMPTY,this._positionSubscription=h.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new s.vpe,this.positionChange=new s.vpe,this.attach=new s.vpe,this.detach=new s.vpe,this.overlayKeydown=new s.vpe,this.overlayOutsideClick=new s.vpe,this._templatePortal=new c.UE(e,n),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,l.Ig)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=(0,l.Ig)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=(0,l.Ig)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=(0,l.Ig)(t)}get push(){return this._push}set push(t){this._push=(0,l.Ig)(t)}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(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=Y);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode!==y.hY||this.disableClose||(0,y.Vb)(t)||(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new O({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}_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(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(t,e=!1){return n=>n.lift(new f(t,e))}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(z),s.Y36(s.Rgc),s.Y36(s.s_b),s.Y36(G),s.Y36(o.Is,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[s.TTD]}),t})();const W={provide:G,deps:[z],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let Q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[z,W],imports:[[o.vT,c.eL,i.Cl],i.Cl]}),t})()},521:function(t,e,n){"use strict";n.d(e,{t4:function(){return a},ud:function(){return l},ht:function(){return b},kV:function(){return y},_i:function(){return _},qK:function(){return u},i$:function(){return m},Mq:function(){return g}});var i=n(3018),s=n(8583);let r;try{r="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(v){r=!1}let o,a=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?(0,s.NF)(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&&!r)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.Lbi))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(i.Lbi))},token:t,providedIn:"root"}),t})(),l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();const c=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function u(){if(o)return o;if("object"!=typeof document||!document)return o=new Set(c),o;let t=document.createElement("input");return o=new Set(c.filter(e=>(t.setAttribute("type",e),t.type===e))),o}let h,d,p,f;function m(t){return function(){if(null==h&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>h=!0}))}finally{h=h||!1}return h}()?t:!!t.capture}function g(){if(null==p){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return p=!1,p;if("scrollBehavior"in document.documentElement.style)p=!0;else{const t=Element.prototype.scrollTo;p=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return p}function _(){if("object"!=typeof document||!document)return 0;if(null==d){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",t.appendChild(n),document.body.appendChild(t),d=0,0===t.scrollLeft&&(t.scrollLeft=1,d=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return d}function y(t){if(function(){if(null==f){const t="undefined"!=typeof document?document.head:null;f=!(!t||!t.createShadowRoot&&!t.attachShadow)}return f}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function b(){let t="undefined"!=typeof document&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}},7636:function(t,e,n){"use strict";n.d(e,{en:function(){return c},Pl:function(){return h},C5:function(){return o},u0:function(){return u},eL:function(){return d},UE:function(){return a}});var i=n(3018),s=n(8583);class r{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 o extends r{constructor(t,e,n,i){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=i}}class a extends r{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}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 l extends r{constructor(t){super(),this.element=t instanceof i.SBq?t.nativeElement:t}}class c{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof o?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof a?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof l?(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 u extends c{constructor(t,e,n,i,s){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=s}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=t,n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),n.detectChanges(),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),this._attachedPortal=t,n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let h=(()=>{class t extends c{constructor(t,e,n){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new i.vpe,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(n,e),this._getRootNode().appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i=e.createComponent(n,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i._Vd),i.Y36(i.s_b),i.Y36(s.K0))},t.\u0275dir=i.lG2({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.qOj]}),t})(),d=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},9243:function(t,e,n){"use strict";n.d(e,{ZD:function(){return y},mF:function(){return g},Cl:function(){return b},rL:function(){return _}});var i=n(9490),s=n(3018),r=n(6465),o=n(6102);new class extends o.v{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,s=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}});var a=n(9765),l=n(5917),c=n(7574),u=n(2759);n(4581),n(5319),n(5639),n(7393),new class extends o.v{}(class extends r.o{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,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}),n(1593),n(7971),n(8858),n(7519);var h=n(628),d=n(5435),p=(n(6782),n(9761),n(3190),n(521)),f=n(8583),m=n(946);n(8345);let g=(()=>{class t{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new a.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new c.y(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe((0,h.e)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,l.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe((0,d.h)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,t)&&e.push(i)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let n=(0,i.fI)(e),s=t.getElementRef().nativeElement;do{if(n==s)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const t=this._getWindow();return(0,u.R)(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b),s.LFG(p.t4),s.LFG(f.K0,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.R0b),s.LFG(p.t4),s.LFG(f.K0,8))},token:t,providedIn:"root"}),t})(),_=(()=>{class t{constructor(t,e,n){this._platform=t,this._change=new a.xQ,this._changeListener=t=>{this._change.next(t)},this._document=n,e.runOutsideAngular(()=>{if(t.isBrowser){const t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,e=this._getWindow(),n=t.documentElement,i=n.getBoundingClientRect();return{top:-i.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-i.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}change(t=20){return t>0?this._change.pipe((0,h.e)(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(p.t4),s.LFG(s.R0b),s.LFG(f.K0,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(p.t4),s.LFG(s.R0b),s.LFG(f.K0,8))},token:t,providedIn:"root"}),t})(),y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),b=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[m.vT,p.ud,y],m.vT,y]}),t})()},9490:function(t,e,n){"use strict";n.d(e,{Eq:function(){return o},Ig:function(){return s},HM:function(){return a},fI:function(){return l},su:function(){return r}});var i=n(3018);function s(t){return null!=t&&"false"!=`${t}`}function r(t,e=0){return function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function o(t){return Array.isArray(t)?t:[t]}function a(t){return null==t?"":"string"==typeof t?t:`${t}px`}function l(t){return t instanceof i.SBq?t.nativeElement:t}},8583:function(t,e,n){"use strict";n.d(e,{mr:function(){return v},Ov:function(){return Y},ez:function(){return G},K0:function(){return l},Do:function(){return C},V_:function(){return h},Ye:function(){return x},S$:function(){return y},mk:function(){return I},sg:function(){return D},O5:function(){return L},RF:function(){return U},n9:function(){return Z},ED:function(){return j},b0:function(){return w},lw:function(){return c},EM:function(){return W},JF:function(){return X},NF:function(){return $},w_:function(){return a},bD:function(){return K},q:function(){return r},Mx:function(){return P},HT:function(){return o}});var i=n(3018);let s=null;function r(){return s}function o(t){s||(s=t)}class a{}const l=new i.OlP("DocumentToken");let c=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:u,token:t,providedIn:"platform"}),t})();function u(){return(0,i.LFG)(d)}const h=new i.OlP("Location Initialized");let d=(()=>{class t extends c{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return r().getBaseHref(this._doc)}onPopState(t){const e=r().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=r().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){p()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){p()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(l))},t.\u0275prov=(0,i.Yz7)({factory:f,token:t,providedIn:"platform"}),t})();function p(){return!!window.history.pushState}function f(){return new d((0,i.LFG)(l))}function m(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function g(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function _(t){return t&&"?"!==t[0]?"?"+t:t}let y=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:b,token:t,providedIn:"root"}),t})();function b(t){const e=(0,i.LFG)(l).location;return new w((0,i.LFG)(c),e&&e.origin||"")}const v=new i.OlP("appBaseHref");let w=(()=>{class t extends y{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return m(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+_(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const s=this.prepareExternalUrl(n+_(i));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,i){const s=this.prepareExternalUrl(n+_(i));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(c),i.LFG(v,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),C=(()=>{class t extends y{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=m(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,i){let s=this.prepareExternalUrl(n+_(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,i){let s=this.prepareExternalUrl(n+_(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(c),i.LFG(v,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),x=(()=>{class t{constructor(t,e){this._subject=new i.vpe,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=g(S(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+_(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,S(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformStrategy).historyGo)||void 0===n||n.call(e,t)}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(y),i.LFG(c))},t.normalizeQueryParams=_,t.joinWithSlash=m,t.stripTrailingSlash=g,t.\u0275prov=(0,i.Yz7)({factory:E,token:t,providedIn:"root"}),t})();function E(){return new x((0,i.LFG)(y),(0,i.LFG)(c))}function S(t){return t.replace(/\/index.html$/,"")}var k=(()=>((k=k||{})[k.Zero=0]="Zero",k[k.One=1]="One",k[k.Two=2]="Two",k[k.Few=3]="Few",k[k.Many=4]="Many",k[k.Other=5]="Other",k))();const O=i.kL8;class T{}let A=(()=>{class t extends T{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(O(e||this.locale)(t)){case k.Zero:return"zero";case k.One:return"one";case k.Two:return"two";case k.Few:return"few";case k.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.soG))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();function P(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,s]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(s)}return null}let I=(()=>{class t{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&((0,i.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,i.AaK)(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class R{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}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 D=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new R(null,this._ngForOf,-1,-1),null===i?void 0:i),s=new M(t,n);e.push(s)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,i);const r=new M(t,s);e.push(r)}});for(let n=0;n{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class M{constructor(t,e){this.record=t,this.view=e}}let L=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new F,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){N("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){N("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class F{constructor(){this.$implicit=null,this.ngIf=null}}function N(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${(0,i.AaK)(e)}'.`)}class B{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 U=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new B(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(U,9))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),j=(()=>{class t{constructor(t,e,n){n._addDefault(new B(t,e))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(U,9))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngSwitchDefault",""]]}),t})();class q{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class V{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const H=new V,z=new q;let Y=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if((0,i.QGY)(e))return H;if((0,i.F4k)(e))return z;throw Error(`InvalidPipeArgument: '${e}' for pipe '${(0,i.AaK)(t)}'`)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.sBO,16))},t.\u0275pipe=i.Yjl({name:"async",type:t,pure:!1}),t})(),G=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[{provide:T,useClass:A}]}),t})();const K="browser";function $(t){return t===K}let W=(()=>{class t{}return t.\u0275prov=(0,i.Yz7)({token:t,providedIn:"root",factory:()=>new Q((0,i.LFG)(l),window)}),t})();class Q{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let i=n.currentNode;for(;i;){const t=i.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}i=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],i-s[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=J(this.window.history)||J(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function J(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class X{}},1841:function(t,e,n){"use strict";n.d(e,{eN:function(){return T},JF:function(){return j}});var i=n(8583),s=n(3018),r=n(5917),o=n(7574),a=n(4612),l=n(5435),c=n(8002);class u{}class h{}class d{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),i=n.toLowerCase(),s=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const i=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(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 d?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 d;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof d?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 n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":const s=t.value;if(s){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===s.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return f(t)}encodeValue(t){return f(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function f(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function m(t){return`${t}`}class g{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new p,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(t=>{const i=t.indexOf("="),[s,r]=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],o=n.get(s)||[];o.push(r),n.set(s,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):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(n=>{const i=t[n];Array.isArray(i)?i.forEach(t=>{e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:i,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(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new g({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(m(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(m(t.value));-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class _{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}keys(){return this.map.keys()}}function y(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function b(t){return"undefined"!=typeof Blob&&t instanceof Blob}function v(t){return"undefined"!=typeof FormData&&t instanceof FormData}class w{constructor(t,e,n,i){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,s=i):s=n,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new d),this.context||(this.context=new _),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":ne.set(n,t.setHeaders[n]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),c)),new w(n,i,r,{params:c,headers:l,context:u,reportProgress:a,responseType:s,withCredentials:o})}}var C=(()=>((C=C||{})[C.Sent=0]="Sent",C[C.UploadProgress=1]="UploadProgress",C[C.ResponseHeader=2]="ResponseHeader",C[C.DownloadProgress=3]="DownloadProgress",C[C.Response=4]="Response",C[C.User=5]="User",C))();class x{constructor(t,e=200,n="OK"){this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class E extends x{constructor(t={}){super(t),this.type=C.ResponseHeader}clone(t={}){return new E({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 S extends x{constructor(t={}){super(t),this.type=C.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new S({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 k extends x{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 O(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let T=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let i;if(t instanceof w)i=t;else{let s,r;s=n.headers instanceof d?n.headers:new d(n.headers),n.params&&(r=n.params instanceof g?n.params:new g({fromObject:n.params})),i=new w(t,e,void 0!==n.body?n.body:null,{headers:s,context:n.context,params:r,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=(0,r.of)(i).pipe((0,a.b)(t=>this.handler.handle(t)));if(t instanceof w||"events"===n.observe)return s;const o=s.pipe((0,l.h)(t=>t instanceof S));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return o.pipe((0,c.U)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return o.pipe((0,c.U)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return o.pipe((0,c.U)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return o.pipe((0,c.U)(t=>t.body))}case"response":return o;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new g).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,O(n,e))}post(t,e,n={}){return this.request("POST",t,O(n,e))}put(t,e,n={}){return this.request("PUT",t,O(n,e))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(u))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class A{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const P=new s.OlP("HTTP_INTERCEPTORS");let I=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const R=/^\)\]\}',?\n/;let D=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new o.y(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const i=t.serializeBody();let s=null;const r=()=>{if(null!==s)return s;const e=1223===n.status?204:n.status,i=n.statusText||"OK",r=new d(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return s=new E({headers:r,status:e,statusText:i,url:o}),s},o=()=>{let{headers:i,status:s,statusText:o,url:a}=r(),l=null;204!==s&&(l=void 0===n.response?n.responseText:n.response),0===s&&(s=l?200:0);let c=s>=200&&s<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(R,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new S({body:l,headers:i,status:s,statusText:o,url:a||void 0})),e.complete()):e.error(new k({error:l,headers:i,status:s,statusText:o,url:a||void 0}))},a=t=>{const{url:i}=r(),s=new k({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});e.error(s)};let l=!1;const c=i=>{l||(e.next(r()),l=!0);let s={type:C.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(s.total=i.total),"text"===t.responseType&&n.responseText&&(s.partialText=n.responseText),e.next(s)},u=t=>{let n={type:C.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),t.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",u)),n.send(i),e.next({type:C.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),t.reportProgress&&(n.removeEventListener("progress",c),null!==i&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.JF))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const M=new s.OlP("XSRF_COOKIE_NAME"),L=new s.OlP("XSRF_HEADER_NAME");class F{}let N=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,i.Mx)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0),s.LFG(s.Lbi),s.LFG(M))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),B=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(F),s.LFG(L))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),U=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(P,[]);this.chain=t.reduceRight((t,e)=>new A(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(h),s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Z=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:B,useClass:I}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:M,useValue:e.cookieName}:[],e.headerName?{provide:L,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[B,{provide:P,useExisting:B,multi:!0},{provide:F,useClass:N},{provide:M,useValue:"XSRF-TOKEN"},{provide:L,useValue:"X-XSRF-TOKEN"}]}),t})(),j=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[T,{provide:u,useClass:U},D,{provide:h,useExisting:D}],imports:[[Z.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},3018:function(t,e,n){"use strict";n.d(e,{deG:function(){return rn},tb:function(){return jl},AFp:function(){return Fl},ip1:function(){return Ml},CZH:function(){return Ll},hGG:function(){return Mc},z2F:function(){return Ec},sBO:function(){return Na},Sil:function(){return Jl},_Vd:function(){return aa},EJc:function(){return Hl},SBq:function(){return ha},qLn:function(){return Ei},vpe:function(){return ml},gxx:function(){return hr},tBr:function(){return Sn},XFs:function(){return I},OlP:function(){return sn},zs3:function(){return kr},ZZ4:function(){return Pa},aQg:function(){return Ra},soG:function(){return Vl},YKP:function(){return Ga},v3s:function(){return kc},h0i:function(){return Ya},PXZ:function(){return bc},R0b:function(){return ec},FiY:function(){return kn},Lbi:function(){return Zl},g9A:function(){return Ul},n_E:function(){return _l},Qsj:function(){return fa},FYo:function(){return pa},JOm:function(){return Ti},Tiy:function(){return ga},q3G:function(){return mi},tp0:function(){return On},EAV:function(){return Ac},Rgc:function(){return qa},dDg:function(){return lc},DyG:function(){return on},GfV:function(){return _a},s_b:function(){return $a},ifc:function(){return N},eFA:function(){return vc},G48:function(){return _c},Gpc:function(){return m},f3M:function(){return Cn},X6Q:function(){return gc},_c5:function(){return Rc},VLi:function(){return hc},c2e:function(){return ql},zSh:function(){return pr},wAp:function(){return Ko},vHH:function(){return y},EiD:function(){return pi},mCW:function(){return Wn},qzn:function(){return Un},JVY:function(){return jn},pB0:function(){return zn},eBb:function(){return Vn},L6k:function(){return qn},LAX:function(){return Hn},cg1:function(){return zo},Tjo:function(){return Ic},kL8:function(){return Yo},yhl:function(){return Zn},dqk:function(){return q},sIi:function(){return Fr},CqO:function(){return eo},QGY:function(){return Xr},F4k:function(){return to},RDi:function(){return Et},AaK:function(){return d},z3N:function(){return Bn},qOj:function(){return Tr},TTD:function(){return yt},_Bn:function(){return sa},xp6:function(){return fs},uIk:function(){return Zr},Tol:function(){return Co},Gre:function(){return Uo},ekj:function(){return wo},Suo:function(){return Al},Xpm:function(){return X},lG2:function(){return ot},Yz7:function(){return C},cJS:function(){return x},oAB:function(){return it},Yjl:function(){return at},Y36:function(){return Hr},_UZ:function(){return $r},BQk:function(){return Qr},ynx:function(){return Wr},qZA:function(){return Kr},TgZ:function(){return Gr},EpF:function(){return Jr},n5z:function(){return Xe},Ikx:function(){return Zo},LFG:function(){return wn},$8M:function(){return en},NdJ:function(){return no},CRH:function(){return Pl},kcU:function(){return ye},O4$:function(){return _e},oxw:function(){return ao},ALo:function(){return dl},lcZ:function(){return pl},Hsn:function(){return uo},F$t:function(){return co},Q6J:function(){return zr},s9C:function(){return ho},VKq:function(){return ul},iGM:function(){return Ol},MAs:function(){return Vr},pYS:function(){return ki},CHM:function(){return Vt},oJD:function(){return gi},LSH:function(){return _i},kYT:function(){return st},Udp:function(){return vo},WFA:function(){return io},d8E:function(){return jo},YNc:function(){return qr},_uU:function(){return Mo},Oqu:function(){return Lo},hij:function(){return Fo},AsE:function(){return No},lnq:function(){return Bo},Gf:function(){return Tl}});var i=n(9765),s=n(5319),r=n(7574),o=n(6682),a=n(2441),l=n(1307);function c(){return new i.xQ}function u(t){for(let e in t)if(t[e]===u)return e;throw Error("Could not find renamed property on target object.")}function h(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function d(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(d).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function p(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const f=u({__forward_ref__:u});function m(t){return t.__forward_ref__=m,t.toString=function(){return d(this())},t}function g(t){return _(t)?t():t}function _(t){return"function"==typeof t&&t.hasOwnProperty(f)&&t.__forward_ref__===m}class y extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function b(t){return"string"==typeof t?t:null==t?"":String(t)}function v(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():b(t)}function w(t,e){const n=e?` in ${e}`:"";throw new y("201",`No provider for ${v(t)} found${n}`)}function C(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function x(t){return{providers:t.providers||[],imports:t.imports||[]}}function E(t){return S(t,O)||S(t,A)}function S(t,e){return t.hasOwnProperty(e)?t[e]:null}function k(t){return t&&(t.hasOwnProperty(T)||t.hasOwnProperty(P))?t[T]:null}const O=u({"\u0275prov":u}),T=u({"\u0275inj":u}),A=u({ngInjectableDef:u}),P=u({ngInjectorDef:u});var I=(()=>((I=I||{})[I.Default=0]="Default",I[I.Host=1]="Host",I[I.Self=2]="Self",I[I.SkipSelf=4]="SkipSelf",I[I.Optional=8]="Optional",I))();let R;function D(t){const e=R;return R=t,e}function M(t,e,n){const i=E(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&I.Optional?null:void 0!==e?e:void w(d(t),"Injector")}function L(t){return{toString:t}.toString()}var F=(()=>((F=F||{})[F.OnPush=0]="OnPush",F[F.Default=1]="Default",F))(),N=(()=>((N=N||{})[N.Emulated=0]="Emulated",N[N.None=2]="None",N[N.ShadowDom=3]="ShadowDom",N))();const B="undefined"!=typeof globalThis&&globalThis,U="undefined"!=typeof window&&window,Z="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,j="undefined"!=typeof global&&global,q=B||j||U||Z,V={},H=[],z=u({"\u0275cmp":u}),Y=u({"\u0275dir":u}),G=u({"\u0275pipe":u}),K=u({"\u0275mod":u}),$=u({"\u0275loc":u}),W=u({"\u0275fac":u}),Q=u({__NG_ELEMENT_ID__:u});let J=0;function X(t){return L(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===F.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||H,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||N.Emulated,id:"c",styles:t.styles||H,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,s=t.features,r=t.pipes;return n.id+=J++,n.inputs=rt(t.inputs,e),n.outputs=rt(t.outputs),s&&s.forEach(t=>t(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(tt):null,n.pipeDefs=r?()=>("function"==typeof r?r():r).map(et):null,n})}function tt(t){return lt(t)||function(t){return t[Y]||null}(t)}function et(t){return function(t){return t[G]||null}(t)}const nt={};function it(t){return L(()=>{const e={type:t.type,bootstrap:t.bootstrap||H,declarations:t.declarations||H,imports:t.imports||H,exports:t.exports||H,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(nt[t.id]=t.type),e})}function st(t,e){return L(()=>{const n=ct(t,!0);n.declarations=e.declarations||H,n.imports=e.imports||H,n.exports=e.exports||H})}function rt(t,e){if(null==t)return V;const n={};for(const i in t)if(t.hasOwnProperty(i)){let s=t[i],r=s;Array.isArray(s)&&(r=s[1],s=s[0]),n[s]=i,e&&(e[s]=r)}return n}const ot=X;function at(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function lt(t){return t[z]||null}function ct(t,e){const n=t[K]||null;if(!n&&!0===e)throw new Error(`Type ${d(t)} does not have '\u0275mod' property.`);return n}function ut(t){return Array.isArray(t)&&"object"==typeof t[1]}function ht(t){return Array.isArray(t)&&!0===t[1]}function dt(t){return 0!=(8&t.flags)}function pt(t){return 2==(2&t.flags)}function ft(t){return 1==(1&t.flags)}function mt(t){return null!==t.template}function gt(t,e){return t.hasOwnProperty(W)?t[W]:null}class _t{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function yt(){return bt}function bt(t){return t.type.prototype.ngOnChanges&&(t.setInput=wt),vt}function vt(){const t=Ct(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===V)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function wt(t,e,n,i){const s=Ct(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:V,current:null}),r=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],l=o[a];r[a]=new _t(l&&l.currentValue,e,o===V),t[i]=e}function Ct(t){return t.__ngSimpleChanges__||null}let xt;function Et(t){xt=t}function St(){return void 0!==xt?xt:"undefined"!=typeof document?document:void 0}function kt(t){return!!t.listen}yt.ngInherit=!0;const Ot={createRenderer:(t,e)=>St()};function Tt(t){for(;Array.isArray(t);)t=t[0];return t}function At(t,e){return Tt(e[t])}function Pt(t,e){return Tt(e[t.index])}function It(t,e){return t.data[e]}function Rt(t,e){return t[e]}function Dt(t,e){const n=e[t];return ut(n)?n:n[0]}function Mt(t){return 4==(4&t[2])}function Lt(t){return 128==(128&t[2])}function Ft(t,e){return null==e?null:t[e]}function Nt(t){t[18]=0}function Bt(t,e){t[5]+=e;let n=t,i=t[3];for(;null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}const Ut={lFrame:ue(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Zt(){return Ut.bindingsEnabled}function jt(){return Ut.lFrame.lView}function qt(){return Ut.lFrame.tView}function Vt(t){return Ut.lFrame.contextLView=t,t[8]}function Ht(){let t=zt();for(;null!==t&&64===t.type;)t=t.parent;return t}function zt(){return Ut.lFrame.currentTNode}function Yt(t,e){const n=Ut.lFrame;n.currentTNode=t,n.isParent=e}function Gt(){return Ut.lFrame.isParent}function Kt(){Ut.lFrame.isParent=!1}function $t(){return Ut.isInCheckNoChangesMode}function Wt(t){Ut.isInCheckNoChangesMode=t}function Qt(){const t=Ut.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Jt(){return Ut.lFrame.bindingIndex}function Xt(){return Ut.lFrame.bindingIndex++}function te(t){const e=Ut.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function ee(t,e){const n=Ut.lFrame;n.bindingIndex=n.bindingRootIndex=t,ne(e)}function ne(t){Ut.lFrame.currentDirectiveIndex=t}function ie(t){const e=Ut.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function se(){return Ut.lFrame.currentQueryIndex}function re(t){Ut.lFrame.currentQueryIndex=t}function oe(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function ae(t,e,n){if(n&I.SkipSelf){let i=e,s=t;for(;i=i.parent,!(null!==i||n&I.Host||(i=oe(s),null===i)||(s=s[15],10&i.type)););if(null===i)return!1;e=i,t=s}const i=Ut.lFrame=ce();return i.currentTNode=e,i.lView=t,!0}function le(t){const e=ce(),n=t[1];Ut.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function ce(){const t=Ut.lFrame,e=null===t?null:t.child;return null===e?ue(t):e}function ue(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function he(){const t=Ut.lFrame;return Ut.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const de=he;function pe(){const t=he();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function fe(){return Ut.lFrame.selectedIndex}function me(t){Ut.lFrame.selectedIndex=t}function ge(){const t=Ut.lFrame;return It(t.tView,t.selectedIndex)}function _e(){Ut.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function ye(){Ut.lFrame.currentNamespace=null}function be(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n=i)break}else e[a]<0&&(t[18]+=65536),(o>11>16&&(3&t[2])===e){t[2]+=2048;try{r.call(o)}finally{}}}else try{r.call(o)}finally{}}class Se{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function ke(t,e,n){const i=kt(t);let s=0;for(;se){o=r-1;break}}}for(;r>16,i=e;for(;n>0;)i=i[15],n--;return i}let Me=!0;function Le(t){const e=Me;return Me=t,e}let Fe=0;function Ne(t,e){const n=Ue(t,e);if(-1!==n)return n;const i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,Be(i.data,t),Be(e,null),Be(i.blueprint,null));const s=Ze(t,e),r=t.injectorIndex;if(Ie(s)){const t=Re(s),n=De(s,e),i=n[1].data;for(let s=0;s<8;s++)e[r+s]=n[t+s]|i[t+s]}return e[r+8]=s,r}function Be(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ue(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Ze(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,s=e;for(;null!==s;){const t=s[1],e=t.type;if(i=2===e?t.declTNode:1===e?s[6]:null,null===i)return-1;if(n++,s=s[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function je(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Q)&&(i=n[Q]),null==i&&(i=n[Q]=Fe++);const s=255&i;e.data[t+(s>>5)]|=1<=0?255&e:Ye:e}(n);if("function"==typeof r){if(!ae(e,t,i))return i&I.Host?qe(s,n,i):Ve(e,n,i,s);try{const t=r(i);if(null!=t||i&I.Optional)return t;w(n)}finally{de()}}else if("number"==typeof r){let s=null,o=Ue(t,e),a=-1,l=i&I.Host?e[16][6]:null;for((-1===o||i&I.SkipSelf)&&(a=-1===o?Ze(t,e):e[o+8],-1!==a&&Qe(i,!1)?(s=e[1],o=Re(a),e=De(a,e)):o=-1);-1!==o;){const t=e[1];if(We(r,o,t.data)){const t=Ge(o,e,n,s,i,l);if(t!==ze)return t}a=e[o+8],-1!==a&&Qe(i,e[1].data[o+8]===l)&&We(r,o,e)?(s=t,o=Re(a),e=De(a,e)):o=-1}}}return Ve(e,n,i,s)}const ze={};function Ye(){return new Je(Ht(),jt())}function Ge(t,e,n,i,s,r){const o=e[1],a=o.data[t+8],l=Ke(a,o,n,null==i?pt(a)&&Me:i!=o&&0!=(3&a.type),s&I.Host&&r===a);return null!==l?$e(e,o,l,a):ze}function Ke(t,e,n,i,s){const r=t.providerIndexes,o=e.data,a=1048575&r,l=t.directiveStart,c=r>>20,u=s?a+c:t.directiveEnd;for(let h=i?a:a+c;h=l&&t.type===n)return h}if(s){const t=o[l];if(t&&mt(t)&&t.type===n)return l}return null}function $e(t,e,n,i){let s=t[n];const r=e.data;if(s instanceof Se){const o=s;o.resolving&&function(t,e){throw new y("200",`Circular dependency in DI detected for ${t}`)}(v(r[n]));const a=Le(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?D(o.injectImpl):null;ae(t,i,I.Default);try{s=t[n]=o.factory(void 0,r,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{ngOnChanges:i,ngOnInit:s,ngDoCheck:r}=e.type.prototype;if(i){const i=bt(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,s),r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r))}(n,r[n],e)}finally{null!==l&&D(l),Le(a),o.resolving=!1,de()}}return s}function We(t,e,n){return!!(n[e+(t>>5)]&1<{const e=t.prototype.constructor,n=e[W]||tn(e),i=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==i;){const t=s[W]||tn(s);if(t&&t!==n)return t;s=Object.getPrototypeOf(s)}return t=>new t})}function tn(t){return _(t)?()=>{const e=tn(g(t));return e&&e()}:gt(t)}function en(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let i=0;for(;i{const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function s(...t){if(this instanceof s)return i.apply(this,t),this;const e=new s(...t);return n.annotation=e,n;function n(t,n,i){const s=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;s.length<=i;)s.push(null);return(s[i]=s[i]||[]).push(e),t}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}class sn{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=C({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const rn=new sn("AnalyzeForEntryComponents"),on=Function;function an(t,e){void 0===e&&(e=t);for(let n=0;nArray.isArray(t)?ln(t,e):e(t))}function cn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function un(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function hn(t,e){const n=[];for(let i=0;i=0?t[1|i]=n:(i=~i,function(t,e,n,i){let s=t.length;if(s==e)t.push(n,i);else if(1===s)t.push(i,t[0]),t[0]=n;else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function pn(t,e){const n=fn(t,e);if(n>=0)return t[1|n]}function fn(t,e){return function(t,e,n){let i=0,s=t.length>>1;for(;s!==i;){const n=i+(s-i>>1),r=t[n<<1];if(e===r)return n<<1;r>e?s=n:i=n+1}return~(s<<1)}(t,e)}const mn={},gn=/\n/gm,_n=u({provide:String,useValue:u});let yn;function bn(t){const e=yn;return yn=t,e}function vn(t,e=I.Default){if(void 0===yn)throw new Error("inject() must be called from an injection context");return null===yn?M(t,void 0,e):yn.get(t,e&I.Optional?null:void 0,e)}function wn(t,e=I.Default){return(R||vn)(g(t),e)}const Cn=wn;function xn(t){const e=[];for(let n=0;n({token:t})),-1),kn=En(nn("Optional"),8),On=En(nn("SkipSelf"),4);let Tn,An;function Pn(t){var e;return(null===(e=function(){if(void 0===Tn&&(Tn=null,q.trustedTypes))try{Tn=q.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return Tn}())||void 0===e?void 0:e.createHTML(t))||t}function In(t){var e;return(null===(e=function(){if(void 0===An&&(An=null,q.trustedTypes))try{An=q.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return An}())||void 0===e?void 0:e.createHTML(t))||t}class Rn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Dn extends Rn{getTypeName(){return"HTML"}}class Mn extends Rn{getTypeName(){return"Style"}}class Ln extends Rn{getTypeName(){return"Script"}}class Fn extends Rn{getTypeName(){return"URL"}}class Nn extends Rn{getTypeName(){return"ResourceURL"}}function Bn(t){return t instanceof Rn?t.changingThisBreaksApplicationSecurity:t}function Un(t,e){const n=Zn(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}function Zn(t){return t instanceof Rn&&t.getTypeName()||null}function jn(t){return new Dn(t)}function qn(t){return new Mn(t)}function Vn(t){return new Ln(t)}function Hn(t){return new Fn(t)}function zn(t){return new Nn(t)}class Yn{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Pn(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class Gn{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Pn(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=Pn(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0Wn(t.trim())).join(", ")),this.buf.push(" ",e,'="',hi(o),'"')}var i;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();ii.hasOwnProperty(e)&&!Xn.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(hi(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 ci=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ui=/([^\#-~ |!])/g;function hi(t){return t.replace(/&/g,"&").replace(ci,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ui,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let di;function pi(t,e){let n=null;try{di=di||function(t){const e=new Gn(t);return function(){try{return!!(new window.DOMParser).parseFromString(Pn(""),"text/html")}catch(t){return!1}}()?new Yn(e):e}(t);let i=e?String(e):"";n=di.getInertBodyElement(i);let s=5,r=i;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,i=r,r=n.innerHTML,n=di.getInertBodyElement(i)}while(i!==r);return Pn((new li).sanitizeChildren(fi(n)||n))}finally{if(n){const t=fi(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function fi(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var mi=(()=>((mi=mi||{})[mi.NONE=0]="NONE",mi[mi.HTML=1]="HTML",mi[mi.STYLE=2]="STYLE",mi[mi.SCRIPT=3]="SCRIPT",mi[mi.URL=4]="URL",mi[mi.RESOURCE_URL=5]="RESOURCE_URL",mi))();function gi(t){const e=yi();return e?In(e.sanitize(mi.HTML,t)||""):Un(t,"HTML")?In(Bn(t)):pi(St(),b(t))}function _i(t){const e=yi();return e?e.sanitize(mi.URL,t)||"":Un(t,"URL")?Bn(t):Wn(b(t))}function yi(){const t=jt();return t&&t[12]}function bi(t,e){t.__ngContext__=e}function vi(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function wi(t){return t.ngDebugContext}function Ci(t){return t.ngOriginalError}function xi(t,...e){t.error(...e)}class Ei{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=function(t){return t.ngErrorLogger||xi}(t);i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?wi(t)?wi(t):this._findContext(Ci(t)):null}_findOriginalError(t){let e=Ci(t);for(;e&&Ci(e);)e=Ci(e);return e}}const Si=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(q))();function ki(t){return t.ownerDocument.body}function Oi(t){return t instanceof Function?t():t}var Ti=(()=>((Ti=Ti||{})[Ti.Important=1]="Important",Ti[Ti.DashCase=2]="DashCase",Ti))();function Ai(t,e){return(void 0)(t,e)}function Pi(t){const e=t[3];return ht(e)?e[3]:e}function Ii(t){return Di(t[13])}function Ri(t){return Di(t[4])}function Di(t){for(;null!==t&&!ht(t);)t=t[4];return t}function Mi(t,e,n,i,s){if(null!=i){let r,o=!1;ht(i)?r=i:ut(i)&&(o=!0,i=i[0]);const a=Tt(i);0===t&&null!==n?null==s?qi(e,n,a):ji(e,n,a,s||null,!0):1===t&&null!==n?ji(e,n,a,s||null,!0):2===t?function(t,e,n){const i=Hi(t,e);i&&function(t,e,n,i){kt(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=r&&function(t,e,n,i,s){const r=n[7];r!==Tt(n)&&Mi(e,t,i,r,s);for(let o=10;o0&&(t[n-1][4]=i[4]);const o=un(t,10+e);Ji(i[1],s=i,s[11],2,null,null),s[0]=null,s[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}var s;return i}function Bi(t,e){if(!(256&e[2])){const n=e[11];kt(n)&&n.destroyNode&&Ji(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Ui(t[1],t);for(;e;){let n=null;if(ut(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)ut(e)&&Ui(e[1],e),e=e[3];null===e&&(e=t),ut(e)&&Ui(e[1],e),n=e&&e[4]}e=n}}(e)}}function Ui(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let i=0;i=0?i[s=l]():i[s=-l].unsubscribe(),r+=2}else{const t=i[s=n[r+1]];n[r].call(t)}if(null!==i){for(let t=s+1;tr?"":s[u+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==ns(e,c,0)||2&i&&c!==t){if(as(i))return!1;o=!0}}}}else{if(!o&&!as(i)&&!as(l))return!1;if(o&&as(l))continue;o=!1,i=l|1&i}}return as(i)||o}function as(t){return 0==(1&t)}function ls(t,e,n,i){if(null===e)return-1;let s=0;if(i||!n){let n=!1;for(;s-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&i?s+="."+o:4&i&&(s+=" "+o);else""===s||as(o)||(e+=hs(r,s),s=""),i=o,r=r||!as(i);n++}return""!==s&&(e+=hs(r,s)),e}const ps={};function fs(t){ms(qt(),jt(),fe()+t,$t())}function ms(t,e,n,i){if(!i)if(3==(3&e[2])){const i=t.preOrderCheckHooks;null!==i&&ve(e,i,n)}else{const i=t.preOrderHooks;null!==i&&we(e,i,0,n)}me(n)}function gs(t,e){return t<<17|e<<2}function _s(t){return t>>17&32767}function ys(t){return 2|t}function bs(t){return(131068&t)>>2}function vs(t,e){return-131069&t|e<<2}function ws(t){return 1|t}function Cs(t,e){const n=t.contentQueries;if(null!==n)for(let i=0;i20&&ms(t,e,20,$t()),n(i,s)}finally{me(r)}}function Ps(t,e,n){if(dt(e)){const i=e.directiveEnd;for(let s=e.directiveStart;s0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=r&&n.push(r),n.push(i,s,o)}}function Zs(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function js(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function qs(t,e,n){if(n){if(e.exportAs)for(let i=0;i0&&Ws(n)}}function Ws(t){for(let n=Ii(t);null!==n;n=Ri(n))for(let t=10;t0&&Ws(e)}const e=t[1].components;if(null!==e)for(let n=0;n0&&Ws(i)}}function Qs(t,e){const n=Dt(e,t),i=n[1];!function(t,e){for(let n=e.length;nPromise.resolve(null))();function sr(t){return t[7]||(t[7]=[])}function rr(t){return t.cleanup||(t.cleanup=[])}function or(t,e,n){return(null===t||mt(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}function ar(t,e){const n=t[9],i=n?n.get(Ei,null):null;i&&i.handleError(e)}function lr(t,e,n,i,s){for(let r=0;rthis.processProvider(n,t,e)),ln([t],t=>this.processInjectorType(t,[],s)),this.records.set(hr,Cr(void 0,this));const r=this.records.get(pr);this.scope=null!=r?r.value:null,this.source=i||("object"==typeof t?null:d(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=mn,n=I.Default){this.assertNotDestroyed();const i=bn(this);try{if(!(n&I.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(s=t)||"object"==typeof s&&s instanceof sn)&&E(t);e=n&&this.injectableDefInScope(n)?Cr(vr(t),fr):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&I.Self?_r():this.parent).get(t,e=n&I.Optional&&e===mn?null:e)}catch(r){if("NullInjectorError"===r.name){if((r.ngTempTokenPath=r.ngTempTokenPath||[]).unshift(d(t)),i)throw r;return function(t,e,n,i){const s=t.ngTempTokenPath;throw e.__source&&s.unshift(e.__source),t.message=function(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=d(e);if(Array.isArray(e))s=e.map(d).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):d(i)))}s=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${s}]: ${t.replace(gn,"\n ")}`}("\n"+t.message,s,n,i),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(r,t,"R3InjectorError",this.source)}throw r}finally{bn(i)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(d(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=g(t)))return!1;let i=k(t);const s=null==i&&t.ngModule||void 0,r=void 0===s?t:s,o=-1!==n.indexOf(r);if(void 0!==s&&(i=k(s)),null==i)return!1;if(null!=i.imports&&!o){let t;n.push(r);try{ln(i.imports,i=>{this.processInjectorType(i,e,n)&&(void 0===t&&(t=[]),t.push(i))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,n,i||H))}}this.injectorDefTypes.add(r);const a=gt(r)||(()=>new r);this.records.set(r,Cr(a,fr));const l=i.providers;if(null!=l&&!o){const e=t;ln(l,t=>this.processProvider(t,e,l))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let i=Er(t=g(t))?t:g(t&&t.provide);const s=function(t,e,n){return xr(t)?Cr(void 0,t.useValue):Cr(wr(t),fr)}(t);if(Er(t)||!0!==t.multi)this.records.get(i);else{let e=this.records.get(i);e||(e=Cr(void 0,fr,!0),e.factory=()=>xn(e.multi),this.records.set(i,e)),i=t,e.multi.push(t)}this.records.set(i,s)}hydrate(t,e){var n;return e.value===fr&&(e.value=mr,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=g(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function vr(t){const e=E(t),n=null!==e?e.factory:gt(t);if(null!==n)return n;if(t instanceof sn)throw new Error(`Token ${d(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=hn(e,"?");throw new Error(`Can't resolve all parameters for ${d(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[O]||t[A]);if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function wr(t,e,n){let i;if(Er(t)){const e=g(t);return gt(e)||vr(e)}if(xr(t))i=()=>g(t.useValue);else if((s=t)&&s.useFactory)i=()=>t.useFactory(...xn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>wn(g(t.useExisting));else{const e=g(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return gt(e)||vr(e);i=()=>new e(...xn(t.deps))}var s;return i}function Cr(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function xr(t){return null!==t&&"object"==typeof t&&_n in t}function Er(t){return"function"==typeof t}const Sr=function(t,e,n){return function(t,e=null,n=null,i){const s=yr(t,e,n,i);return s._resolveInjectorDefTypes(),s}({name:n},e,t,n)};class kr{static create(t,e){return Array.isArray(t)?Sr(t,e,""):Sr(t.providers,t.parent,t.name||"")}}function Or(t,e){be(vi(t)[1],Ht())}function Tr(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const i=[t];for(;e;){let s;if(mt(t))s=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");s=e.\u0275dir}if(s){if(n){i.push(s);const e=t;e.inputs=Ar(t.inputs),e.declaredInputs=Ar(t.declaredInputs),e.outputs=Ar(t.outputs);const n=s.hostBindings;n&&Rr(t,n);const r=s.viewQuery,o=s.contentQueries;if(r&&Pr(t,r),o&&Ir(t,o),h(t.inputs,s.inputs),h(t.declaredInputs,s.declaredInputs),h(t.outputs,s.outputs),mt(s)&&s.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(s.data.animation)}}const e=s.features;if(e)for(let i=0;i=0;i--){const s=t[i];s.hostVars=e+=s.hostVars,s.hostAttrs=Ae(s.hostAttrs,n=Ae(n,s.hostAttrs))}}(i)}function Ar(t){return t===V?{}:t===H?[]:t}function Pr(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function Ir(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,s)=>{e(t,i,s),n(t,i,s)}:e}function Rr(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}kr.THROW_IF_NOT_FOUND=mn,kr.NULL=new dr,kr.\u0275prov=C({token:kr,providedIn:"any",factory:()=>wn(hr)}),kr.__NG_ELEMENT_ID__=-1;let Dr=null;function Mr(){if(!Dr){const t=q.Symbol;if(t&&t.iterator)Dr=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(Tt(t[i.index])):i.index;if(kt(n)){let o=null;if(!a&&l&&(o=function(t,e,n,i){const s=t.cleanup;if(null!=s)for(let r=0;rn?t[n]:null}"string"==typeof t&&(r+=2)}return null}(t,e,s,i.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=r,o.__ngLastListenerFn__=r,h=!1;else{r=oo(i,e,0,r,!1);const t=n.listen(p,s,r);u.push(r,t),c&&c.push(s,m,f,f+1)}}else r=oo(i,e,0,r,!0),p.addEventListener(s,r,o),u.push(r),c&&c.push(s,m,f,o)}else r=oo(i,e,0,r,!1);const d=i.outputs;let p;if(h&&null!==d&&(p=d[s])){const t=p.length;if(t)for(let n=0;n0;)e=e[15],t--;return e}(t,Ut.lFrame.contextLView))[8]}(t)}function lo(t,e){let n=null;const i=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let s=0;s=0}const go={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function _o(t){return t.substring(go.key,go.keyEnd)}function yo(t,e){const n=go.textEnd;return n===e?-1:(e=go.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,go.key=e,n),bo(t,e,n))}function bo(t,e,n){for(;e=0;n=yo(e,n))dn(t,_o(e),!0)}function Eo(t,e,n,i){const s=jt(),r=qt(),o=te(2);r.firstUpdatePass&&Oo(r,t,o,i),e!==ps&&Br(s,o,e)&&Po(r,r.data[fe()],s,s[11],t,s[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=d(Bn(t)))),t}(e,n),i,o)}function So(t,e,n,i){const s=qt(),r=te(2);s.firstUpdatePass&&Oo(s,null,r,i);const o=jt();if(n!==ps&&Br(o,r,n)){const a=s.data[fe()];if(Do(a,i)&&!ko(s,r)){let t=i?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(n=p(t,n||"")),Yr(s,a,o,n,i)}else!function(t,e,n,i,s,r,o,a){s===ps&&(s=H);let l=0,c=0,u=0=t.expandoStartIndex}function Oo(t,e,n,i){const s=t.data;if(null===s[n+1]){const r=s[fe()],o=ko(t,n);Do(r,i)&&null===e&&!o&&(e=!1),e=function(t,e,n,i){const s=ie(t);let r=i?e.residualClasses:e.residualStyles;if(null===s)0===(i?e.classBindings:e.styleBindings)&&(n=Ao(n=To(null,t,e,n,i),e.attrs,i),r=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==s)if(n=To(s,t,e,n,i),null===r){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==bs(i))return t[_s(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=To(null,t,e,n[1],i),n=Ao(n,e.attrs,i),function(t,e,n,i){t[_s(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else r=function(t,e,n){let i;const s=e.directiveEnd;for(let r=1+e.directiveStylingLast;r0)&&(u=!0)}else c=n;if(s)if(0!==l){const e=_s(t[a+1]);t[i+1]=gs(e,a),0!==e&&(t[e+1]=vs(t[e+1],i)),t[a+1]=131071&t[a+1]|i<<17}else t[i+1]=gs(a,0),0!==a&&(t[a+1]=vs(t[a+1],i)),a=i;else t[i+1]=gs(l,0),0===a?a=i:t[l+1]=vs(t[l+1],i),l=i;u&&(t[i+1]=ys(t[i+1])),fo(t,c,i,!0),fo(t,c,i,!1),function(t,e,n,i,s){const r=s?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof e&&fn(r,e)>=0&&(n[i+1]=ws(n[i+1]))}(e,c,t,i,r),o=gs(a,l),r?e.classBindings=o:e.styleBindings=o}(s,r,e,n,o,i)}}function To(t,e,n,i,s){let r=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const e=t[s],r=Array.isArray(e),l=r?e[1]:e,c=null===l;let u=n[s+1];u===ps&&(u=c?H:void 0);let h=c?pn(u,i):l===i?u:void 0;if(r&&!Ro(h)&&(h=pn(e,i)),Ro(h)&&(a=h,o))return a;const d=t[s+1];s=o?_s(d):bs(d)}if(null!==e){let t=r?e.residualClasses:e.residualStyles;null!=t&&(a=pn(t,i))}return a}function Ro(t){return void 0!==t}function Do(t,e){return 0!=(t.flags&(e?16:32))}function Mo(t,e=""){const n=jt(),i=qt(),s=t+20,r=i.firstCreatePass?Es(i,s,1,e,null):i.data[s],o=n[s]=function(t,e){return kt(t)?t.createText(e):t.createTextNode(e)}(n[11],e);Gi(i,n,o,r),Yt(r,!1)}function Lo(t){return Fo("",t,""),Lo}function Fo(t,e,n){const i=jt(),s=jr(i,t,e,n);return s!==ps&&cr(i,fe(),s),Fo}function No(t,e,n,i,s){const r=jt(),o=function(t,e,n,i,s,r){const o=Ur(t,Jt(),n,s);return te(2),o?e+b(n)+i+b(s)+r:ps}(r,t,e,n,i,s);return o!==ps&&cr(r,fe(),o),No}function Bo(t,e,n,i,s,r,o){const a=jt(),l=function(t,e,n,i,s,r,o,a){const l=function(t,e,n,i,s){const r=Ur(t,e,n,i);return Br(t,e+2,s)||r}(t,Jt(),n,s,o);return te(3),l?e+b(n)+i+b(s)+r+b(o)+a:ps}(a,t,e,n,i,s,r,o);return l!==ps&&cr(a,fe(),l),Bo}function Uo(t,e,n){So(dn,xo,jr(jt(),t,e,n),!0)}function Zo(t,e,n){const i=jt();return Br(i,Xt(),e)&&Ns(qt(),ge(),i,t,e,i[11],n,!0),Zo}function jo(t,e,n){const i=jt();if(Br(i,Xt(),e)){const s=qt(),r=ge();Ns(s,r,i,t,e,or(ie(s.data),r,i),n,!0)}return jo}const qo=void 0;var Vo=["en",[["a","p"],["AM","PM"],qo],[["AM","PM"],qo,qo],[["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"]],qo,[["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"]],qo,[["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}",qo,"{1} 'at' {0}",qo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let Ho={};function zo(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Go(e);if(n)return n;const i=e.split("-")[0];if(n=Go(i),n)return n;if("en"===i)return Vo;throw new Error(`Missing locale data for the locale "${t}".`)}function Yo(t){return zo(t)[Ko.PluralCase]}function Go(t){return t in Ho||(Ho[t]=q.ng&&q.ng.common&&q.ng.common.locales&&q.ng.common.locales[t]),Ho[t]}var Ko=(()=>((Ko=Ko||{})[Ko.LocaleId=0]="LocaleId",Ko[Ko.DayPeriodsFormat=1]="DayPeriodsFormat",Ko[Ko.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ko[Ko.DaysFormat=3]="DaysFormat",Ko[Ko.DaysStandalone=4]="DaysStandalone",Ko[Ko.MonthsFormat=5]="MonthsFormat",Ko[Ko.MonthsStandalone=6]="MonthsStandalone",Ko[Ko.Eras=7]="Eras",Ko[Ko.FirstDayOfWeek=8]="FirstDayOfWeek",Ko[Ko.WeekendRange=9]="WeekendRange",Ko[Ko.DateFormat=10]="DateFormat",Ko[Ko.TimeFormat=11]="TimeFormat",Ko[Ko.DateTimeFormat=12]="DateTimeFormat",Ko[Ko.NumberSymbols=13]="NumberSymbols",Ko[Ko.NumberFormats=14]="NumberFormats",Ko[Ko.CurrencyCode=15]="CurrencyCode",Ko[Ko.CurrencySymbol=16]="CurrencySymbol",Ko[Ko.CurrencyName=17]="CurrencyName",Ko[Ko.Currencies=18]="Currencies",Ko[Ko.Directionality=19]="Directionality",Ko[Ko.PluralCase=20]="PluralCase",Ko[Ko.ExtraData=21]="ExtraData",Ko))();let $o="en-US";function Wo(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t} [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&($o=t.toLowerCase().replace(/_/g,"-"))}function Qo(t,e,n,i,s){if(t=g(t),Array.isArray(t))for(let r=0;r>20;if(Er(t)||!t.multi){const i=new Se(l,s,Hr),p=ta(a,e,s?u:u+d,h);-1===p?(je(Ne(c,o),r,a),Jo(r,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(i),o.push(i)):(n[p]=i,o[p]=i)}else{const p=ta(a,e,u+d,h),f=ta(a,e,u,u+d),m=p>=0&&n[p],g=f>=0&&n[f];if(s&&!g||!s&&!m){je(Ne(c,o),r,a);const u=function(t,e,n,i,s){const r=new Se(t,n,Hr);return r.multi=[],r.index=e,r.componentProviders=0,Xo(r,s,i&&!n),r}(s?na:ea,n.length,s,i,l);!s&&g&&(n[f].providerFactory=u),Jo(r,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(u),o.push(u)}else Jo(r,t,p>-1?p:f,Xo(n[s?f:p],l,!s&&i));!s&&i&&g&&n[f].componentProviders++}}}function Jo(t,e,n,i){const s=Er(e);if(s||e.useClass){const r=(e.useClass||e).prototype.ngOnDestroy;if(r){const o=t.destroyHooks||(t.destroyHooks=[]);if(!s&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[i,r]):o[t+1].push(i,r)}else o.push(n,r)}}}function Xo(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function ta(t,e,n,i){for(let s=n;s{n.providersResolver=(n,i)=>function(t,e,n){const i=qt();if(i.firstCreatePass){const s=mt(t);Qo(n,i.data,i.blueprint,s,!0),Qo(e,i.data,i.blueprint,s,!1)}}(n,i?i(t):t,e)}}class ra{}class oa{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${d(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}class aa{}function la(...t){}function ca(t,e){return new ha(Pt(t,e))}aa.NULL=new oa;const ua=function(){return ca(Ht(),jt())};let ha=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=ua,t})();function da(t){return t instanceof ha?t.nativeElement:t}class pa{}let fa=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ma(),t})();const ma=function(){const t=jt(),e=Dt(Ht().index,t);return function(t){return t[11]}(ut(e)?e:t)};let ga=(()=>{class t{}return t.\u0275prov=C({token:t,providedIn:"root",factory:()=>null}),t})();class _a{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ya=new _a("12.1.0");class ba{constructor(){}supports(t){return Fr(t)}create(t){return new wa(t)}}const va=(t,e)=>e;class wa{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||va}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,s=null;for(;e||n;){const r=!n||e&&e.currentIndex{i=this._trackByFn(e,t),null!==s&&Object.is(s.trackById,i)?(r&&(s=this._verifyReinsertion(s,t,i,e)),Object.is(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,i,e),r=!0),s=s._next,e++}),this.length=e;return this._truncate(s),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,n,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,i)):t=this._addAfter(new Ca(e,n),s,i),t}_verifyReinsertion(t,e,n,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Ea),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._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 Ea),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 Ca{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 xa{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 n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class Ea{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new xa,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.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 Sa(t,e,n){const i=t.previousIndex;if(null===i)return i;let s=0;return n&&i{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._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 n=this._records.get(t);this._maybeAddToChanges(n,e);const i=n._prev,s=n._next;return i&&(i._next=s),s&&(s._prev=i),n._next=null,n._prev=null,n}const n=new Ta(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_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(n=>e(t[n],n))}}class Ta{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 Aa(){return new Pa([new ba])}let Pa=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Aa()),deps:[[t,new On,new kn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=C({token:t,providedIn:"root",factory:Aa}),t})();function Ia(){return new Ra([new ka])}let Ra=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Ia()),deps:[[t,new On,new kn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=C({token:t,providedIn:"root",factory:Ia}),t})();function Da(t,e,n,i,s=!1){for(;null!==n;){const r=e[n.index];if(null!==r&&i.push(Tt(r)),ht(r))for(let t=10;t-1&&(Ni(t,n),un(e,n))}this._attachedToViewContainer=!1}Bi(this._lView[1],this._lView)}onDestroy(t){Ls(this._lView[1],this._lView,null,t)}markForCheck(){Xs(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){tr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Wt(!0);try{tr(t,e,n)}finally{Wt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Ji(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class La extends Ma{constructor(t){super(t),this._view=t}detectChanges(){er(this._view)}checkNoChanges(){!function(t){Wt(!0);try{er(t)}finally{Wt(!1)}}(this._view)}get context(){return null}}const Fa=function(t){return function(t,e,n){if(pt(t)&&!n){const n=Dt(t.index,e);return new Ma(n,n)}return 47&t.type?new Ma(e[16],e):null}(Ht(),jt(),16==(16&t))};let Na=(()=>{class t{}return t.__NG_ELEMENT_ID__=Fa,t})();const Ba=[new ka],Ua=new Pa([new ba]),Za=new Ra(Ba),ja=function(){return za(Ht(),jt())};let qa=(()=>{class t{}return t.__NG_ELEMENT_ID__=ja,t})();const Va=qa,Ha=class extends Va{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=xs(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),ks(e,n,t),new Ma(n)}};function za(t,e){return 4&t.type?new Ha(e,t,ca(t,e)):null}class Ya{}class Ga{}const Ka=function(){return tl(Ht(),jt())};let $a=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ka,t})();const Wa=$a,Qa=class extends Wa{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return ca(this._hostTNode,this._hostLView)}get injector(){return new Je(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ze(this._hostTNode,this._hostLView);if(Ie(t)){const e=De(t,this._hostLView),n=Re(t);return new Je(e[1].data[n+8],e)}return new Je(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Ja(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,s){const r=n||this.parentInjector;if(!s&&null==t.ngModule&&r){const t=r.get(Ya,null);t&&(s=t)}const o=t.create(r,i,void 0,s);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,i=n[1];if(ht(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],i=new Qa(e,e[6],e[3]);i.detach(i.indexOf(t))}}const s=this._adjustIndex(e),r=this._lContainer;!function(t,e,n,i){const s=10+i,r=n.length;i>0&&(n[s-1][4]=e),iSi});class rl extends ra{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(ds).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return il(this.componentDef.inputs)}get outputs(){return il(this.componentDef.outputs)}create(t,e,n,i){const s=(i=i||this.ngModule)?function(t,e){return{get:(n,i,s)=>{const r=t.get(n,el,s);return r!==el||i===el?r:e.get(n,i,s)}}}(t,i.injector):t,r=s.get(pa,Ot),o=s.get(ga,null),a=r.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(kt(t))return t.selectRootElement(e,n===N.ShadowDom);let i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(a,n,this.componentDef.encapsulation):Li(r.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:Si,clean:ir,playerHandler:null,flags:0},d=Ms(0,null,null,1,0,null,null,null,null,null),p=xs(null,d,h,u,null,null,r,a,o,s);let f,m;le(p);try{const t=function(t,e,n,i,s,r){const o=n[1];n[20]=t;const a=Es(o,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(ur(a,l,!0),null!==t&&(ke(s,t,l),null!==a.classes&&es(s,t,a.classes),null!==a.styles&&ts(s,t,a.styles)));const c=i.createRenderer(t,e),u=xs(n,Ds(e),null,e.onPush?64:16,n[20],a,i,c,null,null);return o.firstCreatePass&&(je(Ne(a,n),o,e.type),js(o,a),Vs(a,n.length,1)),Js(n,u),n[20]=u}(c,this.componentDef,p,r,a);if(c)if(n)ke(a,c,["ng-version",ya.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let i=1,s=2;for(;i0&&es(a,c,e.join(" "))}if(m=It(d,20),void 0!==e){const t=m.projection=[];for(let n=0;nt(o,e)),e.contentQueries){const t=Ht();e.contentQueries(1,o,t.directiveStart)}const a=Ht();return!r.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(me(a.index),Us(n[1],a,0,a.directiveStart,a.directiveEnd,e),Zs(e,o)),o}(t,this.componentDef,p,h,[Or]),ks(d,p,null)}finally{pe()}return new ol(this.componentType,f,ca(m,p),p,m)}}class ol extends class{}{constructor(t,e,n,i,s){super(),this.location=n,this._rootLView=i,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new La(i),this.componentType=t}get injector(){return new Je(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const al=new Map;class ll extends Ya{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new nl(this);const n=ct(t),i=t[$]||null;i&&Wo(i),this._bootstrapComponents=Oi(n.bootstrap),this._r3Injector=yr(t,e,[{provide:Ya,useValue:this},{provide:aa,useValue:this.componentFactoryResolver}],d(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=kr.THROW_IF_NOT_FOUND,n=I.Default){return t===kr||t===Ya||t===hr?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class cl extends Ga{constructor(t){super(),this.moduleType=t,null!==ct(t)&&function(t){const e=new Set;!function t(n){const i=ct(n,!0),s=i.id;null!==s&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${d(e)} vs ${d(e.name)}`)}(s,al.get(s),n),al.set(s,n));const r=Oi(i.imports);for(const o of r)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new ll(this.moduleType,t)}}function ul(t,e,n,i){return hl(jt(),Qt(),t,e,n,i)}function hl(t,e,n,i,s,r){const o=e+n;return Br(t,o,s)?function(t,e,n){return t[e]=n}(t,o+1,r?i.call(r,s):i(s)):function(t,e){const n=t[e];return n===ps?void 0:n}(t,o+1)}function dl(t,e){const n=qt();let i;const s=t+20;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}throw new y("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[s]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,i.onDestroy)):i=n.data[s];const r=i.factory||(i.factory=gt(i.type)),o=D(Hr);try{const t=Le(!1),e=r();return Le(t),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(n,jt(),s,e),e}finally{D(o)}}function pl(t,e,n){const i=t+20,s=jt(),r=Rt(s,i);return function(t,e){return Lr.isWrapped(e)&&(e=Lr.unwrap(e),t[Jt()]=ps),e}(s,function(t,e){return t[1].data[e].pure}(s,i)?hl(s,Qt(),e,r.transform,n,r):r.transform(n))}function fl(t){return e=>{setTimeout(t,void 0,e)}}const ml=class extends i.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var i,r,o;let a=t,l=e||(()=>null),c=n;if(t&&"object"==typeof t){const e=t;a=null===(i=e.next)||void 0===i?void 0:i.bind(e),l=null===(r=e.error)||void 0===r?void 0:r.bind(e),c=null===(o=e.complete)||void 0===o?void 0:o.bind(e)}this.__isAsync&&(l=fl(l),a&&(a=fl(a)),c&&(c=fl(c)));const u=super.subscribe({next:a,error:l,complete:c});return t instanceof s.w&&t.add(u),u}};function gl(){return this._results[Mr()]()}class _l{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=Mr(),n=_l.prototype;n[e]||(n[e]=gl)}get changes(){return this._changes||(this._changes=new ml)}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){this.dirty=!1;const n=an(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let i=0;i0)i.push(o[t/2]);else{const s=r[t+1],o=e[-n];for(let t=10;t{class t{constructor(t){this.appInits=t,this.resolve=la,this.reject=la,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{e.subscribe({complete:t,error:n})});t.push(n)}}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(wn(Ml,8))},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();const Fl=new sn("AppId"),Nl={provide:Fl,useFactory:function(){return`${Bl()}${Bl()}${Bl()}`},deps:[]};function Bl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ul=new sn("Platform Initializer"),Zl=new sn("Platform ID"),jl=new sn("appBootstrapListener");let ql=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();const Vl=new sn("LocaleId"),Hl=new sn("DefaultCurrencyCode");class zl{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Yl=function(t){return new cl(t)},Gl=Yl,Kl=function(t){return Promise.resolve(Yl(t))},$l=function(t){const e=Yl(t),n=Oi(ct(t).declarations).reduce((t,e)=>{const n=lt(e);return n&&t.push(new rl(n)),t},[]);return new zl(e,n)},Wl=$l,Ql=function(t){return Promise.resolve($l(t))};let Jl=(()=>{class t{constructor(){this.compileModuleSync=Gl,this.compileModuleAsync=Kl,this.compileModuleAndAllComponentsSync=Wl,this.compileModuleAndAllComponentsAsync=Ql}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();const Xl=(()=>Promise.resolve(0))();function tc(t){"undefined"==typeof Zone?Xl.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class ec{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ml(!1),this.onMicrotaskEmpty=new ml(!1),this.onStable=new ml(!1),this.onError=new ml(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=!n&&e,this.shouldCoalesceRunChangeDetection=n,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=q.requestAnimationFrame,e=q.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(q,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,sc(t),t.isCheckStableRunning=!0,ic(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),sc(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,s,r,o,a)=>{try{return rc(t),n.invokeTask(s,r,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||t.shouldCoalesceRunChangeDetection)&&e(),oc(t)}},onInvoke:(n,i,s,r,o,a,l)=>{try{return rc(t),n.invoke(s,r,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),oc(t)}},onHasTask:(e,n,i,s)=>{e.hasTask(i,s),n===i&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,sc(t),ic(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,i,s)=>(e.handleError(i,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ec.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(ec.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,i){const s=this._inner,r=s.scheduleEventTask("NgZoneEvent: "+i,t,nc,la,la);try{return s.runTask(r,e,n)}finally{s.cancelTask(r)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const nc={};function ic(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function sc(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function rc(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function oc(t){t._nesting--,ic(t)}class ac{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ml,this.onMicrotaskEmpty=new ml,this.onStable=new ml,this.onError=new ml}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,i){return t.apply(e,n)}}let lc=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ec.assertNotInAngularZone(),tc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())tc(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(wn(ec))},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})(),cc=(()=>{class t{constructor(){this._applications=new Map,pc.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return pc.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();class uc{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function hc(t){pc=t}let dc,pc=new uc,fc=!0,mc=!1;function gc(){return mc=!0,fc}function _c(){if(mc)throw new Error("Cannot enable prod mode after platform setup.");fc=!1}const yc=new sn("AllowMultipleToken");class bc{constructor(t,e){this.name=t,this.token=e}}function vc(t,e,n=[]){const i=`Platform: ${e}`,s=new sn(i);return(e=[])=>{let r=wc();if(!r||r.injector.get(yc,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:pr,useValue:"platform"});!function(t){if(dc&&!dc.destroyed&&!dc.injector.get(yc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");dc=t.get(Cc);const e=t.get(Ul,null);e&&e.forEach(t=>t())}(kr.create({providers:t,name:i}))}return function(t){const e=wc();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function wc(){return dc&&!dc.destroyed?dc:null}let Cc=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new ac:("zone.js"===t?void 0:t)||new ec({enableLongStackTrace:gc(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),i=[{provide:ec,useValue:n}];return n.run(()=>{const e=kr.create({providers:i,parent:this.injector,name:t.moduleType.name}),s=t.create(e),r=s.injector.get(Ei,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{r.handleError(t)}});s.onDestroy(()=>{Sc(this._modules,s),t.unsubscribe()})}),function(t,e,n){try{const i=n();return Xr(i)?i.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):i}catch(i){throw e.runOutsideAngular(()=>t.handleError(i)),i}}(r,n,()=>{const t=s.injector.get(Ll);return t.runInitializers(),t.donePromise.then(()=>(Wo(s.injector.get(Vl,"en-US")||"en-US"),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const n=xc({},e);return function(t,e,n){const i=new cl(n);return Promise.resolve(i)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Ec);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${d(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(wn(kr))},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();function xc(t,e){return Array.isArray(e)?e.reduce(xc,t):Object.assign(Object.assign({},t),e)}let Ec=(()=>{class t{constructor(t,e,n,i,s){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const u=new r.y(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),h=new r.y(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{ec.assertNotInAngularZone(),tc(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{ec.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=(0,o.T)(u,h.pipe(t=>{return(0,l.x)()((e=c,function(t){let n;n="function"==typeof e?e:function(){return e};const i=Object.create(t,a.N);return i.source=t,i.subjectFactory=n,i})(t));var e}))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof ra?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(Ya),s=n.create(kr.NULL,[],e||n.selector,i),r=s.location.nativeElement,o=s.injector.get(lc,null),a=o&&s.injector.get(cc);return o&&a&&a.registerApplication(r,o),s.onDestroy(()=>{this.detachView(s.hostView),Sc(this.components,s),a&&a.unregisterApplication(r)}),this._loadComponent(s),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Sc(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(jl,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(wn(ec),wn(kr),wn(Ei),wn(aa),wn(Ll))},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();function Sc(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class kc{}class Oc{}const Tc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Ac=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Tc}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,i]=t.split("#");return void 0===i&&(i="default"),n(8255)(e).then(t=>t[i]).then(t=>Pc(t,e,i)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,i]=t.split("#"),s="NgFactory";return void 0===i&&(i="default",s=""),n(8255)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[i+s]).then(t=>Pc(t,e,i))}}return t.\u0275fac=function(e){return new(e||t)(wn(Jl),wn(Oc,8))},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();function Pc(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const Ic=function(t){return null},Rc=vc(null,"core",[{provide:Zl,useValue:"unknown"},{provide:Cc,deps:[kr]},{provide:cc,deps:[]},{provide:ql,deps:[]}]),Dc=[{provide:Ec,useClass:Ec,deps:[ec,kr,Ei,aa,Ll]},{provide:sl,deps:[ec],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Ll,useClass:Ll,deps:[[new kn,Ml]]},{provide:Jl,useClass:Jl,deps:[]},Nl,{provide:Pa,useFactory:function(){return Ua},deps:[]},{provide:Ra,useFactory:function(){return Za},deps:[]},{provide:Vl,useFactory:function(t){return Wo(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new Sn(Vl),new kn,new On]]},{provide:Hl,useValue:"USD"}];let Mc=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(wn(Ec))},t.\u0275mod=it({type:t}),t.\u0275inj=x({providers:Dc}),t})()},665:function(t,e,n){"use strict";n.d(e,{Zs:function(){return et},sg:function(){return Q},u5:function(){return it},Cf:function(){return h},JU:function(){return u},a5:function(){return S},JL:function(){return k},F:function(){return G},_Y:function(){return K}});var i=n(3018),s=(n(8583),n(7574)),r=n(9796),o=n(8002),a=n(1555),l=n(4402);function c(t,e){return new s.y(n=>{const i=t.length;if(0===i)return void n.complete();const s=new Array(i);let r=0,o=0;for(let a=0;a{u||(u=!0,o++),s[a]=t},error:t=>n.error(t),complete:()=>{r++,r!==i&&u||(o===i&&n.next(e?e.reduce((t,e,n)=>(t[e]=s[n],t),{}):s),n.complete())}}))}})}const u=new i.OlP("NgValueAccessor"),h=new i.OlP("NgValidators"),d=new i.OlP("NgAsyncValidators");function p(t){return null!=t}function f(t){const e=(0,i.QGY)(t)?(0,l.D)(t):t;return(0,i.CqO)(e),e}function m(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function g(t,e){return e.map(e=>e(t))}function _(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function y(t){return null!=t?function(t){if(!t)return null;const e=t.filter(p);return 0==e.length?null:function(t){return m(g(t,e))}}(_(t)):null}function b(t){return null!=t?function(t){if(!t)return null;const e=t.filter(p);return 0==e.length?null:function(t){return function(...t){if(1===t.length){const e=t[0];if((0,r.k)(e))return c(e,null);if((0,a.K)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return c(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return c(t=1===t.length&&(0,r.k)(t[0])?t[0]:t,null).pipe((0,o.U)(t=>e(...t)))}return c(t,null)}(g(t,e).map(f)).pipe((0,o.U)(m))}}(_(t)):null}function v(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function w(t){return t._rawValidators}function C(t){return t._rawAsyncValidators}let x=(()=>{class t{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=y(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=b(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){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}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t}),t})(),E=(()=>{class t extends x{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})();class S extends x{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}let k=(()=>{class t extends class{constructor(t){this._cd=t}is(t){var e,n,i;return"submitted"===t?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(i=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===i?void 0:i[t])}}{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(E,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,e){2&t&&i.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))("ng-submitted",e.is("submitted"))},features:[i.qOj]}),t})();function O(t,e){P(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&R(t,e)})}(t,e),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&R(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function T(t,e,n=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),I(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function A(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function P(t,e){const n=w(t);null!==e.validator?t.setValidators(v(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const i=C(t);null!==e.asyncValidator?t.setAsyncValidators(v(i,e.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const s=()=>t.updateValueAndValidity();A(e._rawValidators,s),A(e._rawAsyncValidators,s)}function I(t,e){let n=!1;if(null!==t){if(null!==e.validator){const i=w(t);if(Array.isArray(i)&&i.length>0){const s=i.filter(t=>t!==e.validator);s.length!==i.length&&(n=!0,t.setValidators(s))}}if(null!==e.asyncValidator){const i=C(t);if(Array.isArray(i)&&i.length>0){const s=i.filter(t=>t!==e.asyncValidator);s.length!==i.length&&(n=!0,t.setAsyncValidators(s))}}}const i=()=>{};return A(e._rawValidators,i),A(e._rawAsyncValidators,i),n}function R(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function D(t,e){P(t,e)}function M(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function L(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function F(t){return(Z(t)?t.validators:t)||null}function N(t){return Array.isArray(t)?y(t):t||null}function B(t,e){return(Z(e)?e.asyncValidators:t)||null}function U(t){return Array.isArray(t)?b(t):t||null}function Z(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class j{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=N(this._rawValidators),this._composedAsyncValidatorFn=U(this._rawAsyncValidators)}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"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}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._rawValidators=t,this._composedValidatorFn=N(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=U(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(t=>{t.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(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status="PENDING",!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="DISABLED",this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||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()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;const e=f(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let i=t;return e.forEach(t=>{i=i instanceof V?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof H&&i.at(t)||null}),i}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.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 i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_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)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Z(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class q extends j{constructor(t=null,e,n){super(F(e),B(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,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){L(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){L(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){this._isBoxedValue(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}}class V extends j{constructor(t,e,n){super(F(e),B(n,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,n={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.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,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof q?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,i)=>{n=e(n,t,i)}),n}_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}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class H extends j{constructor(t,e,n){super(F(e),B(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,n={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof q?t.value:t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_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))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_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)}}const z={provide:E,useExisting:(0,i.Gpc)(()=>G)},Y=(()=>Promise.resolve(null))();let G=(()=>{class t extends E{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new i.vpe,this.form=new V({},y(t),b(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Y.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),O(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Y.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),L(this._directives,t)})}addFormGroup(t){Y.then(()=>{const e=this._findContainer(t.path),n=new V({});D(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Y.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){Y.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,M(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(h,10),i.Y36(d,10))},t.\u0275dir=i.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&i.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([z]),i.qOj]}),t})(),K=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),$=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();const W={provide:E,useExisting:(0,i.Gpc)(()=>Q)};let Q=(()=>{class t extends E{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.vpe,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(I(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return O(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){T(t.control||null,t,!1),L(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,M(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=t.control,n=this.form.get(t.path);e!==n&&(T(e||null,t),n instanceof q&&(O(n,t),t.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);D(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return I(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){P(this.form,this),this._oldForm&&I(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(h,10),i.Y36(d,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&i.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([W]),i.qOj,i.TTD]}),t})();const J={provide:h,useExisting:(0,i.Gpc)(()=>tt),multi:!0},X={provide:h,useExisting:(0,i.Gpc)(()=>et),multi:!0};let tt=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&"false"!=`${t}`,this._onChange&&this._onChange()}validate(t){return this.required?function(t){return null==(e=t.value)||0===e.length?{required:!0}:null;var e}(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("required",e.required?"":null)},inputs:{required:"required"},features:[i._Bn([J])]}),t})(),et=(()=>{class t extends tt{validate(t){return this.required?function(t){return!0===t.value?null:{required:!0}}(t):null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("required",e.required?"":null)},features:[i._Bn([X]),i.qOj]}),t})(),nt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[$]]}),t})(),it=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[nt]}),t})()},1095:function(t,e,n){"use strict";n.d(e,{zs:function(){return p},lW:function(){return d},ot:function(){return f}});var i=n(2458),s=n(6237),r=n(3018),o=n(9238);const a=["mat-button",""],l=["*"],c=".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n",u=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],h=(0,i.pj)((0,i.Id)((0,i.Kr)(class{constructor(t){this._elementRef=t}})));let d=(()=>{class t extends h{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const i of u)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);t.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,e){t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(o.tE),r.Y36(s.Qb,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,e){if(1&t&&r.Gf(i.wG,5),2&t){let t;r.iGM(t=r.CRH())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(r.uIk("disabled",e.disabled||null),r.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[r.qOj],attrs:a,ngContentSelectors:l,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"span",0),r.Hsn(1),r.qZA(),r._UZ(2,"span",1),r._UZ(3,"span",2)),2&t&&(r.xp6(2),r.ekj("mat-button-ripple-round",e.isRoundButton||e.isIconButton),r.Q6J("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[i.wG],styles:[c],encapsulation:2,changeDetection:0}),t})(),p=(()=>{class t extends d{constructor(t,e,n){super(e,t,n)}_haltDisabledEvents(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(o.tE),r.Y36(r.SBq),r.Y36(s.Qb,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(t,e){1&t&&r.NdJ("click",function(t){return e._haltDisabledEvents(t)}),2&t&&(r.uIk("tabindex",e.disabled?-1:e.tabIndex||0)("disabled",e.disabled||null)("aria-disabled",e.disabled.toString()),r.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[r.qOj],attrs:a,ngContentSelectors:l,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"span",0),r.Hsn(1),r.qZA(),r._UZ(2,"span",1),r._UZ(3,"span",2)),2&t&&(r.xp6(2),r.ekj("mat-button-ripple-round",e.isRoundButton||e.isIconButton),r.Q6J("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[i.wG],styles:[c],encapsulation:2,changeDetection:0}),t})(),f=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[i.si,i.BQ],i.BQ]}),t})()},2458:function(t,e,n){"use strict";n.d(e,{rD:function(){return S},K7:function(){return j},HF:function(){return N},BQ:function(){return b},ey:function(){return z},Ng:function(){return K},wG:function(){return D},si:function(){return M},CB:function(){return Y},jH:function(){return G},pj:function(){return w},Kr:function(){return C},Id:function(){return v},FD:function(){return E},sb:function(){return x}});var i=n(3018),s=n(9238),r=n(946);const o=new i.GfV("12.1.0");var a=n(8583),l=n(9490),c=n(9765),u=n(521),h=n(6237),d=n(6461);function p(t,e){if(1&t&&i._UZ(0,"mat-pseudo-checkbox",4),2&t){const t=i.oxw();i.Q6J("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}function f(t,e){if(1&t&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.hij("(",t.group.label,")")}}const m=["*"],g=new i.GfV("12.1.0"),_=new i.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let y,b=(()=>{class t{constructor(t,e,n){this._hasDoneGlobalChecks=!1,this._document=n,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getWindow(){const t=this._document.defaultView||window;return"object"==typeof t&&t?t:null}_checksAreEnabled(){return(0,i.X6Q)()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&g.full!==o.full&&console.warn("The Angular Material version ("+g.full+") does not match the Angular CDK version ("+o.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(s.qm),i.LFG(_,8),i.LFG(a.K0))},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[r.vT],r.vT]}),t})();function v(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,l.Ig)(t)}}}function w(t,e){return class extends t{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),e&&this._elementRef.nativeElement.classList.add(`mat-${e}`),this._color=e)}}}function C(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=(0,l.Ig)(t)}}}function x(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e,this.defaultTabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?(0,l.su)(t):this.defaultTabIndex}}}function E(t){return class extends t{constructor(...t){super(...t),this.stateChanges=new c.xQ,this.errorState=!1}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}try{y="undefined"!=typeof Intl}catch($){y=!1}let S=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();class k{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const O={enterDuration:450,exitDuration:400},T=(0,u.i$)({passive:!0}),A=["mousedown","touchstart"],P=["mouseup","mouseleave","touchend","touchcancel"];class I{constructor(t,e,n,i){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=(0,l.fI)(n))}fadeInRipple(t,e,n={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},O),n.animation);n.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);const r=n.radius||function(t,e,n){const i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),s=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+s*s)}(t,e,i),o=t-i.left,a=e-i.top,l=s.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=o-r+"px",c.style.top=a-r+"px",c.style.height=2*r+"px",c.style.width=2*r+"px",null!=n.color&&(c.style.backgroundColor=n.color),c.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const u=new k(this,c,n);return u.state=0,this._activeRipples.add(u),n.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const t=u===this._mostRecentTransientRipple;u.state=1,n.persistent||t&&this._isPointerDown||u.fadeOut()},l),u}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,i=Object.assign(Object.assign({},O),t.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,n.parentNode.removeChild(n)},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=(0,l.fI)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(A))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(P),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=(0,s.X6)(t),n=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(t=>{this._triggerElement.addEventListener(t,this,T)})})}_removeTriggerEvents(){this._triggerElement&&(A.forEach(t=>{this._triggerElement.removeEventListener(t,this,T)}),this._pointerUpEventsRegistered&&P.forEach(t=>{this._triggerElement.removeEventListener(t,this,T)}))}}const R=new i.OlP("mat-ripple-global-options");let D=(()=>{class t{constructor(t,e,n,i,s){this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new I(this,e,t,n)}get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(u.t4),i.Y36(R,8),i.Y36(h.Qb,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t})(),M=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[b,u.ud],b]}),t})(),L=(()=>{class t{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(h.Qb,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&i.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;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-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),t})(),F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[b]]}),t})();const N=new i.OlP("MAT_OPTION_PARENT_COMPONENT"),B=v(class{});let U=0,Z=(()=>{class t extends B{constructor(t){var e;super(),this._labelId="mat-optgroup-label-"+U++,this._inert=null!==(e=null==t?void 0:t.inertGroups)&&void 0!==e&&e}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(N,8))},t.\u0275dir=i.lG2({type:t,inputs:{label:"label"},features:[i.qOj]}),t})();const j=new i.OlP("MatOptgroup");let q=0;class V{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let H=(()=>{class t{constructor(t,e,n,s){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+q++,this.onSelectionChange=new i.vpe,this._stateChanges=new c.xQ}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(t){this._disabled=(0,l.Ig)(t)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().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(t,e){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){t.keyCode!==d.K5&&t.keyCode!==d.L_||(0,d.Vb)(t)||(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new V(this,t))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(void 0),i.Y36(Z))},t.\u0275dir=i.lG2({type:t,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),z=(()=>{class t extends H{constructor(t,e,n,i){super(t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(N,8),i.Y36(j,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&i.NdJ("click",function(){return e._selectViaInteraction()})("keydown",function(t){return e._handleKeydown(t)}),2&t&&(i.Ikx("id",e.id),i.uIk("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),i.ekj("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[i.qOj],ngContentSelectors:m,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,p,1,2,"mat-pseudo-checkbox",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,f,2,1,"span",2),i._UZ(4,"div",3)),2&t&&(i.Q6J("ngIf",e.multiple),i.xp6(3),i.Q6J("ngIf",e.group&&e.group._inert),i.xp6(1),i.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[a.O5,D,L],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),t})();function Y(t,e,n){if(n.length){let i=e.toArray(),s=n.toArray(),r=0;for(let e=0;en+i?Math.max(0,t-i+e):n}let K=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[M,a.ez,b,F]]}),t})()},2238:function(t,e,n){"use strict";n.d(e,{WI:function(){return O},uw:function(){return R},H8:function(){return N},ZT:function(){return M},xY:function(){return F},Is:function(){return U},so:function(){return S},uh:function(){return L}});var i=n(625),s=n(7636),r=n(3018),o=n(2458),a=n(946),l=n(8583),c=n(9765),u=n(1439),h=n(5917),d=n(5435),p=n(5257),f=n(9761),m=n(521),g=n(7238),_=n(6461),y=n(9238);function b(t,e){}class v{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const w={dialogContainer:(0,g.X$)("dialogContainer",[(0,g.SB)("void, exit",(0,g.oB)({opacity:0,transform:"scale(0.7)"})),(0,g.SB)("enter",(0,g.oB)({transform:"none"})),(0,g.eR)("* => enter",(0,g.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,g.oB)({transform:"none",opacity:1}))),(0,g.eR)("* => void, * => exit",(0,g.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,g.oB)({opacity:0})))])};let C=(()=>{class t extends s.en{constructor(t,e,n,i,s,o){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=n,this._config=s,this._focusMonitor=o,this._animationStateChanged=new r.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=t=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=i}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const e=(0,m.ht)(),n=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==n&&!n.contains(e)||(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,m.ht)())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,e=(0,m.ht)();return t===e||t.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(y.qV),r.Y36(r.sBO),r.Y36(l.K0,8),r.Y36(v),r.Y36(y.tE))},t.\u0275dir=r.lG2({type:t,viewQuery:function(t,e){if(1&t&&r.Gf(s.Pl,7),2&t){let t;r.iGM(t=r.CRH())&&(e._portalOutlet=t.first)}},features:[r.qOj]}),t})(),x=(()=>{class t extends C{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:t,totalTime:e}){"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:e}))}_onAnimationStart({toState:t,totalTime:e}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:e}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&r.WFA("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(r.Ikx("id",e._id),r.uIk("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),r.d8E("@dialogContainer",e._state))},features:[r.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&r.YNc(0,b,0,0,"ng-template",0)},directives:[s.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[w.dialogContainer]}}),t})(),E=0;class S{constructor(t,e,n="mat-dialog-"+E++){this._overlayRef=t,this._containerInstance=e,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new c.xQ,this._afterClosed=new c.xQ,this._beforeClosed=new c.xQ,this._state=0,e._id=n,e._animationStateChanged.pipe((0,d.h)(t=>"opened"===t.state),(0,p.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,d.h)(t=>"closed"===t.state),(0,p.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe((0,d.h)(t=>t.keyCode===_.hY&&!this.disableClose&&!(0,_.Vb)(t))).subscribe(t=>{t.preventDefault(),k(this,"keyboard")}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():k(this,"mouse")})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe((0,d.h)(t=>"closing"===t.state),(0,p.q)(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();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._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function k(t,e,n){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(n)}const O=new r.OlP("MatDialogData"),T=new r.OlP("mat-dialog-default-options"),A=new r.OlP("mat-dialog-scroll-strategy"),P={provide:A,deps:[i.aV],useFactory:function(t){return()=>t.scrollStrategies.block()}};let I=(()=>{class t{constructor(t,e,n,i,s,r,o,a,l){this._overlay=t,this._injector=e,this._defaultOptions=n,this._parentDialog=i,this._overlayContainer=s,this._dialogRefConstructor=o,this._dialogContainerType=a,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new c.xQ,this._afterOpenedAtThisLevel=new c.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,u.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,f.O)(void 0))),this._scrollStrategy=r}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,e){(e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new v)).id&&this.getDialogById(e.id);const n=this._createOverlay(e),i=this._attachDialogContainer(n,e),s=this._attachDialogContent(t,i,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(()=>this._removeOpenDialog(s)),this.afterOpened.next(s),i._initializeWithAttachedContent(),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new i.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const n=r.zs3.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:v,useValue:e}]}),i=new s.C5(this._dialogContainerType,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}_attachDialogContent(t,e,n,i){const o=new this._dialogRefConstructor(n,e,i.id);if(t instanceof r.Rgc)e.attachTemplatePortal(new s.UE(t,null,{$implicit:i.data,dialogRef:o}));else{const n=this._createInjector(i,o,e),r=e.attachComponentPortal(new s.C5(t,i.viewContainerRef,n));o.componentInstance=r.instance}return o.updateSize(i.width,i.height).updatePosition(i.position),o}_createInjector(t,e,n){const i=t&&t.viewContainerRef&&t.viewContainerRef.injector,s=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return!t.direction||i&&i.get(a.Is,null,r.XFs.Optional)||s.push({provide:a.Is,useValue:{value:t.direction,change:(0,h.of)()}}),r.zs3.create({parent:i||this._injector,providers:s})}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let i=e[n];i===t||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.aV),r.Y36(r.zs3),r.Y36(void 0),r.Y36(void 0),r.Y36(i.Xj),r.Y36(void 0),r.Y36(r.DyG),r.Y36(r.DyG),r.Y36(r.OlP))},t.\u0275dir=r.lG2({type:t}),t})(),R=(()=>{class t extends I{constructor(t,e,n,i,s,r,o){super(t,e,i,r,o,s,S,x,O)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.aV),r.LFG(r.zs3),r.LFG(l.Ye,8),r.LFG(T,8),r.LFG(A),r.LFG(t,12),r.LFG(i.Xj))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),D=0,M=(()=>{class t{constructor(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=B(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}_onButtonClick(t){k(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(S,8),r.Y36(r.SBq),r.Y36(R))},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,e){1&t&&r.NdJ("click",function(t){return e._onButtonClick(t)}),2&t&&r.uIk("aria-label",e.ariaLabel||null)("type",e.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[r.TTD]}),t})(),L=(()=>{class t{constructor(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id="mat-dialog-title-"+D++}ngOnInit(){this._dialogRef||(this._dialogRef=B(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(S,8),r.Y36(r.SBq),r.Y36(R))},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&r.Ikx("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t})();function B(t,e){let n=t.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find(t=>t.id===n.id):null}let U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[R,P],imports:[[i.U8,s.eL,o.BQ],o.BQ]}),t})()},8295:function(t,e,n){"use strict";n.d(e,{G_:function(){return G},o2:function(){return Y},KE:function(){return K},Eo:function(){return N},lN:function(){return $},hX:function(){return U},R9:function(){return V}});var i=n(8553),s=n(8583),r=n(3018),o=n(2458),a=n(9490),l=n(9765),c=n(6682),u=n(2759),h=n(9761),d=n(6782),p=n(5257),f=n(7238),m=n(6237),g=n(946),_=n(521);const y=["underline"],b=["connectionContainer"],v=["inputContainer"],w=["label"];function C(t,e){1&t&&(r.ynx(0),r.TgZ(1,"div",14),r._UZ(2,"div",15),r._UZ(3,"div",16),r._UZ(4,"div",17),r.qZA(),r.TgZ(5,"div",18),r._UZ(6,"div",15),r._UZ(7,"div",16),r._UZ(8,"div",17),r.qZA(),r.BQk())}function x(t,e){1&t&&(r.TgZ(0,"div",19),r.Hsn(1,1),r.qZA())}function E(t,e){if(1&t&&(r.ynx(0),r.Hsn(1,2),r.TgZ(2,"span"),r._uU(3),r.qZA(),r.BQk()),2&t){const t=r.oxw(2);r.xp6(3),r.Oqu(t._control.placeholder)}}function S(t,e){1&t&&r.Hsn(0,3,["*ngSwitchCase","true"])}function k(t,e){1&t&&(r.TgZ(0,"span",23),r._uU(1," *"),r.qZA())}function O(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"label",20,21),r.NdJ("cdkObserveContent",function(){return r.CHM(t),r.oxw().updateOutlineGap()}),r.YNc(2,E,4,1,"ng-container",12),r.YNc(3,S,1,0,"ng-content",12),r.YNc(4,k,2,0,"span",22),r.qZA()}if(2&t){const t=r.oxw();r.ekj("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),r.Q6J("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),r.uIk("for",t._control.id)("aria-owns",t._control.id),r.xp6(2),r.Q6J("ngSwitchCase",!1),r.xp6(1),r.Q6J("ngSwitchCase",!0),r.xp6(1),r.Q6J("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function T(t,e){1&t&&(r.TgZ(0,"div",24),r.Hsn(1,4),r.qZA())}function A(t,e){if(1&t&&(r.TgZ(0,"div",25,26),r._UZ(2,"span",27),r.qZA()),2&t){const t=r.oxw();r.xp6(2),r.ekj("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function P(t,e){if(1&t&&(r.TgZ(0,"div"),r.Hsn(1,5),r.qZA()),2&t){const t=r.oxw();r.Q6J("@transitionMessages",t._subscriptAnimationState)}}function I(t,e){if(1&t&&(r.TgZ(0,"div",31),r._uU(1),r.qZA()),2&t){const t=r.oxw(2);r.Q6J("id",t._hintLabelId),r.xp6(1),r.Oqu(t.hintLabel)}}function R(t,e){if(1&t&&(r.TgZ(0,"div",28),r.YNc(1,I,2,2,"div",29),r.Hsn(2,6),r._UZ(3,"div",30),r.Hsn(4,7),r.qZA()),2&t){const t=r.oxw();r.Q6J("@transitionMessages",t._subscriptAnimationState),r.xp6(1),r.Q6J("ngIf",t.hintLabel)}}const D=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],M=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],L=new r.OlP("MatError"),F={transitionMessages:(0,f.X$)("transitionMessages",[(0,f.SB)("enter",(0,f.oB)({opacity:1,transform:"translateY(0%)"})),(0,f.eR)("void => enter",[(0,f.oB)({opacity:0,transform:"translateY(-5px)"}),(0,f.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t}),t})();const B=new r.OlP("MatHint");let U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["mat-label"]]}),t})(),Z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["mat-placeholder"]]}),t})();const j=new r.OlP("MatPrefix"),q=new r.OlP("MatSuffix");let V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","matSuffix",""]],features:[r._Bn([{provide:q,useExisting:t}])]}),t})(),H=0;const z=(0,o.pj)(class{constructor(t){this._elementRef=t}},"primary"),Y=new r.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),G=new r.OlP("MatFormField");let K=(()=>{class t extends z{constructor(t,e,n,i,s,r,o,a){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=i,this._defaults=s,this._platform=r,this._ngZone=o,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new l.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+H++,this._labelId="mat-form-field-label-"+H++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==a,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=(0,a.Ig)(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe((0,h.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe((0,d.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,d.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,c.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,h.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,h.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,d.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,u.R)(this._label.nativeElement,"transitionend").pipe((0,p.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,n=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&t.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,n=0;const i=this._connectionContainerRef.nativeElement,s=i.querySelectorAll(".mat-form-field-outline-start"),r=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const s=i.getBoundingClientRect();if(0===s.width&&0===s.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const r=this._getStartEnd(s),o=t.children,a=this._getStartEnd(o[0].getBoundingClientRect());let l=0;for(let t=0;t0?.75*l+10:0}for(let o=0;o{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[s.ez,o.BQ,i.Q8],o.BQ]}),t})()},9983:function(t,e,n){"use strict";n.d(e,{Nt:function(){return y},c:function(){return b}});var i=n(521),s=n(3018),r=n(9490),o=n(9193),a=n(9765);n(2759),n(628),n(6782),n(8583);const l=(0,i.i$)({passive:!0});let c=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return o.E;const e=(0,r.fI)(t),n=this._monitoredElements.get(e);if(n)return n.subject;const i=new a.xQ,s="cdk-text-field-autofilled",c=t=>{"cdk-text-field-autofill-start"!==t.animationName||e.classList.contains(s)?"cdk-text-field-autofill-end"===t.animationName&&e.classList.contains(s)&&(e.classList.remove(s),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!1}))):(e.classList.add(s),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener("animationstart",c,l),e.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(e,{subject:i,unlisten:()=>{e.removeEventListener("animationstart",c,l)}}),i}stopMonitoring(t){const e=(0,r.fI)(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.t4),s.LFG(s.R0b))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(i.t4),s.LFG(s.R0b))},token:t,providedIn:"root"}),t})(),u=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[i.ud]]}),t})();var h=n(2458),d=n(8295),p=n(665);const f=new s.OlP("MAT_INPUT_VALUE_ACCESSOR"),m=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let g=0;const _=(0,h.FD)(class{constructor(t,e,n,i){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=i}});let y=(()=>{class t extends _{constructor(t,e,n,s,r,o,l,c,u,h){super(o,s,r,n),this._elementRef=t,this._platform=e,this.ngControl=n,this._autofillMonitor=c,this._formField=h,this._uid="mat-input-"+g++,this.focused=!1,this.stateChanges=new a.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>(0,i.qK)().has(t));const d=this._elementRef.nativeElement,p=d.nodeName.toLowerCase();this._inputValueAccessor=l||d,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&u.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{const e=t.target;e.value||0!==e.selectionStart||0!==e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===p,this._isTextarea="textarea"===p,this._isInFormField=!!h,this._isNativeSelect&&(this.controlType=d.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=(0,r.Ig)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=(0,r.Ig)(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&(0,i.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=(0,r.Ig)(t)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var t,e;const n=(null===(e=null===(t=this._formField)||void 0===t?void 0:t._hideControlPlaceholder)||void 0===e?void 0:e.call(t))?null:this.placeholder;if(n!==this._previousPlaceholder){const t=this._elementRef.nativeElement;this._previousPlaceholder=n,n?t.setAttribute("placeholder",n):t.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){m.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(i.t4),s.Y36(p.a5,10),s.Y36(p.F,8),s.Y36(p.sg,8),s.Y36(h.rD),s.Y36(f,10),s.Y36(c),s.Y36(s.R0b),s.Y36(d.G_,8))},t.\u0275dir=s.lG2({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(t,e){1&t&&s.NdJ("focus",function(){return e._focusChanged(!0)})("blur",function(){return e._focusChanged(!1)})("input",function(){return e._onInput()}),2&t&&(s.Ikx("disabled",e.disabled)("required",e.required),s.uIk("id",e.id)("data-placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-invalid",e.empty&&e.required?null:e.errorState)("aria-required",e.required),s.ekj("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[s._Bn([{provide:d.Eo,useExisting:t}]),s.qOj,s.TTD]}),t})(),b=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[h.rD],imports:[[u,d.lN,h.BQ],u,d.lN]}),t})()},7441:function(t,e,n){"use strict";n.d(e,{gD:function(){return H},LD:function(){return z}});var i=n(625),s=n(8583),r=n(3018),o=n(2458),a=n(8295),l=n(9243),c=n(9238),u=n(9490),h=n(8345),d=n(6461),p=n(9765),f=n(1439),m=n(6682),g=n(9761),_=n(3190),y=n(5257),b=n(5435),v=n(8002),w=n(7519),C=n(6782),x=n(7238),E=n(946),S=n(665);const k=["trigger"],O=["panel"];function T(t,e){if(1&t&&(r.TgZ(0,"span",8),r._uU(1),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Oqu(t.placeholder)}}function A(t,e){if(1&t&&(r.TgZ(0,"span",12),r._uU(1),r.qZA()),2&t){const t=r.oxw(2);r.xp6(1),r.Oqu(t.triggerValue)}}function P(t,e){1&t&&r.Hsn(0,0,["*ngSwitchCase","true"])}function I(t,e){if(1&t&&(r.TgZ(0,"span",9),r.YNc(1,A,2,1,"span",10),r.YNc(2,P,1,0,"ng-content",11),r.qZA()),2&t){const t=r.oxw();r.Q6J("ngSwitch",!!t.customTrigger),r.xp6(2),r.Q6J("ngSwitchCase",!0)}}function R(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",13),r.TgZ(1,"div",14,15),r.NdJ("@transformPanel.done",function(e){return r.CHM(t),r.oxw()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return r.CHM(t),r.oxw()._handleKeydown(e)}),r.Hsn(3,1),r.qZA(),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("@transformPanelWrap",void 0),r.xp6(1),r.Gre("mat-select-panel ",t._getPanelTheme(),""),r.Udp("transform-origin",t._transformOrigin)("font-size",t._triggerFontSize,"px"),r.Q6J("ngClass",t.panelClass)("@transformPanel",t.multiple?"showing-multiple":"showing"),r.uIk("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const D=[[["mat-select-trigger"]],"*"],M=["mat-select-trigger","*"],L={transformPanelWrap:(0,x.X$)("transformPanelWrap",[(0,x.eR)("* => void",(0,x.IO)("@transformPanel",[(0,x.pV)()],{optional:!0}))]),transformPanel:(0,x.X$)("transformPanel",[(0,x.SB)("void",(0,x.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,x.SB)("showing",(0,x.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,x.SB)("showing-multiple",(0,x.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,x.eR)("void => *",(0,x.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,x.eR)("* => void",(0,x.jt)("100ms 25ms linear",(0,x.oB)({opacity:0})))])};let F=0;const N=new r.OlP("mat-select-scroll-strategy"),B=new r.OlP("MAT_SELECT_CONFIG"),U={provide:N,deps:[i.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class Z{constructor(t,e){this.source=t,this.value=e}}const j=(0,o.Kr)((0,o.sb)((0,o.Id)((0,o.FD)(class{constructor(t,e,n,i,s){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=s}})))),q=new r.OlP("MatSelectTrigger");let V=(()=>{class t extends j{constructor(t,e,n,i,s,o,a,l,c,u,h,d,w,C){var x,E,S;super(s,i,a,l,u),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=n,this._dir=o,this._parentFormField=c,this.ngControl=u,this._liveAnnouncer=w,this._defaultOptions=C,this._panelOpen=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+F++,this._triggerAriaLabelledBy=null,this._destroy=new p.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+F++,this._panelDoneAnimatingStream=new p.xQ,this._overlayPanelClass=(null===(x=this._defaultOptions)||void 0===x?void 0:x.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(S=null===(E=this._defaultOptions)||void 0===E?void 0:E.disableOptionCentering)&&void 0!==S&&S,this.ariaLabel="",this.optionSelectionChanges=(0,f.P)(()=>{const t=this.options;return t?t.changes.pipe((0,g.O)(t),(0,_.w)(()=>(0,m.T)(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.pipe((0,y.q)(1),(0,_.w)(()=>this.optionSelectionChanges))}),this.openedChange=new r.vpe,this._openedStream=this.openedChange.pipe((0,b.h)(t=>t),(0,v.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,b.h)(t=>!t),(0,v.U)(()=>{})),this.selectionChange=new r.vpe,this.valueChange=new r.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==C?void 0:C.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=C.typeaheadDebounceInterval),this._scrollStrategyFactory=d,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(h)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=(0,u.Ig)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=(0,u.Ig)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=(0,u.Ig)(t)}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){(t!==this._value||this._multiple&&Array.isArray(t))&&(this.options&&this._setSelectionByValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=(0,u.su)(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new h.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,w.x)(),(0,C.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,C.R)(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe((0,g.O)(null),(0,C.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby();if(t!==this._triggerAriaLabelledBy){const e=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?e.setAttribute("aria-labelledby",t):e.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,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 t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,n=e===d.JH||e===d.LH||e===d.oh||e===d.SV,i=e===d.K5||e===d.L_,s=this._keyManager;if(!s.isTyping()&&i&&!(0,d.Vb)(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){const e=this.selected;s.onKeydown(t);const n=this.selected;n&&e!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,n=t.keyCode,i=n===d.JH||n===d.LH,s=e.isTyping();if(i&&t.altKey)t.preventDefault(),this.close();else if(s||n!==d.K5&&n!==d.L_||!e.activeItem||(0,d.Vb)(t))if(!s&&this._multiple&&n===d.A&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const n=e.activeItemIndex;e.onKeydown(t),this._multiple&&i&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==n&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,y.q)(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._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(t=>this._selectValue(t)),this._sortValues();else{const e=this._selectValue(t);e?this._keyManager.updateActiveItem(e):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{if(this._selectionModel.isSelected(e))return!1;try{return null!=e.value&&this._compareWith(e.value,t)}catch(n){return!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new c.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,C.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,C.R)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=(0,m.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,C.R)(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,m.T)(...this.options.map(t=>t._stateChanges)).pipe((0,C.R)(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(t,e){const n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,n)=>this.sortComparator?this.sortComparator(e,n,t):t.indexOf(e)-t.indexOf(n)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(this._getChangeEvent(e)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var t;return!this._panelOpen&&!this.disabled&&(null===(t=this.options)||void 0===t?void 0:t.length)>0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){var t;if(this.ariaLabel)return null;const e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var t;if(this.ariaLabel)return null;const e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();let n=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(l.rL),r.Y36(r.sBO),r.Y36(r.R0b),r.Y36(o.rD),r.Y36(r.SBq),r.Y36(E.Is,8),r.Y36(S.F,8),r.Y36(S.sg,8),r.Y36(a.G_,8),r.Y36(S.a5,10),r.$8M("tabindex"),r.Y36(N),r.Y36(c.Kd),r.Y36(B,8))},t.\u0275dir=r.lG2({type:t,viewQuery:function(t,e){if(1&t&&(r.Gf(k,5),r.Gf(O,5),r.Gf(i.pI,5)),2&t){let t;r.iGM(t=r.CRH())&&(e.trigger=t.first),r.iGM(t=r.CRH())&&(e.panel=t.first),r.iGM(t=r.CRH())&&(e._overlayDir=t.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[r.qOj,r.TTD]}),t})(),H=(()=>{class t extends V{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(t,e,n){const i=this._getItemHeight();return Math.min(Math.max(0,i*t-e+i/2),n)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,C.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,y.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(t){const e=(0,o.CB)(t,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=(0,o.jH)((t+e)*n,n,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(t){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(t)}_getChangeEvent(t){return new Z(this,t)}_calculateOverlayOffsetX(){const t=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),n=this._isRtl(),i=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let t=this._selectionModel.selected[0]||this.options.first;s=t&&t.group?32:16}n||(s*=-1);const r=0-(t.left+s-(n?i:0)),o=t.right+s-e.width+(n?0:i);r>0?s+=r+8:o>0&&(s-=o+8),this._overlayDir.offsetX=Math.round(s),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,n){const i=this._getItemHeight(),s=(i-this._triggerRect.height)/2,r=Math.floor(256/i);let o;return this.disableOptionCentering?0:(o=0===this._scrollTop?t*i:this._scrollTop===n?(t-(this._getItemCount()-r))*i+(i-(this._getItemCount()*i-256)%i):e-i/2,Math.round(-1*o-s))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,s=n.height-this._triggerRect.bottom-8,r=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,256)-r-this._triggerRect.height;o>s?this._adjustPanelUp(o,s):r>i?this._adjustPanelDown(r,i,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,n){const i=Math.round(t-e);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),i=e*t-n;let s;s=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),s+=(0,o.CB)(s,this.options,this.optionGroups);const r=n/2;this._scrollTop=this._calculateOverlayScroll(s,r,i),this._offsetY=this._calculateOverlayOffsetY(s,r,i),this._checkOverlayWithinViewport(i)}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,n){if(1&t&&(r.Suo(n,q,5),r.Suo(n,o.ey,5),r.Suo(n,o.K7,5)),2&t){let t;r.iGM(t=r.CRH())&&(e.customTrigger=t.first),r.iGM(t=r.CRH())&&(e.options=t),r.iGM(t=r.CRH())&&(e.optionGroups=t)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,e){1&t&&r.NdJ("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e._onFocus()})("blur",function(){return e._onBlur()}),2&t&&(r.uIk("id",e.id)("tabindex",e.tabIndex)("aria-controls",e.panelOpen?e.id+"-panel":null)("aria-expanded",e.panelOpen)("aria-label",e.ariaLabel||null)("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),r.ekj("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty)("mat-select-multiple",e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[r._Bn([{provide:a.Eo,useExisting:t},{provide:o.HF,useExisting:t}]),r.qOj],ngContentSelectors:M,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,e){if(1&t&&(r.F$t(D),r.TgZ(0,"div",0,1),r.NdJ("click",function(){return e.toggle()}),r.TgZ(3,"div",2),r.YNc(4,T,2,1,"span",3),r.YNc(5,I,3,2,"span",4),r.qZA(),r.TgZ(6,"div",5),r._UZ(7,"div",6),r.qZA(),r.qZA(),r.YNc(8,R,4,14,"ng-template",7),r.NdJ("backdropClick",function(){return e.close()})("attach",function(){return e._onAttached()})("detach",function(){return e.close()})),2&t){const t=r.MAs(1);r.uIk("aria-owns",e.panelOpen?e.id+"-panel":null),r.xp6(3),r.Q6J("ngSwitch",e.empty),r.uIk("id",e._valueId),r.xp6(1),r.Q6J("ngSwitchCase",!0),r.xp6(1),r.Q6J("ngSwitchCase",!1),r.xp6(3),r.Q6J("cdkConnectedOverlayPanelClass",e._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[i.xu,s.RF,s.n9,i.pI,s.ED,s.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n'],encapsulation:2,data:{animation:[L.transformPanelWrap,L.transformPanel]},changeDetection:0}),t})(),z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[U],imports:[[s.ez,i.U8,o.Ng,o.BQ],l.ZD,a.lN,o.Ng,o.BQ]}),t})()},6237:function(t,e,n){"use strict";n.d(e,{Qb:function(){return _e},PW:function(){return we}});var i=n(3018),s=n(9075),r=n(7238);function o(){return"undefined"!=typeof window&&void 0!==window.document}function a(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function l(t){switch(t.length){case 0:return new r.ZN;case 1:return t[0];default:return new r.ZE(t)}}function c(t,e,n,i,s={},o={}){const a=[],l=[];let c=-1,u=null;if(i.forEach(t=>{const n=t.offset,i=n==c,h=i&&u||{};Object.keys(t).forEach(n=>{let i=n,l=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,a),l){case r.k1:l=s[n];break;case r.l3:l=o[n];break;default:l=e.normalizeStyleValue(n,i,l,a)}h[i]=l}),i||l.push(h),u=h,c=n}),a.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${a.join(t)}`)}return l}function u(t,e,n,i){switch(e){case"start":t.onStart(()=>i(n&&h(n,"start",t)));break;case"done":t.onDone(()=>i(n&&h(n,"done",t)));break;case"destroy":t.onDestroy(()=>i(n&&h(n,"destroy",t)))}}function h(t,e,n){const i=n.totalTime,s=d(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),r=t._data;return null!=r&&(s._data=r),s}function d(t,e,n,i,s="",r=0,o){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:s,totalTime:r,disabled:!!o}}function p(t,e,n){let i;return t instanceof Map?(i=t.get(e),i||t.set(e,i=n)):(i=t[e],i||(i=t[e]=n)),i}function f(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let m=(t,e)=>!1,g=(t,e)=>!1,_=(t,e,n)=>[];const y=a();(y||"undefined"!=typeof Element)&&(m=o()?(t,e)=>{for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:(t,e)=>t.contains(e),g=(()=>{if(y||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):g}})(),_=(t,e,n)=>{let i=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}let k=(()=>{class t{validateStyleProperty(t){return w(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return x(t,e)}query(t,e,n){return E(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,i,s,o=[],a){return new r.ZN(n,i)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class O{}function T(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:A(parseFloat(e[1]),e[2])}function A(t,e){switch(e){case"s":return 1e3*t;default:return t}}function P(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let i,s=0,r="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};i=A(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(s=A(parseFloat(o),n[4]));const a=n[5];a&&(r=a)}else i=t;if(!n){let n=!1,r=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),s<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(r,0,`The provided timing value "${t}" is invalid.`)}return{duration:i,delay:s,easing:r}}(t,e,n)}function I(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function R(t,e,n={}){if(e)for(let i in t)n[i]=t[i];else I(t,n);return n}function D(t,e,n){return n?e+":"+n+";":""}function M(t){let e="";for(let n=0;n{const s=V(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[s]),t.style[s]=e[i]}),a()&&M(t))}function F(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=V(e);t.style[n]=""}),a()&&M(t))}function N(t){return Array.isArray(t)?1==t.length?t[0]:(0,r.vP)(t):t}O.NOOP=new k;const B=new RegExp("{{\\s*(.+?)\\s*}}","g");function U(t){let e=[];if("string"==typeof t){let n;for(;n=B.exec(t);)e.push(n[1]);B.lastIndex=0}return e}function Z(t,e,n){const i=t.toString(),s=i.replace(B,(t,i)=>{let s=e[i];return e.hasOwnProperty(i)||(n.push(`Please provide a value for the animation param ${i}`),s=""),s.toString()});return s==i?t:s}function j(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const q=/-+([a-z0-9])/g;function V(t){return t.replace(q,(...t)=>t[1].toUpperCase())}function H(t,e){return 0===t||0===e}function z(t,e,n){const i=Object.keys(n);if(i.length&&e.length){let r=e[0],o=[];if(i.forEach(t=>{r.hasOwnProperty(t)||o.push(t),r[t]=n[t]}),o.length)for(var s=1;sfunction(t,e,n){if(":"==t[0]){const i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e) *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const s=i[1],r=i[2],o=i[3];e.push(Q(s,o)),"<"!=r[0]||"*"==s&&"*"==o||e.push(Q(o,s))}(t,n,e)):n.push(t),n}const $=new Set(["true","1"]),W=new Set(["false","0"]);function Q(t,e){const n=$.has(t)||W.has(t),i=$.has(e)||W.has(e);return(s,r)=>{let o="*"==t||t==s,a="*"==e||e==r;return!o&&n&&"boolean"==typeof s&&(o=s?$.has(t):W.has(t)),!a&&i&&"boolean"==typeof r&&(a=r?$.has(e):W.has(e)),o&&a}}const J=new RegExp("s*:selfs*,?","g");function X(t,e,n){return new tt(t).build(e,n)}class tt{constructor(t){this._driver=t}build(t,e){const n=new et(e);return this._resetContextStyleTimingState(n),Y(this,N(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const s=[],r=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,s.push(this.visitState(n,e))}),n.name=i}else if(1==t.type){const s=this.visitTransition(t,e);n+=s.queryCount,i+=s.depCount,r.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:s,transitions:r,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const s=new Set,r=i||{};if(n.styles.forEach(t=>{if(nt(t)){const e=t;Object.keys(e).forEach(t=>{U(e[t]).forEach(t=>{r.hasOwnProperty(t)||s.add(t)})})}}),s.size){const n=j(s.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=Y(this,N(t.animation),e);return{type:1,matchers:K(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:it(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>Y(this,t,e)),options:it(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const s=t.steps.map(t=>{e.currentTime=n;const s=Y(this,t,e);return i=Math.max(i,e.currentTime),s});return e.currentTime=i,{type:3,steps:s,options:it(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return st(P(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=st(0,0,"");return t.dynamic=!0,t.strValue=i,t}return n=n||P(i,e),st(n.duration,n.delay,n.easing)}(t.timings,e.errors);let i;e.currentAnimateTimings=n;let s=t.styles?t.styles:(0,r.oB)({});if(5==s.type)i=this.visitKeyframes(s,e);else{let s=t.styles,o=!1;if(!s){o=!0;const t={};n.easing&&(t.easing=n.easing),s=(0,r.oB)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(s,e);a.isEmptyStep=o,i=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==r.l3?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let i=!1,s=null;return n.forEach(t=>{if(nt(t)){const e=t,n=e.easing;if(n&&(s=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:s,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,s=e.currentTime;n&&s>0&&(s-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const r=e.collectedStyles[e.currentQuerySelector],o=r[n];let a=!0;o&&(s!=i&&s>=o.startTime&&i<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${i}ms"`),a=!1),s=o.startTime),a&&(r[n]={startTime:s,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},s=U(t);s.length&&s.forEach(t=>{i.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const s=[];let r=!1,o=!1,a=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(nt(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(nt(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),o=o||c<0||c>1,r=r||c0&&i{const r=u>0?i==h?1:u*i:s[i],o=r*f;e.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=r,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:Y(this,N(t.animation),e),options:it(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:it(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:it(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[s,r]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(J,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,".ng-animating"),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+s:s,p(e.collectedStyles,e.currentQuerySelector,{});const o=Y(this,N(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:s,limit:i.limit||0,optional:!!i.optional,includeSelf:r,animation:o,originalSelector:t.selector,options:it(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:P(t.timings,e.errors,!0);return{type:12,animation:Y(this,N(t.animation),e),timings:n,options:null}}}class et{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={},this.options=null}}function nt(t){return!Array.isArray(t)&&"object"==typeof t}function it(t){var e;return t?(t=I(t)).params&&(t.params=(e=t.params)?I(e):null):t={},t}function st(t,e,n){return{duration:t,delay:e,easing:n}}function rt(t,e,n,i,s,r,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:s,delay:r,totalTime:s+r,easing:o,subTimeline:a}}class ot{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const at=new RegExp(":enter","g"),lt=new RegExp(":leave","g");function ct(t,e,n,i,s,r={},o={},a,l,c=[]){return(new ut).buildKeyframes(t,e,n,i,s,r,o,a,l,c)}class ut{buildKeyframes(t,e,n,i,s,r,o,a,l,c=[]){l=l||new ot;const u=new dt(t,e,l,i,s,c,[]);u.options=a,u.currentTimeline.setStyles([r],null,u.errors,a),Y(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[rt(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const i=e.createSubContext(t.options),s=e.currentTimeline.currentTime,r=this._visitSubInstructions(n,i,i.options);s!=r&&e.transformIntoNewTimeline(r)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const s=null!=n.duration?T(n.duration):null,r=null!=n.delay?T(n.delay):null;return 0!==s&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,s,r);i=Math.max(i,n.duration+n.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),Y(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const s=t.options;if(s&&(s.params||s.delay)&&(i=e.createSubContext(s),i.transformIntoNewTimeline(),null!=s.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ht);const t=T(s.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>Y(this,t,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?T(t.options.delay):0;t.steps.forEach(r=>{const o=e.createSubContext(t.options);s&&o.delayNextStep(s),Y(this,r,o),i=Math.max(i,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return P(e.params?Z(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(n.duration),this.visitStyle(s,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const s=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(s):n.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,s=n.duration,r=e.createSubContext().currentTimeline;r.easing=n.easing,t.styles.forEach(t=>{r.forwardTime((t.offset||0)*s),r.setStyles(t.styles,t.easing,e.errors,e.options),r.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(r),e.transformIntoNewTimeline(i+s),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},s=i.delay?T(i.delay):0;s&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ht);let r=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,i)=>{e.currentQueryIndex=i;const o=e.createSubContext(t.options,n);s&&o.delayNextStep(s),n===e.element&&(a=o.currentTimeline),Y(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,i=e.currentTimeline,s=t.timings,r=Math.abs(s.duration),o=r*(e.currentQueryTotal-1);let a=r*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;Y(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const ht={};class dt{constructor(t,e,n,i,s,r,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=s,this.errors=r,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ht,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new pt(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=T(n.duration)),null!=n.delay&&(i.delay=T(n.delay));const s=n.params;if(s){let t=i.params;t||(t=this.options.params={}),Object.keys(s).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=Z(s[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const i=e||this.element,s=new dt(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=ht,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},s=new ft(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(s),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,s,r){let o=[];if(i&&o.push(this.element),t.length>0){t=(t=t.replace(at,"."+this._enterClassName)).replace(lt,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return s||0!=o.length||r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class pt{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new pt(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=Object.create(this._backFill,{}),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[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||r.l3,this._currentKeyframe[t]=r.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const s=i&&i.params||{},o=function(t,e){const n={};let i;return t.forEach(t=>{"*"===t?(i=i||Object.keys(e),i.forEach(t=>{n[t]=r.l3})):R(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=Z(o[t],s,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:r.l3),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[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){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],i=t._styleSummary[e];(!n||i.time>n.time)&&this._updateStyle(e,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((s,o)=>{const a=R(s,!0);Object.keys(a).forEach(n=>{const i=a[n];i==r.k1?t.add(n):i==r.l3&&e.add(n)}),n||(a.offset=o/this.duration),i.push(a)});const s=t.size?j(t.values()):[],o=e.size?j(e.values()):[];if(n){const t=i[0],e=I(t);t.offset=0,e.offset=1,i=[t,e]}return rt(this.element,i,s,o,this.duration,this.startTime,this.easing,!1)}}class ft extends pt{constructor(t,e,n,i,s,r,o=!1){super(t,e,r.delay),this.element=e,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=s,this._stretchStartingKeyframe=o,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],r=n+e,o=e/r,a=R(t[0],!1);a.offset=0,s.push(a);const l=R(t[0],!1);l.offset=mt(o),s.push(l);const c=t.length-1;for(let i=1;i<=c;i++){let o=R(t[i],!1);o.offset=mt((e+o.offset*n)/r),s.push(o)}n=r,e=0,i="",t=s}return rt(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function mt(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class gt{}class _t extends gt{normalizePropertyName(t,e){return V(t)}normalizeStyleValue(t,e,n,i){let s="";const r=n.toString().trim();if(yt[e]&&0!==n&&"0"!==n)if("number"==typeof n)s="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&i.push(`Please provide a CSS unit value for ${t}:${n}`)}return r+s}}const yt=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function bt(t,e,n,i,s,r,o,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:s,fromState:n,fromStyles:r,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const vt={};class wt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,s){return t.some(t=>t(e,n,i,s))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){const i=this._stateStyles["*"],s=this._stateStyles[t],r=i?i.buildStyles(e,n):{};return s?s.buildStyles(e,n):r}build(t,e,n,i,s,r,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||vt,d=this.buildStyles(n,o&&o.params||vt,u),f=a&&a.params||vt,m=this.buildStyles(i,f,u),g=new Set,_=new Map,y=new Map,b="void"===i,v={params:Object.assign(Object.assign({},h),f)},w=c?[]:ct(t,e,this.ast.animation,s,r,d,m,v,l,u);let C=0;if(w.forEach(t=>{C=Math.max(t.duration+t.delay,C)}),u.length)return bt(e,this._triggerName,n,i,b,d,m,[],[],_,y,C,u);w.forEach(t=>{const n=t.element,i=p(_,n,{});t.preStyleProps.forEach(t=>i[t]=!0);const s=p(y,n,{});t.postStyleProps.forEach(t=>s[t]=!0),n!==e&&g.add(n)});const x=j(g.values());return bt(e,this._triggerName,n,i,b,d,m,w,x,_,y,C)}}class Ct{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},i=I(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const s=t;Object.keys(s).forEach(t=>{let r=s[t];r.length>1&&(r=Z(r,i,e)),n[t]=r})}}),n}}class xt{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new Ct(t.style,t.options&&t.options.params||{})}),Et(this.states,"true","1"),Et(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new wt(t,e,this.states))}),this.fallbackTransition=new wt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find(s=>s.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Et(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const St=new ot;class kt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],i=X(this._driver,e,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[t]=i}_buildPlayer(t,e,n){const i=t.element,s=c(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],s=this._animations[t];let o;const a=new Map;if(s?(o=ct(this._driver,e,s,"ng-enter","ng-leave",{},{},n,St,i),o.forEach(t=>{const e=p(a,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error(`Unable to create the animation due to the following errors: ${i.join("\n")}`);a.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,r.l3)})});const c=l(o.map(t=>{const e=a.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=c,c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,n,i){const s=d(e,"","","");return u(this._getPlayer(t),n,s,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n)return void this.create(t,e,i[0]||{});const s=this._getPlayer(t);switch(n){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const Ot=[],Tt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},At={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Pt{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(i=n?t.value:t)?i:null,n){const e=I(t);delete e.value,this.options=e}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const It=new Pt("void");class Rt{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Ut(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(s=n)&&"done"!=s)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var s;const r=p(this._elementListeners,t,[]),o={name:e,phase:n,callback:i};r.push(o);const a=p(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Ut(t,"ng-trigger"),Ut(t,"ng-trigger-"+e),a[e]=It),()=>{this._engine.afterFlush(()=>{const t=r.indexOf(o);t>=0&&r.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,i=!0){const s=this._getTrigger(e),r=new Mt(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Ut(t,"ng-trigger"),Ut(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const l=new Pt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[e]=l,a||(a=It),"void"!==l.value&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let s=0;s{F(t,n),L(t,i)})}return}const c=p(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=s.matchTransition(a.value,l.value,t,l.params),h=!1;if(!u){if(!i)return;u=s.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:r,isFallbackTransition:h}),h||(Ut(t,"ng-animate-queued"),r.onStart(()=>{Zt(t,"ng-animate-queued")})),r.onDone(()=>{let e=this.players.indexOf(r);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(r);t>=0&&n.splice(t,1)}}),this.players.push(r),c.push(r),r}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,".ng-trigger",!0);n.forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,i){const s=this._engine.statesByElement.get(t);if(s){const r=[];if(Object.keys(s).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,"void",i);n&&r.push(n)}}),r.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&l(r).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),n=this._engine.statesByElement.get(t);if(e&&n){const i=new Set;e.forEach(e=>{const s=e.name;if(i.has(s))return;i.add(s);const r=this._triggers[s].fallbackTransition,o=n[s]||It,a=new Pt("void"),l=new Mt(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:r,fromState:o,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t.__ng_removed;i&&i!==Tt||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Ut(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const s=n.element,r=this._elementListeners.get(s);r&&r.forEach(e=>{if(e.name==n.triggerName){const i=d(s,n.triggerName,n.fromState.value,n.toState.value);i._data=t,u(n.player,e.phase,i,e.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class Dt{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,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=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new Rt(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let s=n;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let i=0;i=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Ut(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Zt(t,"ng-animate-disabled"))}removeNode(t,e,n,i){if(Lt(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,n,i){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,s){return Lt(e)?this._fetchNamespace(t).listen(e,n,i,s):()=>{}}_buildInstruction(t,e,n,i,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,".ng-trigger",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,".ng-animating",!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return l(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=Tt,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?l(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const n=new ot,i=[],s=new Map,o=[],a=new Map,c=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(t=>{h.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n{const n="ng-enter"+_++;g.set(e,n),t.forEach(t=>Ut(t,n))});const y=[],b=new Set,v=new Set;for(let r=0;rb.add(t)):v.add(t))}const w=new Map,C=Bt(f,Array.from(b));C.forEach((t,e)=>{const n="ng-leave"+_++;w.set(e,n),t.forEach(t=>Ut(t,n))}),t.push(()=>{m.forEach((t,e)=>{const n=g.get(e);t.forEach(t=>Zt(t,n))}),C.forEach((t,e)=>{const n=w.get(e);t.forEach(t=>Zt(t,n))}),y.forEach(t=>{this.processLeaveNode(t)})});const x=[],E=[];for(let r=this._namespaceList.length-1;r>=0;r--)this._namespaceList[r].drainQueuedTransitions(e).forEach(t=>{const e=t.player,s=t.element;if(x.push(e),this.collectedEnterElements.length){const t=s.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const r=!d||!this.driver.containsElement(d,s),l=w.get(s),h=g.get(s),f=this._buildInstruction(t,n,h,l,r);if(f.errors&&f.errors.length)E.push(f);else{if(r)return e.onStart(()=>F(s,f.fromStyles)),e.onDestroy(()=>L(s,f.toStyles)),void i.push(e);if(t.isFallbackTransition)return e.onStart(()=>F(s,f.fromStyles)),e.onDestroy(()=>L(s,f.toStyles)),void i.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(s,f.timelines),o.push({instruction:f,player:e,element:s}),f.queriedElements.forEach(t=>p(a,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=c.get(e);t||c.set(e,t=new Set),n.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let i=u.get(e);i||u.set(e,i=new Set),n.forEach(t=>i.add(t))})}});if(E.length){const t=[];E.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),x.forEach(t=>t.destroy()),this.reportError(t)}const S=new Map,k=new Map;o.forEach(t=>{const e=t.element;n.has(e)&&(k.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,S))}),i.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{p(S,e,[]).push(t),t.destroy()})});const O=y.filter(t=>Vt(t,c,u)),T=new Map;Nt(T,this.driver,v,u,r.l3).forEach(t=>{Vt(t,c,u)&&O.push(t)});const A=new Map;m.forEach((t,e)=>{Nt(A,this.driver,new Set(t),c,r.k1)}),O.forEach(t=>{const e=T.get(t),n=A.get(t);T.set(t,Object.assign(Object.assign({},e),n))});const P=[],I=[],R={};o.forEach(t=>{const{element:e,player:r,instruction:o}=t;if(n.has(e)){if(h.has(e))return r.onDestroy(()=>L(e,o.toStyles)),r.disabled=!0,r.overrideTotalTime(o.totalTime),void i.push(r);let t=R;if(k.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=k.get(n);if(e){t=e;break}i.push(n)}i.forEach(e=>k.set(e,t))}const n=this._buildAnimation(r.namespaceId,o,S,s,A,T);if(r.setRealPlayer(n),t===R)P.push(r);else{const e=this.playersByElement.get(t);e&&e.length&&(r.parentPlayer=l(e)),i.push(r)}}else F(e,o.fromStyles),r.onDestroy(()=>L(e,o.toStyles)),I.push(r),h.has(e)&&i.push(r)}),I.forEach(t=>{const e=s.get(t.element);if(e&&e.length){const n=l(e);t.setRealPlayer(n)}}),i.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let r=0;r!t.destroyed);i.length?jt(this,t,i):this.processLeaveNode(t)}return y.length=0,P.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),P}elementContainsData(t,e){let n=!1;const i=e.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,s){let r=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(r=e)}else{const e=this.playersByElement.get(t);if(e){const t=!s||"void"==s;e.forEach(e=>{e.queued||(t||e.triggerName==i)&&r.push(e)})}}return(n||i)&&(r=r.filter(t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName))),r}_beforeAnimationBuild(t,e,n){const i=e.element,s=e.isRemovalTransition?void 0:t,r=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==i,l=p(n,t,[]);this._getPreviousPlayers(t,a,s,r,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}F(i,e.fromStyles)}_buildAnimation(t,e,n,i,s,o){const a=e.triggerName,u=e.element,h=[],d=new Set,f=new Set,m=e.timelines.map(e=>{const l=e.element;d.add(l);const p=l.__ng_removed;if(p&&p.removedBeforeQueried)return new r.ZN(e.duration,e.delay);const m=l!==u,g=function(t){const e=[];return qt(t,e),e}((n.get(l)||Ot).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===l),_=s.get(l),y=o.get(l),b=c(0,this._normalizer,0,e.keyframes,_,y),v=this._buildPlayer(e,b,g);if(e.subTimeline&&i&&f.add(l),m){const e=new Mt(t,a,l);e.setRealPlayer(v),h.push(e)}return v});h.forEach(t=>{p(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e),i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e],i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&delete t[e]}return i}(this.playersByQueriedElement,t.element,t))}),d.forEach(t=>Ut(t,"ng-animating"));const g=l(m);return g.onDestroy(()=>{d.forEach(t=>Zt(t,"ng-animating")),L(u,e.toStyles)}),f.forEach(t=>{p(i,t,[]).push(g)}),g}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new r.ZN(t.duration,t.delay)}}class Mt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new r.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>u(t,e,void 0,n))}),this._queuedCallbacks={},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){p(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 Lt(t){return t&&1===t.nodeType}function Ft(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Nt(t,e,n,i,s){const r=[];n.forEach(t=>r.push(Ft(t)));const o=[];i.forEach((n,i)=>{const r={};n.forEach(t=>{const n=r[t]=e.computeStyle(i,t,s);n&&0!=n.length||(i.__ng_removed=At,o.push(i))}),t.set(i,r)});let a=0;return n.forEach(t=>Ft(t,r[a++])),o}function Bt(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const i=new Set(e),s=new Map;function r(t){if(!t)return 1;let e=s.get(t);if(e)return e;const o=t.parentNode;return e=n.has(o)?o:i.has(o)?1:r(o),s.set(t,e),e}return e.forEach(t=>{const e=r(t);1!==e&&n.get(e).push(t)}),n}function Ut(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Zt(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function jt(t,e,n){l(n).onDone(()=>t.processLeaveNode(e))}function qt(t,e){for(let n=0;ns.add(t)):e.set(t,i),n.delete(t),!0}class Ht{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Dt(t,e,n),this._timelineEngine=new kt(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,s){const r=t+"-"+i;let o=this._triggerCache[r];if(!o){const t=[],e=X(this._driver,s,t);if(t.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new xt(t,e)}(i,e),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(e,i,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,s]=f(n);this._timelineEngine.command(t,e,s,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,s){if("@"==n.charAt(0)){const[t,i]=f(n);return this._timelineEngine.listen(t,e,i,s)}return this._transitionEngine.listen(t,e,n,i,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function zt(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=Gt(e[0]),e.length>1&&(i=Gt(e[e.length-1]))):e&&(n=Gt(e)),n||i?new Yt(t,n,i):null}class Yt{constructor(t,e,n){this._element=t,this._startStyles=e,this._endStyles=n,this._state=0;let i=Yt.initialStylesByElement.get(t);i||Yt.initialStylesByElement.set(t,i={}),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&L(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(L(this._element,this._initialStyles),this._endStyles&&(L(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Yt.initialStylesByElement.delete(this._element),this._startStyles&&(F(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(F(this._element,this._endStyles),this._endStyles=null),L(this._element,this._initialStyles),this._state=3)}}function Gt(t){let e=null;const n=Object.keys(t);for(let i=0;ithis._handleCallback(t)}apply(){!function(t,e){const n=ee(t,"").trim();n.length&&(function(t,e){let n=0;for(let i=0;i=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Xt(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=ee(t,"").split(","),i=Jt(n,e);i>=0&&(n.splice(i,1),te(t,"",n.join(",")))}(this._element,this._name))}}function Wt(t,e,n){te(t,"PlayState",n,Qt(t,e))}function Qt(t,e){const n=ee(t,"");return n.indexOf(",")>0?Jt(n.split(","),e):Jt([n],e)}function Jt(t,e){for(let n=0;n=0)return n;return-1}function Xt(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function te(t,e,n,i){const s="animation"+e;if(null!=i){const e=t.style[s];if(e.length){const t=e.split(",");t[i]=n,n=t.join(",")}}t.style[s]=n}function ee(t,e){return t.style["animation"+e]||""}class ne{constructor(t,e,n,i,s,r,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=s,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=r||"linear",this.totalTime=i+s,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new $t(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:G(this.element,n))})}this.currentSnapshot=t}}class ie extends r.ZN{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=S(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class se{constructor(){this._count=0}validateStyleProperty(t){return w(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return x(t,e)}query(t,e,n){return E(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>S(t));let i=`@keyframes ${e} {\n`,s="";n.forEach(t=>{s=" ";const e=parseFloat(t.offset);i+=`${s}${100*e}% {\n`,s+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=`${s}animation-timing-function: ${n};\n`));default:return void(i+=`${s}${e}: ${n};\n`)}}),i+=`${s}}\n`}),i+="}\n";const r=document.createElement("style");return r.textContent=i,r}animate(t,e,n,i,s,r=[],o){const a=r.filter(t=>t instanceof ne),l={};H(n,i)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=z(t,e,l));if(0==n)return new ie(t,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,u,e);(function(t){var e;const n=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(t).appendChild(h);const d=zt(t,e),p=new ne(t,e,u,n,i,s,c,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}}class re{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.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]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(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}_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={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:G(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class oe{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ae().toString()),this._cssKeyframesDriver=new se}validateStyleProperty(t){return w(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return x(t,e)}query(t,e,n){return E(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,i,s,r=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,s,r);const a={duration:n,delay:i,fill:0==i?"both":"forwards"};s&&(a.easing=s);const l={},c=r.filter(t=>t instanceof re);H(n,i)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=zt(t,e=z(t,e=e.map(t=>R(t,!1)),l));return new re(t,e,a,u)}}function ae(){return o()&&Element.prototype.animate||{}}var le=n(8583);let ce=(()=>{class t extends r._j{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?(0,r.vP)(t):t;return de(this._renderer,null,e,"register",[n]),new ue(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.FYo),i.LFG(le.K0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class ue extends r.LC{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new he(this._id,t,e||{},this._renderer)}}class he{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return de(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(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function de(t,e,n,i,s){return t.setProperty(e,`@@${n}:${i}`,s)}let pe=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new fe("",n,this.engine),this._rendererCache.set(n,t)),t}const i=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const r=e=>{Array.isArray(e)?e.forEach(r):this.engine.registerTrigger(i,s,t,e.name,e)};return e.data.animation.forEach(r),new me(this,s,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&te(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.FYo),i.LFG(Ht),i.LFG(i.R0b))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class fe{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}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,n,i=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}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,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class me extends fe{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if("@"==e.charAt(0)){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let s=e.substr(1),r="";return"@"!=s.charAt(0)&&([s,r]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,i,s,r,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let ge=(()=>{class t extends Ht{constructor(t,e,n){super(t.body,e,n)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(le.K0),i.LFG(O),i.LFG(gt))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const _e=new i.OlP("AnimationModuleType"),ye=[{provide:r._j,useClass:ce},{provide:gt,useFactory:function(){return new _t}},{provide:Ht,useClass:ge},{provide:i.FYo,useFactory:function(t,e,n){return new pe(t,e,n)},deps:[s.se,Ht,i.R0b]}],be=[{provide:O,useFactory:function(){return"function"==typeof ae()?new oe:new se}},{provide:_e,useValue:"BrowserAnimations"},...ye],ve=[{provide:O,useClass:k},{provide:_e,useValue:"NoopAnimations"},...ye];let we=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?ve:be}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:be,imports:[s.b2]}),t})()},9075:function(t,e,n){"use strict";n.d(e,{b2:function(){return B},H7:function(){return D},q6:function(){return F},se:function(){return x}});var i=n(8583),s=n(3018);class r extends i.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class o extends r{static makeCurrent(){(0,i.HT)(new o)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}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=(l=l||document.querySelector("base"),l?l.getAttribute("href"):null);return null==e?null:function(t){a=a||document.createElement("a"),a.setAttribute("href",t);const e=a.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return(0,i.Mx)(document.cookie,t)}}let a,l=null;const c=new s.OlP("TRANSITION_ID"),u=[{provide:s.ip1,useFactory:function(t,e,n){return()=>{n.get(s.CZH).donePromise.then(()=>{const n=(0,i.q)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[c,i.K0,s.zs3],multi:!0}];class h{static init(){(0,s.VLi)(new h)}addToWindow(t){s.dqk.getAngularTestability=(e,n=!0)=>{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},s.dqk.getAllAngularTestabilities=()=>t.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>t.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push(t=>{const e=s.dqk.getAllAngularTestabilities();let n=e.length,i=!1;const r=function(e){i=i||e,n--,0==n&&t(i)};e.forEach(function(t){t.whenStable(r)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const s=t.getTestability(e);return null!=s?s:n?(0,i.q)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let d=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const p=new s.OlP("EventManagerPlugins");let f=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let i=0;i{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),_=(()=>{class t extends g{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,n){t.forEach(t=>{const i=this._doc.createElement("style");i.textContent=t,n.push(e.appendChild(i))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(y),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,n)=>{this._addStylesToHost(t,n,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(y))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function y(t){(0,i.q)().remove(t)}const b={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/"},v=/%COMP%/g;function w(t,e,n){for(let i=0;i{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let x=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new E(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case s.ifc.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new S(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case s.ifc.ShadowDom:return new k(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=w(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(f),s.LFG(_),s.LFG(s.AFp))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class E{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(b[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,i){if(i){e=i+":"+e;const s=b[i];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=b[n];i?t.removeAttributeNS(i,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,i){i&(s.JOm.DashCase|s.JOm.Important)?t.style.setProperty(e,n,i&s.JOm.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&s.JOm.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,C(n)):this.eventManager.addEventListener(t,e,C(n))}}class S extends E{constructor(t,e,n,i){super(t),this.component=n;const s=w(i+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(v,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(v,i+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class k extends E{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=w(i.id,i.styles,[]);for(let r=0;r{class t extends m{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const T=["alt","control","meta","shift"],A={"\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"},P={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},I={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let R=(()=>{class t extends m{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,s){const r=t.parseEventName(n),o=t.eventCallback(r.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.q)().onAndCancel(e,r.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const s=t._normalizeKey(n.pop());let r="";if(T.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),r+=t+".")}),r+=s,0!=n.length||0===s.length)return null;const o={};return o.domEventName=i,o.fullKey=r,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&P.hasOwnProperty(e)&&(e=P[e]))}return A[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),T.forEach(i=>{i!=n&&(0,I[i])(t)&&(e+=i+".")}),e+=n,e}static eventCallback(e,n,i){return s=>{t.getEventFullKey(s)===e&&i.runGuarded(()=>n(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),D=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:function(){return(0,s.LFG)(L)},token:t,providedIn:"root"}),t})();function M(t){return new L(t.get(i.K0))}let L=(()=>{class t extends D{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case s.q3G.NONE:return e;case s.q3G.HTML:return(0,s.qzn)(e,"HTML")?(0,s.z3N)(e):(0,s.EiD)(this._doc,String(e)).toString();case s.q3G.STYLE:return(0,s.qzn)(e,"Style")?(0,s.z3N)(e):e;case s.q3G.SCRIPT:if((0,s.qzn)(e,"Script"))return(0,s.z3N)(e);throw new Error("unsafe value used in a script context");case s.q3G.URL:return(0,s.yhl)(e),(0,s.qzn)(e,"URL")?(0,s.z3N)(e):(0,s.mCW)(String(e));case s.q3G.RESOURCE_URL:if((0,s.qzn)(e,"ResourceURL"))return(0,s.z3N)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return(0,s.JVY)(t)}bypassSecurityTrustStyle(t){return(0,s.L6k)(t)}bypassSecurityTrustScript(t){return(0,s.eBb)(t)}bypassSecurityTrustUrl(t){return(0,s.LAX)(t)}bypassSecurityTrustResourceUrl(t){return(0,s.pB0)(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=(0,s.Yz7)({factory:function(){return M((0,s.LFG)(s.gxx))},token:t,providedIn:"root"}),t})();const F=(0,s.eFA)(s._c5,"browser",[{provide:s.Lbi,useValue:i.bD},{provide:s.g9A,useValue:function(){o.makeCurrent(),h.init()},multi:!0},{provide:i.K0,useFactory:function(){return(0,s.RDi)(document),document},deps:[]}]),N=[[],{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function(){return new s.qLn},deps:[]},{provide:p,useClass:O,multi:!0,deps:[i.K0,s.R0b,s.Lbi]},{provide:p,useClass:R,multi:!0,deps:[i.K0]},[],{provide:x,useClass:x,deps:[f,_,s.AFp]},{provide:s.FYo,useExisting:x},{provide:g,useExisting:_},{provide:_,useClass:_,deps:[i.K0]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b]},{provide:f,useClass:f,deps:[p,s.R0b]},{provide:i.JF,useClass:d,deps:[]},[]];let B=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:s.AFp,useValue:e.appId},{provide:c,useExisting:s.AFp},u]}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(t,12))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:N,imports:[i.ez,s.hGG]}),t})();"undefined"!=typeof window&&window},8741:function(t,e,n){"use strict";n.d(e,{gz:function(){return ne},F0:function(){return Sn},rH:function(){return kn},yS:function(){return On},Bz:function(){return Un},lC:function(){return An}});var i=n(8583),s=n(3018);const r=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();var o=n(4402),a=n(5917),l=n(6215),c=n(739),u=n(7574),h=n(8071),d=n(1439),p=n(9193),f=n(2441),m=n(9765),g=n(7393);function _(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new y(t,e,n))}}class y{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new b(t,this.accumulator,this.seed,this.hasSeed))}}class b extends g.L{constructor(t,e,n,i){super(t),this.accumulator=e,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}var v=n(5345);function w(t){return function(e){const n=new C(t),i=e.lift(n);return n.caught=i}}class C{constructor(t){this.selector=t}call(t,e){return e.subscribe(new x(t,this.selector,this.caught))}}class x extends v.Ds{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const i=new v.IY(this);this.add(i);const s=(0,v.ft)(n,i);s!==i&&this.add(s)}}}var E=n(5435),S=n(7108);function k(t){return function(e){return 0===t?(0,p.c)():e.lift(new O(t))}}class O{constructor(t){if(this.total=t,this.total<0)throw new S.W}call(t,e){return e.subscribe(new T(t,this.total))}}class T extends g.L{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,i=this.count++;e.length0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let s=0;se.lift(new P(t))}class P{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new I(t,this.errorFactory))}}class I extends g.L{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function R(){return new r}function D(t=null){return e=>e.lift(new M(t))}class M{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new L(t,this.defaultValue))}}class L extends g.L{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var F=n(4487),N=n(5257);function B(t,e){const n=arguments.length>=2;return i=>i.pipe(t?(0,E.h)((e,n)=>t(e,n,i)):F.y,(0,N.q)(1),n?D(e):A(()=>new r))}var U=n(5319);class Z{constructor(t){this.callback=t}call(t,e){return e.subscribe(new j(t,this.callback))}}class j extends g.L{constructor(t,e){super(t),this.add(new U.w(e))}}var q=n(8002),V=n(3190),H=n(9761),z=n(4612),Y=n(9773),G=n(3342),K=n(1307),$=n(3282);class W{constructor(t,e){this.id=t,this.url=e}}class Q extends W{constructor(t,e,n="imperative",i=null){super(t,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class J extends W{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class X extends W{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class tt extends W{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class et extends W{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nt extends W{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class it extends W{constructor(t,e,n,i,s){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class st extends W{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rt extends W{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ot{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class at{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class lt{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ct{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ut{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ht{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dt{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class pt{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 ft(t){return new pt(t)}function mt(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function gt(t,e,n){const i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.lengthi[e]===t)}return t===e}function bt(t){return Array.prototype.concat.apply([],t)}function vt(t){return t.length>0?t[t.length-1]:null}function wt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Ct(t){return(0,s.CqO)(t)?t:(0,s.QGY)(t)?(0,o.D)(Promise.resolve(t)):(0,a.of)(t)}const xt={exact:function t(e,n,i){if(!Rt(e.segments,n.segments))return!1;if(!Tt(e.segments,n.segments,i))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const s in n.children){if(!e.children[s])return!1;if(!t(e.children[s],n.children[s],i))return!1}return!0},subset:kt},Et={exact:function(t,e){return _t(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>yt(t[n],e[n]))},ignored:()=>!0};function St(t,e,n){return xt[n.paths](t.root,e.root,n.matrixParams)&&Et[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function kt(t,e,n){return Ot(t,e,e.segments,n)}function Ot(t,e,n,i){if(t.segments.length>n.length){const s=t.segments.slice(0,n.length);return!!Rt(s,n)&&!e.hasChildren()&&!!Tt(s,n,i)}if(t.segments.length===n.length){if(!Rt(t.segments,n))return!1;if(!Tt(t.segments,n,i))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!kt(t.children[n],e.children[n],i))return!1}return!0}{const s=n.slice(0,t.segments.length),r=n.slice(t.segments.length);return!!Rt(t.segments,s)&&!!Tt(t.segments,s,i)&&!!t.children.primary&&Ot(t.children.primary,e,r,i)}}function Tt(t,e,n){return e.every((e,i)=>Et[n](t[i].parameters,e.parameters))}class At{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ft(this.queryParams)),this._queryParamMap}toString(){return Lt.serialize(this)}}class Pt{constructor(t,e){this.segments=t,this.children=e,this.parent=null,wt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ft(this)}}class It{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=ft(this.parameters)),this._parameterMap}toString(){return Vt(this)}}function Rt(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class Dt{}class Mt{parse(t){const e=new Kt(t);return new At(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${Nt(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Ut(e)}=${Ut(t)}`).join("&"):`${Ut(e)}=${Ut(n)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const Lt=new Mt;function Ft(t){return t.segments.map(t=>Vt(t)).join("/")}function Nt(t,e){if(!t.hasChildren())return Ft(t);if(e){const e=t.children.primary?Nt(t.children.primary,!1):"",n=[];return wt(t.children,(t,e)=>{"primary"!==e&&n.push(`${e}:${Nt(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return wt(t.children,(t,i)=>{"primary"===i&&(n=n.concat(e(t,i)))}),wt(t.children,(t,i)=>{"primary"!==i&&(n=n.concat(e(t,i)))}),n}(t,(e,n)=>"primary"===n?[Nt(t.children.primary,!1)]:[`${n}:${Nt(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${Ft(t)}/${e[0]}`:`${Ft(t)}/(${e.join("//")})`}}function Bt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ut(t){return Bt(t).replace(/%3B/gi,";")}function Zt(t){return Bt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function jt(t){return decodeURIComponent(t)}function qt(t){return jt(t.replace(/\+/g,"%20"))}function Vt(t){return`${Zt(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Zt(t)}=${Zt(e[t])}`).join("")}`;var e}const Ht=/^[^\/()?;=#]+/;function zt(t){const e=t.match(Ht);return e?e[0]:""}const Yt=/^[^=?&#]+/,Gt=/^[^?&#]+/;class Kt{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Pt([],{}):new Pt([],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 n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new Pt(t,e)),n}parseSegment(){const t=zt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new It(jt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=zt(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=zt(this.remaining);t&&(n=t,this.capture(n))}t[jt(e)]=jt(n)}parseQueryParam(t){const e=function(t){const e=t.match(Yt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(Gt);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=qt(e),s=qt(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(s)}else t[i]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=zt(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let s;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s="primary");const r=this.parseChildren();e[s]=1===Object.keys(r).length?r.primary:new Pt([],r),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 Error(`Expected "${t}".`)}}class $t{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=Wt(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Wt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Qt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Qt(t,this._root).map(t=>t.value)}}function Wt(t,e){if(t===e.value)return e;for(const n of e.children){const e=Wt(t,n);if(e)return e}return null}function Qt(t,e){if(t===e.value)return[e];for(const n of e.children){const i=Qt(t,n);if(i.length)return i.unshift(e),i}return[]}class Jt{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Xt(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class te extends $t{constructor(t,e){super(t),this.snapshot=e,oe(this,t)}toString(){return this.snapshot.toString()}}function ee(t,e){const n=function(t,e){const n=new se([],{},{},"",{},"primary",e,null,t.root,-1,{});return new re("",new Jt(n,[]))}(t,e),i=new l.X([new It("",{})]),s=new l.X({}),r=new l.X({}),o=new l.X({}),a=new l.X(""),c=new ne(i,s,o,a,r,"primary",e,n.root);return c.snapshot=n.root,new te(new Jt(c,[]),n)}class ne{constructor(t,e,n,i,s,r,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=r,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,q.U)(t=>ft(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,q.U)(t=>ft(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ie(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class se{constructor(t,e,n,i,s,r,o,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=r,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ft(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ft(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class re extends $t{constructor(t,e){super(e),this.url=t,oe(this,e)}toString(){return ae(this._root)}}function oe(t,e){e.value._routerState=t,e.children.forEach(e=>oe(t,e))}function ae(t){const e=t.children.length>0?` { ${t.children.map(ae).join(", ")} } `:"";return`${t.value}${e}`}function le(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,_t(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),_t(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n_t(t.parameters,i[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||ce(t.parent,e.parent))}function ue(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=e.value;const s=function(t,e,n){return e.children.map(e=>{for(const i of n.children)if(t.shouldReuseRoute(e.value,i.value.snapshot))return ue(t,e,i);return ue(t,e)})}(t,e,n);return new Jt(i,s)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const t=n.route;return he(e,t),t}}const n=new ne(new l.X((i=e.value).url),new l.X(i.params),new l.X(i.queryParams),new l.X(i.fragment),new l.X(i.data),i.outlet,i.component,i),s=e.children.map(e=>ue(t,e));return new Jt(n,s)}var i}function he(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n{r[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new At(n.root===t?e:me(n.root,t,e),r,s)}function me(t,e,n){const i={};return wt(t.children,(t,s)=>{i[s]=t===e?n:me(t,e,n)}),new Pt(t.segments,i)}class ge{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&de(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(pe);if(i&&i!==vt(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class _e{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function ye(t,e,n){if(t||(t=new Pt([],{})),0===t.segments.length&&t.hasChildren())return be(t,e,n);const i=function(t,e,n){let i=0,s=e;const r={match:!1,pathIndex:0,commandIndex:0};for(;s=n.length)return r;const e=t.segments[s],o=n[i];if(pe(o))break;const a=`${o}`,l=i0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!xe(a,l,e))return r;i+=2}else{if(!xe(a,{},e))return r;i++}s++}return{match:!0,pathIndex:s,commandIndex:i}}(t,e,n),s=n.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof n&&(n=[n]),null!==n&&(s[i]=ye(t.children[i],e,n))}),wt(t.children,(t,e)=>{void 0===i[e]&&(s[e]=t)}),new Pt(t.segments,s)}}function ve(t,e,n){const i=t.segments.slice(0,e);let s=0;for(;s{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=ve(new Pt([],{}),0,t))}),e}function Ce(t){const e={};return wt(t,(t,n)=>e[n]=`${t}`),e}function xe(t,e,n){return t==n.path&&_t(e,n.parameters)}class Ee{constructor(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),le(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=Xt(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]}),wt(i,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const i=t.value,s=e?e.value:null;if(i===s)if(i.component){const s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,n);else s&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,s=Xt(t);for(const r of Object.keys(s))this.deactivateRouteAndItsChildren(s[r],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const i=Xt(e);t.children.forEach(t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new ht(t.value.snapshot))}),t.children.length&&this.forwardEvent(new ct(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,s=e?e.value:null;if(le(i),i===s)if(i.component){const s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const t=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),Se(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(i.snapshot),s=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=s,e.outlet&&e.outlet.activateWith(i,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function Se(t){le(t.value),t.children.forEach(Se)}class ke{constructor(t,e){this.routes=t,this.module=e}}function Oe(t){return"function"==typeof t}function Te(t){return t instanceof At}const Ae=Symbol("INITIAL_VALUE");function Pe(){return(0,V.w)(t=>(0,c.aj)(t.map(t=>t.pipe((0,N.q)(1),(0,H.O)(Ae)))).pipe(_((t,e)=>{let n=!1;return e.reduce((t,i,s)=>{if(t!==Ae)return t;if(i===Ae&&(n=!0),!n){if(!1===i)return i;if(s===e.length-1||Te(i))return i}return t},t)},Ae),(0,E.h)(t=>t!==Ae),(0,q.U)(t=>Te(t)?t:!0===t),(0,N.q)(1)))}let Ie=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&s._UZ(0,"router-outlet")},directives:function(){return[An]},encapsulation:2}),t})();function Re(t,e=""){for(let n=0;nFe(t)===e);return n.push(...t.filter(t=>Fe(t)!==e)),n}const Be={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Ue(t,e,n){var i;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},Be):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(e.matcher||gt)(n,t,e);if(!s)return Object.assign({},Be);const r={};wt(s.posParams,(t,e)=>{r[e]=t.path});const o=s.consumed.length>0?Object.assign(Object.assign({},r),s.consumed[s.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:o,positionalParamSegments:null!==(i=s.posParams)&&void 0!==i?i:{}}}function Ze(t,e,n,i,s="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>je(t,e,n)&&"primary"!==Fe(n))}(t,n,i)){const s=new Pt(e,function(t,e,n,i){const s={};s.primary=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const r of n)if(""===r.path&&"primary"!==Fe(r)){const n=new Pt([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,s[Fe(r)]=n}return s}(t,e,i,new Pt(n,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>je(t,e,n))}(t,n,i)){const r=new Pt(t.segments,function(t,e,n,i,s,r){const o={};for(const a of i)if(je(t,n,a)&&!s[Fe(a)]){const n=new Pt([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===r?t.segments.length:e.length,o[Fe(a)]=n}return Object.assign(Object.assign({},s),o)}(t,e,n,i,t.children,s));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}const r=new Pt(t.segments,t.children);return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}function je(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function qe(t,e,n,i){return!!(Fe(t)===i||"primary"!==i&&je(e,n,t))&&("**"===t.path||Ue(e,t,n).matched)}function Ve(t,e,n){return 0===e.length&&!t.children[n]}class He{constructor(t){this.segmentGroup=t||null}}class ze{constructor(t){this.urlTree=t}}function Ye(t){return new u.y(e=>e.error(new He(t)))}function Ge(t){return new u.y(e=>e.error(new ze(t)))}function Ke(t){return new u.y(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class $e{constructor(t,e,n,i,r){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=r,this.allowRedirects=!0,this.ngModule=t.get(s.h0i)}apply(){const t=Ze(this.urlTree.root,[],[],this.config).segmentGroup,e=new Pt(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,"primary").pipe((0,q.U)(t=>this.createUrlTree(We(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe(w(t=>{if(t instanceof ze)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof He)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe((0,q.U)(e=>this.createUrlTree(We(e),t.queryParams,t.fragment))).pipe(w(t=>{if(t instanceof He)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const i=t.segments.length>0?new Pt([],{primary:t}):t;return new At(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe((0,q.U)(t=>new Pt([],t))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){const i=[];for(const s of Object.keys(n.children))"primary"===s?i.unshift(s):i.push(s);return(0,o.D)(i).pipe((0,z.b)(i=>{const s=n.children[i],r=Ne(e,i);return this.expandSegmentGroup(t,r,s,i).pipe((0,q.U)(t=>({segment:t,outlet:i})))}),_((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return i=>i.pipe(t?(0,E.h)((e,n)=>t(e,n,i)):F.y,k(1),n?D(e):A(()=>new r))}())}expandSegment(t,e,n,i,s,l){return(0,o.D)(n).pipe((0,z.b)(r=>this.expandSegmentAgainstRoute(t,e,n,r,i,s,l).pipe(w(t=>{if(t instanceof He)return(0,a.of)(null);throw t}))),B(t=>!!t),w((t,n)=>{if(t instanceof r||"EmptyError"===t.name){if(Ve(e,i,s))return(0,a.of)(new Pt([],{}));throw new He(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,i,s,r,o){return qe(i,e,s,r)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,s,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r):Ye(e):Ye(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,r):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Ge(s):this.lineralizeSegments(n,s).pipe((0,Y.zg)(n=>{const s=new Pt(n,{});return this.expandSegment(t,s,e,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=Ue(e,i,s);if(!o)return Ye(e);const u=this.applyRedirectCommands(a,i.redirectTo,c);return i.redirectTo.startsWith("/")?Ge(u):this.lineralizeSegments(i,u).pipe((0,Y.zg)(i=>this.expandSegment(t,e,n,i.concat(s.slice(l)),r,!1)))}matchSegmentAgainstRoute(t,e,n,i,s){if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,a.of)(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe((0,q.U)(t=>(n._loadedConfig=t,new Pt(i,{})))):(0,a.of)(new Pt(i,{}));const{matched:r,consumedSegments:o,lastChild:l}=Ue(e,n,i);if(!r)return Ye(e);const c=i.slice(l);return this.getChildConfig(t,n,i).pipe((0,Y.zg)(t=>{const i=t.module,r=t.routes,{segmentGroup:l,slicedSegments:u}=Ze(e,o,c,r),h=new Pt(l.segments,l.children);if(0===u.length&&h.hasChildren())return this.expandChildren(i,r,h).pipe((0,q.U)(t=>new Pt(o,t)));if(0===r.length&&0===u.length)return(0,a.of)(new Pt(o,{}));const d=Fe(n)===s;return this.expandSegment(i,h,r,u,d?"primary":s,!0).pipe((0,q.U)(t=>new Pt(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?(0,a.of)(new ke(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?(0,a.of)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe((0,Y.zg)(n=>n?this.configLoader.load(t.injector,e).pipe((0,q.U)(t=>(e._loadedConfig=t,t))):function(t){return new u.y(e=>e.error(mt(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):(0,a.of)(new ke([],t))}runCanLoadGuards(t,e,n){const i=e.canLoad;if(!i||0===i.length)return(0,a.of)(!0);const s=i.map(i=>{const s=t.get(i);let r;if(function(t){return t&&Oe(t.canLoad)}(s))r=s.canLoad(e,n);else{if(!Oe(s))throw new Error("Invalid CanLoad guard");r=s(e,n)}return Ct(r)});return(0,a.of)(s).pipe(Pe(),(0,G.b)(t=>{if(!Te(t))return;const e=mt(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),(0,q.U)(t=>!0===t))}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return(0,a.of)(n);if(i.numberOfChildren>1||!i.children.primary)return Ke(t.redirectTo);i=i.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const s=this.createSegmentGroup(t,e.root,n,i);return new At(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return wt(t,(t,i)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);n[i]=e[s]}else n[i]=t}),n}createSegmentGroup(t,e,n,i){const s=this.createSegments(t,e.segments,n,i);let r={};return wt(e.children,(e,s)=>{r[s]=this.createSegmentGroup(t,e,n,i)}),new Pt(s,r)}createSegments(t,e,n,i){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n))}findPosParam(t,e,n){const i=n[e.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return i}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}function We(t){const e={};for(const n of Object.keys(t.children)){const i=We(t.children[n]);(i.segments.length>0||i.hasChildren())&&(e[n]=i)}return function(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new Pt(t.segments.concat(e.segments),e.children)}return t}(new Pt(t.segments,e))}class Qe{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Je{constructor(t,e){this.component=t,this.route=e}}function Xe(t,e,n){const i=t._root;return en(i,e?e._root:null,n,[i.value])}function tn(t,e,n){const i=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function en(t,e,n,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const r=Xt(e);return t.children.forEach(t=>{!function(t,e,n,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const r=t.value,o=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(o&&r.routeConfig===o.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Rt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Rt(t.url,e.url)||!_t(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ce(t,e)||!_t(t.queryParams,e.queryParams);case"paramsChange":default:return!ce(t,e)}}(o,r,r.routeConfig.runGuardsAndResolvers);l?s.canActivateChecks.push(new Qe(i)):(r.data=o.data,r._resolvedData=o._resolvedData),en(t,e,r.component?a?a.children:null:n,i,s),l&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new Je(a.outlet.component,o))}else o&&nn(e,a,s),s.canActivateChecks.push(new Qe(i)),en(t,null,r.component?a?a.children:null:n,i,s)}(t,r[t.value.outlet],n,i.concat([t.value]),s),delete r[t.value.outlet]}),wt(r,(t,e)=>nn(t,n.getContext(e),s)),s}function nn(t,e,n){const i=Xt(t),s=t.value;wt(i,(t,i)=>{nn(t,s.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new Je(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}class sn{}function rn(t){return new u.y(e=>e.error(t))}class on{constructor(t,e,n,i,s,r){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=r}recognize(){const t=Ze(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary");if(null===e)return null;const n=new se([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Jt(n,e),s=new re(this.url,i);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const e=t.value,n=ie(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=[];for(const s of Object.keys(e.children)){const i=e.children[s],r=Ne(t,s),o=this.processSegmentGroup(r,i,s);if(null===o)return null;n.push(...o)}const i=ln(n);return i.sort((t,e)=>"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)),i}processSegment(t,e,n,i){for(const s of t){const t=this.processSegmentAgainstRoute(s,e,n,i);if(null!==t)return t}return Ve(e,n,i)?[]:null}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo||!qe(t,e,n,i))return null;let s,r=[],o=[];if("**"===t.path){const i=n.length>0?vt(n).parameters:{};s=new se(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hn(t),Fe(t),t.component,t,cn(e),un(e)+n.length,dn(t))}else{const i=Ue(e,t,n);if(!i.matched)return null;r=i.consumedSegments,o=n.slice(i.lastChild),s=new se(r,i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hn(t),Fe(t),t.component,t,cn(e),un(e)+r.length,dn(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=Ze(e,r,o,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return null===t?null:[new Jt(s,t)]}if(0===a.length&&0===c.length)return[new Jt(s,[])];const u=Fe(t)===i,h=this.processSegment(a,l,c,u?"primary":i);return null===h?null:[new Jt(s,h)]}}function an(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function ln(t){const e=[],n=new Set;for(const i of t){if(!an(i)){e.push(i);continue}const t=e.find(t=>i.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...i.children),n.add(t)):e.push(i)}for(const i of n){const t=ln(i.children);e.push(new Jt(i.value,t))}return e.filter(t=>!n.has(t))}function cn(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function un(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function hn(t){return t.data||{}}function dn(t){return t.resolve||{}}function pn(t){return(0,V.w)(e=>{const n=t(e);return n?(0,o.D)(n).pipe((0,q.U)(()=>e)):(0,a.of)(e)})}class fn extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const mn=new s.OlP("ROUTES");class gn{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const n=this.loadModuleFactory(e.loadChildren).pipe((0,q.U)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new ke(bt(i.injector.get(mn,void 0,s.XFs.Self|s.XFs.Optional)).map(Le),i)}),w(t=>{throw e._loader$=void 0,t}));return e._loader$=new f.c(n,()=>new m.xQ).pipe((0,K.x)()),e._loader$}loadModuleFactory(t){return"string"==typeof t?(0,o.D)(this.loader.load(t)):Ct(t()).pipe((0,Y.zg)(t=>t instanceof s.YKP?(0,a.of)(t):(0,o.D)(this.compiler.compileModuleAsync(t))))}}class _n{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new yn,this.attachRef=null}}class yn{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new _n,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class bn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function vn(t){throw t}function wn(t,e,n){return e.parse("/")}function Cn(t,e){return(0,a.of)(null)}const xn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},En={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Sn=(()=>{class t{constructor(t,e,n,i,r,o,a,c){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new m.xQ,this.errorHandler=vn,this.malformedUriErrorHandler=wn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Cn,afterPreactivation:Cn},this.urlHandlingStrategy=new bn,this.routeReuseStrategy=new fn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=r.get(s.h0i),this.console=r.get(s.c2e);const u=r.get(s.R0b);this.isNgZoneEnabled=u instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new At(new Pt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new gn(o,a,t=>this.triggerEvent(new ot(t)),t=>this.triggerEvent(new at(t))),this.routerState=ee(this.currentUrlTree,this.rootComponentType),this.transitions=new l.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe((0,E.h)(t=>0!==t.id),(0,q.U)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),(0,V.w)(t=>{let n=!1,i=!1;return(0,a.of)(t).pipe((0,G.b)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,V.w)(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return(0,a.of)(t).pipe((0,V.w)(t=>{const n=this.transitions.getValue();return e.next(new Q(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?p.E:Promise.resolve(t)}),(i=this.ngModule.injector,s=this.configLoader,r=this.urlSerializer,o=this.config,(0,V.w)(t=>function(t,e,n,i,s){return new $e(t,e,n,i,s).apply()}(i,s,r,t.extractedUrl,o).pipe((0,q.U)(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e}))))),(0,G.b)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,i,s){return(0,Y.zg)(r=>function(t,e,n,i,s="emptyOnly",r="legacy"){try{const o=new on(t,e,n,i,s,r).recognize();return null===o?rn(new sn):(0,a.of)(o)}catch(o){return rn(o)}}(t,e,r.urlAfterRedirects,n(r.urlAfterRedirects),i,s).pipe((0,q.U)(t=>Object.assign(Object.assign({},r),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,G.b)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,t),this.browserUrlTree=t.urlAfterRedirects);const n=new et(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var i,s,r,o;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:s,restoredState:r,extras:o}=t,l=new Q(n,this.serializeUrl(i),s,r);e.next(l);const c=ee(i,this.rootComponentType).snapshot;return(0,a.of)(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:i,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),p.E}),pn(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:s,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:s,skipLocationChange:!!r,replaceUrl:!!o})}),(0,G.b)(t=>{const e=new nt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,q.U)(t=>Object.assign(Object.assign({},t),{guards:Xe(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return(0,Y.zg)(n=>{const{targetSnapshot:i,currentSnapshot:s,guards:{canActivateChecks:r,canDeactivateChecks:l}}=n;return 0===l.length&&0===r.length?(0,a.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return(0,o.D)(t).pipe((0,Y.zg)(t=>function(t,e,n,i,s){const r=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!r||0===r.length)return(0,a.of)(!0);const o=r.map(r=>{const o=tn(r,e,s);let a;if(function(t){return t&&Oe(t.canDeactivate)}(o))a=Ct(o.canDeactivate(t,e,n,i));else{if(!Oe(o))throw new Error("Invalid CanDeactivate guard");a=Ct(o(t,e,n,i))}return a.pipe(B())});return(0,a.of)(o).pipe(Pe())}(t.component,t.route,n,e,i)),B(t=>!0!==t,!0))}(l,i,s,t).pipe((0,Y.zg)(n=>n&&"boolean"==typeof n?function(t,e,n,i){return(0,o.D)(e).pipe((0,z.b)(e=>(0,h.z)(function(t,e){return null!==t&&e&&e(new lt(t)),(0,a.of)(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new ut(t)),(0,a.of)(!0)}(e.route,i),function(t,e,n){const i=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>(0,d.P)(()=>{const s=e.guards.map(s=>{const r=tn(s,e.node,n);let o;if(function(t){return t&&Oe(t.canActivateChild)}(r))o=Ct(r.canActivateChild(i,t));else{if(!Oe(r))throw new Error("Invalid CanActivateChild guard");o=Ct(r(i,t))}return o.pipe(B())});return(0,a.of)(s).pipe(Pe())}));return(0,a.of)(s).pipe(Pe())}(t,e.path,n),function(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return(0,a.of)(!0);const s=i.map(i=>(0,d.P)(()=>{const s=tn(i,e,n);let r;if(function(t){return t&&Oe(t.canActivate)}(s))r=Ct(s.canActivate(e,t));else{if(!Oe(s))throw new Error("Invalid CanActivate guard");r=Ct(s(e,t))}return r.pipe(B())}));return(0,a.of)(s).pipe(Pe())}(t,e.route,n))),B(t=>!0!==t,!0))}(i,r,t,e):(0,a.of)(n)),(0,q.U)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),(0,G.b)(t=>{if(Te(t.guardsResult)){const e=mt(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new it(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),(0,E.h)(t=>!!t.guardsResult||(this.cancelNavigationTransition(t,""),!1)),pn(t=>{if(t.guards.canActivateChecks.length)return(0,a.of)(t).pipe((0,G.b)(t=>{const e=new st(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,V.w)(t=>{let e=!1;return(0,a.of)(t).pipe((n=this.paramsInheritanceStrategy,i=this.ngModule.injector,(0,Y.zg)(t=>{const{targetSnapshot:e,guards:{canActivateChecks:s}}=t;if(!s.length)return(0,a.of)(t);let r=0;return(0,o.D)(s).pipe((0,z.b)(t=>function(t,e,n,i){return function(t,e,n,i){const s=Object.keys(t);if(0===s.length)return(0,a.of)({});const r={};return(0,o.D)(s).pipe((0,Y.zg)(s=>function(t,e,n,i){const s=tn(t,e,i);return Ct(s.resolve?s.resolve(e,n):s(e,n))}(t[s],e,n,i).pipe((0,G.b)(t=>{r[s]=t}))),k(1),(0,Y.zg)(()=>Object.keys(r).length===s.length?(0,a.of)(r):p.E))}(t._resolve,t,e,i).pipe((0,q.U)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),ie(t,n).resolve),null)))}(t.route,e,n,i)),(0,G.b)(()=>r++),k(1),(0,Y.zg)(e=>r===s.length?(0,a.of)(t):p.E))})),(0,G.b)({next:()=>e=!0,complete:()=>{e||this.cancelNavigationTransition(t,"At least one route resolver didn't emit any value.")}}));var n,i}),(0,G.b)(t=>{const e=new rt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),pn(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:s,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:s,skipLocationChange:!!r,replaceUrl:!!o})}),(0,q.U)(t=>{const e=function(t,e,n){const i=ue(t,e._root,n?n._root:void 0);return new te(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),(0,G.b)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,t),this.browserUrlTree=t.urlAfterRedirects)}),(r=this.rootContexts,l=this.routeReuseStrategy,c=t=>this.triggerEvent(t),(0,q.U)(t=>(new Ee(l,t.targetRouterState,t.currentRouterState,c).activate(r),t))),(0,G.b)({next(){n=!0},complete(){n=!0}}),(s=()=>{n||i||this.cancelNavigationTransition(t,`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation=null},t=>t.lift(new Z(s))),w(n=>{if(i=!0,(s=n)&&s.ngNavigationCancelingError){const i=Te(n.url);i||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const s=new X(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(s),i?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const i=new tt(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(r){t.reject(r)}}var s;return p.E}));var s,r,l,c}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:i}=e,s={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,delete t.\u0275routerPageId,0!==Object.keys(t).length&&(s.state=t)}this.scheduleNavigation(i,t,n,s)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&n&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Re(t),this.config=t.map(Le),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:s,queryParamsHandling:r,preserveFragment:o}=e,a=n||this.routerState.root,l=o?this.currentUrlTree.fragment:s;let c=null;switch(r){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,i,s){if(0===n.length)return fe(e.root,e.root,e,i,s);const r=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new ge(!0,0,t);let e=0,n=!1;const i=t.reduce((t,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return wt(i.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===s?(i.split("/").forEach((i,s)=>{0==s&&"."===i||(0==s&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[...t,i]},[]);return new ge(n,e,i)}(n);if(r.toRoot())return fe(e.root,new Pt([],{}),e,i,s);const o=function(t,e,n){if(t.isAbsolute)return new _e(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new _e(t,t===e.root,0)}const i=de(t.commands[0])?0:1;return function(t,e,n){let i=t,s=e,r=n;for(;r>s;){if(r-=s,i=i.parent,!i)throw new Error("Invalid number of '../'");s=i.segments.length}return new _e(i,!1,s-r)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(r,e,t),a=o.processChildren?be(o.segmentGroup,o.index,r.commands):ye(o.segmentGroup,o.index,r.commands);return fe(o.segmentGroup,a,e,i,s)}(a,this.currentUrlTree,t,c,null!=l?l:null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=Te(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);let s=null;return"computed"===this.canceledNavigationResolution&&(0===this.currentPageId||e.skipLocationChange||e.replaceUrl)&&(s=this.location.getState()),this.scheduleNavigation(i,"imperative",s,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const i=t[n];return null!=i&&(e[n]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new J(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,i,s){if(this.disposed)return Promise.resolve(!1);const r=this.getTransition(),o="imperative"!==e&&"imperative"===(null==r?void 0:r.source),a=(this.lastSuccessfulId===r.id||this.currentNavigation?r.rawUrl:r.urlAfterRedirects).toString()===t.toString();if(o&&a)return Promise.resolve(!0);let l,c,u;s?(l=s.resolve,c=s.reject,u=s.promise):u=new Promise((t,e)=>{l=t,c=e});const h=++this.navigationId;let d;return d="computed"===this.canceledNavigationResolution?n&&n.\u0275routerPageId?n.\u0275routerPageId:this.currentPageId+1:0,this.setTransition({id:h,targetPageId:d,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(t=>Promise.reject(t))}setBrowserUrl(t,e){const n=this.urlSerializer.serialize(t),i=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl?this.location.replaceState(n,"",i):this.location.go(n,"",i)}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,e){"computed"===this.canceledNavigationResolution?"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy||this.location.historyGo(this.currentPageId-t.targetPageId):this.resetUrlToCurrentUrlTree();const n=new X(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(n),t.resolve(!1)}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.DyG),s.LFG(Dt),s.LFG(yn),s.LFG(i.Ye),s.LFG(s.zs3),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),kn=(()=>{class t{constructor(t,e,n,i,s){this.router=t,this.route=e,this.commands=[],this.onChanges=new m.xQ,null==n&&i.setAttribute(s.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:Tn(this.skipLocationChange),replaceUrl:Tn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Tn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Sn),s.Y36(ne),s.$8M("tabindex"),s.Y36(s.Qsj),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s.TTD]}),t})(),On=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new m.xQ,this.subscription=t.events.subscribe(t=>{t instanceof J&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,i,s){if(0!==t||e||n||i||s)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const r={skipLocationChange:Tn(this.skipLocationChange),replaceUrl:Tn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Tn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Sn),s.Y36(ne),s.Y36(i.S$))},t.\u0275dir=s.lG2({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(s.Ikx("href",e.href,s.LSH),s.uIk("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s.TTD]}),t})();function Tn(t){return""===t||!!t}let An=(()=>{class t{constructor(t,e,n,i,r){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new s.vpe,this.deactivateEvents=new s.vpe,this.name=i||"primary",t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,s=new Pn(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(yn),s.Y36(s.s_b),s.Y36(s._Vd),s.$8M("name"),s.Y36(s.sBO))},t.\u0275dir=s.lG2({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class Pn{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===ne?this.route:t===yn?this.childContexts:this.parent.get(t,e)}}class In{}class Rn{preload(t,e){return(0,a.of)(null)}}let Dn=(()=>{class t{constructor(t,e,n,i,s){this.router=t,this.injector=i,this.preloadingStrategy=s,this.loader=new gn(e,n,e=>t.triggerEvent(new ot(e)),e=>t.triggerEvent(new at(e)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,E.h)(t=>t instanceof J),(0,z.b)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(s.h0i);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const i of e)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const t=i._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(t,i)):i.children&&n.push(this.processRoutes(t,i.children));return(0,o.D)(n).pipe((0,$.J)(),(0,q.U)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?(0,a.of)(e._loadedConfig):this.loader.load(t.injector,e)).pipe((0,Y.zg)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Sn),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(s.zs3),s.LFG(In))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Mn=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Q?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof J&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof dt&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new dt(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Sn),s.LFG(i.EM),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const Ln=new s.OlP("ROUTER_CONFIGURATION"),Fn=new s.OlP("ROUTER_FORROOT_GUARD"),Nn=[i.Ye,{provide:Dt,useClass:Mt},{provide:Sn,useFactory:function(t,e,n,i,s,r,o,a={},l,c){const u=new Sn(null,t,e,n,i,s,r,bt(o));return l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,u),a.enableTracing&&u.events.subscribe(t=>{var e,n;null===(e=console.group)||void 0===e||e.call(console,`Router Event: ${t.constructor.name}`),console.log(t.toString()),console.log(t),null===(n=console.groupEnd)||void 0===n||n.call(console)}),u},deps:[Dt,yn,i.Ye,s.zs3,s.v3s,s.Sil,mn,Ln,[class{},new s.FiY],[class{},new s.FiY]]},yn,{provide:ne,useFactory:function(t){return t.routerState.root},deps:[Sn]},{provide:s.v3s,useClass:s.EAV},Dn,Rn,class{preload(t,e){return e().pipe(w(()=>(0,a.of)(null)))}},{provide:Ln,useValue:{enableTracing:!1}}];function Bn(){return new s.PXZ("Router",Sn)}let Un=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[Nn,Vn(e),{provide:Fn,useFactory:qn,deps:[[Sn,new s.FiY,new s.tp0]]},{provide:Ln,useValue:n||{}},{provide:i.S$,useFactory:jn,deps:[i.lw,[new s.tBr(i.mr),new s.FiY],Ln]},{provide:Mn,useFactory:Zn,deps:[Sn,i.EM,Ln]},{provide:In,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Rn},{provide:s.PXZ,multi:!0,useFactory:Bn},[Hn,{provide:s.ip1,multi:!0,useFactory:zn,deps:[Hn]},{provide:Gn,useFactory:Yn,deps:[Hn]},{provide:s.tb,multi:!0,useExisting:Gn}]]}}static forChild(e){return{ngModule:t,providers:[Vn(e)]}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Fn,8),s.LFG(Sn,8))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();function Zn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Mn(t,e,n)}function jn(t,e,n={}){return n.useHash?new i.Do(t,e):new i.b0(t,e)}function qn(t){return"guarded"}function Vn(t){return[{provide:s.deG,multi:!0,useValue:t},{provide:mn,multi:!0,useValue:t}]}let Hn=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new m.xQ}appInitializer(){return this.injector.get(i.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const e=new Promise(e=>t=e),n=this.injector.get(Sn),i=this.injector.get(Ln);return"disabled"===i.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?(0,a.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(Ln),n=this.injector.get(Dn),i=this.injector.get(Mn),r=this.injector.get(Sn),o=this.injector.get(s.z2F);t===o.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||r.initialNavigation(),n.setUpPreloading(),i.init(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function zn(t){return t.appInitializer.bind(t)}function Yn(t){return t.bootstrapListener.bind(t)}const Gn=new s.OlP("Router Initializer")},6215:function(t,e,n){"use strict";n.d(e,{X:function(){return r}});var i=n(9765),s=n(7971);class r extends i.xQ{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new s.N;return this._value}next(t){super.next(this._value=t)}}},1593:function(t,e,n){"use strict";n.d(e,{P:function(){return o}});var i=n(9193),s=n(5917),r=n(7574);class o{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return(0,s.of)(this.value);case"E":return t=this.error,new r.y(e=>e.error(t));case"C":return(0,i.c)()}var t;throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new o("N",t):o.undefinedValueNotification}static createError(t){return new o("E",void 0,t)}static createComplete(){return o.completeNotification}}o.completeNotification=new o("C"),o.undefinedValueNotification=new o("N",void 0)},7574:function(t,e,n){"use strict";n.d(e,{y:function(){return c}});var i=n(7393),s=n(9181),r=n(6490),o=n(6554),a=n(4487),l=n(2494);let c=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:o}=this,a=function(t,e,n){if(t){if(t instanceof i.L)return t;if(t[s.b])return t[s.b]()}return t||e||n?new i.L(t,e,n):new i.L(r.c)}(t,e,n);if(a.add(o?o.call(a,this.source):this.source||l.v.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),l.v.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(t){try{return this._subscribe(t)}catch(e){l.v.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:s}=t;if(e||s)return!1;t=n&&n instanceof i.L?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=u(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(s){n(s),i&&i.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[o.L](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?a.y:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=u(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function u(t){if(t||(t=l.v.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},6490:function(t,e,n){"use strict";n.d(e,{c:function(){return r}});var i=n(2494),s=n(4449);const r={closed:!0,next(t){},error(t){if(i.v.useDeprecatedSynchronousErrorHandling)throw t;(0,s.z)(t)},complete(){}}},9765:function(t,e,n){"use strict";n.d(e,{Yc:function(){return c},xQ:function(){return u}});var i=n(7574),s=n(7393),r=n(5319),o=n(7971),a=n(8858),l=n(9181);class c extends s.L{constructor(t){super(t),this.destination=t}}let u=(()=>{class t extends i.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.b](){return new c(this)}lift(t){const e=new h(this,this);return e.operator=t,e}next(t){if(this.closed)throw new o.N;if(!this.isStopped){const{observers:e}=this,n=e.length,i=e.slice();for(let s=0;snew h(t,e),t})();class h extends u{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):r.w.EMPTY}}},8858:function(t,e,n){"use strict";n.d(e,{W:function(){return s}});var i=n(5319);class s extends i.w{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},7393:function(t,e,n){"use strict";n.d(e,{L:function(){return c}});var i=n(9105),s=n(6490),r=n(5319),o=n(9181),a=n(2494),l=n(4449);class c extends r.w{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.c;break;case 1:if(!t){this.destination=s.c;break}if("object"==typeof t){t instanceof c?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,t,e,n)}}[o.b](){return this}static create(t,e,n){const i=new c(t,e,n);return i.syncErrorThrowable=!1,i}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class u extends c{constructor(t,e,n,r){let o;super(),this._parentSubscriber=t;let a=this;(0,i.m)(e)?o=e:e&&(o=e.next,n=e.error,r=e.complete,e!==s.c&&(a=Object.create(e),(0,i.m)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=n,this._complete=r}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;a.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=a.v;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):(0,l.z)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;(0,l.z)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.v.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),a.v.useDeprecatedSynchronousErrorHandling)throw n;(0,l.z)(n)}}__tryOrSetError(t,e,n){if(!a.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return a.v.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):((0,l.z)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},5319:function(t,e,n){"use strict";n.d(e,{w:function(){return a}});var i=n(9796),s=n(1555),r=n(9105);const o=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();class a{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:n,_unsubscribe:l,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof a)e.remove(this);else if(null!==e)for(let i=0;it.concat(e instanceof o?e.errors:e),[])}a.EMPTY=((l=new a).closed=!0,l)},2494:function(t,e,n){"use strict";n.d(e,{v:function(){return s}});let i=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},5345:function(t,e,n){"use strict";n.d(e,{IY:function(){return o},Ds:function(){return a},ft:function(){return l}});var i=n(7393),s=n(7574),r=n(7444);class o extends i.L{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class a extends i.L{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function l(t,e){if(e.closed)return;if(t instanceof s.y)return t.subscribe(e);let n;try{n=(0,r.s)(t)(e)}catch(i){e.error(i)}return n}},2441:function(t,e,n){"use strict";n.d(e,{c:function(){return a},N:function(){return l}});var i=n(9765),s=n(7574),r=n(5319),o=n(1307);class a extends s.y{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new r.w,t.add(this.source.subscribe(new c(this.getSubject(),this))),t.closed&&(this._connection=null,t=r.w.EMPTY)),t}refCount(){return(0,o.x)()(this)}}const l=(()=>{const t=a.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class c extends i.Yc{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}},739:function(t,e,n){"use strict";n.d(e,{aj:function(){return p}});var i=n(4869),s=n(9796),r=n(7393);class o extends r.L{notifyNext(t,e,n,i,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class a extends r.L{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var l=n(7444),c=n(7574);function u(t,e,n,i,s=new a(t,n,i)){if(!s.closed)return e instanceof c.y?e.subscribe(s):(0,l.s)(e)(s)}var h=n(6693);const d={};function p(...t){let e,n;return(0,i.K)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&(0,s.k)(t[0])&&(t=t[0]),(0,h.n)(t,n).lift(new f(e))}class f{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new m(t,this.resultSelector))}}class m extends o{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(d),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n{let n;try{n=t()}catch(i){return void e.error(i)}return(n?(0,s.D)(n):(0,r.c)()).subscribe(e)})}},9193:function(t,e,n){"use strict";n.d(e,{E:function(){return s},c:function(){return r}});var i=n(7574);const s=new i.y(t=>t.complete());function r(t){return t?function(t){return new i.y(e=>t.schedule(()=>e.complete()))}(t):s}},4402:function(t,e,n){"use strict";n.d(e,{D:function(){return h}});var i=n(7574),s=n(7444),r=n(5319),o=n(6554),a=n(4087),l=n(377),c=n(4072),u=n(9489);function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.L]}(t))return function(t,e){return new i.y(n=>{const i=new r.w;return i.add(e.schedule(()=>{const s=t[o.L]();i.add(s.subscribe({next(t){i.add(e.schedule(()=>n.next(t)))},error(t){i.add(e.schedule(()=>n.error(t)))},complete(){i.add(e.schedule(()=>n.complete()))}}))})),i})}(t,e);if((0,c.t)(t))return function(t,e){return new i.y(n=>{const i=new r.w;return i.add(e.schedule(()=>t.then(t=>{i.add(e.schedule(()=>{n.next(t),i.add(e.schedule(()=>n.complete()))}))},t=>{i.add(e.schedule(()=>n.error(t)))}))),i})}(t,e);if((0,u.z)(t))return(0,a.r)(t,e);if(function(t){return t&&"function"==typeof t[l.hZ]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new i.y(n=>{const i=new r.w;let s;return i.add(()=>{s&&"function"==typeof s.return&&s.return()}),i.add(e.schedule(()=>{s=t[l.hZ](),i.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=s.next();t=n.value,e=n.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())}))})),i})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof i.y?t:new i.y((0,s.s)(t))}},6693:function(t,e,n){"use strict";n.d(e,{n:function(){return o}});var i=n(7574),s=n(5015),r=n(4087);function o(t,e){return e?(0,r.r)(t,e):new i.y((0,s.V)(t))}},2759:function(t,e,n){"use strict";n.d(e,{R:function(){return a}});var i=n(7574),s=n(9796),r=n(9105),o=n(8002);function a(t,e,n,c){return(0,r.m)(n)&&(c=n,n=void 0),c?a(t,e,n).pipe((0,o.U)(t=>(0,s.k)(t)?c(...t):c(t))):new i.y(i=>{l(t,e,function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},i,n)})}function l(t,e,n,i,s){let r;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const i=t;t.addEventListener(e,n,s),r=()=>i.removeEventListener(e,n,s)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const i=t;t.on(e,n),r=()=>i.off(e,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const i=t;t.addListener(e,n),r=()=>i.removeListener(e,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let r=0,o=t.length;r1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof a&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof i.y?t[0]:(0,r.J)(e)((0,o.n)(t,n))}},5917:function(t,e,n){"use strict";n.d(e,{of:function(){return o}});var i=n(4869),s=n(6693),r=n(4087);function o(...t){let e=t[t.length-1];return(0,i.K)(e)?(t.pop(),(0,r.r)(t,e)):(0,s.n)(t)}},628:function(t,e,n){"use strict";n.d(e,{e:function(){return h}});var i=n(3637),s=n(5345);class r{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new o(t,this.durationSelector))}}class o extends s.Ds{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:e}=this;n=e(t)}catch(e){return this.destination.error(e)}const i=(0,s.ft)(n,new s.IY(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:t,hasValue:e,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var a=n(7574),l=n(6561),c=n(4869);function u(t){const{index:e,period:n,subscriber:i}=t;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}function h(t,e=i.P){return n=()=>function(t=0,e,n){let s=-1;return(0,l.k)(e)?s=Number(e)<1?1:Number(e):(0,c.K)(e)&&(n=e),(0,c.K)(n)||(n=i.P),new a.y(e=>{const i=(0,l.k)(t)?t:+t-n.now();return n.schedule(u,i,{index:0,period:s,subscriber:e})})}(t,e),function(t){return t.lift(new r(n))};var n}},4612:function(t,e,n){"use strict";n.d(e,{b:function(){return s}});var i=n(9773);function s(t,e){return(0,i.zg)(t,e,1)}},4395:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var i=n(7393),s=n(3637);function r(t,e=s.P){return n=>n.lift(new o(t,e))}class o{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new a(t,this.dueTime,this.scheduler))}}class a extends i.L{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function l(t){t.debouncedNext()}},7519:function(t,e,n){"use strict";n.d(e,{x:function(){return s}});var i=n(7393);function s(t,e){return n=>n.lift(new r(t,e))}class r{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new o(t,this.compare,this.keySelector))}}class o extends i.L{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}},5435:function(t,e,n){"use strict";n.d(e,{h:function(){return s}});var i=n(7393);function s(t,e){return function(n){return n.lift(new r(t,e))}}class r{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.predicate,this.thisArg))}}class o extends i.L{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}},8002:function(t,e,n){"use strict";n.d(e,{U:function(){return s}});var i=n(7393);function s(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new r(t,e))}}class r{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.project,this.thisArg))}}class o extends i.L{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},3282:function(t,e,n){"use strict";n.d(e,{J:function(){return r}});var i=n(9773),s=n(4487);function r(t=Number.POSITIVE_INFINITY){return(0,i.zg)(s.y,t)}},9773:function(t,e,n){"use strict";n.d(e,{zg:function(){return o}});var i=n(8002),s=n(4402),r=n(5345);function o(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(o((n,r)=>(0,s.D)(t(n,r)).pipe((0,i.U)((t,i)=>e(n,t,r,i))),n)):("number"==typeof e&&(n=e),e=>e.lift(new a(t,n)))}class a{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new l(t,this.project,this.concurrent))}}class l extends r.Ds{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},1307:function(t,e,n){"use strict";n.d(e,{x:function(){return s}});var i=n(7393);function s(){return function(t){return t.lift(new r(t))}}class r{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new o(t,n),s=e.subscribe(i);return i.closed||(i.connection=n.connect()),s}}class o extends i.L{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}},3653:function(t,e,n){"use strict";n.d(e,{T:function(){return s}});var i=n(7393);function s(t){return e=>e.lift(new r(t))}class r{constructor(t){this.total=t}call(t,e){return e.subscribe(new o(t,this.total))}}class o extends i.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}},9761:function(t,e,n){"use strict";n.d(e,{O:function(){return r}});var i=n(8071),s=n(4869);function r(...t){const e=t[t.length-1];return(0,s.K)(e)?(t.pop(),n=>(0,i.z)(t,n,e)):e=>(0,i.z)(t,e)}},3190:function(t,e,n){"use strict";n.d(e,{w:function(){return o}});var i=n(8002),s=n(4402),r=n(5345);function o(t,e){return"function"==typeof e?n=>n.pipe(o((n,r)=>(0,s.D)(t(n,r)).pipe((0,i.U)((t,i)=>e(n,t,r,i))))):e=>e.lift(new a(t))}class a{constructor(t){this.project=t}call(t,e){return e.subscribe(new l(t,this.project))}}class l extends r.Ds{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new r.IY(this),i=this.destination;i.add(n),this.innerSubscription=(0,r.ft)(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}},5257:function(t,e,n){"use strict";n.d(e,{q:function(){return o}});var i=n(7393),s=n(7108),r=n(9193);function o(t){return e=>0===t?(0,r.c)():e.lift(new a(t))}class a{constructor(t){if(this.total=t,this.total<0)throw new s.W}call(t,e){return e.subscribe(new l(t,this.total))}}class l extends i.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}},6782:function(t,e,n){"use strict";n.d(e,{R:function(){return s}});var i=n(5345);function s(t){return e=>e.lift(new r(t))}class r{constructor(t){this.notifier=t}call(t,e){const n=new o(t),s=(0,i.ft)(this.notifier,new i.IY(n));return s&&!n.seenValue?(n.add(s),e.subscribe(n)):n}}class o extends i.Ds{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},3342:function(t,e,n){"use strict";n.d(e,{b:function(){return o}});var i=n(7393);function s(){}var r=n(9105);function o(t,e,n){return function(i){return i.lift(new a(t,e,n))}}class a{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))}}class l extends i.L{constructor(t,e,n,i){super(t),this._tapNext=s,this._tapError=s,this._tapComplete=s,this._tapError=n||s,this._tapComplete=i||s,(0,r.m)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||s,this._tapError=e.error||s,this._tapComplete=e.complete||s)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},4087:function(t,e,n){"use strict";n.d(e,{r:function(){return r}});var i=n(7574),s=n(5319);function r(t,e){return new i.y(n=>{const i=new s.w;let r=0;return i.add(e.schedule(function(){r!==t.length?(n.next(t[r++]),n.closed||i.add(this.schedule())):n.complete()})),i})}},6465:function(t,e,n){"use strict";n.d(e,{o:function(){return r}});var i=n(5319);class s extends i.w{constructor(t,e){super()}schedule(t,e=0){return this}}class r extends s{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,i=!1;try{this.work(t)}catch(s){i=!0,n=!!s&&s||new Error(s)}if(i)return this.unsubscribe(),n}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},6102:function(t,e,n){"use strict";n.d(e,{v:function(){return s}});let i=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class s extends i{constructor(t,e=i.now){super(t,()=>s.delegate&&s.delegate!==this?s.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return s.delegate&&s.delegate!==this?s.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},4581:function(t,e,n){"use strict";n.d(e,{E:function(){return u}});let i=1;const s=Promise.resolve(),r={};function o(t){return t in r&&(delete r[t],!0)}const a={setImmediate(t){const e=i++;return r[e]=!0,s.then(()=>o(e)&&t()),e},clearImmediate(t){o(t)}};var l=n(6465),c=n(6102);const u=new class extends c.v{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,s=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=a.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(a.clearImmediate(e),t.scheduled=void 0)}})},3637:function(t,e,n){"use strict";n.d(e,{P:function(){return s}});var i=n(6465);const s=new(n(6102).v)(i.o)},377:function(t,e,n){"use strict";n.d(e,{hZ:function(){return i}});const i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},6554:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},9181:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});const i="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:function(t,e,n){"use strict";n.d(e,{W:function(){return i}});const i=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},7971:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});const i=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},4449:function(t,e,n){"use strict";function i(t){setTimeout(()=>{throw t},0)}n.d(e,{z:function(){return i}})},4487:function(t,e,n){"use strict";function i(t){return t}n.d(e,{y:function(){return i}})},9796:function(t,e,n){"use strict";n.d(e,{k:function(){return i}});const i=Array.isArray||(t=>t&&"number"==typeof t.length)},9489:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});const i=t=>t&&"number"==typeof t.length&&"function"!=typeof t},9105:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,{m:function(){return i}})},6561:function(t,e,n){"use strict";n.d(e,{k:function(){return s}});var i=n(9796);function s(t){return!(0,i.k)(t)&&t-parseFloat(t)+1>=0}},1555:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t}n.d(e,{K:function(){return i}})},5639:function(t,e,n){"use strict";n.d(e,{b:function(){return s}});var i=n(7574);function s(t){return!!t&&(t instanceof i.y||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},4072:function(t,e,n){"use strict";function i(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,{t:function(){return i}})},4869:function(t,e,n){"use strict";function i(t){return t&&"function"==typeof t.schedule}n.d(e,{K:function(){return i}})},7444:function(t,e,n){"use strict";n.d(e,{s:function(){return u}});var i=n(5015),s=n(4449),r=n(377),o=n(6554),a=n(9489),l=n(4072),c=n(1555);const u=t=>{if(t&&"function"==typeof t[o.L])return u=t,t=>{const e=u[o.L]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if((0,a.z)(t))return(0,i.V)(t);if((0,l.t)(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,s.z),t);if(t&&"function"==typeof t[r.hZ])return e=t,t=>{const n=e[r.hZ]();for(;;){let e;try{e=n.next()}catch(i){return t.error(i),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=(0,c.K)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,u}},5015:function(t,e,n){"use strict";n.d(e,{V:function(){return i}});const i=t=>e=>{for(let n=0,i=t.length;n{class t{constructor(t){this.sanitizer=t}transform(t,e){return this.sanitizer.bypassSecurityTrustHtml(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(s.H7,16))},t.\u0275pipe=i.Yjl({name:"safeHtml",type:t,pure:!0}),t})()},3183:function(t,e,n){"use strict";n.d(e,{h:function(){return y}});var i=n(2238),s=n(7574),r=n(3637),o=n(6561);function a(t){const{subscriber:e,counter:n,period:i}=t;e.next(n),this.schedule({subscriber:e,counter:n+1,period:i},i)}var l=n(3018),c=n(8583),u=n(1095),h=n(7918),d=n(6498);function p(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",3),l.NdJ("click",function(){return l.CHM(t),l.oxw().close()}),l.TgZ(1,"uds-translate"),l._uU(2,"Close"),l.qZA(),l._uU(3),l.qZA()}if(2&t){const t=l.oxw();l.xp6(3),l.Oqu(t.extra)}}function f(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",3),l.NdJ("click",function(){return l.CHM(t),l.oxw().yes()}),l.TgZ(1,"uds-translate"),l._uU(2,"Yes"),l.qZA(),l.qZA()}}function m(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",3),l.NdJ("click",function(){return l.CHM(t),l.oxw().no()}),l.TgZ(1,"uds-translate"),l._uU(2,"No"),l.qZA(),l.qZA()}}var g=(()=>(function(t){t[t.alert=0]="alert",t[t.yesno=1]="yesno"}(g||(g={})),g))();let _=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e,this.subscription=null,this.resetCallbacks(),this.yesno=new s.y(t=>{this.yes=()=>{t.next(!0),t.complete()},this.no=()=>{t.next(!1),t.complete()},this.close=()=>{this.doClose(),t.next(!1),t.complete()};const e=this;return{unsubscribe:()=>e.resetCallbacks()}})}resetCallbacks(){this.yes=this.no=()=>this.close(),this.close=()=>this.doClose()}closed(){null!==this.subscription&&this.subscription.unsubscribe()}doClose(){this.dialogRef.close()}setExtra(t){this.extra=" ("+Math.floor(t/1e3)+" "+django.gettext("seconds")+") "}initAlert(){this.data.autoclose>0?(this.dialogRef.afterClosed().subscribe(t=>{this.closed()}),this.setExtra(this.data.autoclose),this.subscription=function(t=0,e=r.P){return(!(0,o.k)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=r.P),new s.y(n=>(n.add(e.schedule(a,t,{subscriber:n,counter:0,period:t})),n))}(1e3).subscribe(t=>{const e=this.data.autoclose-1e3*(t+1);this.setExtra(e),e<=0&&this.close()})):this.data.checkClose&&(this.dialogRef.afterClosed().subscribe(t=>{this.closed()}),this.subscription=this.data.checkClose.subscribe(t=>{window.setTimeout(()=>{this.doClose()})}))}initYesNo(){}ngOnInit(){this.data.type===g.yesno?this.initYesNo():this.initAlert()}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(i.so),l.Y36(i.WI))},t.\u0275cmp=l.Xpm({type:t,selectors:[["uds-modal"]],decls:8,vars:9,consts:[["mat-dialog-title","",3,"innerHtml"],[3,"innerHTML"],["mat-raised-button","","mat-dialog-close","",3,"click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"click"]],template:function(t,e){1&t&&(l._UZ(0,"h4",0),l.ALo(1,"safeHtml"),l._UZ(2,"mat-dialog-content",1),l.ALo(3,"safeHtml"),l.TgZ(4,"mat-dialog-actions"),l.YNc(5,p,4,1,"button",2),l.YNc(6,f,3,0,"button",2),l.YNc(7,m,3,0,"button",2),l.qZA()),2&t&&(l.Q6J("innerHtml",l.lcZ(1,5,e.data.title),l.oJD),l.xp6(2),l.Q6J("innerHTML",l.lcZ(3,7,e.data.body),l.oJD),l.xp6(3),l.Q6J("ngIf",0==e.data.type),l.xp6(1),l.Q6J("ngIf",1==e.data.type),l.xp6(1),l.Q6J("ngIf",1==e.data.type))},directives:[i.uh,i.xY,i.H8,c.O5,u.lW,i.ZT,h.P],pipes:[d.z],styles:[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]}),t})(),y=(()=>{class t{constructor(t){this.dialog=t}alert(t,e,n=0,i=null){const s=window.innerWidth<800?"80%":"40%";return this.dialog.open(_,{width:s,data:{title:t,body:e,autoclose:n,checkClose:i,type:g.alert},disableClose:!0})}yesno(t,e){const n=window.innerWidth<800?"80%":"40%";return this.dialog.open(_,{width:n,data:{title:t,body:e,type:g.yesno},disableClose:!0}).componentInstance.yesno}}return t.\u0275fac=function(e){return new(e||t)(l.LFG(i.uw))},t.\u0275prov=l.Yz7({token:t,factory:t.\u0275fac}),t})()},2870:function(t,e,n){"use strict";n.d(e,{S:function(){return s}});var i=n(7574);let s=(()=>{class t{constructor(t){this.api=t,this.delay=t.config.launcher_wait_time}launchURL(e){let n="init";const s=t=>{let e=django.gettext("Error communicating with your service. Please, retry again.");"string"==typeof t?e=t:403===t.status&&(e=django.gettext("Your session has expired. Please, login again")),window.setTimeout(()=>{this.showAlert(django.gettext("Error"),e,5e3),403===t.status&&window.setTimeout(()=>{this.api.logout()},5e3)})};if("udsa://"===e.substring(0,7)){const t=e.split("//")[1].split("/"),r=this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Remember that you will need the UDS client on your platform to access the service."),0,new i.y(e=>{let i=0;const o=()=>{r.componentInstance&&this.api.status(t[0],t[1]).subscribe(t=>{"ready"===t.status?(i?Date.now()-i>5*this.delay&&(r.componentInstance.data.title=django.gettext("Service ready")+" - "+django.gettext("UDS Client not launching"),r.componentInstance.data.body=''+django.gettext("It seems that you don't have UDS Client installed. Please, install it from here:")+' '+django.gettext("UDS Client Download")+""):(i=Date.now(),r.componentInstance.data.title=django.gettext("Service ready"),r.componentInstance.data.body=django.gettext("Launching UDS Client, almost done.")),window.setTimeout(o,this.delay)):"accessed"===t.status?(r.componentInstance.data.body=django.gettext("Machine ready, waiting for UDS Client"),e.next(!0),e.complete()):"running"===t.status?window.setTimeout(o,this.delay):(e.next(!0),e.complete(),s())},t=>{e.next(!0),e.complete(),s(t)})},a=()=>{if("init"===n)window.setTimeout(a,this.delay);else{if("error"===n||"stop"===n)return;window.setTimeout(o)}};window.setTimeout(a)}));this.api.enabler(t[0],t[1]).subscribe(t=>{if(t.error)n="error",this.api.gui.alert(django.gettext("Error launching service"),t.error);else{if(t.url.startsWith("/"))return n="stop",void this.launchURL(t.url);"https:"===window.location.protocol&&(t.url=t.url.replace("uds://","udss://")),n="enabled",this.doLaunch(t.url)}},t=>{this.api.logout()})}else{const n=this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Your connection is being prepared. It will open on a new window when ready."),0,new i.y(i=>{const r=()=>{n.componentInstance&&this.api.transportUrl(e).subscribe(e=>{if(e.url)if(i.next(!0),i.complete(),-1!==e.url.indexOf("o_s_w=")){const t=/(.*)&o_s_w=.*/.exec(e.url);window.location.href=t[1]}else{let n="global";if(-1!==e.url.indexOf("o_n_w=")){const t=/(.*)&o_n_w=([a-zA-Z0-9._-]*)/.exec(e.url);t&&(n=t[2],e.url=t[1])}t.transportsWindow[n]&&t.transportsWindow[n].close(),t.transportsWindow[n]=window.open(e.url,"uds_trans_"+n)}else e.running?window.setTimeout(r,this.delay):(i.next(!0),i.complete(),s(e.error))},t=>{i.next(!0),i.complete(),s(t)})};window.setTimeout(r)}))}}showAlert(t,e,n,i=null){return this.api.gui.alert(django.gettext("Launching service"),'

'+t+'

'+e+"

",n,i)}doLaunch(t){let e=document.getElementById("hiddenUdsLauncherIFrame");if(null===e){const t=document.createElement("div");t.id="testID",t.innerHTML='',document.body.appendChild(t),e=document.getElementById("hiddenUdsLauncherIFrame")}e.contentWindow.location.href=t}}return t.transportsWindow={},t})()},4902:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{G:function(){return LoginComponent}});var _uds_api_service__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7540),_angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3018),_angular_forms__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(665),_angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8295),_translate_directive__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(7918),_angular_material_input__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(9983),_angular_common__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8583),_angular_material_button__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1095),_angular_material_select__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(7441),_angular_material_core__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(2458),_gui_safe_html_pipe__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(6498);function LoginComponent_div_22_mat_option_6_Template(t,e){if(1&t&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(0,"mat-option",20),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()),2&t){const t=e.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("value",t.id),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.hij(" ",t.name," ")}}function LoginComponent_div_22_Template(t,e){if(1&t){const t=_angular_core__WEBPACK_IMPORTED_MODULE_1__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(0,"div",9),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(1,"mat-form-field",17),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(2,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(3,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(4,"Authenticator"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(5,"mat-select",18),_angular_core__WEBPACK_IMPORTED_MODULE_1__.NdJ("selectionChange",function(e){return _angular_core__WEBPACK_IMPORTED_MODULE_1__.CHM(t),_angular_core__WEBPACK_IMPORTED_MODULE_1__.oxw().changeAuth(e.value)}),_angular_core__WEBPACK_IMPORTED_MODULE_1__.YNc(6,LoginComponent_div_22_mat_option_6_Template,2,2,"mat-option",19),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()}if(2&t){const t=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("value",t.auths[0].id),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("ngForOf",t.auths)}}let LoginComponent=(()=>{class LoginComponent{constructor(t){this.api=t,this.title="UDS Enterprise",this.title=t.config.site_name,this.auths=t.config.authenticators.slice(0),this.auths.sort((t,e)=>t.priority-e.priority)}ngOnInit(){document.getElementById("loginform").action=this.api.config.urls.login;const t=document.getElementById("token");t.name=this.api.config.csrf_field,t.value=this.api.config.csrf,this.auth=document.getElementById("authenticator"),this.auths.length>0&&(this.auth.value=this.auths[0].id,this.changeAuth(this.auth.value)),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}changeAuth(auth){this.auth.value=auth;const doCustomAuth=data=>{eval(data)};for(const t of this.auths)t.id===auth&&t.is_custom&&(document.getElementsByClassName("login-form")[0].setAttribute("style","display: none;"),this.api.getAuthCustomHtml(t.id).subscribe(t=>doCustomAuth(t)))}launch(){return document.getElementById("loginform").submit(),!0}}return LoginComponent.\u0275fac=function(t){return new(t||LoginComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.Y36(_uds_api_service__WEBPACK_IMPORTED_MODULE_0__.n))},LoginComponent.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Xpm({type:LoginComponent,selectors:[["uds-login"]],decls:29,vars:6,consts:[["id","loginform","method","post",3,"ngSubmit"],["name","","id","token","value","","type","hidden"],["name","logouturl","id","id_logouturl","value","","type","hidden"],["name","authenticator","id","authenticator","value","","type","hidden"],[1,"login-container"],[1,"login-brand"],[3,"src"],[1,"login-info"],[1,"login-form"],[1,"login-field"],["appearance","standard"],["matInput","","id","id_user","name","user","value","","required","","autofocus",""],["matInput","","id","id_password","type","password","name","password","data-eye","",1,"form-control"],["class","login-field",4,"ngIf"],[1,"login-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"site-info",3,"innerHTML"],["appaerance","standard"],[3,"value","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(0,"form",0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.NdJ("ngSubmit",function(){return e.launch()}),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(1,"input",1),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(2,"input",2),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(3,"input",3),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(4,"div",4),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(5,"div",5),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(6,"img",6),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(7,"div",7),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(9,"div",8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(10,"div",9),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(11,"mat-form-field",10),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(12,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(13,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(14,"Username"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(15,"input",11),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(16,"div",9),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(17,"mat-form-field",10),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(18,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(19,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(20,"Password"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(21,"input",12),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.YNc(22,LoginComponent_div_22_Template,7,2,"div",13),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(23,"div",14),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(24,"button",15),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(25,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(26,"Login"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(27,"div",16),_angular_core__WEBPACK_IMPORTED_MODULE_1__.ALo(28,"safeHtml"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()),2&t&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(6),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("src",e.api.staticURL("modern/img/login-img.png"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LSH),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_1__.hij(" ",e.title," "),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(14),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("ngIf",e.auths.length>1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("innerHTML",_angular_core__WEBPACK_IMPORTED_MODULE_1__.lcZ(28,4,e.api.config.site_information),_angular_core__WEBPACK_IMPORTED_MODULE_1__.oJD))},directives:[_angular_forms__WEBPACK_IMPORTED_MODULE_2__._Y,_angular_forms__WEBPACK_IMPORTED_MODULE_2__.JL,_angular_forms__WEBPACK_IMPORTED_MODULE_2__.F,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__.KE,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__.hX,_translate_directive__WEBPACK_IMPORTED_MODULE_4__.P,_angular_material_input__WEBPACK_IMPORTED_MODULE_5__.Nt,_angular_common__WEBPACK_IMPORTED_MODULE_6__.O5,_angular_material_button__WEBPACK_IMPORTED_MODULE_7__.lW,_angular_material_select__WEBPACK_IMPORTED_MODULE_8__.gD,_angular_common__WEBPACK_IMPORTED_MODULE_6__.sg,_angular_material_core__WEBPACK_IMPORTED_MODULE_9__.ey],pipes:[_gui_safe_html_pipe__WEBPACK_IMPORTED_MODULE_10__.z],styles:[".login-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.login-brand[_ngcontent-%COMP%]{margin:1rem 0 0}.login-info[_ngcontent-%COMP%]{margin:1rem 0}.login-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.login-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.login-button[_ngcontent-%COMP%]{margin:2rem}.mat-form-field[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width:744px){.login-form[_ngcontent-%COMP%]{min-width:80%}}"]}),LoginComponent})()},7918:function(t,e,n){"use strict";n.d(e,{P:function(){return s}});var i=n(3018);let s=(()=>{class t{constructor(t){this.el=t}ngOnInit(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq))},t.\u0275dir=i.lG2({type:t,selectors:[["uds-translate"]]}),t})()},3513:function(t,e,n){"use strict";n.d(e,{n:function(){return i}});class i{constructor(t){this.user=t.user,this.role=t.role,this.admin=t.admin}get isStaff(){return"staff"===this.role||"admin"===this.role}get isAdmin(){return"admin"===this.role}get isLogged(){return null!=this.user}get isRestricted(){return"restricted"===this.role}}},7540:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{n:function(){return UDSApiService}});var _types_config__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3513),_helpers_plugin__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(2870),_environments_environment__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2340),_angular_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(3018),_angular_common_http__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1841),_gui_uds_gui_service__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(3183),_angular_router__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8741);let UDSApiService=(()=>{class UDSApiService{constructor(t,e,n){this.http=t,this.gui=e,this.router=n,this.user=new _types_config__WEBPACK_IMPORTED_MODULE_1__.n(udsData.profile),this.transportsWindow=null,this.plugin=new _helpers_plugin__WEBPACK_IMPORTED_MODULE_2__.S(this)}get config(){return udsData.config}get staffInfo(){return udsData.info}get plugins(){return udsData.plugins}get actors(){return udsData.actors}get errors(){return udsData.errors}enabler(t,e){const n=this.config.urls.enabler.replace("param1",t).replace("param2",e);return this.http.get(n)}status(t,e){const n=this.config.urls.status.replace("param1",t).replace("param2",e);return this.http.get(n)}action(t,e){const n=this.config.urls.action.replace("param1",e).replace("param2",t);return this.http.get(n)}transportUrl(t){return this.http.get(t)}galleryImageURL(t){return this.config.urls.galleryImage.replace("param1",t)}transportIconURL(t){return this.config.urls.transportIcon.replace("param1",t)}staticURL(t){return _environments_environment__WEBPACK_IMPORTED_MODULE_0__.N.production?this.config.urls.static+t:"/static/"+t}getServicesInformation(){return this.http.get(this.config.urls.services)}executeCustomJSForServiceLaunch(){void 0!==udsData.customJSForServiceLaunch&&eval(udsData.customJSForServiceLaunch)}gotoAdmin(){window.location.href=this.config.urls.admin}logout(){window.location.href=this.config.urls.logout}launchURL(t){this.plugin.launchURL(t)}getAuthCustomHtml(t){return this.http.get(this.config.urls.customAuth+t,{responseType:"text"})}}return UDSApiService.\u0275fac=function(t){return new(t||UDSApiService)(_angular_core__WEBPACK_IMPORTED_MODULE_3__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_4__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_3__.LFG(_gui_uds_gui_service__WEBPACK_IMPORTED_MODULE_5__.h),_angular_core__WEBPACK_IMPORTED_MODULE_3__.LFG(_angular_router__WEBPACK_IMPORTED_MODULE_6__.F0))},UDSApiService.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_3__.Yz7({token:UDSApiService,factory:UDSApiService.\u0275fac}),UDSApiService})()},2340:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});const i={production:!0}},1479:function(t,e,n){"use strict";var i=n(9075),s=n(3018),r=n(9490),o=n(9765),a=n(739),l=n(8071),c=n(7574),u=n(5257),h=n(3653),d=n(4395),p=n(8002),f=n(9761),m=n(6782),g=n(521);let _=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();const y=new Set;let b,v=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):w}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!y.has(t))try{b||(b=document.createElement("style"),b.setAttribute("type","text/css"),document.head.appendChild(b)),b.sheet&&(b.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),y.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(g.t4))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(g.t4))},token:t,providedIn:"root"}),t})();function w(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let C=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new o.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return x((0,r.Eq)(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=x((0,r.Eq)(t)).map(t=>this._registerQuery(t).observable);let n=(0,a.aj)(e);return n=(0,l.z)(n.pipe((0,u.q)(1)),n.pipe((0,h.T)(1),(0,d.b)(0))),n.pipe((0,p.U)(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(({matches:t,query:n})=>{e.matches=e.matches||t,e.breakpoints[n]=t}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),n={observable:new c.y(t=>{const n=e=>this._zone.run(()=>t.next(e));return e.addListener(n),()=>{e.removeListener(n)}}).pipe((0,f.O)(e),(0,p.U)(({matches:e})=>({query:t,matches:e})),(0,m.R)(this._destroySubject)),mql:e};return this._queries.set(t,n),n}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(v),s.LFG(s.R0b))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(v),s.LFG(s.R0b))},token:t,providedIn:"root"}),t})();function x(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}var E=n(1841),S=n(8741),k=n(7540);let O=(()=>{class t{constructor(t){this.api=t}canActivate(t,e){return!!this.api.user.isLogged||(this.api.router.navigate(["login"]),!1)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(k.n))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var T=n(4902),A=n(7918),P=n(8583);function I(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",6),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw().download(e.url)}),s.TgZ(1,"div",7),s._UZ(2,"img",8),s.qZA(),s.TgZ(3,"div",9),s._uU(4),s.qZA(),s.TgZ(5,"div",10),s._uU(6),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw();s.Tol(n.css(t)),s.xp6(2),s.Q6J("src",n.img(t.name),s.LSH),s.xp6(2),s.lnq(" ",n.legacy(t)," ",t.name," (",t.url.split(".").pop(),") "),s.xp6(2),s.hij(" ",t.description," ")}}let R=(()=>{class t{constructor(t){this.api=t}ngOnInit(){}download(t){window.location.href=t}img(t){return this.api.staticURL("modern/img/"+t+".png")}css(t){const e=["plugin"];return t.legacy&&e.push("legacy"),e}legacy(t){return t.legacy?"Legacy":""}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-client-download"]],decls:16,vars:1,consts:[[1,"plugins-container"],[1,"banner"],[1,"banner-text"],[1,"plugins"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"platform"],[1,"description"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"div",2),s.TgZ(3,"h1"),s.TgZ(4,"uds-translate"),s._uU(5,"UDS Client"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.TgZ(6,"div",3),s.YNc(7,I,7,7,"div",4),s.qZA(),s.TgZ(8,"div",5),s.TgZ(9,"ul"),s.TgZ(10,"li"),s.TgZ(11,"uds-translate"),s._uU(12,"Download UDS client for your platform"),s.qZA(),s.qZA(),s.TgZ(13,"li"),s.TgZ(14,"uds-translate"),s._uU(15,"Legacy clients are only provided for old operating system support. Try to avoid them."),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(7),s.Q6J("ngForOf",e.api.plugins))},directives:[A.P,P.sg],styles:[".plugins-container[_ngcontent-%COMP%]{margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3rem;text-align:center}.banner-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1rem}.plugins[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center}.plugin[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;padding:1rem;border-radius:1rem;box-shadow:0 1rem 2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 15%}.plugin.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;flex:1 0 19%;max-width:20%}.plugin.legacy[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:5rem}.plugin[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);background-color:rgba(0,0,0,.1)}.image[_ngcontent-%COMP%]{display:flex;justify-content:center}.platform[_ngcontent-%COMP%]{text-align:center;font-size:2rem}.description[_ngcontent-%COMP%]{display:flex;text-align:center;justify-content:center;margin-top:.5rem}"]}),t})();var D=n(6498);function M(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",6),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw().download(e.url)}),s.TgZ(1,"div",7),s._UZ(2,"img",8),s.qZA(),s._UZ(3,"div",9),s.ALo(4,"safeHtml"),s._UZ(5,"div",10),s.ALo(6,"safeHtml"),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw();s.Tol(n.css(t.name)),s.xp6(2),s.Q6J("src",n.img(t.name),s.LSH),s.xp6(1),s.Q6J("innerHTML",s.lcZ(4,5,t.name),s.oJD),s.xp6(2),s.Q6J("innerHTML",s.lcZ(6,7,t.description),s.oJD)}}let L=(()=>{class t{constructor(t){this.api=t}ngOnInit(){this.actors=[];const t=[];this.api.actors.forEach(e=>{e.name.includes("legacy")?t.push(e):this.actors.push(e)}),t.forEach(t=>{this.actors.push(t)})}download(t){window.location.href=t}img(t){const e=t.split(".").pop().toLowerCase();let n="Linux";return"exe"===e?n="Windows":"pkg"===e&&(n="MacOS"),this.api.staticURL("modern/img/"+n+".png")}css(t){const e=["actor"];return t.toLowerCase().includes("legacy")&&e.push("legacy"),e}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-downloads"]],decls:16,vars:1,consts:[[1,"actors-container"],[1,"banner"],[1,"banner-text"],[1,"actors"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"name",3,"innerHTML"],[1,"description",3,"innerHTML"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"div",2),s.TgZ(3,"h1"),s.TgZ(4,"uds-translate"),s._uU(5,"Downloads"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.TgZ(6,"div",3),s.YNc(7,M,7,9,"div",4),s.qZA(),s.TgZ(8,"div",5),s.TgZ(9,"ul"),s.TgZ(10,"li"),s.TgZ(11,"uds-translate"),s._uU(12,"Always download the UDS actor matching your platform"),s.qZA(),s.qZA(),s.TgZ(13,"li"),s.TgZ(14,"uds-translate"),s._uU(15,"Legacy actors are only provided for old operating system support. Try to avoid them."),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(7),s.Q6J("ngForOf",e.actors))},directives:[A.P,P.sg],pipes:[D.z],styles:[".actors-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2em;text-align:center}.actors[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-around;align-content:center;margin:auto}.actor[_ngcontent-%COMP%]{border:1px solid;margin-top:1rem;padding:1em;border-radius:1rem;box-shadow:0 1rem 2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 34%;margin-right:1em}.actor.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;max-width:50%}.actor[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);background-color:rgba(0,0,0,.1)}.image[_ngcontent-%COMP%]{display:block;float:left;padding-right:1rem;height:100%}.image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:4rem}.name[_ngcontent-%COMP%]{font-size:1.5em;margin-bottom:1em;font-weight:700;overflow:hidden}"]}),t})();var F=n(5319),N=n(8345);let B=0;const U=new s.OlP("CdkAccordion");let Z=(()=>{class t{constructor(){this._stateChanges=new o.xQ,this._openCloseAllActions=new o.xQ,this.id="cdk-accordion-"+B++,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=(0,r.Ig)(t)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[s._Bn([{provide:U,useExisting:t}]),s.TTD]}),t})(),j=0,q=(()=>{class t{constructor(t,e,n){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=n,this._openCloseAllSubscription=F.w.EMPTY,this.closed=new s.vpe,this.opened=new s.vpe,this.destroyed=new s.vpe,this.expandedChange=new s.vpe,this.id="cdk-accordion-child-"+j++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=n.listen((t,e)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===e&&this.id!==t&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(t){t=(0,r.Ig)(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(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(t){this._disabled=(0,r.Ig)(t)}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(t=>{this.disabled||(this.expanded=t)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(U,12),s.Y36(s.sBO),s.Y36(N.A8))},t.\u0275dir=s.lG2({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[s._Bn([{provide:U,useValue:void 0}])]}),t})(),V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();var H=n(7636),z=n(2458),Y=n(9238),G=n(7519),K=n(5435),$=n(6461),W=n(6237),Q=n(9193),J=n(6682),X=n(7238);const tt=["body"];function et(t,e){}const nt=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],it=["mat-expansion-panel-header","*","mat-action-row"];function st(t,e){if(1&t&&s._UZ(0,"span",2),2&t){const t=s.oxw();s.Q6J("@indicatorRotate",t._getExpandedState())}}const rt=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],ot=["mat-panel-title","mat-panel-description","*"],at=new s.OlP("MAT_ACCORDION"),lt={indicatorRotate:(0,X.X$)("indicatorRotate",[(0,X.SB)("collapsed, void",(0,X.oB)({transform:"rotate(0deg)"})),(0,X.SB)("expanded",(0,X.oB)({transform:"rotate(180deg)"})),(0,X.eR)("expanded <=> collapsed, void => collapsed",(0,X.jt)("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),bodyExpansion:(0,X.X$)("bodyExpansion",[(0,X.SB)("collapsed, void",(0,X.oB)({height:"0px",visibility:"hidden"})),(0,X.SB)("expanded",(0,X.oB)({height:"*",visibility:"visible"})),(0,X.eR)("expanded <=> collapsed, void => collapsed",(0,X.jt)("225ms cubic-bezier(0.4,0.0,0.2,1)"))])};let ct=(()=>{class t{constructor(t){this._template=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc))},t.\u0275dir=s.lG2({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t})(),ut=0;const ht=new s.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let dt=(()=>{class t extends q{constructor(t,e,n,i,r,a,l){super(t,e,n),this._viewContainerRef=i,this._animationMode=a,this._hideToggle=!1,this.afterExpand=new s.vpe,this.afterCollapse=new s.vpe,this._inputChanges=new o.xQ,this._headerId="mat-expansion-panel-header-"+ut++,this._bodyAnimationDone=new o.xQ,this.accordion=t,this._document=r,this._bodyAnimationDone.pipe((0,G.x)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{"void"!==t.fromState&&("expanded"===t.toState?this.afterExpand.emit():"collapsed"===t.toState&&this.afterCollapse.emit())}),l&&(this.hideToggle=l.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=(0,r.Ig)(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_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.opened.pipe((0,f.O)(null),(0,K.h)(()=>this.expanded&&!this._portal),(0,u.q)(1)).subscribe(()=>{this._portal=new H.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(at,12),s.Y36(s.sBO),s.Y36(N.A8),s.Y36(s.s_b),s.Y36(P.K0),s.Y36(W.Qb,8),s.Y36(ht,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(t,e,n){if(1&t&&s.Suo(n,ct,5),2&t){let t;s.iGM(t=s.CRH())&&(e._lazyContent=t.first)}},viewQuery:function(t,e){if(1&t&&s.Gf(tt,5),2&t){let t;s.iGM(t=s.CRH())&&(e._body=t.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,e){2&t&&s.ekj("mat-expanded",e.expanded)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-expansion-panel-spacing",e._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[s._Bn([{provide:at,useValue:void 0}]),s.qOj,s.TTD],ngContentSelectors:it,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(s.F$t(nt),s.Hsn(0),s.TgZ(1,"div",0,1),s.NdJ("@bodyExpansion.done",function(t){return e._bodyAnimationDone.next(t)}),s.TgZ(3,"div",2),s.Hsn(4,1),s.YNc(5,et,0,0,"ng-template",3),s.qZA(),s.Hsn(6,2),s.qZA()),2&t&&(s.xp6(1),s.Q6J("@bodyExpansion",e._getExpandedState())("id",e.id),s.uIk("aria-labelledby",e._headerId),s.xp6(4),s.Q6J("cdkPortalOutlet",e._portal))},directives:[H.Pl],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-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 button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[lt.bodyExpansion]},changeDetection:0}),t})();class pt{}const ft=(0,z.sb)(pt);let mt=(()=>{class t extends ft{constructor(t,e,n,i,s,r,o){super(),this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=i,this._animationMode=r,this._parentChangeSubscription=F.w.EMPTY;const a=t.accordion?t.accordion._stateChanges.pipe((0,K.h)(t=>!(!t.hideToggle&&!t.togglePosition))):Q.E;this.tabIndex=parseInt(o||"")||0,this._parentChangeSubscription=(0,J.T)(t.opened,t.closed,a,t._inputChanges.pipe((0,K.h)(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe((0,K.h)(()=>t._containsFocus())).subscribe(()=>n.focusVia(e,"program")),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.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 t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}_keydown(t){switch(t.keyCode){case $.L_:case $.K5:(0,$.Vb)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t,e){t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(t=>{t&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(dt,1),s.Y36(s.SBq),s.Y36(Y.tE),s.Y36(s.sBO),s.Y36(ht,8),s.Y36(W.Qb,8),s.$8M("tabindex"))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e._toggle()})("keydown",function(t){return e._keydown(t)}),2&t&&(s.uIk("id",e.panel._headerId)("tabindex",e.tabIndex)("aria-controls",e._getPanelId())("aria-expanded",e._isExpanded())("aria-disabled",e.panel.disabled),s.Udp("height",e._getHeaderHeight()),s.ekj("mat-expanded",e._isExpanded())("mat-expansion-toggle-indicator-after","after"===e._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===e._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[s.qOj],ngContentSelectors:ot,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(t,e){1&t&&(s.F$t(rt),s.TgZ(0,"span",0),s.Hsn(1),s.Hsn(2,1),s.Hsn(3,2),s.qZA(),s.YNc(4,st,1,1,"span",1)),2&t&&(s.xp6(4),s.Q6J("ngIf",e._showToggle()))},directives:[P.O5],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-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[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 .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}\n'],encapsulation:2,data:{animation:[lt.indicatorRotate]},changeDetection:0}),t})(),gt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),t})(),_t=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t})(),yt=(()=>{class t extends Z{constructor(){super(...arguments),this._ownHeaders=new s.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=(0,r.Ig)(t)}ngAfterContentInit(){this._headers.changes.pipe((0,f.O)(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Y.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(t){this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["mat-accordion"]],contentQueries:function(t,e,n){if(1&t&&s.Suo(n,mt,5),2&t){let t;s.iGM(t=s.CRH())&&(e._headers=t)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("mat-accordion-multi",e.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[s._Bn([{provide:at,useExisting:t}]),s.qOj]}),t})(),bt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[P.ez,z.BQ,V,H.eL]]}),t})();function vt(t,e){if(1&t&&(s.TgZ(0,"li"),s.TgZ(1,"uds-translate"),s._uU(2,"Detected proxy ip"),s.qZA(),s._uU(3),s.qZA()),2&t){const t=s.oxw(2);s.xp6(3),s.hij(": ",t.api.staffInfo.ip_proxy,"")}}function wt(t,e){if(1&t&&(s.TgZ(0,"li"),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t)}}function Ct(t,e){if(1&t&&(s.TgZ(0,"span"),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t)}}function xt(t,e){if(1&t&&(s.TgZ(0,"div",1),s.TgZ(1,"h1"),s.TgZ(2,"uds-translate"),s._uU(3,"Information"),s.qZA(),s.qZA(),s.TgZ(4,"mat-accordion"),s.TgZ(5,"mat-expansion-panel"),s.TgZ(6,"mat-expansion-panel-header",2),s.TgZ(7,"mat-panel-title"),s._uU(8," IPs "),s.qZA(),s.TgZ(9,"mat-panel-description"),s.TgZ(10,"uds-translate"),s._uU(11,"Client IP"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(12,"ol"),s.TgZ(13,"li"),s.TgZ(14,"uds-translate"),s._uU(15,"Client IP"),s.qZA(),s._uU(16),s.qZA(),s.YNc(17,vt,4,1,"li",3),s.qZA(),s.qZA(),s.TgZ(18,"mat-expansion-panel"),s.TgZ(19,"mat-expansion-panel-header",2),s.TgZ(20,"mat-panel-title"),s.TgZ(21,"uds-translate"),s._uU(22,"Transports"),s.qZA(),s.qZA(),s.TgZ(23,"mat-panel-description"),s.TgZ(24,"uds-translate"),s._uU(25,"UDS transports for this client"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(26,"ol"),s.YNc(27,wt,2,1,"li",4),s.qZA(),s.qZA(),s.TgZ(28,"mat-expansion-panel"),s.TgZ(29,"mat-expansion-panel-header",2),s.TgZ(30,"mat-panel-title"),s.TgZ(31,"uds-translate"),s._uU(32,"Networks"),s.qZA(),s.qZA(),s.TgZ(33,"mat-panel-description"),s.TgZ(34,"uds-translate"),s._uU(35,"UDS networks for this IP"),s.qZA(),s.qZA(),s.qZA(),s.YNc(36,Ct,2,1,"span",4),s._uU(37,"\xa0 "),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(16),s.hij(": ",t.api.staffInfo.ip,""),s.xp6(1),s.Q6J("ngIf",t.api.staffInfo.ip_proxy!==t.api.staffInfo.ip),s.xp6(10),s.Q6J("ngForOf",t.api.staffInfo.transports),s.xp6(9),s.Q6J("ngForOf",t.api.staffInfo.networks)}}let Et=(()=>{class t{constructor(t){this.api=t}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-staff-info"]],decls:1,vars:1,consts:[["class","staff-info",4,"ngIf"],[1,"staff-info"],[1,"staff-panel"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(t,e){1&t&&s.YNc(0,xt,38,4,"div",0),2&t&&s.Q6J("ngIf",e.api.staffInfo)},directives:[P.O5,A.P,yt,dt,mt,_t,gt,P.sg],styles:[".staff-info[_ngcontent-%COMP%]{margin-top:1rem;padding:1rem;background-color:#ebebeb}.staff-info[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{text-align:center}.staff-panel[_ngcontent-%COMP%]{background-color:#d4d4d4}"]}),t})();var St=n(2759),kt=n(3342),Ot=n(8295),Tt=n(9983);const At=["input"];let Pt=(()=>{class t{constructor(){this.updateEvent=new s.vpe}ngAfterViewInit(){(0,St.R)(this.input.nativeElement,"keyup").pipe((0,K.h)(Boolean),(0,d.b)(600),(0,G.x)(),(0,kt.b)(()=>this.update(this.input.nativeElement.value))).subscribe()}update(t){this.updateEvent.emit(t.toLowerCase())}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-filter"]],viewQuery:function(t,e){if(1&t&&s.Gf(At,7),2&t){let t;s.iGM(t=s.CRH())&&(e.input=t.first)}},outputs:{updateEvent:"updateEvent"},decls:9,vars:0,consts:[[1,"filter"],["floatLabel","auto",1,"nav-input-field"],["matInput","","type","text"],["input",""],["matSuffix","",1,"material-icons"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"mat-form-field",1),s.TgZ(2,"mat-label"),s.TgZ(3,"uds-translate"),s._uU(4,"Filter"),s.qZA(),s.qZA(),s._UZ(5,"input",2,3),s.TgZ(7,"i",4),s._uU(8,"search"),s.qZA(),s.qZA(),s.qZA())},directives:[Ot.KE,Ot.hX,A.P,Tt.Nt,Ot.R9],styles:[".filter[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;justify-content:flex-end;font-size:.8rem}"]}),t})();var It=n(5917),Rt=n(4581),Dt=n(3190),Mt=n(3637),Lt=n(7393),Ft=n(1593);function Nt(t,e=Mt.P){var n;const i=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return t=>t.lift(new Bt(i,e))}class Bt{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new Ut(t,this.delay,this.scheduler))}}class Ut extends Lt.L{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,i=t.scheduler,s=t.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(s);if(n.length>0){const e=Math.max(0,n[0].time-i.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(Ut.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new Zt(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(Ft.P.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(Ft.P.createComplete()),this.unsubscribe()}}class Zt{constructor(t,e){this.time=t,this.notification=e}}var jt=n(625),qt=n(9243),Vt=n(946);const Ht=["mat-menu-item",""],zt=["*"];function Yt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",0),s.NdJ("keydown",function(e){return s.CHM(t),s.oxw()._handleKeydown(e)})("click",function(){return s.CHM(t),s.oxw().closed.emit("click")})("@transformMenu.start",function(e){return s.CHM(t),s.oxw()._onAnimationStart(e)})("@transformMenu.done",function(e){return s.CHM(t),s.oxw()._onAnimationDone(e)}),s.TgZ(1,"div",1),s.Hsn(2),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),s.uIk("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const Gt={transformMenu:(0,X.X$)("transformMenu",[(0,X.SB)("void",(0,X.oB)({opacity:0,transform:"scale(0.8)"})),(0,X.eR)("void => enter",(0,X.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,X.oB)({opacity:1,transform:"scale(1)"}))),(0,X.eR)("* => void",(0,X.jt)("100ms 25ms linear",(0,X.oB)({opacity:0})))]),fadeInItems:(0,X.X$)("fadeInItems",[(0,X.SB)("showing",(0,X.oB)({opacity:1})),(0,X.eR)("void => *",[(0,X.oB)({opacity:0}),(0,X.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Kt=new s.OlP("MatMenuContent"),$t=new s.OlP("MAT_MENU_PANEL"),Wt=(0,z.Kr)((0,z.Id)(class{}));let Qt=(()=>{class t extends Wt{constructor(t,e,n,i){super(),this._elementRef=t,this._focusMonitor=n,this._parentMenu=i,this.role="menuitem",this._hovered=new o.xQ,this._focused=new o.xQ,this._highlighted=!1,this._triggersSubmenu=!1,i&&i.addItem&&i.addItem(this)}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),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(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var t,e;const n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons");for(let s=0;s{class t{constructor(t,e,n){this._elementRef=t,this._ngZone=e,this._defaultOptions=n,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new s.n_E,this._tabSubscription=F.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new o.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new s.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Xt++}get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=(0,r.Ig)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,r.Ig)(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Y.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,f.O)(this._directDescendantItems),(0,Dt.w)(t=>(0,J.T)(...t.map(t=>t._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,f.O)(this._directDescendantItems),(0,Dt.w)(t=>(0,J.T)(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,n=this._keyManager;switch(e){case $.hY:(0,$.Vb)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case $.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case $.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:e!==$.LH&&e!==$.JH||n.setFocusOrigin("keyboard"),n.onKeydown(t)}}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.pipe((0,u.q)(1)).subscribe(()=>this._focusFirstItem(t)):this._focusFirstItem(t)}_focusFirstItem(t){const e=this._keyManager;if(e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if("menu"===t.getAttribute("role")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e=Math.min(this._baseElevation+t,24),n=`${this._elevationPrefix}${e}`,i=Object.keys(this._classList).find(t=>t.startsWith(this._elevationPrefix));i&&i!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[n]=!0,this._previousElevation=n)}setPositionClasses(t=this.xPosition,e=this.yPosition){const n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,f.O)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(Jt))},t.\u0275dir=s.lG2({type:t,contentQueries:function(t,e,n){if(1&t&&(s.Suo(n,Kt,5),s.Suo(n,Qt,5),s.Suo(n,Qt,4)),2&t){let t;s.iGM(t=s.CRH())&&(e.lazyContent=t.first),s.iGM(t=s.CRH())&&(e._allItems=t),s.iGM(t=s.CRH())&&(e.items=t)}},viewQuery:function(t,e){if(1&t&&s.Gf(s.Rgc,5),2&t){let t;s.iGM(t=s.CRH())&&(e.templateRef=t.first)}},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),t})(),ee=(()=>{class t extends te{constructor(t,e,n){super(t,e,n),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(Jt))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,e){2&t&&s.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[s._Bn([{provide:$t,useExisting:t}]),s.qOj],ngContentSelectors:zt,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,e){1&t&&(s.F$t(),s.YNc(0,Yt,3,6,"ng-template"))},directives:[P.mk],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[Gt.transformMenu,Gt.fadeInItems]},changeDetection:0}),t})();const ne=new s.OlP("mat-menu-scroll-strategy"),ie={provide:ne,deps:[jt.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},se=(0,g.i$)({passive:!0});let re=(()=>{class t{constructor(t,e,n,i,r,o,a,l){this._overlay=t,this._element=e,this._viewContainerRef=n,this._menuItemInstance=o,this._dir=a,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=F.w.EMPTY,this._hoverSubscription=F.w.EMPTY,this._menuCloseSubscription=F.w.EMPTY,this._handleTouchStart=t=>{(0,Y.yG)(t)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new s.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new s.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=i,this._parentMaterialMenu=r instanceof te?r:void 0,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,se),o&&(o._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(t=>{this._destroyMenu(t),"click"!==t&&"tab"!==t||!this._parentMaterialMenu||this._parentMaterialMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,se),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)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof te&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}updatePosition(){var t;null===(t=this._overlayRef)||void 0===t||t.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;const e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),!this.restoreFocus||"keydown"!==t&&this._openedBy&&this.triggersSubmenu()||this.focus(this._openedBy),this._openedBy=void 0,e instanceof te?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe((0,K.h)(t=>"void"===t.toState),(0,u.q)(1),(0,m.R)(e.lazyContent._attached)).subscribe({next:()=>e.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new jt.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[e,n]="before"===this.menu.xPosition?["end","start"]:["start","end"],[i,s]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[r,o]=[i,s],[a,l]=[e,n],c=0;this.triggersSubmenu()?(l=e="before"===this.menu.xPosition?"start":"end",n=a="end"===e?"start":"end",c="bottom"===i?8:-8):this.menu.overlapTrigger||(r="top"===i?"bottom":"top",o="top"===s?"bottom":"top"),t.withPositions([{originX:e,originY:r,overlayX:a,overlayY:i,offsetY:c},{originX:n,originY:r,overlayX:l,overlayY:i,offsetY:c},{originX:e,originY:o,overlayX:a,overlayY:s,offsetY:-c},{originX:n,originY:o,overlayX:l,overlayY:s,offsetY:-c}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),n=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,It.of)(),i=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,K.h)(t=>t!==this._menuItemInstance),(0,K.h)(()=>this._menuOpen)):(0,It.of)();return(0,J.T)(t,n,i,e)}_handleMousedown(t){(0,Y.X6)(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;e!==$.K5&&e!==$.L_||(this._openedBy="keyboard"),this.triggersSubmenu()&&(e===$.SV&&"ltr"===this.dir||e===$.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,K.h)(t=>t===this._menuItemInstance&&!t.disabled),Nt(0,Rt.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof te&&this.menu._isAnimating?this.menu._animationDone.pipe((0,u.q)(1),Nt(0,Rt.E),(0,m.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new H.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(jt.aV),s.Y36(s.SBq),s.Y36(s.s_b),s.Y36(ne),s.Y36($t,8),s.Y36(Qt,10),s.Y36(Vt.Is,8),s.Y36(Y.tE))},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("mousedown",function(t){return e._handleMousedown(t)})("keydown",function(t){return e._handleKeydown(t)})("click",function(t){return e._handleClick(t)}),2&t&&s.uIk("aria-expanded",e.menuOpen||null)("aria-controls",e.menuOpen?e.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),t})(),oe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[ie],imports:[z.BQ]}),t})(),ae=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[ie],imports:[[P.ez,z.BQ,z.si,jt.U8,oe],qt.ZD,z.BQ,oe]}),t})();const le={tooltipState:(0,X.X$)("state",[(0,X.SB)("initial, void, hidden",(0,X.oB)({opacity:0,transform:"scale(0)"})),(0,X.SB)("visible",(0,X.oB)({transform:"scale(1)"})),(0,X.eR)("* => visible",(0,X.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,X.F4)([(0,X.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,X.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,X.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,X.eR)("* => hidden",(0,X.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,X.oB)({opacity:0})))])},ce=(0,g.i$)({passive:!0}),ue=new s.OlP("mat-tooltip-scroll-strategy"),he={provide:ue,deps:[jt.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},de=new s.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let pe=(()=>{class t{constructor(t,e,n,i,s,r,a,l,c,u,h,d){this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=s,this._platform=r,this._ariaDescriber=a,this._focusMonitor=l,this._dir=u,this._defaultOptions=h,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new o.xQ,this._handleKeydown=t=>{this._isTooltipVisible()&&t.keyCode===$.hY&&!(0,$.Vb)(t)&&(t.preventDefault(),t.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=c,this._document=d,h&&(h.position&&(this.position=h.position),h.touchGestures&&(this.touchGestures=h.touchGestures)),u.change.pipe((0,m.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),s.runOutsideAngular(()=>{e.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){var e;t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(e=this._tooltipInstance)||void 0===e||e.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,r.Ig)(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).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(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,m.R)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([e,n])=>{t.removeEventListener(e,n,ce)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new H.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,m.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return e.positionChanges.pipe((0,m.R)(this._destroyed)).subscribe(t=>{this._updateCurrentPositionClass(t.connectionPair),this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:`${this._cssClassPrefix}-tooltip-panel`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,m.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){const e=t.getConfig().positionStrategy,n=this._getOrigin(),i=this._getOverlayPosition();e.withPositions([this._addOffset(Object.assign(Object.assign({},n.main),i.main)),this._addOffset(Object.assign(Object.assign({},n.fallback),i.fallback))])}_addOffset(t){return t}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;"above"==e||"below"==e?n={originX:"center",originY:"above"==e?"top":"bottom"}:"before"==e||"left"==e&&t||"right"==e&&!t?n={originX:"start",originY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(n={originX:"end",originY:"center"});const{x:i,y:s}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:i,originY:s}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;"above"==e?n={overlayX:"center",overlayY:"bottom"}:"below"==e?n={overlayX:"center",overlayY:"top"}:"before"==e||"left"==e&&t||"right"==e&&!t?n={overlayX:"end",overlayY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(n={overlayX:"start",overlayY:"center"});const{x:i,y:s}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:i,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,u.q)(1),(0,m.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}_updateCurrentPositionClass(t){const{overlayY:e,originX:n,originY:i}=t;let s;if(s="center"===e?this._dir&&"rtl"===this._dir.value?"end"===n?"left":"right":"start"===n?"left":"right":"bottom"===e&&"top"===i?"above":"below",s!==this._currentPosition){const t=this._overlayRef;if(t){const e=`${this._cssClassPrefix}-tooltip-panel-`;t.removePanelClass(e+this._currentPosition),t.addPanelClass(e+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const e=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",e],["touchcancel",e])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([t,e])=>{this._elementRef.nativeElement.addEventListener(t,e,ce)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const e=this._document.elementFromPoint(t.clientX,t.clientY),n=this._elementRef.nativeElement;e===n||n.contains(e)||this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const e=this._elementRef.nativeElement,n=e.style;("on"===t||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),"on"!==t&&e.draggable||(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(jt.aV),s.Y36(s.SBq),s.Y36(qt.mF),s.Y36(s.s_b),s.Y36(s.R0b),s.Y36(g.t4),s.Y36(Y.$s),s.Y36(Y.tE),s.Y36(void 0),s.Y36(Vt.Is),s.Y36(void 0),s.Y36(P.K0))},t.\u0275dir=s.lG2({type:t,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),t})(),fe=(()=>{class t extends pe{constructor(t,e,n,i,s,r,o,a,l,c,u,h){super(t,e,n,i,s,r,o,a,l,c,u,h),this._tooltipComponent=ge}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(jt.aV),s.Y36(s.SBq),s.Y36(qt.mF),s.Y36(s.s_b),s.Y36(s.R0b),s.Y36(g.t4),s.Y36(Y.$s),s.Y36(Y.tE),s.Y36(ue),s.Y36(Vt.Is,8),s.Y36(de,8),s.Y36(P.K0))},t.\u0275dir=s.lG2({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[s.qOj]}),t})(),me=(()=>{class t{constructor(t){this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new o.xQ}show(t){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},t)}hide(t){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},t)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO))},t.\u0275dir=s.lG2({type:t}),t})(),ge=(()=>{class t extends me{constructor(t,e){super(t),this._breakpointObserver=e,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO),s.Y36(C))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e._handleBodyInteraction()},!1,s.pYS)("auxclick",function(){return e._handleBodyInteraction()},!1,s.pYS),2&t&&s.Udp("zoom","visible"===e._visibility?1:null)},features:[s.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){if(1&t&&(s.TgZ(0,"div",0),s.NdJ("@state.start",function(){return e._animationStart()})("@state.done",function(t){return e._animationDone(t)}),s.ALo(1,"async"),s._uU(2),s.qZA()),2&t){let t;s.ekj("mat-tooltip-handset",null==(t=s.lcZ(1,5,e._isHandset))?null:t.matches),s.Q6J("ngClass",e.tooltipClass)("@state",e._visibility),s.xp6(2),s.Oqu(e.message)}},directives:[P.mk],pipes:[P.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[le.tooltipState]},changeDetection:0}),t})(),_e=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[he],imports:[[Y.rt,P.ez,jt.U8,z.BQ],z.BQ,qt.ZD]}),t})();var ye=n(1095);function be(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",14),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw(2).launch(e)}),s.TgZ(1,"div",15),s._UZ(2,"img",9),s._uU(3),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw(2);s.xp6(2),s.Q6J("src",n.getTransportIcon(t.id),s.LSH),s.xp6(1),s.hij(" ",t.name," ")}}function ve(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",14),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).action("release")}),s.TgZ(1,"i",16),s._uU(2,"delete"),s.qZA(),s.TgZ(3,"uds-translate"),s._uU(4," Release service"),s.qZA(),s.qZA()}}function we(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",14),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).action("reset")}),s.TgZ(1,"i",16),s._uU(2,"refresh"),s.qZA(),s.TgZ(3,"uds-translate"),s._uU(4," Reset service"),s.qZA(),s.qZA()}}function Ce(t,e){if(1&t&&(s.TgZ(0,"button",17),s.TgZ(1,"uds-translate"),s._uU(2,"Connections"),s.qZA(),s.qZA()),2&t){s.oxw();const t=s.MAs(2);s.Q6J("matMenuTriggerFor",t)}}function xe(t,e){if(1&t&&(s.TgZ(0,"button",17),s.TgZ(1,"uds-translate"),s._uU(2,"Actions"),s.qZA(),s.qZA()),2&t){s.oxw();const t=s.MAs(5);s.Q6J("matMenuTriggerFor",t)}}function Ee(t,e){if(1&t&&(s.TgZ(0,"button",18),s.TgZ(1,"i",16),s._uU(2,"menu"),s.qZA(),s.qZA()),2&t){s.oxw();const t=s.MAs(9);s.Q6J("matMenuTriggerFor",t)}}function Se(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"mat-menu",null,1),s.YNc(3,be,4,2,"button",2),s.qZA(),s.TgZ(4,"mat-menu",null,3),s.YNc(6,ve,5,0,"button",4),s.YNc(7,we,5,0,"button",4),s.qZA(),s.TgZ(8,"mat-menu",null,5),s.YNc(10,Ce,3,1,"button",6),s.YNc(11,xe,3,1,"button",6),s.qZA(),s.TgZ(12,"div",7),s.TgZ(13,"div",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().launch(null)}),s._UZ(14,"img",9),s.qZA(),s.TgZ(15,"div",10),s.TgZ(16,"span",11),s._uU(17),s.qZA(),s.qZA(),s.TgZ(18,"div",12),s.YNc(19,Ee,3,1,"button",13),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(3),s.Q6J("ngForOf",t.service.transports),s.xp6(3),s.Q6J("ngIf",t.service.allow_users_remove),s.xp6(1),s.Q6J("ngIf",t.service.allow_users_reset),s.xp6(3),s.Q6J("ngIf",t.showTransportsMenu()),s.xp6(1),s.Q6J("ngIf",t.hasActions()),s.xp6(1),s.Q6J("ngClass",t.serviceClass)("matTooltipDisabled",""===t.serviceTooltip)("matTooltip",t.serviceTooltip),s.xp6(2),s.Q6J("src",t.serviceImage,s.LSH),s.xp6(2),s.Q6J("ngClass",t.serviceNameClass),s.xp6(1),s.Oqu(t.serviceName),s.xp6(2),s.Q6J("ngIf",t.hasMenu())}}let ke=(()=>{class t{constructor(t){this.api=t}ngOnInit(){}get serviceImage(){return this.api.galleryImageURL(this.service.imageId)}get serviceName(){let t=this.service.visual_name;return t.length>32&&(t=t.substring(0,29)+"..."),t}get serviceTooltip(){return null!==this.service.to_be_replaced?this.service.to_be_replaced_text:this.service.maintenance?django.gettext("Service is in maintenance"):this.service.not_accesible?this.service.custom_calendar_text:this.serviceName!==this.service.name?this.service.name:""}get serviceClass(){const t=["service"];return null!=this.service.to_be_replaced?t.push("tobereplaced"):this.service.maintenance?t.push("maintenance"):this.service.not_accesible?t.push("forbidden"):this.service.in_use&&t.push("inuse"),t.length>1&&t.push("alert"),t}get serviceNameClass(){const t=[],e=Math.min(4*Math.floor((this.service.visual_name.length-1)/4),28);return e>=16&&t.push("small-"+e.toString()),t}getTransportIcon(t){return this.api.transportIconURL(t)}hasActions(){return this.service.allow_users_remove||this.service.allow_users_reset}showTransportsMenu(){return this.service.transports.length>1&&this.service.show_transports}hasMenu(){return!1===this.service.maintenance&&!1===this.service.not_accesible&&(this.hasActions()||this.showTransportsMenu())}notifyNotLaunching(t){this.api.gui.alert('

'+django.gettext("Launcher")+"

",t)}launch(t){if(this.service.maintenance)this.notifyNotLaunching(django.gettext("Service is in maintenance and cannot be launched"));else if(this.service.not_accesible){const t=this.service.custom_calendar_text||this.api.config.messages.calendarDenied;this.notifyNotLaunching('

'+django.gettext("This service is currently not accesible due to schedule restrictions.")+'

'+t+'

')}else null!==t&&!1!==this.service.show_transports||(t=this.service.transports[0]),this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(t.link)}action(t){const e=("release"===t?django.gettext("Release service: "):django.gettext("Reset service: "))+" "+this.serviceName,n="release"===t?django.gettext("Service released"):django.gettext("Service reseted");this.api.gui.yesno(e,django.gettext("Are you sure?")).subscribe(i=>{i&&this.api.action(t,this.service.id).subscribe(t=>{t&&this.api.gui.alert(e,n)})})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-service"]],inputs:{service:"service"},decls:1,vars:1,consts:[[4,"ngIf"],["transports",""],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["actions",""],["mat-menu-item","",3,"click",4,"ngIf"],["menu",""],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["matTooltipShowDelay","1000","matTooltipPosition","above",3,"ngClass","matTooltipDisabled","matTooltip"],[1,"icon",3,"click"],[3,"src"],[1,"name"],[3,"ngClass"],[1,"menu"],["mat-icon-button","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"transport-item"],[1,"material-icons"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-icon-button","",3,"matMenuTriggerFor"]],template:function(t,e){1&t&&s.YNc(0,Se,20,12,"div",0),2&t&&s.Q6J("ngIf",e.service.transports.length>0)},directives:[P.O5,ee,P.sg,P.mk,fe,Qt,A.P,re,ye.lW],styles:['.service[_ngcontent-%COMP%]{width:10rem;margin:0 1rem 2rem 0;padding:.5rem 0 1rem;box-shadow:0 12px 18px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-color:rgb(0,0,0,.22);display:flex;flex:1;align-items:center;justify-content:flex-start;flex-flow:column wrap;position:relative}.service[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.icon[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:center;transition:all .3s cubic-bezier(.25,.8,.25,1);width:6rem;height:6rem;margin:.5rem}.service[_ngcontent-%COMP%]:not(.forbidden):not(.maintenance):hover .icon[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.25,.8,.25,1);width:7rem;height:7rem;margin:0}.icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden}.forbidden[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .maintenance[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.5;z-index:10}.tobereplaced[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.7;z-index:10}.name[_ngcontent-%COMP%]{margin-top:.5em;width:calc(100% - 1em);display:flex;flex:1 0 auto;flex-flow:row;align-items:center;justify-content:center;padding:0 .5em;overflow:hidden;height:2.4em;text-align:center}.name[_ngcontent-%COMP%], .small-16[_ngcontent-%COMP%]{font-size:1.05rem}.small-20[_ngcontent-%COMP%]{font-size:1rem}.small-24[_ngcontent-%COMP%]{font-size:.95rem}.small-28[_ngcontent-%COMP%]{font-size:.9rem}.menu[_ngcontent-%COMP%]{position:absolute;top:2px;right:2px}.menu[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{cursor:pointer;border-radius:1px;background-color:hsla(0,0%,100%,.8)}.menu[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1)}.transport-item[_ngcontent-%COMP%]{display:flex;align-items:center}.transport-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2em;margin-right:.4em}.alert[_ngcontent-%COMP%]:before{position:absolute;top:1rem;left:1rem;font-size:8rem;font-weight:500;font-family:Material Icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:"liga";text-shadow:0 6px 8px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);z-index:1}.forbidden[_ngcontent-%COMP%]:before{color:#fc0000;content:"update"}.maintenance[_ngcontent-%COMP%]:before{color:#fcb900;content:"build"}.tobereplaced[_ngcontent-%COMP%]:before{color:#fc0000;content:"delete_forever"}']}),t})();function Oe(t,e){1&t&&s._UZ(0,"uds-service",8),2&t&&s.Q6J("service",e.$implicit)}function Te(t,e){if(1&t&&(s.TgZ(0,"mat-expansion-panel",1),s.TgZ(1,"mat-expansion-panel-header",2),s.TgZ(2,"mat-panel-title"),s.TgZ(3,"div",3),s._UZ(4,"img",4),s._uU(5),s.qZA(),s.qZA(),s.TgZ(6,"mat-panel-description",5),s._uU(7),s.qZA(),s.qZA(),s.TgZ(8,"div",6),s.YNc(9,Oe,1,1,"uds-service",7),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.Q6J("expanded",t.expanded),s.xp6(1),s.Q6J("collapsedHeight","3rem")("expandedHeight","5rem"),s.xp6(3),s.Q6J("src",t.groupImage,s.LSH),s.xp6(1),s.hij(" ",t.group.name,""),s.xp6(2),s.hij(" ",t.group.comments," "),s.xp6(2),s.Q6J("ngForOf",t.sortedServices)}}let Ae=(()=>{class t{constructor(t){this.api=t,this.expanded=!1}ngOnInit(){}get groupImage(){return this.api.galleryImageURL(this.group.imageUuid)}get hasVisibleServices(){return this.services.length>0}get sortedServices(){return this.services.sort((t,e)=>t.name>e.name?1:t.name{class t{constructor(t){this.api=t,this.servicesInformation={autorun:!1,ip:"",nets:"",services:[],transports:""}}update(t){this.updateServices(t)}ngOnInit(){this.api.config.urls.launch?this.api.logout():this.loadServices()}autorun(){if(this.servicesInformation.autorun&&1===this.servicesInformation.services.length){if(!this.servicesInformation.services[0].maintenance)return this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(this.servicesInformation.services[0].transports[0].link),!0;this.api.gui.alert(django.gettext("Warning"),django.gettext("Service is in maintenance and cannot be executed"))}return!1}loadServices(){this.api.user.isRestricted&&this.api.logout(),this.api.getServicesInformation().subscribe(t=>{this.servicesInformation=t,this.autorun(),this.updateServices()})}updateServices(t=""){this.group=[];let e=null;this.servicesInformation.services.filter(e=>!t||e.visual_name.toLowerCase().includes(t)||e.group.name.toLowerCase().includes(t)).sort((t,e)=>t.group.priority!==e.group.priority?t.group.priority-e.group.priority:t.group.id>e.group.id?1:t.group.id{null!==e&&t.group.id===e.group.id||(null!==e&&this.group.push(e),e=new De(t.group)),e.services.push(t)}),null!==e&&this.group.push(e)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-services-page"]],decls:6,vars:3,consts:[[3,"updateEvent",4,"ngIf"],[1,"services-groups"],[3,"services","group","expanded",4,"ngFor","ngForOf"],[3,"updateEvent"],[3,"services","group","expanded"]],template:function(t,e){1&t&&(s.YNc(0,Pe,1,0,"uds-filter",0),s.TgZ(1,"div",1),s.TgZ(2,"mat-accordion"),s.YNc(3,Ie,1,3,"uds-services-group",2),s.qZA(),s.qZA(),s.YNc(4,Re,1,0,"uds-filter",0),s._UZ(5,"uds-staff-info")),2&t&&(s.Q6J("ngIf",e.servicesInformation.services.length>=e.api.config.min_for_filter&&e.api.config.site_filter_on_top),s.xp6(3),s.Q6J("ngForOf",e.group),s.xp6(1),s.Q6J("ngIf",e.servicesInformation.services.length>=e.api.config.min_for_filter&&!e.api.config.site_filter_on_top))},directives:[P.O5,yt,P.sg,Et,Pt,Ae],styles:[".services-groups[_ngcontent-%COMP%]{padding-top:1rem}"]}),t})(),canActivate:[O]},{path:"login",component:T.G},{path:"login/:id",component:T.G},{path:"client-download",component:R},{path:"downloads",component:L,canActivate:[O]},{path:"error/:id",component:(()=>{class t{constructor(t){this.route=t,this.error=""}ngOnInit(){this.getError()}getError(){const t=this.route.snapshot.paramMap.get("id");try{this.error=(new TextDecoder).decode(Uint8Array.from(window.atob(t),t=>t.charCodeAt(t))).replace("\n","
"),console.log(this.error),udsData.error=this.error}catch(e){console.log(e),this.error=django.gettext("Invalid error string")}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(S.gz))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-error"]],decls:14,vars:3,consts:[[1,"error-container"],[1,"graph"],["viewBox","0 0 55 41","xmlns","http://www.w3.org/2000/svg",1,"bird"],["d","M35.5 5L54.7.6H32.3L35.5 5zM12.4 40.8l10.3-10.1-6.2-6.7-4.1 16.8zM33.8 5.3L30.5.8l-5.4 4 8.7.5zM20.8 4.6L8.8 0l1.9 4.1 10.1.5zM0 5l15.2 15.4 7.5-14.2L0 5zM34.2 6.8l-9.9-.5-8 15.2 7.4 8.1 8-7.9 2.5-14.9z"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 32 32",1,"gears"],["d","M29.18 19.07c-1.678-2.908-.668-6.634 2.256-8.328L28.29 5.295c-.897.527-1.942.83-3.057.83-3.36 0-6.085-2.743-6.085-6.126h-6.29c.01 1.043-.25 2.102-.81 3.07-1.68 2.907-5.41 3.896-8.34 2.21L.566 10.727c.905.515 1.69 1.268 2.246 2.234 1.677 2.904.673 6.624-2.24 8.32l3.145 5.447c.895-.522 1.935-.82 3.044-.82 3.35 0 6.066 2.725 6.083 6.092h6.29c-.004-1.035.258-2.08.81-3.04 1.676-2.902 5.4-3.893 8.325-2.218l3.145-5.447c-.9-.515-1.678-1.266-2.232-2.226zM16 22.48c-3.578 0-6.48-2.902-6.48-6.48S12.423 9.52 16 9.52c3.578 0 6.48 2.902 6.48 6.48s-2.902 6.48-6.48 6.48z"],[1,"title"],[1,"description",3,"innerHTML"],["mat-raised-button","","color","warn","routerLink","/"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.O4$(),s.TgZ(2,"svg",2),s._UZ(3,"path",3),s.qZA(),s.TgZ(4,"svg",4),s._UZ(5,"path",5),s.qZA(),s.qZA(),s.kcU(),s.TgZ(6,"h1",6),s.TgZ(7,"uds-translate"),s._uU(8,"An error has occurred"),s.qZA(),s.qZA(),s._UZ(9,"p",7),s.ALo(10,"safeHtml"),s.TgZ(11,"a",8),s.TgZ(12,"uds-translate"),s._uU(13,"Return"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(9),s.Q6J("innerHTML",s.lcZ(10,1,e.error),s.oJD))},directives:[A.P,ye.zs,S.yS],pipes:[D.z],styles:[".error-container[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;position:relative}.title[_ngcontent-%COMP%]{display:block;font-size:2rem;font-weight:lighter;text-align:center}.description[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:lighter}.graph[_ngcontent-%COMP%]{position:relative}.gears[_ngcontent-%COMP%]{width:10rem;height:10rem;fill:#6aafe6;transition:easeInOutQuint();-webkit-animation:CogAnimation 5s infinite;animation:CogAnimation 5s infinite}.bird[_ngcontent-%COMP%]{position:absolute;width:3rem;height:3rem;fill:#30a9de;left:50%;top:50%;transform:translate(-50%,-50%)}@-webkit-keyframes CogAnimation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes CogAnimation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}"]}),t})()},{path:"about",component:(()=>{class t{constructor(t){this.api=t}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-about"]],decls:45,vars:2,consts:[[1,"about"],["href","http://www.udsenterprise.com","target","_blank"],["href","https://github.com/dkmstr/openuds","target","_blank"],[1,"components"],["href","https://www.python.org/"],["href","https://www.typescriptlang.org/","target","_blank"],["href","https://www.djangoproject.com/","target","_blank"],["href","https://angular.io","target","_blank"],["href","https://guac-dev.org/","target","_blank"],["href","https://weasyprint.org/","target","_blank"],["href","https://kde-look.org/content/show.php/Crystal+Project?content=60475)","target","_blank"],["href","https://github.com/NitruxSA/flattr-icons","target","_blank"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1"),s._uU(2),s.qZA(),s.TgZ(3,"h3"),s.TgZ(4,"a",1),s._uU(5," \xa9 2012-2020 Virtual Cable S.L.U."),s.qZA(),s.qZA(),s.TgZ(6,"h4"),s.TgZ(7,"uds-translate"),s._uU(8,"You can access UDS Open Source code at"),s.qZA(),s.TgZ(9,"a",2),s._uU(10," OpenUDS github repository"),s.qZA(),s.qZA(),s.TgZ(11,"div",3),s.TgZ(12,"h2"),s.TgZ(13,"uds-translate"),s._uU(14,"UDS has been developed using these components:"),s.qZA(),s.qZA(),s.TgZ(15,"ul"),s.TgZ(16,"li"),s.TgZ(17,"a",4),s._uU(18,"Python"),s.qZA(),s.qZA(),s.TgZ(19,"li"),s.TgZ(20,"a",5),s._uU(21,"TypeScript"),s.qZA(),s.qZA(),s.TgZ(22,"li"),s.TgZ(23,"a",6),s._uU(24,"Django"),s.qZA(),s.qZA(),s.TgZ(25,"li"),s.TgZ(26,"a",7),s._uU(27,"Angular"),s.qZA(),s.qZA(),s.TgZ(28,"li"),s.TgZ(29,"a",8),s._uU(30,"Guacamole"),s.qZA(),s.qZA(),s.TgZ(31,"li"),s.TgZ(32,"a",9),s._uU(33,"weasyprint"),s.qZA(),s.qZA(),s.TgZ(34,"li"),s.TgZ(35,"a",10),s._uU(36,"Crystal project icons"),s.qZA(),s.qZA(),s.TgZ(37,"li"),s.TgZ(38,"a",11),s._uU(39,"Flattr Icons"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(40,"p"),s.TgZ(41,"small"),s._uU(42,"* "),s.TgZ(43,"uds-translate"),s._uU(44,"If you find that we missed any component, please let us know"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.AsE("Universal Desktop Services ",e.api.config.version," build ",e.api.config.version_stamp,""))},directives:[A.P],styles:["[_nghost-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center}.about[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center}.about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-size:1em;font-weight:400}.about[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{padding:0;list-style:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none;color:#000;background-color:#fff;line-height:30px;border-bottom:1px solid #ccc;padding-left:10px;cursor:pointer}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#3e6b2d}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px}"]}),t})()},{path:"ticket/launcher",component:(()=>{class t{constructor(t){this.api=t}ngOnInit(){""!==this.api.config.urls.launch&&this.api.launchURL(this.api.config.urls.launch)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-launcher"]],decls:24,vars:0,consts:[[1,"launcher"],[1,"launcher-box"],["routerLink","/client-download"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"h1"),s.TgZ(3,"uds-translate"),s._uU(4,"UDS Service launcher"),s.qZA(),s.qZA(),s.TgZ(5,"h4"),s.TgZ(6,"uds-translate"),s._uU(7,"The service you have requested is being launched."),s.qZA(),s.qZA(),s.TgZ(8,"h5"),s.TgZ(9,"uds-translate"),s._uU(10,"Please, note that reloading this page will not work."),s.qZA(),s.qZA(),s.TgZ(11,"h5"),s.TgZ(12,"uds-translate"),s._uU(13,"To relaunch service, you will have to do it from origin."),s.qZA(),s.qZA(),s.TgZ(14,"h6"),s.TgZ(15,"uds-translate"),s._uU(16,"If the service does not launchs automatically, probably you dont have the UDS Client installed"),s.qZA(),s.qZA(),s.TgZ(17,"h6"),s.TgZ(18,"uds-translate"),s._uU(19,"You can obtain it from the"),s.qZA(),s._uU(20,"\xa0"),s.TgZ(21,"a",2),s.TgZ(22,"uds-translate"),s._uU(23,"UDS Client download page"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA())},directives:[A.P,S.yS],styles:[".launcher[_ngcontent-%COMP%]{justify-content:center;display:flex;margin-top:1rem;font-size:larger}.launcher-box[_ngcontent-%COMP%]{box-shadow:0 12px 18px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-radius:.5rem;border-color:rgb(0,0,0,.22);padding:1rem}.launcher-box[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{text-align:center}.launcher-box[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{margin-top:.6rem;margin-bottom:.6rem;font-weight:400}"]}),t})()},{path:"**",redirectTo:"services"}];let Le=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[S.Bz.forRoot(Me,{relativeLinkResolution:"legacy"})],S.Bz]}),t})();var Fe=n(665),Ne=n(8553);let Be=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),Ue=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[z.si,z.BQ,Ne.Q8,Be],z.BQ,Be]}),t})();var Ze=n(2238),je=n(7441);const qe=["*",[["mat-toolbar-row"]]],Ve=["*","mat-toolbar-row"],He=(0,z.pj)(class{constructor(t){this._elementRef=t}});let ze=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t})(),Ye=(()=>{class t extends He{constructor(t,e,n){super(t),this._platform=e,this._document=n}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(g.t4),s.Y36(P.K0))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-toolbar"]],contentQueries:function(t,e,n){if(1&t&&s.Suo(n,ze,5),2&t){let t;s.iGM(t=s.CRH())&&(e._toolbarRows=t)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(t,e){2&t&&s.ekj("mat-toolbar-multiple-rows",e._toolbarRows.length>0)("mat-toolbar-single-row",0===e._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[s.qOj],ngContentSelectors:Ve,decls:2,vars:0,template:function(t,e){1&t&&(s.F$t(qe),s.Hsn(0),s.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),t})(),Ge=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[z.BQ],z.BQ]}),t})(),Ke=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[{provide:Ot.o2,useValue:{floatLabel:"always"}}],imports:[Fe.u5,Ge,ye.ot,ae,_e,bt,Ze.Is,Ot.lN,Tt.c,je.LD,Ue]}),t})();function $e(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",9),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw(2).changeLang(e)}),s._uU(1),s.qZA()}if(2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.name)}}function We(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).admin()}),s.TgZ(1,"i",23),s._uU(2,"dashboard"),s.qZA(),s.TgZ(3,"uds-translate"),s._uU(4,"Dashboard"),s.qZA(),s.qZA()}}function Qe(t,e){1&t&&(s.TgZ(0,"button",28),s.TgZ(1,"i",23),s._uU(2,"file_download"),s.qZA(),s.TgZ(3,"uds-translate"),s._uU(4,"Downloads"),s.qZA(),s.qZA())}function Je(t,e){if(1&t&&(s.TgZ(0,"button",14),s._uU(1),s.qZA()),2&t){s.oxw();const t=s.MAs(8),e=s.oxw();s.Q6J("matMenuTriggerFor",t),s.xp6(1),s.Oqu(e.api.user.user)}}function Xe(t,e){if(1&t&&(s.TgZ(0,"button",25),s._uU(1),s.TgZ(2,"i",23),s._uU(3,"arrow_drop_down"),s.qZA(),s.qZA()),2&t){s.oxw();const t=s.MAs(8),e=s.oxw();s.Q6J("matMenuTriggerFor",t),s.xp6(1),s.hij("",e.api.user.user," ")}}function tn(t,e){if(1&t){const t=s.EpF();s.ynx(0),s.TgZ(1,"form",1),s._UZ(2,"input",2),s._UZ(3,"input",3),s.qZA(),s.TgZ(4,"mat-menu",null,4),s.YNc(6,$e,2,1,"button",5),s.qZA(),s.TgZ(7,"mat-menu",null,6),s.YNc(9,We,5,0,"button",7),s.YNc(10,Qe,5,0,"button",8),s.TgZ(11,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().logout()}),s.TgZ(12,"i",10),s._uU(13,"exit_to_app"),s.qZA(),s.TgZ(14,"uds-translate"),s._uU(15,"Logout"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(16,"mat-menu",11,12),s.YNc(18,Je,2,2,"button",13),s.TgZ(19,"button",14),s._uU(20),s.qZA(),s.TgZ(21,"button",15),s.TgZ(22,"uds-translate"),s._uU(23,"UDS Client"),s.qZA(),s.qZA(),s.TgZ(24,"button",16),s.TgZ(25,"uds-translate"),s._uU(26,"About"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(27,"mat-toolbar",17),s.TgZ(28,"button",18),s._UZ(29,"img",19),s._uU(30),s.qZA(),s._UZ(31,"span",20),s.TgZ(32,"div",21),s.TgZ(33,"button",22),s.TgZ(34,"i",23),s._uU(35,"file_download"),s.qZA(),s.TgZ(36,"uds-translate"),s._uU(37,"UDS Client"),s.qZA(),s.qZA(),s.TgZ(38,"button",24),s.TgZ(39,"i",23),s._uU(40,"info"),s.qZA(),s.TgZ(41,"uds-translate"),s._uU(42,"About"),s.qZA(),s.qZA(),s.TgZ(43,"button",25),s._uU(44),s.TgZ(45,"i",23),s._uU(46,"arrow_drop_down"),s.qZA(),s.qZA(),s.YNc(47,Xe,4,2,"button",26),s.qZA(),s.TgZ(48,"div",27),s.TgZ(49,"button",25),s.TgZ(50,"i",23),s._uU(51,"menu"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.BQk()}if(2&t){const t=s.MAs(5),e=s.MAs(17),n=s.oxw();s.xp6(1),s.s9C("action",n.api.config.urls.changeLang,s.LSH),s.xp6(1),s.s9C("name",n.api.config.csrf_field),s.s9C("value",n.api.config.csrf),s.xp6(1),s.s9C("value",n.lang.id),s.xp6(3),s.Q6J("ngForOf",n.langs),s.xp6(3),s.Q6J("ngIf",n.api.user.isStaff),s.xp6(1),s.Q6J("ngIf",n.api.user.isStaff),s.xp6(8),s.Q6J("ngIf",n.api.user.isLogged),s.xp6(1),s.Q6J("matMenuTriggerFor",t),s.xp6(1),s.hij("",n.lang.name," "),s.xp6(9),s.Q6J("src",n.api.staticURL("modern/img/udsicon.png"),s.LSH),s.xp6(1),s.hij(" ",n.api.config.site_logo_name," "),s.xp6(13),s.Q6J("matMenuTriggerFor",t),s.xp6(1),s.hij("",n.lang.name," "),s.xp6(3),s.Q6J("ngIf",n.api.user.isLogged),s.xp6(2),s.Q6J("matMenuTriggerFor",e)}}let en=(()=>{class t{constructor(t){this.api=t,this.style="";const e=t.config.language;this.langs=[];for(const n of t.config.available_languages)n.id===e?this.lang=n:this.langs.push(n)}ngOnInit(){}changeLang(t){return this.lang=t,document.getElementById("id_language").attributes.value.value=t.id,document.getElementById("form_language").submit(),!1}admin(){this.api.gotoAdmin()}logout(){this.api.logout()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-navbar"]],decls:1,vars:1,consts:[[4,"ngIf"],["id","form_language","method","post",3,"action"],["type","hidden",3,"name","value"],["id","id_language","type","hidden","name","language",3,"value"],["appMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["userMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","","routerLink","/downloads",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"material-icons","highlight"],["x-position","before"],["shrink","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","","routerLink","/client-download"],["mat-menu-item","","routerLink","/about"],["color","primary",1,"uds-nav"],["mat-button","","routerLink","/"],["alt","Universal Desktop Services",1,"udsicon",3,"src"],[1,"fill-remaining-space"],[1,"expanded"],["mat-button","","routerLink","/client-download"],[1,"material-icons"],["mat-button","","routerLink","/about"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[1,"shrinked"],["mat-menu-item","","routerLink","/downloads"]],template:function(t,e){1&t&&s.YNc(0,tn,52,16,"ng-container",0),2&t&&s.Q6J("ngIf",""==e.api.config.urls.launch)},directives:[P.O5,Fe._Y,Fe.JL,Fe.F,ee,P.sg,Qt,A.P,re,S.rH,Ye,ye.lW],styles:[".uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.udsicon[_ngcontent-%COMP%]{width:2rem}@media only screen and (max-width:744px){.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width:745px){.expanded[_ngcontent-%COMP%]{visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}}"]}),t})(),nn=(()=>{class t{constructor(t){this.api=t}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-footer"]],decls:3,vars:2,consts:[[3,"href"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"a",0),s._uU(2),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Q6J("href",e.api.config.site_copyright_link,s.LSH),s.xp6(1),s.Oqu(e.api.config.site_copyright_info))},styles:[""]}),t})(),sn=(()=>{class t{constructor(){this.title="uds"}ngOnInit(){cookieconsent.initialise({palette:{popup:{background:"#343c66",text:"#cfcfe8"},button:{background:"#f71559"}},content:{message:django.gettext("We use cookies to track usage and preferences"),dismiss:django.gettext("I Understand"),link:django.gettext("Learn more")}})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-root"]],decls:6,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(t,e){1&t&&(s._UZ(0,"uds-navbar"),s.TgZ(1,"div",0),s.TgZ(2,"div",1),s._UZ(3,"router-outlet"),s.qZA(),s.TgZ(4,"div",2),s._UZ(5,"uds-footer"),s.qZA(),s.qZA())},directives:[en,S.lC,nn],styles:[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:80%;margin:64px auto 0}@media only screen and (max-width:744px){.content[_ngcontent-%COMP%]{width:100%}}"]}),t})();var rn=n(3183);let on=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t,bootstrap:[sn]}),t.\u0275inj=s.cJS({providers:[k.n,rn.h],imports:[[i.b2,_,E.JF,Le,W.PW,Ke]]}),t})();n(2340).N.production&&(0,s.G48)(),i.q6().bootstrapModule(on).catch(t=>console.log(t))}},function(t){"use strict";t(t.s=1479)}]); \ No newline at end of file diff --git a/server/src/uds/static/modern/main-es5.js b/server/src/uds/static/modern/main-es5.js index 77e940f1c..2425ed294 100644 --- a/server/src/uds/static/modern/main-es5.js +++ b/server/src/uds/static/modern/main-es5.js @@ -1 +1 @@ -(function(){function _wrapNativeSuper(e){var t="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function(e){if(null===e||!_isNativeFunction(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return _construct(e,arguments,_getPrototypeOf(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(n,e)})(e)}function _construct(e,t,n){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function(e,t,n){var i=[null];i.push.apply(i,t);var r=new(Function.bind.apply(e,i));return n&&_setPrototypeOf(r,n.prototype),r}).apply(null,arguments)}function _isNativeFunction(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _createForOfIteratorHelper(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function l(e){return{type:6,styles:e,offset:null}}function c(e,t,n){return{type:0,name:e,styles:t,options:n}}function h(e){return{type:5,steps:e}}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:e}}function p(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:e,animation:t,options:n}}function v(e){Promise.resolve(null).then(e)}var _=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var e=this;v(function(){return e._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(e){this._position=this.totalTime?e*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),m=function(){function e(t){var n=this;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var i=0,r=0,o=0,a=this.players.length;0==a?v(function(){return n._onFinish()}):this.players.forEach(function(e){e.onDone(function(){++i==a&&n._onFinish()}),e.onDestroy(function(){++r==a&&n._onDestroy()}),e.onStart(function(){++o==a&&n._onStart()})}),this.totalTime=this.players.reduce(function(e,t){return Math.max(e,t.totalTime)},0)}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(e){return e.init()})}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(e){return e.play()})}},{key:"pause",value:function(){this.players.forEach(function(e){return e.pause()})}},{key:"restart",value:function(){this.players.forEach(function(e){return e.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(e){return e.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(e){return e.destroy()}),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(e){return e.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var t=e*this.totalTime;this.players.forEach(function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}},{key:"getPosition",value:function(){var e=this.players.reduce(function(e,t){return null===e||t.totalTime>e.totalTime?t:e},null);return null!=e?e.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(e){e.beforeDestroy&&e.beforeDestroy()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),g="!"},9238:function(e,t,n){"use strict";n.d(t,{rt:function(){return Q},s1:function(){return T},$s:function(){return E},Em:function(){return P},tE:function(){return K},qV:function(){return L},qm:function(){return W},Kd:function(){return z},X6:function(){return F},yG:function(){return N}});var i=n(8583),r=n(3018),o=n(9765),a=n(5319),s=n(6215),u=n(5917),l=n(6461),c=n(3342),h=n(4395),f=n(5435),d=n(8002),p=n(5257),v=n(3653),_=n(7519),m=n(6782),g=n(9490),y=n(521),b=n(8553);function k(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}var C=0,w=new Map,x=null,E=function(){var e=function(){function e(t){_classCallCheck(this,e),this._document=t}return _createClass(e,[{key:"describe",value:function(e,t,n){if(this._canBeDescribed(e,t)){var i=S(t,n);"string"!=typeof t?(O(t),w.set(i,{messageElement:t,referenceCount:0})):w.has(i)||this._createMessageElement(t,n),this._isElementDescribedByMessage(e,i)||this._addMessageReference(e,i)}}},{key:"removeDescription",value:function(e,t,n){if(t&&this._isElementNode(e)){var i=S(t,n);if(this._isElementDescribedByMessage(e,i)&&this._removeMessageReference(e,i),"string"==typeof t){var r=w.get(i);r&&0===r.referenceCount&&this._deleteMessageElement(i)}x&&0===x.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var e=this._document.querySelectorAll("[cdk-describedby-host]"),t=0;t-1&&t!==n._activeItemIndex&&(n._activeItemIndex=t)}})}return _createClass(e,[{key:"skipPredicate",value:function(e){return this._skipPredicateFn=e,this}},{key:"withWrap",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=e,this}},{key:"withVerticalOrientation",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=e,this}},{key:"withHorizontalOrientation",value:function(e){return this._horizontal=e,this}},{key:"withAllowedModifierKeys",value:function(e){return this._allowedModifierKeys=e,this}},{key:"withTypeAhead",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,c.b)(function(t){return e._pressedLetters.push(t)}),(0,h.b)(t),(0,f.h)(function(){return e._pressedLetters.length>0}),(0,d.U)(function(){return e._pressedLetters.join("")})).subscribe(function(t){for(var n=e._getItemsArray(),i=1;i0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=e,this}},{key:"setActiveItem",value:function(e){var t=this._activeItem;this.updateActiveItem(e),this._activeItem!==t&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(e){var t=this,n=e.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(function(n){return!e[n]||t._allowedModifierKeys.indexOf(n)>-1});switch(n){case l.Mf:return void this.tabOut.next();case l.JH:if(this._vertical&&i){this.setNextItemActive();break}return;case l.LH:if(this._vertical&&i){this.setPreviousItemActive();break}return;case l.SV:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case l.oh:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case l.Sd:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case l.uR:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;default:return void((i||(0,l.Vb)(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=l.A&&n<=l.Z||n>=l.xE&&n<=l.aO)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],e.preventDefault()}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),i=t[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}},{key:"_setActiveItemByDelta",value:function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}},{key:"_setActiveInWrapMode",value:function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var i=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[i]))return void this.setActiveItem(i)}}},{key:"_setActiveInDefaultMode",value:function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}},{key:"_setActiveItemByIndex",value:function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}},{key:"_getItemsArray",value:function(){return this._items instanceof r.n_E?this._items.toArray():this._items}}]),e}(),T=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"setActiveItem",value:function(e){this.activeItem&&this.activeItem.setInactiveStyles(),_get(_getPrototypeOf(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.setActiveStyles()}}]),n}(A),P=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._origin="program",e}return _createClass(n,[{key:"setFocusOrigin",value:function(e){return this._origin=e,this}},{key:"setActiveItem",value:function(e){_get(_getPrototypeOf(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.focus(this._origin)}}]),n}(A),I=function(){var e=function(){function e(t){_classCallCheck(this,e),this._platform=t}return _createClass(e,[{key:"isDisabled",value:function(e){return e.hasAttribute("disabled")}},{key:"isVisible",value:function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}},{key:"isTabbable",value:function(e){if(!this._platform.isBrowser)return!1;var t,n=function(e){try{return e.frameElement}catch(t){return null}}((t=e).ownerDocument&&t.ownerDocument.defaultView||window);if(n){if(-1===D(n))return!1;if(!this.isVisible(n))return!1}var i=e.nodeName.toLowerCase(),r=D(e);return e.hasAttribute("contenteditable")?-1!==r:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){var t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&("audio"===i?!!e.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}},{key:"isFocusable",value:function(e,t){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||R(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(y.t4))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(y.t4))},token:e,providedIn:"root"}),e}();function R(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function D(e){if(!R(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var M=function(){function e(t,n,i,r){var o=this,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];_classCallCheck(this,e),this._element=t,this._checker=n,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,a||this.attachAnchors()}return _createClass(e,[{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"destroy",value:function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.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)}},{key:"focusInitialElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusInitialElement(e))})})}},{key:"focusFirstTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusFirstTabbableElement(e))})})}},{key:"focusLastTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusLastTabbableElement(e))})})}},{key:"_getRegionBoundary",value:function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], [cdkFocusRegion").concat(e,"], [cdk-focus-").concat(e,"]")),n=0;n=0;n--){var i=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(i)return i}return null}},{key:"_createAnchor",value:function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}},{key:"_toggleAnchorTabIndex",value:function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"_executeOnStable",value:function(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe((0,p.q)(1)).subscribe(e)}}]),e}(),L=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._checker=t,this._ngZone=n,this._document=i}return _createClass(e,[{key:"create",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new M(e,this._checker,this._ngZone,this._document,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(I),r.LFG(r.R0b),r.LFG(i.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(I),r.LFG(r.R0b),r.LFG(i.K0))},token:e,providedIn:"root"}),e}();function F(e){return 0===e.buttons}function N(e){var t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}"undefined"!=typeof Element&∈var B=new r.OlP("cdk-input-modality-detector-options"),U={ignoreKeys:[l.zL,l.jx,l.b2,l.MW,l.JU]},j=(0,y.i$)({passive:!0,capture:!0}),Z=function(){var e=function(){function e(t,n,i,r){var o=this;_classCallCheck(this,e),this._platform=t,this._mostRecentTarget=null,this._modality=new s.X(null),this._lastTouchMs=0,this._onKeydown=function(e){var t,n;(null===(n=null===(t=o._options)||void 0===t?void 0:t.ignoreKeys)||void 0===n?void 0:n.some(function(t){return t===e.keyCode}))||(o._modality.next("keyboard"),o._mostRecentTarget=q(e))},this._onMousedown=function(e){Date.now()-o._lastTouchMs<650||(o._modality.next(F(e)?"keyboard":"mouse"),o._mostRecentTarget=q(e))},this._onTouchstart=function(e){N(e)?o._modality.next("keyboard"):(o._lastTouchMs=Date.now(),o._modality.next("touch"),o._mostRecentTarget=q(e))},this._options=Object.assign(Object.assign({},U),r),this.modalityDetected=this._modality.pipe((0,v.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,_.x)()),t.isBrowser&&n.runOutsideAngular(function(){i.addEventListener("keydown",o._onKeydown,j),i.addEventListener("mousedown",o._onMousedown,j),i.addEventListener("touchstart",o._onTouchstart,j)})}return _createClass(e,[{key:"mostRecentModality",get:function(){return this._modality.value}},{key:"ngOnDestroy",value:function(){this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,j),document.removeEventListener("mousedown",this._onMousedown,j),document.removeEventListener("touchstart",this._onTouchstart,j))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(y.t4),r.LFG(r.R0b),r.LFG(i.K0),r.LFG(B,8))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(y.t4),r.LFG(r.R0b),r.LFG(i.K0),r.LFG(B,8))},token:e,providedIn:"root"}),e}();function q(e){return e.composedPath?e.composedPath()[0]:e.target}var V=new r.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),H=new r.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),z=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this._ngZone=n,this._defaultOptions=r,this._document=i,this._liveElement=t||this._createLiveElement()}return _createClass(e,[{key:"announce",value:function(e){for(var t,n,i,r=this,o=this._defaultOptions,a=arguments.length,s=new Array(a>1?a-1:0),u=1;u1&&void 0!==arguments[1]&&arguments[1],n=(0,g.fI)(e);if(!this._platform.isBrowser||1!==n.nodeType)return(0,u.of)(null);var i=(0,y.kV)(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return t&&(r.checkChildren=!0),r.subject;var a={checkChildren:t,subject:new o.xQ,rootNode:i};return this._elementInfo.set(n,a),this._registerGlobalListeners(a),a.subject}},{key:"stopMonitoring",value:function(e){var t=(0,g.fI)(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(e,t,n){var i=this,r=(0,g.fI)(e);r===this._getDocument().activeElement?this._getClosestElementsInfo(r).forEach(function(e){var n=_slicedToArray(e,2),r=n[0],o=n[1];return i._originChanged(r,t,o)}):(this._setOrigin(t),"function"==typeof r.focus&&r.focus(n))}},{key:"ngOnDestroy",value:function(){var e=this;this._elementInfo.forEach(function(t,n){return e.stopMonitoring(n)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(e,t,n){n?e.classList.add(t):e.classList.remove(t)}},{key:"_getFocusOrigin",value:function(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}},{key:"_shouldBeAttributedToTouch",value:function(e){return 1===this._detectionMode||!!(null==e?void 0:e.contains(this._inputModalityDetector._mostRecentTarget))}},{key:"_setClasses",value:function(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}},{key:"_setOrigin",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._ngZone.runOutsideAngular(function(){t._origin=e,t._originFromTouchInteraction="touch"===e&&n,0===t._detectionMode&&(clearTimeout(t._originTimeoutId),t._originTimeoutId=setTimeout(function(){return t._origin=null},t._originFromTouchInteraction?650:1))})}},{key:"_onFocus",value:function(e,t){var n=this._elementInfo.get(t),i=q(e);n&&(n.checkChildren||t===i)&&this._originChanged(t,this._getFocusOrigin(i),n)}},{key:"_onBlur",value:function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(e,t){this._ngZone.run(function(){return e.next(t)})}},{key:"_registerGlobalListeners",value:function(e){var t=this;if(this._platform.isBrowser){var n=e.rootNode,i=this._rootNodeFocusListenerCount.get(n)||0;i||this._ngZone.runOutsideAngular(function(){n.addEventListener("focus",t._rootNodeFocusAndBlurListener,G),n.addEventListener("blur",t._rootNodeFocusAndBlurListener,G)}),this._rootNodeFocusListenerCount.set(n,i+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){t._getWindow().addEventListener("focus",t._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,m.R)(this._stopInputModalityDetector)).subscribe(function(e){t._setOrigin(e,!0)}))}}},{key:"_removeGlobalListeners",value:function(e){var t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){var n=this._rootNodeFocusListenerCount.get(t);n>1?this._rootNodeFocusListenerCount.set(t,n-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,G),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,G),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}},{key:"_originChanged",value:function(e,t,n){this._setClasses(e,t),this._emitOrigin(n.subject,t),this._lastFocusOrigin=t}},{key:"_getClosestElementsInfo",value:function(e){var t=[];return this._elementInfo.forEach(function(n,i){(i===e||n.checkChildren&&i.contains(e))&&t.push([i,n])}),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.R0b),r.LFG(y.t4),r.LFG(Z),r.LFG(i.K0,8),r.LFG(Y,8))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(r.R0b),r.LFG(y.t4),r.LFG(Z),r.LFG(i.K0,8),r.LFG(Y,8))},token:e,providedIn:"root"}),e}(),W=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._platform=t,this._document=n}return _createClass(e,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);var t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){var e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black"),this._hasCheckedHighContrastMode=!0;var t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(y.t4),r.LFG(i.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(y.t4),r.LFG(i.K0))},token:e,providedIn:"root"}),e}(),Q=function(){var e=function e(t){_classCallCheck(this,e),t._applyBodyHighContrastModeCssClasses()};return e.\u0275fac=function(t){return new(t||e)(r.LFG(W))},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[y.ud,b.Q8]]}),e}()},946:function(e,t,n){"use strict";n.d(t,{vT:function(){return s},Is:function(){return a}});var i=n(3018),r=n(8583),o=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,i.f3M)(r.K0)}}),a=function(){var e=function(){function e(t){if(_classCallCheck(this,e),this.value="ltr",this.change=new i.vpe,t){var n=t.documentElement?t.documentElement.dir:null,r=(t.body?t.body.dir:null)||n;this.value="ltr"===r||"rtl"===r?r:"ltr"}}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.LFG(o,8))},e.\u0275prov=i.Yz7({factory:function(){return new e(i.LFG(o,8))},token:e,providedIn:"root"}),e}(),s=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({}),e}()},8345:function(e,t,n){"use strict";n.d(t,{P3:function(){return u},Ov:function(){return c},A8:function(){return h},eX:function(){return l},k:function(){return f},Z9:function(){return s}});var i=n(5639),r=n(5917),o=n(9765),a=n(3018);function s(e){return e&&"function"==typeof e.connect}var u=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this))._data=e,i}return _createClass(n,[{key:"connect",value:function(){return(0,i.b)(this._data)?this._data:(0,r.of)(this._data)}},{key:"disconnect",value:function(){}}]),n}(function(){return function e(){_classCallCheck(this,e)}}()),l=function(){function e(){_classCallCheck(this,e),this.viewCacheSize=20,this._viewCache=[]}return _createClass(e,[{key:"applyChanges",value:function(e,t,n,i,r){var o=this;e.forEachOperation(function(e,a,s){var u,l;null==e.previousIndex?l=(u=o._insertView(function(){return n(e,a,s)},s,t,i(e)))?1:0:null==s?(o._detachAndCacheView(a,t),l=3):(u=o._moveView(a,s,t,i(e)),l=2),r&&r({context:null==u?void 0:u.context,operation:l,record:e})})}},{key:"detach",value:function(){var e,t=_createForOfIteratorHelper(this._viewCache);try{for(t.s();!(e=t.n()).done;){e.value.destroy()}}catch(n){t.e(n)}finally{t.f()}this._viewCache=[]}},{key:"_insertView",value:function(e,t,n,i){var r=this._insertViewFromCache(t,n);if(!r){var o=e();return n.createEmbeddedView(o.templateRef,o.context,o.index)}r.context.$implicit=i}},{key:"_detachAndCacheView",value:function(e,t){var n=t.detach(e);this._maybeCacheView(n,t)}},{key:"_moveView",value:function(e,t,n,i){var r=n.get(e);return n.move(r,t),r.context.$implicit=i,r}},{key:"_maybeCacheView",value:function(e,t){if(this._viewCache.length0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];_classCallCheck(this,e),this._multiple=n,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new o.xQ,i&&i.length&&(n?i.forEach(function(e){return t._markSelected(e)}):this._markSelected(i[0]),this._selectedToEmit.length=0)}return _createClass(e,[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i1?t-1:0),i=1;it.height||e.scrollWidth>t.width}}]),e}(),k=function(){function e(t,n,i,r){var o=this;_classCallCheck(this,e),this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=function(){o.disable(),o._overlayRef.hasAttached()&&o._ngZone.run(function(){return o._overlayRef.detach()})}}return _createClass(e,[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),C=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),e}();function w(e,t){return t.some(function(t){return e.bottomt.bottom||e.rightt.right})}function x(e,t){return t.some(function(t){return e.topt.bottom||e.leftt.right})}var E=function(){function e(t,n,i,r){_classCallCheck(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this._config=r,this._scrollSubscription=null}return _createClass(e,[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var t=e._overlayRef.overlayElement.getBoundingClientRect(),n=e._viewportRuler.getViewportSize(),i=n.width,r=n.height;w(t,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(e.disable(),e._ngZone.run(function(){return e._overlayRef.detach()}))}}))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),S=function(){var e=function e(t,n,i,r){var o=this;_classCallCheck(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this.noop=function(){return new C},this.close=function(e){return new k(o._scrollDispatcher,o._ngZone,o._viewportRuler,e)},this.block=function(){return new b(o._viewportRuler,o._document)},this.reposition=function(e){return new E(o._scrollDispatcher,o._viewportRuler,o._ngZone,e)},this._document=r};return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.mF),r.LFG(i.rL),r.LFG(r.R0b),r.LFG(s.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(i.mF),r.LFG(i.rL),r.LFG(r.R0b),r.LFG(s.K0))},token:e,providedIn:"root"}),e}(),O=function e(t){if(_classCallCheck(this,e),this.scrollStrategy=new C,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t)for(var n=0,i=Object.keys(t);n-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(s.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(s.K0))},token:e,providedIn:"root"}),e}(),I=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this,e))._keydownListener=function(e){for(var t=i._attachedOverlays,n=t.length-1;n>-1;n--)if(t[n]._keydownEvents.observers.length>0){t[n]._keydownEvents.next(e);break}},i}return _createClass(n,[{key:"add",value:function(e){_get(_getPrototypeOf(n.prototype),"add",this).call(this,e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),n}(P);return e.\u0275fac=function(t){return new(t||e)(r.LFG(s.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(s.K0))},token:e,providedIn:"root"}),e}(),R=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e))._platform=i,r._cursorStyleIsSet=!1,r._clickListener=function(e){for(var t=e.composedPath?e.composedPath()[0]:e.target,n=r._attachedOverlays.slice(),i=n.length-1;i>-1;i--){var o=n[i];if(!(o._outsidePointerEvents.observers.length<1)&&o.hasAttached()){if(o.overlayElement.contains(t))break;o._outsidePointerEvents.next(e)}}},r}return _createClass(n,[{key:"add",value:function(e){if(_get(_getPrototypeOf(n.prototype),"add",this).call(this,e),!this._isAttached){var t=this._document.body;t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var e=this._document.body;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}}}]),n}(P);return e.\u0275fac=function(t){return new(t||e)(r.LFG(s.K0),r.LFG(o.t4))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(s.K0),r.LFG(o.t4))},token:e,providedIn:"root"}),e}(),D="undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha,M=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._platform=n,this._document=t}return _createClass(e,[{key:"ngOnDestroy",value:function(){var e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){if(this._platform.isBrowser||D)for(var e=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]'),t=0;td&&(d=_,f=v)}}catch(m){p.e(m)}finally{p.f()}return this._isPushed=!1,void this._applyPosition(f.position,f.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(e.position,e.originPoint);this._applyPosition(e.position,e.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&B(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}},{key:"withScrollableContainers",value:function(e){return this._scrollables=e,this}},{key:"withPositions",value:function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(e){return this._viewportMargin=e,this}},{key:"withFlexibleDimensions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=e,this}},{key:"withGrowAfterOpen",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=e,this}},{key:"withPush",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=e,this}},{key:"withLockedPosition",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=e,this}},{key:"setOrigin",value:function(e){return this._origin=e,this}},{key:"withDefaultOffsetX",value:function(e){return this._offsetX=e,this}},{key:"withDefaultOffsetY",value:function(e){return this._offsetY=e,this}},{key:"withTransformOriginOn",value:function(e){return this._transformOriginSelector=e,this}},{key:"_getOriginPoint",value:function(e,t){var n;if("center"==t.originX)n=e.left+e.width/2;else{var i=this._isRtl()?e.right:e.left,r=this._isRtl()?e.left:e.right;n="start"==t.originX?i:r}return{x:n,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}}},{key:"_getOverlayPoint",value:function(e,t,n){var i,r;return i="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,r="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+i,y:e.y+r}}},{key:"_getOverlayFit",value:function(e,t,n,i){var r=j(t),o=e.x,a=e.y,s=this._getOffset(i,"x"),u=this._getOffset(i,"y");s&&(o+=s),u&&(a+=u);var l=0-a,c=a+r.height-n.height,h=this._subtractOverflows(r.width,0-o,o+r.width-n.width),f=this._subtractOverflows(r.height,l,c),d=h*f;return{visibleArea:d,isCompletelyWithinViewport:r.width*r.height===d,fitsInViewportVertically:f===r.height,fitsInViewportHorizontally:h==r.width}}},{key:"_canFitWithFlexibleDimensions",value:function(e,t,n){if(this._hasFlexibleDimensions){var i=n.bottom-t.y,r=n.right-t.x,o=U(this._overlayRef.getConfig().minHeight),a=U(this._overlayRef.getConfig().minWidth),s=e.fitsInViewportHorizontally||null!=a&&a<=r;return(e.fitsInViewportVertically||null!=o&&o<=i)&&s}return!1}},{key:"_pushOverlayOnScreen",value:function(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var i,r,o=j(t),a=this._viewportRect,s=Math.max(e.x+o.width-a.width,0),u=Math.max(e.y+o.height-a.height,0),l=Math.max(a.top-n.top-e.y,0),c=Math.max(a.left-n.left-e.x,0);return i=o.width<=a.width?c||-s:e.xh&&!this._isInitialRender&&!this._growAfterOpen&&(i=e.y-h/2)}if("end"===t.overlayX&&!l||"start"===t.overlayX&&l)s=u.width-e.x+this._viewportMargin,o=e.x-this._viewportMargin;else if("start"===t.overlayX&&!l||"end"===t.overlayX&&l)a=e.x,o=u.right-e.x;else{var f=Math.min(u.right-e.x+u.left,e.x),d=this._lastBoundingBoxSize.width;o=2*f,a=e.x-f,o>d&&!this._isInitialRender&&!this._growAfterOpen&&(a=e.x-d/2)}return{top:i,left:a,bottom:r,right:s,width:o,height:n}}},{key:"_setBoundingBoxStyles",value:function(e,t){var n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;i.height=(0,u.HM)(n.height),i.top=(0,u.HM)(n.top),i.bottom=(0,u.HM)(n.bottom),i.width=(0,u.HM)(n.width),i.left=(0,u.HM)(n.left),i.right=(0,u.HM)(n.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",r&&(i.maxHeight=(0,u.HM)(r)),o&&(i.maxWidth=(0,u.HM)(o))}this._lastBoundingBoxSize=n,B(this._boundingBox.style,i)}},{key:"_resetBoundingBoxStyles",value:function(){B(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){B(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(e,t){var n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(i){var a=this._viewportRuler.getViewportScrollPosition();B(n,this._getExactOverlayY(t,e,a)),B(n,this._getExactOverlayX(t,e,a))}else n.position="static";var s="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(s+="translateX(".concat(l,"px) ")),c&&(s+="translateY(".concat(c,"px)")),n.transform=s.trim(),o.maxHeight&&(i?n.maxHeight=(0,u.HM)(o.maxHeight):r&&(n.maxHeight="")),o.maxWidth&&(i?n.maxWidth=(0,u.HM)(o.maxWidth):r&&(n.maxWidth="")),B(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(e,t,n){var i={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=o,"bottom"===e.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=(0,u.HM)(r.y),i}},{key:"_getExactOverlayX",value:function(e,t,n){var i={left:"",right:""},r=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"===(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?i.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":i.left=(0,u.HM)(r.x),i}},{key:"_getScrollVisibility",value:function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(function(e){return e.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:x(e,n),isOriginOutsideView:w(e,n),isOverlayClipped:x(t,n),isOverlayOutsideView:w(t,n)}}},{key:"_subtractOverflows",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}},{key:"left",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}},{key:"right",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}},{key:"width",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}},{key:"height",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}},{key:"centerHorizontally",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(e),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(e),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),i=n.width,r=n.height,o=n.maxWidth,a=n.maxHeight,s=!("100%"!==i&&"100vw"!==i||o&&"100%"!==o&&"100vw"!==o),u=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a);e.position=this._cssPosition,e.marginLeft=s?"0":this._leftOffset,e.marginTop=u?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,s?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=u?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}}]),e}(),V=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this._viewportRuler=t,this._document=n,this._platform=i,this._overlayContainer=r}return _createClass(e,[{key:"global",value:function(){return new q}},{key:"connectedTo",value:function(e,t,n){return new Z(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(e){return new N(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.rL),r.LFG(s.K0),r.LFG(o.t4),r.LFG(M))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(i.rL),r.LFG(s.K0),r.LFG(o.t4),r.LFG(M))},token:e,providedIn:"root"}),e}(),H=0,z=function(){var e=function(){function e(t,n,i,r,o,a,s,u,l,c,h){_classCallCheck(this,e),this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=i,this._positionBuilder=r,this._keyboardDispatcher=o,this._injector=a,this._ngZone=s,this._document=u,this._directionality=l,this._location=c,this._outsideClickDispatcher=h}return _createClass(e,[{key:"create",value:function(e){var t=this._createHostElement(),n=this._createPaneElement(t),i=this._createPortalOutlet(n),r=new O(e);return r.direction=r.direction||this._directionality.value,new L(i,t,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(e){var t=this._document.createElement("div");return t.id="cdk-overlay-"+H++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}},{key:"_createHostElement",value:function(){var e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}},{key:"_createPortalOutlet",value:function(e){return this._appRef||(this._appRef=this._injector.get(r.z2F)),new l.u0(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(S),r.LFG(M),r.LFG(r._Vd),r.LFG(V),r.LFG(I),r.LFG(r.zs3),r.LFG(r.R0b),r.LFG(s.K0),r.LFG(a.Is),r.LFG(s.Ye),r.LFG(R))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),Y=[{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"}],G=new r.OlP("cdk-connected-overlay-scroll-strategy"),K=function(){var e=function e(t){_classCallCheck(this,e),this.elementRef=t};return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq))},e.\u0275dir=r.lG2({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e}(),W=function(){var e=function(){function e(t,n,i,o,a){_classCallCheck(this,e),this._overlay=t,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=h.w.EMPTY,this._attachSubscription=h.w.EMPTY,this._detachSubscription=h.w.EMPTY,this._positionSubscription=h.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new r.vpe,this.positionChange=new r.vpe,this.attach=new r.vpe,this.detach=new r.vpe,this.overlayKeydown=new r.vpe,this.overlayOutsideClick=new r.vpe,this._templatePortal=new l.UE(n,i),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}return _createClass(e,[{key:"offsetX",get:function(){return this._offsetX},set:function(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=(0,u.Ig)(e)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(e){this._lockPosition=(0,u.Ig)(e)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(e){this._flexibleDimensions=(0,u.Ig)(e)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(e){this._growAfterOpen=(0,u.Ig)(e)}},{key:"push",get:function(){return this._push},set:function(e){this._push=(0,u.Ig)(e)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(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())}},{key:"_createOverlay",value:function(){var e=this;this.positions&&this.positions.length||(this.positions=Y);var t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(function(){return e.attach.emit()}),this._detachSubscription=t.detachments().subscribe(function(){return e.detach.emit()}),t.keydownEvents().subscribe(function(t){e.overlayKeydown.next(t),t.keyCode!==g.hY||e.disableClose||(0,g.Vb)(t)||(t.preventDefault(),e._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(t){e.overlayOutsideClick.next(t)})}},{key:"_buildConfig",value:function(){var e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new O({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}},{key:"_updatePositionStrategy",value:function(e){var t=this,n=this.positions.map(function(e){return{originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||t.offsetX,offsetY:e.offsetY||t.offsetY,panelClass:e.panelClass||void 0}});return e.setOrigin(this.origin.elementRef).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e}},{key:"_attachOverlay",value:function(){var e=this;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(function(t){e.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){return n.lift(new p(e,t))}}(function(){return e.positionChange.observers.length>0})).subscribe(function(t){e.positionChange.emit(t),0===e.positionChange.observers.length&&e._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(z),r.Y36(r.Rgc),r.Y36(r.s_b),r.Y36(G),r.Y36(a.Is,8))},e.\u0275dir=r.lG2({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[r.TTD]}),e}(),Q={provide:G,deps:[z],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},J=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[z,Q],imports:[[a.vT,l.eL,i.Cl],i.Cl]}),e}()},521:function(e,t,n){"use strict";n.d(t,{t4:function(){return h},ud:function(){return f},ht:function(){return y},kV:function(){return g},_i:function(){return m},qK:function(){return p},i$:function(){return v},Mq:function(){return _}});var i,r=n(3018),o=n(8583);try{i="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(b){i=!1}var a,s,u,l,c,h=function(){var e=function e(t){_classCallCheck(this,e),this._platformId=t,this.isBrowser=this._platformId?(0,o.NF)(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&&!i)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT};return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.Lbi))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(r.Lbi))},token:e,providedIn:"root"}),e}(),f=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e}(),d=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function p(){if(a)return a;if("object"!=typeof document||!document)return a=new Set(d);var e=document.createElement("input");return a=new Set(d.filter(function(t){return e.setAttribute("type",t),e.type===t}))}function v(e){return function(){if(null==s&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return s=!0}}))}finally{s=s||!1}return s}()?e:!!e.capture}function _(){if(null==l){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return l=!1;if("scrollBehavior"in document.documentElement.style)l=!0;else{var e=Element.prototype.scrollTo;l=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return l}function m(){if("object"!=typeof document||!document)return 0;if(null==u){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";var n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",e.appendChild(n),document.body.appendChild(e),u=0,0===e.scrollLeft&&(e.scrollLeft=1,u=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return u}function g(e){if(function(){if(null==c){var e="undefined"!=typeof document?document.head:null;c=!(!e||!e.createShadowRoot&&!e.attachShadow)}return c}()){var t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function y(){for(var e="undefined"!=typeof document&&document?document.activeElement:null;e&&e.shadowRoot;){var t=e.shadowRoot.activeElement;if(t===e)break;e=t}return e}},7636:function(e,t,n){"use strict";n.d(t,{en:function(){return l},Pl:function(){return h},C5:function(){return a},u0:function(){return c},eL:function(){return f},UE:function(){return s}});var i=n(3018),r=n(8583),o=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"attach",value:function(e){return this._attachedHost=e,e.attach(this)}},{key:"detach",value:function(){var e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}}]),e}(),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var a;return _classCallCheck(this,n),(a=t.call(this)).component=e,a.viewContainerRef=i,a.injector=r,a.componentFactoryResolver=o,a}return n}(o),s=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this)).templateRef=e,o.viewContainerRef=i,o.context=r,o}return _createClass(n,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=t,_get(_getPrototypeOf(n.prototype),"attach",this).call(this,e)}},{key:"detach",value:function(){return this.context=void 0,_get(_getPrototypeOf(n.prototype),"detach",this).call(this)}}]),n}(o),u=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this)).element=e instanceof i.SBq?e.nativeElement:e,r}return n}(o),l=function(){function e(){_classCallCheck(this,e),this._isDisposed=!1,this.attachDomPortal=null}return _createClass(e,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(e){return e instanceof a?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof s?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof u?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(e){this._disposeFn=e}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),e}(),c=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,a){var s,u;return _classCallCheck(this,n),(u=t.call(this)).outletElement=e,u._componentFactoryResolver=i,u._appRef=r,u._defaultInjector=o,u.attachDomPortal=function(e){var t=e.element,i=u._document.createComment("dom-portal");t.parentNode.insertBefore(i,t),u.outletElement.appendChild(t),u._attachedPortal=e,_get((s=_assertThisInitialized(u),_getPrototypeOf(n.prototype)),"setDisposeFn",s).call(s,function(){i.parentNode&&i.parentNode.replaceChild(t,i)})},u._document=a,u}return _createClass(n,[{key:"attachComponentPortal",value:function(e){var t,n=this,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(i,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(function(){return t.destroy()})):(t=i.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn(function(){n._appRef.detachView(t.hostView),t.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=e,t}},{key:"attachTemplatePortal",value:function(e){var t=this,n=e.viewContainerRef,i=n.createEmbeddedView(e.templateRef,e.context);return i.rootNodes.forEach(function(e){return t.outletElement.appendChild(e)}),i.detectChanges(),this.setDisposeFn(function(){var e=n.indexOf(i);-1!==e&&n.remove(e)}),this._attachedPortal=e,i}},{key:"dispose",value:function(){_get(_getPrototypeOf(n.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(e){return e.hostView.rootNodes[0]}}]),n}(l),h=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o){var a,s;return _classCallCheck(this,n),(s=t.call(this))._componentFactoryResolver=e,s._viewContainerRef=r,s._isInitialized=!1,s.attached=new i.vpe,s.attachDomPortal=function(e){var t=e.element,i=s._document.createComment("dom-portal");e.setAttachedHost(_assertThisInitialized(s)),t.parentNode.insertBefore(i,t),s._getRootNode().appendChild(t),s._attachedPortal=e,_get((a=_assertThisInitialized(s),_getPrototypeOf(n.prototype)),"setDisposeFn",a).call(a,function(){i.parentNode&&i.parentNode.replaceChild(t,i)})},s._document=o,s}return _createClass(n,[{key:"portal",get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&_get(_getPrototypeOf(n.prototype),"detach",this).call(this),e&&_get(_getPrototypeOf(n.prototype),"attach",this).call(this,e),this._attachedPortal=e)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(n.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(e){e.setAttachedHost(this);var t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r=t.createComponent(i,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),_get(_getPrototypeOf(n.prototype),"setDisposeFn",this).call(this,function(){return r.destroy()}),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}},{key:"attachTemplatePortal",value:function(e){var t=this;e.setAttachedHost(this);var i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return _get(_getPrototypeOf(n.prototype),"setDisposeFn",this).call(this,function(){return t._viewContainerRef.clear()}),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}},{key:"_getRootNode",value:function(){var e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}]),n}(l);return e.\u0275fac=function(t){return new(t||e)(i.Y36(i._Vd),i.Y36(i.s_b),i.Y36(r.K0))},e.\u0275dir=i.lG2({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.qOj]}),e}(),f=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({}),e}()},9243:function(e,t,n){"use strict";n.d(t,{ZD:function(){return g},mF:function(){return _},Cl:function(){return y},rL:function(){return m}});var i=n(9490),r=n(3018),o=n(6465),a=n(6102);new(function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,i=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++i2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?_get(_getPrototypeOf(n.prototype),"requestAsyncId",this).call(this,e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(function(){return e.flush(null)})))}},{key:"recycleAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return _get(_getPrototypeOf(n.prototype),"recycleAsyncId",this).call(this,e,t,i);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}]),n}(o.o));var s=n(9765),u=n(5917),l=n(7574),c=n(2759);n(4581),n(5319),n(5639),n(7393),new(function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(a.v))(function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e,i)).scheduler=e,r.work=i,r}return _createClass(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t>0?_get(_getPrototypeOf(n.prototype),"schedule",this).call(this,e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}},{key:"execute",value:function(e,t){return t>0||this.closed?_get(_getPrototypeOf(n.prototype),"execute",this).call(this,e,t):this._execute(e,t)}},{key:"requestAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0||null===i&&this.delay>0?_get(_getPrototypeOf(n.prototype),"requestAsyncId",this).call(this,e,t,i):e.flush(this)}}]),n}(o.o)),n(1593),n(7971),n(8858),n(7519);var h=n(628),f=n(5435),d=(n(6782),n(9761),n(3190),n(521)),p=n(8583),v=n(946);n(8345);var _=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._ngZone=t,this._platform=n,this._scrolled=new s.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}return _createClass(e,[{key:"register",value:function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(function(){return t._scrolled.next(e)}))}},{key:"deregister",value:function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}},{key:"scrolled",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new l.y(function(n){e._globalSubscription||e._addGlobalListener();var i=t>0?e._scrolled.pipe((0,h.e)(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){i.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):(0,u.of)()}},{key:"ngOnDestroy",value:function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(t,n){return e.deregister(n)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((0,f.h)(function(e){return!e||n.indexOf(e)>-1}))}},{key:"getAncestorScrollContainers",value:function(e){var t=this,n=[];return this.scrollContainers.forEach(function(i,r){t._scrollableContainsElement(r,e)&&n.push(r)}),n}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(e,t){var n=(0,i.fI)(t),r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){var t=e._getWindow();return(0,c.R)(t.document,"scroll").subscribe(function(){return e._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.R0b),r.LFG(d.t4),r.LFG(p.K0,8))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(r.R0b),r.LFG(d.t4),r.LFG(p.K0,8))},token:e,providedIn:"root"}),e}(),m=function(){var e=function(){function e(t,n,i){var r=this;_classCallCheck(this,e),this._platform=t,this._change=new s.xQ,this._changeListener=function(e){r._change.next(e)},this._document=i,n.runOutsideAngular(function(){if(t.isBrowser){var e=r._getWindow();e.addEventListener("resize",r._changeListener),e.addEventListener("orientationchange",r._changeListener)}r.change().subscribe(function(){return r._updateViewportSize()})})}return _createClass(e,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}},{key:"getViewportRect",value:function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,i=t.height;return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+n,height:i,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=this._document,t=this._getWindow(),n=e.documentElement,i=n.getBoundingClientRect();return{top:-i.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-i.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return e>0?this._change.pipe((0,h.e)(e)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(d.t4),r.LFG(r.R0b),r.LFG(p.K0,8))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(d.t4),r.LFG(r.R0b),r.LFG(p.K0,8))},token:e,providedIn:"root"}),e}(),g=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e}(),y=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[v.vT,d.ud,g],v.vT,g]}),e}()},9490:function(e,t,n){"use strict";n.d(t,{Eq:function(){return a},Ig:function(){return r},HM:function(){return s},fI:function(){return u},su:function(){return o}});var i=n(3018);function r(e){return null!=e&&"false"!="".concat(e)}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}function a(e){return Array.isArray(e)?e:[e]}function s(e){return null==e?"":"string"==typeof e?e:"".concat(e,"px")}function u(e){return e instanceof i.SBq?e.nativeElement:e}},8583:function(e,t,n){"use strict";n.d(t,{mr:function(){return b},Ov:function(){return z},ez:function(){return Y},K0:function(){return u},Do:function(){return C},V_:function(){return h},Ye:function(){return w},S$:function(){return g},mk:function(){return I},sg:function(){return D},O5:function(){return L},RF:function(){return U},n9:function(){return j},ED:function(){return Z},b0:function(){return k},lw:function(){return l},EM:function(){return W},JF:function(){return X},NF:function(){return K},w_:function(){return s},bD:function(){return G},q:function(){return o},Mx:function(){return P},HT:function(){return a}});var i=n(3018),r=null;function o(){return r}function a(e){r||(r=e)}var s=function e(){_classCallCheck(this,e)},u=new i.OlP("DocumentToken"),l=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"historyGo",value:function(e){throw new Error("Not implemented")}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,i.Yz7)({factory:c,token:e,providedIn:"platform"}),e}();function c(){return(0,i.LFG)(f)}var h=new i.OlP("Location Initialized"),f=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this))._doc=e,i._init(),i}return _createClass(n,[{key:"_init",value:function(){this.location=window.location,this._history=window.history}},{key:"getBaseHrefFromDOM",value:function(){return o().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){var t=o().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),function(){return t.removeEventListener("popstate",e)}}},{key:"onHashChange",value:function(e){var t=o().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),function(){return t.removeEventListener("hashchange",e)}}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(e){this.location.pathname=e}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(e,t,n){d()?this._history.pushState(e,t,n):this.location.hash=n}},{key:"replaceState",value:function(e,t,n){d()?this._history.replaceState(e,t,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"historyGo",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(e)}},{key:"getState",value:function(){return this._history.state}}]),n}(l);return e.\u0275fac=function(t){return new(t||e)(i.LFG(u))},e.\u0275prov=(0,i.Yz7)({factory:p,token:e,providedIn:"platform"}),e}();function d(){return!!window.history.pushState}function p(){return new f((0,i.LFG)(u))}function v(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function _(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function m(e){return e&&"?"!==e[0]?"?"+e:e}var g=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"historyGo",value:function(e){throw new Error("Not implemented")}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,i.Yz7)({factory:y,token:e,providedIn:"root"}),e}();function y(e){var t=(0,i.LFG)(u).location;return new k((0,i.LFG)(l),t&&t.origin||"")}var b=new i.OlP("appBaseHref"),k=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;if(_classCallCheck(this,n),(r=t.call(this))._platformLocation=e,r._removeListenerFns=[],null==i&&(i=r._platformLocation.getBaseHrefFromDOM()),null==i)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=i,_possibleConstructorReturn(r)}return _createClass(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(e){return v(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+m(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?"".concat(t).concat(n):t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+m(i));this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+m(i));this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformLocation).historyGo)||void 0===t||t.call(e,n)}}]),n}(g);return e.\u0275fac=function(t){return new(t||e)(i.LFG(l),i.LFG(b,8))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}(),C=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this))._platformLocation=e,r._baseHref="",r._removeListenerFns=[],null!=i&&(r._baseHref=i),r}return _createClass(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}},{key:"prepareExternalUrl",value:function(e){var t=v(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+m(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+m(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformLocation).historyGo)||void 0===t||t.call(e,n)}}]),n}(g);return e.\u0275fac=function(t){return new(t||e)(i.LFG(l),i.LFG(b,8))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}(),w=function(){var e=function(){function e(t,n){var r=this;_classCallCheck(this,e),this._subject=new i.vpe,this._urlChangeListeners=[],this._platformStrategy=t;var o=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=_(E(o)),this._platformStrategy.onPopState(function(e){r._subject.emit({url:r.path(!0),pop:!0,state:e.state,type:e.type})})}return _createClass(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(e+m(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,E(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+m(t)),n)}},{key:"replaceState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+m(t)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformStrategy).historyGo)||void 0===t||t.call(e,n)}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(e){t._notifyUrlChangeListeners(e.url,e.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(n){return n(e,t)})}},{key:"subscribe",value:function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.LFG(g),i.LFG(l))},e.normalizeQueryParams=m,e.joinWithSlash=v,e.stripTrailingSlash=_,e.\u0275prov=(0,i.Yz7)({factory:x,token:e,providedIn:"root"}),e}();function x(){return new w((0,i.LFG)(g),(0,i.LFG)(l))}function E(e){return e.replace(/\/index.html$/,"")}var S=((S=S||{})[S.Zero=0]="Zero",S[S.One=1]="One",S[S.Two=2]="Two",S[S.Few=3]="Few",S[S.Many=4]="Many",S[S.Other=5]="Other",S),O=i.kL8,A=function e(){_classCallCheck(this,e)},T=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this)).locale=e,i}return _createClass(n,[{key:"getPluralCategory",value:function(e,t){switch(O(t||this.locale)(e)){case S.Zero:return"zero";case S.One:return"one";case S.Two:return"two";case S.Few:return"few";case S.Many:return"many";default:return"other"}}}]),n}(A);return e.\u0275fac=function(t){return new(t||e)(i.LFG(i.soG))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}();function P(e,t){t=encodeURIComponent(t);var n,i=_createForOfIteratorHelper(e.split(";"));try{for(i.s();!(n=i.n()).done;){var r=n.value,o=r.indexOf("="),a=_slicedToArray(-1==o?[r,""]:[r.slice(0,o),r.slice(o+1)],2),s=a[0],u=a[1];if(s.trim()===t)return decodeURIComponent(u)}}catch(l){i.e(l)}finally{i.f()}return null}var I=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=i,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return _createClass(e,[{key:"klass",set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&((0,i.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}},{key:"_applyKeyValueChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){e.previousValue&&t._toggleClass(e.key,!1)})}},{key:"_applyIterableChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat((0,i.AaK)(e.item)));t._toggleClass(e.item,!0)}),e.forEachRemovedItem(function(e){return t._toggleClass(e.item,!1)})}},{key:"_applyClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!0)}):Object.keys(e).forEach(function(n){return t._toggleClass(n,!!e[n])}))}},{key:"_removeClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!1)}):Object.keys(e).forEach(function(e){return t._toggleClass(e,!1)}))}},{key:"_toggleClass",value:function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach(function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))},e.\u0275dir=i.lG2({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e}(),R=function(){function e(t,n,i,r){_classCallCheck(this,e),this.$implicit=t,this.ngForOf=n,this.index=i,this.count=r}return _createClass(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),D=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._viewContainer=t,this._template=n,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return _createClass(e,[{key:"ngForOf",set:function(e){this._ngForOf=e,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(e){this._trackByFn=e}},{key:"ngForTemplate",set:function(e){e&&(this._template=e)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(i){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation(function(e,i,r){if(null==e.previousIndex){var o=t._viewContainer.createEmbeddedView(t._template,new R(null,t._ngForOf,-1,-1),null===r?void 0:r),a=new M(e,o);n.push(a)}else if(null==r)t._viewContainer.remove(null===i?void 0:i);else if(null!==i){var s=t._viewContainer.get(i);t._viewContainer.move(s,r);var u=new M(e,s);n.push(u)}});for(var i=0;i0){var i=e.slice(0,t),r=i.toLowerCase(),o=e.slice(t+1).trim();n.maybeSetNormalizedName(i,r),n.headers.has(r)?n.headers.get(r).push(o):n.headers.set(r,[o])}})}:function(){n.headers=new Map,Object.keys(t).forEach(function(e){var i=t[e],r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(n.headers.set(r,i),n.maybeSetNormalizedName(e,r))})}:this.headers=new Map}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))})}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var i=("a"===e.op?this.headers.get(t):void 0)||[];i.push.apply(i,_toConsumableArray(n)),this.headers.set(t,i);break;case"d":var r=e.value;if(r){var o=this.headers.get(t);if(!o)return;0===(o=o.filter(function(e){return-1===r.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,o)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return e(t.normalizedNames.get(n),t.headers.get(n))})}}]),e}(),d=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"encodeKey",value:function(e){return p(e)}},{key:"encodeValue",value:function(e){return p(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}();function p(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function v(e){return"".concat(e)}var _=function(){function e(){var t,n,i,r=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(_classCallCheck(this,e),this.updates=null,this.cloneFrom=null,this.encoder=o.encoder||new d,o.fromString){if(o.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(t=o.fromString,n=this.encoder,i=new Map,t.length>0&&t.replace(/^\?/,"").split("&").forEach(function(e){var t=e.indexOf("="),r=_slicedToArray(-1==t?[n.decodeKey(e),""]:[n.decodeKey(e.slice(0,t)),n.decodeValue(e.slice(t+1))],2),o=r[0],a=r[1],s=i.get(o)||[];s.push(a),i.set(o,s)}),i)}else o.fromObject?(this.map=new Map,Object.keys(o.fromObject).forEach(function(e){var t=o.fromObject[e];r.map.set(e,Array.isArray(t)?t:[t])})):this.map=null}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.map.has(e)}},{key:"get",value:function(e){this.init();var t=this.map.get(e);return t?t[0]:null}},{key:"getAll",value:function(e){return this.init(),this.map.get(e)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(e,t){return this.clone({param:e,value:t,op:"a"})}},{key:"appendAll",value:function(e){var t=[];return Object.keys(e).forEach(function(n){var i=e[n];Array.isArray(i)?i.forEach(function(e){t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:i,op:"a"})}),this.clone(t)}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map(function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return n+"="+e.encoder.encodeValue(t)}).join("&")}).filter(function(e){return""!==e}).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(v(t.value)),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var i=e.map.get(t.param)||[],r=i.indexOf(v(t.value));-1!==r&&i.splice(r,1),i.length>0?e.map.set(t.param,i):e.map.delete(t.param)}}),this.cloneFrom=this.updates=null)}}]),e}(),m=function(){function e(){_classCallCheck(this,e),this.map=new Map}return _createClass(e,[{key:"set",value:function(e,t){return this.map.set(e,t),this}},{key:"get",value:function(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}},{key:"delete",value:function(e){return this.map.delete(e),this}},{key:"keys",value:function(){return this.map.keys()}}]),e}();function g(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function y(e){return"undefined"!=typeof Blob&&e instanceof Blob}function b(e){return"undefined"!=typeof FormData&&e instanceof FormData}var k=function(){function e(t,n,i,r){var o;if(_classCallCheck(this,e),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(e){switch(e){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 f),this.context||(this.context=new m),this.params){var a=this.params.toString();if(0===a.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s0&&void 0!==arguments[0]?arguments[0]:{},i=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,a=void 0!==n.body?n.body:this.body,s=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,u=void 0!==n.reportProgress?n.reportProgress:this.reportProgress,l=n.headers||this.headers,c=n.params||this.params,h=null!==(t=n.context)&&void 0!==t?t:this.context;return void 0!==n.setHeaders&&(l=Object.keys(n.setHeaders).reduce(function(e,t){return e.set(t,n.setHeaders[t])},l)),n.setParams&&(c=Object.keys(n.setParams).reduce(function(e,t){return e.set(t,n.setParams[t])},c)),new e(i,r,a,{params:c,headers:l,context:h,reportProgress:u,responseType:o,withCredentials:s})}}]),e}(),C=((C=C||{})[C.Sent=0]="Sent",C[C.UploadProgress=1]="UploadProgress",C[C.ResponseHeader=2]="ResponseHeader",C[C.DownloadProgress=3]="DownloadProgress",C[C.Response=4]="Response",C[C.User=5]="User",C),w=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";_classCallCheck(this,e),this.headers=t.headers||new f,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300},x=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,n),(e=t.call(this,i)).type=C.ResponseHeader,e}return _createClass(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(w),E=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,n),(e=t.call(this,i)).type=C.Response,e.body=void 0!==i.body?i.body:null,e}return _createClass(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(w),S=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this,e,0,"Unknown Error")).name="HttpErrorResponse",i.ok=!1,i.message=i.status>=200&&i.status<300?"Http failure during parsing for ".concat(e.url||"(unknown url)"):"Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),i.error=e.error||null,i}return n}(w);function O(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var A=function(){var e=function(){function e(t){_classCallCheck(this,e),this.handler=t}return _createClass(e,[{key:"request",value:function(e,t){var n,i,r,a=this,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e instanceof k?n=e:(i=c.headers instanceof f?c.headers:new f(c.headers),c.params&&(r=c.params instanceof _?c.params:new _({fromObject:c.params})),n=new k(e,t,void 0!==c.body?c.body:null,{headers:i,context:c.context,params:r,reportProgress:c.reportProgress,responseType:c.responseType||"json",withCredentials:c.withCredentials}));var h=(0,o.of)(n).pipe((0,s.b)(function(e){return a.handler.handle(e)}));if(e instanceof k||"events"===c.observe)return h;var d=h.pipe((0,u.h)(function(e){return e instanceof E}));switch(c.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return d.pipe((0,l.U)(function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return d.pipe((0,l.U)(function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return d.pipe((0,l.U)(function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return d.pipe((0,l.U)(function(e){return e.body}))}case"response":return d;default:throw new Error("Unreachable: unhandled observe type ".concat(c.observe,"}"))}}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",e,t)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",e,t)}},{key:"head",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",e,t)}},{key:"jsonp",value:function(e,t){return this.request("JSONP",e,{params:(new _).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",e,t)}},{key:"patch",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",e,O(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,O(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,O(n,t))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(c))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),T=function(){function e(t,n){_classCallCheck(this,e),this.next=t,this.interceptor=n}return _createClass(e,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),e}(),P=new r.OlP("HTTP_INTERCEPTORS"),I=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"intercept",value:function(e,t){return t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),R=/^\)\]\}',?\n/,D=function(){var e=function(){function e(t){_classCallCheck(this,e),this.xhrFactory=t}return _createClass(e,[{key:"handle",value:function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new a.y(function(n){var i=t.xhrFactory.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach(function(e,t){return i.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var r=e.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(e.responseType){var o=e.responseType.toLowerCase();i.responseType="json"!==o?o:"text"}var a=e.serializeBody(),s=null,u=function(){if(null!==s)return s;var t=1223===i.status?204:i.status,n=i.statusText||"OK",r=new f(i.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||e.url;return s=new x({headers:r,status:t,statusText:n,url:o})},l=function(){var t=u(),r=t.headers,o=t.status,a=t.statusText,s=t.url,l=null;204!==o&&(l=void 0===i.response?i.responseText:i.response),0===o&&(o=l?200:0);var c=o>=200&&o<300;if("json"===e.responseType&&"string"==typeof l){var h=l;l=l.replace(R,"");try{l=""!==l?JSON.parse(l):null}catch(f){l=h,c&&(c=!1,l={error:f,text:l})}}c?(n.next(new E({body:l,headers:r,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new S({error:l,headers:r,status:o,statusText:a,url:s||void 0}))},c=function(e){var t=u().url,r=new S({error:e,status:i.status||0,statusText:i.statusText||"Unknown Error",url:t||void 0});n.error(r)},h=!1,d=function(t){h||(n.next(u()),h=!0);var r={type:C.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(r.total=t.total),"text"===e.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},p=function(e){var t={type:C.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return i.addEventListener("load",l),i.addEventListener("error",c),i.addEventListener("timeout",c),i.addEventListener("abort",c),e.reportProgress&&(i.addEventListener("progress",d),null!==a&&i.upload&&i.upload.addEventListener("progress",p)),i.send(a),n.next({type:C.Sent}),function(){i.removeEventListener("error",c),i.removeEventListener("abort",c),i.removeEventListener("load",l),i.removeEventListener("timeout",c),e.reportProgress&&(i.removeEventListener("progress",d),null!==a&&i.upload&&i.upload.removeEventListener("progress",p)),i.readyState!==i.DONE&&i.abort()}})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.JF))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),M=new r.OlP("XSRF_COOKIE_NAME"),L=new r.OlP("XSRF_HEADER_NAME"),F=function e(){_classCallCheck(this,e)},N=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.doc=t,this.platform=n,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return _createClass(e,[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,i.Mx)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.K0),r.LFG(r.Lbi),r.LFG(M))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),B=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.tokenService=t,this.headerName=n}return _createClass(e,[{key:"intercept",value:function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var i=this.tokenService.getToken();return null===i||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,i)})),t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(F),r.LFG(L))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),U=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.backend=t,this.injector=n,this.chain=null}return _createClass(e,[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(P,[]);this.chain=t.reduceRight(function(e,t){return new T(e,t)},this.backend)}return this.chain.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(h),r.LFG(r.zs3))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),j=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:B,useClass:I}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:M,useValue:t.cookieName}:[],t.headerName?{provide:L,useValue:t.headerName}:[]]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[B,{provide:P,useExisting:B,multi:!0},{provide:F,useClass:N},{provide:M,useValue:"XSRF-TOKEN"},{provide:L,useValue:"X-XSRF-TOKEN"}]}),e}(),Z=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[A,{provide:c,useClass:U},D,{provide:h,useExisting:D}],imports:[[j.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e}()},3018:function(e,t,n){"use strict";n.d(t,{deG:function(){return rn},tb:function(){return Nu},AFp:function(){return Ru},ip1:function(){return Pu},CZH:function(){return Iu},hGG:function(){return Tl},z2F:function(){return yl},sBO:function(){return Ls},Sil:function(){return Ku},_Vd:function(){return os},EJc:function(){return ju},SBq:function(){return ls},qLn:function(){return wi},vpe:function(){return hu},gxx:function(){return ho},tBr:function(){return Sn},XFs:function(){return R},OlP:function(){return nn},zs3:function(){return So},ZZ4:function(){return As},aQg:function(){return Ps},soG:function(){return Uu},YKP:function(){return Hs},v3s:function(){return kl},h0i:function(){return Vs},PXZ:function(){return pl},R0b:function(){return Ju},FiY:function(){return On},Lbi:function(){return Fu},g9A:function(){return Lu},n_E:function(){return du},Qsj:function(){return fs},FYo:function(){return hs},JOm:function(){return Oi},Tiy:function(){return ps},q3G:function(){return pi},tp0:function(){return An},EAV:function(){return xl},Rgc:function(){return js},dDg:function(){return rl},DyG:function(){return on},GfV:function(){return vs},s_b:function(){return Ys},ifc:function(){return N},eFA:function(){return vl},G48:function(){return fl},Gpc:function(){return v},f3M:function(){return kn},X6Q:function(){return hl},_c5:function(){return Ol},VLi:function(){return al},c2e:function(){return Bu},zSh:function(){return po},wAp:function(){return Ga},vHH:function(){return g},EiD:function(){return fi},mCW:function(){return Wn},qzn:function(){return Bn},JVY:function(){return jn},pB0:function(){return Hn},eBb:function(){return qn},L6k:function(){return Zn},LAX:function(){return Vn},cg1:function(){return Ha},Tjo:function(){return Sl},kL8:function(){return za},yhl:function(){return Un},dqk:function(){return q},sIi:function(){return Fo},CqO:function(){return ta},QGY:function(){return $o},F4k:function(){return ea},RDi:function(){return xe},AaK:function(){return f},z3N:function(){return Nn},qOj:function(){return Ao},TTD:function(){return ye},_Bn:function(){return ns},xp6:function(){return dr},uIk:function(){return jo},Tol:function(){return ka},Gre:function(){return Ba},ekj:function(){return ba},Suo:function(){return Eu},Xpm:function(){return $},lG2:function(){return ae},Yz7:function(){return C},cJS:function(){return w},oAB:function(){return ie},Yjl:function(){return se},Y36:function(){return Ho},_UZ:function(){return Wo},BQk:function(){return Jo},ynx:function(){return Qo},qZA:function(){return Ko},TgZ:function(){return Go},EpF:function(){return Xo},n5z:function(){return Xt},Ikx:function(){return Ua},LFG:function(){return bn},$8M:function(){return en},NdJ:function(){return na},CRH:function(){return Su},kcU:function(){return mt},O4$:function(){return _t},oxw:function(){return sa},ALo:function(){return uu},lcZ:function(){return lu},Hsn:function(){return ca},F$t:function(){return la},Q6J:function(){return zo},s9C:function(){return ha},VKq:function(){return au},iGM:function(){return wu},MAs:function(){return Vo},pYS:function(){return Ei},CHM:function(){return Ve},oJD:function(){return vi},LSH:function(){return _i},kYT:function(){return re},Udp:function(){return ya},WFA:function(){return ia},d8E:function(){return ja},YNc:function(){return qo},_uU:function(){return Da},Oqu:function(){return Ma},hij:function(){return La},AsE:function(){return Fa},lnq:function(){return Na},Gf:function(){return xu}});var i=n(9765),r=n(5319),o=n(7574),a=n(6682),s=n(2441),u=n(1307);function l(){return new i.xQ}function c(e){for(var t in e)if(e[t]===c)return t;throw Error("Could not find renamed property on target object.")}function h(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function f(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(f).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function d(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var p=c({__forward_ref__:c});function v(e){return e.__forward_ref__=v,e.toString=function(){return f(this())},e}function _(e){return m(e)?e():e}function m(e){return"function"==typeof e&&e.hasOwnProperty(p)&&e.__forward_ref__===v}var g=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,function(e,t){return"".concat(e?"NG0".concat(e,": "):"").concat(t)}(e,i))).code=e,r}return n}(_wrapNativeSuper(Error));function y(e){return"string"==typeof e?e:null==e?"":String(e)}function b(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():y(e)}function k(e,t){var n=t?" in ".concat(t):"";throw new g("201","No provider for ".concat(b(e)," found").concat(n))}function C(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function w(e){return{providers:e.providers||[],imports:e.imports||[]}}function x(e){return E(e,A)||E(e,P)}function E(e,t){return e.hasOwnProperty(t)?e[t]:null}function S(e){return e&&(e.hasOwnProperty(T)||e.hasOwnProperty(I))?e[T]:null}var O,A=c({"\u0275prov":c}),T=c({"\u0275inj":c}),P=c({ngInjectableDef:c}),I=c({ngInjectorDef:c}),R=((R=R||{})[R.Default=0]="Default",R[R.Host=1]="Host",R[R.Self=2]="Self",R[R.SkipSelf=4]="SkipSelf",R[R.Optional=8]="Optional",R);function D(e){var t=O;return O=e,t}function M(e,t,n){var i=x(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&R.Optional?null:void 0!==t?t:void k(f(e),"Injector")}function L(e){return{toString:e}.toString()}var F=((F=F||{})[F.OnPush=0]="OnPush",F[F.Default=1]="Default",F),N=((N=N||{})[N.Emulated=0]="Emulated",N[N.None=2]="None",N[N.ShadowDom=3]="ShadowDom",N),B="undefined"!=typeof globalThis&&globalThis,U="undefined"!=typeof window&&window,j="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Z="undefined"!=typeof global&&global,q=B||Z||U||j,V={},H=[],z=c({"\u0275cmp":c}),Y=c({"\u0275dir":c}),G=c({"\u0275pipe":c}),K=c({"\u0275mod":c}),W=c({"\u0275loc":c}),Q=c({"\u0275fac":c}),J=c({__NG_ELEMENT_ID__:c}),X=0;function $(e){return L(function(){var t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===F.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||H,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||N.Emulated,id:"c",styles:e.styles||H,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,r=e.features,o=e.pipes;return n.id+=X++,n.inputs=oe(e.inputs,t),n.outputs=oe(e.outputs),r&&r.forEach(function(e){return e(n)}),n.directiveDefs=i?function(){return("function"==typeof i?i():i).map(ee)}:null,n.pipeDefs=o?function(){return("function"==typeof o?o():o).map(te)}:null,n})}function ee(e){return ue(e)||function(e){return e[Y]||null}(e)}function te(e){return function(e){return e[G]||null}(e)}var ne={};function ie(e){return L(function(){var t={type:e.type,bootstrap:e.bootstrap||H,declarations:e.declarations||H,imports:e.imports||H,exports:e.exports||H,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(ne[e.id]=e.type),t})}function re(e,t){return L(function(){var n=le(e,!0);n.declarations=t.declarations||H,n.imports=t.imports||H,n.exports=t.exports||H})}function oe(e,t){if(null==e)return V;var n={};for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,t&&(t[r]=o)}return n}var ae=$;function se(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function ue(e){return e[z]||null}function le(e,t){var n=e[K]||null;if(!n&&!0===t)throw new Error("Type ".concat(f(e)," does not have '\u0275mod' property."));return n}function ce(e){return Array.isArray(e)&&"object"==typeof e[1]}function he(e){return Array.isArray(e)&&!0===e[1]}function fe(e){return 0!=(8&e.flags)}function de(e){return 2==(2&e.flags)}function pe(e){return 1==(1&e.flags)}function ve(e){return null!==e.template}function _e(e,t){return e.hasOwnProperty(Q)?e[Q]:null}var me,ge=function(){function e(t,n,i){_classCallCheck(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=i}return _createClass(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function ye(){return be}function be(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ce),ke}function ke(){var e=we(this),t=null==e?void 0:e.current;if(t){var n=e.previous;if(n===V)e.previous=t;else for(var i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Ce(e,t,n,i){var r=we(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:V,current:null}),o=r.current||(r.current={}),a=r.previous,s=this.declaredInputs[n],u=a[s];o[s]=new ge(u&&u.currentValue,t,a===V),e[i]=t}function we(e){return e.__ngSimpleChanges__||null}function xe(e){me=e}function Ee(){return void 0!==me?me:"undefined"!=typeof document?document:void 0}function Se(e){return!!e.listen}ye.ngInherit=!0;var Oe={createRenderer:function(e,t){return Ee()}};function Ae(e){for(;Array.isArray(e);)e=e[0];return e}function Te(e,t){return Ae(t[e])}function Pe(e,t){return Ae(t[e.index])}function Ie(e,t){return e.data[t]}function Re(e,t){return e[t]}function De(e,t){var n=t[e];return ce(n)?n:n[0]}function Me(e){return 4==(4&e[2])}function Le(e){return 128==(128&e[2])}function Fe(e,t){return null==t?null:e[t]}function Ne(e){e[18]=0}function Be(e,t){e[5]+=t;for(var n=e,i=e[3];null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}var Ue={lFrame:lt(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function je(){return Ue.bindingsEnabled}function Ze(){return Ue.lFrame.lView}function qe(){return Ue.lFrame.tView}function Ve(e){return Ue.lFrame.contextLView=e,e[8]}function He(){for(var e=ze();null!==e&&64===e.type;)e=e.parent;return e}function ze(){return Ue.lFrame.currentTNode}function Ye(e,t){var n=Ue.lFrame;n.currentTNode=e,n.isParent=t}function Ge(){return Ue.lFrame.isParent}function Ke(){Ue.lFrame.isParent=!1}function We(){return Ue.isInCheckNoChangesMode}function Qe(e){Ue.isInCheckNoChangesMode=e}function Je(){var e=Ue.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Xe(){return Ue.lFrame.bindingIndex}function $e(){return Ue.lFrame.bindingIndex++}function et(e){var t=Ue.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function tt(e){Ue.lFrame.currentDirectiveIndex=e}function nt(e){var t=Ue.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function it(){return Ue.lFrame.currentQueryIndex}function rt(e){Ue.lFrame.currentQueryIndex=e}function ot(e){var t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function at(e,t,n){if(n&R.SkipSelf){for(var i=t,r=e;!(null!==(i=i.parent)||n&R.Host||(i=ot(r),null===i)||(r=r[15],10&i.type)););if(null===i)return!1;t=i,e=r}var o=Ue.lFrame=ut();return o.currentTNode=t,o.lView=e,!0}function st(e){var t=ut(),n=e[1];Ue.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ut(){var e=Ue.lFrame,t=null===e?null:e.child;return null===t?lt(e):t}function lt(e){var 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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function ct(){var e=Ue.lFrame;return Ue.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ht=ct;function ft(){var e=ct();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function dt(){return Ue.lFrame.selectedIndex}function pt(e){Ue.lFrame.selectedIndex=e}function vt(){var e=Ue.lFrame;return Ie(e.tView,e.selectedIndex)}function _t(){Ue.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function mt(){Ue.lFrame.currentNamespace=null}function gt(e,t){for(var n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[s]<0&&(e[18]+=65536),(a>11>16&&(3&e[2])===t){e[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}var xt=function e(t,n,i){_classCallCheck(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i};function Et(e,t,n){for(var i=Se(e),r=0;rt){a=o-1;break}}}for(;o>16,i=t;n>0;)i=i[15],n--;return i}var Dt=!0;function Mt(e){var t=Dt;return Dt=e,t}var Lt=0;function Ft(e,t){var n=Bt(e,t);if(-1!==n)return n;var i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Nt(i.data,e),Nt(t,null),Nt(i.blueprint,null));var r=Ut(e,t),o=e.injectorIndex;if(Pt(r))for(var a=It(r),s=Rt(r,t),u=s[1].data,l=0;l<8;l++)t[o+l]=s[a+l]|u[a+l];return t[o+8]=r,o}function Nt(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Bt(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ut(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=0,i=null,r=t;null!==r;){var o=r[1],a=o.type;if(null===(i=2===a?o.declTNode:1===a?r[6]:null))return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function jt(e,t,n){!function(e,t,n){var i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(J)&&(i=n[J]),null==i&&(i=n[J]=Lt++);var r=255&i;t.data[e+(r>>5)]|=1<3&&void 0!==arguments[3]?arguments[3]:R.Default,r=arguments.length>4?arguments[4]:void 0;if(null!==e){var o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e.hasOwnProperty(J)?e[J]:void 0;return"number"==typeof t?t>=0?255&t:zt:t}(n);if("function"==typeof o){if(!at(t,e,i))return i&R.Host?Zt(r,n,i):qt(t,n,i,r);try{var a=o(i);if(null!=a||i&R.Optional)return a;k(n)}finally{ht()}}else if("number"==typeof o){var s=null,u=Bt(e,t),l=-1,c=i&R.Host?t[16][6]:null;for((-1===u||i&R.SkipSelf)&&(-1!==(l=-1===u?Ut(e,t):t[u+8])&&Qt(i,!1)?(s=t[1],u=It(l),t=Rt(l,t)):u=-1);-1!==u;){var h=t[1];if(Wt(o,u,h.data)){var f=Yt(u,t,n,s,i,c);if(f!==Ht)return f}-1!==(l=t[u+8])&&Qt(i,t[1].data[u+8]===c)&&Wt(o,u,t)?(s=h,u=It(l),t=Rt(l,t)):u=-1}}}return qt(t,n,i,r)}var Ht={};function zt(){return new Jt(He(),Ze())}function Yt(e,t,n,i,r,o){var a=t[1],s=a.data[e+8],u=Gt(s,a,n,null==i?de(s)&&Dt:i!=a&&0!=(3&s.type),r&R.Host&&o===s);return null!==u?Kt(t,a,u,s):Ht}function Gt(e,t,n,i,r){for(var o=e.providerIndexes,a=t.data,s=1048575&o,u=e.directiveStart,l=o>>20,c=r?s+l:e.directiveEnd,h=i?s:s+l;h=u&&f.type===n)return h}if(r){var d=a[u];if(d&&ve(d)&&d.type===n)return u}return null}function Kt(e,t,n,i){var r=e[n],o=t.data;if(r instanceof xt){var a=r;a.resolving&&function(e,t){throw new g("200","Circular dependency in DI detected for ".concat(e))}(b(o[n]));var s=Mt(a.canSeeViewProviders);a.resolving=!0;var u=a.injectImpl?D(a.injectImpl):null;at(e,i,R.Default);try{r=e[n]=a.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){var i=t.type.prototype,r=i.ngOnChanges,o=i.ngOnInit,a=i.ngDoCheck;if(r){var s=be(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,o[n],t)}finally{null!==u&&D(u),Mt(s),a.resolving=!1,ht()}}return r}function Wt(e,t,n){return!!(n[t+(e>>5)]&1<=e.length?e.push(n):e.splice(t,0,n)}function ln(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function cn(e,t){for(var n=[],i=0;i=0?e[1|i]=n:function(e,t,n,i){var r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i=~i,t,n),i}function fn(e,t){var n=dn(e,t);if(n>=0)return e[1|n]}function dn(e,t){return function(e,t,n){for(var i=0,r=e.length>>1;r!==i;){var o=i+(r-i>>1),a=e[o<<1];if(t===a)return o<<1;a>t?r=o:i=o+1}return~(r<<1)}(e,t)}var pn,vn={},_n=/\n/gm,mn=c({provide:String,useValue:c});function gn(e){var t=pn;return pn=e,t}function yn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R.Default;if(void 0===pn)throw new Error("inject() must be called from an injection context");return null===pn?M(e,void 0,t):pn.get(e,t&R.Optional?null:void 0,t)}function bn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R.Default;return(O||yn)(_(e),t)}var kn=bn;function Cn(e){for(var t=[],n=0;n"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();ii.hasOwnProperty(t)&&!$n.hasOwnProperty(t)&&(this.buf.push(""))}},{key:"chars",value:function(e){this.buf.push(hi(e))}},{key:"checkClobberedElement",value:function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(e.outerHTML));return t}}]),e}(),li=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ci=/([^\#-~ |!])/g;function hi(e){return e.replace(/&/g,"&").replace(li,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(ci,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function fi(e,t){var n=null;try{Xn=Xn||function(e){var t=new Yn(e);return function(){try{return!!(new window.DOMParser).parseFromString(Tn(""),"text/html")}catch(e){return!1}}()?new zn(t):t}(e);var i=t?String(t):"";n=Xn.getInertBodyElement(i);var r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=Xn.getInertBodyElement(i)}while(i!==o);return Tn((new ui).sanitizeChildren(di(n)||n))}finally{if(n)for(var a=di(n)||n;a.firstChild;)a.removeChild(a.firstChild)}}function di(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var pi=((pi=pi||{})[pi.NONE=0]="NONE",pi[pi.HTML=1]="HTML",pi[pi.STYLE=2]="STYLE",pi[pi.SCRIPT=3]="SCRIPT",pi[pi.URL=4]="URL",pi[pi.RESOURCE_URL=5]="RESOURCE_URL",pi);function vi(e){var t=mi();return t?Pn(t.sanitize(pi.HTML,e)||""):Bn(e,"HTML")?Pn(Nn(e)):fi(Ee(),y(e))}function _i(e){var t=mi();return t?t.sanitize(pi.URL,e)||"":Bn(e,"URL")?Nn(e):Wn(y(e))}function mi(){var e=Ze();return e&&e[12]}function gi(e,t){e.__ngContext__=t}function yi(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function bi(e){return e.ngDebugContext}function ki(e){return e.ngOriginalError}function Ci(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i0&&(e[i-1][4]=r[4]);var a=ln(e,10+t);Ji(r[1],n=r,n[11],2,null,null),n[0]=null,n[6]=null;var s=a[19];null!==s&&s.detachView(a[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function Ni(e,t){if(!(256&t[2])){var n=t[11];Se(n)&&n.destroyNode&&Ji(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return Bi(e[1],e);for(;t;){var n=null;if(ce(t))n=t[13];else{var i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)ce(t)&&Bi(t[1],t),t=t[3];null===t&&(t=e),ce(t)&&Bi(t[1],t),n=t&&t[4]}t=n}}(t)}}function Bi(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var i=0;i=0?i[r=l]():i[r=-l].unsubscribe(),o+=2}else{var c=i[r=n[o+1]];n[o].call(c)}if(null!==i){for(var h=r+1;ho?"":r[c+1].toLowerCase();var f=8&i?h:null;if(f&&-1!==tr(f,l,0)||2&i&&l!==h){if(ar(i))return!1;a=!0}}}}else{if(!a&&!ar(i)&&!ar(u))return!1;if(a&&ar(u))continue;a=!1,i=u|1&i}}return ar(i)||a}function ar(e){return 0==(1&e)}function sr(e,t,n,i){if(null===t)return-1;var r=0;if(i||!n){for(var o=!1;r-1)for(n++;n2&&void 0!==arguments[2]&&arguments[2],i=0;i0?'="'+s+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""===r||ar(a)||(t+=cr(o,r),r=""),i=a,o=o||!ar(i);n++}return""!==r&&(t+=cr(o,r)),t}var fr={};function dr(e){pr(qe(),Ze(),dt()+e,We())}function pr(e,t,n,i){if(!i)if(3==(3&t[2])){var r=e.preOrderCheckHooks;null!==r&&yt(t,r,n)}else{var o=e.preOrderHooks;null!==o&&bt(t,o,0,n)}pt(n)}function vr(e,t){return e<<17|t<<2}function _r(e){return e>>17&32767}function mr(e){return 2|e}function gr(e){return(131068&e)>>2}function yr(e,t){return-131069&e|t<<2}function br(e){return 1|e}function kr(e,t){var n=e.contentQueries;if(null!==n)for(var i=0;i20&&pr(e,t,20,We()),n(i,r)}finally{pt(o)}}function Tr(e,t,n){if(fe(t))for(var i=t.directiveEnd,r=t.directiveStart;r2&&void 0!==arguments[2]?arguments[2]:Pe,i=t.localNames;if(null!==i)for(var r=t.index+1,o=0;o0;){var n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=u&&s.push(u),s.push(i,r,a)}}function Ur(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function jr(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Zr(e,t,n){if(n){if(t.exportAs)for(var i=0;i0&&Wr(n)}}function Wr(e){for(var t=Pi(e);null!==t;t=Ii(t))for(var n=10;n0&&Wr(i)}var o=e[1].components;if(null!==o)for(var a=0;a0&&Wr(s)}}function Qr(e,t){var n=De(t,e),i=n[1];!function(e,t){for(var n=t.length;n1&&void 0!==arguments[1]?arguments[1]:vn;if(t===vn){var n=new Error("NullInjectorError: No provider for ".concat(f(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),po=new nn("Set Injector scope."),vo={},_o={};function mo(){return void 0===co&&(co=new fo),co}function go(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;return new yo(e,n,t||mo(),i)}var yo=function(){function e(t,n,i){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];n&&sn(n,function(e){return r.processProvider(e,t,n)}),sn([t],function(e){return r.processInjectorType(e,[],a)}),this.records.set(ho,Co(void 0,this));var s=this.records.get(po);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:f(t))}return _createClass(e,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:vn,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R.Default;this.assertNotDestroyed();var i,r=gn(this);try{if(!(n&R.SkipSelf)){var o=this.records.get(e);if(void 0===o){var a=("function"==typeof(i=e)||"object"==typeof i&&i instanceof nn)&&x(e);o=a&&this.injectableDefInScope(a)?Co(bo(e),vo):null,this.records.set(e,o)}if(null!=o)return this.hydrate(e,o)}return(n&R.Self?mo():this.parent).get(e,t=n&R.Optional&&t===vn?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(f(e)),r)throw s;return function(e,t,n,i){var r=e.ngTempTokenPath;throw t.__source&&r.unshift(t.__source),e.message=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var r=f(t);if(Array.isArray(t))r=t.map(f).join(" -> ");else if("object"==typeof t){var o=[];for(var a in t)if(t.hasOwnProperty(a)){var s=t[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):f(s)))}r="{".concat(o.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(r,"]: ").concat(e.replace(_n,"\n "))}("\n"+e.message,r,"R3InjectorError",i),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(s,e,0,this.source)}throw s}finally{gn(r)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach(function(t){return e.get(t)})}},{key:"toString",value:function(){var e=[];return this.records.forEach(function(t,n){return e.push(f(n))}),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,n){var i=this;if(!(e=_(e)))return!1;var r=S(e),o=null==r&&e.ngModule||void 0,a=void 0===o?e:o,s=-1!==n.indexOf(a);if(void 0!==o&&(r=S(o)),null==r)return!1;if(null!=r.imports&&!s){var u;n.push(a);try{sn(r.imports,function(e){i.processInjectorType(e,t,n)&&(void 0===u&&(u=[]),u.push(e))})}finally{}if(void 0!==u)for(var l=function(e){var t=u[e],n=t.ngModule,r=t.providers;sn(r,function(e){return i.processProvider(e,n,r||H)})},c=0;c0){var n=cn(t,"?");throw new Error("Can't resolve all parameters for ".concat(f(e),": (").concat(n.join(", "),")."))}var i=function(e){var t=e&&(e[A]||e[P]);if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "').concat(n,'" class.')),t}return null}(e);return null!==i?function(){return i.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function ko(e,t,n){var i,r;if(xo(e)){var o=_(e);return _e(o)||bo(o)}if(wo(e))i=function(){return _(e.useValue)};else if((r=e)&&r.useFactory)i=function(){return e.useFactory.apply(e,_toConsumableArray(Cn(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))i=function(){return bn(_(e.useExisting))};else{var a=_(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return _e(a)||bo(a);i=function(){return _construct(a,_toConsumableArray(Cn(e.deps)))}}return i}function Co(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function wo(e){return null!==e&&"object"==typeof e&&mn in e}function xo(e){return"function"==typeof e}var Eo=function(e,t,n){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0,r=go(e,t,n,i);return r._resolveInjectorDefTypes(),r}({name:n},t,e,n)},So=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?Eo(e,t,""):Eo(e.providers,e.parent,e.name||"")}}]),e}();function Oo(e,t){gt(yi(e)[1],He())}function Ao(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0,i=[e];t;){var r=void 0;if(ve(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");r=t.\u0275dir}if(r){if(n){i.push(r);var o=e;o.inputs=To(e.inputs),o.declaredInputs=To(e.declaredInputs),o.outputs=To(e.outputs);var a=r.hostBindings;a&&Ro(e,a);var s=r.viewQuery,u=r.contentQueries;if(s&&Po(e,s),u&&Io(e,u),h(e.inputs,r.inputs),h(e.declaredInputs,r.declaredInputs),h(e.outputs,r.outputs),ve(r)&&r.data.animation){var l=e.data;l.animation=(l.animation||[]).concat(r.data.animation)}}var c=r.features;if(c)for(var f=0;f=0;i--){var r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=At(r.hostAttrs,n=At(n,r.hostAttrs))}}(i)}function To(e){return e===V?{}:e===H?[]:e}function Po(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,i){t(e,i),n(e,i)}:t}function Io(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,i,r){t(e,i,r),n(e,i,r)}:t}function Ro(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,i){t(e,i),n(e,i)}:t}So.THROW_IF_NOT_FOUND=vn,So.NULL=new fo,So.\u0275prov=C({token:So,providedIn:"any",factory:function(){return bn(ho)}}),So.__NG_ELEMENT_ID__=-1;var Do=null;function Mo(){if(!Do){var e=q.Symbol;if(e&&e.iterator)Do=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n1&&void 0!==arguments[1]?arguments[1]:R.Default,n=Ze();return null===n?bn(e,t):Vt(He(),n,_(e),t)}function zo(e,t,n){var i=Ze();return Bo(i,$e(),t)&&Fr(qe(),vt(),i,e,t,i[11],n,!1),zo}function Yo(e,t,n,i,r){var o=r?"class":"style";so(e,n,t.inputs[o],o,i)}function Go(e,t,n,i){var r=Ze(),o=qe(),a=20+e,s=r[11],u=r[a]=Mi(s,t,Ue.lFrame.currentNamespace),l=o.firstCreatePass?function(e,t,n,i,r,o,a){var s=t.consts,u=wr(t,e,2,r,Fe(s,o));return Nr(t,n,u,Fe(s,a)),null!==u.attrs&&lo(u,u.attrs,!1),null!==u.mergedAttrs&&lo(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(a,o,r,0,t,n,i):o.data[a];Ye(l,!0);var c=l.mergedAttrs;null!==c&&Et(s,u,c);var h=l.classes;null!==h&&er(s,u,h);var f=l.styles;null!==f&&$i(s,u,f),64!=(64&l.flags)&&Yi(o,r,u,l),0===Ue.lFrame.elementDepthCount&&gi(u,r),Ue.lFrame.elementDepthCount++,pe(l)&&(Pr(o,r,l),Tr(o,l,r)),null!==i&&Ir(r,l)}function Ko(){var e=He();Ge()?Ke():Ye(e=e.parent,!1);var t=e;Ue.lFrame.elementDepthCount--;var n=qe();n.firstCreatePass&&(gt(n,e),fe(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Yo(n,t,Ze(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Yo(n,t,Ze(),t.stylesWithoutHost,!1)}function Wo(e,t,n,i){Go(e,t,n,i),Ko()}function Qo(e,t,n){var i=Ze(),r=qe(),o=e+20,a=r.firstCreatePass?function(e,t,n,i,r){var o=t.consts,a=Fe(o,i),s=wr(t,e,8,"ng-container",a);return null!==a&&lo(s,a,!0),Nr(t,n,s,Fe(o,r)),null!==t.queries&&t.queries.elementStart(t,s),s}(o,r,i,t,n):r.data[o];Ye(a,!0);var s=i[o]=i[11].createComment("");Yi(r,i,s,a),gi(s,i),pe(a)&&(Pr(r,i,a),Tr(r,a,i)),null!=n&&Ir(i,a)}function Jo(){var e=He(),t=qe();Ge()?Ke():Ye(e=e.parent,!1),t.firstCreatePass&&(gt(t,e),fe(e)&&t.queries.elementEnd(e))}function Xo(){return Ze()}function $o(e){return!!e&&"function"==typeof e.then}function ea(e){return!!e&&"function"==typeof e.subscribe}var ta=ea;function na(e,t,n,i){var r=Ze(),o=qe(),a=He();return ra(o,r,r[11],a,e,t,!!n,i),na}function ia(e,t){var n=He(),i=Ze(),r=qe();return ra(r,i,oo(nt(r.data),n,i),n,e,t,!1),ia}function ra(e,t,n,i,r,o,a,s){var u=pe(i),l=e.firstCreatePass&&ro(e),c=io(t),h=!0;if(3&i.type||s){var f=Pe(i,t),d=s?s(f):f,p=c.length,v=s?function(e){return s(Ae(e[i.index]))}:i.index;if(Se(n)){var _=null;if(!s&&u&&(_=function(e,t,n,i){var r=e.cleanup;if(null!=r)for(var o=0;ou?s[u]:null}"string"==typeof a&&(o+=2)}return null}(e,t,r,i.index)),null!==_)(_.__ngLastListenerFn__||_).__ngNextListenerFn__=o,_.__ngLastListenerFn__=o,h=!1;else{o=aa(i,t,0,o,!1);var m=n.listen(d,r,o);c.push(o,m),l&&l.push(r,v,p,p+1)}}else o=aa(i,t,0,o,!0),d.addEventListener(r,o,a),c.push(o),l&&l.push(r,v,p,a)}else o=aa(i,t,0,o,!1);var g,y=i.outputs;if(h&&null!==y&&(g=y[r])){var b=g.length;if(b)for(var k=0;k0&&void 0!==arguments[0]?arguments[0]:1;return function(e){return(Ue.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Ue.lFrame.contextLView))[8]}(e)}function ua(e,t){for(var n=null,i=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=Ze(),r=qe(),o=wr(r,20+e,16,null,n||null);null===o.projection&&(o.projection=t),Ke(),64!=(64&o.flags)&&function(e,t,n){Xi(t[11],0,t,n,Ui(e,n,t),Hi(n.parent||t[6],n,t))}(r,i,o)}function ha(e,t,n){return fa(e,"",t,"",n),ha}function fa(e,t,n,i,r){var o=Ze(),a=Zo(o,t,n,i);return a!==fr&&Fr(qe(),vt(),o,e,a,o[11],r,!1),fa}function da(e,t,n,i,r){for(var o=e[n+1],a=null===t,s=i?_r(o):gr(o),u=!1;0!==s&&(!1===u||a);){var l=e[s+1];pa(e[s],t)&&(u=!0,e[s+1]=i?br(l):mr(l)),s=i?_r(l):gr(l)}u&&(e[n+1]=i?mr(o):br(o))}function pa(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&dn(e,t)>=0}var va={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function _a(e){return e.substring(va.key,va.keyEnd)}function ma(e,t){var n=va.textEnd;return n===t?-1:(t=va.keyEnd=function(e,t,n){for(;t32;)t++;return t}(e,va.key=t,n),ga(e,t,n))}function ga(e,t,n){for(;t=0;n=ma(t,n))hn(e,_a(t),!0)}function wa(e,t,n,i){var r=Ze(),o=qe(),a=et(2);o.firstUpdatePass&&Sa(o,e,a,i),t!==fr&&Bo(r,a,t)&&Ta(o,o.data[dt()],r,r[11],e,r[a+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=f(Nn(e)))),e}(t,n),i,a)}function xa(e,t,n,i){var r=qe(),o=et(2);r.firstUpdatePass&&Sa(r,null,o,i);var a=Ze();if(n!==fr&&Bo(a,o,n)){var s=r.data[dt()];if(Ra(s,i)&&!Ea(r,o)){var u=i?s.classesWithoutHost:s.stylesWithoutHost;null!==u&&(n=d(u,n||"")),Yo(r,s,a,n,i)}else!function(e,t,n,i,r,o,a,s){r===fr&&(r=H);for(var u=0,l=0,c=0=e.expandoStartIndex}function Sa(e,t,n,i){var r=e.data;if(null===r[n+1]){var o=r[dt()],a=Ea(e,n);Ra(o,i)&&null===t&&!a&&(t=!1),t=function(e,t,n,i){var r=nt(e),o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Aa(n=Oa(null,e,t,n,i),t.attrs,i),o=null);else{var a=t.directiveStylingLast;if(-1===a||e[a]!==r)if(n=Oa(r,e,t,n,i),null===o){var s=function(e,t,n){var i=n?t.classBindings:t.styleBindings;if(0!==gr(i))return e[_r(i)]}(e,t,i);void 0!==s&&Array.isArray(s)&&function(e,t,n,i){e[_r(n?t.classBindings:t.styleBindings)]=i}(e,t,i,s=Aa(s=Oa(null,e,t,s[1],i),t.attrs,i))}else o=function(e,t,n){for(var i,r=t.directiveEnd,o=1+t.directiveStylingLast;o0)&&(c=!0)}else l=n;if(r)if(0!==u){var f=_r(e[s+1]);e[i+1]=vr(f,s),0!==f&&(e[f+1]=yr(e[f+1],i)),e[s+1]=131071&e[s+1]|i<<17}else e[i+1]=vr(s,0),0!==s&&(e[s+1]=yr(e[s+1],i)),s=i;else e[i+1]=vr(u,0),0===s?s=i:e[u+1]=yr(e[u+1],i),u=i;c&&(e[i+1]=mr(e[i+1])),da(e,l,i,!0),da(e,l,i,!1),function(e,t,n,i,r){var o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&dn(o,t)>=0&&(n[i+1]=br(n[i+1]))}(t,l,e,i,o),a=vr(s,u),o?t.classBindings=a:t.styleBindings=a}(r,o,t,n,a,i)}}function Oa(e,t,n,i,r){var o=null,a=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s0;){var u=e[r],l=Array.isArray(u),c=l?u[1]:u,h=null===c,f=n[r+1];f===fr&&(f=h?H:void 0);var d=h?fn(f,i):c===i?f:void 0;if(l&&!Ia(d)&&(d=fn(u,i)),Ia(d)&&(a=d,s))return a;var p=e[r+1];r=s?_r(p):gr(p)}if(null!==t){var v=o?t.residualClasses:t.residualStyles;null!=v&&(a=fn(v,i))}return a}function Ia(e){return void 0!==e}function Ra(e,t){return 0!=(e.flags&(t?16:32))}function Da(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Ze(),i=qe(),r=e+20,o=i.firstCreatePass?wr(i,r,1,t,null):i.data[r],a=n[r]=function(e,t){return Se(e)?e.createText(t):e.createTextNode(t)}(n[11],t);Yi(i,n,a,o),Ye(o,!1)}function Ma(e){return La("",e,""),Ma}function La(e,t,n){var i=Ze(),r=Zo(i,e,t,n);return r!==fr&&uo(i,dt(),r),La}function Fa(e,t,n,i,r){var o=Ze(),a=function(e,t,n,i,r,o){var a=Uo(e,Xe(),n,r);return et(2),a?t+y(n)+i+y(r)+o:fr}(o,e,t,n,i,r);return a!==fr&&uo(o,dt(),a),Fa}function Na(e,t,n,i,r,o,a){var s=Ze(),u=function(e,t,n,i,r,o,a,s){var u=function(e,t,n,i,r){var o=Uo(e,t,n,i);return Bo(e,t+2,r)||o}(e,Xe(),n,r,a);return et(3),u?t+y(n)+i+y(r)+o+y(a)+s:fr}(s,e,t,n,i,r,o,a);return u!==fr&&uo(s,dt(),u),Na}function Ba(e,t,n){xa(hn,Ca,Zo(Ze(),e,t,n),!0)}function Ua(e,t,n){var i=Ze();return Bo(i,$e(),t)&&Fr(qe(),vt(),i,e,t,i[11],n,!0),Ua}function ja(e,t,n){var i=Ze();if(Bo(i,$e(),t)){var r=qe(),o=vt();Fr(r,o,i,e,t,oo(nt(r.data),o,i),n,!0)}return ja}var Za=void 0,qa=["en",[["a","p"],["AM","PM"],Za],[["AM","PM"],Za,Za],[["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"]],Za,[["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"]],Za,[["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}",Za,"{1} 'at' {0}",Za],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],Va={};function Ha(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=Ya(t);if(n)return n;var i=t.split("-")[0];if(n=Ya(i))return n;if("en"===i)return qa;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}function za(e){return Ha(e)[Ga.PluralCase]}function Ya(e){return e in Va||(Va[e]=q.ng&&q.ng.common&&q.ng.common.locales&&q.ng.common.locales[e]),Va[e]}var Ga=((Ga=Ga||{})[Ga.LocaleId=0]="LocaleId",Ga[Ga.DayPeriodsFormat=1]="DayPeriodsFormat",Ga[Ga.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ga[Ga.DaysFormat=3]="DaysFormat",Ga[Ga.DaysStandalone=4]="DaysStandalone",Ga[Ga.MonthsFormat=5]="MonthsFormat",Ga[Ga.MonthsStandalone=6]="MonthsStandalone",Ga[Ga.Eras=7]="Eras",Ga[Ga.FirstDayOfWeek=8]="FirstDayOfWeek",Ga[Ga.WeekendRange=9]="WeekendRange",Ga[Ga.DateFormat=10]="DateFormat",Ga[Ga.TimeFormat=11]="TimeFormat",Ga[Ga.DateTimeFormat=12]="DateTimeFormat",Ga[Ga.NumberSymbols=13]="NumberSymbols",Ga[Ga.NumberFormats=14]="NumberFormats",Ga[Ga.CurrencyCode=15]="CurrencyCode",Ga[Ga.CurrencySymbol=16]="CurrencySymbol",Ga[Ga.CurrencyName=17]="CurrencyName",Ga[Ga.Currencies=18]="Currencies",Ga[Ga.Directionality=19]="Directionality",Ga[Ga.PluralCase=20]="PluralCase",Ga[Ga.ExtraData=21]="ExtraData",Ga);function Ka(e){var t;null==(t=e)&&function(e,t,n,i){throw new Error("ASSERTION ERROR: ".concat("Expected localeId to be defined"," [Expected=> null != ").concat(t," <=Actual]"))}(0,t),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}function Wa(e,t,n,i,r){if(e=_(e),Array.isArray(e))for(var o=0;o>20;if(xo(e)||!e.multi){var p=new xt(l,r,Ho),v=Xa(u,t,r?h:h+d,f);-1===v?(jt(Ft(c,s),a,u),Qa(a,e,t.length),t.push(u),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(p),s.push(p)):(n[v]=p,s[v]=p)}else{var m=Xa(u,t,h+d,f),g=Xa(u,t,h,h+d),y=m>=0&&n[m],b=g>=0&&n[g];if(r&&!b||!r&&!y){jt(Ft(c,s),a,u);var k=function(e,t,n,i,r){var o=new xt(e,n,Ho);return o.multi=[],o.index=t,o.componentProviders=0,Ja(o,r,i&&!n),o}(r?es:$a,n.length,r,i,l);!r&&b&&(n[g].providerFactory=k),Qa(a,e,t.length,0),t.push(u),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(k),s.push(k)}else Qa(a,e,m>-1?m:g,Ja(n[r?g:m],l,!r&&i));!r&&i&&b&&n[g].componentProviders++}}}function Qa(e,t,n,i){var r=xo(t);if(r||t.useClass){var o=(t.useClass||t).prototype.ngOnDestroy;if(o){var a=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){var s=a.indexOf(n);-1===s?a.push(n,[i,o]):a[s+1].push(i,o)}else a.push(n,o)}}}function Ja(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Xa(e,t,n,i){for(var r=n;r1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,i){return function(e,t,n){var i=qe();if(i.firstCreatePass){var r=ve(e);Wa(n,i.data,i.blueprint,r,!0),Wa(t,i.data,i.blueprint,r,!1)}}(n,i?i(e):e,t)}}}var is=function e(){_classCallCheck(this,e)},rs=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(f(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),os=function e(){_classCallCheck(this,e)};function as(){}function ss(e,t){return new ls(Pe(e,t))}os.NULL=new rs;var us=function(){return ss(He(),Ze())},ls=function(){var e=function e(t){_classCallCheck(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=us,e}();function cs(e){return e instanceof ls?e.nativeElement:e}var hs=function e(){_classCallCheck(this,e)},fs=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return ds()},e}(),ds=function(){var e=Ze(),t=De(He().index,e);return function(e){return e[11]}(ce(t)?t:e)},ps=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275prov=C({token:e,providedIn:"root",factory:function(){return null}}),e}(),vs=function e(t){_classCallCheck(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},_s=new vs("12.1.0"),ms=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"supports",value:function(e){return Fo(e)}},{key:"create",value:function(e){return new ys(e)}}]),e}(),gs=function(e,t){return t},ys=function(){function e(t){_classCallCheck(this,e),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||gs}return _createClass(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,i=0,r=null;t||n;){var o=!n||t&&t.currentIndex4&&void 0!==arguments[4]&&arguments[4];null!==n;){var o=t[n.index];if(null!==o&&i.push(Ae(o)),he(o))for(var a=10;a-1&&(Fi(e,n),ln(t,n))}this._attachedToViewContainer=!1}Ni(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){Mr(this._lView[1],this._lView,null,e)}},{key:"markForCheck",value:function(){Xr(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){$r(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){Qe(!0);try{$r(e,t,n)}finally{Qe(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,Ji(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}]),e}(),Ds=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this,e))._view=e,i}return _createClass(n,[{key:"detectChanges",value:function(){eo(this._view)}},{key:"checkNoChanges",value:function(){!function(e){Qe(!0);try{eo(e)}finally{Qe(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(Rs),Ms=function(e){return function(e,t,n){if(de(e)&&!n){var i=De(e.index,t);return new Rs(i,i)}return 47&e.type?new Rs(t[16],t):null}(He(),Ze(),16==(16&e))},Ls=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=Ms,e}(),Fs=[new xs],Ns=new As([new ms]),Bs=new Ps(Fs),Us=function(){return qs(He(),Ze())},js=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=Us,e}(),Zs=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this))._declarationLView=e,o._declarationTContainer=i,o.elementRef=r,o}return _createClass(n,[{key:"createEmbeddedView",value:function(e){var t=this._declarationTContainer.tViews,n=Cr(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];var i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),Er(t,n,e),new Rs(n)}}]),n}(js);function qs(e,t){return 4&e.type?new Zs(t,e,ss(e,t)):null}var Vs=function e(){_classCallCheck(this,e)},Hs=function e(){_classCallCheck(this,e)},zs=function(){return Qs(He(),Ze())},Ys=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=zs,e}(),Gs=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this))._lContainer=e,o._hostTNode=i,o._hostLView=r,o}return _createClass(n,[{key:"element",get:function(){return ss(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new Jt(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var e=Ut(this._hostTNode,this._hostLView);if(Pt(e)){var t=Rt(e,this._hostLView),n=It(e);return new Jt(t[1].data[n+8],t)}return new Jt(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){var t=Ks(this._lContainer);return null!==t&&t[e]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(e,t,n){var i=e.createEmbeddedView(t||{});return this.insert(i,n),i}},{key:"createComponent",value:function(e,t,n,i,r){var o=n||this.parentInjector;if(!r&&null==e.ngModule&&o){var a=o.get(Vs,null);a&&(r=a)}var s=e.create(o,i,void 0,r);return this.insert(s.hostView,t),s}},{key:"insert",value:function(e,t){var i=e._lView,r=i[1];if(he(i[3])){var o=this.indexOf(e);if(-1!==o)this.detach(o);else{var a=i[3],s=new n(a,a[6],a[3]);s.detach(s.indexOf(e))}}var u=this._adjustIndex(t),l=this._lContainer;!function(e,t,n,i){var r=10+i,o=n.length;i>0&&(n[r-1][4]=t),i1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}}]),n}(Ys);function Ks(e){return e[8]}function Ws(e){return e[8]||(e[8]=[])}function Qs(e,t){var n,i=t[e.index];if(he(i))n=i;else{var r;if(8&e.type)r=Ae(i);else{var o=t[11];r=o.createComment("");var a=Pe(e,t);ji(o,Vi(o,a),r,function(e,t){return Se(e)?e.nextSibling(t):t.nextSibling}(o,a),!1)}t[e.index]=n=Gr(i,t,r,e),Jr(t,n)}return new Gs(n,e,t)}var Js={},Xs=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this)).ngModule=e,i}return _createClass(n,[{key:"resolveComponentFactory",value:function(e){var t=ue(e);return new tu(t,this.ngModule)}}]),n}(os);function $s(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var eu=new nn("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return xi}}),tu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this)).componentDef=e,r.ngModule=i,r.componentType=e.type,r.selector=e.selectors.map(hr).join(","),r.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],r.isBoundToModule=!!i,r}return _createClass(n,[{key:"inputs",get:function(){return $s(this.componentDef.inputs)}},{key:"outputs",get:function(){return $s(this.componentDef.outputs)}},{key:"create",value:function(e,t,n,i){var r,o,a=(i=i||this.ngModule)?function(e,t){return{get:function(n,i,r){var o=e.get(n,Js,r);return o!==Js||i===Js?o:t.get(n,i,r)}}}(e,i.injector):e,s=a.get(hs,Oe),u=a.get(ps,null),l=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",h=n?function(e,t,n){if(Se(e))return e.selectRootElement(t,n===N.ShadowDom);var i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(l,n,this.componentDef.encapsulation):Mi(s.createRenderer(null,this.componentDef),c,function(e){var t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(c)),f=this.componentDef.onPush?576:528,d={components:[],scheduler:xi,clean:no,playerHandler:null,flags:0},p=Dr(0,null,null,1,0,null,null,null,null,null),v=Cr(null,p,d,f,null,null,s,l,u,a);st(v);try{var _=function(e,t,n,i,r,o){var a=n[1];n[20]=e;var s=wr(a,20,2,"#host",null),u=s.mergedAttrs=t.hostAttrs;null!==u&&(lo(s,u,!0),null!==e&&(Et(r,e,u),null!==s.classes&&er(r,e,s.classes),null!==s.styles&&$i(r,e,s.styles)));var l=i.createRenderer(e,t),c=Cr(n,Rr(t),null,t.onPush?64:16,n[20],s,i,l,null,null);return a.firstCreatePass&&(jt(Ft(s,n),a,t.type),jr(a,s),qr(s,n.length,1)),Jr(n,c),n[20]=c}(h,this.componentDef,v,s,l);if(h)if(n)Et(l,h,["ng-version",_s.full]);else{var m=function(e){for(var t=[],n=[],i=1,r=2;i0&&er(l,h,y.join(" "))}if(o=Ie(p,20),void 0!==t)for(var b=o.projection=[],k=0;k1&&void 0!==arguments[1]?arguments[1]:So.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R.Default;return e===So||e===Vs||e===ho?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),n}(Vs),ou=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i,r,o;return _classCallCheck(this,n),(i=t.call(this)).moduleType=e,null!==le(e)&&(r=e,o=new Set,function e(t){var n=le(t,!0),i=n.id;null!==i&&(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(f(t)," vs ").concat(f(t.name)))}(i,iu.get(i),t),iu.set(i,t));var r,a=_createForOfIteratorHelper(Si(n.imports));try{for(a.s();!(r=a.n()).done;){var s=r.value;o.has(s)||(o.add(s),e(s))}}catch(u){a.e(u)}finally{a.f()}}(r)),i}return _createClass(n,[{key:"create",value:function(e){return new ru(this.moduleType,e)}}]),n}(Hs);function au(e,t,n,i){return su(Ze(),Je(),e,t,n,i)}function su(e,t,n,i,r,o){var a=t+n;return Bo(e,a,r)?function(e,t,n){return e[t]=n}(e,a+1,o?i.call(o,r):i(r)):function(e,t){var n=e[t];return n===fr?void 0:n}(e,a+1)}function uu(e,t){var n,i=qe(),r=e+20;i.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var i=t[n];if(e===i.name)return i}throw new g("302","The pipe '".concat(e,"' could not be found!"))}(t,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(r,n.onDestroy)):n=i.data[r];var o=n.factory||(n.factory=_e(n.type)),a=D(Ho);try{var s=Mt(!1),u=o();return Mt(s),function(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(i,Ze(),r,u),u}finally{D(a)}}function lu(e,t,n){var i=e+20,r=Ze(),o=Re(r,i);return function(e,t){return Lo.isWrapped(t)&&(t=Lo.unwrap(t),e[Xe()]=fr),t}(r,function(e,t){return e[1].data[t].pure}(r,i)?su(r,Je(),t,o.transform,n,o):o.transform(n))}function cu(e){return function(t){setTimeout(e,void 0,t)}}var hu=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _classCallCheck(this,n),(e=t.call(this)).__isAsync=i,e}return _createClass(n,[{key:"emit",value:function(e){_get(_getPrototypeOf(n.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,i){var o,a,s,u=e,l=t||function(){return null},c=i;if(e&&"object"==typeof e){var h=e;u=null===(o=h.next)||void 0===o?void 0:o.bind(h),l=null===(a=h.error)||void 0===a?void 0:a.bind(h),c=null===(s=h.complete)||void 0===s?void 0:s.bind(h)}this.__isAsync&&(l=cu(l),u&&(u=cu(u)),c&&(c=cu(c)));var f=_get(_getPrototypeOf(n.prototype),"subscribe",this).call(this,{next:u,error:l,complete:c});return e instanceof r.w&&e.add(f),f}}]),n}(i.xQ);function fu(){return this._results[Mo()]()}var du=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];_classCallCheck(this,e),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;var n=Mo(),i=e.prototype;i[n]||(i[n]=fu)}return _createClass(e,[{key:"changes",get:function(){return this._changes||(this._changes=new hu)}},{key:"get",value:function(e){return this._results[e]}},{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e,t){this.dirty=!1;var n=an(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[],o=0;o2&&void 0!==arguments[2]?arguments[2]:null;_classCallCheck(this,e),this.predicate=t,this.flags=n,this.read=i},mu=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"elementStart",value:function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:-1;_classCallCheck(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return _createClass(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){var n=this.metadata.predicate;if(Array.isArray(n))for(var i=0;i0)i.push(a[s/2]);else{for(var l=o[s+1],c=t[-u],h=10;h0&&(r=setTimeout(function(){i._callbacks=i._callbacks.filter(function(e){return e.timeoutId!==r}),e(i._didWork,i.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}},{key:"whenStable",value:function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(bn(Ju))},e.\u0275prov=C({token:e,factory:e.\u0275fac}),e}(),ol=function(){var e=function(){function e(){_classCallCheck(this,e),this._applications=new Map,ul.addToWindow(this)}return _createClass(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return ul.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac}),e}();function al(e){ul=e}var sl,ul=new(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),ll=!0,cl=!1;function hl(){return cl=!0,ll}function fl(){if(cl)throw new Error("Cannot enable prod mode after platform setup.");ll=!1}var dl=new nn("AllowMultipleToken"),pl=function e(t,n){_classCallCheck(this,e),this.name=t,this.token=n};function vl(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i="Platform: ".concat(t),r=new nn(i);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=_l();if(!o||o.injector.get(dl,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{var a=n.concat(t).concat({provide:r,useValue:!0},{provide:po,useValue:"platform"});!function(e){if(sl&&!sl.destroyed&&!sl.injector.get(dl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");sl=e.get(ml);var t=e.get(Lu,null);t&&t.forEach(function(e){return e()})}(So.create({providers:a,name:i}))}return function(e){var t=_l();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(r)}}function _l(){return sl&&!sl.destroyed?sl:null}var ml=function(){var e=function(){function e(t){_classCallCheck(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return _createClass(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,i,r=this,o=(n=t?t.ngZone:void 0,i={ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1},"noop"===n?new il:("zone.js"===n?void 0:n)||new Ju({enableLongStackTrace:hl(),shouldCoalesceEventChangeDetection:!!(null==i?void 0:i.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==i?void 0:i.ngZoneRunCoalescing)})),a=[{provide:Ju,useValue:o}];return o.run(function(){var t=So.create({providers:a,parent:r.injector,name:e.moduleType.name}),n=e.create(t),i=n.injector.get(wi,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.runOutsideAngular(function(){var e=o.onError.subscribe({next:function(e){i.handleError(e)}});n.onDestroy(function(){bl(r._modules,n),e.unsubscribe()})}),function(e,t,i){try{var o=((a=n.injector.get(Iu)).runInitializers(),a.donePromise.then(function(){return Ka(n.injector.get(Uu,"en-US")||"en-US"),r._moduleDoBootstrap(n),n}));return $o(o)?o.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):o}catch(s){throw t.runOutsideAngular(function(){return e.handleError(s)}),s}var a}(i,o)})}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=gl({},n);return function(e,t,n){var i=new ou(n);return Promise.resolve(i)}(0,0,e).then(function(e){return t.bootstrapModuleFactory(e,i)})}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(yl);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(f(e.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.'));e.instance.ngDoBootstrap(t)}this._modules.push(e)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)(bn(So))},e.\u0275prov=C({token:e,factory:e.\u0275fac}),e}();function gl(e,t){return Array.isArray(t)?t.reduce(gl,e):Object.assign(Object.assign({},e),t)}var yl=function(){var e=function(){function e(t,n,i,r,c){var h=this;_classCallCheck(this,e),this._zone=t,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=c,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){h._zone.run(function(){h.tick()})}});var f=new o.y(function(e){h._stable=h._zone.isStable&&!h._zone.hasPendingMacrotasks&&!h._zone.hasPendingMicrotasks,h._zone.runOutsideAngular(function(){e.next(h._stable),e.complete()})}),d=new o.y(function(e){var t;h._zone.runOutsideAngular(function(){t=h._zone.onStable.subscribe(function(){Ju.assertNotInAngularZone(),Qu(function(){h._stable||h._zone.hasPendingMacrotasks||h._zone.hasPendingMicrotasks||(h._stable=!0,e.next(!0))})})});var n=h._zone.onUnstable.subscribe(function(){Ju.assertInAngularZone(),h._stable&&(h._stable=!1,h._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=(0,a.T)(f,d.pipe(function(e){return(0,u.x)()((t=l,function(e){var n;n="function"==typeof t?t:function(){return t};var i=Object.create(e,s.N);return i.source=e,i.subjectFactory=n,i})(e));var t}))}return _createClass(e,[{key:"bootstrap",value:function(e,t){var n,i=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof is?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var r=n.isBoundToModule?void 0:this._injector.get(Vs),o=n.create(So.NULL,[],t||n.selector,r),a=o.location.nativeElement,s=o.injector.get(rl,null),u=s&&o.injector.get(ol);return s&&u&&u.registerApplication(a,s),o.onDestroy(function(){i.detachView(o.hostView),bl(i.components,o),u&&u.unregisterApplication(a)}),this._loadComponent(o),o}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t,n=_createForOfIteratorHelper(this._views);try{for(n.s();!(t=n.n()).done;){t.value.detectChanges()}}catch(i){n.e(i)}finally{n.f()}}catch(r){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(r)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;bl(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Nu,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(e){return e.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),e}();return e.\u0275fac=function(t){return new(t||e)(bn(Ju),bn(So),bn(wi),bn(os),bn(Iu))},e.\u0275prov=C({token:e,factory:e.\u0275fac}),e}();function bl(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var kl=function e(){_classCallCheck(this,e)},Cl=function e(){_classCallCheck(this,e)},wl={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},xl=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._compiler=t,this._config=n||wl}return _createClass(e,[{key:"load",value:function(e){return this.loadAndCompile(e)}},{key:"loadAndCompile",value:function(e){var t=this,i=_slicedToArray(e.split("#"),2),r=i[0],o=i[1];return void 0===o&&(o="default"),n(8255)(r).then(function(e){return e[o]}).then(function(e){return El(e,r,o)}).then(function(e){return t._compiler.compileModuleAsync(e)})}},{key:"loadFactory",value:function(e){var t=_slicedToArray(e.split("#"),2),i=t[0],r=t[1],o="NgFactory";return void 0===r&&(r="default",o=""),n(8255)(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then(function(e){return e[r+o]}).then(function(e){return El(e,i,r)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(bn(Ku),bn(Cl,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac}),e}();function El(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}var Sl=function(e){return null},Ol=vl(null,"core",[{provide:Fu,useValue:"unknown"},{provide:ml,deps:[So]},{provide:ol,deps:[]},{provide:Bu,deps:[]}]),Al=[{provide:yl,useClass:yl,deps:[Ju,So,wi,os,Iu]},{provide:eu,deps:[Ju],useFactory:function(e){var t=[];return e.onStable.subscribe(function(){for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Iu,useClass:Iu,deps:[[new On,Pu]]},{provide:Ku,useClass:Ku,deps:[]},Du,{provide:As,useFactory:function(){return Ns},deps:[]},{provide:Ps,useFactory:function(){return Bs},deps:[]},{provide:Uu,useFactory:function(e){return Ka(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new Sn(Uu),new On,new An]]},{provide:ju,useValue:"USD"}],Tl=function(){var e=function e(t){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)(bn(yl))},e.\u0275mod=ie({type:e}),e.\u0275inj=w({providers:Al}),e}()},665:function(e,t,n){"use strict";n.d(t,{Zs:function(){return te},sg:function(){return J},u5:function(){return ie},Cf:function(){return h},JU:function(){return c},a5:function(){return E},JL:function(){return S},F:function(){return G},_Y:function(){return K}});var i=n(3018),r=(n(8583),n(7574)),o=n(9796),a=n(8002),s=n(1555),u=n(4402);function l(e,t){return new r.y(function(n){var i=e.length;if(0!==i)for(var r=new Array(i),o=0,a=0,s=function(s){var l=(0,u.D)(e[s]),c=!1;n.add(l.subscribe({next:function(e){c||(c=!0,a++),r[s]=e},error:function(e){return n.error(e)},complete:function(){++o!==i&&c||(a===i&&n.next(t?t.reduce(function(e,t,n){return e[t]=r[n],e},{}):r),n.complete())}}))},l=0;l0){var r=i.filter(function(e){return e!==t.validator});r.length!==i.length&&(n=!0,e.setValidators(r))}}if(null!==t.asyncValidator){var o=C(e);if(Array.isArray(o)&&o.length>0){var a=o.filter(function(e){return e!==t.asyncValidator});a.length!==o.length&&(n=!0,e.setAsyncValidators(a))}}}var s=function(){};return T(t._rawValidators,s),T(t._rawAsyncValidators,s),n}function R(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function D(e,t){P(e,t)}function M(e,t){e._syncPendingControls(),t.forEach(function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function L(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function F(e){return(j(e)?e.validators:e)||null}function N(e){return Array.isArray(e)?g(e):e||null}function B(e,t){return(j(t)?t.asyncValidators:e)||null}function U(e){return Array.isArray(e)?y(e):e||null}function j(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var Z=function(){function e(t,n){_classCallCheck(this,e),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=N(this._rawValidators),this._composedAsyncValidatorFn=U(this._rawAsyncValidators)}return _createClass(e,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(e){this._rawValidators=this._composedValidatorFn=e}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"setValidators",value:function(e){this._rawValidators=e,this._composedValidatorFn=N(e)}},{key:"setAsyncValidators",value:function(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=U(e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(e){return e.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(e){e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(e){e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(function(t){t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!0)})}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(function(t){t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!1)})}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(t){return t._updateTreeValidity(e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;var n=p(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){t._hasOwnPendingAsyncValidator=!1,t.setErrors(n,{emitEvent:e})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;var i=e;return t.forEach(function(e){i=i instanceof V?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof H&&i.at(e)||null}),i}(this,e)}},{key:"getError",value:function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}},{key:"hasError",value:function(e,t){return!!this.getError(e,t)}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}},{key:"_updateControlsErrors",value:function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}},{key:"_initObservables",value:function(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(e){return this._anyControls(function(t){return t.status===e})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(e){return e.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(e){return e.touched})}},{key:"_updatePristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"_updateTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"_isBoxedValue",value:function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}},{key:"_registerOnCollectionChange",value:function(e){this._onCollectionChange=e}},{key:"_setUpdateStrategy",value:function(e){j(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),e}(),q=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return _classCallCheck(this,n),(e=t.call(this,F(r),B(o,r)))._onChange=[],e._applyFormState(i),e._setUpdateStrategy(r),e._initObservables(),e.updateValueAndValidity({onlySelf:!0,emitEvent:!!e.asyncValidator}),e}return _createClass(n,[{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(function(e){return e(t.value,!1!==n.emitViewToModelChange)}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(e,t)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(e){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(e){this._onChange.push(e)}},{key:"_unregisterOnChange",value:function(e){L(this._onChange,e)}},{key:"registerOnDisabledChange",value:function(e){this._onDisabledChange.push(e)}},{key:"_unregisterOnDisabledChange",value:function(e){L(this._onDisabledChange,e)}},{key:"_forEachChild",value:function(e){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}]),n}(Z),V=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,F(i),B(r,i))).controls=e,o._initObservables(),o._setUpdateStrategy(i),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!o.asyncValidator}),o}return _createClass(n,[{key:"registerControl",value:function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}},{key:"addControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),Object.keys(e).forEach(function(i){t._throwIfControlMissing(i),t.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=e&&(Object.keys(e).forEach(function(i){t.controls[i]&&t.controls[i].patchValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(e,t,n){return e[n]=t instanceof q?t.value:t.getRawValue(),e})}},{key:"_syncPendingControls",value:function(){var e=this._reduceChildren(!1,function(e,t){return!!t._syncPendingControls()||e});return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: ".concat(e,"."))}},{key:"_forEachChild",value:function(e){var t=this;Object.keys(this.controls).forEach(function(n){var i=t.controls[n];i&&e(i,n)})}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild(function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(e){for(var t=0,n=Object.keys(this.controls);t0||this.disabled}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))})}}]),n}(Z),H=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,F(i),B(r,i))).controls=e,o._initObservables(),o._setUpdateStrategy(i),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!o.asyncValidator}),o}return _createClass(n,[{key:"at",value:function(e){return this.controls[e]}},{key:"push",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent})}},{key:"removeAt",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}},{key:"setControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),e.forEach(function(e,i){t._throwIfControlMissing(i),t.at(i).setValue(e,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=e&&(e.forEach(function(e,i){t.at(i)&&t.at(i).patchValue(e,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this.controls.map(function(e){return e instanceof q?e.value:e.getRawValue()})}},{key:"clear",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(e){return e._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}},{key:"_syncPendingControls",value:function(){var e=this.controls.reduce(function(e,t){return!!t._syncPendingControls()||e},!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index ".concat(e))}},{key:"_forEachChild",value:function(e){this.controls.forEach(function(t,n){e(t,n)})}},{key:"_updateValue",value:function(){var e=this;this.value=this.controls.filter(function(t){return t.enabled||e.disabled}).map(function(e){return e.value})}},{key:"_anyControls",value:function(e){return this.controls.some(function(t){return t.enabled&&e(t)})}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild(function(t){return e._registerControl(t)})}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))})}},{key:"_allControlsDisabled",value:function(){var e,t=_createForOfIteratorHelper(this.controls);try{for(t.s();!(e=t.n()).done;){if(e.value.enabled)return!1}}catch(n){t.e(n)}finally{t.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}]),n}(Z),z={provide:x,useExisting:(0,i.Gpc)(function(){return G})},Y=Promise.resolve(null),G=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this)).submitted=!1,o._directives=[],o.ngSubmit=new i.vpe,o.form=new V({},g(e),y(r)),o}return _createClass(n,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}},{key:"addControl",value:function(e){var t=this;Y.then(function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),O(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)})}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){var t=this;Y.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),L(t._directives,e)})}},{key:"addFormGroup",value:function(e){var t=this;Y.then(function(){var n=t._findContainer(e.path),i=new V({});D(i,e),n.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(e){var t=this;Y.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)})}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){var n=this;Y.then(function(){n.form.get(e.path).setValue(t)})}},{key:"setValue",value:function(e){this.control.setValue(e)}},{key:"onSubmit",value:function(e){return this.submitted=!0,M(this.form,this._directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(e){return e.pop(),e.length?this.form.get(e):this.form}}]),n}(x);return e.\u0275fac=function(t){return new(t||e)(i.Y36(h,10),i.Y36(f,10))},e.\u0275dir=i.lG2({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([z]),i.qOj]}),e}(),K=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.lG2({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e}(),W=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({}),e}(),Q={provide:x,useExisting:(0,i.Gpc)(function(){return J})},J=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this)).validators=e,o.asyncValidators=r,o.submitted=!1,o._onCollectionChange=function(){return o._updateDomValue()},o.directives=[],o.form=null,o.ngSubmit=new i.vpe,o._setValidators(e),o._setAsyncValidators(r),o}return _createClass(n,[{key:"ngOnChanges",value:function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(I(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(e){var t=this.form.get(e.path);return O(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){A(e.control||null,e,!1),L(this.directives,e)}},{key:"addFormGroup",value:function(e){this._setUpFormContainer(e)}},{key:"removeFormGroup",value:function(e){this._cleanUpFormContainer(e)}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"addFormArray",value:function(e){this._setUpFormContainer(e)}},{key:"removeFormArray",value:function(e){this._cleanUpFormContainer(e)}},{key:"getFormArray",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){this.form.get(e.path).setValue(t)}},{key:"onSubmit",value:function(e){return this.submitted=!0,M(this.form,this.directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_updateDomValue",value:function(){var e=this;this.directives.forEach(function(t){var n=t.control,i=e.form.get(t.path);n!==i&&(A(n||null,t),i instanceof q&&(O(i,t),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(e){var t=this.form.get(e.path);D(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(e){if(this.form){var t=this.form.get(e.path);t&&function(e,t){return I(e,t)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){P(this.form,this),this._oldForm&&I(this._oldForm,this)}},{key:"_checkFormPresent",value:function(){}}]),n}(x);return e.\u0275fac=function(t){return new(t||e)(i.Y36(h,10),i.Y36(f,10))},e.\u0275dir=i.lG2({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([Q]),i.qOj,i.TTD]}),e}(),X={provide:h,useExisting:(0,i.Gpc)(function(){return ee}),multi:!0},$={provide:h,useExisting:(0,i.Gpc)(function(){return te}),multi:!0},ee=function(){var e=function(){function e(){_classCallCheck(this,e),this._required=!1}return _createClass(e,[{key:"required",get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&"false"!="".concat(e),this._onChange&&this._onChange()}},{key:"validate",value:function(e){return this.required?function(e){return null==(t=e.value)||0===t.length?{required:!0}:null;var t}(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.lG2({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&i.uIk("required",t.required?"":null)},inputs:{required:"required"},features:[i._Bn([X])]}),e}(),te=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"validate",value:function(e){return this.required?function(e){return!0===e.value?null:{required:!0}}(e):null}}]),n}(ee);return t.\u0275fac=function(n){return(e||(e=i.n5z(t)))(n||t)},t.\u0275dir=i.lG2({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i.uIk("required",t.required?"":null)},features:[i._Bn([$]),i.qOj]}),t}(),ne=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[W]]}),e}(),ie=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[ne]}),e}()},1095:function(e,t,n){"use strict";n.d(t,{zs:function(){return d},lW:function(){return f},ot:function(){return p}});var i=n(2458),r=n(6237),o=n(3018),a=n(9238),s=["mat-button",""],u=["*"],l=".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n",c=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],h=(0,i.pj)((0,i.Id)((0,i.Kr)(function(){return function e(t){_classCallCheck(this,e),this._elementRef=t}}()))),f=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;_classCallCheck(this,n),(o=t.call(this,e))._focusMonitor=i,o._animationMode=r,o.isRoundButton=o._hasHostAttributes("mat-fab","mat-mini-fab"),o.isIconButton=o._hasHostAttributes("mat-icon-button");var a,s=_createForOfIteratorHelper(c);try{for(s.s();!(a=s.n()).done;){var u=a.value;o._hasHostAttributes(u)&&o._getHostElement().classList.add(u)}}catch(l){s.e(l)}finally{s.f()}return e.nativeElement.classList.add("mat-button-base"),o.isRoundButton&&(o.color="accent"),o}return _createClass(n,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i1&&void 0!==arguments[1]?arguments[1]:0;return function(e){_inherits(i,e);var n=_createSuper(i);function i(){var e;_classCallCheck(this,i);for(var r=arguments.length,o=new Array(r),a=0;a2&&void 0!==arguments[2]?arguments[2]:{},r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=Object.assign(Object.assign({},S),i.animation);i.centered&&(e=r.left+r.width/2,t=r.top+r.height/2);var a=i.radius||function(e,t,n){var i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),r=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+r*r)}(e,t,r),s=e-r.left,u=t-r.top,l=o.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=s-a+"px",c.style.top=u-a+"px",c.style.height=2*a+"px",c.style.width=2*a+"px",null!=i.color&&(c.style.backgroundColor=i.color),c.style.transitionDuration="".concat(l,"ms"),this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";var h=new E(this,c,i);return h.state=0,this._activeRipples.add(h),i.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone(function(){var e=h===n._mostRecentTransientRipple;h.state=1,i.persistent||e&&n._isPointerDown||h.fadeOut()},l),h}},{key:"fadeOutRipple",value:function(e){var t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),t){var n=e.element,i=Object.assign(Object.assign({},S),e.config.animation);n.style.transitionDuration="".concat(i.exitDuration,"ms"),n.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(function(){e.state=3,n.parentNode.removeChild(n)},i.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(e){return e.fadeOut()})}},{key:"fadeOutAllNonPersistent",value:function(){this._activeRipples.forEach(function(e){e.config.persistent||e.fadeOut()})}},{key:"setupTriggerEvents",value:function(e){var t=(0,u.fI)(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(A))}},{key:"handleEvent",value:function(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(T),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(e){var t=(0,r.X6)(e),n=this._lastTouchStartEvent&&Date.now()1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(e,t)})}},{key:"_registerEvents",value:function(e){var t=this;this._ngZone.runOutsideAngular(function(){e.forEach(function(e){t._triggerElement.addEventListener(e,t,O)})})}},{key:"_removeTriggerEvents",value:function(){var e=this;this._triggerElement&&(A.forEach(function(t){e._triggerElement.removeEventListener(t,e,O)}),this._pointerUpEventsRegistered&&T.forEach(function(t){e._triggerElement.removeEventListener(t,e,O)}))}}]),e}(),I=new i.OlP("mat-ripple-global-options"),R=function(){var e=function(){function e(t,n,i,r,o){_classCallCheck(this,e),this._elementRef=t,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new P(this,n,t,i)}return _createClass(e,[{key:"disabled",get:function(){return this._disabled},set:function(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}},{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"fadeOutAllNonPersistent",value:function(){this._rippleRenderer.fadeOutAllNonPersistent()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(c.t4),i.Y36(I,8),i.Y36(h.Qb,8))},e.\u0275dir=i.lG2({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e}(),D=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[g,c.ud],g]}),e}(),M=function(){var e=function e(t){_classCallCheck(this,e),this._animationMode=t,this.state="unchecked",this.disabled=!1};return e.\u0275fac=function(t){return new(t||e)(i.Y36(h.Qb,8))},e.\u0275cmp=i.Xpm({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&i.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;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-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),e}(),L=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[g]]}),e}(),F=new i.OlP("MAT_OPTION_PARENT_COMPONENT"),N=y(function(){return function e(){_classCallCheck(this,e)}}()),B=0,U=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i,r;return _classCallCheck(this,n),(i=t.call(this))._labelId="mat-optgroup-label-"+B++,i._inert=null!==(r=null==e?void 0:e.inertGroups)&&void 0!==r&&r,i}return n}(N);return e.\u0275fac=function(t){return new(t||e)(i.Y36(F,8))},e.\u0275dir=i.lG2({type:e,inputs:{label:"label"},features:[i.qOj]}),e}(),j=new i.OlP("MatOptgroup"),Z=0,q=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];_classCallCheck(this,e),this.source=t,this.isUserInput=n},V=function(){var e=function(){function e(t,n,r,o){_classCallCheck(this,e),this._element=t,this._changeDetectorRef=n,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Z++,this.onSelectionChange=new i.vpe,this._stateChanges=new l.xQ}return _createClass(e,[{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(e){this._disabled=(0,u.Ig)(e)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(e,t){var n=this._getHostElement();"function"==typeof n.focus&&n.focus(t)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(e){e.keyCode!==f.K5&&e.keyCode!==f.L_||(0,f.Vb)(e)||(this._selectViaInteraction(),e.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new q(this,e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(void 0),i.Y36(U))},e.\u0275dir=i.lG2({type:e,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),e}(),H=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){return _classCallCheck(this,n),t.call(this,e,i,r,o)}return n}(V);return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(F,8),i.Y36(j,8))},e.\u0275cmp=i.Xpm({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._selectViaInteraction()})("keydown",function(e){return t._handleKeydown(e)}),2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),i.ekj("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[i.qOj],ngContentSelectors:v,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,d,1,2,"mat-pseudo-checkbox",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,p,2,1,"span",2),i._UZ(4,"div",3)),2&e&&(i.Q6J("ngIf",t.multiple),i.xp6(3),i.Q6J("ngIf",t.group&&t.group._inert),i.xp6(1),i.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[s.O5,R,M],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e}();function z(e,t,n){if(n.length){for(var i=t.toArray(),r=n.toArray(),o=0,a=0;an+i?Math.max(0,e-i+t):n}var G=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[D,s.ez,g,L]]}),e}()},2238:function(e,t,n){"use strict";n.d(t,{WI:function(){return O},uw:function(){return R},H8:function(){return N},ZT:function(){return M},xY:function(){return F},Is:function(){return U},so:function(){return E},uh:function(){return L}});var i=n(625),r=n(7636),o=n(3018),a=n(2458),s=n(946),u=n(8583),l=n(9765),c=n(1439),h=n(5917),f=n(5435),d=n(5257),p=n(9761),v=n(521),_=n(7238),m=n(6461),g=n(9238);function y(e,t){}var b=function e(){_classCallCheck(this,e),this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0},k={dialogContainer:(0,_.X$)("dialogContainer",[(0,_.SB)("void, exit",(0,_.oB)({opacity:0,transform:"scale(0.7)"})),(0,_.SB)("enter",(0,_.oB)({transform:"none"})),(0,_.eR)("* => enter",(0,_.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,_.oB)({transform:"none",opacity:1}))),(0,_.eR)("* => void, * => exit",(0,_.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,_.oB)({opacity:0})))])},C=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,s,u){var l;return _classCallCheck(this,n),(l=t.call(this))._elementRef=e,l._focusTrapFactory=i,l._changeDetectorRef=r,l._config=s,l._focusMonitor=u,l._animationStateChanged=new o.vpe,l._elementFocusedBeforeDialogWasOpened=null,l._closeInteractionType=null,l.attachDomPortal=function(e){return l._portalOutlet.hasAttached(),l._portalOutlet.attachDomPortal(e)},l._ariaLabelledBy=s.ariaLabelledBy||null,l._document=a,l}return _createClass(n,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}},{key:"attachComponentPortal",value:function(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}},{key:"attachTemplatePortal",value:function(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){var t=(0,v.ht)(),n=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==n&&!n.contains(t)||(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,v.ht)())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var e=this._elementRef.nativeElement,t=(0,v.ht)();return e===t||e.contains(t)}}]),n}(r.en);return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.SBq),o.Y36(g.qV),o.Y36(o.sBO),o.Y36(u.K0,8),o.Y36(b),o.Y36(g.tE))},e.\u0275dir=o.lG2({type:e,viewQuery:function(e,t){var n;(1&e&&o.Gf(r.Pl,7),2&e)&&(o.iGM(n=o.CRH())&&(t._portalOutlet=n.first))},features:[o.qOj]}),e}(),w=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._state="enter",e}return _createClass(n,[{key:"_onAnimationDone",value:function(e){var t=e.toState,n=e.totalTime;"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:n})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:n}))}},{key:"_onAnimationStart",value:function(e){var t=e.toState,n=e.totalTime;"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:n}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:n})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),n}(C);return t.\u0275fac=function(n){return(e||(e=o.n5z(t)))(n||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&o.WFA("@dialogContainer.start",function(e){return t._onAnimationStart(e)})("@dialogContainer.done",function(e){return t._onAnimationDone(e)}),2&e&&(o.Ikx("id",t._id),o.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),o.d8E("@dialogContainer",t._state))},features:[o.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&o.YNc(0,y,0,0,"ng-template",0)},directives:[r.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[k.dialogContainer]}}),t}(),x=0,E=function(){function e(t,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-"+x++;_classCallCheck(this,e),this._overlayRef=t,this._containerInstance=n,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new l.xQ,this._afterClosed=new l.xQ,this._beforeClosed=new l.xQ,this._state=0,n._id=r,n._animationStateChanged.pipe((0,f.h)(function(e){return"opened"===e.state}),(0,d.q)(1)).subscribe(function(){i._afterOpened.next(),i._afterOpened.complete()}),n._animationStateChanged.pipe((0,f.h)(function(e){return"closed"===e.state}),(0,d.q)(1)).subscribe(function(){clearTimeout(i._closeFallbackTimeout),i._finishDialogClose()}),t.detachments().subscribe(function(){i._beforeClosed.next(i._result),i._beforeClosed.complete(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null,i._overlayRef.dispose()}),t.keydownEvents().pipe((0,f.h)(function(e){return e.keyCode===m.hY&&!i.disableClose&&!(0,m.Vb)(e)})).subscribe(function(e){e.preventDefault(),S(i,"keyboard")}),t.backdropClick().subscribe(function(){i.disableClose?i._containerInstance._recaptureFocus():S(i,"mouse")})}return _createClass(e,[{key:"close",value:function(e){var t=this;this._result=e,this._containerInstance._animationStateChanged.pipe((0,f.h)(function(e){return"closing"===e.state}),(0,d.q)(1)).subscribe(function(n){t._beforeClosed.next(e),t._beforeClosed.complete(),t._overlayRef.detachBackdrop(),t._closeFallbackTimeout=setTimeout(function(){return t._finishDialogClose()},n.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"afterClosed",value:function(){return this._afterClosed}},{key:"beforeClosed",value:function(){return this._beforeClosed}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(e){var t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._overlayRef.updateSize({width:e,height:t}),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(e){return this._overlayRef.addPanelClass(e),this}},{key:"removePanelClass",value:function(e){return this._overlayRef.removePanelClass(e),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),e}();function S(e,t,n){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=t),e.close(n)}var O=new o.OlP("MatDialogData"),A=new o.OlP("mat-dialog-default-options"),T=new o.OlP("mat-dialog-scroll-strategy"),P={provide:T,deps:[i.aV],useFactory:function(e){return function(){return e.scrollStrategies.block()}}},I=function(){var e=function(){function e(t,n,i,r,o,a,s,u,h){var f=this;_classCallCheck(this,e),this._overlay=t,this._injector=n,this._defaultOptions=i,this._parentDialog=r,this._overlayContainer=o,this._dialogRefConstructor=s,this._dialogContainerType=u,this._dialogDataToken=h,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new l.xQ,this._afterOpenedAtThisLevel=new l.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,c.P)(function(){return f.openDialogs.length?f._getAfterAllClosed():f._getAfterAllClosed().pipe((0,p.O)(void 0))}),this._scrollStrategy=a}return _createClass(e,[{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_getAfterAllClosed",value:function(){var e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(e,t){var n=this;(t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new b)).id&&this.getDialogById(t.id);var i=this._createOverlay(t),r=this._attachDialogContainer(i,t),o=this._attachDialogContent(e,r,i,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(o),o.afterClosed().subscribe(function(){return n._removeOpenDialog(o)}),this.afterOpened.next(o),r._initializeWithAttachedContent(),o}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(e){return this.openDialogs.find(function(t){return t.id===e})}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(e){var t=this._getOverlayConfig(e);return this._overlay.create(t)}},{key:"_getOverlayConfig",value:function(e){var t=new i.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}},{key:"_attachDialogContainer",value:function(e,t){var n=o.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:b,useValue:t}]}),i=new r.C5(this._dialogContainerType,t.viewContainerRef,n,t.componentFactoryResolver);return e.attach(i).instance}},{key:"_attachDialogContent",value:function(e,t,n,i){var a=new this._dialogRefConstructor(n,t,i.id);if(e instanceof o.Rgc)t.attachTemplatePortal(new r.UE(e,null,{$implicit:i.data,dialogRef:a}));else{var s=this._createInjector(i,a,t),u=t.attachComponentPortal(new r.C5(e,i.viewContainerRef,s));a.componentInstance=u.instance}return a.updateSize(i.width,i.height).updatePosition(i.position),a}},{key:"_createInjector",value:function(e,t,n){var i=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return!e.direction||i&&i.get(s.Is,null,o.XFs.Optional)||r.push({provide:s.Is,useValue:{value:e.direction,change:(0,h.of)()}}),o.zs3.create({parent:i||this._injector,providers:r})}},{key:"_removeOpenDialog",value:function(e){var t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(e,t){e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var e=this._overlayContainer.getContainerElement();if(e.parentElement)for(var t=e.parentElement.children,n=t.length-1;n>-1;n--){var i=t[n];i===e||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(e){for(var t=e.length;t--;)e[t].close()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(i.aV),o.Y36(o.zs3),o.Y36(void 0),o.Y36(void 0),o.Y36(i.Xj),o.Y36(void 0),o.Y36(o.DyG),o.Y36(o.DyG),o.Y36(o.OlP))},e.\u0275dir=o.lG2({type:e}),e}(),R=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,a,s,u){return _classCallCheck(this,n),t.call(this,e,i,o,s,u,a,E,w,O)}return n}(I);return e.\u0275fac=function(t){return new(t||e)(o.LFG(i.aV),o.LFG(o.zs3),o.LFG(u.Ye,8),o.LFG(A,8),o.LFG(T),o.LFG(e,12),o.LFG(i.Xj))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}(),D=0,M=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.dialogRef=t,this._elementRef=n,this._dialog=i,this.type="button"}return _createClass(e,[{key:"ngOnInit",value:function(){this.dialogRef||(this.dialogRef=B(this._elementRef,this._dialog.openDialogs))}},{key:"ngOnChanges",value:function(e){var t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}},{key:"_onButtonClick",value:function(e){S(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(E,8),o.Y36(o.SBq),o.Y36(R))},e.\u0275dir=o.lG2({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,t){1&e&&o.NdJ("click",function(e){return t._onButtonClick(e)}),2&e&&o.uIk("aria-label",t.ariaLabel||null)("type",t.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[o.TTD]}),e}(),L=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._dialogRef=t,this._elementRef=n,this._dialog=i,this.id="mat-dialog-title-"+D++}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this._dialogRef||(this._dialogRef=B(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var t=e._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=e.id)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(E,8),o.Y36(o.SBq),o.Y36(R))},e.\u0275dir=o.lG2({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&o.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e}(),F=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),e}(),N=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),e}();function B(e,t){for(var n=e.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?t.find(function(e){return e.id===n.id}):null}var U=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:[R,P],imports:[[i.U8,r.eL,a.BQ],a.BQ]}),e}()},8295:function(e,t,n){"use strict";n.d(t,{G_:function(){return G},o2:function(){return Y},KE:function(){return K},Eo:function(){return N},lN:function(){return W},hX:function(){return U},R9:function(){return V}});var i=n(8553),r=n(8583),o=n(3018),a=n(2458),s=n(9490),u=n(9765),l=n(6682),c=n(2759),h=n(9761),f=n(6782),d=n(5257),p=n(7238),v=n(6237),_=n(946),m=n(521),g=["underline"],y=["connectionContainer"],b=["inputContainer"],k=["label"];function C(e,t){1&e&&(o.ynx(0),o.TgZ(1,"div",14),o._UZ(2,"div",15),o._UZ(3,"div",16),o._UZ(4,"div",17),o.qZA(),o.TgZ(5,"div",18),o._UZ(6,"div",15),o._UZ(7,"div",16),o._UZ(8,"div",17),o.qZA(),o.BQk())}function w(e,t){1&e&&(o.TgZ(0,"div",19),o.Hsn(1,1),o.qZA())}function x(e,t){if(1&e&&(o.ynx(0),o.Hsn(1,2),o.TgZ(2,"span"),o._uU(3),o.qZA(),o.BQk()),2&e){var n=o.oxw(2);o.xp6(3),o.Oqu(n._control.placeholder)}}function E(e,t){1&e&&o.Hsn(0,3,["*ngSwitchCase","true"])}function S(e,t){1&e&&(o.TgZ(0,"span",23),o._uU(1," *"),o.qZA())}function O(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"label",20,21),o.NdJ("cdkObserveContent",function(){return o.CHM(n),o.oxw().updateOutlineGap()}),o.YNc(2,x,4,1,"ng-container",12),o.YNc(3,E,1,0,"ng-content",12),o.YNc(4,S,2,0,"span",22),o.qZA()}if(2&e){var i=o.oxw();o.ekj("mat-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-form-field-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-accent","accent"==i.color)("mat-warn","warn"==i.color),o.Q6J("cdkObserveContentDisabled","outline"!=i.appearance)("id",i._labelId)("ngSwitch",i._hasLabel()),o.uIk("for",i._control.id)("aria-owns",i._control.id),o.xp6(2),o.Q6J("ngSwitchCase",!1),o.xp6(1),o.Q6J("ngSwitchCase",!0),o.xp6(1),o.Q6J("ngIf",!i.hideRequiredMarker&&i._control.required&&!i._control.disabled)}}function A(e,t){1&e&&(o.TgZ(0,"div",24),o.Hsn(1,4),o.qZA())}function T(e,t){if(1&e&&(o.TgZ(0,"div",25,26),o._UZ(2,"span",27),o.qZA()),2&e){var n=o.oxw();o.xp6(2),o.ekj("mat-accent","accent"==n.color)("mat-warn","warn"==n.color)}}function P(e,t){if(1&e&&(o.TgZ(0,"div"),o.Hsn(1,5),o.qZA()),2&e){var n=o.oxw();o.Q6J("@transitionMessages",n._subscriptAnimationState)}}function I(e,t){if(1&e&&(o.TgZ(0,"div",31),o._uU(1),o.qZA()),2&e){var n=o.oxw(2);o.Q6J("id",n._hintLabelId),o.xp6(1),o.Oqu(n.hintLabel)}}function R(e,t){if(1&e&&(o.TgZ(0,"div",28),o.YNc(1,I,2,2,"div",29),o.Hsn(2,6),o._UZ(3,"div",30),o.Hsn(4,7),o.qZA()),2&e){var n=o.oxw();o.Q6J("@transitionMessages",n._subscriptAnimationState),o.xp6(1),o.Q6J("ngIf",n.hintLabel)}}var D=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],M=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],L=new o.OlP("MatError"),F={transitionMessages:(0,p.X$)("transitionMessages",[(0,p.SB)("enter",(0,p.oB)({opacity:1,transform:"translateY(0%)"})),(0,p.eR)("void => enter",[(0,p.oB)({opacity:0,transform:"translateY(-5px)"}),(0,p.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},N=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e}),e}(),B=new o.OlP("MatHint"),U=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["mat-label"]]}),e}(),j=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["mat-placeholder"]]}),e}(),Z=new o.OlP("MatPrefix"),q=new o.OlP("MatSuffix"),V=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["","matSuffix",""]],features:[o._Bn([{provide:q,useExisting:e}])]}),e}(),H=0,z=(0,a.pj)(function(){return function e(t){_classCallCheck(this,e),this._elementRef=t}}(),"primary"),Y=new o.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),G=new o.OlP("MatFormField"),K=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,a,s,l,c){var h;return _classCallCheck(this,n),(h=t.call(this,e))._elementRef=e,h._changeDetectorRef=i,h._dir=o,h._defaults=a,h._platform=s,h._ngZone=l,h._outlineGapCalculationNeededImmediately=!1,h._outlineGapCalculationNeededOnStable=!1,h._destroyed=new u.xQ,h._showAlwaysAnimate=!1,h._subscriptAnimationState="",h._hintLabel="",h._hintLabelId="mat-hint-"+H++,h._labelId="mat-form-field-label-"+H++,h.floatLabel=h._getDefaultFloatLabelState(),h._animationsEnabled="NoopAnimations"!==c,h.appearance=a&&a.appearance?a.appearance:"legacy",h._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker,h}return _createClass(n,[{key:"appearance",get:function(){return this._appearance},set:function(e){var t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(e){this._hideRequiredMarker=(0,s.Ig)(e)}},{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value:function(){return"never"!==this.floatLabel}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(e){this._hintLabel=e,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(e){this._explicitFormFieldControl=e}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var e=this;this._validateControlChild();var t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(t.controlType)),t.stateChanges.pipe((0,h.O)(null)).subscribe(function(){e._validatePlaceholders(),e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe((0,f.R)(this._destroyed)).subscribe(function(){return e._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.pipe((0,f.R)(e._destroyed)).subscribe(function(){e._outlineGapCalculationNeededOnStable&&e.updateOutlineGap()})}),(0,l.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){e._outlineGapCalculationNeededOnStable=!0,e._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,h.O)(null)).subscribe(function(){e._processHints(),e._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,h.O)(null)).subscribe(function(){e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,f.R)(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?e._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return e.updateOutlineGap()})}):e.updateOutlineGap()})}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(e){var t=this._control?this._control.ngControl:null;return t&&t[e]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var e=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,c.R)(this._label.nativeElement,"transitionend").pipe((0,d.q)(1)).subscribe(function(){e._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push.apply(e,_toConsumableArray(this._control.userAriaDescribedBy.split(" "))),"hint"===this._getDisplayedMessages()){var t=this._hintChildren?this._hintChildren.find(function(e){return"start"===e.align}):null,n=this._hintChildren?this._hintChildren.find(function(e){return"end"===e.align}):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&e.push.apply(e,_toConsumableArray(this._errorChildren.map(function(e){return e.id})));this._control.setDescribedByIds(e)}}},{key:"_validateControlChild",value:function(){}},{key:"updateOutlineGap",value:function(){var e=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&e&&e.children.length&&e.textContent.trim()&&this._platform.isBrowser)if(this._isAttachedToDOM()){var t=0,n=0,i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),o=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var a=i.getBoundingClientRect();if(0===a.width&&0===a.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var s=this._getStartEnd(a),u=e.children,l=this._getStartEnd(u[0].getBoundingClientRect()),c=0,h=0;h0?.75*c+10:0}for(var f=0;f-1}},{key:"_isBadInput",value:function(){var e=this._elementRef.nativeElement.validity;return e&&e.badInput}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}},{key:"setDescribedByIds",value:function(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}}]),n}(m);return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(i.t4),r.Y36(d.a5,10),r.Y36(d.F,8),r.Y36(d.sg,8),r.Y36(h.rD),r.Y36(p,10),r.Y36(l),r.Y36(r.R0b),r.Y36(f.G_,8))},e.\u0275dir=r.lG2({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(e,t){1&e&&r.NdJ("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(r.Ikx("disabled",t.disabled)("required",t.required),r.uIk("id",t.id)("data-placeholder",t.placeholder)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required),r.ekj("mat-input-server",t._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[r._Bn([{provide:f.Eo,useExisting:e}]),r.qOj,r.TTD]}),e}(),y=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[h.rD],imports:[[c,f.lN,h.BQ],c,f.lN]}),e}()},7441:function(e,t,n){"use strict";n.d(t,{gD:function(){return H},LD:function(){return z}});var i=n(625),r=n(8583),o=n(3018),a=n(2458),s=n(8295),u=n(9243),l=n(9238),c=n(9490),h=n(8345),f=n(6461),d=n(9765),p=n(1439),v=n(6682),_=n(9761),m=n(3190),g=n(5257),y=n(5435),b=n(8002),k=n(7519),C=n(6782),w=n(7238),x=n(946),E=n(665),S=["trigger"],O=["panel"];function A(e,t){if(1&e&&(o.TgZ(0,"span",8),o._uU(1),o.qZA()),2&e){var n=o.oxw();o.xp6(1),o.Oqu(n.placeholder)}}function T(e,t){if(1&e&&(o.TgZ(0,"span",12),o._uU(1),o.qZA()),2&e){var n=o.oxw(2);o.xp6(1),o.Oqu(n.triggerValue)}}function P(e,t){1&e&&o.Hsn(0,0,["*ngSwitchCase","true"])}function I(e,t){if(1&e&&(o.TgZ(0,"span",9),o.YNc(1,T,2,1,"span",10),o.YNc(2,P,1,0,"ng-content",11),o.qZA()),2&e){var n=o.oxw();o.Q6J("ngSwitch",!!n.customTrigger),o.xp6(2),o.Q6J("ngSwitchCase",!0)}}function R(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"div",13),o.TgZ(1,"div",14,15),o.NdJ("@transformPanel.done",function(e){return o.CHM(n),o.oxw()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return o.CHM(n),o.oxw()._handleKeydown(e)}),o.Hsn(3,1),o.qZA(),o.qZA()}if(2&e){var i=o.oxw();o.Q6J("@transformPanelWrap",void 0),o.xp6(1),o.Gre("mat-select-panel ",i._getPanelTheme(),""),o.Udp("transform-origin",i._transformOrigin)("font-size",i._triggerFontSize,"px"),o.Q6J("ngClass",i.panelClass)("@transformPanel",i.multiple?"showing-multiple":"showing"),o.uIk("id",i.id+"-panel")("aria-multiselectable",i.multiple)("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby())}}var D=[[["mat-select-trigger"]],"*"],M=["mat-select-trigger","*"],L={transformPanelWrap:(0,w.X$)("transformPanelWrap",[(0,w.eR)("* => void",(0,w.IO)("@transformPanel",[(0,w.pV)()],{optional:!0}))]),transformPanel:(0,w.X$)("transformPanel",[(0,w.SB)("void",(0,w.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,w.SB)("showing",(0,w.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,w.SB)("showing-multiple",(0,w.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,w.eR)("void => *",(0,w.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,w.eR)("* => void",(0,w.jt)("100ms 25ms linear",(0,w.oB)({opacity:0})))])},F=0,N=new o.OlP("mat-select-scroll-strategy"),B=new o.OlP("MAT_SELECT_CONFIG"),U={provide:N,deps:[i.aV],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},j=function e(t,n){_classCallCheck(this,e),this.source=t,this.value=n},Z=(0,a.Kr)((0,a.sb)((0,a.Id)((0,a.FD)(function(){return function e(t,n,i,r,o){_classCallCheck(this,e),this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=i,this._parentFormGroup=r,this.ngControl=o}}())))),q=new o.OlP("MatSelectTrigger"),V=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,s,u,l,c,h,f,k,C,w,x){var E,S,O,A;return _classCallCheck(this,n),(E=t.call(this,s,a,l,c,f))._viewportRuler=e,E._changeDetectorRef=i,E._ngZone=r,E._dir=u,E._parentFormField=h,E.ngControl=f,E._liveAnnouncer=w,E._defaultOptions=x,E._panelOpen=!1,E._compareWith=function(e,t){return e===t},E._uid="mat-select-"+F++,E._triggerAriaLabelledBy=null,E._destroy=new d.xQ,E._onChange=function(){},E._onTouched=function(){},E._valueId="mat-select-value-"+F++,E._panelDoneAnimatingStream=new d.xQ,E._overlayPanelClass=(null===(S=E._defaultOptions)||void 0===S?void 0:S.overlayPanelClass)||"",E._focused=!1,E.controlType="mat-select",E._required=!1,E._multiple=!1,E._disableOptionCentering=null!==(A=null===(O=E._defaultOptions)||void 0===O?void 0:O.disableOptionCentering)&&void 0!==A&&A,E.ariaLabel="",E.optionSelectionChanges=(0,p.P)(function(){var e=E.options;return e?e.changes.pipe((0,_.O)(e),(0,m.w)(function(){return v.T.apply(void 0,_toConsumableArray(e.map(function(e){return e.onSelectionChange})))})):E._ngZone.onStable.pipe((0,g.q)(1),(0,m.w)(function(){return E.optionSelectionChanges}))}),E.openedChange=new o.vpe,E._openedStream=E.openedChange.pipe((0,y.h)(function(e){return e}),(0,b.U)(function(){})),E._closedStream=E.openedChange.pipe((0,y.h)(function(e){return!e}),(0,b.U)(function(){})),E.selectionChange=new o.vpe,E.valueChange=new o.vpe,E.ngControl&&(E.ngControl.valueAccessor=_assertThisInitialized(E)),null!=(null==x?void 0:x.typeaheadDebounceInterval)&&(E._typeaheadDebounceInterval=x.typeaheadDebounceInterval),E._scrollStrategyFactory=C,E._scrollStrategy=E._scrollStrategyFactory(),E.tabIndex=parseInt(k)||0,E.id=E.id,E}return _createClass(n,[{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(e){this._required=(0,c.Ig)(e),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(e){this._multiple=(0,c.Ig)(e)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=(0,c.Ig)(e)}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(e){this._typeaheadDebounceInterval=(0,c.su)(e)}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid,this.stateChanges.next()}},{key:"ngOnInit",value:function(){var e=this;this._selectionModel=new h.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,k.x)(),(0,C.R)(this._destroy)).subscribe(function(){return e._panelDoneAnimating(e.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var e=this;this._initKeyManager(),this._selectionModel.changed.pipe((0,C.R)(this._destroy)).subscribe(function(e){e.added.forEach(function(e){return e.select()}),e.removed.forEach(function(e){return e.deselect()})}),this.options.changes.pipe((0,_.O)(null),(0,C.R)(this._destroy)).subscribe(function(){e._resetOptions(),e._initializeSelection()})}},{key:"ngDoCheck",value:function(){var e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){var t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(e){this.value=e}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var e=this._selectionModel.selected.map(function(e){return e.viewValue});return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}},{key:"_handleClosedKeydown",value:function(e){var t=e.keyCode,n=t===f.JH||t===f.LH||t===f.oh||t===f.SV,i=t===f.K5||t===f.L_,r=this._keyManager;if(!r.isTyping()&&i&&!(0,f.Vb)(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){var o=this.selected;r.onKeydown(e);var a=this.selected;a&&o!==a&&this._liveAnnouncer.announce(a.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(e){var t=this._keyManager,n=e.keyCode,i=n===f.JH||n===f.LH,r=t.isTyping();if(i&&e.altKey)e.preventDefault(),this.close();else if(r||n!==f.K5&&n!==f.L_||!t.activeItem||(0,f.Vb)(e))if(!r&&this._multiple&&n===f.A&&e.ctrlKey){e.preventDefault();var o=this.options.some(function(e){return!e.disabled&&!e.selected});this.options.forEach(function(e){e.disabled||(o?e.select():e.deselect())})}else{var a=t.activeItemIndex;t.onKeydown(e),this._multiple&&i&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==a&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var e=this;this._overlayDir.positionChange.pipe((0,g.q)(1)).subscribe(function(){e._changeDetectorRef.detectChanges(),e._positioningSettled()})}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"_initializeSelection",value:function(){var e=this;Promise.resolve().then(function(){e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value),e.stateChanges.next()})}},{key:"_setSelectionByValue",value:function(e){var t=this;if(this._selectionModel.selected.forEach(function(e){return e.setInactiveStyles()}),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(function(e){return t._selectValue(e)}),this._sortValues();else{var n=this._selectValue(e);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(e){var t=this,n=this.options.find(function(n){if(t._selectionModel.isSelected(n))return!1;try{return null!=n.value&&t._compareWith(n.value,e)}catch(i){return!1}});return n&&this._selectionModel.select(n),n}},{key:"_initKeyManager",value:function(){var e=this;this._keyManager=new l.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,C.R)(this._destroy)).subscribe(function(){e.panelOpen&&(!e.multiple&&e._keyManager.activeItem&&e._keyManager.activeItem._selectViaInteraction(),e.focus(),e.close())}),this._keyManager.change.pipe((0,C.R)(this._destroy)).subscribe(function(){e._panelOpen&&e.panel?e._scrollOptionIntoView(e._keyManager.activeItemIndex||0):e._panelOpen||e.multiple||!e._keyManager.activeItem||e._keyManager.activeItem._selectViaInteraction()})}},{key:"_resetOptions",value:function(){var e=this,t=(0,v.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,C.R)(t)).subscribe(function(t){e._onSelect(t.source,t.isUserInput),t.isUserInput&&!e.multiple&&e._panelOpen&&(e.close(),e.focus())}),v.T.apply(void 0,_toConsumableArray(this.options.map(function(e){return e._stateChanges}))).pipe((0,C.R)(t)).subscribe(function(){e._changeDetectorRef.markForCheck(),e.stateChanges.next()})}},{key:"_onSelect",value:function(e,t){var n=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(n!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var e=this;if(this.multiple){var t=this.options.toArray();this._selectionModel.sort(function(n,i){return e.sortComparator?e.sortComparator(n,i,t):t.indexOf(n)-t.indexOf(i)}),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(e){var t;t=this.multiple?this.selected.map(function(e){return e.value}):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_canOpen",value:function(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_getPanelAriaLabelledby",value:function(){var e;if(this.ariaLabel)return null;var t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getTriggerAriaLabelledby",value:function(){var e;if(this.ariaLabel)return null;var t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId(),n=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}},{key:"_panelDoneAnimating",value:function(e){this.openedChange.emit(e)}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}]),n}(Z);return e.\u0275fac=function(t){return new(t||e)(o.Y36(u.rL),o.Y36(o.sBO),o.Y36(o.R0b),o.Y36(a.rD),o.Y36(o.SBq),o.Y36(x.Is,8),o.Y36(E.F,8),o.Y36(E.sg,8),o.Y36(s.G_,8),o.Y36(E.a5,10),o.$8M("tabindex"),o.Y36(N),o.Y36(l.Kd),o.Y36(B,8))},e.\u0275dir=o.lG2({type:e,viewQuery:function(e,t){var n;(1&e&&(o.Gf(S,5),o.Gf(O,5),o.Gf(i.pI,5)),2&e)&&(o.iGM(n=o.CRH())&&(t.trigger=n.first),o.iGM(n=o.CRH())&&(t.panel=n.first),o.iGM(n=o.CRH())&&(t._overlayDir=n.first))},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[o.qOj,o.TTD]}),e}(),H=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._scrollTop=0,e._triggerFontSize=0,e._transformOrigin="top",e._offsetY=0,e._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],e}return _createClass(n,[{key:"_calculateOverlayScroll",value:function(e,t,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*e-t+i/2),n)}},{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe((0,C.R)(this._destroy)).subscribe(function(){e.panelOpen&&(e._triggerRect=e.trigger.nativeElement.getBoundingClientRect(),e._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"_canOpen",this).call(this)&&(_get(_getPrototypeOf(n.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,g.q)(1)).subscribe(function(){e._triggerFontSize&&e._overlayDir.overlayRef&&e._overlayDir.overlayRef.overlayElement&&(e._overlayDir.overlayRef.overlayElement.style.fontSize="".concat(e._triggerFontSize,"px"))}))}},{key:"_scrollOptionIntoView",value:function(e){var t=(0,a.CB)(e,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=(0,a.jH)((e+t)*n,n,this.panel.nativeElement.scrollTop,256)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),_get(_getPrototypeOf(n.prototype),"_panelDoneAnimating",this).call(this,e)}},{key:"_getChangeEvent",value:function(e){return new j(this,e)}},{key:"_calculateOverlayOffsetX",value:function(){var e,t=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),i=this._isRtl(),r=this.multiple?56:32;if(this.multiple)e=40;else if(this.disableOptionCentering)e=16;else{var o=this._selectionModel.selected[0]||this.options.first;e=o&&o.group?32:16}i||(e*=-1);var a=0-(t.left+e-(i?r:0)),s=t.right+e-n.width+(i?0:r);a>0?e+=a+8:s>0&&(e-=s+8),this._overlayDir.offsetX=Math.round(e),this._overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(e,t,n){var i,r=this._getItemHeight(),o=(r-this._triggerRect.height)/2,a=Math.floor(256/r);return this.disableOptionCentering?0:(i=0===this._scrollTop?e*r:this._scrollTop===n?(e-(this._getItemCount()-a))*r+(r-(this._getItemCount()*r-256)%r):t-r/2,Math.round(-1*i-o))}},{key:"_checkOverlayWithinViewport",value:function(e){var t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*t,256)-o-this._triggerRect.height;a>r?this._adjustPanelUp(a,r):o>i?this._adjustPanelDown(o,i,e):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(e,t){var n=Math.round(e-t);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(e,t,n){var i=Math.round(e-t);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_calculateOverlayPosition",value:function(){var e,t=this._getItemHeight(),n=this._getItemCount(),i=Math.min(n*t,256),r=n*t-i;e=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),e+=(0,a.CB)(e,this.options,this.optionGroups);var o=i/2;this._scrollTop=this._calculateOverlayScroll(e,o,r),this._offsetY=this._calculateOverlayOffsetY(e,o,r),this._checkOverlayWithinViewport(r)}},{key:"_getOriginBasedOnOption",value:function(){var e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return"50% ".concat(Math.abs(this._offsetY)-t+e/2,"px 0px")}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}]),n}(V);return t.\u0275fac=function(n){return(e||(e=o.n5z(t)))(n||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-select"]],contentQueries:function(e,t,n){var i;(1&e&&(o.Suo(n,q,5),o.Suo(n,a.ey,5),o.Suo(n,a.K7,5)),2&e)&&(o.iGM(i=o.CRH())&&(t.customTrigger=i.first),o.iGM(i=o.CRH())&&(t.options=i),o.iGM(i=o.CRH())&&(t.optionGroups=i))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&o.NdJ("keydown",function(e){return t._handleKeydown(e)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(o.uIk("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),o.ekj("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[o._Bn([{provide:s.Eo,useExisting:t},{provide:a.HF,useExisting:t}]),o.qOj],ngContentSelectors:M,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(o.F$t(D),o.TgZ(0,"div",0,1),o.NdJ("click",function(){return t.toggle()}),o.TgZ(3,"div",2),o.YNc(4,A,2,1,"span",3),o.YNc(5,I,3,2,"span",4),o.qZA(),o.TgZ(6,"div",5),o._UZ(7,"div",6),o.qZA(),o.qZA(),o.YNc(8,R,4,14,"ng-template",7),o.NdJ("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){var n=o.MAs(1);o.uIk("aria-owns",t.panelOpen?t.id+"-panel":null),o.xp6(3),o.Q6J("ngSwitch",t.empty),o.uIk("id",t._valueId),o.xp6(1),o.Q6J("ngSwitchCase",!0),o.xp6(1),o.Q6J("ngSwitchCase",!1),o.xp6(3),o.Q6J("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",n)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[i.xu,r.RF,r.n9,i.pI,r.ED,r.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n'],encapsulation:2,data:{animation:[L.transformPanelWrap,L.transformPanel]},changeDetection:0}),t}(),z=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:[U],imports:[[r.ez,i.U8,a.Ng,a.BQ],u.ZD,s.lN,a.Ng,a.BQ]}),e}()},6237:function(e,t,n){"use strict";n.d(t,{Qb:function(){return gt},PW:function(){return Ct}});var i=n(3018),r=n(9075),o=n(7238);function a(){return"undefined"!=typeof window&&void 0!==window.document}function s(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function u(e){switch(e.length){case 0:return new o.ZN;case 1:return e[0];default:return new o.ZE(e)}}function l(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=[],u=[],l=-1,c=null;if(i.forEach(function(e){var n=e.offset,i=n==l,h=i&&c||{};Object.keys(e).forEach(function(n){var i=n,u=e[n];if("offset"!==n)switch(i=t.normalizePropertyName(i,s),u){case o.k1:u=r[n];break;case o.l3:u=a[n];break;default:u=t.normalizeStyleValue(n,i,u,s)}h[i]=u}),i||u.push(h),c=h,l=n}),s.length){var h="\n - ";throw new Error("Unable to animate due to the following errors:".concat(h).concat(s.join(h)))}return u}function c(e,t,n,i){switch(t){case"start":e.onStart(function(){return i(n&&h(n,"start",e))});break;case"done":e.onDone(function(){return i(n&&h(n,"done",e))});break;case"destroy":e.onDestroy(function(){return i(n&&h(n,"destroy",e))})}}function h(e,t,n){var i=n.totalTime,r=f(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==i?e.totalTime:i,!!n.disabled),o=e._data;return null!=o&&(r._data=o),r}function f(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:t,fromState:n,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function d(e,t,n){var i;return e instanceof Map?(i=e.get(t))||e.set(t,i=n):(i=e[t])||(i=e[t]=n),i}function p(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var v=function(e,t){return!1},_=function(e,t){return!1},m=function(e,t,n){return[]},g=s();(g||"undefined"!=typeof Element)&&(v=a()?function(e,t){for(;t&&t!==document.documentElement;){if(t===e)return!0;t=t.parentNode||t.host}return!1}:function(e,t){return e.contains(t)},_=function(){if(g||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:_}(),m=function(e,t,n){var i=[];if(n)for(var r=e.querySelectorAll(t),o=0;o1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}function R(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t)for(var i in e)n[i]=e[i];else I(e,n);return n}function D(e,t,n){return n?t+":"+n+";":""}function M(e){for(var t="",n=0;n *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t) *"}}(e,n);if("function"==typeof i)return void t.push(i);e=i}var r=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'.concat(e,'" is not supported')),t;var o=r[1],a=r[2],s=r[3];t.push(Q(o,s)),"<"!=a[0]||"*"==o&&"*"==s||t.push(Q(s,o))}(e,r,i)}):r.push(n),r),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:ne(e.options)}}},{key:"visitSequence",value:function(e,t){var n=this;return{type:2,steps:e.steps.map(function(e){return Y(n,e,t)}),options:ne(e.options)}}},{key:"visitGroup",value:function(e,t){var n=this,i=t.currentTime,r=0,o=e.steps.map(function(e){t.currentTime=i;var o=Y(n,e,t);return r=Math.max(r,t.currentTime),o});return t.currentTime=r,{type:3,steps:o,options:ne(e.options)}}},{key:"visitAnimate",value:function(e,t){var n,i=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return ie(P(e,t).duration,0,"");var i=e;if(i.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var r=ie(0,0,"");return r.dynamic=!0,r.strValue=i,r}return ie((n=n||P(i,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;var r=e.styles?e.styles:(0,o.oB)({});if(5==r.type)n=this.visitKeyframes(r,t);else{var a=e.styles,s=!1;if(!a){s=!0;var u={};i.easing&&(u.easing=i.easing),a=(0,o.oB)(u)}t.currentTime+=i.duration+i.delay;var l=this.visitStyle(a,t);l.isEmptyStep=s,n=l}return t.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}}},{key:"visitStyle",value:function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}},{key:"_makeStyleAst",value:function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach(function(e){"string"==typeof e?e==o.l3?n.push(e):t.errors.push("The provided style string value ".concat(e," is not allowed.")):n.push(e)}):n.push(e.styles);var i=!1,r=null;return n.forEach(function(e){if(te(e)){var t=e,n=t.easing;if(n&&(r=n,delete t.easing),!i)for(var o in t)if(t[o].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:e.offset,containsDynamicStyles:i,options:null}}},{key:"_validateStyleAst",value:function(e,t){var n=this,i=t.currentAnimateTimings,r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),e.styles.forEach(function(e){"string"!=typeof e&&Object.keys(e).forEach(function(i){if(n._driver.validateStyleProperty(i)){var a,s,u,l,c,h=t.collectedStyles[t.currentQuerySelector],f=h[i],d=!0;f&&(o!=r&&o>=f.startTime&&r<=f.endTime&&(t.errors.push('The CSS property "'.concat(i,'" that exists between the times of "').concat(f.startTime,'ms" and "').concat(f.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(o,'ms" and "').concat(r,'ms"')),d=!1),o=f.startTime),d&&(h[i]={startTime:o,endTime:r}),t.options&&(a=e[i],s=t.options,u=t.errors,l=s.params||{},(c=U(a)).length&&c.forEach(function(e){l.hasOwnProperty(e)||u.push("Unable to resolve the local animation param ".concat(e," in the given list of values"))}))}else t.errors.push('The provided animation property "'.concat(i,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(e,t){var n=this,i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),i;var r=0,o=[],a=!1,s=!1,u=0,l=e.steps.map(function(e){var i=n._makeStyleAst(e,t),l=null!=i.offset?i.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach(function(e){if(te(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}});else if(te(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(i.styles),c=0;return null!=l&&(r++,c=i.offset=l),s=s||c<0||c>1,a=a||c0&&r0?r==f?1:h*r:o[r],s=a*v;t.currentTime=d+p.delay+s,p.duration=s,n._validateStyleAst(e,t),e.offset=a,i.styles.push(e)}),i}},{key:"visitReference",value:function(e,t){return{type:8,animation:Y(this,N(e.animation),t),options:ne(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:ne(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ne(e.options)}}},{key:"visitQuery",value:function(e,t){var n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;var r=_slicedToArray(function(e){var t=!!e.split(/\s*,\s*/).find(function(e){return":self"==e});return t&&(e=e.replace(J,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(e){return".ng-trigger-"+e.substr(1)}).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),o=r[0],a=r[1];t.currentQuerySelector=n.length?n+" "+o:o,d(t.collectedStyles,t.currentQuerySelector,{});var s=Y(this,N(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:ne(e.options)}}},{key:"visitStagger",value:function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:P(e.timings,t.errors,!0);return{type:12,animation:Y(this,N(e.animation),t),timings:n,options:null}}}]),e}(),ee=function e(t){_classCallCheck(this,e),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={},this.options=null};function te(e){return!Array.isArray(e)&&"object"==typeof e}function ne(e){var t;return e?(e=I(e)).params&&(e.params=(t=e.params)?I(t):null):e={},e}function ie(e,t,n){return{duration:e,delay:t,easing:n}}function re(e,t,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}var oe=function(){function e(){_classCallCheck(this,e),this._map=new Map}return _createClass(e,[{key:"consume",value:function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t}},{key:"append",value:function(e,t){var n,i=this._map.get(e);i||this._map.set(e,i=[]),(n=i).push.apply(n,_toConsumableArray(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),ae=new RegExp(":enter","g"),se=new RegExp(":leave","g");function ue(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new le).buildKeyframes(e,t,n,i,r,o,a,s,u,l)}var le=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"buildKeyframes",value:function(e,t,n,i,r,o,a,s,u){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];u=u||new oe;var c=new he(e,t,u,i,r,l,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),Y(this,n,c);var h=c.timelines.filter(function(e){return e.containsAnimation()});if(h.length&&Object.keys(a).length){var f=h[h.length-1];f.allowOnlyTimelineStyles()||f.setStyles([a],null,c.errors,s)}return h.length?h.map(function(e){return e.buildKeyframes()}):[re(t,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(e,t){}},{key:"visitState",value:function(e,t){}},{key:"visitTransition",value:function(e,t){}},{key:"visitAnimateChild",value:function(e,t){var n=t.subInstructions.consume(t.element);if(n){var i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}},{key:"_visitSubInstructions",value:function(e,t,n){var i=t.currentTimeline.currentTime,r=null!=n.duration?A(n.duration):null,o=null!=n.delay?A(n.delay):null;return 0!==r&&e.forEach(function(e){var n=t.appendInstructionToTimeline(e,r,o);i=Math.max(i,n.duration+n.delay)}),i}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),Y(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var n=this,i=t.subContextCount,r=t,o=e.options;if(o&&(o.params||o.delay)&&((r=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=ce);var a=A(o.delay);r.delayNextStep(a)}e.steps.length&&(e.steps.forEach(function(e){return Y(n,e,r)}),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var n=this,i=[],r=t.currentTimeline.currentTime,o=e.options&&e.options.delay?A(e.options.delay):0;e.steps.forEach(function(a){var s=t.createSubContext(e.options);o&&s.delayNextStep(o),Y(n,a,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)}),t.transformIntoNewTimeline(r),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var n=e.strValue;return P(t.params?j(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());var r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var n=t.currentAnimateTimings,i=t.currentTimeline.duration,r=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(function(e){o.forwardTime((e.offset||0)*r),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var n=this,i=t.currentTimeline.currentTime,r=e.options||{},o=r.delay?A(r.delay):0;o&&(6===t.previousNode.type||0==i&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ce);var a=i,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=s.length;var u=null;s.forEach(function(i,r){t.currentQueryIndex=r;var s=t.createSubContext(e.options,i);o&&s.delayNextStep(o),i===t.element&&(u=s.currentTimeline),Y(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),u&&(t.currentTimeline.mergeTimelineCollectedStyles(u),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var n=t.parentContext,i=t.currentTimeline,r=e.timings,o=Math.abs(r.duration),a=o*(t.currentQueryTotal-1),s=o*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var u=t.currentTimeline;s&&u.delayNextStep(s);var l=u.currentTime;Y(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-l+(i.startTime-n.currentTimeline.startTime)}}]),e}(),ce={},he=function(){function e(t,n,i,r,o,a,s,u){_classCallCheck(this,e),this._driver=t,this.element=n,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ce,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new fe(this._driver,n,0),s.push(this.currentTimeline)}return _createClass(e,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(e,t){var n=this;if(e){var i=e,r=this.options;null!=i.duration&&(r.duration=A(i.duration)),null!=i.delay&&(r.delay=A(i.delay));var o=i.params;if(o){var a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(function(e){t&&a.hasOwnProperty(e)||(a[e]=j(o[e],a,n.errors))})}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach(function(e){n[e]=t[e]})}}return e}},{key:"createSubContext",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,r=n||this.element,o=new e(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}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=ce,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,n){var i={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},r=new de(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}},{key:"incrementTime",value:function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}},{key:"delayNextStep",value:function(e){e>0&&this.currentTimeline.delayNextStep(e)}},{key:"invokeQuery",value:function(e,t,n,i,r,o){var a=[];if(i&&a.push(this.element),e.length>0){e=(e=e.replace(ae,"."+this._enterClassName)).replace(se,"."+this._leaveClassName);var s=this._driver.query(this.element,e,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,_toConsumableArray(s))}return r||0!=a.length||o.push('`query("'.concat(t,'")` returned zero elements. (Use `query("').concat(t,'", { optional: true })` if you wish to allow this.)')),a}}]),e}(),fe=function(){function e(t,n,i,r){_classCallCheck(this,e),this._driver=t,this.element=n,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return _createClass(e,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}},{key:"fork",value:function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}},{key:"_updateStyle",value:function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(function(e){t._backFill[e]=t._globalTimelineStyles[e]||o.l3,t._currentKeyframe[e]=o.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,n,i){var r=this;t&&(this._previousKeyframe.easing=t);var a=i&&i.params||{},s=function(e,t){var n,i={};return e.forEach(function(e){"*"===e?(n=n||Object.keys(t)).forEach(function(e){i[e]=o.l3}):R(e,!1,i)}),i}(e,this._globalTimelineStyles);Object.keys(s).forEach(function(e){var t=j(s[e],a,n);r._pendingStyles[e]=t,r._localTimelineStyles.hasOwnProperty(e)||(r._backFill[e]=r._globalTimelineStyles.hasOwnProperty(e)?r._globalTimelineStyles[e]:o.l3),r._updateStyle(e,t)})}},{key:"applyStylesToKeyframe",value:function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){e._currentKeyframe[n]=t[n]}),Object.keys(this._localTimelineStyles).forEach(function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])}))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;Object.keys(e._styleSummary).forEach(function(n){var i=t._styleSummary[n],r=e._styleSummary[n];(!i||r.time>i.time)&&t._updateStyle(n,r.value)})}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach(function(a,s){var u=R(a,!0);Object.keys(u).forEach(function(e){var i=u[e];i==o.k1?t.add(e):i==o.l3&&n.add(e)}),i||(u.offset=s/e.duration),r.push(u)});var a=t.size?Z(t.values()):[],s=n.size?Z(n.values()):[];if(i){var u=r[0],l=I(u);u.offset=0,l.offset=1,r=[u,l]}return re(this.element,r,a,s,this.duration,this.startTime,this.easing,!1)}}]),e}(),de=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,a,s){var u,l=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return _classCallCheck(this,n),(u=t.call(this,e,i,s.delay)).element=i,u.keyframes=r,u.preStyleProps=o,u.postStyleProps=a,u._stretchStartingKeyframe=l,u.timings={duration:s.duration,delay:s.delay,easing:s.easing},u}return _createClass(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var e=this.keyframes,t=this.timings,n=t.delay,i=t.duration,r=t.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=i+n,s=n/a,u=R(e[0],!1);u.offset=0,o.push(u);var l=R(e[0],!1);l.offset=pe(s),o.push(l);for(var c=e.length-1,h=1;h<=c;h++){var f=R(e[h],!1);f.offset=pe((n+f.offset*i)/a),o.push(f)}i=a,n=0,r="",e=o}return re(this.element,e,this.preStyleProps,this.postStyleProps,i,n,r,!0)}}]),n}(fe);function pe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,t-1);return Math.round(e*n)/n}var ve,_e,me=function e(){_classCallCheck(this,e)},ge=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"normalizePropertyName",value:function(e,t){return V(e)}},{key:"normalizeStyleValue",value:function(e,t,n,i){var r="",o=n.toString().trim();if(ye[t]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push("Please provide a CSS unit value for ".concat(e,":").concat(n))}return o+r}}]),n}(me),ye=(ve="width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","),_e={},ve.forEach(function(e){return _e[e]=!0}),_e);function be(e,t,n,i,r,o,a,s,u,l,c,h,f){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:a,timelines:s,queriedElements:u,preStyleProps:l,postStyleProps:c,totalTime:h,errors:f}}var ke={},Ce=function(){function e(t,n,i){_classCallCheck(this,e),this._triggerName=t,this.ast=n,this._stateStyles=i}return _createClass(e,[{key:"match",value:function(e,t,n,i){return function(e,t,n,i,r){return e.some(function(e){return e(t,n,i,r)})}(this.ast.matchers,e,t,n,i)}},{key:"buildStyles",value:function(e,t,n){var i=this._stateStyles["*"],r=this._stateStyles[e],o=i?i.buildStyles(t,n):{};return r?r.buildStyles(t,n):o}},{key:"build",value:function(e,t,n,i,r,o,a,s,u,l){var c=[],h=this.ast.options&&this.ast.options.params||ke,f=this.buildStyles(n,a&&a.params||ke,c),p=s&&s.params||ke,v=this.buildStyles(i,p,c),_=new Set,m=new Map,g=new Map,y="void"===i,b={params:Object.assign(Object.assign({},h),p)},k=l?[]:ue(e,t,this.ast.animation,r,o,f,v,b,u,c),C=0;if(k.forEach(function(e){C=Math.max(e.duration+e.delay,C)}),c.length)return be(t,this._triggerName,n,i,y,f,v,[],[],m,g,C,c);k.forEach(function(e){var n=e.element,i=d(m,n,{});e.preStyleProps.forEach(function(e){return i[e]=!0});var r=d(g,n,{});e.postStyleProps.forEach(function(e){return r[e]=!0}),n!==t&&_.add(n)});var w=Z(_.values());return be(t,this._triggerName,n,i,y,f,v,k,w,m,g,C)}}]),e}(),we=function(){function e(t,n){_classCallCheck(this,e),this.styles=t,this.defaultParams=n}return _createClass(e,[{key:"buildStyles",value:function(e,t){var n={},i=I(this.defaultParams);return Object.keys(e).forEach(function(t){var n=e[t];null!=n&&(i[t]=n)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var r=e;Object.keys(r).forEach(function(e){var o=r[e];o.length>1&&(o=j(o,i,t)),n[e]=o})}}),n}}]),e}(),xe=function(){function e(t,n){var i=this;_classCallCheck(this,e),this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach(function(e){i.states[e.name]=new we(e.style,e.options&&e.options.params||{})}),Ee(this.states,"true","1"),Ee(this.states,"false","0"),n.transitions.forEach(function(e){i.transitionFactories.push(new Ce(t,e,i.states))}),this.fallbackTransition=new Ce(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return _createClass(e,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(e,t,n,i){return this.transitionFactories.find(function(r){return r.match(e,t,n,i)})||null}},{key:"matchStyles",value:function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}]),e}();function Ee(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var Se=new oe,Oe=function(){function e(t,n,i){_classCallCheck(this,e),this.bodyNode=t,this._driver=n,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}return _createClass(e,[{key:"register",value:function(e,t){var n=[],i=X(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: ".concat(n.join("\n")));this._animations[e]=i}},{key:"_buildPlayer",value:function(e,t,n){var i=e.element,r=l(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=[],s=this._animations[e],l=new Map;if(s?(n=ue(this._driver,t,s,"ng-enter","ng-leave",{},{},r,Se,a)).forEach(function(e){var t=d(l,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=null})}):(a.push("The requested animation doesn't exist or has already been destroyed"),n=[]),a.length)throw new Error("Unable to create the animation due to the following errors: ".concat(a.join("\n")));l.forEach(function(e,t){Object.keys(e).forEach(function(n){e[n]=i._driver.computeStyle(t,n,o.l3)})});var c=u(n.map(function(e){var t=l.get(e.element);return i._buildPlayer(e,{},t)}));return this._playersById[e]=c,c.onDestroy(function(){return i.destroy(e)}),this.players.push(c),c}},{key:"destroy",value:function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by ".concat(e));return t}},{key:"listen",value:function(e,t,n,i){var r=f(t,"","","");return c(this._getPlayer(e),n,r,i),function(){}}},{key:"command",value:function(e,t,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(e);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,i[0]||{});else this.register(e,i[0])}}]),e}(),Ae=[],Te={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Pe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ie=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";_classCallCheck(this,e),this.namespaceId=n;var i,r=t&&t.hasOwnProperty("value");if(this.value=null!=(i=r?t.value:t)?i:null,r){var o=I(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return _createClass(e,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach(function(e){null==n[e]&&(n[e]=t[e])})}}}]),e}(),Re=new Ie("void"),De=function(){function e(t,n,i){_classCallCheck(this,e),this.id=t,this.hostElement=n,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,je(n,this._hostClassName)}return _createClass(e,[{key:"listen",value:function(e,t,n,i){var r,o=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(t,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(t,'" because the provided event is undefined!'));if("start"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(t,'" is not supported!'));var a=d(this._elementListeners,e,[]),s={name:t,phase:n,callback:i};a.push(s);var u=d(this._engine.statesByElement,e,{});return u.hasOwnProperty(t)||(je(e,"ng-trigger"),je(e,"ng-trigger-"+t),u[t]=Re),function(){o._engine.afterFlush(function(){var e=a.indexOf(s);e>=0&&a.splice(e,1),o._triggers[t]||delete u[t]})}}},{key:"register",value:function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}},{key:"_getTrigger",value:function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'.concat(e,'" has not been registered!'));return t}},{key:"trigger",value:function(e,t,n){var i=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._getTrigger(t),a=new Le(this.id,t,e),s=this._engine.statesByElement.get(e);s||(je(e,"ng-trigger"),je(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var u=s[t],l=new Ie(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&l.absorbOptions(u.options),s[t]=l,u||(u=Re),"void"===l.value||u.value!==l.value){var c=d(this._engine.playersByElement,e,[]);c.forEach(function(e){e.namespaceId==i.id&&e.triggerName==t&&e.queued&&e.destroy()});var h=o.matchTransition(u.value,l.value,e,l.params),f=!1;if(!h){if(!r)return;h=o.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:h,fromState:u,toState:l,player:a,isFallbackTransition:f}),f||(je(e,"ng-animate-queued"),a.onStart(function(){Ze(e,"ng-animate-queued")})),a.onDone(function(){var t=i.players.indexOf(a);t>=0&&i.players.splice(t,1);var n=i._engine.playersByElement.get(e);if(n){var r=n.indexOf(a);r>=0&&n.splice(r,1)}}),this.players.push(a),c.push(a),a}if(!function(e,t){var n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(var r=0;r=0){for(var i=!1,r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),i=!0;break}i||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}},{key:"register",value:function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}},{key:"registerTrigger",value:function(e,t,n){var i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var n=this;if(e){var i=this._fetchNamespace(e);this.afterFlush(function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(i);t>=0&&n._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return i.destroy(t)})}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var i=Object.keys(n),r=0;r=0&&this.collectedLeaveElements.splice(o,1)}if(e){var a=this._fetchNamespace(e);a&&a.insertNode(t,n)}i&&this.collectEnterElement(t)}}},{key:"collectEnterElement",value:function(e){this.collectedEnterElements.push(e)}},{key:"markElementAsDisabled",value:function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),je(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ze(e,"ng-animate-disabled"))}},{key:"removeNode",value:function(e,t,n,i){if(Fe(t)){var r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),n){var o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,i)}}else this._onRemovalComplete(t,i)}},{key:"markElementAsRemoved",value:function(e,t,n,i){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(e,t,n,i,r){return Fe(t)?this._fetchNamespace(e).listen(t,n,i,r):function(){}}},{key:"_buildInstruction",value:function(e,t,n,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,r)}},{key:"destroyInnerAnimations",value:function(e){var t=this,n=this.driver.query(e,".ng-trigger",!0);n.forEach(function(e){return t.destroyActiveAnimationsForElement(e)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,".ng-animating",!0)).forEach(function(e){return t.finishActiveQueriedAnimationOnElement(e)})}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach(function(e){e.queued?e.markedForDestroy=!0:e.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach(function(e){return e.finish()})}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise(function(t){if(e.players.length)return u(e.players).onDone(function(){return t()});t()})}},{key:"processLeaveNode",value:function(e){var t=this,n=e.__ng_removed;if(n&&n.setForRemoval){if(e.__ng_removed=Te,n.namespaceId){this.destroyInnerAnimations(e);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(function(e){t.markElementAsDisabled(e,!1)})}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,n){return e._balanceNamespaceList(t,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i=0;T--)this._namespaceList[T].drainQueuedTransitions(t).forEach(function(e){var t=e.player,o=e.element;if(O.push(t),n.collectedEnterElements.length){var a=o.__ng_removed;if(a&&a.setForMove)return void t.destroy()}var u=!p||!n.driver.containsElement(p,o),f=E.get(o),v=m.get(o),_=n._buildInstruction(e,i,v,f,u);if(_.errors&&_.errors.length)A.push(_);else{if(u)return t.onStart(function(){return F(o,_.fromStyles)}),t.onDestroy(function(){return L(o,_.toStyles)}),void r.push(t);if(e.isFallbackTransition)return t.onStart(function(){return F(o,_.fromStyles)}),t.onDestroy(function(){return L(o,_.toStyles)}),void r.push(t);_.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),i.append(o,_.timelines),s.push({instruction:_,player:t,element:o}),_.queriedElements.forEach(function(e){return d(l,e,[]).push(t)}),_.preStyleProps.forEach(function(e,t){var n=Object.keys(e);if(n.length){var i=c.get(t);i||c.set(t,i=new Set),n.forEach(function(e){return i.add(e)})}}),_.postStyleProps.forEach(function(e,t){var n=Object.keys(e),i=h.get(t);i||h.set(t,i=new Set),n.forEach(function(e){return i.add(e)})})}});if(A.length){var P=[];A.forEach(function(e){P.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach(function(e){return P.push("- ".concat(e,"\n"))})}),O.forEach(function(e){return e.destroy()}),this.reportError(P)}var I=new Map,R=new Map;s.forEach(function(e){var t=e.element;i.has(t)&&(R.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,I))}),r.forEach(function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){d(I,t,[]).push(e),e.destroy()})});var D=y.filter(function(e){return He(e,c,h)}),M=new Map;Be(M,this.driver,k,h,o.l3).forEach(function(e){He(e,c,h)&&D.push(e)});var N=new Map;_.forEach(function(e,t){Be(N,n.driver,new Set(e),c,o.k1)}),D.forEach(function(e){var t=M.get(e),n=N.get(e);M.set(e,Object.assign(Object.assign({},t),n))});var B=[],U=[],j={};s.forEach(function(e){var t=e.element,o=e.player,s=e.instruction;if(i.has(t)){if(f.has(t))return o.onDestroy(function(){return L(t,s.toStyles)}),o.disabled=!0,o.overrideTotalTime(s.totalTime),void r.push(o);var l=j;if(R.size>1){for(var c=t,h=[];c=c.parentNode;){var d=R.get(c);if(d){l=d;break}h.push(c)}h.forEach(function(e){return R.set(e,l)})}var p=n._buildAnimation(o.namespaceId,s,I,a,N,M);if(o.setRealPlayer(p),l===j)B.push(o);else{var v=n.playersByElement.get(l);v&&v.length&&(o.parentPlayer=u(v)),r.push(o)}}else F(t,s.fromStyles),o.onDestroy(function(){return L(t,s.toStyles)}),U.push(o),f.has(t)&&r.push(o)}),U.forEach(function(e){var t=a.get(e.element);if(t&&t.length){var n=u(t);e.setRealPlayer(n)}}),r.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var Z=0;Z0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new o.ZN(e.duration,e.delay)}}]),e}(),Le=function(){function e(t,n,i){_classCallCheck(this,e),this.namespaceId=t,this.triggerName=n,this.element=i,this._player=new o.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return _createClass(e,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(n){t._queuedCallbacks[n].forEach(function(t){return c(e,n,void 0,t)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(e){this.totalTime=e}},{key:"syncPlayerEvents",value:function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart(function(){return n.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})}},{key:"_queueEvent",value:function(e,t){d(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}]),e}();function Fe(e){return e&&1===e.nodeType}function Ne(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function Be(e,t,n,i,r){var o=[];n.forEach(function(e){return o.push(Ne(e))});var a=[];i.forEach(function(n,i){var o={};n.forEach(function(e){var n=o[e]=t.computeStyle(i,e,r);n&&0!=n.length||(i.__ng_removed=Pe,a.push(i))}),e.set(i,o)});var s=0;return n.forEach(function(e){return Ne(e,o[s++])}),a}function Ue(e,t){var n=new Map;if(e.forEach(function(e){return n.set(e,[])}),0==t.length)return n;var i=new Set(t),r=new Map;function o(e){if(!e)return 1;var t=r.get(e);if(t)return t;var a=e.parentNode;return t=n.has(a)?a:i.has(a)?1:o(a),r.set(e,t),t}return t.forEach(function(e){var t=o(e);1!==t&&n.get(t).push(e)}),n}function je(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Ze(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function qe(e,t,n){u(n).onDone(function(){return e.processLeaveNode(t)})}function Ve(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),e}();function Ye(e,t){var n=null,i=null;return Array.isArray(t)&&t.length?(n=Ke(t[0]),t.length>1&&(i=Ke(t[t.length-1]))):t&&(n=Ke(t)),n||i?new Ge(e,n,i):null}var Ge=function(){function e(t,n,i){_classCallCheck(this,e),this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;var r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}return _createClass(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&L(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(L(this._element,this._initialStyles),this._endStyles&&(L(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(F(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(F(this._element,this._endStyles),this._endStyles=null),L(this._element,this._initialStyles),this._state=3)}}]),e}();function Ke(e){for(var t=null,n=Object.keys(e),i=0;i=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),et(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var e,t,n,i;this._destroyed||(this._destroyed=!0,this.finish(),e=this._element,t=this._name,n=nt(e,"").split(","),(i=$e(n,t))>=0&&(n.splice(i,1),tt(e,"",n.join(","))))}}]),e}();function Je(e,t,n){tt(e,"PlayState",n,Xe(e,t))}function Xe(e,t){var n=nt(e,"");return n.indexOf(",")>0?$e(n.split(","),t):$e([n],t)}function $e(e,t){for(var n=0;n=0)return n;return-1}function et(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function tt(e,t,n,i){var r="animation"+t;if(null!=i){var o=e.style[r];if(o.length){var a=o.split(",");a[i]=n,n=a.join(",")}}e.style[r]=n}function nt(e,t){return e.style["animation"+t]||""}var it=function(){function e(t,n,i,r,o,a,s,u){_classCallCheck(this,e),this.element=t,this.keyframes=n,this.animationName=i,this._duration=r,this._delay=o,this._finalStyles=s,this._specialStyles=u,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=a||"linear",this.totalTime=r+o,this._buildStyler()}return _createClass(e,[{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(e){this._styler.setPosition(e)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new Qe(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return e.finish()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}},{key:"beforeDestroy",value:function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(i){"offset"!=i&&(t[i]=n?e._finalStyles[i]:G(e.element,i))})}this.currentSnapshot=t}}]),e}(),rt=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this)).element=e,r._startingStyles={},r.__initialized=!1,r._styles=E(i),r}return _createClass(n,[{key:"init",value:function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(t){e._startingStyles[t]=e.element.style[t]}),_get(_getPrototypeOf(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(t){return e.element.style.setProperty(t,e._styles[t])}),_get(_getPrototypeOf(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)}),this._startingStyles=null,_get(_getPrototypeOf(n.prototype),"destroy",this).call(this))}}]),n}(o.ZN),ot=function(){function e(){_classCallCheck(this,e),this._count=0}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return k(e)}},{key:"matchesElement",value:function(e,t){return C(e,t)}},{key:"containsElement",value:function(e,t){return w(e,t)}},{key:"query",value:function(e,t,n){return x(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"buildKeyframeElement",value:function(e,t,n){n=n.map(function(e){return E(e)});var i="@keyframes ".concat(t," {\n"),r="";n.forEach(function(e){r=" ";var t=parseFloat(e.offset);i+="".concat(r).concat(100*t,"% {\n"),r+=" ",Object.keys(e).forEach(function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(i+="".concat(r,"animation-timing-function: ").concat(n,";\n")));default:return void(i+="".concat(r).concat(t,": ").concat(n,";\n"))}}),i+="".concat(r,"}\n")}),i+="}\n";var o=document.createElement("style");return o.textContent=i,o}},{key:"animate",value:function(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=o.filter(function(e){return e instanceof it}),s={};H(n,i)&&a.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return s[e]=t[e]})});var u=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach(function(e){Object.keys(e).forEach(function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=z(e,t,s));if(0==n)return new rt(e,u);var l="gen_css_kf_"+this._count++,c=this.buildKeyframeElement(e,l,t);(function(e){var t,n=null===(t=e.getRootNode)||void 0===t?void 0:t.call(e);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(e).appendChild(c);var h=Ye(e,t),f=new it(e,t,l,n,i,r,u,h);return f.onDestroy(function(){var e;(e=c).parentNode.removeChild(e)}),f}}]),e}(),at=function(){function e(t,n,i,r){_classCallCheck(this,e),this.element=t,this.keyframes=n,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.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",function(){return e._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(e,t,n){return e.animate(t,n)}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:G(e.element,n))}),this.currentSnapshot=t}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),st=function(){function e(){_classCallCheck(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ut().toString()),this._cssKeyframesDriver=new ot}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return k(e)}},{key:"matchesElement",value:function(e,t){return C(e,t)}},{key:"containsElement",value:function(e,t){return w(e,t)}},{key:"query",value:function(e,t,n){return x(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"overrideWebAnimationsSupport",value:function(e){this._isNativeImpl=e}},{key:"animate",value:function(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=arguments.length>6?arguments[6]:void 0;if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,i,r,o);var s={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(s.easing=r);var u={},l=o.filter(function(e){return e instanceof at});H(n,i)&&l.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return u[e]=t[e]})});var c=Ye(e,t=z(e,t=t.map(function(e){return R(e,!1)}),u));return new at(e,t,s,c)}}]),e}();function ut(){return a()&&Element.prototype.animate||{}}var lt=n(8583),ct=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this))._nextAnimationId=0,o._renderer=e.createRenderer(r.body,{id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}}),o}return _createClass(n,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?(0,o.vP)(e):e;return dt(this._renderer,null,t,"register",[n]),new ht(t,this._renderer)}}]),n}(o._j);return e.\u0275fac=function(t){return new(t||e)(i.LFG(i.FYo),i.LFG(lt.K0))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}(),ht=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this))._id=e,r._renderer=i,r}return _createClass(n,[{key:"create",value:function(e,t){return new ft(this._id,e,t||{},this._renderer)}}]),n}(o.LC),ft=function(){function e(t,n,i,r){_classCallCheck(this,e),this.id=t,this.element=n,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}return _createClass(e,[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i=0&&e3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,i)}},{key:"removeChild",value:function(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}},{key:"selectRootElement",value:function(e,t){return this.delegate.selectRootElement(e,t)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setAttribute",value:function(e,t,n,i){this.delegate.setAttribute(e,t,n,i)}},{key:"removeAttribute",value:function(e,t,n){this.delegate.removeAttribute(e,t,n)}},{key:"addClass",value:function(e,t){this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,n,i){this.delegate.setStyle(e,t,n,i)}},{key:"removeStyle",value:function(e,t,n){this.delegate.removeStyle(e,t,n)}},{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}},{key:"setValue",value:function(e,t){this.delegate.setValue(e,t)}},{key:"listen",value:function(e,t,n){return this.delegate.listen(e,t,n)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}}]),e}(),_t=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var a;return _classCallCheck(this,n),(a=t.call(this,i,r,o)).factory=e,a.namespaceId=i,a}return _createClass(n,[{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}},{key:"listen",value:function(e,t,n){var i,r,o=this;if("@"==t.charAt(0)){var a,s=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e),u=t.substr(1),l="";return"@"!=u.charAt(0)&&(r=(i=u).indexOf("."),u=(a=_slicedToArray([i.substring(0,r),i.substr(r+1)],2))[0],l=a[1]),this.engine.listen(this.namespaceId,s,u,l,function(e){o.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}]),n}(vt),mt=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){return _classCallCheck(this,n),t.call(this,e.body,i,r)}return _createClass(n,[{key:"ngOnDestroy",value:function(){this.flush()}}]),n}(ze);return e.\u0275fac=function(t){return new(t||e)(i.LFG(lt.K0),i.LFG(O),i.LFG(me))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}(),gt=new i.OlP("AnimationModuleType"),yt=[{provide:o._j,useClass:ct},{provide:me,useFactory:function(){return new ge}},{provide:ze,useClass:mt},{provide:i.FYo,useFactory:function(e,t,n){return new pt(e,t,n)},deps:[r.se,ze,i.R0b]}],bt=[{provide:O,useFactory:function(){return"function"==typeof ut()?new st:new ot}},{provide:gt,useValue:"BrowserAnimations"}].concat(yt),kt=[{provide:O,useClass:S},{provide:gt,useValue:"NoopAnimations"}].concat(yt),Ct=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:t.disableAnimations?kt:bt}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({providers:bt,imports:[r.b2]}),e}()},9075:function(e,t,n){"use strict";n.d(t,{b2:function(){return N},H7:function(){return R},q6:function(){return L},se:function(){return C}});var i,r=n(8583),o=n(3018),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"onAndCancel",value:function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}}},{key:"dispatchEvent",value:function(e,t){e.dispatchEvent(t)}},{key:"remove",value:function(e){e.parentNode&&e.parentNode.removeChild(e)}},{key:"createElement",value:function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(e){return e.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(e){return e instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}},{key:"getBaseHref",value:function(e){var t=(s=s||document.querySelector("base"))?s.getAttribute("href"):null;return null==t?null:function(e){(i=i||document.createElement("a")).setAttribute("href",e);var t=i.pathname;return"/"===t.charAt(0)?t:"/".concat(t)}(t)}},{key:"resetBaseElement",value:function(){s=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(e){return(0,r.Mx)(document.cookie,e)}}],[{key:"makeCurrent",value:function(){(0,r.HT)(new n)}}]),n}(function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).supportsDOMEvents=!0,e}return n}(r.w_)),s=null,u=new o.OlP("TRANSITION_ID"),l=[{provide:o.ip1,useFactory:function(e,t,n){return function(){n.get(o.CZH).donePromise.then(function(){var n=(0,r.q)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(function(t){return t.getAttribute("ng-transition")===e}).forEach(function(e){return n.remove(e)})})}},deps:[u,r.K0,o.zs3],multi:!0}],c=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){o.dqk.getAngularTestability=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},o.dqk.getAllAngularTestabilities=function(){return e.getAllTestabilities()},o.dqk.getAllAngularRootElements=function(){return e.getAllRootElements()},o.dqk.frameworkStabilizers||(o.dqk.frameworkStabilizers=[]),o.dqk.frameworkStabilizers.push(function(e){var t=o.dqk.getAllAngularTestabilities(),n=t.length,i=!1,r=function(t){i=i||t,0==--n&&e(i)};t.forEach(function(e){e.whenStable(r)})})}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var i=e.getTestability(t);return null!=i?i:n?(0,r.q)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){(0,o.VLi)(new e)}}]),e}(),h=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"build",value:function(){return new XMLHttpRequest}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}(),f=new o.OlP("EventManagerPlugins"),d=function(){var e=function(){function e(t,n){var i=this;_classCallCheck(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach(function(e){return e.manager=i}),this._plugins=t.slice().reverse()}return _createClass(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,i=0;i-1&&(t.splice(n,1),o+=e+".")}),o+=r,0!=t.length||0===r.length)return null;var a={};return a.domEventName=i,a.fullKey=o,a}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&T.hasOwnProperty(t)&&(t=T[t]))}return A[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),O.forEach(function(i){i!=n&&(0,P[i])(e)&&(t+=i+".")}),t+=n}},{key:"eventCallback",value:function(e,t,i){return function(r){n.getEventFullKey(r)===e&&i.runGuarded(function(){return t(r)})}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),n}(p);return e.\u0275fac=function(t){return new(t||e)(o.LFG(r.K0))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}(),R=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,o.Yz7)({factory:function(){return(0,o.LFG)(M)},token:e,providedIn:"root"}),e}();function D(e){return new M(e.get(r.K0))}var M=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this))._doc=e,i}return _createClass(n,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case o.q3G.NONE:return t;case o.q3G.HTML:return(0,o.qzn)(t,"HTML")?(0,o.z3N)(t):(0,o.EiD)(this._doc,String(t)).toString();case o.q3G.STYLE:return(0,o.qzn)(t,"Style")?(0,o.z3N)(t):t;case o.q3G.SCRIPT:if((0,o.qzn)(t,"Script"))return(0,o.z3N)(t);throw new Error("unsafe value used in a script context");case o.q3G.URL:return(0,o.yhl)(t),(0,o.qzn)(t,"URL")?(0,o.z3N)(t):(0,o.mCW)(String(t));case o.q3G.RESOURCE_URL:if((0,o.qzn)(t,"ResourceURL"))return(0,o.z3N)(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(e," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return(0,o.JVY)(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return(0,o.L6k)(e)}},{key:"bypassSecurityTrustScript",value:function(e){return(0,o.eBb)(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return(0,o.LAX)(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return(0,o.pB0)(e)}}]),n}(R);return e.\u0275fac=function(t){return new(t||e)(o.LFG(r.K0))},e.\u0275prov=(0,o.Yz7)({factory:function(){return D((0,o.LFG)(o.gxx))},token:e,providedIn:"root"}),e}(),L=(0,o.eFA)(o._c5,"browser",[{provide:o.Lbi,useValue:r.bD},{provide:o.g9A,useValue:function(){a.makeCurrent(),c.init()},multi:!0},{provide:r.K0,useFactory:function(){return(0,o.RDi)(document),document},deps:[]}]),F=[[],{provide:o.zSh,useValue:"root"},{provide:o.qLn,useFactory:function(){return new o.qLn},deps:[]},{provide:f,useClass:S,multi:!0,deps:[r.K0,o.R0b,o.Lbi]},{provide:f,useClass:I,multi:!0,deps:[r.K0]},[],{provide:C,useClass:C,deps:[d,_,o.AFp]},{provide:o.FYo,useExisting:C},{provide:v,useExisting:_},{provide:_,useClass:_,deps:[r.K0]},{provide:o.dDg,useClass:o.dDg,deps:[o.R0b]},{provide:d,useClass:d,deps:[f,o.R0b]},{provide:r.JF,useClass:h,deps:[]},[]],N=function(){var e=function(){function e(t){if(_classCallCheck(this,e),t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return _createClass(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:o.AFp,useValue:t.appId},{provide:u,useExisting:o.AFp},l]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(e,12))},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:F,imports:[r.ez,o.hGG]}),e}();"undefined"!=typeof window&&window},8741:function(e,t,n){"use strict";n.d(t,{gz:function(){return nt},F0:function(){return xn},rH:function(){return En},yS:function(){return Sn},Bz:function(){return Bn},lC:function(){return An}});var i=n(8583),r=n(3018),o=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}(),a=n(4402),s=n(5917),u=n(6215),l=n(739),c=n(7574),h=n(8071),f=n(1439),d=n(9193),p=n(2441),v=n(9765),_=n(7393);function m(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new g(e,t,n))}}var g=function(){function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_classCallCheck(this,e),this.accumulator=t,this.seed=n,this.hasSeed=i}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new y(e,this.accumulator,this.seed,this.hasSeed))}}]),e}(),y=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var a;return _classCallCheck(this,n),(a=t.call(this,e)).accumulator=i,a._seed=r,a.hasSeed=o,a.index=0,a}return _createClass(n,[{key:"seed",get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e}},{key:"_next",value:function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(i){this.destination.error(i)}this.seed=t,this.destination.next(t)}}]),n}(_.L),b=n(5345);function k(e){return function(t){var n=new C(e),i=t.lift(n);return n.caught=i}}var C=function(){function e(t){_classCallCheck(this,e),this.selector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new w(e,this.selector,this.caught))}}]),e}(),w=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).selector=i,o.caught=r,o}return _createClass(n,[{key:"error",value:function(e){if(!this.isStopped){var t;try{t=this.selector(e,this.caught)}catch(o){return void _get(_getPrototypeOf(n.prototype),"error",this).call(this,o)}this._unsubscribeAndRecycle();var i=new b.IY(this);this.add(i);var r=(0,b.ft)(t,i);r!==i&&this.add(r)}}}]),n}(b.Ds),x=n(5435),E=n(7108);function S(e){return function(t){return 0===e?(0,d.c)():t.lift(new O(e))}}var O=function(){function e(t){if(_classCallCheck(this,e),this.total=t,this.total<0)throw new E.W}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new A(e,this.total))}}]),e}(),A=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).total=i,r.ring=new Array,r.count=0,r}return _createClass(n,[{key:"_next",value:function(e){var t=this.ring,n=this.total,i=this.count++;t.length0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r0&&void 0!==arguments[0]?arguments[0]:R;return function(t){return t.lift(new P(e))}}var P=function(){function e(t){_classCallCheck(this,e),this.errorFactory=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new I(e,this.errorFactory))}}]),e}(),I=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).errorFactory=i,r.hasValue=!1,r}return _createClass(n,[{key:"_next",value:function(e){this.hasValue=!0,this.destination.next(e)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}]),n}(_.L);function R(){return new o}function D(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new M(e))}}var M=function(){function e(t){_classCallCheck(this,e),this.defaultValue=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new L(e,this.defaultValue))}}]),e}(),L=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).defaultValue=i,r.isEmpty=!0,r}return _createClass(n,[{key:"_next",value:function(e){this.isEmpty=!1,this.destination.next(e)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(_.L),F=n(4487),N=n(5257);function B(e,t){var n=arguments.length>=2;return function(i){return i.pipe(e?(0,x.h)(function(t,n){return e(t,n,i)}):F.y,(0,N.q)(1),n?D(t):T(function(){return new o}))}}var U=n(5319),j=function(){function e(t){_classCallCheck(this,e),this.callback=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Z(e,this.callback))}}]),e}(),Z=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).add(new U.w(i)),r}return n}(_.L),q=n(8002),V=n(3190),H=n(9761),z=n(4612),Y=n(9773),G=n(3342),K=n(1307),W=n(3282),Q=function e(t,n){_classCallCheck(this,e),this.id=t,this.url=n},J=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _classCallCheck(this,n),(r=t.call(this,e,i)).navigationTrigger=o,r.restoredState=a,r}return _createClass(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(Q),X=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e,i)).urlAfterRedirects=r,o}return _createClass(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(Q),$=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e,i)).reason=r,o}return _createClass(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(Q),ee=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e,i)).error=r,o}return _createClass(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(Q),te=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(Q),ne=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(Q),ie=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,a){var s;return _classCallCheck(this,n),(s=t.call(this,e,i)).urlAfterRedirects=r,s.state=o,s.shouldActivate=a,s}return _createClass(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(Q),re=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(Q),oe=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(Q),ae=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),se=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),ue=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),le=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),ce=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),he=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),fe=function(){function e(t,n,i){_classCallCheck(this,e),this.routerEvent=t,this.position=n,this.anchor=i}return _createClass(e,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),e}(),de=function(){function e(t){_classCallCheck(this,e),this.params=t||{}}return _createClass(e,[{key:"has",value:function(e){return Object.prototype.hasOwnProperty.call(this.params,e)}},{key:"get",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null}},{key:"getAll",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function pe(e){return new de(e)}function ve(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function _e(e,t,n){var i=n.path.split("/");if(i.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.length0?e[e.length-1]:null}function ke(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Ce(e){return(0,r.CqO)(e)?e:(0,r.QGY)(e)?(0,a.D)(Promise.resolve(e)):(0,s.of)(e)}var we={exact:function e(t,n,i){if(!Re(t.segments,n.segments))return!1;if(!Ae(t.segments,n.segments,i))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r],i))return!1}return!0},subset:Se},xe={exact:function(e,t){return me(e,t)},subset:function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(function(n){return ge(e[n],t[n])})},ignored:function(){return!0}};function Ee(e,t,n){return we[n.paths](e.root,t.root,n.matrixParams)&&xe[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function Se(e,t,n){return Oe(e,t,t.segments,n)}function Oe(e,t,n,i){if(e.segments.length>n.length){var r=e.segments.slice(0,n.length);return!!Re(r,n)&&!t.hasChildren()&&!!Ae(r,n,i)}if(e.segments.length===n.length){if(!Re(e.segments,n))return!1;if(!Ae(e.segments,n,i))return!1;for(var o in t.children){if(!e.children[o])return!1;if(!Se(e.children[o],t.children[o],i))return!1}return!0}var a=n.slice(0,e.segments.length),s=n.slice(e.segments.length);return!!Re(e.segments,a)&&!!Ae(e.segments,a,i)&&!!e.children.primary&&Oe(e.children.primary,t,s,i)}function Ae(e,t,n){return t.every(function(t,i){return xe[n](e[i].parameters,t.parameters)})}var Te=function(){function e(t,n,i){_classCallCheck(this,e),this.root=t,this.queryParams=n,this.fragment=i}return _createClass(e,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=pe(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return Le.serialize(this)}}]),e}(),Pe=function(){function e(t,n){var i=this;_classCallCheck(this,e),this.segments=t,this.children=n,this.parent=null,ke(n,function(e,t){return e.parent=i})}return _createClass(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return Fe(this)}}]),e}(),Ie=function(){function e(t,n){_classCallCheck(this,e),this.path=t,this.parameters=n}return _createClass(e,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=pe(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return Ve(this)}}]),e}();function Re(e,t){return e.length===t.length&&e.every(function(e,n){return e.path===t[n].path})}var De=function e(){_classCallCheck(this,e)},Me=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"parse",value:function(e){var t=new Ke(e);return new Te(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){var t,n,i;return"/".concat(Ne(e.root,!0)).concat((n=e.queryParams,i=Object.keys(n).map(function(e){var t=n[e];return Array.isArray(t)?t.map(function(t){return"".concat(Ue(e),"=").concat(Ue(t))}).join("&"):"".concat(Ue(e),"=").concat(Ue(t))}).filter(function(e){return!!e}),i.length?"?".concat(i.join("&")):"")).concat("string"==typeof e.fragment?"#".concat((t=e.fragment,encodeURI(t))):"")}}]),e}(),Le=new Me;function Fe(e){return e.segments.map(function(e){return Ve(e)}).join("/")}function Ne(e,t){if(!e.hasChildren())return Fe(e);if(t){var n=e.children.primary?Ne(e.children.primary,!1):"",i=[];return ke(e.children,function(e,t){"primary"!==t&&i.push("".concat(t,":").concat(Ne(e,!1)))}),i.length>0?"".concat(n,"(").concat(i.join("//"),")"):n}var r=function(e,t){var n=[];return ke(e.children,function(e,i){"primary"===i&&(n=n.concat(t(e,i)))}),ke(e.children,function(e,i){"primary"!==i&&(n=n.concat(t(e,i)))}),n}(e,function(t,n){return"primary"===n?[Ne(e.children.primary,!1)]:["".concat(n,":").concat(Ne(t,!1))]});return 1===Object.keys(e.children).length&&null!=e.children.primary?"".concat(Fe(e),"/").concat(r[0]):"".concat(Fe(e),"/(").concat(r.join("//"),")")}function Be(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ue(e){return Be(e).replace(/%3B/gi,";")}function je(e){return Be(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ze(e){return decodeURIComponent(e)}function qe(e){return Ze(e.replace(/\+/g,"%20"))}function Ve(e){return"".concat(je(e.path)).concat((t=e.parameters,Object.keys(t).map(function(e){return";".concat(je(e),"=").concat(je(t[e]))}).join("")));var t}var He=/^[^\/()?;=#]+/;function ze(e){var t=e.match(He);return t?t[0]:""}var Ye=/^[^=?&#]+/,Ge=/^[^?&#]+/,Ke=function(){function e(t){_classCallCheck(this,e),this.url=t,this.remaining=t}return _createClass(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Pe([],{}):new Pe([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new Pe(e,t)),n}},{key:"parseSegment",value:function(){var e=ze(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new Ie(Ze(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=ze(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=ze(this.remaining);i&&(n=i,this.capture(n))}e[Ze(t)]=Ze(n)}}},{key:"parseQueryParam",value:function(e){var t=function(e){var t=e.match(Ye);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=function(e){var t=e.match(Ge);return t?t[0]:""}(this.remaining);i&&(n=i,this.capture(n))}var r=qe(t),o=qe(n);if(e.hasOwnProperty(r)){var a=e[r];Array.isArray(a)||(a=[a],e[r]=a),a.push(o)}else e[r]=o}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=ze(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '".concat(this.url,"'"));var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r="primary");var o=this.parseChildren();t[r]=1===Object.keys(o).length?o.primary:new Pe([],o),this.consumeOptional("//")}return t}},{key:"peekStartsWith",value:function(e){return this.remaining.startsWith(e)}},{key:"consumeOptional",value:function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}},{key:"capture",value:function(e){if(!this.consumeOptional(e))throw new Error('Expected "'.concat(e,'".'))}}]),e}(),We=function(){function e(t){_classCallCheck(this,e),this._root=t}return _createClass(e,[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}},{key:"children",value:function(e){var t=Qe(e,this._root);return t?t.children.map(function(e){return e.value}):[]}},{key:"firstChild",value:function(e){var t=Qe(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=Je(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(e){return e.value}).filter(function(t){return t!==e})}},{key:"pathFromRoot",value:function(e){return Je(e,this._root).map(function(e){return e.value})}}]),e}();function Qe(e,t){if(e===t.value)return t;var n,i=_createForOfIteratorHelper(t.children);try{for(i.s();!(n=i.n()).done;){var r=Qe(e,n.value);if(r)return r}}catch(o){i.e(o)}finally{i.f()}return null}function Je(e,t){if(e===t.value)return[t];var n,i=_createForOfIteratorHelper(t.children);try{for(i.s();!(n=i.n()).done;){var r=Je(e,n.value);if(r.length)return r.unshift(t),r}}catch(o){i.e(o)}finally{i.f()}return[]}var Xe=function(){function e(t,n){_classCallCheck(this,e),this.value=t,this.children=n}return _createClass(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function $e(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}var et=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).snapshot=i,at(_assertThisInitialized(r),e),r}return _createClass(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(We);function tt(e,t){var n=function(e,t){var n=new rt([],{},{},"",{},"primary",t,null,e.root,-1,{});return new ot("",new Xe(n,[]))}(e,t),i=new u.X([new Ie("",{})]),r=new u.X({}),o=new u.X({}),a=new u.X({}),s=new u.X(""),l=new nt(i,r,a,s,o,"primary",t,n.root);return l.snapshot=n.root,new et(new Xe(l,[]),n)}var nt=function(){function e(t,n,i,r,o,a,s,u){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this._futureSnapshot=u}return _createClass(e,[{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe((0,q.U)(function(e){return pe(e)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,q.U)(function(e){return pe(e)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),e}();function it(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=e.pathFromRoot,i=0;if("always"!==t)for(i=n.length-1;i>=1;){var r=n[i],o=n[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function(e){return e.reduce(function(e,t){return{params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(i))}var rt=function(){function e(t,n,i,r,o,a,s,u,l,c,h){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=u,this._urlSegment=l,this._lastPathIndex=c,this._resolve=h}return _createClass(e,[{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=pe(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=pe(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return"Route(url:'".concat(this.url.map(function(e){return e.toString()}).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}}]),e}(),ot=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,i)).url=e,at(_assertThisInitialized(r),i),r}return _createClass(n,[{key:"toString",value:function(){return st(this._root)}}]),n}(We);function at(e,t){t.value._routerState=e,t.children.forEach(function(t){return at(e,t)})}function st(e){var t=e.children.length>0?" { ".concat(e.children.map(st).join(", ")," } "):"";return"".concat(e.value).concat(t)}function ut(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,me(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),me(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n0&&ft(i[0]))throw new Error("Root segment cannot have matrix parameters");var r=i.find(dt);if(r&&r!==be(i))throw new Error("{outlets:{}} has to be the last command")}return _createClass(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),mt=function e(t,n,i){_classCallCheck(this,e),this.segmentGroup=t,this.processChildren=n,this.index=i};function gt(e,t,n){if(e||(e=new Pe([],{})),0===e.segments.length&&e.hasChildren())return yt(e,t,n);var i=function(e,t,n){for(var i=0,r=t,o={match:!1,pathIndex:0,commandIndex:0};r=n.length)return o;var a=e.segments[r],s=n[i];if(dt(s))break;var u="".concat(s),l=i0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!wt(u,l,a))return o;i+=2}else{if(!wt(u,{},a))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,t,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex1&&void 0!==arguments[1]?arguments[1]:"",n=0;n0)?Object.assign({},Bt):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var r=(t.matcher||_e)(n,e,t);if(!r)return Object.assign({},Bt);var o={};ke(r.posParams,function(e,t){o[t]=e.path});var a=r.consumed.length>0?Object.assign(Object.assign({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function jt(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(n.length>0&&function(e,t,n){return n.some(function(n){return Zt(e,t,n)&&"primary"!==Ft(n)})}(e,n,i)){var o=new Pe(t,function(e,t,n,i){var r={};r.primary=i,i._sourceSegment=e,i._segmentIndexShift=t.length;var o,a=_createForOfIteratorHelper(n);try{for(a.s();!(o=a.n()).done;){var s=o.value;if(""===s.path&&"primary"!==Ft(s)){var u=new Pe([],{});u._sourceSegment=e,u._segmentIndexShift=t.length,r[Ft(s)]=u}}}catch(l){a.e(l)}finally{a.f()}return r}(e,t,i,new Pe(n,e.children)));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(function(n){return Zt(e,t,n)})}(e,n,i)){var a=new Pe(e.segments,function(e,t,n,i,r,o){var a,s={},u=_createForOfIteratorHelper(i);try{for(u.s();!(a=u.n()).done;){var l=a.value;if(Zt(e,n,l)&&!r[Ft(l)]){var c=new Pe([],{});c._sourceSegment=e,c._segmentIndexShift="legacy"===o?e.segments.length:t.length,s[Ft(l)]=c}}}catch(h){u.e(h)}finally{u.f()}return Object.assign(Object.assign({},r),s)}(e,t,n,i,e.children,r));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:n}}var s=new Pe(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function Zt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function qt(e,t,n,i){return!!(Ft(e)===i||"primary"!==i&&Zt(t,n,e))&&("**"===e.path||Ut(t,e,n).matched)}function Vt(e,t,n){return 0===t.length&&!e.children[n]}var Ht=function e(t){_classCallCheck(this,e),this.segmentGroup=t||null},zt=function e(t){_classCallCheck(this,e),this.urlTree=t};function Yt(e){return new c.y(function(t){return t.error(new Ht(e))})}function Gt(e){return new c.y(function(t){return t.error(new zt(e))})}function Kt(e){return new c.y(function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))})}var Wt=function(){function e(t,n,i,o,a){_classCallCheck(this,e),this.configLoader=n,this.urlSerializer=i,this.urlTree=o,this.config=a,this.allowRedirects=!0,this.ngModule=t.get(r.h0i)}return _createClass(e,[{key:"apply",value:function(){var e=this,t=jt(this.urlTree.root,[],[],this.config).segmentGroup,n=new Pe(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,n,"primary").pipe((0,q.U)(function(t){return e.createUrlTree(Qt(t),e.urlTree.queryParams,e.urlTree.fragment)})).pipe(k(function(t){if(t instanceof zt)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof Ht)throw e.noMatchError(t);throw t}))}},{key:"match",value:function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe((0,q.U)(function(n){return t.createUrlTree(Qt(n),e.queryParams,e.fragment)})).pipe(k(function(e){if(e instanceof Ht)throw t.noMatchError(e);throw e}))}},{key:"noMatchError",value:function(e){return new Error("Cannot match any routes. URL Segment: '".concat(e.segmentGroup,"'"))}},{key:"createUrlTree",value:function(e,t,n){var i=e.segments.length>0?new Pe([],{primary:e}):e;return new Te(i,t,n)}},{key:"expandSegmentGroup",value:function(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe((0,q.U)(function(e){return new Pe([],e)})):this.expandSegment(e,n,t,n.segments,i,!0)}},{key:"expandChildren",value:function(e,t,n){for(var i=this,r=[],s=0,u=Object.keys(n.children);s=2;return function(i){return i.pipe(e?(0,x.h)(function(t,n){return e(t,n,i)}):F.y,S(1),n?D(t):T(function(){return new o}))}}())}},{key:"expandSegment",value:function(e,t,n,i,r,u){var l=this;return(0,a.D)(n).pipe((0,z.b)(function(o){return l.expandSegmentAgainstRoute(e,t,n,o,i,r,u).pipe(k(function(e){if(e instanceof Ht)return(0,s.of)(null);throw e}))}),B(function(e){return!!e}),k(function(e,n){if(e instanceof o||"EmptyError"===e.name){if(Vt(t,i,r))return(0,s.of)(new Pe([],{}));throw new Ht(t)}throw e}))}},{key:"expandSegmentAgainstRoute",value:function(e,t,n,i,r,o,a){return qt(i,t,r,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o):Yt(t):Yt(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,n,i){var r=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Gt(o):this.lineralizeSegments(n,o).pipe((0,Y.zg)(function(n){var o=new Pe(n,{});return r.expandSegment(e,o,t,n,i,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,o){var a=this,s=Ut(t,i,r),u=s.matched,l=s.consumedSegments,c=s.lastChild,h=s.positionalParamSegments;if(!u)return Yt(t);var f=this.applyRedirectCommands(l,i.redirectTo,h);return i.redirectTo.startsWith("/")?Gt(f):this.lineralizeSegments(i,f).pipe((0,Y.zg)(function(i){return a.expandSegment(e,t,n,i.concat(r.slice(c)),o,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(e,t,n,i,r){var o=this;if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,s.of)(n._loadedConfig):this.configLoader.load(e.injector,n)).pipe((0,q.U)(function(e){return n._loadedConfig=e,new Pe(i,{})})):(0,s.of)(new Pe(i,{}));var a=Ut(t,n,i),u=a.matched,l=a.consumedSegments,c=a.lastChild;if(!u)return Yt(t);var h=i.slice(c);return this.getChildConfig(e,n,i).pipe((0,Y.zg)(function(e){var i=e.module,a=e.routes,u=jt(t,l,h,a),c=u.segmentGroup,f=u.slicedSegments,d=new Pe(c.segments,c.children);if(0===f.length&&d.hasChildren())return o.expandChildren(i,a,d).pipe((0,q.U)(function(e){return new Pe(l,e)}));if(0===a.length&&0===f.length)return(0,s.of)(new Pe(l,{}));var p=Ft(n)===r;return o.expandSegment(i,d,a,f,p?"primary":r,!0).pipe((0,q.U)(function(e){return new Pe(l.concat(e.segments),e.children)}))}))}},{key:"getChildConfig",value:function(e,t,n){var i=this;return t.children?(0,s.of)(new St(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?(0,s.of)(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe((0,Y.zg)(function(n){return n?i.configLoader.load(e.injector,t).pipe((0,q.U)(function(e){return t._loadedConfig=e,e})):function(e){return new c.y(function(t){return t.error(ve("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))})}(t)})):(0,s.of)(new St([],e))}},{key:"runCanLoadGuards",value:function(e,t,n){var i=this,r=t.canLoad;if(!r||0===r.length)return(0,s.of)(!0);var o=r.map(function(i){var r,o=e.get(i);if(function(e){return e&&Ot(e.canLoad)}(o))r=o.canLoad(t,n);else{if(!Ot(o))throw new Error("Invalid CanLoad guard");r=o(t,n)}return Ce(r)});return(0,s.of)(o).pipe(Pt(),(0,G.b)(function(e){if(At(e)){var t=ve('Redirecting to "'.concat(i.urlSerializer.serialize(e),'"'));throw t.url=e,t}}),(0,q.U)(function(e){return!0===e}))}},{key:"lineralizeSegments",value:function(e,t){for(var n=[],i=t.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return(0,s.of)(n);if(i.numberOfChildren>1||!i.children.primary)return Kt(e.redirectTo);i=i.children.primary}}},{key:"applyRedirectCommands",value:function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}},{key:"applyRedirectCreatreUrlTree",value:function(e,t,n,i){var r=this.createSegmentGroup(e,t.root,n,i);return new Te(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var n={};return ke(e,function(e,i){if("string"==typeof e&&e.startsWith(":")){var r=e.substring(1);n[i]=t[r]}else n[i]=e}),n}},{key:"createSegmentGroup",value:function(e,t,n,i){var r=this,o=this.createSegments(e,t.segments,n,i),a={};return ke(t.children,function(t,o){a[o]=r.createSegmentGroup(e,t,n,i)}),new Pe(o,a)}},{key:"createSegments",value:function(e,t,n,i){var r=this;return t.map(function(t){return t.path.startsWith(":")?r.findPosParam(e,t,i):r.findOrReturn(t,n)})}},{key:"findPosParam",value:function(e,t,n){var i=n[t.path.substring(1)];if(!i)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return i}},{key:"findOrReturn",value:function(e,t){var n,i=0,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o.path===e.path)return t.splice(i),o;i++}}catch(a){r.e(a)}finally{r.f()}return e}}]),e}();function Qt(e){for(var t={},n=0,i=Object.keys(e.children);n0||o.hasChildren())&&(t[r]=o)}return function(e){if(1===e.numberOfChildren&&e.children.primary){var t=e.children.primary;return new Pe(e.segments.concat(t.segments),t.children)}return e}(new Pe(e.segments,t))}var Jt=function e(t){_classCallCheck(this,e),this.path=t,this.route=this.path[this.path.length-1]},Xt=function e(t,n){_classCallCheck(this,e),this.component=t,this.route=n};function $t(e,t,n){var i=e._root;return tn(i,t?t._root:null,n,[i.value])}function en(e,t,n){var i=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(i?i.module.injector:n).get(e)}function tn(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=$e(t);return e.children.forEach(function(e){!function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=e.value,a=t?t.value:null,s=n?n.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){var u=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Re(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Re(e.url,t.url)||!me(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!lt(e,t)||!me(e.queryParams,t.queryParams);case"paramsChange":default:return!lt(e,t)}}(a,o,o.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new Jt(i)):(o.data=a.data,o._resolvedData=a._resolvedData),tn(e,t,o.component?s?s.children:null:n,i,r),u&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new Xt(s.outlet.component,a))}else a&&nn(t,s,r),r.canActivateChecks.push(new Jt(i)),tn(e,null,o.component?s?s.children:null:n,i,r)}(e,o[e.value.outlet],n,i.concat([e.value]),r),delete o[e.value.outlet]}),ke(o,function(e,t){return nn(e,n.getContext(t),r)}),r}function nn(e,t,n){var i=$e(e),r=e.value;ke(i,function(e,i){nn(e,r.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new Xt(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}var rn=function e(){_classCallCheck(this,e)};function on(e){return new c.y(function(t){return t.error(e)})}var an=function(){function e(t,n,i,r,o,a){_classCallCheck(this,e),this.rootComponentType=t,this.config=n,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=a}return _createClass(e,[{key:"recognize",value:function(){var e=jt(this.urlTree.root,[],[],this.config.filter(function(e){return void 0===e.redirectTo}),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary");if(null===t)return null;var n=new rt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Xe(n,t),r=new ot(this.url,i);return this.inheritParamsAndData(r._root),r}},{key:"inheritParamsAndData",value:function(e){var t=this,n=e.value,i=it(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),e.children.forEach(function(e){return t.inheritParamsAndData(e)})}},{key:"processSegmentGroup",value:function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}},{key:"processChildren",value:function(e,t){for(var n=[],i=0,r=Object.keys(t.children);i0?be(n).parameters:{};r=new rt(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,cn(e),Ft(e),e.component,e,un(t),ln(t)+n.length,hn(e))}else{var u=Ut(t,e,n);if(!u.matched)return null;o=u.consumedSegments,a=n.slice(u.lastChild),r=new rt(o,u.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,cn(e),Ft(e),e.component,e,un(t),ln(t)+o.length,hn(e))}var l=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),c=jt(t,o,a,l.filter(function(e){return void 0===e.redirectTo}),this.relativeLinkResolution),h=c.segmentGroup,f=c.slicedSegments;if(0===f.length&&h.hasChildren()){var d=this.processChildren(l,h);return null===d?null:[new Xe(r,d)]}if(0===l.length&&0===f.length)return[new Xe(r,[])];var p=Ft(e)===i,v=this.processSegment(l,h,f,p?"primary":i);return null===v?null:[new Xe(r,v)]}}]),e}();function sn(e){var t,n=[],i=new Set,r=_createForOfIteratorHelper(e);try{var o=function(){var e,r=t.value;if(!function(e){var t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}(r))return n.push(r),"continue";var o=n.find(function(e){return r.value.routeConfig===e.value.routeConfig});void 0!==o?((e=o.children).push.apply(e,_toConsumableArray(r.children)),i.add(o)):n.push(r)};for(r.s();!(t=r.n()).done;)o()}catch(c){r.e(c)}finally{r.f()}var a,s=_createForOfIteratorHelper(i);try{for(s.s();!(a=s.n()).done;){var u=a.value,l=sn(u.children);n.push(new Xe(u.value,l))}}catch(c){s.e(c)}finally{s.f()}return n.filter(function(e){return!i.has(e)})}function un(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function ln(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function cn(e){return e.data||{}}function hn(e){return e.resolve||{}}function fn(e){return(0,V.w)(function(t){var n=e(t);return n?(0,a.D)(n).pipe((0,q.U)(function(){return t})):(0,s.of)(t)})}var dn=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldDetach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"shouldAttach",value:function(e){return!1}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){return e.routeConfig===t.routeConfig}}]),e}()),pn=new r.OlP("ROUTES"),vn=function(){function e(t,n,i,r){_classCallCheck(this,e),this.loader=t,this.compiler=n,this.onLoadStartListener=i,this.onLoadEndListener=r}return _createClass(e,[{key:"load",value:function(e,t){var n=this;if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);var i=this.loadModuleFactory(t.loadChildren).pipe((0,q.U)(function(i){n.onLoadEndListener&&n.onLoadEndListener(t);var o=i.create(e);return new St(ye(o.injector.get(pn,void 0,r.XFs.Self|r.XFs.Optional)).map(Lt),o)}),k(function(e){throw t._loader$=void 0,e}));return t._loader$=new p.c(i,function(){return new v.xQ}).pipe((0,K.x)()),t._loader$}},{key:"loadModuleFactory",value:function(e){var t=this;return"string"==typeof e?(0,a.D)(this.loader.load(e)):Ce(e()).pipe((0,Y.zg)(function(e){return e instanceof r.YKP?(0,s.of)(e):(0,a.D)(t.compiler.compileModuleAsync(e))}))}}]),e}(),_n=function e(){_classCallCheck(this,e),this.outlet=null,this.route=null,this.resolver=null,this.children=new mn,this.attachRef=null},mn=function(){function e(){_classCallCheck(this,e),this.contexts=new Map}return _createClass(e,[{key:"onChildOutletCreated",value:function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}},{key:"onChildOutletDestroyed",value:function(e){var t=this.getContext(e);t&&(t.outlet=null)}},{key:"onOutletDeactivated",value:function(){var e=this.contexts;return this.contexts=new Map,e}},{key:"onOutletReAttached",value:function(e){this.contexts=e}},{key:"getOrCreateContext",value:function(e){var t=this.getContext(e);return t||(t=new _n,this.contexts.set(e,t)),t}},{key:"getContext",value:function(e){return this.contexts.get(e)||null}}]),e}(),gn=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}]),e}();function yn(e){throw e}function bn(e,t,n){return t.parse("/")}function kn(e,t){return(0,s.of)(null)}var Cn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},wn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},xn=function(){var e=function(){function e(t,n,i,o,a,s,l,c){var h=this;_classCallCheck(this,e),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=i,this.location=o,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new v.xQ,this.errorHandler=yn,this.malformedUriErrorHandler=bn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:kn,afterPreactivation:kn},this.urlHandlingStrategy=new gn,this.routeReuseStrategy=new dn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=a.get(r.h0i),this.console=a.get(r.c2e);var f=a.get(r.R0b);this.isNgZoneEnabled=f instanceof r.R0b&&r.R0b.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new Te(new Pe([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new vn(s,l,function(e){return h.triggerEvent(new ae(e))},function(e){return h.triggerEvent(new se(e))}),this.routerState=tt(this.currentUrlTree,this.rootComponentType),this.transitions=new u.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return _createClass(e,[{key:"setupNavigations",value:function(e){var t=this,n=this.events;return e.pipe((0,x.h)(function(e){return 0!==e.id}),(0,q.U)(function(e){return Object.assign(Object.assign({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})}),(0,V.w)(function(e){var i,r,o,u,l=!1,c=!1;return(0,s.of)(e).pipe((0,G.b)(function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object.assign(Object.assign({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,V.w)(function(e){var i,r,o,a,u=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||u)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return(0,s.of)(e).pipe((0,V.w)(function(e){var i=t.transitions.getValue();return n.next(new J(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),i!==t.transitions.getValue()?d.E:Promise.resolve(e)}),(i=t.ngModule.injector,r=t.configLoader,o=t.urlSerializer,a=t.config,(0,V.w)(function(e){return function(e,t,n,i,r){return new Wt(e,t,n,i,r).apply()}(i,r,o,e.extractedUrl,a).pipe((0,q.U)(function(t){return Object.assign(Object.assign({},e),{urlAfterRedirects:t})}))})),(0,G.b)(function(e){t.currentNavigation=Object.assign(Object.assign({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,n,i,r,o){return(0,Y.zg)(function(i){return function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var a=new an(e,t,n,i,r,o).recognize();return null===a?on(new rn):(0,s.of)(a)}catch(u){return on(u)}}(e,n,i.urlAfterRedirects,(a=i.urlAfterRedirects,t.serializeUrl(a)),r,o).pipe((0,q.U)(function(e){return Object.assign(Object.assign({},i),{targetSnapshot:e})}));var a})}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),(0,G.b)(function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,e),t.browserUrlTree=e.urlAfterRedirects);var i=new te(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(i)}));if(u&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var l=e.id,c=e.extractedUrl,h=e.source,f=e.restoredState,p=e.extras,v=new J(l,t.serializeUrl(c),h,f);n.next(v);var _=tt(c,t.rootComponentType).snapshot;return(0,s.of)(Object.assign(Object.assign({},e),{targetSnapshot:_,urlAfterRedirects:c,extras:Object.assign(Object.assign({},p),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),d.E}),fn(function(e){var n=e.targetSnapshot,i=e.id,r=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,u=a.replaceUrl;return t.hooks.beforePreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!u})}),(0,G.b)(function(e){var n=new ne(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),(0,q.U)(function(e){return Object.assign(Object.assign({},e),{guards:$t(e.targetSnapshot,e.currentSnapshot,t.rootContexts)})}),function(e,t){return(0,Y.zg)(function(n){var i=n.targetSnapshot,r=n.currentSnapshot,o=n.guards,u=o.canActivateChecks,l=o.canDeactivateChecks;return 0===l.length&&0===u.length?(0,s.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,i){return(0,a.D)(e).pipe((0,Y.zg)(function(e){return function(e,t,n,i,r){var o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||0===o.length)return(0,s.of)(!0);var a=o.map(function(o){var a,s=en(o,t,r);if(function(e){return e&&Ot(e.canDeactivate)}(s))a=Ce(s.canDeactivate(e,t,n,i));else{if(!Ot(s))throw new Error("Invalid CanDeactivate guard");a=Ce(s(e,t,n,i))}return a.pipe(B())});return(0,s.of)(a).pipe(Pt())}(e.component,e.route,n,t,i)}),B(function(e){return!0!==e},!0))}(l,i,r,e).pipe((0,Y.zg)(function(n){return n&&"boolean"==typeof n?function(e,t,n,i){return(0,a.D)(t).pipe((0,z.b)(function(t){return(0,h.z)(function(e,t){return null!==e&&t&&t(new ue(e)),(0,s.of)(!0)}(t.route.parent,i),function(e,t){return null!==e&&t&&t(new ce(e)),(0,s.of)(!0)}(t.route,i),function(e,t,n){var i=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)}).filter(function(e){return null!==e}).map(function(t){return(0,f.P)(function(){var r=t.guards.map(function(r){var o,a=en(r,t.node,n);if(function(e){return e&&Ot(e.canActivateChild)}(a))o=Ce(a.canActivateChild(i,e));else{if(!Ot(a))throw new Error("Invalid CanActivateChild guard");o=Ce(a(i,e))}return o.pipe(B())});return(0,s.of)(r).pipe(Pt())})});return(0,s.of)(r).pipe(Pt())}(e,t.path,n),function(e,t,n){var i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return(0,s.of)(!0);var r=i.map(function(i){return(0,f.P)(function(){var r,o=en(i,t,n);if(function(e){return e&&Ot(e.canActivate)}(o))r=Ce(o.canActivate(t,e));else{if(!Ot(o))throw new Error("Invalid CanActivate guard");r=Ce(o(t,e))}return r.pipe(B())})});return(0,s.of)(r).pipe(Pt())}(e,t.route,n))}),B(function(e){return!0!==e},!0))}(i,u,e,t):(0,s.of)(n)}),(0,q.U)(function(e){return Object.assign(Object.assign({},n),{guardsResult:e})}))})}(t.ngModule.injector,function(e){return t.triggerEvent(e)}),(0,G.b)(function(e){if(At(e.guardsResult)){var n=ve('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw n.url=e.guardsResult,n}var i=new ie(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(i)}),(0,x.h)(function(e){return!!e.guardsResult||(t.cancelNavigationTransition(e,""),!1)}),fn(function(e){if(e.guards.canActivateChecks.length)return(0,s.of)(e).pipe((0,G.b)(function(e){var n=new re(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),(0,V.w)(function(e){var n,i,r=!1;return(0,s.of)(e).pipe((n=t.paramsInheritanceStrategy,i=t.ngModule.injector,(0,Y.zg)(function(e){var t=e.targetSnapshot,r=e.guards.canActivateChecks;if(!r.length)return(0,s.of)(e);var o=0;return(0,a.D)(r).pipe((0,z.b)(function(e){return function(e,t,n,i){return function(e,t,n,i){var r=Object.keys(e);if(0===r.length)return(0,s.of)({});var o={};return(0,a.D)(r).pipe((0,Y.zg)(function(r){return function(e,t,n,i){var r=en(e,t,i);return Ce(r.resolve?r.resolve(t,n):r(t,n))}(e[r],t,n,i).pipe((0,G.b)(function(e){o[r]=e}))}),S(1),(0,Y.zg)(function(){return Object.keys(o).length===r.length?(0,s.of)(o):d.E}))}(e._resolve,e,t,i).pipe((0,q.U)(function(t){return e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),it(e,n).resolve),null}))}(e.route,t,n,i)}),(0,G.b)(function(){return o++}),S(1),(0,Y.zg)(function(t){return o===r.length?(0,s.of)(e):d.E}))})),(0,G.b)({next:function(){return r=!0},complete:function(){r||t.cancelNavigationTransition(e,"At least one route resolver didn't emit any value.")}}))}),(0,G.b)(function(e){var n=new oe(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}))}),fn(function(e){var n=e.targetSnapshot,i=e.id,r=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,u=a.replaceUrl;return t.hooks.afterPreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!u})}),(0,q.U)(function(e){var n=function(e,t,n){var i=ct(e,t._root,n?n._root:void 0);return new et(i,t)}(t.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:n})}),(0,G.b)(function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(t.currentUrlTree,e.rawUrl),t.routerState=e.targetRouterState,"deferred"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,e),t.browserUrlTree=e.urlAfterRedirects)}),(r=t.rootContexts,o=t.routeReuseStrategy,u=function(e){return t.triggerEvent(e)},(0,q.U)(function(e){return new xt(o,e.targetRouterState,e.currentRouterState,u).activate(r),e})),(0,G.b)({next:function(){l=!0},complete:function(){l=!0}}),(i=function(){l||c||t.cancelNavigationTransition(e,"Navigation ID ".concat(e.id," is not equal to the current navigation id ").concat(t.navigationId)),t.currentNavigation=null},function(e){return e.lift(new j(i))}),k(function(i){if(c=!0,(s=i)&&s.ngNavigationCancelingError){var r=At(i.url);r||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var o=new $(e.id,t.serializeUrl(e.extractedUrl),i.message);n.next(o),r?setTimeout(function(){var n=t.urlHandlingStrategy.merge(i.url,t.rawUrlTree);t.scheduleNavigation(n,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var a=new ee(e.id,t.serializeUrl(e.extractedUrl),i);n.next(a);try{e.resolve(t.errorHandler(i))}catch(u){e.reject(u)}}var s;return d.E}))}))}},{key:"resetRootComponentType",value:function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}},{key:"setTransition",value:function(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(t){var n=e.extractLocationChangeInfoFromEvent(t);e.shouldScheduleNavigation(e.lastLocationChangeInfo,n)&&setTimeout(function(){var t=n.source,i=n.state,r=n.urlTree,o={replaceUrl:!0};if(i){var a=Object.assign({},i);delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(o.state=a)}e.scheduleNavigation(r,t,i,o)},0),e.lastLocationChangeInfo=n}))}},{key:"extractLocationChangeInfoFromEvent",value:function(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}},{key:"shouldScheduleNavigation",value:function(e,t){if(!e)return!0;var n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&n&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(e){this.events.next(e)}},{key:"resetConfig",value:function(e){Rt(e),this.config=e.map(Lt),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.relativeTo,i=t.queryParams,r=t.fragment,o=t.queryParamsHandling,a=t.preserveFragment,s=n||this.routerState.root,u=a?this.currentUrlTree.fragment:r,l=null;switch(o){case"merge":l=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}return null!==l&&(l=this.removeEmptyProps(l)),function(e,t,n,i,r){if(0===n.length)return pt(t.root,t.root,t,i,r);var o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new _t(!0,0,e);var t=0,n=!1,i=e.reduce(function(e,i,r){if("object"==typeof i&&null!=i){if(i.outlets){var o={};return ke(i.outlets,function(e,t){o[t]="string"==typeof e?e.split("/"):e}),[].concat(_toConsumableArray(e),[{outlets:o}])}if(i.segmentPath)return[].concat(_toConsumableArray(e),[i.segmentPath])}return"string"!=typeof i?[].concat(_toConsumableArray(e),[i]):0===r?(i.split("/").forEach(function(i,r){0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?t++:""!=i&&e.push(i))}),e):[].concat(_toConsumableArray(e),[i])},[]);return new _t(n,t,i)}(n);if(o.toRoot())return pt(t.root,new Pe([],{}),t,i,r);var a=function(e,t,n){if(e.isAbsolute)return new mt(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){var i=n.snapshot._urlSegment;return new mt(i,i===t.root,0)}var r=ft(e.commands[0])?0:1;return function(e,t,n){for(var i=e,r=t,o=n;o>r;){if(o-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new mt(i,!1,r-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(o,t,e),s=a.processChildren?yt(a.segmentGroup,a.index,o.commands):gt(a.segmentGroup,a.index,o.commands);return pt(a.segmentGroup,s,t,i,r)}(s,this.currentUrlTree,e,l,null!=u?u:null)}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},n=At(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree),r=null;return"computed"===this.canceledNavigationResolution&&(0===this.currentPageId||t.skipLocationChange||t.replaceUrl)&&(r=this.location.getState()),this.scheduleNavigation(i,"imperative",r,t)}},{key:"navigate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(e){for(var t=0;t2&&void 0!==arguments[2]?arguments[2]:{};_classCallCheck(this,e),this.router=t,this.viewportScroller=n,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}return _createClass(e,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var e=this;return this.router.events.subscribe(function(t){t instanceof J?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof X&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var e=this;return this.router.events.subscribe(function(t){t instanceof fe&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(e,t){this.router.triggerEvent(new fe(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(xn),r.LFG(i.EM),r.LFG(void 0))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),Mn=new r.OlP("ROUTER_CONFIGURATION"),Ln=new r.OlP("ROUTER_FORROOT_GUARD"),Fn=[i.Ye,{provide:De,useClass:Me},{provide:xn,useFactory:function(e,t,n,i,r,o,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},u=arguments.length>8?arguments[8]:void 0,l=arguments.length>9?arguments[9]:void 0,c=new xn(null,e,t,n,i,r,o,ye(a));return u&&(c.urlHandlingStrategy=u),l&&(c.routeReuseStrategy=l),function(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy)}(s,c),s.enableTracing&&c.events.subscribe(function(e){var t,n;null===(t=console.group)||void 0===t||t.call(console,"Router Event: ".concat(e.constructor.name)),console.log(e.toString()),console.log(e),null===(n=console.groupEnd)||void 0===n||n.call(console)}),c},deps:[De,mn,i.Ye,r.zs3,r.v3s,r.Sil,pn,Mn,[function(){return function e(){_classCallCheck(this,e)}}(),new r.FiY],[function(){return function e(){_classCallCheck(this,e)}}(),new r.FiY]]},mn,{provide:nt,useFactory:function(e){return e.routerState.root},deps:[xn]},{provide:r.v3s,useClass:r.EAV},Rn,In,function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"preload",value:function(e,t){return t().pipe(k(function(){return(0,s.of)(null)}))}}]),e}(),{provide:Mn,useValue:{enableTracing:!1}}];function Nn(){return new r.PXZ("Router",xn)}var Bn=function(){var e=function(){function e(t,n){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(t,n){return{ngModule:e,providers:[Fn,qn(t),{provide:Ln,useFactory:Zn,deps:[[xn,new r.FiY,new r.tp0]]},{provide:Mn,useValue:n||{}},{provide:i.S$,useFactory:jn,deps:[i.lw,[new r.tBr(i.mr),new r.FiY],Mn]},{provide:Dn,useFactory:Un,deps:[xn,i.EM,Mn]},{provide:Pn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:In},{provide:r.PXZ,multi:!0,useFactory:Nn},[Vn,{provide:r.ip1,multi:!0,useFactory:Hn,deps:[Vn]},{provide:Yn,useFactory:zn,deps:[Vn]},{provide:r.tb,multi:!0,useExisting:Yn}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[qn(t)]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(Ln,8),r.LFG(xn,8))},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e}();function Un(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Dn(e,t,n)}function jn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new i.Do(e,t):new i.b0(e,t)}function Zn(e){return"guarded"}function qn(e){return[{provide:r.deG,multi:!0,useValue:e},{provide:pn,multi:!0,useValue:e}]}var Vn=function(){var e=function(){function e(t){_classCallCheck(this,e),this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new v.xQ}return _createClass(e,[{key:"appInitializer",value:function(){var e=this;return this.injector.get(i.V_,Promise.resolve(null)).then(function(){if(e.destroyed)return Promise.resolve(!0);var t=null,n=new Promise(function(e){return t=e}),i=e.injector.get(xn),r=e.injector.get(Mn);return"disabled"===r.initialNavigation?(i.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(i.hooks.afterPreactivation=function(){return e.initNavigation?(0,s.of)(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},i.initialNavigation()):t(!0),n})}},{key:"bootstrapListener",value:function(e){var t=this.injector.get(Mn),n=this.injector.get(Rn),i=this.injector.get(Dn),o=this.injector.get(xn),a=this.injector.get(r.z2F);e===a.components[0]&&("enabledNonBlocking"!==t.initialNavigation&&void 0!==t.initialNavigation||o.initialNavigation(),n.setUpPreloading(),i.init(),o.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"ngOnDestroy",value:function(){this.destroyed=!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.zs3))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}();function Hn(e){return e.appInitializer.bind(e)}function zn(e){return e.bootstrapListener.bind(e)}var Yn=new r.OlP("Router Initializer")},6215:function(e,t,n){"use strict";n.d(t,{X:function(){return o}});var i=n(9765),r=n(7971),o=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this))._value=e,i}return _createClass(n,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(e){var t=_get(_getPrototypeOf(n.prototype),"_subscribe",this).call(this,e);return t&&!t.closed&&e.next(this._value),t}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.N;return this._value}},{key:"next",value:function(e){_get(_getPrototypeOf(n.prototype),"next",this).call(this,this._value=e)}}]),n}(i.xQ)},1593:function(e,t,n){"use strict";n.d(t,{P:function(){return a}});var i=n(9193),r=n(5917),o=n(7574),a=function(){function e(t,n,i){_classCallCheck(this,e),this.kind=t,this.value=n,this.error=i,this.hasValue="N"===t}return _createClass(e,[{key:"observe",value:function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}},{key:"do",value:function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}},{key:"accept",value:function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return(0,r.of)(this.value);case"E":return e=this.error,new o.y(function(t){return t.error(e)});case"C":return(0,i.c)()}var e;throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}},{key:"createError",value:function(t){return new e("E",void 0,t)}},{key:"createComplete",value:function(){return e.completeNotification}}]),e}();a.completeNotification=new a("C"),a.undefinedValueNotification=new a("N",void 0)},7574:function(e,t,n){"use strict";n.d(t,{y:function(){return l}});var i=n(7393),r=n(9181),o=n(6490),a=n(6554),s=n(4487),u=n(2494),l=function(){var e=function(){function e(t){_classCallCheck(this,e),this._isScalar=!1,t&&(this._subscribe=t)}return _createClass(e,[{key:"lift",value:function(t){var n=new e;return n.source=this,n.operator=t,n}},{key:"subscribe",value:function(e,t,n){var a=this.operator,s=function(e,t,n){if(e){if(e instanceof i.L)return e;if(e[r.b])return e[r.b]()}return e||t||n?new i.L(e,t,n):new i.L(o.c)}(e,t,n);if(s.add(a?a.call(s,this.source):this.source||u.v.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),u.v.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){u.v.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e,n=t.closed,r=t.destination,o=t.isStopped;if(n||o)return!1;e=r&&r instanceof i.L?r:null}return!0}(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=c(t))(function(t,i){var r;r=n.subscribe(function(t){try{e(t)}catch(n){i(n),r&&r.unsubscribe()}},i,t)})}},{key:"_subscribe",value:function(e){var t=this.source;return t&&t.subscribe(e)}},{key:a.L,value:function(){return this}},{key:"pipe",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n4&&void 0!==arguments[4]?arguments[4]:new s(e,n,i);if(!r.closed)return t instanceof l.y?t.subscribe(r):(0,u.s)(t)(r)}var h=n(6693),f={};function d(){for(var e=arguments.length,t=new Array(e),n=0;n1?Array.prototype.slice.call(arguments):e)},i,n)})}function u(e,t,n,i,r){var o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var a=e;e.addEventListener(t,n,r),o=function(){return a.removeEventListener(t,n,r)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var s=e;e.on(t,n),o=function(){return s.off(t,n)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){var l=e;e.addListener(t,n),o=function(){return l.removeListener(t,n)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var c=0,h=e.length;c1&&"number"==typeof t[t.length-1]&&(s=t.pop())):"number"==typeof l&&(s=t.pop()),null===u&&1===t.length&&t[0]instanceof i.y?t[0]:(0,o.J)(s)((0,a.n)(t,u))}},5917:function(e,t,n){"use strict";n.d(t,{of:function(){return a}});var i=n(4869),r=n(6693),o=n(4087);function a(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:i.P;return t=function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=-1;return(0,u.k)(t)?r=Number(t)<1?1:Number(t):(0,l.K)(t)&&(n=t),(0,l.K)(n)||(n=i.P),new s.y(function(t){var i=(0,u.k)(e)?e:+e-n.now();return n.schedule(c,i,{index:0,period:r,subscriber:t})})}(e,n)},function(e){return e.lift(new o(t))}}},4612:function(e,t,n){"use strict";n.d(t,{b:function(){return r}});var i=n(9773);function r(e,t){return(0,i.zg)(e,t,1)}},4395:function(e,t,n){"use strict";n.d(t,{b:function(){return o}});var i=n(7393),r=n(3637);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.P;return function(n){return n.lift(new a(e,t))}}var a=function(){function e(t,n){_classCallCheck(this,e),this.dueTime=t,this.scheduler=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new s(e,this.dueTime,this.scheduler))}}]),e}(),s=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).dueTime=i,o.scheduler=r,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return _createClass(n,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(u,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}]),n}(i.L);function u(e){e.debouncedNext()}},7519:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});var i=n(7393);function r(e,t){return function(n){return n.lift(new o(e,t))}}var o=function(){function e(t,n){_classCallCheck(this,e),this.compare=t,this.keySelector=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.compare,this.keySelector))}}]),e}(),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).keySelector=r,o.hasKey=!1,"function"==typeof i&&(o.compare=i),o}return _createClass(n,[{key:"compare",value:function(e,t){return e===t}},{key:"_next",value:function(e){var t;try{var n=this.keySelector;t=n?n(e):e}catch(r){return this.destination.error(r)}var i=!1;if(this.hasKey)try{i=(0,this.compare)(this.key,t)}catch(r){return this.destination.error(r)}else this.hasKey=!0;i||(this.key=t,this.destination.next(e))}}]),n}(i.L)},5435:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});var i=n(7393);function r(e,t){return function(n){return n.lift(new o(e,t))}}var o=function(){function e(t,n){_classCallCheck(this,e),this.predicate=t,this.thisArg=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.predicate,this.thisArg))}}]),e}(),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).predicate=i,o.thisArg=r,o.count=0,o}return _createClass(n,[{key:"_next",value:function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}]),n}(i.L)},8002:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});var i=n(7393);function r(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new o(e,t))}}var o=function(){function e(t,n){_classCallCheck(this,e),this.project=t,this.thisArg=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.project,this.thisArg))}}]),e}(),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).project=i,o.count=0,o.thisArg=r||_assertThisInitialized(o),o}return _createClass(n,[{key:"_next",value:function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(i.L)},3282:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var i=n(9773),r=n(4487);function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return(0,i.zg)(r.y,e)}},9773:function(e,t,n){"use strict";n.d(t,{zg:function(){return a}});var i=n(8002),r=n(4402),o=n(5345);function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(o){return o.pipe(a(function(n,o){return(0,r.D)(e(n,o)).pipe((0,i.U)(function(e,i){return t(n,e,o,i)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new s(e,n))})}var s=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;_classCallCheck(this,e),this.project=t,this.concurrent=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.project,this.concurrent))}}]),e}(),u=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return _classCallCheck(this,n),(r=t.call(this,e)).project=i,r.concurrent=o,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return _createClass(n,[{key:"_next",value:function(e){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(o.Ds)},1307:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});var i=n(7393);function r(){return function(e){return e.lift(new o(e))}}var o=function(){function e(t){_classCallCheck(this,e),this.connectable=t}return _createClass(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var i=new a(e,n),r=t.subscribe(i);return i.closed||(i.connection=n.connect()),r}}]),e}(),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).connectable=i,r}return _createClass(n,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,i=e._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null}}]),n}(i.L)},3653:function(e,t,n){"use strict";n.d(t,{T:function(){return r}});var i=n(7393);function r(e){return function(t){return t.lift(new o(e))}}var o=function(){function e(t){_classCallCheck(this,e),this.total=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.total))}}]),e}(),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).total=i,r.count=0,r}return _createClass(n,[{key:"_next",value:function(e){++this.count>this.total&&this.destination.next(e)}}]),n}(i.L)},9761:function(e,t,n){"use strict";n.d(t,{O:function(){return o}});var i=n(8071),r=n(4869);function o(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),n)}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value:function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(e,t){var n,i=!1;try{this.work(e)}catch(r){i=!0,n=!!r&&r||new Error(r)}if(i)return this.unsubscribe(),n}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),n}(function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){return _classCallCheck(this,n),t.call(this)}return _createClass(n,[{key:"schedule",value:function(e){return this}}]),n}(n(5319).w))},6102:function(e,t,n){"use strict";n.d(t,{v:function(){return r}});var i=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;_classCallCheck(this,e),this.SchedulerAction=t,this.now=n}return _createClass(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}();return e.now=function(){return Date.now()},e}(),r=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.now;return _classCallCheck(this,n),(r=t.call(this,e,function(){return n.delegate&&n.delegate!==_assertThisInitialized(r)?n.delegate.now():o()})).actions=[],r.active=!1,r.scheduled=void 0,r}return _createClass(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(e,t,i):_get(_getPrototypeOf(n.prototype),"schedule",this).call(this,e,t,i)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}}]),n}(i)},4581:function(e,t,n){"use strict";n.d(t,{E:function(){return c}});var i=1,r=Promise.resolve(),o={};function a(e){return e in o&&(delete o[e],!0)}var s=function(e){var t=i++;return o[t]=!0,r.then(function(){return a(t)&&e()}),t},u=function(e){a(e)},l=n(6465),c=new(function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,i=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++i2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?_get(_getPrototypeOf(n.prototype),"requestAsyncId",this).call(this,e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=s(e.flush.bind(e,null))))}},{key:"recycleAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return _get(_getPrototypeOf(n.prototype),"recycleAsyncId",this).call(this,e,t,i);0===e.actions.length&&(u(t),e.scheduled=void 0)}}]),n}(l.o))},3637:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});var i=n(6465),r=new(n(6102).v)(i.o)},377:function(e,t,n){"use strict";n.d(t,{hZ:function(){return i}});var i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},6554:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var i="function"==typeof Symbol&&Symbol.observable||"@@observable"},9181:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});var i="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:function(e,t,n){"use strict";n.d(t,{W:function(){return i}});var i=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}()},7971:function(e,t,n){"use strict";n.d(t,{N:function(){return i}});var i=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}()},4449:function(e,t,n){"use strict";function i(e){setTimeout(function(){throw e},0)}n.d(t,{z:function(){return i}})},4487:function(e,t,n){"use strict";function i(e){return e}n.d(t,{y:function(){return i}})},9796:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var i=Array.isArray||function(e){return e&&"number"==typeof e.length}},9489:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var i=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},9105:function(e,t,n){"use strict";function i(e){return"function"==typeof e}n.d(t,{m:function(){return i}})},6561:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});var i=n(9796);function r(e){return!(0,i.k)(e)&&e-parseFloat(e)+1>=0}},1555:function(e,t,n){"use strict";function i(e){return null!==e&&"object"==typeof e}n.d(t,{K:function(){return i}})},5639:function(e,t,n){"use strict";n.d(t,{b:function(){return r}});var i=n(7574);function r(e){return!!e&&(e instanceof i.y||"function"==typeof e.lift&&"function"==typeof e.subscribe)}},4072:function(e,t,n){"use strict";function i(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,{t:function(){return i}})},4869:function(e,t,n){"use strict";function i(e){return e&&"function"==typeof e.schedule}n.d(t,{K:function(){return i}})},7444:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var i=n(5015),r=n(4449),o=n(377),a=n(6554),s=n(9489),u=n(4072),l=n(1555),c=function(e){if(e&&"function"==typeof e[a.L])return c=e,function(e){var t=c[a.L]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if((0,s.z)(e))return(0,i.V)(e);if((0,u.t)(e))return n=e,function(e){return n.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,r.z),e};if(e&&"function"==typeof e[o.hZ])return t=e,function(e){for(var n=t[o.hZ]();;){var i=void 0;try{i=n.next()}catch(r){return e.error(r),e}if(i.done){e.complete();break}if(e.next(i.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e};var t,n,c,h=(0,l.K)(e)?"an invalid object":"'".concat(e,"'");throw new TypeError("You provided ".concat(h," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))}},5015:function(e,t,n){"use strict";n.d(t,{V:function(){return i}});var i=function(e){return function(t){for(var n=0,i=e.length;n0?(this.dialogRef.afterClosed().subscribe(function(t){e.closed()}),this.setExtra(this.data.autoclose),this.subscription=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.P;return(!(0,a.k)(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=o.P),new r.y(function(n){return n.add(t.schedule(s,e,{subscriber:n,counter:0,period:e})),n})}(1e3).subscribe(function(t){var n=e.data.autoclose-1e3*(t+1);e.setExtra(n),n<=0&&e.close()})):this.data.checkClose&&(this.dialogRef.afterClosed().subscribe(function(t){e.closed()}),this.subscription=this.data.checkClose.subscribe(function(t){window.setTimeout(function(){e.doClose()})}))}},{key:"initYesNo",value:function(){}},{key:"ngOnInit",value:function(){this.data.type===_.yesno?this.initYesNo():this.initAlert()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.Y36(i.so),u.Y36(i.WI))},e.\u0275cmp=u.Xpm({type:e,selectors:[["uds-modal"]],decls:8,vars:9,consts:[["mat-dialog-title","",3,"innerHtml"],[3,"innerHTML"],["mat-raised-button","","mat-dialog-close","",3,"click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"click"]],template:function(e,t){1&e&&(u._UZ(0,"h4",0),u.ALo(1,"safeHtml"),u._UZ(2,"mat-dialog-content",1),u.ALo(3,"safeHtml"),u.TgZ(4,"mat-dialog-actions"),u.YNc(5,d,4,1,"button",2),u.YNc(6,p,3,0,"button",2),u.YNc(7,v,3,0,"button",2),u.qZA()),2&e&&(u.Q6J("innerHtml",u.lcZ(1,5,t.data.title),u.oJD),u.xp6(2),u.Q6J("innerHTML",u.lcZ(3,7,t.data.body),u.oJD),u.xp6(3),u.Q6J("ngIf",0==t.data.type),u.xp6(1),u.Q6J("ngIf",1==t.data.type),u.xp6(1),u.Q6J("ngIf",1==t.data.type))},directives:[i.uh,i.xY,i.H8,l.O5,c.lW,i.ZT,h.P],pipes:[f.z],styles:[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]}),e}(),g=function(){var e=function(){function e(t){_classCallCheck(this,e),this.dialog=t}return _createClass(e,[{key:"alert",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=window.innerWidth<800?"80%":"40%";return this.dialog.open(m,{width:r,data:{title:e,body:t,autoclose:n,checkClose:i,type:_.alert},disableClose:!0})}},{key:"yesno",value:function(e,t){var n=window.innerWidth<800?"80%":"40%";return this.dialog.open(m,{width:n,data:{title:e,body:t,type:_.yesno},disableClose:!0}).componentInstance.yesno}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(i.uw))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac}),e}()},2870:function(e,t,n){"use strict";n.d(t,{S:function(){return r}});var i=n(7574),r=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t,this.delay=t.config.launcher_wait_time}return _createClass(e,[{key:"launchURL",value:function(t){var n=this,r="init",o=function(e){var t=django.gettext("Error communicating with your service. Please, retry again.");"string"==typeof e?t=e:403===e.status&&(t=django.gettext("Your session has expired. Please, login again")),window.setTimeout(function(){n.showAlert(django.gettext("Error"),t,5e3),403===e.status&&window.setTimeout(function(){n.api.logout()},5e3)})};if("udsa://"===t.substring(0,7)){var a=t.split("//")[1].split("/"),s=this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Remember that you will need the UDS client on your platform to access the service."),0,new i.y(function(e){var t=0,i=function i(){s.componentInstance&&n.api.status(a[0],a[1]).subscribe(function(r){"ready"===r.status?(t?Date.now()-t>5*n.delay&&(s.componentInstance.data.title=django.gettext("Service ready")+" - "+django.gettext("UDS Client not launching"),s.componentInstance.data.body=''+django.gettext("It seems that you don't have UDS Client installed. Please, install it from here:")+' '+django.gettext("UDS Client Download")+""):(t=Date.now(),s.componentInstance.data.title=django.gettext("Service ready"),s.componentInstance.data.body=django.gettext("Launching UDS Client, almost done.")),window.setTimeout(i,n.delay)):"accessed"===r.status?(s.componentInstance.data.body=django.gettext("Machine ready, waiting for UDS Client"),e.next(!0),e.complete()):"running"===r.status?window.setTimeout(i,n.delay):(e.next(!0),e.complete(),o())},function(t){e.next(!0),e.complete(),o(t)})};window.setTimeout(function e(){if("init"===r)window.setTimeout(e,n.delay);else{if("error"===r||"stop"===r)return;window.setTimeout(i)}})}));this.api.enabler(a[0],a[1]).subscribe(function(e){if(e.error)r="error",n.api.gui.alert(django.gettext("Error launching service"),e.error);else{if(e.url.startsWith("/"))return r="stop",void n.launchURL(e.url);"https:"===window.location.protocol&&(e.url=e.url.replace("uds://","udss://")),r="enabled",n.doLaunch(e.url)}},function(e){n.api.logout()})}else var u=this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Your connection is being prepared. It will open on a new window when ready."),0,new i.y(function(i){window.setTimeout(function r(){u.componentInstance&&n.api.transportUrl(t).subscribe(function(t){if(t.url)if(i.next(!0),i.complete(),-1!==t.url.indexOf("o_s_w=")){var a=/(.*)&o_s_w=.*/.exec(t.url);window.location.href=a[1]}else{var s="global";if(-1!==t.url.indexOf("o_n_w=")){var u=/(.*)&o_n_w=([a-zA-Z0-9._-]*)/.exec(t.url);u&&(s=u[2],t.url=u[1])}e.transportsWindow[s]&&e.transportsWindow[s].close(),e.transportsWindow[s]=window.open(t.url,"uds_trans_"+s)}else t.running?window.setTimeout(r,n.delay):(i.next(!0),i.complete(),o(t.error))},function(e){i.next(!0),i.complete(),o(e)})})}))}},{key:"showAlert",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return this.api.gui.alert(django.gettext("Launching service"),'

'+e+'

'+t+"

",n,i)}},{key:"doLaunch",value:function(e){var t=document.getElementById("hiddenUdsLauncherIFrame");if(null===t){var n=document.createElement("div");n.id="testID",n.innerHTML='',document.body.appendChild(n),t=document.getElementById("hiddenUdsLauncherIFrame")}t.contentWindow.location.href=e}}]),e}();return e.transportsWindow={},e}()},4902:function _(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{G:function(){return LoginComponent}});var _uds_api_service__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7540),_angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3018),_angular_forms__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(665),_angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8295),_translate_directive__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(7918),_angular_material_input__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(9983),_angular_common__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8583),_angular_material_button__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1095),_angular_material_select__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(7441),_angular_material_core__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(2458),_gui_safe_html_pipe__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(6498);function LoginComponent_div_22_mat_option_6_Template(e,t){if(1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(0,"mat-option",20),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()),2&e){var n=t.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("value",n.id),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.hij(" ",n.name," ")}}function LoginComponent_div_22_Template(e,t){if(1&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_1__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(0,"div",9),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(1,"mat-form-field",17),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(2,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(3,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(4,"Authenticator"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(5,"mat-select",18),_angular_core__WEBPACK_IMPORTED_MODULE_1__.NdJ("selectionChange",function(e){return _angular_core__WEBPACK_IMPORTED_MODULE_1__.CHM(n),_angular_core__WEBPACK_IMPORTED_MODULE_1__.oxw().changeAuth(e.value)}),_angular_core__WEBPACK_IMPORTED_MODULE_1__.YNc(6,LoginComponent_div_22_mat_option_6_Template,2,2,"mat-option",19),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()}if(2&e){var i=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("value",i.auths[0].id),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("ngForOf",i.auths)}}var LoginComponent=function(){var LoginComponent=function(){function LoginComponent(e){_classCallCheck(this,LoginComponent),this.api=e,this.title="UDS Enterprise",this.title=e.config.site_name,this.auths=e.config.authenticators.slice(0),this.auths.sort(function(e,t){return e.priority-t.priority})}return _createClass(LoginComponent,[{key:"ngOnInit",value:function(){document.getElementById("loginform").action=this.api.config.urls.login;var e=document.getElementById("token");e.name=this.api.config.csrf_field,e.value=this.api.config.csrf,this.auth=document.getElementById("authenticator"),this.auths.length>0&&(this.auth.value=this.auths[0].id,this.changeAuth(this.auth.value)),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}},{key:"changeAuth",value:function changeAuth(auth){this.auth.value=auth;var doCustomAuth=function doCustomAuth(data){eval(data)},_iterator22=_createForOfIteratorHelper(this.auths),_step22;try{for(_iterator22.s();!(_step22=_iterator22.n()).done;){var l=_step22.value;l.id===auth&&l.is_custom&&(document.getElementsByClassName("login-form")[0].setAttribute("style","display: none;"),this.api.getAuthCustomHtml(l.id).subscribe(function(e){return doCustomAuth(e)}))}}catch(err){_iterator22.e(err)}finally{_iterator22.f()}}},{key:"launch",value:function(){return document.getElementById("loginform").submit(),!0}}]),LoginComponent}();return LoginComponent.\u0275fac=function(e){return new(e||LoginComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.Y36(_uds_api_service__WEBPACK_IMPORTED_MODULE_0__.n))},LoginComponent.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Xpm({type:LoginComponent,selectors:[["uds-login"]],decls:29,vars:6,consts:[["id","loginform","method","post",3,"ngSubmit"],["name","","id","token","value","","type","hidden"],["name","logouturl","id","id_logouturl","value","","type","hidden"],["name","authenticator","id","authenticator","value","","type","hidden"],[1,"login-container"],[1,"login-brand"],[3,"src"],[1,"login-info"],[1,"login-form"],[1,"login-field"],["appearance","standard"],["matInput","","id","id_user","name","user","value","","required","","autofocus",""],["matInput","","id","id_password","type","password","name","password","data-eye","",1,"form-control"],["class","login-field",4,"ngIf"],[1,"login-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"site-info",3,"innerHTML"],["appaerance","standard"],[3,"value","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,t){1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(0,"form",0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.NdJ("ngSubmit",function(){return t.launch()}),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(1,"input",1),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(2,"input",2),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(3,"input",3),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(4,"div",4),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(5,"div",5),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(6,"img",6),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(7,"div",7),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(9,"div",8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(10,"div",9),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(11,"mat-form-field",10),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(12,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(13,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(14,"Username"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(15,"input",11),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(16,"div",9),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(17,"mat-form-field",10),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(18,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(19,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(20,"Password"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(21,"input",12),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.YNc(22,LoginComponent_div_22_Template,7,2,"div",13),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(23,"div",14),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(24,"button",15),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(25,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(26,"Login"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(27,"div",16),_angular_core__WEBPACK_IMPORTED_MODULE_1__.ALo(28,"safeHtml"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()),2&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(6),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("src",t.api.staticURL("modern/img/login-img.png"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LSH),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_1__.hij(" ",t.title," "),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(14),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("ngIf",t.auths.length>1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("innerHTML",_angular_core__WEBPACK_IMPORTED_MODULE_1__.lcZ(28,4,t.api.config.site_information),_angular_core__WEBPACK_IMPORTED_MODULE_1__.oJD))},directives:[_angular_forms__WEBPACK_IMPORTED_MODULE_2__._Y,_angular_forms__WEBPACK_IMPORTED_MODULE_2__.JL,_angular_forms__WEBPACK_IMPORTED_MODULE_2__.F,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__.KE,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__.hX,_translate_directive__WEBPACK_IMPORTED_MODULE_4__.P,_angular_material_input__WEBPACK_IMPORTED_MODULE_5__.Nt,_angular_common__WEBPACK_IMPORTED_MODULE_6__.O5,_angular_material_button__WEBPACK_IMPORTED_MODULE_7__.lW,_angular_material_select__WEBPACK_IMPORTED_MODULE_8__.gD,_angular_common__WEBPACK_IMPORTED_MODULE_6__.sg,_angular_material_core__WEBPACK_IMPORTED_MODULE_9__.ey],pipes:[_gui_safe_html_pipe__WEBPACK_IMPORTED_MODULE_10__.z],styles:[".login-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.login-brand[_ngcontent-%COMP%]{margin:1rem 0 0}.login-info[_ngcontent-%COMP%]{margin:1rem 0}.login-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.login-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.login-button[_ngcontent-%COMP%]{margin:2rem}.mat-form-field[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width:744px){.login-form[_ngcontent-%COMP%]{min-width:80%}}"]}),LoginComponent}()},7918:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});var i=n(3018),r=function(){var e=function(){function e(t){_classCallCheck(this,e),this.el=t}return _createClass(e,[{key:"ngOnInit",value:function(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.SBq))},e.\u0275dir=i.lG2({type:e,selectors:[["uds-translate"]]}),e}()},3513:function(e,t,n){"use strict";n.d(t,{n:function(){return i}});var i=function(){function e(t){_classCallCheck(this,e),this.user=t.user,this.role=t.role,this.admin=t.admin}return _createClass(e,[{key:"isStaff",get:function(){return"staff"===this.role||"admin"===this.role}},{key:"isAdmin",get:function(){return"admin"===this.role}},{key:"isLogged",get:function(){return null!=this.user}},{key:"isRestricted",get:function(){return"restricted"===this.role}}]),e}()},7540:function _(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{n:function(){return UDSApiService}});var _types_config__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3513),_helpers_plugin__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(2870),_environments_environment__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2340),_angular_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(3018),_angular_common_http__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1841),_gui_uds_gui_service__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(3183),_angular_router__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8741),UDSApiService=function(){var UDSApiService=function(){function UDSApiService(e,t,n){_classCallCheck(this,UDSApiService),this.http=e,this.gui=t,this.router=n,this.user=new _types_config__WEBPACK_IMPORTED_MODULE_1__.n(udsData.profile),this.transportsWindow=null,this.plugin=new _helpers_plugin__WEBPACK_IMPORTED_MODULE_2__.S(this)}return _createClass(UDSApiService,[{key:"config",get:function(){return udsData.config}},{key:"staffInfo",get:function(){return udsData.info}},{key:"plugins",get:function(){return udsData.plugins}},{key:"actors",get:function(){return udsData.actors}},{key:"errors",get:function(){return udsData.errors}},{key:"enabler",value:function(e,t){var n=this.config.urls.enabler.replace("param1",e).replace("param2",t);return this.http.get(n)}},{key:"status",value:function(e,t){var n=this.config.urls.status.replace("param1",e).replace("param2",t);return this.http.get(n)}},{key:"action",value:function(e,t){var n=this.config.urls.action.replace("param1",t).replace("param2",e);return this.http.get(n)}},{key:"transportUrl",value:function(e){return this.http.get(e)}},{key:"galleryImageURL",value:function(e){return this.config.urls.galleryImage.replace("param1",e)}},{key:"transportIconURL",value:function(e){return this.config.urls.transportIcon.replace("param1",e)}},{key:"staticURL",value:function(e){return _environments_environment__WEBPACK_IMPORTED_MODULE_0__.N.production?this.config.urls.static+e:"/static/"+e}},{key:"getServicesInformation",value:function(){return this.http.get(this.config.urls.services)}},{key:"executeCustomJSForServiceLaunch",value:function executeCustomJSForServiceLaunch(){void 0!==udsData.customJSForServiceLaunch&&eval(udsData.customJSForServiceLaunch)}},{key:"gotoAdmin",value:function(){window.location.href=this.config.urls.admin}},{key:"logout",value:function(){window.location.href=this.config.urls.logout}},{key:"launchURL",value:function(e){this.plugin.launchURL(e)}},{key:"getAuthCustomHtml",value:function(e){return this.http.get(this.config.urls.customAuth+e,{responseType:"text"})}}]),UDSApiService}();return UDSApiService.\u0275fac=function(e){return new(e||UDSApiService)(_angular_core__WEBPACK_IMPORTED_MODULE_3__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_4__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_3__.LFG(_gui_uds_gui_service__WEBPACK_IMPORTED_MODULE_5__.h),_angular_core__WEBPACK_IMPORTED_MODULE_3__.LFG(_angular_router__WEBPACK_IMPORTED_MODULE_6__.F0))},UDSApiService.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_3__.Yz7({token:UDSApiService,factory:UDSApiService.\u0275fac}),UDSApiService}()},2340:function(e,t,n){"use strict";n.d(t,{N:function(){return i}});var i={production:!0}},1479:function(e,t,n){"use strict";var i,r=n(9075),o=n(3018),a=n(9490),s=n(9765),u=n(739),l=n(8071),c=n(7574),h=n(5257),f=n(3653),d=n(4395),p=n(8002),v=n(9761),_=n(6782),m=n(521),g=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({}),e}(),y=new Set,b=function(){var e=function(){function e(t){_classCallCheck(this,e),this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):k}return _createClass(e,[{key:"matchMedia",value:function(e){return this._platform.WEBKIT&&function(e){if(!y.has(e))try{i||((i=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(i)),i.sheet&&(i.sheet.insertRule("@media ".concat(e," {.fx-query-test{ }}"),0),y.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(m.t4))},e.\u0275prov=o.Yz7({factory:function(){return new e(o.LFG(m.t4))},token:e,providedIn:"root"}),e}();function k(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var C=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new s.xQ}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(e){var t=this;return w((0,a.Eq)(e)).some(function(e){return t._registerQuery(e).mql.matches})}},{key:"observe",value:function(e){var t=this,n=w((0,a.Eq)(e)).map(function(e){return t._registerQuery(e).observable}),i=(0,u.aj)(n);return(i=(0,l.z)(i.pipe((0,h.q)(1)),i.pipe((0,f.T)(1),(0,d.b)(0)))).pipe((0,p.U)(function(e){var t={matches:!1,breakpoints:{}};return e.forEach(function(e){var n=e.matches,i=e.query;t.matches=t.matches||n,t.breakpoints[i]=n}),t}))}},{key:"_registerQuery",value:function(e){var t=this;if(this._queries.has(e))return this._queries.get(e);var n=this._mediaMatcher.matchMedia(e),i={observable:new c.y(function(e){var i=function(n){return t._zone.run(function(){return e.next(n)})};return n.addListener(i),function(){n.removeListener(i)}}).pipe((0,v.O)(n),(0,p.U)(function(t){var n=t.matches;return{query:e,matches:n}}),(0,_.R)(this._destroySubject)),mql:n};return this._queries.set(e,i),i}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(b),o.LFG(o.R0b))},e.\u0275prov=o.Yz7({factory:function(){return new e(o.LFG(b),o.LFG(o.R0b))},token:e,providedIn:"root"}),e}();function w(e){return e.map(function(e){return e.split(",")}).reduce(function(e,t){return e.concat(t)}).map(function(e){return e.trim()})}var x=n(1841),E=n(8741),S=n(7540),O=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t}return _createClass(e,[{key:"canActivate",value:function(e,t){return!!this.api.user.isLogged||(this.api.router.navigate(["login"]),!1)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(S.n))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),A=n(4902),T=n(7918),P=n(8583);function I(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"div",6),o.NdJ("click",function(){var e=o.CHM(n).$implicit;return o.oxw().download(e.url)}),o.TgZ(1,"div",7),o._UZ(2,"img",8),o.qZA(),o.TgZ(3,"div",9),o._uU(4),o.qZA(),o.TgZ(5,"div",10),o._uU(6),o.qZA(),o.qZA()}if(2&e){var i=t.$implicit,r=o.oxw();o.Tol(r.css(i)),o.xp6(2),o.Q6J("src",r.img(i.name),o.LSH),o.xp6(2),o.lnq(" ",r.legacy(i)," ",i.name," (",i.url.split(".").pop(),") "),o.xp6(2),o.hij(" ",i.description," ")}}var R=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"download",value:function(e){window.location.href=e}},{key:"img",value:function(e){return this.api.staticURL("modern/img/"+e+".png")}},{key:"css",value:function(e){var t=["plugin"];return e.legacy&&t.push("legacy"),t}},{key:"legacy",value:function(e){return e.legacy?"Legacy":""}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(S.n))},e.\u0275cmp=o.Xpm({type:e,selectors:[["uds-client-download"]],decls:16,vars:1,consts:[[1,"plugins-container"],[1,"banner"],[1,"banner-text"],[1,"plugins"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"platform"],[1,"description"]],template:function(e,t){1&e&&(o.TgZ(0,"div",0),o.TgZ(1,"div",1),o.TgZ(2,"div",2),o.TgZ(3,"h1"),o.TgZ(4,"uds-translate"),o._uU(5,"UDS Client"),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.TgZ(6,"div",3),o.YNc(7,I,7,7,"div",4),o.qZA(),o.TgZ(8,"div",5),o.TgZ(9,"ul"),o.TgZ(10,"li"),o.TgZ(11,"uds-translate"),o._uU(12,"Download UDS client for your platform"),o.qZA(),o.qZA(),o.TgZ(13,"li"),o.TgZ(14,"uds-translate"),o._uU(15,"Legacy clients are only provided for old operating system support. Try to avoid them."),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.qZA()),2&e&&(o.xp6(7),o.Q6J("ngForOf",t.api.plugins))},directives:[T.P,P.sg],styles:[".plugins-container[_ngcontent-%COMP%]{margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3rem;text-align:center}.banner-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1rem}.plugins[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center}.plugin[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;padding:1rem;border-radius:1rem;box-shadow:0 1rem 2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 15%}.plugin.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;flex:1 0 19%;max-width:20%}.plugin.legacy[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:5rem}.plugin[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);background-color:rgba(0,0,0,.1)}.image[_ngcontent-%COMP%]{display:flex;justify-content:center}.platform[_ngcontent-%COMP%]{text-align:center;font-size:2rem}.description[_ngcontent-%COMP%]{display:flex;text-align:center;justify-content:center;margin-top:.5rem}"]}),e}(),D=n(6498);function M(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"div",6),o.NdJ("click",function(){var e=o.CHM(n).$implicit;return o.oxw().download(e.url)}),o.TgZ(1,"div",7),o._UZ(2,"img",8),o.qZA(),o._UZ(3,"div",9),o.ALo(4,"safeHtml"),o._UZ(5,"div",10),o.ALo(6,"safeHtml"),o.qZA()}if(2&e){var i=t.$implicit,r=o.oxw();o.Tol(r.css(i.name)),o.xp6(2),o.Q6J("src",r.img(i.name),o.LSH),o.xp6(1),o.Q6J("innerHTML",o.lcZ(4,5,i.name),o.oJD),o.xp6(2),o.Q6J("innerHTML",o.lcZ(6,7,i.description),o.oJD)}}var L=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.actors=[];var t=[];this.api.actors.forEach(function(n){n.name.includes("legacy")?t.push(n):e.actors.push(n)}),t.forEach(function(t){e.actors.push(t)})}},{key:"download",value:function(e){window.location.href=e}},{key:"img",value:function(e){var t=e.split(".").pop().toLowerCase(),n="Linux";return"exe"===t?n="Windows":"pkg"===t&&(n="MacOS"),this.api.staticURL("modern/img/"+n+".png")}},{key:"css",value:function(e){var t=["actor"];return e.toLowerCase().includes("legacy")&&t.push("legacy"),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(S.n))},e.\u0275cmp=o.Xpm({type:e,selectors:[["uds-downloads"]],decls:16,vars:1,consts:[[1,"actors-container"],[1,"banner"],[1,"banner-text"],[1,"actors"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"name",3,"innerHTML"],[1,"description",3,"innerHTML"]],template:function(e,t){1&e&&(o.TgZ(0,"div",0),o.TgZ(1,"div",1),o.TgZ(2,"div",2),o.TgZ(3,"h1"),o.TgZ(4,"uds-translate"),o._uU(5,"Downloads"),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.TgZ(6,"div",3),o.YNc(7,M,7,9,"div",4),o.qZA(),o.TgZ(8,"div",5),o.TgZ(9,"ul"),o.TgZ(10,"li"),o.TgZ(11,"uds-translate"),o._uU(12,"Always download the UDS actor matching your platform"),o.qZA(),o.qZA(),o.TgZ(13,"li"),o.TgZ(14,"uds-translate"),o._uU(15,"Legacy actors are only provided for old operating system support. Try to avoid them."),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.qZA()),2&e&&(o.xp6(7),o.Q6J("ngForOf",t.actors))},directives:[T.P,P.sg],pipes:[D.z],styles:[".actors-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2em;text-align:center}.actors[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-around;align-content:center;margin:auto}.actor[_ngcontent-%COMP%]{border:1px solid;margin-top:1rem;padding:1em;border-radius:1rem;box-shadow:0 1rem 2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 34%;margin-right:1em}.actor.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;max-width:50%}.actor[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);background-color:rgba(0,0,0,.1)}.image[_ngcontent-%COMP%]{display:block;float:left;padding-right:1rem;height:100%}.image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:4rem}.name[_ngcontent-%COMP%]{font-size:1.5em;margin-bottom:1em;font-weight:700;overflow:hidden}"]}),e}(),F=n(5319),N=n(8345),B=0,U=new o.OlP("CdkAccordion"),j=function(){var e=function(){function e(){_classCallCheck(this,e),this._stateChanges=new s.xQ,this._openCloseAllActions=new s.xQ,this.id="cdk-accordion-"+B++,this._multi=!1}return _createClass(e,[{key:"multi",get:function(){return this._multi},set:function(e){this._multi=(0,a.Ig)(e)}},{key:"openAll",value:function(){this._multi&&this._openCloseAllActions.next(!0)}},{key:"closeAll",value:function(){this._openCloseAllActions.next(!1)}},{key:"ngOnChanges",value:function(e){this._stateChanges.next(e)}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[o._Bn([{provide:U,useExisting:e}]),o.TTD]}),e}(),Z=0,q=function(){var e=function(){function e(t,n,i){var r=this;_classCallCheck(this,e),this.accordion=t,this._changeDetectorRef=n,this._expansionDispatcher=i,this._openCloseAllSubscription=F.w.EMPTY,this.closed=new o.vpe,this.opened=new o.vpe,this.destroyed=new o.vpe,this.expandedChange=new o.vpe,this.id="cdk-accordion-child-"+Z++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=i.listen(function(e,t){r.accordion&&!r.accordion.multi&&r.accordion.id===t&&r.id!==e&&(r.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return _createClass(e,[{key:"expanded",get:function(){return this._expanded},set:function(e){e=(0,a.Ig)(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())}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=(0,a.Ig)(e)}},{key:"ngOnDestroy",value:function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}},{key:"toggle",value:function(){this.disabled||(this.expanded=!this.expanded)}},{key:"close",value:function(){this.disabled||(this.expanded=!1)}},{key:"open",value:function(){this.disabled||(this.expanded=!0)}},{key:"_subscribeToOpenCloseAllActions",value:function(){var e=this;return this.accordion._openCloseAllActions.subscribe(function(t){e.disabled||(e.expanded=t)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(U,12),o.Y36(o.sBO),o.Y36(N.A8))},e.\u0275dir=o.lG2({type:e,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[o._Bn([{provide:U,useValue:void 0}])]}),e}(),V=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({}),e}(),H=n(7636),z=n(2458),Y=n(9238),G=n(7519),K=n(5435),W=n(6461),Q=n(6237),J=n(9193),X=n(6682),$=n(7238),ee=["body"];function te(e,t){}var ne=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],ie=["mat-expansion-panel-header","*","mat-action-row"];function re(e,t){if(1&e&&o._UZ(0,"span",2),2&e){var n=o.oxw();o.Q6J("@indicatorRotate",n._getExpandedState())}}var oe=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],ae=["mat-panel-title","mat-panel-description","*"],se=new o.OlP("MAT_ACCORDION"),ue={indicatorRotate:(0,$.X$)("indicatorRotate",[(0,$.SB)("collapsed, void",(0,$.oB)({transform:"rotate(0deg)"})),(0,$.SB)("expanded",(0,$.oB)({transform:"rotate(180deg)"})),(0,$.eR)("expanded <=> collapsed, void => collapsed",(0,$.jt)("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),bodyExpansion:(0,$.X$)("bodyExpansion",[(0,$.SB)("collapsed, void",(0,$.oB)({height:"0px",visibility:"hidden"})),(0,$.SB)("expanded",(0,$.oB)({height:"*",visibility:"visible"})),(0,$.eR)("expanded <=> collapsed, void => collapsed",(0,$.jt)("225ms cubic-bezier(0.4,0.0,0.2,1)"))])},le=function(){var e=function e(t){_classCallCheck(this,e),this._template=t};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.Rgc))},e.\u0275dir=o.lG2({type:e,selectors:[["ng-template","matExpansionPanelContent",""]]}),e}(),ce=0,he=new o.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),fe=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,u,l,c){var h;return _classCallCheck(this,n),(h=t.call(this,e,i,r))._viewContainerRef=a,h._animationMode=l,h._hideToggle=!1,h.afterExpand=new o.vpe,h.afterCollapse=new o.vpe,h._inputChanges=new s.xQ,h._headerId="mat-expansion-panel-header-"+ce++,h._bodyAnimationDone=new s.xQ,h.accordion=e,h._document=u,h._bodyAnimationDone.pipe((0,G.x)(function(e,t){return e.fromState===t.fromState&&e.toState===t.toState})).subscribe(function(e){"void"!==e.fromState&&("expanded"===e.toState?h.afterExpand.emit():"collapsed"===e.toState&&h.afterCollapse.emit())}),c&&(h.hideToggle=c.hideToggle),h}return _createClass(n,[{key:"hideToggle",get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(e){this._hideToggle=(0,a.Ig)(e)}},{key:"togglePosition",get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(e){this._togglePosition=e}},{key:"_hasSpacing",value:function(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}},{key:"_getExpandedState",value:function(){return this.expanded?"expanded":"collapsed"}},{key:"toggle",value:function(){this.expanded=!this.expanded}},{key:"close",value:function(){this.expanded=!1}},{key:"open",value:function(){this.expanded=!0}},{key:"ngAfterContentInit",value:function(){var e=this;this._lazyContent&&this.opened.pipe((0,v.O)(null),(0,K.h)(function(){return e.expanded&&!e._portal}),(0,h.q)(1)).subscribe(function(){e._portal=new H.UE(e._lazyContent._template,e._viewContainerRef)})}},{key:"ngOnChanges",value:function(e){this._inputChanges.next(e)}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnDestroy",this).call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()}},{key:"_containsFocus",value:function(){if(this._body){var e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}}]),n}(q);return e.\u0275fac=function(t){return new(t||e)(o.Y36(se,12),o.Y36(o.sBO),o.Y36(N.A8),o.Y36(o.s_b),o.Y36(P.K0),o.Y36(Q.Qb,8),o.Y36(he,8))},e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,n){var i;(1&e&&o.Suo(n,le,5),2&e)&&(o.iGM(i=o.CRH())&&(t._lazyContent=i.first))},viewQuery:function(e,t){var n;(1&e&&o.Gf(ee,5),2&e)&&(o.iGM(n=o.CRH())&&(t._body=n.first))},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,t){2&e&&o.ekj("mat-expanded",t.expanded)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-expansion-panel-spacing",t._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[o._Bn([{provide:se,useValue:void 0}]),o.qOj,o.TTD],ngContentSelectors:ie,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,t){1&e&&(o.F$t(ne),o.Hsn(0),o.TgZ(1,"div",0,1),o.NdJ("@bodyExpansion.done",function(e){return t._bodyAnimationDone.next(e)}),o.TgZ(3,"div",2),o.Hsn(4,1),o.YNc(5,te,0,0,"ng-template",3),o.qZA(),o.Hsn(6,2),o.qZA()),2&e&&(o.xp6(1),o.Q6J("@bodyExpansion",t._getExpandedState())("id",t.id),o.uIk("aria-labelledby",t._headerId),o.xp6(4),o.Q6J("cdkPortalOutlet",t._portal))},directives:[H.Pl],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-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 button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[ue.bodyExpansion]},changeDetection:0}),e}(),de=(0,z.sb)(function e(){_classCallCheck(this,e)}),pe=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,a,s,u){var l;_classCallCheck(this,n),(l=t.call(this)).panel=e,l._element=i,l._focusMonitor=r,l._changeDetectorRef=o,l._animationMode=s,l._parentChangeSubscription=F.w.EMPTY;var c=e.accordion?e.accordion._stateChanges.pipe((0,K.h)(function(e){return!(!e.hideToggle&&!e.togglePosition)})):J.E;return l.tabIndex=parseInt(u||"")||0,l._parentChangeSubscription=(0,X.T)(e.opened,e.closed,c,e._inputChanges.pipe((0,K.h)(function(e){return!!(e.hideToggle||e.disabled||e.togglePosition)}))).subscribe(function(){return l._changeDetectorRef.markForCheck()}),e.closed.pipe((0,K.h)(function(){return e._containsFocus()})).subscribe(function(){return r.focusVia(i,"program")}),a&&(l.expandedHeight=a.expandedHeight,l.collapsedHeight=a.collapsedHeight),l}return _createClass(n,[{key:"disabled",get:function(){return this.panel.disabled}},{key:"_toggle",value:function(){this.disabled||this.panel.toggle()}},{key:"_isExpanded",value:function(){return this.panel.expanded}},{key:"_getExpandedState",value:function(){return this.panel._getExpandedState()}},{key:"_getPanelId",value:function(){return this.panel.id}},{key:"_getTogglePosition",value:function(){return this.panel.togglePosition}},{key:"_showToggle",value:function(){return!this.panel.hideToggle&&!this.panel.disabled}},{key:"_getHeaderHeight",value:function(){var e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}},{key:"_keydown",value:function(e){switch(e.keyCode){case W.L_:case W.K5:(0,W.Vb)(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}},{key:"focus",value:function(e,t){e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._element).subscribe(function(t){t&&e.panel.accordion&&e.panel.accordion._handleHeaderFocus(e)})}},{key:"ngOnDestroy",value:function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}]),n}(de);return e.\u0275fac=function(t){return new(t||e)(o.Y36(fe,1),o.Y36(o.SBq),o.Y36(Y.tE),o.Y36(o.sBO),o.Y36(he,8),o.Y36(Q.Qb,8),o.$8M("tabindex"))},e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,t){1&e&&o.NdJ("click",function(){return t._toggle()})("keydown",function(e){return t._keydown(e)}),2&e&&(o.uIk("id",t.panel._headerId)("tabindex",t.tabIndex)("aria-controls",t._getPanelId())("aria-expanded",t._isExpanded())("aria-disabled",t.panel.disabled),o.Udp("height",t._getHeaderHeight()),o.ekj("mat-expanded",t._isExpanded())("mat-expansion-toggle-indicator-after","after"===t._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===t._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[o.qOj],ngContentSelectors:ae,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,t){1&e&&(o.F$t(oe),o.TgZ(0,"span",0),o.Hsn(1),o.Hsn(2,1),o.Hsn(3,2),o.qZA(),o.YNc(4,re,1,1,"span",1)),2&e&&(o.xp6(4),o.Q6J("ngIf",t._showToggle()))},directives:[P.O5],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-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[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 .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}\n'],encapsulation:2,data:{animation:[ue.indicatorRotate]},changeDetection:0}),e}(),ve=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),e}(),_e=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),e}(),me=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._ownHeaders=new o.n_E,e._hideToggle=!1,e.displayMode="default",e.togglePosition="after",e}return _createClass(n,[{key:"hideToggle",get:function(){return this._hideToggle},set:function(e){this._hideToggle=(0,a.Ig)(e)}},{key:"ngAfterContentInit",value:function(){var e=this;this._headers.changes.pipe((0,v.O)(this._headers)).subscribe(function(t){e._ownHeaders.reset(t.filter(function(t){return t.panel.accordion===e})),e._ownHeaders.notifyOnChanges()}),this._keyManager=new Y.Em(this._ownHeaders).withWrap().withHomeAndEnd()}},{key:"_handleHeaderKeydown",value:function(e){this._keyManager.onKeydown(e)}},{key:"_handleHeaderFocus",value:function(e){this._keyManager.updateActiveItem(e)}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnDestroy",this).call(this),this._ownHeaders.destroy()}}]),n}(j);return t.\u0275fac=function(n){return(e||(e=o.n5z(t)))(n||t)},t.\u0275dir=o.lG2({type:t,selectors:[["mat-accordion"]],contentQueries:function(e,t,n){var i;(1&e&&o.Suo(n,pe,5),2&e)&&(o.iGM(i=o.CRH())&&(t._headers=i))},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,t){2&e&&o.ekj("mat-accordion-multi",t.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[o._Bn([{provide:se,useExisting:t}]),o.qOj]}),t}(),ge=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({imports:[[P.ez,z.BQ,V,H.eL]]}),e}();function ye(e,t){if(1&e&&(o.TgZ(0,"li"),o.TgZ(1,"uds-translate"),o._uU(2,"Detected proxy ip"),o.qZA(),o._uU(3),o.qZA()),2&e){var n=o.oxw(2);o.xp6(3),o.hij(": ",n.api.staffInfo.ip_proxy,"")}}function be(e,t){if(1&e&&(o.TgZ(0,"li"),o._uU(1),o.qZA()),2&e){var n=t.$implicit;o.xp6(1),o.Oqu(n)}}function ke(e,t){if(1&e&&(o.TgZ(0,"span"),o._uU(1),o.qZA()),2&e){var n=t.$implicit;o.xp6(1),o.Oqu(n)}}function Ce(e,t){if(1&e&&(o.TgZ(0,"div",1),o.TgZ(1,"h1"),o.TgZ(2,"uds-translate"),o._uU(3,"Information"),o.qZA(),o.qZA(),o.TgZ(4,"mat-accordion"),o.TgZ(5,"mat-expansion-panel"),o.TgZ(6,"mat-expansion-panel-header",2),o.TgZ(7,"mat-panel-title"),o._uU(8," IPs "),o.qZA(),o.TgZ(9,"mat-panel-description"),o.TgZ(10,"uds-translate"),o._uU(11,"Client IP"),o.qZA(),o.qZA(),o.qZA(),o.TgZ(12,"ol"),o.TgZ(13,"li"),o.TgZ(14,"uds-translate"),o._uU(15,"Client IP"),o.qZA(),o._uU(16),o.qZA(),o.YNc(17,ye,4,1,"li",3),o.qZA(),o.qZA(),o.TgZ(18,"mat-expansion-panel"),o.TgZ(19,"mat-expansion-panel-header",2),o.TgZ(20,"mat-panel-title"),o.TgZ(21,"uds-translate"),o._uU(22,"Transports"),o.qZA(),o.qZA(),o.TgZ(23,"mat-panel-description"),o.TgZ(24,"uds-translate"),o._uU(25,"UDS transports for this client"),o.qZA(),o.qZA(),o.qZA(),o.TgZ(26,"ol"),o.YNc(27,be,2,1,"li",4),o.qZA(),o.qZA(),o.TgZ(28,"mat-expansion-panel"),o.TgZ(29,"mat-expansion-panel-header",2),o.TgZ(30,"mat-panel-title"),o.TgZ(31,"uds-translate"),o._uU(32,"Networks"),o.qZA(),o.qZA(),o.TgZ(33,"mat-panel-description"),o.TgZ(34,"uds-translate"),o._uU(35,"UDS networks for this IP"),o.qZA(),o.qZA(),o.qZA(),o.YNc(36,ke,2,1,"span",4),o._uU(37,"\xa0 "),o.qZA(),o.qZA(),o.qZA()),2&e){var n=o.oxw();o.xp6(16),o.hij(": ",n.api.staffInfo.ip,""),o.xp6(1),o.Q6J("ngIf",n.api.staffInfo.ip_proxy!==n.api.staffInfo.ip),o.xp6(10),o.Q6J("ngForOf",n.api.staffInfo.transports),o.xp6(9),o.Q6J("ngForOf",n.api.staffInfo.networks)}}var we=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(S.n))},e.\u0275cmp=o.Xpm({type:e,selectors:[["uds-staff-info"]],decls:1,vars:1,consts:[["class","staff-info",4,"ngIf"],[1,"staff-info"],[1,"staff-panel"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(e,t){1&e&&o.YNc(0,Ce,38,4,"div",0),2&e&&o.Q6J("ngIf",t.api.staffInfo)},directives:[P.O5,T.P,me,fe,pe,_e,ve,P.sg],styles:[".staff-info[_ngcontent-%COMP%]{margin-top:1rem;padding:1rem;background-color:#ebebeb}.staff-info[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{text-align:center}.staff-panel[_ngcontent-%COMP%]{background-color:#d4d4d4}"]}),e}(),xe=n(2759),Ee=n(3342),Se=n(8295),Oe=n(9983),Ae=["input"],Te=function(){var e=function(){function e(){_classCallCheck(this,e),this.updateEvent=new o.vpe}return _createClass(e,[{key:"ngAfterViewInit",value:function(){var e=this;(0,xe.R)(this.input.nativeElement,"keyup").pipe((0,K.h)(Boolean),(0,d.b)(600),(0,G.x)(),(0,Ee.b)(function(){return e.update(e.input.nativeElement.value)})).subscribe()}},{key:"update",value:function(e){this.updateEvent.emit(e.toLowerCase())}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Xpm({type:e,selectors:[["uds-filter"]],viewQuery:function(e,t){var n;(1&e&&o.Gf(Ae,7),2&e)&&(o.iGM(n=o.CRH())&&(t.input=n.first))},outputs:{updateEvent:"updateEvent"},decls:9,vars:0,consts:[[1,"filter"],["floatLabel","auto",1,"nav-input-field"],["matInput","","type","text"],["input",""],["matSuffix","",1,"material-icons"]],template:function(e,t){1&e&&(o.TgZ(0,"div",0),o.TgZ(1,"mat-form-field",1),o.TgZ(2,"mat-label"),o.TgZ(3,"uds-translate"),o._uU(4,"Filter"),o.qZA(),o.qZA(),o._UZ(5,"input",2,3),o.TgZ(7,"i",4),o._uU(8,"search"),o.qZA(),o.qZA(),o.qZA())},directives:[Se.KE,Se.hX,T.P,Oe.Nt,Se.R9],styles:[".filter[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;justify-content:flex-end;font-size:.8rem}"]}),e}(),Pe=n(5917),Ie=n(4581),Re=n(3190),De=n(3637),Me=n(7393),Le=n(1593);function Fe(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:De.P,i=(t=e)instanceof Date&&!isNaN(+t)?+e-n.now():Math.abs(e);return function(e){return e.lift(new Ne(i,n))}}var Ne=function(){function e(t,n){_classCallCheck(this,e),this.delay=t,this.scheduler=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Be(e,this.delay,this.scheduler))}}]),e}(),Be=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).delay=i,o.scheduler=r,o.queue=[],o.active=!1,o.errored=!1,o}return _createClass(n,[{key:"_schedule",value:function(e){this.active=!0,this.destination.add(e.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}},{key:"scheduleNotification",value:function(e){if(!0!==this.errored){var t=this.scheduler,n=new Ue(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}}},{key:"_next",value:function(e){this.scheduleNotification(Le.P.createNext(e))}},{key:"_error",value:function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(Le.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){for(var t=e.source,n=t.queue,i=e.scheduler,r=e.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var o=Math.max(0,n[0].time-i.now());this.schedule(e,o)}else this.unsubscribe(),t.active=!1}}]),n}(Me.L),Ue=function e(t,n){_classCallCheck(this,e),this.time=t,this.notification=n},je=n(625),Ze=n(9243),qe=n(946),Ve=["mat-menu-item",""],He=["*"];function ze(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"div",0),o.NdJ("keydown",function(e){return o.CHM(n),o.oxw()._handleKeydown(e)})("click",function(){return o.CHM(n),o.oxw().closed.emit("click")})("@transformMenu.start",function(e){return o.CHM(n),o.oxw()._onAnimationStart(e)})("@transformMenu.done",function(e){return o.CHM(n),o.oxw()._onAnimationDone(e)}),o.TgZ(1,"div",1),o.Hsn(2),o.qZA(),o.qZA()}if(2&e){var i=o.oxw();o.Q6J("id",i.panelId)("ngClass",i._classList)("@transformMenu",i._panelAnimationState),o.uIk("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby||null)("aria-describedby",i.ariaDescribedby||null)}}var Ye={transformMenu:(0,$.X$)("transformMenu",[(0,$.SB)("void",(0,$.oB)({opacity:0,transform:"scale(0.8)"})),(0,$.eR)("void => enter",(0,$.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,$.oB)({opacity:1,transform:"scale(1)"}))),(0,$.eR)("* => void",(0,$.jt)("100ms 25ms linear",(0,$.oB)({opacity:0})))]),fadeInItems:(0,$.X$)("fadeInItems",[(0,$.SB)("showing",(0,$.oB)({opacity:1})),(0,$.eR)("void => *",[(0,$.oB)({opacity:0}),(0,$.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Ge=new o.OlP("MatMenuContent"),Ke=new o.OlP("MAT_MENU_PANEL"),We=(0,z.Kr)((0,z.Id)(function(){return function e(){_classCallCheck(this,e)}}())),Qe=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var a;return _classCallCheck(this,n),(a=t.call(this))._elementRef=e,a._focusMonitor=r,a._parentMenu=o,a.role="menuitem",a._hovered=new s.xQ,a._focused=new s.xQ,a._highlighted=!1,a._triggersSubmenu=!1,o&&o.addItem&&o.addItem(_assertThisInitialized(a)),a}return _createClass(n,[{key:"focus",value:function(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){for(var e,t,n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons"),r=0;r0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.pipe((0,h.q)(1)).subscribe(function(){return e._focusFirstItem(t)}):this._focusFirstItem(t)}},{key:"_focusFirstItem",value:function(e){var t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length)for(var n=this._directDescendantItems.first._getHostElement().parentElement;n;){if("menu"===n.getAttribute("role")){n.focus();break}n=n.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(e){var t=this,n=Math.min(this._baseElevation+e,24),i="".concat(this._elevationPrefix).concat(n),r=Object.keys(this._classList).find(function(e){return e.startsWith(t._elevationPrefix)});r&&r!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[i]=!0,this._previousElevation=i)}},{key:"setPositionClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,n=this._classList;n["mat-menu-before"]="before"===e,n["mat-menu-after"]="after"===e,n["mat-menu-above"]="above"===t,n["mat-menu-below"]="below"===t}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(e){this._animationDone.next(e),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var e=this;this._allItems.changes.pipe((0,v.O)(this._allItems)).subscribe(function(t){e._directDescendantItems.reset(t.filter(function(t){return t._parentMenu===e})),e._directDescendantItems.notifyOnChanges()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(Je))},e.\u0275dir=o.lG2({type:e,contentQueries:function(e,t,n){var i;(1&e&&(o.Suo(n,Ge,5),o.Suo(n,Qe,5),o.Suo(n,Qe,4)),2&e)&&(o.iGM(i=o.CRH())&&(t.lazyContent=i.first),o.iGM(i=o.CRH())&&(t._allItems=i),o.iGM(i=o.CRH())&&(t.items=i))},viewQuery:function(e,t){var n;(1&e&&o.Gf(o.Rgc,5),2&e)&&(o.iGM(n=o.CRH())&&(t.templateRef=n.first))},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),e}(),et=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e,i,r))._elevationPrefix="mat-elevation-z",o._baseElevation=4,o}return n}($e);return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(Je))},e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&o.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[o._Bn([{provide:Ke,useExisting:e}]),o.qOj],ngContentSelectors:He,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(o.F$t(),o.YNc(0,ze,3,6,"ng-template"))},directives:[P.mk],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[Ye.transformMenu,Ye.fadeInItems]},changeDetection:0}),e}(),tt=new o.OlP("mat-menu-scroll-strategy"),nt={provide:tt,deps:[je.aV],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},it=(0,m.i$)({passive:!0}),rt=function(){var e=function(){function e(t,n,i,r,a,s,u,l){var c=this;_classCallCheck(this,e),this._overlay=t,this._element=n,this._viewContainerRef=i,this._menuItemInstance=s,this._dir=u,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=F.w.EMPTY,this._hoverSubscription=F.w.EMPTY,this._menuCloseSubscription=F.w.EMPTY,this._handleTouchStart=function(e){(0,Y.yG)(e)||(c._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new o.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=r,this._parentMaterialMenu=a instanceof $e?a:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,it),s&&(s._triggersSubmenu=this.triggersSubmenu())}return _createClass(e,[{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(e){this.menu=e}},{key:"menu",get:function(){return this._menu},set:function(e){var t=this;e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(function(e){t._destroyMenu(e),"click"!==e&&"tab"!==e||!t._parentMaterialMenu||t._parentMaterialMenu.closed.emit(e)})))}},{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,it),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var e=this;if(!this._menuOpen){this._checkMenu();var t=this._createOverlay(),n=t.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return e.closeMenu()}),this._initMenu(),this.menu instanceof $e&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}},{key:"updatePosition",value:function(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}},{key:"_destroyMenu",value:function(e){var t=this;if(this._overlayRef&&this.menuOpen){var n=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),!this.restoreFocus||"keydown"!==e&&this._openedBy&&this.triggersSubmenu()||this.focus(this._openedBy),this._openedBy=void 0,n instanceof $e?(n._resetAnimation(),n.lazyContent?n._animationDone.pipe((0,K.h)(function(e){return"void"===e.toState}),(0,h.q)(1),(0,_.R)(n.lazyContent._attached)).subscribe({next:function(){return n.lazyContent.detach()},complete:function(){return t._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),n.lazyContent&&n.lazyContent.detach())}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var e=0,t=this.menu.parentMenu;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}},{key:"_setIsMenuOpen",value:function(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)}},{key:"_checkMenu",value:function(){}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new je.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value:function(e){var t=this;this.menu.setPositionClasses&&e.positionChanges.subscribe(function(e){t.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")})}},{key:"_setPosition",value:function(e){var t=_slicedToArray("before"===this.menu.xPosition?["end","start"]:["start","end"],2),n=t[0],i=t[1],r=_slicedToArray("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),o=r[0],a=r[1],s=o,u=a,l=n,c=i,h=0;this.triggersSubmenu()?(c=n="before"===this.menu.xPosition?"start":"end",i=l="end"===n?"start":"end",h="bottom"===o?8:-8):this.menu.overlapTrigger||(s="top"===o?"bottom":"top",u="top"===a?"bottom":"top"),e.withPositions([{originX:n,originY:s,overlayX:l,overlayY:o,offsetY:h},{originX:i,originY:s,overlayX:c,overlayY:o,offsetY:h},{originX:n,originY:u,overlayX:l,overlayY:a,offsetY:-h},{originX:i,originY:u,overlayX:c,overlayY:a,offsetY:-h}])}},{key:"_menuClosingActions",value:function(){var e=this,t=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),i=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Pe.of)(),r=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,K.h)(function(t){return t!==e._menuItemInstance}),(0,K.h)(function(){return e._menuOpen})):(0,Pe.of)();return(0,X.T)(t,i,r,n)}},{key:"_handleMousedown",value:function(e){(0,Y.X6)(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}},{key:"_handleKeydown",value:function(e){var t=e.keyCode;t!==W.K5&&t!==W.L_||(this._openedBy="keyboard"),this.triggersSubmenu()&&(t===W.SV&&"ltr"===this.dir||t===W.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}},{key:"_handleClick",value:function(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var e=this;this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,K.h)(function(t){return t===e._menuItemInstance&&!t.disabled}),Fe(0,Ie.E)).subscribe(function(){e._openedBy="mouse",e.menu instanceof $e&&e.menu._isAnimating?e.menu._animationDone.pipe((0,h.q)(1),Fe(0,Ie.E),(0,_.R)(e._parentMaterialMenu._hovered())).subscribe(function(){return e.openMenu()}):e.openMenu()}))}},{key:"_getPortal",value:function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new H.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(je.aV),o.Y36(o.SBq),o.Y36(o.s_b),o.Y36(tt),o.Y36(Ke,8),o.Y36(Qe,10),o.Y36(qe.Is,8),o.Y36(Y.tE))},e.\u0275dir=o.lG2({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(e,t){1&e&&o.NdJ("mousedown",function(e){return t._handleMousedown(e)})("keydown",function(e){return t._handleKeydown(e)})("click",function(e){return t._handleClick(e)}),2&e&&o.uIk("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),e}(),ot=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:[nt],imports:[z.BQ]}),e}(),at=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:[nt],imports:[[P.ez,z.BQ,z.si,je.U8,ot],Ze.ZD,z.BQ,ot]}),e}(),st={tooltipState:(0,$.X$)("state",[(0,$.SB)("initial, void, hidden",(0,$.oB)({opacity:0,transform:"scale(0)"})),(0,$.SB)("visible",(0,$.oB)({transform:"scale(1)"})),(0,$.eR)("* => visible",(0,$.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,$.F4)([(0,$.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,$.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,$.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,$.eR)("* => hidden",(0,$.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,$.oB)({opacity:0})))])},ut=(0,m.i$)({passive:!0}),lt=new o.OlP("mat-tooltip-scroll-strategy"),ct={provide:lt,deps:[je.aV],useFactory:function(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:20})}}},ht=new o.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),ft=function(){var e=function(){function e(t,n,i,r,o,a,u,l,c,h,f,d){var p=this;_classCallCheck(this,e),this._overlay=t,this._elementRef=n,this._scrollDispatcher=i,this._viewContainerRef=r,this._ngZone=o,this._platform=a,this._ariaDescriber=u,this._focusMonitor=l,this._dir=h,this._defaultOptions=f,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new s.xQ,this._handleKeydown=function(e){p._isTooltipVisible()&&e.keyCode===W.hY&&!(0,W.Vb)(e)&&(e.preventDefault(),e.stopPropagation(),p._ngZone.run(function(){return p.hide(0)}))},this._scrollStrategy=c,this._document=d,f&&(f.position&&(this.position=f.position),f.touchGestures&&(this.touchGestures=f.touchGestures)),h.change.pipe((0,_.R)(this._destroyed)).subscribe(function(){p._overlayRef&&p._updatePosition(p._overlayRef)}),o.runOutsideAngular(function(){n.nativeElement.addEventListener("keydown",p._handleKeydown)})}return _createClass(e,[{key:"position",get:function(){return this._position},set:function(e){var t;e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(t=this._tooltipInstance)||void 0===t||t.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=(0,a.Ig)(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"message",get:function(){return this._message},set:function(e){var t=this;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(function(){Promise.resolve().then(function(){t._ariaDescriber.describe(t._elementRef.nativeElement,t.message,"tooltip")})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngAfterViewInit",value:function(){var e=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,_.R)(this._destroyed)).subscribe(function(t){t?"keyboard"===t&&e._ngZone.run(function(){return e.show()}):e._ngZone.run(function(){return e.hide(0)})})}},{key:"ngOnDestroy",value:function(){var e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(function(t){var n=_slicedToArray(t,2),i=n[0],r=n[1];e.removeEventListener(i,r,ut)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}},{key:"show",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new H.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,_.R)(this._destroyed)).subscribe(function(){return e._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}}},{key:"hide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(e)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var e=this;if(this._overlayRef)return this._overlayRef;var t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return n.positionChanges.pipe((0,_.R)(this._destroyed)).subscribe(function(t){e._updateCurrentPositionClass(t.connectionPair),e._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&e._tooltipInstance.isVisible()&&e._ngZone.run(function(){return e.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"".concat(this._cssClassPrefix,"-tooltip-panel"),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,_.R)(this._destroyed)).subscribe(function(){return e._detach()}),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(e){var t=e.getConfig().positionStrategy,n=this._getOrigin(),i=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},n.main),i.main)),this._addOffset(Object.assign(Object.assign({},n.fallback),i.fallback))])}},{key:"_addOffset",value:function(e){return e}},{key:"_getOrigin",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n||"below"==n?e={originX:"center",originY:"above"==n?"top":"bottom"}:"before"==n||"left"==n&&t||"right"==n&&!t?e={originX:"start",originY:"center"}:("after"==n||"right"==n&&t||"left"==n&&!t)&&(e={originX:"end",originY:"center"});var i=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:i.x,originY:i.y}}}},{key:"_getOverlayPosition",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n?e={overlayX:"center",overlayY:"bottom"}:"below"==n?e={overlayX:"center",overlayY:"top"}:"before"==n||"left"==n&&t||"right"==n&&!t?e={overlayX:"end",overlayY:"center"}:("after"==n||"right"==n&&t||"left"==n&&!t)&&(e={overlayX:"start",overlayY:"center"});var i=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:i.x,overlayY:i.y}}}},{key:"_updateTooltipMessage",value:function(){var e=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,h.q)(1),(0,_.R)(this._destroyed)).subscribe(function(){e._tooltipInstance&&e._overlayRef.updatePosition()}))}},{key:"_setTooltipClass",value:function(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}},{key:"_updateCurrentPositionClass",value:function(e){var t,n=e.overlayY,i=e.originX,r=e.originY;if((t="center"===n?this._dir&&"rtl"===this._dir.value?"end"===i?"left":"right":"start"===i?"left":"right":"bottom"===n&&"top"===r?"above":"below")!==this._currentPosition){var o=this._overlayRef;if(o){var a="".concat(this._cssClassPrefix,"-tooltip-panel-");o.removePanelClass(a+this._currentPosition),o.addPanelClass(a+t)}this._currentPosition=t}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var e=this;!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(){e._setupPointerExitEventsIfNeeded(),e.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){e._setupPointerExitEventsIfNeeded(),clearTimeout(e._touchstartTimeout),e._touchstartTimeout=setTimeout(function(){return e.show()},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var e,t=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var n=[];if(this._platformSupportsMouseEvents())n.push(["mouseleave",function(){return t.hide()}],["wheel",function(e){return t._wheelListener(e)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var i=function(){clearTimeout(t._touchstartTimeout),t.hide(t._defaultOptions.touchendHideDelay)};n.push(["touchend",i],["touchcancel",i])}this._addListeners(n),(e=this._passiveListeners).push.apply(e,n)}}},{key:"_addListeners",value:function(e){var t=this;e.forEach(function(e){var n=_slicedToArray(e,2),i=n[0],r=n[1];t._elementRef.nativeElement.addEventListener(i,r,ut)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_wheelListener",value:function(e){if(this._isTooltipVisible()){var t=this._document.elementFromPoint(e.clientX,e.clientY),n=this._elementRef.nativeElement;t===n||n.contains(t)||this.hide()}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var e=this.touchGestures;if("off"!==e){var t=this._elementRef.nativeElement,n=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),"on"!==e&&t.draggable||(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(je.aV),o.Y36(o.SBq),o.Y36(Ze.mF),o.Y36(o.s_b),o.Y36(o.R0b),o.Y36(m.t4),o.Y36(Y.$s),o.Y36(Y.tE),o.Y36(void 0),o.Y36(qe.Is),o.Y36(void 0),o.Y36(P.K0))},e.\u0275dir=o.lG2({type:e,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),e}(),dt=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,a,s,u,l,c,h,f,d){var p;return _classCallCheck(this,n),(p=t.call(this,e,i,r,o,a,s,u,l,c,h,f,d))._tooltipComponent=vt,p}return n}(ft);return e.\u0275fac=function(t){return new(t||e)(o.Y36(je.aV),o.Y36(o.SBq),o.Y36(Ze.mF),o.Y36(o.s_b),o.Y36(o.R0b),o.Y36(m.t4),o.Y36(Y.$s),o.Y36(Y.tE),o.Y36(lt),o.Y36(qe.Is,8),o.Y36(ht,8),o.Y36(P.K0))},e.\u0275dir=o.lG2({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[o.qOj]}),e}(),pt=function(){var e=function(){function e(t){_classCallCheck(this,e),this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new s.xQ}return _createClass(e,[{key:"show",value:function(e){var t=this;clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){t._visibility="visible",t._showTimeoutId=void 0,t._onShow(),t._markForCheck()},e)}},{key:"hide",value:function(e){var t=this;clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(function(){t._visibility="hidden",t._hideTimeoutId=void 0,t._markForCheck()},e)}},{key:"afterHidden",value:function(){return this._onHide}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(e){var t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}},{key:"_onShow",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO))},e.\u0275dir=o.lG2({type:e}),e}(),vt=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e))._breakpointObserver=i,r._isHandset=r._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),r}return n}(pt);return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(C))},e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&o.NdJ("click",function(){return t._handleBodyInteraction()},!1,o.pYS)("auxclick",function(){return t._handleBodyInteraction()},!1,o.pYS),2&e&&o.Udp("zoom","visible"===t._visibility?1:null)},features:[o.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){var n;(1&e&&(o.TgZ(0,"div",0),o.NdJ("@state.start",function(){return t._animationStart()})("@state.done",function(e){return t._animationDone(e)}),o.ALo(1,"async"),o._uU(2),o.qZA()),2&e)&&(o.ekj("mat-tooltip-handset",null==(n=o.lcZ(1,5,t._isHandset))?null:n.matches),o.Q6J("ngClass",t.tooltipClass)("@state",t._visibility),o.xp6(2),o.Oqu(t.message))},directives:[P.mk],pipes:[P.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[st.tooltipState]},changeDetection:0}),e}(),_t=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:[ct],imports:[[Y.rt,P.ez,je.U8,z.BQ],z.BQ,Ze.ZD]}),e}(),mt=n(1095);function gt(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"button",14),o.NdJ("click",function(){var e=o.CHM(n).$implicit;return o.oxw(2).launch(e)}),o.TgZ(1,"div",15),o._UZ(2,"img",9),o._uU(3),o.qZA(),o.qZA()}if(2&e){var i=t.$implicit,r=o.oxw(2);o.xp6(2),o.Q6J("src",r.getTransportIcon(i.id),o.LSH),o.xp6(1),o.hij(" ",i.name," ")}}function yt(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"button",14),o.NdJ("click",function(){return o.CHM(n),o.oxw(2).action("release")}),o.TgZ(1,"i",16),o._uU(2,"delete"),o.qZA(),o.TgZ(3,"uds-translate"),o._uU(4," Release service"),o.qZA(),o.qZA()}}function bt(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"button",14),o.NdJ("click",function(){return o.CHM(n),o.oxw(2).action("reset")}),o.TgZ(1,"i",16),o._uU(2,"refresh"),o.qZA(),o.TgZ(3,"uds-translate"),o._uU(4," Reset service"),o.qZA(),o.qZA()}}function kt(e,t){if(1&e&&(o.TgZ(0,"button",17),o.TgZ(1,"uds-translate"),o._uU(2,"Connections"),o.qZA(),o.qZA()),2&e){o.oxw();var n=o.MAs(2);o.Q6J("matMenuTriggerFor",n)}}function Ct(e,t){if(1&e&&(o.TgZ(0,"button",17),o.TgZ(1,"uds-translate"),o._uU(2,"Actions"),o.qZA(),o.qZA()),2&e){o.oxw();var n=o.MAs(5);o.Q6J("matMenuTriggerFor",n)}}function wt(e,t){if(1&e&&(o.TgZ(0,"button",18),o.TgZ(1,"i",16),o._uU(2,"menu"),o.qZA(),o.qZA()),2&e){o.oxw();var n=o.MAs(9);o.Q6J("matMenuTriggerFor",n)}}function xt(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"div"),o.TgZ(1,"mat-menu",null,1),o.YNc(3,gt,4,2,"button",2),o.qZA(),o.TgZ(4,"mat-menu",null,3),o.YNc(6,yt,5,0,"button",4),o.YNc(7,bt,5,0,"button",4),o.qZA(),o.TgZ(8,"mat-menu",null,5),o.YNc(10,kt,3,1,"button",6),o.YNc(11,Ct,3,1,"button",6),o.qZA(),o.TgZ(12,"div",7),o.TgZ(13,"div",8),o.NdJ("click",function(){return o.CHM(n),o.oxw().launch(null)}),o._UZ(14,"img",9),o.qZA(),o.TgZ(15,"div",10),o.TgZ(16,"span",11),o._uU(17),o.qZA(),o.qZA(),o.TgZ(18,"div",12),o.YNc(19,wt,3,1,"button",13),o.qZA(),o.qZA(),o.qZA()}if(2&e){var i=o.oxw();o.xp6(3),o.Q6J("ngForOf",i.service.transports),o.xp6(3),o.Q6J("ngIf",i.service.allow_users_remove),o.xp6(1),o.Q6J("ngIf",i.service.allow_users_reset),o.xp6(3),o.Q6J("ngIf",i.showTransportsMenu()),o.xp6(1),o.Q6J("ngIf",i.hasActions()),o.xp6(1),o.Q6J("ngClass",i.serviceClass)("matTooltipDisabled",""===i.serviceTooltip)("matTooltip",i.serviceTooltip),o.xp6(2),o.Q6J("src",i.serviceImage,o.LSH),o.xp6(2),o.Q6J("ngClass",i.serviceNameClass),o.xp6(1),o.Oqu(i.serviceName),o.xp6(2),o.Q6J("ngIf",i.hasMenu())}}var Et=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"serviceImage",get:function(){return this.api.galleryImageURL(this.service.imageId)}},{key:"serviceName",get:function(){var e=this.service.visual_name;return e.length>32&&(e=e.substring(0,29)+"..."),e}},{key:"serviceTooltip",get:function(){return null!==this.service.to_be_replaced?this.service.to_be_replaced_text:this.service.maintenance?django.gettext("Service is in maintenance"):this.service.not_accesible?this.service.custom_calendar_text:this.serviceName!==this.service.name?this.service.name:""}},{key:"serviceClass",get:function(){var e=["service"];return null!=this.service.to_be_replaced?e.push("tobereplaced"):this.service.maintenance?e.push("maintenance"):this.service.not_accesible?e.push("forbidden"):this.service.in_use&&e.push("inuse"),e.length>1&&e.push("alert"),e}},{key:"serviceNameClass",get:function(){var e=[],t=Math.min(4*Math.floor((this.service.visual_name.length-1)/4),28);return t>=16&&e.push("small-"+t.toString()),e}},{key:"getTransportIcon",value:function(e){return this.api.transportIconURL(e)}},{key:"hasActions",value:function(){return this.service.allow_users_remove||this.service.allow_users_reset}},{key:"showTransportsMenu",value:function(){return this.service.transports.length>1&&this.service.show_transports}},{key:"hasMenu",value:function(){return!1===this.service.maintenance&&!1===this.service.not_accesible&&(this.hasActions()||this.showTransportsMenu())}},{key:"notifyNotLaunching",value:function(e){this.api.gui.alert('

'+django.gettext("Launcher")+"

",e)}},{key:"launch",value:function(e){if(this.service.maintenance)this.notifyNotLaunching(django.gettext("Service is in maintenance and cannot be launched"));else if(this.service.not_accesible){var t=this.service.custom_calendar_text||this.api.config.messages.calendarDenied;this.notifyNotLaunching('

'+django.gettext("This service is currently not accesible due to schedule restrictions.")+'

'+t+'

')}else null!==e&&!1!==this.service.show_transports||(e=this.service.transports[0]),this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(e.link)}},{key:"action",value:function(e){var t=this,n=("release"===e?django.gettext("Release service: "):django.gettext("Reset service: "))+" "+this.serviceName,i="release"===e?django.gettext("Service released"):django.gettext("Service reseted");this.api.gui.yesno(n,django.gettext("Are you sure?")).subscribe(function(r){r&&t.api.action(e,t.service.id).subscribe(function(e){e&&t.api.gui.alert(n,i)})})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(S.n))},e.\u0275cmp=o.Xpm({type:e,selectors:[["uds-service"]],inputs:{service:"service"},decls:1,vars:1,consts:[[4,"ngIf"],["transports",""],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["actions",""],["mat-menu-item","",3,"click",4,"ngIf"],["menu",""],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["matTooltipShowDelay","1000","matTooltipPosition","above",3,"ngClass","matTooltipDisabled","matTooltip"],[1,"icon",3,"click"],[3,"src"],[1,"name"],[3,"ngClass"],[1,"menu"],["mat-icon-button","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"transport-item"],[1,"material-icons"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-icon-button","",3,"matMenuTriggerFor"]],template:function(e,t){1&e&&o.YNc(0,xt,20,12,"div",0),2&e&&o.Q6J("ngIf",t.service.transports.length>0)},directives:[P.O5,et,P.sg,P.mk,dt,Qe,T.P,rt,mt.lW],styles:['.service[_ngcontent-%COMP%]{width:10rem;margin:0 1rem 2rem 0;padding:.5rem 0 1rem;box-shadow:0 12px 18px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-color:rgb(0,0,0,.22);display:flex;flex:1;align-items:center;justify-content:flex-start;flex-flow:column wrap;position:relative}.service[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.icon[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:center;transition:all .3s cubic-bezier(.25,.8,.25,1);width:6rem;height:6rem;margin:.5rem}.service[_ngcontent-%COMP%]:not(.forbidden):not(.maintenance):hover .icon[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.25,.8,.25,1);width:7rem;height:7rem;margin:0}.icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden}.forbidden[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .maintenance[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.5;z-index:10}.tobereplaced[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.7;z-index:10}.name[_ngcontent-%COMP%]{margin-top:.5em;width:calc(100% - 1em);display:flex;flex:1 0 auto;flex-flow:row;align-items:center;justify-content:center;padding:0 .5em;overflow:hidden;height:2.4em;text-align:center}.name[_ngcontent-%COMP%], .small-16[_ngcontent-%COMP%]{font-size:1.05rem}.small-20[_ngcontent-%COMP%]{font-size:1rem}.small-24[_ngcontent-%COMP%]{font-size:.95rem}.small-28[_ngcontent-%COMP%]{font-size:.9rem}.menu[_ngcontent-%COMP%]{position:absolute;top:2px;right:2px}.menu[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{cursor:pointer;border-radius:1px;background-color:hsla(0,0%,100%,.8)}.menu[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1)}.transport-item[_ngcontent-%COMP%]{display:flex;align-items:center}.transport-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2em;margin-right:.4em}.alert[_ngcontent-%COMP%]:before{position:absolute;top:1rem;left:1rem;font-size:8rem;font-weight:500;font-family:Material Icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:"liga";text-shadow:0 6px 8px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);z-index:1}.forbidden[_ngcontent-%COMP%]:before{color:#fc0000;content:"update"}.maintenance[_ngcontent-%COMP%]:before{color:#fcb900;content:"build"}.tobereplaced[_ngcontent-%COMP%]:before{color:#fc0000;content:"delete_forever"}']}),e}();function St(e,t){1&e&&o._UZ(0,"uds-service",8),2&e&&o.Q6J("service",t.$implicit)}function Ot(e,t){if(1&e&&(o.TgZ(0,"mat-expansion-panel",1),o.TgZ(1,"mat-expansion-panel-header",2),o.TgZ(2,"mat-panel-title"),o.TgZ(3,"div",3),o._UZ(4,"img",4),o._uU(5),o.qZA(),o.qZA(),o.TgZ(6,"mat-panel-description",5),o._uU(7),o.qZA(),o.qZA(),o.TgZ(8,"div",6),o.YNc(9,St,1,1,"uds-service",7),o.qZA(),o.qZA()),2&e){var n=o.oxw();o.Q6J("expanded",n.expanded),o.xp6(1),o.Q6J("collapsedHeight","3rem")("expandedHeight","5rem"),o.xp6(3),o.Q6J("src",n.groupImage,o.LSH),o.xp6(1),o.hij(" ",n.group.name,""),o.xp6(2),o.hij(" ",n.group.comments," "),o.xp6(2),o.Q6J("ngForOf",n.sortedServices)}}var At=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t,this.expanded=!1}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"groupImage",get:function(){return this.api.galleryImageURL(this.group.imageUuid)}},{key:"hasVisibleServices",get:function(){return this.services.length>0}},{key:"sortedServices",get:function(){return this.services.sort(function(e,t){return e.name>t.name?1:e.name0&&void 0!==arguments[0]?arguments[0]:"";this.group=[];var n=null;this.servicesInformation.services.filter(function(e){return!t||e.visual_name.toLowerCase().includes(t)||e.group.name.toLowerCase().includes(t)}).sort(function(e,t){return e.group.priority!==t.group.priority?e.group.priority-t.group.priority:e.group.id>t.group.id?1:e.group.id=t.api.config.min_for_filter&&t.api.config.site_filter_on_top),o.xp6(3),o.Q6J("ngForOf",t.group),o.xp6(1),o.Q6J("ngIf",t.servicesInformation.services.length>=t.api.config.min_for_filter&&!t.api.config.site_filter_on_top))},directives:[P.O5,me,P.sg,we,Te,At],styles:[".services-groups[_ngcontent-%COMP%]{padding-top:1rem}"]}),Lt),canActivate:[O]},{path:"login",component:A.G},{path:"login/:id",component:A.G},{path:"client-download",component:R},{path:"downloads",component:L,canActivate:[O]},{path:"error/:id",component:(Mt=function(){function e(t){_classCallCheck(this,e),this.route=t,this.error=""}return _createClass(e,[{key:"ngOnInit",value:function(){this.getError()}},{key:"getError",value:function(){var e=this.route.snapshot.paramMap.get("id");try{this.error=(new TextDecoder).decode(Uint8Array.from(window.atob(e),function(e){return e.charCodeAt(e)})).replace("\n","
"),console.log(this.error),udsData.error=this.error}catch(t){console.log(t),this.error=django.gettext("Invalid error string")}}}]),e}(),Mt.\u0275fac=function(e){return new(e||Mt)(o.Y36(E.gz))},Mt.\u0275cmp=o.Xpm({type:Mt,selectors:[["uds-error"]],decls:14,vars:3,consts:[[1,"error-container"],[1,"graph"],["viewBox","0 0 55 41","xmlns","http://www.w3.org/2000/svg",1,"bird"],["d","M35.5 5L54.7.6H32.3L35.5 5zM12.4 40.8l10.3-10.1-6.2-6.7-4.1 16.8zM33.8 5.3L30.5.8l-5.4 4 8.7.5zM20.8 4.6L8.8 0l1.9 4.1 10.1.5zM0 5l15.2 15.4 7.5-14.2L0 5zM34.2 6.8l-9.9-.5-8 15.2 7.4 8.1 8-7.9 2.5-14.9z"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 32 32",1,"gears"],["d","M29.18 19.07c-1.678-2.908-.668-6.634 2.256-8.328L28.29 5.295c-.897.527-1.942.83-3.057.83-3.36 0-6.085-2.743-6.085-6.126h-6.29c.01 1.043-.25 2.102-.81 3.07-1.68 2.907-5.41 3.896-8.34 2.21L.566 10.727c.905.515 1.69 1.268 2.246 2.234 1.677 2.904.673 6.624-2.24 8.32l3.145 5.447c.895-.522 1.935-.82 3.044-.82 3.35 0 6.066 2.725 6.083 6.092h6.29c-.004-1.035.258-2.08.81-3.04 1.676-2.902 5.4-3.893 8.325-2.218l3.145-5.447c-.9-.515-1.678-1.266-2.232-2.226zM16 22.48c-3.578 0-6.48-2.902-6.48-6.48S12.423 9.52 16 9.52c3.578 0 6.48 2.902 6.48 6.48s-2.902 6.48-6.48 6.48z"],[1,"title"],[1,"description",3,"innerHTML"],["mat-raised-button","","color","warn","routerLink","/"]],template:function(e,t){1&e&&(o.TgZ(0,"div",0),o.TgZ(1,"div",1),o.O4$(),o.TgZ(2,"svg",2),o._UZ(3,"path",3),o.qZA(),o.TgZ(4,"svg",4),o._UZ(5,"path",5),o.qZA(),o.qZA(),o.kcU(),o.TgZ(6,"h1",6),o.TgZ(7,"uds-translate"),o._uU(8,"An error has occurred"),o.qZA(),o.qZA(),o._UZ(9,"p",7),o.ALo(10,"safeHtml"),o.TgZ(11,"a",8),o.TgZ(12,"uds-translate"),o._uU(13,"Return"),o.qZA(),o.qZA(),o.qZA()),2&e&&(o.xp6(9),o.Q6J("innerHTML",o.lcZ(10,1,t.error),o.oJD))},directives:[T.P,mt.zs,E.yS],pipes:[D.z],styles:[".error-container[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;position:relative}.title[_ngcontent-%COMP%]{display:block;font-size:2rem;font-weight:lighter;text-align:center}.description[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:lighter}.graph[_ngcontent-%COMP%]{position:relative}.gears[_ngcontent-%COMP%]{width:10rem;height:10rem;fill:#6aafe6;transition:easeInOutQuint();-webkit-animation:CogAnimation 5s infinite;animation:CogAnimation 5s infinite}.bird[_ngcontent-%COMP%]{position:absolute;width:3rem;height:3rem;fill:#30a9de;left:50%;top:50%;transform:translate(-50%,-50%)}@-webkit-keyframes CogAnimation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes CogAnimation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}"]}),Mt)},{path:"about",component:(Dt=function(){function e(t){_classCallCheck(this,e),this.api=t}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}(),Dt.\u0275fac=function(e){return new(e||Dt)(o.Y36(S.n))},Dt.\u0275cmp=o.Xpm({type:Dt,selectors:[["uds-about"]],decls:45,vars:2,consts:[[1,"about"],["href","http://www.udsenterprise.com","target","_blank"],["href","https://github.com/dkmstr/openuds","target","_blank"],[1,"components"],["href","https://www.python.org/"],["href","https://www.typescriptlang.org/","target","_blank"],["href","https://www.djangoproject.com/","target","_blank"],["href","https://angular.io","target","_blank"],["href","https://guac-dev.org/","target","_blank"],["href","https://weasyprint.org/","target","_blank"],["href","https://kde-look.org/content/show.php/Crystal+Project?content=60475)","target","_blank"],["href","https://github.com/NitruxSA/flattr-icons","target","_blank"]],template:function(e,t){1&e&&(o.TgZ(0,"div",0),o.TgZ(1,"h1"),o._uU(2),o.qZA(),o.TgZ(3,"h3"),o.TgZ(4,"a",1),o._uU(5," \xa9 2012-2020 Virtual Cable S.L.U."),o.qZA(),o.qZA(),o.TgZ(6,"h4"),o.TgZ(7,"uds-translate"),o._uU(8,"You can access UDS Open Source code at"),o.qZA(),o.TgZ(9,"a",2),o._uU(10," OpenUDS github repository"),o.qZA(),o.qZA(),o.TgZ(11,"div",3),o.TgZ(12,"h2"),o.TgZ(13,"uds-translate"),o._uU(14,"UDS has been developed using these components:"),o.qZA(),o.qZA(),o.TgZ(15,"ul"),o.TgZ(16,"li"),o.TgZ(17,"a",4),o._uU(18,"Python"),o.qZA(),o.qZA(),o.TgZ(19,"li"),o.TgZ(20,"a",5),o._uU(21,"TypeScript"),o.qZA(),o.qZA(),o.TgZ(22,"li"),o.TgZ(23,"a",6),o._uU(24,"Django"),o.qZA(),o.qZA(),o.TgZ(25,"li"),o.TgZ(26,"a",7),o._uU(27,"Angular"),o.qZA(),o.qZA(),o.TgZ(28,"li"),o.TgZ(29,"a",8),o._uU(30,"Guacamole"),o.qZA(),o.qZA(),o.TgZ(31,"li"),o.TgZ(32,"a",9),o._uU(33,"weasyprint"),o.qZA(),o.qZA(),o.TgZ(34,"li"),o.TgZ(35,"a",10),o._uU(36,"Crystal project icons"),o.qZA(),o.qZA(),o.TgZ(37,"li"),o.TgZ(38,"a",11),o._uU(39,"Flattr Icons"),o.qZA(),o.qZA(),o.qZA(),o.TgZ(40,"p"),o.TgZ(41,"small"),o._uU(42,"* "),o.TgZ(43,"uds-translate"),o._uU(44,"If you find that we missed any component, please let us know"),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.qZA()),2&e&&(o.xp6(2),o.AsE("Universal Desktop Services ",t.api.config.version," build ",t.api.config.version_stamp,""))},directives:[T.P],styles:["[_nghost-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center}.about[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center}.about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-size:1em;font-weight:400}.about[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{padding:0;list-style:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none;color:#000;background-color:#fff;line-height:30px;border-bottom:1px solid #ccc;padding-left:10px;cursor:pointer}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#3e6b2d}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px}"]}),Dt)},{path:"ticket/launcher",component:(Rt=function(){function e(t){_classCallCheck(this,e),this.api=t}return _createClass(e,[{key:"ngOnInit",value:function(){""!==this.api.config.urls.launch&&this.api.launchURL(this.api.config.urls.launch)}}]),e}(),Rt.\u0275fac=function(e){return new(e||Rt)(o.Y36(S.n))},Rt.\u0275cmp=o.Xpm({type:Rt,selectors:[["uds-launcher"]],decls:24,vars:0,consts:[[1,"launcher"],[1,"launcher-box"],["routerLink","/client-download"]],template:function(e,t){1&e&&(o.TgZ(0,"div",0),o.TgZ(1,"div",1),o.TgZ(2,"h1"),o.TgZ(3,"uds-translate"),o._uU(4,"UDS Service launcher"),o.qZA(),o.qZA(),o.TgZ(5,"h4"),o.TgZ(6,"uds-translate"),o._uU(7,"The service you have requested is being launched."),o.qZA(),o.qZA(),o.TgZ(8,"h5"),o.TgZ(9,"uds-translate"),o._uU(10,"Please, note that reloading this page will not work."),o.qZA(),o.qZA(),o.TgZ(11,"h5"),o.TgZ(12,"uds-translate"),o._uU(13,"To relaunch service, you will have to do it from origin."),o.qZA(),o.qZA(),o.TgZ(14,"h6"),o.TgZ(15,"uds-translate"),o._uU(16,"If the service does not launchs automatically, probably you dont have the UDS Client installed"),o.qZA(),o.qZA(),o.TgZ(17,"h6"),o.TgZ(18,"uds-translate"),o._uU(19,"You can obtain it from the"),o.qZA(),o._uU(20,"\xa0"),o.TgZ(21,"a",2),o.TgZ(22,"uds-translate"),o._uU(23,"UDS Client download page"),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.qZA())},directives:[T.P,E.yS],styles:[".launcher[_ngcontent-%COMP%]{justify-content:center;display:flex;margin-top:1rem;font-size:larger}.launcher-box[_ngcontent-%COMP%]{box-shadow:0 12px 18px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-radius:.5rem;border-color:rgb(0,0,0,.22);padding:1rem}.launcher-box[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{text-align:center}.launcher-box[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{margin-top:.6rem;margin-bottom:.6rem;font-weight:400}"]}),Rt)},{path:"**",redirectTo:"services"}],Bt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({imports:[[E.Bz.forRoot(Nt,{relativeLinkResolution:"legacy"})],E.Bz]}),e}(),Ut=n(665),jt=n(8553),Zt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({}),e}(),qt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({imports:[[z.si,z.BQ,jt.Q8,Zt],z.BQ,Zt]}),e}(),Vt=n(2238),Ht=n(7441),zt=["*",[["mat-toolbar-row"]]],Yt=["*","mat-toolbar-row"],Gt=(0,z.pj)(function(){return function e(t){_classCallCheck(this,e),this._elementRef=t}}()),Kt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),e}(),Wt=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e))._platform=i,o._document=r,o}return _createClass(n,[{key:"ngAfterViewInit",value:function(){var e=this;this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(function(){return e._checkToolbarMixedModes()}))}},{key:"_checkToolbarMixedModes",value:function(){}}]),n}(Gt);return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.SBq),o.Y36(m.t4),o.Y36(P.K0))},e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-toolbar"]],contentQueries:function(e,t,n){var i;(1&e&&o.Suo(n,Kt,5),2&e)&&(o.iGM(i=o.CRH())&&(t._toolbarRows=i))},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&o.ekj("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[o.qOj],ngContentSelectors:Yt,decls:2,vars:0,template:function(e,t){1&e&&(o.F$t(zt),o.Hsn(0),o.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),e}(),Qt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({imports:[[z.BQ],z.BQ]}),e}(),Jt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:[{provide:Se.o2,useValue:{floatLabel:"always"}}],imports:[Ut.u5,Qt,mt.ot,at,_t,ge,Vt.Is,Se.lN,Oe.c,Ht.LD,qt]}),e}();function Xt(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"button",9),o.NdJ("click",function(){var e=o.CHM(n).$implicit;return o.oxw(2).changeLang(e)}),o._uU(1),o.qZA()}if(2&e){var i=t.$implicit;o.xp6(1),o.Oqu(i.name)}}function $t(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"button",9),o.NdJ("click",function(){return o.CHM(n),o.oxw(2).admin()}),o.TgZ(1,"i",23),o._uU(2,"dashboard"),o.qZA(),o.TgZ(3,"uds-translate"),o._uU(4,"Dashboard"),o.qZA(),o.qZA()}}function en(e,t){1&e&&(o.TgZ(0,"button",28),o.TgZ(1,"i",23),o._uU(2,"file_download"),o.qZA(),o.TgZ(3,"uds-translate"),o._uU(4,"Downloads"),o.qZA(),o.qZA())}function tn(e,t){if(1&e&&(o.TgZ(0,"button",14),o._uU(1),o.qZA()),2&e){o.oxw();var n=o.MAs(8),i=o.oxw();o.Q6J("matMenuTriggerFor",n),o.xp6(1),o.Oqu(i.api.user.user)}}function nn(e,t){if(1&e&&(o.TgZ(0,"button",25),o._uU(1),o.TgZ(2,"i",23),o._uU(3,"arrow_drop_down"),o.qZA(),o.qZA()),2&e){o.oxw();var n=o.MAs(8),i=o.oxw();o.Q6J("matMenuTriggerFor",n),o.xp6(1),o.hij("",i.api.user.user," ")}}function rn(e,t){if(1&e){var n=o.EpF();o.ynx(0),o.TgZ(1,"form",1),o._UZ(2,"input",2),o._UZ(3,"input",3),o.qZA(),o.TgZ(4,"mat-menu",null,4),o.YNc(6,Xt,2,1,"button",5),o.qZA(),o.TgZ(7,"mat-menu",null,6),o.YNc(9,$t,5,0,"button",7),o.YNc(10,en,5,0,"button",8),o.TgZ(11,"button",9),o.NdJ("click",function(){return o.CHM(n),o.oxw().logout()}),o.TgZ(12,"i",10),o._uU(13,"exit_to_app"),o.qZA(),o.TgZ(14,"uds-translate"),o._uU(15,"Logout"),o.qZA(),o.qZA(),o.qZA(),o.TgZ(16,"mat-menu",11,12),o.YNc(18,tn,2,2,"button",13),o.TgZ(19,"button",14),o._uU(20),o.qZA(),o.TgZ(21,"button",15),o.TgZ(22,"uds-translate"),o._uU(23,"UDS Client"),o.qZA(),o.qZA(),o.TgZ(24,"button",16),o.TgZ(25,"uds-translate"),o._uU(26,"About"),o.qZA(),o.qZA(),o.qZA(),o.TgZ(27,"mat-toolbar",17),o.TgZ(28,"button",18),o._UZ(29,"img",19),o._uU(30),o.qZA(),o._UZ(31,"span",20),o.TgZ(32,"div",21),o.TgZ(33,"button",22),o.TgZ(34,"i",23),o._uU(35,"file_download"),o.qZA(),o.TgZ(36,"uds-translate"),o._uU(37,"UDS Client"),o.qZA(),o.qZA(),o.TgZ(38,"button",24),o.TgZ(39,"i",23),o._uU(40,"info"),o.qZA(),o.TgZ(41,"uds-translate"),o._uU(42,"About"),o.qZA(),o.qZA(),o.TgZ(43,"button",25),o._uU(44),o.TgZ(45,"i",23),o._uU(46,"arrow_drop_down"),o.qZA(),o.qZA(),o.YNc(47,nn,4,2,"button",26),o.qZA(),o.TgZ(48,"div",27),o.TgZ(49,"button",25),o.TgZ(50,"i",23),o._uU(51,"menu"),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.BQk()}if(2&e){var i=o.MAs(5),r=o.MAs(17),a=o.oxw();o.xp6(1),o.s9C("action",a.api.config.urls.changeLang,o.LSH),o.xp6(1),o.s9C("name",a.api.config.csrf_field),o.s9C("value",a.api.config.csrf),o.xp6(1),o.s9C("value",a.lang.id),o.xp6(3),o.Q6J("ngForOf",a.langs),o.xp6(3),o.Q6J("ngIf",a.api.user.isStaff),o.xp6(1),o.Q6J("ngIf",a.api.user.isStaff),o.xp6(8),o.Q6J("ngIf",a.api.user.isLogged),o.xp6(1),o.Q6J("matMenuTriggerFor",i),o.xp6(1),o.hij("",a.lang.name," "),o.xp6(9),o.Q6J("src",a.api.staticURL("modern/img/udsicon.png"),o.LSH),o.xp6(1),o.hij(" ",a.api.config.site_logo_name," "),o.xp6(13),o.Q6J("matMenuTriggerFor",i),o.xp6(1),o.hij("",a.lang.name," "),o.xp6(3),o.Q6J("ngIf",a.api.user.isLogged),o.xp6(2),o.Q6J("matMenuTriggerFor",r)}}var on=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t,this.style="";var n=t.config.language;this.langs=[];var i,r=_createForOfIteratorHelper(t.config.available_languages);try{for(r.s();!(i=r.n()).done;){var o=i.value;o.id===n?this.lang=o:this.langs.push(o)}}catch(a){r.e(a)}finally{r.f()}}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"changeLang",value:function(e){return this.lang=e,document.getElementById("id_language").attributes.value.value=e.id,document.getElementById("form_language").submit(),!1}},{key:"admin",value:function(){this.api.gotoAdmin()}},{key:"logout",value:function(){this.api.logout()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(S.n))},e.\u0275cmp=o.Xpm({type:e,selectors:[["uds-navbar"]],decls:1,vars:1,consts:[[4,"ngIf"],["id","form_language","method","post",3,"action"],["type","hidden",3,"name","value"],["id","id_language","type","hidden","name","language",3,"value"],["appMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["userMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","","routerLink","/downloads",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"material-icons","highlight"],["x-position","before"],["shrink","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","","routerLink","/client-download"],["mat-menu-item","","routerLink","/about"],["color","primary",1,"uds-nav"],["mat-button","","routerLink","/"],["alt","Universal Desktop Services",1,"udsicon",3,"src"],[1,"fill-remaining-space"],[1,"expanded"],["mat-button","","routerLink","/client-download"],[1,"material-icons"],["mat-button","","routerLink","/about"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[1,"shrinked"],["mat-menu-item","","routerLink","/downloads"]],template:function(e,t){1&e&&o.YNc(0,rn,52,16,"ng-container",0),2&e&&o.Q6J("ngIf",""==t.api.config.urls.launch)},directives:[P.O5,Ut._Y,Ut.JL,Ut.F,et,P.sg,Qe,T.P,rt,E.rH,Wt,mt.lW],styles:[".uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.udsicon[_ngcontent-%COMP%]{width:2rem}@media only screen and (max-width:744px){.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width:745px){.expanded[_ngcontent-%COMP%]{visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}}"]}),e}(),an=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(S.n))},e.\u0275cmp=o.Xpm({type:e,selectors:[["uds-footer"]],decls:3,vars:2,consts:[[3,"href"]],template:function(e,t){1&e&&(o.TgZ(0,"div"),o.TgZ(1,"a",0),o._uU(2),o.qZA(),o.qZA()),2&e&&(o.xp6(1),o.Q6J("href",t.api.config.site_copyright_link,o.LSH),o.xp6(1),o.Oqu(t.api.config.site_copyright_info))},styles:[""]}),e}(),sn=function(){var e=function(){function e(){_classCallCheck(this,e),this.title="uds"}return _createClass(e,[{key:"ngOnInit",value:function(){cookieconsent.initialise({palette:{popup:{background:"#343c66",text:"#cfcfe8"},button:{background:"#f71559"}},content:{message:django.gettext("We use cookies to track usage and preferences"),dismiss:django.gettext("I Understand"),link:django.gettext("Learn more")}})}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Xpm({type:e,selectors:[["uds-root"]],decls:6,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(e,t){1&e&&(o._UZ(0,"uds-navbar"),o.TgZ(1,"div",0),o.TgZ(2,"div",1),o._UZ(3,"router-outlet"),o.qZA(),o.TgZ(4,"div",2),o._UZ(5,"uds-footer"),o.qZA(),o.qZA())},directives:[on,E.lC,an],styles:[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:80%;margin:64px auto 0}@media only screen and (max-width:744px){.content[_ngcontent-%COMP%]{width:100%}}"]}),e}(),un=n(3183),ln=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e,bootstrap:[sn]}),e.\u0275inj=o.cJS({providers:[S.n,un.h],imports:[[r.b2,g,x.JF,Bt,Q.PW,Jt]]}),e}();n(2340).N.production&&(0,o.G48)(),r.q6().bootstrapModule(ln).catch(function(e){return console.log(e)})}},function(e){"use strict";e(e.s=1479)}])})(); \ No newline at end of file +(function(){function _wrapNativeSuper(e){var t="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function(e){if(null===e||!_isNativeFunction(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return _construct(e,arguments,_getPrototypeOf(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(n,e)})(e)}function _construct(e,t,n){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function(e,t,n){var i=[null];i.push.apply(i,t);var r=new(Function.bind.apply(e,i));return n&&_setPrototypeOf(r,n.prototype),r}).apply(null,arguments)}function _isNativeFunction(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _createForOfIteratorHelper(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function l(e){return{type:6,styles:e,offset:null}}function c(e,t,n){return{type:0,name:e,styles:t,options:n}}function h(e){return{type:5,steps:e}}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:e}}function p(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:e,animation:t,options:n}}function v(e){Promise.resolve(null).then(e)}var _=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var e=this;v(function(){return e._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(e){this._position=this.totalTime?e*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),m=function(){function e(t){var n=this;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var i=0,r=0,o=0,a=this.players.length;0==a?v(function(){return n._onFinish()}):this.players.forEach(function(e){e.onDone(function(){++i==a&&n._onFinish()}),e.onDestroy(function(){++r==a&&n._onDestroy()}),e.onStart(function(){++o==a&&n._onStart()})}),this.totalTime=this.players.reduce(function(e,t){return Math.max(e,t.totalTime)},0)}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(e){return e.init()})}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(e){return e.play()})}},{key:"pause",value:function(){this.players.forEach(function(e){return e.pause()})}},{key:"restart",value:function(){this.players.forEach(function(e){return e.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(e){return e.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(e){return e.destroy()}),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(e){return e.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var t=e*this.totalTime;this.players.forEach(function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}},{key:"getPosition",value:function(){var e=this.players.reduce(function(e,t){return null===e||t.totalTime>e.totalTime?t:e},null);return null!=e?e.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(e){e.beforeDestroy&&e.beforeDestroy()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),g="!"},9238:function(e,t,n){"use strict";n.d(t,{rt:function(){return Q},s1:function(){return T},$s:function(){return E},Em:function(){return P},tE:function(){return K},qV:function(){return L},qm:function(){return W},Kd:function(){return z},X6:function(){return F},yG:function(){return N}});var i=n(8583),r=n(3018),o=n(9765),a=n(5319),s=n(6215),u=n(5917),l=n(6461),c=n(3342),h=n(4395),f=n(5435),d=n(8002),p=n(5257),v=n(3653),_=n(7519),m=n(6782),g=n(9490),y=n(521),b=n(8553);function k(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}var C=0,w=new Map,x=null,E=function(){var e=function(){function e(t){_classCallCheck(this,e),this._document=t}return _createClass(e,[{key:"describe",value:function(e,t,n){if(this._canBeDescribed(e,t)){var i=S(t,n);"string"!=typeof t?(O(t),w.set(i,{messageElement:t,referenceCount:0})):w.has(i)||this._createMessageElement(t,n),this._isElementDescribedByMessage(e,i)||this._addMessageReference(e,i)}}},{key:"removeDescription",value:function(e,t,n){if(t&&this._isElementNode(e)){var i=S(t,n);if(this._isElementDescribedByMessage(e,i)&&this._removeMessageReference(e,i),"string"==typeof t){var r=w.get(i);r&&0===r.referenceCount&&this._deleteMessageElement(i)}x&&0===x.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var e=this._document.querySelectorAll("[cdk-describedby-host]"),t=0;t-1&&t!==n._activeItemIndex&&(n._activeItemIndex=t)}})}return _createClass(e,[{key:"skipPredicate",value:function(e){return this._skipPredicateFn=e,this}},{key:"withWrap",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=e,this}},{key:"withVerticalOrientation",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=e,this}},{key:"withHorizontalOrientation",value:function(e){return this._horizontal=e,this}},{key:"withAllowedModifierKeys",value:function(e){return this._allowedModifierKeys=e,this}},{key:"withTypeAhead",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,c.b)(function(t){return e._pressedLetters.push(t)}),(0,h.b)(t),(0,f.h)(function(){return e._pressedLetters.length>0}),(0,d.U)(function(){return e._pressedLetters.join("")})).subscribe(function(t){for(var n=e._getItemsArray(),i=1;i0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=e,this}},{key:"setActiveItem",value:function(e){var t=this._activeItem;this.updateActiveItem(e),this._activeItem!==t&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(e){var t=this,n=e.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(function(n){return!e[n]||t._allowedModifierKeys.indexOf(n)>-1});switch(n){case l.Mf:return void this.tabOut.next();case l.JH:if(this._vertical&&i){this.setNextItemActive();break}return;case l.LH:if(this._vertical&&i){this.setPreviousItemActive();break}return;case l.SV:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case l.oh:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case l.Sd:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case l.uR:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;default:return void((i||(0,l.Vb)(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=l.A&&n<=l.Z||n>=l.xE&&n<=l.aO)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],e.preventDefault()}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),i=t[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}},{key:"_setActiveItemByDelta",value:function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}},{key:"_setActiveInWrapMode",value:function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var i=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[i]))return void this.setActiveItem(i)}}},{key:"_setActiveInDefaultMode",value:function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}},{key:"_setActiveItemByIndex",value:function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}},{key:"_getItemsArray",value:function(){return this._items instanceof r.n_E?this._items.toArray():this._items}}]),e}(),T=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"setActiveItem",value:function(e){this.activeItem&&this.activeItem.setInactiveStyles(),_get(_getPrototypeOf(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.setActiveStyles()}}]),n}(A),P=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._origin="program",e}return _createClass(n,[{key:"setFocusOrigin",value:function(e){return this._origin=e,this}},{key:"setActiveItem",value:function(e){_get(_getPrototypeOf(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.focus(this._origin)}}]),n}(A),I=function(){var e=function(){function e(t){_classCallCheck(this,e),this._platform=t}return _createClass(e,[{key:"isDisabled",value:function(e){return e.hasAttribute("disabled")}},{key:"isVisible",value:function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}},{key:"isTabbable",value:function(e){if(!this._platform.isBrowser)return!1;var t,n=function(e){try{return e.frameElement}catch(t){return null}}((t=e).ownerDocument&&t.ownerDocument.defaultView||window);if(n){if(-1===D(n))return!1;if(!this.isVisible(n))return!1}var i=e.nodeName.toLowerCase(),r=D(e);return e.hasAttribute("contenteditable")?-1!==r:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){var t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&("audio"===i?!!e.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}},{key:"isFocusable",value:function(e,t){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||R(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(y.t4))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(y.t4))},token:e,providedIn:"root"}),e}();function R(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function D(e){if(!R(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var M=function(){function e(t,n,i,r){var o=this,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];_classCallCheck(this,e),this._element=t,this._checker=n,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,a||this.attachAnchors()}return _createClass(e,[{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"destroy",value:function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.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)}},{key:"focusInitialElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusInitialElement(e))})})}},{key:"focusFirstTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusFirstTabbableElement(e))})})}},{key:"focusLastTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusLastTabbableElement(e))})})}},{key:"_getRegionBoundary",value:function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], [cdkFocusRegion").concat(e,"], [cdk-focus-").concat(e,"]")),n=0;n=0;n--){var i=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(i)return i}return null}},{key:"_createAnchor",value:function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}},{key:"_toggleAnchorTabIndex",value:function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"_executeOnStable",value:function(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe((0,p.q)(1)).subscribe(e)}}]),e}(),L=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._checker=t,this._ngZone=n,this._document=i}return _createClass(e,[{key:"create",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new M(e,this._checker,this._ngZone,this._document,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(I),r.LFG(r.R0b),r.LFG(i.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(I),r.LFG(r.R0b),r.LFG(i.K0))},token:e,providedIn:"root"}),e}();function F(e){return 0===e.buttons}function N(e){var t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}"undefined"!=typeof Element&∈var B=new r.OlP("cdk-input-modality-detector-options"),U={ignoreKeys:[l.zL,l.jx,l.b2,l.MW,l.JU]},j=(0,y.i$)({passive:!0,capture:!0}),Z=function(){var e=function(){function e(t,n,i,r){var o=this;_classCallCheck(this,e),this._platform=t,this._mostRecentTarget=null,this._modality=new s.X(null),this._lastTouchMs=0,this._onKeydown=function(e){var t,n;(null===(n=null===(t=o._options)||void 0===t?void 0:t.ignoreKeys)||void 0===n?void 0:n.some(function(t){return t===e.keyCode}))||(o._modality.next("keyboard"),o._mostRecentTarget=q(e))},this._onMousedown=function(e){Date.now()-o._lastTouchMs<650||(o._modality.next(F(e)?"keyboard":"mouse"),o._mostRecentTarget=q(e))},this._onTouchstart=function(e){N(e)?o._modality.next("keyboard"):(o._lastTouchMs=Date.now(),o._modality.next("touch"),o._mostRecentTarget=q(e))},this._options=Object.assign(Object.assign({},U),r),this.modalityDetected=this._modality.pipe((0,v.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,_.x)()),t.isBrowser&&n.runOutsideAngular(function(){i.addEventListener("keydown",o._onKeydown,j),i.addEventListener("mousedown",o._onMousedown,j),i.addEventListener("touchstart",o._onTouchstart,j)})}return _createClass(e,[{key:"mostRecentModality",get:function(){return this._modality.value}},{key:"ngOnDestroy",value:function(){this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,j),document.removeEventListener("mousedown",this._onMousedown,j),document.removeEventListener("touchstart",this._onTouchstart,j))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(y.t4),r.LFG(r.R0b),r.LFG(i.K0),r.LFG(B,8))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(y.t4),r.LFG(r.R0b),r.LFG(i.K0),r.LFG(B,8))},token:e,providedIn:"root"}),e}();function q(e){return e.composedPath?e.composedPath()[0]:e.target}var V=new r.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),H=new r.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),z=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this._ngZone=n,this._defaultOptions=r,this._document=i,this._liveElement=t||this._createLiveElement()}return _createClass(e,[{key:"announce",value:function(e){for(var t,n,i,r=this,o=this._defaultOptions,a=arguments.length,s=new Array(a>1?a-1:0),u=1;u1&&void 0!==arguments[1]&&arguments[1],n=(0,g.fI)(e);if(!this._platform.isBrowser||1!==n.nodeType)return(0,u.of)(null);var i=(0,y.kV)(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return t&&(r.checkChildren=!0),r.subject;var a={checkChildren:t,subject:new o.xQ,rootNode:i};return this._elementInfo.set(n,a),this._registerGlobalListeners(a),a.subject}},{key:"stopMonitoring",value:function(e){var t=(0,g.fI)(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(e,t,n){var i=this,r=(0,g.fI)(e);r===this._getDocument().activeElement?this._getClosestElementsInfo(r).forEach(function(e){var n=_slicedToArray(e,2),r=n[0],o=n[1];return i._originChanged(r,t,o)}):(this._setOrigin(t),"function"==typeof r.focus&&r.focus(n))}},{key:"ngOnDestroy",value:function(){var e=this;this._elementInfo.forEach(function(t,n){return e.stopMonitoring(n)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(e,t,n){n?e.classList.add(t):e.classList.remove(t)}},{key:"_getFocusOrigin",value:function(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}},{key:"_shouldBeAttributedToTouch",value:function(e){return 1===this._detectionMode||!!(null==e?void 0:e.contains(this._inputModalityDetector._mostRecentTarget))}},{key:"_setClasses",value:function(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}},{key:"_setOrigin",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._ngZone.runOutsideAngular(function(){t._origin=e,t._originFromTouchInteraction="touch"===e&&n,0===t._detectionMode&&(clearTimeout(t._originTimeoutId),t._originTimeoutId=setTimeout(function(){return t._origin=null},t._originFromTouchInteraction?650:1))})}},{key:"_onFocus",value:function(e,t){var n=this._elementInfo.get(t),i=q(e);n&&(n.checkChildren||t===i)&&this._originChanged(t,this._getFocusOrigin(i),n)}},{key:"_onBlur",value:function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(e,t){this._ngZone.run(function(){return e.next(t)})}},{key:"_registerGlobalListeners",value:function(e){var t=this;if(this._platform.isBrowser){var n=e.rootNode,i=this._rootNodeFocusListenerCount.get(n)||0;i||this._ngZone.runOutsideAngular(function(){n.addEventListener("focus",t._rootNodeFocusAndBlurListener,G),n.addEventListener("blur",t._rootNodeFocusAndBlurListener,G)}),this._rootNodeFocusListenerCount.set(n,i+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){t._getWindow().addEventListener("focus",t._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,m.R)(this._stopInputModalityDetector)).subscribe(function(e){t._setOrigin(e,!0)}))}}},{key:"_removeGlobalListeners",value:function(e){var t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){var n=this._rootNodeFocusListenerCount.get(t);n>1?this._rootNodeFocusListenerCount.set(t,n-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,G),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,G),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}},{key:"_originChanged",value:function(e,t,n){this._setClasses(e,t),this._emitOrigin(n.subject,t),this._lastFocusOrigin=t}},{key:"_getClosestElementsInfo",value:function(e){var t=[];return this._elementInfo.forEach(function(n,i){(i===e||n.checkChildren&&i.contains(e))&&t.push([i,n])}),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.R0b),r.LFG(y.t4),r.LFG(Z),r.LFG(i.K0,8),r.LFG(Y,8))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(r.R0b),r.LFG(y.t4),r.LFG(Z),r.LFG(i.K0,8),r.LFG(Y,8))},token:e,providedIn:"root"}),e}(),W=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._platform=t,this._document=n}return _createClass(e,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);var t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){var e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black"),this._hasCheckedHighContrastMode=!0;var t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(y.t4),r.LFG(i.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(y.t4),r.LFG(i.K0))},token:e,providedIn:"root"}),e}(),Q=function(){var e=function e(t){_classCallCheck(this,e),t._applyBodyHighContrastModeCssClasses()};return e.\u0275fac=function(t){return new(t||e)(r.LFG(W))},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[y.ud,b.Q8]]}),e}()},946:function(e,t,n){"use strict";n.d(t,{vT:function(){return s},Is:function(){return a}});var i=n(3018),r=n(8583),o=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,i.f3M)(r.K0)}}),a=function(){var e=function(){function e(t){if(_classCallCheck(this,e),this.value="ltr",this.change=new i.vpe,t){var n=t.documentElement?t.documentElement.dir:null,r=(t.body?t.body.dir:null)||n;this.value="ltr"===r||"rtl"===r?r:"ltr"}}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.LFG(o,8))},e.\u0275prov=i.Yz7({factory:function(){return new e(i.LFG(o,8))},token:e,providedIn:"root"}),e}(),s=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({}),e}()},8345:function(e,t,n){"use strict";n.d(t,{P3:function(){return u},Ov:function(){return c},A8:function(){return h},eX:function(){return l},k:function(){return f},Z9:function(){return s}});var i=n(5639),r=n(5917),o=n(9765),a=n(3018);function s(e){return e&&"function"==typeof e.connect}var u=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this))._data=e,i}return _createClass(n,[{key:"connect",value:function(){return(0,i.b)(this._data)?this._data:(0,r.of)(this._data)}},{key:"disconnect",value:function(){}}]),n}(function(){return function e(){_classCallCheck(this,e)}}()),l=function(){function e(){_classCallCheck(this,e),this.viewCacheSize=20,this._viewCache=[]}return _createClass(e,[{key:"applyChanges",value:function(e,t,n,i,r){var o=this;e.forEachOperation(function(e,a,s){var u,l;null==e.previousIndex?l=(u=o._insertView(function(){return n(e,a,s)},s,t,i(e)))?1:0:null==s?(o._detachAndCacheView(a,t),l=3):(u=o._moveView(a,s,t,i(e)),l=2),r&&r({context:null==u?void 0:u.context,operation:l,record:e})})}},{key:"detach",value:function(){var e,t=_createForOfIteratorHelper(this._viewCache);try{for(t.s();!(e=t.n()).done;){e.value.destroy()}}catch(n){t.e(n)}finally{t.f()}this._viewCache=[]}},{key:"_insertView",value:function(e,t,n,i){var r=this._insertViewFromCache(t,n);if(!r){var o=e();return n.createEmbeddedView(o.templateRef,o.context,o.index)}r.context.$implicit=i}},{key:"_detachAndCacheView",value:function(e,t){var n=t.detach(e);this._maybeCacheView(n,t)}},{key:"_moveView",value:function(e,t,n,i){var r=n.get(e);return n.move(r,t),r.context.$implicit=i,r}},{key:"_maybeCacheView",value:function(e,t){if(this._viewCache.length0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];_classCallCheck(this,e),this._multiple=n,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new o.xQ,i&&i.length&&(n?i.forEach(function(e){return t._markSelected(e)}):this._markSelected(i[0]),this._selectedToEmit.length=0)}return _createClass(e,[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i1?t-1:0),i=1;it.height||e.scrollWidth>t.width}}]),e}(),k=function(){function e(t,n,i,r){var o=this;_classCallCheck(this,e),this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=function(){o.disable(),o._overlayRef.hasAttached()&&o._ngZone.run(function(){return o._overlayRef.detach()})}}return _createClass(e,[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),C=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),e}();function w(e,t){return t.some(function(t){return e.bottomt.bottom||e.rightt.right})}function x(e,t){return t.some(function(t){return e.topt.bottom||e.leftt.right})}var E=function(){function e(t,n,i,r){_classCallCheck(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this._config=r,this._scrollSubscription=null}return _createClass(e,[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var t=e._overlayRef.overlayElement.getBoundingClientRect(),n=e._viewportRuler.getViewportSize(),i=n.width,r=n.height;w(t,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(e.disable(),e._ngZone.run(function(){return e._overlayRef.detach()}))}}))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),S=function(){var e=function e(t,n,i,r){var o=this;_classCallCheck(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this.noop=function(){return new C},this.close=function(e){return new k(o._scrollDispatcher,o._ngZone,o._viewportRuler,e)},this.block=function(){return new b(o._viewportRuler,o._document)},this.reposition=function(e){return new E(o._scrollDispatcher,o._viewportRuler,o._ngZone,e)},this._document=r};return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.mF),r.LFG(i.rL),r.LFG(r.R0b),r.LFG(s.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(i.mF),r.LFG(i.rL),r.LFG(r.R0b),r.LFG(s.K0))},token:e,providedIn:"root"}),e}(),O=function e(t){if(_classCallCheck(this,e),this.scrollStrategy=new C,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t)for(var n=0,i=Object.keys(t);n-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(s.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(s.K0))},token:e,providedIn:"root"}),e}(),I=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this,e))._keydownListener=function(e){for(var t=i._attachedOverlays,n=t.length-1;n>-1;n--)if(t[n]._keydownEvents.observers.length>0){t[n]._keydownEvents.next(e);break}},i}return _createClass(n,[{key:"add",value:function(e){_get(_getPrototypeOf(n.prototype),"add",this).call(this,e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),n}(P);return e.\u0275fac=function(t){return new(t||e)(r.LFG(s.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(s.K0))},token:e,providedIn:"root"}),e}(),R=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e))._platform=i,r._cursorStyleIsSet=!1,r._clickListener=function(e){for(var t=e.composedPath?e.composedPath()[0]:e.target,n=r._attachedOverlays.slice(),i=n.length-1;i>-1;i--){var o=n[i];if(!(o._outsidePointerEvents.observers.length<1)&&o.hasAttached()){if(o.overlayElement.contains(t))break;o._outsidePointerEvents.next(e)}}},r}return _createClass(n,[{key:"add",value:function(e){if(_get(_getPrototypeOf(n.prototype),"add",this).call(this,e),!this._isAttached){var t=this._document.body;t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var e=this._document.body;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}}}]),n}(P);return e.\u0275fac=function(t){return new(t||e)(r.LFG(s.K0),r.LFG(o.t4))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(s.K0),r.LFG(o.t4))},token:e,providedIn:"root"}),e}(),D="undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha,M=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._platform=n,this._document=t}return _createClass(e,[{key:"ngOnDestroy",value:function(){var e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){if(this._platform.isBrowser||D)for(var e=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]'),t=0;td&&(d=_,f=v)}}catch(m){p.e(m)}finally{p.f()}return this._isPushed=!1,void this._applyPosition(f.position,f.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(e.position,e.originPoint);this._applyPosition(e.position,e.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&B(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}},{key:"withScrollableContainers",value:function(e){return this._scrollables=e,this}},{key:"withPositions",value:function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(e){return this._viewportMargin=e,this}},{key:"withFlexibleDimensions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=e,this}},{key:"withGrowAfterOpen",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=e,this}},{key:"withPush",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=e,this}},{key:"withLockedPosition",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=e,this}},{key:"setOrigin",value:function(e){return this._origin=e,this}},{key:"withDefaultOffsetX",value:function(e){return this._offsetX=e,this}},{key:"withDefaultOffsetY",value:function(e){return this._offsetY=e,this}},{key:"withTransformOriginOn",value:function(e){return this._transformOriginSelector=e,this}},{key:"_getOriginPoint",value:function(e,t){var n;if("center"==t.originX)n=e.left+e.width/2;else{var i=this._isRtl()?e.right:e.left,r=this._isRtl()?e.left:e.right;n="start"==t.originX?i:r}return{x:n,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}}},{key:"_getOverlayPoint",value:function(e,t,n){var i,r;return i="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,r="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+i,y:e.y+r}}},{key:"_getOverlayFit",value:function(e,t,n,i){var r=j(t),o=e.x,a=e.y,s=this._getOffset(i,"x"),u=this._getOffset(i,"y");s&&(o+=s),u&&(a+=u);var l=0-a,c=a+r.height-n.height,h=this._subtractOverflows(r.width,0-o,o+r.width-n.width),f=this._subtractOverflows(r.height,l,c),d=h*f;return{visibleArea:d,isCompletelyWithinViewport:r.width*r.height===d,fitsInViewportVertically:f===r.height,fitsInViewportHorizontally:h==r.width}}},{key:"_canFitWithFlexibleDimensions",value:function(e,t,n){if(this._hasFlexibleDimensions){var i=n.bottom-t.y,r=n.right-t.x,o=U(this._overlayRef.getConfig().minHeight),a=U(this._overlayRef.getConfig().minWidth),s=e.fitsInViewportHorizontally||null!=a&&a<=r;return(e.fitsInViewportVertically||null!=o&&o<=i)&&s}return!1}},{key:"_pushOverlayOnScreen",value:function(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var i,r,o=j(t),a=this._viewportRect,s=Math.max(e.x+o.width-a.width,0),u=Math.max(e.y+o.height-a.height,0),l=Math.max(a.top-n.top-e.y,0),c=Math.max(a.left-n.left-e.x,0);return i=o.width<=a.width?c||-s:e.xh&&!this._isInitialRender&&!this._growAfterOpen&&(i=e.y-h/2)}if("end"===t.overlayX&&!l||"start"===t.overlayX&&l)s=u.width-e.x+this._viewportMargin,o=e.x-this._viewportMargin;else if("start"===t.overlayX&&!l||"end"===t.overlayX&&l)a=e.x,o=u.right-e.x;else{var f=Math.min(u.right-e.x+u.left,e.x),d=this._lastBoundingBoxSize.width;o=2*f,a=e.x-f,o>d&&!this._isInitialRender&&!this._growAfterOpen&&(a=e.x-d/2)}return{top:i,left:a,bottom:r,right:s,width:o,height:n}}},{key:"_setBoundingBoxStyles",value:function(e,t){var n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;i.height=(0,u.HM)(n.height),i.top=(0,u.HM)(n.top),i.bottom=(0,u.HM)(n.bottom),i.width=(0,u.HM)(n.width),i.left=(0,u.HM)(n.left),i.right=(0,u.HM)(n.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",r&&(i.maxHeight=(0,u.HM)(r)),o&&(i.maxWidth=(0,u.HM)(o))}this._lastBoundingBoxSize=n,B(this._boundingBox.style,i)}},{key:"_resetBoundingBoxStyles",value:function(){B(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){B(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(e,t){var n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(i){var a=this._viewportRuler.getViewportScrollPosition();B(n,this._getExactOverlayY(t,e,a)),B(n,this._getExactOverlayX(t,e,a))}else n.position="static";var s="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(s+="translateX(".concat(l,"px) ")),c&&(s+="translateY(".concat(c,"px)")),n.transform=s.trim(),o.maxHeight&&(i?n.maxHeight=(0,u.HM)(o.maxHeight):r&&(n.maxHeight="")),o.maxWidth&&(i?n.maxWidth=(0,u.HM)(o.maxWidth):r&&(n.maxWidth="")),B(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(e,t,n){var i={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=o,"bottom"===e.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=(0,u.HM)(r.y),i}},{key:"_getExactOverlayX",value:function(e,t,n){var i={left:"",right:""},r=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"===(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?i.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":i.left=(0,u.HM)(r.x),i}},{key:"_getScrollVisibility",value:function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(function(e){return e.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:x(e,n),isOriginOutsideView:w(e,n),isOverlayClipped:x(t,n),isOverlayOutsideView:w(t,n)}}},{key:"_subtractOverflows",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}},{key:"left",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}},{key:"right",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}},{key:"width",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}},{key:"height",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}},{key:"centerHorizontally",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(e),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(e),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),i=n.width,r=n.height,o=n.maxWidth,a=n.maxHeight,s=!("100%"!==i&&"100vw"!==i||o&&"100%"!==o&&"100vw"!==o),u=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a);e.position=this._cssPosition,e.marginLeft=s?"0":this._leftOffset,e.marginTop=u?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,s?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=u?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}}]),e}(),V=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this._viewportRuler=t,this._document=n,this._platform=i,this._overlayContainer=r}return _createClass(e,[{key:"global",value:function(){return new q}},{key:"connectedTo",value:function(e,t,n){return new Z(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(e){return new N(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.rL),r.LFG(s.K0),r.LFG(o.t4),r.LFG(M))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(i.rL),r.LFG(s.K0),r.LFG(o.t4),r.LFG(M))},token:e,providedIn:"root"}),e}(),H=0,z=function(){var e=function(){function e(t,n,i,r,o,a,s,u,l,c,h){_classCallCheck(this,e),this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=i,this._positionBuilder=r,this._keyboardDispatcher=o,this._injector=a,this._ngZone=s,this._document=u,this._directionality=l,this._location=c,this._outsideClickDispatcher=h}return _createClass(e,[{key:"create",value:function(e){var t=this._createHostElement(),n=this._createPaneElement(t),i=this._createPortalOutlet(n),r=new O(e);return r.direction=r.direction||this._directionality.value,new L(i,t,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(e){var t=this._document.createElement("div");return t.id="cdk-overlay-"+H++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}},{key:"_createHostElement",value:function(){var e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}},{key:"_createPortalOutlet",value:function(e){return this._appRef||(this._appRef=this._injector.get(r.z2F)),new l.u0(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(S),r.LFG(M),r.LFG(r._Vd),r.LFG(V),r.LFG(I),r.LFG(r.zs3),r.LFG(r.R0b),r.LFG(s.K0),r.LFG(a.Is),r.LFG(s.Ye),r.LFG(R))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),Y=[{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"}],G=new r.OlP("cdk-connected-overlay-scroll-strategy"),K=function(){var e=function e(t){_classCallCheck(this,e),this.elementRef=t};return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq))},e.\u0275dir=r.lG2({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e}(),W=function(){var e=function(){function e(t,n,i,o,a){_classCallCheck(this,e),this._overlay=t,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=h.w.EMPTY,this._attachSubscription=h.w.EMPTY,this._detachSubscription=h.w.EMPTY,this._positionSubscription=h.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new r.vpe,this.positionChange=new r.vpe,this.attach=new r.vpe,this.detach=new r.vpe,this.overlayKeydown=new r.vpe,this.overlayOutsideClick=new r.vpe,this._templatePortal=new l.UE(n,i),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}return _createClass(e,[{key:"offsetX",get:function(){return this._offsetX},set:function(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=(0,u.Ig)(e)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(e){this._lockPosition=(0,u.Ig)(e)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(e){this._flexibleDimensions=(0,u.Ig)(e)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(e){this._growAfterOpen=(0,u.Ig)(e)}},{key:"push",get:function(){return this._push},set:function(e){this._push=(0,u.Ig)(e)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(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())}},{key:"_createOverlay",value:function(){var e=this;this.positions&&this.positions.length||(this.positions=Y);var t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(function(){return e.attach.emit()}),this._detachSubscription=t.detachments().subscribe(function(){return e.detach.emit()}),t.keydownEvents().subscribe(function(t){e.overlayKeydown.next(t),t.keyCode!==g.hY||e.disableClose||(0,g.Vb)(t)||(t.preventDefault(),e._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(t){e.overlayOutsideClick.next(t)})}},{key:"_buildConfig",value:function(){var e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new O({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}},{key:"_updatePositionStrategy",value:function(e){var t=this,n=this.positions.map(function(e){return{originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||t.offsetX,offsetY:e.offsetY||t.offsetY,panelClass:e.panelClass||void 0}});return e.setOrigin(this.origin.elementRef).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e}},{key:"_attachOverlay",value:function(){var e=this;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(function(t){e.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){return n.lift(new p(e,t))}}(function(){return e.positionChange.observers.length>0})).subscribe(function(t){e.positionChange.emit(t),0===e.positionChange.observers.length&&e._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(z),r.Y36(r.Rgc),r.Y36(r.s_b),r.Y36(G),r.Y36(a.Is,8))},e.\u0275dir=r.lG2({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[r.TTD]}),e}(),Q={provide:G,deps:[z],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},J=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[z,Q],imports:[[a.vT,l.eL,i.Cl],i.Cl]}),e}()},521:function(e,t,n){"use strict";n.d(t,{t4:function(){return h},ud:function(){return f},ht:function(){return y},kV:function(){return g},_i:function(){return m},qK:function(){return p},i$:function(){return v},Mq:function(){return _}});var i,r=n(3018),o=n(8583);try{i="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(b){i=!1}var a,s,u,l,c,h=function(){var e=function e(t){_classCallCheck(this,e),this._platformId=t,this.isBrowser=this._platformId?(0,o.NF)(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&&!i)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT};return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.Lbi))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(r.Lbi))},token:e,providedIn:"root"}),e}(),f=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e}(),d=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function p(){if(a)return a;if("object"!=typeof document||!document)return a=new Set(d);var e=document.createElement("input");return a=new Set(d.filter(function(t){return e.setAttribute("type",t),e.type===t}))}function v(e){return function(){if(null==s&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return s=!0}}))}finally{s=s||!1}return s}()?e:!!e.capture}function _(){if(null==l){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return l=!1;if("scrollBehavior"in document.documentElement.style)l=!0;else{var e=Element.prototype.scrollTo;l=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return l}function m(){if("object"!=typeof document||!document)return 0;if(null==u){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";var n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",e.appendChild(n),document.body.appendChild(e),u=0,0===e.scrollLeft&&(e.scrollLeft=1,u=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return u}function g(e){if(function(){if(null==c){var e="undefined"!=typeof document?document.head:null;c=!(!e||!e.createShadowRoot&&!e.attachShadow)}return c}()){var t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function y(){for(var e="undefined"!=typeof document&&document?document.activeElement:null;e&&e.shadowRoot;){var t=e.shadowRoot.activeElement;if(t===e)break;e=t}return e}},7636:function(e,t,n){"use strict";n.d(t,{en:function(){return l},Pl:function(){return h},C5:function(){return a},u0:function(){return c},eL:function(){return f},UE:function(){return s}});var i=n(3018),r=n(8583),o=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"attach",value:function(e){return this._attachedHost=e,e.attach(this)}},{key:"detach",value:function(){var e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}}]),e}(),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var a;return _classCallCheck(this,n),(a=t.call(this)).component=e,a.viewContainerRef=i,a.injector=r,a.componentFactoryResolver=o,a}return n}(o),s=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this)).templateRef=e,o.viewContainerRef=i,o.context=r,o}return _createClass(n,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=t,_get(_getPrototypeOf(n.prototype),"attach",this).call(this,e)}},{key:"detach",value:function(){return this.context=void 0,_get(_getPrototypeOf(n.prototype),"detach",this).call(this)}}]),n}(o),u=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this)).element=e instanceof i.SBq?e.nativeElement:e,r}return n}(o),l=function(){function e(){_classCallCheck(this,e),this._isDisposed=!1,this.attachDomPortal=null}return _createClass(e,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(e){return e instanceof a?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof s?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof u?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(e){this._disposeFn=e}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),e}(),c=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,a){var s,u;return _classCallCheck(this,n),(u=t.call(this)).outletElement=e,u._componentFactoryResolver=i,u._appRef=r,u._defaultInjector=o,u.attachDomPortal=function(e){var t=e.element,i=u._document.createComment("dom-portal");t.parentNode.insertBefore(i,t),u.outletElement.appendChild(t),u._attachedPortal=e,_get((s=_assertThisInitialized(u),_getPrototypeOf(n.prototype)),"setDisposeFn",s).call(s,function(){i.parentNode&&i.parentNode.replaceChild(t,i)})},u._document=a,u}return _createClass(n,[{key:"attachComponentPortal",value:function(e){var t,n=this,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(i,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(function(){return t.destroy()})):(t=i.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn(function(){n._appRef.detachView(t.hostView),t.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=e,t}},{key:"attachTemplatePortal",value:function(e){var t=this,n=e.viewContainerRef,i=n.createEmbeddedView(e.templateRef,e.context);return i.rootNodes.forEach(function(e){return t.outletElement.appendChild(e)}),i.detectChanges(),this.setDisposeFn(function(){var e=n.indexOf(i);-1!==e&&n.remove(e)}),this._attachedPortal=e,i}},{key:"dispose",value:function(){_get(_getPrototypeOf(n.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(e){return e.hostView.rootNodes[0]}}]),n}(l),h=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o){var a,s;return _classCallCheck(this,n),(s=t.call(this))._componentFactoryResolver=e,s._viewContainerRef=r,s._isInitialized=!1,s.attached=new i.vpe,s.attachDomPortal=function(e){var t=e.element,i=s._document.createComment("dom-portal");e.setAttachedHost(_assertThisInitialized(s)),t.parentNode.insertBefore(i,t),s._getRootNode().appendChild(t),s._attachedPortal=e,_get((a=_assertThisInitialized(s),_getPrototypeOf(n.prototype)),"setDisposeFn",a).call(a,function(){i.parentNode&&i.parentNode.replaceChild(t,i)})},s._document=o,s}return _createClass(n,[{key:"portal",get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&_get(_getPrototypeOf(n.prototype),"detach",this).call(this),e&&_get(_getPrototypeOf(n.prototype),"attach",this).call(this,e),this._attachedPortal=e)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(n.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(e){e.setAttachedHost(this);var t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r=t.createComponent(i,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),_get(_getPrototypeOf(n.prototype),"setDisposeFn",this).call(this,function(){return r.destroy()}),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}},{key:"attachTemplatePortal",value:function(e){var t=this;e.setAttachedHost(this);var i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return _get(_getPrototypeOf(n.prototype),"setDisposeFn",this).call(this,function(){return t._viewContainerRef.clear()}),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}},{key:"_getRootNode",value:function(){var e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}]),n}(l);return e.\u0275fac=function(t){return new(t||e)(i.Y36(i._Vd),i.Y36(i.s_b),i.Y36(r.K0))},e.\u0275dir=i.lG2({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.qOj]}),e}(),f=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({}),e}()},9243:function(e,t,n){"use strict";n.d(t,{ZD:function(){return g},mF:function(){return _},Cl:function(){return y},rL:function(){return m}});var i=n(9490),r=n(3018),o=n(6465),a=n(6102);new(function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,i=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++i2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?_get(_getPrototypeOf(n.prototype),"requestAsyncId",this).call(this,e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(function(){return e.flush(null)})))}},{key:"recycleAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return _get(_getPrototypeOf(n.prototype),"recycleAsyncId",this).call(this,e,t,i);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}]),n}(o.o));var s=n(9765),u=n(5917),l=n(7574),c=n(2759);n(4581),n(5319),n(5639),n(7393),new(function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(a.v))(function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e,i)).scheduler=e,r.work=i,r}return _createClass(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t>0?_get(_getPrototypeOf(n.prototype),"schedule",this).call(this,e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}},{key:"execute",value:function(e,t){return t>0||this.closed?_get(_getPrototypeOf(n.prototype),"execute",this).call(this,e,t):this._execute(e,t)}},{key:"requestAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0||null===i&&this.delay>0?_get(_getPrototypeOf(n.prototype),"requestAsyncId",this).call(this,e,t,i):e.flush(this)}}]),n}(o.o)),n(1593),n(7971),n(8858),n(7519);var h=n(628),f=n(5435),d=(n(6782),n(9761),n(3190),n(521)),p=n(8583),v=n(946);n(8345);var _=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._ngZone=t,this._platform=n,this._scrolled=new s.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}return _createClass(e,[{key:"register",value:function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(function(){return t._scrolled.next(e)}))}},{key:"deregister",value:function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}},{key:"scrolled",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new l.y(function(n){e._globalSubscription||e._addGlobalListener();var i=t>0?e._scrolled.pipe((0,h.e)(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){i.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):(0,u.of)()}},{key:"ngOnDestroy",value:function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(t,n){return e.deregister(n)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((0,f.h)(function(e){return!e||n.indexOf(e)>-1}))}},{key:"getAncestorScrollContainers",value:function(e){var t=this,n=[];return this.scrollContainers.forEach(function(i,r){t._scrollableContainsElement(r,e)&&n.push(r)}),n}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(e,t){var n=(0,i.fI)(t),r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){var t=e._getWindow();return(0,c.R)(t.document,"scroll").subscribe(function(){return e._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.R0b),r.LFG(d.t4),r.LFG(p.K0,8))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(r.R0b),r.LFG(d.t4),r.LFG(p.K0,8))},token:e,providedIn:"root"}),e}(),m=function(){var e=function(){function e(t,n,i){var r=this;_classCallCheck(this,e),this._platform=t,this._change=new s.xQ,this._changeListener=function(e){r._change.next(e)},this._document=i,n.runOutsideAngular(function(){if(t.isBrowser){var e=r._getWindow();e.addEventListener("resize",r._changeListener),e.addEventListener("orientationchange",r._changeListener)}r.change().subscribe(function(){return r._updateViewportSize()})})}return _createClass(e,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}},{key:"getViewportRect",value:function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,i=t.height;return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+n,height:i,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=this._document,t=this._getWindow(),n=e.documentElement,i=n.getBoundingClientRect();return{top:-i.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-i.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return e>0?this._change.pipe((0,h.e)(e)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(d.t4),r.LFG(r.R0b),r.LFG(p.K0,8))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(d.t4),r.LFG(r.R0b),r.LFG(p.K0,8))},token:e,providedIn:"root"}),e}(),g=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e}(),y=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[v.vT,d.ud,g],v.vT,g]}),e}()},9490:function(e,t,n){"use strict";n.d(t,{Eq:function(){return a},Ig:function(){return r},HM:function(){return s},fI:function(){return u},su:function(){return o}});var i=n(3018);function r(e){return null!=e&&"false"!="".concat(e)}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}function a(e){return Array.isArray(e)?e:[e]}function s(e){return null==e?"":"string"==typeof e?e:"".concat(e,"px")}function u(e){return e instanceof i.SBq?e.nativeElement:e}},8583:function(e,t,n){"use strict";n.d(t,{mr:function(){return b},Ov:function(){return z},ez:function(){return Y},K0:function(){return u},Do:function(){return C},V_:function(){return h},Ye:function(){return w},S$:function(){return g},mk:function(){return I},sg:function(){return D},O5:function(){return L},RF:function(){return U},n9:function(){return j},ED:function(){return Z},b0:function(){return k},lw:function(){return l},EM:function(){return W},JF:function(){return X},NF:function(){return K},w_:function(){return s},bD:function(){return G},q:function(){return o},Mx:function(){return P},HT:function(){return a}});var i=n(3018),r=null;function o(){return r}function a(e){r||(r=e)}var s=function e(){_classCallCheck(this,e)},u=new i.OlP("DocumentToken"),l=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"historyGo",value:function(e){throw new Error("Not implemented")}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,i.Yz7)({factory:c,token:e,providedIn:"platform"}),e}();function c(){return(0,i.LFG)(f)}var h=new i.OlP("Location Initialized"),f=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this))._doc=e,i._init(),i}return _createClass(n,[{key:"_init",value:function(){this.location=window.location,this._history=window.history}},{key:"getBaseHrefFromDOM",value:function(){return o().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){var t=o().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),function(){return t.removeEventListener("popstate",e)}}},{key:"onHashChange",value:function(e){var t=o().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),function(){return t.removeEventListener("hashchange",e)}}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(e){this.location.pathname=e}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(e,t,n){d()?this._history.pushState(e,t,n):this.location.hash=n}},{key:"replaceState",value:function(e,t,n){d()?this._history.replaceState(e,t,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"historyGo",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(e)}},{key:"getState",value:function(){return this._history.state}}]),n}(l);return e.\u0275fac=function(t){return new(t||e)(i.LFG(u))},e.\u0275prov=(0,i.Yz7)({factory:p,token:e,providedIn:"platform"}),e}();function d(){return!!window.history.pushState}function p(){return new f((0,i.LFG)(u))}function v(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function _(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function m(e){return e&&"?"!==e[0]?"?"+e:e}var g=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"historyGo",value:function(e){throw new Error("Not implemented")}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,i.Yz7)({factory:y,token:e,providedIn:"root"}),e}();function y(e){var t=(0,i.LFG)(u).location;return new k((0,i.LFG)(l),t&&t.origin||"")}var b=new i.OlP("appBaseHref"),k=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;if(_classCallCheck(this,n),(r=t.call(this))._platformLocation=e,r._removeListenerFns=[],null==i&&(i=r._platformLocation.getBaseHrefFromDOM()),null==i)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=i,_possibleConstructorReturn(r)}return _createClass(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(e){return v(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+m(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?"".concat(t).concat(n):t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+m(i));this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+m(i));this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformLocation).historyGo)||void 0===t||t.call(e,n)}}]),n}(g);return e.\u0275fac=function(t){return new(t||e)(i.LFG(l),i.LFG(b,8))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}(),C=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this))._platformLocation=e,r._baseHref="",r._removeListenerFns=[],null!=i&&(r._baseHref=i),r}return _createClass(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}},{key:"prepareExternalUrl",value:function(e){var t=v(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+m(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+m(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformLocation).historyGo)||void 0===t||t.call(e,n)}}]),n}(g);return e.\u0275fac=function(t){return new(t||e)(i.LFG(l),i.LFG(b,8))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}(),w=function(){var e=function(){function e(t,n){var r=this;_classCallCheck(this,e),this._subject=new i.vpe,this._urlChangeListeners=[],this._platformStrategy=t;var o=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=_(E(o)),this._platformStrategy.onPopState(function(e){r._subject.emit({url:r.path(!0),pop:!0,state:e.state,type:e.type})})}return _createClass(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(e+m(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,E(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+m(t)),n)}},{key:"replaceState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+m(t)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformStrategy).historyGo)||void 0===t||t.call(e,n)}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(e){t._notifyUrlChangeListeners(e.url,e.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(n){return n(e,t)})}},{key:"subscribe",value:function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.LFG(g),i.LFG(l))},e.normalizeQueryParams=m,e.joinWithSlash=v,e.stripTrailingSlash=_,e.\u0275prov=(0,i.Yz7)({factory:x,token:e,providedIn:"root"}),e}();function x(){return new w((0,i.LFG)(g),(0,i.LFG)(l))}function E(e){return e.replace(/\/index.html$/,"")}var S=((S=S||{})[S.Zero=0]="Zero",S[S.One=1]="One",S[S.Two=2]="Two",S[S.Few=3]="Few",S[S.Many=4]="Many",S[S.Other=5]="Other",S),O=i.kL8,A=function e(){_classCallCheck(this,e)},T=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this)).locale=e,i}return _createClass(n,[{key:"getPluralCategory",value:function(e,t){switch(O(t||this.locale)(e)){case S.Zero:return"zero";case S.One:return"one";case S.Two:return"two";case S.Few:return"few";case S.Many:return"many";default:return"other"}}}]),n}(A);return e.\u0275fac=function(t){return new(t||e)(i.LFG(i.soG))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}();function P(e,t){t=encodeURIComponent(t);var n,i=_createForOfIteratorHelper(e.split(";"));try{for(i.s();!(n=i.n()).done;){var r=n.value,o=r.indexOf("="),a=_slicedToArray(-1==o?[r,""]:[r.slice(0,o),r.slice(o+1)],2),s=a[0],u=a[1];if(s.trim()===t)return decodeURIComponent(u)}}catch(l){i.e(l)}finally{i.f()}return null}var I=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=i,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return _createClass(e,[{key:"klass",set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&((0,i.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}},{key:"_applyKeyValueChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){e.previousValue&&t._toggleClass(e.key,!1)})}},{key:"_applyIterableChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat((0,i.AaK)(e.item)));t._toggleClass(e.item,!0)}),e.forEachRemovedItem(function(e){return t._toggleClass(e.item,!1)})}},{key:"_applyClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!0)}):Object.keys(e).forEach(function(n){return t._toggleClass(n,!!e[n])}))}},{key:"_removeClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!1)}):Object.keys(e).forEach(function(e){return t._toggleClass(e,!1)}))}},{key:"_toggleClass",value:function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach(function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))},e.\u0275dir=i.lG2({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e}(),R=function(){function e(t,n,i,r){_classCallCheck(this,e),this.$implicit=t,this.ngForOf=n,this.index=i,this.count=r}return _createClass(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),D=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._viewContainer=t,this._template=n,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return _createClass(e,[{key:"ngForOf",set:function(e){this._ngForOf=e,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(e){this._trackByFn=e}},{key:"ngForTemplate",set:function(e){e&&(this._template=e)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(i){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation(function(e,i,r){if(null==e.previousIndex){var o=t._viewContainer.createEmbeddedView(t._template,new R(null,t._ngForOf,-1,-1),null===r?void 0:r),a=new M(e,o);n.push(a)}else if(null==r)t._viewContainer.remove(null===i?void 0:i);else if(null!==i){var s=t._viewContainer.get(i);t._viewContainer.move(s,r);var u=new M(e,s);n.push(u)}});for(var i=0;i0){var i=e.slice(0,t),r=i.toLowerCase(),o=e.slice(t+1).trim();n.maybeSetNormalizedName(i,r),n.headers.has(r)?n.headers.get(r).push(o):n.headers.set(r,[o])}})}:function(){n.headers=new Map,Object.keys(t).forEach(function(e){var i=t[e],r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(n.headers.set(r,i),n.maybeSetNormalizedName(e,r))})}:this.headers=new Map}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))})}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var i=("a"===e.op?this.headers.get(t):void 0)||[];i.push.apply(i,_toConsumableArray(n)),this.headers.set(t,i);break;case"d":var r=e.value;if(r){var o=this.headers.get(t);if(!o)return;0===(o=o.filter(function(e){return-1===r.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,o)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return e(t.normalizedNames.get(n),t.headers.get(n))})}}]),e}(),d=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"encodeKey",value:function(e){return p(e)}},{key:"encodeValue",value:function(e){return p(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}();function p(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function v(e){return"".concat(e)}var _=function(){function e(){var t,n,i,r=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(_classCallCheck(this,e),this.updates=null,this.cloneFrom=null,this.encoder=o.encoder||new d,o.fromString){if(o.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(t=o.fromString,n=this.encoder,i=new Map,t.length>0&&t.replace(/^\?/,"").split("&").forEach(function(e){var t=e.indexOf("="),r=_slicedToArray(-1==t?[n.decodeKey(e),""]:[n.decodeKey(e.slice(0,t)),n.decodeValue(e.slice(t+1))],2),o=r[0],a=r[1],s=i.get(o)||[];s.push(a),i.set(o,s)}),i)}else o.fromObject?(this.map=new Map,Object.keys(o.fromObject).forEach(function(e){var t=o.fromObject[e];r.map.set(e,Array.isArray(t)?t:[t])})):this.map=null}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.map.has(e)}},{key:"get",value:function(e){this.init();var t=this.map.get(e);return t?t[0]:null}},{key:"getAll",value:function(e){return this.init(),this.map.get(e)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(e,t){return this.clone({param:e,value:t,op:"a"})}},{key:"appendAll",value:function(e){var t=[];return Object.keys(e).forEach(function(n){var i=e[n];Array.isArray(i)?i.forEach(function(e){t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:i,op:"a"})}),this.clone(t)}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map(function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return n+"="+e.encoder.encodeValue(t)}).join("&")}).filter(function(e){return""!==e}).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(v(t.value)),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var i=e.map.get(t.param)||[],r=i.indexOf(v(t.value));-1!==r&&i.splice(r,1),i.length>0?e.map.set(t.param,i):e.map.delete(t.param)}}),this.cloneFrom=this.updates=null)}}]),e}(),m=function(){function e(){_classCallCheck(this,e),this.map=new Map}return _createClass(e,[{key:"set",value:function(e,t){return this.map.set(e,t),this}},{key:"get",value:function(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}},{key:"delete",value:function(e){return this.map.delete(e),this}},{key:"keys",value:function(){return this.map.keys()}}]),e}();function g(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function y(e){return"undefined"!=typeof Blob&&e instanceof Blob}function b(e){return"undefined"!=typeof FormData&&e instanceof FormData}var k=function(){function e(t,n,i,r){var o;if(_classCallCheck(this,e),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(e){switch(e){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 f),this.context||(this.context=new m),this.params){var a=this.params.toString();if(0===a.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s0&&void 0!==arguments[0]?arguments[0]:{},i=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,a=void 0!==n.body?n.body:this.body,s=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,u=void 0!==n.reportProgress?n.reportProgress:this.reportProgress,l=n.headers||this.headers,c=n.params||this.params,h=null!==(t=n.context)&&void 0!==t?t:this.context;return void 0!==n.setHeaders&&(l=Object.keys(n.setHeaders).reduce(function(e,t){return e.set(t,n.setHeaders[t])},l)),n.setParams&&(c=Object.keys(n.setParams).reduce(function(e,t){return e.set(t,n.setParams[t])},c)),new e(i,r,a,{params:c,headers:l,context:h,reportProgress:u,responseType:o,withCredentials:s})}}]),e}(),C=((C=C||{})[C.Sent=0]="Sent",C[C.UploadProgress=1]="UploadProgress",C[C.ResponseHeader=2]="ResponseHeader",C[C.DownloadProgress=3]="DownloadProgress",C[C.Response=4]="Response",C[C.User=5]="User",C),w=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";_classCallCheck(this,e),this.headers=t.headers||new f,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300},x=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,n),(e=t.call(this,i)).type=C.ResponseHeader,e}return _createClass(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(w),E=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,n),(e=t.call(this,i)).type=C.Response,e.body=void 0!==i.body?i.body:null,e}return _createClass(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(w),S=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this,e,0,"Unknown Error")).name="HttpErrorResponse",i.ok=!1,i.message=i.status>=200&&i.status<300?"Http failure during parsing for ".concat(e.url||"(unknown url)"):"Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),i.error=e.error||null,i}return n}(w);function O(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var A=function(){var e=function(){function e(t){_classCallCheck(this,e),this.handler=t}return _createClass(e,[{key:"request",value:function(e,t){var n,i,r,a=this,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e instanceof k?n=e:(i=c.headers instanceof f?c.headers:new f(c.headers),c.params&&(r=c.params instanceof _?c.params:new _({fromObject:c.params})),n=new k(e,t,void 0!==c.body?c.body:null,{headers:i,context:c.context,params:r,reportProgress:c.reportProgress,responseType:c.responseType||"json",withCredentials:c.withCredentials}));var h=(0,o.of)(n).pipe((0,s.b)(function(e){return a.handler.handle(e)}));if(e instanceof k||"events"===c.observe)return h;var d=h.pipe((0,u.h)(function(e){return e instanceof E}));switch(c.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return d.pipe((0,l.U)(function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return d.pipe((0,l.U)(function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return d.pipe((0,l.U)(function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return d.pipe((0,l.U)(function(e){return e.body}))}case"response":return d;default:throw new Error("Unreachable: unhandled observe type ".concat(c.observe,"}"))}}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",e,t)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",e,t)}},{key:"head",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",e,t)}},{key:"jsonp",value:function(e,t){return this.request("JSONP",e,{params:(new _).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",e,t)}},{key:"patch",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",e,O(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,O(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,O(n,t))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(c))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),T=function(){function e(t,n){_classCallCheck(this,e),this.next=t,this.interceptor=n}return _createClass(e,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),e}(),P=new r.OlP("HTTP_INTERCEPTORS"),I=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"intercept",value:function(e,t){return t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),R=/^\)\]\}',?\n/,D=function(){var e=function(){function e(t){_classCallCheck(this,e),this.xhrFactory=t}return _createClass(e,[{key:"handle",value:function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new a.y(function(n){var i=t.xhrFactory.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach(function(e,t){return i.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var r=e.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(e.responseType){var o=e.responseType.toLowerCase();i.responseType="json"!==o?o:"text"}var a=e.serializeBody(),s=null,u=function(){if(null!==s)return s;var t=1223===i.status?204:i.status,n=i.statusText||"OK",r=new f(i.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||e.url;return s=new x({headers:r,status:t,statusText:n,url:o})},l=function(){var t=u(),r=t.headers,o=t.status,a=t.statusText,s=t.url,l=null;204!==o&&(l=void 0===i.response?i.responseText:i.response),0===o&&(o=l?200:0);var c=o>=200&&o<300;if("json"===e.responseType&&"string"==typeof l){var h=l;l=l.replace(R,"");try{l=""!==l?JSON.parse(l):null}catch(f){l=h,c&&(c=!1,l={error:f,text:l})}}c?(n.next(new E({body:l,headers:r,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new S({error:l,headers:r,status:o,statusText:a,url:s||void 0}))},c=function(e){var t=u().url,r=new S({error:e,status:i.status||0,statusText:i.statusText||"Unknown Error",url:t||void 0});n.error(r)},h=!1,d=function(t){h||(n.next(u()),h=!0);var r={type:C.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(r.total=t.total),"text"===e.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},p=function(e){var t={type:C.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return i.addEventListener("load",l),i.addEventListener("error",c),i.addEventListener("timeout",c),i.addEventListener("abort",c),e.reportProgress&&(i.addEventListener("progress",d),null!==a&&i.upload&&i.upload.addEventListener("progress",p)),i.send(a),n.next({type:C.Sent}),function(){i.removeEventListener("error",c),i.removeEventListener("abort",c),i.removeEventListener("load",l),i.removeEventListener("timeout",c),e.reportProgress&&(i.removeEventListener("progress",d),null!==a&&i.upload&&i.upload.removeEventListener("progress",p)),i.readyState!==i.DONE&&i.abort()}})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.JF))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),M=new r.OlP("XSRF_COOKIE_NAME"),L=new r.OlP("XSRF_HEADER_NAME"),F=function e(){_classCallCheck(this,e)},N=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.doc=t,this.platform=n,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return _createClass(e,[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,i.Mx)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.K0),r.LFG(r.Lbi),r.LFG(M))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),B=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.tokenService=t,this.headerName=n}return _createClass(e,[{key:"intercept",value:function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var i=this.tokenService.getToken();return null===i||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,i)})),t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(F),r.LFG(L))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),U=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.backend=t,this.injector=n,this.chain=null}return _createClass(e,[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(P,[]);this.chain=t.reduceRight(function(e,t){return new T(e,t)},this.backend)}return this.chain.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(h),r.LFG(r.zs3))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),j=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:B,useClass:I}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:M,useValue:t.cookieName}:[],t.headerName?{provide:L,useValue:t.headerName}:[]]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[B,{provide:P,useExisting:B,multi:!0},{provide:F,useClass:N},{provide:M,useValue:"XSRF-TOKEN"},{provide:L,useValue:"X-XSRF-TOKEN"}]}),e}(),Z=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[A,{provide:c,useClass:U},D,{provide:h,useExisting:D}],imports:[[j.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e}()},3018:function(e,t,n){"use strict";n.d(t,{deG:function(){return rn},tb:function(){return Nu},AFp:function(){return Ru},ip1:function(){return Pu},CZH:function(){return Iu},hGG:function(){return Tl},z2F:function(){return yl},sBO:function(){return Ls},Sil:function(){return Ku},_Vd:function(){return os},EJc:function(){return ju},SBq:function(){return ls},qLn:function(){return wi},vpe:function(){return hu},gxx:function(){return ho},tBr:function(){return Sn},XFs:function(){return R},OlP:function(){return nn},zs3:function(){return So},ZZ4:function(){return As},aQg:function(){return Ps},soG:function(){return Uu},YKP:function(){return Hs},v3s:function(){return kl},h0i:function(){return Vs},PXZ:function(){return pl},R0b:function(){return Ju},FiY:function(){return On},Lbi:function(){return Fu},g9A:function(){return Lu},n_E:function(){return du},Qsj:function(){return fs},FYo:function(){return hs},JOm:function(){return Oi},Tiy:function(){return ps},q3G:function(){return pi},tp0:function(){return An},EAV:function(){return xl},Rgc:function(){return js},dDg:function(){return rl},DyG:function(){return on},GfV:function(){return vs},s_b:function(){return Ys},ifc:function(){return N},eFA:function(){return vl},G48:function(){return fl},Gpc:function(){return v},f3M:function(){return kn},X6Q:function(){return hl},_c5:function(){return Ol},VLi:function(){return al},c2e:function(){return Bu},zSh:function(){return po},wAp:function(){return Ga},vHH:function(){return g},EiD:function(){return fi},mCW:function(){return Wn},qzn:function(){return Bn},JVY:function(){return jn},pB0:function(){return Hn},eBb:function(){return qn},L6k:function(){return Zn},LAX:function(){return Vn},cg1:function(){return Ha},Tjo:function(){return Sl},kL8:function(){return za},yhl:function(){return Un},dqk:function(){return q},sIi:function(){return Fo},CqO:function(){return ta},QGY:function(){return $o},F4k:function(){return ea},RDi:function(){return xe},AaK:function(){return f},z3N:function(){return Nn},qOj:function(){return Ao},TTD:function(){return ye},_Bn:function(){return ns},xp6:function(){return dr},uIk:function(){return jo},Tol:function(){return ka},Gre:function(){return Ba},ekj:function(){return ba},Suo:function(){return Eu},Xpm:function(){return $},lG2:function(){return ae},Yz7:function(){return C},cJS:function(){return w},oAB:function(){return ie},Yjl:function(){return se},Y36:function(){return Ho},_UZ:function(){return Wo},BQk:function(){return Jo},ynx:function(){return Qo},qZA:function(){return Ko},TgZ:function(){return Go},EpF:function(){return Xo},n5z:function(){return Xt},Ikx:function(){return Ua},LFG:function(){return bn},$8M:function(){return en},NdJ:function(){return na},CRH:function(){return Su},kcU:function(){return mt},O4$:function(){return _t},oxw:function(){return sa},ALo:function(){return uu},lcZ:function(){return lu},Hsn:function(){return ca},F$t:function(){return la},Q6J:function(){return zo},s9C:function(){return ha},VKq:function(){return au},iGM:function(){return wu},MAs:function(){return Vo},pYS:function(){return Ei},CHM:function(){return Ve},oJD:function(){return vi},LSH:function(){return _i},kYT:function(){return re},Udp:function(){return ya},WFA:function(){return ia},d8E:function(){return ja},YNc:function(){return qo},_uU:function(){return Da},Oqu:function(){return Ma},hij:function(){return La},AsE:function(){return Fa},lnq:function(){return Na},Gf:function(){return xu}});var i=n(9765),r=n(5319),o=n(7574),a=n(6682),s=n(2441),u=n(1307);function l(){return new i.xQ}function c(e){for(var t in e)if(e[t]===c)return t;throw Error("Could not find renamed property on target object.")}function h(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function f(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(f).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function d(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var p=c({__forward_ref__:c});function v(e){return e.__forward_ref__=v,e.toString=function(){return f(this())},e}function _(e){return m(e)?e():e}function m(e){return"function"==typeof e&&e.hasOwnProperty(p)&&e.__forward_ref__===v}var g=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,function(e,t){return"".concat(e?"NG0".concat(e,": "):"").concat(t)}(e,i))).code=e,r}return n}(_wrapNativeSuper(Error));function y(e){return"string"==typeof e?e:null==e?"":String(e)}function b(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():y(e)}function k(e,t){var n=t?" in ".concat(t):"";throw new g("201","No provider for ".concat(b(e)," found").concat(n))}function C(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function w(e){return{providers:e.providers||[],imports:e.imports||[]}}function x(e){return E(e,A)||E(e,P)}function E(e,t){return e.hasOwnProperty(t)?e[t]:null}function S(e){return e&&(e.hasOwnProperty(T)||e.hasOwnProperty(I))?e[T]:null}var O,A=c({"\u0275prov":c}),T=c({"\u0275inj":c}),P=c({ngInjectableDef:c}),I=c({ngInjectorDef:c}),R=((R=R||{})[R.Default=0]="Default",R[R.Host=1]="Host",R[R.Self=2]="Self",R[R.SkipSelf=4]="SkipSelf",R[R.Optional=8]="Optional",R);function D(e){var t=O;return O=e,t}function M(e,t,n){var i=x(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&R.Optional?null:void 0!==t?t:void k(f(e),"Injector")}function L(e){return{toString:e}.toString()}var F=((F=F||{})[F.OnPush=0]="OnPush",F[F.Default=1]="Default",F),N=((N=N||{})[N.Emulated=0]="Emulated",N[N.None=2]="None",N[N.ShadowDom=3]="ShadowDom",N),B="undefined"!=typeof globalThis&&globalThis,U="undefined"!=typeof window&&window,j="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Z="undefined"!=typeof global&&global,q=B||Z||U||j,V={},H=[],z=c({"\u0275cmp":c}),Y=c({"\u0275dir":c}),G=c({"\u0275pipe":c}),K=c({"\u0275mod":c}),W=c({"\u0275loc":c}),Q=c({"\u0275fac":c}),J=c({__NG_ELEMENT_ID__:c}),X=0;function $(e){return L(function(){var t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===F.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||H,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||N.Emulated,id:"c",styles:e.styles||H,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,r=e.features,o=e.pipes;return n.id+=X++,n.inputs=oe(e.inputs,t),n.outputs=oe(e.outputs),r&&r.forEach(function(e){return e(n)}),n.directiveDefs=i?function(){return("function"==typeof i?i():i).map(ee)}:null,n.pipeDefs=o?function(){return("function"==typeof o?o():o).map(te)}:null,n})}function ee(e){return ue(e)||function(e){return e[Y]||null}(e)}function te(e){return function(e){return e[G]||null}(e)}var ne={};function ie(e){return L(function(){var t={type:e.type,bootstrap:e.bootstrap||H,declarations:e.declarations||H,imports:e.imports||H,exports:e.exports||H,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(ne[e.id]=e.type),t})}function re(e,t){return L(function(){var n=le(e,!0);n.declarations=t.declarations||H,n.imports=t.imports||H,n.exports=t.exports||H})}function oe(e,t){if(null==e)return V;var n={};for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,t&&(t[r]=o)}return n}var ae=$;function se(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function ue(e){return e[z]||null}function le(e,t){var n=e[K]||null;if(!n&&!0===t)throw new Error("Type ".concat(f(e)," does not have '\u0275mod' property."));return n}function ce(e){return Array.isArray(e)&&"object"==typeof e[1]}function he(e){return Array.isArray(e)&&!0===e[1]}function fe(e){return 0!=(8&e.flags)}function de(e){return 2==(2&e.flags)}function pe(e){return 1==(1&e.flags)}function ve(e){return null!==e.template}function _e(e,t){return e.hasOwnProperty(Q)?e[Q]:null}var me,ge=function(){function e(t,n,i){_classCallCheck(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=i}return _createClass(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function ye(){return be}function be(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ce),ke}function ke(){var e=we(this),t=null==e?void 0:e.current;if(t){var n=e.previous;if(n===V)e.previous=t;else for(var i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Ce(e,t,n,i){var r=we(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:V,current:null}),o=r.current||(r.current={}),a=r.previous,s=this.declaredInputs[n],u=a[s];o[s]=new ge(u&&u.currentValue,t,a===V),e[i]=t}function we(e){return e.__ngSimpleChanges__||null}function xe(e){me=e}function Ee(){return void 0!==me?me:"undefined"!=typeof document?document:void 0}function Se(e){return!!e.listen}ye.ngInherit=!0;var Oe={createRenderer:function(e,t){return Ee()}};function Ae(e){for(;Array.isArray(e);)e=e[0];return e}function Te(e,t){return Ae(t[e])}function Pe(e,t){return Ae(t[e.index])}function Ie(e,t){return e.data[t]}function Re(e,t){return e[t]}function De(e,t){var n=t[e];return ce(n)?n:n[0]}function Me(e){return 4==(4&e[2])}function Le(e){return 128==(128&e[2])}function Fe(e,t){return null==t?null:e[t]}function Ne(e){e[18]=0}function Be(e,t){e[5]+=t;for(var n=e,i=e[3];null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}var Ue={lFrame:lt(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function je(){return Ue.bindingsEnabled}function Ze(){return Ue.lFrame.lView}function qe(){return Ue.lFrame.tView}function Ve(e){return Ue.lFrame.contextLView=e,e[8]}function He(){for(var e=ze();null!==e&&64===e.type;)e=e.parent;return e}function ze(){return Ue.lFrame.currentTNode}function Ye(e,t){var n=Ue.lFrame;n.currentTNode=e,n.isParent=t}function Ge(){return Ue.lFrame.isParent}function Ke(){Ue.lFrame.isParent=!1}function We(){return Ue.isInCheckNoChangesMode}function Qe(e){Ue.isInCheckNoChangesMode=e}function Je(){var e=Ue.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Xe(){return Ue.lFrame.bindingIndex}function $e(){return Ue.lFrame.bindingIndex++}function et(e){var t=Ue.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function tt(e){Ue.lFrame.currentDirectiveIndex=e}function nt(e){var t=Ue.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function it(){return Ue.lFrame.currentQueryIndex}function rt(e){Ue.lFrame.currentQueryIndex=e}function ot(e){var t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function at(e,t,n){if(n&R.SkipSelf){for(var i=t,r=e;!(null!==(i=i.parent)||n&R.Host||(i=ot(r),null===i)||(r=r[15],10&i.type)););if(null===i)return!1;t=i,e=r}var o=Ue.lFrame=ut();return o.currentTNode=t,o.lView=e,!0}function st(e){var t=ut(),n=e[1];Ue.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ut(){var e=Ue.lFrame,t=null===e?null:e.child;return null===t?lt(e):t}function lt(e){var 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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function ct(){var e=Ue.lFrame;return Ue.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ht=ct;function ft(){var e=ct();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function dt(){return Ue.lFrame.selectedIndex}function pt(e){Ue.lFrame.selectedIndex=e}function vt(){var e=Ue.lFrame;return Ie(e.tView,e.selectedIndex)}function _t(){Ue.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function mt(){Ue.lFrame.currentNamespace=null}function gt(e,t){for(var n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[s]<0&&(e[18]+=65536),(a>11>16&&(3&e[2])===t){e[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}var xt=function e(t,n,i){_classCallCheck(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i};function Et(e,t,n){for(var i=Se(e),r=0;rt){a=o-1;break}}}for(;o>16,i=t;n>0;)i=i[15],n--;return i}var Dt=!0;function Mt(e){var t=Dt;return Dt=e,t}var Lt=0;function Ft(e,t){var n=Bt(e,t);if(-1!==n)return n;var i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Nt(i.data,e),Nt(t,null),Nt(i.blueprint,null));var r=Ut(e,t),o=e.injectorIndex;if(Pt(r))for(var a=It(r),s=Rt(r,t),u=s[1].data,l=0;l<8;l++)t[o+l]=s[a+l]|u[a+l];return t[o+8]=r,o}function Nt(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Bt(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ut(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=0,i=null,r=t;null!==r;){var o=r[1],a=o.type;if(null===(i=2===a?o.declTNode:1===a?r[6]:null))return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function jt(e,t,n){!function(e,t,n){var i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(J)&&(i=n[J]),null==i&&(i=n[J]=Lt++);var r=255&i;t.data[e+(r>>5)]|=1<3&&void 0!==arguments[3]?arguments[3]:R.Default,r=arguments.length>4?arguments[4]:void 0;if(null!==e){var o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e.hasOwnProperty(J)?e[J]:void 0;return"number"==typeof t?t>=0?255&t:zt:t}(n);if("function"==typeof o){if(!at(t,e,i))return i&R.Host?Zt(r,n,i):qt(t,n,i,r);try{var a=o(i);if(null!=a||i&R.Optional)return a;k(n)}finally{ht()}}else if("number"==typeof o){var s=null,u=Bt(e,t),l=-1,c=i&R.Host?t[16][6]:null;for((-1===u||i&R.SkipSelf)&&(-1!==(l=-1===u?Ut(e,t):t[u+8])&&Qt(i,!1)?(s=t[1],u=It(l),t=Rt(l,t)):u=-1);-1!==u;){var h=t[1];if(Wt(o,u,h.data)){var f=Yt(u,t,n,s,i,c);if(f!==Ht)return f}-1!==(l=t[u+8])&&Qt(i,t[1].data[u+8]===c)&&Wt(o,u,t)?(s=h,u=It(l),t=Rt(l,t)):u=-1}}}return qt(t,n,i,r)}var Ht={};function zt(){return new Jt(He(),Ze())}function Yt(e,t,n,i,r,o){var a=t[1],s=a.data[e+8],u=Gt(s,a,n,null==i?de(s)&&Dt:i!=a&&0!=(3&s.type),r&R.Host&&o===s);return null!==u?Kt(t,a,u,s):Ht}function Gt(e,t,n,i,r){for(var o=e.providerIndexes,a=t.data,s=1048575&o,u=e.directiveStart,l=o>>20,c=r?s+l:e.directiveEnd,h=i?s:s+l;h=u&&f.type===n)return h}if(r){var d=a[u];if(d&&ve(d)&&d.type===n)return u}return null}function Kt(e,t,n,i){var r=e[n],o=t.data;if(r instanceof xt){var a=r;a.resolving&&function(e,t){throw new g("200","Circular dependency in DI detected for ".concat(e))}(b(o[n]));var s=Mt(a.canSeeViewProviders);a.resolving=!0;var u=a.injectImpl?D(a.injectImpl):null;at(e,i,R.Default);try{r=e[n]=a.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){var i=t.type.prototype,r=i.ngOnChanges,o=i.ngOnInit,a=i.ngDoCheck;if(r){var s=be(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,o[n],t)}finally{null!==u&&D(u),Mt(s),a.resolving=!1,ht()}}return r}function Wt(e,t,n){return!!(n[t+(e>>5)]&1<=e.length?e.push(n):e.splice(t,0,n)}function ln(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function cn(e,t){for(var n=[],i=0;i=0?e[1|i]=n:function(e,t,n,i){var r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i=~i,t,n),i}function fn(e,t){var n=dn(e,t);if(n>=0)return e[1|n]}function dn(e,t){return function(e,t,n){for(var i=0,r=e.length>>1;r!==i;){var o=i+(r-i>>1),a=e[o<<1];if(t===a)return o<<1;a>t?r=o:i=o+1}return~(r<<1)}(e,t)}var pn,vn={},_n=/\n/gm,mn=c({provide:String,useValue:c});function gn(e){var t=pn;return pn=e,t}function yn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R.Default;if(void 0===pn)throw new Error("inject() must be called from an injection context");return null===pn?M(e,void 0,t):pn.get(e,t&R.Optional?null:void 0,t)}function bn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R.Default;return(O||yn)(_(e),t)}var kn=bn;function Cn(e){for(var t=[],n=0;n"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();ii.hasOwnProperty(t)&&!$n.hasOwnProperty(t)&&(this.buf.push(""))}},{key:"chars",value:function(e){this.buf.push(hi(e))}},{key:"checkClobberedElement",value:function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(e.outerHTML));return t}}]),e}(),li=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ci=/([^\#-~ |!])/g;function hi(e){return e.replace(/&/g,"&").replace(li,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(ci,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function fi(e,t){var n=null;try{Xn=Xn||function(e){var t=new Yn(e);return function(){try{return!!(new window.DOMParser).parseFromString(Tn(""),"text/html")}catch(e){return!1}}()?new zn(t):t}(e);var i=t?String(t):"";n=Xn.getInertBodyElement(i);var r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=Xn.getInertBodyElement(i)}while(i!==o);return Tn((new ui).sanitizeChildren(di(n)||n))}finally{if(n)for(var a=di(n)||n;a.firstChild;)a.removeChild(a.firstChild)}}function di(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var pi=((pi=pi||{})[pi.NONE=0]="NONE",pi[pi.HTML=1]="HTML",pi[pi.STYLE=2]="STYLE",pi[pi.SCRIPT=3]="SCRIPT",pi[pi.URL=4]="URL",pi[pi.RESOURCE_URL=5]="RESOURCE_URL",pi);function vi(e){var t=mi();return t?Pn(t.sanitize(pi.HTML,e)||""):Bn(e,"HTML")?Pn(Nn(e)):fi(Ee(),y(e))}function _i(e){var t=mi();return t?t.sanitize(pi.URL,e)||"":Bn(e,"URL")?Nn(e):Wn(y(e))}function mi(){var e=Ze();return e&&e[12]}function gi(e,t){e.__ngContext__=t}function yi(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function bi(e){return e.ngDebugContext}function ki(e){return e.ngOriginalError}function Ci(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i0&&(e[i-1][4]=r[4]);var a=ln(e,10+t);Ji(r[1],n=r,n[11],2,null,null),n[0]=null,n[6]=null;var s=a[19];null!==s&&s.detachView(a[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function Ni(e,t){if(!(256&t[2])){var n=t[11];Se(n)&&n.destroyNode&&Ji(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return Bi(e[1],e);for(;t;){var n=null;if(ce(t))n=t[13];else{var i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)ce(t)&&Bi(t[1],t),t=t[3];null===t&&(t=e),ce(t)&&Bi(t[1],t),n=t&&t[4]}t=n}}(t)}}function Bi(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var i=0;i=0?i[r=l]():i[r=-l].unsubscribe(),o+=2}else{var c=i[r=n[o+1]];n[o].call(c)}if(null!==i){for(var h=r+1;ho?"":r[c+1].toLowerCase();var f=8&i?h:null;if(f&&-1!==tr(f,l,0)||2&i&&l!==h){if(ar(i))return!1;a=!0}}}}else{if(!a&&!ar(i)&&!ar(u))return!1;if(a&&ar(u))continue;a=!1,i=u|1&i}}return ar(i)||a}function ar(e){return 0==(1&e)}function sr(e,t,n,i){if(null===t)return-1;var r=0;if(i||!n){for(var o=!1;r-1)for(n++;n2&&void 0!==arguments[2]&&arguments[2],i=0;i0?'="'+s+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""===r||ar(a)||(t+=cr(o,r),r=""),i=a,o=o||!ar(i);n++}return""!==r&&(t+=cr(o,r)),t}var fr={};function dr(e){pr(qe(),Ze(),dt()+e,We())}function pr(e,t,n,i){if(!i)if(3==(3&t[2])){var r=e.preOrderCheckHooks;null!==r&&yt(t,r,n)}else{var o=e.preOrderHooks;null!==o&&bt(t,o,0,n)}pt(n)}function vr(e,t){return e<<17|t<<2}function _r(e){return e>>17&32767}function mr(e){return 2|e}function gr(e){return(131068&e)>>2}function yr(e,t){return-131069&e|t<<2}function br(e){return 1|e}function kr(e,t){var n=e.contentQueries;if(null!==n)for(var i=0;i20&&pr(e,t,20,We()),n(i,r)}finally{pt(o)}}function Tr(e,t,n){if(fe(t))for(var i=t.directiveEnd,r=t.directiveStart;r2&&void 0!==arguments[2]?arguments[2]:Pe,i=t.localNames;if(null!==i)for(var r=t.index+1,o=0;o0;){var n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=u&&s.push(u),s.push(i,r,a)}}function Ur(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function jr(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Zr(e,t,n){if(n){if(t.exportAs)for(var i=0;i0&&Wr(n)}}function Wr(e){for(var t=Pi(e);null!==t;t=Ii(t))for(var n=10;n0&&Wr(i)}var o=e[1].components;if(null!==o)for(var a=0;a0&&Wr(s)}}function Qr(e,t){var n=De(t,e),i=n[1];!function(e,t){for(var n=t.length;n1&&void 0!==arguments[1]?arguments[1]:vn;if(t===vn){var n=new Error("NullInjectorError: No provider for ".concat(f(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),po=new nn("Set Injector scope."),vo={},_o={};function mo(){return void 0===co&&(co=new fo),co}function go(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;return new yo(e,n,t||mo(),i)}var yo=function(){function e(t,n,i){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];n&&sn(n,function(e){return r.processProvider(e,t,n)}),sn([t],function(e){return r.processInjectorType(e,[],a)}),this.records.set(ho,Co(void 0,this));var s=this.records.get(po);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:f(t))}return _createClass(e,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:vn,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R.Default;this.assertNotDestroyed();var i,r=gn(this);try{if(!(n&R.SkipSelf)){var o=this.records.get(e);if(void 0===o){var a=("function"==typeof(i=e)||"object"==typeof i&&i instanceof nn)&&x(e);o=a&&this.injectableDefInScope(a)?Co(bo(e),vo):null,this.records.set(e,o)}if(null!=o)return this.hydrate(e,o)}return(n&R.Self?mo():this.parent).get(e,t=n&R.Optional&&t===vn?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(f(e)),r)throw s;return function(e,t,n,i){var r=e.ngTempTokenPath;throw t.__source&&r.unshift(t.__source),e.message=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var r=f(t);if(Array.isArray(t))r=t.map(f).join(" -> ");else if("object"==typeof t){var o=[];for(var a in t)if(t.hasOwnProperty(a)){var s=t[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):f(s)))}r="{".concat(o.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(r,"]: ").concat(e.replace(_n,"\n "))}("\n"+e.message,r,"R3InjectorError",i),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(s,e,0,this.source)}throw s}finally{gn(r)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach(function(t){return e.get(t)})}},{key:"toString",value:function(){var e=[];return this.records.forEach(function(t,n){return e.push(f(n))}),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,n){var i=this;if(!(e=_(e)))return!1;var r=S(e),o=null==r&&e.ngModule||void 0,a=void 0===o?e:o,s=-1!==n.indexOf(a);if(void 0!==o&&(r=S(o)),null==r)return!1;if(null!=r.imports&&!s){var u;n.push(a);try{sn(r.imports,function(e){i.processInjectorType(e,t,n)&&(void 0===u&&(u=[]),u.push(e))})}finally{}if(void 0!==u)for(var l=function(e){var t=u[e],n=t.ngModule,r=t.providers;sn(r,function(e){return i.processProvider(e,n,r||H)})},c=0;c0){var n=cn(t,"?");throw new Error("Can't resolve all parameters for ".concat(f(e),": (").concat(n.join(", "),")."))}var i=function(e){var t=e&&(e[A]||e[P]);if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "').concat(n,'" class.')),t}return null}(e);return null!==i?function(){return i.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function ko(e,t,n){var i,r;if(xo(e)){var o=_(e);return _e(o)||bo(o)}if(wo(e))i=function(){return _(e.useValue)};else if((r=e)&&r.useFactory)i=function(){return e.useFactory.apply(e,_toConsumableArray(Cn(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))i=function(){return bn(_(e.useExisting))};else{var a=_(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return _e(a)||bo(a);i=function(){return _construct(a,_toConsumableArray(Cn(e.deps)))}}return i}function Co(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function wo(e){return null!==e&&"object"==typeof e&&mn in e}function xo(e){return"function"==typeof e}var Eo=function(e,t,n){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0,r=go(e,t,n,i);return r._resolveInjectorDefTypes(),r}({name:n},t,e,n)},So=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?Eo(e,t,""):Eo(e.providers,e.parent,e.name||"")}}]),e}();function Oo(e,t){gt(yi(e)[1],He())}function Ao(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0,i=[e];t;){var r=void 0;if(ve(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");r=t.\u0275dir}if(r){if(n){i.push(r);var o=e;o.inputs=To(e.inputs),o.declaredInputs=To(e.declaredInputs),o.outputs=To(e.outputs);var a=r.hostBindings;a&&Ro(e,a);var s=r.viewQuery,u=r.contentQueries;if(s&&Po(e,s),u&&Io(e,u),h(e.inputs,r.inputs),h(e.declaredInputs,r.declaredInputs),h(e.outputs,r.outputs),ve(r)&&r.data.animation){var l=e.data;l.animation=(l.animation||[]).concat(r.data.animation)}}var c=r.features;if(c)for(var f=0;f=0;i--){var r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=At(r.hostAttrs,n=At(n,r.hostAttrs))}}(i)}function To(e){return e===V?{}:e===H?[]:e}function Po(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,i){t(e,i),n(e,i)}:t}function Io(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,i,r){t(e,i,r),n(e,i,r)}:t}function Ro(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,i){t(e,i),n(e,i)}:t}So.THROW_IF_NOT_FOUND=vn,So.NULL=new fo,So.\u0275prov=C({token:So,providedIn:"any",factory:function(){return bn(ho)}}),So.__NG_ELEMENT_ID__=-1;var Do=null;function Mo(){if(!Do){var e=q.Symbol;if(e&&e.iterator)Do=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n1&&void 0!==arguments[1]?arguments[1]:R.Default,n=Ze();return null===n?bn(e,t):Vt(He(),n,_(e),t)}function zo(e,t,n){var i=Ze();return Bo(i,$e(),t)&&Fr(qe(),vt(),i,e,t,i[11],n,!1),zo}function Yo(e,t,n,i,r){var o=r?"class":"style";so(e,n,t.inputs[o],o,i)}function Go(e,t,n,i){var r=Ze(),o=qe(),a=20+e,s=r[11],u=r[a]=Mi(s,t,Ue.lFrame.currentNamespace),l=o.firstCreatePass?function(e,t,n,i,r,o,a){var s=t.consts,u=wr(t,e,2,r,Fe(s,o));return Nr(t,n,u,Fe(s,a)),null!==u.attrs&&lo(u,u.attrs,!1),null!==u.mergedAttrs&&lo(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(a,o,r,0,t,n,i):o.data[a];Ye(l,!0);var c=l.mergedAttrs;null!==c&&Et(s,u,c);var h=l.classes;null!==h&&er(s,u,h);var f=l.styles;null!==f&&$i(s,u,f),64!=(64&l.flags)&&Yi(o,r,u,l),0===Ue.lFrame.elementDepthCount&&gi(u,r),Ue.lFrame.elementDepthCount++,pe(l)&&(Pr(o,r,l),Tr(o,l,r)),null!==i&&Ir(r,l)}function Ko(){var e=He();Ge()?Ke():Ye(e=e.parent,!1);var t=e;Ue.lFrame.elementDepthCount--;var n=qe();n.firstCreatePass&&(gt(n,e),fe(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Yo(n,t,Ze(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Yo(n,t,Ze(),t.stylesWithoutHost,!1)}function Wo(e,t,n,i){Go(e,t,n,i),Ko()}function Qo(e,t,n){var i=Ze(),r=qe(),o=e+20,a=r.firstCreatePass?function(e,t,n,i,r){var o=t.consts,a=Fe(o,i),s=wr(t,e,8,"ng-container",a);return null!==a&&lo(s,a,!0),Nr(t,n,s,Fe(o,r)),null!==t.queries&&t.queries.elementStart(t,s),s}(o,r,i,t,n):r.data[o];Ye(a,!0);var s=i[o]=i[11].createComment("");Yi(r,i,s,a),gi(s,i),pe(a)&&(Pr(r,i,a),Tr(r,a,i)),null!=n&&Ir(i,a)}function Jo(){var e=He(),t=qe();Ge()?Ke():Ye(e=e.parent,!1),t.firstCreatePass&&(gt(t,e),fe(e)&&t.queries.elementEnd(e))}function Xo(){return Ze()}function $o(e){return!!e&&"function"==typeof e.then}function ea(e){return!!e&&"function"==typeof e.subscribe}var ta=ea;function na(e,t,n,i){var r=Ze(),o=qe(),a=He();return ra(o,r,r[11],a,e,t,!!n,i),na}function ia(e,t){var n=He(),i=Ze(),r=qe();return ra(r,i,oo(nt(r.data),n,i),n,e,t,!1),ia}function ra(e,t,n,i,r,o,a,s){var u=pe(i),l=e.firstCreatePass&&ro(e),c=io(t),h=!0;if(3&i.type||s){var f=Pe(i,t),d=s?s(f):f,p=c.length,v=s?function(e){return s(Ae(e[i.index]))}:i.index;if(Se(n)){var _=null;if(!s&&u&&(_=function(e,t,n,i){var r=e.cleanup;if(null!=r)for(var o=0;ou?s[u]:null}"string"==typeof a&&(o+=2)}return null}(e,t,r,i.index)),null!==_)(_.__ngLastListenerFn__||_).__ngNextListenerFn__=o,_.__ngLastListenerFn__=o,h=!1;else{o=aa(i,t,0,o,!1);var m=n.listen(d,r,o);c.push(o,m),l&&l.push(r,v,p,p+1)}}else o=aa(i,t,0,o,!0),d.addEventListener(r,o,a),c.push(o),l&&l.push(r,v,p,a)}else o=aa(i,t,0,o,!1);var g,y=i.outputs;if(h&&null!==y&&(g=y[r])){var b=g.length;if(b)for(var k=0;k0&&void 0!==arguments[0]?arguments[0]:1;return function(e){return(Ue.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Ue.lFrame.contextLView))[8]}(e)}function ua(e,t){for(var n=null,i=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=Ze(),r=qe(),o=wr(r,20+e,16,null,n||null);null===o.projection&&(o.projection=t),Ke(),64!=(64&o.flags)&&function(e,t,n){Xi(t[11],0,t,n,Ui(e,n,t),Hi(n.parent||t[6],n,t))}(r,i,o)}function ha(e,t,n){return fa(e,"",t,"",n),ha}function fa(e,t,n,i,r){var o=Ze(),a=Zo(o,t,n,i);return a!==fr&&Fr(qe(),vt(),o,e,a,o[11],r,!1),fa}function da(e,t,n,i,r){for(var o=e[n+1],a=null===t,s=i?_r(o):gr(o),u=!1;0!==s&&(!1===u||a);){var l=e[s+1];pa(e[s],t)&&(u=!0,e[s+1]=i?br(l):mr(l)),s=i?_r(l):gr(l)}u&&(e[n+1]=i?mr(o):br(o))}function pa(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&dn(e,t)>=0}var va={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function _a(e){return e.substring(va.key,va.keyEnd)}function ma(e,t){var n=va.textEnd;return n===t?-1:(t=va.keyEnd=function(e,t,n){for(;t32;)t++;return t}(e,va.key=t,n),ga(e,t,n))}function ga(e,t,n){for(;t=0;n=ma(t,n))hn(e,_a(t),!0)}function wa(e,t,n,i){var r=Ze(),o=qe(),a=et(2);o.firstUpdatePass&&Sa(o,e,a,i),t!==fr&&Bo(r,a,t)&&Ta(o,o.data[dt()],r,r[11],e,r[a+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=f(Nn(e)))),e}(t,n),i,a)}function xa(e,t,n,i){var r=qe(),o=et(2);r.firstUpdatePass&&Sa(r,null,o,i);var a=Ze();if(n!==fr&&Bo(a,o,n)){var s=r.data[dt()];if(Ra(s,i)&&!Ea(r,o)){var u=i?s.classesWithoutHost:s.stylesWithoutHost;null!==u&&(n=d(u,n||"")),Yo(r,s,a,n,i)}else!function(e,t,n,i,r,o,a,s){r===fr&&(r=H);for(var u=0,l=0,c=0=e.expandoStartIndex}function Sa(e,t,n,i){var r=e.data;if(null===r[n+1]){var o=r[dt()],a=Ea(e,n);Ra(o,i)&&null===t&&!a&&(t=!1),t=function(e,t,n,i){var r=nt(e),o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Aa(n=Oa(null,e,t,n,i),t.attrs,i),o=null);else{var a=t.directiveStylingLast;if(-1===a||e[a]!==r)if(n=Oa(r,e,t,n,i),null===o){var s=function(e,t,n){var i=n?t.classBindings:t.styleBindings;if(0!==gr(i))return e[_r(i)]}(e,t,i);void 0!==s&&Array.isArray(s)&&function(e,t,n,i){e[_r(n?t.classBindings:t.styleBindings)]=i}(e,t,i,s=Aa(s=Oa(null,e,t,s[1],i),t.attrs,i))}else o=function(e,t,n){for(var i,r=t.directiveEnd,o=1+t.directiveStylingLast;o0)&&(c=!0)}else l=n;if(r)if(0!==u){var f=_r(e[s+1]);e[i+1]=vr(f,s),0!==f&&(e[f+1]=yr(e[f+1],i)),e[s+1]=131071&e[s+1]|i<<17}else e[i+1]=vr(s,0),0!==s&&(e[s+1]=yr(e[s+1],i)),s=i;else e[i+1]=vr(u,0),0===s?s=i:e[u+1]=yr(e[u+1],i),u=i;c&&(e[i+1]=mr(e[i+1])),da(e,l,i,!0),da(e,l,i,!1),function(e,t,n,i,r){var o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&dn(o,t)>=0&&(n[i+1]=br(n[i+1]))}(t,l,e,i,o),a=vr(s,u),o?t.classBindings=a:t.styleBindings=a}(r,o,t,n,a,i)}}function Oa(e,t,n,i,r){var o=null,a=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s0;){var u=e[r],l=Array.isArray(u),c=l?u[1]:u,h=null===c,f=n[r+1];f===fr&&(f=h?H:void 0);var d=h?fn(f,i):c===i?f:void 0;if(l&&!Ia(d)&&(d=fn(u,i)),Ia(d)&&(a=d,s))return a;var p=e[r+1];r=s?_r(p):gr(p)}if(null!==t){var v=o?t.residualClasses:t.residualStyles;null!=v&&(a=fn(v,i))}return a}function Ia(e){return void 0!==e}function Ra(e,t){return 0!=(e.flags&(t?16:32))}function Da(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Ze(),i=qe(),r=e+20,o=i.firstCreatePass?wr(i,r,1,t,null):i.data[r],a=n[r]=function(e,t){return Se(e)?e.createText(t):e.createTextNode(t)}(n[11],t);Yi(i,n,a,o),Ye(o,!1)}function Ma(e){return La("",e,""),Ma}function La(e,t,n){var i=Ze(),r=Zo(i,e,t,n);return r!==fr&&uo(i,dt(),r),La}function Fa(e,t,n,i,r){var o=Ze(),a=function(e,t,n,i,r,o){var a=Uo(e,Xe(),n,r);return et(2),a?t+y(n)+i+y(r)+o:fr}(o,e,t,n,i,r);return a!==fr&&uo(o,dt(),a),Fa}function Na(e,t,n,i,r,o,a){var s=Ze(),u=function(e,t,n,i,r,o,a,s){var u=function(e,t,n,i,r){var o=Uo(e,t,n,i);return Bo(e,t+2,r)||o}(e,Xe(),n,r,a);return et(3),u?t+y(n)+i+y(r)+o+y(a)+s:fr}(s,e,t,n,i,r,o,a);return u!==fr&&uo(s,dt(),u),Na}function Ba(e,t,n){xa(hn,Ca,Zo(Ze(),e,t,n),!0)}function Ua(e,t,n){var i=Ze();return Bo(i,$e(),t)&&Fr(qe(),vt(),i,e,t,i[11],n,!0),Ua}function ja(e,t,n){var i=Ze();if(Bo(i,$e(),t)){var r=qe(),o=vt();Fr(r,o,i,e,t,oo(nt(r.data),o,i),n,!0)}return ja}var Za=void 0,qa=["en",[["a","p"],["AM","PM"],Za],[["AM","PM"],Za,Za],[["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"]],Za,[["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"]],Za,[["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}",Za,"{1} 'at' {0}",Za],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],Va={};function Ha(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=Ya(t);if(n)return n;var i=t.split("-")[0];if(n=Ya(i))return n;if("en"===i)return qa;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}function za(e){return Ha(e)[Ga.PluralCase]}function Ya(e){return e in Va||(Va[e]=q.ng&&q.ng.common&&q.ng.common.locales&&q.ng.common.locales[e]),Va[e]}var Ga=((Ga=Ga||{})[Ga.LocaleId=0]="LocaleId",Ga[Ga.DayPeriodsFormat=1]="DayPeriodsFormat",Ga[Ga.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ga[Ga.DaysFormat=3]="DaysFormat",Ga[Ga.DaysStandalone=4]="DaysStandalone",Ga[Ga.MonthsFormat=5]="MonthsFormat",Ga[Ga.MonthsStandalone=6]="MonthsStandalone",Ga[Ga.Eras=7]="Eras",Ga[Ga.FirstDayOfWeek=8]="FirstDayOfWeek",Ga[Ga.WeekendRange=9]="WeekendRange",Ga[Ga.DateFormat=10]="DateFormat",Ga[Ga.TimeFormat=11]="TimeFormat",Ga[Ga.DateTimeFormat=12]="DateTimeFormat",Ga[Ga.NumberSymbols=13]="NumberSymbols",Ga[Ga.NumberFormats=14]="NumberFormats",Ga[Ga.CurrencyCode=15]="CurrencyCode",Ga[Ga.CurrencySymbol=16]="CurrencySymbol",Ga[Ga.CurrencyName=17]="CurrencyName",Ga[Ga.Currencies=18]="Currencies",Ga[Ga.Directionality=19]="Directionality",Ga[Ga.PluralCase=20]="PluralCase",Ga[Ga.ExtraData=21]="ExtraData",Ga);function Ka(e){var t;null==(t=e)&&function(e,t,n,i){throw new Error("ASSERTION ERROR: ".concat("Expected localeId to be defined"," [Expected=> null != ").concat(t," <=Actual]"))}(0,t),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}function Wa(e,t,n,i,r){if(e=_(e),Array.isArray(e))for(var o=0;o>20;if(xo(e)||!e.multi){var p=new xt(l,r,Ho),v=Xa(u,t,r?h:h+d,f);-1===v?(jt(Ft(c,s),a,u),Qa(a,e,t.length),t.push(u),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(p),s.push(p)):(n[v]=p,s[v]=p)}else{var m=Xa(u,t,h+d,f),g=Xa(u,t,h,h+d),y=m>=0&&n[m],b=g>=0&&n[g];if(r&&!b||!r&&!y){jt(Ft(c,s),a,u);var k=function(e,t,n,i,r){var o=new xt(e,n,Ho);return o.multi=[],o.index=t,o.componentProviders=0,Ja(o,r,i&&!n),o}(r?es:$a,n.length,r,i,l);!r&&b&&(n[g].providerFactory=k),Qa(a,e,t.length,0),t.push(u),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(k),s.push(k)}else Qa(a,e,m>-1?m:g,Ja(n[r?g:m],l,!r&&i));!r&&i&&b&&n[g].componentProviders++}}}function Qa(e,t,n,i){var r=xo(t);if(r||t.useClass){var o=(t.useClass||t).prototype.ngOnDestroy;if(o){var a=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){var s=a.indexOf(n);-1===s?a.push(n,[i,o]):a[s+1].push(i,o)}else a.push(n,o)}}}function Ja(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Xa(e,t,n,i){for(var r=n;r1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,i){return function(e,t,n){var i=qe();if(i.firstCreatePass){var r=ve(e);Wa(n,i.data,i.blueprint,r,!0),Wa(t,i.data,i.blueprint,r,!1)}}(n,i?i(e):e,t)}}}var is=function e(){_classCallCheck(this,e)},rs=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(f(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),os=function e(){_classCallCheck(this,e)};function as(){}function ss(e,t){return new ls(Pe(e,t))}os.NULL=new rs;var us=function(){return ss(He(),Ze())},ls=function(){var e=function e(t){_classCallCheck(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=us,e}();function cs(e){return e instanceof ls?e.nativeElement:e}var hs=function e(){_classCallCheck(this,e)},fs=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return ds()},e}(),ds=function(){var e=Ze(),t=De(He().index,e);return function(e){return e[11]}(ce(t)?t:e)},ps=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275prov=C({token:e,providedIn:"root",factory:function(){return null}}),e}(),vs=function e(t){_classCallCheck(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},_s=new vs("12.1.0"),ms=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"supports",value:function(e){return Fo(e)}},{key:"create",value:function(e){return new ys(e)}}]),e}(),gs=function(e,t){return t},ys=function(){function e(t){_classCallCheck(this,e),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||gs}return _createClass(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,i=0,r=null;t||n;){var o=!n||t&&t.currentIndex4&&void 0!==arguments[4]&&arguments[4];null!==n;){var o=t[n.index];if(null!==o&&i.push(Ae(o)),he(o))for(var a=10;a-1&&(Fi(e,n),ln(t,n))}this._attachedToViewContainer=!1}Ni(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){Mr(this._lView[1],this._lView,null,e)}},{key:"markForCheck",value:function(){Xr(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){$r(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){Qe(!0);try{$r(e,t,n)}finally{Qe(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,Ji(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}]),e}(),Ds=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this,e))._view=e,i}return _createClass(n,[{key:"detectChanges",value:function(){eo(this._view)}},{key:"checkNoChanges",value:function(){!function(e){Qe(!0);try{eo(e)}finally{Qe(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(Rs),Ms=function(e){return function(e,t,n){if(de(e)&&!n){var i=De(e.index,t);return new Rs(i,i)}return 47&e.type?new Rs(t[16],t):null}(He(),Ze(),16==(16&e))},Ls=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=Ms,e}(),Fs=[new xs],Ns=new As([new ms]),Bs=new Ps(Fs),Us=function(){return qs(He(),Ze())},js=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=Us,e}(),Zs=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this))._declarationLView=e,o._declarationTContainer=i,o.elementRef=r,o}return _createClass(n,[{key:"createEmbeddedView",value:function(e){var t=this._declarationTContainer.tViews,n=Cr(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];var i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),Er(t,n,e),new Rs(n)}}]),n}(js);function qs(e,t){return 4&e.type?new Zs(t,e,ss(e,t)):null}var Vs=function e(){_classCallCheck(this,e)},Hs=function e(){_classCallCheck(this,e)},zs=function(){return Qs(He(),Ze())},Ys=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=zs,e}(),Gs=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this))._lContainer=e,o._hostTNode=i,o._hostLView=r,o}return _createClass(n,[{key:"element",get:function(){return ss(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new Jt(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var e=Ut(this._hostTNode,this._hostLView);if(Pt(e)){var t=Rt(e,this._hostLView),n=It(e);return new Jt(t[1].data[n+8],t)}return new Jt(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){var t=Ks(this._lContainer);return null!==t&&t[e]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(e,t,n){var i=e.createEmbeddedView(t||{});return this.insert(i,n),i}},{key:"createComponent",value:function(e,t,n,i,r){var o=n||this.parentInjector;if(!r&&null==e.ngModule&&o){var a=o.get(Vs,null);a&&(r=a)}var s=e.create(o,i,void 0,r);return this.insert(s.hostView,t),s}},{key:"insert",value:function(e,t){var i=e._lView,r=i[1];if(he(i[3])){var o=this.indexOf(e);if(-1!==o)this.detach(o);else{var a=i[3],s=new n(a,a[6],a[3]);s.detach(s.indexOf(e))}}var u=this._adjustIndex(t),l=this._lContainer;!function(e,t,n,i){var r=10+i,o=n.length;i>0&&(n[r-1][4]=t),i1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}}]),n}(Ys);function Ks(e){return e[8]}function Ws(e){return e[8]||(e[8]=[])}function Qs(e,t){var n,i=t[e.index];if(he(i))n=i;else{var r;if(8&e.type)r=Ae(i);else{var o=t[11];r=o.createComment("");var a=Pe(e,t);ji(o,Vi(o,a),r,function(e,t){return Se(e)?e.nextSibling(t):t.nextSibling}(o,a),!1)}t[e.index]=n=Gr(i,t,r,e),Jr(t,n)}return new Gs(n,e,t)}var Js={},Xs=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this)).ngModule=e,i}return _createClass(n,[{key:"resolveComponentFactory",value:function(e){var t=ue(e);return new tu(t,this.ngModule)}}]),n}(os);function $s(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var eu=new nn("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return xi}}),tu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this)).componentDef=e,r.ngModule=i,r.componentType=e.type,r.selector=e.selectors.map(hr).join(","),r.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],r.isBoundToModule=!!i,r}return _createClass(n,[{key:"inputs",get:function(){return $s(this.componentDef.inputs)}},{key:"outputs",get:function(){return $s(this.componentDef.outputs)}},{key:"create",value:function(e,t,n,i){var r,o,a=(i=i||this.ngModule)?function(e,t){return{get:function(n,i,r){var o=e.get(n,Js,r);return o!==Js||i===Js?o:t.get(n,i,r)}}}(e,i.injector):e,s=a.get(hs,Oe),u=a.get(ps,null),l=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",h=n?function(e,t,n){if(Se(e))return e.selectRootElement(t,n===N.ShadowDom);var i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(l,n,this.componentDef.encapsulation):Mi(s.createRenderer(null,this.componentDef),c,function(e){var t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(c)),f=this.componentDef.onPush?576:528,d={components:[],scheduler:xi,clean:no,playerHandler:null,flags:0},p=Dr(0,null,null,1,0,null,null,null,null,null),v=Cr(null,p,d,f,null,null,s,l,u,a);st(v);try{var _=function(e,t,n,i,r,o){var a=n[1];n[20]=e;var s=wr(a,20,2,"#host",null),u=s.mergedAttrs=t.hostAttrs;null!==u&&(lo(s,u,!0),null!==e&&(Et(r,e,u),null!==s.classes&&er(r,e,s.classes),null!==s.styles&&$i(r,e,s.styles)));var l=i.createRenderer(e,t),c=Cr(n,Rr(t),null,t.onPush?64:16,n[20],s,i,l,null,null);return a.firstCreatePass&&(jt(Ft(s,n),a,t.type),jr(a,s),qr(s,n.length,1)),Jr(n,c),n[20]=c}(h,this.componentDef,v,s,l);if(h)if(n)Et(l,h,["ng-version",_s.full]);else{var m=function(e){for(var t=[],n=[],i=1,r=2;i0&&er(l,h,y.join(" "))}if(o=Ie(p,20),void 0!==t)for(var b=o.projection=[],k=0;k1&&void 0!==arguments[1]?arguments[1]:So.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R.Default;return e===So||e===Vs||e===ho?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),n}(Vs),ou=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i,r,o;return _classCallCheck(this,n),(i=t.call(this)).moduleType=e,null!==le(e)&&(r=e,o=new Set,function e(t){var n=le(t,!0),i=n.id;null!==i&&(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(f(t)," vs ").concat(f(t.name)))}(i,iu.get(i),t),iu.set(i,t));var r,a=_createForOfIteratorHelper(Si(n.imports));try{for(a.s();!(r=a.n()).done;){var s=r.value;o.has(s)||(o.add(s),e(s))}}catch(u){a.e(u)}finally{a.f()}}(r)),i}return _createClass(n,[{key:"create",value:function(e){return new ru(this.moduleType,e)}}]),n}(Hs);function au(e,t,n,i){return su(Ze(),Je(),e,t,n,i)}function su(e,t,n,i,r,o){var a=t+n;return Bo(e,a,r)?function(e,t,n){return e[t]=n}(e,a+1,o?i.call(o,r):i(r)):function(e,t){var n=e[t];return n===fr?void 0:n}(e,a+1)}function uu(e,t){var n,i=qe(),r=e+20;i.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var i=t[n];if(e===i.name)return i}throw new g("302","The pipe '".concat(e,"' could not be found!"))}(t,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(r,n.onDestroy)):n=i.data[r];var o=n.factory||(n.factory=_e(n.type)),a=D(Ho);try{var s=Mt(!1),u=o();return Mt(s),function(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(i,Ze(),r,u),u}finally{D(a)}}function lu(e,t,n){var i=e+20,r=Ze(),o=Re(r,i);return function(e,t){return Lo.isWrapped(t)&&(t=Lo.unwrap(t),e[Xe()]=fr),t}(r,function(e,t){return e[1].data[t].pure}(r,i)?su(r,Je(),t,o.transform,n,o):o.transform(n))}function cu(e){return function(t){setTimeout(e,void 0,t)}}var hu=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _classCallCheck(this,n),(e=t.call(this)).__isAsync=i,e}return _createClass(n,[{key:"emit",value:function(e){_get(_getPrototypeOf(n.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,i){var o,a,s,u=e,l=t||function(){return null},c=i;if(e&&"object"==typeof e){var h=e;u=null===(o=h.next)||void 0===o?void 0:o.bind(h),l=null===(a=h.error)||void 0===a?void 0:a.bind(h),c=null===(s=h.complete)||void 0===s?void 0:s.bind(h)}this.__isAsync&&(l=cu(l),u&&(u=cu(u)),c&&(c=cu(c)));var f=_get(_getPrototypeOf(n.prototype),"subscribe",this).call(this,{next:u,error:l,complete:c});return e instanceof r.w&&e.add(f),f}}]),n}(i.xQ);function fu(){return this._results[Mo()]()}var du=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];_classCallCheck(this,e),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;var n=Mo(),i=e.prototype;i[n]||(i[n]=fu)}return _createClass(e,[{key:"changes",get:function(){return this._changes||(this._changes=new hu)}},{key:"get",value:function(e){return this._results[e]}},{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e,t){this.dirty=!1;var n=an(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[],o=0;o2&&void 0!==arguments[2]?arguments[2]:null;_classCallCheck(this,e),this.predicate=t,this.flags=n,this.read=i},mu=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"elementStart",value:function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:-1;_classCallCheck(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return _createClass(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){var n=this.metadata.predicate;if(Array.isArray(n))for(var i=0;i0)i.push(a[s/2]);else{for(var l=o[s+1],c=t[-u],h=10;h0&&(r=setTimeout(function(){i._callbacks=i._callbacks.filter(function(e){return e.timeoutId!==r}),e(i._didWork,i.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}},{key:"whenStable",value:function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(bn(Ju))},e.\u0275prov=C({token:e,factory:e.\u0275fac}),e}(),ol=function(){var e=function(){function e(){_classCallCheck(this,e),this._applications=new Map,ul.addToWindow(this)}return _createClass(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return ul.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac}),e}();function al(e){ul=e}var sl,ul=new(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),ll=!0,cl=!1;function hl(){return cl=!0,ll}function fl(){if(cl)throw new Error("Cannot enable prod mode after platform setup.");ll=!1}var dl=new nn("AllowMultipleToken"),pl=function e(t,n){_classCallCheck(this,e),this.name=t,this.token=n};function vl(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i="Platform: ".concat(t),r=new nn(i);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=_l();if(!o||o.injector.get(dl,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{var a=n.concat(t).concat({provide:r,useValue:!0},{provide:po,useValue:"platform"});!function(e){if(sl&&!sl.destroyed&&!sl.injector.get(dl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");sl=e.get(ml);var t=e.get(Lu,null);t&&t.forEach(function(e){return e()})}(So.create({providers:a,name:i}))}return function(e){var t=_l();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(r)}}function _l(){return sl&&!sl.destroyed?sl:null}var ml=function(){var e=function(){function e(t){_classCallCheck(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return _createClass(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,i,r=this,o=(n=t?t.ngZone:void 0,i={ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1},"noop"===n?new il:("zone.js"===n?void 0:n)||new Ju({enableLongStackTrace:hl(),shouldCoalesceEventChangeDetection:!!(null==i?void 0:i.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==i?void 0:i.ngZoneRunCoalescing)})),a=[{provide:Ju,useValue:o}];return o.run(function(){var t=So.create({providers:a,parent:r.injector,name:e.moduleType.name}),n=e.create(t),i=n.injector.get(wi,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.runOutsideAngular(function(){var e=o.onError.subscribe({next:function(e){i.handleError(e)}});n.onDestroy(function(){bl(r._modules,n),e.unsubscribe()})}),function(e,t,i){try{var o=((a=n.injector.get(Iu)).runInitializers(),a.donePromise.then(function(){return Ka(n.injector.get(Uu,"en-US")||"en-US"),r._moduleDoBootstrap(n),n}));return $o(o)?o.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):o}catch(s){throw t.runOutsideAngular(function(){return e.handleError(s)}),s}var a}(i,o)})}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=gl({},n);return function(e,t,n){var i=new ou(n);return Promise.resolve(i)}(0,0,e).then(function(e){return t.bootstrapModuleFactory(e,i)})}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(yl);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(f(e.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.'));e.instance.ngDoBootstrap(t)}this._modules.push(e)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)(bn(So))},e.\u0275prov=C({token:e,factory:e.\u0275fac}),e}();function gl(e,t){return Array.isArray(t)?t.reduce(gl,e):Object.assign(Object.assign({},e),t)}var yl=function(){var e=function(){function e(t,n,i,r,c){var h=this;_classCallCheck(this,e),this._zone=t,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=c,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){h._zone.run(function(){h.tick()})}});var f=new o.y(function(e){h._stable=h._zone.isStable&&!h._zone.hasPendingMacrotasks&&!h._zone.hasPendingMicrotasks,h._zone.runOutsideAngular(function(){e.next(h._stable),e.complete()})}),d=new o.y(function(e){var t;h._zone.runOutsideAngular(function(){t=h._zone.onStable.subscribe(function(){Ju.assertNotInAngularZone(),Qu(function(){h._stable||h._zone.hasPendingMacrotasks||h._zone.hasPendingMicrotasks||(h._stable=!0,e.next(!0))})})});var n=h._zone.onUnstable.subscribe(function(){Ju.assertInAngularZone(),h._stable&&(h._stable=!1,h._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=(0,a.T)(f,d.pipe(function(e){return(0,u.x)()((t=l,function(e){var n;n="function"==typeof t?t:function(){return t};var i=Object.create(e,s.N);return i.source=e,i.subjectFactory=n,i})(e));var t}))}return _createClass(e,[{key:"bootstrap",value:function(e,t){var n,i=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof is?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var r=n.isBoundToModule?void 0:this._injector.get(Vs),o=n.create(So.NULL,[],t||n.selector,r),a=o.location.nativeElement,s=o.injector.get(rl,null),u=s&&o.injector.get(ol);return s&&u&&u.registerApplication(a,s),o.onDestroy(function(){i.detachView(o.hostView),bl(i.components,o),u&&u.unregisterApplication(a)}),this._loadComponent(o),o}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t,n=_createForOfIteratorHelper(this._views);try{for(n.s();!(t=n.n()).done;){t.value.detectChanges()}}catch(i){n.e(i)}finally{n.f()}}catch(r){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(r)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;bl(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Nu,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(e){return e.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),e}();return e.\u0275fac=function(t){return new(t||e)(bn(Ju),bn(So),bn(wi),bn(os),bn(Iu))},e.\u0275prov=C({token:e,factory:e.\u0275fac}),e}();function bl(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var kl=function e(){_classCallCheck(this,e)},Cl=function e(){_classCallCheck(this,e)},wl={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},xl=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._compiler=t,this._config=n||wl}return _createClass(e,[{key:"load",value:function(e){return this.loadAndCompile(e)}},{key:"loadAndCompile",value:function(e){var t=this,i=_slicedToArray(e.split("#"),2),r=i[0],o=i[1];return void 0===o&&(o="default"),n(8255)(r).then(function(e){return e[o]}).then(function(e){return El(e,r,o)}).then(function(e){return t._compiler.compileModuleAsync(e)})}},{key:"loadFactory",value:function(e){var t=_slicedToArray(e.split("#"),2),i=t[0],r=t[1],o="NgFactory";return void 0===r&&(r="default",o=""),n(8255)(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then(function(e){return e[r+o]}).then(function(e){return El(e,i,r)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(bn(Ku),bn(Cl,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac}),e}();function El(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}var Sl=function(e){return null},Ol=vl(null,"core",[{provide:Fu,useValue:"unknown"},{provide:ml,deps:[So]},{provide:ol,deps:[]},{provide:Bu,deps:[]}]),Al=[{provide:yl,useClass:yl,deps:[Ju,So,wi,os,Iu]},{provide:eu,deps:[Ju],useFactory:function(e){var t=[];return e.onStable.subscribe(function(){for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Iu,useClass:Iu,deps:[[new On,Pu]]},{provide:Ku,useClass:Ku,deps:[]},Du,{provide:As,useFactory:function(){return Ns},deps:[]},{provide:Ps,useFactory:function(){return Bs},deps:[]},{provide:Uu,useFactory:function(e){return Ka(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new Sn(Uu),new On,new An]]},{provide:ju,useValue:"USD"}],Tl=function(){var e=function e(t){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)(bn(yl))},e.\u0275mod=ie({type:e}),e.\u0275inj=w({providers:Al}),e}()},665:function(e,t,n){"use strict";n.d(t,{Zs:function(){return te},sg:function(){return J},u5:function(){return ie},Cf:function(){return h},JU:function(){return c},a5:function(){return E},JL:function(){return S},F:function(){return G},_Y:function(){return K}});var i=n(3018),r=(n(8583),n(7574)),o=n(9796),a=n(8002),s=n(1555),u=n(4402);function l(e,t){return new r.y(function(n){var i=e.length;if(0!==i)for(var r=new Array(i),o=0,a=0,s=function(s){var l=(0,u.D)(e[s]),c=!1;n.add(l.subscribe({next:function(e){c||(c=!0,a++),r[s]=e},error:function(e){return n.error(e)},complete:function(){++o!==i&&c||(a===i&&n.next(t?t.reduce(function(e,t,n){return e[t]=r[n],e},{}):r),n.complete())}}))},l=0;l0){var r=i.filter(function(e){return e!==t.validator});r.length!==i.length&&(n=!0,e.setValidators(r))}}if(null!==t.asyncValidator){var o=C(e);if(Array.isArray(o)&&o.length>0){var a=o.filter(function(e){return e!==t.asyncValidator});a.length!==o.length&&(n=!0,e.setAsyncValidators(a))}}}var s=function(){};return T(t._rawValidators,s),T(t._rawAsyncValidators,s),n}function R(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function D(e,t){P(e,t)}function M(e,t){e._syncPendingControls(),t.forEach(function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function L(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function F(e){return(j(e)?e.validators:e)||null}function N(e){return Array.isArray(e)?g(e):e||null}function B(e,t){return(j(t)?t.asyncValidators:e)||null}function U(e){return Array.isArray(e)?y(e):e||null}function j(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var Z=function(){function e(t,n){_classCallCheck(this,e),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=N(this._rawValidators),this._composedAsyncValidatorFn=U(this._rawAsyncValidators)}return _createClass(e,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(e){this._rawValidators=this._composedValidatorFn=e}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"setValidators",value:function(e){this._rawValidators=e,this._composedValidatorFn=N(e)}},{key:"setAsyncValidators",value:function(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=U(e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(e){return e.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(e){e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(e){e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(function(t){t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!0)})}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(function(t){t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!1)})}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(t){return t._updateTreeValidity(e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;var n=p(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){t._hasOwnPendingAsyncValidator=!1,t.setErrors(n,{emitEvent:e})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;var i=e;return t.forEach(function(e){i=i instanceof V?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof H&&i.at(e)||null}),i}(this,e)}},{key:"getError",value:function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}},{key:"hasError",value:function(e,t){return!!this.getError(e,t)}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}},{key:"_updateControlsErrors",value:function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}},{key:"_initObservables",value:function(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(e){return this._anyControls(function(t){return t.status===e})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(e){return e.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(e){return e.touched})}},{key:"_updatePristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"_updateTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"_isBoxedValue",value:function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}},{key:"_registerOnCollectionChange",value:function(e){this._onCollectionChange=e}},{key:"_setUpdateStrategy",value:function(e){j(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),e}(),q=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return _classCallCheck(this,n),(e=t.call(this,F(r),B(o,r)))._onChange=[],e._applyFormState(i),e._setUpdateStrategy(r),e._initObservables(),e.updateValueAndValidity({onlySelf:!0,emitEvent:!!e.asyncValidator}),e}return _createClass(n,[{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(function(e){return e(t.value,!1!==n.emitViewToModelChange)}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(e,t)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(e){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(e){this._onChange.push(e)}},{key:"_unregisterOnChange",value:function(e){L(this._onChange,e)}},{key:"registerOnDisabledChange",value:function(e){this._onDisabledChange.push(e)}},{key:"_unregisterOnDisabledChange",value:function(e){L(this._onDisabledChange,e)}},{key:"_forEachChild",value:function(e){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}]),n}(Z),V=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,F(i),B(r,i))).controls=e,o._initObservables(),o._setUpdateStrategy(i),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!o.asyncValidator}),o}return _createClass(n,[{key:"registerControl",value:function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}},{key:"addControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),Object.keys(e).forEach(function(i){t._throwIfControlMissing(i),t.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=e&&(Object.keys(e).forEach(function(i){t.controls[i]&&t.controls[i].patchValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(e,t,n){return e[n]=t instanceof q?t.value:t.getRawValue(),e})}},{key:"_syncPendingControls",value:function(){var e=this._reduceChildren(!1,function(e,t){return!!t._syncPendingControls()||e});return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: ".concat(e,"."))}},{key:"_forEachChild",value:function(e){var t=this;Object.keys(this.controls).forEach(function(n){var i=t.controls[n];i&&e(i,n)})}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild(function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(e){for(var t=0,n=Object.keys(this.controls);t0||this.disabled}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))})}}]),n}(Z),H=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,F(i),B(r,i))).controls=e,o._initObservables(),o._setUpdateStrategy(i),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!o.asyncValidator}),o}return _createClass(n,[{key:"at",value:function(e){return this.controls[e]}},{key:"push",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent})}},{key:"removeAt",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}},{key:"setControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),e.forEach(function(e,i){t._throwIfControlMissing(i),t.at(i).setValue(e,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=e&&(e.forEach(function(e,i){t.at(i)&&t.at(i).patchValue(e,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this.controls.map(function(e){return e instanceof q?e.value:e.getRawValue()})}},{key:"clear",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(e){return e._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}},{key:"_syncPendingControls",value:function(){var e=this.controls.reduce(function(e,t){return!!t._syncPendingControls()||e},!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index ".concat(e))}},{key:"_forEachChild",value:function(e){this.controls.forEach(function(t,n){e(t,n)})}},{key:"_updateValue",value:function(){var e=this;this.value=this.controls.filter(function(t){return t.enabled||e.disabled}).map(function(e){return e.value})}},{key:"_anyControls",value:function(e){return this.controls.some(function(t){return t.enabled&&e(t)})}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild(function(t){return e._registerControl(t)})}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))})}},{key:"_allControlsDisabled",value:function(){var e,t=_createForOfIteratorHelper(this.controls);try{for(t.s();!(e=t.n()).done;){if(e.value.enabled)return!1}}catch(n){t.e(n)}finally{t.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}]),n}(Z),z={provide:x,useExisting:(0,i.Gpc)(function(){return G})},Y=Promise.resolve(null),G=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this)).submitted=!1,o._directives=[],o.ngSubmit=new i.vpe,o.form=new V({},g(e),y(r)),o}return _createClass(n,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}},{key:"addControl",value:function(e){var t=this;Y.then(function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),O(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)})}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){var t=this;Y.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),L(t._directives,e)})}},{key:"addFormGroup",value:function(e){var t=this;Y.then(function(){var n=t._findContainer(e.path),i=new V({});D(i,e),n.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(e){var t=this;Y.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)})}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){var n=this;Y.then(function(){n.form.get(e.path).setValue(t)})}},{key:"setValue",value:function(e){this.control.setValue(e)}},{key:"onSubmit",value:function(e){return this.submitted=!0,M(this.form,this._directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(e){return e.pop(),e.length?this.form.get(e):this.form}}]),n}(x);return e.\u0275fac=function(t){return new(t||e)(i.Y36(h,10),i.Y36(f,10))},e.\u0275dir=i.lG2({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([z]),i.qOj]}),e}(),K=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.lG2({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e}(),W=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({}),e}(),Q={provide:x,useExisting:(0,i.Gpc)(function(){return J})},J=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this)).validators=e,o.asyncValidators=r,o.submitted=!1,o._onCollectionChange=function(){return o._updateDomValue()},o.directives=[],o.form=null,o.ngSubmit=new i.vpe,o._setValidators(e),o._setAsyncValidators(r),o}return _createClass(n,[{key:"ngOnChanges",value:function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(I(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(e){var t=this.form.get(e.path);return O(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){A(e.control||null,e,!1),L(this.directives,e)}},{key:"addFormGroup",value:function(e){this._setUpFormContainer(e)}},{key:"removeFormGroup",value:function(e){this._cleanUpFormContainer(e)}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"addFormArray",value:function(e){this._setUpFormContainer(e)}},{key:"removeFormArray",value:function(e){this._cleanUpFormContainer(e)}},{key:"getFormArray",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){this.form.get(e.path).setValue(t)}},{key:"onSubmit",value:function(e){return this.submitted=!0,M(this.form,this.directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_updateDomValue",value:function(){var e=this;this.directives.forEach(function(t){var n=t.control,i=e.form.get(t.path);n!==i&&(A(n||null,t),i instanceof q&&(O(i,t),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(e){var t=this.form.get(e.path);D(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(e){if(this.form){var t=this.form.get(e.path);t&&function(e,t){return I(e,t)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){P(this.form,this),this._oldForm&&I(this._oldForm,this)}},{key:"_checkFormPresent",value:function(){}}]),n}(x);return e.\u0275fac=function(t){return new(t||e)(i.Y36(h,10),i.Y36(f,10))},e.\u0275dir=i.lG2({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([Q]),i.qOj,i.TTD]}),e}(),X={provide:h,useExisting:(0,i.Gpc)(function(){return ee}),multi:!0},$={provide:h,useExisting:(0,i.Gpc)(function(){return te}),multi:!0},ee=function(){var e=function(){function e(){_classCallCheck(this,e),this._required=!1}return _createClass(e,[{key:"required",get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&"false"!="".concat(e),this._onChange&&this._onChange()}},{key:"validate",value:function(e){return this.required?function(e){return null==(t=e.value)||0===t.length?{required:!0}:null;var t}(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.lG2({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&i.uIk("required",t.required?"":null)},inputs:{required:"required"},features:[i._Bn([X])]}),e}(),te=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"validate",value:function(e){return this.required?function(e){return!0===e.value?null:{required:!0}}(e):null}}]),n}(ee);return t.\u0275fac=function(n){return(e||(e=i.n5z(t)))(n||t)},t.\u0275dir=i.lG2({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i.uIk("required",t.required?"":null)},features:[i._Bn([$]),i.qOj]}),t}(),ne=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[W]]}),e}(),ie=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[ne]}),e}()},1095:function(e,t,n){"use strict";n.d(t,{zs:function(){return d},lW:function(){return f},ot:function(){return p}});var i=n(2458),r=n(6237),o=n(3018),a=n(9238),s=["mat-button",""],u=["*"],l=".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n",c=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],h=(0,i.pj)((0,i.Id)((0,i.Kr)(function(){return function e(t){_classCallCheck(this,e),this._elementRef=t}}()))),f=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;_classCallCheck(this,n),(o=t.call(this,e))._focusMonitor=i,o._animationMode=r,o.isRoundButton=o._hasHostAttributes("mat-fab","mat-mini-fab"),o.isIconButton=o._hasHostAttributes("mat-icon-button");var a,s=_createForOfIteratorHelper(c);try{for(s.s();!(a=s.n()).done;){var u=a.value;o._hasHostAttributes(u)&&o._getHostElement().classList.add(u)}}catch(l){s.e(l)}finally{s.f()}return e.nativeElement.classList.add("mat-button-base"),o.isRoundButton&&(o.color="accent"),o}return _createClass(n,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i1&&void 0!==arguments[1]?arguments[1]:0;return function(e){_inherits(i,e);var n=_createSuper(i);function i(){var e;_classCallCheck(this,i);for(var r=arguments.length,o=new Array(r),a=0;a2&&void 0!==arguments[2]?arguments[2]:{},r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=Object.assign(Object.assign({},S),i.animation);i.centered&&(e=r.left+r.width/2,t=r.top+r.height/2);var a=i.radius||function(e,t,n){var i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),r=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+r*r)}(e,t,r),s=e-r.left,u=t-r.top,l=o.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=s-a+"px",c.style.top=u-a+"px",c.style.height=2*a+"px",c.style.width=2*a+"px",null!=i.color&&(c.style.backgroundColor=i.color),c.style.transitionDuration="".concat(l,"ms"),this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";var h=new E(this,c,i);return h.state=0,this._activeRipples.add(h),i.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone(function(){var e=h===n._mostRecentTransientRipple;h.state=1,i.persistent||e&&n._isPointerDown||h.fadeOut()},l),h}},{key:"fadeOutRipple",value:function(e){var t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),t){var n=e.element,i=Object.assign(Object.assign({},S),e.config.animation);n.style.transitionDuration="".concat(i.exitDuration,"ms"),n.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(function(){e.state=3,n.parentNode.removeChild(n)},i.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(e){return e.fadeOut()})}},{key:"fadeOutAllNonPersistent",value:function(){this._activeRipples.forEach(function(e){e.config.persistent||e.fadeOut()})}},{key:"setupTriggerEvents",value:function(e){var t=(0,u.fI)(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(A))}},{key:"handleEvent",value:function(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(T),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(e){var t=(0,r.X6)(e),n=this._lastTouchStartEvent&&Date.now()1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(e,t)})}},{key:"_registerEvents",value:function(e){var t=this;this._ngZone.runOutsideAngular(function(){e.forEach(function(e){t._triggerElement.addEventListener(e,t,O)})})}},{key:"_removeTriggerEvents",value:function(){var e=this;this._triggerElement&&(A.forEach(function(t){e._triggerElement.removeEventListener(t,e,O)}),this._pointerUpEventsRegistered&&T.forEach(function(t){e._triggerElement.removeEventListener(t,e,O)}))}}]),e}(),I=new i.OlP("mat-ripple-global-options"),R=function(){var e=function(){function e(t,n,i,r,o){_classCallCheck(this,e),this._elementRef=t,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new P(this,n,t,i)}return _createClass(e,[{key:"disabled",get:function(){return this._disabled},set:function(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}},{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"fadeOutAllNonPersistent",value:function(){this._rippleRenderer.fadeOutAllNonPersistent()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(c.t4),i.Y36(I,8),i.Y36(h.Qb,8))},e.\u0275dir=i.lG2({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e}(),D=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[g,c.ud],g]}),e}(),M=function(){var e=function e(t){_classCallCheck(this,e),this._animationMode=t,this.state="unchecked",this.disabled=!1};return e.\u0275fac=function(t){return new(t||e)(i.Y36(h.Qb,8))},e.\u0275cmp=i.Xpm({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&i.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;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-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),e}(),L=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[g]]}),e}(),F=new i.OlP("MAT_OPTION_PARENT_COMPONENT"),N=y(function(){return function e(){_classCallCheck(this,e)}}()),B=0,U=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i,r;return _classCallCheck(this,n),(i=t.call(this))._labelId="mat-optgroup-label-"+B++,i._inert=null!==(r=null==e?void 0:e.inertGroups)&&void 0!==r&&r,i}return n}(N);return e.\u0275fac=function(t){return new(t||e)(i.Y36(F,8))},e.\u0275dir=i.lG2({type:e,inputs:{label:"label"},features:[i.qOj]}),e}(),j=new i.OlP("MatOptgroup"),Z=0,q=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];_classCallCheck(this,e),this.source=t,this.isUserInput=n},V=function(){var e=function(){function e(t,n,r,o){_classCallCheck(this,e),this._element=t,this._changeDetectorRef=n,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Z++,this.onSelectionChange=new i.vpe,this._stateChanges=new l.xQ}return _createClass(e,[{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(e){this._disabled=(0,u.Ig)(e)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(e,t){var n=this._getHostElement();"function"==typeof n.focus&&n.focus(t)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(e){e.keyCode!==f.K5&&e.keyCode!==f.L_||(0,f.Vb)(e)||(this._selectViaInteraction(),e.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new q(this,e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(void 0),i.Y36(U))},e.\u0275dir=i.lG2({type:e,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),e}(),H=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){return _classCallCheck(this,n),t.call(this,e,i,r,o)}return n}(V);return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(F,8),i.Y36(j,8))},e.\u0275cmp=i.Xpm({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._selectViaInteraction()})("keydown",function(e){return t._handleKeydown(e)}),2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),i.ekj("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[i.qOj],ngContentSelectors:v,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,d,1,2,"mat-pseudo-checkbox",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,p,2,1,"span",2),i._UZ(4,"div",3)),2&e&&(i.Q6J("ngIf",t.multiple),i.xp6(3),i.Q6J("ngIf",t.group&&t.group._inert),i.xp6(1),i.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[s.O5,R,M],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e}();function z(e,t,n){if(n.length){for(var i=t.toArray(),r=n.toArray(),o=0,a=0;an+i?Math.max(0,e-i+t):n}var G=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[D,s.ez,g,L]]}),e}()},2238:function(e,t,n){"use strict";n.d(t,{WI:function(){return O},uw:function(){return R},H8:function(){return N},ZT:function(){return M},xY:function(){return F},Is:function(){return U},so:function(){return E},uh:function(){return L}});var i=n(625),r=n(7636),o=n(3018),a=n(2458),s=n(946),u=n(8583),l=n(9765),c=n(1439),h=n(5917),f=n(5435),d=n(5257),p=n(9761),v=n(521),_=n(7238),m=n(6461),g=n(9238);function y(e,t){}var b=function e(){_classCallCheck(this,e),this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0},k={dialogContainer:(0,_.X$)("dialogContainer",[(0,_.SB)("void, exit",(0,_.oB)({opacity:0,transform:"scale(0.7)"})),(0,_.SB)("enter",(0,_.oB)({transform:"none"})),(0,_.eR)("* => enter",(0,_.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,_.oB)({transform:"none",opacity:1}))),(0,_.eR)("* => void, * => exit",(0,_.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,_.oB)({opacity:0})))])},C=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,s,u){var l;return _classCallCheck(this,n),(l=t.call(this))._elementRef=e,l._focusTrapFactory=i,l._changeDetectorRef=r,l._config=s,l._focusMonitor=u,l._animationStateChanged=new o.vpe,l._elementFocusedBeforeDialogWasOpened=null,l._closeInteractionType=null,l.attachDomPortal=function(e){return l._portalOutlet.hasAttached(),l._portalOutlet.attachDomPortal(e)},l._ariaLabelledBy=s.ariaLabelledBy||null,l._document=a,l}return _createClass(n,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}},{key:"attachComponentPortal",value:function(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}},{key:"attachTemplatePortal",value:function(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){var t=(0,v.ht)(),n=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==n&&!n.contains(t)||(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,v.ht)())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var e=this._elementRef.nativeElement,t=(0,v.ht)();return e===t||e.contains(t)}}]),n}(r.en);return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.SBq),o.Y36(g.qV),o.Y36(o.sBO),o.Y36(u.K0,8),o.Y36(b),o.Y36(g.tE))},e.\u0275dir=o.lG2({type:e,viewQuery:function(e,t){var n;(1&e&&o.Gf(r.Pl,7),2&e)&&(o.iGM(n=o.CRH())&&(t._portalOutlet=n.first))},features:[o.qOj]}),e}(),w=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._state="enter",e}return _createClass(n,[{key:"_onAnimationDone",value:function(e){var t=e.toState,n=e.totalTime;"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:n})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:n}))}},{key:"_onAnimationStart",value:function(e){var t=e.toState,n=e.totalTime;"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:n}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:n})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),n}(C);return t.\u0275fac=function(n){return(e||(e=o.n5z(t)))(n||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&o.WFA("@dialogContainer.start",function(e){return t._onAnimationStart(e)})("@dialogContainer.done",function(e){return t._onAnimationDone(e)}),2&e&&(o.Ikx("id",t._id),o.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),o.d8E("@dialogContainer",t._state))},features:[o.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&o.YNc(0,y,0,0,"ng-template",0)},directives:[r.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[k.dialogContainer]}}),t}(),x=0,E=function(){function e(t,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-"+x++;_classCallCheck(this,e),this._overlayRef=t,this._containerInstance=n,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new l.xQ,this._afterClosed=new l.xQ,this._beforeClosed=new l.xQ,this._state=0,n._id=r,n._animationStateChanged.pipe((0,f.h)(function(e){return"opened"===e.state}),(0,d.q)(1)).subscribe(function(){i._afterOpened.next(),i._afterOpened.complete()}),n._animationStateChanged.pipe((0,f.h)(function(e){return"closed"===e.state}),(0,d.q)(1)).subscribe(function(){clearTimeout(i._closeFallbackTimeout),i._finishDialogClose()}),t.detachments().subscribe(function(){i._beforeClosed.next(i._result),i._beforeClosed.complete(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null,i._overlayRef.dispose()}),t.keydownEvents().pipe((0,f.h)(function(e){return e.keyCode===m.hY&&!i.disableClose&&!(0,m.Vb)(e)})).subscribe(function(e){e.preventDefault(),S(i,"keyboard")}),t.backdropClick().subscribe(function(){i.disableClose?i._containerInstance._recaptureFocus():S(i,"mouse")})}return _createClass(e,[{key:"close",value:function(e){var t=this;this._result=e,this._containerInstance._animationStateChanged.pipe((0,f.h)(function(e){return"closing"===e.state}),(0,d.q)(1)).subscribe(function(n){t._beforeClosed.next(e),t._beforeClosed.complete(),t._overlayRef.detachBackdrop(),t._closeFallbackTimeout=setTimeout(function(){return t._finishDialogClose()},n.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"afterClosed",value:function(){return this._afterClosed}},{key:"beforeClosed",value:function(){return this._beforeClosed}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(e){var t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._overlayRef.updateSize({width:e,height:t}),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(e){return this._overlayRef.addPanelClass(e),this}},{key:"removePanelClass",value:function(e){return this._overlayRef.removePanelClass(e),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),e}();function S(e,t,n){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=t),e.close(n)}var O=new o.OlP("MatDialogData"),A=new o.OlP("mat-dialog-default-options"),T=new o.OlP("mat-dialog-scroll-strategy"),P={provide:T,deps:[i.aV],useFactory:function(e){return function(){return e.scrollStrategies.block()}}},I=function(){var e=function(){function e(t,n,i,r,o,a,s,u,h){var f=this;_classCallCheck(this,e),this._overlay=t,this._injector=n,this._defaultOptions=i,this._parentDialog=r,this._overlayContainer=o,this._dialogRefConstructor=s,this._dialogContainerType=u,this._dialogDataToken=h,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new l.xQ,this._afterOpenedAtThisLevel=new l.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,c.P)(function(){return f.openDialogs.length?f._getAfterAllClosed():f._getAfterAllClosed().pipe((0,p.O)(void 0))}),this._scrollStrategy=a}return _createClass(e,[{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_getAfterAllClosed",value:function(){var e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(e,t){var n=this;(t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new b)).id&&this.getDialogById(t.id);var i=this._createOverlay(t),r=this._attachDialogContainer(i,t),o=this._attachDialogContent(e,r,i,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(o),o.afterClosed().subscribe(function(){return n._removeOpenDialog(o)}),this.afterOpened.next(o),r._initializeWithAttachedContent(),o}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(e){return this.openDialogs.find(function(t){return t.id===e})}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(e){var t=this._getOverlayConfig(e);return this._overlay.create(t)}},{key:"_getOverlayConfig",value:function(e){var t=new i.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}},{key:"_attachDialogContainer",value:function(e,t){var n=o.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:b,useValue:t}]}),i=new r.C5(this._dialogContainerType,t.viewContainerRef,n,t.componentFactoryResolver);return e.attach(i).instance}},{key:"_attachDialogContent",value:function(e,t,n,i){var a=new this._dialogRefConstructor(n,t,i.id);if(e instanceof o.Rgc)t.attachTemplatePortal(new r.UE(e,null,{$implicit:i.data,dialogRef:a}));else{var s=this._createInjector(i,a,t),u=t.attachComponentPortal(new r.C5(e,i.viewContainerRef,s));a.componentInstance=u.instance}return a.updateSize(i.width,i.height).updatePosition(i.position),a}},{key:"_createInjector",value:function(e,t,n){var i=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return!e.direction||i&&i.get(s.Is,null,o.XFs.Optional)||r.push({provide:s.Is,useValue:{value:e.direction,change:(0,h.of)()}}),o.zs3.create({parent:i||this._injector,providers:r})}},{key:"_removeOpenDialog",value:function(e){var t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(e,t){e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var e=this._overlayContainer.getContainerElement();if(e.parentElement)for(var t=e.parentElement.children,n=t.length-1;n>-1;n--){var i=t[n];i===e||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(e){for(var t=e.length;t--;)e[t].close()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(i.aV),o.Y36(o.zs3),o.Y36(void 0),o.Y36(void 0),o.Y36(i.Xj),o.Y36(void 0),o.Y36(o.DyG),o.Y36(o.DyG),o.Y36(o.OlP))},e.\u0275dir=o.lG2({type:e}),e}(),R=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,a,s,u){return _classCallCheck(this,n),t.call(this,e,i,o,s,u,a,E,w,O)}return n}(I);return e.\u0275fac=function(t){return new(t||e)(o.LFG(i.aV),o.LFG(o.zs3),o.LFG(u.Ye,8),o.LFG(A,8),o.LFG(T),o.LFG(e,12),o.LFG(i.Xj))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}(),D=0,M=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.dialogRef=t,this._elementRef=n,this._dialog=i,this.type="button"}return _createClass(e,[{key:"ngOnInit",value:function(){this.dialogRef||(this.dialogRef=B(this._elementRef,this._dialog.openDialogs))}},{key:"ngOnChanges",value:function(e){var t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}},{key:"_onButtonClick",value:function(e){S(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(E,8),o.Y36(o.SBq),o.Y36(R))},e.\u0275dir=o.lG2({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,t){1&e&&o.NdJ("click",function(e){return t._onButtonClick(e)}),2&e&&o.uIk("aria-label",t.ariaLabel||null)("type",t.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[o.TTD]}),e}(),L=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._dialogRef=t,this._elementRef=n,this._dialog=i,this.id="mat-dialog-title-"+D++}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this._dialogRef||(this._dialogRef=B(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var t=e._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=e.id)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(E,8),o.Y36(o.SBq),o.Y36(R))},e.\u0275dir=o.lG2({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&o.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e}(),F=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),e}(),N=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),e}();function B(e,t){for(var n=e.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?t.find(function(e){return e.id===n.id}):null}var U=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:[R,P],imports:[[i.U8,r.eL,a.BQ],a.BQ]}),e}()},8295:function(e,t,n){"use strict";n.d(t,{G_:function(){return G},o2:function(){return Y},KE:function(){return K},Eo:function(){return N},lN:function(){return W},hX:function(){return U},R9:function(){return V}});var i=n(8553),r=n(8583),o=n(3018),a=n(2458),s=n(9490),u=n(9765),l=n(6682),c=n(2759),h=n(9761),f=n(6782),d=n(5257),p=n(7238),v=n(6237),_=n(946),m=n(521),g=["underline"],y=["connectionContainer"],b=["inputContainer"],k=["label"];function C(e,t){1&e&&(o.ynx(0),o.TgZ(1,"div",14),o._UZ(2,"div",15),o._UZ(3,"div",16),o._UZ(4,"div",17),o.qZA(),o.TgZ(5,"div",18),o._UZ(6,"div",15),o._UZ(7,"div",16),o._UZ(8,"div",17),o.qZA(),o.BQk())}function w(e,t){1&e&&(o.TgZ(0,"div",19),o.Hsn(1,1),o.qZA())}function x(e,t){if(1&e&&(o.ynx(0),o.Hsn(1,2),o.TgZ(2,"span"),o._uU(3),o.qZA(),o.BQk()),2&e){var n=o.oxw(2);o.xp6(3),o.Oqu(n._control.placeholder)}}function E(e,t){1&e&&o.Hsn(0,3,["*ngSwitchCase","true"])}function S(e,t){1&e&&(o.TgZ(0,"span",23),o._uU(1," *"),o.qZA())}function O(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"label",20,21),o.NdJ("cdkObserveContent",function(){return o.CHM(n),o.oxw().updateOutlineGap()}),o.YNc(2,x,4,1,"ng-container",12),o.YNc(3,E,1,0,"ng-content",12),o.YNc(4,S,2,0,"span",22),o.qZA()}if(2&e){var i=o.oxw();o.ekj("mat-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-form-field-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-accent","accent"==i.color)("mat-warn","warn"==i.color),o.Q6J("cdkObserveContentDisabled","outline"!=i.appearance)("id",i._labelId)("ngSwitch",i._hasLabel()),o.uIk("for",i._control.id)("aria-owns",i._control.id),o.xp6(2),o.Q6J("ngSwitchCase",!1),o.xp6(1),o.Q6J("ngSwitchCase",!0),o.xp6(1),o.Q6J("ngIf",!i.hideRequiredMarker&&i._control.required&&!i._control.disabled)}}function A(e,t){1&e&&(o.TgZ(0,"div",24),o.Hsn(1,4),o.qZA())}function T(e,t){if(1&e&&(o.TgZ(0,"div",25,26),o._UZ(2,"span",27),o.qZA()),2&e){var n=o.oxw();o.xp6(2),o.ekj("mat-accent","accent"==n.color)("mat-warn","warn"==n.color)}}function P(e,t){if(1&e&&(o.TgZ(0,"div"),o.Hsn(1,5),o.qZA()),2&e){var n=o.oxw();o.Q6J("@transitionMessages",n._subscriptAnimationState)}}function I(e,t){if(1&e&&(o.TgZ(0,"div",31),o._uU(1),o.qZA()),2&e){var n=o.oxw(2);o.Q6J("id",n._hintLabelId),o.xp6(1),o.Oqu(n.hintLabel)}}function R(e,t){if(1&e&&(o.TgZ(0,"div",28),o.YNc(1,I,2,2,"div",29),o.Hsn(2,6),o._UZ(3,"div",30),o.Hsn(4,7),o.qZA()),2&e){var n=o.oxw();o.Q6J("@transitionMessages",n._subscriptAnimationState),o.xp6(1),o.Q6J("ngIf",n.hintLabel)}}var D=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],M=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],L=new o.OlP("MatError"),F={transitionMessages:(0,p.X$)("transitionMessages",[(0,p.SB)("enter",(0,p.oB)({opacity:1,transform:"translateY(0%)"})),(0,p.eR)("void => enter",[(0,p.oB)({opacity:0,transform:"translateY(-5px)"}),(0,p.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},N=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e}),e}(),B=new o.OlP("MatHint"),U=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["mat-label"]]}),e}(),j=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["mat-placeholder"]]}),e}(),Z=new o.OlP("MatPrefix"),q=new o.OlP("MatSuffix"),V=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["","matSuffix",""]],features:[o._Bn([{provide:q,useExisting:e}])]}),e}(),H=0,z=(0,a.pj)(function(){return function e(t){_classCallCheck(this,e),this._elementRef=t}}(),"primary"),Y=new o.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),G=new o.OlP("MatFormField"),K=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,a,s,l,c){var h;return _classCallCheck(this,n),(h=t.call(this,e))._elementRef=e,h._changeDetectorRef=i,h._dir=o,h._defaults=a,h._platform=s,h._ngZone=l,h._outlineGapCalculationNeededImmediately=!1,h._outlineGapCalculationNeededOnStable=!1,h._destroyed=new u.xQ,h._showAlwaysAnimate=!1,h._subscriptAnimationState="",h._hintLabel="",h._hintLabelId="mat-hint-"+H++,h._labelId="mat-form-field-label-"+H++,h.floatLabel=h._getDefaultFloatLabelState(),h._animationsEnabled="NoopAnimations"!==c,h.appearance=a&&a.appearance?a.appearance:"legacy",h._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker,h}return _createClass(n,[{key:"appearance",get:function(){return this._appearance},set:function(e){var t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(e){this._hideRequiredMarker=(0,s.Ig)(e)}},{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value:function(){return"never"!==this.floatLabel}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(e){this._hintLabel=e,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(e){this._explicitFormFieldControl=e}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var e=this;this._validateControlChild();var t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(t.controlType)),t.stateChanges.pipe((0,h.O)(null)).subscribe(function(){e._validatePlaceholders(),e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe((0,f.R)(this._destroyed)).subscribe(function(){return e._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.pipe((0,f.R)(e._destroyed)).subscribe(function(){e._outlineGapCalculationNeededOnStable&&e.updateOutlineGap()})}),(0,l.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){e._outlineGapCalculationNeededOnStable=!0,e._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,h.O)(null)).subscribe(function(){e._processHints(),e._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,h.O)(null)).subscribe(function(){e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,f.R)(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?e._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return e.updateOutlineGap()})}):e.updateOutlineGap()})}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(e){var t=this._control?this._control.ngControl:null;return t&&t[e]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var e=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,c.R)(this._label.nativeElement,"transitionend").pipe((0,d.q)(1)).subscribe(function(){e._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push.apply(e,_toConsumableArray(this._control.userAriaDescribedBy.split(" "))),"hint"===this._getDisplayedMessages()){var t=this._hintChildren?this._hintChildren.find(function(e){return"start"===e.align}):null,n=this._hintChildren?this._hintChildren.find(function(e){return"end"===e.align}):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&e.push.apply(e,_toConsumableArray(this._errorChildren.map(function(e){return e.id})));this._control.setDescribedByIds(e)}}},{key:"_validateControlChild",value:function(){}},{key:"updateOutlineGap",value:function(){var e=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&e&&e.children.length&&e.textContent.trim()&&this._platform.isBrowser)if(this._isAttachedToDOM()){var t=0,n=0,i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),o=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var a=i.getBoundingClientRect();if(0===a.width&&0===a.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var s=this._getStartEnd(a),u=e.children,l=this._getStartEnd(u[0].getBoundingClientRect()),c=0,h=0;h0?.75*c+10:0}for(var f=0;f-1}},{key:"_isBadInput",value:function(){var e=this._elementRef.nativeElement.validity;return e&&e.badInput}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}},{key:"setDescribedByIds",value:function(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}}]),n}(m);return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(i.t4),r.Y36(d.a5,10),r.Y36(d.F,8),r.Y36(d.sg,8),r.Y36(h.rD),r.Y36(p,10),r.Y36(l),r.Y36(r.R0b),r.Y36(f.G_,8))},e.\u0275dir=r.lG2({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(e,t){1&e&&r.NdJ("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(r.Ikx("disabled",t.disabled)("required",t.required),r.uIk("id",t.id)("data-placeholder",t.placeholder)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required),r.ekj("mat-input-server",t._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[r._Bn([{provide:f.Eo,useExisting:e}]),r.qOj,r.TTD]}),e}(),y=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[h.rD],imports:[[c,f.lN,h.BQ],c,f.lN]}),e}()},7441:function(e,t,n){"use strict";n.d(t,{gD:function(){return H},LD:function(){return z}});var i=n(625),r=n(8583),o=n(3018),a=n(2458),s=n(8295),u=n(9243),l=n(9238),c=n(9490),h=n(8345),f=n(6461),d=n(9765),p=n(1439),v=n(6682),_=n(9761),m=n(3190),g=n(5257),y=n(5435),b=n(8002),k=n(7519),C=n(6782),w=n(7238),x=n(946),E=n(665),S=["trigger"],O=["panel"];function A(e,t){if(1&e&&(o.TgZ(0,"span",8),o._uU(1),o.qZA()),2&e){var n=o.oxw();o.xp6(1),o.Oqu(n.placeholder)}}function T(e,t){if(1&e&&(o.TgZ(0,"span",12),o._uU(1),o.qZA()),2&e){var n=o.oxw(2);o.xp6(1),o.Oqu(n.triggerValue)}}function P(e,t){1&e&&o.Hsn(0,0,["*ngSwitchCase","true"])}function I(e,t){if(1&e&&(o.TgZ(0,"span",9),o.YNc(1,T,2,1,"span",10),o.YNc(2,P,1,0,"ng-content",11),o.qZA()),2&e){var n=o.oxw();o.Q6J("ngSwitch",!!n.customTrigger),o.xp6(2),o.Q6J("ngSwitchCase",!0)}}function R(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"div",13),o.TgZ(1,"div",14,15),o.NdJ("@transformPanel.done",function(e){return o.CHM(n),o.oxw()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return o.CHM(n),o.oxw()._handleKeydown(e)}),o.Hsn(3,1),o.qZA(),o.qZA()}if(2&e){var i=o.oxw();o.Q6J("@transformPanelWrap",void 0),o.xp6(1),o.Gre("mat-select-panel ",i._getPanelTheme(),""),o.Udp("transform-origin",i._transformOrigin)("font-size",i._triggerFontSize,"px"),o.Q6J("ngClass",i.panelClass)("@transformPanel",i.multiple?"showing-multiple":"showing"),o.uIk("id",i.id+"-panel")("aria-multiselectable",i.multiple)("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby())}}var D=[[["mat-select-trigger"]],"*"],M=["mat-select-trigger","*"],L={transformPanelWrap:(0,w.X$)("transformPanelWrap",[(0,w.eR)("* => void",(0,w.IO)("@transformPanel",[(0,w.pV)()],{optional:!0}))]),transformPanel:(0,w.X$)("transformPanel",[(0,w.SB)("void",(0,w.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,w.SB)("showing",(0,w.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,w.SB)("showing-multiple",(0,w.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,w.eR)("void => *",(0,w.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,w.eR)("* => void",(0,w.jt)("100ms 25ms linear",(0,w.oB)({opacity:0})))])},F=0,N=new o.OlP("mat-select-scroll-strategy"),B=new o.OlP("MAT_SELECT_CONFIG"),U={provide:N,deps:[i.aV],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},j=function e(t,n){_classCallCheck(this,e),this.source=t,this.value=n},Z=(0,a.Kr)((0,a.sb)((0,a.Id)((0,a.FD)(function(){return function e(t,n,i,r,o){_classCallCheck(this,e),this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=i,this._parentFormGroup=r,this.ngControl=o}}())))),q=new o.OlP("MatSelectTrigger"),V=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,s,u,l,c,h,f,k,C,w,x){var E,S,O,A;return _classCallCheck(this,n),(E=t.call(this,s,a,l,c,f))._viewportRuler=e,E._changeDetectorRef=i,E._ngZone=r,E._dir=u,E._parentFormField=h,E.ngControl=f,E._liveAnnouncer=w,E._defaultOptions=x,E._panelOpen=!1,E._compareWith=function(e,t){return e===t},E._uid="mat-select-"+F++,E._triggerAriaLabelledBy=null,E._destroy=new d.xQ,E._onChange=function(){},E._onTouched=function(){},E._valueId="mat-select-value-"+F++,E._panelDoneAnimatingStream=new d.xQ,E._overlayPanelClass=(null===(S=E._defaultOptions)||void 0===S?void 0:S.overlayPanelClass)||"",E._focused=!1,E.controlType="mat-select",E._required=!1,E._multiple=!1,E._disableOptionCentering=null!==(A=null===(O=E._defaultOptions)||void 0===O?void 0:O.disableOptionCentering)&&void 0!==A&&A,E.ariaLabel="",E.optionSelectionChanges=(0,p.P)(function(){var e=E.options;return e?e.changes.pipe((0,_.O)(e),(0,m.w)(function(){return v.T.apply(void 0,_toConsumableArray(e.map(function(e){return e.onSelectionChange})))})):E._ngZone.onStable.pipe((0,g.q)(1),(0,m.w)(function(){return E.optionSelectionChanges}))}),E.openedChange=new o.vpe,E._openedStream=E.openedChange.pipe((0,y.h)(function(e){return e}),(0,b.U)(function(){})),E._closedStream=E.openedChange.pipe((0,y.h)(function(e){return!e}),(0,b.U)(function(){})),E.selectionChange=new o.vpe,E.valueChange=new o.vpe,E.ngControl&&(E.ngControl.valueAccessor=_assertThisInitialized(E)),null!=(null==x?void 0:x.typeaheadDebounceInterval)&&(E._typeaheadDebounceInterval=x.typeaheadDebounceInterval),E._scrollStrategyFactory=C,E._scrollStrategy=E._scrollStrategyFactory(),E.tabIndex=parseInt(k)||0,E.id=E.id,E}return _createClass(n,[{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(e){this._required=(0,c.Ig)(e),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(e){this._multiple=(0,c.Ig)(e)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=(0,c.Ig)(e)}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(e){this._typeaheadDebounceInterval=(0,c.su)(e)}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid,this.stateChanges.next()}},{key:"ngOnInit",value:function(){var e=this;this._selectionModel=new h.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,k.x)(),(0,C.R)(this._destroy)).subscribe(function(){return e._panelDoneAnimating(e.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var e=this;this._initKeyManager(),this._selectionModel.changed.pipe((0,C.R)(this._destroy)).subscribe(function(e){e.added.forEach(function(e){return e.select()}),e.removed.forEach(function(e){return e.deselect()})}),this.options.changes.pipe((0,_.O)(null),(0,C.R)(this._destroy)).subscribe(function(){e._resetOptions(),e._initializeSelection()})}},{key:"ngDoCheck",value:function(){var e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){var t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(e){this.value=e}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var e=this._selectionModel.selected.map(function(e){return e.viewValue});return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}},{key:"_handleClosedKeydown",value:function(e){var t=e.keyCode,n=t===f.JH||t===f.LH||t===f.oh||t===f.SV,i=t===f.K5||t===f.L_,r=this._keyManager;if(!r.isTyping()&&i&&!(0,f.Vb)(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){var o=this.selected;r.onKeydown(e);var a=this.selected;a&&o!==a&&this._liveAnnouncer.announce(a.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(e){var t=this._keyManager,n=e.keyCode,i=n===f.JH||n===f.LH,r=t.isTyping();if(i&&e.altKey)e.preventDefault(),this.close();else if(r||n!==f.K5&&n!==f.L_||!t.activeItem||(0,f.Vb)(e))if(!r&&this._multiple&&n===f.A&&e.ctrlKey){e.preventDefault();var o=this.options.some(function(e){return!e.disabled&&!e.selected});this.options.forEach(function(e){e.disabled||(o?e.select():e.deselect())})}else{var a=t.activeItemIndex;t.onKeydown(e),this._multiple&&i&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==a&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var e=this;this._overlayDir.positionChange.pipe((0,g.q)(1)).subscribe(function(){e._changeDetectorRef.detectChanges(),e._positioningSettled()})}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"_initializeSelection",value:function(){var e=this;Promise.resolve().then(function(){e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value),e.stateChanges.next()})}},{key:"_setSelectionByValue",value:function(e){var t=this;if(this._selectionModel.selected.forEach(function(e){return e.setInactiveStyles()}),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(function(e){return t._selectValue(e)}),this._sortValues();else{var n=this._selectValue(e);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(e){var t=this,n=this.options.find(function(n){if(t._selectionModel.isSelected(n))return!1;try{return null!=n.value&&t._compareWith(n.value,e)}catch(i){return!1}});return n&&this._selectionModel.select(n),n}},{key:"_initKeyManager",value:function(){var e=this;this._keyManager=new l.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,C.R)(this._destroy)).subscribe(function(){e.panelOpen&&(!e.multiple&&e._keyManager.activeItem&&e._keyManager.activeItem._selectViaInteraction(),e.focus(),e.close())}),this._keyManager.change.pipe((0,C.R)(this._destroy)).subscribe(function(){e._panelOpen&&e.panel?e._scrollOptionIntoView(e._keyManager.activeItemIndex||0):e._panelOpen||e.multiple||!e._keyManager.activeItem||e._keyManager.activeItem._selectViaInteraction()})}},{key:"_resetOptions",value:function(){var e=this,t=(0,v.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,C.R)(t)).subscribe(function(t){e._onSelect(t.source,t.isUserInput),t.isUserInput&&!e.multiple&&e._panelOpen&&(e.close(),e.focus())}),v.T.apply(void 0,_toConsumableArray(this.options.map(function(e){return e._stateChanges}))).pipe((0,C.R)(t)).subscribe(function(){e._changeDetectorRef.markForCheck(),e.stateChanges.next()})}},{key:"_onSelect",value:function(e,t){var n=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(n!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var e=this;if(this.multiple){var t=this.options.toArray();this._selectionModel.sort(function(n,i){return e.sortComparator?e.sortComparator(n,i,t):t.indexOf(n)-t.indexOf(i)}),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(e){var t;t=this.multiple?this.selected.map(function(e){return e.value}):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_canOpen",value:function(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_getPanelAriaLabelledby",value:function(){var e;if(this.ariaLabel)return null;var t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getTriggerAriaLabelledby",value:function(){var e;if(this.ariaLabel)return null;var t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId(),n=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}},{key:"_panelDoneAnimating",value:function(e){this.openedChange.emit(e)}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}]),n}(Z);return e.\u0275fac=function(t){return new(t||e)(o.Y36(u.rL),o.Y36(o.sBO),o.Y36(o.R0b),o.Y36(a.rD),o.Y36(o.SBq),o.Y36(x.Is,8),o.Y36(E.F,8),o.Y36(E.sg,8),o.Y36(s.G_,8),o.Y36(E.a5,10),o.$8M("tabindex"),o.Y36(N),o.Y36(l.Kd),o.Y36(B,8))},e.\u0275dir=o.lG2({type:e,viewQuery:function(e,t){var n;(1&e&&(o.Gf(S,5),o.Gf(O,5),o.Gf(i.pI,5)),2&e)&&(o.iGM(n=o.CRH())&&(t.trigger=n.first),o.iGM(n=o.CRH())&&(t.panel=n.first),o.iGM(n=o.CRH())&&(t._overlayDir=n.first))},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[o.qOj,o.TTD]}),e}(),H=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._scrollTop=0,e._triggerFontSize=0,e._transformOrigin="top",e._offsetY=0,e._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],e}return _createClass(n,[{key:"_calculateOverlayScroll",value:function(e,t,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*e-t+i/2),n)}},{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe((0,C.R)(this._destroy)).subscribe(function(){e.panelOpen&&(e._triggerRect=e.trigger.nativeElement.getBoundingClientRect(),e._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"_canOpen",this).call(this)&&(_get(_getPrototypeOf(n.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,g.q)(1)).subscribe(function(){e._triggerFontSize&&e._overlayDir.overlayRef&&e._overlayDir.overlayRef.overlayElement&&(e._overlayDir.overlayRef.overlayElement.style.fontSize="".concat(e._triggerFontSize,"px"))}))}},{key:"_scrollOptionIntoView",value:function(e){var t=(0,a.CB)(e,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=(0,a.jH)((e+t)*n,n,this.panel.nativeElement.scrollTop,256)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),_get(_getPrototypeOf(n.prototype),"_panelDoneAnimating",this).call(this,e)}},{key:"_getChangeEvent",value:function(e){return new j(this,e)}},{key:"_calculateOverlayOffsetX",value:function(){var e,t=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),i=this._isRtl(),r=this.multiple?56:32;if(this.multiple)e=40;else if(this.disableOptionCentering)e=16;else{var o=this._selectionModel.selected[0]||this.options.first;e=o&&o.group?32:16}i||(e*=-1);var a=0-(t.left+e-(i?r:0)),s=t.right+e-n.width+(i?0:r);a>0?e+=a+8:s>0&&(e-=s+8),this._overlayDir.offsetX=Math.round(e),this._overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(e,t,n){var i,r=this._getItemHeight(),o=(r-this._triggerRect.height)/2,a=Math.floor(256/r);return this.disableOptionCentering?0:(i=0===this._scrollTop?e*r:this._scrollTop===n?(e-(this._getItemCount()-a))*r+(r-(this._getItemCount()*r-256)%r):t-r/2,Math.round(-1*i-o))}},{key:"_checkOverlayWithinViewport",value:function(e){var t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*t,256)-o-this._triggerRect.height;a>r?this._adjustPanelUp(a,r):o>i?this._adjustPanelDown(o,i,e):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(e,t){var n=Math.round(e-t);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(e,t,n){var i=Math.round(e-t);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_calculateOverlayPosition",value:function(){var e,t=this._getItemHeight(),n=this._getItemCount(),i=Math.min(n*t,256),r=n*t-i;e=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),e+=(0,a.CB)(e,this.options,this.optionGroups);var o=i/2;this._scrollTop=this._calculateOverlayScroll(e,o,r),this._offsetY=this._calculateOverlayOffsetY(e,o,r),this._checkOverlayWithinViewport(r)}},{key:"_getOriginBasedOnOption",value:function(){var e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return"50% ".concat(Math.abs(this._offsetY)-t+e/2,"px 0px")}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}]),n}(V);return t.\u0275fac=function(n){return(e||(e=o.n5z(t)))(n||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-select"]],contentQueries:function(e,t,n){var i;(1&e&&(o.Suo(n,q,5),o.Suo(n,a.ey,5),o.Suo(n,a.K7,5)),2&e)&&(o.iGM(i=o.CRH())&&(t.customTrigger=i.first),o.iGM(i=o.CRH())&&(t.options=i),o.iGM(i=o.CRH())&&(t.optionGroups=i))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&o.NdJ("keydown",function(e){return t._handleKeydown(e)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(o.uIk("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),o.ekj("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[o._Bn([{provide:s.Eo,useExisting:t},{provide:a.HF,useExisting:t}]),o.qOj],ngContentSelectors:M,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(o.F$t(D),o.TgZ(0,"div",0,1),o.NdJ("click",function(){return t.toggle()}),o.TgZ(3,"div",2),o.YNc(4,A,2,1,"span",3),o.YNc(5,I,3,2,"span",4),o.qZA(),o.TgZ(6,"div",5),o._UZ(7,"div",6),o.qZA(),o.qZA(),o.YNc(8,R,4,14,"ng-template",7),o.NdJ("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){var n=o.MAs(1);o.uIk("aria-owns",t.panelOpen?t.id+"-panel":null),o.xp6(3),o.Q6J("ngSwitch",t.empty),o.uIk("id",t._valueId),o.xp6(1),o.Q6J("ngSwitchCase",!0),o.xp6(1),o.Q6J("ngSwitchCase",!1),o.xp6(3),o.Q6J("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",n)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[i.xu,r.RF,r.n9,i.pI,r.ED,r.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n'],encapsulation:2,data:{animation:[L.transformPanelWrap,L.transformPanel]},changeDetection:0}),t}(),z=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:[U],imports:[[r.ez,i.U8,a.Ng,a.BQ],u.ZD,s.lN,a.Ng,a.BQ]}),e}()},6237:function(e,t,n){"use strict";n.d(t,{Qb:function(){return gt},PW:function(){return Ct}});var i=n(3018),r=n(9075),o=n(7238);function a(){return"undefined"!=typeof window&&void 0!==window.document}function s(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function u(e){switch(e.length){case 0:return new o.ZN;case 1:return e[0];default:return new o.ZE(e)}}function l(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=[],u=[],l=-1,c=null;if(i.forEach(function(e){var n=e.offset,i=n==l,h=i&&c||{};Object.keys(e).forEach(function(n){var i=n,u=e[n];if("offset"!==n)switch(i=t.normalizePropertyName(i,s),u){case o.k1:u=r[n];break;case o.l3:u=a[n];break;default:u=t.normalizeStyleValue(n,i,u,s)}h[i]=u}),i||u.push(h),c=h,l=n}),s.length){var h="\n - ";throw new Error("Unable to animate due to the following errors:".concat(h).concat(s.join(h)))}return u}function c(e,t,n,i){switch(t){case"start":e.onStart(function(){return i(n&&h(n,"start",e))});break;case"done":e.onDone(function(){return i(n&&h(n,"done",e))});break;case"destroy":e.onDestroy(function(){return i(n&&h(n,"destroy",e))})}}function h(e,t,n){var i=n.totalTime,r=f(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==i?e.totalTime:i,!!n.disabled),o=e._data;return null!=o&&(r._data=o),r}function f(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:t,fromState:n,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function d(e,t,n){var i;return e instanceof Map?(i=e.get(t))||e.set(t,i=n):(i=e[t])||(i=e[t]=n),i}function p(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var v=function(e,t){return!1},_=function(e,t){return!1},m=function(e,t,n){return[]},g=s();(g||"undefined"!=typeof Element)&&(v=a()?function(e,t){for(;t&&t!==document.documentElement;){if(t===e)return!0;t=t.parentNode||t.host}return!1}:function(e,t){return e.contains(t)},_=function(){if(g||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:_}(),m=function(e,t,n){var i=[];if(n)for(var r=e.querySelectorAll(t),o=0;o1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}function R(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t)for(var i in e)n[i]=e[i];else I(e,n);return n}function D(e,t,n){return n?t+":"+n+";":""}function M(e){for(var t="",n=0;n *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t) *"}}(e,n);if("function"==typeof i)return void t.push(i);e=i}var r=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'.concat(e,'" is not supported')),t;var o=r[1],a=r[2],s=r[3];t.push(Q(o,s)),"<"!=a[0]||"*"==o&&"*"==s||t.push(Q(s,o))}(e,r,i)}):r.push(n),r),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:ne(e.options)}}},{key:"visitSequence",value:function(e,t){var n=this;return{type:2,steps:e.steps.map(function(e){return Y(n,e,t)}),options:ne(e.options)}}},{key:"visitGroup",value:function(e,t){var n=this,i=t.currentTime,r=0,o=e.steps.map(function(e){t.currentTime=i;var o=Y(n,e,t);return r=Math.max(r,t.currentTime),o});return t.currentTime=r,{type:3,steps:o,options:ne(e.options)}}},{key:"visitAnimate",value:function(e,t){var n,i=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return ie(P(e,t).duration,0,"");var i=e;if(i.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var r=ie(0,0,"");return r.dynamic=!0,r.strValue=i,r}return ie((n=n||P(i,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;var r=e.styles?e.styles:(0,o.oB)({});if(5==r.type)n=this.visitKeyframes(r,t);else{var a=e.styles,s=!1;if(!a){s=!0;var u={};i.easing&&(u.easing=i.easing),a=(0,o.oB)(u)}t.currentTime+=i.duration+i.delay;var l=this.visitStyle(a,t);l.isEmptyStep=s,n=l}return t.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}}},{key:"visitStyle",value:function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}},{key:"_makeStyleAst",value:function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach(function(e){"string"==typeof e?e==o.l3?n.push(e):t.errors.push("The provided style string value ".concat(e," is not allowed.")):n.push(e)}):n.push(e.styles);var i=!1,r=null;return n.forEach(function(e){if(te(e)){var t=e,n=t.easing;if(n&&(r=n,delete t.easing),!i)for(var o in t)if(t[o].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:e.offset,containsDynamicStyles:i,options:null}}},{key:"_validateStyleAst",value:function(e,t){var n=this,i=t.currentAnimateTimings,r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),e.styles.forEach(function(e){"string"!=typeof e&&Object.keys(e).forEach(function(i){if(n._driver.validateStyleProperty(i)){var a,s,u,l,c,h=t.collectedStyles[t.currentQuerySelector],f=h[i],d=!0;f&&(o!=r&&o>=f.startTime&&r<=f.endTime&&(t.errors.push('The CSS property "'.concat(i,'" that exists between the times of "').concat(f.startTime,'ms" and "').concat(f.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(o,'ms" and "').concat(r,'ms"')),d=!1),o=f.startTime),d&&(h[i]={startTime:o,endTime:r}),t.options&&(a=e[i],s=t.options,u=t.errors,l=s.params||{},(c=U(a)).length&&c.forEach(function(e){l.hasOwnProperty(e)||u.push("Unable to resolve the local animation param ".concat(e," in the given list of values"))}))}else t.errors.push('The provided animation property "'.concat(i,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(e,t){var n=this,i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),i;var r=0,o=[],a=!1,s=!1,u=0,l=e.steps.map(function(e){var i=n._makeStyleAst(e,t),l=null!=i.offset?i.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach(function(e){if(te(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}});else if(te(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(i.styles),c=0;return null!=l&&(r++,c=i.offset=l),s=s||c<0||c>1,a=a||c0&&r0?r==f?1:h*r:o[r],s=a*v;t.currentTime=d+p.delay+s,p.duration=s,n._validateStyleAst(e,t),e.offset=a,i.styles.push(e)}),i}},{key:"visitReference",value:function(e,t){return{type:8,animation:Y(this,N(e.animation),t),options:ne(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:ne(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ne(e.options)}}},{key:"visitQuery",value:function(e,t){var n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;var r=_slicedToArray(function(e){var t=!!e.split(/\s*,\s*/).find(function(e){return":self"==e});return t&&(e=e.replace(J,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(e){return".ng-trigger-"+e.substr(1)}).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),o=r[0],a=r[1];t.currentQuerySelector=n.length?n+" "+o:o,d(t.collectedStyles,t.currentQuerySelector,{});var s=Y(this,N(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:ne(e.options)}}},{key:"visitStagger",value:function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:P(e.timings,t.errors,!0);return{type:12,animation:Y(this,N(e.animation),t),timings:n,options:null}}}]),e}(),ee=function e(t){_classCallCheck(this,e),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={},this.options=null};function te(e){return!Array.isArray(e)&&"object"==typeof e}function ne(e){var t;return e?(e=I(e)).params&&(e.params=(t=e.params)?I(t):null):e={},e}function ie(e,t,n){return{duration:e,delay:t,easing:n}}function re(e,t,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}var oe=function(){function e(){_classCallCheck(this,e),this._map=new Map}return _createClass(e,[{key:"consume",value:function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t}},{key:"append",value:function(e,t){var n,i=this._map.get(e);i||this._map.set(e,i=[]),(n=i).push.apply(n,_toConsumableArray(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),ae=new RegExp(":enter","g"),se=new RegExp(":leave","g");function ue(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new le).buildKeyframes(e,t,n,i,r,o,a,s,u,l)}var le=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"buildKeyframes",value:function(e,t,n,i,r,o,a,s,u){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];u=u||new oe;var c=new he(e,t,u,i,r,l,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),Y(this,n,c);var h=c.timelines.filter(function(e){return e.containsAnimation()});if(h.length&&Object.keys(a).length){var f=h[h.length-1];f.allowOnlyTimelineStyles()||f.setStyles([a],null,c.errors,s)}return h.length?h.map(function(e){return e.buildKeyframes()}):[re(t,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(e,t){}},{key:"visitState",value:function(e,t){}},{key:"visitTransition",value:function(e,t){}},{key:"visitAnimateChild",value:function(e,t){var n=t.subInstructions.consume(t.element);if(n){var i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}},{key:"_visitSubInstructions",value:function(e,t,n){var i=t.currentTimeline.currentTime,r=null!=n.duration?A(n.duration):null,o=null!=n.delay?A(n.delay):null;return 0!==r&&e.forEach(function(e){var n=t.appendInstructionToTimeline(e,r,o);i=Math.max(i,n.duration+n.delay)}),i}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),Y(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var n=this,i=t.subContextCount,r=t,o=e.options;if(o&&(o.params||o.delay)&&((r=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=ce);var a=A(o.delay);r.delayNextStep(a)}e.steps.length&&(e.steps.forEach(function(e){return Y(n,e,r)}),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var n=this,i=[],r=t.currentTimeline.currentTime,o=e.options&&e.options.delay?A(e.options.delay):0;e.steps.forEach(function(a){var s=t.createSubContext(e.options);o&&s.delayNextStep(o),Y(n,a,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)}),t.transformIntoNewTimeline(r),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var n=e.strValue;return P(t.params?j(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());var r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var n=t.currentAnimateTimings,i=t.currentTimeline.duration,r=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(function(e){o.forwardTime((e.offset||0)*r),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var n=this,i=t.currentTimeline.currentTime,r=e.options||{},o=r.delay?A(r.delay):0;o&&(6===t.previousNode.type||0==i&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ce);var a=i,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=s.length;var u=null;s.forEach(function(i,r){t.currentQueryIndex=r;var s=t.createSubContext(e.options,i);o&&s.delayNextStep(o),i===t.element&&(u=s.currentTimeline),Y(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),u&&(t.currentTimeline.mergeTimelineCollectedStyles(u),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var n=t.parentContext,i=t.currentTimeline,r=e.timings,o=Math.abs(r.duration),a=o*(t.currentQueryTotal-1),s=o*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var u=t.currentTimeline;s&&u.delayNextStep(s);var l=u.currentTime;Y(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-l+(i.startTime-n.currentTimeline.startTime)}}]),e}(),ce={},he=function(){function e(t,n,i,r,o,a,s,u){_classCallCheck(this,e),this._driver=t,this.element=n,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ce,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new fe(this._driver,n,0),s.push(this.currentTimeline)}return _createClass(e,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(e,t){var n=this;if(e){var i=e,r=this.options;null!=i.duration&&(r.duration=A(i.duration)),null!=i.delay&&(r.delay=A(i.delay));var o=i.params;if(o){var a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(function(e){t&&a.hasOwnProperty(e)||(a[e]=j(o[e],a,n.errors))})}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach(function(e){n[e]=t[e]})}}return e}},{key:"createSubContext",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,r=n||this.element,o=new e(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}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=ce,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,n){var i={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},r=new de(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}},{key:"incrementTime",value:function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}},{key:"delayNextStep",value:function(e){e>0&&this.currentTimeline.delayNextStep(e)}},{key:"invokeQuery",value:function(e,t,n,i,r,o){var a=[];if(i&&a.push(this.element),e.length>0){e=(e=e.replace(ae,"."+this._enterClassName)).replace(se,"."+this._leaveClassName);var s=this._driver.query(this.element,e,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,_toConsumableArray(s))}return r||0!=a.length||o.push('`query("'.concat(t,'")` returned zero elements. (Use `query("').concat(t,'", { optional: true })` if you wish to allow this.)')),a}}]),e}(),fe=function(){function e(t,n,i,r){_classCallCheck(this,e),this._driver=t,this.element=n,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return _createClass(e,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}},{key:"fork",value:function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}},{key:"_updateStyle",value:function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(function(e){t._backFill[e]=t._globalTimelineStyles[e]||o.l3,t._currentKeyframe[e]=o.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,n,i){var r=this;t&&(this._previousKeyframe.easing=t);var a=i&&i.params||{},s=function(e,t){var n,i={};return e.forEach(function(e){"*"===e?(n=n||Object.keys(t)).forEach(function(e){i[e]=o.l3}):R(e,!1,i)}),i}(e,this._globalTimelineStyles);Object.keys(s).forEach(function(e){var t=j(s[e],a,n);r._pendingStyles[e]=t,r._localTimelineStyles.hasOwnProperty(e)||(r._backFill[e]=r._globalTimelineStyles.hasOwnProperty(e)?r._globalTimelineStyles[e]:o.l3),r._updateStyle(e,t)})}},{key:"applyStylesToKeyframe",value:function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){e._currentKeyframe[n]=t[n]}),Object.keys(this._localTimelineStyles).forEach(function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])}))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;Object.keys(e._styleSummary).forEach(function(n){var i=t._styleSummary[n],r=e._styleSummary[n];(!i||r.time>i.time)&&t._updateStyle(n,r.value)})}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach(function(a,s){var u=R(a,!0);Object.keys(u).forEach(function(e){var i=u[e];i==o.k1?t.add(e):i==o.l3&&n.add(e)}),i||(u.offset=s/e.duration),r.push(u)});var a=t.size?Z(t.values()):[],s=n.size?Z(n.values()):[];if(i){var u=r[0],l=I(u);u.offset=0,l.offset=1,r=[u,l]}return re(this.element,r,a,s,this.duration,this.startTime,this.easing,!1)}}]),e}(),de=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,a,s){var u,l=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return _classCallCheck(this,n),(u=t.call(this,e,i,s.delay)).element=i,u.keyframes=r,u.preStyleProps=o,u.postStyleProps=a,u._stretchStartingKeyframe=l,u.timings={duration:s.duration,delay:s.delay,easing:s.easing},u}return _createClass(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var e=this.keyframes,t=this.timings,n=t.delay,i=t.duration,r=t.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=i+n,s=n/a,u=R(e[0],!1);u.offset=0,o.push(u);var l=R(e[0],!1);l.offset=pe(s),o.push(l);for(var c=e.length-1,h=1;h<=c;h++){var f=R(e[h],!1);f.offset=pe((n+f.offset*i)/a),o.push(f)}i=a,n=0,r="",e=o}return re(this.element,e,this.preStyleProps,this.postStyleProps,i,n,r,!0)}}]),n}(fe);function pe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,t-1);return Math.round(e*n)/n}var ve,_e,me=function e(){_classCallCheck(this,e)},ge=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"normalizePropertyName",value:function(e,t){return V(e)}},{key:"normalizeStyleValue",value:function(e,t,n,i){var r="",o=n.toString().trim();if(ye[t]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push("Please provide a CSS unit value for ".concat(e,":").concat(n))}return o+r}}]),n}(me),ye=(ve="width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","),_e={},ve.forEach(function(e){return _e[e]=!0}),_e);function be(e,t,n,i,r,o,a,s,u,l,c,h,f){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:a,timelines:s,queriedElements:u,preStyleProps:l,postStyleProps:c,totalTime:h,errors:f}}var ke={},Ce=function(){function e(t,n,i){_classCallCheck(this,e),this._triggerName=t,this.ast=n,this._stateStyles=i}return _createClass(e,[{key:"match",value:function(e,t,n,i){return function(e,t,n,i,r){return e.some(function(e){return e(t,n,i,r)})}(this.ast.matchers,e,t,n,i)}},{key:"buildStyles",value:function(e,t,n){var i=this._stateStyles["*"],r=this._stateStyles[e],o=i?i.buildStyles(t,n):{};return r?r.buildStyles(t,n):o}},{key:"build",value:function(e,t,n,i,r,o,a,s,u,l){var c=[],h=this.ast.options&&this.ast.options.params||ke,f=this.buildStyles(n,a&&a.params||ke,c),p=s&&s.params||ke,v=this.buildStyles(i,p,c),_=new Set,m=new Map,g=new Map,y="void"===i,b={params:Object.assign(Object.assign({},h),p)},k=l?[]:ue(e,t,this.ast.animation,r,o,f,v,b,u,c),C=0;if(k.forEach(function(e){C=Math.max(e.duration+e.delay,C)}),c.length)return be(t,this._triggerName,n,i,y,f,v,[],[],m,g,C,c);k.forEach(function(e){var n=e.element,i=d(m,n,{});e.preStyleProps.forEach(function(e){return i[e]=!0});var r=d(g,n,{});e.postStyleProps.forEach(function(e){return r[e]=!0}),n!==t&&_.add(n)});var w=Z(_.values());return be(t,this._triggerName,n,i,y,f,v,k,w,m,g,C)}}]),e}(),we=function(){function e(t,n){_classCallCheck(this,e),this.styles=t,this.defaultParams=n}return _createClass(e,[{key:"buildStyles",value:function(e,t){var n={},i=I(this.defaultParams);return Object.keys(e).forEach(function(t){var n=e[t];null!=n&&(i[t]=n)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var r=e;Object.keys(r).forEach(function(e){var o=r[e];o.length>1&&(o=j(o,i,t)),n[e]=o})}}),n}}]),e}(),xe=function(){function e(t,n){var i=this;_classCallCheck(this,e),this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach(function(e){i.states[e.name]=new we(e.style,e.options&&e.options.params||{})}),Ee(this.states,"true","1"),Ee(this.states,"false","0"),n.transitions.forEach(function(e){i.transitionFactories.push(new Ce(t,e,i.states))}),this.fallbackTransition=new Ce(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return _createClass(e,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(e,t,n,i){return this.transitionFactories.find(function(r){return r.match(e,t,n,i)})||null}},{key:"matchStyles",value:function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}]),e}();function Ee(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var Se=new oe,Oe=function(){function e(t,n,i){_classCallCheck(this,e),this.bodyNode=t,this._driver=n,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}return _createClass(e,[{key:"register",value:function(e,t){var n=[],i=X(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: ".concat(n.join("\n")));this._animations[e]=i}},{key:"_buildPlayer",value:function(e,t,n){var i=e.element,r=l(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=[],s=this._animations[e],l=new Map;if(s?(n=ue(this._driver,t,s,"ng-enter","ng-leave",{},{},r,Se,a)).forEach(function(e){var t=d(l,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=null})}):(a.push("The requested animation doesn't exist or has already been destroyed"),n=[]),a.length)throw new Error("Unable to create the animation due to the following errors: ".concat(a.join("\n")));l.forEach(function(e,t){Object.keys(e).forEach(function(n){e[n]=i._driver.computeStyle(t,n,o.l3)})});var c=u(n.map(function(e){var t=l.get(e.element);return i._buildPlayer(e,{},t)}));return this._playersById[e]=c,c.onDestroy(function(){return i.destroy(e)}),this.players.push(c),c}},{key:"destroy",value:function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by ".concat(e));return t}},{key:"listen",value:function(e,t,n,i){var r=f(t,"","","");return c(this._getPlayer(e),n,r,i),function(){}}},{key:"command",value:function(e,t,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(e);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,i[0]||{});else this.register(e,i[0])}}]),e}(),Ae=[],Te={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Pe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ie=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";_classCallCheck(this,e),this.namespaceId=n;var i,r=t&&t.hasOwnProperty("value");if(this.value=null!=(i=r?t.value:t)?i:null,r){var o=I(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return _createClass(e,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach(function(e){null==n[e]&&(n[e]=t[e])})}}}]),e}(),Re=new Ie("void"),De=function(){function e(t,n,i){_classCallCheck(this,e),this.id=t,this.hostElement=n,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,je(n,this._hostClassName)}return _createClass(e,[{key:"listen",value:function(e,t,n,i){var r,o=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(t,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(t,'" because the provided event is undefined!'));if("start"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(t,'" is not supported!'));var a=d(this._elementListeners,e,[]),s={name:t,phase:n,callback:i};a.push(s);var u=d(this._engine.statesByElement,e,{});return u.hasOwnProperty(t)||(je(e,"ng-trigger"),je(e,"ng-trigger-"+t),u[t]=Re),function(){o._engine.afterFlush(function(){var e=a.indexOf(s);e>=0&&a.splice(e,1),o._triggers[t]||delete u[t]})}}},{key:"register",value:function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}},{key:"_getTrigger",value:function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'.concat(e,'" has not been registered!'));return t}},{key:"trigger",value:function(e,t,n){var i=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._getTrigger(t),a=new Le(this.id,t,e),s=this._engine.statesByElement.get(e);s||(je(e,"ng-trigger"),je(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var u=s[t],l=new Ie(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&l.absorbOptions(u.options),s[t]=l,u||(u=Re),"void"===l.value||u.value!==l.value){var c=d(this._engine.playersByElement,e,[]);c.forEach(function(e){e.namespaceId==i.id&&e.triggerName==t&&e.queued&&e.destroy()});var h=o.matchTransition(u.value,l.value,e,l.params),f=!1;if(!h){if(!r)return;h=o.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:h,fromState:u,toState:l,player:a,isFallbackTransition:f}),f||(je(e,"ng-animate-queued"),a.onStart(function(){Ze(e,"ng-animate-queued")})),a.onDone(function(){var t=i.players.indexOf(a);t>=0&&i.players.splice(t,1);var n=i._engine.playersByElement.get(e);if(n){var r=n.indexOf(a);r>=0&&n.splice(r,1)}}),this.players.push(a),c.push(a),a}if(!function(e,t){var n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(var r=0;r=0){for(var i=!1,r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),i=!0;break}i||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}},{key:"register",value:function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}},{key:"registerTrigger",value:function(e,t,n){var i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var n=this;if(e){var i=this._fetchNamespace(e);this.afterFlush(function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(i);t>=0&&n._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return i.destroy(t)})}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var i=Object.keys(n),r=0;r=0&&this.collectedLeaveElements.splice(o,1)}if(e){var a=this._fetchNamespace(e);a&&a.insertNode(t,n)}i&&this.collectEnterElement(t)}}},{key:"collectEnterElement",value:function(e){this.collectedEnterElements.push(e)}},{key:"markElementAsDisabled",value:function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),je(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ze(e,"ng-animate-disabled"))}},{key:"removeNode",value:function(e,t,n,i){if(Fe(t)){var r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),n){var o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,i)}}else this._onRemovalComplete(t,i)}},{key:"markElementAsRemoved",value:function(e,t,n,i){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(e,t,n,i,r){return Fe(t)?this._fetchNamespace(e).listen(t,n,i,r):function(){}}},{key:"_buildInstruction",value:function(e,t,n,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,r)}},{key:"destroyInnerAnimations",value:function(e){var t=this,n=this.driver.query(e,".ng-trigger",!0);n.forEach(function(e){return t.destroyActiveAnimationsForElement(e)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,".ng-animating",!0)).forEach(function(e){return t.finishActiveQueriedAnimationOnElement(e)})}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach(function(e){e.queued?e.markedForDestroy=!0:e.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach(function(e){return e.finish()})}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise(function(t){if(e.players.length)return u(e.players).onDone(function(){return t()});t()})}},{key:"processLeaveNode",value:function(e){var t=this,n=e.__ng_removed;if(n&&n.setForRemoval){if(e.__ng_removed=Te,n.namespaceId){this.destroyInnerAnimations(e);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(function(e){t.markElementAsDisabled(e,!1)})}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,n){return e._balanceNamespaceList(t,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i=0;T--)this._namespaceList[T].drainQueuedTransitions(t).forEach(function(e){var t=e.player,o=e.element;if(O.push(t),n.collectedEnterElements.length){var a=o.__ng_removed;if(a&&a.setForMove)return void t.destroy()}var u=!p||!n.driver.containsElement(p,o),f=E.get(o),v=m.get(o),_=n._buildInstruction(e,i,v,f,u);if(_.errors&&_.errors.length)A.push(_);else{if(u)return t.onStart(function(){return F(o,_.fromStyles)}),t.onDestroy(function(){return L(o,_.toStyles)}),void r.push(t);if(e.isFallbackTransition)return t.onStart(function(){return F(o,_.fromStyles)}),t.onDestroy(function(){return L(o,_.toStyles)}),void r.push(t);_.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),i.append(o,_.timelines),s.push({instruction:_,player:t,element:o}),_.queriedElements.forEach(function(e){return d(l,e,[]).push(t)}),_.preStyleProps.forEach(function(e,t){var n=Object.keys(e);if(n.length){var i=c.get(t);i||c.set(t,i=new Set),n.forEach(function(e){return i.add(e)})}}),_.postStyleProps.forEach(function(e,t){var n=Object.keys(e),i=h.get(t);i||h.set(t,i=new Set),n.forEach(function(e){return i.add(e)})})}});if(A.length){var P=[];A.forEach(function(e){P.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach(function(e){return P.push("- ".concat(e,"\n"))})}),O.forEach(function(e){return e.destroy()}),this.reportError(P)}var I=new Map,R=new Map;s.forEach(function(e){var t=e.element;i.has(t)&&(R.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,I))}),r.forEach(function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){d(I,t,[]).push(e),e.destroy()})});var D=y.filter(function(e){return He(e,c,h)}),M=new Map;Be(M,this.driver,k,h,o.l3).forEach(function(e){He(e,c,h)&&D.push(e)});var N=new Map;_.forEach(function(e,t){Be(N,n.driver,new Set(e),c,o.k1)}),D.forEach(function(e){var t=M.get(e),n=N.get(e);M.set(e,Object.assign(Object.assign({},t),n))});var B=[],U=[],j={};s.forEach(function(e){var t=e.element,o=e.player,s=e.instruction;if(i.has(t)){if(f.has(t))return o.onDestroy(function(){return L(t,s.toStyles)}),o.disabled=!0,o.overrideTotalTime(s.totalTime),void r.push(o);var l=j;if(R.size>1){for(var c=t,h=[];c=c.parentNode;){var d=R.get(c);if(d){l=d;break}h.push(c)}h.forEach(function(e){return R.set(e,l)})}var p=n._buildAnimation(o.namespaceId,s,I,a,N,M);if(o.setRealPlayer(p),l===j)B.push(o);else{var v=n.playersByElement.get(l);v&&v.length&&(o.parentPlayer=u(v)),r.push(o)}}else F(t,s.fromStyles),o.onDestroy(function(){return L(t,s.toStyles)}),U.push(o),f.has(t)&&r.push(o)}),U.forEach(function(e){var t=a.get(e.element);if(t&&t.length){var n=u(t);e.setRealPlayer(n)}}),r.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var Z=0;Z0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new o.ZN(e.duration,e.delay)}}]),e}(),Le=function(){function e(t,n,i){_classCallCheck(this,e),this.namespaceId=t,this.triggerName=n,this.element=i,this._player=new o.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return _createClass(e,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(n){t._queuedCallbacks[n].forEach(function(t){return c(e,n,void 0,t)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(e){this.totalTime=e}},{key:"syncPlayerEvents",value:function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart(function(){return n.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})}},{key:"_queueEvent",value:function(e,t){d(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}]),e}();function Fe(e){return e&&1===e.nodeType}function Ne(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function Be(e,t,n,i,r){var o=[];n.forEach(function(e){return o.push(Ne(e))});var a=[];i.forEach(function(n,i){var o={};n.forEach(function(e){var n=o[e]=t.computeStyle(i,e,r);n&&0!=n.length||(i.__ng_removed=Pe,a.push(i))}),e.set(i,o)});var s=0;return n.forEach(function(e){return Ne(e,o[s++])}),a}function Ue(e,t){var n=new Map;if(e.forEach(function(e){return n.set(e,[])}),0==t.length)return n;var i=new Set(t),r=new Map;function o(e){if(!e)return 1;var t=r.get(e);if(t)return t;var a=e.parentNode;return t=n.has(a)?a:i.has(a)?1:o(a),r.set(e,t),t}return t.forEach(function(e){var t=o(e);1!==t&&n.get(t).push(e)}),n}function je(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Ze(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function qe(e,t,n){u(n).onDone(function(){return e.processLeaveNode(t)})}function Ve(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),e}();function Ye(e,t){var n=null,i=null;return Array.isArray(t)&&t.length?(n=Ke(t[0]),t.length>1&&(i=Ke(t[t.length-1]))):t&&(n=Ke(t)),n||i?new Ge(e,n,i):null}var Ge=function(){function e(t,n,i){_classCallCheck(this,e),this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;var r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}return _createClass(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&L(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(L(this._element,this._initialStyles),this._endStyles&&(L(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(F(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(F(this._element,this._endStyles),this._endStyles=null),L(this._element,this._initialStyles),this._state=3)}}]),e}();function Ke(e){for(var t=null,n=Object.keys(e),i=0;i=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),et(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var e,t,n,i;this._destroyed||(this._destroyed=!0,this.finish(),e=this._element,t=this._name,n=nt(e,"").split(","),(i=$e(n,t))>=0&&(n.splice(i,1),tt(e,"",n.join(","))))}}]),e}();function Je(e,t,n){tt(e,"PlayState",n,Xe(e,t))}function Xe(e,t){var n=nt(e,"");return n.indexOf(",")>0?$e(n.split(","),t):$e([n],t)}function $e(e,t){for(var n=0;n=0)return n;return-1}function et(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function tt(e,t,n,i){var r="animation"+t;if(null!=i){var o=e.style[r];if(o.length){var a=o.split(",");a[i]=n,n=a.join(",")}}e.style[r]=n}function nt(e,t){return e.style["animation"+t]||""}var it=function(){function e(t,n,i,r,o,a,s,u){_classCallCheck(this,e),this.element=t,this.keyframes=n,this.animationName=i,this._duration=r,this._delay=o,this._finalStyles=s,this._specialStyles=u,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=a||"linear",this.totalTime=r+o,this._buildStyler()}return _createClass(e,[{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(e){this._styler.setPosition(e)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new Qe(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return e.finish()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}},{key:"beforeDestroy",value:function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(i){"offset"!=i&&(t[i]=n?e._finalStyles[i]:G(e.element,i))})}this.currentSnapshot=t}}]),e}(),rt=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this)).element=e,r._startingStyles={},r.__initialized=!1,r._styles=E(i),r}return _createClass(n,[{key:"init",value:function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(t){e._startingStyles[t]=e.element.style[t]}),_get(_getPrototypeOf(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(t){return e.element.style.setProperty(t,e._styles[t])}),_get(_getPrototypeOf(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)}),this._startingStyles=null,_get(_getPrototypeOf(n.prototype),"destroy",this).call(this))}}]),n}(o.ZN),ot=function(){function e(){_classCallCheck(this,e),this._count=0}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return k(e)}},{key:"matchesElement",value:function(e,t){return C(e,t)}},{key:"containsElement",value:function(e,t){return w(e,t)}},{key:"query",value:function(e,t,n){return x(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"buildKeyframeElement",value:function(e,t,n){n=n.map(function(e){return E(e)});var i="@keyframes ".concat(t," {\n"),r="";n.forEach(function(e){r=" ";var t=parseFloat(e.offset);i+="".concat(r).concat(100*t,"% {\n"),r+=" ",Object.keys(e).forEach(function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(i+="".concat(r,"animation-timing-function: ").concat(n,";\n")));default:return void(i+="".concat(r).concat(t,": ").concat(n,";\n"))}}),i+="".concat(r,"}\n")}),i+="}\n";var o=document.createElement("style");return o.textContent=i,o}},{key:"animate",value:function(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=o.filter(function(e){return e instanceof it}),s={};H(n,i)&&a.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return s[e]=t[e]})});var u=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach(function(e){Object.keys(e).forEach(function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=z(e,t,s));if(0==n)return new rt(e,u);var l="gen_css_kf_"+this._count++,c=this.buildKeyframeElement(e,l,t);(function(e){var t,n=null===(t=e.getRootNode)||void 0===t?void 0:t.call(e);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(e).appendChild(c);var h=Ye(e,t),f=new it(e,t,l,n,i,r,u,h);return f.onDestroy(function(){var e;(e=c).parentNode.removeChild(e)}),f}}]),e}(),at=function(){function e(t,n,i,r){_classCallCheck(this,e),this.element=t,this.keyframes=n,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.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",function(){return e._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(e,t,n){return e.animate(t,n)}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:G(e.element,n))}),this.currentSnapshot=t}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),st=function(){function e(){_classCallCheck(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ut().toString()),this._cssKeyframesDriver=new ot}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return k(e)}},{key:"matchesElement",value:function(e,t){return C(e,t)}},{key:"containsElement",value:function(e,t){return w(e,t)}},{key:"query",value:function(e,t,n){return x(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"overrideWebAnimationsSupport",value:function(e){this._isNativeImpl=e}},{key:"animate",value:function(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=arguments.length>6?arguments[6]:void 0;if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,i,r,o);var s={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(s.easing=r);var u={},l=o.filter(function(e){return e instanceof at});H(n,i)&&l.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return u[e]=t[e]})});var c=Ye(e,t=z(e,t=t.map(function(e){return R(e,!1)}),u));return new at(e,t,s,c)}}]),e}();function ut(){return a()&&Element.prototype.animate||{}}var lt=n(8583),ct=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this))._nextAnimationId=0,o._renderer=e.createRenderer(r.body,{id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}}),o}return _createClass(n,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?(0,o.vP)(e):e;return dt(this._renderer,null,t,"register",[n]),new ht(t,this._renderer)}}]),n}(o._j);return e.\u0275fac=function(t){return new(t||e)(i.LFG(i.FYo),i.LFG(lt.K0))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}(),ht=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this))._id=e,r._renderer=i,r}return _createClass(n,[{key:"create",value:function(e,t){return new ft(this._id,e,t||{},this._renderer)}}]),n}(o.LC),ft=function(){function e(t,n,i,r){_classCallCheck(this,e),this.id=t,this.element=n,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}return _createClass(e,[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i=0&&e3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,i)}},{key:"removeChild",value:function(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}},{key:"selectRootElement",value:function(e,t){return this.delegate.selectRootElement(e,t)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setAttribute",value:function(e,t,n,i){this.delegate.setAttribute(e,t,n,i)}},{key:"removeAttribute",value:function(e,t,n){this.delegate.removeAttribute(e,t,n)}},{key:"addClass",value:function(e,t){this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,n,i){this.delegate.setStyle(e,t,n,i)}},{key:"removeStyle",value:function(e,t,n){this.delegate.removeStyle(e,t,n)}},{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}},{key:"setValue",value:function(e,t){this.delegate.setValue(e,t)}},{key:"listen",value:function(e,t,n){return this.delegate.listen(e,t,n)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}}]),e}(),_t=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var a;return _classCallCheck(this,n),(a=t.call(this,i,r,o)).factory=e,a.namespaceId=i,a}return _createClass(n,[{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}},{key:"listen",value:function(e,t,n){var i,r,o=this;if("@"==t.charAt(0)){var a,s=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e),u=t.substr(1),l="";return"@"!=u.charAt(0)&&(r=(i=u).indexOf("."),u=(a=_slicedToArray([i.substring(0,r),i.substr(r+1)],2))[0],l=a[1]),this.engine.listen(this.namespaceId,s,u,l,function(e){o.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}]),n}(vt),mt=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){return _classCallCheck(this,n),t.call(this,e.body,i,r)}return _createClass(n,[{key:"ngOnDestroy",value:function(){this.flush()}}]),n}(ze);return e.\u0275fac=function(t){return new(t||e)(i.LFG(lt.K0),i.LFG(O),i.LFG(me))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}(),gt=new i.OlP("AnimationModuleType"),yt=[{provide:o._j,useClass:ct},{provide:me,useFactory:function(){return new ge}},{provide:ze,useClass:mt},{provide:i.FYo,useFactory:function(e,t,n){return new pt(e,t,n)},deps:[r.se,ze,i.R0b]}],bt=[{provide:O,useFactory:function(){return"function"==typeof ut()?new st:new ot}},{provide:gt,useValue:"BrowserAnimations"}].concat(yt),kt=[{provide:O,useClass:S},{provide:gt,useValue:"NoopAnimations"}].concat(yt),Ct=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:t.disableAnimations?kt:bt}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({providers:bt,imports:[r.b2]}),e}()},9075:function(e,t,n){"use strict";n.d(t,{b2:function(){return N},H7:function(){return R},q6:function(){return L},se:function(){return C}});var i,r=n(8583),o=n(3018),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"onAndCancel",value:function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}}},{key:"dispatchEvent",value:function(e,t){e.dispatchEvent(t)}},{key:"remove",value:function(e){e.parentNode&&e.parentNode.removeChild(e)}},{key:"createElement",value:function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(e){return e.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(e){return e instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}},{key:"getBaseHref",value:function(e){var t=(s=s||document.querySelector("base"))?s.getAttribute("href"):null;return null==t?null:function(e){(i=i||document.createElement("a")).setAttribute("href",e);var t=i.pathname;return"/"===t.charAt(0)?t:"/".concat(t)}(t)}},{key:"resetBaseElement",value:function(){s=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(e){return(0,r.Mx)(document.cookie,e)}}],[{key:"makeCurrent",value:function(){(0,r.HT)(new n)}}]),n}(function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).supportsDOMEvents=!0,e}return n}(r.w_)),s=null,u=new o.OlP("TRANSITION_ID"),l=[{provide:o.ip1,useFactory:function(e,t,n){return function(){n.get(o.CZH).donePromise.then(function(){var n=(0,r.q)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(function(t){return t.getAttribute("ng-transition")===e}).forEach(function(e){return n.remove(e)})})}},deps:[u,r.K0,o.zs3],multi:!0}],c=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){o.dqk.getAngularTestability=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},o.dqk.getAllAngularTestabilities=function(){return e.getAllTestabilities()},o.dqk.getAllAngularRootElements=function(){return e.getAllRootElements()},o.dqk.frameworkStabilizers||(o.dqk.frameworkStabilizers=[]),o.dqk.frameworkStabilizers.push(function(e){var t=o.dqk.getAllAngularTestabilities(),n=t.length,i=!1,r=function(t){i=i||t,0==--n&&e(i)};t.forEach(function(e){e.whenStable(r)})})}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var i=e.getTestability(t);return null!=i?i:n?(0,r.q)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){(0,o.VLi)(new e)}}]),e}(),h=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"build",value:function(){return new XMLHttpRequest}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}(),f=new o.OlP("EventManagerPlugins"),d=function(){var e=function(){function e(t,n){var i=this;_classCallCheck(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach(function(e){return e.manager=i}),this._plugins=t.slice().reverse()}return _createClass(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,i=0;i-1&&(t.splice(n,1),o+=e+".")}),o+=r,0!=t.length||0===r.length)return null;var a={};return a.domEventName=i,a.fullKey=o,a}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&T.hasOwnProperty(t)&&(t=T[t]))}return A[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),O.forEach(function(i){i!=n&&(0,P[i])(e)&&(t+=i+".")}),t+=n}},{key:"eventCallback",value:function(e,t,i){return function(r){n.getEventFullKey(r)===e&&i.runGuarded(function(){return t(r)})}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),n}(p);return e.\u0275fac=function(t){return new(t||e)(o.LFG(r.K0))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}(),R=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,o.Yz7)({factory:function(){return(0,o.LFG)(M)},token:e,providedIn:"root"}),e}();function D(e){return new M(e.get(r.K0))}var M=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this))._doc=e,i}return _createClass(n,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case o.q3G.NONE:return t;case o.q3G.HTML:return(0,o.qzn)(t,"HTML")?(0,o.z3N)(t):(0,o.EiD)(this._doc,String(t)).toString();case o.q3G.STYLE:return(0,o.qzn)(t,"Style")?(0,o.z3N)(t):t;case o.q3G.SCRIPT:if((0,o.qzn)(t,"Script"))return(0,o.z3N)(t);throw new Error("unsafe value used in a script context");case o.q3G.URL:return(0,o.yhl)(t),(0,o.qzn)(t,"URL")?(0,o.z3N)(t):(0,o.mCW)(String(t));case o.q3G.RESOURCE_URL:if((0,o.qzn)(t,"ResourceURL"))return(0,o.z3N)(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(e," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return(0,o.JVY)(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return(0,o.L6k)(e)}},{key:"bypassSecurityTrustScript",value:function(e){return(0,o.eBb)(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return(0,o.LAX)(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return(0,o.pB0)(e)}}]),n}(R);return e.\u0275fac=function(t){return new(t||e)(o.LFG(r.K0))},e.\u0275prov=(0,o.Yz7)({factory:function(){return D((0,o.LFG)(o.gxx))},token:e,providedIn:"root"}),e}(),L=(0,o.eFA)(o._c5,"browser",[{provide:o.Lbi,useValue:r.bD},{provide:o.g9A,useValue:function(){a.makeCurrent(),c.init()},multi:!0},{provide:r.K0,useFactory:function(){return(0,o.RDi)(document),document},deps:[]}]),F=[[],{provide:o.zSh,useValue:"root"},{provide:o.qLn,useFactory:function(){return new o.qLn},deps:[]},{provide:f,useClass:S,multi:!0,deps:[r.K0,o.R0b,o.Lbi]},{provide:f,useClass:I,multi:!0,deps:[r.K0]},[],{provide:C,useClass:C,deps:[d,_,o.AFp]},{provide:o.FYo,useExisting:C},{provide:v,useExisting:_},{provide:_,useClass:_,deps:[r.K0]},{provide:o.dDg,useClass:o.dDg,deps:[o.R0b]},{provide:d,useClass:d,deps:[f,o.R0b]},{provide:r.JF,useClass:h,deps:[]},[]],N=function(){var e=function(){function e(t){if(_classCallCheck(this,e),t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return _createClass(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:o.AFp,useValue:t.appId},{provide:u,useExisting:o.AFp},l]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(e,12))},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:F,imports:[r.ez,o.hGG]}),e}();"undefined"!=typeof window&&window},8741:function(e,t,n){"use strict";n.d(t,{gz:function(){return nt},F0:function(){return xn},rH:function(){return En},yS:function(){return Sn},Bz:function(){return Bn},lC:function(){return An}});var i=n(8583),r=n(3018),o=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}(),a=n(4402),s=n(5917),u=n(6215),l=n(739),c=n(7574),h=n(8071),f=n(1439),d=n(9193),p=n(2441),v=n(9765),_=n(7393);function m(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new g(e,t,n))}}var g=function(){function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_classCallCheck(this,e),this.accumulator=t,this.seed=n,this.hasSeed=i}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new y(e,this.accumulator,this.seed,this.hasSeed))}}]),e}(),y=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var a;return _classCallCheck(this,n),(a=t.call(this,e)).accumulator=i,a._seed=r,a.hasSeed=o,a.index=0,a}return _createClass(n,[{key:"seed",get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e}},{key:"_next",value:function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(i){this.destination.error(i)}this.seed=t,this.destination.next(t)}}]),n}(_.L),b=n(5345);function k(e){return function(t){var n=new C(e),i=t.lift(n);return n.caught=i}}var C=function(){function e(t){_classCallCheck(this,e),this.selector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new w(e,this.selector,this.caught))}}]),e}(),w=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).selector=i,o.caught=r,o}return _createClass(n,[{key:"error",value:function(e){if(!this.isStopped){var t;try{t=this.selector(e,this.caught)}catch(o){return void _get(_getPrototypeOf(n.prototype),"error",this).call(this,o)}this._unsubscribeAndRecycle();var i=new b.IY(this);this.add(i);var r=(0,b.ft)(t,i);r!==i&&this.add(r)}}}]),n}(b.Ds),x=n(5435),E=n(7108);function S(e){return function(t){return 0===e?(0,d.c)():t.lift(new O(e))}}var O=function(){function e(t){if(_classCallCheck(this,e),this.total=t,this.total<0)throw new E.W}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new A(e,this.total))}}]),e}(),A=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).total=i,r.ring=new Array,r.count=0,r}return _createClass(n,[{key:"_next",value:function(e){var t=this.ring,n=this.total,i=this.count++;t.length0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r0&&void 0!==arguments[0]?arguments[0]:R;return function(t){return t.lift(new P(e))}}var P=function(){function e(t){_classCallCheck(this,e),this.errorFactory=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new I(e,this.errorFactory))}}]),e}(),I=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).errorFactory=i,r.hasValue=!1,r}return _createClass(n,[{key:"_next",value:function(e){this.hasValue=!0,this.destination.next(e)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}]),n}(_.L);function R(){return new o}function D(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new M(e))}}var M=function(){function e(t){_classCallCheck(this,e),this.defaultValue=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new L(e,this.defaultValue))}}]),e}(),L=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).defaultValue=i,r.isEmpty=!0,r}return _createClass(n,[{key:"_next",value:function(e){this.isEmpty=!1,this.destination.next(e)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(_.L),F=n(4487),N=n(5257);function B(e,t){var n=arguments.length>=2;return function(i){return i.pipe(e?(0,x.h)(function(t,n){return e(t,n,i)}):F.y,(0,N.q)(1),n?D(t):T(function(){return new o}))}}var U=n(5319),j=function(){function e(t){_classCallCheck(this,e),this.callback=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Z(e,this.callback))}}]),e}(),Z=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).add(new U.w(i)),r}return n}(_.L),q=n(8002),V=n(3190),H=n(9761),z=n(4612),Y=n(9773),G=n(3342),K=n(1307),W=n(3282),Q=function e(t,n){_classCallCheck(this,e),this.id=t,this.url=n},J=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _classCallCheck(this,n),(r=t.call(this,e,i)).navigationTrigger=o,r.restoredState=a,r}return _createClass(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(Q),X=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e,i)).urlAfterRedirects=r,o}return _createClass(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(Q),$=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e,i)).reason=r,o}return _createClass(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(Q),ee=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e,i)).error=r,o}return _createClass(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(Q),te=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(Q),ne=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(Q),ie=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,a){var s;return _classCallCheck(this,n),(s=t.call(this,e,i)).urlAfterRedirects=r,s.state=o,s.shouldActivate=a,s}return _createClass(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(Q),re=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(Q),oe=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(Q),ae=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),se=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),ue=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),le=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),ce=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),he=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),fe=function(){function e(t,n,i){_classCallCheck(this,e),this.routerEvent=t,this.position=n,this.anchor=i}return _createClass(e,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),e}(),de=function(){function e(t){_classCallCheck(this,e),this.params=t||{}}return _createClass(e,[{key:"has",value:function(e){return Object.prototype.hasOwnProperty.call(this.params,e)}},{key:"get",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null}},{key:"getAll",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function pe(e){return new de(e)}function ve(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function _e(e,t,n){var i=n.path.split("/");if(i.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.length0?e[e.length-1]:null}function ke(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Ce(e){return(0,r.CqO)(e)?e:(0,r.QGY)(e)?(0,a.D)(Promise.resolve(e)):(0,s.of)(e)}var we={exact:function e(t,n,i){if(!Re(t.segments,n.segments))return!1;if(!Ae(t.segments,n.segments,i))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r],i))return!1}return!0},subset:Se},xe={exact:function(e,t){return me(e,t)},subset:function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(function(n){return ge(e[n],t[n])})},ignored:function(){return!0}};function Ee(e,t,n){return we[n.paths](e.root,t.root,n.matrixParams)&&xe[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function Se(e,t,n){return Oe(e,t,t.segments,n)}function Oe(e,t,n,i){if(e.segments.length>n.length){var r=e.segments.slice(0,n.length);return!!Re(r,n)&&!t.hasChildren()&&!!Ae(r,n,i)}if(e.segments.length===n.length){if(!Re(e.segments,n))return!1;if(!Ae(e.segments,n,i))return!1;for(var o in t.children){if(!e.children[o])return!1;if(!Se(e.children[o],t.children[o],i))return!1}return!0}var a=n.slice(0,e.segments.length),s=n.slice(e.segments.length);return!!Re(e.segments,a)&&!!Ae(e.segments,a,i)&&!!e.children.primary&&Oe(e.children.primary,t,s,i)}function Ae(e,t,n){return t.every(function(t,i){return xe[n](e[i].parameters,t.parameters)})}var Te=function(){function e(t,n,i){_classCallCheck(this,e),this.root=t,this.queryParams=n,this.fragment=i}return _createClass(e,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=pe(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return Le.serialize(this)}}]),e}(),Pe=function(){function e(t,n){var i=this;_classCallCheck(this,e),this.segments=t,this.children=n,this.parent=null,ke(n,function(e,t){return e.parent=i})}return _createClass(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return Fe(this)}}]),e}(),Ie=function(){function e(t,n){_classCallCheck(this,e),this.path=t,this.parameters=n}return _createClass(e,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=pe(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return Ve(this)}}]),e}();function Re(e,t){return e.length===t.length&&e.every(function(e,n){return e.path===t[n].path})}var De=function e(){_classCallCheck(this,e)},Me=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"parse",value:function(e){var t=new Ke(e);return new Te(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){var t,n,i;return"/".concat(Ne(e.root,!0)).concat((n=e.queryParams,i=Object.keys(n).map(function(e){var t=n[e];return Array.isArray(t)?t.map(function(t){return"".concat(Ue(e),"=").concat(Ue(t))}).join("&"):"".concat(Ue(e),"=").concat(Ue(t))}).filter(function(e){return!!e}),i.length?"?".concat(i.join("&")):"")).concat("string"==typeof e.fragment?"#".concat((t=e.fragment,encodeURI(t))):"")}}]),e}(),Le=new Me;function Fe(e){return e.segments.map(function(e){return Ve(e)}).join("/")}function Ne(e,t){if(!e.hasChildren())return Fe(e);if(t){var n=e.children.primary?Ne(e.children.primary,!1):"",i=[];return ke(e.children,function(e,t){"primary"!==t&&i.push("".concat(t,":").concat(Ne(e,!1)))}),i.length>0?"".concat(n,"(").concat(i.join("//"),")"):n}var r=function(e,t){var n=[];return ke(e.children,function(e,i){"primary"===i&&(n=n.concat(t(e,i)))}),ke(e.children,function(e,i){"primary"!==i&&(n=n.concat(t(e,i)))}),n}(e,function(t,n){return"primary"===n?[Ne(e.children.primary,!1)]:["".concat(n,":").concat(Ne(t,!1))]});return 1===Object.keys(e.children).length&&null!=e.children.primary?"".concat(Fe(e),"/").concat(r[0]):"".concat(Fe(e),"/(").concat(r.join("//"),")")}function Be(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ue(e){return Be(e).replace(/%3B/gi,";")}function je(e){return Be(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ze(e){return decodeURIComponent(e)}function qe(e){return Ze(e.replace(/\+/g,"%20"))}function Ve(e){return"".concat(je(e.path)).concat((t=e.parameters,Object.keys(t).map(function(e){return";".concat(je(e),"=").concat(je(t[e]))}).join("")));var t}var He=/^[^\/()?;=#]+/;function ze(e){var t=e.match(He);return t?t[0]:""}var Ye=/^[^=?&#]+/,Ge=/^[^?&#]+/,Ke=function(){function e(t){_classCallCheck(this,e),this.url=t,this.remaining=t}return _createClass(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Pe([],{}):new Pe([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new Pe(e,t)),n}},{key:"parseSegment",value:function(){var e=ze(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new Ie(Ze(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=ze(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=ze(this.remaining);i&&(n=i,this.capture(n))}e[Ze(t)]=Ze(n)}}},{key:"parseQueryParam",value:function(e){var t=function(e){var t=e.match(Ye);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=function(e){var t=e.match(Ge);return t?t[0]:""}(this.remaining);i&&(n=i,this.capture(n))}var r=qe(t),o=qe(n);if(e.hasOwnProperty(r)){var a=e[r];Array.isArray(a)||(a=[a],e[r]=a),a.push(o)}else e[r]=o}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=ze(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '".concat(this.url,"'"));var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r="primary");var o=this.parseChildren();t[r]=1===Object.keys(o).length?o.primary:new Pe([],o),this.consumeOptional("//")}return t}},{key:"peekStartsWith",value:function(e){return this.remaining.startsWith(e)}},{key:"consumeOptional",value:function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}},{key:"capture",value:function(e){if(!this.consumeOptional(e))throw new Error('Expected "'.concat(e,'".'))}}]),e}(),We=function(){function e(t){_classCallCheck(this,e),this._root=t}return _createClass(e,[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}},{key:"children",value:function(e){var t=Qe(e,this._root);return t?t.children.map(function(e){return e.value}):[]}},{key:"firstChild",value:function(e){var t=Qe(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=Je(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(e){return e.value}).filter(function(t){return t!==e})}},{key:"pathFromRoot",value:function(e){return Je(e,this._root).map(function(e){return e.value})}}]),e}();function Qe(e,t){if(e===t.value)return t;var n,i=_createForOfIteratorHelper(t.children);try{for(i.s();!(n=i.n()).done;){var r=Qe(e,n.value);if(r)return r}}catch(o){i.e(o)}finally{i.f()}return null}function Je(e,t){if(e===t.value)return[t];var n,i=_createForOfIteratorHelper(t.children);try{for(i.s();!(n=i.n()).done;){var r=Je(e,n.value);if(r.length)return r.unshift(t),r}}catch(o){i.e(o)}finally{i.f()}return[]}var Xe=function(){function e(t,n){_classCallCheck(this,e),this.value=t,this.children=n}return _createClass(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function $e(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}var et=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).snapshot=i,at(_assertThisInitialized(r),e),r}return _createClass(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(We);function tt(e,t){var n=function(e,t){var n=new rt([],{},{},"",{},"primary",t,null,e.root,-1,{});return new ot("",new Xe(n,[]))}(e,t),i=new u.X([new Ie("",{})]),r=new u.X({}),o=new u.X({}),a=new u.X({}),s=new u.X(""),l=new nt(i,r,a,s,o,"primary",t,n.root);return l.snapshot=n.root,new et(new Xe(l,[]),n)}var nt=function(){function e(t,n,i,r,o,a,s,u){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this._futureSnapshot=u}return _createClass(e,[{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe((0,q.U)(function(e){return pe(e)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,q.U)(function(e){return pe(e)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),e}();function it(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=e.pathFromRoot,i=0;if("always"!==t)for(i=n.length-1;i>=1;){var r=n[i],o=n[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function(e){return e.reduce(function(e,t){return{params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(i))}var rt=function(){function e(t,n,i,r,o,a,s,u,l,c,h){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=u,this._urlSegment=l,this._lastPathIndex=c,this._resolve=h}return _createClass(e,[{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=pe(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=pe(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return"Route(url:'".concat(this.url.map(function(e){return e.toString()}).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}}]),e}(),ot=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,i)).url=e,at(_assertThisInitialized(r),i),r}return _createClass(n,[{key:"toString",value:function(){return st(this._root)}}]),n}(We);function at(e,t){t.value._routerState=e,t.children.forEach(function(t){return at(e,t)})}function st(e){var t=e.children.length>0?" { ".concat(e.children.map(st).join(", ")," } "):"";return"".concat(e.value).concat(t)}function ut(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,me(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),me(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n0&&ft(i[0]))throw new Error("Root segment cannot have matrix parameters");var r=i.find(dt);if(r&&r!==be(i))throw new Error("{outlets:{}} has to be the last command")}return _createClass(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),mt=function e(t,n,i){_classCallCheck(this,e),this.segmentGroup=t,this.processChildren=n,this.index=i};function gt(e,t,n){if(e||(e=new Pe([],{})),0===e.segments.length&&e.hasChildren())return yt(e,t,n);var i=function(e,t,n){for(var i=0,r=t,o={match:!1,pathIndex:0,commandIndex:0};r=n.length)return o;var a=e.segments[r],s=n[i];if(dt(s))break;var u="".concat(s),l=i0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!wt(u,l,a))return o;i+=2}else{if(!wt(u,{},a))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,t,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex1&&void 0!==arguments[1]?arguments[1]:"",n=0;n0)?Object.assign({},Bt):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var r=(t.matcher||_e)(n,e,t);if(!r)return Object.assign({},Bt);var o={};ke(r.posParams,function(e,t){o[t]=e.path});var a=r.consumed.length>0?Object.assign(Object.assign({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function jt(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(n.length>0&&function(e,t,n){return n.some(function(n){return Zt(e,t,n)&&"primary"!==Ft(n)})}(e,n,i)){var o=new Pe(t,function(e,t,n,i){var r={};r.primary=i,i._sourceSegment=e,i._segmentIndexShift=t.length;var o,a=_createForOfIteratorHelper(n);try{for(a.s();!(o=a.n()).done;){var s=o.value;if(""===s.path&&"primary"!==Ft(s)){var u=new Pe([],{});u._sourceSegment=e,u._segmentIndexShift=t.length,r[Ft(s)]=u}}}catch(l){a.e(l)}finally{a.f()}return r}(e,t,i,new Pe(n,e.children)));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(function(n){return Zt(e,t,n)})}(e,n,i)){var a=new Pe(e.segments,function(e,t,n,i,r,o){var a,s={},u=_createForOfIteratorHelper(i);try{for(u.s();!(a=u.n()).done;){var l=a.value;if(Zt(e,n,l)&&!r[Ft(l)]){var c=new Pe([],{});c._sourceSegment=e,c._segmentIndexShift="legacy"===o?e.segments.length:t.length,s[Ft(l)]=c}}}catch(h){u.e(h)}finally{u.f()}return Object.assign(Object.assign({},r),s)}(e,t,n,i,e.children,r));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:n}}var s=new Pe(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function Zt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function qt(e,t,n,i){return!!(Ft(e)===i||"primary"!==i&&Zt(t,n,e))&&("**"===e.path||Ut(t,e,n).matched)}function Vt(e,t,n){return 0===t.length&&!e.children[n]}var Ht=function e(t){_classCallCheck(this,e),this.segmentGroup=t||null},zt=function e(t){_classCallCheck(this,e),this.urlTree=t};function Yt(e){return new c.y(function(t){return t.error(new Ht(e))})}function Gt(e){return new c.y(function(t){return t.error(new zt(e))})}function Kt(e){return new c.y(function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))})}var Wt=function(){function e(t,n,i,o,a){_classCallCheck(this,e),this.configLoader=n,this.urlSerializer=i,this.urlTree=o,this.config=a,this.allowRedirects=!0,this.ngModule=t.get(r.h0i)}return _createClass(e,[{key:"apply",value:function(){var e=this,t=jt(this.urlTree.root,[],[],this.config).segmentGroup,n=new Pe(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,n,"primary").pipe((0,q.U)(function(t){return e.createUrlTree(Qt(t),e.urlTree.queryParams,e.urlTree.fragment)})).pipe(k(function(t){if(t instanceof zt)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof Ht)throw e.noMatchError(t);throw t}))}},{key:"match",value:function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe((0,q.U)(function(n){return t.createUrlTree(Qt(n),e.queryParams,e.fragment)})).pipe(k(function(e){if(e instanceof Ht)throw t.noMatchError(e);throw e}))}},{key:"noMatchError",value:function(e){return new Error("Cannot match any routes. URL Segment: '".concat(e.segmentGroup,"'"))}},{key:"createUrlTree",value:function(e,t,n){var i=e.segments.length>0?new Pe([],{primary:e}):e;return new Te(i,t,n)}},{key:"expandSegmentGroup",value:function(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe((0,q.U)(function(e){return new Pe([],e)})):this.expandSegment(e,n,t,n.segments,i,!0)}},{key:"expandChildren",value:function(e,t,n){for(var i=this,r=[],s=0,u=Object.keys(n.children);s=2;return function(i){return i.pipe(e?(0,x.h)(function(t,n){return e(t,n,i)}):F.y,S(1),n?D(t):T(function(){return new o}))}}())}},{key:"expandSegment",value:function(e,t,n,i,r,u){var l=this;return(0,a.D)(n).pipe((0,z.b)(function(o){return l.expandSegmentAgainstRoute(e,t,n,o,i,r,u).pipe(k(function(e){if(e instanceof Ht)return(0,s.of)(null);throw e}))}),B(function(e){return!!e}),k(function(e,n){if(e instanceof o||"EmptyError"===e.name){if(Vt(t,i,r))return(0,s.of)(new Pe([],{}));throw new Ht(t)}throw e}))}},{key:"expandSegmentAgainstRoute",value:function(e,t,n,i,r,o,a){return qt(i,t,r,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o):Yt(t):Yt(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,n,i){var r=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Gt(o):this.lineralizeSegments(n,o).pipe((0,Y.zg)(function(n){var o=new Pe(n,{});return r.expandSegment(e,o,t,n,i,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,o){var a=this,s=Ut(t,i,r),u=s.matched,l=s.consumedSegments,c=s.lastChild,h=s.positionalParamSegments;if(!u)return Yt(t);var f=this.applyRedirectCommands(l,i.redirectTo,h);return i.redirectTo.startsWith("/")?Gt(f):this.lineralizeSegments(i,f).pipe((0,Y.zg)(function(i){return a.expandSegment(e,t,n,i.concat(r.slice(c)),o,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(e,t,n,i,r){var o=this;if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,s.of)(n._loadedConfig):this.configLoader.load(e.injector,n)).pipe((0,q.U)(function(e){return n._loadedConfig=e,new Pe(i,{})})):(0,s.of)(new Pe(i,{}));var a=Ut(t,n,i),u=a.matched,l=a.consumedSegments,c=a.lastChild;if(!u)return Yt(t);var h=i.slice(c);return this.getChildConfig(e,n,i).pipe((0,Y.zg)(function(e){var i=e.module,a=e.routes,u=jt(t,l,h,a),c=u.segmentGroup,f=u.slicedSegments,d=new Pe(c.segments,c.children);if(0===f.length&&d.hasChildren())return o.expandChildren(i,a,d).pipe((0,q.U)(function(e){return new Pe(l,e)}));if(0===a.length&&0===f.length)return(0,s.of)(new Pe(l,{}));var p=Ft(n)===r;return o.expandSegment(i,d,a,f,p?"primary":r,!0).pipe((0,q.U)(function(e){return new Pe(l.concat(e.segments),e.children)}))}))}},{key:"getChildConfig",value:function(e,t,n){var i=this;return t.children?(0,s.of)(new St(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?(0,s.of)(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe((0,Y.zg)(function(n){return n?i.configLoader.load(e.injector,t).pipe((0,q.U)(function(e){return t._loadedConfig=e,e})):function(e){return new c.y(function(t){return t.error(ve("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))})}(t)})):(0,s.of)(new St([],e))}},{key:"runCanLoadGuards",value:function(e,t,n){var i=this,r=t.canLoad;if(!r||0===r.length)return(0,s.of)(!0);var o=r.map(function(i){var r,o=e.get(i);if(function(e){return e&&Ot(e.canLoad)}(o))r=o.canLoad(t,n);else{if(!Ot(o))throw new Error("Invalid CanLoad guard");r=o(t,n)}return Ce(r)});return(0,s.of)(o).pipe(Pt(),(0,G.b)(function(e){if(At(e)){var t=ve('Redirecting to "'.concat(i.urlSerializer.serialize(e),'"'));throw t.url=e,t}}),(0,q.U)(function(e){return!0===e}))}},{key:"lineralizeSegments",value:function(e,t){for(var n=[],i=t.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return(0,s.of)(n);if(i.numberOfChildren>1||!i.children.primary)return Kt(e.redirectTo);i=i.children.primary}}},{key:"applyRedirectCommands",value:function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}},{key:"applyRedirectCreatreUrlTree",value:function(e,t,n,i){var r=this.createSegmentGroup(e,t.root,n,i);return new Te(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var n={};return ke(e,function(e,i){if("string"==typeof e&&e.startsWith(":")){var r=e.substring(1);n[i]=t[r]}else n[i]=e}),n}},{key:"createSegmentGroup",value:function(e,t,n,i){var r=this,o=this.createSegments(e,t.segments,n,i),a={};return ke(t.children,function(t,o){a[o]=r.createSegmentGroup(e,t,n,i)}),new Pe(o,a)}},{key:"createSegments",value:function(e,t,n,i){var r=this;return t.map(function(t){return t.path.startsWith(":")?r.findPosParam(e,t,i):r.findOrReturn(t,n)})}},{key:"findPosParam",value:function(e,t,n){var i=n[t.path.substring(1)];if(!i)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return i}},{key:"findOrReturn",value:function(e,t){var n,i=0,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o.path===e.path)return t.splice(i),o;i++}}catch(a){r.e(a)}finally{r.f()}return e}}]),e}();function Qt(e){for(var t={},n=0,i=Object.keys(e.children);n0||o.hasChildren())&&(t[r]=o)}return function(e){if(1===e.numberOfChildren&&e.children.primary){var t=e.children.primary;return new Pe(e.segments.concat(t.segments),t.children)}return e}(new Pe(e.segments,t))}var Jt=function e(t){_classCallCheck(this,e),this.path=t,this.route=this.path[this.path.length-1]},Xt=function e(t,n){_classCallCheck(this,e),this.component=t,this.route=n};function $t(e,t,n){var i=e._root;return tn(i,t?t._root:null,n,[i.value])}function en(e,t,n){var i=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(i?i.module.injector:n).get(e)}function tn(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=$e(t);return e.children.forEach(function(e){!function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=e.value,a=t?t.value:null,s=n?n.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){var u=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Re(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Re(e.url,t.url)||!me(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!lt(e,t)||!me(e.queryParams,t.queryParams);case"paramsChange":default:return!lt(e,t)}}(a,o,o.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new Jt(i)):(o.data=a.data,o._resolvedData=a._resolvedData),tn(e,t,o.component?s?s.children:null:n,i,r),u&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new Xt(s.outlet.component,a))}else a&&nn(t,s,r),r.canActivateChecks.push(new Jt(i)),tn(e,null,o.component?s?s.children:null:n,i,r)}(e,o[e.value.outlet],n,i.concat([e.value]),r),delete o[e.value.outlet]}),ke(o,function(e,t){return nn(e,n.getContext(t),r)}),r}function nn(e,t,n){var i=$e(e),r=e.value;ke(i,function(e,i){nn(e,r.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new Xt(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}var rn=function e(){_classCallCheck(this,e)};function on(e){return new c.y(function(t){return t.error(e)})}var an=function(){function e(t,n,i,r,o,a){_classCallCheck(this,e),this.rootComponentType=t,this.config=n,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=a}return _createClass(e,[{key:"recognize",value:function(){var e=jt(this.urlTree.root,[],[],this.config.filter(function(e){return void 0===e.redirectTo}),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary");if(null===t)return null;var n=new rt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Xe(n,t),r=new ot(this.url,i);return this.inheritParamsAndData(r._root),r}},{key:"inheritParamsAndData",value:function(e){var t=this,n=e.value,i=it(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),e.children.forEach(function(e){return t.inheritParamsAndData(e)})}},{key:"processSegmentGroup",value:function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}},{key:"processChildren",value:function(e,t){for(var n=[],i=0,r=Object.keys(t.children);i0?be(n).parameters:{};r=new rt(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,cn(e),Ft(e),e.component,e,un(t),ln(t)+n.length,hn(e))}else{var u=Ut(t,e,n);if(!u.matched)return null;o=u.consumedSegments,a=n.slice(u.lastChild),r=new rt(o,u.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,cn(e),Ft(e),e.component,e,un(t),ln(t)+o.length,hn(e))}var l=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),c=jt(t,o,a,l.filter(function(e){return void 0===e.redirectTo}),this.relativeLinkResolution),h=c.segmentGroup,f=c.slicedSegments;if(0===f.length&&h.hasChildren()){var d=this.processChildren(l,h);return null===d?null:[new Xe(r,d)]}if(0===l.length&&0===f.length)return[new Xe(r,[])];var p=Ft(e)===i,v=this.processSegment(l,h,f,p?"primary":i);return null===v?null:[new Xe(r,v)]}}]),e}();function sn(e){var t,n=[],i=new Set,r=_createForOfIteratorHelper(e);try{var o=function(){var e,r=t.value;if(!function(e){var t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}(r))return n.push(r),"continue";var o=n.find(function(e){return r.value.routeConfig===e.value.routeConfig});void 0!==o?((e=o.children).push.apply(e,_toConsumableArray(r.children)),i.add(o)):n.push(r)};for(r.s();!(t=r.n()).done;)o()}catch(c){r.e(c)}finally{r.f()}var a,s=_createForOfIteratorHelper(i);try{for(s.s();!(a=s.n()).done;){var u=a.value,l=sn(u.children);n.push(new Xe(u.value,l))}}catch(c){s.e(c)}finally{s.f()}return n.filter(function(e){return!i.has(e)})}function un(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function ln(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function cn(e){return e.data||{}}function hn(e){return e.resolve||{}}function fn(e){return(0,V.w)(function(t){var n=e(t);return n?(0,a.D)(n).pipe((0,q.U)(function(){return t})):(0,s.of)(t)})}var dn=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldDetach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"shouldAttach",value:function(e){return!1}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){return e.routeConfig===t.routeConfig}}]),e}()),pn=new r.OlP("ROUTES"),vn=function(){function e(t,n,i,r){_classCallCheck(this,e),this.loader=t,this.compiler=n,this.onLoadStartListener=i,this.onLoadEndListener=r}return _createClass(e,[{key:"load",value:function(e,t){var n=this;if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);var i=this.loadModuleFactory(t.loadChildren).pipe((0,q.U)(function(i){n.onLoadEndListener&&n.onLoadEndListener(t);var o=i.create(e);return new St(ye(o.injector.get(pn,void 0,r.XFs.Self|r.XFs.Optional)).map(Lt),o)}),k(function(e){throw t._loader$=void 0,e}));return t._loader$=new p.c(i,function(){return new v.xQ}).pipe((0,K.x)()),t._loader$}},{key:"loadModuleFactory",value:function(e){var t=this;return"string"==typeof e?(0,a.D)(this.loader.load(e)):Ce(e()).pipe((0,Y.zg)(function(e){return e instanceof r.YKP?(0,s.of)(e):(0,a.D)(t.compiler.compileModuleAsync(e))}))}}]),e}(),_n=function e(){_classCallCheck(this,e),this.outlet=null,this.route=null,this.resolver=null,this.children=new mn,this.attachRef=null},mn=function(){function e(){_classCallCheck(this,e),this.contexts=new Map}return _createClass(e,[{key:"onChildOutletCreated",value:function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}},{key:"onChildOutletDestroyed",value:function(e){var t=this.getContext(e);t&&(t.outlet=null)}},{key:"onOutletDeactivated",value:function(){var e=this.contexts;return this.contexts=new Map,e}},{key:"onOutletReAttached",value:function(e){this.contexts=e}},{key:"getOrCreateContext",value:function(e){var t=this.getContext(e);return t||(t=new _n,this.contexts.set(e,t)),t}},{key:"getContext",value:function(e){return this.contexts.get(e)||null}}]),e}(),gn=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}]),e}();function yn(e){throw e}function bn(e,t,n){return t.parse("/")}function kn(e,t){return(0,s.of)(null)}var Cn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},wn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},xn=function(){var e=function(){function e(t,n,i,o,a,s,l,c){var h=this;_classCallCheck(this,e),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=i,this.location=o,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new v.xQ,this.errorHandler=yn,this.malformedUriErrorHandler=bn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:kn,afterPreactivation:kn},this.urlHandlingStrategy=new gn,this.routeReuseStrategy=new dn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=a.get(r.h0i),this.console=a.get(r.c2e);var f=a.get(r.R0b);this.isNgZoneEnabled=f instanceof r.R0b&&r.R0b.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new Te(new Pe([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new vn(s,l,function(e){return h.triggerEvent(new ae(e))},function(e){return h.triggerEvent(new se(e))}),this.routerState=tt(this.currentUrlTree,this.rootComponentType),this.transitions=new u.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return _createClass(e,[{key:"setupNavigations",value:function(e){var t=this,n=this.events;return e.pipe((0,x.h)(function(e){return 0!==e.id}),(0,q.U)(function(e){return Object.assign(Object.assign({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})}),(0,V.w)(function(e){var i,r,o,u,l=!1,c=!1;return(0,s.of)(e).pipe((0,G.b)(function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object.assign(Object.assign({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,V.w)(function(e){var i,r,o,a,u=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||u)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return(0,s.of)(e).pipe((0,V.w)(function(e){var i=t.transitions.getValue();return n.next(new J(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),i!==t.transitions.getValue()?d.E:Promise.resolve(e)}),(i=t.ngModule.injector,r=t.configLoader,o=t.urlSerializer,a=t.config,(0,V.w)(function(e){return function(e,t,n,i,r){return new Wt(e,t,n,i,r).apply()}(i,r,o,e.extractedUrl,a).pipe((0,q.U)(function(t){return Object.assign(Object.assign({},e),{urlAfterRedirects:t})}))})),(0,G.b)(function(e){t.currentNavigation=Object.assign(Object.assign({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,n,i,r,o){return(0,Y.zg)(function(i){return function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var a=new an(e,t,n,i,r,o).recognize();return null===a?on(new rn):(0,s.of)(a)}catch(u){return on(u)}}(e,n,i.urlAfterRedirects,(a=i.urlAfterRedirects,t.serializeUrl(a)),r,o).pipe((0,q.U)(function(e){return Object.assign(Object.assign({},i),{targetSnapshot:e})}));var a})}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),(0,G.b)(function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,e),t.browserUrlTree=e.urlAfterRedirects);var i=new te(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(i)}));if(u&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var l=e.id,c=e.extractedUrl,h=e.source,f=e.restoredState,p=e.extras,v=new J(l,t.serializeUrl(c),h,f);n.next(v);var _=tt(c,t.rootComponentType).snapshot;return(0,s.of)(Object.assign(Object.assign({},e),{targetSnapshot:_,urlAfterRedirects:c,extras:Object.assign(Object.assign({},p),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),d.E}),fn(function(e){var n=e.targetSnapshot,i=e.id,r=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,u=a.replaceUrl;return t.hooks.beforePreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!u})}),(0,G.b)(function(e){var n=new ne(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),(0,q.U)(function(e){return Object.assign(Object.assign({},e),{guards:$t(e.targetSnapshot,e.currentSnapshot,t.rootContexts)})}),function(e,t){return(0,Y.zg)(function(n){var i=n.targetSnapshot,r=n.currentSnapshot,o=n.guards,u=o.canActivateChecks,l=o.canDeactivateChecks;return 0===l.length&&0===u.length?(0,s.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,i){return(0,a.D)(e).pipe((0,Y.zg)(function(e){return function(e,t,n,i,r){var o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||0===o.length)return(0,s.of)(!0);var a=o.map(function(o){var a,s=en(o,t,r);if(function(e){return e&&Ot(e.canDeactivate)}(s))a=Ce(s.canDeactivate(e,t,n,i));else{if(!Ot(s))throw new Error("Invalid CanDeactivate guard");a=Ce(s(e,t,n,i))}return a.pipe(B())});return(0,s.of)(a).pipe(Pt())}(e.component,e.route,n,t,i)}),B(function(e){return!0!==e},!0))}(l,i,r,e).pipe((0,Y.zg)(function(n){return n&&"boolean"==typeof n?function(e,t,n,i){return(0,a.D)(t).pipe((0,z.b)(function(t){return(0,h.z)(function(e,t){return null!==e&&t&&t(new ue(e)),(0,s.of)(!0)}(t.route.parent,i),function(e,t){return null!==e&&t&&t(new ce(e)),(0,s.of)(!0)}(t.route,i),function(e,t,n){var i=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)}).filter(function(e){return null!==e}).map(function(t){return(0,f.P)(function(){var r=t.guards.map(function(r){var o,a=en(r,t.node,n);if(function(e){return e&&Ot(e.canActivateChild)}(a))o=Ce(a.canActivateChild(i,e));else{if(!Ot(a))throw new Error("Invalid CanActivateChild guard");o=Ce(a(i,e))}return o.pipe(B())});return(0,s.of)(r).pipe(Pt())})});return(0,s.of)(r).pipe(Pt())}(e,t.path,n),function(e,t,n){var i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return(0,s.of)(!0);var r=i.map(function(i){return(0,f.P)(function(){var r,o=en(i,t,n);if(function(e){return e&&Ot(e.canActivate)}(o))r=Ce(o.canActivate(t,e));else{if(!Ot(o))throw new Error("Invalid CanActivate guard");r=Ce(o(t,e))}return r.pipe(B())})});return(0,s.of)(r).pipe(Pt())}(e,t.route,n))}),B(function(e){return!0!==e},!0))}(i,u,e,t):(0,s.of)(n)}),(0,q.U)(function(e){return Object.assign(Object.assign({},n),{guardsResult:e})}))})}(t.ngModule.injector,function(e){return t.triggerEvent(e)}),(0,G.b)(function(e){if(At(e.guardsResult)){var n=ve('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw n.url=e.guardsResult,n}var i=new ie(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(i)}),(0,x.h)(function(e){return!!e.guardsResult||(t.cancelNavigationTransition(e,""),!1)}),fn(function(e){if(e.guards.canActivateChecks.length)return(0,s.of)(e).pipe((0,G.b)(function(e){var n=new re(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),(0,V.w)(function(e){var n,i,r=!1;return(0,s.of)(e).pipe((n=t.paramsInheritanceStrategy,i=t.ngModule.injector,(0,Y.zg)(function(e){var t=e.targetSnapshot,r=e.guards.canActivateChecks;if(!r.length)return(0,s.of)(e);var o=0;return(0,a.D)(r).pipe((0,z.b)(function(e){return function(e,t,n,i){return function(e,t,n,i){var r=Object.keys(e);if(0===r.length)return(0,s.of)({});var o={};return(0,a.D)(r).pipe((0,Y.zg)(function(r){return function(e,t,n,i){var r=en(e,t,i);return Ce(r.resolve?r.resolve(t,n):r(t,n))}(e[r],t,n,i).pipe((0,G.b)(function(e){o[r]=e}))}),S(1),(0,Y.zg)(function(){return Object.keys(o).length===r.length?(0,s.of)(o):d.E}))}(e._resolve,e,t,i).pipe((0,q.U)(function(t){return e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),it(e,n).resolve),null}))}(e.route,t,n,i)}),(0,G.b)(function(){return o++}),S(1),(0,Y.zg)(function(t){return o===r.length?(0,s.of)(e):d.E}))})),(0,G.b)({next:function(){return r=!0},complete:function(){r||t.cancelNavigationTransition(e,"At least one route resolver didn't emit any value.")}}))}),(0,G.b)(function(e){var n=new oe(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}))}),fn(function(e){var n=e.targetSnapshot,i=e.id,r=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,u=a.replaceUrl;return t.hooks.afterPreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!u})}),(0,q.U)(function(e){var n=function(e,t,n){var i=ct(e,t._root,n?n._root:void 0);return new et(i,t)}(t.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:n})}),(0,G.b)(function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(t.currentUrlTree,e.rawUrl),t.routerState=e.targetRouterState,"deferred"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,e),t.browserUrlTree=e.urlAfterRedirects)}),(r=t.rootContexts,o=t.routeReuseStrategy,u=function(e){return t.triggerEvent(e)},(0,q.U)(function(e){return new xt(o,e.targetRouterState,e.currentRouterState,u).activate(r),e})),(0,G.b)({next:function(){l=!0},complete:function(){l=!0}}),(i=function(){l||c||t.cancelNavigationTransition(e,"Navigation ID ".concat(e.id," is not equal to the current navigation id ").concat(t.navigationId)),t.currentNavigation=null},function(e){return e.lift(new j(i))}),k(function(i){if(c=!0,(s=i)&&s.ngNavigationCancelingError){var r=At(i.url);r||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var o=new $(e.id,t.serializeUrl(e.extractedUrl),i.message);n.next(o),r?setTimeout(function(){var n=t.urlHandlingStrategy.merge(i.url,t.rawUrlTree);t.scheduleNavigation(n,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var a=new ee(e.id,t.serializeUrl(e.extractedUrl),i);n.next(a);try{e.resolve(t.errorHandler(i))}catch(u){e.reject(u)}}var s;return d.E}))}))}},{key:"resetRootComponentType",value:function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}},{key:"setTransition",value:function(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(t){var n=e.extractLocationChangeInfoFromEvent(t);e.shouldScheduleNavigation(e.lastLocationChangeInfo,n)&&setTimeout(function(){var t=n.source,i=n.state,r=n.urlTree,o={replaceUrl:!0};if(i){var a=Object.assign({},i);delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(o.state=a)}e.scheduleNavigation(r,t,i,o)},0),e.lastLocationChangeInfo=n}))}},{key:"extractLocationChangeInfoFromEvent",value:function(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}},{key:"shouldScheduleNavigation",value:function(e,t){if(!e)return!0;var n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&n&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(e){this.events.next(e)}},{key:"resetConfig",value:function(e){Rt(e),this.config=e.map(Lt),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.relativeTo,i=t.queryParams,r=t.fragment,o=t.queryParamsHandling,a=t.preserveFragment,s=n||this.routerState.root,u=a?this.currentUrlTree.fragment:r,l=null;switch(o){case"merge":l=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}return null!==l&&(l=this.removeEmptyProps(l)),function(e,t,n,i,r){if(0===n.length)return pt(t.root,t.root,t,i,r);var o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new _t(!0,0,e);var t=0,n=!1,i=e.reduce(function(e,i,r){if("object"==typeof i&&null!=i){if(i.outlets){var o={};return ke(i.outlets,function(e,t){o[t]="string"==typeof e?e.split("/"):e}),[].concat(_toConsumableArray(e),[{outlets:o}])}if(i.segmentPath)return[].concat(_toConsumableArray(e),[i.segmentPath])}return"string"!=typeof i?[].concat(_toConsumableArray(e),[i]):0===r?(i.split("/").forEach(function(i,r){0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?t++:""!=i&&e.push(i))}),e):[].concat(_toConsumableArray(e),[i])},[]);return new _t(n,t,i)}(n);if(o.toRoot())return pt(t.root,new Pe([],{}),t,i,r);var a=function(e,t,n){if(e.isAbsolute)return new mt(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){var i=n.snapshot._urlSegment;return new mt(i,i===t.root,0)}var r=ft(e.commands[0])?0:1;return function(e,t,n){for(var i=e,r=t,o=n;o>r;){if(o-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new mt(i,!1,r-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(o,t,e),s=a.processChildren?yt(a.segmentGroup,a.index,o.commands):gt(a.segmentGroup,a.index,o.commands);return pt(a.segmentGroup,s,t,i,r)}(s,this.currentUrlTree,e,l,null!=u?u:null)}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},n=At(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree),r=null;return"computed"===this.canceledNavigationResolution&&(0===this.currentPageId||t.skipLocationChange||t.replaceUrl)&&(r=this.location.getState()),this.scheduleNavigation(i,"imperative",r,t)}},{key:"navigate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(e){for(var t=0;t2&&void 0!==arguments[2]?arguments[2]:{};_classCallCheck(this,e),this.router=t,this.viewportScroller=n,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}return _createClass(e,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var e=this;return this.router.events.subscribe(function(t){t instanceof J?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof X&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var e=this;return this.router.events.subscribe(function(t){t instanceof fe&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(e,t){this.router.triggerEvent(new fe(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(xn),r.LFG(i.EM),r.LFG(void 0))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),Mn=new r.OlP("ROUTER_CONFIGURATION"),Ln=new r.OlP("ROUTER_FORROOT_GUARD"),Fn=[i.Ye,{provide:De,useClass:Me},{provide:xn,useFactory:function(e,t,n,i,r,o,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},u=arguments.length>8?arguments[8]:void 0,l=arguments.length>9?arguments[9]:void 0,c=new xn(null,e,t,n,i,r,o,ye(a));return u&&(c.urlHandlingStrategy=u),l&&(c.routeReuseStrategy=l),function(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy)}(s,c),s.enableTracing&&c.events.subscribe(function(e){var t,n;null===(t=console.group)||void 0===t||t.call(console,"Router Event: ".concat(e.constructor.name)),console.log(e.toString()),console.log(e),null===(n=console.groupEnd)||void 0===n||n.call(console)}),c},deps:[De,mn,i.Ye,r.zs3,r.v3s,r.Sil,pn,Mn,[function(){return function e(){_classCallCheck(this,e)}}(),new r.FiY],[function(){return function e(){_classCallCheck(this,e)}}(),new r.FiY]]},mn,{provide:nt,useFactory:function(e){return e.routerState.root},deps:[xn]},{provide:r.v3s,useClass:r.EAV},Rn,In,function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"preload",value:function(e,t){return t().pipe(k(function(){return(0,s.of)(null)}))}}]),e}(),{provide:Mn,useValue:{enableTracing:!1}}];function Nn(){return new r.PXZ("Router",xn)}var Bn=function(){var e=function(){function e(t,n){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(t,n){return{ngModule:e,providers:[Fn,qn(t),{provide:Ln,useFactory:Zn,deps:[[xn,new r.FiY,new r.tp0]]},{provide:Mn,useValue:n||{}},{provide:i.S$,useFactory:jn,deps:[i.lw,[new r.tBr(i.mr),new r.FiY],Mn]},{provide:Dn,useFactory:Un,deps:[xn,i.EM,Mn]},{provide:Pn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:In},{provide:r.PXZ,multi:!0,useFactory:Nn},[Vn,{provide:r.ip1,multi:!0,useFactory:Hn,deps:[Vn]},{provide:Yn,useFactory:zn,deps:[Vn]},{provide:r.tb,multi:!0,useExisting:Yn}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[qn(t)]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(Ln,8),r.LFG(xn,8))},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e}();function Un(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Dn(e,t,n)}function jn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new i.Do(e,t):new i.b0(e,t)}function Zn(e){return"guarded"}function qn(e){return[{provide:r.deG,multi:!0,useValue:e},{provide:pn,multi:!0,useValue:e}]}var Vn=function(){var e=function(){function e(t){_classCallCheck(this,e),this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new v.xQ}return _createClass(e,[{key:"appInitializer",value:function(){var e=this;return this.injector.get(i.V_,Promise.resolve(null)).then(function(){if(e.destroyed)return Promise.resolve(!0);var t=null,n=new Promise(function(e){return t=e}),i=e.injector.get(xn),r=e.injector.get(Mn);return"disabled"===r.initialNavigation?(i.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(i.hooks.afterPreactivation=function(){return e.initNavigation?(0,s.of)(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},i.initialNavigation()):t(!0),n})}},{key:"bootstrapListener",value:function(e){var t=this.injector.get(Mn),n=this.injector.get(Rn),i=this.injector.get(Dn),o=this.injector.get(xn),a=this.injector.get(r.z2F);e===a.components[0]&&("enabledNonBlocking"!==t.initialNavigation&&void 0!==t.initialNavigation||o.initialNavigation(),n.setUpPreloading(),i.init(),o.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"ngOnDestroy",value:function(){this.destroyed=!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.zs3))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}();function Hn(e){return e.appInitializer.bind(e)}function zn(e){return e.bootstrapListener.bind(e)}var Yn=new r.OlP("Router Initializer")},6215:function(e,t,n){"use strict";n.d(t,{X:function(){return o}});var i=n(9765),r=n(7971),o=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this))._value=e,i}return _createClass(n,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(e){var t=_get(_getPrototypeOf(n.prototype),"_subscribe",this).call(this,e);return t&&!t.closed&&e.next(this._value),t}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.N;return this._value}},{key:"next",value:function(e){_get(_getPrototypeOf(n.prototype),"next",this).call(this,this._value=e)}}]),n}(i.xQ)},1593:function(e,t,n){"use strict";n.d(t,{P:function(){return a}});var i=n(9193),r=n(5917),o=n(7574),a=function(){function e(t,n,i){_classCallCheck(this,e),this.kind=t,this.value=n,this.error=i,this.hasValue="N"===t}return _createClass(e,[{key:"observe",value:function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}},{key:"do",value:function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}},{key:"accept",value:function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return(0,r.of)(this.value);case"E":return e=this.error,new o.y(function(t){return t.error(e)});case"C":return(0,i.c)()}var e;throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}},{key:"createError",value:function(t){return new e("E",void 0,t)}},{key:"createComplete",value:function(){return e.completeNotification}}]),e}();a.completeNotification=new a("C"),a.undefinedValueNotification=new a("N",void 0)},7574:function(e,t,n){"use strict";n.d(t,{y:function(){return l}});var i=n(7393),r=n(9181),o=n(6490),a=n(6554),s=n(4487),u=n(2494),l=function(){var e=function(){function e(t){_classCallCheck(this,e),this._isScalar=!1,t&&(this._subscribe=t)}return _createClass(e,[{key:"lift",value:function(t){var n=new e;return n.source=this,n.operator=t,n}},{key:"subscribe",value:function(e,t,n){var a=this.operator,s=function(e,t,n){if(e){if(e instanceof i.L)return e;if(e[r.b])return e[r.b]()}return e||t||n?new i.L(e,t,n):new i.L(o.c)}(e,t,n);if(s.add(a?a.call(s,this.source):this.source||u.v.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),u.v.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){u.v.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e,n=t.closed,r=t.destination,o=t.isStopped;if(n||o)return!1;e=r&&r instanceof i.L?r:null}return!0}(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=c(t))(function(t,i){var r;r=n.subscribe(function(t){try{e(t)}catch(n){i(n),r&&r.unsubscribe()}},i,t)})}},{key:"_subscribe",value:function(e){var t=this.source;return t&&t.subscribe(e)}},{key:a.L,value:function(){return this}},{key:"pipe",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n4&&void 0!==arguments[4]?arguments[4]:new s(e,n,i);if(!r.closed)return t instanceof l.y?t.subscribe(r):(0,u.s)(t)(r)}var h=n(6693),f={};function d(){for(var e=arguments.length,t=new Array(e),n=0;n1?Array.prototype.slice.call(arguments):e)},i,n)})}function u(e,t,n,i,r){var o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var a=e;e.addEventListener(t,n,r),o=function(){return a.removeEventListener(t,n,r)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var s=e;e.on(t,n),o=function(){return s.off(t,n)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){var l=e;e.addListener(t,n),o=function(){return l.removeListener(t,n)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var c=0,h=e.length;c1&&"number"==typeof t[t.length-1]&&(s=t.pop())):"number"==typeof l&&(s=t.pop()),null===u&&1===t.length&&t[0]instanceof i.y?t[0]:(0,o.J)(s)((0,a.n)(t,u))}},5917:function(e,t,n){"use strict";n.d(t,{of:function(){return a}});var i=n(4869),r=n(6693),o=n(4087);function a(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:i.P;return t=function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=-1;return(0,u.k)(t)?r=Number(t)<1?1:Number(t):(0,l.K)(t)&&(n=t),(0,l.K)(n)||(n=i.P),new s.y(function(t){var i=(0,u.k)(e)?e:+e-n.now();return n.schedule(c,i,{index:0,period:r,subscriber:t})})}(e,n)},function(e){return e.lift(new o(t))}}},4612:function(e,t,n){"use strict";n.d(t,{b:function(){return r}});var i=n(9773);function r(e,t){return(0,i.zg)(e,t,1)}},4395:function(e,t,n){"use strict";n.d(t,{b:function(){return o}});var i=n(7393),r=n(3637);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.P;return function(n){return n.lift(new a(e,t))}}var a=function(){function e(t,n){_classCallCheck(this,e),this.dueTime=t,this.scheduler=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new s(e,this.dueTime,this.scheduler))}}]),e}(),s=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).dueTime=i,o.scheduler=r,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return _createClass(n,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(u,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}]),n}(i.L);function u(e){e.debouncedNext()}},7519:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});var i=n(7393);function r(e,t){return function(n){return n.lift(new o(e,t))}}var o=function(){function e(t,n){_classCallCheck(this,e),this.compare=t,this.keySelector=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.compare,this.keySelector))}}]),e}(),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).keySelector=r,o.hasKey=!1,"function"==typeof i&&(o.compare=i),o}return _createClass(n,[{key:"compare",value:function(e,t){return e===t}},{key:"_next",value:function(e){var t;try{var n=this.keySelector;t=n?n(e):e}catch(r){return this.destination.error(r)}var i=!1;if(this.hasKey)try{i=(0,this.compare)(this.key,t)}catch(r){return this.destination.error(r)}else this.hasKey=!0;i||(this.key=t,this.destination.next(e))}}]),n}(i.L)},5435:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});var i=n(7393);function r(e,t){return function(n){return n.lift(new o(e,t))}}var o=function(){function e(t,n){_classCallCheck(this,e),this.predicate=t,this.thisArg=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.predicate,this.thisArg))}}]),e}(),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).predicate=i,o.thisArg=r,o.count=0,o}return _createClass(n,[{key:"_next",value:function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}]),n}(i.L)},8002:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});var i=n(7393);function r(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new o(e,t))}}var o=function(){function e(t,n){_classCallCheck(this,e),this.project=t,this.thisArg=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.project,this.thisArg))}}]),e}(),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).project=i,o.count=0,o.thisArg=r||_assertThisInitialized(o),o}return _createClass(n,[{key:"_next",value:function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(i.L)},3282:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var i=n(9773),r=n(4487);function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return(0,i.zg)(r.y,e)}},9773:function(e,t,n){"use strict";n.d(t,{zg:function(){return a}});var i=n(8002),r=n(4402),o=n(5345);function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(o){return o.pipe(a(function(n,o){return(0,r.D)(e(n,o)).pipe((0,i.U)(function(e,i){return t(n,e,o,i)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new s(e,n))})}var s=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;_classCallCheck(this,e),this.project=t,this.concurrent=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.project,this.concurrent))}}]),e}(),u=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return _classCallCheck(this,n),(r=t.call(this,e)).project=i,r.concurrent=o,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return _createClass(n,[{key:"_next",value:function(e){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(o.Ds)},1307:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});var i=n(7393);function r(){return function(e){return e.lift(new o(e))}}var o=function(){function e(t){_classCallCheck(this,e),this.connectable=t}return _createClass(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var i=new a(e,n),r=t.subscribe(i);return i.closed||(i.connection=n.connect()),r}}]),e}(),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).connectable=i,r}return _createClass(n,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,i=e._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null}}]),n}(i.L)},3653:function(e,t,n){"use strict";n.d(t,{T:function(){return r}});var i=n(7393);function r(e){return function(t){return t.lift(new o(e))}}var o=function(){function e(t){_classCallCheck(this,e),this.total=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.total))}}]),e}(),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).total=i,r.count=0,r}return _createClass(n,[{key:"_next",value:function(e){++this.count>this.total&&this.destination.next(e)}}]),n}(i.L)},9761:function(e,t,n){"use strict";n.d(t,{O:function(){return o}});var i=n(8071),r=n(4869);function o(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),n)}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value:function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(e,t){var n,i=!1;try{this.work(e)}catch(r){i=!0,n=!!r&&r||new Error(r)}if(i)return this.unsubscribe(),n}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),n}(function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){return _classCallCheck(this,n),t.call(this)}return _createClass(n,[{key:"schedule",value:function(e){return this}}]),n}(n(5319).w))},6102:function(e,t,n){"use strict";n.d(t,{v:function(){return r}});var i=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;_classCallCheck(this,e),this.SchedulerAction=t,this.now=n}return _createClass(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}();return e.now=function(){return Date.now()},e}(),r=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.now;return _classCallCheck(this,n),(r=t.call(this,e,function(){return n.delegate&&n.delegate!==_assertThisInitialized(r)?n.delegate.now():o()})).actions=[],r.active=!1,r.scheduled=void 0,r}return _createClass(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(e,t,i):_get(_getPrototypeOf(n.prototype),"schedule",this).call(this,e,t,i)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}}]),n}(i)},4581:function(e,t,n){"use strict";n.d(t,{E:function(){return c}});var i=1,r=Promise.resolve(),o={};function a(e){return e in o&&(delete o[e],!0)}var s=function(e){var t=i++;return o[t]=!0,r.then(function(){return a(t)&&e()}),t},u=function(e){a(e)},l=n(6465),c=new(function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,i=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++i2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?_get(_getPrototypeOf(n.prototype),"requestAsyncId",this).call(this,e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=s(e.flush.bind(e,null))))}},{key:"recycleAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return _get(_getPrototypeOf(n.prototype),"recycleAsyncId",this).call(this,e,t,i);0===e.actions.length&&(u(t),e.scheduled=void 0)}}]),n}(l.o))},3637:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});var i=n(6465),r=new(n(6102).v)(i.o)},377:function(e,t,n){"use strict";n.d(t,{hZ:function(){return i}});var i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},6554:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var i="function"==typeof Symbol&&Symbol.observable||"@@observable"},9181:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});var i="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:function(e,t,n){"use strict";n.d(t,{W:function(){return i}});var i=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}()},7971:function(e,t,n){"use strict";n.d(t,{N:function(){return i}});var i=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}()},4449:function(e,t,n){"use strict";function i(e){setTimeout(function(){throw e},0)}n.d(t,{z:function(){return i}})},4487:function(e,t,n){"use strict";function i(e){return e}n.d(t,{y:function(){return i}})},9796:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var i=Array.isArray||function(e){return e&&"number"==typeof e.length}},9489:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var i=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},9105:function(e,t,n){"use strict";function i(e){return"function"==typeof e}n.d(t,{m:function(){return i}})},6561:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});var i=n(9796);function r(e){return!(0,i.k)(e)&&e-parseFloat(e)+1>=0}},1555:function(e,t,n){"use strict";function i(e){return null!==e&&"object"==typeof e}n.d(t,{K:function(){return i}})},5639:function(e,t,n){"use strict";n.d(t,{b:function(){return r}});var i=n(7574);function r(e){return!!e&&(e instanceof i.y||"function"==typeof e.lift&&"function"==typeof e.subscribe)}},4072:function(e,t,n){"use strict";function i(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,{t:function(){return i}})},4869:function(e,t,n){"use strict";function i(e){return e&&"function"==typeof e.schedule}n.d(t,{K:function(){return i}})},7444:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var i=n(5015),r=n(4449),o=n(377),a=n(6554),s=n(9489),u=n(4072),l=n(1555),c=function(e){if(e&&"function"==typeof e[a.L])return c=e,function(e){var t=c[a.L]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if((0,s.z)(e))return(0,i.V)(e);if((0,u.t)(e))return n=e,function(e){return n.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,r.z),e};if(e&&"function"==typeof e[o.hZ])return t=e,function(e){for(var n=t[o.hZ]();;){var i=void 0;try{i=n.next()}catch(r){return e.error(r),e}if(i.done){e.complete();break}if(e.next(i.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e};var t,n,c,h=(0,l.K)(e)?"an invalid object":"'".concat(e,"'");throw new TypeError("You provided ".concat(h," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))}},5015:function(e,t,n){"use strict";n.d(t,{V:function(){return i}});var i=function(e){return function(t){for(var n=0,i=e.length;n0?(this.dialogRef.afterClosed().subscribe(function(t){e.closed()}),this.setExtra(this.data.autoclose),this.subscription=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.P;return(!(0,a.k)(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=o.P),new r.y(function(n){return n.add(t.schedule(s,e,{subscriber:n,counter:0,period:e})),n})}(1e3).subscribe(function(t){var n=e.data.autoclose-1e3*(t+1);e.setExtra(n),n<=0&&e.close()})):this.data.checkClose&&(this.dialogRef.afterClosed().subscribe(function(t){e.closed()}),this.subscription=this.data.checkClose.subscribe(function(t){window.setTimeout(function(){e.doClose()})}))}},{key:"initYesNo",value:function(){}},{key:"ngOnInit",value:function(){this.data.type===_.yesno?this.initYesNo():this.initAlert()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.Y36(i.so),u.Y36(i.WI))},e.\u0275cmp=u.Xpm({type:e,selectors:[["uds-modal"]],decls:8,vars:9,consts:[["mat-dialog-title","",3,"innerHtml"],[3,"innerHTML"],["mat-raised-button","","mat-dialog-close","",3,"click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"click"]],template:function(e,t){1&e&&(u._UZ(0,"h4",0),u.ALo(1,"safeHtml"),u._UZ(2,"mat-dialog-content",1),u.ALo(3,"safeHtml"),u.TgZ(4,"mat-dialog-actions"),u.YNc(5,d,4,1,"button",2),u.YNc(6,p,3,0,"button",2),u.YNc(7,v,3,0,"button",2),u.qZA()),2&e&&(u.Q6J("innerHtml",u.lcZ(1,5,t.data.title),u.oJD),u.xp6(2),u.Q6J("innerHTML",u.lcZ(3,7,t.data.body),u.oJD),u.xp6(3),u.Q6J("ngIf",0==t.data.type),u.xp6(1),u.Q6J("ngIf",1==t.data.type),u.xp6(1),u.Q6J("ngIf",1==t.data.type))},directives:[i.uh,i.xY,i.H8,l.O5,c.lW,i.ZT,h.P],pipes:[f.z],styles:[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]}),e}(),g=function(){var e=function(){function e(t){_classCallCheck(this,e),this.dialog=t}return _createClass(e,[{key:"alert",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=window.innerWidth<800?"80%":"40%";return this.dialog.open(m,{width:r,data:{title:e,body:t,autoclose:n,checkClose:i,type:_.alert},disableClose:!0})}},{key:"yesno",value:function(e,t){var n=window.innerWidth<800?"80%":"40%";return this.dialog.open(m,{width:n,data:{title:e,body:t,type:_.yesno},disableClose:!0}).componentInstance.yesno}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(i.uw))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac}),e}()},2870:function(e,t,n){"use strict";n.d(t,{S:function(){return r}});var i=n(7574),r=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t,this.delay=t.config.launcher_wait_time}return _createClass(e,[{key:"launchURL",value:function(t){var n=this,r="init",o=function(e){var t=django.gettext("Error communicating with your service. Please, retry again.");"string"==typeof e?t=e:403===e.status&&(t=django.gettext("Your session has expired. Please, login again")),window.setTimeout(function(){n.showAlert(django.gettext("Error"),t,5e3),403===e.status&&window.setTimeout(function(){n.api.logout()},5e3)})};if("udsa://"===t.substring(0,7)){var a=t.split("//")[1].split("/"),s=this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Remember that you will need the UDS client on your platform to access the service."),0,new i.y(function(e){var t=0,i=function i(){s.componentInstance&&n.api.status(a[0],a[1]).subscribe(function(r){"ready"===r.status?(t?Date.now()-t>5*n.delay&&(s.componentInstance.data.title=django.gettext("Service ready")+" - "+django.gettext("UDS Client not launching"),s.componentInstance.data.body=''+django.gettext("It seems that you don't have UDS Client installed. Please, install it from here:")+' '+django.gettext("UDS Client Download")+""):(t=Date.now(),s.componentInstance.data.title=django.gettext("Service ready"),s.componentInstance.data.body=django.gettext("Launching UDS Client, almost done.")),window.setTimeout(i,n.delay)):"accessed"===r.status?(s.componentInstance.data.body=django.gettext("Machine ready, waiting for UDS Client"),e.next(!0),e.complete()):"running"===r.status?window.setTimeout(i,n.delay):(e.next(!0),e.complete(),o())},function(t){e.next(!0),e.complete(),o(t)})};window.setTimeout(function e(){if("init"===r)window.setTimeout(e,n.delay);else{if("error"===r||"stop"===r)return;window.setTimeout(i)}})}));this.api.enabler(a[0],a[1]).subscribe(function(e){if(e.error)r="error",n.api.gui.alert(django.gettext("Error launching service"),e.error);else{if(e.url.startsWith("/"))return r="stop",void n.launchURL(e.url);"https:"===window.location.protocol&&(e.url=e.url.replace("uds://","udss://")),r="enabled",n.doLaunch(e.url)}},function(e){n.api.logout()})}else var u=this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Your connection is being prepared. It will open on a new window when ready."),0,new i.y(function(i){window.setTimeout(function r(){u.componentInstance&&n.api.transportUrl(t).subscribe(function(t){if(t.url)if(i.next(!0),i.complete(),-1!==t.url.indexOf("o_s_w=")){var a=/(.*)&o_s_w=.*/.exec(t.url);window.location.href=a[1]}else{var s="global";if(-1!==t.url.indexOf("o_n_w=")){var u=/(.*)&o_n_w=([a-zA-Z0-9._-]*)/.exec(t.url);u&&(s=u[2],t.url=u[1])}e.transportsWindow[s]&&e.transportsWindow[s].close(),e.transportsWindow[s]=window.open(t.url,"uds_trans_"+s)}else t.running?window.setTimeout(r,n.delay):(i.next(!0),i.complete(),o(t.error))},function(e){i.next(!0),i.complete(),o(e)})})}))}},{key:"showAlert",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return this.api.gui.alert(django.gettext("Launching service"),'

'+e+'

'+t+"

",n,i)}},{key:"doLaunch",value:function(e){var t=document.getElementById("hiddenUdsLauncherIFrame");if(null===t){var n=document.createElement("div");n.id="testID",n.innerHTML='',document.body.appendChild(n),t=document.getElementById("hiddenUdsLauncherIFrame")}t.contentWindow.location.href=e}}]),e}();return e.transportsWindow={},e}()},4902:function _(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{G:function(){return LoginComponent}});var _uds_api_service__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7540),_angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3018),_angular_forms__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(665),_angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8295),_translate_directive__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(7918),_angular_material_input__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(9983),_angular_common__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8583),_angular_material_button__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1095),_angular_material_select__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(7441),_angular_material_core__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(2458),_gui_safe_html_pipe__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(6498);function LoginComponent_div_22_mat_option_6_Template(e,t){if(1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(0,"mat-option",20),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()),2&e){var n=t.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("value",n.id),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.hij(" ",n.name," ")}}function LoginComponent_div_22_Template(e,t){if(1&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_1__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(0,"div",9),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(1,"mat-form-field",17),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(2,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(3,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(4,"Authenticator"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(5,"mat-select",18),_angular_core__WEBPACK_IMPORTED_MODULE_1__.NdJ("selectionChange",function(e){return _angular_core__WEBPACK_IMPORTED_MODULE_1__.CHM(n),_angular_core__WEBPACK_IMPORTED_MODULE_1__.oxw().changeAuth(e.value)}),_angular_core__WEBPACK_IMPORTED_MODULE_1__.YNc(6,LoginComponent_div_22_mat_option_6_Template,2,2,"mat-option",19),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()}if(2&e){var i=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("value",i.auths[0].id),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("ngForOf",i.auths)}}var LoginComponent=function(){var LoginComponent=function(){function LoginComponent(e){_classCallCheck(this,LoginComponent),this.api=e,this.title="UDS Enterprise",this.title=e.config.site_name,this.auths=e.config.authenticators.slice(0),this.auths.sort(function(e,t){return e.priority-t.priority})}return _createClass(LoginComponent,[{key:"ngOnInit",value:function(){document.getElementById("loginform").action=this.api.config.urls.login;var e=document.getElementById("token");e.name=this.api.config.csrf_field,e.value=this.api.config.csrf,this.auth=document.getElementById("authenticator"),this.auths.length>0&&(this.auth.value=this.auths[0].id,this.changeAuth(this.auth.value)),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}},{key:"changeAuth",value:function changeAuth(auth){this.auth.value=auth;var doCustomAuth=function doCustomAuth(data){eval(data)},_iterator22=_createForOfIteratorHelper(this.auths),_step22;try{for(_iterator22.s();!(_step22=_iterator22.n()).done;){var l=_step22.value;l.id===auth&&l.is_custom&&(document.getElementsByClassName("login-form")[0].setAttribute("style","display: none;"),this.api.getAuthCustomHtml(l.id).subscribe(function(e){return doCustomAuth(e)}))}}catch(err){_iterator22.e(err)}finally{_iterator22.f()}}},{key:"launch",value:function(){return document.getElementById("loginform").submit(),!0}}]),LoginComponent}();return LoginComponent.\u0275fac=function(e){return new(e||LoginComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.Y36(_uds_api_service__WEBPACK_IMPORTED_MODULE_0__.n))},LoginComponent.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Xpm({type:LoginComponent,selectors:[["uds-login"]],decls:29,vars:6,consts:[["id","loginform","method","post",3,"ngSubmit"],["name","","id","token","value","","type","hidden"],["name","logouturl","id","id_logouturl","value","","type","hidden"],["name","authenticator","id","authenticator","value","","type","hidden"],[1,"login-container"],[1,"login-brand"],[3,"src"],[1,"login-info"],[1,"login-form"],[1,"login-field"],["appearance","standard"],["matInput","","id","id_user","name","user","value","","required","","autofocus",""],["matInput","","id","id_password","type","password","name","password","data-eye","",1,"form-control"],["class","login-field",4,"ngIf"],[1,"login-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"site-info",3,"innerHTML"],["appaerance","standard"],[3,"value","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,t){1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(0,"form",0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.NdJ("ngSubmit",function(){return t.launch()}),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(1,"input",1),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(2,"input",2),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(3,"input",3),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(4,"div",4),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(5,"div",5),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(6,"img",6),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(7,"div",7),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(9,"div",8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(10,"div",9),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(11,"mat-form-field",10),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(12,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(13,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(14,"Username"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(15,"input",11),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(16,"div",9),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(17,"mat-form-field",10),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(18,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(19,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(20,"Password"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(21,"input",12),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.YNc(22,LoginComponent_div_22_Template,7,2,"div",13),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(23,"div",14),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(24,"button",15),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(25,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(26,"Login"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(27,"div",16),_angular_core__WEBPACK_IMPORTED_MODULE_1__.ALo(28,"safeHtml"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()),2&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(6),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("src",t.api.staticURL("modern/img/login-img.png"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LSH),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_1__.hij(" ",t.title," "),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(14),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("ngIf",t.auths.length>1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("innerHTML",_angular_core__WEBPACK_IMPORTED_MODULE_1__.lcZ(28,4,t.api.config.site_information),_angular_core__WEBPACK_IMPORTED_MODULE_1__.oJD))},directives:[_angular_forms__WEBPACK_IMPORTED_MODULE_2__._Y,_angular_forms__WEBPACK_IMPORTED_MODULE_2__.JL,_angular_forms__WEBPACK_IMPORTED_MODULE_2__.F,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__.KE,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__.hX,_translate_directive__WEBPACK_IMPORTED_MODULE_4__.P,_angular_material_input__WEBPACK_IMPORTED_MODULE_5__.Nt,_angular_common__WEBPACK_IMPORTED_MODULE_6__.O5,_angular_material_button__WEBPACK_IMPORTED_MODULE_7__.lW,_angular_material_select__WEBPACK_IMPORTED_MODULE_8__.gD,_angular_common__WEBPACK_IMPORTED_MODULE_6__.sg,_angular_material_core__WEBPACK_IMPORTED_MODULE_9__.ey],pipes:[_gui_safe_html_pipe__WEBPACK_IMPORTED_MODULE_10__.z],styles:[".login-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.login-brand[_ngcontent-%COMP%]{margin:1rem 0 0}.login-info[_ngcontent-%COMP%]{margin:1rem 0}.login-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.login-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.login-button[_ngcontent-%COMP%]{margin:2rem}.mat-form-field[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width:744px){.login-form[_ngcontent-%COMP%]{min-width:80%}}"]}),LoginComponent}()},7918:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});var i=n(3018),r=function(){var e=function(){function e(t){_classCallCheck(this,e),this.el=t}return _createClass(e,[{key:"ngOnInit",value:function(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.SBq))},e.\u0275dir=i.lG2({type:e,selectors:[["uds-translate"]]}),e}()},3513:function(e,t,n){"use strict";n.d(t,{n:function(){return i}});var i=function(){function e(t){_classCallCheck(this,e),this.user=t.user,this.role=t.role,this.admin=t.admin}return _createClass(e,[{key:"isStaff",get:function(){return"staff"===this.role||"admin"===this.role}},{key:"isAdmin",get:function(){return"admin"===this.role}},{key:"isLogged",get:function(){return null!=this.user}},{key:"isRestricted",get:function(){return"restricted"===this.role}}]),e}()},7540:function _(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{n:function(){return UDSApiService}});var _types_config__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3513),_helpers_plugin__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(2870),_environments_environment__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2340),_angular_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(3018),_angular_common_http__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1841),_gui_uds_gui_service__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(3183),_angular_router__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8741),UDSApiService=function(){var UDSApiService=function(){function UDSApiService(e,t,n){_classCallCheck(this,UDSApiService),this.http=e,this.gui=t,this.router=n,this.user=new _types_config__WEBPACK_IMPORTED_MODULE_1__.n(udsData.profile),this.transportsWindow=null,this.plugin=new _helpers_plugin__WEBPACK_IMPORTED_MODULE_2__.S(this)}return _createClass(UDSApiService,[{key:"config",get:function(){return udsData.config}},{key:"staffInfo",get:function(){return udsData.info}},{key:"plugins",get:function(){return udsData.plugins}},{key:"actors",get:function(){return udsData.actors}},{key:"errors",get:function(){return udsData.errors}},{key:"enabler",value:function(e,t){var n=this.config.urls.enabler.replace("param1",e).replace("param2",t);return this.http.get(n)}},{key:"status",value:function(e,t){var n=this.config.urls.status.replace("param1",e).replace("param2",t);return this.http.get(n)}},{key:"action",value:function(e,t){var n=this.config.urls.action.replace("param1",t).replace("param2",e);return this.http.get(n)}},{key:"transportUrl",value:function(e){return this.http.get(e)}},{key:"galleryImageURL",value:function(e){return this.config.urls.galleryImage.replace("param1",e)}},{key:"transportIconURL",value:function(e){return this.config.urls.transportIcon.replace("param1",e)}},{key:"staticURL",value:function(e){return _environments_environment__WEBPACK_IMPORTED_MODULE_0__.N.production?this.config.urls.static+e:"/static/"+e}},{key:"getServicesInformation",value:function(){return this.http.get(this.config.urls.services)}},{key:"executeCustomJSForServiceLaunch",value:function executeCustomJSForServiceLaunch(){void 0!==udsData.customJSForServiceLaunch&&eval(udsData.customJSForServiceLaunch)}},{key:"gotoAdmin",value:function(){window.location.href=this.config.urls.admin}},{key:"logout",value:function(){window.location.href=this.config.urls.logout}},{key:"launchURL",value:function(e){this.plugin.launchURL(e)}},{key:"getAuthCustomHtml",value:function(e){return this.http.get(this.config.urls.customAuth+e,{responseType:"text"})}}]),UDSApiService}();return UDSApiService.\u0275fac=function(e){return new(e||UDSApiService)(_angular_core__WEBPACK_IMPORTED_MODULE_3__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_4__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_3__.LFG(_gui_uds_gui_service__WEBPACK_IMPORTED_MODULE_5__.h),_angular_core__WEBPACK_IMPORTED_MODULE_3__.LFG(_angular_router__WEBPACK_IMPORTED_MODULE_6__.F0))},UDSApiService.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_3__.Yz7({token:UDSApiService,factory:UDSApiService.\u0275fac}),UDSApiService}()},2340:function(e,t,n){"use strict";n.d(t,{N:function(){return i}});var i={production:!0}},1479:function(e,t,n){"use strict";var i,r=n(9075),o=n(3018),a=n(9490),s=n(9765),u=n(739),l=n(8071),c=n(7574),h=n(5257),f=n(3653),d=n(4395),p=n(8002),v=n(9761),_=n(6782),m=n(521),g=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({}),e}(),y=new Set,b=function(){var e=function(){function e(t){_classCallCheck(this,e),this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):k}return _createClass(e,[{key:"matchMedia",value:function(e){return this._platform.WEBKIT&&function(e){if(!y.has(e))try{i||((i=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(i)),i.sheet&&(i.sheet.insertRule("@media ".concat(e," {.fx-query-test{ }}"),0),y.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(m.t4))},e.\u0275prov=o.Yz7({factory:function(){return new e(o.LFG(m.t4))},token:e,providedIn:"root"}),e}();function k(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var C=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new s.xQ}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(e){var t=this;return w((0,a.Eq)(e)).some(function(e){return t._registerQuery(e).mql.matches})}},{key:"observe",value:function(e){var t=this,n=w((0,a.Eq)(e)).map(function(e){return t._registerQuery(e).observable}),i=(0,u.aj)(n);return(i=(0,l.z)(i.pipe((0,h.q)(1)),i.pipe((0,f.T)(1),(0,d.b)(0)))).pipe((0,p.U)(function(e){var t={matches:!1,breakpoints:{}};return e.forEach(function(e){var n=e.matches,i=e.query;t.matches=t.matches||n,t.breakpoints[i]=n}),t}))}},{key:"_registerQuery",value:function(e){var t=this;if(this._queries.has(e))return this._queries.get(e);var n=this._mediaMatcher.matchMedia(e),i={observable:new c.y(function(e){var i=function(n){return t._zone.run(function(){return e.next(n)})};return n.addListener(i),function(){n.removeListener(i)}}).pipe((0,v.O)(n),(0,p.U)(function(t){var n=t.matches;return{query:e,matches:n}}),(0,_.R)(this._destroySubject)),mql:n};return this._queries.set(e,i),i}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(b),o.LFG(o.R0b))},e.\u0275prov=o.Yz7({factory:function(){return new e(o.LFG(b),o.LFG(o.R0b))},token:e,providedIn:"root"}),e}();function w(e){return e.map(function(e){return e.split(",")}).reduce(function(e,t){return e.concat(t)}).map(function(e){return e.trim()})}var x=n(1841),E=n(8741),S=n(7540),O=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t}return _createClass(e,[{key:"canActivate",value:function(e,t){return!!this.api.user.isLogged||(this.api.router.navigate(["login"]),!1)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(S.n))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),A=n(4902),T=n(7918),P=n(8583);function I(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"div",6),o.NdJ("click",function(){var e=o.CHM(n).$implicit;return o.oxw().download(e.url)}),o.TgZ(1,"div",7),o._UZ(2,"img",8),o.qZA(),o.TgZ(3,"div",9),o._uU(4),o.qZA(),o.TgZ(5,"div",10),o._uU(6),o.qZA(),o.qZA()}if(2&e){var i=t.$implicit,r=o.oxw();o.Tol(r.css(i)),o.xp6(2),o.Q6J("src",r.img(i.name),o.LSH),o.xp6(2),o.lnq(" ",r.legacy(i)," ",i.name," (",i.url.split(".").pop(),") "),o.xp6(2),o.hij(" ",i.description," ")}}var R=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"download",value:function(e){window.location.href=e}},{key:"img",value:function(e){return this.api.staticURL("modern/img/"+e+".png")}},{key:"css",value:function(e){var t=["plugin"];return e.legacy&&t.push("legacy"),t}},{key:"legacy",value:function(e){return e.legacy?"Legacy":""}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(S.n))},e.\u0275cmp=o.Xpm({type:e,selectors:[["uds-client-download"]],decls:16,vars:1,consts:[[1,"plugins-container"],[1,"banner"],[1,"banner-text"],[1,"plugins"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"platform"],[1,"description"]],template:function(e,t){1&e&&(o.TgZ(0,"div",0),o.TgZ(1,"div",1),o.TgZ(2,"div",2),o.TgZ(3,"h1"),o.TgZ(4,"uds-translate"),o._uU(5,"UDS Client"),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.TgZ(6,"div",3),o.YNc(7,I,7,7,"div",4),o.qZA(),o.TgZ(8,"div",5),o.TgZ(9,"ul"),o.TgZ(10,"li"),o.TgZ(11,"uds-translate"),o._uU(12,"Download UDS client for your platform"),o.qZA(),o.qZA(),o.TgZ(13,"li"),o.TgZ(14,"uds-translate"),o._uU(15,"Legacy clients are only provided for old operating system support. Try to avoid them."),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.qZA()),2&e&&(o.xp6(7),o.Q6J("ngForOf",t.api.plugins))},directives:[T.P,P.sg],styles:[".plugins-container[_ngcontent-%COMP%]{margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3rem;text-align:center}.banner-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1rem}.plugins[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center}.plugin[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;padding:1rem;border-radius:1rem;box-shadow:0 1rem 2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 15%}.plugin.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;flex:1 0 19%;max-width:20%}.plugin.legacy[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:5rem}.plugin[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);background-color:rgba(0,0,0,.1)}.image[_ngcontent-%COMP%]{display:flex;justify-content:center}.platform[_ngcontent-%COMP%]{text-align:center;font-size:2rem}.description[_ngcontent-%COMP%]{display:flex;text-align:center;justify-content:center;margin-top:.5rem}"]}),e}(),D=n(6498);function M(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"div",6),o.NdJ("click",function(){var e=o.CHM(n).$implicit;return o.oxw().download(e.url)}),o.TgZ(1,"div",7),o._UZ(2,"img",8),o.qZA(),o._UZ(3,"div",9),o.ALo(4,"safeHtml"),o._UZ(5,"div",10),o.ALo(6,"safeHtml"),o.qZA()}if(2&e){var i=t.$implicit,r=o.oxw();o.Tol(r.css(i.name)),o.xp6(2),o.Q6J("src",r.img(i.name),o.LSH),o.xp6(1),o.Q6J("innerHTML",o.lcZ(4,5,i.name),o.oJD),o.xp6(2),o.Q6J("innerHTML",o.lcZ(6,7,i.description),o.oJD)}}var L=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.actors=[];var t=[];this.api.actors.forEach(function(n){n.name.includes("legacy")?t.push(n):e.actors.push(n)}),t.forEach(function(t){e.actors.push(t)})}},{key:"download",value:function(e){window.location.href=e}},{key:"img",value:function(e){var t=e.split(".").pop().toLowerCase(),n="Linux";return"exe"===t?n="Windows":"pkg"===t&&(n="MacOS"),this.api.staticURL("modern/img/"+n+".png")}},{key:"css",value:function(e){var t=["actor"];return e.toLowerCase().includes("legacy")&&t.push("legacy"),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(S.n))},e.\u0275cmp=o.Xpm({type:e,selectors:[["uds-downloads"]],decls:16,vars:1,consts:[[1,"actors-container"],[1,"banner"],[1,"banner-text"],[1,"actors"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"name",3,"innerHTML"],[1,"description",3,"innerHTML"]],template:function(e,t){1&e&&(o.TgZ(0,"div",0),o.TgZ(1,"div",1),o.TgZ(2,"div",2),o.TgZ(3,"h1"),o.TgZ(4,"uds-translate"),o._uU(5,"Downloads"),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.TgZ(6,"div",3),o.YNc(7,M,7,9,"div",4),o.qZA(),o.TgZ(8,"div",5),o.TgZ(9,"ul"),o.TgZ(10,"li"),o.TgZ(11,"uds-translate"),o._uU(12,"Always download the UDS actor matching your platform"),o.qZA(),o.qZA(),o.TgZ(13,"li"),o.TgZ(14,"uds-translate"),o._uU(15,"Legacy actors are only provided for old operating system support. Try to avoid them."),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.qZA()),2&e&&(o.xp6(7),o.Q6J("ngForOf",t.actors))},directives:[T.P,P.sg],pipes:[D.z],styles:[".actors-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2em;text-align:center}.actors[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-around;align-content:center;margin:auto}.actor[_ngcontent-%COMP%]{border:1px solid;margin-top:1rem;padding:1em;border-radius:1rem;box-shadow:0 1rem 2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 34%;margin-right:1em}.actor.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;max-width:50%}.actor[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);background-color:rgba(0,0,0,.1)}.image[_ngcontent-%COMP%]{display:block;float:left;padding-right:1rem;height:100%}.image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:4rem}.name[_ngcontent-%COMP%]{font-size:1.5em;margin-bottom:1em;font-weight:700;overflow:hidden}"]}),e}(),F=n(5319),N=n(8345),B=0,U=new o.OlP("CdkAccordion"),j=function(){var e=function(){function e(){_classCallCheck(this,e),this._stateChanges=new s.xQ,this._openCloseAllActions=new s.xQ,this.id="cdk-accordion-"+B++,this._multi=!1}return _createClass(e,[{key:"multi",get:function(){return this._multi},set:function(e){this._multi=(0,a.Ig)(e)}},{key:"openAll",value:function(){this._multi&&this._openCloseAllActions.next(!0)}},{key:"closeAll",value:function(){this._openCloseAllActions.next(!1)}},{key:"ngOnChanges",value:function(e){this._stateChanges.next(e)}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[o._Bn([{provide:U,useExisting:e}]),o.TTD]}),e}(),Z=0,q=function(){var e=function(){function e(t,n,i){var r=this;_classCallCheck(this,e),this.accordion=t,this._changeDetectorRef=n,this._expansionDispatcher=i,this._openCloseAllSubscription=F.w.EMPTY,this.closed=new o.vpe,this.opened=new o.vpe,this.destroyed=new o.vpe,this.expandedChange=new o.vpe,this.id="cdk-accordion-child-"+Z++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=i.listen(function(e,t){r.accordion&&!r.accordion.multi&&r.accordion.id===t&&r.id!==e&&(r.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return _createClass(e,[{key:"expanded",get:function(){return this._expanded},set:function(e){e=(0,a.Ig)(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())}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=(0,a.Ig)(e)}},{key:"ngOnDestroy",value:function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}},{key:"toggle",value:function(){this.disabled||(this.expanded=!this.expanded)}},{key:"close",value:function(){this.disabled||(this.expanded=!1)}},{key:"open",value:function(){this.disabled||(this.expanded=!0)}},{key:"_subscribeToOpenCloseAllActions",value:function(){var e=this;return this.accordion._openCloseAllActions.subscribe(function(t){e.disabled||(e.expanded=t)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(U,12),o.Y36(o.sBO),o.Y36(N.A8))},e.\u0275dir=o.lG2({type:e,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[o._Bn([{provide:U,useValue:void 0}])]}),e}(),V=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({}),e}(),H=n(7636),z=n(2458),Y=n(9238),G=n(7519),K=n(5435),W=n(6461),Q=n(6237),J=n(9193),X=n(6682),$=n(7238),ee=["body"];function te(e,t){}var ne=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],ie=["mat-expansion-panel-header","*","mat-action-row"];function re(e,t){if(1&e&&o._UZ(0,"span",2),2&e){var n=o.oxw();o.Q6J("@indicatorRotate",n._getExpandedState())}}var oe=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],ae=["mat-panel-title","mat-panel-description","*"],se=new o.OlP("MAT_ACCORDION"),ue={indicatorRotate:(0,$.X$)("indicatorRotate",[(0,$.SB)("collapsed, void",(0,$.oB)({transform:"rotate(0deg)"})),(0,$.SB)("expanded",(0,$.oB)({transform:"rotate(180deg)"})),(0,$.eR)("expanded <=> collapsed, void => collapsed",(0,$.jt)("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),bodyExpansion:(0,$.X$)("bodyExpansion",[(0,$.SB)("collapsed, void",(0,$.oB)({height:"0px",visibility:"hidden"})),(0,$.SB)("expanded",(0,$.oB)({height:"*",visibility:"visible"})),(0,$.eR)("expanded <=> collapsed, void => collapsed",(0,$.jt)("225ms cubic-bezier(0.4,0.0,0.2,1)"))])},le=function(){var e=function e(t){_classCallCheck(this,e),this._template=t};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.Rgc))},e.\u0275dir=o.lG2({type:e,selectors:[["ng-template","matExpansionPanelContent",""]]}),e}(),ce=0,he=new o.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),fe=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,u,l,c){var h;return _classCallCheck(this,n),(h=t.call(this,e,i,r))._viewContainerRef=a,h._animationMode=l,h._hideToggle=!1,h.afterExpand=new o.vpe,h.afterCollapse=new o.vpe,h._inputChanges=new s.xQ,h._headerId="mat-expansion-panel-header-"+ce++,h._bodyAnimationDone=new s.xQ,h.accordion=e,h._document=u,h._bodyAnimationDone.pipe((0,G.x)(function(e,t){return e.fromState===t.fromState&&e.toState===t.toState})).subscribe(function(e){"void"!==e.fromState&&("expanded"===e.toState?h.afterExpand.emit():"collapsed"===e.toState&&h.afterCollapse.emit())}),c&&(h.hideToggle=c.hideToggle),h}return _createClass(n,[{key:"hideToggle",get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(e){this._hideToggle=(0,a.Ig)(e)}},{key:"togglePosition",get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(e){this._togglePosition=e}},{key:"_hasSpacing",value:function(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}},{key:"_getExpandedState",value:function(){return this.expanded?"expanded":"collapsed"}},{key:"toggle",value:function(){this.expanded=!this.expanded}},{key:"close",value:function(){this.expanded=!1}},{key:"open",value:function(){this.expanded=!0}},{key:"ngAfterContentInit",value:function(){var e=this;this._lazyContent&&this.opened.pipe((0,v.O)(null),(0,K.h)(function(){return e.expanded&&!e._portal}),(0,h.q)(1)).subscribe(function(){e._portal=new H.UE(e._lazyContent._template,e._viewContainerRef)})}},{key:"ngOnChanges",value:function(e){this._inputChanges.next(e)}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnDestroy",this).call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()}},{key:"_containsFocus",value:function(){if(this._body){var e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}}]),n}(q);return e.\u0275fac=function(t){return new(t||e)(o.Y36(se,12),o.Y36(o.sBO),o.Y36(N.A8),o.Y36(o.s_b),o.Y36(P.K0),o.Y36(Q.Qb,8),o.Y36(he,8))},e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,n){var i;(1&e&&o.Suo(n,le,5),2&e)&&(o.iGM(i=o.CRH())&&(t._lazyContent=i.first))},viewQuery:function(e,t){var n;(1&e&&o.Gf(ee,5),2&e)&&(o.iGM(n=o.CRH())&&(t._body=n.first))},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,t){2&e&&o.ekj("mat-expanded",t.expanded)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-expansion-panel-spacing",t._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[o._Bn([{provide:se,useValue:void 0}]),o.qOj,o.TTD],ngContentSelectors:ie,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,t){1&e&&(o.F$t(ne),o.Hsn(0),o.TgZ(1,"div",0,1),o.NdJ("@bodyExpansion.done",function(e){return t._bodyAnimationDone.next(e)}),o.TgZ(3,"div",2),o.Hsn(4,1),o.YNc(5,te,0,0,"ng-template",3),o.qZA(),o.Hsn(6,2),o.qZA()),2&e&&(o.xp6(1),o.Q6J("@bodyExpansion",t._getExpandedState())("id",t.id),o.uIk("aria-labelledby",t._headerId),o.xp6(4),o.Q6J("cdkPortalOutlet",t._portal))},directives:[H.Pl],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-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 button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[ue.bodyExpansion]},changeDetection:0}),e}(),de=(0,z.sb)(function e(){_classCallCheck(this,e)}),pe=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,a,s,u){var l;_classCallCheck(this,n),(l=t.call(this)).panel=e,l._element=i,l._focusMonitor=r,l._changeDetectorRef=o,l._animationMode=s,l._parentChangeSubscription=F.w.EMPTY;var c=e.accordion?e.accordion._stateChanges.pipe((0,K.h)(function(e){return!(!e.hideToggle&&!e.togglePosition)})):J.E;return l.tabIndex=parseInt(u||"")||0,l._parentChangeSubscription=(0,X.T)(e.opened,e.closed,c,e._inputChanges.pipe((0,K.h)(function(e){return!!(e.hideToggle||e.disabled||e.togglePosition)}))).subscribe(function(){return l._changeDetectorRef.markForCheck()}),e.closed.pipe((0,K.h)(function(){return e._containsFocus()})).subscribe(function(){return r.focusVia(i,"program")}),a&&(l.expandedHeight=a.expandedHeight,l.collapsedHeight=a.collapsedHeight),l}return _createClass(n,[{key:"disabled",get:function(){return this.panel.disabled}},{key:"_toggle",value:function(){this.disabled||this.panel.toggle()}},{key:"_isExpanded",value:function(){return this.panel.expanded}},{key:"_getExpandedState",value:function(){return this.panel._getExpandedState()}},{key:"_getPanelId",value:function(){return this.panel.id}},{key:"_getTogglePosition",value:function(){return this.panel.togglePosition}},{key:"_showToggle",value:function(){return!this.panel.hideToggle&&!this.panel.disabled}},{key:"_getHeaderHeight",value:function(){var e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}},{key:"_keydown",value:function(e){switch(e.keyCode){case W.L_:case W.K5:(0,W.Vb)(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}},{key:"focus",value:function(e,t){e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._element).subscribe(function(t){t&&e.panel.accordion&&e.panel.accordion._handleHeaderFocus(e)})}},{key:"ngOnDestroy",value:function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}]),n}(de);return e.\u0275fac=function(t){return new(t||e)(o.Y36(fe,1),o.Y36(o.SBq),o.Y36(Y.tE),o.Y36(o.sBO),o.Y36(he,8),o.Y36(Q.Qb,8),o.$8M("tabindex"))},e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,t){1&e&&o.NdJ("click",function(){return t._toggle()})("keydown",function(e){return t._keydown(e)}),2&e&&(o.uIk("id",t.panel._headerId)("tabindex",t.tabIndex)("aria-controls",t._getPanelId())("aria-expanded",t._isExpanded())("aria-disabled",t.panel.disabled),o.Udp("height",t._getHeaderHeight()),o.ekj("mat-expanded",t._isExpanded())("mat-expansion-toggle-indicator-after","after"===t._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===t._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[o.qOj],ngContentSelectors:ae,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,t){1&e&&(o.F$t(oe),o.TgZ(0,"span",0),o.Hsn(1),o.Hsn(2,1),o.Hsn(3,2),o.qZA(),o.YNc(4,re,1,1,"span",1)),2&e&&(o.xp6(4),o.Q6J("ngIf",t._showToggle()))},directives:[P.O5],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-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[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 .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}\n'],encapsulation:2,data:{animation:[ue.indicatorRotate]},changeDetection:0}),e}(),ve=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),e}(),_e=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),e}(),me=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._ownHeaders=new o.n_E,e._hideToggle=!1,e.displayMode="default",e.togglePosition="after",e}return _createClass(n,[{key:"hideToggle",get:function(){return this._hideToggle},set:function(e){this._hideToggle=(0,a.Ig)(e)}},{key:"ngAfterContentInit",value:function(){var e=this;this._headers.changes.pipe((0,v.O)(this._headers)).subscribe(function(t){e._ownHeaders.reset(t.filter(function(t){return t.panel.accordion===e})),e._ownHeaders.notifyOnChanges()}),this._keyManager=new Y.Em(this._ownHeaders).withWrap().withHomeAndEnd()}},{key:"_handleHeaderKeydown",value:function(e){this._keyManager.onKeydown(e)}},{key:"_handleHeaderFocus",value:function(e){this._keyManager.updateActiveItem(e)}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnDestroy",this).call(this),this._ownHeaders.destroy()}}]),n}(j);return t.\u0275fac=function(n){return(e||(e=o.n5z(t)))(n||t)},t.\u0275dir=o.lG2({type:t,selectors:[["mat-accordion"]],contentQueries:function(e,t,n){var i;(1&e&&o.Suo(n,pe,5),2&e)&&(o.iGM(i=o.CRH())&&(t._headers=i))},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,t){2&e&&o.ekj("mat-accordion-multi",t.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[o._Bn([{provide:se,useExisting:t}]),o.qOj]}),t}(),ge=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({imports:[[P.ez,z.BQ,V,H.eL]]}),e}();function ye(e,t){if(1&e&&(o.TgZ(0,"li"),o.TgZ(1,"uds-translate"),o._uU(2,"Detected proxy ip"),o.qZA(),o._uU(3),o.qZA()),2&e){var n=o.oxw(2);o.xp6(3),o.hij(": ",n.api.staffInfo.ip_proxy,"")}}function be(e,t){if(1&e&&(o.TgZ(0,"li"),o._uU(1),o.qZA()),2&e){var n=t.$implicit;o.xp6(1),o.Oqu(n)}}function ke(e,t){if(1&e&&(o.TgZ(0,"span"),o._uU(1),o.qZA()),2&e){var n=t.$implicit;o.xp6(1),o.Oqu(n)}}function Ce(e,t){if(1&e&&(o.TgZ(0,"div",1),o.TgZ(1,"h1"),o.TgZ(2,"uds-translate"),o._uU(3,"Information"),o.qZA(),o.qZA(),o.TgZ(4,"mat-accordion"),o.TgZ(5,"mat-expansion-panel"),o.TgZ(6,"mat-expansion-panel-header",2),o.TgZ(7,"mat-panel-title"),o._uU(8," IPs "),o.qZA(),o.TgZ(9,"mat-panel-description"),o.TgZ(10,"uds-translate"),o._uU(11,"Client IP"),o.qZA(),o.qZA(),o.qZA(),o.TgZ(12,"ol"),o.TgZ(13,"li"),o.TgZ(14,"uds-translate"),o._uU(15,"Client IP"),o.qZA(),o._uU(16),o.qZA(),o.YNc(17,ye,4,1,"li",3),o.qZA(),o.qZA(),o.TgZ(18,"mat-expansion-panel"),o.TgZ(19,"mat-expansion-panel-header",2),o.TgZ(20,"mat-panel-title"),o.TgZ(21,"uds-translate"),o._uU(22,"Transports"),o.qZA(),o.qZA(),o.TgZ(23,"mat-panel-description"),o.TgZ(24,"uds-translate"),o._uU(25,"UDS transports for this client"),o.qZA(),o.qZA(),o.qZA(),o.TgZ(26,"ol"),o.YNc(27,be,2,1,"li",4),o.qZA(),o.qZA(),o.TgZ(28,"mat-expansion-panel"),o.TgZ(29,"mat-expansion-panel-header",2),o.TgZ(30,"mat-panel-title"),o.TgZ(31,"uds-translate"),o._uU(32,"Networks"),o.qZA(),o.qZA(),o.TgZ(33,"mat-panel-description"),o.TgZ(34,"uds-translate"),o._uU(35,"UDS networks for this IP"),o.qZA(),o.qZA(),o.qZA(),o.YNc(36,ke,2,1,"span",4),o._uU(37,"\xa0 "),o.qZA(),o.qZA(),o.qZA()),2&e){var n=o.oxw();o.xp6(16),o.hij(": ",n.api.staffInfo.ip,""),o.xp6(1),o.Q6J("ngIf",n.api.staffInfo.ip_proxy!==n.api.staffInfo.ip),o.xp6(10),o.Q6J("ngForOf",n.api.staffInfo.transports),o.xp6(9),o.Q6J("ngForOf",n.api.staffInfo.networks)}}var we=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(S.n))},e.\u0275cmp=o.Xpm({type:e,selectors:[["uds-staff-info"]],decls:1,vars:1,consts:[["class","staff-info",4,"ngIf"],[1,"staff-info"],[1,"staff-panel"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(e,t){1&e&&o.YNc(0,Ce,38,4,"div",0),2&e&&o.Q6J("ngIf",t.api.staffInfo)},directives:[P.O5,T.P,me,fe,pe,_e,ve,P.sg],styles:[".staff-info[_ngcontent-%COMP%]{margin-top:1rem;padding:1rem;background-color:#ebebeb}.staff-info[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{text-align:center}.staff-panel[_ngcontent-%COMP%]{background-color:#d4d4d4}"]}),e}(),xe=n(2759),Ee=n(3342),Se=n(8295),Oe=n(9983),Ae=["input"],Te=function(){var e=function(){function e(){_classCallCheck(this,e),this.updateEvent=new o.vpe}return _createClass(e,[{key:"ngAfterViewInit",value:function(){var e=this;(0,xe.R)(this.input.nativeElement,"keyup").pipe((0,K.h)(Boolean),(0,d.b)(600),(0,G.x)(),(0,Ee.b)(function(){return e.update(e.input.nativeElement.value)})).subscribe()}},{key:"update",value:function(e){this.updateEvent.emit(e.toLowerCase())}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Xpm({type:e,selectors:[["uds-filter"]],viewQuery:function(e,t){var n;(1&e&&o.Gf(Ae,7),2&e)&&(o.iGM(n=o.CRH())&&(t.input=n.first))},outputs:{updateEvent:"updateEvent"},decls:9,vars:0,consts:[[1,"filter"],["floatLabel","auto",1,"nav-input-field"],["matInput","","type","text"],["input",""],["matSuffix","",1,"material-icons"]],template:function(e,t){1&e&&(o.TgZ(0,"div",0),o.TgZ(1,"mat-form-field",1),o.TgZ(2,"mat-label"),o.TgZ(3,"uds-translate"),o._uU(4,"Filter"),o.qZA(),o.qZA(),o._UZ(5,"input",2,3),o.TgZ(7,"i",4),o._uU(8,"search"),o.qZA(),o.qZA(),o.qZA())},directives:[Se.KE,Se.hX,T.P,Oe.Nt,Se.R9],styles:[".filter[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;justify-content:flex-end;font-size:.8rem}"]}),e}(),Pe=n(5917),Ie=n(4581),Re=n(3190),De=n(3637),Me=n(7393),Le=n(1593);function Fe(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:De.P,i=(t=e)instanceof Date&&!isNaN(+t)?+e-n.now():Math.abs(e);return function(e){return e.lift(new Ne(i,n))}}var Ne=function(){function e(t,n){_classCallCheck(this,e),this.delay=t,this.scheduler=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Be(e,this.delay,this.scheduler))}}]),e}(),Be=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).delay=i,o.scheduler=r,o.queue=[],o.active=!1,o.errored=!1,o}return _createClass(n,[{key:"_schedule",value:function(e){this.active=!0,this.destination.add(e.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}},{key:"scheduleNotification",value:function(e){if(!0!==this.errored){var t=this.scheduler,n=new Ue(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}}},{key:"_next",value:function(e){this.scheduleNotification(Le.P.createNext(e))}},{key:"_error",value:function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(Le.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){for(var t=e.source,n=t.queue,i=e.scheduler,r=e.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var o=Math.max(0,n[0].time-i.now());this.schedule(e,o)}else this.unsubscribe(),t.active=!1}}]),n}(Me.L),Ue=function e(t,n){_classCallCheck(this,e),this.time=t,this.notification=n},je=n(625),Ze=n(9243),qe=n(946),Ve=["mat-menu-item",""],He=["*"];function ze(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"div",0),o.NdJ("keydown",function(e){return o.CHM(n),o.oxw()._handleKeydown(e)})("click",function(){return o.CHM(n),o.oxw().closed.emit("click")})("@transformMenu.start",function(e){return o.CHM(n),o.oxw()._onAnimationStart(e)})("@transformMenu.done",function(e){return o.CHM(n),o.oxw()._onAnimationDone(e)}),o.TgZ(1,"div",1),o.Hsn(2),o.qZA(),o.qZA()}if(2&e){var i=o.oxw();o.Q6J("id",i.panelId)("ngClass",i._classList)("@transformMenu",i._panelAnimationState),o.uIk("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby||null)("aria-describedby",i.ariaDescribedby||null)}}var Ye={transformMenu:(0,$.X$)("transformMenu",[(0,$.SB)("void",(0,$.oB)({opacity:0,transform:"scale(0.8)"})),(0,$.eR)("void => enter",(0,$.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,$.oB)({opacity:1,transform:"scale(1)"}))),(0,$.eR)("* => void",(0,$.jt)("100ms 25ms linear",(0,$.oB)({opacity:0})))]),fadeInItems:(0,$.X$)("fadeInItems",[(0,$.SB)("showing",(0,$.oB)({opacity:1})),(0,$.eR)("void => *",[(0,$.oB)({opacity:0}),(0,$.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Ge=new o.OlP("MatMenuContent"),Ke=new o.OlP("MAT_MENU_PANEL"),We=(0,z.Kr)((0,z.Id)(function(){return function e(){_classCallCheck(this,e)}}())),Qe=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var a;return _classCallCheck(this,n),(a=t.call(this))._elementRef=e,a._focusMonitor=r,a._parentMenu=o,a.role="menuitem",a._hovered=new s.xQ,a._focused=new s.xQ,a._highlighted=!1,a._triggersSubmenu=!1,o&&o.addItem&&o.addItem(_assertThisInitialized(a)),a}return _createClass(n,[{key:"focus",value:function(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){for(var e,t,n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons"),r=0;r0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.pipe((0,h.q)(1)).subscribe(function(){return e._focusFirstItem(t)}):this._focusFirstItem(t)}},{key:"_focusFirstItem",value:function(e){var t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length)for(var n=this._directDescendantItems.first._getHostElement().parentElement;n;){if("menu"===n.getAttribute("role")){n.focus();break}n=n.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(e){var t=this,n=Math.min(this._baseElevation+e,24),i="".concat(this._elevationPrefix).concat(n),r=Object.keys(this._classList).find(function(e){return e.startsWith(t._elevationPrefix)});r&&r!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[i]=!0,this._previousElevation=i)}},{key:"setPositionClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,n=this._classList;n["mat-menu-before"]="before"===e,n["mat-menu-after"]="after"===e,n["mat-menu-above"]="above"===t,n["mat-menu-below"]="below"===t}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(e){this._animationDone.next(e),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var e=this;this._allItems.changes.pipe((0,v.O)(this._allItems)).subscribe(function(t){e._directDescendantItems.reset(t.filter(function(t){return t._parentMenu===e})),e._directDescendantItems.notifyOnChanges()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(Je))},e.\u0275dir=o.lG2({type:e,contentQueries:function(e,t,n){var i;(1&e&&(o.Suo(n,Ge,5),o.Suo(n,Qe,5),o.Suo(n,Qe,4)),2&e)&&(o.iGM(i=o.CRH())&&(t.lazyContent=i.first),o.iGM(i=o.CRH())&&(t._allItems=i),o.iGM(i=o.CRH())&&(t.items=i))},viewQuery:function(e,t){var n;(1&e&&o.Gf(o.Rgc,5),2&e)&&(o.iGM(n=o.CRH())&&(t.templateRef=n.first))},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),e}(),et=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e,i,r))._elevationPrefix="mat-elevation-z",o._baseElevation=4,o}return n}($e);return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(Je))},e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&o.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[o._Bn([{provide:Ke,useExisting:e}]),o.qOj],ngContentSelectors:He,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(o.F$t(),o.YNc(0,ze,3,6,"ng-template"))},directives:[P.mk],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[Ye.transformMenu,Ye.fadeInItems]},changeDetection:0}),e}(),tt=new o.OlP("mat-menu-scroll-strategy"),nt={provide:tt,deps:[je.aV],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},it=(0,m.i$)({passive:!0}),rt=function(){var e=function(){function e(t,n,i,r,a,s,u,l){var c=this;_classCallCheck(this,e),this._overlay=t,this._element=n,this._viewContainerRef=i,this._menuItemInstance=s,this._dir=u,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=F.w.EMPTY,this._hoverSubscription=F.w.EMPTY,this._menuCloseSubscription=F.w.EMPTY,this._handleTouchStart=function(e){(0,Y.yG)(e)||(c._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new o.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=r,this._parentMaterialMenu=a instanceof $e?a:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,it),s&&(s._triggersSubmenu=this.triggersSubmenu())}return _createClass(e,[{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(e){this.menu=e}},{key:"menu",get:function(){return this._menu},set:function(e){var t=this;e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(function(e){t._destroyMenu(e),"click"!==e&&"tab"!==e||!t._parentMaterialMenu||t._parentMaterialMenu.closed.emit(e)})))}},{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,it),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var e=this;if(!this._menuOpen){this._checkMenu();var t=this._createOverlay(),n=t.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return e.closeMenu()}),this._initMenu(),this.menu instanceof $e&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}},{key:"updatePosition",value:function(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}},{key:"_destroyMenu",value:function(e){var t=this;if(this._overlayRef&&this.menuOpen){var n=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),!this.restoreFocus||"keydown"!==e&&this._openedBy&&this.triggersSubmenu()||this.focus(this._openedBy),this._openedBy=void 0,n instanceof $e?(n._resetAnimation(),n.lazyContent?n._animationDone.pipe((0,K.h)(function(e){return"void"===e.toState}),(0,h.q)(1),(0,_.R)(n.lazyContent._attached)).subscribe({next:function(){return n.lazyContent.detach()},complete:function(){return t._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),n.lazyContent&&n.lazyContent.detach())}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var e=0,t=this.menu.parentMenu;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}},{key:"_setIsMenuOpen",value:function(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)}},{key:"_checkMenu",value:function(){}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new je.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value:function(e){var t=this;this.menu.setPositionClasses&&e.positionChanges.subscribe(function(e){t.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")})}},{key:"_setPosition",value:function(e){var t=_slicedToArray("before"===this.menu.xPosition?["end","start"]:["start","end"],2),n=t[0],i=t[1],r=_slicedToArray("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),o=r[0],a=r[1],s=o,u=a,l=n,c=i,h=0;this.triggersSubmenu()?(c=n="before"===this.menu.xPosition?"start":"end",i=l="end"===n?"start":"end",h="bottom"===o?8:-8):this.menu.overlapTrigger||(s="top"===o?"bottom":"top",u="top"===a?"bottom":"top"),e.withPositions([{originX:n,originY:s,overlayX:l,overlayY:o,offsetY:h},{originX:i,originY:s,overlayX:c,overlayY:o,offsetY:h},{originX:n,originY:u,overlayX:l,overlayY:a,offsetY:-h},{originX:i,originY:u,overlayX:c,overlayY:a,offsetY:-h}])}},{key:"_menuClosingActions",value:function(){var e=this,t=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),i=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Pe.of)(),r=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,K.h)(function(t){return t!==e._menuItemInstance}),(0,K.h)(function(){return e._menuOpen})):(0,Pe.of)();return(0,X.T)(t,i,r,n)}},{key:"_handleMousedown",value:function(e){(0,Y.X6)(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}},{key:"_handleKeydown",value:function(e){var t=e.keyCode;t!==W.K5&&t!==W.L_||(this._openedBy="keyboard"),this.triggersSubmenu()&&(t===W.SV&&"ltr"===this.dir||t===W.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}},{key:"_handleClick",value:function(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var e=this;this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,K.h)(function(t){return t===e._menuItemInstance&&!t.disabled}),Fe(0,Ie.E)).subscribe(function(){e._openedBy="mouse",e.menu instanceof $e&&e.menu._isAnimating?e.menu._animationDone.pipe((0,h.q)(1),Fe(0,Ie.E),(0,_.R)(e._parentMaterialMenu._hovered())).subscribe(function(){return e.openMenu()}):e.openMenu()}))}},{key:"_getPortal",value:function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new H.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(je.aV),o.Y36(o.SBq),o.Y36(o.s_b),o.Y36(tt),o.Y36(Ke,8),o.Y36(Qe,10),o.Y36(qe.Is,8),o.Y36(Y.tE))},e.\u0275dir=o.lG2({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(e,t){1&e&&o.NdJ("mousedown",function(e){return t._handleMousedown(e)})("keydown",function(e){return t._handleKeydown(e)})("click",function(e){return t._handleClick(e)}),2&e&&o.uIk("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),e}(),ot=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:[nt],imports:[z.BQ]}),e}(),at=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:[nt],imports:[[P.ez,z.BQ,z.si,je.U8,ot],Ze.ZD,z.BQ,ot]}),e}(),st={tooltipState:(0,$.X$)("state",[(0,$.SB)("initial, void, hidden",(0,$.oB)({opacity:0,transform:"scale(0)"})),(0,$.SB)("visible",(0,$.oB)({transform:"scale(1)"})),(0,$.eR)("* => visible",(0,$.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,$.F4)([(0,$.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,$.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,$.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,$.eR)("* => hidden",(0,$.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,$.oB)({opacity:0})))])},ut=(0,m.i$)({passive:!0}),lt=new o.OlP("mat-tooltip-scroll-strategy"),ct={provide:lt,deps:[je.aV],useFactory:function(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:20})}}},ht=new o.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),ft=function(){var e=function(){function e(t,n,i,r,o,a,u,l,c,h,f,d){var p=this;_classCallCheck(this,e),this._overlay=t,this._elementRef=n,this._scrollDispatcher=i,this._viewContainerRef=r,this._ngZone=o,this._platform=a,this._ariaDescriber=u,this._focusMonitor=l,this._dir=h,this._defaultOptions=f,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new s.xQ,this._handleKeydown=function(e){p._isTooltipVisible()&&e.keyCode===W.hY&&!(0,W.Vb)(e)&&(e.preventDefault(),e.stopPropagation(),p._ngZone.run(function(){return p.hide(0)}))},this._scrollStrategy=c,this._document=d,f&&(f.position&&(this.position=f.position),f.touchGestures&&(this.touchGestures=f.touchGestures)),h.change.pipe((0,_.R)(this._destroyed)).subscribe(function(){p._overlayRef&&p._updatePosition(p._overlayRef)}),o.runOutsideAngular(function(){n.nativeElement.addEventListener("keydown",p._handleKeydown)})}return _createClass(e,[{key:"position",get:function(){return this._position},set:function(e){var t;e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(t=this._tooltipInstance)||void 0===t||t.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=(0,a.Ig)(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"message",get:function(){return this._message},set:function(e){var t=this;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(function(){Promise.resolve().then(function(){t._ariaDescriber.describe(t._elementRef.nativeElement,t.message,"tooltip")})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngAfterViewInit",value:function(){var e=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,_.R)(this._destroyed)).subscribe(function(t){t?"keyboard"===t&&e._ngZone.run(function(){return e.show()}):e._ngZone.run(function(){return e.hide(0)})})}},{key:"ngOnDestroy",value:function(){var e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(function(t){var n=_slicedToArray(t,2),i=n[0],r=n[1];e.removeEventListener(i,r,ut)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}},{key:"show",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new H.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,_.R)(this._destroyed)).subscribe(function(){return e._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}}},{key:"hide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(e)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var e=this;if(this._overlayRef)return this._overlayRef;var t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return n.positionChanges.pipe((0,_.R)(this._destroyed)).subscribe(function(t){e._updateCurrentPositionClass(t.connectionPair),e._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&e._tooltipInstance.isVisible()&&e._ngZone.run(function(){return e.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"".concat(this._cssClassPrefix,"-tooltip-panel"),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,_.R)(this._destroyed)).subscribe(function(){return e._detach()}),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(e){var t=e.getConfig().positionStrategy,n=this._getOrigin(),i=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},n.main),i.main)),this._addOffset(Object.assign(Object.assign({},n.fallback),i.fallback))])}},{key:"_addOffset",value:function(e){return e}},{key:"_getOrigin",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n||"below"==n?e={originX:"center",originY:"above"==n?"top":"bottom"}:"before"==n||"left"==n&&t||"right"==n&&!t?e={originX:"start",originY:"center"}:("after"==n||"right"==n&&t||"left"==n&&!t)&&(e={originX:"end",originY:"center"});var i=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:i.x,originY:i.y}}}},{key:"_getOverlayPosition",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n?e={overlayX:"center",overlayY:"bottom"}:"below"==n?e={overlayX:"center",overlayY:"top"}:"before"==n||"left"==n&&t||"right"==n&&!t?e={overlayX:"end",overlayY:"center"}:("after"==n||"right"==n&&t||"left"==n&&!t)&&(e={overlayX:"start",overlayY:"center"});var i=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:i.x,overlayY:i.y}}}},{key:"_updateTooltipMessage",value:function(){var e=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,h.q)(1),(0,_.R)(this._destroyed)).subscribe(function(){e._tooltipInstance&&e._overlayRef.updatePosition()}))}},{key:"_setTooltipClass",value:function(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}},{key:"_updateCurrentPositionClass",value:function(e){var t,n=e.overlayY,i=e.originX,r=e.originY;if((t="center"===n?this._dir&&"rtl"===this._dir.value?"end"===i?"left":"right":"start"===i?"left":"right":"bottom"===n&&"top"===r?"above":"below")!==this._currentPosition){var o=this._overlayRef;if(o){var a="".concat(this._cssClassPrefix,"-tooltip-panel-");o.removePanelClass(a+this._currentPosition),o.addPanelClass(a+t)}this._currentPosition=t}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var e=this;!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(){e._setupPointerExitEventsIfNeeded(),e.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){e._setupPointerExitEventsIfNeeded(),clearTimeout(e._touchstartTimeout),e._touchstartTimeout=setTimeout(function(){return e.show()},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var e,t=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var n=[];if(this._platformSupportsMouseEvents())n.push(["mouseleave",function(){return t.hide()}],["wheel",function(e){return t._wheelListener(e)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var i=function(){clearTimeout(t._touchstartTimeout),t.hide(t._defaultOptions.touchendHideDelay)};n.push(["touchend",i],["touchcancel",i])}this._addListeners(n),(e=this._passiveListeners).push.apply(e,n)}}},{key:"_addListeners",value:function(e){var t=this;e.forEach(function(e){var n=_slicedToArray(e,2),i=n[0],r=n[1];t._elementRef.nativeElement.addEventListener(i,r,ut)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_wheelListener",value:function(e){if(this._isTooltipVisible()){var t=this._document.elementFromPoint(e.clientX,e.clientY),n=this._elementRef.nativeElement;t===n||n.contains(t)||this.hide()}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var e=this.touchGestures;if("off"!==e){var t=this._elementRef.nativeElement,n=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),"on"!==e&&t.draggable||(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(je.aV),o.Y36(o.SBq),o.Y36(Ze.mF),o.Y36(o.s_b),o.Y36(o.R0b),o.Y36(m.t4),o.Y36(Y.$s),o.Y36(Y.tE),o.Y36(void 0),o.Y36(qe.Is),o.Y36(void 0),o.Y36(P.K0))},e.\u0275dir=o.lG2({type:e,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),e}(),dt=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,a,s,u,l,c,h,f,d){var p;return _classCallCheck(this,n),(p=t.call(this,e,i,r,o,a,s,u,l,c,h,f,d))._tooltipComponent=vt,p}return n}(ft);return e.\u0275fac=function(t){return new(t||e)(o.Y36(je.aV),o.Y36(o.SBq),o.Y36(Ze.mF),o.Y36(o.s_b),o.Y36(o.R0b),o.Y36(m.t4),o.Y36(Y.$s),o.Y36(Y.tE),o.Y36(lt),o.Y36(qe.Is,8),o.Y36(ht,8),o.Y36(P.K0))},e.\u0275dir=o.lG2({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[o.qOj]}),e}(),pt=function(){var e=function(){function e(t){_classCallCheck(this,e),this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new s.xQ}return _createClass(e,[{key:"show",value:function(e){var t=this;clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){t._visibility="visible",t._showTimeoutId=void 0,t._onShow(),t._markForCheck()},e)}},{key:"hide",value:function(e){var t=this;clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(function(){t._visibility="hidden",t._hideTimeoutId=void 0,t._markForCheck()},e)}},{key:"afterHidden",value:function(){return this._onHide}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(e){var t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}},{key:"_onShow",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO))},e.\u0275dir=o.lG2({type:e}),e}(),vt=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e))._breakpointObserver=i,r._isHandset=r._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),r}return n}(pt);return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(C))},e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&o.NdJ("click",function(){return t._handleBodyInteraction()},!1,o.pYS)("auxclick",function(){return t._handleBodyInteraction()},!1,o.pYS),2&e&&o.Udp("zoom","visible"===t._visibility?1:null)},features:[o.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){var n;(1&e&&(o.TgZ(0,"div",0),o.NdJ("@state.start",function(){return t._animationStart()})("@state.done",function(e){return t._animationDone(e)}),o.ALo(1,"async"),o._uU(2),o.qZA()),2&e)&&(o.ekj("mat-tooltip-handset",null==(n=o.lcZ(1,5,t._isHandset))?null:n.matches),o.Q6J("ngClass",t.tooltipClass)("@state",t._visibility),o.xp6(2),o.Oqu(t.message))},directives:[P.mk],pipes:[P.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[st.tooltipState]},changeDetection:0}),e}(),_t=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:[ct],imports:[[Y.rt,P.ez,je.U8,z.BQ],z.BQ,Ze.ZD]}),e}(),mt=n(1095);function gt(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"button",14),o.NdJ("click",function(){var e=o.CHM(n).$implicit;return o.oxw(2).launch(e)}),o.TgZ(1,"div",15),o._UZ(2,"img",9),o._uU(3),o.qZA(),o.qZA()}if(2&e){var i=t.$implicit,r=o.oxw(2);o.xp6(2),o.Q6J("src",r.getTransportIcon(i.id),o.LSH),o.xp6(1),o.hij(" ",i.name," ")}}function yt(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"button",14),o.NdJ("click",function(){return o.CHM(n),o.oxw(2).action("release")}),o.TgZ(1,"i",16),o._uU(2,"delete"),o.qZA(),o.TgZ(3,"uds-translate"),o._uU(4," Release service"),o.qZA(),o.qZA()}}function bt(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"button",14),o.NdJ("click",function(){return o.CHM(n),o.oxw(2).action("reset")}),o.TgZ(1,"i",16),o._uU(2,"refresh"),o.qZA(),o.TgZ(3,"uds-translate"),o._uU(4," Reset service"),o.qZA(),o.qZA()}}function kt(e,t){if(1&e&&(o.TgZ(0,"button",17),o.TgZ(1,"uds-translate"),o._uU(2,"Connections"),o.qZA(),o.qZA()),2&e){o.oxw();var n=o.MAs(2);o.Q6J("matMenuTriggerFor",n)}}function Ct(e,t){if(1&e&&(o.TgZ(0,"button",17),o.TgZ(1,"uds-translate"),o._uU(2,"Actions"),o.qZA(),o.qZA()),2&e){o.oxw();var n=o.MAs(5);o.Q6J("matMenuTriggerFor",n)}}function wt(e,t){if(1&e&&(o.TgZ(0,"button",18),o.TgZ(1,"i",16),o._uU(2,"menu"),o.qZA(),o.qZA()),2&e){o.oxw();var n=o.MAs(9);o.Q6J("matMenuTriggerFor",n)}}function xt(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"div"),o.TgZ(1,"mat-menu",null,1),o.YNc(3,gt,4,2,"button",2),o.qZA(),o.TgZ(4,"mat-menu",null,3),o.YNc(6,yt,5,0,"button",4),o.YNc(7,bt,5,0,"button",4),o.qZA(),o.TgZ(8,"mat-menu",null,5),o.YNc(10,kt,3,1,"button",6),o.YNc(11,Ct,3,1,"button",6),o.qZA(),o.TgZ(12,"div",7),o.TgZ(13,"div",8),o.NdJ("click",function(){return o.CHM(n),o.oxw().launch(null)}),o._UZ(14,"img",9),o.qZA(),o.TgZ(15,"div",10),o.TgZ(16,"span",11),o._uU(17),o.qZA(),o.qZA(),o.TgZ(18,"div",12),o.YNc(19,wt,3,1,"button",13),o.qZA(),o.qZA(),o.qZA()}if(2&e){var i=o.oxw();o.xp6(3),o.Q6J("ngForOf",i.service.transports),o.xp6(3),o.Q6J("ngIf",i.service.allow_users_remove),o.xp6(1),o.Q6J("ngIf",i.service.allow_users_reset),o.xp6(3),o.Q6J("ngIf",i.showTransportsMenu()),o.xp6(1),o.Q6J("ngIf",i.hasActions()),o.xp6(1),o.Q6J("ngClass",i.serviceClass)("matTooltipDisabled",""===i.serviceTooltip)("matTooltip",i.serviceTooltip),o.xp6(2),o.Q6J("src",i.serviceImage,o.LSH),o.xp6(2),o.Q6J("ngClass",i.serviceNameClass),o.xp6(1),o.Oqu(i.serviceName),o.xp6(2),o.Q6J("ngIf",i.hasMenu())}}var Et=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"serviceImage",get:function(){return this.api.galleryImageURL(this.service.imageId)}},{key:"serviceName",get:function(){var e=this.service.visual_name;return e.length>32&&(e=e.substring(0,29)+"..."),e}},{key:"serviceTooltip",get:function(){return null!==this.service.to_be_replaced?this.service.to_be_replaced_text:this.service.maintenance?django.gettext("Service is in maintenance"):this.service.not_accesible?this.service.custom_calendar_text:this.serviceName!==this.service.name?this.service.name:""}},{key:"serviceClass",get:function(){var e=["service"];return null!=this.service.to_be_replaced?e.push("tobereplaced"):this.service.maintenance?e.push("maintenance"):this.service.not_accesible?e.push("forbidden"):this.service.in_use&&e.push("inuse"),e.length>1&&e.push("alert"),e}},{key:"serviceNameClass",get:function(){var e=[],t=Math.min(4*Math.floor((this.service.visual_name.length-1)/4),28);return t>=16&&e.push("small-"+t.toString()),e}},{key:"getTransportIcon",value:function(e){return this.api.transportIconURL(e)}},{key:"hasActions",value:function(){return this.service.allow_users_remove||this.service.allow_users_reset}},{key:"showTransportsMenu",value:function(){return this.service.transports.length>1&&this.service.show_transports}},{key:"hasMenu",value:function(){return!1===this.service.maintenance&&!1===this.service.not_accesible&&(this.hasActions()||this.showTransportsMenu())}},{key:"notifyNotLaunching",value:function(e){this.api.gui.alert('

'+django.gettext("Launcher")+"

",e)}},{key:"launch",value:function(e){if(this.service.maintenance)this.notifyNotLaunching(django.gettext("Service is in maintenance and cannot be launched"));else if(this.service.not_accesible){var t=this.service.custom_calendar_text||this.api.config.messages.calendarDenied;this.notifyNotLaunching('

'+django.gettext("This service is currently not accesible due to schedule restrictions.")+'

'+t+'

')}else null!==e&&!1!==this.service.show_transports||(e=this.service.transports[0]),this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(e.link)}},{key:"action",value:function(e){var t=this,n=("release"===e?django.gettext("Release service: "):django.gettext("Reset service: "))+" "+this.serviceName,i="release"===e?django.gettext("Service released"):django.gettext("Service reseted");this.api.gui.yesno(n,django.gettext("Are you sure?")).subscribe(function(r){r&&t.api.action(e,t.service.id).subscribe(function(e){e&&t.api.gui.alert(n,i)})})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(S.n))},e.\u0275cmp=o.Xpm({type:e,selectors:[["uds-service"]],inputs:{service:"service"},decls:1,vars:1,consts:[[4,"ngIf"],["transports",""],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["actions",""],["mat-menu-item","",3,"click",4,"ngIf"],["menu",""],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["matTooltipShowDelay","1000","matTooltipPosition","above",3,"ngClass","matTooltipDisabled","matTooltip"],[1,"icon",3,"click"],[3,"src"],[1,"name"],[3,"ngClass"],[1,"menu"],["mat-icon-button","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"transport-item"],[1,"material-icons"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-icon-button","",3,"matMenuTriggerFor"]],template:function(e,t){1&e&&o.YNc(0,xt,20,12,"div",0),2&e&&o.Q6J("ngIf",t.service.transports.length>0)},directives:[P.O5,et,P.sg,P.mk,dt,Qe,T.P,rt,mt.lW],styles:['.service[_ngcontent-%COMP%]{width:10rem;margin:0 1rem 2rem 0;padding:.5rem 0 1rem;box-shadow:0 12px 18px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-color:rgb(0,0,0,.22);display:flex;flex:1;align-items:center;justify-content:flex-start;flex-flow:column wrap;position:relative}.service[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.icon[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:center;transition:all .3s cubic-bezier(.25,.8,.25,1);width:6rem;height:6rem;margin:.5rem}.service[_ngcontent-%COMP%]:not(.forbidden):not(.maintenance):hover .icon[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.25,.8,.25,1);width:7rem;height:7rem;margin:0}.icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden}.forbidden[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .maintenance[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.5;z-index:10}.tobereplaced[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.7;z-index:10}.name[_ngcontent-%COMP%]{margin-top:.5em;width:calc(100% - 1em);display:flex;flex:1 0 auto;flex-flow:row;align-items:center;justify-content:center;padding:0 .5em;overflow:hidden;height:2.4em;text-align:center}.name[_ngcontent-%COMP%], .small-16[_ngcontent-%COMP%]{font-size:1.05rem}.small-20[_ngcontent-%COMP%]{font-size:1rem}.small-24[_ngcontent-%COMP%]{font-size:.95rem}.small-28[_ngcontent-%COMP%]{font-size:.9rem}.menu[_ngcontent-%COMP%]{position:absolute;top:2px;right:2px}.menu[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{cursor:pointer;border-radius:1px;background-color:hsla(0,0%,100%,.8)}.menu[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1)}.transport-item[_ngcontent-%COMP%]{display:flex;align-items:center}.transport-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2em;margin-right:.4em}.alert[_ngcontent-%COMP%]:before{position:absolute;top:1rem;left:1rem;font-size:8rem;font-weight:500;font-family:Material Icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:"liga";text-shadow:0 6px 8px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);z-index:1}.forbidden[_ngcontent-%COMP%]:before{color:#fc0000;content:"update"}.maintenance[_ngcontent-%COMP%]:before{color:#fcb900;content:"build"}.tobereplaced[_ngcontent-%COMP%]:before{color:#fc0000;content:"delete_forever"}']}),e}();function St(e,t){1&e&&o._UZ(0,"uds-service",8),2&e&&o.Q6J("service",t.$implicit)}function Ot(e,t){if(1&e&&(o.TgZ(0,"mat-expansion-panel",1),o.TgZ(1,"mat-expansion-panel-header",2),o.TgZ(2,"mat-panel-title"),o.TgZ(3,"div",3),o._UZ(4,"img",4),o._uU(5),o.qZA(),o.qZA(),o.TgZ(6,"mat-panel-description",5),o._uU(7),o.qZA(),o.qZA(),o.TgZ(8,"div",6),o.YNc(9,St,1,1,"uds-service",7),o.qZA(),o.qZA()),2&e){var n=o.oxw();o.Q6J("expanded",n.expanded),o.xp6(1),o.Q6J("collapsedHeight","3rem")("expandedHeight","5rem"),o.xp6(3),o.Q6J("src",n.groupImage,o.LSH),o.xp6(1),o.hij(" ",n.group.name,""),o.xp6(2),o.hij(" ",n.group.comments," "),o.xp6(2),o.Q6J("ngForOf",n.sortedServices)}}var At=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t,this.expanded=!1}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"groupImage",get:function(){return this.api.galleryImageURL(this.group.imageUuid)}},{key:"hasVisibleServices",get:function(){return this.services.length>0}},{key:"sortedServices",get:function(){return this.services.sort(function(e,t){return e.name>t.name?1:e.name0&&void 0!==arguments[0]?arguments[0]:"";this.group=[];var n=null;this.servicesInformation.services.filter(function(e){return!t||e.visual_name.toLowerCase().includes(t)||e.group.name.toLowerCase().includes(t)}).sort(function(e,t){return e.group.priority!==t.group.priority?e.group.priority-t.group.priority:e.group.id>t.group.id?1:e.group.id=t.api.config.min_for_filter&&t.api.config.site_filter_on_top),o.xp6(3),o.Q6J("ngForOf",t.group),o.xp6(1),o.Q6J("ngIf",t.servicesInformation.services.length>=t.api.config.min_for_filter&&!t.api.config.site_filter_on_top))},directives:[P.O5,me,P.sg,we,Te,At],styles:[".services-groups[_ngcontent-%COMP%]{padding-top:1rem}"]}),Lt),canActivate:[O]},{path:"login",component:A.G},{path:"login/:id",component:A.G},{path:"client-download",component:R},{path:"downloads",component:L,canActivate:[O]},{path:"error/:id",component:(Mt=function(){function e(t){_classCallCheck(this,e),this.route=t,this.error=""}return _createClass(e,[{key:"ngOnInit",value:function(){this.getError()}},{key:"getError",value:function(){var e=this.route.snapshot.paramMap.get("id");try{this.error=(new TextDecoder).decode(Uint8Array.from(window.atob(e),function(e){return e.charCodeAt(e)})).replace("\n","
"),console.log(this.error),udsData.error=this.error}catch(t){console.log(t),this.error=django.gettext("Invalid error string")}}}]),e}(),Mt.\u0275fac=function(e){return new(e||Mt)(o.Y36(E.gz))},Mt.\u0275cmp=o.Xpm({type:Mt,selectors:[["uds-error"]],decls:14,vars:3,consts:[[1,"error-container"],[1,"graph"],["viewBox","0 0 55 41","xmlns","http://www.w3.org/2000/svg",1,"bird"],["d","M35.5 5L54.7.6H32.3L35.5 5zM12.4 40.8l10.3-10.1-6.2-6.7-4.1 16.8zM33.8 5.3L30.5.8l-5.4 4 8.7.5zM20.8 4.6L8.8 0l1.9 4.1 10.1.5zM0 5l15.2 15.4 7.5-14.2L0 5zM34.2 6.8l-9.9-.5-8 15.2 7.4 8.1 8-7.9 2.5-14.9z"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 32 32",1,"gears"],["d","M29.18 19.07c-1.678-2.908-.668-6.634 2.256-8.328L28.29 5.295c-.897.527-1.942.83-3.057.83-3.36 0-6.085-2.743-6.085-6.126h-6.29c.01 1.043-.25 2.102-.81 3.07-1.68 2.907-5.41 3.896-8.34 2.21L.566 10.727c.905.515 1.69 1.268 2.246 2.234 1.677 2.904.673 6.624-2.24 8.32l3.145 5.447c.895-.522 1.935-.82 3.044-.82 3.35 0 6.066 2.725 6.083 6.092h6.29c-.004-1.035.258-2.08.81-3.04 1.676-2.902 5.4-3.893 8.325-2.218l3.145-5.447c-.9-.515-1.678-1.266-2.232-2.226zM16 22.48c-3.578 0-6.48-2.902-6.48-6.48S12.423 9.52 16 9.52c3.578 0 6.48 2.902 6.48 6.48s-2.902 6.48-6.48 6.48z"],[1,"title"],[1,"description",3,"innerHTML"],["mat-raised-button","","color","warn","routerLink","/"]],template:function(e,t){1&e&&(o.TgZ(0,"div",0),o.TgZ(1,"div",1),o.O4$(),o.TgZ(2,"svg",2),o._UZ(3,"path",3),o.qZA(),o.TgZ(4,"svg",4),o._UZ(5,"path",5),o.qZA(),o.qZA(),o.kcU(),o.TgZ(6,"h1",6),o.TgZ(7,"uds-translate"),o._uU(8,"An error has occurred"),o.qZA(),o.qZA(),o._UZ(9,"p",7),o.ALo(10,"safeHtml"),o.TgZ(11,"a",8),o.TgZ(12,"uds-translate"),o._uU(13,"Return"),o.qZA(),o.qZA(),o.qZA()),2&e&&(o.xp6(9),o.Q6J("innerHTML",o.lcZ(10,1,t.error),o.oJD))},directives:[T.P,mt.zs,E.yS],pipes:[D.z],styles:[".error-container[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;position:relative}.title[_ngcontent-%COMP%]{display:block;font-size:2rem;font-weight:lighter;text-align:center}.description[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:lighter}.graph[_ngcontent-%COMP%]{position:relative}.gears[_ngcontent-%COMP%]{width:10rem;height:10rem;fill:#6aafe6;transition:easeInOutQuint();-webkit-animation:CogAnimation 5s infinite;animation:CogAnimation 5s infinite}.bird[_ngcontent-%COMP%]{position:absolute;width:3rem;height:3rem;fill:#30a9de;left:50%;top:50%;transform:translate(-50%,-50%)}@-webkit-keyframes CogAnimation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes CogAnimation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}"]}),Mt)},{path:"about",component:(Dt=function(){function e(t){_classCallCheck(this,e),this.api=t}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}(),Dt.\u0275fac=function(e){return new(e||Dt)(o.Y36(S.n))},Dt.\u0275cmp=o.Xpm({type:Dt,selectors:[["uds-about"]],decls:45,vars:2,consts:[[1,"about"],["href","http://www.udsenterprise.com","target","_blank"],["href","https://github.com/dkmstr/openuds","target","_blank"],[1,"components"],["href","https://www.python.org/"],["href","https://www.typescriptlang.org/","target","_blank"],["href","https://www.djangoproject.com/","target","_blank"],["href","https://angular.io","target","_blank"],["href","https://guac-dev.org/","target","_blank"],["href","https://weasyprint.org/","target","_blank"],["href","https://kde-look.org/content/show.php/Crystal+Project?content=60475)","target","_blank"],["href","https://github.com/NitruxSA/flattr-icons","target","_blank"]],template:function(e,t){1&e&&(o.TgZ(0,"div",0),o.TgZ(1,"h1"),o._uU(2),o.qZA(),o.TgZ(3,"h3"),o.TgZ(4,"a",1),o._uU(5," \xa9 2012-2020 Virtual Cable S.L.U."),o.qZA(),o.qZA(),o.TgZ(6,"h4"),o.TgZ(7,"uds-translate"),o._uU(8,"You can access UDS Open Source code at"),o.qZA(),o.TgZ(9,"a",2),o._uU(10," OpenUDS github repository"),o.qZA(),o.qZA(),o.TgZ(11,"div",3),o.TgZ(12,"h2"),o.TgZ(13,"uds-translate"),o._uU(14,"UDS has been developed using these components:"),o.qZA(),o.qZA(),o.TgZ(15,"ul"),o.TgZ(16,"li"),o.TgZ(17,"a",4),o._uU(18,"Python"),o.qZA(),o.qZA(),o.TgZ(19,"li"),o.TgZ(20,"a",5),o._uU(21,"TypeScript"),o.qZA(),o.qZA(),o.TgZ(22,"li"),o.TgZ(23,"a",6),o._uU(24,"Django"),o.qZA(),o.qZA(),o.TgZ(25,"li"),o.TgZ(26,"a",7),o._uU(27,"Angular"),o.qZA(),o.qZA(),o.TgZ(28,"li"),o.TgZ(29,"a",8),o._uU(30,"Guacamole"),o.qZA(),o.qZA(),o.TgZ(31,"li"),o.TgZ(32,"a",9),o._uU(33,"weasyprint"),o.qZA(),o.qZA(),o.TgZ(34,"li"),o.TgZ(35,"a",10),o._uU(36,"Crystal project icons"),o.qZA(),o.qZA(),o.TgZ(37,"li"),o.TgZ(38,"a",11),o._uU(39,"Flattr Icons"),o.qZA(),o.qZA(),o.qZA(),o.TgZ(40,"p"),o.TgZ(41,"small"),o._uU(42,"* "),o.TgZ(43,"uds-translate"),o._uU(44,"If you find that we missed any component, please let us know"),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.qZA()),2&e&&(o.xp6(2),o.AsE("Universal Desktop Services ",t.api.config.version," build ",t.api.config.version_stamp,""))},directives:[T.P],styles:["[_nghost-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center}.about[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center}.about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-size:1em;font-weight:400}.about[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{padding:0;list-style:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none;color:#000;background-color:#fff;line-height:30px;border-bottom:1px solid #ccc;padding-left:10px;cursor:pointer}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#3e6b2d}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px}"]}),Dt)},{path:"ticket/launcher",component:(Rt=function(){function e(t){_classCallCheck(this,e),this.api=t}return _createClass(e,[{key:"ngOnInit",value:function(){""!==this.api.config.urls.launch&&this.api.launchURL(this.api.config.urls.launch)}}]),e}(),Rt.\u0275fac=function(e){return new(e||Rt)(o.Y36(S.n))},Rt.\u0275cmp=o.Xpm({type:Rt,selectors:[["uds-launcher"]],decls:24,vars:0,consts:[[1,"launcher"],[1,"launcher-box"],["routerLink","/client-download"]],template:function(e,t){1&e&&(o.TgZ(0,"div",0),o.TgZ(1,"div",1),o.TgZ(2,"h1"),o.TgZ(3,"uds-translate"),o._uU(4,"UDS Service launcher"),o.qZA(),o.qZA(),o.TgZ(5,"h4"),o.TgZ(6,"uds-translate"),o._uU(7,"The service you have requested is being launched."),o.qZA(),o.qZA(),o.TgZ(8,"h5"),o.TgZ(9,"uds-translate"),o._uU(10,"Please, note that reloading this page will not work."),o.qZA(),o.qZA(),o.TgZ(11,"h5"),o.TgZ(12,"uds-translate"),o._uU(13,"To relaunch service, you will have to do it from origin."),o.qZA(),o.qZA(),o.TgZ(14,"h6"),o.TgZ(15,"uds-translate"),o._uU(16,"If the service does not launchs automatically, probably you dont have the UDS Client installed"),o.qZA(),o.qZA(),o.TgZ(17,"h6"),o.TgZ(18,"uds-translate"),o._uU(19,"You can obtain it from the"),o.qZA(),o._uU(20,"\xa0"),o.TgZ(21,"a",2),o.TgZ(22,"uds-translate"),o._uU(23,"UDS Client download page"),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.qZA())},directives:[T.P,E.yS],styles:[".launcher[_ngcontent-%COMP%]{justify-content:center;display:flex;margin-top:1rem;font-size:larger}.launcher-box[_ngcontent-%COMP%]{box-shadow:0 12px 18px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-radius:.5rem;border-color:rgb(0,0,0,.22);padding:1rem}.launcher-box[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{text-align:center}.launcher-box[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{margin-top:.6rem;margin-bottom:.6rem;font-weight:400}"]}),Rt)},{path:"**",redirectTo:"services"}],Bt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({imports:[[E.Bz.forRoot(Nt,{relativeLinkResolution:"legacy"})],E.Bz]}),e}(),Ut=n(665),jt=n(8553),Zt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({}),e}(),qt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({imports:[[z.si,z.BQ,jt.Q8,Zt],z.BQ,Zt]}),e}(),Vt=n(2238),Ht=n(7441),zt=["*",[["mat-toolbar-row"]]],Yt=["*","mat-toolbar-row"],Gt=(0,z.pj)(function(){return function e(t){_classCallCheck(this,e),this._elementRef=t}}()),Kt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),e}(),Wt=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e))._platform=i,o._document=r,o}return _createClass(n,[{key:"ngAfterViewInit",value:function(){var e=this;this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(function(){return e._checkToolbarMixedModes()}))}},{key:"_checkToolbarMixedModes",value:function(){}}]),n}(Gt);return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.SBq),o.Y36(m.t4),o.Y36(P.K0))},e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-toolbar"]],contentQueries:function(e,t,n){var i;(1&e&&o.Suo(n,Kt,5),2&e)&&(o.iGM(i=o.CRH())&&(t._toolbarRows=i))},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&o.ekj("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[o.qOj],ngContentSelectors:Yt,decls:2,vars:0,template:function(e,t){1&e&&(o.F$t(zt),o.Hsn(0),o.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),e}(),Qt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({imports:[[z.BQ],z.BQ]}),e}(),Jt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:[{provide:Se.o2,useValue:{floatLabel:"always"}}],imports:[Ut.u5,Qt,mt.ot,at,_t,ge,Vt.Is,Se.lN,Oe.c,Ht.LD,qt]}),e}();function Xt(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"button",9),o.NdJ("click",function(){var e=o.CHM(n).$implicit;return o.oxw(2).changeLang(e)}),o._uU(1),o.qZA()}if(2&e){var i=t.$implicit;o.xp6(1),o.Oqu(i.name)}}function $t(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"button",9),o.NdJ("click",function(){return o.CHM(n),o.oxw(2).admin()}),o.TgZ(1,"i",23),o._uU(2,"dashboard"),o.qZA(),o.TgZ(3,"uds-translate"),o._uU(4,"Dashboard"),o.qZA(),o.qZA()}}function en(e,t){1&e&&(o.TgZ(0,"button",28),o.TgZ(1,"i",23),o._uU(2,"file_download"),o.qZA(),o.TgZ(3,"uds-translate"),o._uU(4,"Downloads"),o.qZA(),o.qZA())}function tn(e,t){if(1&e&&(o.TgZ(0,"button",14),o._uU(1),o.qZA()),2&e){o.oxw();var n=o.MAs(8),i=o.oxw();o.Q6J("matMenuTriggerFor",n),o.xp6(1),o.Oqu(i.api.user.user)}}function nn(e,t){if(1&e&&(o.TgZ(0,"button",25),o._uU(1),o.TgZ(2,"i",23),o._uU(3,"arrow_drop_down"),o.qZA(),o.qZA()),2&e){o.oxw();var n=o.MAs(8),i=o.oxw();o.Q6J("matMenuTriggerFor",n),o.xp6(1),o.hij("",i.api.user.user," ")}}function rn(e,t){if(1&e){var n=o.EpF();o.ynx(0),o.TgZ(1,"form",1),o._UZ(2,"input",2),o._UZ(3,"input",3),o.qZA(),o.TgZ(4,"mat-menu",null,4),o.YNc(6,Xt,2,1,"button",5),o.qZA(),o.TgZ(7,"mat-menu",null,6),o.YNc(9,$t,5,0,"button",7),o.YNc(10,en,5,0,"button",8),o.TgZ(11,"button",9),o.NdJ("click",function(){return o.CHM(n),o.oxw().logout()}),o.TgZ(12,"i",10),o._uU(13,"exit_to_app"),o.qZA(),o.TgZ(14,"uds-translate"),o._uU(15,"Logout"),o.qZA(),o.qZA(),o.qZA(),o.TgZ(16,"mat-menu",11,12),o.YNc(18,tn,2,2,"button",13),o.TgZ(19,"button",14),o._uU(20),o.qZA(),o.TgZ(21,"button",15),o.TgZ(22,"uds-translate"),o._uU(23,"UDS Client"),o.qZA(),o.qZA(),o.TgZ(24,"button",16),o.TgZ(25,"uds-translate"),o._uU(26,"About"),o.qZA(),o.qZA(),o.qZA(),o.TgZ(27,"mat-toolbar",17),o.TgZ(28,"button",18),o._UZ(29,"img",19),o._uU(30),o.qZA(),o._UZ(31,"span",20),o.TgZ(32,"div",21),o.TgZ(33,"button",22),o.TgZ(34,"i",23),o._uU(35,"file_download"),o.qZA(),o.TgZ(36,"uds-translate"),o._uU(37,"UDS Client"),o.qZA(),o.qZA(),o.TgZ(38,"button",24),o.TgZ(39,"i",23),o._uU(40,"info"),o.qZA(),o.TgZ(41,"uds-translate"),o._uU(42,"About"),o.qZA(),o.qZA(),o.TgZ(43,"button",25),o._uU(44),o.TgZ(45,"i",23),o._uU(46,"arrow_drop_down"),o.qZA(),o.qZA(),o.YNc(47,nn,4,2,"button",26),o.qZA(),o.TgZ(48,"div",27),o.TgZ(49,"button",25),o.TgZ(50,"i",23),o._uU(51,"menu"),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.BQk()}if(2&e){var i=o.MAs(5),r=o.MAs(17),a=o.oxw();o.xp6(1),o.s9C("action",a.api.config.urls.changeLang,o.LSH),o.xp6(1),o.s9C("name",a.api.config.csrf_field),o.s9C("value",a.api.config.csrf),o.xp6(1),o.s9C("value",a.lang.id),o.xp6(3),o.Q6J("ngForOf",a.langs),o.xp6(3),o.Q6J("ngIf",a.api.user.isStaff),o.xp6(1),o.Q6J("ngIf",a.api.user.isStaff),o.xp6(8),o.Q6J("ngIf",a.api.user.isLogged),o.xp6(1),o.Q6J("matMenuTriggerFor",i),o.xp6(1),o.hij("",a.lang.name," "),o.xp6(9),o.Q6J("src",a.api.staticURL("modern/img/udsicon.png"),o.LSH),o.xp6(1),o.hij(" ",a.api.config.site_logo_name," "),o.xp6(13),o.Q6J("matMenuTriggerFor",i),o.xp6(1),o.hij("",a.lang.name," "),o.xp6(3),o.Q6J("ngIf",a.api.user.isLogged),o.xp6(2),o.Q6J("matMenuTriggerFor",r)}}var on=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t,this.style="";var n=t.config.language;this.langs=[];var i,r=_createForOfIteratorHelper(t.config.available_languages);try{for(r.s();!(i=r.n()).done;){var o=i.value;o.id===n?this.lang=o:this.langs.push(o)}}catch(a){r.e(a)}finally{r.f()}}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"changeLang",value:function(e){return this.lang=e,document.getElementById("id_language").attributes.value.value=e.id,document.getElementById("form_language").submit(),!1}},{key:"admin",value:function(){this.api.gotoAdmin()}},{key:"logout",value:function(){this.api.logout()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(S.n))},e.\u0275cmp=o.Xpm({type:e,selectors:[["uds-navbar"]],decls:1,vars:1,consts:[[4,"ngIf"],["id","form_language","method","post",3,"action"],["type","hidden",3,"name","value"],["id","id_language","type","hidden","name","language",3,"value"],["appMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["userMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","","routerLink","/downloads",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"material-icons","highlight"],["x-position","before"],["shrink","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","","routerLink","/client-download"],["mat-menu-item","","routerLink","/about"],["color","primary",1,"uds-nav"],["mat-button","","routerLink","/"],["alt","Universal Desktop Services",1,"udsicon",3,"src"],[1,"fill-remaining-space"],[1,"expanded"],["mat-button","","routerLink","/client-download"],[1,"material-icons"],["mat-button","","routerLink","/about"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[1,"shrinked"],["mat-menu-item","","routerLink","/downloads"]],template:function(e,t){1&e&&o.YNc(0,rn,52,16,"ng-container",0),2&e&&o.Q6J("ngIf",""==t.api.config.urls.launch)},directives:[P.O5,Ut._Y,Ut.JL,Ut.F,et,P.sg,Qe,T.P,rt,E.rH,Wt,mt.lW],styles:[".uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.udsicon[_ngcontent-%COMP%]{width:2rem}@media only screen and (max-width:744px){.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width:745px){.expanded[_ngcontent-%COMP%]{visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}}"]}),e}(),an=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(S.n))},e.\u0275cmp=o.Xpm({type:e,selectors:[["uds-footer"]],decls:3,vars:2,consts:[[3,"href"]],template:function(e,t){1&e&&(o.TgZ(0,"div"),o.TgZ(1,"a",0),o._uU(2),o.qZA(),o.qZA()),2&e&&(o.xp6(1),o.Q6J("href",t.api.config.site_copyright_link,o.LSH),o.xp6(1),o.Oqu(t.api.config.site_copyright_info))},styles:[""]}),e}(),sn=function(){var e=function(){function e(){_classCallCheck(this,e),this.title="uds"}return _createClass(e,[{key:"ngOnInit",value:function(){cookieconsent.initialise({palette:{popup:{background:"#343c66",text:"#cfcfe8"},button:{background:"#f71559"}},content:{message:django.gettext("We use cookies to track usage and preferences"),dismiss:django.gettext("I Understand"),link:django.gettext("Learn more")}})}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Xpm({type:e,selectors:[["uds-root"]],decls:6,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(e,t){1&e&&(o._UZ(0,"uds-navbar"),o.TgZ(1,"div",0),o.TgZ(2,"div",1),o._UZ(3,"router-outlet"),o.qZA(),o.TgZ(4,"div",2),o._UZ(5,"uds-footer"),o.qZA(),o.qZA())},directives:[on,E.lC,an],styles:[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:80%;margin:64px auto 0}@media only screen and (max-width:744px){.content[_ngcontent-%COMP%]{width:100%}}"]}),e}(),un=n(3183),ln=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e,bootstrap:[sn]}),e.\u0275inj=o.cJS({providers:[S.n,un.h],imports:[[r.b2,g,x.JF,Bt,Q.PW,Jt]]}),e}();n(2340).N.production&&(0,o.G48)(),r.q6().bootstrapModule(ln).catch(function(e){return console.log(e)})}},function(e){"use strict";e(e.s=1479)}])})(); \ No newline at end of file