modoboa 2.6.4__py3-none-any.whl → 2.7.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- modoboa/admin/api/v2/serializers.py +1 -0
- modoboa/admin/app_settings.py +12 -0
- modoboa/admin/{management/commands/subcommands/_mx.py → dns_checker.py} +41 -111
- modoboa/admin/jobs.py +86 -0
- modoboa/admin/management/commands/modo.py +0 -2
- modoboa/admin/tests/test_mailbox_operations.py +4 -4
- modoboa/admin/tests/test_mx.py +68 -56
- modoboa/amavis/jobs.py +11 -0
- modoboa/amavis/tests/test_jobs.py +18 -0
- modoboa/amavis/tests/test_viewsets.py +2 -3
- modoboa/autoconfig/templates/autoconfig/autoconfig.xml +2 -2
- modoboa/autoconfig/templates/autoconfig/autodiscover.xml +14 -0
- modoboa/autoconfig/tests.py +2 -1
- modoboa/autoconfig/views.py +11 -3
- modoboa/autoreply/models.py +4 -4
- modoboa/calendars/backends/caldav_.py +17 -13
- modoboa/calendars/jobs.py +7 -0
- modoboa/calendars/mocks.py +4 -1
- modoboa/calendars/serializers.py +14 -9
- modoboa/calendars/tests.py +10 -9
- modoboa/calendars/viewsets.py +3 -1
- modoboa/contacts/migrations/0008_addressbook_syncing.py +18 -0
- modoboa/contacts/models.py +1 -0
- modoboa/contacts/serializers.py +5 -2
- modoboa/contacts/tasks.py +9 -3
- modoboa/contacts/tests.py +32 -6
- modoboa/contacts/viewsets.py +7 -1
- modoboa/core/api/v2/serializers.py +0 -7
- modoboa/core/api/v2/tests.py +0 -10
- modoboa/core/app_settings.py +0 -22
- modoboa/core/commands/deploy.py +13 -0
- modoboa/core/commands/templates/cron_config.py.tpl +33 -0
- modoboa/core/commands/templates/settings.py.tpl +21 -0
- modoboa/core/jobs.py +34 -0
- modoboa/core/management/commands/load_initial_data.py +1 -1
- modoboa/core/password_hashers/base.py +4 -1
- modoboa/core/tests/test_core.py +0 -14
- modoboa/core/tests/test_jobs.py +40 -0
- modoboa/frontend_dist/assets/{AccountAliasForm-tLHotdIR.js → AccountAliasForm-DO6DwfjE.js} +1 -1
- modoboa/frontend_dist/assets/{AccountEditView-DnQIIg47.js → AccountEditView-CCuN9mGB.js} +1 -1
- modoboa/frontend_dist/assets/AccountLayout-Ge7fzuZg.js +1 -0
- modoboa/frontend_dist/assets/AccountPasswordSubForm-PkFPblkR.js +1 -0
- modoboa/frontend_dist/assets/AccountView-dgseekZ8.js +1 -0
- modoboa/frontend_dist/assets/AddressBook-DZWOHOJj.js +1 -0
- modoboa/frontend_dist/assets/AdminLayout-itB_mmH_.js +1 -0
- modoboa/frontend_dist/assets/AlarmsView-King6zb6.js +1 -0
- modoboa/frontend_dist/assets/{AliasEditView-n75NEN_s.js → AliasEditView-CTjrXYPf.js} +1 -1
- modoboa/frontend_dist/assets/AliasRecipientForm-CI7bXqVp.js +1 -0
- modoboa/frontend_dist/assets/{AliasView-DFIvPeIm.js → AliasView-BN13MNN_.js} +1 -1
- modoboa/frontend_dist/assets/AuditTrailView-C1jQwgoo.js +1 -0
- modoboa/frontend_dist/assets/CalendarView-juHVIHU5.css +1 -0
- modoboa/frontend_dist/assets/CalendarView-rRSzqxrH.js +1 -0
- modoboa/frontend_dist/assets/ChoiceField-DCr12shR.js +1 -0
- modoboa/frontend_dist/assets/ComposeEmailForm-BmtKwFb1.js +2 -0
- modoboa/frontend_dist/assets/ComposeEmailForm-CVNDl-Mq.css +1 -0
- modoboa/frontend_dist/assets/ComposeEmailView-JW22Phrb.js +1 -0
- modoboa/frontend_dist/assets/ConfirmDialog-CWpdwSQ6.js +1 -0
- modoboa/frontend_dist/assets/ConnectedLayout-BP8pO27H.js +1 -0
- modoboa/frontend_dist/assets/{ConnectedLayout-C6HNXWkp.css → ConnectedLayout-Ddpb_6yT.css} +1 -1
- modoboa/frontend_dist/assets/CreationForm-CzelJsVQ.js +1 -0
- modoboa/frontend_dist/assets/DashboardView-BBkBodVj.js +1 -0
- modoboa/frontend_dist/assets/{DomainAdminList-BjtfbhRj.js → DomainAdminList-DD7p3i6F.js} +1 -1
- modoboa/frontend_dist/assets/{DomainEditView-Cq5Ea4RW.js → DomainEditView-DoIoNYC4.js} +1 -1
- modoboa/frontend_dist/assets/{DomainTransportForm-DAXJGNLA.js → DomainTransportForm-CbiJF9z5.js} +1 -1
- modoboa/frontend_dist/assets/{DomainView-BfpK7U14.js → DomainView-BXvznFYz.js} +3 -3
- modoboa/frontend_dist/assets/DomainsView-ffYjiffp.js +1 -0
- modoboa/frontend_dist/assets/EmailField-KhhJYA4D.js +1 -0
- modoboa/frontend_dist/assets/EmailSchedulingForm-CQL5Vfdr.js +1 -0
- modoboa/frontend_dist/assets/EmailView-Bq2bHZBO.js +1 -0
- modoboa/frontend_dist/assets/EmptyLayout-NrTftp18.js +1 -0
- modoboa/frontend_dist/assets/FiltersView-SOQy0U_3.js +1 -0
- modoboa/frontend_dist/assets/ForwardEmailView-kEPDjWUw.js +1 -0
- modoboa/frontend_dist/assets/{HtmlEditor-D753fIAJ.js → HtmlEditor-CyBl5wj2.js} +15 -15
- modoboa/frontend_dist/assets/IdentitiesView-CZFf4oR9.js +1 -0
- modoboa/frontend_dist/assets/InformationView-CAtneAqM.js +1 -0
- modoboa/frontend_dist/assets/{LoadingData-Tm56XNwj.js → LoadingData-C2txD49L.js} +1 -1
- modoboa/frontend_dist/assets/{LoginCallbackView-DjCHUgz5.js → LoginCallbackView-DAvty3CI.js} +1 -1
- modoboa/frontend_dist/assets/{LoginView-D0r4XBEl.js → LoginView-DHYITkn4.js} +1 -1
- modoboa/frontend_dist/assets/MailboxView-BNg2v7mi.css +1 -0
- modoboa/frontend_dist/assets/MailboxView-DHg5A78D.js +5 -0
- modoboa/frontend_dist/assets/MenuItems-C9p70bSC.js +1 -0
- modoboa/frontend_dist/assets/{MessageView-BWh9BqzS.js → MessageView-CrrEJpNI.js} +1 -1
- modoboa/frontend_dist/assets/MessagesView-CyecRd4I.js +1 -0
- modoboa/frontend_dist/assets/MigrationsView-DXGKKz2h.js +1 -0
- modoboa/frontend_dist/assets/{ParametersForm-y02-GM0r.js → ParametersForm-DFKYkPAs.js} +1 -1
- modoboa/frontend_dist/assets/ParametersView-B1wT5oyt.js +1 -0
- modoboa/frontend_dist/assets/ParametersView-CfvVzKea.js +1 -0
- modoboa/frontend_dist/assets/ProviderEditView-De-8ggBp.js +1 -0
- modoboa/frontend_dist/assets/ProviderGeneralForm-DO-IpJMQ.js +1 -0
- modoboa/frontend_dist/assets/ProvidersView-Bhk7sCz4.js +1 -0
- modoboa/frontend_dist/assets/QuarantineLayout-C1YszNmP.js +1 -0
- modoboa/frontend_dist/assets/QuarantineView-cElD_rS-.js +1 -0
- modoboa/frontend_dist/assets/ReplyEmailView-BvuOZdLl.js +1 -0
- modoboa/frontend_dist/assets/ResourcesForm-FWxrmVwo.js +1 -0
- modoboa/frontend_dist/assets/SelfServiceLayout-JHRvfvQf.js +1 -0
- modoboa/frontend_dist/assets/SettingsView-SIsKAXtQ.css +1 -0
- modoboa/frontend_dist/assets/SettingsView-s2l2Xl1L.js +6 -0
- modoboa/frontend_dist/assets/StatisticsView-FiidWvad.js +1 -0
- modoboa/frontend_dist/assets/TimeSerieChart-CdqUHiO_.js +1 -0
- modoboa/frontend_dist/assets/TimeSerieChart-nLIFGI0y.css +1 -0
- modoboa/frontend_dist/assets/UserLayout-DyvI8duf.js +1 -0
- modoboa/frontend_dist/assets/{VAlert-CNys_LUS.js → VAlert-MDbeolOo.js} +1 -1
- modoboa/frontend_dist/assets/VApp-DM1KLQfQ.js +1 -0
- modoboa/frontend_dist/assets/VAutocomplete-C9NL5_uo.css +1 -0
- modoboa/frontend_dist/assets/VAutocomplete-CQsWYWNX.js +1 -0
- modoboa/frontend_dist/assets/VAvatar-CXV_FqpP.js +1 -0
- modoboa/frontend_dist/assets/VBadge-7tDx7aI3.js +1 -0
- modoboa/frontend_dist/assets/{VCard-BoH6kjPa.js → VCard-CBtX8JF-.js} +1 -1
- modoboa/frontend_dist/assets/VCheckbox-zY1MApOy.js +1 -0
- modoboa/frontend_dist/assets/{VCheckboxBtn-Ccl786Rg.js → VCheckboxBtn-B0mIT3E0.js} +1 -1
- modoboa/frontend_dist/assets/VColorPicker-BbCHvk6K.js +1 -0
- modoboa/frontend_dist/assets/{VColorPicker-B_lVDaYR.css → VColorPicker-C9m8L-6U.css} +1 -1
- modoboa/frontend_dist/assets/{VContainer-DKMcKasC.js → VContainer-Cn-vKB3s.js} +1 -1
- modoboa/frontend_dist/assets/VDataTable-CNT9KOSp.js +1 -0
- modoboa/frontend_dist/assets/VDataTableServer-_yn4Ry6U.js +1 -0
- modoboa/frontend_dist/assets/VDataTableVirtual-Csxh3Gp6.js +1 -0
- modoboa/frontend_dist/assets/VDatePicker-_OUDqShN.css +1 -0
- modoboa/frontend_dist/assets/VDatePicker-iFu13xIP.js +2 -0
- modoboa/frontend_dist/assets/VDialog-lKtBdqnp.js +1 -0
- modoboa/frontend_dist/assets/VExpansionPanels-CaIvk9iF.js +1 -0
- modoboa/frontend_dist/assets/VFileInput-C7J_qVmk.js +1 -0
- modoboa/frontend_dist/assets/VForm-fdQ5d-CH.js +1 -0
- modoboa/frontend_dist/assets/VInput-BwHvhzAe.js +1 -0
- modoboa/frontend_dist/assets/VMenu-BpmJf4X2.js +1 -0
- modoboa/frontend_dist/assets/VMenu-C5A_5Hs5.css +1 -0
- modoboa/frontend_dist/assets/VPicker-B7cB3kJg.css +1 -0
- modoboa/frontend_dist/assets/VPicker-BZho70wU.js +1 -0
- modoboa/frontend_dist/assets/VProgressCircular-DRw_-iNj.js +1 -0
- modoboa/frontend_dist/assets/VRadioGroup--eiP5xtJ.js +1 -0
- modoboa/frontend_dist/assets/{VRow-CuVZGqBj.js → VRow-83Qnr5iB.js} +1 -1
- modoboa/frontend_dist/assets/VSelect-BcmGFGif.js +1 -0
- modoboa/frontend_dist/assets/{VSelectionControl-uKY9Zull.js → VSelectionControl-Cqi1xt-q.js} +1 -1
- modoboa/frontend_dist/assets/VSheet-C3MaHhtw.js +1 -0
- modoboa/frontend_dist/assets/VSpacer-CuSkdJZL.js +1 -0
- modoboa/frontend_dist/assets/VSwitch-XumUl685.js +1 -0
- modoboa/frontend_dist/assets/{VTable-gDsAUSLX.js → VTable-f7wcr2AZ.js} +1 -1
- modoboa/frontend_dist/assets/VTabs-CDfdejXj.css +1 -0
- modoboa/frontend_dist/assets/VTabs-y4wNP4im.js +1 -0
- modoboa/frontend_dist/assets/VTextField-BPIvtrn4.js +1 -0
- modoboa/frontend_dist/assets/VTextField-DjbYGlzs.css +1 -0
- modoboa/frontend_dist/assets/VTextarea-B6bGYcC3.js +1 -0
- modoboa/frontend_dist/assets/VTextarea-f6vTjzFy.css +1 -0
- modoboa/frontend_dist/assets/VToolbar-BYDPtwf0.css +1 -0
- modoboa/frontend_dist/assets/VToolbar-CB6wwtYc.js +1 -0
- modoboa/frontend_dist/assets/VWindowItem-CDtLLEkg.js +1 -0
- modoboa/frontend_dist/assets/WebmailLayout-CQQAolnl.css +1 -0
- modoboa/frontend_dist/assets/WebmailLayout-tosQSHLS.js +1 -0
- modoboa/frontend_dist/assets/{accounts-DqbBlaLK.js → accounts-KUsk6LHW.js} +1 -1
- modoboa/frontend_dist/assets/{admin-D36m_nXq.js → admin-BW9cZW0P.js} +1 -1
- modoboa/frontend_dist/assets/{aliases-BtyF8GC8.js → aliases-Ge0hjIsH.js} +1 -1
- modoboa/frontend_dist/assets/{amavis-DySmsCJQ.js → amavis-BbFeFfsk.js} +1 -1
- modoboa/frontend_dist/assets/{amavis-B4QhM5Fa.js → amavis-DtuzP_CS.js} +1 -1
- modoboa/frontend_dist/assets/{contacts-Df8ptuMn.js → contacts-DMJlQTe0.js} +1 -1
- modoboa/frontend_dist/assets/{domains-CSxtTvUh.js → domains-Du64lcXT.js} +1 -1
- modoboa/frontend_dist/assets/domains.store-1U61jeCV.js +1 -0
- modoboa/frontend_dist/assets/events-BM3in65C.js +1 -0
- modoboa/frontend_dist/assets/filter-Dihm6o59.js +1 -0
- modoboa/frontend_dist/assets/importExport-HGcNGWOm.js +1 -0
- modoboa/frontend_dist/assets/{index-B9q1vO3K.css → index-B1EK3MQe.css} +1 -1
- modoboa/frontend_dist/assets/{index-Bp9Fb67E.js → index-Dv00bmw9.js} +1 -1
- modoboa/frontend_dist/assets/index-jui3edpn.js +1001 -0
- modoboa/frontend_dist/assets/{language.store-_-zrrEiS.js → language.store-OcfdXL_-.js} +1 -1
- modoboa/frontend_dist/assets/languages-CF8hxo7x.js +1 -0
- modoboa/frontend_dist/assets/{layout-CjSP_k58.js → layout-DOO7TRTJ.js} +1 -1
- modoboa/frontend_dist/assets/{layout.store-CF5WRevH.js → layout.store-C0g-piJn.js} +1 -1
- modoboa/frontend_dist/assets/{logos-95XYS6uH.js → logos-Dz2Gzei-.js} +1 -1
- modoboa/frontend_dist/assets/{logs-CyU_PIDh.js → logs-CLm32Weu.js} +1 -1
- modoboa/frontend_dist/assets/{parameters-BxAXBXU1.js → parameters-DMIAQ7cd.js} +1 -1
- modoboa/frontend_dist/assets/{parameters.store-CATOSoQZ.js → parameters.store-DLnFzCwV.js} +1 -1
- modoboa/frontend_dist/assets/{permissions-cSkGqV3M.js → permissions-CrpE0b4w.js} +1 -1
- modoboa/frontend_dist/assets/{ssrBoot-05WtbG6H.js → ssrBoot-B7cr7q9U.js} +1 -1
- modoboa/frontend_dist/assets/{tag-BmV84V2s.js → tag-WF93n81Q.js} +1 -1
- modoboa/frontend_dist/assets/{theme-myV4ekXo.js → theme-_0oOYChG.js} +1 -1
- modoboa/frontend_dist/assets/transports-CS61syt-.js +1 -0
- modoboa/frontend_dist/assets/webmail-CYDXU0DS.js +1 -0
- modoboa/frontend_dist/assets/webmail.store-BvHCQSjM.js +1 -0
- modoboa/frontend_dist/index.html +2 -2
- modoboa/imap_migration/api/v2/serializers.py +13 -0
- modoboa/imap_migration/models.py +3 -3
- modoboa/imap_migration/templates/imap_migration/offlineimap.conf +2 -2
- modoboa/imap_migration/tests.py +28 -0
- modoboa/lib/cryptutils.py +2 -2
- modoboa/lib/sysutils.py +1 -1
- modoboa/lib/tests/__init__.py +0 -1
- modoboa/locale/br/LC_MESSAGES/django.mo +0 -0
- modoboa/locale/br/LC_MESSAGES/django.po +753 -317
- modoboa/locale/cs/LC_MESSAGES/django.po +671 -309
- modoboa/locale/cs_CZ/LC_MESSAGES/django.mo +0 -0
- modoboa/locale/cs_CZ/LC_MESSAGES/django.po +801 -378
- modoboa/locale/de/LC_MESSAGES/django.mo +0 -0
- modoboa/locale/de/LC_MESSAGES/django.po +1116 -455
- modoboa/locale/de_DE/LC_MESSAGES/django.mo +0 -0
- modoboa/locale/de_DE/LC_MESSAGES/django.po +745 -318
- modoboa/locale/el_GR/LC_MESSAGES/django.mo +0 -0
- modoboa/locale/el_GR/LC_MESSAGES/django.po +825 -393
- modoboa/locale/en/LC_MESSAGES/django.po +669 -309
- modoboa/locale/es/LC_MESSAGES/django.mo +0 -0
- modoboa/locale/es/LC_MESSAGES/django.po +810 -390
- modoboa/locale/es_MX/LC_MESSAGES/django.po +669 -309
- modoboa/locale/fi/LC_MESSAGES/django.mo +0 -0
- modoboa/locale/fi/LC_MESSAGES/django.po +756 -316
- modoboa/locale/fr/LC_MESSAGES/django.mo +0 -0
- modoboa/locale/fr/LC_MESSAGES/django.po +674 -313
- modoboa/locale/hu/LC_MESSAGES/django.po +669 -309
- modoboa/locale/it/LC_MESSAGES/django.mo +0 -0
- modoboa/locale/it/LC_MESSAGES/django.po +807 -380
- modoboa/locale/ja_JP/LC_MESSAGES/django.mo +0 -0
- modoboa/locale/ja_JP/LC_MESSAGES/django.po +951 -419
- modoboa/locale/ka/LC_MESSAGES/django.po +669 -309
- modoboa/locale/nl_NL/LC_MESSAGES/django.mo +0 -0
- modoboa/locale/nl_NL/LC_MESSAGES/django.po +807 -387
- modoboa/locale/no/LC_MESSAGES/django.po +669 -309
- modoboa/locale/pl_PL/LC_MESSAGES/django.mo +0 -0
- modoboa/locale/pl_PL/LC_MESSAGES/django.po +826 -396
- modoboa/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- modoboa/locale/pt_BR/LC_MESSAGES/django.po +830 -392
- modoboa/locale/pt_PT/LC_MESSAGES/django.mo +0 -0
- modoboa/locale/pt_PT/LC_MESSAGES/django.po +788 -371
- modoboa/locale/ro_RO/LC_MESSAGES/django.mo +0 -0
- modoboa/locale/ro_RO/LC_MESSAGES/django.po +763 -316
- modoboa/locale/ru/LC_MESSAGES/django.mo +0 -0
- modoboa/locale/ru/LC_MESSAGES/django.po +1336 -1046
- modoboa/locale/si/LC_MESSAGES/django.po +669 -309
- modoboa/locale/sk/LC_MESSAGES/django.po +671 -309
- modoboa/locale/sk_SK/LC_MESSAGES/django.po +671 -309
- modoboa/locale/sl_SI/LC_MESSAGES/django.po +695 -315
- modoboa/locale/sv/LC_MESSAGES/django.mo +0 -0
- modoboa/locale/sv/LC_MESSAGES/django.po +819 -387
- modoboa/locale/tr/LC_MESSAGES/django.mo +0 -0
- modoboa/locale/tr/LC_MESSAGES/django.po +737 -315
- modoboa/locale/tr_TR/LC_MESSAGES/django.mo +0 -0
- modoboa/locale/tr_TR/LC_MESSAGES/django.po +711 -310
- modoboa/locale/uk/LC_MESSAGES/django.po +671 -309
- modoboa/locale/zh/LC_MESSAGES/django.po +668 -309
- modoboa/locale/zh_CN/LC_MESSAGES/django.po +668 -309
- modoboa/locale/zh_TW/LC_MESSAGES/django.mo +0 -0
- modoboa/locale/zh_TW/LC_MESSAGES/django.po +747 -316
- modoboa/maillog/jobs.py +11 -0
- modoboa/maillog/tests/test_views.py +5 -4
- modoboa/parameters/api/v2/tests.py +1 -1
- modoboa/policyd/management/commands/policy_daemon.py +5 -1
- modoboa/policyd/tests.py +4 -2
- modoboa/rspamd/tests.py +20 -0
- modoboa/templates/registration/twofactor_code_verify.html +1 -1
- modoboa/webmail/app_settings.py +37 -0
- modoboa/webmail/constants.py +21 -1
- modoboa/webmail/factories.py +19 -0
- modoboa/webmail/jobs.py +27 -0
- modoboa/webmail/lib/__init__.py +0 -2
- modoboa/webmail/lib/imapemail.py +9 -11
- modoboa/webmail/lib/imapheader.py +25 -13
- modoboa/webmail/lib/imaputils.py +51 -13
- modoboa/webmail/lib/sendmail.py +88 -105
- modoboa/webmail/lib/utils.py +109 -0
- modoboa/webmail/migrations/0001_initial.py +90 -0
- modoboa/webmail/migrations/__init__.py +0 -0
- modoboa/webmail/mocks.py +12 -3
- modoboa/webmail/models.py +102 -0
- modoboa/webmail/serializers.py +84 -4
- modoboa/webmail/tests/data.py +21 -0
- modoboa/webmail/tests/test_lib_imaputils.py +33 -0
- modoboa/webmail/tests/test_viewsets.py +108 -0
- modoboa/webmail/urls.py +5 -0
- modoboa/webmail/viewsets.py +39 -9
- {modoboa-2.6.4.dist-info → modoboa-2.7.0.dist-info}/METADATA +16 -13
- {modoboa-2.6.4.dist-info → modoboa-2.7.0.dist-info}/RECORD +271 -254
- {modoboa-2.6.4.dist-info → modoboa-2.7.0.dist-info}/WHEEL +1 -1
- modoboa/admin/management/commands/handle_mailbox_operations.py +0 -103
- modoboa/core/management/commands/cleanlogs.py +0 -53
- modoboa/frontend_dist/assets/AccountLayout-B2HptJzY.js +0 -1
- modoboa/frontend_dist/assets/AccountPasswordSubForm-DpADntAL.js +0 -1
- modoboa/frontend_dist/assets/AccountView-CJBGh9Oe.js +0 -1
- modoboa/frontend_dist/assets/AddressBook-CrFqzlzZ.js +0 -1
- modoboa/frontend_dist/assets/AdminLayout-BbCt7YxX.js +0 -1
- modoboa/frontend_dist/assets/AlarmsView-CIlt_IKQ.js +0 -1
- modoboa/frontend_dist/assets/AliasRecipientForm-jjj5yJJw.js +0 -1
- modoboa/frontend_dist/assets/AuditTrailView-sWnED3E9.js +0 -1
- modoboa/frontend_dist/assets/CalendarView-DSCBIvef.js +0 -1
- modoboa/frontend_dist/assets/ChoiceField-RDT6XcnX.js +0 -1
- modoboa/frontend_dist/assets/ComposeEmailForm-D3yUbBJX.css +0 -1
- modoboa/frontend_dist/assets/ComposeEmailForm-G3sXQAwI.js +0 -1
- modoboa/frontend_dist/assets/ComposeEmailView-Ce1CtFjD.js +0 -1
- modoboa/frontend_dist/assets/ConfirmDialog-Du7aqKbR.js +0 -1
- modoboa/frontend_dist/assets/ConnectedLayout-BHWaBAzH.js +0 -1
- modoboa/frontend_dist/assets/CreationForm-CjtILq0_.js +0 -1
- modoboa/frontend_dist/assets/DashboardView-DFNwusDZ.js +0 -1
- modoboa/frontend_dist/assets/DomainsView-CYxLy-3Y.js +0 -1
- modoboa/frontend_dist/assets/EmailField-DmPc4pyP.js +0 -1
- modoboa/frontend_dist/assets/EmailView-BE3vYZtJ.js +0 -1
- modoboa/frontend_dist/assets/EmptyLayout-DMwKNHfI.js +0 -1
- modoboa/frontend_dist/assets/FiltersView-Dps3_fAh.js +0 -1
- modoboa/frontend_dist/assets/ForwardEmailView-C0I00eXf.js +0 -1
- modoboa/frontend_dist/assets/IdentitiesView-CoGBVhZx.js +0 -1
- modoboa/frontend_dist/assets/InformationView-eB2ayeLD.js +0 -1
- modoboa/frontend_dist/assets/MailboxView-DIVABvk5.css +0 -1
- modoboa/frontend_dist/assets/MailboxView-DNokO2WZ.js +0 -5
- modoboa/frontend_dist/assets/MenuItems-dl38msRA.js +0 -1
- modoboa/frontend_dist/assets/MessagesView-BZ7NUOwo.js +0 -1
- modoboa/frontend_dist/assets/MigrationsView-DcOVgmcH.js +0 -1
- modoboa/frontend_dist/assets/ParametersView-B6abt-LH.js +0 -1
- modoboa/frontend_dist/assets/ParametersView-v0YS6WU4.js +0 -1
- modoboa/frontend_dist/assets/ProviderEditView-BaL9mKxJ.js +0 -1
- modoboa/frontend_dist/assets/ProviderGeneralForm-eoHMDO5v.js +0 -1
- modoboa/frontend_dist/assets/ProvidersView-Zu-G35u7.js +0 -1
- modoboa/frontend_dist/assets/QuarantineLayout-BHiiksnP.js +0 -1
- modoboa/frontend_dist/assets/QuarantineView-BOXSobRz.js +0 -1
- modoboa/frontend_dist/assets/ReplyEmailView-JmSiNWPy.js +0 -1
- modoboa/frontend_dist/assets/ResourcesForm-D0YBapCG.js +0 -1
- modoboa/frontend_dist/assets/SelfServiceLayout-DUmQzUDk.js +0 -1
- modoboa/frontend_dist/assets/SettingsView-DIvKGRBY.css +0 -1
- modoboa/frontend_dist/assets/SettingsView-DMuaKagM.js +0 -6
- modoboa/frontend_dist/assets/StatisticsView-CyY_CNcI.js +0 -1
- modoboa/frontend_dist/assets/TimeSerieChart-BTDBH33K.js +0 -1
- modoboa/frontend_dist/assets/TimeSerieChart-C3XHmlRd.css +0 -1
- modoboa/frontend_dist/assets/UserLayout-DwxcQr4L.js +0 -1
- modoboa/frontend_dist/assets/VApp-B0vRc3-6.js +0 -1
- modoboa/frontend_dist/assets/VAutocomplete-Huaz_-hf.js +0 -1
- modoboa/frontend_dist/assets/VAutocomplete-hzGuLlUI.css +0 -1
- modoboa/frontend_dist/assets/VAvatar-JdJfoK0C.js +0 -1
- modoboa/frontend_dist/assets/VBadge-Cg5iu5LG.js +0 -1
- modoboa/frontend_dist/assets/VCheckbox-CCLOJFKF.js +0 -1
- modoboa/frontend_dist/assets/VColorPicker-452uc3tY.js +0 -1
- modoboa/frontend_dist/assets/VDataTable-BkLLfcQK.js +0 -1
- modoboa/frontend_dist/assets/VDataTableServer-B_6fWBA3.js +0 -1
- modoboa/frontend_dist/assets/VDataTableVirtual-Ike7oqcC.js +0 -1
- modoboa/frontend_dist/assets/VDialog-DIUeAIpw.js +0 -1
- modoboa/frontend_dist/assets/VExpansionPanels-BeMgiS7A.js +0 -1
- modoboa/frontend_dist/assets/VFileInput-Dvj95FL5.js +0 -1
- modoboa/frontend_dist/assets/VForm-DkphQD3e.js +0 -1
- modoboa/frontend_dist/assets/VInput-CbqehdOu.js +0 -1
- modoboa/frontend_dist/assets/VMenu-B6SCtOwT.js +0 -1
- modoboa/frontend_dist/assets/VMenu-BEipA1lw.css +0 -1
- modoboa/frontend_dist/assets/VPicker-BUx70Wjg.js +0 -1
- modoboa/frontend_dist/assets/VPicker-ClSXs6kv.css +0 -1
- modoboa/frontend_dist/assets/VProgressCircular-DTDGzl2O.js +0 -1
- modoboa/frontend_dist/assets/VRadioGroup-CS9ULZ1c.js +0 -1
- modoboa/frontend_dist/assets/VSelect-D5IXDPEX.js +0 -1
- modoboa/frontend_dist/assets/VSheet-HeHw6g5_.js +0 -1
- modoboa/frontend_dist/assets/VSpacer-BUxSSJbH.js +0 -1
- modoboa/frontend_dist/assets/VSwitch-Dh_dserW.js +0 -1
- modoboa/frontend_dist/assets/VTabs-5XSICLQP.js +0 -1
- modoboa/frontend_dist/assets/VTabs-NzpINroH.css +0 -1
- modoboa/frontend_dist/assets/VTextField-Cow3HZvI.css +0 -1
- modoboa/frontend_dist/assets/VTextField-QXQFhKxm.js +0 -1
- modoboa/frontend_dist/assets/VTextarea-Bdy4UKmV.js +0 -1
- modoboa/frontend_dist/assets/VTextarea-DyGjqrlm.css +0 -1
- modoboa/frontend_dist/assets/VToolbar-CB2GrZpA.css +0 -1
- modoboa/frontend_dist/assets/VToolbar-CyrYSqJZ.js +0 -1
- modoboa/frontend_dist/assets/VWindowItem-kZpArwK1.js +0 -1
- modoboa/frontend_dist/assets/WebmailLayout-BzW0LWYp.css +0 -1
- modoboa/frontend_dist/assets/WebmailLayout-CNUHODnw.js +0 -1
- modoboa/frontend_dist/assets/domains.store-D4ZqCQ-O.js +0 -1
- modoboa/frontend_dist/assets/filter-DHKXX97M.js +0 -1
- modoboa/frontend_dist/assets/global.store-DYMmGKpn.js +0 -1
- modoboa/frontend_dist/assets/importExport-C-adpHJX.js +0 -1
- modoboa/frontend_dist/assets/index-B1bntsLR.js +0 -995
- modoboa/frontend_dist/assets/languages-CxjoT69j.js +0 -1
- modoboa/frontend_dist/assets/transports-ChdHV5hX.js +0 -1
- modoboa/frontend_dist/assets/webmail-B7MNMkv_.js +0 -1
- modoboa/frontend_dist/assets/webmail.store-Cm-h6hhE.js +0 -1
- {modoboa-2.6.4.data → modoboa-2.7.0.data}/scripts/modoboa-admin.py +0 -0
- {modoboa-2.6.4.dist-info → modoboa-2.7.0.dist-info}/entry_points.txt +0 -0
- {modoboa-2.6.4.dist-info → modoboa-2.7.0.dist-info}/licenses/LICENSE +0 -0
- {modoboa-2.6.4.dist-info → modoboa-2.7.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,1001 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/EmptyLayout-NrTftp18.js","assets/VApp-DM1KLQfQ.js","assets/tag-WF93n81Q.js","assets/layout-DOO7TRTJ.js","assets/ssrBoot-B7cr7q9U.js","assets/VApp-C9NK-Gu6.css","assets/LoginView-DHYITkn4.js","assets/VRow-83Qnr5iB.js","assets/VGrid-GYROgRMo.css","assets/VProgressCircular-DRw_-iNj.js","assets/VProgressCircular-C6u34DRJ.css","assets/VContainer-Cn-vKB3s.js","assets/LoginCallbackView-DAvty3CI.js","assets/theme-_0oOYChG.js","assets/AdminLayout-itB_mmH_.js","assets/parameters-DMIAQ7cd.js","assets/ConnectedLayout-BP8pO27H.js","assets/logos-Dz2Gzei-.js","assets/layout.store-C0g-piJn.js","assets/VAvatar-CXV_FqpP.js","assets/VAvatar-BPhnln71.css","assets/VMenu-BpmJf4X2.js","assets/VMenu-C5A_5Hs5.css","assets/VBadge-7tDx7aI3.js","assets/VBadge-Bqx6XeRo.css","assets/VCard-CBtX8JF-.js","assets/VCard-BdSLQNRY.css","assets/VSheet-C3MaHhtw.js","assets/VSheet-B07QgQE8.css","assets/ConnectedLayout-Ddpb_6yT.css","assets/parameters.store-DLnFzCwV.js","assets/DashboardView-BBkBodVj.js","assets/admin-BW9cZW0P.js","assets/VTable-f7wcr2AZ.js","assets/VTable-BsI6FsWH.css","assets/VDataTable-CNT9KOSp.js","assets/VSelect-BcmGFGif.js","assets/VInput-BwHvhzAe.js","assets/VInput-CcxkaOXT.css","assets/VTextField-BPIvtrn4.js","assets/VTextField-DjbYGlzs.css","assets/VCheckboxBtn-B0mIT3E0.js","assets/VSelectionControl-Cqi1xt-q.js","assets/VSelectionControl-CIeJsqfW.css","assets/VSelect-DQzySRN1.css","assets/events-BM3in65C.js","assets/filter-Dihm6o59.js","assets/VDataTable-CLcLRj9B.css","assets/VToolbar-CB6wwtYc.js","assets/VToolbar-BYDPtwf0.css","assets/DashboardView-gwwVAPvt.css","assets/DomainsView-ffYjiffp.js","assets/domains-Du64lcXT.js","assets/permissions-CrpE0b4w.js","assets/index-Dv00bmw9.js","assets/VForm-fdQ5d-CH.js","assets/VAutocomplete-CQsWYWNX.js","assets/VAutocomplete-C9NL5_uo.css","assets/VSwitch-XumUl685.js","assets/VSwitch-C6REVr_Y.css","assets/VSpacer-CuSkdJZL.js","assets/CreationForm-CzelJsVQ.js","assets/ConfirmDialog-CWpdwSQ6.js","assets/VDialog-lKtBdqnp.js","assets/VDialog-DwTSAOeg.css","assets/VWindowItem-CDtLLEkg.js","assets/VWindowItem-DqNaT6b1.css","assets/CreationForm-NOzzyspA.css","assets/DomainTransportForm-CbiJF9z5.js","assets/ChoiceField-DCr12shR.js","assets/ChoiceField-D2BiBorq.css","assets/transports-CS61syt-.js","assets/VCheckbox-zY1MApOy.js","assets/VCheckbox-CvH8ekHL.css","assets/AccountPasswordSubForm-PkFPblkR.js","assets/accounts-KUsk6LHW.js","assets/VAlert-MDbeolOo.js","assets/VAlert-Bkuw9MFB.css","assets/DomainAdminList-DD7p3i6F.js","assets/VDataTableVirtual-Csxh3Gp6.js","assets/MenuItems-C9p70bSC.js","assets/VDataTableServer-_yn4Ry6U.js","assets/importExport-HGcNGWOm.js","assets/VFileInput-C7J_qVmk.js","assets/VFileInput-Dwzvf-gD.css","assets/DomainsView-WlF6IHNs.css","assets/DomainView-BXvznFYz.js","assets/colors-DoZdCu1D.js","assets/VExpansionPanels-CaIvk9iF.js","assets/VExpansionPanels-Dyw0hWW-.css","assets/VRadioGroup--eiP5xtJ.js","assets/VRadioGroup-Cp9mZ7cb.css","assets/amavis-DtuzP_CS.js","assets/LoadingData-C2txD49L.js","assets/ResourcesForm-FWxrmVwo.js","assets/TimeSerieChart-CdqUHiO_.js","assets/VDatePicker-iFu13xIP.js","assets/VPicker-BZho70wU.js","assets/VPicker-B7cB3kJg.css","assets/VDatePicker-_OUDqShN.css","assets/TimeSerieChart-nLIFGI0y.css","assets/VTabs-y4wNP4im.js","assets/VTabs-CDfdejXj.css","assets/DomainView-CCLYXPHx.css","assets/DomainEditView-DoIoNYC4.js","assets/domains.store-1U61jeCV.js","assets/DomainEditView-CA90-K2a.css","assets/MigrationsView-DXGKKz2h.js","assets/MigrationsView--E1YzUUh.css","assets/ProvidersView-Bhk7sCz4.js","assets/ProviderGeneralForm-DO-IpJMQ.js","assets/ProviderGeneralForm-DU1OrxZe.css","assets/ProvidersView-DE17nfOl.css","assets/ProviderEditView-De-8ggBp.js","assets/IdentitiesView-CZFf4oR9.js","assets/aliases-Ge0hjIsH.js","assets/AliasRecipientForm-CI7bXqVp.js","assets/EmailField-KhhJYA4D.js","assets/EmailField-DdJb059h.css","assets/VTextarea-B6bGYcC3.js","assets/VTextarea-f6vTjzFy.css","assets/AccountAliasForm-DO6DwfjE.js","assets/AccountAliasForm-DChJEu0C.css","assets/IdentitiesView-C93He_db.css","assets/AccountView-dgseekZ8.js","assets/language.store-OcfdXL_-.js","assets/languages-CF8hxo7x.js","assets/AccountView-BJzPTPbV.css","assets/AccountEditView-CCuN9mGB.js","assets/AccountEditView-DLE8e_xz.css","assets/AliasView-BN13MNN_.js","assets/AliasView-DD9e67NS.css","assets/AliasEditView-CTjrXYPf.js","assets/AliasEditView-CYDSiX8l.css","assets/ParametersView-CfvVzKea.js","assets/ParametersForm-DFKYkPAs.js","assets/HtmlEditor-CyBl5wj2.js","assets/HtmlEditor-girA1Pzv.css","assets/VColorPicker-BbCHvk6K.js","assets/VColorPicker-C9m8L-6U.css","assets/ParametersForm-t6-3GMDS.css","assets/ParametersView-BcyDgfqX.css","assets/AlarmsView-King6zb6.js","assets/AlarmsView-Dal0VD8U.css","assets/StatisticsView-FiidWvad.js","assets/StatisticsView-DtNkgGdm.css","assets/AuditTrailView-C1jQwgoo.js","assets/logs-CLm32Weu.js","assets/AuditTrailView-epmsGz6G.css","assets/MessagesView-CyecRd4I.js","assets/MessagesView-Bg8UAJJG.css","assets/InformationView-CAtneAqM.js","assets/InformationView-C9vvvQhJ.css","assets/AccountLayout-Ge7fzuZg.js","assets/FiltersView-SOQy0U_3.js","assets/ParametersView-B1wT5oyt.js","assets/ParametersView-Bwo4l7jC.css","assets/SettingsView-s2l2Xl1L.js","assets/SettingsView-SIsKAXtQ.css","assets/UserLayout-DyvI8duf.js","assets/AddressBook-DZWOHOJj.js","assets/contacts-DMJlQTe0.js","assets/CalendarView-rRSzqxrH.js","assets/CalendarView-juHVIHU5.css","assets/WebmailLayout-tosQSHLS.js","assets/webmail-CYDXU0DS.js","assets/webmail.store-BvHCQSjM.js","assets/WebmailLayout-CQQAolnl.css","assets/MailboxView-DHg5A78D.js","assets/EmailSchedulingForm-CQL5Vfdr.js","assets/MailboxView-BNg2v7mi.css","assets/EmailView-Bq2bHZBO.js","assets/EmailView-DCAPX4Dw.css","assets/ComposeEmailView-JW22Phrb.js","assets/ComposeEmailForm-BmtKwFb1.js","assets/ComposeEmailForm-CVNDl-Mq.css","assets/ReplyEmailView-BvuOZdLl.js","assets/ForwardEmailView-kEPDjWUw.js","assets/QuarantineLayout-C1YszNmP.js","assets/QuarantineView-cElD_rS-.js","assets/amavis-BbFeFfsk.js","assets/QuarantineView-D4gOE4EQ.css","assets/MessageView-CrrEJpNI.js","assets/SelfServiceLayout-JHRvfvQf.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))a(s);new MutationObserver(s=>{for(const r of s)if(r.type==="childList")for(const n of r.addedNodes)n.tagName==="LINK"&&n.rel==="modulepreload"&&a(n)}).observe(document,{childList:!0,subtree:!0});function t(s){const r={};return s.integrity&&(r.integrity=s.integrity),s.referrerPolicy&&(r.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?r.credentials="include":s.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function a(s){if(s.ep)return;s.ep=!0;const r=t(s);fetch(s.href,r)}})();const Hx={badge:"Odznak",open:"Otevřít",close:"Zavřít",dismiss:"Zavřít",confirmEdit:{ok:"OK",cancel:"Zrušit"},dataIterator:{noResultsText:"Nenalezeny žádné záznamy",loadingText:"Načítám položky..."},dataTable:{itemsPerPageText:"Řádků na stránku:",ariaLabel:{sortDescending:"Řazeno sestupně.",sortAscending:"Řazeno vzestupně.",sortNone:"Neseřazeno.",activateNone:"Aktivováním vypnete řazení.",activateDescending:"Aktivováním se bude řadit sestupně.",activateAscending:"Aktivováním se bude řadit vzestupně."},sortBy:"Řadit dle"},dataFooter:{itemsPerPageText:"Položek na stránku:",itemsPerPageAll:"Vše",nextPage:"Další strana",prevPage:"Předchozí strana",firstPage:"První strana",lastPage:"Poslední strana",pageText:"{0}-{1} z {2}"},dateRangeInput:{divider:"do"},datePicker:{itemsSelected:"{0} vybráno",range:{title:"Vyberte datumy",header:"Zadejte datumy"},title:"Vyberte datum",header:"Zadejte datum",input:{placeholder:"Zadejte datum"},ariaLabel:{previousMonth:"Předchozí měsíc",nextMonth:"Další měsíc",selectYear:"Vyberte rok",previousYear:"Předchozí rok",nextYear:"Další rok",selectMonth:"Vyberte měsíc",selectDate:"{0}",currentDate:"Dnes, {0}"}},noDataText:"Nejsou dostupná žádná data",carousel:{prev:"Předchozí obrázek",next:"Další obrázek",ariaLabel:{delimiter:"Obrázek {0} z {1}"}},calendar:{moreEvents:"{0} dalších",today:"Dnes"},input:{clear:"Vymazat {0}",prependAction:"{0} předřazená akce",appendAction:"{0} připojená akce",otp:"Vložte OTP znak {0}"},fileInput:{counter:"{0} souborů",counterSize:"{0} souborů ({1} celkem)"},fileUpload:{title:"Přetáhněte soubory sem",divider:"nebo",browse:"Procházet soubory"},timePicker:{am:"Dopoledne",pm:"Odpoledne",title:"Vyberte čas",hour:"Hodina",minute:"Minuty",second:"Sekundy"},pagination:{ariaLabel:{root:"Navigace po stránkách",next:"Další strana",previous:"Předchozí strana",page:"Přejít na stránku {0}",currentPage:"Aktuální stránka, stránka {0}",first:"První stránka",last:"Poslední stránka"}},stepper:{next:"Další",prev:"Předchozí"},rating:{ariaLabel:{item:"Hodnocení {0} z {1}"}},loading:"Načítám...",infiniteScroll:{loadMore:"Načíst více",empty:"Žádné další"},rules:{required:"Toto pole je povinné",email:"Zadejte platný e-mail",number:"Toto pole může obsahovat pouze čísla",integer:"Toto pole může obsahovat pouze celá čísla",capital:"Toto pole může obsahovat pouze velká písmena",maxLength:"Musíte zadat maximálně {0} znaků",minLength:"Musíte zadat minimálně {0} znaků",strictLength:"Délka zadaného pole je neplatná",exclude:"Znak {0} není povolen",notEmpty:"Vyberte alespoň jednu hodnotu",pattern:"Neplatný formát"},hotkey:{then:"poté",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Enter",escape:"Escape",upArrow:"Šipka nahoru",downArrow:"Šipka dolů",leftArrow:"Šipka vlevo",rightArrow:"Šipka vpravo",backspace:"Backspace",space:"Mezerník",plus:"plus",shortcut:"Klávesová zkratka: {0}",or:"nebo"},video:{play:"Přehrát",pause:"Pozastavit",seek:"Vyhledat",volume:"Hlasitost",showVolume:"Zobrazit ovládání hlasitosti",mute:"Ztlumit",unmute:"Zrušit ztlumení",enterFullscreen:"Celá obrazovka",exitFullscreen:"Ukončit celou obrazovku"},colorPicker:{ariaLabel:{eyedropper:"Vybrat barvu z obrazovky",hueSlider:"Odstín",alphaSlider:"Alfa",redInput:"Červená",greenInput:"Zelená",blueInput:"Modrá",alphaInput:"Alfa",hueInput:"Odstín",saturationInput:"Sytost",lightnessInput:"Světlost",hexInput:"HEX hodnota",hexaInput:"HEX s alfa hodnotou",changeFormat:"Změnit formát barvy"}}},Wx={badge:"Abzeichen",open:"Öffnen",close:"Schließen",dismiss:"Verwerfen",confirmEdit:{ok:"OK",cancel:"Abbrechen"},dataIterator:{noResultsText:"Keine Elemente gefunden",loadingText:"Lade Elemente..."},dataTable:{itemsPerPageText:"Zeilen pro Seite:",ariaLabel:{sortDescending:"Absteigend sortiert.",sortAscending:"Aufsteigend sortiert.",sortNone:"Nicht sortiert.",activateNone:"Aktivieren um Sortierung zu entfernen.",activateDescending:"Aktivieren um absteigend zu sortieren.",activateAscending:"Aktivieren um aufsteigend zu sortieren."},sortBy:"Sortiere nach"},dataFooter:{itemsPerPageText:"Elemente pro Seite:",itemsPerPageAll:"Alle",nextPage:"Nächste Seite",prevPage:"Vorherige Seite",firstPage:"Erste Seite",lastPage:"Letzte Seite",pageText:"{0}-{1} von {2}"},dateRangeInput:{divider:"bis"},datePicker:{itemsSelected:"{0} ausgewählt",range:{title:"Daten auswählen",header:"Daten eingeben"},title:"Datum auswählen",header:"Datum eingeben",input:{placeholder:"Datum eingeben"},ariaLabel:{previousMonth:"Vorheriger Monat",nextMonth:"Nächster Monat",selectYear:"Jahr auswählen",previousYear:"Vorheriges Jahr",nextYear:"Nächstes Jahr",selectMonth:"Monat auswählen",selectDate:"{0}",currentDate:"Heute, {0}"}},noDataText:"Keine Daten vorhanden",carousel:{prev:"Vorheriges Bild",next:"Nächstes Bild",ariaLabel:{delimiter:"Element {0} von {1}"}},calendar:{moreEvents:"{0} mehr",today:"Heute"},input:{clear:"{0} leeren",prependAction:"{0} vorangestellte Aktion",appendAction:"{0} angehängte Aktion",otp:"Bitte OTP-Zeichen {0} eingeben"},fileInput:{counter:"{0} Dateien",counterSize:"{0} Dateien ({1} gesamt)"},fileUpload:{title:"Datei hier ablegen",divider:"oder",browse:"Dateien durchsuchen"},timePicker:{am:"AM",pm:"PM",title:"Uhrzeit auswählen",hour:"Stunde",minute:"Minuten",second:"Sekunden"},pagination:{ariaLabel:{root:"Seitennavigation",next:"Nächste Seite",previous:"Vorherige Seite",page:"Gehe zu Seite {0}",currentPage:"Aktuelle Seite, Seite {0}",first:"Erste Seite",last:"Letzte Seite"}},stepper:{next:"Weiter",prev:"Zurück"},rating:{ariaLabel:{item:"Bewertung {0} von {1}"}},loading:"Laden...",infiniteScroll:{loadMore:"Mehr laden",empty:"Nichts weiteres"},rules:{required:"Dieses Feld ist erforderlich",email:"Bitte geben Sie eine gültige E-Mail-Adresse ein",number:"Dieses Feld darf nur Zahlen enthalten",integer:"Dieses Feld darf nur Ganzzahlen enthalten",capital:"Dieses Feld darf nur Großbuchstaben enthalten",maxLength:"Sie dürfen maximal {0} Zeichen eingeben",minLength:"Sie müssen mindestens {0} Zeichen eingeben",strictLength:"Die Länge des eingegebenen Feldes ist ungültig",exclude:"Das Zeichen {0} ist nicht erlaubt",notEmpty:"Bitte wählen Sie mindestens einen Wert aus",pattern:"Ungültiges Format"},hotkey:{then:"dann",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Eingabe",escape:"Escape",upArrow:"Pfeil nach oben",downArrow:"Pfeil nach unten",leftArrow:"Pfeil nach links",rightArrow:"Pfeil nach rechts",backspace:"Rücktaste",space:"Leertaste",plus:"plus",shortcut:"Tastenkürzel: {0}",or:"oder"},video:{play:"Abspielen",pause:"Pause",seek:"Suchen",volume:"Lautstärke",showVolume:"Lautstärkeregler anzeigen",mute:"Stummschalten",unmute:"Stummschaltung aufheben",enterFullscreen:"Vollbild",exitFullscreen:"Vollbild beenden"},colorPicker:{ariaLabel:{eyedropper:"Farbe vom Bildschirm auswählen",hueSlider:"Farbton",alphaSlider:"Transparenz",redInput:"Rot",greenInput:"Grün",blueInput:"Blau",alphaInput:"Transparenz",hueInput:"Farbton",saturationInput:"Sättigung",lightnessInput:"Helligkeit",hexInput:"HEX-Wert",hexaInput:"HEX-Wert mit Transparenz",changeFormat:"Farbformat ändern"}}},jx={badge:"Σήμα",open:"Άνοιγμα",close:"Κλείσιμο",dismiss:"Απόρριψη",confirmEdit:{ok:"OK",cancel:"Ακύρωση"},dataIterator:{noResultsText:"Δε βρέθηκαν αποτελέσματα",loadingText:"Φόρτωση αντικειμένου..."},dataTable:{itemsPerPageText:"Γραμμές ανά σελίδα:",ariaLabel:{sortDescending:"Ταξινομημένο φθίνουσα.",sortAscending:"Ταξινομημένο αύξουσα.",sortNone:"Χωρίς ταξινόμηση.",activateNone:"Ενεργοποιήστε για να καταργήσετε την ταξινόμηση.",activateDescending:"Ενεργοποιήστε για φθίνουσα ταξινόμηση.",activateAscending:"Ενεργοποιήστε για αύξουσα ταξινόμηση."},sortBy:"Ταξινόμηση κατά"},dataFooter:{itemsPerPageText:"Αντικείμενα ανά σελίδα:",itemsPerPageAll:"Όλα",nextPage:"Επόμενη σελίδα",prevPage:"Προηγούμενη σελίδα",firstPage:"Πρώτη σελίδα",lastPage:"Τελευταία σελίδα",pageText:"{0}-{1} από {2}"},dateRangeInput:{divider:"έως"},datePicker:{itemsSelected:"{0} επιλεγμένα",range:{title:"Επιλέξτε ημερομηνίες",header:"Εισαγάγετε ημερομηνίες"},title:"Επιλέξτε ημερομηνία",header:"Εισαγάγετε ημερομηνία",input:{placeholder:"Εισαγάγετε ημερομηνία"},ariaLabel:{previousMonth:"Προηγούμενος μήνας",nextMonth:"Επόμενος μήνας",selectYear:"Επιλέξτε έτος",previousYear:"Προηγούμενο έτος",nextYear:"Επόμενο έτος",selectMonth:"Επιλέξτε μήνα",selectDate:"{0}",currentDate:"Σήμερα, {0}"}},noDataText:"Χωρίς δεδομένα",carousel:{prev:"הקודם חזותי",next:"הבא חזותי",ariaLabel:{delimiter:"Διαφάνεια καρουζέλ {0} από {1}"}},calendar:{moreEvents:"{0} ακόμη",today:"Σήμερα"},input:{clear:"Καθαρισμός {0}",prependAction:"{0} προσαρτημένη ενέργεια",appendAction:"{0} επισυναπτόμενη ενέργεια",otp:"Παρακαλώ εισαγάγετε χαρακτήρα OTP {0}"},fileInput:{counter:"{0} αρχεία",counterSize:"{0} αρχεία ({1} συνολικά)"},fileUpload:{title:"Σύρετε και αποθέστε αρχεία εδώ",divider:"ή",browse:"Αναζήτηση αρχείων"},timePicker:{am:"ΠΜ",pm:"ΜΜ",title:"Επιλέξτε ώρα",hour:"Ώρα",minute:"Λεπτά",second:"Δευτερόλεπτα"},pagination:{ariaLabel:{root:"Πλοήγηση με προορισμούς",next:"Επόμενη σελίδα",previous:"Προηγούμενη σελίδα",page:"Πήγαινε στην σελίδα {0}",currentPage:"Τρέχουσα σελίδα, σελίδα {0}",first:"Πρώτη σελίδα",last:"Τελευταία σελίδα"}},stepper:{next:"Επόμενο",prev:"Προηγούμενο"},rating:{ariaLabel:{item:"Βαθμολογία {0} από {1}"}},loading:"Φόρτωση...",infiniteScroll:{loadMore:"Φόρτωση περισσότερων",empty:"Δεν υπάρχουν άλλα"},rules:{required:"Αυτό το πεδίο είναι υποχρεωτικό",email:"Παρακαλώ εισάγετε μια έγκυρη διεύθυνση email",number:"Αυτό το πεδίο μπορεί να περιέχει μόνο αριθμούς",integer:"Αυτό το πεδίο μπορεί να περιέχει μόνο ακέραιους αριθμούς",capital:"Αυτό το πεδίο μπορεί να περιέχει μόνο κεφαλαία γράμματα",maxLength:"Πρέπει να εισάγετε το πολύ {0} χαρακτήρες",minLength:"Πρέπει να εισάγετε τουλάχιστον {0} χαρακτήρες",strictLength:"Το μήκος του πεδίου που εισήχθη δεν είναι έγκυρο",exclude:"Ο χαρακτήρας {0} δεν επιτρέπεται",notEmpty:"Παρακαλώ επιλέξτε τουλάχιστον μία τιμή",pattern:"Μη έγκυρη μορφή"},hotkey:{then:"στη συνέχεια",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Enter",escape:"Escape",upArrow:"Πάνω βέλος",downArrow:"Κάτω βέλος",leftArrow:"Αριστερό βέλος",rightArrow:"Δεξί βέλος",backspace:"Backspace",space:"Διάστημα",plus:"συν",shortcut:"Συντόμευση πληκτρολογίου: {0}",or:"ή"},video:{play:"Αναπαραγωγή",pause:"Παύση",seek:"Αναζήτηση",volume:"Ένταση",showVolume:"Εμφάνιση ελέγχου έντασης",mute:"Σίγαση",unmute:"Κατάργηση σίγασης",enterFullscreen:"Πλήρης οθόνη",exitFullscreen:"Έξοδος από πλήρη οθόνη"},colorPicker:{ariaLabel:{eyedropper:"Επιλογή χρώματος από την οθόνη",hueSlider:"Απόχρωση",alphaSlider:"Άλφα",redInput:"Κόκκινο",greenInput:"Πράσινο",blueInput:"Μπλε",alphaInput:"Άλφα",hueInput:"Απόχρωση",saturationInput:"Κορεσμός",lightnessInput:"Φωτεινότητα",hexInput:"Δεκαεξαδική τιμή",hexaInput:"Δεκαεξαδική τιμή με άλφα",changeFormat:"Αλλαγή μορφής χρώματος"}}},Yg={badge:"Badge",open:"Open",close:"Close",dismiss:"Dismiss",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"},ariaLabel:{previousMonth:"Previous month",nextMonth:"Next month",selectYear:"Select year",previousYear:"Previous year",nextYear:"Next year",selectMonth:"Select month",selectDate:"{0}",currentDate:"Today, {0}"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},fileUpload:{title:"Drag and drop files here",divider:"or",browse:"Browse Files"},timePicker:{am:"AM",pm:"PM",title:"Select Time",hour:"Hour",minute:"Minute",second:"Second"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"},rules:{required:"This field is required",email:"Please enter a valid email",number:"This field can only contain numbers",integer:"This field can only contain integer values",capital:"This field can only contain uppercase letters",maxLength:"You must enter a maximum of {0} characters",minLength:"You must enter a minimum of {0} characters",strictLength:"The length of the entered field is invalid",exclude:"The {0} character is not allowed",notEmpty:"Please choose at least one value",pattern:"Invalid format"},hotkey:{then:"then",ctrl:"Ctrl",command:"Command",space:"Space",shift:"Shift",alt:"Alt",enter:"Enter",escape:"Escape",upArrow:"Up Arrow",downArrow:"Down Arrow",leftArrow:"Left Arrow",rightArrow:"Right Arrow",backspace:"Backspace",option:"Option",plus:"plus",shortcut:"Keyboard shortcut: {0}",or:"or"},video:{play:"Play",pause:"Pause",seek:"Seek",volume:"Volume",showVolume:"Show volume control",mute:"Mute",unmute:"Unmute",enterFullscreen:"Full screen",exitFullscreen:"Exit full screen"},colorPicker:{ariaLabel:{eyedropper:"Select color with eyedropper",hueSlider:"Hue",alphaSlider:"Alpha",redInput:"Red value",greenInput:"Green value",blueInput:"Blue value",alphaInput:"Alpha value",hueInput:"Hue value",saturationInput:"Saturation value",lightnessInput:"Lightness value",hexInput:"HEX value",hexaInput:"HEX with alpha value",changeFormat:"Change color format"}}},Yx={badge:"Placa",open:"Abrir",close:"Cerrar",dismiss:"Descartar",confirmEdit:{ok:"OK",cancel:"Cancelar"},dataIterator:{noResultsText:"Ningún elemento coincide con la búsqueda",loadingText:"Cargando..."},dataTable:{itemsPerPageText:"Filas por página:",ariaLabel:{sortDescending:"Orden descendente.",sortAscending:"Orden ascendente.",sortNone:"Sin ordenar.",activateNone:"Pulse para quitar orden.",activateDescending:"Pulse para ordenar de forma descendente.",activateAscending:"Pulse para ordenar de forma ascendente."},sortBy:"Ordenado por"},dataFooter:{itemsPerPageText:"Elementos por página:",itemsPerPageAll:"Todos",nextPage:"Página siguiente",prevPage:"Página anterior",firstPage:"Primera página",lastPage:"Última página",pageText:"{0}-{1} de {2}"},dateRangeInput:{divider:"a"},datePicker:{itemsSelected:"{0} seleccionados",range:{title:"Seleccionar fechas",header:"Introducir fechas"},title:"Seleccionar fecha",header:"Introducir fecha",input:{placeholder:"Introducir fecha"},ariaLabel:{previousMonth:"Mes anterior",nextMonth:"Mes siguiente",selectYear:"Seleccionar año",previousYear:"Año anterior",nextYear:"Año siguiente",selectMonth:"Seleccionar mes",selectDate:"{0}",currentDate:"Hoy, {0}"}},noDataText:"No hay datos disponibles",carousel:{prev:"Visual anterior",next:"Visual siguiente",ariaLabel:{delimiter:"Visual {0} de {1}"}},calendar:{moreEvents:"{0} más",today:"Hoy"},input:{clear:"Borrar {0}",prependAction:"{0} acción adelantada",appendAction:"{0} acción añadida",otp:"Por favor, introduzca el carácter OTP {0}"},fileInput:{counter:"{0} archivos",counterSize:"{0} archivos ({1} en total)"},fileUpload:{title:"Arrastra y suelta archivos aquí",divider:"o",browse:"Explorar archivos"},timePicker:{am:"AM",pm:"PM",title:"Seleccionar hora",hour:"Hora",minute:"Minutos",second:"Segundos"},pagination:{ariaLabel:{root:"Navegación de paginación",next:"Página siguiente",previous:"Página anterior",page:"Ir a la página {0}",currentPage:"Página actual, página {0}",first:"Primera página",last:"Última página"}},stepper:{next:"Siguiente",prev:"Anterior"},rating:{ariaLabel:{item:"Puntuación {0} de {1}"}},loading:"Cargando...",infiniteScroll:{loadMore:"Cargar más",empty:"No hay más"},rules:{required:"Este campo es obligatorio",email:"Por favor, introduce un correo electrónico válido",number:"Este campo solo puede contener números",integer:"Este campo solo puede contener valores enteros",capital:"Este campo solo puede contener letras mayúsculas",maxLength:"Debes introducir un máximo de {0} caracteres",minLength:"Debes introducir un mínimo de {0} caracteres",strictLength:"La longitud del campo introducido no es válida",exclude:"El carácter {0} no está permitido",notEmpty:"Por favor, elige al menos un valor",pattern:"Formato inválido"},hotkey:{then:"luego",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Intro",escape:"Escape",upArrow:"Flecha arriba",downArrow:"Flecha abajo",leftArrow:"Flecha izquierda",rightArrow:"Flecha derecha",backspace:"Retroceso",space:"Espacio",plus:"más",shortcut:"Atajo de teclado: {0}",or:"o"},video:{play:"Reproducir",pause:"Pausa",seek:"Buscar",volume:"Volumen",showVolume:"Mostrar control de volumen",mute:"Silenciar",unmute:"Activar sonido",enterFullscreen:"Pantalla completa",exitFullscreen:"Salir de pantalla completa"},colorPicker:{ariaLabel:{eyedropper:"Seleccionar color de la pantalla",hueSlider:"Tono",alphaSlider:"Alfa",redInput:"Rojo",greenInput:"Verde",blueInput:"Azul",alphaInput:"Alfa",hueInput:"Tono",saturationInput:"Saturación",lightnessInput:"Luminosidad",hexInput:"Valor HEX",hexaInput:"Valor HEX con alfa",changeFormat:"Cambiar formato de color"}}},Vx={badge:"Infopiste",open:"Avaa",close:"Sulje",dismiss:"Hylkää",confirmEdit:{ok:"OK",cancel:"Peruuta"},dataIterator:{noResultsText:"Ei osumia",loadingText:"Ladataan kohteita..."},dataTable:{itemsPerPageText:"Rivejä sivulla:",ariaLabel:{sortDescending:": Järjestetty laskevasti. Poista järjestäminen aktivoimalla.",sortAscending:": Järjestetty nousevasti. Järjestä laskevasti aktivoimalla.",sortNone:": Ei järjestetty. Järjestä nousevasti aktivoimalla.",activateNone:"Aktivoi lajittelun poistamiseksi.",activateDescending:"Aktivoi laskevien laskevien lajittelemiseksi.",activateAscending:"Aktivoi lajitella nouseva."},sortBy:"Järjestä"},dataFooter:{itemsPerPageText:"Kohteita sivulla:",itemsPerPageAll:"Kaikki",nextPage:"Seuraava sivu",prevPage:"Edellinen sivu",firstPage:"Ensimmäinen sivu",lastPage:"Viimeinen sivu",pageText:"{0}-{1} ({2})"},dateRangeInput:{divider:"–"},datePicker:{itemsSelected:"{0} valittu",range:{title:"Valitse päivämäärät",header:"Syötä päivämäärät"},title:"Valitse päivämäärä",header:"Syötä päivämäärä",input:{placeholder:"Syötä päivämäärä"},ariaLabel:{previousMonth:"Edellinen kuukausi",nextMonth:"Seuraava kuukausi",selectYear:"Valitse vuosi",previousYear:"Edellinen vuosi",nextYear:"Seuraava vuosi",selectMonth:"Valitse kuukausi",selectDate:"{0}",currentDate:"Tänään, {0}"}},noDataText:"Ei dataa",carousel:{prev:"Edellinen kuva",next:"Seuraava kuva",ariaLabel:{delimiter:"Karusellin kuva {0}/{1}"}},calendar:{moreEvents:"{0} lisää",today:"Tänään"},input:{clear:"Tyhjennä {0}",prependAction:"{0} edeltävä toiminto",appendAction:"{0} lisätty toiminto",otp:"Syötä OTP-merkki {0}"},fileInput:{counter:"{0} tiedostoa",counterSize:"{0} tiedostoa ({1} yhteensä)"},fileUpload:{title:"Vedä ja pudota tiedostot tähän",divider:"tai",browse:"Selaa tiedostoja"},timePicker:{am:"ap.",pm:"ip.",title:"Valitse aika",hour:"Tunti",minute:"Minuutit",second:"Sekunnit"},pagination:{ariaLabel:{root:"Sivutuksen navigointi",next:"Seuraava sivu",previous:"Edellinen sivu",page:"Mene sivulle {0}",currentPage:"Nykyinen sivu, Sivu {0}",first:"Ensimmäinen sivu",last:"Viimeinen sivu"}},stepper:{next:"Seuraava",prev:"Edellinen"},rating:{ariaLabel:{item:"Luokitus {0}/{1}"}},loading:"Ladataan...",infiniteScroll:{loadMore:"Lataa lisää",empty:"Ei enempää"},rules:{required:"Tämä kenttä on pakollinen",email:"Anna kelvollinen sähköpostiosoite",number:"Tämä kenttä voi sisältää vain numeroita",integer:"Tämä kenttä voi sisältää vain kokonaislukuja",capital:"Tämä kenttä voi sisältää vain isoja kirjaimia",maxLength:"Sinun tulee syöttää enintään {0} merkkiä",minLength:"Sinun tulee syöttää vähintään {0} merkkiä",strictLength:"Syötetyn kentän pituus on virheellinen",exclude:"Merkki {0} ei ole sallittu",notEmpty:"Valitse ainakin yksi arvo",pattern:"Virheellinen muoto"},hotkey:{then:"sitten",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Enter",escape:"Escape",upArrow:"Nuoli ylös",downArrow:"Nuoli alas",leftArrow:"Nuoli vasemmalle",rightArrow:"Nuoli oikealle",backspace:"Askelpalautin",space:"Välilyönti",plus:"plus",shortcut:"Näppäinyhdistelmä: {0}",or:"tai"},video:{play:"Toista",pause:"Tauko",seek:"Hae",volume:"Äänenvoimakkuus",showVolume:"Näytä äänenvoimakkuuden säädin",mute:"Mykistä",unmute:"Poista mykistys",enterFullscreen:"Koko näyttö",exitFullscreen:"Poistu koko näytöstä"},colorPicker:{ariaLabel:{eyedropper:"Valitse väri näytöltä",hueSlider:"Sävy",alphaSlider:"Alfa",redInput:"Punainen",greenInput:"Vihreä",blueInput:"Sininen",alphaInput:"Alfa",hueInput:"Sävy",saturationInput:"Kylläisyys",lightnessInput:"Vaaleus",hexInput:"HEX-arvo",hexaInput:"HEX alfa-arvolla",changeFormat:"Vaihda värimuotoa"}}},Ux={badge:"Badge",open:"Ouvrir",close:"Fermer",dismiss:"Ignorer",confirmEdit:{ok:"OK",cancel:"Annuler"},dataIterator:{noResultsText:"Aucun enregistrement correspondant trouvé",loadingText:"Chargement de l'élément..."},dataTable:{itemsPerPageText:"Lignes par page :",ariaLabel:{sortDescending:"Tri décroissant.",sortAscending:"Tri croissant.",sortNone:"Non trié.",activateNone:"Activer pour supprimer le tri.",activateDescending:"Activer pour trier par ordre décroissant.",activateAscending:"Activer pour trier par ordre croissant."},sortBy:"Trier par"},dataFooter:{itemsPerPageText:"Éléments par page :",itemsPerPageAll:"Tous",nextPage:"Page suivante",prevPage:"Page précédente",firstPage:"Première page",lastPage:"Dernière page",pageText:"{0}-{1} de {2}"},dateRangeInput:{divider:"à"},datePicker:{itemsSelected:"{0} sélectionné(s)",range:{title:"Sélectionner des dates",header:"Entrer des dates"},title:"Sélectionner une date",header:"Entrer une date",input:{placeholder:"Entrer une date"},ariaLabel:{previousMonth:"Mois précédent",nextMonth:"Mois suivant",selectYear:"Sélectionner une année",previousYear:"Année précédente",nextYear:"Année suivante",selectMonth:"Sélectionner un mois",selectDate:"{0}",currentDate:"Aujourd'hui, {0}"}},noDataText:"Aucune donnée disponible",carousel:{prev:"Visuel précédent",next:"Visuel suivant",ariaLabel:{delimiter:"Diapositive {0} de {1}"}},calendar:{moreEvents:"{0} de plus",today:"Aujourd'hui"},input:{clear:"Vider {0}",prependAction:"{0} action avant",appendAction:"{0} action après",otp:"Caractère {0} du mot de passe à usage unique"},fileInput:{counter:"{0} fichier(s)",counterSize:"{0} fichier(s) ({1} au total)"},fileUpload:{title:"Glissez-déposez des fichiers ici",divider:"ou",browse:"Parcourir les fichiers"},timePicker:{am:"AM",pm:"PM",title:"Sélectionner une heure",hour:"Heure",minute:"Minute",second:"Seconde"},pagination:{ariaLabel:{root:"Navigation de pagination",next:"Page suivante",previous:"Page précédente",page:"Aller à la page {0}",currentPage:"Page actuelle, Page {0}",first:"Première page",last:"Dernière page"}},stepper:{next:"Suivant",prev:"Précédent"},rating:{ariaLabel:{item:"Note de {0} sur {1}"}},loading:"Chargement...",infiniteScroll:{loadMore:"Charger plus",empty:"Aucune donnée supplémentaire"},rules:{required:"Ce champ est requis",email:"Veuillez entrer une adresse email valide",number:"Ce champ ne peut contenir que des chiffres",integer:"Ce champ ne peut contenir que des valeurs entières",capital:"Ce champ ne peut contenir que des lettres majuscules",maxLength:"Vous devez entrer un maximum de {0} caractères",minLength:"Vous devez entrer un minimum de {0} caractères",strictLength:"La longueur du champ entré est invalide",exclude:"Le caractère {0} n’est pas autorisé",notEmpty:"Veuillez choisir au moins une valeur",pattern:"Format invalide"},hotkey:{then:"puis",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Entrée",escape:"Échap",upArrow:"Flèche haut",downArrow:"Flèche bas",leftArrow:"Flèche gauche",rightArrow:"Flèche droite",backspace:"Retour",space:"Espace",plus:"plus",shortcut:"Raccourci clavier : {0}",or:"ou"},video:{play:"Lire",pause:"Pause",seek:"Chercher",volume:"Volume",showVolume:"Afficher le contrôle du volume",mute:"Muet",unmute:"Activer le son",enterFullscreen:"Plein écran",exitFullscreen:"Quitter le plein écran"},colorPicker:{ariaLabel:{eyedropper:"Sélectionner une couleur à l'écran",hueSlider:"Teinte",alphaSlider:"Opacité",redInput:"Rouge",greenInput:"Vert",blueInput:"Bleu",alphaInput:"Opacité",hueInput:"Teinte",saturationInput:"Saturation",lightnessInput:"Luminosité",hexInput:"Valeur HEX",hexaInput:"Valeur HEX avec opacité",changeFormat:"Changer le format de couleur"}}},Xx={badge:"Distintivo",open:"Apri",close:"Chiudi",dismiss:"Ignora",confirmEdit:{ok:"OK",cancel:"Annulla"},dataIterator:{noResultsText:"Nessun risultato trovato",loadingText:"Caricamento in corso..."},dataTable:{itemsPerPageText:"Righe per pagina:",ariaLabel:{sortDescending:"Ordinati in ordine decrescente.",sortAscending:"Ordinati in ordine crescente.",sortNone:"Non ordinato.",activateNone:"Attiva per rimuovere l'ordinamento.",activateDescending:"Attiva per ordinare in ordine decrescente.",activateAscending:"Attiva per ordinare in ordine crescente."},sortBy:"Ordina per"},dataFooter:{itemsPerPageText:"Elementi per pagina:",itemsPerPageAll:"Tutti",nextPage:"Pagina seguente",prevPage:"Pagina precedente",firstPage:"Prima pagina",lastPage:"Ultima pagina",pageText:"{0}-{1} di {2}"},dateRangeInput:{divider:"a"},datePicker:{itemsSelected:"{0} selezionato/i",range:{title:"Seleziona date",header:"Inserisci date"},title:"Seleziona data",header:"Inserisci data",input:{placeholder:"Inserisci data"},ariaLabel:{previousMonth:"Mese precedente",nextMonth:"Mese successivo",selectYear:"Seleziona anno",previousYear:"Anno precedente",nextYear:"Anno successivo",selectMonth:"Seleziona mese",selectDate:"{0}",currentDate:"Oggi, {0}"}},noDataText:"Nessun elemento disponibile",carousel:{prev:"Vista precedente",next:"Prossima vista",ariaLabel:{delimiter:"Slide carosello {0} di {1}"}},calendar:{moreEvents:"{0} di più",today:"Oggi"},input:{clear:"Cancella {0}",prependAction:"Azione precedente {0}",appendAction:"Azione successiva {0}",otp:"Inserisci il codice OTP {0}"},fileInput:{counter:"{0} file",counterSize:"{0} file ({1} in totale)"},fileUpload:{title:"Trascina e rilascia i file qui",divider:"o",browse:"Sfoglia i file"},timePicker:{am:"AM",pm:"PM",title:"Seleziona l'ora",hour:"Ora",minute:"Minuti",second:"Secondi"},pagination:{ariaLabel:{root:"Navigazione impaginazione",next:"Pagina seguente",previous:"Pagina precedente",page:"Vai alla pagina {0}",currentPage:"Pagina corrente, pagina {0}",first:"Prima pagina",last:"Ultima pagina"}},stepper:{next:"Successivo",prev:"Precedente"},rating:{ariaLabel:{item:"Valutazione {0} di {1}"}},loading:"Caricamento...",infiniteScroll:{loadMore:"Carica altro",empty:"Nessun elemento"},rules:{required:"Questo campo è obbligatorio",email:"Inserisci un indirizzo email valido",number:"Questo campo può contenere solo numeri",integer:"Questo campo può contenere solo valori interi",capital:"Questo campo può contenere solo lettere maiuscole",maxLength:"Devi inserire un massimo di {0} caratteri",minLength:"Devi inserire un minimo di {0} caratteri",strictLength:"La lunghezza del campo inserito non è valida",exclude:"Il carattere {0} non è consentito",notEmpty:"Seleziona almeno un valore",pattern:"Formato non valido"},hotkey:{then:"poi",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Invio",escape:"Escape",upArrow:"Freccia su",downArrow:"Freccia giù",leftArrow:"Freccia sinistra",rightArrow:"Freccia destra",backspace:"Canc",space:"Spazio",plus:"più",shortcut:"Scorciatoia da tastiera: {0}",or:"o"},video:{play:"Riproduci",pause:"Metti in pausa",seek:"Cerca",volume:"Volume",showVolume:"Mostra controllo volume",mute:"Muto",unmute:"Riattiva audio",enterFullscreen:"Schermo intero",exitFullscreen:"Esci da schermo intero"},colorPicker:{ariaLabel:{eyedropper:"Seleziona il colore dallo schermo",hueSlider:"Tonalità",alphaSlider:"Trasparenza",redInput:"Rosso",greenInput:"Verde",blueInput:"Blu",alphaInput:"Trasparenza",hueInput:"Tonalità",saturationInput:"Saturazione",lightnessInput:"Luminosità",hexInput:"Valore esadecimale",hexaInput:"Valore esadecimale con trasparenza",changeFormat:"Cambia formato colore"}}},qx={badge:"バッジ",open:"開く",close:"閉じる",dismiss:"閉じる",confirmEdit:{ok:"OK",cancel:"キャンセル"},dataIterator:{noResultsText:"検索結果が見つかりません。",loadingText:"項目をロード中です..."},dataTable:{itemsPerPageText:"1ページあたりの行数:",ariaLabel:{sortDescending:"降順の並び替え。",sortAscending:"昇順の並び替え。",sortNone:"ソートされていません。",activateNone:"ソートを削除するには有効にしてください。",activateDescending:"降順の並び替えのためには有効にしてください。",activateAscending:"昇順のソートのためには有効にしてください。"},sortBy:"ソート方式"},dataFooter:{itemsPerPageText:"1ページあたりの件数:",itemsPerPageAll:"すべて",nextPage:"次のページ",prevPage:"前のページ",firstPage:"最初のページ",lastPage:"最後のページ",pageText:"{0}-{1} 件目 / {2}件"},dateRangeInput:{divider:"から"},datePicker:{itemsSelected:"{0} 選択済",range:{title:"日付を選択",header:"日付を入力"},title:"日付を選択",header:"日付を入力",input:{placeholder:"日付を入力"},ariaLabel:{previousMonth:"前の月",nextMonth:"次の月",selectYear:"年を選択",previousYear:"前の年",nextYear:"次の年",selectMonth:"月を選択",selectDate:"{0}",currentDate:"今日、{0}"}},noDataText:"データはありません。",carousel:{prev:"前のビジュアル",next:"次のビジュアル",ariaLabel:{delimiter:"カルーセルのスライド {0}件目 / {1}件"}},calendar:{moreEvents:"さらに{0}",today:"今日"},input:{clear:"クリア {0}",prependAction:"{0} の前に追加されたアクション",appendAction:"{0} の後に追加されたアクション",otp:"{0}番目のワンタイムパスワードを入力してください"},fileInput:{counter:"{0} ファイル",counterSize:"{0} ファイル (合計 {1})"},fileUpload:{title:"ここにファイルをドラッグ&ドロップ",divider:"または",browse:"ファイルを選択"},timePicker:{am:"午前",pm:"午後",title:"時間を選択",hour:"時",minute:"分",second:"秒"},pagination:{ariaLabel:{root:"ページネーションナビゲーション",next:"次のページ",previous:"前のページ",page:"{0}ページ目に移動",currentPage:"現在のページ、ページ {0}",first:"最初のページ",last:"最後のページ"}},stepper:{next:"次へ",prev:"前へ"},rating:{ariaLabel:{item:"評価 {1} のうち {0}"}},loading:"ロード中...",infiniteScroll:{loadMore:"さらに読み込む",empty:"データがありません"},rules:{required:"このフィールドは必須です",email:"有効なメールアドレスを入力してください",number:"このフィールドには数字のみ入力できます",integer:"このフィールドには整数のみ入力できます",capital:"このフィールドには大文字のみ入力できます",maxLength:"最大{0}文字まで入力してください",minLength:"最低{0}文字以上入力してください",strictLength:"入力されたフィールドの長さが無効です",exclude:"{0}という文字は使用できません",notEmpty:"少なくとも1つの値を選んでください",pattern:"無効な形式です"},hotkey:{then:"次に",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Enter",escape:"Escape",upArrow:"上矢印",downArrow:"下矢印",leftArrow:"左矢印",rightArrow:"右矢印",backspace:"バックスペース",space:"スペース",plus:"プラス",shortcut:"キーボードショートカット: {0}",or:"または"},video:{play:"再生",pause:"一時停止",seek:"シーク",volume:"音量",showVolume:"音量コントロールを表示",mute:"ミュート",unmute:"ミュート解除",enterFullscreen:"全画面表示",exitFullscreen:"全画面表示を終了"},colorPicker:{ariaLabel:{eyedropper:"画面から色を選択",hueSlider:"色相",alphaSlider:"アルファ",redInput:"赤",greenInput:"緑",blueInput:"青",alphaInput:"アルファ",hueInput:"色相",saturationInput:"彩度",lightnessInput:"明度",hexInput:"HEX値",hexaInput:"アルファ付きHEX値",changeFormat:"カラーフォーマットを変更"}}},Gx={badge:"Insigne",open:"Openen",close:"Sluiten",dismiss:"Negeren",confirmEdit:{ok:"OK",cancel:"Annuleren"},dataIterator:{noResultsText:"Geen overeenkomende resultaten gevonden",loadingText:"Bezig met laden..."},dataTable:{itemsPerPageText:"Rijen per pagina:",ariaLabel:{sortDescending:"Aflopend gesorteerd.",sortAscending:"Oplopend gesorteerd.",sortNone:"Niet gesorteerd.",activateNone:"Activeer om de sortering te verwijderen.",activateDescending:"Activeer om aflopend te sorteren.",activateAscending:"Activeer om oplopend te sorteren."},sortBy:"Sorteer op"},dataFooter:{itemsPerPageText:"Aantal per pagina:",itemsPerPageAll:"Alles",nextPage:"Volgende pagina",prevPage:"Vorige pagina",firstPage:"Eerste pagina",lastPage:"Laatste pagina",pageText:"{0}-{1} van {2}"},dateRangeInput:{divider:"tot"},datePicker:{itemsSelected:"{0} geselecteerd",range:{title:"Selecteer datums",header:"Voer datums in"},title:"Selecteer datum",header:"Voer datum in",input:{placeholder:"Voer datum in"},ariaLabel:{previousMonth:"Vorige maand",nextMonth:"Volgende maand",selectYear:"Selecteer jaar",previousYear:"Vorig jaar",nextYear:"Volgend jaar",selectMonth:"Selecteer maand",selectDate:"{0}",currentDate:"Vandaag, {0}"}},noDataText:"Geen gegevens beschikbaar",carousel:{prev:"Vorige weergave",next:"Volgende weergave",ariaLabel:{delimiter:"Carrousel afbeelding {0} van {1}"}},calendar:{moreEvents:"{0} meer",today:"Vandaag"},input:{clear:"Maak {0} leeg",prependAction:"{0} voorafgaande actie",appendAction:"{0} bijgevoegde actie",otp:"Voer OTP-teken {0} in"},fileInput:{counter:"{0} bestanden",counterSize:"{0} bestanden ({1} in totaal)"},fileUpload:{title:"Sleep en zet bestanden hier neer",divider:"of",browse:"Blader door bestanden"},timePicker:{am:"AM",pm:"PM",title:"Selecteer tijd",hour:"Uur",minute:"Minuten",second:"Seconden"},pagination:{ariaLabel:{root:"Pagina navigatie",next:"Volgende pagina",previous:"Vorige pagina",page:"Ga naar pagina {0}",currentPage:"Huidige pagina, pagina {0}",first:"Eerste pagina",last:"Laatste pagina"}},stepper:{next:"Volgende",prev:"Vorige"},rating:{ariaLabel:{item:"Beoordeling {0} van {1}"}},loading:"Bezig met laden...",infiniteScroll:{loadMore:"Meer laden",empty:"Geen meer items"},rules:{required:"Dit veld is verplicht",email:"Voer een geldig e-mailadres in",number:"Dit veld mag alleen nummers bevatten",integer:"Dit veld mag alleen gehele getallen bevatten",capital:"Dit veld mag alleen hoofdletters bevatten",maxLength:"Je mag maximaal {0} tekens invoeren",minLength:"Je moet minimaal {0} tekens invoeren",strictLength:"De lengte van het ingevoerde veld is ongeldig",exclude:"Het teken {0} is niet toegestaan",notEmpty:"Kies ten minste één waarde",pattern:"Ongeldig formaat"},hotkey:{then:"dan",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Enter",escape:"Escape",upArrow:"Pijl omhoog",downArrow:"Pijl omlaag",leftArrow:"Pijl naar links",rightArrow:"Pijl naar rechts",backspace:"Backspace",space:"Spatie",plus:"plus",shortcut:"Toetsenbordsnelkoppeling: {0}",or:"of"},video:{play:"Afspelen",pause:"Pauzeren",seek:"Zoeken",volume:"Volume",showVolume:"Volumeregeling weergeven",mute:"Dempen",unmute:"Dempen opheffen",enterFullscreen:"Volledig scherm",exitFullscreen:"Volledig scherm verlaten"},colorPicker:{ariaLabel:{eyedropper:"Kies een kleur van het scherm",hueSlider:"Tint",alphaSlider:"Alpha",redInput:"Rood",greenInput:"Groen",blueInput:"Blauw",alphaInput:"Alpha",hueInput:"Tint",saturationInput:"Verzadiging",lightnessInput:"Helderheid",hexInput:"HEX-waarde",hexaInput:"HEX met alpha-waarde",changeFormat:"Wijzig kleurformaat"}}},$x={badge:"Odznaka",open:"Otwórz",close:"Zamknij",dismiss:"Odrzuć",confirmEdit:{ok:"OK",cancel:"Anuluj"},dataIterator:{noResultsText:"Nie znaleziono danych odpowiadających wyszukiwaniu",loadingText:"Wczytywanie danych..."},dataTable:{itemsPerPageText:"Wierszy na stronie:",ariaLabel:{sortDescending:"Sortowanie malejąco. Kliknij aby zmienić.",sortAscending:"Sortowanie rosnąco. Kliknij aby zmienić.",sortNone:"Bez sortowania. Kliknij aby posortować rosnąco.",activateNone:"Kliknij aby usunąć sortowanie.",activateDescending:"Kliknij aby posortować malejąco.",activateAscending:"Kliknij aby posortować rosnąco."},sortBy:"Sortuj według"},dataFooter:{itemsPerPageText:"Pozycji na stronie:",itemsPerPageAll:"Wszystkie",nextPage:"Następna strona",prevPage:"Poprzednia strona",firstPage:"Pierwsza strona",lastPage:"Ostatnia strona",pageText:"{0}-{1} z {2}"},dateRangeInput:{divider:"do"},datePicker:{itemsSelected:"{0} wybrano",range:{title:"Wybór zakresu dat",header:"Wprowadź zakres dat"},title:"Wybór daty",header:"Wprowadź datę",input:{placeholder:"Wprowadź datę"},ariaLabel:{previousMonth:"Poprzedni miesiąc",nextMonth:"Następny miesiąc",selectYear:"Wybierz rok",previousYear:"Poprzedni rok",nextYear:"Następny rok",selectMonth:"Wybierz miesiąc",selectDate:"{0}",currentDate:"Dzisiaj, {0}"}},noDataText:"Brak danych",carousel:{prev:"Poprzedni obraz",next:"Następny obraz",ariaLabel:{delimiter:"Obraz {0} z {1}"}},calendar:{moreEvents:"{0} więcej",today:"Dzisiaj"},input:{clear:"Wyczyść {0}",prependAction:"{0} dodatkowa akcja",appendAction:"{0} dodatkowa akcja",otp:"Proszę wprowadzić znak nr {0}"},fileInput:{counter:"Liczba plików: {0}",counterSize:"Liczba plików: {0} (łącznie {1})"},fileUpload:{title:"Przeciągnij i upuść pliki tutaj",divider:"lub",browse:"Przeglądaj pliki"},timePicker:{am:"AM",pm:"PM",title:"Wybierz godzinę",hour:"Godzina",minute:"Minuty",second:"Sekudy"},pagination:{ariaLabel:{root:"Nawigacja paginacyjna",next:"Następna strona",previous:"Poprzednia strona",page:"Idź do strony {0}",currentPage:"Bieżąca strona, strona {0}",first:"Pierwsza strona",last:"Ostatnia strona"}},stepper:{next:"Następny",prev:"Poprzedni"},rating:{ariaLabel:{item:"Ocena {0} na {1}"}},loading:"Wczytywanie danych...",infiniteScroll:{loadMore:"Wczytaj więcej",empty:"Brak kolejnych danych"},rules:{required:"To pole jest wymagane",email:"Proszę podać prawidłowy adres e-mail",number:"To pole może zawierać tylko cyfry",integer:"To pole może zawierać tylko liczby całkowite",capital:"To pole może zawierać tylko wielkie litery",maxLength:"Musisz wprowadzić maksymalnie {0} znaków",minLength:"Musisz wprowadzić co najmniej {0} znaków",strictLength:"Długość wprowadzonego pola jest nieprawidłowa",exclude:"Znak {0} nie jest dozwolony",notEmpty:"Proszę wybrać co najmniej jedną wartość",pattern:"Nieprawidłowy format"},hotkey:{then:"następnie",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Enter",escape:"Escape",upArrow:"Strzałka w górę",downArrow:"Strzałka w dół",leftArrow:"Strzałka w lewo",rightArrow:"Strzałka w prawo",backspace:"Backspace",space:"Spacja",plus:"plus",shortcut:"Skrót klawiszowy: {0}",or:"lub"},video:{play:"Odtwórz",pause:"Wstrzymaj",seek:"Przewiń",volume:"Głośność",showVolume:"Pokaż regulację głośności",mute:"Wycisz",unmute:"Wyłącz wyciszenie",enterFullscreen:"Pełny ekran",exitFullscreen:"Opuść pełny ekran"},colorPicker:{ariaLabel:{eyedropper:"Pobierz kolor z ekranu",hueSlider:"Odcień",alphaSlider:"Przezroczystość",redInput:"Czerwony",greenInput:"Zielony",blueInput:"Niebieski",alphaInput:"Przezroczystość",hueInput:"Odcień",saturationInput:"Nasycenie",lightnessInput:"Jasność",hexInput:"Wartość szesnastkowa",hexaInput:"Wartość szesnastkowa z kanałem alfa",changeFormat:"Zmień format koloru"}}},Kx={badge:"Distintivo",open:"Abrir",close:"Fechar",dismiss:"Dispensar",confirmEdit:{ok:"OK",cancel:"Cancelar"},dataIterator:{noResultsText:"Nenhum dado encontrado",loadingText:"Carregando itens..."},dataTable:{itemsPerPageText:"Linhas por página:",ariaLabel:{sortDescending:"Ordenado decrescente.",sortAscending:"Ordenado crescente.",sortNone:"Não ordenado.",activateNone:"Ative para remover a ordenação.",activateDescending:"Ative para ordenar decrescente.",activateAscending:"Ative para ordenar crescente."},sortBy:"Ordenar por"},dataFooter:{itemsPerPageText:"Itens por página:",itemsPerPageAll:"Todos",nextPage:"Próxima página",prevPage:"Página anterior",firstPage:"Primeira página",lastPage:"Última página",pageText:"{0}-{1} de {2}"},dateRangeInput:{divider:"até"},datePicker:{itemsSelected:"{0} selecionados",range:{title:"Selecione as datas",header:"Digite as datas"},title:"Selecione a data",header:"Digite a data",input:{placeholder:"Insira a data"},ariaLabel:{previousMonth:"Mês anterior",nextMonth:"Próximo mês",selectYear:"Selecionar ano",previousYear:"Ano anterior",nextYear:"Próximo ano",selectMonth:"Selecionar mês",selectDate:"{0}",currentDate:"Hoje, {0}"}},noDataText:"Não há dados disponíveis",carousel:{prev:"Visão anterior",next:"Próxima visão",ariaLabel:{delimiter:"Slide {0} de {1} do carrossel"}},calendar:{moreEvents:"Mais {0}",today:"Hoje"},input:{clear:"Limpar {0}",prependAction:"{0} ação antes",appendAction:"{0} ação depois",otp:"Por favor, insira o caractere OTP {0}"},fileInput:{counter:"{0} arquivo(s)",counterSize:"{0} arquivo(s) ({1} no total)"},fileUpload:{title:"Arraste e solte os arquivos aqui",divider:"ou",browse:"Procurar arquivos"},timePicker:{am:"AM",pm:"PM",title:"Selecione o horário",hour:"Hora",minute:"Minuto",second:"Segundos"},pagination:{ariaLabel:{root:"Navegação de paginação",next:"Próxima página",previous:"Página anterior",page:"Ir à página {0}",currentPage:"Página atual, página {0}",first:"Primeira página",last:"Última página"}},stepper:{next:"Próximo",prev:"Anterior"},rating:{ariaLabel:{item:"Avaliação {0} de {1}"}},loading:"Carregando...",infiniteScroll:{loadMore:"Carregar mais",empty:"Não há mais dados"},rules:{required:"Este campo é obrigatório",email:"Por favor, insira um e-mail válido",number:"Este campo só pode conter números",integer:"Este campo só pode conter valores inteiros",capital:"Este campo só pode conter letras maiúsculas",maxLength:"Você deve inserir no máximo {0} caracteres",minLength:"Você deve inserir no mínimo {0} caracteres",strictLength:"O comprimento do campo inserido é inválido",exclude:"O caractere {0} não é permitido",notEmpty:"Por favor, escolha pelo menos um valor",pattern:"Formato inválido"},hotkey:{then:"então",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Enter",escape:"Escape",upArrow:"Seta para cima",downArrow:"Seta para baixo",leftArrow:"Seta para a esquerda",rightArrow:"Seta para a direita",backspace:"Backspace",space:"Espaço",plus:"mais",shortcut:"Atalho de teclado: {0}",or:"ou"},video:{play:"Reproduzir",pause:"Pausar",seek:"Buscar",volume:"Volume",showVolume:"Mostrar controle de volume",mute:"Silenciar",unmute:"Ativar som",enterFullscreen:"Tela cheia",exitFullscreen:"Sair da tela cheia"},colorPicker:{ariaLabel:{eyedropper:"Selecionar cor da tela",hueSlider:"Matiz",alphaSlider:"Alfa",redInput:"Vermelho",greenInput:"Verde",blueInput:"Azul",alphaInput:"Alfa",hueInput:"Matiz",saturationInput:"Saturação",lightnessInput:"Luminosidade",hexInput:"Valor HEX",hexaInput:"HEX com valor alfa",changeFormat:"Alterar formato da cor"}}},Zx={badge:"Знак",open:"Открыть",close:"Закрыть",dismiss:"Отклонить",confirmEdit:{ok:"ОК",cancel:"Отмена"},dataIterator:{noResultsText:"Не найдено подходящих записей",loadingText:"Запись загружается..."},dataTable:{itemsPerPageText:"Строк на странице:",ariaLabel:{sortDescending:"Упорядочено по убыванию.",sortAscending:"Упорядочено по возрастанию.",sortNone:"Не упорядочено.",activateNone:"Активируйте, чтобы убрать сортировку.",activateDescending:"Активируйте для упорядочивания убыванию.",activateAscending:"Активируйте для упорядочивания по возрастанию."},sortBy:"Сортировать по"},dataFooter:{itemsPerPageText:"Записей на странице:",itemsPerPageAll:"Все",nextPage:"Следующая страница",prevPage:"Предыдущая страница",firstPage:"Первая страница",lastPage:"Последняя страница",pageText:"{0}-{1} из {2}"},dateRangeInput:{divider:"до"},datePicker:{itemsSelected:"{0} выбрано",range:{title:"Выбранные даты",header:"Ввод дат"},title:"Выбор даты",header:"Ввод даты",input:{placeholder:"Введите дату"},ariaLabel:{previousMonth:"Предыдущий месяц",nextMonth:"Следующий месяц",selectYear:"Выбрать год",previousYear:"Предыдущий год",nextYear:"Следующий год",selectMonth:"Выбрать месяц",selectDate:"{0}",currentDate:"Сегодня, {0}"}},noDataText:"Отсутствуют данные",carousel:{prev:"Предыдущий слайд",next:"Следующий слайд",ariaLabel:{delimiter:"Слайд {0} из {1}"}},calendar:{moreEvents:"Еще {0}",today:"Сегодня"},input:{clear:"Очистить {0}",prependAction:"{0} предварительных действий",appendAction:"{0} добавочных действий",otp:"Пожалуйста введите символы OTP {0}"},fileInput:{counter:"Файлов: {0}",counterSize:"Файлов: {0} (всего {1})"},fileUpload:{title:"Перетащите файлы сюда",divider:"или",browse:"Просмотр файлов"},timePicker:{am:"AM",pm:"PM",title:"Выберите время",hour:"Час",minute:"Минуты",second:"Секунды"},pagination:{ariaLabel:{root:"Навигация по страницам",next:"Следующая страница",previous:"Предыдущая страница",page:"Перейти на страницу {0}",currentPage:"Текущая страница, Страница {0}",first:"Первая страница",last:"Последняя страница"}},stepper:{next:"Следующий",prev:"Предыдущий"},rating:{ariaLabel:{item:"Рейтинг {0} из {1}"}},loading:"Загрузка...",infiniteScroll:{loadMore:"Загрузить ещё",empty:"Больше нечего загружать"},rules:{required:"Это поле обязательно",email:"Пожалуйста, введите действительный email",number:"Это поле может содержать только цифры",integer:"Это поле может содержать только целые числа",capital:"Это поле может содержать только заглавные буквы",maxLength:"Вы должны ввести не более {0} символов",minLength:"Вы должны ввести не менее {0} символов",strictLength:"Длина введенного поля недействительна",exclude:"Символ {0} не разрешен",notEmpty:"Пожалуйста, выберите хотя бы одно значение",pattern:"Недопустимый формат"},hotkey:{then:"затем",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Enter",escape:"Escape",upArrow:"Стрелка вверх",downArrow:"Стрелка вниз",leftArrow:"Стрелка влево",rightArrow:"Стрелка вправо",backspace:"Backspace",space:"Пробел",plus:"плюс",shortcut:"Сочетание клавиш: {0}",or:"или"},video:{play:"Воспроизвести",pause:"Пауза",seek:"Перемотка",volume:"Громкость",showVolume:"Показать регулятор громкости",mute:"Отключить звук",unmute:"Включить звук",enterFullscreen:"Полноэкранный режим",exitFullscreen:"Выйти из полноэкранного режима"},colorPicker:{ariaLabel:{eyedropper:"Выбрать цвет с экрана",hueSlider:"Оттенок",alphaSlider:"Прозрачность",redInput:"Красный",greenInput:"Зеленый",blueInput:"Синий",alphaInput:"Прозрачность",hueInput:"Оттенок",saturationInput:"Насыщенность",lightnessInput:"Яркость",hexInput:"Значение HEX",hexaInput:"Значение HEX с прозрачностью",changeFormat:"Изменить формат цвета"}}},Jx={badge:"Bricka",open:"Öppna",close:"Stäng",dismiss:"Avvisa",confirmEdit:{ok:"OK",cancel:"Avbryt"},dataIterator:{noResultsText:"Hittade inga poster",loadingText:"Laddar data..."},dataTable:{itemsPerPageText:"Rader per sida:",ariaLabel:{sortDescending:"Fallande sortering.",sortAscending:"Stigande sortering.",sortNone:"Osorterat.",activateNone:"Aktivera för att ta bort sortering.",activateDescending:"Aktivera för att sortera fallande.",activateAscending:"Aktivera för att sortera stigande."},sortBy:"Sortera efter"},dataFooter:{itemsPerPageText:"Objekt per sida:",itemsPerPageAll:"Alla",nextPage:"Nästa sida",prevPage:"Föregående sida",firstPage:"Första sidan",lastPage:"Sista sidan",pageText:"{0}-{1} av {2}"},dateRangeInput:{divider:"till"},datePicker:{itemsSelected:"{0} valda",range:{title:"Välj datum",header:"Välj datum"},title:"Välj datum",header:"Välj datum",input:{placeholder:"Välj datum"},ariaLabel:{previousMonth:"Föregående månad",nextMonth:"Nästa månad",selectYear:"Välj år",previousYear:"Föregående år",nextYear:"Nästa år",selectMonth:"Välj månad",selectDate:"{0}",currentDate:"Idag, {0}"}},noDataText:"Ingen data tillgänglig",carousel:{prev:"Föregående vy",next:"Nästa vy",ariaLabel:{delimiter:"Karusellvy {0} av {1}"}},calendar:{moreEvents:"{0} fler",today:"Idag"},input:{clear:"Rensa {0}",prependAction:"{0} föregående åtgärd",appendAction:"{0} efterföljande åtgärd",otp:"Vänligen ange OTP-tecken {0}"},fileInput:{counter:"{0} filer",counterSize:"{0} filer ({1})"},fileUpload:{title:"Dra och släpp filer här",divider:"eller",browse:"Bläddra bland filer"},timePicker:{am:"FM",pm:"EM",title:"Välj tid",hour:"Timme",minute:"Minuter",second:"Sekunder"},pagination:{ariaLabel:{root:"Paginering",next:"Nästa sida",previous:"Föregående sida",page:"Gå till sida {0}",currentPage:"Aktuell sida, sida {0}",first:"Första sidan",last:"Sista sidan"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Betyg {0} av {1}"}},loading:"Laddar...",infiniteScroll:{loadMore:"Ladda fler",empty:"Inga fler"},rules:{required:"Detta fält är obligatoriskt",email:"Ange en giltig e-postadress",number:"Detta fält kan bara innehålla siffror",integer:"Detta fält kan bara innehålla heltal",capital:"Detta fält kan bara innehålla stora bokstäver",maxLength:"Du måste ange högst {0} tecken",minLength:"Du måste ange minst {0} tecken",strictLength:"Längden på det angivna fältet är ogiltig",exclude:"Tecknet {0} är inte tillåtet",notEmpty:"Välj minst ett värde",pattern:"Ogiltigt format"},hotkey:{then:"sedan",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Enter",escape:"Escape",upArrow:"Pil upp",downArrow:"Pil ner",leftArrow:"Pil vänster",rightArrow:"Pil höger",backspace:"Backsteg",space:"Mellanslag",plus:"plus",shortcut:"Tangentbordsgenväg: {0}",or:"eller"},video:{play:"Spela upp",pause:"Pausa",seek:"Sök",volume:"Volym",showVolume:"Visa volymkontroll",mute:"Stäng av ljud",unmute:"Slå på ljud",enterFullscreen:"Helskärm",exitFullscreen:"Avsluta helskärm"},colorPicker:{ariaLabel:{eyedropper:"Välj färg från skärmen",hueSlider:"Nyans",alphaSlider:"Alfa",redInput:"Röd",greenInput:"Grön",blueInput:"Blå",alphaInput:"Alfa",hueInput:"Nyans",saturationInput:"Mättnad",lightnessInput:"Ljushet",hexInput:"HEX-värde",hexaInput:"HEX med alfavärde",changeFormat:"Ändra färgformat"}}},Qx={badge:"Rozet",open:"Aç",close:"Kapat",dismiss:"Kapat",confirmEdit:{ok:"Tamam",cancel:"İptal"},dataIterator:{noResultsText:"Eşleşen veri bulunamadı",loadingText:"Yükleniyor... Lütfen bekleyin."},dataTable:{itemsPerPageText:"Sayfa başına satır:",ariaLabel:{sortDescending:"Z den A ya sıralı.",sortAscending:"A dan Z ye sıralı.",sortNone:"Sıralı değil. ",activateNone:"Sıralamayı kaldırmak için etkinleştir.",activateDescending:"Z den A ya sıralamak için etkinleştir.",activateAscending:"A dan Z ye sıralamak için etkinleştir."},sortBy:"Sırala"},dataFooter:{itemsPerPageText:"Sayfa başına satır:",itemsPerPageAll:"Hepsi",nextPage:"Sonraki sayfa",prevPage:"Önceki sayfa",firstPage:"İlk sayfa",lastPage:"Son sayfa",pageText:"{0} - {1} arası, Toplam: {2} kayıt"},dateRangeInput:{divider:"ile"},datePicker:{itemsSelected:"{0} seçildi",range:{title:"Tarihleri seçin",header:"Tarihleri girin"},title:"Tarih seçin",header:"Tarih girin",input:{placeholder:"Tarih girin"},ariaLabel:{previousMonth:"Önceki ay",nextMonth:"Sonraki ay",selectYear:"Yıl seçin",previousYear:"Önceki yıl",nextYear:"Sonraki yıl",selectMonth:"Ay seçin",selectDate:"{0}",currentDate:"Bugün, {0}"}},noDataText:"Bu görünümde veri yok.",carousel:{prev:"Önceki görsel",next:"Sonraki görsel",ariaLabel:{delimiter:"Galeri sayfa {0} / {1}"}},calendar:{moreEvents:"{0} tane daha",today:"Bugün"},input:{clear:"{0} temizle",prependAction:"{0} ön işlem",appendAction:"{0} ek işlem",otp:"Lütfen OTP karakterini girin {0}"},fileInput:{counter:"{0} dosya",counterSize:"{0} dosya (toplamda {1})"},fileUpload:{title:"Dosyaları buraya sürükleyip bırakın",divider:"veya",browse:"Dosyalara göz at"},timePicker:{am:"ÖÖ",pm:"ÖS",title:"Saat seçin",hour:"Saat",minute:"Dakika",second:"Saniye"},pagination:{ariaLabel:{root:"Sayfalandırma Navigasyonu",next:"Sonraki sayfa",previous:"Önceki sayfa",page:"Sayfaya git {0}",currentPage:"Geçerli Sayfa, Sayfa {0}",first:"İlk sayfa",last:"Son sayfa"}},stepper:{next:"İleri",prev:"Geri"},rating:{ariaLabel:{item:"{1} üzerinden {0} puan"}},loading:"Yükleniyor...",infiniteScroll:{loadMore:"Daha fazla yükle",empty:"Daha fazla içerik yok"},rules:{required:"Bu alan zorunludur",email:"Lütfen geçerli bir e-posta adresi girin",number:"Bu alan sadece sayılar içerebilir",integer:"Bu alan sadece tam sayılar içerebilir",capital:"Bu alan sadece büyük harfler içerebilir",maxLength:"En fazla {0} karakter girmelisiniz",minLength:"En az {0} karakter girmelisiniz",strictLength:"Girilen alanın uzunluğu geçersiz",exclude:"{0} karakteri izin verilmez",notEmpty:"Lütfen en az bir değer seçin",pattern:"Geçersiz biçim"},hotkey:{then:"sonra",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Enter",escape:"Escape",upArrow:"Yukarı Ok",downArrow:"Aşağı Ok",leftArrow:"Sol Ok",rightArrow:"Sağ Ok",backspace:"Geri Al",space:"Boşluk",plus:"artı",shortcut:"Klavye kısayolu: {0}",or:"veya"},video:{play:"Oynat",pause:"Duraklat",seek:"Ara",volume:"Ses",showVolume:"Ses kontrolünü göster",mute:"Sesi kapat",unmute:"Sesi aç",enterFullscreen:"Tam ekran",exitFullscreen:"Tam ekrandan çık"},colorPicker:{ariaLabel:{eyedropper:"Ekranda renk seç",hueSlider:"Ton",alphaSlider:"Alfa",redInput:"Kırmızı",greenInput:"Yeşil",blueInput:"Mavi",alphaInput:"Alfa",hueInput:"Ton",saturationInput:"Doygunluk",lightnessInput:"Parlaklık",hexInput:"HEX değeri",hexaInput:"Alfa değerli HEX",changeFormat:"Renk biçimini değiştir"}}},ey={badge:"徽章",open:"打开",close:"关闭",dismiss:"取消",confirmEdit:{ok:"确定",cancel:"取消"},dataIterator:{noResultsText:"没有符合条件的结果",loadingText:"加载中……"},dataTable:{itemsPerPageText:"每页数目:",ariaLabel:{sortDescending:":降序排列。",sortAscending:":升序排列。",sortNone:":未排序。",activateNone:"点击以移除排序。",activateDescending:"点击以降序排列。",activateAscending:"点击以升序排列。"},sortBy:"排序方式"},dataFooter:{itemsPerPageText:"每页数目:",itemsPerPageAll:"全部",nextPage:"下一页",prevPage:"上一页",firstPage:"首页",lastPage:"尾页",pageText:"{0}-{1} 共 {2}"},dateRangeInput:{divider:"至"},datePicker:{itemsSelected:"已选择 {0} 项",range:{title:"选择日期",header:"输入日期"},title:"选择日期",header:"输入日期",input:{placeholder:"输入日期"},ariaLabel:{previousMonth:"上个月",nextMonth:"下个月",selectYear:"选择年份",previousYear:"上一年",nextYear:"下一年",selectMonth:"选择月份",selectDate:"{0}",currentDate:"今天,{0}"}},noDataText:"没有数据",carousel:{prev:"上一张",next:"下一张",ariaLabel:{delimiter:"幻灯片 {0} / {1}"}},calendar:{moreEvents:"还有 {0} 项",today:"今天"},input:{clear:"清除 {0}",prependAction:"{0} 前置操作",appendAction:"{0} 后置操作",otp:"请输入第 {0} 位 OTP"},fileInput:{counter:"{0} 个文件",counterSize:"{0} 个文件(共 {1})"},fileUpload:{title:"拖放文件到此处",divider:"或",browse:"浏览文件"},timePicker:{am:"上午",pm:"下午",title:"选择时间",hour:"小时",minute:"分钟",second:"秒"},pagination:{ariaLabel:{root:"分页导航",next:"下一页",previous:"上一页",page:"转到页面 {0}",currentPage:"当前页 {0}",first:"第一页",last:"最后一页"}},stepper:{next:"下一步",prev:"上一步"},rating:{ariaLabel:{item:"评分 {0} / {1}"}},loading:"加载中...",infiniteScroll:{loadMore:"加载更多",empty:"没有更多内容"},rules:{required:"此字段为必填项",email:"请输入有效的电子邮件地址",number:"此字段只能包含数字",integer:"此字段只能包含整数",capital:"此字段只能包含大写字母",maxLength:"您最多可以输入{0}个字符",minLength:"您必须至少输入{0}个字符",strictLength:"输入字段的长度无效",exclude:"字符{0}是不允许的",notEmpty:"请至少选择一个值",pattern:"格式无效"},hotkey:{then:"然后",ctrl:"Ctrl",command:"Command",shift:"Shift",alt:"Alt",option:"Option",enter:"Enter",escape:"Escape",upArrow:"上箭头",downArrow:"下箭头",leftArrow:"左箭头",rightArrow:"右箭头",backspace:"退格",space:"空格",plus:"加",shortcut:"键盘快捷键:{0}",or:"或"},video:{play:"播放",pause:"暂停",seek:"跳转",volume:"音量",showVolume:"显示音量控制",mute:"静音",unmute:"取消静音",enterFullscreen:"全屏",exitFullscreen:"退出全屏"},colorPicker:{ariaLabel:{eyedropper:"从屏幕拾取颜色",hueSlider:"色相",alphaSlider:"不透明度",redInput:"红色",greenInput:"绿色",blueInput:"蓝色",alphaInput:"不透明度",hueInput:"色相",saturationInput:"饱和度",lightnessInput:"亮度",hexInput:"HEX 值",hexaInput:"带不透明度 HEX 值",changeFormat:"更改颜色格式"}}};/**
|
|
3
|
+
* @vue/shared v3.5.24
|
|
4
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
5
|
+
* @license MIT
|
|
6
|
+
**/function yu(i){const e=Object.create(null);for(const t of i.split(","))e[t]=1;return t=>t in e}const Fe={},vs=[],Ii=()=>{},Vg=()=>!1,ko=i=>i.charCodeAt(0)===111&&i.charCodeAt(1)===110&&(i.charCodeAt(2)>122||i.charCodeAt(2)<97),wu=i=>i.startsWith("onUpdate:"),ut=Object.assign,ku=(i,e)=>{const t=i.indexOf(e);t>-1&&i.splice(t,1)},ty=Object.prototype.hasOwnProperty,We=(i,e)=>ty.call(i,e),de=Array.isArray,bs=i=>Ao(i)==="[object Map]",Ug=i=>Ao(i)==="[object Set]",be=i=>typeof i=="function",Qe=i=>typeof i=="string",qi=i=>typeof i=="symbol",qe=i=>i!==null&&typeof i=="object",Au=i=>(qe(i)||be(i))&&be(i.then)&&be(i.catch),Xg=Object.prototype.toString,Ao=i=>Xg.call(i),iy=i=>Ao(i).slice(8,-1),qg=i=>Ao(i)==="[object Object]",Su=i=>Qe(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,cr=yu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),So=i=>{const e=Object.create(null);return(t=>e[t]||(e[t]=i(t)))},ay=/-\w/g,Ut=So(i=>i.replace(ay,e=>e.slice(1).toUpperCase())),sy=/\B([A-Z])/g,Gi=So(i=>i.replace(sy,"-$1").toLowerCase()),jr=So(i=>i.charAt(0).toUpperCase()+i.slice(1)),il=So(i=>i?`on${jr(i)}`:""),Wt=(i,e)=>!Object.is(i,e),In=(i,...e)=>{for(let t=0;t<i.length;t++)i[t](...e)},Gg=(i,e,t,a=!1)=>{Object.defineProperty(i,e,{configurable:!0,enumerable:!1,writable:a,value:t})},Cu=i=>{const e=parseFloat(i);return isNaN(e)?i:e},$g=i=>{const e=Qe(i)?Number(i):NaN;return isNaN(e)?i:e};let Ld;const Co=()=>Ld||(Ld=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Mo(i){if(de(i)){const e={};for(let t=0;t<i.length;t++){const a=i[t],s=Qe(a)?ly(a):Mo(a);if(s)for(const r in s)e[r]=s[r]}return e}else if(Qe(i)||qe(i))return i}const ry=/;(?![^(]*\))/g,ny=/:([^]+)/,oy=/\/\*[^]*?\*\//g;function ly(i){const e={};return i.replace(oy,"").split(ry).forEach(t=>{if(t){const a=t.split(ny);a.length>1&&(e[a[0].trim()]=a[1].trim())}}),e}function Yr(i){let e="";if(Qe(i))e=i;else if(de(i))for(let t=0;t<i.length;t++){const a=Yr(i[t]);a&&(e+=a+" ")}else if(qe(i))for(const t in i)i[t]&&(e+=t+" ");return e.trim()}function _I(i){if(!i)return null;let{class:e,style:t}=i;return e&&!Qe(e)&&(i.class=Yr(e)),t&&(i.style=Mo(t)),i}const cy="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",uy=yu(cy);function Kg(i){return!!i||i===""}const Zg=i=>!!(i&&i.__v_isRef===!0),dy=i=>Qe(i)?i:i==null?"":de(i)||qe(i)&&(i.toString===Xg||!be(i.toString))?Zg(i)?dy(i.value):JSON.stringify(i,Jg,2):String(i),Jg=(i,e)=>Zg(e)?Jg(i,e.value):bs(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[a,s],r)=>(t[al(a,r)+" =>"]=s,t),{})}:Ug(e)?{[`Set(${e.size})`]:[...e.values()].map(t=>al(t))}:qi(e)?al(e):qe(e)&&!de(e)&&!qg(e)?String(e):e,al=(i,e="")=>{var t;return qi(i)?`Symbol(${(t=i.description)!=null?t:e})`:i};/**
|
|
7
|
+
* @vue/reactivity v3.5.24
|
|
8
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
9
|
+
* @license MIT
|
|
10
|
+
**/let xt;class Qg{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=xt,!e&&xt&&(this.index=(xt.scopes||(xt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){const t=xt;try{return xt=this,e()}finally{xt=t}}}on(){++this._on===1&&(this.prevScope=xt,xt=this)}off(){this._on>0&&--this._on===0&&(xt=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let t,a;for(t=0,a=this.effects.length;t<a;t++)this.effects[t].stop();for(this.effects.length=0,t=0,a=this.cleanups.length;t<a;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,a=this.scopes.length;t<a;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function kr(i){return new Qg(i)}function Mu(){return xt}function Eo(i,e=!1){xt&&xt.cleanups.push(i)}let $e;const sl=new WeakSet;class ep{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,xt&&xt.active&&xt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,sl.has(this)&&(sl.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||ip(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Rd(this),ap(this);const e=$e,t=fi;$e=this,fi=!0;try{return this.fn()}finally{sp(this),$e=e,fi=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)_u(e);this.deps=this.depsTail=void 0,Rd(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?sl.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){sc(this)&&this.run()}get dirty(){return sc(this)}}let tp=0,ur,dr;function ip(i,e=!1){if(i.flags|=8,e){i.next=dr,dr=i;return}i.next=ur,ur=i}function Eu(){tp++}function Pu(){if(--tp>0)return;if(dr){let e=dr;for(dr=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let i;for(;ur;){let e=ur;for(ur=void 0;e;){const t=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(a){i||(i=a)}e=t}}if(i)throw i}function ap(i){for(let e=i.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function sp(i){let e,t=i.depsTail,a=t;for(;a;){const s=a.prevDep;a.version===-1?(a===t&&(t=s),_u(a),hy(a)):e=a,a.dep.activeLink=a.prevActiveLink,a.prevActiveLink=void 0,a=s}i.deps=e,i.depsTail=t}function sc(i){for(let e=i.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(rp(e.dep.computed)||e.dep.version!==e.version))return!0;return!!i._dirty}function rp(i){if(i.flags&4&&!(i.flags&16)||(i.flags&=-17,i.globalVersion===Ar)||(i.globalVersion=Ar,!i.isSSR&&i.flags&128&&(!i.deps&&!i._dirty||!sc(i))))return;i.flags|=2;const e=i.dep,t=$e,a=fi;$e=i,fi=!0;try{ap(i);const s=i.fn(i._value);(e.version===0||Wt(s,i._value))&&(i.flags|=128,i._value=s,e.version++)}catch(s){throw e.version++,s}finally{$e=t,fi=a,sp(i),i.flags&=-3}}function _u(i,e=!1){const{dep:t,prevSub:a,nextSub:s}=i;if(a&&(a.nextSub=s,i.prevSub=void 0),s&&(s.prevSub=a,i.nextSub=void 0),t.subs===i&&(t.subs=a,!a&&t.computed)){t.computed.flags&=-5;for(let r=t.computed.deps;r;r=r.nextDep)_u(r,!0)}!e&&!--t.sc&&t.map&&t.map.delete(t.key)}function hy(i){const{prevDep:e,nextDep:t}=i;e&&(e.nextDep=t,i.prevDep=void 0),t&&(t.prevDep=e,i.nextDep=void 0)}let fi=!0;const np=[];function Yi(){np.push(fi),fi=!1}function Vi(){const i=np.pop();fi=i===void 0?!0:i}function Rd(i){const{cleanup:e}=i;if(i.cleanup=void 0,e){const t=$e;$e=void 0;try{e()}finally{$e=t}}}let Ar=0;class fy{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Po{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!$e||!fi||$e===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==$e)t=this.activeLink=new fy($e,this),$e.deps?(t.prevDep=$e.depsTail,$e.depsTail.nextDep=t,$e.depsTail=t):$e.deps=$e.depsTail=t,op(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){const a=t.nextDep;a.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=a),t.prevDep=$e.depsTail,t.nextDep=void 0,$e.depsTail.nextDep=t,$e.depsTail=t,$e.deps===t&&($e.deps=a)}return t}trigger(e){this.version++,Ar++,this.notify(e)}notify(e){Eu();try{for(let t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{Pu()}}}function op(i){if(i.dep.sc++,i.sub.flags&4){const e=i.dep.computed;if(e&&!i.dep.subs){e.flags|=20;for(let a=e.deps;a;a=a.nextDep)op(a)}const t=i.dep.subs;t!==i&&(i.prevSub=t,t&&(t.nextSub=i)),i.dep.subs=i}}const Xn=new WeakMap,Fa=Symbol(""),rc=Symbol(""),Sr=Symbol("");function wt(i,e,t){if(fi&&$e){let a=Xn.get(i);a||Xn.set(i,a=new Map);let s=a.get(t);s||(a.set(t,s=new Po),s.map=a,s.key=t),s.track()}}function Bi(i,e,t,a,s,r){const n=Xn.get(i);if(!n){Ar++;return}const o=l=>{l&&l.trigger()};if(Eu(),e==="clear")n.forEach(o);else{const l=de(i),c=l&&Su(t);if(l&&t==="length"){const u=Number(a);n.forEach((d,h)=>{(h==="length"||h===Sr||!qi(h)&&h>=u)&&o(d)})}else switch((t!==void 0||n.has(void 0))&&o(n.get(t)),c&&o(n.get(Sr)),e){case"add":l?c&&o(n.get("length")):(o(n.get(Fa)),bs(i)&&o(n.get(rc)));break;case"delete":l||(o(n.get(Fa)),bs(i)&&o(n.get(rc)));break;case"set":bs(i)&&o(n.get(Fa));break}}Pu()}function gy(i,e){const t=Xn.get(i);return t&&t.get(e)}function es(i){const e=Pe(i);return e===i?e:(wt(e,"iterate",Sr),si(i)?e:e.map(gt))}function _o(i){return wt(i=Pe(i),"iterate",Sr),i}const py={__proto__:null,[Symbol.iterator](){return rl(this,Symbol.iterator,gt)},concat(...i){return es(this).concat(...i.map(e=>de(e)?es(e):e))},entries(){return rl(this,"entries",i=>(i[1]=gt(i[1]),i))},every(i,e){return Li(this,"every",i,e,void 0,arguments)},filter(i,e){return Li(this,"filter",i,e,t=>t.map(gt),arguments)},find(i,e){return Li(this,"find",i,e,gt,arguments)},findIndex(i,e){return Li(this,"findIndex",i,e,void 0,arguments)},findLast(i,e){return Li(this,"findLast",i,e,gt,arguments)},findLastIndex(i,e){return Li(this,"findLastIndex",i,e,void 0,arguments)},forEach(i,e){return Li(this,"forEach",i,e,void 0,arguments)},includes(...i){return nl(this,"includes",i)},indexOf(...i){return nl(this,"indexOf",i)},join(i){return es(this).join(i)},lastIndexOf(...i){return nl(this,"lastIndexOf",i)},map(i,e){return Li(this,"map",i,e,void 0,arguments)},pop(){return $s(this,"pop")},push(...i){return $s(this,"push",i)},reduce(i,...e){return Nd(this,"reduce",i,e)},reduceRight(i,...e){return Nd(this,"reduceRight",i,e)},shift(){return $s(this,"shift")},some(i,e){return Li(this,"some",i,e,void 0,arguments)},splice(...i){return $s(this,"splice",i)},toReversed(){return es(this).toReversed()},toSorted(i){return es(this).toSorted(i)},toSpliced(...i){return es(this).toSpliced(...i)},unshift(...i){return $s(this,"unshift",i)},values(){return rl(this,"values",gt)}};function rl(i,e,t){const a=_o(i),s=a[e]();return a!==i&&!si(i)&&(s._next=s.next,s.next=()=>{const r=s._next();return r.done||(r.value=t(r.value)),r}),s}const my=Array.prototype;function Li(i,e,t,a,s,r){const n=_o(i),o=n!==i&&!si(i),l=n[e];if(l!==my[e]){const d=l.apply(i,r);return o?gt(d):d}let c=t;n!==i&&(o?c=function(d,h){return t.call(this,gt(d),h,i)}:t.length>2&&(c=function(d,h){return t.call(this,d,h,i)}));const u=l.call(n,c,a);return o&&s?s(u):u}function Nd(i,e,t,a){const s=_o(i);let r=t;return s!==i&&(si(i)?t.length>3&&(r=function(n,o,l){return t.call(this,n,o,l,i)}):r=function(n,o,l){return t.call(this,n,gt(o),l,i)}),s[e](r,...a)}function nl(i,e,t){const a=Pe(i);wt(a,"iterate",Sr);const s=a[e](...t);return(s===-1||s===!1)&&Du(t[0])?(t[0]=Pe(t[0]),a[e](...t)):s}function $s(i,e,t=[]){Yi(),Eu();const a=Pe(i)[e].apply(i,t);return Pu(),Vi(),a}const vy=yu("__proto__,__v_isRef,__isVue"),lp=new Set(Object.getOwnPropertyNames(Symbol).filter(i=>i!=="arguments"&&i!=="caller").map(i=>Symbol[i]).filter(qi));function by(i){qi(i)||(i=String(i));const e=Pe(this);return wt(e,"has",i),e.hasOwnProperty(i)}class cp{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,a){if(t==="__v_skip")return e.__v_skip;const s=this._isReadonly,r=this._isShallow;if(t==="__v_isReactive")return!s;if(t==="__v_isReadonly")return s;if(t==="__v_isShallow")return r;if(t==="__v_raw")return a===(s?r?Py:fp:r?hp:dp).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(a)?e:void 0;const n=de(e);if(!s){let l;if(n&&(l=py[t]))return l;if(t==="hasOwnProperty")return by}const o=Reflect.get(e,t,rt(e)?e:a);if((qi(t)?lp.has(t):vy(t))||(s||wt(e,"get",t),r))return o;if(rt(o)){const l=n&&Su(t)?o:o.value;return s&&qe(l)?oc(l):l}return qe(o)?s?oc(o):Di(o):o}}class up extends cp{constructor(e=!1){super(!1,e)}set(e,t,a,s){let r=e[t];if(!this._isShallow){const l=pa(r);if(!si(a)&&!pa(a)&&(r=Pe(r),a=Pe(a)),!de(e)&&rt(r)&&!rt(a))return l||(r.value=a),!0}const n=de(e)&&Su(t)?Number(t)<e.length:We(e,t),o=Reflect.set(e,t,a,rt(e)?e:s);return e===Pe(s)&&(n?Wt(a,r)&&Bi(e,"set",t,a):Bi(e,"add",t,a)),o}deleteProperty(e,t){const a=We(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&a&&Bi(e,"delete",t,void 0),s}has(e,t){const a=Reflect.has(e,t);return(!qi(t)||!lp.has(t))&&wt(e,"has",t),a}ownKeys(e){return wt(e,"iterate",de(e)?"length":Fa),Reflect.ownKeys(e)}}class xy extends cp{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const yy=new up,wy=new xy,ky=new up(!0);const nc=i=>i,dn=i=>Reflect.getPrototypeOf(i);function Ay(i,e,t){return function(...a){const s=this.__v_raw,r=Pe(s),n=bs(r),o=i==="entries"||i===Symbol.iterator&&n,l=i==="keys"&&n,c=s[i](...a),u=t?nc:e?qn:gt;return!e&&wt(r,"iterate",l?rc:Fa),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:o?[u(d[0]),u(d[1])]:u(d),done:h}},[Symbol.iterator](){return this}}}}function hn(i){return function(...e){return i==="delete"?!1:i==="clear"?void 0:this}}function Sy(i,e){const t={get(s){const r=this.__v_raw,n=Pe(r),o=Pe(s);i||(Wt(s,o)&&wt(n,"get",s),wt(n,"get",o));const{has:l}=dn(n),c=e?nc:i?qn:gt;if(l.call(n,s))return c(r.get(s));if(l.call(n,o))return c(r.get(o));r!==n&&r.get(s)},get size(){const s=this.__v_raw;return!i&&wt(Pe(s),"iterate",Fa),s.size},has(s){const r=this.__v_raw,n=Pe(r),o=Pe(s);return i||(Wt(s,o)&&wt(n,"has",s),wt(n,"has",o)),s===o?r.has(s):r.has(s)||r.has(o)},forEach(s,r){const n=this,o=n.__v_raw,l=Pe(o),c=e?nc:i?qn:gt;return!i&&wt(l,"iterate",Fa),o.forEach((u,d)=>s.call(r,c(u),c(d),n))}};return ut(t,i?{add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear")}:{add(s){!e&&!si(s)&&!pa(s)&&(s=Pe(s));const r=Pe(this);return dn(r).has.call(r,s)||(r.add(s),Bi(r,"add",s,s)),this},set(s,r){!e&&!si(r)&&!pa(r)&&(r=Pe(r));const n=Pe(this),{has:o,get:l}=dn(n);let c=o.call(n,s);c||(s=Pe(s),c=o.call(n,s));const u=l.call(n,s);return n.set(s,r),c?Wt(r,u)&&Bi(n,"set",s,r):Bi(n,"add",s,r),this},delete(s){const r=Pe(this),{has:n,get:o}=dn(r);let l=n.call(r,s);l||(s=Pe(s),l=n.call(r,s)),o&&o.call(r,s);const c=r.delete(s);return l&&Bi(r,"delete",s,void 0),c},clear(){const s=Pe(this),r=s.size!==0,n=s.clear();return r&&Bi(s,"clear",void 0,void 0),n}}),["keys","values","entries",Symbol.iterator].forEach(s=>{t[s]=Ay(s,i,e)}),t}function Iu(i,e){const t=Sy(i,e);return(a,s,r)=>s==="__v_isReactive"?!i:s==="__v_isReadonly"?i:s==="__v_raw"?a:Reflect.get(We(t,s)&&s in a?t:a,s,r)}const Cy={get:Iu(!1,!1)},My={get:Iu(!1,!0)},Ey={get:Iu(!0,!1)};const dp=new WeakMap,hp=new WeakMap,fp=new WeakMap,Py=new WeakMap;function _y(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Iy(i){return i.__v_skip||!Object.isExtensible(i)?0:_y(iy(i))}function Di(i){return pa(i)?i:Tu(i,!1,yy,Cy,dp)}function gp(i){return Tu(i,!1,ky,My,hp)}function oc(i){return Tu(i,!0,wy,Ey,fp)}function Tu(i,e,t,a,s){if(!qe(i)||i.__v_raw&&!(e&&i.__v_isReactive))return i;const r=Iy(i);if(r===0)return i;const n=s.get(i);if(n)return n;const o=new Proxy(i,r===2?a:t);return s.set(i,o),o}function da(i){return pa(i)?da(i.__v_raw):!!(i&&i.__v_isReactive)}function pa(i){return!!(i&&i.__v_isReadonly)}function si(i){return!!(i&&i.__v_isShallow)}function Du(i){return i?!!i.__v_raw:!1}function Pe(i){const e=i&&i.__v_raw;return e?Pe(e):i}function Lu(i){return!We(i,"__v_skip")&&Object.isExtensible(i)&&Gg(i,"__v_skip",!0),i}const gt=i=>qe(i)?Di(i):i,qn=i=>qe(i)?oc(i):i;function rt(i){return i?i.__v_isRef===!0:!1}function Ze(i){return pp(i,!1)}function Ti(i){return pp(i,!0)}function pp(i,e){return rt(i)?i:new Ty(i,e)}class Ty{constructor(e,t){this.dep=new Po,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:Pe(e),this._value=t?e:gt(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,a=this.__v_isShallow||si(e)||pa(e);e=a?e:Pe(e),Wt(e,t)&&(this._rawValue=e,this._value=a?e:gt(e),this.dep.trigger())}}function ei(i){return rt(i)?i.value:i}function Dy(i){return be(i)?i():ei(i)}const Ly={get:(i,e,t)=>e==="__v_raw"?i:ei(Reflect.get(i,e,t)),set:(i,e,t,a)=>{const s=i[e];return rt(s)&&!rt(t)?(s.value=t,!0):Reflect.set(i,e,t,a)}};function mp(i){return da(i)?i:new Proxy(i,Ly)}class Ry{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new Po,{get:a,set:s}=e(t.track.bind(t),t.trigger.bind(t));this._get=a,this._set=s}get value(){return this._value=this._get()}set value(e){this._set(e)}}function Ny(i){return new Ry(i)}function Ru(i){const e=de(i)?new Array(i.length):{};for(const t in i)e[t]=vp(i,t);return e}class Oy{constructor(e,t,a){this._object=e,this._key=t,this._defaultValue=a,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return gy(Pe(this._object),this._key)}}class Fy{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Lt(i,e,t){return rt(i)?i:be(i)?new Fy(i):qe(i)&&arguments.length>1?vp(i,e,t):Ze(i)}function vp(i,e,t){const a=i[e];return rt(a)?a:new Oy(i,e,t)}class zy{constructor(e,t,a){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Po(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ar-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=a}notify(){if(this.flags|=16,!(this.flags&8)&&$e!==this)return ip(this,!0),!0}get value(){const e=this.dep.track();return rp(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function By(i,e,t=!1){let a,s;return be(i)?a=i:(a=i.get,s=i.set),new zy(a,s,t)}const fn={},Gn=new WeakMap;let Ea;function Hy(i,e=!1,t=Ea){if(t){let a=Gn.get(t);a||Gn.set(t,a=[]),a.push(i)}}function Wy(i,e,t=Fe){const{immediate:a,deep:s,once:r,scheduler:n,augmentJob:o,call:l}=t,c=k=>s?k:si(k)||s===!1||s===0?Hi(k,1):Hi(k);let u,d,h,f,g=!1,p=!1;if(rt(i)?(d=()=>i.value,g=si(i)):da(i)?(d=()=>c(i),g=!0):de(i)?(p=!0,g=i.some(k=>da(k)||si(k)),d=()=>i.map(k=>{if(rt(k))return k.value;if(da(k))return c(k);if(be(k))return l?l(k,2):k()})):be(i)?e?d=l?()=>l(i,2):i:d=()=>{if(h){Yi();try{h()}finally{Vi()}}const k=Ea;Ea=u;try{return l?l(i,3,[f]):i(f)}finally{Ea=k}}:d=Ii,e&&s){const k=d,y=s===!0?1/0:s;d=()=>Hi(k(),y)}const m=Mu(),v=()=>{u.stop(),m&&m.active&&ku(m.effects,u)};if(r&&e){const k=e;e=(...y)=>{k(...y),v()}}let b=p?new Array(i.length).fill(fn):fn;const x=k=>{if(!(!(u.flags&1)||!u.dirty&&!k))if(e){const y=u.run();if(s||g||(p?y.some((A,w)=>Wt(A,b[w])):Wt(y,b))){h&&h();const A=Ea;Ea=u;try{const w=[y,b===fn?void 0:p&&b[0]===fn?[]:b,f];b=y,l?l(e,3,w):e(...w)}finally{Ea=A}}}else u.run()};return o&&o(x),u=new ep(d),u.scheduler=n?()=>n(x,!1):x,f=k=>Hy(k,!1,u),h=u.onStop=()=>{const k=Gn.get(u);if(k){if(l)l(k,4);else for(const y of k)y();Gn.delete(u)}},e?a?x(!0):b=u.run():n?n(x.bind(null,!0),!0):u.run(),v.pause=u.pause.bind(u),v.resume=u.resume.bind(u),v.stop=v,v}function Hi(i,e=1/0,t){if(e<=0||!qe(i)||i.__v_skip||(t=t||new Map,(t.get(i)||0)>=e))return i;if(t.set(i,e),e--,rt(i))Hi(i.value,e,t);else if(de(i))for(let a=0;a<i.length;a++)Hi(i[a],e,t);else if(Ug(i)||bs(i))i.forEach(a=>{Hi(a,e,t)});else if(qg(i)){for(const a in i)Hi(i[a],e,t);for(const a of Object.getOwnPropertySymbols(i))Object.prototype.propertyIsEnumerable.call(i,a)&&Hi(i[a],e,t)}return i}/**
|
|
11
|
+
* @vue/runtime-core v3.5.24
|
|
12
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
13
|
+
* @license MIT
|
|
14
|
+
**/function Vr(i,e,t,a){try{return a?i(...a):i()}catch(s){Ur(s,e,t)}}function pi(i,e,t,a){if(be(i)){const s=Vr(i,e,t,a);return s&&Au(s)&&s.catch(r=>{Ur(r,e,t)}),s}if(de(i)){const s=[];for(let r=0;r<i.length;r++)s.push(pi(i[r],e,t,a));return s}}function Ur(i,e,t,a=!0){const s=e?e.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:n}=e&&e.appContext.config||Fe;if(e){let o=e.parent;const l=e.proxy,c=`https://vuejs.org/error-reference/#runtime-${t}`;for(;o;){const u=o.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](i,l,c)===!1)return}o=o.parent}if(r){Yi(),Vr(r,null,10,[i,l,c]),Vi();return}}jy(i,t,s,a,n)}function jy(i,e,t,a=!0,s=!1){if(s)throw i;console.error(i)}const Dt=[];let Mi=-1;const xs=[];let aa=null,ds=0;const bp=Promise.resolve();let $n=null;function Xr(i){const e=$n||bp;return i?e.then(this?i.bind(this):i):e}function Yy(i){let e=Mi+1,t=Dt.length;for(;e<t;){const a=e+t>>>1,s=Dt[a],r=Cr(s);r<i||r===i&&s.flags&2?e=a+1:t=a}return e}function Nu(i){if(!(i.flags&1)){const e=Cr(i),t=Dt[Dt.length-1];!t||!(i.flags&2)&&e>=Cr(t)?Dt.push(i):Dt.splice(Yy(e),0,i),i.flags|=1,xp()}}function xp(){$n||($n=bp.then(wp))}function lc(i){de(i)?xs.push(...i):aa&&i.id===-1?aa.splice(ds+1,0,i):i.flags&1||(xs.push(i),i.flags|=1),xp()}function Od(i,e,t=Mi+1){for(;t<Dt.length;t++){const a=Dt[t];if(a&&a.flags&2){if(i&&a.id!==i.uid)continue;Dt.splice(t,1),t--,a.flags&4&&(a.flags&=-2),a(),a.flags&4||(a.flags&=-2)}}}function yp(i){if(xs.length){const e=[...new Set(xs)].sort((t,a)=>Cr(t)-Cr(a));if(xs.length=0,aa){aa.push(...e);return}for(aa=e,ds=0;ds<aa.length;ds++){const t=aa[ds];t.flags&4&&(t.flags&=-2),t.flags&8||t(),t.flags&=-2}aa=null,ds=0}}const Cr=i=>i.id==null?i.flags&2?-1:1/0:i.id;function wp(i){try{for(Mi=0;Mi<Dt.length;Mi++){const e=Dt[Mi];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),Vr(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Mi<Dt.length;Mi++){const e=Dt[Mi];e&&(e.flags&=-2)}Mi=-1,Dt.length=0,yp(),$n=null,(Dt.length||xs.length)&&wp()}}let mt=null,kp=null;function Kn(i){const e=mt;return mt=i,kp=i&&i.type.__scopeId||null,e}function Ap(i,e=mt,t){if(!e||i._n)return i;const a=(...s)=>{a._d&&eo(-1);const r=Kn(e);let n;try{n=i(...s)}finally{Kn(r),a._d&&eo(1)}return n};return a._n=!0,a._c=!0,a._d=!0,a}function II(i,e){if(mt===null)return i;const t=Fo(mt),a=i.dirs||(i.dirs=[]);for(let s=0;s<e.length;s++){let[r,n,o,l=Fe]=e[s];r&&(be(r)&&(r={mounted:r,updated:r}),r.deep&&Hi(n),a.push({dir:r,instance:t,value:n,oldValue:void 0,arg:o,modifiers:l}))}return i}function ya(i,e,t,a){const s=i.dirs,r=e&&e.dirs;for(let n=0;n<s.length;n++){const o=s[n];r&&(o.oldValue=r[n].value);let l=o.dir[a];l&&(Yi(),pi(l,t,8,[i.el,o,i,e]),Vi())}}const Sp=Symbol("_vte"),Cp=i=>i.__isTeleport,hr=i=>i&&(i.disabled||i.disabled===""),Fd=i=>i&&(i.defer||i.defer===""),zd=i=>typeof SVGElement<"u"&&i instanceof SVGElement,Bd=i=>typeof MathMLElement=="function"&&i instanceof MathMLElement,cc=(i,e)=>{const t=i&&i.to;return Qe(t)?e?e(t):null:t},Mp={name:"Teleport",__isTeleport:!0,process(i,e,t,a,s,r,n,o,l,c){const{mc:u,pc:d,pbc:h,o:{insert:f,querySelector:g,createText:p,createComment:m}}=c,v=hr(e.props);let{shapeFlag:b,children:x,dynamicChildren:k}=e;if(i==null){const y=e.el=p(""),A=e.anchor=p("");f(y,t,a),f(A,t,a);const w=(C,M)=>{b&16&&u(x,C,M,s,r,n,o,l)},S=()=>{const C=e.target=cc(e.props,g),M=Ep(C,e,p,f);C&&(n!=="svg"&&zd(C)?n="svg":n!=="mathml"&&Bd(C)&&(n="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(C),v||(w(C,M),Tn(e,!1)))};v&&(w(t,A),Tn(e,!0)),Fd(e.props)?(e.el.__isMounted=!1,_t(()=>{S(),delete e.el.__isMounted},r)):S()}else{if(Fd(e.props)&&i.el.__isMounted===!1){_t(()=>{Mp.process(i,e,t,a,s,r,n,o,l,c)},r);return}e.el=i.el,e.targetStart=i.targetStart;const y=e.anchor=i.anchor,A=e.target=i.target,w=e.targetAnchor=i.targetAnchor,S=hr(i.props),C=S?t:A,M=S?y:w;if(n==="svg"||zd(A)?n="svg":(n==="mathml"||Bd(A))&&(n="mathml"),k?(h(i.dynamicChildren,k,C,s,r,n,o),Wu(i,e,!0)):l||d(i,e,C,M,s,r,n,o,!1),v)S?e.props&&i.props&&e.props.to!==i.props.to&&(e.props.to=i.props.to):gn(e,t,y,c,1);else if((e.props&&e.props.to)!==(i.props&&i.props.to)){const E=e.target=cc(e.props,g);E&&gn(e,E,null,c,0)}else S&&gn(e,A,w,c,1);Tn(e,v)}},remove(i,e,t,{um:a,o:{remove:s}},r){const{shapeFlag:n,children:o,anchor:l,targetStart:c,targetAnchor:u,target:d,props:h}=i;if(d&&(s(c),s(u)),r&&s(l),n&16){const f=r||!hr(h);for(let g=0;g<o.length;g++){const p=o[g];a(p,e,t,f,!!p.dynamicChildren)}}},move:gn,hydrate:Vy};function gn(i,e,t,{o:{insert:a},m:s},r=2){r===0&&a(i.targetAnchor,e,t);const{el:n,anchor:o,shapeFlag:l,children:c,props:u}=i,d=r===2;if(d&&a(n,e,t),(!d||hr(u))&&l&16)for(let h=0;h<c.length;h++)s(c[h],e,t,2);d&&a(o,e,t)}function Vy(i,e,t,a,s,r,{o:{nextSibling:n,parentNode:o,querySelector:l,insert:c,createText:u}},d){function h(p,m,v,b){m.anchor=d(n(p),m,o(p),t,a,s,r),m.targetStart=v,m.targetAnchor=b}const f=e.target=cc(e.props,l),g=hr(e.props);if(f){const p=f._lpa||f.firstChild;if(e.shapeFlag&16)if(g)h(i,e,p,p&&n(p));else{e.anchor=n(i);let m=p;for(;m;){if(m&&m.nodeType===8){if(m.data==="teleport start anchor")e.targetStart=m;else if(m.data==="teleport anchor"){e.targetAnchor=m,f._lpa=e.targetAnchor&&n(e.targetAnchor);break}}m=n(m)}e.targetAnchor||Ep(f,e,u,c),d(p&&n(p),e,f,t,a,s,r)}Tn(e,g)}else g&&e.shapeFlag&16&&h(i,e,i,n(i));return e.anchor&&n(e.anchor)}const TI=Mp;function Tn(i,e){const t=i.ctx;if(t&&t.ut){let a,s;for(e?(a=i.el,s=i.anchor):(a=i.targetStart,s=i.targetAnchor);a&&a!==s;)a.nodeType===1&&a.setAttribute("data-v-owner",t.uid),a=a.nextSibling;t.ut()}}function Ep(i,e,t,a){const s=e.targetStart=t(""),r=e.targetAnchor=t("");return s[Sp]=r,i&&(a(s,i),a(r,i)),r}const zi=Symbol("_leaveCb"),pn=Symbol("_enterCb");function Pp(){const i={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Fu(()=>{i.isMounted=!0}),zu(()=>{i.isUnmounting=!0}),i}const Kt=[Function,Array],_p={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Kt,onEnter:Kt,onAfterEnter:Kt,onEnterCancelled:Kt,onBeforeLeave:Kt,onLeave:Kt,onAfterLeave:Kt,onLeaveCancelled:Kt,onBeforeAppear:Kt,onAppear:Kt,onAfterAppear:Kt,onAppearCancelled:Kt},Ip=i=>{const e=i.subTree;return e.component?Ip(e.component):e},Uy={name:"BaseTransition",props:_p,setup(i,{slots:e}){const t=Ki(),a=Pp();return()=>{const s=e.default&&Ou(e.default(),!0);if(!s||!s.length)return;const r=Tp(s),n=Pe(i),{mode:o}=n;if(a.isLeaving)return ol(r);const l=Hd(r);if(!l)return ol(r);let c=Mr(l,n,a,t,d=>c=d);l.type!==ht&&Va(l,c);let u=t.subTree&&Hd(t.subTree);if(u&&u.type!==ht&&!_i(u,l)&&Ip(t).type!==ht){let d=Mr(u,n,a,t);if(Va(u,d),o==="out-in"&&l.type!==ht)return a.isLeaving=!0,d.afterLeave=()=>{a.isLeaving=!1,t.job.flags&8||t.update(),delete d.afterLeave,u=void 0},ol(r);o==="in-out"&&l.type!==ht?d.delayLeave=(h,f,g)=>{const p=Dp(a,u);p[String(u.key)]=u,h[zi]=()=>{f(),h[zi]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{g(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function Tp(i){let e=i[0];if(i.length>1){for(const t of i)if(t.type!==ht){e=t;break}}return e}const Xy=Uy;function Dp(i,e){const{leavingVNodes:t}=i;let a=t.get(e.type);return a||(a=Object.create(null),t.set(e.type,a)),a}function Mr(i,e,t,a,s){const{appear:r,mode:n,persisted:o=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:h,onLeave:f,onAfterLeave:g,onLeaveCancelled:p,onBeforeAppear:m,onAppear:v,onAfterAppear:b,onAppearCancelled:x}=e,k=String(i.key),y=Dp(t,i),A=(C,M)=>{C&&pi(C,a,9,M)},w=(C,M)=>{const E=M[1];A(C,M),de(C)?C.every(P=>P.length<=1)&&E():C.length<=1&&E()},S={mode:n,persisted:o,beforeEnter(C){let M=l;if(!t.isMounted)if(r)M=m||l;else return;C[zi]&&C[zi](!0);const E=y[k];E&&_i(i,E)&&E.el[zi]&&E.el[zi](),A(M,[C])},enter(C){let M=c,E=u,P=d;if(!t.isMounted)if(r)M=v||c,E=b||u,P=x||d;else return;let D=!1;const L=C[pn]=B=>{D||(D=!0,B?A(P,[C]):A(E,[C]),S.delayedLeave&&S.delayedLeave(),C[pn]=void 0)};M?w(M,[C,L]):L()},leave(C,M){const E=String(i.key);if(C[pn]&&C[pn](!0),t.isUnmounting)return M();A(h,[C]);let P=!1;const D=C[zi]=L=>{P||(P=!0,M(),L?A(p,[C]):A(g,[C]),C[zi]=void 0,y[E]===i&&delete y[E])};y[E]=i,f?w(f,[C,D]):D()},clone(C){const M=Mr(C,e,t,a,s);return s&&s(M),M}};return S}function ol(i){if(To(i))return i=ma(i),i.children=null,i}function Hd(i){if(!To(i))return Cp(i.type)&&i.children?Tp(i.children):i;if(i.component)return i.component.subTree;const{shapeFlag:e,children:t}=i;if(t){if(e&16)return t[0];if(e&32&&be(t.default))return t.default()}}function Va(i,e){i.shapeFlag&6&&i.component?(i.transition=e,Va(i.component.subTree,e)):i.shapeFlag&128?(i.ssContent.transition=e.clone(i.ssContent),i.ssFallback.transition=e.clone(i.ssFallback)):i.transition=e}function Ou(i,e=!1,t){let a=[],s=0;for(let r=0;r<i.length;r++){let n=i[r];const o=t==null?n.key:String(t)+String(n.key!=null?n.key:r);n.type===kt?(n.patchFlag&128&&s++,a=a.concat(Ou(n.children,e,o))):(e||n.type!==ht)&&a.push(o!=null?ma(n,{key:o}):n)}if(s>1)for(let r=0;r<a.length;r++)a[r].patchFlag=-2;return a}function Io(i,e){return be(i)?ut({name:i.name},e,{setup:i}):i}function DI(){const i=Ki();return i?(i.appContext.config.idPrefix||"v")+"-"+i.ids[0]+i.ids[1]++:""}function Lp(i){i.ids=[i.ids[0]+i.ids[2]+++"-",0,0]}const Zn=new WeakMap;function fr(i,e,t,a,s=!1){if(de(i)){i.forEach((g,p)=>fr(g,e&&(de(e)?e[p]:e),t,a,s));return}if(ys(a)&&!s){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&fr(i,e,t,a.component.subTree);return}const r=a.shapeFlag&4?Fo(a.component):a.el,n=s?null:r,{i:o,r:l}=i,c=e&&e.r,u=o.refs===Fe?o.refs={}:o.refs,d=o.setupState,h=Pe(d),f=d===Fe?Vg:g=>We(h,g);if(c!=null&&c!==l){if(Wd(e),Qe(c))u[c]=null,f(c)&&(d[c]=null);else if(rt(c)){c.value=null;const g=e;g.k&&(u[g.k]=null)}}if(be(l))Vr(l,o,12,[n,u]);else{const g=Qe(l),p=rt(l);if(g||p){const m=()=>{if(i.f){const v=g?f(l)?d[l]:u[l]:l.value;if(s)de(v)&&ku(v,r);else if(de(v))v.includes(r)||v.push(r);else if(g)u[l]=[r],f(l)&&(d[l]=u[l]);else{const b=[r];l.value=b,i.k&&(u[i.k]=b)}}else g?(u[l]=n,f(l)&&(d[l]=n)):p&&(l.value=n,i.k&&(u[i.k]=n))};if(n){const v=()=>{m(),Zn.delete(i)};v.id=-1,Zn.set(i,v),_t(v,t)}else Wd(i),m()}}}function Wd(i){const e=Zn.get(i);e&&(e.flags|=8,Zn.delete(i))}Co().requestIdleCallback;Co().cancelIdleCallback;const ys=i=>!!i.type.__asyncLoader,To=i=>i.type.__isKeepAlive;function qy(i,e){Rp(i,"a",e)}function Gy(i,e){Rp(i,"da",e)}function Rp(i,e,t=St){const a=i.__wdc||(i.__wdc=()=>{let s=t;for(;s;){if(s.isDeactivated)return;s=s.parent}return i()});if(Do(e,a,t),t){let s=t.parent;for(;s&&s.parent;)To(s.parent.vnode)&&$y(a,e,t,s),s=s.parent}}function $y(i,e,t,a){const s=Do(e,i,a,!0);Fp(()=>{ku(a[e],s)},t)}function Do(i,e,t=St,a=!1){if(t){const s=t[i]||(t[i]=[]),r=e.__weh||(e.__weh=(...n)=>{Yi();const o=Xa(t),l=pi(e,t,i,n);return o(),Vi(),l});return a?s.unshift(r):s.push(r),r}}const $i=i=>(e,t=St)=>{(!_r||i==="sp")&&Do(i,(...a)=>e(...a),t)},Np=$i("bm"),Fu=$i("m"),Ky=$i("bu"),Op=$i("u"),zu=$i("bum"),Fp=$i("um"),Zy=$i("sp"),Jy=$i("rtg"),Qy=$i("rtc");function ew(i,e=St){Do("ec",i,e)}const zp="components";function tw(i,e){return Hp(zp,i,!0,e)||i}const Bp=Symbol.for("v-ndc");function LI(i){return Qe(i)?Hp(zp,i,!1)||i:i||Bp}function Hp(i,e,t=!0,a=!1){const s=mt||St;if(s){const r=s.type;{const o=Gw(r,!1);if(o&&(o===e||o===Ut(e)||o===jr(Ut(e))))return r}const n=jd(s[i]||r[i],e)||jd(s.appContext[i],e);return!n&&a?r:n}}function jd(i,e){return i&&(i[e]||i[Ut(e)]||i[jr(Ut(e))])}function RI(i,e,t,a){let s;const r=t,n=de(i);if(n||Qe(i)){const o=n&&da(i);let l=!1,c=!1;o&&(l=!si(i),c=pa(i),i=_o(i)),s=new Array(i.length);for(let u=0,d=i.length;u<d;u++)s[u]=e(l?c?qn(gt(i[u])):gt(i[u]):i[u],u,void 0,r)}else if(typeof i=="number"){s=new Array(i);for(let o=0;o<i;o++)s[o]=e(o+1,o,void 0,r)}else if(qe(i))if(i[Symbol.iterator])s=Array.from(i,(o,l)=>e(o,l,void 0,r));else{const o=Object.keys(i);s=new Array(o.length);for(let l=0,c=o.length;l<c;l++){const u=o[l];s[l]=e(i[u],u,l,r)}}else s=[];return s}function NI(i,e){for(let t=0;t<e.length;t++){const a=e[t];if(de(a))for(let s=0;s<a.length;s++)i[a[s].name]=a[s].fn;else a&&(i[a.name]=a.key?(...s)=>{const r=a.fn(...s);return r&&(r.key=a.key),r}:a.fn)}return i}function OI(i,e,t={},a,s){if(mt.ce||mt.parent&&ys(mt.parent)&&mt.parent.ce){const c=Object.keys(t).length>0;return e!=="default"&&(t.name=e),Pr(),to(kt,null,[at("slot",t,a&&a())],c?-2:64)}let r=i[e];r&&r._c&&(r._d=!1),Pr();const n=r&&Wp(r(t)),o=t.key||n&&n.key,l=to(kt,{key:(o&&!qi(o)?o:`_${e}`)+(!n&&a?"_fb":"")},n||(a?a():[]),n&&i._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),r&&r._c&&(r._d=!0),l}function Wp(i){return i.some(e=>Ua(e)?!(e.type===ht||e.type===kt&&!Wp(e.children)):!0)?i:null}const uc=i=>i?um(i)?Fo(i):uc(i.parent):null,gr=ut(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>uc(i.parent),$root:i=>uc(i.root),$host:i=>i.ce,$emit:i=>i.emit,$options:i=>Yp(i),$forceUpdate:i=>i.f||(i.f=()=>{Nu(i.update)}),$nextTick:i=>i.n||(i.n=Xr.bind(i.proxy)),$watch:i=>Aw.bind(i)}),ll=(i,e)=>i!==Fe&&!i.__isScriptSetup&&We(i,e),iw={get({_:i},e){if(e==="__v_skip")return!0;const{ctx:t,setupState:a,data:s,props:r,accessCache:n,type:o,appContext:l}=i;let c;if(e[0]!=="$"){const f=n[e];if(f!==void 0)switch(f){case 1:return a[e];case 2:return s[e];case 4:return t[e];case 3:return r[e]}else{if(ll(a,e))return n[e]=1,a[e];if(s!==Fe&&We(s,e))return n[e]=2,s[e];if((c=i.propsOptions[0])&&We(c,e))return n[e]=3,r[e];if(t!==Fe&&We(t,e))return n[e]=4,t[e];dc&&(n[e]=0)}}const u=gr[e];let d,h;if(u)return e==="$attrs"&&wt(i.attrs,"get",""),u(i);if((d=o.__cssModules)&&(d=d[e]))return d;if(t!==Fe&&We(t,e))return n[e]=4,t[e];if(h=l.config.globalProperties,We(h,e))return h[e]},set({_:i},e,t){const{data:a,setupState:s,ctx:r}=i;return ll(s,e)?(s[e]=t,!0):a!==Fe&&We(a,e)?(a[e]=t,!0):We(i.props,e)||e[0]==="$"&&e.slice(1)in i?!1:(r[e]=t,!0)},has({_:{data:i,setupState:e,accessCache:t,ctx:a,appContext:s,propsOptions:r,type:n}},o){let l,c;return!!(t[o]||i!==Fe&&o[0]!=="$"&&We(i,o)||ll(e,o)||(l=r[0])&&We(l,o)||We(a,o)||We(gr,o)||We(s.config.globalProperties,o)||(c=n.__cssModules)&&c[o])},defineProperty(i,e,t){return t.get!=null?i._.accessCache[e]=0:We(t,"value")&&this.set(i,e,t.value,null),Reflect.defineProperty(i,e,t)}};function Jn(i){return de(i)?i.reduce((e,t)=>(e[t]=null,e),{}):i}function FI(i,e){return!i||!e?i||e:de(i)&&de(e)?i.concat(e):ut({},Jn(i),Jn(e))}function zI(i){const e=Ki();let t=i();return mc(),Au(t)&&(t=t.catch(a=>{throw Xa(e),a})),[t,()=>Xa(e)]}let dc=!0;function aw(i){const e=Yp(i),t=i.proxy,a=i.ctx;dc=!1,e.beforeCreate&&Yd(e.beforeCreate,i,"bc");const{data:s,computed:r,methods:n,watch:o,provide:l,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:f,updated:g,activated:p,deactivated:m,beforeDestroy:v,beforeUnmount:b,destroyed:x,unmounted:k,render:y,renderTracked:A,renderTriggered:w,errorCaptured:S,serverPrefetch:C,expose:M,inheritAttrs:E,components:P,directives:D,filters:L}=e;if(c&&sw(c,a,null),n)for(const F in n){const H=n[F];be(H)&&(a[F]=H.bind(t))}if(s){const F=s.call(t,t);qe(F)&&(i.data=Di(F))}if(dc=!0,r)for(const F in r){const H=r[F],ie=be(H)?H.bind(t,t):be(H.get)?H.get.bind(t,t):Ii,re=!be(H)&&be(H.set)?H.set.bind(t):Ii,ae=ze({get:ie,set:re});Object.defineProperty(a,F,{enumerable:!0,configurable:!0,get:()=>ae.value,set:le=>ae.value=le})}if(o)for(const F in o)jp(o[F],a,t,F);if(l){const F=be(l)?l.call(t):l;Reflect.ownKeys(F).forEach(H=>{ha(H,F[H])})}u&&Yd(u,i,"c");function N(F,H){de(H)?H.forEach(ie=>F(ie.bind(t))):H&&F(H.bind(t))}if(N(Np,d),N(Fu,h),N(Ky,f),N(Op,g),N(qy,p),N(Gy,m),N(ew,S),N(Qy,A),N(Jy,w),N(zu,b),N(Fp,k),N(Zy,C),de(M))if(M.length){const F=i.exposed||(i.exposed={});M.forEach(H=>{Object.defineProperty(F,H,{get:()=>t[H],set:ie=>t[H]=ie,enumerable:!0})})}else i.exposed||(i.exposed={});y&&i.render===Ii&&(i.render=y),E!=null&&(i.inheritAttrs=E),P&&(i.components=P),D&&(i.directives=D),C&&Lp(i)}function sw(i,e,t=Ii){de(i)&&(i=hc(i));for(const a in i){const s=i[a];let r;qe(s)?"default"in s?r=Je(s.from||a,s.default,!0):r=Je(s.from||a):r=Je(s),rt(r)?Object.defineProperty(e,a,{enumerable:!0,configurable:!0,get:()=>r.value,set:n=>r.value=n}):e[a]=r}}function Yd(i,e,t){pi(de(i)?i.map(a=>a.bind(e.proxy)):i.bind(e.proxy),e,t)}function jp(i,e,t,a){let s=a.includes(".")?tm(t,a):()=>t[a];if(Qe(i)){const r=e[i];be(r)&&At(s,r)}else if(be(i))At(s,i.bind(t));else if(qe(i))if(de(i))i.forEach(r=>jp(r,e,t,a));else{const r=be(i.handler)?i.handler.bind(t):e[i.handler];be(r)&&At(s,r,i)}}function Yp(i){const e=i.type,{mixins:t,extends:a}=e,{mixins:s,optionsCache:r,config:{optionMergeStrategies:n}}=i.appContext,o=r.get(e);let l;return o?l=o:!s.length&&!t&&!a?l=e:(l={},s.length&&s.forEach(c=>Qn(l,c,n,!0)),Qn(l,e,n)),qe(e)&&r.set(e,l),l}function Qn(i,e,t,a=!1){const{mixins:s,extends:r}=e;r&&Qn(i,r,t,!0),s&&s.forEach(n=>Qn(i,n,t,!0));for(const n in e)if(!(a&&n==="expose")){const o=rw[n]||t&&t[n];i[n]=o?o(i[n],e[n]):e[n]}return i}const rw={data:Vd,props:Ud,emits:Ud,methods:ir,computed:ir,beforeCreate:Pt,created:Pt,beforeMount:Pt,mounted:Pt,beforeUpdate:Pt,updated:Pt,beforeDestroy:Pt,beforeUnmount:Pt,destroyed:Pt,unmounted:Pt,activated:Pt,deactivated:Pt,errorCaptured:Pt,serverPrefetch:Pt,components:ir,directives:ir,watch:ow,provide:Vd,inject:nw};function Vd(i,e){return e?i?function(){return ut(be(i)?i.call(this,this):i,be(e)?e.call(this,this):e)}:e:i}function nw(i,e){return ir(hc(i),hc(e))}function hc(i){if(de(i)){const e={};for(let t=0;t<i.length;t++)e[i[t]]=i[t];return e}return i}function Pt(i,e){return i?[...new Set([].concat(i,e))]:e}function ir(i,e){return i?ut(Object.create(null),i,e):e}function Ud(i,e){return i?de(i)&&de(e)?[...new Set([...i,...e])]:ut(Object.create(null),Jn(i),Jn(e??{})):e}function ow(i,e){if(!i)return e;if(!e)return i;const t=ut(Object.create(null),i);for(const a in e)t[a]=Pt(i[a],e[a]);return t}function Vp(){return{app:null,config:{isNativeTag:Vg,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let lw=0;function cw(i,e){return function(a,s=null){be(a)||(a=ut({},a)),s!=null&&!qe(s)&&(s=null);const r=Vp(),n=new WeakSet,o=[];let l=!1;const c=r.app={_uid:lw++,_component:a,_props:s,_container:null,_context:r,_instance:null,version:Kw,get config(){return r.config},set config(u){},use(u,...d){return n.has(u)||(u&&be(u.install)?(n.add(u),u.install(c,...d)):be(u)&&(n.add(u),u(c,...d))),c},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),c},component(u,d){return d?(r.components[u]=d,c):r.components[u]},directive(u,d){return d?(r.directives[u]=d,c):r.directives[u]},mount(u,d,h){if(!l){const f=c._ceVNode||at(a,s);return f.appContext=r,h===!0?h="svg":h===!1&&(h=void 0),i(f,u,h),l=!0,c._container=u,u.__vue_app__=c,Fo(f.component)}},onUnmount(u){o.push(u)},unmount(){l&&(pi(o,c._instance,16),i(null,c._container),delete c._container.__vue_app__)},provide(u,d){return r.provides[u]=d,c},runWithContext(u){const d=za;za=c;try{return u()}finally{za=d}}};return c}}let za=null;function ha(i,e){if(St){let t=St.provides;const a=St.parent&&St.parent.provides;a===t&&(t=St.provides=Object.create(a)),t[i]=e}}function Je(i,e,t=!1){const a=Ki();if(a||za){let s=za?za._context.provides:a?a.parent==null||a.ce?a.vnode.appContext&&a.vnode.appContext.provides:a.parent.provides:void 0;if(s&&i in s)return s[i];if(arguments.length>1)return t&&be(e)?e.call(a&&a.proxy):e}}function Up(){return!!(Ki()||za)}const Xp={},qp=()=>Object.create(Xp),Gp=i=>Object.getPrototypeOf(i)===Xp;function uw(i,e,t,a=!1){const s={},r=qp();i.propsDefaults=Object.create(null),$p(i,e,s,r);for(const n in i.propsOptions[0])n in s||(s[n]=void 0);t?i.props=a?s:gp(s):i.type.props?i.props=s:i.props=r,i.attrs=r}function dw(i,e,t,a){const{props:s,attrs:r,vnode:{patchFlag:n}}=i,o=Pe(s),[l]=i.propsOptions;let c=!1;if((a||n>0)&&!(n&16)){if(n&8){const u=i.vnode.dynamicProps;for(let d=0;d<u.length;d++){let h=u[d];if(No(i.emitsOptions,h))continue;const f=e[h];if(l)if(We(r,h))f!==r[h]&&(r[h]=f,c=!0);else{const g=Ut(h);s[g]=fc(l,o,g,f,i,!1)}else f!==r[h]&&(r[h]=f,c=!0)}}}else{$p(i,e,s,r)&&(c=!0);let u;for(const d in o)(!e||!We(e,d)&&((u=Gi(d))===d||!We(e,u)))&&(l?t&&(t[d]!==void 0||t[u]!==void 0)&&(s[d]=fc(l,o,d,void 0,i,!0)):delete s[d]);if(r!==o)for(const d in r)(!e||!We(e,d))&&(delete r[d],c=!0)}c&&Bi(i.attrs,"set","")}function $p(i,e,t,a){const[s,r]=i.propsOptions;let n=!1,o;if(e)for(let l in e){if(cr(l))continue;const c=e[l];let u;s&&We(s,u=Ut(l))?!r||!r.includes(u)?t[u]=c:(o||(o={}))[u]=c:No(i.emitsOptions,l)||(!(l in a)||c!==a[l])&&(a[l]=c,n=!0)}if(r){const l=Pe(t),c=o||Fe;for(let u=0;u<r.length;u++){const d=r[u];t[d]=fc(s,l,d,c[d],i,!We(c,d))}}return n}function fc(i,e,t,a,s,r){const n=i[t];if(n!=null){const o=We(n,"default");if(o&&a===void 0){const l=n.default;if(n.type!==Function&&!n.skipFactory&&be(l)){const{propsDefaults:c}=s;if(t in c)a=c[t];else{const u=Xa(s);a=c[t]=l.call(null,e),u()}}else a=l;s.ce&&s.ce._setProp(t,a)}n[0]&&(r&&!o?a=!1:n[1]&&(a===""||a===Gi(t))&&(a=!0))}return a}const hw=new WeakMap;function Kp(i,e,t=!1){const a=t?hw:e.propsCache,s=a.get(i);if(s)return s;const r=i.props,n={},o=[];let l=!1;if(!be(i)){const u=d=>{l=!0;const[h,f]=Kp(d,e,!0);ut(n,h),f&&o.push(...f)};!t&&e.mixins.length&&e.mixins.forEach(u),i.extends&&u(i.extends),i.mixins&&i.mixins.forEach(u)}if(!r&&!l)return qe(i)&&a.set(i,vs),vs;if(de(r))for(let u=0;u<r.length;u++){const d=Ut(r[u]);Xd(d)&&(n[d]=Fe)}else if(r)for(const u in r){const d=Ut(u);if(Xd(d)){const h=r[u],f=n[d]=de(h)||be(h)?{type:h}:ut({},h),g=f.type;let p=!1,m=!0;if(de(g))for(let v=0;v<g.length;++v){const b=g[v],x=be(b)&&b.name;if(x==="Boolean"){p=!0;break}else x==="String"&&(m=!1)}else p=be(g)&&g.name==="Boolean";f[0]=p,f[1]=m,(p||We(f,"default"))&&o.push(d)}}const c=[n,o];return qe(i)&&a.set(i,c),c}function Xd(i){return i[0]!=="$"&&!cr(i)}const Bu=i=>i==="_"||i==="_ctx"||i==="$stable",Hu=i=>de(i)?i.map(ci):[ci(i)],fw=(i,e,t)=>{if(e._n)return e;const a=Ap((...s)=>Hu(e(...s)),t);return a._c=!1,a},Zp=(i,e,t)=>{const a=i._ctx;for(const s in i){if(Bu(s))continue;const r=i[s];if(be(r))e[s]=fw(s,r,a);else if(r!=null){const n=Hu(r);e[s]=()=>n}}},Jp=(i,e)=>{const t=Hu(e);i.slots.default=()=>t},Qp=(i,e,t)=>{for(const a in e)(t||!Bu(a))&&(i[a]=e[a])},gw=(i,e,t)=>{const a=i.slots=qp();if(i.vnode.shapeFlag&32){const s=e._;s?(Qp(a,e,t),t&&Gg(a,"_",s,!0)):Zp(e,a)}else e&&Jp(i,e)},pw=(i,e,t)=>{const{vnode:a,slots:s}=i;let r=!0,n=Fe;if(a.shapeFlag&32){const o=e._;o?t&&o===1?r=!1:Qp(s,e,t):(r=!e.$stable,Zp(e,s)),n=e}else e&&(Jp(i,e),n={default:1});if(r)for(const o in s)!Bu(o)&&n[o]==null&&delete s[o]},_t=Ow;function mw(i){return vw(i)}function vw(i,e){const t=Co();t.__VUE__=!0;const{insert:a,remove:s,patchProp:r,createElement:n,createText:o,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:f=Ii,insertStaticContent:g}=i,p=(_,I,R,W=null,U=null,Y=null,se=void 0,Z=null,K=!!I.dynamicChildren)=>{if(_===I)return;_&&!_i(_,I)&&(W=O(_),le(_,U,Y,!0),_=null),I.patchFlag===-2&&(K=!1,I.dynamicChildren=null);const{type:q,ref:me,shapeFlag:ne}=I;switch(q){case Oo:m(_,I,R,W);break;case ht:v(_,I,R,W);break;case ul:_==null&&b(I,R,W,se);break;case kt:P(_,I,R,W,U,Y,se,Z,K);break;default:ne&1?y(_,I,R,W,U,Y,se,Z,K):ne&6?D(_,I,R,W,U,Y,se,Z,K):(ne&64||ne&128)&&q.process(_,I,R,W,U,Y,se,Z,K,J)}me!=null&&U?fr(me,_&&_.ref,Y,I||_,!I):me==null&&_&&_.ref!=null&&fr(_.ref,null,Y,_,!0)},m=(_,I,R,W)=>{if(_==null)a(I.el=o(I.children),R,W);else{const U=I.el=_.el;I.children!==_.children&&c(U,I.children)}},v=(_,I,R,W)=>{_==null?a(I.el=l(I.children||""),R,W):I.el=_.el},b=(_,I,R,W)=>{[_.el,_.anchor]=g(_.children,I,R,W,_.el,_.anchor)},x=({el:_,anchor:I},R,W)=>{let U;for(;_&&_!==I;)U=h(_),a(_,R,W),_=U;a(I,R,W)},k=({el:_,anchor:I})=>{let R;for(;_&&_!==I;)R=h(_),s(_),_=R;s(I)},y=(_,I,R,W,U,Y,se,Z,K)=>{if(I.type==="svg"?se="svg":I.type==="math"&&(se="mathml"),_==null)A(I,R,W,U,Y,se,Z,K);else{const q=_.el&&_.el._isVueCE?_.el:null;try{q&&q._beginPatch(),C(_,I,U,Y,se,Z,K)}finally{q&&q._endPatch()}}},A=(_,I,R,W,U,Y,se,Z)=>{let K,q;const{props:me,shapeFlag:ne,transition:he,dirs:ke}=_;if(K=_.el=n(_.type,Y,me&&me.is,me),ne&8?u(K,_.children):ne&16&&S(_.children,K,null,W,U,cl(_,Y),se,Z),ke&&ya(_,null,W,"created"),w(K,_,_.scopeId,se,W),me){for(const Ge in me)Ge!=="value"&&!cr(Ge)&&r(K,Ge,null,me[Ge],Y,W);"value"in me&&r(K,"value",null,me.value,Y),(q=me.onVnodeBeforeMount)&&ki(q,W,_)}ke&&ya(_,null,W,"beforeMount");const Ie=bw(U,he);Ie&&he.beforeEnter(K),a(K,I,R),((q=me&&me.onVnodeMounted)||Ie||ke)&&_t(()=>{q&&ki(q,W,_),Ie&&he.enter(K),ke&&ya(_,null,W,"mounted")},U)},w=(_,I,R,W,U)=>{if(R&&f(_,R),W)for(let Y=0;Y<W.length;Y++)f(_,W[Y]);if(U){let Y=U.subTree;if(I===Y||sm(Y.type)&&(Y.ssContent===I||Y.ssFallback===I)){const se=U.vnode;w(_,se,se.scopeId,se.slotScopeIds,U.parent)}}},S=(_,I,R,W,U,Y,se,Z,K=0)=>{for(let q=K;q<_.length;q++){const me=_[q]=Z?sa(_[q]):ci(_[q]);p(null,me,I,R,W,U,Y,se,Z)}},C=(_,I,R,W,U,Y,se)=>{const Z=I.el=_.el;let{patchFlag:K,dynamicChildren:q,dirs:me}=I;K|=_.patchFlag&16;const ne=_.props||Fe,he=I.props||Fe;let ke;if(R&&wa(R,!1),(ke=he.onVnodeBeforeUpdate)&&ki(ke,R,I,_),me&&ya(I,_,R,"beforeUpdate"),R&&wa(R,!0),(ne.innerHTML&&he.innerHTML==null||ne.textContent&&he.textContent==null)&&u(Z,""),q?M(_.dynamicChildren,q,Z,R,W,cl(I,U),Y):se||H(_,I,Z,null,R,W,cl(I,U),Y,!1),K>0){if(K&16)E(Z,ne,he,R,U);else if(K&2&&ne.class!==he.class&&r(Z,"class",null,he.class,U),K&4&&r(Z,"style",ne.style,he.style,U),K&8){const Ie=I.dynamicProps;for(let Ge=0;Ge<Ie.length;Ge++){const Ye=Ie[Ge],zt=ne[Ye],Bt=he[Ye];(Bt!==zt||Ye==="value")&&r(Z,Ye,zt,Bt,U,R)}}K&1&&_.children!==I.children&&u(Z,I.children)}else!se&&q==null&&E(Z,ne,he,R,U);((ke=he.onVnodeUpdated)||me)&&_t(()=>{ke&&ki(ke,R,I,_),me&&ya(I,_,R,"updated")},W)},M=(_,I,R,W,U,Y,se)=>{for(let Z=0;Z<I.length;Z++){const K=_[Z],q=I[Z],me=K.el&&(K.type===kt||!_i(K,q)||K.shapeFlag&198)?d(K.el):R;p(K,q,me,null,W,U,Y,se,!0)}},E=(_,I,R,W,U)=>{if(I!==R){if(I!==Fe)for(const Y in I)!cr(Y)&&!(Y in R)&&r(_,Y,I[Y],null,U,W);for(const Y in R){if(cr(Y))continue;const se=R[Y],Z=I[Y];se!==Z&&Y!=="value"&&r(_,Y,Z,se,U,W)}"value"in R&&r(_,"value",I.value,R.value,U)}},P=(_,I,R,W,U,Y,se,Z,K)=>{const q=I.el=_?_.el:o(""),me=I.anchor=_?_.anchor:o("");let{patchFlag:ne,dynamicChildren:he,slotScopeIds:ke}=I;ke&&(Z=Z?Z.concat(ke):ke),_==null?(a(q,R,W),a(me,R,W),S(I.children||[],R,me,U,Y,se,Z,K)):ne>0&&ne&64&&he&&_.dynamicChildren?(M(_.dynamicChildren,he,R,U,Y,se,Z),(I.key!=null||U&&I===U.subTree)&&Wu(_,I,!0)):H(_,I,R,me,U,Y,se,Z,K)},D=(_,I,R,W,U,Y,se,Z,K)=>{I.slotScopeIds=Z,_==null?I.shapeFlag&512?U.ctx.activate(I,R,W,se,K):L(I,R,W,U,Y,se,K):B(_,I,K)},L=(_,I,R,W,U,Y,se)=>{const Z=_.component=Yw(_,W,U);if(To(_)&&(Z.ctx.renderer=J),Vw(Z,!1,se),Z.asyncDep){if(U&&U.registerDep(Z,N,se),!_.el){const K=Z.subTree=at(ht);v(null,K,I,R),_.placeholder=K.el}}else N(Z,_,I,R,U,Y,se)},B=(_,I,R)=>{const W=I.component=_.component;if(_w(_,I,R))if(W.asyncDep&&!W.asyncResolved){F(W,I,R);return}else W.next=I,W.update();else I.el=_.el,W.vnode=I},N=(_,I,R,W,U,Y,se)=>{const Z=()=>{if(_.isMounted){let{next:ne,bu:he,u:ke,parent:Ie,vnode:Ge}=_;{const yi=em(_);if(yi){ne&&(ne.el=Ge.el,F(_,ne,se)),yi.asyncDep.then(()=>{_.isUnmounted||Z()});return}}let Ye=ne,zt;wa(_,!1),ne?(ne.el=Ge.el,F(_,ne,se)):ne=Ge,he&&In(he),(zt=ne.props&&ne.props.onVnodeBeforeUpdate)&&ki(zt,Ie,ne,Ge),wa(_,!0);const Bt=Gd(_),xi=_.subTree;_.subTree=Bt,p(xi,Bt,d(xi.el),O(xi),_,U,Y),ne.el=Bt.el,Ye===null&&ju(_,Bt.el),ke&&_t(ke,U),(zt=ne.props&&ne.props.onVnodeUpdated)&&_t(()=>ki(zt,Ie,ne,Ge),U)}else{let ne;const{el:he,props:ke}=I,{bm:Ie,m:Ge,parent:Ye,root:zt,type:Bt}=_,xi=ys(I);wa(_,!1),Ie&&In(Ie),!xi&&(ne=ke&&ke.onVnodeBeforeMount)&&ki(ne,Ye,I),wa(_,!0);{zt.ce&&zt.ce._def.shadowRoot!==!1&&zt.ce._injectChildStyle(Bt);const yi=_.subTree=Gd(_);p(null,yi,R,W,_,U,Y),I.el=yi.el}if(Ge&&_t(Ge,U),!xi&&(ne=ke&&ke.onVnodeMounted)){const yi=I;_t(()=>ki(ne,Ye,yi),U)}(I.shapeFlag&256||Ye&&ys(Ye.vnode)&&Ye.vnode.shapeFlag&256)&&_.a&&_t(_.a,U),_.isMounted=!0,I=R=W=null}};_.scope.on();const K=_.effect=new ep(Z);_.scope.off();const q=_.update=K.run.bind(K),me=_.job=K.runIfDirty.bind(K);me.i=_,me.id=_.uid,K.scheduler=()=>Nu(me),wa(_,!0),q()},F=(_,I,R)=>{I.component=_;const W=_.vnode.props;_.vnode=I,_.next=null,dw(_,I.props,W,R),pw(_,I.children,R),Yi(),Od(_),Vi()},H=(_,I,R,W,U,Y,se,Z,K=!1)=>{const q=_&&_.children,me=_?_.shapeFlag:0,ne=I.children,{patchFlag:he,shapeFlag:ke}=I;if(he>0){if(he&128){re(q,ne,R,W,U,Y,se,Z,K);return}else if(he&256){ie(q,ne,R,W,U,Y,se,Z,K);return}}ke&8?(me&16&&ve(q,U,Y),ne!==q&&u(R,ne)):me&16?ke&16?re(q,ne,R,W,U,Y,se,Z,K):ve(q,U,Y,!0):(me&8&&u(R,""),ke&16&&S(ne,R,W,U,Y,se,Z,K))},ie=(_,I,R,W,U,Y,se,Z,K)=>{_=_||vs,I=I||vs;const q=_.length,me=I.length,ne=Math.min(q,me);let he;for(he=0;he<ne;he++){const ke=I[he]=K?sa(I[he]):ci(I[he]);p(_[he],ke,R,null,U,Y,se,Z,K)}q>me?ve(_,U,Y,!0,!1,ne):S(I,R,W,U,Y,se,Z,K,ne)},re=(_,I,R,W,U,Y,se,Z,K)=>{let q=0;const me=I.length;let ne=_.length-1,he=me-1;for(;q<=ne&&q<=he;){const ke=_[q],Ie=I[q]=K?sa(I[q]):ci(I[q]);if(_i(ke,Ie))p(ke,Ie,R,null,U,Y,se,Z,K);else break;q++}for(;q<=ne&&q<=he;){const ke=_[ne],Ie=I[he]=K?sa(I[he]):ci(I[he]);if(_i(ke,Ie))p(ke,Ie,R,null,U,Y,se,Z,K);else break;ne--,he--}if(q>ne){if(q<=he){const ke=he+1,Ie=ke<me?I[ke].el:W;for(;q<=he;)p(null,I[q]=K?sa(I[q]):ci(I[q]),R,Ie,U,Y,se,Z,K),q++}}else if(q>he)for(;q<=ne;)le(_[q],U,Y,!0),q++;else{const ke=q,Ie=q,Ge=new Map;for(q=Ie;q<=he;q++){const Xt=I[q]=K?sa(I[q]):ci(I[q]);Xt.key!=null&&Ge.set(Xt.key,q)}let Ye,zt=0;const Bt=he-Ie+1;let xi=!1,yi=0;const Gs=new Array(Bt);for(q=0;q<Bt;q++)Gs[q]=0;for(q=ke;q<=ne;q++){const Xt=_[q];if(zt>=Bt){le(Xt,U,Y,!0);continue}let wi;if(Xt.key!=null)wi=Ge.get(Xt.key);else for(Ye=Ie;Ye<=he;Ye++)if(Gs[Ye-Ie]===0&&_i(Xt,I[Ye])){wi=Ye;break}wi===void 0?le(Xt,U,Y,!0):(Gs[wi-Ie]=q+1,wi>=yi?yi=wi:xi=!0,p(Xt,I[wi],R,null,U,Y,se,Z,K),zt++)}const Id=xi?xw(Gs):vs;for(Ye=Id.length-1,q=Bt-1;q>=0;q--){const Xt=Ie+q,wi=I[Xt],Td=I[Xt+1],Dd=Xt+1<me?Td.el||Td.placeholder:W;Gs[q]===0?p(null,wi,R,Dd,U,Y,se,Z,K):xi&&(Ye<0||q!==Id[Ye]?ae(wi,R,Dd,2):Ye--)}}},ae=(_,I,R,W,U=null)=>{const{el:Y,type:se,transition:Z,children:K,shapeFlag:q}=_;if(q&6){ae(_.component.subTree,I,R,W);return}if(q&128){_.suspense.move(I,R,W);return}if(q&64){se.move(_,I,R,J);return}if(se===kt){a(Y,I,R);for(let ne=0;ne<K.length;ne++)ae(K[ne],I,R,W);a(_.anchor,I,R);return}if(se===ul){x(_,I,R);return}if(W!==2&&q&1&&Z)if(W===0)Z.beforeEnter(Y),a(Y,I,R),_t(()=>Z.enter(Y),U);else{const{leave:ne,delayLeave:he,afterLeave:ke}=Z,Ie=()=>{_.ctx.isUnmounted?s(Y):a(Y,I,R)},Ge=()=>{Y._isLeaving&&Y[zi](!0),ne(Y,()=>{Ie(),ke&&ke()})};he?he(Y,Ie,Ge):Ge()}else a(Y,I,R)},le=(_,I,R,W=!1,U=!1)=>{const{type:Y,props:se,ref:Z,children:K,dynamicChildren:q,shapeFlag:me,patchFlag:ne,dirs:he,cacheIndex:ke}=_;if(ne===-2&&(U=!1),Z!=null&&(Yi(),fr(Z,null,R,_,!0),Vi()),ke!=null&&(I.renderCache[ke]=void 0),me&256){I.ctx.deactivate(_);return}const Ie=me&1&&he,Ge=!ys(_);let Ye;if(Ge&&(Ye=se&&se.onVnodeBeforeUnmount)&&ki(Ye,I,_),me&6)Re(_.component,R,W);else{if(me&128){_.suspense.unmount(R,W);return}Ie&&ya(_,null,I,"beforeUnmount"),me&64?_.type.remove(_,I,R,J,W):q&&!q.hasOnce&&(Y!==kt||ne>0&&ne&64)?ve(q,I,R,!1,!0):(Y===kt&&ne&384||!U&&me&16)&&ve(K,I,R),W&&Me(_)}(Ge&&(Ye=se&&se.onVnodeUnmounted)||Ie)&&_t(()=>{Ye&&ki(Ye,I,_),Ie&&ya(_,null,I,"unmounted")},R)},Me=_=>{const{type:I,el:R,anchor:W,transition:U}=_;if(I===kt){pe(R,W);return}if(I===ul){k(_);return}const Y=()=>{s(R),U&&!U.persisted&&U.afterLeave&&U.afterLeave()};if(_.shapeFlag&1&&U&&!U.persisted){const{leave:se,delayLeave:Z}=U,K=()=>se(R,Y);Z?Z(_.el,Y,K):K()}else Y()},pe=(_,I)=>{let R;for(;_!==I;)R=h(_),s(_),_=R;s(I)},Re=(_,I,R)=>{const{bum:W,scope:U,job:Y,subTree:se,um:Z,m:K,a:q}=_;qd(K),qd(q),W&&In(W),U.stop(),Y&&(Y.flags|=8,le(se,_,I,R)),Z&&_t(Z,I),_t(()=>{_.isUnmounted=!0},I)},ve=(_,I,R,W=!1,U=!1,Y=0)=>{for(let se=Y;se<_.length;se++)le(_[se],I,R,W,U)},O=_=>{if(_.shapeFlag&6)return O(_.component.subTree);if(_.shapeFlag&128)return _.suspense.next();const I=h(_.anchor||_.el),R=I&&I[Sp];return R?h(R):I};let X=!1;const G=(_,I,R)=>{_==null?I._vnode&&le(I._vnode,null,null,!0):p(I._vnode||null,_,I,null,null,null,R),I._vnode=_,X||(X=!0,Od(),yp(),X=!1)},J={p,um:le,m:ae,r:Me,mt:L,mc:S,pc:H,pbc:M,n:O,o:i};return{render:G,hydrate:void 0,createApp:cw(G)}}function cl({type:i,props:e},t){return t==="svg"&&i==="foreignObject"||t==="mathml"&&i==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:t}function wa({effect:i,job:e},t){t?(i.flags|=32,e.flags|=4):(i.flags&=-33,e.flags&=-5)}function bw(i,e){return(!i||i&&!i.pendingBranch)&&e&&!e.persisted}function Wu(i,e,t=!1){const a=i.children,s=e.children;if(de(a)&&de(s))for(let r=0;r<a.length;r++){const n=a[r];let o=s[r];o.shapeFlag&1&&!o.dynamicChildren&&((o.patchFlag<=0||o.patchFlag===32)&&(o=s[r]=sa(s[r]),o.el=n.el),!t&&o.patchFlag!==-2&&Wu(n,o)),o.type===Oo&&o.patchFlag!==-1&&(o.el=n.el),o.type===ht&&!o.el&&(o.el=n.el)}}function xw(i){const e=i.slice(),t=[0];let a,s,r,n,o;const l=i.length;for(a=0;a<l;a++){const c=i[a];if(c!==0){if(s=t[t.length-1],i[s]<c){e[a]=s,t.push(a);continue}for(r=0,n=t.length-1;r<n;)o=r+n>>1,i[t[o]]<c?r=o+1:n=o;c<i[t[r]]&&(r>0&&(e[a]=t[r-1]),t[r]=a)}}for(r=t.length,n=t[r-1];r-- >0;)t[r]=n,n=e[n];return t}function em(i){const e=i.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:em(e)}function qd(i){if(i)for(let e=0;e<i.length;e++)i[e].flags|=8}const yw=Symbol.for("v-scx"),ww=()=>Je(yw);function Lo(i,e){return Ro(i,null,e)}function kw(i,e){return Ro(i,null,{flush:"sync"})}function At(i,e,t){return Ro(i,e,t)}function Ro(i,e,t=Fe){const{immediate:a,deep:s,flush:r,once:n}=t,o=ut({},t),l=e&&a||!e&&r!=="post";let c;if(_r){if(r==="sync"){const f=ww();c=f.__watcherHandles||(f.__watcherHandles=[])}else if(!l){const f=()=>{};return f.stop=Ii,f.resume=Ii,f.pause=Ii,f}}const u=St;o.call=(f,g,p)=>pi(f,u,g,p);let d=!1;r==="post"?o.scheduler=f=>{_t(f,u&&u.suspense)}:r!=="sync"&&(d=!0,o.scheduler=(f,g)=>{g?f():Nu(f)}),o.augmentJob=f=>{e&&(f.flags|=4),d&&(f.flags|=2,u&&(f.id=u.uid,f.i=u))};const h=Wy(i,e,o);return _r&&(c?c.push(h):l&&h()),h}function Aw(i,e,t){const a=this.proxy,s=Qe(i)?i.includes(".")?tm(a,i):()=>a[i]:i.bind(a,a);let r;be(e)?r=e:(r=e.handler,t=e);const n=Xa(this),o=Ro(s,r.bind(a),t);return n(),o}function tm(i,e){const t=e.split(".");return()=>{let a=i;for(let s=0;s<t.length&&a;s++)a=a[t[s]];return a}}function BI(i,e,t=Fe){const a=Ki(),s=Ut(e),r=Gi(e),n=im(i,s),o=Ny((l,c)=>{let u,d=Fe,h;return kw(()=>{const f=i[s];Wt(u,f)&&(u=f,c())}),{get(){return l(),t.get?t.get(u):u},set(f){const g=t.set?t.set(f):f;if(!Wt(g,u)&&!(d!==Fe&&Wt(f,d)))return;const p=a.vnode.props;p&&(e in p||s in p||r in p)&&(`onUpdate:${e}`in p||`onUpdate:${s}`in p||`onUpdate:${r}`in p)||(u=f,c()),a.emit(`update:${e}`,g),Wt(f,g)&&Wt(f,d)&&!Wt(g,h)&&c(),d=f,h=g}}});return o[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?n||Fe:o,done:!1}:{done:!0}}}},o}const im=(i,e)=>e==="modelValue"||e==="model-value"?i.modelModifiers:i[`${e}Modifiers`]||i[`${Ut(e)}Modifiers`]||i[`${Gi(e)}Modifiers`];function Sw(i,e,...t){if(i.isUnmounted)return;const a=i.vnode.props||Fe;let s=t;const r=e.startsWith("update:"),n=r&&im(a,e.slice(7));n&&(n.trim&&(s=t.map(u=>Qe(u)?u.trim():u)),n.number&&(s=t.map(Cu)));let o,l=a[o=il(e)]||a[o=il(Ut(e))];!l&&r&&(l=a[o=il(Gi(e))]),l&&pi(l,i,6,s);const c=a[o+"Once"];if(c){if(!i.emitted)i.emitted={};else if(i.emitted[o])return;i.emitted[o]=!0,pi(c,i,6,s)}}const Cw=new WeakMap;function am(i,e,t=!1){const a=t?Cw:e.emitsCache,s=a.get(i);if(s!==void 0)return s;const r=i.emits;let n={},o=!1;if(!be(i)){const l=c=>{const u=am(c,e,!0);u&&(o=!0,ut(n,u))};!t&&e.mixins.length&&e.mixins.forEach(l),i.extends&&l(i.extends),i.mixins&&i.mixins.forEach(l)}return!r&&!o?(qe(i)&&a.set(i,null),null):(de(r)?r.forEach(l=>n[l]=null):ut(n,r),qe(i)&&a.set(i,n),n)}function No(i,e){return!i||!ko(e)?!1:(e=e.slice(2).replace(/Once$/,""),We(i,e[0].toLowerCase()+e.slice(1))||We(i,Gi(e))||We(i,e))}function Gd(i){const{type:e,vnode:t,proxy:a,withProxy:s,propsOptions:[r],slots:n,attrs:o,emit:l,render:c,renderCache:u,props:d,data:h,setupState:f,ctx:g,inheritAttrs:p}=i,m=Kn(i);let v,b;try{if(t.shapeFlag&4){const k=s||a,y=k;v=ci(c.call(y,k,u,d,f,h,g)),b=o}else{const k=e;v=ci(k.length>1?k(d,{attrs:o,slots:n,emit:l}):k(d,null)),b=e.props?o:Ew(o)}}catch(k){pr.length=0,Ur(k,i,1),v=at(ht)}let x=v;if(b&&p!==!1){const k=Object.keys(b),{shapeFlag:y}=x;k.length&&y&7&&(r&&k.some(wu)&&(b=Pw(b,r)),x=ma(x,b,!1,!0))}return t.dirs&&(x=ma(x,null,!1,!0),x.dirs=x.dirs?x.dirs.concat(t.dirs):t.dirs),t.transition&&Va(x,t.transition),v=x,Kn(m),v}function Mw(i,e=!0){let t;for(let a=0;a<i.length;a++){const s=i[a];if(Ua(s)){if(s.type!==ht||s.children==="v-if"){if(t)return;t=s}}else return}return t}const Ew=i=>{let e;for(const t in i)(t==="class"||t==="style"||ko(t))&&((e||(e={}))[t]=i[t]);return e},Pw=(i,e)=>{const t={};for(const a in i)(!wu(a)||!(a.slice(9)in e))&&(t[a]=i[a]);return t};function _w(i,e,t){const{props:a,children:s,component:r}=i,{props:n,children:o,patchFlag:l}=e,c=r.emitsOptions;if(e.dirs||e.transition)return!0;if(t&&l>=0){if(l&1024)return!0;if(l&16)return a?$d(a,n,c):!!n;if(l&8){const u=e.dynamicProps;for(let d=0;d<u.length;d++){const h=u[d];if(n[h]!==a[h]&&!No(c,h))return!0}}}else return(s||o)&&(!o||!o.$stable)?!0:a===n?!1:a?n?$d(a,n,c):!0:!!n;return!1}function $d(i,e,t){const a=Object.keys(e);if(a.length!==Object.keys(i).length)return!0;for(let s=0;s<a.length;s++){const r=a[s];if(e[r]!==i[r]&&!No(t,r))return!0}return!1}function ju({vnode:i,parent:e},t){for(;e;){const a=e.subTree;if(a.suspense&&a.suspense.activeBranch===i&&(a.el=i.el),a===i)(i=e.vnode).el=t,e=e.parent;else break}}const sm=i=>i.__isSuspense;let gc=0;const Iw={name:"Suspense",__isSuspense:!0,process(i,e,t,a,s,r,n,o,l,c){if(i==null)Dw(e,t,a,s,r,n,o,l,c);else{if(r&&r.deps>0&&!i.suspense.isInFallback){e.suspense=i.suspense,e.suspense.vnode=e,e.el=i.el;return}Lw(i,e,t,a,s,n,o,l,c)}},hydrate:Rw,normalize:Nw},Tw=Iw;function Er(i,e){const t=i.props&&i.props[e];be(t)&&t()}function Dw(i,e,t,a,s,r,n,o,l){const{p:c,o:{createElement:u}}=l,d=u("div"),h=i.suspense=rm(i,s,a,e,d,t,r,n,o,l);c(null,h.pendingBranch=i.ssContent,d,null,a,h,r,n),h.deps>0?(Er(i,"onPending"),Er(i,"onFallback"),c(null,i.ssFallback,e,t,a,null,r,n),ws(h,i.ssFallback)):h.resolve(!1,!0)}function Lw(i,e,t,a,s,r,n,o,{p:l,um:c,o:{createElement:u}}){const d=e.suspense=i.suspense;d.vnode=e,e.el=i.el;const h=e.ssContent,f=e.ssFallback,{activeBranch:g,pendingBranch:p,isInFallback:m,isHydrating:v}=d;if(p)d.pendingBranch=h,_i(p,h)?(l(p,h,d.hiddenContainer,null,s,d,r,n,o),d.deps<=0?d.resolve():m&&(v||(l(g,f,t,a,s,null,r,n,o),ws(d,f)))):(d.pendingId=gc++,v?(d.isHydrating=!1,d.activeBranch=p):c(p,s,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),m?(l(null,h,d.hiddenContainer,null,s,d,r,n,o),d.deps<=0?d.resolve():(l(g,f,t,a,s,null,r,n,o),ws(d,f))):g&&_i(g,h)?(l(g,h,t,a,s,d,r,n,o),d.resolve(!0)):(l(null,h,d.hiddenContainer,null,s,d,r,n,o),d.deps<=0&&d.resolve()));else if(g&&_i(g,h))l(g,h,t,a,s,d,r,n,o),ws(d,h);else if(Er(e,"onPending"),d.pendingBranch=h,h.shapeFlag&512?d.pendingId=h.component.suspenseId:d.pendingId=gc++,l(null,h,d.hiddenContainer,null,s,d,r,n,o),d.deps<=0)d.resolve();else{const{timeout:b,pendingId:x}=d;b>0?setTimeout(()=>{d.pendingId===x&&d.fallback(f)},b):b===0&&d.fallback(f)}}function rm(i,e,t,a,s,r,n,o,l,c,u=!1){const{p:d,m:h,um:f,n:g,o:{parentNode:p,remove:m}}=c;let v;const b=Fw(i);b&&e&&e.pendingBranch&&(v=e.pendingId,e.deps++);const x=i.props?$g(i.props.timeout):void 0,k=r,y={vnode:i,parent:e,parentComponent:t,namespace:n,container:a,hiddenContainer:s,deps:0,pendingId:gc++,timeout:typeof x=="number"?x:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(A=!1,w=!1){const{vnode:S,activeBranch:C,pendingBranch:M,pendingId:E,effects:P,parentComponent:D,container:L,isInFallback:B}=y;let N=!1;y.isHydrating?y.isHydrating=!1:A||(N=C&&M.transition&&M.transition.mode==="out-in",N&&(C.transition.afterLeave=()=>{E===y.pendingId&&(h(M,L,r===k?g(C):r,0),lc(P),B&&S.ssFallback&&(S.ssFallback.el=null))}),C&&(p(C.el)===L&&(r=g(C)),f(C,D,y,!0),!N&&B&&S.ssFallback&&(S.ssFallback.el=null)),N||h(M,L,r,0)),ws(y,M),y.pendingBranch=null,y.isInFallback=!1;let F=y.parent,H=!1;for(;F;){if(F.pendingBranch){F.effects.push(...P),H=!0;break}F=F.parent}!H&&!N&&lc(P),y.effects=[],b&&e&&e.pendingBranch&&v===e.pendingId&&(e.deps--,e.deps===0&&!w&&e.resolve()),Er(S,"onResolve")},fallback(A){if(!y.pendingBranch)return;const{vnode:w,activeBranch:S,parentComponent:C,container:M,namespace:E}=y;Er(w,"onFallback");const P=g(S),D=()=>{y.isInFallback&&(d(null,A,M,P,C,null,E,o,l),ws(y,A))},L=A.transition&&A.transition.mode==="out-in";L&&(S.transition.afterLeave=D),y.isInFallback=!0,f(S,C,null,!0),L||D()},move(A,w,S){y.activeBranch&&h(y.activeBranch,A,w,S),y.container=A},next(){return y.activeBranch&&g(y.activeBranch)},registerDep(A,w,S){const C=!!y.pendingBranch;C&&y.deps++;const M=A.vnode.el;A.asyncDep.catch(E=>{Ur(E,A,0)}).then(E=>{if(A.isUnmounted||y.isUnmounted||y.pendingId!==A.suspenseId)return;A.asyncResolved=!0;const{vnode:P}=A;vc(A,E),M&&(P.el=M);const D=!M&&A.subTree.el;w(A,P,p(M||A.subTree.el),M?null:g(A.subTree),y,n,S),D&&(P.placeholder=null,m(D)),ju(A,P.el),C&&--y.deps===0&&y.resolve()})},unmount(A,w){y.isUnmounted=!0,y.activeBranch&&f(y.activeBranch,t,A,w),y.pendingBranch&&f(y.pendingBranch,t,A,w)}};return y}function Rw(i,e,t,a,s,r,n,o,l){const c=e.suspense=rm(e,a,t,i.parentNode,document.createElement("div"),null,s,r,n,o,!0),u=l(i,c.pendingBranch=e.ssContent,t,c,r,n);return c.deps===0&&c.resolve(!1,!0),u}function Nw(i){const{shapeFlag:e,children:t}=i,a=e&32;i.ssContent=Kd(a?t.default:t),i.ssFallback=a?Kd(t.fallback):at(ht)}function Kd(i){let e;if(be(i)){const t=Cs&&i._c;t&&(i._d=!1,Pr()),i=i(),t&&(i._d=!0,e=jt,nm())}return de(i)&&(i=Mw(i)),i=ci(i),e&&!i.dynamicChildren&&(i.dynamicChildren=e.filter(t=>t!==i)),i}function Ow(i,e){e&&e.pendingBranch?de(i)?e.effects.push(...i):e.effects.push(i):lc(i)}function ws(i,e){i.activeBranch=e;const{vnode:t,parentComponent:a}=i;let s=e.el;for(;!s&&e.component;)e=e.component.subTree,s=e.el;t.el=s,a&&a.subTree===t&&(a.vnode.el=s,ju(a,s))}function Fw(i){const e=i.props&&i.props.suspensible;return e!=null&&e!==!1}const kt=Symbol.for("v-fgt"),Oo=Symbol.for("v-txt"),ht=Symbol.for("v-cmt"),ul=Symbol.for("v-stc"),pr=[];let jt=null;function Pr(i=!1){pr.push(jt=i?null:[])}function nm(){pr.pop(),jt=pr[pr.length-1]||null}let Cs=1;function eo(i,e=!1){Cs+=i,i<0&&jt&&e&&(jt.hasOnce=!0)}function om(i){return i.dynamicChildren=Cs>0?jt||vs:null,nm(),Cs>0&&jt&&jt.push(i),i}function HI(i,e,t,a,s,r){return om(gs(i,e,t,a,s,r,!0))}function to(i,e,t,a,s){return om(at(i,e,t,a,s,!0))}function Ua(i){return i?i.__v_isVNode===!0:!1}function _i(i,e){return i.type===e.type&&i.key===e.key}const lm=({key:i})=>i??null,Dn=({ref:i,ref_key:e,ref_for:t})=>(typeof i=="number"&&(i=""+i),i!=null?Qe(i)||rt(i)||be(i)?{i:mt,r:i,k:e,f:!!t}:i:null);function gs(i,e=null,t=null,a=0,s=null,r=i===kt?0:1,n=!1,o=!1){const l={__v_isVNode:!0,__v_skip:!0,type:i,props:e,key:e&&lm(e),ref:e&&Dn(e),scopeId:kp,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:a,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:mt};return o?(Yu(l,t),r&128&&i.normalize(l)):t&&(l.shapeFlag|=Qe(t)?8:16),Cs>0&&!n&&jt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&jt.push(l),l}const at=zw;function zw(i,e=null,t=null,a=0,s=null,r=!1){if((!i||i===Bp)&&(i=ht),Ua(i)){const o=ma(i,e,!0);return t&&Yu(o,t),Cs>0&&!r&&jt&&(o.shapeFlag&6?jt[jt.indexOf(i)]=o:jt.push(o)),o.patchFlag=-2,o}if($w(i)&&(i=i.__vccOpts),e){e=Bw(e);let{class:o,style:l}=e;o&&!Qe(o)&&(e.class=Yr(o)),qe(l)&&(Du(l)&&!de(l)&&(l=ut({},l)),e.style=Mo(l))}const n=Qe(i)?1:sm(i)?128:Cp(i)?64:qe(i)?4:be(i)?2:0;return gs(i,e,t,a,s,n,r,!0)}function Bw(i){return i?Du(i)||Gp(i)?ut({},i):i:null}function ma(i,e,t=!1,a=!1){const{props:s,ref:r,patchFlag:n,children:o,transition:l}=i,c=e?cm(s||{},e):s,u={__v_isVNode:!0,__v_skip:!0,type:i.type,props:c,key:c&&lm(c),ref:e&&e.ref?t&&r?de(r)?r.concat(Dn(e)):[r,Dn(e)]:Dn(e):r,scopeId:i.scopeId,slotScopeIds:i.slotScopeIds,children:o,target:i.target,targetStart:i.targetStart,targetAnchor:i.targetAnchor,staticCount:i.staticCount,shapeFlag:i.shapeFlag,patchFlag:e&&i.type!==kt?n===-1?16:n|16:n,dynamicProps:i.dynamicProps,dynamicChildren:i.dynamicChildren,appContext:i.appContext,dirs:i.dirs,transition:l,component:i.component,suspense:i.suspense,ssContent:i.ssContent&&ma(i.ssContent),ssFallback:i.ssFallback&&ma(i.ssFallback),placeholder:i.placeholder,el:i.el,anchor:i.anchor,ctx:i.ctx,ce:i.ce};return l&&a&&Va(u,l.clone(u)),u}function Hw(i=" ",e=0){return at(Oo,null,i,e)}function WI(i="",e=!1){return e?(Pr(),to(ht,null,i)):at(ht,null,i)}function ci(i){return i==null||typeof i=="boolean"?at(ht):de(i)?at(kt,null,i.slice()):Ua(i)?sa(i):at(Oo,null,String(i))}function sa(i){return i.el===null&&i.patchFlag!==-1||i.memo?i:ma(i)}function Yu(i,e){let t=0;const{shapeFlag:a}=i;if(e==null)e=null;else if(de(e))t=16;else if(typeof e=="object")if(a&65){const s=e.default;s&&(s._c&&(s._d=!1),Yu(i,s()),s._c&&(s._d=!0));return}else{t=32;const s=e._;!s&&!Gp(e)?e._ctx=mt:s===3&&mt&&(mt.slots._===1?e._=1:(e._=2,i.patchFlag|=1024))}else be(e)?(e={default:e,_ctx:mt},t=32):(e=String(e),a&64?(t=16,e=[Hw(e)]):t=8);i.children=e,i.shapeFlag|=t}function cm(...i){const e={};for(let t=0;t<i.length;t++){const a=i[t];for(const s in a)if(s==="class")e.class!==a.class&&(e.class=Yr([e.class,a.class]));else if(s==="style")e.style=Mo([e.style,a.style]);else if(ko(s)){const r=e[s],n=a[s];n&&r!==n&&!(de(r)&&r.includes(n))&&(e[s]=r?[].concat(r,n):n)}else s!==""&&(e[s]=a[s])}return e}function ki(i,e,t,a=null){pi(i,e,7,[t,a])}const Ww=Vp();let jw=0;function Yw(i,e,t){const a=i.type,s=(e?e.appContext:i.appContext)||Ww,r={uid:jw++,vnode:i,type:a,parent:e,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Qg(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(s.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Kp(a,s),emitsOptions:am(a,s),emit:null,emitted:null,propsDefaults:Fe,inheritAttrs:a.inheritAttrs,ctx:Fe,data:Fe,props:Fe,attrs:Fe,slots:Fe,refs:Fe,setupState:Fe,setupContext:null,suspense:t,suspenseId:t?t.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=e?e.root:r,r.emit=Sw.bind(null,r),i.ce&&i.ce(r),r}let St=null;const Ki=()=>St||mt;let io,pc;{const i=Co(),e=(t,a)=>{let s;return(s=i[t])||(s=i[t]=[]),s.push(a),r=>{s.length>1?s.forEach(n=>n(r)):s[0](r)}};io=e("__VUE_INSTANCE_SETTERS__",t=>St=t),pc=e("__VUE_SSR_SETTERS__",t=>_r=t)}const Xa=i=>{const e=St;return io(i),i.scope.on(),()=>{i.scope.off(),io(e)}},mc=()=>{St&&St.scope.off(),io(null)};function um(i){return i.vnode.shapeFlag&4}let _r=!1;function Vw(i,e=!1,t=!1){e&&pc(e);const{props:a,children:s}=i.vnode,r=um(i);uw(i,a,r,e),gw(i,s,t||e);const n=r?Uw(i,e):void 0;return e&&pc(!1),n}function Uw(i,e){const t=i.type;i.accessCache=Object.create(null),i.proxy=new Proxy(i.ctx,iw);const{setup:a}=t;if(a){Yi();const s=i.setupContext=a.length>1?qw(i):null,r=Xa(i),n=Vr(a,i,0,[i.props,s]),o=Au(n);if(Vi(),r(),(o||i.sp)&&!ys(i)&&Lp(i),o){if(n.then(mc,mc),e)return n.then(l=>{vc(i,l)}).catch(l=>{Ur(l,i,0)});i.asyncDep=n}else vc(i,n)}else dm(i)}function vc(i,e,t){be(e)?i.type.__ssrInlineRender?i.ssrRender=e:i.render=e:qe(e)&&(i.setupState=mp(e)),dm(i)}function dm(i,e,t){const a=i.type;i.render||(i.render=a.render||Ii);{const s=Xa(i);Yi();try{aw(i)}finally{Vi(),s()}}}const Xw={get(i,e){return wt(i,"get",""),i[e]}};function qw(i){const e=t=>{i.exposed=t||{}};return{attrs:new Proxy(i.attrs,Xw),slots:i.slots,emit:i.emit,expose:e}}function Fo(i){return i.exposed?i.exposeProxy||(i.exposeProxy=new Proxy(mp(Lu(i.exposed)),{get(e,t){if(t in e)return e[t];if(t in gr)return gr[t](i)},has(e,t){return t in e||t in gr}})):i.proxy}function Gw(i,e=!0){return be(i)?i.displayName||i.name:i.name||e&&i.__name}function $w(i){return be(i)&&"__vccOpts"in i}const ze=(i,e)=>By(i,e,_r);function qr(i,e,t){try{eo(-1);const a=arguments.length;return a===2?qe(e)&&!de(e)?Ua(e)?at(i,null,[e]):at(i,e):at(i,null,e):(a>3?t=Array.prototype.slice.call(arguments,2):a===3&&Ua(t)&&(t=[t]),at(i,e,t))}finally{eo(1)}}const Kw="3.5.24";/**
|
|
15
|
+
* @vue/runtime-dom v3.5.24
|
|
16
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
17
|
+
* @license MIT
|
|
18
|
+
**/let bc;const Zd=typeof window<"u"&&window.trustedTypes;if(Zd)try{bc=Zd.createPolicy("vue",{createHTML:i=>i})}catch{}const hm=bc?i=>bc.createHTML(i):i=>i,Zw="http://www.w3.org/2000/svg",Jw="http://www.w3.org/1998/Math/MathML",Fi=typeof document<"u"?document:null,Jd=Fi&&Fi.createElement("template"),Qw={insert:(i,e,t)=>{e.insertBefore(i,t||null)},remove:i=>{const e=i.parentNode;e&&e.removeChild(i)},createElement:(i,e,t,a)=>{const s=e==="svg"?Fi.createElementNS(Zw,i):e==="mathml"?Fi.createElementNS(Jw,i):t?Fi.createElement(i,{is:t}):Fi.createElement(i);return i==="select"&&a&&a.multiple!=null&&s.setAttribute("multiple",a.multiple),s},createText:i=>Fi.createTextNode(i),createComment:i=>Fi.createComment(i),setText:(i,e)=>{i.nodeValue=e},setElementText:(i,e)=>{i.textContent=e},parentNode:i=>i.parentNode,nextSibling:i=>i.nextSibling,querySelector:i=>Fi.querySelector(i),setScopeId(i,e){i.setAttribute(e,"")},insertStaticContent(i,e,t,a,s,r){const n=t?t.previousSibling:e.lastChild;if(s&&(s===r||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),t),!(s===r||!(s=s.nextSibling)););else{Jd.innerHTML=hm(a==="svg"?`<svg>${i}</svg>`:a==="mathml"?`<math>${i}</math>`:i);const o=Jd.content;if(a==="svg"||a==="mathml"){const l=o.firstChild;for(;l.firstChild;)o.appendChild(l.firstChild);o.removeChild(l)}e.insertBefore(o,t)}return[n?n.nextSibling:e.firstChild,t?t.previousSibling:e.lastChild]}},Ji="transition",Ks="animation",Ms=Symbol("_vtc"),fm={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},gm=ut({},_p,fm),e0=i=>(i.displayName="Transition",i.props=gm,i),jI=e0((i,{slots:e})=>qr(Xy,pm(i),e)),ka=(i,e=[])=>{de(i)?i.forEach(t=>t(...e)):i&&i(...e)},Qd=i=>i?de(i)?i.some(e=>e.length>1):i.length>1:!1;function pm(i){const e={};for(const P in i)P in fm||(e[P]=i[P]);if(i.css===!1)return e;const{name:t="v",type:a,duration:s,enterFromClass:r=`${t}-enter-from`,enterActiveClass:n=`${t}-enter-active`,enterToClass:o=`${t}-enter-to`,appearFromClass:l=r,appearActiveClass:c=n,appearToClass:u=o,leaveFromClass:d=`${t}-leave-from`,leaveActiveClass:h=`${t}-leave-active`,leaveToClass:f=`${t}-leave-to`}=i,g=t0(s),p=g&&g[0],m=g&&g[1],{onBeforeEnter:v,onEnter:b,onEnterCancelled:x,onLeave:k,onLeaveCancelled:y,onBeforeAppear:A=v,onAppear:w=b,onAppearCancelled:S=x}=e,C=(P,D,L,B)=>{P._enterCancelled=B,ta(P,D?u:o),ta(P,D?c:n),L&&L()},M=(P,D)=>{P._isLeaving=!1,ta(P,d),ta(P,f),ta(P,h),D&&D()},E=P=>(D,L)=>{const B=P?w:b,N=()=>C(D,P,L);ka(B,[D,N]),eh(()=>{ta(D,P?l:r),Si(D,P?u:o),Qd(B)||th(D,a,p,N)})};return ut(e,{onBeforeEnter(P){ka(v,[P]),Si(P,r),Si(P,n)},onBeforeAppear(P){ka(A,[P]),Si(P,l),Si(P,c)},onEnter:E(!1),onAppear:E(!0),onLeave(P,D){P._isLeaving=!0;const L=()=>M(P,D);Si(P,d),P._enterCancelled?(Si(P,h),xc(P)):(xc(P),Si(P,h)),eh(()=>{P._isLeaving&&(ta(P,d),Si(P,f),Qd(k)||th(P,a,m,L))}),ka(k,[P,L])},onEnterCancelled(P){C(P,!1,void 0,!0),ka(x,[P])},onAppearCancelled(P){C(P,!0,void 0,!0),ka(S,[P])},onLeaveCancelled(P){M(P),ka(y,[P])}})}function t0(i){if(i==null)return null;if(qe(i))return[dl(i.enter),dl(i.leave)];{const e=dl(i);return[e,e]}}function dl(i){return $g(i)}function Si(i,e){e.split(/\s+/).forEach(t=>t&&i.classList.add(t)),(i[Ms]||(i[Ms]=new Set)).add(e)}function ta(i,e){e.split(/\s+/).forEach(a=>a&&i.classList.remove(a));const t=i[Ms];t&&(t.delete(e),t.size||(i[Ms]=void 0))}function eh(i){requestAnimationFrame(()=>{requestAnimationFrame(i)})}let i0=0;function th(i,e,t,a){const s=i._endId=++i0,r=()=>{s===i._endId&&a()};if(t!=null)return setTimeout(r,t);const{type:n,timeout:o,propCount:l}=mm(i,e);if(!n)return a();const c=n+"end";let u=0;const d=()=>{i.removeEventListener(c,h),r()},h=f=>{f.target===i&&++u>=l&&d()};setTimeout(()=>{u<l&&d()},o+1),i.addEventListener(c,h)}function mm(i,e){const t=window.getComputedStyle(i),a=g=>(t[g]||"").split(", "),s=a(`${Ji}Delay`),r=a(`${Ji}Duration`),n=ih(s,r),o=a(`${Ks}Delay`),l=a(`${Ks}Duration`),c=ih(o,l);let u=null,d=0,h=0;e===Ji?n>0&&(u=Ji,d=n,h=r.length):e===Ks?c>0&&(u=Ks,d=c,h=l.length):(d=Math.max(n,c),u=d>0?n>c?Ji:Ks:null,h=u?u===Ji?r.length:l.length:0);const f=u===Ji&&/\b(?:transform|all)(?:,|$)/.test(a(`${Ji}Property`).toString());return{type:u,timeout:d,propCount:h,hasTransform:f}}function ih(i,e){for(;i.length<e.length;)i=i.concat(i);return Math.max(...e.map((t,a)=>ah(t)+ah(i[a])))}function ah(i){return i==="auto"?0:Number(i.slice(0,-1).replace(",","."))*1e3}function xc(i){return(i?i.ownerDocument:document).body.offsetHeight}function a0(i,e,t){const a=i[Ms];a&&(e=(e?[e,...a]:[...a]).join(" ")),e==null?i.removeAttribute("class"):t?i.setAttribute("class",e):i.className=e}const ao=Symbol("_vod"),vm=Symbol("_vsh"),YI={name:"show",beforeMount(i,{value:e},{transition:t}){i[ao]=i.style.display==="none"?"":i.style.display,t&&e?t.beforeEnter(i):Zs(i,e)},mounted(i,{value:e},{transition:t}){t&&e&&t.enter(i)},updated(i,{value:e,oldValue:t},{transition:a}){!e!=!t&&(a?e?(a.beforeEnter(i),Zs(i,!0),a.enter(i)):a.leave(i,()=>{Zs(i,!1)}):Zs(i,e))},beforeUnmount(i,{value:e}){Zs(i,e)}};function Zs(i,e){i.style.display=e?i[ao]:"none",i[vm]=!e}const s0=Symbol(""),r0=/(?:^|;)\s*display\s*:/;function n0(i,e,t){const a=i.style,s=Qe(t);let r=!1;if(t&&!s){if(e)if(Qe(e))for(const n of e.split(";")){const o=n.slice(0,n.indexOf(":")).trim();t[o]==null&&Ln(a,o,"")}else for(const n in e)t[n]==null&&Ln(a,n,"");for(const n in t)n==="display"&&(r=!0),Ln(a,n,t[n])}else if(s){if(e!==t){const n=a[s0];n&&(t+=";"+n),a.cssText=t,r=r0.test(t)}}else e&&i.removeAttribute("style");ao in i&&(i[ao]=r?a.display:"",i[vm]&&(a.display="none"))}const sh=/\s*!important$/;function Ln(i,e,t){if(de(t))t.forEach(a=>Ln(i,e,a));else if(t==null&&(t=""),e.startsWith("--"))i.setProperty(e,t);else{const a=o0(i,e);sh.test(t)?i.setProperty(Gi(a),t.replace(sh,""),"important"):i[a]=t}}const rh=["Webkit","Moz","ms"],hl={};function o0(i,e){const t=hl[e];if(t)return t;let a=Ut(e);if(a!=="filter"&&a in i)return hl[e]=a;a=jr(a);for(let s=0;s<rh.length;s++){const r=rh[s]+a;if(r in i)return hl[e]=r}return e}const nh="http://www.w3.org/1999/xlink";function oh(i,e,t,a,s,r=uy(e)){a&&e.startsWith("xlink:")?t==null?i.removeAttributeNS(nh,e.slice(6,e.length)):i.setAttributeNS(nh,e,t):t==null||r&&!Kg(t)?i.removeAttribute(e):i.setAttribute(e,r?"":qi(t)?String(t):t)}function lh(i,e,t,a,s){if(e==="innerHTML"||e==="textContent"){t!=null&&(i[e]=e==="innerHTML"?hm(t):t);return}const r=i.tagName;if(e==="value"&&r!=="PROGRESS"&&!r.includes("-")){const o=r==="OPTION"?i.getAttribute("value")||"":i.value,l=t==null?i.type==="checkbox"?"on":"":String(t);(o!==l||!("_value"in i))&&(i.value=l),t==null&&i.removeAttribute(e),i._value=t;return}let n=!1;if(t===""||t==null){const o=typeof i[e];o==="boolean"?t=Kg(t):t==null&&o==="string"?(t="",n=!0):o==="number"&&(t=0,n=!0)}try{i[e]=t}catch{}n&&i.removeAttribute(s||e)}function hs(i,e,t,a){i.addEventListener(e,t,a)}function l0(i,e,t,a){i.removeEventListener(e,t,a)}const ch=Symbol("_vei");function c0(i,e,t,a,s=null){const r=i[ch]||(i[ch]={}),n=r[e];if(a&&n)n.value=a;else{const[o,l]=u0(e);if(a){const c=r[e]=f0(a,s);hs(i,o,c,l)}else n&&(l0(i,o,n,l),r[e]=void 0)}}const uh=/(?:Once|Passive|Capture)$/;function u0(i){let e;if(uh.test(i)){e={};let a;for(;a=i.match(uh);)i=i.slice(0,i.length-a[0].length),e[a[0].toLowerCase()]=!0}return[i[2]===":"?i.slice(3):Gi(i.slice(2)),e]}let fl=0;const d0=Promise.resolve(),h0=()=>fl||(d0.then(()=>fl=0),fl=Date.now());function f0(i,e){const t=a=>{if(!a._vts)a._vts=Date.now();else if(a._vts<=t.attached)return;pi(g0(a,t.value),e,5,[a])};return t.value=i,t.attached=h0(),t}function g0(i,e){if(de(e)){const t=i.stopImmediatePropagation;return i.stopImmediatePropagation=()=>{t.call(i),i._stopped=!0},e.map(a=>s=>!s._stopped&&a&&a(s))}else return e}const dh=i=>i.charCodeAt(0)===111&&i.charCodeAt(1)===110&&i.charCodeAt(2)>96&&i.charCodeAt(2)<123,p0=(i,e,t,a,s,r)=>{const n=s==="svg";e==="class"?a0(i,a,n):e==="style"?n0(i,t,a):ko(e)?wu(e)||c0(i,e,t,a,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):m0(i,e,a,n))?(lh(i,e,a),!i.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&oh(i,e,a,n,r,e!=="value")):i._isVueCE&&(/[A-Z]/.test(e)||!Qe(a))?lh(i,Ut(e),a,r,e):(e==="true-value"?i._trueValue=a:e==="false-value"&&(i._falseValue=a),oh(i,e,a,n))};function m0(i,e,t,a){if(a)return!!(e==="innerHTML"||e==="textContent"||e in i&&dh(e)&&be(t));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&i.tagName==="IFRAME"||e==="form"||e==="list"&&i.tagName==="INPUT"||e==="type"&&i.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const s=i.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return dh(e)&&Qe(t)?!1:e in i}const bm=new WeakMap,xm=new WeakMap,so=Symbol("_moveCb"),hh=Symbol("_enterCb"),v0=i=>(delete i.props.mode,i),b0=v0({name:"TransitionGroup",props:ut({},gm,{tag:String,moveClass:String}),setup(i,{slots:e}){const t=Ki(),a=Pp();let s,r;return Op(()=>{if(!s.length)return;const n=i.moveClass||`${i.name||"v"}-move`;if(!k0(s[0].el,t.vnode.el,n)){s=[];return}s.forEach(x0),s.forEach(y0);const o=s.filter(w0);xc(t.vnode.el),o.forEach(l=>{const c=l.el,u=c.style;Si(c,n),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[so]=h=>{h&&h.target!==c||(!h||h.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",d),c[so]=null,ta(c,n))};c.addEventListener("transitionend",d)}),s=[]}),()=>{const n=Pe(i),o=pm(n);let l=n.tag||kt;if(s=[],r)for(let c=0;c<r.length;c++){const u=r[c];u.el&&u.el instanceof Element&&(s.push(u),Va(u,Mr(u,o,a,t)),bm.set(u,{left:u.el.offsetLeft,top:u.el.offsetTop}))}r=e.default?Ou(e.default()):[];for(let c=0;c<r.length;c++){const u=r[c];u.key!=null&&Va(u,Mr(u,o,a,t))}return at(l,null,r)}}}),VI=b0;function x0(i){const e=i.el;e[so]&&e[so](),e[hh]&&e[hh]()}function y0(i){xm.set(i,{left:i.el.offsetLeft,top:i.el.offsetTop})}function w0(i){const e=bm.get(i),t=xm.get(i),a=e.left-t.left,s=e.top-t.top;if(a||s){const r=i.el.style;return r.transform=r.webkitTransform=`translate(${a}px,${s}px)`,r.transitionDuration="0s",i}}function k0(i,e,t){const a=i.cloneNode(),s=i[Ms];s&&s.forEach(o=>{o.split(/\s+/).forEach(l=>l&&a.classList.remove(l))}),t.split(/\s+/).forEach(o=>o&&a.classList.add(o)),a.style.display="none";const r=e.nodeType===1?e:e.parentNode;r.appendChild(a);const{hasTransform:n}=mm(a);return r.removeChild(a),n}const fh=i=>{const e=i.props["onUpdate:modelValue"]||!1;return de(e)?t=>In(e,t):e};function A0(i){i.target.composing=!0}function gh(i){const e=i.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const gl=Symbol("_assign");function ph(i,e,t){return e&&(i=i.trim()),t&&(i=Cu(i)),i}const UI={created(i,{modifiers:{lazy:e,trim:t,number:a}},s){i[gl]=fh(s);const r=a||s.props&&s.props.type==="number";hs(i,e?"change":"input",n=>{n.target.composing||i[gl](ph(i.value,t,r))}),(t||r)&&hs(i,"change",()=>{i.value=ph(i.value,t,r)}),e||(hs(i,"compositionstart",A0),hs(i,"compositionend",gh),hs(i,"change",gh))},mounted(i,{value:e}){i.value=e??""},beforeUpdate(i,{value:e,oldValue:t,modifiers:{lazy:a,trim:s,number:r}},n){if(i[gl]=fh(n),i.composing)return;const o=(r||i.type==="number")&&!/^0\d/.test(i.value)?Cu(i.value):i.value,l=e??"";o!==l&&(document.activeElement===i&&i.type!=="range"&&(a&&e===t||s&&i.value.trim()===l)||(i.value=l))}},S0=["ctrl","shift","alt","meta"],C0={stop:i=>i.stopPropagation(),prevent:i=>i.preventDefault(),self:i=>i.target!==i.currentTarget,ctrl:i=>!i.ctrlKey,shift:i=>!i.shiftKey,alt:i=>!i.altKey,meta:i=>!i.metaKey,left:i=>"button"in i&&i.button!==0,middle:i=>"button"in i&&i.button!==1,right:i=>"button"in i&&i.button!==2,exact:(i,e)=>S0.some(t=>i[`${t}Key`]&&!e.includes(t))},XI=(i,e)=>{const t=i._withMods||(i._withMods={}),a=e.join(".");return t[a]||(t[a]=((s,...r)=>{for(let n=0;n<e.length;n++){const o=C0[e[n]];if(o&&o(s,e))return}return i(s,...r)}))},M0={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},qI=(i,e)=>{const t=i._withKeys||(i._withKeys={}),a=e.join(".");return t[a]||(t[a]=(s=>{if(!("key"in s))return;const r=Gi(s.key);if(e.some(n=>n===r||M0[n]===r))return i(s)}))},E0=ut({patchProp:p0},Qw);let mh;function P0(){return mh||(mh=mw(E0))}const _0=((...i)=>{const e=P0().createApp(...i),{mount:t}=e;return e.mount=a=>{const s=T0(a);if(!s)return;const r=e._component;!be(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const n=t(s,!1,I0(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),n},e});function I0(i){if(i instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&i instanceof MathMLElement)return"mathml"}function T0(i){return Qe(i)?document.querySelector(i):i}function GI(i){}function D0(i,e){e=Array.isArray(e)?e.slice(0,-1).map(t=>`'${t}'`).join(", ")+` or '${e.at(-1)}'`:`'${e}'`}const Ot=typeof window<"u",$I=Ot&&"IntersectionObserver"in window,L0=Ot&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),KI=Ot&&"EyeDropper"in window,ym=Ot&&"matchMedia"in window&&typeof window.matchMedia=="function",R0=()=>ym&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function vh(i,e,t){N0(i,e),e.set(i,t)}function N0(i,e){if(e.has(i))throw new TypeError("Cannot initialize the same private elements twice on an object")}function bh(i,e,t){return i.set(wm(i,e),t),t}function Ri(i,e){return i.get(wm(i,e))}function wm(i,e,t){if(typeof i=="function"?i===e:i.has(e))return arguments.length<3?e:t;throw new TypeError("Private element is not present on this object")}function km(i,e,t){const a=e.length-1;if(a<0)return i===void 0?t:i;for(let s=0;s<a;s++){if(i==null)return t;i=i[e[s]]}return i==null||i[e[a]]===void 0?t:i[e[a]]}function yc(i,e,t){return i==null||!e||typeof e!="string"?t:i[e]!==void 0?i[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),km(i,e.split("."),t))}function ZI(i,e,t){if(e===!0)return i===void 0?t:i;if(e==null||typeof e=="boolean")return t;if(i!==Object(i)){if(typeof e!="function")return t;const s=e(i,t);return typeof s>"u"?t:s}if(typeof e=="string")return yc(i,e,t);if(Array.isArray(e))return km(i,e,t);if(typeof e!="function")return t;const a=e(i,t);return typeof a>"u"?t:a}function Am(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:i},(t,a)=>e+a)}function JI(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(i==null||i==="")return;const t=Number(i);return isNaN(t)?String(i):isFinite(t)?`${t}${e}`:void 0}function QI(i){return i!==null&&typeof i=="object"&&!Array.isArray(i)}function xh(i){let e;return i!==null&&typeof i=="object"&&((e=Object.getPrototypeOf(i))===Object.prototype||e===null)}function Sm(i){if(i&&"$el"in i){const e=i.$el;return(e==null?void 0:e.nodeType)===Node.TEXT_NODE?e.nextElementSibling:e}return i}const eT=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function tT(i){return Object.keys(i)}function pl(i,e){return e.every(t=>i.hasOwnProperty(t))}function O0(i,e){const t={};for(const a of e)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a]);return t}function yh(i,e,t){const a=Object.create(null),s=Object.create(null);for(const r in i)e.some(n=>n instanceof RegExp?n.test(r):n===r)?a[r]=i[r]:s[r]=i[r];return[a,s]}function F0(i,e){const t={...i};return e.forEach(a=>delete t[a]),t}const Cm=/^on[^a-z]/,iT=i=>Cm.test(i),z0=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"],B0=["ArrowUp","ArrowDown","ArrowRight","ArrowLeft","Enter","Escape","Tab"," "];function aT(i){return i.isComposing&&B0.includes(i.key)}function sT(i){const[e,t]=yh(i,[Cm]),a=F0(e,z0),[s,r]=yh(t,["class","style","id","inert",/^data-/]);return Object.assign(s,e),Object.assign(r,a),[s,r]}function rT(i){return i==null?[]:Array.isArray(i)?i:[i]}function nT(i,e){let t=0;const a=function(){for(var s=arguments.length,r=new Array(s),n=0;n<s;n++)r[n]=arguments[n];clearTimeout(t),t=setTimeout(()=>i(...r),ei(e))};return a.clear=()=>{clearTimeout(t)},a.immediate=i,a}function Vu(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(e,Math.min(t,i))}function oT(i){const e=i.toString().trim();return e.includes(".")?e.length-e.indexOf(".")-1:0}function wh(i,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return i+t.repeat(Math.max(0,e-i.length))}function kh(i,e){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,e-i.length))+i}function H0(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const t=[];let a=0;for(;a<i.length;)t.push(i.substr(a,e)),a+=e;return t}function lT(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e3;if(i<e)return`${i} B`;const t=e===1024?["Ki","Mi","Gi"]:["k","M","G"];let a=-1;for(;Math.abs(i)>=e&&a<t.length-1;)i/=e,++a;return`${i.toFixed(1)} ${t[a]}B`}function Et(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;const a={};for(const s in i)a[s]=i[s];for(const s in e){const r=i[s],n=e[s];if(xh(r)&&xh(n)){a[s]=Et(r,n,t);continue}if(t&&Array.isArray(r)&&Array.isArray(n)){a[s]=t(r,n);continue}a[s]=n}return a}function W0(i){return i.map(e=>e.type===kt?W0(e.children):e).flat()}function Ba(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Ba.cache.has(i))return Ba.cache.get(i);const e=i.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Ba.cache.set(i,e),e}Ba.cache=new Map;function mn(i,e){if(!e||typeof e!="object")return[];if(Array.isArray(e))return e.map(t=>mn(i,t)).flat(1);if(e.suspense)return mn(i,e.ssContent);if(Array.isArray(e.children))return e.children.map(t=>mn(i,t)).flat(1);if(e.component){if(Object.getOwnPropertyDescriptor(e.component.provides,i))return[e.component];if(e.component.subTree)return mn(i,e.component.subTree).flat(1)}return[]}var ts=new WeakMap,Aa=new WeakMap;class cT{constructor(e){vh(this,ts,[]),vh(this,Aa,0),this.size=e}get isFull(){return Ri(ts,this).length===this.size}push(e){Ri(ts,this)[Ri(Aa,this)]=e,bh(Aa,this,(Ri(Aa,this)+1)%this.size)}values(){return Ri(ts,this).slice(Ri(Aa,this)).concat(Ri(ts,this).slice(0,Ri(Aa,this)))}clear(){Ri(ts,this).length=0,bh(Aa,this,0)}}function uT(i){return"touches"in i?{clientX:i.touches[0].clientX,clientY:i.touches[0].clientY}:{clientX:i.clientX,clientY:i.clientY}}function dT(i){const e=Di({});Lo(()=>{const a=i();for(const s in a)e[s]=a[s]},{flush:"sync"});const t={};for(const a in e)t[a]=Lt(()=>e[a]);return t}function hT(i,e){return i.includes(e)}function fT(i){return i[2].toLowerCase()+i.slice(3)}const gT=()=>[Function,Array];function pT(i,e){return e="on"+jr(e),!!(i[e]||i[`${e}Once`]||i[`${e}Capture`]||i[`${e}OnceCapture`]||i[`${e}CaptureOnce`])}function mT(i){for(var e=arguments.length,t=new Array(e>1?e-1:0),a=1;a<e;a++)t[a-1]=arguments[a];if(Array.isArray(i))for(const s of i)s(...t);else typeof i=="function"&&i(...t)}function j0(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const t=["button","[href]",'input:not([type="hidden"])',"select","textarea","details:not(:has(> summary))","details > summary","[tabindex]",'[contenteditable]:not([contenteditable="false"])',"audio[controls]","video[controls]"].map(s=>`${s}${e?':not([tabindex="-1"])':""}:not([disabled], [inert])`).join(", ");let a;try{a=[...i.querySelectorAll(t)]}catch{return[]}return a.filter(s=>!s.closest("[inert]")).filter(s=>!!s.offsetParent||s.getClientRects().length>0).filter(s=>{var r,n;return!((r=s.parentElement)!=null&&r.closest("details:not([open])"))||s.tagName==="SUMMARY"&&((n=s.parentElement)==null?void 0:n.tagName)==="DETAILS"})}function Y0(i,e,t){let a,s=i.indexOf(document.activeElement);const r=e==="next"?1:-1;do s+=r,a=i[s];while((!a||a.offsetParent==null||!((t==null?void 0:t(a))??!0))&&s<i.length&&s>=0);return a}function V0(i,e){var a,s,r,n;const t=j0(i);if(e==null)(i===document.activeElement||!i.contains(document.activeElement))&&((a=t[0])==null||a.focus());else if(e==="first")(s=t[0])==null||s.focus();else if(e==="last")(r=t.at(-1))==null||r.focus();else if(typeof e=="number")(n=t[e])==null||n.focus();else{const o=Y0(t,e);o?o.focus():V0(i,e==="next"?"first":"last")}}function vT(i){return i==null||typeof i=="string"&&i.trim()===""}function bT(){}function xT(i,e){if(!(Ot&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${e})`)))return null;try{return!!i&&i.matches(e)}catch{return null}}function U0(i){return i.some(e=>Ua(e)?e.type===ht?!1:e.type!==kt||U0(e.children):!0)?i:null}function yT(i,e){if(!Ot||i===0)return e(),()=>{};const t=window.setTimeout(e,i);return()=>window.clearTimeout(t)}function wT(i,e){const t=i.clientX,a=i.clientY,s=e.getBoundingClientRect(),r=s.left,n=s.top,o=s.right,l=s.bottom;return t>=r&&t<=o&&a>=n&&a<=l}function kT(){const i=Ti(),e=t=>{i.value=t};return Object.defineProperty(e,"value",{enumerable:!0,get:()=>i.value,set:t=>i.value=t}),Object.defineProperty(e,"el",{enumerable:!0,get:()=>Sm(i.value)}),e}function AT(i){const e=i.key.length===1,t=!i.ctrlKey&&!i.metaKey&&!i.altKey;return e&&t}function ST(i){return typeof i=="string"||typeof i=="number"||typeof i=="boolean"||typeof i=="bigint"}function CT(i){return"\\^$*+?.()|{}[]".includes(i)?`\\${i}`:i}function MT(i){const e={};for(const t in i)e[Ut(t)]=i[t];return e}function ET(i){const e=["checked","disabled"];return Object.fromEntries(Object.entries(i).filter(t=>{let[a,s]=t;return e.includes(a)?!!s:s!==void 0}))}const is=2.4,Ah=.2126729,Sh=.7151522,Ch=.072175,X0=.55,q0=.58,G0=.57,$0=.62,vn=.03,Mh=1.45,K0=5e-4,Z0=1.25,J0=1.25,Eh=.078,Ph=12.82051282051282,bn=.06,_h=.001;function Ih(i,e){const t=(i.r/255)**is,a=(i.g/255)**is,s=(i.b/255)**is,r=(e.r/255)**is,n=(e.g/255)**is,o=(e.b/255)**is;let l=t*Ah+a*Sh+s*Ch,c=r*Ah+n*Sh+o*Ch;if(l<=vn&&(l+=(vn-l)**Mh),c<=vn&&(c+=(vn-c)**Mh),Math.abs(c-l)<K0)return 0;let u;if(c>l){const d=(c**X0-l**q0)*Z0;u=d<_h?0:d<Eh?d-d*Ph*bn:d-bn}else{const d=(c**$0-l**G0)*J0;u=d>-_h?0:d>-Eh?d-d*Ph*bn:d+bn}return u*100}const ro=.20689655172413793,Q0=i=>i>ro**3?Math.cbrt(i):i/(3*ro**2)+4/29,ek=i=>i>ro?i**3:3*ro**2*(i-4/29);function Mm(i){const e=Q0,t=e(i[1]);return[116*t-16,500*(e(i[0]/.95047)-t),200*(t-e(i[2]/1.08883))]}function Em(i){const e=ek,t=(i[0]+16)/116;return[e(t+i[1]/500)*.95047,e(t),e(t-i[2]/200)*1.08883]}const tk=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],ik=i=>i<=.0031308?i*12.92:1.055*i**(1/2.4)-.055,ak=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],sk=i=>i<=.04045?i/12.92:((i+.055)/1.055)**2.4;function Pm(i){const e=Array(3),t=ik,a=tk;for(let s=0;s<3;++s)e[s]=Math.round(Vu(t(a[s][0]*i[0]+a[s][1]*i[1]+a[s][2]*i[2]))*255);return{r:e[0],g:e[1],b:e[2]}}function Uu(i){let{r:e,g:t,b:a}=i;const s=[0,0,0],r=sk,n=ak;e=r(e/255),t=r(t/255),a=r(a/255);for(let o=0;o<3;++o)s[o]=n[o][0]*e+n[o][1]*t+n[o][2]*a;return s}function rk(i){return!!i&&/^(#|var\(--|(rgb|hsl)a?\()/.test(i)}function PT(i){return rk(i)&&!/^((rgb|hsl)a?\()?var\(--/.test(i)}const Th=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,nk={rgb:(i,e,t,a)=>({r:i,g:e,b:t,a}),rgba:(i,e,t,a)=>({r:i,g:e,b:t,a}),hsl:(i,e,t,a)=>Dh({h:i,s:e,l:t,a}),hsla:(i,e,t,a)=>Dh({h:i,s:e,l:t,a}),hsv:(i,e,t,a)=>qa({h:i,s:e,v:t,a}),hsva:(i,e,t,a)=>qa({h:i,s:e,v:t,a})};function Wi(i){if(typeof i=="number")return{r:(i&16711680)>>16,g:(i&65280)>>8,b:i&255};if(typeof i=="string"&&Th.test(i)){const{groups:e}=i.match(Th),{fn:t,values:a}=e,s=a.split(/,\s*|\s*\/\s*|\s+/).map((r,n)=>r.endsWith("%")||n>0&&n<3&&["hsl","hsla","hsv","hsva"].includes(t)?parseFloat(r)/100:parseFloat(r));return nk[t](...s)}else if(typeof i=="string"){let e=i.startsWith("#")?i.slice(1):i;return[3,4].includes(e.length)?e=e.split("").map(t=>t+t).join(""):[6,8].includes(e.length),Tm(e)}else if(typeof i=="object"){if(pl(i,["r","g","b"]))return i;if(pl(i,["h","s","l"]))return qa(_m(i));if(pl(i,["h","s","v"]))return qa(i)}throw new TypeError(`Invalid color: ${i==null?i:String(i)||i.constructor.name}
|
|
19
|
+
Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function qa(i){const{h:e,s:t,v:a,a:s}=i,r=o=>{const l=(o+e/60)%6;return a-a*t*Math.max(Math.min(l,4-l,1),0)},n=[r(5),r(3),r(1)].map(o=>Math.round(o*255));return{r:n[0],g:n[1],b:n[2],a:s}}function Dh(i){return qa(_m(i))}function ok(i){if(!i)return{h:0,s:1,v:1,a:1};const e=i.r/255,t=i.g/255,a=i.b/255,s=Math.max(e,t,a),r=Math.min(e,t,a);let n=0;s!==r&&(s===e?n=60*(0+(t-a)/(s-r)):s===t?n=60*(2+(a-e)/(s-r)):s===a&&(n=60*(4+(e-t)/(s-r)))),n<0&&(n=n+360);const o=s===0?0:(s-r)/s,l=[n,o,s];return{h:l[0],s:l[1],v:l[2],a:i.a}}function _T(i){const{h:e,s:t,v:a,a:s}=i,r=a-a*t/2,n=r===1||r===0?0:(a-r)/Math.min(r,1-r);return{h:e,s:n,l:r,a:s}}function _m(i){const{h:e,s:t,l:a,a:s}=i,r=a+t*Math.min(a,1-a),n=r===0?0:2-2*a/r;return{h:e,s:n,v:r,a:s}}function lk(i){let{r:e,g:t,b:a,a:s}=i;return s===void 0?`rgb(${e}, ${t}, ${a})`:`rgba(${e}, ${t}, ${a}, ${s})`}function IT(i){return lk(qa(i))}function xn(i){const e=Math.round(i).toString(16);return("00".substr(0,2-e.length)+e).toUpperCase()}function Im(i){let{r:e,g:t,b:a,a:s}=i;return`#${[xn(e),xn(t),xn(a),s!==void 0?xn(Math.round(s*255)):""].join("")}`}function Tm(i){i=ck(i);let[e,t,a,s]=H0(i,2).map(r=>parseInt(r,16));return s=s===void 0?s:s/255,{r:e,g:t,b:a,a:s}}function TT(i){const e=Tm(i);return ok(e)}function DT(i){return Im(qa(i))}function ck(i){return i.startsWith("#")&&(i=i.slice(1)),i=i.replace(/([^0-9a-f])/gi,"F"),(i.length===3||i.length===4)&&(i=i.split("").map(e=>e+e).join("")),i.length!==6&&(i=wh(wh(i,6),8,"F")),i}function uk(i,e){const t=Mm(Uu(i));return t[0]=t[0]+e*10,Pm(Em(t))}function dk(i,e){const t=Mm(Uu(i));return t[0]=t[0]-e*10,Pm(Em(t))}function wc(i){const e=Wi(i);return Uu(e)[1]}function LT(i,e){const t=wc(i),a=wc(e),s=Math.max(t,a),r=Math.min(t,a);return(s+.05)/(r+.05)}function hk(i){const e=Math.abs(Ih(Wi(0),Wi(i)));return Math.abs(Ih(Wi(16777215),Wi(i)))>Math.min(e,50)?"#fff":"#000"}function zo(i,e){return t=>Object.keys(i).reduce((a,s)=>{const n=typeof i[s]=="object"&&i[s]!=null&&!Array.isArray(i[s])?i[s]:{type:i[s]};return t&&s in t?a[s]={...n,default:t[s]}:a[s]=n,e&&!a[s].source&&(a[s].source=e),a},{})}function Os(i,e){const t=Ki();if(!t)throw new Error(`[Vuetify] ${i} must be called from inside a setup function`);return t}function fk(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const e=Os(i).type;return Ba((e==null?void 0:e.aliasName)||(e==null?void 0:e.name))}function gk(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Os("injectSelf");const{provides:t}=e;if(t&&i in t)return t[i]}const Es=Symbol.for("vuetify:defaults");function pk(i){return Ze(i)}function Xu(){const i=Je(Es);if(!i)throw new Error("[Vuetify] Could not find defaults instance");return i}function RT(i,e){const t=Xu(),a=Ze(i),s=ze(()=>{if(ei(e==null?void 0:e.disabled))return t.value;const n=ei(e==null?void 0:e.scoped),o=ei(e==null?void 0:e.reset),l=ei(e==null?void 0:e.root);if(a.value==null&&!(n||o||l))return t.value;let c=Et(a.value,{prev:t.value});if(n)return c;if(o||l){const u=Number(o||1/0);for(let d=0;d<=u&&!(!c||!("prev"in c));d++)c=c.prev;return c&&typeof l=="string"&&l in c&&(c=Et(Et(c,{prev:c}),c[l])),c}return c.prev?Et(c.prev,c):c});return ha(Es,s),s}function mk(i,e){return i.props&&(typeof i.props[e]<"u"||typeof i.props[Ba(e)]<"u")}function vk(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Xu();const a=Os("useDefaults");if(e=e??a.type.name??a.type.__name,!e)throw new Error("[Vuetify] Could not determine component name");const s=ze(()=>{var l;return(l=t.value)==null?void 0:l[i._as??e]}),r=new Proxy(i,{get(l,c){var f,g,p,m;const u=Reflect.get(l,c);if(c==="class"||c==="style")return[(f=s.value)==null?void 0:f[c],u].filter(v=>v!=null);if(mk(a.vnode,c))return u;const d=(g=s.value)==null?void 0:g[c];if(d!==void 0)return d;const h=(m=(p=t.value)==null?void 0:p.global)==null?void 0:m[c];return h!==void 0?h:u}}),n=Ti();Lo(()=>{if(s.value){const l=Object.entries(s.value).filter(c=>{let[u]=c;return u.startsWith(u[0].toUpperCase())});n.value=l.length?Object.fromEntries(l):void 0}else n.value=void 0});function o(){const l=gk(Es,a);ha(Es,ze(()=>n.value?Et((l==null?void 0:l.value)??{},n.value):l==null?void 0:l.value))}return{props:r,provideSubDefaults:o}}function Gr(i){if(i._setup=i._setup??i.setup,!i.name)return i;if(i._setup){i.props=zo(i.props??{},i.name)();const e=Object.keys(i.props).filter(t=>t!=="class"&&t!=="style");i.filterProps=function(a){return O0(a,e)},i.props._as=String,i.setup=function(a,s){const r=Xu();if(!r.value)return i._setup(a,s);const{props:n,provideSubDefaults:o}=vk(a,a._as??i.name,r),l=i._setup(n,s);return o(),l}}return i}function bk(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return e=>(i?Gr:Io)(e)}function NT(i,e){return e.props=i,e}const OT="cubic-bezier(0.4, 0, 0.2, 1)",FT="cubic-bezier(0.0, 0, 0.2, 1)",zT="cubic-bezier(0.4, 0, 1, 1)",xk={linear:i=>i,easeInQuad:i=>i**2,easeOutQuad:i=>i*(2-i),easeInOutQuad:i=>i<.5?2*i**2:-1+(4-2*i)*i,easeInCubic:i=>i**3,easeOutCubic:i=>--i**3+1,easeInOutCubic:i=>i<.5?4*i**3:(i-1)*(2*i-2)*(2*i-2)+1,easeInQuart:i=>i**4,easeOutQuart:i=>1- --i**4,easeInOutQuart:i=>i<.5?8*i**4:1-8*--i**4,easeInQuint:i=>i**5,easeOutQuint:i=>1+--i**5,easeInOutQuint:i=>i<.5?16*i**5:1+16*--i**5,instant:i=>1},yk=[String,Function,Object,Array],kc=Symbol.for("vuetify:icons"),Bo=zo({icon:{type:yk},tag:{type:[String,Object,Function],required:!0}},"icon"),Lh=bk()({name:"VComponentIcon",props:Bo(),setup(i,e){let{slots:t}=e;return()=>{const a=i.icon;return at(i.tag,null,{default:()=>{var s;return[i.icon?at(a,null,null):(s=t.default)==null?void 0:s.call(t)]}})}}}),Dm=Gr({name:"VSvgIcon",inheritAttrs:!1,props:Bo(),setup(i,e){let{attrs:t}=e;return()=>at(i.tag,cm(t,{style:null}),{default:()=>[gs("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(i.icon)?i.icon.map(a=>Array.isArray(a)?gs("path",{d:a[0],"fill-opacity":a[1]},null):gs("path",{d:a},null)):gs("path",{d:i.icon},null)])]})}});Gr({name:"VLigatureIcon",props:Bo(),setup(i){return()=>at(i.tag,null,{default:()=>[i.icon]})}});const Lm=Gr({name:"VClassIcon",props:Bo(),setup(i){return()=>at(i.tag,{class:Yr(i.icon)},null)}}),BT=i=>{const e=Je(kc);if(!e)throw new Error("Missing Vuetify Icons provide!");return{iconData:ze(()=>{var l;const a=Dy(i);if(!a)return{component:Lh};let s=a;if(typeof s=="string"&&(s=s.trim(),s.startsWith("$")&&(s=(l=e.aliases)==null?void 0:l[s.slice(1)])),Array.isArray(s))return{component:Dm,icon:s};if(typeof s!="string")return{component:Lh,icon:s};const r=Object.keys(e.sets).find(c=>typeof s=="string"&&s.startsWith(`${c}:`)),n=r?s.slice(r.length+1):s;return{component:e.sets[r??e.defaultSet].component,icon:n}})}},wk={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",treeviewCollapse:"mdi-menu-down",treeviewExpand:"mdi-menu-right",tableGroupCollapse:"mdi-chevron-down",tableGroupExpand:"mdi-chevron-right",eyeDropper:"mdi-eyedropper",upload:"mdi-cloud-upload",color:"mdi-palette",command:"mdi-apple-keyboard-command",ctrl:"mdi-apple-keyboard-control",space:"mdi-keyboard-space",shift:"mdi-apple-keyboard-shift",alt:"mdi-apple-keyboard-option",enter:"mdi-keyboard-return",arrowup:"mdi-arrow-up",arrowdown:"mdi-arrow-down",arrowleft:"mdi-arrow-left",arrowright:"mdi-arrow-right",backspace:"mdi-backspace",play:"mdi-play",pause:"mdi-pause",fullscreen:"mdi-fullscreen",fullscreenExit:"mdi-fullscreen-exit",volumeHigh:"mdi-volume-high",volumeMedium:"mdi-volume-medium",volumeLow:"mdi-volume-low",volumeOff:"mdi-volume-variant-off"},kk={component:i=>qr(Lm,{...i,class:"mdi"})};function Ak(){return{svg:{component:Dm},class:{component:Lm}}}function Sk(i){const e=Ak(),t=(i==null?void 0:i.defaultSet)??"mdi";return t==="mdi"&&!e.mdi&&(e.mdi=kk),Et({defaultSet:t,sets:e,aliases:{...wk,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z","vuetify-play":["m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z",["M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z",.6]]}},i)}function Ck(i,e){let t;function a(){t=kr(),t.run(()=>e.length?e(()=>{t==null||t.stop(),a()}):e())}At(i,s=>{s&&!t?a():s||(t==null||t.stop(),t=void 0)},{immediate:!0}),Eo(()=>{t==null||t.stop()})}function Mk(i,e,t){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:d=>d,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:d=>d;const r=Os("useProxiedModel"),n=Ze(i[e]!==void 0?i[e]:t),o=Ba(e),c=ze(o!==e?()=>{var d,h,f,g;return i[e],!!(((d=r.vnode.props)!=null&&d.hasOwnProperty(e)||(h=r.vnode.props)!=null&&h.hasOwnProperty(o))&&((f=r.vnode.props)!=null&&f.hasOwnProperty(`onUpdate:${e}`)||(g=r.vnode.props)!=null&&g.hasOwnProperty(`onUpdate:${o}`)))}:()=>{var d,h;return i[e],!!((d=r.vnode.props)!=null&&d.hasOwnProperty(e)&&((h=r.vnode.props)!=null&&h.hasOwnProperty(`onUpdate:${e}`)))});Ck(()=>!c.value,()=>{At(()=>i[e],d=>{n.value=d})});const u=ze({get(){const d=i[e];return a(c.value?d:n.value)},set(d){const h=s(d),f=Pe(c.value?i[e]:n.value);f===h||a(f)===d||(n.value=h,r==null||r.emit(`update:${e}`,h))}});return Object.defineProperty(u,"externalValue",{get:()=>c.value?i[e]:n.value}),u}const Rh="$vuetify.",Nh=(i,e)=>i.replace(/\{(\d+)\}/g,(t,a)=>String(e[Number(a)])),Rm=(i,e,t)=>function(a){for(var s=arguments.length,r=new Array(s>1?s-1:0),n=1;n<s;n++)r[n-1]=arguments[n];if(!a.startsWith(Rh))return Nh(a,r);const o=a.replace(Rh,""),l=i.value&&t.value[i.value],c=e.value&&t.value[e.value];let u=yc(l,o,null);return u||(`${a}${i.value}`,u=yc(c,o,null)),u||(u=a),typeof u!="string"&&(u=a),Nh(u,r)};function qu(i,e){return(t,a)=>new Intl.NumberFormat([i.value,e.value],a).format(t)}function Nm(i,e){return qu(i,e)(.1).includes(",")?",":"."}function ml(i,e,t){const a=Mk(i,e,i[e]??t.value);return a.value=i[e]??t.value,At(t,s=>{i[e]==null&&(a.value=t.value)}),a}function Om(i){return e=>{const t=ml(e,"locale",i.current),a=ml(e,"fallback",i.fallback),s=ml(e,"messages",i.messages);return{name:"vuetify",current:t,fallback:a,messages:s,decimalSeparator:Lt(()=>Nm(t,a)),t:Rm(t,a,s),n:qu(t,a),provide:Om({current:t,fallback:a,messages:s})}}}function Ek(i){const e=Ti((i==null?void 0:i.locale)??"en"),t=Ti((i==null?void 0:i.fallback)??"en"),a=Ze({en:Yg,...i==null?void 0:i.messages});return{name:"vuetify",current:e,fallback:t,messages:a,decimalSeparator:Lt(()=>(i==null?void 0:i.decimalSeparator)??Nm(e,t)),t:Rm(e,t,a),n:qu(e,t),provide:Om({current:e,fallback:t,messages:a})}}const Ps=Symbol.for("vuetify:locale");function Pk(i){return i.name!=null}function _k(i){const e=i!=null&&i.adapter&&Pk(i==null?void 0:i.adapter)?i==null?void 0:i.adapter:Ek(i),t=Tk(e,i);return{...e,...t}}function Fm(){const i=Je(Ps);if(!i)throw new Error("[Vuetify] Could not find injected locale instance");return i}function HT(i){const e=Je(Ps);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");const t=e.provide(i),a=Dk(t,e.rtl,i),s={...t,...a};return ha(Ps,s),s}function Ik(){return{af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,km:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1}}function Tk(i,e){const t=Ze((e==null?void 0:e.rtl)??Ik()),a=ze(()=>t.value[i.current.value]??!1);return{isRtl:a,rtl:t,rtlClasses:Lt(()=>`v-locale--is-${a.value?"rtl":"ltr"}`)}}function Dk(i,e,t){const a=ze(()=>t.rtl??e.value[i.current.value]??!1);return{isRtl:a,rtl:e,rtlClasses:Lt(()=>`v-locale--is-${a.value?"rtl":"ltr"}`)}}function Lk(){const i=Je(Ps);if(!i)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:i.isRtl,rtlClasses:i.rtlClasses}}function $r(i){const e=i.slice(-2).toUpperCase();switch(!0){case i==="GB-alt-variant":return{firstDay:0,firstWeekSize:4};case i==="001":return{firstDay:1,firstWeekSize:1};case`AG AS BD BR BS BT BW BZ CA CO DM DO ET GT GU HK HN ID IL IN JM JP KE
|
|
20
|
+
KH KR LA MH MM MO MT MX MZ NI NP PA PE PH PK PR PY SA SG SV TH TT TW UM US
|
|
21
|
+
VE VI WS YE ZA ZW`.includes(e):return{firstDay:0,firstWeekSize:1};case`AI AL AM AR AU AZ BA BM BN BY CL CM CN CR CY EC GE HR KG KZ LB LK LV
|
|
22
|
+
MD ME MK MN MY NZ RO RS SI TJ TM TR UA UY UZ VN XK`.includes(e):return{firstDay:1,firstWeekSize:1};case`AD AN AT AX BE BG CH CZ DE DK EE ES FI FJ FO FR GB GF GP GR HU IE IS
|
|
23
|
+
IT LI LT LU MC MQ NL NO PL RE RU SE SK SM VA`.includes(e):return{firstDay:1,firstWeekSize:4};case"AE AF BH DJ DZ EG IQ IR JO KW LY OM QA SD SY".includes(e):return{firstDay:6,firstWeekSize:1};case e==="MV":return{firstDay:5,firstWeekSize:1};case e==="PT":return{firstDay:0,firstWeekSize:4};default:return null}}function Rk(i,e,t){var u;const a=[];let s=[];const r=zm(i),n=Bm(i),o=t??((u=$r(e))==null?void 0:u.firstDay)??0,l=(r.getDay()-o+7)%7,c=(n.getDay()-o+7)%7;for(let d=0;d<l;d++){const h=new Date(r);h.setDate(h.getDate()-(l-d)),s.push(h)}for(let d=1;d<=n.getDate();d++){const h=new Date(i.getFullYear(),i.getMonth(),d);s.push(h),s.length===7&&(a.push(s),s=[])}for(let d=1;d<7-c;d++){const h=new Date(n);h.setDate(h.getDate()+d),s.push(h)}return s.length>0&&a.push(s),a}function mr(i,e,t){var r;let a=(t??((r=$r(e))==null?void 0:r.firstDay)??0)%7;[0,1,2,3,4,5,6].includes(a)||(a=0);const s=new Date(i);for(;s.getDay()!==a;)s.setDate(s.getDate()-1);return s}function Nk(i,e){var s;const t=new Date(i),a=((((s=$r(e))==null?void 0:s.firstDay)??0)+6)%7;for(;t.getDay()!==a;)t.setDate(t.getDate()+1);return t}function zm(i){return new Date(i.getFullYear(),i.getMonth(),1)}function Bm(i){return new Date(i.getFullYear(),i.getMonth()+1,0)}function Ok(i){const e=i.split("-").map(Number);return new Date(e[0],e[1]-1,e[2])}const Fk=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function Hm(i){if(i==null)return new Date;if(i instanceof Date)return i;if(typeof i=="string"){let e;if(Fk.test(i))return Ok(i);if(e=Date.parse(i),!isNaN(e))return new Date(e)}return null}const Oh=new Date(2e3,0,2);function zk(i,e,t){var s;const a=e??((s=$r(i))==null?void 0:s.firstDay)??0;return Am(7).map(r=>{const n=new Date(Oh);return n.setDate(Oh.getDate()+a+r),new Intl.DateTimeFormat(i,{weekday:t??"narrow"}).format(n)})}function Bk(i,e,t,a){const s=Hm(i)??new Date,r=a==null?void 0:a[e];if(typeof r=="function")return r(s,e,t);let n={};switch(e){case"fullDate":n={year:"numeric",month:"short",day:"numeric"};break;case"fullDateWithWeekday":n={weekday:"long",year:"numeric",month:"long",day:"numeric"};break;case"normalDate":const o=s.getDate(),l=new Intl.DateTimeFormat(t,{month:"long"}).format(s);return`${o} ${l}`;case"normalDateWithWeekday":n={weekday:"short",day:"numeric",month:"short"};break;case"shortDate":n={month:"short",day:"numeric"};break;case"year":n={year:"numeric"};break;case"month":n={month:"long"};break;case"monthShort":n={month:"short"};break;case"monthAndYear":n={month:"long",year:"numeric"};break;case"monthAndDate":n={month:"long",day:"numeric"};break;case"weekday":n={weekday:"long"};break;case"weekdayShort":n={weekday:"short"};break;case"dayOfMonth":return new Intl.NumberFormat(t).format(s.getDate());case"hours12h":n={hour:"numeric",hour12:!0};break;case"hours24h":n={hour:"numeric",hour12:!1};break;case"minutes":n={minute:"numeric"};break;case"seconds":n={second:"numeric"};break;case"fullTime":n={hour:"numeric",minute:"numeric"};break;case"fullTime12h":n={hour:"numeric",minute:"numeric",hour12:!0};break;case"fullTime24h":n={hour:"numeric",minute:"numeric",hour12:!1};break;case"fullDateTime":n={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"};break;case"fullDateTime12h":n={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!0};break;case"fullDateTime24h":n={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!1};break;case"keyboardDate":n={year:"numeric",month:"2-digit",day:"2-digit"};break;case"keyboardDateTime":return n={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric"},new Intl.DateTimeFormat(t,n).format(s).replace(/, /g," ");case"keyboardDateTime12h":return n={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!0},new Intl.DateTimeFormat(t,n).format(s).replace(/, /g," ");case"keyboardDateTime24h":return n={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!1},new Intl.DateTimeFormat(t,n).format(s).replace(/, /g," ");default:n=r??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(t,n).format(s)}function Hk(i,e){const t=i.toJsDate(e),a=t.getFullYear(),s=kh(String(t.getMonth()+1),2,"0"),r=kh(String(t.getDate()),2,"0");return`${a}-${s}-${r}`}function Wk(i){const[e,t,a]=i.split("-").map(Number);return new Date(e,t-1,a)}function jk(i,e){const t=new Date(i);return t.setMinutes(t.getMinutes()+e),t}function Yk(i,e){const t=new Date(i);return t.setHours(t.getHours()+e),t}function Ha(i,e){const t=new Date(i);return t.setDate(t.getDate()+e),t}function Vk(i,e){const t=new Date(i);return t.setDate(t.getDate()+e*7),t}function Uk(i,e){const t=new Date(i);return t.setDate(1),t.setMonth(t.getMonth()+e),t}function Ir(i){return i.getFullYear()}function Xk(i){return i.getMonth()}function qk(i,e,t,a){const s=$r(e),r=t??(s==null?void 0:s.firstDay)??0,n=(s==null?void 0:s.firstWeekSize)??1;return a!==void 0?Gk(i,e,r,a):$k(i,e,r,n)}function Gk(i,e,t,a){const s=(7+a-t)%7,r=mr(i,e,t),n=Ha(r,6);function o(h){return(7+new Date(h,0,1).getDay()-t)%7}let l=Ir(r);l<Ir(n)&&o(l+1)<=s&&l++;const c=new Date(l,0,1),u=o(l),d=u<=s?Ha(c,-u):Ha(c,7-u);return 1+oo(Gu(r),Tr(d),"weeks")}function $k(i,e,t,a){const s=mr(i,e,t),r=Ha(mr(i,e,t),6);function n(d){const h=new Date(d,0,1);return 7-oo(h,mr(h,e,t),"days")}let o=Ir(s);o<Ir(r)&&n(o+1)>=a&&o++;const l=new Date(o,0,1),c=n(o),u=c>=a?Ha(l,c-7):Ha(l,c);return 1+oo(Gu(s),Tr(u),"weeks")}function Kk(i){return i.getDate()}function Zk(i){return new Date(i.getFullYear(),i.getMonth()+1,1)}function Jk(i){return new Date(i.getFullYear(),i.getMonth()-1,1)}function Qk(i){return i.getHours()}function eA(i){return i.getMinutes()}function tA(i){return new Date(i.getFullYear(),0,1)}function iA(i){return new Date(i.getFullYear(),11,31)}function aA(i,e){return no(i,e[0])&&nA(i,e[1])}function sA(i){const e=new Date(i);return e instanceof Date&&!isNaN(e.getTime())}function no(i,e){return i.getTime()>e.getTime()}function rA(i,e){return no(Tr(i),Tr(e))}function nA(i,e){return i.getTime()<e.getTime()}function Fh(i,e){return i.getTime()===e.getTime()}function oA(i,e){return i.getDate()===e.getDate()&&i.getMonth()===e.getMonth()&&i.getFullYear()===e.getFullYear()}function lA(i,e){return i.getMonth()===e.getMonth()&&i.getFullYear()===e.getFullYear()}function cA(i,e){return i.getFullYear()===e.getFullYear()}function oo(i,e,t){const a=new Date(i),s=new Date(e);switch(t){case"years":return a.getFullYear()-s.getFullYear();case"quarters":return Math.floor((a.getMonth()-s.getMonth()+(a.getFullYear()-s.getFullYear())*12)/4);case"months":return a.getMonth()-s.getMonth()+(a.getFullYear()-s.getFullYear())*12;case"weeks":return Math.floor((a.getTime()-s.getTime())/(1e3*60*60*24*7));case"days":return Math.floor((a.getTime()-s.getTime())/(1e3*60*60*24));case"hours":return Math.floor((a.getTime()-s.getTime())/(1e3*60*60));case"minutes":return Math.floor((a.getTime()-s.getTime())/(1e3*60));case"seconds":return Math.floor((a.getTime()-s.getTime())/1e3);default:return a.getTime()-s.getTime()}}function uA(i,e){const t=new Date(i);return t.setHours(e),t}function dA(i,e){const t=new Date(i);return t.setMinutes(e),t}function hA(i,e){const t=new Date(i);return t.setMonth(e),t}function fA(i,e){const t=new Date(i);return t.setDate(e),t}function gA(i,e){const t=new Date(i);return t.setFullYear(e),t}function Tr(i){return new Date(i.getFullYear(),i.getMonth(),i.getDate(),0,0,0,0)}function Gu(i){return new Date(i.getFullYear(),i.getMonth(),i.getDate(),23,59,59,999)}class pA{constructor(e){this.locale=e.locale,this.formats=e.formats}date(e){return Hm(e)}toJsDate(e){return e}toISO(e){return Hk(this,e)}parseISO(e){return Wk(e)}addMinutes(e,t){return jk(e,t)}addHours(e,t){return Yk(e,t)}addDays(e,t){return Ha(e,t)}addWeeks(e,t){return Vk(e,t)}addMonths(e,t){return Uk(e,t)}getWeekArray(e,t){const a=t!==void 0?Number(t):void 0;return Rk(e,this.locale,a)}startOfWeek(e,t){const a=t!==void 0?Number(t):void 0;return mr(e,this.locale,a)}endOfWeek(e){return Nk(e,this.locale)}startOfMonth(e){return zm(e)}endOfMonth(e){return Bm(e)}format(e,t){return Bk(e,t,this.locale,this.formats)}isEqual(e,t){return Fh(e,t)}isValid(e){return sA(e)}isWithinRange(e,t){return aA(e,t)}isAfter(e,t){return no(e,t)}isAfterDay(e,t){return rA(e,t)}isBefore(e,t){return!no(e,t)&&!Fh(e,t)}isSameDay(e,t){return oA(e,t)}isSameMonth(e,t){return lA(e,t)}isSameYear(e,t){return cA(e,t)}setMinutes(e,t){return dA(e,t)}setHours(e,t){return uA(e,t)}setMonth(e,t){return hA(e,t)}setDate(e,t){return fA(e,t)}setYear(e,t){return gA(e,t)}getDiff(e,t,a){return oo(e,t,a)}getWeekdays(e,t){const a=e!==void 0?Number(e):void 0;return zk(this.locale,a,t)}getYear(e){return Ir(e)}getMonth(e){return Xk(e)}getWeek(e,t,a){const s=t!==void 0?Number(t):void 0,r=a!==void 0?Number(a):void 0;return qk(e,this.locale,s,r)}getDate(e){return Kk(e)}getNextMonth(e){return Zk(e)}getPreviousMonth(e){return Jk(e)}getHours(e){return Qk(e)}getMinutes(e){return eA(e)}startOfDay(e){return Tr(e)}endOfDay(e){return Gu(e)}startOfYear(e){return tA(e)}endOfYear(e){return iA(e)}}const Wm=Symbol.for("vuetify:date-options"),zh=Symbol.for("vuetify:date-adapter");function mA(i,e){const t=Et({adapter:pA,locale:{af:"af-ZA",bg:"bg-BG",ca:"ca-ES",ckb:"",cs:"cs-CZ",de:"de-DE",el:"el-GR",en:"en-US",et:"et-EE",fa:"fa-IR",fi:"fi-FI",hr:"hr-HR",hu:"hu-HU",he:"he-IL",id:"id-ID",it:"it-IT",ja:"ja-JP",ko:"ko-KR",lv:"lv-LV",lt:"lt-LT",nl:"nl-NL",no:"no-NO",pl:"pl-PL",pt:"pt-PT",ro:"ro-RO",ru:"ru-RU",sk:"sk-SK",sl:"sl-SI",srCyrl:"sr-SP",srLatn:"sr-SP",sv:"sv-SE",th:"th-TH",tr:"tr-TR",az:"az-AZ",uk:"uk-UA",vi:"vi-VN",zhHans:"zh-CN",zhHant:"zh-TW"}},i);return{options:t,instance:jm(t,e)}}function WT(i,e,t){const a=vA(i,e,t),s=[e];for(let r=1;r<a;r++){const n=i.addDays(e,r);s.push(n)}return t&&s.push(i.endOfDay(t)),s}function vA(i,e,t){const a=[`${i.toISO(t??e).split("T")[0]}T00:00:00Z`,`${i.toISO(e).split("T")[0]}T00:00:00Z`];return typeof i.date()=="string"?i.getDiff(a[0],a[1],"days"):i.getDiff(i.date(a[0]),i.date(a[1]),"days")}function jm(i,e){const t=Di(typeof i.adapter=="function"?new i.adapter({locale:i.locale[e.current.value]??e.current.value,formats:i.formats}):i.adapter);return At(e.current,a=>{t.locale=i.locale[a]??a??t.locale}),t}function jT(){const i=Je(Wm);if(!i)throw new Error("[Vuetify] Could not find injected date options");const e=Fm();return jm(i,e)}const YT=["sm","md","lg","xl","xxl"],Ac=Symbol.for("vuetify:display"),Bh={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},bA=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Bh;return Et(Bh,i)};function Hh(i){return Ot&&!i?window.innerWidth:typeof i=="object"&&i.clientWidth||0}function Wh(i){return Ot&&!i?window.innerHeight:typeof i=="object"&&i.clientHeight||0}function jh(i){const e=Ot&&!i?window.navigator.userAgent:"ssr";function t(g){return!!e.match(g)}const a=t(/android/i),s=t(/iphone|ipad|ipod/i),r=t(/cordova/i),n=t(/electron/i),o=t(/chrome/i),l=t(/edge/i),c=t(/firefox/i),u=t(/opera/i),d=t(/win/i),h=t(/mac/i),f=t(/linux/i);return{android:a,ios:s,cordova:r,electron:n,chrome:o,edge:l,firefox:c,opera:u,win:d,mac:h,linux:f,touch:L0,ssr:e==="ssr"}}function xA(i,e){const{thresholds:t,mobileBreakpoint:a}=bA(i),s=Ti(Wh(e)),r=Ti(jh(e)),n=Di({}),o=Ti(Hh(e));function l(){s.value=Wh(),o.value=Hh()}function c(){l(),r.value=jh()}return Lo(()=>{const u=o.value<t.sm,d=o.value<t.md&&!u,h=o.value<t.lg&&!(d||u),f=o.value<t.xl&&!(h||d||u),g=o.value<t.xxl&&!(f||h||d||u),p=o.value>=t.xxl,m=u?"xs":d?"sm":h?"md":f?"lg":g?"xl":"xxl",v=typeof a=="number"?a:t[a],b=o.value<v;n.xs=u,n.sm=d,n.md=h,n.lg=f,n.xl=g,n.xxl=p,n.smAndUp=!u,n.mdAndUp=!(u||d),n.lgAndUp=!(u||d||h),n.xlAndUp=!(u||d||h||f),n.smAndDown=!(h||f||g||p),n.mdAndDown=!(f||g||p),n.lgAndDown=!(g||p),n.xlAndDown=!p,n.name=m,n.height=s.value,n.width=o.value,n.mobile=b,n.mobileBreakpoint=a,n.platform=r.value,n.thresholds=t}),Ot&&(window.addEventListener("resize",l,{passive:!0}),Eo(()=>{window.removeEventListener("resize",l)},!0)),{...Ru(n),update:c,ssr:!!e}}const VT=zo({mobile:{type:Boolean,default:!1},mobileBreakpoint:[Number,String]},"display");function UT(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{mobile:null},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fk();const t=Je(Ac);if(!t)throw new Error("Could not find Vuetify display injection");const a=ze(()=>i.mobile?!0:typeof i.mobileBreakpoint=="number"?t.width.value<i.mobileBreakpoint:i.mobileBreakpoint?t.width.value<t.thresholds.value[i.mobileBreakpoint]:i.mobile===null?t.mobile.value:!1),s=Lt(()=>e?{[`${e}--mobile`]:a.value}:{});return{...t,displayClasses:s,mobile:a}}const Ym=Symbol.for("vuetify:goto");function Vm(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:xk}}function yA(i){return $u(i)??(document.scrollingElement||document.body)}function $u(i){return typeof i=="string"?document.querySelector(i):Sm(i)}function vl(i,e,t){if(typeof i=="number")return e&&t?-i:i;let a=$u(i),s=0;for(;a;)s+=e?a.offsetLeft:a.offsetTop,a=a.offsetParent;return s}function wA(i,e){return{rtl:e.isRtl,options:Et(Vm(),i)}}async function Yh(i,e,t,a){const s=t?"scrollLeft":"scrollTop",r=Et((a==null?void 0:a.options)??Vm(),e),n=a==null?void 0:a.rtl.value,o=(typeof i=="number"?i:$u(i))??0,l=r.container==="parent"&&o instanceof HTMLElement?o.parentElement:yA(r.container),c=R0()?r.patterns.instant:typeof r.easing=="function"?r.easing:r.patterns[r.easing];if(!c)throw new TypeError(`Easing function "${r.easing}" not found.`);let u;if(typeof o=="number")u=vl(o,t,n);else if(u=vl(o,t,n)-vl(l,t,n),r.layout){const g=window.getComputedStyle(o).getPropertyValue("--v-layout-top");g&&(u-=parseInt(g,10))}u+=r.offset,u=kA(l,u,!!n,!!t);const d=l[s]??0;if(u===d)return Promise.resolve(u);const h=performance.now();return new Promise(f=>requestAnimationFrame(function g(p){const v=(p-h)/r.duration,b=Math.floor(d+(u-d)*c(Vu(v,0,1)));if(l[s]=b,v>=1&&Math.abs(b-l[s])<10)return f(u);if(v>2)return f(l[s]);requestAnimationFrame(g)}))}function XT(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e=Je(Ym),{isRtl:t}=Lk();if(!e)throw new Error("[Vuetify] Could not find injected goto instance");const a={...e,rtl:Lt(()=>e.rtl.value||t.value)};async function s(r,n){return Yh(r,Et(i,n),!1,a)}return s.horizontal=async(r,n)=>Yh(r,Et(i,n),!0,a),s}function kA(i,e,t,a){const{scrollWidth:s,scrollHeight:r}=i,[n,o]=i===document.scrollingElement?[window.innerWidth,window.innerHeight]:[i.offsetWidth,i.offsetHeight];let l,c;return a?t?(l=-(s-n),c=0):(l=0,c=s-n):(l=0,c=r+-o),Vu(e,l,c)}const Dr=Symbol.for("vuetify:theme"),qT=zo({theme:String},"theme");function Vh(){return{defaultTheme:"light",prefix:"v-",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#EEEEEE","theme-on-kbd":"#000000","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#c8c8c8","on-surface-variant":"#000000",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#424242","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}},stylesheetId:"vuetify-theme-stylesheet",scoped:!1,unimportant:!1,utilities:!0}}function AA(){var a,s;let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Vh();const e=Vh();if(!i)return{...e,isDisabled:!0};const t={};for(const[r,n]of Object.entries(i.themes??{})){const o=n.dark||r==="dark"?(a=e.themes)==null?void 0:a.dark:(s=e.themes)==null?void 0:s.light;t[r]=Et(o,n)}return Et(e,{...i,themes:t})}function Sa(i,e,t,a){i.push(`${EA(e,a)} {
|
|
24
|
+
`,...t.map(s=>` ${s};
|
|
25
|
+
`),`}
|
|
26
|
+
`)}function Uh(i,e){const t=i.dark?2:1,a=i.dark?1:2,s=[];for(const[r,n]of Object.entries(i.colors)){const o=Wi(n);s.push(`--${e}theme-${r}: ${o.r},${o.g},${o.b}`),r.startsWith("on-")||s.push(`--${e}theme-${r}-overlay-multiplier: ${wc(n)>.18?t:a}`)}for(const[r,n]of Object.entries(i.variables)){const o=typeof n=="string"&&n.startsWith("#")?Wi(n):void 0,l=o?`${o.r}, ${o.g}, ${o.b}`:void 0;s.push(`--${e}${r}: ${l??n}`)}return s}function SA(i,e,t){const a={};if(t)for(const s of["lighten","darken"]){const r=s==="lighten"?uk:dk;for(const n of Am(t[s],1))a[`${i}-${s}-${n}`]=Im(r(Wi(e),n))}return a}function CA(i,e){if(!e)return{};let t={};for(const a of e.colors){const s=i[a];s&&(t={...t,...SA(a,s,e)})}return t}function MA(i){const e={};for(const t of Object.keys(i)){if(t.startsWith("on-")||i[`on-${t}`])continue;const a=`on-${t}`,s=Wi(i[t]);e[a]=hk(s)}return e}function EA(i,e){if(!e)return i;const t=`:where(${e})`;return i===":root"?t:`${t} ${i}`}function PA(i,e,t){const a=_A(i,e);a&&(a.innerHTML=t)}function _A(i,e){if(!Ot)return null;let t=document.getElementById(i);return t||(t=document.createElement("style"),t.id=i,t.type="text/css",e&&t.setAttribute("nonce",e),document.head.appendChild(t)),t}function IA(i){const e=AA(i),t=Ti(e.defaultTheme),a=Ze(e.themes),s=Ti("light"),r=ze({get(){return t.value==="system"?s.value:t.value},set(v){t.value=v}}),n=ze(()=>{const v={};for(const[b,x]of Object.entries(a.value)){const k={...x.colors,...CA(x.colors,e.variations)};v[b]={...x,colors:{...k,...MA(k)}}}return v}),o=Lt(()=>n.value[r.value]),l=Lt(()=>t.value==="system"),c=ze(()=>{var y;const v=[],b=e.unimportant?"":" !important",x=e.scoped?e.prefix:"";(y=o.value)!=null&&y.dark&&Sa(v,":root",["color-scheme: dark"],e.scope),Sa(v,":root",Uh(o.value,e.prefix),e.scope);for(const[A,w]of Object.entries(n.value))Sa(v,`.${e.prefix}theme--${A}`,[`color-scheme: ${w.dark?"dark":"normal"}`,...Uh(w,e.prefix)],e.scope);if(e.utilities){const A=[],w=[],S=new Set(Object.values(n.value).flatMap(C=>Object.keys(C.colors)));for(const C of S)C.startsWith("on-")?Sa(w,`.${C}`,[`color: rgb(var(--${e.prefix}theme-${C}))${b}`],e.scope):(Sa(A,`.${x}bg-${C}`,[`--${e.prefix}theme-overlay-multiplier: var(--${e.prefix}theme-${C}-overlay-multiplier)`,`background-color: rgb(var(--${e.prefix}theme-${C}))${b}`,`color: rgb(var(--${e.prefix}theme-on-${C}))${b}`],e.scope),Sa(w,`.${x}text-${C}`,[`color: rgb(var(--${e.prefix}theme-${C}))${b}`],e.scope),Sa(w,`.${x}border-${C}`,[`--${e.prefix}border-color: var(--${e.prefix}theme-${C})`],e.scope));e.layers?v.push(`@layer background {
|
|
27
|
+
`,...A.map(C=>` ${C}`),`}
|
|
28
|
+
`,`@layer foreground {
|
|
29
|
+
`,...w.map(C=>` ${C}`),`}
|
|
30
|
+
`):v.push(...A,...w)}let k=v.map((A,w)=>w===0?A:` ${A}`).join("");return e.layers&&(k=`@layer vuetify.theme {
|
|
31
|
+
`+v.map(A=>` ${A}`).join("")+`
|
|
32
|
+
}`),k}),u=Lt(()=>e.isDisabled?void 0:`${e.prefix}theme--${r.value}`),d=Lt(()=>Object.keys(n.value));if(ym){let b=function(){s.value=v.matches?"dark":"light"};const v=window.matchMedia("(prefers-color-scheme: dark)");b(),v.addEventListener("change",b,{passive:!0}),Mu()&&Eo(()=>{v.removeEventListener("change",b)})}function h(v){if(e.isDisabled)return;const b=v._context.provides.usehead;if(b){let x=function(){return{style:[{textContent:c.value,id:e.stylesheetId,nonce:e.cspNonce||!1}]}};if(b.push){const k=b.push(x);Ot&&At(c,()=>{k.patch(x)})}else Ot?(b.addHeadObjs(Lt(x)),Lo(()=>b.updateDOM())):b.addHeadObjs(x())}else{let x=function(){PA(e.stylesheetId,e.cspNonce,c.value)};Ot?At(c,x,{immediate:!0}):x()}}function f(v){v!=="system"&&!d.value.includes(v)||(r.value=v)}function g(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d.value;const b=v.indexOf(r.value),x=b===-1?0:(b+1)%v.length;f(v[x])}function p(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["light","dark"];g(v)}const m=new Proxy(r,{get(v,b){return Reflect.get(v,b)},set(v,b,x){return b==="value"&&D0(`theme.global.name.value = ${x}`,`theme.change('${x}')`),Reflect.set(v,b,x)}});return{install:h,change:f,cycle:g,toggle:p,isDisabled:e.isDisabled,isSystem:l,name:r,themes:a,current:o,computedThemes:n,prefix:e.prefix,themeClasses:u,styles:c,global:{name:m,current:o}}}function GT(i){Os("provideTheme");const e=Je(Dr,null);if(!e)throw new Error("Could not find Vuetify theme injection");const t=Lt(()=>i.theme??e.name.value),a=Lt(()=>e.themes.value[t.value]),s=Lt(()=>e.isDisabled?void 0:`${e.prefix}theme--${t.value}`),r={...e,name:t,current:a,themeClasses:s};return ha(Dr,r),r}function $T(){Os("useTheme");const i=Je(Dr,null);if(!i)throw new Error("Could not find Vuetify theme injection");return i}function Um(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:e,...t}=i,a=Et(e,t),{aliases:s={},components:r={},directives:n={}}=a,o=kr();return o.run(()=>{const l=pk(a.defaults),c=xA(a.display,a.ssr),u=IA(a.theme),d=Sk(a.icons),h=_k(a.locale),f=mA(a.date,h),g=wA(a.goTo,h);function p(v){for(const x in n)v.directive(x,n[x]);for(const x in r)v.component(x,r[x]);for(const x in s)v.component(x,Gr({...s[x],name:x,aliasName:s[x].name}));const b=kr();if(b.run(()=>{u.install(v)}),v.onUnmount(()=>b.stop()),v.provide(Es,l),v.provide(Ac,c),v.provide(Dr,u),v.provide(kc,d),v.provide(Ps,h),v.provide(Wm,f.options),v.provide(zh,f.instance),v.provide(Ym,g),Ot&&a.ssr)if(v.$nuxt)v.$nuxt.hook("app:suspense:resolve",()=>{c.update()});else{const{mount:x}=v;v.mount=function(){const k=x(...arguments);return Xr(()=>c.update()),v.mount=x,k}}v.mixin({computed:{$vuetify(){return Di({defaults:as.call(this,Es),display:as.call(this,Ac),theme:as.call(this,Dr),icons:as.call(this,kc),locale:as.call(this,Ps),date:as.call(this,zh)})}}})}function m(){o.stop()}return{install:p,unmount:m,defaults:l,display:c,theme:u,icons:d,locale:h,date:f,goTo:g}})}const TA="3.11.4";Um.version=TA;function as(i){var a,s;const e=this.$,t=((a=e.parent)==null?void 0:a.provides)??((s=e.vnode.appContext)==null?void 0:s.provides);if(t&&i in t)return t[i]}const DA=Um({theme:{themes:{light:{colors:{primary:"#046BF8","primary-lighten-1":"#3688F9","primary-darken-1":"#0350BA",secondary:"#F18429",label:"#616161"}}}},locale:{locale:"en",fallback:"en",messages:{cs:Hx,de:Wx,el:jx,en:Yg,es:Yx,fi:Vx,fr:Ux,it:Xx,ja:qx,nl:Gx,pl:$x,pt:Kx,ru:Zx,sv:Jx,tr:Qx,zhHans:ey}},styles:{configFile:"src/styles/settings.scss"},defaults:{VCard:{class:"pa-2",VCardTitle:{class:"d-flex",style:"align-items: center;"}}}}),LA="modulepreload",RA=function(i){return"/"+i},Xh={},we=function(e,t,a){let s=Promise.resolve();if(t&&t.length>0){let n=function(c){return Promise.all(c.map(u=>Promise.resolve(u).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));s=n(t.map(c=>{if(c=RA(c),c in Xh)return;Xh[c]=!0;const u=c.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${d}`))return;const h=document.createElement("link");if(h.rel=u?"stylesheet":LA,u||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),u)return new Promise((f,g)=>{h.addEventListener("load",f),h.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${c}`)))})}))}function r(n){const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=n,window.dispatchEvent(o),!o.defaultPrevented)throw n}return s.then(n=>{for(const o of n||[])o.status==="rejected"&&r(o.reason);return e().catch(r)})};/*!
|
|
33
|
+
* vue-router v4.6.3
|
|
34
|
+
* (c) 2025 Eduardo San Martin Morote
|
|
35
|
+
* @license MIT
|
|
36
|
+
*/const fs=typeof document<"u";function Xm(i){return typeof i=="object"||"displayName"in i||"props"in i||"__vccOpts"in i}function NA(i){return i.__esModule||i[Symbol.toStringTag]==="Module"||i.default&&Xm(i.default)}const He=Object.assign;function bl(i,e){const t={};for(const a in e){const s=e[a];t[a]=mi(s)?s.map(i):i(s)}return t}const vr=()=>{},mi=Array.isArray;function qh(i,e){const t={};for(const a in i)t[a]=a in e?e[a]:i[a];return t}const qm=/#/g,OA=/&/g,FA=/\//g,zA=/=/g,BA=/\?/g,Gm=/\+/g,HA=/%5B/g,WA=/%5D/g,$m=/%5E/g,jA=/%60/g,Km=/%7B/g,YA=/%7C/g,Zm=/%7D/g,VA=/%20/g;function Ku(i){return i==null?"":encodeURI(""+i).replace(YA,"|").replace(HA,"[").replace(WA,"]")}function UA(i){return Ku(i).replace(Km,"{").replace(Zm,"}").replace($m,"^")}function Sc(i){return Ku(i).replace(Gm,"%2B").replace(VA,"+").replace(qm,"%23").replace(OA,"%26").replace(jA,"`").replace(Km,"{").replace(Zm,"}").replace($m,"^")}function XA(i){return Sc(i).replace(zA,"%3D")}function qA(i){return Ku(i).replace(qm,"%23").replace(BA,"%3F")}function GA(i){return qA(i).replace(FA,"%2F")}function Lr(i){if(i==null)return null;try{return decodeURIComponent(""+i)}catch{}return""+i}const $A=/\/$/,KA=i=>i.replace($A,"");function xl(i,e,t="/"){let a,s={},r="",n="";const o=e.indexOf("#");let l=e.indexOf("?");return l=o>=0&&l>o?-1:l,l>=0&&(a=e.slice(0,l),r=e.slice(l,o>0?o:e.length),s=i(r.slice(1))),o>=0&&(a=a||e.slice(0,o),n=e.slice(o,e.length)),a=eS(a??e,t),{fullPath:a+r+n,path:a,query:s,hash:Lr(n)}}function ZA(i,e){const t=e.query?i(e.query):"";return e.path+(t&&"?")+t+(e.hash||"")}function Gh(i,e){return!e||!i.toLowerCase().startsWith(e.toLowerCase())?i:i.slice(e.length)||"/"}function JA(i,e,t){const a=e.matched.length-1,s=t.matched.length-1;return a>-1&&a===s&&_s(e.matched[a],t.matched[s])&&Jm(e.params,t.params)&&i(e.query)===i(t.query)&&e.hash===t.hash}function _s(i,e){return(i.aliasOf||i)===(e.aliasOf||e)}function Jm(i,e){if(Object.keys(i).length!==Object.keys(e).length)return!1;for(const t in i)if(!QA(i[t],e[t]))return!1;return!0}function QA(i,e){return mi(i)?$h(i,e):mi(e)?$h(e,i):i===e}function $h(i,e){return mi(e)?i.length===e.length&&i.every((t,a)=>t===e[a]):i.length===1&&i[0]===e}function eS(i,e){if(i.startsWith("/"))return i;if(!i)return e;const t=e.split("/"),a=i.split("/"),s=a[a.length-1];(s===".."||s===".")&&a.push("");let r=t.length-1,n,o;for(n=0;n<a.length;n++)if(o=a[n],o!==".")if(o==="..")r>1&&r--;else break;return t.slice(0,r).join("/")+"/"+a.slice(n).join("/")}const Qi={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Cc=(function(i){return i.pop="pop",i.push="push",i})({}),yl=(function(i){return i.back="back",i.forward="forward",i.unknown="",i})({});function tS(i){if(!i)if(fs){const e=document.querySelector("base");i=e&&e.getAttribute("href")||"/",i=i.replace(/^\w+:\/\/[^\/]+/,"")}else i="/";return i[0]!=="/"&&i[0]!=="#"&&(i="/"+i),KA(i)}const iS=/^[^#]+#/;function aS(i,e){return i.replace(iS,"#")+e}function sS(i,e){const t=document.documentElement.getBoundingClientRect(),a=i.getBoundingClientRect();return{behavior:e.behavior,left:a.left-t.left-(e.left||0),top:a.top-t.top-(e.top||0)}}const Ho=()=>({left:window.scrollX,top:window.scrollY});function rS(i){let e;if("el"in i){const t=i.el,a=typeof t=="string"&&t.startsWith("#"),s=typeof t=="string"?a?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!s)return;e=sS(s,i)}else e=i;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function Kh(i,e){return(history.state?history.state.position-e:-1)+i}const Mc=new Map;function nS(i,e){Mc.set(i,e)}function oS(i){const e=Mc.get(i);return Mc.delete(i),e}function lS(i){return typeof i=="string"||i&&typeof i=="object"}function Qm(i){return typeof i=="string"||typeof i=="symbol"}let tt=(function(i){return i[i.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",i[i.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",i[i.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",i[i.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",i[i.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",i})({});const ev=Symbol("");tt.MATCHER_NOT_FOUND+"",tt.NAVIGATION_GUARD_REDIRECT+"",tt.NAVIGATION_ABORTED+"",tt.NAVIGATION_CANCELLED+"",tt.NAVIGATION_DUPLICATED+"";function Is(i,e){return He(new Error,{type:i,[ev]:!0},e)}function Ni(i,e){return i instanceof Error&&ev in i&&(e==null||!!(i.type&e))}const cS=["params","query","hash"];function uS(i){if(typeof i=="string")return i;if(i.path!=null)return i.path;const e={};for(const t of cS)t in i&&(e[t]=i[t]);return JSON.stringify(e,null,2)}function dS(i){const e={};if(i===""||i==="?")return e;const t=(i[0]==="?"?i.slice(1):i).split("&");for(let a=0;a<t.length;++a){const s=t[a].replace(Gm," "),r=s.indexOf("="),n=Lr(r<0?s:s.slice(0,r)),o=r<0?null:Lr(s.slice(r+1));if(n in e){let l=e[n];mi(l)||(l=e[n]=[l]),l.push(o)}else e[n]=o}return e}function Zh(i){let e="";for(let t in i){const a=i[t];if(t=XA(t),a==null){a!==void 0&&(e+=(e.length?"&":"")+t);continue}(mi(a)?a.map(s=>s&&Sc(s)):[a&&Sc(a)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+t,s!=null&&(e+="="+s))})}return e}function hS(i){const e={};for(const t in i){const a=i[t];a!==void 0&&(e[t]=mi(a)?a.map(s=>s==null?null:""+s):a==null?a:""+a)}return e}const fS=Symbol(""),Jh=Symbol(""),Wo=Symbol(""),Zu=Symbol(""),Ec=Symbol("");function Js(){let i=[];function e(a){return i.push(a),()=>{const s=i.indexOf(a);s>-1&&i.splice(s,1)}}function t(){i=[]}return{add:e,list:()=>i.slice(),reset:t}}function ra(i,e,t,a,s,r=n=>n()){const n=a&&(a.enterCallbacks[s]=a.enterCallbacks[s]||[]);return()=>new Promise((o,l)=>{const c=h=>{h===!1?l(Is(tt.NAVIGATION_ABORTED,{from:t,to:e})):h instanceof Error?l(h):lS(h)?l(Is(tt.NAVIGATION_GUARD_REDIRECT,{from:e,to:h})):(n&&a.enterCallbacks[s]===n&&typeof h=="function"&&n.push(h),o())},u=r(()=>i.call(a&&a.instances[s],e,t,c));let d=Promise.resolve(u);i.length<3&&(d=d.then(c)),d.catch(h=>l(h))})}function wl(i,e,t,a,s=r=>r()){const r=[];for(const n of i)for(const o in n.components){let l=n.components[o];if(!(e!=="beforeRouteEnter"&&!n.instances[o]))if(Xm(l)){const c=(l.__vccOpts||l)[e];c&&r.push(ra(c,t,a,n,o,s))}else{let c=l();r.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${o}" at "${n.path}"`);const d=NA(u)?u.default:u;n.mods[o]=u,n.components[o]=d;const h=(d.__vccOpts||d)[e];return h&&ra(h,t,a,n,o,s)()}))}}return r}function gS(i,e){const t=[],a=[],s=[],r=Math.max(e.matched.length,i.matched.length);for(let n=0;n<r;n++){const o=e.matched[n];o&&(i.matched.find(c=>_s(c,o))?a.push(o):t.push(o));const l=i.matched[n];l&&(e.matched.find(c=>_s(c,l))||s.push(l))}return[t,a,s]}/*!
|
|
37
|
+
* vue-router v4.6.3
|
|
38
|
+
* (c) 2025 Eduardo San Martin Morote
|
|
39
|
+
* @license MIT
|
|
40
|
+
*/let pS=()=>location.protocol+"//"+location.host;function tv(i,e){const{pathname:t,search:a,hash:s}=e,r=i.indexOf("#");if(r>-1){let n=s.includes(i.slice(r))?i.slice(r).length:1,o=s.slice(n);return o[0]!=="/"&&(o="/"+o),Gh(o,"")}return Gh(t,i)+a+s}function mS(i,e,t,a){let s=[],r=[],n=null;const o=({state:h})=>{const f=tv(i,location),g=t.value,p=e.value;let m=0;if(h){if(t.value=f,e.value=h,n&&n===g){n=null;return}m=p?h.position-p.position:0}else a(f);s.forEach(v=>{v(t.value,g,{delta:m,type:Cc.pop,direction:m?m>0?yl.forward:yl.back:yl.unknown})})};function l(){n=t.value}function c(h){s.push(h);const f=()=>{const g=s.indexOf(h);g>-1&&s.splice(g,1)};return r.push(f),f}function u(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(He({},h.state,{scroll:Ho()}),"")}}function d(){for(const h of r)h();r=[],window.removeEventListener("popstate",o),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",o),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:l,listen:c,destroy:d}}function Qh(i,e,t,a=!1,s=!1){return{back:i,current:e,forward:t,replaced:a,position:window.history.length,scroll:s?Ho():null}}function vS(i){const{history:e,location:t}=window,a={value:tv(i,t)},s={value:e.state};s.value||r(a.value,{back:null,current:a.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(l,c,u){const d=i.indexOf("#"),h=d>-1?(t.host&&document.querySelector("base")?i:i.slice(d))+l:pS()+i+l;try{e[u?"replaceState":"pushState"](c,"",h),s.value=c}catch(f){console.error(f),t[u?"replace":"assign"](h)}}function n(l,c){r(l,He({},e.state,Qh(s.value.back,l,s.value.forward,!0),c,{position:s.value.position}),!0),a.value=l}function o(l,c){const u=He({},s.value,e.state,{forward:l,scroll:Ho()});r(u.current,u,!0),r(l,He({},Qh(a.value,l,null),{position:u.position+1},c),!1),a.value=l}return{location:a,state:s,push:o,replace:n}}function bS(i){i=tS(i);const e=vS(i),t=mS(i,e.state,e.location,e.replace);function a(r,n=!0){n||t.pauseListeners(),history.go(r)}const s=He({location:"",base:i,go:a,createHref:aS.bind(null,i)},e,t);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>e.state.value}),s}let Ta=(function(i){return i[i.Static=0]="Static",i[i.Param=1]="Param",i[i.Group=2]="Group",i})({});var dt=(function(i){return i[i.Static=0]="Static",i[i.Param=1]="Param",i[i.ParamRegExp=2]="ParamRegExp",i[i.ParamRegExpEnd=3]="ParamRegExpEnd",i[i.EscapeNext=4]="EscapeNext",i})(dt||{});const xS={type:Ta.Static,value:""},yS=/[a-zA-Z0-9_]/;function wS(i){if(!i)return[[]];if(i==="/")return[[xS]];if(!i.startsWith("/"))throw new Error(`Invalid path "${i}"`);function e(f){throw new Error(`ERR (${t})/"${c}": ${f}`)}let t=dt.Static,a=t;const s=[];let r;function n(){r&&s.push(r),r=[]}let o=0,l,c="",u="";function d(){c&&(t===dt.Static?r.push({type:Ta.Static,value:c}):t===dt.Param||t===dt.ParamRegExp||t===dt.ParamRegExpEnd?(r.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:Ta.Param,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;o<i.length;){if(l=i[o++],l==="\\"&&t!==dt.ParamRegExp){a=t,t=dt.EscapeNext;continue}switch(t){case dt.Static:l==="/"?(c&&d(),n()):l===":"?(d(),t=dt.Param):h();break;case dt.EscapeNext:h(),t=a;break;case dt.Param:l==="("?t=dt.ParamRegExp:yS.test(l)?h():(d(),t=dt.Static,l!=="*"&&l!=="?"&&l!=="+"&&o--);break;case dt.ParamRegExp:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:t=dt.ParamRegExpEnd:u+=l;break;case dt.ParamRegExpEnd:d(),t=dt.Static,l!=="*"&&l!=="?"&&l!=="+"&&o--,u="";break;default:e("Unknown state");break}}return t===dt.ParamRegExp&&e(`Unfinished custom RegExp for param "${c}"`),d(),n(),s}const ef="[^/]+?",kS={sensitive:!1,strict:!1,start:!0,end:!0};var It=(function(i){return i[i._multiplier=10]="_multiplier",i[i.Root=90]="Root",i[i.Segment=40]="Segment",i[i.SubSegment=30]="SubSegment",i[i.Static=40]="Static",i[i.Dynamic=20]="Dynamic",i[i.BonusCustomRegExp=10]="BonusCustomRegExp",i[i.BonusWildcard=-50]="BonusWildcard",i[i.BonusRepeatable=-20]="BonusRepeatable",i[i.BonusOptional=-8]="BonusOptional",i[i.BonusStrict=.7000000000000001]="BonusStrict",i[i.BonusCaseSensitive=.25]="BonusCaseSensitive",i})(It||{});const AS=/[.+*?^${}()[\]/\\]/g;function SS(i,e){const t=He({},kS,e),a=[];let s=t.start?"^":"";const r=[];for(const c of i){const u=c.length?[]:[It.Root];t.strict&&!c.length&&(s+="/");for(let d=0;d<c.length;d++){const h=c[d];let f=It.Segment+(t.sensitive?It.BonusCaseSensitive:0);if(h.type===Ta.Static)d||(s+="/"),s+=h.value.replace(AS,"\\$&"),f+=It.Static;else if(h.type===Ta.Param){const{value:g,repeatable:p,optional:m,regexp:v}=h;r.push({name:g,repeatable:p,optional:m});const b=v||ef;if(b!==ef){f+=It.BonusCustomRegExp;try{`${b}`}catch(k){throw new Error(`Invalid custom RegExp for param "${g}" (${b}): `+k.message)}}let x=p?`((?:${b})(?:/(?:${b}))*)`:`(${b})`;d||(x=m&&c.length<2?`(?:/${x})`:"/"+x),m&&(x+="?"),s+=x,f+=It.Dynamic,m&&(f+=It.BonusOptional),p&&(f+=It.BonusRepeatable),b===".*"&&(f+=It.BonusWildcard)}u.push(f)}a.push(u)}if(t.strict&&t.end){const c=a.length-1;a[c][a[c].length-1]+=It.BonusStrict}t.strict||(s+="/?"),t.end?s+="$":t.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const n=new RegExp(s,t.sensitive?"":"i");function o(c){const u=c.match(n),d={};if(!u)return null;for(let h=1;h<u.length;h++){const f=u[h]||"",g=r[h-1];d[g.name]=f&&g.repeatable?f.split("/"):f}return d}function l(c){let u="",d=!1;for(const h of i){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const f of h)if(f.type===Ta.Static)u+=f.value;else if(f.type===Ta.Param){const{value:g,repeatable:p,optional:m}=f,v=g in c?c[g]:"";if(mi(v)&&!p)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const b=mi(v)?v.join("/"):v;if(!b)if(m)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${g}"`);u+=b}}return u||"/"}return{re:n,score:a,keys:r,parse:o,stringify:l}}function CS(i,e){let t=0;for(;t<i.length&&t<e.length;){const a=e[t]-i[t];if(a)return a;t++}return i.length<e.length?i.length===1&&i[0]===It.Static+It.Segment?-1:1:i.length>e.length?e.length===1&&e[0]===It.Static+It.Segment?1:-1:0}function iv(i,e){let t=0;const a=i.score,s=e.score;for(;t<a.length&&t<s.length;){const r=CS(a[t],s[t]);if(r)return r;t++}if(Math.abs(s.length-a.length)===1){if(tf(a))return 1;if(tf(s))return-1}return s.length-a.length}function tf(i){const e=i[i.length-1];return i.length>0&&e[e.length-1]<0}const MS={strict:!1,end:!0,sensitive:!1};function ES(i,e,t){const a=SS(wS(i.path),t),s=He(a,{record:i,parent:e,children:[],alias:[]});return e&&!s.record.aliasOf==!e.record.aliasOf&&e.children.push(s),s}function PS(i,e){const t=[],a=new Map;e=qh(MS,e);function s(d){return a.get(d)}function r(d,h,f){const g=!f,p=sf(d);p.aliasOf=f&&f.record;const m=qh(e,d),v=[p];if("alias"in d){const k=typeof d.alias=="string"?[d.alias]:d.alias;for(const y of k)v.push(sf(He({},p,{components:f?f.record.components:p.components,path:y,aliasOf:f?f.record:p})))}let b,x;for(const k of v){const{path:y}=k;if(h&&y[0]!=="/"){const A=h.record.path,w=A[A.length-1]==="/"?"":"/";k.path=h.record.path+(y&&w+y)}if(b=ES(k,h,m),f?f.alias.push(b):(x=x||b,x!==b&&x.alias.push(b),g&&d.name&&!rf(b)&&n(d.name)),av(b)&&l(b),p.children){const A=p.children;for(let w=0;w<A.length;w++)r(A[w],b,f&&f.children[w])}f=f||b}return x?()=>{n(x)}:vr}function n(d){if(Qm(d)){const h=a.get(d);h&&(a.delete(d),t.splice(t.indexOf(h),1),h.children.forEach(n),h.alias.forEach(n))}else{const h=t.indexOf(d);h>-1&&(t.splice(h,1),d.record.name&&a.delete(d.record.name),d.children.forEach(n),d.alias.forEach(n))}}function o(){return t}function l(d){const h=TS(d,t);t.splice(h,0,d),d.record.name&&!rf(d)&&a.set(d.record.name,d)}function c(d,h){let f,g={},p,m;if("name"in d&&d.name){if(f=a.get(d.name),!f)throw Is(tt.MATCHER_NOT_FOUND,{location:d});m=f.record.name,g=He(af(h.params,f.keys.filter(x=>!x.optional).concat(f.parent?f.parent.keys.filter(x=>x.optional):[]).map(x=>x.name)),d.params&&af(d.params,f.keys.map(x=>x.name))),p=f.stringify(g)}else if(d.path!=null)p=d.path,f=t.find(x=>x.re.test(p)),f&&(g=f.parse(p),m=f.record.name);else{if(f=h.name?a.get(h.name):t.find(x=>x.re.test(h.path)),!f)throw Is(tt.MATCHER_NOT_FOUND,{location:d,currentLocation:h});m=f.record.name,g=He({},h.params,d.params),p=f.stringify(g)}const v=[];let b=f;for(;b;)v.unshift(b.record),b=b.parent;return{name:m,path:p,params:g,matched:v,meta:IS(v)}}i.forEach(d=>r(d));function u(){t.length=0,a.clear()}return{addRoute:r,resolve:c,removeRoute:n,clearRoutes:u,getRoutes:o,getRecordMatcher:s}}function af(i,e){const t={};for(const a of e)a in i&&(t[a]=i[a]);return t}function sf(i){const e={path:i.path,redirect:i.redirect,name:i.name,meta:i.meta||{},aliasOf:i.aliasOf,beforeEnter:i.beforeEnter,props:_S(i),children:i.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in i?i.components||null:i.component&&{default:i.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function _S(i){const e={},t=i.props||!1;if("component"in i)e.default=t;else for(const a in i.components)e[a]=typeof t=="object"?t[a]:t;return e}function rf(i){for(;i;){if(i.record.aliasOf)return!0;i=i.parent}return!1}function IS(i){return i.reduce((e,t)=>He(e,t.meta),{})}function TS(i,e){let t=0,a=e.length;for(;t!==a;){const r=t+a>>1;iv(i,e[r])<0?a=r:t=r+1}const s=DS(i);return s&&(a=e.lastIndexOf(s,a-1)),a}function DS(i){let e=i;for(;e=e.parent;)if(av(e)&&iv(i,e)===0)return e}function av({record:i}){return!!(i.name||i.components&&Object.keys(i.components).length||i.redirect)}function nf(i){const e=Je(Wo),t=Je(Zu),a=ze(()=>{const l=ei(i.to);return e.resolve(l)}),s=ze(()=>{const{matched:l}=a.value,{length:c}=l,u=l[c-1],d=t.matched;if(!u||!d.length)return-1;const h=d.findIndex(_s.bind(null,u));if(h>-1)return h;const f=of(l[c-2]);return c>1&&of(u)===f&&d[d.length-1].path!==f?d.findIndex(_s.bind(null,l[c-2])):h}),r=ze(()=>s.value>-1&&FS(t.params,a.value.params)),n=ze(()=>s.value>-1&&s.value===t.matched.length-1&&Jm(t.params,a.value.params));function o(l={}){if(OS(l)){const c=e[ei(i.replace)?"replace":"push"](ei(i.to)).catch(vr);return i.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:a,href:ze(()=>a.value.href),isActive:r,isExactActive:n,navigate:o}}function LS(i){return i.length===1?i[0]:i}const RS=Io({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:nf,setup(i,{slots:e}){const t=Di(nf(i)),{options:a}=Je(Wo),s=ze(()=>({[lf(i.activeClass,a.linkActiveClass,"router-link-active")]:t.isActive,[lf(i.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const r=e.default&&LS(e.default(t));return i.custom?r:qr("a",{"aria-current":t.isExactActive?i.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:s.value},r)}}}),NS=RS;function OS(i){if(!(i.metaKey||i.altKey||i.ctrlKey||i.shiftKey)&&!i.defaultPrevented&&!(i.button!==void 0&&i.button!==0)){if(i.currentTarget&&i.currentTarget.getAttribute){const e=i.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return i.preventDefault&&i.preventDefault(),!0}}function FS(i,e){for(const t in e){const a=e[t],s=i[t];if(typeof a=="string"){if(a!==s)return!1}else if(!mi(s)||s.length!==a.length||a.some((r,n)=>r!==s[n]))return!1}return!0}function of(i){return i?i.aliasOf?i.aliasOf.path:i.path:""}const lf=(i,e,t)=>i??e??t,zS=Io({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(i,{attrs:e,slots:t}){const a=Je(Ec),s=ze(()=>i.route||a.value),r=Je(Jh,0),n=ze(()=>{let c=ei(r);const{matched:u}=s.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),o=ze(()=>s.value.matched[n.value]);ha(Jh,ze(()=>n.value+1)),ha(fS,o),ha(Ec,s);const l=Ze();return At(()=>[l.value,o.value,i.name],([c,u,d],[h,f,g])=>{u&&(u.instances[d]=c,f&&f!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=f.leaveGuards),u.updateGuards.size||(u.updateGuards=f.updateGuards))),c&&u&&(!f||!_s(u,f)||!h)&&(u.enterCallbacks[d]||[]).forEach(p=>p(c))},{flush:"post"}),()=>{const c=s.value,u=i.name,d=o.value,h=d&&d.components[u];if(!h)return cf(t.default,{Component:h,route:c});const f=d.props[u],g=f?f===!0?c.params:typeof f=="function"?f(c):f:null,m=qr(h,He({},g,e,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return cf(t.default,{Component:m,route:c})||m}}});function cf(i,e){if(!i)return null;const t=i(e);return t.length===1?t[0]:t}const BS=zS;function HS(i){const e=PS(i.routes,i),t=i.parseQuery||dS,a=i.stringifyQuery||Zh,s=i.history,r=Js(),n=Js(),o=Js(),l=Ti(Qi);let c=Qi;fs&&i.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=bl.bind(null,O=>""+O),d=bl.bind(null,GA),h=bl.bind(null,Lr);function f(O,X){let G,J;return Qm(O)?(G=e.getRecordMatcher(O),J=X):J=O,e.addRoute(J,G)}function g(O){const X=e.getRecordMatcher(O);X&&e.removeRoute(X)}function p(){return e.getRoutes().map(O=>O.record)}function m(O){return!!e.getRecordMatcher(O)}function v(O,X){if(X=He({},X||l.value),typeof O=="string"){const R=xl(t,O,X.path),W=e.resolve({path:R.path},X),U=s.createHref(R.fullPath);return He(R,W,{params:h(W.params),hash:Lr(R.hash),redirectedFrom:void 0,href:U})}let G;if(O.path!=null)G=He({},O,{path:xl(t,O.path,X.path).path});else{const R=He({},O.params);for(const W in R)R[W]==null&&delete R[W];G=He({},O,{params:d(R)}),X.params=d(X.params)}const J=e.resolve(G,X),ge=O.hash||"";J.params=u(h(J.params));const _=ZA(a,He({},O,{hash:UA(ge),path:J.path})),I=s.createHref(_);return He({fullPath:_,hash:ge,query:a===Zh?hS(O.query):O.query||{}},J,{redirectedFrom:void 0,href:I})}function b(O){return typeof O=="string"?xl(t,O,l.value.path):He({},O)}function x(O,X){if(c!==O)return Is(tt.NAVIGATION_CANCELLED,{from:X,to:O})}function k(O){return w(O)}function y(O){return k(He(b(O),{replace:!0}))}function A(O,X){const G=O.matched[O.matched.length-1];if(G&&G.redirect){const{redirect:J}=G;let ge=typeof J=="function"?J(O,X):J;return typeof ge=="string"&&(ge=ge.includes("?")||ge.includes("#")?ge=b(ge):{path:ge},ge.params={}),He({query:O.query,hash:O.hash,params:ge.path!=null?{}:O.params},ge)}}function w(O,X){const G=c=v(O),J=l.value,ge=O.state,_=O.force,I=O.replace===!0,R=A(G,J);if(R)return w(He(b(R),{state:typeof R=="object"?He({},ge,R.state):ge,force:_,replace:I}),X||G);const W=G;W.redirectedFrom=X;let U;return!_&&JA(a,J,G)&&(U=Is(tt.NAVIGATION_DUPLICATED,{to:W,from:J}),ae(J,J,!0,!1)),(U?Promise.resolve(U):M(W,J)).catch(Y=>Ni(Y)?Ni(Y,tt.NAVIGATION_GUARD_REDIRECT)?Y:re(Y):H(Y,W,J)).then(Y=>{if(Y){if(Ni(Y,tt.NAVIGATION_GUARD_REDIRECT))return w(He({replace:I},b(Y.to),{state:typeof Y.to=="object"?He({},ge,Y.to.state):ge,force:_}),X||W)}else Y=P(W,J,!0,I,ge);return E(W,J,Y),Y})}function S(O,X){const G=x(O,X);return G?Promise.reject(G):Promise.resolve()}function C(O){const X=pe.values().next().value;return X&&typeof X.runWithContext=="function"?X.runWithContext(O):O()}function M(O,X){let G;const[J,ge,_]=gS(O,X);G=wl(J.reverse(),"beforeRouteLeave",O,X);for(const R of J)R.leaveGuards.forEach(W=>{G.push(ra(W,O,X))});const I=S.bind(null,O,X);return G.push(I),ve(G).then(()=>{G=[];for(const R of r.list())G.push(ra(R,O,X));return G.push(I),ve(G)}).then(()=>{G=wl(ge,"beforeRouteUpdate",O,X);for(const R of ge)R.updateGuards.forEach(W=>{G.push(ra(W,O,X))});return G.push(I),ve(G)}).then(()=>{G=[];for(const R of _)if(R.beforeEnter)if(mi(R.beforeEnter))for(const W of R.beforeEnter)G.push(ra(W,O,X));else G.push(ra(R.beforeEnter,O,X));return G.push(I),ve(G)}).then(()=>(O.matched.forEach(R=>R.enterCallbacks={}),G=wl(_,"beforeRouteEnter",O,X,C),G.push(I),ve(G))).then(()=>{G=[];for(const R of n.list())G.push(ra(R,O,X));return G.push(I),ve(G)}).catch(R=>Ni(R,tt.NAVIGATION_CANCELLED)?R:Promise.reject(R))}function E(O,X,G){o.list().forEach(J=>C(()=>J(O,X,G)))}function P(O,X,G,J,ge){const _=x(O,X);if(_)return _;const I=X===Qi,R=fs?history.state:{};G&&(J||I?s.replace(O.fullPath,He({scroll:I&&R&&R.scroll},ge)):s.push(O.fullPath,ge)),l.value=O,ae(O,X,G,I),re()}let D;function L(){D||(D=s.listen((O,X,G)=>{if(!Re.listening)return;const J=v(O),ge=A(J,Re.currentRoute.value);if(ge){w(He(ge,{replace:!0,force:!0}),J).catch(vr);return}c=J;const _=l.value;fs&&nS(Kh(_.fullPath,G.delta),Ho()),M(J,_).catch(I=>Ni(I,tt.NAVIGATION_ABORTED|tt.NAVIGATION_CANCELLED)?I:Ni(I,tt.NAVIGATION_GUARD_REDIRECT)?(w(He(b(I.to),{force:!0}),J).then(R=>{Ni(R,tt.NAVIGATION_ABORTED|tt.NAVIGATION_DUPLICATED)&&!G.delta&&G.type===Cc.pop&&s.go(-1,!1)}).catch(vr),Promise.reject()):(G.delta&&s.go(-G.delta,!1),H(I,J,_))).then(I=>{I=I||P(J,_,!1),I&&(G.delta&&!Ni(I,tt.NAVIGATION_CANCELLED)?s.go(-G.delta,!1):G.type===Cc.pop&&Ni(I,tt.NAVIGATION_ABORTED|tt.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),E(J,_,I)}).catch(vr)}))}let B=Js(),N=Js(),F;function H(O,X,G){re(O);const J=N.list();return J.length?J.forEach(ge=>ge(O,X,G)):console.error(O),Promise.reject(O)}function ie(){return F&&l.value!==Qi?Promise.resolve():new Promise((O,X)=>{B.add([O,X])})}function re(O){return F||(F=!O,L(),B.list().forEach(([X,G])=>O?G(O):X()),B.reset()),O}function ae(O,X,G,J){const{scrollBehavior:ge}=i;if(!fs||!ge)return Promise.resolve();const _=!G&&oS(Kh(O.fullPath,0))||(J||!G)&&history.state&&history.state.scroll||null;return Xr().then(()=>ge(O,X,_)).then(I=>I&&rS(I)).catch(I=>H(I,O,X))}const le=O=>s.go(O);let Me;const pe=new Set,Re={currentRoute:l,listening:!0,addRoute:f,removeRoute:g,clearRoutes:e.clearRoutes,hasRoute:m,getRoutes:p,resolve:v,options:i,push:k,replace:y,go:le,back:()=>le(-1),forward:()=>le(1),beforeEach:r.add,beforeResolve:n.add,afterEach:o.add,onError:N.add,isReady:ie,install(O){O.component("RouterLink",NS),O.component("RouterView",BS),O.config.globalProperties.$router=Re,Object.defineProperty(O.config.globalProperties,"$route",{enumerable:!0,get:()=>ei(l)}),fs&&!Me&&l.value===Qi&&(Me=!0,k(s.location).catch(J=>{}));const X={};for(const J in Qi)Object.defineProperty(X,J,{get:()=>l.value[J],enumerable:!0});O.provide(Wo,Re),O.provide(Zu,gp(X)),O.provide(Ec,l);const G=O.unmount;pe.add(O),O.unmount=function(){pe.delete(O),pe.size<1&&(c=Qi,D&&D(),D=null,l.value=Qi,Me=!1,F=!1),G()}}};function ve(O){return O.reduce((X,G)=>X.then(()=>C(G)),Promise.resolve())}return Re}function KT(){return Je(Wo)}function ZT(i){return Je(Zu)}/*!
|
|
41
|
+
* pinia v3.0.4
|
|
42
|
+
* (c) 2025 Eduardo San Martin Morote
|
|
43
|
+
* @license MIT
|
|
44
|
+
*/let Ju;const jo=i=>Ju=i,JT=()=>Up()&&Je(Qu)||Ju,Qu=Symbol();function Pc(i){return i&&typeof i=="object"&&Object.prototype.toString.call(i)==="[object Object]"&&typeof i.toJSON!="function"}var br;(function(i){i.direct="direct",i.patchObject="patch object",i.patchFunction="patch function"})(br||(br={}));function WS(){const i=kr(!0),e=i.run(()=>Ze({}));let t=[],a=[];const s=Lu({install(r){jo(s),s._a=r,r.provide(Qu,s),r.config.globalProperties.$pinia=s,a.forEach(n=>t.push(n)),a=[]},use(r){return this._a?t.push(r):a.push(r),this},_p:t,_a:null,_e:i,_s:new Map,state:e});return s}const sv=()=>{};function uf(i,e,t,a=sv){i.add(e);const s=()=>{i.delete(e)&&a()};return!t&&Mu()&&Eo(s),s}function ss(i,...e){i.forEach(t=>{t(...e)})}const jS=i=>i(),df=Symbol(),kl=Symbol();function _c(i,e){i instanceof Map&&e instanceof Map?e.forEach((t,a)=>i.set(a,t)):i instanceof Set&&e instanceof Set&&e.forEach(i.add,i);for(const t in e){if(!e.hasOwnProperty(t))continue;const a=e[t],s=i[t];Pc(s)&&Pc(a)&&i.hasOwnProperty(t)&&!rt(a)&&!da(a)?i[t]=_c(s,a):i[t]=a}return i}const YS=Symbol();function VS(i){return!Pc(i)||!Object.prototype.hasOwnProperty.call(i,YS)}const{assign:ia}=Object;function US(i){return!!(rt(i)&&i.effect)}function XS(i,e,t,a){const{state:s,actions:r,getters:n}=e,o=t.state.value[i];let l;function c(){o||(t.state.value[i]=s?s():{});const u=Ru(t.state.value[i]);return ia(u,r,Object.keys(n||{}).reduce((d,h)=>(d[h]=Lu(ze(()=>{jo(t);const f=t._s.get(i);return n[h].call(f,f)})),d),{}))}return l=rv(i,c,e,t,a,!0),l}function rv(i,e,t={},a,s,r){let n;const o=ia({actions:{}},t),l={deep:!0};let c,u,d=new Set,h=new Set,f;const g=a.state.value[i];!r&&!g&&(a.state.value[i]={}),Ze({});let p;function m(S){let C;c=u=!1,typeof S=="function"?(S(a.state.value[i]),C={type:br.patchFunction,storeId:i,events:f}):(_c(a.state.value[i],S),C={type:br.patchObject,payload:S,storeId:i,events:f});const M=p=Symbol();Xr().then(()=>{p===M&&(c=!0)}),u=!0,ss(d,C,a.state.value[i])}const v=r?function(){const{state:C}=t,M=C?C():{};this.$patch(E=>{ia(E,M)})}:sv;function b(){n.stop(),d.clear(),h.clear(),a._s.delete(i)}const x=(S,C="")=>{if(df in S)return S[kl]=C,S;const M=function(){jo(a);const E=Array.from(arguments),P=new Set,D=new Set;function L(F){P.add(F)}function B(F){D.add(F)}ss(h,{args:E,name:M[kl],store:y,after:L,onError:B});let N;try{N=S.apply(this&&this.$id===i?this:y,E)}catch(F){throw ss(D,F),F}return N instanceof Promise?N.then(F=>(ss(P,F),F)).catch(F=>(ss(D,F),Promise.reject(F))):(ss(P,N),N)};return M[df]=!0,M[kl]=C,M},k={_p:a,$id:i,$onAction:uf.bind(null,h),$patch:m,$reset:v,$subscribe(S,C={}){const M=uf(d,S,C.detached,()=>E()),E=n.run(()=>At(()=>a.state.value[i],P=>{(C.flush==="sync"?u:c)&&S({storeId:i,type:br.direct,events:f},P)},ia({},l,C)));return M},$dispose:b},y=Di(k);a._s.set(i,y);const w=(a._a&&a._a.runWithContext||jS)(()=>a._e.run(()=>(n=kr()).run(()=>e({action:x}))));for(const S in w){const C=w[S];if(rt(C)&&!US(C)||da(C))r||(g&&VS(C)&&(rt(C)?C.value=g[S]:_c(C,g[S])),a.state.value[i][S]=C);else if(typeof C=="function"){const M=x(C,S);w[S]=M,o.actions[S]=C}}return ia(y,w),ia(Pe(y),w),Object.defineProperty(y,"$state",{get:()=>a.state.value[i],set:S=>{m(C=>{ia(C,S)})}}),a._p.forEach(S=>{ia(y,n.run(()=>S({store:y,app:a._a,pinia:a,options:o})))}),g&&r&&t.hydrate&&t.hydrate(y.$state,g),c=!0,u=!0,y}/*! #__NO_SIDE_EFFECTS__ */function ed(i,e,t){let a;const s=typeof e=="function";a=s?t:e;function r(n,o){const l=Up();return n=n||(l?Je(Qu,null):null),n&&jo(n),n=Ju,n._s.has(i)||(s?rv(i,e,a,n):XS(i,a,n)),n._s.get(i)}return r.$id=i,r}function nv(i,e){return function(){return i.apply(e,arguments)}}const{toString:qS}=Object.prototype,{getPrototypeOf:td}=Object,{iterator:Yo,toStringTag:ov}=Symbol,Vo=(i=>e=>{const t=qS.call(e);return i[t]||(i[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),bi=i=>(i=i.toLowerCase(),e=>Vo(e)===i),Uo=i=>e=>typeof e===i,{isArray:Fs}=Array,Ts=Uo("undefined");function Kr(i){return i!==null&&!Ts(i)&&i.constructor!==null&&!Ts(i.constructor)&&Yt(i.constructor.isBuffer)&&i.constructor.isBuffer(i)}const lv=bi("ArrayBuffer");function GS(i){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(i):e=i&&i.buffer&&lv(i.buffer),e}const $S=Uo("string"),Yt=Uo("function"),cv=Uo("number"),Zr=i=>i!==null&&typeof i=="object",KS=i=>i===!0||i===!1,Rn=i=>{if(Vo(i)!=="object")return!1;const e=td(i);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(ov in i)&&!(Yo in i)},ZS=i=>{if(!Zr(i)||Kr(i))return!1;try{return Object.keys(i).length===0&&Object.getPrototypeOf(i)===Object.prototype}catch{return!1}},JS=bi("Date"),QS=bi("File"),eC=bi("Blob"),tC=bi("FileList"),iC=i=>Zr(i)&&Yt(i.pipe),aC=i=>{let e;return i&&(typeof FormData=="function"&&i instanceof FormData||Yt(i.append)&&((e=Vo(i))==="formdata"||e==="object"&&Yt(i.toString)&&i.toString()==="[object FormData]"))},sC=bi("URLSearchParams"),[rC,nC,oC,lC]=["ReadableStream","Request","Response","Headers"].map(bi),cC=i=>i.trim?i.trim():i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Jr(i,e,{allOwnKeys:t=!1}={}){if(i===null||typeof i>"u")return;let a,s;if(typeof i!="object"&&(i=[i]),Fs(i))for(a=0,s=i.length;a<s;a++)e.call(null,i[a],a,i);else{if(Kr(i))return;const r=t?Object.getOwnPropertyNames(i):Object.keys(i),n=r.length;let o;for(a=0;a<n;a++)o=r[a],e.call(null,i[o],o,i)}}function uv(i,e){if(Kr(i))return null;e=e.toLowerCase();const t=Object.keys(i);let a=t.length,s;for(;a-- >0;)if(s=t[a],e===s.toLowerCase())return s;return null}const Da=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,dv=i=>!Ts(i)&&i!==Da;function Ic(){const{caseless:i,skipUndefined:e}=dv(this)&&this||{},t={},a=(s,r)=>{const n=i&&uv(t,r)||r;Rn(t[n])&&Rn(s)?t[n]=Ic(t[n],s):Rn(s)?t[n]=Ic({},s):Fs(s)?t[n]=s.slice():(!e||!Ts(s))&&(t[n]=s)};for(let s=0,r=arguments.length;s<r;s++)arguments[s]&&Jr(arguments[s],a);return t}const uC=(i,e,t,{allOwnKeys:a}={})=>(Jr(e,(s,r)=>{t&&Yt(s)?i[r]=nv(s,t):i[r]=s},{allOwnKeys:a}),i),dC=i=>(i.charCodeAt(0)===65279&&(i=i.slice(1)),i),hC=(i,e,t,a)=>{i.prototype=Object.create(e.prototype,a),i.prototype.constructor=i,Object.defineProperty(i,"super",{value:e.prototype}),t&&Object.assign(i.prototype,t)},fC=(i,e,t,a)=>{let s,r,n;const o={};if(e=e||{},i==null)return e;do{for(s=Object.getOwnPropertyNames(i),r=s.length;r-- >0;)n=s[r],(!a||a(n,i,e))&&!o[n]&&(e[n]=i[n],o[n]=!0);i=t!==!1&&td(i)}while(i&&(!t||t(i,e))&&i!==Object.prototype);return e},gC=(i,e,t)=>{i=String(i),(t===void 0||t>i.length)&&(t=i.length),t-=e.length;const a=i.indexOf(e,t);return a!==-1&&a===t},pC=i=>{if(!i)return null;if(Fs(i))return i;let e=i.length;if(!cv(e))return null;const t=new Array(e);for(;e-- >0;)t[e]=i[e];return t},mC=(i=>e=>i&&e instanceof i)(typeof Uint8Array<"u"&&td(Uint8Array)),vC=(i,e)=>{const a=(i&&i[Yo]).call(i);let s;for(;(s=a.next())&&!s.done;){const r=s.value;e.call(i,r[0],r[1])}},bC=(i,e)=>{let t;const a=[];for(;(t=i.exec(e))!==null;)a.push(t);return a},xC=bi("HTMLFormElement"),yC=i=>i.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,a,s){return a.toUpperCase()+s}),hf=(({hasOwnProperty:i})=>(e,t)=>i.call(e,t))(Object.prototype),wC=bi("RegExp"),hv=(i,e)=>{const t=Object.getOwnPropertyDescriptors(i),a={};Jr(t,(s,r)=>{let n;(n=e(s,r,i))!==!1&&(a[r]=n||s)}),Object.defineProperties(i,a)},kC=i=>{hv(i,(e,t)=>{if(Yt(i)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const a=i[t];if(Yt(a)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},AC=(i,e)=>{const t={},a=s=>{s.forEach(r=>{t[r]=!0})};return Fs(i)?a(i):a(String(i).split(e)),t},SC=()=>{},CC=(i,e)=>i!=null&&Number.isFinite(i=+i)?i:e;function MC(i){return!!(i&&Yt(i.append)&&i[ov]==="FormData"&&i[Yo])}const EC=i=>{const e=new Array(10),t=(a,s)=>{if(Zr(a)){if(e.indexOf(a)>=0)return;if(Kr(a))return a;if(!("toJSON"in a)){e[s]=a;const r=Fs(a)?[]:{};return Jr(a,(n,o)=>{const l=t(n,s+1);!Ts(l)&&(r[o]=l)}),e[s]=void 0,r}}return a};return t(i,0)},PC=bi("AsyncFunction"),_C=i=>i&&(Zr(i)||Yt(i))&&Yt(i.then)&&Yt(i.catch),fv=((i,e)=>i?setImmediate:e?((t,a)=>(Da.addEventListener("message",({source:s,data:r})=>{s===Da&&r===t&&a.length&&a.shift()()},!1),s=>{a.push(s),Da.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",Yt(Da.postMessage)),IC=typeof queueMicrotask<"u"?queueMicrotask.bind(Da):typeof process<"u"&&process.nextTick||fv,TC=i=>i!=null&&Yt(i[Yo]),z={isArray:Fs,isArrayBuffer:lv,isBuffer:Kr,isFormData:aC,isArrayBufferView:GS,isString:$S,isNumber:cv,isBoolean:KS,isObject:Zr,isPlainObject:Rn,isEmptyObject:ZS,isReadableStream:rC,isRequest:nC,isResponse:oC,isHeaders:lC,isUndefined:Ts,isDate:JS,isFile:QS,isBlob:eC,isRegExp:wC,isFunction:Yt,isStream:iC,isURLSearchParams:sC,isTypedArray:mC,isFileList:tC,forEach:Jr,merge:Ic,extend:uC,trim:cC,stripBOM:dC,inherits:hC,toFlatObject:fC,kindOf:Vo,kindOfTest:bi,endsWith:gC,toArray:pC,forEachEntry:vC,matchAll:bC,isHTMLForm:xC,hasOwnProperty:hf,hasOwnProp:hf,reduceDescriptors:hv,freezeMethods:kC,toObjectSet:AC,toCamelCase:yC,noop:SC,toFiniteNumber:CC,findKey:uv,global:Da,isContextDefined:dv,isSpecCompliantForm:MC,toJSONObject:EC,isAsyncFn:PC,isThenable:_C,setImmediate:fv,asap:IC,isIterable:TC};function Se(i,e,t,a,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=i,this.name="AxiosError",e&&(this.code=e),t&&(this.config=t),a&&(this.request=a),s&&(this.response=s,this.status=s.status?s.status:null)}z.inherits(Se,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:z.toJSONObject(this.config),code:this.code,status:this.status}}});const gv=Se.prototype,pv={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(i=>{pv[i]={value:i}});Object.defineProperties(Se,pv);Object.defineProperty(gv,"isAxiosError",{value:!0});Se.from=(i,e,t,a,s,r)=>{const n=Object.create(gv);z.toFlatObject(i,n,function(u){return u!==Error.prototype},c=>c!=="isAxiosError");const o=i&&i.message?i.message:"Error",l=e==null&&i?i.code:e;return Se.call(n,o,l,t,a,s),i&&n.cause==null&&Object.defineProperty(n,"cause",{value:i,configurable:!0}),n.name=i&&i.name||"Error",r&&Object.assign(n,r),n};const DC=null;function Tc(i){return z.isPlainObject(i)||z.isArray(i)}function mv(i){return z.endsWith(i,"[]")?i.slice(0,-2):i}function ff(i,e,t){return i?i.concat(e).map(function(s,r){return s=mv(s),!t&&r?"["+s+"]":s}).join(t?".":""):e}function LC(i){return z.isArray(i)&&!i.some(Tc)}const RC=z.toFlatObject(z,{},null,function(e){return/^is[A-Z]/.test(e)});function Xo(i,e,t){if(!z.isObject(i))throw new TypeError("target must be an object");e=e||new FormData,t=z.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,m){return!z.isUndefined(m[p])});const a=t.metaTokens,s=t.visitor||u,r=t.dots,n=t.indexes,l=(t.Blob||typeof Blob<"u"&&Blob)&&z.isSpecCompliantForm(e);if(!z.isFunction(s))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(z.isDate(g))return g.toISOString();if(z.isBoolean(g))return g.toString();if(!l&&z.isBlob(g))throw new Se("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(g)||z.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function u(g,p,m){let v=g;if(g&&!m&&typeof g=="object"){if(z.endsWith(p,"{}"))p=a?p:p.slice(0,-2),g=JSON.stringify(g);else if(z.isArray(g)&&LC(g)||(z.isFileList(g)||z.endsWith(p,"[]"))&&(v=z.toArray(g)))return p=mv(p),v.forEach(function(x,k){!(z.isUndefined(x)||x===null)&&e.append(n===!0?ff([p],k,r):n===null?p:p+"[]",c(x))}),!1}return Tc(g)?!0:(e.append(ff(m,p,r),c(g)),!1)}const d=[],h=Object.assign(RC,{defaultVisitor:u,convertValue:c,isVisitable:Tc});function f(g,p){if(!z.isUndefined(g)){if(d.indexOf(g)!==-1)throw Error("Circular reference detected in "+p.join("."));d.push(g),z.forEach(g,function(v,b){(!(z.isUndefined(v)||v===null)&&s.call(e,v,z.isString(b)?b.trim():b,p,h))===!0&&f(v,p?p.concat(b):[b])}),d.pop()}}if(!z.isObject(i))throw new TypeError("data must be an object");return f(i),e}function gf(i){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(i).replace(/[!'()~]|%20|%00/g,function(a){return e[a]})}function id(i,e){this._pairs=[],i&&Xo(i,this,e)}const vv=id.prototype;vv.append=function(e,t){this._pairs.push([e,t])};vv.toString=function(e){const t=e?function(a){return e.call(this,a,gf)}:gf;return this._pairs.map(function(s){return t(s[0])+"="+t(s[1])},"").join("&")};function NC(i){return encodeURIComponent(i).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function bv(i,e,t){if(!e)return i;const a=t&&t.encode||NC;z.isFunction(t)&&(t={serialize:t});const s=t&&t.serialize;let r;if(s?r=s(e,t):r=z.isURLSearchParams(e)?e.toString():new id(e,t).toString(a),r){const n=i.indexOf("#");n!==-1&&(i=i.slice(0,n)),i+=(i.indexOf("?")===-1?"?":"&")+r}return i}class pf{constructor(){this.handlers=[]}use(e,t,a){return this.handlers.push({fulfilled:e,rejected:t,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){z.forEach(this.handlers,function(a){a!==null&&e(a)})}}const xv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},OC=typeof URLSearchParams<"u"?URLSearchParams:id,FC=typeof FormData<"u"?FormData:null,zC=typeof Blob<"u"?Blob:null,BC={isBrowser:!0,classes:{URLSearchParams:OC,FormData:FC,Blob:zC},protocols:["http","https","file","blob","url","data"]},ad=typeof window<"u"&&typeof document<"u",Dc=typeof navigator=="object"&&navigator||void 0,HC=ad&&(!Dc||["ReactNative","NativeScript","NS"].indexOf(Dc.product)<0),WC=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",jC=ad&&window.location.href||"http://localhost",YC=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ad,hasStandardBrowserEnv:HC,hasStandardBrowserWebWorkerEnv:WC,navigator:Dc,origin:jC},Symbol.toStringTag,{value:"Module"})),Ct={...YC,...BC};function VC(i,e){return Xo(i,new Ct.classes.URLSearchParams,{visitor:function(t,a,s,r){return Ct.isNode&&z.isBuffer(t)?(this.append(a,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...e})}function UC(i){return z.matchAll(/\w+|\[(\w*)]/g,i).map(e=>e[0]==="[]"?"":e[1]||e[0])}function XC(i){const e={},t=Object.keys(i);let a;const s=t.length;let r;for(a=0;a<s;a++)r=t[a],e[r]=i[r];return e}function yv(i){function e(t,a,s,r){let n=t[r++];if(n==="__proto__")return!0;const o=Number.isFinite(+n),l=r>=t.length;return n=!n&&z.isArray(s)?s.length:n,l?(z.hasOwnProp(s,n)?s[n]=[s[n],a]:s[n]=a,!o):((!s[n]||!z.isObject(s[n]))&&(s[n]=[]),e(t,a,s[n],r)&&z.isArray(s[n])&&(s[n]=XC(s[n])),!o)}if(z.isFormData(i)&&z.isFunction(i.entries)){const t={};return z.forEachEntry(i,(a,s)=>{e(UC(a),s,t,0)}),t}return null}function qC(i,e,t){if(z.isString(i))try{return(e||JSON.parse)(i),z.trim(i)}catch(a){if(a.name!=="SyntaxError")throw a}return(t||JSON.stringify)(i)}const Qr={transitional:xv,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const a=t.getContentType()||"",s=a.indexOf("application/json")>-1,r=z.isObject(e);if(r&&z.isHTMLForm(e)&&(e=new FormData(e)),z.isFormData(e))return s?JSON.stringify(yv(e)):e;if(z.isArrayBuffer(e)||z.isBuffer(e)||z.isStream(e)||z.isFile(e)||z.isBlob(e)||z.isReadableStream(e))return e;if(z.isArrayBufferView(e))return e.buffer;if(z.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(r){if(a.indexOf("application/x-www-form-urlencoded")>-1)return VC(e,this.formSerializer).toString();if((o=z.isFileList(e))||a.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Xo(o?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||s?(t.setContentType("application/json",!1),qC(e)):e}],transformResponse:[function(e){const t=this.transitional||Qr.transitional,a=t&&t.forcedJSONParsing,s=this.responseType==="json";if(z.isResponse(e)||z.isReadableStream(e))return e;if(e&&z.isString(e)&&(a&&!this.responseType||s)){const n=!(t&&t.silentJSONParsing)&&s;try{return JSON.parse(e,this.parseReviver)}catch(o){if(n)throw o.name==="SyntaxError"?Se.from(o,Se.ERR_BAD_RESPONSE,this,null,this.response):o}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ct.classes.FormData,Blob:Ct.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};z.forEach(["delete","get","head","post","put","patch"],i=>{Qr.headers[i]={}});const GC=z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),$C=i=>{const e={};let t,a,s;return i&&i.split(`
|
|
45
|
+
`).forEach(function(n){s=n.indexOf(":"),t=n.substring(0,s).trim().toLowerCase(),a=n.substring(s+1).trim(),!(!t||e[t]&&GC[t])&&(t==="set-cookie"?e[t]?e[t].push(a):e[t]=[a]:e[t]=e[t]?e[t]+", "+a:a)}),e},mf=Symbol("internals");function Qs(i){return i&&String(i).trim().toLowerCase()}function Nn(i){return i===!1||i==null?i:z.isArray(i)?i.map(Nn):String(i)}function KC(i){const e=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let a;for(;a=t.exec(i);)e[a[1]]=a[2];return e}const ZC=i=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(i.trim());function Al(i,e,t,a,s){if(z.isFunction(a))return a.call(this,e,t);if(s&&(e=t),!!z.isString(e)){if(z.isString(a))return e.indexOf(a)!==-1;if(z.isRegExp(a))return a.test(e)}}function JC(i){return i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,a)=>t.toUpperCase()+a)}function QC(i,e){const t=z.toCamelCase(" "+e);["get","set","has"].forEach(a=>{Object.defineProperty(i,a+t,{value:function(s,r,n){return this[a].call(this,e,s,r,n)},configurable:!0})})}let Vt=class{constructor(e){e&&this.set(e)}set(e,t,a){const s=this;function r(o,l,c){const u=Qs(l);if(!u)throw new Error("header name must be a non-empty string");const d=z.findKey(s,u);(!d||s[d]===void 0||c===!0||c===void 0&&s[d]!==!1)&&(s[d||l]=Nn(o))}const n=(o,l)=>z.forEach(o,(c,u)=>r(c,u,l));if(z.isPlainObject(e)||e instanceof this.constructor)n(e,t);else if(z.isString(e)&&(e=e.trim())&&!ZC(e))n($C(e),t);else if(z.isObject(e)&&z.isIterable(e)){let o={},l,c;for(const u of e){if(!z.isArray(u))throw TypeError("Object iterator must return a key-value pair");o[c=u[0]]=(l=o[c])?z.isArray(l)?[...l,u[1]]:[l,u[1]]:u[1]}n(o,t)}else e!=null&&r(t,e,a);return this}get(e,t){if(e=Qs(e),e){const a=z.findKey(this,e);if(a){const s=this[a];if(!t)return s;if(t===!0)return KC(s);if(z.isFunction(t))return t.call(this,s,a);if(z.isRegExp(t))return t.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Qs(e),e){const a=z.findKey(this,e);return!!(a&&this[a]!==void 0&&(!t||Al(this,this[a],a,t)))}return!1}delete(e,t){const a=this;let s=!1;function r(n){if(n=Qs(n),n){const o=z.findKey(a,n);o&&(!t||Al(a,a[o],o,t))&&(delete a[o],s=!0)}}return z.isArray(e)?e.forEach(r):r(e),s}clear(e){const t=Object.keys(this);let a=t.length,s=!1;for(;a--;){const r=t[a];(!e||Al(this,this[r],r,e,!0))&&(delete this[r],s=!0)}return s}normalize(e){const t=this,a={};return z.forEach(this,(s,r)=>{const n=z.findKey(a,r);if(n){t[n]=Nn(s),delete t[r];return}const o=e?JC(r):String(r).trim();o!==r&&delete t[r],t[o]=Nn(s),a[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return z.forEach(this,(a,s)=>{a!=null&&a!==!1&&(t[s]=e&&z.isArray(a)?a.join(", "):a)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(`
|
|
46
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const a=new this(e);return t.forEach(s=>a.set(s)),a}static accessor(e){const a=(this[mf]=this[mf]={accessors:{}}).accessors,s=this.prototype;function r(n){const o=Qs(n);a[o]||(QC(s,n),a[o]=!0)}return z.isArray(e)?e.forEach(r):r(e),this}};Vt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);z.reduceDescriptors(Vt.prototype,({value:i},e)=>{let t=e[0].toUpperCase()+e.slice(1);return{get:()=>i,set(a){this[t]=a}}});z.freezeMethods(Vt);function Sl(i,e){const t=this||Qr,a=e||t,s=Vt.from(a.headers);let r=a.data;return z.forEach(i,function(o){r=o.call(t,r,s.normalize(),e?e.status:void 0)}),s.normalize(),r}function wv(i){return!!(i&&i.__CANCEL__)}function zs(i,e,t){Se.call(this,i??"canceled",Se.ERR_CANCELED,e,t),this.name="CanceledError"}z.inherits(zs,Se,{__CANCEL__:!0});function kv(i,e,t){const a=t.config.validateStatus;!t.status||!a||a(t.status)?i(t):e(new Se("Request failed with status code "+t.status,[Se.ERR_BAD_REQUEST,Se.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}function e1(i){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(i);return e&&e[1]||""}function t1(i,e){i=i||10;const t=new Array(i),a=new Array(i);let s=0,r=0,n;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),u=a[r];n||(n=c),t[s]=l,a[s]=c;let d=r,h=0;for(;d!==s;)h+=t[d++],d=d%i;if(s=(s+1)%i,s===r&&(r=(r+1)%i),c-n<e)return;const f=u&&c-u;return f?Math.round(h*1e3/f):void 0}}function i1(i,e){let t=0,a=1e3/e,s,r;const n=(c,u=Date.now())=>{t=u,s=null,r&&(clearTimeout(r),r=null),i(...c)};return[(...c)=>{const u=Date.now(),d=u-t;d>=a?n(c,u):(s=c,r||(r=setTimeout(()=>{r=null,n(s)},a-d)))},()=>s&&n(s)]}const lo=(i,e,t=3)=>{let a=0;const s=t1(50,250);return i1(r=>{const n=r.loaded,o=r.lengthComputable?r.total:void 0,l=n-a,c=s(l),u=n<=o;a=n;const d={loaded:n,total:o,progress:o?n/o:void 0,bytes:l,rate:c||void 0,estimated:c&&o&&u?(o-n)/c:void 0,event:r,lengthComputable:o!=null,[e?"download":"upload"]:!0};i(d)},t)},vf=(i,e)=>{const t=i!=null;return[a=>e[0]({lengthComputable:t,total:i,loaded:a}),e[1]]},bf=i=>(...e)=>z.asap(()=>i(...e)),a1=Ct.hasStandardBrowserEnv?((i,e)=>t=>(t=new URL(t,Ct.origin),i.protocol===t.protocol&&i.host===t.host&&(e||i.port===t.port)))(new URL(Ct.origin),Ct.navigator&&/(msie|trident)/i.test(Ct.navigator.userAgent)):()=>!0,s1=Ct.hasStandardBrowserEnv?{write(i,e,t,a,s,r,n){if(typeof document>"u")return;const o=[`${i}=${encodeURIComponent(e)}`];z.isNumber(t)&&o.push(`expires=${new Date(t).toUTCString()}`),z.isString(a)&&o.push(`path=${a}`),z.isString(s)&&o.push(`domain=${s}`),r===!0&&o.push("secure"),z.isString(n)&&o.push(`SameSite=${n}`),document.cookie=o.join("; ")},read(i){if(typeof document>"u")return null;const e=document.cookie.match(new RegExp("(?:^|; )"+i+"=([^;]*)"));return e?decodeURIComponent(e[1]):null},remove(i){this.write(i,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function r1(i){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i)}function n1(i,e){return e?i.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):i}function Av(i,e,t){let a=!r1(e);return i&&(a||t==!1)?n1(i,e):e}const xf=i=>i instanceof Vt?{...i}:i;function Ga(i,e){e=e||{};const t={};function a(c,u,d,h){return z.isPlainObject(c)&&z.isPlainObject(u)?z.merge.call({caseless:h},c,u):z.isPlainObject(u)?z.merge({},u):z.isArray(u)?u.slice():u}function s(c,u,d,h){if(z.isUndefined(u)){if(!z.isUndefined(c))return a(void 0,c,d,h)}else return a(c,u,d,h)}function r(c,u){if(!z.isUndefined(u))return a(void 0,u)}function n(c,u){if(z.isUndefined(u)){if(!z.isUndefined(c))return a(void 0,c)}else return a(void 0,u)}function o(c,u,d){if(d in e)return a(c,u);if(d in i)return a(void 0,c)}const l={url:r,method:r,data:r,baseURL:n,transformRequest:n,transformResponse:n,paramsSerializer:n,timeout:n,timeoutMessage:n,withCredentials:n,withXSRFToken:n,adapter:n,responseType:n,xsrfCookieName:n,xsrfHeaderName:n,onUploadProgress:n,onDownloadProgress:n,decompress:n,maxContentLength:n,maxBodyLength:n,beforeRedirect:n,transport:n,httpAgent:n,httpsAgent:n,cancelToken:n,socketPath:n,responseEncoding:n,validateStatus:o,headers:(c,u,d)=>s(xf(c),xf(u),d,!0)};return z.forEach(Object.keys({...i,...e}),function(u){const d=l[u]||s,h=d(i[u],e[u],u);z.isUndefined(h)&&d!==o||(t[u]=h)}),t}const Sv=i=>{const e=Ga({},i);let{data:t,withXSRFToken:a,xsrfHeaderName:s,xsrfCookieName:r,headers:n,auth:o}=e;if(e.headers=n=Vt.from(n),e.url=bv(Av(e.baseURL,e.url,e.allowAbsoluteUrls),i.params,i.paramsSerializer),o&&n.set("Authorization","Basic "+btoa((o.username||"")+":"+(o.password?unescape(encodeURIComponent(o.password)):""))),z.isFormData(t)){if(Ct.hasStandardBrowserEnv||Ct.hasStandardBrowserWebWorkerEnv)n.setContentType(void 0);else if(z.isFunction(t.getHeaders)){const l=t.getHeaders(),c=["content-type","content-length"];Object.entries(l).forEach(([u,d])=>{c.includes(u.toLowerCase())&&n.set(u,d)})}}if(Ct.hasStandardBrowserEnv&&(a&&z.isFunction(a)&&(a=a(e)),a||a!==!1&&a1(e.url))){const l=s&&r&&s1.read(r);l&&n.set(s,l)}return e},o1=typeof XMLHttpRequest<"u",l1=o1&&function(i){return new Promise(function(t,a){const s=Sv(i);let r=s.data;const n=Vt.from(s.headers).normalize();let{responseType:o,onUploadProgress:l,onDownloadProgress:c}=s,u,d,h,f,g;function p(){f&&f(),g&&g(),s.cancelToken&&s.cancelToken.unsubscribe(u),s.signal&&s.signal.removeEventListener("abort",u)}let m=new XMLHttpRequest;m.open(s.method.toUpperCase(),s.url,!0),m.timeout=s.timeout;function v(){if(!m)return;const x=Vt.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),y={data:!o||o==="text"||o==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:x,config:i,request:m};kv(function(w){t(w),p()},function(w){a(w),p()},y),m=null}"onloadend"in m?m.onloadend=v:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(v)},m.onabort=function(){m&&(a(new Se("Request aborted",Se.ECONNABORTED,i,m)),m=null)},m.onerror=function(k){const y=k&&k.message?k.message:"Network Error",A=new Se(y,Se.ERR_NETWORK,i,m);A.event=k||null,a(A),m=null},m.ontimeout=function(){let k=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const y=s.transitional||xv;s.timeoutErrorMessage&&(k=s.timeoutErrorMessage),a(new Se(k,y.clarifyTimeoutError?Se.ETIMEDOUT:Se.ECONNABORTED,i,m)),m=null},r===void 0&&n.setContentType(null),"setRequestHeader"in m&&z.forEach(n.toJSON(),function(k,y){m.setRequestHeader(y,k)}),z.isUndefined(s.withCredentials)||(m.withCredentials=!!s.withCredentials),o&&o!=="json"&&(m.responseType=s.responseType),c&&([h,g]=lo(c,!0),m.addEventListener("progress",h)),l&&m.upload&&([d,f]=lo(l),m.upload.addEventListener("progress",d),m.upload.addEventListener("loadend",f)),(s.cancelToken||s.signal)&&(u=x=>{m&&(a(!x||x.type?new zs(null,i,m):x),m.abort(),m=null)},s.cancelToken&&s.cancelToken.subscribe(u),s.signal&&(s.signal.aborted?u():s.signal.addEventListener("abort",u)));const b=e1(s.url);if(b&&Ct.protocols.indexOf(b)===-1){a(new Se("Unsupported protocol "+b+":",Se.ERR_BAD_REQUEST,i));return}m.send(r||null)})},c1=(i,e)=>{const{length:t}=i=i?i.filter(Boolean):[];if(e||t){let a=new AbortController,s;const r=function(c){if(!s){s=!0,o();const u=c instanceof Error?c:this.reason;a.abort(u instanceof Se?u:new zs(u instanceof Error?u.message:u))}};let n=e&&setTimeout(()=>{n=null,r(new Se(`timeout ${e} of ms exceeded`,Se.ETIMEDOUT))},e);const o=()=>{i&&(n&&clearTimeout(n),n=null,i.forEach(c=>{c.unsubscribe?c.unsubscribe(r):c.removeEventListener("abort",r)}),i=null)};i.forEach(c=>c.addEventListener("abort",r));const{signal:l}=a;return l.unsubscribe=()=>z.asap(o),l}},u1=function*(i,e){let t=i.byteLength;if(t<e){yield i;return}let a=0,s;for(;a<t;)s=a+e,yield i.slice(a,s),a=s},d1=async function*(i,e){for await(const t of h1(i))yield*u1(t,e)},h1=async function*(i){if(i[Symbol.asyncIterator]){yield*i;return}const e=i.getReader();try{for(;;){const{done:t,value:a}=await e.read();if(t)break;yield a}}finally{await e.cancel()}},yf=(i,e,t,a)=>{const s=d1(i,e);let r=0,n,o=l=>{n||(n=!0,a&&a(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await s.next();if(c){o(),l.close();return}let d=u.byteLength;if(t){let h=r+=d;t(h)}l.enqueue(new Uint8Array(u))}catch(c){throw o(c),c}},cancel(l){return o(l),s.return()}},{highWaterMark:2})},wf=64*1024,{isFunction:yn}=z,f1=(({Request:i,Response:e})=>({Request:i,Response:e}))(z.global),{ReadableStream:kf,TextEncoder:Af}=z.global,Sf=(i,...e)=>{try{return!!i(...e)}catch{return!1}},g1=i=>{i=z.merge.call({skipUndefined:!0},f1,i);const{fetch:e,Request:t,Response:a}=i,s=e?yn(e):typeof fetch=="function",r=yn(t),n=yn(a);if(!s)return!1;const o=s&&yn(kf),l=s&&(typeof Af=="function"?(g=>p=>g.encode(p))(new Af):async g=>new Uint8Array(await new t(g).arrayBuffer())),c=r&&o&&Sf(()=>{let g=!1;const p=new t(Ct.origin,{body:new kf,method:"POST",get duplex(){return g=!0,"half"}}).headers.has("Content-Type");return g&&!p}),u=n&&o&&Sf(()=>z.isReadableStream(new a("").body)),d={stream:u&&(g=>g.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(g=>{!d[g]&&(d[g]=(p,m)=>{let v=p&&p[g];if(v)return v.call(p);throw new Se(`Response type '${g}' is not supported`,Se.ERR_NOT_SUPPORT,m)})});const h=async g=>{if(g==null)return 0;if(z.isBlob(g))return g.size;if(z.isSpecCompliantForm(g))return(await new t(Ct.origin,{method:"POST",body:g}).arrayBuffer()).byteLength;if(z.isArrayBufferView(g)||z.isArrayBuffer(g))return g.byteLength;if(z.isURLSearchParams(g)&&(g=g+""),z.isString(g))return(await l(g)).byteLength},f=async(g,p)=>{const m=z.toFiniteNumber(g.getContentLength());return m??h(p)};return async g=>{let{url:p,method:m,data:v,signal:b,cancelToken:x,timeout:k,onDownloadProgress:y,onUploadProgress:A,responseType:w,headers:S,withCredentials:C="same-origin",fetchOptions:M}=Sv(g),E=e||fetch;w=w?(w+"").toLowerCase():"text";let P=c1([b,x&&x.toAbortSignal()],k),D=null;const L=P&&P.unsubscribe&&(()=>{P.unsubscribe()});let B;try{if(A&&c&&m!=="get"&&m!=="head"&&(B=await f(S,v))!==0){let ae=new t(p,{method:"POST",body:v,duplex:"half"}),le;if(z.isFormData(v)&&(le=ae.headers.get("content-type"))&&S.setContentType(le),ae.body){const[Me,pe]=vf(B,lo(bf(A)));v=yf(ae.body,wf,Me,pe)}}z.isString(C)||(C=C?"include":"omit");const N=r&&"credentials"in t.prototype,F={...M,signal:P,method:m.toUpperCase(),headers:S.normalize().toJSON(),body:v,duplex:"half",credentials:N?C:void 0};D=r&&new t(p,F);let H=await(r?E(D,M):E(p,F));const ie=u&&(w==="stream"||w==="response");if(u&&(y||ie&&L)){const ae={};["status","statusText","headers"].forEach(Re=>{ae[Re]=H[Re]});const le=z.toFiniteNumber(H.headers.get("content-length")),[Me,pe]=y&&vf(le,lo(bf(y),!0))||[];H=new a(yf(H.body,wf,Me,()=>{pe&&pe(),L&&L()}),ae)}w=w||"text";let re=await d[z.findKey(d,w)||"text"](H,g);return!ie&&L&&L(),await new Promise((ae,le)=>{kv(ae,le,{data:re,headers:Vt.from(H.headers),status:H.status,statusText:H.statusText,config:g,request:D})})}catch(N){throw L&&L(),N&&N.name==="TypeError"&&/Load failed|fetch/i.test(N.message)?Object.assign(new Se("Network Error",Se.ERR_NETWORK,g,D),{cause:N.cause||N}):Se.from(N,N&&N.code,g,D)}}},p1=new Map,Cv=i=>{let e=i&&i.env||{};const{fetch:t,Request:a,Response:s}=e,r=[a,s,t];let n=r.length,o=n,l,c,u=p1;for(;o--;)l=r[o],c=u.get(l),c===void 0&&u.set(l,c=o?new Map:g1(e)),u=c;return c};Cv();const sd={http:DC,xhr:l1,fetch:{get:Cv}};z.forEach(sd,(i,e)=>{if(i){try{Object.defineProperty(i,"name",{value:e})}catch{}Object.defineProperty(i,"adapterName",{value:e})}});const Cf=i=>`- ${i}`,m1=i=>z.isFunction(i)||i===null||i===!1;function v1(i,e){i=z.isArray(i)?i:[i];const{length:t}=i;let a,s;const r={};for(let n=0;n<t;n++){a=i[n];let o;if(s=a,!m1(a)&&(s=sd[(o=String(a)).toLowerCase()],s===void 0))throw new Se(`Unknown adapter '${o}'`);if(s&&(z.isFunction(s)||(s=s.get(e))))break;r[o||"#"+n]=s}if(!s){const n=Object.entries(r).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let o=t?n.length>1?`since :
|
|
47
|
+
`+n.map(Cf).join(`
|
|
48
|
+
`):" "+Cf(n[0]):"as no adapter specified";throw new Se("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return s}const Mv={getAdapter:v1,adapters:sd};function Cl(i){if(i.cancelToken&&i.cancelToken.throwIfRequested(),i.signal&&i.signal.aborted)throw new zs(null,i)}function Mf(i){return Cl(i),i.headers=Vt.from(i.headers),i.data=Sl.call(i,i.transformRequest),["post","put","patch"].indexOf(i.method)!==-1&&i.headers.setContentType("application/x-www-form-urlencoded",!1),Mv.getAdapter(i.adapter||Qr.adapter,i)(i).then(function(a){return Cl(i),a.data=Sl.call(i,i.transformResponse,a),a.headers=Vt.from(a.headers),a},function(a){return wv(a)||(Cl(i),a&&a.response&&(a.response.data=Sl.call(i,i.transformResponse,a.response),a.response.headers=Vt.from(a.response.headers))),Promise.reject(a)})}const Ev="1.13.2",qo={};["object","boolean","number","function","string","symbol"].forEach((i,e)=>{qo[i]=function(a){return typeof a===i||"a"+(e<1?"n ":" ")+i}});const Ef={};qo.transitional=function(e,t,a){function s(r,n){return"[Axios v"+Ev+"] Transitional option '"+r+"'"+n+(a?". "+a:"")}return(r,n,o)=>{if(e===!1)throw new Se(s(n," has been removed"+(t?" in "+t:"")),Se.ERR_DEPRECATED);return t&&!Ef[n]&&(Ef[n]=!0,console.warn(s(n," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(r,n,o):!0}};qo.spelling=function(e){return(t,a)=>(console.warn(`${a} is likely a misspelling of ${e}`),!0)};function b1(i,e,t){if(typeof i!="object")throw new Se("options must be an object",Se.ERR_BAD_OPTION_VALUE);const a=Object.keys(i);let s=a.length;for(;s-- >0;){const r=a[s],n=e[r];if(n){const o=i[r],l=o===void 0||n(o,r,i);if(l!==!0)throw new Se("option "+r+" must be "+l,Se.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new Se("Unknown option "+r,Se.ERR_BAD_OPTION)}}const On={assertOptions:b1,validators:qo},Ai=On.validators;let Wa=class{constructor(e){this.defaults=e||{},this.interceptors={request:new pf,response:new pf}}async request(e,t){try{return await this._request(e,t)}catch(a){if(a instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const r=s.stack?s.stack.replace(/^.+\n/,""):"";try{a.stack?r&&!String(a.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(a.stack+=`
|
|
49
|
+
`+r):a.stack=r}catch{}}throw a}}_request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=Ga(this.defaults,t);const{transitional:a,paramsSerializer:s,headers:r}=t;a!==void 0&&On.assertOptions(a,{silentJSONParsing:Ai.transitional(Ai.boolean),forcedJSONParsing:Ai.transitional(Ai.boolean),clarifyTimeoutError:Ai.transitional(Ai.boolean)},!1),s!=null&&(z.isFunction(s)?t.paramsSerializer={serialize:s}:On.assertOptions(s,{encode:Ai.function,serialize:Ai.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),On.assertOptions(t,{baseUrl:Ai.spelling("baseURL"),withXsrfToken:Ai.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let n=r&&z.merge(r.common,r[t.method]);r&&z.forEach(["delete","get","head","post","put","patch","common"],g=>{delete r[g]}),t.headers=Vt.concat(n,r);const o=[];let l=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(t)===!1||(l=l&&p.synchronous,o.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,d=0,h;if(!l){const g=[Mf.bind(this),void 0];for(g.unshift(...o),g.push(...c),h=g.length,u=Promise.resolve(t);d<h;)u=u.then(g[d++],g[d++]);return u}h=o.length;let f=t;for(;d<h;){const g=o[d++],p=o[d++];try{f=g(f)}catch(m){p.call(this,m);break}}try{u=Mf.call(this,f)}catch(g){return Promise.reject(g)}for(d=0,h=c.length;d<h;)u=u.then(c[d++],c[d++]);return u}getUri(e){e=Ga(this.defaults,e);const t=Av(e.baseURL,e.url,e.allowAbsoluteUrls);return bv(t,e.params,e.paramsSerializer)}};z.forEach(["delete","get","head","options"],function(e){Wa.prototype[e]=function(t,a){return this.request(Ga(a||{},{method:e,url:t,data:(a||{}).data}))}});z.forEach(["post","put","patch"],function(e){function t(a){return function(r,n,o){return this.request(Ga(o||{},{method:e,headers:a?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}Wa.prototype[e]=t(),Wa.prototype[e+"Form"]=t(!0)});let x1=class Pv{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(r){t=r});const a=this;this.promise.then(s=>{if(!a._listeners)return;let r=a._listeners.length;for(;r-- >0;)a._listeners[r](s);a._listeners=null}),this.promise.then=s=>{let r;const n=new Promise(o=>{a.subscribe(o),r=o}).then(s);return n.cancel=function(){a.unsubscribe(r)},n},e(function(r,n,o){a.reason||(a.reason=new zs(r,n,o),t(a.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=a=>{e.abort(a)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new Pv(function(s){e=s}),cancel:e}}};function y1(i){return function(t){return i.apply(null,t)}}function w1(i){return z.isObject(i)&&i.isAxiosError===!0}const Lc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Lc).forEach(([i,e])=>{Lc[e]=i});function _v(i){const e=new Wa(i),t=nv(Wa.prototype.request,e);return z.extend(t,Wa.prototype,e,{allOwnKeys:!0}),z.extend(t,e,null,{allOwnKeys:!0}),t.create=function(s){return _v(Ga(i,s))},t}const ot=_v(Qr);ot.Axios=Wa;ot.CanceledError=zs;ot.CancelToken=x1;ot.isCancel=wv;ot.VERSION=Ev;ot.toFormData=Xo;ot.AxiosError=Se;ot.Cancel=ot.CanceledError;ot.all=function(e){return Promise.all(e)};ot.spread=y1;ot.isAxiosError=w1;ot.mergeConfig=Ga;ot.AxiosHeaders=Vt;ot.formToJSON=i=>yv(z.isHTMLForm(i)?new FormData(i):i);ot.getAdapter=Mv.getAdapter;ot.HttpStatusCode=Lc;ot.default=ot;const{Axios:tD,AxiosError:iD,CanceledError:aD,isCancel:sD,CancelToken:rD,VERSION:nD,all:oD,Cancel:lD,isAxiosError:cD,spread:uD,toFormData:dD,AxiosHeaders:hD,HttpStatusCode:fD,formToJSON:gD,getAdapter:pD,mergeConfig:mD}=ot;/*! js-cookie v3.0.5 | MIT */function wn(i){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var a in t)i[a]=t[a]}return i}var k1={read:function(i){return i[0]==='"'&&(i=i.slice(1,-1)),i.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(i){return encodeURIComponent(i).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Rc(i,e){function t(s,r,n){if(!(typeof document>"u")){n=wn({},e,n),typeof n.expires=="number"&&(n.expires=new Date(Date.now()+n.expires*864e5)),n.expires&&(n.expires=n.expires.toUTCString()),s=encodeURIComponent(s).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var l in n)n[l]&&(o+="; "+l,n[l]!==!0&&(o+="="+n[l].split(";")[0]));return document.cookie=s+"="+i.write(r,s)+o}}function a(s){if(!(typeof document>"u"||arguments.length&&!s)){for(var r=document.cookie?document.cookie.split("; "):[],n={},o=0;o<r.length;o++){var l=r[o].split("="),c=l.slice(1).join("=");try{var u=decodeURIComponent(l[0]);if(n[u]=i.read(c,u),s===u)break}catch{}}return s?n[s]:n}}return Object.create({set:t,get:a,remove:function(s,r){t(s,"",wn({},r,{expires:-1}))},withAttributes:function(s){return Rc(this.converter,wn({},this.attributes,s))},withConverter:function(s){return Rc(wn({},this.converter,s),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(i)}})}var Nc=Rc(k1,{path:"/"});const ce=ot.create();ce.interceptors.request.use(async function(i){const e=Go();if(e.isAuthenticated){const t=await e.getAccessToken();i.headers["Accept-Language"]=e.authUser.language,i.headers.Authorization=`Bearer ${t}`}return i},function(i){return Promise.reject(i)});ce.interceptors.response.use(function(i){return i},function(i){var a;if(i.response.status===418)return ua.push({name:"TwoFA"}),Promise.reject(i);if(i.response.status===429)return Promise.reject(i);if(i.response.status!==401||ua.currentRoute.name==="Login"){if(i.response.status!==518&&i.config&&!i.config.ignoreErrors){const s=OM(),r=((a=i.response.data)==null?void 0:a.error)||i.response.data;s.displayNotification({msg:r,type:"error"})}return Promise.reject(i)}const e=Nc.get("refreshToken"),t=Go();return i.config.url.endsWith("/token/refresh/")||!e?(t.$reset(),ua.currentRoute.name!=="Login"&&ua.push({name:"Login"}),Promise.reject(i)):ce.post("/token/refresh/",{refresh:e}).then(s=>{Nc.set("token",s.data.access,{sameSite:"strict"}),ce.defaults.headers.common.Authorization=`Bearer ${s.data.access}`;const r=i.config;return r.headers.Authorization=`Bearer ${s.data.access}`,new Promise((n,o)=>{ce.request(r).then(l=>{n(l)}).catch(l=>{o(l)})})}).catch(s=>{Promise.reject(s)})});const Ee="account",ar={getMe(){return ce.get(`/${Ee}/me/`)},updateMe(i){return ce.put(`/${Ee}/me/`,i)},checkPassword(i){return ce.post(`/${Ee}/me/password/`,{password:i})},setPassword(i){return ce.post(`/${Ee}/me/password/change/`,i,{ignoreErrors:!0})},verifyTFACode(i){const e={code:i};return ce.post(`${Ee}/tfa/verify/`,e)},startTFASetup(){return ce.post(`${Ee}/tfa/setup/`)},getKeyForTFASetup(){return ce.get(`${Ee}/tfa/setup/key/`)},finalizeTFASetup(i){const e={pin_code:i};return ce.post(`${Ee}/tfa/setup/check/`,e)},disableTFA(i){return ce.post(`${Ee}/tfa/disable/`,i)},resetRecoveryCodes(i){return ce.post(`${Ee}/tfa/reset_codes/`,i)},getForward(){return ce.get(`${Ee}/forward/`)},setForward(i){return ce.post(`${Ee}/forward/`,i)},getAPIToken(){return ce.get(`${Ee}/api_token/`)},createAPIToken(){return ce.post(`${Ee}/api_token/`)},deleteAPIToken(){return ce.delete(`${Ee}/api_token/`)},getARMessage(){return ce.get(`${Ee}/armessage/`)},setARMessage(i){return ce.put(`${Ee}/armessage/`,i)},getFilterSets(){return ce.get(`${Ee}/filtersets/`)},downloadFilterSet(i){return ce.get(`${Ee}/filtersets/${i}/download/`)},createFilterSet(i){return ce.post(`${Ee}/filtersets/`,i)},activateFilterSet(i){return ce.post(`${Ee}/filtersets/${i}/activate/`)},deactivateActiveFilterSet(){return ce.post(`${Ee}/filtersets/deactivate_active/`)},deleteFilterSet(i){return ce.delete(`${Ee}/filtersets/${i}/`)},saveFilterSet(i,e){return ce.put(`${Ee}/filtersets/${i}/`,e)},getFilterConditionTemplates(){return ce.get(`${Ee}/filtersets/condition_templates/`)},getFilterActionTemplates(){return ce.get(`${Ee}/filtersets/action_templates/`)},getFilters(i){return ce.get(`${Ee}/filtersets/${i}/filters/`)},createFilter(i,e){return ce.post(`${Ee}/filtersets/${i}/filters/`,e)},updateFilter(i,e,t){return ce.put(`${Ee}/filtersets/${i}/filters/${e}/`,t)},disableFilter(i,e){return ce.post(`${Ee}/filtersets/${i}/filters/${e}/disable/`)},moveFilterDown(i,e){return ce.post(`${Ee}/filtersets/${i}/filters/${e}/move_down/`)},moveFilterUp(i,e){return ce.post(`${Ee}/filtersets/${i}/filters/${e}/move_up/`)},enableFilter(i,e){return ce.post(`${Ee}/filtersets/${i}/filters/${e}/enable/`)},deleteFilter(i,e){return ce.delete(`${Ee}/filtersets/${i}/filters/${e}/`)},getAvailableApplications(){return ce.get(`${Ee}/available_applications/`)}},A1={getCapabilities(){return ce.get("/capabilities/")}},S1={getNotifications(){return ce.get("/notifications/")}},C1=ed("global",()=>{const i=Ze([]),e=Ze([]),t=Ze([]);async function a(){const d=await A1.getCapabilities();i.value=d.data.capabilities}async function s(){const d=await S1.getNotifications();e.value=d.data}async function r(){if(!t.value.length){const d=await ar.getAvailableApplications();t.value=d.data}}function n(d){return e.value.find(h=>h.id===d)}async function o(){i.value=[],e.value=[]}const l=ze(()=>e.value.length!==0),c=ze(()=>e.value.filter(d=>d.target==="admin")),u=ze(()=>t.value.find(d=>d.name==="webmail")!==void 0);return{applications:t,capabilities:i,notifications:e,fetchCapabilities:a,fetchNotifications:s,fetchAvailableApplications:r,getNotificationById:n,activeNotifications:l,adminNotifications:c,webmailEnabled:u,$reset:o}});function vD(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}function M1(i){if(Object.prototype.hasOwnProperty.call(i,"__esModule"))return i;var e=i.default;if(typeof e=="function"){var t=function a(){return this instanceof a?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(i).forEach(function(a){var s=Object.getOwnPropertyDescriptor(i,a);Object.defineProperty(t,a,s.get?s:{enumerable:!0,get:function(){return i[a]}})}),t}const E1={},P1=Object.freeze(Object.defineProperty({__proto__:null,default:E1},Symbol.toStringTag,{value:"Module"})),Pf=M1(P1);var Ml,_f;function _1(){if(_f)return Ml;_f=1;function i(t){return t.replace(/^\s+|\s+$/g,"")}var e=function(){this.comments=[],this.extractedComments=[],this.headers={},this.headerOrder=[],this.items=[]};return e.prototype.save=function(t,a){Pf.writeFile(t,this.toString(),a)},e.prototype.toString=function(){var t=[];this.comments&&this.comments.forEach(function(n){t.push(("# "+n).trim())}),this.extractedComments&&this.extractedComments.forEach(function(n){t.push(("#. "+n).trim())}),t.push('msgid ""'),t.push('msgstr ""');var a=this,s=[];this.headerOrder.forEach(function(n){n in a.headers&&s.push(n)});var r=Object.keys(this.headers);return r.forEach(function(n){s.indexOf(n)===-1&&s.push(n)}),s.forEach(function(n){t.push('"'+n+": "+a.headers[n]+'\\n"')}),t.push(""),this.items.forEach(function(n){t.push(n.toString()),t.push("")}),t.join(`
|
|
50
|
+
`)},e.load=function(t,a){Pf.readFile(t,"utf-8",function(s,r){if(s)return a(s);var n=e.parse(r);a(null,n)})},e.parse=function(t){t=t.replace(/\r\n/g,`
|
|
51
|
+
`);for(var a=new e,s=t.split(/\n\n/),r=[];s[0]&&(r.length===0||r[r.length-1].indexOf('msgid ""')<0);)s[0].match(/msgid\s+"[^"]/)?r.push('msgid ""'):r.push(s.shift());r=r.join(`
|
|
52
|
+
`);var n=s.join(`
|
|
53
|
+
`).split(/\n/);a.headers={"Project-Id-Version":"","Report-Msgid-Bugs-To":"","POT-Creation-Date":"","PO-Revision-Date":"","Last-Translator":"",Language:"","Language-Team":"","Content-Type":"","Content-Transfer-Encoding":"","Plural-Forms":""},a.headerOrder=[],r.split(/\n/).reduce(function(y,A){return y.merge&&(A=y.pop().slice(0,-1)+A.slice(1),delete y.merge),/^".*"$/.test(A)&&!/^".*\\n"$/.test(A)&&(y.merge=!0),y.push(A),y},[]).forEach(function(y){if(y.match(/^#\./))a.extractedComments.push(y.replace(/^#\.\s*/,""));else if(y.match(/^#/))a.comments.push(y.replace(/^#\s*/,""));else if(y.match(/^"/)){y=y.trim().replace(/^"/,"").replace(/\\n"$/,"");var A=y.split(/:/),w=A.shift().trim(),S=A.join(":").trim();a.headers[w]=S,a.headerOrder.push(w)}});var o=e.parsePluralForms(a.headers["Plural-Forms"]),l=o.nplurals,c=new e.Item({nplurals:l}),u=null,d=0,h=0,f=0;function g(){c.msgid.length>0&&(h>=f&&(c.obsolete=!0),h=0,f=0,a.items.push(c),c=new e.Item({nplurals:l}))}function p(y){return y=i(y),y=y.replace(/^[^"]*"|"$/g,""),y=y.replace(/\\([abtnvfr'"\\?]|([0-7]{3})|x([0-9a-fA-F]{2}))/g,function(A,w,S,C){if(S)return String.fromCharCode(parseInt(S,8));if(C)return String.fromCharCode(parseInt(C,16));switch(w){case"a":return"\x07";case"b":return"\b";case"t":return" ";case"n":return`
|
|
54
|
+
`;case"v":return"\v";case"f":return"\f";case"r":return"\r";default:return w}}),y}for(;n.length>0;){var m=i(n.shift()),v=!1;if(m.match(/^#\~/)&&(m=i(m.substring(2)),v=!0),m.match(/^#:/))g(),c.references.push(i(m.replace(/^#:/,"")));else if(m.match(/^#,/)){g();for(var b=i(m.replace(/^#,/,"")).split(","),x=0;x<b.length;x++)c.flags[b[x]]=!0}else if(m.match(/^#($|\s+)/))g(),c.comments.push(i(m.replace(/^#($|\s+)/,"")));else if(m.match(/^#\./))g(),c.extractedComments.push(i(m.replace(/^#\./,"")));else if(m.match(/^msgid_plural/))c.msgid_plural=p(m),u="msgid_plural",f++;else if(m.match(/^msgid/))g(),c.msgid=p(m),u="msgid",f++;else if(m.match(/^msgstr/)){var k=m.match(/^msgstr\[(\d+)\]/);d=k&&k[1]?parseInt(k[1]):0,c.msgstr[d]=p(m),u="msgstr",f++}else m.match(/^msgctxt/)?(g(),c.msgctxt=p(m),u="msgctxt",f++):m.length>0&&(f++,u==="msgstr"?c.msgstr[d]+=p(m):u==="msgid"?c.msgid+=p(m):u==="msgid_plural"?c.msgid_plural+=p(m):u==="msgctxt"&&(c.msgctxt+=p(m)));v&&h++}return g(),a},e.parsePluralForms=function(t){var a=(t||"").split(";").reduce(function(s,r){var n=r.trim(),o=n.indexOf("="),l=n.substring(0,o).trim(),c=n.substring(o+1).trim();return s[l]=c,s},{});return{nplurals:a.nplurals,plural:a.plural}},e.Item=function(t){var a=t&&t.nplurals;this.msgid="",this.msgctxt=null,this.references=[],this.msgid_plural=null,this.msgstr=[],this.comments=[],this.extractedComments=[],this.flags={},this.obsolete=!1;var s=Number(a);this.nplurals=isNaN(s)?2:s},e.Item.prototype.toString=function(){var t=[],a=this,s=function(c){return c=c.replace(/[\x07\b\t\v\f\r"\\]/g,function(u){switch(u){case"\x07":return"\\a";case"\b":return"\\b";case" ":return"\\t";case"\v":return"\\v";case"\f":return"\\f";case"\r":return"\\r";default:return"\\"+u}}),c},r=function(c,u,d){var h=[],f=u.split(/\n/),g=typeof d<"u"?"["+d+"]":"";return f.length>1?(h.push(c+g+' ""'),f.forEach(function(p){h.push('"'+s(p)+'"')})):h.push(c+g+' "'+s(u)+'"'),h},n=function(c,u,d){for(var h=r(c,u,d),f=1;f<h.length-1;f++)h[f]=h[f].slice(0,-1)+'\\n"';return h};this.comments.forEach(function(c){t.push("# "+c)}),this.extractedComments.forEach(function(c){t.push("#. "+c)}),this.references.forEach(function(c){t.push("#: "+c)});var o=Object.keys(this.flags).filter(function(c){return!!this.flags[c]},this);o.length>0&&t.push("#, "+o.join(","));var l=this.obsolete?"#~ ":"";return["msgctxt","msgid","msgid_plural","msgstr"].forEach(function(c){var u=a[c];if(u!=null){var d=!1;if(Array.isArray(u)&&(d=u.some(function(p){return p})),Array.isArray(u)&&u.length>1)u.forEach(function(p,m){var v=n(c,p,m);t=t.concat(l+v.join(`
|
|
55
|
+
`+l))});else if(a.msgid_plural&&c==="msgstr"&&!d)for(var h=0;h<a.nplurals;h++)t=t.concat(l+r(c,"",h));else{var f=a.msgid_plural&&Array.isArray(u)?0:void 0;u=Array.isArray(u)?u.join():u;var g=n(c,u,f);t=t.concat(l+g.join(`
|
|
56
|
+
`+l))}}}),t.join(`
|
|
57
|
+
`)},Ml=e,Ml}_1();var I1=/[[\].]{1,2}/g,Iv=/%\{((?:.|\n)+?)\}/g,T1=/\{\{((?:.|\n)+?)\}\}/g,rd=i=>(e,t={},a)=>(!i.silent&&T1.test(e)&&console.warn(`Mustache syntax cannot be used with vue-gettext. Please use "%{}" instead of "{{}}" in: ${e}`),e.replace(Iv,(n,o)=>{const l=o.trim();let c;function u(h,f){const g=f.split(I1).filter(p=>p);for(;g.length;)h=h[g.shift()];return h}function d(h,f,g){try{c=u(h,f)}catch{}if(c==null){if(g)return d(g.ctx,f,g.parent);console.warn(`Cannot evaluate expression: ${f}`),c=f}return c.toString()}return d(t,l,a)}));rd.INTERPOLATION_RE=Iv;rd.INTERPOLATION_PREFIX="%{";var D1=rd,If={getTranslationIndex:function(i,e){switch(e=Number(e),e=typeof e=="number"&&isNaN(e)?1:e,i.length>2&&i!=="pt_BR"&&(i=i.split("_")[0]),i){case"ay":case"bo":case"cgg":case"dz":case"fa":case"id":case"ja":case"jbo":case"ka":case"kk":case"km":case"ko":case"ky":case"lo":case"ms":case"my":case"sah":case"su":case"th":case"tt":case"ug":case"vi":case"wo":case"zh":return 0;case"is":return e%10!==1||e%100===11?1:0;case"jv":return e!==0?1:0;case"mk":return e===1||e%10===1?0:1;case"ach":case"ak":case"am":case"arn":case"br":case"fil":case"fr":case"gun":case"ln":case"mfe":case"mg":case"mi":case"oc":case"pt_BR":case"tg":case"ti":case"tr":case"uz":case"wa":return e>1?1:0;case"lv":return e%10===1&&e%100!==11?0:e!==0?1:2;case"lt":return e%10===1&&e%100!==11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2;case"be":case"bs":case"hr":case"ru":case"sr":case"uk":return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2;case"mnk":return e===0?0:e===1?1:2;case"ro":return e===1?0:e===0||e%100>0&&e%100<20?1:2;case"pl":return e===1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2;case"cs":case"sk":return e===1?0:e>=2&&e<=4?1:2;case"csb":return e===1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2;case"sl":return e%100===1?0:e%100===2?1:e%100===3||e%100===4?2:3;case"mt":return e===1?0:e===0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3;case"gd":return e===1||e===11?0:e===2||e===12?1:e>2&&e<20?2:3;case"cy":return e===1?0:e===2?1:e!==8&&e!==11?2:3;case"kw":return e===1?0:e===2?1:e===3?2:3;case"ga":return e===1?0:e===2?1:e>2&&e<7?2:e>6&&e<11?3:4;case"ar":return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5;default:return e!==1?1:0}}},Oc=Symbol("GETTEXT");function Fc(i){return i.replaceAll(/\r?\n/g,`
|
|
58
|
+
`)}function Tf(i){const e={};return Object.keys(i).forEach(t=>{const a=i[t],s={};Object.keys(a).forEach(r=>{s[Fc(r)]=a[r]}),e[t]=s}),e}var bD=()=>{const i=Je(Oc,null);if(!i)throw new Error("Failed to inject gettext. Make sure vue3-gettext is set up properly.");return i},L1=i=>({getTranslation:function(e,t=1,a=null,s=null,r,n){r===void 0&&(r=i.current);const o=(v,b)=>b?i.interpolate(v,b):v;if(e=Fc(e),s=s?Fc(s):null,!e)return"";const l=r?i.silent||i.muted.indexOf(r)!==-1:!1;let c="en";i.sourceCodeLanguage&&(c=i.sourceCodeLanguage);const u=s&&If.getTranslationIndex(c,t)>0?s:e,d=i.translations,h=d[r]||d[r.split("_")[0]];if(!h)return l||console.warn(`No translations found for ${r}`),o(u,n);const f=v=>{let b=If.getTranslationIndex(r,t);v.length===1&&t===1&&(b=0);const x=v[b];if(!x){if(x==="")return o(u,n);throw new Error(e+" "+b+" "+i.current+" "+t)}return o(x,n)},g=()=>{if(!l){let v=`Untranslated ${r} key found: ${e}`;a&&(v+=` (with context: ${a})`),console.warn(v)}return o(u,n)},p=(v,b=null)=>{if(v instanceof Object){if(Array.isArray(v))return f(v);const k=v[b??""];return p(k)}return b||!v?g():o(v,n)},m=h[e];return p(m,a)},gettext:function(e,t){return this.getTranslation(e,void 0,void 0,void 0,void 0,t)},pgettext:function(e,t,a){return this.getTranslation(t,1,e,void 0,void 0,a)},ngettext:function(e,t,a,s){return this.getTranslation(e,a,null,t,void 0,s)},npgettext:function(e,t,a,s,r){return this.getTranslation(t,s,e,a,void 0,r)}}),R1=L1,Df={availableLanguages:{en:"English"},defaultLanguage:"en",sourceCodeLanguage:void 0,mutedLanguages:[],silent:!1,translations:{},setGlobalProperties:!0,globalProperties:{language:["$language"],gettext:["$gettext"],pgettext:["$pgettext"],ngettext:["$ngettext"],npgettext:["$npgettext"],interpolate:["$gettextInterpolate"]}};function N1(i={}){Object.keys(i).forEach(n=>{if(Object.keys(Df).indexOf(n)===-1)throw new Error(`${n} is an invalid option for the translate plugin.`)});const e={...Df,...i},t=Ze(Tf(e.translations)),a=Di({available:e.availableLanguages,muted:e.mutedLanguages,silent:e.silent,translations:ze({get:()=>t.value,set:n=>{t.value=Tf(n)}}),current:e.defaultLanguage,sourceCodeLanguage:e.sourceCodeLanguage,install(n){if(n[Oc]=a,n.provide(Oc,a),e.setGlobalProperties){const o=n.config.globalProperties;let l=e.globalProperties.gettext||["$gettext"];l.forEach(c=>{o[c]=a.$gettext}),l=e.globalProperties.pgettext||["$pgettext"],l.forEach(c=>{o[c]=a.$pgettext}),l=e.globalProperties.ngettext||["$ngettext"],l.forEach(c=>{o[c]=a.$ngettext}),l=e.globalProperties.npgettext||["$npgettext"],l.forEach(c=>{o[c]=a.$npgettext}),l=e.globalProperties.language||["$language"],l.forEach(c=>{o[c]=a})}}}),s=R1(a),r=D1(a);return a.$gettext=s.gettext.bind(s),a.$pgettext=s.pgettext.bind(s),a.$ngettext=s.ngettext.bind(s),a.$npgettext=s.npgettext.bind(s),a.interpolate=r.bind(r),a}const O1={},F1={Enabled:"Enaouet",Password:"Ger-tremen",Name:"Anv",Actions:"Oberioù",Save:"Enrollañ",Update:"Hizivaat","Recipient(s)":"Resever(ien)","Keep local copies":"Mirout eiladennoù lec'hel","Forward messages and store copies into your local mailbox":"Treuzkas kemennadennoù ha stokiñ eiladennoù e-barzh ar voest-posteloù lec'hel","Forward updated":"Treuzkas hizivaet","Last name":"Anv familh","Phone number":"Niverenn pellgomz","Secondary email":"Eil chomlec'h postel","Profile updated":"Profil hizivaet",Close:"Serriñ",Search:"Klask",Closed:"Serriñ",Status:"Statud",Domain:"Domani",Mailbox:"Boest-posteloù",Message:"Implij","Unknown sources / Threats":"Mammennoù dizanv/Gourdrouzioù","Partially aligned":"Linennet dre an hanter",Failed:"C'hwitet",Total:"Hollad",Authentication:"O vezañ anavezet","DKIM key":"Alc'hwez DKIM","Show key":"Diskouez an alc'hwez","Not generated":"Neket ganet",Address:"Chomlec'h",Updated:"Hizivaet",Disabled:"Lazhet",Unknown:"Dizanv",Administrators:"Merourien",Username:"Anv implier",Add:"Ouzhpennañ","New domain":"Domani nevez",General:"Hollek",DNS:"DNS",Options:"Dibarzhioù",Transport:"Treuzdougen",Type:"Doare","Enable DNS checks":"Enaouiñ ar gwiriañ DNS","Enable DKIM signing":"Enaouiñ ar sinadur DKIM",Quota:"Kota","Default mailbox quota":"Kota boest-posteloù dre-ziouer","Create a domain administrator":"Krouit ur merour domani","Random password":"Ger-tremen dre-zegouezh","Create aliases":"Krouiñ aliasoù","Domain created":"Domani krouet","Bind/named format. Click to copy":"Stumm Ereet/anvet",Resources:"Mammennoù",Aliases:"Aliasoù","DNS status":"Statud DNS",Apply:"Arloañ","Creation date":"Deiziad krouidigezh","Last modification date":"Deiziad aozañ diwezhañ",Mailboxes:"Boest-posteloù","Quota shared between mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":`Kota rannet kenetre ar boestoù-postel. Gellout a ra bezañ ezpleget e Ko, Mo (diouer) pe Go c'hoazh. Un dalvoudegezh "0" a dalvez kota ebet.`,"Default quota applied to mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":`Kota arloet d'ar boestoù-postel. Gellout a ra bezañ ezpleget e Ko, Mo (diouer) pe Go c'hoazh. Un dalvoudegezh "0" a dalvez kota ebet.`,"With a mailbox":"Gant ur voest-posteloù","Create a mailbox for the administrator.":"Krouiñ ur voest-posteloù evit ar merour.","New account":"Kont nevez",Role:"Rol",Email:"Postel",Account:"Kont",Profile:"Profil",Alias:"Alias","Sender addresses":"Chomlec'hioù ar c'haser","Full name":"Anv klok","New alias":"Alias nevez","Random address":"Chomlec'h dre-zegouezh","Expire at":"Diamzeriet da",Description:"Deskrivadur",Recipients:"Reseverien",Modified:"Aozet","Administered domains":"Domanioù meret","Quota for this mailbox, can be expressed in KB, MB (default) or GB. Define a custom value or use domain's default one. Leave empty to define an unlimited value (not allowed for domain administrators).":"Kota evit ar voest-posteloù-mañ. Gellout a ra bezañ ezpleget e Ko, Mo (diouer) pe Go c'hoazh. Termeniñ un dalvoudegezh ispisial pe implijit talvoudegezh an domani. Laoskit goullo evit termeniñ un dalvoudegezh divevenn (berzet evit ar verourien zomani).","Use domain default value":"Implijout un dalvoudegezh domani dre-ziouer",unlimited:"divevennet",Confirmation:"Kadarnadur","Simple user":"Implijer diazez","Domain administrator":"Merour an domani",Reseller:"Eilgwerzher","Super administrator":"Dreist-merour","Email address":"Chomlec'h postel",Level:"Live",Logger:"Enroller","The credentials are the same than the ones you use to access Modoboa.":"An titouroù anaout a vez ar memes re hag ar re a implijit da dizhout Modoboa.","Address book information":"Chomlec'h titouroù al levr","To access this address book from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"Evit tizhoù al levr chomlec'hioù-mañ adalek an diavaez (evel da skouer Mozilla Thunderbird war ho poellgomzer), implijit an URL da-heul:",Categories:"Rummadoù",Company:"Embregerezh",City:"Kêr",Country:"Bro","State/Province":"Stad/Proviñs",Note:"Notenn",More:"Muioc'h",Logout:"Digevreañ",Summary:"Berradenn",Next:"Da-heul",Separator:"Skejer","Continue on error":"Kenderc'hel war ar fazi",Import:"Emporzhiañ","Resources usage":"Implij mammennoù",Settings:"Arventennoù",Dashboard:"Taolenn-stur",Domains:"Domanioù",Identities:"Identelezhioù",Information:"Titouroù","Passwords mismatch":"Disklotadurioù gerioù-tremen",Forward:"Treuzkas","API access":"API moned","Import domains":"Emporzhiañ domanioù","Import identities":"Emporzhiañ identelezhioù","Crypt passwords":"Kriptañ ar gerioù-tremen","Check this option if passwords contained in your file are not crypted":"Kochit an dibarzh ma ne vez ket kriptet ar gerioù-tremen endalc'het en ho restr","One or more updates are available":"Hegerz ez eus un hizivadenn pe muioc'h","Installed version":"Stumm staliet",Contacts:"Darempredoù","Welcome to Modoboa":"Degemer mat e-barzh Modoboa"},z1={},B1={},H1=JSON.parse(`{"Your API token has not been generated yet.":"Ihr API Token wurde noch nicht generiert.","Generate":"Generieren","Your API token is:":"Ihr API-Token lautet:","Copy token to clipboard":"Token in Zwischenablage kopieren","Delete token":"Token löschen","A documentation of the API is available":"Eine Dokumentation der API ist verfügbar","here":"hier","API token copied to your clipboard":"API-Token in Zwischenablage kopiert","API token created":"API-Token erstellt","Warning":"Warnung","You are about to delete your API access token":"Sie sind dabei, Ihren API Zugriffstoken zu löschen","Cancel":"Abbrechen","Proceed":"Fortfahren","API token deleted":"API-Token gelöscht","Enabled":"Aktiviert","Subject":"Betreff","Content":"Inhalt","The content of your answer. You can use the following variables, which will be automatically replaced by the appropriate value: %(name)s, %(fromdate)s, %(untildate)s":"Der Inhalt Ihrer Antwort. Sie können folgende Variablen verwenden, die automatisch durch den entsprechenden Wert ersetzt werden: %(name)s, %(fromdate)s, %(untildate)s","From":"Von","Activate your auto reply from this date":"Aktivieren Sie Ihre automatische Antwort ab diesem Datum","Until":"Bis","Activate your auto reply until this date":"Aktivieren Sie Ihre automatische Antwort bis zu diesem Datum","Update auto-reply":"AutoAntwort aktualisieren","Auto-reply message updated":"AutoAntwort Nachricht aktualisiert","Backup codes":"Backupcodes","You already have generated backup codes for this account. If you don't remember them or have used them all, you can generate new ones.":"Sie haben bereits Backupcodes für dieses Konto generiert. Wenn Sie diese vergessen haben oder alle aufgebraucht haben, können Sie neue generieren.","Password":"Passwort","Reset recovery codes":"Setze Wiederherstellungscodes zurück","No two-factor authentificator is yet set for your account.":"Für Ihr Konto ist noch keine 2 Faktor Authentifizierung eingerichtet.","WebAuthn":"WebAuthn","You don't have any WebAuthN device registered as a second authentication method.":"Sie haben kein WebAuthN Gerät als zweite Authentifiziermethode registriert.","Registered Webauthn devices":"Registrierte Webauthn Geräte","Never":"Nie","Enter a name to register a new webauthn device.":"Namen eingeben, um ein neues Webauthn Gerät zu registrieren.","New device name":"Neuer Gerätename","Setup device":"Gerät einrichten","Your browser does not seem compatible with WebAuthN":"Ihr Browser scheint nicht mit WebAuthN kompatibel zu sein","name":"Name","Name":"Name","Added On":"Hinzugefügt am","Last Used":"Zuletzt verwendet","Use count":"Anzahl benutzt","Actions":"Aktionen","Failed to register the webAuthN device":"Registrierung des webAuthN Geräts ist fehlgeschlagen","Do you really want to delete this WebAuthn device?":"Wollen Sie dieses WebAuthn Gerät wirklich löschen?","No":"Nein","Yes":"Ja","Edition":"Edition","Edit your device":"Eigenes Gerät bearbeiten","Save":"Speichern","Conditions":"Bedingungen","All of the following":"Alle der folgenden","Any of the following":"Eine der folgenden","All messages":"Alle Nachrichten","Choose a header":"Überschrift wählen","Choose an operator":"Betreiber wählen","Value":"Wert","Add condition":"Bedingung hinzufügen","Remove condition":"Bedingung entfernen","Choose an action":"Aktion wählen","Add action":"Aktion hinzufügen","Remove action":"Aktion entfernen","Edit filter":"Filter bearbeiten","New filter":"Neuer Filter","Update":"Aktualisieren","Create":"Erstellen","Filter added":"Filter hinzugefügt","Filter updated":"Filter aktualisiert","Create a new filter set":"Neuen Filtersatz erstellen","Active":"Aktiv","Filter set created":"Filtersatz erstellt","Recipient(s)":"Empfänger","Indicate one or more recipients separated by a comma (,)":"Geben Sie einen oder mehrere Empfänger durch Komma (,) getrennt ein.","Keep local copies":"Lokale Kopien behalten","Forward messages and store copies into your local mailbox":"Nachricht weiterleiten und Kopie in Mailbox ablegen","Forward updated":"Weiterleitung aktualisiert","General settings":"Allgemeine Einstellungen","First name":"Vorname","Last name":"Nachname","Language":"Sprache","Feel free to improve the translations":"Fühlen Sie sich frei, die Übersetzungen zu verbessern","or suggest a new language":"oder eine neue Sprache vorschlagen","there":"dort","Phone number":"Telefonnummer","Secondary email":"Zweite E-Mail Adresse","Update settings":"Einstellungen aktualisieren","Update Password":"Passwort aktualisieren","Profile updated":"Profil aktualisiert","Language does no exist":"Die Sprache existiert nicht","Password updated":"Passwort aktualisiert","New recovery codes":"Neue Wiederherstellungscodes","The following recovery codes can be used one time each to let you regain access to your account, in case you lose your phone for example. Make sure to save them in a safe place, otherwise you won't be able to access your account anymore.":"Die folgenden Wiederherstellcodes können jeweils einmal verwendet werden, um Ihnen den Zugriff auf Ihr Konto wiederherzustellen, falls Sie z.B. Ihr Telefon verlieren. Bewahren Sie die Codes an einem sicheren Ort auf, da Sie sonst nicht mehr auf Ihr Konto zugreifen können.","Close":"Schließen","One-time passwords":"Einmalpasswörter","Click here to copy the key":"Hier klicken, zum Schlüssel kopieren","Install a soft token authenticator like FreeOTP or Google Authenticator from your application repository and use that app to scan this QR code.":"Installiere ein soft-token Authenticator, wie FreeOTP oder Google Authenticator vom Appstore und scannen Sie den QR-Code.","Pin code":"Pincode","Register":"Registrieren","Congratulations! Two-factor authentication using one-time passwords is now enabled for your account.":"Gratulation! Die 2 Faktor Authentifizierung mit Einmalpasswörtern ist jetzt für Ihr Konto aktiviert.","Two-factor authentication using one-time passwords is enabled for your account.":"Für Ihr Konto ist die 2 Faktor Authentifizierung mit Einmalpassnwörtern aktiviert.","Disable 2FA":"Deaktiviere 2-Faktor-Authentifizierung","Two-factor authentication (2FA) using one-time passwords is not yet activated for your account.":"Die 2 Faktor Authentifizierung (2FA) mittels Einmalpasswörter ist für Ihr Konto noch nicht aktiviert.","Register authenticator":"Authentifikator registrieren","Search":"Suchen","Opened":"Geöffnet","Closed":"Schließen","Triggered":"Ausgelöst","Status":"Status","Domain":"Domain","Mailbox":"Postfächer","Message":"Verwendung","Delete":"Löschen","Reload":"Neu laden","Close alarm":"Alarm schließen","Reopen alarm":"Alarm erneut öffnen","Alarm deleted":"Alarm entfernt","Alarms deleted":"Alarme gelöscht","Alarm closed":"Alarm geschlossen","Alarm re-opened":"Alarm wieder eröffnet","Statistics":"Statistiken","Domain count":"Domainanzahl","Domain alias count":"Domainaliase Anzahl","Account count":"Kontoanzahl","Alias count":"Aliasanzahl","Latest news":"Neueste Nachrichten","Visit the official weblog for more information":"Weitere Infos finden Sie im offiziellen Webprotokoll","Alignment":"Ausrichtung","Detail":"Detail","Trusted sources":"Vertrauenswürdige Quellen","Partially trusted sources / Forwarders":"Teilweise vertrauenswürdige Quellen/Weiterleitungen","Forwarders with ARC":"Mit ARC weitergeleitet","Unknown sources / Threats":"Unbekannte Quellen / Bedrohungen","DMARC support does not seem to be enabled for this domain.":"DMARC-Unterstützung scheint für diese Domain nicht aktiviert zu sein.","If you configured it recently, please wait for the first report to be received and processed.":"Wenn Sie es vor Kurzem konfiguriert haben, warten Sie, bis der erste Bericht empfangen und verarbeitet wurde.","Fully aligned":"Vollständig ausgerichtet","Partially aligned":"Teilweise zugeordnet","Forwarded":"Weitergeleitet","Failed":"Fehlgeschlagen","Total":"Total","DNSBL summary for ":"DNSBL Zusammenfassung für","IP address %{ address } is currently listed by the following DNSBL providers:":"Die IP Adresse %{ address } wird derzeit von den folgenden DNSBL-Anbietern gelistet:","DNS configuration help":"Hilfe zur DNS-Konfiguration","Pending":"Ausstehend","Auto configuration":"Automatische Konfiguration","autoconfig record (Mozilla): %{ value }":"AutoKonfig Datensatz (Mozilla)\\\\: %{ value }","autoconfig record (Mozilla) not found":"Autoconfig-Eintrag (Mozilla) nicht gefunden","autodiscover record (Microsoft): %{ value }":"AutoDiscover Eintrag (Mozilla)\\\\: %{ value }","autodiscover record (Microsoft) not found":"Autodiscover-Eintrag (Microsoft) nicht gefunden","Authentication":"Authentifizierung","SPF record found":"SPF Eintrag gefunden","SPF record not found":"SPF Eintrag nicht gefunden","DKIM record found":"DKIM-Eintrag gefunden","DKIM record not found":"DKIM-Eintrag nicht gefunden","DMARC record found":"DMARC-Eintrag gefunden","DMARC record not found":"DMARC-Eintrag nicht gefunden","DKIM key":"DKIM Schlüssel","Show key":"Zeige Schlüssel","Copy key to clipboard":"Schlüssel in Zwischenablage kopieren","Generate a new DKIM key":"Neuen DKIM Schlüssel generieren","Not generated":"Nicht generiert","Address":"Adresse","Updated":"Aktualisieren","DKIM key copied to clipboard":"DKIM-Schlüssel in Zwischenablage kopiert","A new key will be generated soon. Refresh the page in a moment to see it.":"Ein neuer Schlüssel wird in Kürze generiert. Aktualisieren Sie die Seite um ihn anzuzeigen.","warning":"Warnung","DKIM key does not seem to be generated yet or has failed. Do you want to requeue the job?":"DKIM Schlüssel scheint noch nicht generiert worden zu sein oder ist fehlgeschlagen. Wollen Sie den Auftrag erneut in die Warteschlange stellen?","DKIM keys already exist for this domain. Do you want to overwrite them?":"Für diese Domain sind bereits DKIM-Schlüssel vorhanden. Möchten Sie sie überschreiben?","Disabled":"Deaktiviert","Problem":"Problem","Valid":"Gültig","Unknown":"Unbekannt","Administrators of":"Administratoren von","Administrators":"Administratoren","Select an account":"Konto wählen","Remove this administrator":"Diesen Admin entfernen","Add administrator":"Administrator hinzufügen","Username":"Benutzername","Administrator added":"Administrator hinzugefügt","Administrator removed":"Administrator entfernt","Choose a domain":"Eine Domäne wählen","Add":"Hinzufügen","Edit domain alias":"Domain-Alias bearbeiten","Add a new domain alias":"Neuen Domain-Alias hinzufügen","Domain alias deleted":"Domainaliase gelöscht","Domain alias created":"Domainaliase erstellt","Domain alias updated":"Domainaliase aktualisiert","New domain":"Neue Domain","Copy to clipboard":"In Zwischenablage kopieren","General":"Allgemein","DNS":"DNS","Limitations":"Einschränkungen","Options":"Optionen","Transport":"Transport","Type":"Typ","Enable DNS checks":"Aktiviere DNS Prüfungen","Enable DKIM signing":"Aktiviere DKIM Signierung","Quota":"Quote","Default mailbox quota":"Standard Postfach Kontingent","Message sending limit":"Nachrichtensendelimit","DKIM key selector":"DKIM-Selektor","DKIM key length":"DKIM-Schlüssellänge","Service":"Service","Create a domain administrator":"Domain-Administrator erstellen","Administrator name":"Administratorname","Random password":"Zufälliges Passwort","With mailbox":"Mit Postfach","Create aliases":"Aliase erstellen","Password copied to clipboard":"Passwort in Zwischenablage kopiert","Domain created":"Domain erstellt.","DKIM public key for":"Öffentlicher DKIM-Schlüssel für","Raw format. Click to copy":"Rohformat. Zum Kopieren klicken","Bind/named format. Click to copy":"Gebundenes Format","DNS configuration for ":"DNS Konfiguration für","Here is an example of DNS configuration (bind format). Replace values between [ ] by the appropriate ones.":"Hier ist ein Beispiel für eine DNS Konfiguration (Bind Format). Ersetzen Sie die Werte zwischen [ ] durch die entsprechenden.","Name: ":"Name:","Type: ":"Typ:","DNS checks":"DNS-Prüfungen","DKIM signing":"DKIM Signierung","Quota: ":"Quote:","Sending limit: ":"Sendelimit:","No sending limit":"Kein Sendelimit","Service: ":"Service:","Resources":"Ressourcen","Relay":"Relais","Unlimited":"Unbegrenzt","Do not delete domain folder":"Domänenordner nicht löschen","Aliases":"Aliase","DNS status":"DNS Status","Sending limit":"Sendelimit","Do you really want to delete the domain %{ domain }?":"Wollen Sie die Domain %{ domain } wirklich löschen?","Domain deleted":"Domain gelöscht","Edit":"Bearbeiten","Alarms":"Alarme","Apply":"Antworten","General information":"Allgemeine Infos","Creation date":"Erstellungsdatum","Last modification date":"Datum der letzten Änderung","MB":"MB","Daily sending limit":"Tägliches Sendelimit","Sending forbidden":"Senden verboten","messages":"Nachrichten","Mailboxes":"Mailboxen","Domain name (ex: domain.tld)":"Domainname (z.B. domain.tld)","Control if this domain will be allowed to send and receive messages":"Steuern, ob diese Domain, Nachrichten senden und empfangen darf","Relay domain":"Relais Domain","Quota shared between mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Von Postfächern gemeinsam genutzte Quota/Speicherplatz. Kann in KB, MB (Voreinstellung) oder GB angegeben werden. 0 eingeben, um keine Quota zu verwenden.","Default quota applied to mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Auf Postfächer angewendete Quota. Kann in KB, MB (Voreinstellung) oder GB angegeben werden. 0 eingeben, um keine Quota zu verwenden.","Number of messages this domain can send per day. Leave empty for no limit.":"Anzahl der Nachrichten, die diese Domains pro Tag senden kann. Leer lassen für kein Limit.","Name of the administrator":"Adminname","With a mailbox":"Mit einem Postfach","Create a mailbox for the administrator.":"Erzeuge Postfach für den Administrator.","Create standard aliases for the domain.":"Standardaliase für diese Domäne erstellen.","New account":"Neues Konto","Role":"Rolle","Identification":"Identifikation","Email":"E-Mail","Domain default value":"Domain Standardwert","Send only account":"Nur Konto senden","Account":"Konto","Username:":"Benutzername:","Profile":"Profil","domain's default value":"Domains Standardwert","Send only":"Nur senden","Alias":"Alias","Number of associated alias:":"Anzahl der zugehörigen Aliase","Number of allowed mailboxes:":"Anzahl der erlaubten Postfächer:","Number of allowed mailbox aliases:":"Anzahl der zulässigen Postfachaliase:","Sender addresses":"Absenderadressen ","No sender address defined for this account":"Für dieses Konto ist keine Absendeadresse definiert","Specify an email address":"E-Mailadresse eingeben","Remove this address":"Diese Adresse entfernen","Add sender address":"Absenderadresse hinzufügen","Sender address added":"Absendeadresse hinzugefügt","Sender address deleted":"Absendeadresse gelöscht","Last login date":"Letztes Anmeldedatum","Never logged-in":"Nie eingeloggt","Full name":"Vollständiger Name","New alias":"Neuer Alias","Random address":"Zufällige Adresse","Expire at":"Läuft ab am","Description":"Beschreibung","Recipients":"Empfänger","Alias already exists, redirecting to edit page":"Alias existiert bereits, leite zur Bearbeitungsseite weiter","Modified":"Verändert","Administered domains":"Administrierte Domains","No domain managed":"Keine Domain verwaltet","Add/Remove from the domain page":"Hinzufügen/Entfernen von Domänenseite","Start typing a name here...":"Beginne mit der Eingabe eines Namens ...","Alias(es) of this mailbox. To create a catchall alias, just enter the domain name (@domain.tld).":"Alias(e) dieses Postfachs. Um einen Catchall-Alias zu erstellen, geben Sie einfach den Domänennamen (@domain.tld) ein.","Alias already added":"Alias bereits hinzugefügt","You can update your password from the Account section":"Sie können Ihr Passwort im Bereich, Konto aktualisieren","Enter an email address":"E-Mailadresse eingeben","Enter a simple username or an email address":"Einen einfachen Benutzernamen oder E-Mailadresse eingeben","Ex: 10MB. Leave empty for no limit":"z.B.: 10 MB. Leer lassen für kein Limit","Quota for this mailbox, can be expressed in KB, MB (default) or GB. Define a custom value or use domain's default one. Leave empty to define an unlimited value (not allowed for domain administrators).":"Quota dieses Postfachs. Kann in KB, MB (Voreinstellung) oder GB angegeben werden. Eigenen Wert eingeben oder Voreinstellung der Domain verwenden lassen. Frei lassen, um Quota auf unlimitiert zu setzen (nur Super-Administratoren).","Daily message sending limit":"Tägliches Sendelimit für Nachrichten","Leave empty for no limit":"Für kein Limit, leer lassen","Number of messages this mailbox can send per day. Leave empty for no limit.":"Nachrichtenanzahl , die dieses Postfach pro Tag senden kann. Leer lassen für keine Limit.","Use domain default value":"Standardwert der Domain verwenden","unlimited":"unbegrenzt","Current password":"Aktuelles Passwort","Confirmation":"Bestätigung","Password mismatch":"Passwort falsch","Choose a role":"Wähle eine Rolle","Simple user":"Normaler Benutzer","A user with no privileges but with a mailbox. He will be allowed to use all end-user features: webmail, calendar, contacts, filters.":"Ein Benutzer ohne Privilegien, aber mit einem Postfach. Er darf alle Endbenutzerfunktionen nutzen: Webmail, Kalender, Kontakte, Filter.","Domain administrator":"Domain Administrator","A user with privileges on one or more domain. He will be allowed to administer mailboxes and he can also have a mailbox.":"Ein Benutzer mit Berechtigungen für eine oder mehrere Domänen. Er darf Postfächer verwalten und kann auch ein Postfach besitzen.","Reseller":"Reseller","An intermediate user who has the same privileges than a Domain administrator, plus the possibility to create domains and to assign resources.":"Ein Zwischenbenutzer, der über dieselben Rechte wie ein Domainadmin verfügt und außerdem die Möglichkeit hat, Domains zu erstellen und Ressourcen zuzuweisen.","Super administrator":"Super-Administrator","A user with all privileges, can do anything. By default, such a user does not have a mailbox so he can't access end-user features.":"Ein Benutzer mit allen Berechtigungen kann alles tun. Standardmäßig hat ein solcher Benutzer kein Postfach und kann daher nicht auf Endbenutzerfunktionen zugreifen.","Email address":"E-Mail Adresse","Generated address":"Generierte Adresse","Please add at least one recipient.":"Mindestens einen Empfänger hinzufügen.","Customize displayed columns":"Angezeigte Spalten anpassen","Accounts":"Konten","No mailbox":"Kein Postfach","Do not delete account folder":"Kontoordner nicht löschen","Last modification":"Letzte Änderung","Last Name":"Nachname","Message limit":"Nachrichtenlimit","TFA enabled":"TFA aktiviert","TOTP enabled":"TOTP aktiviert","WebAutn enabled":"WebAutn aktiviert","Last login":"Letzte Anmeldung","Are you sure you want to delete this identity ?":"Wollen Sie diese Identität wirklich löschen?","Account deleted":"Konto gelöscht","Are you sure you want to delete this alias?":"Wollen Sie diesen Alias wirklich löschen?","Alias deleted":"Alias gelöscht","Name of the domain to migrate":"Name der zu migrierenden Domäne","Local domain (optional)":"Lokale Domain (optional)","You need to bind at least one domain to the provider.":"Sie müssen mindestens eine Domain an den Anbieter binden.","Provider name":"Providername","Address (hostname or IP)":"Adresse (Hostname oder IP)","IMAP Port":"IMAP Port","Secured":"Gesichert","Is the IMAP connection secured using SSL/TLS or StartTLS":"Ist die IMAP Verbindung mit SSL/TLS oder StartTLS gesichert?","Check connection:":"Verbindung überprüfen:","Provider":"Provider","Old account":"Altes Konto","Migration deleted":"Migration gelöscht","New provider":"Neuer Provider","(the domain will be created locally)":"(die Domain wird lokal erstellt)","Associated domain":"Zugehörige Domain","Port":"Port","Associated domains":"Verknüpfte Domänen","Provider created":"Provider erstellt","Name:":"Name:","Number of associated domains:":"Anzahl der zugehörigen Domains:","No associated domains":"Keine zugehörigen Domains","Provider updated":"Provider aktualisiert","Date":"Datum","Level":"Stufe","Logger":"Logger","Queue ID":"Warteschlangen ID","To":"Bis","Calendar sharing":"Kalender teilen","Full address":"Ganze Adresse","Read":"Lesen","Write":"Schreiben","Calendar information":"Kalenderinformation","To access this calendar from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"Um auf diesem Kalender von außen (wie z.B. Mozilla Thunderbird oder ihrem Smartphone) zuzugreifen, verwenden Sie bitte die folgende URL:","The credentials are the same than the ones you use to access Modoboa.":"Die Zugangsdaten sind dieselben, die Sie auch für Modoboa verwenden.","You can also share a read-only version of this calendar using the following URL: ":"Sie können auch eine schreibgeschützte Version dieses Kalenders über folgende URL freigeben:","Edit calendar":"Kalender bearbeiten","New calendar":"Neuer Kalender","Color":"Farbe","Calendar updated":"Kalender aktualisiert","Calendar created":"Kalender erstellt","Title":"Titel","Calendar":"Kalender","Attendees":"Teilnehmer","Edit event":"Ereignis bearbeiten","New event":"Neues Ereignis","Event added":"Termin hinzugefügt","Event updated":"Ereignis aktualisiert","Event deleted":"Ereignis gelöscht","Import events":"Ereignisse importieren","Select an ICS file to import and click on the Send button":"Wähle eine .ics-Datei für den Import aus und drücke dann auf den Senden-Button","Select an ICS file":"ICS Datei wählen","Send":"Senden","%{ n } event imported":["%{ n } Ereignis importiert","%{ n } Ereignisse importiert"],"Address book information":"Adressbuchinformation","To access this address book from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"Um auf dieses Adressbuch von außen (wie z.B. Mozilla Thunderbird oder Ihrem Smartphone) zuzugreifen, verwenden Sie bitte die folgende URL:","Edit category":"Kategorie bearbeiten","Add category":"Kategorie hinzufügen","Category deleted":"Kalender gelöscht","Categories":"Kategorien","Display name":"Anzeigename","Company":"Firma","Position":"Position","Birth date":"Geburtsdatum","Zip code":"Postleitzahl","City":"Ort","Country":"Land","State/Province":"Bundesland","Note":"Notiz","More":"Mehr","Less":"Weniger","Edit contact":"Kontakt bearbeiten","New contact":"Neuer Kontakt","Synchronize contacts with address book":"Kontakte mit dem Adressbuch synchronisieren","Display address book information":"Adressbuchinfos anzeigen","Synchronization started":"Synchronisierung wurde gestartet","Search in messages":"In Nachrichten suchen","Logout":"Logout","Choose columns to display":"Anzuzeigende Spalten wählen","OK":"OK","Summary":"Zusammenfassung","Back":"Zurück","Next":"Weiter","Confirm and create":"Bestätigen und erstellen","If you close this form now, your modifications won't be saved. Do you confirm?":"Wenn Sie dieses Formular jetzt schließen, werden Ihre Änderungen nicht gespeichert. Bestätigen Sie?","Modify":"Modifizieren","Empty":"Leer","Provide a CSV file where lines respect one of the following formats:":"Stellen Sie eine CSV Datei bereit, in der die Zeilen einem der folgenden Formate entsprechen:","The first element of each line is mandatory and must be equal to one of the previous values.":"Das erste Element jeder Zeile ist obligatorisch und muss einem der vorherigen Werte entsprechen.","You can use a different character as separator.":"Sie können als Trennzeichen ein anderes Zeichen verwenden.","Select file":"Wählen Sie eine Datei aus","Separator":"Separator","Continue on error":"Bei Fehler fortfahren","Don't treat duplicated objects as errors":"Doppelte Objekte nicht als Fehler behandeln","Import":"Import","Parameters updated":"Parameter aktualisiert","Could not save parameters":"Parameter konnten nicht gespeichert werden","Resources usage":"Ressourcen-Verbrauch","No quota":"Keine Quote","Creation denied":"Erstellung verweigert","Period":"Zeitraum","Absolute time range":"Absoluter Zeitbereich","Relative time ranges":"Relative Zeiträume","Day":"Tag","Week":"Woche","Month":"Monat","Year":"Jahr","yes":"ja","no":"nein","Attachments":"Anhänge","Attach":"Anhängen","Provide one or more addresses":"Eine oder mehrere Adressen eingeben","Cc":"Cc","Bcc":"Bcc","Email sent":"E-Mail gesendet","Add to contacts":"Zu Kontakten hinzufügen","Update contact":"Kontakt aktualisieren","Contact added to address book":"Kontakt zum Adressbuch hinzugefügt","Mark as read":"Als gelesen markieren","Mark as unread":"Als ungelesen markieren","Mark as followed":"Als gefolgt markieren","Mark as unfollowed":"Als nicht gefolgt markieren","Empty mailbox":"Postfach leeren","on":"an","No message yet in this mailbox":"Noch keine Nachricht in diesem Postfach","Message(s) deleted":"Nachricht(en) gelöscht","Message(s) marked as junk":"Als Junk markierte Nachricht(en)","Message(s) marked as not junk":"Nicht als Junk markierte Nachricht(en)","Message(s) flagged":"Nachricht(en) markiert","Parent mailbox":"Übergeordnetes Postfach","Create new mailbox":"Neues Postfach erstellen","Edit mailbox":"Postfach bearbeiten","Mailbox renamed":"Postfach umbenannt","Mailbox created":"Postfach erstellt","Settings":"Einstellungen","Filters":"Filter","Dashboard":"Dashboard","Domains":"Domains","Identities":"Identitäten","Monitoring":"Überwachung","Audit trail":"Prüfpfad","Messages":"Nachrichten","IMAP Migration":"IMAP Migration","Email providers":"E-Mail Anbieter","Migrations":"Migrationen","Information":"Information","Compose":"Komponieren","Create a new mailbox":"Neues Postfach erstellen","Edit this mailbox":"Dieses Postfach bearbeiten","Delete this mailbox":"Dieses Postfach löschen","Compress this mailbox":"Dieses Postfach komprimieren","Mailbox compressed":"Postfach komprimiert","Delete this mailbox?":"Dieses Postfach löschen?","Mailbox deleted":"Postfach gelöscht","No data to export":"Keine Daten zum Exportieren","CSV seems to be badly formatted":"CSV scheint schlecht formatiert zu sein","Not a valid email":"Keine gültige E-Mail","Field is required":"Feld ist erforderlich","Minimum length is %{ length }":"Mindestlänge beträgt %{ length }","Must be a numeric value or empty":"Muss ein numerischer Wert oder leer sein","Passwords mismatch":"Passwörter stimmen nicht überein","Invalid port number":"Ungültige Portnummer","Provider deleted":"Provider gelöscht","Message filters":"Nachrichtenfilter","Select a filter set":"Filterset wählen","Add filter set":"Filtersatz hinzufügen","Raw mode":"Rohmodus","Add new filter":"Neuen Filter hinzufügen","New":{"":"Neu","male":"Neu"},"Failed to display template. Using raw mode":"Vorlage konnte nicht gezeigt werden. Es wird der Raw Modus verwendet.","Filter enabled":"Filter aktiviert","Filter disabled":"Filter deaktiviert","Filter removed":"Filter entfernt","Filter set activated":"Filtersatz aktiviert","Filter set removed":"Filtersatz entfernt","Filter set updated":"Filtersatz aktualisiert","Disable":"Deaktivieren","Enable":"aktivieren","Move down":"Runter schieben","Move up":"Rauf schieben","Download filter set":"Filterset herunterladen","Delete filter set":"Filterset löschen","Activate filter set":"Filtersatz aktivieren","Account settings":"Kontoeinstellungen","Two-factor auth":"2 Faktor Authentifizierung","Forward":"Weiterleiten","Auto-reply message":"AutoAntwort Nachricht","API access":"API Zugriff","Opened alarms":"Geöffnete Alarme","Edit domain":"Domäne bearbeiten","Import domains and aliases from CSV file":"Domains und Aliase aus einer CSV Datei importieren","Export domains and aliases to CSV":"Domains in CSV exportieren","Import domains":"Domains importieren","DMARC":"DMARC","Edit account":"Konto bearbeiten","Edit alias":"Alias bearbeiten","Import accounts and aliases from CSV file":"Konten und Aliase aus einer CSV Datei importieren","Export accounts and aliases to CSV":"Konten und Aliase in CSV exportieren","Import identities":"Identitäten importieren","Crypt passwords":"Passwörter verschlüsseln","Check this option if passwords contained in your file are not crypted":"Auswählen, wenn Kennwörter in Datei nicht verschlüsselt sind","Edit provider":"Anbieter bearbeiten","Providers":"Provider","Important messages":"Wichtige Nachrichten","The password scheme you are using has been deprecated and will be removed in the next minor version. The procedure to upgrade to a stronger scheme is as follows:":"Das von Ihnen verwendete Passwortschema ist veraltet und wird in der nächsten Nebenversion entfernt. So aktualisieren Sie auf ein sichereres Schema:","Go to <strong>Settings > General</strong> section":"Gehen Sie zum Abschnitt <strong>Einstellungen > Allgemein</strong>","Change the value of <strong>Default password scheme</strong>":"Ändern Sie den Wert des <strong>Standard Passwortschemas</strong>","Make sure <strong>Update password scheme at login</strong> option is enabled":"Stellen Sie sicher, dass die Option <strong>Passwortschema bei der Anmeldung aktualisieren</strong> aktiviert ist","Save your changes":"Änderungen speichern","Logout / Login with your current account so its password gets updated":"Mit Ihrem aktuellen Konto Abmelden/Anmelden, damit dessen Passwort aktualisiert wird","Inform <strong>ALL</strong> your users that they must login to Modoboa to complete the operation":"<strong>ALLE</strong> Benutzer informieren, dass sie sich bei Modoboa anmelden müssen, um den Vorgang abzuschließen","You must apply this procedure <strong>BEFORE</strong> you install a newest version of Modoboa, otherwise <strong>you will be unable to connect to the web interface anymore</strong>.":"Sie müssen dieses Verfahren anwenden, <strong>BEVOR</strong> Sie eine neue Version von Modoboa installieren, da Sie sonst <strong>keine Verbindung mehr zur Weboberfläche herstellen können</strong>.","Please note that you will see this message until <strong>ALL</strong> user passwords have been converted using the new scheme.":"Beachten Sie, dass diese Meldung angezeigt wird, bis <strong>ALLE</strong> Benutzerpasswörter mit dem neuen Schema konvertiert wurden.","Installed components":"Installierte Komponenten","One or more updates are available":"Eine oder mehrere Aktualisierungen sind verfügbar","Check out the following list to find related components":"In der folgenden Liste finden Sie die entsprechenden Komponenten.","Installed version":"Installierte Version","Latest version":"Lezte Version","Message history":"Nachrichtenverlauf","My calendars":"Meine Kalender","Access rules":"Zugriffsregeln","Do you really want to delete this calendar?":"Wollen Sie den Kalender wirklich löschen?","Calendar deleted":"Kalender gelöscht","Contacts":"Kontakte","Add a category":"Kategorie hinzufügen","Welcome to Modoboa":"Willkommen zu Modoboa","Attempting to log you in.":"Es wird versucht, Sie anzumelden.","Message deleted":"Nachricht gelöscht","Reply":"Antworten","Reply all":"Allen antworten","Enable links":"Links aktivieren","Disable links":"Links deaktivieren","Display source":"Quelle anzeigen","Message marked as junk":"Als Junk markierte Nachricht","Message marked as not junk":"Nachricht als, kein Junk markiert","Webmail":"Webmail"}`),W1={Enabled:"Activado",Password:"Contraseña",Name:"Nombre",Actions:"Acciones",Save:"Guardar",Update:"Actualizar","Recipient(s)":"Destinatario(s)","Keep local copies":"Mantener copias locales","Forward messages and store copies into your local mailbox":"Reenvía mensajes y guarda copias en su mailbox local","Forward updated":"Reenvío actualizado","Last name":"Apellidos","Phone number":"Número de teléfono","Secondary email":"Email secundario","Profile updated":"Perfil actualizado",Close:"Cerrar",Search:"Buscar",Status:"Estatus",Domain:"Dominio",Mailbox:"Mailboxes",Message:"Uso",Authentication:"Autenticación","Not generated":"Sin definir",Address:"Dirección",Updated:"Actualizado",Disabled:"Deshabilitado",Unknown:"Desconocido",Administrators:"Administradores",Username:"Nombre de usuario",Add:"Agregar","New domain":"Nuevo dominio",General:"General",Options:"Opciones",Type:"Tipo","Enable DNS checks":"Activar comprobación de DNS","Default mailbox quota":"Cuota de mailbox por defecto","Create a domain administrator":"Crear un administrador del dominio","Random password":"Dirección aleatoria","Create aliases":"Crear alias","Domain created":"Dominio creado","Bind/named format. Click to copy":"Formato inválido",Resources:"Recursos",Aliases:"Alias","DNS status":"Estado de DNS",Apply:"Aplicar","Creation date":"Fecha de creación","Last modification date":"Última fecha de modificación",Mailboxes:"Mailboxes","Quota shared between mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Cuota de mailbox predeterminda en MB. Un valor de 0 significa ningún limite.","Default quota applied to mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Cuota de mailbox predeterminda en MB. Un valor de 0 significa ningún limite.","With a mailbox":"Con una mailbox","Create a mailbox for the administrator.":"Crear mailbox para el administrador.","New account":"Nueva cuenta",Role:"Rol",Email:"Correo-e",Account:"Cuenta",Alias:"Alias","Sender addresses":"Direcciónes de remitente","Full name":"Nombre completo","New alias":"Nuevo alias","Random address":"Dirección aleatoria","Expire at":"Caduca en",Description:"Descripción",Recipients:"Destinatarios",Modified:"Modificado","Administered domains":"Dominios administrados","Quota for this mailbox, can be expressed in KB, MB (default) or GB. Define a custom value or use domain's default one. Leave empty to define an unlimited value (not allowed for domain administrators).":"Cuota en MB para este mailbox. Defina un valor por defecto o use el del dominio por defecto. Déjelo vacío para definir un valor ilimitado (no permitido para los administradores del dominio)","Use domain default value":"Usar el valor por defecto del dominio",unlimited:"ilimitado",Confirmation:"Confirmación","Simple user":"Usuario normal","Domain administrator":"Administrador del dominio",Reseller:"Revendedor","Super administrator":"Super administrador","Email address":"Dirección de email",Level:"Nivel",Logger:"Logger","The credentials are the same than the ones you use to access Modoboa.":"Las credenciales para acceder a este libro de direcciones son las mismas que usa para acceder a Modoboa.","Address book information":"Información del libro de direcciones","To access this address book from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"Para acceder remotamente a este libro de direcciones (como con Mozilla Thunderbird o desde su smartphone), use la siguiente URL:",Categories:"Categorías",Company:"Compañía",City:"Ciudad",Country:"País","State/Province":"CC.AA./Provincia",Note:"Nota",More:"Más",Logout:"Salir",Summary:"Sumario",Next:"Siguiente",Separator:"Separador","Continue on error":"Continúe en error.",Import:"Importar","Resources usage":"Uso de recursos",Day:"Día",Week:"Semana",Month:"Mes",Year:"Año",Settings:"Configuración",Dashboard:"Panel de Control",Domains:"Dominios",Identities:"Identidades",Information:"Información","Passwords mismatch":"Las contraseñas no coinciden",Forward:"Siguiente","API access":"Acceso API","Import domains":"Importar dominios","Import identities":"Importar identidades","Crypt passwords":"Contraseñas cifradas","Check this option if passwords contained in your file are not crypted":"Marque esta opción si las contraseñas que contiene su fichero no están cifradas","One or more updates are available":"Una o más actualizaciones están disponibles","Installed version":"Versión instalada",Contacts:"Contactos","Welcome to Modoboa":"Bienvenido a Modoboa"},j1=JSON.parse(`{"Your API token has not been generated yet.":"API-pääsytunnistetta ei ole vielä luotu.","Generate":"Luo","Your API token is:":"API-pääsytunnisteesi on:","Copy token to clipboard":"Kopioi turvatunnus leikepöydälle","Delete token":"Poista avain","A documentation of the API is available":"API:n dokumentaatio on saatavilla","API token copied to your clipboard":"API-tunniste kopioitu leikepöydälle","API token created":"API-tunniste luotu","Warning":"Varoitus","You are about to delete your API access token":"Olet poistamassa API-pääsytunnistetta","Cancel":"Peruuta","Proceed":"Jatka","API token deleted":"API-tunniste poistettu","Enabled":"Käytössä","From":"Lähde","Password":"Salasana","Name":"Nimi","Actions":"Toiminnot","No":"Ei","Yes":"Kyllä","Save":"Tallenna","Update":"Päivitä","Recipient(s)":"Vastaanottaja(t)","Indicate one or more recipients separated by a comma (,)":"Ilmoita yksi tai useampi vastaanottaja pilkulla (,) erotettuna","Keep local copies":"Säilytä paikallisia kopioita","Forward messages and store copies into your local mailbox":"Välitä viestit ja tallenna kopiot paikalliseen postilaatikkoon","Forward updated":"Välitystieto päivitetty","General settings":"Yleiset asetukset","First name":"Etunimi","Last name":"Sukunimi","Language":"Kieli","Phone number":"Puhelinnumero","Secondary email":"Toissijainen sähköpostiosoite","Update settings":"Päivitä asetukset","Update Password":"Vaihda salasana","Profile updated":"Profiili päivitetty","Password updated":"Salasana päivitetty","New recovery codes":"Uudet palautuskoodit","Close":"Sulje","Pin code":"Pin-koodi","Register":"Rekisteröidy","Disable 2FA":"Poista kaksivaiheinen tunnistautuminen (2FA) käytöstä","Search":"Hae","Status":"Tila","Domain":"Verkkotunnus","Mailbox":"Postilaatikko","Message":"Viesti","Delete":"Poista","DNS configuration help":"DNS-määritysapu","Pending":"Odottaa","Auto configuration":"Automaattinen asetusten määrittäminen","autoconfig record (Mozilla): %{ value }":"autoconfig-tietue (Mozilla): %{ value }","autoconfig record (Mozilla) not found":"autoconfig-tallennetta (Mozilla) ei löydy","autodiscover record (Microsoft): %{ value }":"autodiscover-tietue (Microsoft): %{ value }","autodiscover record (Microsoft) not found":"autodiscover-tietuetta (Microsoft) ei löydy","Authentication":"Tunnistautuminen","SPF record found":"SPF-tietue löydetty","SPF record not found":"SPF-tietuetta ei löydy","DKIM record found":"DKIM-tietue löydetty","DKIM record not found":"DKIM-tietuetta ei löydy","DMARC record found":"DMARC-tietue löydetty","DMARC record not found":"DMARC-tietuetta ei löydy","DKIM key":"DKIM-avain","Show key":"Näytä avain","Generate a new DKIM key":"Luo uusi DKIM-avain","Not generated":"Ei luotu","Address":"Osoite","Updated":"Päivitetty","A new key will be generated soon. Refresh the page in a moment to see it.":"Uusi avain luodaan pian. Päivitä sivu hetken kuluttua nähdäksesi sen.","DKIM keys already exist for this domain. Do you want to overwrite them?":"DKIM-avaimet ovat jo olemassa tälle verkkotunnukselle. Haluatko korvata ne?","Disabled":"Pois käytöstä","Problem":"Ongelma","Valid":"Kelvollinen","Unknown":"Tuntematon","Administrators":"Ylläpitäjät","Select an account":"Valitse tili","Remove this administrator":"Poista tämä ylläpitäjä","Add administrator":"Lisää järjestelmänvalvoja","Username":"Käyttäjätunnus","Administrator added":"Järjestelmänvalvoja lisäsi","Administrator removed":"Järjestelmänvalvoja poistettu","Choose a domain":"Valitse verkkotunnus","Add":"Lisää","Edit domain alias":"Muokkaa verkkotunnusta","Add a new domain alias":"Lisää uusi verkkotunnuksen alias","Domain alias deleted":"Verkkotunnuksen alias poistettu","Domain alias created":"Verkkotunnuksen alias luotu","Domain alias updated":"Verkkotunnuksen alias päivitetty","New domain":"Uusi verkkotunnus","Copy to clipboard":"Kopioi leikepöydälle","General":"Yleiset","DNS":"DNS","Limitations":"Rajoitukset","Options":"Vaihtoehdot","Transport":"Siirto","Type":"Tyyppi","Enable DNS checks":"Ota DNS-tarkistukset käyttöön","Enable DKIM signing":"Ota DKIM-allekirjoitus käyttöön","Quota":"Verkkotunnuksen oletuskiintiö","Default mailbox quota":"Oletuspostilaatikkokiintiö","Message sending limit":"Viestien lähetysraja","DKIM key selector":"DKIM-avaimen valitsin-tietue","DKIM key length":"DKIM-avaimen pituus","Service":"Palvelu","Create a domain administrator":"Luo verkkotunnuksen ylläpitäjä","Administrator name":"Järjestelmänvalvojan nimi","Random password":"Satunnainen salasana","With mailbox":"Postilaatikolla","Create aliases":"Luo aliaksia","Password copied to clipboard":"Salasana kopioitu leikepöydälle","Domain created":"Verkkotunnus luotu","DKIM public key for":"DKIM julkinen avain tietueelle","Raw format. Click to copy":"Raakamuoto. Kopioi napsauttamalla","Bind/named format. Click to copy":"Bind/nimetty muoto. Kopioi klikkaamalla","Here is an example of DNS configuration (bind format). Replace values between [ ] by the appropriate ones.":"Tässä on esimerkki DNS-määrityksistä (bind-muodossa). Korvaa [ ]:n välissä olevat arvot sopivilla arvoilla.","IP address of your Modoboa server":"Modoboa-palvelimen IP-osoite","hostname of your automx server":"automx-palvelimen nimi","DNS checks":"DNS-tarkistukset","DKIM signing":"DKIM-allekirjoitus","No sending limit":"Ei lähetysrajaa","Resources":"Resurssit","Relay":"Välitysrele","Do not delete domain folder":"Älä poista verkkotunnuksen kansiota","Aliases":"Aliakset","DNS status":"DNS-tila","Sending limit":"Lähetysraja","Edit":"Muokkaa","Alarms":"Hälytykset","Apply":"Käytä","General information":"Yleiset tiedot","Creation date":"Luontipäivä","Last modification date":"Viimeisin muutospäivä","Daily sending limit":"Päivittäinen lähetysraja","messages":"viestit","Mailboxes":"Postilaatikot","Domain name (ex: domain.tld)":"Verkkotunnus (esim. domain.tld)","Control if this domain will be allowed to send and receive messages":"Määritä, saako tämä verkkotunnus lähettää ja vastaanottaa viestejä","Quota shared between mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Postilaatikoiden kesken jaettu kiintiö. Voidaan ilmaista kilotavuina (KB), megatavuina (MB) (oletus) tai gigatavuina (GB). Arvo 0 tarkoittaa, ettei kiintiötä ole.","Default quota applied to mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Postilaatikoihin sovellettava oletuskiintiö. Voidaan ilmaista kilotavuina, megatavuina (oletus) tai gigatavuina. Arvo 0 tarkoittaa, ettei kiintiötä ole.","Number of messages this domain can send per day. Leave empty for no limit.":"Viestien määrä, jonka tämä verkkotunnus voi lähettää päivässä. Jätä tyhjäksi, jos et halua rajoitusta.","Name of the administrator":"Ylläpitäjän nimi","With a mailbox":"Postilaatikolla","Create a mailbox for the administrator.":"Luo ylläpitäjän postilaatikko.","Create standard aliases for the domain.":"Luo verkkotunnuksen tavanomaiset aliakset.","New account":"Uusi tili","Role":"Rooli","Identification":"Tunniste","Email":"Sähköposti","Domain default value":"Verkkotunnuksen oletusarvo","Account":"Tili","Username:":"Käyttäjätunnus:","Profile":"Profiili","domain's default value":"verkkotunnuksen oletusarvo","Alias":"Alias","Sender addresses":"Lähettäjän osoitteet","No sender address defined for this account":"Tälle tilille ei ole määritelty lähettäjän osoitetta","Specify an email address":"Määritä sähköpostiosoite","Remove this address":"Poista tämä osoite","Add sender address":"Lisää lähettäjän osoite","Sender address added":"Lähettäjän osoite lisätty","Sender address deleted":"Lähettäjän osoite poistettu","Last login date":"Viimeisin kirjautumispäivä","Never logged-in":"Ei koskaan kirjautunut sisään","Full name":"Koko nimi","New alias":"Uusi alias","Random address":"Satunnainen osoite","Expire at":"Vanhenee","Description":"Kuvaus","Recipients":"Vastaanottajat","Modified":"Muokattu","Administered domains":"Hallinnoidut verkkotunnukset","Start typing a name here...":"Aloita nimen kirjoittaminen tästä...","Alias(es) of this mailbox. To create a catchall alias, just enter the domain name (@domain.tld).":"Tämän postilaatikon alias-nimet. Jos haluat luoda catchall-aliaksen, kirjoita vain verkkotunnus (@domain.tld).","Enter an email address":"Syötä oikean muotoinen sähköpostiosoite","Enter a simple username or an email address":"Anna yksinkertainen käyttäjätunnus tai sähköpostiosoite","Ex: 10MB. Leave empty for no limit":"Esim: 10 MB. Jätä tyhjäksi, jos et halua rajoitusta","Quota for this mailbox, can be expressed in KB, MB (default) or GB. Define a custom value or use domain's default one. Leave empty to define an unlimited value (not allowed for domain administrators).":"Tämän postilaatikon kiintiö, joka voidaan ilmaista kilotavuina, megatavuina (oletus) tai gigatavuina. Määritä oma arvo tai käytä toimialueen oletusarvoa. Jätä tyhjäksi, jos haluat määrittää rajoittamattoman arvon (ei sallittu toimialueen ylläpitäjille).","Daily message sending limit":"Päivittäinen viestien lähetysraja","Leave empty for no limit":"Jätä tyhjäksi, jos rajaa ei ole","Number of messages this mailbox can send per day. Leave empty for no limit.":"Viestien määrä, jonka tämä postilaatikko voi lähettää päivässä. Jätä tyhjäksi, jos et halua rajoitusta.","Use domain default value":"Käytä verkkotunnuksen oletusarvoa","unlimited":"rajoittamaton","Current password":"Nykyinen salasana","Confirmation":"Vahvistus","Choose a role":"Valitse käyttäjätyyppisi","Simple user":"Yksinkertainen käyttäjä","A user with no privileges but with a mailbox. He will be allowed to use all end-user features: webmail, calendar, contacts, filters.":"Käyttäjä, jolla ei ole oikeuksia mutta jolla on postilaatikko. Hän saa käyttää kaikkia loppukäyttäjän ominaisuuksia: webmail, kalenteri, yhteystiedot, suodattimet.","Domain administrator":"Luo verkkotunnuksen ylläpitäjä","A user with privileges on one or more domain. He will be allowed to administer mailboxes and he can also have a mailbox.":"Käyttäjä, jolla on oikeuksia yhdessä tai useammassa verkkotunnuksessa. Hänellä on oikeus hallinnoida postilaatikoita ja hänellä voi myös olla postilaatikko.","Reseller":"Jälleenmyyjä","Super administrator":"Pääylläpitäjä","A user with all privileges, can do anything. By default, such a user does not have a mailbox so he can't access end-user features.":"Käyttäjä, jolla on kaikki oikeudet, voi tehdä mitä tahansa. Oletusarvoisesti tällaisella käyttäjällä ei ole postilaatikkoa, joten hän ei voi käyttää loppukäyttäjän ominaisuuksia.","Email address":"Sähköpostiosoite","Do not delete account folder":"Älä poista tilikansiota","Date":"Päivämäärä","Level":"Taso","Logger":"Lokikirja","Queue ID":"Jonon ID","To":"Vastaanottaja","Logout":"Kirjaudu ulos","OK":"OK","Summary":"Yhteenveto","Back":"Takaisin","Next":"Seuraava","Confirm and create":"Vahvista ja luo","If you close this form now, your modifications won't be saved. Do you confirm?":"Jos suljet tämän lomakkeen nyt, muutokset eivät tallennu. Vahvistatko?","Modify":"Muokkaa","Empty":"Tyhjä","Provide a CSV file where lines respect one of the following formats:":"Toimita CSV-tiedosto, jonka rivit ovat jossakin seuraavista muodoista:","The first element of each line is mandatory and must be equal to one of the previous values.":"Kunkin rivin ensimmäinen elementti on pakollinen, ja sen on oltava yhtä suuri kuin jokin edellisistä arvoista.","You can use a different character as separator.":"Voit käyttää erottimena eri merkkiä.","Select file":"Valitse tiedosto","Separator":"Erotin","Continue on error":"Jatka virheestä","Don't treat duplicated objects as errors":"Älä käsittele päällekkäisiä objekteja virheinä","Import":"Tuonti","Parameters updated":"Parametrit päivitetty","Resources usage":"Resurssien käyttö","Period":"Jakso","Absolute time range":"Määrämittainen aikaraja","Relative time ranges":"Suhteelliset aikavälialueet","Day":"Päivä","Week":"Viikko","Month":"Kuukausi","Year":"Vuosi","yes":"kyllä","no":"ei","Settings":"Asetukset","Dashboard":"Työpöytä","Domains":"Sinulla ei ole oikeutta tuoda verkkotunnuksia","Identities":"Identiteetit","Audit trail":"Tarkastusketju","Messages":"Viestit","Passwords mismatch":"Salasanat eivät täsmää","New":"Uusi","Settings: ":"Asetukset: ","Forward":"Välitä","API access":"API-pääsy","Opened alarms":"Avatut hälytykset","Edit domain":"Muokkaa verkkotunnusta","Import domains and aliases from CSV file":"Tuo verkkotunnukset ja aliakset CSV-tiedostosta","Export domains and aliases to CSV":"Vie verkkotunnukset ja aliakset CSV-tiedostoon","Import domains":"Tuo verkkotunnuksia","Edit account":"Muokkaa tiliä","Edit alias":"Muokkaa aliasta","Import accounts and aliases from CSV file":"Tuo tilejä ja aliaksia CSV-tiedostosta","Export accounts and aliases to CSV":"Vie tilit ja aliakset CSV-tiedostoon","Import identities":"Tuo identiteetit","Crypt passwords":"Salakirjoita salasanat","Check this option if passwords contained in your file are not crypted":"Valitse tämä vaihtoehto, jos tiedostosi sisältämiä salasanoja ei ole salakirjoitettu","One or more updates are available":"Yksi tai useampi päivitys on saatavilla","Installed version":"Asennettu versio","Message history":"Viestien historia","Welcome to Modoboa":"Tervetuloa Modoboaan"}`),Y1={Enabled:"Abilitato",Password:"Password",Name:"Nome",Actions:"Azioni",Save:"Salva",Update:"Aggiorna","Recipient(s)":"Destinatario(i)","Keep local copies":"Mantieni copie locali","Forward messages and store copies into your local mailbox":"Inoltra i messaggi e memorizza le copie nella tua casella di posta locale","Forward updated":"Inoltro aggiornato","Last name":"Cognome","Phone number":"Numero di telefono","Secondary email":"Email secondaria","Profile updated":"Profilo aggiornato",Close:"Chiudi",Search:"Cerca",Closed:"Chiudi",Status:"Stato",Domain:"Dominio",Mailbox:"Caselle di posta",Message:"Utilizzo","Unknown sources / Threats":"Fonti sconosciute / Minaccie","Partially aligned":"Parzialmente allineato",Failed:"Fallito",Total:"Totale",Authentication:"Autenticazione","DKIM key":"Chiave DKIM","Show key":"Visualizza chiave","Not generated":"Non generata",Address:"Indirizzi",Updated:"Aggiornato",Disabled:"Disabilitato",Unknown:"Sconosciuto",Administrators:"Amministratori",Username:"Nome utente",Add:"Aggiungi","New domain":"Nuovo dominio",General:"Generale",DNS:"DNS",Options:"Opzioni",Transport:"Trasporto",Type:"Tipo","Enable DNS checks":"Abilita i controlli DNS","Enable DKIM signing":"Abilita la firma DKIM",Quota:"Dimensione massima","Default mailbox quota":"Dimensione massima predefinita per le mailbox","Create a domain administrator":"Crea un amministratore di dominio","Random password":"Password casuale","Create aliases":"Crea alias","Domain created":"Dominio creato","Bind/named format. Click to copy":"Formato bind/named",Resources:"Risorse",Aliases:"Alias","DNS status":"Stato del DNS",Apply:"Applica","Creation date":"Data di creazione","Last modification date":"Data dell'ultima modifica",Mailboxes:"Caselle di posta","Quota shared between mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Spazio massimo confiviso tra le mailbox. Può essere espresso in KB, MB (predefinito) o GB. Il valore 0 indica nessun limite.","Default quota applied to mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Valore predefinito per lo spazio massimo confiviso tra le mailbox. Può essere espresso in KB, MB (predefinito) o GB. Il valore 0 indica nessun limite.","With a mailbox":"Con una casella di posta","Create a mailbox for the administrator.":"Crea una casella di posta per l'amministratore.","New account":"Nuovo account",Role:"Ruolo",Email:"Email",Account:"Account",Profile:"Profilo",Alias:"Alias","Sender addresses":"Indirizzi mittenti","Full name":"Nome completo","New alias":"Nuovo alias","Random address":"Indirizzo casuale","Expire at":"Scade il",Description:"Descrizione",Recipients:"Destinatari",Modified:"Modificato","Administered domains":"Domini amministrati","Quota for this mailbox, can be expressed in KB, MB (default) or GB. Define a custom value or use domain's default one. Leave empty to define an unlimited value (not allowed for domain administrators).":"Dimensione massima per questa mailbox, può essere espressa in KB, MB (predefinito) o GB. Definire un valore personalizzato o utilizzare quello predefinito per il dominio. Lasciare vuoto per specificare un valore non limitato (non permesso per amministratori di dominio).","Use domain default value":"Usa il valore predefinito",unlimited:"senza limiti",Confirmation:"Conferma","Simple user":"Utente semplice","Domain administrator":"Amministratore di dominio",Reseller:"Rivenditore","Super administrator":"Super amministratore","Email address":"Indirizzo email",Level:"Livello",Logger:"Logger","The credentials are the same than the ones you use to access Modoboa.":"Le credenziali sono le stesse con cui accedi a Modoboa.","Address book information":"Informazioni di rubrica","To access this address book from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"Per accedere a questa rubrica da applicazioni esterne (es. Mozilla Thunderbird o il tuo smartphone), usa la seguente URL:",Categories:"Categorie",Company:"Azienda",City:"Città",Country:"Paese","State/Province":"Provincia",Note:"Note",More:"Più informazioni",Logout:"Esci",Summary:"Sommario",Next:"Successivo",Separator:"Separatore","Continue on error":"Continuare in caso di errore",Import:"Importa","Resources usage":"Utilizzo risorse",Day:"Giorno",Week:"Settimana",Month:"Mese",Year:"Anno",Settings:"Impostazioni",Domains:"Domini",Identities:"Identità",Information:"Informazioni","Passwords mismatch":"Le password non corrispondono",Forward:"Inoltra","API access":"Accesso API","Import domains":"Importa domini","Import identities":"Identità di importazione","Crypt passwords":"Cripta le password","Check this option if passwords contained in your file are not crypted":"Seleziona questa opzione se le password contenute nel file non sono criptate","One or more updates are available":"Sono disponibili nuovi aggiornamenti","Installed version":"Versione installata",Contacts:"Contatti","Welcome to Modoboa":"Benvenuti in Modoboa"},V1={},U1={},X1=JSON.parse(`{"Your API token has not been generated yet.":"Votre jeton API n'a pas encore été généré.","Generate":"Générer","Your API token is:":"Votre jeton API est :","Copy token to clipboard":"Copier le jeton dans la presse-papiers","Delete token":"Supprimer le jeton","A documentation of the API is available":"Une documentation de l'API est disponible","here":"ici","API token copied to your clipboard":"Jeton API copié dans votre presse-papier","API token created":"Jeton API créé","Warning":"Avertissement","You are about to delete your API access token":"Vous êtes sur le point de supprimer votre jeton d'accès à l'API","Cancel":"Annuler","Proceed":"Procéder","API token deleted":"Jeton API supprimé","Enabled":"Activé","Subject":"Sujet","Content":"Contenu","The content of your answer. You can use the following variables, which will be automatically replaced by the appropriate value: %(name)s, %(fromdate)s, %(untildate)s":"Le contenu de votre réponse. Vous pouvez utiliser les variables suivantes, qui seront automatiquement remplacées par les valeurs appropriées : %(name)s, %(fromdate)s, %(untildate)s","From":"De","Activate your auto reply from this date":"Activez votre réponse automatique à partir de cette date","Until":"Jusqu'au","Activate your auto reply until this date":"Activez votre réponse automatique jusqu'à cette date","Update auto-reply":"Mettre à jour la réponse automatique","Auto-reply message updated":"Message de réponse automatique mis à jour","Backup codes":"Codes de récupération","You already have generated backup codes for this account. If you don't remember them or have used them all, you can generate new ones.":"Vous avez déjà généré des codes de récupération pour ce compte. Si vous ne vous en souvenez plus ou que vous les avez tous utilisés, vous pouvez en générer de nouveaux.","Password":"Mot de passe","Reset recovery codes":"Rénitialiser les codes de récupération","No two-factor authentificator is yet set for your account.":"Aucune authentification à deux facteurs n'est encore active pour votre compte.","WebAuthn":"WebAuthn","You don't have any WebAuthN device registered as a second authentication method.":"Vous n'avez aucun périphérique WebAuthn enregistré en tant que seconde méthode d'authentification.","Registered Webauthn devices":"Péréphériques Webauthn enregistrés","Never":"Jamais","Enter a name to register a new webauthn device.":"Renseignez un nom pour enregistrer un nouveau périphérique webauthn.","New device name":"Nom du nouveau périphérique","Setup device":"Configurer le périphérique","Your browser does not seem compatible with WebAuthN":"Votre navigateur ne semble pas compatible avec WebAuthN","name":"nom","Name":"Nom","Added On":"Ajouté le","Last Used":"Dernière utilisation","Use count":"Nombre d'utilisations","Actions":"Actions","Failed to register the webAuthN device":"Impossible d'enregistrer le périphérique webAuthN","Do you really want to delete this WebAuthn device?":"Voulez vous vraiment supprimer ce périphérique Webauthn ?","No":"Non","Yes":"Oui","Edition":"Modification","Edit your device":"Modifier votre périphérique","Save":"Enregistrer","Conditions":"Conditions","All of the following":"Tous les éléments suivants","Any of the following":"Un des éléments suivants","All messages":"Tous les messages","Choose a header":"Choisissez un entếte","Choose an operator":"Choisissez un opérateur","Value":"Valeur","Add condition":"Ajouter une condition","Remove condition":"Supprimer la condition","Choose an action":"Choisissez une action","Add action":"Ajouter une action","Remove action":"Supprimer l'action","Edit filter":"Modifier le filtre","New filter":"Nouveau filtre","Update":"Mettre à jour","Create":"Créer","Filter added":"Filtre ajouté","Filter updated":"Filtre mis à jour","Create a new filter set":"Créer un nouveau jeu de filtre","Active":"Actif","Filter set created":"Jeu de filtre créé","Recipient(s)":"Destinataire(s)","Indicate one or more recipients separated by a comma (,)":"Indiquer un ou plusieurs destinataires séparés par une virgule (,) ","Keep local copies":"Conserver des copies locales","Forward messages and store copies into your local mailbox":"Transférer les messages et stocker des copies dans votre boîte aux lettres locale","Forward updated":"Transfert mise à jour","General settings":"Paramètres généraux ","First name":"Prénom","Last name":"Nom de famille","Language":"Langage","Feel free to improve the translations":"N'hésitez pas à améliorer les traductions","or suggest a new language":"ou suggérer une nouvelle langue","there":"ici","Phone number":"Numéro de téléphone","Secondary email":"E-mail secondaire","Update settings":"Mise à jour des paramètres","Update Password":"Mise à jour du mot de passe","Profile updated":"Profil mis à jour","Language does no exist":"Cette langue n'existe pas","Password updated":"Mot de passe mis à jour","New recovery codes":"Nouveaux codes de récupération","The following recovery codes can be used one time each to let you regain access to your account, in case you lose your phone for example. Make sure to save them in a safe place, otherwise you won't be able to access your account anymore.":"Les codes de récupération suivants peuvent être utilisés une fois chacun pour vous permettre de récupérer un accès à votre compte, au cas où vous perdriez votre téléphone par exemple. Assurez-vous de les conserver dans un lieu sûr, autrement vous ne serez définitivement plus en mesure d'accéder à votre compte.","Close":"Fermer","One-time passwords":"Mots de passe jetables","Click here to copy the key":"Cliquer ici pour copier la clé","Install a soft token authenticator like FreeOTP or Google Authenticator from your application repository and use that app to scan this QR code.":"Installez un logiciel d'authentification de jeton comme FreeOTP ou google\\n Authentification depuis votre magasin d'applications et utilisez\\n cette application pour scanner ce QR code.","Pin code":"Code Pin","Register":"Enregistrer","Congratulations! Two-factor authentication using one-time passwords is now enabled for your account.":"Félicitations ! L'authentification à deux facteurs utilisant des mots de passe jetable est désormais active pour votre compte.","Two-factor authentication using one-time passwords is enabled for your account.":"L'authentification à deux facteurs utilisant des mots de passe jetables est active pour votre compte.","Disable 2FA":"Désactiver l'authentification à double facteur","Two-factor authentication (2FA) using one-time passwords is not yet activated for your account.":"L'authentification à deux facteurs (2FA) utilisant des mots de passe jetables n'est pas encore activée pour votre compte.","Register authenticator":"Enregistrer l'authentificateur","Search":"Chercher","Opened":"Ouvert","Closed":"Fermé","Triggered":"Déclenché","Status":"Statut","Domain":"Domaine","Mailbox":"Boîte aux lettres","Message":"Message","Delete":"Supprimer","Reload":"Recharger","Close alarm":"Fermer l'alarme","Reopen alarm":"Ré-ouvrir l'alarme","Alarm deleted":"Alarme supprimée","Alarms deleted":"Alarmes supprimées","Alarm closed":"Alarme fermée","Alarm re-opened":"Alarme ré-ouverte","Statistics":"Statistiques","Domain count":"Nombre de domaines","Domain alias count":"Nombre d'alias de domaine","Account count":"Nombre de comptes","Alias count":"Nombre d'alias","Latest news":"Dernières nouvelles","Visit the official weblog for more information":"Visitez le weblog officiel pour plus d'information","Alignment":"Alignement","Detail":"Détail","Trusted sources":"Sources de confiance","Partially trusted sources / Forwarders":"Sources partiellement fiables / Transitaires","Forwarders with ARC":"Transporteur avec ARC","Unknown sources / Threats":"Sources inconnues / Menaces","DMARC support does not seem to be enabled for this domain.":"La support DMARC ne semble pas actif pour ce domaine.","If you configured it recently, please wait for the first report to be received and processed.":"Si vous l'avez récemment configuré, veuillez attendre que le premier rapport soit reçu et traité. ","Fully aligned":"Entièrement aligné","Partially aligned":"Partiellement aligné","Forwarded":"Transféré","Failed":"Échoué","Total":"Total","DNSBL summary for ":"Synthèse DNSBL pour","IP address %{ address } is currently listed by the following DNSBL providers:":"L'adresse IP %{ address } est actuellement listée par les fournisseurs de DNSBL suivants :","DNS configuration help":"Aide à la configuration du DNS","Pending":"En attente","Auto configuration":"Configuration automatique","autoconfig record (Mozilla): %{ value }":"Enregistrement autoconfig (Mozilla) : %{ value }","autoconfig record (Mozilla) not found":"Enregistrement autoconfig (Mozilla) introuvable","autodiscover record (Microsoft): %{ value }":"Enregistrement autodiscover (Microsoft): %{ value }","autodiscover record (Microsoft) not found":"Enregistrement autodiscover (Microsoft) non trouvé","Authentication":"Authentification","SPF record found":"Enregistrement SPF trouvé","SPF record not found":"Enregistrement SPF introuvable","DKIM record found":"Enregistrement DKIM trouvé","DKIM record not found":"Enregistrement DKIM introuvable","DMARC record found":"Enregistrement DMARC trouvé","DMARC record not found":"Enregistrement DMARC introuvable","DKIM key":"Clé DKIM","Show key":"Afficher la clé","Copy key to clipboard":"Copier la clé dans la presse-papiers","Generate a new DKIM key":"Générer une nouvelle clé DKIM","Not generated":"Non générée","Address":"Adresse","Updated":"Mis à jour","DKIM key copied to clipboard":"Clé DKIM copiée dans le presse-papier","A new key will be generated soon. Refresh the page in a moment to see it.":"Une nouvelle clé sera générée bientôt. Actualisez dans un moment la page pour la voir.","warning":"Avertissement","DKIM key does not seem to be generated yet or has failed. Do you want to requeue the job?":"La génération de la clé DKIM ne semble pas avoir eu lieu ou a échoué. Voulez vous replanifier cette action ?","DKIM keys already exist for this domain. Do you want to overwrite them?":"Des clés DKIM existent déjà pour ce domaine. Voulez-vous les écraser?","Disabled":"Désactivés","Problem":"Problème","Valid":"Valide","Unknown":"Inconnu","Administrators of":"Administrateurs de","Administrators":"Administrateurs","Select an account":"Sélectionner un compte","Remove this administrator":"Supprimer cet administrateur","Add administrator":"Ajouter un administrateur","Username":"Nom d'utilisateur","Administrator added":"L'administrateur a ajouté","Administrator removed":"Administrateur supprimé","Choose a domain":"Choisissez un domaine","Add":"Ajouter","Edit domain alias":"Modifier l'alias de domaine","Add a new domain alias":"Ajouter un nouvel alias de domaine","Domain alias deleted":"Alias de domaine supprimé","Domain alias created":"Alias de domaine créé","Domain alias updated":"Alias de domaine mise à jour","New domain":"Nouveau domaine","Copy to clipboard":"Copier dans le presse-papiers","General":"Général","DNS":"DNS","Limitations":"Limites","Options":"Options","Transport":"Transport","Type":"Type","Enable DNS checks":"Activer les tests DNS","Enable DKIM signing":"Activer la signature DKIM","Quota":"Quota","Default mailbox quota":"Quota par défaut pour une boîte aux lettres","Message sending limit":"Limite d'envoi des messages","DKIM key selector":"Sélecteur de clé DKIM","DKIM key length":"Longeur de clé DKIM","Service":"Service","Create a domain administrator":"Créer un administrateur de domaine","Administrator name":"Nom de l'administrateur","Random password":"Mot de passe aléatoire","With mailbox":"Avec boîte aux lettres","Create aliases":"Créer des alias","Password copied to clipboard":"Mot de passe copié dans la presse-papier","Domain created":"Domaine créé","DKIM public key for":"Clé publique DKIM pour ","Raw format. Click to copy":"Format brut. Cliquer pour copier","Bind/named format. Click to copy":"Format bind/named. Cliquez pour copier","DNS configuration for ":"Configuration DNS pour","Here is an example of DNS configuration (bind format). Replace values between [ ] by the appropriate ones.":"Voici un exemplaire de configuration DNS (format bind). Remplacer les valeurs entre [ ] par les valeurs appropriées.","IP address of your Modoboa server":"Adresse IP de votre serveur Modoboa","hostname of your automx server":"Nom d'hôte de votre serveur automx","Name: ":"Nom :","Type: ":"Type :","DNS checks":"Vérifications DNS","DKIM signing":"Signature DKIM","Quota: ":"Quota :","Sending limit: ":"Limite d'envoi :","No sending limit":"Pas de limite d'envoi","Service: ":"Service :","Resources":"Ressources","Relay":"Relais","Unlimited":"illimité","Do not delete domain folder":"Ne pas supprimer le dossier des domaines","Aliases":"Alias","DNS status":"Statut DNS","Sending limit":"Limite d'envoi","Do you really want to delete the domain %{ domain }?":"Voulez-vous réellement supprimer le domaine %{ domaine } ?","Domain deleted":"Supprimer le domaine","Edit":"Modifier","Alarms":"Alarmes","Content filter":"Filtre de contenu","Edit content filter settings":"Modifier les paramètres du filtre de contenu","Spam filters":"Filtres spam","Default value":"Valeur par défaut","Virus filters":"Filtres virus","Banned filters":"Filtres banned","Spam classification threshold":"Seuil de classification en spam","Rejection threshold":"Seuil de rejet","Spam marker":"Marqueur de spam","Content filter settings":"Paramètres du filtre de contenu","Disable virus checks":"Désactiver les filtres virus","Disable spam checks":"Désactiver les filtres spam","Disable banned checks":"Désactiver les filtres banned","default":"défaut","Thresholds":"Seuils","or more is spam":"ou plus est du spam","or more throw spam message away":"ou plus rejette le spam","Apply":"Appliquer","General information":"Information générale","Creation date":"Date de création","Last modification date":"Date de dernière modification","MB":"Mo","Daily sending limit":"Limite d'envoi quotidienne","Sending forbidden":"Envoi interdit","messages":"messages","Mailboxes":"Boîtes aux lettres","Domain name (ex: domain.tld)":"Nom de domaine (ex: domaine.tld)","Control if this domain will be allowed to send and receive messages":"Contrôler si ce domaine sera autorisé à envoyer et recevoir des messages.","Relay domain":"Domaine relais","Quota shared between mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Quota partagé entre les boîtes aux lettres. Peut être exprimé en Ko, Mo (défaut) ou Go. Une valeur à 0 signifie pas de quota.","Default quota applied to mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Quota par défaut appliqué aux boîtes aux lettres. Peut être exprimé en Ko, Mo (défaut) ou Go. Une valeur à 0 signifie pas de quota.","Number of messages this domain can send per day. Leave empty for no limit.":"Nombre de messages que ce domaine peut envoyer par jour. Laisser vide pour aucune limite.","Name of the administrator":"Nom de l'administrateur","With a mailbox":"Avec une boite aux lettres","Create a mailbox for the administrator.":"Créer une boite aux lettres pour l'administrateur","Create standard aliases for the domain.":"Créer des aliases standard pour le domaine","New account":"Nouveau compte","Role":"Rôle","Identification":"Identification","Email":"E-mail","Domain default value":"Valeur du domaine par défaut","Send only account":"Compte limité à l'envoi","Account created":"Compte créé","Account":"Compte","Username:":"Nom d'utilisateur :","Profile":"Profil","Language:":"Langue :","domain's default value":"La valeur par défaut du domaine","Send only":"Envoi uniquement","Alias":"Alias","Number of associated alias:":"Nombre d'alias associés :","Number of allowed mailboxes:":"Nombre de boites aux lettres autorisé :","Number of allowed mailbox aliases:":"Nombre d'alias autorisé :","Account updated":"Compte mis à jour","Sender addresses":"Adresses d'expédition","No sender address defined for this account":"Aucune adresse d'expéditeur définie pour ce compte","Specify an email address":"Spécifier une adresse e-mail","Remove this address":"Supprimer cette adresse","Add sender address":"Ajouter l'adresse de l'expéditeur","Sender address added":"Adresse d'expédition ajoutée","Sender address deleted":"Adresse d'expédition supprimée","Last login date":"Date de dernière connexion","Never logged-in":"Jamais connecté","Full name":"Nom complet","New alias":"Nouvel alias","Random address":"Adresse aléatoire","Expire at":"Expire le","Description":"Description","Recipients":"Destinataires","Alias already exists, redirecting to edit page":"L'alias existe déjà, redirection vers la page de modification","Alias created":"Alias créé","Alias updated":"Alias mis à jour","Modified":"Modifié","Administered domains":"Domaines administrés","No domain managed":"Aucun domaine géré","Add/Remove from the domain page":"Ajouter/Supprimer depuis la page du domaine","Start typing a name here...":"Commencer à saisir un nom ici...","Alias(es) of this mailbox. To create a catchall alias, just enter the domain name (@domain.tld).":"Alias(s) de cette boîte aux lettres. Pour créer un alias fourre-tout, entrer uniquement le nom du domaine (@domain.tld).","Alias already added":"Alias déjà ajouté","You can update your password from the Account section":"Vous pouvez mettre à jour votre mot de passer depuis la section Mon compte","Enter an email address":"Entrer une adresse e-mail","Enter a simple username or an email address":"Entrer un nom d'utilisateur simple ou une adresse e-mail","Ex: 10MB. Leave empty for no limit":"Ex: 10MB. Laisser vide pour aucune limite","Quota for this mailbox, can be expressed in KB, MB (default) or GB. Define a custom value or use domain's default one. Leave empty to define an unlimited value (not allowed for domain administrators).":"Quota pour cette boite. Peut être exprimé en Ko, Mo (défaut) ou Go. Définir une valeur spécifique ou utiliser la valeur par défaut du domaine. Laisser vide pour définir une valeur illimitée (interdit pour les admins. de domaine).","Daily message sending limit":"Limite quotidienne d'envoi de messages","Leave empty for no limit":"Laisser vide pour aucune limite","Number of messages this mailbox can send per day. Leave empty for no limit.":"Nombre de messages que cette boîte aux lettres peut envoyer par jour. Laisser vide pour aucune limite.","Use domain default value":"Utiliser la valeur par défaut du domaine","unlimited":"illimité","Current password":"Mot de passe actuel","Confirmation":"Confirmation","Password mismatch":"Le mot de passe est différent","Choose a role":"Choisissez un rôle","Simple user":"Utilisateur simple","A user with no privileges but with a mailbox. He will be allowed to use all end-user features: webmail, calendar, contacts, filters.":"Un utilisateur sans privilèges mais ayant une boîte mail. Il sera autorisé à utiliser toutes les fonctionnalités de l'utilisateur final : webmail, calendrier, contacts, filtres.","Domain administrator":"Administrateur de domaine","A user with privileges on one or more domain. He will be allowed to administer mailboxes and he can also have a mailbox.":"Un utilisateur avec des privilèges sur un ou plusieurs domaines. Il sera autorisé à administrer les boîtes mail et il peut avoir aussi une boîte aux lettres.","Reseller":"Revendeur","An intermediate user who has the same privileges than a Domain administrator, plus the possibility to create domains and to assign resources.":"Un utilisateur intermédiaire qui a les mêmes privilèges qu'un administrateur de domaine, et la possibilité de créer des domaines et d'affecter des ressources.","Super administrator":"Super administrateur","A user with all privileges, can do anything. By default, such a user does not have a mailbox so he can't access end-user features.":"Un utilisateur ayant tous les privilège, peut tout faire. Par défaut, il n'a pas de boîte mail et ne peut donc pas accéder aux fonctionnalités d'un utilisateur final.","Email address":"Adresse email","Generated address":"Adresse générée","Please add at least one recipient.":"Veuillez ajouter au moins un destinataire","Customize displayed columns":"Personnaliser les colonnes affichées","Accounts":"Comptes","No mailbox":"Pas de boite aux lettres","Do not delete account folder":"Ne pas supprimer le dossier du compte","Last modification":"Dernière modification","Last Name":"Nom","Message limit":"Limite de messages","TFA enabled":"TFA activée","TOTP enabled":"TOTP activé","WebAutn enabled":"WebAuthn activé","Last login":"Dernière connexion","Are you sure you want to delete this identity ?":"Voulez-vous réellement supprimer cette identité ?","Account deleted":"Compte supprimé","Are you sure you want to delete this alias?":"Voulez-vous réellement supprimer cet alias ?","Alias deleted":"Alias supprimé","Name of the domain to migrate":"Nom du domaine à migrer","Local domain (optional)":"Domaine local (optionnel)","You need to bind at least one domain to the provider.":"Vous devez associer au moins un domaine à ce fournisseur.","Provider name":"Nom du fournisseur","Address (hostname or IP)":"Adresse (nom d'hôte ou IP)","IMAP Port":"Port IMAP","Secured":"Sécurisé","Is the IMAP connection secured using SSL/TLS or StartTLS":"La connexion IMAP est-elle sécurisée via l'utilisation de SSL/TLS ou StartTLS","Check connection:":"Vérifier la connexion :","Provider":"Fournisseur","Old account":"Ancien compte","Migration deleted":"Migration supprimée","New provider":"Nouveau fournisseur","(the domain will be created locally)":"(Le domaine sera créé automatiquement)","Associated domain":"Domaine associé","Port":"Port","Associated domains":"Domaines associés","Provider created":"Fournisseur créé","Name:":"Nom :","Number of associated domains:":"Nombre de domaines associés :","No associated domains":"Aucun domaine associé","Provider updated":"Fournisseur mis à jour","%{count} associated domain":["%{count} domaine associé","%{count} domaines associés","%{count} domaines associés"],"No associated domain":"Aucun domaine associé","Date":"Date","Level":"Niveau","Logger":"Logger","Queue ID":"ID de file","To":"A","Calendar sharing":"Partage de calendrier","Full address":"Adresse complète","Read":"Lecture","Write":"Ecriture","Calendar information":"Information du calendrier","To access this calendar from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"Pour accéder à ce calendrier depuis l'extérieur (comme Mozilla Thunderbird ou votre smartphone), utilisez l'URL suivante :","The credentials are the same than the ones you use to access Modoboa.":"Les identifiants sont les mêmes que ceux utilisés pour accéder à Modoboa.","You can also share a read-only version of this calendar using the following URL: ":"Vous pouvez aussi partager une version en lecture seule de ce calendrier en utilisant l'URL suivante :","Edit calendar":"Modifier le calendrier","New calendar":"Nouveau calendrier","Color":"Couleur","Calendar updated":"Calendrier mis à jour","Calendar created":"Calendrier créé","Title":"Titre","Calendar":"Calendrier","Attendees":"Participants","Edit event":"Modifier l'évènement","New event":"Nouvel évènement","Event added":"Evènement ajouté","Event updated":"Evènement mis à jour","Event deleted":"Evènement supprimé","Import events":"Importer des évènements","Select an ICS file to import and click on the Send button":"Sélectionner un fichier ICS à importer et cliquer sur le bouton Envoyer","Select an ICS file":"Sélectionner un fichier ICS","Send":"Envoyer","%{ n } event imported":["%{n} évènement importé","%{ n} évènements importés","%{n} évènements importés"],"Address book information":"Information du carnet d'adresse","To access this address book from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"Pour accéder à ce carnet d'adresse depuis l'extérieur (comme Mozilla Thunderbird ou votre smartphone), utilisez l'URL suivante :","Edit category":"Modifier la catégorie","Add category":"Ajouter une catégorie","Category deleted":"Catégorie supprimée","Categories":"Catégories","Display name":"Nom affiché","Company":"Société","Position":"Rôle","Birth date":"Date de naissance","Zip code":"Code postal","City":"Ville","Country":"Pays","State/Province":"Etat/Région","Note":"Note","More":"Plus","Less":"Moins","Edit contact":"Modifier le contact","New contact":"Nouveau contact","Synchronize contacts with address book":"Synchroniser les contacts avec le carnet d'adresse","Synchronize":"Synchroniser","Display address book information":"Afficher les informations du carnet d'adresse","Email addresses":"Adresses email","Phone numbers":"Numéros de téléphone","Contact removed":"Contact supprimé","Synchronization started":"Synchronisation démarée","Search in messages":"Chercher dans les messages","From address":"Emetteur","both":"tout","Release selection":"Libérer la sélection","Delete selection":"Supprimer la sélection","Mark as spam":"Marquer comme spam","Mark as not spam":"Marquer comme non spam","Display":"Afficher","Score":"Score","Message released":"Message libéré","Message marked as spam":"Message marqué comme spam","Message marked as non-spam":"Message marqué comme non-spam","Selection deleted":"Sélection supprimée","Release request sent":"Requête de libération envoyée","Selection released":"Sélection libérée","Learning database":"Base d'apprentissage","Which database should be used for this learning:":"Quelle base doit être utilisée pour cet apprentissage :","Selection is being processed...":"La sélection est en cours de traitement...","Notifications":"Notifications","Logout":"Déconnexion","Choose columns to display":"Choisir les colonnes à afficher","OK":"OK","Summary":"Résumé","Back":"Retour","Next":"Suivant","Confirm and create":"Confirmer et créer","If you close this form now, your modifications won't be saved. Do you confirm?":"Si vous fermez ce formulaire maintenant, vos modifications ne seront pas sauvegardées. Confirmez-vous ?","Modify":"Modifier","Empty":"Vide","Provide a CSV file where lines respect one of the following formats:":"Fournir un fichier CSV dont les lignes respectent l'un des formats suivants:","The first element of each line is mandatory and must be equal to one of the previous values.":"Le premier élément de chaque ligne est obligatoire et doit être égal à l'une des valeurs précédentes.","You can use a different character as separator.":"Vous pouvez utiliser autre caractère comme séparateur","Select file":"Sélectionner un fichier","Separator":"Séparateur","Continue on error":"Continuer en cas d'erreur","Don't treat duplicated objects as errors":"Ne pas traiter les objets dupliqués comme des erreurs","Import":"Importer","Parameters updated":"Paramètres mis à jour","Could not save parameters":"Impossible de sauvegarder les paramètres","Resources usage":"Utilisation des ressources","No quota":"Pas de quota","Creation denied":"Création interdite","Period":"Période","Absolute time range":"Plage de temps absolue","Relative time ranges":"Intervalles des temps relatifs","Day":"Jour","Week":"Semaine","Month":"Mois","Year":"Année","yes":"oui","no":"non","Attachments":"Pièce jointes","Attach":"Joindre","Schedule sending":"Planifier l'envoi","Provide one or more addresses":"Fournir une ou plusieurs adresses","Cc":"Cc","Bcc":"Cci","Email scheduled":"Email planifié","Email sent":"Message envoyé","You must provide one recipient at least":"Vous devez fournir au moins un destinataire","Add to contacts":"Ajouter aux contacts","Update contact":"Mettre à jour le contact","Contact added to address book":"Contact ajouté au carnet d'adresse","Mark as read":"Marqué comme lu","Mark as unread":"Marquer comme non lu","Mark as followed":"Marquer comme suivi","Mark as unfollowed":"Marqué comme non suivi","Empty mailbox":"Vider la boite aux lettres","on":"le","Scheduled messages will be sent at the specified date and time. (visible on the right)":"Les messages planifiés seront envoyés à la date et à l'heure spécifiées. (visible sur la droite)","No message yet in this mailbox":"Aucun message dans cette boite aux lettres","Sending failure":"Echec de l'envoi","Reschedule":"Replanifier","Scheduling updated":"Planification mise à jour","Scheduled canceled and message moved to trash folder":"Planification annulée et message déplacé dans la corbeille","Message(s) deleted":"Message(s) supprimé(s)","Message(s) marked as junk":"Message(s) marqués comme pourriel","Message(s) marked as not junk":"Message(s) marqué(s) comme légitime(s)","Message(s) flagged":"Message(s) marqué(s)","%{count} message":["%{count} message","%{count} messages","%{count} messages"],"Schedule your sending":"Planifier votre envoi","Select time":"Choisir une heure","Schedule":"Planifier","Provided time must be one minute from now at least":"L'heure fournie doit être au minimum une minute dans le futur","Parent mailbox":"Boite aux lettres parent","Create new mailbox":"Créer une nouvelle boîte aux lettres","Edit mailbox":"Modifier la boite aux lettres","Mailbox renamed":"Boite aux lettres renommée","Mailbox created":"Boite aux lettres créée","Moving selection...":"Déplacement de la sélection...","Global database":"Base globale","Domain's database":"Base du domaine","User's database":"Base de l'utilisateur","Settings":"Paramètres","Filters":"Filtres","Dashboard":"Tableau de bord","Domains":"Domaines","Identities":"Identités","Monitoring":"Supervision","Audit trail":"Journal des modifications","Messages":"Messages","IMAP Migration":"Migration IMAP","Email providers":"Fournisseurs de messagerie","Migrations":"Migrations","Information":"Information","Compose":"Ecrire","Create a new mailbox":"Créer une nouvelle boîte aux lettres","Edit this mailbox":"Modifier cette boite aux lettres","Delete this mailbox":"Supprimer cette boite aux lettres","Compress this mailbox":"Compresser cette boîte aux lettres","Mailbox compressed":"Boite aux lettres compressées","Delete this mailbox?":"Supprimer cette boite aux lettres ?","Mailbox deleted":"Boite aux lettres supprimée","No data to export":"Aucune donnée à exporter","CSV seems to be badly formatted":"Le fichier CSV semble être mal formaté","Not a valid email":"Ce n'est pas un email correct","Not a valid time":"Heure incorrecte","Field is required":"Ce champ est requis","Minimum length is %{ length }":"La taille minimale est %{ length }","Must be a numeric value or empty":"Valeur numérique requise, ou pas de valeur","Passwords mismatch":"Les mots de passe diffèrent","Invalid port number":"Numéro de port incorrect","Provider deleted":"Fournisseur supprimé","Message filters":"Filtres de messages","Select a filter set":"Sélectionner un jeu de filtre","Add filter set":"Ajouter un jeu de filtre","Raw mode":"Mode brut","Add new filter":"Ajouter un nouveau filtre","New":{"":"Nouvelle","male":"Nouveau"},"Failed to display template. Using raw mode":"Impossible d'afficher le modèle. Utilisation du mode brut","Filter enabled":"Filtre activé","Filter disabled":"Filtre desactivé","Filter removed":"Filtre supprimé","Filter set activated":"Jeu de filtre activé","Active filter set deactivated":"Jeu de filtres actif desactivé","Filter set removed":"Jeu de filtre supprimé","Filter set updated":"Jeu de filtre mis à jour","Disable":"Desactiver","Enable":"Activer","Move down":"Déplacer vers le bas","Move up":"Déplacer vers le haut","Download filter set":"Télécharger le jeu de filtre","Delete filter set":"Supprimer le jeu de filtre","Activate filter set":"Activer le jeu de filtre","Deactivate filter set":"Désactiver le jeu de filtre","Settings: ":"Paramètres :","Account settings":"Paramètres du compte","Two-factor auth":"Authentification à deux facteurs","Forward":"Transfert","Auto-reply message":"Message de réponse automatique","API access":"Accès API","Opened alarms":"Alarmes ouvertes","Edit domain":"Modifier le domaine","Import domains and aliases from CSV file":"Importation de domaines et alias à partir d'un fichier CSV","Export domains and aliases to CSV":"Exporter les domaines et les alias au format CSV","Import domains":"Importer des domaines","DMARC":"DMARC","Edit account":"Modifier le compte","Edit alias":"Modifier l'alias","Import accounts and aliases from CSV file":"Importation de comptes et alias à partir d'un fichier CSV","Export accounts and aliases to CSV":"Exporter les comptes et les alias au format CSV","Import identities":"Importer des identités","Crypt passwords":"Chiffrer les mots de passe","Check this option if passwords contained in your file are not crypted":"Cochez cette option si les mots de passe contenus dans votre fichier ne sont pas chiffrés","Edit provider":"Modifier le fournisseur","Providers":"Fournisseurs","Important messages":"Messages importants","The password scheme you are using has been deprecated and will be removed in the next minor version. The procedure to upgrade to a stronger scheme is as follows:":"La méthode de chiffrement de mot de passe que vous utilisez a été rendue obsolète et sera retirée dans la prochaine version mineure. La procédure de mise à jour vers une méthode plus sûre est la suivante :","Go to <strong>Settings > General</strong> section":"Allez dans la section <strong>Paramètres > Général</strong>","Change the value of <strong>Default password scheme</strong>":"Changez la valeur de <strong>Méthode de chiffrement par défaut</strong>","Make sure <strong>Update password scheme at login</strong> option is enabled":"Assurez vous que l'option <strong>Mettre à jour la méthode de chiffrement du mot de passe à la connexion</strong> est activée","Save your changes":"Sauvegardez vos changements","Logout / Login with your current account so its password gets updated":"Re-connectez vous avec votre compte courant pour que son mot de passe soit mis à jour","Inform <strong>ALL</strong> your users that they must login to Modoboa to complete the operation":"Informez <strong>TOUS</strong> vos utilisateurs qu'ils doivent se connecter à Modoboa pour compléter cette opération","You must apply this procedure <strong>BEFORE</strong> you install a newest version of Modoboa, otherwise <strong>you will be unable to connect to the web interface anymore</strong>.":"Vous devez appliquer cette procédure <strong>AVANT</strong> d'installer une nouvelle version de Modoboa, autrement <strong>vous ne pourrez plus vous connecter à l'interface web</strong>.","Please note that you will see this message until <strong>ALL</strong> user passwords have been converted using the new scheme.":"Veuillez noter que vous verrez ce message jusqu'à ce que <strong>TOUS</strong> les mots de passe de vos utilisateurs aient été convertis en utilisant la nouvelle méthode.","Installed components":"Composants installés","One or more updates are available":"Une ou plusieurs mise à jour sont disponibles","Check out the following list to find related components":"Consulter la liste suivante pour trouver des composants associés","Installed version":"Version installée","Latest version":"Dernière version","Message history":"Historique des messages","Today":"Aujourd'hui","My calendars":"Mes calendriers","Access rules":"Règles d'accès","Do you really want to delete this calendar?":"Voulez-vous vraiment supprimer ce calendrier ?","Calendar deleted":"Calendrier supprimé","Contacts":"Contacts","Add a category":"Ajouter une catégorie","Welcome to Modoboa":"Bienvenue dans Modoboa","Attempting to log you in.":"Tentative de connexion.","Quarantined message":"Message en quarantaine","Release message":"Libérer le message","Delete message":"Supprimer le message","Mark as non-spam":"Marquer comme non-spam","View full headers":"Voir l'intégralité des entêtes","Hide full headers":"Cacher l'intégralité des entêtes","Message deleted":"Marquer comme supprimé","Quarantine":"Quarantaine","release requests":"requêtes de libération","Reply":"Répondre","Reply all":"Répondre à tous","Enable links":"Activer les liens","Disable links":"Desactiver les liens","Display source":"Afficher la source","Message scheduled at:":"Message planifié pour :","Message source":"Source du message","Message marked as junk":"Message marqué comme pourriel","Message marked as not junk":"Message marqué comme légitime","Webmail":"Webmail"}`),q1=JSON.parse(`{"Your API token has not been generated yet.":"Seu token de API ainda não foi gerado.","Generate":"Gerar","Your API token is:":"Seu token de API é:","Copy token to clipboard":"Copiar token para a área de transferência","Delete token":"Remover token","A documentation of the API is available":"Uma documentação da API está disponível","here":"aqui","API token copied to your clipboard":"Token da API copiado para sua área de transferência","API token created":"Token de API criado","Warning":"Atenção","You are about to delete your API access token":"Você está prestes a excluir seu token de acesso à API","Cancel":"Cancelar","Proceed":"Proceder","API token deleted":"Token de API removido","Enabled":"Habilitado","Subject":"Assunto","Content":"Conteúdo","The content of your answer. You can use the following variables, which will be automatically replaced by the appropriate value: %(name)s, %(fromdate)s, %(untildate)s":"O conteúdo da sua resposta. Você pode usar as seguintes variáveis, que serão substituídas automaticamente pelo valor apropriado: %(name)s, %(fromdate)s %(untildate)s","From":"De","Activate your auto reply from this date":"Ative sua resposta automática a partir desta data","Until":"Até","Activate your auto reply until this date":"Ative sua resposta automática até esta data","Update auto-reply":"Atualizar resposta automática","Auto-reply message updated":"Mensagem de resposta automática atualizada","Backup codes":"Códigos de backup","You already have generated backup codes for this account. If you don't remember them or have used them all, you can generate new ones.":"Você já gerou códigos de backup para esta conta. Se você não se lembra deles ou já usou todos eles, pode gerar novos.","Password":"Senha","Reset recovery codes":"Redefinir códigos de recuperação","No two-factor authentificator is yet set for your account.":"Ainda não existe nenhum autenticador de dois fatores definido para sua conta.","WebAuthn":"WebAuthn","You don't have any WebAuthN device registered as a second authentication method.":"Você não tem nenhum dispositivo WebAuthN registrado como um segundo método de autenticação.","Registered Webauthn devices":"Dispositivos Webauthn registrados","Never":"Nunca","Enter a name to register a new webauthn device.":"Digite um nome para registrar um novo dispositivo webauthn.","New device name":"Novo nome de dispositivo","Setup device":"Configurar dispositivo","Your browser does not seem compatible with WebAuthN":"Seu navegador não parece compatível com WebAuthN","name":"nome","Name":"Nome","Added On":"Adicionado Em","Last Used":"Último Uso","Use count":"Usar contagem","Actions":"Ações","Do you really want to delete this WebAuthn device?":"Você tem certeza que deseja remover este dispositivo WebAuthn?","No":"Não","Yes":"Sim","Edition":"Edição","Edit your device":"Editar seu dispositivo","Save":"Salvar","Conditions":"Condições","All of the following":"Todas os seguintes","Any of the following":"Uma dos seguintes","All messages":"Todas as mensagens","Choose a header":"Escolha um cabeçalho","Choose an operator":"Escolha um operador","Value":"Valor","Add condition":"Adicionar condição","Remove condition":"Remover condição","Choose an action":"Escolha uma ação","Add action":"Adicionar ação","Remove action":"Remover ação","Edit filter":"Editar filtro","New filter":"Novo filtro","Update":"Atualizar","Create":"Criar","Filter added":"Filtro adicionado","Filter updated":"Filtro atualizado","Create a new filter set":"Criar um novo conjunto de filtros","Active":"Ativo","Filter set created":"Conjunto de filtros criado","Recipient(s)":"Destinatário(s)","Indicate one or more recipients separated by a comma (,)":"Indique um ou mais destinatários separados por vírgula (,)","Keep local copies":"Manter cópias locais","Forward messages and store copies into your local mailbox":"Encaminhar mensagens e armazenar cópias em sua caixa de e-mail local","Forward updated":"Encaminhamento atualizado","General settings":"Configurações gerais","First name":"Nome","Last name":"Sobrenome","Language":"idioma ","Feel free to improve the translations":"Sinta-se livre para melhorar as traduções","or suggest a new language":"ou sugira um novo idioma","there":"ali","Phone number":"Número de telefone","Secondary email":"E-mail secundário","Update settings":"Atualizar configurações","Update Password":"Atualizar Senha","Profile updated":"Perfil atualizado","Language does no exist":"Idioma não existe","Password updated":"Senha atualizada","New recovery codes":"Novos códigos de recuperação","The following recovery codes can be used one time each to let you regain access to your account, in case you lose your phone for example. Make sure to save them in a safe place, otherwise you won't be able to access your account anymore.":"Os seguintes códigos de recuperação podem ser usados uma vez cada para permitir que você recupere o acesso à sua conta, caso perca seu telefone, por exemplo. Certifique-se de salvá-los em um local seguro, caso contrário, você não poderá mais acessar sua conta.","Close":"Fechar","One-time passwords":"Senhas de uso único","Click here to copy the key":"Clique aqui para copiar a chave","Install a soft token authenticator like FreeOTP or Google Authenticator from your application repository and use that app to scan this QR code.":"Instale um autenticador de token de software como FreeOTP ou Google Authenticator do repositório de aplicativos e use esse aplicativo para escanear esse QR code.","Pin code":"Código PIN","Register":"Registrar","Congratulations! Two-factor authentication using one-time passwords is now enabled for your account.":"Parabéns! A autenticação de dois fatores usando senhas de uso único agora está habilitada para sua conta.","Two-factor authentication using one-time passwords is enabled for your account.":"A autenticação de dois fatores usando senhas de uso único está habilitada para sua conta.","Disable 2FA":"Desabilitar 2FA","Two-factor authentication (2FA) using one-time passwords is not yet activated for your account.":"A autenticação de dois fatores (2FA) usando senhas de uso único ainda não está ativada para sua conta.","Register authenticator":"Autenticador de registro","Search":"Busca","Opened":"Aberto","Closed":"Fechado","Triggered":"Provocado","Status":"Status","Domain":"Domínio","Mailbox":"Caixa de e-mail","Message":"Mensagem","Delete":"Remover","Reload":"Recarregar","Close alarm":"Fechar alarme","Reopen alarm":"Reabrir alarme","Alarm deleted":"Alarme removido","Alarms deleted":"Alarmes removidos","Alarm closed":"Alarme fechado","Alarm re-opened":"Alarme reaberto","Statistics":"Estatísticas","Alignment":"Alinhamento","Detail":"Detalhe","Trusted sources":"Fontes confiáveis","Partially trusted sources / Forwarders":"Fontes / encaminhadores parcialmente confiáveis","Forwarders with ARC":"Forwarders com ARC","Unknown sources / Threats":"Fontes desconhecidas / Ameaças","DMARC support does not seem to be enabled for this domain.":"Aparentemente o suporte para DMARC não está habilitado para este domínio.","If you configured it recently, please wait for the first report to be received and processed.":"Se você o configurou recentemente, aguarde o primeiro relatório ser recebido e processado.","Fully aligned":"Completamente alinhado","Partially aligned":"Parcialmente alinhado","Forwarded":"Encaminhado","Failed":"Falhou","Total":"Total","DNS configuration help":"Ajuda para configuração de DNS","Pending":"Pendente","Auto configuration":"Auto configuração","autoconfig record (Mozilla): %{ value }":"registro de configuração automática (Mozilla): %{ value }","autoconfig record (Mozilla) not found":"registro de configuração automática (Mozilla) não encontrado.","autodiscover record (Microsoft): %{ value }":"registro de descoberta automática (Microsoft): %{ value }","autodiscover record (Microsoft) not found":"registro de descoberta automática (Microsoft) não encontrado.","Authentication":"Autenticação","SPF record found":"Registro SPF encontrado","SPF record not found":"Registro SPF não encontrado","DKIM record found":"Registro DKIM encontrado","DKIM record not found":"Registro DKIM não encontrado","DMARC record found":"Registro DMARC encontrado","DMARC record not found":"Registro DMARC não encontrado","DKIM key":"Chave DKIM","Show key":"Mostrar chave","Copy key to clipboard":"Copiar chave para a área de transferência","Generate a new DKIM key":"Gerar uma nova chave DKIM","Not generated":"Não gerado","Address":"Endereço","Updated":"Atualizado","DKIM key copied to clipboard":"Chave DKIM copiada para a área de transferência","A new key will be generated soon. Refresh the page in a moment to see it.":"Uma nova chave será gerada em breve. Atualize a página logo mais para vê-la.","warning":"atenção","DKIM key does not seem to be generated yet or has failed. Do you want to requeue the job?":"A chave DKIM parece não ter sido gerada ainda ou falhou. Deseja recolocar o trabalho na fila?","DKIM keys already exist for this domain. Do you want to overwrite them?":"Já existem chaves DKIM para este domínio. Deseja sobrescrevê-las?","Disabled":"Desabilitado","Problem":"Problema","Valid":"Válido","Unknown":"Desconhecido","Administrators of":"Administradores de","Administrators":"Administradores","Select an account":"Selecione uma conta","Remove this administrator":"Remover este administrador","Add administrator":"Adicionar administrador","Username":"Nome de usuário","Administrator added":"Administrador adicionado","Administrator removed":"Administrador removido","Choose a domain":"Escolha um domínio","Add":"Adicionar","Edit domain alias":"Editar apelido de domínio","Add a new domain alias":"Adicionar um novo apelido de domínio","Domain alias deleted":"Apelido de domínio removido","Domain alias created":"Apelido de domínio criado","Domain alias updated":"Apelido de domínio atualizado","New domain":"Novo domínio","Copy to clipboard":"Copiar para área de transferência","General":"Geral","DNS":"DNS","Limitations":"Limitações","Options":"Opções","Transport":"Transporte","Type":"Tipo","Enable DNS checks":"Habilitar verificações de DNS","Enable DKIM signing":"Habilitar assinatura DKIM","Quota":"Cota","Default mailbox quota":"Cota padrão da caixa de correio","Message sending limit":"Limite de envio de mensagens","DKIM key selector":"Seletor da chave DKIM","DKIM key length":"Comprimento da chave DKIM","Service":"Serviço","Create a domain administrator":"Criar um administrador de domínio","Administrator name":"Nome do administrador","Random password":"Senha randômica","With mailbox":"Com caixa de correio","Create aliases":"Criar apelidos","Password copied to clipboard":"Senha copiada para a área de transferência","Domain created":"Domínio criado","DKIM public key for":"Chave pública DKIM para","Raw format. Click to copy":"Formato bruto. Clique para copiar","Bind/named format. Click to copy":"Formato de associação/nomeado. Clique para copiar","DNS configuration for ":"Configuração de DNS para ","Here is an example of DNS configuration (bind format). Replace values between [ ] by the appropriate ones.":"Aqui está um exemplo de configuração de DNS (formato bind). Substitua os valores entre [ ] pelos apropriados.","Name: ":"Nome: ","Type: ":"Tipo: ","DNS checks":"Verificações de DNS","DKIM signing":"Assinatura DKIM","Quota: ":"Cota: ","Sending limit: ":"Limite de envio: ","No sending limit":"Sem limite de envio","Service: ":"Serviço: ","Resources":"Recursos","Relay":"Relay","Unlimited":"Ilimitado","Do not delete domain folder":"Não remover pasta do domínio","Aliases":"Apelidos","DNS status":"Status do DNS","Sending limit":"Limite de envio","Do you really want to delete the domain %{ domain }?":"Você tem certeza que deseja remover o domínio %{ domain }?","Domain deleted":"Domínio removido","Edit":"Editar","Alarms":"Alarmes","Apply":"Aplicar","General information":"Informação geral","Creation date":"Data de criação","Last modification date":"Data da última modificação","MB":"MB","Daily sending limit":"Limite diário de envio","messages":"mensagens","Mailboxes":"Caixas de e-mail","Domain name (ex: domain.tld)":"Nome do domínio (ex: domain.tld)","Control if this domain will be allowed to send and receive messages":"Controle se este domínio terá permissão para enviar e receber mensagens","Quota shared between mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Cota compartilhada entre caixas de correio. Pode ser expresso em KB, MB (padrão) ou GB. Um valor 0 significa que não há cota.","Default quota applied to mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Cota padrão aplicada para caixas de correio. Pode ser expresso em KB, MB (padrão) ou GB. Um valor 0 significa que não há cota.","Number of messages this domain can send per day. Leave empty for no limit.":"Número de mensagens que este domínio pode enviar por dia. Deixe vazio para ilimitado.","Name of the administrator":"Nome do administador","With a mailbox":"Com uma caixa de e-mail","Create a mailbox for the administrator.":"Criar uma caixa de e-mail para o administrador.","Create standard aliases for the domain.":"Criar apelidos padrão para este domínio.","New account":"Nova conta","Role":"Papel","Identification":"Identificação","Email":"E-mail","Domain default value":"Valor padrão do domínio","Send only account":"Apenas enviar conta","Account":"Conta","Username:":"Nome de usuário:","Profile":"Perfil","domain's default value":"Valor padrão do domínio ","Send only":"Apenas enviar","Alias":"Apelido","Number of associated alias:":"Número de apelidos associados:","Number of allowed mailboxes:":"Número de caixas de correio permitidas:","Number of allowed mailbox aliases:":"Número de apelidos de caixa de correio permitidos:","Sender addresses":"Endereços do remetente","No sender address defined for this account":"Nenhum endereço de remetente definido para esta conta","Specify an email address":"Especifique um endereço de e-mail","Remove this address":"Remover este endereço","Add sender address":"Adicionar endereço do remetente","Sender address added":"Endereço do remetente adicionado","Sender address deleted":"Endereço do remetente excluído","Last login date":"Data do último login","Never logged-in":"Nunca autenticado","Full name":"Nome completo","New alias":"Novo apelido","Random address":"Endereço aleatório","Expire at":"Expira em","Description":"Descrição","Recipients":"Destinatários","Alias already exists, redirecting to edit page":"Apelido já existe, redirecionando para a página de edição","Modified":"Modificado","Administered domains":"Domínios administrados","No domain managed":"Nenhum domínio gerenciado","Add/Remove from the domain page":"Adicionar/Remover da página do domínio","Start typing a name here...":"Comece a digitar um nome aqui...","Alias(es) of this mailbox. To create a catchall alias, just enter the domain name (@domain.tld).":"Apelido(s) desta caixa de correio. Para criar um apelido catchall, basta digitar o nome de domínio (@domain.tld).","Alias already added":"Apelido já adicionado","Enter an email address":"Digite seu endereço de e-mail","Enter a simple username or an email address":"Digite um simples nome de usuário ou um endereço de e-mail","Ex: 10MB. Leave empty for no limit":"Ex: 10 MB. Deixe vazio para ilimitado","Quota for this mailbox, can be expressed in KB, MB (default) or GB. Define a custom value or use domain's default one. Leave empty to define an unlimited value (not allowed for domain administrators).":"A cota para essa caixa de correio pode ser expressa em KB, MB (padrão) ou GB. Defina um valor personalizado ou use o padrão do domínio. Deixe em branco para definir um valor ilimitado (não permitido para administradores de domínio).","Daily message sending limit":"Limite diário de envio de mensagens","Leave empty for no limit":"Deixe em branco para ilimitado","Number of messages this mailbox can send per day. Leave empty for no limit.":"Número de mensagens que esta caixa de correio pode enviar por dia. Deixe vazio para ilimitado.","Use domain default value":"Usar valor padrão de domínio","unlimited":"ilimitado","Current password":"Senha atual","Confirmation":"Confirmação","Password mismatch":"Senha não confere","Choose a role":"Escolha um papel","Simple user":"Usuário simples","A user with no privileges but with a mailbox. He will be allowed to use all end-user features: webmail, calendar, contacts, filters.":"Um usuário sem privilégios, mas com uma caixa de correio. Ele terá permissão para usar todos os recursos do usuário final: webmail, calendário, contatos, filtros.","Domain administrator":"Administrador do domínio","A user with privileges on one or more domain. He will be allowed to administer mailboxes and he can also have a mailbox.":"Um usuário com privilégios em um ou mais domínios. Ele terá permissão para administrar caixas de correio e também poderá ter uma caixa de correio.","Reseller":"Revendedor","Super administrator":"Super administrador","A user with all privileges, can do anything. By default, such a user does not have a mailbox so he can't access end-user features.":"Um usuário com todos os privilégios pode fazer qualquer coisa. Por padrão, esse usuário não tem uma caixa de correio, portanto, não pode acessar os recursos do usuário final.","Email address":"Endereço de e-mail","Generated address":"Endereço gerado","Please add at least one recipient.":"Por favor, adicione pelo menos um destinatário.","Do not delete account folder":"Não remover pasta da conta","Are you sure you want to delete this identity ?":"Você tem certeza que deseja remover esta identidade ?","Are you sure you want to delete this alias?":"Você tem certeza que deseja remover este apelido?","Name of the domain to migrate":"Nome do domínio para migrar","Local domain (optional)":"Domínio local (opcional)","You need to bind at least one domain to the provider.":"Você precisa associar pelo menos um domínio ao provedor.","Provider name":"Nome do provedor","Address (hostname or IP)":"Endereço (hostname ou IP)","IMAP Port":"Porta IMAP","Secured":"Seguro","Is the IMAP connection secured using SSL/TLS or StartTLS":"A conexão IMAP é protegida usando SSL/TLS ou StartTLS","Check connection:":"Verificar conexão:","Provider":"Provedor","Old account":"Conta antiga","Migration deleted":"Migração removida","New provider":"Novo provedor","(the domain will be created locally)":"(o domínio será criado localmente)","Associated domain":"Domínio associado","Port":"Porta","Associated domains":"Domínios associados","Provider created":"Provedor criado","Name:":"Nome:","Number of associated domains:":"Número de domínios associados:","No associated domains":"Nenhum domínios associados","Provider updated":"Provedor atualizado","Date":"Data","Level":"Nível","Logger":"Registrador","Queue ID":"ID da fila","To":"Para","Calendar sharing":"Compartilhamento de calendário","Full address":"Endereço completo","Read":"Leitura","Write":"Escrita","Calendar information":"Informação do calendário","To access this calendar from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"Para acessar esta calendário externamente (como do Mozilla Thunderbird ou de seu celular), use a seguinte URL:","The credentials are the same than the ones you use to access Modoboa.":"As credenciais são as mesmas que você usa para acessar o Modoboa.","You can also share a read-only version of this calendar using the following URL: ":"Você também pode compartilhar uma versão \\"Somente leitura\\" deste calendário usando a seguinte URL:","Edit calendar":"Editar calendário","New calendar":"Novo calendário","Color":"Cor","Calendar updated":"Calendário atualizado","Calendar created":"Calendário criado","Title":"Título","Calendar":"Calendário","Attendees":"Participantes","Edit event":"Editar evento","New event":"Novo evento","Event added":"Evento adicionado","Event updated":"Evento atualizado","Import events":"Importar eventos","Select an ICS file to import and click on the Send button":"Selecione um arquivo ICS para importar e clique no botão \\"Enviar\\"","Select an ICS file":"Selecione um arquivo ICS","Send":"Enviar","%{ n } event imported":["%{ n } evento importado","%{ n } eventos importados","%{ n } eventos importados"],"Address book information":"Informação do catálogo de endereços","To access this address book from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"Para acessar esse catálogo de endereços externamente (como do Mozilla Thunderbird ou de seu celular), use a seguinte URL:","Edit category":"Editar categoria","Add category":"Adicionar categoria","Category deleted":"Categoria excluída","Categories":"Categorias","Display name":"Nome de exibição","Company":"Empresa","Position":"Posição","Birth date":"Data de nascimento","Zip code":"CEP","City":"Cidade","Country":"País","State/Province":"Estado/Província","Note":"Nota","More":"Mais","Less":"Menos","Edit contact":"Editar contato","New contact":"Novo contato","Synchronize contacts with address book":"Sincronize seus contatos com o catálogo de endereços","Display address book information":"Exibir informações do catálogo de endereços","Synchronization started":"Sincronização iniciada","Logout":"Sair","OK":"OK","Summary":"Sumário","Back":"Voltar","Next":"Próximo","Confirm and create":"Confirmar e criar","If you close this form now, your modifications won't be saved. Do you confirm?":"Se você fechar este formulário agora, suas modificações não serão salvas. Você confirma?","Modify":"Modificar","Empty":"Vazio","Provide a CSV file where lines respect one of the following formats:":"Forneça um arquivo CSV em que as linhas respeitem um dos seguintes formatos:","The first element of each line is mandatory and must be equal to one of the previous values.":"O primeiro elemento de cada linha é obrigatório e deve ser igual a um dos valores anteriores.","You can use a different character as separator.":"Você pode usar um caractere diferente como separador.","Select file":"Selecionar arquivo","Separator":"Separador","Continue on error":"Continuar em caso de erro","Don't treat duplicated objects as errors":"Não tratar objetos duplicados como erro","Import":"Importar","Parameters updated":"Parâmetros atualizados","Could not save parameters":"Não é possível salvar os parâmetros","Resources usage":"Uso de recursos","Period":"Período","Absolute time range":"Intervalo de tempo absoluto","Relative time ranges":"Intervalos de tempo relativos","Day":"Dia","Week":"Semana","Month":"Mês","Year":"Ano","yes":"sim","no":"não","Settings":"Configurações","Filters":"Filtros","Dashboard":"Painel","Domains":"Domínios","Identities":"Identidades","Monitoring":"Monitoramento","Audit trail":"Trilha de auditoria","Messages":"Mensagens","IMAP Migration":"Migração IMAP","Email providers":"Provedores de e-mail","Migrations":"MIgrações","Information":"Informação","No data to export":"Nenhum dado para exportar","CSV seems to be badly formatted":"CSV parece estar mal formatado","Not a valid email":"Não é um e-mail válido","Field is required":"Campo obrigatório","Minimum length is %{ length }":"O comprimento mínimo é %{ length }","Must be a numeric value or empty":"Deve ser um valor numérico ou vazio","Passwords mismatch":"Senhas não conferem","Invalid port number":"Número de porta inválido","Provider deleted":"Provedor removido","Message filters":"Filtros de mensagem","Select a filter set":"Selecione um conjunto de filtros","Add filter set":"Adicionar conjunto de filtros","Raw mode":"Modo bruto","Add new filter":"Adicionar novo filtro","New":"Novo","Failed to display template. Using raw mode":"Falha ao exibir o modelo. Usando o modo RAW","Filter enabled":"Filtro habilitado","Filter disabled":"Filtro desabilitado","Filter removed":"Filtro removido","Filter set activated":"Conjuntos de filtros ativado","Filter set removed":"Conjunto de filtros removido","Filter set updated":"Conjunto de filtros atualizado","Disable":"Desabilitar","Enable":"Habilitar","Move down":"Mover para baixo","Move up":"Mover para cima","Download filter set":"Baixar conjunto de filtros","Delete filter set":"Remover conjunto de filtros","Activate filter set":"Ativar conjunto de filtros","Account settings":"Configurações de conta","Two-factor auth":"Autenticação de dois fatores","Forward":"Encaminhar","Auto-reply message":"Mensagem de resposta automática","API access":"Acesso à API","Opened alarms":"Alarmes abertos","Edit domain":"Editar domínio","Import domains and aliases from CSV file":"Importar domínios e apelidos do arquivo CSV","Export domains and aliases to CSV":"Exportar domínios e apelidos para CSV","Import domains":"Importar domínios","DMARC":"DMARC","Edit account":"Editar conta","Edit alias":"Editar apelido","Import accounts and aliases from CSV file":"Importar contas e apelidos do arquivo CSV","Export accounts and aliases to CSV":"Exportar contas e apelidos para CSV","Import identities":"Importar identidades","Crypt passwords":"Criptografar senhas","Check this option if passwords contained in your file are not crypted":"Marque esta opção se as senhas contidas em seu arquivo não estiverem criptografadas","Edit provider":"Editar provedor","Providers":"Provedores","Important messages":"Mensagens importantes","The password scheme you are using has been deprecated and will be removed in the next minor version. The procedure to upgrade to a stronger scheme is as follows:":"O esquema de senha que você está usando foi descontinuado e será removido na próxima atualização. O procedimento para atualizar para um esquema mais forte é o seguinte:","Go to <strong>Settings > General</strong> section":"Vá para a seção <strong>Configurações > Geral</strong>","Change the value of <strong>Default password scheme</strong>":"Alterar o valor do <strong>Esquema de senha padrão</strong>","Make sure <strong>Update password scheme at login</strong> option is enabled":"Certifique-se de que a opção <strong>Atualizar esquema de senha no login</strong> esteja habilitada","Save your changes":"Salve suas alterações","Logout / Login with your current account so its password gets updated":"Saia e entre novamente com sua conta atual para que sua senha seja atualizada","Inform <strong>ALL</strong> your users that they must login to Modoboa to complete the operation":"Informe a <strong>TODOS</strong> os seus usuários que eles devem efetuar login no Modoboa para concluir a operação","You must apply this procedure <strong>BEFORE</strong> you install a newest version of Modoboa, otherwise <strong>you will be unable to connect to the web interface anymore</strong>.":"Você deve aplicar este procedimento <strong>ANTES</strong> de instalar uma versão mais recente do Modoboa, caso contrário <strong>você não conseguirá mais se conectar à interface web</strong>.","Please note that you will see this message until <strong>ALL</strong> user passwords have been converted using the new scheme.":"Observe que você verá esta mensagem até que <strong>TODAS</strong> as senhas dos usuários tenham sido convertidas usando o novo esquema.","Installed components":"Componentes instalados","One or more updates are available":"Uma ou mais atualizações estão disponíveis","Check out the following list to find related components":"Confira a lista a seguir para encontrar componentes relacionados","Installed version":"Versão instalada","Latest version":"Última versão","Message history":"Histórico de mensagens","My calendars":"Meus calendários","Access rules":"Regras de acesso","Do you really want to delete this calendar?":"Tem certeza que deseja excluir esse calendário?","Calendar deleted":"Calendário excluído","Contacts":"Contatos","Add a category":"Adicionar uma categoria","Welcome to Modoboa":"Bem-vindo ao Modoboa","Attempting to log you in.":"Tentando fazer login."}`),G1=JSON.parse(`{"Your API token has not been generated yet.":"Ваш API токен еще не сгенерирован.","Generate":"Сгенерировать","Your API token is:":"Ваш API токен:","Copy token to clipboard":"Скопировать токен в буфер обмена","Delete token":"Удалить токен","A documentation of the API is available":"Документация API доступна.","here":"здесь","API token copied to your clipboard":"Токен API скопирован в буфер обмена","API token created":"Токен API создан","Warning":"Внимание","You are about to delete your API access token":"Вы собираетесь удалить свой токен доступа к API","Cancel":"Отмена","Proceed":"Продолжить","API token deleted":"Токен API удалён","Enabled":"Включено","Subject":"Тема","Content":"Содержимое","The content of your answer. You can use the following variables, which will be automatically replaced by the appropriate value: %(name)s, %(fromdate)s, %(untildate)s":"Содержимое вашего ответа. Вы можете использовать следующие переменные, которые будут автоматически заменены соответствующим значением: %(name)s, %(fromdate)s,%(untildate)s","From":"От","Activate your auto reply from this date":"Включить автоответ с этой даты","Until":"По","Activate your auto reply until this date":"Включить автоответ по эту дату","Update auto-reply":"Сохранить автоответ","Auto-reply message updated":"Автоответ обновлён","Backup codes":"Резервные коды","You already have generated backup codes for this account. If you don't remember them or have used them all, you can generate new ones.":"У вас уже есть резервные коды. Если вы их потеряли или использовали все — можно создать новые.","Password":"Пароль","Reset recovery codes":"Сбросить коды восстановления","No two-factor authentificator is yet set for your account.":"Для вашей учётной записи ещё не настроена двухфакторная аутентификация","WebAuthn":"WebAuthn","You don't have any WebAuthN device registered as a second authentication method.":"У вас пока нет зарегистрированных устройств WebAuthn для второго фактора","Registered Webauthn devices":"Зарегистрированные устройства WebAuthn","Never":"Никогда","Enter a name to register a new webauthn device.":"Введите имя для регистрации нового устройства webauthn.","New device name":"Название нового устройства","Setup device":"Настроить устройство","Your browser does not seem compatible with WebAuthN":"Ваш браузер не поддерживает WebAuthn","name":"название","Name":"Имя","Added On":"Дата создания","Last Used":"Последнее использование","Use count":"Количество использований","Actions":"Действия","Failed to register the webAuthN device":"Не удалось зарегистрировать устройство WebAuthn","Do you really want to delete this WebAuthn device?":"Вы действительно хотите удалить это устройство WebAuthn?","No":"Нет","Yes":"Да","Edition":"Редактирование","Edit your device":"Изменить устройство","Save":"Сохранить","Conditions":"Условия","All of the following":"Все условия ниже","Any of the following":"Любое из условий ниже","All messages":"Все письма","Choose a header":"Выберите заголовок","Choose an operator":"Выберите оператор","Value":"Значение","Add condition":"Добавить условие","Remove condition":"Удалить условие","Choose an action":"Выберите действие","Add action":"Добавить действие","Remove action":"Удалить действие","Edit filter":"Изменить фильтр","New filter":"Новый фильтр","Update":"Обновить","Create":"Создать","Filter added":"Фильтр добавлен","Filter updated":"Фильтр обновлён","Create a new filter set":"Создать новый набор фильтров","Active":"Активно","Filter set created":"Набор фильтров создан","Recipient(s)":"Получатель(и)","Indicate one or more recipients separated by a comma (,)":"Укажите одного или нескольких получателей через запятую (,)","Keep local copies":"Сохранить локальную копию","Forward messages and store copies into your local mailbox":"Пересылать письма и сохранять копии в своём ящике","Forward updated":"Пересылка обновлена","General settings":"Основные настройки","First name":"Имя","Last name":"Фамилия","Language":"Язык","Feel free to improve the translations":"Помогите улучшить переводы","or suggest a new language":"или предложите новый язык","there":"там","Phone number":"Номер телефона","Secondary email":"Дополнительная электронная почта","Update settings":"Сохранить настройки","Update Password":"Изменить пароль","Profile updated":"Профиль обновлен","Language does no exist":"Такого языка нет","Password updated":"Пароль изменён","New recovery codes":"Новые коды восстановления","The following recovery codes can be used one time each to let you regain access to your account, in case you lose your phone for example. Make sure to save them in a safe place, otherwise you won't be able to access your account anymore.":"Эти коды восстановления можно использовать по одному разу, если вы потеряете телефон или ключ. Сохраните их в надёжном месте — иначе доступ к учётной записи будет утерян навсегда.","Close":"Закрыть","One-time passwords":"Одноразовые пароли","Click here to copy the key":"Кликните, чтобы скопировать ключ","Install a soft token authenticator like FreeOTP or Google Authenticator from your application repository and use that app to scan this QR code.":"Установите приложение-аутентификатор, такой как FreeOTP или Google Authenticator, из вашего репозитория приложений и используйте это приложение для сканирования этого QR-кода.","Pin code":"Пин-код","Register":"Зарегистрировать","Congratulations! Two-factor authentication using one-time passwords is now enabled for your account.":"Поздравляем! Двухфакторная аутентификация с одноразовыми паролями включена","Two-factor authentication using one-time passwords is enabled for your account.":"Для вашей учётной записи включена двухфакторная аутентификация с одноразовыми паролями.","Disable 2FA":"Отключить двухфакторную аутентификацию 2FA","Two-factor authentication (2FA) using one-time passwords is not yet activated for your account.":"Для вашей учётной записи ещё не включена двухфакторная аутентификация (2FA) с одноразовыми паролями.","Register authenticator":"Зарегистрировать устройство-аутентификатор","Search":"Поиск","Opened":"Открыто","Closed":"Закрыто","Triggered":"Сработало","Status":"Состояние","Domain":"Домен","Mailbox":"Почтовые ящики","Message":"Письмо","Delete":"Удалить","Reload":"Обновить","Close alarm":"Закрыть напоминание","Reopen alarm":"Возобновить напоминание","Alarm deleted":"Напоминание удалено","Alarms deleted":"Напоминания удалены","Alarm closed":"Напоминание закрыто","Alarm re-opened":"Напоминание снова открыто","Statistics":"Статистика","Domain count":"Количество доменов","Domain alias count":"Количество псевдонимов домена","Account count":"Количество учётных записей","Alias count":"Количество псевдонимов","Latest news":"Последние новости","Visit the official weblog for more information":"Подробности — в официальном блоге","Alignment":"Выравнивание","Detail":"Подробности","Trusted sources":"Доверенные источники","Partially trusted sources / Forwarders":"Частично доверенные источники / пересылки","Forwarders with ARC":"Пересылки с поддержкой ARC","Unknown sources / Threats":"Неизвестные источники / Угрозы","DMARC support does not seem to be enabled for this domain.":"Похоже, для этого домена поддержка DMARC не включена","If you configured it recently, please wait for the first report to be received and processed.":"Если вы недавно включили отчёты — дождитесь получения и обработки первого отчёта.","Fully aligned":"Полное выравнивание","Partially aligned":"Частичное выравнивание","Forwarded":"Пересылается","Failed":"Ошибка","Total":"Всего","DNSBL summary for ":"Результаты проверки по DNSBL для","IP address %{ address } is currently listed by the following DNSBL providers:":"IP-адрес %{ address } сейчас находится в следующих DNSBL:","DNS configuration help":"Помощь по настройке DNS","Pending":"В ожидании","Auto configuration":"Автоматическая настройка","autoconfig record (Mozilla): %{ value }":"Запись автонастройки (Mozilla): %{ value }","autoconfig record (Mozilla) not found":"Запись автонастройки (Mozilla) не найдена","autodiscover record (Microsoft): %{ value }":"запись автообнаружения (Microsoft): %{ value }","autodiscover record (Microsoft) not found":"запись автообнаружения (Microsoft) не найдена","Authentication":"Аутентификация","SPF record found":"SPF-запись найдена","SPF record not found":"SPF-запись не найдена","DKIM record found":"DKIM-запись найдена","DKIM record not found":"DKIM-запись не найдена","DMARC record found":"DMARC-запись найдена","DMARC record not found":"DMARC-запись не найдена","DKIM key":"Ключ DKIM","Show key":"Показать ключ","Copy key to clipboard":"Скопировать ключ в буфер обмена","Generate a new DKIM key":"Создать новый ключ DKIM","Not generated":"Не создан","Address":"Адрес","Updated":"Обновлено","DKIM key copied to clipboard":"Ключ DKIM скопирован в буфер обмена","A new key will be generated soon. Refresh the page in a moment to see it.":"Новый ключ будет сгенерирован в ближайшее время. Обновите страницу через минуту, чтобы увидеть это.","warning":"предупреждение","DKIM key does not seem to be generated yet or has failed. Do you want to requeue the job?":"Ключ DKIM ещё не создан или создание завершилось ошибкой. Поставить задачу на повторное создание?","DKIM keys already exist for this domain. Do you want to overwrite them?":"Для этого домена уже существуют ключи DKIM. Перезаписать их?","Disabled":"Отключено","Problem":"Проблема","Valid":"Действует","Unknown":"Неизвестно","Administrators of":"Администраторы","Administrators":"Администраторы","Select an account":"Выберите учётную запись","Remove this administrator":"Удалить этого администратора","Add administrator":"Добавить администратора","Username":"Логин","Administrator added":"Администратор добавлен","Administrator removed":"Администратор удален","Choose a domain":"Выберите домен","Add":"Добавить","Edit domain alias":"Изменить псевдоним домена","Add a new domain alias":"Добавить новый псевдоним домена","Domain alias deleted":"Псевдоним домена удалён","Domain alias created":"Псевдоним домена создан","Domain alias updated":"Псевдоним домена обновлён","New domain":"Новый домен","Copy to clipboard":"Скопировать в буфер обмена","General":"Общие","DNS":"DNS","Limitations":"Ограничения","Options":"Параметры","Transport":"Транспорт","Type":"Тип","Enable DNS checks":"Включить проверку DNS","Enable DKIM signing":"Включить подпись DKIM","Quota":"Квота","Default mailbox quota":"Квота почтового ящика по умолчанию","Message sending limit":"Лимит отправляемых писем","DKIM key selector":"Селектор ключа DKIM","DKIM key length":"Длина ключа DKIM","Service":"Сервис","Create a domain administrator":"Создать администратора домена","Administrator name":"Имя администратора","Random password":"Случайный пароль","With mailbox":"С ящиком","Create aliases":"Создать псевдонимы","Password copied to clipboard":"Пароль скопирован в буфер обмена","Domain created":"Домен создан","DKIM public key for":"Публичный ключ DKIM для","Raw format. Click to copy":"Исходный формат. Кликните для копирования","Bind/named format. Click to copy":"Формат BIND/named. Кликните для копирования","DNS configuration for ":"DNS-конфигурация для","Here is an example of DNS configuration (bind format). Replace values between [ ] by the appropriate ones.":"Пример DNS-конфигурации (формат BIND). Замените значения в [ ] на свои","Name: ":"Имя:","Type: ":"Тип:","DNS checks":"Проверка DNS","DKIM signing":"Подпись DKIM","Quota: ":"Квота:","Sending limit: ":"Лимит отправки:","No sending limit":"Без лимита отправки","Service: ":"Сервис:","Resources":"Ресурсы","Relay":"Ретрансляция","Unlimited":"Не ограничено","Do not delete domain folder":"Не удалять папку домена","Aliases":"Псевдонимы","DNS status":"Состояние DNS","Sending limit":"Лимит отправки","Do you really want to delete the domain %{ domain }?":"Вы действительно хотите удалить домен %{ domain }?","Domain deleted":"Домен удалён","Edit":"Редактировать","Alarms":"Напоминания","Content filter":"Фильтр содержимого","Edit content filter settings":"Изменить настройки фильтра содержимого","Spam filters":"Спам-фильтры","Default value":"Значение по умолчанию","Virus filters":"Антивирусные фильтры","Banned filters":"Фильтры запрещённых вложений","Spam classification threshold":"Порог определения спама","Rejection threshold":"Порог отклонения","Spam marker":"Метка спама","Content filter settings":"Настройки фильтра содержимого","Disable virus checks":"Отключить антивирусную проверку","Disable spam checks":"Отключить проверку на спам","Disable banned checks":"Отключить проверку запрещённых вложений","default":"по умолчанию","Thresholds":"Пороги","or more is spam":"и выше — считается спамом","or more throw spam message away":"и выше — письмо отбрасывается","Apply":"Применить","General information":"Общая информация","Creation date":"Дата создания","Last modification date":"Дата последнего изменения","MB":"МБ","Daily sending limit":"Лимит отправки в сутки","Sending forbidden":"Отправка запрещена","messages":"письма","Mailboxes":"Почтовые ящики","Domain name (ex: domain.tld)":"Имя домена (например, domain.tld)","Control if this domain will be allowed to send and receive messages":"Разрешить домену отправлять и принимать письма","Relay domain":"Ретранслируемый домен","Quota shared between mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Квота распределяется между почтовыми ящиками. Может быть выражена в КБ, МБ (по умолчанию) или ГБ. Значение 0 означает отсутствие квоты.","Default quota applied to mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Квота по умолчанию, применяемая к почтовым ящикам. Может быть выражена в КБ, МБ (по умолчанию) или ГБ. Значение 0 означает отсутствие квоты.","Number of messages this domain can send per day. Leave empty for no limit.":"Лимит писем в сутки для домена. Оставьте пустым — без ограничений.","Name of the administrator":"Имя администратора","With a mailbox":"С почтовым ящиком","Create a mailbox for the administrator.":"Создать почтовый ящик для администратора","Create standard aliases for the domain.":"Создать стандартные псевдонимы для домена","New account":"Новая учётная запись","Role":"Роль","Identification":"Идентификация","Email":"Email","Domain default value":"Значение по умолчанию для домена","Send only account":"Отправить только учётную запись","Account created":"Учётная запись создана","Account":"Учётная запись","Username:":"Логин:","Profile":"Профиль","Language:":"Язык:","domain's default value":"значение по умолчанию домена","Send only":"Только отправка","Alias":"Псевдоним","Number of associated alias:":"Количество псевдонимов:","Number of allowed mailboxes:":"Разрешено почтовых ящиков:","Number of allowed mailbox aliases:":"Разрешено псевдонимов ящика:","Account updated":"Учётная запись обновлена","Sender addresses":"Адреса отправителей","No sender address defined for this account":"Не указан адрес отправителя для этой учётной записи","Specify an email address":"Укажите адрес электронной почты","Remove this address":"Удалить этот адрес","Add sender address":"Добавить адрес отправителя","Sender address added":"Адрес отправителя добавлен","Sender address deleted":"Адрес отправителя удалён","Last login date":"Дата последнего входа","Never logged-in":"Ещё ни разу не входил","Full name":"Имя файла","New alias":"Новый псевдоним","Random address":"Случайный адрес","Expire at":"Истекает","Description":"Описание","Recipients":"Получатели","Alias already exists, redirecting to edit page":"Псевдоним уже существует — переходим к редактированию","Alias created":"Псевдоним создан","Modified":"Изменено","Administered domains":"Управляемые домены","No domain managed":"Нет управляемых доменов","Add/Remove from the domain page":"Добавить/удалить на странице домена","Start typing a name here...":"Начните вводить имя…","Alias(es) of this mailbox. To create a catchall alias, just enter the domain name (@domain.tld).":"Псевдоним(ы) этого почтового ящика. Чтобы создать универсальный псевдоним, просто введите имя домена (пример @domain.tld).","Alias already added":"Псевдоним уже добавлен","You can update your password from the Account section":"Вы можете изменить пароль в разделе «Учётная запись»","Enter an email address":"Введите адрес электронной почты","Enter a simple username or an email address":"Введите логин или полный адрес электронной почты","Ex: 10MB. Leave empty for no limit":"Пример: 10MB. Оставьте пустым — без ограничений","Quota for this mailbox, can be expressed in KB, MB (default) or GB. Define a custom value or use domain's default one. Leave empty to define an unlimited value (not allowed for domain administrators).":"Квота для этого почтового ящика может быть выражена в КБ, МБ (по умолчанию) или ГБ. Задайте собственное значение или используйте значение по умолчанию для домена. Оставьте поле пустым, чтобы задать неограниченное значение (недоступно для администраторов домена).","Daily message sending limit":"Лимит отправки писем в сутки","Leave empty for no limit":"Оставьте пустым — без ограничений","Number of messages this mailbox can send per day. Leave empty for no limit.":"Лимит писем в сутки для ящика. Оставьте пустым — без ограничений.","Use domain default value":"Используются значения домена по умолчанию ","unlimited":"не ограничено","Current password":"Текущий пароль","Confirmation":"Подтверждение","Password mismatch":"Пароль не совпадает","Choose a role":"Выберите роль","Simple user":"Обычный пользователь","A user with no privileges but with a mailbox. He will be allowed to use all end-user features: webmail, calendar, contacts, filters.":"Пользователь без привилегий, но с почтовым ящиком. Ему будет разрешено использовать все функции конечного пользователя: веб-почту, календарь, контакты, фильтры.","Domain administrator":"Администратор домена","A user with privileges on one or more domain. He will be allowed to administer mailboxes and he can also have a mailbox.":"Пользователь с привилегиями в одном или нескольких доменах. Ему будет разрешено администрировать почтовые ящики, а также он может иметь почтовый ящик.","Reseller":"Реселлер","An intermediate user who has the same privileges than a Domain administrator, plus the possibility to create domains and to assign resources.":"Промежуточный пользователь, имеющий те же привилегии, что и администратор домена, а также возможность создавать домены и назначать ресурсы.","Super administrator":"Суперадминистратор","A user with all privileges, can do anything. By default, such a user does not have a mailbox so he can't access end-user features.":"Пользователь со всеми привилегиями может делать что угодно. По умолчанию у такого пользователя нет почтового ящика, поэтому он не может получить доступ к функциям конечного пользователя.","Email address":"Адрес электронной почты","Generated address":"Сгенерированный адрес","Please add at least one recipient.":"Укажите хотя бы одного получателя","Customize displayed columns":"Настроить отображаемые столбцы","Accounts":"Учётные записи","No mailbox":"Нет почтового ящика","Do not delete account folder":"Не удалять папку учётной записи","Last modification":"Последнее изменение","Last Name":"Фамилия","Message limit":"Лимит писем","TFA enabled":"Двухфакторная аутентификация включена","TOTP enabled":"TOTP включены","WebAutn enabled":"WebAuthn включён","Last login":"Последний вход","Are you sure you want to delete this identity ?":"Вы уверены, что хотите удалить эту личность?","Account deleted":"Учётная запись удалена","Are you sure you want to delete this alias?":"Удалить этот псевдоним?","Alias deleted":"Псевдоним удалён","Name of the domain to migrate":"Имя домена для миграции","Local domain (optional)":"Локальный домен (необязательно)","You need to bind at least one domain to the provider.":"Нужно привязать к провайдеру хотя бы один домен.","Provider name":"Название провайдера","Address (hostname or IP)":"Адрес (имя хоста или IP)","IMAP Port":"IMAP Порт","Secured":"Защищено","Is the IMAP connection secured using SSL/TLS or StartTLS":"IMAP-соединение защищено через SSL/TLS или STARTTLS","Check connection:":"Проверка соединения:","Provider":"Провайдер","Old account":"Старая учётная запись","Migration deleted":"Миграция удалена","New provider":"Новый провайдер","(the domain will be created locally)":"(домен будет создан локально)","Associated domain":"Связанный домен","Port":"Порт","Associated domains":"Связанные домены","Provider created":"Провайдер создан","Name:":"Название:","Number of associated domains:":"Количество связанных доменов:","No associated domains":"Нет связанных доменов","Provider updated":"Провайдер обновлён","Date":"Дата","Level":"Уровень","Logger":"Журнал событий","Queue ID":"ID очереди","To":"Кому","Calendar sharing":"Общий доступ к календарю","Full address":"Полный адрес","Read":"Читать","Write":"Запись","Calendar information":"Информация о календаре","To access this calendar from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"Чтобы получить доступ к этому календарю извне (например, из Mozilla Thunderbird или со смартфона), используйте следующий URL-адрес:","The credentials are the same than the ones you use to access Modoboa.":"Используйте тот же логин и пароль, что и для входа в Modoboa","You can also share a read-only version of this calendar using the following URL: ":"Вы также можете поделиться версией этого календаря, доступной только для чтения, используя следующий URL-адрес:","Edit calendar":"Изменить календарь","New calendar":"Новый календарь","Color":"Цвет","Calendar updated":"Календарь обновлен","Calendar created":"Календарь создан","Title":"Название","Calendar":"Календарь","Attendees":"Участники","Edit event":"Изменить событие","New event":"Новое событие","Event added":"Событие добавлено","Event updated":"Событие обновлено","Event deleted":"Событие удалено","Import events":"Импортировать события","Select an ICS file to import and click on the Send button":"Выберите файл .ics для импорта и нажмите «Импортировать»","Select an ICS file":"Выберите файл .ics","Send":"Отправить","%{ n } event imported":["%{ n } событие импортировано","%{ n } событий импортировано","%{ n } событий импортировано","Импортировано событий: %{ n }"],"Address book information":"О адресной книге","To access this address book from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"Для доступа к этой адресной книге извне (например из Mozilla Thunderbird или со смартфона) используйте следующий URL:","Edit category":"Изменить категорию","Add category":"Добавить категорию","Category deleted":"Категория удалена","Categories":"Категории","Display name":"Отображаемое имя","Company":"Организация","Position":"Должность","Birth date":"Дата рождения","Zip code":"Почтовый индекс","City":"Город","Country":"Страна","State/Province":"Регион","Note":"Заметка","More":"Еще","Less":"Меньше","Edit contact":"Изменить контакт","New contact":"Новый контакт","Synchronize contacts with address book":"Синхронизировать контакты с адресной книгой","Display address book information":"Показать информацию об адресной книге","Synchronization started":"Синхронизация запущена","Search in messages":"Поиск по письмам","From address":"Адрес отправителя","both":"оба","Release selection":"Выпустить выбранные","Delete selection":"Удалить выбранное","Mark as spam":"Пометить как спам","Mark as not spam":"Пометить как НЕ спам","Display":"Отображение","Score":"Баллы","Message released":"Письмо выпущено","Message marked as spam":"Письмо помечено как спам","Message marked as non-spam":"Письмо помечено как НЕ спам","Selection deleted":"Выбранное удалено","Release request sent":"Запрос на выпуск отправлен","Selection released":"Выбранные письма выпущены","Learning database":"База обучения SpamAssassin","Which database should be used for this learning:":"В какую базу сохранять результаты обучения:","Selection is being processed...":"Идёт обработка выбранного…","Notifications":"Уведомления","Logout":"Выйти","Choose columns to display":"Выберите отображаемые столбцы","OK":"ОК","Summary":"Обзор","Back":"Назад","Next":"Далее","Confirm and create":"Подтвердить и создать","If you close this form now, your modifications won't be saved. Do you confirm?":"Если закрыть форму сейчас — все изменения будут потеряны. Продолжить?","Modify":"Изменить","Empty":"Пусто","Provide a CSV file where lines respect one of the following formats:":"Загрузите CSV-файл, в котором строки имеют один из следующих форматов:","The first element of each line is mandatory and must be equal to one of the previous values.":"Первый элемент каждой строки обязателен и должен быть одним из указанных выше типов","You can use a different character as separator.":"Можно использовать любой другой символ в качестве разделителя.","Select file":"Выбрать файл","Separator":"Разделитель","Continue on error":"Продолжать при ошибке","Don't treat duplicated objects as errors":"Не считать дубликаты ошибками","Import":"Импорт","Parameters updated":"Настройки сохранены","Could not save parameters":"Не удалось сохранить настройки","Resources usage":"Использование ресурсов","No quota":"Без квоты","Creation denied":"Создание запрещено","Period":"Период","Absolute time range":"Абсолютный временной диапазон","Relative time ranges":"Относительный период","Day":"День","Week":"Неделя","Month":"Месяц","Year":"Год","yes":"да","no":"нет","Attachments":"Вложения","Attach":"Прикрепить","Provide one or more addresses":"Укажите один или несколько адресов","Cc":"Копия","Bcc":"Скрытая копия","Email sent":"Письмо отправлено","Add to contacts":"Добавить в контакты","Update contact":"Сохранить контакт","Contact added to address book":"Контакт добавлен в адресную книгу","Mark as read":"Пометить как прочитанное","Mark as unread":"Пометить как непрочитанное","Mark as followed":"Пометить как важное","Mark as unfollowed":"Снять пометку «Важное»","Empty mailbox":"Очистить ящик","on":"включено","No message yet in this mailbox":"В этом ящике пока нет писем","Message(s) deleted":"Письмо(а) удалены","Message(s) marked as junk":"Письмо(а) помечено как спам","Message(s) marked as not junk":"Письмо(а) помечено как НЕ спам","Message(s) flagged":"Письмо(а) помечено как важные","Parent mailbox":"Родительский ящик","Create new mailbox":"Создать новый почтовый ящик","Edit mailbox":"Изменить почтовый ящик","Mailbox renamed":"Почтовый ящик переименован","Mailbox created":"Почтовый ящик создан","Global database":"Общая база данных","Domain's database":"База данных домена","User's database":"База данных пользователя","Settings":"Настройки","Filters":"Фильтры","Dashboard":"Приборная панель","Domains":"Домены","Identities":"Личности","Monitoring":"Мониторинг","Audit trail":"Журнал действий","Messages":"Письма","IMAP Migration":"IMAP Миграция","Email providers":"Почтовые провайдеры","Migrations":"Миграции","Information":"Информация","Compose":"Написать","Create a new mailbox":"Создать новый почтовый ящик","Edit this mailbox":"Изменить этот ящик","Delete this mailbox":"Удалить этот ящик","Compress this mailbox":"Сжать этот ящик","Mailbox compressed":"Почтовый ящик сжат","Delete this mailbox?":"Удалить этот почтовый ящик?","Mailbox deleted":"Почтовый ящик удалён","No data to export":"Нет данных для экспорта","CSV seems to be badly formatted":"CSV-файл имеет неверный формат","Not a valid email":"Неверный адрес электронной почты","Field is required":"Поле обязательно для заполнения","Minimum length is %{ length }":"Минимальная длина %{ length }","Must be a numeric value or empty":"Должно быть числом или пустым","Passwords mismatch":"Пароли не совпадают","Invalid port number":"Неверный номер порта","Provider deleted":"Провайдер удалён","Message filters":"Фильтры писем","Select a filter set":"Выберите набор фильтров","Add filter set":"Добавить набор фильтров","Raw mode":"Исходный режим","Add new filter":"Добавить фильтр","Failed to display template. Using raw mode":"Не удалось отобразить шаблон. Используется исходный режим","Filter enabled":"Фильтр включён","Filter disabled":"Фильтр отключён","Filter removed":"Фильтр удалён","Filter set activated":"Набор фильтров включён","Filter set removed":"Набор фильтров удалён","Filter set updated":"Набор фильтров обновлён","Disable":"Отключить","Enable":"Включить","Move down":"Переместить вниз","Move up":"Переместить вверх","Download filter set":"Скачать набор фильтров","Delete filter set":"Удалить набор фильтров","Activate filter set":"Включить набор фильтров","Account settings":"Настройки учётной записи","Two-factor auth":"Двухфакторная аутентификация","Forward":"Переслать","Auto-reply message":"Текст автоответа","API access":"Доступ к API","Opened alarms":"Активные напоминания","Edit domain":"Изменить домен","New":{"male":"Новый"},"Import domains and aliases from CSV file":"Импорт доменов и псевдонимов из CSV-файла","Export domains and aliases to CSV":"Экспорт доменов и псевдонимов в CSV","Import domains":"Импорт доменов","DMARC":"DMARC","Edit account":"Изменить учётную запись","Edit alias":"Изменить псевдоним","Import accounts and aliases from CSV file":"Импорт учётных записей и псевдонимов из CSV-файла","Export accounts and aliases to CSV":"Экспорт учётных записей и псевдонимов в CSV","Import identities":"Импорт информации о пользователях","Crypt passwords":"Шифровать пароль","Check this option if passwords contained in your file are not crypted":"Выберите эту опцию если пароль в вашем файле не зашифрован ","Edit provider":"Изменить провайдера","Providers":"Провайдеры","Important messages":"Важные письма","The password scheme you are using has been deprecated and will be removed in the next minor version. The procedure to upgrade to a stronger scheme is as follows:":"Используемая схема шифрования паролей устарела и будет удалена в следующей версии. Порядок перехода на более надёжную схему:","Go to <strong>Settings > General</strong> section":"Перейдите в <strong>Настройки > Общие</strong>","Change the value of <strong>Default password scheme</strong>":"Изменить схему <strong>шифрования паролей по умолчанию</strong>","Make sure <strong>Update password scheme at login</strong> option is enabled":"Убедитесь, что включена опция <strong>Обновлять схему пароля при входе</strong>","Save your changes":"Сохранить изменения","Logout / Login with your current account so its password gets updated":"Выйдите и зайдите снова, чтобы обновился пароль","Inform <strong>ALL</strong> your users that they must login to Modoboa to complete the operation":"Сообщите <strong>ВСЕМ</strong> пользователям, что они должны зайти в Modoboa для завершения операции","You must apply this procedure <strong>BEFORE</strong> you install a newest version of Modoboa, otherwise <strong>you will be unable to connect to the web interface anymore</strong>.":"Эту процедуру необходимо выполнить <strong>ДО</strong> обновления Modoboa, иначе <strong>вы больше не сможете войти в веб-интерфейс</strong>.","Please note that you will see this message until <strong>ALL</strong> user passwords have been converted using the new scheme.":"Это сообщение будет показываться, пока <strong>ВСЕ </strong>пароли пользователей не будут переведены на новую схему","Installed components":"Установленные компоненты","One or more updates are available":"Доступны одно или более обновлений.","Check out the following list to find related components":"Посмотрите список связанных компонентов ниже","Installed version":"Установленная версия","Latest version":"Последняя версия","Message history":"История письма","My calendars":"Мои календари","Access rules":"Правила доступа","Do you really want to delete this calendar?":"Вы действительно хотите удалить этот календарь?","Calendar deleted":"Календарь удален","Contacts":"Контакты","Add a category":"Добавить категорию","Welcome to Modoboa":"Добро пожаловать в Modoboa!","Attempting to log you in.":"Выполняется вход","Quarantined message":"Письмо в карантине","Release message":"Выпустить письмо","Delete message":"Удалить письмо","Mark as non-spam":"Пометить как НЕ спам","View full headers":"Показать все заголовки","Hide full headers":"Скрыть все заголовки","Message deleted":"Письмо удалено","Quarantine":"Карантин","release requests":"запросы на выпуск","Reply":"Ответить","Reply all":"Ответить всем","Enable links":"Включить ссылки","Disable links":"Отключить ссылки","Display source":"Показать источник","Message marked as junk":"Письмо помечено как спам","Message marked as not junk":"Письмо помечено как НЕ спам","Webmail":"Веб-почта"}`),$1={},K1={From:"Kimden",Password:"Parola","Reset recovery codes":"Kurtarma kodlarını sıfırla",Name:"İsim",No:"Hayır",Yes:"Evet",Save:"Kaydet",Update:"Güncelle","Phone number":"Telefon numarası","Secondary email":"İkincil e-posta","Profile updated":"Profil güncellendi","New recovery codes":"Yeni kurtarma kodları",Close:"Kapat","Pin code":"Pin kodu",Register:"Kayıt ol","Disable 2FA":"2FA'yı devre dışı bırak",Message:"İleti",Authentication:"Kimlik Doğrulama",Unknown:"Bilinmeyen",Username:"Kullanıcı adı",General:"Genel",Role:"Rol",Profile:"Profil",Description:"Tanım",Confirmation:"Onayla","Simple user":"Basit kullanıcı","Domain administrator":"Alan adı Yöneticisi",Reseller:"Bayii",Date:"Tarih",Level:"Seviye",Logger:"Kayıtçı",To:"Kime",Logout:"Çıkış Yapın",Next:"Sonraki",Settings:"Ayarlar",Dashboard:"Gösterge Paneli",Information:"Bilgi","Passwords mismatch":"Parolalar uyuşmuyor","API access":"API erişimi","One or more updates are available":"Bir veya daha fazla güncelleme mevcut","Installed version":"Kurulu sürüm","Welcome to Modoboa":"Modoboa'ya hoş geldiniz"},Z1=JSON.parse(`{"Your API token has not been generated yet.":"Ditt API token har ännu ej genererats.","Generate":"Generera","Your API token is:":"Ditt API token är:","Copy token to clipboard":"Kopiera token till urklipp","Delete token":"Radera token","A documentation of the API is available":"En dokumentation av API:et finns tillgänglig","here":"här","API token copied to your clipboard":"API token kopierat till urklipp","API token created":"API token skapat","Warning":"Varning","You are about to delete your API access token":"Du håller på att radera din API-åtkomsttoken","Cancel":"Avbryt","Proceed":"Fortsätt","API token deleted":"API token raderat","Enabled":"Aktiverad","Subject":"Ämne","Content":"Innehåll","The content of your answer. You can use the following variables, which will be automatically replaced by the appropriate value: %(name)s, %(fromdate)s, %(untildate)s":"Innehållet i ditt svar. Du kan använda följande variabler, som automatiskt ersätts med lämpligt värde: %(name)s, %(fromdate)s, %(untildate)s","From":"Från","Activate your auto reply from this date":"Aktivera ditt autosvar från detta datum","Until":"Tills","Activate your auto reply until this date":"Aktivera ditt autosvar fram till detta datum","Update auto-reply":"Uppdatera autosvar","Auto-reply message updated":"Automatiskt svarsmeddelande uppdaterat","Backup codes":"Säkerhetskopieringskoder","You already have generated backup codes for this account. If you don't remember them or have used them all, you can generate new ones.":"Du har redan genererat reservkoder för det här kontot. Om du inte kommer ihåg dem eller har använt dem alla kan du skapa nya.","Password":"Lösenord","Reset recovery codes":"Återställ återställningskoder","No two-factor authentificator is yet set for your account.":"Ingen tvåfaktorsautentisering är ännu inställd för ditt konto.","WebAuthn":"WebAuthn","You don't have any WebAuthN device registered as a second authentication method.":"Du har ingen WebAuthN-enhet registrerad som en andra autentiseringsmetod.","Registered Webauthn devices":"Registrerade Webauthn-enheter","Never":"Aldrig","Enter a name to register a new webauthn device.":"Ange ett namn för att registrera en ny webauthn-enhet.","New device name":"Nytt enhetsnamn","Setup device":"Konfigurera enhet","Your browser does not seem compatible with WebAuthN":"Din webbläsare verkar inte vara kompatibel med WebAuthN","name":"namn","Name":"Namn","Added On":"Tillagd på","Last Used":"Senast använd","Use count":"Använd antal","Actions":"Åtgärder","Do you really want to delete this WebAuthn device?":"Vill du verkligen ta bort den här WebAuthn-enheten?","No":"Nej","Yes":"Ja","Edition":"Utgåva","Edit your device":"Redigera din enhet","Save":"Spara","Conditions":"Villkor","All of the following":"Alla följande","Any of the following":"Något av följande","All messages":"Alla meddelanden","Choose a header":"Välj en rubrik","Choose an operator":"Välj en operatör","Value":"Värde","Add condition":"Lägg till villkor","Remove condition":"Ta bort tillstånd","Choose an action":"Välj en åtgärd","Add action":"Lägg till åtgärd","Remove action":"Ta bort åtgärd","Edit filter":"Redigera filter","New filter":"Nytt filter","Update":"Uppdatera","Create":"Skapa","Filter added":"Filter har lagts till","Filter updated":"Filter uppdaterat","Create a new filter set":"Skapa ny filteruppsättning","Active":"Aktiv","Filter set created":"Filteruppsättning skapad","Recipient(s)":"Mottagare","Indicate one or more recipients separated by a comma (,)":"Ange en eller flera mottagare separerade med kommatecken (,)","Keep local copies":"Behåll lokala kopior","Forward messages and store copies into your local mailbox":"Vidarebefordra meddelanden och lagra kopior i din lokala brevlåda","Forward updated":"Vidarebefordring uppdaterad","General settings":"Allmänna inställningar","First name":"Förnamn","Last name":"Efternamn","Language":"Språk","Feel free to improve the translations":"Förbättra gärna översättningarna","or suggest a new language":"eller föreslå ett nytt språk","there":"där","Phone number":"Telefonnummer","Secondary email":"Sekundär e-post","Update settings":"Uppdatera inställningar","Update Password":"Uppdatera lösenord","Profile updated":"Profil uppdaterad","Language does no exist":"Språket existerar inte","Password updated":"Lösenord uppdaterat","New recovery codes":"Nya återställningskoder","The following recovery codes can be used one time each to let you regain access to your account, in case you lose your phone for example. Make sure to save them in a safe place, otherwise you won't be able to access your account anymore.":"Följande återställningskoder kan användas en gång var för att låta dig återfå åtkomst till ditt konto, om du till exempel skulle tappa din telefon. Se till att spara dem på ett säkert ställe, annars kommer du inte att kunna komma åt ditt konto längre.","Close":"Stäng","One-time passwords":"Engångslösenord","Click here to copy the key":"Klicka här för att kopiera nyckeln","Install a soft token authenticator like FreeOTP or Google Authenticator from your application repository and use that app to scan this QR code.":"Installera en mjuk token-autentisering som FreeOTP eller Google Authenticator från ditt programförråd och använd den appen för att skanna den här QR-koden.","Pin code":"Pinkod","Register":"Register","Congratulations! Two-factor authentication using one-time passwords is now enabled for your account.":"Grattis! Tvåfaktorsautentisering med engångslösenord är nu aktiverad för ditt konto.","Two-factor authentication using one-time passwords is enabled for your account.":"Tvåfaktorsautentisering med engångslösenord är aktiverad för ditt konto.","Disable 2FA":"Inaktivear 2FA","Two-factor authentication (2FA) using one-time passwords is not yet activated for your account.":"Tvåfaktorsautentisering (2FA) med engångslösenord är ännu inte aktiverad för ditt konto.","Register authenticator":"Registrera autentiseringsverktyg","Search":"Sök","Opened":"Öppnad","Closed":"Stängd","Triggered":"Triggad","Status":"Status","Domain":"Domän","Mailbox":"Brevlåda","Message":"Meddelande","Delete":"Radera","Reload":"Ladda om","Close alarm":"Stäng alarm","Reopen alarm":"Återöppna larmet","Alarm deleted":"Larm raderat","Alarms deleted":"Larm raderade","Alarm closed":"Larm stängt","Alarm re-opened":"Larm öppnat på nytt","Statistics":"Statistik","Alignment":"Placering","Detail":"Detalj","Trusted sources":"Pålitliga källor","Partially trusted sources / Forwarders":"Delvis pålitliga källor / speditörer","Forwarders with ARC":"Vidarebefordrare med ARC","Unknown sources / Threats":"Okända källor / hot","DMARC support does not seem to be enabled for this domain.":"DMARC-stöd verkar inte vara aktiverat för den här domänen.","If you configured it recently, please wait for the first report to be received and processed.":"Om du konfigurerade det nyligen, vänta tills den första rapporten tas emot och behandlas.","Fully aligned":"Helt inriktad","Partially aligned":"Delvis justerad","Forwarded":"Vidarebefordrad","Failed":"Misslyckades","Total":"Totalt","DNS configuration help":"DNS konfigurering hjälp","Pending":"Väntande","Auto configuration":"Automatisk konfiguration","autoconfig record (Mozilla): %{ value }":"\\"autoconfig-post (Mozilla): %{ value }\\"","autoconfig record (Mozilla) not found":"autoconfig-posten (Mozilla) hittades inte","autodiscover record (Microsoft): %{ value }":"autodiscover-post (Microsoft): %{ value }","autodiscover record (Microsoft) not found":"autodiscover-post (Microsoft) hittades inte","Authentication":"Autentisering","SPF record found":"SPF post hittad","SPF record not found":"SPF post saknas","DKIM record found":"DKIM-post hittades","DKIM record not found":"DKIM-posten hittades inte","DMARC record found":"DMARC post hittad","DMARC record not found":"DMARC post ej hittad","DKIM key":"DKIM nyckel","Show key":"Visa nyckel","Copy key to clipboard":"Kopiera nyckel till urklipp","Generate a new DKIM key":"Generera en ny DKIM nyckel","Not generated":"Ej genererad","Address":"Adress","Updated":"Uppdaterad","DKIM key copied to clipboard":"DKIM-nyckel kopierad till urklipp","A new key will be generated soon. Refresh the page in a moment to see it.":"En ny nyckel kommer snart att skapas. Ladda om sidan om en stund för att se den.","warning":"varning","DKIM key does not seem to be generated yet or has failed. Do you want to requeue the job?":"DKIM-nyckeln verkar inte ha genererats ännu eller har misslyckats. Vill du köa jobbet?","DKIM keys already exist for this domain. Do you want to overwrite them?":"DKIM-nycklar finns redan för den här domänen. Vill du skriva över dem?","Disabled":"Inaktiverad","Problem":"Problem","Valid":"Giltig","Unknown":"Okänd","Administrators of":"Administratörer för","Administrators":"Administratörer","Select an account":"Välj ett konto","Remove this administrator":"Radera denna administratör","Add administrator":"Lägg till administratör","Username":"Användarnamn","Administrator added":"Administratör tillagd","Administrator removed":"Administratör raderad","Choose a domain":"Välj en domän","Add":"Lägg till","Edit domain alias":"Redigera domänalias","Add a new domain alias":"Lägg till nytt domän alias","Domain alias deleted":"Domänalias raderat","Domain alias created":"Domän alias skapat","Domain alias updated":"Domänalias uppdaterat","New domain":"Ny domän","Copy to clipboard":"Kopiera till urklipp","General":"Allmän","DNS":"DNS","Limitations":"Gränser","Options":"Alternativ","Transport":"Transport","Type":"Typ","Enable DNS checks":"Aktivera DNS kontroller","Enable DKIM signing":"Aktivera DKIM signering","Quota":"Kvota","Default mailbox quota":"Standard brevlådekvota","Message sending limit":"Begränsning för meddelandesändning","DKIM key selector":"DKIM nyckel väljare","DKIM key length":"DKIM nyckellängd","Service":"Tjänst","Create a domain administrator":"Skapa en domänadministratör","Administrator name":"Administratörs namn","Random password":"Slumpmässigt lösenord","With mailbox":"Med brevlåda","Create aliases":"Skapa alias","Password copied to clipboard":"Lösenord kopierat till urklipp","Domain created":"Domän skapad","DKIM public key for":"DKIM publik nyckel för","Raw format. Click to copy":"Råformat. Klicka för att kopiera","Bind/named format. Click to copy":"Bind/named formatterat. Klicka för att kopiera","DNS configuration for ":"DNS-konfiguration för","Here is an example of DNS configuration (bind format). Replace values between [ ] by the appropriate ones.":"Här är ett exempel på DNS-konfiguration (bind-format). Ersätt värdena mellan [ ] med de lämpliga värdena.","Name: ":"Namn:","Type: ":"Typ: ","DNS checks":"DNS kontroller","DKIM signing":"DKIM signering","Quota: ":"Kvota:","Sending limit: ":"Sändningsgräns:","No sending limit":"Ingen sändningsbegränsning","Service: ":"Service:","Resources":"Resurser","Relay":"Relä","Unlimited":"Obegränsat","Do not delete domain folder":"Ta inte bort domänmappen","Aliases":"Alias","DNS status":"DNS status","Sending limit":"Sändningsgräns","Do you really want to delete the domain %{ domain }?":"Vill du verkligen ta bort domänen %{ domain }?","Domain deleted":"Domän raderad","Edit":"Redigera","Alarms":"Larm","Apply":"Tillämpa","General information":"Allmänn information","Creation date":"Datum skapad","Last modification date":"Senaste ändrad datum","MB":"MB","Daily sending limit":"Daglig sändningsgräns","messages":"meddelanden","Mailboxes":"Brevlådor","Domain name (ex: domain.tld)":"Domännamn (ex: domain.tld)","Control if this domain will be allowed to send and receive messages":"Kontrollera om den här domänen ska tillåtas skicka och ta emot meddelanden","Quota shared between mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Kvot delad mellan brevlådor. Kan anges i KB, MB (standard) eller GB. Ett värde av 0 innebär ingen kvot.","Default quota applied to mailboxes. Can be expressed in KB, MB (default) or GB. A value of 0 means no quota.":"Standardkvot tillämpas på postlådor. Kan uttryckas i KB, MB (standard) eller GB. Ett värde på 0 betyder ingen kvot.","Number of messages this domain can send per day. Leave empty for no limit.":"Antal meddelanden som denna domän kan skicka per dag. Lämna tomt för ingen begränsning.","Name of the administrator":"Namn på administratören","With a mailbox":"Med en brevlåda","Create a mailbox for the administrator.":"Skapa en brevlåda för administratören.","Create standard aliases for the domain.":"Skapa standardalias för domänen.","New account":"Nytt konto","Role":"Roll","Identification":"Identifikation","Email":"E-post","Domain default value":"Domän standardvärde","Send only account":"Skicka endast konto","Account":"Konto","Username:":"Användarnamn:","Profile":"Profil","domain's default value":"domänens standardvärde","Send only":"Skicka endast","Alias":"Alias","Number of associated alias:":"Antal associerade alias:","Number of allowed mailboxes:":"Antal tillåtna brevlådor:","Number of allowed mailbox aliases:":"Antal tillåtna postlådealias:","Sender addresses":"Avsändaradresser","No sender address defined for this account":"Inge avsändaradress agedd för detta konto","Specify an email address":"Ange en e-postadress","Remove this address":"Radera denna adress","Add sender address":"Lägg till avsändaradress","Sender address added":"Avsändaradress tillagd","Sender address deleted":"Avsändaradress raderad","Last login date":"Senaste inloggning","Never logged-in":"Aldrig inloggad","Full name":"Komplett namn","New alias":"Nytt alias","Random address":"Slumpmässig adress","Expire at":"Utgår kl","Description":"Beskrivning","Recipients":"Mottagare","Alias already exists, redirecting to edit page":"Aliaset finns redan, omdirigerar till redigeringssidan","Modified":"Ändrad","Administered domains":"Administrerade domäner","No domain managed":"Ingen domän hanterad","Add/Remove from the domain page":"Lägg till/ta bort från domänsidan","Start typing a name here...":"Börja skriva ett namn här...","Alias(es) of this mailbox. To create a catchall alias, just enter the domain name (@domain.tld).":"Alias för denna brevlåda. För att skapa ett catchall-alias anger du bara domännamnet (@domain.tld).","Alias already added":"Alias har redan lagts till","Enter an email address":"Ange en e-postadress","Enter a simple username or an email address":"Ange ett enkelt användarnamn eller en e-postadress","Ex: 10MB. Leave empty for no limit":"Ex: 10MB. Lämna tomt för ingen gräns","Quota for this mailbox, can be expressed in KB, MB (default) or GB. Define a custom value or use domain's default one. Leave empty to define an unlimited value (not allowed for domain administrators).":"Kvot för denna brevlåda, kan anges i KB, MB (standard) eller GB. Ange ett anpassat värde eller använd domänens standardvärde. Lämna tomt för att ange ett obegränsat värde (inte tillåtet för domänadministratörer).","Daily message sending limit":"Daglig sändningsgräns för meddelanden","Leave empty for no limit":"Lämna tomt för ingen gräns","Number of messages this mailbox can send per day. Leave empty for no limit.":"Antal meddelanden som denna brevlåda kan skicka per dag. Lämna tomt för ingen begränsning.","Use domain default value":"Använd domänens standardvärde","unlimited":"obegränsat","Current password":"Nuvarande lösenord","Confirmation":"Bekräftelse","Password mismatch":"Lösenordet matchar inte","Choose a role":"Välj en roll","Simple user":"Enkel användare","A user with no privileges but with a mailbox. He will be allowed to use all end-user features: webmail, calendar, contacts, filters.":"Användare utan privilegier men som har en en brevlåda. Den kommer att kunna använda alla slutanvändarfunktioner: webbmail, kalender, kontakter, filter.","Domain administrator":"Domänadministratör","A user with privileges on one or more domain. He will be allowed to administer mailboxes and he can also have a mailbox.":"Användare med rättigheter på en eller flera domäner. Den kan administrera brevlådor och han kan även ha en brevlåda.","Reseller":"Återförsäljare","Super administrator":"Superadministratör","A user with all privileges, can do anything. By default, such a user does not have a mailbox so he can't access end-user features.":"Användare med alla rättigheter som kan göra allt. Som standard har en sån här användare ingen brevlåda så den kan inte komma åt slutanvändarfunktioner.","Email address":"E-postadress","Generated address":"Genererad adress","Please add at least one recipient.":"Lägg till minst en mottagare.","Do not delete account folder":"Ta inte bort kontomappen","Are you sure you want to delete this identity ?":"Är du säker på att du vill ta bort den här identiteten?","Are you sure you want to delete this alias?":"Är du säker på att du vill ta bort detta alias?","Name of the domain to migrate":"Namn på domänen att migrera","Local domain (optional)":"Lokal domän (valfritt)§","You need to bind at least one domain to the provider.":"Du måste binda minst en domän till leverantören.","Provider name":"Leverantörsnamn","Address (hostname or IP)":"Adress (värdnamn eller IP)","IMAP Port":"IMAP port","Secured":"Säkrad","Is the IMAP connection secured using SSL/TLS or StartTLS":"Är IMAP-anslutningen säker med SSL/TLS eller StartTLS","Check connection:":"Kontrollera anslutning:","Provider":"Leverantör","Old account":"Gammalt konto","Migration deleted":"Migrering raderad","New provider":"Ny leverantör","(the domain will be created locally)":"(domänen kommer att skapas lokalt)","Associated domain":"Associerad domän","Port":"Port","Associated domains":"Associerade domäner","Provider created":"Leverantör skapad","Name:":"Namn:","Number of associated domains:":"Antal associerade domäner:","No associated domains":"Inga associerade domäner","Provider updated":"Leverantör uppdaterad","Date":"Datum","Level":"Nivå","Logger":"Logger","Queue ID":"Kö ID","To":"Till","Calendar sharing":"Kalenderdelning","Full address":"Fullständig adress","Read":"Läs","Write":"Skriv","Calendar information":"Kalenderinformation","To access this calendar from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"För att komma åt den här kalendern från utsidan (som Mozilla Thunderbird eller din smartphone), använd följande URL:","The credentials are the same than the ones you use to access Modoboa.":"Inloggningsuppgifterna är desamma som de du använder för att komma åt Modoboa.","You can also share a read-only version of this calendar using the following URL: ":"Du kan också dela en skrivskyddad version av den här kalendern med följande URL:","Edit calendar":"Redigera kalender","New calendar":"Ny kalender","Color":"Färg","Calendar updated":"Kalender uppdaterad","Calendar created":"Kalender skapad","Title":"Titel","Calendar":"Kalender","Attendees":"Deltagare","Edit event":"Redigera händelse","New event":"Ny händelse","Event added":"Event added","Event updated":"Händelse uppdaterad","Import events":"Importera händelser","Select an ICS file to import and click on the Send button":"Välj en ICS-fil att importera och klicka på knappen Skicka","Select an ICS file":"Välj en ICS-fil","Send":"Skicka","%{ n } event imported":["%{ n } händelse importerad","%{ n } händelser importerade"],"Address book information":"Adressboksinformation","To access this address book from the outside (such as Mozilla Thunderbird or your smartphone), use the following URL:":"För att komma åt den här adressboken från utsidan (som Mozilla Thunderbird eller din smartphone), använd följande URL:","Edit category":"Redigera kategori","Add category":"Lägg till kategori","Category deleted":"Kategori raderad","Categories":"Kategorier","Display name":"Display name","Company":"Företag","Position":"Plats","Birth date":"Födelsedatum","Zip code":"Postnummer","City":"Stad","Country":"Land","State/Province":"Stat/Provins","Note":"Anteckning","More":"Mer","Less":"Mindre","Edit contact":"Redigera kontakt","New contact":"Ny kontakt","Synchronize contacts with address book":"Synkronisera kontakter med adressboken","Display address book information":"Visa adressboksinformation","Synchronization started":"Synkronisering startade","Search in messages":"Sök i meddelanden","Logout":"Logga ut","OK":"OK","Summary":"Sammanfattning","Back":"Tillbaka","Next":"Nästa","Confirm and create":"Bekräfta och skapa","If you close this form now, your modifications won't be saved. Do you confirm?":"Om du stänger formuläret nu kommer dina ändringar inte att sparas. Bekräftar du?","Modify":"Ändra","Empty":"Tom","Provide a CSV file where lines respect one of the following formats:":"Ange en CSV-fil där raderna respekterar ett av följande format:","The first element of each line is mandatory and must be equal to one of the previous values.":"Det första elementet i varje rad är obligatoriskt och måste vara lika med ett av de tidigare värdena.","You can use a different character as separator.":"Du kan använda ett annat tecken som avgränsare.","Select file":"Välj fil","Separator":"Avgränsare","Continue on error":"Fortsätt vid fel","Don't treat duplicated objects as errors":"Behandla inte duplicerade objekt som fel","Import":"Importera","Parameters updated":"Parametrar uppdaterade","Could not save parameters":"Kunde inte spara parametrar","Resources usage":"Resursanvändning","Period":"Period","Absolute time range":"Absolut tidsintervall","Relative time ranges":"Relativa tidsintervall","Day":"Dag","Week":"Vecka","Month":"Månad","Year":"År","yes":"ja","no":"nej","Attachments":"Bilagor","Attach":"Bifoga","Provide one or more addresses":"Ange en eller flera adresser","Cc":"Cc","Bcc":"Bcc","Email sent":"E-post skickat","Add to contacts":"Lägg till i kontakter","Update contact":"Uppdatera kontakt","Contact added to address book":"Kontakt har lagts till i adressboken","Mark as read":"Markera som läst","Mark as unread":"Markera som oläst","Mark as followed":"Markera enligt följande","Mark as unfollowed":"Markera som ej följt","Empty mailbox":"Tom brevlåda","on":"på","No message yet in this mailbox":"Inget meddelande ännu i denna brevlåda","Message(s) deleted":"Meddelande(n) raderade","Message(s) marked as junk":"Meddelande(n) markerade som skräp","Message(s) marked as not junk":"Meddelande(n) markerade som inte skräp","Message(s) flagged":"Meddelande(n) flaggade","Parent mailbox":"Förälders brevlåda","Create new mailbox":"Skapa ny brevlåda","Edit mailbox":"Redigera brevlåda","Mailbox renamed":"Brevlåda omdöpt","Mailbox created":"Brevlåda skapad","Settings":"Inställningar","Filters":"Filter","Dashboard":"Instrumentbräda","Domains":"Domäner","Identities":"Identiteter","Monitoring":"Monitoring","Audit trail":"Verifieringskedja","Messages":"Meddelanden","IMAP Migration":"IMAP migrering","Email providers":"E-postleverantörer","Migrations":"Migreringar","Information":"Information","Compose":"Författa","Create a new mailbox":"Skapa en ny brevlåda","Edit this mailbox":"Redigera den här brevlådan","Delete this mailbox":"Ta bort den här brevlådan","Compress this mailbox":"Komprimera denna brevlåda","Mailbox compressed":"Brevlåda komprimerad","Delete this mailbox?":"Ta bort den här brevlådan?","Mailbox deleted":"Brevlåda raderad","No data to export":"Ingen data att exportera","CSV seems to be badly formatted":"CSV verkar vara dåligt formaterad","Not a valid email":"Inte ett giltigt mejl","Field is required":"Fält är obligatoriskt","Minimum length is %{ length }":"Minsta längd är %{ length }","Must be a numeric value or empty":"Måste vara ett numeriskt värde eller tomt","Passwords mismatch":"Lösenord matchar ej","Invalid port number":"Ogiltigt portnummer","Provider deleted":"Leverantör raderad","Message filters":"Meddelandefilter","Select a filter set":"Välj ett filterset","Add filter set":"Lägg till filteruppsättning","Raw mode":"Råläge","Add new filter":"Lägg till nytt filter","New":"Ny","Failed to display template. Using raw mode":"Det gick inte att visa mallen. Använder råläge","Filter enabled":"Filter aktiverat","Filter disabled":"Filter inaktiverat","Filter removed":"Filter borttaget","Filter set activated":"Filterset aktiverat","Filter set removed":"Filterset har tagits bort","Filter set updated":"Filteruppsättningen uppdaterad","Disable":"Inaktivera","Enable":"Aktivera","Move down":"Flytta ner","Move up":"Flytta upp","Download filter set":"Ladda ner filteruppsättning","Delete filter set":"Ta bort filteruppsättning","Activate filter set":"Aktivera filteruppsättning","Account settings":"Kontoinställningar","Two-factor auth":"Tvåfaktorsautentisering","Forward":"Vidarebefordra","Auto-reply message":"Automatiskt svarsmeddelande","API access":"API åtkomst","Opened alarms":"Öppnade alarm","Edit domain":"Redigera domän","Import domains and aliases from CSV file":"Importera domäner och alias från CSV-fil","Export domains and aliases to CSV":"Exportera domäner och alias till CSV","Import domains":"Importera domäner","DMARC":"DMARC","Edit account":"Redigera konto","Edit alias":"Redigera alias","Import accounts and aliases from CSV file":"Importera konton och alias från CSV-fil","Export accounts and aliases to CSV":"Exportera konton och alias till CSV","Import identities":"Importera identiteter","Crypt passwords":"Kryptera lösenord","Check this option if passwords contained in your file are not crypted":"Markera det här alternativet om lösenorden i din fil inte är krypterade","Edit provider":"Redigera leverantör","Providers":"Leverantörer","Important messages":"Viktiga meddelanden","The password scheme you are using has been deprecated and will be removed in the next minor version. The procedure to upgrade to a stronger scheme is as follows:":"Lösenordsschemat du använder har föråldrats och kommer att tas bort i nästa mindre version. Proceduren för att uppgradera till ett starkare system är som följer:","Go to <strong>Settings > General</strong> section":"Gå till avsnittet <strong>Inställningar > Allmänt</strong>","Change the value of <strong>Default password scheme</strong>":"Ändra värdet på <strong>Standard lösenordsschema</strong>","Make sure <strong>Update password scheme at login</strong> option is enabled":"Se till att alternativet <strong>Uppdatera lösenordsschema vid inloggning</strong> är aktiverat","Save your changes":"Spara dina ändringar","Logout / Login with your current account so its password gets updated":"Logga ut / Logga in med ditt nuvarande konto så att lösenordet uppdateras","Inform <strong>ALL</strong> your users that they must login to Modoboa to complete the operation":"Informera <strong>ALLA</strong> dina användare att de måste logga in på Modoboa för att slutföra operationen","You must apply this procedure <strong>BEFORE</strong> you install a newest version of Modoboa, otherwise <strong>you will be unable to connect to the web interface anymore</strong>.":"Du måste tillämpa denna procedur <strong>INNAN</strong> du installerar en senaste version av Modoboa, annars <strong> kommer du inte att kunna ansluta till webbgränssnittet längre</strong>.","Please note that you will see this message until <strong>ALL</strong> user passwords have been converted using the new scheme.":"Observera att du kommer att se detta meddelande tills <strong>ALLA</strong> användarlösenord har konverterats med det nya schemat.","Installed components":"Installerade komponenter","One or more updates are available":"En eller flera uppdateringar tillgängliga","Check out the following list to find related components":"Kolla in följande lista för att hitta relaterade komponenter","Installed version":"Installerad version","Latest version":"Senaste version","Message history":"Meddelande historik","My calendars":"Mina kalendrar","Access rules":"Åtkomstregler","Do you really want to delete this calendar?":"Vill du verkligen ta bort den här kalendern?","Calendar deleted":"Kalender raderad","Contacts":"Kontakter","Add a category":"Lägg till en kategori","Welcome to Modoboa":"Välkommen till Modoboa","Attempting to log you in.":"Försöker logga in dig.","Message deleted":"Meddelandet raderat","Reply":"Svara","Reply all":"Svara alla","Enable links":"Aktivera länkar","Disable links":"Inaktivera länkar","Display source":"Visa källa","Message marked as junk":"Meddelande markerat som skräp","Message marked as not junk":"Meddelandet markerat som inte skräp","Webmail":"Webmail"}`),J1={},Q1={en:O1,br:F1,cs:z1,el:B1,de:H1,es:W1,fi:j1,it:Y1,ja:V1,nl:U1,fr:X1,pt_BR:q1,ru:G1,pl:$1,tr:K1,sv:Z1,zh:J1},eM={br:"Breton",cs:"Czech",de:"German",el:"Greek",en:"English",es:"Spain",fi:"Finnish",fr:"French",it:"Italian",ja:"Japanese",nl:"Dutch",pl:"Polish",pt_BR:"Portuguese (BR)",ru:"Russian",sv:"Swedish",tr:"tr",zh:"Chinese"},ja=N1({availableLanguages:eM,defaultLanguage:"en",translations:Q1,silent:!0});class sr extends Error{}sr.prototype.name="InvalidTokenError";function tM(i){return decodeURIComponent(atob(i).replace(/(.)/g,(e,t)=>{let a=t.charCodeAt(0).toString(16).toUpperCase();return a.length<2&&(a="0"+a),"%"+a}))}function iM(i){let e=i.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return tM(e)}catch{return atob(e)}}function aM(i,e){if(typeof i!="string")throw new sr("Invalid token specified: must be a string");e||(e={});const t=e.header===!0?0:1,a=i.split(".")[t];if(typeof a!="string")throw new sr(`Invalid token specified: missing part #${t+1}`);let s;try{s=iM(a)}catch(r){throw new sr(`Invalid token specified: invalid base64 for part #${t+1} (${r.message})`)}try{return JSON.parse(s)}catch(r){throw new sr(`Invalid token specified: invalid json for part #${t+1} (${r.message})`)}}var sM={debug:()=>{},info:()=>{},warn:()=>{},error:()=>{}},Ei,Pi,co=(i=>(i[i.NONE=0]="NONE",i[i.ERROR=1]="ERROR",i[i.WARN=2]="WARN",i[i.INFO=3]="INFO",i[i.DEBUG=4]="DEBUG",i))(co||{});(i=>{function e(){Ei=3,Pi=sM}i.reset=e;function t(s){if(!(0<=s&&s<=4))throw new Error("Invalid log level");Ei=s}i.setLevel=t;function a(s){Pi=s}i.setLogger=a})(co||(co={}));var _e=class Ci{constructor(e){this._name=e}debug(...e){Ei>=4&&Pi.debug(Ci._format(this._name,this._method),...e)}info(...e){Ei>=3&&Pi.info(Ci._format(this._name,this._method),...e)}warn(...e){Ei>=2&&Pi.warn(Ci._format(this._name,this._method),...e)}error(...e){Ei>=1&&Pi.error(Ci._format(this._name,this._method),...e)}throw(e){throw this.error(e),e}create(e){const t=Object.create(this);return t._method=e,t.debug("begin"),t}static createStatic(e,t){const a=new Ci(`${e}.${t}`);return a.debug("begin"),a}static _format(e,t){const a=`[${e}]`;return t?`${a} ${t}:`:a}static debug(e,...t){Ei>=4&&Pi.debug(Ci._format(e),...t)}static info(e,...t){Ei>=3&&Pi.info(Ci._format(e),...t)}static warn(e,...t){Ei>=2&&Pi.warn(Ci._format(e),...t)}static error(e,...t){Ei>=1&&Pi.error(Ci._format(e),...t)}};co.reset();var Rr=class{static decode(i){try{return aM(i)}catch(e){throw _e.error("JwtUtils.decode",e),e}}static async generateSignedJwt(i,e,t){const a=ct.encodeBase64Url(new TextEncoder().encode(JSON.stringify(i))),s=ct.encodeBase64Url(new TextEncoder().encode(JSON.stringify(e))),r=`${a}.${s}`,n=await window.crypto.subtle.sign({name:"ECDSA",hash:{name:"SHA-256"}},t,new TextEncoder().encode(r)),o=ct.encodeBase64Url(new Uint8Array(n));return`${r}.${o}`}static async generateSignedJwtWithHmac(i,e,t){const a=ct.encodeBase64Url(new TextEncoder().encode(JSON.stringify(i))),s=ct.encodeBase64Url(new TextEncoder().encode(JSON.stringify(e))),r=`${a}.${s}`,n=await window.crypto.subtle.sign("HMAC",t,new TextEncoder().encode(r)),o=ct.encodeBase64Url(new Uint8Array(n));return`${r}.${o}`}},rM="10000000-1000-4000-8000-100000000000",zc=i=>btoa([...new Uint8Array(i)].map(e=>String.fromCharCode(e)).join("")),Tv=class li{static _randomWord(){const e=new Uint32Array(1);return crypto.getRandomValues(e),e[0]}static generateUUIDv4(){return rM.replace(/[018]/g,t=>(+t^li._randomWord()&15>>+t/4).toString(16)).replace(/-/g,"")}static generateCodeVerifier(){return li.generateUUIDv4()+li.generateUUIDv4()+li.generateUUIDv4()}static async generateCodeChallenge(e){if(!crypto.subtle)throw new Error("Crypto.subtle is available only in secure contexts (HTTPS).");try{const a=new TextEncoder().encode(e),s=await crypto.subtle.digest("SHA-256",a);return zc(s).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}catch(t){throw _e.error("CryptoUtils.generateCodeChallenge",t),t}}static generateBasicAuth(e,t){const s=new TextEncoder().encode([e,t].join(":"));return zc(s)}static async hash(e,t){const a=new TextEncoder().encode(t),s=await crypto.subtle.digest(e,a);return new Uint8Array(s)}static async customCalculateJwkThumbprint(e){let t;switch(e.kty){case"RSA":t={e:e.e,kty:e.kty,n:e.n};break;case"EC":t={crv:e.crv,kty:e.kty,x:e.x,y:e.y};break;case"OKP":t={crv:e.crv,kty:e.kty,x:e.x};break;case"oct":t={crv:e.k,kty:e.kty};break;default:throw new Error("Unknown jwk type")}const a=await li.hash("SHA-256",JSON.stringify(t));return li.encodeBase64Url(a)}static async generateDPoPProof({url:e,accessToken:t,httpMethod:a,keyPair:s,nonce:r}){let n,o;const l={jti:window.crypto.randomUUID(),htm:a??"GET",htu:e,iat:Math.floor(Date.now()/1e3)};t&&(n=await li.hash("SHA-256",t),o=li.encodeBase64Url(n),l.ath=o),r&&(l.nonce=r);try{const c=await crypto.subtle.exportKey("jwk",s.publicKey),u={alg:"ES256",typ:"dpop+jwt",jwk:{crv:c.crv,kty:c.kty,x:c.x,y:c.y}};return await Rr.generateSignedJwt(u,l,s.privateKey)}catch(c){throw c instanceof TypeError?new Error(`Error exporting dpop public key: ${c.message}`):c}}static async generateDPoPJkt(e){try{const t=await crypto.subtle.exportKey("jwk",e.publicKey);return await li.customCalculateJwkThumbprint(t)}catch(t){throw t instanceof TypeError?new Error(`Could not retrieve dpop keys from storage: ${t.message}`):t}}static async generateDPoPKeys(){return await window.crypto.subtle.generateKey({name:"ECDSA",namedCurve:"P-256"},!1,["sign","verify"])}static async generateClientAssertionJwt(e,t,a,s="HS256"){const r=Math.floor(Date.now()/1e3),n={alg:s,typ:"JWT"},o={iss:e,sub:e,aud:a,jti:li.generateUUIDv4(),exp:r+300,iat:r},c={HS256:"SHA-256",HS384:"SHA-384",HS512:"SHA-512"}[s];if(!c)throw new Error(`Unsupported algorithm: ${s}. Supported algorithms are: HS256, HS384, HS512`);const u=new TextEncoder,d=await crypto.subtle.importKey("raw",u.encode(t),{name:"HMAC",hash:c},!1,["sign"]);return await Rr.generateSignedJwtWithHmac(n,o,d)}};Tv.encodeBase64Url=i=>zc(i).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_");var ct=Tv,na=class{constructor(e){this._name=e,this._callbacks=[],this._logger=new _e(`Event('${this._name}')`)}addHandler(e){return this._callbacks.push(e),()=>this.removeHandler(e)}removeHandler(e){const t=this._callbacks.lastIndexOf(e);t>=0&&this._callbacks.splice(t,1)}async raise(...e){this._logger.debug("raise:",...e);for(const t of this._callbacks)await t(...e)}},Lf=class{static center({...i}){var e,t,a;return i.width==null&&(i.width=(e=[800,720,600,480].find(s=>s<=window.outerWidth/1.618))!=null?e:360),(t=i.left)!=null||(i.left=Math.max(0,Math.round(window.screenX+(window.outerWidth-i.width)/2))),i.height!=null&&((a=i.top)!=null||(i.top=Math.max(0,Math.round(window.screenY+(window.outerHeight-i.height)/2)))),i}static serialize(i){return Object.entries(i).filter(([,e])=>e!=null).map(([e,t])=>`${e}=${typeof t!="boolean"?t:t?"yes":"no"}`).join(",")}},Ui=class Fn extends na{constructor(){super(...arguments),this._logger=new _e(`Timer('${this._name}')`),this._timerHandle=null,this._expiration=0,this._callback=()=>{const e=this._expiration-Fn.getEpochTime();this._logger.debug("timer completes in",e),this._expiration<=Fn.getEpochTime()&&(this.cancel(),super.raise())}}static getEpochTime(){return Math.floor(Date.now()/1e3)}init(e){const t=this._logger.create("init");e=Math.max(Math.floor(e),1);const a=Fn.getEpochTime()+e;if(this.expiration===a&&this._timerHandle){t.debug("skipping since already initialized for expiration at",this.expiration);return}this.cancel(),t.debug("using duration",e),this._expiration=a;const s=Math.min(e,5);this._timerHandle=setInterval(this._callback,s*1e3)}get expiration(){return this._expiration}cancel(){this._logger.create("cancel"),this._timerHandle&&(clearInterval(this._timerHandle),this._timerHandle=null)}},Bc=class{static readParams(i,e="query"){if(!i)throw new TypeError("Invalid URL");const a=new URL(i,"http://127.0.0.1")[e==="fragment"?"hash":"search"];return new URLSearchParams(a.slice(1))}},Ds=";",$a=class extends Error{constructor(i,e){var t,a,s;if(super(i.error_description||i.error||""),this.form=e,this.name="ErrorResponse",!i.error)throw _e.error("ErrorResponse","No error passed"),new Error("No error passed");this.error=i.error,this.error_description=(t=i.error_description)!=null?t:null,this.error_uri=(a=i.error_uri)!=null?a:null,this.state=i.userState,this.session_state=(s=i.session_state)!=null?s:null,this.url_state=i.url_state}},nd=class extends Error{constructor(i){super(i),this.name="ErrorTimeout"}},nM=class{constructor(i){this._logger=new _e("AccessTokenEvents"),this._expiringTimer=new Ui("Access token expiring"),this._expiredTimer=new Ui("Access token expired"),this._expiringNotificationTimeInSeconds=i.expiringNotificationTimeInSeconds}async load(i){const e=this._logger.create("load");if(i.access_token&&i.expires_in!==void 0){const t=i.expires_in;if(e.debug("access token present, remaining duration:",t),t>0){let s=t-this._expiringNotificationTimeInSeconds;s<=0&&(s=1),e.debug("registering expiring timer, raising in",s,"seconds"),this._expiringTimer.init(s)}else e.debug("canceling existing expiring timer because we're past expiration."),this._expiringTimer.cancel();const a=t+1;e.debug("registering expired timer, raising in",a,"seconds"),this._expiredTimer.init(a)}else this._expiringTimer.cancel(),this._expiredTimer.cancel()}async unload(){this._logger.debug("unload: canceling existing access token timers"),this._expiringTimer.cancel(),this._expiredTimer.cancel()}addAccessTokenExpiring(i){return this._expiringTimer.addHandler(i)}removeAccessTokenExpiring(i){this._expiringTimer.removeHandler(i)}addAccessTokenExpired(i){return this._expiredTimer.addHandler(i)}removeAccessTokenExpired(i){this._expiredTimer.removeHandler(i)}},oM=class{constructor(i,e,t,a,s){this._callback=i,this._client_id=e,this._intervalInSeconds=a,this._stopOnError=s,this._logger=new _e("CheckSessionIFrame"),this._timer=null,this._session_state=null,this._message=n=>{n.origin===this._frame_origin&&n.source===this._frame.contentWindow&&(n.data==="error"?(this._logger.error("error message from check session op iframe"),this._stopOnError&&this.stop()):n.data==="changed"?(this._logger.debug("changed message from check session op iframe"),this.stop(),this._callback()):this._logger.debug(n.data+" message from check session op iframe"))};const r=new URL(t);this._frame_origin=r.origin,this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="fixed",this._frame.style.left="-1000px",this._frame.style.top="0",this._frame.width="0",this._frame.height="0",this._frame.src=r.href}load(){return new Promise(i=>{this._frame.onload=()=>{i()},window.document.body.appendChild(this._frame),window.addEventListener("message",this._message,!1)})}start(i){if(this._session_state===i)return;this._logger.create("start"),this.stop(),this._session_state=i;const e=()=>{!this._frame.contentWindow||!this._session_state||this._frame.contentWindow.postMessage(this._client_id+" "+this._session_state,this._frame_origin)};e(),this._timer=setInterval(e,this._intervalInSeconds*1e3)}stop(){this._logger.create("stop"),this._session_state=null,this._timer&&(clearInterval(this._timer),this._timer=null)}},Dv=class{constructor(){this._logger=new _e("InMemoryWebStorage"),this._data={}}clear(){this._logger.create("clear"),this._data={}}getItem(i){return this._logger.create(`getItem('${i}')`),this._data[i]}setItem(i,e){this._logger.create(`setItem('${i}')`),this._data[i]=e}removeItem(i){this._logger.create(`removeItem('${i}')`),delete this._data[i]}get length(){return Object.getOwnPropertyNames(this._data).length}key(i){return Object.getOwnPropertyNames(this._data)[i]}},Hc=class extends Error{constructor(i,e){super(e),this.name="ErrorDPoPNonce",this.nonce=i}},od=class{constructor(i=[],e=null,t={}){this._jwtHandler=e,this._extraHeaders=t,this._logger=new _e("JsonService"),this._contentTypes=[],this._contentTypes.push(...i,"application/json"),e&&this._contentTypes.push("application/jwt")}async fetchWithTimeout(i,e={}){const{timeoutInSeconds:t,...a}=e;if(!t)return await fetch(i,a);const s=new AbortController,r=setTimeout(()=>s.abort(),t*1e3);try{return await fetch(i,{...e,signal:s.signal})}catch(n){throw n instanceof DOMException&&n.name==="AbortError"?new nd("Network timed out"):n}finally{clearTimeout(r)}}async getJson(i,{token:e,credentials:t,timeoutInSeconds:a}={}){const s=this._logger.create("getJson"),r={Accept:this._contentTypes.join(", ")};e&&(s.debug("token passed, setting Authorization header"),r.Authorization="Bearer "+e),this._appendExtraHeaders(r);let n;try{s.debug("url:",i),n=await this.fetchWithTimeout(i,{method:"GET",headers:r,timeoutInSeconds:a,credentials:t})}catch(c){throw s.error("Network Error"),c}s.debug("HTTP response received, status",n.status);const o=n.headers.get("Content-Type");if(o&&!this._contentTypes.find(c=>o.startsWith(c))&&s.throw(new Error(`Invalid response Content-Type: ${o??"undefined"}, from URL: ${i}`)),n.ok&&this._jwtHandler&&(o!=null&&o.startsWith("application/jwt")))return await this._jwtHandler(await n.text());let l;try{l=await n.json()}catch(c){throw s.error("Error parsing JSON response",c),n.ok?c:new Error(`${n.statusText} (${n.status})`)}if(!n.ok)throw s.error("Error from server:",l),l.error?new $a(l):new Error(`${n.statusText} (${n.status}): ${JSON.stringify(l)}`);return l}async postForm(i,{body:e,basicAuth:t,timeoutInSeconds:a,initCredentials:s,extraHeaders:r}){const n=this._logger.create("postForm"),o={Accept:this._contentTypes.join(", "),"Content-Type":"application/x-www-form-urlencoded",...r};t!==void 0&&(o.Authorization="Basic "+t),this._appendExtraHeaders(o);let l;try{n.debug("url:",i),l=await this.fetchWithTimeout(i,{method:"POST",headers:o,body:e,timeoutInSeconds:a,credentials:s})}catch(h){throw n.error("Network error"),h}n.debug("HTTP response received, status",l.status);const c=l.headers.get("Content-Type");if(c&&!this._contentTypes.find(h=>c.startsWith(h)))throw new Error(`Invalid response Content-Type: ${c??"undefined"}, from URL: ${i}`);const u=await l.text();let d={};if(u)try{d=JSON.parse(u)}catch(h){throw n.error("Error parsing JSON response",h),l.ok?h:new Error(`${l.statusText} (${l.status})`)}if(!l.ok){if(n.error("Error from server:",d),l.headers.has("dpop-nonce")){const h=l.headers.get("dpop-nonce");throw new Hc(h,`${JSON.stringify(d)}`)}throw d.error?new $a(d,e):new Error(`${l.statusText} (${l.status}): ${JSON.stringify(d)}`)}return d}_appendExtraHeaders(i){const e=this._logger.create("appendExtraHeaders"),t=Object.keys(this._extraHeaders),a=["accept","content-type"],s=["authorization"];t.length!==0&&t.forEach(r=>{if(a.includes(r.toLocaleLowerCase())){e.warn("Protected header could not be set",r,a);return}if(s.includes(r.toLocaleLowerCase())&&Object.keys(i).includes(r)){e.warn("Header could not be overridden",r,s);return}const n=typeof this._extraHeaders[r]=="function"?this._extraHeaders[r]():this._extraHeaders[r];n&&n!==""&&(i[r]=n)})}},lM=class{constructor(i){this._settings=i,this._logger=new _e("MetadataService"),this._signingKeys=null,this._metadata=null,this._metadataUrl=this._settings.metadataUrl,this._jsonService=new od(["application/jwk-set+json"],null,this._settings.extraHeaders),this._settings.signingKeys&&(this._logger.debug("using signingKeys from settings"),this._signingKeys=this._settings.signingKeys),this._settings.metadata&&(this._logger.debug("using metadata from settings"),this._metadata=this._settings.metadata),this._settings.fetchRequestCredentials&&(this._logger.debug("using fetchRequestCredentials from settings"),this._fetchRequestCredentials=this._settings.fetchRequestCredentials)}resetSigningKeys(){this._signingKeys=null}async getMetadata(){const i=this._logger.create("getMetadata");if(this._metadata)return i.debug("using cached values"),this._metadata;if(!this._metadataUrl)throw i.throw(new Error("No authority or metadataUrl configured on settings")),null;i.debug("getting metadata from",this._metadataUrl);const e=await this._jsonService.getJson(this._metadataUrl,{credentials:this._fetchRequestCredentials,timeoutInSeconds:this._settings.requestTimeoutInSeconds});return i.debug("merging remote JSON with seed metadata"),this._metadata=Object.assign({},e,this._settings.metadataSeed),this._metadata}getIssuer(){return this._getMetadataProperty("issuer")}getAuthorizationEndpoint(){return this._getMetadataProperty("authorization_endpoint")}getUserInfoEndpoint(){return this._getMetadataProperty("userinfo_endpoint")}getTokenEndpoint(i=!0){return this._getMetadataProperty("token_endpoint",i)}getCheckSessionIframe(){return this._getMetadataProperty("check_session_iframe",!0)}getEndSessionEndpoint(){return this._getMetadataProperty("end_session_endpoint",!0)}getRevocationEndpoint(i=!0){return this._getMetadataProperty("revocation_endpoint",i)}getKeysEndpoint(i=!0){return this._getMetadataProperty("jwks_uri",i)}async _getMetadataProperty(i,e=!1){const t=this._logger.create(`_getMetadataProperty('${i}')`),a=await this.getMetadata();if(t.debug("resolved"),a[i]===void 0){if(e===!0){t.warn("Metadata does not contain optional property");return}t.throw(new Error("Metadata does not contain property "+i))}return a[i]}async getSigningKeys(){const i=this._logger.create("getSigningKeys");if(this._signingKeys)return i.debug("returning signingKeys from cache"),this._signingKeys;const e=await this.getKeysEndpoint(!1);i.debug("got jwks_uri",e);const t=await this._jsonService.getJson(e,{timeoutInSeconds:this._settings.requestTimeoutInSeconds});if(i.debug("got key set",t),!Array.isArray(t.keys))throw i.throw(new Error("Missing keys on keyset")),null;return this._signingKeys=t.keys,this._signingKeys}},Lv=class{constructor({prefix:i="oidc.",store:e=localStorage}={}){this._logger=new _e("WebStorageStateStore"),this._store=e,this._prefix=i}async set(i,e){this._logger.create(`set('${i}')`),i=this._prefix+i,await this._store.setItem(i,e)}async get(i){return this._logger.create(`get('${i}')`),i=this._prefix+i,await this._store.getItem(i)}async remove(i){this._logger.create(`remove('${i}')`),i=this._prefix+i;const e=await this._store.getItem(i);return await this._store.removeItem(i),e}async getAllKeys(){this._logger.create("getAllKeys");const i=await this._store.length,e=[];for(let t=0;t<i;t++){const a=await this._store.key(t);a&&a.indexOf(this._prefix)===0&&e.push(a.substr(this._prefix.length))}return e}},cM="code",uM="openid",dM="client_secret_post",hM=900,Wc=class{constructor({authority:i,metadataUrl:e,metadata:t,signingKeys:a,metadataSeed:s,client_id:r,client_secret:n,response_type:o=cM,scope:l=uM,redirect_uri:c,post_logout_redirect_uri:u,client_authentication:d=dM,token_endpoint_auth_signing_alg:h="HS256",prompt:f,display:g,max_age:p,ui_locales:m,acr_values:v,resource:b,response_mode:x,filterProtocolClaims:k=!0,loadUserInfo:y=!1,requestTimeoutInSeconds:A,staleStateAgeInSeconds:w=hM,mergeClaimsStrategy:S={array:"replace"},disablePKCE:C=!1,stateStore:M,revokeTokenAdditionalContentTypes:E,fetchRequestCredentials:P,refreshTokenAllowedScope:D,extraQueryParams:L={},extraTokenParams:B={},extraHeaders:N={},dpop:F,omitScopeWhenRequesting:H=!1}){var ie;if(this.authority=i,e?this.metadataUrl=e:(this.metadataUrl=i,i&&(this.metadataUrl.endsWith("/")||(this.metadataUrl+="/"),this.metadataUrl+=".well-known/openid-configuration")),this.metadata=t,this.metadataSeed=s,this.signingKeys=a,this.client_id=r,this.client_secret=n,this.response_type=o,this.scope=l,this.redirect_uri=c,this.post_logout_redirect_uri=u,this.client_authentication=d,this.token_endpoint_auth_signing_alg=h,this.prompt=f,this.display=g,this.max_age=p,this.ui_locales=m,this.acr_values=v,this.resource=b,this.response_mode=x,this.filterProtocolClaims=k??!0,this.loadUserInfo=!!y,this.staleStateAgeInSeconds=w,this.mergeClaimsStrategy=S,this.omitScopeWhenRequesting=H,this.disablePKCE=!!C,this.revokeTokenAdditionalContentTypes=E,this.fetchRequestCredentials=P||"same-origin",this.requestTimeoutInSeconds=A,M)this.stateStore=M;else{const re=typeof window<"u"?window.localStorage:new Dv;this.stateStore=new Lv({store:re})}if(this.refreshTokenAllowedScope=D,this.extraQueryParams=L,this.extraTokenParams=B,this.extraHeaders=N,this.dpop=F,this.dpop&&!((ie=this.dpop)!=null&&ie.store))throw new Error("A DPoPStore is required when dpop is enabled")}},fM=class{constructor(i,e){this._settings=i,this._metadataService=e,this._logger=new _e("UserInfoService"),this._getClaimsFromJwt=async t=>{const a=this._logger.create("_getClaimsFromJwt");try{const s=Rr.decode(t);return a.debug("JWT decoding successful"),s}catch(s){throw a.error("Error parsing JWT response"),s}},this._jsonService=new od(void 0,this._getClaimsFromJwt,this._settings.extraHeaders)}async getClaims(i){const e=this._logger.create("getClaims");i||this._logger.throw(new Error("No token passed"));const t=await this._metadataService.getUserInfoEndpoint();e.debug("got userinfo url",t);const a=await this._jsonService.getJson(t,{token:i,credentials:this._settings.fetchRequestCredentials,timeoutInSeconds:this._settings.requestTimeoutInSeconds});return e.debug("got claims",a),a}},Rv=class{constructor(i,e){this._settings=i,this._metadataService=e,this._logger=new _e("TokenClient"),this._jsonService=new od(this._settings.revokeTokenAdditionalContentTypes,null,this._settings.extraHeaders)}async exchangeCode({grant_type:i="authorization_code",redirect_uri:e=this._settings.redirect_uri,client_id:t=this._settings.client_id,client_secret:a=this._settings.client_secret,extraHeaders:s,...r}){const n=this._logger.create("exchangeCode");t||n.throw(new Error("A client_id is required")),e||n.throw(new Error("A redirect_uri is required")),r.code||n.throw(new Error("A code is required"));const o=new URLSearchParams({grant_type:i,redirect_uri:e});for(const[d,h]of Object.entries(r))h!=null&&o.set(d,h);if((this._settings.client_authentication==="client_secret_basic"||this._settings.client_authentication==="client_secret_jwt")&&a==null)throw n.throw(new Error("A client_secret is required")),null;let l;const c=await this._metadataService.getTokenEndpoint(!1);switch(this._settings.client_authentication){case"client_secret_basic":l=ct.generateBasicAuth(t,a);break;case"client_secret_post":o.append("client_id",t),a&&o.append("client_secret",a);break;case"client_secret_jwt":{const d=await ct.generateClientAssertionJwt(t,a,c,this._settings.token_endpoint_auth_signing_alg);o.append("client_id",t),o.append("client_assertion_type","urn:ietf:params:oauth:client-assertion-type:jwt-bearer"),o.append("client_assertion",d);break}}n.debug("got token endpoint");const u=await this._jsonService.postForm(c,{body:o,basicAuth:l,timeoutInSeconds:this._settings.requestTimeoutInSeconds,initCredentials:this._settings.fetchRequestCredentials,extraHeaders:s});return n.debug("got response"),u}async exchangeCredentials({grant_type:i="password",client_id:e=this._settings.client_id,client_secret:t=this._settings.client_secret,scope:a=this._settings.scope,...s}){const r=this._logger.create("exchangeCredentials");e||r.throw(new Error("A client_id is required"));const n=new URLSearchParams({grant_type:i});this._settings.omitScopeWhenRequesting||n.set("scope",a);for(const[u,d]of Object.entries(s))d!=null&&n.set(u,d);if((this._settings.client_authentication==="client_secret_basic"||this._settings.client_authentication==="client_secret_jwt")&&t==null)throw r.throw(new Error("A client_secret is required")),null;let o;const l=await this._metadataService.getTokenEndpoint(!1);switch(this._settings.client_authentication){case"client_secret_basic":o=ct.generateBasicAuth(e,t);break;case"client_secret_post":n.append("client_id",e),t&&n.append("client_secret",t);break;case"client_secret_jwt":{const u=await ct.generateClientAssertionJwt(e,t,l,this._settings.token_endpoint_auth_signing_alg);n.append("client_id",e),n.append("client_assertion_type","urn:ietf:params:oauth:client-assertion-type:jwt-bearer"),n.append("client_assertion",u);break}}r.debug("got token endpoint");const c=await this._jsonService.postForm(l,{body:n,basicAuth:o,timeoutInSeconds:this._settings.requestTimeoutInSeconds,initCredentials:this._settings.fetchRequestCredentials});return r.debug("got response"),c}async exchangeRefreshToken({grant_type:i="refresh_token",client_id:e=this._settings.client_id,client_secret:t=this._settings.client_secret,timeoutInSeconds:a,extraHeaders:s,...r}){const n=this._logger.create("exchangeRefreshToken");e||n.throw(new Error("A client_id is required")),r.refresh_token||n.throw(new Error("A refresh_token is required"));const o=new URLSearchParams({grant_type:i});for(const[d,h]of Object.entries(r))Array.isArray(h)?h.forEach(f=>o.append(d,f)):h!=null&&o.set(d,h);if((this._settings.client_authentication==="client_secret_basic"||this._settings.client_authentication==="client_secret_jwt")&&t==null)throw n.throw(new Error("A client_secret is required")),null;let l;const c=await this._metadataService.getTokenEndpoint(!1);switch(this._settings.client_authentication){case"client_secret_basic":l=ct.generateBasicAuth(e,t);break;case"client_secret_post":o.append("client_id",e),t&&o.append("client_secret",t);break;case"client_secret_jwt":{const d=await ct.generateClientAssertionJwt(e,t,c,this._settings.token_endpoint_auth_signing_alg);o.append("client_id",e),o.append("client_assertion_type","urn:ietf:params:oauth:client-assertion-type:jwt-bearer"),o.append("client_assertion",d);break}}n.debug("got token endpoint");const u=await this._jsonService.postForm(c,{body:o,basicAuth:l,timeoutInSeconds:a,initCredentials:this._settings.fetchRequestCredentials,extraHeaders:s});return n.debug("got response"),u}async revoke(i){var e;const t=this._logger.create("revoke");i.token||t.throw(new Error("A token is required"));const a=await this._metadataService.getRevocationEndpoint(!1);t.debug(`got revocation endpoint, revoking ${(e=i.token_type_hint)!=null?e:"default token type"}`);const s=new URLSearchParams;for(const[r,n]of Object.entries(i))n!=null&&s.set(r,n);s.set("client_id",this._settings.client_id),this._settings.client_secret&&s.set("client_secret",this._settings.client_secret),await this._jsonService.postForm(a,{body:s,timeoutInSeconds:this._settings.requestTimeoutInSeconds}),t.debug("got response")}},gM=class{constructor(i,e,t){this._settings=i,this._metadataService=e,this._claimsService=t,this._logger=new _e("ResponseValidator"),this._userInfoService=new fM(this._settings,this._metadataService),this._tokenClient=new Rv(this._settings,this._metadataService)}async validateSigninResponse(i,e,t){const a=this._logger.create("validateSigninResponse");this._processSigninState(i,e),a.debug("state processed"),await this._processCode(i,e,t),a.debug("code processed"),i.isOpenId&&this._validateIdTokenAttributes(i),a.debug("tokens validated"),await this._processClaims(i,e==null?void 0:e.skipUserInfo,i.isOpenId),a.debug("claims processed")}async validateCredentialsResponse(i,e){const t=this._logger.create("validateCredentialsResponse"),a=i.isOpenId&&!!i.id_token;a&&this._validateIdTokenAttributes(i),t.debug("tokens validated"),await this._processClaims(i,e,a),t.debug("claims processed")}async validateRefreshResponse(i,e){var t,a;const s=this._logger.create("validateRefreshResponse");i.userState=e.data,(t=i.session_state)!=null||(i.session_state=e.session_state),(a=i.scope)!=null||(i.scope=e.scope),i.isOpenId&&i.id_token&&(this._validateIdTokenAttributes(i,e.id_token),s.debug("ID Token validated")),i.id_token||(i.id_token=e.id_token,i.profile=e.profile);const r=i.isOpenId&&!!i.id_token;await this._processClaims(i,!1,r),s.debug("claims processed")}validateSignoutResponse(i,e){const t=this._logger.create("validateSignoutResponse");if(e.id!==i.state&&t.throw(new Error("State does not match")),t.debug("state validated"),i.userState=e.data,i.error)throw t.warn("Response was error",i.error),new $a(i)}_processSigninState(i,e){var t;const a=this._logger.create("_processSigninState");if(e.id!==i.state&&a.throw(new Error("State does not match")),e.client_id||a.throw(new Error("No client_id on state")),e.authority||a.throw(new Error("No authority on state")),this._settings.authority!==e.authority&&a.throw(new Error("authority mismatch on settings vs. signin state")),this._settings.client_id&&this._settings.client_id!==e.client_id&&a.throw(new Error("client_id mismatch on settings vs. signin state")),a.debug("state validated"),i.userState=e.data,i.url_state=e.url_state,(t=i.scope)!=null||(i.scope=e.scope),i.error)throw a.warn("Response was error",i.error),new $a(i);e.code_verifier&&!i.code&&a.throw(new Error("Expected code in response"))}async _processClaims(i,e=!1,t=!0){const a=this._logger.create("_processClaims");if(i.profile=this._claimsService.filterProtocolClaims(i.profile),e||!this._settings.loadUserInfo||!i.access_token){a.debug("not loading user info");return}a.debug("loading user info");const s=await this._userInfoService.getClaims(i.access_token);a.debug("user info claims received from user info endpoint"),t&&s.sub!==i.profile.sub&&a.throw(new Error("subject from UserInfo response does not match subject in ID Token")),i.profile=this._claimsService.mergeClaims(i.profile,this._claimsService.filterProtocolClaims(s)),a.debug("user info claims received, updated profile:",i.profile)}async _processCode(i,e,t){const a=this._logger.create("_processCode");if(i.code){a.debug("Validating code");const s=await this._tokenClient.exchangeCode({client_id:e.client_id,client_secret:e.client_secret,code:i.code,redirect_uri:e.redirect_uri,code_verifier:e.code_verifier,extraHeaders:t,...e.extraTokenParams});Object.assign(i,s)}else a.debug("No code to process")}_validateIdTokenAttributes(i,e){var t;const a=this._logger.create("_validateIdTokenAttributes");a.debug("decoding ID Token JWT");const s=Rr.decode((t=i.id_token)!=null?t:"");if(s.sub||a.throw(new Error("ID Token is missing a subject claim")),e){const r=Rr.decode(e);s.sub!==r.sub&&a.throw(new Error("sub in id_token does not match current sub")),s.auth_time&&s.auth_time!==r.auth_time&&a.throw(new Error("auth_time in id_token does not match original auth_time")),s.azp&&s.azp!==r.azp&&a.throw(new Error("azp in id_token does not match original azp")),!s.azp&&r.azp&&a.throw(new Error("azp not in id_token, but present in original id_token"))}i.profile=s}},uo=class jc{constructor(e){this.id=e.id||ct.generateUUIDv4(),this.data=e.data,e.created&&e.created>0?this.created=e.created:this.created=Ui.getEpochTime(),this.request_type=e.request_type,this.url_state=e.url_state}toStorageString(){return new _e("State").create("toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,url_state:this.url_state})}static fromStorageString(e){return _e.createStatic("State","fromStorageString"),Promise.resolve(new jc(JSON.parse(e)))}static async clearStaleState(e,t){const a=_e.createStatic("State","clearStaleState"),s=Ui.getEpochTime()-t,r=await e.getAllKeys();a.debug("got keys",r);for(let n=0;n<r.length;n++){const o=r[n],l=await e.get(o);let c=!1;if(l)try{const u=await jc.fromStorageString(l);a.debug("got item from key:",o,u.created),u.created<=s&&(c=!0)}catch(u){a.error("Error parsing state for key:",o,u),c=!0}else a.debug("no item in storage for key:",o),c=!0;c&&(a.debug("removed item for key:",o),e.remove(o))}}},Nv=class Yc extends uo{constructor(e){super(e),this.code_verifier=e.code_verifier,this.code_challenge=e.code_challenge,this.authority=e.authority,this.client_id=e.client_id,this.redirect_uri=e.redirect_uri,this.scope=e.scope,this.client_secret=e.client_secret,this.extraTokenParams=e.extraTokenParams,this.response_mode=e.response_mode,this.skipUserInfo=e.skipUserInfo}static async create(e){const t=e.code_verifier===!0?ct.generateCodeVerifier():e.code_verifier||void 0,a=t?await ct.generateCodeChallenge(t):void 0;return new Yc({...e,code_verifier:t,code_challenge:a})}toStorageString(){return new _e("SigninState").create("toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,url_state:this.url_state,code_verifier:this.code_verifier,authority:this.authority,client_id:this.client_id,redirect_uri:this.redirect_uri,scope:this.scope,client_secret:this.client_secret,extraTokenParams:this.extraTokenParams,response_mode:this.response_mode,skipUserInfo:this.skipUserInfo})}static fromStorageString(e){_e.createStatic("SigninState","fromStorageString");const t=JSON.parse(e);return Yc.create(t)}},Ov=class Fv{constructor(e){this.url=e.url,this.state=e.state}static async create({url:e,authority:t,client_id:a,redirect_uri:s,response_type:r,scope:n,state_data:o,response_mode:l,request_type:c,client_secret:u,nonce:d,url_state:h,resource:f,skipUserInfo:g,extraQueryParams:p,extraTokenParams:m,disablePKCE:v,dpopJkt:b,omitScopeWhenRequesting:x,...k}){if(!e)throw this._logger.error("create: No url passed"),new Error("url");if(!a)throw this._logger.error("create: No client_id passed"),new Error("client_id");if(!s)throw this._logger.error("create: No redirect_uri passed"),new Error("redirect_uri");if(!r)throw this._logger.error("create: No response_type passed"),new Error("response_type");if(!n)throw this._logger.error("create: No scope passed"),new Error("scope");if(!t)throw this._logger.error("create: No authority passed"),new Error("authority");const y=await Nv.create({data:o,request_type:c,url_state:h,code_verifier:!v,client_id:a,authority:t,redirect_uri:s,response_mode:l,client_secret:u,scope:n,extraTokenParams:m,skipUserInfo:g}),A=new URL(e);A.searchParams.append("client_id",a),A.searchParams.append("redirect_uri",s),A.searchParams.append("response_type",r),x||A.searchParams.append("scope",n),d&&A.searchParams.append("nonce",d),b&&A.searchParams.append("dpop_jkt",b);let w=y.id;h&&(w=`${w}${Ds}${h}`),A.searchParams.append("state",w),y.code_challenge&&(A.searchParams.append("code_challenge",y.code_challenge),A.searchParams.append("code_challenge_method","S256")),f&&(Array.isArray(f)?f:[f]).forEach(C=>A.searchParams.append("resource",C));for(const[S,C]of Object.entries({response_mode:l,...k,...p}))C!=null&&A.searchParams.append(S,C.toString());return new Fv({url:A.href,state:y})}};Ov._logger=new _e("SigninRequest");var pM=Ov,mM="openid",El=class{constructor(i){if(this.access_token="",this.token_type="",this.profile={},this.state=i.get("state"),this.session_state=i.get("session_state"),this.state){const e=decodeURIComponent(this.state).split(Ds);this.state=e[0],e.length>1&&(this.url_state=e.slice(1).join(Ds))}this.error=i.get("error"),this.error_description=i.get("error_description"),this.error_uri=i.get("error_uri"),this.code=i.get("code")}get expires_in(){if(this.expires_at!==void 0)return this.expires_at-Ui.getEpochTime()}set expires_in(i){typeof i=="string"&&(i=Number(i)),i!==void 0&&i>=0&&(this.expires_at=Math.floor(i)+Ui.getEpochTime())}get isOpenId(){var i;return((i=this.scope)==null?void 0:i.split(" ").includes(mM))||!!this.id_token}},vM=class{constructor({url:i,state_data:e,id_token_hint:t,post_logout_redirect_uri:a,extraQueryParams:s,request_type:r,client_id:n,url_state:o}){if(this._logger=new _e("SignoutRequest"),!i)throw this._logger.error("ctor: No url passed"),new Error("url");const l=new URL(i);if(t&&l.searchParams.append("id_token_hint",t),n&&l.searchParams.append("client_id",n),a&&(l.searchParams.append("post_logout_redirect_uri",a),e||o)){this.state=new uo({data:e,request_type:r,url_state:o});let c=this.state.id;o&&(c=`${c}${Ds}${o}`),l.searchParams.append("state",c)}for(const[c,u]of Object.entries({...s}))u!=null&&l.searchParams.append(c,u.toString());this.url=l.href}},bM=class{constructor(i){if(this.state=i.get("state"),this.state){const e=decodeURIComponent(this.state).split(Ds);this.state=e[0],e.length>1&&(this.url_state=e.slice(1).join(Ds))}this.error=i.get("error"),this.error_description=i.get("error_description"),this.error_uri=i.get("error_uri")}},xM=["nbf","jti","auth_time","nonce","acr","amr","azp","at_hash"],yM=["sub","iss","aud","exp","iat"],wM=class{constructor(i){this._settings=i,this._logger=new _e("ClaimsService")}filterProtocolClaims(i){const e={...i};if(this._settings.filterProtocolClaims){let t;Array.isArray(this._settings.filterProtocolClaims)?t=this._settings.filterProtocolClaims:t=xM;for(const a of t)yM.includes(a)||delete e[a]}return e}mergeClaims(i,e){const t={...i};for(const[a,s]of Object.entries(e))if(t[a]!==s)if(Array.isArray(t[a])||Array.isArray(s))if(this._settings.mergeClaimsStrategy.array=="replace")t[a]=s;else{const r=Array.isArray(t[a])?t[a]:[t[a]];for(const n of Array.isArray(s)?s:[s])r.includes(n)||r.push(n);t[a]=r}else typeof t[a]=="object"&&typeof s=="object"?t[a]=this.mergeClaims(t[a],s):t[a]=s;return t}},zv=class{constructor(i,e){this.keys=i,this.nonce=e}},kM=class{constructor(i,e){this._logger=new _e("OidcClient"),this.settings=i instanceof Wc?i:new Wc(i),this.metadataService=e??new lM(this.settings),this._claimsService=new wM(this.settings),this._validator=new gM(this.settings,this.metadataService,this._claimsService),this._tokenClient=new Rv(this.settings,this.metadataService)}async createSigninRequest({state:i,request:e,request_uri:t,request_type:a,id_token_hint:s,login_hint:r,skipUserInfo:n,nonce:o,url_state:l,response_type:c=this.settings.response_type,scope:u=this.settings.scope,redirect_uri:d=this.settings.redirect_uri,prompt:h=this.settings.prompt,display:f=this.settings.display,max_age:g=this.settings.max_age,ui_locales:p=this.settings.ui_locales,acr_values:m=this.settings.acr_values,resource:v=this.settings.resource,response_mode:b=this.settings.response_mode,extraQueryParams:x=this.settings.extraQueryParams,extraTokenParams:k=this.settings.extraTokenParams,dpopJkt:y,omitScopeWhenRequesting:A=this.settings.omitScopeWhenRequesting}){const w=this._logger.create("createSigninRequest");if(c!=="code")throw new Error("Only the Authorization Code flow (with PKCE) is supported");const S=await this.metadataService.getAuthorizationEndpoint();w.debug("Received authorization endpoint",S);const C=await pM.create({url:S,authority:this.settings.authority,client_id:this.settings.client_id,redirect_uri:d,response_type:c,scope:u,state_data:i,url_state:l,prompt:h,display:f,max_age:g,ui_locales:p,id_token_hint:s,login_hint:r,acr_values:m,dpopJkt:y,resource:v,request:e,request_uri:t,extraQueryParams:x,extraTokenParams:k,request_type:a,response_mode:b,client_secret:this.settings.client_secret,skipUserInfo:n,nonce:o,disablePKCE:this.settings.disablePKCE,omitScopeWhenRequesting:A});await this.clearStaleState();const M=C.state;return await this.settings.stateStore.set(M.id,M.toStorageString()),C}async readSigninResponseState(i,e=!1){const t=this._logger.create("readSigninResponseState"),a=new El(Bc.readParams(i,this.settings.response_mode));if(!a.state)throw t.throw(new Error("No state in response")),null;const s=await this.settings.stateStore[e?"remove":"get"](a.state);if(!s)throw t.throw(new Error("No matching state found in storage")),null;return{state:await Nv.fromStorageString(s),response:a}}async processSigninResponse(i,e,t=!0){const a=this._logger.create("processSigninResponse"),{state:s,response:r}=await this.readSigninResponseState(i,t);if(a.debug("received state from storage; validating response"),this.settings.dpop&&this.settings.dpop.store){const n=await this.getDpopProof(this.settings.dpop.store);e={...e,DPoP:n}}try{await this._validator.validateSigninResponse(r,s,e)}catch(n){if(n instanceof Hc&&this.settings.dpop){const o=await this.getDpopProof(this.settings.dpop.store,n.nonce);e.DPoP=o,await this._validator.validateSigninResponse(r,s,e)}else throw n}return r}async getDpopProof(i,e){let t,a;return(await i.getAllKeys()).includes(this.settings.client_id)?(a=await i.get(this.settings.client_id),a.nonce!==e&&e&&(a.nonce=e,await i.set(this.settings.client_id,a))):(t=await ct.generateDPoPKeys(),a=new zv(t,e),await i.set(this.settings.client_id,a)),await ct.generateDPoPProof({url:await this.metadataService.getTokenEndpoint(!1),httpMethod:"POST",keyPair:a.keys,nonce:a.nonce})}async processResourceOwnerPasswordCredentials({username:i,password:e,skipUserInfo:t=!1,extraTokenParams:a={}}){const s=await this._tokenClient.exchangeCredentials({username:i,password:e,...a}),r=new El(new URLSearchParams);return Object.assign(r,s),await this._validator.validateCredentialsResponse(r,t),r}async useRefreshToken({state:i,redirect_uri:e,resource:t,timeoutInSeconds:a,extraHeaders:s,extraTokenParams:r}){var n;const o=this._logger.create("useRefreshToken");let l;if(this.settings.refreshTokenAllowedScope===void 0)l=i.scope;else{const d=this.settings.refreshTokenAllowedScope.split(" ");l=(((n=i.scope)==null?void 0:n.split(" "))||[]).filter(f=>d.includes(f)).join(" ")}if(this.settings.dpop&&this.settings.dpop.store){const d=await this.getDpopProof(this.settings.dpop.store);s={...s,DPoP:d}}let c;try{c=await this._tokenClient.exchangeRefreshToken({refresh_token:i.refresh_token,scope:l,redirect_uri:e,resource:t,timeoutInSeconds:a,extraHeaders:s,...r})}catch(d){if(d instanceof Hc&&this.settings.dpop)s.DPoP=await this.getDpopProof(this.settings.dpop.store,d.nonce),c=await this._tokenClient.exchangeRefreshToken({refresh_token:i.refresh_token,scope:l,redirect_uri:e,resource:t,timeoutInSeconds:a,extraHeaders:s,...r});else throw d}const u=new El(new URLSearchParams);return Object.assign(u,c),o.debug("validating response",u),await this._validator.validateRefreshResponse(u,{...i,scope:l}),u}async createSignoutRequest({state:i,id_token_hint:e,client_id:t,request_type:a,url_state:s,post_logout_redirect_uri:r=this.settings.post_logout_redirect_uri,extraQueryParams:n=this.settings.extraQueryParams}={}){const o=this._logger.create("createSignoutRequest"),l=await this.metadataService.getEndSessionEndpoint();if(!l)throw o.throw(new Error("No end session endpoint")),null;o.debug("Received end session endpoint",l),!t&&r&&!e&&(t=this.settings.client_id);const c=new vM({url:l,id_token_hint:e,client_id:t,post_logout_redirect_uri:r,state_data:i,extraQueryParams:n,request_type:a,url_state:s});await this.clearStaleState();const u=c.state;return u&&(o.debug("Signout request has state to persist"),await this.settings.stateStore.set(u.id,u.toStorageString())),c}async readSignoutResponseState(i,e=!1){const t=this._logger.create("readSignoutResponseState"),a=new bM(Bc.readParams(i,this.settings.response_mode));if(!a.state){if(t.debug("No state in response"),a.error)throw t.warn("Response was error:",a.error),new $a(a);return{state:void 0,response:a}}const s=await this.settings.stateStore[e?"remove":"get"](a.state);if(!s)throw t.throw(new Error("No matching state found in storage")),null;return{state:await uo.fromStorageString(s),response:a}}async processSignoutResponse(i){const e=this._logger.create("processSignoutResponse"),{state:t,response:a}=await this.readSignoutResponseState(i,!0);return t?(e.debug("Received state from storage; validating response"),this._validator.validateSignoutResponse(a,t)):e.debug("No state from storage; skipping response validation"),a}clearStaleState(){return this._logger.create("clearStaleState"),uo.clearStaleState(this.settings.stateStore,this.settings.staleStateAgeInSeconds)}async revokeToken(i,e){return this._logger.create("revokeToken"),await this._tokenClient.revoke({token:i,token_type_hint:e})}},AM=class{constructor(i){this._userManager=i,this._logger=new _e("SessionMonitor"),this._start=async e=>{const t=e.session_state;if(!t)return;const a=this._logger.create("_start");if(e.profile?(this._sub=e.profile.sub,a.debug("session_state",t,", sub",this._sub)):(this._sub=void 0,a.debug("session_state",t,", anonymous user")),this._checkSessionIFrame){this._checkSessionIFrame.start(t);return}try{const s=await this._userManager.metadataService.getCheckSessionIframe();if(s){a.debug("initializing check session iframe");const r=this._userManager.settings.client_id,n=this._userManager.settings.checkSessionIntervalInSeconds,o=this._userManager.settings.stopCheckSessionOnError,l=new oM(this._callback,r,s,n,o);await l.load(),this._checkSessionIFrame=l,l.start(t)}else a.warn("no check session iframe found in the metadata")}catch(s){a.error("Error from getCheckSessionIframe:",s instanceof Error?s.message:s)}},this._stop=()=>{const e=this._logger.create("_stop");if(this._sub=void 0,this._checkSessionIFrame&&this._checkSessionIFrame.stop(),this._userManager.settings.monitorAnonymousSession){const t=setInterval(async()=>{clearInterval(t);try{const a=await this._userManager.querySessionStatus();if(a){const s={session_state:a.session_state,profile:a.sub?{sub:a.sub}:null};this._start(s)}}catch(a){e.error("error from querySessionStatus",a instanceof Error?a.message:a)}},1e3)}},this._callback=async()=>{const e=this._logger.create("_callback");try{const t=await this._userManager.querySessionStatus();let a=!0;t&&this._checkSessionIFrame?t.sub===this._sub?(a=!1,this._checkSessionIFrame.start(t.session_state),e.debug("same sub still logged in at OP, session state has changed, restarting check session iframe; session_state",t.session_state),await this._userManager.events._raiseUserSessionChanged()):e.debug("different subject signed into OP",t.sub):e.debug("subject no longer signed into OP"),a?this._sub?await this._userManager.events._raiseUserSignedOut():await this._userManager.events._raiseUserSignedIn():e.debug("no change in session detected, no event to raise")}catch(t){this._sub&&(e.debug("Error calling queryCurrentSigninSession; raising signed out event",t),await this._userManager.events._raiseUserSignedOut())}},i||this._logger.throw(new Error("No user manager passed")),this._userManager.events.addUserLoaded(this._start),this._userManager.events.addUserUnloaded(this._stop),this._init().catch(e=>{this._logger.error(e)})}async _init(){this._logger.create("_init");const i=await this._userManager.getUser();if(i)this._start(i);else if(this._userManager.settings.monitorAnonymousSession){const e=await this._userManager.querySessionStatus();if(e){const t={session_state:e.session_state,profile:e.sub?{sub:e.sub}:null};this._start(t)}}}},Pl=class Bv{constructor(e){var t;this.id_token=e.id_token,this.session_state=(t=e.session_state)!=null?t:null,this.access_token=e.access_token,this.refresh_token=e.refresh_token,this.token_type=e.token_type,this.scope=e.scope,this.profile=e.profile,this.expires_at=e.expires_at,this.state=e.userState,this.url_state=e.url_state}get expires_in(){if(this.expires_at!==void 0)return this.expires_at-Ui.getEpochTime()}set expires_in(e){e!==void 0&&(this.expires_at=Math.floor(e)+Ui.getEpochTime())}get expired(){const e=this.expires_in;if(e!==void 0)return e<=0}get scopes(){var e,t;return(t=(e=this.scope)==null?void 0:e.split(" "))!=null?t:[]}toStorageString(){return new _e("User").create("toStorageString"),JSON.stringify({id_token:this.id_token,session_state:this.session_state,access_token:this.access_token,refresh_token:this.refresh_token,token_type:this.token_type,scope:this.scope,profile:this.profile,expires_at:this.expires_at})}static fromStorageString(e){return _e.createStatic("User","fromStorageString"),new Bv(JSON.parse(e))}},Rf="oidc-client",Hv=class{constructor(){this._abort=new na("Window navigation aborted"),this._disposeHandlers=new Set,this._window=null}async navigate(i){const e=this._logger.create("navigate");if(!this._window)throw new Error("Attempted to navigate on a disposed window");e.debug("setting URL in window"),this._window.location.replace(i.url);const{url:t,keepOpen:a}=await new Promise((s,r)=>{const n=l=>{var c;const u=l.data,d=(c=i.scriptOrigin)!=null?c:window.location.origin;if(!(l.origin!==d||(u==null?void 0:u.source)!==Rf)){try{const h=Bc.readParams(u.url,i.response_mode).get("state");if(h||e.warn("no state found in response url"),l.source!==this._window&&h!==i.state)return}catch{this._dispose(),r(new Error("Invalid response from window"))}s(u)}};window.addEventListener("message",n,!1),this._disposeHandlers.add(()=>window.removeEventListener("message",n,!1));const o=new BroadcastChannel(`oidc-client-popup-${i.state}`);o.addEventListener("message",n,!1),this._disposeHandlers.add(()=>o.close()),this._disposeHandlers.add(this._abort.addHandler(l=>{this._dispose(),r(l)}))});return e.debug("got response from window"),this._dispose(),a||this.close(),{url:t}}_dispose(){this._logger.create("_dispose");for(const i of this._disposeHandlers)i();this._disposeHandlers.clear()}static _notifyParent(i,e,t=!1,a=window.location.origin){const s={source:Rf,url:e,keepOpen:t},r=new _e("_notifyParent");if(i)r.debug("With parent. Using parent.postMessage."),i.postMessage(s,a);else{r.debug("No parent. Using BroadcastChannel.");const n=new URL(e).searchParams.get("state");if(!n)throw new Error("No parent and no state in URL. Can't complete notification.");const o=new BroadcastChannel(`oidc-client-popup-${n}`);o.postMessage(s),o.close()}}},Wv={location:!1,toolbar:!1,height:640,closePopupWindowAfterInSeconds:-1},jv="_blank",SM=60,CM=2,Yv=10,MM=class extends Wc{constructor(i){const{popup_redirect_uri:e=i.redirect_uri,popup_post_logout_redirect_uri:t=i.post_logout_redirect_uri,popupWindowFeatures:a=Wv,popupWindowTarget:s=jv,redirectMethod:r="assign",redirectTarget:n="self",iframeNotifyParentOrigin:o=i.iframeNotifyParentOrigin,iframeScriptOrigin:l=i.iframeScriptOrigin,requestTimeoutInSeconds:c,silent_redirect_uri:u=i.redirect_uri,silentRequestTimeoutInSeconds:d,automaticSilentRenew:h=!0,validateSubOnSilentRenew:f=!0,includeIdTokenInSilentRenew:g=!1,monitorSession:p=!1,monitorAnonymousSession:m=!1,checkSessionIntervalInSeconds:v=CM,query_status_response_type:b="code",stopCheckSessionOnError:x=!0,revokeTokenTypes:k=["access_token","refresh_token"],revokeTokensOnSignout:y=!1,includeIdTokenInSilentSignout:A=!1,accessTokenExpiringNotificationTimeInSeconds:w=SM,userStore:S}=i;if(super(i),this.popup_redirect_uri=e,this.popup_post_logout_redirect_uri=t,this.popupWindowFeatures=a,this.popupWindowTarget=s,this.redirectMethod=r,this.redirectTarget=n,this.iframeNotifyParentOrigin=o,this.iframeScriptOrigin=l,this.silent_redirect_uri=u,this.silentRequestTimeoutInSeconds=d||c||Yv,this.automaticSilentRenew=h,this.validateSubOnSilentRenew=f,this.includeIdTokenInSilentRenew=g,this.monitorSession=p,this.monitorAnonymousSession=m,this.checkSessionIntervalInSeconds=v,this.stopCheckSessionOnError=x,this.query_status_response_type=b,this.revokeTokenTypes=k,this.revokeTokensOnSignout=y,this.includeIdTokenInSilentSignout=A,this.accessTokenExpiringNotificationTimeInSeconds=w,S)this.userStore=S;else{const C=typeof window<"u"?window.sessionStorage:new Dv;this.userStore=new Lv({store:C})}}},Nf=class Vv extends Hv{constructor({silentRequestTimeoutInSeconds:e=Yv}){super(),this._logger=new _e("IFrameWindow"),this._timeoutInSeconds=e,this._frame=Vv.createHiddenIframe(),this._window=this._frame.contentWindow}static createHiddenIframe(){const e=window.document.createElement("iframe");return e.style.visibility="hidden",e.style.position="fixed",e.style.left="-1000px",e.style.top="0",e.width="0",e.height="0",window.document.body.appendChild(e),e}async navigate(e){this._logger.debug("navigate: Using timeout of:",this._timeoutInSeconds);const t=setTimeout(()=>void this._abort.raise(new nd("IFrame timed out without a response")),this._timeoutInSeconds*1e3);return this._disposeHandlers.add(()=>clearTimeout(t)),await super.navigate(e)}close(){var e;this._frame&&(this._frame.parentNode&&(this._frame.addEventListener("load",t=>{var a;const s=t.target;(a=s.parentNode)==null||a.removeChild(s),this._abort.raise(new Error("IFrame removed from DOM"))},!0),(e=this._frame.contentWindow)==null||e.location.replace("about:blank")),this._frame=null),this._window=null}static notifyParent(e,t){return super._notifyParent(window.parent,e,!1,t)}},EM=class{constructor(i){this._settings=i,this._logger=new _e("IFrameNavigator")}async prepare({silentRequestTimeoutInSeconds:i=this._settings.silentRequestTimeoutInSeconds}){return new Nf({silentRequestTimeoutInSeconds:i})}async callback(i){this._logger.create("callback"),Nf.notifyParent(i,this._settings.iframeNotifyParentOrigin)}},PM=500,_M=1e3,Of=class extends Hv{constructor({popupWindowTarget:i=jv,popupWindowFeatures:e={},popupSignal:t,popupAbortOnClose:a}){super(),this._logger=new _e("PopupWindow");const s=Lf.center({...Wv,...e});this._window=window.open(void 0,i,Lf.serialize(s)),this.abortOnClose=!!a,t&&t.addEventListener("abort",()=>{var r;this._abort.raise(new Error((r=t.reason)!=null?r:"Popup aborted"))}),e.closePopupWindowAfterInSeconds&&e.closePopupWindowAfterInSeconds>0&&setTimeout(()=>{if(!this._window||typeof this._window.closed!="boolean"||this._window.closed){this._abort.raise(new Error("Popup blocked by user"));return}this.close()},e.closePopupWindowAfterInSeconds*_M)}async navigate(i){var e;(e=this._window)==null||e.focus();const t=setInterval(()=>{(!this._window||this._window.closed)&&(this._logger.debug("Popup closed by user or isolated by redirect"),a(),this._disposeHandlers.delete(a),this.abortOnClose&&this._abort.raise(new Error("Popup closed by user")))},PM),a=()=>clearInterval(t);return this._disposeHandlers.add(a),await super.navigate(i)}close(){this._window&&(this._window.closed||(this._window.close(),this._abort.raise(new Error("Popup closed")))),this._window=null}static notifyOpener(i,e){super._notifyParent(window.opener,i,e),!e&&!window.opener&&window.close()}},IM=class{constructor(i){this._settings=i,this._logger=new _e("PopupNavigator")}async prepare({popupWindowFeatures:i=this._settings.popupWindowFeatures,popupWindowTarget:e=this._settings.popupWindowTarget,popupSignal:t,popupAbortOnClose:a}){return new Of({popupWindowFeatures:i,popupWindowTarget:e,popupSignal:t,popupAbortOnClose:a})}async callback(i,{keepOpen:e=!1}){this._logger.create("callback"),Of.notifyOpener(i,e)}},TM=class{constructor(i){this._settings=i,this._logger=new _e("RedirectNavigator")}async prepare({redirectMethod:i=this._settings.redirectMethod,redirectTarget:e=this._settings.redirectTarget}){var t;this._logger.create("prepare");let a=window.self;e==="top"&&(a=(t=window.top)!=null?t:window.self);const s=a.location[i].bind(a.location);let r;return{navigate:async n=>(this._logger.create("navigate"),await new Promise((l,c)=>{r=c,window.addEventListener("pageshow",()=>l(window.location.href)),s(n.url)})),close:()=>{this._logger.create("close"),r==null||r(new Error("Redirect aborted")),a.stop()}}}async callback(){}},DM=class extends nM{constructor(i){super({expiringNotificationTimeInSeconds:i.accessTokenExpiringNotificationTimeInSeconds}),this._logger=new _e("UserManagerEvents"),this._userLoaded=new na("User loaded"),this._userUnloaded=new na("User unloaded"),this._silentRenewError=new na("Silent renew error"),this._userSignedIn=new na("User signed in"),this._userSignedOut=new na("User signed out"),this._userSessionChanged=new na("User session changed")}async load(i,e=!0){await super.load(i),e&&await this._userLoaded.raise(i)}async unload(){await super.unload(),await this._userUnloaded.raise()}addUserLoaded(i){return this._userLoaded.addHandler(i)}removeUserLoaded(i){return this._userLoaded.removeHandler(i)}addUserUnloaded(i){return this._userUnloaded.addHandler(i)}removeUserUnloaded(i){return this._userUnloaded.removeHandler(i)}addSilentRenewError(i){return this._silentRenewError.addHandler(i)}removeSilentRenewError(i){return this._silentRenewError.removeHandler(i)}async _raiseSilentRenewError(i){await this._silentRenewError.raise(i)}addUserSignedIn(i){return this._userSignedIn.addHandler(i)}removeUserSignedIn(i){this._userSignedIn.removeHandler(i)}async _raiseUserSignedIn(){await this._userSignedIn.raise()}addUserSignedOut(i){return this._userSignedOut.addHandler(i)}removeUserSignedOut(i){this._userSignedOut.removeHandler(i)}async _raiseUserSignedOut(){await this._userSignedOut.raise()}addUserSessionChanged(i){return this._userSessionChanged.addHandler(i)}removeUserSessionChanged(i){this._userSessionChanged.removeHandler(i)}async _raiseUserSessionChanged(){await this._userSessionChanged.raise()}},LM=class{constructor(i){this._userManager=i,this._logger=new _e("SilentRenewService"),this._isStarted=!1,this._retryTimer=new Ui("Retry Silent Renew"),this._tokenExpiring=async()=>{const e=this._logger.create("_tokenExpiring");try{await this._userManager.signinSilent(),e.debug("silent token renewal successful")}catch(t){if(t instanceof nd){e.warn("ErrorTimeout from signinSilent:",t,"retry in 5s"),this._retryTimer.init(5);return}e.error("Error from signinSilent:",t),await this._userManager.events._raiseSilentRenewError(t)}}}async start(){const i=this._logger.create("start");if(!this._isStarted){this._isStarted=!0,this._userManager.events.addAccessTokenExpiring(this._tokenExpiring),this._retryTimer.addHandler(this._tokenExpiring);try{await this._userManager.getUser()}catch(e){i.error("getUser error",e)}}}stop(){this._isStarted&&(this._retryTimer.cancel(),this._retryTimer.removeHandler(this._tokenExpiring),this._userManager.events.removeAccessTokenExpiring(this._tokenExpiring),this._isStarted=!1)}},RM=class{constructor(i){this.refresh_token=i.refresh_token,this.id_token=i.id_token,this.session_state=i.session_state,this.scope=i.scope,this.profile=i.profile,this.data=i.state}},NM=class{constructor(i,e,t,a){this._logger=new _e("UserManager"),this.settings=new MM(i),this._client=new kM(i),this._redirectNavigator=e??new TM(this.settings),this._popupNavigator=t??new IM(this.settings),this._iframeNavigator=a??new EM(this.settings),this._events=new DM(this.settings),this._silentRenewService=new LM(this),this.settings.automaticSilentRenew&&this.startSilentRenew(),this._sessionMonitor=null,this.settings.monitorSession&&(this._sessionMonitor=new AM(this))}get events(){return this._events}get metadataService(){return this._client.metadataService}async getUser(i=!1){const e=this._logger.create("getUser"),t=await this._loadUser();return t?(e.info("user loaded"),await this._events.load(t,i),t):(e.info("user not found in storage"),null)}async removeUser(){const i=this._logger.create("removeUser");await this.storeUser(null),i.info("user removed from storage"),await this._events.unload()}async signinRedirect(i={}){var e;this._logger.create("signinRedirect");const{redirectMethod:t,...a}=i;let s;(e=this.settings.dpop)!=null&&e.bind_authorization_code&&(s=await this.generateDPoPJkt(this.settings.dpop));const r=await this._redirectNavigator.prepare({redirectMethod:t});await this._signinStart({request_type:"si:r",dpopJkt:s,...a},r)}async signinRedirectCallback(i=window.location.href){const e=this._logger.create("signinRedirectCallback"),t=await this._signinEnd(i);return t.profile&&t.profile.sub?e.info("success, signed in subject",t.profile.sub):e.info("no subject"),t}async signinResourceOwnerCredentials({username:i,password:e,skipUserInfo:t=!1}){const a=this._logger.create("signinResourceOwnerCredential"),s=await this._client.processResourceOwnerPasswordCredentials({username:i,password:e,skipUserInfo:t,extraTokenParams:this.settings.extraTokenParams});a.debug("got signin response");const r=await this._buildUser(s);return r.profile&&r.profile.sub?a.info("success, signed in subject",r.profile.sub):a.info("no subject"),r}async signinPopup(i={}){var e;const t=this._logger.create("signinPopup");let a;(e=this.settings.dpop)!=null&&e.bind_authorization_code&&(a=await this.generateDPoPJkt(this.settings.dpop));const{popupWindowFeatures:s,popupWindowTarget:r,popupSignal:n,popupAbortOnClose:o,...l}=i,c=this.settings.popup_redirect_uri;c||t.throw(new Error("No popup_redirect_uri configured"));const u=await this._popupNavigator.prepare({popupWindowFeatures:s,popupWindowTarget:r,popupSignal:n,popupAbortOnClose:o}),d=await this._signin({request_type:"si:p",redirect_uri:c,display:"popup",dpopJkt:a,...l},u);return d&&(d.profile&&d.profile.sub?t.info("success, signed in subject",d.profile.sub):t.info("no subject")),d}async signinPopupCallback(i=window.location.href,e=!1){const t=this._logger.create("signinPopupCallback");await this._popupNavigator.callback(i,{keepOpen:e}),t.info("success")}async signinSilent(i={}){var e,t;const a=this._logger.create("signinSilent"),{silentRequestTimeoutInSeconds:s,...r}=i;let n=await this._loadUser();if(!i.forceIframeAuth&&(n!=null&&n.refresh_token)){a.debug("using refresh token");const d=new RM(n);return await this._useRefreshToken({state:d,redirect_uri:r.redirect_uri,resource:r.resource,extraTokenParams:r.extraTokenParams,timeoutInSeconds:s})}let o;(e=this.settings.dpop)!=null&&e.bind_authorization_code&&(o=await this.generateDPoPJkt(this.settings.dpop));const l=this.settings.silent_redirect_uri;l||a.throw(new Error("No silent_redirect_uri configured"));let c;n&&this.settings.validateSubOnSilentRenew&&(a.debug("subject prior to silent renew:",n.profile.sub),c=n.profile.sub);const u=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:s});return n=await this._signin({request_type:"si:s",redirect_uri:l,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?n==null?void 0:n.id_token:void 0,dpopJkt:o,...r},u,c),n&&((t=n.profile)!=null&&t.sub?a.info("success, signed in subject",n.profile.sub):a.info("no subject")),n}async _useRefreshToken(i){const e=await this._client.useRefreshToken({timeoutInSeconds:this.settings.silentRequestTimeoutInSeconds,...i}),t=new Pl({...i.state,...e});return await this.storeUser(t),await this._events.load(t),t}async signinSilentCallback(i=window.location.href){const e=this._logger.create("signinSilentCallback");await this._iframeNavigator.callback(i),e.info("success")}async signinCallback(i=window.location.href){const{state:e}=await this._client.readSigninResponseState(i);switch(e.request_type){case"si:r":return await this.signinRedirectCallback(i);case"si:p":await this.signinPopupCallback(i);break;case"si:s":await this.signinSilentCallback(i);break;default:throw new Error("invalid response_type in state")}}async signoutCallback(i=window.location.href,e=!1){const{state:t}=await this._client.readSignoutResponseState(i);if(t)switch(t.request_type){case"so:r":return await this.signoutRedirectCallback(i);case"so:p":await this.signoutPopupCallback(i,e);break;case"so:s":await this.signoutSilentCallback(i);break;default:throw new Error("invalid response_type in state")}}async querySessionStatus(i={}){const e=this._logger.create("querySessionStatus"),{silentRequestTimeoutInSeconds:t,...a}=i,s=this.settings.silent_redirect_uri;s||e.throw(new Error("No silent_redirect_uri configured"));const r=await this._loadUser(),n=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:t}),o=await this._signinStart({request_type:"si:s",redirect_uri:s,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?r==null?void 0:r.id_token:void 0,response_type:this.settings.query_status_response_type,scope:"openid",skipUserInfo:!0,...a},n);try{const l={},c=await this._client.processSigninResponse(o.url,l);return e.debug("got signin response"),c.session_state&&c.profile.sub?(e.info("success for subject",c.profile.sub),{session_state:c.session_state,sub:c.profile.sub}):(e.info("success, user not authenticated"),null)}catch(l){if(this.settings.monitorAnonymousSession&&l instanceof $a)switch(l.error){case"login_required":case"consent_required":case"interaction_required":case"account_selection_required":return e.info("success for anonymous user"),{session_state:l.session_state}}throw l}}async _signin(i,e,t){const a=await this._signinStart(i,e);return await this._signinEnd(a.url,t)}async _signinStart(i,e){const t=this._logger.create("_signinStart");try{const a=await this._client.createSigninRequest(i);return t.debug("got signin request"),await e.navigate({url:a.url,state:a.state.id,response_mode:a.state.response_mode,scriptOrigin:this.settings.iframeScriptOrigin})}catch(a){throw t.debug("error after preparing navigator, closing navigator window"),e.close(),a}}async _signinEnd(i,e){const t=this._logger.create("_signinEnd"),a={},s=await this._client.processSigninResponse(i,a);return t.debug("got signin response"),await this._buildUser(s,e)}async _buildUser(i,e){const t=this._logger.create("_buildUser"),a=new Pl(i);if(e){if(e!==a.profile.sub)throw t.debug("current user does not match user returned from signin. sub from signin:",a.profile.sub),new $a({...i,error:"login_required"});t.debug("current user matches user returned from signin")}return await this.storeUser(a),t.debug("user stored"),await this._events.load(a),a}async signoutRedirect(i={}){const e=this._logger.create("signoutRedirect"),{redirectMethod:t,...a}=i,s=await this._redirectNavigator.prepare({redirectMethod:t});await this._signoutStart({request_type:"so:r",post_logout_redirect_uri:this.settings.post_logout_redirect_uri,...a},s),e.info("success")}async signoutRedirectCallback(i=window.location.href){const e=this._logger.create("signoutRedirectCallback"),t=await this._signoutEnd(i);return e.info("success"),t}async signoutPopup(i={}){const e=this._logger.create("signoutPopup"),{popupWindowFeatures:t,popupWindowTarget:a,popupSignal:s,...r}=i,n=this.settings.popup_post_logout_redirect_uri,o=await this._popupNavigator.prepare({popupWindowFeatures:t,popupWindowTarget:a,popupSignal:s});await this._signout({request_type:"so:p",post_logout_redirect_uri:n,state:n==null?void 0:{},...r},o),e.info("success")}async signoutPopupCallback(i=window.location.href,e=!1){const t=this._logger.create("signoutPopupCallback");await this._popupNavigator.callback(i,{keepOpen:e}),t.info("success")}async _signout(i,e){const t=await this._signoutStart(i,e);return await this._signoutEnd(t.url)}async _signoutStart(i={},e){var t;const a=this._logger.create("_signoutStart");try{const s=await this._loadUser();a.debug("loaded current user from storage"),this.settings.revokeTokensOnSignout&&await this._revokeInternal(s);const r=i.id_token_hint||s&&s.id_token;r&&(a.debug("setting id_token_hint in signout request"),i.id_token_hint=r),await this.removeUser(),a.debug("user removed, creating signout request");const n=await this._client.createSignoutRequest(i);return a.debug("got signout request"),await e.navigate({url:n.url,state:(t=n.state)==null?void 0:t.id,scriptOrigin:this.settings.iframeScriptOrigin})}catch(s){throw a.debug("error after preparing navigator, closing navigator window"),e.close(),s}}async _signoutEnd(i){const e=this._logger.create("_signoutEnd"),t=await this._client.processSignoutResponse(i);return e.debug("got signout response"),t}async signoutSilent(i={}){var e;const t=this._logger.create("signoutSilent"),{silentRequestTimeoutInSeconds:a,...s}=i,r=this.settings.includeIdTokenInSilentSignout?(e=await this._loadUser())==null?void 0:e.id_token:void 0,n=this.settings.popup_post_logout_redirect_uri,o=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:a});await this._signout({request_type:"so:s",post_logout_redirect_uri:n,id_token_hint:r,...s},o),t.info("success")}async signoutSilentCallback(i=window.location.href){const e=this._logger.create("signoutSilentCallback");await this._iframeNavigator.callback(i),e.info("success")}async revokeTokens(i){const e=await this._loadUser();await this._revokeInternal(e,i)}async _revokeInternal(i,e=this.settings.revokeTokenTypes){const t=this._logger.create("_revokeInternal");if(!i)return;const a=e.filter(s=>typeof i[s]=="string");if(!a.length){t.debug("no need to revoke due to no token(s)");return}for(const s of a)await this._client.revokeToken(i[s],s),t.info(`${s} revoked successfully`),s!=="access_token"&&(i[s]=null);await this.storeUser(i),t.debug("user stored"),await this._events.load(i)}startSilentRenew(){this._logger.create("startSilentRenew"),this._silentRenewService.start()}stopSilentRenew(){this._silentRenewService.stop()}get _userStoreKey(){return`user:${this.settings.authority}:${this.settings.client_id}`}async _loadUser(){const i=this._logger.create("_loadUser"),e=await this.settings.userStore.get(this._userStoreKey);return e?(i.debug("user storageString loaded"),Pl.fromStorageString(e)):(i.debug("no user storageString"),null)}async storeUser(i){const e=this._logger.create("storeUser");if(i){e.debug("storing user");const t=i.toStorageString();await this.settings.userStore.set(this._userStoreKey,t)}else this._logger.debug("removing user"),await this.settings.userStore.remove(this._userStoreKey),this.settings.dpop&&await this.settings.dpop.store.remove(this.settings.client_id)}async clearStaleState(){await this._client.clearStaleState()}async dpopProof(i,e,t,a){var s,r;const n=await((r=(s=this.settings.dpop)==null?void 0:s.store)==null?void 0:r.get(this.settings.client_id));if(n)return await ct.generateDPoPProof({url:i,accessToken:e==null?void 0:e.access_token,httpMethod:t,keyPair:n.keys,nonce:a})}async generateDPoPJkt(i){let e=await i.store.get(this.settings.client_id);if(!e){const t=await ct.generateDPoPKeys();e=new zv(t),await i.store.set(this.settings.client_id,e)}return await ct.generateDPoPJkt(e.keys)}};const kn={requestToken(i){return ce.post("/token/",i)},recoverPassword(i){return ce.post("/password_reset/",i)},checkSmsTotp(i){return ce.post("/sms_totp/",i)},changePassword(i){return ce.post("/reset_confirm/",i)},beginFidoRegistration(){return ce.post("/fido/registration/begin/")},endFidoRegistration(i){return ce.post("/fido/registration/end/",i)},getAllFidoRegistred(){return ce.get("/fido/")},deleteFido(i){return ce.delete(`/fido/${i}/`)},editFido(i,e){return ce.put(`/fido/${i}/`,e)}};function Ff(i){return i.startsWith("http")?i:`${location.protocol}//${location.host}${i}`}const Go=ed("auth",()=>{const i=Bx(),e=Ze(null),t=Ze(!1);let a=Ff(i.OAUTH_REDIRECT_URI),s=Ff(i.OAUTH_POST_REDIRECT_URI);const{current:r}=Fm(),n=new NM({authority:i.OAUTH_AUTHORITY_URL,client_id:i.OAUTH_CLIENT_ID,redirect_uri:a,post_logout_redirect_uri:s,response_type:"code",scope:"openid read write",automaticSilentRenew:!0,accessTokenExpiringNotificationTime:60,monitorSession:!0,filterProtocolClaims:!0,loadUserInfo:!0}),o=Ze([]),l=ze(()=>e.value.mailbox!==null),c=ze(()=>{if(e.value.language.indexOf("-")!==-1){const w=e.value.language.split("-");return`${w[0]}_${w[1].toUpperCase()}`}return e.value.language});async function u(){const w=await ar.getMe();e.value=w.data,ja.current=c.value,r.value=c.value,t.value=!0}async function d(){return kn.getAllFidoRegistred().then(w=>(o.value=w.data,o.value.length>0&&(e.value.tfa_enabled=!0,e.value.webauthn_enabled=!0),w))}async function h(w){return kn.endFidoRegistration(w).then(S=>(d(),S))}async function f(w){return kn.deleteFido(w).then(S=>{o.value=o.value.filter(C=>C.id!==w),e.value.tfa_enabled=S.data.tfa_enabled,S.data.tfa_enabled||(e.value.webauthn_enabled=!1)})}async function g(w,S){return kn.editFido(w,S).then(C=>{for(let M=0;M<o.value.length;M++)if(o.value[M].id===w){o.value[M]=C.data;break}return C})}function p(){return n.getUser().then(w=>w?w.access_token:null)}async function m(){const w=await n.getUser();return!w||w.expired?!1:(ce.defaults.headers.common.Authorization=`Bearer ${w.access_token}`,ce.defaults.headers.post["Content-Type"]="application/json",t.value||await u(),!0)}async function v(){try{await n.signinRedirect()}catch(w){console.error("Error logging in:",w)}}async function b(w){try{const S=await n.signinCallback();t.value=!0;const C=sessionStorage.getItem("previousPage");return C?window.location.href=C:ua.push(w),S}catch(S){return console.error("Error completing login:",S),ua.push({name:"Dashboard"}),null}}async function x(){delete ce.defaults.headers.common.Authorization,e.value={},t.value=!1,n.signoutRedirect()}async function k(w){return ar.updateMe(w).then(S=>{const C={...e.value,...S.data};delete C.password,e.value={...C},c.value in ja.available&&(ja.current=c.value,r.value=c.value)})}async function y(w){return ar.setPassword(w)}function A(w){return ar.finalizeTFASetup(w).then(S=>{const C=Nc.withAttributes({sameSite:"strict"});return C.set("token",S.data.access),C.set("refreshToken",S.data.refresh),u(),S})}return{authUser:e,accountLanguage:c,completeLogin:b,isAuthenticated:t,userHasMailbox:l,fidoCreds:o,validateAccess:m,fetchUser:u,getAccessToken:p,getFidoCreds:d,addFidoCred:h,deleteFidoCreds:f,editFidoCred:g,login:v,$reset:x,updateAccount:k,updatePassword:y,finalizeTFASetup:A}}),OM=ed("bus",()=>{const i=Ze(""),e=Ze(""),t=Ze(2e3),a=Ze(1),s=Ze(1);async function r(){i.value="",e.value="",t.value=2e3,a.value=1,s.value=1}function n(u){i.value=u.msg,e.value=u.type?u.type:"success",u.timeout!==void 0&&(t.value=u.timeout)}function o(){i.value=""}function l(){a.value++}function c(){s.value++}return{notification:i,notificationColor:e,displayNotification:n,hideNotification:o,reloadMailboxCounters:c,dataKey:a,mbCounterKey:s,reloadData:l,$reset:r}}),FM=WS(),zM=1,BM=2,HM="SuperAdmins",WM="Resellers",jM="DomainAdmins",YM="SimpleUsers",ue={ALARM_OPENED:zM,ALARM_CLOSED:BM,SUPER_ADMIN:HM,RESELLER:WM,DOMAIN_ADMIN:jM,USER:YM},VM=[{path:"/login",component:()=>we(()=>import("./EmptyLayout-NrTftp18.js"),__vite__mapDeps([0,1,2,3,4,5])),children:[{path:"",name:"Login",component:()=>we(()=>import("./LoginView-DHYITkn4.js"),__vite__mapDeps([6,7,2,8,9,10,11]))},{path:"logged",name:"LoginCallback",component:()=>we(()=>import("./LoginCallbackView-DAvty3CI.js"),__vite__mapDeps([12,13,11,2,8,7,9,10])),props:{redirectUrl:"/admin"}}]},{path:"/admin",component:()=>we(()=>import("./AdminLayout-itB_mmH_.js"),__vite__mapDeps([14,15,16,13,11,2,8,1,3,4,5,17,18,19,9,10,20,21,22,23,24,25,26,7,27,28,29,30])),meta:{allowedRoles:[ue.DOMAIN_ADMIN,ue.RESELLER,ue.SUPER_ADMIN]},children:[{path:"",name:"Dashboard",component:()=>we(()=>import("./DashboardView-BBkBodVj.js"),__vite__mapDeps([31,32,25,2,19,9,10,20,26,33,34,35,36,37,38,39,21,4,22,40,41,42,43,44,45,46,47,15,48,49,7,8,50])),meta:{requiresAuth:!0}},{path:"domains",component:()=>we(()=>import("./EmptyLayout-NrTftp18.js"),__vite__mapDeps([0,1,2,3,4,5])),meta:{requiresAuth:!0,allowedRoles:[ue.DOMAIN_ADMIN,ue.RESELLER,ue.SUPER_ADMIN]},children:[{path:"",name:"DomainList",component:()=>we(()=>import("./DomainsView-ffYjiffp.js"),__vite__mapDeps([51,52,53,54,55,2,37,19,9,10,20,38,21,4,22,25,26,39,40,56,36,41,42,43,44,46,57,58,59,60,8,15,61,62,48,49,63,64,7,17,65,66,11,27,28,67,68,69,70,71,72,73,74,75,76,77,78,79,35,45,33,34,47,80,23,24,81,82,83,84,85])),meta:{requiresAuth:!0,allowedRoles:[ue.DOMAIN_ADMIN,ue.RESELLER,ue.SUPER_ADMIN]}},{path:":id",name:"DomainDetail",meta:{requiresAuth:!0,allowedRoles:[ue.DOMAIN_ADMIN,ue.RESELLER,ue.SUPER_ADMIN]},component:()=>we(()=>import("./DomainView-BXvznFYz.js"),__vite__mapDeps([86,78,19,2,9,10,20,75,52,25,26,79,35,36,37,38,39,21,4,22,40,41,42,43,44,45,33,34,46,47,56,57,7,8,87,48,49,60,27,28,88,89,76,77,62,63,64,71,90,91,92,72,73,93,11,94,55,95,96,23,24,97,98,99,100,101,65,66,102,103]))},{path:":id/edit",name:"DomainEdit",meta:{requiresAuth:!0,allowedRoles:[ue.DOMAIN_ADMIN,ue.RESELLER,ue.SUPER_ADMIN]},component:()=>we(()=>import("./DomainEditView-DoIoNYC4.js"),__vite__mapDeps([104,68,69,19,2,9,10,20,70,55,37,38,21,4,22,39,40,58,42,43,59,71,56,36,41,44,46,57,72,73,93,7,8,11,15,94,52,88,89,105,48,49,106]))}]},{path:"imap_migration",component:()=>we(()=>import("./EmptyLayout-NrTftp18.js"),__vite__mapDeps([0,1,2,3,4,5])),meta:{requiresAuth:!0,allowedRoles:[ue.DOMAIN_ADMIN,ue.RESELLER,ue.SUPER_ADMIN]},children:[{path:"migrations",name:"MigrationsList",component:()=>we(()=>import("./MigrationsView-DXGKKz2h.js"),__vite__mapDeps([107,80,21,19,2,9,10,20,4,22,35,36,37,38,39,40,41,42,43,44,45,33,34,46,47,48,49,60,8,25,26,108])),meta:{requiresAuth:!0,allowedRoles:[ue.RESELLER,ue.SUPER_ADMIN]}},{path:"providers",component:()=>we(()=>import("./EmptyLayout-NrTftp18.js"),__vite__mapDeps([0,1,2,3,4,5])),meta:{requiresAuth:!0,allowedRoles:[ue.RESELLER,ue.SUPER_ADMIN]},children:[{path:"",name:"ProvidersList",component:()=>we(()=>import("./ProvidersView-Bhk7sCz4.js"),__vite__mapDeps([109,61,62,48,2,19,9,10,20,49,25,26,60,8,63,21,4,22,64,7,17,65,66,11,27,28,67,110,39,37,38,40,56,36,41,42,43,44,46,57,55,105,52,58,59,111,80,35,45,33,34,47,112])),meta:{requiresAuth:!0,allowedRoles:[ue.RESELLER,ue.SUPER_ADMIN]}},{path:"providers/:id/edit",name:"ProviderEdit",component:()=>we(()=>import("./ProviderEditView-De-8ggBp.js"),__vite__mapDeps([113,110,39,19,2,9,10,20,37,38,21,4,22,40,56,36,41,42,43,44,46,57,55,60,8,105,52,58,59,111,88,89,7])),meta:{requiresAuth:!0,allowedRoles:[ue.RESELLER,ue.SUPER_ADMIN]}}]}]},{path:"identities",component:()=>we(()=>import("./EmptyLayout-NrTftp18.js"),__vite__mapDeps([0,1,2,3,4,5])),meta:{requiresAuth:!0,allowedRoles:[ue.DOMAIN_ADMIN,ue.RESELLER,ue.SUPER_ADMIN]},children:[{path:"",name:"Identities",component:()=>we(()=>import("./IdentitiesView-CZFf4oR9.js"),__vite__mapDeps([114,80,21,19,2,9,10,20,4,22,62,48,49,25,26,60,8,63,64,72,41,42,37,38,43,73,75,115,54,36,39,40,44,90,91,81,35,45,33,34,46,47,116,117,105,52,118,55,58,59,119,120,61,7,17,65,66,11,27,28,67,121,69,70,76,77,74,122,53,82,83,84,123])),meta:{requiresAuth:!0,allowedRoles:[ue.DOMAIN_ADMIN,ue.RESELLER,ue.SUPER_ADMIN]}},{path:"accounts/:id",name:"AccountDetail",component:()=>we(()=>import("./AccountView-dgseekZ8.js"),__vite__mapDeps([124,53,75,15,25,2,19,9,10,20,26,36,37,38,39,21,4,22,40,41,42,43,44,35,45,33,34,46,47,125,126,7,8,48,49,127])),meta:{requiresAuth:!0,allowedRoles:[ue.DOMAIN_ADMIN,ue.RESELLER,ue.SUPER_ADMIN]}},{path:"accounts/:id/edit",name:"AccountEdit",component:()=>we(()=>import("./AccountEditView-CCuN9mGB.js"),__vite__mapDeps([128,121,69,19,2,9,10,20,70,7,8,76,77,55,37,38,21,4,22,74,75,39,40,58,42,43,59,117,105,52,118,36,41,44,122,56,46,57,125,126,94,93,11,15,53,88,89,48,49,129])),meta:{requiresAuth:!0,allowedRoles:[ue.DOMAIN_ADMIN,ue.RESELLER,ue.SUPER_ADMIN]}},{path:"aliases/:id",name:"AliasDetail",component:()=>we(()=>import("./AliasView-BN13MNN_.js"),__vite__mapDeps([130,25,2,19,9,10,20,26,7,8,115,48,49,131])),meta:{requiresAuth:!0,allowedRoles:[ue.DOMAIN_ADMIN,ue.RESELLER,ue.SUPER_ADMIN]}},{path:"aliases/:id/edit",name:"AliasEdit",component:()=>we(()=>import("./AliasEditView-CTjrXYPf.js"),__vite__mapDeps([132,116,115,117,39,19,2,9,10,20,37,38,21,4,22,40,105,52,118,55,58,42,43,59,36,41,44,119,120,93,7,8,11,88,89,48,49,133])),meta:{requiresAuth:!0,allowedRoles:[ue.DOMAIN_ADMIN,ue.RESELLER,ue.SUPER_ADMIN]}}]},{path:"parameters/:app",name:"ParametersEdit",component:()=>we(()=>import("./ParametersView-CfvVzKea.js"),__vite__mapDeps([134,15,135,136,19,2,9,10,20,21,4,22,137,101,65,66,36,37,38,39,40,41,42,43,44,102,11,8,25,26,58,59,119,120,138,87,97,27,28,98,139,140,48,49,30,141])),meta:{requiresAuth:!0,allowedRoles:[ue.SUPER_ADMIN]}},{path:"alarms",name:"Alarms",component:()=>we(()=>import("./AlarmsView-King6zb6.js"),__vite__mapDeps([142,54,80,21,19,2,9,10,20,4,22,36,37,38,39,40,41,42,43,44,48,49,81,35,45,33,34,46,47,25,26,143])),meta:{requiresAuth:!0}},{path:"monitoring/statistics",name:"Statistics",component:()=>we(()=>import("./StatisticsView-FiidWvad.js"),__vite__mapDeps([144,95,96,19,2,9,10,20,60,8,23,24,97,27,28,98,99,39,37,38,21,4,22,40,48,49,11,7,25,26,100,3,145])),meta:{requiresAuth:!0,allowedRoles:[ue.SUPER_ADMIN]}},{path:"monitoring/audit_trail",name:"AuditTrail",component:()=>we(()=>import("./AuditTrailView-C1jQwgoo.js"),__vite__mapDeps([146,147,54,81,35,19,2,9,10,20,36,37,38,39,21,4,22,40,41,42,43,44,45,33,34,46,47,48,49,25,26,148])),meta:{requiresAuth:!0,allowedRoles:[ue.SUPER_ADMIN]}},{path:"monitoring/messages",name:"MessageLog",component:()=>we(()=>import("./MessagesView-CyecRd4I.js"),__vite__mapDeps([149,147,54,48,2,19,9,10,20,49,39,37,38,21,4,22,40,81,35,36,41,42,43,44,45,33,34,46,47,25,26,150])),meta:{requiresAuth:!0,allowedRoles:[ue.DOMAIN_ADMIN,ue.RESELLER,ue.SUPER_ADMIN]}},{path:"information",name:"Information",component:()=>we(()=>import("./InformationView-CAtneAqM.js"),__vite__mapDeps([151,32,48,2,19,9,10,20,49,25,26,76,77,79,35,36,37,38,39,21,4,22,40,41,42,43,44,45,33,34,46,47,152])),meta:{requiresAuth:!0,allowedRoles:[ue.SUPER_ADMIN]}}]},{path:"/account",component:()=>we(()=>import("./AccountLayout-Ge7fzuZg.js"),__vite__mapDeps([153,16,13,11,2,8,1,3,4,5,17,18,19,9,10,20,21,22,23,24,25,26,7,27,28,29,15])),meta:{requiresAuth:!0},children:[{path:"filters/:filterset?",name:"AccountFilters",component:()=>we(()=>import("./FiltersView-SOQy0U_3.js"),__vite__mapDeps([154,55,2,37,19,9,10,20,38,21,4,22,25,26,39,40,58,42,43,59,60,8,90,91,36,41,44,72,73,80,48,49,35,45,33,34,46,47,63,64,56,57,119,120])),meta:{requiresAuth:!0,requiresMailbox:!0}},{path:"parameters/:app",name:"AccountParametersEdit",component:()=>we(()=>import("./ParametersView-B1wT5oyt.js"),__vite__mapDeps([155,135,136,19,2,9,10,20,21,4,22,137,101,65,66,36,37,38,39,40,41,42,43,44,102,11,8,25,26,58,59,119,120,138,87,97,27,28,98,139,140,15,48,49,156])),meta:{requiresAuth:!0}},{path:":tab?",name:"AccountSettings",component:()=>we(()=>import("./SettingsView-s2l2Xl1L.js"),__vite__mapDeps([157,126,74,75,55,2,37,19,9,10,20,38,21,4,22,39,40,7,8,58,42,43,59,76,77,88,89,56,36,41,44,46,57,25,26,33,34,60,63,64,119,120,72,73,62,48,49,79,35,45,47,101,65,66,102,158])),meta:{requiresAuth:!0}}]},{path:"/user",meta:{requiresAuth:!0},children:[{path:"",name:"UserDashboard",component:()=>we(()=>import("./DashboardView-BBkBodVj.js"),__vite__mapDeps([31,32,25,2,19,9,10,20,26,33,34,35,36,37,38,39,21,4,22,40,41,42,43,44,45,46,47,15,48,49,7,8,50])),meta:{requiresAuth:!0}},{path:"contacts",component:()=>we(()=>import("./UserLayout-DyvI8duf.js"),__vite__mapDeps([159,16,13,11,2,8,1,3,4,5,17,18,19,9,10,20,21,22,23,24,25,26,7,27,28,29])),meta:{requiresAuth:!0,requiresMailbox:!0},children:[{path:":category?",name:"ContactList",component:()=>we(()=>import("./AddressBook-DZWOHOJj.js"),__vite__mapDeps([160,161,15,25,2,19,9,10,20,26,76,77,60,8,55,37,38,21,4,22,39,40,7,36,41,42,43,44,119,120,72,73,80,81,35,45,33,34,46,47,48,49,63,64,18])),meta:{requiresAuth:!0}}]},{path:"calendars",component:()=>we(()=>import("./UserLayout-DyvI8duf.js"),__vite__mapDeps([159,16,13,11,2,8,1,3,4,5,17,18,19,9,10,20,21,22,23,24,25,26,7,27,28,29])),meta:{requiresAuth:!0,requiresMailbox:!0},children:[{path:"",name:"CalendarView",component:()=>we(()=>import("./CalendarView-rRSzqxrH.js"),__vite__mapDeps([162,25,2,19,9,10,20,26,55,37,38,21,4,22,36,39,40,41,42,43,44,72,73,60,8,33,34,7,138,87,97,27,28,98,139,76,77,62,48,49,63,64,119,120,83,84,45,18,163])),meta:{requiresAuth:!0,requiresMailbox:!0}}]},{path:"webmail",component:()=>we(()=>import("./WebmailLayout-tosQSHLS.js"),__vite__mapDeps([164,17,62,48,2,19,9,10,20,49,25,26,60,8,63,21,4,22,64,16,13,11,1,3,5,18,23,24,7,27,28,29,165,166,55,37,38,39,40,167])),meta:{requiresAuth:!0,requiresMailbox:!0},children:[{path:"",name:"MailboxView",component:()=>we(()=>import("./MailboxView-DHg5A78D.js"),__vite__mapDeps([168,169,55,2,37,19,9,10,20,38,21,4,22,25,26,96,60,8,23,24,97,27,28,98,99,39,40,80,165,48,49,72,41,42,43,73,76,77,63,64,166,170])),meta:{requiresAuth:!0,requiresMailbox:!0}},{path:"view",name:"EmailView",component:()=>we(()=>import("./EmailView-Bq2bHZBO.js"),__vite__mapDeps([171,165,161,21,19,2,9,10,20,4,22,25,26,48,49,60,8,76,77,63,64,172])),meta:{requiresAuth:!0,requiresMailbox:!0}},{path:"compose",name:"ComposeEmailView",component:()=>we(()=>import("./ComposeEmailView-JW22Phrb.js"),__vite__mapDeps([173,174,54,165,55,2,37,19,9,10,20,38,21,4,22,25,26,83,39,40,36,41,42,43,44,84,33,34,60,8,136,137,119,120,169,96,23,24,97,27,28,98,99,161,48,49,7,46,63,64,175])),meta:{requiresAuth:!0,requiresMailbox:!0}},{path:"reply",name:"ReplyEmailView",component:()=>we(()=>import("./ReplyEmailView-BvuOZdLl.js"),__vite__mapDeps([176,174,54,165,55,2,37,19,9,10,20,38,21,4,22,25,26,83,39,40,36,41,42,43,44,84,33,34,60,8,136,137,119,120,169,96,23,24,97,27,28,98,99,161,48,49,7,46,63,64,175])),meta:{requiresAuth:!0,requiresMailbox:!0}},{path:"forward",name:"ForwardEmailView",component:()=>we(()=>import("./ForwardEmailView-kEPDjWUw.js"),__vite__mapDeps([177,174,54,165,55,2,37,19,9,10,20,38,21,4,22,25,26,83,39,40,36,41,42,43,44,84,33,34,60,8,136,137,119,120,169,96,23,24,97,27,28,98,99,161,48,49,7,46,63,64,175])),meta:{requiresAuth:!0,requiresMailbox:!0}}]},{path:"quarantine",component:()=>we(()=>import("./QuarantineLayout-C1YszNmP.js"),__vite__mapDeps([178,16,13,11,2,8,1,3,4,5,17,18,19,9,10,20,21,22,23,24,25,26,7,27,28,29])),meta:{requiresAuth:!0},children:[{path:"",name:"QuarantineView",component:()=>we(()=>import("./QuarantineView-cElD_rS-.js"),__vite__mapDeps([179,54,180,53,15,62,48,2,19,9,10,20,49,25,26,60,8,63,21,4,22,64,92,36,37,38,39,40,41,42,43,44,90,91,81,35,45,33,34,46,47,181])),meta:{requiresAuth:!0}},{path:":mailid/:rcpt",name:"QuarantineMessageView",component:()=>we(()=>import("./MessageView-CrrEJpNI.js"),__vite__mapDeps([182,180,53,15,62,48,2,19,9,10,20,49,25,26,60,8,63,21,4,22,64,92,76,77,7,90,42,37,38,43,91])),meta:{requiresAuth:!0}}]},{path:"selfquarantine",component:()=>we(()=>import("./SelfServiceLayout-JHRvfvQf.js"),__vite__mapDeps([183,16,13,11,2,8,1,3,4,5,17,18,19,9,10,20,21,22,23,24,25,26,7,27,28,29])),props:{loadTheme:!1},meta:{requiresAuth:!1},children:[{path:":mailid/:rcpt",name:"SelfQuarantineMessageView",component:()=>we(()=>import("./MessageView-CrrEJpNI.js"),__vite__mapDeps([182,180,53,15,62,48,2,19,9,10,20,49,25,26,60,8,63,21,4,22,64,92,76,77,7,90,42,37,38,43,91]))}]}]},{path:"/:pathMatch(.*)*",name:"NotFound",redirect:{name:"Dashboard",params:{}}}],ua=HS({history:bS("/"),routes:VM});ua.beforeEach(async(i,e,t)=>{var s;const a=Bx();if(document.title=a.HTML_PAGE_TITLE?a.HTML_PAGE_TITLE:"Welcome to Modoboa",((s=i.meta)==null?void 0:s.requiresAuth)===!0){const r=window.location.href;sessionStorage.setItem("previousPage",r);const n=Go(),o=C1();if(await n.validateAccess()){if(i.meta.allowedRoles!==void 0&&i.meta.allowedRoles.indexOf(n.authUser.role)===-1){await o.fetchAvailableApplications();const c=o.webmailEnabled?"MailboxView":"AccountSettings";t({name:c});return}if(i.meta.requiresMailbox&&!n.authUser.mailbox){t({name:"Dashboard"});return}}else{t({name:"Login"});return}}t()});class Ja extends Error{}class UM extends Ja{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class XM extends Ja{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class qM extends Ja{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class ps extends Ja{}class Uv extends Ja{constructor(e){super(`Invalid unit ${e}`)}}class yt extends Ja{}class ea extends Ja{constructor(){super("Zone is an abstract class")}}const Q="numeric",vi="short",qt="long",ho={year:Q,month:Q,day:Q},Xv={year:Q,month:vi,day:Q},GM={year:Q,month:vi,day:Q,weekday:vi},qv={year:Q,month:qt,day:Q},Gv={year:Q,month:qt,day:Q,weekday:qt},$v={hour:Q,minute:Q},Kv={hour:Q,minute:Q,second:Q},Zv={hour:Q,minute:Q,second:Q,timeZoneName:vi},Jv={hour:Q,minute:Q,second:Q,timeZoneName:qt},Qv={hour:Q,minute:Q,hourCycle:"h23"},eb={hour:Q,minute:Q,second:Q,hourCycle:"h23"},tb={hour:Q,minute:Q,second:Q,hourCycle:"h23",timeZoneName:vi},ib={hour:Q,minute:Q,second:Q,hourCycle:"h23",timeZoneName:qt},ab={year:Q,month:Q,day:Q,hour:Q,minute:Q},sb={year:Q,month:Q,day:Q,hour:Q,minute:Q,second:Q},rb={year:Q,month:vi,day:Q,hour:Q,minute:Q},nb={year:Q,month:vi,day:Q,hour:Q,minute:Q,second:Q},$M={year:Q,month:vi,day:Q,weekday:vi,hour:Q,minute:Q},ob={year:Q,month:qt,day:Q,hour:Q,minute:Q,timeZoneName:vi},lb={year:Q,month:qt,day:Q,hour:Q,minute:Q,second:Q,timeZoneName:vi},cb={year:Q,month:qt,day:Q,weekday:qt,hour:Q,minute:Q,timeZoneName:qt},ub={year:Q,month:qt,day:Q,weekday:qt,hour:Q,minute:Q,second:Q,timeZoneName:qt};class en{get type(){throw new ea}get name(){throw new ea}get ianaName(){return this.name}get isUniversal(){throw new ea}offsetName(e,t){throw new ea}formatOffset(e,t){throw new ea}offset(e){throw new ea}equals(e){throw new ea}get isValid(){throw new ea}}let _l=null;class $o extends en{static get instance(){return _l===null&&(_l=new $o),_l}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:a}){return wb(e,t,a)}formatOffset(e,t){return xr(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}const Vc=new Map;function KM(i){let e=Vc.get(i);return e===void 0&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:i,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Vc.set(i,e)),e}const ZM={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function JM(i,e){const t=i.format(e).replace(/\u200E/g,""),a=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(t),[,s,r,n,o,l,c,u]=a;return[n,s,r,o,l,c,u]}function QM(i,e){const t=i.formatToParts(e),a=[];for(let s=0;s<t.length;s++){const{type:r,value:n}=t[s],o=ZM[r];r==="era"?a[o]=n:ye(o)||(a[o]=parseInt(n,10))}return a}const Il=new Map;class Xi extends en{static create(e){let t=Il.get(e);return t===void 0&&Il.set(e,t=new Xi(e)),t}static resetCache(){Il.clear(),Vc.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=Xi.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:t,locale:a}){return wb(e,t,a,this.name)}formatOffset(e,t){return xr(this.offset(e),t)}offset(e){if(!this.valid)return NaN;const t=new Date(e);if(isNaN(t))return NaN;const a=KM(this.name);let[s,r,n,o,l,c,u]=a.formatToParts?QM(a,t):JM(a,t);o==="BC"&&(s=-Math.abs(s)+1);const h=Zo({year:s,month:r,day:n,hour:l===24?0:l,minute:c,second:u,millisecond:0});let f=+t;const g=f%1e3;return f-=g>=0?g:1e3+g,(h-f)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}let zf={};function eE(i,e={}){const t=JSON.stringify([i,e]);let a=zf[t];return a||(a=new Intl.ListFormat(i,e),zf[t]=a),a}const Uc=new Map;function Xc(i,e={}){const t=JSON.stringify([i,e]);let a=Uc.get(t);return a===void 0&&(a=new Intl.DateTimeFormat(i,e),Uc.set(t,a)),a}const qc=new Map;function tE(i,e={}){const t=JSON.stringify([i,e]);let a=qc.get(t);return a===void 0&&(a=new Intl.NumberFormat(i,e),qc.set(t,a)),a}const Gc=new Map;function iE(i,e={}){const{base:t,...a}=e,s=JSON.stringify([i,a]);let r=Gc.get(s);return r===void 0&&(r=new Intl.RelativeTimeFormat(i,e),Gc.set(s,r)),r}let rr=null;function aE(){return rr||(rr=new Intl.DateTimeFormat().resolvedOptions().locale,rr)}const $c=new Map;function db(i){let e=$c.get(i);return e===void 0&&(e=new Intl.DateTimeFormat(i).resolvedOptions(),$c.set(i,e)),e}const Kc=new Map;function sE(i){let e=Kc.get(i);if(!e){const t=new Intl.Locale(i);e="getWeekInfo"in t?t.getWeekInfo():t.weekInfo,"minimalDays"in e||(e={...hb,...e}),Kc.set(i,e)}return e}function rE(i){const e=i.indexOf("-x-");e!==-1&&(i=i.substring(0,e));const t=i.indexOf("-u-");if(t===-1)return[i];{let a,s;try{a=Xc(i).resolvedOptions(),s=i}catch{const l=i.substring(0,t);a=Xc(l).resolvedOptions(),s=l}const{numberingSystem:r,calendar:n}=a;return[s,r,n]}}function nE(i,e,t){return(t||e)&&(i.includes("-u-")||(i+="-u"),t&&(i+=`-ca-${t}`),e&&(i+=`-nu-${e}`)),i}function oE(i){const e=[];for(let t=1;t<=12;t++){const a=xe.utc(2009,t,1);e.push(i(a))}return e}function lE(i){const e=[];for(let t=1;t<=7;t++){const a=xe.utc(2016,11,13+t);e.push(i(a))}return e}function An(i,e,t,a){const s=i.listingMode();return s==="error"?null:s==="en"?t(e):a(e)}function cE(i){return i.numberingSystem&&i.numberingSystem!=="latn"?!1:i.numberingSystem==="latn"||!i.locale||i.locale.startsWith("en")||db(i.locale).numberingSystem==="latn"}class uE{constructor(e,t,a){this.padTo=a.padTo||0,this.floor=a.floor||!1;const{padTo:s,floor:r,...n}=a;if(!t||Object.keys(n).length>0){const o={useGrouping:!1,...a};a.padTo>0&&(o.minimumIntegerDigits=a.padTo),this.inf=tE(e,o)}}format(e){if(this.inf){const t=this.floor?Math.floor(e):e;return this.inf.format(t)}else{const t=this.floor?Math.floor(e):hd(e,3);return lt(t,this.padTo)}}}class dE{constructor(e,t,a){this.opts=a,this.originalZone=void 0;let s;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){const n=-1*(e.offset/60),o=n>=0?`Etc/GMT+${n}`:`Etc/GMT${n}`;e.offset!==0&&Xi.create(o).valid?(s=o,this.dt=e):(s="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,s=e.zone.name):(s="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const r={...this.opts};r.timeZone=r.timeZone||s,this.dtf=Xc(t,r)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(t=>{if(t.type==="timeZoneName"){const a=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:a}}else return t}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class hE{constructor(e,t,a){this.opts={style:"long",...a},!t&&xb()&&(this.rtf=iE(e,a))}format(e,t){return this.rtf?this.rtf.format(e,t):RE(t,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}}const hb={firstDay:1,minimalDays:4,weekend:[6,7]};class je{static fromOpts(e){return je.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,t,a,s,r=!1){const n=e||it.defaultLocale,o=n||(r?"en-US":aE()),l=t||it.defaultNumberingSystem,c=a||it.defaultOutputCalendar,u=Jc(s)||it.defaultWeekSettings;return new je(o,l,c,u,n)}static resetCache(){rr=null,Uc.clear(),qc.clear(),Gc.clear(),$c.clear(),Kc.clear()}static fromObject({locale:e,numberingSystem:t,outputCalendar:a,weekSettings:s}={}){return je.create(e,t,a,s)}constructor(e,t,a,s,r){const[n,o,l]=rE(e);this.locale=n,this.numberingSystem=t||o||null,this.outputCalendar=a||l||null,this.weekSettings=s,this.intl=nE(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=cE(this)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),t=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&t?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:je.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,Jc(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,t=!1){return An(this,e,Sb,()=>{const a=this.intl==="ja"||this.intl.startsWith("ja-");t&=!a;const s=t?{month:e,day:"numeric"}:{month:e},r=t?"format":"standalone";if(!this.monthsCache[r][e]){const n=a?o=>this.dtFormatter(o,s).format():o=>this.extract(o,s,"month");this.monthsCache[r][e]=oE(n)}return this.monthsCache[r][e]})}weekdays(e,t=!1){return An(this,e,Eb,()=>{const a=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},s=t?"format":"standalone";return this.weekdaysCache[s][e]||(this.weekdaysCache[s][e]=lE(r=>this.extract(r,a,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return An(this,void 0,()=>Pb,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[xe.utc(2016,11,13,9),xe.utc(2016,11,13,19)].map(t=>this.extract(t,e,"dayperiod"))}return this.meridiemCache})}eras(e){return An(this,e,_b,()=>{const t={era:e};return this.eraCache[e]||(this.eraCache[e]=[xe.utc(-40,1,1),xe.utc(2017,1,1)].map(a=>this.extract(a,t,"era"))),this.eraCache[e]})}extract(e,t,a){const s=this.dtFormatter(e,t),r=s.formatToParts(),n=r.find(o=>o.type.toLowerCase()===a);return n?n.value:null}numberFormatter(e={}){return new uE(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new dE(e,this.intl,t)}relFormatter(e={}){return new hE(this.intl,this.isEnglish(),e)}listFormatter(e={}){return eE(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||db(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:yb()?sE(this.locale):hb}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Tl=null;class Nt extends en{static get utcInstance(){return Tl===null&&(Tl=new Nt(0)),Tl}static instance(e){return e===0?Nt.utcInstance:new Nt(e)}static parseSpecifier(e){if(e){const t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new Nt(Jo(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${xr(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${xr(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return xr(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}class fE extends en{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function la(i,e){if(ye(i)||i===null)return e;if(i instanceof en)return i;if(xE(i)){const t=i.toLowerCase();return t==="default"?e:t==="local"||t==="system"?$o.instance:t==="utc"||t==="gmt"?Nt.utcInstance:Nt.parseSpecifier(t)||Xi.create(i)}else return fa(i)?Nt.instance(i):typeof i=="object"&&"offset"in i&&typeof i.offset=="function"?i:new fE(i)}const ld={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Bf={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},gE=ld.hanidec.replace(/[\[|\]]/g,"").split("");function pE(i){let e=parseInt(i,10);if(isNaN(e)){e="";for(let t=0;t<i.length;t++){const a=i.charCodeAt(t);if(i[t].search(ld.hanidec)!==-1)e+=gE.indexOf(i[t]);else for(const s in Bf){const[r,n]=Bf[s];a>=r&&a<=n&&(e+=a-r)}}return parseInt(e,10)}else return e}const Zc=new Map;function mE(){Zc.clear()}function ni({numberingSystem:i},e=""){const t=i||"latn";let a=Zc.get(t);a===void 0&&(a=new Map,Zc.set(t,a));let s=a.get(e);return s===void 0&&(s=new RegExp(`${ld[t]}${e}`),a.set(e,s)),s}let Hf=()=>Date.now(),Wf="system",jf=null,Yf=null,Vf=null,Uf=60,Xf,qf=null;class it{static get now(){return Hf}static set now(e){Hf=e}static set defaultZone(e){Wf=e}static get defaultZone(){return la(Wf,$o.instance)}static get defaultLocale(){return jf}static set defaultLocale(e){jf=e}static get defaultNumberingSystem(){return Yf}static set defaultNumberingSystem(e){Yf=e}static get defaultOutputCalendar(){return Vf}static set defaultOutputCalendar(e){Vf=e}static get defaultWeekSettings(){return qf}static set defaultWeekSettings(e){qf=Jc(e)}static get twoDigitCutoffYear(){return Uf}static set twoDigitCutoffYear(e){Uf=e%100}static get throwOnInvalid(){return Xf}static set throwOnInvalid(e){Xf=e}static resetCaches(){je.resetCache(),Xi.resetCache(),xe.resetCache(),mE()}}class ui{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const fb=[0,31,59,90,120,151,181,212,243,273,304,334],gb=[0,31,60,91,121,152,182,213,244,274,305,335];function ti(i,e){return new ui("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${i}, which is invalid`)}function cd(i,e,t){const a=new Date(Date.UTC(i,e-1,t));i<100&&i>=0&&a.setUTCFullYear(a.getUTCFullYear()-1900);const s=a.getUTCDay();return s===0?7:s}function pb(i,e,t){return t+(tn(i)?gb:fb)[e-1]}function mb(i,e){const t=tn(i)?gb:fb,a=t.findIndex(r=>r<e),s=e-t[a];return{month:a+1,day:s}}function ud(i,e){return(i-e+7)%7+1}function fo(i,e=4,t=1){const{year:a,month:s,day:r}=i,n=pb(a,s,r),o=ud(cd(a,s,r),t);let l=Math.floor((n-o+14-e)/7),c;return l<1?(c=a-1,l=Nr(c,e,t)):l>Nr(a,e,t)?(c=a+1,l=1):c=a,{weekYear:c,weekNumber:l,weekday:o,...Qo(i)}}function Gf(i,e=4,t=1){const{weekYear:a,weekNumber:s,weekday:r}=i,n=ud(cd(a,1,e),t),o=ks(a);let l=s*7+r-n-7+e,c;l<1?(c=a-1,l+=ks(c)):l>o?(c=a+1,l-=ks(a)):c=a;const{month:u,day:d}=mb(c,l);return{year:c,month:u,day:d,...Qo(i)}}function Dl(i){const{year:e,month:t,day:a}=i,s=pb(e,t,a);return{year:e,ordinal:s,...Qo(i)}}function $f(i){const{year:e,ordinal:t}=i,{month:a,day:s}=mb(e,t);return{year:e,month:a,day:s,...Qo(i)}}function Kf(i,e){if(!ye(i.localWeekday)||!ye(i.localWeekNumber)||!ye(i.localWeekYear)){if(!ye(i.weekday)||!ye(i.weekNumber)||!ye(i.weekYear))throw new ps("Cannot mix locale-based week fields with ISO-based week fields");return ye(i.localWeekday)||(i.weekday=i.localWeekday),ye(i.localWeekNumber)||(i.weekNumber=i.localWeekNumber),ye(i.localWeekYear)||(i.weekYear=i.localWeekYear),delete i.localWeekday,delete i.localWeekNumber,delete i.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function vE(i,e=4,t=1){const a=Ko(i.weekYear),s=ii(i.weekNumber,1,Nr(i.weekYear,e,t)),r=ii(i.weekday,1,7);return a?s?r?!1:ti("weekday",i.weekday):ti("week",i.weekNumber):ti("weekYear",i.weekYear)}function bE(i){const e=Ko(i.year),t=ii(i.ordinal,1,ks(i.year));return e?t?!1:ti("ordinal",i.ordinal):ti("year",i.year)}function vb(i){const e=Ko(i.year),t=ii(i.month,1,12),a=ii(i.day,1,go(i.year,i.month));return e?t?a?!1:ti("day",i.day):ti("month",i.month):ti("year",i.year)}function bb(i){const{hour:e,minute:t,second:a,millisecond:s}=i,r=ii(e,0,23)||e===24&&t===0&&a===0&&s===0,n=ii(t,0,59),o=ii(a,0,59),l=ii(s,0,999);return r?n?o?l?!1:ti("millisecond",s):ti("second",a):ti("minute",t):ti("hour",e)}function ye(i){return typeof i>"u"}function fa(i){return typeof i=="number"}function Ko(i){return typeof i=="number"&&i%1===0}function xE(i){return typeof i=="string"}function yE(i){return Object.prototype.toString.call(i)==="[object Date]"}function xb(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function yb(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function wE(i){return Array.isArray(i)?i:[i]}function Zf(i,e,t){if(i.length!==0)return i.reduce((a,s)=>{const r=[e(s),s];return a&&t(a[0],r[0])===a[0]?a:r},null)[1]}function kE(i,e){return e.reduce((t,a)=>(t[a]=i[a],t),{})}function Ls(i,e){return Object.prototype.hasOwnProperty.call(i,e)}function Jc(i){if(i==null)return null;if(typeof i!="object")throw new yt("Week settings must be an object");if(!ii(i.firstDay,1,7)||!ii(i.minimalDays,1,7)||!Array.isArray(i.weekend)||i.weekend.some(e=>!ii(e,1,7)))throw new yt("Invalid week settings");return{firstDay:i.firstDay,minimalDays:i.minimalDays,weekend:Array.from(i.weekend)}}function ii(i,e,t){return Ko(i)&&i>=e&&i<=t}function AE(i,e){return i-e*Math.floor(i/e)}function lt(i,e=2){const t=i<0;let a;return t?a="-"+(""+-i).padStart(e,"0"):a=(""+i).padStart(e,"0"),a}function oa(i){if(!(ye(i)||i===null||i===""))return parseInt(i,10)}function Ca(i){if(!(ye(i)||i===null||i===""))return parseFloat(i)}function dd(i){if(!(ye(i)||i===null||i==="")){const e=parseFloat("0."+i)*1e3;return Math.floor(e)}}function hd(i,e,t="round"){const a=10**e;switch(t){case"expand":return i>0?Math.ceil(i*a)/a:Math.floor(i*a)/a;case"trunc":return Math.trunc(i*a)/a;case"round":return Math.round(i*a)/a;case"floor":return Math.floor(i*a)/a;case"ceil":return Math.ceil(i*a)/a;default:throw new RangeError(`Value rounding ${t} is out of range`)}}function tn(i){return i%4===0&&(i%100!==0||i%400===0)}function ks(i){return tn(i)?366:365}function go(i,e){const t=AE(e-1,12)+1,a=i+(e-t)/12;return t===2?tn(a)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][t-1]}function Zo(i){let e=Date.UTC(i.year,i.month-1,i.day,i.hour,i.minute,i.second,i.millisecond);return i.year<100&&i.year>=0&&(e=new Date(e),e.setUTCFullYear(i.year,i.month-1,i.day)),+e}function Jf(i,e,t){return-ud(cd(i,1,e),t)+e-1}function Nr(i,e=4,t=1){const a=Jf(i,e,t),s=Jf(i+1,e,t);return(ks(i)-a+s)/7}function Qc(i){return i>99?i:i>it.twoDigitCutoffYear?1900+i:2e3+i}function wb(i,e,t,a=null){const s=new Date(i),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};a&&(r.timeZone=a);const n={timeZoneName:e,...r},o=new Intl.DateTimeFormat(t,n).formatToParts(s).find(l=>l.type.toLowerCase()==="timezonename");return o?o.value:null}function Jo(i,e){let t=parseInt(i,10);Number.isNaN(t)&&(t=0);const a=parseInt(e,10)||0,s=t<0||Object.is(t,-0)?-a:a;return t*60+s}function kb(i){const e=Number(i);if(typeof i=="boolean"||i===""||!Number.isFinite(e))throw new yt(`Invalid unit value ${i}`);return e}function po(i,e){const t={};for(const a in i)if(Ls(i,a)){const s=i[a];if(s==null)continue;t[e(a)]=kb(s)}return t}function xr(i,e){const t=Math.trunc(Math.abs(i/60)),a=Math.trunc(Math.abs(i%60)),s=i>=0?"+":"-";switch(e){case"short":return`${s}${lt(t,2)}:${lt(a,2)}`;case"narrow":return`${s}${t}${a>0?`:${a}`:""}`;case"techie":return`${s}${lt(t,2)}${lt(a,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Qo(i){return kE(i,["hour","minute","second","millisecond"])}const SE=["January","February","March","April","May","June","July","August","September","October","November","December"],Ab=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CE=["J","F","M","A","M","J","J","A","S","O","N","D"];function Sb(i){switch(i){case"narrow":return[...CE];case"short":return[...Ab];case"long":return[...SE];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Cb=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Mb=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ME=["M","T","W","T","F","S","S"];function Eb(i){switch(i){case"narrow":return[...ME];case"short":return[...Mb];case"long":return[...Cb];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Pb=["AM","PM"],EE=["Before Christ","Anno Domini"],PE=["BC","AD"],_E=["B","A"];function _b(i){switch(i){case"narrow":return[..._E];case"short":return[...PE];case"long":return[...EE];default:return null}}function IE(i){return Pb[i.hour<12?0:1]}function TE(i,e){return Eb(e)[i.weekday-1]}function DE(i,e){return Sb(e)[i.month-1]}function LE(i,e){return _b(e)[i.year<0?0:1]}function RE(i,e,t="always",a=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=["hours","minutes","seconds"].indexOf(i)===-1;if(t==="auto"&&r){const d=i==="days";switch(e){case 1:return d?"tomorrow":`next ${s[i][0]}`;case-1:return d?"yesterday":`last ${s[i][0]}`;case 0:return d?"today":`this ${s[i][0]}`}}const n=Object.is(e,-0)||e<0,o=Math.abs(e),l=o===1,c=s[i],u=a?l?c[1]:c[2]||c[1]:l?s[i][0]:i;return n?`${o} ${u} ago`:`in ${o} ${u}`}function Qf(i,e){let t="";for(const a of i)a.literal?t+=a.val:t+=e(a.val);return t}const NE={D:ho,DD:Xv,DDD:qv,DDDD:Gv,t:$v,tt:Kv,ttt:Zv,tttt:Jv,T:Qv,TT:eb,TTT:tb,TTTT:ib,f:ab,ff:rb,fff:ob,ffff:cb,F:sb,FF:nb,FFF:lb,FFFF:ub};class Mt{static create(e,t={}){return new Mt(e,t)}static parseFormat(e){let t=null,a="",s=!1;const r=[];for(let n=0;n<e.length;n++){const o=e.charAt(n);o==="'"?((a.length>0||s)&&r.push({literal:s||/^\s+$/.test(a),val:a===""?"'":a}),t=null,a="",s=!s):s||o===t?a+=o:(a.length>0&&r.push({literal:/^\s+$/.test(a),val:a}),a=o,t=o)}return a.length>0&&r.push({literal:s||/^\s+$/.test(a),val:a}),r}static macroTokenToFormatOpts(e){return NE[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...t}).format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0,a=void 0){if(this.opts.forceSimple)return lt(e,t);const s={...this.opts};return t>0&&(s.padTo=t),a&&(s.signDisplay=a),this.loc.numberFormatter(s).format(e)}formatDateTimeFromString(e,t){const a=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",r=(f,g)=>this.loc.extract(e,f,g),n=f=>e.isOffsetFixed&&e.offset===0&&f.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,f.format):"",o=()=>a?IE(e):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(f,g)=>a?DE(e,f):r(g?{month:f}:{month:f,day:"numeric"},"month"),c=(f,g)=>a?TE(e,f):r(g?{weekday:f}:{weekday:f,month:"long",day:"numeric"},"weekday"),u=f=>{const g=Mt.macroTokenToFormatOpts(f);return g?this.formatWithSystemDefault(e,g):f},d=f=>a?LE(e,f):r({era:f},"era"),h=f=>{switch(f){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return n({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return n({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return n({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return o();case"d":return s?r({day:"numeric"},"day"):this.num(e.day);case"dd":return s?r({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?r({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return s?r({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return s?r({month:"numeric"},"month"):this.num(e.month);case"MM":return s?r({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return s?r({year:"numeric"},"year"):this.num(e.year);case"yy":return s?r({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return s?r({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return s?r({year:"numeric"},"year"):this.num(e.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return u(f)}};return Qf(Mt.parseFormat(t),h)}formatDurationFromString(e,t){const a=this.opts.signMode==="negativeLargestOnly"?-1:1,s=u=>{switch(u[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},r=(u,d)=>h=>{const f=s(h);if(f){const g=d.isNegativeDuration&&f!==d.largestUnit?a:1;let p;return this.opts.signMode==="negativeLargestOnly"&&f!==d.largestUnit?p="never":this.opts.signMode==="all"?p="always":p="auto",this.num(u.get(f)*g,h.length,p)}else return h},n=Mt.parseFormat(t),o=n.reduce((u,{literal:d,val:h})=>d?u:u.concat(h),[]),l=e.shiftTo(...o.map(s).filter(u=>u)),c={isNegativeDuration:l<0,largestUnit:Object.keys(l.values)[0]};return Qf(n,r(l,c))}}const Ib=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Bs(...i){const e=i.reduce((t,a)=>t+a.source,"");return RegExp(`^${e}$`)}function Hs(...i){return e=>i.reduce(([t,a,s],r)=>{const[n,o,l]=r(e,s);return[{...t,...n},o||a,l]},[{},null,1]).slice(0,2)}function Ws(i,...e){if(i==null)return[null,null];for(const[t,a]of e){const s=t.exec(i);if(s)return a(s)}return[null,null]}function Tb(...i){return(e,t)=>{const a={};let s;for(s=0;s<i.length;s++)a[i[s]]=oa(e[t+s]);return[a,null,t+s]}}const Db=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,OE=`(?:${Db.source}?(?:\\[(${Ib.source})\\])?)?`,fd=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Lb=RegExp(`${fd.source}${OE}`),gd=RegExp(`(?:[Tt]${Lb.source})?`),FE=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,zE=/(\d{4})-?W(\d\d)(?:-?(\d))?/,BE=/(\d{4})-?(\d{3})/,HE=Tb("weekYear","weekNumber","weekDay"),WE=Tb("year","ordinal"),jE=/(\d{4})-(\d\d)-(\d\d)/,Rb=RegExp(`${fd.source} ?(?:${Db.source}|(${Ib.source}))?`),YE=RegExp(`(?: ${Rb.source})?`);function As(i,e,t){const a=i[e];return ye(a)?t:oa(a)}function VE(i,e){return[{year:As(i,e),month:As(i,e+1,1),day:As(i,e+2,1)},null,e+3]}function js(i,e){return[{hours:As(i,e,0),minutes:As(i,e+1,0),seconds:As(i,e+2,0),milliseconds:dd(i[e+3])},null,e+4]}function an(i,e){const t=!i[e]&&!i[e+1],a=Jo(i[e+1],i[e+2]),s=t?null:Nt.instance(a);return[{},s,e+3]}function sn(i,e){const t=i[e]?Xi.create(i[e]):null;return[{},t,e+1]}const UE=RegExp(`^T?${fd.source}$`),XE=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function qE(i){const[e,t,a,s,r,n,o,l,c]=i,u=e[0]==="-",d=l&&l[0]==="-",h=(f,g=!1)=>f!==void 0&&(g||f&&u)?-f:f;return[{years:h(Ca(t)),months:h(Ca(a)),weeks:h(Ca(s)),days:h(Ca(r)),hours:h(Ca(n)),minutes:h(Ca(o)),seconds:h(Ca(l),l==="-0"),milliseconds:h(dd(c),d)}]}const GE={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function pd(i,e,t,a,s,r,n){const o={year:e.length===2?Qc(oa(e)):oa(e),month:Ab.indexOf(t)+1,day:oa(a),hour:oa(s),minute:oa(r)};return n&&(o.second=oa(n)),i&&(o.weekday=i.length>3?Cb.indexOf(i)+1:Mb.indexOf(i)+1),o}const $E=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function KE(i){const[,e,t,a,s,r,n,o,l,c,u,d]=i,h=pd(e,s,a,t,r,n,o);let f;return l?f=GE[l]:c?f=0:f=Jo(u,d),[h,new Nt(f)]}function ZE(i){return i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const JE=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,QE=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,eP=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function eg(i){const[,e,t,a,s,r,n,o]=i;return[pd(e,s,a,t,r,n,o),Nt.utcInstance]}function tP(i){const[,e,t,a,s,r,n,o]=i;return[pd(e,o,t,a,s,r,n),Nt.utcInstance]}const iP=Bs(FE,gd),aP=Bs(zE,gd),sP=Bs(BE,gd),rP=Bs(Lb),Nb=Hs(VE,js,an,sn),nP=Hs(HE,js,an,sn),oP=Hs(WE,js,an,sn),lP=Hs(js,an,sn);function cP(i){return Ws(i,[iP,Nb],[aP,nP],[sP,oP],[rP,lP])}function uP(i){return Ws(ZE(i),[$E,KE])}function dP(i){return Ws(i,[JE,eg],[QE,eg],[eP,tP])}function hP(i){return Ws(i,[XE,qE])}const fP=Hs(js);function gP(i){return Ws(i,[UE,fP])}const pP=Bs(jE,YE),mP=Bs(Rb),vP=Hs(js,an,sn);function bP(i){return Ws(i,[pP,Nb],[mP,vP])}const tg="Invalid Duration",Ob={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},xP={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3},...Ob},Zt=146097/400,rs=146097/4800,yP={years:{quarters:4,months:12,weeks:Zt/7,days:Zt,hours:Zt*24,minutes:Zt*24*60,seconds:Zt*24*60*60,milliseconds:Zt*24*60*60*1e3},quarters:{months:3,weeks:Zt/28,days:Zt/4,hours:Zt*24/4,minutes:Zt*24*60/4,seconds:Zt*24*60*60/4,milliseconds:Zt*24*60*60*1e3/4},months:{weeks:rs/7,days:rs,hours:rs*24,minutes:rs*24*60,seconds:rs*24*60*60,milliseconds:rs*24*60*60*1e3},...Ob},La=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],wP=La.slice(0).reverse();function Oi(i,e,t=!1){const a={values:t?e.values:{...i.values,...e.values||{}},loc:i.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||i.conversionAccuracy,matrix:e.matrix||i.matrix};return new Le(a)}function Fb(i,e){let t=e.milliseconds??0;for(const a of wP.slice(1))e[a]&&(t+=e[a]*i[a].milliseconds);return t}function ig(i,e){const t=Fb(i,e)<0?-1:1;La.reduceRight((a,s)=>{if(ye(e[s]))return a;if(a){const r=e[a]*t,n=i[s][a],o=Math.floor(r/n);e[s]+=o*t,e[a]-=o*n*t}return s},null),La.reduce((a,s)=>{if(ye(e[s]))return a;if(a){const r=e[a]%1;e[a]-=r,e[s]+=r*i[a][s]}return s},null)}function ag(i){const e={};for(const[t,a]of Object.entries(i))a!==0&&(e[t]=a);return e}class Le{constructor(e){const t=e.conversionAccuracy==="longterm"||!1;let a=t?yP:xP;e.matrix&&(a=e.matrix),this.values=e.values,this.loc=e.loc||je.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=a,this.isLuxonDuration=!0}static fromMillis(e,t){return Le.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(e==null||typeof e!="object")throw new yt(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new Le({values:po(e,Le.normalizeUnit),loc:je.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(fa(e))return Le.fromMillis(e);if(Le.isDuration(e))return e;if(typeof e=="object")return Le.fromObject(e);throw new yt(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,t){const[a]=hP(e);return a?Le.fromObject(a,t):Le.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){const[a]=gP(e);return a?Le.fromObject(a,t):Le.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,t=null){if(!e)throw new yt("need to specify a reason the Duration is invalid");const a=e instanceof ui?e:new ui(e,t);if(it.throwOnInvalid)throw new qM(a);return new Le({invalid:a})}static normalizeUnit(e){const t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!t)throw new Uv(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){const a={...t,floor:t.round!==!1&&t.floor!==!1};return this.isValid?Mt.create(this.loc,a).formatDurationFromString(this,e):tg}toHuman(e={}){if(!this.isValid)return tg;const t=e.showZeros!==!1,a=La.map(s=>{const r=this.values[s];return ye(r)||r===0&&!t?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:s.slice(0,-1)}).format(r)}).filter(s=>s);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(a)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=hd(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const t=this.toMillis();return t<0||t>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},xe.fromMillis(t,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Fb(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const t=Le.fromDurationLike(e),a={};for(const s of La)(Ls(t.values,s)||Ls(this.values,s))&&(a[s]=t.get(s)+this.get(s));return Oi(this,{values:a},!0)}minus(e){if(!this.isValid)return this;const t=Le.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;const t={};for(const a of Object.keys(this.values))t[a]=kb(e(this.values[a],a));return Oi(this,{values:t},!0)}get(e){return this[Le.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const t={...this.values,...po(e,Le.normalizeUnit)};return Oi(this,{values:t})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:a,matrix:s}={}){const n={loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:s,conversionAccuracy:a};return Oi(this,n)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return ig(this.matrix,e),Oi(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=ag(this.normalize().shiftToAll().toObject());return Oi(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(n=>Le.normalizeUnit(n));const t={},a={},s=this.toObject();let r;for(const n of La)if(e.indexOf(n)>=0){r=n;let o=0;for(const c in a)o+=this.matrix[c][n]*a[c],a[c]=0;fa(s[n])&&(o+=s[n]);const l=Math.trunc(o);t[n]=l,a[n]=(o*1e3-l*1e3)/1e3}else fa(s[n])&&(a[n]=s[n]);for(const n in a)a[n]!==0&&(t[r]+=n===r?a[n]:a[n]/this.matrix[r][n]);return ig(this.matrix,t),Oi(this,{values:t},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const t of Object.keys(this.values))e[t]=this.values[t]===0?0:-this.values[t];return Oi(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;const e=ag(this.values);return Oi(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function t(a,s){return a===void 0||a===0?s===void 0||s===0:a===s}for(const a of La)if(!t(this.values[a],e.values[a]))return!1;return!0}}const ns="Invalid Interval";function kP(i,e){return!i||!i.isValid?et.invalid("missing or invalid start"):!e||!e.isValid?et.invalid("missing or invalid end"):e<i?et.invalid("end before start",`The end of an interval must be after its start, but you had start=${i.toISO()} and end=${e.toISO()}`):null}class et{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,t=null){if(!e)throw new yt("need to specify a reason the Interval is invalid");const a=e instanceof ui?e:new ui(e,t);if(it.throwOnInvalid)throw new XM(a);return new et({invalid:a})}static fromDateTimes(e,t){const a=er(e),s=er(t),r=kP(a,s);return r??new et({start:a,end:s})}static after(e,t){const a=Le.fromDurationLike(t),s=er(e);return et.fromDateTimes(s,s.plus(a))}static before(e,t){const a=Le.fromDurationLike(t),s=er(e);return et.fromDateTimes(s.minus(a),s)}static fromISO(e,t){const[a,s]=(e||"").split("/",2);if(a&&s){let r,n;try{r=xe.fromISO(a,t),n=r.isValid}catch{n=!1}let o,l;try{o=xe.fromISO(s,t),l=o.isValid}catch{l=!1}if(n&&l)return et.fromDateTimes(r,o);if(n){const c=Le.fromISO(s,t);if(c.isValid)return et.after(r,c)}else if(l){const c=Le.fromISO(a,t);if(c.isValid)return et.before(o,c)}}return et.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",t){if(!this.isValid)return NaN;const a=this.start.startOf(e,t);let s;return t!=null&&t.useLocaleWeeks?s=this.end.reconfigure({locale:a.locale}):s=this.end,s=s.startOf(e,t),Math.floor(s.diff(a,e).get(e))+(s.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:t}={}){return this.isValid?et.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];const t=e.map(er).filter(n=>this.contains(n)).sort((n,o)=>n.toMillis()-o.toMillis()),a=[];let{s}=this,r=0;for(;s<this.e;){const n=t[r]||this.e,o=+n>+this.e?this.e:n;a.push(et.fromDateTimes(s,o)),s=o,r+=1}return a}splitBy(e){const t=Le.fromDurationLike(e);if(!this.isValid||!t.isValid||t.as("milliseconds")===0)return[];let{s:a}=this,s=1,r;const n=[];for(;a<this.e;){const o=this.start.plus(t.mapUnits(l=>l*s));r=+o>+this.e?this.e:o,n.push(et.fromDateTimes(a,r)),a=r,s+=1}return n}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const t=this.s>e.s?this.s:e.s,a=this.e<e.e?this.e:e.e;return t>=a?null:et.fromDateTimes(t,a)}union(e){if(!this.isValid)return this;const t=this.s<e.s?this.s:e.s,a=this.e>e.e?this.e:e.e;return et.fromDateTimes(t,a)}static merge(e){const[t,a]=e.sort((s,r)=>s.s-r.s).reduce(([s,r],n)=>r?r.overlaps(n)||r.abutsStart(n)?[s,r.union(n)]:[s.concat([r]),n]:[s,n],[[],null]);return a&&t.push(a),t}static xor(e){let t=null,a=0;const s=[],r=e.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),n=Array.prototype.concat(...r),o=n.sort((l,c)=>l.time-c.time);for(const l of o)a+=l.type==="s"?1:-1,a===1?t=l.time:(t&&+t!=+l.time&&s.push(et.fromDateTimes(t,l.time)),t=null);return et.merge(s)}difference(...e){return et.xor([this].concat(e)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:ns}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=ho,t={}){return this.isValid?Mt.create(this.s.loc.clone(t),e).formatInterval(this):ns}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:ns}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:ns}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:ns}toFormat(e,{separator:t=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:ns}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):Le.invalid(this.invalidReason)}mapEndpoints(e){return et.fromDateTimes(e(this.s),e(this.e))}}class Sn{static hasDST(e=it.defaultZone){const t=xe.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return Xi.isValidZone(e)}static normalizeZone(e){return la(e,it.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||je.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||je.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||je.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:a=null,locObj:s=null,outputCalendar:r="gregory"}={}){return(s||je.create(t,a,r)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:a=null,locObj:s=null,outputCalendar:r="gregory"}={}){return(s||je.create(t,a,r)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:a=null,locObj:s=null}={}){return(s||je.create(t,a,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:a=null,locObj:s=null}={}){return(s||je.create(t,a,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return je.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return je.create(t,null,"gregory").eras(e)}static features(){return{relative:xb(),localeWeek:yb()}}}function sg(i,e){const t=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),a=t(e)-t(i);return Math.floor(Le.fromMillis(a).as("days"))}function AP(i,e,t){const a=[["years",(l,c)=>c.year-l.year],["quarters",(l,c)=>c.quarter-l.quarter+(c.year-l.year)*4],["months",(l,c)=>c.month-l.month+(c.year-l.year)*12],["weeks",(l,c)=>{const u=sg(l,c);return(u-u%7)/7}],["days",sg]],s={},r=i;let n,o;for(const[l,c]of a)t.indexOf(l)>=0&&(n=l,s[l]=c(i,e),o=r.plus(s),o>e?(s[l]--,i=r.plus(s),i>e&&(o=i,s[l]--,i=r.plus(s))):i=o);return[i,s,o,n]}function SP(i,e,t,a){let[s,r,n,o]=AP(i,e,t);const l=e-s,c=t.filter(d=>["hours","minutes","seconds","milliseconds"].indexOf(d)>=0);c.length===0&&(n<e&&(n=s.plus({[o]:1})),n!==s&&(r[o]=(r[o]||0)+l/(n-s)));const u=Le.fromObject(r,a);return c.length>0?Le.fromMillis(l,a).shiftTo(...c).plus(u):u}const CP="missing Intl.DateTimeFormat.formatToParts support";function Ne(i,e=t=>t){return{regex:i,deser:([t])=>e(pE(t))}}const MP=" ",zb=`[ ${MP}]`,Bb=new RegExp(zb,"g");function EP(i){return i.replace(/\./g,"\\.?").replace(Bb,zb)}function rg(i){return i.replace(/\./g,"").replace(Bb," ").toLowerCase()}function oi(i,e){return i===null?null:{regex:RegExp(i.map(EP).join("|")),deser:([t])=>i.findIndex(a=>rg(t)===rg(a))+e}}function ng(i,e){return{regex:i,deser:([,t,a])=>Jo(t,a),groups:e}}function Cn(i){return{regex:i,deser:([e])=>e}}function PP(i){return i.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function _P(i,e){const t=ni(e),a=ni(e,"{2}"),s=ni(e,"{3}"),r=ni(e,"{4}"),n=ni(e,"{6}"),o=ni(e,"{1,2}"),l=ni(e,"{1,3}"),c=ni(e,"{1,6}"),u=ni(e,"{1,9}"),d=ni(e,"{2,4}"),h=ni(e,"{4,6}"),f=m=>({regex:RegExp(PP(m.val)),deser:([v])=>v,literal:!0}),p=(m=>{if(i.literal)return f(m);switch(m.val){case"G":return oi(e.eras("short"),0);case"GG":return oi(e.eras("long"),0);case"y":return Ne(c);case"yy":return Ne(d,Qc);case"yyyy":return Ne(r);case"yyyyy":return Ne(h);case"yyyyyy":return Ne(n);case"M":return Ne(o);case"MM":return Ne(a);case"MMM":return oi(e.months("short",!0),1);case"MMMM":return oi(e.months("long",!0),1);case"L":return Ne(o);case"LL":return Ne(a);case"LLL":return oi(e.months("short",!1),1);case"LLLL":return oi(e.months("long",!1),1);case"d":return Ne(o);case"dd":return Ne(a);case"o":return Ne(l);case"ooo":return Ne(s);case"HH":return Ne(a);case"H":return Ne(o);case"hh":return Ne(a);case"h":return Ne(o);case"mm":return Ne(a);case"m":return Ne(o);case"q":return Ne(o);case"qq":return Ne(a);case"s":return Ne(o);case"ss":return Ne(a);case"S":return Ne(l);case"SSS":return Ne(s);case"u":return Cn(u);case"uu":return Cn(o);case"uuu":return Ne(t);case"a":return oi(e.meridiems(),0);case"kkkk":return Ne(r);case"kk":return Ne(d,Qc);case"W":return Ne(o);case"WW":return Ne(a);case"E":case"c":return Ne(t);case"EEE":return oi(e.weekdays("short",!1),1);case"EEEE":return oi(e.weekdays("long",!1),1);case"ccc":return oi(e.weekdays("short",!0),1);case"cccc":return oi(e.weekdays("long",!0),1);case"Z":case"ZZ":return ng(new RegExp(`([+-]${o.source})(?::(${a.source}))?`),2);case"ZZZ":return ng(new RegExp(`([+-]${o.source})(${a.source})?`),2);case"z":return Cn(/[a-z_+-/]{1,256}?/i);case" ":return Cn(/[^\S\n\r]/);default:return f(m)}})(i)||{invalidReason:CP};return p.token=i,p}const IP={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function TP(i,e,t){const{type:a,value:s}=i;if(a==="literal"){const l=/^\s+$/.test(s);return{literal:!l,val:l?" ":s}}const r=e[a];let n=a;a==="hour"&&(e.hour12!=null?n=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?n="hour12":n="hour24":n=t.hour12?"hour12":"hour24");let o=IP[n];if(typeof o=="object"&&(o=o[r]),o)return{literal:!1,val:o}}function DP(i){return[`^${i.map(t=>t.regex).reduce((t,a)=>`${t}(${a.source})`,"")}$`,i]}function LP(i,e,t){const a=i.match(e);if(a){const s={};let r=1;for(const n in t)if(Ls(t,n)){const o=t[n],l=o.groups?o.groups+1:1;!o.literal&&o.token&&(s[o.token.val[0]]=o.deser(a.slice(r,r+l))),r+=l}return[a,s]}else return[a,{}]}function RP(i){const e=r=>{switch(r){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let t=null,a;return ye(i.z)||(t=Xi.create(i.z)),ye(i.Z)||(t||(t=new Nt(i.Z)),a=i.Z),ye(i.q)||(i.M=(i.q-1)*3+1),ye(i.h)||(i.h<12&&i.a===1?i.h+=12:i.h===12&&i.a===0&&(i.h=0)),i.G===0&&i.y&&(i.y=-i.y),ye(i.u)||(i.S=dd(i.u)),[Object.keys(i).reduce((r,n)=>{const o=e(n);return o&&(r[o]=i[n]),r},{}),t,a]}let Ll=null;function NP(){return Ll||(Ll=xe.fromMillis(1555555555555)),Ll}function OP(i,e){if(i.literal)return i;const t=Mt.macroTokenToFormatOpts(i.val),a=Yb(t,e);return a==null||a.includes(void 0)?i:a}function Hb(i,e){return Array.prototype.concat(...i.map(t=>OP(t,e)))}class Wb{constructor(e,t){if(this.locale=e,this.format=t,this.tokens=Hb(Mt.parseFormat(t),e),this.units=this.tokens.map(a=>_P(a,e)),this.disqualifyingUnit=this.units.find(a=>a.invalidReason),!this.disqualifyingUnit){const[a,s]=DP(this.units);this.regex=RegExp(a,"i"),this.handlers=s}}explainFromTokens(e){if(this.isValid){const[t,a]=LP(e,this.regex,this.handlers),[s,r,n]=a?RP(a):[null,null,void 0];if(Ls(a,"a")&&Ls(a,"H"))throw new ps("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:t,matches:a,result:s,zone:r,specificOffset:n}}else return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function jb(i,e,t){return new Wb(i,t).explainFromTokens(e)}function FP(i,e,t){const{result:a,zone:s,specificOffset:r,invalidReason:n}=jb(i,e,t);return[a,s,r,n]}function Yb(i,e){if(!i)return null;const a=Mt.create(e,i).dtFormatter(NP()),s=a.formatToParts(),r=a.resolvedOptions();return s.map(n=>TP(n,i,r))}const Rl="Invalid DateTime",og=864e13;function nr(i){return new ui("unsupported zone",`the zone "${i.name}" is not supported`)}function Nl(i){return i.weekData===null&&(i.weekData=fo(i.c)),i.weekData}function Ol(i){return i.localWeekData===null&&(i.localWeekData=fo(i.c,i.loc.getMinDaysInFirstWeek(),i.loc.getStartOfWeek())),i.localWeekData}function Ma(i,e){const t={ts:i.ts,zone:i.zone,c:i.c,o:i.o,loc:i.loc,invalid:i.invalid};return new xe({...t,...e,old:t})}function Vb(i,e,t){let a=i-e*60*1e3;const s=t.offset(a);if(e===s)return[a,e];a-=(s-e)*60*1e3;const r=t.offset(a);return s===r?[a,s]:[i-Math.min(s,r)*60*1e3,Math.max(s,r)]}function Mn(i,e){i+=e*60*1e3;const t=new Date(i);return{year:t.getUTCFullYear(),month:t.getUTCMonth()+1,day:t.getUTCDate(),hour:t.getUTCHours(),minute:t.getUTCMinutes(),second:t.getUTCSeconds(),millisecond:t.getUTCMilliseconds()}}function zn(i,e,t){return Vb(Zo(i),e,t)}function lg(i,e){const t=i.o,a=i.c.year+Math.trunc(e.years),s=i.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,r={...i.c,year:a,month:s,day:Math.min(i.c.day,go(a,s))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},n=Le.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),o=Zo(r);let[l,c]=Vb(o,t,i.zone);return n!==0&&(l+=n,c=i.zone.offset(l)),{ts:l,o:c}}function os(i,e,t,a,s,r){const{setZone:n,zone:o}=t;if(i&&Object.keys(i).length!==0||e){const l=e||o,c=xe.fromObject(i,{...t,zone:l,specificOffset:r});return n?c:c.setZone(o)}else return xe.invalid(new ui("unparsable",`the input "${s}" can't be parsed as ${a}`))}function En(i,e,t=!0){return i.isValid?Mt.create(je.create("en-US"),{allowZ:t,forceSimple:!0}).formatDateTimeFromString(i,e):null}function Fl(i,e,t){const a=i.c.year>9999||i.c.year<0;let s="";if(a&&i.c.year>=0&&(s+="+"),s+=lt(i.c.year,a?6:4),t==="year")return s;if(e){if(s+="-",s+=lt(i.c.month),t==="month")return s;s+="-"}else if(s+=lt(i.c.month),t==="month")return s;return s+=lt(i.c.day),s}function cg(i,e,t,a,s,r,n){let o=!t||i.c.millisecond!==0||i.c.second!==0,l="";switch(n){case"day":case"month":case"year":break;default:if(l+=lt(i.c.hour),n==="hour")break;if(e){if(l+=":",l+=lt(i.c.minute),n==="minute")break;o&&(l+=":",l+=lt(i.c.second))}else{if(l+=lt(i.c.minute),n==="minute")break;o&&(l+=lt(i.c.second))}if(n==="second")break;o&&(!a||i.c.millisecond!==0)&&(l+=".",l+=lt(i.c.millisecond,3))}return s&&(i.isOffsetFixed&&i.offset===0&&!r?l+="Z":i.o<0?(l+="-",l+=lt(Math.trunc(-i.o/60)),l+=":",l+=lt(Math.trunc(-i.o%60))):(l+="+",l+=lt(Math.trunc(i.o/60)),l+=":",l+=lt(Math.trunc(i.o%60)))),r&&(l+="["+i.zone.ianaName+"]"),l}const Ub={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},zP={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},BP={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Bn=["year","month","day","hour","minute","second","millisecond"],HP=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],WP=["year","ordinal","hour","minute","second","millisecond"];function Hn(i){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[i.toLowerCase()];if(!e)throw new Uv(i);return e}function ug(i){switch(i.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return Hn(i)}}function jP(i){if(or===void 0&&(or=it.now()),i.type!=="iana")return i.offset(or);const e=i.name;let t=eu.get(e);return t===void 0&&(t=i.offset(or),eu.set(e,t)),t}function dg(i,e){const t=la(e.zone,it.defaultZone);if(!t.isValid)return xe.invalid(nr(t));const a=je.fromObject(e);let s,r;if(ye(i.year))s=it.now();else{for(const l of Bn)ye(i[l])&&(i[l]=Ub[l]);const n=vb(i)||bb(i);if(n)return xe.invalid(n);const o=jP(t);[s,r]=zn(i,o,t)}return new xe({ts:s,zone:t,loc:a,o:r})}function hg(i,e,t){const a=ye(t.round)?!0:t.round,s=ye(t.rounding)?"trunc":t.rounding,r=(o,l)=>(o=hd(o,a||t.calendary?0:2,t.calendary?"round":s),e.loc.clone(t).relFormatter(t).format(o,l)),n=o=>t.calendary?e.hasSame(i,o)?0:e.startOf(o).diff(i.startOf(o),o).get(o):e.diff(i,o).get(o);if(t.unit)return r(n(t.unit),t.unit);for(const o of t.units){const l=n(o);if(Math.abs(l)>=1)return r(l,o)}return r(i>e?-0:0,t.units[t.units.length-1])}function fg(i){let e={},t;return i.length>0&&typeof i[i.length-1]=="object"?(e=i[i.length-1],t=Array.from(i).slice(0,i.length-1)):t=Array.from(i),[e,t]}let or;const eu=new Map;class xe{constructor(e){const t=e.zone||it.defaultZone;let a=e.invalid||(Number.isNaN(e.ts)?new ui("invalid input"):null)||(t.isValid?null:nr(t));this.ts=ye(e.ts)?it.now():e.ts;let s=null,r=null;if(!a)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[s,r]=[e.old.c,e.old.o];else{const o=fa(e.o)&&!e.old?e.o:t.offset(this.ts);s=Mn(this.ts,o),a=Number.isNaN(s.year)?new ui("invalid input"):null,s=a?null:s,r=a?null:o}this._zone=t,this.loc=e.loc||je.create(),this.invalid=a,this.weekData=null,this.localWeekData=null,this.c=s,this.o=r,this.isLuxonDateTime=!0}static now(){return new xe({})}static local(){const[e,t]=fg(arguments),[a,s,r,n,o,l,c]=t;return dg({year:a,month:s,day:r,hour:n,minute:o,second:l,millisecond:c},e)}static utc(){const[e,t]=fg(arguments),[a,s,r,n,o,l,c]=t;return e.zone=Nt.utcInstance,dg({year:a,month:s,day:r,hour:n,minute:o,second:l,millisecond:c},e)}static fromJSDate(e,t={}){const a=yE(e)?e.valueOf():NaN;if(Number.isNaN(a))return xe.invalid("invalid input");const s=la(t.zone,it.defaultZone);return s.isValid?new xe({ts:a,zone:s,loc:je.fromObject(t)}):xe.invalid(nr(s))}static fromMillis(e,t={}){if(fa(e))return e<-og||e>og?xe.invalid("Timestamp out of range"):new xe({ts:e,zone:la(t.zone,it.defaultZone),loc:je.fromObject(t)});throw new yt(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(fa(e))return new xe({ts:e*1e3,zone:la(t.zone,it.defaultZone),loc:je.fromObject(t)});throw new yt("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};const a=la(t.zone,it.defaultZone);if(!a.isValid)return xe.invalid(nr(a));const s=je.fromObject(t),r=po(e,ug),{minDaysInFirstWeek:n,startOfWeek:o}=Kf(r,s),l=it.now(),c=ye(t.specificOffset)?a.offset(l):t.specificOffset,u=!ye(r.ordinal),d=!ye(r.year),h=!ye(r.month)||!ye(r.day),f=d||h,g=r.weekYear||r.weekNumber;if((f||u)&&g)throw new ps("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ps("Can't mix ordinal dates with month/day");const p=g||r.weekday&&!f;let m,v,b=Mn(l,c);p?(m=HP,v=zP,b=fo(b,n,o)):u?(m=WP,v=BP,b=Dl(b)):(m=Bn,v=Ub);let x=!1;for(const M of m){const E=r[M];ye(E)?x?r[M]=v[M]:r[M]=b[M]:x=!0}const k=p?vE(r,n,o):u?bE(r):vb(r),y=k||bb(r);if(y)return xe.invalid(y);const A=p?Gf(r,n,o):u?$f(r):r,[w,S]=zn(A,c,a),C=new xe({ts:w,zone:a,o:S,loc:s});return r.weekday&&f&&e.weekday!==C.weekday?xe.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${C.toISO()}`):C.isValid?C:xe.invalid(C.invalid)}static fromISO(e,t={}){const[a,s]=cP(e);return os(a,s,t,"ISO 8601",e)}static fromRFC2822(e,t={}){const[a,s]=uP(e);return os(a,s,t,"RFC 2822",e)}static fromHTTP(e,t={}){const[a,s]=dP(e);return os(a,s,t,"HTTP",t)}static fromFormat(e,t,a={}){if(ye(e)||ye(t))throw new yt("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:r=null}=a,n=je.fromOpts({locale:s,numberingSystem:r,defaultToEN:!0}),[o,l,c,u]=FP(n,e,t);return u?xe.invalid(u):os(o,l,a,`format ${t}`,e,c)}static fromString(e,t,a={}){return xe.fromFormat(e,t,a)}static fromSQL(e,t={}){const[a,s]=bP(e);return os(a,s,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new yt("need to specify a reason the DateTime is invalid");const a=e instanceof ui?e:new ui(e,t);if(it.throwOnInvalid)throw new UM(a);return new xe({invalid:a})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){const a=Yb(e,je.fromObject(t));return a?a.map(s=>s?s.val:null).join(""):null}static expandFormat(e,t={}){return Hb(Mt.parseFormat(e),je.fromObject(t)).map(s=>s.val).join("")}static resetCache(){or=void 0,eu.clear()}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Nl(this).weekYear:NaN}get weekNumber(){return this.isValid?Nl(this).weekNumber:NaN}get weekday(){return this.isValid?Nl(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Ol(this).weekday:NaN}get localWeekNumber(){return this.isValid?Ol(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Ol(this).weekYear:NaN}get ordinal(){return this.isValid?Dl(this.c).ordinal:NaN}get monthShort(){return this.isValid?Sn.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Sn.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Sn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Sn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const e=864e5,t=6e4,a=Zo(this.c),s=this.zone.offset(a-e),r=this.zone.offset(a+e),n=this.zone.offset(a-s*t),o=this.zone.offset(a-r*t);if(n===o)return[this];const l=a-n*t,c=a-o*t,u=Mn(l,n),d=Mn(c,o);return u.hour===d.hour&&u.minute===d.minute&&u.second===d.second&&u.millisecond===d.millisecond?[Ma(this,{ts:l}),Ma(this,{ts:c})]:[this]}get isInLeapYear(){return tn(this.year)}get daysInMonth(){return go(this.year,this.month)}get daysInYear(){return this.isValid?ks(this.year):NaN}get weeksInWeekYear(){return this.isValid?Nr(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Nr(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:t,numberingSystem:a,calendar:s}=Mt.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:a,outputCalendar:s}}toUTC(e=0,t={}){return this.setZone(Nt.instance(e),t)}toLocal(){return this.setZone(it.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:a=!1}={}){if(e=la(e,it.defaultZone),e.equals(this.zone))return this;if(e.isValid){let s=this.ts;if(t||a){const r=e.offset(this.ts),n=this.toObject();[s]=zn(n,r,e)}return Ma(this,{ts:s,zone:e})}else return xe.invalid(nr(e))}reconfigure({locale:e,numberingSystem:t,outputCalendar:a}={}){const s=this.loc.clone({locale:e,numberingSystem:t,outputCalendar:a});return Ma(this,{loc:s})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const t=po(e,ug),{minDaysInFirstWeek:a,startOfWeek:s}=Kf(t,this.loc),r=!ye(t.weekYear)||!ye(t.weekNumber)||!ye(t.weekday),n=!ye(t.ordinal),o=!ye(t.year),l=!ye(t.month)||!ye(t.day),c=o||l,u=t.weekYear||t.weekNumber;if((c||n)&&u)throw new ps("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&n)throw new ps("Can't mix ordinal dates with month/day");let d;r?d=Gf({...fo(this.c,a,s),...t},a,s):ye(t.ordinal)?(d={...this.toObject(),...t},ye(t.day)&&(d.day=Math.min(go(d.year,d.month),d.day))):d=$f({...Dl(this.c),...t});const[h,f]=zn(d,this.o,this.zone);return Ma(this,{ts:h,o:f})}plus(e){if(!this.isValid)return this;const t=Le.fromDurationLike(e);return Ma(this,lg(this,t))}minus(e){if(!this.isValid)return this;const t=Le.fromDurationLike(e).negate();return Ma(this,lg(this,t))}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;const a={},s=Le.normalizeUnit(e);switch(s){case"years":a.month=1;case"quarters":case"months":a.day=1;case"weeks":case"days":a.hour=0;case"hours":a.minute=0;case"minutes":a.second=0;case"seconds":a.millisecond=0;break}if(s==="weeks")if(t){const r=this.loc.getStartOfWeek(),{weekday:n}=this;n<r&&(a.weekNumber=this.weekNumber-1),a.weekday=r}else a.weekday=1;if(s==="quarters"){const r=Math.ceil(this.month/3);a.month=(r-1)*3+1}return this.set(a)}endOf(e,t){return this.isValid?this.plus({[e]:1}).startOf(e,t).minus(1):this}toFormat(e,t={}){return this.isValid?Mt.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):Rl}toLocaleString(e=ho,t={}){return this.isValid?Mt.create(this.loc.clone(t),e).formatDateTime(this):Rl}toLocaleParts(e={}){return this.isValid?Mt.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:t=!1,suppressMilliseconds:a=!1,includeOffset:s=!0,extendedZone:r=!1,precision:n="milliseconds"}={}){if(!this.isValid)return null;n=Hn(n);const o=e==="extended";let l=Fl(this,o,n);return Bn.indexOf(n)>=3&&(l+="T"),l+=cg(this,o,t,a,s,r,n),l}toISODate({format:e="extended",precision:t="day"}={}){return this.isValid?Fl(this,e==="extended",Hn(t)):null}toISOWeekDate(){return En(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:a=!0,includePrefix:s=!1,extendedZone:r=!1,format:n="extended",precision:o="milliseconds"}={}){return this.isValid?(o=Hn(o),(s&&Bn.indexOf(o)>=3?"T":"")+cg(this,n==="extended",t,e,a,r,o)):null}toRFC2822(){return En(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return En(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Fl(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:t=!1,includeOffsetSpace:a=!0}={}){let s="HH:mm:ss.SSS";return(t||e)&&(a&&(s+=" "),t?s+="z":e&&(s+="ZZ")),En(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():Rl}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};const t={...this.c};return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,t="milliseconds",a={}){if(!this.isValid||!e.isValid)return Le.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...a},r=wE(t).map(Le.normalizeUnit),n=e.valueOf()>this.valueOf(),o=n?this:e,l=n?e:this,c=SP(o,l,r,s);return n?c.negate():c}diffNow(e="milliseconds",t={}){return this.diff(xe.now(),e,t)}until(e){return this.isValid?et.fromDateTimes(this,e):this}hasSame(e,t,a){if(!this.isValid)return!1;const s=e.valueOf(),r=this.setZone(e.zone,{keepLocalTime:!0});return r.startOf(t,a)<=s&&s<=r.endOf(t,a)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const t=e.base||xe.fromObject({},{zone:this.zone}),a=e.padding?this<t?-e.padding:e.padding:0;let s=["years","months","days","hours","minutes","seconds"],r=e.unit;return Array.isArray(e.unit)&&(s=e.unit,r=void 0),hg(t,this.plus(a),{...e,numeric:"always",units:s,unit:r})}toRelativeCalendar(e={}){return this.isValid?hg(e.base||xe.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(xe.isDateTime))throw new yt("min requires all arguments be DateTimes");return Zf(e,t=>t.valueOf(),Math.min)}static max(...e){if(!e.every(xe.isDateTime))throw new yt("max requires all arguments be DateTimes");return Zf(e,t=>t.valueOf(),Math.max)}static fromFormatExplain(e,t,a={}){const{locale:s=null,numberingSystem:r=null}=a,n=je.fromOpts({locale:s,numberingSystem:r,defaultToEN:!0});return jb(n,e,t)}static fromStringExplain(e,t,a={}){return xe.fromFormatExplain(e,t,a)}static buildFormatParser(e,t={}){const{locale:a=null,numberingSystem:s=null}=t,r=je.fromOpts({locale:a,numberingSystem:s,defaultToEN:!0});return new Wb(r,e)}static fromFormatParser(e,t,a={}){if(ye(e)||ye(t))throw new yt("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:r=null}=a,n=je.fromOpts({locale:s,numberingSystem:r,defaultToEN:!0});if(!n.equals(t.locale))throw new yt(`fromFormatParser called with a locale of ${n}, but the format parser was created for ${t.locale}`);const{result:o,zone:l,specificOffset:c,invalidReason:u}=t.explainFromTokens(e);return u?xe.invalid(u):os(o,l,a,`format ${t.format}`,e,c)}static get DATE_SHORT(){return ho}static get DATE_MED(){return Xv}static get DATE_MED_WITH_WEEKDAY(){return GM}static get DATE_FULL(){return qv}static get DATE_HUGE(){return Gv}static get TIME_SIMPLE(){return $v}static get TIME_WITH_SECONDS(){return Kv}static get TIME_WITH_SHORT_OFFSET(){return Zv}static get TIME_WITH_LONG_OFFSET(){return Jv}static get TIME_24_SIMPLE(){return Qv}static get TIME_24_WITH_SECONDS(){return eb}static get TIME_24_WITH_SHORT_OFFSET(){return tb}static get TIME_24_WITH_LONG_OFFSET(){return ib}static get DATETIME_SHORT(){return ab}static get DATETIME_SHORT_WITH_SECONDS(){return sb}static get DATETIME_MED(){return rb}static get DATETIME_MED_WITH_SECONDS(){return nb}static get DATETIME_MED_WITH_WEEKDAY(){return $M}static get DATETIME_FULL(){return ob}static get DATETIME_FULL_WITH_SECONDS(){return lb}static get DATETIME_HUGE(){return cb}static get DATETIME_HUGE_WITH_SECONDS(){return ub}}function er(i){if(xe.isDateTime(i))return i;if(i&&i.valueOf&&fa(i.valueOf()))return xe.fromJSDate(i);if(i&&typeof i=="object")return xe.fromObject(i);throw new yt(`Unknown datetime argument: ${i}, of type ${typeof i}`)}/**
|
|
59
|
+
* filesize
|
|
60
|
+
*
|
|
61
|
+
* @copyright 2024 Jason Mulligan <jason.mulligan@avoidwork.com>
|
|
62
|
+
* @license BSD-3-Clause
|
|
63
|
+
* @version 10.1.6
|
|
64
|
+
*/const YP="array",VP="bit",gg="bits",UP="byte",pg="bytes",ls="",XP="exponent",qP="function",mg="iec",GP="Invalid number",$P="Invalid rounding method",zl="jedec",KP="object",vg=".",ZP="round",JP="s",QP="si",e_="kbit",t_="kB",i_=" ",a_="string",s_="0",Bl={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};function r_(i,{bits:e=!1,pad:t=!1,base:a=-1,round:s=2,locale:r=ls,localeOptions:n={},separator:o=ls,spacer:l=i_,symbols:c={},standard:u=ls,output:d=a_,fullform:h=!1,fullforms:f=[],exponent:g=-1,roundingMethod:p=ZP,precision:m=0}={}){let v=g,b=Number(i),x=[],k=0,y=ls;u===QP?(a=10,u=zl):u===mg||u===zl?a=2:a===2?u=mg:(a=10,u=zl);const A=a===10?1e3:1024,w=h===!0,S=b<0,C=Math[p];if(typeof i!="bigint"&&isNaN(i))throw new TypeError(GP);if(typeof C!==qP)throw new TypeError($P);if(S&&(b=-b),(v===-1||isNaN(v))&&(v=Math.floor(Math.log(b)/Math.log(A)),v<0&&(v=0)),v>8&&(m>0&&(m+=8-v),v=8),d===XP)return v;if(b===0)x[0]=0,y=x[1]=Bl.symbol[u][e?gg:pg][v];else{k=b/(a===2?Math.pow(2,v*10):Math.pow(1e3,v)),e&&(k=k*8,k>=A&&v<8&&(k=k/A,v++));const M=Math.pow(10,v>0?s:0);x[0]=C(k*M)/M,x[0]===A&&v<8&&g===-1&&(x[0]=1,v++),y=x[1]=a===10&&v===1?e?e_:t_:Bl.symbol[u][e?gg:pg][v]}if(S&&(x[0]=-x[0]),m>0&&(x[0]=x[0].toPrecision(m)),x[1]=c[x[1]]||x[1],r===!0?x[0]=x[0].toLocaleString():r.length>0?x[0]=x[0].toLocaleString(r,n):o.length>0&&(x[0]=x[0].toString().replace(vg,o)),t&&s>0){const M=x[0].toString(),E=o||(M.match(/(\D)/g)||[]).pop()||vg,P=M.toString().split(E),D=P[1]||ls,L=D.length,B=s-L;x[0]=`${P[0]}${E}${D.padEnd(L+B,s_)}`}return w&&(x[1]=f[v]?f[v]:Bl.fullform[u][v]+(e?VP:UP)+(x[0]===1?ls:JP)),d===YP?x:d===KP?{value:x[0],symbol:x[1],exponent:v,unit:y}:x.join(l)}const{$gettext:bg}=ja,n_={install:i=>{i.config.globalProperties.$yesno=e=>bg(e?"yes":"no"),i.config.globalProperties.$date=e=>xe.fromISO(e).setLocale(ja.current).toLocaleString(xe.DATETIME_MED),i.config.globalProperties.$truncate=(e,t,a)=>(a=a||"...",e.length>t?e.slice(0,t)+a:e),i.config.globalProperties.$filesize=e=>r_(e,{locale:ja.current})}},o_={install:i=>{const e=Go();i.directive("can",(t,a)=>{const s=a.value;e.authUser&&authUser.authUser.role!==ue.SUPER_ADMIN&&e.authUser.permissions.indexOf(s)===-1&&(t.style.display="none")}),i.config.globalProperties.$can=function(t){return e.authUser?e.authUser.role===ue.SUPER_ADMIN||e.authUser.permissions.indexOf(t)!==-1:!1}}};/*!
|
|
65
|
+
* ApexCharts v5.3.6
|
|
66
|
+
* (c) 2018-2025 ApexCharts
|
|
67
|
+
*/function tu(i,e){(e==null||e>i.length)&&(e=i.length);for(var t=0,a=Array(e);t<e;t++)a[t]=i[t];return a}function Xb(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function ee(i,e){if(!(i instanceof e))throw new TypeError("Cannot call a class as a function")}function xg(i,e){for(var t=0;t<e.length;t++){var a=e[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(i,$b(a.key),a)}}function te(i,e,t){return e&&xg(i.prototype,e),t&&xg(i,t),Object.defineProperty(i,"prototype",{writable:!1}),i}function lr(i,e){var t=typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(!t){if(Array.isArray(i)||(t=md(i))||e){t&&(i=t);var a=0,s=function(){};return{s,n:function(){return a>=i.length?{done:!0}:{done:!1,value:i[a++]}},e:function(l){throw l},f:s}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
68
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var r,n=!0,o=!1;return{s:function(){t=t.call(i)},n:function(){var l=t.next();return n=l.done,l},e:function(l){o=!0,r=l},f:function(){try{n||t.return==null||t.return()}finally{if(o)throw r}}}}function rn(i){var e=qb();return function(){var t,a=vo(i);if(e){var s=vo(this).constructor;t=Reflect.construct(a,arguments,s)}else t=a.apply(this,arguments);return(function(r,n){if(n&&(typeof n=="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Xb(r)})(this,t)}}function mo(i,e,t){return(e=$b(e))in i?Object.defineProperty(i,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):i[e]=t,i}function vo(i){return vo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},vo(i)}function nn(i,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(e&&e.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),e&&iu(i,e)}function qb(){try{var i=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(qb=function(){return!!i})()}function yg(i,e){var t=Object.keys(i);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(i);e&&(a=a.filter((function(s){return Object.getOwnPropertyDescriptor(i,s).enumerable}))),t.push.apply(t,a)}return t}function $(i){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?yg(Object(t),!0).forEach((function(a){mo(i,a,t[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(t)):yg(Object(t)).forEach((function(a){Object.defineProperty(i,a,Object.getOwnPropertyDescriptor(t,a))}))}return i}function iu(i,e){return iu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,a){return t.__proto__=a,t},iu(i,e)}function Gb(i,e){return(function(t){if(Array.isArray(t))return t})(i)||(function(t,a){var s=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(s!=null){var r,n,o,l,c=[],u=!0,d=!1;try{if(o=(s=s.call(t)).next,a===0){if(Object(s)!==s)return;u=!1}else for(;!(u=(r=o.call(s)).done)&&(c.push(r.value),c.length!==a);u=!0);}catch(h){d=!0,n=h}finally{try{if(!u&&s.return!=null&&(l=s.return(),Object(l)!==l))return}finally{if(d)throw n}}return c}})(i,e)||md(i,e)||(function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
69
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function ft(i){return(function(e){if(Array.isArray(e))return tu(e)})(i)||(function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)})(i)||md(i)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
70
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function $b(i){var e=(function(t,a){if(typeof t!="object"||!t)return t;var s=t[Symbol.toPrimitive];if(s!==void 0){var r=s.call(t,a);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(t)})(i,"string");return typeof e=="symbol"?e:e+""}function Tt(i){return Tt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tt(i)}function md(i,e){if(i){if(typeof i=="string")return tu(i,e);var t={}.toString.call(i).slice(8,-1);return t==="Object"&&i.constructor&&(t=i.constructor.name),t==="Map"||t==="Set"?Array.from(i):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?tu(i,e):void 0}}var T=(function(){function i(){ee(this,i)}return te(i,[{key:"shadeRGBColor",value:function(e,t){var a=t.split(","),s=e<0?0:255,r=e<0?-1*e:e,n=parseInt(a[0].slice(4),10),o=parseInt(a[1],10),l=parseInt(a[2],10);return"rgb("+(Math.round((s-n)*r)+n)+","+(Math.round((s-o)*r)+o)+","+(Math.round((s-l)*r)+l)+")"}},{key:"shadeHexColor",value:function(e,t){var a=parseInt(t.slice(1),16),s=e<0?0:255,r=e<0?-1*e:e,n=a>>16,o=a>>8&255,l=255&a;return"#"+(16777216+65536*(Math.round((s-n)*r)+n)+256*(Math.round((s-o)*r)+o)+(Math.round((s-l)*r)+l)).toString(16).slice(1)}},{key:"shadeColor",value:function(e,t){return i.isColorHex(t)?this.shadeHexColor(e,t):this.shadeRGBColor(e,t)}}],[{key:"bind",value:function(e,t){return function(){return e.apply(t,arguments)}}},{key:"isObject",value:function(e){return e&&Tt(e)==="object"&&!Array.isArray(e)&&e!=null}},{key:"is",value:function(e,t){return Object.prototype.toString.call(t)==="[object "+e+"]"}},{key:"isSafari",value:function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}},{key:"listToArray",value:function(e){var t,a=[];for(t=0;t<e.length;t++)a[t]=e[t];return a}},{key:"extend",value:function(e,t){var a=this;typeof Object.assign!="function"&&(Object.assign=function(r){if(r==null)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(r),o=1;o<arguments.length;o++){var l=arguments[o];if(l!=null)for(var c in l)l.hasOwnProperty(c)&&(n[c]=l[c])}return n});var s=Object.assign({},e);return this.isObject(e)&&this.isObject(t)&&Object.keys(t).forEach((function(r){a.isObject(t[r])&&r in e?s[r]=a.extend(e[r],t[r]):Object.assign(s,mo({},r,t[r]))})),s}},{key:"extendArray",value:function(e,t){var a=[];return e.map((function(s){a.push(i.extend(t,s))})),e=a}},{key:"monthMod",value:function(e){return e%12}},{key:"clone",value:function(e){var t,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new WeakMap;if(e===null||Tt(e)!=="object")return e;if(a.has(e))return a.get(e);if(Array.isArray(e)){t=[],a.set(e,t);for(var s=0;s<e.length;s++)t[s]=this.clone(e[s],a)}else if(e instanceof Date)t=new Date(e.getTime());else for(var r in t={},a.set(e,t),e)e.hasOwnProperty(r)&&(t[r]=this.clone(e[r],a));return t}},{key:"log10",value:function(e){return Math.log(e)/Math.LN10}},{key:"roundToBase10",value:function(e){return Math.pow(10,Math.floor(Math.log10(e)))}},{key:"roundToBase",value:function(e,t){return Math.pow(t,Math.floor(Math.log(e)/Math.log(t)))}},{key:"parseNumber",value:function(e){return typeof e=="number"||e===null?e:parseFloat(e)}},{key:"stripNumber",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return Number.isInteger(e)?e:parseFloat(e.toPrecision(t))}},{key:"randomId",value:function(){return(Math.random()+1).toString(36).substring(4)}},{key:"noExponents",value:function(e){return e.toString().includes("e")?Math.round(e):e}},{key:"elementExists",value:function(e){return!(!e||!e.isConnected)}},{key:"isInShadowDOM",value:function(e){if(!e||!e.getRootNode)return!1;var t=e.getRootNode();return t&&t!==document&&i.is("ShadowRoot",t)}},{key:"getShadowRootHost",value:function(e){return i.isInShadowDOM(e)&&e.getRootNode().host||null}},{key:"getDimensions",value:function(e){if(!e)return[0,0];var t,a=e.getRootNode&&e.getRootNode();if(a&&a!==document&&a.host){var s=a.host.getBoundingClientRect();return[s.width,s.height]}try{t=getComputedStyle(e,null)}catch{return[e.clientWidth||0,e.clientHeight||0]}var r=e.clientHeight,n=e.clientWidth;return r-=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom),[n-=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),r]}},{key:"getBoundingClientRect",value:function(e){if(!e)return{top:0,right:0,bottom:0,left:0,width:0,height:0,x:0,y:0};var t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:e.clientWidth,height:e.clientHeight,x:t.left,y:t.top}}},{key:"getLargestStringFromArr",value:function(e){return e.reduce((function(t,a){return Array.isArray(a)&&(a=a.reduce((function(s,r){return s.length>r.length?s:r}))),t.length>a.length?t:a}),0)}},{key:"hexToRgba",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"#999999",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.6;e.substring(0,1)!=="#"&&(e="#999999");var a=e.replace("#","");a=a.match(new RegExp("(.{"+a.length/3+"})","g"));for(var s=0;s<a.length;s++)a[s]=parseInt(a[s].length===1?a[s]+a[s]:a[s],16);return t!==void 0&&a.push(t),"rgba("+a.join(",")+")"}},{key:"getOpacityFromRGBA",value:function(e){return parseFloat(e.replace(/^.*,(.+)\)/,"$1"))}},{key:"rgb2hex",value:function(e){return(e=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&e.length===4?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):""}},{key:"isColorHex",value:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)|(^#[0-9A-F]{8}$)/i.test(e)}},{key:"getPolygonPos",value:function(e,t){for(var a=[],s=2*Math.PI/t,r=0;r<t;r++){var n={};n.x=e*Math.sin(r*s),n.y=-e*Math.cos(r*s),a.push(n)}return a}},{key:"polarToCartesian",value:function(e,t,a,s){var r=(s-90)*Math.PI/180;return{x:e+a*Math.cos(r),y:t+a*Math.sin(r)}}},{key:"escapeString",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"x",a=e.toString().slice();return a=a.replace(/[` ~!@#$%^&*()|+\=?;:'",.<>{}[\]\\/]/gi,t)}},{key:"negToZero",value:function(e){return e<0?0:e}},{key:"moveIndexInArray",value:function(e,t,a){if(a>=e.length)for(var s=a-e.length+1;s--;)e.push(void 0);return e.splice(a,0,e.splice(t,1)[0]),e}},{key:"extractNumber",value:function(e){return parseFloat(e.replace(/[^\d.]*/g,""))}},{key:"findAncestor",value:function(e,t){for(;(e=e.parentElement)&&!e.classList.contains(t););return e}},{key:"setELstyles",value:function(e,t){for(var a in t)t.hasOwnProperty(a)&&(e.style.key=t[a])}},{key:"preciseAddition",value:function(e,t){var a=(String(e).split(".")[1]||"").length,s=(String(t).split(".")[1]||"").length,r=Math.pow(10,Math.max(a,s));return(Math.round(e*r)+Math.round(t*r))/r}},{key:"isNumber",value:function(e){return!isNaN(e)&&parseFloat(Number(e))===e&&!isNaN(parseInt(e,10))}},{key:"isFloat",value:function(e){return Number(e)===e&&e%1!=0}},{key:"isMsEdge",value:function(){var e=window.navigator.userAgent,t=e.indexOf("Edge/");return t>0&&parseInt(e.substring(t+5,e.indexOf(".",t)),10)}},{key:"getGCD",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:7,s=Math.pow(10,a-Math.floor(Math.log10(Math.max(e,t))));for(s>1?(e=Math.round(Math.abs(e)*s),t=Math.round(Math.abs(t)*s)):s=1;t;){var r=t;t=e%t,e=r}return e/s}},{key:"getPrimeFactors",value:function(e){for(var t=[],a=2;e>=2;)e%a==0?(t.push(a),e/=a):a++;return t}},{key:"mod",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:7,s=Math.pow(10,a-Math.floor(Math.log10(Math.max(e,t))));return(e=Math.round(Math.abs(e)*s))%(t=Math.round(Math.abs(t)*s))/s}}]),i})(),Ys=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"animateLine",value:function(e,t,a,s){e.attr(t).animate(s).attr(a)}},{key:"animateMarker",value:function(e,t,a,s){e.attr({opacity:0}).animate(t).attr({opacity:1}).after((function(){s()}))}},{key:"animateRect",value:function(e,t,a,s,r){e.attr(t).animate(s).attr(a).after((function(){return r()}))}},{key:"animatePathsGradually",value:function(e){var t=e.el,a=e.realIndex,s=e.j,r=e.fill,n=e.pathFrom,o=e.pathTo,l=e.speed,c=e.delay,u=this.w,d=0;u.config.chart.animations.animateGradually.enabled&&(d=u.config.chart.animations.animateGradually.delay),u.config.chart.animations.dynamicAnimation.enabled&&u.globals.dataChanged&&u.config.chart.type!=="bar"&&(d=0),this.morphSVG(t,a,s,u.config.chart.type!=="line"||u.globals.comboCharts?r:"stroke",n,o,l,c*d)}},{key:"showDelayedElements",value:function(){this.w.globals.delayedElements.forEach((function(e){var t=e.el;t.classList.remove("apexcharts-element-hidden"),t.classList.add("apexcharts-hidden-element-shown")}))}},{key:"animationCompleted",value:function(e){var t=this.w;t.globals.animationEnded||(t.globals.animationEnded=!0,this.showDelayedElements(),typeof t.config.chart.events.animationEnd=="function"&&t.config.chart.events.animationEnd(this.ctx,{el:e,w:t}))}},{key:"morphSVG",value:function(e,t,a,s,r,n,o,l){var c=this,u=this.w;r||(r=e.attr("pathFrom")),n||(n=e.attr("pathTo"));var d=function(h){return u.config.chart.type==="radar"&&(o=1),"M 0 ".concat(u.globals.gridHeight)};(!r||r.indexOf("undefined")>-1||r.indexOf("NaN")>-1)&&(r=d()),(!n.trim()||n.indexOf("undefined")>-1||n.indexOf("NaN")>-1)&&(n=d()),u.globals.shouldAnimate||(o=1),e.plot(r).animate(1,l).plot(r).animate(o,l).plot(n).after((function(){T.isNumber(a)?a===u.globals.series[u.globals.maxValsInArrayIndex].length-2&&u.globals.shouldAnimate&&c.animationCompleted(e):s!=="none"&&u.globals.shouldAnimate&&(!u.globals.comboCharts&&t===u.globals.series.length-1||u.globals.comboCharts)&&c.animationCompleted(e),c.showDelayedElements()}))}}]),i})();const au={},Kb=[];function Ce(i,e){if(Array.isArray(i))for(const t of i)Ce(t,e);else if(typeof i!="object")Zb(Object.getOwnPropertyNames(e)),au[i]=Object.assign(au[i]||{},e);else for(const t in i)Ce(t,i[t])}function Ht(i){return au[i]||{}}function Zb(i){Kb.push(...i)}function vd(i,e){let t;const a=i.length,s=[];for(t=0;t<a;t++)s.push(e(i[t]));return s}function Hl(i){return i%360*Math.PI/180}function Vs(i){return i.charAt(0).toUpperCase()+i.slice(1)}function Us(i,e,t,a){return e!=null&&t!=null||(a=a||i.bbox(),e==null?e=a.width/a.height*t:t==null&&(t=a.height/a.width*e)),{width:e,height:t}}function su(i,e){const t=i.origin;let a=i.ox!=null?i.ox:i.originX!=null?i.originX:"center",s=i.oy!=null?i.oy:i.originY!=null?i.originY:"center";t!=null&&([a,s]=Array.isArray(t)?t:typeof t=="object"?[t.x,t.y]:[t,t]);const r=typeof a=="string",n=typeof s=="string";if(r||n){const{height:o,width:l,x:c,y:u}=e.bbox();r&&(a=a.includes("left")?c:a.includes("right")?c+l:c+l/2),n&&(s=s.includes("top")?u:s.includes("bottom")?u+o:u+o/2)}return[a,s]}const l_=new Set(["desc","metadata","title"]),ru=i=>l_.has(i.nodeName),Jb=(i,e,t={})=>{const a={...e};for(const s in a)a[s].valueOf()===t[s]&&delete a[s];Object.keys(a).length?i.node.setAttribute("data-svgjs",JSON.stringify(a)):(i.node.removeAttribute("data-svgjs"),i.node.removeAttribute("svgjs:data"))},bd="http://www.w3.org/2000/svg",Wl="http://www.w3.org/2000/xmlns/",Xs="http://www.w3.org/1999/xlink",Te={window:typeof window>"u"?null:window,document:typeof document>"u"?null:document};function on(){return Te.window}let xd=class{};const Ya={},yd="___SYMBOL___ROOT___";function Or(i,e=bd){return Te.document.createElementNS(e,i)}function Rt(i,e=!1){if(i instanceof xd)return i;if(typeof i=="object")return jl(i);if(i==null)return new Ya[yd];if(typeof i=="string"&&i.charAt(0)!=="<")return jl(Te.document.querySelector(i));const t=e?Te.document.createElement("div"):Or("svg");return t.innerHTML=i,i=jl(t.firstChild),t.removeChild(t.firstChild),i}function Xe(i,e){return e&&(e instanceof Te.window.Node||e.ownerDocument&&e instanceof e.ownerDocument.defaultView.Node)?e:Or(i)}function Qt(i){if(!i)return null;if(i.instance instanceof xd)return i.instance;if(i.nodeName==="#document-fragment")return new Ya.Fragment(i);let e=Vs(i.nodeName||"Dom");return e==="LinearGradient"||e==="RadialGradient"?e="Gradient":Ya[e]||(e="Dom"),new Ya[e](i)}let jl=Qt;function De(i,e=i.name,t=!1){return Ya[e]=i,t&&(Ya[yd]=i),Zb(Object.getOwnPropertyNames(i.prototype)),i}let c_=1e3;function Qb(i){return"Svgjs"+Vs(i)+c_++}function ex(i){for(let e=i.children.length-1;e>=0;e--)ex(i.children[e]);return i.id&&(i.id=Qb(i.nodeName)),i}function fe(i,e){let t,a;for(a=(i=Array.isArray(i)?i:[i]).length-1;a>=0;a--)for(t in e)i[a].prototype[t]=e[t]}function Ue(i){return function(...e){const t=e[e.length-1];return!t||t.constructor!==Object||t instanceof Array?i.apply(this,e):i.apply(this,e.slice(0,-1)).attr(t)}}Ce("Dom",{siblings:function(){return this.parent().children()},position:function(){return this.parent().index(this)},next:function(){return this.siblings()[this.position()+1]},prev:function(){return this.siblings()[this.position()-1]},forward:function(){const i=this.position();return this.parent().add(this.remove(),i+1),this},backward:function(){const i=this.position();return this.parent().add(this.remove(),i?i-1:0),this},front:function(){return this.parent().add(this.remove()),this},back:function(){return this.parent().add(this.remove(),0),this},before:function(i){(i=Rt(i)).remove();const e=this.position();return this.parent().add(i,e),this},after:function(i){(i=Rt(i)).remove();const e=this.position();return this.parent().add(i,e+1),this},insertBefore:function(i){return(i=Rt(i)).before(this),this},insertAfter:function(i){return(i=Rt(i)).after(this),this}});const tx=/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i,u_=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,d_=/rgb\((\d+),(\d+),(\d+)\)/,h_=/(#[a-z_][a-z0-9\-_]*)/i,f_=/\)\s*,?\s*/,g_=/\s/g,wg=/^#[a-f0-9]{3}$|^#[a-f0-9]{6}$/i,kg=/^rgb\(/,Ag=/^(\s+)?$/,Sg=/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,p_=/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i,Zi=/[\s,]+/,wd=/[MLHVCSQTAZ]/i;function m_(i){const e=Math.round(i),t=Math.max(0,Math.min(255,e)).toString(16);return t.length===1?"0"+t:t}function cs(i,e){for(let t=e.length;t--;)if(i[e[t]]==null)return!1;return!0}function Yl(i,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?i+6*(e-i)*t:t<.5?e:t<2/3?i+(e-i)*(2/3-t)*6:i}Ce("Dom",{classes:function(){const i=this.attr("class");return i==null?[]:i.trim().split(Zi)},hasClass:function(i){return this.classes().indexOf(i)!==-1},addClass:function(i){if(!this.hasClass(i)){const e=this.classes();e.push(i),this.attr("class",e.join(" "))}return this},removeClass:function(i){return this.hasClass(i)&&this.attr("class",this.classes().filter((function(e){return e!==i})).join(" ")),this},toggleClass:function(i){return this.hasClass(i)?this.removeClass(i):this.addClass(i)}}),Ce("Dom",{css:function(i,e){const t={};if(arguments.length===0)return this.node.style.cssText.split(/\s*;\s*/).filter((function(a){return!!a.length})).forEach((function(a){const s=a.split(/\s*:\s*/);t[s[0]]=s[1]})),t;if(arguments.length<2){if(Array.isArray(i)){for(const a of i){const s=a;t[a]=this.node.style.getPropertyValue(s)}return t}if(typeof i=="string")return this.node.style.getPropertyValue(i);if(typeof i=="object")for(const a in i)this.node.style.setProperty(a,i[a]==null||Ag.test(i[a])?"":i[a])}return arguments.length===2&&this.node.style.setProperty(i,e==null||Ag.test(e)?"":e),this},show:function(){return this.css("display","")},hide:function(){return this.css("display","none")},visible:function(){return this.css("display")!=="none"}}),Ce("Dom",{data:function(i,e,t){if(i==null)return this.data(vd((function(a,s){let r;const n=a.length,o=[];for(r=0;r<n;r++)s(a[r])&&o.push(a[r]);return o})(this.node.attributes,(a=>a.nodeName.indexOf("data-")===0)),(a=>a.nodeName.slice(5))));if(i instanceof Array){const a={};for(const s of i)a[s]=this.data(s);return a}if(typeof i=="object")for(e in i)this.data(e,i[e]);else if(arguments.length<2)try{return JSON.parse(this.attr("data-"+i))}catch{return this.attr("data-"+i)}else this.attr("data-"+i,e===null?null:t===!0||typeof e=="string"||typeof e=="number"?e:JSON.stringify(e));return this}}),Ce("Dom",{remember:function(i,e){if(typeof arguments[0]=="object")for(const t in i)this.remember(t,i[t]);else{if(arguments.length===1)return this.memory()[i];this.memory()[i]=e}return this},forget:function(){if(arguments.length===0)this._memory={};else for(let i=arguments.length-1;i>=0;i--)delete this.memory()[arguments[i]];return this},memory:function(){return this._memory=this._memory||{}}});class Ve{constructor(...e){this.init(...e)}static isColor(e){return e&&(e instanceof Ve||this.isRgb(e)||this.test(e))}static isRgb(e){return e&&typeof e.r=="number"&&typeof e.g=="number"&&typeof e.b=="number"}static random(e="vibrant",t){const{random:a,round:s,sin:r,PI:n}=Math;if(e==="vibrant"){const o=24*a()+57,l=38*a()+45,c=360*a();return new Ve(o,l,c,"lch")}if(e==="sine"){const o=s(80*r(2*n*(t=t??a())/.5+.01)+150),l=s(50*r(2*n*t/.5+4.6)+200),c=s(100*r(2*n*t/.5+2.3)+150);return new Ve(o,l,c)}if(e==="pastel"){const o=8*a()+86,l=17*a()+9,c=360*a();return new Ve(o,l,c,"lch")}if(e==="dark"){const o=10+10*a(),l=50*a()+86,c=360*a();return new Ve(o,l,c,"lch")}if(e==="rgb"){const o=255*a(),l=255*a(),c=255*a();return new Ve(o,l,c)}if(e==="lab"){const o=100*a(),l=256*a()-128,c=256*a()-128;return new Ve(o,l,c,"lab")}if(e==="grey"){const o=255*a();return new Ve(o,o,o)}throw new Error("Unsupported random color mode")}static test(e){return typeof e=="string"&&(wg.test(e)||kg.test(e))}cmyk(){const{_a:e,_b:t,_c:a}=this.rgb(),[s,r,n]=[e,t,a].map((l=>l/255)),o=Math.min(1-s,1-r,1-n);return o===1?new Ve(0,0,0,1,"cmyk"):new Ve((1-s-o)/(1-o),(1-r-o)/(1-o),(1-n-o)/(1-o),o,"cmyk")}hsl(){const{_a:e,_b:t,_c:a}=this.rgb(),[s,r,n]=[e,t,a].map((h=>h/255)),o=Math.max(s,r,n),l=Math.min(s,r,n),c=(o+l)/2,u=o===l,d=o-l;return new Ve(360*(u?0:o===s?((r-n)/d+(r<n?6:0))/6:o===r?((n-s)/d+2)/6:o===n?((s-r)/d+4)/6:0),100*(u?0:c>.5?d/(2-o-l):d/(o+l)),100*c,"hsl")}init(e=0,t=0,a=0,s=0,r="rgb"){if(e=e||0,this.space)for(const d in this.space)delete this[this.space[d]];if(typeof e=="number")r=typeof s=="string"?s:r,s=typeof s=="string"?0:s,Object.assign(this,{_a:e,_b:t,_c:a,_d:s,space:r});else if(e instanceof Array)this.space=t||(typeof e[3]=="string"?e[3]:e[4])||"rgb",Object.assign(this,{_a:e[0],_b:e[1],_c:e[2],_d:e[3]||0});else if(e instanceof Object){const d=(function(h,f){const g=cs(h,"rgb")?{_a:h.r,_b:h.g,_c:h.b,_d:0,space:"rgb"}:cs(h,"xyz")?{_a:h.x,_b:h.y,_c:h.z,_d:0,space:"xyz"}:cs(h,"hsl")?{_a:h.h,_b:h.s,_c:h.l,_d:0,space:"hsl"}:cs(h,"lab")?{_a:h.l,_b:h.a,_c:h.b,_d:0,space:"lab"}:cs(h,"lch")?{_a:h.l,_b:h.c,_c:h.h,_d:0,space:"lch"}:cs(h,"cmyk")?{_a:h.c,_b:h.m,_c:h.y,_d:h.k,space:"cmyk"}:{_a:0,_b:0,_c:0,space:"rgb"};return g.space=f||g.space,g})(e,t);Object.assign(this,d)}else if(typeof e=="string")if(kg.test(e)){const d=e.replace(g_,""),[h,f,g]=d_.exec(d).slice(1,4).map((p=>parseInt(p)));Object.assign(this,{_a:h,_b:f,_c:g,_d:0,space:"rgb"})}else{if(!wg.test(e))throw Error("Unsupported string format, can't construct Color");{const d=p=>parseInt(p,16),[,h,f,g]=u_.exec((function(p){return p.length===4?["#",p.substring(1,2),p.substring(1,2),p.substring(2,3),p.substring(2,3),p.substring(3,4),p.substring(3,4)].join(""):p})(e)).map(d);Object.assign(this,{_a:h,_b:f,_c:g,_d:0,space:"rgb"})}}const{_a:n,_b:o,_c:l,_d:c}=this,u=this.space==="rgb"?{r:n,g:o,b:l}:this.space==="xyz"?{x:n,y:o,z:l}:this.space==="hsl"?{h:n,s:o,l}:this.space==="lab"?{l:n,a:o,b:l}:this.space==="lch"?{l:n,c:o,h:l}:this.space==="cmyk"?{c:n,m:o,y:l,k:c}:{};Object.assign(this,u)}lab(){const{x:e,y:t,z:a}=this.xyz();return new Ve(116*t-16,500*(e-t),200*(t-a),"lab")}lch(){const{l:e,a:t,b:a}=this.lab(),s=Math.sqrt(t**2+a**2);let r=180*Math.atan2(a,t)/Math.PI;return r<0&&(r*=-1,r=360-r),new Ve(e,s,r,"lch")}rgb(){if(this.space==="rgb")return this;if((e=this.space)==="lab"||e==="xyz"||e==="lch"){let{x:t,y:a,z:s}=this;if(this.space==="lab"||this.space==="lch"){let{l:f,a:g,b:p}=this;if(this.space==="lch"){const{c:A,h:w}=this,S=Math.PI/180;g=A*Math.cos(S*w),p=A*Math.sin(S*w)}const m=(f+16)/116,v=g/500+m,b=m-p/200,x=16/116,k=.008856,y=7.787;t=.95047*(v**3>k?v**3:(v-x)/y),a=1*(m**3>k?m**3:(m-x)/y),s=1.08883*(b**3>k?b**3:(b-x)/y)}const r=3.2406*t+-1.5372*a+-.4986*s,n=-.9689*t+1.8758*a+.0415*s,o=.0557*t+-.204*a+1.057*s,l=Math.pow,c=.0031308,u=r>c?1.055*l(r,1/2.4)-.055:12.92*r,d=n>c?1.055*l(n,1/2.4)-.055:12.92*n,h=o>c?1.055*l(o,1/2.4)-.055:12.92*o;return new Ve(255*u,255*d,255*h)}if(this.space==="hsl"){let{h:t,s:a,l:s}=this;if(t/=360,a/=100,s/=100,a===0)return s*=255,new Ve(s,s,s);const r=s<.5?s*(1+a):s+a-s*a,n=2*s-r,o=255*Yl(n,r,t+1/3),l=255*Yl(n,r,t),c=255*Yl(n,r,t-1/3);return new Ve(o,l,c)}if(this.space==="cmyk"){const{c:t,m:a,y:s,k:r}=this,n=255*(1-Math.min(1,t*(1-r)+r)),o=255*(1-Math.min(1,a*(1-r)+r)),l=255*(1-Math.min(1,s*(1-r)+r));return new Ve(n,o,l)}return this;var e}toArray(){const{_a:e,_b:t,_c:a,_d:s,space:r}=this;return[e,t,a,s,r]}toHex(){const[e,t,a]=this._clamped().map(m_);return`#${e}${t}${a}`}toRgb(){const[e,t,a]=this._clamped();return`rgb(${e},${t},${a})`}toString(){return this.toHex()}xyz(){const{_a:e,_b:t,_c:a}=this.rgb(),[s,r,n]=[e,t,a].map((m=>m/255)),o=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92,l=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,c=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,u=(.4124*o+.3576*l+.1805*c)/.95047,d=(.2126*o+.7152*l+.0722*c)/1,h=(.0193*o+.1192*l+.9505*c)/1.08883,f=u>.008856?Math.pow(u,1/3):7.787*u+16/116,g=d>.008856?Math.pow(d,1/3):7.787*d+16/116,p=h>.008856?Math.pow(h,1/3):7.787*h+16/116;return new Ve(f,g,p,"xyz")}_clamped(){const{_a:e,_b:t,_c:a}=this.rgb(),{max:s,min:r,round:n}=Math;return[e,t,a].map((o=>s(0,r(n(o),255))))}}class Oe{constructor(...e){this.init(...e)}clone(){return new Oe(this)}init(e,t){const r=Array.isArray(e)?{x:e[0],y:e[1]}:typeof e=="object"?{x:e.x,y:e.y}:{x:e,y:t};return this.x=r.x==null?0:r.x,this.y=r.y==null?0:r.y,this}toArray(){return[this.x,this.y]}transform(e){return this.clone().transformO(e)}transformO(e){oe.isMatrixLike(e)||(e=new oe(e));const{x:t,y:a}=this;return this.x=e.a*t+e.c*a+e.e,this.y=e.b*t+e.d*a+e.f,this}}function us(i,e,t){return Math.abs(e-i)<1e-6}class oe{constructor(...e){this.init(...e)}static formatTransforms(e){const t=e.flip==="both"||e.flip===!0,a=e.flip&&(t||e.flip==="x")?-1:1,s=e.flip&&(t||e.flip==="y")?-1:1,r=e.skew&&e.skew.length?e.skew[0]:isFinite(e.skew)?e.skew:isFinite(e.skewX)?e.skewX:0,n=e.skew&&e.skew.length?e.skew[1]:isFinite(e.skew)?e.skew:isFinite(e.skewY)?e.skewY:0,o=e.scale&&e.scale.length?e.scale[0]*a:isFinite(e.scale)?e.scale*a:isFinite(e.scaleX)?e.scaleX*a:a,l=e.scale&&e.scale.length?e.scale[1]*s:isFinite(e.scale)?e.scale*s:isFinite(e.scaleY)?e.scaleY*s:s,c=e.shear||0,u=e.rotate||e.theta||0,d=new Oe(e.origin||e.around||e.ox||e.originX,e.oy||e.originY),h=d.x,f=d.y,g=new Oe(e.position||e.px||e.positionX||NaN,e.py||e.positionY||NaN),p=g.x,m=g.y,v=new Oe(e.translate||e.tx||e.translateX,e.ty||e.translateY),b=v.x,x=v.y,k=new Oe(e.relative||e.rx||e.relativeX,e.ry||e.relativeY);return{scaleX:o,scaleY:l,skewX:r,skewY:n,shear:c,theta:u,rx:k.x,ry:k.y,tx:b,ty:x,ox:h,oy:f,px:p,py:m}}static fromArray(e){return{a:e[0],b:e[1],c:e[2],d:e[3],e:e[4],f:e[5]}}static isMatrixLike(e){return e.a!=null||e.b!=null||e.c!=null||e.d!=null||e.e!=null||e.f!=null}static matrixMultiply(e,t,a){const s=e.a*t.a+e.c*t.b,r=e.b*t.a+e.d*t.b,n=e.a*t.c+e.c*t.d,o=e.b*t.c+e.d*t.d,l=e.e+e.a*t.e+e.c*t.f,c=e.f+e.b*t.e+e.d*t.f;return a.a=s,a.b=r,a.c=n,a.d=o,a.e=l,a.f=c,a}around(e,t,a){return this.clone().aroundO(e,t,a)}aroundO(e,t,a){const s=e||0,r=t||0;return this.translateO(-s,-r).lmultiplyO(a).translateO(s,r)}clone(){return new oe(this)}decompose(e=0,t=0){const a=this.a,s=this.b,r=this.c,n=this.d,o=this.e,l=this.f,c=a*n-s*r,u=c>0?1:-1,d=u*Math.sqrt(a*a+s*s),h=Math.atan2(u*s,u*a),f=180/Math.PI*h,g=Math.cos(h),p=Math.sin(h),m=(a*r+s*n)/c,v=r*d/(m*a-s)||n*d/(m*s+a);return{scaleX:d,scaleY:v,shear:m,rotate:f,translateX:o-e+e*g*d+t*(m*g*d-p*v),translateY:l-t+e*p*d+t*(m*p*d+g*v),originX:e,originY:t,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}equals(e){if(e===this)return!0;const t=new oe(e);return us(this.a,t.a)&&us(this.b,t.b)&&us(this.c,t.c)&&us(this.d,t.d)&&us(this.e,t.e)&&us(this.f,t.f)}flip(e,t){return this.clone().flipO(e,t)}flipO(e,t){return e==="x"?this.scaleO(-1,1,t,0):e==="y"?this.scaleO(1,-1,0,t):this.scaleO(-1,-1,e,t||e)}init(e){const t=oe.fromArray([1,0,0,1,0,0]);return e=e instanceof bt?e.matrixify():typeof e=="string"?oe.fromArray(e.split(Zi).map(parseFloat)):Array.isArray(e)?oe.fromArray(e):typeof e=="object"&&oe.isMatrixLike(e)?e:typeof e=="object"?new oe().transform(e):arguments.length===6?oe.fromArray([].slice.call(arguments)):t,this.a=e.a!=null?e.a:t.a,this.b=e.b!=null?e.b:t.b,this.c=e.c!=null?e.c:t.c,this.d=e.d!=null?e.d:t.d,this.e=e.e!=null?e.e:t.e,this.f=e.f!=null?e.f:t.f,this}inverse(){return this.clone().inverseO()}inverseO(){const e=this.a,t=this.b,a=this.c,s=this.d,r=this.e,n=this.f,o=e*s-t*a;if(!o)throw new Error("Cannot invert "+this);const l=s/o,c=-t/o,u=-a/o,d=e/o,h=-(l*r+u*n),f=-(c*r+d*n);return this.a=l,this.b=c,this.c=u,this.d=d,this.e=h,this.f=f,this}lmultiply(e){return this.clone().lmultiplyO(e)}lmultiplyO(e){const t=e instanceof oe?e:new oe(e);return oe.matrixMultiply(t,this,this)}multiply(e){return this.clone().multiplyO(e)}multiplyO(e){const t=e instanceof oe?e:new oe(e);return oe.matrixMultiply(this,t,this)}rotate(e,t,a){return this.clone().rotateO(e,t,a)}rotateO(e,t=0,a=0){e=Hl(e);const s=Math.cos(e),r=Math.sin(e),{a:n,b:o,c:l,d:c,e:u,f:d}=this;return this.a=n*s-o*r,this.b=o*s+n*r,this.c=l*s-c*r,this.d=c*s+l*r,this.e=u*s-d*r+a*r-t*s+t,this.f=d*s+u*r-t*r-a*s+a,this}scale(){return this.clone().scaleO(...arguments)}scaleO(e,t=e,a=0,s=0){arguments.length===3&&(s=a,a=t,t=e);const{a:r,b:n,c:o,d:l,e:c,f:u}=this;return this.a=r*e,this.b=n*t,this.c=o*e,this.d=l*t,this.e=c*e-a*e+a,this.f=u*t-s*t+s,this}shear(e,t,a){return this.clone().shearO(e,t,a)}shearO(e,t=0,a=0){const{a:s,b:r,c:n,d:o,e:l,f:c}=this;return this.a=s+r*e,this.c=n+o*e,this.e=l+c*e-a*e,this}skew(){return this.clone().skewO(...arguments)}skewO(e,t=e,a=0,s=0){arguments.length===3&&(s=a,a=t,t=e),e=Hl(e),t=Hl(t);const r=Math.tan(e),n=Math.tan(t),{a:o,b:l,c,d:u,e:d,f:h}=this;return this.a=o+l*r,this.b=l+o*n,this.c=c+u*r,this.d=u+c*n,this.e=d+h*r-s*r,this.f=h+d*n-a*n,this}skewX(e,t,a){return this.skew(e,0,t,a)}skewY(e,t,a){return this.skew(0,e,t,a)}toArray(){return[this.a,this.b,this.c,this.d,this.e,this.f]}toString(){return"matrix("+this.a+","+this.b+","+this.c+","+this.d+","+this.e+","+this.f+")"}transform(e){if(oe.isMatrixLike(e))return new oe(e).multiplyO(this);const t=oe.formatTransforms(e),{x:a,y:s}=new Oe(t.ox,t.oy).transform(this),r=new oe().translateO(t.rx,t.ry).lmultiplyO(this).translateO(-a,-s).scaleO(t.scaleX,t.scaleY).skewO(t.skewX,t.skewY).shearO(t.shear).rotateO(t.theta).translateO(a,s);if(isFinite(t.px)||isFinite(t.py)){const n=new Oe(a,s).transform(r),o=isFinite(t.px)?t.px-n.x:0,l=isFinite(t.py)?t.py-n.y:0;r.translateO(o,l)}return r.translateO(t.tx,t.ty),r}translate(e,t){return this.clone().translateO(e,t)}translateO(e,t){return this.e+=e||0,this.f+=t||0,this}valueOf(){return{a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}}function ca(){if(!ca.nodes){const i=Rt().size(2,0);i.node.style.cssText=["opacity: 0","position: absolute","left: -100%","top: -100%","overflow: hidden"].join(";"),i.attr("focusable","false"),i.attr("aria-hidden","true");const e=i.path().node;ca.nodes={svg:i,path:e}}if(!ca.nodes.svg.node.parentNode){const i=Te.document.body||Te.document.documentElement;ca.nodes.svg.addTo(i)}return ca.nodes}function ix(i){return!(i.width||i.height||i.x||i.y)}De(oe,"Matrix");class st{constructor(...e){this.init(...e)}addOffset(){return this.x+=Te.window.pageXOffset,this.y+=Te.window.pageYOffset,new st(this)}init(e){return e=typeof e=="string"?e.split(Zi).map(parseFloat):Array.isArray(e)?e:typeof e=="object"?[e.left!=null?e.left:e.x,e.top!=null?e.top:e.y,e.width,e.height]:arguments.length===4?[].slice.call(arguments):[0,0,0,0],this.x=e[0]||0,this.y=e[1]||0,this.width=this.w=e[2]||0,this.height=this.h=e[3]||0,this.x2=this.x+this.w,this.y2=this.y+this.h,this.cx=this.x+this.w/2,this.cy=this.y+this.h/2,this}isNulled(){return ix(this)}merge(e){const t=Math.min(this.x,e.x),a=Math.min(this.y,e.y),s=Math.max(this.x+this.width,e.x+e.width)-t,r=Math.max(this.y+this.height,e.y+e.height)-a;return new st(t,a,s,r)}toArray(){return[this.x,this.y,this.width,this.height]}toString(){return this.x+" "+this.y+" "+this.width+" "+this.height}transform(e){e instanceof oe||(e=new oe(e));let t=1/0,a=-1/0,s=1/0,r=-1/0;return[new Oe(this.x,this.y),new Oe(this.x2,this.y),new Oe(this.x,this.y2),new Oe(this.x2,this.y2)].forEach((function(n){n=n.transform(e),t=Math.min(t,n.x),a=Math.max(a,n.x),s=Math.min(s,n.y),r=Math.max(r,n.y)})),new st(t,s,a-t,r-s)}}function Cg(i,e,t){let a;try{if(a=e(i.node),ix(a)&&(s=i.node)!==Te.document&&!(Te.document.documentElement.contains||function(r){for(;r.parentNode;)r=r.parentNode;return r===Te.document}).call(Te.document.documentElement,s))throw new Error("Element not in the dom")}catch{a=t(i)}var s;return a}Ce({viewbox:{viewbox(i,e,t,a){return i==null?new st(this.attr("viewBox")):this.attr("viewBox",new st(i,e,t,a))},zoom(i,e){let{width:t,height:a}=this.attr(["width","height"]);if((t||a)&&typeof t!="string"&&typeof a!="string"||(t=this.node.clientWidth,a=this.node.clientHeight),!t||!a)throw new Error("Impossible to get absolute width and height. Please provide an absolute width and height attribute on the zooming element");const s=this.viewbox(),r=t/s.width,n=a/s.height,o=Math.min(r,n);if(i==null)return o;let l=o/i;l===1/0&&(l=Number.MAX_SAFE_INTEGER/100),e=e||new Oe(t/2/r+s.x,a/2/n+s.y);const c=new st(s).transform(new oe({scale:l,origin:e}));return this.viewbox(c)}}}),De(st,"Box");class Ka extends Array{constructor(e=[],...t){if(super(e,...t),typeof e=="number")return this;this.length=0,this.push(...e)}}fe([Ka],{each(i,...e){return typeof i=="function"?this.map(((t,a,s)=>i.call(t,t,a,s))):this.map((t=>t[i](...e)))},toArray(){return Array.prototype.concat.apply([],this)}});const v_=["toArray","constructor","each"];function Qa(i,e){return new Ka(vd((e||Te.document).querySelectorAll(i),(function(t){return Qt(t)})))}Ka.extend=function(i){i=i.reduce(((e,t)=>(v_.includes(t)||t[0]==="_"||(t in Array.prototype&&(e["$"+t]=Array.prototype[t]),e[t]=function(...a){return this.each(t,...a)}),e)),{}),fe([Ka],i)};let b_=0;const ax={};function sx(i){let e=i.getEventHolder();return e===Te.window&&(e=ax),e.events||(e.events={}),e.events}function kd(i){return i.getEventTarget()}function ji(i,e,t,a,s){const r=t.bind(a||i),n=Rt(i),o=sx(n),l=kd(n);e=Array.isArray(e)?e:e.split(Zi),t._svgjsListenerId||(t._svgjsListenerId=++b_),e.forEach((function(c){const u=c.split(".")[0],d=c.split(".")[1]||"*";o[u]=o[u]||{},o[u][d]=o[u][d]||{},o[u][d][t._svgjsListenerId]=r,l.addEventListener(u,r,s||!1)}))}function ai(i,e,t,a){const s=Rt(i),r=sx(s),n=kd(s);(typeof t!="function"||(t=t._svgjsListenerId))&&(e=Array.isArray(e)?e:(e||"").split(Zi)).forEach((function(o){const l=o&&o.split(".")[0],c=o&&o.split(".")[1];let u,d;if(t)r[l]&&r[l][c||"*"]&&(n.removeEventListener(l,r[l][c||"*"][t],a||!1),delete r[l][c||"*"][t]);else if(l&&c){if(r[l]&&r[l][c]){for(d in r[l][c])ai(n,[l,c].join("."),d);delete r[l][c]}}else if(c)for(o in r)for(u in r[o])c===u&&ai(n,[o,c].join("."));else if(l){if(r[l]){for(u in r[l])ai(n,[l,u].join("."));delete r[l]}}else{for(o in r)ai(n,o);(function(h){let f=h.getEventHolder();f===Te.window&&(f=ax),f.events&&(f.events={})})(s)}}))}class ln extends xd{addEventListener(){}dispatch(e,t,a){return(function(s,r,n,o){const l=kd(s);return r instanceof Te.window.Event||(r=new Te.window.CustomEvent(r,{detail:n,cancelable:!0,...o})),l.dispatchEvent(r),r})(this,e,t,a)}dispatchEvent(e){const t=this.getEventHolder().events;if(!t)return!0;const a=t[e.type];for(const s in a)for(const r in a[s])a[s][r](e);return!e.defaultPrevented}fire(e,t,a){return this.dispatch(e,t,a),this}getEventHolder(){return this}getEventTarget(){return this}off(e,t,a){return ai(this,e,t,a),this}on(e,t,a,s){return ji(this,e,t,a,s),this}removeEventListener(){}}function Mg(){}De(ln,"EventTarget");const Vl=400,x_=">",y_=0,w_={"fill-opacity":1,"stroke-opacity":1,"stroke-width":0,"stroke-linejoin":"miter","stroke-linecap":"butt",fill:"#000000",stroke:"#000000",opacity:1,x:0,y:0,cx:0,cy:0,width:0,height:0,r:0,rx:0,ry:0,offset:0,"stop-opacity":1,"stop-color":"#000000","text-anchor":"start"};class Za extends Array{constructor(...e){super(...e),this.init(...e)}clone(){return new this.constructor(this)}init(e){return typeof e=="number"||(this.length=0,this.push(...this.parse(e))),this}parse(e=[]){return e instanceof Array?e:e.trim().split(Zi).map(parseFloat)}toArray(){return Array.prototype.concat.apply([],this)}toSet(){return new Set(this)}toString(){return this.join(" ")}valueOf(){const e=[];return e.push(...this),e}}class Ae{constructor(...e){this.init(...e)}convert(e){return new Ae(this.value,e)}divide(e){return e=new Ae(e),new Ae(this/e,this.unit||e.unit)}init(e,t){return t=Array.isArray(e)?e[1]:t,e=Array.isArray(e)?e[0]:e,this.value=0,this.unit=t||"",typeof e=="number"?this.value=isNaN(e)?0:isFinite(e)?e:e<0?-34e37:34e37:typeof e=="string"?(t=e.match(tx))&&(this.value=parseFloat(t[1]),t[5]==="%"?this.value/=100:t[5]==="s"&&(this.value*=1e3),this.unit=t[5]):e instanceof Ae&&(this.value=e.valueOf(),this.unit=e.unit),this}minus(e){return e=new Ae(e),new Ae(this-e,this.unit||e.unit)}plus(e){return e=new Ae(e),new Ae(this+e,this.unit||e.unit)}times(e){return e=new Ae(e),new Ae(this*e,this.unit||e.unit)}toArray(){return[this.value,this.unit]}toJSON(){return this.toString()}toString(){return(this.unit==="%"?~~(1e8*this.value)/1e6:this.unit==="s"?this.value/1e3:this.value)+this.unit}valueOf(){return this.value}}const k_=new Set(["fill","stroke","color","bgcolor","stop-color","flood-color","lighting-color"]),rx=[];class va extends ln{constructor(e,t){super(),this.node=e,this.type=e.nodeName,t&&e!==t&&this.attr(t)}add(e,t){return(e=Rt(e)).removeNamespace&&this.node instanceof Te.window.SVGElement&&e.removeNamespace(),t==null?this.node.appendChild(e.node):e.node!==this.node.childNodes[t]&&this.node.insertBefore(e.node,this.node.childNodes[t]),this}addTo(e,t){return Rt(e).put(this,t)}children(){return new Ka(vd(this.node.children,(function(e){return Qt(e)})))}clear(){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return this}clone(e=!0,t=!0){this.writeDataToDom();let a=this.node.cloneNode(e);return t&&(a=ex(a)),new this.constructor(a)}each(e,t){const a=this.children();let s,r;for(s=0,r=a.length;s<r;s++)e.apply(a[s],[s,a]),t&&a[s].each(e,t);return this}element(e,t){return this.put(new va(Or(e),t))}first(){return Qt(this.node.firstChild)}get(e){return Qt(this.node.childNodes[e])}getEventHolder(){return this.node}getEventTarget(){return this.node}has(e){return this.index(e)>=0}html(e,t){return this.xml(e,t,"http://www.w3.org/1999/xhtml")}id(e){return e!==void 0||this.node.id||(this.node.id=Qb(this.type)),this.attr("id",e)}index(e){return[].slice.call(this.node.childNodes).indexOf(e.node)}last(){return Qt(this.node.lastChild)}matches(e){const t=this.node,a=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||t.oMatchesSelector||null;return a&&a.call(t,e)}parent(e){let t=this;if(!t.node.parentNode)return null;if(t=Qt(t.node.parentNode),!e)return t;do if(typeof e=="string"?t.matches(e):t instanceof e)return t;while(t=Qt(t.node.parentNode));return t}put(e,t){return e=Rt(e),this.add(e,t),e}putIn(e,t){return Rt(e).add(this,t)}remove(){return this.parent()&&this.parent().removeElement(this),this}removeElement(e){return this.node.removeChild(e.node),this}replace(e){return e=Rt(e),this.node.parentNode&&this.node.parentNode.replaceChild(e.node,this.node),e}round(e=2,t=null){const a=10**e,s=this.attr(t);for(const r in s)typeof s[r]=="number"&&(s[r]=Math.round(s[r]*a)/a);return this.attr(s),this}svg(e,t){return this.xml(e,t,bd)}toString(){return this.id()}words(e){return this.node.textContent=e,this}wrap(e){const t=this.parent();if(!t)return this.addTo(e);const a=t.index(this);return t.put(e,a).put(this)}writeDataToDom(){return this.each((function(){this.writeDataToDom()})),this}xml(e,t,a){if(typeof e=="boolean"&&(a=t,t=e,e=null),e==null||typeof e=="function"){t=t==null||t,this.writeDataToDom();let o=this;if(e!=null){if(o=Qt(o.node.cloneNode(!0)),t){const l=e(o);if(o=l||o,l===!1)return""}o.each((function(){const l=e(this),c=l||this;l===!1?this.remove():l&&this!==c&&this.replace(c)}),!0)}return t?o.node.outerHTML:o.node.innerHTML}t=t!=null&&t;const s=Or("wrapper",a),r=Te.document.createDocumentFragment();s.innerHTML=e;for(let o=s.children.length;o--;)r.appendChild(s.firstElementChild);const n=this.parent();return t?this.replace(r)&&n:this.add(r)}}fe(va,{attr:function(i,e,t){if(i==null){i={},e=this.node.attributes;for(const a of e)i[a.nodeName]=Sg.test(a.nodeValue)?parseFloat(a.nodeValue):a.nodeValue;return i}if(i instanceof Array)return i.reduce(((a,s)=>(a[s]=this.attr(s),a)),{});if(typeof i=="object"&&i.constructor===Object)for(e in i)this.attr(e,i[e]);else if(e===null)this.node.removeAttribute(i);else{if(e==null)return(e=this.node.getAttribute(i))==null?w_[i]:Sg.test(e)?parseFloat(e):e;typeof(e=rx.reduce(((a,s)=>s(i,a,this)),e))=="number"?e=new Ae(e):k_.has(i)&&Ve.isColor(e)?e=new Ve(e):e.constructor===Array&&(e=new Za(e)),i==="leading"?this.leading&&this.leading(e):typeof t=="string"?this.node.setAttributeNS(t,i,e.toString()):this.node.setAttribute(i,e.toString()),!this.rebuild||i!=="font-size"&&i!=="x"||this.rebuild()}return this},find:function(i){return Qa(i,this.node)},findOne:function(i){return Qt(this.node.querySelector(i))}}),De(va,"Dom");let bt=class extends va{constructor(i,e){super(i,e),this.dom={},this.node.instance=this,(i.hasAttribute("data-svgjs")||i.hasAttribute("svgjs:data"))&&this.setData(JSON.parse(i.getAttribute("data-svgjs"))??JSON.parse(i.getAttribute("svgjs:data"))??{})}center(i,e){return this.cx(i).cy(e)}cx(i){return i==null?this.x()+this.width()/2:this.x(i-this.width()/2)}cy(i){return i==null?this.y()+this.height()/2:this.y(i-this.height()/2)}defs(){const i=this.root();return i&&i.defs()}dmove(i,e){return this.dx(i).dy(e)}dx(i=0){return this.x(new Ae(i).plus(this.x()))}dy(i=0){return this.y(new Ae(i).plus(this.y()))}getEventHolder(){return this}height(i){return this.attr("height",i)}move(i,e){return this.x(i).y(e)}parents(i=this.root()){const e=typeof i=="string";e||(i=Rt(i));const t=new Ka;let a=this;for(;(a=a.parent())&&a.node!==Te.document&&a.nodeName!=="#document-fragment"&&(t.push(a),e||a.node!==i.node)&&(!e||!a.matches(i));)if(a.node===this.root().node)return null;return t}reference(i){if(!(i=this.attr(i)))return null;const e=(i+"").match(h_);return e?Rt(e[1]):null}root(){const i=this.parent((function(e){return Ya[e]})(yd));return i&&i.root()}setData(i){return this.dom=i,this}size(i,e){const t=Us(this,i,e);return this.width(new Ae(t.width)).height(new Ae(t.height))}width(i){return this.attr("width",i)}writeDataToDom(){return Jb(this,this.dom),super.writeDataToDom()}x(i){return this.attr("x",i)}y(i){return this.attr("y",i)}};fe(bt,{bbox:function(){const i=Cg(this,(e=>e.getBBox()),(e=>{try{const t=e.clone().addTo(ca().svg).show(),a=t.node.getBBox();return t.remove(),a}catch(t){throw new Error(`Getting bbox of element "${e.node.nodeName}" is not possible: ${t.toString()}`)}}));return new st(i)},rbox:function(i){const e=Cg(this,(a=>a.getBoundingClientRect()),(a=>{throw new Error(`Getting rbox of element "${a.node.nodeName}" is not possible`)})),t=new st(e);return i?t.transform(i.screenCTM().inverseO()):t.addOffset()},inside:function(i,e){const t=this.bbox();return i>t.x&&e>t.y&&i<t.x+t.width&&e<t.y+t.height},point:function(i,e){return new Oe(i,e).transformO(this.screenCTM().inverseO())},ctm:function(){return new oe(this.node.getCTM())},screenCTM:function(){try{if(typeof this.isRoot=="function"&&!this.isRoot()){const i=this.rect(1,1),e=i.node.getScreenCTM();return i.remove(),new oe(e)}return new oe(this.node.getScreenCTM())}catch{return console.warn(`Cannot get CTM from SVG node ${this.node.nodeName}. Is the element rendered?`),new oe}}}),De(bt,"Element");const tr={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(i,e){return e==="color"?i:i+"-"+e}};["fill","stroke"].forEach((function(i){const e={};let t;e[i]=function(a){if(a===void 0)return this.attr(i);if(typeof a=="string"||a instanceof Ve||Ve.isRgb(a)||a instanceof bt)this.attr(i,a);else for(t=tr[i].length-1;t>=0;t--)a[tr[i][t]]!=null&&this.attr(tr.prefix(i,tr[i][t]),a[tr[i][t]]);return this},Ce(["Element","Runner"],e)})),Ce(["Element","Runner"],{matrix:function(i,e,t,a,s,r){return i==null?new oe(this):this.attr("transform",new oe(i,e,t,a,s,r))},rotate:function(i,e,t){return this.transform({rotate:i,ox:e,oy:t},!0)},skew:function(i,e,t,a){return arguments.length===1||arguments.length===3?this.transform({skew:i,ox:e,oy:t},!0):this.transform({skew:[i,e],ox:t,oy:a},!0)},shear:function(i,e,t){return this.transform({shear:i,ox:e,oy:t},!0)},scale:function(i,e,t,a){return arguments.length===1||arguments.length===3?this.transform({scale:i,ox:e,oy:t},!0):this.transform({scale:[i,e],ox:t,oy:a},!0)},translate:function(i,e){return this.transform({translate:[i,e]},!0)},relative:function(i,e){return this.transform({relative:[i,e]},!0)},flip:function(i="both",e="center"){return"xybothtrue".indexOf(i)===-1&&(e=i,i="both"),this.transform({flip:i,origin:e},!0)},opacity:function(i){return this.attr("opacity",i)}}),Ce("radius",{radius:function(i,e=i){return(this._element||this).type==="radialGradient"?this.attr("r",new Ae(i)):this.rx(i).ry(e)}}),Ce("Path",{length:function(){return this.node.getTotalLength()},pointAt:function(i){return new Oe(this.node.getPointAtLength(i))}}),Ce(["Element","Runner"],{font:function(i,e){if(typeof i=="object"){for(e in i)this.font(e,i[e]);return this}return i==="leading"?this.leading(e):i==="anchor"?this.attr("text-anchor",e):i==="size"||i==="family"||i==="weight"||i==="stretch"||i==="variant"||i==="style"?this.attr("font-"+i,e):this.attr(i,e)}});Ce("Element",["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","touchstart","touchmove","touchleave","touchend","touchcancel","contextmenu","wheel","pointerdown","pointermove","pointerup","pointerleave","pointercancel"].reduce((function(i,e){return i[e]=function(t){return t===null?this.off(e):this.on(e,t),this},i}),{})),Ce("Element",{untransform:function(){return this.attr("transform",null)},matrixify:function(){return(this.attr("transform")||"").split(f_).slice(0,-1).map((function(e){const t=e.trim().split("(");return[t[0],t[1].split(Zi).map((function(a){return parseFloat(a)}))]})).reverse().reduce((function(e,t){return t[0]==="matrix"?e.lmultiply(oe.fromArray(t[1])):e[t[0]].apply(e,t[1])}),new oe)},toParent:function(i,e){if(this===i)return this;if(ru(this.node))return this.addTo(i,e);const t=this.screenCTM(),a=i.screenCTM().inverse();return this.addTo(i,e).untransform().transform(a.multiply(t)),this},toRoot:function(i){return this.toParent(this.root(),i)},transform:function(i,e){if(i==null||typeof i=="string"){const a=new oe(this).decompose();return i==null?a:a[i]}oe.isMatrixLike(i)||(i={...i,origin:su(i,this)});const t=new oe(e===!0?this:e||!1).transform(i);return this.attr("transform",t)}});class Ft extends bt{flatten(){return this.each((function(){if(this instanceof Ft)return this.flatten().ungroup()})),this}ungroup(e=this.parent(),t=e.index(this)){return t=t===-1?e.children().length:t,this.each((function(a,s){return s[s.length-a-1].toParent(e,t)})),this.remove()}}De(Ft,"Container");class el extends Ft{constructor(e,t=e){super(Xe("defs",e),t)}flatten(){return this}ungroup(){return this}}De(el,"Defs");class $t extends bt{}function Ad(i){return this.attr("rx",i)}function Sd(i){return this.attr("ry",i)}function nx(i){return i==null?this.cx()-this.rx():this.cx(i+this.rx())}function ox(i){return i==null?this.cy()-this.ry():this.cy(i+this.ry())}function lx(i){return this.attr("cx",i)}function cx(i){return this.attr("cy",i)}function ux(i){return i==null?2*this.rx():this.rx(new Ae(i).divide(2))}function dx(i){return i==null?2*this.ry():this.ry(new Ae(i).divide(2))}De($t,"Shape");var A_=Object.freeze({__proto__:null,cx:lx,cy:cx,height:dx,rx:Ad,ry:Sd,width:ux,x:nx,y:ox});class Wn extends $t{constructor(e,t=e){super(Xe("ellipse",e),t)}size(e,t){const a=Us(this,e,t);return this.rx(new Ae(a.width).divide(2)).ry(new Ae(a.height).divide(2))}}fe(Wn,A_),Ce("Container",{ellipse:Ue((function(i=0,e=i){return this.put(new Wn).size(i,e).move(0,0)}))}),De(Wn,"Ellipse");class hx extends va{constructor(e=Te.document.createDocumentFragment()){super(e)}xml(e,t,a){if(typeof e=="boolean"&&(a=t,t=e,e=null),e==null||typeof e=="function"){const s=new va(Or("wrapper",a));return s.add(this.node.cloneNode(!0)),s.xml(!1,a)}return super.xml(e,!1,a)}}function fx(i,e){return(this._element||this).type==="radialGradient"?this.attr({fx:new Ae(i),fy:new Ae(e)}):this.attr({x1:new Ae(i),y1:new Ae(e)})}function gx(i,e){return(this._element||this).type==="radialGradient"?this.attr({cx:new Ae(i),cy:new Ae(e)}):this.attr({x2:new Ae(i),y2:new Ae(e)})}De(hx,"Fragment");var S_=Object.freeze({__proto__:null,from:fx,to:gx});class yr extends Ft{constructor(e,t){super(Xe(e+"Gradient",typeof e=="string"?null:e),t)}attr(e,t,a){return e==="transform"&&(e="gradientTransform"),super.attr(e,t,a)}bbox(){return new st}targets(){return Qa("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(e){return this.clear(),typeof e=="function"&&e.call(this,this),this}url(){return"url(#"+this.id()+")"}}fe(yr,S_),Ce({Container:{gradient(...i){return this.defs().gradient(...i)}},Defs:{gradient:Ue((function(i,e){return this.put(new yr(i)).update(e)}))}}),De(yr,"Gradient");class Fr extends Ft{constructor(e,t=e){super(Xe("pattern",e),t)}attr(e,t,a){return e==="transform"&&(e="patternTransform"),super.attr(e,t,a)}bbox(){return new st}targets(){return Qa("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(e){return this.clear(),typeof e=="function"&&e.call(this,this),this}url(){return"url(#"+this.id()+")"}}Ce({Container:{pattern(...i){return this.defs().pattern(...i)}},Defs:{pattern:Ue((function(i,e,t){return this.put(new Fr).update(t).attr({x:0,y:0,width:i,height:e,patternUnits:"userSpaceOnUse"})}))}}),De(Fr,"Pattern");let jn=class extends $t{constructor(i,e=i){super(Xe("image",i),e)}load(i,e){if(!i)return this;const t=new Te.window.Image;return ji(t,"load",(function(a){const s=this.parent(Fr);this.width()===0&&this.height()===0&&this.size(t.width,t.height),s instanceof Fr&&s.width()===0&&s.height()===0&&s.size(this.width(),this.height()),typeof e=="function"&&e.call(this,a)}),this),ji(t,"load error",(function(){ai(t)})),this.attr("href",t.src=i,Xs)}};var Eg;Eg=function(i,e,t){return i!=="fill"&&i!=="stroke"||p_.test(e)&&(e=t.root().defs().image(e)),e instanceof jn&&(e=t.root().defs().pattern(0,0,(a=>{a.add(e)}))),e},rx.push(Eg),Ce({Container:{image:Ue((function(i,e){return this.put(new jn).size(0,0).load(i,e)}))}}),De(jn,"Image");class ba extends Za{bbox(){let e=-1/0,t=-1/0,a=1/0,s=1/0;return this.forEach((function(r){e=Math.max(r[0],e),t=Math.max(r[1],t),a=Math.min(r[0],a),s=Math.min(r[1],s)})),new st(a,s,e-a,t-s)}move(e,t){const a=this.bbox();if(e-=a.x,t-=a.y,!isNaN(e)&&!isNaN(t))for(let s=this.length-1;s>=0;s--)this[s]=[this[s][0]+e,this[s][1]+t];return this}parse(e=[0,0]){const t=[];(e=e instanceof Array?Array.prototype.concat.apply([],e):e.trim().split(Zi).map(parseFloat)).length%2!=0&&e.pop();for(let a=0,s=e.length;a<s;a+=2)t.push([e[a],e[a+1]]);return t}size(e,t){let a;const s=this.bbox();for(a=this.length-1;a>=0;a--)s.width&&(this[a][0]=(this[a][0]-s.x)*e/s.width+s.x),s.height&&(this[a][1]=(this[a][1]-s.y)*t/s.height+s.y);return this}toLine(){return{x1:this[0][0],y1:this[0][1],x2:this[1][0],y2:this[1][1]}}toString(){const e=[];for(let t=0,a=this.length;t<a;t++)e.push(this[t].join(","));return e.join(" ")}transform(e){return this.clone().transformO(e)}transformO(e){oe.isMatrixLike(e)||(e=new oe(e));for(let t=this.length;t--;){const[a,s]=this[t];this[t][0]=e.a*a+e.c*s+e.e,this[t][1]=e.b*a+e.d*s+e.f}return this}}const C_=ba;var Cd=Object.freeze({__proto__:null,MorphArray:C_,height:function(i){const e=this.bbox();return i==null?e.height:this.size(e.width,i)},width:function(i){const e=this.bbox();return i==null?e.width:this.size(i,e.height)},x:function(i){return i==null?this.bbox().x:this.move(i,this.bbox().y)},y:function(i){return i==null?this.bbox().y:this.move(this.bbox().x,i)}});let Ra=class extends $t{constructor(i,e=i){super(Xe("line",i),e)}array(){return new ba([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])}move(i,e){return this.attr(this.array().move(i,e).toLine())}plot(i,e,t,a){return i==null?this.array():(i=e!==void 0?{x1:i,y1:e,x2:t,y2:a}:new ba(i).toLine(),this.attr(i))}size(i,e){const t=Us(this,i,e);return this.attr(this.array().size(t.width,t.height).toLine())}};fe(Ra,Cd),Ce({Container:{line:Ue((function(...i){return Ra.prototype.plot.apply(this.put(new Ra),i[0]!=null?i:[0,0,0,0])}))}}),De(Ra,"Line");let Yn=class extends Ft{constructor(i,e=i){super(Xe("marker",i),e)}height(i){return this.attr("markerHeight",i)}orient(i){return this.attr("orient",i)}ref(i,e){return this.attr("refX",i).attr("refY",e)}toString(){return"url(#"+this.id()+")"}update(i){return this.clear(),typeof i=="function"&&i.call(this,this),this}width(i){return this.attr("markerWidth",i)}};function ms(i,e){return function(t){return t==null?this[i]:(this[i]=t,e&&e.call(this),this)}}Ce({Container:{marker(...i){return this.defs().marker(...i)}},Defs:{marker:Ue((function(i,e,t){return this.put(new Yn).size(i,e).ref(i/2,e/2).viewbox(0,0,i,e).attr("orient","auto").update(t)}))},marker:{marker(i,e,t,a){let s=["marker"];return i!=="all"&&s.push(i),s=s.join("-"),i=arguments[1]instanceof Yn?arguments[1]:this.defs().marker(e,t,a),this.attr(s,i)}}}),De(Yn,"Marker");const M_={"-":function(i){return i},"<>":function(i){return-Math.cos(i*Math.PI)/2+.5},">":function(i){return Math.sin(i*Math.PI/2)},"<":function(i){return 1-Math.cos(i*Math.PI/2)},bezier:function(i,e,t,a){return function(s){return s<0?i>0?e/i*s:t>0?a/t*s:0:s>1?t<1?(1-a)/(1-t)*s+(a-t)/(1-t):i<1?(1-e)/(1-i)*s+(e-i)/(1-i):1:3*s*(1-s)**2*e+3*s**2*(1-s)*a+s**3}},steps:function(i,e="end"){e=e.split("-").reverse()[0];let t=i;return e==="none"?--t:e==="both"&&++t,(a,s=!1)=>{let r=Math.floor(a*i);const n=a*r%1==0;return e!=="start"&&e!=="both"||++r,s&&n&&--r,a>=0&&r<0&&(r=0),a<=1&&r>t&&(r=t),r/t}}};class Md{done(){return!1}}class nu extends Md{constructor(e=x_){super(),this.ease=M_[e]||e}step(e,t,a){return typeof e!="number"?a<1?e:t:e+(t-e)*this.ease(a)}}class bo extends Md{constructor(e){super(),this.stepper=e}done(e){return e.done}step(e,t,a,s){return this.stepper(e,t,a,s)}}function Pg(){const i=(this._duration||500)/1e3,e=this._overshoot||0,t=Math.PI,a=Math.log(e/100+1e-10),s=-a/Math.sqrt(t*t+a*a),r=3.9/(s*i);this.d=2*s*r,this.k=r*r}fe(class extends bo{constructor(i=500,e=0){super(),this.duration(i).overshoot(e)}step(i,e,t,a){if(typeof i=="string")return i;if(a.done=t===1/0,t===1/0)return e;if(t===0)return i;t>100&&(t=16),t/=1e3;const s=a.velocity||0,r=-this.d*s-this.k*(i-e),n=i+s*t+r*t*t/2;return a.velocity=s+r*t,a.done=Math.abs(e-n)+Math.abs(s)<.002,a.done?e:n}},{duration:ms("_duration",Pg),overshoot:ms("_overshoot",Pg)});fe(class extends bo{constructor(i=.1,e=.01,t=0,a=1e3){super(),this.p(i).i(e).d(t).windup(a)}step(i,e,t,a){if(typeof i=="string")return i;if(a.done=t===1/0,t===1/0)return e;if(t===0)return i;const s=e-i;let r=(a.integral||0)+s*t;const n=(s-(a.error||0))/t,o=this._windup;return o!==!1&&(r=Math.max(-o,Math.min(r,o))),a.error=s,a.integral=r,a.done=Math.abs(s)<.001,a.done?e:i+(this.P*s+this.I*r+this.D*n)}},{windup:ms("_windup"),p:ms("P"),i:ms("I"),d:ms("D")});const E_={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0},ou={M:function(i,e,t){return e.x=t.x=i[0],e.y=t.y=i[1],["M",e.x,e.y]},L:function(i,e){return e.x=i[0],e.y=i[1],["L",i[0],i[1]]},H:function(i,e){return e.x=i[0],["H",i[0]]},V:function(i,e){return e.y=i[0],["V",i[0]]},C:function(i,e){return e.x=i[4],e.y=i[5],["C",i[0],i[1],i[2],i[3],i[4],i[5]]},S:function(i,e){return e.x=i[2],e.y=i[3],["S",i[0],i[1],i[2],i[3]]},Q:function(i,e){return e.x=i[2],e.y=i[3],["Q",i[0],i[1],i[2],i[3]]},T:function(i,e){return e.x=i[0],e.y=i[1],["T",i[0],i[1]]},Z:function(i,e,t){return e.x=t.x,e.y=t.y,["Z"]},A:function(i,e){return e.x=i[5],e.y=i[6],["A",i[0],i[1],i[2],i[3],i[4],i[5],i[6]]}},Ul="mlhvqtcsaz".split("");for(let i=0,e=Ul.length;i<e;++i)ou[Ul[i]]=(function(t){return function(a,s,r){if(t==="H")a[0]=a[0]+s.x;else if(t==="V")a[0]=a[0]+s.y;else if(t==="A")a[5]=a[5]+s.x,a[6]=a[6]+s.y;else for(let n=0,o=a.length;n<o;++n)a[n]=a[n]+(n%2?s.y:s.x);return ou[t](a,s,r)}})(Ul[i].toUpperCase());function lu(i){return i.segment.length&&i.segment.length-1===E_[i.segment[0].toUpperCase()]}function P_(i,e){i.inNumber&&Pa(i,!1);const t=wd.test(e);if(t)i.segment=[e];else{const a=i.lastCommand,s=a.toLowerCase(),r=a===s;i.segment=[s==="m"?r?"l":"L":a]}return i.inSegment=!0,i.lastCommand=i.segment[0],t}function Pa(i,e){if(!i.inNumber)throw new Error("Parser Error");i.number&&i.segment.push(parseFloat(i.number)),i.inNumber=e,i.number="",i.pointSeen=!1,i.hasExponent=!1,lu(i)&&cu(i)}function cu(i){i.inSegment=!1,i.absolute&&(i.segment=(function(e){const t=e.segment[0];return ou[t](e.segment.slice(1),e.p,e.p0)})(i)),i.segments.push(i.segment)}function __(i){if(!i.segment.length)return!1;const e=i.segment[0].toUpperCase()==="A",t=i.segment.length;return e&&(t===4||t===5)}function I_(i){return i.lastToken.toUpperCase()==="E"}const T_=new Set([" ",","," ",`
|
|
71
|
+
`,"\r","\f"]);class di extends Za{bbox(){return ca().path.setAttribute("d",this.toString()),new st(ca.nodes.path.getBBox())}move(e,t){const a=this.bbox();if(e-=a.x,t-=a.y,!isNaN(e)&&!isNaN(t))for(let s,r=this.length-1;r>=0;r--)s=this[r][0],s==="M"||s==="L"||s==="T"?(this[r][1]+=e,this[r][2]+=t):s==="H"?this[r][1]+=e:s==="V"?this[r][1]+=t:s==="C"||s==="S"||s==="Q"?(this[r][1]+=e,this[r][2]+=t,this[r][3]+=e,this[r][4]+=t,s==="C"&&(this[r][5]+=e,this[r][6]+=t)):s==="A"&&(this[r][6]+=e,this[r][7]+=t);return this}parse(e="M0 0"){return Array.isArray(e)&&(e=Array.prototype.concat.apply([],e).toString()),(function(t,a=!0){let s=0,r="";const n={segment:[],inNumber:!1,number:"",lastToken:"",inSegment:!1,segments:[],pointSeen:!1,hasExponent:!1,absolute:a,p0:new Oe,p:new Oe};for(;n.lastToken=r,r=t.charAt(s++);)if(n.inSegment||!P_(n,r))if(r!==".")if(isNaN(parseInt(r)))if(T_.has(r))n.inNumber&&Pa(n,!1);else if(r!=="-"&&r!=="+")if(r.toUpperCase()!=="E"){if(wd.test(r)){if(n.inNumber)Pa(n,!1);else{if(!lu(n))throw new Error("parser Error");cu(n)}--s}}else n.number+=r,n.hasExponent=!0;else{if(n.inNumber&&!I_(n)){Pa(n,!1),--s;continue}n.number+=r,n.inNumber=!0}else{if(n.number==="0"||__(n)){n.inNumber=!0,n.number=r,Pa(n,!0);continue}n.inNumber=!0,n.number+=r}else{if(n.pointSeen||n.hasExponent){Pa(n,!1),--s;continue}n.inNumber=!0,n.pointSeen=!0,n.number+=r}return n.inNumber&&Pa(n,!1),n.inSegment&&lu(n)&&cu(n),n.segments})(e)}size(e,t){const a=this.bbox();let s,r;for(a.width=a.width===0?1:a.width,a.height=a.height===0?1:a.height,s=this.length-1;s>=0;s--)r=this[s][0],r==="M"||r==="L"||r==="T"?(this[s][1]=(this[s][1]-a.x)*e/a.width+a.x,this[s][2]=(this[s][2]-a.y)*t/a.height+a.y):r==="H"?this[s][1]=(this[s][1]-a.x)*e/a.width+a.x:r==="V"?this[s][1]=(this[s][1]-a.y)*t/a.height+a.y:r==="C"||r==="S"||r==="Q"?(this[s][1]=(this[s][1]-a.x)*e/a.width+a.x,this[s][2]=(this[s][2]-a.y)*t/a.height+a.y,this[s][3]=(this[s][3]-a.x)*e/a.width+a.x,this[s][4]=(this[s][4]-a.y)*t/a.height+a.y,r==="C"&&(this[s][5]=(this[s][5]-a.x)*e/a.width+a.x,this[s][6]=(this[s][6]-a.y)*t/a.height+a.y)):r==="A"&&(this[s][1]=this[s][1]*e/a.width,this[s][2]=this[s][2]*t/a.height,this[s][6]=(this[s][6]-a.x)*e/a.width+a.x,this[s][7]=(this[s][7]-a.y)*t/a.height+a.y);return this}toString(){return(function(e){let t="";for(let a=0,s=e.length;a<s;a++)t+=e[a][0],e[a][1]!=null&&(t+=e[a][1],e[a][2]!=null&&(t+=" ",t+=e[a][2],e[a][3]!=null&&(t+=" ",t+=e[a][3],t+=" ",t+=e[a][4],e[a][5]!=null&&(t+=" ",t+=e[a][5],t+=" ",t+=e[a][6],e[a][7]!=null&&(t+=" ",t+=e[a][7])))));return t+" "})(this)}}const px=i=>{const e=typeof i;return e==="number"?Ae:e==="string"?Ve.isColor(i)?Ve:Zi.test(i)?wd.test(i)?di:Za:tx.test(i)?Ae:uu:du.indexOf(i.constructor)>-1?i.constructor:Array.isArray(i)?Za:e==="object"?zr:uu};class _a{constructor(e){this._stepper=e||new nu("-"),this._from=null,this._to=null,this._type=null,this._context=null,this._morphObj=null}at(e){return this._morphObj.morph(this._from,this._to,e,this._stepper,this._context)}done(){return this._context.map(this._stepper.done).reduce((function(e,t){return e&&t}),!0)}from(e){return e==null?this._from:(this._from=this._set(e),this)}stepper(e){return e==null?this._stepper:(this._stepper=e,this)}to(e){return e==null?this._to:(this._to=this._set(e),this)}type(e){return e==null?this._type:(this._type=e,this)}_set(e){this._type||this.type(px(e));let t=new this._type(e);return this._type===Ve&&(t=this._to?t[this._to[4]]():this._from?t[this._from[4]]():t),this._type===zr&&(t=this._to?t.align(this._to):this._from?t.align(this._from):t),t=t.toConsumable(),this._morphObj=this._morphObj||new this._type,this._context=this._context||Array.apply(null,Array(t.length)).map(Object).map((function(a){return a.done=!0,a})),t}}class uu{constructor(...e){this.init(...e)}init(e){return e=Array.isArray(e)?e[0]:e,this.value=e,this}toArray(){return[this.value]}valueOf(){return this.value}}class cn{constructor(...e){this.init(...e)}init(e){return Array.isArray(e)&&(e={scaleX:e[0],scaleY:e[1],shear:e[2],rotate:e[3],translateX:e[4],translateY:e[5],originX:e[6],originY:e[7]}),Object.assign(this,cn.defaults,e),this}toArray(){const e=this;return[e.scaleX,e.scaleY,e.shear,e.rotate,e.translateX,e.translateY,e.originX,e.originY]}}cn.defaults={scaleX:1,scaleY:1,shear:0,rotate:0,translateX:0,translateY:0,originX:0,originY:0};const D_=(i,e)=>i[0]<e[0]?-1:i[0]>e[0]?1:0;class zr{constructor(...e){this.init(...e)}align(e){const t=this.values;for(let a=0,s=t.length;a<s;++a){if(t[a+1]===e[a+1]){if(t[a+1]===Ve&&e[a+7]!==t[a+7]){const o=e[a+7],l=new Ve(this.values.splice(a+3,5))[o]().toArray();this.values.splice(a+3,0,...l)}a+=t[a+2]+2;continue}if(!e[a+1])return this;const r=new e[a+1]().toArray(),n=t[a+2]+3;t.splice(a,n,e[a],e[a+1],e[a+2],...r),a+=t[a+2]+2}return this}init(e){if(this.values=[],Array.isArray(e))return void(this.values=e.slice());e=e||{};const t=[];for(const a in e){const s=px(e[a]),r=new s(e[a]).toArray();t.push([a,s,r.length,...r])}return t.sort(D_),this.values=t.reduce(((a,s)=>a.concat(s)),[]),this}toArray(){return this.values}valueOf(){const e={},t=this.values;for(;t.length;){const a=t.shift(),s=t.shift(),r=t.shift(),n=t.splice(0,r);e[a]=new s(n)}return e}}const du=[uu,cn,zr];class Ss extends $t{constructor(e,t=e){super(Xe("path",e),t)}array(){return this._array||(this._array=new di(this.attr("d")))}clear(){return delete this._array,this}height(e){return e==null?this.bbox().height:this.size(this.bbox().width,e)}move(e,t){return this.attr("d",this.array().move(e,t))}plot(e){return e==null?this.array():this.clear().attr("d",typeof e=="string"?e:this._array=new di(e))}size(e,t){const a=Us(this,e,t);return this.attr("d",this.array().size(a.width,a.height))}width(e){return e==null?this.bbox().width:this.size(e,this.bbox().height)}x(e){return e==null?this.bbox().x:this.move(e,this.bbox().y)}y(e){return e==null?this.bbox().y:this.move(this.bbox().x,e)}}Ss.prototype.MorphArray=di,Ce({Container:{path:Ue((function(i){return this.put(new Ss).plot(i||new di)}))}}),De(Ss,"Path");var mx=Object.freeze({__proto__:null,array:function(){return this._array||(this._array=new ba(this.attr("points")))},clear:function(){return delete this._array,this},move:function(i,e){return this.attr("points",this.array().move(i,e))},plot:function(i){return i==null?this.array():this.clear().attr("points",typeof i=="string"?i:this._array=new ba(i))},size:function(i,e){const t=Us(this,i,e);return this.attr("points",this.array().size(t.width,t.height))}});class Na extends $t{constructor(e,t=e){super(Xe("polygon",e),t)}}Ce({Container:{polygon:Ue((function(i){return this.put(new Na).plot(i||new ba)}))}}),fe(Na,Cd),fe(Na,mx),De(Na,"Polygon");class Oa extends $t{constructor(e,t=e){super(Xe("polyline",e),t)}}Ce({Container:{polyline:Ue((function(i){return this.put(new Oa).plot(i||new ba)}))}}),fe(Oa,Cd),fe(Oa,mx),De(Oa,"Polyline");class Vn extends $t{constructor(e,t=e){super(Xe("rect",e),t)}}fe(Vn,{rx:Ad,ry:Sd}),Ce({Container:{rect:Ue((function(i,e){return this.put(new Vn).size(i,e)}))}}),De(Vn,"Rect");class Xl{constructor(){this._first=null,this._last=null}first(){return this._first&&this._first.value}last(){return this._last&&this._last.value}push(e){const t=e.next!==void 0?e:{value:e,next:null,prev:null};return this._last?(t.prev=this._last,this._last.next=t,this._last=t):(this._last=t,this._first=t),t}remove(e){e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e===this._last&&(this._last=e.prev),e===this._first&&(this._first=e.next),e.prev=null,e.next=null}shift(){const e=this._first;return e?(this._first=e.next,this._first&&(this._first.prev=null),this._last=this._first?this._last:null,e.value):null}}const Be={nextDraw:null,frames:new Xl,timeouts:new Xl,immediates:new Xl,timer:()=>Te.window.performance||Te.window.Date,transforms:[],frame(i){const e=Be.frames.push({run:i});return Be.nextDraw===null&&(Be.nextDraw=Te.window.requestAnimationFrame(Be._draw)),e},timeout(i,e){e=e||0;const t=Be.timer().now()+e,a=Be.timeouts.push({run:i,time:t});return Be.nextDraw===null&&(Be.nextDraw=Te.window.requestAnimationFrame(Be._draw)),a},immediate(i){const e=Be.immediates.push(i);return Be.nextDraw===null&&(Be.nextDraw=Te.window.requestAnimationFrame(Be._draw)),e},cancelFrame(i){i!=null&&Be.frames.remove(i)},clearTimeout(i){i!=null&&Be.timeouts.remove(i)},cancelImmediate(i){i!=null&&Be.immediates.remove(i)},_draw(i){let e=null;const t=Be.timeouts.last();for(;(e=Be.timeouts.shift())&&(i>=e.time?e.run():Be.timeouts.push(e),e!==t););let a=null;const s=Be.frames.last();for(;a!==s&&(a=Be.frames.shift());)a.run(i);let r=null;for(;r=Be.immediates.shift();)r();Be.nextDraw=Be.timeouts.first()||Be.frames.first()?Te.window.requestAnimationFrame(Be._draw):null}},L_=function(i){const e=i.start,t=i.runner.duration();return{start:e,duration:t,end:e+t,runner:i.runner}},R_=function(){const i=Te.window;return(i.performance||i.Date).now()};class vx extends ln{constructor(e=R_){super(),this._timeSource=e,this.terminate()}active(){return!!this._nextFrame}finish(){return this.time(this.getEndTimeOfTimeline()+1),this.pause()}getEndTime(){const e=this.getLastRunnerInfo(),t=e?e.runner.duration():0;return(e?e.start:this._time)+t}getEndTimeOfTimeline(){const e=this._runners.map((t=>t.start+t.runner.duration()));return Math.max(0,...e)}getLastRunnerInfo(){return this.getRunnerInfoById(this._lastRunnerId)}getRunnerInfoById(e){return this._runners[this._runnerIds.indexOf(e)]||null}pause(){return this._paused=!0,this._continue()}persist(e){return e==null?this._persist:(this._persist=e,this)}play(){return this._paused=!1,this.updateTime()._continue()}reverse(e){const t=this.speed();if(e==null)return this.speed(-t);const a=Math.abs(t);return this.speed(e?-a:a)}schedule(e,t,a){if(e==null)return this._runners.map(L_);let s=0;const r=this.getEndTime();if(t=t||0,a==null||a==="last"||a==="after")s=r;else if(a==="absolute"||a==="start")s=t,t=0;else if(a==="now")s=this._time;else if(a==="relative"){const l=this.getRunnerInfoById(e.id);l&&(s=l.start+t,t=0)}else{if(a!=="with-last")throw new Error('Invalid value for the "when" parameter');{const l=this.getLastRunnerInfo();s=l?l.start:this._time}}e.unschedule(),e.timeline(this);const n=e.persist(),o={persist:n===null?this._persist:n,start:s+t,runner:e};return this._lastRunnerId=e.id,this._runners.push(o),this._runners.sort(((l,c)=>l.start-c.start)),this._runnerIds=this._runners.map((l=>l.runner.id)),this.updateTime()._continue(),this}seek(e){return this.time(this._time+e)}source(e){return e==null?this._timeSource:(this._timeSource=e,this)}speed(e){return e==null?this._speed:(this._speed=e,this)}stop(){return this.time(0),this.pause()}time(e){return e==null?this._time:(this._time=e,this._continue(!0))}unschedule(e){const t=this._runnerIds.indexOf(e.id);return t<0||(this._runners.splice(t,1),this._runnerIds.splice(t,1),e.timeline(null)),this}updateTime(){return this.active()||(this._lastSourceTime=this._timeSource()),this}_continue(e=!1){return Be.cancelFrame(this._nextFrame),this._nextFrame=null,e?this._stepImmediate():(this._paused||(this._nextFrame=Be.frame(this._step)),this)}_stepFn(e=!1){const t=this._timeSource();let a=t-this._lastSourceTime;e&&(a=0);const s=this._speed*a+(this._time-this._lastStepTime);this._lastSourceTime=t,e||(this._time+=s,this._time=this._time<0?0:this._time),this._lastStepTime=this._time,this.fire("time",this._time);for(let n=this._runners.length;n--;){const o=this._runners[n],l=o.runner;this._time-o.start<=0&&l.reset()}let r=!1;for(let n=0,o=this._runners.length;n<o;n++){const l=this._runners[n],c=l.runner;let u=s;const d=this._time-l.start;if(d<=0){r=!0;continue}d<u&&(u=d),c.active()&&(c.step(u).done?l.persist!==!0&&c.duration()-c.time()+this._time+l.persist<this._time&&(c.unschedule(),--n,--o):r=!0)}return r&&!(this._speed<0&&this._time===0)||this._runnerIds.length&&this._speed<0&&this._time>0?this._continue():(this.pause(),this.fire("finished")),this}terminate(){this._startTime=0,this._speed=1,this._persist=0,this._nextFrame=null,this._paused=!0,this._runners=[],this._runnerIds=[],this._lastRunnerId=-1,this._time=0,this._lastSourceTime=0,this._lastStepTime=0,this._step=this._stepFn.bind(this,!1),this._stepImmediate=this._stepFn.bind(this,!0)}}Ce({Element:{timeline:function(i){return i==null?(this._timeline=this._timeline||new vx,this._timeline):(this._timeline=i,this)}}});class Gt extends ln{constructor(e){super(),this.id=Gt.id++,e=typeof(e=e??Vl)=="function"?new bo(e):e,this._element=null,this._timeline=null,this.done=!1,this._queue=[],this._duration=typeof e=="number"&&e,this._isDeclarative=e instanceof bo,this._stepper=this._isDeclarative?e:new nu,this._history={},this.enabled=!0,this._time=0,this._lastTime=0,this._reseted=!0,this.transforms=new oe,this.transformId=1,this._haveReversed=!1,this._reverse=!1,this._loopsDone=0,this._swing=!1,this._wait=0,this._times=1,this._frameId=null,this._persist=!!this._isDeclarative||null}static sanitise(e,t,a){let s=1,r=!1,n=0;return t=t??y_,a=a||"last",typeof(e=e??Vl)!="object"||e instanceof Md||(t=e.delay??t,a=e.when??a,r=e.swing||r,s=e.times??s,n=e.wait??n,e=e.duration??Vl),{duration:e,delay:t,swing:r,times:s,wait:n,when:a}}active(e){return e==null?this.enabled:(this.enabled=e,this)}addTransform(e){return this.transforms.lmultiplyO(e),this}after(e){return this.on("finished",e)}animate(e,t,a){const s=Gt.sanitise(e,t,a),r=new Gt(s.duration);return this._timeline&&r.timeline(this._timeline),this._element&&r.element(this._element),r.loop(s).schedule(s.delay,s.when)}clearTransform(){return this.transforms=new oe,this}clearTransformsFromQueue(){this.done&&this._timeline&&this._timeline._runnerIds.includes(this.id)||(this._queue=this._queue.filter((e=>!e.isTransform)))}delay(e){return this.animate(0,e)}duration(){return this._times*(this._wait+this._duration)-this._wait}during(e){return this.queue(null,e)}ease(e){return this._stepper=new nu(e),this}element(e){return e==null?this._element:(this._element=e,e._prepareRunner(),this)}finish(){return this.step(1/0)}loop(e,t,a){return typeof e=="object"&&(t=e.swing,a=e.wait,e=e.times),this._times=e||1/0,this._swing=t||!1,this._wait=a||0,this._times===!0&&(this._times=1/0),this}loops(e){const t=this._duration+this._wait;if(e==null){const r=Math.floor(this._time/t),n=(this._time-r*t)/this._duration;return Math.min(r+n,this._times)}const a=e%1,s=t*Math.floor(e)+this._duration*a;return this.time(s)}persist(e){return e==null?this._persist:(this._persist=e,this)}position(e){const t=this._time,a=this._duration,s=this._wait,r=this._times,n=this._swing,o=this._reverse;let l;if(e==null){const d=function(f){const g=n*Math.floor(f%(2*(s+a))/(s+a)),p=g&&!o||!g&&o,m=Math.pow(-1,p)*(f%(s+a))/a+p;return Math.max(Math.min(m,1),0)},h=r*(s+a)-s;return l=t<=0?Math.round(d(1e-5)):t<h?d(t):Math.round(d(h-1e-5)),l}const c=Math.floor(this.loops()),u=n&&c%2==0;return l=c+(u&&!o||o&&u?e:1-e),this.loops(l)}progress(e){return e==null?Math.min(1,this._time/this.duration()):this.time(e*this.duration())}queue(e,t,a,s){return this._queue.push({initialiser:e||Mg,runner:t||Mg,retarget:a,isTransform:s,initialised:!1,finished:!1}),this.timeline()&&this.timeline()._continue(),this}reset(){return this._reseted||(this.time(0),this._reseted=!0),this}reverse(e){return this._reverse=e??!this._reverse,this}schedule(e,t,a){if(e instanceof vx||(a=t,t=e,e=this.timeline()),!e)throw Error("Runner cannot be scheduled without timeline");return e.schedule(this,t,a),this}step(e){if(!this.enabled)return this;e=e??16,this._time+=e;const t=this.position(),a=this._lastPosition!==t&&this._time>=0;this._lastPosition=t;const s=this.duration(),r=this._lastTime<=0&&this._time>0,n=this._lastTime<s&&this._time>=s;this._lastTime=this._time,r&&this.fire("start",this);const o=this._isDeclarative;this.done=!o&&!n&&this._time>=s,this._reseted=!1;let l=!1;return(a||o)&&(this._initialise(a),this.transforms=new oe,l=this._run(o?e:t),this.fire("step",this)),this.done=this.done||l&&o,n&&this.fire("finished",this),this}time(e){if(e==null)return this._time;const t=e-this._time;return this.step(t),this}timeline(e){return e===void 0?this._timeline:(this._timeline=e,this)}unschedule(){const e=this.timeline();return e&&e.unschedule(this),this}_initialise(e){if(e||this._isDeclarative)for(let t=0,a=this._queue.length;t<a;++t){const s=this._queue[t],r=this._isDeclarative||!s.initialised&&e;e=!s.finished,r&&e&&(s.initialiser.call(this),s.initialised=!0)}}_rememberMorpher(e,t){if(this._history[e]={morpher:t,caller:this._queue[this._queue.length-1]},this._isDeclarative){const a=this.timeline();a&&a.play()}}_run(e){let t=!0;for(let a=0,s=this._queue.length;a<s;++a){const r=this._queue[a],n=r.runner.call(this,e);r.finished=r.finished||n===!0,t=t&&r.finished}return t}_tryRetarget(e,t,a){if(this._history[e]){if(!this._history[e].caller.initialised){const r=this._queue.indexOf(this._history[e].caller);return this._queue.splice(r,1),!1}this._history[e].caller.retarget?this._history[e].caller.retarget.call(this,t,a):this._history[e].morpher.to(t),this._history[e].caller.finished=!1;const s=this.timeline();return s&&s.play(),!0}return!1}}Gt.id=0;class xo{constructor(e=new oe,t=-1,a=!0){this.transforms=e,this.id=t,this.done=a}clearTransformsFromQueue(){}}fe([Gt,xo],{mergeWith(i){return new xo(i.transforms.lmultiply(this.transforms),i.id)}});const bx=(i,e)=>i.lmultiplyO(e),xx=i=>i.transforms;function N_(){const i=this._transformationRunners.runners.map(xx).reduce(bx,new oe);this.transform(i),this._transformationRunners.merge(),this._transformationRunners.length()===1&&(this._frameId=null)}class O_{constructor(){this.runners=[],this.ids=[]}add(e){if(this.runners.includes(e))return;const t=e.id+1;return this.runners.push(e),this.ids.push(t),this}clearBefore(e){const t=this.ids.indexOf(e+1)||1;return this.ids.splice(0,t,0),this.runners.splice(0,t,new xo).forEach((a=>a.clearTransformsFromQueue())),this}edit(e,t){const a=this.ids.indexOf(e+1);return this.ids.splice(a,1,e+1),this.runners.splice(a,1,t),this}getByID(e){return this.runners[this.ids.indexOf(e+1)]}length(){return this.ids.length}merge(){let e=null;for(let t=0;t<this.runners.length;++t){const a=this.runners[t];if(e&&a.done&&e.done&&(!a._timeline||!a._timeline._runnerIds.includes(a.id))&&(!e._timeline||!e._timeline._runnerIds.includes(e.id))){this.remove(a.id);const s=a.mergeWith(e);this.edit(e.id,s),e=s,--t}else e=a}return this}remove(e){const t=this.ids.indexOf(e+1);return this.ids.splice(t,1),this.runners.splice(t,1),this}}Ce({Element:{animate(i,e,t){const a=Gt.sanitise(i,e,t),s=this.timeline();return new Gt(a.duration).loop(a).element(this).timeline(s.play()).schedule(a.delay,a.when)},delay(i,e){return this.animate(0,i,e)},_clearTransformRunnersBefore(i){this._transformationRunners.clearBefore(i.id)},_currentTransform(i){return this._transformationRunners.runners.filter((e=>e.id<=i.id)).map(xx).reduce(bx,new oe)},_addRunner(i){this._transformationRunners.add(i),Be.cancelImmediate(this._frameId),this._frameId=Be.immediate(N_.bind(this))},_prepareRunner(){this._frameId==null&&(this._transformationRunners=new O_().add(new xo(new oe(this))))}}});fe(Gt,{attr(i,e){return this.styleAttr("attr",i,e)},css(i,e){return this.styleAttr("css",i,e)},styleAttr(i,e,t){if(typeof e=="string")return this.styleAttr(i,{[e]:t});let a=e;if(this._tryRetarget(i,a))return this;let s=new _a(this._stepper).to(a),r=Object.keys(a);return this.queue((function(){s=s.from(this.element()[i](r))}),(function(n){return this.element()[i](s.at(n).valueOf()),s.done()}),(function(n){const o=Object.keys(n),l=(c=r,o.filter((d=>!c.includes(d))));var c;if(l.length){const d=this.element()[i](l),h=new zr(s.from()).valueOf();Object.assign(h,d),s.from(h)}const u=new zr(s.to()).valueOf();Object.assign(u,n),s.to(u),r=o,a=n})),this._rememberMorpher(i,s),this},zoom(i,e){if(this._tryRetarget("zoom",i,e))return this;let t=new _a(this._stepper).to(new Ae(i));return this.queue((function(){t=t.from(this.element().zoom())}),(function(a){return this.element().zoom(t.at(a),e),t.done()}),(function(a,s){e=s,t.to(a)})),this._rememberMorpher("zoom",t),this},transform(i,e,t){if(e=i.relative||e,this._isDeclarative&&!e&&this._tryRetarget("transform",i))return this;const a=oe.isMatrixLike(i);t=i.affine!=null?i.affine:t??!a;const s=new _a(this._stepper).type(t?cn:oe);let r,n,o,l,c;return this.queue((function(){n=n||this.element(),r=r||su(i,n),c=new oe(e?void 0:n),n._addRunner(this),e||n._clearTransformRunnersBefore(this)}),(function(u){e||this.clearTransform();const{x:d,y:h}=new Oe(r).transform(n._currentTransform(this));let f=new oe({...i,origin:[d,h]}),g=this._isDeclarative&&o?o:c;if(t){f=f.decompose(d,h),g=g.decompose(d,h);const m=f.rotate,v=g.rotate,b=[m-360,m,m+360],x=b.map((A=>Math.abs(A-v))),k=Math.min(...x),y=x.indexOf(k);f.rotate=b[y]}e&&(a||(f.rotate=i.rotate||0),this._isDeclarative&&l&&(g.rotate=l)),s.from(g),s.to(f);const p=s.at(u);return l=p.rotate,o=new oe(p),this.addTransform(o),n._addRunner(this),s.done()}),(function(u){(u.origin||"center").toString()!==(i.origin||"center").toString()&&(r=su(u,n)),i={...u,origin:r}}),!0),this._isDeclarative&&this._rememberMorpher("transform",s),this},x(i){return this._queueNumber("x",i)},y(i){return this._queueNumber("y",i)},ax(i){return this._queueNumber("ax",i)},ay(i){return this._queueNumber("ay",i)},dx(i=0){return this._queueNumberDelta("x",i)},dy(i=0){return this._queueNumberDelta("y",i)},dmove(i,e){return this.dx(i).dy(e)},_queueNumberDelta(i,e){if(e=new Ae(e),this._tryRetarget(i,e))return this;const t=new _a(this._stepper).to(e);let a=null;return this.queue((function(){a=this.element()[i](),t.from(a),t.to(a+e)}),(function(s){return this.element()[i](t.at(s)),t.done()}),(function(s){t.to(a+new Ae(s))})),this._rememberMorpher(i,t),this},_queueObject(i,e){if(this._tryRetarget(i,e))return this;const t=new _a(this._stepper).to(e);return this.queue((function(){t.from(this.element()[i]())}),(function(a){return this.element()[i](t.at(a)),t.done()})),this._rememberMorpher(i,t),this},_queueNumber(i,e){return this._queueObject(i,new Ae(e))},cx(i){return this._queueNumber("cx",i)},cy(i){return this._queueNumber("cy",i)},move(i,e){return this.x(i).y(e)},amove(i,e){return this.ax(i).ay(e)},center(i,e){return this.cx(i).cy(e)},size(i,e){let t;return i&&e||(t=this._element.bbox()),i||(i=t.width/t.height*e),e||(e=t.height/t.width*i),this.width(i).height(e)},width(i){return this._queueNumber("width",i)},height(i){return this._queueNumber("height",i)},plot(i,e,t,a){if(arguments.length===4)return this.plot([i,e,t,a]);if(this._tryRetarget("plot",i))return this;const s=new _a(this._stepper).type(this._element.MorphArray).to(i);return this.queue((function(){s.from(this._element.array())}),(function(r){return this._element.plot(s.at(r)),s.done()})),this._rememberMorpher("plot",s),this},leading(i){return this._queueNumber("leading",i)},viewbox(i,e,t,a){return this._queueObject("viewbox",new st(i,e,t,a))},update(i){return typeof i!="object"?this.update({offset:arguments[0],color:arguments[1],opacity:arguments[2]}):(i.opacity!=null&&this.attr("stop-opacity",i.opacity),i.color!=null&&this.attr("stop-color",i.color),i.offset!=null&&this.attr("offset",i.offset),this)}}),fe(Gt,{rx:Ad,ry:Sd,from:fx,to:gx}),De(Gt,"Runner");class hu extends Ft{constructor(e,t=e){super(Xe("svg",e),t),this.namespace()}defs(){return this.isRoot()?Qt(this.node.querySelector("defs"))||this.put(new el):this.root().defs()}isRoot(){return!this.node.parentNode||!(this.node.parentNode instanceof Te.window.SVGElement)&&this.node.parentNode.nodeName!=="#document-fragment"}namespace(){return this.isRoot()?this.attr({xmlns:bd,version:"1.1"}).attr("xmlns:xlink",Xs,Wl):this.root().namespace()}removeNamespace(){return this.attr({xmlns:null,version:null}).attr("xmlns:xlink",null,Wl).attr("xmlns:svgjs",null,Wl)}root(){return this.isRoot()?this:super.root()}}Ce({Container:{nested:Ue((function(){return this.put(new hu)}))}}),De(hu,"Svg",!0);let fu=class extends Ft{constructor(i,e=i){super(Xe("symbol",i),e)}};Ce({Container:{symbol:Ue((function(){return this.put(new fu)}))}}),De(fu,"Symbol");var yx=Object.freeze({__proto__:null,amove:function(i,e){return this.ax(i).ay(e)},ax:function(i){return this.attr("x",i)},ay:function(i){return this.attr("y",i)},build:function(i){return this._build=!!i,this},center:function(i,e,t=this.bbox()){return this.cx(i,t).cy(e,t)},cx:function(i,e=this.bbox()){return i==null?e.cx:this.attr("x",this.attr("x")+i-e.cx)},cy:function(i,e=this.bbox()){return i==null?e.cy:this.attr("y",this.attr("y")+i-e.cy)},length:function(){return this.node.getComputedTextLength()},move:function(i,e,t=this.bbox()){return this.x(i,t).y(e,t)},plain:function(i){return this._build===!1&&this.clear(),this.node.appendChild(Te.document.createTextNode(i)),this},x:function(i,e=this.bbox()){return i==null?e.x:this.attr("x",this.attr("x")+i-e.x)},y:function(i,e=this.bbox()){return i==null?e.y:this.attr("y",this.attr("y")+i-e.y)}});class hi extends $t{constructor(e,t=e){super(Xe("text",e),t),this.dom.leading=this.dom.leading??new Ae(1.3),this._rebuild=!0,this._build=!1}leading(e){return e==null?this.dom.leading:(this.dom.leading=new Ae(e),this.rebuild())}rebuild(e){if(typeof e=="boolean"&&(this._rebuild=e),this._rebuild){const t=this;let a=0;const s=this.dom.leading;this.each((function(r){if(ru(this.node))return;const n=Te.window.getComputedStyle(this.node).getPropertyValue("font-size"),o=s*new Ae(n);this.dom.newLined&&(this.attr("x",t.attr("x")),this.text()===`
|
|
72
|
+
`?a+=o:(this.attr("dy",r?o+a:0),a=0))})),this.fire("rebuild")}return this}setData(e){return this.dom=e,this.dom.leading=new Ae(e.leading||1.3),this}writeDataToDom(){return Jb(this,this.dom,{leading:1.3}),this}text(e){if(e===void 0){const t=this.node.childNodes;let a=0;e="";for(let s=0,r=t.length;s<r;++s)t[s].nodeName==="textPath"||ru(t[s])?s===0&&(a=s+1):(s!==a&&t[s].nodeType!==3&&Qt(t[s]).dom.newLined===!0&&(e+=`
|
|
73
|
+
`),e+=t[s].textContent);return e}if(this.clear().build(!0),typeof e=="function")e.call(this,this);else for(let t=0,a=(e=(e+"").split(`
|
|
74
|
+
`)).length;t<a;t++)this.newLine(e[t]);return this.build(!1).rebuild()}}fe(hi,yx),Ce({Container:{text:Ue((function(i=""){return this.put(new hi).text(i)})),plain:Ue((function(i=""){return this.put(new hi).plain(i)}))}}),De(hi,"Text");class Un extends $t{constructor(e,t=e){super(Xe("tspan",e),t),this._build=!1}dx(e){return this.attr("dx",e)}dy(e){return this.attr("dy",e)}newLine(){this.dom.newLined=!0;const e=this.parent();if(!(e instanceof hi))return this;const t=e.index(this),a=Te.window.getComputedStyle(this.node).getPropertyValue("font-size"),s=e.dom.leading*new Ae(a);return this.dy(t?s:0).attr("x",e.x())}text(e){return e==null?this.node.textContent+(this.dom.newLined?`
|
|
75
|
+
`:""):(typeof e=="function"?(this.clear().build(!0),e.call(this,this),this.build(!1)):this.plain(e),this)}}fe(Un,yx),Ce({Tspan:{tspan:Ue((function(i=""){const e=new Un;return this._build||this.clear(),this.put(e).text(i)}))},Text:{newLine:function(i=""){return this.tspan(i).newLine()}}}),De(Un,"Tspan");class ql extends $t{constructor(e,t=e){super(Xe("circle",e),t)}radius(e){return this.attr("r",e)}rx(e){return this.attr("r",e)}ry(e){return this.rx(e)}size(e){return this.radius(new Ae(e).divide(2))}}fe(ql,{x:nx,y:ox,cx:lx,cy:cx,width:ux,height:dx}),Ce({Container:{circle:Ue((function(i=0){return this.put(new ql).size(i).move(0,0)}))}}),De(ql,"Circle");class Gl extends Ft{constructor(e,t=e){super(Xe("clipPath",e),t)}remove(){return this.targets().forEach((function(e){e.unclip()})),super.remove()}targets(){return Qa("svg [clip-path*="+this.id()+"]")}}Ce({Container:{clip:Ue((function(){return this.defs().put(new Gl)}))},Element:{clipper(){return this.reference("clip-path")},clipWith(i){const e=i instanceof Gl?i:this.parent().clip().add(i);return this.attr("clip-path","url(#"+e.id()+")")},unclip(){return this.attr("clip-path",null)}}}),De(Gl,"ClipPath");class _g extends bt{constructor(e,t=e){super(Xe("foreignObject",e),t)}}Ce({Container:{foreignObject:Ue((function(i,e){return this.put(new _g).size(i,e)}))}}),De(_g,"ForeignObject");var wx=Object.freeze({__proto__:null,dmove:function(i,e){return this.children().forEach((t=>{let a;try{a=t.node instanceof on().SVGSVGElement?new st(t.attr(["x","y","width","height"])):t.bbox()}catch{return}const s=new oe(t),r=s.translate(i,e).transform(s.inverse()),n=new Oe(a.x,a.y).transform(r);t.move(n.x,n.y)})),this},dx:function(i){return this.dmove(i,0)},dy:function(i){return this.dmove(0,i)},height:function(i,e=this.bbox()){return i==null?e.height:this.size(e.width,i,e)},move:function(i=0,e=0,t=this.bbox()){const a=i-t.x,s=e-t.y;return this.dmove(a,s)},size:function(i,e,t=this.bbox()){const a=Us(this,i,e,t),s=a.width/t.width,r=a.height/t.height;return this.children().forEach((n=>{const o=new Oe(t).transform(new oe(n).inverse());n.scale(s,r,o.x,o.y)})),this},width:function(i,e=this.bbox()){return i==null?e.width:this.size(i,e.height,e)},x:function(i,e=this.bbox()){return i==null?e.x:this.move(i,e.y,e)},y:function(i,e=this.bbox()){return i==null?e.y:this.move(e.x,i,e)}});class ga extends Ft{constructor(e,t=e){super(Xe("g",e),t)}}fe(ga,wx),Ce({Container:{group:Ue((function(){return this.put(new ga)}))}}),De(ga,"G");class Pn extends Ft{constructor(e,t=e){super(Xe("a",e),t)}target(e){return this.attr("target",e)}to(e){return this.attr("href",e,Xs)}}fe(Pn,wx),Ce({Container:{link:Ue((function(i){return this.put(new Pn).to(i)}))},Element:{unlink(){const i=this.linker();if(!i)return this;const e=i.parent();if(!e)return this.remove();const t=e.index(i);return e.add(this,t),i.remove(),this},linkTo(i){let e=this.linker();return e||(e=new Pn,this.wrap(e)),typeof i=="function"?i.call(e,e):e.to(i),this},linker(){const i=this.parent();return i&&i.node.nodeName.toLowerCase()==="a"?i:null}}}),De(Pn,"A");class $l extends Ft{constructor(e,t=e){super(Xe("mask",e),t)}remove(){return this.targets().forEach((function(e){e.unmask()})),super.remove()}targets(){return Qa("svg [mask*="+this.id()+"]")}}Ce({Container:{mask:Ue((function(){return this.defs().put(new $l)}))},Element:{masker(){return this.reference("mask")},maskWith(i){const e=i instanceof $l?i:this.parent().mask().add(i);return this.attr("mask","url(#"+e.id()+")")},unmask(){return this.attr("mask",null)}}}),De($l,"Mask");class Ig extends bt{constructor(e,t=e){super(Xe("stop",e),t)}update(e){return(typeof e=="number"||e instanceof Ae)&&(e={offset:arguments[0],color:arguments[1],opacity:arguments[2]}),e.opacity!=null&&this.attr("stop-opacity",e.opacity),e.color!=null&&this.attr("stop-color",e.color),e.offset!=null&&this.attr("offset",new Ae(e.offset)),this}}Ce({Gradient:{stop:function(i,e,t){return this.put(new Ig).update(i,e,t)}}}),De(Ig,"Stop");class Kl extends bt{constructor(e,t=e){super(Xe("style",e),t)}addText(e=""){return this.node.textContent+=e,this}font(e,t,a={}){return this.rule("@font-face",{fontFamily:e,src:t,...a})}rule(e,t){return this.addText((function(a,s){if(!a)return"";if(!s)return a;let r=a+"{";for(const n in s)r+=n.replace(/([A-Z])/g,(function(o,l){return"-"+l.toLowerCase()}))+":"+s[n]+";";return r+="}",r})(e,t))}}Ce("Dom",{style(i,e){return this.put(new Kl).rule(i,e)},fontface(i,e,t){return this.put(new Kl).font(i,e,t)}}),De(Kl,"Style");class Zl extends hi{constructor(e,t=e){super(Xe("textPath",e),t)}array(){const e=this.track();return e?e.array():null}plot(e){const t=this.track();let a=null;return t&&(a=t.plot(e)),e==null?a:this}track(){return this.reference("href")}}Ce({Container:{textPath:Ue((function(i,e){return i instanceof hi||(i=this.text(i)),i.path(e)}))},Text:{path:Ue((function(i,e=!0){const t=new Zl;let a;if(i instanceof Ss||(i=this.defs().path(i)),t.attr("href","#"+i,Xs),e)for(;a=this.node.firstChild;)t.node.appendChild(a);return this.put(t)})),textPath(){return this.findOne("textPath")}},Path:{text:Ue((function(i){return i instanceof hi||(i=new hi().addTo(this.parent()).text(i)),i.path(this)})),targets(){return Qa("svg textPath").filter((i=>(i.attr("href")||"").includes(this.id())))}}}),Zl.prototype.MorphArray=di,De(Zl,"TextPath");class Tg extends $t{constructor(e,t=e){super(Xe("use",e),t)}use(e,t){return this.attr("href",(t||"")+"#"+e,Xs)}}Ce({Container:{use:Ue((function(i,e){return this.put(new Tg).use(i,e)}))}}),De(Tg,"Use");const F_=Rt;fe([hu,fu,jn,Fr,Yn],Ht("viewbox")),fe([Ra,Oa,Na,Ss],Ht("marker")),fe(hi,Ht("Text")),fe(Ss,Ht("Path")),fe(el,Ht("Defs")),fe([hi,Un],Ht("Tspan")),fe([Vn,Wn,yr,Gt],Ht("radius")),fe(ln,Ht("EventTarget")),fe(va,Ht("Dom")),fe(bt,Ht("Element")),fe($t,Ht("Shape")),fe([Ft,hx],Ht("Container")),fe(yr,Ht("Gradient")),fe(Gt,Ht("Runner")),Ka.extend([...new Set(Kb)]),(function(i=[]){du.push(...[].concat(i))})([Ae,Ve,st,oe,Za,ba,di,Oe]),fe(du,{to(i){return new _a().type(this.constructor).from(this.toArray()).to(i)},fromArray(i){return this.init(i),this},toConsumable(){return this.toArray()},morph(i,e,t,a,s){return this.fromArray(i.map((function(r,n){return a.step(r,e[n],t,s[n],s)})))}});class Ke extends bt{constructor(e){super(Xe("filter",e),e),this.$source="SourceGraphic",this.$sourceAlpha="SourceAlpha",this.$background="BackgroundImage",this.$backgroundAlpha="BackgroundAlpha",this.$fill="FillPaint",this.$stroke="StrokePaint",this.$autoSetIn=!0}put(e,t){return!(e=super.put(e,t)).attr("in")&&this.$autoSetIn&&e.attr("in",this.$source),e.attr("result")||e.attr("result",e.id()),e}remove(){return this.targets().each("unfilter"),super.remove()}targets(){return Qa('svg [filter*="'+this.id()+'"]')}toString(){return"url(#"+this.id()+")"}}class Ed extends bt{constructor(e,t){super(e,t),this.result(this.id())}in(e){if(e==null){const t=this.attr("in");return this.parent()&&this.parent().find(`[result="${t}"]`)[0]||t}return this.attr("in",e)}result(e){return this.attr("result",e)}toString(){return this.result()}}const Jt=i=>function(...e){for(let t=i.length;t--;)e[t]!=null&&this.attr(i[t],e[t])},z_={blend:Jt(["in","in2","mode"]),colorMatrix:Jt(["type","values"]),composite:Jt(["in","in2","operator"]),convolveMatrix:function(i){i=new Za(i).toString(),this.attr({order:Math.sqrt(i.split(" ").length),kernelMatrix:i})},diffuseLighting:Jt(["surfaceScale","lightingColor","diffuseConstant","kernelUnitLength"]),displacementMap:Jt(["in","in2","scale","xChannelSelector","yChannelSelector"]),dropShadow:Jt(["in","dx","dy","stdDeviation"]),flood:Jt(["flood-color","flood-opacity"]),gaussianBlur:function(i=0,e=i){this.attr("stdDeviation",i+" "+e)},image:function(i){this.attr("href",i,Xs)},morphology:Jt(["operator","radius"]),offset:Jt(["dx","dy"]),specularLighting:Jt(["surfaceScale","lightingColor","diffuseConstant","specularExponent","kernelUnitLength"]),tile:Jt([]),turbulence:Jt(["baseFrequency","numOctaves","seed","stitchTiles","type"])};["blend","colorMatrix","componentTransfer","composite","convolveMatrix","diffuseLighting","displacementMap","dropShadow","flood","gaussianBlur","image","merge","morphology","offset","specularLighting","tile","turbulence"].forEach((i=>{const e=Vs(i),t=z_[i];Ke[e+"Effect"]=class extends Ed{constructor(a){super(Xe("fe"+e,a),a)}update(a){return t.apply(this,a),this}},Ke.prototype[i]=Ue((function(a,...s){const r=new Ke[e+"Effect"];return a==null?this.put(r):(typeof a=="function"?a.call(r,r):s.unshift(a),this.put(r).update(s))}))})),fe(Ke,{merge(i){const e=this.put(new Ke.MergeEffect);return typeof i=="function"?(i.call(e,e),e):((i instanceof Array?i:[...arguments]).forEach((t=>{t instanceof Ke.MergeNode?e.put(t):e.mergeNode(t)})),e)},componentTransfer(i={}){const e=this.put(new Ke.ComponentTransferEffect);if(typeof i=="function")return i.call(e,e),e;i.r||i.g||i.b||i.a||(i={r:i,g:i,b:i,a:i});for(const t in i)e.add(new Ke["Func"+t.toUpperCase()](i[t]));return e}});["distantLight","pointLight","spotLight","mergeNode","FuncR","FuncG","FuncB","FuncA"].forEach((i=>{const e=Vs(i);Ke[e]=class extends Ed{constructor(t){super(Xe("fe"+e,t),t)}}}));["funcR","funcG","funcB","funcA"].forEach((function(i){const e=Ke[Vs(i)],t=Ue((function(){return this.put(new e)}));Ke.ComponentTransferEffect.prototype[i]=t}));["distantLight","pointLight","spotLight"].forEach((i=>{const e=Ke[Vs(i)],t=Ue((function(){return this.put(new e)}));Ke.DiffuseLightingEffect.prototype[i]=t,Ke.SpecularLightingEffect.prototype[i]=t})),fe(Ke.MergeEffect,{mergeNode(i){return this.put(new Ke.MergeNode).attr("in",i)}}),fe(el,{filter:function(i){const e=this.put(new Ke);return typeof i=="function"&&i.call(e,e),e}}),fe(Ft,{filter:function(i){return this.defs().filter(i)}}),fe(bt,{filterWith:function(i){const e=i instanceof Ke?i:this.defs().filter(i);return this.attr("filter",e)},unfilter:function(i){return this.attr("filter",null)},filterer(){return this.reference("filter")}});const B_={blend:function(i,e){return this.parent()&&this.parent().blend(this,i,e)},colorMatrix:function(i,e){return this.parent()&&this.parent().colorMatrix(i,e).in(this)},componentTransfer:function(i){return this.parent()&&this.parent().componentTransfer(i).in(this)},composite:function(i,e){return this.parent()&&this.parent().composite(this,i,e)},convolveMatrix:function(i){return this.parent()&&this.parent().convolveMatrix(i).in(this)},diffuseLighting:function(i,e,t,a){return this.parent()&&this.parent().diffuseLighting(i,t,a).in(this)},displacementMap:function(i,e,t,a){return this.parent()&&this.parent().displacementMap(this,i,e,t,a)},dropShadow:function(i,e,t){return this.parent()&&this.parent().dropShadow(this,i,e,t).in(this)},flood:function(i,e){return this.parent()&&this.parent().flood(i,e)},gaussianBlur:function(i,e){return this.parent()&&this.parent().gaussianBlur(i,e).in(this)},image:function(i){return this.parent()&&this.parent().image(i)},merge:function(i){return i=i instanceof Array?i:[...i],this.parent()&&this.parent().merge(this,...i)},morphology:function(i,e){return this.parent()&&this.parent().morphology(i,e).in(this)},offset:function(i,e){return this.parent()&&this.parent().offset(i,e).in(this)},specularLighting:function(i,e,t,a,s){return this.parent()&&this.parent().specularLighting(i,t,a,s).in(this)},tile:function(){return this.parent()&&this.parent().tile().in(this)},turbulence:function(i,e,t,a,s){return this.parent()&&this.parent().turbulence(i,e,t,a,s).in(this)}};fe(Ed,B_),fe(Ke.MergeEffect,{in:function(i){return i instanceof Ke.MergeNode?this.add(i,0):this.add(new Ke.MergeNode().in(i),0),this}}),fe([Ke.CompositeEffect,Ke.BlendEffect,Ke.DisplacementMapEffect],{in2:function(i){if(i==null){const e=this.attr("in2");return this.parent()&&this.parent().find(`[result="${e}"]`)[0]||e}return this.attr("in2",i)}}),Ke.filter={sepiatone:[.343,.669,.119,0,0,.249,.626,.13,0,0,.172,.334,.111,0,0,0,0,0,1,0]};var vt=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"getDefaultFilter",value:function(e,t){var a=this.w;e.unfilter(!0),new Ke().size("120%","180%","-5%","-40%"),a.config.chart.dropShadow.enabled&&this.dropShadow(e,a.config.chart.dropShadow,t)}},{key:"applyFilter",value:function(e,t,a){var s,r=this,n=this.w;if(e.unfilter(!0),a!=="none"){var o,l,c=n.config.chart.dropShadow,u=a==="lighten"?2:.3;e.filterWith((function(d){d.colorMatrix({type:"matrix",values:`
|
|
76
|
+
`.concat(u,` 0 0 0 0
|
|
77
|
+
0 `).concat(u,` 0 0 0
|
|
78
|
+
0 0 `).concat(u,` 0 0
|
|
79
|
+
0 0 0 1 0
|
|
80
|
+
`),in:"SourceGraphic",result:"brightness"}),c.enabled&&r.addShadow(d,t,c,"brightness")})),!c.noUserSpaceOnUse&&((o=e.filterer())===null||o===void 0||(l=o.node)===null||l===void 0||l.setAttribute("filterUnits","userSpaceOnUse")),this._scaleFilterSize((s=e.filterer())===null||s===void 0?void 0:s.node)}else this.getDefaultFilter(e,t)}},{key:"addShadow",value:function(e,t,a,s){var r,n=this.w,o=a.blur,l=a.top,c=a.left,u=a.color,d=a.opacity;if(u=Array.isArray(u)?u[t]:u,((r=n.config.chart.dropShadow.enabledOnSeries)===null||r===void 0?void 0:r.length)>0&&n.config.chart.dropShadow.enabledOnSeries.indexOf(t)===-1)return e;e.offset({in:s,dx:c,dy:l,result:"offset"}),e.gaussianBlur({in:"offset",stdDeviation:o,result:"blur"}),e.flood({"flood-color":u,"flood-opacity":d,result:"flood"}),e.composite({in:"flood",in2:"blur",operator:"in",result:"shadow"}),e.merge(["shadow",s])}},{key:"dropShadow",value:function(e,t){var a,s,r,n,o,l=this,c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,u=this.w;return e.unfilter(!0),T.isMsEdge()&&u.config.chart.type==="radialBar"||((a=u.config.chart.dropShadow.enabledOnSeries)===null||a===void 0?void 0:a.length)>0&&((r=u.config.chart.dropShadow.enabledOnSeries)===null||r===void 0?void 0:r.indexOf(c))===-1?e:(e.filterWith((function(d){l.addShadow(d,c,t,"SourceGraphic")})),t.noUserSpaceOnUse||(n=e.filterer())===null||n===void 0||(o=n.node)===null||o===void 0||o.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize((s=e.filterer())===null||s===void 0?void 0:s.node),e)}},{key:"setSelectionFilter",value:function(e,t,a){var s=this.w;if(s.globals.selectedDataPoints[t]!==void 0&&s.globals.selectedDataPoints[t].indexOf(a)>-1){e.node.setAttribute("selected",!0);var r=s.config.states.active.filter;r!=="none"&&this.applyFilter(e,t,r.type)}}},{key:"_scaleFilterSize",value:function(e){e&&(function(t){for(var a in t)t.hasOwnProperty(a)&&e.setAttribute(a,t[a])})({width:"200%",height:"200%",x:"-50%",y:"-50%"})}}]),i})(),V=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"roundPathCorners",value:function(e,t){function a(S,C,M){var E=C.x-S.x,P=C.y-S.y,D=Math.sqrt(E*E+P*P);return s(S,C,Math.min(1,M/D))}function s(S,C,M){return{x:S.x+(C.x-S.x)*M,y:S.y+(C.y-S.y)*M}}function r(S,C){S.length>2&&(S[S.length-2]=C.x,S[S.length-1]=C.y)}function n(S){return{x:parseFloat(S[S.length-2]),y:parseFloat(S[S.length-1])}}e.indexOf("NaN")>-1&&(e="");var o=e.split(/[,\s]/).reduce((function(S,C){var M=C.match(/^([a-zA-Z])(.+)/);return M?(S.push(M[1]),S.push(M[2])):S.push(C),S}),[]).reduce((function(S,C){return parseFloat(C)==C&&S.length?S[S.length-1].push(C):S.push([C]),S}),[]),l=[];if(o.length>1){var c=n(o[0]),u=null;o[o.length-1][0]=="Z"&&o[0].length>2&&(u=["L",c.x,c.y],o[o.length-1]=u),l.push(o[0]);for(var d=1;d<o.length;d++){var h=l[l.length-1],f=o[d],g=f==u?o[1]:o[d+1];if(g&&h&&h.length>2&&f[0]=="L"&&g.length>2&&g[0]=="L"){var p,m,v=n(h),b=n(f),x=n(g);p=a(b,v,t),m=a(b,x,t),r(f,p),f.origPoint=b,l.push(f);var k=s(p,b,.5),y=s(b,m,.5),A=["C",k.x,k.y,y.x,y.y,m.x,m.y];A.origPoint=b,l.push(A)}else l.push(f)}if(u){var w=n(l[l.length-1]);l.push(["Z"]),r(l[0],w)}}else l=o;return l.reduce((function(S,C){return S+C.join(" ")+" "}),"")}},{key:"drawLine",value:function(e,t,a,s){var r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"#a8a8a8",n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,l=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"butt";return this.w.globals.dom.Paper.line().attr({x1:e,y1:t,x2:a,y2:s,stroke:r,"stroke-dasharray":n,"stroke-width":o,"stroke-linecap":l})}},{key:"drawRect",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"#fefefe",o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:1,l=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null,c=arguments.length>8&&arguments[8]!==void 0?arguments[8]:null,u=arguments.length>9&&arguments[9]!==void 0?arguments[9]:0,d=this.w.globals.dom.Paper.rect();return d.attr({x:e,y:t,width:a>0?a:0,height:s>0?s:0,rx:r,ry:r,opacity:o,"stroke-width":l!==null?l:0,stroke:c!==null?c:"none","stroke-dasharray":u}),d.node.setAttribute("fill",n),d}},{key:"drawPolygon",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"#e1e1e1",a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"none";return this.w.globals.dom.Paper.polygon(e).attr({fill:s,stroke:t,"stroke-width":a})}},{key:"drawCircle",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;e<0&&(e=0);var a=this.w.globals.dom.Paper.circle(2*e);return t!==null&&a.attr(t),a}},{key:"drawPath",value:function(e){var t=e.d,a=t===void 0?"":t,s=e.stroke,r=s===void 0?"#a8a8a8":s,n=e.strokeWidth,o=n===void 0?1:n,l=e.fill,c=e.fillOpacity,u=c===void 0?1:c,d=e.strokeOpacity,h=d===void 0?1:d,f=e.classes,g=e.strokeLinecap,p=g===void 0?null:g,m=e.strokeDashArray,v=m===void 0?0:m,b=this.w;return p===null&&(p=b.config.stroke.lineCap),(a.indexOf("undefined")>-1||a.indexOf("NaN")>-1)&&(a="M 0 ".concat(b.globals.gridHeight)),b.globals.dom.Paper.path(a).attr({fill:l,"fill-opacity":u,stroke:r,"stroke-opacity":h,"stroke-linecap":p,"stroke-width":o,"stroke-dasharray":v,class:f})}},{key:"group",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,t=this.w.globals.dom.Paper.group();return e!==null&&t.attr(e),t}},{key:"move",value:function(e,t){var a=["M",e,t].join(" ");return a}},{key:"line",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,s=null;return a===null?s=[" L",e,t].join(" "):a==="H"?s=[" H",e].join(" "):a==="V"&&(s=[" V",t].join(" ")),s}},{key:"curve",value:function(e,t,a,s,r,n){var o=["C",e,t,a,s,r,n].join(" ");return o}},{key:"quadraticCurve",value:function(e,t,a,s){return["Q",e,t,a,s].join(" ")}},{key:"arc",value:function(e,t,a,s,r,n,o){var l="A";arguments.length>7&&arguments[7]!==void 0&&arguments[7]&&(l="a");var c=[l,e,t,a,s,r,n,o].join(" ");return c}},{key:"renderPaths",value:function(e){var t,a=e.j,s=e.realIndex,r=e.pathFrom,n=e.pathTo,o=e.stroke,l=e.strokeWidth,c=e.strokeLinecap,u=e.fill,d=e.animationDelay,h=e.initialSpeed,f=e.dataChangeSpeed,g=e.className,p=e.chartType,m=e.shouldClipToGrid,v=m===void 0||m,b=e.bindEventsOnPaths,x=b===void 0||b,k=e.drawShadow,y=k===void 0||k,A=this.w,w=new vt(this.ctx),S=new Ys(this.ctx),C=this.w.config.chart.animations.enabled,M=C&&this.w.config.chart.animations.dynamicAnimation.enabled;if(r&&r.startsWith("M 0 0")&&n){var E=n.match(/^M\s+[\d.-]+\s+[\d.-]+/);E&&(r=r.replace(/^M\s+0\s+0/,E[0]))}var P=!!(C&&!A.globals.resized||M&&A.globals.dataChanged&&A.globals.shouldAnimate);P?t=r:(t=n,A.globals.animationEnded=!0);var D=A.config.stroke.dashArray,L=0;L=Array.isArray(D)?D[s]:A.config.stroke.dashArray;var B=this.drawPath({d:t,stroke:o,strokeWidth:l,fill:u,fillOpacity:1,classes:g,strokeLinecap:c,strokeDashArray:L});B.attr("index",s),v&&(p==="bar"&&!A.globals.isHorizontal||A.globals.comboCharts?B.attr({"clip-path":"url(#gridRectBarMask".concat(A.globals.cuid,")")}):B.attr({"clip-path":"url(#gridRectMask".concat(A.globals.cuid,")")})),A.config.chart.dropShadow.enabled&&y&&w.dropShadow(B,A.config.chart.dropShadow,s),x&&(B.node.addEventListener("mouseenter",this.pathMouseEnter.bind(this,B)),B.node.addEventListener("mouseleave",this.pathMouseLeave.bind(this,B)),B.node.addEventListener("mousedown",this.pathMouseDown.bind(this,B))),B.attr({pathTo:n,pathFrom:r});var N={el:B,j:a,realIndex:s,pathFrom:r,pathTo:n,fill:u,strokeWidth:l,delay:d};return!C||A.globals.resized||A.globals.dataChanged?!A.globals.resized&&A.globals.dataChanged||S.showDelayedElements():S.animatePathsGradually($($({},N),{},{speed:h})),A.globals.dataChanged&&M&&P&&S.animatePathsGradually($($({},N),{},{speed:f})),B}},{key:"drawPattern",value:function(e,t,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#a8a8a8",r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;return this.w.globals.dom.Paper.pattern(t,a,(function(n){e==="horizontalLines"?n.line(0,0,a,0).stroke({color:s,width:r+1}):e==="verticalLines"?n.line(0,0,0,t).stroke({color:s,width:r+1}):e==="slantedLines"?n.line(0,0,t,a).stroke({color:s,width:r}):e==="squares"?n.rect(t,a).fill("none").stroke({color:s,width:r}):e==="circles"&&n.circle(t).fill("none").stroke({color:s,width:r})}))}},{key:"drawGradient",value:function(e,t,a,s,r){var n,o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,c=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],u=arguments.length>8&&arguments[8]!==void 0?arguments[8]:0,d=this.w;t.length<9&&t.indexOf("#")===0&&(t=T.hexToRgba(t,s)),a.length<9&&a.indexOf("#")===0&&(a=T.hexToRgba(a,r));var h=0,f=1,g=1,p=null;l!==null&&(h=l[0]!==void 0?l[0]/100:0,f=l[1]!==void 0?l[1]/100:1,g=l[2]!==void 0?l[2]/100:1,p=l[3]!==void 0?l[3]/100:null);var m=!(d.config.chart.type!=="donut"&&d.config.chart.type!=="pie"&&d.config.chart.type!=="polarArea"&&d.config.chart.type!=="bubble");if(n=c&&c.length!==0?d.globals.dom.Paper.gradient(m?"radial":"linear",(function(x){(Array.isArray(c[u])?c[u]:c).forEach((function(k){x.stop(k.offset/100,k.color,k.opacity)}))})):d.globals.dom.Paper.gradient(m?"radial":"linear",(function(x){x.stop(h,t,s),x.stop(f,a,r),x.stop(g,a,r),p!==null&&x.stop(p,t,s)})),m){var v=d.globals.gridWidth/2,b=d.globals.gridHeight/2;d.config.chart.type!=="bubble"?n.attr({gradientUnits:"userSpaceOnUse",cx:v,cy:b,r:o}):n.attr({cx:.5,cy:.5,r:.8,fx:.2,fy:.2})}else e==="vertical"?n.from(0,0).to(0,1):e==="diagonal"?n.from(0,0).to(1,1):e==="horizontal"?n.from(0,1).to(1,1):e==="diagonal2"&&n.from(1,0).to(0,1);return n}},{key:"getTextBasedOnMaxWidth",value:function(e){var t=e.text,a=e.maxWidth,s=e.fontSize,r=e.fontFamily,n=this.getTextRects(t,s,r),o=n.width/t.length,l=Math.floor(a/o);return a<n.width?t.slice(0,l-3)+"...":t}},{key:"drawText",value:function(e){var t=this,a=e.x,s=e.y,r=e.text,n=e.textAnchor,o=e.fontSize,l=e.fontFamily,c=e.fontWeight,u=e.foreColor,d=e.opacity,h=e.maxWidth,f=e.cssClass,g=f===void 0?"":f,p=e.isPlainText,m=p===void 0||p,v=e.dominantBaseline,b=v===void 0?"auto":v,x=this.w;r===void 0&&(r="");var k=r;n||(n="start"),u&&u.length||(u=x.config.chart.foreColor),l=l||x.config.chart.fontFamily,c=c||"regular";var y,A={maxWidth:h,fontSize:o=o||"11px",fontFamily:l};return Array.isArray(r)?y=x.globals.dom.Paper.text((function(w){for(var S=0;S<r.length;S++)k=r[S],h&&(k=t.getTextBasedOnMaxWidth($({text:r[S]},A))),S===0?w.tspan(k):w.tspan(k).newLine()})):(h&&(k=this.getTextBasedOnMaxWidth($({text:r},A))),y=m?x.globals.dom.Paper.plain(r):x.globals.dom.Paper.text((function(w){return w.tspan(k)}))),y.attr({x:a,y:s,"text-anchor":n,"dominant-baseline":b,"font-size":o,"font-family":l,"font-weight":c,fill:u,class:"apexcharts-text "+g}),y.node.style.fontFamily=l,y.node.style.opacity=d,y}},{key:"getMarkerPath",value:function(e,t,a,s){var r="";switch(a){case"cross":r="M ".concat(e-(s/=1.4)," ").concat(t-s," L ").concat(e+s," ").concat(t+s," M ").concat(e-s," ").concat(t+s," L ").concat(e+s," ").concat(t-s);break;case"plus":r="M ".concat(e-(s/=1.12)," ").concat(t," L ").concat(e+s," ").concat(t," M ").concat(e," ").concat(t-s," L ").concat(e," ").concat(t+s);break;case"star":case"sparkle":var n=5;s*=1.15,a==="sparkle"&&(s/=1.1,n=4);for(var o=Math.PI/n,l=0;l<=2*n;l++){var c=l*o,u=l%2==0?s:s/2;r+=(l===0?"M":"L")+(e+u*Math.sin(c))+","+(t-u*Math.cos(c))}r+="Z";break;case"triangle":r="M ".concat(e," ").concat(t-s,`
|
|
81
|
+
L `).concat(e+s," ").concat(t+s,`
|
|
82
|
+
L `).concat(e-s," ").concat(t+s,`
|
|
83
|
+
Z`);break;case"square":case"rect":r="M ".concat(e-(s/=1.125)," ").concat(t-s,`
|
|
84
|
+
L `).concat(e+s," ").concat(t-s,`
|
|
85
|
+
L `).concat(e+s," ").concat(t+s,`
|
|
86
|
+
L `).concat(e-s," ").concat(t+s,`
|
|
87
|
+
Z`);break;case"diamond":s*=1.05,r="M ".concat(e," ").concat(t-s,`
|
|
88
|
+
L `).concat(e+s," ").concat(t,`
|
|
89
|
+
L `).concat(e," ").concat(t+s,`
|
|
90
|
+
L `).concat(e-s," ").concat(t,`
|
|
91
|
+
Z`);break;case"line":r="M ".concat(e-(s/=1.1)," ").concat(t,`
|
|
92
|
+
L `).concat(e+s," ").concat(t);break;default:s*=2,r="M ".concat(e,", ").concat(t,`
|
|
93
|
+
m -`).concat(s/2,`, 0
|
|
94
|
+
a `).concat(s/2,",").concat(s/2," 0 1,0 ").concat(s,`,0
|
|
95
|
+
a `).concat(s/2,",").concat(s/2," 0 1,0 -").concat(s,",0")}return r}},{key:"drawMarkerShape",value:function(e,t,a,s,r){var n=this.drawPath({d:this.getMarkerPath(e,t,a,s,r),stroke:r.pointStrokeColor,strokeDashArray:r.pointStrokeDashArray,strokeWidth:r.pointStrokeWidth,fill:r.pointFillColor,fillOpacity:r.pointFillOpacity,strokeOpacity:r.pointStrokeOpacity});return n.attr({cx:e,cy:t,shape:r.shape,class:r.class?r.class:""}),n}},{key:"drawMarker",value:function(e,t,a){e=e||0;var s=a.pSize||0;return T.isNumber(t)||(s=0,t=0),this.drawMarkerShape(e,t,a==null?void 0:a.shape,s,$($({},a),a.shape==="line"||a.shape==="plus"||a.shape==="cross"?{pointStrokeColor:a.pointFillColor,pointStrokeOpacity:a.pointFillOpacity}:{}))}},{key:"pathMouseEnter",value:function(e,t){var a=this.w,s=new vt(this.ctx),r=parseInt(e.node.getAttribute("index"),10),n=parseInt(e.node.getAttribute("j"),10);if(typeof a.config.chart.events.dataPointMouseEnter=="function"&&a.config.chart.events.dataPointMouseEnter(t,this.ctx,{seriesIndex:r,dataPointIndex:n,w:a}),this.ctx.events.fireEvent("dataPointMouseEnter",[t,this.ctx,{seriesIndex:r,dataPointIndex:n,w:a}]),(a.config.states.active.filter.type==="none"||e.node.getAttribute("selected")!=="true")&&a.config.states.hover.filter.type!=="none"&&!a.globals.isTouchDevice){var o=a.config.states.hover.filter;s.applyFilter(e,r,o.type)}}},{key:"pathMouseLeave",value:function(e,t){var a=this.w,s=new vt(this.ctx),r=parseInt(e.node.getAttribute("index"),10),n=parseInt(e.node.getAttribute("j"),10);typeof a.config.chart.events.dataPointMouseLeave=="function"&&a.config.chart.events.dataPointMouseLeave(t,this.ctx,{seriesIndex:r,dataPointIndex:n,w:a}),this.ctx.events.fireEvent("dataPointMouseLeave",[t,this.ctx,{seriesIndex:r,dataPointIndex:n,w:a}]),a.config.states.active.filter.type!=="none"&&e.node.getAttribute("selected")==="true"||a.config.states.hover.filter.type!=="none"&&s.getDefaultFilter(e,r)}},{key:"pathMouseDown",value:function(e,t){var a=this.w,s=new vt(this.ctx),r=parseInt(e.node.getAttribute("index"),10),n=parseInt(e.node.getAttribute("j"),10),o="false";if(e.node.getAttribute("selected")==="true"){if(e.node.setAttribute("selected","false"),a.globals.selectedDataPoints[r].indexOf(n)>-1){var l=a.globals.selectedDataPoints[r].indexOf(n);a.globals.selectedDataPoints[r].splice(l,1)}}else{if(!a.config.states.active.allowMultipleDataPointsSelection&&a.globals.selectedDataPoints.length>0){a.globals.selectedDataPoints=[];var c=a.globals.dom.Paper.find(".apexcharts-series path:not(.apexcharts-decoration-element)"),u=a.globals.dom.Paper.find(".apexcharts-series circle:not(.apexcharts-decoration-element), .apexcharts-series rect:not(.apexcharts-decoration-element)"),d=function(g){Array.prototype.forEach.call(g,(function(p){p.node.setAttribute("selected","false"),s.getDefaultFilter(p,r)}))};d(c),d(u)}e.node.setAttribute("selected","true"),o="true",a.globals.selectedDataPoints[r]===void 0&&(a.globals.selectedDataPoints[r]=[]),a.globals.selectedDataPoints[r].push(n)}if(o==="true"){var h=a.config.states.active.filter;if(h!=="none")s.applyFilter(e,r,h.type);else if(a.config.states.hover.filter!=="none"&&!a.globals.isTouchDevice){var f=a.config.states.hover.filter;s.applyFilter(e,r,f.type)}}else a.config.states.active.filter.type!=="none"&&(a.config.states.hover.filter.type==="none"||a.globals.isTouchDevice?s.getDefaultFilter(e,r):(f=a.config.states.hover.filter,s.applyFilter(e,r,f.type)));typeof a.config.chart.events.dataPointSelection=="function"&&a.config.chart.events.dataPointSelection(t,this.ctx,{selectedDataPoints:a.globals.selectedDataPoints,seriesIndex:r,dataPointIndex:n,w:a}),t&&this.ctx.events.fireEvent("dataPointSelection",[t,this.ctx,{selectedDataPoints:a.globals.selectedDataPoints,seriesIndex:r,dataPointIndex:n,w:a}])}},{key:"rotateAroundCenter",value:function(e){var t={};return e&&typeof e.getBBox=="function"&&(t=e.getBBox()),{x:t.x+t.width/2,y:t.y+t.height/2}}},{key:"getTextRects",value:function(e,t,a,s){var r=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],n=this.w,o=this.drawText({x:-200,y:-200,text:e,textAnchor:"start",fontSize:t,fontFamily:a,foreColor:"#fff",opacity:0});s&&o.attr("transform",s),n.globals.dom.Paper.add(o);var l=o.bbox();return r||(l=o.node.getBoundingClientRect()),o.remove(),{width:l.width,height:l.height}}},{key:"placeTextWithEllipsis",value:function(e,t,a){if(typeof e.getComputedTextLength=="function"&&(e.textContent=t,t.length>0&&e.getComputedTextLength()>=a/1.1)){for(var s=t.length-3;s>0;s-=3)if(e.getSubStringLength(0,s)<=a/1.1)return void(e.textContent=t.substring(0,s)+"...");e.textContent="."}}}],[{key:"setAttrs",value:function(e,t){for(var a in t)t.hasOwnProperty(a)&&e.setAttribute(a,t[a])}}]),i})(),nt=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"getStackedSeriesTotals",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=this.w,a=[];if(t.globals.series.length===0)return a;for(var s=0;s<t.globals.series[t.globals.maxValsInArrayIndex].length;s++){for(var r=0,n=0;n<t.globals.series.length;n++)t.globals.series[n][s]!==void 0&&e.indexOf(n)===-1&&(r+=t.globals.series[n][s]);a.push(r)}return a}},{key:"getSeriesTotalByIndex",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return e===null?this.w.config.series.reduce((function(t,a){return t+a}),0):this.w.globals.series[e].reduce((function(t,a){return t+a}),0)}},{key:"getStackedSeriesTotalsByGroups",value:function(){var e=this,t=this.w,a=[];return t.globals.seriesGroups.forEach((function(s){var r=[];t.config.series.forEach((function(o,l){s.indexOf(t.globals.seriesNames[l])>-1&&r.push(l)}));var n=t.globals.series.map((function(o,l){return r.indexOf(l)===-1?l:-1})).filter((function(o){return o!==-1}));a.push(e.getStackedSeriesTotals(n))})),a}},{key:"setSeriesYAxisMappings",value:function(){var e=this.w.globals,t=this.w.config,a=[],s=[],r=[],n=e.series.length>t.yaxis.length||t.yaxis.some((function(d){return Array.isArray(d.seriesName)}));t.series.forEach((function(d,h){r.push(h),s.push(null)})),t.yaxis.forEach((function(d,h){a[h]=[]}));var o=[];t.yaxis.forEach((function(d,h){var f=!1;if(d.seriesName){var g=[];Array.isArray(d.seriesName)?g=d.seriesName:g.push(d.seriesName),g.forEach((function(p){t.series.forEach((function(m,v){if(m.name===p){var b=v;h===v||n?!n||r.indexOf(v)>-1?a[h].push([h,v]):console.warn("Series '"+m.name+"' referenced more than once in what looks like the new style. That is, when using either seriesName: [], or when there are more series than yaxes."):(a[v].push([v,h]),b=h),f=!0,(b=r.indexOf(b))!==-1&&r.splice(b,1)}}))}))}f||o.push(h)})),a=a.map((function(d,h){var f=[];return d.forEach((function(g){s[g[1]]=g[0],f.push(g[1])})),f}));for(var l=t.yaxis.length-1,c=0;c<o.length&&(l=o[c],a[l]=[],r);c++){var u=r[0];r.shift(),a[l].push(u),s[u]=l}r.forEach((function(d){a[l].push(d),s[d]=l})),e.seriesYAxisMap=a.map((function(d){return d})),e.seriesYAxisReverseMap=s.map((function(d){return d})),e.seriesYAxisMap.forEach((function(d,h){d.forEach((function(f){t.series[f]&&t.series[f].group===void 0&&(t.series[f].group="apexcharts-axis-".concat(h.toString()))}))}))}},{key:"isSeriesNull",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return(e===null?this.w.config.series.filter((function(t){return t!==null})):this.w.config.series[e].data.filter((function(t){return t!==null}))).length===0}},{key:"seriesHaveSameValues",value:function(e){return this.w.globals.series[e].every((function(t,a,s){return t===s[0]}))}},{key:"getCategoryLabels",value:function(e){var t=this.w,a=e.slice();return t.config.xaxis.convertedCatToNumeric&&(a=e.map((function(s,r){return t.config.xaxis.labels.formatter(s-t.globals.minX+1)}))),a}},{key:"getLargestSeries",value:function(){var e=this.w;e.globals.maxValsInArrayIndex=e.globals.series.map((function(t){return t.length})).indexOf(Math.max.apply(Math,e.globals.series.map((function(t){return t.length}))))}},{key:"getLargestMarkerSize",value:function(){var e=this.w,t=0;return e.globals.markers.size.forEach((function(a){t=Math.max(t,a)})),e.config.markers.discrete&&e.config.markers.discrete.length&&e.config.markers.discrete.forEach((function(a){t=Math.max(t,a.size)})),t>0&&(e.config.markers.hover.size>0?t=e.config.markers.hover.size:t+=e.config.markers.hover.sizeOffset),e.globals.markers.largestSize=t,t}},{key:"getSeriesTotals",value:function(){var e=this.w;e.globals.seriesTotals=e.globals.series.map((function(t,a){var s=0;if(Array.isArray(t))for(var r=0;r<t.length;r++)s+=t[r];else s+=t;return s}))}},{key:"getSeriesTotalsXRange",value:function(e,t){var a=this.w;return a.globals.series.map((function(s,r){for(var n=0,o=0;o<s.length;o++)a.globals.seriesX[r][o]>e&&a.globals.seriesX[r][o]<t&&(n+=s[o]);return n}))}},{key:"getPercentSeries",value:function(){var e=this.w;e.globals.seriesPercent=e.globals.series.map((function(t,a){var s=[];if(Array.isArray(t))for(var r=0;r<t.length;r++){var n=e.globals.stackedSeriesTotals[r],o=0;n&&(o=100*t[r]/n),s.push(o)}else{var l=100*t/e.globals.seriesTotals.reduce((function(c,u){return c+u}),0);s.push(l)}return s}))}},{key:"getCalculatedRatios",value:function(){var e,t,a,s=this,r=this.w,n=r.globals,o=[],l=0,c=[],u=.1,d=0;if(n.yRange=[],n.isMultipleYAxis)for(var h=0;h<n.minYArr.length;h++)n.yRange.push(Math.abs(n.minYArr[h]-n.maxYArr[h])),c.push(0);else n.yRange.push(Math.abs(n.minY-n.maxY));n.xRange=Math.abs(n.maxX-n.minX),n.zRange=Math.abs(n.maxZ-n.minZ);for(var f=0;f<n.yRange.length;f++)o.push(n.yRange[f]/n.gridHeight);if(t=n.xRange/n.gridWidth,e=n.yRange/n.gridWidth,a=n.xRange/n.gridHeight,(l=n.zRange/n.gridHeight*16)||(l=1),n.minY!==Number.MIN_VALUE&&Math.abs(n.minY)!==0&&(n.hasNegs=!0),r.globals.seriesYAxisReverseMap.length>0){var g=function(m,v){var b=r.config.yaxis[r.globals.seriesYAxisReverseMap[v]],x=m<0?-1:1;return m=Math.abs(m),b.logarithmic&&(m=s.getBaseLog(b.logBase,m)),-x*m/o[v]};if(n.isMultipleYAxis){c=[];for(var p=0;p<o.length;p++)c.push(g(n.minYArr[p],p))}else(c=[]).push(g(n.minY,0)),n.minY!==Number.MIN_VALUE&&Math.abs(n.minY)!==0&&(u=-n.minY/e,d=n.minX/t)}else(c=[]).push(0),u=0,d=0;return{yRatio:o,invertedYRatio:e,zRatio:l,xRatio:t,invertedXRatio:a,baseLineInvertedY:u,baseLineY:c,baseLineX:d}}},{key:"getLogSeries",value:function(e){var t=this,a=this.w;return a.globals.seriesLog=e.map((function(s,r){var n=a.globals.seriesYAxisReverseMap[r];return a.config.yaxis[n]&&a.config.yaxis[n].logarithmic?s.map((function(o){return o===null?null:t.getLogVal(a.config.yaxis[n].logBase,o,r)})):s})),a.globals.invalidLogScale?e:a.globals.seriesLog}},{key:"getLogValAtSeriesIndex",value:function(e,t){if(e===null)return null;var a=this.w,s=a.globals.seriesYAxisReverseMap[t];return a.config.yaxis[s]&&a.config.yaxis[s].logarithmic?this.getLogVal(a.config.yaxis[s].logBase,e,t):e}},{key:"getBaseLog",value:function(e,t){return Math.log(t)/Math.log(e)}},{key:"getLogVal",value:function(e,t,a){if(t<=0)return 0;var s=this.w,r=s.globals.minYArr[a]===0?-1:this.getBaseLog(e,s.globals.minYArr[a]),n=(s.globals.maxYArr[a]===0?0:this.getBaseLog(e,s.globals.maxYArr[a]))-r;return t<1?t/n:(this.getBaseLog(e,t)-r)/n}},{key:"getLogYRatios",value:function(e){var t=this,a=this.w,s=this.w.globals;return s.yLogRatio=e.slice(),s.logYRange=s.yRange.map((function(r,n){var o=a.globals.seriesYAxisReverseMap[n];if(a.config.yaxis[o]&&t.w.config.yaxis[o].logarithmic){var l,c=-Number.MAX_VALUE,u=Number.MIN_VALUE;return s.seriesLog.forEach((function(d,h){d.forEach((function(f){a.config.yaxis[h]&&a.config.yaxis[h].logarithmic&&(c=Math.max(f,c),u=Math.min(f,u))}))})),l=Math.pow(s.yRange[n],Math.abs(u-c)/s.yRange[n]),s.yLogRatio[n]=l/s.gridHeight,l}})),s.invalidLogScale?e.slice():s.yLogRatio}},{key:"drawSeriesByGroup",value:function(e,t,a,s){var r=this.w,n=[];return e.series.length>0&&t.forEach((function(o){var l=[],c=[];e.i.forEach((function(u,d){r.config.series[u].group===o&&(l.push(e.series[d]),c.push(u))})),l.length>0&&n.push(s.draw(l,a,c))})),n}}],[{key:"checkComboSeries",value:function(e,t){var a=!1,s=0,r=0;return t===void 0&&(t="line"),e.length&&e[0].type!==void 0&&e.forEach((function(n){n.type!=="bar"&&n.type!=="column"&&n.type!=="candlestick"&&n.type!=="boxPlot"||s++,n.type!==void 0&&n.type!==t&&r++})),r>0&&(a=!0),{comboBarCount:s,comboCharts:a}}},{key:"extendArrayProps",value:function(e,t,a){var s,r,n,o,l,c;return(s=t)!==null&&s!==void 0&&s.yaxis&&(t=e.extendYAxis(t,a)),(r=t)!==null&&r!==void 0&&r.annotations&&(t.annotations.yaxis&&(t=e.extendYAxisAnnotations(t)),(n=t)!==null&&n!==void 0&&(o=n.annotations)!==null&&o!==void 0&&o.xaxis&&(t=e.extendXAxisAnnotations(t)),(l=t)!==null&&l!==void 0&&(c=l.annotations)!==null&&c!==void 0&&c.points&&(t=e.extendPointAnnotations(t))),t}}]),i})(),tl=(function(){function i(e){ee(this,i),this.w=e.w,this.annoCtx=e}return te(i,[{key:"setOrientations",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=this.w;if(e.label.orientation==="vertical"){var s=t!==null?t:0,r=a.globals.dom.baseEl.querySelector(".apexcharts-xaxis-annotations .apexcharts-xaxis-annotation-label[rel='".concat(s,"']"));if(r!==null){var n=r.getBoundingClientRect();r.setAttribute("x",parseFloat(r.getAttribute("x"))-n.height+4);var o=e.label.position==="top"?n.width:-n.width;r.setAttribute("y",parseFloat(r.getAttribute("y"))+o);var l=this.annoCtx.graphics.rotateAroundCenter(r),c=l.x,u=l.y;r.setAttribute("transform","rotate(-90 ".concat(c," ").concat(u,")"))}}}},{key:"addBackgroundToAnno",value:function(e,t){var a=this.w;if(!e||!t.label.text||!String(t.label.text).trim())return null;var s=a.globals.dom.baseEl.querySelector(".apexcharts-grid").getBoundingClientRect(),r=e.getBoundingClientRect(),n=t.label.style.padding,o=n.left,l=n.right,c=n.top,u=n.bottom;if(t.label.orientation==="vertical"){var d=[o,l,c,u];c=d[0],u=d[1],o=d[2],l=d[3]}var h=r.left-s.left-o,f=r.top-s.top-c,g=this.annoCtx.graphics.drawRect(h-a.globals.barPadForNumericAxis,f,r.width+o+l,r.height+c+u,t.label.borderRadius,t.label.style.background,1,t.label.borderWidth,t.label.borderColor,0);return t.id&&g.node.classList.add(t.id),g}},{key:"annotationsBackground",value:function(){var e=this,t=this.w,a=function(s,r,n){var o=t.globals.dom.baseEl.querySelector(".apexcharts-".concat(n,"-annotations .apexcharts-").concat(n,"-annotation-label[rel='").concat(r,"']"));if(o){var l=o.parentNode,c=e.addBackgroundToAnno(o,s);c&&(l.insertBefore(c.node,o),s.label.mouseEnter&&c.node.addEventListener("mouseenter",s.label.mouseEnter.bind(e,s)),s.label.mouseLeave&&c.node.addEventListener("mouseleave",s.label.mouseLeave.bind(e,s)),s.label.click&&c.node.addEventListener("click",s.label.click.bind(e,s)))}};t.config.annotations.xaxis.forEach((function(s,r){return a(s,r,"xaxis")})),t.config.annotations.yaxis.forEach((function(s,r){return a(s,r,"yaxis")})),t.config.annotations.points.forEach((function(s,r){return a(s,r,"point")}))}},{key:"getY1Y2",value:function(e,t){var a,s=this.w,r=e==="y1"?t.y:t.y2,n=!1;if(this.annoCtx.invertAxis){var o=s.config.xaxis.convertedCatToNumeric?s.globals.categoryLabels:s.globals.labels,l=o.indexOf(r),c=s.globals.dom.baseEl.querySelector(".apexcharts-yaxis-texts-g text:nth-child(".concat(l+1,")"));a=c?parseFloat(c.getAttribute("y")):(s.globals.gridHeight/o.length-1)*(l+1)-s.globals.barHeight,t.seriesIndex!==void 0&&s.globals.barHeight&&(a-=s.globals.barHeight/2*(s.globals.series.length-1)-s.globals.barHeight*t.seriesIndex)}else{var u,d=s.globals.seriesYAxisMap[t.yAxisIndex][0],h=s.config.yaxis[t.yAxisIndex].logarithmic?new nt(this.annoCtx.ctx).getLogVal(s.config.yaxis[t.yAxisIndex].logBase,r,d)/s.globals.yLogRatio[d]:(r-s.globals.minYArr[d])/(s.globals.yRange[d]/s.globals.gridHeight);a=s.globals.gridHeight-Math.min(Math.max(h,0),s.globals.gridHeight),n=h>s.globals.gridHeight||h<0,!t.marker||t.y!==void 0&&t.y!==null||(a=0),(u=s.config.yaxis[t.yAxisIndex])!==null&&u!==void 0&&u.reversed&&(a=h)}return typeof r=="string"&&r.includes("px")&&(a=parseFloat(r)),{yP:a,clipped:n}}},{key:"getX1X2",value:function(e,t){var a=this.w,s=e==="x1"?t.x:t.x2,r=this.annoCtx.invertAxis?a.globals.minY:a.globals.minX,n=this.annoCtx.invertAxis?a.globals.maxY:a.globals.maxX,o=this.annoCtx.invertAxis?a.globals.yRange[0]:a.globals.xRange,l=!1,c=this.annoCtx.inversedReversedAxis?(n-s)/(o/a.globals.gridWidth):(s-r)/(o/a.globals.gridWidth);return a.config.xaxis.type!=="category"&&!a.config.xaxis.convertedCatToNumeric||this.annoCtx.invertAxis||a.globals.dataFormatXNumeric||a.config.chart.sparkline.enabled||(c=this.getStringX(s)),typeof s=="string"&&s.includes("px")&&(c=parseFloat(s)),s==null&&t.marker&&(c=a.globals.gridWidth),t.seriesIndex!==void 0&&a.globals.barWidth&&!this.annoCtx.invertAxis&&(c-=a.globals.barWidth/2*(a.globals.series.length-1)-a.globals.barWidth*t.seriesIndex),typeof c!="number"&&(c=0,l=!0),parseFloat(c.toFixed(10))>parseFloat(a.globals.gridWidth.toFixed(10))?(c=a.globals.gridWidth,l=!0):c<0&&(c=0,l=!0),{x:c,clipped:l}}},{key:"getStringX",value:function(e){var t=this.w,a=e;t.config.xaxis.convertedCatToNumeric&&t.globals.categoryLabels.length&&(e=t.globals.categoryLabels.indexOf(e)+1);var s=t.globals.labels.map((function(n){return Array.isArray(n)?n.join(" "):n})).indexOf(e),r=t.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g text:nth-child(".concat(s+1,")"));return r&&(a=parseFloat(r.getAttribute("x"))),a}}]),i})(),H_=(function(){function i(e){ee(this,i),this.w=e.w,this.annoCtx=e,this.invertAxis=this.annoCtx.invertAxis,this.helpers=new tl(this.annoCtx)}return te(i,[{key:"addXaxisAnnotation",value:function(e,t,a){var s,r=this.w,n=this.helpers.getX1X2("x1",e),o=n.x,l=n.clipped,c=!0,u=e.label.text,d=e.strokeDashArray;if(T.isNumber(o)){if(e.x2===null||e.x2===void 0){if(!l){var h=this.annoCtx.graphics.drawLine(o+e.offsetX,0+e.offsetY,o+e.offsetX,r.globals.gridHeight+e.offsetY,e.borderColor,d,e.borderWidth);t.appendChild(h.node),e.id&&h.node.classList.add(e.id)}}else{var f=this.helpers.getX1X2("x2",e);if(s=f.x,c=f.clipped,s<o){var g=o;o=s,s=g}var p=this.annoCtx.graphics.drawRect(o+e.offsetX,0+e.offsetY,s-o,r.globals.gridHeight+e.offsetY,0,e.fillColor,e.opacity,1,e.borderColor,d);p.node.classList.add("apexcharts-annotation-rect"),p.attr("clip-path","url(#gridRectMask".concat(r.globals.cuid,")")),t.appendChild(p.node),e.id&&p.node.classList.add(e.id)}if(!l||!c){var m=this.annoCtx.graphics.getTextRects(u,parseFloat(e.label.style.fontSize)),v=e.label.position==="top"?4:e.label.position==="center"?r.globals.gridHeight/2+(e.label.orientation==="vertical"?m.width/2:0):r.globals.gridHeight,b=this.annoCtx.graphics.drawText({x:o+e.label.offsetX,y:v+e.label.offsetY-(e.label.orientation==="vertical"?e.label.position==="top"?m.width/2-12:-m.width/2:0),text:u,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-xaxis-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});b.attr({rel:a}),t.appendChild(b.node),this.annoCtx.helpers.setOrientations(e,a)}}}},{key:"drawXAxisAnnotations",value:function(){var e=this,t=this.w,a=this.annoCtx.graphics.group({class:"apexcharts-xaxis-annotations"});return t.config.annotations.xaxis.map((function(s,r){e.addXaxisAnnotation(s,a.node,r)})),a}}]),i})(),pt=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.months31=[1,3,5,7,8,10,12],this.months30=[2,4,6,9,11],this.daysCntOfYear=[0,31,59,90,120,151,181,212,243,273,304,334]}return te(i,[{key:"isValidDate",value:function(e){return typeof e!="number"&&!isNaN(this.parseDate(e))}},{key:"getTimeStamp",value:function(e){return Date.parse(e)?this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(e).toISOString().substr(0,25)).getTime():new Date(e).getTime():e}},{key:"getDate",value:function(e){return this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(e).toUTCString()):new Date(e)}},{key:"parseDate",value:function(e){var t=Date.parse(e);if(!isNaN(t))return this.getTimeStamp(e);var a=Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "));return a=this.getTimeStamp(a)}},{key:"parseDateWithTimezone",value:function(e){return Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "))}},{key:"formatDate",value:function(e,t){var a=this.w.globals.locale,s=this.w.config.xaxis.labels.datetimeUTC,r=["\0"].concat(ft(a.months)),n=[""].concat(ft(a.shortMonths)),o=[""].concat(ft(a.days)),l=[""].concat(ft(a.shortDays));function c(S,C){var M=S+"";for(C=C||2;M.length<C;)M="0"+M;return M}var u=s?e.getUTCFullYear():e.getFullYear();t=(t=(t=t.replace(/(^|[^\\])yyyy+/g,"$1"+u)).replace(/(^|[^\\])yy/g,"$1"+u.toString().substr(2,2))).replace(/(^|[^\\])y/g,"$1"+u);var d=(s?e.getUTCMonth():e.getMonth())+1;t=(t=(t=(t=t.replace(/(^|[^\\])MMMM+/g,"$1"+r[0])).replace(/(^|[^\\])MMM/g,"$1"+n[0])).replace(/(^|[^\\])MM/g,"$1"+c(d))).replace(/(^|[^\\])M/g,"$1"+d);var h=s?e.getUTCDate():e.getDate();t=(t=(t=(t=t.replace(/(^|[^\\])dddd+/g,"$1"+o[0])).replace(/(^|[^\\])ddd/g,"$1"+l[0])).replace(/(^|[^\\])dd/g,"$1"+c(h))).replace(/(^|[^\\])d/g,"$1"+h);var f=s?e.getUTCHours():e.getHours(),g=f>12?f-12:f===0?12:f;t=(t=(t=(t=t.replace(/(^|[^\\])HH+/g,"$1"+c(f))).replace(/(^|[^\\])H/g,"$1"+f)).replace(/(^|[^\\])hh+/g,"$1"+c(g))).replace(/(^|[^\\])h/g,"$1"+g);var p=s?e.getUTCMinutes():e.getMinutes();t=(t=t.replace(/(^|[^\\])mm+/g,"$1"+c(p))).replace(/(^|[^\\])m/g,"$1"+p);var m=s?e.getUTCSeconds():e.getSeconds();t=(t=t.replace(/(^|[^\\])ss+/g,"$1"+c(m))).replace(/(^|[^\\])s/g,"$1"+m);var v=s?e.getUTCMilliseconds():e.getMilliseconds();t=t.replace(/(^|[^\\])fff+/g,"$1"+c(v,3)),v=Math.round(v/10),t=t.replace(/(^|[^\\])ff/g,"$1"+c(v)),v=Math.round(v/10);var b=f<12?"AM":"PM";t=(t=(t=t.replace(/(^|[^\\])f/g,"$1"+v)).replace(/(^|[^\\])TT+/g,"$1"+b)).replace(/(^|[^\\])T/g,"$1"+b.charAt(0));var x=b.toLowerCase();t=(t=t.replace(/(^|[^\\])tt+/g,"$1"+x)).replace(/(^|[^\\])t/g,"$1"+x.charAt(0));var k=-e.getTimezoneOffset(),y=s||!k?"Z":k>0?"+":"-";if(!s){var A=(k=Math.abs(k))%60;y+=c(Math.floor(k/60))+":"+c(A)}t=t.replace(/(^|[^\\])K/g,"$1"+y);var w=(s?e.getUTCDay():e.getDay())+1;return t=(t=(t=(t=(t=t.replace(new RegExp(o[0],"g"),o[w])).replace(new RegExp(l[0],"g"),l[w])).replace(new RegExp(r[0],"g"),r[d])).replace(new RegExp(n[0],"g"),n[d])).replace(/\\(.)/g,"$1")}},{key:"getTimeUnitsfromTimestamp",value:function(e,t,a){var s=this.w;s.config.xaxis.min!==void 0&&(e=s.config.xaxis.min),s.config.xaxis.max!==void 0&&(t=s.config.xaxis.max);var r=this.getDate(e),n=this.getDate(t),o=this.formatDate(r,"yyyy MM dd HH mm ss fff").split(" "),l=this.formatDate(n,"yyyy MM dd HH mm ss fff").split(" ");return{minMillisecond:parseInt(o[6],10),maxMillisecond:parseInt(l[6],10),minSecond:parseInt(o[5],10),maxSecond:parseInt(l[5],10),minMinute:parseInt(o[4],10),maxMinute:parseInt(l[4],10),minHour:parseInt(o[3],10),maxHour:parseInt(l[3],10),minDate:parseInt(o[2],10),maxDate:parseInt(l[2],10),minMonth:parseInt(o[1],10)-1,maxMonth:parseInt(l[1],10)-1,minYear:parseInt(o[0],10),maxYear:parseInt(l[0],10)}}},{key:"isLeapYear",value:function(e){return e%4==0&&e%100!=0||e%400==0}},{key:"calculcateLastDaysOfMonth",value:function(e,t,a){return this.determineDaysOfMonths(e,t)-a}},{key:"determineDaysOfYear",value:function(e){var t=365;return this.isLeapYear(e)&&(t=366),t}},{key:"determineRemainingDaysOfYear",value:function(e,t,a){var s=this.daysCntOfYear[t]+a;return t>1&&this.isLeapYear()&&s++,s}},{key:"determineDaysOfMonths",value:function(e,t){var a=30;switch(e=T.monthMod(e),!0){case this.months30.indexOf(e)>-1:e===2&&(a=this.isLeapYear(t)?29:28);break;case this.months31.indexOf(e)>-1:default:a=31}return a}}]),i})(),un=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.tooltipKeyFormat="dd MMM"}return te(i,[{key:"xLabelFormat",value:function(e,t,a,s){var r=this.w;if(r.config.xaxis.type==="datetime"&&r.config.xaxis.labels.formatter===void 0&&r.config.tooltip.x.formatter===void 0){var n=new pt(this.ctx);return n.formatDate(n.getDate(t),r.config.tooltip.x.format)}return e(t,a,s)}},{key:"defaultGeneralFormatter",value:function(e){return Array.isArray(e)?e.map((function(t){return t})):e}},{key:"defaultYFormatter",value:function(e,t,a){var s=this.w;if(T.isNumber(e))if(s.globals.yValueDecimal!==0)e=e.toFixed(t.decimalsInFloat!==void 0?t.decimalsInFloat:s.globals.yValueDecimal);else{var r=e.toFixed(0);e=e==r?r:e.toFixed(1)}return e}},{key:"setLabelFormatters",value:function(){var e=this,t=this.w;return t.globals.xaxisTooltipFormatter=function(a){return e.defaultGeneralFormatter(a)},t.globals.ttKeyFormatter=function(a){return e.defaultGeneralFormatter(a)},t.globals.ttZFormatter=function(a){return a},t.globals.legendFormatter=function(a){return e.defaultGeneralFormatter(a)},t.config.xaxis.labels.formatter!==void 0?t.globals.xLabelFormatter=t.config.xaxis.labels.formatter:t.globals.xLabelFormatter=function(a){if(T.isNumber(a)){if(!t.config.xaxis.convertedCatToNumeric&&t.config.xaxis.type==="numeric"){if(T.isNumber(t.config.xaxis.decimalsInFloat))return a.toFixed(t.config.xaxis.decimalsInFloat);var s=t.globals.maxX-t.globals.minX;return s>0&&s<100?a.toFixed(1):a.toFixed(0)}return t.globals.isBarHorizontal&&t.globals.maxY-t.globals.minYArr<4?a.toFixed(1):a.toFixed(0)}return a},typeof t.config.tooltip.x.formatter=="function"?t.globals.ttKeyFormatter=t.config.tooltip.x.formatter:t.globals.ttKeyFormatter=t.globals.xLabelFormatter,typeof t.config.xaxis.tooltip.formatter=="function"&&(t.globals.xaxisTooltipFormatter=t.config.xaxis.tooltip.formatter),(Array.isArray(t.config.tooltip.y)||t.config.tooltip.y.formatter!==void 0)&&(t.globals.ttVal=t.config.tooltip.y),t.config.tooltip.z.formatter!==void 0&&(t.globals.ttZFormatter=t.config.tooltip.z.formatter),t.config.legend.formatter!==void 0&&(t.globals.legendFormatter=t.config.legend.formatter),t.config.yaxis.forEach((function(a,s){a.labels.formatter!==void 0?t.globals.yLabelFormatters[s]=a.labels.formatter:t.globals.yLabelFormatters[s]=function(r){return t.globals.xyCharts?Array.isArray(r)?r.map((function(n){return e.defaultYFormatter(n,a,s)})):e.defaultYFormatter(r,a,s):r}})),t.globals}},{key:"heatmapLabelFormatters",value:function(){var e=this.w;if(e.config.chart.type==="heatmap"){e.globals.yAxisScale[0].result=e.globals.seriesNames.slice();var t=e.globals.seriesNames.reduce((function(a,s){return a.length>s.length?a:s}),0);e.globals.yAxisScale[0].niceMax=t,e.globals.yAxisScale[0].niceMin=t}}}]),i})(),xa=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"getLabel",value:function(e,t,a,s){var r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"12px",o=!(arguments.length>6&&arguments[6]!==void 0)||arguments[6],l=this.w,c=e[s]===void 0?"":e[s],u=c,d=l.globals.xLabelFormatter,h=l.config.xaxis.labels.formatter,f=!1,g=new un(this.ctx),p=c;o&&(u=g.xLabelFormat(d,c,p,{i:s,dateFormatter:new pt(this.ctx).formatDate,w:l}),h!==void 0&&(u=h(c,e[s],{i:s,dateFormatter:new pt(this.ctx).formatDate,w:l})));var m,v;t.length>0?(m=t[s].unit,v=null,t.forEach((function(y){y.unit==="month"?v="year":y.unit==="day"?v="month":y.unit==="hour"?v="day":y.unit==="minute"&&(v="hour")})),f=v===m,a=t[s].position,u=t[s].value):l.config.xaxis.type==="datetime"&&h===void 0&&(u=""),u===void 0&&(u=""),u=Array.isArray(u)?u:u.toString();var b=new V(this.ctx),x={};x=l.globals.rotateXLabels&&o?b.getTextRects(u,parseInt(n,10),null,"rotate(".concat(l.config.xaxis.labels.rotate," 0 0)"),!1):b.getTextRects(u,parseInt(n,10));var k=!l.config.xaxis.labels.showDuplicates&&this.ctx.timeScale;return!Array.isArray(u)&&(String(u)==="NaN"||r.indexOf(u)>=0&&k)&&(u=""),{x:a,text:u,textRect:x,isBold:f}}},{key:"checkLabelBasedOnTickamount",value:function(e,t,a){var s=this.w,r=s.config.xaxis.tickAmount;return r==="dataPoints"&&(r=Math.round(s.globals.gridWidth/120)),r>a||e%Math.round(a/(r+1))==0||(t.text=""),t}},{key:"checkForOverflowingLabels",value:function(e,t,a,s,r){var n=this.w;if(e===0&&n.globals.skipFirstTimelinelabel&&(t.text=""),e===a-1&&n.globals.skipLastTimelinelabel&&(t.text=""),n.config.xaxis.labels.hideOverlappingLabels&&s.length>0){var o=r[r.length-1];if(n.config.xaxis.labels.trim&&n.config.xaxis.type!=="datetime")return t;t.x<o.textRect.width/(n.globals.rotateXLabels?Math.abs(n.config.xaxis.labels.rotate)/12:1.01)+o.x&&(t.text="")}return t}},{key:"checkForReversedLabels",value:function(e,t){var a=this.w;return a.config.yaxis[e]&&a.config.yaxis[e].reversed&&t.reverse(),t}},{key:"yAxisAllSeriesCollapsed",value:function(e){var t=this.w.globals;return!t.seriesYAxisMap[e].some((function(a){return t.collapsedSeriesIndices.indexOf(a)===-1}))}},{key:"translateYAxisIndex",value:function(e){var t=this.w,a=t.globals,s=t.config.yaxis;return a.series.length>s.length||s.some((function(r){return Array.isArray(r.seriesName)}))?e:a.seriesYAxisReverseMap[e]}},{key:"isYAxisHidden",value:function(e){var t=this.w,a=t.config.yaxis[e];if(!a.show||this.yAxisAllSeriesCollapsed(e))return!0;if(!a.showForNullSeries){var s=t.globals.seriesYAxisMap[e],r=new nt(this.ctx);return s.every((function(n){return r.isSeriesNull(n)}))}return!1}},{key:"getYAxisForeColor",value:function(e,t){var a=this.w;return Array.isArray(e)&&a.globals.yAxisScale[t]&&this.ctx.theme.pushExtraColors(e,a.globals.yAxisScale[t].result.length,!1),e}},{key:"drawYAxisTicks",value:function(e,t,a,s,r,n,o){var l=this.w,c=new V(this.ctx),u=l.globals.translateY+l.config.yaxis[r].labels.offsetY;if(l.globals.isBarHorizontal?u=0:l.config.chart.type==="heatmap"&&(u+=n/2),s.show&&t>0){l.config.yaxis[r].opposite===!0&&(e+=s.width);for(var d=t;d>=0;d--){var h=c.drawLine(e+a.offsetX-s.width+s.offsetX,u+s.offsetY,e+a.offsetX+s.offsetX,u+s.offsetY,s.color);o.add(h),u+=n}}}}]),i})(),W_=(function(){function i(e){ee(this,i),this.w=e.w,this.annoCtx=e,this.helpers=new tl(this.annoCtx),this.axesUtils=new xa(this.annoCtx)}return te(i,[{key:"addYaxisAnnotation",value:function(e,t,a){var s,r=this.w,n=e.strokeDashArray,o=this.helpers.getY1Y2("y1",e),l=o.yP,c=o.clipped,u=!0,d=!1,h=e.label.text;if(e.y2===null||e.y2===void 0){if(!c){d=!0;var f=this.annoCtx.graphics.drawLine(0+e.offsetX,l+e.offsetY,this._getYAxisAnnotationWidth(e),l+e.offsetY,e.borderColor,n,e.borderWidth);t.appendChild(f.node),e.id&&f.node.classList.add(e.id)}}else{if(s=(o=this.helpers.getY1Y2("y2",e)).yP,u=o.clipped,s>l){var g=l;l=s,s=g}if(!c||!u){d=!0;var p=this.annoCtx.graphics.drawRect(0+e.offsetX,s+e.offsetY,this._getYAxisAnnotationWidth(e),l-s,0,e.fillColor,e.opacity,1,e.borderColor,n);p.node.classList.add("apexcharts-annotation-rect"),p.attr("clip-path","url(#gridRectMask".concat(r.globals.cuid,")")),t.appendChild(p.node),e.id&&p.node.classList.add(e.id)}}if(d){var m=e.label.position==="right"?r.globals.gridWidth:e.label.position==="center"?r.globals.gridWidth/2:0,v=this.annoCtx.graphics.drawText({x:m+e.label.offsetX,y:(s??l)+e.label.offsetY-3,text:h,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-yaxis-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});v.attr({rel:a}),t.appendChild(v.node)}}},{key:"_getYAxisAnnotationWidth",value:function(e){var t=this.w;return t.globals.gridWidth,(e.width.indexOf("%")>-1?t.globals.gridWidth*parseInt(e.width,10)/100:parseInt(e.width,10))+e.offsetX}},{key:"drawYAxisAnnotations",value:function(){var e=this,t=this.w,a=this.annoCtx.graphics.group({class:"apexcharts-yaxis-annotations"});return t.config.annotations.yaxis.forEach((function(s,r){s.yAxisIndex=e.axesUtils.translateYAxisIndex(s.yAxisIndex),e.axesUtils.isYAxisHidden(s.yAxisIndex)&&e.axesUtils.yAxisAllSeriesCollapsed(s.yAxisIndex)||e.addYaxisAnnotation(s,a.node,r)})),a}}]),i})(),j_=(function(){function i(e){ee(this,i),this.w=e.w,this.annoCtx=e,this.helpers=new tl(this.annoCtx)}return te(i,[{key:"addPointAnnotation",value:function(e,t,a){if(!(this.w.globals.collapsedSeriesIndices.indexOf(e.seriesIndex)>-1)){var s=this.helpers.getX1X2("x1",e),r=s.x,n=s.clipped,o=(s=this.helpers.getY1Y2("y1",e)).yP,l=s.clipped;if(T.isNumber(r)&&!l&&!n){var c={pSize:e.marker.size,pointStrokeWidth:e.marker.strokeWidth,pointFillColor:e.marker.fillColor,pointStrokeColor:e.marker.strokeColor,shape:e.marker.shape,pRadius:e.marker.radius,class:"apexcharts-point-annotation-marker ".concat(e.marker.cssClass," ").concat(e.id?e.id:"")},u=this.annoCtx.graphics.drawMarker(r+e.marker.offsetX,o+e.marker.offsetY,c);t.appendChild(u.node);var d=e.label.text?e.label.text:"",h=this.annoCtx.graphics.drawText({x:r+e.label.offsetX,y:o+e.label.offsetY-e.marker.size-parseFloat(e.label.style.fontSize)/1.6,text:d,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-point-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});if(h.attr({rel:a}),t.appendChild(h.node),e.customSVG.SVG){var f=this.annoCtx.graphics.group({class:"apexcharts-point-annotations-custom-svg "+e.customSVG.cssClass});f.attr({transform:"translate(".concat(r+e.customSVG.offsetX,", ").concat(o+e.customSVG.offsetY,")")}),f.node.innerHTML=e.customSVG.SVG,t.appendChild(f.node)}if(e.image.path){var g=e.image.width?e.image.width:20,p=e.image.height?e.image.height:20;u=this.annoCtx.addImage({x:r+e.image.offsetX-g/2,y:o+e.image.offsetY-p/2,width:g,height:p,path:e.image.path,appendTo:".apexcharts-point-annotations"})}e.mouseEnter&&u.node.addEventListener("mouseenter",e.mouseEnter.bind(this,e)),e.mouseLeave&&u.node.addEventListener("mouseleave",e.mouseLeave.bind(this,e)),e.click&&u.node.addEventListener("click",e.click.bind(this,e))}}}},{key:"drawPointAnnotations",value:function(){var e=this,t=this.w,a=this.annoCtx.graphics.group({class:"apexcharts-point-annotations"});return t.config.annotations.points.map((function(s,r){e.addPointAnnotation(s,a.node,r)})),a}}]),i})(),kx={name:"en",options:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],toolbar:{exportToSVG:"Download SVG",exportToPNG:"Download PNG",exportToCSV:"Download CSV",menu:"Menu",selection:"Selection",selectionZoom:"Selection Zoom",zoomIn:"Zoom In",zoomOut:"Zoom Out",pan:"Panning",reset:"Reset Zoom"}}},Ia=(function(){function i(){ee(this,i),this.yAxis={show:!0,showAlways:!1,showForNullSeries:!0,seriesName:void 0,opposite:!1,reversed:!1,logarithmic:!1,logBase:10,tickAmount:void 0,stepSize:void 0,forceNiceScale:!1,max:void 0,min:void 0,floating:!1,decimalsInFloat:void 0,labels:{show:!0,showDuplicates:!1,minWidth:0,maxWidth:160,offsetX:0,offsetY:0,align:void 0,rotate:0,padding:20,style:{colors:[],fontSize:"11px",fontWeight:400,fontFamily:void 0,cssClass:""},formatter:void 0},axisBorder:{show:!1,color:"#e0e0e0",width:1,offsetX:0,offsetY:0},axisTicks:{show:!1,color:"#e0e0e0",width:6,offsetX:0,offsetY:0},title:{text:void 0,rotate:-90,offsetY:0,offsetX:0,style:{color:void 0,fontSize:"11px",fontWeight:900,fontFamily:void 0,cssClass:""}},tooltip:{enabled:!1,offsetX:0},crosshairs:{show:!0,position:"front",stroke:{color:"#b6b6b6",width:1,dashArray:0}}},this.pointAnnotation={id:void 0,x:0,y:null,yAxisIndex:0,seriesIndex:void 0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,marker:{size:4,fillColor:"#fff",strokeWidth:2,strokeColor:"#333",shape:"circle",offsetX:0,offsetY:0,cssClass:""},label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",offsetX:0,offsetY:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}},customSVG:{SVG:void 0,cssClass:void 0,offsetX:0,offsetY:0},image:{path:void 0,width:20,height:20,offsetX:0,offsetY:0}},this.yAxisAnnotation={id:void 0,y:0,y2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,width:"100%",yAxisIndex:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"end",position:"right",offsetX:0,offsetY:-3,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.xAxisAnnotation={id:void 0,x:0,x2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",orientation:"vertical",position:"top",offsetX:0,offsetY:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.text={x:0,y:0,text:"",textAnchor:"start",foreColor:void 0,fontSize:"13px",fontFamily:void 0,fontWeight:400,appendTo:".apexcharts-annotations",backgroundColor:"transparent",borderColor:"#c2c2c2",borderRadius:0,borderWidth:0,paddingLeft:4,paddingRight:4,paddingTop:2,paddingBottom:2}}return te(i,[{key:"init",value:function(){return{annotations:{yaxis:[this.yAxisAnnotation],xaxis:[this.xAxisAnnotation],points:[this.pointAnnotation],texts:[],images:[],shapes:[]},chart:{animations:{enabled:!0,speed:800,animateGradually:{delay:150,enabled:!0},dynamicAnimation:{enabled:!0,speed:350}},background:"",locales:[kx],defaultLocale:"en",dropShadow:{enabled:!1,enabledOnSeries:void 0,top:2,left:2,blur:4,color:"#000",opacity:.7},events:{animationEnd:void 0,beforeMount:void 0,mounted:void 0,updated:void 0,click:void 0,mouseMove:void 0,mouseLeave:void 0,xAxisLabelClick:void 0,legendClick:void 0,markerClick:void 0,selection:void 0,dataPointSelection:void 0,dataPointMouseEnter:void 0,dataPointMouseLeave:void 0,beforeZoom:void 0,beforeResetZoom:void 0,zoomed:void 0,scrolled:void 0,brushScrolled:void 0},foreColor:"#373d3f",fontFamily:"Helvetica, Arial, sans-serif",height:"auto",parentHeightOffset:15,redrawOnParentResize:!0,redrawOnWindowResize:!0,id:void 0,group:void 0,nonce:void 0,offsetX:0,offsetY:0,injectStyleSheet:!0,selection:{enabled:!1,type:"x",fill:{color:"#24292e",opacity:.1},stroke:{width:1,color:"#24292e",opacity:.4,dashArray:3},xaxis:{min:void 0,max:void 0},yaxis:{min:void 0,max:void 0}},sparkline:{enabled:!1},brush:{enabled:!1,autoScaleYaxis:!0,target:void 0,targets:void 0},stacked:!1,stackOnlyBar:!0,stackType:"normal",toolbar:{show:!0,offsetX:0,offsetY:0,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0,customIcons:[]},export:{csv:{filename:void 0,columnDelimiter:",",headerCategory:"category",headerValue:"value",categoryFormatter:void 0,valueFormatter:void 0},png:{filename:void 0},svg:{filename:void 0},scale:void 0,width:void 0},autoSelected:"zoom"},type:"line",width:"100%",zoom:{enabled:!0,type:"x",autoScaleYaxis:!1,allowMouseWheelZoom:!0,zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},parsing:{x:void 0,y:void 0},plotOptions:{line:{isSlopeChart:!1,colors:{threshold:0,colorAboveThreshold:void 0,colorBelowThreshold:void 0}},area:{fillTo:"origin"},bar:{horizontal:!1,columnWidth:"70%",barHeight:"70%",distributed:!1,borderRadius:0,borderRadiusApplication:"around",borderRadiusWhenStacked:"last",rangeBarOverlap:!0,rangeBarGroupRows:!1,hideZeroBarsWhenGrouped:!1,isDumbbell:!1,dumbbellColors:void 0,isFunnel:!1,isFunnel3d:!0,colors:{ranges:[],backgroundBarColors:[],backgroundBarOpacity:1,backgroundBarRadius:0},dataLabels:{position:"top",maxItems:100,hideOverflowingLabels:!0,orientation:"horizontal",total:{enabled:!1,formatter:void 0,offsetX:0,offsetY:0,style:{color:"#373d3f",fontSize:"12px",fontFamily:void 0,fontWeight:600}}}},bubble:{zScaling:!0,minBubbleRadius:void 0,maxBubbleRadius:void 0},candlestick:{colors:{upward:"#00B746",downward:"#EF403C"},wick:{useFillColor:!0}},boxPlot:{colors:{upper:"#00E396",lower:"#008FFB"}},heatmap:{radius:2,enableShades:!0,shadeIntensity:.5,reverseNegativeShade:!1,distributed:!1,useFillColorAsStroke:!1,colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},treemap:{enableShades:!0,shadeIntensity:.5,distributed:!1,reverseNegativeShade:!1,useFillColorAsStroke:!1,borderRadius:4,dataLabels:{format:"scale"},colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0},seriesTitle:{show:!0,offsetY:1,offsetX:1,borderColor:"#000",borderWidth:1,borderRadius:2,style:{background:"rgba(0, 0, 0, 0.6)",color:"#fff",fontSize:"12px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:6,right:6,top:2,bottom:2}}}},radialBar:{inverseOrder:!1,startAngle:0,endAngle:360,offsetX:0,offsetY:0,hollow:{margin:5,size:"50%",background:"transparent",image:void 0,imageWidth:150,imageHeight:150,imageOffsetX:0,imageOffsetY:0,imageClipped:!0,position:"front",dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},track:{show:!0,startAngle:void 0,endAngle:void 0,background:"#f2f2f2",strokeWidth:"97%",opacity:1,margin:5,dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},dataLabels:{show:!0,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:0,formatter:function(e){return e}},value:{show:!0,fontSize:"14px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:16,formatter:function(e){return e+"%"}},total:{show:!1,label:"Total",fontSize:"16px",fontWeight:600,fontFamily:void 0,color:void 0,formatter:function(e){return e.globals.seriesTotals.reduce((function(t,a){return t+a}),0)/e.globals.series.length+"%"}}},barLabels:{enabled:!1,offsetX:0,offsetY:0,useSeriesColors:!0,fontFamily:void 0,fontWeight:600,fontSize:"16px",formatter:function(e){return e},onClick:void 0}},pie:{customScale:1,offsetX:0,offsetY:0,startAngle:0,endAngle:360,expandOnClick:!0,dataLabels:{offset:0,minAngleToShowLabel:10},donut:{size:"65%",background:"transparent",labels:{show:!1,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:-10,formatter:function(e){return e}},value:{show:!0,fontSize:"20px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:10,formatter:function(e){return e}},total:{show:!1,showAlways:!1,label:"Total",fontSize:"16px",fontWeight:400,fontFamily:void 0,color:void 0,formatter:function(e){return e.globals.seriesTotals.reduce((function(t,a){return t+a}),0)}}}}},polarArea:{rings:{strokeWidth:1,strokeColor:"#e8e8e8"},spokes:{strokeWidth:1,connectorColors:"#e8e8e8"}},radar:{size:void 0,offsetX:0,offsetY:0,polygons:{strokeWidth:1,strokeColors:"#e8e8e8",connectorColors:"#e8e8e8",fill:{colors:void 0}}}},colors:void 0,dataLabels:{enabled:!0,enabledOnSeries:void 0,formatter:function(e){return e!==null?e:""},textAnchor:"middle",distributed:!1,offsetX:0,offsetY:0,style:{fontSize:"12px",fontFamily:void 0,fontWeight:600,colors:void 0},background:{enabled:!0,foreColor:"#fff",backgroundColor:void 0,borderRadius:2,padding:4,opacity:.9,borderWidth:1,borderColor:"#fff",dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.8}},dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.8}},fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]},image:{src:[],width:void 0,height:void 0},pattern:{style:"squares",width:6,height:6,strokeWidth:2}},forecastDataPoints:{count:0,fillOpacity:.5,strokeWidth:void 0,dashArray:4},grid:{show:!0,borderColor:"#e0e0e0",strokeDashArray:0,position:"back",xaxis:{lines:{show:!1}},yaxis:{lines:{show:!0}},row:{colors:void 0,opacity:.5},column:{colors:void 0,opacity:.5},padding:{top:0,right:10,bottom:0,left:12}},labels:[],legend:{show:!0,showForSingleSeries:!1,showForNullSeries:!0,showForZeroSeries:!0,floating:!1,position:"bottom",horizontalAlign:"center",inverseOrder:!1,fontSize:"12px",fontFamily:void 0,fontWeight:400,width:void 0,height:void 0,formatter:void 0,tooltipHoverFormatter:void 0,offsetX:-20,offsetY:4,customLegendItems:[],clusterGroupedSeries:!0,clusterGroupedSeriesOrientation:"vertical",labels:{colors:void 0,useSeriesColors:!1},markers:{size:7,fillColors:void 0,strokeWidth:1,shape:void 0,offsetX:0,offsetY:0,customHTML:void 0,onClick:void 0},itemMargin:{horizontal:5,vertical:4},onItemClick:{toggleDataSeries:!0},onItemHover:{highlightDataSeries:!0}},markers:{discrete:[],size:0,colors:void 0,strokeColors:"#fff",strokeWidth:2,strokeOpacity:.9,strokeDashArray:0,fillOpacity:1,shape:"circle",offsetX:0,offsetY:0,showNullDataPoints:!0,onClick:void 0,onDblClick:void 0,hover:{size:void 0,sizeOffset:3}},noData:{text:void 0,align:"center",verticalAlign:"middle",offsetX:0,offsetY:0,style:{color:void 0,fontSize:"14px",fontFamily:void 0}},responsive:[],series:void 0,states:{hover:{filter:{type:"lighten"}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"darken"}}},title:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:0,floating:!1,style:{fontSize:"14px",fontWeight:900,fontFamily:void 0,color:void 0}},subtitle:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:30,floating:!1,style:{fontSize:"12px",fontWeight:400,fontFamily:void 0,color:void 0}},stroke:{show:!0,curve:"smooth",lineCap:"butt",width:2,colors:void 0,dashArray:0,fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]}}},tooltip:{enabled:!0,enabledOnSeries:void 0,shared:!0,hideEmptySeries:!1,followCursor:!1,intersect:!1,inverseOrder:!1,custom:void 0,fillSeriesColor:!1,theme:"light",cssClass:"",style:{fontSize:"12px",fontFamily:void 0},onDatasetHover:{highlightDataSeries:!1},x:{show:!0,format:"dd MMM",formatter:void 0},y:{formatter:void 0,title:{formatter:function(e){return e?e+": ":""}}},z:{formatter:void 0,title:"Size: "},marker:{show:!0,fillColors:void 0},items:{display:"flex"},fixed:{enabled:!1,position:"topRight",offsetX:0,offsetY:0}},xaxis:{type:"category",categories:[],convertedCatToNumeric:!1,offsetX:0,offsetY:0,overwriteCategories:void 0,labels:{show:!0,rotate:-45,rotateAlways:!1,hideOverlappingLabels:!0,trim:!1,minHeight:void 0,maxHeight:120,showDuplicates:!0,style:{colors:[],fontSize:"12px",fontWeight:400,fontFamily:void 0,cssClass:""},offsetX:0,offsetY:0,format:void 0,formatter:void 0,datetimeUTC:!0,datetimeFormatter:{year:"yyyy",month:"MMM 'yy",day:"dd MMM",hour:"HH:mm",minute:"HH:mm:ss",second:"HH:mm:ss"}},group:{groups:[],style:{colors:[],fontSize:"12px",fontWeight:400,fontFamily:void 0,cssClass:""}},axisBorder:{show:!0,color:"#e0e0e0",width:"100%",height:1,offsetX:0,offsetY:0},axisTicks:{show:!0,color:"#e0e0e0",height:6,offsetX:0,offsetY:0},stepSize:void 0,tickAmount:void 0,tickPlacement:"on",min:void 0,max:void 0,range:void 0,floating:!1,decimalsInFloat:void 0,position:"bottom",title:{text:void 0,offsetX:0,offsetY:0,style:{color:void 0,fontSize:"12px",fontWeight:900,fontFamily:void 0,cssClass:""}},crosshairs:{show:!0,width:1,position:"back",opacity:.9,stroke:{color:"#b6b6b6",width:1,dashArray:3},fill:{type:"solid",color:"#B1B9C4",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",stops:[0,100],opacityFrom:.4,opacityTo:.5}},dropShadow:{enabled:!1,left:0,top:0,blur:1,opacity:.8}},tooltip:{enabled:!0,offsetY:0,formatter:void 0,style:{fontSize:"12px",fontFamily:void 0}}},yaxis:this.yAxis,theme:{mode:"",palette:"palette1",monochrome:{enabled:!1,color:"#008FFB",shadeTo:"light",shadeIntensity:.65}}}}}]),i})(),Y_=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.graphics=new V(this.ctx),this.w.globals.isBarHorizontal&&(this.invertAxis=!0),this.helpers=new tl(this),this.xAxisAnnotations=new H_(this),this.yAxisAnnotations=new W_(this),this.pointsAnnotations=new j_(this),this.w.globals.isBarHorizontal&&this.w.config.yaxis[0].reversed&&(this.inversedReversedAxis=!0),this.xDivision=this.w.globals.gridWidth/this.w.globals.dataPoints}return te(i,[{key:"drawAxesAnnotations",value:function(){var e=this.w;if(e.globals.axisCharts&&e.globals.dataPoints){for(var t=this.yAxisAnnotations.drawYAxisAnnotations(),a=this.xAxisAnnotations.drawXAxisAnnotations(),s=this.pointsAnnotations.drawPointAnnotations(),r=e.config.chart.animations.enabled,n=[t,a,s],o=[a.node,t.node,s.node],l=0;l<3;l++)e.globals.dom.elGraphical.add(n[l]),!r||e.globals.resized||e.globals.dataChanged||e.config.chart.type!=="scatter"&&e.config.chart.type!=="bubble"&&e.globals.dataPoints>1&&o[l].classList.add("apexcharts-element-hidden"),e.globals.delayedElements.push({el:o[l],index:0});this.helpers.annotationsBackground()}}},{key:"drawImageAnnos",value:function(){var e=this;this.w.config.annotations.images.map((function(t,a){e.addImage(t,a)}))}},{key:"drawTextAnnos",value:function(){var e=this;this.w.config.annotations.texts.map((function(t,a){e.addText(t,a)}))}},{key:"addXaxisAnnotation",value:function(e,t,a){this.xAxisAnnotations.addXaxisAnnotation(e,t,a)}},{key:"addYaxisAnnotation",value:function(e,t,a){this.yAxisAnnotations.addYaxisAnnotation(e,t,a)}},{key:"addPointAnnotation",value:function(e,t,a){this.pointsAnnotations.addPointAnnotation(e,t,a)}},{key:"addText",value:function(e,t){var a=e.x,s=e.y,r=e.text,n=e.textAnchor,o=e.foreColor,l=e.fontSize,c=e.fontFamily,u=e.fontWeight,d=e.cssClass,h=e.backgroundColor,f=e.borderWidth,g=e.strokeDashArray,p=e.borderRadius,m=e.borderColor,v=e.appendTo,b=v===void 0?".apexcharts-svg":v,x=e.paddingLeft,k=x===void 0?4:x,y=e.paddingRight,A=y===void 0?4:y,w=e.paddingBottom,S=w===void 0?2:w,C=e.paddingTop,M=C===void 0?2:C,E=this.w,P=this.graphics.drawText({x:a,y:s,text:r,textAnchor:n||"start",fontSize:l||"12px",fontWeight:u||"regular",fontFamily:c||E.config.chart.fontFamily,foreColor:o||E.config.chart.foreColor,cssClass:d}),D=E.globals.dom.baseEl.querySelector(b);D&&D.appendChild(P.node);var L=P.bbox();if(r){var B=this.graphics.drawRect(L.x-k,L.y-M,L.width+k+A,L.height+S+M,p,h||"transparent",1,f,m,g);D.insertBefore(B.node,P.node)}}},{key:"addImage",value:function(e,t){var a=this.w,s=e.path,r=e.x,n=r===void 0?0:r,o=e.y,l=o===void 0?0:o,c=e.width,u=c===void 0?20:c,d=e.height,h=d===void 0?20:d,f=e.appendTo,g=f===void 0?".apexcharts-svg":f,p=a.globals.dom.Paper.image(s);p.size(u,h).move(n,l);var m=a.globals.dom.baseEl.querySelector(g);return m&&m.appendChild(p.node),p}},{key:"addXaxisAnnotationExternal",value:function(e,t,a){return this.addAnnotationExternal({params:e,pushToMemory:t,context:a,type:"xaxis",contextMethod:a.addXaxisAnnotation}),a}},{key:"addYaxisAnnotationExternal",value:function(e,t,a){return this.addAnnotationExternal({params:e,pushToMemory:t,context:a,type:"yaxis",contextMethod:a.addYaxisAnnotation}),a}},{key:"addPointAnnotationExternal",value:function(e,t,a){return this.invertAxis===void 0&&(this.invertAxis=a.w.globals.isBarHorizontal),this.addAnnotationExternal({params:e,pushToMemory:t,context:a,type:"point",contextMethod:a.addPointAnnotation}),a}},{key:"addAnnotationExternal",value:function(e){var t=e.params,a=e.pushToMemory,s=e.context,r=e.type,n=e.contextMethod,o=s,l=o.w,c=l.globals.dom.baseEl.querySelector(".apexcharts-".concat(r,"-annotations")),u=c.childNodes.length+1,d=new Ia,h=Object.assign({},r==="xaxis"?d.xAxisAnnotation:r==="yaxis"?d.yAxisAnnotation:d.pointAnnotation),f=T.extend(h,t);switch(r){case"xaxis":this.addXaxisAnnotation(f,c,u);break;case"yaxis":this.addYaxisAnnotation(f,c,u);break;case"point":this.addPointAnnotation(f,c,u)}var g=l.globals.dom.baseEl.querySelector(".apexcharts-".concat(r,"-annotations .apexcharts-").concat(r,"-annotation-label[rel='").concat(u,"']")),p=this.helpers.addBackgroundToAnno(g,f);return p&&c.insertBefore(p.node,g),a&&l.globals.memory.methodsToExec.push({context:o,id:f.id?f.id:T.randomId(),method:n,label:"addAnnotation",params:t}),s}},{key:"clearAnnotations",value:function(e){for(var t=e.w,a=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-annotations, .apexcharts-xaxis-annotations, .apexcharts-point-annotations"),s=t.globals.memory.methodsToExec.length-1;s>=0;s--)t.globals.memory.methodsToExec[s].label!=="addText"&&t.globals.memory.methodsToExec[s].label!=="addAnnotation"||t.globals.memory.methodsToExec.splice(s,1);a=T.listToArray(a),Array.prototype.forEach.call(a,(function(r){for(;r.firstChild;)r.removeChild(r.firstChild)}))}},{key:"removeAnnotation",value:function(e,t){var a=e.w,s=a.globals.dom.baseEl.querySelectorAll(".".concat(t));s&&(a.globals.memory.methodsToExec.map((function(r,n){r.id===t&&a.globals.memory.methodsToExec.splice(n,1)})),Object.keys(a.config.annotations).forEach((function(r){var n=a.config.annotations[r];Array.isArray(n)&&(a.config.annotations[r]=n.filter((function(o){return o.id!==t})))})),Array.prototype.forEach.call(s,(function(r){r.parentElement.removeChild(r)})))}}]),i})(),Jl=function(i){var e,t=i.isTimeline,a=i.ctx,s=i.seriesIndex,r=i.dataPointIndex,n=i.y1,o=i.y2,l=i.w,c=l.globals.seriesRangeStart[s][r],u=l.globals.seriesRangeEnd[s][r],d=l.globals.labels[r],h=l.config.series[s].name?l.config.series[s].name:"",f=l.globals.ttKeyFormatter,g=l.config.tooltip.y.title.formatter,p={w:l,seriesIndex:s,dataPointIndex:r,start:c,end:u};typeof g=="function"&&(h=g(h,p)),(e=l.config.series[s].data[r])!==null&&e!==void 0&&e.x&&(d=l.config.series[s].data[r].x),t||l.config.xaxis.type==="datetime"&&(d=new un(a).xLabelFormat(l.globals.ttKeyFormatter,d,d,{i:void 0,dateFormatter:new pt(a).formatDate,w:l})),typeof f=="function"&&(d=f(d,p)),Number.isFinite(n)&&Number.isFinite(o)&&(c=n,u=o);var m="",v="",b=l.globals.colors[s];if(l.config.tooltip.x.formatter===void 0)if(l.config.xaxis.type==="datetime"){var x=new pt(a);m=x.formatDate(x.getDate(c),l.config.tooltip.x.format),v=x.formatDate(x.getDate(u),l.config.tooltip.x.format)}else m=c,v=u;else m=l.config.tooltip.x.formatter(c),v=l.config.tooltip.x.formatter(u);return{start:c,end:u,startVal:m,endVal:v,ylabel:d,color:b,seriesName:h}},Ql=function(i){var e=i.color,t=i.seriesName,a=i.ylabel,s=i.start,r=i.end,n=i.seriesIndex,o=i.dataPointIndex,l=i.ctx.tooltip.tooltipLabels.getFormatters(n);s=l.yLbFormatter(s),r=l.yLbFormatter(r);var c=l.yLbFormatter(i.w.globals.series[n][o]),u=`<span class="value start-value">
|
|
96
|
+
`.concat(s,`
|
|
97
|
+
</span> <span class="separator">-</span> <span class="value end-value">
|
|
98
|
+
`).concat(r,`
|
|
99
|
+
</span>`);return'<div class="apexcharts-tooltip-rangebar"><div> <span class="series-name" style="color: '+e+'">'+(t||"")+'</span></div><div> <span class="category">'+a+": </span> "+(i.w.globals.comboCharts?i.w.config.series[n].type==="rangeArea"||i.w.config.series[n].type==="rangeBar"?u:"<span>".concat(c,"</span>"):u)+" </div></div>"},Br=(function(){function i(e){ee(this,i),this.opts=e}return te(i,[{key:"hideYAxis",value:function(){this.opts.yaxis[0].show=!1,this.opts.yaxis[0].title.text="",this.opts.yaxis[0].axisBorder.show=!1,this.opts.yaxis[0].axisTicks.show=!1,this.opts.yaxis[0].floating=!0}},{key:"line",value:function(){return{dataLabels:{enabled:!1},stroke:{width:5,curve:"straight"},markers:{size:0,hover:{sizeOffset:6}},xaxis:{crosshairs:{width:1}}}}},{key:"sparkline",value:function(e){return this.hideYAxis(),T.extend(e,{grid:{show:!1,padding:{left:0,right:0,top:0,bottom:0}},legend:{show:!1},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1},axisTicks:{show:!1}},chart:{toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1}})}},{key:"slope",value:function(){return this.hideYAxis(),{chart:{toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!0,formatter:function(e,t){var a=t.w.config.series[t.seriesIndex].name;return e!==null?a+": "+e:""},background:{enabled:!1},offsetX:-5},grid:{xaxis:{lines:{show:!0}},yaxis:{lines:{show:!1}}},xaxis:{position:"top",labels:{style:{fontSize:14,fontWeight:900}},tooltip:{enabled:!1},crosshairs:{show:!1}},markers:{size:8,hover:{sizeOffset:1}},legend:{show:!1},tooltip:{shared:!1,intersect:!0,followCursor:!0},stroke:{width:5,curve:"straight"}}}},{key:"bar",value:function(){return{chart:{stacked:!1},plotOptions:{bar:{dataLabels:{position:"center"}}},dataLabels:{style:{colors:["#fff"]},background:{enabled:!1}},stroke:{width:0,lineCap:"square"},fill:{opacity:.85},legend:{markers:{shape:"square"}},tooltip:{shared:!1,intersect:!0},xaxis:{tooltip:{enabled:!1},tickPlacement:"between",crosshairs:{width:"barWidth",position:"back",fill:{type:"gradient"},dropShadow:{enabled:!1},stroke:{width:0}}}}}},{key:"funnel",value:function(){return this.hideYAxis(),$($({},this.bar()),{},{chart:{animations:{speed:800,animateGradually:{enabled:!1}}},plotOptions:{bar:{horizontal:!0,borderRadiusApplication:"around",borderRadius:0,dataLabels:{position:"center"}}},grid:{show:!1,padding:{left:0,right:0}},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1},axisTicks:{show:!1}}})}},{key:"candlestick",value:function(){var e=this;return{stroke:{width:1},fill:{opacity:1},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(t){var a=t.seriesIndex,s=t.dataPointIndex,r=t.w;return e._getBoxTooltip(r,a,s,["Open","High","","Low","Close"],"candlestick")}},states:{active:{filter:{type:"none"}}},xaxis:{crosshairs:{width:1}}}}},{key:"boxPlot",value:function(){var e=this;return{chart:{animations:{dynamicAnimation:{enabled:!1}}},stroke:{width:1,colors:["#24292e"]},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(t){var a=t.seriesIndex,s=t.dataPointIndex,r=t.w;return e._getBoxTooltip(r,a,s,["Minimum","Q1","Median","Q3","Maximum"],"boxPlot")}},markers:{size:7,strokeWidth:1,strokeColors:"#111"},xaxis:{crosshairs:{width:1}}}}},{key:"rangeBar",value:function(){return{chart:{animations:{animateGradually:!1}},stroke:{width:0,lineCap:"square"},plotOptions:{bar:{borderRadius:0,dataLabels:{position:"center"}}},dataLabels:{enabled:!1,formatter:function(e,t){t.ctx;var a=t.seriesIndex,s=t.dataPointIndex,r=t.w,n=function(){var o=r.globals.seriesRangeStart[a][s];return r.globals.seriesRangeEnd[a][s]-o};return r.globals.comboCharts?r.config.series[a].type==="rangeBar"||r.config.series[a].type==="rangeArea"?n():e:n()},background:{enabled:!1},style:{colors:["#fff"]}},markers:{size:10},tooltip:{shared:!1,followCursor:!0,custom:function(e){return e.w.config.plotOptions&&e.w.config.plotOptions.bar&&e.w.config.plotOptions.bar.horizontal?(function(t){var a=Jl($($({},t),{},{isTimeline:!0})),s=a.color,r=a.seriesName,n=a.ylabel,o=a.startVal,l=a.endVal;return Ql($($({},t),{},{color:s,seriesName:r,ylabel:n,start:o,end:l}))})(e):(function(t){var a=Jl(t),s=a.color,r=a.seriesName,n=a.ylabel,o=a.start,l=a.end;return Ql($($({},t),{},{color:s,seriesName:r,ylabel:n,start:o,end:l}))})(e)}},xaxis:{tickPlacement:"between",tooltip:{enabled:!1},crosshairs:{stroke:{width:0}}}}}},{key:"dumbbell",value:function(e){var t,a;return(t=e.plotOptions.bar)!==null&&t!==void 0&&t.barHeight||(e.plotOptions.bar.barHeight=2),(a=e.plotOptions.bar)!==null&&a!==void 0&&a.columnWidth||(e.plotOptions.bar.columnWidth=2),e}},{key:"area",value:function(){return{stroke:{width:4,fill:{type:"solid",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}}},fill:{type:"gradient",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}},markers:{size:0,hover:{sizeOffset:6}},tooltip:{followCursor:!1}}}},{key:"rangeArea",value:function(){return{stroke:{curve:"straight",width:0},fill:{type:"solid",opacity:.6},markers:{size:0},states:{hover:{filter:{type:"none"}},active:{filter:{type:"none"}}},tooltip:{intersect:!1,shared:!0,followCursor:!0,custom:function(e){return(function(t){var a=Jl(t),s=a.color,r=a.seriesName,n=a.ylabel,o=a.start,l=a.end;return Ql($($({},t),{},{color:s,seriesName:r,ylabel:n,start:o,end:l}))})(e)}}}}},{key:"brush",value:function(e){return T.extend(e,{chart:{toolbar:{autoSelected:"selection",show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:1},tooltip:{enabled:!1},xaxis:{tooltip:{enabled:!1}}})}},{key:"stacked100",value:function(e){e.dataLabels=e.dataLabels||{},e.dataLabels.formatter=e.dataLabels.formatter||void 0;var t=e.dataLabels.formatter;return e.yaxis.forEach((function(a,s){e.yaxis[s].min=0,e.yaxis[s].max=100})),e.chart.type==="bar"&&(e.dataLabels.formatter=t||function(a){return typeof a=="number"&&a?a.toFixed(0)+"%":a}),e}},{key:"stackedBars",value:function(){var e=this.bar();return $($({},e),{},{plotOptions:$($({},e.plotOptions),{},{bar:$($({},e.plotOptions.bar),{},{borderRadiusApplication:"end",borderRadiusWhenStacked:"last"})})})}},{key:"convertCatToNumeric",value:function(e){return e.xaxis.convertedCatToNumeric=!0,e}},{key:"convertCatToNumericXaxis",value:function(e,t,a){e.xaxis.type="numeric",e.xaxis.labels=e.xaxis.labels||{},e.xaxis.labels.formatter=e.xaxis.labels.formatter||function(n){return T.isNumber(n)?Math.floor(n):n};var s=e.xaxis.labels.formatter,r=e.xaxis.categories&&e.xaxis.categories.length?e.xaxis.categories:e.labels;return a&&a.length&&(r=a.map((function(n){return Array.isArray(n)?n:String(n)}))),r&&r.length&&(e.xaxis.labels.formatter=function(n){return T.isNumber(n)?s(r[Math.floor(n)-1]):s(n)}),e.xaxis.categories=[],e.labels=[],e.xaxis.tickAmount=e.xaxis.tickAmount||"dataPoints",e}},{key:"bubble",value:function(){return{dataLabels:{style:{colors:["#fff"]}},tooltip:{shared:!1,intersect:!0},xaxis:{crosshairs:{width:0}},fill:{type:"solid",gradient:{shade:"light",inverse:!0,shadeIntensity:.55,opacityFrom:.4,opacityTo:.8}}}}},{key:"scatter",value:function(){return{dataLabels:{enabled:!1},tooltip:{shared:!1,intersect:!0},markers:{size:6,strokeWidth:1,hover:{sizeOffset:2}}}}},{key:"heatmap",value:function(){return{chart:{stacked:!1},fill:{opacity:1},dataLabels:{style:{colors:["#fff"]}},stroke:{colors:["#fff"]},tooltip:{followCursor:!0,marker:{show:!1},x:{show:!1}},legend:{position:"top",markers:{shape:"square"}},grid:{padding:{right:20}}}}},{key:"treemap",value:function(){return{chart:{zoom:{enabled:!1}},dataLabels:{style:{fontSize:14,fontWeight:600,colors:["#fff"]}},stroke:{show:!0,width:2,colors:["#fff"]},legend:{show:!1},fill:{opacity:1,gradient:{stops:[0,100]}},tooltip:{followCursor:!0,x:{show:!1}},grid:{padding:{left:0,right:0}},xaxis:{crosshairs:{show:!1},tooltip:{enabled:!1}}}}},{key:"pie",value:function(){return{chart:{toolbar:{show:!1}},plotOptions:{pie:{donut:{labels:{show:!1}}}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",stops:[0,100]}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"},grid:{padding:{left:0,right:0,top:0,bottom:0}}}}},{key:"donut",value:function(){return{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",shadeIntensity:.35,stops:[80,100],opacityFrom:1,opacityTo:1}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"},grid:{padding:{left:0,right:0,top:0,bottom:0}}}}},{key:"polarArea",value:function(){return{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},enabled:!1},stroke:{show:!0,width:2},fill:{opacity:.7},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"},grid:{padding:{left:0,right:0,top:0,bottom:0}}}}},{key:"radar",value:function(){return this.opts.yaxis[0].labels.offsetY=this.opts.yaxis[0].labels.offsetY?this.opts.yaxis[0].labels.offsetY:6,{dataLabels:{enabled:!1,style:{fontSize:"11px"}},stroke:{width:2},markers:{size:5,strokeWidth:1,strokeOpacity:1},fill:{opacity:.2},tooltip:{shared:!1,intersect:!0,followCursor:!0},grid:{show:!1,padding:{left:0,right:0,top:0,bottom:0}},xaxis:{labels:{formatter:function(e){return e},style:{colors:["#a8a8a8"],fontSize:"11px"}},tooltip:{enabled:!1},crosshairs:{show:!1}}}}},{key:"radialBar",value:function(){return{chart:{animations:{dynamicAnimation:{enabled:!0,speed:800}},toolbar:{show:!1}},fill:{gradient:{shade:"dark",shadeIntensity:.4,inverseColors:!1,type:"diagonal2",opacityFrom:1,opacityTo:1,stops:[70,98,100]}},legend:{show:!1,position:"right"},tooltip:{enabled:!1,fillSeriesColor:!0},grid:{padding:{left:0,right:0,top:0,bottom:0}}}}},{key:"_getBoxTooltip",value:function(e,t,a,s,r){var n=e.globals.seriesCandleO[t][a],o=e.globals.seriesCandleH[t][a],l=e.globals.seriesCandleM[t][a],c=e.globals.seriesCandleL[t][a],u=e.globals.seriesCandleC[t][a];return e.config.series[t].type&&e.config.series[t].type!==r?`<div class="apexcharts-custom-tooltip">
|
|
100
|
+
`.concat(e.config.series[t].name?e.config.series[t].name:"series-"+(t+1),": <strong>").concat(e.globals.series[t][a],`</strong>
|
|
101
|
+
</div>`):'<div class="apexcharts-tooltip-box apexcharts-tooltip-'.concat(e.config.chart.type,'">')+"<div>".concat(s[0],': <span class="value">')+n+"</span></div>"+"<div>".concat(s[1],': <span class="value">')+o+"</span></div>"+(l?"<div>".concat(s[2],': <span class="value">')+l+"</span></div>":"")+"<div>".concat(s[3],': <span class="value">')+c+"</span></div>"+"<div>".concat(s[4],': <span class="value">')+u+"</span></div></div>"}}]),i})(),Hr=(function(){function i(e){ee(this,i),this.opts=e}return te(i,[{key:"init",value:function(e){var t=e.responsiveOverride,a=this.opts,s=new Ia,r=new Br(a);this.chartType=a.chart.type,a=this.extendYAxis(a),a=this.extendAnnotations(a);var n=s.init(),o={};if(a&&Tt(a)==="object"){var l,c,u,d,h,f,g,p,m,v,b={};b=["line","area","bar","candlestick","boxPlot","rangeBar","rangeArea","bubble","scatter","heatmap","treemap","pie","polarArea","donut","radar","radialBar"].indexOf(a.chart.type)!==-1?r[a.chart.type]():r.line(),(l=a.plotOptions)!==null&&l!==void 0&&(c=l.bar)!==null&&c!==void 0&&c.isFunnel&&(b=r.funnel()),a.chart.stacked&&a.chart.type==="bar"&&(b=r.stackedBars()),(u=a.chart.brush)!==null&&u!==void 0&&u.enabled&&(b=r.brush(b)),(d=a.plotOptions)!==null&&d!==void 0&&(h=d.line)!==null&&h!==void 0&&h.isSlopeChart&&(b=r.slope()),a.chart.stacked&&a.chart.stackType==="100%"&&(a=r.stacked100(a)),(f=a.plotOptions)!==null&&f!==void 0&&(g=f.bar)!==null&&g!==void 0&&g.isDumbbell&&(a=r.dumbbell(a)),this.checkForDarkTheme(window.Apex),this.checkForDarkTheme(a),a.xaxis=a.xaxis||window.Apex.xaxis||{},t||(a.xaxis.convertedCatToNumeric=!1),((p=(a=this.checkForCatToNumericXAxis(this.chartType,b,a)).chart.sparkline)!==null&&p!==void 0&&p.enabled||(m=window.Apex.chart)!==null&&m!==void 0&&(v=m.sparkline)!==null&&v!==void 0&&v.enabled)&&(b=r.sparkline(b)),o=T.extend(n,b)}var x=T.extend(o,window.Apex);return n=T.extend(x,a),n=this.handleUserInputErrors(n)}},{key:"checkForCatToNumericXAxis",value:function(e,t,a){var s,r,n=new Br(a),o=(e==="bar"||e==="boxPlot")&&((s=a.plotOptions)===null||s===void 0||(r=s.bar)===null||r===void 0?void 0:r.horizontal),l=e==="pie"||e==="polarArea"||e==="donut"||e==="radar"||e==="radialBar"||e==="heatmap",c=a.xaxis.type!=="datetime"&&a.xaxis.type!=="numeric",u=a.xaxis.tickPlacement?a.xaxis.tickPlacement:t.xaxis&&t.xaxis.tickPlacement;return o||l||!c||u==="between"||(a=n.convertCatToNumeric(a)),a}},{key:"extendYAxis",value:function(e,t){var a=new Ia;(e.yaxis===void 0||!e.yaxis||Array.isArray(e.yaxis)&&e.yaxis.length===0)&&(e.yaxis={}),e.yaxis.constructor!==Array&&window.Apex.yaxis&&window.Apex.yaxis.constructor!==Array&&(e.yaxis=T.extend(e.yaxis,window.Apex.yaxis)),e.yaxis.constructor!==Array?e.yaxis=[T.extend(a.yAxis,e.yaxis)]:e.yaxis=T.extendArray(e.yaxis,a.yAxis);var s=!1;e.yaxis.forEach((function(n){n.logarithmic&&(s=!0)}));var r=e.series;return t&&!r&&(r=t.config.series),s&&r.length!==e.yaxis.length&&r.length&&(e.yaxis=r.map((function(n,o){if(n.name||(r[o].name="series-".concat(o+1)),e.yaxis[o])return e.yaxis[o].seriesName=r[o].name,e.yaxis[o];var l=T.extend(a.yAxis,e.yaxis[0]);return l.show=!1,l}))),s&&r.length>1&&r.length!==e.yaxis.length&&console.warn("A multi-series logarithmic chart should have equal number of series and y-axes"),e}},{key:"extendAnnotations",value:function(e){return e.annotations===void 0&&(e.annotations={},e.annotations.yaxis=[],e.annotations.xaxis=[],e.annotations.points=[]),e=this.extendYAxisAnnotations(e),e=this.extendXAxisAnnotations(e),e=this.extendPointAnnotations(e)}},{key:"extendYAxisAnnotations",value:function(e){var t=new Ia;return e.annotations.yaxis=T.extendArray(e.annotations.yaxis!==void 0?e.annotations.yaxis:[],t.yAxisAnnotation),e}},{key:"extendXAxisAnnotations",value:function(e){var t=new Ia;return e.annotations.xaxis=T.extendArray(e.annotations.xaxis!==void 0?e.annotations.xaxis:[],t.xAxisAnnotation),e}},{key:"extendPointAnnotations",value:function(e){var t=new Ia;return e.annotations.points=T.extendArray(e.annotations.points!==void 0?e.annotations.points:[],t.pointAnnotation),e}},{key:"checkForDarkTheme",value:function(e){e.theme&&e.theme.mode==="dark"&&(e.tooltip||(e.tooltip={}),e.tooltip.theme!=="light"&&(e.tooltip.theme="dark"),e.chart.foreColor||(e.chart.foreColor="#f6f7f8"),e.theme.palette||(e.theme.palette="palette4"))}},{key:"handleUserInputErrors",value:function(e){var t=e;if(t.tooltip.shared&&t.tooltip.intersect)throw new Error("tooltip.shared cannot be enabled when tooltip.intersect is true. Turn off any other option by setting it to false.");if(t.chart.type==="bar"&&t.plotOptions.bar.horizontal){if(t.yaxis.length>1)throw new Error("Multiple Y Axis for bars are not supported. Switch to column chart by setting plotOptions.bar.horizontal=false");t.yaxis[0].reversed&&(t.yaxis[0].opposite=!0),t.xaxis.tooltip.enabled=!1,t.yaxis[0].tooltip.enabled=!1,t.chart.zoom.enabled=!1}return t.chart.type!=="bar"&&t.chart.type!=="rangeBar"||t.tooltip.shared&&t.xaxis.crosshairs.width==="barWidth"&&t.series.length>1&&(t.xaxis.crosshairs.width="tickWidth"),t.chart.type!=="candlestick"&&t.chart.type!=="boxPlot"||t.yaxis[0].reversed&&(console.warn("Reversed y-axis in ".concat(t.chart.type," chart is not supported.")),t.yaxis[0].reversed=!1),t}}]),i})(),Ax=(function(){function i(){ee(this,i)}return te(i,[{key:"initGlobalVars",value:function(e){e.series=[],e.seriesCandleO=[],e.seriesCandleH=[],e.seriesCandleM=[],e.seriesCandleL=[],e.seriesCandleC=[],e.seriesRangeStart=[],e.seriesRangeEnd=[],e.seriesRange=[],e.seriesPercent=[],e.seriesGoals=[],e.seriesX=[],e.seriesZ=[],e.seriesNames=[],e.seriesTotals=[],e.seriesLog=[],e.seriesColors=[],e.stackedSeriesTotals=[],e.seriesXvalues=[],e.seriesYvalues=[],e.dataWasParsed=!1,e.originalSeries=null,e.labels=[],e.hasXaxisGroups=!1,e.groups=[],e.barGroups=[],e.lineGroups=[],e.areaGroups=[],e.hasSeriesGroups=!1,e.seriesGroups=[],e.categoryLabels=[],e.timescaleLabels=[],e.noLabelsProvided=!1,e.resizeTimer=null,e.selectionResizeTimer=null,e.lastWheelExecution=0,e.delayedElements=[],e.pointsArray=[],e.dataLabelsRects=[],e.isXNumeric=!1,e.skipLastTimelinelabel=!1,e.skipFirstTimelinelabel=!1,e.isDataXYZ=!1,e.isMultiLineX=!1,e.isMultipleYAxis=!1,e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE,e.minYArr=[],e.maxYArr=[],e.maxX=-Number.MAX_VALUE,e.minX=Number.MAX_VALUE,e.initialMaxX=-Number.MAX_VALUE,e.initialMinX=Number.MAX_VALUE,e.maxDate=0,e.minDate=Number.MAX_VALUE,e.minZ=Number.MAX_VALUE,e.maxZ=-Number.MAX_VALUE,e.minXDiff=Number.MAX_VALUE,e.yAxisScale=[],e.xAxisScale=null,e.xAxisTicksPositions=[],e.yLabelsCoords=[],e.yTitleCoords=[],e.barPadForNumericAxis=0,e.padHorizontal=0,e.xRange=0,e.yRange=[],e.zRange=0,e.dataPoints=0,e.xTickAmount=0,e.multiAxisTickAmount=0}},{key:"globalVars",value:function(e){return{chartID:null,cuid:null,events:{beforeMount:[],mounted:[],updated:[],clicked:[],selection:[],dataPointSelection:[],zoomed:[],scrolled:[]},colors:[],clientX:null,clientY:null,fill:{colors:[]},stroke:{colors:[]},dataLabels:{style:{colors:[]}},radarPolygons:{fill:{colors:[]}},markers:{colors:[],size:e.markers.size,largestSize:0},animationEnded:!1,isTouchDevice:"ontouchstart"in window||navigator.msMaxTouchPoints,isDirty:!1,isExecCalled:!1,initialConfig:null,initialSeries:[],lastXAxis:[],lastYAxis:[],columnSeries:null,labels:[],timescaleLabels:[],noLabelsProvided:!1,allSeriesCollapsed:!1,collapsedSeries:[],collapsedSeriesIndices:[],ancillaryCollapsedSeries:[],ancillaryCollapsedSeriesIndices:[],risingSeries:[],dataFormatXNumeric:!1,capturedSeriesIndex:-1,capturedDataPointIndex:-1,selectedDataPoints:[],invalidLogScale:!1,ignoreYAxisIndexes:[],maxValsInArrayIndex:0,radialSize:0,selection:void 0,zoomEnabled:e.chart.toolbar.autoSelected==="zoom"&&e.chart.toolbar.tools.zoom&&e.chart.zoom.enabled,panEnabled:e.chart.toolbar.autoSelected==="pan"&&e.chart.toolbar.tools.pan,selectionEnabled:e.chart.toolbar.autoSelected==="selection"&&e.chart.toolbar.tools.selection,yaxis:null,mousedown:!1,lastClientPosition:{},visibleXRange:void 0,yValueDecimal:0,total:0,SVGNS:"http://www.w3.org/2000/svg",svgWidth:0,svgHeight:0,noData:!1,locale:{},dom:{},memory:{methodsToExec:[]},shouldAnimate:!0,skipLastTimelinelabel:!1,skipFirstTimelinelabel:!1,delayedElements:[],axisCharts:!0,isDataXYZ:!1,isSlopeChart:e.plotOptions.line.isSlopeChart,resized:!1,resizeTimer:null,comboCharts:!1,dataChanged:!1,previousPaths:[],allSeriesHasEqualX:!0,pointsArray:[],dataLabelsRects:[],lastDrawnDataLabelsIndexes:[],hasNullValues:!1,zoomed:!1,gridWidth:0,gridHeight:0,rotateXLabels:!1,defaultLabels:!1,xLabelFormatter:void 0,yLabelFormatters:[],xaxisTooltipFormatter:void 0,ttKeyFormatter:void 0,ttVal:void 0,ttZFormatter:void 0,LINE_HEIGHT_RATIO:1.618,xAxisLabelsHeight:0,xAxisGroupLabelsHeight:0,xAxisLabelsWidth:0,yAxisLabelsWidth:0,scaleX:1,scaleY:1,translateX:0,translateY:0,translateYAxisX:[],yAxisWidths:[],translateXAxisY:0,translateXAxisX:0,tooltip:null,niceScaleAllowedMagMsd:[[1,1,2,5,5,5,10,10,10,10,10],[1,1,2,5,5,5,10,10,10,10,10]],niceScaleDefaultTicks:[1,2,4,4,6,6,6,6,6,6,6,6,6,6,6,6,6,6,12,12,12,12,12,12,12,12,12,24],seriesYAxisMap:[],seriesYAxisReverseMap:[]}}},{key:"init",value:function(e){var t=this.globalVars(e);return this.initGlobalVars(t),t.initialConfig=T.extend({},e),t.initialSeries=T.clone(e.series),t.lastXAxis=T.clone(t.initialConfig.xaxis),t.lastYAxis=T.clone(t.initialConfig.yaxis),t}}]),i})(),V_=(function(){function i(e){ee(this,i),this.opts=e}return te(i,[{key:"init",value:function(){var e=new Hr(this.opts).init({responsiveOverride:!1});return{config:e,globals:new Ax().init(e)}}}]),i})(),gi=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.opts=null,this.seriesIndex=0,this.patternIDs=[]}return te(i,[{key:"clippedImgArea",value:function(e){var t=this.w,a=t.config,s=parseInt(t.globals.gridWidth,10),r=parseInt(t.globals.gridHeight,10),n=s>r?s:r,o=e.image,l=0,c=0;e.width===void 0&&e.height===void 0?a.fill.image.width!==void 0&&a.fill.image.height!==void 0?(l=a.fill.image.width+1,c=a.fill.image.height):(l=n+1,c=n):(l=e.width,c=e.height);var u=document.createElementNS(t.globals.SVGNS,"pattern");V.setAttrs(u,{id:e.patternID,patternUnits:e.patternUnits?e.patternUnits:"userSpaceOnUse",width:l+"px",height:c+"px"});var d=document.createElementNS(t.globals.SVGNS,"image");u.appendChild(d),d.setAttributeNS(window.SVG.xlink,"href",o),V.setAttrs(d,{x:0,y:0,preserveAspectRatio:"none",width:l+"px",height:c+"px"}),d.style.opacity=e.opacity,t.globals.dom.elDefs.node.appendChild(u)}},{key:"getSeriesIndex",value:function(e){var t=this.w,a=t.config.chart.type;return(a==="bar"||a==="rangeBar")&&t.config.plotOptions.bar.distributed||a==="heatmap"||a==="treemap"?this.seriesIndex=e.seriesNumber:this.seriesIndex=e.seriesNumber%t.globals.series.length,this.seriesIndex}},{key:"computeColorStops",value:function(e,t){var a,s=this.w,r=null,n=null,o=lr(e);try{for(o.s();!(a=o.n()).done;){var l=a.value;l>=t.threshold?(r===null||l>r)&&(r=l):(n===null||l<n)&&(n=l)}}catch(d){o.e(d)}finally{o.f()}r===null&&(r=t.threshold),n===null&&(n=t.threshold);var c=r-t.threshold+(t.threshold-n);c===0&&(c=1);var u=100-(t.threshold-n)/c*100;return[{offset:u=Math.max(0,Math.min(u,100)),color:t.colorAboveThreshold,opacity:s.config.fill.opacity},{offset:0,color:t.colorBelowThreshold,opacity:s.config.fill.opacity}]}},{key:"fillPath",value:function(e){var t,a,s,r=this.w;this.opts=e;var n,o,l,c=this.w.config;this.seriesIndex=this.getSeriesIndex(e);var u=c.plotOptions.line.colors.colorAboveThreshold&&c.plotOptions.line.colors.colorBelowThreshold,d=this.getFillColors()[this.seriesIndex];r.globals.seriesColors[this.seriesIndex]!==void 0&&(d=r.globals.seriesColors[this.seriesIndex]),typeof d=="function"&&(d=d({seriesIndex:this.seriesIndex,dataPointIndex:e.dataPointIndex,value:e.value,w:r}));var h,f,g,p=e.fillType?e.fillType:this.getFillType(this.seriesIndex),m=Array.isArray(c.fill.opacity)?c.fill.opacity[this.seriesIndex]:c.fill.opacity,v=p==="gradient"||u;e.color&&(d=e.color),(t=r.config.series[this.seriesIndex])!==null&&t!==void 0&&(a=t.data)!==null&&a!==void 0&&(s=a[e.dataPointIndex])!==null&&s!==void 0&&s.fillColor&&(d=(h=r.config.series[this.seriesIndex])===null||h===void 0||(f=h.data)===null||f===void 0||(g=f[e.dataPointIndex])===null||g===void 0?void 0:g.fillColor),d||(d="#fff",console.warn("undefined color - ApexCharts"));var b=d;if(d.indexOf("rgb")===-1?d.indexOf("#")===-1?b=d:d.length<9&&(b=T.hexToRgba(d,m)):d.indexOf("rgba")>-1?m=T.getOpacityFromRGBA(d):b=T.hexToRgba(T.rgb2hex(d),m),e.opacity&&(m=e.opacity),p==="pattern"&&(o=this.handlePatternFill({fillConfig:e.fillConfig,patternFill:o,fillColor:d,fillOpacity:m,defaultColor:b})),v){var x=ft(c.fill.gradient.colorStops)||[],k=c.fill.gradient.type;u&&(x[this.seriesIndex]=this.computeColorStops(r.globals.series[this.seriesIndex],c.plotOptions.line.colors),k="vertical"),l=this.handleGradientFill({type:k,fillConfig:e.fillConfig,fillColor:d,fillOpacity:m,colorStops:x,i:this.seriesIndex})}if(p==="image"){var y=c.fill.image.src,A=e.patternID?e.patternID:"",w="pattern".concat(r.globals.cuid).concat(e.seriesNumber+1).concat(A);this.patternIDs.indexOf(w)===-1&&(this.clippedImgArea({opacity:m,image:Array.isArray(y)?e.seriesNumber<y.length?y[e.seriesNumber]:y[0]:y,width:e.width?e.width:void 0,height:e.height?e.height:void 0,patternUnits:e.patternUnits,patternID:w}),this.patternIDs.push(w)),n="url(#".concat(w,")")}else n=v?l:p==="pattern"?o:b;return e.solid&&(n=b),n}},{key:"getFillType",value:function(e){var t=this.w;return Array.isArray(t.config.fill.type)?t.config.fill.type[e]:t.config.fill.type}},{key:"getFillColors",value:function(){var e=this.w,t=e.config,a=this.opts,s=[];return e.globals.comboCharts?e.config.series[this.seriesIndex].type==="line"?Array.isArray(e.globals.stroke.colors)?s=e.globals.stroke.colors:s.push(e.globals.stroke.colors):Array.isArray(e.globals.fill.colors)?s=e.globals.fill.colors:s.push(e.globals.fill.colors):t.chart.type==="line"?Array.isArray(e.globals.stroke.colors)?s=e.globals.stroke.colors:s.push(e.globals.stroke.colors):Array.isArray(e.globals.fill.colors)?s=e.globals.fill.colors:s.push(e.globals.fill.colors),a.fillColors!==void 0&&(s=[],Array.isArray(a.fillColors)?s=a.fillColors.slice():s.push(a.fillColors)),s}},{key:"handlePatternFill",value:function(e){var t=e.fillConfig,a=e.patternFill,s=e.fillColor,r=e.fillOpacity,n=e.defaultColor,o=this.w.config.fill;t&&(o=t);var l=this.opts,c=new V(this.ctx),u=Array.isArray(o.pattern.strokeWidth)?o.pattern.strokeWidth[this.seriesIndex]:o.pattern.strokeWidth,d=s;return Array.isArray(o.pattern.style)?a=o.pattern.style[l.seriesNumber]!==void 0?c.drawPattern(o.pattern.style[l.seriesNumber],o.pattern.width,o.pattern.height,d,u,r):n:a=c.drawPattern(o.pattern.style,o.pattern.width,o.pattern.height,d,u,r),a}},{key:"handleGradientFill",value:function(e){var t=e.type,a=e.fillColor,s=e.fillOpacity,r=e.fillConfig,n=e.colorStops,o=e.i,l=this.w.config.fill;r&&(l=$($({},l),r));var c=this.opts,u=new V(this.ctx),d=new T;t=t||l.gradient.type;var h,f=a,g=l.gradient.opacityFrom===void 0?s:Array.isArray(l.gradient.opacityFrom)?l.gradient.opacityFrom[o]:l.gradient.opacityFrom;f.indexOf("rgba")>-1&&(g=T.getOpacityFromRGBA(f));var p=l.gradient.opacityTo===void 0?s:Array.isArray(l.gradient.opacityTo)?l.gradient.opacityTo[o]:l.gradient.opacityTo;if(l.gradient.gradientToColors===void 0||l.gradient.gradientToColors.length===0)h=l.gradient.shade==="dark"?d.shadeColor(-1*parseFloat(l.gradient.shadeIntensity),a.indexOf("rgb")>-1?T.rgb2hex(a):a):d.shadeColor(parseFloat(l.gradient.shadeIntensity),a.indexOf("rgb")>-1?T.rgb2hex(a):a);else if(l.gradient.gradientToColors[c.seriesNumber]){var m=l.gradient.gradientToColors[c.seriesNumber];h=m,m.indexOf("rgba")>-1&&(p=T.getOpacityFromRGBA(m))}else h=a;if(l.gradient.gradientFrom&&(f=l.gradient.gradientFrom),l.gradient.gradientTo&&(h=l.gradient.gradientTo),l.gradient.inverseColors){var v=f;f=h,h=v}return f.indexOf("rgb")>-1&&(f=T.rgb2hex(f)),h.indexOf("rgb")>-1&&(h=T.rgb2hex(h)),u.drawGradient(t,f,h,g,p,c.size,l.gradient.stops,n,o)}}]),i})(),qs=(function(){function i(e,t){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"setGlobalMarkerSize",value:function(){var e=this.w;if(e.globals.markers.size=Array.isArray(e.config.markers.size)?e.config.markers.size:[e.config.markers.size],e.globals.markers.size.length>0){if(e.globals.markers.size.length<e.globals.series.length+1)for(var t=0;t<=e.globals.series.length;t++)e.globals.markers.size[t]===void 0&&e.globals.markers.size.push(e.globals.markers.size[0])}else e.globals.markers.size=e.config.series.map((function(a){return e.config.markers.size}))}},{key:"plotChartMarkers",value:function(e){var t=e.pointsPos,a=e.seriesIndex,s=e.j,r=e.pSize,n=e.alwaysDrawMarker,o=n!==void 0&&n,l=e.isVirtualPoint,c=l!==void 0&&l,u=this.w,d=a,h=t,f=null,g=new V(this.ctx),p=u.config.markers.discrete&&u.config.markers.discrete.length;if(Array.isArray(h.x))for(var m=0;m<h.x.length;m++){var v=void 0,b=s,x=!T.isNumber(h.y[m]);u.globals.markers.largestSize===0&&u.globals.hasNullValues&&u.globals.series[d][s+1]!==null&&!c&&(x=!0),s===1&&m===0&&(b=0),s===1&&m===1&&(b=1);var k="apexcharts-marker";if(u.config.chart.type!=="line"&&u.config.chart.type!=="area"||u.globals.comboCharts||u.config.tooltip.intersect||(k+=" no-pointer-events"),(Array.isArray(u.config.markers.size)?u.globals.markers.size[a]>0:u.config.markers.size>0)||o||p){x||(k+=" w".concat(T.randomId()));var y=this.getMarkerConfig({cssClass:k,seriesIndex:a,dataPointIndex:b});u.config.series[d].data[b]&&(u.config.series[d].data[b].fillColor&&(y.pointFillColor=u.config.series[d].data[b].fillColor),u.config.series[d].data[b].strokeColor&&(y.pointStrokeColor=u.config.series[d].data[b].strokeColor)),r!==void 0&&(y.pSize=r),(h.x[m]<-u.globals.markers.largestSize||h.x[m]>u.globals.gridWidth+u.globals.markers.largestSize||h.y[m]<-u.globals.markers.largestSize||h.y[m]>u.globals.gridHeight+u.globals.markers.largestSize)&&(y.pSize=0),!x&&((u.globals.markers.size[a]>0||o||p)&&!f&&(f=g.group({class:o||p?"":"apexcharts-series-markers"})).attr("clip-path","url(#gridRectMarkerMask".concat(u.globals.cuid,")")),(v=g.drawMarker(h.x[m],h.y[m],y)).attr("rel",b),v.attr("j",b),v.attr("index",a),v.node.setAttribute("default-marker-size",y.pSize),new vt(this.ctx).setSelectionFilter(v,a,b),this.addEvents(v),f&&f.add(v))}else u.globals.pointsArray[a]===void 0&&(u.globals.pointsArray[a]=[]),u.globals.pointsArray[a].push([h.x[m],h.y[m]])}return f}},{key:"getMarkerConfig",value:function(e){var t=e.cssClass,a=e.seriesIndex,s=e.dataPointIndex,r=s===void 0?null:s,n=e.radius,o=n===void 0?null:n,l=e.size,c=l===void 0?null:l,u=e.strokeWidth,d=u===void 0?null:u,h=this.w,f=this.getMarkerStyle(a),g=c===null?h.globals.markers.size[a]:c,p=h.config.markers;return r!==null&&p.discrete.length&&p.discrete.map((function(m){m.seriesIndex===a&&m.dataPointIndex===r&&(f.pointStrokeColor=m.strokeColor,f.pointFillColor=m.fillColor,g=m.size,f.pointShape=m.shape)})),{pSize:o===null?g:o,pRadius:o!==null?o:p.radius,pointStrokeWidth:d!==null?d:Array.isArray(p.strokeWidth)?p.strokeWidth[a]:p.strokeWidth,pointStrokeColor:f.pointStrokeColor,pointFillColor:f.pointFillColor,shape:f.pointShape||(Array.isArray(p.shape)?p.shape[a]:p.shape),class:t,pointStrokeOpacity:Array.isArray(p.strokeOpacity)?p.strokeOpacity[a]:p.strokeOpacity,pointStrokeDashArray:Array.isArray(p.strokeDashArray)?p.strokeDashArray[a]:p.strokeDashArray,pointFillOpacity:Array.isArray(p.fillOpacity)?p.fillOpacity[a]:p.fillOpacity,seriesIndex:a}}},{key:"addEvents",value:function(e){var t=this.w,a=new V(this.ctx);e.node.addEventListener("mouseenter",a.pathMouseEnter.bind(this.ctx,e)),e.node.addEventListener("mouseleave",a.pathMouseLeave.bind(this.ctx,e)),e.node.addEventListener("mousedown",a.pathMouseDown.bind(this.ctx,e)),e.node.addEventListener("click",t.config.markers.onClick),e.node.addEventListener("dblclick",t.config.markers.onDblClick),e.node.addEventListener("touchstart",a.pathMouseDown.bind(this.ctx,e),{passive:!0})}},{key:"getMarkerStyle",value:function(e){var t=this.w,a=t.globals.markers.colors,s=t.config.markers.strokeColor||t.config.markers.strokeColors;return{pointStrokeColor:Array.isArray(s)?s[e]:s,pointFillColor:Array.isArray(a)?a[e]:a}}}]),i})(),Sx=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.initialAnim=this.w.config.chart.animations.enabled}return te(i,[{key:"draw",value:function(e,t,a){var s=this.w,r=new V(this.ctx),n=a.realIndex,o=a.pointsPos,l=a.zRatio,c=a.elParent,u=r.group({class:"apexcharts-series-markers apexcharts-series-".concat(s.config.chart.type)});if(u.attr("clip-path","url(#gridRectMarkerMask".concat(s.globals.cuid,")")),Array.isArray(o.x))for(var d=0;d<o.x.length;d++){var h=t+1,f=!0;t===0&&d===0&&(h=0),t===0&&d===1&&(h=1);var g=s.globals.markers.size[n];if(l!==1/0){var p=s.config.plotOptions.bubble;g=s.globals.seriesZ[n][h],p.zScaling&&(g/=l),p.minBubbleRadius&&g<p.minBubbleRadius&&(g=p.minBubbleRadius),p.maxBubbleRadius&&g>p.maxBubbleRadius&&(g=p.maxBubbleRadius)}var m=o.x[d],v=o.y[d];if(g=g||0,v!==null&&s.globals.series[n][h]!==void 0||(f=!1),f){var b=this.drawPoint(m,v,g,n,h,t);u.add(b)}c.add(u)}}},{key:"drawPoint",value:function(e,t,a,s,r,n){var o=this.w,l=s,c=new Ys(this.ctx),u=new vt(this.ctx),d=new gi(this.ctx),h=new qs(this.ctx),f=new V(this.ctx),g=h.getMarkerConfig({cssClass:"apexcharts-marker",seriesIndex:l,dataPointIndex:r,radius:o.config.chart.type==="bubble"||o.globals.comboCharts&&o.config.series[s]&&o.config.series[s].type==="bubble"?a:null}),p=d.fillPath({seriesNumber:s,dataPointIndex:r,color:g.pointFillColor,patternUnits:"objectBoundingBox",value:o.globals.series[s][n]}),m=f.drawMarker(e,t,g);if(o.config.series[l].data[r]&&o.config.series[l].data[r].fillColor&&(p=o.config.series[l].data[r].fillColor),m.attr({fill:p}),o.config.chart.dropShadow.enabled){var v=o.config.chart.dropShadow;u.dropShadow(m,v,s)}if(!this.initialAnim||o.globals.dataChanged||o.globals.resized)o.globals.animationEnded=!0;else{var b=o.config.chart.animations.speed;c.animateMarker(m,b,o.globals.easing,(function(){window.setTimeout((function(){c.animationCompleted(m)}),100)}))}return m.attr({rel:r,j:r,index:s,"default-marker-size":g.pSize}),u.setSelectionFilter(m,s,r),h.addEvents(m),m.node.classList.add("apexcharts-marker"),m}},{key:"centerTextInBubble",value:function(e){var t=this.w;return{y:e+=parseInt(t.config.dataLabels.style.fontSize,10)/4}}}]),i})(),Rs=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"dataLabelsCorrection",value:function(e,t,a,s,r,n,o){var l=this.w,c=!1,u=new V(this.ctx).getTextRects(a,o),d=u.width,h=u.height;t<0&&(t=0),t>l.globals.gridHeight+h&&(t=l.globals.gridHeight+h/2),l.globals.dataLabelsRects[s]===void 0&&(l.globals.dataLabelsRects[s]=[]),l.globals.dataLabelsRects[s].push({x:e,y:t,width:d,height:h});var f=l.globals.dataLabelsRects[s].length-2,g=l.globals.lastDrawnDataLabelsIndexes[s]!==void 0?l.globals.lastDrawnDataLabelsIndexes[s][l.globals.lastDrawnDataLabelsIndexes[s].length-1]:0;if(l.globals.dataLabelsRects[s][f]!==void 0){var p=l.globals.dataLabelsRects[s][g];(e>p.x+p.width||t>p.y+p.height||t+h<p.y||e+d<p.x)&&(c=!0)}return(r===0||n)&&(c=!0),{x:e,y:t,textRects:u,drawnextLabel:c}}},{key:"drawDataLabel",value:function(e){var t=this,a=e.type,s=e.pos,r=e.i,n=e.j,o=e.isRangeStart,l=e.strokeWidth,c=l===void 0?2:l,u=this.w,d=new V(this.ctx),h=u.config.dataLabels,f=0,g=0,p=n,m=null;if(u.globals.collapsedSeriesIndices.indexOf(r)!==-1||!h.enabled||!Array.isArray(s.x))return m;m=d.group({class:"apexcharts-data-labels"});for(var v=0;v<s.x.length;v++)if(f=s.x[v]+h.offsetX,g=s.y[v]+h.offsetY+c,!isNaN(f)){n===1&&v===0&&(p=0),n===1&&v===1&&(p=1);var b=u.globals.series[r][p];a==="rangeArea"&&(b=o?u.globals.seriesRangeStart[r][p]:u.globals.seriesRangeEnd[r][p]);var x="",k=function(A){return u.config.dataLabels.formatter(A,{ctx:t.ctx,seriesIndex:r,dataPointIndex:p,w:u})};u.config.chart.type==="bubble"?(x=k(b=u.globals.seriesZ[r][p]),g=s.y[v],g=new Sx(this.ctx).centerTextInBubble(g,r,p).y):b!==void 0&&(x=k(b));var y=u.config.dataLabels.textAnchor;u.globals.isSlopeChart&&(y=p===0?"end":p===u.config.series[r].data.length-1?"start":"middle"),this.plotDataLabelsText({x:f,y:g,text:x,i:r,j:p,parent:m,offsetCorrection:!0,dataLabelsConfig:u.config.dataLabels,textAnchor:y})}return m}},{key:"plotDataLabelsText",value:function(e){var t=this.w,a=new V(this.ctx),s=e.x,r=e.y,n=e.i,o=e.j,l=e.text,c=e.textAnchor,u=e.fontSize,d=e.parent,h=e.dataLabelsConfig,f=e.color,g=e.alwaysDrawDataLabel,p=e.offsetCorrection,m=e.className,v=null;if(Array.isArray(t.config.dataLabels.enabledOnSeries)&&t.config.dataLabels.enabledOnSeries.indexOf(n)<0)return v;var b={x:s,y:r,drawnextLabel:!0,textRects:null};p&&(b=this.dataLabelsCorrection(s,r,l,n,o,g,parseInt(h.style.fontSize,10))),t.globals.zoomed||(s=b.x,r=b.y),b.textRects&&(s<-20-b.textRects.width||s>t.globals.gridWidth+b.textRects.width+30)&&(l="");var x=t.globals.dataLabels.style.colors[n];((t.config.chart.type==="bar"||t.config.chart.type==="rangeBar")&&t.config.plotOptions.bar.distributed||t.config.dataLabels.distributed)&&(x=t.globals.dataLabels.style.colors[o]),typeof x=="function"&&(x=x({series:t.globals.series,seriesIndex:n,dataPointIndex:o,w:t})),f&&(x=f);var k=h.offsetX,y=h.offsetY;if(t.config.chart.type!=="bar"&&t.config.chart.type!=="rangeBar"||(k=0,y=0),t.globals.isSlopeChart&&(o!==0&&(k=-2*h.offsetX+5),o!==0&&o!==t.config.series[n].data.length-1&&(k=0)),b.drawnextLabel){if(c==="middle"&&s===t.globals.gridWidth&&(c="end"),(v=a.drawText({width:100,height:parseInt(h.style.fontSize,10),x:s+k,y:r+y,foreColor:x,textAnchor:c||h.textAnchor,text:l,fontSize:u||h.style.fontSize,fontFamily:h.style.fontFamily,fontWeight:h.style.fontWeight||"normal"})).attr({class:m||"apexcharts-datalabel",cx:s,cy:r}),h.dropShadow.enabled){var A=h.dropShadow;new vt(this.ctx).dropShadow(v,A)}d.add(v),t.globals.lastDrawnDataLabelsIndexes[n]===void 0&&(t.globals.lastDrawnDataLabelsIndexes[n]=[]),t.globals.lastDrawnDataLabelsIndexes[n].push(o)}return v}},{key:"addBackgroundToDataLabel",value:function(e,t){var a=this.w,s=a.config.dataLabels.background,r=s.padding,n=s.padding/2,o=t.width,l=t.height,c=new V(this.ctx).drawRect(t.x-r,t.y-n/2,o+2*r,l+n,s.borderRadius,a.config.chart.background!=="transparent"&&a.config.chart.background?a.config.chart.background:"#fff",s.opacity,s.borderWidth,s.borderColor);return s.dropShadow.enabled&&new vt(this.ctx).dropShadow(c,s.dropShadow),c}},{key:"dataLabelsBackground",value:function(){var e=this.w;if(e.config.chart.type!=="bubble")for(var t=e.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels text"),a=0;a<t.length;a++){var s=t[a],r=s.getBBox(),n=null;if(r.width&&r.height&&(n=this.addBackgroundToDataLabel(s,r)),n){s.parentNode.insertBefore(n.node,s);var o=e.config.dataLabels.background.backgroundColor||s.getAttribute("fill");e.config.chart.animations.enabled&&!e.globals.resized&&!e.globals.dataChanged?n.animate().attr({fill:o}):n.attr({fill:o}),s.setAttribute("fill",e.config.dataLabels.background.foreColor)}}}},{key:"bringForward",value:function(){for(var e=this.w,t=e.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels"),a=e.globals.dom.baseEl.querySelector(".apexcharts-plot-series:last-child"),s=0;s<t.length;s++)a&&a.insertBefore(t[s],a.nextSibling)}}]),i})(),Cx=`.apexcharts-flip-y {
|
|
102
|
+
transform: scaleY(-1) translateY(-100%);
|
|
103
|
+
transform-origin: top;
|
|
104
|
+
transform-box: fill-box;
|
|
105
|
+
}
|
|
106
|
+
.apexcharts-flip-x {
|
|
107
|
+
transform: scaleX(-1);
|
|
108
|
+
transform-origin: center;
|
|
109
|
+
transform-box: fill-box;
|
|
110
|
+
}
|
|
111
|
+
.apexcharts-legend {
|
|
112
|
+
display: flex;
|
|
113
|
+
overflow: auto;
|
|
114
|
+
padding: 0 10px;
|
|
115
|
+
}
|
|
116
|
+
.apexcharts-legend.apexcharts-legend-group-horizontal {
|
|
117
|
+
flex-direction: column;
|
|
118
|
+
}
|
|
119
|
+
.apexcharts-legend-group {
|
|
120
|
+
display: flex;
|
|
121
|
+
}
|
|
122
|
+
.apexcharts-legend-group-vertical {
|
|
123
|
+
flex-direction: column-reverse;
|
|
124
|
+
}
|
|
125
|
+
.apexcharts-legend.apx-legend-position-bottom, .apexcharts-legend.apx-legend-position-top {
|
|
126
|
+
flex-wrap: wrap
|
|
127
|
+
}
|
|
128
|
+
.apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {
|
|
129
|
+
flex-direction: column;
|
|
130
|
+
bottom: 0;
|
|
131
|
+
}
|
|
132
|
+
.apexcharts-legend.apx-legend-position-bottom.apexcharts-align-left, .apexcharts-legend.apx-legend-position-top.apexcharts-align-left, .apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {
|
|
133
|
+
justify-content: flex-start;
|
|
134
|
+
align-items: flex-start;
|
|
135
|
+
}
|
|
136
|
+
.apexcharts-legend.apx-legend-position-bottom.apexcharts-align-center, .apexcharts-legend.apx-legend-position-top.apexcharts-align-center {
|
|
137
|
+
justify-content: center;
|
|
138
|
+
align-items: center;
|
|
139
|
+
}
|
|
140
|
+
.apexcharts-legend.apx-legend-position-bottom.apexcharts-align-right, .apexcharts-legend.apx-legend-position-top.apexcharts-align-right {
|
|
141
|
+
justify-content: flex-end;
|
|
142
|
+
align-items: flex-end;
|
|
143
|
+
}
|
|
144
|
+
.apexcharts-legend-series {
|
|
145
|
+
cursor: pointer;
|
|
146
|
+
line-height: normal;
|
|
147
|
+
display: flex;
|
|
148
|
+
align-items: center;
|
|
149
|
+
}
|
|
150
|
+
.apexcharts-legend-text {
|
|
151
|
+
position: relative;
|
|
152
|
+
font-size: 14px;
|
|
153
|
+
}
|
|
154
|
+
.apexcharts-legend-text *, .apexcharts-legend-marker * {
|
|
155
|
+
pointer-events: none;
|
|
156
|
+
}
|
|
157
|
+
.apexcharts-legend-marker {
|
|
158
|
+
position: relative;
|
|
159
|
+
display: flex;
|
|
160
|
+
align-items: center;
|
|
161
|
+
justify-content: center;
|
|
162
|
+
cursor: pointer;
|
|
163
|
+
margin-right: 1px;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.apexcharts-legend-series.apexcharts-no-click {
|
|
167
|
+
cursor: auto;
|
|
168
|
+
}
|
|
169
|
+
.apexcharts-legend .apexcharts-hidden-zero-series, .apexcharts-legend .apexcharts-hidden-null-series {
|
|
170
|
+
display: none !important;
|
|
171
|
+
}
|
|
172
|
+
.apexcharts-inactive-legend {
|
|
173
|
+
opacity: 0.45;
|
|
174
|
+
} `,ri=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.legendInactiveClass="legend-mouseover-inactive"}return te(i,[{key:"getAllSeriesEls",value:function(){return this.w.globals.dom.baseEl.getElementsByClassName("apexcharts-series")}},{key:"getSeriesByName",value:function(e){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner .apexcharts-series[seriesName='".concat(T.escapeString(e),"']"))}},{key:"isSeriesHidden",value:function(e){var t=this.getSeriesByName(e),a=parseInt(t.getAttribute("data:realIndex"),10);return{isHidden:t.classList.contains("apexcharts-series-collapsed"),realIndex:a}}},{key:"addCollapsedClassToSeries",value:function(e,t){var a=this.w;function s(r){for(var n=0;n<r.length;n++)r[n].index===t&&e.node.classList.add("apexcharts-series-collapsed")}s(a.globals.collapsedSeries),s(a.globals.ancillaryCollapsedSeries)}},{key:"toggleSeries",value:function(e){var t=this.isSeriesHidden(e);return this.ctx.legend.legendHelpers.toggleDataSeries(t.realIndex,t.isHidden),t.isHidden}},{key:"showSeries",value:function(e){var t=this.isSeriesHidden(e);t.isHidden&&this.ctx.legend.legendHelpers.toggleDataSeries(t.realIndex,!0)}},{key:"hideSeries",value:function(e){var t=this.isSeriesHidden(e);t.isHidden||this.ctx.legend.legendHelpers.toggleDataSeries(t.realIndex,!1)}},{key:"resetSeries",value:function(){var e=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],s=this.w,r=T.clone(s.globals.initialSeries);s.globals.previousPaths=[],a?(s.globals.collapsedSeries=[],s.globals.ancillaryCollapsedSeries=[],s.globals.collapsedSeriesIndices=[],s.globals.ancillaryCollapsedSeriesIndices=[]):r=this.emptyCollapsedSeries(r),s.config.series=r,e&&(t&&(s.globals.zoomed=!1,this.ctx.updateHelpers.revertDefaultAxisMinMax()),this.ctx.updateHelpers._updateSeries(r,s.config.chart.animations.dynamicAnimation.enabled))}},{key:"emptyCollapsedSeries",value:function(e){for(var t=this.w,a=0;a<e.length;a++)t.globals.collapsedSeriesIndices.indexOf(a)>-1&&(e[a].data=[]);return e}},{key:"highlightSeries",value:function(e){var t=this.w,a=this.getSeriesByName(e),s=parseInt(a==null?void 0:a.getAttribute("data:realIndex"),10),r=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series, .apexcharts-datalabels, .apexcharts-yaxis"),n=null,o=null,l=null;if(t.globals.axisCharts||t.config.chart.type==="radialBar")if(t.globals.axisCharts){n=t.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(s,"']")),o=t.globals.dom.baseEl.querySelector(".apexcharts-datalabels[data\\:realIndex='".concat(s,"']"));var c=t.globals.seriesYAxisReverseMap[s];l=t.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(c,"']"))}else n=t.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(s+1,"']"));else n=t.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(s+1,"'] path"));for(var u=0;u<r.length;u++)r[u].classList.add(this.legendInactiveClass);if(n)t.globals.axisCharts||n.parentNode.classList.remove(this.legendInactiveClass),n.classList.remove(this.legendInactiveClass),o!==null&&o.classList.remove(this.legendInactiveClass),l!==null&&l.classList.remove(this.legendInactiveClass);else for(var d=0;d<r.length;d++)r[d].classList.remove(this.legendInactiveClass)}},{key:"toggleSeriesOnHover",value:function(e,t){var a=this.w;t||(t=e.target);var s=a.globals.dom.baseEl.querySelectorAll(".apexcharts-series, .apexcharts-datalabels, .apexcharts-yaxis");if(e.type==="mousemove"){var r=parseInt(t.getAttribute("rel"),10)-1;this.highlightSeries(a.globals.seriesNames[r])}else if(e.type==="mouseout")for(var n=0;n<s.length;n++)s[n].classList.remove(this.legendInactiveClass)}},{key:"highlightRangeInSeries",value:function(e,t){var a=this,s=this.w,r=s.globals.dom.baseEl.getElementsByClassName("apexcharts-heatmap-rect"),n=function(c){for(var u=0;u<r.length;u++)r[u].classList[c](a.legendInactiveClass)};if(e.type==="mousemove"){var o=parseInt(t.getAttribute("rel"),10)-1;n("add");var l=s.config.plotOptions.heatmap.colorScale.ranges;(function(c,u){for(var d=0;d<r.length;d++){var h=Number(r[d].getAttribute("val"));h>=c.from&&(h<c.to||c.to===u&&h===u)&&r[d].classList.remove(a.legendInactiveClass)}})(l[o],l.reduce((function(c,u){return Math.max(c,u.to)}),0))}else e.type==="mouseout"&&n("remove")}},{key:"getActiveConfigSeriesIndex",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"asc",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],a=this.w,s=0;if(a.config.series.length>1){for(var r=a.config.series.map((function(o,l){return o.data&&o.data.length>0&&a.globals.collapsedSeriesIndices.indexOf(l)===-1&&(!a.globals.comboCharts||t.length===0||t.length&&t.indexOf(a.config.series[l].type)>-1)?l:-1})),n=e==="asc"?0:r.length-1;e==="asc"?n<r.length:n>=0;e==="asc"?n++:n--)if(r[n]!==-1){s=r[n];break}}return s}},{key:"getBarSeriesIndices",value:function(){return this.w.globals.comboCharts?this.w.config.series.map((function(e,t){return e.type==="bar"||e.type==="column"?t:-1})).filter((function(e){return e!==-1})):this.w.config.series.map((function(e,t){return t}))}},{key:"getPreviousPaths",value:function(){var e=this.w;function t(n,o,l){for(var c=n[o].childNodes,u={type:l,paths:[],realIndex:n[o].getAttribute("data:realIndex")},d=0;d<c.length;d++)if(c[d].hasAttribute("pathTo")){var h=c[d].getAttribute("pathTo");u.paths.push({d:h})}e.globals.previousPaths.push(u)}e.globals.previousPaths=[],["line","area","bar","rangebar","rangeArea","candlestick","radar"].forEach((function(n){for(var o,l=(o=n,e.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(o,"-series .apexcharts-series"))),c=0;c<l.length;c++)t(l,c,n)}));var a=e.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(e.config.chart.type," .apexcharts-series"));if(a.length>0)for(var s=function(n){for(var o=e.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(e.config.chart.type," .apexcharts-series[data\\:realIndex='").concat(n,"'] rect")),l=[],c=function(d){var h=function(g){return o[d].getAttribute(g)},f={x:parseFloat(h("x")),y:parseFloat(h("y")),width:parseFloat(h("width")),height:parseFloat(h("height"))};l.push({rect:f,color:o[d].getAttribute("color")})},u=0;u<o.length;u++)c(u);e.globals.previousPaths.push(l)},r=0;r<a.length;r++)s(r);e.globals.axisCharts||(e.globals.previousPaths=e.globals.series)}},{key:"clearPreviousPaths",value:function(){var e=this.w;e.globals.previousPaths=[],e.globals.allSeriesCollapsed=!1}},{key:"handleNoData",value:function(){var e=this.w,t=e.config.noData,a=new V(this.ctx),s=e.globals.svgWidth/2,r=e.globals.svgHeight/2,n="middle";if(e.globals.noData=!0,e.globals.animationEnded=!0,t.align==="left"?(s=10,n="start"):t.align==="right"&&(s=e.globals.svgWidth-10,n="end"),t.verticalAlign==="top"?r=50:t.verticalAlign==="bottom"&&(r=e.globals.svgHeight-50),s+=t.offsetX,r=r+parseInt(t.style.fontSize,10)+2+t.offsetY,t.text!==void 0&&t.text!==""){var o=a.drawText({x:s,y:r,text:t.text,textAnchor:n,fontSize:t.style.fontSize,fontFamily:t.style.fontFamily,foreColor:t.style.color,opacity:1,class:"apexcharts-text-nodata"});e.globals.dom.Paper.add(o)}}},{key:"setNullSeriesToZeroValues",value:function(e){for(var t=this.w,a=0;a<e.length;a++)if(e[a].length===0)for(var s=0;s<e[t.globals.maxValsInArrayIndex].length;s++)e[a].push(0);return e}},{key:"hasAllSeriesEqualX",value:function(){for(var e=!0,t=this.w,a=this.filteredSeriesX(),s=0;s<a.length-1;s++)if(a[s][0]!==a[s+1][0]){e=!1;break}return t.globals.allSeriesHasEqualX=e,e}},{key:"filteredSeriesX",value:function(){var e=this.w.globals.seriesX.map((function(t){return t.length>0?t:[]}));return e}}]),i})(),Pd=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.twoDSeries=[],this.threeDSeries=[],this.twoDSeriesX=[],this.seriesGoals=[],this.coreUtils=new nt(this.ctx)}return te(i,[{key:"isMultiFormat",value:function(){return this.isFormatXY()||this.isFormat2DArray()}},{key:"isFormatXY",value:function(){var e=this.w.config.series.slice(),t=new ri(this.ctx);if(this.activeSeriesIndex=t.getActiveConfigSeriesIndex(),e[this.activeSeriesIndex].data!==void 0&&e[this.activeSeriesIndex].data.length>0&&e[this.activeSeriesIndex].data[0]!==null&&e[this.activeSeriesIndex].data[0].x!==void 0&&e[this.activeSeriesIndex].data[0]!==null)return!0}},{key:"isFormat2DArray",value:function(){var e=this.w.config.series.slice(),t=new ri(this.ctx);if(this.activeSeriesIndex=t.getActiveConfigSeriesIndex(),e[this.activeSeriesIndex].data!==void 0&&e[this.activeSeriesIndex].data.length>0&&e[this.activeSeriesIndex].data[0]!==void 0&&e[this.activeSeriesIndex].data[0]!==null&&e[this.activeSeriesIndex].data[0].constructor===Array)return!0}},{key:"handleFormat2DArray",value:function(e,t){for(var a=this.w.config,s=this.w.globals,r=a.chart.type==="boxPlot"||a.series[t].type==="boxPlot",n=0;n<e[t].data.length;n++)if(e[t].data[n][1]!==void 0&&(Array.isArray(e[t].data[n][1])&&e[t].data[n][1].length===4&&!r?this.twoDSeries.push(T.parseNumber(e[t].data[n][1][3])):e[t].data[n].length>=5?this.twoDSeries.push(T.parseNumber(e[t].data[n][4])):this.twoDSeries.push(T.parseNumber(e[t].data[n][1])),s.dataFormatXNumeric=!0),a.xaxis.type==="datetime"){var o=new Date(e[t].data[n][0]);o=new Date(o).getTime(),this.twoDSeriesX.push(o)}else this.twoDSeriesX.push(e[t].data[n][0]);for(var l=0;l<e[t].data.length;l++)e[t].data[l][2]!==void 0&&(this.threeDSeries.push(e[t].data[l][2]),s.isDataXYZ=!0)}},{key:"handleFormatXY",value:function(e,t){var a=this.w.config,s=this.w.globals,r=new pt(this.ctx),n=t;s.collapsedSeriesIndices.indexOf(t)>-1&&(n=this.activeSeriesIndex);for(var o=0;o<e[t].data.length;o++)e[t].data[o].y!==void 0&&(Array.isArray(e[t].data[o].y)?this.twoDSeries.push(T.parseNumber(e[t].data[o].y[e[t].data[o].y.length-1])):this.twoDSeries.push(T.parseNumber(e[t].data[o].y))),e[t].data[o].goals!==void 0&&Array.isArray(e[t].data[o].goals)?(this.seriesGoals[t]===void 0&&(this.seriesGoals[t]=[]),this.seriesGoals[t].push(e[t].data[o].goals)):(this.seriesGoals[t]===void 0&&(this.seriesGoals[t]=[]),this.seriesGoals[t].push(null));for(var l=0;l<e[n].data.length;l++){var c=typeof e[n].data[l].x=="string",u=Array.isArray(e[n].data[l].x),d=!u&&!!r.isValidDate(e[n].data[l].x);if(c||d)if(c||a.xaxis.convertedCatToNumeric){var h=s.isBarHorizontal&&s.isRangeData;a.xaxis.type!=="datetime"||h?(this.fallbackToCategory=!0,this.twoDSeriesX.push(e[n].data[l].x),isNaN(e[n].data[l].x)||this.w.config.xaxis.type==="category"||typeof e[n].data[l].x=="string"||(s.isXNumeric=!0)):this.twoDSeriesX.push(r.parseDate(e[n].data[l].x))}else a.xaxis.type==="datetime"?this.twoDSeriesX.push(r.parseDate(e[n].data[l].x.toString())):(s.dataFormatXNumeric=!0,s.isXNumeric=!0,this.twoDSeriesX.push(parseFloat(e[n].data[l].x)));else u?(this.fallbackToCategory=!0,this.twoDSeriesX.push(e[n].data[l].x)):(s.isXNumeric=!0,s.dataFormatXNumeric=!0,this.twoDSeriesX.push(e[n].data[l].x))}if(e[t].data[0]&&e[t].data[0].z!==void 0){for(var f=0;f<e[t].data.length;f++)this.threeDSeries.push(e[t].data[f].z);s.isDataXYZ=!0}}},{key:"handleRangeData",value:function(e,t){var a=this.w.globals,s={};return this.isFormat2DArray()?s=this.handleRangeDataFormat("array",e,t):this.isFormatXY()&&(s=this.handleRangeDataFormat("xy",e,t)),a.seriesRangeStart[t]=s.start===void 0?[]:s.start,a.seriesRangeEnd[t]=s.end===void 0?[]:s.end,a.seriesRange[t]=s.rangeUniques,a.seriesRange.forEach((function(r,n){r&&r.forEach((function(o,l){o.y.forEach((function(c,u){for(var d=0;d<o.y.length;d++)if(u!==d){var h=c.y1,f=c.y2,g=o.y[d].y1;h<=o.y[d].y2&&g<=f&&(o.overlaps.indexOf(c.rangeName)<0&&o.overlaps.push(c.rangeName),o.overlaps.indexOf(o.y[d].rangeName)<0&&o.overlaps.push(o.y[d].rangeName))}}))}))})),s}},{key:"handleCandleStickBoxData",value:function(e,t){var a=this.w.globals,s={};return this.isFormat2DArray()?s=this.handleCandleStickBoxDataFormat("array",e,t):this.isFormatXY()&&(s=this.handleCandleStickBoxDataFormat("xy",e,t)),a.seriesCandleO[t]=s.o,a.seriesCandleH[t]=s.h,a.seriesCandleM[t]=s.m,a.seriesCandleL[t]=s.l,a.seriesCandleC[t]=s.c,s}},{key:"handleRangeDataFormat",value:function(e,t,a){var s=[],r=[],n=t[a].data.filter((function(u,d,h){return d===h.findIndex((function(f){return f.x===u.x}))})).map((function(u,d){return{x:u.x,overlaps:[],y:[]}}));if(e==="array")for(var o=0;o<t[a].data.length;o++)Array.isArray(t[a].data[o])?(s.push(t[a].data[o][1][0]),r.push(t[a].data[o][1][1])):(s.push(t[a].data[o]),r.push(t[a].data[o]));else if(e==="xy")for(var l=function(u){var d=Array.isArray(t[a].data[u].y),h=T.randomId(),f=t[a].data[u].x,g={y1:d?t[a].data[u].y[0]:t[a].data[u].y,y2:d?t[a].data[u].y[1]:t[a].data[u].y,rangeName:h};t[a].data[u].rangeName=h;var p=n.findIndex((function(m){return m.x===f}));n[p].y.push(g),s.push(g.y1),r.push(g.y2)},c=0;c<t[a].data.length;c++)l(c);return{start:s,end:r,rangeUniques:n}}},{key:"handleCandleStickBoxDataFormat",value:function(e,t,a){var s=this.w,r=s.config.chart.type==="boxPlot"||s.config.series[a].type==="boxPlot",n=[],o=[],l=[],c=[],u=[];if(e==="array")if(r&&t[a].data[0].length===6||!r&&t[a].data[0].length===5)for(var d=0;d<t[a].data.length;d++)n.push(t[a].data[d][1]),o.push(t[a].data[d][2]),r?(l.push(t[a].data[d][3]),c.push(t[a].data[d][4]),u.push(t[a].data[d][5])):(c.push(t[a].data[d][3]),u.push(t[a].data[d][4]));else for(var h=0;h<t[a].data.length;h++)Array.isArray(t[a].data[h][1])&&(n.push(t[a].data[h][1][0]),o.push(t[a].data[h][1][1]),r?(l.push(t[a].data[h][1][2]),c.push(t[a].data[h][1][3]),u.push(t[a].data[h][1][4])):(c.push(t[a].data[h][1][2]),u.push(t[a].data[h][1][3])));else if(e==="xy")for(var f=0;f<t[a].data.length;f++)Array.isArray(t[a].data[f].y)&&(n.push(t[a].data[f].y[0]),o.push(t[a].data[f].y[1]),r?(l.push(t[a].data[f].y[2]),c.push(t[a].data[f].y[3]),u.push(t[a].data[f].y[4])):(c.push(t[a].data[f].y[2]),u.push(t[a].data[f].y[3])));return{o:n,h:o,m:l,l:c,c:u}}},{key:"parseDataAxisCharts",value:function(e){var t=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.ctx,s=this.w.config,r=this.w.globals,n=new pt(a),o=s.labels.length>0?s.labels.slice():s.xaxis.categories.slice();r.isRangeBar=s.chart.type==="rangeBar"&&r.isBarHorizontal,r.hasXaxisGroups=s.xaxis.type==="category"&&s.xaxis.group.groups.length>0,r.hasXaxisGroups&&(r.groups=s.xaxis.group.groups),e.forEach((function(f,g){f.name!==void 0?r.seriesNames.push(f.name):r.seriesNames.push("series-"+parseInt(g+1,10))})),this.coreUtils.setSeriesYAxisMappings();var l=[],c=ft(new Set(s.series.map((function(f){return f.group}))));s.series.forEach((function(f,g){var p=c.indexOf(f.group);l[p]||(l[p]=[]),l[p].push(r.seriesNames[g])})),r.seriesGroups=l;for(var u=function(){for(var f=0;f<o.length;f++)if(typeof o[f]=="string"){if(!n.isValidDate(o[f]))throw new Error("You have provided invalid Date format. Please provide a valid JavaScript Date");t.twoDSeriesX.push(n.parseDate(o[f]))}else t.twoDSeriesX.push(o[f])},d=0;d<e.length;d++){if(this.twoDSeries=[],this.twoDSeriesX=[],this.threeDSeries=[],e[d].data===void 0)return void console.error("It is a possibility that you may have not included 'data' property in series.");if(s.chart.type!=="rangeBar"&&s.chart.type!=="rangeArea"&&e[d].type!=="rangeBar"&&e[d].type!=="rangeArea"||(r.isRangeData=!0,this.handleRangeData(e,d)),this.isMultiFormat())this.isFormat2DArray()?this.handleFormat2DArray(e,d):this.isFormatXY()&&this.handleFormatXY(e,d),s.chart.type!=="candlestick"&&e[d].type!=="candlestick"&&s.chart.type!=="boxPlot"&&e[d].type!=="boxPlot"||this.handleCandleStickBoxData(e,d),r.series.push(this.twoDSeries),r.labels.push(this.twoDSeriesX),r.seriesX.push(this.twoDSeriesX),r.seriesGoals=this.seriesGoals,d!==this.activeSeriesIndex||this.fallbackToCategory||(r.isXNumeric=!0);else{s.xaxis.type==="datetime"?(r.isXNumeric=!0,u(),r.seriesX.push(this.twoDSeriesX)):s.xaxis.type==="numeric"&&(r.isXNumeric=!0,o.length>0&&(this.twoDSeriesX=o,r.seriesX.push(this.twoDSeriesX))),r.labels.push(this.twoDSeriesX);var h=e[d].data.map((function(f){return T.parseNumber(f)}));r.series.push(h)}r.seriesZ.push(this.threeDSeries),e[d].color!==void 0?r.seriesColors.push(e[d].color):r.seriesColors.push(void 0)}return this.w}},{key:"parseDataNonAxisCharts",value:function(e){var t=this.w.globals,a=this.w.config,s=Array.isArray(e)&&e.every((function(u){return typeof u=="number"}))&&a.labels.length>0,r=Array.isArray(e)&&e.some((function(u){return u&&Tt(u)==="object"&&u.data||u&&Tt(u)==="object"&&u.parsing}));if(s&&r&&console.warn("ApexCharts: Both old format (numeric series + labels) and new format (series objects with data/parsing) detected. Using old format for backward compatibility."),s){t.series=e.slice(),t.seriesNames=a.labels.slice();for(var n=0;n<t.series.length;n++)t.seriesNames[n]===void 0&&t.seriesNames.push("series-"+(n+1));return this.w}if(Array.isArray(e)&&e.every((function(u){return typeof u=="number"}))){t.series=e.slice(),t.seriesNames=[];for(var o=0;o<t.series.length;o++)t.seriesNames.push(a.labels[o]||"series-".concat(o+1));return this.w}var l=this.extractPieDataFromSeries(e);t.series=l.values,t.seriesNames=l.labels,a.chart.type==="radialBar"&&(t.series=t.series.map((function(u){var d=T.parseNumber(u);return d>100&&console.warn("ApexCharts: RadialBar value ".concat(d," > 100, consider using percentage values (0-100)")),d})));for(var c=0;c<t.series.length;c++)t.seriesNames[c]===void 0&&t.seriesNames.push("series-"+(c+1));return this.w}},{key:"resetParsingFlags",value:function(){var e=this.w;e.globals.dataWasParsed=!1,e.globals.originalSeries=null,e.config.series&&e.config.series.forEach((function(t){t.__apexParsed&&delete t.__apexParsed}))}},{key:"extractPieDataFromSeries",value:function(e){var t=[],a=[];if(!Array.isArray(e))return console.warn("ApexCharts: Expected array for series data"),{values:[],labels:[]};if(e.length===0)return console.warn("ApexCharts: Empty series array"),{values:[],labels:[]};var s=e[0];return Tt(s)==="object"&&s!==null&&s.data?(this.extractPieDataFromSeriesObjects(e,t,a),{values:t,labels:a}):(console.warn("ApexCharts: Unsupported series format for pie/donut/radialBar. Expected series objects with data property."),{values:[],labels:[]})}},{key:"extractPieDataFromSeriesObjects",value:function(e,t,a){e.forEach((function(s,r){s.data&&Array.isArray(s.data)?s.data.forEach((function(n){Tt(n)==="object"&&n!==null?n.x!==void 0&&n.y!==void 0?(a.push(String(n.x)),t.push(T.parseNumber(n.y))):console.warn("ApexCharts: Invalid data point format for pie chart. Expected {x, y} format:",n):console.warn("ApexCharts: Expected object data point, got:",Tt(n))})):console.warn("ApexCharts: Series ".concat(r," has no valid data array"))}))}},{key:"handleExternalLabelsData",value:function(e){var t=this.w.config,a=this.w.globals;t.xaxis.categories.length>0?a.labels=t.xaxis.categories:t.labels.length>0?a.labels=t.labels.slice():this.fallbackToCategory?(a.labels=a.labels[0],a.seriesRange.length&&(a.seriesRange.map((function(s){s.forEach((function(r){a.labels.indexOf(r.x)<0&&r.x&&a.labels.push(r.x)}))})),a.labels=Array.from(new Set(a.labels.map(JSON.stringify)),JSON.parse)),t.xaxis.convertedCatToNumeric&&(new Br(t).convertCatToNumericXaxis(t,this.ctx,a.seriesX[0]),this._generateExternalLabels(e))):this._generateExternalLabels(e)}},{key:"_generateExternalLabels",value:function(e){var t=this.w.globals,a=this.w.config,s=[];if(t.axisCharts){if(t.series.length>0)if(this.isFormatXY())for(var r=a.series.map((function(d,h){return d.data.filter((function(f,g,p){return p.findIndex((function(m){return m.x===f.x}))===g}))})),n=r.reduce((function(d,h,f,g){return g[d].length>h.length?d:f}),0),o=0;o<r[n].length;o++)s.push(o+1);else for(var l=0;l<t.series[t.maxValsInArrayIndex].length;l++)s.push(l+1);t.seriesX=[];for(var c=0;c<e.length;c++)t.seriesX.push(s);this.w.globals.isBarHorizontal||(t.isXNumeric=!0)}if(s.length===0){s=t.axisCharts?[]:t.series.map((function(d,h){return h+1}));for(var u=0;u<e.length;u++)t.seriesX.push(s)}t.labels=s,a.xaxis.convertedCatToNumeric&&(t.categoryLabels=s.map((function(d){return a.xaxis.labels.formatter(d)}))),t.noLabelsProvided=!0}},{key:"parseRawDataIfNeeded",value:function(e){var t=this,a=this.w.config,s=this.w.globals,r=a.parsing;if(s.dataWasParsed||!r&&!e.some((function(o){return o.parsing})))return e;var n=e.map((function(o,l){var c,u,d;if(!o.data||!Array.isArray(o.data)||o.data.length===0)return o;var h={x:((c=o.parsing)===null||c===void 0?void 0:c.x)||(r==null?void 0:r.x),y:((u=o.parsing)===null||u===void 0?void 0:u.y)||(r==null?void 0:r.y),z:((d=o.parsing)===null||d===void 0?void 0:d.z)||(r==null?void 0:r.z)};if(!h.x&&!h.y)return o;var f=o.data[0];if(Tt(f)==="object"&&f!==null&&(f.hasOwnProperty("x")||f.hasOwnProperty("y"))||Array.isArray(f))return o;if(!h.x||!h.y||Array.isArray(h.y)&&h.y.length===0)return console.warn("ApexCharts: Series ".concat(l," has parsing config but missing x or y field specification")),o;var g=o.data.map((function(p,m){if(Tt(p)!=="object"||p===null)return console.warn("ApexCharts: Series ".concat(l,", data point ").concat(m," is not an object, skipping parsing")),p;var v,b=t.getNestedValue(p,h.x),x=void 0;if(Array.isArray(h.y)){var k=h.y.map((function(w){return t.getNestedValue(p,w)}));v=t.w.config.chart.type==="bubble"&&k.length===2?k[0]:k}else v=t.getNestedValue(p,h.y);h.z&&(x=t.getNestedValue(p,h.z)),b===void 0&&console.warn("ApexCharts: Series ".concat(l,", data point ").concat(m," missing field '").concat(h.x,"'")),v===void 0&&console.warn("ApexCharts: Series ".concat(l,", data point ").concat(m," missing field '").concat(h.y,"'"));var y={x:b,y:v};if(t.w.config.chart.type==="bubble"&&Array.isArray(h.y)&&h.y.length===2){var A=t.getNestedValue(p,h.y[1]);A!==void 0&&(y.z=A)}return x!==void 0&&(y.z=x),y}));return $($({},o),{},{data:g,__apexParsed:!0})}));return s.dataWasParsed=!0,s.originalSeries||(s.originalSeries=T.clone(e)),n}},{key:"getNestedValue",value:function(e,t){if(e&&Tt(e)==="object"&&t){if(t.indexOf(".")===-1)return e[t];for(var a=t.split("."),s=e,r=0;r<a.length;r++){if(s==null||Tt(s)!=="object")return;s=s[a[r]]}return s}}},{key:"parseData",value:function(e){var t=this.w,a=t.config,s=t.globals;if(e=this.parseRawDataIfNeeded(e),a.series=e,s.initialSeries=T.clone(e),this.excludeCollapsedSeriesInYAxis(),this.fallbackToCategory=!1,this.ctx.core.resetGlobals(),this.ctx.core.isMultipleY(),s.axisCharts?(this.parseDataAxisCharts(e),this.coreUtils.getLargestSeries()):this.parseDataNonAxisCharts(e),a.chart.stacked){var r=new ri(this.ctx);s.series=r.setNullSeriesToZeroValues(s.series)}this.coreUtils.getSeriesTotals(),s.axisCharts&&(s.stackedSeriesTotals=this.coreUtils.getStackedSeriesTotals(),s.stackedSeriesTotalsByGroups=this.coreUtils.getStackedSeriesTotalsByGroups()),this.coreUtils.getPercentSeries(),s.dataFormatXNumeric||s.isXNumeric&&(a.xaxis.type!=="numeric"||a.labels.length!==0||a.xaxis.categories.length!==0)||this.handleExternalLabelsData(e);for(var n=this.coreUtils.getCategoryLabels(s.labels),o=0;o<n.length;o++)if(Array.isArray(n[o])){s.isMultiLineX=!0;break}}},{key:"excludeCollapsedSeriesInYAxis",value:function(){var e=this.w,t=[];e.globals.seriesYAxisMap.forEach((function(a,s){var r=0;a.forEach((function(n){e.globals.collapsedSeriesIndices.indexOf(n)!==-1&&r++})),r>0&&r==a.length&&t.push(s)})),e.globals.ignoreYAxisIndexes=t.map((function(a){return a}))}}]),i})(),wr=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"svgStringToNode",value:function(e){return new DOMParser().parseFromString(e,"image/svg+xml").documentElement}},{key:"scaleSvgNode",value:function(e,t){var a=parseFloat(e.getAttributeNS(null,"width")),s=parseFloat(e.getAttributeNS(null,"height"));e.setAttributeNS(null,"width",a*t),e.setAttributeNS(null,"height",s*t),e.setAttributeNS(null,"viewBox","0 0 "+a+" "+s)}},{key:"getSvgString",value:function(e){var t=this;return new Promise((function(a){var s=t.w,r=e||s.config.chart.toolbar.export.scale||s.config.chart.toolbar.export.width/s.globals.svgWidth;r||(r=1);var n=s.globals.svgWidth*r,o=s.globals.svgHeight*r,l=s.globals.dom.elWrap.cloneNode(!0);l.style.width=n+"px",l.style.height=o+"px";var c=new XMLSerializer().serializeToString(l),u=`
|
|
175
|
+
.apexcharts-tooltip, .apexcharts-toolbar, .apexcharts-xaxistooltip, .apexcharts-yaxistooltip, .apexcharts-xcrosshairs, .apexcharts-ycrosshairs, .apexcharts-zoom-rect, .apexcharts-selection-rect {
|
|
176
|
+
display: none;
|
|
177
|
+
}
|
|
178
|
+
`;s.config.legend.show&&s.globals.dom.elLegendWrap&&s.globals.dom.elLegendWrap.children.length>0&&(u+=Cx);var d=`
|
|
179
|
+
<svg xmlns="http://www.w3.org/2000/svg"
|
|
180
|
+
version="1.1"
|
|
181
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
182
|
+
class="apexcharts-svg"
|
|
183
|
+
xmlns:data="ApexChartsNS"
|
|
184
|
+
transform="translate(0, 0)"
|
|
185
|
+
width="`.concat(s.globals.svgWidth,'px" height="').concat(s.globals.svgHeight,`px">
|
|
186
|
+
<foreignObject width="100%" height="100%">
|
|
187
|
+
<div xmlns="http://www.w3.org/1999/xhtml" style="width:`).concat(n,"px; height:").concat(o,`px;">
|
|
188
|
+
<style type="text/css">
|
|
189
|
+
`).concat(u,`
|
|
190
|
+
</style>
|
|
191
|
+
`).concat(c,`
|
|
192
|
+
</div>
|
|
193
|
+
</foreignObject>
|
|
194
|
+
</svg>
|
|
195
|
+
`),h=t.svgStringToNode(d);r!==1&&t.scaleSvgNode(h,r),t.convertImagesToBase64(h).then((function(){d=new XMLSerializer().serializeToString(h),a(d.replace(/ /g," "))}))}))}},{key:"convertImagesToBase64",value:function(e){var t=this,a=e.getElementsByTagName("image"),s=Array.from(a).map((function(r){var n=r.getAttributeNS("http://www.w3.org/1999/xlink","href");return n&&!n.startsWith("data:")?t.getBase64FromUrl(n).then((function(o){r.setAttributeNS("http://www.w3.org/1999/xlink","href",o)})).catch((function(o){console.error("Error converting image to base64:",o)})):Promise.resolve()}));return Promise.all(s)}},{key:"getBase64FromUrl",value:function(e){return new Promise((function(t,a){var s=new Image;s.crossOrigin="Anonymous",s.onload=function(){var r=document.createElement("canvas");r.width=s.width,r.height=s.height,r.getContext("2d").drawImage(s,0,0),t(r.toDataURL())},s.onerror=a,s.src=e}))}},{key:"svgUrl",value:function(){var e=this;return new Promise((function(t){e.getSvgString().then((function(a){var s=new Blob([a],{type:"image/svg+xml;charset=utf-8"});t(URL.createObjectURL(s))}))}))}},{key:"dataURI",value:function(e){var t=this;return new Promise((function(a){var s=t.w,r=e?e.scale||e.width/s.globals.svgWidth:1,n=document.createElement("canvas");n.width=s.globals.svgWidth*r,n.height=parseInt(s.globals.dom.elWrap.style.height,10)*r;var o=s.config.chart.background!=="transparent"&&s.config.chart.background?s.config.chart.background:"#fff",l=n.getContext("2d");l.fillStyle=o,l.fillRect(0,0,n.width*r,n.height*r),t.getSvgString(r).then((function(c){var u="data:image/svg+xml,"+encodeURIComponent(c),d=new Image;d.crossOrigin="anonymous",d.onload=function(){if(l.drawImage(d,0,0),n.msToBlob){var h=n.msToBlob();a({blob:h})}else{var f=n.toDataURL("image/png");a({imgURI:f})}},d.src=u}))}))}},{key:"exportToSVG",value:function(){var e=this;this.svgUrl().then((function(t){e.triggerDownload(t,e.w.config.chart.toolbar.export.svg.filename,".svg")}))}},{key:"exportToPng",value:function(){var e=this,t=this.w.config.chart.toolbar.export.scale,a=this.w.config.chart.toolbar.export.width,s=t?{scale:t}:a?{width:a}:void 0;this.dataURI(s).then((function(r){var n=r.imgURI,o=r.blob;o?navigator.msSaveOrOpenBlob(o,e.w.globals.chartID+".png"):e.triggerDownload(n,e.w.config.chart.toolbar.export.png.filename,".png")}))}},{key:"exportToCSV",value:function(e){var t=this,a=e.series,s=e.fileName,r=e.columnDelimiter,n=r===void 0?",":r,o=e.lineDelimiter,l=o===void 0?`
|
|
196
|
+
`:o,c=this.w;a||(a=c.config.series);var u=[],d=[],h="",f=c.globals.series.map((function(y,A){return c.globals.collapsedSeriesIndices.indexOf(A)===-1?y:[]})),g=function(y){return typeof c.config.chart.toolbar.export.csv.categoryFormatter=="function"?c.config.chart.toolbar.export.csv.categoryFormatter(y):c.config.xaxis.type==="datetime"&&String(y).length>=10?new Date(y).toDateString():T.isNumber(y)?y:y.split(n).join("")},p=function(y){return typeof c.config.chart.toolbar.export.csv.valueFormatter=="function"?c.config.chart.toolbar.export.csv.valueFormatter(y):y},m=Math.max.apply(Math,ft(a.map((function(y){return y.data?y.data.length:0})))),v=new Pd(this.ctx),b=new xa(this.ctx),x=function(y){var A="";if(c.globals.axisCharts){if(c.config.xaxis.type==="category"||c.config.xaxis.convertedCatToNumeric)if(c.globals.isBarHorizontal){var w=c.globals.yLabelFormatters[0],S=new ri(t.ctx).getActiveConfigSeriesIndex();A=w(c.globals.labels[y],{seriesIndex:S,dataPointIndex:y,w:c})}else A=b.getLabel(c.globals.labels,c.globals.timescaleLabels,0,y).text;c.config.xaxis.type==="datetime"&&(c.config.xaxis.categories.length?A=c.config.xaxis.categories[y]:c.config.labels.length&&(A=c.config.labels[y]))}else A=c.config.labels[y];return A===null?"nullvalue":(Array.isArray(A)&&(A=A.join(" ")),T.isNumber(A)?A:A.split(n).join(""))},k=function(y,A){if(u.length&&A===0&&d.push(u.join(n)),y.data){y.data=y.data.length&&y.data||ft(Array(m)).map((function(){return""}));for(var w=0;w<y.data.length;w++){u=[];var S=x(w);if(S!=="nullvalue"){if(S||(v.isFormatXY()?S=a[A].data[w].x:v.isFormat2DArray()&&(S=a[A].data[w]?a[A].data[w][0]:"")),A===0){u.push(g(S));for(var C=0;C<c.globals.series.length;C++){var M,E=v.isFormatXY()?(M=a[C].data[w])===null||M===void 0?void 0:M.y:f[C][w];u.push(p(E))}}(c.config.chart.type==="candlestick"||y.type&&y.type==="candlestick")&&(u.pop(),u.push(c.globals.seriesCandleO[A][w]),u.push(c.globals.seriesCandleH[A][w]),u.push(c.globals.seriesCandleL[A][w]),u.push(c.globals.seriesCandleC[A][w])),(c.config.chart.type==="boxPlot"||y.type&&y.type==="boxPlot")&&(u.pop(),u.push(c.globals.seriesCandleO[A][w]),u.push(c.globals.seriesCandleH[A][w]),u.push(c.globals.seriesCandleM[A][w]),u.push(c.globals.seriesCandleL[A][w]),u.push(c.globals.seriesCandleC[A][w])),c.config.chart.type==="rangeBar"&&(u.pop(),u.push(c.globals.seriesRangeStart[A][w]),u.push(c.globals.seriesRangeEnd[A][w])),u.length&&d.push(u.join(n))}}}};u.push(c.config.chart.toolbar.export.csv.headerCategory),c.config.chart.type==="boxPlot"?(u.push("minimum"),u.push("q1"),u.push("median"),u.push("q3"),u.push("maximum")):c.config.chart.type==="candlestick"?(u.push("open"),u.push("high"),u.push("low"),u.push("close")):c.config.chart.type==="rangeBar"?(u.push("minimum"),u.push("maximum")):a.map((function(y,A){var w=(y.name?y.name:"series-".concat(A))+"";c.globals.axisCharts&&u.push(w.split(n).join("")?w.split(n).join(""):"series-".concat(A))})),c.globals.axisCharts||(u.push(c.config.chart.toolbar.export.csv.headerValue),d.push(u.join(n))),c.globals.allSeriesHasEqualX||!c.globals.axisCharts||c.config.xaxis.categories.length||c.config.labels.length?a.map((function(y,A){c.globals.axisCharts?k(y,A):((u=[]).push(g(c.globals.labels[A])),u.push(p(f[A])),d.push(u.join(n)))})):(function(){var y=new Set,A={};a.forEach((function(w,S){w==null||w.data.forEach((function(C){var M,E;if(v.isFormatXY())M=C.x,E=C.y;else{if(!v.isFormat2DArray())return;M=C[0],E=C[1]}A[M]||(A[M]=Array(a.length).fill("")),A[M][S]=p(E),y.add(M)}))})),u.length&&d.push(u.join(n)),Array.from(y).sort().forEach((function(w){d.push([g(w),A[w].join(n)])}))})(),h+=d.join(l),this.triggerDownload("data:text/csv; charset=utf-8,"+encodeURIComponent("\uFEFF"+h),s||c.config.chart.toolbar.export.csv.filename,".csv")}},{key:"triggerDownload",value:function(e,t,a){var s=document.createElement("a");s.href=e,s.download=(t||this.w.globals.chartID)+a,document.body.appendChild(s),s.click(),document.body.removeChild(s)}}]),i})(),Wr=(function(){function i(e,t){ee(this,i),this.ctx=e,this.elgrid=t,this.w=e.w;var a=this.w;this.axesUtils=new xa(e),this.xaxisLabels=a.globals.labels.slice(),a.globals.timescaleLabels.length>0&&!a.globals.isBarHorizontal&&(this.xaxisLabels=a.globals.timescaleLabels.slice()),a.config.xaxis.overwriteCategories&&(this.xaxisLabels=a.config.xaxis.overwriteCategories),this.drawnLabels=[],this.drawnLabelsRects=[],a.config.xaxis.position==="top"?this.offY=0:this.offY=a.globals.gridHeight,this.offY=this.offY+a.config.xaxis.axisBorder.offsetY,this.isCategoryBarHorizontal=a.config.chart.type==="bar"&&a.config.plotOptions.bar.horizontal,this.xaxisFontSize=a.config.xaxis.labels.style.fontSize,this.xaxisFontFamily=a.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=a.config.xaxis.labels.style.colors,this.xaxisBorderWidth=a.config.xaxis.axisBorder.width,this.isCategoryBarHorizontal&&(this.xaxisBorderWidth=a.config.yaxis[0].axisBorder.width.toString()),String(this.xaxisBorderWidth).indexOf("%")>-1?this.xaxisBorderWidth=a.globals.gridWidth*parseInt(this.xaxisBorderWidth,10)/100:this.xaxisBorderWidth=parseInt(this.xaxisBorderWidth,10),this.xaxisBorderHeight=a.config.xaxis.axisBorder.height,this.yaxis=a.config.yaxis[0]}return te(i,[{key:"drawXaxis",value:function(){var e=this.w,t=new V(this.ctx),a=t.group({class:"apexcharts-xaxis",transform:"translate(".concat(e.config.xaxis.offsetX,", ").concat(e.config.xaxis.offsetY,")")}),s=t.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(e.globals.translateXAxisX,", ").concat(e.globals.translateXAxisY,")")});a.add(s);for(var r=[],n=0;n<this.xaxisLabels.length;n++)r.push(this.xaxisLabels[n]);if(this.drawXAxisLabelAndGroup(!0,t,s,r,e.globals.isXNumeric,(function(g,p){return p})),e.globals.hasXaxisGroups){var o=e.globals.groups;r=[];for(var l=0;l<o.length;l++)r.push(o[l].title);var c={};e.config.xaxis.group.style&&(c.xaxisFontSize=e.config.xaxis.group.style.fontSize,c.xaxisFontFamily=e.config.xaxis.group.style.fontFamily,c.xaxisForeColors=e.config.xaxis.group.style.colors,c.fontWeight=e.config.xaxis.group.style.fontWeight,c.cssClass=e.config.xaxis.group.style.cssClass),this.drawXAxisLabelAndGroup(!1,t,s,r,!1,(function(g,p){return o[g].cols*p}),c)}if(e.config.xaxis.title.text!==void 0){var u=t.group({class:"apexcharts-xaxis-title"}),d=t.drawText({x:e.globals.gridWidth/2+e.config.xaxis.title.offsetX,y:this.offY+parseFloat(this.xaxisFontSize)+(e.config.xaxis.position==="bottom"?e.globals.xAxisLabelsHeight:-e.globals.xAxisLabelsHeight-10)+e.config.xaxis.title.offsetY,text:e.config.xaxis.title.text,textAnchor:"middle",fontSize:e.config.xaxis.title.style.fontSize,fontFamily:e.config.xaxis.title.style.fontFamily,fontWeight:e.config.xaxis.title.style.fontWeight,foreColor:e.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text "+e.config.xaxis.title.style.cssClass});u.add(d),a.add(u)}if(e.config.xaxis.axisBorder.show){var h=e.globals.barPadForNumericAxis,f=t.drawLine(e.globals.padHorizontal+e.config.xaxis.axisBorder.offsetX-h,this.offY,this.xaxisBorderWidth+h,this.offY,e.config.xaxis.axisBorder.color,0,this.xaxisBorderHeight);this.elgrid&&this.elgrid.elGridBorders&&e.config.grid.show?this.elgrid.elGridBorders.add(f):a.add(f)}return a}},{key:"drawXAxisLabelAndGroup",value:function(e,t,a,s,r,n){var o,l=this,c=arguments.length>6&&arguments[6]!==void 0?arguments[6]:{},u=[],d=[],h=this.w,f=c.xaxisFontSize||this.xaxisFontSize,g=c.xaxisFontFamily||this.xaxisFontFamily,p=c.xaxisForeColors||this.xaxisForeColors,m=c.fontWeight||h.config.xaxis.labels.style.fontWeight,v=c.cssClass||h.config.xaxis.labels.style.cssClass,b=h.globals.padHorizontal,x=s.length,k=h.config.xaxis.type==="category"?h.globals.dataPoints:x;if(k===0&&x>k&&(k=x),r){var y=Math.max(Number(h.config.xaxis.tickAmount)||1,k>1?k-1:k);o=h.globals.gridWidth/Math.min(y,x-1),b=b+n(0,o)/2+h.config.xaxis.labels.offsetX}else o=h.globals.gridWidth/k,b=b+n(0,o)+h.config.xaxis.labels.offsetX;for(var A=function(S){var C=b-n(S,o)/2+h.config.xaxis.labels.offsetX;S===0&&x===1&&o/2===b&&k===1&&(C=h.globals.gridWidth/2);var M=l.axesUtils.getLabel(s,h.globals.timescaleLabels,C,S,u,f,e),E=28;if(h.globals.rotateXLabels&&e&&(E=22),h.config.xaxis.title.text&&h.config.xaxis.position==="top"&&(E+=parseFloat(h.config.xaxis.title.style.fontSize)+2),e||(E=E+parseFloat(f)+(h.globals.xAxisLabelsHeight-h.globals.xAxisGroupLabelsHeight)+(h.globals.rotateXLabels?10:0)),M=h.config.xaxis.tickAmount!==void 0&&h.config.xaxis.tickAmount!=="dataPoints"&&h.config.xaxis.type!=="datetime"?l.axesUtils.checkLabelBasedOnTickamount(S,M,x):l.axesUtils.checkForOverflowingLabels(S,M,x,u,d),h.config.xaxis.labels.show){var P=t.drawText({x:M.x,y:l.offY+h.config.xaxis.labels.offsetY+E-(h.config.xaxis.position==="top"?h.globals.xAxisHeight+h.config.xaxis.axisTicks.height-2:0),text:M.text,textAnchor:"middle",fontWeight:M.isBold?600:m,fontSize:f,fontFamily:g,foreColor:Array.isArray(p)?e&&h.config.xaxis.convertedCatToNumeric?p[h.globals.minX+S-1]:p[S]:p,isPlainText:!1,cssClass:(e?"apexcharts-xaxis-label ":"apexcharts-xaxis-group-label ")+v});if(a.add(P),P.on("click",(function(L){if(typeof h.config.chart.events.xAxisLabelClick=="function"){var B=Object.assign({},h,{labelIndex:S});h.config.chart.events.xAxisLabelClick(L,l.ctx,B)}})),e){var D=document.createElementNS(h.globals.SVGNS,"title");D.textContent=Array.isArray(M.text)?M.text.join(" "):M.text,P.node.appendChild(D),M.text!==""&&(u.push(M.text),d.push(M))}}S<x-1&&(b+=n(S+1,o))},w=0;w<=x-1;w++)A(w)}},{key:"drawXaxisInversed",value:function(e){var t,a,s=this,r=this.w,n=new V(this.ctx),o=r.config.yaxis[0].opposite?r.globals.translateYAxisX[e]:0,l=n.group({class:"apexcharts-yaxis apexcharts-xaxis-inversed",rel:e}),c=n.group({class:"apexcharts-yaxis-texts-g apexcharts-xaxis-inversed-texts-g",transform:"translate("+o+", 0)"});l.add(c);var u=[];if(r.config.yaxis[e].show)for(var d=0;d<this.xaxisLabels.length;d++)u.push(this.xaxisLabels[d]);t=r.globals.gridHeight/u.length,a=-t/2.2;var h=r.globals.yLabelFormatters[0],f=r.config.yaxis[0].labels;if(f.show)for(var g=function(y){var A=u[y]===void 0?"":u[y];A=h(A,{seriesIndex:e,dataPointIndex:y,w:r});var w=s.axesUtils.getYAxisForeColor(f.style.colors,e),S=0;Array.isArray(A)&&(S=A.length/2*parseInt(f.style.fontSize,10));var C=f.offsetX-15,M="end";s.yaxis.opposite&&(M="start"),r.config.yaxis[0].labels.align==="left"?(C=f.offsetX,M="start"):r.config.yaxis[0].labels.align==="center"?(C=f.offsetX,M="middle"):r.config.yaxis[0].labels.align==="right"&&(M="end");var E=n.drawText({x:C,y:a+t+f.offsetY-S,text:A,textAnchor:M,foreColor:Array.isArray(w)?w[y]:w,fontSize:f.style.fontSize,fontFamily:f.style.fontFamily,fontWeight:f.style.fontWeight,isPlainText:!1,cssClass:"apexcharts-yaxis-label "+f.style.cssClass,maxWidth:f.maxWidth});c.add(E),E.on("click",(function(L){if(typeof r.config.chart.events.xAxisLabelClick=="function"){var B=Object.assign({},r,{labelIndex:y});r.config.chart.events.xAxisLabelClick(L,s.ctx,B)}}));var P=document.createElementNS(r.globals.SVGNS,"title");if(P.textContent=Array.isArray(A)?A.join(" "):A,E.node.appendChild(P),r.config.yaxis[e].labels.rotate!==0){var D=n.rotateAroundCenter(E.node);E.node.setAttribute("transform","rotate(".concat(r.config.yaxis[e].labels.rotate," 0 ").concat(D.y,")"))}a+=t},p=0;p<=u.length-1;p++)g(p);if(r.config.yaxis[0].title.text!==void 0){var m=n.group({class:"apexcharts-yaxis-title apexcharts-xaxis-title-inversed",transform:"translate("+o+", 0)"}),v=n.drawText({x:r.config.yaxis[0].title.offsetX,y:r.globals.gridHeight/2+r.config.yaxis[0].title.offsetY,text:r.config.yaxis[0].title.text,textAnchor:"middle",foreColor:r.config.yaxis[0].title.style.color,fontSize:r.config.yaxis[0].title.style.fontSize,fontWeight:r.config.yaxis[0].title.style.fontWeight,fontFamily:r.config.yaxis[0].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+r.config.yaxis[0].title.style.cssClass});m.add(v),l.add(m)}var b=0;this.isCategoryBarHorizontal&&r.config.yaxis[0].opposite&&(b=r.globals.gridWidth);var x=r.config.xaxis.axisBorder;if(x.show){var k=n.drawLine(r.globals.padHorizontal+x.offsetX+b,1+x.offsetY,r.globals.padHorizontal+x.offsetX+b,r.globals.gridHeight+x.offsetY,x.color,0);this.elgrid&&this.elgrid.elGridBorders&&r.config.grid.show?this.elgrid.elGridBorders.add(k):l.add(k)}return r.config.yaxis[0].axisTicks.show&&this.axesUtils.drawYAxisTicks(b,u.length,r.config.yaxis[0].axisBorder,r.config.yaxis[0].axisTicks,0,t,l),l}},{key:"drawXaxisTicks",value:function(e,t,a){var s=this.w,r=e;if(!(e<0||e-2>s.globals.gridWidth)){var n=this.offY+s.config.xaxis.axisTicks.offsetY;if(t=t+n+s.config.xaxis.axisTicks.height,s.config.xaxis.position==="top"&&(t=n-s.config.xaxis.axisTicks.height),s.config.xaxis.axisTicks.show){var o=new V(this.ctx).drawLine(e+s.config.xaxis.axisTicks.offsetX,n+s.config.xaxis.offsetY,r+s.config.xaxis.axisTicks.offsetX,t+s.config.xaxis.offsetY,s.config.xaxis.axisTicks.color);a.add(o),o.node.classList.add("apexcharts-xaxis-tick")}}}},{key:"getXAxisTicksPositions",value:function(){var e=this.w,t=[],a=this.xaxisLabels.length,s=e.globals.padHorizontal;if(e.globals.timescaleLabels.length>0)for(var r=0;r<a;r++)s=this.xaxisLabels[r].position,t.push(s);else for(var n=a,o=0;o<n;o++){var l=n;e.globals.isXNumeric&&e.config.chart.type!=="bar"&&(l-=1),s+=e.globals.gridWidth/l,t.push(s)}return t}},{key:"xAxisLabelCorrections",value:function(){var e=this.w,t=new V(this.ctx),a=e.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g"),s=e.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-texts-g text:not(.apexcharts-xaxis-group-label)"),r=e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-inversed text"),n=e.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-inversed-texts-g text tspan");if(e.globals.rotateXLabels||e.config.xaxis.labels.rotateAlways)for(var o=0;o<s.length;o++){var l=t.rotateAroundCenter(s[o]);l.y=l.y-1,l.x=l.x+1,s[o].setAttribute("transform","rotate(".concat(e.config.xaxis.labels.rotate," ").concat(l.x," ").concat(l.y,")")),s[o].setAttribute("text-anchor","end"),a.setAttribute("transform","translate(0, ".concat(-10,")"));var c=s[o].childNodes;e.config.xaxis.labels.trim&&Array.prototype.forEach.call(c,(function(f){t.placeTextWithEllipsis(f,f.textContent,e.globals.xAxisLabelsHeight-(e.config.legend.position==="bottom"?20:10))}))}else(function(){for(var f=e.globals.gridWidth/(e.globals.labels.length+1),g=0;g<s.length;g++){var p=s[g].childNodes;e.config.xaxis.labels.trim&&e.config.xaxis.type!=="datetime"&&Array.prototype.forEach.call(p,(function(m){t.placeTextWithEllipsis(m,m.textContent,f)}))}})();if(r.length>0){var u=r[r.length-1].getBBox(),d=r[0].getBBox();u.x<-20&&r[r.length-1].parentNode.removeChild(r[r.length-1]),d.x+d.width>e.globals.gridWidth&&!e.globals.isBarHorizontal&&r[0].parentNode.removeChild(r[0]);for(var h=0;h<n.length;h++)t.placeTextWithEllipsis(n[h],n[h].textContent,e.config.yaxis[0].labels.maxWidth-(e.config.yaxis[0].title.text?2*parseFloat(e.config.yaxis[0].title.style.fontSize):0)-15)}}}]),i})(),Mx=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w;var t=this.w;this.xaxisLabels=t.globals.labels.slice(),this.axesUtils=new xa(e),this.isRangeBar=t.globals.seriesRange.length&&t.globals.isBarHorizontal,t.globals.timescaleLabels.length>0&&(this.xaxisLabels=t.globals.timescaleLabels.slice())}return te(i,[{key:"drawGridArea",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,t=this.w,a=new V(this.ctx);e||(e=a.group({class:"apexcharts-grid"}));var s=a.drawLine(t.globals.padHorizontal,1,t.globals.padHorizontal,t.globals.gridHeight,"transparent"),r=a.drawLine(t.globals.padHorizontal,t.globals.gridHeight,t.globals.gridWidth,t.globals.gridHeight,"transparent");return e.add(r),e.add(s),e}},{key:"drawGrid",value:function(){if(this.w.globals.axisCharts){var e=this.renderGrid();return this.drawGridArea(e.el),e}return null}},{key:"createGridMask",value:function(){var e=this.w,t=e.globals,a=new V(this.ctx),s=Array.isArray(e.config.stroke.width)?Math.max.apply(Math,ft(e.config.stroke.width)):e.config.stroke.width,r=function(u){var d=document.createElementNS(t.SVGNS,"clipPath");return d.setAttribute("id",u),d};t.dom.elGridRectMask=r("gridRectMask".concat(t.cuid)),t.dom.elGridRectBarMask=r("gridRectBarMask".concat(t.cuid)),t.dom.elGridRectMarkerMask=r("gridRectMarkerMask".concat(t.cuid)),t.dom.elForecastMask=r("forecastMask".concat(t.cuid)),t.dom.elNonForecastMask=r("nonForecastMask".concat(t.cuid));var n=0,o=0;(["bar","rangeBar","candlestick","boxPlot"].includes(e.config.chart.type)||e.globals.comboBarCount>0)&&e.globals.isXNumeric&&!e.globals.isBarHorizontal&&(n=Math.max(e.config.grid.padding.left,t.barPadForNumericAxis),o=Math.max(e.config.grid.padding.right,t.barPadForNumericAxis)),t.dom.elGridRect=a.drawRect(-s/2-2,-s/2-2,t.gridWidth+s+4,t.gridHeight+s+4,0,"#fff"),t.dom.elGridRectBar=a.drawRect(-s/2-n-2,-s/2-2,t.gridWidth+s+o+n+4,t.gridHeight+s+4,0,"#fff");var l=e.globals.markers.largestSize;t.dom.elGridRectMarker=a.drawRect(Math.min(-s/2-n-2,-l),-l,t.gridWidth+Math.max(s+o+n+4,2*l),t.gridHeight+2*l,0,"#fff"),t.dom.elGridRectMask.appendChild(t.dom.elGridRect.node),t.dom.elGridRectBarMask.appendChild(t.dom.elGridRectBar.node),t.dom.elGridRectMarkerMask.appendChild(t.dom.elGridRectMarker.node);var c=t.dom.baseEl.querySelector("defs");c.appendChild(t.dom.elGridRectMask),c.appendChild(t.dom.elGridRectBarMask),c.appendChild(t.dom.elGridRectMarkerMask),c.appendChild(t.dom.elForecastMask),c.appendChild(t.dom.elNonForecastMask)}},{key:"_drawGridLines",value:function(e){var t=e.i,a=e.x1,s=e.y1,r=e.x2,n=e.y2,o=e.xCount,l=e.parent,c=this.w;if(!(t===0&&c.globals.skipFirstTimelinelabel||t===o-1&&c.globals.skipLastTimelinelabel&&!c.config.xaxis.labels.formatter||c.config.chart.type==="radar")){c.config.grid.xaxis.lines.show&&this._drawGridLine({i:t,x1:a,y1:s,x2:r,y2:n,xCount:o,parent:l});var u=0;if(c.globals.hasXaxisGroups&&c.config.xaxis.tickPlacement==="between"){var d=c.globals.groups;if(d){for(var h=0,f=0;h<t&&f<d.length;f++)h+=d[f].cols;h===t&&(u=.6*c.globals.xAxisLabelsHeight)}}new Wr(this.ctx).drawXaxisTicks(a,u,c.globals.dom.elGraphical)}}},{key:"_drawGridLine",value:function(e){var t=e.i,a=e.x1,s=e.y1,r=e.x2,n=e.y2,o=e.xCount,l=e.parent,c=this.w,u=l.node.classList.contains("apexcharts-gridlines-horizontal"),d=c.globals.barPadForNumericAxis,h=s===0&&n===0||a===0&&r===0||s===c.globals.gridHeight&&n===c.globals.gridHeight||c.globals.isBarHorizontal&&(t===0||t===o-1),f=new V(this).drawLine(a-(u?d:0),s,r+(u?d:0),n,c.config.grid.borderColor,c.config.grid.strokeDashArray);f.node.classList.add("apexcharts-gridline"),h&&c.config.grid.show?this.elGridBorders.add(f):l.add(f)}},{key:"_drawGridBandRect",value:function(e){var t=e.c,a=e.x1,s=e.y1,r=e.x2,n=e.y2,o=e.type,l=this.w,c=new V(this.ctx),u=l.globals.barPadForNumericAxis,d=l.config.grid[o].colors[t],h=c.drawRect(a-(o==="row"?u:0),s,r+(o==="row"?2*u:0),n,0,d,l.config.grid[o].opacity);this.elg.add(h),h.attr("clip-path","url(#gridRectMask".concat(l.globals.cuid,")")),h.node.classList.add("apexcharts-grid-".concat(o))}},{key:"_drawXYLines",value:function(e){var t=this,a=e.xCount,s=e.tickAmount,r=this.w;if(r.config.grid.xaxis.lines.show||r.config.xaxis.axisTicks.show){var n,o=r.globals.padHorizontal,l=r.globals.gridHeight;r.globals.timescaleLabels.length?(function(g){for(var p=g.xC,m=g.x1,v=g.y1,b=g.x2,x=g.y2,k=0;k<p;k++)m=t.xaxisLabels[k].position,b=t.xaxisLabels[k].position,t._drawGridLines({i:k,x1:m,y1:v,x2:b,y2:x,xCount:a,parent:t.elgridLinesV})})({xC:a,x1:o,y1:0,x2:n,y2:l}):(r.globals.isXNumeric&&(a=r.globals.xAxisScale.result.length),(function(g){for(var p=g.xC,m=g.x1,v=g.y1,b=g.x2,x=g.y2,k=0;k<p+(r.globals.isXNumeric?0:1);k++)k===0&&p===1&&r.globals.dataPoints===1&&(b=m=r.globals.gridWidth/2),t._drawGridLines({i:k,x1:m,y1:v,x2:b,y2:x,xCount:a,parent:t.elgridLinesV}),b=m+=r.globals.gridWidth/(r.globals.isXNumeric?p-1:p)})({xC:a,x1:o,y1:0,x2:n,y2:l}))}if(r.config.grid.yaxis.lines.show){var c=0,u=0,d=r.globals.gridWidth,h=s+1;this.isRangeBar&&(h=r.globals.labels.length);for(var f=0;f<h+(this.isRangeBar?1:0);f++)this._drawGridLine({i:f,xCount:h+(this.isRangeBar?1:0),x1:0,y1:c,x2:d,y2:u,parent:this.elgridLinesH}),u=c+=r.globals.gridHeight/(this.isRangeBar?h:s)}}},{key:"_drawInvertedXYLines",value:function(e){var t=e.xCount,a=this.w;if(a.config.grid.xaxis.lines.show||a.config.xaxis.axisTicks.show)for(var s,r=a.globals.padHorizontal,n=a.globals.gridHeight,o=0;o<t+1;o++)a.config.grid.xaxis.lines.show&&this._drawGridLine({i:o,xCount:t+1,x1:r,y1:0,x2:s,y2:n,parent:this.elgridLinesV}),new Wr(this.ctx).drawXaxisTicks(r,0,a.globals.dom.elGraphical),s=r+=a.globals.gridWidth/t;if(a.config.grid.yaxis.lines.show)for(var l=0,c=0,u=a.globals.gridWidth,d=0;d<a.globals.dataPoints+1;d++)this._drawGridLine({i:d,xCount:a.globals.dataPoints+1,x1:0,y1:l,x2:u,y2:c,parent:this.elgridLinesH}),c=l+=a.globals.gridHeight/a.globals.dataPoints}},{key:"renderGrid",value:function(){var e=this.w,t=e.globals,a=new V(this.ctx);this.elg=a.group({class:"apexcharts-grid"}),this.elgridLinesH=a.group({class:"apexcharts-gridlines-horizontal"}),this.elgridLinesV=a.group({class:"apexcharts-gridlines-vertical"}),this.elGridBorders=a.group({class:"apexcharts-grid-borders"}),this.elg.add(this.elgridLinesH),this.elg.add(this.elgridLinesV),e.config.grid.show||(this.elgridLinesV.hide(),this.elgridLinesH.hide(),this.elGridBorders.hide());for(var s=0;s<t.seriesYAxisMap.length&&t.ignoreYAxisIndexes.includes(s);)s++;s===t.seriesYAxisMap.length&&(s=0);var r,n=t.yAxisScale[s].result.length-1;if(!t.isBarHorizontal||this.isRangeBar){var o,l,c;r=this.xaxisLabels.length,this.isRangeBar&&(n=t.labels.length,e.config.xaxis.tickAmount&&e.config.xaxis.labels.formatter&&(r=e.config.xaxis.tickAmount),((o=t.yAxisScale)===null||o===void 0||(l=o[s])===null||l===void 0||(c=l.result)===null||c===void 0?void 0:c.length)>0&&e.config.xaxis.type!=="datetime"&&(r=t.yAxisScale[s].result.length-1)),this._drawXYLines({xCount:r,tickAmount:n})}else r=n,n=t.xTickAmount,this._drawInvertedXYLines({xCount:r,tickAmount:n});return this.drawGridBands(r,n),{el:this.elg,elGridBorders:this.elGridBorders,xAxisTickWidth:t.gridWidth/r}}},{key:"drawGridBands",value:function(e,t){var a,s,r=this,n=this.w;if(((a=n.config.grid.row.colors)===null||a===void 0?void 0:a.length)>0&&(function(g,p,m,v,b,x){for(var k=0,y=0;k<p;k++,y++)y>=n.config.grid[g].colors.length&&(y=0),r._drawGridBandRect({c:y,x1:m,y1:v,x2:b,y2:x,type:g}),v+=n.globals.gridHeight/t})("row",t,0,0,n.globals.gridWidth,n.globals.gridHeight/t),((s=n.config.grid.column.colors)===null||s===void 0?void 0:s.length)>0){var o=n.globals.isBarHorizontal||n.config.xaxis.tickPlacement!=="on"||n.config.xaxis.type!=="category"&&!n.config.xaxis.convertedCatToNumeric?e:e-1;n.globals.isXNumeric&&(o=n.globals.xAxisScale.result.length-1);for(var l=n.globals.padHorizontal,c=n.globals.padHorizontal+n.globals.gridWidth/o,u=n.globals.gridHeight,d=0,h=0;d<e;d++,h++){var f;h>=n.config.grid.column.colors.length&&(h=0),n.config.xaxis.type==="datetime"&&(l=this.xaxisLabels[d].position,c=(((f=this.xaxisLabels[d+1])===null||f===void 0?void 0:f.position)||n.globals.gridWidth)-this.xaxisLabels[d].position),this._drawGridBandRect({c:h,x1:l,y1:0,x2:c,y2:u,type:"column"}),l+=n.globals.gridWidth/o}}}}]),i})(),Ex=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.coreUtils=new nt(this.ctx)}return te(i,[{key:"niceScale",value:function(e,t){var a,s,r,n,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,l=1e-11,c=this.w,u=c.globals;u.isBarHorizontal?(a=c.config.xaxis,s=Math.max((u.svgWidth-100)/25,2)):(a=c.config.yaxis[o],s=Math.max((u.svgHeight-100)/15,2)),T.isNumber(s)||(s=10),r=a.min!==void 0&&a.min!==null,n=a.max!==void 0&&a.min!==null;var d=a.stepSize!==void 0&&a.stepSize!==null,h=a.tickAmount!==void 0&&a.tickAmount!==null,f=h?a.tickAmount:u.niceScaleDefaultTicks[Math.min(Math.round(s/2),u.niceScaleDefaultTicks.length-1)];if(u.isMultipleYAxis&&!h&&u.multiAxisTickAmount>0&&(f=u.multiAxisTickAmount,h=!0),f=f==="dataPoints"?u.dataPoints-1:Math.abs(Math.round(f)),(e===Number.MIN_VALUE&&t===0||!T.isNumber(e)&&!T.isNumber(t)||e===Number.MIN_VALUE&&t===-Number.MAX_VALUE)&&(e=T.isNumber(a.min)?a.min:0,t=T.isNumber(a.max)?a.max:e+f,u.allSeriesCollapsed=!1),e>t){console.warn("axis.min cannot be greater than axis.max: swapping min and max");var g=t;t=e,e=g}else e===t&&(e=e===0?0:e-1,t=t===0?2:t+1);var p=[];f<1&&(f=1);var m=f,v=Math.abs(t-e);!r&&e>0&&e/v<.15&&(e=0,r=!0),!n&&t<0&&-t/v<.15&&(t=0,n=!0);var b=(v=Math.abs(t-e))/m,x=b,k=Math.floor(Math.log10(x)),y=Math.pow(10,k),A=Math.ceil(x/y);if(b=x=(A=u.niceScaleAllowedMagMsd[u.yValueDecimal===0?0:1][A])*y,u.isBarHorizontal&&a.stepSize&&a.type!=="datetime"?(b=a.stepSize,d=!0):d&&(b=a.stepSize),d&&a.forceNiceScale){var w=Math.floor(Math.log10(b));b*=Math.pow(10,k-w)}if(r&&n){var S=v/m;if(h)if(d)if(T.mod(v,b)!=0){var C=T.getGCD(b,S);b=S/C<10?C:S}else T.mod(b,S)==0?b=S:(S=b,h=!1);else b=S;else if(d)T.mod(v,b)==0?S=b:b=S;else if(T.mod(v,b)==0)S=b;else{S=v/(m=Math.ceil(v/b));var M=T.getGCD(v,b);v/M<s&&(S=M),b=S}m=Math.round(v/b)}else{if(r||n){if(n)if(h)e=t-b*m;else{var E=e;e=b*Math.floor(e/b),Math.abs(t-e)/T.getGCD(v,b)>s&&(e=t-b*f,e+=b*Math.floor((E-e)/b))}else if(r)if(h)t=e+b*m;else{var P=t;t=b*Math.ceil(t/b),Math.abs(t-e)/T.getGCD(v,b)>s&&(t=e+b*f,t+=b*Math.ceil((P-t)/b))}}else if(u.isMultipleYAxis&&h){var D=b*Math.floor(e/b),L=D+b*m;L<t&&(b*=2),L=t,t=(e=D)+b*m,v=Math.abs(t-e),e>0&&e<Math.abs(L-t)&&(e=0,t=b*m),t<0&&-t<Math.abs(D-e)&&(t=0,e=-b*m)}else e=b*Math.floor(e/b),t=b*Math.ceil(t/b);v=Math.abs(t-e),b=T.getGCD(v,b),m=Math.round(v/b)}if(h||r||n||(m=Math.ceil((v-l)/(b+l)))>16&&T.getPrimeFactors(m).length<2&&m++,!h&&a.forceNiceScale&&u.yValueDecimal===0&&m>v&&(m=v,b=Math.round(v/m)),m>s&&(!h&&!d||a.forceNiceScale)){var B=T.getPrimeFactors(m),N=B.length-1,F=m;e:for(var H=0;H<N;H++)for(var ie=0;ie<=N-H;ie++){for(var re=Math.min(ie+H,N),ae=F,le=1,Me=ie;Me<=re;Me++)le*=B[Me];if((ae/=le)<s){F=ae;break e}}b=F===m?v:v/F,m=Math.round(v/b)}u.isMultipleYAxis&&u.multiAxisTickAmount==0&&u.ignoreYAxisIndexes.indexOf(o)<0&&(u.multiAxisTickAmount=m);var pe=e-b,Re=b*l;do pe+=b,p.push(T.stripNumber(pe,7));while(t-pe>Re);return{result:p,niceMin:p[0],niceMax:p[p.length-1]}}},{key:"linearScale",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:10,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:void 0,n=Math.abs(t-e),o=[];if(e===t)return{result:o=[e],niceMin:o[0],niceMax:o[o.length-1]};(a=this._adjustTicksForSmallRange(a,s,n))==="dataPoints"&&(a=this.w.globals.dataPoints-1),r||(r=n/a),r=Math.round(100*(r+Number.EPSILON))/100,a===Number.MAX_VALUE&&(a=5,r=1);for(var l=e;a>=0;)o.push(l),l=T.preciseAddition(l,r),a-=1;return{result:o,niceMin:o[0],niceMax:o[o.length-1]}}},{key:"logarithmicScaleNice",value:function(e,t,a){t<=0&&(t=Math.max(e,a)),e<=0&&(e=Math.min(t,a));for(var s=[],r=Math.ceil(Math.log(t)/Math.log(a)+1),n=Math.floor(Math.log(e)/Math.log(a));n<r;n++)s.push(Math.pow(a,n));return{result:s,niceMin:s[0],niceMax:s[s.length-1]}}},{key:"logarithmicScale",value:function(e,t,a){t<=0&&(t=Math.max(e,a)),e<=0&&(e=Math.min(t,a));for(var s=[],r=Math.log(t)/Math.log(a),n=Math.log(e)/Math.log(a),o=r-n,l=Math.round(o),c=o/l,u=0,d=n;u<l;u++,d+=c)s.push(Math.pow(a,d));return s.push(Math.pow(a,r)),{result:s,niceMin:e,niceMax:t}}},{key:"_adjustTicksForSmallRange",value:function(e,t,a){var s=e;if(t!==void 0&&this.w.config.yaxis[t].labels.formatter&&this.w.config.yaxis[t].tickAmount===void 0){var r=Number(this.w.config.yaxis[t].labels.formatter(1));T.isNumber(r)&&this.w.globals.yValueDecimal===0&&(s=Math.ceil(a))}return s<e?s:e}},{key:"setYScaleForIndex",value:function(e,t,a){var s=this.w.globals,r=this.w.config,n=s.isBarHorizontal?r.xaxis:r.yaxis[e];s.yAxisScale[e]===void 0&&(s.yAxisScale[e]=[]);var o=Math.abs(a-t);n.logarithmic&&o<=5&&(s.invalidLogScale=!0),n.logarithmic&&o>5?(s.allSeriesCollapsed=!1,s.yAxisScale[e]=n.forceNiceScale?this.logarithmicScaleNice(t,a,n.logBase):this.logarithmicScale(t,a,n.logBase)):a!==-Number.MAX_VALUE&&T.isNumber(a)&&t!==Number.MAX_VALUE&&T.isNumber(t)?(s.allSeriesCollapsed=!1,s.yAxisScale[e]=this.niceScale(t,a,e)):s.yAxisScale[e]=this.niceScale(Number.MIN_VALUE,0,e)}},{key:"setXScale",value:function(e,t){var a=this.w,s=a.globals;if(t!==-Number.MAX_VALUE&&T.isNumber(t)){var r=s.xTickAmount;s.xAxisScale=this.linearScale(e,t,r,0,a.config.xaxis.max===void 0?a.config.xaxis.stepSize:void 0)}else s.xAxisScale=this.linearScale(0,10,10);return s.xAxisScale}},{key:"scaleMultipleYAxes",value:function(){var e=this,t=this.w.config,a=this.w.globals;this.coreUtils.setSeriesYAxisMappings();var s=a.seriesYAxisMap,r=a.minYArr,n=a.maxYArr;a.allSeriesCollapsed=!0,a.barGroups=[],s.forEach((function(o,l){var c=[];o.forEach((function(u){var d,h=(d=t.series[u])===null||d===void 0?void 0:d.group;c.indexOf(h)<0&&c.push(h)})),o.length>0?(function(){var u,d,h=Number.MAX_VALUE,f=-Number.MAX_VALUE,g=h,p=f;if(t.chart.stacked)(function(){var b=new Array(a.dataPoints).fill(0),x=[],k=[],y=[];c.forEach((function(){x.push(b.map((function(){return Number.MIN_VALUE}))),k.push(b.map((function(){return Number.MIN_VALUE}))),y.push(b.map((function(){return Number.MIN_VALUE})))}));for(var A=function(S){!u&&t.series[o[S]].type&&(u=t.series[o[S]].type);var C=o[S];d=t.series[C].group?t.series[C].group:"axis-".concat(l),!(a.collapsedSeriesIndices.indexOf(C)<0&&a.ancillaryCollapsedSeriesIndices.indexOf(C)<0)||(a.allSeriesCollapsed=!1,c.forEach((function(M,E){if(t.series[C].group===M)for(var P=0;P<a.series[C].length;P++){var D=a.series[C][P];D>=0?k[E][P]+=D:y[E][P]+=D,x[E][P]+=D,g=Math.min(g,D),p=Math.max(p,D)}}))),u!=="bar"&&u!=="column"||a.barGroups.push(d)},w=0;w<o.length;w++)A(w);u||(u=t.chart.type),u==="bar"||u==="column"?c.forEach((function(S,C){h=Math.min(h,Math.min.apply(null,y[C])),f=Math.max(f,Math.max.apply(null,k[C]))})):(c.forEach((function(S,C){g=Math.min(g,Math.min.apply(null,x[C])),p=Math.max(p,Math.max.apply(null,x[C]))})),h=g,f=p),h===Number.MIN_VALUE&&f===Number.MIN_VALUE&&(f=-Number.MAX_VALUE)})();else for(var m=0;m<o.length;m++){var v=o[m];h=Math.min(h,r[v]),f=Math.max(f,n[v]),!(a.collapsedSeriesIndices.indexOf(v)<0&&a.ancillaryCollapsedSeriesIndices.indexOf(v)<0)||(a.allSeriesCollapsed=!1)}t.yaxis[l].min!==void 0&&(h=typeof t.yaxis[l].min=="function"?t.yaxis[l].min(h):t.yaxis[l].min),t.yaxis[l].max!==void 0&&(f=typeof t.yaxis[l].max=="function"?t.yaxis[l].max(f):t.yaxis[l].max),a.barGroups=a.barGroups.filter((function(b,x,k){return k.indexOf(b)===x})),e.setYScaleForIndex(l,h,f),o.forEach((function(b){r[b]=a.yAxisScale[l].niceMin,n[b]=a.yAxisScale[l].niceMax}))})():e.setYScaleForIndex(l,0,-Number.MAX_VALUE)}))}}]),i})(),gu=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.scales=new Ex(e)}return te(i,[{key:"init",value:function(){this.setYRange(),this.setXRange(),this.setZRange()}},{key:"getMinYMaxY",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MAX_VALUE,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:-Number.MAX_VALUE,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,r=this.w.config,n=this.w.globals,o=-Number.MAX_VALUE,l=Number.MIN_VALUE;s===null&&(s=e+1);var c=n.series,u=c,d=c;r.chart.type==="candlestick"?(u=n.seriesCandleL,d=n.seriesCandleH):r.chart.type==="boxPlot"?(u=n.seriesCandleO,d=n.seriesCandleC):n.isRangeData&&(u=n.seriesRangeStart,d=n.seriesRangeEnd);var h=!1;if(n.seriesX.length>=s){var f,g=(f=n.brushSource)===null||f===void 0?void 0:f.w.config.chart.brush;(r.chart.zoom.enabled&&r.chart.zoom.autoScaleYaxis||g!=null&&g.enabled&&g!=null&&g.autoScaleYaxis)&&(h=!0)}for(var p=e;p<s;p++){n.dataPoints=Math.max(n.dataPoints,c[p].length);var m=r.series[p].type;n.categoryLabels.length&&(n.dataPoints=n.categoryLabels.filter((function(C){return C!==void 0})).length),n.labels.length&&r.xaxis.type!=="datetime"&&n.series.reduce((function(C,M){return C+M.length}),0)!==0&&(n.dataPoints=Math.max(n.dataPoints,n.labels.length));var v=0,b=c[p].length-1;if(h){if(r.xaxis.min)for(;v<b&&n.seriesX[p][v]<r.xaxis.min;v++);if(r.xaxis.max)for(;b>v&&n.seriesX[p][b]>r.xaxis.max;b--);}for(var x=v;x<=b&&x<n.series[p].length;x++){var k=c[p][x];if(k!==null&&T.isNumber(k)){var y,A,w,S;switch(((y=d[p])===null||y===void 0?void 0:y[x])!==void 0&&(o=Math.max(o,d[p][x]),t=Math.min(t,d[p][x])),((A=u[p])===null||A===void 0?void 0:A[x])!==void 0&&(t=Math.min(t,u[p][x]),a=Math.max(a,u[p][x])),m){case"candlestick":n.seriesCandleC[p][x]!==void 0&&(o=Math.max(o,n.seriesCandleH[p][x]),t=Math.min(t,n.seriesCandleL[p][x]));break;case"boxPlot":n.seriesCandleC[p][x]!==void 0&&(o=Math.max(o,n.seriesCandleC[p][x]),t=Math.min(t,n.seriesCandleO[p][x]))}m&&m!=="candlestick"&&m!=="boxPlot"&&m!=="rangeArea"&&m!=="rangeBar"&&(o=Math.max(o,n.series[p][x]),t=Math.min(t,n.series[p][x])),n.seriesGoals[p]&&n.seriesGoals[p][x]&&Array.isArray(n.seriesGoals[p][x])&&n.seriesGoals[p][x].forEach((function(C){o=Math.max(o,C.value),t=Math.min(t,C.value)})),a=o,k=T.noExponents(k),T.isFloat(k)&&(n.yValueDecimal=Math.max(n.yValueDecimal,k.toString().split(".")[1].length)),l>((w=u[p])===null||w===void 0?void 0:w[x])&&((S=u[p])===null||S===void 0?void 0:S[x])<0&&(l=u[p][x])}else n.hasNullValues=!0}m!=="bar"&&m!=="column"||(l<0&&o<0&&(o=0,a=Math.max(a,0)),l===Number.MIN_VALUE&&(l=0,t=Math.min(t,0)))}return r.chart.type==="rangeBar"&&n.seriesRangeStart.length&&n.isBarHorizontal&&(l=t),r.chart.type==="bar"&&(l<0&&o<0&&(o=0),l===Number.MIN_VALUE&&(l=0)),{minY:l,maxY:o,lowestY:t,highestY:a}}},{key:"setYRange",value:function(){var e=this.w.globals,t=this.w.config;e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE;var a,s=Number.MAX_VALUE;if(e.isMultipleYAxis){s=Number.MAX_VALUE;for(var r=0;r<e.series.length;r++)a=this.getMinYMaxY(r),e.minYArr[r]=a.lowestY,e.maxYArr[r]=a.highestY,s=Math.min(s,a.lowestY)}return a=this.getMinYMaxY(0,s,null,e.series.length),t.chart.type==="bar"?(e.minY=a.minY,e.maxY=a.maxY):(e.minY=a.lowestY,e.maxY=a.highestY),s=a.lowestY,t.chart.stacked&&this._setStackedMinMax(),t.chart.type==="line"||t.chart.type==="area"||t.chart.type==="scatter"||t.chart.type==="candlestick"||t.chart.type==="boxPlot"||t.chart.type==="rangeBar"&&!e.isBarHorizontal?e.minY===Number.MIN_VALUE&&s!==-Number.MAX_VALUE&&s!==e.maxY&&(e.minY=s):e.minY=e.minY!==Number.MIN_VALUE?Math.min(a.minY,e.minY):a.minY,t.yaxis.forEach((function(n,o){n.max!==void 0&&(typeof n.max=="number"?e.maxYArr[o]=n.max:typeof n.max=="function"&&(e.maxYArr[o]=n.max(e.isMultipleYAxis?e.maxYArr[o]:e.maxY)),e.maxY=e.maxYArr[o]),n.min!==void 0&&(typeof n.min=="number"?e.minYArr[o]=n.min:typeof n.min=="function"&&(e.minYArr[o]=n.min(e.isMultipleYAxis?e.minYArr[o]===Number.MIN_VALUE?0:e.minYArr[o]:e.minY)),e.minY=e.minYArr[o])})),e.isBarHorizontal&&["min","max"].forEach((function(n){t.xaxis[n]!==void 0&&typeof t.xaxis[n]=="number"&&(n==="min"?e.minY=t.xaxis[n]:e.maxY=t.xaxis[n])})),e.isMultipleYAxis?(this.scales.scaleMultipleYAxes(),e.minY=s):(this.scales.setYScaleForIndex(0,e.minY,e.maxY),e.minY=e.yAxisScale[0].niceMin,e.maxY=e.yAxisScale[0].niceMax,e.minYArr[0]=e.minY,e.maxYArr[0]=e.maxY),e.barGroups=[],e.lineGroups=[],e.areaGroups=[],t.series.forEach((function(n){switch(n.type||t.chart.type){case"bar":case"column":e.barGroups.push(n.group);break;case"line":e.lineGroups.push(n.group);break;case"area":e.areaGroups.push(n.group)}})),e.barGroups=e.barGroups.filter((function(n,o,l){return l.indexOf(n)===o})),e.lineGroups=e.lineGroups.filter((function(n,o,l){return l.indexOf(n)===o})),e.areaGroups=e.areaGroups.filter((function(n,o,l){return l.indexOf(n)===o})),{minY:e.minY,maxY:e.maxY,minYArr:e.minYArr,maxYArr:e.maxYArr,yAxisScale:e.yAxisScale}}},{key:"setXRange",value:function(){var e=this.w.globals,t=this.w.config,a=t.xaxis.type==="numeric"||t.xaxis.type==="datetime"||t.xaxis.type==="category"&&!e.noLabelsProvided||e.noLabelsProvided||e.isXNumeric;if(e.isXNumeric&&(function(){for(var l=0;l<e.series.length;l++)if(e.labels[l])for(var c=0;c<e.labels[l].length;c++)e.labels[l][c]!==null&&T.isNumber(e.labels[l][c])&&(e.maxX=Math.max(e.maxX,e.labels[l][c]),e.initialMaxX=Math.max(e.maxX,e.labels[l][c]),e.minX=Math.min(e.minX,e.labels[l][c]),e.initialMinX=Math.min(e.minX,e.labels[l][c]))})(),e.noLabelsProvided&&t.xaxis.categories.length===0&&(e.maxX=e.labels[e.labels.length-1],e.initialMaxX=e.labels[e.labels.length-1],e.minX=1,e.initialMinX=1),e.isXNumeric||e.noLabelsProvided||e.dataFormatXNumeric){var s=10;if(t.xaxis.tickAmount===void 0)s=Math.round(e.svgWidth/150),t.xaxis.type==="numeric"&&e.dataPoints<30&&(s=e.dataPoints-1),s>e.dataPoints&&e.dataPoints!==0&&(s=e.dataPoints-1);else if(t.xaxis.tickAmount==="dataPoints"){if(e.series.length>1&&(s=e.series[e.maxValsInArrayIndex].length-1),e.isXNumeric){var r=Math.round(e.maxX-e.minX);r<30&&(s=r)}}else s=t.xaxis.tickAmount;if(e.xTickAmount=s,t.xaxis.max!==void 0&&typeof t.xaxis.max=="number"&&(e.maxX=t.xaxis.max),t.xaxis.min!==void 0&&typeof t.xaxis.min=="number"&&(e.minX=t.xaxis.min),t.xaxis.range!==void 0&&(e.minX=e.maxX-t.xaxis.range),e.minX!==Number.MAX_VALUE&&e.maxX!==-Number.MAX_VALUE)if(t.xaxis.convertedCatToNumeric&&!e.dataFormatXNumeric){for(var n=[],o=e.minX-1;o<e.maxX;o++)n.push(o+1);e.xAxisScale={result:n,niceMin:n[0],niceMax:n[n.length-1]}}else e.xAxisScale=this.scales.setXScale(e.minX,e.maxX);else e.xAxisScale=this.scales.linearScale(0,s,s,0,t.xaxis.stepSize),e.noLabelsProvided&&e.labels.length>0&&(e.xAxisScale=this.scales.linearScale(1,e.labels.length,s-1,0,t.xaxis.stepSize),e.seriesX=e.labels.slice());a&&(e.labels=e.xAxisScale.result.slice())}return e.isBarHorizontal&&e.labels.length&&(e.xTickAmount=e.labels.length),this._handleSingleDataPoint(),this._getMinXDiff(),{minX:e.minX,maxX:e.maxX}}},{key:"setZRange",value:function(){var e=this.w.globals;if(e.isDataXYZ){for(var t=0;t<e.series.length;t++)if(e.seriesZ[t]!==void 0)for(var a=0;a<e.seriesZ[t].length;a++)e.seriesZ[t][a]!==null&&T.isNumber(e.seriesZ[t][a])&&(e.maxZ=Math.max(e.maxZ,e.seriesZ[t][a]),e.minZ=Math.min(e.minZ,e.seriesZ[t][a]))}}},{key:"_handleSingleDataPoint",value:function(){var e=this.w.globals,t=this.w.config;if(e.minX===e.maxX){var a=new pt(this.ctx);if(t.xaxis.type==="datetime"){var s=a.getDate(e.minX);t.xaxis.labels.datetimeUTC?s.setUTCDate(s.getUTCDate()-2):s.setDate(s.getDate()-2),e.minX=new Date(s).getTime();var r=a.getDate(e.maxX);t.xaxis.labels.datetimeUTC?r.setUTCDate(r.getUTCDate()+2):r.setDate(r.getDate()+2),e.maxX=new Date(r).getTime()}else(t.xaxis.type==="numeric"||t.xaxis.type==="category"&&!e.noLabelsProvided)&&(e.minX=e.minX-2,e.initialMinX=e.minX,e.maxX=e.maxX+2,e.initialMaxX=e.maxX)}}},{key:"_getMinXDiff",value:function(){var e=this.w.globals;e.isXNumeric&&e.seriesX.forEach((function(t,a){if(t.length){t.length===1&&t.push(e.seriesX[e.maxValsInArrayIndex][e.seriesX[e.maxValsInArrayIndex].length-1]);var s=t.slice();s.sort((function(r,n){return r-n})),s.forEach((function(r,n){if(n>0){var o=r-s[n-1];o>0&&(e.minXDiff=Math.min(o,e.minXDiff))}})),e.dataPoints!==1&&e.minXDiff!==Number.MAX_VALUE||(e.minXDiff=.5)}}))}},{key:"_setStackedMinMax",value:function(){var e=this,t=this.w.globals;if(t.series.length){var a=t.seriesGroups;a.length||(a=[this.w.globals.seriesNames.map((function(n){return n}))]);var s={},r={};a.forEach((function(n){s[n]=[],r[n]=[],e.w.config.series.map((function(o,l){return n.indexOf(t.seriesNames[l])>-1?l:null})).filter((function(o){return o!==null})).forEach((function(o){for(var l=0;l<t.series[t.maxValsInArrayIndex].length;l++){var c,u,d,h;s[n][l]===void 0&&(s[n][l]=0,r[n][l]=0),(e.w.config.chart.stacked&&!t.comboCharts||e.w.config.chart.stacked&&t.comboCharts&&(!e.w.config.chart.stackOnlyBar||((c=e.w.config.series)===null||c===void 0||(u=c[o])===null||u===void 0?void 0:u.type)==="bar"||((d=e.w.config.series)===null||d===void 0||(h=d[o])===null||h===void 0?void 0:h.type)==="column"))&&t.series[o][l]!==null&&T.isNumber(t.series[o][l])&&(t.series[o][l]>0?s[n][l]+=parseFloat(t.series[o][l])+1e-4:r[n][l]+=parseFloat(t.series[o][l]))}}))})),Object.entries(s).forEach((function(n){var o=Gb(n,1)[0];s[o].forEach((function(l,c){t.maxY=Math.max(t.maxY,s[o][c]),t.minY=Math.min(t.minY,r[o][c])}))}))}}}]),i})(),_d=(function(){function i(e,t){ee(this,i),this.ctx=e,this.elgrid=t,this.w=e.w;var a=this.w;this.xaxisFontSize=a.config.xaxis.labels.style.fontSize,this.axisFontFamily=a.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=a.config.xaxis.labels.style.colors,this.isCategoryBarHorizontal=a.config.chart.type==="bar"&&a.config.plotOptions.bar.horizontal,this.xAxisoffX=a.config.xaxis.position==="bottom"?a.globals.gridHeight:0,this.drawnLabels=[],this.axesUtils=new xa(e)}return te(i,[{key:"drawYaxis",value:function(e){var t=this.w,a=new V(this.ctx),s=t.config.yaxis[e].labels.style,r=s.fontSize,n=s.fontFamily,o=s.fontWeight,l=a.group({class:"apexcharts-yaxis",rel:e,transform:"translate(".concat(t.globals.translateYAxisX[e],", 0)")});if(this.axesUtils.isYAxisHidden(e))return l;var c=a.group({class:"apexcharts-yaxis-texts-g"});l.add(c);var u=t.globals.yAxisScale[e].result.length-1,d=t.globals.gridHeight/u,h=t.globals.yLabelFormatters[e],f=this.axesUtils.checkForReversedLabels(e,t.globals.yAxisScale[e].result.slice());if(t.config.yaxis[e].labels.show){var g=t.globals.translateY+t.config.yaxis[e].labels.offsetY;t.globals.isBarHorizontal?g=0:t.config.chart.type==="heatmap"&&(g-=d/2),g+=parseInt(r,10)/3;for(var p=u;p>=0;p--){var m=h(f[p],p,t),v=t.config.yaxis[e].labels.padding;t.config.yaxis[e].opposite&&t.config.yaxis.length!==0&&(v*=-1);var b=this.getTextAnchor(t.config.yaxis[e].labels.align,t.config.yaxis[e].opposite),x=this.axesUtils.getYAxisForeColor(s.colors,e),k=Array.isArray(x)?x[p]:x,y=T.listToArray(t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-label tspan"))).map((function(w){return w.textContent})),A=a.drawText({x:v,y:g,text:y.includes(m)&&!t.config.yaxis[e].labels.showDuplicates?"":m,textAnchor:b,fontSize:r,fontFamily:n,fontWeight:o,maxWidth:t.config.yaxis[e].labels.maxWidth,foreColor:k,isPlainText:!1,cssClass:"apexcharts-yaxis-label ".concat(s.cssClass)});c.add(A),this.addTooltip(A,m),t.config.yaxis[e].labels.rotate!==0&&this.rotateLabel(a,A,firstLabel,t.config.yaxis[e].labels.rotate),g+=d}}return this.addYAxisTitle(a,l,e),this.addAxisBorder(a,l,e,u,d),l}},{key:"getTextAnchor",value:function(e,t){return e==="left"?"start":e==="center"?"middle":e==="right"?"end":t?"start":"end"}},{key:"addTooltip",value:function(e,t){var a=document.createElementNS(this.w.globals.SVGNS,"title");a.textContent=Array.isArray(t)?t.join(" "):t,e.node.appendChild(a)}},{key:"rotateLabel",value:function(e,t,a,s){var r=e.rotateAroundCenter(a.node),n=e.rotateAroundCenter(t.node);t.node.setAttribute("transform","rotate(".concat(s," ").concat(r.x," ").concat(n.y,")"))}},{key:"addYAxisTitle",value:function(e,t,a){var s=this.w;if(s.config.yaxis[a].title.text!==void 0){var r=e.group({class:"apexcharts-yaxis-title"}),n=s.config.yaxis[a].opposite?s.globals.translateYAxisX[a]:0,o=e.drawText({x:n,y:s.globals.gridHeight/2+s.globals.translateY+s.config.yaxis[a].title.offsetY,text:s.config.yaxis[a].title.text,textAnchor:"end",foreColor:s.config.yaxis[a].title.style.color,fontSize:s.config.yaxis[a].title.style.fontSize,fontWeight:s.config.yaxis[a].title.style.fontWeight,fontFamily:s.config.yaxis[a].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text ".concat(s.config.yaxis[a].title.style.cssClass)});r.add(o),t.add(r)}}},{key:"addAxisBorder",value:function(e,t,a,s,r){var n=this.w,o=n.config.yaxis[a].axisBorder,l=31+o.offsetX;if(n.config.yaxis[a].opposite&&(l=-31-o.offsetX),o.show){var c=e.drawLine(l,n.globals.translateY+o.offsetY-2,l,n.globals.gridHeight+n.globals.translateY+o.offsetY+2,o.color,0,o.width);t.add(c)}n.config.yaxis[a].axisTicks.show&&this.axesUtils.drawYAxisTicks(l,s,o,n.config.yaxis[a].axisTicks,a,r,t)}},{key:"drawYaxisInversed",value:function(e){var t=this.w,a=new V(this.ctx),s=a.group({class:"apexcharts-xaxis apexcharts-yaxis-inversed"}),r=a.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(t.globals.translateXAxisX,", ").concat(t.globals.translateXAxisY,")")});s.add(r);var n=t.globals.yAxisScale[e].result.length-1,o=t.globals.gridWidth/n+.1,l=o+t.config.xaxis.labels.offsetX,c=t.globals.xLabelFormatter,u=this.axesUtils.checkForReversedLabels(e,t.globals.yAxisScale[e].result.slice()),d=t.globals.timescaleLabels;if(d.length>0&&(this.xaxisLabels=d.slice(),n=(u=d.slice()).length),t.config.xaxis.labels.show)for(var h=d.length?0:n;d.length?h<d.length:h>=0;d.length?h++:h--){var f=c(u[h],h,t),g=t.globals.gridWidth+t.globals.padHorizontal-(l-o+t.config.xaxis.labels.offsetX);if(d.length){var p=this.axesUtils.getLabel(u,d,g,h,this.drawnLabels,this.xaxisFontSize);g=p.x,f=p.text,this.drawnLabels.push(p.text),h===0&&t.globals.skipFirstTimelinelabel&&(f=""),h===u.length-1&&t.globals.skipLastTimelinelabel&&(f="")}var m=a.drawText({x:g,y:this.xAxisoffX+t.config.xaxis.labels.offsetY+30-(t.config.xaxis.position==="top"?t.globals.xAxisHeight+t.config.xaxis.axisTicks.height-2:0),text:f,textAnchor:"middle",foreColor:Array.isArray(this.xaxisForeColors)?this.xaxisForeColors[e]:this.xaxisForeColors,fontSize:this.xaxisFontSize,fontFamily:this.xaxisFontFamily,fontWeight:t.config.xaxis.labels.style.fontWeight,isPlainText:!1,cssClass:"apexcharts-xaxis-label ".concat(t.config.xaxis.labels.style.cssClass)});r.add(m),m.tspan(f),this.addTooltip(m,f),l+=o}return this.inversedYAxisTitleText(s),this.inversedYAxisBorder(s),s}},{key:"inversedYAxisBorder",value:function(e){var t=this.w,a=new V(this.ctx),s=t.config.xaxis.axisBorder;if(s.show){var r=0;t.config.chart.type==="bar"&&t.globals.isXNumeric&&(r-=15);var n=a.drawLine(t.globals.padHorizontal+r+s.offsetX,this.xAxisoffX,t.globals.gridWidth,this.xAxisoffX,s.color,0,s.height);this.elgrid&&this.elgrid.elGridBorders&&t.config.grid.show?this.elgrid.elGridBorders.add(n):e.add(n)}}},{key:"inversedYAxisTitleText",value:function(e){var t=this.w,a=new V(this.ctx);if(t.config.xaxis.title.text!==void 0){var s=a.group({class:"apexcharts-xaxis-title apexcharts-yaxis-title-inversed"}),r=a.drawText({x:t.globals.gridWidth/2+t.config.xaxis.title.offsetX,y:this.xAxisoffX+parseFloat(this.xaxisFontSize)+parseFloat(t.config.xaxis.title.style.fontSize)+t.config.xaxis.title.offsetY+20,text:t.config.xaxis.title.text,textAnchor:"middle",fontSize:t.config.xaxis.title.style.fontSize,fontFamily:t.config.xaxis.title.style.fontFamily,fontWeight:t.config.xaxis.title.style.fontWeight,foreColor:t.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text ".concat(t.config.xaxis.title.style.cssClass)});s.add(r),e.add(s)}}},{key:"yAxisTitleRotate",value:function(e,t){var a=this.w,s=new V(this.ctx),r=a.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-texts-g")),n=r?r.getBoundingClientRect():{width:0,height:0},o=a.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-title text")),l=o?o.getBoundingClientRect():{width:0,height:0};if(o){var c=this.xPaddingForYAxisTitle(e,n,l,t);o.setAttribute("x",c.xPos-(t?10:0));var u=s.rotateAroundCenter(o);o.setAttribute("transform","rotate(".concat(t?-1*a.config.yaxis[e].title.rotate:a.config.yaxis[e].title.rotate," ").concat(u.x," ").concat(u.y,")"))}}},{key:"xPaddingForYAxisTitle",value:function(e,t,a,s){var r=this.w,n=0,o=10;return r.config.yaxis[e].title.text===void 0||e<0?{xPos:n,padd:0}:(s?n=t.width+r.config.yaxis[e].title.offsetX+a.width/2+o/2:(n=-1*t.width+r.config.yaxis[e].title.offsetX+o/2+a.width/2,r.globals.isBarHorizontal&&(o=25,n=-1*t.width-r.config.yaxis[e].title.offsetX-o)),{xPos:n,padd:o})}},{key:"setYAxisXPosition",value:function(e,t){var a=this.w,s=0,r=0,n=18,o=1;a.config.yaxis.length>1&&(this.multipleYs=!0),a.config.yaxis.forEach((function(l,c){var u=a.globals.ignoreYAxisIndexes.includes(c)||!l.show||l.floating||e[c].width===0,d=e[c].width+t[c].width;l.opposite?a.globals.isBarHorizontal?(r=a.globals.gridWidth+a.globals.translateX-1,a.globals.translateYAxisX[c]=r-l.labels.offsetX):(r=a.globals.gridWidth+a.globals.translateX+o,u||(o+=d+20),a.globals.translateYAxisX[c]=r-l.labels.offsetX+20):(s=a.globals.translateX-n,u||(n+=d+20),a.globals.translateYAxisX[c]=s+l.labels.offsetX)}))}},{key:"setYAxisTextAlignments",value:function(){var e=this.w;T.listToArray(e.globals.dom.baseEl.getElementsByClassName("apexcharts-yaxis")).forEach((function(t,a){var s=e.config.yaxis[a];if(s&&!s.floating&&s.labels.align!==void 0){var r=e.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(a,"'] .apexcharts-yaxis-texts-g")),n=T.listToArray(e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis[rel='".concat(a,"'] .apexcharts-yaxis-label"))),o=r.getBoundingClientRect();n.forEach((function(l){l.setAttribute("text-anchor",s.labels.align)})),s.labels.align!=="left"||s.opposite?s.labels.align==="center"?r.setAttribute("transform","translate(".concat(o.width/2*(s.opposite?1:-1),", 0)")):s.labels.align==="right"&&s.opposite&&r.setAttribute("transform","translate(".concat(o.width,", 0)")):r.setAttribute("transform","translate(-".concat(o.width,", 0)"))}}))}}]),i})(),U_=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.documentEvent=T.bind(this.documentEvent,this)}return te(i,[{key:"addEventListener",value:function(e,t){var a=this.w;a.globals.events.hasOwnProperty(e)?a.globals.events[e].push(t):a.globals.events[e]=[t]}},{key:"removeEventListener",value:function(e,t){var a=this.w;if(a.globals.events.hasOwnProperty(e)){var s=a.globals.events[e].indexOf(t);s!==-1&&a.globals.events[e].splice(s,1)}}},{key:"fireEvent",value:function(e,t){var a=this.w;if(a.globals.events.hasOwnProperty(e)){t&&t.length||(t=[]);for(var s=a.globals.events[e],r=s.length,n=0;n<r;n++)s[n].apply(null,t)}}},{key:"setupEventHandlers",value:function(){var e=this,t=this.w,a=this.ctx,s=t.globals.dom.baseEl.querySelector(t.globals.chartClass);this.ctx.eventList.forEach((function(r){s.addEventListener(r,(function(n){var o=n.target.getAttribute("i")===null&&t.globals.capturedSeriesIndex!==-1?t.globals.capturedSeriesIndex:n.target.getAttribute("i"),l=n.target.getAttribute("j")===null&&t.globals.capturedDataPointIndex!==-1?t.globals.capturedDataPointIndex:n.target.getAttribute("j"),c=Object.assign({},t,{seriesIndex:t.globals.axisCharts?o:0,dataPointIndex:l});n.type==="mousemove"||n.type==="touchmove"?typeof t.config.chart.events.mouseMove=="function"&&t.config.chart.events.mouseMove(n,a,c):n.type==="mouseleave"||n.type==="touchleave"?typeof t.config.chart.events.mouseLeave=="function"&&t.config.chart.events.mouseLeave(n,a,c):(n.type==="mouseup"&&n.which===1||n.type==="touchend")&&(typeof t.config.chart.events.click=="function"&&t.config.chart.events.click(n,a,c),a.ctx.events.fireEvent("click",[n,a,c]))}),{capture:!1,passive:!0})})),this.ctx.eventList.forEach((function(r){t.globals.dom.baseEl.addEventListener(r,e.documentEvent,{passive:!0})})),this.ctx.core.setupBrushHandler()}},{key:"documentEvent",value:function(e){var t=this.w,a=e.target.className;if(e.type==="click"){var s=t.globals.dom.baseEl.querySelector(".apexcharts-menu");s&&s.classList.contains("apexcharts-menu-open")&&a!=="apexcharts-menu-icon"&&s.classList.remove("apexcharts-menu-open")}t.globals.clientX=e.type==="touchmove"?e.touches[0].clientX:e.clientX,t.globals.clientY=e.type==="touchmove"?e.touches[0].clientY:e.clientY}}]),i})(),X_=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"setCurrentLocaleValues",value:function(e){var t=this.w.config.chart.locales;window.Apex.chart&&window.Apex.chart.locales&&window.Apex.chart.locales.length>0&&(t=this.w.config.chart.locales.concat(window.Apex.chart.locales));var a=t.filter((function(r){return r.name===e}))[0];if(!a)throw new Error("Wrong locale name provided. Please make sure you set the correct locale name in options");var s=T.extend(kx,a);this.w.globals.locale=s.options}}]),i})(),q_=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"drawAxis",value:function(e,t){var a,s,r=this,n=this.w.globals,o=this.w.config,l=new Wr(this.ctx,t),c=new _d(this.ctx,t);n.axisCharts&&e!=="radar"&&(n.isBarHorizontal?(s=c.drawYaxisInversed(0),a=l.drawXaxisInversed(0),n.dom.elGraphical.add(a),n.dom.elGraphical.add(s)):(a=l.drawXaxis(),n.dom.elGraphical.add(a),o.yaxis.map((function(u,d){if(n.ignoreYAxisIndexes.indexOf(d)===-1&&(s=c.drawYaxis(d),n.dom.Paper.add(s),r.w.config.grid.position==="back")){var h=n.dom.Paper.children()[1];h.remove(),n.dom.Paper.add(h)}}))))}}]),i})(),pu=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"drawXCrosshairs",value:function(){var e=this.w,t=new V(this.ctx),a=new vt(this.ctx),s=e.config.xaxis.crosshairs.fill.gradient,r=e.config.xaxis.crosshairs.dropShadow,n=e.config.xaxis.crosshairs.fill.type,o=s.colorFrom,l=s.colorTo,c=s.opacityFrom,u=s.opacityTo,d=s.stops,h=r.enabled,f=r.left,g=r.top,p=r.blur,m=r.color,v=r.opacity,b=e.config.xaxis.crosshairs.fill.color;if(e.config.xaxis.crosshairs.show){n==="gradient"&&(b=t.drawGradient("vertical",o,l,c,u,null,d,null));var x=t.drawRect();e.config.xaxis.crosshairs.width===1&&(x=t.drawLine());var k=e.globals.gridHeight;(!T.isNumber(k)||k<0)&&(k=0);var y=e.config.xaxis.crosshairs.width;(!T.isNumber(y)||y<0)&&(y=0),x.attr({class:"apexcharts-xcrosshairs",x:0,y:0,y2:k,width:y,height:k,fill:b,filter:"none","fill-opacity":e.config.xaxis.crosshairs.opacity,stroke:e.config.xaxis.crosshairs.stroke.color,"stroke-width":e.config.xaxis.crosshairs.stroke.width,"stroke-dasharray":e.config.xaxis.crosshairs.stroke.dashArray}),h&&(x=a.dropShadow(x,{left:f,top:g,blur:p,color:m,opacity:v})),e.globals.dom.elGraphical.add(x)}}},{key:"drawYCrosshairs",value:function(){var e=this.w,t=new V(this.ctx),a=e.config.yaxis[0].crosshairs,s=e.globals.barPadForNumericAxis;if(e.config.yaxis[0].crosshairs.show){var r=t.drawLine(-s,0,e.globals.gridWidth+s,0,a.stroke.color,a.stroke.dashArray,a.stroke.width);r.attr({class:"apexcharts-ycrosshairs"}),e.globals.dom.elGraphical.add(r)}var n=t.drawLine(-s,0,e.globals.gridWidth+s,0,a.stroke.color,0,0);n.attr({class:"apexcharts-ycrosshairs-hidden"}),e.globals.dom.elGraphical.add(n)}}]),i})(),G_=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"checkResponsiveConfig",value:function(e){var t=this,a=this.w,s=a.config;if(s.responsive.length!==0){var r=s.responsive.slice();r.sort((function(c,u){return c.breakpoint>u.breakpoint?1:u.breakpoint>c.breakpoint?-1:0})).reverse();var n=new Hr({}),o=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=r[0].breakpoint,d=window.innerWidth>0?window.innerWidth:screen.width;if(d>u){var h=T.clone(a.globals.initialConfig);h.series=T.clone(a.config.series);var f=nt.extendArrayProps(n,h,a);c=T.extend(f,c),c=T.extend(a.config,c),t.overrideResponsiveOptions(c)}else for(var g=0;g<r.length;g++)d<r[g].breakpoint&&(c=nt.extendArrayProps(n,r[g].options,a),c=T.extend(a.config,c),t.overrideResponsiveOptions(c))};if(e){var l=nt.extendArrayProps(n,e,a);l=T.extend(a.config,l),o(l=T.extend(l,e))}else o({})}}},{key:"overrideResponsiveOptions",value:function(e){var t=new Hr(e).init({responsiveOverride:!0});this.w.config=t}}]),i})(),$_=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.colors=[],this.isColorFn=!1,this.isHeatmapDistributed=this.checkHeatmapDistributed(),this.isBarDistributed=this.checkBarDistributed()}return te(i,[{key:"checkHeatmapDistributed",value:function(){var e=this.w.config,t=e.chart,a=e.plotOptions;return t.type==="treemap"&&a.treemap&&a.treemap.distributed||t.type==="heatmap"&&a.heatmap&&a.heatmap.distributed}},{key:"checkBarDistributed",value:function(){var e=this.w.config,t=e.chart,a=e.plotOptions;return a.bar&&a.bar.distributed&&(t.type==="bar"||t.type==="rangeBar")}},{key:"init",value:function(){this.setDefaultColors()}},{key:"setDefaultColors",value:function(){var e=this.w,t=new T;e.globals.dom.elWrap.classList.add("apexcharts-theme-".concat(e.config.theme.mode||"light"));var a=ft(e.config.colors||e.config.fill.colors||[]);e.globals.colors=this.getColors(a),this.applySeriesColors(e.globals.seriesColors,e.globals.colors),e.config.theme.monochrome.enabled&&(e.globals.colors=this.getMonochromeColors(e.config.theme.monochrome,e.globals.series,t));var s=e.globals.colors.slice();this.pushExtraColors(e.globals.colors),this.applyColorTypes(["fill","stroke"],s),this.applyDataLabelsColors(s),this.applyRadarPolygonsColors(),this.applyMarkersColors(s)}},{key:"getColors",value:function(e){var t=this,a=this.w;return e&&e.length!==0?Array.isArray(e)&&e.length>0&&typeof e[0]=="function"?(this.isColorFn=!0,a.config.series.map((function(s,r){var n=e[r]||e[0];return typeof n=="function"?n({value:a.globals.axisCharts?a.globals.series[r][0]||0:a.globals.series[r],seriesIndex:r,dataPointIndex:r,w:t.w}):n}))):e:this.predefined()}},{key:"applySeriesColors",value:function(e,t){e.forEach((function(a,s){a&&(t[s]=a)}))}},{key:"getMonochromeColors",value:function(e,t,a){var s=e.color,r=e.shadeIntensity,n=e.shadeTo,o=this.isBarDistributed||this.isHeatmapDistributed?t[0].length*t.length:t.length,l=1/(o/r),c=0;return Array.from({length:o},(function(){var u=n==="dark"?a.shadeColor(-1*c,s):a.shadeColor(c,s);return c+=l,u}))}},{key:"applyColorTypes",value:function(e,t){var a=this,s=this.w;e.forEach((function(r){s.globals[r].colors=s.config[r].colors===void 0?a.isColorFn?s.config.colors:t:s.config[r].colors.slice(),a.pushExtraColors(s.globals[r].colors)}))}},{key:"applyDataLabelsColors",value:function(e){var t=this.w;t.globals.dataLabels.style.colors=t.config.dataLabels.style.colors===void 0?e:t.config.dataLabels.style.colors.slice(),this.pushExtraColors(t.globals.dataLabels.style.colors,50)}},{key:"applyRadarPolygonsColors",value:function(){var e=this.w;e.globals.radarPolygons.fill.colors=e.config.plotOptions.radar.polygons.fill.colors===void 0?[e.config.theme.mode==="dark"?"#343A3F":"none"]:e.config.plotOptions.radar.polygons.fill.colors.slice(),this.pushExtraColors(e.globals.radarPolygons.fill.colors,20)}},{key:"applyMarkersColors",value:function(e){var t=this.w;t.globals.markers.colors=t.config.markers.colors===void 0?e:t.config.markers.colors.slice(),this.pushExtraColors(t.globals.markers.colors)}},{key:"pushExtraColors",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,s=this.w,r=t||s.globals.series.length;if(a===null&&(a=this.isBarDistributed||this.isHeatmapDistributed||s.config.chart.type==="heatmap"&&s.config.plotOptions.heatmap&&s.config.plotOptions.heatmap.colorScale.inverse),a&&s.globals.series.length&&(r=s.globals.series[s.globals.maxValsInArrayIndex].length*s.globals.series.length),e.length<r)for(var n=r-e.length,o=0;o<n;o++)e.push(e[o])}},{key:"updateThemeOptions",value:function(e){e.chart=e.chart||{},e.tooltip=e.tooltip||{};var t=e.theme.mode,a=t==="dark"?"palette4":t==="light"?"palette1":e.theme.palette||"palette1",s=t==="dark"?"#f6f7f8":t==="light"?"#373d3f":e.chart.foreColor||"#373d3f";return e.tooltip.theme=t||"light",e.chart.foreColor=s,e.theme.palette=a,e}},{key:"predefined",value:function(){var e=this.w.config.theme.palette,t=this.ctx.constructor.getThemePalettes();return t[e]||t.palette1}}]),i})(),K_=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"draw",value:function(){this.drawTitleSubtitle("title"),this.drawTitleSubtitle("subtitle")}},{key:"drawTitleSubtitle",value:function(e){var t=this.w,a=e==="title"?t.config.title:t.config.subtitle,s=t.globals.svgWidth/2,r=a.offsetY,n="middle";if(a.align==="left"?(s=10,n="start"):a.align==="right"&&(s=t.globals.svgWidth-10,n="end"),s+=a.offsetX,r=r+parseInt(a.style.fontSize,10)+a.margin/2,a.text!==void 0){var o=new V(this.ctx).drawText({x:s,y:r,text:a.text,textAnchor:n,fontSize:a.style.fontSize,fontFamily:a.style.fontFamily,fontWeight:a.style.fontWeight,foreColor:a.style.color,opacity:1});o.node.setAttribute("class","apexcharts-".concat(e,"-text")),t.globals.dom.Paper.add(o)}}}]),i})(),Z_=(function(){function i(e){ee(this,i),this.w=e.w,this.dCtx=e}return te(i,[{key:"getTitleSubtitleCoords",value:function(e){var t=this.w,a=0,s=0,r=e==="title"?t.config.title.floating:t.config.subtitle.floating,n=t.globals.dom.baseEl.querySelector(".apexcharts-".concat(e,"-text"));if(n!==null&&!r){var o=n.getBoundingClientRect();a=o.width,s=t.globals.axisCharts?o.height+5:o.height}return{width:a,height:s}}},{key:"getLegendsRect",value:function(){var e=this.w,t=e.globals.dom.elLegendWrap;e.config.legend.height||e.config.legend.position!=="top"&&e.config.legend.position!=="bottom"||(t.style.maxHeight=e.globals.svgHeight/2+"px");var a=Object.assign({},T.getBoundingClientRect(t));return t!==null&&!e.config.legend.floating&&e.config.legend.show?this.dCtx.lgRect={x:a.x,y:a.y,height:a.height,width:a.height===0?0:a.width}:this.dCtx.lgRect={x:0,y:0,height:0,width:0},e.config.legend.position!=="left"&&e.config.legend.position!=="right"||1.5*this.dCtx.lgRect.width>e.globals.svgWidth&&(this.dCtx.lgRect.width=e.globals.svgWidth/1.5),this.dCtx.lgRect}},{key:"getDatalabelsRect",value:function(){var e=this,t=this.w,a=[];t.config.series.forEach((function(l,c){l.data.forEach((function(u,d){var h;h=t.globals.series[c][d],s=t.config.dataLabels.formatter(h,{ctx:e.dCtx.ctx,seriesIndex:c,dataPointIndex:d,w:t}),a.push(s)}))}));var s=T.getLargestStringFromArr(a),r=new V(this.dCtx.ctx),n=t.config.dataLabels.style,o=r.getTextRects(s,parseInt(n.fontSize),n.fontFamily);return{width:1.05*o.width,height:o.height}}},{key:"getLargestStringFromMultiArr",value:function(e,t){var a=e;if(this.w.globals.isMultiLineX){var s=t.map((function(n,o){return Array.isArray(n)?n.length:1})),r=Math.max.apply(Math,ft(s));a=t[s.indexOf(r)]}return a}}]),i})(),J_=(function(){function i(e){ee(this,i),this.w=e.w,this.dCtx=e}return te(i,[{key:"getxAxisLabelsCoords",value:function(){var e,t=this.w,a=t.globals.labels.slice();if(t.config.xaxis.convertedCatToNumeric&&a.length===0&&(a=t.globals.categoryLabels),t.globals.timescaleLabels.length>0){var s=this.getxAxisTimeScaleLabelsCoords();e={width:s.width,height:s.height},t.globals.rotateXLabels=!1}else{this.dCtx.lgWidthForSideLegends=t.config.legend.position!=="left"&&t.config.legend.position!=="right"||t.config.legend.floating?0:this.dCtx.lgRect.width;var r=t.globals.xLabelFormatter,n=T.getLargestStringFromArr(a),o=this.dCtx.dimHelpers.getLargestStringFromMultiArr(n,a);t.globals.isBarHorizontal&&(o=n=t.globals.yAxisScale[0].result.reduce((function(g,p){return g.length>p.length?g:p}),0));var l=new un(this.dCtx.ctx),c=n;n=l.xLabelFormat(r,n,c,{i:void 0,dateFormatter:new pt(this.dCtx.ctx).formatDate,w:t}),o=l.xLabelFormat(r,o,c,{i:void 0,dateFormatter:new pt(this.dCtx.ctx).formatDate,w:t}),(t.config.xaxis.convertedCatToNumeric&&n===void 0||String(n).trim()==="")&&(o=n="1");var u=new V(this.dCtx.ctx),d=u.getTextRects(n,t.config.xaxis.labels.style.fontSize),h=d;if(n!==o&&(h=u.getTextRects(o,t.config.xaxis.labels.style.fontSize)),(e={width:d.width>=h.width?d.width:h.width,height:d.height>=h.height?d.height:h.height}).width*a.length>t.globals.svgWidth-this.dCtx.lgWidthForSideLegends-this.dCtx.yAxisWidth-this.dCtx.gridPad.left-this.dCtx.gridPad.right&&t.config.xaxis.labels.rotate!==0||t.config.xaxis.labels.rotateAlways){if(!t.globals.isBarHorizontal){t.globals.rotateXLabels=!0;var f=function(g){return u.getTextRects(g,t.config.xaxis.labels.style.fontSize,t.config.xaxis.labels.style.fontFamily,"rotate(".concat(t.config.xaxis.labels.rotate," 0 0)"),!1)};d=f(n),n!==o&&(h=f(o)),e.height=(d.height>h.height?d.height:h.height)/1.5,e.width=d.width>h.width?d.width:h.width}}else t.globals.rotateXLabels=!1}return t.config.xaxis.labels.show||(e={width:0,height:0}),{width:e.width,height:e.height}}},{key:"getxAxisGroupLabelsCoords",value:function(){var e,t=this.w;if(!t.globals.hasXaxisGroups)return{width:0,height:0};var a,s=((e=t.config.xaxis.group.style)===null||e===void 0?void 0:e.fontSize)||t.config.xaxis.labels.style.fontSize,r=t.globals.groups.map((function(d){return d.title})),n=T.getLargestStringFromArr(r),o=this.dCtx.dimHelpers.getLargestStringFromMultiArr(n,r),l=new V(this.dCtx.ctx),c=l.getTextRects(n,s),u=c;return n!==o&&(u=l.getTextRects(o,s)),a={width:c.width>=u.width?c.width:u.width,height:c.height>=u.height?c.height:u.height},t.config.xaxis.labels.show||(a={width:0,height:0}),{width:a.width,height:a.height}}},{key:"getxAxisTitleCoords",value:function(){var e=this.w,t=0,a=0;if(e.config.xaxis.title.text!==void 0){var s=new V(this.dCtx.ctx).getTextRects(e.config.xaxis.title.text,e.config.xaxis.title.style.fontSize);t=s.width,a=s.height}return{width:t,height:a}}},{key:"getxAxisTimeScaleLabelsCoords",value:function(){var e,t=this.w;this.dCtx.timescaleLabels=t.globals.timescaleLabels.slice();var a=this.dCtx.timescaleLabels.map((function(r){return r.value})),s=a.reduce((function(r,n){return r===void 0?(console.error("You have possibly supplied invalid Date format. Please supply a valid JavaScript Date"),0):r.length>n.length?r:n}),0);return 1.05*(e=new V(this.dCtx.ctx).getTextRects(s,t.config.xaxis.labels.style.fontSize)).width*a.length>t.globals.gridWidth&&t.config.xaxis.labels.rotate!==0&&(t.globals.overlappingXLabels=!0),e}},{key:"additionalPaddingXLabels",value:function(e){var t=this,a=this.w,s=a.globals,r=a.config,n=r.xaxis.type,o=e.width;s.skipLastTimelinelabel=!1,s.skipFirstTimelinelabel=!1;var l=a.config.yaxis[0].opposite&&a.globals.isBarHorizontal,c=function(u,d){r.yaxis.length>1&&(function(h){return s.collapsedSeriesIndices.indexOf(h)!==-1})(d)||(function(h){if(t.dCtx.timescaleLabels&&t.dCtx.timescaleLabels.length){var f=t.dCtx.timescaleLabels[0],g=t.dCtx.timescaleLabels[t.dCtx.timescaleLabels.length-1].position+o/1.75-t.dCtx.yAxisWidthRight,p=f.position-o/1.75+t.dCtx.yAxisWidthLeft,m=a.config.legend.position==="right"&&t.dCtx.lgRect.width>0?t.dCtx.lgRect.width:0;g>s.svgWidth-s.translateX-m&&(s.skipLastTimelinelabel=!0),p<-(h.show&&!h.floating||r.chart.type!=="bar"&&r.chart.type!=="candlestick"&&r.chart.type!=="rangeBar"&&r.chart.type!=="boxPlot"?10:o/1.75)&&(s.skipFirstTimelinelabel=!0)}else n==="datetime"?t.dCtx.gridPad.right<o&&!s.rotateXLabels&&(s.skipLastTimelinelabel=!0):n!=="datetime"&&t.dCtx.gridPad.right<o/2-t.dCtx.yAxisWidthRight&&!s.rotateXLabels&&!a.config.xaxis.labels.trim&&(t.dCtx.xPadRight=o/2+1)})(u)};r.yaxis.forEach((function(u,d){l?(t.dCtx.gridPad.left<o&&(t.dCtx.xPadLeft=o/2+1),t.dCtx.xPadRight=o/2+1):c(u,d)}))}}]),i})(),Q_=(function(){function i(e){ee(this,i),this.w=e.w,this.dCtx=e}return te(i,[{key:"getyAxisLabelsCoords",value:function(){var e=this,t=this.w,a=[],s=10,r=new xa(this.dCtx.ctx);return t.config.yaxis.map((function(n,o){var l={seriesIndex:o,dataPointIndex:-1,w:t},c=t.globals.yAxisScale[o],u=0;if(!r.isYAxisHidden(o)&&n.labels.show&&n.labels.minWidth!==void 0&&(u=n.labels.minWidth),!r.isYAxisHidden(o)&&n.labels.show&&c.result.length){var d=t.globals.yLabelFormatters[o],h=c.niceMin===Number.MIN_VALUE?0:c.niceMin,f=c.result.reduce((function(k,y){var A,w;return((A=String(d(k,l)))===null||A===void 0?void 0:A.length)>((w=String(d(y,l)))===null||w===void 0?void 0:w.length)?k:y}),h),g=f=d(f,l);if(f!==void 0&&f.length!==0||(f=c.niceMax),t.globals.isBarHorizontal){s=0;var p=t.globals.labels.slice();f=T.getLargestStringFromArr(p),f=d(f,{seriesIndex:o,dataPointIndex:-1,w:t}),g=e.dCtx.dimHelpers.getLargestStringFromMultiArr(f,p)}var m=new V(e.dCtx.ctx),v="rotate(".concat(n.labels.rotate," 0 0)"),b=m.getTextRects(f,n.labels.style.fontSize,n.labels.style.fontFamily,v,!1),x=b;f!==g&&(x=m.getTextRects(g,n.labels.style.fontSize,n.labels.style.fontFamily,v,!1)),a.push({width:(u>x.width||u>b.width?u:x.width>b.width?x.width:b.width)+s,height:x.height>b.height?x.height:b.height})}else a.push({width:0,height:0})})),a}},{key:"getyAxisTitleCoords",value:function(){var e=this,t=this.w,a=[];return t.config.yaxis.map((function(s,r){if(s.show&&s.title.text!==void 0){var n=new V(e.dCtx.ctx),o="rotate(".concat(s.title.rotate," 0 0)"),l=n.getTextRects(s.title.text,s.title.style.fontSize,s.title.style.fontFamily,o,!1);a.push({width:l.width,height:l.height})}else a.push({width:0,height:0})})),a}},{key:"getTotalYAxisWidth",value:function(){var e=this.w,t=0,a=0,s=0,r=e.globals.yAxisScale.length>1?10:0,n=new xa(this.dCtx.ctx),o=function(l,c){var u=e.config.yaxis[c].floating,d=0;l.width>0&&!u?(d=l.width+r,(function(h){return e.globals.ignoreYAxisIndexes.indexOf(h)>-1})(c)&&(d=d-l.width-r)):d=u||n.isYAxisHidden(c)?0:5,e.config.yaxis[c].opposite?s+=d:a+=d,t+=d};return e.globals.yLabelsCoords.map((function(l,c){o(l,c)})),e.globals.yTitleCoords.map((function(l,c){o(l,c)})),e.globals.isBarHorizontal&&!e.config.yaxis[0].floating&&(t=e.globals.yLabelsCoords[0].width+e.globals.yTitleCoords[0].width+15),this.dCtx.yAxisWidthLeft=a,this.dCtx.yAxisWidthRight=s,t}}]),i})(),eI=(function(){function i(e){ee(this,i),this.w=e.w,this.dCtx=e}return te(i,[{key:"gridPadForColumnsInNumericAxis",value:function(e){var t=this.w,a=t.config,s=t.globals;if(s.noData||s.collapsedSeries.length+s.ancillaryCollapsedSeries.length===a.series.length)return 0;var r=function(f){return["bar","rangeBar","candlestick","boxPlot"].includes(f)},n=a.chart.type,o=0,l=r(n)?a.series.length:1;s.comboBarCount>0&&(l=s.comboBarCount),s.collapsedSeries.forEach((function(f){r(f.type)&&(l-=1)})),a.chart.stacked&&(l=1);var c=r(n)||s.comboBarCount>0,u=Math.abs(s.initialMaxX-s.initialMinX);if(c&&s.isXNumeric&&!s.isBarHorizontal&&l>0&&u!==0){u<=3&&(u=s.dataPoints);var d=u/e,h=s.minXDiff&&s.minXDiff/d>0?s.minXDiff/d:0;h>e/2&&(h/=2),(o=h*parseInt(a.plotOptions.bar.columnWidth,10)/100)<1&&(o=1),s.barPadForNumericAxis=o}return o}},{key:"gridPadFortitleSubtitle",value:function(){var e=this,t=this.w,a=t.globals,s=this.dCtx.isSparkline||!a.axisCharts?0:10;["title","subtitle"].forEach((function(o){t.config[o].text!==void 0?s+=t.config[o].margin:s+=e.dCtx.isSparkline||!a.axisCharts?0:5})),!t.config.legend.show||t.config.legend.position!=="bottom"||t.config.legend.floating||a.axisCharts||(s+=10);var r=this.dCtx.dimHelpers.getTitleSubtitleCoords("title"),n=this.dCtx.dimHelpers.getTitleSubtitleCoords("subtitle");a.gridHeight-=r.height+n.height+s,a.translateY+=r.height+n.height+s}},{key:"setGridXPosForDualYAxis",value:function(e,t){var a=this.w,s=new xa(this.dCtx.ctx);a.config.yaxis.forEach((function(r,n){a.globals.ignoreYAxisIndexes.indexOf(n)!==-1||r.floating||s.isYAxisHidden(n)||(r.opposite&&(a.globals.translateX-=t[n].width+e[n].width+parseInt(r.labels.style.fontSize,10)/1.2+12),a.globals.translateX<2&&(a.globals.translateX=2))}))}}]),i})(),yo=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.lgRect={},this.yAxisWidth=0,this.yAxisWidthLeft=0,this.yAxisWidthRight=0,this.xAxisHeight=0,this.isSparkline=this.w.config.chart.sparkline.enabled,this.dimHelpers=new Z_(this),this.dimYAxis=new Q_(this),this.dimXAxis=new J_(this),this.dimGrid=new eI(this),this.lgWidthForSideLegends=0,this.gridPad=this.w.config.grid.padding,this.xPadRight=0,this.xPadLeft=0}return te(i,[{key:"plotCoords",value:function(){var e=this,t=this.w,a=t.globals;this.lgRect=this.dimHelpers.getLegendsRect(),this.datalabelsCoords={width:0,height:0};var s=Array.isArray(t.config.stroke.width)?Math.max.apply(Math,ft(t.config.stroke.width)):t.config.stroke.width;this.isSparkline&&((t.config.markers.discrete.length>0||t.config.markers.size>0)&&Object.entries(this.gridPad).forEach((function(n){var o=Gb(n,2),l=o[0],c=o[1];e.gridPad[l]=Math.max(c,e.w.globals.markers.largestSize/1.5)})),this.gridPad.top=Math.max(s/2,this.gridPad.top),this.gridPad.bottom=Math.max(s/2,this.gridPad.bottom)),a.axisCharts?this.setDimensionsForAxisCharts():this.setDimensionsForNonAxisCharts(),this.dimGrid.gridPadFortitleSubtitle(),a.gridHeight=a.gridHeight-this.gridPad.top-this.gridPad.bottom,a.gridWidth=a.gridWidth-this.gridPad.left-this.gridPad.right-this.xPadRight-this.xPadLeft;var r=this.dimGrid.gridPadForColumnsInNumericAxis(a.gridWidth);a.gridWidth=a.gridWidth-2*r,a.translateX=a.translateX+this.gridPad.left+this.xPadLeft+(r>0?r:0),a.translateY=a.translateY+this.gridPad.top}},{key:"setDimensionsForAxisCharts",value:function(){var e=this,t=this.w,a=t.globals,s=this.dimYAxis.getyAxisLabelsCoords(),r=this.dimYAxis.getyAxisTitleCoords();a.isSlopeChart&&(this.datalabelsCoords=this.dimHelpers.getDatalabelsRect()),t.globals.yLabelsCoords=[],t.globals.yTitleCoords=[],t.config.yaxis.map((function(f,g){t.globals.yLabelsCoords.push({width:s[g].width,index:g}),t.globals.yTitleCoords.push({width:r[g].width,index:g})})),this.yAxisWidth=this.dimYAxis.getTotalYAxisWidth();var n=this.dimXAxis.getxAxisLabelsCoords(),o=this.dimXAxis.getxAxisGroupLabelsCoords(),l=this.dimXAxis.getxAxisTitleCoords();this.conditionalChecksForAxisCoords(n,l,o),a.translateXAxisY=t.globals.rotateXLabels?this.xAxisHeight/8:-4,a.translateXAxisX=t.globals.rotateXLabels&&t.globals.isXNumeric&&t.config.xaxis.labels.rotate<=-45?-this.xAxisWidth/4:0,t.globals.isBarHorizontal&&(a.rotateXLabels=!1,a.translateXAxisY=parseInt(t.config.xaxis.labels.style.fontSize,10)/1.5*-1),a.translateXAxisY=a.translateXAxisY+t.config.xaxis.labels.offsetY,a.translateXAxisX=a.translateXAxisX+t.config.xaxis.labels.offsetX;var c=this.yAxisWidth,u=this.xAxisHeight;a.xAxisLabelsHeight=this.xAxisHeight-l.height,a.xAxisGroupLabelsHeight=a.xAxisLabelsHeight-n.height,a.xAxisLabelsWidth=this.xAxisWidth,a.xAxisHeight=this.xAxisHeight;var d=10;(t.config.chart.type==="radar"||this.isSparkline)&&(c=0,u=0),this.isSparkline&&(this.lgRect={height:0,width:0}),(this.isSparkline||t.config.chart.type==="treemap")&&(c=0,u=0,d=0),this.isSparkline||t.config.chart.type==="treemap"||this.dimXAxis.additionalPaddingXLabels(n);var h=function(){a.translateX=c+e.datalabelsCoords.width,a.gridHeight=a.svgHeight-e.lgRect.height-u-(e.isSparkline||t.config.chart.type==="treemap"?0:t.globals.rotateXLabels?10:15),a.gridWidth=a.svgWidth-c-2*e.datalabelsCoords.width};switch(t.config.xaxis.position==="top"&&(d=a.xAxisHeight-t.config.xaxis.axisTicks.height-5),t.config.legend.position){case"bottom":a.translateY=d,h();break;case"top":a.translateY=this.lgRect.height+d,h();break;case"left":a.translateY=d,a.translateX=this.lgRect.width+c+this.datalabelsCoords.width,a.gridHeight=a.svgHeight-u-12,a.gridWidth=a.svgWidth-this.lgRect.width-c-2*this.datalabelsCoords.width;break;case"right":a.translateY=d,a.translateX=c+this.datalabelsCoords.width,a.gridHeight=a.svgHeight-u-12,a.gridWidth=a.svgWidth-this.lgRect.width-c-2*this.datalabelsCoords.width-5;break;default:throw new Error("Legend position not supported")}this.dimGrid.setGridXPosForDualYAxis(r,s),new _d(this.ctx).setYAxisXPosition(s,r)}},{key:"setDimensionsForNonAxisCharts",value:function(){var e=this.w,t=e.globals,a=e.config,s=0;e.config.legend.show&&!e.config.legend.floating&&(s=20);var r=a.chart.type==="pie"||a.chart.type==="polarArea"||a.chart.type==="donut"?"pie":"radialBar",n=a.plotOptions[r].offsetY,o=a.plotOptions[r].offsetX;if(!a.legend.show||a.legend.floating){t.gridHeight=t.svgHeight;var l=t.dom.elWrap.getBoundingClientRect().width;return t.gridWidth=Math.min(l,t.gridHeight),t.translateY=n,void(t.translateX=o+(t.svgWidth-t.gridWidth)/2)}switch(a.legend.position){case"bottom":t.gridHeight=t.svgHeight-this.lgRect.height,t.gridWidth=t.svgWidth,t.translateY=n-10,t.translateX=o+(t.svgWidth-t.gridWidth)/2;break;case"top":t.gridHeight=t.svgHeight-this.lgRect.height,t.gridWidth=t.svgWidth,t.translateY=this.lgRect.height+n+10,t.translateX=o+(t.svgWidth-t.gridWidth)/2;break;case"left":t.gridWidth=t.svgWidth-this.lgRect.width-s,t.gridHeight=a.chart.height!=="auto"?t.svgHeight:t.gridWidth,t.translateY=n,t.translateX=o+this.lgRect.width+s;break;case"right":t.gridWidth=t.svgWidth-this.lgRect.width-s-5,t.gridHeight=a.chart.height!=="auto"?t.svgHeight:t.gridWidth,t.translateY=n,t.translateX=o+10;break;default:throw new Error("Legend position not supported")}}},{key:"conditionalChecksForAxisCoords",value:function(e,t,a){var s=this.w,r=s.globals.hasXaxisGroups?2:1,n=a.height+e.height+t.height,o=s.globals.isMultiLineX?1.2:s.globals.LINE_HEIGHT_RATIO,l=s.globals.rotateXLabels?22:10,c=s.globals.rotateXLabels&&s.config.legend.position==="bottom"?10:0;this.xAxisHeight=n*o+r*l+c,this.xAxisWidth=e.width,this.xAxisHeight-t.height>s.config.xaxis.labels.maxHeight&&(this.xAxisHeight=s.config.xaxis.labels.maxHeight),s.config.xaxis.labels.minHeight&&this.xAxisHeight<s.config.xaxis.labels.minHeight&&(this.xAxisHeight=s.config.xaxis.labels.minHeight),s.config.xaxis.floating&&(this.xAxisHeight=0);var u=0,d=0;s.config.yaxis.forEach((function(h){u+=h.labels.minWidth,d+=h.labels.maxWidth})),this.yAxisWidth<u&&(this.yAxisWidth=u),this.yAxisWidth>d&&(this.yAxisWidth=d)}}]),i})(),tI=(function(){function i(e){ee(this,i),this.w=e.w,this.lgCtx=e}return te(i,[{key:"getLegendStyles",value:function(){var e,t,a,s=document.createElement("style");s.setAttribute("type","text/css");var r=((e=this.lgCtx.ctx)===null||e===void 0||(t=e.opts)===null||t===void 0||(a=t.chart)===null||a===void 0?void 0:a.nonce)||this.w.config.chart.nonce;r&&s.setAttribute("nonce",r);var n=document.createTextNode(Cx);return s.appendChild(n),s}},{key:"getLegendDimensions",value:function(){var e=this.w.globals.dom.baseEl.querySelector(".apexcharts-legend").getBoundingClientRect(),t=e.width;return{clwh:e.height,clww:t}}},{key:"appendToForeignObject",value:function(){var e=this.w.globals;this.w.config.chart.injectStyleSheet!==!1&&e.dom.elLegendForeign.appendChild(this.getLegendStyles())}},{key:"toggleDataSeries",value:function(e,t){var a=this,s=this.w;if(s.globals.axisCharts||s.config.chart.type==="radialBar"){s.globals.resized=!0;var r=null,n=null;s.globals.risingSeries=[],s.globals.axisCharts?(r=s.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(e,"']")),n=parseInt(r.getAttribute("data:realIndex"),10)):(r=s.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(e+1,"']")),n=parseInt(r.getAttribute("rel"),10)-1),t?[{cs:s.globals.collapsedSeries,csi:s.globals.collapsedSeriesIndices},{cs:s.globals.ancillaryCollapsedSeries,csi:s.globals.ancillaryCollapsedSeriesIndices}].forEach((function(u){a.riseCollapsedSeries(u.cs,u.csi,n)})):this.hideSeries({seriesEl:r,realIndex:n})}else{var o=s.globals.dom.Paper.findOne(" .apexcharts-series[rel='".concat(e+1,"'] path")),l=s.config.chart.type;if(l==="pie"||l==="polarArea"||l==="donut"){var c=s.config.plotOptions.pie.donut.labels;new V(this.lgCtx.ctx).pathMouseDown(o,null),this.lgCtx.ctx.pie.printDataLabelsInner(o.node,c)}o.fire("click")}}},{key:"getSeriesAfterCollapsing",value:function(e){var t=e.realIndex,a=this.w,s=a.globals,r=T.clone(a.config.series);if(s.axisCharts){var n=a.config.yaxis[s.seriesYAxisReverseMap[t]],o={index:t,data:r[t].data.slice(),type:r[t].type||a.config.chart.type};if(n&&n.show&&n.showAlways)s.ancillaryCollapsedSeriesIndices.indexOf(t)<0&&(s.ancillaryCollapsedSeries.push(o),s.ancillaryCollapsedSeriesIndices.push(t));else if(s.collapsedSeriesIndices.indexOf(t)<0){s.collapsedSeries.push(o),s.collapsedSeriesIndices.push(t);var l=s.risingSeries.indexOf(t);s.risingSeries.splice(l,1)}}else s.collapsedSeries.push({index:t,data:r[t]}),s.collapsedSeriesIndices.push(t);return s.allSeriesCollapsed=s.collapsedSeries.length+s.ancillaryCollapsedSeries.length===a.config.series.length,this._getSeriesBasedOnCollapsedState(r)}},{key:"hideSeries",value:function(e){for(var t=e.seriesEl,a=e.realIndex,s=this.w,r=this.getSeriesAfterCollapsing({realIndex:a}),n=t.childNodes,o=0;o<n.length;o++)n[o].classList.contains("apexcharts-series-markers-wrap")&&(n[o].classList.contains("apexcharts-hide")?n[o].classList.remove("apexcharts-hide"):n[o].classList.add("apexcharts-hide"));this.lgCtx.ctx.updateHelpers._updateSeries(r,s.config.chart.animations.dynamicAnimation.enabled)}},{key:"riseCollapsedSeries",value:function(e,t,a){var s=this.w,r=T.clone(s.config.series);if(e.length>0){for(var n=0;n<e.length;n++)e[n].index===a&&(s.globals.axisCharts?r[a].data=e[n].data.slice():r[a]=e[n].data,typeof r[a]!="number"&&(r[a].hidden=!1),e.splice(n,1),t.splice(n,1),s.globals.risingSeries.push(a));r=this._getSeriesBasedOnCollapsedState(r),this.lgCtx.ctx.updateHelpers._updateSeries(r,s.config.chart.animations.dynamicAnimation.enabled)}}},{key:"_getSeriesBasedOnCollapsedState",value:function(e){var t=this.w,a=0;return t.globals.axisCharts?e.forEach((function(s,r){t.globals.collapsedSeriesIndices.indexOf(r)<0&&t.globals.ancillaryCollapsedSeriesIndices.indexOf(r)<0||(e[r].data=[],a++)})):e.forEach((function(s,r){!t.globals.collapsedSeriesIndices.indexOf(r)<0&&(e[r]=0,a++)})),t.globals.allSeriesCollapsed=a===e.length,e}}]),i})(),Px=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.onLegendClick=this.onLegendClick.bind(this),this.onLegendHovered=this.onLegendHovered.bind(this),this.isBarsDistributed=this.w.config.chart.type==="bar"&&this.w.config.plotOptions.bar.distributed&&this.w.config.series.length===1,this.legendHelpers=new tI(this)}return te(i,[{key:"init",value:function(){var e=this.w,t=e.globals,a=e.config,s=a.legend.showForSingleSeries&&t.series.length===1||this.isBarsDistributed||t.series.length>1;if(this.legendHelpers.appendToForeignObject(),(s||!t.axisCharts)&&a.legend.show){for(;t.dom.elLegendWrap.firstChild;)t.dom.elLegendWrap.removeChild(t.dom.elLegendWrap.firstChild);this.drawLegends(),a.legend.position==="bottom"||a.legend.position==="top"?this.legendAlignHorizontal():a.legend.position!=="right"&&a.legend.position!=="left"||this.legendAlignVertical()}}},{key:"createLegendMarker",value:function(e){var t=e.i,a=e.fillcolor,s=this.w,r=document.createElement("span");r.classList.add("apexcharts-legend-marker");var n=s.config.legend.markers.shape||s.config.markers.shape,o=n;Array.isArray(n)&&(o=n[t]);var l=Array.isArray(s.config.legend.markers.size)?parseFloat(s.config.legend.markers.size[t]):parseFloat(s.config.legend.markers.size),c=Array.isArray(s.config.legend.markers.offsetX)?parseFloat(s.config.legend.markers.offsetX[t]):parseFloat(s.config.legend.markers.offsetX),u=Array.isArray(s.config.legend.markers.offsetY)?parseFloat(s.config.legend.markers.offsetY[t]):parseFloat(s.config.legend.markers.offsetY),d=Array.isArray(s.config.legend.markers.strokeWidth)?parseFloat(s.config.legend.markers.strokeWidth[t]):parseFloat(s.config.legend.markers.strokeWidth),h=r.style;if(h.height=2*(l+d)+"px",h.width=2*(l+d)+"px",h.left=c+"px",h.top=u+"px",s.config.legend.markers.customHTML)h.background="transparent",h.color=a[t],Array.isArray(s.config.legend.markers.customHTML)?s.config.legend.markers.customHTML[t]&&(r.innerHTML=s.config.legend.markers.customHTML[t]()):r.innerHTML=s.config.legend.markers.customHTML();else{var f=new qs(this.ctx).getMarkerConfig({cssClass:"apexcharts-legend-marker apexcharts-marker apexcharts-marker-".concat(o),seriesIndex:t,strokeWidth:d,size:l}),g=window.SVG().addTo(r).size("100%","100%"),p=new V(this.ctx).drawMarker(0,0,$($({},f),{},{pointFillColor:Array.isArray(a)?a[t]:f.pointFillColor,shape:o}));s.globals.dom.Paper.find(".apexcharts-legend-marker.apexcharts-marker").forEach((function(m){m.node.classList.contains("apexcharts-marker-triangle")?m.node.style.transform="translate(50%, 45%)":m.node.style.transform="translate(50%, 50%)"})),g.add(p)}return r}},{key:"drawLegends",value:function(){var e=this,t=this,a=this.w,s=a.config.legend.fontFamily,r=a.globals.seriesNames,n=a.config.legend.markers.fillColors?a.config.legend.markers.fillColors.slice():a.globals.colors.slice();if(a.config.chart.type==="heatmap"){var o=a.config.plotOptions.heatmap.colorScale.ranges;r=o.map((function(f){return f.name?f.name:f.from+" - "+f.to})),n=o.map((function(f){return f.color}))}else this.isBarsDistributed&&(r=a.globals.labels.slice());a.config.legend.customLegendItems.length&&(r=a.config.legend.customLegendItems);var l=a.globals.legendFormatter,c=a.config.legend.inverseOrder,u=[];a.globals.seriesGroups.length>1&&a.config.legend.clusterGroupedSeries&&a.globals.seriesGroups.forEach((function(f,g){u[g]=document.createElement("div"),u[g].classList.add("apexcharts-legend-group","apexcharts-legend-group-".concat(g)),a.config.legend.clusterGroupedSeriesOrientation==="horizontal"?a.globals.dom.elLegendWrap.classList.add("apexcharts-legend-group-horizontal"):u[g].classList.add("apexcharts-legend-group-vertical")}));for(var d=function(f){var g,p=l(r[f],{seriesIndex:f,w:a}),m=!1,v=!1;if(a.globals.collapsedSeries.length>0)for(var b=0;b<a.globals.collapsedSeries.length;b++)a.globals.collapsedSeries[b].index===f&&(m=!0);if(a.globals.ancillaryCollapsedSeriesIndices.length>0)for(var x=0;x<a.globals.ancillaryCollapsedSeriesIndices.length;x++)a.globals.ancillaryCollapsedSeriesIndices[x]===f&&(v=!0);var k=e.createLegendMarker({i:f,fillcolor:n});V.setAttrs(k,{rel:f+1,"data:collapsed":m||v}),(m||v)&&k.classList.add("apexcharts-inactive-legend");var y=document.createElement("div"),A=document.createElement("span");A.classList.add("apexcharts-legend-text"),A.innerHTML=Array.isArray(p)?p.join(" "):p;var w=a.config.legend.labels.useSeriesColors?a.globals.colors[f]:Array.isArray(a.config.legend.labels.colors)?(g=a.config.legend.labels.colors)===null||g===void 0?void 0:g[f]:a.config.legend.labels.colors;w||(w=a.config.chart.foreColor),A.style.color=w,A.style.fontSize=parseFloat(a.config.legend.fontSize)+"px",A.style.fontWeight=a.config.legend.fontWeight,A.style.fontFamily=s||a.config.chart.fontFamily,V.setAttrs(A,{rel:f+1,i:f,"data:default-text":encodeURIComponent(p),"data:collapsed":m||v}),y.appendChild(k),y.appendChild(A);var S=new nt(e.ctx);a.config.legend.showForZeroSeries||S.getSeriesTotalByIndex(f)===0&&S.seriesHaveSameValues(f)&&!S.isSeriesNull(f)&&a.globals.collapsedSeriesIndices.indexOf(f)===-1&&a.globals.ancillaryCollapsedSeriesIndices.indexOf(f)===-1&&y.classList.add("apexcharts-hidden-zero-series"),a.config.legend.showForNullSeries||S.isSeriesNull(f)&&a.globals.collapsedSeriesIndices.indexOf(f)===-1&&a.globals.ancillaryCollapsedSeriesIndices.indexOf(f)===-1&&y.classList.add("apexcharts-hidden-null-series"),u.length?a.globals.seriesGroups.forEach((function(C,M){var E;C.includes((E=a.config.series[f])===null||E===void 0?void 0:E.name)&&(a.globals.dom.elLegendWrap.appendChild(u[M]),u[M].appendChild(y))})):a.globals.dom.elLegendWrap.appendChild(y),a.globals.dom.elLegendWrap.classList.add("apexcharts-align-".concat(a.config.legend.horizontalAlign)),a.globals.dom.elLegendWrap.classList.add("apx-legend-position-"+a.config.legend.position),y.classList.add("apexcharts-legend-series"),y.style.margin="".concat(a.config.legend.itemMargin.vertical,"px ").concat(a.config.legend.itemMargin.horizontal,"px"),a.globals.dom.elLegendWrap.style.width=a.config.legend.width?a.config.legend.width+"px":"",a.globals.dom.elLegendWrap.style.height=a.config.legend.height?a.config.legend.height+"px":"",V.setAttrs(y,{rel:f+1,seriesName:T.escapeString(r[f]),"data:collapsed":m||v}),(m||v)&&y.classList.add("apexcharts-inactive-legend"),a.config.legend.onItemClick.toggleDataSeries||y.classList.add("apexcharts-no-click")},h=c?r.length-1:0;c?h>=0:h<=r.length-1;c?h--:h++)d(h);a.globals.dom.elWrap.addEventListener("click",t.onLegendClick,!0),a.config.legend.onItemHover.highlightDataSeries&&a.config.legend.customLegendItems.length===0&&(a.globals.dom.elWrap.addEventListener("mousemove",t.onLegendHovered,!0),a.globals.dom.elWrap.addEventListener("mouseout",t.onLegendHovered,!0))}},{key:"setLegendWrapXY",value:function(e,t){var a=this.w,s=a.globals.dom.elLegendWrap,r=s.clientHeight,n=0,o=0;if(a.config.legend.position==="bottom")o=a.globals.svgHeight-Math.min(r,a.globals.svgHeight/2)-5;else if(a.config.legend.position==="top"){var l=new yo(this.ctx),c=l.dimHelpers.getTitleSubtitleCoords("title").height,u=l.dimHelpers.getTitleSubtitleCoords("subtitle").height;o=(c>0?c-10:0)+(u>0?u-10:0)}s.style.position="absolute",n=n+e+a.config.legend.offsetX,o=o+t+a.config.legend.offsetY,s.style.left=n+"px",s.style.top=o+"px",a.config.legend.position==="right"&&(s.style.left="auto",s.style.right=25+a.config.legend.offsetX+"px"),["width","height"].forEach((function(d){s.style[d]&&(s.style[d]=parseInt(a.config.legend[d],10)+"px")}))}},{key:"legendAlignHorizontal",value:function(){var e=this.w;e.globals.dom.elLegendWrap.style.right=0;var t=new yo(this.ctx),a=t.dimHelpers.getTitleSubtitleCoords("title"),s=t.dimHelpers.getTitleSubtitleCoords("subtitle"),r=0;e.config.legend.position==="top"&&(r=a.height+s.height+e.config.title.margin+e.config.subtitle.margin-10),this.setLegendWrapXY(20,r)}},{key:"legendAlignVertical",value:function(){var e=this.w,t=this.legendHelpers.getLegendDimensions(),a=0;e.config.legend.position==="left"&&(a=20),e.config.legend.position==="right"&&(a=e.globals.svgWidth-t.clww-10),this.setLegendWrapXY(a,20)}},{key:"onLegendHovered",value:function(e){var t=this.w,a=e.target.classList.contains("apexcharts-legend-series")||e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker");if(t.config.chart.type==="heatmap"||this.isBarsDistributed){if(a){var s=parseInt(e.target.getAttribute("rel"),10)-1;this.ctx.events.fireEvent("legendHover",[this.ctx,s,this.w]),new ri(this.ctx).highlightRangeInSeries(e,e.target)}}else!e.target.classList.contains("apexcharts-inactive-legend")&&a&&new ri(this.ctx).toggleSeriesOnHover(e,e.target)}},{key:"onLegendClick",value:function(e){var t=this.w;if(!t.config.legend.customLegendItems.length&&(e.target.classList.contains("apexcharts-legend-series")||e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker"))){var a=parseInt(e.target.getAttribute("rel"),10)-1,s=e.target.getAttribute("data:collapsed")==="true",r=this.w.config.chart.events.legendClick;typeof r=="function"&&r(this.ctx,a,this.w),this.ctx.events.fireEvent("legendClick",[this.ctx,a,this.w]);var n=this.w.config.legend.markers.onClick;typeof n=="function"&&e.target.classList.contains("apexcharts-legend-marker")&&(n(this.ctx,a,this.w),this.ctx.events.fireEvent("legendMarkerClick",[this.ctx,a,this.w])),t.config.chart.type!=="treemap"&&t.config.chart.type!=="heatmap"&&!this.isBarsDistributed&&t.config.legend.onItemClick.toggleDataSeries&&this.legendHelpers.toggleDataSeries(a,s)}}}]),i})(),_x=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w;var t=this.w;this.ev=this.w.config.chart.events,this.selectedClass="apexcharts-selected",this.localeValues=this.w.globals.locale.toolbar,this.minX=t.globals.minX,this.maxX=t.globals.maxX}return te(i,[{key:"createToolbar",value:function(){var e=this,t=this.w,a=function(){return document.createElement("div")},s=a();if(s.setAttribute("class","apexcharts-toolbar"),s.style.top=t.config.chart.toolbar.offsetY+"px",s.style.right=3-t.config.chart.toolbar.offsetX+"px",t.globals.dom.elWrap.appendChild(s),this.elZoom=a(),this.elZoomIn=a(),this.elZoomOut=a(),this.elPan=a(),this.elSelection=a(),this.elZoomReset=a(),this.elMenuIcon=a(),this.elMenu=a(),this.elCustomIcons=[],this.t=t.config.chart.toolbar.tools,Array.isArray(this.t.customIcons))for(var r=0;r<this.t.customIcons.length;r++)this.elCustomIcons.push(a());var n=[],o=function(d,h,f){var g=d.toLowerCase();e.t[g]&&t.config.chart.zoom.enabled&&n.push({el:h,icon:typeof e.t[g]=="string"?e.t[g]:f,title:e.localeValues[d],class:"apexcharts-".concat(g,"-icon")})};o("zoomIn",this.elZoomIn,`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
197
|
+
<path d="M0 0h24v24H0z" fill="none"/>
|
|
198
|
+
<path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>
|
|
199
|
+
</svg>
|
|
200
|
+
`),o("zoomOut",this.elZoomOut,`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
201
|
+
<path d="M0 0h24v24H0z" fill="none"/>
|
|
202
|
+
<path d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>
|
|
203
|
+
</svg>
|
|
204
|
+
`);var l=function(d){e.t[d]&&t.config.chart[d].enabled&&n.push({el:d==="zoom"?e.elZoom:e.elSelection,icon:typeof e.t[d]=="string"?e.t[d]:d==="zoom"?`<svg xmlns="http://www.w3.org/2000/svg" fill="#000000" height="24" viewBox="0 0 24 24" width="24">
|
|
205
|
+
<path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/>
|
|
206
|
+
<path d="M0 0h24v24H0V0z" fill="none"/>
|
|
207
|
+
<path d="M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"/>
|
|
208
|
+
</svg>`:`<svg fill="#6E8192" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
|
209
|
+
<path d="M0 0h24v24H0z" fill="none"/>
|
|
210
|
+
<path d="M3 5h2V3c-1.1 0-2 .9-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2c0-1.1-.9-2-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2z"/>
|
|
211
|
+
</svg>`,title:e.localeValues[d==="zoom"?"selectionZoom":"selection"],class:"apexcharts-".concat(d,"-icon")})};l("zoom"),l("selection"),this.t.pan&&t.config.chart.zoom.enabled&&n.push({el:this.elPan,icon:typeof this.t.pan=="string"?this.t.pan:`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000" height="24" viewBox="0 0 24 24" width="24">
|
|
212
|
+
<defs>
|
|
213
|
+
<path d="M0 0h24v24H0z" id="a"/>
|
|
214
|
+
</defs>
|
|
215
|
+
<clipPath id="b">
|
|
216
|
+
<use overflow="visible" xlink:href="#a"/>
|
|
217
|
+
</clipPath>
|
|
218
|
+
<path clip-path="url(#b)" d="M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08 0-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4c0-.83.67-1.5 1.5-1.5S11 3.17 11 4v7h1V1.5c0-.83.67-1.5 1.5-1.5S15 .67 15 1.5V11h1V2.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V11h1V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5z"/>
|
|
219
|
+
</svg>`,title:this.localeValues.pan,class:"apexcharts-pan-icon"}),o("reset",this.elZoomReset,`<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
|
220
|
+
<path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>
|
|
221
|
+
<path d="M0 0h24v24H0z" fill="none"/>
|
|
222
|
+
</svg>`),this.t.download&&n.push({el:this.elMenuIcon,icon:typeof this.t.download=="string"?this.t.download:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></svg>',title:this.localeValues.menu,class:"apexcharts-menu-icon"});for(var c=0;c<this.elCustomIcons.length;c++)n.push({el:this.elCustomIcons[c],icon:this.t.customIcons[c].icon,title:this.t.customIcons[c].title,index:this.t.customIcons[c].index,class:"apexcharts-toolbar-custom-icon "+this.t.customIcons[c].class});n.forEach((function(d,h){d.index&&T.moveIndexInArray(n,h,d.index)}));for(var u=0;u<n.length;u++)V.setAttrs(n[u].el,{class:n[u].class,title:n[u].title}),n[u].el.innerHTML=n[u].icon,s.appendChild(n[u].el);this._createHamburgerMenu(s),t.globals.zoomEnabled?this.elZoom.classList.add(this.selectedClass):t.globals.panEnabled?this.elPan.classList.add(this.selectedClass):t.globals.selectionEnabled&&this.elSelection.classList.add(this.selectedClass),this.addToolbarEventListeners()}},{key:"_createHamburgerMenu",value:function(e){this.elMenuItems=[],e.appendChild(this.elMenu),V.setAttrs(this.elMenu,{class:"apexcharts-menu"});for(var t=[{name:"exportSVG",title:this.localeValues.exportToSVG},{name:"exportPNG",title:this.localeValues.exportToPNG},{name:"exportCSV",title:this.localeValues.exportToCSV}],a=0;a<t.length;a++)this.elMenuItems.push(document.createElement("div")),this.elMenuItems[a].innerHTML=t[a].title,V.setAttrs(this.elMenuItems[a],{class:"apexcharts-menu-item ".concat(t[a].name),title:t[a].title}),this.elMenu.appendChild(this.elMenuItems[a])}},{key:"addToolbarEventListeners",value:function(){var e=this;this.elZoomReset.addEventListener("click",this.handleZoomReset.bind(this)),this.elSelection.addEventListener("click",this.toggleZoomSelection.bind(this,"selection")),this.elZoom.addEventListener("click",this.toggleZoomSelection.bind(this,"zoom")),this.elZoomIn.addEventListener("click",this.handleZoomIn.bind(this)),this.elZoomOut.addEventListener("click",this.handleZoomOut.bind(this)),this.elPan.addEventListener("click",this.togglePanning.bind(this)),this.elMenuIcon.addEventListener("click",this.toggleMenu.bind(this)),this.elMenuItems.forEach((function(a){a.classList.contains("exportSVG")?a.addEventListener("click",e.handleDownload.bind(e,"svg")):a.classList.contains("exportPNG")?a.addEventListener("click",e.handleDownload.bind(e,"png")):a.classList.contains("exportCSV")&&a.addEventListener("click",e.handleDownload.bind(e,"csv"))}));for(var t=0;t<this.t.customIcons.length;t++)this.elCustomIcons[t].addEventListener("click",this.t.customIcons[t].click.bind(this,this.ctx,this.ctx.w))}},{key:"toggleZoomSelection",value:function(e){this.ctx.getSyncedCharts().forEach((function(t){t.ctx.toolbar.toggleOtherControls();var a=e==="selection"?t.ctx.toolbar.elSelection:t.ctx.toolbar.elZoom,s=e==="selection"?"selectionEnabled":"zoomEnabled";t.w.globals[s]=!t.w.globals[s],a.classList.contains(t.ctx.toolbar.selectedClass)?a.classList.remove(t.ctx.toolbar.selectedClass):a.classList.add(t.ctx.toolbar.selectedClass)}))}},{key:"getToolbarIconsReference",value:function(){var e=this.w;this.elZoom||(this.elZoom=e.globals.dom.baseEl.querySelector(".apexcharts-zoom-icon")),this.elPan||(this.elPan=e.globals.dom.baseEl.querySelector(".apexcharts-pan-icon")),this.elSelection||(this.elSelection=e.globals.dom.baseEl.querySelector(".apexcharts-selection-icon"))}},{key:"enableZoomPanFromToolbar",value:function(e){this.toggleOtherControls(),e==="pan"?this.w.globals.panEnabled=!0:this.w.globals.zoomEnabled=!0;var t=e==="pan"?this.elPan:this.elZoom,a=e==="pan"?this.elZoom:this.elPan;t&&t.classList.add(this.selectedClass),a&&a.classList.remove(this.selectedClass)}},{key:"togglePanning",value:function(){this.ctx.getSyncedCharts().forEach((function(e){e.ctx.toolbar.toggleOtherControls(),e.w.globals.panEnabled=!e.w.globals.panEnabled,e.ctx.toolbar.elPan.classList.contains(e.ctx.toolbar.selectedClass)?e.ctx.toolbar.elPan.classList.remove(e.ctx.toolbar.selectedClass):e.ctx.toolbar.elPan.classList.add(e.ctx.toolbar.selectedClass)}))}},{key:"toggleOtherControls",value:function(){var e=this,t=this.w;t.globals.panEnabled=!1,t.globals.zoomEnabled=!1,t.globals.selectionEnabled=!1,this.getToolbarIconsReference(),[this.elPan,this.elSelection,this.elZoom].forEach((function(a){a&&a.classList.remove(e.selectedClass)}))}},{key:"handleZoomIn",value:function(){var e=this.w;e.globals.isRangeBar&&(this.minX=e.globals.minY,this.maxX=e.globals.maxY);var t=(this.minX+this.maxX)/2,a=(this.minX+t)/2,s=(this.maxX+t)/2,r=this._getNewMinXMaxX(a,s);e.globals.disableZoomIn||this.zoomUpdateOptions(r.minX,r.maxX)}},{key:"handleZoomOut",value:function(){var e=this.w;if(e.globals.isRangeBar&&(this.minX=e.globals.minY,this.maxX=e.globals.maxY),!(e.config.xaxis.type==="datetime"&&new Date(this.minX).getUTCFullYear()<1e3)){var t=(this.minX+this.maxX)/2,a=this.minX-(t-this.minX),s=this.maxX-(t-this.maxX),r=this._getNewMinXMaxX(a,s);e.globals.disableZoomOut||this.zoomUpdateOptions(r.minX,r.maxX)}}},{key:"_getNewMinXMaxX",value:function(e,t){var a=this.w.config.xaxis.convertedCatToNumeric;return{minX:a?Math.floor(e):e,maxX:a?Math.floor(t):t}}},{key:"zoomUpdateOptions",value:function(e,t){var a=this.w;if(e!==void 0||t!==void 0){if(!(a.config.xaxis.convertedCatToNumeric&&(e<1&&(e=1,t=a.globals.dataPoints),t-e<2))){var s={min:e,max:t},r=this.getBeforeZoomRange(s);r&&(s=r.xaxis);var n={xaxis:s},o=T.clone(a.globals.initialConfig.yaxis);a.config.chart.group||(n.yaxis=o),this.w.globals.zoomed=!0,this.ctx.updateHelpers._updateOptions(n,!1,this.w.config.chart.animations.dynamicAnimation.enabled),this.zoomCallback(s,o)}}else this.handleZoomReset()}},{key:"zoomCallback",value:function(e,t){typeof this.ev.zoomed=="function"&&(this.ev.zoomed(this.ctx,{xaxis:e,yaxis:t}),this.ctx.events.fireEvent("zoomed",{xaxis:e,yaxis:t}))}},{key:"getBeforeZoomRange",value:function(e,t){var a=null;return typeof this.ev.beforeZoom=="function"&&(a=this.ev.beforeZoom(this,{xaxis:e,yaxis:t})),a}},{key:"toggleMenu",value:function(){var e=this;window.setTimeout((function(){e.elMenu.classList.contains("apexcharts-menu-open")?e.elMenu.classList.remove("apexcharts-menu-open"):e.elMenu.classList.add("apexcharts-menu-open")}),0)}},{key:"handleDownload",value:function(e){var t=this.w,a=new wr(this.ctx);switch(e){case"svg":a.exportToSVG(this.ctx);break;case"png":a.exportToPng(this.ctx);break;case"csv":a.exportToCSV({series:t.config.series,columnDelimiter:t.config.chart.toolbar.export.csv.columnDelimiter})}}},{key:"handleZoomReset",value:function(e){this.ctx.getSyncedCharts().forEach((function(t){var a=t.w;if(a.globals.lastXAxis.min=a.globals.initialConfig.xaxis.min,a.globals.lastXAxis.max=a.globals.initialConfig.xaxis.max,t.updateHelpers.revertDefaultAxisMinMax(),typeof a.config.chart.events.beforeResetZoom=="function"){var s=a.config.chart.events.beforeResetZoom(t,a);s&&t.updateHelpers.revertDefaultAxisMinMax(s)}typeof a.config.chart.events.zoomed=="function"&&t.ctx.toolbar.zoomCallback({min:a.config.xaxis.min,max:a.config.xaxis.max}),a.globals.zoomed=!1;var r=t.ctx.series.emptyCollapsedSeries(T.clone(a.globals.initialSeries));t.updateHelpers._updateSeries(r,a.config.chart.animations.dynamicAnimation.enabled)}))}},{key:"destroy",value:function(){this.elZoom=null,this.elZoomIn=null,this.elZoomOut=null,this.elPan=null,this.elSelection=null,this.elZoomReset=null,this.elMenuIcon=null}}]),i})(),iI=(function(i){nn(t,_x);var e=rn(t);function t(a){var s;return ee(this,t),(s=e.call(this,a)).ctx=a,s.w=a.w,s.dragged=!1,s.graphics=new V(s.ctx),s.eventList=["mousedown","mouseleave","mousemove","touchstart","touchmove","mouseup","touchend","wheel"],s.clientX=0,s.clientY=0,s.startX=0,s.endX=0,s.dragX=0,s.startY=0,s.endY=0,s.dragY=0,s.moveDirection="none",s.debounceTimer=null,s.debounceDelay=100,s.wheelDelay=400,s}return te(t,[{key:"init",value:function(a){var s=this,r=a.xyRatios,n=this.w,o=this;this.xyRatios=r,this.zoomRect=this.graphics.drawRect(0,0,0,0),this.selectionRect=this.graphics.drawRect(0,0,0,0),this.gridRect=n.globals.dom.baseEl.querySelector(".apexcharts-grid"),this.constraints=new st(0,0,n.globals.gridWidth,n.globals.gridHeight),this.zoomRect.node.classList.add("apexcharts-zoom-rect"),this.selectionRect.node.classList.add("apexcharts-selection-rect"),n.globals.dom.Paper.add(this.zoomRect),n.globals.dom.Paper.add(this.selectionRect),n.config.chart.selection.type==="x"?this.slDraggableRect=this.selectionRect.draggable({minX:0,minY:0,maxX:n.globals.gridWidth,maxY:n.globals.gridHeight}).on("dragmove.namespace",this.selectionDragging.bind(this,"dragging")):n.config.chart.selection.type==="y"?this.slDraggableRect=this.selectionRect.draggable({minX:0,maxX:n.globals.gridWidth}).on("dragmove.namespace",this.selectionDragging.bind(this,"dragging")):this.slDraggableRect=this.selectionRect.draggable().on("dragmove.namespace",this.selectionDragging.bind(this,"dragging")),this.preselectedSelection(),this.hoverArea=n.globals.dom.baseEl.querySelector("".concat(n.globals.chartClass," .apexcharts-svg")),this.hoverArea.classList.add("apexcharts-zoomable"),this.eventList.forEach((function(l){s.hoverArea.addEventListener(l,o.svgMouseEvents.bind(o,r),{capture:!1,passive:!0})})),n.config.chart.zoom.enabled&&n.config.chart.zoom.allowMouseWheelZoom&&this.hoverArea.addEventListener("wheel",o.mouseWheelEvent.bind(o),{capture:!1,passive:!1})}},{key:"destroy",value:function(){this.slDraggableRect&&(this.slDraggableRect.draggable(!1),this.slDraggableRect.off(),this.selectionRect.off()),this.selectionRect=null,this.zoomRect=null,this.gridRect=null}},{key:"svgMouseEvents",value:function(a,s){var r=this.w,n=this.ctx.toolbar,o=r.globals.zoomEnabled?r.config.chart.zoom.type:r.config.chart.selection.type,l=r.config.chart.toolbar.autoSelected;if(s.shiftKey?(this.shiftWasPressed=!0,n.enableZoomPanFromToolbar(l==="pan"?"zoom":"pan")):this.shiftWasPressed&&(n.enableZoomPanFromToolbar(l),this.shiftWasPressed=!1),s.target){var c,u=s.target.classList;if(s.target.parentNode&&s.target.parentNode!==null&&(c=s.target.parentNode.classList),!(u.contains("apexcharts-legend-marker")||u.contains("apexcharts-legend-text")||c&&c.contains("apexcharts-toolbar"))){if(this.clientX=s.type==="touchmove"||s.type==="touchstart"?s.touches[0].clientX:s.type==="touchend"?s.changedTouches[0].clientX:s.clientX,this.clientY=s.type==="touchmove"||s.type==="touchstart"?s.touches[0].clientY:s.type==="touchend"?s.changedTouches[0].clientY:s.clientY,s.type==="mousedown"&&s.which===1||s.type==="touchstart"){var d=this.gridRect.getBoundingClientRect();this.startX=this.clientX-d.left-r.globals.barPadForNumericAxis,this.startY=this.clientY-d.top,this.dragged=!1,this.w.globals.mousedown=!0}(s.type==="mousemove"&&s.which===1||s.type==="touchmove")&&(this.dragged=!0,r.globals.panEnabled?(r.globals.selection=null,this.w.globals.mousedown&&this.panDragging({context:this,zoomtype:o,xyRatios:a})):(this.w.globals.mousedown&&r.globals.zoomEnabled||this.w.globals.mousedown&&r.globals.selectionEnabled)&&(this.selection=this.selectionDrawing({context:this,zoomtype:o}))),s.type!=="mouseup"&&s.type!=="touchend"&&s.type!=="mouseleave"||this.handleMouseUp({zoomtype:o}),this.makeSelectionRectDraggable()}}}},{key:"handleMouseUp",value:function(a){var s,r=a.zoomtype,n=a.isResized,o=this.w,l=(s=this.gridRect)===null||s===void 0?void 0:s.getBoundingClientRect();l&&(this.w.globals.mousedown||n)&&(this.endX=this.clientX-l.left-o.globals.barPadForNumericAxis,this.endY=this.clientY-l.top,this.dragX=Math.abs(this.endX-this.startX),this.dragY=Math.abs(this.endY-this.startY),(o.globals.zoomEnabled||o.globals.selectionEnabled)&&this.selectionDrawn({context:this,zoomtype:r})),o.globals.zoomEnabled&&this.hideSelectionRect(this.selectionRect),this.dragged=!1,this.w.globals.mousedown=!1}},{key:"mouseWheelEvent",value:function(a){var s=this,r=this.w;a.preventDefault();var n=Date.now();n-r.globals.lastWheelExecution>this.wheelDelay&&(this.executeMouseWheelZoom(a),r.globals.lastWheelExecution=n),this.debounceTimer&&clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout((function(){n-r.globals.lastWheelExecution>s.wheelDelay&&(s.executeMouseWheelZoom(a),r.globals.lastWheelExecution=n)}),this.debounceDelay)}},{key:"executeMouseWheelZoom",value:function(a){var s,r=this.w;this.minX=r.globals.isRangeBar?r.globals.minY:r.globals.minX,this.maxX=r.globals.isRangeBar?r.globals.maxY:r.globals.maxX;var n=(s=this.gridRect)===null||s===void 0?void 0:s.getBoundingClientRect();if(n){var o,l,c,u=(a.clientX-n.left)/n.width,d=this.minX,h=this.maxX,f=h-d;if(a.deltaY<0){var g=d+u*f;l=g-(o=.5*f)/2,c=g+o/2}else l=d-(o=1.5*f)/2,c=h+o/2;if(!r.globals.isRangeBar){l=Math.max(l,r.globals.initialMinX),c=Math.min(c,r.globals.initialMaxX);var p=.01*(r.globals.initialMaxX-r.globals.initialMinX);if(c-l<p){var m=(l+c)/2;l=m-p/2,c=m+p/2}}var v=this._getNewMinXMaxX(l,c);isNaN(v.minX)||isNaN(v.maxX)||this.zoomUpdateOptions(v.minX,v.maxX)}}},{key:"makeSelectionRectDraggable",value:function(){var a=this,s=this.w;if(this.selectionRect){var r=this.selectionRect.node.getBoundingClientRect();r.width>0&&r.height>0&&(this.selectionRect.select(!1).resize(!1),this.selectionRect.select({createRot:function(){},updateRot:function(){},createHandle:function(n,o,l,c,u){return u==="l"||u==="r"?n.circle(8).css({"stroke-width":1,stroke:"#333",fill:"#fff"}):n.circle(0)},updateHandle:function(n,o){return n.center(o[0],o[1])}}).resize().on("resize",(function(){var n=s.globals.zoomEnabled?s.config.chart.zoom.type:s.config.chart.selection.type;a.handleMouseUp({zoomtype:n,isResized:!0})})))}}},{key:"preselectedSelection",value:function(){var a=this.w,s=this.xyRatios;if(!a.globals.zoomEnabled){if(a.globals.selection!==void 0&&a.globals.selection!==null)this.drawSelectionRect($($({},a.globals.selection),{},{translateX:a.globals.translateX,translateY:a.globals.translateY}));else if(a.config.chart.selection.xaxis.min!==void 0&&a.config.chart.selection.xaxis.max!==void 0){var r=(a.config.chart.selection.xaxis.min-a.globals.minX)/s.xRatio,n=a.globals.gridWidth-(a.globals.maxX-a.config.chart.selection.xaxis.max)/s.xRatio-r;a.globals.isRangeBar&&(r=(a.config.chart.selection.xaxis.min-a.globals.yAxisScale[0].niceMin)/s.invertedYRatio,n=(a.config.chart.selection.xaxis.max-a.config.chart.selection.xaxis.min)/s.invertedYRatio);var o={x:r,y:0,width:n,height:a.globals.gridHeight,translateX:a.globals.translateX,translateY:a.globals.translateY,selectionEnabled:!0};this.drawSelectionRect(o),this.makeSelectionRectDraggable(),typeof a.config.chart.events.selection=="function"&&a.config.chart.events.selection(this.ctx,{xaxis:{min:a.config.chart.selection.xaxis.min,max:a.config.chart.selection.xaxis.max},yaxis:{}})}}}},{key:"drawSelectionRect",value:function(a){var s=a.x,r=a.y,n=a.width,o=a.height,l=a.translateX,c=l===void 0?0:l,u=a.translateY,d=u===void 0?0:u,h=this.w,f=this.zoomRect,g=this.selectionRect;if(this.dragged||h.globals.selection!==null){var p={transform:"translate("+c+", "+d+")"};h.globals.zoomEnabled&&this.dragged&&(n<0&&(n=1),f.attr({x:s,y:r,width:n,height:o,fill:h.config.chart.zoom.zoomedArea.fill.color,"fill-opacity":h.config.chart.zoom.zoomedArea.fill.opacity,stroke:h.config.chart.zoom.zoomedArea.stroke.color,"stroke-width":h.config.chart.zoom.zoomedArea.stroke.width,"stroke-opacity":h.config.chart.zoom.zoomedArea.stroke.opacity}),V.setAttrs(f.node,p)),h.globals.selectionEnabled&&(g.attr({x:s,y:r,width:n>0?n:0,height:o>0?o:0,fill:h.config.chart.selection.fill.color,"fill-opacity":h.config.chart.selection.fill.opacity,stroke:h.config.chart.selection.stroke.color,"stroke-width":h.config.chart.selection.stroke.width,"stroke-dasharray":h.config.chart.selection.stroke.dashArray,"stroke-opacity":h.config.chart.selection.stroke.opacity}),V.setAttrs(g.node,p))}}},{key:"hideSelectionRect",value:function(a){a&&a.attr({x:0,y:0,width:0,height:0})}},{key:"selectionDrawing",value:function(a){var s=a.context,r=a.zoomtype,n=this.w,o=s,l=this.gridRect.getBoundingClientRect(),c=o.startX-1,u=o.startY,d=!1,h=!1,f=o.clientX-l.left-n.globals.barPadForNumericAxis,g=o.clientY-l.top,p=f-c,m=g-u,v={translateX:n.globals.translateX,translateY:n.globals.translateY};return Math.abs(p+c)>n.globals.gridWidth?p=n.globals.gridWidth-c:f<0&&(p=c),c>f&&(d=!0,p=Math.abs(p)),u>g&&(h=!0,m=Math.abs(m)),v=$($({},v=r==="x"?{x:d?c-p:c,y:0,width:p,height:n.globals.gridHeight}:r==="y"?{x:0,y:h?u-m:u,width:n.globals.gridWidth,height:m}:{x:d?c-p:c,y:h?u-m:u,width:p,height:m}),{},{translateX:n.globals.translateX,translateY:n.globals.translateY}),o.drawSelectionRect(v),o.selectionDragging("resizing"),v}},{key:"selectionDragging",value:function(a,s){var r=this,n=this.w;if(s){s.preventDefault();var o=s.detail,l=o.handler,c=o.box,u=c.x,d=c.y;u<this.constraints.x&&(u=this.constraints.x),d<this.constraints.y&&(d=this.constraints.y),c.x2>this.constraints.x2&&(u=this.constraints.x2-c.w),c.y2>this.constraints.y2&&(d=this.constraints.y2-c.h),l.move(u,d);var h=this.xyRatios,f=this.selectionRect,g=0;a==="resizing"&&(g=30);var p=function(v){return parseFloat(f.node.getAttribute(v))},m={x:p("x"),y:p("y"),width:p("width"),height:p("height")};n.globals.selection=m,typeof n.config.chart.events.selection=="function"&&n.globals.selectionEnabled&&(clearTimeout(this.w.globals.selectionResizeTimer),this.w.globals.selectionResizeTimer=window.setTimeout((function(){var v,b,x,k,y=r.gridRect.getBoundingClientRect(),A=f.node.getBoundingClientRect();n.globals.isRangeBar?(v=n.globals.yAxisScale[0].niceMin+(A.left-y.left)*h.invertedYRatio,b=n.globals.yAxisScale[0].niceMin+(A.right-y.left)*h.invertedYRatio,x=0,k=1):(v=n.globals.xAxisScale.niceMin+(A.left-y.left)*h.xRatio,b=n.globals.xAxisScale.niceMin+(A.right-y.left)*h.xRatio,x=n.globals.yAxisScale[0].niceMin+(y.bottom-A.bottom)*h.yRatio[0],k=n.globals.yAxisScale[0].niceMax-(A.top-y.top)*h.yRatio[0]);var w={xaxis:{min:v,max:b},yaxis:{min:x,max:k}};n.config.chart.events.selection(r.ctx,w),n.config.chart.brush.enabled&&n.config.chart.events.brushScrolled!==void 0&&n.config.chart.events.brushScrolled(r.ctx,w)}),g))}}},{key:"selectionDrawn",value:function(a){var s,r,n=a.context,o=a.zoomtype,l=this.w,c=n,u=this.xyRatios,d=this.ctx.toolbar,h=l.globals.zoomEnabled?c.zoomRect.node.getBoundingClientRect():c.selectionRect.node.getBoundingClientRect(),f=c.gridRect.getBoundingClientRect(),g=h.left-f.left-l.globals.barPadForNumericAxis,p=h.right-f.left-l.globals.barPadForNumericAxis,m=h.top-f.top,v=h.bottom-f.top;l.globals.isRangeBar?(s=l.globals.yAxisScale[0].niceMin+g*u.invertedYRatio,r=l.globals.yAxisScale[0].niceMin+p*u.invertedYRatio):(s=l.globals.xAxisScale.niceMin+g*u.xRatio,r=l.globals.xAxisScale.niceMin+p*u.xRatio);var b=[],x=[];if(l.config.yaxis.forEach((function(M,E){var P=l.globals.seriesYAxisMap[E][0],D=l.globals.yAxisScale[E].niceMax-u.yRatio[P]*m,L=l.globals.yAxisScale[E].niceMax-u.yRatio[P]*v;b.push(D),x.push(L)})),c.dragged&&(c.dragX>10||c.dragY>10)&&s!==r){if(l.globals.zoomEnabled){var k=T.clone(l.globals.initialConfig.yaxis),y=T.clone(l.globals.initialConfig.xaxis);if(l.globals.zoomed=!0,l.config.xaxis.convertedCatToNumeric&&(s=Math.floor(s),r=Math.floor(r),s<1&&(s=1,r=l.globals.dataPoints),r-s<2&&(r=s+1)),o!=="xy"&&o!=="x"||(y={min:s,max:r}),o!=="xy"&&o!=="y"||k.forEach((function(M,E){k[E].min=x[E],k[E].max=b[E]})),d){var A=d.getBeforeZoomRange(y,k);A&&(y=A.xaxis?A.xaxis:y,k=A.yaxis?A.yaxis:k)}var w={xaxis:y};l.config.chart.group||(w.yaxis=k),c.ctx.updateHelpers._updateOptions(w,!1,c.w.config.chart.animations.dynamicAnimation.enabled),typeof l.config.chart.events.zoomed=="function"&&d.zoomCallback(y,k)}else if(l.globals.selectionEnabled){var S,C=null;S={min:s,max:r},o!=="xy"&&o!=="y"||(C=T.clone(l.config.yaxis)).forEach((function(M,E){C[E].min=x[E],C[E].max=b[E]})),l.globals.selection=c.selection,typeof l.config.chart.events.selection=="function"&&l.config.chart.events.selection(c.ctx,{xaxis:S,yaxis:C})}}}},{key:"panDragging",value:function(a){var s=a.context,r=this.w,n=s;if(r.globals.lastClientPosition.x!==void 0){var o=r.globals.lastClientPosition.x-n.clientX,l=r.globals.lastClientPosition.y-n.clientY;Math.abs(o)>Math.abs(l)&&o>0?this.moveDirection="left":Math.abs(o)>Math.abs(l)&&o<0?this.moveDirection="right":Math.abs(l)>Math.abs(o)&&l>0?this.moveDirection="up":Math.abs(l)>Math.abs(o)&&l<0&&(this.moveDirection="down")}r.globals.lastClientPosition={x:n.clientX,y:n.clientY};var c=r.globals.isRangeBar?r.globals.minY:r.globals.minX,u=r.globals.isRangeBar?r.globals.maxY:r.globals.maxX;n.panScrolled(c,u)}},{key:"panScrolled",value:function(a,s){var r=this.w,n=this.xyRatios,o=T.clone(r.globals.initialConfig.yaxis),l=n.xRatio,c=r.globals.minX,u=r.globals.maxX;r.globals.isRangeBar&&(l=n.invertedYRatio,c=r.globals.minY,u=r.globals.maxY),this.moveDirection==="left"?(a=c+r.globals.gridWidth/15*l,s=u+r.globals.gridWidth/15*l):this.moveDirection==="right"&&(a=c-r.globals.gridWidth/15*l,s=u-r.globals.gridWidth/15*l),r.globals.isRangeBar||(a<r.globals.initialMinX||s>r.globals.initialMaxX)&&(a=c,s=u);var d={xaxis:{min:a,max:s}};r.config.chart.group||(d.yaxis=o),this.updateScrolledChart(d,a,s)}},{key:"updateScrolledChart",value:function(a,s,r){var n=this.w;if(this.ctx.updateHelpers._updateOptions(a,!1,!1),typeof n.config.chart.events.scrolled=="function"){var o={xaxis:{min:s,max:r}};n.config.chart.events.scrolled(this.ctx,o),this.ctx.events.fireEvent("scrolled",o)}}}]),t})(),Ix=(function(){function i(e){ee(this,i),this.w=e.w,this.ttCtx=e,this.ctx=e.ctx}return te(i,[{key:"getNearestValues",value:function(e){var t=e.hoverArea,a=e.elGrid,s=e.clientX,r=e.clientY,n=this.w,o=a.getBoundingClientRect(),l=o.width,c=o.height,u=l/(n.globals.dataPoints-1),d=c/n.globals.dataPoints,h=this.hasBars();!n.globals.comboCharts&&!h||n.config.xaxis.convertedCatToNumeric||(u=l/n.globals.dataPoints);var f=s-o.left-n.globals.barPadForNumericAxis,g=r-o.top;f<0||g<0||f>l||g>c?(t.classList.remove("hovering-zoom"),t.classList.remove("hovering-pan")):n.globals.zoomEnabled?(t.classList.remove("hovering-pan"),t.classList.add("hovering-zoom")):n.globals.panEnabled&&(t.classList.remove("hovering-zoom"),t.classList.add("hovering-pan"));var p=Math.round(f/u),m=Math.floor(g/d);h&&!n.config.xaxis.convertedCatToNumeric&&(p=Math.ceil(f/u),p-=1);var v=null,b=null,x=n.globals.seriesXvalues.map((function(S){return S.filter((function(C){return T.isNumber(C)}))})),k=n.globals.seriesYvalues.map((function(S){return S.filter((function(C){return T.isNumber(C)}))}));if(n.globals.isXNumeric){var y=this.ttCtx.getElGrid().getBoundingClientRect(),A=f*(y.width/l),w=g*(y.height/c);v=(b=this.closestInMultiArray(A,w,x,k)).index,p=b.j,v!==null&&n.globals.hasNullValues&&(x=n.globals.seriesXvalues[v],p=(b=this.closestInArray(A,x)).j)}return n.globals.capturedSeriesIndex=v===null?-1:v,(!p||p<1)&&(p=0),n.globals.isBarHorizontal?n.globals.capturedDataPointIndex=m:n.globals.capturedDataPointIndex=p,{capturedSeries:v,j:n.globals.isBarHorizontal?m:p,hoverX:f,hoverY:g}}},{key:"getFirstActiveXArray",value:function(e){for(var t=this.w,a=0,s=e.map((function(n,o){return n.length>0?o:-1})),r=0;r<s.length;r++)if(s[r]!==-1&&t.globals.collapsedSeriesIndices.indexOf(r)===-1&&t.globals.ancillaryCollapsedSeriesIndices.indexOf(r)===-1){a=s[r];break}return a}},{key:"closestInMultiArray",value:function(e,t,a,s){for(var r,n=this.w,o=1/0,l=null,c=null,u=0;u<a.length;u++)if(r=u,n.globals.collapsedSeriesIndices.indexOf(r)===-1&&n.globals.ancillaryCollapsedSeriesIndices.indexOf(r)===-1)for(var d=a[u],h=s[u],f=Math.min(d.length,h.length),g=0;g<f;g++){var p=e-d[g],m=Math.sqrt(p*p);if(!n.globals.allSeriesHasEqualX){var v=t-h[g];m=Math.sqrt(p*p+v*v)}m<o&&(o=m,l=u,c=g)}return{index:l,j:c}}},{key:"closestInArray",value:function(e,t){for(var a=t[0],s=null,r=Math.abs(e-a),n=0;n<t.length;n++){var o=Math.abs(e-t[n]);o<r&&(r=o,s=n)}return{j:s}}},{key:"isXoverlap",value:function(e){var t=[],a=this.w.globals.seriesX.filter((function(r){return r[0]!==void 0}));if(a.length>0)for(var s=0;s<a.length-1;s++)a[s][e]!==void 0&&a[s+1][e]!==void 0&&a[s][e]!==a[s+1][e]&&t.push("unEqual");return t.length===0}},{key:"isInitialSeriesSameLen",value:function(){for(var e=!0,t=this.w.globals.initialSeries,a=0;a<t.length-1;a++)if(t[a].data.length!==t[a+1].data.length){e=!1;break}return e}},{key:"getBarsHeight",value:function(e){return ft(e).reduce((function(t,a){return t+a.getBBox().height}),0)}},{key:"getElMarkers",value:function(e){return typeof e=="number"?this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series[data\\:realIndex='".concat(e,"'] .apexcharts-series-markers-wrap > *")):this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers-wrap > *")}},{key:"getAllMarkers",value:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0&&arguments[0],a=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers-wrap");a=ft(a),t&&(a=a.filter((function(r){var n=Number(r.getAttribute("data:realIndex"));return e.w.globals.collapsedSeriesIndices.indexOf(n)===-1}))),a.sort((function(r,n){var o=Number(r.getAttribute("data:realIndex")),l=Number(n.getAttribute("data:realIndex"));return l<o?1:l>o?-1:0}));var s=[];return a.forEach((function(r){s.push(r.querySelector(".apexcharts-marker"))})),s}},{key:"hasMarkers",value:function(e){return this.getElMarkers(e).length>0}},{key:"getPathFromPoint",value:function(e,t){var a=Number(e.getAttribute("cx")),s=Number(e.getAttribute("cy")),r=e.getAttribute("shape");return new V(this.ctx).getMarkerPath(a,s,r,t)}},{key:"getElBars",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-bar-series, .apexcharts-candlestick-series, .apexcharts-boxPlot-series, .apexcharts-rangebar-series")}},{key:"hasBars",value:function(){return this.getElBars().length>0}},{key:"getHoverMarkerSize",value:function(e){var t=this.w,a=t.config.markers.hover.size;return a===void 0&&(a=t.globals.markers.size[e]+t.config.markers.hover.sizeOffset),a}},{key:"toggleAllTooltipSeriesGroups",value:function(e){var t=this.w,a=this.ttCtx;a.allTooltipSeriesGroups.length===0&&(a.allTooltipSeriesGroups=t.globals.dom.baseEl.querySelectorAll(".apexcharts-tooltip-series-group"));for(var s=a.allTooltipSeriesGroups,r=0;r<s.length;r++)e==="enable"?(s[r].classList.add("apexcharts-active"),s[r].style.display=t.config.tooltip.items.display):(s[r].classList.remove("apexcharts-active"),s[r].style.display="none")}}]),i})(),aI=(function(){function i(e){ee(this,i),this.w=e.w,this.ctx=e.ctx,this.ttCtx=e,this.tooltipUtil=new Ix(e)}return te(i,[{key:"drawSeriesTexts",value:function(e){var t=e.shared,a=t===void 0||t,s=e.ttItems,r=e.i,n=r===void 0?0:r,o=e.j,l=o===void 0?null:o,c=e.y1,u=e.y2,d=e.e,h=this.w;h.config.tooltip.custom!==void 0?this.handleCustomTooltip({i:n,j:l,y1:c,y2:u,w:h}):this.toggleActiveInactiveSeries(a,n);var f=this.getValuesToPrint({i:n,j:l});this.printLabels({i:n,j:l,values:f,ttItems:s,shared:a,e:d});var g=this.ttCtx.getElTooltip();this.ttCtx.tooltipRect.ttWidth=g.getBoundingClientRect().width,this.ttCtx.tooltipRect.ttHeight=g.getBoundingClientRect().height}},{key:"printLabels",value:function(e){var t,a=this,s=e.i,r=e.j,n=e.values,o=e.ttItems,l=e.shared,c=e.e,u=this.w,d=[],h=function(y){return u.globals.seriesGoals[y]&&u.globals.seriesGoals[y][r]&&Array.isArray(u.globals.seriesGoals[y][r])},f=n.xVal,g=n.zVal,p=n.xAxisTTVal,m="",v=u.globals.colors[s];r!==null&&u.config.plotOptions.bar.distributed&&(v=u.globals.colors[r]);for(var b=function(y,A){var w=a.getFormatters(s);m=a.getSeriesName({fn:w.yLbTitleFormatter,index:s,seriesIndex:s,j:r}),u.config.chart.type==="treemap"&&(m=w.yLbTitleFormatter(String(u.config.series[s].data[r].x),{series:u.globals.series,seriesIndex:s,dataPointIndex:r,w:u}));var S=u.config.tooltip.inverseOrder?A:y;if(u.globals.axisCharts){var C=function(P){var D,L,B,N;return u.globals.isRangeData?w.yLbFormatter((D=u.globals.seriesRangeStart)===null||D===void 0||(L=D[P])===null||L===void 0?void 0:L[r],{series:u.globals.seriesRangeStart,seriesIndex:P,dataPointIndex:r,w:u})+" - "+w.yLbFormatter((B=u.globals.seriesRangeEnd)===null||B===void 0||(N=B[P])===null||N===void 0?void 0:N[r],{series:u.globals.seriesRangeEnd,seriesIndex:P,dataPointIndex:r,w:u}):w.yLbFormatter(u.globals.series[P][r],{series:u.globals.series,seriesIndex:P,dataPointIndex:r,w:u})};if(l)w=a.getFormatters(S),m=a.getSeriesName({fn:w.yLbTitleFormatter,index:S,seriesIndex:s,j:r}),v=u.globals.colors[S],t=C(S),h(S)&&(d=u.globals.seriesGoals[S][r].map((function(P){return{attrs:P,val:w.yLbFormatter(P.value,{seriesIndex:S,dataPointIndex:r,w:u})}})));else{var M,E=c==null||(M=c.target)===null||M===void 0?void 0:M.getAttribute("fill");E&&(E.indexOf("url")!==-1?E.indexOf("Pattern")!==-1&&(v=u.globals.dom.baseEl.querySelector(E.substr(4).slice(0,-1)).childNodes[0].getAttribute("stroke")):v=E),t=C(s),h(s)&&Array.isArray(u.globals.seriesGoals[s][r])&&(d=u.globals.seriesGoals[s][r].map((function(P){return{attrs:P,val:w.yLbFormatter(P.value,{seriesIndex:s,dataPointIndex:r,w:u})}})))}}r===null&&(t=w.yLbFormatter(u.globals.series[s],$($({},u),{},{seriesIndex:s,dataPointIndex:s}))),a.DOMHandling({i:s,t:S,j:r,ttItems:o,values:{val:t,goalVals:d,xVal:f,xAxisTTVal:p,zVal:g},seriesName:m,shared:l,pColor:v})},x=0,k=u.globals.series.length-1;x<u.globals.series.length;x++,k--)b(x,k)}},{key:"getFormatters",value:function(e){var t,a=this.w,s=a.globals.yLabelFormatters[e];return a.globals.ttVal!==void 0?Array.isArray(a.globals.ttVal)?(s=a.globals.ttVal[e]&&a.globals.ttVal[e].formatter,t=a.globals.ttVal[e]&&a.globals.ttVal[e].title&&a.globals.ttVal[e].title.formatter):(s=a.globals.ttVal.formatter,typeof a.globals.ttVal.title.formatter=="function"&&(t=a.globals.ttVal.title.formatter)):t=a.config.tooltip.y.title.formatter,typeof s!="function"&&(s=a.globals.yLabelFormatters[0]?a.globals.yLabelFormatters[0]:function(r){return r}),typeof t!="function"&&(t=function(r){return r?r+": ":""}),{yLbFormatter:s,yLbTitleFormatter:t}}},{key:"getSeriesName",value:function(e){var t=e.fn,a=e.index,s=e.seriesIndex,r=e.j,n=this.w;return t(String(n.globals.seriesNames[a]),{series:n.globals.series,seriesIndex:s,dataPointIndex:r,w:n})}},{key:"DOMHandling",value:function(e){e.i;var t=e.t,a=e.j,s=e.ttItems,r=e.values,n=e.seriesName,o=e.shared,l=e.pColor,c=this.w,u=this.ttCtx,d=r.val,h=r.goalVals,f=r.xVal,g=r.xAxisTTVal,p=r.zVal,m=null;m=s[t].children,c.config.tooltip.fillSeriesColor&&(s[t].style.backgroundColor=l,m[0].style.display="none"),u.showTooltipTitle&&(u.tooltipTitle===null&&(u.tooltipTitle=c.globals.dom.baseEl.querySelector(".apexcharts-tooltip-title")),u.tooltipTitle.innerHTML=f),u.isXAxisTooltipEnabled&&(u.xaxisTooltipText.innerHTML=g!==""?g:f);var v=s[t].querySelector(".apexcharts-tooltip-text-y-label");v&&(v.innerHTML=n||"");var b=s[t].querySelector(".apexcharts-tooltip-text-y-value");b&&(b.innerHTML=d!==void 0?d:""),m[0]&&m[0].classList.contains("apexcharts-tooltip-marker")&&(c.config.tooltip.marker.fillColors&&Array.isArray(c.config.tooltip.marker.fillColors)&&(l=c.config.tooltip.marker.fillColors[t]),c.config.tooltip.fillSeriesColor?m[0].style.backgroundColor=l:m[0].style.color=l),c.config.tooltip.marker.show||(m[0].style.display="none");var x=s[t].querySelector(".apexcharts-tooltip-text-goals-label"),k=s[t].querySelector(".apexcharts-tooltip-text-goals-value");if(h.length&&c.globals.seriesGoals[t]){var y=function(){var S="<div>",C="<div>";h.forEach((function(M,E){S+=' <div style="display: flex"><span class="apexcharts-tooltip-marker" style="background-color: '.concat(M.attrs.strokeColor,'; height: 3px; border-radius: 0; top: 5px;"></span> ').concat(M.attrs.name,"</div>"),C+="<div>".concat(M.val,"</div>")})),x.innerHTML=S+"</div>",k.innerHTML=C+"</div>"};o?c.globals.seriesGoals[t][a]&&Array.isArray(c.globals.seriesGoals[t][a])?y():(x.innerHTML="",k.innerHTML=""):y()}else x.innerHTML="",k.innerHTML="";if(p!==null&&(s[t].querySelector(".apexcharts-tooltip-text-z-label").innerHTML=c.config.tooltip.z.title,s[t].querySelector(".apexcharts-tooltip-text-z-value").innerHTML=p!==void 0?p:""),o&&m[0]){if(c.config.tooltip.hideEmptySeries){var A=s[t].querySelector(".apexcharts-tooltip-marker"),w=s[t].querySelector(".apexcharts-tooltip-text");parseFloat(d)==0?(A.style.display="none",w.style.display="none"):(A.style.display="block",w.style.display="block")}d==null||c.globals.ancillaryCollapsedSeriesIndices.indexOf(t)>-1||c.globals.collapsedSeriesIndices.indexOf(t)>-1||Array.isArray(u.tConfig.enabledOnSeries)&&u.tConfig.enabledOnSeries.indexOf(t)===-1?m[0].parentNode.style.display="none":m[0].parentNode.style.display=c.config.tooltip.items.display}else Array.isArray(u.tConfig.enabledOnSeries)&&u.tConfig.enabledOnSeries.indexOf(t)===-1&&(m[0].parentNode.style.display="none")}},{key:"toggleActiveInactiveSeries",value:function(e,t){var a=this.w;if(e)this.tooltipUtil.toggleAllTooltipSeriesGroups("enable");else{this.tooltipUtil.toggleAllTooltipSeriesGroups("disable");var s=a.globals.dom.baseEl.querySelector(".apexcharts-tooltip-series-group-".concat(t));s&&(s.classList.add("apexcharts-active"),s.style.display=a.config.tooltip.items.display)}}},{key:"getValuesToPrint",value:function(e){var t=e.i,a=e.j,s=this.w,r=this.ctx.series.filteredSeriesX(),n="",o="",l=null,c=null,u={series:s.globals.series,seriesIndex:t,dataPointIndex:a,w:s},d=s.globals.ttZFormatter;a===null?c=s.globals.series[t]:s.globals.isXNumeric&&s.config.chart.type!=="treemap"?(n=r[t][a],r[t].length===0&&(n=r[this.tooltipUtil.getFirstActiveXArray(r)][a])):n=new Pd(this.ctx).isFormatXY()?s.config.series[t].data[a]!==void 0?s.config.series[t].data[a].x:"":s.globals.labels[a]!==void 0?s.globals.labels[a]:"";var h=n;return s.globals.isXNumeric&&s.config.xaxis.type==="datetime"?n=new un(this.ctx).xLabelFormat(s.globals.ttKeyFormatter,h,h,{i:void 0,dateFormatter:new pt(this.ctx).formatDate,w:this.w}):n=s.globals.isBarHorizontal?s.globals.yLabelFormatters[0](h,u):s.globals.xLabelFormatter(h,u),s.config.tooltip.x.formatter!==void 0&&(n=s.globals.ttKeyFormatter(h,u)),s.globals.seriesZ.length>0&&s.globals.seriesZ[t].length>0&&(l=d(s.globals.seriesZ[t][a],s)),o=typeof s.config.xaxis.tooltip.formatter=="function"?s.globals.xaxisTooltipFormatter(h,u):n,{val:Array.isArray(c)?c.join(" "):c,xVal:Array.isArray(n)?n.join(" "):n,xAxisTTVal:Array.isArray(o)?o.join(" "):o,zVal:l}}},{key:"handleCustomTooltip",value:function(e){var t=e.i,a=e.j,s=e.y1,r=e.y2,n=e.w,o=this.ttCtx.getElTooltip(),l=n.config.tooltip.custom;Array.isArray(l)&&l[t]&&(l=l[t]);var c=l({ctx:this.ctx,series:n.globals.series,seriesIndex:t,dataPointIndex:a,y1:s,y2:r,w:n});typeof c=="string"||typeof c=="number"?o.innerHTML=c:(c instanceof Element||typeof c.nodeName=="string")&&(o.innerHTML="",o.appendChild(c.cloneNode(!0)))}}]),i})(),Tx=(function(){function i(e){ee(this,i),this.ttCtx=e,this.ctx=e.ctx,this.w=e.w}return te(i,[{key:"moveXCrosshairs",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=this.ttCtx,s=this.w,r=a.getElXCrosshairs(),n=e-a.xcrosshairsWidth/2,o=s.globals.labels.slice().length;if(t!==null&&(n=s.globals.gridWidth/o*t),r===null||s.globals.isBarHorizontal||(r.setAttribute("x",n),r.setAttribute("x1",n),r.setAttribute("x2",n),r.setAttribute("y2",s.globals.gridHeight),r.classList.add("apexcharts-active")),n<0&&(n=0),n>s.globals.gridWidth&&(n=s.globals.gridWidth),a.isXAxisTooltipEnabled){var l=n;s.config.xaxis.crosshairs.width!=="tickWidth"&&s.config.xaxis.crosshairs.width!=="barWidth"||(l=n+a.xcrosshairsWidth/2),this.moveXAxisTooltip(l)}}},{key:"moveYCrosshairs",value:function(e){var t=this.ttCtx;t.ycrosshairs!==null&&V.setAttrs(t.ycrosshairs,{y1:e,y2:e}),t.ycrosshairsHidden!==null&&V.setAttrs(t.ycrosshairsHidden,{y1:e,y2:e})}},{key:"moveXAxisTooltip",value:function(e){var t=this.w,a=this.ttCtx;if(a.xaxisTooltip!==null&&a.xcrosshairsWidth!==0){a.xaxisTooltip.classList.add("apexcharts-active");var s=a.xaxisOffY+t.config.xaxis.tooltip.offsetY+t.globals.translateY+1+t.config.xaxis.offsetY;if(e-=a.xaxisTooltip.getBoundingClientRect().width/2,!isNaN(e)){e+=t.globals.translateX;var r;r=new V(this.ctx).getTextRects(a.xaxisTooltipText.innerHTML),a.xaxisTooltipText.style.minWidth=r.width+"px",a.xaxisTooltip.style.left=e+"px",a.xaxisTooltip.style.top=s+"px"}}}},{key:"moveYAxisTooltip",value:function(e){var t=this.w,a=this.ttCtx;a.yaxisTTEls===null&&(a.yaxisTTEls=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));var s=parseInt(a.ycrosshairsHidden.getAttribute("y1"),10),r=t.globals.translateY+s,n=a.yaxisTTEls[e].getBoundingClientRect(),o=n.height,l=t.globals.translateYAxisX[e]-2;t.config.yaxis[e].opposite&&(l-=n.width),r-=o/2,t.globals.ignoreYAxisIndexes.indexOf(e)===-1&&r>0&&r<t.globals.gridHeight?(a.yaxisTTEls[e].classList.add("apexcharts-active"),a.yaxisTTEls[e].style.top=r+"px",a.yaxisTTEls[e].style.left=l+t.config.yaxis[e].tooltip.offsetX+"px"):a.yaxisTTEls[e].classList.remove("apexcharts-active")}},{key:"moveTooltip",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,s=this.w,r=this.ttCtx,n=r.getElTooltip(),o=r.tooltipRect,l=a!==null?parseFloat(a):1,c=parseFloat(e)+l+5,u=parseFloat(t)+l/2;if(c>s.globals.gridWidth/2&&(c=c-o.ttWidth-l-10),c>s.globals.gridWidth-o.ttWidth-10&&(c=s.globals.gridWidth-o.ttWidth),c<-20&&(c=-20),s.config.tooltip.followCursor){var d=r.getElGrid().getBoundingClientRect();(c=r.e.clientX-d.left)>s.globals.gridWidth/2&&(c-=r.tooltipRect.ttWidth),(u=r.e.clientY+s.globals.translateY-d.top)>s.globals.gridHeight/2&&(u-=r.tooltipRect.ttHeight)}else s.globals.isBarHorizontal||o.ttHeight/2+u>s.globals.gridHeight&&(u=s.globals.gridHeight-o.ttHeight+s.globals.translateY);isNaN(c)||(c+=s.globals.translateX,n.style.left=c+"px",n.style.top=u+"px")}},{key:"moveMarkers",value:function(e,t){var a=this.w,s=this.ttCtx;if(a.globals.markers.size[e]>0)for(var r=a.globals.dom.baseEl.querySelectorAll(" .apexcharts-series[data\\:realIndex='".concat(e,"'] .apexcharts-marker")),n=0;n<r.length;n++)parseInt(r[n].getAttribute("rel"),10)===t&&(s.marker.resetPointsSize(),s.marker.enlargeCurrentPoint(t,r[n]));else s.marker.resetPointsSize(),this.moveDynamicPointOnHover(t,e)}},{key:"moveDynamicPointOnHover",value:function(e,t){var a,s,r,n,o=this.w,l=this.ttCtx,c=new V(this.ctx),u=o.globals.pointsArray,d=l.tooltipUtil.getHoverMarkerSize(t),h=o.config.series[t].type;if(!h||h!=="column"&&h!=="candlestick"&&h!=="boxPlot"){r=(a=u[t][e])===null||a===void 0?void 0:a[0],n=((s=u[t][e])===null||s===void 0?void 0:s[1])||0;var f=o.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(t,"'] .apexcharts-series-markers path"));if(f&&n<o.globals.gridHeight&&n>0){var g=f.getAttribute("shape"),p=c.getMarkerPath(r,n,g,1.5*d);f.setAttribute("d",p)}this.moveXCrosshairs(r),l.fixedTooltip||this.moveTooltip(r,n,d)}}},{key:"moveDynamicPointsOnHover",value:function(e){var t,a=this.ttCtx,s=a.w,r=0,n=0,o=s.globals.pointsArray,l=new ri(this.ctx),c=new V(this.ctx);t=l.getActiveConfigSeriesIndex("asc",["line","area","scatter","bubble"]);var u=a.tooltipUtil.getHoverMarkerSize(t);if(o[t]&&(r=o[t][e][0],n=o[t][e][1]),!isNaN(r)){var d=a.tooltipUtil.getAllMarkers();if(d.length)for(var h=0;h<s.globals.series.length;h++){var f=o[h];if(s.globals.comboCharts&&f===void 0&&d.splice(h,0,null),f&&f.length){var g=o[h][e][1],p=void 0;d[h].setAttribute("cx",r);var m=d[h].getAttribute("shape");if(s.config.chart.type==="rangeArea"&&!s.globals.comboCharts){var v=e+s.globals.series[h].length;p=o[h][v][1],g-=Math.abs(g-p)/2}if(g!==null&&!isNaN(g)&&g<s.globals.gridHeight+u&&g+u>0){var b=c.getMarkerPath(r,g,m,u);d[h].setAttribute("d",b)}else d[h].setAttribute("d","")}}this.moveXCrosshairs(r),a.fixedTooltip||this.moveTooltip(r,n||s.globals.gridHeight,u)}}},{key:"moveStickyTooltipOverBars",value:function(e,t){var a=this.w,s=this.ttCtx,r=a.globals.columnSeries?a.globals.columnSeries.length:a.globals.series.length;a.config.chart.stacked&&(r=a.globals.barGroups.length);var n=r>=2&&r%2==0?Math.floor(r/2):Math.floor(r/2)+1;a.globals.isBarHorizontal&&(n=new ri(this.ctx).getActiveConfigSeriesIndex("desc")+1);var o=a.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[rel='".concat(n,"'] path[j='").concat(e,"'], .apexcharts-candlestick-series .apexcharts-series[rel='").concat(n,"'] path[j='").concat(e,"'], .apexcharts-boxPlot-series .apexcharts-series[rel='").concat(n,"'] path[j='").concat(e,"'], .apexcharts-rangebar-series .apexcharts-series[rel='").concat(n,"'] path[j='").concat(e,"']"));o||typeof t!="number"||(o=a.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[data\\:realIndex='".concat(t,"'] path[j='").concat(e,`'],
|
|
223
|
+
.apexcharts-candlestick-series .apexcharts-series[data\\:realIndex='`).concat(t,"'] path[j='").concat(e,`'],
|
|
224
|
+
.apexcharts-boxPlot-series .apexcharts-series[data\\:realIndex='`).concat(t,"'] path[j='").concat(e,`'],
|
|
225
|
+
.apexcharts-rangebar-series .apexcharts-series[data\\:realIndex='`).concat(t,"'] path[j='").concat(e,"']")));var l=o?parseFloat(o.getAttribute("cx")):0,c=o?parseFloat(o.getAttribute("cy")):0,u=o?parseFloat(o.getAttribute("barWidth")):0,d=s.getElGrid().getBoundingClientRect(),h=o&&(o.classList.contains("apexcharts-candlestick-area")||o.classList.contains("apexcharts-boxPlot-area"));a.globals.isXNumeric?(o&&!h&&(l-=r%2!=0?u/2:0),o&&h&&(l-=u/2)):a.globals.isBarHorizontal||(l=s.xAxisTicksPositions[e-1]+s.dataPointsDividedWidth/2,isNaN(l)&&(l=s.xAxisTicksPositions[e]-s.dataPointsDividedWidth/2)),a.globals.isBarHorizontal?c-=s.tooltipRect.ttHeight:a.config.tooltip.followCursor?c=s.e.clientY-d.top-s.tooltipRect.ttHeight/2:c+s.tooltipRect.ttHeight+15>a.globals.gridHeight&&(c=a.globals.gridHeight),a.globals.isBarHorizontal||this.moveXCrosshairs(l),s.fixedTooltip||this.moveTooltip(l,c||a.globals.gridHeight)}}]),i})(),sI=(function(){function i(e){ee(this,i),this.w=e.w,this.ttCtx=e,this.ctx=e.ctx,this.tooltipPosition=new Tx(e)}return te(i,[{key:"drawDynamicPoints",value:function(){var e=this.w,t=new V(this.ctx),a=new qs(this.ctx),s=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series");s=ft(s),e.config.chart.stacked&&s.sort((function(d,h){return parseFloat(d.getAttribute("data:realIndex"))-parseFloat(h.getAttribute("data:realIndex"))}));for(var r=0;r<s.length;r++){var n=s[r].querySelector(".apexcharts-series-markers-wrap");if(n!==null){var o=void 0,l="apexcharts-marker w".concat((Math.random()+1).toString(36).substring(4));e.config.chart.type!=="line"&&e.config.chart.type!=="area"||e.globals.comboCharts||e.config.tooltip.intersect||(l+=" no-pointer-events");var c=a.getMarkerConfig({cssClass:l,seriesIndex:Number(n.getAttribute("data:realIndex"))});(o=t.drawMarker(0,0,c)).node.setAttribute("default-marker-size",0);var u=document.createElementNS(e.globals.SVGNS,"g");u.classList.add("apexcharts-series-markers"),u.appendChild(o.node),n.appendChild(u)}}}},{key:"enlargeCurrentPoint",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,r=this.w;r.config.chart.type!=="bubble"&&this.newPointSize(e,t);var n=t.getAttribute("cx"),o=t.getAttribute("cy");if(a!==null&&s!==null&&(n=a,o=s),this.tooltipPosition.moveXCrosshairs(n),!this.fixedTooltip){if(r.config.chart.type==="radar"){var l=this.ttCtx.getElGrid().getBoundingClientRect();n=this.ttCtx.e.clientX-l.left}this.tooltipPosition.moveTooltip(n,o,r.config.markers.hover.size)}}},{key:"enlargePoints",value:function(e){for(var t=this.w,a=this,s=this.ttCtx,r=e,n=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),o=t.config.markers.hover.size,l=0;l<n.length;l++){var c=n[l].getAttribute("rel"),u=n[l].getAttribute("index");if(o===void 0&&(o=t.globals.markers.size[u]+t.config.markers.hover.sizeOffset),r===parseInt(c,10)){a.newPointSize(r,n[l]);var d=n[l].getAttribute("cx"),h=n[l].getAttribute("cy");a.tooltipPosition.moveXCrosshairs(d),s.fixedTooltip||a.tooltipPosition.moveTooltip(d,h,o)}else a.oldPointSize(n[l])}}},{key:"newPointSize",value:function(e,t){var a=this.w,s=a.config.markers.hover.size,r=e===0?t.parentNode.firstChild:t.parentNode.lastChild;if(r.getAttribute("default-marker-size")!=="0"){var n=parseInt(r.getAttribute("index"),10);s===void 0&&(s=a.globals.markers.size[n]+a.config.markers.hover.sizeOffset),s<0&&(s=0);var o=this.ttCtx.tooltipUtil.getPathFromPoint(t,s);t.setAttribute("d",o)}}},{key:"oldPointSize",value:function(e){var t=parseFloat(e.getAttribute("default-marker-size")),a=this.ttCtx.tooltipUtil.getPathFromPoint(e,t);e.setAttribute("d",a)}},{key:"resetPointsSize",value:function(){for(var e=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),t=0;t<e.length;t++){var a=parseFloat(e[t].getAttribute("default-marker-size"));if(T.isNumber(a)&&a>0){var s=this.ttCtx.tooltipUtil.getPathFromPoint(e[t],a);e[t].setAttribute("d",s)}else e[t].setAttribute("d","M0,0")}}}]),i})(),rI=(function(){function i(e){ee(this,i),this.w=e.w;var t=this.w;this.ttCtx=e,this.isVerticalGroupedRangeBar=!t.globals.isBarHorizontal&&t.config.chart.type==="rangeBar"&&t.config.plotOptions.bar.rangeBarGroupRows}return te(i,[{key:"getAttr",value:function(e,t){return parseFloat(e.target.getAttribute(t))}},{key:"handleHeatTreeTooltip",value:function(e){var t=e.e,a=e.opt,s=e.x,r=e.y,n=e.type,o=this.ttCtx,l=this.w;if(t.target.classList.contains("apexcharts-".concat(n,"-rect"))){var c=this.getAttr(t,"i"),u=this.getAttr(t,"j"),d=this.getAttr(t,"cx"),h=this.getAttr(t,"cy"),f=this.getAttr(t,"width"),g=this.getAttr(t,"height");if(o.tooltipLabels.drawSeriesTexts({ttItems:a.ttItems,i:c,j:u,shared:!1,e:t}),l.globals.capturedSeriesIndex=c,l.globals.capturedDataPointIndex=u,s=d+o.tooltipRect.ttWidth/2+f,r=h+o.tooltipRect.ttHeight/2-g/2,o.tooltipPosition.moveXCrosshairs(d+f/2),s>l.globals.gridWidth/2&&(s=d-o.tooltipRect.ttWidth/2+f),o.w.config.tooltip.followCursor){var p=l.globals.dom.elWrap.getBoundingClientRect();s=l.globals.clientX-p.left-(s>l.globals.gridWidth/2?o.tooltipRect.ttWidth:0),r=l.globals.clientY-p.top-(r>l.globals.gridHeight/2?o.tooltipRect.ttHeight:0)}}return{x:s,y:r}}},{key:"handleMarkerTooltip",value:function(e){var t,a,s=e.e,r=e.opt,n=e.x,o=e.y,l=this.w,c=this.ttCtx;if(s.target.classList.contains("apexcharts-marker")){var u=parseInt(r.paths.getAttribute("cx"),10),d=parseInt(r.paths.getAttribute("cy"),10),h=parseFloat(r.paths.getAttribute("val"));if(a=parseInt(r.paths.getAttribute("rel"),10),t=parseInt(r.paths.parentNode.parentNode.parentNode.getAttribute("rel"),10)-1,c.intersect){var f=T.findAncestor(r.paths,"apexcharts-series");f&&(t=parseInt(f.getAttribute("data:realIndex"),10))}if(c.tooltipLabels.drawSeriesTexts({ttItems:r.ttItems,i:t,j:a,shared:!c.showOnIntersect&&l.config.tooltip.shared,e:s}),s.type==="mouseup"&&c.markerClick(s,t,a),l.globals.capturedSeriesIndex=t,l.globals.capturedDataPointIndex=a,n=u,o=d+l.globals.translateY-1.4*c.tooltipRect.ttHeight,c.w.config.tooltip.followCursor){var g=c.getElGrid().getBoundingClientRect();o=c.e.clientY+l.globals.translateY-g.top}h<0&&(o=d),c.marker.enlargeCurrentPoint(a,r.paths,n,o)}return{x:n,y:o}}},{key:"handleBarTooltip",value:function(e){var t,a,s=e.e,r=e.opt,n=this.w,o=this.ttCtx,l=o.getElTooltip(),c=0,u=0,d=0,h=this.getBarTooltipXY({e:s,opt:r});if(h.j!==null||h.barHeight!==0||h.barWidth!==0){t=h.i;var f=h.j;if(n.globals.capturedSeriesIndex=t,n.globals.capturedDataPointIndex=f,n.globals.isBarHorizontal&&o.tooltipUtil.hasBars()||!n.config.tooltip.shared?(u=h.x,d=h.y,a=Array.isArray(n.config.stroke.width)?n.config.stroke.width[t]:n.config.stroke.width,c=u):n.globals.comboCharts||n.config.tooltip.shared||(c/=2),isNaN(d)&&(d=n.globals.svgHeight-o.tooltipRect.ttHeight),parseInt(r.paths.parentNode.getAttribute("data:realIndex"),10),u+o.tooltipRect.ttWidth>n.globals.gridWidth?u-=o.tooltipRect.ttWidth:u<0&&(u=0),o.w.config.tooltip.followCursor){var g=o.getElGrid().getBoundingClientRect();d=o.e.clientY-g.top}o.tooltip===null&&(o.tooltip=n.globals.dom.baseEl.querySelector(".apexcharts-tooltip")),n.config.tooltip.shared||(n.globals.comboBarCount>0?o.tooltipPosition.moveXCrosshairs(c+a/2):o.tooltipPosition.moveXCrosshairs(c)),!o.fixedTooltip&&(!n.config.tooltip.shared||n.globals.isBarHorizontal&&o.tooltipUtil.hasBars())&&(d=d+n.globals.translateY-o.tooltipRect.ttHeight/2,l.style.left=u+n.globals.translateX+"px",l.style.top=d+"px")}}},{key:"getBarTooltipXY",value:function(e){var t=this,a=e.e,s=e.opt,r=this.w,n=null,o=this.ttCtx,l=0,c=0,u=0,d=0,h=0,f=a.target.classList;if(f.contains("apexcharts-bar-area")||f.contains("apexcharts-candlestick-area")||f.contains("apexcharts-boxPlot-area")||f.contains("apexcharts-rangebar-area")){var g=a.target,p=g.getBoundingClientRect(),m=s.elGrid.getBoundingClientRect(),v=p.height;h=p.height;var b=p.width,x=parseInt(g.getAttribute("cx"),10),k=parseInt(g.getAttribute("cy"),10);d=parseFloat(g.getAttribute("barWidth"));var y=a.type==="touchmove"?a.touches[0].clientX:a.clientX;n=parseInt(g.getAttribute("j"),10),l=parseInt(g.parentNode.getAttribute("rel"),10)-1;var A=g.getAttribute("data-range-y1"),w=g.getAttribute("data-range-y2");r.globals.comboCharts&&(l=parseInt(g.parentNode.getAttribute("data:realIndex"),10));var S=function(M){return r.globals.isXNumeric?x-b/2:t.isVerticalGroupedRangeBar?x+b/2:x-o.dataPointsDividedWidth+b/2},C=function(){return k-o.dataPointsDividedHeight+v/2-o.tooltipRect.ttHeight/2};o.tooltipLabels.drawSeriesTexts({ttItems:s.ttItems,i:l,j:n,y1:A?parseInt(A,10):null,y2:w?parseInt(w,10):null,shared:!o.showOnIntersect&&r.config.tooltip.shared,e:a}),r.config.tooltip.followCursor?r.globals.isBarHorizontal?(c=y-m.left+15,u=C()):(c=S(),u=a.clientY-m.top-o.tooltipRect.ttHeight/2-15):r.globals.isBarHorizontal?((c=x)<o.xyRatios.baseLineInvertedY&&(c=x-o.tooltipRect.ttWidth),u=C()):(c=S(),u=k)}return{x:c,y:u,barHeight:h,barWidth:d,i:l,j:n}}}]),i})(),nI=(function(){function i(e){ee(this,i),this.w=e.w,this.ttCtx=e}return te(i,[{key:"drawXaxisTooltip",value:function(){var e=this.w,t=this.ttCtx,a=e.config.xaxis.position==="bottom";t.xaxisOffY=a?e.globals.gridHeight+1:-e.globals.xAxisHeight-e.config.xaxis.axisTicks.height+3;var s=a?"apexcharts-xaxistooltip apexcharts-xaxistooltip-bottom":"apexcharts-xaxistooltip apexcharts-xaxistooltip-top",r=e.globals.dom.elWrap;t.isXAxisTooltipEnabled&&e.globals.dom.baseEl.querySelector(".apexcharts-xaxistooltip")===null&&(t.xaxisTooltip=document.createElement("div"),t.xaxisTooltip.setAttribute("class",s+" apexcharts-theme-"+e.config.tooltip.theme),r.appendChild(t.xaxisTooltip),t.xaxisTooltipText=document.createElement("div"),t.xaxisTooltipText.classList.add("apexcharts-xaxistooltip-text"),t.xaxisTooltipText.style.fontFamily=e.config.xaxis.tooltip.style.fontFamily||e.config.chart.fontFamily,t.xaxisTooltipText.style.fontSize=e.config.xaxis.tooltip.style.fontSize,t.xaxisTooltip.appendChild(t.xaxisTooltipText))}},{key:"drawYaxisTooltip",value:function(){for(var e=this.w,t=this.ttCtx,a=0;a<e.config.yaxis.length;a++){var s=e.config.yaxis[a].opposite||e.config.yaxis[a].crosshairs.opposite;t.yaxisOffX=s?e.globals.gridWidth+1:1;var r="apexcharts-yaxistooltip apexcharts-yaxistooltip-".concat(a,s?" apexcharts-yaxistooltip-right":" apexcharts-yaxistooltip-left"),n=e.globals.dom.elWrap;e.globals.dom.baseEl.querySelector(".apexcharts-yaxistooltip apexcharts-yaxistooltip-".concat(a))===null&&(t.yaxisTooltip=document.createElement("div"),t.yaxisTooltip.setAttribute("class",r+" apexcharts-theme-"+e.config.tooltip.theme),n.appendChild(t.yaxisTooltip),a===0&&(t.yaxisTooltipText=[]),t.yaxisTooltipText[a]=document.createElement("div"),t.yaxisTooltipText[a].classList.add("apexcharts-yaxistooltip-text"),t.yaxisTooltip.appendChild(t.yaxisTooltipText[a]))}}},{key:"setXCrosshairWidth",value:function(){var e=this.w,t=this.ttCtx,a=t.getElXCrosshairs();if(t.xcrosshairsWidth=parseInt(e.config.xaxis.crosshairs.width,10),e.globals.comboCharts){var s=e.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(s!==null&&e.config.xaxis.crosshairs.width==="barWidth"){var r=parseFloat(s.getAttribute("barWidth"));t.xcrosshairsWidth=r}else if(e.config.xaxis.crosshairs.width==="tickWidth"){var n=e.globals.labels.length;t.xcrosshairsWidth=e.globals.gridWidth/n}}else if(e.config.xaxis.crosshairs.width==="tickWidth"){var o=e.globals.labels.length;t.xcrosshairsWidth=e.globals.gridWidth/o}else if(e.config.xaxis.crosshairs.width==="barWidth"){var l=e.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(l!==null){var c=parseFloat(l.getAttribute("barWidth"));t.xcrosshairsWidth=c}else t.xcrosshairsWidth=1}e.globals.isBarHorizontal&&(t.xcrosshairsWidth=0),a!==null&&t.xcrosshairsWidth>0&&a.setAttribute("width",t.xcrosshairsWidth)}},{key:"handleYCrosshair",value:function(){var e=this.w,t=this.ttCtx;t.ycrosshairs=e.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs"),t.ycrosshairsHidden=e.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs-hidden")}},{key:"drawYaxisTooltipText",value:function(e,t,a){var s=this.ttCtx,r=this.w,n=r.globals,o=n.seriesYAxisMap[e];if(s.yaxisTooltips[e]&&o.length>0){var l=n.yLabelFormatters[e],c=s.getElGrid().getBoundingClientRect(),u=o[0],d=0;a.yRatio.length>1&&(d=u);var h=(t-c.top)*a.yRatio[d],f=n.maxYArr[u]-n.minYArr[u],g=n.minYArr[u]+(f-h);r.config.yaxis[e].reversed&&(g=n.maxYArr[u]-(f-h)),s.tooltipPosition.moveYCrosshairs(t-c.top),s.yaxisTooltipText[e].innerHTML=l(g),s.tooltipPosition.moveYAxisTooltip(e)}}}]),i})(),Dg=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w;var t=this.w;this.tConfig=t.config.tooltip,this.tooltipUtil=new Ix(this),this.tooltipLabels=new aI(this),this.tooltipPosition=new Tx(this),this.marker=new sI(this),this.intersect=new rI(this),this.axesTooltip=new nI(this),this.showOnIntersect=this.tConfig.intersect,this.showTooltipTitle=this.tConfig.x.show,this.fixedTooltip=this.tConfig.fixed.enabled,this.xaxisTooltip=null,this.yaxisTTEls=null,this.isBarShared=!t.globals.isBarHorizontal&&this.tConfig.shared,this.lastHoverTime=Date.now()}return te(i,[{key:"getElTooltip",value:function(e){return e||(e=this),e.w.globals.dom.baseEl?e.w.globals.dom.baseEl.querySelector(".apexcharts-tooltip"):null}},{key:"getElXCrosshairs",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-xcrosshairs")}},{key:"getElGrid",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-grid")}},{key:"drawTooltip",value:function(e){var t=this.w;this.xyRatios=e,this.isXAxisTooltipEnabled=t.config.xaxis.tooltip.enabled&&t.globals.axisCharts,this.yaxisTooltips=t.config.yaxis.map((function(n,o){return!!(n.show&&n.tooltip.enabled&&t.globals.axisCharts)})),this.allTooltipSeriesGroups=[],t.globals.axisCharts||(this.showTooltipTitle=!1);var a=document.createElement("div");if(a.classList.add("apexcharts-tooltip"),t.config.tooltip.cssClass&&a.classList.add(t.config.tooltip.cssClass),a.classList.add("apexcharts-theme-".concat(this.tConfig.theme||"light")),t.globals.dom.elWrap.appendChild(a),t.globals.axisCharts){this.axesTooltip.drawXaxisTooltip(),this.axesTooltip.drawYaxisTooltip(),this.axesTooltip.setXCrosshairWidth(),this.axesTooltip.handleYCrosshair();var s=new Wr(this.ctx);this.xAxisTicksPositions=s.getXAxisTicksPositions()}if(!t.globals.comboCharts&&!this.tConfig.intersect&&t.config.chart.type!=="rangeBar"||this.tConfig.shared||(this.showOnIntersect=!0),t.config.markers.size!==0&&t.globals.markers.largestSize!==0||this.marker.drawDynamicPoints(this),t.globals.collapsedSeries.length!==t.globals.series.length){this.dataPointsDividedHeight=t.globals.gridHeight/t.globals.dataPoints,this.dataPointsDividedWidth=t.globals.gridWidth/t.globals.dataPoints,this.showTooltipTitle&&(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.classList.add("apexcharts-tooltip-title"),this.tooltipTitle.style.fontFamily=this.tConfig.style.fontFamily||t.config.chart.fontFamily,this.tooltipTitle.style.fontSize=this.tConfig.style.fontSize,a.appendChild(this.tooltipTitle));var r=t.globals.series.length;(t.globals.xyCharts||t.globals.comboCharts)&&this.tConfig.shared&&(r=this.showOnIntersect?1:t.globals.series.length),this.legendLabels=t.globals.dom.baseEl.querySelectorAll(".apexcharts-legend-text"),this.ttItems=this.createTTElements(r),this.addSVGEvents()}}},{key:"createTTElements",value:function(e){for(var t=this,a=this.w,s=[],r=this.getElTooltip(),n=function(l){var c=document.createElement("div");c.classList.add("apexcharts-tooltip-series-group","apexcharts-tooltip-series-group-".concat(l)),c.style.order=a.config.tooltip.inverseOrder?e-l:l+1;var u=document.createElement("span");u.classList.add("apexcharts-tooltip-marker"),a.config.tooltip.fillSeriesColor?u.style.backgroundColor=a.globals.colors[l]:u.style.color=a.globals.colors[l];var d=a.config.markers.shape,h=d;Array.isArray(d)&&(h=d[l]),u.setAttribute("shape",h),c.appendChild(u);var f=document.createElement("div");f.classList.add("apexcharts-tooltip-text"),f.style.fontFamily=t.tConfig.style.fontFamily||a.config.chart.fontFamily,f.style.fontSize=t.tConfig.style.fontSize,["y","goals","z"].forEach((function(g){var p=document.createElement("div");p.classList.add("apexcharts-tooltip-".concat(g,"-group"));var m=document.createElement("span");m.classList.add("apexcharts-tooltip-text-".concat(g,"-label")),p.appendChild(m);var v=document.createElement("span");v.classList.add("apexcharts-tooltip-text-".concat(g,"-value")),p.appendChild(v),f.appendChild(p)})),c.appendChild(f),r.appendChild(c),s.push(c)},o=0;o<e;o++)n(o);return s}},{key:"addSVGEvents",value:function(){var e=this.w,t=e.config.chart.type,a=this.getElTooltip(),s=!(t!=="bar"&&t!=="candlestick"&&t!=="boxPlot"&&t!=="rangeBar"),r=t==="area"||t==="line"||t==="scatter"||t==="bubble"||t==="radar",n=e.globals.dom.Paper.node,o=this.getElGrid();o&&(this.seriesBound=o.getBoundingClientRect());var l,c=[],u=[],d={hoverArea:n,elGrid:o,tooltipEl:a,tooltipY:c,tooltipX:u,ttItems:this.ttItems};if(e.globals.axisCharts&&(r?l=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series[data\\:longestSeries='true'] .apexcharts-marker"):s?l=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-bar-area, .apexcharts-series .apexcharts-candlestick-area, .apexcharts-series .apexcharts-boxPlot-area, .apexcharts-series .apexcharts-rangebar-area"):t!=="heatmap"&&t!=="treemap"||(l=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-heatmap, .apexcharts-series .apexcharts-treemap")),l&&l.length))for(var h=0;h<l.length;h++)c.push(l[h].getAttribute("cy")),u.push(l[h].getAttribute("cx"));if(e.globals.xyCharts&&!this.showOnIntersect||e.globals.comboCharts&&!this.showOnIntersect||s&&this.tooltipUtil.hasBars()&&this.tConfig.shared)this.addPathsEventListeners([n],d);else if(s&&!e.globals.comboCharts||r&&this.showOnIntersect)this.addDatapointEventsListeners(d);else if(!e.globals.axisCharts||t==="heatmap"||t==="treemap"){var f=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series");this.addPathsEventListeners(f,d)}if(this.showOnIntersect){var g=e.globals.dom.baseEl.querySelectorAll(".apexcharts-line-series .apexcharts-marker, .apexcharts-area-series .apexcharts-marker");g.length>0&&this.addPathsEventListeners(g,d),this.tooltipUtil.hasBars()&&!this.tConfig.shared&&this.addDatapointEventsListeners(d)}}},{key:"drawFixedTooltipRect",value:function(){var e=this.w,t=this.getElTooltip(),a=t.getBoundingClientRect(),s=a.width+10,r=a.height+10,n=this.tConfig.fixed.offsetX,o=this.tConfig.fixed.offsetY,l=this.tConfig.fixed.position.toLowerCase();return l.indexOf("right")>-1&&(n=n+e.globals.svgWidth-s+10),l.indexOf("bottom")>-1&&(o=o+e.globals.svgHeight-r-10),t.style.left=n+"px",t.style.top=o+"px",{x:n,y:o,ttWidth:s,ttHeight:r}}},{key:"addDatapointEventsListeners",value:function(e){var t=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers .apexcharts-marker, .apexcharts-bar-area, .apexcharts-candlestick-area, .apexcharts-boxPlot-area, .apexcharts-rangebar-area");this.addPathsEventListeners(t,e)}},{key:"addPathsEventListeners",value:function(e,t){for(var a=this,s=function(n){var o={paths:e[n],tooltipEl:t.tooltipEl,tooltipY:t.tooltipY,tooltipX:t.tooltipX,elGrid:t.elGrid,hoverArea:t.hoverArea,ttItems:t.ttItems};["mousemove","mouseup","touchmove","mouseout","touchend"].map((function(l){return e[n].addEventListener(l,a.onSeriesHover.bind(a,o),{capture:!1,passive:!0})}))},r=0;r<e.length;r++)s(r)}},{key:"onSeriesHover",value:function(e,t){var a=this,s=Date.now()-this.lastHoverTime;s>=20?this.seriesHover(e,t):(clearTimeout(this.seriesHoverTimeout),this.seriesHoverTimeout=setTimeout((function(){a.seriesHover(e,t)}),20-s))}},{key:"seriesHover",value:function(e,t){var a=this;this.lastHoverTime=Date.now();var s=[],r=this.w;r.config.chart.group&&(s=this.ctx.getGroupedCharts()),r.globals.axisCharts&&(r.globals.minX===-1/0&&r.globals.maxX===1/0||r.globals.dataPoints===0)||(s.length?s.forEach((function(n){var o=a.getElTooltip(n),l={paths:e.paths,tooltipEl:o,tooltipY:e.tooltipY,tooltipX:e.tooltipX,elGrid:e.elGrid,hoverArea:e.hoverArea,ttItems:n.w.globals.tooltip.ttItems};n.w.globals.minX===a.w.globals.minX&&n.w.globals.maxX===a.w.globals.maxX&&n.w.globals.tooltip.seriesHoverByContext({chartCtx:n,ttCtx:n.w.globals.tooltip,opt:l,e:t})})):this.seriesHoverByContext({chartCtx:this.ctx,ttCtx:this.w.globals.tooltip,opt:e,e:t}))}},{key:"seriesHoverByContext",value:function(e){var t=e.chartCtx,a=e.ttCtx,s=e.opt,r=e.e,n=t.w,o=this.getElTooltip(t);o&&(a.tooltipRect={x:0,y:0,ttWidth:o.getBoundingClientRect().width,ttHeight:o.getBoundingClientRect().height},a.e=r,a.tooltipUtil.hasBars()&&!n.globals.comboCharts&&!a.isBarShared&&this.tConfig.onDatasetHover.highlightDataSeries&&new ri(t).toggleSeriesOnHover(r,r.target.parentNode),n.globals.axisCharts?a.axisChartsTooltips({e:r,opt:s,tooltipRect:a.tooltipRect}):a.nonAxisChartsTooltips({e:r,opt:s,tooltipRect:a.tooltipRect}),a.fixedTooltip&&a.drawFixedTooltipRect())}},{key:"axisChartsTooltips",value:function(e){var t,a,s=e.e,r=e.opt,n=this.w,o=r.elGrid.getBoundingClientRect(),l=s.type==="touchmove"?s.touches[0].clientX:s.clientX,c=s.type==="touchmove"?s.touches[0].clientY:s.clientY;if(this.clientY=c,this.clientX=l,n.globals.capturedSeriesIndex=-1,n.globals.capturedDataPointIndex=-1,c<o.top||c>o.top+o.height)this.handleMouseOut(r);else{if(Array.isArray(this.tConfig.enabledOnSeries)&&!n.config.tooltip.shared){var u=parseInt(r.paths.getAttribute("index"),10);if(this.tConfig.enabledOnSeries.indexOf(u)<0)return void this.handleMouseOut(r)}var d=this.getElTooltip(),h=this.getElXCrosshairs(),f=[];n.config.chart.group&&(f=this.ctx.getSyncedCharts());var g=n.globals.xyCharts||n.config.chart.type==="bar"&&!n.globals.isBarHorizontal&&this.tooltipUtil.hasBars()&&this.tConfig.shared||n.globals.comboCharts&&this.tooltipUtil.hasBars();if(s.type==="mousemove"||s.type==="touchmove"||s.type==="mouseup"){if(n.globals.collapsedSeries.length+n.globals.ancillaryCollapsedSeries.length===n.globals.series.length)return;h!==null&&h.classList.add("apexcharts-active");var p=this.yaxisTooltips.filter((function(b){return b===!0}));if(this.ycrosshairs!==null&&p.length&&this.ycrosshairs.classList.add("apexcharts-active"),g&&!this.showOnIntersect||f.length>1)this.handleStickyTooltip(s,l,c,r);else if(n.config.chart.type==="heatmap"||n.config.chart.type==="treemap"){var m=this.intersect.handleHeatTreeTooltip({e:s,opt:r,x:t,y:a,type:n.config.chart.type});t=m.x,a=m.y,d.style.left=t+"px",d.style.top=a+"px"}else this.tooltipUtil.hasBars()&&this.intersect.handleBarTooltip({e:s,opt:r}),this.tooltipUtil.hasMarkers()&&this.intersect.handleMarkerTooltip({e:s,opt:r,x:t,y:a});if(this.yaxisTooltips.length)for(var v=0;v<n.config.yaxis.length;v++)this.axesTooltip.drawYaxisTooltipText(v,c,this.xyRatios);n.globals.dom.baseEl.classList.add("apexcharts-tooltip-active"),r.tooltipEl.classList.add("apexcharts-active")}else s.type!=="mouseout"&&s.type!=="touchend"||this.handleMouseOut(r)}}},{key:"nonAxisChartsTooltips",value:function(e){var t=e.e,a=e.opt,s=e.tooltipRect,r=this.w,n=a.paths.getAttribute("rel"),o=this.getElTooltip(),l=r.globals.dom.elWrap.getBoundingClientRect();if(t.type==="mousemove"||t.type==="touchmove"){r.globals.dom.baseEl.classList.add("apexcharts-tooltip-active"),o.classList.add("apexcharts-active"),this.tooltipLabels.drawSeriesTexts({ttItems:a.ttItems,i:parseInt(n,10)-1,shared:!1});var c=r.globals.clientX-l.left-s.ttWidth/2,u=r.globals.clientY-l.top-s.ttHeight-10;if(o.style.left=c+"px",o.style.top=u+"px",r.config.legend.tooltipHoverFormatter){var d=n-1,h=(0,r.config.legend.tooltipHoverFormatter)(this.legendLabels[d].getAttribute("data:default-text"),{seriesIndex:d,dataPointIndex:d,w:r});this.legendLabels[d].innerHTML=h}}else t.type!=="mouseout"&&t.type!=="touchend"||(o.classList.remove("apexcharts-active"),r.globals.dom.baseEl.classList.remove("apexcharts-tooltip-active"),r.config.legend.tooltipHoverFormatter&&this.legendLabels.forEach((function(f){var g=f.getAttribute("data:default-text");f.innerHTML=decodeURIComponent(g)})))}},{key:"handleStickyTooltip",value:function(e,t,a,s){var r=this.w,n=this.tooltipUtil.getNearestValues({context:this,hoverArea:s.hoverArea,elGrid:s.elGrid,clientX:t,clientY:a}),o=n.j,l=n.capturedSeries;r.globals.collapsedSeriesIndices.includes(l)&&(l=null);var c=s.elGrid.getBoundingClientRect();if(n.hoverX<0||n.hoverX>c.width)this.handleMouseOut(s);else if(l!==null)this.handleStickyCapturedSeries(e,l,s,o);else if(this.tooltipUtil.isXoverlap(o)||r.globals.isBarHorizontal){var u=r.globals.series.findIndex((function(d,h){return!r.globals.collapsedSeriesIndices.includes(h)}));this.create(e,this,u,o,s.ttItems)}}},{key:"handleStickyCapturedSeries",value:function(e,t,a,s){var r=this.w;if(!this.tConfig.shared&&r.globals.series[t][s]===null)return void this.handleMouseOut(a);if(r.globals.series[t][s]!==void 0)this.tConfig.shared&&this.tooltipUtil.isXoverlap(s)&&this.tooltipUtil.isInitialSeriesSameLen()?this.create(e,this,t,s,a.ttItems):this.create(e,this,t,s,a.ttItems,!1);else if(this.tooltipUtil.isXoverlap(s)){var n=r.globals.series.findIndex((function(o,l){return!r.globals.collapsedSeriesIndices.includes(l)}));this.create(e,this,n,s,a.ttItems)}}},{key:"deactivateHoverFilter",value:function(){for(var e=this.w,t=new V(this.ctx),a=e.globals.dom.Paper.find(".apexcharts-bar-area"),s=0;s<a.length;s++)t.pathMouseLeave(a[s])}},{key:"handleMouseOut",value:function(e){var t=this.w,a=this.getElXCrosshairs();if(t.globals.dom.baseEl.classList.remove("apexcharts-tooltip-active"),e.tooltipEl.classList.remove("apexcharts-active"),this.deactivateHoverFilter(),t.config.chart.type!=="bubble"&&this.marker.resetPointsSize(),a!==null&&a.classList.remove("apexcharts-active"),this.ycrosshairs!==null&&this.ycrosshairs.classList.remove("apexcharts-active"),this.isXAxisTooltipEnabled&&this.xaxisTooltip.classList.remove("apexcharts-active"),this.yaxisTooltips.length){this.yaxisTTEls===null&&(this.yaxisTTEls=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));for(var s=0;s<this.yaxisTTEls.length;s++)this.yaxisTTEls[s].classList.remove("apexcharts-active")}t.config.legend.tooltipHoverFormatter&&this.legendLabels.forEach((function(r){var n=r.getAttribute("data:default-text");r.innerHTML=decodeURIComponent(n)}))}},{key:"markerClick",value:function(e,t,a){var s=this.w;typeof s.config.chart.events.markerClick=="function"&&s.config.chart.events.markerClick(e,this.ctx,{seriesIndex:t,dataPointIndex:a,w:s}),this.ctx.events.fireEvent("markerClick",[e,this.ctx,{seriesIndex:t,dataPointIndex:a,w:s}])}},{key:"create",value:function(e,t,a,s,r){var n,o,l,c,u,d,h,f,g,p,m,v,b,x,k,y,A=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,w=this.w,S=t;e.type==="mouseup"&&this.markerClick(e,a,s),A===null&&(A=this.tConfig.shared);var C=this.tooltipUtil.hasMarkers(a),M=this.tooltipUtil.getElBars(),E=function(){w.globals.markers.largestSize>0?S.marker.enlargePoints(s):S.tooltipPosition.moveDynamicPointsOnHover(s)};if(w.config.legend.tooltipHoverFormatter){var P=w.config.legend.tooltipHoverFormatter,D=Array.from(this.legendLabels);D.forEach((function(Me){var pe=Me.getAttribute("data:default-text");Me.innerHTML=decodeURIComponent(pe)}));for(var L=0;L<D.length;L++){var B=D[L],N=parseInt(B.getAttribute("i"),10),F=decodeURIComponent(B.getAttribute("data:default-text")),H=P(F,{seriesIndex:A?N:a,dataPointIndex:s,w});if(A)B.innerHTML=w.globals.collapsedSeriesIndices.indexOf(N)<0?H:F;else if(B.innerHTML=N===a?H:F,a===N)break}}var ie=$($({ttItems:r,i:a,j:s},((n=w.globals.seriesRange)===null||n===void 0||(o=n[a])===null||o===void 0||(l=o[s])===null||l===void 0||(c=l.y[0])===null||c===void 0?void 0:c.y1)!==void 0&&{y1:(u=w.globals.seriesRange)===null||u===void 0||(d=u[a])===null||d===void 0||(h=d[s])===null||h===void 0||(f=h.y[0])===null||f===void 0?void 0:f.y1}),((g=w.globals.seriesRange)===null||g===void 0||(p=g[a])===null||p===void 0||(m=p[s])===null||m===void 0||(v=m.y[0])===null||v===void 0?void 0:v.y2)!==void 0&&{y2:(b=w.globals.seriesRange)===null||b===void 0||(x=b[a])===null||x===void 0||(k=x[s])===null||k===void 0||(y=k.y[0])===null||y===void 0?void 0:y.y2});if(A){if(S.tooltipLabels.drawSeriesTexts($($({},ie),{},{shared:!this.showOnIntersect&&this.tConfig.shared})),C)E();else if(this.tooltipUtil.hasBars()&&(this.barSeriesHeight=this.tooltipUtil.getBarsHeight(M),this.barSeriesHeight>0)){var re=new V(this.ctx),ae=w.globals.dom.Paper.find(".apexcharts-bar-area[j='".concat(s,"']"));this.deactivateHoverFilter(),S.tooltipUtil.getAllMarkers(!0).length&&!this.barSeriesHeight&&E(),S.tooltipPosition.moveStickyTooltipOverBars(s,a);for(var le=0;le<ae.length;le++)re.pathMouseEnter(ae[le])}}else S.tooltipLabels.drawSeriesTexts($({shared:!1},ie)),this.tooltipUtil.hasBars()&&S.tooltipPosition.moveStickyTooltipOverBars(s,a),C&&S.tooltipPosition.moveMarkers(a,s)}}]),i})(),oI=(function(){function i(e){ee(this,i),this.w=e.w,this.barCtx=e,this.totalFormatter=this.w.config.plotOptions.bar.dataLabels.total.formatter,this.totalFormatter||(this.totalFormatter=this.w.config.dataLabels.formatter)}return te(i,[{key:"handleBarDataLabels",value:function(e){var t,a,s=e.x,r=e.y,n=e.y1,o=e.y2,l=e.i,c=e.j,u=e.realIndex,d=e.columnGroupIndex,h=e.series,f=e.barHeight,g=e.barWidth,p=e.barXPosition,m=e.barYPosition,v=e.visibleSeries,b=this.w,x=new V(this.barCtx.ctx),k=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[u]:this.barCtx.strokeWidth;b.globals.isXNumeric&&!b.globals.isBarHorizontal?(t=s+parseFloat(g*(v+1)),a=r+parseFloat(f*(v+1))-k):(t=s+parseFloat(g*v),a=r+parseFloat(f*v));var y,A=null,w=s,S=r,C={},M=b.config.dataLabels,E=this.barCtx.barOptions.dataLabels,P=this.barCtx.barOptions.dataLabels.total;m!==void 0&&this.barCtx.isRangeBar&&(a=m,S=m),p!==void 0&&this.barCtx.isVerticalGroupedRangeBar&&(t=p,w=p);var D=M.offsetX,L=M.offsetY,B={width:0,height:0};if(b.config.dataLabels.enabled){var N=b.globals.series[l][c];B=x.getTextRects(b.config.dataLabels.formatter?b.config.dataLabels.formatter(N,$($({},b),{},{seriesIndex:l,dataPointIndex:c,w:b})):b.globals.yLabelFormatters[0](N),parseFloat(M.style.fontSize))}var F={x:s,y:r,i:l,j:c,realIndex:u,columnGroupIndex:d,bcx:t,bcy:a,barHeight:f,barWidth:g,textRects:B,strokeWidth:k,dataLabelsX:w,dataLabelsY:S,dataLabelsConfig:M,barDataLabelsConfig:E,barTotalDataLabelsConfig:P,offX:D,offY:L};return C=this.barCtx.isHorizontal?this.calculateBarsDataLabelsPosition(F):this.calculateColumnsDataLabelsPosition(F),y=this.drawCalculatedDataLabels({x:C.dataLabelsX,y:C.dataLabelsY,val:this.barCtx.isRangeBar?[n,o]:b.config.chart.stackType==="100%"?h[u][c]:b.globals.series[u][c],i:u,j:c,barWidth:g,barHeight:f,textRects:B,dataLabelsConfig:M}),b.config.chart.stacked&&P.enabled&&(A=this.drawTotalDataLabels({x:C.totalDataLabelsX,y:C.totalDataLabelsY,barWidth:g,barHeight:f,realIndex:u,textAnchor:C.totalDataLabelsAnchor,val:this.getStackedTotalDataLabel({realIndex:u,j:c}),dataLabelsConfig:M,barTotalDataLabelsConfig:P})),{dataLabelsPos:C,dataLabels:y,totalDataLabels:A}}},{key:"getStackedTotalDataLabel",value:function(e){var t=e.realIndex,a=e.j,s=this.w,r=this.barCtx.stackedSeriesTotals[a];return this.totalFormatter&&(r=this.totalFormatter(r,$($({},s),{},{seriesIndex:t,dataPointIndex:a,w:s}))),r}},{key:"calculateColumnsDataLabelsPosition",value:function(e){var t=this,a=this.w,s=e.i,r=e.j,n=e.realIndex;e.columnGroupIndex;var o,l,c=e.y,u=e.bcx,d=e.barWidth,h=e.barHeight,f=e.textRects,g=e.dataLabelsX,p=e.dataLabelsY,m=e.dataLabelsConfig,v=e.barDataLabelsConfig,b=e.barTotalDataLabelsConfig,x=e.strokeWidth,k=e.offX,y=e.offY,A=u;h=Math.abs(h);var w=a.config.plotOptions.bar.dataLabels.orientation==="vertical",S=this.barCtx.barHelpers.getZeroValueEncounters({i:s,j:r}).zeroEncounters;u-=x/2;var C=a.globals.gridWidth/a.globals.dataPoints;this.barCtx.isVerticalGroupedRangeBar?g+=d/2:(g=a.globals.isXNumeric?u-d/2+k:u-C+d/2+k,!a.config.chart.stacked&&S>0&&a.config.plotOptions.bar.hideZeroBarsWhenGrouped&&(g-=d*S)),w&&(g=g+f.height/2-x/2-2);var M=a.globals.series[s][r]<0,E=c;switch(this.barCtx.isReversed&&(E=c+(M?h:-h)),v.position){case"center":p=w?M?E-h/2+y:E+h/2-y:M?E-h/2+f.height/2+y:E+h/2+f.height/2-y;break;case"bottom":p=w?M?E-h+y:E+h-y:M?E-h+f.height+x+y:E+h-f.height/2+x-y;break;case"top":p=w?M?E+y:E-y:M?E-f.height/2-y:E+f.height+y}var P=E;if(a.globals.seriesGroups.forEach((function(B){var N;(N=t.barCtx[B.join(",")])===null||N===void 0||N.prevY.forEach((function(F){P=M?Math.max(F[r],P):Math.min(F[r],P)}))})),this.barCtx.lastActiveBarSerieIndex===n&&b.enabled){var D=new V(this.barCtx.ctx).getTextRects(this.getStackedTotalDataLabel({realIndex:n,j:r}),m.fontSize);o=M?P-D.height/2-y-b.offsetY+18:P+D.height+y+b.offsetY-18;var L=C;l=A+(a.globals.isXNumeric?-d*a.globals.barGroups.length/2:a.globals.barGroups.length*d/2-(a.globals.barGroups.length-1)*d-L)+b.offsetX}return a.config.chart.stacked||(p<0?p=0+x:p+f.height/3>a.globals.gridHeight&&(p=a.globals.gridHeight-x)),{bcx:u,bcy:c,dataLabelsX:g,dataLabelsY:p,totalDataLabelsX:l,totalDataLabelsY:o,totalDataLabelsAnchor:"middle"}}},{key:"calculateBarsDataLabelsPosition",value:function(e){var t=this,a=this.w,s=e.x,r=e.i,n=e.j,o=e.realIndex,l=e.bcy,c=e.barHeight,u=e.barWidth,d=e.textRects,h=e.dataLabelsX,f=e.strokeWidth,g=e.dataLabelsConfig,p=e.barDataLabelsConfig,m=e.barTotalDataLabelsConfig,v=e.offX,b=e.offY,x=a.globals.gridHeight/a.globals.dataPoints,k=this.barCtx.barHelpers.getZeroValueEncounters({i:r,j:n}).zeroEncounters;u=Math.abs(u);var y,A,w=l-(this.barCtx.isRangeBar?0:x)+c/2+d.height/2+b-3;!a.config.chart.stacked&&k>0&&a.config.plotOptions.bar.hideZeroBarsWhenGrouped&&(w-=c*k);var S="start",C=a.globals.series[r][n]<0,M=s;switch(this.barCtx.isReversed&&(M=s+(C?-u:u),S=C?"start":"end"),p.position){case"center":h=C?M+u/2-v:Math.max(d.width/2,M-u/2)+v;break;case"bottom":h=C?M+u-f-v:M-u+f+v;break;case"top":h=C?M-f-v:M-f+v}var E=M;if(a.globals.seriesGroups.forEach((function(D){var L;(L=t.barCtx[D.join(",")])===null||L===void 0||L.prevX.forEach((function(B){E=C?Math.min(B[n],E):Math.max(B[n],E)}))})),this.barCtx.lastActiveBarSerieIndex===o&&m.enabled){var P=new V(this.barCtx.ctx).getTextRects(this.getStackedTotalDataLabel({realIndex:o,j:n}),g.fontSize);C?(y=E-f-v-m.offsetX,S="end"):y=E+v+m.offsetX+(this.barCtx.isReversed?-(u+f):f),A=w-d.height/2+P.height/2+m.offsetY+f,a.globals.barGroups.length>1&&(A-=a.globals.barGroups.length/2*(c/2))}return a.config.chart.stacked||(g.textAnchor==="start"?h-d.width<0?h=C?d.width+f:f:h+d.width>a.globals.gridWidth&&(h=C?a.globals.gridWidth-f:a.globals.gridWidth-d.width-f):g.textAnchor==="middle"?h-d.width/2<0?h=d.width/2+f:h+d.width/2>a.globals.gridWidth&&(h=a.globals.gridWidth-d.width/2-f):g.textAnchor==="end"&&(h<1?h=d.width+f:h+1>a.globals.gridWidth&&(h=a.globals.gridWidth-d.width-f))),{bcx:s,bcy:l,dataLabelsX:h,dataLabelsY:w,totalDataLabelsX:y,totalDataLabelsY:A,totalDataLabelsAnchor:S}}},{key:"drawCalculatedDataLabels",value:function(e){var t=e.x,a=e.y,s=e.val,r=e.i,n=e.j,o=e.textRects,l=e.barHeight,c=e.barWidth,u=e.dataLabelsConfig,d=this.w,h="rotate(0)";d.config.plotOptions.bar.dataLabels.orientation==="vertical"&&(h="rotate(-90, ".concat(t,", ").concat(a,")"));var f=new Rs(this.barCtx.ctx),g=new V(this.barCtx.ctx),p=u.formatter,m=null,v=d.globals.collapsedSeriesIndices.indexOf(r)>-1;if(u.enabled&&!v){m=g.group({class:"apexcharts-data-labels",transform:h});var b="";s!==void 0&&(b=p(s,$($({},d),{},{seriesIndex:r,dataPointIndex:n,w:d}))),!s&&d.config.plotOptions.bar.hideZeroBarsWhenGrouped&&(b="");var x=d.globals.series[r][n]<0,k=d.config.plotOptions.bar.dataLabels.position;d.config.plotOptions.bar.dataLabels.orientation==="vertical"&&(k==="top"&&(u.textAnchor=x?"end":"start"),k==="center"&&(u.textAnchor="middle"),k==="bottom"&&(u.textAnchor=x?"end":"start")),this.barCtx.isRangeBar&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&c<g.getTextRects(b,parseFloat(u.style.fontSize)).width&&(b=""),d.config.chart.stacked&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&(this.barCtx.isHorizontal?o.width/1.6>Math.abs(c)&&(b=""):o.height/1.6>Math.abs(l)&&(b=""));var y=$({},u);this.barCtx.isHorizontal&&s<0&&(u.textAnchor==="start"?y.textAnchor="end":u.textAnchor==="end"&&(y.textAnchor="start")),f.plotDataLabelsText({x:t,y:a,text:b,i:r,j:n,parent:m,dataLabelsConfig:y,alwaysDrawDataLabel:!0,offsetCorrection:!0})}return m}},{key:"drawTotalDataLabels",value:function(e){var t=e.x,a=e.y,s=e.val,r=e.realIndex,n=e.textAnchor,o=e.barTotalDataLabelsConfig;this.w;var l,c=new V(this.barCtx.ctx);return o.enabled&&t!==void 0&&a!==void 0&&this.barCtx.lastActiveBarSerieIndex===r&&(l=c.drawText({x:t,y:a,foreColor:o.style.color,text:s,textAnchor:n,fontFamily:o.style.fontFamily,fontSize:o.style.fontSize,fontWeight:o.style.fontWeight})),l}}]),i})(),lI=(function(){function i(e){ee(this,i),this.w=e.w,this.barCtx=e}return te(i,[{key:"initVariables",value:function(e){var t=this.w;this.barCtx.series=e,this.barCtx.totalItems=0,this.barCtx.seriesLen=0,this.barCtx.visibleI=-1,this.barCtx.visibleItems=1;for(var a=0;a<e.length;a++)if(e[a].length>0&&(this.barCtx.seriesLen=this.barCtx.seriesLen+1,this.barCtx.totalItems+=e[a].length),t.globals.isXNumeric)for(var s=0;s<e[a].length;s++)t.globals.seriesX[a][s]>t.globals.minX&&t.globals.seriesX[a][s]<t.globals.maxX&&this.barCtx.visibleItems++;else this.barCtx.visibleItems=t.globals.dataPoints;this.arrBorderRadius=this.createBorderRadiusArr(t.globals.series),T.isSafari()&&(this.arrBorderRadius=this.arrBorderRadius.map((function(r){return r.map((function(n){return"none"}))}))),this.barCtx.seriesLen===0&&(this.barCtx.seriesLen=1),this.barCtx.zeroSerieses=[],t.globals.comboCharts||this.checkZeroSeries({series:e})}},{key:"initialPositions",value:function(e){var t,a,s,r,n,o,l,c,u=this.w,d=u.globals.dataPoints;this.barCtx.isRangeBar&&(d=u.globals.labels.length);var h=this.barCtx.seriesLen;if(u.config.plotOptions.bar.rangeBarGroupRows&&(h=1),this.barCtx.isHorizontal)n=(s=u.globals.gridHeight/d)/h,u.globals.isXNumeric&&(n=(s=u.globals.gridHeight/this.barCtx.totalItems)/this.barCtx.seriesLen),n=n*parseInt(this.barCtx.barOptions.barHeight,10)/100,String(this.barCtx.barOptions.barHeight).indexOf("%")===-1&&(n=parseInt(this.barCtx.barOptions.barHeight,10)),c=this.barCtx.baseLineInvertedY+u.globals.padHorizontal+(this.barCtx.isReversed?u.globals.gridWidth:0)-(this.barCtx.isReversed?2*this.barCtx.baseLineInvertedY:0),this.barCtx.isFunnel&&(c=u.globals.gridWidth/2),a=(s-n*this.barCtx.seriesLen)/2;else{if(r=u.globals.gridWidth/this.barCtx.visibleItems,u.config.xaxis.convertedCatToNumeric&&(r=u.globals.gridWidth/u.globals.dataPoints),o=r/h*parseInt(this.barCtx.barOptions.columnWidth,10)/100,u.globals.isXNumeric){var f=this.barCtx.xRatio;u.globals.minXDiff&&u.globals.minXDiff!==.5&&u.globals.minXDiff/f>0&&(r=u.globals.minXDiff/f),(o=r/h*parseInt(this.barCtx.barOptions.columnWidth,10)/100)<1&&(o=1)}String(this.barCtx.barOptions.columnWidth).indexOf("%")===-1&&(o=parseInt(this.barCtx.barOptions.columnWidth,10)),l=u.globals.gridHeight-this.barCtx.baseLineY[this.barCtx.translationsIndex]-(this.barCtx.isReversed?u.globals.gridHeight:0)+(this.barCtx.isReversed?2*this.barCtx.baseLineY[this.barCtx.translationsIndex]:0),u.globals.isXNumeric?t=this.barCtx.getBarXForNumericXAxis({x:t,j:0,realIndex:e,barWidth:o}).x:t=u.globals.padHorizontal+T.noExponents(r-o*this.barCtx.seriesLen)/2}return u.globals.barHeight=n,u.globals.barWidth=o,{x:t,y:a,yDivision:s,xDivision:r,barHeight:n,barWidth:o,zeroH:l,zeroW:c}}},{key:"initializeStackedPrevVars",value:function(e){e.w.globals.seriesGroups.forEach((function(t){e[t]||(e[t]={}),e[t].prevY=[],e[t].prevX=[],e[t].prevYF=[],e[t].prevXF=[],e[t].prevYVal=[],e[t].prevXVal=[]}))}},{key:"initializeStackedXYVars",value:function(e){e.w.globals.seriesGroups.forEach((function(t){e[t]||(e[t]={}),e[t].xArrj=[],e[t].xArrjF=[],e[t].xArrjVal=[],e[t].yArrj=[],e[t].yArrjF=[],e[t].yArrjVal=[]}))}},{key:"getPathFillColor",value:function(e,t,a,s){var r,n,o,l,c=this.w,u=this.barCtx.ctx.fill,d=null,h=this.barCtx.barOptions.distributed?a:t,f=!1;return this.barCtx.barOptions.colors.ranges.length>0&&this.barCtx.barOptions.colors.ranges.map((function(g){e[t][a]>=g.from&&e[t][a]<=g.to&&(d=g.color,f=!0)})),{color:u.fillPath({seriesNumber:this.barCtx.barOptions.distributed?h:s,dataPointIndex:a,color:d,value:e[t][a],fillConfig:(r=c.config.series[t].data[a])===null||r===void 0?void 0:r.fill,fillType:(n=c.config.series[t].data[a])!==null&&n!==void 0&&(o=n.fill)!==null&&o!==void 0&&o.type?(l=c.config.series[t].data[a])===null||l===void 0?void 0:l.fill.type:Array.isArray(c.config.fill.type)?c.config.fill.type[s]:c.config.fill.type}),useRangeColor:f}}},{key:"getStrokeWidth",value:function(e,t,a){var s=0,r=this.w;return this.barCtx.series[e][t]===void 0||this.barCtx.series[e][t]===null||r.config.chart.type==="bar"&&!this.barCtx.series[e][t]?this.barCtx.isNullValue=!0:this.barCtx.isNullValue=!1,r.config.stroke.show&&(this.barCtx.isNullValue||(s=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[a]:this.barCtx.strokeWidth)),s}},{key:"createBorderRadiusArr",value:function(e){var t,a=this.w,s=!this.w.config.chart.stacked||a.config.plotOptions.bar.borderRadius<=0,r=e.length,n=0|((t=e[0])===null||t===void 0?void 0:t.length),o=Array.from({length:r},(function(){return Array(n).fill(s?"top":"none")}));if(s)return o;for(var l=0;l<n;l++){for(var c=[],u=[],d=0,h=0;h<r;h++){var f=e[h][l];f>0?(c.push(h),d++):f<0&&(u.push(h),d++)}if(c.length>0&&u.length===0)if(c.length===1)o[c[0]][l]="both";else{var g,p=c[0],m=c[c.length-1],v=lr(c);try{for(v.s();!(g=v.n()).done;){var b=g.value;o[b][l]=b===p?"bottom":b===m?"top":"none"}}catch(N){v.e(N)}finally{v.f()}}else if(u.length>0&&c.length===0)if(u.length===1)o[u[0]][l]="both";else{var x,k=Math.max.apply(Math,u),y=Math.min.apply(Math,u),A=lr(u);try{for(A.s();!(x=A.n()).done;){var w=x.value;o[w][l]=w===k?"bottom":w===y?"top":"none"}}catch(N){A.e(N)}finally{A.f()}}else if(c.length>0&&u.length>0){var S,C=c[c.length-1],M=lr(c);try{for(M.s();!(S=M.n()).done;){var E=S.value;o[E][l]=E===C?"top":"none"}}catch(N){M.e(N)}finally{M.f()}var P,D=Math.max.apply(Math,u),L=lr(u);try{for(L.s();!(P=L.n()).done;){var B=P.value;o[B][l]=B===D?"bottom":"none"}}catch(N){L.e(N)}finally{L.f()}}else d===1&&(o[c[0]||u[0]][l]="both")}return o}},{key:"barBackground",value:function(e){var t=e.j,a=e.i,s=e.x1,r=e.x2,n=e.y1,o=e.y2,l=e.elSeries,c=this.w,u=new V(this.barCtx.ctx),d=new ri(this.barCtx.ctx).getActiveConfigSeriesIndex();if(this.barCtx.barOptions.colors.backgroundBarColors.length>0&&d===a){t>=this.barCtx.barOptions.colors.backgroundBarColors.length&&(t%=this.barCtx.barOptions.colors.backgroundBarColors.length);var h=this.barCtx.barOptions.colors.backgroundBarColors[t],f=u.drawRect(s!==void 0?s:0,n!==void 0?n:0,r!==void 0?r:c.globals.gridWidth,o!==void 0?o:c.globals.gridHeight,this.barCtx.barOptions.colors.backgroundBarRadius,h,this.barCtx.barOptions.colors.backgroundBarOpacity);l.add(f),f.node.classList.add("apexcharts-backgroundBar")}}},{key:"getColumnPaths",value:function(e){var t,a=e.barWidth,s=e.barXPosition,r=e.y1,n=e.y2,o=e.strokeWidth,l=e.isReversed,c=e.series,u=e.seriesGroup,d=e.realIndex,h=e.i,f=e.j,g=e.w,p=new V(this.barCtx.ctx);(o=Array.isArray(o)?o[d]:o)||(o=0);var m=a,v=s;(t=g.config.series[d].data[f])!==null&&t!==void 0&&t.columnWidthOffset&&(v=s-g.config.series[d].data[f].columnWidthOffset/2,m=a+g.config.series[d].data[f].columnWidthOffset);var b=o/2,x=v+b,k=v+m-b,y=(c[h][f]>=0?1:-1)*(l?-1:1);r+=.001-b*y,n+=.001+b*y;var A=p.move(x,r),w=p.move(x,r),S=p.line(k,r);if(g.globals.previousPaths.length>0&&(w=this.barCtx.getPreviousPath(d,f,!1)),A=A+p.line(x,n)+p.line(k,n)+S+(g.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[d][f]==="both"?" Z":" z"),w=w+p.line(x,r)+S+S+S+S+S+p.line(x,r)+(g.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[d][f]==="both"?" Z":" z"),this.arrBorderRadius[d][f]!=="none"&&(A=p.roundPathCorners(A,g.config.plotOptions.bar.borderRadius)),g.config.chart.stacked){var C=this.barCtx;(C=this.barCtx[u]).yArrj.push(n-b*y),C.yArrjF.push(Math.abs(r-n+o*y)),C.yArrjVal.push(this.barCtx.series[h][f])}return{pathTo:A,pathFrom:w}}},{key:"getBarpaths",value:function(e){var t,a=e.barYPosition,s=e.barHeight,r=e.x1,n=e.x2,o=e.strokeWidth,l=e.isReversed,c=e.series,u=e.seriesGroup,d=e.realIndex,h=e.i,f=e.j,g=e.w,p=new V(this.barCtx.ctx);(o=Array.isArray(o)?o[d]:o)||(o=0);var m=a,v=s;(t=g.config.series[d].data[f])!==null&&t!==void 0&&t.barHeightOffset&&(m=a-g.config.series[d].data[f].barHeightOffset/2,v=s+g.config.series[d].data[f].barHeightOffset);var b=o/2,x=m+b,k=m+v-b,y=(c[h][f]>=0?1:-1)*(l?-1:1);r+=.001+b*y,n+=.001-b*y;var A=p.move(r,x),w=p.move(r,x);g.globals.previousPaths.length>0&&(w=this.barCtx.getPreviousPath(d,f,!1));var S=p.line(r,k);if(A=A+p.line(n,x)+p.line(n,k)+S+(g.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[d][f]==="both"?" Z":" z"),w=w+p.line(r,x)+S+S+S+S+S+p.line(r,x)+(g.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[d][f]==="both"?" Z":" z"),this.arrBorderRadius[d][f]!=="none"&&(A=p.roundPathCorners(A,g.config.plotOptions.bar.borderRadius)),g.config.chart.stacked){var C=this.barCtx;(C=this.barCtx[u]).xArrj.push(n+b*y),C.xArrjF.push(Math.abs(r-n-o*y)),C.xArrjVal.push(this.barCtx.series[h][f])}return{pathTo:A,pathFrom:w}}},{key:"checkZeroSeries",value:function(e){for(var t=e.series,a=this.w,s=0;s<t.length;s++){for(var r=0,n=0;n<t[a.globals.maxValsInArrayIndex].length;n++)r+=t[s][n];r===0&&this.barCtx.zeroSerieses.push(s)}}},{key:"getXForValue",value:function(e,t){var a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2]?t:null;return e!=null&&(a=t+e/this.barCtx.invertedYRatio-2*(this.barCtx.isReversed?e/this.barCtx.invertedYRatio:0)),a}},{key:"getYForValue",value:function(e,t,a){var s=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3]?t:null;return e!=null&&(s=t-e/this.barCtx.yRatio[a]+2*(this.barCtx.isReversed?e/this.barCtx.yRatio[a]:0)),s}},{key:"getGoalValues",value:function(e,t,a,s,r,n){var o=this,l=this.w,c=[],u=function(f,g){var p;c.push((mo(p={},e,e==="x"?o.getXForValue(f,t,!1):o.getYForValue(f,a,n,!1)),mo(p,"attrs",g),p))};if(l.globals.seriesGoals[s]&&l.globals.seriesGoals[s][r]&&Array.isArray(l.globals.seriesGoals[s][r])&&l.globals.seriesGoals[s][r].forEach((function(f){u(f.value,f)})),this.barCtx.barOptions.isDumbbell&&l.globals.seriesRange.length){var d=this.barCtx.barOptions.dumbbellColors?this.barCtx.barOptions.dumbbellColors:l.globals.colors,h={strokeHeight:e==="x"?0:l.globals.markers.size[s],strokeWidth:e==="x"?l.globals.markers.size[s]:0,strokeDashArray:0,strokeLineCap:"round",strokeColor:Array.isArray(d[s])?d[s][0]:d[s]};u(l.globals.seriesRangeStart[s][r],h),u(l.globals.seriesRangeEnd[s][r],$($({},h),{},{strokeColor:Array.isArray(d[s])?d[s][1]:d[s]}))}return c}},{key:"drawGoalLine",value:function(e){var t=e.barXPosition,a=e.barYPosition,s=e.goalX,r=e.goalY,n=e.barWidth,o=e.barHeight,l=new V(this.barCtx.ctx),c=l.group({className:"apexcharts-bar-goals-groups"});c.node.classList.add("apexcharts-element-hidden"),this.barCtx.w.globals.delayedElements.push({el:c.node}),c.attr("clip-path","url(#gridRectMarkerMask".concat(this.barCtx.w.globals.cuid,")"));var u=null;return this.barCtx.isHorizontal?Array.isArray(s)&&s.forEach((function(d){if(d.x>=-1&&d.x<=l.w.globals.gridWidth+1){var h=d.attrs.strokeHeight!==void 0?d.attrs.strokeHeight:o/2,f=a+h+o/2;u=l.drawLine(d.x,f-2*h,d.x,f,d.attrs.strokeColor?d.attrs.strokeColor:void 0,d.attrs.strokeDashArray,d.attrs.strokeWidth?d.attrs.strokeWidth:2,d.attrs.strokeLineCap),c.add(u)}})):Array.isArray(r)&&r.forEach((function(d){if(d.y>=-1&&d.y<=l.w.globals.gridHeight+1){var h=d.attrs.strokeWidth!==void 0?d.attrs.strokeWidth:n/2,f=t+h+n/2;u=l.drawLine(f-2*h,d.y,f,d.y,d.attrs.strokeColor?d.attrs.strokeColor:void 0,d.attrs.strokeDashArray,d.attrs.strokeHeight?d.attrs.strokeHeight:2,d.attrs.strokeLineCap),c.add(u)}})),c}},{key:"drawBarShadow",value:function(e){var t=e.prevPaths,a=e.currPaths,s=e.color,r=this.w,n=t.x,o=t.x1,l=t.barYPosition,c=a.x,u=a.x1,d=a.barYPosition,h=l+a.barHeight,f=new V(this.barCtx.ctx),g=new T,p=f.move(o,h)+f.line(n,h)+f.line(c,d)+f.line(u,d)+f.line(o,h)+(r.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[realIndex][j]==="both"?" Z":" z");return f.drawPath({d:p,fill:g.shadeColor(.5,T.rgb2hex(s)),stroke:"none",strokeWidth:0,fillOpacity:1,classes:"apexcharts-bar-shadow apexcharts-decoration-element"})}},{key:"getZeroValueEncounters",value:function(e){var t,a=e.i,s=e.j,r=this.w,n=0,o=0;return(r.config.plotOptions.bar.horizontal?r.globals.series.map((function(l,c){return c})):((t=r.globals.columnSeries)===null||t===void 0?void 0:t.i.map((function(l){return l})))||[]).forEach((function(l){var c=r.globals.seriesPercent[l][s];c&&n++,l<a&&c===0&&o++})),{nonZeroColumns:n,zeroEncounters:o}}},{key:"getGroupIndex",value:function(e){var t=this.w,a=t.globals.seriesGroups.findIndex((function(n){return n.indexOf(t.globals.seriesNames[e])>-1})),s=this.barCtx.columnGroupIndices,r=s.indexOf(a);return r<0&&(s.push(a),r=s.length-1),{groupIndex:a,columnGroupIndex:r}}}]),i})(),Ns=(function(){function i(e,t){ee(this,i),this.ctx=e,this.w=e.w;var a=this.w;this.barOptions=a.config.plotOptions.bar,this.isHorizontal=this.barOptions.horizontal,this.strokeWidth=a.config.stroke.width,this.isNullValue=!1,this.isRangeBar=a.globals.seriesRange.length&&this.isHorizontal,this.isVerticalGroupedRangeBar=!a.globals.isBarHorizontal&&a.globals.seriesRange.length&&a.config.plotOptions.bar.rangeBarGroupRows,this.isFunnel=this.barOptions.isFunnel,this.xyRatios=t,this.xyRatios!==null&&(this.xRatio=t.xRatio,this.yRatio=t.yRatio,this.invertedXRatio=t.invertedXRatio,this.invertedYRatio=t.invertedYRatio,this.baseLineY=t.baseLineY,this.baseLineInvertedY=t.baseLineInvertedY),this.yaxisIndex=0,this.translationsIndex=0,this.seriesLen=0,this.pathArr=[];var s=new ri(this.ctx);this.lastActiveBarSerieIndex=s.getActiveConfigSeriesIndex("desc",["bar","column"]),this.columnGroupIndices=[];var r=s.getBarSeriesIndices(),n=new nt(this.ctx);this.stackedSeriesTotals=n.getStackedSeriesTotals(this.w.config.series.map((function(o,l){return r.indexOf(l)===-1?l:-1})).filter((function(o){return o!==-1}))),this.barHelpers=new lI(this)}return te(i,[{key:"draw",value:function(e,t){var a=this.w,s=new V(this.ctx),r=new nt(this.ctx,a);e=r.getLogSeries(e),this.series=e,this.yRatio=r.getLogYRatios(this.yRatio),this.barHelpers.initVariables(e);var n=s.group({class:"apexcharts-bar-series apexcharts-plot-series"});a.config.dataLabels.enabled&&this.totalItems>this.barOptions.dataLabels.maxItems&&console.warn("WARNING: DataLabels are enabled but there are too many to display. This may cause performance issue when rendering - ApexCharts");for(var o=0,l=0;o<e.length;o++,l++){var c,u,d,h,f=void 0,g=void 0,p=[],m=[],v=a.globals.comboCharts?t[o]:o,b=this.barHelpers.getGroupIndex(v).columnGroupIndex,x=s.group({class:"apexcharts-series",rel:o+1,seriesName:T.escapeString(a.globals.seriesNames[v]),"data:realIndex":v});this.ctx.series.addCollapsedClassToSeries(x,v),e[o].length>0&&(this.visibleI=this.visibleI+1);var k=0,y=0;this.yRatio.length>1&&(this.yaxisIndex=a.globals.seriesYAxisReverseMap[v],this.translationsIndex=v);var A=this.translationsIndex;this.isReversed=a.config.yaxis[this.yaxisIndex]&&a.config.yaxis[this.yaxisIndex].reversed;var w=this.barHelpers.initialPositions(v);g=w.y,k=w.barHeight,u=w.yDivision,h=w.zeroW,f=w.x,y=w.barWidth,c=w.xDivision,d=w.zeroH,this.isHorizontal||m.push(f+y/2);var S=s.group({class:"apexcharts-datalabels","data:realIndex":v});a.globals.delayedElements.push({el:S.node}),S.node.classList.add("apexcharts-element-hidden");var C=s.group({class:"apexcharts-bar-goals-markers"}),M=s.group({class:"apexcharts-bar-shadows"});a.globals.delayedElements.push({el:M.node}),M.node.classList.add("apexcharts-element-hidden");for(var E=0;E<e[o].length;E++){var P=this.barHelpers.getStrokeWidth(o,E,v),D=null,L={indexes:{i:o,j:E,realIndex:v,translationsIndex:A,bc:l},x:f,y:g,strokeWidth:P,elSeries:x};this.isHorizontal?(D=this.drawBarPaths($($({},L),{},{barHeight:k,zeroW:h,yDivision:u})),y=this.series[o][E]/this.invertedYRatio):(D=this.drawColumnPaths($($({},L),{},{xDivision:c,barWidth:y,zeroH:d})),k=this.series[o][E]/this.yRatio[A]);var B=this.barHelpers.getPathFillColor(e,o,E,v);if(this.isFunnel&&this.barOptions.isFunnel3d&&this.pathArr.length&&E>0){var N,F=this.barHelpers.drawBarShadow({color:typeof B.color=="string"&&((N=B.color)===null||N===void 0?void 0:N.indexOf("url"))===-1?B.color:T.hexToRgba(a.globals.colors[o]),prevPaths:this.pathArr[this.pathArr.length-1],currPaths:D});M.add(F),a.config.chart.dropShadow.enabled&&new vt(this.ctx).dropShadow(F,a.config.chart.dropShadow,v)}this.pathArr.push(D);var H=this.barHelpers.drawGoalLine({barXPosition:D.barXPosition,barYPosition:D.barYPosition,goalX:D.goalX,goalY:D.goalY,barHeight:k,barWidth:y});H&&C.add(H),g=D.y,f=D.x,E>0&&m.push(f+y/2),p.push(g),this.renderSeries($($({realIndex:v,pathFill:B.color},B.useRangeColor?{lineFill:B.color}:{}),{},{j:E,i:o,columnGroupIndex:b,pathFrom:D.pathFrom,pathTo:D.pathTo,strokeWidth:P,elSeries:x,x:f,y:g,series:e,barHeight:Math.abs(D.barHeight?D.barHeight:k),barWidth:Math.abs(D.barWidth?D.barWidth:y),elDataLabelsWrap:S,elGoalsMarkers:C,elBarShadows:M,visibleSeries:this.visibleI,type:"bar"}))}a.globals.seriesXvalues[v]=m,a.globals.seriesYvalues[v]=p,n.add(x)}return n}},{key:"renderSeries",value:function(e){var t=e.realIndex,a=e.pathFill,s=e.lineFill,r=e.j,n=e.i,o=e.columnGroupIndex,l=e.pathFrom,c=e.pathTo,u=e.strokeWidth,d=e.elSeries,h=e.x,f=e.y,g=e.y1,p=e.y2,m=e.series,v=e.barHeight,b=e.barWidth,x=e.barXPosition,k=e.barYPosition,y=e.elDataLabelsWrap,A=e.elGoalsMarkers,w=e.elBarShadows,S=e.visibleSeries,C=e.type,M=e.classes,E=this.w,P=new V(this.ctx),D=!1;if(!s){var L=typeof E.globals.stroke.colors[t]=="function"?(function(ie){var re,ae=E.config.stroke.colors;return Array.isArray(ae)&&ae.length>0&&((re=ae[ie])||(re=""),typeof re=="function")?re({value:E.globals.series[ie][r],dataPointIndex:r,w:E}):re})(t):E.globals.stroke.colors[t];s=this.barOptions.distributed?E.globals.stroke.colors[r]:L}var B=new oI(this).handleBarDataLabels({x:h,y:f,y1:g,y2:p,i:n,j:r,series:m,realIndex:t,columnGroupIndex:o,barHeight:v,barWidth:b,barXPosition:x,barYPosition:k,visibleSeries:S});E.globals.isBarHorizontal||(B.dataLabelsPos.dataLabelsX+Math.max(b,E.globals.barPadForNumericAxis)<0||B.dataLabelsPos.dataLabelsX-Math.max(b,E.globals.barPadForNumericAxis)>E.globals.gridWidth)&&(D=!0),E.config.series[n].data[r]&&E.config.series[n].data[r].strokeColor&&(s=E.config.series[n].data[r].strokeColor),this.isNullValue&&(a="none");var N=r/E.config.chart.animations.animateGradually.delay*(E.config.chart.animations.speed/E.globals.dataPoints)/2.4;if(!D){var F=P.renderPaths({i:n,j:r,realIndex:t,pathFrom:l,pathTo:c,stroke:s,strokeWidth:u,strokeLineCap:E.config.stroke.lineCap,fill:a,animationDelay:N,initialSpeed:E.config.chart.animations.speed,dataChangeSpeed:E.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(C,"-area ").concat(M),chartType:C});F.attr("clip-path","url(#gridRectBarMask".concat(E.globals.cuid,")"));var H=E.config.forecastDataPoints;H.count>0&&r>=E.globals.dataPoints-H.count&&(F.node.setAttribute("stroke-dasharray",H.dashArray),F.node.setAttribute("stroke-width",H.strokeWidth),F.node.setAttribute("fill-opacity",H.fillOpacity)),g!==void 0&&p!==void 0&&(F.attr("data-range-y1",g),F.attr("data-range-y2",p)),new vt(this.ctx).setSelectionFilter(F,t,r),d.add(F),F.attr({cy:B.dataLabelsPos.bcy,cx:B.dataLabelsPos.bcx,j:r,val:E.globals.series[n][r],barHeight:v,barWidth:b}),B.dataLabels!==null&&y.add(B.dataLabels),B.totalDataLabels&&y.add(B.totalDataLabels),d.add(y),A&&d.add(A),w&&d.add(w)}return d}},{key:"drawBarPaths",value:function(e){var t,a=e.indexes,s=e.barHeight,r=e.strokeWidth,n=e.zeroW,o=e.x,l=e.y,c=e.yDivision,u=e.elSeries,d=this.w,h=a.i,f=a.j;if(d.globals.isXNumeric)t=(l=(d.globals.seriesX[h][f]-d.globals.minX)/this.invertedXRatio-s)+s*this.visibleI;else if(d.config.plotOptions.bar.hideZeroBarsWhenGrouped){var g=this.barHelpers.getZeroValueEncounters({i:h,j:f}),p=g.nonZeroColumns,m=g.zeroEncounters;p>0&&(s=this.seriesLen*s/p),t=l+s*this.visibleI,t-=s*m}else t=l+s*this.visibleI;this.isFunnel&&(n-=(this.barHelpers.getXForValue(this.series[h][f],n)-n)/2),o=this.barHelpers.getXForValue(this.series[h][f],n);var v=this.barHelpers.getBarpaths({barYPosition:t,barHeight:s,x1:n,x2:o,strokeWidth:r,isReversed:this.isReversed,series:this.series,realIndex:a.realIndex,i:h,j:f,w:d});return d.globals.isXNumeric||(l+=c),this.barHelpers.barBackground({j:f,i:h,y1:t-s*this.visibleI,y2:s*this.seriesLen,elSeries:u}),{pathTo:v.pathTo,pathFrom:v.pathFrom,x1:n,x:o,y:l,goalX:this.barHelpers.getGoalValues("x",n,null,h,f),barYPosition:t,barHeight:s}}},{key:"drawColumnPaths",value:function(e){var t,a=e.indexes,s=e.x,r=e.y,n=e.xDivision,o=e.barWidth,l=e.zeroH,c=e.strokeWidth,u=e.elSeries,d=this.w,h=a.realIndex,f=a.translationsIndex,g=a.i,p=a.j,m=a.bc;if(d.globals.isXNumeric){var v=this.getBarXForNumericXAxis({x:s,j:p,realIndex:h,barWidth:o});s=v.x,t=v.barXPosition}else if(d.config.plotOptions.bar.hideZeroBarsWhenGrouped){var b=this.barHelpers.getZeroValueEncounters({i:g,j:p}),x=b.nonZeroColumns,k=b.zeroEncounters;x>0&&(o=this.seriesLen*o/x),t=s+o*this.visibleI,t-=o*k}else t=s+o*this.visibleI;r=this.barHelpers.getYForValue(this.series[g][p],l,f);var y=this.barHelpers.getColumnPaths({barXPosition:t,barWidth:o,y1:l,y2:r,strokeWidth:c,isReversed:this.isReversed,series:this.series,realIndex:h,i:g,j:p,w:d});return d.globals.isXNumeric||(s+=n),this.barHelpers.barBackground({bc:m,j:p,i:g,x1:t-c/2-o*this.visibleI,x2:o*this.seriesLen+c/2,elSeries:u}),{pathTo:y.pathTo,pathFrom:y.pathFrom,x:s,y:r,goalY:this.barHelpers.getGoalValues("y",null,l,g,p,f),barXPosition:t,barWidth:o}}},{key:"getBarXForNumericXAxis",value:function(e){var t=e.x,a=e.barWidth,s=e.realIndex,r=e.j,n=this.w,o=s;return n.globals.seriesX[s].length||(o=n.globals.maxValsInArrayIndex),T.isNumber(n.globals.seriesX[o][r])&&(t=(n.globals.seriesX[o][r]-n.globals.minX)/this.xRatio-a*this.seriesLen/2),{barXPosition:t+a*this.visibleI,x:t}}},{key:"getPreviousPath",value:function(e,t){for(var a=this.w,s="M 0 0",r=0;r<a.globals.previousPaths.length;r++){var n=a.globals.previousPaths[r];n.paths&&n.paths.length>0&&parseInt(n.realIndex,10)===parseInt(e,10)&&a.globals.previousPaths[r].paths[t]!==void 0&&(s=a.globals.previousPaths[r].paths[t].d)}return s}}]),i})(),Lg=(function(i){nn(t,Ns);var e=rn(t);function t(){return ee(this,t),e.apply(this,arguments)}return te(t,[{key:"draw",value:function(a,s){var r=this,n=this.w;this.graphics=new V(this.ctx),this.bar=new Ns(this.ctx,this.xyRatios);var o=new nt(this.ctx,n);a=o.getLogSeries(a),this.yRatio=o.getLogYRatios(this.yRatio),this.barHelpers.initVariables(a),n.config.chart.stackType==="100%"&&(a=n.globals.comboCharts?s.map((function(g){return n.globals.seriesPercent[g]})):n.globals.seriesPercent.slice()),this.series=a,this.barHelpers.initializeStackedPrevVars(this);for(var l=this.graphics.group({class:"apexcharts-bar-series apexcharts-plot-series"}),c=0,u=0,d=function(g,p){var m=void 0,v=void 0,b=void 0,x=void 0,k=n.globals.comboCharts?s[g]:g,y=r.barHelpers.getGroupIndex(k),A=y.groupIndex,w=y.columnGroupIndex;r.groupCtx=r[n.globals.seriesGroups[A]];var S=[],C=[],M=0;r.yRatio.length>1&&(r.yaxisIndex=n.globals.seriesYAxisReverseMap[k][0],M=k),r.isReversed=n.config.yaxis[r.yaxisIndex]&&n.config.yaxis[r.yaxisIndex].reversed;var E=r.graphics.group({class:"apexcharts-series",seriesName:T.escapeString(n.globals.seriesNames[k]),rel:g+1,"data:realIndex":k});r.ctx.series.addCollapsedClassToSeries(E,k);var P=r.graphics.group({class:"apexcharts-datalabels","data:realIndex":k}),D=r.graphics.group({class:"apexcharts-bar-goals-markers"}),L=0,B=0,N=r.initialPositions(c,u,m,v,b,x,M);u=N.y,L=N.barHeight,v=N.yDivision,x=N.zeroW,c=N.x,B=N.barWidth,m=N.xDivision,b=N.zeroH,n.globals.barHeight=L,n.globals.barWidth=B,r.barHelpers.initializeStackedXYVars(r),r.groupCtx.prevY.length===1&&r.groupCtx.prevY[0].every((function(Re){return isNaN(Re)}))&&(r.groupCtx.prevY[0]=r.groupCtx.prevY[0].map((function(){return b})),r.groupCtx.prevYF[0]=r.groupCtx.prevYF[0].map((function(){return 0})));for(var F=0;F<n.globals.dataPoints;F++){var H=r.barHelpers.getStrokeWidth(g,F,k),ie={indexes:{i:g,j:F,realIndex:k,translationsIndex:M,bc:p},strokeWidth:H,x:c,y:u,elSeries:E,columnGroupIndex:w,seriesGroup:n.globals.seriesGroups[A]},re=null;r.isHorizontal?(re=r.drawStackedBarPaths($($({},ie),{},{zeroW:x,barHeight:L,yDivision:v})),B=r.series[g][F]/r.invertedYRatio):(re=r.drawStackedColumnPaths($($({},ie),{},{xDivision:m,barWidth:B,zeroH:b})),L=r.series[g][F]/r.yRatio[M]);var ae=r.barHelpers.drawGoalLine({barXPosition:re.barXPosition,barYPosition:re.barYPosition,goalX:re.goalX,goalY:re.goalY,barHeight:L,barWidth:B});ae&&D.add(ae),u=re.y,c=re.x,S.push(c),C.push(u);var le=r.barHelpers.getPathFillColor(a,g,F,k),Me="",pe=n.globals.isBarHorizontal?"apexcharts-flip-x":"apexcharts-flip-y";(r.barHelpers.arrBorderRadius[k][F]==="bottom"&&n.globals.series[k][F]>0||r.barHelpers.arrBorderRadius[k][F]==="top"&&n.globals.series[k][F]<0)&&(Me=pe),E=r.renderSeries($($({realIndex:k,pathFill:le.color},le.useRangeColor?{lineFill:le.color}:{}),{},{j:F,i:g,columnGroupIndex:w,pathFrom:re.pathFrom,pathTo:re.pathTo,strokeWidth:H,elSeries:E,x:c,y:u,series:a,barHeight:L,barWidth:B,elDataLabelsWrap:P,elGoalsMarkers:D,type:"bar",visibleSeries:w,classes:Me}))}n.globals.seriesXvalues[k]=S,n.globals.seriesYvalues[k]=C,r.groupCtx.prevY.push(r.groupCtx.yArrj),r.groupCtx.prevYF.push(r.groupCtx.yArrjF),r.groupCtx.prevYVal.push(r.groupCtx.yArrjVal),r.groupCtx.prevX.push(r.groupCtx.xArrj),r.groupCtx.prevXF.push(r.groupCtx.xArrjF),r.groupCtx.prevXVal.push(r.groupCtx.xArrjVal),l.add(E)},h=0,f=0;h<a.length;h++,f++)d(h,f);return l}},{key:"initialPositions",value:function(a,s,r,n,o,l,c){var u,d,h=this.w;if(this.isHorizontal){n=h.globals.gridHeight/h.globals.dataPoints;var f=h.config.plotOptions.bar.barHeight;u=String(f).indexOf("%")===-1?parseInt(f,10):n*parseInt(f,10)/100,l=h.globals.padHorizontal+(this.isReversed?h.globals.gridWidth-this.baseLineInvertedY:this.baseLineInvertedY),s=(n-u)/2}else{d=r=h.globals.gridWidth/h.globals.dataPoints;var g=h.config.plotOptions.bar.columnWidth;h.globals.isXNumeric&&h.globals.dataPoints>1?d=(r=h.globals.minXDiff/this.xRatio)*parseInt(this.barOptions.columnWidth,10)/100:String(g).indexOf("%")===-1?d=parseInt(g,10):d*=parseInt(g,10)/100,o=this.isReversed?this.baseLineY[c]:h.globals.gridHeight-this.baseLineY[c],a=h.globals.padHorizontal+(r-d)/2}var p=h.globals.barGroups.length||1;return{x:a,y:s,yDivision:n,xDivision:r,barHeight:u/p,barWidth:d/p,zeroH:o,zeroW:l}}},{key:"drawStackedBarPaths",value:function(a){for(var s,r=a.indexes,n=a.barHeight,o=a.strokeWidth,l=a.zeroW,c=a.x,u=a.y,d=a.columnGroupIndex,h=a.seriesGroup,f=a.yDivision,g=a.elSeries,p=this.w,m=u+d*n,v=r.i,b=r.j,x=r.realIndex,k=r.translationsIndex,y=0,A=0;A<this.groupCtx.prevXF.length;A++)y+=this.groupCtx.prevXF[A][b];var w=v;if(p.config.series[x].name&&(w=h.indexOf(p.config.series[x].name)),w>0){var S=l;this.groupCtx.prevXVal[w-1][b]<0?S=this.series[v][b]>=0?this.groupCtx.prevX[w-1][b]+y-2*(this.isReversed?y:0):this.groupCtx.prevX[w-1][b]:this.groupCtx.prevXVal[w-1][b]>=0&&(S=this.series[v][b]>=0?this.groupCtx.prevX[w-1][b]:this.groupCtx.prevX[w-1][b]-y+2*(this.isReversed?y:0)),s=S}else s=l;c=this.series[v][b]===null?s:s+this.series[v][b]/this.invertedYRatio-2*(this.isReversed?this.series[v][b]/this.invertedYRatio:0);var C=this.barHelpers.getBarpaths({barYPosition:m,barHeight:n,x1:s,x2:c,strokeWidth:o,isReversed:this.isReversed,series:this.series,realIndex:r.realIndex,seriesGroup:h,i:v,j:b,w:p});return this.barHelpers.barBackground({j:b,i:v,y1:m,y2:n,elSeries:g}),u+=f,{pathTo:C.pathTo,pathFrom:C.pathFrom,goalX:this.barHelpers.getGoalValues("x",l,null,v,b,k),barXPosition:s,barYPosition:m,x:c,y:u}}},{key:"drawStackedColumnPaths",value:function(a){var s=a.indexes,r=a.x,n=a.y,o=a.xDivision,l=a.barWidth,c=a.zeroH,u=a.columnGroupIndex,d=a.seriesGroup,h=a.elSeries,f=this.w,g=s.i,p=s.j,m=s.bc,v=s.realIndex,b=s.translationsIndex;if(f.globals.isXNumeric){var x=f.globals.seriesX[v][p];x||(x=0),r=(x-f.globals.minX)/this.xRatio-l/2*f.globals.barGroups.length}for(var k,y=r+u*l,A=0,w=0;w<this.groupCtx.prevYF.length;w++)A+=isNaN(this.groupCtx.prevYF[w][p])?0:this.groupCtx.prevYF[w][p];var S=g;if(d&&(S=d.indexOf(f.globals.seriesNames[v])),S>0&&!f.globals.isXNumeric||S>0&&f.globals.isXNumeric&&f.globals.seriesX[v-1][p]===f.globals.seriesX[v][p]){var C,M,E,P=Math.min(this.yRatio.length+1,v+1);if(this.groupCtx.prevY[S-1]!==void 0&&this.groupCtx.prevY[S-1].length)for(var D=1;D<P;D++){var L;if(!isNaN((L=this.groupCtx.prevY[S-D])===null||L===void 0?void 0:L[p])){E=this.groupCtx.prevY[S-D][p];break}}for(var B=1;B<P;B++){var N,F;if(((N=this.groupCtx.prevYVal[S-B])===null||N===void 0?void 0:N[p])<0){M=this.series[g][p]>=0?E-A+2*(this.isReversed?A:0):E;break}if(((F=this.groupCtx.prevYVal[S-B])===null||F===void 0?void 0:F[p])>=0){M=this.series[g][p]>=0?E:E+A-2*(this.isReversed?A:0);break}}M===void 0&&(M=f.globals.gridHeight),k=(C=this.groupCtx.prevYF[0])!==null&&C!==void 0&&C.every((function(ie){return ie===0}))&&this.groupCtx.prevYF.slice(1,S).every((function(ie){return ie.every((function(re){return isNaN(re)}))}))?c:M}else k=c;n=this.series[g][p]?k-this.series[g][p]/this.yRatio[b]+2*(this.isReversed?this.series[g][p]/this.yRatio[b]:0):k;var H=this.barHelpers.getColumnPaths({barXPosition:y,barWidth:l,y1:k,y2:n,yRatio:this.yRatio[b],strokeWidth:this.strokeWidth,isReversed:this.isReversed,series:this.series,seriesGroup:d,realIndex:s.realIndex,i:g,j:p,w:f});return this.barHelpers.barBackground({bc:m,j:p,i:g,x1:y,x2:l,elSeries:h}),{pathTo:H.pathTo,pathFrom:H.pathFrom,goalY:this.barHelpers.getGoalValues("y",null,c,g,p),barXPosition:y,x:f.globals.isXNumeric?r:r+o,y:n}}}]),t})(),ec=(function(i){nn(t,Ns);var e=rn(t);function t(){return ee(this,t),e.apply(this,arguments)}return te(t,[{key:"draw",value:function(a,s,r){var n=this,o=this.w,l=new V(this.ctx),c=o.globals.comboCharts?s:o.config.chart.type,u=new gi(this.ctx);this.candlestickOptions=this.w.config.plotOptions.candlestick,this.boxOptions=this.w.config.plotOptions.boxPlot,this.isHorizontal=o.config.plotOptions.bar.horizontal,this.isOHLC=this.candlestickOptions&&this.candlestickOptions.type==="ohlc";var d=new nt(this.ctx,o);a=d.getLogSeries(a),this.series=a,this.yRatio=d.getLogYRatios(this.yRatio),this.barHelpers.initVariables(a);for(var h=l.group({class:"apexcharts-".concat(c,"-series apexcharts-plot-series")}),f=function(p){n.isBoxPlot=o.config.chart.type==="boxPlot"||o.config.series[p].type==="boxPlot";var m,v,b,x,k=void 0,y=void 0,A=[],w=[],S=o.globals.comboCharts?r[p]:p,C=n.barHelpers.getGroupIndex(S).columnGroupIndex,M=l.group({class:"apexcharts-series",seriesName:T.escapeString(o.globals.seriesNames[S]),rel:p+1,"data:realIndex":S});n.ctx.series.addCollapsedClassToSeries(M,S),a[p].length>0&&(n.visibleI=n.visibleI+1);var E,P,D=0;n.yRatio.length>1&&(n.yaxisIndex=o.globals.seriesYAxisReverseMap[S][0],D=S);var L=n.barHelpers.initialPositions(S);y=L.y,E=L.barHeight,v=L.yDivision,x=L.zeroW,k=L.x,P=L.barWidth,m=L.xDivision,b=L.zeroH,w.push(k+P/2);for(var B=l.group({class:"apexcharts-datalabels","data:realIndex":S}),N=l.group({class:"apexcharts-bar-goals-markers"}),F=function(ie){var re=n.barHelpers.getStrokeWidth(p,ie,S),ae=null,le={indexes:{i:p,j:ie,realIndex:S,translationsIndex:D},x:k,y,strokeWidth:re,elSeries:M};ae=n.isHorizontal?n.drawHorizontalBoxPaths($($({},le),{},{yDivision:v,barHeight:E,zeroW:x})):n.drawVerticalBoxPaths($($({},le),{},{xDivision:m,barWidth:P,zeroH:b})),y=ae.y,k=ae.x;var Me=n.barHelpers.drawGoalLine({barXPosition:ae.barXPosition,barYPosition:ae.barYPosition,goalX:ae.goalX,goalY:ae.goalY,barHeight:E,barWidth:P});Me&&N.add(Me),ie>0&&w.push(k+P/2),A.push(y),ae.pathTo.forEach((function(pe,Re){var ve=!n.isBoxPlot&&n.candlestickOptions.wick.useFillColor?ae.color[Re]:o.globals.stroke.colors[p],O=u.fillPath({seriesNumber:S,dataPointIndex:ie,color:ae.color[Re],value:a[p][ie]});n.renderSeries({realIndex:S,pathFill:O,lineFill:ve,j:ie,i:p,pathFrom:ae.pathFrom,pathTo:pe,strokeWidth:re,elSeries:M,x:k,y,series:a,columnGroupIndex:C,barHeight:E,barWidth:P,elDataLabelsWrap:B,elGoalsMarkers:N,visibleSeries:n.visibleI,type:o.config.chart.type})}))},H=0;H<o.globals.dataPoints;H++)F(H);o.globals.seriesXvalues[S]=w,o.globals.seriesYvalues[S]=A,h.add(M)},g=0;g<a.length;g++)f(g);return h}},{key:"drawVerticalBoxPaths",value:function(a){var s=a.indexes,r=a.x;a.y;var n=a.xDivision,o=a.barWidth,l=a.zeroH,c=a.strokeWidth,u=this.w,d=new V(this.ctx),h=s.i,f=s.j,g=u.config.plotOptions.candlestick.colors,p=this.boxOptions.colors,m=s.realIndex,v=function(H){return Array.isArray(H)?H[m]:H},b=v(g.upward),x=v(g.downward),k=this.yRatio[s.translationsIndex],y=this.getOHLCValue(m,f),A=l,w=l,S=y.o<y.c?[b]:[x];this.isBoxPlot&&(S=[v(p.lower),v(p.upper)]);var C=Math.min(y.o,y.c),M=Math.max(y.o,y.c),E=y.m;u.globals.isXNumeric&&(r=(u.globals.seriesX[m][f]-u.globals.minX)/this.xRatio-o/2);var P=r+o*this.visibleI;this.series[h][f]===void 0||this.series[h][f]===null?(C=l,M=l):(C=l-C/k,M=l-M/k,A=l-y.h/k,w=l-y.l/k,E=l-y.m/k);var D=d.move(P,l),L=d.move(P+o/2,C);if(u.globals.previousPaths.length>0&&(L=this.getPreviousPath(m,f,!0)),this.isOHLC){var B=P+o/2,N=l-y.o/k,F=l-y.c/k;D=[d.move(B,A)+d.line(B,w)+d.move(B,N)+d.line(P,N)+d.move(B,F)+d.line(P+o,F)]}else D=this.isBoxPlot?[d.move(P,C)+d.line(P+o/2,C)+d.line(P+o/2,A)+d.line(P+o/4,A)+d.line(P+o-o/4,A)+d.line(P+o/2,A)+d.line(P+o/2,C)+d.line(P+o,C)+d.line(P+o,E)+d.line(P,E)+d.line(P,C+c/2),d.move(P,E)+d.line(P+o,E)+d.line(P+o,M)+d.line(P+o/2,M)+d.line(P+o/2,w)+d.line(P+o-o/4,w)+d.line(P+o/4,w)+d.line(P+o/2,w)+d.line(P+o/2,M)+d.line(P,M)+d.line(P,E)+"z"]:[d.move(P,M)+d.line(P+o/2,M)+d.line(P+o/2,A)+d.line(P+o/2,M)+d.line(P+o,M)+d.line(P+o,C)+d.line(P+o/2,C)+d.line(P+o/2,w)+d.line(P+o/2,C)+d.line(P,C)+d.line(P,M-c/2)];return L+=d.move(P,C),u.globals.isXNumeric||(r+=n),{pathTo:D,pathFrom:L,x:r,y:M,goalY:this.barHelpers.getGoalValues("y",null,l,h,f,s.translationsIndex),barXPosition:P,color:S}}},{key:"drawHorizontalBoxPaths",value:function(a){var s=a.indexes;a.x;var r=a.y,n=a.yDivision,o=a.barHeight,l=a.zeroW,c=a.strokeWidth,u=this.w,d=new V(this.ctx),h=s.i,f=s.j,g=this.boxOptions.colors.lower;this.isBoxPlot&&(g=[this.boxOptions.colors.lower,this.boxOptions.colors.upper]);var p=this.invertedYRatio,m=s.realIndex,v=this.getOHLCValue(m,f),b=l,x=l,k=Math.min(v.o,v.c),y=Math.max(v.o,v.c),A=v.m;u.globals.isXNumeric&&(r=(u.globals.seriesX[m][f]-u.globals.minX)/this.invertedXRatio-o/2);var w=r+o*this.visibleI;this.series[h][f]===void 0||this.series[h][f]===null?(k=l,y=l):(k=l+k/p,y=l+y/p,b=l+v.h/p,x=l+v.l/p,A=l+v.m/p);var S=d.move(l,w),C=d.move(k,w+o/2);return u.globals.previousPaths.length>0&&(C=this.getPreviousPath(m,f,!0)),S=[d.move(k,w)+d.line(k,w+o/2)+d.line(b,w+o/2)+d.line(b,w+o/2-o/4)+d.line(b,w+o/2+o/4)+d.line(b,w+o/2)+d.line(k,w+o/2)+d.line(k,w+o)+d.line(A,w+o)+d.line(A,w)+d.line(k+c/2,w),d.move(A,w)+d.line(A,w+o)+d.line(y,w+o)+d.line(y,w+o/2)+d.line(x,w+o/2)+d.line(x,w+o-o/4)+d.line(x,w+o/4)+d.line(x,w+o/2)+d.line(y,w+o/2)+d.line(y,w)+d.line(A,w)+"z"],C+=d.move(k,w),u.globals.isXNumeric||(r+=n),{pathTo:S,pathFrom:C,x:y,y:r,goalX:this.barHelpers.getGoalValues("x",l,null,h,f),barYPosition:w,color:g}}},{key:"getOHLCValue",value:function(a,s){var r=this.w,n=new nt(this.ctx,r),o=n.getLogValAtSeriesIndex(r.globals.seriesCandleH[a][s],a),l=n.getLogValAtSeriesIndex(r.globals.seriesCandleO[a][s],a),c=n.getLogValAtSeriesIndex(r.globals.seriesCandleM[a][s],a),u=n.getLogValAtSeriesIndex(r.globals.seriesCandleC[a][s],a),d=n.getLogValAtSeriesIndex(r.globals.seriesCandleL[a][s],a);return{o:this.isBoxPlot?o:l,h:this.isBoxPlot?l:o,m:c,l:this.isBoxPlot?u:d,c:this.isBoxPlot?d:u}}}]),t})(),Dx=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"checkColorRange",value:function(){var e=this.w,t=!1,a=e.config.plotOptions[e.config.chart.type];return a.colorScale.ranges.length>0&&a.colorScale.ranges.map((function(s,r){s.from<=0&&(t=!0)})),t}},{key:"getShadeColor",value:function(e,t,a,s){var r=this.w,n=1,o=r.config.plotOptions[e].shadeIntensity,l=this.determineColor(e,t,a);r.globals.hasNegs||s?n=r.config.plotOptions[e].reverseNegativeShade?l.percent<0?l.percent/100*(1.25*o):(1-l.percent/100)*(1.25*o):l.percent<=0?1-(1+l.percent/100)*o:(1-l.percent/100)*o:(n=1-l.percent/100,e==="treemap"&&(n=(1-l.percent/100)*(1.25*o)));var c=l.color,u=new T;if(r.config.plotOptions[e].enableShades)if(this.w.config.theme.mode==="dark"){var d=u.shadeColor(-1*n,l.color);c=T.hexToRgba(T.isColorHex(d)?d:T.rgb2hex(d),r.config.fill.opacity)}else{var h=u.shadeColor(n,l.color);c=T.hexToRgba(T.isColorHex(h)?h:T.rgb2hex(h),r.config.fill.opacity)}return{color:c,colorProps:l}}},{key:"determineColor",value:function(e,t,a){var s=this.w,r=s.globals.series[t][a],n=s.config.plotOptions[e],o=n.colorScale.inverse?a:t;n.distributed&&s.config.chart.type==="treemap"&&(o=a);var l=s.globals.colors[o],c=null,u=Math.min.apply(Math,ft(s.globals.series[t])),d=Math.max.apply(Math,ft(s.globals.series[t]));n.distributed||e!=="heatmap"||(u=s.globals.minY,d=s.globals.maxY),n.colorScale.min!==void 0&&(u=n.colorScale.min<s.globals.minY?n.colorScale.min:s.globals.minY,d=n.colorScale.max>s.globals.maxY?n.colorScale.max:s.globals.maxY);var h=Math.abs(d)+Math.abs(u),f=100*r/(h===0?h-1e-6:h);return n.colorScale.ranges.length>0&&n.colorScale.ranges.map((function(g,p){if(r>=g.from&&r<=g.to){l=g.color,c=g.foreColor?g.foreColor:null,u=g.from,d=g.to;var m=Math.abs(d)+Math.abs(u);f=100*r/(m===0?m-1e-6:m)}})),{color:l,foreColor:c,percent:f}}},{key:"calculateDataLabels",value:function(e){var t=e.text,a=e.x,s=e.y,r=e.i,n=e.j,o=e.colorProps,l=e.fontSize,c=this.w.config.dataLabels,u=new V(this.ctx),d=new Rs(this.ctx),h=null;if(c.enabled){h=u.group({class:"apexcharts-data-labels"});var f=c.offsetX,g=c.offsetY,p=a+f,m=s+parseFloat(c.style.fontSize)/3+g;d.plotDataLabelsText({x:p,y:m,text:t,i:r,j:n,color:o.foreColor,parent:h,fontSize:l,dataLabelsConfig:c})}return h}},{key:"addListeners",value:function(e){var t=new V(this.ctx);e.node.addEventListener("mouseenter",t.pathMouseEnter.bind(this,e)),e.node.addEventListener("mouseleave",t.pathMouseLeave.bind(this,e)),e.node.addEventListener("mousedown",t.pathMouseDown.bind(this,e))}}]),i})(),cI=(function(){function i(e,t){ee(this,i),this.ctx=e,this.w=e.w,this.xRatio=t.xRatio,this.yRatio=t.yRatio,this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.helpers=new Dx(e),this.rectRadius=this.w.config.plotOptions.heatmap.radius,this.strokeWidth=this.w.config.stroke.show?this.w.config.stroke.width:0}return te(i,[{key:"draw",value:function(e){var t=this.w,a=new V(this.ctx),s=a.group({class:"apexcharts-heatmap"});s.attr("clip-path","url(#gridRectMask".concat(t.globals.cuid,")"));var r=t.globals.gridWidth/t.globals.dataPoints,n=t.globals.gridHeight/t.globals.series.length,o=0,l=!1;this.negRange=this.helpers.checkColorRange();var c=e.slice();t.config.yaxis[0].reversed&&(l=!0,c.reverse());for(var u=l?0:c.length-1;l?u<c.length:u>=0;l?u++:u--){var d=a.group({class:"apexcharts-series apexcharts-heatmap-series",seriesName:T.escapeString(t.globals.seriesNames[u]),rel:u+1,"data:realIndex":u});if(this.ctx.series.addCollapsedClassToSeries(d,u),t.config.chart.dropShadow.enabled){var h=t.config.chart.dropShadow;new vt(this.ctx).dropShadow(d,h,u)}for(var f=0,g=t.config.plotOptions.heatmap.shadeIntensity,p=0,m=0;m<t.globals.dataPoints;m++)if(t.globals.seriesX.length&&!t.globals.allSeriesHasEqualX&&t.globals.minX+t.globals.minXDiff*m<t.globals.seriesX[u][p])f+=r;else{if(p>=c[u].length)break;var v=this.helpers.getShadeColor(t.config.chart.type,u,p,this.negRange),b=v.color,x=v.colorProps;t.config.fill.type==="image"&&(b=new gi(this.ctx).fillPath({seriesNumber:u,dataPointIndex:p,opacity:t.globals.hasNegs?x.percent<0?1-(1+x.percent/100):g+x.percent/100:x.percent/100,patternID:T.randomId(),width:t.config.fill.image.width?t.config.fill.image.width:r,height:t.config.fill.image.height?t.config.fill.image.height:n}));var k=this.rectRadius,y=a.drawRect(f,o,r,n,k);if(y.attr({cx:f,cy:o}),y.node.classList.add("apexcharts-heatmap-rect"),d.add(y),y.attr({fill:b,i:u,index:u,j:p,val:e[u][p],"stroke-width":this.strokeWidth,stroke:t.config.plotOptions.heatmap.useFillColorAsStroke?b:t.globals.stroke.colors[0],color:b}),this.helpers.addListeners(y),t.config.chart.animations.enabled&&!t.globals.dataChanged){var A=1;t.globals.resized||(A=t.config.chart.animations.speed),this.animateHeatMap(y,f,o,r,n,A)}if(t.globals.dataChanged){var w=1;if(this.dynamicAnim.enabled&&t.globals.shouldAnimate){w=this.dynamicAnim.speed;var S=t.globals.previousPaths[u]&&t.globals.previousPaths[u][p]&&t.globals.previousPaths[u][p].color;S||(S="rgba(255, 255, 255, 0)"),this.animateHeatColor(y,T.isColorHex(S)?S:T.rgb2hex(S),T.isColorHex(b)?b:T.rgb2hex(b),w)}}var C=(0,t.config.dataLabels.formatter)(t.globals.series[u][p],{value:t.globals.series[u][p],seriesIndex:u,dataPointIndex:p,w:t}),M=this.helpers.calculateDataLabels({text:C,x:f+r/2,y:o+n/2,i:u,j:p,colorProps:x,series:c});M!==null&&d.add(M),f+=r,p++}o+=n,s.add(d)}var E=t.globals.yAxisScale[0].result.slice();return t.config.yaxis[0].reversed?E.unshift(""):E.push(""),t.globals.yAxisScale[0].result=E,s}},{key:"animateHeatMap",value:function(e,t,a,s,r,n){var o=new Ys(this.ctx);o.animateRect(e,{x:t+s/2,y:a+r/2,width:0,height:0},{x:t,y:a,width:s,height:r},n,(function(){o.animationCompleted(e)}))}},{key:"animateHeatColor",value:function(e,t,a,s){e.attr({fill:t}).animate(s).attr({fill:a})}}]),i})(),Lx=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"drawYAxisTexts",value:function(e,t,a,s){var r=this.w,n=r.config.yaxis[0],o=r.globals.yLabelFormatters[0];return new V(this.ctx).drawText({x:e+n.labels.offsetX,y:t+n.labels.offsetY,text:o(s,a),textAnchor:"middle",fontSize:n.labels.style.fontSize,fontFamily:n.labels.style.fontFamily,foreColor:Array.isArray(n.labels.style.colors)?n.labels.style.colors[a]:n.labels.style.colors})}}]),i})(),Rx=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w;var t=this.w;this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animBeginArr=[0],this.animDur=0,this.donutDataLabels=this.w.config.plotOptions.pie.donut.labels,this.lineColorArr=t.globals.stroke.colors!==void 0?t.globals.stroke.colors:t.globals.colors,this.defaultSize=Math.min(t.globals.gridWidth,t.globals.gridHeight),this.centerY=this.defaultSize/2,this.centerX=t.globals.gridWidth/2,t.config.chart.type==="radialBar"?this.fullAngle=360:this.fullAngle=Math.abs(t.config.plotOptions.pie.endAngle-t.config.plotOptions.pie.startAngle),this.initialAngle=t.config.plotOptions.pie.startAngle%this.fullAngle,t.globals.radialSize=this.defaultSize/2.05-t.config.stroke.width-(t.config.chart.sparkline.enabled?0:t.config.chart.dropShadow.blur),this.donutSize=t.globals.radialSize*parseInt(t.config.plotOptions.pie.donut.size,10)/100;var a=t.config.plotOptions.pie.customScale,s=t.globals.gridWidth/2,r=t.globals.gridHeight/2;this.translateX=s-s*a,this.translateY=r-r*a,this.dataLabelsGroup=new V(this.ctx).group({class:"apexcharts-datalabels-group",transform:"translate(".concat(this.translateX,", ").concat(this.translateY,") scale(").concat(a,")")}),this.maxY=0,this.sliceLabels=[],this.sliceSizes=[],this.prevSectorAngleArr=[]}return te(i,[{key:"draw",value:function(e){var t=this,a=this.w,s=new V(this.ctx),r=s.group({class:"apexcharts-pie"});if(a.globals.noData)return r;for(var n=0,o=0;o<e.length;o++)n+=T.negToZero(e[o]);var l=[],c=s.group();n===0&&(n=1e-5),e.forEach((function(x){t.maxY=Math.max(t.maxY,x)})),a.config.yaxis[0].max&&(this.maxY=a.config.yaxis[0].max),a.config.grid.position==="back"&&this.chartType==="polarArea"&&this.drawPolarElements(r);for(var u=0;u<e.length;u++){var d=this.fullAngle*T.negToZero(e[u])/n;l.push(d),this.chartType==="polarArea"?(l[u]=this.fullAngle/e.length,this.sliceSizes.push(a.globals.radialSize*e[u]/this.maxY)):this.sliceSizes.push(a.globals.radialSize)}if(a.globals.dataChanged){for(var h,f=0,g=0;g<a.globals.previousPaths.length;g++)f+=T.negToZero(a.globals.previousPaths[g]);for(var p=0;p<a.globals.previousPaths.length;p++)h=this.fullAngle*T.negToZero(a.globals.previousPaths[p])/f,this.prevSectorAngleArr.push(h)}if(this.donutSize<0&&(this.donutSize=0),this.chartType==="donut"){var m=s.drawCircle(this.donutSize);m.attr({cx:this.centerX,cy:this.centerY,fill:a.config.plotOptions.pie.donut.background?a.config.plotOptions.pie.donut.background:"transparent"}),c.add(m)}var v=this.drawArcs(l,e);if(this.sliceLabels.forEach((function(x){v.add(x)})),c.attr({transform:"translate(".concat(this.translateX,", ").concat(this.translateY,") scale(").concat(a.config.plotOptions.pie.customScale,")")}),c.add(v),r.add(c),this.donutDataLabels.show){var b=this.renderInnerDataLabels(this.dataLabelsGroup,this.donutDataLabels,{hollowSize:this.donutSize,centerX:this.centerX,centerY:this.centerY,opacity:this.donutDataLabels.show});r.add(b)}return a.config.grid.position==="front"&&this.chartType==="polarArea"&&this.drawPolarElements(r),r}},{key:"drawArcs",value:function(e,t){var a=this.w,s=new vt(this.ctx),r=new V(this.ctx),n=new gi(this.ctx),o=r.group({class:"apexcharts-slices"}),l=this.initialAngle,c=this.initialAngle,u=this.initialAngle,d=this.initialAngle;this.strokeWidth=a.config.stroke.show?a.config.stroke.width:0;for(var h=0;h<e.length;h++){var f=r.group({class:"apexcharts-series apexcharts-pie-series",seriesName:T.escapeString(a.globals.seriesNames[h]),rel:h+1,"data:realIndex":h});o.add(f),c=d,u=(l=u)+e[h],d=c+this.prevSectorAngleArr[h];var g=u<l?this.fullAngle+u-l:u-l,p=n.fillPath({seriesNumber:h,size:this.sliceSizes[h],value:t[h]}),m=this.getChangedPath(c,d),v=r.drawPath({d:m,stroke:Array.isArray(this.lineColorArr)?this.lineColorArr[h]:this.lineColorArr,strokeWidth:0,fill:p,fillOpacity:a.config.fill.opacity,classes:"apexcharts-pie-area apexcharts-".concat(this.chartType.toLowerCase(),"-slice-").concat(h)});if(v.attr({index:0,j:h}),s.setSelectionFilter(v,0,h),a.config.chart.dropShadow.enabled){var b=a.config.chart.dropShadow;s.dropShadow(v,b,h)}this.addListeners(v,this.donutDataLabels),V.setAttrs(v.node,{"data:angle":g,"data:startAngle":l,"data:strokeWidth":this.strokeWidth,"data:value":t[h]});var x={x:0,y:0};this.chartType==="pie"||this.chartType==="polarArea"?x=T.polarToCartesian(this.centerX,this.centerY,a.globals.radialSize/1.25+a.config.plotOptions.pie.dataLabels.offset,(l+g/2)%this.fullAngle):this.chartType==="donut"&&(x=T.polarToCartesian(this.centerX,this.centerY,(a.globals.radialSize+this.donutSize)/2+a.config.plotOptions.pie.dataLabels.offset,(l+g/2)%this.fullAngle)),f.add(v);var k=0;if(!this.initialAnim||a.globals.resized||a.globals.dataChanged?this.animBeginArr.push(0):((k=g/this.fullAngle*a.config.chart.animations.speed)===0&&(k=1),this.animDur=k+this.animDur,this.animBeginArr.push(this.animDur)),this.dynamicAnim&&a.globals.dataChanged?this.animatePaths(v,{size:this.sliceSizes[h],endAngle:u,startAngle:l,prevStartAngle:c,prevEndAngle:d,animateStartingPos:!0,i:h,animBeginArr:this.animBeginArr,shouldSetPrevPaths:!0,dur:a.config.chart.animations.dynamicAnimation.speed}):this.animatePaths(v,{size:this.sliceSizes[h],endAngle:u,startAngle:l,i:h,totalItems:e.length-1,animBeginArr:this.animBeginArr,dur:k}),a.config.plotOptions.pie.expandOnClick&&this.chartType!=="polarArea"&&v.node.addEventListener("mouseup",this.pieClicked.bind(this,h)),a.globals.selectedDataPoints[0]!==void 0&&a.globals.selectedDataPoints[0].indexOf(h)>-1&&this.pieClicked(h),a.config.dataLabels.enabled){var y=x.x,A=x.y,w=100*g/this.fullAngle+"%";if(g!==0&&a.config.plotOptions.pie.dataLabels.minAngleToShowLabel<e[h]){var S=a.config.dataLabels.formatter;S!==void 0&&(w=S(a.globals.seriesPercent[h][0],{seriesIndex:h,w:a}));var C=a.globals.dataLabels.style.colors[h],M=r.group({class:"apexcharts-datalabels"}),E=r.drawText({x:y,y:A,text:w,textAnchor:"middle",fontSize:a.config.dataLabels.style.fontSize,fontFamily:a.config.dataLabels.style.fontFamily,fontWeight:a.config.dataLabels.style.fontWeight,foreColor:C});if(M.add(E),a.config.dataLabels.dropShadow.enabled){var P=a.config.dataLabels.dropShadow;s.dropShadow(E,P)}E.node.classList.add("apexcharts-pie-label"),a.config.chart.animations.animate&&a.globals.resized===!1&&(E.node.classList.add("apexcharts-pie-label-delay"),E.node.style.animationDelay=a.config.chart.animations.speed/940+"s"),this.sliceLabels.push(M)}}}return o}},{key:"addListeners",value:function(e,t){var a=new V(this.ctx);e.node.addEventListener("mouseenter",a.pathMouseEnter.bind(this,e)),e.node.addEventListener("mouseleave",a.pathMouseLeave.bind(this,e)),e.node.addEventListener("mouseleave",this.revertDataLabelsInner.bind(this,e.node,t)),e.node.addEventListener("mousedown",a.pathMouseDown.bind(this,e)),this.donutDataLabels.total.showAlways||(e.node.addEventListener("mouseenter",this.printDataLabelsInner.bind(this,e.node,t)),e.node.addEventListener("mousedown",this.printDataLabelsInner.bind(this,e.node,t)))}},{key:"animatePaths",value:function(e,t){var a=this.w,s=t.endAngle<t.startAngle?this.fullAngle+t.endAngle-t.startAngle:t.endAngle-t.startAngle,r=s,n=t.startAngle,o=t.startAngle;t.prevStartAngle!==void 0&&t.prevEndAngle!==void 0&&(n=t.prevEndAngle,r=t.prevEndAngle<t.prevStartAngle?this.fullAngle+t.prevEndAngle-t.prevStartAngle:t.prevEndAngle-t.prevStartAngle),t.i===a.config.series.length-1&&(s+o>this.fullAngle?t.endAngle=t.endAngle-(s+o):s+o<this.fullAngle&&(t.endAngle=t.endAngle+(this.fullAngle-(s+o)))),s===this.fullAngle&&(s=this.fullAngle-.01),this.animateArc(e,n,o,s,r,t)}},{key:"animateArc",value:function(e,t,a,s,r,n){var o,l=this,c=this.w,u=new Ys(this.ctx),d=n.size;(isNaN(t)||isNaN(r))&&(t=a,r=s,n.dur=0);var h=s,f=a,g=t<a?this.fullAngle+t-a:t-a;c.globals.dataChanged&&n.shouldSetPrevPaths&&n.prevEndAngle&&(o=l.getPiePath({me:l,startAngle:n.prevStartAngle,angle:n.prevEndAngle<n.prevStartAngle?this.fullAngle+n.prevEndAngle-n.prevStartAngle:n.prevEndAngle-n.prevStartAngle,size:d}),e.attr({d:o})),n.dur!==0?e.animate(n.dur,n.animBeginArr[n.i]).after((function(){l.chartType!=="pie"&&l.chartType!=="donut"&&l.chartType!=="polarArea"||this.animate(c.config.chart.animations.dynamicAnimation.speed).attr({"stroke-width":l.strokeWidth}),n.i===c.config.series.length-1&&u.animationCompleted(e)})).during((function(p){h=g+(s-g)*p,n.animateStartingPos&&(h=r+(s-r)*p,f=t-r+(a-(t-r))*p),o=l.getPiePath({me:l,startAngle:f,angle:h,size:d}),e.node.setAttribute("data:pathOrig",o),e.attr({d:o})})):(o=l.getPiePath({me:l,startAngle:f,angle:s,size:d}),n.isTrack||(c.globals.animationEnded=!0),e.node.setAttribute("data:pathOrig",o),e.attr({d:o,"stroke-width":l.strokeWidth}))}},{key:"pieClicked",value:function(e){var t,a=this.w,s=this,r=s.sliceSizes[e]+(a.config.plotOptions.pie.expandOnClick?4:0),n=a.globals.dom.Paper.findOne(".apexcharts-".concat(s.chartType.toLowerCase(),"-slice-").concat(e));if(n.attr("data:pieClicked")!=="true"){var o=a.globals.dom.baseEl.getElementsByClassName("apexcharts-pie-area");Array.prototype.forEach.call(o,(function(d){d.setAttribute("data:pieClicked","false");var h=d.getAttribute("data:pathOrig");h&&d.setAttribute("d",h)})),a.globals.capturedDataPointIndex=e,n.attr("data:pieClicked","true");var l=parseInt(n.attr("data:startAngle"),10),c=parseInt(n.attr("data:angle"),10);t=s.getPiePath({me:s,startAngle:l,angle:c,size:r}),c!==360&&n.plot(t)}else{n.attr({"data:pieClicked":"false"}),this.revertDataLabelsInner(n.node,this.donutDataLabels);var u=n.attr("data:pathOrig");n.attr({d:u})}}},{key:"getChangedPath",value:function(e,t){var a="";return this.dynamicAnim&&this.w.globals.dataChanged&&(a=this.getPiePath({me:this,startAngle:e,angle:t-e,size:this.size})),a}},{key:"getPiePath",value:function(e){var t,a=e.me,s=e.startAngle,r=e.angle,n=e.size,o=new V(this.ctx),l=s,c=Math.PI*(l-90)/180,u=r+s;Math.ceil(u)>=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle&&(u=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle-.01),Math.ceil(u)>this.fullAngle&&(u-=this.fullAngle);var d=Math.PI*(u-90)/180,h=a.centerX+n*Math.cos(c),f=a.centerY+n*Math.sin(c),g=a.centerX+n*Math.cos(d),p=a.centerY+n*Math.sin(d),m=T.polarToCartesian(a.centerX,a.centerY,a.donutSize,u),v=T.polarToCartesian(a.centerX,a.centerY,a.donutSize,l),b=r>180?1:0,x=["M",h,f,"A",n,n,0,b,1,g,p];return t=a.chartType==="donut"?[].concat(x,["L",m.x,m.y,"A",a.donutSize,a.donutSize,0,b,0,v.x,v.y,"L",h,f,"z"]).join(" "):a.chartType==="pie"||a.chartType==="polarArea"?[].concat(x,["L",a.centerX,a.centerY,"L",h,f]).join(" "):[].concat(x).join(" "),o.roundPathCorners(t,2*this.strokeWidth)}},{key:"drawPolarElements",value:function(e){var t=this.w,a=new Ex(this.ctx),s=new V(this.ctx),r=new Lx(this.ctx),n=s.group(),o=s.group(),l=a.niceScale(0,Math.ceil(this.maxY),0),c=l.result.reverse(),u=l.result.length;this.maxY=l.niceMax;for(var d=t.globals.radialSize,h=d/(u-1),f=0;f<u-1;f++){var g=s.drawCircle(d);if(g.attr({cx:this.centerX,cy:this.centerY,fill:"none","stroke-width":t.config.plotOptions.polarArea.rings.strokeWidth,stroke:t.config.plotOptions.polarArea.rings.strokeColor}),t.config.yaxis[0].show){var p=r.drawYAxisTexts(this.centerX,this.centerY-d+parseInt(t.config.yaxis[0].labels.style.fontSize,10)/2,f,c[f]);o.add(p)}n.add(g),d-=h}this.drawSpokes(e),e.add(n),e.add(o)}},{key:"renderInnerDataLabels",value:function(e,t,a){var s=this.w,r=new V(this.ctx),n=t.total.show;e.node.innerHTML="",e.node.style.opacity=a.opacity;var o,l,c=a.centerX,u=this.donutDataLabels.total.label?a.centerY:a.centerY-a.centerY/6;o=t.name.color===void 0?s.globals.colors[0]:t.name.color;var d=t.name.fontSize,h=t.name.fontFamily,f=t.name.fontWeight;l=t.value.color===void 0?s.config.chart.foreColor:t.value.color;var g=t.value.formatter,p="",m="";if(n?(o=t.total.color,d=t.total.fontSize,h=t.total.fontFamily,f=t.total.fontWeight,m=this.donutDataLabels.total.label?t.total.label:"",p=t.total.formatter(s)):s.globals.series.length===1&&(p=g(s.globals.series[0],s),m=s.globals.seriesNames[0]),m&&(m=t.name.formatter(m,t.total.show,s)),t.name.show){var v=r.drawText({x:c,y:u+parseFloat(t.name.offsetY),text:m,textAnchor:"middle",foreColor:o,fontSize:d,fontWeight:f,fontFamily:h});v.node.classList.add("apexcharts-datalabel-label"),e.add(v)}if(t.value.show){var b=t.name.show?parseFloat(t.value.offsetY)+16:t.value.offsetY,x=r.drawText({x:c,y:u+b,text:p,textAnchor:"middle",foreColor:l,fontWeight:t.value.fontWeight,fontSize:t.value.fontSize,fontFamily:t.value.fontFamily});x.node.classList.add("apexcharts-datalabel-value"),e.add(x)}return e}},{key:"printInnerLabels",value:function(e,t,a,s){var r,n=this.w;s?r=e.name.color===void 0?n.globals.colors[parseInt(s.parentNode.getAttribute("rel"),10)-1]:e.name.color:n.globals.series.length>1&&e.total.show&&(r=e.total.color);var o=n.globals.dom.baseEl.querySelector(".apexcharts-datalabel-label"),l=n.globals.dom.baseEl.querySelector(".apexcharts-datalabel-value");a=(0,e.value.formatter)(a,n),s||typeof e.total.formatter!="function"||(a=e.total.formatter(n));var c=t===e.total.label;t=this.donutDataLabels.total.label?e.name.formatter(t,c,n):"",o!==null&&(o.textContent=t),l!==null&&(l.textContent=a),o!==null&&(o.style.fill=r)}},{key:"printDataLabelsInner",value:function(e,t){var a=this.w,s=e.getAttribute("data:value"),r=a.globals.seriesNames[parseInt(e.parentNode.getAttribute("rel"),10)-1];a.globals.series.length>1&&this.printInnerLabels(t,r,s,e);var n=a.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group");n!==null&&(n.style.opacity=1)}},{key:"drawSpokes",value:function(e){var t=this,a=this.w,s=new V(this.ctx),r=a.config.plotOptions.polarArea.spokes;if(r.strokeWidth!==0){for(var n=[],o=360/a.globals.series.length,l=0;l<a.globals.series.length;l++)n.push(T.polarToCartesian(this.centerX,this.centerY,a.globals.radialSize,a.config.plotOptions.pie.startAngle+o*l));n.forEach((function(c,u){var d=s.drawLine(c.x,c.y,t.centerX,t.centerY,Array.isArray(r.connectorColors)?r.connectorColors[u]:r.connectorColors);e.add(d)}))}}},{key:"revertDataLabelsInner",value:function(){var e=this.w;if(this.donutDataLabels.show){var t=e.globals.dom.Paper.findOne(".apexcharts-datalabels-group"),a=this.renderInnerDataLabels(t,this.donutDataLabels,{hollowSize:this.donutSize,centerX:this.centerX,centerY:this.centerY,opacity:this.donutDataLabels.show});e.globals.dom.Paper.findOne(".apexcharts-radialbar, .apexcharts-pie").add(a)}}}]),i})(),uI=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animDur=0;var t=this.w;this.graphics=new V(this.ctx),this.lineColorArr=t.globals.stroke.colors!==void 0?t.globals.stroke.colors:t.globals.colors,this.defaultSize=t.globals.svgHeight<t.globals.svgWidth?t.globals.gridHeight:t.globals.gridWidth,this.isLog=t.config.yaxis[0].logarithmic,this.logBase=t.config.yaxis[0].logBase,this.coreUtils=new nt(this.ctx),this.maxValue=this.isLog?this.coreUtils.getLogVal(this.logBase,t.globals.maxY,0):t.globals.maxY,this.minValue=this.isLog?this.coreUtils.getLogVal(this.logBase,this.w.globals.minY,0):t.globals.minY,this.polygons=t.config.plotOptions.radar.polygons,this.strokeWidth=t.config.stroke.show?t.config.stroke.width:0,this.size=this.defaultSize/2.1-this.strokeWidth-t.config.chart.dropShadow.blur,t.config.xaxis.labels.show&&(this.size=this.size-t.globals.xAxisLabelsWidth/1.75),t.config.plotOptions.radar.size!==void 0&&(this.size=t.config.plotOptions.radar.size),this.dataRadiusOfPercent=[],this.dataRadius=[],this.angleArr=[],this.yaxisLabelsTextsPos=[]}return te(i,[{key:"draw",value:function(e){var t=this,a=this.w,s=new gi(this.ctx),r=[],n=new Rs(this.ctx);e.length&&(this.dataPointsLen=e[a.globals.maxValsInArrayIndex].length),this.disAngle=2*Math.PI/this.dataPointsLen;var o=a.globals.gridWidth/2,l=a.globals.gridHeight/2,c=o+a.config.plotOptions.radar.offsetX,u=l+a.config.plotOptions.radar.offsetY,d=this.graphics.group({class:"apexcharts-radar-series apexcharts-plot-series",transform:"translate(".concat(c||0,", ").concat(u||0,")")}),h=[],f=null,g=null;if(this.yaxisLabels=this.graphics.group({class:"apexcharts-yaxis"}),e.forEach((function(m,v){var b=m.length===a.globals.dataPoints,x=t.graphics.group().attr({class:"apexcharts-series","data:longestSeries":b,seriesName:T.escapeString(a.globals.seriesNames[v]),rel:v+1,"data:realIndex":v});t.dataRadiusOfPercent[v]=[],t.dataRadius[v]=[],t.angleArr[v]=[],m.forEach((function(D,L){var B=Math.abs(t.maxValue-t.minValue);D-=t.minValue,t.isLog&&(D=t.coreUtils.getLogVal(t.logBase,D,0)),t.dataRadiusOfPercent[v][L]=D/B,t.dataRadius[v][L]=t.dataRadiusOfPercent[v][L]*t.size,t.angleArr[v][L]=L*t.disAngle})),h=t.getDataPointsPos(t.dataRadius[v],t.angleArr[v]);var k=t.createPaths(h,{x:0,y:0});f=t.graphics.group({class:"apexcharts-series-markers-wrap apexcharts-element-hidden"}),g=t.graphics.group({class:"apexcharts-datalabels","data:realIndex":v}),a.globals.delayedElements.push({el:f.node,index:v});var y={i:v,realIndex:v,animationDelay:v,initialSpeed:a.config.chart.animations.speed,dataChangeSpeed:a.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-radar",shouldClipToGrid:!1,bindEventsOnPaths:!1,stroke:a.globals.stroke.colors[v],strokeLineCap:a.config.stroke.lineCap},A=null;a.globals.previousPaths.length>0&&(A=t.getPreviousPath(v));for(var w=0;w<k.linePathsTo.length;w++){var S=t.graphics.renderPaths($($({},y),{},{pathFrom:A===null?k.linePathsFrom[w]:A,pathTo:k.linePathsTo[w],strokeWidth:Array.isArray(t.strokeWidth)?t.strokeWidth[v]:t.strokeWidth,fill:"none",drawShadow:!1}));x.add(S);var C=s.fillPath({seriesNumber:v}),M=t.graphics.renderPaths($($({},y),{},{pathFrom:A===null?k.areaPathsFrom[w]:A,pathTo:k.areaPathsTo[w],strokeWidth:0,fill:C,drawShadow:!1}));if(a.config.chart.dropShadow.enabled){var E=new vt(t.ctx),P=a.config.chart.dropShadow;E.dropShadow(M,Object.assign({},P,{noUserSpaceOnUse:!0}),v)}x.add(M)}m.forEach((function(D,L){var B=new qs(t.ctx).getMarkerConfig({cssClass:"apexcharts-marker",seriesIndex:v,dataPointIndex:L}),N=t.graphics.drawMarker(h[L].x,h[L].y,B);N.attr("rel",L),N.attr("j",L),N.attr("index",v),N.node.setAttribute("default-marker-size",B.pSize);var F=t.graphics.group({class:"apexcharts-series-markers"});F&&F.add(N),f.add(F),x.add(f);var H=a.config.dataLabels;if(H.enabled){var ie=H.formatter(a.globals.series[v][L],{seriesIndex:v,dataPointIndex:L,w:a});n.plotDataLabelsText({x:h[L].x,y:h[L].y,text:ie,textAnchor:"middle",i:v,j:v,parent:g,offsetCorrection:!1,dataLabelsConfig:$({},H)})}x.add(g)})),r.push(x)})),this.drawPolygons({parent:d}),a.config.xaxis.labels.show){var p=this.drawXAxisTexts();d.add(p)}return r.forEach((function(m){d.add(m)})),d.add(this.yaxisLabels),d}},{key:"drawPolygons",value:function(e){for(var t=this,a=this.w,s=e.parent,r=new Lx(this.ctx),n=a.globals.yAxisScale[0].result.reverse(),o=n.length,l=[],c=this.size/(o-1),u=0;u<o;u++)l[u]=c*u;l.reverse();var d=[],h=[];l.forEach((function(f,g){var p=T.getPolygonPos(f,t.dataPointsLen),m="";p.forEach((function(v,b){if(g===0){var x=t.graphics.drawLine(v.x,v.y,0,0,Array.isArray(t.polygons.connectorColors)?t.polygons.connectorColors[b]:t.polygons.connectorColors);h.push(x)}b===0&&t.yaxisLabelsTextsPos.push({x:v.x,y:v.y}),m+=v.x+","+v.y+" "})),d.push(m)})),d.forEach((function(f,g){var p=t.polygons.strokeColors,m=t.polygons.strokeWidth,v=t.graphics.drawPolygon(f,Array.isArray(p)?p[g]:p,Array.isArray(m)?m[g]:m,a.globals.radarPolygons.fill.colors[g]);s.add(v)})),h.forEach((function(f){s.add(f)})),a.config.yaxis[0].show&&this.yaxisLabelsTextsPos.forEach((function(f,g){var p=r.drawYAxisTexts(f.x,f.y,g,n[g]);t.yaxisLabels.add(p)}))}},{key:"drawXAxisTexts",value:function(){var e=this,t=this.w,a=t.config.xaxis.labels,s=this.graphics.group({class:"apexcharts-xaxis"}),r=T.getPolygonPos(this.size,this.dataPointsLen);return t.globals.labels.forEach((function(n,o){var l=t.config.xaxis.labels.formatter,c=new Rs(e.ctx);if(r[o]){var u=e.getTextPos(r[o],e.size),d=l(n,{seriesIndex:-1,dataPointIndex:o,w:t});c.plotDataLabelsText({x:u.newX,y:u.newY,text:d,textAnchor:u.textAnchor,i:o,j:o,parent:s,className:"apexcharts-xaxis-label",color:Array.isArray(a.style.colors)&&a.style.colors[o]?a.style.colors[o]:"#a8a8a8",dataLabelsConfig:$({textAnchor:u.textAnchor,dropShadow:{enabled:!1}},a),offsetCorrection:!1}).on("click",(function(h){if(typeof t.config.chart.events.xAxisLabelClick=="function"){var f=Object.assign({},t,{labelIndex:o});t.config.chart.events.xAxisLabelClick(h,e.ctx,f)}}))}})),s}},{key:"createPaths",value:function(e,t){var a=this,s=[],r=[],n=[],o=[];if(e.length){r=[this.graphics.move(t.x,t.y)],o=[this.graphics.move(t.x,t.y)];var l=this.graphics.move(e[0].x,e[0].y),c=this.graphics.move(e[0].x,e[0].y);e.forEach((function(u,d){l+=a.graphics.line(u.x,u.y),c+=a.graphics.line(u.x,u.y),d===e.length-1&&(l+="Z",c+="Z")})),s.push(l),n.push(c)}return{linePathsFrom:r,linePathsTo:s,areaPathsFrom:o,areaPathsTo:n}}},{key:"getTextPos",value:function(e,t){var a="middle",s=e.x,r=e.y;return Math.abs(e.x)>=10?e.x>0?(a="start",s+=10):e.x<0&&(a="end",s-=10):a="middle",Math.abs(e.y)>=t-10&&(e.y<0?r-=10:e.y>0&&(r+=10)),{textAnchor:a,newX:s,newY:r}}},{key:"getPreviousPath",value:function(e){for(var t=this.w,a=null,s=0;s<t.globals.previousPaths.length;s++){var r=t.globals.previousPaths[s];r.paths.length>0&&parseInt(r.realIndex,10)===parseInt(e,10)&&t.globals.previousPaths[s].paths[0]!==void 0&&(a=t.globals.previousPaths[s].paths[0].d)}return a}},{key:"getDataPointsPos",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.dataPointsLen;e=e||[],t=t||[];for(var s=[],r=0;r<a;r++){var n={};n.x=e[r]*Math.sin(t[r]),n.y=-e[r]*Math.cos(t[r]),s.push(n)}return s}}]),i})(),dI=(function(i){nn(t,Rx);var e=rn(t);function t(a){var s;ee(this,t),(s=e.call(this,a)).ctx=a,s.w=a.w,s.animBeginArr=[0],s.animDur=0;var r=s.w;return s.startAngle=r.config.plotOptions.radialBar.startAngle,s.endAngle=r.config.plotOptions.radialBar.endAngle,s.totalAngle=Math.abs(r.config.plotOptions.radialBar.endAngle-r.config.plotOptions.radialBar.startAngle),s.trackStartAngle=r.config.plotOptions.radialBar.track.startAngle,s.trackEndAngle=r.config.plotOptions.radialBar.track.endAngle,s.barLabels=s.w.config.plotOptions.radialBar.barLabels,s.donutDataLabels=s.w.config.plotOptions.radialBar.dataLabels,s.radialDataLabels=s.donutDataLabels,s.trackStartAngle||(s.trackStartAngle=s.startAngle),s.trackEndAngle||(s.trackEndAngle=s.endAngle),s.endAngle===360&&(s.endAngle=359.99),s.margin=parseInt(r.config.plotOptions.radialBar.track.margin,10),s.onBarLabelClick=s.onBarLabelClick.bind(Xb(s)),s}return te(t,[{key:"draw",value:function(a){var s=this.w,r=new V(this.ctx),n=r.group({class:"apexcharts-radialbar"});if(s.globals.noData)return n;var o=r.group(),l=this.defaultSize/2,c=s.globals.gridWidth/2,u=this.defaultSize/2.05;s.config.chart.sparkline.enabled||(u=u-s.config.stroke.width-s.config.chart.dropShadow.blur);var d=s.globals.fill.colors;if(s.config.plotOptions.radialBar.track.show){var h=this.drawTracks({size:u,centerX:c,centerY:l,colorArr:d,series:a});o.add(h)}var f=this.drawArcs({size:u,centerX:c,centerY:l,colorArr:d,series:a}),g=360;s.config.plotOptions.radialBar.startAngle<0&&(g=this.totalAngle);var p=(360-g)/360;if(s.globals.radialSize=u-u*p,this.radialDataLabels.value.show){var m=Math.max(this.radialDataLabels.value.offsetY,this.radialDataLabels.name.offsetY);s.globals.radialSize+=m*p}return o.add(f.g),s.config.plotOptions.radialBar.hollow.position==="front"&&(f.g.add(f.elHollow),f.dataLabels&&f.g.add(f.dataLabels)),n.add(o),n}},{key:"drawTracks",value:function(a){var s=this.w,r=new V(this.ctx),n=r.group({class:"apexcharts-tracks"}),o=new vt(this.ctx),l=new gi(this.ctx),c=this.getStrokeWidth(a);a.size=a.size-c/2;for(var u=0;u<a.series.length;u++){var d=r.group({class:"apexcharts-radialbar-track apexcharts-track"});n.add(d),d.attr({rel:u+1}),a.size=a.size-c-this.margin;var h=s.config.plotOptions.radialBar.track,f=l.fillPath({seriesNumber:0,size:a.size,fillColors:Array.isArray(h.background)?h.background[u]:h.background,solid:!0}),g=this.trackStartAngle,p=this.trackEndAngle;Math.abs(p)+Math.abs(g)>=360&&(p=360-Math.abs(this.startAngle)-.1);var m=r.drawPath({d:"",stroke:f,strokeWidth:c*parseInt(h.strokeWidth,10)/100,fill:"none",strokeOpacity:h.opacity,classes:"apexcharts-radialbar-area"});if(h.dropShadow.enabled){var v=h.dropShadow;o.dropShadow(m,v)}d.add(m),m.attr("id","apexcharts-radialbarTrack-"+u),this.animatePaths(m,{centerX:a.centerX,centerY:a.centerY,endAngle:p,startAngle:g,size:a.size,i:u,totalItems:2,animBeginArr:0,dur:0,isTrack:!0})}return n}},{key:"drawArcs",value:function(a){var s=this.w,r=new V(this.ctx),n=new gi(this.ctx),o=new vt(this.ctx),l=r.group(),c=this.getStrokeWidth(a);a.size=a.size-c/2;var u=s.config.plotOptions.radialBar.hollow.background,d=a.size-c*a.series.length-this.margin*a.series.length-c*parseInt(s.config.plotOptions.radialBar.track.strokeWidth,10)/100/2,h=d-s.config.plotOptions.radialBar.hollow.margin;s.config.plotOptions.radialBar.hollow.image!==void 0&&(u=this.drawHollowImage(a,l,d,u));var f=this.drawHollow({size:h,centerX:a.centerX,centerY:a.centerY,fill:u||"transparent"});if(s.config.plotOptions.radialBar.hollow.dropShadow.enabled){var g=s.config.plotOptions.radialBar.hollow.dropShadow;o.dropShadow(f,g)}var p=1;!this.radialDataLabels.total.show&&s.globals.series.length>1&&(p=0);var m=null;if(this.radialDataLabels.show){var v=s.globals.dom.Paper.findOne(".apexcharts-datalabels-group");m=this.renderInnerDataLabels(v,this.radialDataLabels,{hollowSize:d,centerX:a.centerX,centerY:a.centerY,opacity:p})}s.config.plotOptions.radialBar.hollow.position==="back"&&(l.add(f),m&&l.add(m));var b=!1;s.config.plotOptions.radialBar.inverseOrder&&(b=!0);for(var x=b?a.series.length-1:0;b?x>=0:x<a.series.length;b?x--:x++){var k=r.group({class:"apexcharts-series apexcharts-radial-series",seriesName:T.escapeString(s.globals.seriesNames[x])});l.add(k),k.attr({rel:x+1,"data:realIndex":x}),this.ctx.series.addCollapsedClassToSeries(k,x),a.size=a.size-c-this.margin;var y=n.fillPath({seriesNumber:x,size:a.size,value:a.series[x]}),A=this.startAngle,w=void 0,S=T.negToZero(a.series[x]>100?100:a.series[x])/100,C=Math.round(this.totalAngle*S)+this.startAngle,M=void 0;s.globals.dataChanged&&(w=this.startAngle,M=Math.round(this.totalAngle*T.negToZero(s.globals.previousPaths[x])/100)+w),Math.abs(C)+Math.abs(A)>360&&(C-=.01),Math.abs(M)+Math.abs(w)>360&&(M-=.01);var E=C-A,P=Array.isArray(s.config.stroke.dashArray)?s.config.stroke.dashArray[x]:s.config.stroke.dashArray,D=r.drawPath({d:"",stroke:y,strokeWidth:c,fill:"none",fillOpacity:s.config.fill.opacity,classes:"apexcharts-radialbar-area apexcharts-radialbar-slice-"+x,strokeDashArray:P});if(V.setAttrs(D.node,{"data:angle":E,"data:value":a.series[x]}),s.config.chart.dropShadow.enabled){var L=s.config.chart.dropShadow;o.dropShadow(D,L,x)}if(o.setSelectionFilter(D,0,x),this.addListeners(D,this.radialDataLabels),k.add(D),D.attr({index:0,j:x}),this.barLabels.enabled){var B=T.polarToCartesian(a.centerX,a.centerY,a.size,A),N=this.barLabels.formatter(s.globals.seriesNames[x],{seriesIndex:x,w:s}),F=["apexcharts-radialbar-label"];this.barLabels.onClick||F.push("apexcharts-no-click");var H=this.barLabels.useSeriesColors?s.globals.colors[x]:s.config.chart.foreColor;H||(H=s.config.chart.foreColor);var ie=B.x+this.barLabels.offsetX,re=B.y+this.barLabels.offsetY,ae=r.drawText({x:ie,y:re,text:N,textAnchor:"end",dominantBaseline:"middle",fontFamily:this.barLabels.fontFamily,fontWeight:this.barLabels.fontWeight,fontSize:this.barLabels.fontSize,foreColor:H,cssClass:F.join(" ")});ae.on("click",this.onBarLabelClick),ae.attr({rel:x+1}),A!==0&&ae.attr({"transform-origin":"".concat(ie," ").concat(re),transform:"rotate(".concat(A," 0 0)")}),k.add(ae)}var le=0;!this.initialAnim||s.globals.resized||s.globals.dataChanged||(le=s.config.chart.animations.speed),s.globals.dataChanged&&(le=s.config.chart.animations.dynamicAnimation.speed),this.animDur=le/(1.2*a.series.length)+this.animDur,this.animBeginArr.push(this.animDur),this.animatePaths(D,{centerX:a.centerX,centerY:a.centerY,endAngle:C,startAngle:A,prevEndAngle:M,prevStartAngle:w,size:a.size,i:x,totalItems:2,animBeginArr:this.animBeginArr,dur:le,shouldSetPrevPaths:!0})}return{g:l,elHollow:f,dataLabels:m}}},{key:"drawHollow",value:function(a){var s=new V(this.ctx).drawCircle(2*a.size);return s.attr({class:"apexcharts-radialbar-hollow",cx:a.centerX,cy:a.centerY,r:a.size,fill:a.fill}),s}},{key:"drawHollowImage",value:function(a,s,r,n){var o=this.w,l=new gi(this.ctx),c=T.randomId(),u=o.config.plotOptions.radialBar.hollow.image;if(o.config.plotOptions.radialBar.hollow.imageClipped)l.clippedImgArea({width:r,height:r,image:u,patternID:"pattern".concat(o.globals.cuid).concat(c)}),n="url(#pattern".concat(o.globals.cuid).concat(c,")");else{var d=o.config.plotOptions.radialBar.hollow.imageWidth,h=o.config.plotOptions.radialBar.hollow.imageHeight;if(d===void 0&&h===void 0){var f=o.globals.dom.Paper.image(u,(function(p){this.move(a.centerX-p.width/2+o.config.plotOptions.radialBar.hollow.imageOffsetX,a.centerY-p.height/2+o.config.plotOptions.radialBar.hollow.imageOffsetY)}));s.add(f)}else{var g=o.globals.dom.Paper.image(u,(function(p){this.move(a.centerX-d/2+o.config.plotOptions.radialBar.hollow.imageOffsetX,a.centerY-h/2+o.config.plotOptions.radialBar.hollow.imageOffsetY),this.size(d,h)}));s.add(g)}}return n}},{key:"getStrokeWidth",value:function(a){var s=this.w;return a.size*(100-parseInt(s.config.plotOptions.radialBar.hollow.size,10))/100/(a.series.length+1)-this.margin}},{key:"onBarLabelClick",value:function(a){var s=parseInt(a.target.getAttribute("rel"),10)-1,r=this.barLabels.onClick,n=this.w;r&&r(n.globals.seriesNames[s],{w:n,seriesIndex:s})}}]),t})(),hI=(function(i){nn(t,Ns);var e=rn(t);function t(){return ee(this,t),e.apply(this,arguments)}return te(t,[{key:"draw",value:function(a,s){var r=this.w,n=new V(this.ctx);this.rangeBarOptions=this.w.config.plotOptions.rangeBar,this.series=a,this.seriesRangeStart=r.globals.seriesRangeStart,this.seriesRangeEnd=r.globals.seriesRangeEnd,this.barHelpers.initVariables(a);for(var o=n.group({class:"apexcharts-rangebar-series apexcharts-plot-series"}),l=0;l<a.length;l++){var c,u,d,h,f=void 0,g=void 0,p=r.globals.comboCharts?s[l]:l,m=this.barHelpers.getGroupIndex(p).columnGroupIndex,v=n.group({class:"apexcharts-series",seriesName:T.escapeString(r.globals.seriesNames[p]),rel:l+1,"data:realIndex":p});this.ctx.series.addCollapsedClassToSeries(v,p),a[l].length>0&&(this.visibleI=this.visibleI+1);var b=0,x=0,k=0;this.yRatio.length>1&&(this.yaxisIndex=r.globals.seriesYAxisReverseMap[p][0],k=p);var y=this.barHelpers.initialPositions(p);g=y.y,h=y.zeroW,f=y.x,x=y.barWidth,b=y.barHeight,c=y.xDivision,u=y.yDivision,d=y.zeroH;for(var A=n.group({class:"apexcharts-datalabels","data:realIndex":p}),w=n.group({class:"apexcharts-rangebar-goals-markers"}),S=0;S<r.globals.dataPoints;S++){var C=this.barHelpers.getStrokeWidth(l,S,p),M=this.seriesRangeStart[l][S],E=this.seriesRangeEnd[l][S],P=null,D=null,L=null,B={x:f,y:g,strokeWidth:C,elSeries:v},N=this.seriesLen;if(r.config.plotOptions.bar.rangeBarGroupRows&&(N=1),r.config.series[l].data[S]===void 0)break;if(this.isHorizontal){L=g+b*this.visibleI;var F=(u-b*N)/2;if(r.config.series[l].data[S].x){var H=this.detectOverlappingBars({i:l,j:S,barYPosition:L,srty:F,barHeight:b,yDivision:u,initPositions:y});b=H.barHeight,L=H.barYPosition}x=(P=this.drawRangeBarPaths($({indexes:{i:l,j:S,realIndex:p},barHeight:b,barYPosition:L,zeroW:h,yDivision:u,y1:M,y2:E},B))).barWidth}else{r.globals.isXNumeric&&(f=(r.globals.seriesX[l][S]-r.globals.minX)/this.xRatio-x/2),D=f+x*this.visibleI;var ie=(c-x*N)/2;if(r.config.series[l].data[S].x){var re=this.detectOverlappingBars({i:l,j:S,barXPosition:D,srtx:ie,barWidth:x,xDivision:c,initPositions:y});x=re.barWidth,D=re.barXPosition}b=(P=this.drawRangeColumnPaths($({indexes:{i:l,j:S,realIndex:p,translationsIndex:k},barWidth:x,barXPosition:D,zeroH:d,xDivision:c},B))).barHeight}var ae=this.barHelpers.drawGoalLine({barXPosition:P.barXPosition,barYPosition:L,goalX:P.goalX,goalY:P.goalY,barHeight:b,barWidth:x});ae&&w.add(ae),g=P.y,f=P.x;var le=this.barHelpers.getPathFillColor(a,l,S,p);this.renderSeries({realIndex:p,pathFill:le.color,lineFill:le.useRangeColor?le.color:r.globals.stroke.colors[p],j:S,i:l,x:f,y:g,y1:M,y2:E,pathFrom:P.pathFrom,pathTo:P.pathTo,strokeWidth:C,elSeries:v,series:a,barHeight:b,barWidth:x,barXPosition:D,barYPosition:L,columnGroupIndex:m,elDataLabelsWrap:A,elGoalsMarkers:w,visibleSeries:this.visibleI,type:"rangebar"})}o.add(v)}return o}},{key:"detectOverlappingBars",value:function(a){var s=a.i,r=a.j,n=a.barYPosition,o=a.barXPosition,l=a.srty,c=a.srtx,u=a.barHeight,d=a.barWidth,h=a.yDivision,f=a.xDivision,g=a.initPositions,p=this.w,m=[],v=p.config.series[s].data[r].rangeName,b=p.config.series[s].data[r].x,x=Array.isArray(b)?b.join(" "):b,k=p.globals.labels.map((function(A){return Array.isArray(A)?A.join(" "):A})).indexOf(x),y=p.globals.seriesRange[s].findIndex((function(A){return A.x===x&&A.overlaps.length>0}));return this.isHorizontal?(n=p.config.plotOptions.bar.rangeBarGroupRows?l+h*k:l+u*this.visibleI+h*k,y>-1&&!p.config.plotOptions.bar.rangeBarOverlap&&(m=p.globals.seriesRange[s][y].overlaps).indexOf(v)>-1&&(n=(u=g.barHeight/m.length)*this.visibleI+h*(100-parseInt(this.barOptions.barHeight,10))/100/2+u*(this.visibleI+m.indexOf(v))+h*k)):(k>-1&&!p.globals.timescaleLabels.length&&(o=p.config.plotOptions.bar.rangeBarGroupRows?c+f*k:c+d*this.visibleI+f*k),y>-1&&!p.config.plotOptions.bar.rangeBarOverlap&&(m=p.globals.seriesRange[s][y].overlaps).indexOf(v)>-1&&(o=(d=g.barWidth/m.length)*this.visibleI+f*(100-parseInt(this.barOptions.barWidth,10))/100/2+d*(this.visibleI+m.indexOf(v))+f*k)),{barYPosition:n,barXPosition:o,barHeight:u,barWidth:d}}},{key:"drawRangeColumnPaths",value:function(a){var s=a.indexes,r=a.x,n=a.xDivision,o=a.barWidth,l=a.barXPosition,c=a.zeroH,u=this.w,d=s.i,h=s.j,f=s.realIndex,g=s.translationsIndex,p=this.yRatio[g],m=this.getRangeValue(f,h),v=Math.min(m.start,m.end),b=Math.max(m.start,m.end);this.series[d][h]===void 0||this.series[d][h]===null?v=c:(v=c-v/p,b=c-b/p);var x=Math.abs(b-v),k=this.barHelpers.getColumnPaths({barXPosition:l,barWidth:o,y1:v,y2:b,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,realIndex:f,i:f,j:h,w:u});if(u.globals.isXNumeric){var y=this.getBarXForNumericXAxis({x:r,j:h,realIndex:f,barWidth:o});r=y.x,l=y.barXPosition}else r+=n;return{pathTo:k.pathTo,pathFrom:k.pathFrom,barHeight:x,x:r,y:m.start<0&&m.end<0?v:b,goalY:this.barHelpers.getGoalValues("y",null,c,d,h,g),barXPosition:l}}},{key:"preventBarOverflow",value:function(a){var s=this.w;return a<0&&(a=0),a>s.globals.gridWidth&&(a=s.globals.gridWidth),a}},{key:"drawRangeBarPaths",value:function(a){var s=a.indexes,r=a.y,n=a.y1,o=a.y2,l=a.yDivision,c=a.barHeight,u=a.barYPosition,d=a.zeroW,h=this.w,f=s.realIndex,g=s.j,p=this.preventBarOverflow(d+n/this.invertedYRatio),m=this.preventBarOverflow(d+o/this.invertedYRatio),v=this.getRangeValue(f,g),b=Math.abs(m-p),x=this.barHelpers.getBarpaths({barYPosition:u,barHeight:c,x1:p,x2:m,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,i:f,realIndex:f,j:g,w:h});return h.globals.isXNumeric||(r+=l),{pathTo:x.pathTo,pathFrom:x.pathFrom,barWidth:b,x:v.start<0&&v.end<0?p:m,goalX:this.barHelpers.getGoalValues("x",d,null,f,g),y:r}}},{key:"getRangeValue",value:function(a,s){var r=this.w;return{start:r.globals.seriesRangeStart[a][s],end:r.globals.seriesRangeEnd[a][s]}}}]),t})(),fI=(function(){function i(e){ee(this,i),this.w=e.w,this.lineCtx=e}return te(i,[{key:"sameValueSeriesFix",value:function(e,t){var a=this.w;if((a.config.fill.type==="gradient"||a.config.fill.type[e]==="gradient")&&new nt(this.lineCtx.ctx,a).seriesHaveSameValues(e)){var s=t[e].slice();s[s.length-1]=s[s.length-1]+1e-6,t[e]=s}return t}},{key:"calculatePoints",value:function(e){var t=e.series,a=e.realIndex,s=e.x,r=e.y,n=e.i,o=e.j,l=e.prevY,c=this.w,u=[],d=[],h=this.lineCtx.categoryAxisCorrection+c.config.markers.offsetX;return c.globals.isXNumeric&&(h=(c.globals.seriesX[a][0]-c.globals.minX)/this.lineCtx.xRatio+c.config.markers.offsetX),o===0&&(u.push(h),d.push(T.isNumber(t[n][0])?l+c.config.markers.offsetY:null)),u.push(s+c.config.markers.offsetX),d.push(T.isNumber(t[n][o+1])?r+c.config.markers.offsetY:null),{x:u,y:d}}},{key:"checkPreviousPaths",value:function(e){for(var t=e.pathFromLine,a=e.pathFromArea,s=e.realIndex,r=this.w,n=0;n<r.globals.previousPaths.length;n++){var o=r.globals.previousPaths[n];(o.type==="line"||o.type==="area")&&o.paths.length>0&&parseInt(o.realIndex,10)===parseInt(s,10)&&(o.type==="line"?(this.lineCtx.appendPathFrom=!1,t=r.globals.previousPaths[n].paths[0].d):o.type==="area"&&(this.lineCtx.appendPathFrom=!1,a=r.globals.previousPaths[n].paths[0].d,r.config.stroke.show&&r.globals.previousPaths[n].paths[1]&&(t=r.globals.previousPaths[n].paths[1].d)))}return{pathFromLine:t,pathFromArea:a}}},{key:"determineFirstPrevY",value:function(e){var t,a,s,r=e.i,n=e.realIndex,o=e.series,l=e.prevY,c=e.lineYPosition,u=e.translationsIndex,d=this.w,h=d.config.chart.stacked&&!d.globals.comboCharts||d.config.chart.stacked&&d.globals.comboCharts&&(!this.w.config.chart.stackOnlyBar||((t=this.w.config.series[n])===null||t===void 0?void 0:t.type)==="bar"||((a=this.w.config.series[n])===null||a===void 0?void 0:a.type)==="column");if(((s=o[r])===null||s===void 0?void 0:s[0])!==void 0)l=(c=h&&r>0?this.lineCtx.prevSeriesY[r-1][0]:this.lineCtx.zeroY)-o[r][0]/this.lineCtx.yRatio[u]+2*(this.lineCtx.isReversed?o[r][0]/this.lineCtx.yRatio[u]:0);else if(h&&r>0&&o[r][0]===void 0){for(var f=r-1;f>=0;f--)if(o[f][0]!==null&&o[f][0]!==void 0){l=c=this.lineCtx.prevSeriesY[f][0];break}}return{prevY:l,lineYPosition:c}}}]),i})(),gI=function(i){for(var e,t,a,s,r=(function(u){for(var d=[],h=u[0],f=u[1],g=d[0]=tc(h,f),p=1,m=u.length-1;p<m;p++)h=f,f=u[p+1],d[p]=.5*(g+(g=tc(h,f)));return d[p]=g,d})(i),n=i.length-1,o=[],l=0;l<n;l++)a=tc(i[l],i[l+1]),Math.abs(a)<1e-6?r[l]=r[l+1]=0:(s=(e=r[l]/a)*e+(t=r[l+1]/a)*t)>9&&(s=3*a/Math.sqrt(s),r[l]=s*e,r[l+1]=s*t);for(var c=0;c<=n;c++)s=(i[Math.min(n,c+1)][0]-i[Math.max(0,c-1)][0])/(6*(1+r[c]*r[c])),o.push([s||0,r[c]*s||0]);return o},pI=function(i){var e=gI(i),t=i[1],a=i[0],s=[],r=e[1],n=e[0];s.push(a,[a[0]+n[0],a[1]+n[1],t[0]-r[0],t[1]-r[1],t[0],t[1]]);for(var o=2,l=e.length;o<l;o++){var c=i[o],u=e[o];s.push([c[0]-u[0],c[1]-u[1],c[0],c[1]])}return s},mI=function(i,e,t){var a=i.slice(e,t);if(e){if(t-e>1&&a[1].length<6){var s=a[0].length;a[1]=[2*a[0][s-2]-a[0][s-4],2*a[0][s-1]-a[0][s-3]].concat(a[1])}a[0]=a[0].slice(-2)}return a};function tc(i,e){return(e[1]-i[1])/(e[0]-i[0])}var ic=(function(){function i(e,t,a){ee(this,i),this.ctx=e,this.w=e.w,this.xyRatios=t,this.pointsChart=!(this.w.config.chart.type!=="bubble"&&this.w.config.chart.type!=="scatter")||a,this.scatter=new Sx(this.ctx),this.noNegatives=this.w.globals.minX===Number.MAX_VALUE,this.lineHelpers=new fI(this),this.markers=new qs(this.ctx),this.prevSeriesY=[],this.categoryAxisCorrection=0,this.yaxisIndex=0}return te(i,[{key:"draw",value:function(e,t,a,s){var r,n=this.w,o=new V(this.ctx),l=n.globals.comboCharts?t:n.config.chart.type,c=o.group({class:"apexcharts-".concat(l,"-series apexcharts-plot-series")}),u=new nt(this.ctx,n);this.yRatio=this.xyRatios.yRatio,this.zRatio=this.xyRatios.zRatio,this.xRatio=this.xyRatios.xRatio,this.baseLineY=this.xyRatios.baseLineY,e=u.getLogSeries(e),this.yRatio=u.getLogYRatios(this.yRatio),this.prevSeriesY=[];for(var d=[],h=0;h<e.length;h++){e=this.lineHelpers.sameValueSeriesFix(h,e);var f=n.globals.comboCharts?a[h]:h,g=this.yRatio.length>1?f:0;this._initSerieVariables(e,h,f);var p=[],m=[],v=[],b=n.globals.padHorizontal+this.categoryAxisCorrection;this.ctx.series.addCollapsedClassToSeries(this.elSeries,f),n.globals.isXNumeric&&n.globals.seriesX.length>0&&(b=(n.globals.seriesX[f][0]-n.globals.minX)/this.xRatio),v.push(b);var x,k=b,y=void 0,A=k,w=this.zeroY,S=this.zeroY;w=this.lineHelpers.determineFirstPrevY({i:h,realIndex:f,series:e,prevY:w,lineYPosition:0,translationsIndex:g}).prevY,n.config.stroke.curve==="monotoneCubic"&&e[h][0]===null?p.push(null):p.push(w),x=w,l==="rangeArea"&&(y=S=this.lineHelpers.determineFirstPrevY({i:h,realIndex:f,series:s,prevY:S,lineYPosition:0,translationsIndex:g}).prevY,m.push(p[0]!==null?S:null));var C=this._calculatePathsFrom({type:l,series:e,i:h,realIndex:f,translationsIndex:g,prevX:A,prevY:w,prevY2:S}),M=[p[0]],E=[m[0]],P={type:l,series:e,realIndex:f,translationsIndex:g,i:h,x:b,y:1,pX:k,pY:x,pathsFrom:C,linePaths:[],areaPaths:[],seriesIndex:a,lineYPosition:0,xArrj:v,yArrj:p,y2Arrj:m,seriesRangeEnd:s},D=this._iterateOverDataPoints($($({},P),{},{iterations:l==="rangeArea"?e[h].length-1:void 0,isRangeStart:!0}));if(l==="rangeArea"){for(var L=this._calculatePathsFrom({series:s,i:h,realIndex:f,prevX:A,prevY:S}),B=this._iterateOverDataPoints($($({},P),{},{series:s,xArrj:[b],yArrj:M,y2Arrj:E,pY:y,areaPaths:D.areaPaths,pathsFrom:L,iterations:s[h].length-1,isRangeStart:!1})),N=D.linePaths.length/2,F=0;F<N;F++)D.linePaths[F]=B.linePaths[F+N]+D.linePaths[F];D.linePaths.splice(N),D.pathFromLine=B.pathFromLine+D.pathFromLine}else D.pathFromArea+="z";this._handlePaths({type:l,realIndex:f,i:h,paths:D}),this.elSeries.add(this.elPointsMain),this.elSeries.add(this.elDataLabelsWrap),d.push(this.elSeries)}if(((r=n.config.series[0])===null||r===void 0?void 0:r.zIndex)!==void 0&&d.sort((function(re,ae){return Number(re.node.getAttribute("zIndex"))-Number(ae.node.getAttribute("zIndex"))})),n.config.chart.stacked)for(var H=d.length-1;H>=0;H--)c.add(d[H]);else for(var ie=0;ie<d.length;ie++)c.add(d[ie]);return c}},{key:"_initSerieVariables",value:function(e,t,a){var s=this.w,r=new V(this.ctx);this.xDivision=s.globals.gridWidth/(s.globals.dataPoints-(s.config.xaxis.tickPlacement==="on"?1:0)),this.strokeWidth=Array.isArray(s.config.stroke.width)?s.config.stroke.width[a]:s.config.stroke.width;var n=0;if(this.yRatio.length>1&&(this.yaxisIndex=s.globals.seriesYAxisReverseMap[a],n=a),this.isReversed=s.config.yaxis[this.yaxisIndex]&&s.config.yaxis[this.yaxisIndex].reversed,this.zeroY=s.globals.gridHeight-this.baseLineY[n]-(this.isReversed?s.globals.gridHeight:0)+(this.isReversed?2*this.baseLineY[n]:0),this.areaBottomY=this.zeroY,(this.zeroY>s.globals.gridHeight||s.config.plotOptions.area.fillTo==="end")&&(this.areaBottomY=s.globals.gridHeight),this.categoryAxisCorrection=this.xDivision/2,this.elSeries=r.group({class:"apexcharts-series",zIndex:s.config.series[a].zIndex!==void 0?s.config.series[a].zIndex:a,seriesName:T.escapeString(s.globals.seriesNames[a])}),this.elPointsMain=r.group({class:"apexcharts-series-markers-wrap","data:realIndex":a}),s.globals.hasNullValues){var o=this.markers.plotChartMarkers({pointsPos:{x:[0],y:[s.globals.gridHeight+s.globals.markers.largestSize]},seriesIndex:t,j:0,pSize:.1,alwaysDrawMarker:!0,isVirtualPoint:!0});o!==null&&this.elPointsMain.add(o)}this.elDataLabelsWrap=r.group({class:"apexcharts-datalabels","data:realIndex":a});var l=e[t].length===s.globals.dataPoints;this.elSeries.attr({"data:longestSeries":l,rel:t+1,"data:realIndex":a}),this.appendPathFrom=!0}},{key:"_calculatePathsFrom",value:function(e){var t,a,s,r,n=e.type,o=e.series,l=e.i,c=e.realIndex,u=e.translationsIndex,d=e.prevX,h=e.prevY,f=e.prevY2,g=this.w,p=new V(this.ctx);if(o[l][0]===null){for(var m=0;m<o[l].length;m++)if(o[l][m]!==null){d=this.xDivision*m,h=this.zeroY-o[l][m]/this.yRatio[u],t=p.move(d,h),a=p.move(d,this.areaBottomY);break}}else t=p.move(d,h),n==="rangeArea"&&(t=p.move(d,f)+p.line(d,h)),a=p.move(d,this.areaBottomY)+p.line(d,h);if(s=p.move(0,this.areaBottomY)+p.line(0,this.areaBottomY),r=p.move(0,this.areaBottomY)+p.line(0,this.areaBottomY),g.globals.previousPaths.length>0){var v=this.lineHelpers.checkPreviousPaths({pathFromLine:s,pathFromArea:r,realIndex:c});s=v.pathFromLine,r=v.pathFromArea}return{prevX:d,prevY:h,linePath:t,areaPath:a,pathFromLine:s,pathFromArea:r}}},{key:"_handlePaths",value:function(e){var t=e.type,a=e.realIndex,s=e.i,r=e.paths,n=this.w,o=new V(this.ctx),l=new gi(this.ctx);this.prevSeriesY.push(r.yArrj),n.globals.seriesXvalues[a]=r.xArrj,n.globals.seriesYvalues[a]=r.yArrj;var c=n.config.forecastDataPoints;if(c.count>0&&t!=="rangeArea"){var u=n.globals.seriesXvalues[a][n.globals.seriesXvalues[a].length-c.count-1],d=o.drawRect(u,0,n.globals.gridWidth,n.globals.gridHeight,0);n.globals.dom.elForecastMask.appendChild(d.node);var h=o.drawRect(0,0,u,n.globals.gridHeight,0);n.globals.dom.elNonForecastMask.appendChild(h.node)}this.pointsChart||n.globals.delayedElements.push({el:this.elPointsMain.node,index:a});var f={i:s,realIndex:a,animationDelay:s,initialSpeed:n.config.chart.animations.speed,dataChangeSpeed:n.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(t)};if(t==="area")for(var g=l.fillPath({seriesNumber:a}),p=0;p<r.areaPaths.length;p++){var m=o.renderPaths($($({},f),{},{pathFrom:r.pathFromArea,pathTo:r.areaPaths[p],stroke:"none",strokeWidth:0,strokeLineCap:null,fill:g}));this.elSeries.add(m)}if(n.config.stroke.show&&!this.pointsChart){var v=null;if(t==="line")v=l.fillPath({seriesNumber:a,i:s});else if(n.config.stroke.fill.type==="solid")v=n.globals.stroke.colors[a];else{var b=n.config.fill;n.config.fill=n.config.stroke.fill,v=l.fillPath({seriesNumber:a,i:s}),n.config.fill=b}for(var x=0;x<r.linePaths.length;x++){var k=v;t==="rangeArea"&&(k=l.fillPath({seriesNumber:a}));var y=$($({},f),{},{pathFrom:r.pathFromLine,pathTo:r.linePaths[x],stroke:v,strokeWidth:this.strokeWidth,strokeLineCap:n.config.stroke.lineCap,fill:t==="rangeArea"?k:"none"}),A=o.renderPaths(y);if(this.elSeries.add(A),A.attr("fill-rule","evenodd"),c.count>0&&t!=="rangeArea"){var w=o.renderPaths(y);w.node.setAttribute("stroke-dasharray",c.dashArray),c.strokeWidth&&w.node.setAttribute("stroke-width",c.strokeWidth),this.elSeries.add(w),w.attr("clip-path","url(#forecastMask".concat(n.globals.cuid,")")),A.attr("clip-path","url(#nonForecastMask".concat(n.globals.cuid,")"))}}}}},{key:"_iterateOverDataPoints",value:function(e){var t,a,s=this,r=e.type,n=e.series,o=e.iterations,l=e.realIndex,c=e.translationsIndex,u=e.i,d=e.x,h=e.y,f=e.pX,g=e.pY,p=e.pathsFrom,m=e.linePaths,v=e.areaPaths,b=e.seriesIndex,x=e.lineYPosition,k=e.xArrj,y=e.yArrj,A=e.y2Arrj,w=e.isRangeStart,S=e.seriesRangeEnd,C=this.w,M=new V(this.ctx),E=this.yRatio,P=p.prevY,D=p.linePath,L=p.areaPath,B=p.pathFromLine,N=p.pathFromArea,F=T.isNumber(C.globals.minYArr[l])?C.globals.minYArr[l]:C.globals.minY;o||(o=C.globals.dataPoints>1?C.globals.dataPoints-1:C.globals.dataPoints);var H=function(G,J){return J-G/E[c]+2*(s.isReversed?G/E[c]:0)},ie=h,re=C.config.chart.stacked&&!C.globals.comboCharts||C.config.chart.stacked&&C.globals.comboCharts&&(!this.w.config.chart.stackOnlyBar||((t=this.w.config.series[l])===null||t===void 0?void 0:t.type)==="bar"||((a=this.w.config.series[l])===null||a===void 0?void 0:a.type)==="column"),ae=C.config.stroke.curve;Array.isArray(ae)&&(ae=Array.isArray(b)?ae[b[u]]:ae[u]);for(var le,Me=0,pe=0;pe<o&&n[u].length!==0;pe++){var Re=n[u][pe+1]===void 0||n[u][pe+1]===null;if(C.globals.isXNumeric){var ve=C.globals.seriesX[l][pe+1];C.globals.seriesX[l][pe+1]===void 0&&(ve=C.globals.seriesX[l][o-1]),d=(ve-C.globals.minX)/this.xRatio}else d+=this.xDivision;re?u>0&&C.globals.collapsedSeries.length<C.config.series.length-1?x=this.prevSeriesY[(function(G){for(var J=G;J>0;J--){if(!(C.globals.collapsedSeriesIndices.indexOf((b==null?void 0:b[J])||J)>-1))return J;J--}return 0})(u-1)][pe+1]:x=this.zeroY:x=this.zeroY,Re?h=H(F,x):(h=H(n[u][pe+1],x),r==="rangeArea"&&(ie=H(S[u][pe+1],x))),k.push(n[u][pe+1]===null?null:d),!Re||C.config.stroke.curve!=="smooth"&&C.config.stroke.curve!=="monotoneCubic"?(y.push(h),A.push(ie)):(y.push(null),A.push(null));var O=this.lineHelpers.calculatePoints({series:n,x:d,y:h,realIndex:l,i:u,j:pe,prevY:P}),X=this._createPaths({type:r,series:n,i:u,realIndex:l,j:pe,x:d,y:h,y2:ie,xArrj:k,yArrj:y,y2Arrj:A,pX:f,pY:g,pathState:Me,segmentStartX:le,linePath:D,areaPath:L,linePaths:m,areaPaths:v,curve:ae,isRangeStart:w});v=X.areaPaths,m=X.linePaths,f=X.pX,g=X.pY,Me=X.pathState,le=X.segmentStartX,L=X.areaPath,D=X.linePath,!this.appendPathFrom||C.globals.hasNullValues||ae==="monotoneCubic"&&r==="rangeArea"||(B+=M.line(d,this.areaBottomY),N+=M.line(d,this.areaBottomY)),this.handleNullDataPoints(n,O,u,pe,l),this._handleMarkersAndLabels({type:r,pointsPos:O,i:u,j:pe,realIndex:l,isRangeStart:w})}return{yArrj:y,xArrj:k,pathFromArea:N,areaPaths:v,pathFromLine:B,linePaths:m,linePath:D,areaPath:L}}},{key:"_handleMarkersAndLabels",value:function(e){var t=e.type,a=e.pointsPos,s=e.isRangeStart,r=e.i,n=e.j,o=e.realIndex,l=this.w,c=new Rs(this.ctx);if(this.pointsChart)this.scatter.draw(this.elSeries,n,{realIndex:o,pointsPos:a,zRatio:this.zRatio,elParent:this.elPointsMain});else{l.globals.series[r].length>1&&this.elPointsMain.node.classList.add("apexcharts-element-hidden");var u=this.markers.plotChartMarkers({pointsPos:a,seriesIndex:o,j:n+1});u!==null&&this.elPointsMain.add(u)}var d=c.drawDataLabel({type:t,isRangeStart:s,pos:a,i:o,j:n+1});d!==null&&this.elDataLabelsWrap.add(d)}},{key:"_createPaths",value:function(e){var t=e.type,a=e.series,s=e.i;e.realIndex;var r,n=e.j,o=e.x,l=e.y,c=e.xArrj,u=e.yArrj,d=e.y2,h=e.y2Arrj,f=e.pX,g=e.pY,p=e.pathState,m=e.segmentStartX,v=e.linePath,b=e.areaPath,x=e.linePaths,k=e.areaPaths,y=e.curve,A=e.isRangeStart,w=new V(this.ctx),S=this.areaBottomY,C=t==="rangeArea",M=t==="rangeArea"&&A;switch(y){case"monotoneCubic":var E=A?u:h;switch(p){case 0:if(E[n+1]===null)break;p=1;case 1:if(!(C?c.length===a[s].length:n===a[s].length-2))break;case 2:var P=A?c:c.slice().reverse(),D=A?E:E.slice().reverse(),L=(r=D,P.map((function(ve,O){return[ve,r[O]]})).filter((function(ve){return ve[1]!==null}))),B=L.length>1?pI(L):L,N=[];C&&(M?k=L:N=k.reverse());var F=0,H=0;if((function(ve,O){for(var X=(function(_){var I=[],R=0;return _.forEach((function(W){W!==null?R++:R>0&&(I.push(R),R=0)})),R>0&&I.push(R),I})(ve),G=[],J=0,ge=0;J<X.length;ge+=X[J++])G[J]=mI(O,ge,ge+X[J]);return G})(D,B).forEach((function(ve){F++;var O=(function(J){for(var ge="",_=0;_<J.length;_++){var I=J[_],R=I.length;R>4?(ge+="C".concat(I[0],", ").concat(I[1]),ge+=", ".concat(I[2],", ").concat(I[3]),ge+=", ".concat(I[4],", ").concat(I[5])):R>2&&(ge+="S".concat(I[0],", ").concat(I[1]),ge+=", ".concat(I[2],", ").concat(I[3]))}return ge})(ve),X=H,G=(H+=ve.length)-1;M?v=w.move(L[X][0],L[X][1])+O:C?v=w.move(N[X][0],N[X][1])+w.line(L[X][0],L[X][1])+O+w.line(N[G][0],N[G][1]):(v=w.move(L[X][0],L[X][1])+O,b=v+w.line(L[G][0],S)+w.line(L[X][0],S)+"z",k.push(b)),x.push(v)})),C&&F>1&&!M){var ie=x.slice(F).reverse();x.splice(F),ie.forEach((function(ve){return x.push(ve)}))}p=0}break;case"smooth":var re=.35*(o-f);if(a[s][n]===null)p=0;else switch(p){case 0:if(m=f,v=M?w.move(f,h[n])+w.line(f,g):w.move(f,g),b=w.move(f,g),a[s][n+1]===null||a[s][n+1]===void 0){x.push(v),k.push(b);break}if(p=1,n<a[s].length-2){var ae=w.curve(f+re,g,o-re,l,o,l);v+=ae,b+=ae;break}case 1:if(a[s][n+1]===null)v+=M?w.line(f,d):w.move(f,g),b+=w.line(f,S)+w.line(m,S)+"z",x.push(v),k.push(b),p=-1;else{var le=w.curve(f+re,g,o-re,l,o,l);v+=le,b+=le,n>=a[s].length-2&&(M&&(v+=w.curve(o,l,o,l,o,d)+w.move(o,d)),b+=w.curve(o,l,o,l,o,S)+w.line(m,S)+"z",x.push(v),k.push(b),p=-1)}}f=o,g=l;break;default:var Me=function(ve,O,X){var G=[];switch(ve){case"stepline":G=w.line(O,null,"H")+w.line(null,X,"V");break;case"linestep":G=w.line(null,X,"V")+w.line(O,null,"H");break;case"straight":G=w.line(O,X)}return G};if(a[s][n]===null)p=0;else switch(p){case 0:if(m=f,v=M?w.move(f,h[n])+w.line(f,g):w.move(f,g),b=w.move(f,g),a[s][n+1]===null||a[s][n+1]===void 0){x.push(v),k.push(b);break}if(p=1,n<a[s].length-2){var pe=Me(y,o,l);v+=pe,b+=pe;break}case 1:if(a[s][n+1]===null)v+=M?w.line(f,d):w.move(f,g),b+=w.line(f,S)+w.line(m,S)+"z",x.push(v),k.push(b),p=-1;else{var Re=Me(y,o,l);v+=Re,b+=Re,n>=a[s].length-2&&(M&&(v+=w.line(o,d)),b+=w.line(o,S)+w.line(m,S)+"z",x.push(v),k.push(b),p=-1)}}f=o,g=l}return{linePaths:x,areaPaths:k,pX:f,pY:g,pathState:p,segmentStartX:m,linePath:v,areaPath:b}}},{key:"handleNullDataPoints",value:function(e,t,a,s,r){var n=this.w;if(e[a][s]===null&&n.config.markers.showNullDataPoints||e[a].length===1){var o=this.strokeWidth-n.config.markers.strokeWidth/2;o>0||(o=0);var l=this.markers.plotChartMarkers({pointsPos:t,seriesIndex:r,j:s+1,pSize:o,alwaysDrawMarker:!0});l!==null&&this.elPointsMain.add(l)}}}]),i})();window.TreemapSquared={},window.TreemapSquared.generate=(function(){function i(o,l,c,u){this.xoffset=o,this.yoffset=l,this.height=u,this.width=c,this.shortestEdge=function(){return Math.min(this.height,this.width)},this.getCoordinates=function(d){var h,f=[],g=this.xoffset,p=this.yoffset,m=r(d)/this.height,v=r(d)/this.width;if(this.width>=this.height)for(h=0;h<d.length;h++)f.push([g,p,g+m,p+d[h]/m]),p+=d[h]/m;else for(h=0;h<d.length;h++)f.push([g,p,g+d[h]/v,p+v]),g+=d[h]/v;return f},this.cutArea=function(d){var h;if(this.width>=this.height){var f=d/this.height,g=this.width-f;h=new i(this.xoffset+f,this.yoffset,g,this.height)}else{var p=d/this.width,m=this.height-p;h=new i(this.xoffset,this.yoffset+p,this.width,m)}return h}}function e(o,l,c,u,d){u=u===void 0?0:u,d=d===void 0?0:d;var h=t((function(f,g){var p,m=[],v=g/r(f);for(p=0;p<f.length;p++)m[p]=f[p]*v;return m})(o,l*c),[],new i(u,d,l,c),[]);return(function(f){var g,p,m=[];for(g=0;g<f.length;g++)for(p=0;p<f[g].length;p++)m.push(f[g][p]);return m})(h)}function t(o,l,c,u){var d,h,f;if(o.length!==0)return d=c.shortestEdge(),(function(g,p,m){var v;if(g.length===0)return!0;(v=g.slice()).push(p);var b=a(g,m),x=a(v,m);return b>=x})(l,h=o[0],d)?(l.push(h),t(o.slice(1),l,c,u)):(f=c.cutArea(r(l),u),u.push(c.getCoordinates(l)),t(o,[],f,u)),u;u.push(c.getCoordinates(l))}function a(o,l){var c=Math.min.apply(Math,o),u=Math.max.apply(Math,o),d=r(o);return Math.max(Math.pow(l,2)*u/Math.pow(d,2),Math.pow(d,2)/(Math.pow(l,2)*c))}function s(o){return o&&o.constructor===Array}function r(o){var l,c=0;for(l=0;l<o.length;l++)c+=o[l];return c}function n(o){var l,c=0;if(s(o[0]))for(l=0;l<o.length;l++)c+=n(o[l]);else c=r(o);return c}return function o(l,c,u,d,h){d=d===void 0?0:d,h=h===void 0?0:h;var f,g,p=[],m=[];if(s(l[0])){for(g=0;g<l.length;g++)p[g]=n(l[g]);for(f=e(p,c,u,d,h),g=0;g<l.length;g++)m.push(o(l[g],f[g][2]-f[g][0],f[g][3]-f[g][1],f[g][0],f[g][1]))}else m=e(l,c,u,d,h);return m}})();var vI=(function(){function i(e,t){ee(this,i),this.ctx=e,this.w=e.w,this.strokeWidth=this.w.config.stroke.width,this.helpers=new Dx(e),this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.labels=[]}return te(i,[{key:"draw",value:function(e){var t=this,a=this.w,s=new V(this.ctx),r=new gi(this.ctx),n=s.group({class:"apexcharts-treemap"});if(a.globals.noData)return n;var o=[];return e.forEach((function(l){var c=l.map((function(u){return Math.abs(u)}));o.push(c)})),this.negRange=this.helpers.checkColorRange(),a.config.series.forEach((function(l,c){l.data.forEach((function(u){Array.isArray(t.labels[c])||(t.labels[c]=[]),t.labels[c].push(u.x)}))})),window.TreemapSquared.generate(o,a.globals.gridWidth,a.globals.gridHeight).forEach((function(l,c){var u=s.group({class:"apexcharts-series apexcharts-treemap-series",seriesName:T.escapeString(a.globals.seriesNames[c]),rel:c+1,"data:realIndex":c});if(a.config.chart.dropShadow.enabled){var d=a.config.chart.dropShadow;new vt(t.ctx).dropShadow(n,d,c)}var h=s.group({class:"apexcharts-data-labels"}),f={xMin:1/0,yMin:1/0,xMax:-1/0,yMax:-1/0};l.forEach((function(B,N){var F=B[0],H=B[1],ie=B[2],re=B[3];f.xMin=Math.min(f.xMin,F),f.yMin=Math.min(f.yMin,H),f.xMax=Math.max(f.xMax,ie),f.yMax=Math.max(f.yMax,re);var ae=t.helpers.getShadeColor(a.config.chart.type,c,N,t.negRange),le=ae.color,Me=r.fillPath({color:le,seriesNumber:c,dataPointIndex:N}),pe=s.drawRect(F,H,ie-F,re-H,a.config.plotOptions.treemap.borderRadius,"#fff",1,t.strokeWidth,a.config.plotOptions.treemap.useFillColorAsStroke?le:a.globals.stroke.colors[c]);pe.attr({cx:F,cy:H,index:c,i:c,j:N,width:ie-F,height:re-H,fill:Me}),pe.node.classList.add("apexcharts-treemap-rect"),t.helpers.addListeners(pe);var Re={x:F+(ie-F)/2,y:H+(re-H)/2,width:0,height:0},ve={x:F,y:H,width:ie-F,height:re-H};if(a.config.chart.animations.enabled&&!a.globals.dataChanged){var O=1;a.globals.resized||(O=a.config.chart.animations.speed),t.animateTreemap(pe,Re,ve,O)}if(a.globals.dataChanged){var X=1;t.dynamicAnim.enabled&&a.globals.shouldAnimate&&(X=t.dynamicAnim.speed,a.globals.previousPaths[c]&&a.globals.previousPaths[c][N]&&a.globals.previousPaths[c][N].rect&&(Re=a.globals.previousPaths[c][N].rect),t.animateTreemap(pe,Re,ve,X))}var G=t.getFontSize(B),J=a.config.dataLabels.formatter(t.labels[c][N],{value:a.globals.series[c][N],seriesIndex:c,dataPointIndex:N,w:a});a.config.plotOptions.treemap.dataLabels.format==="truncate"&&(G=parseInt(a.config.dataLabels.style.fontSize,10),J=t.truncateLabels(J,G,F,H,ie,re));var ge=null;a.globals.series[c][N]&&(ge=t.helpers.calculateDataLabels({text:J,x:(F+ie)/2,y:(H+re)/2+t.strokeWidth/2+G/3,i:c,j:N,colorProps:ae,fontSize:G,series:e})),a.config.dataLabels.enabled&&ge&&t.rotateToFitLabel(ge,G,J,F,H,ie,re),u.add(pe),ge!==null&&u.add(ge)}));var g=a.config.plotOptions.treemap.seriesTitle;if(a.config.series.length>1&&g&&g.show){var p=a.config.series[c].name||"";if(p&&f.xMin<1/0&&f.yMin<1/0){var m=g.offsetX,v=g.offsetY,b=g.borderColor,x=g.borderWidth,k=g.borderRadius,y=g.style,A=y.color||a.config.chart.foreColor,w={left:y.padding.left,right:y.padding.right,top:y.padding.top,bottom:y.padding.bottom},S=s.getTextRects(p,y.fontSize,y.fontFamily),C=S.width+w.left+w.right,M=S.height+w.top+w.bottom,E=f.xMin+(m||0),P=f.yMin+(v||0),D=s.drawRect(E,P,C,M,k,y.background,1,x,b),L=s.drawText({x:E+w.left,y:P+w.top+.75*S.height,text:p,fontSize:y.fontSize,fontFamily:y.fontFamily,fontWeight:y.fontWeight,foreColor:A,cssClass:y.cssClass||""});u.add(D),u.add(L)}}u.add(h),n.add(u)})),n}},{key:"getFontSize",value:function(e){var t=this.w,a=(function s(r){var n,o=0;if(Array.isArray(r[0]))for(n=0;n<r.length;n++)o+=s(r[n]);else for(n=0;n<r.length;n++)o+=r[n].length;return o})(this.labels)/(function s(r){var n,o=0;if(Array.isArray(r[0]))for(n=0;n<r.length;n++)o+=s(r[n]);else for(n=0;n<r.length;n++)o+=1;return o})(this.labels);return(function(s,r){var n=s*r,o=Math.pow(n,.5);return Math.min(o/a,parseInt(t.config.dataLabels.style.fontSize,10))})(e[2]-e[0],e[3]-e[1])}},{key:"rotateToFitLabel",value:function(e,t,a,s,r,n,o){var l=new V(this.ctx),c=l.getTextRects(a,t);if(c.width+this.w.config.stroke.width+5>n-s&&c.width<=o-r){var u=l.rotateAroundCenter(e.node);e.node.setAttribute("transform","rotate(-90 ".concat(u.x," ").concat(u.y,") translate(").concat(c.height/3,")"))}}},{key:"truncateLabels",value:function(e,t,a,s,r,n){var o=new V(this.ctx),l=o.getTextRects(e,t).width+this.w.config.stroke.width+5>r-a&&n-s>r-a?n-s:r-a,c=o.getTextBasedOnMaxWidth({text:e,maxWidth:l,fontSize:t});return e.length!==c.length&&l/t<5?"":c}},{key:"animateTreemap",value:function(e,t,a,s){var r=new Ys(this.ctx);r.animateRect(e,t,a,s,(function(){r.animationCompleted(e)}))}}]),i})(),Nx=86400,bI=10/Nx,xI=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w,this.timeScaleArray=[],this.utc=this.w.config.xaxis.labels.datetimeUTC}return te(i,[{key:"calculateTimeScaleTicks",value:function(e,t){var a=this,s=this.w;if(s.globals.allSeriesCollapsed)return s.globals.labels=[],s.globals.timescaleLabels=[],[];var r=new pt(this.ctx),n=(t-e)/864e5;this.determineInterval(n),s.globals.disableZoomIn=!1,s.globals.disableZoomOut=!1,n<bI?s.globals.disableZoomIn=!0:n>5e4&&(s.globals.disableZoomOut=!0);var o=r.getTimeUnitsfromTimestamp(e,t,this.utc),l=s.globals.gridWidth/n,c=l/24,u=c/60,d=u/60,h=Math.floor(24*n),f=Math.floor(1440*n),g=Math.floor(n*Nx),p=Math.floor(n),m=Math.floor(n/30),v=Math.floor(n/365),b={minMillisecond:o.minMillisecond,minSecond:o.minSecond,minMinute:o.minMinute,minHour:o.minHour,minDate:o.minDate,minMonth:o.minMonth,minYear:o.minYear},x={firstVal:b,currentMillisecond:b.minMillisecond,currentSecond:b.minSecond,currentMinute:b.minMinute,currentHour:b.minHour,currentMonthDate:b.minDate,currentDate:b.minDate,currentMonth:b.minMonth,currentYear:b.minYear,daysWidthOnXAxis:l,hoursWidthOnXAxis:c,minutesWidthOnXAxis:u,secondsWidthOnXAxis:d,numberOfSeconds:g,numberOfMinutes:f,numberOfHours:h,numberOfDays:p,numberOfMonths:m,numberOfYears:v};switch(this.tickInterval){case"years":this.generateYearScale(x);break;case"months":case"half_year":this.generateMonthScale(x);break;case"months_days":case"months_fortnight":case"days":case"week_days":this.generateDayScale(x);break;case"hours":this.generateHourScale(x);break;case"minutes_fives":case"minutes":this.generateMinuteScale(x);break;case"seconds_tens":case"seconds_fives":case"seconds":this.generateSecondScale(x)}var k=this.timeScaleArray.map((function(y){var A={position:y.position,unit:y.unit,year:y.year,day:y.day?y.day:1,hour:y.hour?y.hour:0,month:y.month+1};return y.unit==="month"?$($({},A),{},{day:1,value:y.value+1}):y.unit==="day"||y.unit==="hour"?$($({},A),{},{value:y.value}):y.unit==="minute"?$($({},A),{},{value:y.value,minute:y.value}):y.unit==="second"?$($({},A),{},{value:y.value,minute:y.minute,second:y.second}):y}));return k.filter((function(y){var A=1,w=Math.ceil(s.globals.gridWidth/120),S=y.value;s.config.xaxis.tickAmount!==void 0&&(w=s.config.xaxis.tickAmount),k.length>w&&(A=Math.floor(k.length/w));var C=!1,M=!1;switch(a.tickInterval){case"years":y.unit==="year"&&(C=!0);break;case"half_year":A=7,y.unit==="year"&&(C=!0);break;case"months":A=1,y.unit==="year"&&(C=!0);break;case"months_fortnight":A=15,y.unit!=="year"&&y.unit!=="month"||(C=!0),S===30&&(M=!0);break;case"months_days":A=10,y.unit==="month"&&(C=!0),S===30&&(M=!0);break;case"week_days":A=8,y.unit==="month"&&(C=!0);break;case"days":A=1,y.unit==="month"&&(C=!0);break;case"hours":y.unit==="day"&&(C=!0);break;case"minutes_fives":case"seconds_fives":S%5!=0&&(M=!0);break;case"seconds_tens":S%10!=0&&(M=!0)}if(a.tickInterval==="hours"||a.tickInterval==="minutes_fives"||a.tickInterval==="seconds_tens"||a.tickInterval==="seconds_fives"){if(!M)return!0}else if((S%A==0||C)&&!M)return!0}))}},{key:"recalcDimensionsBasedOnFormat",value:function(e,t){var a=this.w,s=this.formatDates(e),r=this.removeOverlappingTS(s);a.globals.timescaleLabels=r.slice(),new yo(this.ctx).plotCoords()}},{key:"determineInterval",value:function(e){var t=24*e,a=60*t;switch(!0){case e/365>5:this.tickInterval="years";break;case e>800:this.tickInterval="half_year";break;case e>180:this.tickInterval="months";break;case e>90:this.tickInterval="months_fortnight";break;case e>60:this.tickInterval="months_days";break;case e>30:this.tickInterval="week_days";break;case e>2:this.tickInterval="days";break;case t>2.4:this.tickInterval="hours";break;case a>15:this.tickInterval="minutes_fives";break;case a>5:this.tickInterval="minutes";break;case a>1:this.tickInterval="seconds_tens";break;case 60*a>20:this.tickInterval="seconds_fives";break;default:this.tickInterval="seconds"}}},{key:"generateYearScale",value:function(e){var t=e.firstVal,a=e.currentMonth,s=e.currentYear,r=e.daysWidthOnXAxis,n=e.numberOfYears,o=t.minYear,l=0,c=new pt(this.ctx),u="year";if(t.minDate>1||t.minMonth>0){var d=c.determineRemainingDaysOfYear(t.minYear,t.minMonth,t.minDate);l=(c.determineDaysOfYear(t.minYear)-d+1)*r,o=t.minYear+1,this.timeScaleArray.push({position:l,value:o,unit:u,year:o,month:T.monthMod(a+1)})}else t.minDate===1&&t.minMonth===0&&this.timeScaleArray.push({position:l,value:o,unit:u,year:s,month:T.monthMod(a+1)});for(var h=o,f=l,g=0;g<n;g++)h++,f=c.determineDaysOfYear(h-1)*r+f,this.timeScaleArray.push({position:f,value:h,unit:u,year:h,month:1})}},{key:"generateMonthScale",value:function(e){var t=e.firstVal,a=e.currentMonthDate,s=e.currentMonth,r=e.currentYear,n=e.daysWidthOnXAxis,o=e.numberOfMonths,l=s,c=0,u=new pt(this.ctx),d="month",h=0;if(t.minDate>1){c=(u.determineDaysOfMonths(s+1,t.minYear)-a+1)*n,l=T.monthMod(s+1);var f=r+h,g=T.monthMod(l),p=l;l===0&&(d="year",p=f,g=1,f+=h+=1),this.timeScaleArray.push({position:c,value:p,unit:d,year:f,month:g})}else this.timeScaleArray.push({position:c,value:l,unit:d,year:r,month:T.monthMod(s)});for(var m=l+1,v=c,b=0,x=1;b<o;b++,x++){(m=T.monthMod(m))===0?(d="year",h+=1):d="month";var k=this._getYear(r,m,h);v=u.determineDaysOfMonths(m,k)*n+v;var y=m===0?k:m;this.timeScaleArray.push({position:v,value:y,unit:d,year:k,month:m===0?1:m}),m++}}},{key:"generateDayScale",value:function(e){var t=e.firstVal,a=e.currentMonth,s=e.currentYear,r=e.hoursWidthOnXAxis,n=e.numberOfDays,o=new pt(this.ctx),l="day",c=t.minDate+1,u=c,d=function(x,k,y){return x>o.determineDaysOfMonths(k+1,y)&&(u=1,l="month",f=k+=1),k},h=(24-t.minHour)*r,f=c,g=d(u,a,s);t.minHour===0&&t.minDate===1?(h=0,f=T.monthMod(t.minMonth),l="month",u=t.minDate):t.minDate!==1&&t.minHour===0&&t.minMinute===0&&(h=0,c=t.minDate,f=c,g=d(u=c,a,s),f!==1&&(l="day")),this.timeScaleArray.push({position:h,value:f,unit:l,year:this._getYear(s,g,0),month:T.monthMod(g),day:u});for(var p=h,m=0;m<n;m++){l="day",g=d(u+=1,g,this._getYear(s,g,0));var v=this._getYear(s,g,0);p=24*r+p;var b=u===1?T.monthMod(g):u;this.timeScaleArray.push({position:p,value:b,unit:l,year:v,month:T.monthMod(g),day:b})}}},{key:"generateHourScale",value:function(e){var t=e.firstVal,a=e.currentDate,s=e.currentMonth,r=e.currentYear,n=e.minutesWidthOnXAxis,o=e.numberOfHours,l=new pt(this.ctx),c="hour",u=function(A,w){return A>l.determineDaysOfMonths(w+1,r)&&(m=1,w+=1),{month:w,date:m}},d=function(A,w){return A>l.determineDaysOfMonths(w+1,r)?w+=1:w},h=60-(t.minMinute+t.minSecond/60),f=h*n,g=t.minHour+1,p=g;h===60&&(f=0,p=g=t.minHour);var m=a;p>=24&&(p=0,c="day",g=m+=1);var v=u(m,s).month;v=d(m,v),g>31&&(g=m=1),this.timeScaleArray.push({position:f,value:g,unit:c,day:m,hour:p,year:r,month:T.monthMod(v)}),p++;for(var b=f,x=0;x<o;x++){c="hour",p>=24&&(p=0,c="day",v=u(m+=1,v).month,v=d(m,v));var k=this._getYear(r,v,0);b=60*n+b;var y=p===0?m:p;this.timeScaleArray.push({position:b,value:y,unit:c,hour:p,day:m,year:k,month:T.monthMod(v)}),p++}}},{key:"generateMinuteScale",value:function(e){for(var t=e.currentMillisecond,a=e.currentSecond,s=e.currentMinute,r=e.currentHour,n=e.currentDate,o=e.currentMonth,l=e.currentYear,c=e.minutesWidthOnXAxis,u=e.secondsWidthOnXAxis,d=e.numberOfMinutes,h=s+1,f=n,g=o,p=l,m=r,v=(60-a-t/1e3)*u,b=0;b<d;b++)h>=60&&(h=0,(m+=1)===24&&(m=0)),this.timeScaleArray.push({position:v,value:h,unit:"minute",hour:m,minute:h,day:f,year:this._getYear(p,g,0),month:T.monthMod(g)}),v+=c,h++}},{key:"generateSecondScale",value:function(e){for(var t=e.currentMillisecond,a=e.currentSecond,s=e.currentMinute,r=e.currentHour,n=e.currentDate,o=e.currentMonth,l=e.currentYear,c=e.secondsWidthOnXAxis,u=e.numberOfSeconds,d=a+1,h=s,f=n,g=o,p=l,m=r,v=(1e3-t)/1e3*c,b=0;b<u;b++)d>=60&&(d=0,++h>=60&&(h=0,++m===24&&(m=0))),this.timeScaleArray.push({position:v,value:d,unit:"second",hour:m,minute:h,second:d,day:f,year:this._getYear(p,g,0),month:T.monthMod(g)}),v+=c,d++}},{key:"createRawDateString",value:function(e,t){var a=e.year;return e.month===0&&(e.month=1),a+="-"+("0"+e.month.toString()).slice(-2),e.unit==="day"?a+=e.unit==="day"?"-"+("0"+t).slice(-2):"-01":a+="-"+("0"+(e.day?e.day:"1")).slice(-2),e.unit==="hour"?a+=e.unit==="hour"?"T"+("0"+t).slice(-2):"T00":a+="T"+("0"+(e.hour?e.hour:"0")).slice(-2),e.unit==="minute"?a+=":"+("0"+t).slice(-2):a+=":"+(e.minute?("0"+e.minute).slice(-2):"00"),e.unit==="second"?a+=":"+("0"+t).slice(-2):a+=":00",this.utc&&(a+=".000Z"),a}},{key:"formatDates",value:function(e){var t=this,a=this.w;return e.map((function(s){var r=s.value.toString(),n=new pt(t.ctx),o=t.createRawDateString(s,r),l=n.getDate(n.parseDate(o));if(t.utc||(l=n.getDate(n.parseDateWithTimezone(o))),a.config.xaxis.labels.format===void 0){var c="dd MMM",u=a.config.xaxis.labels.datetimeFormatter;s.unit==="year"&&(c=u.year),s.unit==="month"&&(c=u.month),s.unit==="day"&&(c=u.day),s.unit==="hour"&&(c=u.hour),s.unit==="minute"&&(c=u.minute),s.unit==="second"&&(c=u.second),r=n.formatDate(l,c)}else r=n.formatDate(l,a.config.xaxis.labels.format);return{dateString:o,position:s.position,value:r,unit:s.unit,year:s.year,month:s.month}}))}},{key:"removeOverlappingTS",value:function(e){var t,a=this,s=new V(this.ctx),r=!1;e.length>0&&e[0].value&&e.every((function(l){return l.value.length===e[0].value.length}))&&(r=!0,t=s.getTextRects(e[0].value).width);var n=0,o=e.map((function(l,c){if(c>0&&a.w.config.xaxis.labels.hideOverlappingLabels){var u=r?t:s.getTextRects(e[n].value).width,d=e[n].position;return l.position>d+u+10?(n=c,l):null}return l}));return o=o.filter((function(l){return l!==null}))}},{key:"_getYear",value:function(e,t,a){return e+Math.floor(t/12)+a}}]),i})(),yI=(function(){function i(e,t){ee(this,i),this.ctx=t,this.w=t.w,this.el=e}return te(i,[{key:"setupElements",value:function(){var e=this.w,t=e.globals,a=e.config,s=a.chart.type;t.axisCharts=["line","area","bar","rangeBar","rangeArea","candlestick","boxPlot","scatter","bubble","radar","heatmap","treemap"].includes(s),t.xyCharts=["line","area","bar","rangeBar","rangeArea","candlestick","boxPlot","scatter","bubble"].includes(s),t.isBarHorizontal=["bar","rangeBar","boxPlot"].includes(s)&&a.plotOptions.bar.horizontal,t.chartClass=".apexcharts".concat(t.chartID),t.dom.baseEl=this.el,t.dom.elWrap=document.createElement("div"),V.setAttrs(t.dom.elWrap,{id:t.chartClass.substring(1),class:"apexcharts-canvas ".concat(t.chartClass.substring(1))}),this.el.appendChild(t.dom.elWrap),t.dom.Paper=window.SVG().addTo(t.dom.elWrap),t.dom.Paper.attr({class:"apexcharts-svg","xmlns:data":"ApexChartsNS",transform:"translate(".concat(a.chart.offsetX,", ").concat(a.chart.offsetY,")")}),t.dom.Paper.node.style.background=a.theme.mode!=="dark"||a.chart.background?a.theme.mode!=="light"||a.chart.background?a.chart.background:"#fff":"#343A3F",this.setSVGDimensions(),t.dom.elLegendForeign=document.createElementNS(t.SVGNS,"foreignObject"),V.setAttrs(t.dom.elLegendForeign,{x:0,y:0,width:t.svgWidth,height:t.svgHeight}),t.dom.elLegendWrap=document.createElement("div"),t.dom.elLegendWrap.classList.add("apexcharts-legend"),t.dom.elWrap.appendChild(t.dom.elLegendWrap),t.dom.Paper.node.appendChild(t.dom.elLegendForeign),t.dom.elGraphical=t.dom.Paper.group().attr({class:"apexcharts-inner apexcharts-graphical"}),t.dom.elDefs=t.dom.Paper.defs(),t.dom.Paper.add(t.dom.elGraphical),t.dom.elGraphical.add(t.dom.elDefs)}},{key:"plotChartType",value:function(e,t){var a=this.w,s=this.ctx,r=a.config,n=a.globals,o={line:{series:[],i:[]},area:{series:[],i:[]},scatter:{series:[],i:[]},bubble:{series:[],i:[]},bar:{series:[],i:[]},candlestick:{series:[],i:[]},boxPlot:{series:[],i:[]},rangeBar:{series:[],i:[]},rangeArea:{series:[],seriesRangeEnd:[],i:[]}},l=r.chart.type||"line",c=null,u=0;n.series.forEach((function(A,w){var S,C,M=((S=e[w])===null||S===void 0?void 0:S.type)==="column"?"bar":((C=e[w])===null||C===void 0?void 0:C.type)||(l==="column"?"bar":l);o[M]?(M==="rangeArea"?(o[M].series.push(n.seriesRangeStart[w]),o[M].seriesRangeEnd.push(n.seriesRangeEnd[w])):o[M].series.push(A),o[M].i.push(w),M==="bar"&&(a.globals.columnSeries=o.bar)):["heatmap","treemap","pie","donut","polarArea","radialBar","radar"].includes(M)?c=M:console.warn("You have specified an unrecognized series type (".concat(M,").")),l!==M&&M!=="scatter"&&u++})),u>0&&(c&&console.warn("Chart or series type ".concat(c," cannot appear with other chart or series types.")),o.bar.series.length>0&&r.plotOptions.bar.horizontal&&(u-=o.bar.series.length,o.bar={series:[],i:[]},a.globals.columnSeries={series:[],i:[]},console.warn("Horizontal bars are not supported in a mixed/combo chart. Please turn off `plotOptions.bar.horizontal`"))),n.comboCharts||(n.comboCharts=u>0);var d=new ic(s,t),h=new ec(s,t);s.pie=new Rx(s);var f=new dI(s);s.rangeBar=new hI(s,t);var g=new uI(s),p=[];if(n.comboCharts){var m,v,b=new nt(s);if(o.area.series.length>0&&(m=p).push.apply(m,ft(b.drawSeriesByGroup(o.area,n.areaGroups,"area",d))),o.bar.series.length>0)if(r.chart.stacked){var x=new Lg(s,t);p.push(x.draw(o.bar.series,o.bar.i))}else s.bar=new Ns(s,t),p.push(s.bar.draw(o.bar.series,o.bar.i));if(o.rangeArea.series.length>0&&p.push(d.draw(o.rangeArea.series,"rangeArea",o.rangeArea.i,o.rangeArea.seriesRangeEnd)),o.line.series.length>0&&(v=p).push.apply(v,ft(b.drawSeriesByGroup(o.line,n.lineGroups,"line",d))),o.candlestick.series.length>0&&p.push(h.draw(o.candlestick.series,"candlestick",o.candlestick.i)),o.boxPlot.series.length>0&&p.push(h.draw(o.boxPlot.series,"boxPlot",o.boxPlot.i)),o.rangeBar.series.length>0&&p.push(s.rangeBar.draw(o.rangeBar.series,o.rangeBar.i)),o.scatter.series.length>0){var k=new ic(s,t,!0);p.push(k.draw(o.scatter.series,"scatter",o.scatter.i))}if(o.bubble.series.length>0){var y=new ic(s,t,!0);p.push(y.draw(o.bubble.series,"bubble",o.bubble.i))}}else switch(r.chart.type){case"line":p=d.draw(n.series,"line");break;case"area":p=d.draw(n.series,"area");break;case"bar":r.chart.stacked?p=new Lg(s,t).draw(n.series):(s.bar=new Ns(s,t),p=s.bar.draw(n.series));break;case"candlestick":p=new ec(s,t).draw(n.series,"candlestick");break;case"boxPlot":p=new ec(s,t).draw(n.series,r.chart.type);break;case"rangeBar":p=s.rangeBar.draw(n.series);break;case"rangeArea":p=d.draw(n.seriesRangeStart,"rangeArea",void 0,n.seriesRangeEnd);break;case"heatmap":p=new cI(s,t).draw(n.series);break;case"treemap":p=new vI(s,t).draw(n.series);break;case"pie":case"donut":case"polarArea":p=s.pie.draw(n.series);break;case"radialBar":p=f.draw(n.series);break;case"radar":p=g.draw(n.series);break;default:p=d.draw(n.series)}return p}},{key:"setSVGDimensions",value:function(){var e=this.w,t=e.globals,a=e.config;a.chart.width=a.chart.width||"100%",a.chart.height=a.chart.height||"auto",t.svgWidth=a.chart.width,t.svgHeight=a.chart.height;var s=T.getDimensions(this.el),r=a.chart.width.toString().split(/[0-9]+/g).pop();r==="%"?T.isNumber(s[0])&&(s[0].width===0&&(s=T.getDimensions(this.el.parentNode)),t.svgWidth=s[0]*parseInt(a.chart.width,10)/100):r!=="px"&&r!==""||(t.svgWidth=parseInt(a.chart.width,10));var n=String(a.chart.height).toString().split(/[0-9]+/g).pop();if(t.svgHeight!=="auto"&&t.svgHeight!=="")if(n==="%"){var o=T.getDimensions(this.el.parentNode);t.svgHeight=o[1]*parseInt(a.chart.height,10)/100}else t.svgHeight=parseInt(a.chart.height,10);else t.svgHeight=t.axisCharts?t.svgWidth/1.61:t.svgWidth/1.2;if(t.svgWidth=Math.max(t.svgWidth,0),t.svgHeight=Math.max(t.svgHeight,0),V.setAttrs(t.dom.Paper.node,{width:t.svgWidth,height:t.svgHeight}),n!=="%"){var l=a.chart.sparkline.enabled?0:t.axisCharts?a.chart.parentHeightOffset:0;t.dom.Paper.node.parentNode.parentNode.style.minHeight="".concat(t.svgHeight+l,"px")}t.dom.elWrap.style.width="".concat(t.svgWidth,"px"),t.dom.elWrap.style.height="".concat(t.svgHeight,"px")}},{key:"shiftGraphPosition",value:function(){var e=this.w.globals,t=e.translateY,a=e.translateX;V.setAttrs(e.dom.elGraphical.node,{transform:"translate(".concat(a,", ").concat(t,")")})}},{key:"resizeNonAxisCharts",value:function(){var e=this.w,t=e.globals,a=0,s=e.config.chart.sparkline.enabled?1:15;s+=e.config.grid.padding.bottom,["top","bottom"].includes(e.config.legend.position)&&e.config.legend.show&&!e.config.legend.floating&&(a=new Px(this.ctx).legendHelpers.getLegendDimensions().clwh+7);var r=e.globals.dom.baseEl.querySelector(".apexcharts-radialbar, .apexcharts-pie"),n=2.05*e.globals.radialSize;if(r&&!e.config.chart.sparkline.enabled&&e.config.plotOptions.radialBar.startAngle!==0){var o=T.getBoundingClientRect(r);n=o.bottom;var l=o.bottom-o.top;n=Math.max(2.05*e.globals.radialSize,l)}var c=Math.ceil(n+t.translateY+a+s);t.dom.elLegendForeign&&t.dom.elLegendForeign.setAttribute("height",c),e.config.chart.height&&String(e.config.chart.height).includes("%")||(t.dom.elWrap.style.height="".concat(c,"px"),V.setAttrs(t.dom.Paper.node,{height:c}),t.dom.Paper.node.parentNode.parentNode.style.minHeight="".concat(c,"px"))}},{key:"coreCalculations",value:function(){new gu(this.ctx).init()}},{key:"resetGlobals",value:function(){var e=this,t=function(){return e.w.config.series.map((function(){return[]}))},a=new Ax,s=this.w.globals,r={dataWasParsed:s.dataWasParsed,originalSeries:s.originalSeries};a.initGlobalVars(s),s.seriesXvalues=t(),s.seriesYvalues=t(),r.dataWasParsed&&(s.dataWasParsed=r.dataWasParsed,s.originalSeries=r.originalSeries)}},{key:"isMultipleY",value:function(){return!!(Array.isArray(this.w.config.yaxis)&&this.w.config.yaxis.length>1)&&(this.w.globals.isMultipleYAxis=!0,!0)}},{key:"xySettings",value:function(){var e=this.w,t=null;if(e.globals.axisCharts){if(e.config.xaxis.crosshairs.position==="back"&&new pu(this.ctx).drawXCrosshairs(),e.config.yaxis[0].crosshairs.position==="back"&&new pu(this.ctx).drawYCrosshairs(),e.config.xaxis.type==="datetime"&&e.config.xaxis.labels.formatter===void 0){this.ctx.timeScale=new xI(this.ctx);var a=[];isFinite(e.globals.minX)&&isFinite(e.globals.maxX)&&!e.globals.isBarHorizontal?a=this.ctx.timeScale.calculateTimeScaleTicks(e.globals.minX,e.globals.maxX):e.globals.isBarHorizontal&&(a=this.ctx.timeScale.calculateTimeScaleTicks(e.globals.minY,e.globals.maxY)),this.ctx.timeScale.recalcDimensionsBasedOnFormat(a)}t=new nt(this.ctx).getCalculatedRatios()}return t}},{key:"updateSourceChart",value:function(e){this.ctx.w.globals.selection=void 0,this.ctx.updateHelpers._updateOptions({chart:{selection:{xaxis:{min:e.w.globals.minX,max:e.w.globals.maxX}}}},!1,!1)}},{key:"setupBrushHandler",value:function(){var e=this,t=this.ctx,a=this.w;if(a.config.chart.brush.enabled&&typeof a.config.chart.events.selection!="function"){var s=Array.isArray(a.config.chart.brush.targets)?a.config.chart.brush.targets:[a.config.chart.brush.target];s.forEach((function(r){var n=t.constructor.getChartByID(r);n.w.globals.brushSource=e.ctx,typeof n.w.config.chart.events.zoomed!="function"&&(n.w.config.chart.events.zoomed=function(){return e.updateSourceChart(n)}),typeof n.w.config.chart.events.scrolled!="function"&&(n.w.config.chart.events.scrolled=function(){return e.updateSourceChart(n)})})),a.config.chart.events.selection=function(r,n){s.forEach((function(o){t.constructor.getChartByID(o).ctx.updateHelpers._updateOptions({xaxis:{min:n.xaxis.min,max:n.xaxis.max}},!1,!1,!1,!1)}))}}}}]),i})(),wI=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"_updateOptions",value:function(e){var t=this,a=arguments.length>1&&arguments[1]!==void 0&&arguments[1],s=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],r=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],n=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return new Promise((function(o){var l=[t.ctx];r&&(l=t.ctx.getSyncedCharts()),t.ctx.w.globals.isExecCalled&&(l=[t.ctx],t.ctx.w.globals.isExecCalled=!1),l.forEach((function(c,u){var d=c.w;if(d.globals.shouldAnimate=s,a||(d.globals.resized=!0,d.globals.dataChanged=!0,s&&c.series.getPreviousPaths()),e&&Tt(e)==="object"&&(c.config=new Hr(e),e=nt.extendArrayProps(c.config,e,d),c.w.globals.chartID!==t.ctx.w.globals.chartID&&delete e.series,d.config=T.extend(d.config,e),n&&(d.globals.lastXAxis=e.xaxis?T.clone(e.xaxis):[],d.globals.lastYAxis=e.yaxis?T.clone(e.yaxis):[],d.globals.initialConfig=T.extend({},d.config),d.globals.initialSeries=T.clone(d.config.series),e.series))){for(var h=0;h<d.globals.collapsedSeriesIndices.length;h++){var f=d.config.series[d.globals.collapsedSeriesIndices[h]];d.globals.collapsedSeries[h].data=d.globals.axisCharts?f.data.slice():f}for(var g=0;g<d.globals.ancillaryCollapsedSeriesIndices.length;g++){var p=d.config.series[d.globals.ancillaryCollapsedSeriesIndices[g]];d.globals.ancillaryCollapsedSeries[g].data=d.globals.axisCharts?p.data.slice():p}c.series.emptyCollapsedSeries(d.config.series)}return c.update(e).then((function(){u===l.length-1&&o(c)}))}))}))}},{key:"_updateSeries",value:function(e,t){var a=this,s=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return new Promise((function(r){var n=a.w;return n.globals.shouldAnimate=t,n.globals.dataChanged=!0,t&&a.ctx.series.getPreviousPaths(),a.ctx.data.resetParsingFlags(),a.ctx.data.parseData(e),s&&(n.globals.initialConfig.series=T.clone(n.config.series),n.globals.initialSeries=T.clone(n.config.series)),a.ctx.update().then((function(){r(a.ctx)}))}))}},{key:"_extendSeries",value:function(e,t){var a=this.w,s=a.config.series[t];return $($({},a.config.series[t]),{},{name:e.name?e.name:s==null?void 0:s.name,color:e.color?e.color:s==null?void 0:s.color,type:e.type?e.type:s==null?void 0:s.type,group:e.group?e.group:s==null?void 0:s.group,hidden:e.hidden!==void 0?e.hidden:s==null?void 0:s.hidden,data:e.data?e.data:s==null?void 0:s.data,zIndex:e.zIndex!==void 0?e.zIndex:t})}},{key:"toggleDataPointSelection",value:function(e,t){var a=this.w,s=null,r=".apexcharts-series[data\\:realIndex='".concat(e,"']");return a.globals.axisCharts?s=a.globals.dom.Paper.findOne("".concat(r," path[j='").concat(t,"'], ").concat(r," circle[j='").concat(t,"'], ").concat(r," rect[j='").concat(t,"']")):t===void 0&&(s=a.globals.dom.Paper.findOne("".concat(r," path[j='").concat(e,"']")),a.config.chart.type!=="pie"&&a.config.chart.type!=="polarArea"&&a.config.chart.type!=="donut"||this.ctx.pie.pieClicked(e)),s?(new V(this.ctx).pathMouseDown(s,null),s.node?s.node:null):(console.warn("toggleDataPointSelection: Element not found"),null)}},{key:"forceXAxisUpdate",value:function(e){var t=this.w;if(["min","max"].forEach((function(s){e.xaxis[s]!==void 0&&(t.config.xaxis[s]=e.xaxis[s],t.globals.lastXAxis[s]=e.xaxis[s])})),e.xaxis.categories&&e.xaxis.categories.length&&(t.config.xaxis.categories=e.xaxis.categories),t.config.xaxis.convertedCatToNumeric){var a=new Br(e);e=a.convertCatToNumericXaxis(e,this.ctx)}return e}},{key:"forceYAxisUpdate",value:function(e){return e.chart&&e.chart.stacked&&e.chart.stackType==="100%"&&(Array.isArray(e.yaxis)?e.yaxis.forEach((function(t,a){e.yaxis[a].min=0,e.yaxis[a].max=100})):(e.yaxis.min=0,e.yaxis.max=100)),e}},{key:"revertDefaultAxisMinMax",value:function(e){var t=this,a=this.w,s=a.globals.lastXAxis,r=a.globals.lastYAxis;e&&e.xaxis&&(s=e.xaxis),e&&e.yaxis&&(r=e.yaxis),a.config.xaxis.min=s.min,a.config.xaxis.max=s.max;var n=function(o){r[o]!==void 0&&(a.config.yaxis[o].min=r[o].min,a.config.yaxis[o].max=r[o].max)};a.config.yaxis.map((function(o,l){a.globals.zoomed||r[l]!==void 0?n(l):t.ctx.opts.yaxis[l]!==void 0&&(o.min=t.ctx.opts.yaxis[l].min,o.max=t.ctx.opts.yaxis[l].max)}))}}]),i})();(function(){function i(){for(var r=arguments.length>0&&arguments[0]!==d?arguments[0]:[],n=arguments.length>1?arguments[1]:d,o=arguments.length>2?arguments[2]:d,l=arguments.length>3?arguments[3]:d,c=arguments.length>4?arguments[4]:d,u=arguments.length>5?arguments[5]:d,d=arguments.length>6?arguments[6]:d,h=r.slice(n,o||d),f=l.slice(c,u||d),g=0,p={pos:[0,0],start:[0,0]},m={pos:[0,0],start:[0,0]};h[g]=e.call(p,h[g]),f[g]=e.call(m,f[g]),h[g][0]!=f[g][0]||h[g][0]=="M"||h[g][0]=="A"&&(h[g][4]!=f[g][4]||h[g][5]!=f[g][5])?(Array.prototype.splice.apply(h,[g,1].concat(a.call(p,h[g]))),Array.prototype.splice.apply(f,[g,1].concat(a.call(m,f[g])))):(h[g]=t.call(p,h[g]),f[g]=t.call(m,f[g])),!(++g==h.length&&g==f.length);)g==h.length&&h.push(["C",p.pos[0],p.pos[1],p.pos[0],p.pos[1],p.pos[0],p.pos[1]]),g==f.length&&f.push(["C",m.pos[0],m.pos[1],m.pos[0],m.pos[1],m.pos[0],m.pos[1]]);return{start:h,dest:f}}function e(r){switch(r[0]){case"z":case"Z":r[0]="L",r[1]=this.start[0],r[2]=this.start[1];break;case"H":r[0]="L",r[2]=this.pos[1];break;case"V":r[0]="L",r[2]=r[1],r[1]=this.pos[0];break;case"T":r[0]="Q",r[3]=r[1],r[4]=r[2],r[1]=this.reflection[1],r[2]=this.reflection[0];break;case"S":r[0]="C",r[6]=r[4],r[5]=r[3],r[4]=r[2],r[3]=r[1],r[2]=this.reflection[1],r[1]=this.reflection[0]}return r}function t(r){var n=r.length;return this.pos=[r[n-2],r[n-1]],"SCQT".indexOf(r[0])!=-1&&(this.reflection=[2*this.pos[0]-r[n-4],2*this.pos[1]-r[n-3]]),r}function a(r){var n=[r];switch(r[0]){case"M":return this.pos=this.start=[r[1],r[2]],n;case"L":r[5]=r[3]=r[1],r[6]=r[4]=r[2],r[1]=this.pos[0],r[2]=this.pos[1];break;case"Q":r[6]=r[4],r[5]=r[3],r[4]=1*r[4]/3+2*r[2]/3,r[3]=1*r[3]/3+2*r[1]/3,r[2]=1*this.pos[1]/3+2*r[2]/3,r[1]=1*this.pos[0]/3+2*r[1]/3;break;case"A":n=(function(o,l){var c,u,d,h,f,g,p,m,v,b,x,k,y,A,w,S,C,M,E,P,D,L,B,N,F,H,ie=Math.abs(l[1]),re=Math.abs(l[2]),ae=l[3]%360,le=l[4],Me=l[5],pe=l[6],Re=l[7],ve=new Oe(o),O=new Oe(pe,Re),X=[];if(ie===0||re===0||ve.x===O.x&&ve.y===O.y)return[["C",ve.x,ve.y,O.x,O.y,O.x,O.y]];for(c=new Oe((ve.x-O.x)/2,(ve.y-O.y)/2).transform(new oe().rotate(ae)),u=c.x*c.x/(ie*ie)+c.y*c.y/(re*re),u>1&&(ie*=u=Math.sqrt(u),re*=u),d=new oe().rotate(ae).scale(1/ie,1/re).rotate(-ae),ve=ve.transform(d),O=O.transform(d),h=[O.x-ve.x,O.y-ve.y],g=h[0]*h[0]+h[1]*h[1],f=Math.sqrt(g),h[0]/=f,h[1]/=f,p=g<4?Math.sqrt(1-g/4):0,le===Me&&(p*=-1),m=new Oe((O.x+ve.x)/2+p*-h[1],(O.y+ve.y)/2+p*h[0]),v=new Oe(ve.x-m.x,ve.y-m.y),b=new Oe(O.x-m.x,O.y-m.y),x=Math.acos(v.x/Math.sqrt(v.x*v.x+v.y*v.y)),v.y<0&&(x*=-1),k=Math.acos(b.x/Math.sqrt(b.x*b.x+b.y*b.y)),b.y<0&&(k*=-1),Me&&x>k&&(k+=2*Math.PI),!Me&&x<k&&(k-=2*Math.PI),A=Math.ceil(2*Math.abs(x-k)/Math.PI),S=[],C=x,y=(k-x)/A,w=4*Math.tan(y/4)/3,D=0;D<=A;D++)E=Math.cos(C),M=Math.sin(C),P=new Oe(m.x+E,m.y+M),S[D]=[new Oe(P.x+w*M,P.y-w*E),P,new Oe(P.x-w*M,P.y+w*E)],C+=y;for(S[0][0]=S[0][1].clone(),S[S.length-1][2]=S[S.length-1][1].clone(),d=new oe().rotate(ae).scale(ie,re).rotate(-ae),D=0,L=S.length;D<L;D++)S[D][0]=S[D][0].transform(d),S[D][1]=S[D][1].transform(d),S[D][2]=S[D][2].transform(d);for(D=1,L=S.length;D<L;D++)B=(P=S[D-1][2]).x,N=P.y,F=(P=S[D][0]).x,H=P.y,pe=(P=S[D][1]).x,Re=P.y,X.push(["C",B,N,F,H,pe,Re]);return X})(this.pos,r),r=n[0]}return r[0]="C",this.pos=[r[5],r[6]],this.reflection=[2*r[5]-r[3],2*r[6]-r[4]],n}function s(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;if(n===!1)return!1;for(var o=n,l=r.length;o<l;++o)if(r[o][0]=="M")return o;return!1}fe(di,{morph:function(r,n,o,l,c){for(var u=this.parse(r),d=this.parse(n),h=0,f=0,g=!1,p=!1;h!==!1||f!==!1;){var m;g=s(u,h!==!1&&h+1),p=s(d,f!==!1&&f+1),h===!1&&(h=(m=new di(v.start).bbox()).height==0||m.width==0?u.push(u[0])-1:u.push(["M",m.x+m.width/2,m.y+m.height/2])-1),f===!1&&(f=(m=new di(v.dest).bbox()).height==0||m.width==0?d.push(d[0])-1:d.push(["M",m.x+m.width/2,m.y+m.height/2])-1);var v=i(u,h,g,d,f,p);u=u.slice(0,h).concat(v.start,g===!1?[]:u.slice(g)),d=d.slice(0,f).concat(v.dest,p===!1?[]:d.slice(p)),h=g!==!1&&h+v.start.length,f=p!==!1&&f+v.dest.length}this._array=u,this.destination=new di,this.destination._array=d;var b=this.fromArray(u.map((function(x,k){var y=d[k].map((function(A,w){return w===0?A:l.step(x[w],d[k][w],o,c[k],c)}));return y})));return b}})})();const Rg=i=>(i.changedTouches&&(i=i.changedTouches[0]),{x:i.clientX,y:i.clientY});class kI{constructor(e){e.remember("_draggable",this),this.el=e,this.drag=this.drag.bind(this),this.startDrag=this.startDrag.bind(this),this.endDrag=this.endDrag.bind(this)}init(e){e?(this.el.on("mousedown.drag",this.startDrag),this.el.on("touchstart.drag",this.startDrag,{passive:!1})):(this.el.off("mousedown.drag"),this.el.off("touchstart.drag"))}startDrag(e){const t=!e.type.indexOf("mouse");if(t&&e.which!==1&&e.buttons!==0||this.el.dispatch("beforedrag",{event:e,handler:this}).defaultPrevented)return;e.preventDefault(),e.stopPropagation(),this.init(!1),this.box=this.el.bbox(),this.lastClick=this.el.point(Rg(e));const a=(t?"mouseup":"touchend")+".drag";ji(window,(t?"mousemove":"touchmove")+".drag",this.drag,this,{passive:!1}),ji(window,a,this.endDrag,this,{passive:!1}),this.el.fire("dragstart",{event:e,handler:this,box:this.box})}drag(e){const{box:t,lastClick:a}=this,s=this.el.point(Rg(e)),r=s.x-a.x,n=s.y-a.y;if(!r&&!n)return t;const o=t.x+r,l=t.y+n;this.box=new st(o,l,t.w,t.h),this.lastClick=s,this.el.dispatch("dragmove",{event:e,handler:this,box:this.box}).defaultPrevented||this.move(o,l)}move(e,t){this.el.type==="svg"?ga.prototype.move.call(this.el,e,t):this.el.move(e,t)}endDrag(e){this.drag(e),this.el.fire("dragend",{event:e,handler:this,box:this.box}),ai(window,"mousemove.drag"),ai(window,"touchmove.drag"),ai(window,"mouseup.drag"),ai(window,"touchend.drag"),this.init(!0)}}/*!
|
|
226
|
+
* @svgdotjs/svg.select.js - An extension of svg.js which allows to select elements with mouse
|
|
227
|
+
* @version 4.0.1
|
|
228
|
+
* https://github.com/svgdotjs/svg.select.js
|
|
229
|
+
*
|
|
230
|
+
* @copyright Ulrich-Matthias Schäfer
|
|
231
|
+
* @license MIT
|
|
232
|
+
*
|
|
233
|
+
* BUILT: Mon Jul 01 2024 15:04:42 GMT+0200 (Central European Summer Time)
|
|
234
|
+
*/function mu(i,e,t,a=null){return function(s){s.preventDefault(),s.stopPropagation();var r=s.pageX||s.touches[0].pageX,n=s.pageY||s.touches[0].pageY;e.fire(i,{x:r,y:n,event:s,index:a,points:t})}}function vu([i,e],{a:t,b:a,c:s,d:r,e:n,f:o}){return[i*t+e*s+n,i*a+e*r+o]}fe(bt,{draggable(i=!0){return(this.remember("_draggable")||new kI(this)).init(i),this}});let Ox=class{constructor(i){this.el=i,i.remember("_selectHandler",this),this.selection=new ga,this.order=["lt","t","rt","r","rb","b","lb","l","rot"],this.mutationHandler=this.mutationHandler.bind(this);const e=on();this.observer=new e.MutationObserver(this.mutationHandler)}init(i){this.createHandle=i.createHandle||this.createHandleFn,this.createRot=i.createRot||this.createRotFn,this.updateHandle=i.updateHandle||this.updateHandleFn,this.updateRot=i.updateRot||this.updateRotFn,this.el.root().put(this.selection),this.updatePoints(),this.createSelection(),this.createResizeHandles(),this.updateResizeHandles(),this.createRotationHandle(),this.updateRotationHandle(),this.observer.observe(this.el.node,{attributes:!0})}active(i,e){if(!i)return this.selection.clear().remove(),void this.observer.disconnect();this.init(e)}createSelection(){this.selection.polygon(this.handlePoints).addClass("svg_select_shape")}updateSelection(){this.selection.get(0).plot(this.handlePoints)}createResizeHandles(){this.handlePoints.forEach(((i,e,t)=>{const a=this.order[e];this.createHandle.call(this,this.selection,i,e,t,a),this.selection.get(e+1).addClass("svg_select_handle svg_select_handle_"+a).on("mousedown.selection touchstart.selection",mu(a,this.el,this.handlePoints,e))}))}createHandleFn(i){i.polyline()}updateHandleFn(i,e,t,a){const s=a.at(t-1),r=a[(t+1)%a.length],n=e,o=[n[0]-s[0],n[1]-s[1]],l=[n[0]-r[0],n[1]-r[1]],c=Math.sqrt(o[0]*o[0]+o[1]*o[1]),u=Math.sqrt(l[0]*l[0]+l[1]*l[1]),d=[o[0]/c,o[1]/c],h=[l[0]/u,l[1]/u],f=[n[0]-10*d[0],n[1]-10*d[1]],g=[n[0]-10*h[0],n[1]-10*h[1]];i.plot([f,n,g])}updateResizeHandles(){this.handlePoints.forEach(((i,e,t)=>{const a=this.order[e];this.updateHandle.call(this,this.selection.get(e+1),i,e,t,a)}))}createRotFn(i){i.line(),i.circle(5)}getPoint(i){return this.handlePoints[this.order.indexOf(i)]}getPointHandle(i){return this.selection.get(this.order.indexOf(i)+1)}updateRotFn(i,e){const t=this.getPoint("t");i.get(0).plot(t[0],t[1],e[0],e[1]),i.get(1).center(e[0],e[1])}createRotationHandle(){const i=this.selection.group().addClass("svg_select_handle_rot").on("mousedown.selection touchstart.selection",mu("rot",this.el,this.handlePoints));this.createRot.call(this,i)}updateRotationHandle(){const i=this.selection.findOne("g.svg_select_handle_rot");this.updateRot(i,this.rotationPoint,this.handlePoints)}updatePoints(){const i=this.el.bbox(),e=this.el.parent().screenCTM().inverseO().multiplyO(this.el.screenCTM());this.handlePoints=this.getHandlePoints(i).map((t=>vu(t,e))),this.rotationPoint=vu(this.getRotationPoint(i),e)}getHandlePoints({x:i,x2:e,y:t,y2:a,cx:s,cy:r}=this.el.bbox()){return[[i,t],[s,t],[e,t],[e,r],[e,a],[s,a],[i,a],[i,r]]}getRotationPoint({y:i,cx:e}=this.el.bbox()){return[e,i-20]}mutationHandler(){this.updatePoints(),this.updateSelection(),this.updateResizeHandles(),this.updateRotationHandle()}};const Ng=i=>function(e=!0,t={}){typeof e=="object"&&(t=e,e=!0);let a=this.remember("_"+i.name);return a||(e.prototype instanceof Ox?(a=new e(this),e=!0):a=new i(this),this.remember("_"+i.name,a)),a.active(e,t),this};/*!
|
|
235
|
+
* @svgdotjs/svg.resize.js - An extension for svg.js which allows to resize elements which are selected
|
|
236
|
+
* @version 2.0.4
|
|
237
|
+
* https://github.com/svgdotjs/svg.resize.js
|
|
238
|
+
*
|
|
239
|
+
* @copyright [object Object]
|
|
240
|
+
* @license MIT
|
|
241
|
+
*
|
|
242
|
+
* BUILT: Fri Sep 13 2024 12:43:14 GMT+0200 (Central European Summer Time)
|
|
243
|
+
*//*!
|
|
244
|
+
* @svgdotjs/svg.select.js - An extension of svg.js which allows to select elements with mouse
|
|
245
|
+
* @version 4.0.1
|
|
246
|
+
* https://github.com/svgdotjs/svg.select.js
|
|
247
|
+
*
|
|
248
|
+
* @copyright Ulrich-Matthias Schäfer
|
|
249
|
+
* @license MIT
|
|
250
|
+
*
|
|
251
|
+
* BUILT: Mon Jul 01 2024 15:04:42 GMT+0200 (Central European Summer Time)
|
|
252
|
+
*/function bu(i,e,t,a=null){return function(s){s.preventDefault(),s.stopPropagation();var r=s.pageX||s.touches[0].pageX,n=s.pageY||s.touches[0].pageY;e.fire(i,{x:r,y:n,event:s,index:a,points:t})}}function xu([i,e],{a:t,b:a,c:s,d:r,e:n,f:o}){return[i*t+e*s+n,i*a+e*r+o]}fe(bt,{select:Ng(Ox)}),fe([Na,Oa,Ra],{pointSelect:Ng(class{constructor(i){this.el=i,i.remember("_pointSelectHandler",this),this.selection=new ga,this.order=["lt","t","rt","r","rb","b","lb","l","rot"],this.mutationHandler=this.mutationHandler.bind(this);const e=on();this.observer=new e.MutationObserver(this.mutationHandler)}init(i){this.createHandle=i.createHandle||this.createHandleFn,this.updateHandle=i.updateHandle||this.updateHandleFn,this.el.root().put(this.selection),this.updatePoints(),this.createSelection(),this.createPointHandles(),this.updatePointHandles(),this.observer.observe(this.el.node,{attributes:!0})}active(i,e){if(!i)return this.selection.clear().remove(),void this.observer.disconnect();this.init(e)}createSelection(){this.selection.polygon(this.points).addClass("svg_select_shape_pointSelect")}updateSelection(){this.selection.get(0).plot(this.points)}createPointHandles(){this.points.forEach(((i,e,t)=>{this.createHandle.call(this,this.selection,i,e,t),this.selection.get(e+1).addClass("svg_select_handle_point").on("mousedown.selection touchstart.selection",mu("point",this.el,this.points,e))}))}createHandleFn(i){i.circle(5)}updateHandleFn(i,e){i.center(e[0],e[1])}updatePointHandles(){this.points.forEach(((i,e,t)=>{this.updateHandle.call(this,this.selection.get(e+1),i,e,t)}))}updatePoints(){const i=this.el.parent().screenCTM().inverseO().multiplyO(this.el.screenCTM());this.points=this.el.array().map((e=>vu(e,i)))}mutationHandler(){this.updatePoints(),this.updateSelection(),this.updatePointHandles()}})});class Fx{constructor(e){this.el=e,e.remember("_selectHandler",this),this.selection=new ga,this.order=["lt","t","rt","r","rb","b","lb","l","rot"],this.mutationHandler=this.mutationHandler.bind(this);const t=on();this.observer=new t.MutationObserver(this.mutationHandler)}init(e){this.createHandle=e.createHandle||this.createHandleFn,this.createRot=e.createRot||this.createRotFn,this.updateHandle=e.updateHandle||this.updateHandleFn,this.updateRot=e.updateRot||this.updateRotFn,this.el.root().put(this.selection),this.updatePoints(),this.createSelection(),this.createResizeHandles(),this.updateResizeHandles(),this.createRotationHandle(),this.updateRotationHandle(),this.observer.observe(this.el.node,{attributes:!0})}active(e,t){if(!e)return this.selection.clear().remove(),void this.observer.disconnect();this.init(t)}createSelection(){this.selection.polygon(this.handlePoints).addClass("svg_select_shape")}updateSelection(){this.selection.get(0).plot(this.handlePoints)}createResizeHandles(){this.handlePoints.forEach(((e,t,a)=>{const s=this.order[t];this.createHandle.call(this,this.selection,e,t,a,s),this.selection.get(t+1).addClass("svg_select_handle svg_select_handle_"+s).on("mousedown.selection touchstart.selection",bu(s,this.el,this.handlePoints,t))}))}createHandleFn(e){e.polyline()}updateHandleFn(e,t,a,s){const r=s.at(a-1),n=s[(a+1)%s.length],o=t,l=[o[0]-r[0],o[1]-r[1]],c=[o[0]-n[0],o[1]-n[1]],u=Math.sqrt(l[0]*l[0]+l[1]*l[1]),d=Math.sqrt(c[0]*c[0]+c[1]*c[1]),h=[l[0]/u,l[1]/u],f=[c[0]/d,c[1]/d],g=[o[0]-10*h[0],o[1]-10*h[1]],p=[o[0]-10*f[0],o[1]-10*f[1]];e.plot([g,o,p])}updateResizeHandles(){this.handlePoints.forEach(((e,t,a)=>{const s=this.order[t];this.updateHandle.call(this,this.selection.get(t+1),e,t,a,s)}))}createRotFn(e){e.line(),e.circle(5)}getPoint(e){return this.handlePoints[this.order.indexOf(e)]}getPointHandle(e){return this.selection.get(this.order.indexOf(e)+1)}updateRotFn(e,t){const a=this.getPoint("t");e.get(0).plot(a[0],a[1],t[0],t[1]),e.get(1).center(t[0],t[1])}createRotationHandle(){const e=this.selection.group().addClass("svg_select_handle_rot").on("mousedown.selection touchstart.selection",bu("rot",this.el,this.handlePoints));this.createRot.call(this,e)}updateRotationHandle(){const e=this.selection.findOne("g.svg_select_handle_rot");this.updateRot(e,this.rotationPoint,this.handlePoints)}updatePoints(){const e=this.el.bbox(),t=this.el.parent().screenCTM().inverseO().multiplyO(this.el.screenCTM());this.handlePoints=this.getHandlePoints(e).map((a=>xu(a,t))),this.rotationPoint=xu(this.getRotationPoint(e),t)}getHandlePoints({x:e,x2:t,y:a,y2:s,cx:r,cy:n}=this.el.bbox()){return[[e,a],[r,a],[t,a],[t,n],[t,s],[r,s],[e,s],[e,n]]}getRotationPoint({y:e,cx:t}=this.el.bbox()){return[t,e-20]}mutationHandler(){this.updatePoints(),this.updateSelection(),this.updateResizeHandles(),this.updateRotationHandle()}}const Og=i=>function(e=!0,t={}){typeof e=="object"&&(t=e,e=!0);let a=this.remember("_"+i.name);return a||(e.prototype instanceof Fx?(a=new e(this),e=!0):a=new i(this),this.remember("_"+i.name,a)),a.active(e,t),this};fe(bt,{select:Og(Fx)}),fe([Na,Oa,Ra],{pointSelect:Og(class{constructor(i){this.el=i,i.remember("_pointSelectHandler",this),this.selection=new ga,this.order=["lt","t","rt","r","rb","b","lb","l","rot"],this.mutationHandler=this.mutationHandler.bind(this);const e=on();this.observer=new e.MutationObserver(this.mutationHandler)}init(i){this.createHandle=i.createHandle||this.createHandleFn,this.updateHandle=i.updateHandle||this.updateHandleFn,this.el.root().put(this.selection),this.updatePoints(),this.createSelection(),this.createPointHandles(),this.updatePointHandles(),this.observer.observe(this.el.node,{attributes:!0})}active(i,e){if(!i)return this.selection.clear().remove(),void this.observer.disconnect();this.init(e)}createSelection(){this.selection.polygon(this.points).addClass("svg_select_shape_pointSelect")}updateSelection(){this.selection.get(0).plot(this.points)}createPointHandles(){this.points.forEach(((i,e,t)=>{this.createHandle.call(this,this.selection,i,e,t),this.selection.get(e+1).addClass("svg_select_handle_point").on("mousedown.selection touchstart.selection",bu("point",this.el,this.points,e))}))}createHandleFn(i){i.circle(5)}updateHandleFn(i,e){i.center(e[0],e[1])}updatePointHandles(){this.points.forEach(((i,e,t)=>{this.updateHandle.call(this,this.selection.get(e+1),i,e,t)}))}updatePoints(){const i=this.el.parent().screenCTM().inverseO().multiplyO(this.el.screenCTM());this.points=this.el.array().map((e=>xu(e,i)))}mutationHandler(){this.updatePoints(),this.updateSelection(),this.updatePointHandles()}})});const _n=i=>(i.changedTouches&&(i=i.changedTouches[0]),{x:i.clientX,y:i.clientY}),Fg=i=>{let e=1/0,t=1/0,a=-1/0,s=-1/0;for(let r=0;r<i.length;r++){const n=i[r];e=Math.min(e,n[0]),t=Math.min(t,n[1]),a=Math.max(a,n[0]),s=Math.max(s,n[1])}return new st(e,t,a-e,s-t)};class zg{constructor(e){this.el=e,e.remember("_ResizeHandler",this),this.lastCoordinates=null,this.eventType="",this.lastEvent=null,this.handleResize=this.handleResize.bind(this),this.resize=this.resize.bind(this),this.endResize=this.endResize.bind(this),this.rotate=this.rotate.bind(this),this.movePoint=this.movePoint.bind(this)}active(e,t){this.preserveAspectRatio=t.preserveAspectRatio??!1,this.aroundCenter=t.aroundCenter??!1,this.grid=t.grid??0,this.degree=t.degree??0,this.el.off(".resize"),e&&(this.el.on(["lt.resize","rt.resize","rb.resize","lb.resize","t.resize","r.resize","b.resize","l.resize","rot.resize","point.resize"],this.handleResize),this.lastEvent&&(this.eventType==="rot"?this.rotate(this.lastEvent):this.eventType==="point"?this.movePoint(this.lastEvent):this.resize(this.lastEvent)))}handleResize(e){this.eventType=e.type;const{event:t,index:a,points:s}=e.detail,r=!t.type.indexOf("mouse");if(r&&(t.which||t.buttons)!==1||this.el.dispatch("beforeresize",{event:e,handler:this}).defaultPrevented)return;this.box=this.el.bbox(),this.startPoint=this.el.point(_n(t)),this.index=a,this.points=s.slice();const n=(r?"mousemove":"touchmove")+".resize",o=(r?"mouseup":"touchcancel.resize touchend")+".resize";e.type==="point"?ji(window,n,this.movePoint):e.type==="rot"?ji(window,n,this.rotate):ji(window,n,this.resize),ji(window,o,this.endResize)}resize(e){this.lastEvent=e;const t=this.snapToGrid(this.el.point(_n(e)));let a=t.x-this.startPoint.x,s=t.y-this.startPoint.y;this.preserveAspectRatio&&this.aroundCenter&&(a*=2,s*=2);const r=this.box.x+a,n=this.box.y+s,o=this.box.x2+a,l=this.box.y2+s;let c=new st(this.box);if(this.eventType.includes("l")&&(c.x=Math.min(r,this.box.x2),c.x2=Math.max(r,this.box.x2)),this.eventType.includes("r")&&(c.x=Math.min(o,this.box.x),c.x2=Math.max(o,this.box.x)),this.eventType.includes("t")&&(c.y=Math.min(n,this.box.y2),c.y2=Math.max(n,this.box.y2)),this.eventType.includes("b")&&(c.y=Math.min(l,this.box.y),c.y2=Math.max(l,this.box.y)),c.width=c.x2-c.x,c.height=c.y2-c.y,this.preserveAspectRatio){const u=c.width/this.box.width,d=c.height/this.box.height,h=["lt","t","rt","r","rb","b","lb","l"],f=(h.indexOf(this.eventType)+4)%h.length,g=this.aroundCenter?[this.box.cx,this.box.cy]:this.points[f];let p=this.eventType.includes("t")||this.eventType.includes("b")?d:u;p=this.eventType.length===2?Math.max(u,d):p,c=(function(m,v,b){const x=[[m.x,m.y],[m.x+m.width,m.y],[m.x+m.width,m.y+m.height],[m.x,m.y+m.height]].map((([k,y])=>{const A=k-v[0],w=(y-v[1])*b;return[A*b+v[0],w+v[1]]}));return Fg(x)})(this.box,g,p)}this.el.dispatch("resize",{box:new st(c),angle:0,eventType:this.eventType,event:e,handler:this}).defaultPrevented||this.el.size(c.width,c.height).move(c.x,c.y)}movePoint(e){this.lastEvent=e;const{x:t,y:a}=this.snapToGrid(this.el.point(_n(e))),s=this.el.array().slice();s[this.index]=[t,a],this.el.dispatch("resize",{box:Fg(s),angle:0,eventType:this.eventType,event:e,handler:this}).defaultPrevented||this.el.plot(s)}rotate(e){this.lastEvent=e;const t=this.startPoint,a=this.el.point(_n(e)),{cx:s,cy:r}=this.box,n=t.x-s,o=t.y-r,l=a.x-s,c=a.y-r,u=Math.sqrt(n*n+o*o)*Math.sqrt(l*l+c*c);if(u===0)return;let d=Math.acos((n*l+o*c)/u)/Math.PI*180;if(!d)return;a.x<t.x&&(d=-d);const h=new oe(this.el),{x:f,y:g}=new Oe(s,r).transformO(h),{rotate:p}=h.decompose(),m=this.snapToAngle(p+d)-p;this.el.dispatch("resize",{box:this.box,angle:m,eventType:this.eventType,event:e,handler:this}).defaultPrevented||this.el.transform(h.rotateO(m,f,g))}endResize(e){this.eventType!=="rot"&&this.eventType!=="point"&&this.resize(e),this.lastEvent=null,this.eventType="",ai(window,"mousemove.resize touchmove.resize"),ai(window,"mouseup.resize touchend.resize")}snapToGrid(e){return this.grid&&(e.x=Math.round(e.x/this.grid)*this.grid,e.y=Math.round(e.y/this.grid)*this.grid),e}snapToAngle(e){return this.degree&&(e=Math.round(e/this.degree)*this.degree),e}}fe(bt,{resize:function(i=!0,e={}){typeof i=="object"&&(e=i,i=!0);let t=this.remember("_ResizeHandler");return t||(i.prototype instanceof zg?(t=new i(this),i=!0):t=new zg(this),this.remember("_resizeHandler",t)),t.active(i,e),this}}),window.SVG===void 0&&(window.SVG=F_),window.Apex===void 0&&(window.Apex={});var Bg=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"initModules",value:function(){this.ctx.publicMethods=["updateOptions","updateSeries","appendData","appendSeries","isSeriesHidden","highlightSeries","toggleSeries","showSeries","hideSeries","setLocale","resetSeries","zoomX","toggleDataPointSelection","dataURI","exportToCSV","addXaxisAnnotation","addYaxisAnnotation","addPointAnnotation","clearAnnotations","removeAnnotation","paper","destroy"],this.ctx.eventList=["click","mousedown","mousemove","mouseleave","touchstart","touchmove","touchleave","mouseup","touchend"],this.ctx.animations=new Ys(this.ctx),this.ctx.axes=new q_(this.ctx),this.ctx.core=new yI(this.ctx.el,this.ctx),this.ctx.config=new Hr({}),this.ctx.data=new Pd(this.ctx),this.ctx.grid=new Mx(this.ctx),this.ctx.graphics=new V(this.ctx),this.ctx.coreUtils=new nt(this.ctx),this.ctx.crosshairs=new pu(this.ctx),this.ctx.events=new U_(this.ctx),this.ctx.exports=new wr(this.ctx),this.ctx.fill=new gi(this.ctx),this.ctx.localization=new X_(this.ctx),this.ctx.options=new Ia,this.ctx.responsive=new G_(this.ctx),this.ctx.series=new ri(this.ctx),this.ctx.theme=new $_(this.ctx),this.ctx.formatters=new un(this.ctx),this.ctx.titleSubtitle=new K_(this.ctx),this.ctx.legend=new Px(this.ctx),this.ctx.toolbar=new _x(this.ctx),this.ctx.tooltip=new Dg(this.ctx),this.ctx.dimensions=new yo(this.ctx),this.ctx.updateHelpers=new wI(this.ctx),this.ctx.zoomPanSelection=new iI(this.ctx),this.ctx.w.globals.tooltip=new Dg(this.ctx)}}]),i})(),Hg=(function(){function i(e){ee(this,i),this.ctx=e,this.w=e.w}return te(i,[{key:"clear",value:function(e){var t=e.isUpdating;this.ctx.zoomPanSelection&&this.ctx.zoomPanSelection.destroy(),this.ctx.toolbar&&this.ctx.toolbar.destroy(),this.ctx.animations=null,this.ctx.axes=null,this.ctx.annotations=null,this.ctx.core=null,this.ctx.data=null,this.ctx.grid=null,this.ctx.series=null,this.ctx.responsive=null,this.ctx.theme=null,this.ctx.formatters=null,this.ctx.titleSubtitle=null,this.ctx.legend=null,this.ctx.dimensions=null,this.ctx.options=null,this.ctx.crosshairs=null,this.ctx.zoomPanSelection=null,this.ctx.updateHelpers=null,this.ctx.toolbar=null,this.ctx.localization=null,this.ctx.w.globals.tooltip=null,this.clearDomElements({isUpdating:t})}},{key:"killSVG",value:function(e){e.each((function(){this.removeClass("*"),this.off()}),!0),e.clear()}},{key:"clearDomElements",value:function(e){var t=this,a=e.isUpdating,s=this.w.globals.dom.Paper.node;s.parentNode&&s.parentNode.parentNode&&!a&&(s.parentNode.parentNode.style.minHeight="unset");var r=this.w.globals.dom.baseEl;r&&this.ctx.eventList.forEach((function(o){r.removeEventListener(o,t.ctx.events.documentEvent)}));var n=this.w.globals.dom;if(this.ctx.el!==null)for(;this.ctx.el.firstChild;)this.ctx.el.removeChild(this.ctx.el.firstChild);this.killSVG(n.Paper),n.Paper.remove(),n.elWrap=null,n.elGraphical=null,n.elLegendWrap=null,n.elLegendForeign=null,n.baseEl=null,n.elGridRect=null,n.elGridRectMask=null,n.elGridRectBarMask=null,n.elGridRectMarkerMask=null,n.elForecastMask=null,n.elNonForecastMask=null,n.elDefs=null}}]),i})(),ac=new WeakMap,Wg=(function(){function i(e,t){ee(this,i),this.opts=t,this.ctx=this,this.w=new V_(t).init(),this.el=e,this.w.globals.cuid=T.randomId(),this.w.globals.chartID=this.w.config.chart.id?T.escapeString(this.w.config.chart.id):this.w.globals.cuid,new Bg(this).initModules(),this.lastUpdateOptions=null,this.create=T.bind(this.create,this),this.windowResizeHandler=this._windowResizeHandler.bind(this),this.parentResizeHandler=this._parentResizeCallback.bind(this)}return te(i,[{key:"render",value:function(){var e=this;return new Promise((function(t,a){if(T.elementExists(e.el)){Apex._chartInstances===void 0&&(Apex._chartInstances=[]),e.w.config.chart.id&&Apex._chartInstances.push({id:e.w.globals.chartID,group:e.w.config.chart.group,chart:e}),e.setLocale(e.w.config.chart.defaultLocale);var s=e.w.config.chart.events.beforeMount;typeof s=="function"&&s(e,e.w),e.events.fireEvent("beforeMount",[e,e.w]),window.addEventListener("resize",e.windowResizeHandler),(function(h,f){var g=!1;if(h.nodeType!==Node.DOCUMENT_FRAGMENT_NODE){var p=h.getBoundingClientRect();h.style.display!=="none"&&p.width!==0||(g=!0)}var m=new ResizeObserver((function(v){g&&f.call(h,v),g=!0}));h.nodeType===Node.DOCUMENT_FRAGMENT_NODE?Array.from(h.children).forEach((function(v){return m.observe(v)})):m.observe(h),ac.set(f,m)})(e.el.parentNode,e.parentResizeHandler);var r=e.el.getRootNode&&e.el.getRootNode(),n=T.is("ShadowRoot",r),o=e.el.ownerDocument,l=n?r.getElementById("apexcharts-css"):o.getElementById("apexcharts-css");if(!l){var c;(l=document.createElement("style")).id="apexcharts-css",l.textContent=`@keyframes opaque {
|
|
253
|
+
0% {
|
|
254
|
+
opacity: 0
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
to {
|
|
258
|
+
opacity: 1
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
@keyframes resizeanim {
|
|
263
|
+
|
|
264
|
+
0%,
|
|
265
|
+
to {
|
|
266
|
+
opacity: 0
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.apexcharts-canvas {
|
|
271
|
+
position: relative;
|
|
272
|
+
direction: ltr !important;
|
|
273
|
+
user-select: none
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.apexcharts-canvas ::-webkit-scrollbar {
|
|
277
|
+
-webkit-appearance: none;
|
|
278
|
+
width: 6px
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.apexcharts-canvas ::-webkit-scrollbar-thumb {
|
|
282
|
+
border-radius: 4px;
|
|
283
|
+
background-color: rgba(0, 0, 0, .5);
|
|
284
|
+
box-shadow: 0 0 1px rgba(255, 255, 255, .5);
|
|
285
|
+
-webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5)
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.apexcharts-inner {
|
|
289
|
+
position: relative
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.apexcharts-text tspan {
|
|
293
|
+
font-family: inherit
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
rect.legend-mouseover-inactive,
|
|
297
|
+
.legend-mouseover-inactive rect,
|
|
298
|
+
.legend-mouseover-inactive path,
|
|
299
|
+
.legend-mouseover-inactive circle,
|
|
300
|
+
.legend-mouseover-inactive line,
|
|
301
|
+
.legend-mouseover-inactive text.apexcharts-yaxis-title-text,
|
|
302
|
+
.legend-mouseover-inactive text.apexcharts-yaxis-label {
|
|
303
|
+
transition: .15s ease all;
|
|
304
|
+
opacity: .2
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.apexcharts-legend-text {
|
|
308
|
+
padding-left: 15px;
|
|
309
|
+
margin-left: -15px;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.apexcharts-series-collapsed {
|
|
313
|
+
opacity: 0
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.apexcharts-tooltip {
|
|
317
|
+
border-radius: 5px;
|
|
318
|
+
box-shadow: 2px 2px 6px -4px #999;
|
|
319
|
+
cursor: default;
|
|
320
|
+
font-size: 14px;
|
|
321
|
+
left: 62px;
|
|
322
|
+
opacity: 0;
|
|
323
|
+
pointer-events: none;
|
|
324
|
+
position: absolute;
|
|
325
|
+
top: 20px;
|
|
326
|
+
display: flex;
|
|
327
|
+
flex-direction: column;
|
|
328
|
+
overflow: hidden;
|
|
329
|
+
white-space: nowrap;
|
|
330
|
+
z-index: 12;
|
|
331
|
+
transition: .15s ease all
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.apexcharts-tooltip.apexcharts-active {
|
|
335
|
+
opacity: 1;
|
|
336
|
+
transition: .15s ease all
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.apexcharts-tooltip.apexcharts-theme-light {
|
|
340
|
+
border: 1px solid #e3e3e3;
|
|
341
|
+
background: rgba(255, 255, 255, .96)
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.apexcharts-tooltip.apexcharts-theme-dark {
|
|
345
|
+
color: #fff;
|
|
346
|
+
background: rgba(30, 30, 30, .8)
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.apexcharts-tooltip * {
|
|
350
|
+
font-family: inherit
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.apexcharts-tooltip-title {
|
|
354
|
+
padding: 6px;
|
|
355
|
+
font-size: 15px;
|
|
356
|
+
margin-bottom: 4px
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {
|
|
360
|
+
background: #eceff1;
|
|
361
|
+
border-bottom: 1px solid #ddd
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title {
|
|
365
|
+
background: rgba(0, 0, 0, .7);
|
|
366
|
+
border-bottom: 1px solid #333
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.apexcharts-tooltip-text-goals-value,
|
|
370
|
+
.apexcharts-tooltip-text-y-value,
|
|
371
|
+
.apexcharts-tooltip-text-z-value {
|
|
372
|
+
display: inline-block;
|
|
373
|
+
margin-left: 5px;
|
|
374
|
+
font-weight: 600
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.apexcharts-tooltip-text-goals-label:empty,
|
|
378
|
+
.apexcharts-tooltip-text-goals-value:empty,
|
|
379
|
+
.apexcharts-tooltip-text-y-label:empty,
|
|
380
|
+
.apexcharts-tooltip-text-y-value:empty,
|
|
381
|
+
.apexcharts-tooltip-text-z-value:empty,
|
|
382
|
+
.apexcharts-tooltip-title:empty {
|
|
383
|
+
display: none
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.apexcharts-tooltip-text-goals-label,
|
|
387
|
+
.apexcharts-tooltip-text-goals-value {
|
|
388
|
+
padding: 6px 0 5px
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.apexcharts-tooltip-goals-group,
|
|
392
|
+
.apexcharts-tooltip-text-goals-label,
|
|
393
|
+
.apexcharts-tooltip-text-goals-value {
|
|
394
|
+
display: flex
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.apexcharts-tooltip-text-goals-label:not(:empty),
|
|
398
|
+
.apexcharts-tooltip-text-goals-value:not(:empty) {
|
|
399
|
+
margin-top: -6px
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.apexcharts-tooltip-marker {
|
|
403
|
+
display: inline-block;
|
|
404
|
+
position: relative;
|
|
405
|
+
width: 16px;
|
|
406
|
+
height: 16px;
|
|
407
|
+
font-size: 16px;
|
|
408
|
+
line-height: 16px;
|
|
409
|
+
margin-right: 4px;
|
|
410
|
+
text-align: center;
|
|
411
|
+
vertical-align: middle;
|
|
412
|
+
color: inherit;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.apexcharts-tooltip-marker::before {
|
|
416
|
+
content: "";
|
|
417
|
+
display: inline-block;
|
|
418
|
+
width: 100%;
|
|
419
|
+
text-align: center;
|
|
420
|
+
color: currentcolor;
|
|
421
|
+
text-rendering: optimizeLegibility;
|
|
422
|
+
-webkit-font-smoothing: antialiased;
|
|
423
|
+
font-size: 26px;
|
|
424
|
+
font-family: Arial, Helvetica, sans-serif;
|
|
425
|
+
line-height: 14px;
|
|
426
|
+
font-weight: 900;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.apexcharts-tooltip-marker[shape="circle"]::before {
|
|
430
|
+
content: "\\25CF";
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.apexcharts-tooltip-marker[shape="square"]::before,
|
|
434
|
+
.apexcharts-tooltip-marker[shape="rect"]::before {
|
|
435
|
+
content: "\\25A0";
|
|
436
|
+
transform: translate(-1px, -2px);
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.apexcharts-tooltip-marker[shape="line"]::before {
|
|
440
|
+
content: "\\2500";
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.apexcharts-tooltip-marker[shape="diamond"]::before {
|
|
444
|
+
content: "\\25C6";
|
|
445
|
+
font-size: 28px;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.apexcharts-tooltip-marker[shape="triangle"]::before {
|
|
449
|
+
content: "\\25B2";
|
|
450
|
+
font-size: 22px;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.apexcharts-tooltip-marker[shape="cross"]::before {
|
|
454
|
+
content: "\\2715";
|
|
455
|
+
font-size: 18px;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.apexcharts-tooltip-marker[shape="plus"]::before {
|
|
459
|
+
content: "\\2715";
|
|
460
|
+
transform: rotate(45deg) translate(-1px, -1px);
|
|
461
|
+
font-size: 18px;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.apexcharts-tooltip-marker[shape="star"]::before {
|
|
465
|
+
content: "\\2605";
|
|
466
|
+
font-size: 18px;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.apexcharts-tooltip-marker[shape="sparkle"]::before {
|
|
470
|
+
content: "\\2726";
|
|
471
|
+
font-size: 20px;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.apexcharts-tooltip-series-group {
|
|
475
|
+
padding: 0 10px;
|
|
476
|
+
display: none;
|
|
477
|
+
text-align: left;
|
|
478
|
+
justify-content: left;
|
|
479
|
+
align-items: center
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-marker {
|
|
483
|
+
opacity: 1
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.apexcharts-tooltip-series-group.apexcharts-active,
|
|
487
|
+
.apexcharts-tooltip-series-group:last-child {
|
|
488
|
+
padding-bottom: 4px
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.apexcharts-tooltip-y-group {
|
|
492
|
+
padding: 6px 0 5px
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
.apexcharts-custom-tooltip,
|
|
496
|
+
.apexcharts-tooltip-box {
|
|
497
|
+
padding: 4px 8px
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
.apexcharts-tooltip-boxPlot {
|
|
501
|
+
display: flex;
|
|
502
|
+
flex-direction: column-reverse
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.apexcharts-tooltip-box>div {
|
|
506
|
+
margin: 4px 0
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
.apexcharts-tooltip-box span.value {
|
|
510
|
+
font-weight: 700
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.apexcharts-tooltip-rangebar {
|
|
514
|
+
padding: 5px 8px
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
.apexcharts-tooltip-rangebar .category {
|
|
518
|
+
font-weight: 600;
|
|
519
|
+
color: #777
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.apexcharts-tooltip-rangebar .series-name {
|
|
523
|
+
font-weight: 700;
|
|
524
|
+
display: block;
|
|
525
|
+
margin-bottom: 5px
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
.apexcharts-xaxistooltip,
|
|
529
|
+
.apexcharts-yaxistooltip {
|
|
530
|
+
opacity: 0;
|
|
531
|
+
pointer-events: none;
|
|
532
|
+
color: #373d3f;
|
|
533
|
+
font-size: 13px;
|
|
534
|
+
text-align: center;
|
|
535
|
+
border-radius: 2px;
|
|
536
|
+
position: absolute;
|
|
537
|
+
z-index: 10;
|
|
538
|
+
background: #eceff1;
|
|
539
|
+
border: 1px solid #90a4ae
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.apexcharts-xaxistooltip {
|
|
543
|
+
padding: 9px 10px;
|
|
544
|
+
transition: .15s ease all
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.apexcharts-xaxistooltip.apexcharts-theme-dark {
|
|
548
|
+
background: rgba(0, 0, 0, .7);
|
|
549
|
+
border: 1px solid rgba(0, 0, 0, .5);
|
|
550
|
+
color: #fff
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
.apexcharts-xaxistooltip:after,
|
|
554
|
+
.apexcharts-xaxistooltip:before {
|
|
555
|
+
left: 50%;
|
|
556
|
+
border: solid transparent;
|
|
557
|
+
content: " ";
|
|
558
|
+
height: 0;
|
|
559
|
+
width: 0;
|
|
560
|
+
position: absolute;
|
|
561
|
+
pointer-events: none
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.apexcharts-xaxistooltip:after {
|
|
565
|
+
border-color: transparent;
|
|
566
|
+
border-width: 6px;
|
|
567
|
+
margin-left: -6px
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
.apexcharts-xaxistooltip:before {
|
|
571
|
+
border-color: transparent;
|
|
572
|
+
border-width: 7px;
|
|
573
|
+
margin-left: -7px
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
.apexcharts-xaxistooltip-bottom:after,
|
|
577
|
+
.apexcharts-xaxistooltip-bottom:before {
|
|
578
|
+
bottom: 100%
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
.apexcharts-xaxistooltip-top:after,
|
|
582
|
+
.apexcharts-xaxistooltip-top:before {
|
|
583
|
+
top: 100%
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
.apexcharts-xaxistooltip-bottom:after {
|
|
587
|
+
border-bottom-color: #eceff1
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.apexcharts-xaxistooltip-bottom:before {
|
|
591
|
+
border-bottom-color: #90a4ae
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:after,
|
|
595
|
+
.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:before {
|
|
596
|
+
border-bottom-color: rgba(0, 0, 0, .5)
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
.apexcharts-xaxistooltip-top:after {
|
|
600
|
+
border-top-color: #eceff1
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
.apexcharts-xaxistooltip-top:before {
|
|
604
|
+
border-top-color: #90a4ae
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
.apexcharts-xaxistooltip-top.apexcharts-theme-dark:after,
|
|
608
|
+
.apexcharts-xaxistooltip-top.apexcharts-theme-dark:before {
|
|
609
|
+
border-top-color: rgba(0, 0, 0, .5)
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
.apexcharts-xaxistooltip.apexcharts-active {
|
|
613
|
+
opacity: 1;
|
|
614
|
+
transition: .15s ease all
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
.apexcharts-yaxistooltip {
|
|
618
|
+
padding: 4px 10px
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
.apexcharts-yaxistooltip.apexcharts-theme-dark {
|
|
622
|
+
background: rgba(0, 0, 0, .7);
|
|
623
|
+
border: 1px solid rgba(0, 0, 0, .5);
|
|
624
|
+
color: #fff
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
.apexcharts-yaxistooltip:after,
|
|
628
|
+
.apexcharts-yaxistooltip:before {
|
|
629
|
+
top: 50%;
|
|
630
|
+
border: solid transparent;
|
|
631
|
+
content: " ";
|
|
632
|
+
height: 0;
|
|
633
|
+
width: 0;
|
|
634
|
+
position: absolute;
|
|
635
|
+
pointer-events: none
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
.apexcharts-yaxistooltip:after {
|
|
639
|
+
border-color: transparent;
|
|
640
|
+
border-width: 6px;
|
|
641
|
+
margin-top: -6px
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
.apexcharts-yaxistooltip:before {
|
|
645
|
+
border-color: transparent;
|
|
646
|
+
border-width: 7px;
|
|
647
|
+
margin-top: -7px
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
.apexcharts-yaxistooltip-left:after,
|
|
651
|
+
.apexcharts-yaxistooltip-left:before {
|
|
652
|
+
left: 100%
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
.apexcharts-yaxistooltip-right:after,
|
|
656
|
+
.apexcharts-yaxistooltip-right:before {
|
|
657
|
+
right: 100%
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
.apexcharts-yaxistooltip-left:after {
|
|
661
|
+
border-left-color: #eceff1
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
.apexcharts-yaxistooltip-left:before {
|
|
665
|
+
border-left-color: #90a4ae
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
.apexcharts-yaxistooltip-left.apexcharts-theme-dark:after,
|
|
669
|
+
.apexcharts-yaxistooltip-left.apexcharts-theme-dark:before {
|
|
670
|
+
border-left-color: rgba(0, 0, 0, .5)
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
.apexcharts-yaxistooltip-right:after {
|
|
674
|
+
border-right-color: #eceff1
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
.apexcharts-yaxistooltip-right:before {
|
|
678
|
+
border-right-color: #90a4ae
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
.apexcharts-yaxistooltip-right.apexcharts-theme-dark:after,
|
|
682
|
+
.apexcharts-yaxistooltip-right.apexcharts-theme-dark:before {
|
|
683
|
+
border-right-color: rgba(0, 0, 0, .5)
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
.apexcharts-yaxistooltip.apexcharts-active {
|
|
687
|
+
opacity: 1
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
.apexcharts-yaxistooltip-hidden {
|
|
691
|
+
display: none
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
.apexcharts-xcrosshairs,
|
|
695
|
+
.apexcharts-ycrosshairs {
|
|
696
|
+
pointer-events: none;
|
|
697
|
+
opacity: 0;
|
|
698
|
+
transition: .15s ease all
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
.apexcharts-xcrosshairs.apexcharts-active,
|
|
702
|
+
.apexcharts-ycrosshairs.apexcharts-active {
|
|
703
|
+
opacity: 1;
|
|
704
|
+
transition: .15s ease all
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
.apexcharts-ycrosshairs-hidden {
|
|
708
|
+
opacity: 0
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
.apexcharts-selection-rect {
|
|
712
|
+
cursor: move
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
.svg_select_shape {
|
|
716
|
+
stroke-width: 1;
|
|
717
|
+
stroke-dasharray: 10 10;
|
|
718
|
+
stroke: black;
|
|
719
|
+
stroke-opacity: 0.1;
|
|
720
|
+
pointer-events: none;
|
|
721
|
+
fill: none;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
.svg_select_handle {
|
|
725
|
+
stroke-width: 3;
|
|
726
|
+
stroke: black;
|
|
727
|
+
fill: none;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
.svg_select_handle_r {
|
|
731
|
+
cursor: e-resize;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
.svg_select_handle_l {
|
|
735
|
+
cursor: w-resize;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
.apexcharts-svg.apexcharts-zoomable.hovering-zoom {
|
|
739
|
+
cursor: crosshair
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
.apexcharts-svg.apexcharts-zoomable.hovering-pan {
|
|
743
|
+
cursor: move
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
.apexcharts-menu-icon,
|
|
747
|
+
.apexcharts-pan-icon,
|
|
748
|
+
.apexcharts-reset-icon,
|
|
749
|
+
.apexcharts-selection-icon,
|
|
750
|
+
.apexcharts-toolbar-custom-icon,
|
|
751
|
+
.apexcharts-zoom-icon,
|
|
752
|
+
.apexcharts-zoomin-icon,
|
|
753
|
+
.apexcharts-zoomout-icon {
|
|
754
|
+
cursor: pointer;
|
|
755
|
+
width: 20px;
|
|
756
|
+
height: 20px;
|
|
757
|
+
line-height: 24px;
|
|
758
|
+
color: #6e8192;
|
|
759
|
+
text-align: center
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
.apexcharts-menu-icon svg,
|
|
763
|
+
.apexcharts-reset-icon svg,
|
|
764
|
+
.apexcharts-zoom-icon svg,
|
|
765
|
+
.apexcharts-zoomin-icon svg,
|
|
766
|
+
.apexcharts-zoomout-icon svg {
|
|
767
|
+
fill: #6e8192
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
.apexcharts-selection-icon svg {
|
|
771
|
+
fill: #444;
|
|
772
|
+
transform: scale(.76)
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
.apexcharts-theme-dark .apexcharts-menu-icon svg,
|
|
776
|
+
.apexcharts-theme-dark .apexcharts-pan-icon svg,
|
|
777
|
+
.apexcharts-theme-dark .apexcharts-reset-icon svg,
|
|
778
|
+
.apexcharts-theme-dark .apexcharts-selection-icon svg,
|
|
779
|
+
.apexcharts-theme-dark .apexcharts-toolbar-custom-icon svg,
|
|
780
|
+
.apexcharts-theme-dark .apexcharts-zoom-icon svg,
|
|
781
|
+
.apexcharts-theme-dark .apexcharts-zoomin-icon svg,
|
|
782
|
+
.apexcharts-theme-dark .apexcharts-zoomout-icon svg {
|
|
783
|
+
fill: #f3f4f5
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
.apexcharts-canvas .apexcharts-reset-zoom-icon.apexcharts-selected svg,
|
|
787
|
+
.apexcharts-canvas .apexcharts-selection-icon.apexcharts-selected svg,
|
|
788
|
+
.apexcharts-canvas .apexcharts-zoom-icon.apexcharts-selected svg {
|
|
789
|
+
fill: #008ffb
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
.apexcharts-theme-light .apexcharts-menu-icon:hover svg,
|
|
793
|
+
.apexcharts-theme-light .apexcharts-reset-icon:hover svg,
|
|
794
|
+
.apexcharts-theme-light .apexcharts-selection-icon:not(.apexcharts-selected):hover svg,
|
|
795
|
+
.apexcharts-theme-light .apexcharts-zoom-icon:not(.apexcharts-selected):hover svg,
|
|
796
|
+
.apexcharts-theme-light .apexcharts-zoomin-icon:hover svg,
|
|
797
|
+
.apexcharts-theme-light .apexcharts-zoomout-icon:hover svg {
|
|
798
|
+
fill: #333
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
.apexcharts-menu-icon,
|
|
802
|
+
.apexcharts-selection-icon {
|
|
803
|
+
position: relative
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
.apexcharts-reset-icon {
|
|
807
|
+
margin-left: 5px
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
.apexcharts-menu-icon,
|
|
811
|
+
.apexcharts-reset-icon,
|
|
812
|
+
.apexcharts-zoom-icon {
|
|
813
|
+
transform: scale(.85)
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
.apexcharts-zoomin-icon,
|
|
817
|
+
.apexcharts-zoomout-icon {
|
|
818
|
+
transform: scale(.7)
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
.apexcharts-zoomout-icon {
|
|
822
|
+
margin-right: 3px
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
.apexcharts-pan-icon {
|
|
826
|
+
transform: scale(.62);
|
|
827
|
+
position: relative;
|
|
828
|
+
left: 1px;
|
|
829
|
+
top: 0
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
.apexcharts-pan-icon svg {
|
|
833
|
+
fill: #fff;
|
|
834
|
+
stroke: #6e8192;
|
|
835
|
+
stroke-width: 2
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
.apexcharts-pan-icon.apexcharts-selected svg {
|
|
839
|
+
stroke: #008ffb
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
.apexcharts-pan-icon:not(.apexcharts-selected):hover svg {
|
|
843
|
+
stroke: #333
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
.apexcharts-toolbar {
|
|
847
|
+
position: absolute;
|
|
848
|
+
z-index: 11;
|
|
849
|
+
max-width: 176px;
|
|
850
|
+
text-align: right;
|
|
851
|
+
border-radius: 3px;
|
|
852
|
+
padding: 0 6px 2px;
|
|
853
|
+
display: flex;
|
|
854
|
+
justify-content: space-between;
|
|
855
|
+
align-items: center
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
.apexcharts-menu {
|
|
859
|
+
background: #fff;
|
|
860
|
+
position: absolute;
|
|
861
|
+
top: 100%;
|
|
862
|
+
border: 1px solid #ddd;
|
|
863
|
+
border-radius: 3px;
|
|
864
|
+
padding: 3px;
|
|
865
|
+
right: 10px;
|
|
866
|
+
opacity: 0;
|
|
867
|
+
min-width: 110px;
|
|
868
|
+
transition: .15s ease all;
|
|
869
|
+
pointer-events: none
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
.apexcharts-menu.apexcharts-menu-open {
|
|
873
|
+
opacity: 1;
|
|
874
|
+
pointer-events: all;
|
|
875
|
+
transition: .15s ease all
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
.apexcharts-menu-item {
|
|
879
|
+
padding: 6px 7px;
|
|
880
|
+
font-size: 12px;
|
|
881
|
+
cursor: pointer
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
.apexcharts-theme-light .apexcharts-menu-item:hover {
|
|
885
|
+
background: #eee
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
.apexcharts-theme-dark .apexcharts-menu {
|
|
889
|
+
background: rgba(0, 0, 0, .7);
|
|
890
|
+
color: #fff
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
@media screen and (min-width:768px) {
|
|
894
|
+
.apexcharts-canvas:hover .apexcharts-toolbar {
|
|
895
|
+
opacity: 1
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
.apexcharts-canvas .apexcharts-element-hidden,
|
|
900
|
+
.apexcharts-datalabel.apexcharts-element-hidden,
|
|
901
|
+
.apexcharts-hide .apexcharts-series-points {
|
|
902
|
+
opacity: 0;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
.apexcharts-hidden-element-shown {
|
|
906
|
+
opacity: 1;
|
|
907
|
+
transition: 0.25s ease all;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
.apexcharts-datalabel,
|
|
911
|
+
.apexcharts-datalabel-label,
|
|
912
|
+
.apexcharts-datalabel-value,
|
|
913
|
+
.apexcharts-datalabels,
|
|
914
|
+
.apexcharts-pie-label {
|
|
915
|
+
cursor: default;
|
|
916
|
+
pointer-events: none
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
.apexcharts-pie-label-delay {
|
|
920
|
+
opacity: 0;
|
|
921
|
+
animation-name: opaque;
|
|
922
|
+
animation-duration: .3s;
|
|
923
|
+
animation-fill-mode: forwards;
|
|
924
|
+
animation-timing-function: ease
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
.apexcharts-radialbar-label {
|
|
928
|
+
cursor: pointer;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
.apexcharts-annotation-rect,
|
|
932
|
+
.apexcharts-area-series .apexcharts-area,
|
|
933
|
+
.apexcharts-gridline,
|
|
934
|
+
.apexcharts-line,
|
|
935
|
+
.apexcharts-point-annotation-label,
|
|
936
|
+
.apexcharts-radar-series path:not(.apexcharts-marker),
|
|
937
|
+
.apexcharts-radar-series polygon,
|
|
938
|
+
.apexcharts-toolbar svg,
|
|
939
|
+
.apexcharts-tooltip .apexcharts-marker,
|
|
940
|
+
.apexcharts-xaxis-annotation-label,
|
|
941
|
+
.apexcharts-yaxis-annotation-label,
|
|
942
|
+
.apexcharts-zoom-rect,
|
|
943
|
+
.no-pointer-events {
|
|
944
|
+
pointer-events: none
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
.apexcharts-tooltip-active .apexcharts-marker {
|
|
948
|
+
transition: .15s ease all
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
.apexcharts-radar-series .apexcharts-yaxis {
|
|
952
|
+
pointer-events: none;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
.resize-triggers {
|
|
956
|
+
animation: 1ms resizeanim;
|
|
957
|
+
visibility: hidden;
|
|
958
|
+
opacity: 0;
|
|
959
|
+
height: 100%;
|
|
960
|
+
width: 100%;
|
|
961
|
+
overflow: hidden
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
.contract-trigger:before,
|
|
965
|
+
.resize-triggers,
|
|
966
|
+
.resize-triggers>div {
|
|
967
|
+
content: " ";
|
|
968
|
+
display: block;
|
|
969
|
+
position: absolute;
|
|
970
|
+
top: 0;
|
|
971
|
+
left: 0
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
.resize-triggers>div {
|
|
975
|
+
height: 100%;
|
|
976
|
+
width: 100%;
|
|
977
|
+
background: #eee;
|
|
978
|
+
overflow: auto
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
.contract-trigger:before {
|
|
982
|
+
overflow: hidden;
|
|
983
|
+
width: 200%;
|
|
984
|
+
height: 200%
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
.apexcharts-bar-goals-markers {
|
|
988
|
+
pointer-events: none
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
.apexcharts-bar-shadows {
|
|
992
|
+
pointer-events: none
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
.apexcharts-rangebar-goals-markers {
|
|
996
|
+
pointer-events: none
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
.apexcharts-disable-transitions * {
|
|
1000
|
+
transition: none !important;
|
|
1001
|
+
}`;var u=((c=e.opts.chart)===null||c===void 0?void 0:c.nonce)||e.w.config.chart.nonce;u&&l.setAttribute("nonce",u),n?r.prepend(l):e.w.config.chart.injectStyleSheet!==!1&&o.head.appendChild(l)}var d=e.create(e.w.config.series,{});if(!d)return t(e);e.mount(d).then((function(){typeof e.w.config.chart.events.mounted=="function"&&e.w.config.chart.events.mounted(e,e.w),e.events.fireEvent("mounted",[e,e.w]),t(d)})).catch((function(h){a(h)}))}else a(new Error("Element not found"))}))}},{key:"create",value:function(e,t){var a=this,s=this.w;new Bg(this).initModules();var r=this.w.globals;if(r.noData=!1,r.animationEnded=!1,!T.elementExists(this.el)||(this.responsive.checkResponsiveConfig(t),s.config.xaxis.convertedCatToNumeric&&new Br(s.config).convertCatToNumericXaxis(s.config,this.ctx),this.core.setupElements(),s.config.chart.type==="treemap"&&(s.config.grid.show=!1,s.config.yaxis[0].show=!1),r.svgWidth===0))return r.animationEnded=!0,null;var n=e;e.forEach((function(h,f){h.hidden&&(n=a.legend.legendHelpers.getSeriesAfterCollapsing({realIndex:f}))}));var o=nt.checkComboSeries(n,s.config.chart.type);r.comboCharts=o.comboCharts,r.comboBarCount=o.comboBarCount;var l=n.every((function(h){return h.data&&h.data.length===0}));(n.length===0||l&&r.collapsedSeries.length<1)&&this.series.handleNoData(),this.events.setupEventHandlers(),this.data.parseData(n),this.theme.init(),new qs(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),r.noData&&r.collapsedSeries.length!==r.series.length&&!s.config.legend.showForSingleSeries||this.legend.init(),this.series.hasAllSeriesEqualX(),r.axisCharts&&(this.core.coreCalculations(),s.config.xaxis.type!=="category"&&this.formatters.setLabelFormatters(),this.ctx.toolbar.minX=s.globals.minX,this.ctx.toolbar.maxX=s.globals.maxX),this.formatters.heatmapLabelFormatters(),new nt(this).getLargestMarkerSize(),this.dimensions.plotCoords();var c=this.core.xySettings();this.grid.createGridMask();var u=this.core.plotChartType(n,c),d=new Rs(this);return d.bringForward(),s.config.dataLabels.background.enabled&&d.dataLabelsBackground(),this.core.shiftGraphPosition(),s.globals.dataPoints>50&&s.globals.dom.elWrap.classList.add("apexcharts-disable-transitions"),{elGraph:u,xyRatios:c,dimensions:{plot:{left:s.globals.translateX,top:s.globals.translateY,width:s.globals.gridWidth,height:s.globals.gridHeight}}}}},{key:"mount",value:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this,s=a.w;return new Promise((function(r,n){if(a.el===null)return n(new Error("Not enough data to display or target element not found"));(t===null||s.globals.allSeriesCollapsed)&&a.series.handleNoData(),a.grid=new Mx(a);var o,l,c=a.grid.drawGrid();if(a.annotations=new Y_(a),a.annotations.drawImageAnnos(),a.annotations.drawTextAnnos(),s.config.grid.position==="back"&&(c&&s.globals.dom.elGraphical.add(c.el),c!=null&&(o=c.elGridBorders)!==null&&o!==void 0&&o.node&&s.globals.dom.elGraphical.add(c.elGridBorders)),Array.isArray(t.elGraph))for(var u=0;u<t.elGraph.length;u++)s.globals.dom.elGraphical.add(t.elGraph[u]);else s.globals.dom.elGraphical.add(t.elGraph);s.config.grid.position==="front"&&(c&&s.globals.dom.elGraphical.add(c.el),c!=null&&(l=c.elGridBorders)!==null&&l!==void 0&&l.node&&s.globals.dom.elGraphical.add(c.elGridBorders)),s.config.xaxis.crosshairs.position==="front"&&a.crosshairs.drawXCrosshairs(),s.config.yaxis[0].crosshairs.position==="front"&&a.crosshairs.drawYCrosshairs(),s.config.chart.type!=="treemap"&&a.axes.drawAxis(s.config.chart.type,c);var d=new Wr(e.ctx,c),h=new _d(e.ctx,c);if(c!==null&&(d.xAxisLabelCorrections(c.xAxisTickWidth),h.setYAxisTextAlignments(),s.config.yaxis.map((function(g,p){s.globals.ignoreYAxisIndexes.indexOf(p)===-1&&h.yAxisTitleRotate(p,g.opposite)}))),a.annotations.drawAxesAnnotations(),!s.globals.noData){if(s.config.tooltip.enabled&&!s.globals.noData&&a.w.globals.tooltip.drawTooltip(t.xyRatios),s.globals.axisCharts&&(s.globals.isXNumeric||s.config.xaxis.convertedCatToNumeric||s.globals.isRangeBar))(s.config.chart.zoom.enabled||s.config.chart.selection&&s.config.chart.selection.enabled||s.config.chart.pan&&s.config.chart.pan.enabled)&&a.zoomPanSelection.init({xyRatios:t.xyRatios});else{var f=s.config.chart.toolbar.tools;["zoom","zoomin","zoomout","selection","pan","reset"].forEach((function(g){f[g]=!1}))}s.config.chart.toolbar.show&&!s.globals.allSeriesCollapsed&&a.toolbar.createToolbar()}s.globals.memory.methodsToExec.length>0&&s.globals.memory.methodsToExec.forEach((function(g){g.method(g.params,!1,g.context)})),s.globals.axisCharts||s.globals.noData||a.core.resizeNonAxisCharts(),r(a)}))}},{key:"destroy",value:function(){window.removeEventListener("resize",this.windowResizeHandler),(function(t,a){var s=ac.get(a);s&&(s.disconnect(),ac.delete(a))})(this.el.parentNode,this.parentResizeHandler);var e=this.w.config.chart.id;e&&Apex._chartInstances.forEach((function(t,a){t.id===T.escapeString(e)&&Apex._chartInstances.splice(a,1)})),new Hg(this.ctx).clear({isUpdating:!1})}},{key:"updateOptions",value:function(e){var t=this,a=arguments.length>1&&arguments[1]!==void 0&&arguments[1],s=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],r=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],n=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],o=this.w;return o.globals.selection=void 0,this.lastUpdateOptions&&JSON.stringify(this.lastUpdateOptions)===JSON.stringify(e)?this:(e.series&&(this.data.resetParsingFlags(),this.series.resetSeries(!1,!0,!1),e.series.length&&e.series[0].data&&(e.series=e.series.map((function(l,c){return t.updateHelpers._extendSeries(l,c)}))),this.updateHelpers.revertDefaultAxisMinMax()),e.xaxis&&(e=this.updateHelpers.forceXAxisUpdate(e)),e.yaxis&&(e=this.updateHelpers.forceYAxisUpdate(e)),o.globals.collapsedSeriesIndices.length>0&&this.series.clearPreviousPaths(),e.theme&&(e=this.theme.updateThemeOptions(e)),this.updateHelpers._updateOptions(e,a,s,r,n))}},{key:"updateSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];return this.data.resetParsingFlags(),this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(e,t,a)}},{key:"appendSeries",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];this.data.resetParsingFlags();var s=this.w.config.series.slice();return s.push(e),this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(s,t,a)}},{key:"appendData",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=this;a.data.resetParsingFlags(),a.w.globals.dataChanged=!0,a.series.getPreviousPaths();for(var s=a.w.config.series.slice(),r=0;r<s.length;r++)if(e[r]!==null&&e[r]!==void 0)for(var n=0;n<e[r].data.length;n++)s[r].data.push(e[r].data[n]);return a.w.config.series=s,t&&(a.w.globals.initialSeries=T.clone(a.w.config.series)),this.update()}},{key:"update",value:function(e){var t=this;return new Promise((function(a,s){if(t.lastUpdateOptions&&JSON.stringify(t.lastUpdateOptions)===JSON.stringify(e))return a(t);t.lastUpdateOptions=T.clone(e),new Hg(t.ctx).clear({isUpdating:!0});var r=t.create(t.w.config.series,e);if(!r)return a(t);t.mount(r).then((function(){typeof t.w.config.chart.events.updated=="function"&&t.w.config.chart.events.updated(t,t.w),t.events.fireEvent("updated",[t,t.w]),t.w.globals.isDirty=!0,a(t)})).catch((function(n){s(n)}))}))}},{key:"getSyncedCharts",value:function(){var e=this.getGroupedCharts(),t=[this];return e.length&&(t=[],e.forEach((function(a){t.push(a)}))),t}},{key:"getGroupedCharts",value:function(){var e=this;return Apex._chartInstances.filter((function(t){if(t.group)return!0})).map((function(t){return e.w.config.chart.group===t.group?t.chart:e}))}},{key:"toggleSeries",value:function(e){return this.series.toggleSeries(e)}},{key:"highlightSeriesOnLegendHover",value:function(e,t){return this.series.toggleSeriesOnHover(e,t)}},{key:"showSeries",value:function(e){this.series.showSeries(e)}},{key:"hideSeries",value:function(e){this.series.hideSeries(e)}},{key:"highlightSeries",value:function(e){this.series.highlightSeries(e)}},{key:"isSeriesHidden",value:function(e){this.series.isSeriesHidden(e)}},{key:"resetSeries",value:function(){var e=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];this.series.resetSeries(e,t)}},{key:"addEventListener",value:function(e,t){this.events.addEventListener(e,t)}},{key:"removeEventListener",value:function(e,t){this.events.removeEventListener(e,t)}},{key:"addXaxisAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,s=this;a&&(s=a),s.annotations.addXaxisAnnotationExternal(e,t,s)}},{key:"addYaxisAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,s=this;a&&(s=a),s.annotations.addYaxisAnnotationExternal(e,t,s)}},{key:"addPointAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,s=this;a&&(s=a),s.annotations.addPointAnnotationExternal(e,t,s)}},{key:"clearAnnotations",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,t=this;e&&(t=e),t.annotations.clearAnnotations(t)}},{key:"removeAnnotation",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,a=this;t&&(a=t),a.annotations.removeAnnotation(a,e)}},{key:"getChartArea",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner")}},{key:"getSeriesTotalXRange",value:function(e,t){return this.coreUtils.getSeriesTotalsXRange(e,t)}},{key:"getHighestValueInSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new gu(this.ctx).getMinYMaxY(e).highestY}},{key:"getLowestValueInSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new gu(this.ctx).getMinYMaxY(e).lowestY}},{key:"getSeriesTotal",value:function(){return this.w.globals.seriesTotals}},{key:"toggleDataPointSelection",value:function(e,t){return this.updateHelpers.toggleDataPointSelection(e,t)}},{key:"zoomX",value:function(e,t){this.ctx.toolbar.zoomUpdateOptions(e,t)}},{key:"setLocale",value:function(e){this.localization.setCurrentLocaleValues(e)}},{key:"dataURI",value:function(e){return new wr(this.ctx).dataURI(e)}},{key:"getSvgString",value:function(e){return new wr(this.ctx).getSvgString(e)}},{key:"exportToCSV",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new wr(this.ctx).exportToCSV(e)}},{key:"paper",value:function(){return this.w.globals.dom.Paper}},{key:"_parentResizeCallback",value:function(){this.w.globals.animationEnded&&this.w.config.chart.redrawOnParentResize&&this._windowResize()}},{key:"_windowResize",value:function(){var e=this;clearTimeout(this.w.globals.resizeTimer),this.w.globals.resizeTimer=window.setTimeout((function(){e.w.globals.resized=!0,e.w.globals.dataChanged=!1,e.ctx.update()}),150)}},{key:"_windowResizeHandler",value:function(){var e=this.w.config.chart.redrawOnWindowResize;typeof e=="function"&&(e=e()),e&&this._windowResize()}}],[{key:"getChartByID",value:function(e){var t=T.escapeString(e);if(Apex._chartInstances){var a=Apex._chartInstances.filter((function(s){return s.id===t}))[0];return a&&a.chart}}},{key:"initOnLoad",value:function(){for(var e=document.querySelectorAll("[data-apexcharts]"),t=0;t<e.length;t++)new i(e[t],JSON.parse(e[t].getAttribute("data-options"))).render()}},{key:"exec",value:function(e,t){var a=this.getChartByID(e);if(a){a.w.globals.isExecCalled=!0;var s=null;if(a.publicMethods.indexOf(t)!==-1){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];s=a[t].apply(a,n)}return s}}},{key:"merge",value:function(e,t){return T.extend(e,t)}},{key:"getThemePalettes",value:function(){return{palette1:["#008FFB","#00E396","#FEB019","#FF4560","#775DD0"],palette2:["#3F51B5","#03A9F4","#4CAF50","#F9CE1D","#FF9800"],palette3:["#33B2DF","#546E7A","#D4526E","#13D8AA","#A5978B"],palette4:["#4ECDC4","#C7F464","#81D4FA","#FD6A6A","#546E7A"],palette5:["#2B908F","#F9A3A4","#90EE7E","#FA4443","#69D2E7"],palette6:["#449DD1","#F86624","#EA3546","#662E9B","#C5D86D"],palette7:["#D7263D","#1B998B","#2E294E","#F46036","#E2C044"],palette8:["#662E9B","#F86624","#F9C80E","#EA3546","#43BCCD"],palette9:["#5C4742","#A5978B","#8D5B4C","#5A2A27","#C4BBAF"],palette10:["#A300D6","#7D02EB","#5653FE","#2983FF","#00B1F2"]}}}]),i})();const jg=["animationEnd","beforeMount","mounted","updated","click","mouseMove","mouseLeave","legendClick","markerClick","selection","dataPointSelection","dataPointMouseEnter","dataPointMouseLeave","beforeZoom","beforeResetZoom","zoomed","scrolled","brushScrolled"],wo=Io({name:"apexchart",props:{options:{type:Object},type:{type:String},series:{type:Array,required:!0},width:{default:"100%"},height:{default:"auto"}},emits:jg,setup(i,{emit:e}){const t=Ze(null),a=Ze(null),s=E=>E&&typeof E=="object"&&!Array.isArray(E)&&E!=null,r=(E,P)=>{typeof Object.assign!="function"&&(function(){Object.assign=function(L){if(L==null)throw new TypeError("Cannot convert undefined or null to object");let B=Object(L);for(let N=1;N<arguments.length;N++){let F=arguments[N];if(F!=null)for(let H in F)F.hasOwnProperty(H)&&(B[H]=F[H])}return B}})();let D=Object.assign({},E);return s(E)&&s(P)&&Object.keys(P).forEach(L=>{s(P[L])?L in E?D[L]=r(E[L],P[L]):Object.assign(D,{[L]:P[L]}):Object.assign(D,{[L]:P[L]})}),D},n=async()=>{if(await Xr(),a.value)return;const E={chart:{type:i.type||i.options.chart.type||"line",height:i.height,width:i.width,events:{}},series:i.series},P=i.options.chart?i.options.chart.events:null;jg.forEach(L=>{let B=(...N)=>e(L,...N);E.chart.events[L]=(...N)=>{B(...N),P&&P.hasOwnProperty(L)&&P[L](...N)}});const D=r(i.options,E);return a.value=new Wg(t.value,D),a.value.render()},o=()=>(l(),n()),l=()=>{a.value.destroy(),a.value=null},c=(E,P)=>a.value.updateSeries(E,P),u=(E,P,D,L)=>a.value.updateOptions(E,P,D,L),d=E=>a.value.toggleSeries(E),h=E=>{a.value.showSeries(E)},f=E=>{a.value.hideSeries(E)},g=(E,P)=>a.value.appendSeries(E,P),p=()=>{a.value.resetSeries()},m=(E,P)=>{a.value.toggleDataPointSelection(E,P)},v=E=>a.value.appendData(E),b=(E,P)=>a.value.zoomX(E,P),x=E=>a.value.dataURI(E),k=E=>a.value.setLocale(E),y=(E,P)=>{a.value.addXaxisAnnotation(E,P)},A=(E,P)=>{a.value.addYaxisAnnotation(E,P)},w=(E,P)=>{a.value.addPointAnnotation(E,P)},S=(E,P)=>{a.value.removeAnnotation(E,P)},C=()=>{a.value.clearAnnotations()};Np(()=>{window.ApexCharts=Wg}),Fu(()=>{t.value=Ki().proxy.$el,n()}),zu(()=>{a.value&&l()});const M=Ru(i);return At(M.options,()=>{!a.value&&i.options?n():a.value.updateOptions(i.options)}),At(M.series,()=>{!a.value&&i.series?n():a.value.updateSeries(i.series)},{deep:!0}),At(M.type,()=>{o()}),At(M.width,()=>{o()}),At(M.height,()=>{o()}),{chart:a,init:n,refresh:o,destroy:l,updateOptions:u,updateSeries:c,toggleSeries:d,showSeries:h,hideSeries:f,resetSeries:p,zoomX:b,toggleDataPointSelection:m,appendData:v,appendSeries:g,addXaxisAnnotation:y,addYaxisAnnotation:A,addPointAnnotation:w,removeAnnotation:S,clearAnnotations:C,setLocale:k,dataURI:x}},render(){return qr("div",{class:"vue-apexcharts"})}}),AI=i=>{i.component(wo.name,wo)};wo.install=AI;function SI(i){i.use(ja).use(DA).use(FM).use(ua).use(n_).use(o_).use(wo)}const CI=(i,e)=>{const t=i.__vccOpts||i;for(const[a,s]of e)t[a]=s;return t},MI={};function EI(i,e){const t=tw("router-view");return Pr(),to(Tw,null,{default:Ap(()=>[at(t)]),_:1})}const PI=CI(MI,[["render",EI]]);let zx;fetch("/config.json").then(i=>{i.json().then(e=>{if(!e.API_BASE_URL)throw Error("API_BASE_URL is not defined in config.json");zx=e,ce.defaults.baseURL=e.API_BASE_URL;const t=_0(PI);SI(t),t.mount("#app"),t.provide("$config",e)})});const Bx=()=>zx;export{Fp as $,At as A,BI as B,ZT as C,xe as D,ce as E,kt as F,ed as G,ja as H,FI as I,bk as J,zo as K,Fm as L,II as M,yk as N,Je as O,Mk as P,F0 as Q,UT as R,Ru as S,ZI as T,RT as U,O0 as V,VT as W,NI as X,_I as Y,Bw as Z,CI as _,at as a,qy as a$,Op as a0,Xr as a1,Mo as a2,ar as a3,Io as a4,qr as a5,Ck as a6,kr as a7,Lo as a8,Lt as a9,Gr as aA,$T as aB,LI as aC,Vu as aD,uT as aE,TT as aF,DT as aG,_m as aH,_T as aI,ok as aJ,qa as aK,pl as aL,oT as aM,Eo as aN,Am as aO,eT as aP,KI as aQ,IT as aR,Wi as aS,lk as aT,LT as aU,Np as aV,qI as aW,Os as aX,kT as aY,oc as aZ,Gy as a_,sT as aa,V0 as ab,kn as ac,YI as ad,ha as ae,GT as af,qT as ag,Ti as ah,JI as ai,rT as aj,Ot as ak,AT as al,xT as am,bT as an,U0 as ao,OT as ap,QI as aq,tT as ar,Lk as as,R0 as at,ym as au,DI as av,zu as aw,Di as ax,HT as ay,jT as az,bD as b,mn as b0,YT as b1,jr as b2,dT as b3,Dy as b4,rk as b5,PT as b6,hk as b7,$I as b8,fk as b9,wT as bA,yh as bB,Ky as bC,NT as bD,GI as bE,yc as bF,vT as bG,XT as bH,nT as bI,MT as bJ,mT as bK,Lu as bL,ma as bM,vD as bN,lT as bO,WT as bP,vA as bQ,UI as bR,Ny as bS,Ki as bT,CT as bU,aT as bV,hT as ba,jI as bb,cT as bc,JT as bd,Sm as be,Ut as bf,ST as bg,rt as bh,BT as bi,W0 as bj,Oo as bk,pT as bl,VI as bm,ET as bn,Bx as bo,iT as bp,fT as bq,zT as br,FT as bs,Pe as bt,D0 as bu,gT as bv,yT as bw,j0 as bx,TI as by,Y0 as bz,to as c,Fu as d,gs as e,ei as f,zI as g,C1 as h,Ze as i,ze as j,ue as k,Hw as l,HI as m,WI as n,Pr as o,OM as p,XI as q,tw as r,KT as s,dy as t,Go as u,RI as v,Ap as w,cm as x,OI as y,Yr as z};
|