graphdb-workbench 3.3.2-TR1 → 3.3.3-RC1
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.
- package/dist/{10759.b2e1d643d681ebd9c124.bundle.js → 10759.57059f90014058a86952.bundle.js} +2 -2
- package/dist/10759.57059f90014058a86952.bundle.js.map +1 -0
- package/dist/13231.8bbbe30c10e6c0dfdba3.bundle.js +2 -0
- package/dist/13231.8bbbe30c10e6c0dfdba3.bundle.js.map +1 -0
- package/dist/{18961.01ff5fcc0f4b9f99236e.bundle.js → 18961.732c0c355509452ac6da.bundle.js} +2 -2
- package/dist/18961.732c0c355509452ac6da.bundle.js.map +1 -0
- package/dist/{20694.a738f5634ec09369dc85.bundle.js → 20694.03b5abf23347ae0bad65.bundle.js} +2 -2
- package/dist/20694.03b5abf23347ae0bad65.bundle.js.map +1 -0
- package/dist/21015.6db2b66597f78d4b83cc.bundle.js +2 -0
- package/dist/21015.6db2b66597f78d4b83cc.bundle.js.map +1 -0
- package/dist/2975.c5ebc3e3ad52df3ab907.bundle.js +2 -0
- package/dist/2975.c5ebc3e3ad52df3ab907.bundle.js.map +1 -0
- package/dist/{38644.37a8cd71112da94401d9.bundle.js → 38644.8585127c40697ea58e00.bundle.js} +2 -2
- package/dist/{38644.37a8cd71112da94401d9.bundle.js.map → 38644.8585127c40697ea58e00.bundle.js.map} +1 -1
- package/dist/{39518.2871b32c37b20075dba3.bundle.js → 39518.0acc5eb68f38cc6b62a5.bundle.js} +2 -2
- package/dist/{39518.2871b32c37b20075dba3.bundle.js.map → 39518.0acc5eb68f38cc6b62a5.bundle.js.map} +1 -1
- package/dist/39874.17dde6245fc4cc91bb58.bundle.js +2 -0
- package/dist/39874.17dde6245fc4cc91bb58.bundle.js.map +1 -0
- package/dist/{45758.1212136a37dd4f7528f8.bundle.js → 45758.b9ce5fe0ed6c8c4fc141.bundle.js} +2 -2
- package/dist/45758.b9ce5fe0ed6c8c4fc141.bundle.js.map +1 -0
- package/dist/60560.62ed0cb0b3d07fecbf28.bundle.js +2 -0
- package/dist/60560.62ed0cb0b3d07fecbf28.bundle.js.map +1 -0
- package/dist/{60730.35493812d428872eddb6.bundle.js → 60730.a9fc5342637039776562.bundle.js} +2 -2
- package/dist/60730.a9fc5342637039776562.bundle.js.map +1 -0
- package/dist/{64118.b06aebc9f8d7e822244f.bundle.js → 64118.177457589341de779668.bundle.js} +2 -2
- package/dist/64118.177457589341de779668.bundle.js.map +1 -0
- package/dist/{67888.b75d9678cf65cd82f065.bundle.js → 67888.0f7d008c6f62683e2c62.bundle.js} +2 -2
- package/dist/{67888.b75d9678cf65cd82f065.bundle.js.map → 67888.0f7d008c6f62683e2c62.bundle.js.map} +1 -1
- package/dist/71099.ba1073458b96d9789756.bundle.js +2 -0
- package/dist/71099.ba1073458b96d9789756.bundle.js.map +1 -0
- package/dist/75881.148ce498d06784abfd6c.bundle.js +2 -0
- package/dist/75881.148ce498d06784abfd6c.bundle.js.map +1 -0
- package/dist/78070.d54ede951a08e1c8689d.bundle.js +2 -0
- package/dist/78070.d54ede951a08e1c8689d.bundle.js.map +1 -0
- package/dist/7815.89cc59b6625e84913351.bundle.js +2 -0
- package/dist/7815.89cc59b6625e84913351.bundle.js.map +1 -0
- package/dist/78681.6c8614aad7e5465be505.bundle.js +2 -0
- package/dist/78681.6c8614aad7e5465be505.bundle.js.map +1 -0
- package/dist/{82206.229877d7931849236456.bundle.js → 82206.473f6d4f79e12f6a9da6.bundle.js} +2 -2
- package/dist/82206.473f6d4f79e12f6a9da6.bundle.js.map +1 -0
- package/dist/{82926.99231caacc379c66487a.bundle.js → 82926.7d300bdaae879f385185.bundle.js} +2 -2
- package/dist/{82926.99231caacc379c66487a.bundle.js.map → 82926.7d300bdaae879f385185.bundle.js.map} +1 -1
- package/dist/{94229.47dbdba202106c61dff1.bundle.js → 94229.5a853fae006f6ef633af.bundle.js} +2 -2
- package/dist/94229.5a853fae006f6ef633af.bundle.js.map +1 -0
- package/dist/95953.1350a9dc14b22372b4e2.bundle.js +2 -0
- package/dist/95953.1350a9dc14b22372b4e2.bundle.js.map +1 -0
- package/dist/98268.a1bd17e40ede031a0a00.bundle.js +2 -0
- package/dist/98268.a1bd17e40ede031a0a00.bundle.js.map +1 -0
- package/dist/{99448.272a4ba1ce8032167bea.bundle.js → 99448.147164e93b1ab3a87d36.bundle.js} +2 -2
- package/dist/{99448.272a4ba1ce8032167bea.bundle.js.map → 99448.147164e93b1ab3a87d36.bundle.js.map} +1 -1
- package/dist/api/models/cookie/cookie-options.d.ts +17 -0
- package/dist/api/models/cookie/index.d.ts +1 -1
- package/dist/api/models/security/authenticated-user.d.ts +2 -0
- package/dist/api/models/tracking/cookie-consent.d.ts +39 -0
- package/dist/api/models/tracking/index.d.ts +1 -0
- package/dist/api/models/users/app-settings.d.ts +2 -2
- package/dist/api/ontotext-workbench-api.d.ts +3 -1
- package/dist/api/ontotext-workbench-api.js +1 -1
- package/dist/api/ontotext-workbench-api.js.map +1 -1
- package/dist/api/services/cookie/browser-cookie-store.d.ts +19 -0
- package/dist/api/services/cookie/cookie-builder.d.ts +77 -0
- package/dist/api/services/cookie/cookie-store.d.ts +16 -0
- package/dist/api/services/cookie/cookie.service.d.ts +34 -7
- package/dist/api/services/cookie/error/invalid-cookie-expiration.d.ts +8 -0
- package/dist/api/services/cookie/index.d.ts +3 -0
- package/dist/api/services/cookie/test/cookie-builder.spec.d.ts +1 -0
- package/dist/api/services/cookie/test/in-memory-cookie-store.d.ts +11 -0
- package/dist/api/services/security/auth-strategies/tests/provider-response-mocks.d.ts +2 -2
- package/dist/api/services/security/security-context.service.d.ts +6 -0
- package/dist/api/services/tracking/google-analytics-cookie.service.d.ts +50 -0
- package/dist/api/services/tracking/index.d.ts +4 -0
- package/dist/api/services/tracking/installation-cookie.service.d.ts +37 -0
- package/dist/api/services/tracking/test/tracking-storage.service.spec.d.ts +1 -0
- package/dist/api/services/tracking/test/tracking.service.spec.d.ts +1 -0
- package/dist/api/services/tracking/tracking-storage.service.d.ts +27 -0
- package/dist/api/services/tracking/tracking.service.d.ts +56 -0
- package/dist/api/services/users/response/user-response.d.ts +1 -1
- package/dist/api/services/utils/date-util.d.ts +11 -0
- package/dist/api/services/utils/index.d.ts +1 -0
- package/dist/api/services/window/window.service.d.ts +6 -0
- package/dist/assets/i18n/fr.json +1 -1
- package/dist/index.html +9 -9
- package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +1 -1
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/dynamic-form/templates/dynamic-form.html +1 -1
- package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
- package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
- package/dist/js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html +1 -1
- package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +2 -2
- package/dist/js/angular/core/templates/cookie-policy/cookie-consent.html +1 -1
- package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +1 -1
- package/dist/js/angular/core/templates/editable-content/editable-content.html +1 -1
- package/dist/js/angular/core/templates/markdown-content/markdown-content.html +1 -1
- package/dist/js/angular/core/templates/search-resource-input.html +1 -1
- package/dist/js/angular/graphql/templates/create-graphql-endpoint.html +2 -2
- package/dist/js/angular/graphql/templates/graphql-endpoint-management.html +1 -1
- package/dist/js/angular/graphql/templates/graphql-playground.html +2 -2
- package/dist/js/angular/graphql/templates/modal/endpoint-configuration-modal.html +1 -1
- package/dist/js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html +1 -1
- package/dist/js/angular/graphql/templates/modal/import-endpoint-definition-modal.html +1 -1
- package/dist/js/angular/security/templates/user.html +5 -2
- package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
- package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-item-detail.html +3 -2
- package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
- package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +1 -1
- package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +3 -3
- package/dist/js/angular/ttyg/templates/modal/external-integration-configuration-modal.html +1 -1
- package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
- package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
- package/dist/legacyWorkbench.f1ed8e359786e8adeab2.js +3 -0
- package/dist/{legacyWorkbench.88e1d4d209e51c6f9b65.js.map → legacyWorkbench.f1ed8e359786e8adeab2.js.map} +1 -1
- package/dist/license-checker-static.json +0 -7
- package/dist/main.a67c284710a8b9a98ca2.js +3 -0
- package/dist/main.a67c284710a8b9a98ca2.js.map +1 -0
- package/dist/pages/aclmanagement.html +1 -1
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +3 -3
- package/dist/pages/create-index.html +1 -1
- package/dist/pages/dependencies.html +1 -1
- package/dist/pages/domainRangeInfo.html +2 -2
- package/dist/pages/edit.html +1 -1
- package/dist/pages/explore.html +1 -1
- package/dist/pages/export.html +1 -1
- package/dist/pages/find.html +1 -1
- package/dist/pages/graph-config/saveGraphConfig.html +8 -8
- package/dist/pages/graphs-visualizations.html +7 -7
- package/dist/pages/guides.html +1 -1
- package/dist/pages/home.html +1 -1
- package/dist/pages/import.html +2 -2
- package/dist/pages/jdbc-create.html +1 -1
- package/dist/pages/jdbc.html +1 -1
- package/dist/pages/monitor/backup-and-restore.html +1 -1
- package/dist/pages/monitor/queries.html +1 -1
- package/dist/pages/monitor/resources.html +1 -1
- package/dist/pages/namespaces.html +2 -2
- package/dist/pages/plugins.html +1 -1
- package/dist/pages/rdfClassHierarchyInfo.html +7 -7
- package/dist/pages/rdfrank.html +2 -2
- package/dist/pages/repositories.html +1 -1
- package/dist/pages/repository.html +1 -1
- package/dist/pages/similarity-indexes.html +1 -1
- package/dist/pages/sparql-editor.html +1 -1
- package/dist/pages/sparql-template-create.html +1 -1
- package/dist/pages/sparql-templates.html +1 -1
- package/dist/pages/ux-test1.html +2 -2
- package/dist/pages/webapi.html +4 -3
- package/dist/res/swagger5/index.html +11 -11
- package/dist/res/swagger5/swagger-initializer.js +1 -1
- package/dist/shared-components/cjs/function-utils-WB47AWpR.js +1 -0
- package/dist/shared-components/cjs/index-CTK5NoJt.js +2 -0
- package/dist/shared-components/cjs/loader.cjs.js +1 -1
- package/dist/shared-components/cjs/onto-cookie-consent_2.cjs.entry.js +1 -1
- package/dist/shared-components/cjs/onto-dialog_2.cjs.entry.js +1 -1
- package/dist/shared-components/cjs/onto-dropdown.cjs.entry.js +1 -1
- package/dist/shared-components/cjs/onto-footer_5.cjs.entry.js +1 -1
- package/dist/shared-components/cjs/onto-language-selector_9.cjs.entry.js +1 -1
- package/dist/shared-components/cjs/onto-layout.cjs.entry.js +1 -1
- package/dist/shared-components/cjs/onto-permission-banner.cjs.entry.js +1 -1
- package/dist/shared-components/cjs/onto-test-context.cjs.entry.js +1 -1
- package/dist/shared-components/cjs/onto-toastr.cjs.entry.js +1 -1
- package/dist/shared-components/cjs/shared-components.cjs.js +1 -1
- package/dist/shared-components/cjs/translate-label.cjs.entry.js +1 -1
- package/dist/shared-components/collection/collection-manifest.json +2 -2
- package/dist/shared-components/collection/components/dialogs/onto-cookie-policy-dialog/onto-cookie-policy-dialog.js +1 -1
- package/dist/shared-components/collection/components/dialogs/onto-dialog.js +1 -1
- package/dist/shared-components/collection/components/onto-cookie-consent/onto-cookie-consent.css +1 -1
- package/dist/shared-components/collection/components/onto-cookie-consent/onto-cookie-consent.js +1 -1
- package/dist/shared-components/collection/components/onto-dropdown/onto-dropdown.js +1 -1
- package/dist/shared-components/collection/components/onto-footer/onto-footer.js +1 -1
- package/dist/shared-components/collection/components/onto-language-selector/onto-language-selector.js +1 -1
- package/dist/shared-components/collection/components/onto-license-alert/onto-license-alert.js +1 -1
- package/dist/shared-components/collection/components/onto-loader/onto-loader.js +1 -1
- package/dist/shared-components/collection/components/onto-navbar/onto-navbar.js +1 -1
- package/dist/shared-components/collection/components/onto-operations-notification/onto-operations-notification.js +1 -1
- package/dist/shared-components/collection/components/onto-repository-selector/onto-repository-selector.js +1 -1
- package/dist/shared-components/collection/components/onto-search-resource-input/onto-search-resource-input.js +1 -1
- package/dist/shared-components/collection/components/onto-test-context/onto-test-context.js +1 -1
- package/dist/shared-components/collection/components/onto-toggle-switch/onto-toggle-switch.js +1 -1
- package/dist/shared-components/collection/components/onto-user-menu/onto-user-menu.js +1 -1
- package/dist/shared-components/collection/components/translate-label/translate-label.js +1 -1
- package/dist/shared-components/esm/function-utils-D1ZpXQQS.js +1 -0
- package/dist/shared-components/esm/index-EiAqSNMq.js +2 -0
- package/dist/shared-components/esm/loader.js +1 -1
- package/dist/shared-components/esm/onto-cookie-consent_2.entry.js +1 -1
- package/dist/shared-components/esm/onto-dialog_2.entry.js +1 -1
- package/dist/shared-components/esm/onto-dropdown.entry.js +1 -1
- package/dist/shared-components/esm/onto-footer_5.entry.js +1 -1
- package/dist/shared-components/esm/onto-language-selector_9.entry.js +1 -1
- package/dist/shared-components/esm/onto-layout.entry.js +1 -1
- package/dist/shared-components/esm/onto-permission-banner.entry.js +1 -1
- package/dist/shared-components/esm/onto-test-context.entry.js +1 -1
- package/dist/shared-components/esm/onto-toastr.entry.js +1 -1
- package/dist/shared-components/esm/shared-components.js +1 -1
- package/dist/shared-components/esm/translate-label.entry.js +1 -1
- package/dist/shared-components/shared-components/p-1103d100.entry.js +1 -0
- package/dist/shared-components/shared-components/{p-9b2c6e80.entry.js → p-2e2bb175.entry.js} +1 -1
- package/dist/shared-components/shared-components/{p-b754971e.entry.js → p-50735428.entry.js} +1 -1
- package/dist/shared-components/shared-components/{p-7e47d850.entry.js → p-59707503.entry.js} +1 -1
- package/dist/shared-components/shared-components/p-6a37f808.entry.js +1 -0
- package/dist/shared-components/shared-components/{p-9214bb16.entry.js → p-6fb5eec5.entry.js} +1 -1
- package/dist/shared-components/shared-components/{p-c27fe716.entry.js → p-97930684.entry.js} +1 -1
- package/dist/shared-components/shared-components/p-D1ZpXQQS.js +1 -0
- package/dist/shared-components/shared-components/p-EiAqSNMq.js +2 -0
- package/dist/shared-components/shared-components/p-a5a49d87.entry.js +1 -0
- package/dist/shared-components/shared-components/p-d134e207.entry.js +1 -0
- package/dist/shared-components/shared-components/{p-279a026b.entry.js → p-ec2f4ea5.entry.js} +1 -1
- package/dist/shared-components/shared-components/shared-components.esm.js +1 -1
- package/dist/shared-components/types/components/dialogs/onto-cookie-policy-dialog/onto-cookie-policy-dialog.d.ts +31 -7
- package/dist/shared-components/types/components/onto-cookie-consent/onto-cookie-consent.d.ts +2 -2
- package/dist/shared-components/types/components/onto-footer/onto-footer.d.ts +9 -2
- package/dist/shared-components/types/components.d.ts +17 -8
- package/dist/shared-components/types/models/dialog/dialog-handler.d.ts +4 -0
- package/dist/shared-components/types/stencil-public-runtime.d.ts +10 -147
- package/package.json +1 -1
- package/dist/10759.b2e1d643d681ebd9c124.bundle.js.map +0 -1
- package/dist/13231.9b625e487e6385faa36f.bundle.js +0 -2
- package/dist/13231.9b625e487e6385faa36f.bundle.js.map +0 -1
- package/dist/18961.01ff5fcc0f4b9f99236e.bundle.js.map +0 -1
- package/dist/20694.a738f5634ec09369dc85.bundle.js.map +0 -1
- package/dist/21015.68c7c667ef64ad8e8e0d.bundle.js +0 -2
- package/dist/21015.68c7c667ef64ad8e8e0d.bundle.js.map +0 -1
- package/dist/2975.8be1a79816fd811be223.bundle.js +0 -2
- package/dist/2975.8be1a79816fd811be223.bundle.js.map +0 -1
- package/dist/39874.47a6948df3520a7bf37a.bundle.js +0 -2
- package/dist/39874.47a6948df3520a7bf37a.bundle.js.map +0 -1
- package/dist/45758.1212136a37dd4f7528f8.bundle.js.map +0 -1
- package/dist/60560.275a89ab1375e91de0aa.bundle.js +0 -2
- package/dist/60560.275a89ab1375e91de0aa.bundle.js.map +0 -1
- package/dist/60730.35493812d428872eddb6.bundle.js.map +0 -1
- package/dist/64118.b06aebc9f8d7e822244f.bundle.js.map +0 -1
- package/dist/71099.ca7720893604e9d908d6.bundle.js +0 -2
- package/dist/71099.ca7720893604e9d908d6.bundle.js.map +0 -1
- package/dist/75881.54dc716f79b6fe29232a.bundle.js +0 -2
- package/dist/75881.54dc716f79b6fe29232a.bundle.js.map +0 -1
- package/dist/78070.13538271878de6a98862.bundle.js +0 -2
- package/dist/78070.13538271878de6a98862.bundle.js.map +0 -1
- package/dist/7815.f09f8d6953d2c964e04d.bundle.js +0 -2
- package/dist/7815.f09f8d6953d2c964e04d.bundle.js.map +0 -1
- package/dist/78681.0cfa1e86d4dac1b7e7e8.bundle.js +0 -2
- package/dist/78681.0cfa1e86d4dac1b7e7e8.bundle.js.map +0 -1
- package/dist/82206.229877d7931849236456.bundle.js.map +0 -1
- package/dist/94229.47dbdba202106c61dff1.bundle.js.map +0 -1
- package/dist/95953.ec1b9d5e568d43ec3dcf.bundle.js +0 -2
- package/dist/95953.ec1b9d5e568d43ec3dcf.bundle.js.map +0 -1
- package/dist/98268.86ff371dde616b4e2a76.bundle.js +0 -2
- package/dist/98268.86ff371dde616b4e2a76.bundle.js.map +0 -1
- package/dist/api/models/cookie/cookie-consent.d.ts +0 -14
- package/dist/legacyWorkbench.88e1d4d209e51c6f9b65.js +0 -3
- package/dist/main.1be0fc11ab24b99f8800.js +0 -3
- package/dist/main.1be0fc11ab24b99f8800.js.map +0 -1
- package/dist/shared-components/cjs/app-globals-V2Kpy_OQ.js +0 -1
- package/dist/shared-components/cjs/index-L_ZmIeD5.js +0 -2
- package/dist/shared-components/collection/models/dialog/onto-dialog.js +0 -1
- package/dist/shared-components/esm/app-globals-DQuL1Twl.js +0 -1
- package/dist/shared-components/esm/index-CGqARDX4.js +0 -2
- package/dist/shared-components/shared-components/p-2075209c.entry.js +0 -1
- package/dist/shared-components/shared-components/p-30e4880f.entry.js +0 -1
- package/dist/shared-components/shared-components/p-413b3789.entry.js +0 -1
- package/dist/shared-components/shared-components/p-67199a46.entry.js +0 -1
- package/dist/shared-components/shared-components/p-CGqARDX4.js +0 -2
- package/dist/shared-components/shared-components/p-DQuL1Twl.js +0 -1
- package/dist/shared-components/types/models/dialog/onto-dialog.d.ts +0 -4
- /package/dist/{legacyWorkbench.88e1d4d209e51c6f9b65.js.LICENSE.txt → legacyWorkbench.f1ed8e359786e8adeab2.js.LICENSE.txt} +0 -0
- /package/dist/{main.1be0fc11ab24b99f8800.js.LICENSE.txt → main.a67c284710a8b9a98ca2.js.LICENSE.txt} +0 -0
- /package/dist/shared-components/cjs/{index-L_ZmIeD5.js.LICENSE.txt → index-CTK5NoJt.js.LICENSE.txt} +0 -0
- /package/dist/shared-components/esm/{index-CGqARDX4.js.LICENSE.txt → index-EiAqSNMq.js.LICENSE.txt} +0 -0
- /package/dist/shared-components/shared-components/{p-CGqARDX4.js.LICENSE.txt → p-EiAqSNMq.js.LICENSE.txt} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const globalScripts=()=>{};exports.globalScripts=globalScripts;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see index-L_ZmIeD5.js.LICENSE.txt */
|
|
2
|
-
"use strict";const NAMESPACE="shared-components",BUILD={hotModuleReplacement:!1,hydratedSelectorName:"hydrated",lazyLoad:!0,propChangeCallback:!0,shadowDom:!0,slotRelocation:!0,state:!0,updatable:!0};var reWireGetterSetter=(e,t)=>{var n;const o=t.$cmpMeta$;Object.entries(null!=(n=o.$members$)?n:{}).map(([n,[o]])=>{if(31&o||32&o){const o=e[n],s=getPropertyDescriptor(Object.getPrototypeOf(e),n)||Object.getOwnPropertyDescriptor(e,n);s&&Object.defineProperty(e,n,{get(){return s.get.call(this)},set(e){s.set.call(this,e)},configurable:!0,enumerable:!0}),e[n]=t.$instanceValues$.has(n)?t.$instanceValues$.get(n):o}})};function getPropertyDescriptor(e,t){for(;e;){const n=Object.getOwnPropertyDescriptor(e,t);if(null==n?void 0:n.get)return n;e=Object.getPrototypeOf(e)}}var globalStyleSheet,getHostRef=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},registerInstance=(e,t)=>{t&&(e.__stencil__getHostRef=()=>t,t.$lazyInstance$=e,512&t.$cmpMeta$.$flags$&&BUILD.state&&reWireGetterSetter(e,t))},registerHost=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map,$serializerValues$:new Map};n.$onInstancePromise$=new Promise(e=>n.$onInstanceResolve$=e),n.$onReadyPromise$=new Promise(e=>n.$onReadyResolve$=e),e["s-p"]=[],e["s-rc"]=[],n.$fetchedCbList$=[];const o=n;return e.__stencil__getHostRef=()=>o,o},isMemberInElement=(e,t)=>t in e,consoleError=(e,t)=>(0,console.error)(e,t),cmpModules=new Map,loadModule=(e,t,n)=>{const o=e.$tagName$.replace(/-/g,"_"),s=e.$lazyBundleId$;if(!s)return;const l=cmpModules.get(s);return l?l[o]:import(`./${s}.entry.js`).then(e=>(cmpModules.set(s,e),e[o]),e=>{consoleError(e,t.$hostElement$)})},styles=new Map,HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}",SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}",XLINK_NS="http://www.w3.org/1999/xlink",win="undefined"!=typeof window?window:{},H=win.HTMLElement||class{},plt={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},supportsShadow=BUILD.shadowDom,supportsListenerOptions=(()=>{var e;let t=!1;try{null==(e=win.document)||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch(e){}return t})(),promiseResolve=e=>Promise.resolve(e),supportsConstructableStylesheets=(()=>{try{return!!win.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(e){}return!1})(),supportsMutableAdoptedStyleSheets=!!supportsConstructableStylesheets&&(()=>!!win.document&&Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets,"length").writable)(),queuePending=!1,queueDomReads=[],queueDomWrites=[],queueTask=(e,t)=>n=>{e.push(n),queuePending||(queuePending=!0,t&&4&plt.$flags$?nextTick(flush):plt.raf(flush))},consume=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){consoleError(e)}e.length=0},flush=()=>{consume(queueDomReads),consume(queueDomWrites),(queuePending=queueDomReads.length>0)&&plt.raf(flush)},nextTick=e=>promiseResolve().then(e),writeTask=queueTask(queueDomWrites,!0);function createStyleSheetIfNeededAndSupported(e){}function createShadowRoot(e){var t;const n=this.attachShadow({mode:"open"});void 0===globalStyleSheet&&(globalStyleSheet=null!=(t=createStyleSheetIfNeededAndSupported())?t:null),globalStyleSheet&&(supportsMutableAdoptedStyleSheets?n.adoptedStyleSheets.push(globalStyleSheet):n.adoptedStyleSheets=[...n.adoptedStyleSheets,globalStyleSheet])}var updateFallbackSlotVisibility=e=>{const t=internalCall(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&"SLOT-FB"!==e.tagName&&getHostSlotNodes(t,e.tagName).forEach(e=>{1===e.nodeType&&"SLOT-FB"===e.tagName&&(getSlotChildSiblings(e,getSlotName(e),!1).length?e.hidden=!0:e.hidden=!1)});let n=0;for(n=0;n<t.length;n++){const e=t[n];1===e.nodeType&&internalCall(e,"childNodes").length&&updateFallbackSlotVisibility(e)}},getSlottedChildNodes=e=>{const t=[];for(let n=0;n<e.length;n++){const o=e[n]["s-nr"]||void 0;o&&o.isConnected&&t.push(o)}return t};function getHostSlotNodes(e,t,n){let o,s=0,l=[];for(;s<e.length;s++){if(o=e[s],o["s-sr"]&&(!t||o["s-hn"]===t)&&(void 0===n||getSlotName(o)===n)&&(l.push(o),void 0!==n))return l;l=[...l,...getHostSlotNodes(o.childNodes,t,n)]}return l}var getSlotChildSiblings=(e,t,n=!0)=>{const o=[];(n&&e["s-sr"]||!e["s-sr"])&&o.push(e);let s=e;for(;s=s.nextSibling;)getSlotName(s)!==t||!n&&s["s-sr"]||o.push(s);return o},isNodeLocatedInSlot=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,addSlotRelocateNode=(e,t,n,o)=>{if(e["s-ol"]&&e["s-ol"].isConnected)return;const s=document.createTextNode("");if(s["s-nr"]=e,!t["s-cr"]||!t["s-cr"].parentNode)return;const l=t["s-cr"].parentNode;internalCall(l,n?"prepend":"appendChild").call(l,s),e["s-ol"]=s,e["s-sh"]=t["s-hn"]},getSlotName=e=>"string"==typeof e["s-sn"]?e["s-sn"]:1===e.nodeType&&e.getAttribute("slot")||void 0;function patchSlotNode(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const t=t=>function(e){const n=[],o=this["s-sn"];(null==e?void 0:e.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:getSlottedChildNodes(s.childNodes)).forEach(e=>{o===getSlotName(e)&&n.push(e)}),t?n.filter(e=>1===e.nodeType):n}.bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}function dispatchSlotChangeEvent(e){e.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function findSlotFromSlottedNode(e,t){var n;if(!(t=t||(null==(n=e["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=e["s-sn"]=getSlotName(e)||"";return{slotNode:getHostSlotNodes(internalCall(t,"childNodes"),t.tagName,o)[0],slotName:o}}var patchPseudoShadowDom=e=>{patchCloneNode(e),patchSlotAppendChild(e),patchSlotAppend(e),patchSlotPrepend(e),patchSlotInsertAdjacentElement(e),patchSlotInsertAdjacentHTML(e),patchSlotInsertAdjacentText(e),patchInsertBefore(e),patchTextContent(e),patchChildSlotNodes(e),patchSlotRemoveChild(e)},patchCloneNode=e=>{if(e.__cloneNode)return;const t=e.__cloneNode=e.cloneNode;e.cloneNode=function(e){const n=this.shadowRoot&&supportsShadow,o=t.call(this,!!n&&e);if(!n&&e){let e,t,n=0;const s=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],l=this.__childNodes||this.childNodes;for(;n<l.length;n++)e=l[n]["s-nr"],t=s.every(e=>!l[n][e]),e&&(o.__appendChild?o.__appendChild(e.cloneNode(!0)):o.appendChild(e.cloneNode(!0))),t&&o.appendChild(l[n].cloneNode(!0))}return o}},patchSlotAppendChild=e=>{e.__appendChild||(e.__appendChild=e.appendChild,e.appendChild=function(e){const{slotName:t,slotNode:n}=findSlotFromSlottedNode(e,this);if(n){addSlotRelocateNode(e,n);const o=getSlotChildSiblings(n,t),s=o[o.length-1],l=internalCall(s,"parentNode"),r=internalCall(l,"insertBefore")(e,s.nextSibling);return dispatchSlotChangeEvent(n),updateFallbackSlotVisibility(this),r}return this.__appendChild(e)})},patchSlotRemoveChild=e=>{e.__removeChild||(e.__removeChild=e.removeChild,e.removeChild=function(e){return e&&void 0!==e["s-sn"]&&getHostSlotNodes(this.__childNodes||this.childNodes,this.tagName,e["s-sn"])&&e.isConnected?(e.remove(),void updateFallbackSlotVisibility(this)):this.__removeChild(e)})},patchSlotPrepend=e=>{e.__prepend||(e.__prepend=e.prepend,e.prepend=function(...t){t.forEach(t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t));const n=(t["s-sn"]=getSlotName(t))||"",o=getHostSlotNodes(internalCall(this,"childNodes"),this.tagName,n)[0];if(o){addSlotRelocateNode(t,o,!0);const e=getSlotChildSiblings(o,n)[0],s=internalCall(e,"parentNode"),l=internalCall(s,"insertBefore")(t,internalCall(e,"nextSibling"));return dispatchSlotChangeEvent(o),l}return 1===t.nodeType&&t.getAttribute("slot")&&(t.hidden=!0),e.__prepend(t)})})},patchSlotAppend=e=>{e.__append||(e.__append=e.append,e.append=function(...e){e.forEach(e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e)),this.appendChild(e)})})},patchSlotInsertAdjacentHTML=e=>{if(e.__insertAdjacentHTML)return;const t=e.insertAdjacentHTML;e.insertAdjacentHTML=function(e,n){if("afterbegin"!==e&&"beforeend"!==e)return t.call(this,e,n);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=n,"afterbegin"===e)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===e)for(;s=o.firstChild;)this.append(s)}},patchSlotInsertAdjacentText=e=>{e.insertAdjacentText=function(e,t){this.insertAdjacentHTML(e,t)}},patchInsertBefore=e=>{if(e.__insertBefore)return;const t=e;t.__insertBefore||(t.__insertBefore=e.insertBefore,e.insertBefore=function(e,t){const{slotName:n,slotNode:o}=findSlotFromSlottedNode(e,this),s=this.__childNodes?this.childNodes:getSlottedChildNodes(this.childNodes);if(o){let l=!1;if(s.forEach(s=>{if(s!==t&&null!==t);else{if(l=!0,null===t||n!==t["s-sn"])return void this.appendChild(e);if(n===t["s-sn"]){addSlotRelocateNode(e,o);const n=internalCall(t,"parentNode");internalCall(n,"insertBefore")(e,t),dispatchSlotChangeEvent(o)}}}),l)return e}const l=null==t?void 0:t.__parentNode;return l&&!this.isSameNode(l)?this.appendChild(e):this.__insertBefore(e,t)})},patchSlotInsertAdjacentElement=e=>{if(e.__insertAdjacentElement)return;const t=e.insertAdjacentElement;e.insertAdjacentElement=function(e,n){return"afterbegin"!==e&&"beforeend"!==e?t.call(this,e,n):"afterbegin"===e?(this.prepend(n),n):"beforeend"===e?(this.append(n),n):n}},patchTextContent=e=>{patchHostOriginalAccessor("textContent",e),Object.defineProperty(e,"textContent",{get:function(){let e="";return(this.__childNodes?this.childNodes:getSlottedChildNodes(this.childNodes)).forEach(t=>e+=t.textContent||""),e},set:function(e){(this.__childNodes?this.childNodes:getSlottedChildNodes(this.childNodes)).forEach(e=>{e["s-ol"]&&e["s-ol"].remove(),e.remove()}),this.insertAdjacentHTML("beforeend",e)}})},patchChildSlotNodes=e=>{class t extends Array{item(e){return this[e]}}patchHostOriginalAccessor("children",e),Object.defineProperty(e,"children",{get(){return this.childNodes.filter(e=>1===e.nodeType)}}),Object.defineProperty(e,"childElementCount",{get(){return this.children.length}}),patchHostOriginalAccessor("firstChild",e),Object.defineProperty(e,"firstChild",{get(){return this.childNodes[0]}}),patchHostOriginalAccessor("lastChild",e),Object.defineProperty(e,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),patchHostOriginalAccessor("childNodes",e),Object.defineProperty(e,"childNodes",{get(){const e=new t;return e.push(...getSlottedChildNodes(this.__childNodes)),e}})},patchParentNode=e=>{e&&!e.__parentNode&&(patchHostOriginalAccessor("parentNode",e),Object.defineProperty(e,"parentNode",{get:function(){var e;return(null==(e=this["s-ol"])?void 0:e.parentNode)||this.__parentNode},set:function(e){this.__parentNode=e}}))},validElementPatches=["children","nextElementSibling","previousElementSibling"],validNodesPatches=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function patchHostOriginalAccessor(e,t){if(!globalThis.Node||!globalThis.Element)return;let n;validElementPatches.includes(e)?n=Object.getOwnPropertyDescriptor(Element.prototype,e):validNodesPatches.includes(e)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,e)),n||(n=Object.getOwnPropertyDescriptor(t,e)),n&&Object.defineProperty(t,"__"+e,n)}function internalCall(e,t){if("__"+t in e){const n=e["__"+t];return"function"!=typeof n?n:n.bind(e)}return"function"!=typeof e[t]?e[t]:e[t].bind(e)}var createTime=(e,t="")=>()=>{},uniqueTime=(e,t)=>()=>{};function queryNonceMetaTagContent(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var contentRef,hostTagName,rootAppliedStyles=new WeakMap,registerStyle=(e,t,n)=>{let o=styles.get(e);supportsConstructableStylesheets&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,styles.set(e,o)},addStyle=(e,t,n)=>{var o,s,l;const r=getScopeId(t),a=styles.get(r);if(!win.document)return r;if(e=11===e.nodeType?e:win.document,a)if("string"==typeof a){e=e.head||e;let n,l=rootAppliedStyles.get(e);if(l||rootAppliedStyles.set(e,l=new Set),!l.has(r)){n=win.document.createElement("style"),n.textContent=a;const i=null!=(o=plt.$nonce$)?o:queryNonceMetaTagContent(win.document);if(null!=i&&n.setAttribute("nonce",i),!(1&t.$flags$))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),o=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(n,(null==o?void 0:o.parentNode)===e?o:null)}else if("host"in e)if(supportsConstructableStylesheets){const t=new(null!=(s=e.defaultView)?s:e.ownerDocument.defaultView).CSSStyleSheet;t.replaceSync(a),supportsMutableAdoptedStyleSheets?e.adoptedStyleSheets.unshift(t):e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.textContent=a+t.textContent:e.prepend(n)}else e.append(n);1&t.$flags$&&e.insertBefore(n,null),4&t.$flags$&&(n.textContent+=SLOT_FB_CSS),l&&l.add(r)}}else{let t=rootAppliedStyles.get(e);if(t||rootAppliedStyles.set(e,t=new Set),!t.has(r)){const n=null!=(l=e.defaultView)?l:e.ownerDocument.defaultView;let o;if(a.constructor===n.CSSStyleSheet)o=a;else{o=new n.CSSStyleSheet;for(let e=0;e<a.cssRules.length;e++)o.insertRule(a.cssRules[e].cssText,e)}supportsMutableAdoptedStyleSheets?e.adoptedStyleSheets.push(o):e.adoptedStyleSheets=[...e.adoptedStyleSheets,o],t.add(r)}}return r},attachStyles=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,o=t.$flags$,s=createTime("attachStyles",t.$tagName$),l=addStyle(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h")),s()},getScopeId=(e,t)=>"sc-"+e.$tagName$,isComplexType=e=>"object"==(e=typeof e)||"function"===e,h=(e,t,...n)=>{"string"==typeof e&&(e=transformTag(e));let o=null,s=null,l=null,r=!1,a=!1;const i=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof e&&!isComplexType(o))&&(o=String(o)),r&&a?i[i.length-1].$text$+=o:i.push(r?newVNode(null,o):o),a=r)};if(c(n),t){t.key&&(s=t.key),t.name&&(l=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter(t=>e[t]).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,i,vdomFnUtils);const d=newVNode(e,null);return d.$attrs$=t,i.length>0&&(d.$children$=i),d.$key$=s,d.$name$=l,d},newVNode=(e,t)=>({$flags$:0,$tag$:e,$text$:null!=t?t:null,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),Host={},isHost=e=>e&&e.$tag$===Host,vdomFnUtils={forEach:(e,t)=>e.map(convertToPublic).forEach(t),map:(e,t)=>e.map(convertToPublic).map(t).map(convertToPrivate)},convertToPublic=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),convertToPrivate=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),h(e.vtag,t,...e.vchildren||[])}const t=newVNode(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},parsePropertyValue=(e,t,n)=>null==e||isComplexType(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?"string"==typeof e?parseFloat(e):"number"==typeof e?e:NaN:1&t?String(e):e,getElement=e=>{var t;return null==(t=getHostRef(e))?void 0:t.$hostElement$},createEvent=(e,t,n)=>{const o=getElement(e);return{emit:e=>emitEvent(o,t,{bubbles:!0,composed:!0,cancelable:!0,detail:e})}},emitEvent=(e,t,n)=>{const o=plt.ce(t,n);return e.dispatchEvent(o),o},setAccessor=(e,t,n,o,s,l,r)=>{if(n===o)return;let a=isMemberInElement(e,t),i=t.toLowerCase();if("class"===t){const t=e.classList,s=parseClassList(n);let l=parseClassList(o);t.remove(...s.filter(e=>e&&!l.includes(e))),t.add(...l.filter(e=>e&&!s.includes(e)))}else if("style"===t){for(const t in n)o&&null!=o[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in o)n&&o[t]===n[t]||(t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if("key"===t);else if("ref"===t)o&&queueRefAttachment(o,e);else if(a||"o"!==t[0]||"n"!==t[1]){const r=isComplexType(o);if(a||r&&null!==o)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const s=null==o?"":o;"list"===t?a=!1:null!=n&&e[t]==s||("function"==typeof e.__lookupSetter__(t)?e[t]=s:e.setAttribute(t,s))}}catch(e){}let c=!1;i!==(i=i.replace(/^xlink\:?/,""))&&(t=i,c=!0),null==o||!1===o?!1===o&&""!==e.getAttribute(t)||(c?e.removeAttributeNS(XLINK_NS,t):e.removeAttribute(t)):(!a||4&l||s)&&!r&&1===e.nodeType&&(o=!0===o?"":o,c?e.setAttributeNS(XLINK_NS,t,o):e.setAttribute(t,o))}else if(t="-"===t[2]?t.slice(3):isMemberInElement(win,i)?i.slice(2):i[2]+t.slice(3),n||o){const s=t.endsWith(CAPTURE_EVENT_SUFFIX);t=t.replace(CAPTURE_EVENT_REGEX,""),n&&plt.rel(e,t,n,s),o&&plt.ael(e,t,o,s)}},parseClassListRegex=/\s/,parseClassList=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(parseClassListRegex):[]),CAPTURE_EVENT_SUFFIX="Capture",CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$"),updateElement=(e,t,n,o)=>{const s=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,l=e&&e.$attrs$||{},r=t.$attrs$||{};for(const e of sortedAttrNames(Object.keys(l)))e in r||setAccessor(s,e,l[e],void 0,n,t.$flags$);for(const e of sortedAttrNames(Object.keys(r)))setAccessor(s,e,l[e],r[e],n,t.$flags$)};function sortedAttrNames(e){return e.includes("ref")?[...e.filter(e=>"ref"!==e),"ref"]:e}var useNativeShadowDom=!1,checkSlotFallbackVisibility=!1,checkSlotRelocate=!1,isSvgMode=!1,refCallbacksToRemove=[],refCallbacksToAttach=[],createElm=(e,t,n)=>{var o;const s=t.$children$[n];let l,r,a,i=0;if(useNativeShadowDom||(checkSlotRelocate=!0,"slot"===s.$tag$&&(s.$flags$|=s.$children$?2:1)),null!=s.$text$)l=s.$elm$=win.document.createTextNode(s.$text$);else if(1&s.$flags$)l=s.$elm$=win.document.createTextNode(""),updateElement(null,s,isSvgMode);else{if(!win.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=s.$elm$=win.document.createElement(!useNativeShadowDom&&BUILD.slotRelocation&&2&s.$flags$?"slot-fb":s.$tag$),updateElement(null,s,isSvgMode),s.$children$){const t="template"===s.$tag$?l.content:l;for(i=0;i<s.$children$.length;++i)r=createElm(e,s,i),r&&t.appendChild(r)}}return l["s-hn"]=hostTagName,3&s.$flags$&&(l["s-sr"]=!0,l["s-cr"]=contentRef,l["s-sn"]=s.$name$||"",l["s-rf"]=null==(o=s.$attrs$)?void 0:o.ref,patchSlotNode(l),a=e&&e.$children$&&e.$children$[n],a&&a.$tag$===s.$tag$&&e.$elm$&&relocateToHostRoot(e.$elm$)),l},relocateToHostRoot=e=>{plt.$flags$|=1;const t=e.closest(hostTagName.toLowerCase());if(null!=t){const n=Array.from(t.__childNodes||t.childNodes).find(e=>e["s-cr"]),o=Array.from(e.__childNodes||e.childNodes);for(const e of n?o.reverse():o)null!=e["s-sh"]&&(insertBefore(t,e,null!=n?n:null),e["s-sh"]=void 0,checkSlotRelocate=!0)}plt.$flags$&=-2},putBackInOriginalLocation=(e,t)=>{plt.$flags$|=1;const n=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let t=e;for(;t=t.nextSibling;)t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===hostTagName&&n.push(t)}for(let e=n.length-1;e>=0;e--){const o=n[e];o["s-hn"]!==hostTagName&&o["s-ol"]&&(insertBefore(referenceNode(o).parentNode,o,referenceNode(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,checkSlotRelocate=!0),t&&putBackInOriginalLocation(o,t)}plt.$flags$&=-2},addVnodes=(e,t,n,o,s,l)=>{let r,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===hostTagName&&(a=a.shadowRoot),"template"===n.$tag$&&(a=a.content);s<=l;++s)o[s]&&(r=createElm(null,n,s),r&&(o[s].$elm$=r,insertBefore(a,r,referenceNode(t))))},removeVnodes=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.$elm$;nullifyVNodeRefs(t),e&&(checkSlotFallbackVisibility=!0,e["s-ol"]?e["s-ol"].remove():putBackInOriginalLocation(e,!0),e.remove())}}},updateChildren=(e,t,n,o,s=!1)=>{let l,r,a=0,i=0,c=0,d=0,$=t.length-1,p=t[0],h=t[$],u=o.length-1,f=o[0],m=o[u];const g="template"===n.$tag$?e.content:e;for(;a<=$&&i<=u;)if(null==p)p=t[++a];else if(null==h)h=t[--$];else if(null==f)f=o[++i];else if(null==m)m=o[--u];else if(isSameVnode(p,f,s))patch(p,f,s),p=t[++a],f=o[++i];else if(isSameVnode(h,m,s))patch(h,m,s),h=t[--$],m=o[--u];else if(isSameVnode(p,m,s))"slot"!==p.$tag$&&"slot"!==m.$tag$||putBackInOriginalLocation(p.$elm$.parentNode,!1),patch(p,m,s),insertBefore(g,p.$elm$,h.$elm$.nextSibling),p=t[++a],m=o[--u];else if(isSameVnode(h,f,s))"slot"!==p.$tag$&&"slot"!==m.$tag$||putBackInOriginalLocation(h.$elm$.parentNode,!1),patch(h,f,s),insertBefore(g,h.$elm$,p.$elm$),h=t[--$],f=o[++i];else{for(c=-1,d=a;d<=$;++d)if(t[d]&&null!==t[d].$key$&&t[d].$key$===f.$key$){c=d;break}c>=0?(r=t[c],r.$tag$!==f.$tag$?l=createElm(t&&t[i],n,c):(patch(r,f,s),t[c]=void 0,l=r.$elm$),f=o[++i]):(l=createElm(t&&t[i],n,i),f=o[++i]),l&&insertBefore(referenceNode(p.$elm$).parentNode,l,referenceNode(p.$elm$))}a>$?addVnodes(e,null==o[u+1]?null:o[u+1].$elm$,n,o,i,u):i>u&&removeVnodes(t,a,$)},isSameVnode=(e,t,n=!1)=>e.$tag$===t.$tag$&&("slot"===e.$tag$?e.$name$===t.$name$:n?(n&&!e.$key$&&t.$key$&&(e.$key$=t.$key$),!0):e.$key$===t.$key$),referenceNode=e=>e&&e["s-ol"]||e,patch=(e,t,n=!1)=>{const o=t.$elm$=e.$elm$,s=e.$children$,l=t.$children$,r=t.$tag$,a=t.$text$;let i;null==a?("slot"!==r||useNativeShadowDom||e.$name$!==t.$name$&&(t.$elm$["s-sn"]=t.$name$||"",relocateToHostRoot(t.$elm$.parentElement)),updateElement(e,t,isSvgMode),null!==s&&null!==l?updateChildren(o,s,t,l,n):null!==l?(null!==e.$text$&&(o.textContent=""),addVnodes(o,null,t,l,0,l.length-1)):!n&&BUILD.updatable&&null!==s&&removeVnodes(s,0,s.length-1)):(i=o["s-cr"])?i.parentNode.textContent=a:e.$text$!==a&&(o.data=a)},relocateNodes=[],markSlotContentForRelocation=e=>{let t,n,o;const s=e.__childNodes||e.childNodes;for(const e of s){if(e["s-sr"]&&(t=e["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const s=e["s-sn"];for(o=n.length-1;o>=0;o--)if(t=n[o],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===e["s-hn"]||t["s-sh"]&&t["s-sh"]===e["s-hn"]))if(isNodeLocatedInSlot(t,s)){let n=relocateNodes.find(e=>e.$nodeToRelocate$===t);checkSlotFallbackVisibility=!0,t["s-sn"]=t["s-sn"]||s,n?(n.$nodeToRelocate$["s-sh"]=e["s-hn"],n.$slotRefNode$=e):(t["s-sh"]=e["s-hn"],relocateNodes.push({$slotRefNode$:e,$nodeToRelocate$:t})),t["s-sr"]&&relocateNodes.map(e=>{isNodeLocatedInSlot(e.$nodeToRelocate$,t["s-sn"])&&(n=relocateNodes.find(e=>e.$nodeToRelocate$===t),n&&!e.$slotRefNode$&&(e.$slotRefNode$=n.$slotRefNode$))})}else relocateNodes.some(e=>e.$nodeToRelocate$===t)||relocateNodes.push({$nodeToRelocate$:t})}1===e.nodeType&&markSlotContentForRelocation(e)}},nullifyVNodeRefs=e=>{e.$attrs$&&e.$attrs$.ref&&refCallbacksToRemove.push(()=>e.$attrs$.ref(null)),e.$children$&&e.$children$.map(nullifyVNodeRefs)},queueRefAttachment=(e,t)=>{refCallbacksToAttach.push(()=>e(t))},flushQueuedRefCallbacks=()=>{refCallbacksToRemove.forEach(e=>e()),refCallbacksToRemove.length=0,refCallbacksToAttach.forEach(e=>e()),refCallbacksToAttach.length=0},insertBefore=(e,t,n,o)=>{if("string"==typeof t["s-sn"]){11!==e.getRootNode().nodeType&&patchParentNode(t),e.insertBefore(t,n);const{slotNode:s}=findSlotFromSlottedNode(t);return s&&!o&&dispatchSlotChangeEvent(s),t}return e.__insertBefore?e.__insertBefore(t,n):null==e?void 0:e.insertBefore(t,n)},renderVdom=(e,t,n=!1)=>{var o,s,l,r,a;const i=e.$hostElement$,c=e.$cmpMeta$,d=e.$vnode$||newVNode(null,null),$=isHost(t)?t:h(null,null,t);if(hostTagName=i.tagName,n&&$.$attrs$)for(const e of Object.keys($.$attrs$))i.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&($.$attrs$[e]=i[e]);if($.$tag$=null,$.$flags$|=4,e.$vnode$=$,$.$elm$=d.$elm$=i.shadowRoot||i,useNativeShadowDom=!(!(1&c.$flags$)||128&c.$flags$),contentRef=i["s-cr"],checkSlotFallbackVisibility=!1,patch(d,$,n),plt.$flags$|=1,checkSlotRelocate){markSlotContentForRelocation($.$elm$);for(const e of relocateNodes){const t=e.$nodeToRelocate$;if(!t["s-ol"]&&win.document){const e=win.document.createTextNode("");e["s-nr"]=t,insertBefore(t.parentNode,t["s-ol"]=e,t,n)}}for(const e of relocateNodes){const t=e.$nodeToRelocate$,a=e.$slotRefNode$;if(1===t.nodeType&&n&&(t["s-ih"]=null!=(o=t.hidden)&&o),a){const e=a.parentNode;let o=a.nextSibling;if(o&&1===o.nodeType){let n=null==(s=t["s-ol"])?void 0:s.previousSibling;for(;n;){let s=null!=(l=n["s-nr"])?l:null;if(s&&s["s-sn"]===t["s-sn"]&&e===(s.__parentNode||s.parentNode)){for(s=s.nextSibling;s===t||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){o=s;break}}n=n.previousSibling}}const i=t.__parentNode||t.parentNode,c=t.__nextSibling||t.nextSibling;if((!o&&e!==i||c!==o)&&t!==o){if(insertBefore(e,t,o,n),8===t.nodeType&&t.nodeValue.startsWith("s-nt-")){const e=win.document.createTextNode(t.nodeValue.replace(/^s-nt-/,""));e["s-hn"]=t["s-hn"],e["s-sn"]=t["s-sn"],e["s-sh"]=t["s-sh"],e["s-sr"]=t["s-sr"],e["s-ol"]=t["s-ol"],e["s-ol"]["s-nr"]=e,insertBefore(t.parentNode,e,t,n),t.parentNode.removeChild(t)}1===t.nodeType&&"SLOT-FB"!==t.tagName&&(t.hidden=null!=(r=t["s-ih"])&&r)}t&&"function"==typeof a["s-rf"]&&a["s-rf"](a)}else 1===t.nodeType&&(t.hidden=!0)}}if(checkSlotFallbackVisibility&&updateFallbackSlotVisibility($.$elm$),plt.$flags$&=-2,relocateNodes.length=0,!useNativeShadowDom&&!(1&c.$flags$)&&i["s-cr"]){const e=$.$elm$.__childNodes||$.$elm$.childNodes;for(const t of e)if(t["s-hn"]!==hostTagName&&!t["s-sh"])if(n&&null==t["s-ih"]&&(t["s-ih"]=null!=(a=t.hidden)&&a),1===t.nodeType)t.hidden=!0;else if(3===t.nodeType&&t.nodeValue.trim()){const e=win.document.createComment("s-nt-"+t.nodeValue);e["s-sn"]=t["s-sn"],insertBefore(t.parentNode,e,t,n),t.parentNode.removeChild(t)}}contentRef=void 0,flushQueuedRefCallbacks()},attachToAncestor=(e,t)=>{if(t&&!e.$onRenderResolve$&&t["s-p"]){const n=t["s-p"].push(new Promise(o=>e.$onRenderResolve$=()=>{t["s-p"].splice(n-1,1),o()}))}},scheduleUpdate=(e,t)=>{if(e.$flags$|=16,4&e.$flags$)return void(e.$flags$|=512);attachToAncestor(e,e.$ancestorComponent$);const n=()=>dispatchHooks(e,t);if(!t)return writeTask(n);queueMicrotask(()=>{n()})},dispatchHooks=(e,t)=>{const n=e.$hostElement$,o=createTime("scheduleUpdate",e.$cmpMeta$.$tagName$),s=e.$lazyInstance$;if(!s)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t?(e.$deferredConnectedCallback$&&(e.$deferredConnectedCallback$=!1,safeCall(s,"connectedCallback",void 0,n)),e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([e,t])=>safeCall(s,e,t,n)),e.$queuedListeners$=void 0),e.$fetchedCbList$.length&&e.$fetchedCbList$.forEach(e=>e(n)),l=safeCall(s,"componentWillLoad",void 0,n)):l=safeCall(s,"componentWillUpdate",void 0,n),l=enqueue(l,()=>safeCall(s,"componentWillRender",void 0,n)),o(),enqueue(l,()=>updateComponent(e,s,t))},enqueue=(e,t)=>isPromisey(e)?e.then(t).catch(e=>{console.error(e),t()}):t(),isPromisey=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,updateComponent=async(e,t,n)=>{var o;const s=e.$hostElement$,l=createTime("update",e.$cmpMeta$.$tagName$),r=s["s-rc"];n&&attachStyles(e);const a=createTime("render",e.$cmpMeta$.$tagName$);callRender(e,t,s,n),r&&(r.map(e=>e()),s["s-rc"]=void 0),a(),l();{const t=null!=(o=s["s-p"])?o:[],n=()=>postUpdateComponent(e);0===t.length?n():(Promise.all(t).then(n),e.$flags$|=4,t.length=0)}},callRender=(e,t,n,o)=>{try{t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,renderVdom(e,t,o)}catch(t){consoleError(t,e.$hostElement$)}return null},postUpdateComponent=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,o=createTime("postUpdate",t),s=e.$lazyInstance$,l=e.$ancestorComponent$;safeCall(s,"componentDidRender",void 0,n),64&e.$flags$?(safeCall(s,"componentDidUpdate",void 0,n),o()):(e.$flags$|=64,addHydratedFlag(n),safeCall(s,"componentDidLoad",void 0,n),o(),e.$onReadyResolve$(n),l||appDidLoad()),e.$onInstanceResolve$(n),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&nextTick(()=>scheduleUpdate(e,!1)),e.$flags$&=-517},appDidLoad=e=>{nextTick(()=>emitEvent(win,"appload",{detail:{namespace:NAMESPACE}}))},safeCall=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){consoleError(e,o)}},addHydratedFlag=e=>{var t;return e.classList.add(null!=(t=BUILD.hydratedSelectorName)?t:"hydrated")},getValue=(e,t)=>getHostRef(e).$instanceValues$.get(t),setValue=(e,t,n,o)=>{const s=getHostRef(e);if(!s)return;if(!s)throw new Error(`Couldn't find host element for "${o.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const l=s.$hostElement$,r=s.$instanceValues$.get(t),a=s.$flags$,i=s.$lazyInstance$;n=parsePropertyValue(n,o.$members$[t][0]);const c=Number.isNaN(r)&&Number.isNaN(n);if(!(8&a&&void 0!==r||n===r||c)){if(s.$instanceValues$.set(t,n),o.$watchers$){const e=o.$watchers$[t];e&&e.map(e=>{try{const[[o,l]]=Object.entries(e);(128&a||1&l)&&(i?i[o](n,r,t):s.$fetchedCbList$.push(()=>{s.$lazyInstance$[o](n,r,t)}))}catch(e){consoleError(e,l)}})}if(2==(18&a)){if(i.componentShouldUpdate&&!1===i.componentShouldUpdate(n,r,t))return;scheduleUpdate(s,!1)}}},proxyComponent=(e,t,n)=>{var o,s;const l=e.prototype;if(t.$members$||BUILD.propChangeCallback){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers),e.deserializers&&!t.$deserializers$&&(t.$deserializers$=e.deserializers),e.serializers&&!t.$serializers$&&(t.$serializers$=e.serializers);const r=Object.entries(null!=(o=t.$members$)?o:{});if(r.map(([e,[o]])=>{if(31&o||2&n&&32&o){const{get:s,set:r}=Object.getOwnPropertyDescriptor(l,e)||{};s&&(t.$members$[e][0]|=2048),r&&(t.$members$[e][0]|=4096),(1&n||!s)&&Object.defineProperty(l,e,{get(){{if(!(2048&t.$members$[e][0]))return getValue(this,e);const n=getHostRef(this),o=n?n.$lazyInstance$:l;if(!o)return;return o[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(l,e,{set(s){const l=getHostRef(this);if(l){if(r)return void 0===(32&o?this[e]:l.$hostElement$[e])&&l.$instanceValues$.get(e)&&(s=l.$instanceValues$.get(e)),r.apply(this,[parsePropertyValue(s,o)]),s=32&o?this[e]:l.$hostElement$[e],void setValue(this,e,s,t);{if(!(1&n&&4096&t.$members$[e][0]))return setValue(this,e,s,t),void(1&n&&!l.$lazyInstance$&&l.$fetchedCbList$.push(()=>{4096&t.$members$[e][0]&&l.$lazyInstance$[e]!==l.$instanceValues$.get(e)&&(l.$lazyInstance$[e]=s)}));const r=()=>{const n=l.$lazyInstance$[e];!l.$instanceValues$.get(e)&&n&&l.$instanceValues$.set(e,n),l.$lazyInstance$[e]=parsePropertyValue(s,o),setValue(this,e,l.$lazyInstance$[e],t)};l.$lazyInstance$?r():l.$fetchedCbList$.push(()=>{r()})}}}})}else 1&n&&64&o&&Object.defineProperty(l,e,{value(...t){var n;const o=getHostRef(this);return null==(n=null==o?void 0:o.$onInstancePromise$)?void 0:n.then(()=>{var n;return null==(n=o.$lazyInstance$)?void 0:n[e](...t)})}})}),1&n){const n=new Map;l.attributeChangedCallback=function(e,o,s){plt.jmp(()=>{var a;const i=n.get(e),c=getHostRef(this);if(this.hasOwnProperty(i)&&BUILD.lazyLoad&&(s=this[i],delete this[i]),l.hasOwnProperty(i)&&"number"==typeof this[i]&&this[i]==s)return;if(null==i){const n=null==c?void 0:c.$flags$;if(c&&n&&!(8&n)&&s!==o){const l=c.$lazyInstance$,r=null==(a=t.$watchers$)?void 0:a[e];null==r||r.forEach(t=>{const[[r,a]]=Object.entries(t);null!=l[r]&&(128&n||1&a)&&l[r].call(l,s,o,e)})}return}const d=r.find(([e])=>e===i);d&&4&d[1][0]&&(s=null!==s&&"false"!==s);const $=Object.getOwnPropertyDescriptor(l,i);s==this[i]||$.get&&!$.set||(this[i]=s)})},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=t.$watchers$)?s:{}),...r.filter(([e,t])=>31&t[0]).map(([e,t])=>{const o=t[1]||e;return n.set(o,e),o})]))}}return e},initializeComponent=async(e,t,n,o)=>{let s;if(!(32&t.$flags$)){if(t.$flags$|=32,n.$lazyBundleId$){const o=loadModule(n,t);if(o&&"then"in o){const e=uniqueTime();s=await o,e()}else s=o;if(!s)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);s.isProxied||(n.$watchers$=s.watchers,n.$serializers$=s.serializers,n.$deserializers$=s.deserializers,proxyComponent(s,n,2),s.isProxied=!0);const l=createTime("createInstance",n.$tagName$);t.$flags$|=8;try{new s(t)}catch(t){consoleError(t,e)}t.$flags$&=-9,t.$flags$|=128,l(),4&n.$flags$?t.$deferredConnectedCallback$=!0:fireConnectedCallback(t.$lazyInstance$,e)}else{s=e.constructor;const n=e.localName;customElements.whenDefined(n).then(()=>t.$flags$|=128)}if(s&&s.style){let e;"string"==typeof s.style&&(e=s.style);const t=getScopeId(n);if(!styles.has(t)||BUILD.hotModuleReplacement){const o=createTime("registerStyles",n.$tagName$);registerStyle(t,e,!!(1&n.$flags$)),o()}}}const l=t.$ancestorComponent$,r=()=>scheduleUpdate(t,!0);l&&l["s-rc"]?l["s-rc"].push(r):r()},fireConnectedCallback=(e,t)=>{safeCall(e,"connectedCallback",void 0,t)},connectedCallback=e=>{if(!(1&plt.$flags$)){const t=getHostRef(e);if(!t)return;const n=t.$cmpMeta$,o=createTime("connectedCallback",n.$tagName$);if(1&t.$flags$)addHostEventListeners(e,t,n.$listeners$),(null==t?void 0:t.$lazyInstance$)?fireConnectedCallback(t.$lazyInstance$,e):(null==t?void 0:t.$onReadyPromise$)&&t.$onReadyPromise$.then(()=>fireConnectedCallback(t.$lazyInstance$,e));else{t.$flags$|=1,12&n.$flags$&&setContentReference(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){attachToAncestor(t,t.$ancestorComponent$=n);break}}n.$members$&&Object.entries(n.$members$).map(([t,[n]])=>{if(31&n&&t in e&&e[t]!==Object.prototype[t]){const n=e[t];delete e[t],e[t]=n}}),initializeComponent(e,t,n)}o()}},setContentReference=e=>{if(!win.document)return;const t=e["s-cr"]=win.document.createComment("");t["s-cn"]=!0,insertBefore(e,t,e.firstChild)},disconnectInstance=(e,t)=>{safeCall(e,"disconnectedCallback",void 0,t||e)},disconnectedCallback=async e=>{if(!(1&plt.$flags$)){const t=getHostRef(e);(null==t?void 0:t.$rmListeners$)&&(t.$rmListeners$.map(e=>e()),t.$rmListeners$=void 0),(null==t?void 0:t.$lazyInstance$)?disconnectInstance(t.$lazyInstance$,e):(null==t?void 0:t.$onReadyPromise$)&&t.$onReadyPromise$.then(()=>disconnectInstance(t.$lazyInstance$,e))}rootAppliedStyles.has(e)&&rootAppliedStyles.delete(e),e.shadowRoot&&rootAppliedStyles.has(e.shadowRoot)&&rootAppliedStyles.delete(e.shadowRoot)},bootstrapLazy=(e,t={})=>{var n;if(!win.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const o=createTime(),s=[],l=t.exclude||[],r=win.customElements,a=win.document.head,i=a.querySelector("meta[charset]"),c=win.document.createElement("style"),d=[];let $,p=!0;Object.assign(plt,t),plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",win.document.baseURI).href;let h=!1;if(e.map(e=>{e[1].map(t=>{var n,o,a;const i={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};4&i.$flags$&&(h=!0),i.$members$=t[2],i.$listeners$=t[3],i.$watchers$=null!=(n=t[4])?n:{},i.$serializers$=null!=(o=t[5])?o:{},i.$deserializers$=null!=(a=t[6])?a:{};const c=transformTag(i.$tagName$),u=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(e){if(super(e),registerHost(e=this,i),1&i.$flags$)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${i.$tagName$}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else createShadowRoot.call(e,i)}connectedCallback(){const e=getHostRef(this);e&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,addHostEventListeners(this,e,i.$listeners$)),$&&(clearTimeout($),$=null),p?d.push(this):plt.jmp(()=>connectedCallback(this)))}disconnectedCallback(){plt.jmp(()=>disconnectedCallback(this)),plt.raf(()=>{var e;const t=getHostRef(this);if(!t)return;const n=d.findIndex(e=>e===this);n>-1&&d.splice(n,1),(null==(e=null==t?void 0:t.$vnode$)?void 0:e.$elm$)instanceof Node&&!t.$vnode$.$elm$.isConnected&&delete t.$vnode$.$elm$})}componentOnReady(){var e;return null==(e=getHostRef(this))?void 0:e.$onReadyPromise$}};!(1&i.$flags$)&&256&i.$flags$?patchPseudoShadowDom(u.prototype):patchCloneNode(u.prototype),i.$lazyBundleId$=e[0],l.includes(c)||r.get(c)||(s.push(c),r.define(c,proxyComponent(u,i,1)))})}),s.length>0&&(h&&(c.textContent+=SLOT_FB_CSS),c.textContent+=s.sort()+HYDRATED_CSS,c.innerHTML.length)){c.setAttribute("data-styles","");const e=null!=(n=plt.$nonce$)?n:queryNonceMetaTagContent(win.document);null!=e&&c.setAttribute("nonce",e),a.insertBefore(c,i?i.nextSibling:a.firstChild)}p=!1,d.length?d.map(e=>e.connectedCallback()):plt.jmp(()=>$=setTimeout(appDidLoad,30)),o()},Fragment=(e,t)=>t,addHostEventListeners=(e,t,n,o)=>{n&&win.document&&n.map(([n,o,s])=>{const l=getHostListenerTarget(win.document,e,n),r=hostListenerProxy(t,s),a=hostListenerOpts(n);plt.ael(l,o,r,a),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>plt.rel(l,o,r,a))})},hostListenerProxy=(e,t)=>n=>{var o;try{256&e.$flags$?null==(o=e.$lazyInstance$)||o[t](n):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}catch(t){consoleError(t,e.$hostElement$)}},getHostListenerTarget=(e,t,n)=>4&n?e:8&n?win:16&n?e.body:t,hostListenerOpts=e=>supportsListenerOptions?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),setNonce=e=>plt.$nonce$=e;function transformTag(e){return e}exports.Fragment=Fragment,exports.H=H,exports.Host=Host,exports.bootstrapLazy=bootstrapLazy,exports.createEvent=createEvent,exports.getElement=getElement,exports.h=h,exports.promiseResolve=promiseResolve,exports.registerInstance=registerInstance,exports.setNonce=setNonce;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const globalScripts=()=>{};export{globalScripts as g};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see index-CGqARDX4.js.LICENSE.txt */
|
|
2
|
-
const NAMESPACE="shared-components",BUILD={hotModuleReplacement:!1,hydratedSelectorName:"hydrated",lazyLoad:!0,propChangeCallback:!0,shadowDom:!0,slotRelocation:!0,state:!0,updatable:!0};var reWireGetterSetter=(e,t)=>{var n;const s=t.$cmpMeta$;Object.entries(null!=(n=s.$members$)?n:{}).map(([n,[s]])=>{if(31&s||32&s){const s=e[n],o=getPropertyDescriptor(Object.getPrototypeOf(e),n)||Object.getOwnPropertyDescriptor(e,n);o&&Object.defineProperty(e,n,{get(){return o.get.call(this)},set(e){o.set.call(this,e)},configurable:!0,enumerable:!0}),e[n]=t.$instanceValues$.has(n)?t.$instanceValues$.get(n):s}})};function getPropertyDescriptor(e,t){for(;e;){const n=Object.getOwnPropertyDescriptor(e,t);if(null==n?void 0:n.get)return n;e=Object.getPrototypeOf(e)}}var globalStyleSheet,getHostRef=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},registerInstance=(e,t)=>{t&&(e.__stencil__getHostRef=()=>t,t.$lazyInstance$=e,512&t.$cmpMeta$.$flags$&&BUILD.state&&reWireGetterSetter(e,t))},registerHost=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map,$serializerValues$:new Map};n.$onInstancePromise$=new Promise(e=>n.$onInstanceResolve$=e),n.$onReadyPromise$=new Promise(e=>n.$onReadyResolve$=e),e["s-p"]=[],e["s-rc"]=[],n.$fetchedCbList$=[];const s=n;return e.__stencil__getHostRef=()=>s,s},isMemberInElement=(e,t)=>t in e,consoleError=(e,t)=>(0,console.error)(e,t),cmpModules=new Map,loadModule=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),o=e.$lazyBundleId$;if(!o)return;const l=cmpModules.get(o);return l?l[s]:import(`./${o}.entry.js`).then(e=>(cmpModules.set(o,e),e[s]),e=>{consoleError(e,t.$hostElement$)})},styles=new Map,HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}",SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}",XLINK_NS="http://www.w3.org/1999/xlink",win="undefined"!=typeof window?window:{},H=win.HTMLElement||class{},plt={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},supportsShadow=BUILD.shadowDom,supportsListenerOptions=(()=>{var e;let t=!1;try{null==(e=win.document)||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch(e){}return t})(),promiseResolve=e=>Promise.resolve(e),supportsConstructableStylesheets=(()=>{try{return!!win.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(e){}return!1})(),supportsMutableAdoptedStyleSheets=!!supportsConstructableStylesheets&&(()=>!!win.document&&Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets,"length").writable)(),queuePending=!1,queueDomReads=[],queueDomWrites=[],queueTask=(e,t)=>n=>{e.push(n),queuePending||(queuePending=!0,t&&4&plt.$flags$?nextTick(flush):plt.raf(flush))},consume=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){consoleError(e)}e.length=0},flush=()=>{consume(queueDomReads),consume(queueDomWrites),(queuePending=queueDomReads.length>0)&&plt.raf(flush)},nextTick=e=>promiseResolve().then(e),writeTask=queueTask(queueDomWrites,!0);function createStyleSheetIfNeededAndSupported(e){}function createShadowRoot(e){var t;const n=this.attachShadow({mode:"open"});void 0===globalStyleSheet&&(globalStyleSheet=null!=(t=createStyleSheetIfNeededAndSupported())?t:null),globalStyleSheet&&(supportsMutableAdoptedStyleSheets?n.adoptedStyleSheets.push(globalStyleSheet):n.adoptedStyleSheets=[...n.adoptedStyleSheets,globalStyleSheet])}var updateFallbackSlotVisibility=e=>{const t=internalCall(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&"SLOT-FB"!==e.tagName&&getHostSlotNodes(t,e.tagName).forEach(e=>{1===e.nodeType&&"SLOT-FB"===e.tagName&&(getSlotChildSiblings(e,getSlotName(e),!1).length?e.hidden=!0:e.hidden=!1)});let n=0;for(n=0;n<t.length;n++){const e=t[n];1===e.nodeType&&internalCall(e,"childNodes").length&&updateFallbackSlotVisibility(e)}},getSlottedChildNodes=e=>{const t=[];for(let n=0;n<e.length;n++){const s=e[n]["s-nr"]||void 0;s&&s.isConnected&&t.push(s)}return t};function getHostSlotNodes(e,t,n){let s,o=0,l=[];for(;o<e.length;o++){if(s=e[o],s["s-sr"]&&(!t||s["s-hn"]===t)&&(void 0===n||getSlotName(s)===n)&&(l.push(s),void 0!==n))return l;l=[...l,...getHostSlotNodes(s.childNodes,t,n)]}return l}var getSlotChildSiblings=(e,t,n=!0)=>{const s=[];(n&&e["s-sr"]||!e["s-sr"])&&s.push(e);let o=e;for(;o=o.nextSibling;)getSlotName(o)!==t||!n&&o["s-sr"]||s.push(o);return s},isNodeLocatedInSlot=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,addSlotRelocateNode=(e,t,n,s)=>{if(e["s-ol"]&&e["s-ol"].isConnected)return;const o=document.createTextNode("");if(o["s-nr"]=e,!t["s-cr"]||!t["s-cr"].parentNode)return;const l=t["s-cr"].parentNode;internalCall(l,n?"prepend":"appendChild").call(l,o),e["s-ol"]=o,e["s-sh"]=t["s-hn"]},getSlotName=e=>"string"==typeof e["s-sn"]?e["s-sn"]:1===e.nodeType&&e.getAttribute("slot")||void 0;function patchSlotNode(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const t=t=>function(e){const n=[],s=this["s-sn"];(null==e?void 0:e.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const o=this["s-cr"].parentElement;return(o.__childNodes?o.childNodes:getSlottedChildNodes(o.childNodes)).forEach(e=>{s===getSlotName(e)&&n.push(e)}),t?n.filter(e=>1===e.nodeType):n}.bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}function dispatchSlotChangeEvent(e){e.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function findSlotFromSlottedNode(e,t){var n;if(!(t=t||(null==(n=e["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const s=e["s-sn"]=getSlotName(e)||"";return{slotNode:getHostSlotNodes(internalCall(t,"childNodes"),t.tagName,s)[0],slotName:s}}var patchPseudoShadowDom=e=>{patchCloneNode(e),patchSlotAppendChild(e),patchSlotAppend(e),patchSlotPrepend(e),patchSlotInsertAdjacentElement(e),patchSlotInsertAdjacentHTML(e),patchSlotInsertAdjacentText(e),patchInsertBefore(e),patchTextContent(e),patchChildSlotNodes(e),patchSlotRemoveChild(e)},patchCloneNode=e=>{if(e.__cloneNode)return;const t=e.__cloneNode=e.cloneNode;e.cloneNode=function(e){const n=this.shadowRoot&&supportsShadow,s=t.call(this,!!n&&e);if(!n&&e){let e,t,n=0;const o=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],l=this.__childNodes||this.childNodes;for(;n<l.length;n++)e=l[n]["s-nr"],t=o.every(e=>!l[n][e]),e&&(s.__appendChild?s.__appendChild(e.cloneNode(!0)):s.appendChild(e.cloneNode(!0))),t&&s.appendChild(l[n].cloneNode(!0))}return s}},patchSlotAppendChild=e=>{e.__appendChild||(e.__appendChild=e.appendChild,e.appendChild=function(e){const{slotName:t,slotNode:n}=findSlotFromSlottedNode(e,this);if(n){addSlotRelocateNode(e,n);const s=getSlotChildSiblings(n,t),o=s[s.length-1],l=internalCall(o,"parentNode"),r=internalCall(l,"insertBefore")(e,o.nextSibling);return dispatchSlotChangeEvent(n),updateFallbackSlotVisibility(this),r}return this.__appendChild(e)})},patchSlotRemoveChild=e=>{e.__removeChild||(e.__removeChild=e.removeChild,e.removeChild=function(e){return e&&void 0!==e["s-sn"]&&getHostSlotNodes(this.__childNodes||this.childNodes,this.tagName,e["s-sn"])&&e.isConnected?(e.remove(),void updateFallbackSlotVisibility(this)):this.__removeChild(e)})},patchSlotPrepend=e=>{e.__prepend||(e.__prepend=e.prepend,e.prepend=function(...t){t.forEach(t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t));const n=(t["s-sn"]=getSlotName(t))||"",s=getHostSlotNodes(internalCall(this,"childNodes"),this.tagName,n)[0];if(s){addSlotRelocateNode(t,s,!0);const e=getSlotChildSiblings(s,n)[0],o=internalCall(e,"parentNode"),l=internalCall(o,"insertBefore")(t,internalCall(e,"nextSibling"));return dispatchSlotChangeEvent(s),l}return 1===t.nodeType&&t.getAttribute("slot")&&(t.hidden=!0),e.__prepend(t)})})},patchSlotAppend=e=>{e.__append||(e.__append=e.append,e.append=function(...e){e.forEach(e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e)),this.appendChild(e)})})},patchSlotInsertAdjacentHTML=e=>{if(e.__insertAdjacentHTML)return;const t=e.insertAdjacentHTML;e.insertAdjacentHTML=function(e,n){if("afterbegin"!==e&&"beforeend"!==e)return t.call(this,e,n);const s=this.ownerDocument.createElement("_");let o;if(s.innerHTML=n,"afterbegin"===e)for(;o=s.firstChild;)this.prepend(o);else if("beforeend"===e)for(;o=s.firstChild;)this.append(o)}},patchSlotInsertAdjacentText=e=>{e.insertAdjacentText=function(e,t){this.insertAdjacentHTML(e,t)}},patchInsertBefore=e=>{if(e.__insertBefore)return;const t=e;t.__insertBefore||(t.__insertBefore=e.insertBefore,e.insertBefore=function(e,t){const{slotName:n,slotNode:s}=findSlotFromSlottedNode(e,this),o=this.__childNodes?this.childNodes:getSlottedChildNodes(this.childNodes);if(s){let l=!1;if(o.forEach(o=>{if(o!==t&&null!==t);else{if(l=!0,null===t||n!==t["s-sn"])return void this.appendChild(e);if(n===t["s-sn"]){addSlotRelocateNode(e,s);const n=internalCall(t,"parentNode");internalCall(n,"insertBefore")(e,t),dispatchSlotChangeEvent(s)}}}),l)return e}const l=null==t?void 0:t.__parentNode;return l&&!this.isSameNode(l)?this.appendChild(e):this.__insertBefore(e,t)})},patchSlotInsertAdjacentElement=e=>{if(e.__insertAdjacentElement)return;const t=e.insertAdjacentElement;e.insertAdjacentElement=function(e,n){return"afterbegin"!==e&&"beforeend"!==e?t.call(this,e,n):"afterbegin"===e?(this.prepend(n),n):"beforeend"===e?(this.append(n),n):n}},patchTextContent=e=>{patchHostOriginalAccessor("textContent",e),Object.defineProperty(e,"textContent",{get:function(){let e="";return(this.__childNodes?this.childNodes:getSlottedChildNodes(this.childNodes)).forEach(t=>e+=t.textContent||""),e},set:function(e){(this.__childNodes?this.childNodes:getSlottedChildNodes(this.childNodes)).forEach(e=>{e["s-ol"]&&e["s-ol"].remove(),e.remove()}),this.insertAdjacentHTML("beforeend",e)}})},patchChildSlotNodes=e=>{class t extends Array{item(e){return this[e]}}patchHostOriginalAccessor("children",e),Object.defineProperty(e,"children",{get(){return this.childNodes.filter(e=>1===e.nodeType)}}),Object.defineProperty(e,"childElementCount",{get(){return this.children.length}}),patchHostOriginalAccessor("firstChild",e),Object.defineProperty(e,"firstChild",{get(){return this.childNodes[0]}}),patchHostOriginalAccessor("lastChild",e),Object.defineProperty(e,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),patchHostOriginalAccessor("childNodes",e),Object.defineProperty(e,"childNodes",{get(){const e=new t;return e.push(...getSlottedChildNodes(this.__childNodes)),e}})},patchParentNode=e=>{e&&!e.__parentNode&&(patchHostOriginalAccessor("parentNode",e),Object.defineProperty(e,"parentNode",{get:function(){var e;return(null==(e=this["s-ol"])?void 0:e.parentNode)||this.__parentNode},set:function(e){this.__parentNode=e}}))},validElementPatches=["children","nextElementSibling","previousElementSibling"],validNodesPatches=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function patchHostOriginalAccessor(e,t){if(!globalThis.Node||!globalThis.Element)return;let n;validElementPatches.includes(e)?n=Object.getOwnPropertyDescriptor(Element.prototype,e):validNodesPatches.includes(e)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,e)),n||(n=Object.getOwnPropertyDescriptor(t,e)),n&&Object.defineProperty(t,"__"+e,n)}function internalCall(e,t){if("__"+t in e){const n=e["__"+t];return"function"!=typeof n?n:n.bind(e)}return"function"!=typeof e[t]?e[t]:e[t].bind(e)}var createTime=(e,t="")=>()=>{},uniqueTime=(e,t)=>()=>{};function queryNonceMetaTagContent(e){var t,n,s;return null!=(s=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?s:void 0}var contentRef,hostTagName,rootAppliedStyles=new WeakMap,registerStyle=(e,t,n)=>{let s=styles.get(e);supportsConstructableStylesheets&&n?(s=s||new CSSStyleSheet,"string"==typeof s?s=t:s.replaceSync(t)):s=t,styles.set(e,s)},addStyle=(e,t,n)=>{var s,o,l;const r=getScopeId(t),a=styles.get(r);if(!win.document)return r;if(e=11===e.nodeType?e:win.document,a)if("string"==typeof a){e=e.head||e;let n,l=rootAppliedStyles.get(e);if(l||rootAppliedStyles.set(e,l=new Set),!l.has(r)){n=win.document.createElement("style"),n.textContent=a;const i=null!=(s=plt.$nonce$)?s:queryNonceMetaTagContent(win.document);if(null!=i&&n.setAttribute("nonce",i),!(1&t.$flags$))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),s=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(n,(null==s?void 0:s.parentNode)===e?s:null)}else if("host"in e)if(supportsConstructableStylesheets){const t=new(null!=(o=e.defaultView)?o:e.ownerDocument.defaultView).CSSStyleSheet;t.replaceSync(a),supportsMutableAdoptedStyleSheets?e.adoptedStyleSheets.unshift(t):e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.textContent=a+t.textContent:e.prepend(n)}else e.append(n);1&t.$flags$&&e.insertBefore(n,null),4&t.$flags$&&(n.textContent+=SLOT_FB_CSS),l&&l.add(r)}}else{let t=rootAppliedStyles.get(e);if(t||rootAppliedStyles.set(e,t=new Set),!t.has(r)){const n=null!=(l=e.defaultView)?l:e.ownerDocument.defaultView;let s;if(a.constructor===n.CSSStyleSheet)s=a;else{s=new n.CSSStyleSheet;for(let e=0;e<a.cssRules.length;e++)s.insertRule(a.cssRules[e].cssText,e)}supportsMutableAdoptedStyleSheets?e.adoptedStyleSheets.push(s):e.adoptedStyleSheets=[...e.adoptedStyleSheets,s],t.add(r)}}return r},attachStyles=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=t.$flags$,o=createTime("attachStyles",t.$tagName$),l=addStyle(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&s&&(n["s-sc"]=l,n.classList.add(l+"-h")),o()},getScopeId=(e,t)=>"sc-"+e.$tagName$,isComplexType=e=>"object"==(e=typeof e)||"function"===e,h=(e,t,...n)=>{"string"==typeof e&&(e=transformTag(e));let s=null,o=null,l=null,r=!1,a=!1;const i=[],c=t=>{for(let n=0;n<t.length;n++)s=t[n],Array.isArray(s)?c(s):null!=s&&"boolean"!=typeof s&&((r="function"!=typeof e&&!isComplexType(s))&&(s=String(s)),r&&a?i[i.length-1].$text$+=s:i.push(r?newVNode(null,s):s),a=r)};if(c(n),t){t.key&&(o=t.key),t.name&&(l=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter(t=>e[t]).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,i,vdomFnUtils);const d=newVNode(e,null);return d.$attrs$=t,i.length>0&&(d.$children$=i),d.$key$=o,d.$name$=l,d},newVNode=(e,t)=>({$flags$:0,$tag$:e,$text$:null!=t?t:null,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),Host={},isHost=e=>e&&e.$tag$===Host,vdomFnUtils={forEach:(e,t)=>e.map(convertToPublic).forEach(t),map:(e,t)=>e.map(convertToPublic).map(t).map(convertToPrivate)},convertToPublic=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),convertToPrivate=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),h(e.vtag,t,...e.vchildren||[])}const t=newVNode(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},parsePropertyValue=(e,t,n)=>null==e||isComplexType(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?"string"==typeof e?parseFloat(e):"number"==typeof e?e:NaN:1&t?String(e):e,getElement=e=>{var t;return null==(t=getHostRef(e))?void 0:t.$hostElement$},createEvent=(e,t,n)=>{const s=getElement(e);return{emit:e=>emitEvent(s,t,{bubbles:!0,composed:!0,cancelable:!0,detail:e})}},emitEvent=(e,t,n)=>{const s=plt.ce(t,n);return e.dispatchEvent(s),s},setAccessor=(e,t,n,s,o,l,r)=>{if(n===s)return;let a=isMemberInElement(e,t),i=t.toLowerCase();if("class"===t){const t=e.classList,o=parseClassList(n);let l=parseClassList(s);t.remove(...o.filter(e=>e&&!l.includes(e))),t.add(...l.filter(e=>e&&!o.includes(e)))}else if("style"===t){for(const t in n)s&&null!=s[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in s)n&&s[t]===n[t]||(t.includes("-")?e.style.setProperty(t,s[t]):e.style[t]=s[t])}else if("key"===t);else if("ref"===t)s&&queueRefAttachment(s,e);else if(a||"o"!==t[0]||"n"!==t[1]){const r=isComplexType(s);if(a||r&&null!==s)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const o=null==s?"":s;"list"===t?a=!1:null!=n&&e[t]==o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(e){}let c=!1;i!==(i=i.replace(/^xlink\:?/,""))&&(t=i,c=!0),null==s||!1===s?!1===s&&""!==e.getAttribute(t)||(c?e.removeAttributeNS(XLINK_NS,t):e.removeAttribute(t)):(!a||4&l||o)&&!r&&1===e.nodeType&&(s=!0===s?"":s,c?e.setAttributeNS(XLINK_NS,t,s):e.setAttribute(t,s))}else if(t="-"===t[2]?t.slice(3):isMemberInElement(win,i)?i.slice(2):i[2]+t.slice(3),n||s){const o=t.endsWith(CAPTURE_EVENT_SUFFIX);t=t.replace(CAPTURE_EVENT_REGEX,""),n&&plt.rel(e,t,n,o),s&&plt.ael(e,t,s,o)}},parseClassListRegex=/\s/,parseClassList=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(parseClassListRegex):[]),CAPTURE_EVENT_SUFFIX="Capture",CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$"),updateElement=(e,t,n,s)=>{const o=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,l=e&&e.$attrs$||{},r=t.$attrs$||{};for(const e of sortedAttrNames(Object.keys(l)))e in r||setAccessor(o,e,l[e],void 0,n,t.$flags$);for(const e of sortedAttrNames(Object.keys(r)))setAccessor(o,e,l[e],r[e],n,t.$flags$)};function sortedAttrNames(e){return e.includes("ref")?[...e.filter(e=>"ref"!==e),"ref"]:e}var useNativeShadowDom=!1,checkSlotFallbackVisibility=!1,checkSlotRelocate=!1,isSvgMode=!1,refCallbacksToRemove=[],refCallbacksToAttach=[],createElm=(e,t,n)=>{var s;const o=t.$children$[n];let l,r,a,i=0;if(useNativeShadowDom||(checkSlotRelocate=!0,"slot"===o.$tag$&&(o.$flags$|=o.$children$?2:1)),null!=o.$text$)l=o.$elm$=win.document.createTextNode(o.$text$);else if(1&o.$flags$)l=o.$elm$=win.document.createTextNode(""),updateElement(null,o,isSvgMode);else{if(!win.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=o.$elm$=win.document.createElement(!useNativeShadowDom&&BUILD.slotRelocation&&2&o.$flags$?"slot-fb":o.$tag$),updateElement(null,o,isSvgMode),o.$children$){const t="template"===o.$tag$?l.content:l;for(i=0;i<o.$children$.length;++i)r=createElm(e,o,i),r&&t.appendChild(r)}}return l["s-hn"]=hostTagName,3&o.$flags$&&(l["s-sr"]=!0,l["s-cr"]=contentRef,l["s-sn"]=o.$name$||"",l["s-rf"]=null==(s=o.$attrs$)?void 0:s.ref,patchSlotNode(l),a=e&&e.$children$&&e.$children$[n],a&&a.$tag$===o.$tag$&&e.$elm$&&relocateToHostRoot(e.$elm$)),l},relocateToHostRoot=e=>{plt.$flags$|=1;const t=e.closest(hostTagName.toLowerCase());if(null!=t){const n=Array.from(t.__childNodes||t.childNodes).find(e=>e["s-cr"]),s=Array.from(e.__childNodes||e.childNodes);for(const e of n?s.reverse():s)null!=e["s-sh"]&&(insertBefore(t,e,null!=n?n:null),e["s-sh"]=void 0,checkSlotRelocate=!0)}plt.$flags$&=-2},putBackInOriginalLocation=(e,t)=>{plt.$flags$|=1;const n=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let t=e;for(;t=t.nextSibling;)t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===hostTagName&&n.push(t)}for(let e=n.length-1;e>=0;e--){const s=n[e];s["s-hn"]!==hostTagName&&s["s-ol"]&&(insertBefore(referenceNode(s).parentNode,s,referenceNode(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,checkSlotRelocate=!0),t&&putBackInOriginalLocation(s,t)}plt.$flags$&=-2},addVnodes=(e,t,n,s,o,l)=>{let r,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===hostTagName&&(a=a.shadowRoot),"template"===n.$tag$&&(a=a.content);o<=l;++o)s[o]&&(r=createElm(null,n,o),r&&(s[o].$elm$=r,insertBefore(a,r,referenceNode(t))))},removeVnodes=(e,t,n)=>{for(let s=t;s<=n;++s){const t=e[s];if(t){const e=t.$elm$;nullifyVNodeRefs(t),e&&(checkSlotFallbackVisibility=!0,e["s-ol"]?e["s-ol"].remove():putBackInOriginalLocation(e,!0),e.remove())}}},updateChildren=(e,t,n,s,o=!1)=>{let l,r,a=0,i=0,c=0,d=0,$=t.length-1,h=t[0],p=t[$],u=s.length-1,f=s[0],m=s[u];const g="template"===n.$tag$?e.content:e;for(;a<=$&&i<=u;)if(null==h)h=t[++a];else if(null==p)p=t[--$];else if(null==f)f=s[++i];else if(null==m)m=s[--u];else if(isSameVnode(h,f,o))patch(h,f,o),h=t[++a],f=s[++i];else if(isSameVnode(p,m,o))patch(p,m,o),p=t[--$],m=s[--u];else if(isSameVnode(h,m,o))"slot"!==h.$tag$&&"slot"!==m.$tag$||putBackInOriginalLocation(h.$elm$.parentNode,!1),patch(h,m,o),insertBefore(g,h.$elm$,p.$elm$.nextSibling),h=t[++a],m=s[--u];else if(isSameVnode(p,f,o))"slot"!==h.$tag$&&"slot"!==m.$tag$||putBackInOriginalLocation(p.$elm$.parentNode,!1),patch(p,f,o),insertBefore(g,p.$elm$,h.$elm$),p=t[--$],f=s[++i];else{for(c=-1,d=a;d<=$;++d)if(t[d]&&null!==t[d].$key$&&t[d].$key$===f.$key$){c=d;break}c>=0?(r=t[c],r.$tag$!==f.$tag$?l=createElm(t&&t[i],n,c):(patch(r,f,o),t[c]=void 0,l=r.$elm$),f=s[++i]):(l=createElm(t&&t[i],n,i),f=s[++i]),l&&insertBefore(referenceNode(h.$elm$).parentNode,l,referenceNode(h.$elm$))}a>$?addVnodes(e,null==s[u+1]?null:s[u+1].$elm$,n,s,i,u):i>u&&removeVnodes(t,a,$)},isSameVnode=(e,t,n=!1)=>e.$tag$===t.$tag$&&("slot"===e.$tag$?e.$name$===t.$name$:n?(n&&!e.$key$&&t.$key$&&(e.$key$=t.$key$),!0):e.$key$===t.$key$),referenceNode=e=>e&&e["s-ol"]||e,patch=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,o=e.$children$,l=t.$children$,r=t.$tag$,a=t.$text$;let i;null==a?("slot"!==r||useNativeShadowDom||e.$name$!==t.$name$&&(t.$elm$["s-sn"]=t.$name$||"",relocateToHostRoot(t.$elm$.parentElement)),updateElement(e,t,isSvgMode),null!==o&&null!==l?updateChildren(s,o,t,l,n):null!==l?(null!==e.$text$&&(s.textContent=""),addVnodes(s,null,t,l,0,l.length-1)):!n&&BUILD.updatable&&null!==o&&removeVnodes(o,0,o.length-1)):(i=s["s-cr"])?i.parentNode.textContent=a:e.$text$!==a&&(s.data=a)},relocateNodes=[],markSlotContentForRelocation=e=>{let t,n,s;const o=e.__childNodes||e.childNodes;for(const e of o){if(e["s-sr"]&&(t=e["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const o=e["s-sn"];for(s=n.length-1;s>=0;s--)if(t=n[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===e["s-hn"]||t["s-sh"]&&t["s-sh"]===e["s-hn"]))if(isNodeLocatedInSlot(t,o)){let n=relocateNodes.find(e=>e.$nodeToRelocate$===t);checkSlotFallbackVisibility=!0,t["s-sn"]=t["s-sn"]||o,n?(n.$nodeToRelocate$["s-sh"]=e["s-hn"],n.$slotRefNode$=e):(t["s-sh"]=e["s-hn"],relocateNodes.push({$slotRefNode$:e,$nodeToRelocate$:t})),t["s-sr"]&&relocateNodes.map(e=>{isNodeLocatedInSlot(e.$nodeToRelocate$,t["s-sn"])&&(n=relocateNodes.find(e=>e.$nodeToRelocate$===t),n&&!e.$slotRefNode$&&(e.$slotRefNode$=n.$slotRefNode$))})}else relocateNodes.some(e=>e.$nodeToRelocate$===t)||relocateNodes.push({$nodeToRelocate$:t})}1===e.nodeType&&markSlotContentForRelocation(e)}},nullifyVNodeRefs=e=>{e.$attrs$&&e.$attrs$.ref&&refCallbacksToRemove.push(()=>e.$attrs$.ref(null)),e.$children$&&e.$children$.map(nullifyVNodeRefs)},queueRefAttachment=(e,t)=>{refCallbacksToAttach.push(()=>e(t))},flushQueuedRefCallbacks=()=>{refCallbacksToRemove.forEach(e=>e()),refCallbacksToRemove.length=0,refCallbacksToAttach.forEach(e=>e()),refCallbacksToAttach.length=0},insertBefore=(e,t,n,s)=>{if("string"==typeof t["s-sn"]){11!==e.getRootNode().nodeType&&patchParentNode(t),e.insertBefore(t,n);const{slotNode:o}=findSlotFromSlottedNode(t);return o&&!s&&dispatchSlotChangeEvent(o),t}return e.__insertBefore?e.__insertBefore(t,n):null==e?void 0:e.insertBefore(t,n)},renderVdom=(e,t,n=!1)=>{var s,o,l,r,a;const i=e.$hostElement$,c=e.$cmpMeta$,d=e.$vnode$||newVNode(null,null),$=isHost(t)?t:h(null,null,t);if(hostTagName=i.tagName,n&&$.$attrs$)for(const e of Object.keys($.$attrs$))i.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&($.$attrs$[e]=i[e]);if($.$tag$=null,$.$flags$|=4,e.$vnode$=$,$.$elm$=d.$elm$=i.shadowRoot||i,useNativeShadowDom=!(!(1&c.$flags$)||128&c.$flags$),contentRef=i["s-cr"],checkSlotFallbackVisibility=!1,patch(d,$,n),plt.$flags$|=1,checkSlotRelocate){markSlotContentForRelocation($.$elm$);for(const e of relocateNodes){const t=e.$nodeToRelocate$;if(!t["s-ol"]&&win.document){const e=win.document.createTextNode("");e["s-nr"]=t,insertBefore(t.parentNode,t["s-ol"]=e,t,n)}}for(const e of relocateNodes){const t=e.$nodeToRelocate$,a=e.$slotRefNode$;if(1===t.nodeType&&n&&(t["s-ih"]=null!=(s=t.hidden)&&s),a){const e=a.parentNode;let s=a.nextSibling;if(s&&1===s.nodeType){let n=null==(o=t["s-ol"])?void 0:o.previousSibling;for(;n;){let o=null!=(l=n["s-nr"])?l:null;if(o&&o["s-sn"]===t["s-sn"]&&e===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===t||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){s=o;break}}n=n.previousSibling}}const i=t.__parentNode||t.parentNode,c=t.__nextSibling||t.nextSibling;if((!s&&e!==i||c!==s)&&t!==s){if(insertBefore(e,t,s,n),8===t.nodeType&&t.nodeValue.startsWith("s-nt-")){const e=win.document.createTextNode(t.nodeValue.replace(/^s-nt-/,""));e["s-hn"]=t["s-hn"],e["s-sn"]=t["s-sn"],e["s-sh"]=t["s-sh"],e["s-sr"]=t["s-sr"],e["s-ol"]=t["s-ol"],e["s-ol"]["s-nr"]=e,insertBefore(t.parentNode,e,t,n),t.parentNode.removeChild(t)}1===t.nodeType&&"SLOT-FB"!==t.tagName&&(t.hidden=null!=(r=t["s-ih"])&&r)}t&&"function"==typeof a["s-rf"]&&a["s-rf"](a)}else 1===t.nodeType&&(t.hidden=!0)}}if(checkSlotFallbackVisibility&&updateFallbackSlotVisibility($.$elm$),plt.$flags$&=-2,relocateNodes.length=0,!useNativeShadowDom&&!(1&c.$flags$)&&i["s-cr"]){const e=$.$elm$.__childNodes||$.$elm$.childNodes;for(const t of e)if(t["s-hn"]!==hostTagName&&!t["s-sh"])if(n&&null==t["s-ih"]&&(t["s-ih"]=null!=(a=t.hidden)&&a),1===t.nodeType)t.hidden=!0;else if(3===t.nodeType&&t.nodeValue.trim()){const e=win.document.createComment("s-nt-"+t.nodeValue);e["s-sn"]=t["s-sn"],insertBefore(t.parentNode,e,t,n),t.parentNode.removeChild(t)}}contentRef=void 0,flushQueuedRefCallbacks()},attachToAncestor=(e,t)=>{if(t&&!e.$onRenderResolve$&&t["s-p"]){const n=t["s-p"].push(new Promise(s=>e.$onRenderResolve$=()=>{t["s-p"].splice(n-1,1),s()}))}},scheduleUpdate=(e,t)=>{if(e.$flags$|=16,4&e.$flags$)return void(e.$flags$|=512);attachToAncestor(e,e.$ancestorComponent$);const n=()=>dispatchHooks(e,t);if(!t)return writeTask(n);queueMicrotask(()=>{n()})},dispatchHooks=(e,t)=>{const n=e.$hostElement$,s=createTime("scheduleUpdate",e.$cmpMeta$.$tagName$),o=e.$lazyInstance$;if(!o)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t?(e.$deferredConnectedCallback$&&(e.$deferredConnectedCallback$=!1,safeCall(o,"connectedCallback",void 0,n)),e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([e,t])=>safeCall(o,e,t,n)),e.$queuedListeners$=void 0),e.$fetchedCbList$.length&&e.$fetchedCbList$.forEach(e=>e(n)),l=safeCall(o,"componentWillLoad",void 0,n)):l=safeCall(o,"componentWillUpdate",void 0,n),l=enqueue(l,()=>safeCall(o,"componentWillRender",void 0,n)),s(),enqueue(l,()=>updateComponent(e,o,t))},enqueue=(e,t)=>isPromisey(e)?e.then(t).catch(e=>{console.error(e),t()}):t(),isPromisey=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,updateComponent=async(e,t,n)=>{var s;const o=e.$hostElement$,l=createTime("update",e.$cmpMeta$.$tagName$),r=o["s-rc"];n&&attachStyles(e);const a=createTime("render",e.$cmpMeta$.$tagName$);callRender(e,t,o,n),r&&(r.map(e=>e()),o["s-rc"]=void 0),a(),l();{const t=null!=(s=o["s-p"])?s:[],n=()=>postUpdateComponent(e);0===t.length?n():(Promise.all(t).then(n),e.$flags$|=4,t.length=0)}},callRender=(e,t,n,s)=>{try{t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,renderVdom(e,t,s)}catch(t){consoleError(t,e.$hostElement$)}return null},postUpdateComponent=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=createTime("postUpdate",t),o=e.$lazyInstance$,l=e.$ancestorComponent$;safeCall(o,"componentDidRender",void 0,n),64&e.$flags$?(safeCall(o,"componentDidUpdate",void 0,n),s()):(e.$flags$|=64,addHydratedFlag(n),safeCall(o,"componentDidLoad",void 0,n),s(),e.$onReadyResolve$(n),l||appDidLoad()),e.$onInstanceResolve$(n),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&nextTick(()=>scheduleUpdate(e,!1)),e.$flags$&=-517},appDidLoad=e=>{nextTick(()=>emitEvent(win,"appload",{detail:{namespace:NAMESPACE}}))},safeCall=(e,t,n,s)=>{if(e&&e[t])try{return e[t](n)}catch(e){consoleError(e,s)}},addHydratedFlag=e=>{var t;return e.classList.add(null!=(t=BUILD.hydratedSelectorName)?t:"hydrated")},getValue=(e,t)=>getHostRef(e).$instanceValues$.get(t),setValue=(e,t,n,s)=>{const o=getHostRef(e);if(!o)return;if(!o)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const l=o.$hostElement$,r=o.$instanceValues$.get(t),a=o.$flags$,i=o.$lazyInstance$;n=parsePropertyValue(n,s.$members$[t][0]);const c=Number.isNaN(r)&&Number.isNaN(n);if(!(8&a&&void 0!==r||n===r||c)){if(o.$instanceValues$.set(t,n),s.$watchers$){const e=s.$watchers$[t];e&&e.map(e=>{try{const[[s,l]]=Object.entries(e);(128&a||1&l)&&(i?i[s](n,r,t):o.$fetchedCbList$.push(()=>{o.$lazyInstance$[s](n,r,t)}))}catch(e){consoleError(e,l)}})}if(2==(18&a)){if(i.componentShouldUpdate&&!1===i.componentShouldUpdate(n,r,t))return;scheduleUpdate(o,!1)}}},proxyComponent=(e,t,n)=>{var s,o;const l=e.prototype;if(t.$members$||BUILD.propChangeCallback){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers),e.deserializers&&!t.$deserializers$&&(t.$deserializers$=e.deserializers),e.serializers&&!t.$serializers$&&(t.$serializers$=e.serializers);const r=Object.entries(null!=(s=t.$members$)?s:{});if(r.map(([e,[s]])=>{if(31&s||2&n&&32&s){const{get:o,set:r}=Object.getOwnPropertyDescriptor(l,e)||{};o&&(t.$members$[e][0]|=2048),r&&(t.$members$[e][0]|=4096),(1&n||!o)&&Object.defineProperty(l,e,{get(){{if(!(2048&t.$members$[e][0]))return getValue(this,e);const n=getHostRef(this),s=n?n.$lazyInstance$:l;if(!s)return;return s[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(l,e,{set(o){const l=getHostRef(this);if(l){if(r)return void 0===(32&s?this[e]:l.$hostElement$[e])&&l.$instanceValues$.get(e)&&(o=l.$instanceValues$.get(e)),r.apply(this,[parsePropertyValue(o,s)]),o=32&s?this[e]:l.$hostElement$[e],void setValue(this,e,o,t);{if(!(1&n&&4096&t.$members$[e][0]))return setValue(this,e,o,t),void(1&n&&!l.$lazyInstance$&&l.$fetchedCbList$.push(()=>{4096&t.$members$[e][0]&&l.$lazyInstance$[e]!==l.$instanceValues$.get(e)&&(l.$lazyInstance$[e]=o)}));const r=()=>{const n=l.$lazyInstance$[e];!l.$instanceValues$.get(e)&&n&&l.$instanceValues$.set(e,n),l.$lazyInstance$[e]=parsePropertyValue(o,s),setValue(this,e,l.$lazyInstance$[e],t)};l.$lazyInstance$?r():l.$fetchedCbList$.push(()=>{r()})}}}})}else 1&n&&64&s&&Object.defineProperty(l,e,{value(...t){var n;const s=getHostRef(this);return null==(n=null==s?void 0:s.$onInstancePromise$)?void 0:n.then(()=>{var n;return null==(n=s.$lazyInstance$)?void 0:n[e](...t)})}})}),1&n){const n=new Map;l.attributeChangedCallback=function(e,s,o){plt.jmp(()=>{var a;const i=n.get(e),c=getHostRef(this);if(this.hasOwnProperty(i)&&BUILD.lazyLoad&&(o=this[i],delete this[i]),l.hasOwnProperty(i)&&"number"==typeof this[i]&&this[i]==o)return;if(null==i){const n=null==c?void 0:c.$flags$;if(c&&n&&!(8&n)&&o!==s){const l=c.$lazyInstance$,r=null==(a=t.$watchers$)?void 0:a[e];null==r||r.forEach(t=>{const[[r,a]]=Object.entries(t);null!=l[r]&&(128&n||1&a)&&l[r].call(l,o,s,e)})}return}const d=r.find(([e])=>e===i);d&&4&d[1][0]&&(o=null!==o&&"false"!==o);const $=Object.getOwnPropertyDescriptor(l,i);o==this[i]||$.get&&!$.set||(this[i]=o)})},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=t.$watchers$)?o:{}),...r.filter(([e,t])=>31&t[0]).map(([e,t])=>{const s=t[1]||e;return n.set(s,e),s})]))}}return e},initializeComponent=async(e,t,n,s)=>{let o;if(!(32&t.$flags$)){if(t.$flags$|=32,n.$lazyBundleId$){const s=loadModule(n,t);if(s&&"then"in s){const e=uniqueTime();o=await s,e()}else o=s;if(!o)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);o.isProxied||(n.$watchers$=o.watchers,n.$serializers$=o.serializers,n.$deserializers$=o.deserializers,proxyComponent(o,n,2),o.isProxied=!0);const l=createTime("createInstance",n.$tagName$);t.$flags$|=8;try{new o(t)}catch(t){consoleError(t,e)}t.$flags$&=-9,t.$flags$|=128,l(),4&n.$flags$?t.$deferredConnectedCallback$=!0:fireConnectedCallback(t.$lazyInstance$,e)}else{o=e.constructor;const n=e.localName;customElements.whenDefined(n).then(()=>t.$flags$|=128)}if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=getScopeId(n);if(!styles.has(t)||BUILD.hotModuleReplacement){const s=createTime("registerStyles",n.$tagName$);registerStyle(t,e,!!(1&n.$flags$)),s()}}}const l=t.$ancestorComponent$,r=()=>scheduleUpdate(t,!0);l&&l["s-rc"]?l["s-rc"].push(r):r()},fireConnectedCallback=(e,t)=>{safeCall(e,"connectedCallback",void 0,t)},connectedCallback=e=>{if(!(1&plt.$flags$)){const t=getHostRef(e);if(!t)return;const n=t.$cmpMeta$,s=createTime("connectedCallback",n.$tagName$);if(1&t.$flags$)addHostEventListeners(e,t,n.$listeners$),(null==t?void 0:t.$lazyInstance$)?fireConnectedCallback(t.$lazyInstance$,e):(null==t?void 0:t.$onReadyPromise$)&&t.$onReadyPromise$.then(()=>fireConnectedCallback(t.$lazyInstance$,e));else{t.$flags$|=1,12&n.$flags$&&setContentReference(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){attachToAncestor(t,t.$ancestorComponent$=n);break}}n.$members$&&Object.entries(n.$members$).map(([t,[n]])=>{if(31&n&&t in e&&e[t]!==Object.prototype[t]){const n=e[t];delete e[t],e[t]=n}}),initializeComponent(e,t,n)}s()}},setContentReference=e=>{if(!win.document)return;const t=e["s-cr"]=win.document.createComment("");t["s-cn"]=!0,insertBefore(e,t,e.firstChild)},disconnectInstance=(e,t)=>{safeCall(e,"disconnectedCallback",void 0,t||e)},disconnectedCallback=async e=>{if(!(1&plt.$flags$)){const t=getHostRef(e);(null==t?void 0:t.$rmListeners$)&&(t.$rmListeners$.map(e=>e()),t.$rmListeners$=void 0),(null==t?void 0:t.$lazyInstance$)?disconnectInstance(t.$lazyInstance$,e):(null==t?void 0:t.$onReadyPromise$)&&t.$onReadyPromise$.then(()=>disconnectInstance(t.$lazyInstance$,e))}rootAppliedStyles.has(e)&&rootAppliedStyles.delete(e),e.shadowRoot&&rootAppliedStyles.has(e.shadowRoot)&&rootAppliedStyles.delete(e.shadowRoot)},bootstrapLazy=(e,t={})=>{var n;if(!win.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const s=createTime(),o=[],l=t.exclude||[],r=win.customElements,a=win.document.head,i=a.querySelector("meta[charset]"),c=win.document.createElement("style"),d=[];let $,h=!0;Object.assign(plt,t),plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",win.document.baseURI).href;let p=!1;if(e.map(e=>{e[1].map(t=>{var n,s,a;const i={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};4&i.$flags$&&(p=!0),i.$members$=t[2],i.$listeners$=t[3],i.$watchers$=null!=(n=t[4])?n:{},i.$serializers$=null!=(s=t[5])?s:{},i.$deserializers$=null!=(a=t[6])?a:{};const c=transformTag(i.$tagName$),u=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(e){if(super(e),registerHost(e=this,i),1&i.$flags$)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${i.$tagName$}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else createShadowRoot.call(e,i)}connectedCallback(){const e=getHostRef(this);e&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,addHostEventListeners(this,e,i.$listeners$)),$&&(clearTimeout($),$=null),h?d.push(this):plt.jmp(()=>connectedCallback(this)))}disconnectedCallback(){plt.jmp(()=>disconnectedCallback(this)),plt.raf(()=>{var e;const t=getHostRef(this);if(!t)return;const n=d.findIndex(e=>e===this);n>-1&&d.splice(n,1),(null==(e=null==t?void 0:t.$vnode$)?void 0:e.$elm$)instanceof Node&&!t.$vnode$.$elm$.isConnected&&delete t.$vnode$.$elm$})}componentOnReady(){var e;return null==(e=getHostRef(this))?void 0:e.$onReadyPromise$}};!(1&i.$flags$)&&256&i.$flags$?patchPseudoShadowDom(u.prototype):patchCloneNode(u.prototype),i.$lazyBundleId$=e[0],l.includes(c)||r.get(c)||(o.push(c),r.define(c,proxyComponent(u,i,1)))})}),o.length>0&&(p&&(c.textContent+=SLOT_FB_CSS),c.textContent+=o.sort()+HYDRATED_CSS,c.innerHTML.length)){c.setAttribute("data-styles","");const e=null!=(n=plt.$nonce$)?n:queryNonceMetaTagContent(win.document);null!=e&&c.setAttribute("nonce",e),a.insertBefore(c,i?i.nextSibling:a.firstChild)}h=!1,d.length?d.map(e=>e.connectedCallback()):plt.jmp(()=>$=setTimeout(appDidLoad,30)),s()},Fragment=(e,t)=>t,addHostEventListeners=(e,t,n,s)=>{n&&win.document&&n.map(([n,s,o])=>{const l=getHostListenerTarget(win.document,e,n),r=hostListenerProxy(t,o),a=hostListenerOpts(n);plt.ael(l,s,r,a),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>plt.rel(l,s,r,a))})},hostListenerProxy=(e,t)=>n=>{var s;try{256&e.$flags$?null==(s=e.$lazyInstance$)||s[t](n):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}catch(t){consoleError(t,e.$hostElement$)}},getHostListenerTarget=(e,t,n)=>4&n?e:8&n?win:16&n?e.body:t,hostListenerOpts=e=>supportsListenerOptions?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),setNonce=e=>plt.$nonce$=e;function transformTag(e){return e}export{Fragment as F,H,Host as a,bootstrapLazy as b,createEvent as c,getElement as g,h,promiseResolve as p,registerInstance as r,setNonce as s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,a as o,g as a,c as i}from"./p-CGqARDX4.js";import{H as n}from"./p-C8DO915D.js";import{T as s}from"./p-nljGIprK.js";import{O as r}from"./p-D_J2-9CG.js";import"@ontotext/workbench-api";const c=class{constructor(t){e(this,t),this.handleClose=e=>{this.config.onClose(e)}}componentDidLoad(){this.documentOverflow=n.hideDocumentBodyOverflow(),this.hostElement.addEventListener("keydown",this.preventLeavingDialog.bind(this)),this.closeButton.focus()}disconnectedCallback(){this.hostElement.removeEventListener("keydown",this.preventLeavingDialog.bind(this)),n.setDocumentBodyOverflow(this.documentOverflow)}render(){return t(o,{key:"eeffeaac1aa5b80b89d0d176d89dc44291fd0cbb",tabindex:"-1"},t("div",{key:"2ba8415fa038ad2666cc0b340a3ceba6f0919bc6",class:`dialog-overlay ${this.config.modalClass?this.config.modalClass:""}`},t("dialog",{key:"39b9fc94944e12e8dcae98a65e74593dc173b336",class:"dialog"},t("header",{key:"183327aad084ff6fd619d204a537871cace84684",class:"dialog-header"},t("h3",{key:"ae4c514e0f75e46d5787d284154392de808100ca",class:"dialog-title"},this.config.dialogTitle)),t("main",{key:"dc991f0ef3baa22f42f683528a4ca67ab8d5e7f4",class:"dialog-body"},t("slot",{key:"ddc1c5176d976f5a518fed1d2faa138d0bc5082a",name:"body"})),t("footer",{key:"b3cb9449b54583a7b5489b7d56fa084e456b4d75",class:"dialog-footer"},t("slot",{key:"b3bc85bdfe12da62019be2e542737e5b6f7db4f6",name:"footer"}),t("button",{key:"c58a84d33d8d07ae67a9988adaa320166371cc5b",class:"onto-btn onto-btn-primary",onClick:this.handleClose,ref:e=>this.closeButton=e},t("translate-label",{key:"b593b5e113baa66e6878a2e885a46bc6581bf27f",labelKey:"common.button.close"}))))))}preventLeavingDialog(e){n.preventLeavingDialog(this.hostElement,e)}get hostElement(){return a(this)}};c.style=".dialog-overlay{position:fixed;top:0;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;z-index:9998;margin-left:-10px;background-color:rgba(0, 0, 0, 0.5);font-family:var(--main-font), sans-serif;font-weight:var(--main-font-weight);color:var(--gw-secondary-base, var(--base-text-color))}.dialog{z-index:1001;max-width:60vw;max-height:90vh;font-family:inherit;font-weight:inherit;display:flex;flex-direction:column;position:relative;justify-content:space-between;border:none;color:var(--gw-dialog-color);background-color:var(--gw-dialog-background);box-shadow:0 5px 15px rgba(0, 0, 0, 0.5)}.dialog .dialog-header{display:flex;justify-content:space-between;padding:15px;font-size:20px}.dialog .dialog-header .dialog-title{margin:0.5rem 0;font-weight:400}.dialog .dialog-body{padding:0 15px 15px;overflow:auto}.dialog .dialog-footer{display:flex;justify-content:flex-end;padding:15px}";class l{static deepEqual(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if("object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let o=0;o<e.length;o++)if(!l.deepEqual(e[o],t[o]))return!1;return!0}if(!Array.isArray(e)&&!Array.isArray(t)){const o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(const a of o)if(!(a in t)||!l.deepEqual(e[a],t[a]))return!1;return!0}return!1}return!1}static deepCopy(e){if("object"!=typeof e||null==e||"function"==typeof e)return e;if(l.hasCopyMethod(e))return e.copy();const t=l.copyBuiltInType(e);return null!==t?t:l.copyPlainObject(e)}static copyBuiltInType(e){return Array.isArray(e)?e.map(e=>l.deepCopy(e)):e instanceof Date?new Date(e.getTime()):e instanceof RegExp?new RegExp(e.source,e.flags):e instanceof Map?new Map(Array.from(e.entries()).map(([e,t])=>[l.deepCopy(e),l.deepCopy(t)])):e instanceof Set?new Set(Array.from(e.values()).map(e=>l.deepCopy(e))):null}static copyPlainObject(e){const t=Object.create(Object.getPrototypeOf(e));for(const o of Object.keys(e))t[o]=l.deepCopy(e[o]);return t}static hasCopyMethod(e){return"object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,"copy")&&"function"==typeof e.copy}}l.isNullOrUndefined=e=>null==e;class d{copy(){return l.deepCopy(this)}}class b extends d{constructor(e=[]){super(),this.items=e}size(){return this.items.length}getItems(){return this.items}getFirstItem(){return this.items[0]}sort(e){this.items.sort(e)}filter(e){return this.items.filter(e)}find(e){return this.items.find(e)}isEmpty(){return 0===this.items.length}addToStart(e){this.items.unshift(e)}addItems(e){this.items.push(...e)}remove(e){const t=this.items.indexOf(e);-1!==t&&this.items.splice(t,1)}}class h extends b{constructor(e){super(e)}add(e){this.items.push(e)}addAll(e){this.items.push(...e)}unsubscribeAll(){this.items.forEach(e=>e()),this.items=[]}}const g=class{constructor(t){e(this,t),this.toggleChanged=i(this,"toggleChanged"),this.subscriptions=new h,this.checked=!1,this.toggle=()=>{this.checked=!this.checked,this.toggleChanged.emit({checked:this.checked,context:this.context})}}subscribeToLanguageChange(){this.tooltipTranslationKey&&this.subscriptions.add(s.onTranslate(this.tooltipTranslationKey,[],e=>{this.tooltipLabel=e}))}disconnectedCallback(){this.subscriptions.unsubscribeAll()}connectedCallback(){this.subscribeToLanguageChange()}render(){return t("section",{key:"3afb9d800ec06e6cac57d65eab4059bc7db42535"},this.labelKey&&t("label",{key:"90ae5f881975462da986f65fdce7b0548d9afa2d"},t("strong",{key:"ce8ca2e649681a874585835b35554dd9920f0aef"},t("translate-label",{key:"601a0371d31081ce5a84b824ddb43536c3e87405",labelKey:this.labelKey})," ")),t("button",{key:"90ea147e6e350461cdd74ccacf2dfe86cf875925",class:"toggle-switch",onClick:this.toggle,"tooltip-append-to":"parent","tooltip-content":this.tooltipLabel,"tooltip-placement":r.TOP},t("input",{key:"e7ae6a6c71a0fe9decebb559ed601998b6ee8bac",type:"checkbox",checked:this.checked}),t("label",{key:"02d328613d9e7c675e6531a1777ae7cf9a2d16b1"})))}};g.style='.toggle-switch{all:unset;clear:both;margin:0 5px;width:36px}.toggle-switch:focus{outline:none;box-shadow:none}.toggle-switch:focus-visible{outline:none;box-shadow:none}.toggle-switch input:empty{display:none}.toggle-switch input:empty~label{position:relative;cursor:pointer;user-select:none;margin:0.05em 0.6em -0.05em 0;vertical-align:text-bottom}.toggle-switch input:empty~label:before{display:block;content:" ";width:2.2em;height:1.25em;background-color:var(--gw-toggleswitch-background);border-radius:10em;transition:all 100ms ease-in}.toggle-switch input:empty~label:after{position:absolute;display:block;top:0.08em;left:0.1em;content:" ";width:0.9em;height:0.9em;background-color:var(--gw-toggleswitch-handle-background);border:1px solid var(--gw-toggleswitch-background);border-radius:50%;transition:all 100ms ease-in}.toggle-switch input:checked~label:before{background-color:var(--gw-toggleswitch-checked-background)}.toggle-switch input:checked~label:after{left:1em;background-color:var(--gw-toggleswitch-handle-checked-background);border:1px solid var(--gw-toggleswitch-checked-background)}';export{c as onto_dialog,g as onto_toggle_switch};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as a,h as o,a as c}from"./p-CGqARDX4.js";import{L as t,T as i}from"./p-nljGIprK.js";import{ServiceProvider as l,SecurityContextService as d,SecurityService as b,CookieConsent as n,AppSettings as f}from"@ontotext/workbench-api";const s=class{constructor(o){e(this,o),this.consentGiven=a(this,"consentGiven"),this.showModal=!1,this.openModal=e=>{e.preventDefault(),this.showModal=!0},this.handleConsentClick=()=>{this.consentGiven.emit()}}onDialogClose(){this.showModal=!1}render(){return o(c,{key:"dba3fc373e9ad60ada7f86d11acbe1b1ed24a92d"},o("div",{key:"414c970a3a4b263e8f3f5d066dc8bb22b8194c48",class:"cookie-consent-modal"},o("section",{key:"6a1cccadb167b301738fb6a453b7d300e93ba18b",class:"cookie-consent-content"},o("span",{key:"aa62410b522125feeb48eaa568a78c761e6b9596"},o("translate-label",{key:"0696068c1aa8738bb3ddf0e548d9140ba12609e1",labelKey:"cookie.cookie_consent"}),o("a",{key:"efd9792a6a424b86606b3904615c53f19a2cdb6e",id:"cookie-policy-link",href:"#",onClick:this.openModal,class:"btn btn-link p-0"},o("translate-label",{key:"12e95d1446f81b47c973e285ee71da5fbfa4934f",labelKey:"cookie.cookie_policy_url_label"})),"."),o("button",{key:"a91e7d9e7eddef1b50d82570f4211a0e1e1ae7b0",id:"accept-cookie-policy",class:"onto-btn onto-btn-primary",onClick:this.handleConsentClick},o("translate-label",{key:"5ca81d4f299a7b7f13ed0f77ac7d1ceaeaad318a",labelKey:"common.button.ok"})))),this.showModal&&o("onto-cookie-policy-dialog",{key:"e54d3f134771ff5f59a288d0d6c9949c6f59567f",dialogHandler:this}))}};var y;s.style=".cookie-consent-modal{position:fixed;bottom:0;left:0;right:0;background-color:var(--gw-dialog-background);box-shadow:0 -2px 10px rgba(0, 0, 0, 0.1);padding:20px;z-index:1050;width:100%}.cookie-consent-content{display:flex;justify-content:center;align-items:center}.cookie-consent-content button{margin-left:12px}.cookie-policy-modal{padding:24px 40px;overflow-y:auto}.cookie-policy-modal .modal-dialog{width:60% !important;max-width:60% !important}.cookie-policy-modal .title{font-size:xx-large;font-weight:bolder}.cookie-policy-modal .heading{font-size:x-large;font-weight:bolder;margin-top:12px}.cookie-policy-modal .subheading{font-size:large;font-weight:bolder;margin-top:8px}.cookie-policy-modal .text{font-size:math}",function(e){e.THIRD_PARTY="thirdParty",e.STATISTIC="statistic"}(y||(y={}));const k=class{constructor(o){e(this,o),this.logger=t.logger,this.user=l.get(d).getAuthenticatedUser(),this.securityService=l.get(b)}toggleChanged(e){this.setUserCookieConsent(this.updateCookieConsent(e.detail)),this.securityService.updateAuthenticatedUser(this.user.toUser()).catch(this.logger.error)}render(){var e,a;const c={dialogTitle:i.translate("cookie.policy.title"),onClose:()=>this.dialogHandler.onDialogClose(),modalClass:"cookie-policy-modal"},t=new n(null===(a=null===(e=this.user)||void 0===e?void 0:e.appSettings)||void 0===a?void 0:a.COOKIE_CONSENT);return o("onto-dialog",{key:"c76529daf7d24ad06970ba3b8e7f87446daeec37",config:c},o("div",{key:"412c71cf9a3b8e094962a4e4299679f16394869a",slot:"body"},o("section",{key:"0d730d3c02ab298d66de7ab56100bc1f13d989c6"},o("h4",{key:"4cbcc42d566ebf8e4c7507df9b367e9caa847565"},o("translate-label",{key:"ceed3f8d2aa7de9b614af25c6c4cb66ac1d74869",labelKey:"cookie.policy.purpose_heading"})),o("p",{key:"f9a72d8c3fbc9a04ea488e6045e6d8d74d8e7265"},o("translate-label",{key:"046cacb46e54bc228dcb7bf3a692f9fb28798de5",labelKey:"cookie.policy.purpose_text"})),o("p",{key:"70bbd5c2f6d30771477b3ee6e822a8def976e050"},o("translate-label",{key:"cc95a3b4ea1292ea33226bfb27db8fdc8a03969a",labelKey:"cookie.policy.purpose_enterprise_text"}))),o("section",{key:"4340f499aaa0de9b0bd7a5b089efd93a66f864bd"},o("h4",{key:"c31244de543a54f52382d572c203f15c9f6bc61d"},o("translate-label",{key:"3193fab62ec3f9132793a3100600017c12606546",labelKey:"cookie.policy.privacy_commitment_heading"})),o("p",{key:"ba75b0d207a6e4423ad87317abdae05a386109cd"},o("translate-label",{key:"8362dabe248988373af6ffe8219ddd229b585d45",labelKey:"cookie.policy.privacy_commitment_text"})),o("ul",{key:"ac3a59a29d8ff17f59834734e10fa38c5891024e"},o("li",{key:"d8cda68c7424c76138f7da948cd522d4994cbd4f"},o("translate-label",{key:"9f10c3678b02c7153a3aef73e86d9fe6b4fd5557",labelKey:"cookie.policy.privacy_commitment_1"})),o("li",{key:"623c725c85c2706425b8f5f27750393c8b88a761"},o("translate-label",{key:"acdbad3cc0590aa0094ae6d0e0d5a00964291c41",labelKey:"cookie.policy.privacy_commitment_2"})))),o("section",{key:"aecf76c57fcfce12f1f67643a587f390b975eb95"},o("h4",{key:"5264365da2a50c4c24cb5a8d14dd039ff7c3f5de"},o("translate-label",{key:"c3b7711c0959ddcce90986b2dcc5e42e2aacedcb",labelKey:"cookie.policy.cookies_heading"})),o("p",{key:"92b79942b35a9e6224c95c0b955505a49cc67b00"},o("translate-label",{key:"86822629019ad073ef2d90899da1397a87d5796f",labelKey:"cookie.policy.cookies_text"}))),o("section",{key:"3ea0f6201a2d78b40045adb4aa26eb8baa382adc"},o("h4",{key:"b96b6a082351c803d229038c2ca7acc99294ab86"},o("translate-label",{key:"6aab9024ff0fd8734706bd7caec59335c3ddc7ac",labelKey:"cookie.policy.manage_cookies_heading"})),o("onto-toggle-switch",{key:"c97358e1147cbb36d950302ee2fc29733e088ef9",checked:null==t?void 0:t.statistic,labelKey:"cookie.policy.statistic_cookies",tooltipTranslationKey:"cookie.policy.statistic_tooltip",context:y.STATISTIC}),o("p",{key:"e6172a9fb3b8e1b0ab10609b1ebda7fcf350e93b"},o("translate-label",{key:"701fb389671ed440a1080e6e76fd1344cb4e5b6e",labelKey:"cookie.policy.statistic_text"})),o("onto-toggle-switch",{key:"e36a2699b2140e33288dd2cac9702d8fca6784db",checked:null==t?void 0:t.thirdParty,labelKey:"cookie.policy.third_party_cookies",tooltipTranslationKey:"cookie.policy.third_party_tooltip",context:y.THIRD_PARTY}),o("p",{key:"98cced78a81c9942b5f5169fee662c368192946e"},o("translate-label",{key:"df1ba989e1fc792fa9f56e4f9661fdb28fa55f90",labelKey:"cookie.policy.third_party_cookies_text"}))),o("p",{key:"a892129a7183dd84e10eb31cf5a6a1698b61b5d7"},o("span",{key:"c2b6a400347f2019c7647273c3d7029f0ad9b039"},o("translate-label",{key:"d43317f8f68615516c7a81e8aa787756bdec1205",labelKey:"cookie.policy.change_cookies"}),o("i",{key:"8f9efc29f7630c1d6e58fdf50241ff625fc8c7bf"}," ",o("translate-label",{key:"6c906a77d90237a17b5c3e1887c41b532830040d",labelKey:"menu.setup.label"})," > ",o("translate-label",{key:"75f59cf20cd4a1fbee4afb3388b5f341fd957613",labelKey:"menu.my.settings.label"})," > ",o("translate-label",{key:"352f8f0b324655e86bc9175e8c70567e34e68f2a",labelKey:"security.user.settings"})," > ",o("translate-label",{key:"0067f9f65859f946006115d1957337f42a805274",labelKey:"cookie.policy.change_cookies_location4"})," ")))))}updateCookieConsent(e){var o,a;const c=new n(null===(a=null===(o=this.user)||void 0===o?void 0:o.appSettings)||void 0===a?void 0:a.COOKIE_CONSENT);return c[e.context]=e.checked,c.updatedAt=(new Date).getTime(),c}setUserCookieConsent(e){this.user.appSettings||(this.user.appSettings=new f),this.user.appSettings.COOKIE_CONSENT=e}};k.style="section h4{font-size:x-large;font-weight:bolder;margin-top:12px}";export{s as onto_cookie_consent,k as onto_cookie_policy_dialog};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,a as i,c as n,F as o,g as s}from"./p-CGqARDX4.js";import{SubscriptionList as a,ServiceProvider as r,SecurityContextService as l,LicenseContextService as h,CookieService as c,ProductInfoContextService as m,LicenseService as g,WindowService as d,CookieConsent as I,FibonacciGenerator as u,MonitoringService as b,RepositoryContextService as p,RepositoryLocationContextService as v,RepositoryService as A,OntoToastrService as C,NamespacesService as y,NamespacesContextService as f,LanguageService as w,AuthenticationService as j,AuthorizationService as Z,EventService as k,ConfigurationContextService as D,RuntimeConfigurationContextService as M,isHomePage as S,getCurrentRoute as z,navigateTo as N,EventName as x,LanguageContextService as W,RepositoryList as G,ObjectUtil as T,getPathName as O,UriUtil as P,service as R,REPOSITORY_ID_PARAM as Y,openInNewTab as V,navigate as L}from"@ontotext/workbench-api";import{L as H,T as U}from"./p-nljGIprK.js";import{H as X}from"./p-C8DO915D.js";import{R as B,D as J}from"./p-CapzAxJp.js";import{T as F}from"./p-CpZ0MtJX.js";import"./p-D_J2-9CG.js";const E=class{constructor(t){e(this,t),this.subscriptions=new a,this.currentYear=(new Date).getFullYear(),this.securityContextService=r.get(l),this.licenseContextService=r.get(h),this.cookieService=r.get(c)}handleConsentGiven(){this.cookieService.acceptCookiePolicy().then(()=>this.shouldShowCookieConsent=!1)}render(){var e,o,n,s;return t(i,{key:"c5bbe0151e3eb14932bacecaad88b7e529e3a1f1"},t("div",{key:"5d4e0501b872ccbaa2e48f99361a948e83191b65",class:"footer-component"},t("a",{key:"e81e156b6b691a0a05275ee399ccf26438ba5729",href:"http://graphdb.ontotext.com",target:"_blank",rel:"noopener noreferrer"},"GraphDB")," ",null===(e=this.productInfo)||void 0===e?void 0:e.productVersion," • ",t("a",{key:"018b1772807248dfd83e0c2ca57fde6bd848e9c9",href:"http://rdf4j.org",target:"_blank",rel:"noopener noreferrer"},"RDF4J")," ",null===(o=this.productInfo)||void 0===o?void 0:o.sesame," • Connectors ",null===(n=this.productInfo)||void 0===n?void 0:n.connectors," • Workbench ",null===(s=this.productInfo)||void 0===s?void 0:s.workbench," • © 2002–",this.currentYear," ",t("a",{key:"20e70771852b0c504e86e36a1b9fdb9b61d5963c",href:"http://ontotext.com",target:"_blank",rel:"noopener noreferrer"},"Ontotext AD"),". ",t("translate-label",{key:"8df55b8d224ae50ca9de3fd038c0285ee01b4ff3",labelKey:"footer.label.all_rights_reserved"})),this.shouldShowCookieConsent&&t("onto-cookie-consent",{key:"80f9c1af70db76ef4c6680dacf7022eb1262f049"}))}connectedCallback(){this.subscribeToProductInfoChange(),this.subscribeToUserChange(),this.subscribeToLicenseChange()}disconnectedCallback(){this.subscriptions.unsubscribeAll()}subscribeToProductInfoChange(){this.subscriptions.add(r.get(m).onProductInfoChanged(e=>{this.productInfo=e}))}isTrackingAllowed(){return r.get(g).isTrackableLicense()&&!d.getWindow().wbDevMode}subscribeToUserChange(){this.subscriptions.add(this.securityContextService.onAuthenticatedUserChanged(()=>{this.setCookieConsentVisibility()}))}setCookieConsentVisibility(){var e;const t=this.securityContextService.getAuthenticatedUser();this.shouldShowCookieConsent=this.isTrackingAllowed()&&!new I(null===(e=null==t?void 0:t.appSettings)||void 0===e?void 0:e.COOKIE_CONSENT).policyAccepted}subscribeToLicenseChange(){this.subscriptions.add(this.licenseContextService.onLicenseChanged(()=>{this.setCookieConsentVisibility()}))}};E.style=":host{display:block}.footer-component{padding-left:var(--main-content-rl-padding);height:1.875rem}";const K=({repository:e})=>t("div",{class:"repository-selector-dropdown-item"},t("i",{class:"item-icon icon-repo-"+e.type}),t("div",{class:"item-label"},t("div",{class:"repository-id"},e.id),t("div",{class:"repository-location"},e.location?e.location:"Local"))),Q="menu.logo.link.title",_=class{constructor(t){e(this,t),this.UPDATE_ACTIVE_OPERATION_TIME_INTERVAL=2e3,this.fibonacciGenerator=new u,this.monitoringService=r.get(b),this.repositoryContextService=r.get(p),this.repositoryLocationContextService=r.get(v),this.repositoryService=r.get(A),this.securityContextService=r.get(l),this.toastrService=r.get(C),this.namespacesService=r.get(y),this.namespaceContextService=r.get(f),this.languageService=r.get(w),this.authService=r.get(j),this.authorizationService=r.get(Z),this.eventService=r.get(k),this.configurationContextService=r.get(D),this.runtimeConfigurationContextService=r.get(M),this.logger=H.logger,this.shouldShowSearch=!0,this.isHomePage=S(),this.showUserMenu=!1,this.showLoginButton=!1,this.isActiveLocationLoading=!1,this.repositoryItems=[],this.subscriptions=new a,this.skipUpdateActiveOperationsTimes=0,this.labels={[Q]:U.translate(Q)},this.canWriteRepo=e=>this.canWriteRepoInLocation(e),this.repositorySizeInfoFetcher=e=>this.repositoryService.getRepositorySizeInfo(e),this.showViewResourceMessage=e=>{e.stopPropagation(),this.toastrService.info(U.translate("rdf_search.toasts.use_view_resource")),this.shouldShowSearch=!1,X.focusElement("#search-resource-input-home input"),this.eventService.emit({NAME:B.RDF_SEARCH_ICON_CLICKED})}}disconnectedCallback(){this.subscriptions.unsubscribeAll(),this.stopOperationPolling()}connectedCallback(){this.currentRepository=this.repositoryContextService.getSelectedRepository(),this.setupTotalRepositoryFormater(),this.setupExpansionRatioFormater(),this.subscribeToEvents(),this.currentRoute=z(),this.startOperationPolling(),this.onTranslate(Q)}render(){var e,o;return t(i,{key:"1a0ea30540103e48f24febbb1b019da6ec16fb54"},t("div",{key:"70c90aa8e0c4eca71330a5623d3faebe3d08bb89",class:"header-component"},t("div",{key:"30782ae29482fd29245adb62141dd77dec07e20e",class:"left-section brand"},t("a",{key:"e7f7bff0928fd057806c9017dbe5ba61ec5767ee",class:"home-page",onClick:N("./")},t("img",{key:"1f1327dd2cd85fe3c6f7871f168205f4feefec2e",src:this.applicationLogoPath,class:"big-logo",alt:this.labels[Q]}))),t("div",{key:"e1cf9275d74d4216f795255e47b4f5243d794cf7",class:"right-section"},t("onto-search-icon",{key:"3fa41c9db75a0e1ccb386d2f9a824fe27e8fa19c",class:"rdf-search-button",onClick:this.showViewResourceMessage,"data-test":"onto-show-view-resource-message",style:{display:this.shouldShowSearch&&this.isHomePage?"block":"none"}}),t("onto-rdf-search",{key:"70c901d032cd529ee87ce797b55d29ad65565ec3","data-test":"onto-open-rdf-search-button",style:{display:this.shouldShowSearch&&!this.isHomePage?"block":"none"}}),(null===(e=this.activeOperations)||void 0===e?void 0:e.allRunningOperations.getItems().length)?t("onto-operations-notification",{activeOperations:this.activeOperations}):"",this.license&&!(null===(o=this.license)||void 0===o?void 0:o.valid)?t("onto-license-alert",{license:this.license}):"",t("onto-repository-selector",{key:"ca880c7c438c32db63317d3447ddf89740ed273c",currentRepository:this.currentRepository,items:this.repositoryItems,repositorySizeInfoFetcher:this.repositorySizeInfoFetcher,totalTripletsFormatter:this.totalTripletsFormatter,expansionRatioFormatter:this.expansionRatioFormatter,canWriteRepo:this.canWriteRepo}),t("onto-language-selector",{key:"abc09868343581be4724d897fc5caa51cd7e3265","dropdown-alignment":"right"}),this.showUserMenu&&this.user?t("onto-user-menu",{user:this.user,securityConfig:this.securityConfig}):"",this.showLoginButton?t("onto-user-login",null):"")))}subscribeToEvents(){this.subscribeToSecurityContextChange(),this.subscribeToRepositoryListChanged(),this.subscribeToLicenseChange(),this.subscribeToRepositoryChange(),this.subscribeToActiveRepositoryLocationChange(),this.subscribeToActiveRepoLoadingChange(),this.subscribeToNavigationEnd(),this.subscribeToLanguageChanged(),this.subscribeToAuthenticatedUserChange(),this.subscribeToThemeModeChange()}subscribeToThemeModeChange(){this.subscriptions.add(this.runtimeConfigurationContextService.onThemeModeChanged(e=>{this.applicationLogoPath=this.configurationContextService.getApplicationLogoPath(e)}))}subscribeToRepositoryListChanged(){return this.repositoryContextService.onRepositoryListChanged(e=>{(null==e?void 0:e.getItems().length)?this.initOnRepositoryListChanged(e):this.resetOnMissingRepositories()})}subscribeToLicenseChange(){this.subscriptions.add(r.get(h).onLicenseChanged(e=>{this.license=e}))}subscribeToRepositoryChange(){this.subscriptions.add(this.repositoryContextService.onSelectedRepositoryChanged(e=>{this.currentRepository=this.repositoryContextService.findRepository(e),this.shouldShowSearch=this.shouldShowRdfSearch(),this.loadNamespaces(),this.updateRepositoryItems()}))}subscribeToSecurityContextChange(){this.subscriptions.add(this.securityContextService.onSecurityConfigChanged(e=>{this.securityConfig=e,setTimeout(()=>{this.updateVisibility()})}))}subscribeToAuthenticatedUserChange(){this.subscriptions.add(this.securityContextService.onAuthenticatedUserChanged(e=>{this.user=e,this.updateRepositoryItems(),this.updateVisibility()}))}subscribeToActiveRepositoryLocationChange(){this.subscriptions.add(this.repositoryLocationContextService.onActiveLocationChanged(()=>{this.shouldShowSearch=this.shouldShowRdfSearch()}))}subscribeToActiveRepoLoadingChange(){this.subscriptions.add(this.repositoryLocationContextService.onIsLoadingChanged(e=>{this.isActiveLocationLoading=e,this.shouldShowSearch=this.shouldShowRdfSearch()}))}subscribeToNavigationEnd(){this.subscriptions.add(this.eventService.subscribe(x.NAVIGATION_END,()=>{this.shouldShowSearch=this.shouldShowRdfSearch(),this.isHomePage=S(),this.currentRoute=z(),this.updateVisibility()}))}subscribeToLanguageChanged(){this.subscriptions.add(r.get(W).onSelectedLanguageChanged(e=>{this.setupTotalRepositoryFormater(e),this.setupExpansionRatioFormater(e)}))}onTranslate(e){this.subscriptions.add(U.onTranslate(e,[],t=>{this.labels[e]=t}))}resetOnMissingRepositories(){this.repositoryItems=[],this.repositoryList=new G,this.currentRepository=void 0}initOnRepositoryListChanged(e){this.repositoryList=e,this.updateRepositoryItems()}updateRepositoryItems(){this.repositoryItems=this.getRepositoriesDropdownItems()}getRepositoriesDropdownItems(){var e;if(!(null===(e=this.repositoryList)||void 0===e?void 0:e.getItems().length))return[];let i;return this.repositoryList.sortByLocationAndId(),i=this.currentRepository?this.repositoryList.filterByRepository([this.currentRepository]):this.repositoryList.getItems(),i.filter(e=>this.authorizationService.canReadRepo(e)||this.authorizationService.canReadGqlRepo(e)).map(e=>(new J).setName(t(K,{repository:e})).setValue(e).setGuideSelector(`repository-id-${e.id}`))}canWriteRepoInLocation(e){return!0}loadNamespaces(){this.currentRepository&&this.authorizationService.canReadRepo(this.currentRepository)&&this.namespacesService.getNamespaces(this.currentRepository.id).then(e=>this.namespaceContextService.updateNamespaces(e))}updateVisibility(){var e,t,i;const o=null===(e=this.securityConfig)||void 0===e?void 0:e.enabled,n=this.authService.isLoggedIn();let s=!1;try{s=this.authService.isAuthenticated()}catch(e){s=!1}const r=null===(i=null===(t=this.securityConfig)||void 0===t?void 0:t.freeAccess)||void 0===i?void 0:i.enabled;this.showLoginButton=o&&r&&!n&&"login"!==this.currentRoute,this.showUserMenu=o&&s&&n,this.shouldShowSearch=this.shouldShowRdfSearch()}startOperationPolling(){clearInterval(this.pollingInterval),this.pollingInterval=d.getWindow().setInterval(()=>{this.authService.isAuthenticated()?this.skipUpdateActiveOperationsTimes>0?this.skipUpdateActiveOperationsTimes--:this.currentRepository&&this.monitoringService.getOperations(this.currentRepository.id).then(e=>{T.deepEqual(this.activeOperations,e)||(this.activeOperations=e),this.fibonacciGenerator.reset(),this.skipUpdateActiveOperationsTimes=0}).catch(e=>{this.logger.error("Error fetching active operations",e),this.activeOperations=void 0,this.skipUpdateActiveOperationsTimes=this.fibonacciGenerator.next()}):this.activeOperations=void 0},this.UPDATE_ACTIVE_OPERATION_TIME_INTERVAL)}stopOperationPolling(){clearInterval(this.pollingInterval),this.activeOperations=void 0}shouldShowRdfSearch(){return!!this.currentRepository&&(!this.isActiveLocationLoading||"/repository"===O())&&this.authorizationService.canReadRepo(this.currentRepository)}setupTotalRepositoryFormater(e){e||(e=this.languageService.getDefaultLanguage()),this.totalTripletsFormatter=new Intl.NumberFormat(e,{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:0})}setupExpansionRatioFormater(e){e||(e=this.languageService.getDefaultLanguage()),this.expansionRatioFormatter=new Intl.NumberFormat(e,{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2})}};_.style=":host{display:block}.header-component{display:flex;gap:0.25em;padding:0.3em 1em;font-size:1.1em;background-color:var(--gw-topnav-background)}.header-component .left-section{display:flex;align-items:center;justify-content:center;margin-right:auto}.header-component .right-section{display:flex;align-items:center;justify-content:center;gap:0.3em}.header-component .big-logo{width:180px;height:50px;cursor:pointer}";const $=class{constructor(t){e(this,t),this.size=100,this.messageText="",this.rawSvg=atob("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZGR0Ij4KPHN2ZwogICAgICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIKICAgICAgICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICAgICAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIKICAgICAgICB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICAgICAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgICAgICB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIKICAgICAgICB4bWxuczpzb2RpcG9kaT0iaHR0cDovL3NvZGlwb2RpLnNvdXJjZWZvcmdlLm5ldC9EVEQvc29kaXBvZGktMC5kdGQiCiAgICAgICAgeG1sbnM6aW5rc2NhcGU9Imh0dHA6Ly93d3cuaW5rc2NhcGUub3JnL25hbWVzcGFjZXMvaW5rc2NhcGUiCiAgICAgICAgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pbllNaW4iCiAgICAgICAgdmlld0JveD0iMCAwIDUwIDUwIgogICAgICAgIGlkPSJzdmcyIgogICAgICAgIHZlcnNpb249IjEuMSIKICAgICAgICBpbmtzY2FwZTp2ZXJzaW9uPSIwLjQ4LjAgcjk2NTQiCiAgICAgICAgc29kaXBvZGk6ZG9jbmFtZT0ibmFtZXN2Zy5zdmciPgogICAgPGNpcmNsZSBjeD0iMjEuNSIgY3k9IjcuNSIgcj0iMS41IiBmaWxsPSIjZmYzOTAwIj4KICAgICAgICA8YW5pbWF0ZSByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIycyIgYmVnaW49IjBzIgogICAgICAgICAgICAgICAgIHZhbHVlcz0iMS41OyAzOyAxLjU7IDEuNTsgMS41OyAxLjU7IDEuNTsgMS41OyAxLjU7IDEuNTsgMS41OyAxLjU7IDEuNSIgYXR0cmlidXRlVHlwZT0iWE1MIgogICAgICAgICAgICAgICAgIGF0dHJpYnV0ZU5hbWU9InIiLz4KICAgIDwvY2lyY2xlPgogICAgPGNpcmNsZSBjeD0iMzEiIGN5PSIxMCIgcj0iNCIgZmlsbD0iI2ZmMzkwMCI+CiAgICAgICAgPGFuaW1hdGUgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMnMiIGJlZ2luPSIwLjE1cyIgdmFsdWVzPSI0OyA4OyA0OyA0OyA0OyA0OyA0OyA0OyA0OyA0OyA0OyA0OyA0IgogICAgICAgICAgICAgICAgIGF0dHJpYnV0ZVR5cGU9IlhNTCIgYXR0cmlidXRlTmFtZT0iciIvPgogICAgPC9jaXJjbGU+CiAgICA8Y2lyY2xlIGN4PSIzNyIgY3k9IjE1IiByPSIyIiBmaWxsPSIjZmYzOTAwIj4KICAgICAgICA8YW5pbWF0ZSByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIycyIgYmVnaW49IjAuM3MiIHZhbHVlcz0iMjsgNDsgMjsgMjsgMjsgMjsgMjsgMjsgMjsgMjsgMjsgMjsgMiIKICAgICAgICAgICAgICAgICBhdHRyaWJ1dGVUeXBlPSJYTUwiIGF0dHJpYnV0ZU5hbWU9InIiLz4KICAgIDwvY2lyY2xlPgogICAgPGNpcmNsZSBjeD0iNDAuNSIgY3k9IjIzLjUiIHI9IjQuNSIgZmlsbD0iI2ZmMzkwMCI+CiAgICAgICAgPGFuaW1hdGUgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMnMiIGJlZ2luPSIwLjQ1cyIKICAgICAgICAgICAgICAgICB2YWx1ZXM9IjQuNTsgOTsgNC41OyA0LjU7IDQuNTsgNC41OyA0LjU7IDQuNTsgNC41OyA0LjU7IDQuNTsgNC41OyA0LjUiIGF0dHJpYnV0ZVR5cGU9IlhNTCIKICAgICAgICAgICAgICAgICBhdHRyaWJ1dGVOYW1lPSJyIi8+CiAgICA8L2NpcmNsZT4KICAgIDxjaXJjbGUgY3g9IjM5IiBjeT0iMzMiIHI9IjMiIGZpbGw9IiNmZjM5MDAiPgogICAgICAgIDxhbmltYXRlIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBkdXI9IjJzIiBiZWdpbj0iMC42cyIgdmFsdWVzPSIzOyA2OyAzOyAzOyAzOyAzOyAzOyAzOyAzOyAzOyAzOyAzOyAzIgogICAgICAgICAgICAgICAgIGF0dHJpYnV0ZVR5cGU9IlhNTCIgYXR0cmlidXRlTmFtZT0iciIvPgogICAgPC9jaXJjbGU+CiAgICA8Y2lyY2xlIGN4PSIzNC41IiBjeT0iMzguNSIgcj0iMS41IiBmaWxsPSIjZmYzOTAwIj4KICAgICAgICA8YW5pbWF0ZSByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIycyIgYmVnaW49IjAuNzVzIgogICAgICAgICAgICAgICAgIHZhbHVlcz0iMS41OyAzOyAxLjU7IDEuNTsgMS41OyAxLjU7IDEuNTsgMS41OyAxLjU7IDEuNTsgMS41OyAxLjU7IDEuNSIgYXR0cmlidXRlVHlwZT0iWE1MIgogICAgICAgICAgICAgICAgIGF0dHJpYnV0ZU5hbWU9InIiLz4KICAgIDwvY2lyY2xlPgogICAgPGNpcmNsZSBjeD0iMjkiIGN5PSI0MiIgcj0iMiIgZmlsbD0iI2ZmMzkwMCI+CiAgICAgICAgPGFuaW1hdGUgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMnMiIGJlZ2luPSIwLjlzIiB2YWx1ZXM9IjI7IDQ7IDI7IDI7IDI7IDI7IDI7IDI7IDI7IDI7IDI7IDI7IDIiCiAgICAgICAgICAgICAgICAgYXR0cmlidXRlVHlwZT0iWE1MIiBhdHRyaWJ1dGVOYW1lPSJyIi8+CiAgICA8L2NpcmNsZT4KICAgIDxjaXJjbGUgY3g9IjIxLjUiIGN5PSI0Mi41IiByPSIyLjUiIGZpbGw9IiNmZjM5MDAiPgogICAgICAgIDxhbmltYXRlIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBkdXI9IjJzIiBiZWdpbj0iMS4wNXMiCiAgICAgICAgICAgICAgICAgdmFsdWVzPSIyLjU7IDU7IDIuNTsgMi41OyAyLjU7IDIuNTsgMi41OyAyLjU7IDIuNTsgMi41OyAyLjU7IDIuNTsgMi41IiBhdHRyaWJ1dGVUeXBlPSJYTUwiCiAgICAgICAgICAgICAgICAgYXR0cmlidXRlTmFtZT0iciIvPgogICAgPC9jaXJjbGU+CiAgICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjM5IiByPSI0IiBmaWxsPSIjZmYzOTAwIj4KICAgICAgICA8YW5pbWF0ZSByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIycyIgYmVnaW49IjEuMnMiIHZhbHVlcz0iNDsgODsgNDsgNDsgNDsgNDsgNDsgNDsgNDsgNDsgNDsgNDsgNCIKICAgICAgICAgICAgICAgICBhdHRyaWJ1dGVUeXBlPSJYTUwiIGF0dHJpYnV0ZU5hbWU9InIiLz4KICAgIDwvY2lyY2xlPgogICAgPGNpcmNsZSBjeD0iNyIgY3k9IjMyIiByPSIyIiBmaWxsPSIjZmYzOTAwIj4KICAgICAgICA8YW5pbWF0ZSByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIycyIgYmVnaW49IjEuMzVzIiB2YWx1ZXM9IjI7IDQ7IDI7IDI7IDI7IDI7IDI7IDI7IDI7IDI7IDI7IDI7IDIiCiAgICAgICAgICAgICAgICAgYXR0cmlidXRlVHlwZT0iWE1MIiBhdHRyaWJ1dGVOYW1lPSJyIi8+CiAgICA8L2NpcmNsZT4KICAgIDxjaXJjbGUgY3g9IjUuNSIgY3k9IjI1LjUiIHI9IjIuNSIgZmlsbD0iI2ZmMzkwMCI+CiAgICAgICAgPGFuaW1hdGUgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMnMiIGJlZ2luPSIxLjVzIgogICAgICAgICAgICAgICAgIHZhbHVlcz0iMi41OyA1OyAyLjU7IDIuNTsgMi41OyAyLjU7IDIuNTsgMi41OyAyLjU7IDIuNTsgMi41OyAyLjU7IDIuNSIgYXR0cmlidXRlVHlwZT0iWE1MIgogICAgICAgICAgICAgICAgIGF0dHJpYnV0ZU5hbWU9InIiLz4KICAgIDwvY2lyY2xlPgogICAgPGNpcmNsZSBjeD0iOCIgY3k9IjE2IiByPSI0IiBmaWxsPSIjZmYzOTAwIj4KICAgICAgICA8YW5pbWF0ZSByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIycyIgYmVnaW49IjEuNjVzIiB2YWx1ZXM9IjQ7IDg7IDQ7IDQ7IDQ7IDQ7IDQ7IDQ7IDQ7IDQ7IDQ7IDQ7IDQiCiAgICAgICAgICAgICAgICAgYXR0cmlidXRlVHlwZT0iWE1MIiBhdHRyaWJ1dGVOYW1lPSJyIi8+CiAgICA8L2NpcmNsZT4KICAgIDxjaXJjbGUgY3g9IjE0IiBjeT0iMTAiIHI9IjMiIGZpbGw9IiNmZjM5MDAiPgogICAgICAgIDxhbmltYXRlIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBkdXI9IjJzIiBiZWdpbj0iMS44cyIgdmFsdWVzPSIzOyA2OyAzOyAzOyAzOyAzOyAzOyAzOyAzOyAzOyAzOyAzOyAzIgogICAgICAgICAgICAgICAgIGF0dHJpYnV0ZVR5cGU9IlhNTCIgYXR0cmlidXRlTmFtZT0iciIvPgogICAgPC9jaXJjbGU+Cjwvc3ZnPgo=".split(",")[1])}render(){return t(i,{key:"f0eb18975fbbde62c4b50add16b772672a1fbb5b"},t("div",{key:"c36d32d9d10e7fba7d9599a00046dbd78b846b78",class:"onto-loader","guide-selector":"onto-loader"},t("div",{key:"950cb6d4fe083c94a4a03c4564d19becc43597ee",class:"loader-spinner",style:{width:this.size+"px",height:this.size+"px"},innerHTML:this.rawSvg}),this.messageText&&t("div",{key:"2626f0e91e01349384cb0d963a39c6075972c4fd",class:"loader-message",style:{"font-size":this.size/4+"px"}},this.messageText)))}};$.style=":host{display:block}:host .onto-loader{white-space:nowrap;width:fit-content}:host .onto-loader .loader-spinner{margin-left:auto;margin-right:auto}:host .onto-loader .loader-spinner circle{fill:var(--gw-loader-color)}:host .onto-loader .loader-message{text-align:center}";class q{constructor(e){this.type="navbarToggled",this.payload=e}}class ee{constructor(e=[]){this._items=e}hasParent(e){return this._items.some(t=>e===t.label)}getModel(){const e=t=>{const i=t.children.map(e);return new te(Object.assign(Object.assign({},t),{children:i}))};return this._items.map(e)}addItem(e){this._items.push(e)}getSelectedRootItem(){return this._items.find(e=>e.selected)}isParentOpened(e){var t;return!!(null===(t=this.getParentItem(e))||void 0===t?void 0:t.open)}getTopLevelItem(e){return this._items.find(t=>t.label===e)}getParentItem(e){return this._items.find(t=>t.label===e.parent)}deselectAll(){this.walk(e=>{e.selected=!1})}closeAll(){this.walk(e=>{this.setOpen(e,!1)})}deselectItem(e){e.selected=!1}selectItem(e){e.label?e.selected=!0:this.selectItem(e.parentModel)}hasSelectedSubmenu(e){return!!e.children&&e.children.some(e=>this.hasSelection(e))}hasSelection(e){return!!e.selected||!!e.children&&e.children.some(e=>this.hasSelection(e))}closeOpened(){const e=this._items.find(e=>e.open);e&&(this.hasSelectedSubmenu(e)&&this.selectItem(e),this.setOpen(e,!1))}open(e){this.walk(e=>{this.setOpen(e,!1)}),this.openItemAndParent(e)}openItemAndParent(e){e.parentModel&&this.openItemAndParent(e.parentModel),this.setOpen(e,!0)}closeOtherParents(e){const t=e.parent;this.walk(e=>{e.label!==t&&this.setOpen(e,!1)})}setOpen(e,t){e.open=t}highlightSelected(){const e=this.getSelectedItem();(null==e?void 0:e.hasParent)&&this.selectItem(this.getParentItem(e))}unhighlightSelected(){const e=this.getSelectedRootItem();e&&e.children.length&&e.open&&this.deselectItem(e)}getSelectedItem(){let e=null;const t=i=>{if(i.selected)return e=i,!0;if(i.children)for(const e of i.children)if(t(e))return!0;return!1};return this._items.some(t),e}expandSelected(){const e=this.getSelectedItem();e&&this.open(e.hasParent?this.getParentItem(e):e)}initSelected(e){this.walk(t=>{var i;let o=e;(null===(i=t.href)||void 0===i?void 0:i.includes("*"))&&(o=this.getWildcardPath(e,t.href));const n=t.href.search(/[?]/);o===(-1===n?t.href:t.href.substring(0,n))&&(t.hasParent&&this.open(t),this.selectItem(t))})}getWildcardPath(e,t){const i=e.split("/"),o=t.split("/");if(i.length!==o.length)return e;const n=[];for(let t=0;t<o.length;t++)if("*"===o[t])n.push("*");else{if(o[t]!==i[t])return e;n.push(o[t])}return n.join("/")}sorted(){return this._items.filter(e=>e.children).forEach(e=>{e.children.sort(ee.compare)}),this._items.sort(ee.compare),this}static compare(e,t){return e.order-t.order}walk(e){this.walkRecursively(this.items,e)}walkRecursively(e,t){e.forEach(e=>{var i;t(e),(null===(i=e.children)||void 0===i?void 0:i.length)&&this.walkRecursively(e.children,t)})}get items(){return this._items}}class te{constructor(e){var t;this._selected=!1,this._open=!1,this._order=e.order,this._label=e.label,this._labelKey=e.labelKey,this._href=e.href,this._children=[...null!==(t=e.children)&&void 0!==t?t:[]],this._hasParent=e.hasParent,this._parent=e.parent,this._selected=e.selected,this._open=e.open,this._documentationHref=e.documentationHref,this._hrefFun=e.hrefFun,this._editions=e.editions,this._icon=e.icon,this._role=e.role,this._guideSelector=e.guideSelector,this._testSelector=e.testSelector,this._shouldShow=e.shouldShow,this._parentModel=e.parentModel}addChild(e){this.children.push(e),e.setParent(this)}addChildren(...e){e.forEach(e=>{this.addChild(e)})}hasSubmenus(){return"#"===this._href}get parent(){return this._parent}set parent(e){this._parent=e}get order(){return this._order}set order(e){this._order=e}get label(){return this._label}set label(e){this._label=e}get labelKey(){return this._labelKey}set labelKey(e){this._labelKey=e}get documentationHref(){return this._documentationHref}set documentationHref(e){this._documentationHref=e}get href(){return this._href}set href(e){this._href=e}get children(){return this._children}set children(e){this._children=e}get hasParent(){return this._hasParent}set hasParent(e){this._hasParent=e}get selected(){return this._selected}set selected(e){this._selected=e}get open(){return this._open}set open(e){this._open=e}get hrefFun(){return this._hrefFun}set hrefFun(e){this._hrefFun=e}get editions(){return this._editions}set editions(e){this._editions=e}get icon(){return this._icon}set icon(e){this._icon=e}get role(){return this._role}set role(e){this._role=e}get guideSelector(){return this._guideSelector}set guideSelector(e){this._guideSelector=e}get testSelector(){return this._testSelector}set testSelector(e){this._testSelector=e}get parentModel(){return this._parentModel}set parentModel(e){this._parentModel=e}get shouldShow(){return this._shouldShow}set shouldShow(e){this._shouldShow=e}setParent(e){this.parentModel=e,this.hasParent=!!e}}const ie=H.logger;class ne{static map(e,t,i,o){const n=new ee;return ne.setTopLevelMenuItems(e,n,t),ne.setSubmenuItems(e,n,t),i&&ne.addRepositoryIdToHrefAttributes(n,i,o),n.sorted()}static addRepositoryIdToHrefAttributes(e,t,i){e.items.forEach(e=>{e.children&&e.children.length>0?e.children.filter(e=>!e.documentationHref).forEach(e=>{e.href=`${e.href}?${i}=${t}`}):e.href=`${e.href}?${i}=${t}`})}static setTopLevelMenuItems(e,t,i){e.forEach(e=>{e.items.filter(e=>!e.parent&&e.shouldShow).forEach(e=>{t.hasParent(e.label)?ie.warn("Doubled parent definition: ",e):t.addItem(this.toMenuItemModel(e,void 0,i,e.children))})})}static setSubmenuItems(e,t,i){e.forEach(e=>{e.items.filter(e=>e.parent&&e.shouldShow).forEach(e=>{const o=t.getTopLevelItem(e.parent);null==o||o.addChildren(this.toMenuItemModel(e,o,i,e.children))})})}static toMenuItemModel(e,t,i,o=[]){let n;e.documentationHref&&(n=P.resolveDocumentationUrl(null==i?void 0:i.shortVersion,e.documentationHref));const s=new te({label:e.label,labelKey:e.labelKey,href:n||e.href,documentationHref:e.documentationHref,hrefFun:e.hrefFun,order:e.order,role:e.role,editions:e.editions,icon:e.icon,guideSelector:e.guideSelector,hasParent:!!t,parentModel:t,parent:e.parent,selected:!1,shouldShow:e.shouldShow,testSelector:e.testSelector}),r=o.map(e=>this.toMenuItemModel(e,s,i,e.children));return s.addChildren(...r),s}}const oe="menu.buttons.expand",se="menu.buttons.collapse",ae=class{constructor(t){e(this,t),this.navbarToggled=n(this,"navbarToggled"),this.productInfoContextService=R(m),this.repositoryContextService=R(p),this.subscriptions=new a,this.resizeHandler=()=>this.adjustAllSubmenus(this.hostElement),this.SUBMENU_VERTICAL_MARGIN=8,this.MIN_SUBMENU_HEIGHT=100,this.labels={[oe]:U.translate(oe),[se]:U.translate(se)},this.isCollapsedByUser=!1,this.isFirstRepositoryChange=!0,this.isCollapsed=!1}navbarCollapsedChange(e){this.isCollapsed=!e,this.isCollapsed&&!this.isCollapsedByUser?this.expandNavbar():this.collapseNavbar(),this.navbarToggled.emit(new q(this.isCollapsed))}menuItemsChanged(e){this.init(e)}init(e){const t=this.repositoryContextService.getSelectedRepository(),i=ne.map(e||[],this.productInfo,null==t?void 0:t.id,Y);i.initSelected(z()),this.menuModel=i}select(e,t){e.preventDefault(),this.clearAllOpenedSubmenuStyles(),t.hasSubmenus()||(e.ctrlKey?V(t.href):L(t.href)),t.children.length?t.open?(this.menuModel.closeAll(),this.menuModel.hasSelectedSubmenu(t)&&this.menuModel.selectItem(t)):(this.menuModel.closeOpened(),this.menuModel.open(t),this.menuModel.hasSelectedSubmenu(t)&&this.menuModel.deselectItem(t)):this.menuModel.closeOtherParents(t),this.isCollapsed&&this.menuModel.isParentOpened(t)&&this.menuModel.closeOpened(),this.refreshNavbar(),this.adjustAllSubmenus(this.hostElement)}subscribeToNavigationEnd(){this.subscriptions.add(r.get(k).subscribe(x.NAVIGATION_END,()=>{this.selectItemByUrl()}))}selectItemByUrl(){this.menuModel&&(this.menuModel.deselectAll(),this.menuModel.closeAll(),S()||this.menuModel.initSelected(z()),this.refreshNavbar(),this.adjustAllSubmenus(this.hostElement))}toggleNavbar(){this.isCollapsed?(this.isCollapsedByUser=!1,this.menuModel.expandSelected(),this.menuModel.unhighlightSelected(),this.expandNavbar(),this.clearAllOpenedSubmenuStyles()):(this.isCollapsedByUser=!0,this.menuModel.highlightSelected(),this.menuModel.closeOpened(),this.collapseNavbar(),this.clearAllOpenedSubmenuStyles()),this.refreshNavbar(),this.adjustAllSubmenus(this.hostElement),this.navbarToggled.emit(new q(this.isCollapsed))}collapseNavbar(){this.hostElement.querySelector(".navbar-component").classList.add("collapsed"),this.isCollapsed=!0}expandNavbar(){this.isCollapsedByUser||(this.hostElement.querySelector(".navbar-component").classList.remove("collapsed"),this.isCollapsed=!1)}refreshNavbar(){var e;(null===(e=this.menuModel)||void 0===e?void 0:e.items)&&(this.menuModel=new ee(this.menuModel.items))}onLanguageChanged(){this.refreshNavbar()}onTranslate(e){this.subscriptions.add(U.onTranslate(e,[],t=>{this.labels[e]=t,this.onLanguageChanged()}))}toggleNavbarHandler(){return()=>this.toggleNavbar()}adjustSubmenuMaxHeight(e,t=this.SUBMENU_VERTICAL_MARGIN){if(!e||"function"!=typeof e.getBoundingClientRect)return;const i=e.closest(".menu-element");if(!i)return;const o=e.getBoundingClientRect(),n=i.getBoundingClientRect(),s=window.innerHeight,r=n.top-t+n.height,a=s-n.bottom+n.height-t;let l,c=!1;a>=o.height?l=a:r>=o.height?(l=r,c=!0):a>r?(l=a,c=!1):(l=r,c=!0),c?(e.style.bottom="0",e.style.top="auto"):(e.style.top="0",e.style.bottom="auto"),e.style.maxHeight=`${Math.max(this.MIN_SUBMENU_HEIGHT,l)}px`,e.style.overflowY="auto"}adjustAllSubmenus(e,t=this.SUBMENU_VERTICAL_MARGIN){requestAnimationFrame(()=>{e&&"function"==typeof e.querySelectorAll&&this.getAllOpenedSubmenus(e).forEach(e=>this.adjustSubmenuMaxHeight(e,t))})}getAllOpenedSubmenus(e){return Array.from(e.querySelectorAll(".navbar-component.collapsed .menu-element.open .sub-menu"))}getAllSubmenus(e){return Array.from(e.querySelectorAll(".navbar-component .menu-element .sub-menu"))}clearAllOpenedSubmenuStyles(){this.getAllSubmenus(this.hostElement).forEach(e=>{e.style.maxHeight="",e.style.overflowY="",e.style.top="",e.style.bottom=""})}componentWillLoad(){this.init(this.menuItems)}connectedCallback(){this.subscribeToNavigationEnd(),this.subscribeToProductInfoChanges(),this.subscribeToRepositoryChange(),this.onTranslate(oe),this.onTranslate(se),window.addEventListener("resize",this.resizeHandler)}disconnectedCallback(){this.subscriptions.unsubscribeAll(),window.removeEventListener("resize",this.resizeHandler)}handleSelectMenuItem(e){return t=>{this.select(t,e)}}render(){if(this.menuModel)return t(i,null,t("ul",{class:"navbar-component"},t("li",{class:"navbar-toggle"},t("a",{class:"toggle-menu no-underline",title:this.isCollapsed?this.labels[oe]:this.labels[se],onClick:this.toggleNavbarHandler()},t("em",{class:this.isCollapsed?"ri-arrow-right-s-line":"ri-arrow-left-s-line"}))),this.menuModel.items.map(e=>t("li",{key:e.labelKey,class:{"menu-element":!0,open:e.open},"data-test":e.testSelector,"guide-selector":e.guideSelector},e.children.length>0&&t(o,null,t("div",{class:{"menu-element-root":!0,active:e.selected},onClick:this.handleSelectMenuItem(e)},t("span",{class:`menu-item-icon ${e.icon}`})," ",t("translate-label",{class:"menu-item",labelKey:e.labelKey})),t("ul",{class:"sub-menu"},t("li",{key:e.labelKey,class:"submenu-title"},t("translate-label",{labelKey:e.labelKey})),e.children.map(e=>t("li",{key:e.labelKey,class:{"sub-menu-item":!0,active:e.selected},"data-test":e.testSelector,"guide-selector":e.guideSelector},t("a",e.documentationHref?{class:"sub-menu-link external-link",href:e.href,target:"_blank",rel:"noopener noreferrer"}:{class:"sub-menu-link",href:e.href,onClick:this.handleSelectMenuItem(e)},t("translate-label",{class:"menu-item",labelKey:e.labelKey}),e.icon&&t("span",{class:`text-muted ${e.icon}`})))))),0===e.children.length&&t("a",{class:{"menu-element-root":!0,active:e.selected},href:e.href,onClick:this.handleSelectMenuItem(e)},t("span",{class:`menu-item-icon ${e.icon}`})," ",t("translate-label",{class:"menu-item",labelKey:e.labelKey}))))))}subscribeToProductInfoChanges(){this.subscriptions.add(this.productInfoContextService.onProductInfoChanged(e=>this.productInfo=e))}subscribeToRepositoryChange(){this.subscriptions.add(this.repositoryContextService.onSelectedRepositoryChanged(()=>{this.isFirstRepositoryChange?this.isFirstRepositoryChange=!1:this.init(this.menuItems)}))}get hostElement(){return s(this)}static get watchers(){return{navbarCollapsed:[{navbarCollapsedChange:0}],menuItems:[{menuItemsChanged:0}]}}};ae.style=':host{display:block}.navbar-component{width:15rem;position:fixed;font-weight:400;z-index:1010;margin:0;padding:0;-moz-transition:width 0.2s ease-in;-o-transition:width 0.2s ease-in;-webkit-transition:width 0.2s ease-in;transition:width 0.2s ease-in;height:calc(100% - 60px);overflow-y:auto;overflow-x:hidden}@media screen and (max-height: 475px){.navbar-component.collapsed{position:absolute}}.navbar-component li{list-style:none;cursor:pointer}.navbar-component li a{text-decoration:none}.navbar-component li a.sub-menu-link:not([href=""]):not([tabindex]):hover{text-decoration:none !important}.navbar-component .sub-menu-item a.sub-menu-link:not([href]) translate-label.menu-item{padding-right:3.5px}.navbar-component a.sub-menu-link:not([href]):hover .menu-item,.navbar-component a.sub-menu-link[href=""]:hover .menu-item{text-decoration-line:underline !important}.navbar-component li .menu-element-root:hover,.navbar-component .sub-menu li:hover{text-decoration-line:none !important}.navbar-component li .menu-element-root:hover .menu-item-icon,.navbar-component .menu-element.open .menu-item-icon{transform:scale(1.1)}.navbar-component .menu-element.open .sub-menu .menu-item-icon{transform:scale(0.5)}.navbar-component .menu-element{position:relative}.navbar-component .menu-element-root{padding:0.8em 2.5em 0.8em 0.8em;display:block;line-height:2.5rem;position:relative;z-index:100;-moz-transition:all 0.18s ease-out;-o-transition:all 0.18s ease-out;-webkit-transition:all 0.18s ease-out;transition:all 0.18s ease-out;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.navbar-component .menu-item-icon{font-size:1.6rem;width:2.5rem;vertical-align:middle;text-align:center;transform:scale(0.9);display:inline-block;-moz-transition:all 0.18s ease-out;-o-transition:all 0.18s ease-out;-webkit-transition:all 0.18s ease-out;transition:all 0.18s ease-out;pointer-events:none}.navbar-component .menu-element-root .menu-item{pointer-events:none}.navbar-component :not(.brand) .menu-element-root{font-size:1.1rem}.navbar-component .brand a{display:block;position:relative;z-index:5}.navbar-component .sub-menu{position:relative;padding:0;z-index:110}.navbar-component .sub-menu li{display:none}.navbar-component .sub-menu li a{padding:0.5em 0.8em 0.5em 1.3em;display:block}.navbar-component .sub-menu li.active a{font-weight:500}.navbar-component .menu-element.open ul li{display:block}.navbar-component .menu-element ul:before{font-family:"icomoon", sans-serif !important;content:"\\e91b";display:block;font-size:1.5em;position:absolute;top:-3.3rem;right:1rem;-moz-transition:all 0.2s ease-in;-o-transition:all 0.2s ease-in;-webkit-transition:all 0.2s ease-in;transition:all 0.2s ease-in;pointer-events:none}.navbar-component .menu-element.open ul:before,.rdf-list ul.open.datasource:before{transform:rotate(90deg)}.navbar-component.collapsed{width:4.375rem;overflow:visible;height:auto}.navbar-component.collapsed .menu-element.open .sub-menu{position:absolute;top:0;left:4.375rem;width:15rem}.navbar-component.collapsed .menu-element .menu-item,.navbar-component.collapsed .menu-element .sub-menu li{display:none}.navbar-component.collapsed .menu-element.open .menu-item,.navbar-component.collapsed .menu-element.open .sub-menu li{display:block}.navbar-component.collapsed .menu-element.open .menu-element-root .menu-item{display:none}.navbar-component.collapsed .menu-element.open .sub-menu-item .sub-menu-link{background-color:var(--gw-sidenav-submenuitem-open-background)}.navbar-component.collapsed .menu-element-root{overflow:visible}.navbar-component .menu-element.open ul li.submenu-title,.navbar-component .submenu-title{display:none}.navbar-component.collapsed .menu-element.open ul li.submenu-title{display:block;font-size:1.2em;font-weight:500;text-overflow:ellipsis;overflow:hidden;padding:0.5em 0.8rem 0.7em 0.8rem;background-color:var(--gw-sidenav-submenuitem-open-background)}.navbar-component.collapsed .menu-element.open .sub-menu.align-bottom{bottom:0;top:auto}.navbar-component.collapsed .menu-element ul:before{display:none}.navbar-toggle{padding:0.3em 0}.toggle-menu{display:flex;flex-direction:column;align-items:flex-end;font-size:0.8em;line-height:1.5;padding:0 0.3em;z-index:101;cursor:pointer;background-color:var(--gw-sidenav-togglebutton-background);color:var(--gw-sidenav-togglebutton-color)}.toggle-menu:hover{color:var(--gw-sidenav-togglebutton-hover-color);background-color:var(--gw-sidenav-togglebutton-hover-background)}.toggle-menu [class^=icon-]{transition:all 0.2s ease-in;display:inline-block}.toggle-menu:hover [class^=icon-]{transform:scale(1.1)}.navbar-component{background-color:var(--gw-sidenav-background)}.navbar-component .menu-element .menu-element-root:not(.active){background-color:var(--gw-sidenav-menuitem-background);color:var(--gw-sidenav-menuitem-color)}.navbar-component .menu-element .menu-element-root .menu-item-icon,.navbar-component .menu-element .menu-element-root .menu-item{color:var(--gw-sidenav-menuitem-icon-color)}.navbar-component .menu-element .menu-element-root:hover,.navbar-component .menu-element .menu-element-root:hover .menu-item{background-color:var(--gw-sidenav-menuitem-hover-background);color:var(--gw-sidenav-menuitem-hover-color)}.navbar-component .menu-element .menu-element-root:hover .menu-item-icon{color:var(--gw-sidenav-menuitem-hover-icon-color)}.navbar-component .menu-element:not(.open):has(.menu-element-root.active){background-color:var(--gw-sidenav-menuitem-selected-background);color:var(--gw-sidenav-menuitem-selected-color);border-right:0.25em solid var(--gw-border-color-primary)}.navbar-component .menu-element .menu-element-root.active .menu-item,.navbar-component .menu-element .menu-element-root.active .menu-item-icon{color:var(--gw-sidenav-menuitem-selected-color)}.navbar-component .menu-element .menu-element-root.active .menu-item{color:var(--gw-sidenav-menuitem-selected-icon-color)}.navbar-component .menu-element.open,.navbar-component .menu-element.open .menu-element-root{background-color:var(--gw-sidenav-menuitem-open-background);color:var(--gw-sidenav-menuitem-open-color)}.navbar-component .menu-element:has(.menu-element-root.active) .menu-item-icon,.navbar-component .menu-element:has(.menu-element-root.active) .menu-item{color:var(--gw-sidenav-menuitem-selected-icon-color)}.navbar-component .menu-element .sub-menu-item .menu-item{color:var(--gw-sidenav-submenuitem-color);font-weight:400}.navbar-component .menu-element .sub-menu-item:hover .menu-item{color:var(--gw-sidenav-submenuitem-hover-color)}.navbar-component .menu-element .sub-menu-item.active{color:var(--gw-sidenav-submenuitem-selected-color);background-color:var(--gw-sidenav-submenuitem-selected-background);border-right:0.25em solid var(--gw-border-color-primary)}.navbar-component .menu-element .sub-menu-item.active .menu-item{color:var(--gw-sidenav-submenuitem-selected-color)}';const re=class{constructor(t){e(this,t),this.clearTooltipsForRemovedElements=e=>{for(const t of e)for(const e of Array.from(t.removedNodes))if(this.removeTooltipFromNode(e))return},this.removeTooltipFromNode=e=>{if(e instanceof HTMLElement){if(F.getTooltipInstance(e))return F.destroyTooltip(e),!0;e.childNodes.forEach(this.removeTooltipFromNode)}return!1}}onMouseover(e){const t=F.getTooltipTarget(e.target);t&&this.handleTooltipTargetShow(t);const i=F.getTooltip(e.target);i&&this.handleTooltipShow(i)}handleTooltipShow(e){const t=e.tooltipTarget;t&&this.handleTooltipTargetShow(t)}handleTooltipTargetShow(e){F.getOrCreateTooltipInstance(e).show()}onMouseout(e){const t=F.getTooltipTarget(e.target);t&&this.handleTooltipTargetHide(t,e.relatedTarget);const i=F.getTooltip(e.target);i&&this.handleTooltipHide(i,e.relatedTarget)}handleTooltipHide(e,t){const i=e.tooltipTarget;i&&(t&&e.contains(t)||this.handleTooltipTargetHide(i,t))}handleTooltipTargetHide(e,t){t&&(null==e?void 0:e.contains(t))||F.getTooltipInstance(e)&&F.destroyTooltip(e)}connectedCallback(){this.handleRemovedNodes()}disconnectedCallback(){var e;null===(e=this.observer)||void 0===e||e.disconnect()}render(){return t(i,{key:"341f9ff6313750adc5b8583a8fa3e3ed8c2f98d9"})}handleRemovedNodes(){this.observer=new MutationObserver(this.clearTooltipsForRemovedElements),this.observer.observe(document.body,{childList:!0,subtree:!0})}};re.style=':host{display:block}.tooltip-box{width:max-content;font-size:0.875rem;font-weight:400;line-height:1.5;max-width:var(--gw-tooltip-max-width);pointer-events:auto;opacity:1 !important;color:var(--gw-tooltip-color) !important;background-color:var(--gw-tooltip-background) !important;border-radius:var(--gw-tooltip-border-radius) !important}.tooltip-box .tooltip-arrow{width:10px;height:10px}.tooltip-box .tooltip-arrow::before{content:"";position:absolute;width:10px;height:10px;background-color:var(--gw-tooltip-background);transform:rotate(45deg)}.tooltip-box .tooltip-arrow[data-placement=top]::before{border-bottom-color:transparent;border-right-color:transparent}.tooltip-box .tooltip-arrow[data-placement=bottom]::before{border-top-color:transparent;border-left-color:transparent}.tooltip-box .tooltip-arrow[data-placement=right]::before{border-bottom-color:transparent;border-left-color:transparent}.tooltip-box .tooltip-arrow[data-placement=left]::before{border-top-color:transparent;border-right-color:transparent}.tooltip-box .tooltip-content{position:relative;z-index:1;padding:var(--gw-tooltip-padding)}';export{E as onto_footer,_ as onto_header,$ as onto_loader,ae as onto_navbar,re as onto_tooltip};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,a as e,g as a}from"./p-CGqARDX4.js";import{service as s,AuthenticationService as h,AuthorizationService as d,NavigationContextService as o,AuthenticationStorageService as n,RuntimeConfigurationContextService as r,EventService as l,ApplicationLifecycleContextService as b,StorageKey as c,SubscriptionList as f,LocalStorageSubscriptionHandlerService as u,WindowService as p,navigate as m,SecurityContextService as y,EventName as g}from"@ontotext/workbench-api";import{T as v}from"./p-nljGIprK.js";const w=class{constructor(e){t(this,e),this.authenticationService=s(h),this.authorizationService=s(d),this.navigationContextService=s(o),this.authStorageService=s(n),this.runtimeConfigurationContextService=s(r),this.eventService=s(l),this.applicationLifecycleContextService=s(b),this.fullJwtKey=`${c.GLOBAL_NAMESPACE}.${this.authStorageService.NAMESPACE}.${this.authStorageService.jwtKey}`,this.fullAuthenticatedKey=`${c.GLOBAL_NAMESPACE}.${this.authStorageService.NAMESPACE}.${this.authStorageService.authenticatedKey}`,this.authEvents=[this.fullJwtKey,this.fullAuthenticatedKey],this.isLowResolution=!1,this.showHeader=this.isAuthenticatedFully(),this.showNavbar=!1,this.isEmbedded=!1,this.loading=!0,this.subscriptions=new f,this.isNavbarCollapsed=!1,this.handleStorageChange=e=>{s(u).handleStorageChange(e),this.handleAuthChange(e.key)},this.windowResizeObserver=function(e,i=300){let t;return(...a)=>{clearTimeout(t),t=setTimeout(()=>e.apply(this,a),i)}}(()=>this.windowResizeHandler(),50),p.getWindow().addEventListener("storage",this.handleStorageChange)}componentDidLoad(){this.windowResizeHandler()}connectedCallback(){this.subscribeToSecurityChanges(),this.updateVisibility(),this.subscribeToNavigationEnd(),this.subscribeToRuntimeConfigurationChanges(),this.subscribeToApplicationChange()}disconnectedCallback(){this.subscriptions.unsubscribeAll()}render(){return i(e,{key:"b8cbbca1f12bf6af844e18397d2a725d6ab4e1fc",class:{"wb-layout":!0,"is-embedded":this.isEmbedded,"hide-navbar":!this.showNavbar}},i("div",{key:"f2e3b7a238b82536bd7605196966bd758330c521",class:"default-slot-wrapper"},i("slot",{key:"5d391e2f612d9aead6c07b2ef3641b961eddc504",name:"default"})),!this.isEmbedded&&i("header",{key:"e43c5b68d590e12b2b3e95d4c414505f1fc82abb",class:"wb-header"},this.showHeader&&i("onto-header",{key:"21102b279bed2dd3ee857b399683d14c5f3eaf57"})),!this.isEmbedded&&this.showNavbar&&i("nav",{key:"67dcbf444a30ac933ba83f86ae9f8d08fe5f995f",class:"wb-navbar"},i("onto-navbar",{key:"a9816369cbbac4d5b58f607be61277d6074556bd",ref:this.assignNavbarRef(),"navbar-collapsed":this.isLowResolution})),i("div",{key:"f3ff0e1734eecc433dc20717e0b9f2871ea40dae",class:{"main-slot-wrapper":!0,loading:this.loading}},this.loading&&i("div",{key:"17d9a8024d280f70ad8684e5d114c38b184b529d",class:"loader-wrapper"},i("onto-loader",{key:"534a5d8f89b92051822d1d7750ca56894013c142",size:96,messageText:v.translate("common.loading")})),i("slot",{key:"bcd21d932551dc6f9b9365ccbbafae690f8b7245",name:"main"})),!this.isEmbedded&&i("footer",{key:"9fcd224439dbb7fd35bb4c277dc343eccab40087",class:"wb-footer"},i("onto-footer",{key:"39d5d1c8275c527ca16aa74f6f15dc3f0cc3686c"})),i("onto-tooltip",{key:"6a70e6d2d67e8a9aa6b8eda66b6768735c0f6dcd"}))}onNavbarToggled(e){this.isNavbarCollapsed=e.detail.payload,this.isNavbarCollapsed?this.hostElement.classList.add("expanded"):this.hostElement.classList.remove("expanded")}onResize(){this.windowResizeObserver()}windowResizeHandler(){this.isLowResolution=p.getWindow().innerWidth<=768,this.isLowResolution||this.isNavbarCollapsed?this.hostElement.classList.add("expanded"):this.hostElement.classList.remove("expanded")}handleAuthChange(e){var i;if(e&&this.authEvents.includes(e)){const e=this.authStorageService.isAuthenticated();m(e?null!==(i=this.navigationContextService.getPreviousRoute())&&void 0!==i?i:"./":"login"),p.getWindow().location.reload()}}subscribeToSecurityChanges(){const e=s(y);this.subscriptions.add(e.onAuthenticatedUserChanged(e=>{this.authenticatedUser=e,this.updateVisibility()})),this.subscriptions.add(e.onSecurityConfigChanged(e=>{this.securityConfig=e,this.updateVisibility()})),this.subscriptions.add(this.eventService.subscribe(g.LOGIN,()=>{this.setNavbarItemVisibility(),this.updateVisibility()})),this.subscriptions.add(this.eventService.subscribe(g.LOGOUT,()=>{this.setNavbarItemVisibility(),this.updateVisibility(),m("login")}))}subscribeToRuntimeConfigurationChanges(){this.subscriptions.add(this.runtimeConfigurationContextService.onRuntimeConfigurationChanged(e=>{var i;this.isEmbedded=null!==(i=null==e?void 0:e.isEmbedded)&&void 0!==i&&i}))}updateVisibility(){this.authenticationService.isSecurityEnabled()?(this.showHeader=this.authenticationService.isAuthenticated()||this.authorizationService.hasFreeAccess(),this.showNavbar=this.authenticationService.isAuthenticated()||this.authorizationService.hasFreeAccess()):(this.showNavbar=!0,this.showHeader=!0)}isAuthenticatedFully(){return!this.authenticationService.isSecurityEnabled()||this.authenticationService.isAuthenticated()||this.authorizationService.hasFreeAccess()}shouldShowMenu(e){return this.isAuthenticatedFully()&&this.authorizationService.hasRole(e)}assignNavbarRef(){return e=>{this.navbarRef=e,this.navbarRef&&(this.navbarRef.menuItems=p.getWindow().PluginRegistry.get("main.menu"),this.setNavbarItemVisibility())}}setNavbarItemVisibility(){var e,i,t;if(!(null===(e=this.navbarRef)||void 0===e?void 0:e.menuItems))return;const a=e=>{var i;e.shouldShow=this.shouldShowMenu(e.role),(null===(i=e.children)||void 0===i?void 0:i.length)&&e.children.forEach(a)};null===(t=null===(i=this.navbarRef)||void 0===i?void 0:i.menuItems)||void 0===t||t.forEach(e=>{e.items.forEach(a)}),this.navbarRef.menuItems=[...this.navbarRef.menuItems]}subscribeToNavigationEnd(){this.subscriptions.add(this.eventService.subscribe(g.NAVIGATION_END,e=>{this.navigationContextService.updatePreviousRoute(e.oldUrl)}))}subscribeToApplicationChange(){this.subscriptions.add(this.applicationLifecycleContextService.onApplicationStateBeforeChange(e=>{e&&(this.loading=!0)})),this.subscriptions.add(this.applicationLifecycleContextService.onApplicationStateChange(e=>{e&&(this.loading=!1)}))}get hostElement(){return a(this)}};w.style=':host{display:block;height:100%}.wb-layout{display:grid;grid-template:"header header" auto "nav main" 1fr "nav footer" auto/15rem minmax(200px, 1fr);min-height:100vh;margin:0;}.wb-layout.expanded{grid-template-columns:4.375rem 1fr}.wb-layout.is-embedded{grid-template-columns:1fr;grid-template-areas:"main";padding-top:1rem}.wb-layout.hide-navbar{grid-template:"header" auto "main" 1fr "footer" auto/1fr;}.wb-layout.hide-navbar.expanded{grid-template-columns:1fr}.wb-layout main .main-container{margin-left:0}.wb-layout .main-slot-wrapper .loader-wrapper{flex-grow:1;display:flex;align-items:center;justify-content:center}.wb-layout .main-slot-wrapper.loading{display:flex;flex-direction:column}.wb-layout .main-slot-wrapper.loading .page-content{visibility:hidden}.wb-layout .default-slot-wrapper{display:none}.wb-layout .wb-header{position:sticky;top:0;z-index:999}.wb-layout nav{grid-area:nav}.wb-layout header{grid-area:header}.wb-layout main{grid-area:main}.wb-layout footer{grid-area:footer}';export{w as onto_layout};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see p-CGqARDX4.js.LICENSE.txt */
|
|
2
|
-
var t,e=(e,t)=>{var n;Object.entries(null!=(n=t.o.t)?n:{}).map(([n,[s]])=>{if(31&s||32&s){const s=e[n],o=function(e,t){for(;e;){const n=Object.getOwnPropertyDescriptor(e,t);if(null==n?void 0:n.get)return n;e=Object.getPrototypeOf(e)}}(Object.getPrototypeOf(e),n)||Object.getOwnPropertyDescriptor(e,n);o&&Object.defineProperty(e,n,{get(){return o.get.call(this)},set(e){o.set.call(this,e)},configurable:!0,enumerable:!0}),e[n]=t.i.has(n)?t.i.get(n):s}})},n=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},o=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.l=t,512&n.o.u&&e(t,n))},s=(e,t)=>t in e,i=(e,t)=>(0,console.error)(e,t),l=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="http://www.w3.org/1999/xlink",f="undefined"!=typeof window?window:{},a=f.HTMLElement||class{},d={u:0,h:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),p=(()=>{try{return!!f.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(e){}return!1})(),v=!!p&&!!f.document&&Object.getOwnPropertyDescriptor(f.document.adoptedStyleSheets,"length").writable,b=!1,m=[],y=[],g=(e,t)=>n=>{e.push(n),b||(b=!0,t&&4&d.u?j(w):d.raf(w))},$=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){i(e)}e.length=0},w=()=>{$(m),$(y),(b=m.length>0)&&d.raf(w)},j=e=>h().then(e),O=g(y,!0);function S(){const e=this.attachShadow({mode:"open"});void 0===t&&(t=null),t&&(v?e.adoptedStyleSheets.push(t):e.adoptedStyleSheets=[...e.adoptedStyleSheets,t])}var N=e=>{const t=J(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&"SLOT-FB"!==e.tagName&&k(t,e.tagName).forEach(e=>{1===e.nodeType&&"SLOT-FB"===e.tagName&&(e.hidden=!!E(e,T(e),!1).length)});let n=0;for(n=0;n<t.length;n++){const e=t[n];1===e.nodeType&&J(e,"childNodes").length&&N(e)}},C=e=>{const t=[];for(let n=0;n<e.length;n++){const s=e[n]["s-nr"]||void 0;s&&s.isConnected&&t.push(s)}return t};function k(e,t,n){let s,o=0,r=[];for(;o<e.length;o++){if(s=e[o],s["s-sr"]&&(!t||s["s-hn"]===t)&&(void 0===n||T(s)===n)&&(r.push(s),void 0!==n))return r;r=[...r,...k(s.childNodes,t,n)]}return r}var E=(e,t,n=!0)=>{const s=[];(n&&e["s-sr"]||!e["s-sr"])&&s.push(e);let o=e;for(;o=o.nextSibling;)T(o)!==t||!n&&o["s-sr"]||s.push(o);return s},x=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,M=(e,t,n)=>{if(e["s-ol"]&&e["s-ol"].isConnected)return;const s=document.createTextNode("");if(s["s-nr"]=e,!t["s-cr"]||!t["s-cr"].parentNode)return;const o=t["s-cr"].parentNode;J(o,n?"prepend":"appendChild").call(o,s),e["s-ol"]=s,e["s-sh"]=t["s-hn"]},T=e=>"string"==typeof e["s-sn"]?e["s-sn"]:1===e.nodeType&&e.getAttribute("slot")||void 0;function R(e){e.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function A(e,t){var n;if(!(t=t||(null==(n=e["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const s=e["s-sn"]=T(e)||"";return{slotNode:k(J(t,"childNodes"),t.tagName,s)[0],slotName:s}}var F=e=>{if(e.__cloneNode)return;const t=e.__cloneNode=e.cloneNode;e.cloneNode=function(e){const n=this.shadowRoot&&!0,s=t.call(this,!!n&&e);if(!n&&e){let e,t,n=0;const o=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],r=this.__childNodes||this.childNodes;for(;n<r.length;n++)e=r[n]["s-nr"],t=o.every(e=>!r[n][e]),e&&(s.__appendChild?s.__appendChild(e.cloneNode(!0)):s.appendChild(e.cloneNode(!0))),t&&s.appendChild(r[n].cloneNode(!0))}return s}},L=e=>{e.__appendChild||(e.__appendChild=e.appendChild,e.appendChild=function(e){const{slotName:t,slotNode:n}=A(e,this);if(n){M(e,n);const s=E(n,t),o=s[s.length-1],r=J(o,"parentNode"),l=J(r,"insertBefore")(e,o.nextSibling);return R(n),N(this),l}return this.__appendChild(e)})},_=e=>{e.__removeChild||(e.__removeChild=e.removeChild,e.removeChild=function(e){return e&&void 0!==e["s-sn"]&&k(this.__childNodes||this.childNodes,this.tagName,e["s-sn"])&&e.isConnected?(e.remove(),void N(this)):this.__removeChild(e)})},P=e=>{e.__prepend||(e.__prepend=e.prepend,e.prepend=function(...t){t.forEach(t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t));const n=(t["s-sn"]=T(t))||"",s=k(J(this,"childNodes"),this.tagName,n)[0];if(s){M(t,s,!0);const e=E(s,n)[0],o=J(e,"parentNode"),r=J(o,"insertBefore")(t,J(e,"nextSibling"));return R(s),r}return 1===t.nodeType&&t.getAttribute("slot")&&(t.hidden=!0),e.__prepend(t)})})},B=e=>{e.__append||(e.__append=e.append,e.append=function(...e){e.forEach(e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e)),this.appendChild(e)})})},D=e=>{if(e.__insertAdjacentHTML)return;const t=e.insertAdjacentHTML;e.insertAdjacentHTML=function(e,n){if("afterbegin"!==e&&"beforeend"!==e)return t.call(this,e,n);const s=this.ownerDocument.createElement("_");let o;if(s.innerHTML=n,"afterbegin"===e)for(;o=s.firstChild;)this.prepend(o);else if("beforeend"===e)for(;o=s.firstChild;)this.append(o)}},U=e=>{e.insertAdjacentText=function(e,t){this.insertAdjacentHTML(e,t)}},W=e=>{e.__insertBefore||e.__insertBefore||(e.__insertBefore=e.insertBefore,e.insertBefore=function(e,t){const{slotName:n,slotNode:s}=A(e,this),o=this.__childNodes?this.childNodes:C(this.childNodes);if(s){let r=!1;if(o.forEach(o=>{if(o!==t&&null!==t);else{if(r=!0,null===t||n!==t["s-sn"])return void this.appendChild(e);if(n===t["s-sn"]){M(e,s);const n=J(t,"parentNode");J(n,"insertBefore")(e,t),R(s)}}}),r)return e}const r=null==t?void 0:t.__parentNode;return r&&!this.isSameNode(r)?this.appendChild(e):this.__insertBefore(e,t)})},H=e=>{if(e.__insertAdjacentElement)return;const t=e.insertAdjacentElement;e.insertAdjacentElement=function(e,n){return"afterbegin"!==e&&"beforeend"!==e?t.call(this,e,n):"afterbegin"===e?(this.prepend(n),n):"beforeend"===e?(this.append(n),n):n}},V=e=>{I("textContent",e),Object.defineProperty(e,"textContent",{get:function(){let e="";return(this.__childNodes?this.childNodes:C(this.childNodes)).forEach(t=>e+=t.textContent||""),e},set:function(e){(this.__childNodes?this.childNodes:C(this.childNodes)).forEach(e=>{e["s-ol"]&&e["s-ol"].remove(),e.remove()}),this.insertAdjacentHTML("beforeend",e)}})},q=e=>{class t extends Array{item(e){return this[e]}}I("children",e),Object.defineProperty(e,"children",{get(){return this.childNodes.filter(e=>1===e.nodeType)}}),Object.defineProperty(e,"childElementCount",{get(){return this.children.length}}),I("firstChild",e),Object.defineProperty(e,"firstChild",{get(){return this.childNodes[0]}}),I("lastChild",e),Object.defineProperty(e,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),I("childNodes",e),Object.defineProperty(e,"childNodes",{get(){const e=new t;return e.push(...C(this.__childNodes)),e}})},z=e=>{e&&!e.__parentNode&&(I("parentNode",e),Object.defineProperty(e,"parentNode",{get:function(){var e;return(null==(e=this["s-ol"])?void 0:e.parentNode)||this.__parentNode},set:function(e){this.__parentNode=e}}))},Y=["children","nextElementSibling","previousElementSibling"],G=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function I(e,t){if(!globalThis.Node||!globalThis.Element)return;let n;Y.includes(e)?n=Object.getOwnPropertyDescriptor(Element.prototype,e):G.includes(e)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,e)),n||(n=Object.getOwnPropertyDescriptor(t,e)),n&&Object.defineProperty(t,"__"+e,n)}function J(e,t){if("__"+t in e){const n=e["__"+t];return"function"!=typeof n?n:n.bind(e)}return"function"!=typeof e[t]?e[t]:e[t].bind(e)}function K(e){var t,n,s;return null!=(s=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?s:void 0}var Q,X,Z=new WeakMap,tt=e=>"sc-"+e.p,et=e=>"object"==(e=typeof e)||"function"===e,nt=(e,t,...n)=>{let s=null,o=null,r=null,l=!1,i=!1;const c=[],d=t=>{for(let n=0;n<t.length;n++)s=t[n],Array.isArray(s)?d(s):null!=s&&"boolean"!=typeof s&&((l="function"!=typeof e&&!et(s))&&(s+=""),l&&i?c[c.length-1].v+=s:c.push(l?ot(null,s):s),i=l)};if(d(n),t){t.key&&(o=t.key),t.name&&(r=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter(t=>e[t]).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,it);const a=ot(e,null);return a.m=t,c.length>0&&(a.$=c),a.j=o,a.O=r,a},ot=(e,t)=>({u:0,S:e,v:null!=t?t:null,N:null,$:null,m:null,j:null,O:null}),st={},it={forEach:(e,t)=>e.map(lt).forEach(t),map:(e,t)=>e.map(lt).map(t).map(rt)},lt=e=>({vattrs:e.m,vchildren:e.$,vkey:e.j,vname:e.O,vtag:e.S,vtext:e.v}),rt=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),nt(e.vtag,t,...e.vchildren||[])}const t=ot(e.vtag,e.vtext);return t.m=e.vattrs,t.$=e.vchildren,t.j=e.vkey,t.O=e.vname,t},ct=(e,t)=>null==e||et(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?"string"==typeof e?parseFloat(e):"number"==typeof e?e:NaN:1&t?e+"":e,ut=e=>{var t;return null==(t=n(e))?void 0:t.$hostElement$},ft=(e,t)=>{const n=ut(e);return{emit:e=>at(n,t,{bubbles:!0,composed:!0,cancelable:!0,detail:e})}},at=(e,t,n)=>{const s=d.ce(t,n);return e.dispatchEvent(s),s},dt=(e,t,n,o,r,l)=>{if(n===o)return;let i=s(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,s=pt(n);let r=pt(o);t.remove(...s.filter(e=>e&&!r.includes(e))),t.add(...r.filter(e=>e&&!s.includes(e)))}else if("style"===t){for(const t in n)o&&null!=o[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in o)n&&o[t]===n[t]||(t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if("key"===t);else if("ref"===t)o&&_t(o,e);else if(i||"o"!==t[0]||"n"!==t[1]){const s=et(o);if(i||s&&null!==o)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const s=null==o?"":o;"list"===t?i=!1:null!=n&&e[t]==s||("function"==typeof e.__lookupSetter__(t)?e[t]=s:e.setAttribute(t,s))}}catch(e){}let d=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,d=!0),null==o||!1===o?!1===o&&""!==e.getAttribute(t)||(d?e.removeAttributeNS(u,t):e.removeAttribute(t)):(!i||4&l||r)&&!s&&1===e.nodeType&&(o=!0===o?"":o,d?e.setAttributeNS(u,t,o):e.setAttribute(t,o))}else if(t="-"===t[2]?t.slice(3):s(f,c)?c.slice(2):c[2]+t.slice(3),n||o){const s=t.endsWith(vt);t=t.replace(bt,""),n&&d.rel(e,t,n,s),o&&d.ael(e,t,o,s)}},ht=/\s/,pt=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(ht):[]),vt="Capture",bt=RegExp(vt+"$"),mt=(e,t,n)=>{const s=11===t.N.nodeType&&t.N.host?t.N.host:t.N,o=e&&e.m||{},r=t.m||{};for(const e of yt(Object.keys(o)))e in r||dt(s,e,o[e],void 0,n,t.u);for(const e of yt(Object.keys(r)))dt(s,e,o[e],r[e],n,t.u)};function yt(e){return e.includes("ref")?[...e.filter(e=>"ref"!==e),"ref"]:e}var gt=!1,$t=!1,wt=!1,jt=!1,Ot=[],St=[],Nt=(e,t,n)=>{var s;const o=t.$[n];let r,l,i,c=0;if(gt||(wt=!0,"slot"===o.S&&(o.u|=o.$?2:1)),null!=o.v)r=o.N=f.document.createTextNode(o.v);else if(1&o.u)r=o.N=f.document.createTextNode(""),mt(null,o,jt);else{if(!f.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(r=o.N=f.document.createElement(!gt&&2&o.u?"slot-fb":o.S),mt(null,o,jt),o.$){const t="template"===o.S?r.content:r;for(c=0;c<o.$.length;++c)l=Nt(e,o,c),l&&t.appendChild(l)}}return r["s-hn"]=X,3&o.u&&(r["s-sr"]=!0,r["s-cr"]=Q,r["s-sn"]=o.O||"",r["s-rf"]=null==(s=o.m)?void 0:s.ref,function(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const t=t=>function(e){const n=[],s=this["s-sn"];(null==e?void 0:e.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const o=this["s-cr"].parentElement;return(o.__childNodes?o.childNodes:C(o.childNodes)).forEach(e=>{s===T(e)&&n.push(e)}),t?n.filter(e=>1===e.nodeType):n}.bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}(r),i=e&&e.$&&e.$[n],i&&i.S===o.S&&e.N&&Ct(e.N)),r},Ct=e=>{d.u|=1;const t=e.closest(X.toLowerCase());if(null!=t){const n=Array.from(t.__childNodes||t.childNodes).find(e=>e["s-cr"]),s=Array.from(e.__childNodes||e.childNodes);for(const e of n?s.reverse():s)null!=e["s-sh"]&&(Pt(t,e,null!=n?n:null),e["s-sh"]=void 0,wt=!0)}d.u&=-2},kt=(e,t)=>{d.u|=1;const n=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let t=e;for(;t=t.nextSibling;)t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===X&&n.push(t)}for(let e=n.length-1;e>=0;e--){const s=n[e];s["s-hn"]!==X&&s["s-ol"]&&(Pt(Tt(s).parentNode,s,Tt(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,wt=!0),t&&kt(s,t)}d.u&=-2},Et=(e,t,n,s,o,r)=>{let l,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(i.shadowRoot&&i.tagName===X&&(i=i.shadowRoot),"template"===n.S&&(i=i.content);o<=r;++o)s[o]&&(l=Nt(null,n,o),l&&(s[o].N=l,Pt(i,l,Tt(t))))},xt=(e,t,n)=>{for(let s=t;s<=n;++s){const t=e[s];if(t){const e=t.N;Lt(t),e&&($t=!0,e["s-ol"]?e["s-ol"].remove():kt(e,!0),e.remove())}}},Mt=(e,t,n=!1)=>e.S===t.S&&("slot"===e.S?e.O===t.O:n?(n&&!e.j&&t.j&&(e.j=t.j),!0):e.j===t.j),Tt=e=>e&&e["s-ol"]||e,Rt=(e,t,n=!1)=>{const s=t.N=e.N,o=e.$,r=t.$,l=t.v;let i;null==l?("slot"!==t.S||gt||e.O!==t.O&&(t.N["s-sn"]=t.O||"",Ct(t.N.parentElement)),mt(e,t,jt),null!==o&&null!==r?((e,t,n,s,o=!1)=>{let r,l,i=0,c=0,d=0,a=0,u=t.length-1,h=t[0],f=t[u],p=s.length-1,m=s[0],N=s[p];const y="template"===n.S?e.content:e;for(;i<=u&&c<=p;)if(null==h)h=t[++i];else if(null==f)f=t[--u];else if(null==m)m=s[++c];else if(null==N)N=s[--p];else if(Mt(h,m,o))Rt(h,m,o),h=t[++i],m=s[++c];else if(Mt(f,N,o))Rt(f,N,o),f=t[--u],N=s[--p];else if(Mt(h,N,o))"slot"!==h.S&&"slot"!==N.S||kt(h.N.parentNode,!1),Rt(h,N,o),Pt(y,h.N,f.N.nextSibling),h=t[++i],N=s[--p];else if(Mt(f,m,o))"slot"!==h.S&&"slot"!==N.S||kt(f.N.parentNode,!1),Rt(f,m,o),Pt(y,f.N,h.N),f=t[--u],m=s[++c];else{for(d=-1,a=i;a<=u;++a)if(t[a]&&null!==t[a].j&&t[a].j===m.j){d=a;break}d>=0?(l=t[d],l.S!==m.S?r=Nt(t&&t[c],n,d):(Rt(l,m,o),t[d]=void 0,r=l.N),m=s[++c]):(r=Nt(t&&t[c],n,c),m=s[++c]),r&&Pt(Tt(h.N).parentNode,r,Tt(h.N))}i>u?Et(e,null==s[p+1]?null:s[p+1].N,n,s,c,p):c>p&&xt(t,i,u)})(s,o,t,r,n):null!==r?(null!==e.v&&(s.textContent=""),Et(s,null,t,r,0,r.length-1)):!n&&null!==o&&xt(o,0,o.length-1)):(i=s["s-cr"])?i.parentNode.textContent=l:e.v!==l&&(s.data=l)},At=[],Ft=e=>{let t,n,s;const o=e.__childNodes||e.childNodes;for(const e of o){if(e["s-sr"]&&(t=e["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const o=e["s-sn"];for(s=n.length-1;s>=0;s--)if(t=n[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===e["s-hn"]||t["s-sh"]&&t["s-sh"]===e["s-hn"]))if(x(t,o)){let n=At.find(e=>e.C===t);$t=!0,t["s-sn"]=t["s-sn"]||o,n?(n.C["s-sh"]=e["s-hn"],n.k=e):(t["s-sh"]=e["s-hn"],At.push({k:e,C:t})),t["s-sr"]&&At.map(e=>{x(e.C,t["s-sn"])&&(n=At.find(e=>e.C===t),n&&!e.k&&(e.k=n.k))})}else At.some(e=>e.C===t)||At.push({C:t})}1===e.nodeType&&Ft(e)}},Lt=e=>{e.m&&e.m.ref&&Ot.push(()=>e.m.ref(null)),e.$&&e.$.map(Lt)},_t=(e,t)=>{St.push(()=>e(t))},Pt=(e,t,n,s)=>{if("string"==typeof t["s-sn"]){11!==e.getRootNode().nodeType&&z(t),e.insertBefore(t,n);const{slotNode:o}=A(t);return o&&!s&&R(o),t}return e.__insertBefore?e.__insertBefore(t,n):null==e?void 0:e.insertBefore(t,n)},Bt=(e,t)=>{if(t&&!e.M&&t["s-p"]){const n=t["s-p"].push(new Promise(s=>e.M=()=>{t["s-p"].splice(n-1,1),s()}))}},Dt=(e,t)=>{if(e.u|=16,4&e.u)return void(e.u|=512);Bt(e,e.T);const n=()=>Ut(e,t);if(!t)return O(n);queueMicrotask(()=>{n()})},Ut=(e,t)=>{const n=e.$hostElement$,s=e.l;if(!s)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return t?(e.R&&(e.R=!1,Gt(s,"connectedCallback",void 0,n)),e.u|=256,e.A&&(e.A.map(([e,t])=>Gt(s,e,t,n)),e.A=void 0),e.F.length&&e.F.forEach(e=>e(n)),o=Gt(s,"componentWillLoad",void 0,n)):o=Gt(s,"componentWillUpdate",void 0,n),o=Wt(o,()=>Gt(s,"componentWillRender",void 0,n)),Wt(o,()=>Vt(e,s,t))},Wt=(e,t)=>Ht(e)?e.then(t).catch(e=>{console.error(e),t()}):t(),Ht=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Vt=async(e,t,n)=>{var s;const o=e.$hostElement$,l=o["s-rc"];n&&(e=>{const t=e.o,n=e.$hostElement$,s=t.u,o=((e,t)=>{var n,s,o;const l=tt(t),i=r.get(l);if(!f.document)return l;if(e=11===e.nodeType?e:f.document,i)if("string"==typeof i){let o,r=Z.get(e=e.head||e);if(r||Z.set(e,r=new Set),!r.has(l)){o=f.document.createElement("style"),o.textContent=i;const a=null!=(n=d.L)?n:K(f.document);if(null!=a&&o.setAttribute("nonce",a),!(1&t.u))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(o,(null==n?void 0:n.parentNode)===e?n:null)}else if("host"in e)if(p){const t=new(null!=(s=e.defaultView)?s:e.ownerDocument.defaultView).CSSStyleSheet;t.replaceSync(i),v?e.adoptedStyleSheets.unshift(t):e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.textContent=i+t.textContent:e.prepend(o)}else e.append(o);1&t.u&&e.insertBefore(o,null),4&t.u&&(o.textContent+=c),r&&r.add(l)}}else{let t=Z.get(e);if(t||Z.set(e,t=new Set),!t.has(l)){const n=null!=(o=e.defaultView)?o:e.ownerDocument.defaultView;let s;if(i.constructor===n.CSSStyleSheet)s=i;else{s=new n.CSSStyleSheet;for(let e=0;e<i.cssRules.length;e++)s.insertRule(i.cssRules[e].cssText,e)}v?e.adoptedStyleSheets.push(s):e.adoptedStyleSheets=[...e.adoptedStyleSheets,s],t.add(l)}}return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&s&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e),qt(e,t,o,n),l&&(l.map(e=>e()),o["s-rc"]=void 0);{const t=null!=(s=o["s-p"])?s:[],n=()=>zt(e);0===t.length?n():(Promise.all(t).then(n),e.u|=4,t.length=0)}},qt=(e,t,n,s)=>{try{t=t.render&&t.render(),e.u&=-17,e.u|=2,((e,t,n=!1)=>{var s,o,r,l,i;const c=e.$hostElement$,a=e.o,u=e._||ot(null,null),h=(e=>e&&e.S===st)(t)?t:nt(null,null,t);if(X=c.tagName,n&&h.m)for(const e of Object.keys(h.m))c.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(h.m[e]=c[e]);if(h.S=null,h.u|=4,e._=h,h.N=u.N=c.shadowRoot||c,gt=!(!(1&a.u)||128&a.u),Q=c["s-cr"],$t=!1,Rt(u,h,n),d.u|=1,wt){Ft(h.N);for(const e of At){const t=e.C;if(!t["s-ol"]&&f.document){const e=f.document.createTextNode("");e["s-nr"]=t,Pt(t.parentNode,t["s-ol"]=e,t,n)}}for(const e of At){const t=e.C,i=e.k;if(1===t.nodeType&&n&&(t["s-ih"]=null!=(s=t.hidden)&&s),i){const e=i.parentNode;let s=i.nextSibling;if(s&&1===s.nodeType){let n=null==(o=t["s-ol"])?void 0:o.previousSibling;for(;n;){let o=null!=(r=n["s-nr"])?r:null;if(o&&o["s-sn"]===t["s-sn"]&&e===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===t||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){s=o;break}}n=n.previousSibling}}if((!s&&e!==(t.__parentNode||t.parentNode)||(t.__nextSibling||t.nextSibling)!==s)&&t!==s){if(Pt(e,t,s,n),8===t.nodeType&&t.nodeValue.startsWith("s-nt-")){const e=f.document.createTextNode(t.nodeValue.replace(/^s-nt-/,""));e["s-hn"]=t["s-hn"],e["s-sn"]=t["s-sn"],e["s-sh"]=t["s-sh"],e["s-sr"]=t["s-sr"],e["s-ol"]=t["s-ol"],e["s-ol"]["s-nr"]=e,Pt(t.parentNode,e,t,n),t.parentNode.removeChild(t)}1===t.nodeType&&"SLOT-FB"!==t.tagName&&(t.hidden=null!=(l=t["s-ih"])&&l)}t&&"function"==typeof i["s-rf"]&&i["s-rf"](i)}else 1===t.nodeType&&(t.hidden=!0)}}if($t&&N(h.N),d.u&=-2,At.length=0,!gt&&!(1&a.u)&&c["s-cr"]){const e=h.N.__childNodes||h.N.childNodes;for(const t of e)if(t["s-hn"]!==X&&!t["s-sh"])if(n&&null==t["s-ih"]&&(t["s-ih"]=null!=(i=t.hidden)&&i),1===t.nodeType)t.hidden=!0;else if(3===t.nodeType&&t.nodeValue.trim()){const e=f.document.createComment("s-nt-"+t.nodeValue);e["s-sn"]=t["s-sn"],Pt(t.parentNode,e,t,n),t.parentNode.removeChild(t)}}Q=void 0,Ot.forEach(e=>e()),Ot.length=0,St.forEach(e=>e()),St.length=0})(e,t,s)}catch(t){i(t,e.$hostElement$)}return null},zt=e=>{const t=e.$hostElement$,n=e.l,s=e.T;Gt(n,"componentDidRender",void 0,t),64&e.u?Gt(n,"componentDidUpdate",void 0,t):(e.u|=64,It(t),Gt(n,"componentDidLoad",void 0,t),e.P(t),s||Yt()),e.B(t),e.M&&(e.M(),e.M=void 0),512&e.u&&j(()=>Dt(e,!1)),e.u&=-517},Yt=()=>{j(()=>at(f,"appload",{detail:{namespace:"shared-components"}}))},Gt=(e,t,n,s)=>{if(e&&e[t])try{return e[t](n)}catch(e){i(e,s)}},It=e=>e.classList.add("hydrated"),Jt=(e,t,s,o)=>{const r=n(e);if(!r)return;if(!r)throw Error(`Couldn't find host element for "${o.p}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const l=r.$hostElement$,c=r.i.get(t),d=r.u,a=r.l;if(s=ct(s,o.t[t][0]),!(8&d&&void 0!==c||s===c||Number.isNaN(c)&&Number.isNaN(s))){if(r.i.set(t,s),o.D){const e=o.D[t];e&&e.map(e=>{try{const[[n,o]]=Object.entries(e);(128&d||1&o)&&(a?a[n](s,c,t):r.F.push(()=>{r.l[n](s,c,t)}))}catch(e){i(e,l)}})}if(2==(18&d)){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(s,c,t))return;Dt(r,!1)}}},Kt=(e,t,s)=>{var o,r;const l=e.prototype;{e.watchers&&!t.D&&(t.D=e.watchers),e.deserializers&&!t.U&&(t.U=e.deserializers),e.serializers&&!t.W&&(t.W=e.serializers);const i=Object.entries(null!=(o=t.t)?o:{});if(i.map(([e,[o]])=>{if(31&o||2&s&&32&o){const{get:r,set:i}=Object.getOwnPropertyDescriptor(l,e)||{};r&&(t.t[e][0]|=2048),i&&(t.t[e][0]|=4096),(1&s||!r)&&Object.defineProperty(l,e,{get(){{if(!(2048&t.t[e][0]))return((e,t)=>n(this).i.get(t))(0,e);const s=n(this),o=s?s.l:l;if(!o)return;return o[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(l,e,{set(r){const l=n(this);if(l){if(i)return void 0===(32&o?this[e]:l.$hostElement$[e])&&l.i.get(e)&&(r=l.i.get(e)),i.call(this,ct(r,o)),void Jt(this,e,r=32&o?this[e]:l.$hostElement$[e],t);{if(!(1&s&&4096&t.t[e][0]))return Jt(this,e,r,t),void(1&s&&!l.l&&l.F.push(()=>{4096&t.t[e][0]&&l.l[e]!==l.i.get(e)&&(l.l[e]=r)}));const n=()=>{const n=l.l[e];!l.i.get(e)&&n&&l.i.set(e,n),l.l[e]=ct(r,o),Jt(this,e,l.l[e],t)};l.l?n():l.F.push(()=>{n()})}}}})}else 1&s&&64&o&&Object.defineProperty(l,e,{value(...t){var s;const o=n(this);return null==(s=null==o?void 0:o.H)?void 0:s.then(()=>{var n;return null==(n=o.l)?void 0:n[e](...t)})}})}),1&s){const s=new Map;l.attributeChangedCallback=function(e,o,r){d.jmp(()=>{var c;const d=s.get(e),a=n(this);if(this.hasOwnProperty(d)&&(r=this[d],delete this[d]),l.hasOwnProperty(d)&&"number"==typeof this[d]&&this[d]==r)return;if(null==d){const n=null==a?void 0:a.u;if(a&&n&&!(8&n)&&r!==o){const s=a.l,l=null==(c=t.D)?void 0:c[e];null==l||l.forEach(t=>{const[[l,i]]=Object.entries(t);null!=s[l]&&(128&n||1&i)&&s[l].call(s,r,o,e)})}return}const u=i.find(([e])=>e===d);u&&4&u[1][0]&&(r=null!==r&&"false"!==r);const h=Object.getOwnPropertyDescriptor(l,d);r==this[d]||h.get&&!h.set||(this[d]=r)})},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=t.D)?r:{}),...i.filter(([e,t])=>31&t[0]).map(([e,t])=>{const n=t[1]||e;return s.set(n,e),n})]))}}return e},Qt=(e,t)=>{Gt(e,"connectedCallback",void 0,t)},Xt=(e,t)=>{Gt(e,"disconnectedCallback",void 0,t||e)},Zt=(e,t={})=>{var s;if(!f.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const o=[],a=t.exclude||[],u=f.customElements,h=f.document.head,m=h.querySelector("meta[charset]"),N=f.document.createElement("style"),y=[];let g,v=!0;Object.assign(d,t),d.h=new URL(t.resourcesUrl||"./",f.document.baseURI).href;let b=!1;if(e.map(e=>{e[1].map(t=>{var s,c,h;const m={u:t[0],p:t[1],t:t[2],V:t[3]};4&m.u&&(b=!0),m.t=t[2],m.V=t[3],m.D=null!=(s=t[4])?s:{},m.W=null!=(c=t[5])?c:{},m.U=null!=(h=t[6])?h:{};const N=m.p,w=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(e){if(super(e),((e,t)=>{const n={u:0,$hostElement$:e,o:t,i:new Map,q:new Map};n.H=new Promise(e=>n.B=e),n.Y=new Promise(e=>n.P=e),e["s-p"]=[],e["s-rc"]=[],n.F=[];const s=n;e.__stencil__getHostRef=()=>s})(e=this,m),1&m.u)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${m.p}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else S.call(e,m)}connectedCallback(){const e=n(this);e&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,ee(this,e,m.V)),g&&(clearTimeout(g),g=null),v?y.push(this):d.jmp(()=>(e=>{if(!(1&d.u)){const t=n(e);if(!t)return;const s=t.o,o=()=>{};if(1&t.u)ee(e,t,s.V),(null==t?void 0:t.l)?Qt(t.l,e):(null==t?void 0:t.Y)&&t.Y.then(()=>Qt(t.l,e));else{t.u|=1,12&s.u&&(e=>{if(!f.document)return;const t=e["s-cr"]=f.document.createComment("");t["s-cn"]=!0,Pt(e,t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){Bt(t,t.T=n);break}}s.t&&Object.entries(s.t).map(([t,[n]])=>{if(31&n&&t in e&&e[t]!==Object.prototype[t]){const n=e[t];delete e[t],e[t]=n}}),(async(e,t,n)=>{let s;if(!(32&t.u)){if(t.u|=32,n.G){const o=((e,t)=>{const n=e.p.replace(/-/g,"_"),s=e.G;if(!s)return;const o=l.get(s);return o?o[n]:import(`./${s}.entry.js`).then(e=>(l.set(s,e),e[n]),e=>{i(e,t.$hostElement$)})})(n,t);if(o&&"then"in o){const e=()=>{};s=await o,e()}else s=o;if(!s)throw Error(`Constructor for "${n.p}#${t.I}" was not found`);s.isProxied||(n.D=s.watchers,n.W=s.serializers,n.U=s.deserializers,Kt(s,n,2),s.isProxied=!0);const r=()=>{};t.u|=8;try{new s(t)}catch(t){i(t,e)}t.u&=-9,t.u|=128,r(),4&n.u?t.R=!0:Qt(t.l,e)}else s=e.constructor,customElements.whenDefined(e.localName).then(()=>t.u|=128);if(s&&s.style){let e;"string"==typeof s.style&&(e=s.style);const t=tt(n);if(!r.has(t)){const s=()=>{};((e,t,n)=>{let s=r.get(e);p&&n?(s=s||new CSSStyleSheet,"string"==typeof s?s=t:s.replaceSync(t)):s=t,r.set(e,s)})(t,e,!!(1&n.u)),s()}}}const o=t.T,c=()=>Dt(t,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(e,t,s)}o()}})(this)))}disconnectedCallback(){d.jmp(()=>(async e=>{if(!(1&d.u)){const t=n(e);(null==t?void 0:t.J)&&(t.J.map(e=>e()),t.J=void 0),(null==t?void 0:t.l)?Xt(t.l,e):(null==t?void 0:t.Y)&&t.Y.then(()=>Xt(t.l,e))}Z.has(e)&&Z.delete(e),e.shadowRoot&&Z.has(e.shadowRoot)&&Z.delete(e.shadowRoot)})(this)),d.raf(()=>{var e;const t=n(this);if(!t)return;const s=y.findIndex(e=>e===this);s>-1&&y.splice(s,1),(null==(e=null==t?void 0:t._)?void 0:e.N)instanceof Node&&!t._.N.isConnected&&delete t._.N})}componentOnReady(){var e;return null==(e=n(this))?void 0:e.Y}};!(1&m.u)&&256&m.u?(e=>{F(e),L(e),B(e),P(e),H(e),D(e),U(e),W(e),V(e),q(e),_(e)})(w.prototype):F(w.prototype),m.G=e[0],a.includes(N)||u.get(N)||(o.push(N),u.define(N,Kt(w,m,1)))})}),o.length>0&&(b&&(N.textContent+=c),N.textContent+=o.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",N.innerHTML.length)){N.setAttribute("data-styles","");const e=null!=(s=d.L)?s:K(f.document);null!=e&&N.setAttribute("nonce",e),h.insertBefore(N,m?m.nextSibling:h.firstChild)}v=!1,y.length?y.map(e=>e.connectedCallback()):d.jmp(()=>g=setTimeout(Yt,30))},te=(e,t)=>t,ee=(e,t,n)=>{n&&f.document&&n.map(([n,s,o])=>{const r=oe(f.document,e,n),l=ne(t,o),i=se(n);d.ael(r,s,l,i),(t.J=t.J||[]).push(()=>d.rel(r,s,l,i))})},ne=(e,t)=>n=>{var s;try{256&e.u?null==(s=e.l)||s[t](n):(e.A=e.A||[]).push([t,n])}catch(t){i(t,e.$hostElement$)}},oe=(e,t,n)=>4&n?e:8&n?f:16&n?e.body:t,se=e=>({passive:!!(1&e),capture:!!(2&e)}),ie=e=>d.L=e;export{te as F,a as H,st as a,Zt as b,ft as c,ut as g,nt as h,h as p,o as r,ie as s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const o=()=>{};export{o as g};
|
|
File without changes
|
/package/dist/{main.1be0fc11ab24b99f8800.js.LICENSE.txt → main.a67c284710a8b9a98ca2.js.LICENSE.txt}
RENAMED
|
File without changes
|
/package/dist/shared-components/cjs/{index-L_ZmIeD5.js.LICENSE.txt → index-CTK5NoJt.js.LICENSE.txt}
RENAMED
|
File without changes
|
/package/dist/shared-components/esm/{index-CGqARDX4.js.LICENSE.txt → index-EiAqSNMq.js.LICENSE.txt}
RENAMED
|
File without changes
|
|
File without changes
|