@dso-toolkit/core 90.2.0 → 91.1.0
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/bundle/dso-accordion-section.js +10 -10
- package/dist/bundle/dso-accordion.js +1 -1
- package/dist/bundle/dso-action-list-item.js +3 -3
- package/dist/bundle/dso-action-list.js +2 -2
- package/dist/bundle/dso-advanced-select.js +8 -8
- package/dist/bundle/dso-alert.js +1 -1
- package/dist/bundle/dso-annotation-activiteit.js +10 -10
- package/dist/bundle/dso-annotation-gebiedsaanwijzing.js +9 -9
- package/dist/bundle/dso-annotation-kaart.js +5 -5
- package/dist/bundle/dso-annotation-locatie.js +1 -1
- package/dist/bundle/dso-annotation-omgevingsnormwaarde.js +10 -10
- package/dist/bundle/dso-attachments-counter.js +1 -1
- package/dist/bundle/dso-autosuggest.js +6 -6
- package/dist/bundle/dso-badge.js +1 -1
- package/dist/bundle/dso-banner.js +1 -1
- package/dist/bundle/dso-button-group.js +1 -1
- package/dist/bundle/dso-card-container.js +1 -1
- package/dist/bundle/dso-card.js +2 -2
- package/dist/bundle/dso-contact-information.js +1 -1
- package/dist/bundle/dso-cursor-tooltip.js +1 -1
- package/dist/bundle/dso-date-picker.js +1 -1
- package/dist/bundle/dso-document-card.js +2 -2
- package/dist/bundle/dso-document-component.js +1 -1
- package/dist/bundle/dso-dropdown-menu.js +1 -1
- package/dist/bundle/dso-expandable.js +1 -1
- package/dist/bundle/dso-header.js +4 -4
- package/dist/bundle/dso-highlight-box.js +2 -2
- package/dist/bundle/dso-history-item.js +7 -6
- package/dist/bundle/dso-icon-button.js +1 -1
- package/dist/bundle/dso-icon.js +1 -1
- package/dist/bundle/dso-image-overlay.js +1 -1
- package/dist/bundle/dso-info-button.js +1 -1
- package/dist/bundle/dso-info.js +1 -1
- package/dist/bundle/dso-input-range.js +10 -10
- package/dist/bundle/dso-label.js +1 -1
- package/dist/bundle/dso-legend-group.js +5 -5
- package/dist/bundle/dso-legend-item.js +8 -8
- package/dist/bundle/dso-legend.js +6 -6
- package/dist/bundle/dso-list-button.js +8 -8
- package/dist/bundle/dso-logo.js +2 -2
- package/dist/bundle/dso-map-base-layers.js +10 -10
- package/dist/bundle/dso-map-controls.js +8 -8
- package/dist/bundle/dso-map-layer-object.js +4 -4
- package/dist/bundle/dso-map-layer.js +4 -4
- package/dist/bundle/dso-map-message.js +4 -4
- package/dist/bundle/dso-map-overlays.js +10 -10
- package/dist/bundle/dso-mark-bar.js +4 -4
- package/dist/bundle/dso-modal.js +7 -7
- package/dist/bundle/dso-onboarding-tip.js +5 -5
- package/dist/bundle/dso-ozon-content-toggletip.js +1 -1
- package/dist/bundle/dso-ozon-content.js +1 -1
- package/dist/bundle/dso-pagination.js +3 -3
- package/dist/bundle/dso-panel.js +1 -1
- package/dist/bundle/dso-plekinfo-card.js +5 -5
- package/dist/bundle/dso-progress-indicator.js +1 -1
- package/dist/bundle/dso-project-item.js +6 -6
- package/dist/bundle/dso-renvooi.js +1 -1
- package/dist/bundle/dso-responsive-element.js +1 -1
- package/dist/bundle/dso-scrollable.js +1 -1
- package/dist/bundle/dso-segmented-button.js +2 -2
- package/dist/bundle/dso-selectable.js +1 -1
- package/dist/bundle/dso-skiplink.js +3 -3
- package/dist/bundle/dso-slide-toggle.js +1 -1
- package/dist/bundle/dso-survey-rating.js +6 -6
- package/dist/bundle/dso-tab.js +1 -1
- package/dist/bundle/dso-table.js +1 -1
- package/dist/bundle/dso-tabs.js +2 -2
- package/dist/bundle/dso-tijdreis-banner.js +3 -3
- package/dist/bundle/dso-toggletip.js +7 -8
- package/dist/bundle/dso-tooltip.js +1 -1
- package/dist/bundle/dso-tree-view.js +4 -4
- package/dist/bundle/dso-viewer-grid.js +2 -2
- package/dist/bundle/dsot-document-component-demo.js +20 -20
- package/dist/bundle/index.js +2 -2
- package/dist/bundle/{p-BrjfgYHu.js → p-Aw2GDcd_.js} +1 -1
- package/dist/bundle/{p-Yb_1DkLQ.js → p-B3_SLWNA.js} +2 -2
- package/dist/bundle/{p-DkfAYJEK.js → p-BEeZGrQZ.js} +1 -1
- package/dist/bundle/{p-S5dgiDyu.js → p-BTGCfFEi.js} +4 -4
- package/dist/bundle/{p-YQatg-S9.js → p-Bep0SkQb.js} +19 -14
- package/dist/bundle/{p-DHnYupzr.js → p-Bpxt6ayX.js} +1 -1
- package/dist/bundle/{p-DgXlrrIE.js → p-BrHMwOG1.js} +2 -2
- package/dist/bundle/{p-BknPxtzH.js → p-BtO3hbCA.js} +3 -3
- package/dist/bundle/{p-DU-jWPQj.js → p-BtSsjpsk.js} +4 -4
- package/dist/bundle/{p-DmmKAUIT.js → p-ChUPoPD0.js} +23 -14
- package/dist/bundle/{p-jCIJm9RS.js → p-CwtbTbJR.js} +2 -2
- package/dist/bundle/{p-Co2uuask.js → p-Cx-wt8X8.js} +1 -1
- package/dist/bundle/{p-Cvc_zdE2.js → p-D1-LTBJ5.js} +4 -4
- package/dist/bundle/{p-Cv4NtJR0.js → p-D5HubnB5.js} +2 -2
- package/dist/bundle/{p-C_akviUd.js → p-DEQj4hHE.js} +1 -1
- package/dist/bundle/{p-XMxdbO4a.js → p-DNfICZYP.js} +2 -2
- package/dist/bundle/{p-CJuXnQoh.js → p-DVcclNIE.js} +3 -3
- package/dist/bundle/{p-BmmH_eu_.js → p-DcBiT9g1.js} +14 -14
- package/dist/bundle/{p-DVa4-JLn.js → p-DqzYyiPW.js} +1 -1
- package/dist/bundle/{p-HAIRtan0.js → p-DrnFQ7QE.js} +1 -1
- package/dist/bundle/{p-B09PltTN.js → p-DtKW-Ahw.js} +6 -6
- package/dist/bundle/{p-ntyBxyGu.js → p-DxWHGT19.js} +5 -5
- package/dist/bundle/{p-CxUu0O7_.js → p-OxRzmdbG.js} +3 -3
- package/dist/bundle/{p-BF6yRtxl.js → p-PyXrDQQO.js} +4 -4
- package/dist/bundle/{p-FXEjFTzg.js → p-ULwgxD7S.js} +33 -12
- package/dist/bundle/{p-BW1PprKl.js → p-ZVYFxI1s.js} +1 -1
- package/dist/bundle/{p-CIaQxmqO.js → p-eDWNcXMC.js} +8 -16
- package/dist/bundle/{p-nkfcrXkM.js → p-eonzuQ6G.js} +3 -3
- package/dist/bundle/{p-DfR9IgAn.js → p-gyRjz9FA.js} +9 -9
- package/dist/bundle/{p-BNIsduz8.js → p-j2wKDi7f.js} +7 -7
- package/dist/bundle/{p-CVb-Vo71.js → p-uPEAyTMl.js} +3 -3
- package/dist/bundle/{p-BtoSFmxi.js → p-ufoglAZ3.js} +5 -5
- package/dist/bundle/{p-DhxQaUrY.js → p-yUjhN7ux.js} +4 -4
- package/dist/bundle/{p-BgyqGgJ8.js → p-zRaH89Qj.js} +72 -64
- package/dist/cjs/{annotation-body-RMdkmeDi.js → annotation-body-D709UN2k.js} +1 -1
- package/dist/cjs/{annotation-list-renvooi-values-yougabBy.js → annotation-list-renvooi-values-Bf6MmhgH.js} +1 -1
- package/dist/cjs/{annotation-watcher-CRuL5p8N.js → annotation-watcher-nmRcLxK5.js} +1 -1
- package/dist/cjs/dso-accordion-section.cjs.entry.js +2 -2
- package/dist/cjs/dso-accordion.cjs.entry.js +1 -1
- package/dist/cjs/dso-action-list-item.cjs.entry.js +2 -2
- package/dist/cjs/dso-action-list.cjs.entry.js +2 -2
- package/dist/cjs/dso-advanced-select.cjs.entry.js +2 -2
- package/dist/cjs/dso-alert_7.cjs.entry.js +22 -17
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +4 -4
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +3 -3
- package/dist/cjs/dso-annotation-kaart.cjs.entry.js +2 -2
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +5 -5
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +4 -4
- package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +1 -1
- package/dist/cjs/dso-autosuggest.cjs.entry.js +3 -3
- package/dist/cjs/dso-banner.cjs.entry.js +1 -1
- package/dist/cjs/dso-button-group.cjs.entry.js +1 -1
- package/dist/cjs/dso-card-container.cjs.entry.js +1 -1
- package/dist/cjs/dso-card.cjs.entry.js +1 -1
- package/dist/cjs/dso-contact-information.cjs.entry.js +1 -1
- package/dist/cjs/dso-cursor-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/dso-document-card.cjs.entry.js +1 -1
- package/dist/cjs/dso-dropdown-menu.cjs.entry.js +3 -3
- package/dist/cjs/dso-header.cjs.entry.js +2 -2
- package/dist/cjs/dso-highlight-box.cjs.entry.js +2 -2
- package/dist/cjs/dso-history-item.cjs.entry.js +4 -4
- package/dist/cjs/dso-icon_2.cjs.entry.js +6 -6
- package/dist/cjs/dso-info-button.cjs.entry.js +7 -14
- package/dist/cjs/dso-info_2.cjs.entry.js +3 -3
- package/dist/cjs/dso-input-range.cjs.entry.js +3 -3
- package/dist/cjs/dso-label_3.cjs.entry.js +5 -5
- package/dist/cjs/dso-legend-group.cjs.entry.js +3 -3
- package/dist/cjs/dso-legend-item.cjs.entry.js +3 -3
- package/dist/cjs/dso-legend.cjs.entry.js +3 -3
- package/dist/cjs/dso-list-button.cjs.entry.js +2 -2
- package/dist/cjs/dso-logo.cjs.entry.js +2 -2
- package/dist/cjs/dso-map-base-layers.cjs.entry.js +4 -4
- package/dist/cjs/dso-map-controls.cjs.entry.js +4 -4
- package/dist/cjs/dso-map-layer-object.cjs.entry.js +3 -3
- package/dist/cjs/dso-map-layer.cjs.entry.js +3 -3
- package/dist/cjs/dso-map-message.cjs.entry.js +3 -3
- package/dist/cjs/dso-map-overlays.cjs.entry.js +4 -4
- package/dist/cjs/dso-mark-bar.cjs.entry.js +2 -2
- package/dist/cjs/dso-modal.cjs.entry.js +4 -4
- package/dist/cjs/dso-onboarding-tip.cjs.entry.js +4 -4
- package/dist/cjs/dso-pagination.cjs.entry.js +1 -1
- package/dist/cjs/dso-plekinfo-card.cjs.entry.js +4 -4
- package/dist/cjs/dso-progress-indicator.cjs.entry.js +3 -3
- package/dist/cjs/dso-project-item.cjs.entry.js +2 -2
- package/dist/cjs/dso-responsive-element.cjs.entry.js +2 -2
- package/dist/cjs/dso-scrollable.cjs.entry.js +3 -3
- package/dist/cjs/dso-segmented-button.cjs.entry.js +2 -2
- package/dist/cjs/dso-skiplink.cjs.entry.js +2 -2
- package/dist/cjs/dso-survey-rating.cjs.entry.js +3 -3
- package/dist/cjs/dso-tab.cjs.entry.js +1 -1
- package/dist/cjs/dso-tabs.cjs.entry.js +2 -2
- package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +2 -2
- package/dist/cjs/dso-toggletip.cjs.entry.js +2 -2
- package/dist/cjs/dso-toolkit.cjs.js +3 -3
- package/dist/cjs/dso-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/dso-tree-view.cjs.entry.js +2 -2
- package/dist/cjs/dso-viewer-grid.cjs.entry.js +2 -2
- package/dist/cjs/dsot-document-component-demo.cjs.entry.js +3 -3
- package/dist/cjs/{floating-ui.dom-D-ZpkBFm.js → floating-ui.dom-ClybLJQM.js} +72 -64
- package/dist/cjs/{i18n-CBaOSyHy.js → i18n-EVv0JhYm.js} +33 -12
- package/dist/cjs/{index-BKUr3Wdg.js → index-Dqk4tvHL.js} +23 -14
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{parse-wijzigactie-from-node.function-B_NZh4Us.js → parse-wijzigactie-from-node.function-2IxB-3Tj.js} +1 -1
- package/dist/cjs/{position-tooltip.function-Bwu_g1_t.js → position-tooltip.function-CppeKAt4.js} +1 -1
- package/dist/cjs/{tooltip.functional-component-ByUlZk1N.js → tooltip.functional-component-DrN_v5w1.js} +1 -1
- package/dist/cjs/{v4-DVHpSsrI.js → v4-B9KyY_nQ.js} +1 -1
- package/dist/cjs/{wrap-wijzigactie.functional-component-BNrVU6nv.js → wrap-wijzigactie.functional-component-CJUtPTJt.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/accordion/components/accordion-section.css +3 -0
- package/dist/collection/components/action-list/action-list.css +1 -1
- package/dist/collection/components/action-list/components/action-list-item.css +6 -6
- package/dist/collection/components/document-component/document-component.css +4 -5
- package/dist/collection/components/highlight-box/highlight-box.css +5 -5
- package/dist/collection/components/history-item/history-item.css +29 -11
- package/dist/collection/components/history-item/history-item.js +22 -3
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon-button/icon-button.js +1 -1
- package/dist/collection/components/info/info.js +1 -1
- package/dist/collection/components/info-button/info-button.css +0 -15
- package/dist/collection/components/info-button/info-button.js +2 -28
- package/dist/collection/components/input-range/input-range.js +9 -9
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/legend/legend-group/legend-group.js +1 -1
- package/dist/collection/components/legend/legend-item/legend-item.js +1 -1
- package/dist/collection/components/legend/legend.js +1 -1
- package/dist/collection/components/list-button/list-button.js +1 -1
- package/dist/collection/components/logo/logo.js +1 -1
- package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
- package/dist/collection/components/map-controls/map-controls.css +4 -5
- package/dist/collection/components/map-controls/map-controls.js +1 -1
- package/dist/collection/components/map-layer/components/map-layer-object.js +1 -1
- package/dist/collection/components/map-layer/map-layer.js +1 -1
- package/dist/collection/components/map-message/map-message.js +2 -2
- package/dist/collection/components/map-overlays/map-overlays.js +1 -1
- package/dist/collection/components/mark-bar/mark-bar.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/onboarding-tip/onboarding-tip.js +1 -1
- package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js +1 -1
- package/dist/collection/components/ozon-content/nodes/table.node/table-cell.js +2 -2
- package/dist/collection/components/ozon-content/nodes/table.node/table-header.js +9 -0
- package/dist/collection/components/ozon-content/nodes/table.node/table-rows.js +3 -2
- package/dist/collection/components/ozon-content/nodes/table.node/table.node.js +1 -1
- package/dist/collection/components/ozon-content/ozon-content.css +4 -5
- package/dist/collection/components/ozon-content/ozon-content.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/plekinfo-card/plekinfo-card.css +7 -11
- package/dist/collection/components/plekinfo-card/plekinfo-card.js +1 -1
- package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
- package/dist/collection/components/project-item/project-item.js +1 -1
- package/dist/collection/components/responsive-element/responsive-element.js +1 -1
- package/dist/collection/components/scrollable/scrollable.js +2 -2
- package/dist/collection/components/segmented-button/segmented-button.js +1 -1
- package/dist/collection/components/selectable/selectable.js +1 -1
- package/dist/collection/components/skiplink/skiplink.js +1 -1
- package/dist/collection/components/slide-toggle/slide-toggle.js +1 -1
- package/dist/collection/components/survey-rating/survey-rating.js +2 -2
- package/dist/collection/components/table/table.css +4 -5
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tijdreis-banner/tijdreis-banner.js +1 -1
- package/dist/collection/components/toggletip/toggletip.js +1 -20
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tree-view/tree-view.js +1 -1
- package/dist/collection/components/viewer-grid/viewer-grid.js +1 -1
- package/dist/collection/utils/i18n.js +1 -0
- package/dist/components/document-component.js +1 -1
- package/dist/components/dso-accordion-section.js +1 -1
- package/dist/components/dso-action-list-item.js +1 -1
- package/dist/components/dso-action-list.js +1 -1
- package/dist/components/dso-advanced-select.js +1 -1
- package/dist/components/dso-highlight-box.js +1 -1
- package/dist/components/dso-history-item.js +1 -1
- package/dist/components/dso-input-range.js +1 -1
- package/dist/components/dso-legend-group.js +1 -1
- package/dist/components/dso-legend-item.js +1 -1
- package/dist/components/dso-legend.js +1 -1
- package/dist/components/dso-list-button.js +1 -1
- package/dist/components/dso-logo.js +1 -1
- package/dist/components/dso-map-base-layers.js +1 -1
- package/dist/components/dso-map-controls.js +1 -1
- package/dist/components/dso-map-layer-object.js +1 -1
- package/dist/components/dso-map-layer.js +1 -1
- package/dist/components/dso-map-message.js +1 -1
- package/dist/components/dso-map-overlays.js +1 -1
- package/dist/components/dso-mark-bar.js +1 -1
- package/dist/components/dso-modal.js +1 -1
- package/dist/components/dso-onboarding-tip.js +1 -1
- package/dist/components/dso-plekinfo-card.js +1 -1
- package/dist/components/dso-project-item.js +1 -1
- package/dist/components/dso-segmented-button.js +1 -1
- package/dist/components/dso-skiplink.js +1 -1
- package/dist/components/dso-survey-rating.js +1 -1
- package/dist/components/dso-tabs.js +1 -1
- package/dist/components/dso-tijdreis-banner.js +1 -1
- package/dist/components/dso-toggletip.js +1 -1
- package/dist/components/dso-tree-view.js +1 -1
- package/dist/components/dso-viewer-grid.js +1 -1
- package/dist/components/floating-ui.dom.js +1 -1
- package/dist/components/i18n.js +1 -1
- package/dist/components/icon-button.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/info-button.js +1 -1
- package/dist/components/info.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/ozon-content-toggletip.js +1 -1
- package/dist/components/ozon-content.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/progress-indicator.js +1 -1
- package/dist/components/responsive-element.js +1 -1
- package/dist/components/scrollable.js +1 -1
- package/dist/components/selectable.js +1 -1
- package/dist/components/slide-toggle.js +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/v4.js +1 -1
- package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/dso-toolkit/{p-780737ad.entry.js → p-064c5a7a.entry.js} +1 -1
- package/dist/dso-toolkit/{p-c52616a2.entry.js → p-0806202d.entry.js} +1 -1
- package/dist/dso-toolkit/{p-ac6825b5.entry.js → p-0860136b.entry.js} +1 -1
- package/dist/dso-toolkit/{p-7229fed0.entry.js → p-0aad5fe6.entry.js} +1 -1
- package/dist/dso-toolkit/p-0d157ae7.entry.js +1 -0
- package/dist/dso-toolkit/{p-3290cf30.entry.js → p-0f876c0a.entry.js} +1 -1
- package/dist/dso-toolkit/p-17b3cba4.entry.js +1 -0
- package/dist/dso-toolkit/{p-05e7c356.entry.js → p-1fa1ffbc.entry.js} +1 -1
- package/dist/dso-toolkit/{p-2b751600.entry.js → p-2398e358.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3fee4537.entry.js → p-28494f89.entry.js} +1 -1
- package/dist/dso-toolkit/{p-200819a2.entry.js → p-2f516e4b.entry.js} +1 -1
- package/dist/dso-toolkit/{p-c650002e.entry.js → p-331a77f3.entry.js} +1 -1
- package/dist/dso-toolkit/p-3d59a7bb.entry.js +1 -0
- package/dist/dso-toolkit/{p-fe4dd620.entry.js → p-3e5b2fef.entry.js} +1 -1
- package/dist/dso-toolkit/{p-e8f4fcd0.entry.js → p-3f0c3325.entry.js} +3 -3
- package/dist/dso-toolkit/{p-2d950317.entry.js → p-3f6d1167.entry.js} +1 -1
- package/dist/dso-toolkit/{p-36e813f9.entry.js → p-41bf7330.entry.js} +1 -1
- package/dist/dso-toolkit/p-43b8db31.entry.js +1 -0
- package/dist/dso-toolkit/{p-c5766326.entry.js → p-466cd42e.entry.js} +1 -1
- package/dist/dso-toolkit/{p-d8c89791.entry.js → p-4bf15aa2.entry.js} +1 -1
- package/dist/dso-toolkit/p-4f7c6b0b.entry.js +1 -0
- package/dist/dso-toolkit/{p-a563e235.entry.js → p-51c0ca8c.entry.js} +1 -1
- package/dist/dso-toolkit/p-521908e4.entry.js +1 -0
- package/dist/dso-toolkit/{p-188f383c.entry.js → p-5c68cd75.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0d296ef0.entry.js → p-655e3b73.entry.js} +1 -1
- package/dist/dso-toolkit/{p-747e0b01.entry.js → p-6bcc7aa8.entry.js} +1 -1
- package/dist/dso-toolkit/{p-c33dc797.entry.js → p-6e5e6778.entry.js} +1 -1
- package/dist/dso-toolkit/{p-ff1d91b4.entry.js → p-6ffcff75.entry.js} +1 -1
- package/dist/dso-toolkit/{p-2c4eb07e.entry.js → p-7267f3f4.entry.js} +1 -1
- package/dist/dso-toolkit/{p-5893f749.entry.js → p-75001c55.entry.js} +1 -1
- package/dist/dso-toolkit/{p-6fc38a28.entry.js → p-758753b4.entry.js} +1 -1
- package/dist/dso-toolkit/p-762bae0a.entry.js +1 -0
- package/dist/dso-toolkit/{p-25bb82be.entry.js → p-7cdc26bb.entry.js} +1 -1
- package/dist/dso-toolkit/p-7cf538d7.entry.js +1 -0
- package/dist/dso-toolkit/{p-a90e1620.entry.js → p-7e01a979.entry.js} +1 -1
- package/dist/dso-toolkit/{p-16e69d06.entry.js → p-850d9452.entry.js} +1 -1
- package/dist/dso-toolkit/{p-bca812a8.entry.js → p-86250ce1.entry.js} +1 -1
- package/dist/dso-toolkit/{p-ec04f087.entry.js → p-8bfb71c6.entry.js} +1 -1
- package/dist/dso-toolkit/{p-4c305060.entry.js → p-8cbecafb.entry.js} +1 -1
- package/dist/dso-toolkit/{p-b63c1d6a.entry.js → p-8dbdfc2c.entry.js} +1 -1
- package/dist/dso-toolkit/{p-2391ab39.entry.js → p-9ddc4327.entry.js} +1 -1
- package/dist/dso-toolkit/{p-BlaG0Agw.js → p-B9WLR_Pd.js} +1 -1
- package/dist/dso-toolkit/p-BIfnbekk.js +2 -0
- package/dist/dso-toolkit/{p-Ce5efsIs.js → p-BaoXsbsy.js} +1 -1
- package/dist/dso-toolkit/p-BuFNkQa2.js +1 -0
- package/dist/dso-toolkit/p-CJ3poofC.js +1 -0
- package/dist/dso-toolkit/p-Co-_Hv5Q.js +1 -0
- package/dist/dso-toolkit/p-DEQj4hHE.js +1 -0
- package/dist/dso-toolkit/p-DHajDj9P.js +1 -0
- package/dist/dso-toolkit/p-ULwgxD7S.js +1 -0
- package/dist/dso-toolkit/p-Vx2gP-Bl.js +1 -0
- package/dist/dso-toolkit/{p-e1dca044.entry.js → p-a1bbab8d.entry.js} +1 -1
- package/dist/dso-toolkit/p-a1ce78db.entry.js +1 -0
- package/dist/dso-toolkit/{p-881da5bc.entry.js → p-a28f17f3.entry.js} +1 -1
- package/dist/dso-toolkit/{p-a22d7d1e.entry.js → p-a33024ef.entry.js} +1 -1
- package/dist/dso-toolkit/{p-7b2ac6ae.entry.js → p-ac214c2f.entry.js} +1 -1
- package/dist/dso-toolkit/p-b10d5ff7.entry.js +1 -0
- package/dist/dso-toolkit/{p-bbf2a5cb.entry.js → p-c0235338.entry.js} +1 -1
- package/dist/dso-toolkit/p-c0974a7b.entry.js +1 -0
- package/dist/dso-toolkit/{p-d819289c.entry.js → p-c1bbf72e.entry.js} +1 -1
- package/dist/dso-toolkit/{p-a2bbe083.entry.js → p-c25aa287.entry.js} +1 -1
- package/dist/dso-toolkit/{p-f09a941a.entry.js → p-c485698f.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0c6c3d19.entry.js → p-c9ad74b4.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0bbe5de0.entry.js → p-cbc7268a.entry.js} +1 -1
- package/dist/dso-toolkit/{p-b0bc4aed.entry.js → p-d0bbc40a.entry.js} +1 -1
- package/dist/dso-toolkit/{p-c800076a.entry.js → p-dbbdb8de.entry.js} +1 -1
- package/dist/dso-toolkit/{p-0b4ddc17.entry.js → p-e1feb2cb.entry.js} +1 -1
- package/dist/dso-toolkit/{p-027fc4fe.entry.js → p-e331aecd.entry.js} +1 -1
- package/dist/dso-toolkit/{p-7c74a079.entry.js → p-e3ccc1f7.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3631a64d.entry.js → p-ed940510.entry.js} +1 -1
- package/dist/dso-toolkit/{p-35c8afb5.entry.js → p-f9d75ac8.entry.js} +1 -1
- package/dist/dso-toolkit/p-zRaH89Qj.js +1 -0
- package/dist/esm/{annotation-body-Ce5c-0pe.js → annotation-body-XmHPl1j-.js} +1 -1
- package/dist/esm/{annotation-list-renvooi-values-B9Td2jg4.js → annotation-list-renvooi-values-BrskkBG_.js} +1 -1
- package/dist/esm/{annotation-watcher-Dk6POxYU.js → annotation-watcher-CXzFGupS.js} +1 -1
- package/dist/esm/dso-accordion-section.entry.js +2 -2
- package/dist/esm/dso-accordion.entry.js +1 -1
- package/dist/esm/dso-action-list-item.entry.js +2 -2
- package/dist/esm/dso-action-list.entry.js +2 -2
- package/dist/esm/dso-advanced-select.entry.js +2 -2
- package/dist/esm/dso-alert_7.entry.js +22 -17
- package/dist/esm/dso-annotation-activiteit.entry.js +4 -4
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +3 -3
- package/dist/esm/dso-annotation-kaart.entry.js +2 -2
- package/dist/esm/dso-annotation-locatie_2.entry.js +5 -5
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +4 -4
- package/dist/esm/dso-attachments-counter_2.entry.js +1 -1
- package/dist/esm/dso-autosuggest.entry.js +3 -3
- package/dist/esm/dso-banner.entry.js +1 -1
- package/dist/esm/dso-button-group.entry.js +1 -1
- package/dist/esm/dso-card-container.entry.js +1 -1
- package/dist/esm/dso-card.entry.js +1 -1
- package/dist/esm/dso-contact-information.entry.js +1 -1
- package/dist/esm/dso-cursor-tooltip.entry.js +1 -1
- package/dist/esm/dso-date-picker.entry.js +1 -1
- package/dist/esm/dso-document-card.entry.js +1 -1
- package/dist/esm/dso-dropdown-menu.entry.js +3 -3
- package/dist/esm/dso-header.entry.js +2 -2
- package/dist/esm/dso-highlight-box.entry.js +2 -2
- package/dist/esm/dso-history-item.entry.js +4 -4
- package/dist/esm/dso-icon_2.entry.js +6 -6
- package/dist/esm/dso-info-button.entry.js +7 -14
- package/dist/esm/dso-info_2.entry.js +3 -3
- package/dist/esm/dso-input-range.entry.js +3 -3
- package/dist/esm/dso-label_3.entry.js +5 -5
- package/dist/esm/dso-legend-group.entry.js +3 -3
- package/dist/esm/dso-legend-item.entry.js +3 -3
- package/dist/esm/dso-legend.entry.js +3 -3
- package/dist/esm/dso-list-button.entry.js +2 -2
- package/dist/esm/dso-logo.entry.js +2 -2
- package/dist/esm/dso-map-base-layers.entry.js +4 -4
- package/dist/esm/dso-map-controls.entry.js +4 -4
- package/dist/esm/dso-map-layer-object.entry.js +3 -3
- package/dist/esm/dso-map-layer.entry.js +3 -3
- package/dist/esm/dso-map-message.entry.js +3 -3
- package/dist/esm/dso-map-overlays.entry.js +4 -4
- package/dist/esm/dso-mark-bar.entry.js +2 -2
- package/dist/esm/dso-modal.entry.js +4 -4
- package/dist/esm/dso-onboarding-tip.entry.js +4 -4
- package/dist/esm/dso-pagination.entry.js +1 -1
- package/dist/esm/dso-plekinfo-card.entry.js +4 -4
- package/dist/esm/dso-progress-indicator.entry.js +3 -3
- package/dist/esm/dso-project-item.entry.js +2 -2
- package/dist/esm/dso-responsive-element.entry.js +2 -2
- package/dist/esm/dso-scrollable.entry.js +3 -3
- package/dist/esm/dso-segmented-button.entry.js +2 -2
- package/dist/esm/dso-skiplink.entry.js +2 -2
- package/dist/esm/dso-survey-rating.entry.js +3 -3
- package/dist/esm/dso-tab.entry.js +1 -1
- package/dist/esm/dso-tabs.entry.js +2 -2
- package/dist/esm/dso-tijdreis-banner.entry.js +2 -2
- package/dist/esm/dso-toggletip.entry.js +2 -2
- package/dist/esm/dso-toolkit.js +4 -4
- package/dist/esm/dso-tooltip.entry.js +2 -2
- package/dist/esm/dso-tree-view.entry.js +2 -2
- package/dist/esm/dso-viewer-grid.entry.js +2 -2
- package/dist/esm/dsot-document-component-demo.entry.js +3 -3
- package/dist/esm/{floating-ui.dom-BgyqGgJ8.js → floating-ui.dom-zRaH89Qj.js} +72 -64
- package/dist/esm/{i18n-FXEjFTzg.js → i18n-ULwgxD7S.js} +33 -12
- package/dist/esm/{index-ai7aDzJN.js → index-BIfnbekk.js} +23 -14
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{parse-wijzigactie-from-node.function-DFRwNK3S.js → parse-wijzigactie-from-node.function-g0_S_VRv.js} +1 -1
- package/dist/esm/{position-tooltip.function-Db-YtSLm.js → position-tooltip.function-Cf2lM20T.js} +1 -1
- package/dist/esm/{tooltip.functional-component-TdyYX_ny.js → tooltip.functional-component-eBucNQlw.js} +1 -1
- package/dist/esm/{v4-C_akviUd.js → v4-DEQj4hHE.js} +1 -1
- package/dist/esm/{wrap-wijzigactie.functional-component-DDktk4pu.js → wrap-wijzigactie.functional-component-BB1TmP-v.js} +1 -1
- package/dist/types/components/history-item/history-item.d.ts +4 -0
- package/dist/types/components/info-button/info-button.d.ts +0 -5
- package/dist/types/components/ozon-content/nodes/table.node/table-cell.d.ts +8 -0
- package/dist/types/components/ozon-content/nodes/table.node/table-header.d.ts +10 -0
- package/dist/types/components/ozon-content/nodes/table.node/table-rows.d.ts +1 -0
- package/dist/types/components/toggletip/toggletip.d.ts +0 -4
- package/dist/types/components.d.ts +9 -18
- package/dist/types/stencil-public-runtime.d.ts +3 -1
- package/package.json +9 -10
- package/dist/dso-toolkit/p-1db16e23.entry.js +0 -1
- package/dist/dso-toolkit/p-297777c1.entry.js +0 -1
- package/dist/dso-toolkit/p-453c359e.entry.js +0 -1
- package/dist/dso-toolkit/p-55a2d0ce.entry.js +0 -1
- package/dist/dso-toolkit/p-7df48674.entry.js +0 -1
- package/dist/dso-toolkit/p-863dde86.entry.js +0 -1
- package/dist/dso-toolkit/p-88a5dc4d.entry.js +0 -1
- package/dist/dso-toolkit/p-BgyqGgJ8.js +0 -1
- package/dist/dso-toolkit/p-C_akviUd.js +0 -1
- package/dist/dso-toolkit/p-CiFROHm0.js +0 -1
- package/dist/dso-toolkit/p-DMMFbykw.js +0 -1
- package/dist/dso-toolkit/p-DQQwiKx8.js +0 -1
- package/dist/dso-toolkit/p-Dmt6eQ2x.js +0 -1
- package/dist/dso-toolkit/p-Dnozu1V0.js +0 -1
- package/dist/dso-toolkit/p-FXEjFTzg.js +0 -1
- package/dist/dso-toolkit/p-ac8d2b73.entry.js +0 -1
- package/dist/dso-toolkit/p-ai7aDzJN.js +0 -2
- package/dist/dso-toolkit/p-c3c19b60.entry.js +0 -1
- package/dist/dso-toolkit/p-e47f6979.entry.js +0 -1
- package/dist/dso-toolkit/p-f5348bf8.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,d as e,h as r,a as t}from"./p-
|
|
1
|
+
import{r as o,d as e,h as r,a as t}from"./p-BIfnbekk.js";import{W as i}from"./p-CJ3poofC.js";const a=class{constructor(r){o(this,r),this.dsoActiveChange=e(this,"dsoActiveChange",7),this.dsoMouseEnter=e(this,"dsoMouseEnter",7),this.dsoMouseLeave=e(this,"dsoMouseLeave",7),this.handleActiveChange=o=>{this.dsoActiveChange.emit({current:Boolean(this.active),next:!this.active,originalEvent:o})}}render(){return r(t,{key:"e87eb0a987f963f5cd37d2d6dd31a973b0af3a5a",onMouseEnter:()=>this.dsoMouseEnter.emit(),onMouseLeave:()=>this.dsoMouseLeave.emit()},r(i,{key:"fd8848154e06d83165db3961de7ad2b906ab5fe8",wijzigactie:this.wijzigactie},r("div",{key:"8c001e470ce4e4b4fc688e090b2269be4ffe8030",class:"map-layer-object"},r("div",{key:"55e475b8c309a5918e8f59624a86fb60189dcb4b"},r("slot",{key:"45760d7f2ecf8db5efda4ece670e909978d807aa",name:"symbol"})),r("div",{key:"fb46ff9139db827a5fa6d86b1f4fe23e75688108",class:"map-layer-object-heading"},r("slot",{key:"d17824947aad54c024cf0da86d06e898bb465732"}),r("slot",{key:"80ab4eb005bf754772e9bc60ff1e4a868199f639",name:"label"})),r("div",{key:"02dd86c4ed6328db5de0802684e55be7c6121194",class:"slide-toggle-container"},r("dso-slide-toggle",{key:"a40dca66743d2404a761b47788c80a3334a0ff8e",accessibleLabel:"Toon op kaart",checked:this.active,onDsoActiveChange:this.handleActiveChange})))))}};a.style='*,*::after,*::before{box-sizing:border-box}:host{display:block}:host ins,:host del{display:contents;text-decoration:none}:host([wijzigactie=voegtoe]){--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}:host([wijzigactie=voegtoe]) a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}:host([wijzigactie=voegtoe]) a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}:host([wijzigactie=voegtoe]) a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}:host([wijzigactie=voegtoe]) a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}:host([wijzigactie=voegtoe]){--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#e4f1d4;color:#191919;box-shadow:0 1px 3px 1px rgba(0, 0, 0, 0.5);--_dso-ozon-content-toggletip-color:#000}:host([wijzigactie=verwijder]){--_dso-alert-success-border-color:#39870c;--_dso-alert-error-border-color:#ce3f51;--_dso-alert-info-border-color:#6ca4d9;--_dso-alert-warning-border-color:#dcd400;--link-color:currentColor;--link-hover-color:currentColor;--link-visited-color:currentColor}:host([wijzigactie=verwijder]) a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.download,.download:hover,.download:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#download-zwart"))}:host([wijzigactie=verwijder]) a:not(.dso-primary,.dso-secondary,.dso-tertiary):is(.extern,.extern:hover,.extern:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#external-link-zwart"))}:host([wijzigactie=verwijder]) a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="tel:"],[href^="tel:"]:hover,[href^="tel:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#call-zwart"))}:host([wijzigactie=verwijder]) a:not(.dso-primary,.dso-secondary,.dso-tertiary):is([href^="mailto:"],[href^="mailto:"]:hover,[href^="mailto:"]:focus-visible){background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-zwart"))}:host([wijzigactie=verwijder]){--_dso-icon-button-tertiary-color:#191919;--_dso-icon-button-tertiary-hover-color:#4c4c4c;--_dso-icon-button-tertiary-active-color:#173521;--_dso-icon-button-tertiary-disabled-color:#999;--_dso-button-tertiary-color:#191919;--_dso-button-tertiary-hover-color:#4c4c4c;--_dso-button-tertiary-active-color:#173521;--_dso-button-tertiary-disabled-color:#999;background-color:#f5d8dc;color:#191919;--_dso-ozon-content-toggletip-color:#000}.map-layer-object{display:flex;justify-content:space-between;align-items:center;padding:2px;min-block-size:28px}.map-layer-object ::slotted([slot=symbol]){background-color:#fff;display:block;float:inline-start;block-size:24px;margin-block-start:0;margin-inline-end:8px;inline-size:27.6923076923px;overflow:hidden;position:relative}.map-layer-object-heading{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.map-layer-object .slide-toggle-container{display:flex;align-items:center;margin-inline-start:auto}.map-layer-object .slide-toggle-container dso-slide-toggle{display:flex;padding-block:0}';export{a as dso_map_layer_object}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,d as n,h as e,F as o}from"./p-ai7aDzJN.js";import{g as r,c as i}from"./p-BFTU3MAI.js";var s,u,c,a,f=r(function(){if(u)return s;u=1;var t=1/0,n=9007199254740991,e=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,i=/^0o[0-7]+$/i,c=/^(?:0|[1-9]\d*)$/,a=parseFloat,f=parseInt,h=Object.prototype.toString,d=Math.floor,l=Math.min,p=Math.random;function b(t){var n=typeof t;return!!t&&("object"==n||"function"==n)}function v(n){return n?(n=function(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==h.call(t)}(t))return NaN;if(b(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=b(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(e,"");var s=r.test(t);return s||i.test(t)?f(t.slice(2),s?2:8):o.test(t)?NaN:+t}(n))===t||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}return s=function(t,e,o){if(o&&"boolean"!=typeof o&&function(t,e,o){if(!b(o))return!1;var r=typeof e;return!!("number"==r?function(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}(t.length)&&!function(t){var n=b(t)?h.call(t):"";return"[object Function]"==n||"[object GeneratorFunction]"==n}(t)}(o)&&function(t,e){return!!(e=null==e?n:e)&&("number"==typeof t||c.test(t))&&t>-1&&t%1==0&&t<e}(e,o.length):"string"==r&&e in o)&&function(t,n){return t===n||t!=t&&n!=n}(o[e],t)}(t,e,o)&&(e=o=void 0),void 0===o&&("boolean"==typeof e?(o=e,e=void 0):"boolean"==typeof t&&(o=t,t=void 0)),void 0===t&&void 0===e?(t=0,e=1):(t=v(t),void 0===e?(e=t,t=0):e=v(e)),t>e){var r=t;t=e,e=r}if(o||t%1||e%1){var i=p();return l(t+i*(e-t+a("1e-"+((i+"").length-1))),e)}return function(t,n){return t+d(p()*(n-t+1))}(t,e)}}()),h=r(function(){if(a)return c;a=1;var t=1/0,n=9007199254740991,e="[object Map]",o="[object Promise]",r="[object Set]",s="[object WeakMap]",u="[object DataView]",f=/^\s+|\s+$/g,h=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,l=/^\[object .+?Constructor\]$/,p=/^0o[0-7]+$/i,b=/^(?:0|[1-9]\d*)$/,v="\\ud800-\\udfff",m="\\u0300-\\u036f\\ufe20-\\ufe23",y="\\u20d0-\\u20f0",g="\\ufe0e\\ufe0f",j="["+v+"]",C="["+m+y+"]",D="\\ud83c[\\udffb-\\udfff]",w="[^"+v+"]",k="(?:\\ud83c[\\udde6-\\uddff]){2}",A="[\\ud800-\\udbff][\\udc00-\\udfff]",O="\\u200d",T="(?:"+C+"|"+D+")?",$="["+g+"]?",I=$+T+"(?:"+O+"(?:"+[w,k,A].join("|")+")"+$+T+")*",S="(?:"+[w+C+"?",C,k,A,j].join("|")+")",F=RegExp(D+"(?="+D+")|"+S+I,"g"),M=RegExp("["+O+v+m+y+g+"]"),N=parseInt,x="object"==typeof self&&self&&self.Object===Object&&self,E="object"==typeof i&&i&&i.Object===Object&&i||x||Function("return this")();function z(t){var n=-1,e=Array(t.size);return t.forEach((function(t,o){e[++n]=[o,t]})),e}function R(t){var n=-1,e=Array(t.size);return t.forEach((function(t){e[++n]=t})),e}var L,W,B,V=Function.prototype,_=Object.prototype,K=E["__core-js_shared__"],P=(L=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||""))?"Symbol(src)_1."+L:"",G=V.toString,U=_.hasOwnProperty,H=_.toString,J=RegExp("^"+G.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),q=E.Symbol,Q=q?q.iterator:void 0,X=_.propertyIsEnumerable,Y=Math.floor,Z=(W=Object.keys,B=Object,function(t){return W(B(t))}),tt=Math.random,nt=dt(E,"DataView"),et=dt(E,"Map"),ot=dt(E,"Promise"),rt=dt(E,"Set"),it=dt(E,"WeakMap"),st=bt(nt),ut=bt(et),ct=bt(ot),at=bt(rt),ft=bt(it);function ht(t,n){return t+Y(tt()*(n-t+1))}function dt(t,n){var e=function(t,n){return null==t?void 0:t[n]}(t,n);return function(t){if(!gt(t)||function(t){return!!P&&P in t}(t))return!1;var n=yt(t)||function(t){var n=!1;if(null!=t&&"function"!=typeof t.toString)try{n=!!(t+"")}catch(t){}return n}(t)?J:l;return n.test(bt(t))}(e)?e:void 0}var lt=function(t){return H.call(t)};function pt(t,e){return!!(e=null==e?n:e)&&("number"==typeof t||b.test(t))&&t>-1&&t%1==0&&t<e}function bt(t){if(null!=t){try{return G.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(nt&<(new nt(new ArrayBuffer(1)))!=u||et&<(new et)!=e||ot&<(ot.resolve())!=o||rt&<(new rt)!=r||it&<(new it)!=s)&&(lt=function(t){var n=H.call(t),i="[object Object]"==n?t.constructor:void 0,c=i?bt(i):void 0;if(c)switch(c){case st:return u;case ut:return e;case ct:return o;case at:return r;case ft:return s}return n});var vt=Array.isArray;function mt(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}(t.length)&&!yt(t)}function yt(t){var n=gt(t)?H.call(t):"";return"[object Function]"==n||"[object GeneratorFunction]"==n}function gt(t){var n=typeof t;return!!t&&("object"==n||"function"==n)}function jt(t){return!!t&&"object"==typeof t}function Ct(t){return t?function(t,n){return function(n){for(var e=-1,o=n?n.length:0,r=Array(o);++e<o;)r[e]=t[n[e]];return r}(n)}(t,function(t){return mt(t)?function(t){var n=vt(t)||function(t){return function(t){return jt(t)&&mt(t)}(t)&&U.call(t,"callee")&&(!X.call(t,"callee")||"[object Arguments]"==H.call(t))}(t)?function(t,n){for(var e=-1,o=Array(t);++e<t;)o[e]=n(e);return o}(t.length,String):[],e=n.length,o=!!e;for(var r in t)!U.call(t,r)||o&&("length"==r||pt(r,e))||n.push(r);return n}(t):function(t){if((n=t)!==("function"==typeof(e=n&&n.constructor)&&e.prototype||_))return Z(t);var n,e,o=[];for(var r in Object(t))U.call(t,r)&&"constructor"!=r&&o.push(r);return o}(t)}(t)):[]}return c=function(n,o,i){var s,u,c=-1,a=function(t){if(!t)return[];if(mt(t))return function(t){return"string"==typeof t||!vt(t)&&jt(t)&&"[object String]"==H.call(t)}(t)?function(t){return M.test(t)}(n=t)?function(t){return t.match(F)||[]}(n):function(t){return t.split("")}(n):function(t,n){var e=-1,o=t.length;for(n||(n=Array(o));++e<o;)n[e]=t[e];return n}(t);var n;if(Q&&t[Q])return function(t){for(var n,e=[];!(n=t.next()).done;)e.push(n.value);return e}(t[Q]());var o=lt(t);return(o==e?z:o==r?R:Ct)(t)}(n),l=a.length,b=l-1;for((i?function(t,n,e){if(!gt(e))return!1;var o=typeof n;return!!("number"==o?mt(e)&&pt(n,e.length):"string"==o&&n in e)&&function(t,n){return t===n||t!=t&&n!=n}(e[n],t)}(n,o,i):void 0===o)?o=1:(s=function(n){var e=function(n){return n?(n=function(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||jt(t)&&"[object Symbol]"==H.call(t)}(t))return NaN;if(gt(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=gt(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(f,"");var e=d.test(t);return e||p.test(t)?N(t.slice(2),e?2:8):h.test(t)?NaN:+t}(n))===t||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}(n),o=e%1;return e==e?o?e-o:e:0}(o),u=l,s==s&&(void 0!==u&&(s=s<=u?s:u),s=s>=0?s:0),o=s);++c<o;){var v=ht(c,b),m=a[v];a[v]=a[c],a[c]=m}return a.length=o,a}}());const d=class{constructor(r){t(this,r),this.dsotOzonContentClick=n(this,"dsotOzonContentClick",7),this.dsotTableOfContentsClick=n(this,"dsotTableOfContentsClick",3),this.showCanvas=!1,this.showBesluitversie=!1,this.openDefault=!1,this.mode="document",this.openOrClosed=[],this.openedAnnotation=[],this.filtered=[],this.notApplicable=[],this.activeAnnotationSelectables=[],this.handleRecursiveToggle=(t,n)=>{const e=this.getEmbeddedDocumentComponents(t);if(e)for(const t of e.documentComponents)this.handleOpenToggle(t,n.next)},this.DocumentComponent=({path:t})=>{const n=t.at(-1);if(!n||"table-of-contents"===this.mode&&"LID"===n.type)return e(o,null);const{DocumentComponent:r}=this,i=this.getEmbeddedDocumentComponents(n);let s,u,c,a,f;return this.hasNestedDraft(n)&&(this.showBesluitversie?(s="B",u="primary",c="Dit is een besluitversie."):(s="!",u="warning",c="Er zijn onderliggende onderdelen die veranderen binnen dit ontwerp.")),n.bevatOntwerpInformatie&&(this.showBesluitversie?(a="Besluitversie",f="primary"):(a="Ontwerp",f="warning")),e("dso-document-component",{annotated:this.isAnnotated(n),filtered:this.isOpen(n)?this.isFiltered(n):this.hasFilteredChildren(n),gereserveerd:n.gereserveerd,heading:"h2",kop:n.kop,inhoud:n.inhoud,openAnnotation:this.isOpenedAnnotation(n),notApplicable:this.isNotApplicable(n)||t.some((t=>this.isNotApplicable(t))),onDsoAnnotationToggle:t=>this.handleAnnotationToggle(n,t.detail),onDsoOpenToggle:()=>this.handleOpenToggle(n),open:this.isOpen(n),type:n.type,vervallen:n.vervallen,wijzigactie:n.wijzigactie,recursiveToggle:this.recursiveToggleState(n),onDsoRecursiveToggle:t=>this.handleRecursiveToggle(n,t.detail),mode:this.mode,href:"table-of-contents"===this.mode?"/document/"+n.documentTechnischId:void 0,onDsoTableOfContentsClick:t=>this.handleTableOfContentsClick(t),onDsoOzonContentClick:t=>this.handleOzonContentClick(t),ozonContentUrlResolver:this.ozonContentUrlResolver,ozonContentBegripResolver:this.ozonContentBegripResolver,badge:s,badgeStatus:u,badgeTooltip:c,label:a,labelStatus:f},this.isOpenedAnnotation(n)&&e("div",{slot:"annotations"},e("dso-annotation-locatie",{active:this.isCheckedSlideToggle(n),"gewijzigde-locatie":!0,locatieNoemer:"Winkelgebied",onDsoActiveChange:()=>this.handleSelectableChange(n)},e("span",{class:"symboolcode",slot:"symbool","data-symboolcode":"vszt030"}))),this.showContent(n)&&i?.documentComponents.length&&e("ul",{class:"dso-document-component-list"},i.documentComponents.map((n=>e("li",{key:n.documentTechnischId},e(r,{path:[...t,n]}))))))},this.MenuButton=({documentComponent:t})=>{const{type:n}=t;return e("button",{type:"button",onClick:()=>this.document=t},e("span",null,e("i",null,n)))}}async jsonFileWatcher(){this.openOrClosed=[],await this.loadData()}async openDefaultWatcher(){this.openOrClosed=[],await this.loadData()}async componentDidLoad(){await this.loadData()}getEmbeddedDocumentComponents(t){return t?._embedded?.ontwerpDocumentComponenten?{documentComponents:t._embedded.ontwerpDocumentComponenten,ontwerp:!0}:t?._embedded?.documentComponenten?{documentComponents:t._embedded.documentComponenten,ontwerp:!1}:void 0}concatEmbeddedDocumentComponents(t){const n=[...this.getEmbeddedDocumentComponents(t)?.documentComponents??[]];for(const t of n)n.push(...this.concatEmbeddedDocumentComponents(t));return n}selectRandomDocumentComponents(t,n=[]){const e=this.concatEmbeddedDocumentComponents(t).filter((t=>!n.includes(t))),o=f(0,Math.floor(e.length/10));return h(e,o)}async loadData(){if(!this.jsonFile)return this.response=void 0,void(this.document=void 0);this.response=await fetch(this.jsonFile).then((t=>t.json())),this.document=this.getEmbeddedDocumentComponents(this.response)?.documentComponents[0],"LICHAAM"===this.document?.type?(this.notApplicable=this.selectRandomDocumentComponents(this.document),this.filtered=this.selectRandomDocumentComponents(this.document,this.notApplicable)):(this.notApplicable=[],this.filtered=[])}handleOpenToggle(t,n){const e="boolean"==typeof n?n:this.openOrClosed.includes(t);e&&this.openOrClosed.includes(t)?this.openOrClosed=this.openOrClosed.filter((n=>n!==t)):e||this.openOrClosed.includes(t)||(this.openOrClosed=[...this.openOrClosed,t])}handleAnnotationToggle(t,n){this.openedAnnotation=this.isOpenedAnnotation(t)&&!n.next?this.openedAnnotation.filter((n=>n!==t)):[...this.openedAnnotation,t],this.isOpen(t)||(this.openOrClosed=[...this.openOrClosed,t])}handleSelectableChange(t){this.activeAnnotationSelectables=this.isCheckedSlideToggle(t)?this.activeAnnotationSelectables.filter((n=>n!==t)):[...this.activeAnnotationSelectables,t]}handleOzonContentClick(t){this.dsotOzonContentClick.emit(t.detail)}handleTableOfContentsClick(t){this.dsotTableOfContentsClick.emit(t.detail)}isCheckedSlideToggle(t){return this.activeAnnotationSelectables.includes(t)}hasFilteredChildren(t){return this.filtered.includes(t)||(this.getEmbeddedDocumentComponents(t)?.documentComponents.some((t=>this.hasFilteredChildren(t)))??!1)}isOpen(t){return"LID"===t.type||this.openDefault?!this.openOrClosed.includes(t):this.openOrClosed.includes(t)}isOpenedAnnotation(t){return this.openedAnnotation.includes(t)}isFiltered(t){return this.filtered.includes(t)}isNotApplicable(t){return this.notApplicable.includes(t)}hasNestedDraft(t){return this.getEmbeddedDocumentComponents(t)?.documentComponents.some((t=>!!t.bevatOntwerpInformatie||this.hasNestedDraft(t)))??!1}showContent(t){return this.isOpen(t)&&!(!this.getEmbeddedDocumentComponents(t)?.documentComponents.length&&!t.inhoud)}recursiveToggleState(t){const n=this.getEmbeddedDocumentComponents(t);if(n&&!(n.documentComponents.length<=1)&&n.documentComponents.some((t=>"ARTIKEL"===t.type)))return n.documentComponents.every((t=>this.isOpen(t)))}isAnnotated(t){return"DIVISIE"===t.type||"DIVISIETEKST"===t.type||"ARTIKEL"===t.type||"LID"===t.type}render(){const{DocumentComponent:t,MenuButton:n}=this;return e("dso-responsive-element",{key:"d1937ffbb63cdc56a53879d54060786eaaa8fb17",class:"dso-document-components"},e("div",{key:"83911e6a6d08925bddcab009736a8fd6d6ef4810",class:"dso-navbar"},e("ul",{key:"e5cc14968a0f91ba52cc466eb45224a5e1229a2e",class:"dso-nav dso-nav-sub"},this.getEmbeddedDocumentComponents(this.response)?.documentComponents?.map((t=>e("li",{class:this.document===t?"dso-active":void 0},e(n,{documentComponent:t})))))),this.document&&e(t,{key:"82f1e4a26dcf02c40b08c46dc03bbb4aa4c99d7a",path:[this.document]}))}static get watchers(){return{jsonFile:[{jsonFileWatcher:0}],openDefault:[{openDefaultWatcher:0}]}}};d.style=".sc-dsot-document-component-demo-h{display:block;margin-block:0;margin-inline:8px;border-inline-start:1px dashed transparent;border-inline-end:1px dashed transparent}[show-canvas].sc-dsot-document-component-demo-h{border-inline-start:1px dashed pink;border-inline-end:1px dashed pink}";export{d as dsot_document_component_demo}
|
|
1
|
+
import{r as t,d as n,h as e,F as o}from"./p-BIfnbekk.js";import{g as r,c as i}from"./p-BFTU3MAI.js";var s,u,c,a,f=r(function(){if(u)return s;u=1;var t=1/0,n=9007199254740991,e=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,i=/^0o[0-7]+$/i,c=/^(?:0|[1-9]\d*)$/,a=parseFloat,f=parseInt,h=Object.prototype.toString,d=Math.floor,l=Math.min,p=Math.random;function b(t){var n=typeof t;return!!t&&("object"==n||"function"==n)}function v(n){return n?(n=function(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==h.call(t)}(t))return NaN;if(b(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=b(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(e,"");var s=r.test(t);return s||i.test(t)?f(t.slice(2),s?2:8):o.test(t)?NaN:+t}(n))===t||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}return s=function(t,e,o){if(o&&"boolean"!=typeof o&&function(t,e,o){if(!b(o))return!1;var r=typeof e;return!!("number"==r?function(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}(t.length)&&!function(t){var n=b(t)?h.call(t):"";return"[object Function]"==n||"[object GeneratorFunction]"==n}(t)}(o)&&function(t,e){return!!(e=null==e?n:e)&&("number"==typeof t||c.test(t))&&t>-1&&t%1==0&&t<e}(e,o.length):"string"==r&&e in o)&&function(t,n){return t===n||t!=t&&n!=n}(o[e],t)}(t,e,o)&&(e=o=void 0),void 0===o&&("boolean"==typeof e?(o=e,e=void 0):"boolean"==typeof t&&(o=t,t=void 0)),void 0===t&&void 0===e?(t=0,e=1):(t=v(t),void 0===e?(e=t,t=0):e=v(e)),t>e){var r=t;t=e,e=r}if(o||t%1||e%1){var i=p();return l(t+i*(e-t+a("1e-"+((i+"").length-1))),e)}return function(t,n){return t+d(p()*(n-t+1))}(t,e)}}()),h=r(function(){if(a)return c;a=1;var t=1/0,n=9007199254740991,e="[object Map]",o="[object Promise]",r="[object Set]",s="[object WeakMap]",u="[object DataView]",f=/^\s+|\s+$/g,h=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,l=/^\[object .+?Constructor\]$/,p=/^0o[0-7]+$/i,b=/^(?:0|[1-9]\d*)$/,v="\\ud800-\\udfff",m="\\u0300-\\u036f\\ufe20-\\ufe23",y="\\u20d0-\\u20f0",g="\\ufe0e\\ufe0f",j="["+v+"]",C="["+m+y+"]",D="\\ud83c[\\udffb-\\udfff]",w="[^"+v+"]",k="(?:\\ud83c[\\udde6-\\uddff]){2}",A="[\\ud800-\\udbff][\\udc00-\\udfff]",O="\\u200d",T="(?:"+C+"|"+D+")?",I="["+g+"]?",$=I+T+"(?:"+O+"(?:"+[w,k,A].join("|")+")"+I+T+")*",S="(?:"+[w+C+"?",C,k,A,j].join("|")+")",F=RegExp(D+"(?="+D+")|"+S+$,"g"),M=RegExp("["+O+v+m+y+g+"]"),x=parseInt,E="object"==typeof self&&self&&self.Object===Object&&self,N="object"==typeof i&&i&&i.Object===Object&&i||E||Function("return this")();function z(t){var n=-1,e=Array(t.size);return t.forEach((function(t,o){e[++n]=[o,t]})),e}function R(t){var n=-1,e=Array(t.size);return t.forEach((function(t){e[++n]=t})),e}var B,L,W,V=Function.prototype,_=Object.prototype,K=N["__core-js_shared__"],P=(B=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||""))?"Symbol(src)_1."+B:"",G=V.toString,U=_.hasOwnProperty,H=_.toString,q=RegExp("^"+G.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),J=N.Symbol,Q=J?J.iterator:void 0,X=_.propertyIsEnumerable,Y=Math.floor,Z=(L=Object.keys,W=Object,function(t){return L(W(t))}),tt=Math.random,nt=dt(N,"DataView"),et=dt(N,"Map"),ot=dt(N,"Promise"),rt=dt(N,"Set"),it=dt(N,"WeakMap"),st=bt(nt),ut=bt(et),ct=bt(ot),at=bt(rt),ft=bt(it);function ht(t,n){return t+Y(tt()*(n-t+1))}function dt(t,n){var e=function(t,n){return null==t?void 0:t[n]}(t,n);return function(t){if(!gt(t)||function(t){return!!P&&P in t}(t))return!1;var n=yt(t)||function(t){var n=!1;if(null!=t&&"function"!=typeof t.toString)try{n=!!(t+"")}catch(t){}return n}(t)?q:l;return n.test(bt(t))}(e)?e:void 0}var lt=function(t){return H.call(t)};function pt(t,e){return!!(e=null==e?n:e)&&("number"==typeof t||b.test(t))&&t>-1&&t%1==0&&t<e}function bt(t){if(null!=t){try{return G.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(nt&<(new nt(new ArrayBuffer(1)))!=u||et&<(new et)!=e||ot&<(ot.resolve())!=o||rt&<(new rt)!=r||it&<(new it)!=s)&&(lt=function(t){var n=H.call(t),i="[object Object]"==n?t.constructor:void 0,c=i?bt(i):void 0;if(c)switch(c){case st:return u;case ut:return e;case ct:return o;case at:return r;case ft:return s}return n});var vt=Array.isArray;function mt(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}(t.length)&&!yt(t)}function yt(t){var n=gt(t)?H.call(t):"";return"[object Function]"==n||"[object GeneratorFunction]"==n}function gt(t){var n=typeof t;return!!t&&("object"==n||"function"==n)}function jt(t){return!!t&&"object"==typeof t}function Ct(t){return t?function(t,n){return function(n){for(var e=-1,o=n?n.length:0,r=Array(o);++e<o;)r[e]=t[n[e]];return r}(n)}(t,function(t){return mt(t)?function(t){var n=vt(t)||function(t){return function(t){return jt(t)&&mt(t)}(t)&&U.call(t,"callee")&&(!X.call(t,"callee")||"[object Arguments]"==H.call(t))}(t)?function(t,n){for(var e=-1,o=Array(t);++e<t;)o[e]=n(e);return o}(t.length,String):[],e=n.length,o=!!e;for(var r in t)!U.call(t,r)||o&&("length"==r||pt(r,e))||n.push(r);return n}(t):function(t){if((n=t)!==("function"==typeof(e=n&&n.constructor)&&e.prototype||_))return Z(t);var n,e,o=[];for(var r in Object(t))U.call(t,r)&&"constructor"!=r&&o.push(r);return o}(t)}(t)):[]}return c=function(n,o,i){var s,u,c=-1,a=function(t){if(!t)return[];if(mt(t))return function(t){return"string"==typeof t||!vt(t)&&jt(t)&&"[object String]"==H.call(t)}(t)?function(t){return M.test(t)}(n=t)?function(t){return t.match(F)||[]}(n):function(t){return t.split("")}(n):function(t,n){var e=-1,o=t.length;for(n||(n=Array(o));++e<o;)n[e]=t[e];return n}(t);var n;if(Q&&t[Q])return function(t){for(var n,e=[];!(n=t.next()).done;)e.push(n.value);return e}(t[Q]());var o=lt(t);return(o==e?z:o==r?R:Ct)(t)}(n),l=a.length,b=l-1;for((i?function(t,n,e){if(!gt(e))return!1;var o=typeof n;return!!("number"==o?mt(e)&&pt(n,e.length):"string"==o&&n in e)&&function(t,n){return t===n||t!=t&&n!=n}(e[n],t)}(n,o,i):void 0===o)?o=1:(s=function(n){var e=function(n){return n?(n=function(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||jt(t)&&"[object Symbol]"==H.call(t)}(t))return NaN;if(gt(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=gt(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(f,"");var e=d.test(t);return e||p.test(t)?x(t.slice(2),e?2:8):h.test(t)?NaN:+t}(n))===t||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}(n),o=e%1;return e==e?o?e-o:e:0}(o),u=l,s==s&&(void 0!==u&&(s=s<=u?s:u),s=s>=0?s:0),o=s);++c<o;){var v=ht(c,b),m=a[v];a[v]=a[c],a[c]=m}return a.length=o,a}}());const d=class{constructor(r){t(this,r),this.dsotOzonContentClick=n(this,"dsotOzonContentClick",7),this.dsotTableOfContentsClick=n(this,"dsotTableOfContentsClick",3),this.showCanvas=!1,this.showBesluitversie=!1,this.openDefault=!1,this.mode="document",this.openOrClosed=[],this.openedAnnotation=[],this.filtered=[],this.notApplicable=[],this.activeAnnotationSelectables=[],this.handleRecursiveToggle=(t,n)=>{const e=this.getEmbeddedDocumentComponents(t);if(e)for(const t of e.documentComponents)this.handleOpenToggle(t,n.next)},this.DocumentComponent=({path:t})=>{const n=t.at(-1);if(!n||"table-of-contents"===this.mode&&"LID"===n.type)return e(o,null);const{DocumentComponent:r}=this,i=this.getEmbeddedDocumentComponents(n);let s,u,c,a,f;return this.hasNestedDraft(n)&&(this.showBesluitversie?(s="B",u="primary",c="Dit is een besluitversie."):(s="!",u="warning",c="Er zijn onderliggende onderdelen die veranderen binnen dit ontwerp.")),n.bevatOntwerpInformatie&&(this.showBesluitversie?(a="Besluitversie",f="primary"):(a="Ontwerp",f="warning")),e("dso-document-component",{annotated:this.isAnnotated(n),filtered:this.isOpen(n)?this.isFiltered(n):this.hasFilteredChildren(n),gereserveerd:n.gereserveerd,heading:"h2",kop:n.kop,inhoud:n.inhoud,openAnnotation:this.isOpenedAnnotation(n),notApplicable:this.isNotApplicable(n)||t.some((t=>this.isNotApplicable(t))),onDsoAnnotationToggle:t=>this.handleAnnotationToggle(n,t.detail),onDsoOpenToggle:()=>this.handleOpenToggle(n),open:this.isOpen(n),type:n.type,vervallen:n.vervallen,wijzigactie:n.wijzigactie,recursiveToggle:this.recursiveToggleState(n),onDsoRecursiveToggle:t=>this.handleRecursiveToggle(n,t.detail),mode:this.mode,href:"table-of-contents"===this.mode?"/document/"+n.documentTechnischId:void 0,onDsoTableOfContentsClick:t=>this.handleTableOfContentsClick(t),onDsoOzonContentClick:t=>this.handleOzonContentClick(t),ozonContentUrlResolver:this.ozonContentUrlResolver,ozonContentBegripResolver:this.ozonContentBegripResolver,badge:s,badgeStatus:u,badgeTooltip:c,label:a,labelStatus:f},this.isOpenedAnnotation(n)&&e("div",{slot:"annotations"},e("dso-annotation-locatie",{active:this.isCheckedSlideToggle(n),"gewijzigde-locatie":!0,locatieNoemer:"Winkelgebied",onDsoActiveChange:()=>this.handleSelectableChange(n)},e("span",{class:"symboolcode",slot:"symbool","data-symboolcode":"vszt030"}))),this.showContent(n)&&i?.documentComponents.length&&e("ul",{class:"dso-document-component-list"},i.documentComponents.map((n=>e("li",{key:n.documentTechnischId},e(r,{path:[...t,n]}))))))},this.MenuButton=({documentComponent:t})=>{const{type:n}=t;return e("button",{type:"button",onClick:()=>this.document=t},e("span",null,e("i",null,n)))}}async jsonFileWatcher(){this.openOrClosed=[],await this.loadData()}async openDefaultWatcher(){this.openOrClosed=[],await this.loadData()}async componentDidLoad(){await this.loadData()}getEmbeddedDocumentComponents(t){return t?._embedded?.ontwerpDocumentComponenten?{documentComponents:t._embedded.ontwerpDocumentComponenten,ontwerp:!0}:t?._embedded?.documentComponenten?{documentComponents:t._embedded.documentComponenten,ontwerp:!1}:void 0}concatEmbeddedDocumentComponents(t){const n=[...this.getEmbeddedDocumentComponents(t)?.documentComponents??[]];for(const t of n)n.push(...this.concatEmbeddedDocumentComponents(t));return n}selectRandomDocumentComponents(t,n=[]){const e=this.concatEmbeddedDocumentComponents(t).filter((t=>!n.includes(t))),o=f(0,Math.floor(e.length/10));return h(e,o)}async loadData(){if(!this.jsonFile)return this.response=void 0,void(this.document=void 0);this.response=await fetch(this.jsonFile).then((t=>t.json())),this.document=this.getEmbeddedDocumentComponents(this.response)?.documentComponents[0],"LICHAAM"===this.document?.type?(this.notApplicable=this.selectRandomDocumentComponents(this.document),this.filtered=this.selectRandomDocumentComponents(this.document,this.notApplicable)):(this.notApplicable=[],this.filtered=[])}handleOpenToggle(t,n){const e="boolean"==typeof n?n:this.openOrClosed.includes(t);e&&this.openOrClosed.includes(t)?this.openOrClosed=this.openOrClosed.filter((n=>n!==t)):e||this.openOrClosed.includes(t)||(this.openOrClosed=[...this.openOrClosed,t])}handleAnnotationToggle(t,n){this.openedAnnotation=this.isOpenedAnnotation(t)&&!n.next?this.openedAnnotation.filter((n=>n!==t)):[...this.openedAnnotation,t],this.isOpen(t)||(this.openOrClosed=[...this.openOrClosed,t])}handleSelectableChange(t){this.activeAnnotationSelectables=this.isCheckedSlideToggle(t)?this.activeAnnotationSelectables.filter((n=>n!==t)):[...this.activeAnnotationSelectables,t]}handleOzonContentClick(t){this.dsotOzonContentClick.emit(t.detail)}handleTableOfContentsClick(t){this.dsotTableOfContentsClick.emit(t.detail)}isCheckedSlideToggle(t){return this.activeAnnotationSelectables.includes(t)}hasFilteredChildren(t){return this.filtered.includes(t)||(this.getEmbeddedDocumentComponents(t)?.documentComponents.some((t=>this.hasFilteredChildren(t)))??!1)}isOpen(t){return"LID"===t.type||this.openDefault?!this.openOrClosed.includes(t):this.openOrClosed.includes(t)}isOpenedAnnotation(t){return this.openedAnnotation.includes(t)}isFiltered(t){return this.filtered.includes(t)}isNotApplicable(t){return this.notApplicable.includes(t)}hasNestedDraft(t){return this.getEmbeddedDocumentComponents(t)?.documentComponents.some((t=>!!t.bevatOntwerpInformatie||this.hasNestedDraft(t)))??!1}showContent(t){return this.isOpen(t)&&!(!this.getEmbeddedDocumentComponents(t)?.documentComponents.length&&!t.inhoud)}recursiveToggleState(t){const n=this.getEmbeddedDocumentComponents(t);if(n&&!(n.documentComponents.length<=1)&&n.documentComponents.some((t=>"ARTIKEL"===t.type)))return n.documentComponents.every((t=>this.isOpen(t)))}isAnnotated(t){return"DIVISIE"===t.type||"DIVISIETEKST"===t.type||"ARTIKEL"===t.type||"LID"===t.type}render(){const{DocumentComponent:t,MenuButton:n}=this;return e("dso-responsive-element",{key:"d1937ffbb63cdc56a53879d54060786eaaa8fb17",class:"dso-document-components"},e("div",{key:"83911e6a6d08925bddcab009736a8fd6d6ef4810",class:"dso-navbar"},e("ul",{key:"e5cc14968a0f91ba52cc466eb45224a5e1229a2e",class:"dso-nav dso-nav-sub"},this.getEmbeddedDocumentComponents(this.response)?.documentComponents?.map((t=>e("li",{class:this.document===t?"dso-active":void 0},e(n,{documentComponent:t})))))),this.document&&e(t,{key:"82f1e4a26dcf02c40b08c46dc03bbb4aa4c99d7a",path:[this.document]}))}static get watchers(){return{jsonFile:[{jsonFileWatcher:0}],openDefault:[{openDefaultWatcher:0}]}}};d.style=".sc-dsot-document-component-demo-h{display:block;margin-block:0;margin-inline:8px;border-inline-start:1px dashed transparent;border-inline-end:1px dashed transparent}[show-canvas].sc-dsot-document-component-demo-h{border-inline-start:1px dashed pink;border-inline-end:1px dashed pink}";export{d as dsot_document_component_demo}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,d as t,h as i,a as s,g as
|
|
1
|
+
import{r as e,d as t,h as i,a as s,g as a}from"./p-BIfnbekk.js";import{i as n}from"./p-ULwgxD7S.js";const o={en:{"dso-legend-group":{edit:"Edit layers",view:"Leave editmode"}},nl:{"dso-legend-group":{edit:"Kaartlagen bewerken",view:"Bewerken verlaten"}}},d=class{constructor(i){e(this,i),this.dsoLegendGroupModeChange=t(this,"dsoLegendGroupModeChange",3),this.text=n((()=>this.host),o),this.toggleMode=e=>{this.dsoLegendGroupModeChange.emit({originalEvent:e.detail.originalEvent,next:"view"===this.mode?"edit":"view"})}}handleModeChange(){if(this.mode){const e=this.mode;this.legendItems.forEach((t=>{t._mode=e}))}}get legendItems(){return Array.from(this.host.querySelectorAll("dso-legend-item"))}connectedCallback(){this.mutationObserver=new MutationObserver((()=>{this.handleModeChange()})),this.mutationObserver.observe(this.host,{childList:!0}),this.handleModeChange()}disconnectedCallback(){this.mutationObserver?.disconnect(),delete this.mutationObserver}render(){return i(s,{key:"c6e180da9999c7bfd387a473a1674f2d386009af"},i("div",{key:"2731a49164e33a60c0c609977c6d2b31ec9275df",class:"legend-group-header"},i("slot",{key:"c8b2d7800b83ade97c1a745753d826b87a7fa059",name:"heading"}),this.mode&&i("dso-icon-button",{key:"f5c2a257ae4110ce3661b52fff0256295c59ba9c",label:this.text("view"===this.mode?"edit":"view"),icon:"view"===this.mode?"pencil":"check",variant:"tertiary",onDsoClick:this.toggleMode})),"edit"===this.mode&&i("slot",{key:"c71154bbe1eb5f7e8c5d29f86c5f65381204da53",name:"options"}),i("slot",{key:"7aa06e0de52ba30a547f964270c9bfb3d9c817f9"}))}get host(){return a(this)}static get watchers(){return{mode:[{handleModeChange:0}]}}};d.style=":host{display:block}*,*::after,*::before{box-sizing:border-box}.legend-group-header{position:relative}.legend-group-header ::slotted(h3){margin-block:8px !important;padding-block:4px !important}.legend-group-header dso-icon-button{position:absolute;inset-block-start:0;inset-inline-end:0}";export{d as dso_legend_group}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,d as a,f as o,h as n,a as i,g as r}from"./p-
|
|
1
|
+
import{r as e,d as a,f as o,h as n,a as i,g as r}from"./p-BIfnbekk.js";import{i as t}from"./p-Hgv-pDpy.js";const d=class{constructor(o){e(this,o),this.dsoCardClick=a(this,"dsoCardClick",7)}connectedCallback(){this.mutationObserver=new MutationObserver((()=>o(this.host))),this.mutationObserver.observe(this.host,{attributes:!0,childList:!0})}disconnectedCallback(){this.mutationObserver?.disconnect(),delete this.mutationObserver}clickEventHandler(e){if(e.target instanceof HTMLElement&&this.href)return this.dsoCardClick.emit({originalEvent:e,isModifiedEvent:t(e)})}get selectableSlottedElement(){return this.host.querySelector("[slot='selectable']")}get interactionsSlottedElement(){return this.host.querySelector("[slot='interactions']")}render(){const e=null!==this.selectableSlottedElement;return n(i,{key:"4054a302510ad07362d9089c942e58995baa99be","is-selectable":e},n("div",{key:"6bc8237ad90d02bfe4b3f051c616ce1fa5c2e93e",class:"dso-card-container"},n("div",{key:"655658b4979420b339e0acd1e25d799b36ab8d33",class:"dso-card-selectable",hidden:!e},n("slot",{key:"441362e9baa84ea7366fd1eeda03bb694c3af304",name:"selectable"})),n("div",{key:"b38fc0c9bbbb2fa228936039b6a4897ac1c27ad2",class:"dso-card-heading"},"extern"===this.mode&&n("a",{key:"df8998e9b31aa38b61595cd49012b8f3ff51464e",href:this.href,class:"heading-anchor",target:"_blank",rel:"noopener noreferrer",onClick:e=>this.clickEventHandler(e)},n("slot",{key:"b4685d2a490ed81e6eb7082a537a28fbae4d6072",name:"heading"}),n("dso-icon",{key:"eb741b5b1d283c333e06ae0c87eb501aacb741b5",icon:"external-link"}),n("span",{key:"6f88b705b3967c9dd6b03419b6f18a7b1e77dc15",class:"sr-only"},"(Opent andere website in nieuw tabblad)"))||"download"===this.mode&&n("a",{key:"e0cf75a7c96ded19a96d96f4451c973336a1a507",href:this.href,class:"heading-anchor",onClick:e=>this.clickEventHandler(e)},n("slot",{key:"c33e908eedae868f081bff313f0981449852de12",name:"heading"}),n("dso-icon",{key:"ff774bc81320ea2f532f816de3a14c35899fb3ac",icon:"download"}))||n("a",{key:"e0160cd81ad54b2665e5c87b49769aa8cf31fcfd",href:this.href,class:"heading-anchor",onClick:e=>this.clickEventHandler(e)},n("slot",{key:"48dff93e79734127e2e578c1b8d28c2c6bf67085",name:"heading"}),n("dso-icon",{key:"89d2c5f135e95204702b1b76725c694da3e3ba8b",icon:"chevron-right"})),null!==this.interactionsSlottedElement&&n("slot",{key:"177b551119e7b08ed23d501199d1ec57a60e6a95",name:"interactions"})),n("div",{key:"11a6c27534df33821844c9ff6ea602517f1602b0",class:"dso-card-content"},n("slot",{key:"0145480ad4b5b50a80dcaa6c816e7cab3784d06f",name:"content"}))))}get host(){return r(this)}};d.style='a{background-color:transparent;color:var(--link-color);text-decoration:underline;text-underline-offset:15%}a:hover,a:focus-visible{color:var(--link-hover-color);text-decoration:underline}a:active{text-decoration:none}a .sr-only+dso-icon{margin-inline-start:0}a:visited{color:var(--link-visited-color)}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download{background-repeat:no-repeat;background-size:1.5em 1.5em;padding-inline-end:var(--_dso-link-icon-padding-inline-end, 1.5em);background-position:bottom -3px right 0;background-image:var(--_dso-di-background-image, url("./di.svg#download"))}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).download:focus-visible{background-image:var(--_dso-di-background-image, url("./di.svg#download-scampi"))}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).extern{background-repeat:no-repeat;background-size:1.5em 1.5em;padding-inline-end:var(--_dso-link-icon-padding-inline-end, 1.5em);background-position:bottom -3px right 0;background-image:var(--_dso-di-background-image, url("./di.svg#external-link"))}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).extern:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary)).extern:focus-visible{background-image:var(--_dso-di-background-image, url("./di.svg#external-link-scampi"))}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^="tel:"]{background-repeat:no-repeat;background-size:1.5em 1.5em;padding-inline-start:var(--_dso-link-icon-padding-inline-start, 1.5em);background-position:bottom -3px left 0;background-image:var(--_dso-di-background-image, url("./di.svg#call-grasgroen"))}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^="tel:"]:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^="tel:"]:focus-visible{background-image:var(--_dso-di-background-image, url("./di.svg#call-scampi"))}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^="mailto:"]{background-repeat:no-repeat;background-size:1.5em 1.5em;padding-inline-start:var(--_dso-link-icon-padding-inline-start, 1.5em);background-position:bottom -3px left 0;background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-grasgroen"))}a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^="mailto:"]:hover,a:where(:not(.dso-primary,.dso-secondary,.dso-tertiary))[href^="mailto:"]:focus-visible{background-image:var(--_dso-di-background-image, url("./di.svg#mail-outline-scampi"))}*,*::after,*::before{box-sizing:border-box}:host{display:block}:host([is-selectable]:not([is-selectable=false])) .dso-card-container{display:grid;grid-template-columns:1fr minmax(0, 100%)}:host([is-selectable]:not([is-selectable=false])) .dso-card-container .dso-card-heading,:host([is-selectable]:not([is-selectable=false])) .dso-card-container .dso-card-content{grid-column:2/-1}:host([is-selectable]:not([is-selectable=false])) .dso-card-container .dso-card-selectable{grid-row:span 2;margin-inline-end:8px}:host([active]:not([active=false])) .dso-card-container{background-color:#e5e5e5}.dso-card-container{padding-block:16px;padding-inline:16px;inline-size:100%;block-size:100%}.dso-card-container:has(.dso-card-heading a:is(:hover,:focus-visible)){background-color:#f2f2f2}.dso-card-container .dso-card-heading{align-items:center;display:flex}@media screen and (max-width: 480px){.dso-card-container .dso-card-heading{flex-wrap:wrap}}.dso-card-container .dso-card-heading+.dso-card-content{margin-block-start:8px}.heading-anchor{display:flex;gap:4px;color:#275937;text-decoration:none}.heading-anchor:hover{color:#275937;text-decoration:underline}.heading-anchor:visited{color:#275937}.heading-anchor dso-icon{flex-shrink:0}.heading-anchor .sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;border:0;overflow:hidden;clip-path:rect(0 0 0 0)}::slotted([slot=selectable]){font-size:0 !important;--_dt-selectable-padding-inline-start:24px;--_dt-selectable-input-wrapper-margin-inline-start:-24px;--_dt-selectable-input-wrapper-padding-inline-start:24px}::slotted([slot=heading]){display:flex !important;align-items:center !important;margin-block-end:0 !important;margin-block-start:0 !important;font-size:1.125em !important;font-weight:700 !important;color:#275937 !important;line-height:1.25 !important}::slotted([slot=content]){--_dt-rich-content-margin-block:8px;--_dt-rich-content-margin-block-end:0;--_dt-rich-content-margin-block-start:0}::slotted([slot=interactions]){display:flex !important;justify-content:space-between !important;margin-inline-start:auto !important}@media screen and (max-width: 480px){::slotted([slot=interactions]){flex-basis:100% !important;margin-block-start:16px !important}}';export{d as dso_card}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as a,f as o}from"./p-
|
|
1
|
+
import{h as a,f as o}from"./p-BIfnbekk.js";const s=()=>a("dso-label",{class:"gewijzigde-locatie",status:"warning",compact:!0},"gewijzigde locatie"),t=()=>a("slot",{name:"symbool"}),e=new WeakMap;function l(a){return{watch(){let s=e.get(a);s||(s=new MutationObserver((()=>o(a))),e.set(a,s)),s.observe(a,{childList:!0})},hasSymbool:()=>null!==a.querySelector("[slot=symbool]"),unwatch(){const o=e.get(a);o&&(o.disconnect(),e.delete(a))}}}export{s as A,t as a,l as w}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const t="dso-toolkit",e={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,constructableCSS:!0,cssAnnotations:!0,deserializer:!1,devTools:!1,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!0,hostListenerTargetParent:!1,hostListenerTargetWindow:!0,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propChangeCallback:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!0,scopedSlotTextContentFix:!1,scriptDataOpts:!1,serializer:!1,shadowDelegatesFocus:!1,shadowDom:!0,shadowSlotAssignmentManual:!1,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0};var n={isDev:!!e.isDev,isBrowser:!0,isServer:!1,isTesting:!!e.isTesting},o=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(o||{}),s=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(s||{}),r="type",i="value",l="serialized:";function c(t,e,n){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,e);if(o&&(!n||o.get))return o;t=Object.getPrototypeOf(t)}}var a,u,f=(t,n)=>{var o;Object.entries(null!=(o=n.o.t)?o:{}).map((([o,[s]])=>{if((e.state||e.prop)&&(31&s||32&s)){const e=t[o],s=c(Object.getPrototypeOf(t),o,!0)||Object.getOwnPropertyDescriptor(t,o);s&&Object.defineProperty(t,o,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),n.i.has(o)?t[o]=n.i.get(o):void 0!==e&&(t[o]=e)}}))},d=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},h=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.l=t,512&n.o.u&&(e.state||e.prop)&&f(t,n))},p=(t,n)=>{const o={u:0,$hostElement$:t,o:n,i:new Map,p:new Map};e.isDev&&(o.m=0),e.method&&e.lazyLoad&&(o.v=new Promise((t=>o.$=t))),e.asyncLoading&&(o.S=new Promise((t=>o.j=t)),t["s-p"]=[],t["s-rc"]=[]),e.lazyLoad&&(o.O=[]);const s=o;return t.__stencil__getHostRef=()=>s,!e.lazyLoad&&512&n.u&&(e.state||e.prop)&&f(t,o),s},m=(t,e)=>e in t,v=(t,e)=>(a||console.error)(t,e),g=e.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],$=(...t)=>console.error(...g,...t),b=(...t)=>console.warn(...g,...t),y=(...t)=>console.info(...g,...t),S=new Map,w=(t,n,o)=>{const s=t.C.replace(/-/g,"_"),r=t._;if(e.isDev&&"string"!=typeof r)return void $(`Trying to lazily load component <${t.C}> with style mode "${n.N}", but it does not exist.`);if(!r)return;const i=!e.hotModuleReplacement&&S.get(r);return i?i[s]:import(`./${r}.entry.js${e.hotModuleReplacement&&o?"?s-hmr="+o:""}`).then((t=>(e.hotModuleReplacement||S.set(r,t),t[s])),(t=>{v(t,n.$hostElement$)}))
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},j=new Map,x=[],O="s-id",C="sty-id",_="c-id",E="_stencilDocData",N={hostIds:0,rootLevelIds:0,staticComponents:new Set},k="slot-fb{display:contents}slot-fb[hidden]{display:none}",T="http://www.w3.org/1999/xlink",L=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],R="undefined"!=typeof window?window:{},M=R.HTMLElement||class{},A={u:0,k:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},D=e.shadowDom,I=t=>Promise.resolve(t),H=!!e.constructableCSS&&(()=>{try{return!!R.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),F=!!H&&(()=>!!R.document&&Object.getOwnPropertyDescriptor(R.document.adoptedStyleSheets,"length").writable)(),P=0,U=!1,B=[],z=[],V=[],W=(t,e)=>n=>{t.push(n),U||(U=!0,e&&4&A.u?q(X):A.raf(X))},Y=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){v(t)}t.length=0},J=(t,e)=>{let n=0,o=0;for(;n<t.length&&(o=performance.now())<e;)try{t[n++](o)}catch(t){v(t)}n===t.length?t.length=0:0!==n&&t.splice(0,n)},X=()=>{if(e.asyncQueue&&P++,Y(B),e.asyncQueue){const t=2==(6&A.u)?performance.now()+14*Math.ceil(.1*P):1/0;J(z,t),J(V,t),z.length>0&&(V.push(...z),z.length=0),(U=B.length+z.length+V.length>0)?A.raf(X):P=0}else Y(z),(U=B.length>0)&&A.raf(X)},q=t=>I().then(t),K=W(B,!1),Q=W(z,!0);function G(t){const n={mode:"open"};e.shadowDelegatesFocus&&(n.delegatesFocus=!!(16&t.u)),e.shadowSlotAssignmentManual&&1024&t.u&&(n.slotAssignment="manual");const o=this.attachShadow(n);void 0===u&&(u=null),u&&(F?o.adoptedStyleSheets.push(u):o.adoptedStyleSheets=[...o.adoptedStyleSheets,u])}var Z=t=>{const e=kt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&et(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!nt(t,rt(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&kt(t,"childNodes").length&&Z(t)}},tt=t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e};function et(t,e,n){let o,s=0,r=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!e||o["s-hn"]===e)&&(void 0===n||rt(o)===n)&&(r.push(o),void 0!==n))return r;r=[...r,...et(o.childNodes,e,n)]}return r}var nt=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)rt(s)!==e||!n&&s["s-sr"]||o.push(s);return o},ot=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,st=(t,n,o,s)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const r=document.createTextNode("");if(r["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const i=n["s-cr"].parentNode,l=kt(i,o?"prepend":"appendChild");if(e.hydrateClientSide&&void 0!==s){r["s-oo"]=s;const t=kt(i,"childNodes"),e=[r];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>l.call(i,t)))}else l.call(i,r);t["s-ol"]=r,t["s-sh"]=n["s-hn"]},rt=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function it(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],o=this["s-sn"];(null==t?void 0:t.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:tt(s.childNodes)).forEach((t=>{o===rt(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function lt(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function ct(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=rt(t)||"";return{slotNode:et(kt(e,"childNodes"),e.tagName,o)[0],slotName:o}}var at=t=>{ut(t),ft(t),pt(t),ht(t),$t(t),mt(t),vt(t),gt(t),bt(t),yt(t),dt(t)},ut=t=>{if(t.__cloneNode)return;const n=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const o=!!e.shadowDom&&this.shadowRoot&&D,s=n.call(this,!!o&&t);if(e.slot&&!o&&t){let t,n,o=0;const r=["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"],i=this.__childNodes||this.childNodes;for(;o<i.length;o++)t=i[o]["s-nr"],n=r.every((t=>!i[o][t])),t&&(e.appendChildSlotFix&&s.__appendChild?s.__appendChild(t.cloneNode(!0)):s.appendChild(t.cloneNode(!0))),n&&s.appendChild(i[o].cloneNode(!0))}return s}},ft=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=ct(t,this);if(n){st(t,n);const o=nt(n,e),s=o[o.length-1],r=kt(s,"parentNode"),i=kt(r,"insertBefore")(t,s.nextSibling);return lt(n),Z(this),i}return this.__appendChild(t)})},dt=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&et(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void Z(this)):this.__removeChild(t)})},ht=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e));const n=(e["s-sn"]=rt(e))||"",o=et(kt(this,"childNodes"),this.tagName,n)[0];if(o){st(e,o,!0);const t=nt(o,n)[0],s=kt(t,"parentNode"),r=kt(s,"insertBefore")(e,kt(t,"nextSibling"));return lt(o),r}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))})},pt=t=>{t.__append||(t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))})},mt=t=>{if(t.__insertAdjacentHTML)return;const e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,n){if("afterbegin"!==t&&"beforeend"!==t)return e.call(this,t,n);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=n,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},vt=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},gt=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:o}=ct(t,this),s=this.__childNodes?this.childNodes:tt(this.childNodes);if(o){let r=!1;if(s.forEach((s=>{if(s!==e&&null!==e);else{if(r=!0,null===e||n!==e["s-sn"])return void this.appendChild(t);if(n===e["s-sn"]){st(t,o);const n=kt(e,"parentNode");kt(n,"insertBefore")(t,e),lt(o)}}})),r)return t}const r=null==e?void 0:e.__parentNode;return r&&!this.isSameNode(r)?this.appendChild(t):this.__insertBefore(t,e)})},$t=t=>{if(t.__insertAdjacentElement)return;const e=t.insertAdjacentElement;t.insertAdjacentElement=function(t,n){return"afterbegin"!==t&&"beforeend"!==t?e.call(this,t,n):"afterbegin"===t?(this.prepend(n),n):"beforeend"===t?(this.append(n),n):n}},bt=t=>{Nt("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:tt(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:tt(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},yt=t=>{class e extends Array{item(t){return this[t]}}Nt("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),Nt("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),Nt("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),Nt("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...tt(this.__childNodes)),t}})},St=t=>{t&&void 0===t.__nextSibling&&globalThis.Node&&(wt(t),xt(t),Ct(t),t.nodeType===Node.ELEMENT_NODE&&(jt(t),Ot(t)))},wt=t=>{t&&!t.__nextSibling&&(Nt("nextSibling",t),Object.defineProperty(t,"nextSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextSibling}}))},jt=t=>{t&&!t.__nextElementSibling&&(Nt("nextElementSibling",t),Object.defineProperty(t,"nextElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextElementSibling}}))},xt=t=>{t&&!t.__previousSibling&&(Nt("previousSibling",t),Object.defineProperty(t,"previousSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousSibling}}))},Ot=t=>{t&&!t.__previousElementSibling&&(Nt("previousElementSibling",t),Object.defineProperty(t,"previousElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousElementSibling}}))},Ct=t=>{t&&!t.__parentNode&&(Nt("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},_t=["children","nextElementSibling","previousElementSibling"],Et=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function Nt(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;_t.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):Et.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function kt(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var Tt=0,Lt=(t,n="")=>{if(e.profile&&performance.mark){const e=`st:${t}:${n}:${Tt++}`;return performance.mark(e),()=>performance.measure(`[Stencil] ${t}() <${n}>`,e)}return()=>{}};function Rt(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var Mt=new WeakMap,At=(t,e,n)=>{let o=j.get(t);H&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,j.set(t,o)},Dt=(t,n,o)=>{var s,r,i;const l=Ht(n,o),c=j.get(l);if(!e.attachStyles||!R.document)return l;if(t=11===t.nodeType?t:R.document,c)if("string"==typeof c){let o,i=Mt.get(t=t.head||t);i||Mt.set(t,i=new Set);const a=(e.hydrateClientSide||e.hotModuleReplacement)&&t.querySelector(`[${C}="${l}"]`);if(a)a.textContent=c;else if(!i.has(l)){o=R.document.createElement("style"),o.textContent=c;const a=null!=(s=A.T)?s:Rt(R.document);if(null!=a&&o.setAttribute("nonce",a),(e.hydrateServerSide||e.hotModuleReplacement)&&(2&n.u||128&n.u||1&n.u)&&o.setAttribute(C,l),!(1&n.u))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(o,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(H){const e=new(null!=(r=t.defaultView)?r:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(c),F?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n&&!e.hotModuleReplacement?n.textContent=c+n.textContent:t.prepend(o)}else t.append(o);1&n.u&&t.insertBefore(o,null),4&n.u&&(o.textContent+=k),i&&i.add(l)}}else if(e.constructableCSS){let n=Mt.get(t);if(n||Mt.set(t,n=new Set),!n.has(l)){const o=null!=(i=t.defaultView)?i:t.ownerDocument.defaultView;let s;if(c.constructor===o.CSSStyleSheet)s=c;else{s=new o.CSSStyleSheet;for(let t=0;t<c.cssRules.length;t++)s.insertRule(c.cssRules[t].cssText,t)}if(F?t.adoptedStyleSheets.push(s):t.adoptedStyleSheets=[...t.adoptedStyleSheets,s],n.add(l),e.hydrateClientSide&&"host"in t){const e=t.querySelector(`[${C}="${l}"]`);e&&Q((()=>e.remove()))}}}return l},It=t=>{const n=t.o,o=t.$hostElement$,s=n.u,r=Lt("attachStyles",n.C),i=Dt(e.shadowDom&&D&&o.shadowRoot?o.shadowRoot:o.getRootNode(),n,t.N);(e.shadowDom||e.scoped)&&e.cssAnnotations&&10&s&&(o["s-sc"]=i,o.classList.add(i+"-h")),r()},Ht=(t,n)=>"sc-"+(e.mode&&n&&32&t.u?t.C+"-"+n:t.C),Ft=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Pt=()=>{if(!R.document)return;const t=R.document.querySelectorAll(`[${C}]`);let e=0;for(;e<t.length;e++)At(t[e].getAttribute(C),Ft(t[e].innerHTML),!0)},Ut=t=>"object"==(t=typeof t)||"function"===t,Bt=(t,n,...o)=>{"string"==typeof t&&(t=Qn(t));let s=null,r=null,i=null,l=!1,c=!1;const a=[],u=n=>{for(let o=0;o<n.length;o++)s=n[o],Array.isArray(s)?u(s):null!=s&&"boolean"!=typeof s&&((l="function"!=typeof t&&!Ut(s))?s+="":e.isDev&&"function"!=typeof t&&void 0===s.u&&$("vNode passed as children has unexpected type.\nMake sure it's using the correct h() function.\nEmpty objects can also be the cause, look for JSX comments that became objects."),l&&c?a[a.length-1].L+=s:a.push(l?zt(null,s):s),c=l)};if(u(o),n&&(e.isDev&&"input"===t&&qt(n),e.vdomKey&&n.key&&(r=n.key),e.slotRelocation&&n.name&&(i=n.name),e.vdomClass)){const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}if(e.isDev&&a.some(Wt)&&$("The <Host> must be the single root component. Make sure:\n- You are NOT using hostData() and <Host> in the same component.\n- <Host> is used once, and it's the single root component of the render() function."),e.vdomFunctional&&"function"==typeof t)return t(null===n?{}:n,a,Yt);const f=zt(t,null);return f.R=n,a.length>0&&(f.M=a),e.vdomKey&&(f.A=r),e.slotRelocation&&(f.D=i),f},zt=(t,n)=>{const o={u:0,I:t,L:null!=n?n:null,F:null,M:null};return e.vdomAttribute&&(o.R=null),e.vdomKey&&(o.A=null),e.slotRelocation&&(o.D=null),o},Vt={},Wt=t=>t&&t.I===Vt,Yt={forEach:(t,e)=>t.map(Jt).forEach(e),map:(t,e)=>t.map(Jt).map(e).map(Xt)},Jt=t=>({vattrs:t.R,vchildren:t.M,vkey:t.A,vname:t.D,vtag:t.I,vtext:t.L}),Xt=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),Bt(t.vtag,e,...t.vchildren||[])}const e=zt(t.vtag,t.vtext);return e.R=t.vattrs,e.M=t.vchildren,e.A=t.vkey,e.D=t.vname,e},qt=t=>{const e=Object.keys(t),n=e.indexOf("value");if(-1===n)return;const o=e.indexOf("type"),s=e.indexOf("min"),r=e.indexOf("max"),i=e.indexOf("step");(n<o||n<s||n<r||n<i)&&b('The "value" prop of <input> should be set after "min", "max", "type" and "step"')},Kt=(t,n,o,s,r,i,l,c=[])=>{let a,u,f,d;const h=r["s-sc"];if(1===i.nodeType){if(a=i.getAttribute(_),a&&(u=a.split("."),u[0]===l||"0"===u[0])){f=Gt({u:0,P:u[0],U:u[1],B:u[2],V:u[3],I:i.tagName.toLowerCase(),F:i,R:{class:i.className||""}}),n.push(f),i.removeAttribute(_),t.M||(t.M=[]),e.scoped&&h&&u[0]===l&&(i["s-si"]=h,f.R.class+=" "+h);const r=f.F.getAttribute("s-sn");"string"==typeof r&&("slot-fb"===f.I&&(Zt(r,u[2],f,i,t,n,o,s,c),e.scoped&&h&&i.classList.add(h)),f.F["s-sn"]=r,f.F.removeAttribute("s-sn")),void 0!==f.V&&(t.M[f.V]=f),t=f,s&&"0"===f.B&&(s[f.V]=f.F)}if(i.shadowRoot)for(d=i.shadowRoot.childNodes.length-1;d>=0;d--)Kt(t,n,o,s,r,i.shadowRoot.childNodes[d],l,c);const p=i.__childNodes||i.childNodes;for(d=p.length-1;d>=0;d--)Kt(t,n,o,s,r,p[d],l,c)}else if(8===i.nodeType)u=i.nodeValue.split("."),(u[1]===l||"0"===u[1])&&(a=u[0],f=Gt({P:u[1],U:u[2],B:u[3],V:u[4]||"0",F:i,R:null,M:null,A:null,D:null,I:null,L:null}),"t"===a?(f.F=se(i,3),f.F&&3===f.F.nodeType&&(f.L=f.F.textContent,n.push(f),i.remove(),l===f.P&&(t.M||(t.M=[]),t.M[f.V]=f),s&&"0"===f.B&&(s[f.V]=f.F))):"c"===a?(f.F=se(i,8),f.F&&8===f.F.nodeType&&(n.push(f),i.remove())):f.P===l&&("s"===a?Zt(i["s-sn"]=u[5]||"",u[2],f,i,t,n,o,s,c):"r"===a&&(e.shadowDom&&s?i.remove():e.slotRelocation&&(r["s-cr"]=i,i["s-cn"]=!0))));else if(t&&"style"===t.I){const e=zt(null,i.textContent);e.F=i,e.V="0",t.M=[e]}return t},Qt=(t,e)=>{if(1===t.nodeType){const n=t[O]||t.getAttribute(O);n&&e.set(n,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)Qt(t.shadowRoot.childNodes[o],e);const s=t.__childNodes||t.childNodes;for(o=0;o<s.length;o++)Qt(s[o],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},Gt=t=>({u:0,P:null,U:null,B:null,V:"0",F:null,R:null,M:null,A:null,D:null,I:null,L:null,...t});function Zt(t,n,o,s,r,i,l,c,a){s["s-sr"]=!0,o.D=t||null,o.I="slot";const u=(null==r?void 0:r.F)?r.F["s-id"]||r.F.getAttribute("s-id"):"";if(e.shadowDom&&c&&R.document){const e=o.F=R.document.createElement(o.I);o.D&&o.F.setAttribute("name",t),r.F.shadowRoot&&u&&u!==o.P?kt(r.F,"insertBefore")(e,kt(r.F,"children")[0]):kt(kt(s,"parentNode"),"insertBefore")(e,s),oe(a,n,t,s,o.P),s.remove(),"0"===o.B&&(c[o.V]=o.F)}else{const e=o.F,i=u&&u!==o.P&&r.F.shadowRoot;oe(a,n,t,s,i?u:o.P),it(s),i&&r.F.insertBefore(e,r.F.children[0])}i.push(o),l.push(o),r.M||(r.M=[]),r.M[o.V]=o}var te,ee,ne,oe=(t,e,n,o,s)=>{var r,i;let l=o.nextSibling;if(t[e]=t[e]||[],l&&!(null==(r=l.nodeValue)?void 0:r.startsWith("s.")))do{!l||(l.getAttribute&&l.getAttribute("slot")||l["s-sn"])!==n&&(""!==n||l["s-sn"]||l.getAttribute&&l.getAttribute("slot")||8!==l.nodeType&&3!==l.nodeType)||(l["s-sn"]=n,t[e].push({slot:o,node:l,hostId:s})),l=null==l?void 0:l.nextSibling}while(l&&!(null==(i=l.nodeValue)?void 0:i.startsWith("s.")))},se=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},re=t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),ie="-shadowcsshost",le="-shadowcssslotted",ce="-shadowcsscontext",ae=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",ue=RegExp("("+ie+ae,"gim"),fe=RegExp("("+ce+ae,"gim"),de=RegExp("("+le+ae,"gim"),he=ie+"-no-combinator",pe=/-shadowcsshost-no-combinator([^\s]*)/,me=[/::shadow/g,/::content/g],ve=/__part-(\d+)__/g,ge=/-shadowcsshost/gim,$e=t=>{const e=re(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")},be=/\/\*\s*[\s\S]*?\*\//g,ye=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,Se=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,we=/([{}])/g,je=/(^.*?[^\\])??((:+)(.*)|$)/,xe="%BLOCK%",Oe=(t,e)=>{const n=Ce(t);let o=0;return n.escapedString.replace(Se,((...t)=>{const s=t[2];let r="",i=t[4],l="";i&&i.startsWith("{"+xe)&&(r=n.blocks[o++],i=i.substring(8),l="{");const c=e({selector:s,content:r});return`${t[1]}${c.selector}${t[3]}${l}${c.content}${i}`}))},Ce=t=>{const e=t.split(we),n=[],o=[];let s=0,r=[];for(let t=0;t<e.length;t++){const i=e[t];"}"===i&&s--,s>0?r.push(i):(r.length>0&&(o.push(r.join("")),n.push(xe),r=[]),n.push(i)),"{"===i&&s++}return r.length>0&&(o.push(r.join("")),n.push(xe)),{escapedString:n.join(""),blocks:o}},_e=(t,e,n)=>t.replace(e,((...t)=>{if(t[2]){const e=t[2].split(","),o=[];for(let s=0;s<e.length;s++){const r=e[s].trim();if(!r)break;o.push(n(he,r,t[3]))}return o.join(",")}return he+t[3]})),Ee=(t,e,n)=>t+e.replace(ie,"")+n,Ne=(t,e,n)=>e.indexOf(ie)>-1?Ee(t,e,n):t+e+n+", "+e+" "+t+n,ke=(t,e)=>t.replace(je,((t,n="",o,s="",r="")=>n+e+s+r)),Te=(t,e,n,o)=>Oe(t,(t=>{let s=t.selector,r=t.content;return"@"!==t.selector[0]?s=((t,e,n,o)=>t.split(",").map((t=>o&&t.indexOf("."+o)>-1?t.trim():((t,e)=>!(t=>(t=t.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),RegExp("^("+t+")([>\\s~+[.,{:][\\s\\S]*)?$","m")))(e).test(t))(t,e)?((t,e,n)=>{const o="."+(e=e.replace(/\[is=([^\]]*)\]/g,((t,...e)=>e[0]))),s=t=>{let s=t.trim();if(!s)return"";if(t.indexOf(he)>-1)s=((t,e,n)=>{if(ge.lastIndex=0,ge.test(t)){const e="."+n;return t.replace(pe,((t,n)=>ke(n,e))).replace(ge,e+" ")}return e+" "+t})(t,e,n);else{const e=t.replace(ge,"");e.length>0&&(s=ke(e,o))}return s},r=(t=>{const e=[];let n=0;return{content:(t=(t=t.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g,((t,o)=>{const s=`__part-${n}__`;return e.push(o),n++,s}))).replace(/(\[[^\]]*\])/g,((t,o)=>{const s=`__ph-${n}__`;return e.push(o),n++,s}))).replace(/(:nth-[-\w]+)(\([^)]+\))/g,((t,o,s)=>{const r=`__ph-${n}__`;return e.push(s),n++,o+r})),placeholders:e}})(t);let i,l="",c=0;const a=/( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g;let u=!((t=r.content).indexOf(he)>-1);for(;null!==(i=a.exec(t));){const e=i[1],n=t.slice(c,i.index).trim();u=u||n.indexOf(he)>-1,l+=`${u?s(n):n} ${e} `,c=a.lastIndex}const f=t.substring(c);return u=!f.match(ve)&&(u||f.indexOf(he)>-1),l+=u?s(f):f,((t,e)=>(e=e.replace(/__part-(\d+)__/g,((e,n)=>t[+n]))).replace(/__ph-(\d+)__/g,((e,n)=>t[+n])))(r.placeholders,l)})(t,e,n).trim():t.trim())).join(", "))(t.selector,e,n,o):(t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document"))&&(r=Te(t.content,e,n,o)),{selector:s.replace(/\s{2,}/g," ").trim(),content:r}})),Le=(t,e)=>t.replace(/-shadowcsshost-no-combinator/g,"."+e),Re=(t,e)=>{const n=e+"-h",o=e+"-s",s=(t=>t.match(ye)||[])(t);t=(t=>t.replace(be,""))(t);const r=[];{const e=t=>{const e=`/*!@___${r.length}___*/`;return r.push({placeholder:e,comment:`/*!@${t.selector}*/`}),t.selector=e+t.selector,t};t=Oe(t,(t=>"@"!==t.selector[0]?e(t):t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document")?(t.content=Oe(t.content,e),t):t))}const i=((t,e,n,o)=>{const s=((t,e)=>{const n="."+e+" > ",o=[];return t=t.replace(de,((...t)=>{if(t[2]){const e=t[2].trim(),s=n+e+t[3];let r="";for(let e=t[4]-1;e>=0;e--){const n=t[5][e];if("}"===n||","===n)break;r=n+r}const i=(r+s).trim(),l=`${r.trimEnd()}${s.trim()}`.trim();return i!==l&&o.push({orgSelector:i,updatedSelector:`${l}, ${i}`}),s}return he+t[3]})),{selectors:o,cssText:t}})(t=(t=>_e(t,fe,Ne))(t=(t=>_e(t,ue,Ee))(t=(t=>{const e=[];t=t.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g,((t,n)=>{const o=`__supports_${e.length}__`;return e.push(n),`@supports selector(${o})`}));const n=$e("::slotted"),o=$e(":host"),s=$e(":host-context");return t=t.replace(s,"$1"+ce).replace(o,"$1"+ie).replace(n,"$1"+le),e.forEach(((e,n)=>{t=t.replace(`__supports_${n}__`,e)})),t})(t))),o);return t=(t=>me.reduce(((t,e)=>t.replace(e," ")),t))(t=s.cssText),e&&(t=Te(t,e,n,o)),{cssText:(t=(t=Le(t,n)).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:s.selectors.map((t=>({orgSelector:Le(t.orgSelector,n),updatedSelector:Le(t.updatedSelector,n)})))}})(t,e,n,o);return t=[i.cssText,...s].join("\n"),r.forEach((({placeholder:e,comment:n})=>{t=t.replace(e,n)})),i.slottedSelectors.forEach((e=>{const n=RegExp(re(e.orgSelector)+"(?=\\s*[,{]|$)","g");t=t.replace(n,e.updatedSelector)})),t=(t=>{const e=/([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;return Oe(t,(t=>{if("@"===t.selector[0])return t;const n=t.selector.split(",").map((n=>{const o=[n.trim()];let s;for(;null!==(s=e.exec(n));){const e=s[1].trimEnd(),r=s[2].trim().split(/\s+/),i=s[3]||"",l=r.flatMap((e=>t.selector.includes(`[part~="${e}"]`)?[]:[`[part~="${e}"]`])).join(""),c=`${e} ${l}${i}`;l&&c!==n.trim()&&o.push(c)}return o.join(", ")}));return t.selector=n.join(", "),t}))})(t)},Me=t=>x.map((e=>e(t))).find((t=>!!t)),Ae=class t{static fromLocalValue(e){const n=e[r],o=i in e?e[i]:void 0;switch(n){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((e=>t.fromLocalValue(e)));case"date":return new Date(o);case"map":const e=new Map;for(const[n,s]of o){const o="object"==typeof n&&null!==n?t.fromLocalValue(n):n,r=t.fromLocalValue(s);e.set(o,r)}return e;case"object":const s={};for(const[e,n]of o)s[e]=t.fromLocalValue(n);return s;case"regexp":const{pattern:r,flags:i}=o;return RegExp(r,i);case"set":const l=new Set;for(const e of o)l.add(t.fromLocalValue(e));return l;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(r))return!1;const e=t[r];return!!Object.values({...o,...s}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(i))}},De=(t,n,o)=>(e.hydrateClientSide||e.hydrateServerSide)&&"string"==typeof t&&t.startsWith(l)?t=function(t){return"string"==typeof t&&t.startsWith(l)?Ae.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||Ut(t)?t:e.propBoolean&&4&n?(e.formAssociated&&o&&"string"==typeof t||"false"!==t)&&(""===t||!!t):e.propNumber&&2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:e.propString&&1&n?t+"":t,Ie=t=>{var n;return e.lazyLoad?null==(n=d(t))?void 0:n.$hostElement$:t},He=(t,n,o)=>{const s=Ie(t);return{emit:t=>(e.isDev&&!s.isConnected&&b(`The "${n}" event was emitted, but the dispatcher node is no longer connected to the dom.`),Fe(s,n,{bubbles:!!(4&o),composed:!!(2&o),cancelable:!!(1&o),detail:t}))}},Fe=(t,e,n)=>{const o=A.ce(e,n);return t.dispatchEvent(o),o},Pe=(t,n,o,s,r,i,l)=>{if(o===s)return;let c=m(t,n),a=n.toLowerCase();if(e.vdomClass&&"class"===n){const n=t.classList,r=Be(o);let i=Be(s);if(e.hydrateClientSide&&(t["s-si"]||t["s-sc"])&&l){const e=t["s-sc"]||t["s-si"];i.push(e),r.forEach((t=>{t.startsWith(e)&&i.push(t)})),i=[...new Set(i)].filter((t=>t)),n.add(...i)}else n.remove(...r.filter((t=>t&&!i.includes(t)))),n.add(...i.filter((t=>t&&!r.includes(t))))}else if(e.vdomStyle&&"style"===n){if(e.updatable)for(const n in o)s&&null!=s[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in s)o&&s[n]===o[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.setProperty(n,s[n]):t.style[n]=s[n])}else if(e.vdomKey&&"key"===n);else if(e.vdomRef&&"ref"===n)s&&fn(s,t);else if(!e.vdomListener||(e.lazyLoad?c:t.__lookupSetter__(n))||"o"!==n[0]||"n"!==n[1]){if(e.vdomPropOrAttr&&"a"===n[0]&&n.startsWith("attr:")){const o=n.slice(5);let r;if(e.member){const e=d(t);if(e&&e.o&&e.o.t){const t=e.o.t[o];t&&t[1]&&(r=t[1])}}return r||(r=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==s||!1===s?!1===s&&""!==t.getAttribute(r)||t.removeAttribute(r):t.setAttribute(r,!0===s?"":s))}if(e.vdomPropOrAttr&&"p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=s}catch(t){}return}if(e.vdomPropOrAttr){const l=Ut(s);if((c||l&&null!==s)&&!r)try{if(t.tagName.includes("-"))t[n]!==s&&(t[n]=s);else{const e=null==s?"":s;"list"===n?c=!1:null!=o&&t[n]===e||("function"==typeof t.__lookupSetter__(n)?t[n]=e:t.setAttribute(n,e))}}catch(t){}let u=!1;e.vdomXlink&&a!==(a=a.replace(/^xlink\:?/,""))&&(n=a,u=!0),null==s||!1===s?!1===s&&""!==t.getAttribute(n)||(e.vdomXlink&&u?t.removeAttributeNS(T,n):t.removeAttribute(n)):(!c||4&i||r)&&!l&&1===t.nodeType&&(s=!0===s?"":s,e.vdomXlink&&u?t.setAttributeNS(T,n,s):t.setAttribute(n,s))}}else if(n="-"===n[2]?n.slice(3):m(R,a)?a.slice(2):a[2]+n.slice(3),o||s){const e=n.endsWith(ze);n=n.replace(Ve,""),o&&A.rel(t,n,o,e),s&&A.ael(t,n,s,e)}},Ue=/\s/,Be=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Ue):[]),ze="Capture",Ve=RegExp(ze+"$"),We=(t,n,o,s)=>{const r=11===n.F.nodeType&&n.F.host?n.F.host:n.F,i=t&&t.R||{},l=n.R||{};if(e.updatable)for(const t of Ye(Object.keys(i)))t in l||Pe(r,t,i[t],void 0,o,n.u,s);for(const t of Ye(Object.keys(l)))Pe(r,t,i[t],l[t],o,n.u,s)};function Ye(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Je=!1,Xe=!1,qe=!1,Ke=!1,Qe=[],Ge=[],Ze=(t,n,o)=>{var s;const r=n.M[o];let i,l,c,a=0;if(e.slotRelocation&&!Je&&(qe=!0,"slot"===r.I&&(r.u|=r.M?2:1)),e.isDev&&r.F&&$(`The JSX ${null!==r.L?`"${r.L}" text`:`"${r.I}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),e.vdomText&&null!=r.L)i=r.F=R.document.createTextNode(r.L);else if(e.slotRelocation&&1&r.u)i=r.F=e.isDebug||e.hydrateServerSide?mn(r):R.document.createTextNode(""),e.vdomAttribute&&We(null,r,Ke);else{if(e.svg&&!Ke&&(Ke="svg"===r.I),!R.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(i=r.F=e.svg?R.document.createElementNS(Ke?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Je&&e.slotRelocation&&2&r.u?"slot-fb":r.I):R.document.createElement(!Je&&e.slotRelocation&&2&r.u?"slot-fb":r.I),e.svg&&Ke&&"foreignObject"===r.I&&(Ke=!1),e.vdomAttribute&&We(null,r,Ke),(e.scoped||e.hydrateServerSide)&&null!=te&&void 0!==te&&i["s-si"]!==te&&i.classList.add(i["s-si"]=te),r.M){const e="template"===r.I?i.content:i;for(a=0;a<r.M.length;++a)l=Ze(t,r,a),l&&e.appendChild(l)}e.svg&&("svg"===r.I?Ke=!1:"foreignObject"===i.tagName&&(Ke=!0))}return i["s-hn"]=ne,e.slotRelocation&&3&r.u&&(i["s-sr"]=!0,i["s-cr"]=ee,i["s-sn"]=r.D||"",i["s-rf"]=null==(s=r.R)?void 0:s.ref,it(i),c=t&&t.M&&t.M[o],c&&c.I===r.I&&t.F&&tn(t.F),(e.scoped||e.hydrateServerSide)&&hn(ee,i,n.F,null==t?void 0:t.F)),i},tn=t=>{A.u|=1;const e=t.closest(ne.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of n?o.reverse():o)null!=t["s-sh"]&&(dn(e,t,null!=n?n:null),t["s-sh"]=void 0,qe=!0)}A.u&=-2},en=(t,e)=>{A.u|=1;const n=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===ne&&n.push(e)}for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==ne&&o["s-ol"]&&(dn(rn(o).parentNode,o,rn(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,qe=!0),e&&en(o,e)}A.u&=-2},nn=(t,n,o,s,r,i)=>{let l,c=e.slotRelocation&&t["s-cr"]&&t["s-cr"].parentNode||t;for(e.shadowDom&&c.shadowRoot&&c.tagName===ne&&(c=c.shadowRoot),"template"===o.I&&(c=c.content);r<=i;++r)s[r]&&(l=Ze(null,o,r),l&&(s[r].F=l,dn(c,l,e.slotRelocation?rn(n):n)))},on=(t,n,o)=>{for(let s=n;s<=o;++s){const n=t[s];if(n){const t=n.F;un(n),t&&(e.slotRelocation&&(Xe=!0,t["s-ol"]?t["s-ol"].remove():en(t,!0)),t.remove())}}},sn=(t,n,o=!1)=>t.I===n.I&&(e.slotRelocation&&"slot"===t.I?t.D===n.D:e.vdomKey&&!o?t.A===n.A:(o&&!t.A&&n.A&&(t.A=n.A),!0)),rn=t=>t&&t["s-ol"]||t,ln=(t,n,o=!1)=>{const s=n.F=t.F,r=t.M,i=n.M,l=n.I,c=n.L;let a;e.vdomText&&null!=c?e.vdomText&&e.slotRelocation&&(a=s["s-cr"])?a.parentNode.textContent=c:e.vdomText&&t.L!==c&&(s.data=c):(e.svg&&(Ke="svg"===l||"foreignObject"!==l&&Ke),(e.vdomAttribute||e.reflect)&&(e.slot&&"slot"===l&&!Je&&t.D!==n.D&&(n.F["s-sn"]=n.D||"",tn(n.F.parentElement)),We(t,n,Ke,o)),e.updatable&&null!==r&&null!==i?((t,n,o,s,r=!1)=>{let i,l,c=0,a=0,u=0,f=0,d=n.length-1,h=n[0],p=n[d],m=s.length-1,v=s[0],g=s[m];const $="template"===o.I?t.content:t;for(;c<=d&&a<=m;)if(null==h)h=n[++c];else if(null==p)p=n[--d];else if(null==v)v=s[++a];else if(null==g)g=s[--m];else if(sn(h,v,r))ln(h,v,r),h=n[++c],v=s[++a];else if(sn(p,g,r))ln(p,g,r),p=n[--d],g=s[--m];else if(sn(h,g,r))!e.slotRelocation||"slot"!==h.I&&"slot"!==g.I||en(h.F.parentNode,!1),ln(h,g,r),dn($,h.F,p.F.nextSibling),h=n[++c],g=s[--m];else if(sn(p,v,r))!e.slotRelocation||"slot"!==h.I&&"slot"!==g.I||en(p.F.parentNode,!1),ln(p,v,r),dn($,p.F,h.F),p=n[--d],v=s[++a];else{if(u=-1,e.vdomKey)for(f=c;f<=d;++f)if(n[f]&&null!==n[f].A&&n[f].A===v.A){u=f;break}e.vdomKey&&u>=0?(l=n[u],l.I!==v.I?i=Ze(n&&n[a],o,u):(ln(l,v,r),n[u]=void 0,i=l.F),v=s[++a]):(i=Ze(n&&n[a],o,a),v=s[++a]),i&&(e.slotRelocation?dn(rn(h.F).parentNode,i,rn(h.F)):dn(h.F.parentNode,i,h.F))}c>d?nn(t,null==s[m+1]?null:s[m+1].F,o,s,a,m):e.updatable&&a>m&&on(n,c,d)})(s,r,n,i,o):null!==i?(e.updatable&&e.vdomText&&null!==t.L&&(s.textContent=""),nn(s,null,n,i,0,i.length-1)):!o&&e.updatable&&null!==r?on(r,0,r.length-1):e.hydrateClientSide&&o&&e.updatable&&null!==r&&null===i&&(n.M=r),e.svg&&Ke&&"svg"===l&&(Ke=!1))},cn=[],an=t=>{let e,n,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const s=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===t["s-hn"]||e["s-sh"]&&e["s-sh"]===t["s-hn"]))if(ot(e,s)){let n=cn.find((t=>t.W===e));Xe=!0,e["s-sn"]=e["s-sn"]||s,n?(n.W["s-sh"]=t["s-hn"],n.Y=t):(e["s-sh"]=t["s-hn"],cn.push({Y:t,W:e})),e["s-sr"]&&cn.map((t=>{ot(t.W,e["s-sn"])&&(n=cn.find((t=>t.W===e)),n&&!t.Y&&(t.Y=n.Y))}))}else cn.some((t=>t.W===e))||cn.push({W:e})}1===t.nodeType&&an(t)}},un=t=>{e.vdomRef&&(t.R&&t.R.ref&&Qe.push((()=>t.R.ref(null))),t.M&&t.M.map(un))},fn=(t,n)=>{e.vdomRef&&Ge.push((()=>t(n)))},dn=(t,n,o,s)=>{if(e.slotRelocation)if(e.scoped&&"string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])hn(n["s-cr"],n,t,n.parentElement);else if("string"==typeof n["s-sn"]){e.experimentalSlotFixes&&11!==t.getRootNode().nodeType&&Ct(n),t.insertBefore(n,o);const{slotNode:r}=ct(n);return r&&!s&<(r),n}return t.__insertBefore?t.__insertBefore(n,o):null==t?void 0:t.insertBefore(n,o)};function hn(t,e,n,o){var s,r;let i;if(t&&"string"==typeof e["s-sn"]&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(i=e["s-si"]||t.parentNode["s-sc"])){const t=e["s-sn"],l=e["s-hn"];if(null==(s=n.classList)||s.add(i+"-s"),o&&(null==(r=o.classList)?void 0:r.contains(i+"-s"))){let e=(o.__childNodes||o.childNodes)[0],n=!1;for(;e;){if(e["s-sn"]!==t&&e["s-hn"]===l&&e["s-sr"]){n=!0;break}e=e.nextSibling}n||o.classList.remove(i+"-s")}}}var pn=(t,n,o=!1)=>{var s,r,i,l,c;const a=t.$hostElement$,u=t.o,f=t.J||zt(null,null),d=Wt(n)?n:Bt(null,null,n);if(ne=a.tagName,e.isDev&&Array.isArray(n)&&n.some(Wt))throw Error(`The <Host> must be the single root component.\nLooks like the render() function of "${ne.toLowerCase()}" is returning an array that contains the <Host>.\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n <Host>{content}</Host>\n );\n}\n `);if(e.reflect&&u.X&&(d.R=d.R||{},u.X.forEach((([n,o])=>{d.R[o]=e.serializer&&t.p.has(n)?t.p.get(n):a[n]}))),o&&d.R)for(const t of Object.keys(d.R))a.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(d.R[t]=a[t]);if(d.I=null,d.u|=4,t.J=d,d.F=f.F=e.shadowDom&&a.shadowRoot||a,(e.scoped||e.shadowDom)&&(te=a["s-sc"]),Je=D&&!!(1&u.u)&&!(128&u.u),e.slotRelocation&&(ee=a["s-cr"],Xe=!1),ln(f,d,o),e.slotRelocation){if(A.u|=1,qe){an(d.F);for(const t of cn){const n=t.W;if(!n["s-ol"]&&R.document){const t=e.isDebug||e.hydrateServerSide?vn(n):R.document.createTextNode("");t["s-nr"]=n,dn(n.parentNode,n["s-ol"]=t,n,o)}}for(const t of cn){const n=t.W,c=t.Y;if(1===n.nodeType&&o&&(n["s-ih"]=null!=(s=n.hidden)&&s),c){const t=c.parentNode;let s=c.nextSibling;if(!e.hydrateServerSide&&s&&1===s.nodeType){let e=null==(r=n["s-ol"])?void 0:r.previousSibling;for(;e;){let o=null!=(i=e["s-nr"])?i:null;if(o&&o["s-sn"]===n["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===n||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){s=o;break}}e=e.previousSibling}}if((!s&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==s)&&n!==s){if(dn(t,n,s,o),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=R.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,dn(n.parentNode,t,n,o),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(l=n["s-ih"])&&l)}n&&"function"==typeof c["s-rf"]&&c["s-rf"](c)}else 1===n.nodeType&&(n.hidden=!0)}}Xe&&Z(d.F),A.u&=-2,cn.length=0}if(e.slotRelocation&&!Je&&!(1&u.u)&&a["s-cr"]){const t=d.F.__childNodes||d.F.childNodes;for(const e of t)if(e["s-hn"]!==ne&&!e["s-sh"])if(o&&null==e["s-ih"]&&(e["s-ih"]=null!=(c=e.hidden)&&c),1===e.nodeType)e.hidden=!0;else if(3===e.nodeType&&e.nodeValue.trim()){const t=R.document.createComment("s-nt-"+e.nodeValue);t["s-sn"]=e["s-sn"],dn(e.parentNode,t,e,o),e.parentNode.removeChild(e)}}ee=void 0,e.vdomRef&&(Qe.forEach((t=>t())),Qe.length=0,Ge.forEach((t=>t())),Ge.length=0)},mn=t=>{var e;return null==(e=R.document)?void 0:e.createComment(`<slot${t.D?' name="'+t.D+'"':""}> (host=${ne.toLowerCase()})`)},vn=t=>{var e;return null==(e=R.document)?void 0:e.createComment("org-location for "+(t.localName?`<${t.localName}> (host=${t["s-hn"]})`:`[${t.textContent}]`))},gn=(t,n)=>{if(e.asyncLoading&&n&&!t.q&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.q=()=>{n["s-p"].splice(e-1,1),o()})))}},$n=(t,n)=>{if(e.taskQueue&&e.updatable&&(t.u|=16),e.asyncLoading&&4&t.u)return void(t.u|=512);gn(t,t.K);const o=()=>bn(t,n);if(!n)return e.taskQueue?Q(o):o();queueMicrotask((()=>{o()}))},bn=(t,n)=>{const o=t.$hostElement$,s=Lt("scheduleUpdate",t.o.C),r=e.lazyLoad?t.l:o;if(!r)throw Error(`Can't render component <${o.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 i;return n?(e.lazyLoad&&(e.slotRelocation&&t.G&&(t.G=!1,En(r,"connectedCallback",void 0,o)),e.hostListener&&(t.u|=256,t.Z&&(t.Z.map((([t,e])=>En(r,t,e,o))),t.Z=void 0)),t.O.length&&t.O.forEach((t=>t(o)))),Nn(o,"componentWillLoad"),i=En(r,"componentWillLoad",void 0,o)):(Nn(o,"componentWillUpdate"),i=En(r,"componentWillUpdate",void 0,o)),Nn(o,"componentWillRender"),i=yn(i,(()=>En(r,"componentWillRender",void 0,o))),s(),yn(i,(()=>wn(t,r,n)))},yn=(t,e)=>Sn(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Sn=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,wn=async(t,n,o)=>{var s;const r=t.$hostElement$,i=Lt("update",t.o.C),l=r["s-rc"];e.style&&o&&It(t);const c=Lt("render",t.o.C);if(e.isDev&&(t.u|=1024),e.hydrateServerSide?await xn(t,n,r,o):xn(t,n,r,o),e.isDev&&(t.m=void 0===t.m?1:t.m+1,t.u&=-1025),e.hydrateServerSide)try{Tn(r),o&&(1&t.o.u?r["s-en"]="":2&t.o.u&&(r["s-en"]="c"))}catch(t){v(t,r)}if(e.asyncLoading&&l&&(l.map((t=>t())),r["s-rc"]=void 0),c(),i(),e.asyncLoading){const e=null!=(s=r["s-p"])?s:[],n=()=>On(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.u|=4,e.length=0)}else On(t)},jn=null,xn=(t,n,o,s)=>{const r=!!e.allRenderFn,i=!!e.lazyLoad,l=!!e.taskQueue,c=!!e.updatable;try{if(jn=n,n=(r||n.render)&&n.render(),c&&l&&(t.u&=-17),(c||i)&&(t.u|=2),e.hasRenderFn||e.reflect)if(e.vdomRender||e.reflect){if(e.hydrateServerSide)return Promise.resolve(n).then((e=>pn(t,e,s)));pn(t,n,s)}else 1&t.o.u?o.shadowRoot.textContent=n:o.textContent=n}catch(e){v(e,t.$hostElement$)}return jn=null,null},On=t=>{const n=t.o.C,o=t.$hostElement$,s=Lt("postUpdate",n),r=e.lazyLoad?t.l:o,i=t.K;e.isDev&&(t.u|=1024),En(r,"componentDidRender",void 0,o),e.isDev&&(t.u&=-1025),Nn(o,"componentDidRender"),64&t.u?(e.isDev&&(t.u|=1024),En(r,"componentDidUpdate",void 0,o),e.isDev&&(t.u&=-1025),Nn(o,"componentDidUpdate"),s()):(t.u|=64,e.asyncLoading&&e.cssAnnotations&&kn(o),e.isDev&&(t.u|=2048),En(r,"componentDidLoad",void 0,o),e.isDev&&(t.u&=-2049),Nn(o,"componentDidLoad"),s(),e.asyncLoading&&(t.j(o),i||_n(n))),e.method&&e.lazyLoad&&t.$(o),e.asyncLoading&&(t.q&&(t.q(),t.q=void 0),512&t.u&&q((()=>$n(t,!1))),t.u&=-517)},Cn=t=>{var o;if(e.updatable&&(n.isBrowser||n.isTesting)){const e=d(t),n=null==(o=null==e?void 0:e.$hostElement$)?void 0:o.isConnected;return n&&2==(18&e.u)&&$n(e,!1),n}return!1},_n=n=>{var o;e.asyncQueue&&(A.u|=2),q((()=>Fe(R,"appload",{detail:{namespace:t}}))),e.hydrateClientSide&&(null==(o=A.tt)?void 0:o.size)&&A.tt.clear(),e.profile&&performance.measure&&performance.measure(`[Stencil] ${t} initial load (by ${n})`,"st:app:start")},En=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){v(t,o)}},Nn=(n,o)=>{e.lifecycleDOMEvents&&Fe(n,"stencil_"+o,{bubbles:!0,composed:!0,detail:{namespace:t}})},kn=t=>{var n,o;return e.hydratedClass?t.classList.add(null!=(n=e.hydratedSelectorName)?n:"hydrated"):e.hydratedAttribute?t.setAttribute(null!=(o=e.hydratedSelectorName)?o:"hydrated",""):void 0},Tn=t=>{const e=t.children;if(null!=e)for(let t=0,n=e.length;t<n;t++){const n=e[t];"function"==typeof n.connectedCallback&&n.connectedCallback(),Tn(n)}},Ln=(t,e)=>d(t).i.get(e),Rn=(t,n,o,s)=>{const r=d(t);if(!r)return;if(e.lazyLoad&&!r)throw Error(`Couldn't find host element for "${s.C}" 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).`);if(e.serializer&&r.p.has(n)&&r.p.get(n)===o)return;const i=e.lazyLoad?r.$hostElement$:t,l=r.i.get(n),c=r.u,a=e.lazyLoad?r.l:i;if(o=De(o,s.t[n][0],e.formAssociated&&!!(64&s.u)),!(e.lazyLoad&&8&c&&void 0!==l||o===l||Number.isNaN(l)&&Number.isNaN(o))){if(r.i.set(n,o),e.serializer&&e.reflect&&s.X&&s.et&&s.et[n]){const t=t=>{let e=o;for(const o of s.et[n]){const[[s]]=Object.entries(o);e=t[s](e,n)}r.p.set(n,e)};a?t(a):r.O.push((()=>{t(r.l)}))}if(e.isDev&&(1024&r.u?b(`The state/prop "${n}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,"\nElement",i,"\nNew value",o,"\nOld value",l):2048&r.u&&b(`The state/prop "${n}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,"\nElement",i,"\nNew value",o,"\nOld value",l)),e.propChangeCallback&&s.nt){const t=s.nt[n];t&&t.map((t=>{try{const[[e,s]]=Object.entries(t);(128&c||1&s)&&(a?a[e](o,l,n):r.O.push((()=>{r.l[e](o,l,n)})))}catch(t){v(t,i)}}))}if(e.updatable&&2&c){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(o,l,n)&&!(16&c))return;16&c||$n(r,!1)}}},Mn=(t,n,o)=>{var s,r;const i=t.prototype;if(e.isTesting){if(i.__stencilAugmented)return;i.__stencilAugmented=!0}if(e.formAssociated&&64&n.u&&1&o&&L.forEach((t=>{const n=i[t];Object.defineProperty(i,t,{value(...o){var s;const r=d(this),i=e.lazyLoad?null==r?void 0:r.l:this;if(i){const s=e.lazyLoad?i[t]:n;"function"==typeof s&&s.call(i,...o)}else null==(s=null==r?void 0:r.S)||s.then((e=>{const n=e[t];"function"==typeof n&&n.call(e,...o)}))}})})),e.member&&n.t||e.propChangeCallback){e.propChangeCallback&&(t.watchers&&!n.nt&&(n.nt=t.watchers),t.deserializers&&!n.ot&&(n.ot=t.deserializers),t.serializers&&!n.et&&(n.et=t.serializers));const l=Object.entries(null!=(s=n.t)?s:{});if(l.map((([t,[s]])=>{if((e.prop||e.state)&&(31&s||(!e.lazyLoad||2&o)&&32&s)){const{get:r,set:l}=c(i,t)||{};r&&(n.t[t][0]|=2048),l&&(n.t[t][0]|=4096),(1&o||!r)&&Object.defineProperty(i,t,{get(){if(e.lazyLoad){if(!(2048&n.t[t][0]))return Ln(this,t);const e=d(this),o=e?e.l:i;if(!o)return;return o[t]}if(!e.lazyLoad)return r?r.apply(this):Ln(this,t)},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(r){const i=d(this);if(i){if(e.isDev&&(1&o||4096&n.t[t][0]||0!==(i&&8&i.u)||!(31&s)||1024&s||b(`@Prop() "${t}" on <${n.C}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)),l)return void 0===(32&s?this[t]:i.$hostElement$[t])&&i.i.get(t)&&(r=i.i.get(t)),l.call(this,De(r,s,e.formAssociated&&!!(64&n.u))),void Rn(this,t,r=32&s?this[t]:i.$hostElement$[t],n);if(e.lazyLoad){if(e.lazyLoad){if(!(1&o&&4096&n.t[t][0]))return Rn(this,t,r,n),void(1&o&&!i.l&&i.O.push((()=>{4096&n.t[t][0]&&i.l[t]!==i.i.get(t)&&(i.l[t]=r)})));const l=()=>{const o=i.l[t];!i.i.get(t)&&o&&i.i.set(t,o),i.l[t]=De(r,s,e.formAssociated&&!!(64&n.u)),Rn(this,t,i.l[t],n)};i.l?l():i.O.push((()=>{l()}))}}else Rn(this,t,r,n)}}})}else e.lazyLoad&&e.method&&1&o&&64&s&&Object.defineProperty(i,t,{value(...e){var n;const o=d(this);return null==(n=null==o?void 0:o.v)?void 0:n.then((()=>{var n;return null==(n=o.l)?void 0:n[t](...e)}))}})})),e.observeAttribute&&(!e.lazyLoad||1&o)){const o=new Map;i.attributeChangedCallback=function(t,s,r){A.jmp((()=>{var c;const a=o.get(t),u=d(this);if(e.serializer&&u.p.has(a)&&u.p.get(a)===r)return;if(this.hasOwnProperty(a)&&e.lazyLoad&&(r=this[a],delete this[a]),e.deserializer&&n.ot&&n.ot[a]){const t=(t,e)=>{const n=null==e?void 0:e[t](r,a);n!==this[a]&&(this[a]=n)};for(const o of n.ot[a]){const[[n]]=Object.entries(o);e.lazyLoad?u.l?t(n,u.l):u.O.push((()=>{t(n,u.l)})):t(n,this)}return}if(i.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==r)return;if(null==a){const o=null==u?void 0:u.u;if(u&&o&&!(8&o)&&r!==s){const i=e.lazyLoad?u.l:e.lazyLoad?u.$hostElement$:this,l=null==(c=n.nt)?void 0:c[t];null==l||l.forEach((e=>{const[[n,l]]=Object.entries(e);null!=i[n]&&(128&o||1&l)&&i[n].call(i,r,s,t)}))}return}const f=l.find((([t])=>t===a));f&&4&f[1][0]&&(r=null!==r&&"false"!==r);const h=Object.getOwnPropertyDescriptor(i,a);r==this[a]||h.get&&!h.set||(this[a]=r)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=n.nt)?r:{}),...l.filter((([t,e])=>31&e[0])).map((([t,s])=>{var r;const i=s[1]||t;return o.set(i,t),e.reflect&&512&s[0]&&(null==(r=n.X)||r.push([t,i])),i}))]))}}return t},An=async(t,n,o,s)=>{let r;try{if(!(32&n.u)){if(n.u|=32,e.lazyLoad&&o._){const i=w(o,n,s);if(i&&"then"in i){const t=((t,n)=>e.profile&&performance.mark?(0===performance.getEntriesByName(t,"mark").length&&performance.mark(t),()=>{0===performance.getEntriesByName(n,"measure").length&&performance.measure(n,t)}):()=>{})(`st:load:${o.C}:${n.N}`,`[Stencil] Load module for <${o.C}>`);r=await i,t()}else r=i;if(!r)throw Error(`Constructor for "${o.C}#${n.N}" was not found`);e.member&&!r.isProxied&&(e.propChangeCallback&&(o.nt=r.watchers,o.et=r.serializers,o.ot=r.deserializers),Mn(r,o,2),r.isProxied=!0);const l=Lt("createInstance",o.C);e.member&&(n.u|=8);try{new r(n)}catch(e){v(e,t)}e.member&&(n.u&=-9),e.propChangeCallback&&(n.u|=128),l(),e.slotRelocation&&4&o.u?n.G=!0:Dn(n.l,t)}else r=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(e.style&&r&&r.style){let i;"string"==typeof r.style?i=r.style:e.mode&&"string"!=typeof r.style&&(n.N=Me(t),n.N&&(i=r.style[n.N]),e.hydrateServerSide&&n.N&&t.setAttribute("s-mode",n.N));const l=Ht(o,n.N);if(!j.has(l)||e.hotModuleReplacement&&s){const t=Lt("registerStyles",o.C);e.hydrateServerSide&&e.shadowDom&&128&o.u&&(i=Re(i,l)),At(l,i,!!(1&o.u)),t()}}}const i=n.K,l=()=>$n(n,!0);e.asyncLoading&&i&&i["s-rc"]?i["s-rc"].push(l):l()}catch(o){v(o,t),e.asyncLoading&&n.q&&(n.q(),n.q=void 0),e.asyncLoading&&n.j&&n.j(t)}},Dn=(t,n)=>{e.lazyLoad&&En(t,"connectedCallback",void 0,n)},In=t=>{if(!(1&A.u)){const n=d(t);if(!n)return;const o=n.o,s=Lt("connectedCallback",o.C);if(e.hostListenerTargetParent&&Vn(t,n,o.st,!0),1&n.u)Vn(t,n,o.st,!1),(null==n?void 0:n.l)?Dn(n.l,t):(null==n?void 0:n.S)&&n.S.then((()=>Dn(n.l,t)));else{let s;if(n.u|=1,e.hydrateClientSide&&(s=t.getAttribute(O),s)){if(e.shadowDom&&D&&1&o.u){const n=e.mode?Dt(t.shadowRoot,o,t.getAttribute("s-mode")):Dt(t.shadowRoot,o);t.classList.remove(n+"-h",n+"-s")}else if(e.scoped&&2&o.u){const n=Ht(o,e.mode?t.getAttribute("s-mode"):void 0);t["s-sc"]=n}((t,n,o,s)=>{var r,i,l,c;const a=Lt("hydrateClient",n),u=t.shadowRoot,f=[],h=[],p=[],m=e.shadowDom&&u?[]:null,v=zt(n,null);let g;if(v.F=t,e.scoped){const e=s.o;e&&10&e.u&&t["s-sc"]?(g=t["s-sc"],t.classList.add(g+"-h")):t["s-sc"]&&delete t["s-sc"]}!R.document||A.tt&&A.tt.size||Qt(R.document.body,A.tt=new Map),t[O]=o,t.removeAttribute(O),s.J=Kt(v,f,h,m,t,t,o,p);let $=0;const b=f.length;let y;for(;$<b;$++){y=f[$];const o=y.P+"."+y.U,s=A.tt.get(o),i=y.F;if(u){if((null==(r=y.I)?void 0:(""+r).includes("-"))&&"slot-fb"!==y.I&&!y.F.shadowRoot){const t=d(y.F);if(t){const n=Ht(t.o,e.mode?y.F.getAttribute("s-mode"):void 0),o=R.document.querySelector(`style[sty-id="${n}"]`);o&&m.unshift(o.cloneNode(!0))}}}else i["s-hn"]=Qn(n).toUpperCase(),"slot"===y.I&&(i["s-cr"]=t["s-cr"]);"slot"===y.I&&(y.D=y.F["s-sn"]||y.F.name||null,y.M?(y.u|=2,y.F.childNodes.length||y.M.forEach((t=>{y.F.appendChild(t.F)}))):y.u|=1),s&&s.isConnected&&(s.parentElement.shadowRoot&&""===s["s-en"]&&s.parentNode.insertBefore(i,s.nextSibling),s.parentNode.removeChild(s),u||(i["s-oo"]=parseInt(y.U))),s&&!s["s-id"]&&A.tt.delete(o)}const S=[],w=p.length;let j,x,C,_,E=0,N=0;for(;E<w;E++)if(j=p[E],j&&j.length)for(C=j.length,x=0;x<C;x++){if(_=j[x],S[_.hostId]||(S[_.hostId]=A.tt.get(_.hostId)),!S[_.hostId])continue;const t=S[_.hostId];t.shadowRoot&&_.node.parentElement!==t&&t.insertBefore(_.node,null==(l=null==(i=j[x-1])?void 0:i.node)?void 0:l.nextSibling),t.shadowRoot&&u||(_.slot["s-cr"]||(_.slot["s-cr"]=t["s-cr"],_.slot["s-cr"]=!_.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),st(_.node,_.slot,!1,_.node["s-oo"]||N),(null==(c=_.node.parentElement)?void 0:c.shadowRoot)&&_.node.getAttribute&&_.node.getAttribute("slot")&&_.node.removeAttribute("slot"),e.experimentalSlotFixes&&St(_.node)),N=(_.node["s-oo"]||N)+1}if(e.scoped&&g&&h.length&&h.forEach((t=>{t.F.parentElement.classList.add(g+"-s")})),e.shadowDom&&u&&!u.childNodes.length){let e=0;const n=m.length;if(n){for(;e<n;e++){const t=m[e];t&&u.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}s.$hostElement$=t,a()})(t,o.C,s,n)}if(e.slotRelocation&&!s&&(e.hydrateServerSide||(e.slot||e.shadowDom)&&12&o.u)&&Hn(t),e.asyncLoading){let o=t;for(;o=o.parentNode||o.host;)if(e.hydrateClientSide&&1===o.nodeType&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){gn(n,n.K=o);break}}e.prop&&!e.hydrateServerSide&&o.t&&Object.entries(o.t).map((([e,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];delete t[e],t[e]=n}})),e.initializeNextTick?q((()=>An(t,n,o))):An(t,n,o)}s()}},Hn=t=>{if(!R.document)return;const n=t["s-cr"]=R.document.createComment(e.isDebug?`content-ref (host=${t.localName})`:"");n["s-cn"]=!0,dn(t,n,t.firstChild)},Fn=(t,n)=>{e.lazyLoad&&En(t,"disconnectedCallback",void 0,n||t)},Pn=async t=>{if(!(1&A.u)){const n=d(t);e.hostListener&&(null==n?void 0:n.rt)&&(n.rt.map((t=>t())),n.rt=void 0),e.lazyLoad?(null==n?void 0:n.l)?Fn(n.l,t):(null==n?void 0:n.S)&&n.S.then((()=>Fn(n.l,t))):Fn(t)}Mt.has(t)&&Mt.delete(t),t.shadowRoot&&Mt.has(t.shadowRoot)&&Mt.delete(t.shadowRoot)},Un=(t,n)=>{const o={u:n[0],C:n[1]};try{e.member&&(o.t=n[2]),e.hostListener&&(o.st=n[3]),e.propChangeCallback&&(o.nt=t.nt,o.ot=t.ot,o.et=t.et),e.reflect&&(o.X=[]),e.shadowDom&&!D&&1&o.u&&(o.u|=8),!(1&o.u)&&256&o.u?e.experimentalSlotFixes?at(t.prototype):(e.slotChildNodesFix&&yt(t.prototype),e.cloneNodeFix&&ut(t.prototype),e.appendChildSlotFix&&ft(t.prototype),e.scopedSlotTextContentFix&&2&o.u&&bt(t.prototype)):e.cloneNodeFix&&ut(t.prototype),e.hydrateClientSide&&e.shadowDom&&Pt();const s=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){p(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=d(this);if(!t)return;Vn(this,t,o.st,!1),this.__hasHostListenerAttached=!0}In(this),s&&s.call(this)},disconnectedCallback(){Pn(this),r&&r.call(this)},__attachShadow(){if(D)if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.C}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else G.call(this,o);else this.shadowRoot=this}}),Object.defineProperty(t,"is",{value:o.C,configurable:!0}),Mn(t,o,3)}catch(e){return v(e),t}},Bn=(t,n={})=>{var o;if(e.profile&&performance.mark&&performance.mark("st:app:start"),(()=>{if(e.devTools){const t=R.stencil=R.stencil||{},e=t.inspect;t.inspect=t=>{let n=(t=>{const e=d(t);if(!e)return;const n=e.u,o=e.$hostElement$;return{renderCount:e.m,flags:{hasRendered:!!(2&n),hasConnected:!!(1&n),isWaitingForChildren:!!(4&n),isConstructingInstance:!!(8&n),isQueuedForUpdate:!!(16&n),hasInitializedComponent:!!(32&n),hasLoadedComponent:!!(64&n),isWatchReady:!!(128&n),isListenReady:!!(256&n),needsRerender:!!(512&n)},instanceValues:e.i,serializerValues:e.p,ancestorComponent:e.K,hostElement:o,lazyInstance:e.l,vnode:e.J,modeName:e.N,fetchedCbList:e.O,onReadyPromise:e.S,onReadyResolve:e.j,onInstancePromise:e.v,onInstanceResolve:e.$,onRenderResolve:e.q,queuedListeners:e.Z,rmListeners:e.rt,"s-id":o["s-id"],"s-cr":o["s-cr"],"s-lr":o["s-lr"],"s-p":o["s-p"],"s-rc":o["s-rc"],"s-sc":o["s-sc"]}})(t);return n||"function"!=typeof e||(n=e(t)),n}}})(),!R.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const s=Lt("bootstrapLazy"),r=[],i=n.exclude||[],l=R.customElements,c=R.document.head,a=c.querySelector("meta[charset]"),u=R.document.createElement("style"),f=[];let h,m=!0;Object.assign(A,n),A.k=new URL(n.resourcesUrl||"./",R.document.baseURI).href,e.asyncQueue&&n.syncQueue&&(A.u|=4),e.hydrateClientSide&&(A.u|=2),e.hydrateClientSide&&e.shadowDom&&Pt();let v=!1;if(t.map((t=>{t[1].map((o=>{var s,c,a;const u={u:o[0],C:o[1],t:o[2],st:o[3]};4&u.u&&(v=!0),e.member&&(u.t=o[2]),e.hostListener&&(u.st=o[3]),e.reflect&&(u.X=[]),e.propChangeCallback&&(u.nt=null!=(s=o[4])?s:{},u.et=null!=(c=o[5])?c:{},u.ot=null!=(a=o[6])?a:{}),e.shadowDom&&!D&&1&u.u&&(u.u|=8);const g=e.transformTagName&&n.transformTagName?n.transformTagName(u.C):Qn(u.C),$=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),p(t=this,u),e.shadowDom&&1&u.u)if(D)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${u.C}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else G.call(t,u);else e.hydrateServerSide||"shadowRoot"in t||(t.shadowRoot=t)}connectedCallback(){const t=d(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Vn(this,t,u.st,!1)),h&&(clearTimeout(h),h=null),m?f.push(this):A.jmp((()=>In(this))))}disconnectedCallback(){A.jmp((()=>Pn(this))),A.raf((()=>{var t;const e=d(this);if(!e)return;const n=f.findIndex((t=>t===this));n>-1&&f.splice(n,1),(null==(t=null==e?void 0:e.J)?void 0:t.F)instanceof Node&&!e.J.F.isConnected&&delete e.J.F}))}componentOnReady(){var t;return null==(t=d(this))?void 0:t.S}};!(1&u.u)&&256&u.u?e.experimentalSlotFixes?at($.prototype):(e.slotChildNodesFix&&yt($.prototype),e.cloneNodeFix&&ut($.prototype),e.appendChildSlotFix&&ft($.prototype),e.scopedSlotTextContentFix&&2&u.u&&bt($.prototype)):e.cloneNodeFix&&ut($.prototype),e.formAssociated&&64&u.u&&($.formAssociated=!0),e.hotModuleReplacement&&($.prototype["s-hmr"]=function(t){((t,e,n)=>{const o=d(t);o&&(o.u=1,An(t,o,e,n))})(this,u,t)}),u._=t[0],i.includes(g)||l.get(g)||(r.push(g),l.define(g,Mn($,u,1)))}))})),r.length>0&&(e.slotRelocation&&v&&(u.textContent+=k),e.invisiblePrehydration&&(e.hydratedClass||e.hydratedAttribute)&&(u.textContent+=r.sort()+"{visibility:hidden}.hydrated{visibility:inherit}"),u.innerHTML.length)){u.setAttribute("data-styles","");const t=null!=(o=A.T)?o:Rt(R.document);null!=t&&u.setAttribute("nonce",t),c.insertBefore(u,a?a.nextSibling:c.firstChild)}m=!1,f.length?f.map((t=>t.connectedCallback())):A.jmp(e.profile?()=>h=setTimeout(_n,30,"timeout"):()=>h=setTimeout(_n,30)),s()},zn=(t,e)=>e,Vn=(t,n,o,s)=>{e.hostListener&&o&&R.document&&(e.hostListenerTargetParent&&(o=o.filter(s?([t])=>32&t:([t])=>!(32&t))),o.map((([o,s,r])=>{const i=e.hostListenerTarget?Yn(R.document,t,o):t,l=Wn(n,r),c=Jn(o);A.ael(i,s,l,c),(n.rt=n.rt||[]).push((()=>A.rel(i,s,l,c)))})))},Wn=(t,n)=>o=>{var s;try{e.lazyLoad?256&t.u?null==(s=t.l)||s[n](o):(t.Z=t.Z||[]).push([n,o]):t.$hostElement$[n](o)}catch(e){v(e,t.$hostElement$)}},Yn=(t,n,o)=>e.hostListenerTargetDocument&&4&o?t:e.hostListenerTargetWindow&&8&o?R:e.hostListenerTargetBody&&16&o?t.body:e.hostListenerTargetParent&&32&o&&n.parentElement?n.parentElement:n,Jn=t=>({passive:!!(1&t),capture:!!(2&t)}),Xn=e.lazyLoad?class{}:globalThis.HTMLElement||class{},qn=t=>A.T=t,Kn=void 0;function Qn(t){return Kn?Kn(t):t}function Gn(t,e,n){const o=e||{},{children:s,...r}=o;let i=r;return void 0===n||"key"in r||(i={...r,key:n}),i&&0===Object.keys(i).length&&(i=null),void 0!==s?Array.isArray(s)?Bt(t,i,...s):Bt(t,i,s):Bt(t,i)}var Zn=(t,e,n,o)=>{var s;null!=e&&(null!=e["s-nr"]&&o.push(e),1===e.nodeType)&&[...Array.from(e.childNodes),...Array.from((null==(s=e.shadowRoot)?void 0:s.childNodes)||[])].forEach((e=>{const s=d(e);null==s||n.staticComponents.has(e.nodeName.toLowerCase())||to(t,e,s.J,n,{nodeIds:0}),Zn(t,e,n,o)}))},to=(t,e,n,o,s)=>{if(null!=n){const r=++o.hostIds;if(e.setAttribute(O,r),null!=e["s-cr"]&&(e["s-cr"].nodeValue="r."+r),null!=n.M){const e=0;n.M.forEach(((n,o)=>{eo(t,n,s,r,e,o)}))}if(e&&n&&n.F&&!e.hasAttribute(_)){const t=e.parentElement;if(t&&t.childNodes){const o=Array.from(t.childNodes),s=o.find((t=>8===t.nodeType&&t["s-sr"]));if(s){const t=o.indexOf(e)-1;n.F.setAttribute(_,`${s["s-host-id"]}.${s["s-node-id"]}.0.${t}`)}}}}},eo=(t,e,n,o,s,r)=>{const i=e.F;if(null==i)return;const l=n.nodeIds++,c=`${o}.${l}.${s}.${r}`;if(i["s-host-id"]=o,i["s-node-id"]=l,1===i.nodeType)i.setAttribute(_,c),"string"!=typeof i["s-sn"]||i.getAttribute("slot")||i.setAttribute("s-sn",i["s-sn"]);else if(3===i.nodeType){const e=i.parentNode,n=null==e?void 0:e.nodeName;if("STYLE"!==n&&"SCRIPT"!==n){const n=t.createComment("t."+c);dn(e,n,i)}}else 8===i.nodeType&&i["s-sr"]&&(i.nodeValue=`s.${c}.${i["s-sn"]||""}`);if(null!=e.M){const r=s+1;e.M.forEach(((e,s)=>{eo(t,e,n,o,r,s)}))}},no=Object.freeze({__proto__:null,BUILD:e,Build:n,Env:{},Fragment:zn,H:M,HTMLElement:M,HYDRATED_STYLE_ID:C,Host:Vt,Mixin:function(...t){return t.reduceRight(((t,e)=>e(t)),Xn)},NAMESPACE:t,STENCIL_DEV_MODE:g,addHostEventListeners:Vn,bootstrapLazy:Bn,cmpModules:S,connectedCallback:In,consoleDevError:$,consoleDevInfo:y,consoleDevWarn:b,consoleError:v,createEvent:He,defineCustomElement:(t,e)=>{customElements.define(Qn(e[1]),Un(t,e))},disconnectedCallback:Pn,forceModeUpdate:t=>{if(e.style&&e.mode&&!e.lazyLoad){const e=Me(t),n=d(t);if(n&&n.N!==e){const o=n.o,s=t["s-sc"],r=Ht(o,e),i=t.constructor.style[e],l=o.u;i&&(j.has(r)||At(r,i,!!(1&l)),n.N=e,t.classList.remove(s+"-h",s+"-s"),It(n),Cn(t))}}},forceUpdate:Cn,getAssetPath:t=>{const e=new URL(t,A.k);return e.origin!==R.location.origin?e.href:e.pathname},getElement:Ie,getHostRef:d,getMode:t=>{var e;return null==(e=d(t))?void 0:e.N},getRenderingRef:()=>jn,getValue:Ln,h:Bt,insertVdomAnnotations:(t,e)=>{if(null!=t){const n=E in t?t[E]:{...N};n.staticComponents=new Set(e);const o=[];Zn(t,t.body,n,o),o.forEach((e=>{var o;if(null!=e&&e["s-nr"]){const s=e["s-nr"];let r=s["s-host-id"],i=s["s-node-id"],l=`${r}.${i}`;if(null==r)if(r=0,n.rootLevelIds++,i=n.rootLevelIds,l=`${r}.${i}`,1===s.nodeType)s.setAttribute(_,l),"string"!=typeof s["s-sn"]||s.getAttribute("slot")||s.setAttribute("s-sn",s["s-sn"]);else if(3===s.nodeType){if(0===r&&""===(null==(o=s.nodeValue)?void 0:o.trim()))return void e.remove();const n=t.createComment(l);n.nodeValue="t."+l,dn(s.parentNode,n,s)}else if(8===s.nodeType){const e=t.createComment(l);e.nodeValue="c."+l,s.parentNode.insertBefore(e,s)}let c="o."+l;const a=e.parentElement;a&&(""===a["s-en"]?c+=".":"c"===a["s-en"]&&(c+=".c")),e.nodeValue=c}}))}},isMemberInElement:m,jsx:Gn,jsxDEV:function(t,e,n){const o=e||{},{children:s,...r}=o;let i=r;return void 0===n||"key"in r||(i={...r,key:n}),i&&0===Object.keys(i).length&&(i=null),void 0!==s?Array.isArray(s)?Bt(t,i,...s):Bt(t,i,s):Bt(t,i)},jsxs:function(t,e,n){return Gn(t,e,n)},loadModule:w,modeResolutionChain:x,needsScopedSSR:()=>!1,nextTick:q,parsePropertyValue:De,plt:A,postUpdateComponent:On,promiseResolve:I,proxyComponent:Mn,proxyCustomElement:Un,readTask:K,registerHost:p,registerInstance:h,render:function(t,e){pn({o:{u:0,C:e.tagName},$hostElement$:e},t)},renderVdom:pn,setAssetPath:t=>A.k=t,setErrorHandler:t=>a=t,setMode:t=>x.push(t),setNonce:qn,setPlatformHelpers:t=>{Object.assign(A,t)},setPlatformOptions:t=>Object.assign(A,t),setScopedSSR:()=>{},setTagTransformer:function(t){Kn&&console.warn("\n A tagTransformer has already been set. \n Overwriting it may lead to error and unexpected results if your components have already been defined.\n "),Kn=t},setValue:Rn,styles:j,supportsConstructableStylesheets:H,supportsListenerOptions:!0,supportsMutableAdoptedStyleSheets:F,supportsShadow:D,transformTag:Qn,win:R,writeTask:Q});export{e as B,zn as F,M as H,t as N,no as S,Vt as a,Bn as b,y as c,He as d,Cn as f,Ie as g,Bt as h,I as p,h as r,qn as s,R as w}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t,c as e,o as a,f as i,s as o,b as s,h as p,d as n}from"./p-
|
|
1
|
+
import{a as t,c as e,o as a,f as i,s as o,b as s,h as p,d as n}from"./p-zRaH89Qj.js";function r(r){const{referenceElement:l,tipRef:c,tipArrowRef:d,placementTip:m,topPositionSmallViewPort:f,halfMainAxisOffset:b,forceVisible:x,restrictContentElement:g}=r;return t(l,c,(()=>{const t=d.offsetWidth,r=Math.sqrt(2*t**2),h=b?r/2:r,y=t*Math.sqrt(2)*1.5,j=f&&document.body.clientWidth<992,w=j?"top":m;e(l,c,{strategy:"fixed",middleware:[a({mainAxis:h,alignmentAxis:-y}),i({padding:5}),o({padding:5}),s({padding:t,element:d}),p({padding:t+5}),g&&n({apply({availableHeight:t,availableWidth:e}){Object.assign(g.style,{maxHeight:t-5+"px",maxWidth:e-10+"px"})}})],placement:w}).then((({x:e,y:a,middlewareData:i,placement:o,strategy:s})=>{if(i.hide){const t=!j&&!x&&i.hide.referenceHidden;Object.assign(c.style,{visibility:t?"hidden":"visible",opacity:t?0:1})}Object.assign(c.style,{left:`${e}px`,top:`${a}px`,strategy:s});const p=o.split("-")[0],n=p?{top:"bottom",right:"left",bottom:"top",left:"right"}[p]:"top";let r;switch(n){default:case"top":r=45;break;case"right":r=135;break;case"bottom":r=225;break;case"left":r=315}if(i.arrow&&n){const{x:e,y:a}=i.arrow;Object.assign(d.style,{right:"",bottom:"",left:e?`${e}px`:"",top:a?`${a}px`:"",[n]:-t/2+"px",transform:`rotate(${r}deg)`})}}))}))}export{r as p}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as o}from"./p-BIfnbekk.js";import{c as i}from"./p-ChV9xqsO.js";const s=({visible:s,onAfterHidden:t,tipElementRef:e,tipArrowElementRef:r},n)=>o("div",{popover:"manual",class:i(["dso-tooltip",{visible:s}]),ref:e,onTransitionEnd:o=>{o.stopPropagation(),"opacity"!==o.propertyName||s||t?.()}},o("span",{class:"tooltip-arrow",ref:r}),o("div",{class:"tooltip-inner"},n));export{s as T}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as s}from"./p-BIfnbekk.js";const e=({wijzigactie:e,class:i},a)=>"voegtoe"===e?s("ins",{class:i},a):"verwijder"===e?s("del",{class:i},a):i?s("div",{class:i},a):a;export{e as W}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as o,F as l}from"./p-BIfnbekk.js";const s=({values:s})=>o(l,null,s?.map(((s,e)=>o(l,null,e>0&&", ",o("dso-renvooi",{value:s})))));export{s as A}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t=[];for(let r=0;r<256;++r)t.push((r+256).toString(16).slice(1));let r;const o=new Uint8Array(16);var n={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function e(e){return n.randomUUID&&!e?n.randomUUID():function(n){const e=(n=n||{}).random??n.rng?.()??function(){if(!r){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");r=crypto.getRandomValues.bind(crypto)}return r(o)}();if(e.length<16)throw new Error("Random bytes length must be >= 16");return e[6]=15&e[6]|64,e[8]=63&e[8]|128,function(r,o=0){return(t[r[o+0]]+t[r[o+1]]+t[r[o+2]]+t[r[o+3]]+"-"+t[r[o+4]]+t[r[o+5]]+"-"+t[r[o+6]]+t[r[o+7]]+"-"+t[r[o+8]]+t[r[o+9]]+"-"+t[r[o+10]]+t[r[o+11]]+t[r[o+12]]+t[r[o+13]]+t[r[o+14]]+t[r[o+15]]).toLowerCase()}(e)}(e)}export{e as v}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as e,F as t}from"./p-BIfnbekk.js";const n=({mark:n,text:r,emitMarkItemHighlight:o})=>{const i=n(r);return e(t,null,i&&0!==i.length?i.map((n=>"string"==typeof n?e(t,null,n):e("mark",{class:n.highlight?"dso-highlight":void 0,ref:e=>n.highlight&&e&&o(n.text,e)},n.text))):r)},r=new DOMParser;function o(e){if(!e)return;const t=r.parseFromString(e,"application/xml");if(!t.querySelector("parsererror"))return t;console.error({message:"Unable to parse XML",input:e,document:t},null,2)}function i(e){const t=e instanceof Element?e.getAttribute("wijzigactie"):void 0;return"voegtoe"===t||"verwijder"===t?t:void 0}export{n as M,i as a,o as p}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t=t=>"string"==typeof t,s=()=>{let t,s;const i=new Promise(((i,e)=>{t=i,s=e}));return i.resolve=t,i.reject=s,i},i=t=>null==t?"":""+t,e=/###/g,n=t=>t&&t.indexOf("###")>-1?t.replace(e,"."):t,o=s=>!s||t(s),r=(s,i,e)=>{const r=t(i)?i.split("."):i;let h=0;for(;h<r.length-1;){if(o(s))return{};const t=n(r[h]);!s[t]&&e&&(s[t]=new e),s=Object.prototype.hasOwnProperty.call(s,t)?s[t]:{},++h}return o(s)?{}:{obj:s,k:n(r[h])}},h=(t,s,i)=>{const{obj:e,k:n}=r(t,s,Object);if(void 0!==e||1===s.length)return void(e[n]=i);let o=s[s.length-1],h=s.slice(0,s.length-1),a=r(t,h,Object);for(;void 0===a.obj&&h.length;)o=`${h[h.length-1]}.${o}`,h=h.slice(0,h.length-1),a=r(t,h,Object),a?.obj&&void 0!==a.obj[`${a.k}.${o}`]&&(a.obj=void 0);a.obj[`${a.k}.${o}`]=i},a=(t,s)=>{const{obj:i,k:e}=r(t,s);if(i&&Object.prototype.hasOwnProperty.call(i,e))return i[e]},c=(s,i,e)=>{for(const n in i)"__proto__"!==n&&"constructor"!==n&&(n in s?t(s[n])||s[n]instanceof String||t(i[n])||i[n]instanceof String?e&&(s[n]=i[n]):c(s[n],i[n],e):s[n]=i[n]);return s},l=t=>t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var u={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const d=s=>t(s)?s.replace(/[&<>"'\/]/g,(t=>u[t])):s,f=[" ",",","?","!",";"],p=new class{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const s=this.regExpMap.get(t);if(void 0!==s)return s;const i=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,i),this.regExpQueue.push(t),i}}(20),g=(t,s,i=".")=>{if(!t)return;if(t[s]){if(!Object.prototype.hasOwnProperty.call(t,s))return;return t[s]}const e=s.split(i);let n=t;for(let t=0;t<e.length;){if(!n||"object"!=typeof n)return;let s,o="";for(let r=t;r<e.length;++r)if(r!==t&&(o+=i),o+=e[r],s=n[o],void 0!==s){if(["string","number","boolean"].indexOf(typeof s)>-1&&r<e.length-1)continue;t+=r-t+1;break}n=s}return n},y=t=>t?.replace(/_/g,"-"),m={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,s){console?.[t]?.apply?.(console,s)}};class v{constructor(t,s={}){this.init(t,s)}init(t,s={}){this.prefix=s.prefix||"i18next:",this.logger=t||m,this.options=s,this.debug=s.debug}log(...t){return this.forward(t,"log","",!0)}warn(...t){return this.forward(t,"warn","",!0)}error(...t){return this.forward(t,"error","")}deprecate(...t){return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(s,i,e,n){return n&&!this.debug?null:(t(s[0])&&(s[0]=`${e}${this.prefix} ${s[0]}`),this.logger[i](s))}create(t){return new v(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return(t=t||this.options).prefix=t.prefix||this.prefix,new v(this.logger,t)}}var $=new v;class b{constructor(){this.observers={}}on(t,s){return t.split(" ").forEach((t=>{this.observers[t]||(this.observers[t]=new Map);const i=this.observers[t].get(s)||0;this.observers[t].set(s,i+1)})),this}off(t,s){this.observers[t]&&(s?this.observers[t].delete(s):delete this.observers[t])}emit(t,...s){this.observers[t]&&Array.from(this.observers[t].entries()).forEach((([t,i])=>{for(let e=0;e<i;e++)t(...s)})),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach((([i,e])=>{for(let n=0;n<e;n++)i.apply(i,[t,...s])}))}}class x extends b{constructor(t,s={ns:["translation"],defaultNS:"translation"}){super(),this.data=t||{},this.options=s,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const s=this.options.ns.indexOf(t);s>-1&&this.options.ns.splice(s,1)}getResource(s,i,e,n={}){const o=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,r=void 0!==n.ignoreJSONStructure?n.ignoreJSONStructure:this.options.ignoreJSONStructure;let h;s.indexOf(".")>-1?h=s.split("."):(h=[s,i],e&&(Array.isArray(e)?h.push(...e):t(e)&&o?h.push(...e.split(o)):h.push(e)));const c=a(this.data,h);return!c&&!i&&!e&&s.indexOf(".")>-1&&(s=h[0],i=h[1],e=h.slice(2).join(".")),!c&&r&&t(e)?g(this.data?.[s]?.[i],e,o):c}addResource(t,s,i,e,n={silent:!1}){const o=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator;let r=[t,s];i&&(r=r.concat(o?i.split(o):i)),t.indexOf(".")>-1&&(r=t.split("."),e=s,s=r[1]),this.addNamespaces(s),h(this.data,r,e),n.silent||this.emit("added",t,s,i,e)}addResources(s,i,e,n={silent:!1}){for(const n in e)(t(e[n])||Array.isArray(e[n]))&&this.addResource(s,i,n,e[n],{silent:!0});n.silent||this.emit("added",s,i,e)}addResourceBundle(t,s,i,e,n,o={silent:!1,skipCopy:!1}){let r=[t,s];t.indexOf(".")>-1&&(r=t.split("."),e=i,i=s,s=r[1]),this.addNamespaces(s);let l=a(this.data,r)||{};o.skipCopy||(i=JSON.parse(JSON.stringify(i))),e?c(l,i,n):l={...l,...i},h(this.data,r,l),o.silent||this.emit("added",t,s,i)}removeResourceBundle(t,s){this.hasResourceBundle(t,s)&&delete this.data[t][s],this.removeNamespaces(s),this.emit("removed",t,s)}hasResourceBundle(t,s){return void 0!==this.getResource(t,s)}getResourceBundle(t,s){return s||(s=this.options.defaultNS),this.getResource(t,s)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const s=this.getDataByLanguage(t);return!!(s&&Object.keys(s)||[]).find((t=>s[t]&&Object.keys(s[t]).length>0))}toJSON(){return this.data}}var w={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,s,i,e,n){return t.forEach((t=>{s=this.processors[t]?.process(s,i,e,n)??s})),s}};const j=Symbol("i18next/PATH_KEY");function O(t,s){const{[j]:i}=t(function(){const t=[],s=Object.create(null);let i;return s.get=(e,n)=>(i?.revoke?.(),n===j?t:(t.push(n),i=Proxy.revocable(e,s),i.proxy)),Proxy.revocable(Object.create(null),s).proxy}()),e=s?.keySeparator??".",n=s?.nsSeparator??":";if(i.length>1&&n){const t=s?.ns,o=Array.isArray(t)?t:null;if(o&&o.length>1&&o.slice(1).includes(i[0]))return`${i[0]}${n}${i.slice(1).join(e)}`}return i.join(e)}const S={},k=s=>!t(s)&&"boolean"!=typeof s&&"number"!=typeof s;class N extends b{constructor(t,s={}){var i,e;super(),i=t,e=this,["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((t=>{i[t]&&(e[t]=i[t])})),this.options=s,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=$.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t,s={interpolation:{}}){const i={...s};if(null==t)return!1;const e=this.resolve(t,i);if(void 0===e?.res)return!1;const n=k(e.res);return!1!==i.returnObjects||!n}extractFromKey(s,i){let e=void 0!==i.nsSeparator?i.nsSeparator:this.options.nsSeparator;void 0===e&&(e=":");const n=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator;let o=i.ns||this.options.defaultNS||[];const r=e&&s.indexOf(e)>-1,h=!(this.options.userDefinedKeySeparator||i.keySeparator||this.options.userDefinedNsSeparator||i.nsSeparator||((t,s,i)=>{s=s||"",i=i||"";const e=f.filter((t=>s.indexOf(t)<0&&i.indexOf(t)<0));if(0===e.length)return!0;const n=p.getRegExp(`(${e.map((t=>"?"===t?"\\?":t)).join("|")})`);let o=!n.test(t);if(!o){const s=t.indexOf(i);s>0&&!n.test(t.substring(0,s))&&(o=!0)}return o})(s,e,n));if(r&&!h){const i=s.match(this.interpolator.nestingRegexp);if(i&&i.length>0)return{key:s,namespaces:t(o)?[o]:o};const r=s.split(e);(e!==n||e===n&&this.options.ns.indexOf(r[0])>-1)&&(o=r.shift()),s=r.join(n)}return{key:s,namespaces:t(o)?[o]:o}}translate(s,i,e){let n="object"==typeof i?{...i}:i;if("object"!=typeof n&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof n&&(n={...n}),n||(n={}),null==s)return"";"function"==typeof s&&(s=O(s,{...this.options,...n})),Array.isArray(s)||(s=[String(s)]),s=s.map((t=>"function"==typeof t?O(t,{...this.options,...n}):String(t)));const o=void 0!==n.returnDetails?n.returnDetails:this.options.returnDetails,r=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,{key:h,namespaces:a}=this.extractFromKey(s[s.length-1],n),c=a[a.length-1];let l=void 0!==n.nsSeparator?n.nsSeparator:this.options.nsSeparator;void 0===l&&(l=":");const u=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if("cimode"===u?.toLowerCase())return d?o?{res:`${c}${l}${h}`,usedKey:h,exactUsedKey:h,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:`${c}${l}${h}`:o?{res:h,usedKey:h,exactUsedKey:h,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:h;const f=this.resolve(s,n);let p=f?.res;const g=f?.usedKey||h,y=f?.exactUsedKey||h,m=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject,$=void 0!==n.count&&!t(n.count),b=N.hasDefaultValue(n),x=$?this.pluralResolver.getSuffix(u,n.count,n):"",w=n.ordinal&&$?this.pluralResolver.getSuffix(u,n.count,{ordinal:!1}):"",j=$&&!n.ordinal&&0===n.count,S=j&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${x}`]||n[`defaultValue${w}`]||n.defaultValue;let L=p;v&&!p&&b&&(L=S);const R=k(L),P=Object.prototype.toString.apply(L);if(!(v&&L&&R&&["[object Number]","[object Function]","[object RegExp]"].indexOf(P)<0)||t(m)&&Array.isArray(L))if(v&&t(m)&&Array.isArray(p))p=p.join(m),p&&(p=this.extendTranslation(p,s,n,e));else{let t=!1,i=!1;!this.isValidLookup(p)&&b&&(t=!0,p=S),this.isValidLookup(p)||(i=!0,p=h);const o=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&i?void 0:p,a=b&&S!==p&&this.options.updateMissing;if(i||t||a){if(this.logger.log(a?"updateKey":"missingKey",u,c,h,a?S:p),r){const t=this.resolve(h,{...n,keySeparator:!1});t&&t.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let t=[];const s=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&s&&s[0])for(let i=0;i<s.length;i++)t.push(s[i]);else"all"===this.options.saveMissingTo?t=this.languageUtils.toResolveHierarchy(n.lng||this.language):t.push(n.lng||this.language);const i=(t,s,i)=>{const e=b&&i!==p?i:o;this.options.missingKeyHandler?this.options.missingKeyHandler(t,c,s,e,a,n):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(t,c,s,e,a,n),this.emit("missingKey",t,c,s,p)};this.options.saveMissing&&(this.options.saveMissingPlurals&&$?t.forEach((t=>{const s=this.pluralResolver.getSuffixes(t,n);j&&n[`defaultValue${this.options.pluralSeparator}zero`]&&s.indexOf(`${this.options.pluralSeparator}zero`)<0&&s.push(`${this.options.pluralSeparator}zero`),s.forEach((s=>{i([t],h+s,n[`defaultValue${s}`]||S)}))})):i(t,h,S))}p=this.extendTranslation(p,s,n,f,e),i&&p===h&&this.options.appendNamespaceToMissingKey&&(p=`${c}${l}${h}`),(i||t)&&this.options.parseMissingKeyHandler&&(p=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}${l}${h}`:h,t?p:void 0,n))}else{if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const t=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,L,{...n,ns:a}):`key '${h} (${this.language})' returned an object instead of string.`;return o?(f.res=t,f.usedParams=this.getUsedParamsDetails(n),f):t}if(r){const t=Array.isArray(L),s=t?[]:{},i=t?y:g;for(const t in L)if(Object.prototype.hasOwnProperty.call(L,t)){const e=`${i}${r}${t}`;s[t]=this.translate(e,b&&!p?{...n,defaultValue:k(S)?S[t]:void 0,joinArrays:!1,ns:a}:{...n,joinArrays:!1,ns:a}),s[t]===e&&(s[t]=L[t])}p=s}}return o?(f.res=p,f.usedParams=this.getUsedParamsDetails(n),f):p}extendTranslation(s,i,e,n,o){if(this.i18nFormat?.parse)s=this.i18nFormat.parse(s,{...this.options.interpolation.defaultVariables,...e},e.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!e.skipInterpolation){e.interpolation&&this.interpolator.init({...e,interpolation:{...this.options.interpolation,...e.interpolation}});const r=t(s)&&(void 0!==e?.interpolation?.skipOnVariables?e.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let h;if(r){const t=s.match(this.interpolator.nestingRegexp);h=t&&t.length}let a=e.replace&&!t(e.replace)?e.replace:e;if(this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),s=this.interpolator.interpolate(s,a,e.lng||this.language||n.usedLng,e),r){const t=s.match(this.interpolator.nestingRegexp);h<(t&&t.length)&&(e.nest=!1)}!e.lng&&n&&n.res&&(e.lng=this.language||n.usedLng),!1!==e.nest&&(s=this.interpolator.nest(s,((...t)=>o?.[0]!==t[0]||e.context?this.translate(...t,i):(this.logger.warn(`It seems you are nesting recursively key: ${t[0]} in key: ${i[0]}`),null)),e)),e.interpolation&&this.interpolator.reset()}const r=e.postProcess||this.options.postProcess,h=t(r)?[r]:r;return null!=s&&h?.length&&!1!==e.applyPostProcessor&&(s=w.handle(h,s,i,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...n,usedParams:this.getUsedParamsDetails(e)},...e}:e,this)),s}resolve(s,i={}){let e,n,o,r,h;return t(s)&&(s=[s]),Array.isArray(s)&&(s=s.map((t=>"function"==typeof t?O(t,{...this.options,...i}):t))),s.forEach((s=>{if(this.isValidLookup(e))return;const a=this.extractFromKey(s,i),c=a.key;n=c;let l=a.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));const u=void 0!==i.count&&!t(i.count),d=u&&!i.ordinal&&0===i.count,f=void 0!==i.context&&(t(i.context)||"number"==typeof i.context)&&""!==i.context,p=i.lngs?i.lngs:this.languageUtils.toResolveHierarchy(i.lng||this.language,i.fallbackLng);l.forEach((t=>{this.isValidLookup(e)||(h=t,S[`${p[0]}-${t}`]||!this.utils?.hasLoadedNamespace||this.utils?.hasLoadedNamespace(h)||(S[`${p[0]}-${t}`]=!0,this.logger.warn(`key "${n}" for languages "${p.join(", ")}" won't get resolved as namespace "${h}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach((s=>{if(this.isValidLookup(e))return;r=s;const n=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(n,c,s,t,i);else{let t;u&&(t=this.pluralResolver.getSuffix(s,i.count,i));const e=`${this.options.pluralSeparator}zero`,o=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(i.ordinal&&0===t.indexOf(o)&&n.push(c+t.replace(o,this.options.pluralSeparator)),n.push(c+t),d&&n.push(c+e)),f){const s=`${c}${this.options.contextSeparator||"_"}${i.context}`;n.push(s),u&&(i.ordinal&&0===t.indexOf(o)&&n.push(s+t.replace(o,this.options.pluralSeparator)),n.push(s+t),d&&n.push(s+e))}}let h;for(;h=n.pop();)this.isValidLookup(e)||(o=h,e=this.getResource(s,t,h,i))})))}))})),{res:e,usedKey:n,exactUsedKey:o,usedLng:r,usedNS:h}}isValidLookup(t){return!(void 0===t||!this.options.returnNull&&null===t||!this.options.returnEmptyString&&""===t)}getResource(t,s,i,e={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(t,s,i,e):this.resourceStore.getResource(t,s,i,e)}getUsedParamsDetails(s={}){const i=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],e=s.replace&&!t(s.replace);let n=e?s.replace:s;if(e&&void 0!==s.count&&(n.count=s.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!e){n={...n};for(const t of i)delete n[t]}return n}static hasDefaultValue(t){for(const s in t)if(Object.prototype.hasOwnProperty.call(t,s)&&"defaultValue"===s.substring(0,12)&&void 0!==t[s])return!0;return!1}}class L{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=$.create("languageUtils")}getScriptPartFromCode(t){if(!(t=y(t))||t.indexOf("-")<0)return null;const s=t.split("-");return 2===s.length?null:(s.pop(),"x"===s[s.length-1].toLowerCase()?null:this.formatLanguageCode(s.join("-")))}getLanguagePartFromCode(t){if(!(t=y(t))||t.indexOf("-")<0)return t;const s=t.split("-");return this.formatLanguageCode(s[0])}formatLanguageCode(s){if(t(s)&&s.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(s)[0]}catch(t){}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?s.toLowerCase():s)}return this.options.cleanCode||this.options.lowerCaseLng?s.toLowerCase():s}isSupportedCode(t){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let s;return t.forEach((t=>{if(s)return;const i=this.formatLanguageCode(t);this.options.supportedLngs&&!this.isSupportedCode(i)||(s=i)})),!s&&this.options.supportedLngs&&t.forEach((t=>{if(s)return;const i=this.getScriptPartFromCode(t);if(this.isSupportedCode(i))return s=i;const e=this.getLanguagePartFromCode(t);if(this.isSupportedCode(e))return s=e;s=this.options.supportedLngs.find((t=>t===e?t:t.indexOf("-")<0&&e.indexOf("-")<0?void 0:t.indexOf("-")>0&&e.indexOf("-")<0&&t.substring(0,t.indexOf("-"))===e||0===t.indexOf(e)&&e.length>1?t:void 0))})),s||(s=this.getFallbackCodes(this.options.fallbackLng)[0]),s}getFallbackCodes(s,i){if(!s)return[];if("function"==typeof s&&(s=s(i)),t(s)&&(s=[s]),Array.isArray(s))return s;if(!i)return s.default||[];let e=s[i];return e||(e=s[this.getScriptPartFromCode(i)]),e||(e=s[this.formatLanguageCode(i)]),e||(e=s[this.getLanguagePartFromCode(i)]),e||(e=s.default),e||[]}toResolveHierarchy(s,i){const e=this.getFallbackCodes((!1===i?[]:i)||this.options.fallbackLng||[],s),n=[],o=t=>{t&&(this.isSupportedCode(t)?n.push(t):this.logger.warn(`rejecting language code not found in supportedLngs: ${t}`))};return t(s)&&(s.indexOf("-")>-1||s.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(s)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(s)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(s))):t(s)&&o(this.formatLanguageCode(s)),e.forEach((t=>{n.indexOf(t)<0&&o(this.formatLanguageCode(t))})),n}}const R={zero:0,one:1,two:2,few:3,many:4,other:5},P={select:t=>1===t?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class E{constructor(t,s={}){this.languageUtils=t,this.options=s,this.logger=$.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(t,s={}){const i=y("dev"===t?"en":t),e=s.ordinal?"ordinal":"cardinal",n=JSON.stringify({cleanedCode:i,type:e});if(n in this.pluralRulesCache)return this.pluralRulesCache[n];let o;try{o=new Intl.PluralRules(i,{type:e})}catch(i){if("undefined"==typeof Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),P;if(!t.match(/-|_/))return P;const e=this.languageUtils.getLanguagePartFromCode(t);o=this.getRule(e,s)}return this.pluralRulesCache[n]=o,o}needsPlural(t,s={}){let i=this.getRule(t,s);return i||(i=this.getRule("dev",s)),i?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(t,s,i={}){return this.getSuffixes(t,i).map((t=>`${s}${t}`))}getSuffixes(t,s={}){let i=this.getRule(t,s);return i||(i=this.getRule("dev",s)),i?i.resolvedOptions().pluralCategories.sort(((t,s)=>R[t]-R[s])).map((t=>`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${t}`)):[]}getSuffix(t,s,i={}){const e=this.getRule(t,i);return e?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${e.select(s)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",s,i))}}const C=(s,i,e,n=".",o=!0)=>{let r=((t,s,i)=>{const e=a(t,i);return void 0!==e?e:a(s,i)})(s,i,e);return!r&&o&&t(e)&&(r=g(s,e,n),void 0===r&&(r=g(i,e,n))),r},I=t=>t.replace(/\$/g,"$$$$");class T{constructor(t={}){this.logger=$.create("interpolator"),this.options=t,this.format=t?.interpolation?.format||(t=>t),this.init(t)}init(t={}){t.interpolation||(t.interpolation={escapeValue:!0});const{escape:s,escapeValue:i,useRawValueToEscape:e,prefix:n,prefixEscaped:o,suffix:r,suffixEscaped:h,formatSeparator:a,unescapeSuffix:c,unescapePrefix:u,nestingPrefix:f,nestingPrefixEscaped:p,nestingSuffix:g,nestingSuffixEscaped:y,nestingOptionsSeparator:m,maxReplaces:v,alwaysFormat:$}=t.interpolation;this.escape=void 0!==s?s:d,this.escapeValue=void 0===i||i,this.useRawValueToEscape=void 0!==e&&e,this.prefix=n?l(n):o||"{{",this.suffix=r?l(r):h||"}}",this.formatSeparator=a||",",this.unescapePrefix=c?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=f?l(f):p||l("$t("),this.nestingSuffix=g?l(g):y||l(")"),this.nestingOptionsSeparator=m||",",this.maxReplaces=v||1e3,this.alwaysFormat=void 0!==$&&$,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(t,s)=>t?.source===s?(t.lastIndex=0,t):new RegExp(s,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(s,e,n,o){let r,h,a;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},l=t=>{if(t.indexOf(this.formatSeparator)<0){const s=C(e,c,t,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(s,void 0,n,{...o,...e,interpolationkey:t}):s}const s=t.split(this.formatSeparator),i=s.shift().trim(),r=s.join(this.formatSeparator).trim();return this.format(C(e,c,i,this.options.keySeparator,this.options.ignoreJSONStructure),r,n,{...o,...e,interpolationkey:i})};this.resetRegExp();const u=o?.missingInterpolationHandler||this.options.missingInterpolationHandler,d=void 0!==o?.interpolation?.skipOnVariables?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:t=>I(t)},{regex:this.regexp,safeValue:t=>I(this.escapeValue?this.escape(t):t)}].forEach((e=>{for(a=0;r=e.regex.exec(s);){const n=r[1].trim();if(h=l(n),void 0===h)if("function"==typeof u){const i=u(s,r,o);h=t(i)?i:""}else if(o&&Object.prototype.hasOwnProperty.call(o,n))h="";else{if(d){h=r[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${s}`),h=""}else t(h)||this.useRawValueToEscape||(h=i(h));const c=e.safeValue(h);if(s=s.replace(r[0],c),d?(e.regex.lastIndex+=h.length,e.regex.lastIndex-=r[0].length):e.regex.lastIndex=0,a++,a>=this.maxReplaces)break}})),s}nest(s,e,n={}){let o,r,h;const a=(t,s)=>{const i=this.nestingOptionsSeparator;if(t.indexOf(i)<0)return t;const e=t.split(new RegExp(`${l(i)}[ ]*{`));let n=`{${e[1]}`;t=e[0],n=this.interpolate(n,h);const o=n.match(/'/g),r=n.match(/"/g);((o?.length??0)%2==0&&!r||(r?.length??0)%2!=0)&&(n=n.replace(/'/g,'"'));try{h=JSON.parse(n),s&&(h={...s,...h})}catch(s){return this.logger.warn(`failed parsing options string in nesting for key ${t}`,s),`${t}${i}${n}`}return h.defaultValue&&h.defaultValue.indexOf(this.prefix)>-1&&delete h.defaultValue,t};for(;o=this.nestingRegexp.exec(s);){let c=[];h={...n},h=h.replace&&!t(h.replace)?h.replace:h,h.applyPostProcessor=!1,delete h.defaultValue;const l=/{.*}/.test(o[1])?o[1].lastIndexOf("}")+1:o[1].indexOf(this.formatSeparator);if(-1!==l&&(c=o[1].slice(l).split(this.formatSeparator).map((t=>t.trim())).filter(Boolean),o[1]=o[1].slice(0,l)),r=e(a.call(this,o[1].trim(),h),h),r&&o[0]===s&&!t(r))return r;t(r)||(r=i(r)),r||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${s}`),r=""),c.length&&(r=c.reduce(((t,s)=>this.format(t,s,n.lng,{...n,interpolationkey:o[1].trim()})),r.trim())),s=s.replace(o[0],r),this.regexp.lastIndex=0}return s}}const A=t=>{const s={};return(i,e,n)=>{let o=n;n&&n.interpolationkey&&n.formatParams&&n.formatParams[n.interpolationkey]&&n[n.interpolationkey]&&(o={...o,[n.interpolationkey]:void 0});const r=e+JSON.stringify(o);let h=s[r];return h||(h=t(y(e),n),s[r]=h),h(i)}},z=t=>(s,i,e)=>t(y(i),e)(s);class V{constructor(t={}){this.logger=$.create("formatter"),this.options=t,this.init(t)}init(t,s={interpolation:{}}){this.formatSeparator=s.interpolation.formatSeparator||",";const i=s.cacheInBuiltFormats?A:z;this.formats={number:i(((t,s)=>{const i=new Intl.NumberFormat(t,{...s});return t=>i.format(t)})),currency:i(((t,s)=>{const i=new Intl.NumberFormat(t,{...s,style:"currency"});return t=>i.format(t)})),datetime:i(((t,s)=>{const i=new Intl.DateTimeFormat(t,{...s});return t=>i.format(t)})),relativetime:i(((t,s)=>{const i=new Intl.RelativeTimeFormat(t,{...s});return t=>i.format(t,s.range||"day")})),list:i(((t,s)=>{const i=new Intl.ListFormat(t,{...s});return t=>i.format(t)}))}}add(t,s){this.formats[t.toLowerCase().trim()]=s}addCached(t,s){this.formats[t.toLowerCase().trim()]=A(s)}format(t,s,i,e={}){const n=s.split(this.formatSeparator);if(n.length>1&&n[0].indexOf("(")>1&&n[0].indexOf(")")<0&&n.find((t=>t.indexOf(")")>-1))){const t=n.findIndex((t=>t.indexOf(")")>-1));n[0]=[n[0],...n.splice(1,t)].join(this.formatSeparator)}return n.reduce(((t,s)=>{const{formatName:n,formatOptions:o}=(t=>{let s=t.toLowerCase().trim();const i={};if(t.indexOf("(")>-1){const e=t.split("(");s=e[0].toLowerCase().trim();const n=e[1].substring(0,e[1].length-1);"currency"===s&&n.indexOf(":")<0?i.currency||(i.currency=n.trim()):"relativetime"===s&&n.indexOf(":")<0?i.range||(i.range=n.trim()):n.split(";").forEach((t=>{if(t){const[s,...e]=t.split(":"),n=e.join(":").trim().replace(/^'+|'+$/g,""),o=s.trim();i[o]||(i[o]=n),"false"===n&&(i[o]=!1),"true"===n&&(i[o]=!0),isNaN(n)||(i[o]=parseInt(n,10))}}))}return{formatName:s,formatOptions:i}})(s);if(this.formats[n]){let s=t;try{const r=e?.formatParams?.[e.interpolationkey]||{};s=this.formats[n](t,r.locale||r.lng||e.locale||e.lng||i,{...o,...e,...r})}catch(t){this.logger.warn(t)}return s}return this.logger.warn(`there was no format function for ${n}`),t}),t)}}class K extends b{constructor(t,s,i,e={}){super(),this.backend=t,this.store=s,this.services=i,this.languageUtils=i.languageUtils,this.options=e,this.logger=$.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=e.maxParallelReads||10,this.readingCalls=0,this.maxRetries=e.maxRetries>=0?e.maxRetries:5,this.retryTimeout=e.retryTimeout>=1?e.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(i,e.backend,e)}queueLoad(t,s,i,e){const n={},o={},r={},h={};return t.forEach((t=>{let e=!0;s.forEach((s=>{const r=`${t}|${s}`;!i.reload&&this.store.hasResourceBundle(t,s)?this.state[r]=2:this.state[r]<0||(1===this.state[r]?void 0===o[r]&&(o[r]=!0):(this.state[r]=1,e=!1,void 0===o[r]&&(o[r]=!0),void 0===n[r]&&(n[r]=!0),void 0===h[s]&&(h[s]=!0)))})),e||(r[t]=!0)})),(Object.keys(n).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:e}),{toLoad:Object.keys(n),pending:Object.keys(o),toLoadLanguages:Object.keys(r),toLoadNamespaces:Object.keys(h)}}loaded(t,s,i){const e=t.split("|"),n=e[0],o=e[1];s&&this.emit("failedLoading",n,o,s),!s&&i&&this.store.addResourceBundle(n,o,i,void 0,void 0,{skipCopy:!0}),this.state[t]=s?-1:2,s&&i&&(this.state[t]=0);const h={};this.queue.forEach((i=>{((t,s,i)=>{const{obj:e,k:n}=r(t,s,Object);e[n]=e[n]||[],e[n].push(i)})(i.loaded,[n],o),((t,s)=>{void 0!==t.pending[s]&&(delete t.pending[s],t.pendingCount--)})(i,t),s&&i.errors.push(s),0!==i.pendingCount||i.done||(Object.keys(i.loaded).forEach((t=>{h[t]||(h[t]={});const s=i.loaded[t];s.length&&s.forEach((s=>{void 0===h[t][s]&&(h[t][s]=!0)}))})),i.done=!0,i.errors.length?i.callback(i.errors):i.callback())})),this.emit("loaded",h),this.queue=this.queue.filter((t=>!t.done))}read(t,s,i,e=0,n=this.retryTimeout,o){if(!t.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:t,ns:s,fcName:i,tried:e,wait:n,callback:o});this.readingCalls++;const r=(r,h)=>{if(this.readingCalls--,this.waitingReads.length>0){const t=this.waitingReads.shift();this.read(t.lng,t.ns,t.fcName,t.tried,t.wait,t.callback)}r&&h&&e<this.maxRetries?setTimeout((()=>{this.read.call(this,t,s,i,e+1,2*n,o)}),n):o(r,h)},h=this.backend[i].bind(this.backend);if(2!==h.length)return h(t,s,r);try{const i=h(t,s);i&&"function"==typeof i.then?i.then((t=>r(null,t))).catch(r):r(null,i)}catch(t){r(t)}}prepareLoading(s,i,e={},n){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();t(s)&&(s=this.languageUtils.toResolveHierarchy(s)),t(i)&&(i=[i]);const o=this.queueLoad(s,i,e,n);if(!o.toLoad.length)return o.pending.length||n(),null;o.toLoad.forEach((t=>{this.loadOne(t)}))}load(t,s,i){this.prepareLoading(t,s,{},i)}reload(t,s,i){this.prepareLoading(t,s,{reload:!0},i)}loadOne(t,s=""){const i=t.split("|"),e=i[0],n=i[1];this.read(e,n,"read",void 0,void 0,((i,o)=>{i&&this.logger.warn(`${s}loading namespace ${n} for language ${e} failed`,i),!i&&o&&this.logger.log(`${s}loaded namespace ${n} for language ${e}`,o),this.loaded(t,i,o)}))}saveMissing(t,s,i,e,n,o={},r=()=>{}){if(!this.services?.utils?.hasLoadedNamespace||this.services?.utils?.hasLoadedNamespace(s)){if(null!=i&&""!==i){if(this.backend?.create){const h={...o,isUpdate:n},a=this.backend.create.bind(this.backend);if(a.length<6)try{let n;n=5===a.length?a(t,s,i,e,h):a(t,s,i,e),n&&"function"==typeof n.then?n.then((t=>r(null,t))).catch(r):r(null,n)}catch(t){r(t)}else a(t,s,i,e,r,h)}t&&t[0]&&this.store.addResource(t[0],s,i,e)}}else this.logger.warn(`did not save key "${i}" as the namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")}}const B=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:s=>{let i={};if("object"==typeof s[1]&&(i=s[1]),t(s[1])&&(i.defaultValue=s[1]),t(s[2])&&(i.tDescription=s[2]),"object"==typeof s[2]||"object"==typeof s[3]){const t=s[3]||s[2];Object.keys(t).forEach((s=>{i[s]=t[s]}))}return i},interpolation:{escapeValue:!0,format:t=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),M=s=>(t(s.ns)&&(s.ns=[s.ns]),t(s.fallbackLng)&&(s.fallbackLng=[s.fallbackLng]),t(s.fallbackNS)&&(s.fallbackNS=[s.fallbackNS]),s.supportedLngs?.indexOf?.("cimode")<0&&(s.supportedLngs=s.supportedLngs.concat(["cimode"])),"boolean"==typeof s.initImmediate&&(s.initAsync=s.initImmediate),s),_=()=>{},F="__i18next_supportNoticeShown";class D extends b{constructor(t={},s){var i;if(super(),this.options=M(t),this.services={},this.logger=$,this.modules={external:[]},i=this,Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t=>{"function"==typeof i[t]&&(i[t]=i[t].bind(i))})),s&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,s),this;setTimeout((()=>{this.init(t,s)}),0)}}init(i={},e){this.isInitializing=!0,"function"==typeof i&&(e=i,i={}),null==i.defaultNS&&i.ns&&(t(i.ns)?i.defaultNS=i.ns:i.ns.indexOf("translation")<0&&(i.defaultNS=i.ns[0]));const n=B();var o;this.options={...n,...this.options,...M(i)},this.options.interpolation={...n.interpolation,...this.options.interpolation},void 0!==i.keySeparator&&(this.options.userDefinedKeySeparator=i.keySeparator),void 0!==i.nsSeparator&&(this.options.userDefinedNsSeparator=i.nsSeparator),"function"!=typeof this.options.overloadTranslationOptionHandler&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler),!1===this.options.showSupportNotice||(o=this,o?.modules?.backend?.name?.indexOf("Locize")>0||o?.modules?.backend?.constructor?.name?.indexOf("Locize")>0||o?.options?.backend?.backends&&o.options.backend.backends.some((t=>t?.name?.indexOf("Locize")>0||t?.constructor?.name?.indexOf("Locize")>0))||o?.options?.backend?.projectId||o?.options?.backend?.backendOptions&&o.options.backend.backendOptions.some((t=>t?.projectId)))||"undefined"!=typeof globalThis&&globalThis[F]||"undefined"!=typeof process&&process.env&&process.env.I18NEXT_NO_SUPPORT_NOTICE||("undefined"!=typeof console&&void 0!==console.info&&console.info("🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"),"undefined"!=typeof globalThis&&(globalThis[F]=!0));const r=t=>t?"function"==typeof t?new t:t:null;if(!this.options.isClone){let t;$.init(this.modules.logger?r(this.modules.logger):null,this.options),t=this.modules.formatter?this.modules.formatter:V;const s=new L(this.options);this.store=new x(this.options.resources,this.options);const i=this.services;i.logger=$,i.resourceStore=this.store,i.languageUtils=s,i.pluralResolver=new E(s,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),!t||this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format||(i.formatter=r(t),i.formatter.init&&i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new T(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new K(r(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",((t,...s)=>{this.emit(t,...s)})),this.modules.languageDetector&&(i.languageDetector=r(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=r(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new N(this.services,this.options),this.translator.on("*",((t,...s)=>{this.emit(t,...s)})),this.modules.external.forEach((t=>{t.init&&t.init(this)}))}if(this.format=this.options.interpolation.format,e||(e=_),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const t=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);t.length>0&&"dev"!==t[0]&&(this.options.lng=t[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((t=>{this[t]=(...s)=>this.store[t](...s)})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((t=>{this[t]=(...s)=>(this.store[t](...s),this)}));const h=s(),a=()=>{const t=(t,s)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),h.resolve(s),e(t,s)};if(this.languages&&!this.isInitialized)return t(null,this.t.bind(this));this.changeLanguage(this.options.lng,t)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),h}loadResources(s,i=_){let e=i;const n=t(s)?s:this.language;if("function"==typeof s&&(e=s),!this.options.resources||this.options.partialBundledLanguages){if("cimode"===n?.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return e();const t=[],s=s=>{s&&"cimode"!==s&&this.services.languageUtils.toResolveHierarchy(s).forEach((s=>{"cimode"!==s&&t.indexOf(s)<0&&t.push(s)}))};n?s(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((t=>s(t))),this.options.preload?.forEach?.((t=>s(t))),this.services.backendConnector.load(t,this.options.ns,(t=>{t||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),e(t)}))}else e(null)}reloadResources(t,i,e){const n=s();return"function"==typeof t&&(e=t,t=void 0),"function"==typeof i&&(e=i,i=void 0),t||(t=this.languages),i||(i=this.options.ns),e||(e=_),this.services.backendConnector.reload(t,i,(t=>{n.resolve(),e(t)})),n}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===t.type&&(this.modules.backend=t),("logger"===t.type||t.log&&t.warn&&t.error)&&(this.modules.logger=t),"languageDetector"===t.type&&(this.modules.languageDetector=t),"i18nFormat"===t.type&&(this.modules.i18nFormat=t),"postProcessor"===t.type&&w.addPostProcessor(t),"formatter"===t.type&&(this.modules.formatter=t),"3rdParty"===t.type&&this.modules.external.push(t),this}setResolvedLanguage(t){if(t&&this.languages&&!(["cimode","dev"].indexOf(t)>-1)){for(let t=0;t<this.languages.length;t++){const s=this.languages[t];if(!(["cimode","dev"].indexOf(s)>-1)&&this.store.hasLanguageSomeTranslations(s)){this.resolvedLanguage=s;break}}!this.resolvedLanguage&&this.languages.indexOf(t)<0&&this.store.hasLanguageSomeTranslations(t)&&(this.resolvedLanguage=t,this.languages.unshift(t))}}changeLanguage(i,e){this.isLanguageChangingTo=i;const n=s();this.emit("languageChanging",i);const o=t=>{this.language=t,this.languages=this.services.languageUtils.toResolveHierarchy(t),this.resolvedLanguage=void 0,this.setResolvedLanguage(t)},r=(t,s)=>{s?this.isLanguageChangingTo===i&&(o(s),this.translator.changeLanguage(s),this.isLanguageChangingTo=void 0,this.emit("languageChanged",s),this.logger.log("languageChanged",s)):this.isLanguageChangingTo=void 0,n.resolve(((...t)=>this.t(...t))),e&&e(t,((...t)=>this.t(...t)))},h=s=>{i||s||!this.services.languageDetector||(s=[]);const e=t(s)?s:s&&s[0],n=this.store.hasLanguageSomeTranslations(e)?e:this.services.languageUtils.getBestMatchFromCodes(t(s)?[s]:s);n&&(this.language||o(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector?.cacheUserLanguage?.(n)),this.loadResources(n,(t=>{r(t,n)}))};return i||!this.services.languageDetector||this.services.languageDetector.async?!i&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(h):this.services.languageDetector.detect(h):h(i):h(this.services.languageDetector.detect()),n}getFixedT(s,i,e){const n=(t,s,...i)=>{let o;o="object"!=typeof s?this.options.overloadTranslationOptionHandler([t,s].concat(i)):{...s},o.lng=o.lng||n.lng,o.lngs=o.lngs||n.lngs,o.ns=o.ns||n.ns,""!==o.keyPrefix&&(o.keyPrefix=o.keyPrefix||e||n.keyPrefix);const r={...this.options,...o};"function"==typeof o.keyPrefix&&(o.keyPrefix=O(o.keyPrefix,r));const h=this.options.keySeparator||".";let a;return o.keyPrefix&&Array.isArray(t)?a=t.map((t=>("function"==typeof t&&(t=O(t,r)),`${o.keyPrefix}${h}${t}`))):("function"==typeof t&&(t=O(t,r)),a=o.keyPrefix?`${o.keyPrefix}${h}${t}`:t),this.t(a,o)};return t(s)?n.lng=s:n.lngs=s,n.ns=i,n.keyPrefix=e,n}t(...t){return this.translator?.translate(...t)}exists(...t){return this.translator?.exists(...t)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t,s={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const i=s.lng||this.resolvedLanguage||this.languages[0],e=!!this.options&&this.options.fallbackLng,n=this.languages[this.languages.length-1];if("cimode"===i.toLowerCase())return!0;const o=(t,s)=>{const i=this.services.backendConnector.state[`${t}|${s}`];return-1===i||0===i||2===i};if(s.precheck){const t=s.precheck(this,o);if(void 0!==t)return t}return!(!this.hasResourceBundle(i,t)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!o(i,t)||e&&!o(n,t)))}loadNamespaces(i,e){const n=s();return this.options.ns?(t(i)&&(i=[i]),i.forEach((t=>{this.options.ns.indexOf(t)<0&&this.options.ns.push(t)})),this.loadResources((t=>{n.resolve(),e&&e(t)})),n):(e&&e(),Promise.resolve())}loadLanguages(i,e){const n=s();t(i)&&(i=[i]);const o=this.options.preload||[],r=i.filter((t=>o.indexOf(t)<0&&this.services.languageUtils.isSupportedCode(t)));return r.length?(this.options.preload=o.concat(r),this.loadResources((t=>{n.resolve(),e&&e(t)})),n):(e&&e(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!t)return"rtl";try{const s=new Intl.Locale(t);if(s&&s.getTextInfo){const t=s.getTextInfo();if(t&&t.direction)return t.direction}}catch(t){}const s=this.services?.languageUtils||new L(B());return t.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(s.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(t={},s){const i=new D(t,s);return i.createInstance=D.createInstance,i}cloneInstance(t={},s=_){const i=t.forkResourceStore;i&&delete t.forkResourceStore;const e={...this.options,...t,isClone:!0},n=new D(e);if(void 0===t.debug&&void 0===t.prefix||(n.logger=n.logger.clone(t)),["store","services","language"].forEach((t=>{n[t]=this[t]})),n.services={...this.services},n.services.utils={hasLoadedNamespace:n.hasLoadedNamespace.bind(n)},i){const t=Object.keys(this.store.data).reduce(((t,s)=>(t[s]={...this.store.data[s]},t[s]=Object.keys(t[s]).reduce(((i,e)=>(i[e]={...t[s][e]},i)),t[s]),t)),{});n.store=new x(t,e),n.services.resourceStore=n.store}if(t.interpolation){const s={...B().interpolation,...this.options.interpolation,...t.interpolation},i={...e,interpolation:s};n.services.interpolator=new T(i)}return n.translator=new N(n.services,e),n.translator.on("*",((t,...s)=>{n.emit(t,...s)})),n.init(e,s),n.translator.options=e,n.translator.backendConnector.services.utils={hasLoadedNamespace:n.hasLoadedNamespace.bind(n)},n}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const H=D.createInstance().createInstance,J="nl";function U(t){const s=t.closest("[lang]");return s instanceof HTMLElement?s.lang||J:t.parentNode instanceof ShadowRoot&&t.parentNode.host instanceof HTMLElement?U(t.parentNode.host):t.parentElement instanceof HTMLElement?U(t.parentElement):J}function W(t,s){const i=t(),e=H();e.init({fallbackLng:J,resources:s,defaultNS:i.tagName.toLowerCase(),interpolation:{escapeValue:!1},showSupportNotice:!1});let n=!1;return(t,s)=>{if(!n){n=!0;const t=U(i);e.changeLanguage(t)}return e.t(t,s)}}export{W as i}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as o}from"./p-BIfnbekk.js";const a=({symbol:a,title:n,data:t,active:s,dsoActiveChange:i})=>o("div",{class:"annotation-body"},a&&o("div",{class:"annotation-symbol"},a),o("div",{class:"annotation-info"},o("p",{class:"annotation-title"},n),t&&o("p",{class:"annotation-data"},t)),i&&o("div",{class:"annotation-control"},o("dso-slide-toggle",{accessibleLabel:"Toon op kaart",checked:s,onDsoActiveChange:o=>i.emit({current:Boolean(s),next:!s,originalEvent:o})})));export{a as A}
|