@baloise/ds-core 20.0.0-next.4 → 20.0.0-next.7
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/LICENSE +9 -0
- package/components/all.d.ts +58 -0
- package/components/all.js +87 -0
- package/components/ds-accordion.js +1 -1
- package/components/ds-alert-container.js +1 -1
- package/components/ds-app.js +1 -1
- package/components/ds-badge.js +1 -1
- package/components/ds-button-group.js +1 -1
- package/components/ds-button.js +1 -1
- package/components/ds-card-actions.js +1 -1
- package/components/ds-card-content.js +1 -1
- package/components/ds-card-header.js +1 -1
- package/components/ds-card-subtitle.js +1 -1
- package/components/ds-card-title.js +1 -1
- package/components/ds-card.js +1 -1
- package/components/ds-carousel-item.d.ts +11 -0
- package/components/ds-carousel-item.js +4 -0
- package/components/ds-carousel.d.ts +11 -0
- package/components/ds-carousel.js +4 -0
- package/components/ds-checkbox-group.js +1 -1
- package/components/ds-checkbox.js +1 -1
- package/components/ds-close.js +1 -1
- package/components/ds-content.js +1 -1
- package/components/ds-data-item.d.ts +11 -0
- package/components/ds-data-item.js +4 -0
- package/components/ds-data-label.d.ts +11 -0
- package/components/ds-data-label.js +4 -0
- package/components/ds-data-value.d.ts +11 -0
- package/components/ds-data-value.js +4 -0
- package/components/ds-data.d.ts +11 -0
- package/components/ds-data.js +4 -0
- package/components/ds-date.d.ts +11 -0
- package/components/ds-date.js +4 -0
- package/components/ds-divider.js +1 -1
- package/components/ds-drawer.d.ts +11 -0
- package/components/ds-drawer.js +4 -0
- package/components/ds-file-upload.d.ts +11 -0
- package/components/ds-file-upload.js +4 -0
- package/components/ds-footer.d.ts +11 -0
- package/components/ds-footer.js +4 -0
- package/components/ds-heading.js +1 -1
- package/components/ds-hint-text.d.ts +11 -0
- package/components/ds-hint-text.js +4 -0
- package/components/ds-hint-title.d.ts +11 -0
- package/components/ds-hint-title.js +4 -0
- package/components/ds-hint.d.ts +11 -0
- package/components/ds-hint.js +4 -0
- package/components/ds-icon.js +1 -1
- package/components/ds-input-slider.d.ts +11 -0
- package/components/ds-input-slider.js +4 -0
- package/components/ds-input.js +1 -1
- package/components/ds-item.js +1 -1
- package/components/ds-label.js +1 -1
- package/components/ds-list.js +1 -1
- package/components/ds-logo.js +1 -1
- package/components/ds-modal-body.d.ts +11 -0
- package/components/ds-modal-body.js +4 -0
- package/components/ds-modal-header.d.ts +11 -0
- package/components/ds-modal-header.js +4 -0
- package/components/ds-modal.d.ts +11 -0
- package/components/ds-modal.js +4 -0
- package/components/ds-navbar.d.ts +11 -0
- package/components/ds-navbar.js +4 -0
- package/components/ds-notification.js +1 -1
- package/components/ds-number-input.js +1 -1
- package/components/ds-pagination.js +1 -1
- package/components/ds-popup.d.ts +11 -0
- package/components/ds-popup.js +4 -0
- package/components/ds-progress-bar.js +1 -1
- package/components/ds-radio-group.js +1 -1
- package/components/ds-radio.js +1 -1
- package/components/ds-segment-item.js +1 -1
- package/components/ds-segment.js +1 -1
- package/components/ds-select-optgroup.d.ts +11 -0
- package/components/ds-select-optgroup.js +4 -0
- package/components/ds-select-option.d.ts +11 -0
- package/components/ds-select-option.js +4 -0
- package/components/ds-select.d.ts +11 -0
- package/components/ds-select.js +4 -0
- package/components/ds-shape.js +1 -1
- package/components/ds-snackbar.js +1 -1
- package/components/ds-spinner.js +1 -1
- package/components/ds-stack.js +1 -1
- package/components/ds-step-panel.d.ts +11 -0
- package/components/ds-step-panel.js +4 -0
- package/components/ds-step.d.ts +11 -0
- package/components/ds-step.js +4 -0
- package/components/ds-steps.d.ts +11 -0
- package/components/ds-steps.js +4 -0
- package/components/ds-tab-panel.d.ts +11 -0
- package/components/ds-tab-panel.js +4 -0
- package/components/ds-tab.d.ts +11 -0
- package/components/ds-tab.js +4 -0
- package/components/ds-tabs.d.ts +11 -0
- package/components/ds-tabs.js +4 -0
- package/components/ds-tag-group.js +1 -1
- package/components/ds-tag.js +1 -1
- package/components/ds-text.js +1 -1
- package/components/ds-textarea.js +1 -1
- package/components/ds-toast.js +1 -1
- package/components/ds-toggle.js +1 -1
- package/components/ds-tooltip.d.ts +11 -0
- package/components/ds-tooltip.js +4 -0
- package/components/index.js +1 -1
- package/components/p--EKmxaBS.js +4 -0
- package/components/p-3Mi9vpmB.js +4 -0
- package/components/p-ABj0eATe.js +4 -0
- package/components/p-B-en4B17.js +4 -0
- package/components/p-BgzU1loG.js +4 -0
- package/components/p-BhbWmCTu.js +4 -0
- package/components/p-BqY0KzJC.js +4 -0
- package/components/p-BrIcCcce.js +4 -0
- package/components/p-BrJFPhMA.js +4 -0
- package/components/{p-Urcs7-vS.js → p-BwfAXfmz.js} +1 -1
- package/components/p-BwwAKEvn.js +4 -0
- package/components/p-ByX1_7SF.js +4 -0
- package/components/p-C1jqbZdf.js +4 -0
- package/{dist/design-system/p-15bc012833.entry.js → components/p-CA7G72wZ.js} +1 -1
- package/components/p-CQHwI4iD.js +4 -0
- package/components/p-CWDuQL1i.js +4 -0
- package/components/p-CvaNxQtw.js +4 -0
- package/components/p-D5zw5ezD.js +4 -0
- package/components/p-D9ILiUgm.js +4 -0
- package/{dist/design-system/p-BATOumsf.js → components/p-D9YYP2SG.js} +1 -1
- package/components/p-DAYd9ty0.js +4 -0
- package/components/p-DIK6Zkg6.js +4 -0
- package/{dist/design-system/p-BkESlUMc.js → components/p-DQBzmbR6.js} +1 -1
- package/components/p-DSeYzuO7.js +4 -0
- package/components/{p-z1jJgtep.js → p-DU7t9H9h.js} +1 -1
- package/components/p-DY0y8uLL.js +4 -0
- package/components/p-DYTOWDAA.js +4 -0
- package/components/p-DYlqkAWn.js +4 -0
- package/components/p-DbM7ALm9.js +14 -0
- package/{dist/design-system/p-D2tr7015.js → components/p-DbY6Pfeh.js} +1 -1
- package/components/{p-DZqqelPH.js → p-DcSNuA8W.js} +1 -1
- package/components/p-DenZRIeA.js +4 -0
- package/{dist/design-system/p-BwrOVItb.js → components/p-Dr4MUfss.js} +1 -1
- package/components/p-Du7QOHtz.js +5 -0
- package/components/{p-E8U6M5ii.js → p-FBQaJyH0.js} +1 -1
- package/components/{p-Dr4dquer.js → p-J0mxIuTt.js} +1 -1
- package/{dist/design-system/p-DJxr2Dcd.js → components/p-UCeQ1JCs.js} +1 -1
- package/components/p-Uy_dVz21.js +4 -0
- package/components/p-VsWv65bD.js +4 -0
- package/components/p-WO0X5Vmy.js +4 -0
- package/components/p-gz0Nxl39.js +4 -0
- package/components/{p-Bt20CEww.js → p-n3_2KEz0.js} +1 -1
- package/components/p-qaSW94OG.js +4 -0
- package/components/p-u5aa74vh.js +4 -0
- package/dist/cjs/{_getTag-B468r9bu.js → _getTag-DxZgmSPS.js} +1 -1
- package/dist/cjs/array-CYn4ALBt.js +1986 -0
- package/dist/cjs/{breakpoints.decorator-qaoHOU6Q.js → breakpoints.decorator-DY5iYsA5.js} +1 -1
- package/dist/cjs/{breakpoints.subject-DhAN_ZAn.js → breakpoints.subject-CzhLlIwN.js} +3 -3
- package/dist/cjs/{button.interfaces-BueDWsuH.js → button.interfaces-CqlUGR-N.js} +1 -1
- package/dist/cjs/carousel.interfaces-BFQpUNrw.js +12 -0
- package/dist/cjs/{config.decorator-Qmrq4ZYj.js → config.decorator-C64wi-MA.js} +1 -1
- package/dist/cjs/{config.utils-Cv4cx_Xa.js → config.utils-BhWbrVRz.js} +1 -1
- package/dist/cjs/create-validator-decorator-Ctd288ve.js +212 -0
- package/dist/cjs/design-system.cjs.js +3 -3
- package/dist/cjs/{device-CptgCtVc.js → device-CIliLOe9.js} +1 -1
- package/dist/cjs/ds-accordion.cjs.entry.js +30 -34
- package/dist/cjs/ds-alert-container.cjs.entry.js +12 -15
- package/dist/cjs/ds-app.cjs.entry.js +16 -6
- package/dist/cjs/ds-badge.cjs.entry.js +33 -26
- package/dist/cjs/ds-button-group.cjs.entry.js +14 -17
- package/dist/cjs/ds-button_2.cjs.entry.js +58 -73
- package/dist/cjs/ds-card-actions.cjs.entry.js +6 -8
- package/dist/cjs/ds-card-content.cjs.entry.js +3 -3
- package/dist/cjs/ds-card-header.cjs.entry.js +8 -5
- package/dist/cjs/ds-card-subtitle.cjs.entry.js +13 -13
- package/dist/cjs/ds-card-title.cjs.entry.js +11 -7
- package/dist/cjs/ds-card.cjs.entry.js +32 -43
- package/dist/cjs/ds-carousel-item.cjs.entry.js +128 -0
- package/dist/cjs/ds-carousel.cjs.entry.js +473 -0
- package/dist/cjs/ds-checkbox-group.cjs.entry.js +60 -2013
- package/dist/cjs/ds-checkbox.cjs.entry.js +33 -20
- package/dist/cjs/ds-content_2.cjs.entry.js +330 -0
- package/dist/cjs/ds-data-item.cjs.entry.js +146 -0
- package/dist/cjs/ds-data-label.cjs.entry.js +41 -0
- package/dist/cjs/ds-data-value.cjs.entry.js +31 -0
- package/dist/cjs/ds-data.cjs.entry.js +43 -0
- package/dist/cjs/ds-date.cjs.entry.js +5334 -0
- package/dist/cjs/{ds-logo.cjs.entry.js → ds-divider_2.cjs.entry.js} +130 -25
- package/dist/cjs/ds-drawer_2.cjs.entry.js +602 -0
- package/dist/cjs/ds-file-upload.cjs.entry.js +516 -0
- package/dist/cjs/ds-footer.cjs.entry.js +159 -0
- package/dist/cjs/ds-heading.cjs.entry.js +22 -20
- package/dist/cjs/ds-hint-text.cjs.entry.js +28 -0
- package/dist/cjs/ds-hint-title.cjs.entry.js +31 -0
- package/dist/cjs/ds-hint.cjs.entry.js +243 -0
- package/dist/cjs/ds-icon_2.cjs.entry.js +82 -73
- package/dist/cjs/ds-input-slider.cjs.entry.js +2885 -0
- package/dist/cjs/ds-input.cjs.entry.js +45 -43
- package/dist/cjs/ds-item.cjs.entry.js +29 -34
- package/dist/cjs/ds-label.cjs.entry.js +23 -31
- package/dist/cjs/ds-list.cjs.entry.js +6 -12
- package/dist/cjs/ds-modal-body.cjs.entry.js +34 -0
- package/dist/cjs/ds-modal-header.cjs.entry.js +31 -0
- package/dist/cjs/ds-modal.cjs.entry.js +201 -0
- package/dist/cjs/ds-navbar.cjs.entry.js +359 -0
- package/dist/cjs/ds-notification.cjs.entry.js +20 -28
- package/dist/cjs/ds-number-input.cjs.entry.js +107 -119
- package/dist/cjs/ds-pagination.cjs.entry.js +41 -37
- package/dist/cjs/ds-progress-bar.cjs.entry.js +25 -29
- package/dist/cjs/ds-radio-group.cjs.entry.js +48 -30
- package/dist/cjs/ds-radio.cjs.entry.js +36 -34
- package/dist/cjs/ds-segment-item.cjs.entry.js +9 -9
- package/dist/cjs/ds-segment.cjs.entry.js +29 -117
- package/dist/cjs/ds-select-optgroup.cjs.entry.js +49 -0
- package/dist/cjs/ds-select-option.cjs.entry.js +57 -0
- package/dist/cjs/ds-select.cjs.entry.js +2772 -0
- package/dist/cjs/ds-shape.cjs.entry.js +10 -16
- package/dist/cjs/ds-snackbar.cjs.entry.js +41 -58
- package/dist/cjs/ds-step-panel.cjs.entry.js +55 -0
- package/dist/cjs/ds-step.cjs.entry.js +170 -0
- package/dist/cjs/ds-steps.cjs.entry.js +227 -0
- package/dist/cjs/ds-tab-panel.cjs.entry.js +55 -0
- package/dist/cjs/ds-tab.cjs.entry.js +120 -0
- package/dist/cjs/ds-tabs.cjs.entry.js +364 -0
- package/dist/cjs/ds-tag-group.cjs.entry.js +3 -3
- package/dist/cjs/ds-tag.cjs.entry.js +19 -26
- package/dist/cjs/ds-text.cjs.entry.js +29 -33
- package/dist/cjs/ds-textarea.cjs.entry.js +32 -31
- package/dist/cjs/ds-toast.cjs.entry.js +41 -55
- package/dist/cjs/ds-toggle.cjs.entry.js +22 -21
- package/dist/cjs/ds-tooltip.cjs.entry.js +182 -0
- package/dist/cjs/{field.util-RjuvTLNZ.js → field.util-g9nhtuZH.js} +1 -1
- package/dist/cjs/floating-ui.dom-Cu3dZdFD.js +1628 -0
- package/dist/cjs/focus-BUszBnbl.js +1958 -0
- package/dist/cjs/footer.i18n-CpGxizgm.js +162 -0
- package/dist/cjs/{form-control-Bno2tBGf.js → form-control-B4Qf8fg-.js} +2 -2
- package/dist/cjs/has-value-rj502MLA.js +12 -0
- package/dist/cjs/{index-CdD-TT_n.js → index-CqInh7Vc.js} +502 -175
- package/dist/cjs/index.cjs.js +26 -8283
- package/dist/cjs/isArray-DvQst6zQ.js +42 -0
- package/dist/cjs/isNaN-DOSPWDkt.js +106 -0
- package/dist/cjs/{isObjectLike-h-ta_ikf.js → isObjectLike-BNz6hnAu.js} +0 -37
- package/dist/cjs/keyboard-C7y0jXYb.js +23 -0
- package/dist/cjs/{listener-DgVWqfa1.js → listener-1PZJDuOW.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/luxon-q23LOWrr.js +8137 -0
- package/dist/cjs/one-of-BotLfpAZ.js +30 -0
- package/dist/cjs/popup.interfaces-B-mwd9rh.js +23 -0
- package/dist/cjs/required-BAhZ8oRM.js +38 -0
- package/dist/cjs/resize.decorator-Sqefy8ta.js +98 -0
- package/dist/cjs/scroll--5tnvpG1.js +89 -0
- package/dist/cjs/svg-D9RbiR8R.js +2443 -0
- package/dist/cjs/{tslib.es6-BTi-SLnA.js → tslib.es6-BIB10hMZ.js} +1 -1
- package/dist/cjs/type-Br_NbeTX.js +33 -0
- package/dist/collection/collection-manifest.json +31 -2
- package/dist/collection/components/accordion/accordion.host.css +1 -1
- package/dist/collection/components/accordion/accordion.js +22 -29
- package/dist/collection/components/alert/alert-container.js +8 -14
- package/dist/collection/components/alert/alert.controller.js +1 -1
- package/dist/collection/components/alert/snackbar/snackbar.host.css +1 -1
- package/dist/collection/components/alert/snackbar/snackbar.js +30 -53
- package/dist/collection/components/alert/toast/toast.host.css +1 -1
- package/dist/collection/components/alert/toast/toast.js +32 -53
- package/dist/collection/components/app/app.js +11 -3
- package/dist/collection/components/badge/badge.host.css +1 -1
- package/dist/collection/components/badge/badge.interfaces.js +1 -1
- package/dist/collection/components/badge/badge.js +28 -25
- package/dist/collection/components/button/button-group/button-group.js +8 -14
- package/dist/collection/components/button/button.host.css +1 -1
- package/dist/collection/components/button/button.interfaces.js +1 -1
- package/dist/collection/components/button/button.js +44 -54
- package/dist/collection/components/card/card-actions/card-actions.js +3 -6
- package/dist/collection/components/card/card-content/card-content.host.css +1 -1
- package/dist/collection/components/card/card-header/card-header.js +4 -3
- package/dist/collection/components/card/card-subtitle/card-subtitle.js +8 -11
- package/dist/collection/components/card/card-title/card-title.js +6 -5
- package/dist/collection/components/card/card.host.css +1 -1
- package/dist/collection/components/card/card.js +30 -42
- package/dist/collection/components/carousel/carousel/carousel.host.css +1 -0
- package/dist/collection/components/carousel/carousel/carousel.i18n.js +65 -0
- package/dist/collection/components/carousel/carousel/carousel.js +631 -0
- package/dist/collection/components/carousel/carousel-item/carousel-item.host.css +1 -0
- package/dist/collection/components/carousel/carousel-item/carousel-item.js +313 -0
- package/dist/collection/components/carousel/carousel.interfaces.js +6 -0
- package/dist/collection/components/carousel/test/carousel.a11y.play.js +34 -0
- package/dist/collection/components/carousel/test/carousel.component.play.js +57 -0
- package/dist/collection/components/carousel/test/carousel.visual.play.js +24 -0
- package/dist/collection/components/checkbox/checkbox-group/checkbox-group.host.css +1 -1
- package/dist/collection/components/checkbox/checkbox-group/checkbox-group.js +63 -27
- package/dist/collection/components/checkbox/checkbox.host.css +1 -1
- package/dist/collection/components/checkbox/checkbox.js +47 -18
- package/dist/collection/components/checkbox/test/checkbox.visual.play.js +3 -0
- package/dist/collection/components/close/close.js +10 -21
- package/dist/collection/components/content/content.js +38 -52
- package/dist/collection/components/data/data-item.host.css +1 -0
- package/dist/collection/components/data/data-item.i18n.js +35 -0
- package/dist/collection/components/data/data-item.js +244 -0
- package/dist/collection/components/data/data-label.host.css +1 -0
- package/dist/collection/components/data/data-label.js +72 -0
- package/dist/collection/components/data/data-value.host.css +1 -0
- package/dist/collection/components/data/data-value.js +38 -0
- package/dist/collection/components/data/data.host.css +1 -0
- package/dist/collection/components/data/data.js +75 -0
- package/dist/collection/components/data/test/data.a11y.play.js +31 -0
- package/dist/collection/components/data/test/data.component.play.js +104 -0
- package/dist/collection/components/data/test/data.visual.play.js +25 -0
- package/dist/collection/components/date/date.host.css +1 -0
- package/dist/collection/components/date/date.i18n.js +105 -0
- package/dist/collection/components/date/date.interfaces.js +4 -0
- package/dist/collection/components/date/date.js +1241 -0
- package/dist/collection/components/date/date.mask.js +189 -0
- package/dist/collection/components/date/date.picker.js +536 -0
- package/dist/collection/components/date/test/date.a11y.play.js +27 -0
- package/dist/collection/components/date/test/date.component.play.js +69 -0
- package/dist/collection/components/date/test/date.visual.play.js +43 -0
- package/dist/collection/components/divider/divider.host.css +1 -1
- package/dist/collection/components/divider/divider.js +11 -24
- package/dist/collection/components/drawer/drawer.host.css +1 -0
- package/dist/collection/{utils/property-checkers/constants.js → components/drawer/drawer.interfaces.js} +1 -1
- package/dist/collection/components/drawer/drawer.js +492 -0
- package/dist/collection/components/drawer/test/drawer.a11y.play.js +39 -0
- package/dist/collection/components/drawer/test/drawer.component.play.js +131 -0
- package/dist/collection/components/drawer/test/drawer.visual.play.js +31 -0
- package/dist/collection/components/file-upload/file-upload.host.css +1 -0
- package/dist/collection/components/file-upload/file-upload.i18n.js +55 -0
- package/dist/collection/components/file-upload/file-upload.interfaces.js +10 -0
- package/dist/collection/components/file-upload/file-upload.js +1030 -0
- package/dist/collection/components/file-upload/test/file-upload.a11y.play.js +52 -0
- package/dist/collection/components/file-upload/test/file-upload.component.play.js +124 -0
- package/dist/collection/components/file-upload/test/file-upload.visual.play.js +18 -0
- package/dist/collection/components/file-upload/utils/file-list.util.js +13 -0
- package/dist/collection/components/file-upload/utils/file-size.util.js +10 -0
- package/dist/collection/components/file-upload/utils/file-validation.util.js +48 -0
- package/dist/collection/components/footer/footer.host.css +1 -0
- package/dist/collection/components/footer/footer.i18n.js +155 -0
- package/dist/collection/components/footer/footer.interfaces.js +4 -0
- package/dist/collection/components/footer/footer.js +350 -0
- package/dist/collection/components/footer/test/footer.a11y.play.js +17 -0
- package/dist/collection/components/footer/test/footer.component.play.js +74 -0
- package/dist/collection/components/footer/test/footer.visual.play.js +16 -0
- package/dist/collection/components/form/test/form.visual.play.js +13 -1
- package/dist/collection/components/heading/heading.host.css +1 -1
- package/dist/collection/components/heading/heading.js +16 -17
- package/dist/collection/components/hint/hint-text/hint-text.js +28 -0
- package/dist/collection/components/hint/hint-title/hint-title.js +31 -0
- package/dist/collection/components/hint/hint.host.css +1 -0
- package/dist/collection/components/hint/hint.i18n.js +35 -0
- package/dist/collection/components/hint/hint.interfaces.js +1 -0
- package/dist/collection/components/hint/hint.js +410 -0
- package/dist/collection/components/hint/test/hint.a11y.play.js +41 -0
- package/dist/collection/components/hint/test/hint.component.play.js +110 -0
- package/dist/collection/components/hint/test/hint.visual.play.js +39 -0
- package/dist/collection/components/icon/icon.host.css +1 -1
- package/dist/collection/components/icon/icon.interfaces.js +1 -0
- package/dist/collection/components/icon/icon.js +73 -42
- package/dist/collection/components/icon/test/icon.component.play.js +23 -1
- package/dist/collection/components/input/clear-button.i18n.js +35 -0
- package/dist/collection/components/input/clear-button.util.js +11 -0
- package/dist/collection/components/input/input.host.css +1 -1
- package/dist/collection/components/input/input.js +36 -37
- package/dist/collection/components/input/test/input.component.play.js +1 -1
- package/dist/collection/components/input/trigger-button.i18n.js +45 -0
- package/dist/collection/components/input-slider/input-slider.host.css +1 -0
- package/dist/collection/components/input-slider/input-slider.interfaces.js +4 -0
- package/dist/collection/components/input-slider/input-slider.js +961 -0
- package/dist/collection/components/input-slider/input-slider.picker.js +124 -0
- package/dist/collection/components/input-slider/input-slider.utils.js +32 -0
- package/dist/collection/components/input-slider/test/input-slider.a11y.play.js +36 -0
- package/dist/collection/components/input-slider/test/input-slider.component.play.js +87 -0
- package/dist/collection/components/input-slider/test/input-slider.visual.play.js +27 -0
- package/dist/collection/components/label/label.host.css +1 -1
- package/dist/collection/components/label/label.js +16 -28
- package/dist/collection/components/list/item/item.host.css +1 -1
- package/dist/collection/components/list/item/item.interfaces.js +1 -1
- package/dist/collection/components/list/item/item.js +27 -34
- package/dist/collection/components/list/list.js +3 -10
- package/dist/collection/components/list/test/list.visual.play.js +30 -0
- package/dist/collection/components/logo/logo.js +11 -18
- package/dist/collection/components/modal/modal-body/modal-body.host.css +1 -0
- package/dist/collection/components/modal/modal-body/modal-body.js +41 -0
- package/dist/collection/components/modal/modal-header/modal-header.js +32 -0
- package/dist/collection/components/modal/modal.controller.js +31 -0
- package/dist/collection/components/modal/modal.host.css +1 -0
- package/dist/collection/components/modal/modal.interfaces.js +1 -0
- package/dist/collection/components/modal/modal.js +461 -0
- package/dist/collection/components/modal/test/modal.a11y.play.js +59 -0
- package/dist/collection/components/modal/test/modal.component.play.js +196 -0
- package/dist/collection/components/modal/test/modal.visual.play.js +36 -0
- package/dist/collection/components/navbar/navbar.host.css +1 -0
- package/dist/collection/components/navbar/navbar.i18n.js +65 -0
- package/dist/collection/components/navbar/navbar.interfaces.js +6 -0
- package/dist/collection/components/navbar/navbar.js +544 -0
- package/dist/collection/components/navbar/test/navbar.a11y.play.js +26 -0
- package/dist/collection/components/navbar/test/navbar.component.play.js +76 -0
- package/dist/collection/components/navbar/test/navbar.visual.play.js +14 -0
- package/dist/collection/components/notification/notification.host.css +1 -1
- package/dist/collection/components/notification/notification.js +14 -26
- package/dist/collection/components/number-input/number-input.host.css +1 -1
- package/dist/collection/components/number-input/number-input.js +23 -24
- package/dist/collection/components/pagination/pagination.host.css +1 -1
- package/dist/collection/components/pagination/pagination.js +29 -28
- package/dist/collection/components/popup/popup.host.css +1 -0
- package/dist/collection/components/popup/popup.interfaces.js +18 -0
- package/dist/collection/components/popup/popup.js +869 -0
- package/dist/collection/components/popup/test/popup.a11y.play.js +50 -0
- package/dist/collection/components/popup/test/popup.component.play.js +168 -0
- package/dist/collection/components/popup/test/popup.visual.play.js +33 -0
- package/dist/collection/components/progress-bar/progress-bar.host.css +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js +13 -20
- package/dist/collection/components/radio/radio-group/radio-group.host.css +1 -1
- package/dist/collection/components/radio/radio-group/radio-group.js +60 -24
- package/dist/collection/components/radio/radio.host.css +1 -1
- package/dist/collection/components/radio/radio.js +48 -20
- package/dist/collection/components/radio/test/radio.visual.play.js +3 -0
- package/dist/collection/components/segment/segment/segment.host.css +1 -1
- package/dist/collection/components/segment/segment/segment.js +19 -20
- package/dist/collection/components/segment/segment-item.js +6 -7
- package/dist/collection/components/select/select-optgroup.host.css +1 -0
- package/dist/collection/components/select/select-optgroup.js +82 -0
- package/dist/collection/components/select/select-option.host.css +1 -0
- package/dist/collection/components/select/select-option.js +112 -0
- package/dist/collection/components/select/select.host.css +1 -0
- package/dist/collection/components/select/select.i18n.js +45 -0
- package/dist/collection/components/select/select.interfaces.js +4 -0
- package/dist/collection/components/select/select.js +1024 -0
- package/dist/collection/components/select/select.picker.js +276 -0
- package/dist/collection/components/select/test/select.a11y.play.js +81 -0
- package/dist/collection/components/select/test/select.component.play.js +184 -0
- package/dist/collection/components/select/test/select.visual.play.js +70 -0
- package/dist/collection/components/shape/shape.js +7 -14
- package/dist/collection/components/spinner/spinner.js +18 -26
- package/dist/collection/components/stack/stack.host.css +1 -1
- package/dist/collection/components/stack/stack.js +41 -153
- package/dist/collection/components/steps/step/step.host.css +1 -0
- package/dist/collection/components/steps/step/step.js +431 -0
- package/dist/collection/components/steps/step-panel/step-panel.host.css +1 -0
- package/dist/collection/components/steps/step-panel/step-panel.js +104 -0
- package/dist/collection/components/steps/steps/steps.host.css +1 -0
- package/dist/collection/components/steps/steps/steps.js +356 -0
- package/dist/collection/components/steps/steps.interfaces.js +4 -0
- package/dist/collection/components/steps/test/steps.a11y.play.js +73 -0
- package/dist/collection/components/steps/test/steps.component.play.js +182 -0
- package/dist/collection/components/steps/test/steps.visual.play.js +18 -0
- package/dist/collection/components/tabs/tab/tab.host.css +1 -0
- package/dist/collection/components/tabs/tab/tab.js +278 -0
- package/dist/collection/components/tabs/tab-panel/tab-panel.host.css +1 -0
- package/dist/collection/components/tabs/tab-panel/tab-panel.js +104 -0
- package/dist/collection/components/tabs/tabs/tabs.host.css +1 -0
- package/dist/collection/components/tabs/tabs/tabs.i18n.js +45 -0
- package/dist/collection/components/tabs/tabs/tabs.js +552 -0
- package/dist/collection/components/tabs/tabs.interfaces.js +12 -0
- package/dist/collection/components/tabs/test/tabs.a11y.play.js +60 -0
- package/dist/collection/components/tabs/test/tabs.component.play.js +129 -0
- package/dist/collection/components/tabs/test/tabs.visual.play.js +31 -0
- package/dist/collection/components/tag/tag-group/tag-group.js +1 -1
- package/dist/collection/components/tag/tag.js +15 -26
- package/dist/collection/components/text/text.host.css +1 -1
- package/dist/collection/components/text/text.js +23 -30
- package/dist/collection/components/textarea/textarea.host.css +1 -1
- package/dist/collection/components/textarea/textarea.js +24 -25
- package/dist/collection/components/time-input/test/time-input.visual.play.js +18 -0
- package/dist/collection/components/toggle/toggle.js +19 -20
- package/dist/collection/components/tooltip/test/tooltip.a11y.play.js +32 -0
- package/dist/collection/components/tooltip/test/tooltip.component.play.js +51 -0
- package/dist/collection/components/tooltip/test/tooltip.visual.play.js +16 -0
- package/dist/collection/components/tooltip/tooltip.host.css +1 -0
- package/dist/collection/components/tooltip/tooltip.interfaces.js +4 -0
- package/dist/collection/components/tooltip/tooltip.js +407 -0
- package/dist/collection/foundation/colors.visual.play.js +18 -0
- package/dist/collection/global/config/config.const.js +11 -0
- package/dist/collection/global/config/config.default.js +92 -42
- package/dist/collection/global/config/config.js +1 -1
- package/dist/collection/global/config/config.meta.js +27 -0
- package/dist/collection/global/config/index.js +1 -0
- package/dist/collection/global/config/initialize.js +2 -1
- package/dist/collection/global/constants/tags.constant.js +30 -1
- package/dist/collection/global/constants/version.constant.js +1 -1
- package/dist/collection/global/index.js +0 -1
- package/dist/collection/global/initialize.js +2 -0
- package/dist/collection/index.js +5 -20
- package/dist/collection/utils/attributes.js +0 -15
- package/dist/collection/utils/focus.js +72 -0
- package/dist/collection/utils/form-control.js +1 -1
- package/dist/collection/utils/has-value.js +7 -0
- package/dist/collection/utils/helpers.js +14 -74
- package/dist/collection/utils/index.js +7 -5
- package/dist/collection/utils/{property-checkers/is-value-empty.js → is-value-empty.js} +1 -1
- package/dist/collection/utils/number.js +6 -25
- package/dist/collection/utils/property-decorators/array-of.js +25 -0
- package/dist/collection/utils/property-decorators/bound.js +79 -0
- package/dist/collection/utils/property-decorators/create-validator-decorator.js +212 -0
- package/dist/collection/utils/property-decorators/date.js +24 -0
- package/dist/collection/utils/property-decorators/index.js +12 -0
- package/dist/collection/utils/property-decorators/iso-date.js +24 -0
- package/dist/collection/utils/property-decorators/one-of.js +25 -0
- package/dist/collection/utils/property-decorators/pattern.js +25 -0
- package/dist/collection/utils/property-decorators/required.js +44 -0
- package/dist/collection/utils/property-decorators/type.js +28 -0
- package/dist/collection/utils/property-decorators/url.js +32 -0
- package/dist/collection/utils/property-types.js +1 -0
- package/dist/collection/utils/svg.js +19 -0
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/index.esm.js +1 -1
- package/dist/design-system/p-00e6b1b780.entry.js +4 -0
- package/dist/design-system/p-0bf3d4d939.entry.js +4 -0
- package/dist/design-system/p-0ea6cdd218.entry.js +4 -0
- package/dist/design-system/p-0f2a87fa39.entry.js +4 -0
- package/dist/design-system/p-138be1f0cc.entry.js +4 -0
- package/dist/design-system/p-16b03e0b02.entry.js +4 -0
- package/dist/design-system/p-1750b3c4f1.entry.js +4 -0
- package/dist/design-system/p-1A9jKraP.js +4 -0
- package/dist/design-system/p-1b1e3ad99c.entry.js +4 -0
- package/dist/design-system/p-24c85e99f5.entry.js +4 -0
- package/dist/design-system/p-2b038255c5.entry.js +4 -0
- package/dist/design-system/p-2bb98dfa2f.entry.js +4 -0
- package/dist/design-system/p-2eb6067210.entry.js +4 -0
- package/dist/design-system/p-32e156bc72.entry.js +4 -0
- package/dist/design-system/p-3824068ae7.entry.js +4 -0
- package/dist/design-system/p-3aa3841834.entry.js +4 -0
- package/dist/design-system/p-3d2539929c.entry.js +4 -0
- package/dist/design-system/p-3d675c6507.entry.js +4 -0
- package/dist/design-system/p-3e3a6799d6.entry.js +4 -0
- package/dist/design-system/p-3e43fa2bc6.entry.js +4 -0
- package/dist/design-system/p-4284d6d646.entry.js +4 -0
- package/dist/design-system/{p-1d312498a6.entry.js → p-44981aaf8d.entry.js} +1 -1
- package/dist/design-system/p-4b2a59576c.entry.js +4 -0
- package/dist/design-system/p-4bfc094a03.entry.js +4 -0
- package/dist/design-system/p-53d9a40010.entry.js +4 -0
- package/dist/design-system/p-564ee4d78f.entry.js +4 -0
- package/dist/design-system/p-599a693db3.entry.js +4 -0
- package/dist/design-system/p-5a6c6959fa.entry.js +4 -0
- package/dist/design-system/p-5d4a5d0b61.entry.js +4 -0
- package/dist/design-system/p-5ded2b6438.entry.js +4 -0
- package/dist/design-system/p-5f1a8be21c.entry.js +4 -0
- package/dist/design-system/p-5f28436626.entry.js +4 -0
- package/dist/design-system/p-6c60833550.entry.js +4 -0
- package/dist/design-system/p-7246bfb9a0.entry.js +4 -0
- package/dist/design-system/p-77e7a6a068.entry.js +4 -0
- package/dist/design-system/p-78112e7b35.entry.js +4 -0
- package/dist/design-system/p-7ebdd14afc.entry.js +4 -0
- package/dist/design-system/p-7f42c18249.entry.js +4 -0
- package/dist/design-system/p-85bf3794f9.entry.js +4 -0
- package/dist/design-system/p-8a9d617f75.entry.js +4 -0
- package/dist/design-system/p-908e7b073a.entry.js +4 -0
- package/dist/design-system/p-9f9364d7df.entry.js +4 -0
- package/dist/design-system/p-B-en4B17.js +4 -0
- package/dist/design-system/p-B-v2Wm-V.js +5 -0
- package/dist/design-system/p-B8KVoKrH.js +5 -0
- package/dist/design-system/p-B8PCdo6e.js +4 -0
- package/dist/design-system/p-BAY6Z8bT.js +4 -0
- package/dist/design-system/{p-C7EnKCpl.js → p-BMM6Nxeh.js} +1 -1
- package/{components/p-Diz11uvt.js → dist/design-system/p-BPGfTrrM.js} +1 -1
- package/dist/design-system/p-BqY0KzJC.js +4 -0
- package/dist/design-system/p-BrJFPhMA.js +4 -0
- package/dist/design-system/p-C1jqbZdf.js +4 -0
- package/dist/design-system/{p-DCf2fJmI.js → p-C5Rtikeh.js} +1 -1
- package/dist/design-system/p-CDhvZoCt.js +4 -0
- package/dist/design-system/p-CGHN-3RC.js +4 -0
- package/dist/design-system/{p-CAcwu8uP.js → p-CfgwSore.js} +1 -1
- package/dist/design-system/p-ChSKXFK5.js +4 -0
- package/dist/design-system/{p-BLPSziW-.js → p-Chgme2NJ.js} +1 -1
- package/{components/p-5Sp1eJOt.js → dist/design-system/p-CrYAd3JT.js} +1 -1
- package/dist/design-system/p-CziF75uh.js +4 -0
- package/dist/design-system/p-DJBD4skP.js +14 -0
- package/{components/p-E1SnOz0L.js → dist/design-system/p-DOvdnojj.js} +1 -1
- package/dist/design-system/p-DYPX3A8m.js +4 -0
- package/dist/design-system/p-DiUgZKWs.js +4 -0
- package/dist/design-system/p-Dk0GEN2t.js +4 -0
- package/dist/design-system/p-DkhJaoXg.js +4 -0
- package/dist/design-system/p-DoHCSvjl.js +4 -0
- package/dist/design-system/p-DypNSUAh.js +4 -0
- package/dist/design-system/p-Uy_dVz21.js +4 -0
- package/dist/design-system/{p-Dnjznncd.js → p-Y0rKqVvm.js} +1 -1
- package/dist/design-system/p-Z0zrglhd.js +4 -0
- package/dist/design-system/p-a42ecb68a0.entry.js +4 -0
- package/dist/design-system/p-a782c877ea.entry.js +4 -0
- package/dist/design-system/p-a8df8f067b.entry.js +4 -0
- package/dist/design-system/p-aa3aee2591.entry.js +4 -0
- package/dist/design-system/p-aa3c0ff536.entry.js +4 -0
- package/dist/design-system/p-ab8bee7022.entry.js +4 -0
- package/dist/design-system/p-adc58b2821.entry.js +4 -0
- package/dist/design-system/p-b390490b0d.entry.js +4 -0
- package/dist/design-system/p-b44641ec28.entry.js +4 -0
- package/dist/design-system/p-b4738dc266.entry.js +4 -0
- package/dist/design-system/p-b851a43fff.entry.js +4 -0
- package/dist/design-system/p-b8669a617c.entry.js +4 -0
- package/dist/design-system/p-b8f626bf28.entry.js +4 -0
- package/dist/design-system/p-bd543e1baf.entry.js +4 -0
- package/dist/design-system/p-ce67cbbed5.entry.js +4 -0
- package/dist/design-system/p-d3a80b8422.entry.js +4 -0
- package/dist/design-system/p-d4d9205dda.entry.js +4 -0
- package/dist/design-system/p-dbd3d3b3d3.entry.js +4 -0
- package/{components/p-BATOumsf.js → dist/design-system/p-dziB1ufg.js} +1 -1
- package/dist/design-system/p-e0b2d6e296.entry.js +4 -0
- package/dist/design-system/p-e94ee7391c.entry.js +4 -0
- package/dist/design-system/p-ee76bf354e.entry.js +4 -0
- package/dist/design-system/p-f7be5b6114.entry.js +4 -0
- package/dist/design-system/p-fa613cd0d1.entry.js +4 -0
- package/dist/design-system/p-faf75173db.entry.js +4 -0
- package/dist/design-system/p-fff38e1ca7.entry.js +4 -0
- package/dist/design-system/p-x2KazRjl.js +4 -0
- package/dist/esm/{_getTag-DFxL3s3h.js → _getTag-BkweuRJc.js} +1 -1
- package/dist/esm/array-BJZA868l.js +1984 -0
- package/dist/esm/{breakpoints.decorator-L2xeP46f.js → breakpoints.decorator-D9M4v98c.js} +1 -1
- package/dist/esm/{breakpoints.subject-BhbzG-rl.js → breakpoints.subject-DHZ7TzYV.js} +3 -3
- package/dist/esm/{button.interfaces-BkESlUMc.js → button.interfaces-BPGfTrrM.js} +1 -1
- package/dist/esm/carousel.interfaces-B-en4B17.js +8 -0
- package/dist/esm/{config.decorator-BQNIja4k.js → config.decorator-CRYVBTkX.js} +1 -1
- package/dist/esm/{config.utils-COlKFRlV.js → config.utils-CR4Xudpz.js} +1 -1
- package/dist/esm/create-validator-decorator-fUav5byo.js +208 -0
- package/dist/esm/design-system.js +4 -4
- package/dist/esm/{device-Dhwt3m7W.js → device-CapioAfe.js} +1 -1
- package/dist/esm/ds-accordion.entry.js +30 -34
- package/dist/esm/ds-alert-container.entry.js +12 -15
- package/dist/esm/ds-app.entry.js +16 -6
- package/dist/esm/ds-badge.entry.js +33 -26
- package/dist/esm/ds-button-group.entry.js +14 -17
- package/dist/esm/ds-button_2.entry.js +58 -73
- package/dist/esm/ds-card-actions.entry.js +6 -8
- package/dist/esm/ds-card-content.entry.js +3 -3
- package/dist/esm/ds-card-header.entry.js +8 -5
- package/dist/esm/ds-card-subtitle.entry.js +13 -13
- package/dist/esm/ds-card-title.entry.js +11 -7
- package/dist/esm/ds-card.entry.js +32 -43
- package/dist/esm/ds-carousel-item.entry.js +126 -0
- package/dist/esm/ds-carousel.entry.js +471 -0
- package/dist/esm/ds-checkbox-group.entry.js +59 -2012
- package/dist/esm/ds-checkbox.entry.js +33 -20
- package/dist/esm/ds-content_2.entry.js +327 -0
- package/dist/esm/ds-data-item.entry.js +144 -0
- package/dist/esm/ds-data-label.entry.js +39 -0
- package/dist/esm/ds-data-value.entry.js +29 -0
- package/dist/esm/ds-data.entry.js +41 -0
- package/dist/esm/ds-date.entry.js +5332 -0
- package/dist/esm/{ds-logo.entry.js → ds-divider_2.entry.js} +130 -26
- package/dist/esm/ds-drawer_2.entry.js +599 -0
- package/dist/esm/ds-file-upload.entry.js +514 -0
- package/dist/esm/ds-footer.entry.js +157 -0
- package/dist/esm/ds-heading.entry.js +22 -20
- package/dist/esm/ds-hint-text.entry.js +26 -0
- package/dist/esm/ds-hint-title.entry.js +29 -0
- package/dist/esm/ds-hint.entry.js +241 -0
- package/dist/esm/ds-icon_2.entry.js +80 -71
- package/dist/esm/ds-input-slider.entry.js +2883 -0
- package/dist/esm/ds-input.entry.js +46 -44
- package/dist/esm/ds-item.entry.js +29 -34
- package/dist/esm/ds-label.entry.js +23 -31
- package/dist/esm/ds-list.entry.js +6 -12
- package/dist/esm/ds-modal-body.entry.js +32 -0
- package/dist/esm/ds-modal-header.entry.js +29 -0
- package/dist/esm/ds-modal.entry.js +199 -0
- package/dist/esm/ds-navbar.entry.js +357 -0
- package/dist/esm/ds-notification.entry.js +20 -28
- package/dist/esm/ds-number-input.entry.js +102 -114
- package/dist/esm/ds-pagination.entry.js +41 -37
- package/dist/esm/ds-progress-bar.entry.js +25 -29
- package/dist/esm/ds-radio-group.entry.js +49 -31
- package/dist/esm/ds-radio.entry.js +35 -33
- package/dist/esm/ds-segment-item.entry.js +9 -9
- package/dist/esm/ds-segment.entry.js +28 -116
- package/dist/esm/ds-select-optgroup.entry.js +47 -0
- package/dist/esm/ds-select-option.entry.js +55 -0
- package/dist/esm/ds-select.entry.js +2770 -0
- package/dist/esm/ds-shape.entry.js +10 -16
- package/dist/esm/ds-snackbar.entry.js +41 -58
- package/dist/esm/ds-step-panel.entry.js +53 -0
- package/dist/esm/ds-step.entry.js +168 -0
- package/dist/esm/ds-steps.entry.js +225 -0
- package/dist/esm/ds-tab-panel.entry.js +53 -0
- package/dist/esm/ds-tab.entry.js +118 -0
- package/dist/esm/ds-tabs.entry.js +362 -0
- package/dist/esm/ds-tag-group.entry.js +3 -3
- package/dist/esm/ds-tag.entry.js +19 -26
- package/dist/esm/ds-text.entry.js +29 -33
- package/dist/esm/ds-textarea.entry.js +33 -32
- package/dist/esm/ds-toast.entry.js +41 -55
- package/dist/esm/ds-toggle.entry.js +22 -21
- package/dist/esm/ds-tooltip.entry.js +180 -0
- package/dist/esm/{field.util-BXxRO7CD.js → field.util-neIQBS-h.js} +1 -1
- package/dist/esm/floating-ui.dom-BqY0KzJC.js +1621 -0
- package/dist/esm/focus-6OAqvfus.js +1956 -0
- package/dist/esm/footer.i18n-BrJFPhMA.js +159 -0
- package/dist/esm/{form-control-D2O-sb65.js → form-control-DhinyMa9.js} +2 -2
- package/dist/esm/has-value-Dmsj8ZQw.js +10 -0
- package/dist/esm/{index-CuwLeg-T.js → index-B-v2Wm-V.js} +501 -175
- package/dist/esm/index.js +13 -8273
- package/dist/esm/{input.interfaces-C7EnKCpl.js → input.interfaces-BMM6Nxeh.js} +1 -1
- package/dist/esm/isArray-B8PCdo6e.js +40 -0
- package/dist/esm/isNaN-BrbqGXXw.js +104 -0
- package/dist/esm/{isObjectLike-BAYao9w7.js → isObjectLike-BnBXjF_n.js} +1 -37
- package/dist/esm/keyboard-Uy_dVz21.js +20 -0
- package/dist/esm/{listener-C_kjUVTE.js → listener-DIZDQOuO.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/luxon-C1jqbZdf.js +8133 -0
- package/dist/esm/one-of-CjRvS2Tk.js +28 -0
- package/dist/esm/popup.interfaces-BAY6Z8bT.js +20 -0
- package/dist/esm/required-Dtml5IID.js +36 -0
- package/dist/esm/resize.decorator-eogZBBk6.js +96 -0
- package/dist/esm/scroll-v2MaEkiZ.js +87 -0
- package/dist/esm/svg-B8KVoKrH.js +2440 -0
- package/dist/esm/{tslib.es6-tdchDLyb.js → tslib.es6-n47B6oUi.js} +1 -1
- package/dist/esm/type-7qEQcw90.js +31 -0
- package/dist/types/components/accordion/accordion.d.ts +0 -5
- package/dist/types/components/alert/alert-container.d.ts +0 -5
- package/dist/types/components/alert/snackbar/snackbar.d.ts +0 -5
- package/dist/types/components/alert/toast/toast.d.ts +0 -5
- package/dist/types/components/badge/badge.d.ts +1 -3
- package/dist/types/components/badge/badge.interfaces.d.ts +1 -1
- package/dist/types/components/button/button-group/button-group.d.ts +0 -5
- package/dist/types/components/button/button.d.ts +1 -3
- package/dist/types/components/button/button.interfaces.d.ts +1 -1
- package/dist/types/components/card/card-actions/card-actions.d.ts +0 -1
- package/dist/types/components/card/card-subtitle/card-subtitle.d.ts +0 -1
- package/dist/types/components/card/card.d.ts +2 -4
- package/dist/types/components/carousel/carousel/carousel.d.ts +114 -0
- package/dist/types/components/carousel/carousel/carousel.i18n.d.ts +9 -0
- package/dist/types/components/carousel/carousel-item/carousel-item.d.ts +70 -0
- package/dist/types/components/carousel/carousel.interfaces.d.ts +14 -0
- package/dist/types/components/carousel/test/carousel.a11y.play.d.ts +1 -0
- package/dist/types/components/carousel/test/carousel.component.play.d.ts +1 -0
- package/dist/types/components/carousel/test/carousel.visual.play.d.ts +1 -0
- package/dist/types/components/checkbox/checkbox-group/checkbox-group.d.ts +6 -0
- package/dist/types/components/checkbox/checkbox.d.ts +4 -0
- package/dist/types/components/close/close.d.ts +1 -3
- package/dist/types/components/content/content.d.ts +2 -5
- package/dist/types/components/data/data-item.d.ts +43 -0
- package/dist/types/components/data/data-item.i18n.d.ts +6 -0
- package/dist/types/components/data/data-item.interfaces.d.ts +4 -0
- package/dist/types/components/data/data-label.d.ts +19 -0
- package/dist/types/components/data/data-label.interfaces.d.ts +3 -0
- package/dist/types/components/data/data-value.d.ts +15 -0
- package/dist/types/components/data/data-value.interfaces.d.ts +5 -0
- package/dist/types/components/data/data.d.ts +19 -0
- package/dist/types/components/data/data.interfaces.d.ts +4 -0
- package/dist/types/components/data/test/data.a11y.play.d.ts +1 -0
- package/dist/types/components/data/test/data.component.play.d.ts +1 -0
- package/dist/types/components/data/test/data.visual.play.d.ts +1 -0
- package/dist/types/components/date/date.d.ts +214 -0
- package/dist/types/components/date/date.i18n.d.ts +13 -0
- package/dist/types/components/date/date.interfaces.d.ts +18 -0
- package/dist/types/components/date/date.mask.d.ts +29 -0
- package/dist/types/components/date/date.picker.d.ts +67 -0
- package/dist/types/components/date/test/date.a11y.play.d.ts +1 -0
- package/dist/types/components/date/test/date.component.play.d.ts +1 -0
- package/dist/types/components/date/test/date.visual.play.d.ts +1 -0
- package/dist/types/components/divider/divider.d.ts +1 -3
- package/dist/types/components/drawer/drawer.d.ts +102 -0
- package/dist/types/components/drawer/drawer.interfaces.d.ts +8 -0
- package/dist/types/components/drawer/test/drawer.a11y.play.d.ts +1 -0
- package/dist/types/components/drawer/test/drawer.component.play.d.ts +1 -0
- package/dist/types/components/drawer/test/drawer.visual.play.d.ts +1 -0
- package/dist/types/components/file-upload/file-upload.d.ts +192 -0
- package/dist/types/components/file-upload/file-upload.i18n.d.ts +8 -0
- package/dist/types/components/file-upload/file-upload.interfaces.d.ts +24 -0
- package/dist/types/components/file-upload/test/file-upload.a11y.play.d.ts +1 -0
- package/dist/types/components/file-upload/test/file-upload.component.play.d.ts +1 -0
- package/dist/types/components/file-upload/test/file-upload.visual.play.d.ts +1 -0
- package/dist/types/components/file-upload/utils/file-list.util.d.ts +2 -0
- package/dist/types/components/file-upload/utils/file-size.util.d.ts +1 -0
- package/dist/types/components/file-upload/utils/file-validation.util.d.ts +13 -0
- package/dist/types/components/footer/footer.d.ts +68 -0
- package/dist/types/components/footer/footer.i18n.d.ts +7 -0
- package/dist/types/components/footer/footer.interfaces.d.ts +19 -0
- package/dist/types/components/footer/test/footer.a11y.play.d.ts +1 -0
- package/dist/types/components/footer/test/footer.component.play.d.ts +1 -0
- package/dist/types/components/footer/test/footer.visual.play.d.ts +1 -0
- package/dist/types/components/hint/hint-text/hint-text.d.ts +15 -0
- package/dist/types/components/hint/hint-title/hint-title.d.ts +16 -0
- package/dist/types/components/hint/hint.d.ts +87 -0
- package/dist/types/components/hint/hint.i18n.d.ts +6 -0
- package/dist/types/components/hint/hint.interfaces.d.ts +4 -0
- package/dist/types/components/hint/test/hint.a11y.play.d.ts +1 -0
- package/dist/types/components/hint/test/hint.component.play.d.ts +1 -0
- package/dist/types/components/hint/test/hint.visual.play.d.ts +1 -0
- package/dist/types/components/icon/icon.d.ts +7 -3
- package/dist/types/components/icon/icon.interfaces.d.ts +1 -1
- package/dist/types/components/input/clear-button.i18n.d.ts +6 -0
- package/dist/types/components/input/clear-button.util.d.ts +10 -0
- package/dist/types/components/input/trigger-button.i18n.d.ts +7 -0
- package/dist/types/components/input-slider/input-slider.d.ts +186 -0
- package/dist/types/components/input-slider/input-slider.interfaces.d.ts +18 -0
- package/dist/types/components/input-slider/input-slider.picker.d.ts +37 -0
- package/dist/types/components/input-slider/input-slider.utils.d.ts +18 -0
- package/dist/types/components/input-slider/test/input-slider.a11y.play.d.ts +1 -0
- package/dist/types/components/input-slider/test/input-slider.component.play.d.ts +1 -0
- package/dist/types/components/input-slider/test/input-slider.visual.play.d.ts +1 -0
- package/dist/types/components/label/label.d.ts +3 -5
- package/dist/types/components/list/item/item.d.ts +0 -5
- package/dist/types/components/list/item/item.interfaces.d.ts +1 -1
- package/dist/types/components/list/list.d.ts +0 -5
- package/dist/types/components/list/test/list.visual.play.d.ts +1 -0
- package/dist/types/components/logo/logo.d.ts +1 -2
- package/dist/types/components/modal/modal-body/modal-body.d.ts +15 -0
- package/dist/types/components/modal/modal-header/modal-header.d.ts +17 -0
- package/dist/types/components/modal/modal.controller.d.ts +3 -0
- package/dist/types/components/modal/modal.d.ts +97 -0
- package/dist/types/components/modal/modal.interfaces.d.ts +15 -0
- package/dist/types/components/modal/test/modal.a11y.play.d.ts +1 -0
- package/dist/types/components/modal/test/modal.component.play.d.ts +1 -0
- package/dist/types/components/modal/test/modal.visual.play.d.ts +1 -0
- package/dist/types/components/navbar/navbar.d.ts +128 -0
- package/dist/types/components/navbar/navbar.i18n.d.ts +9 -0
- package/dist/types/components/navbar/navbar.interfaces.d.ts +10 -0
- package/dist/types/components/navbar/test/navbar.a11y.play.d.ts +1 -0
- package/dist/types/components/navbar/test/navbar.component.play.d.ts +1 -0
- package/dist/types/components/navbar/test/navbar.visual.play.d.ts +1 -0
- package/dist/types/components/notification/notification.d.ts +1 -3
- package/dist/types/components/pagination/pagination.d.ts +0 -5
- package/dist/types/components/popup/popup.d.ts +152 -0
- package/dist/types/components/popup/popup.interfaces.d.ts +14 -0
- package/dist/types/components/popup/test/popup.a11y.play.d.ts +1 -0
- package/dist/types/components/popup/test/popup.component.play.d.ts +1 -0
- package/dist/types/components/popup/test/popup.visual.play.d.ts +1 -0
- package/dist/types/components/progress-bar/progress-bar.d.ts +0 -5
- package/dist/types/components/radio/radio-group/radio-group.d.ts +6 -0
- package/dist/types/components/radio/radio.d.ts +4 -0
- package/dist/types/components/select/select-optgroup.d.ts +28 -0
- package/dist/types/components/select/select-option.d.ts +34 -0
- package/dist/types/components/select/select.d.ts +193 -0
- package/dist/types/components/select/select.i18n.d.ts +7 -0
- package/dist/types/components/select/select.interfaces.d.ts +16 -0
- package/dist/types/components/select/select.picker.d.ts +57 -0
- package/dist/types/components/select/test/select.a11y.play.d.ts +1 -0
- package/dist/types/components/select/test/select.component.play.d.ts +1 -0
- package/dist/types/components/select/test/select.visual.play.d.ts +1 -0
- package/dist/types/components/shape/shape.d.ts +2 -7
- package/dist/types/components/spinner/spinner.d.ts +0 -2
- package/dist/types/components/stack/stack.d.ts +7 -19
- package/dist/types/components/steps/step/step.d.ts +89 -0
- package/dist/types/components/steps/step-panel/step-panel.d.ts +34 -0
- package/dist/types/components/steps/steps/steps.d.ts +77 -0
- package/dist/types/components/steps/steps.interfaces.d.ts +10 -0
- package/dist/types/components/steps/test/steps.a11y.play.d.ts +1 -0
- package/dist/types/components/steps/test/steps.component.play.d.ts +1 -0
- package/dist/types/components/steps/test/steps.visual.play.d.ts +1 -0
- package/dist/types/components/tabs/tab/tab.d.ts +67 -0
- package/dist/types/components/tabs/tab-panel/tab-panel.d.ts +34 -0
- package/dist/types/components/tabs/tabs/tabs.d.ts +97 -0
- package/dist/types/components/tabs/tabs/tabs.i18n.d.ts +7 -0
- package/dist/types/components/tabs/tabs.interfaces.d.ts +12 -0
- package/dist/types/components/tabs/test/tabs.a11y.play.d.ts +1 -0
- package/dist/types/components/tabs/test/tabs.component.play.d.ts +1 -0
- package/dist/types/components/tabs/test/tabs.visual.play.d.ts +1 -0
- package/dist/types/components/tag/tag.d.ts +1 -3
- package/dist/types/components/text/text.d.ts +2 -7
- package/dist/types/components/time-input/test/time-input.visual.play.d.ts +1 -0
- package/dist/types/components/tooltip/test/tooltip.a11y.play.d.ts +1 -0
- package/dist/types/components/tooltip/test/tooltip.component.play.d.ts +1 -0
- package/dist/types/components/tooltip/test/tooltip.visual.play.d.ts +1 -0
- package/dist/types/components/tooltip/tooltip.d.ts +85 -0
- package/dist/types/components/tooltip/tooltip.interfaces.d.ts +10 -0
- package/dist/types/components.d.ts +5162 -1870
- package/dist/types/foundation/colors.visual.play.d.ts +1 -0
- package/dist/types/global/config/config.const.d.ts +3 -0
- package/dist/types/global/config/config.default.d.ts +0 -40
- package/dist/types/global/config/config.meta.d.ts +2 -0
- package/dist/types/global/config/config.types.d.ts +27 -0
- package/dist/types/global/config/index.d.ts +1 -0
- package/dist/types/global/index.d.ts +0 -1
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/carousel.po.d.ts +12 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/data-item.po.d.ts +16 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/data.po.d.ts +12 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/date.po.d.ts +15 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/drawer.po.d.ts +11 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/file-upload.po.d.ts +16 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/footer.po.d.ts +16 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/hint.po.d.ts +10 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/index.d.ts +16 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/input-slider.po.d.ts +18 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/modal.po.d.ts +15 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/navbar.po.d.ts +13 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/popup.po.d.ts +11 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/select.po.d.ts +24 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/steps.po.d.ts +13 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/tabs.po.d.ts +13 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/tooltip.po.d.ts +6 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/goto.d.ts +1 -1
- package/dist/types/index.d.ts +4 -1
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/dist/types/utils/attributes.d.ts +0 -8
- package/dist/types/utils/focus.d.ts +18 -0
- package/dist/types/utils/form-control.d.ts +2 -2
- package/dist/types/utils/has-value.d.ts +1 -0
- package/dist/types/utils/index.d.ts +7 -5
- package/dist/types/utils/number.d.ts +0 -3
- package/dist/types/utils/property-decorators/array-of.d.ts +9 -0
- package/dist/types/utils/property-decorators/bound.d.ts +36 -0
- package/dist/types/utils/property-decorators/create-validator-decorator.d.ts +48 -0
- package/dist/types/utils/property-decorators/date.d.ts +6 -0
- package/dist/types/utils/property-decorators/index.d.ts +9 -0
- package/dist/types/utils/property-decorators/iso-date.d.ts +6 -0
- package/dist/types/utils/property-decorators/one-of.d.ts +8 -0
- package/dist/types/utils/property-decorators/pattern.d.ts +8 -0
- package/dist/types/utils/property-decorators/required.d.ts +17 -0
- package/dist/types/utils/property-decorators/type.d.ts +9 -0
- package/dist/types/utils/property-decorators/url.d.ts +6 -0
- package/dist/types/utils/svg.d.ts +2 -0
- package/docs/cem.json +18228 -0
- package/docs/components.json +39621 -17240
- package/docs/html.html-data.json +1664 -159
- package/docs/tags.json +30 -1
- package/package.json +46 -38
- package/sbom.cdx.json +58887 -0
- package/README.md +0 -33
- package/components/p-82RSSk25.js +0 -4
- package/components/p-BEngECpF.js +0 -4
- package/components/p-BMBthpLd.js +0 -4
- package/components/p-BNY3JzuV.js +0 -4
- package/components/p-BOTkpyFe.js +0 -5
- package/components/p-BOgMmRCt.js +0 -4
- package/components/p-CDYlUuhB.js +0 -4
- package/components/p-Cb75Rr6o.js +0 -4
- package/components/p-CojUmpFm.js +0 -4
- package/components/p-DHeVI6dR.js +0 -4
- package/components/p-DTPbL3uY.js +0 -4
- package/components/p-DnnGnukM.js +0 -4
- package/components/p-DtuTnY5l.js +0 -4
- package/components/p-JZ1uDtZv.js +0 -4
- package/components/p-cSbDziZm.js +0 -4
- package/components/p-gA-94RPS.js +0 -4
- package/components/p-xDEngwqW.js +0 -4
- package/dist/cjs/contact-SPfz2A_q.js +0 -1647
- package/dist/cjs/ds-content.cjs.entry.js +0 -154
- package/dist/cjs/ds-divider.cjs.entry.js +0 -131
- package/dist/cjs/ds-stack.cjs.entry.js +0 -224
- package/dist/cjs/isEmpty-BmKp4bH4.js +0 -99
- package/dist/cjs/stack.interfaces-6vlKvBmb.js +0 -68
- package/dist/cjs/svg-D7Mwbcvp.js +0 -1482
- package/dist/cjs/validate.decorator-C9-9HA0Y.js +0 -115
- package/dist/collection/global/constants/icons.constant.js +0 -42
- package/dist/collection/utils/element-states/element-states.decorator.js +0 -23
- package/dist/collection/utils/element-states/element-states.listener.js +0 -55
- package/dist/collection/utils/element-states/element-states.subject.js +0 -24
- package/dist/collection/utils/element-states/index.js +0 -5
- package/dist/collection/utils/keyboard/index.js +0 -6
- package/dist/collection/utils/keyboard/keyboard.decorator.js +0 -23
- package/dist/collection/utils/keyboard/keyboard.listener.js +0 -34
- package/dist/collection/utils/keyboard/keyboard.subject.js +0 -24
- package/dist/collection/utils/property-checkers/check-array-of.js +0 -13
- package/dist/collection/utils/property-checkers/check-date.js +0 -18
- package/dist/collection/utils/property-checkers/check-iso-date.js +0 -14
- package/dist/collection/utils/property-checkers/check-one-of.js +0 -13
- package/dist/collection/utils/property-checkers/check-pattern.js +0 -13
- package/dist/collection/utils/property-checkers/check-type.js +0 -20
- package/dist/collection/utils/property-checkers/check-url.js +0 -20
- package/dist/collection/utils/property-checkers/empty-or.js +0 -15
- package/dist/collection/utils/property-checkers/index.js +0 -57
- package/dist/collection/utils/property-checkers/required-and.js +0 -20
- package/dist/collection/utils/swipe/index.js +0 -6
- package/dist/collection/utils/swipe/swipe.decorator.js +0 -23
- package/dist/collection/utils/swipe/swipe.listener.js +0 -33
- package/dist/collection/utils/swipe/swipe.subject.js +0 -28
- package/dist/collection/utils/validate.decorator.js +0 -203
- package/dist/design-system/p-03bbcdf9de.entry.js +0 -4
- package/dist/design-system/p-1154323457.entry.js +0 -4
- package/dist/design-system/p-1f0601a4f4.entry.js +0 -4
- package/dist/design-system/p-21b080a49a.entry.js +0 -4
- package/dist/design-system/p-27c34c4e5f.entry.js +0 -4
- package/dist/design-system/p-2b91de302f.entry.js +0 -4
- package/dist/design-system/p-31c1235ac5.entry.js +0 -4
- package/dist/design-system/p-3259acaa64.entry.js +0 -4
- package/dist/design-system/p-339d85cca0.entry.js +0 -4
- package/dist/design-system/p-35e63b52e7.entry.js +0 -4
- package/dist/design-system/p-363f3a7ab4.entry.js +0 -4
- package/dist/design-system/p-3d901720f7.entry.js +0 -4
- package/dist/design-system/p-40ba8b9812.entry.js +0 -4
- package/dist/design-system/p-432430e14f.entry.js +0 -4
- package/dist/design-system/p-487807f228.entry.js +0 -4
- package/dist/design-system/p-4a049d1b7f.entry.js +0 -4
- package/dist/design-system/p-4f4cce8ce4.entry.js +0 -4
- package/dist/design-system/p-5a901a9b8e.entry.js +0 -4
- package/dist/design-system/p-5d3330bf93.entry.js +0 -4
- package/dist/design-system/p-640223834c.entry.js +0 -4
- package/dist/design-system/p-6b9aab417f.entry.js +0 -4
- package/dist/design-system/p-799705af3a.entry.js +0 -4
- package/dist/design-system/p-7e6ed497e7.entry.js +0 -4
- package/dist/design-system/p-82RSSk25.js +0 -4
- package/dist/design-system/p-8e0872fef0.entry.js +0 -4
- package/dist/design-system/p-9617d56181.entry.js +0 -4
- package/dist/design-system/p-BaIoYrFa.js +0 -5
- package/dist/design-system/p-Cb75Rr6o.js +0 -4
- package/dist/design-system/p-CqZ6YSy9.js +0 -4
- package/dist/design-system/p-CqzM3doy.js +0 -4
- package/dist/design-system/p-CuwLeg-T.js +0 -5
- package/dist/design-system/p-DHeVI6dR.js +0 -4
- package/dist/design-system/p-DTPbL3uY.js +0 -4
- package/dist/design-system/p-aff68865ee.entry.js +0 -4
- package/dist/design-system/p-b3c6327744.entry.js +0 -4
- package/dist/design-system/p-be9023a38b.entry.js +0 -4
- package/dist/design-system/p-c031d1dce5.entry.js +0 -4
- package/dist/design-system/p-c3ae96e220.entry.js +0 -4
- package/dist/design-system/p-d430812a57.entry.js +0 -4
- package/dist/design-system/p-de1354f022.entry.js +0 -4
- package/dist/design-system/p-e3d0c82e2a.entry.js +0 -4
- package/dist/design-system/p-ea1a5e1f75.entry.js +0 -4
- package/dist/design-system/p-ea7169501c.entry.js +0 -4
- package/dist/design-system/p-eab397e041.entry.js +0 -4
- package/dist/design-system/p-ecba4deb9a.entry.js +0 -4
- package/dist/design-system/p-fe0dbd4b03.entry.js +0 -4
- package/dist/design-system/p-ng5ZzTOj.js +0 -4
- package/dist/esm/contact-Cb75Rr6o.js +0 -1636
- package/dist/esm/ds-content.entry.js +0 -152
- package/dist/esm/ds-divider.entry.js +0 -129
- package/dist/esm/ds-stack.entry.js +0 -222
- package/dist/esm/isEmpty-DmZYZqE9.js +0 -97
- package/dist/esm/stack.interfaces-ng5ZzTOj.js +0 -62
- package/dist/esm/svg-BaIoYrFa.js +0 -1480
- package/dist/esm/validate.decorator-82RSSk25.js +0 -110
- package/dist/types/global/constants/icons.constant.d.ts +0 -38
- package/dist/types/utils/element-states/element-states.decorator.d.ts +0 -3
- package/dist/types/utils/element-states/element-states.interfaces.d.ts +0 -10
- package/dist/types/utils/element-states/element-states.listener.d.ts +0 -15
- package/dist/types/utils/element-states/element-states.subject.d.ts +0 -8
- package/dist/types/utils/element-states/index.d.ts +0 -2
- package/dist/types/utils/keyboard/index.d.ts +0 -3
- package/dist/types/utils/keyboard/keyboard.decorator.d.ts +0 -3
- package/dist/types/utils/keyboard/keyboard.interfaces.d.ts +0 -8
- package/dist/types/utils/keyboard/keyboard.listener.d.ts +0 -9
- package/dist/types/utils/keyboard/keyboard.subject.d.ts +0 -8
- package/dist/types/utils/property-checkers/check-array-of.d.ts +0 -2
- package/dist/types/utils/property-checkers/check-date.d.ts +0 -1
- package/dist/types/utils/property-checkers/check-iso-date.d.ts +0 -1
- package/dist/types/utils/property-checkers/check-one-of.d.ts +0 -1
- package/dist/types/utils/property-checkers/check-pattern.d.ts +0 -1
- package/dist/types/utils/property-checkers/check-type.d.ts +0 -2
- package/dist/types/utils/property-checkers/check-url.d.ts +0 -1
- package/dist/types/utils/property-checkers/constants.d.ts +0 -1
- package/dist/types/utils/property-checkers/empty-or.d.ts +0 -1
- package/dist/types/utils/property-checkers/index.d.ts +0 -19
- package/dist/types/utils/property-checkers/required-and.d.ts +0 -1
- package/dist/types/utils/swipe/index.d.ts +0 -3
- package/dist/types/utils/swipe/swipe.decorator.d.ts +0 -5
- package/dist/types/utils/swipe/swipe.interfaces.d.ts +0 -10
- package/dist/types/utils/swipe/swipe.listener.d.ts +0 -10
- package/dist/types/utils/swipe/swipe.subject.d.ts +0 -11
- package/dist/types/utils/validate.decorator.d.ts +0 -114
- /package/dist/collection/{utils/element-states/element-states.interfaces.js → components/data/data-item.interfaces.js} +0 -0
- /package/dist/collection/{utils/keyboard/keyboard.interfaces.js → components/data/data-label.interfaces.js} +0 -0
- /package/dist/collection/{utils/property-checkers/property-types.js → components/data/data-value.interfaces.js} +0 -0
- /package/dist/collection/{utils/swipe/swipe.interfaces.js → components/data/data.interfaces.js} +0 -0
- /package/dist/collection/utils/{property-checkers/is-iso-date.js → is-iso-date.js} +0 -0
- /package/dist/collection/utils/{keyboard/keyboard.helpers.js → keyboard.js} +0 -0
- /package/dist/types/utils/{property-checkers/is-iso-date.d.ts → is-iso-date.d.ts} +0 -0
- /package/dist/types/utils/{property-checkers/is-value-empty.d.ts → is-value-empty.d.ts} +0 -0
- /package/dist/types/utils/{keyboard/keyboard.helpers.d.ts → keyboard.d.ts} +0 -0
- /package/dist/types/utils/{property-checkers/property-types.d.ts → property-types.d.ts} +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
import{p as o,H as e,h as s,e as r,t as c}from"./p-WO0X5Vmy.js";import{_ as a,L as t,a as i}from"./p-J0mxIuTt.js";import{h as l}from"./p-BrIcCcce.js";import{n}from"./p-DR5LIaCn.js";import{i as d}from"./p-Bbn3sYo5.js";import{B as m}from"./p-DQBzmbR6.js";import{d as v}from"./p-DSeYzuO7.js";import{d as b}from"./p-Du7QOHtz.js";import{d as u}from"./p-qaSW94OG.js";import{d as p}from"./p-CvaNxQtw.js";import{O as g}from"./p-BhbWmCTu.js";import{T as h}from"./p-DAYd9ty0.js";import{L as k}from"./p-DIK6Zkg6.js";const _=o(class extends e{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.language=p.language,this.region=p.region,this.size="",this.inverted=!1,this.disabled=!1,this.button=!1,this.buttonColor=""}createLogger(o){this.log=o}async configChanged(o){this.language=o.language,this.region=o.region}render(){const o=d[this.language].close,e=n(this.size)||"";return this.button?s(r,null,s("ds-button",{id:"close",part:"button",disabled:this.disabled,inverted:this.inverted,color:this.buttonColor,size:"sm"===e?"sm":"md"===e?"lg":""},o)):s(r,{class:{[`is-${e}`]:l(this.size),"is-inverted":this.inverted,"is-disabled":this.disabled}},s("button",{id:"close",part:"button",type:"button","aria-label":o,title:o,tabindex:"0",disabled:this.disabled}))}get el(){return this}static get style(){return":host{--_close-position:var(--close-position, var(--mod-close-position, static));--_close-top:var(--close-top, var(--mod-close-top));--_close-right:var(--close-right, var(--mod-close-right));--_close-bottom:var(--close-bottom, var(--mod-close-bottom));--_close-left:var(--close-left, var(--mod-close-left));position:var(--_close-position);top:var(--_close-top);right:var(--_close-right);bottom:var(--_close-bottom);left:var(--_close-left);--_close-m:var(--close-m, var(--mod-close-m, 0));--_close-my:var(--close-my, var(--mod-close-my));--_close-mx:var(--close-mx, var(--mod-close-mx));--_close-ml:var(--close-ml, var(--mod-close-ml));--_close-mr:var(--close-mr, var(--mod-close-mr));--_close-mt:var(--close-mt, var(--mod-close-mt));--_close-mb:var(--close-mb, var(--mod-close-mb));margin:var(--_close-m);margin-inline:var(--_close-mx);margin-block:var(--_close-my);margin-left:var(--_close-ml);margin-right:var(--_close-mr);margin-top:var(--_close-mt);margin-bottom:var(--_close-mb);--_close-color-background:var(--close-color-background, var(--mod-close-color-background, var(--ds-close-color-background-base)));--_close-color-background-hover:var(--close-color-background-hover, var(--mod-close-color-background-hover, var(--ds-close-color-background-hover)));--_close-color-background-active:var(--close-color-background-active, var(--mod-close-color-background-active, var(--ds-close-color-background-active)));--_close-color-focus:var(--close-color-focus, var(--mod-close-color-focus, var(--ds-alias-interaction-focus-color-base)));--_close-color-icon:var(--close-color-icon, var(--mod-close-color-icon, var(--ds-close-color-icon-base)));--_close-radius:var(--close-radius, var(--mod-close-radius, var(--ds-close-radius)));--_close-size-icon:var(--close-size-icon, var(--mod-close-size-icon, 12px));--_close-padding:var(--close-padding, var(--mod-close-padding, 0.313rem));--_close-icon:var(--close-icon, var(--mod-close-icon, url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill-rule='evenodd' d='M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L5.58579 7L0.292893 12.2929C-0.0976311 12.6834 -0.0976311 13.3166 0.292893 13.7071C0.683417 14.0976 1.31658 14.0976 1.70711 13.7071L7 8.41421L12.2929 13.7071C12.6834 14.0976 13.3166 14.0976 13.7071 13.7071C14.0976 13.3166 14.0976 12.6834 13.7071 12.2929L8.41421 7L13.7071 1.70711C14.0976 1.31658 14.0976 0.683417 13.7071 0.292893C13.3166 -0.0976311 12.6834 -0.0976311 12.2929 0.292893L7 5.58579L1.70711 0.292893Z' clip-rule='evenodd'/%3E%3C/svg%3E\")))}:host{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none;user-drag:none}@media print{:host{display:none !important}}:host{display:inline-block}:host button{position:relative;display:inline-block;vertical-align:top;border:none;background:var(--_close-color-background);border-radius:var(--_close-radius);padding:var(--_close-padding);-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none}:host button::after{content:\"\";display:block;width:var(--_close-size-icon);height:var(--_close-size-icon);-webkit-mask-image:var(--_close-icon);mask-image:var(--_close-icon);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;background:var(--_close-color-icon)}:host button:not(:disabled){cursor:pointer}@media (hover: hover)and (pointer: fine){:host button:not(:disabled):hover,:host button:not(:disabled).is-hovered{background:var(--_close-color-background-hover)}}:host button:not(:disabled):active,:host button:not(:disabled).is-pressed{background:var(--_close-color-background-active)}@media (hover: hover)and (pointer: fine){:host button:not(:disabled):focus-visible:not(:active),:host button:not(:disabled).is-focused:not(:active){-webkit-box-shadow:var(--ds-alias-interaction-focus-color-border) 0 0 0 2px,var(--_close-color-focus) 0 0 0 5px !important;box-shadow:var(--ds-alias-interaction-focus-color-border) 0 0 0 2px,var(--_close-color-focus) 0 0 0 5px !important}}:host(.is-sm){--mod-close-padding:0.25rem;--mod-close-size-icon:10px}:host(.is-md){--mod-close-padding:0.531rem;--mod-close-size-icon:24px}:host(.is-inverted:not(.is-disabled)){--mod-close-color-icon:var(--ds-close-color-icon-inverted);--mod-close-color-background-hover:var(--ds-close-color-background-inverted-hover);--mod-close-color-background-active:var(--ds-close-color-background-inverted-active);--mod-close-color-focus:var(--ds-alias-interaction-focus-color-inverted)}:host(.is-disabled){--mod-close-color-icon:var(--ds-close-color-icon-disabled);--mod-close-color-background:var(--ds-close-color-background-disabled);--mod-close-color-background-hover:var(--ds-close-color-background-disabled);--mod-close-color-background-active:var(--ds-close-color-background-disabled);--mod-close-color-focus:var(--ds-alias-interaction-focus-color-disabled)}"}},[1,"ds-close",{size:[513],inverted:[4],disabled:[516],button:[4],buttonColor:[1,"button-color"],language:[32],region:[32],configChanged:[64]}]);function f(){"undefined"!=typeof customElements&&["ds-close","ds-button","ds-icon","ds-spinner"].forEach((o=>{switch(o){case"ds-close":customElements.get(c(o))||customElements.define(c(o),_);break;case"ds-button":customElements.get(c(o))||v();break;case"ds-icon":customElements.get(c(o))||b();break;case"ds-spinner":customElements.get(c(o))||u()}}))}a([t("close"),i("design:type",Function),i("design:paramtypes",[Function]),i("design:returntype",void 0)],_.prototype,"createLogger",null),a([g(["","sm","md","small","medium"]),i("design:type",String)],_.prototype,"size",void 0),a([h("boolean"),i("design:type",Boolean)],_.prototype,"inverted",void 0),a([h("boolean"),i("design:type",Boolean)],_.prototype,"disabled",void 0),a([h("boolean"),i("design:type",Boolean)],_.prototype,"button",void 0),a([g(m),i("design:type",String)],_.prototype,"buttonColor",void 0),a([k(),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",Promise)],_.prototype,"configChanged",null);export{_ as C,f as d}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
import{g as r}from"./p-Duhf3ymL.js";import{r as n,a as t,b as u,c as i,d as e,e as f,f as o,g as a}from"./p-D9YYP2SG.js";import{r as c,a as s,b as v,c as h}from"./p-Du7QOHtz.js";import{i as b}from"./p-CYHzHtnv.js";var l,_,j,d,p,m,w,y,O,g,A,D,S,k,H,Y,x,z,B,E,L,C,G,M,N,P,Q,R,V,$,q,F,I,J,K,T,U,W,X,Z,rr,nr,tr,ur,ir,er,fr,or,ar,cr,sr,vr,hr,br,lr,_r,jr,dr,pr,mr,wr,yr,Or,gr,Ar,Dr,Sr,kr,Hr,Yr,xr,zr,Br,Er,Lr,Cr,Gr,Mr,Nr,Pr,Qr,Rr,Vr,$r,qr,Fr,Ir,Jr,Kr,Tr,Ur,Wr,Xr,Zr,rn,nn,tn,un,en,fn,on,an,cn,sn,vn,hn;function bn(){return d?j:(d=1,j=function(r,n){return r===n||r!=r&&n!=n})}function ln(){if(m)return p;m=1;var r=bn();return p=function(n,t){for(var u=n.length;u--;)if(r(n[u][0],t))return u;return-1}}function _n(){if(Y)return H;Y=1;var r=_?l:(_=1,l=function(){this.__data__=[],this.size=0}),n=function(){if(y)return w;y=1;var r=ln(),n=Array.prototype.splice;return w=function(t){var u=this.__data__,i=r(u,t);return!(i<0||(i==u.length-1?u.pop():n.call(u,i,1),--this.size,0))}}(),t=function(){if(g)return O;g=1;var r=ln();return O=function(n){var t=this.__data__,u=r(t,n);return u<0?void 0:t[u][1]}}(),u=function(){if(D)return A;D=1;var r=ln();return A=function(n){return r(this.__data__,n)>-1}}(),i=function(){if(k)return S;k=1;var r=ln();return S=function(n,t){var u=this.__data__,i=r(u,n);return i<0?(++this.size,u.push([n,t])):u[i][1]=t,this}}();function e(r){var n=-1,t=null==r?0:r.length;for(this.clear();++n<t;){var u=r[n];this.set(u[0],u[1])}}return e.prototype.clear=r,e.prototype.delete=n,e.prototype.get=t,e.prototype.has=u,e.prototype.set=i,H=e}function jn(){if(P)return N;P=1;var r=n()(Object,"create");return N=r}function dn(){if(ur)return tr;ur=1;var r=nr?rr:(nr=1,rr=function(r){var n=typeof r;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r});return tr=function(n,t){var u=n.__data__;return r(t)?u["string"==typeof t?"string":"hash"]:u.map}}function pn(){if(br)return hr;br=1;var r=function(){if(Z)return X;Z=1;var r=function(){if(W)return U;W=1;var r=function(){if(R)return Q;R=1;var r=jn();return Q=function(){this.__data__=r?r(null):{},this.size=0}}(),n=$?V:($=1,V=function(r){var n=this.has(r)&&delete this.__data__[r];return this.size-=n?1:0,n}),t=function(){if(F)return q;F=1;var r=jn(),n=Object.prototype.hasOwnProperty;return q=function(t){var u=this.__data__;if(r){var i=u[t];return"__lodash_hash_undefined__"===i?void 0:i}return n.call(u,t)?u[t]:void 0}}(),u=function(){if(J)return I;J=1;var r=jn(),n=Object.prototype.hasOwnProperty;return I=function(t){var u=this.__data__;return r?void 0!==u[t]:n.call(u,t)}}(),i=function(){if(T)return K;T=1;var r=jn();return K=function(n,t){var u=this.__data__;return this.size+=this.has(n)?0:1,u[n]=r&&void 0===t?"__lodash_hash_undefined__":t,this}}();function e(r){var n=-1,t=null==r?0:r.length;for(this.clear();++n<t;){var u=r[n];this.set(u[0],u[1])}}return e.prototype.clear=r,e.prototype.delete=n,e.prototype.get=t,e.prototype.has=u,e.prototype.set=i,U=e}(),n=_n(),u=t();return X=function(){this.size=0,this.__data__={hash:new r,map:new(u||n),string:new r}}}(),n=function(){if(er)return ir;er=1;var r=dn();return ir=function(n){var t=r(this,n).delete(n);return this.size-=t?1:0,t}}(),u=function(){if(or)return fr;or=1;var r=dn();return fr=function(n){return r(this,n).get(n)}}(),i=function(){if(cr)return ar;cr=1;var r=dn();return ar=function(n){return r(this,n).has(n)}}(),e=function(){if(vr)return sr;vr=1;var r=dn();return sr=function(n,t){var u=r(this,n),i=u.size;return u.set(n,t),this.size+=u.size==i?0:1,this}}();function f(r){var n=-1,t=null==r?0:r.length;for(this.clear();++n<t;){var u=r[n];this.set(u[0],u[1])}}return f.prototype.clear=r,f.prototype.delete=n,f.prototype.get=u,f.prototype.has=i,f.prototype.set=e,hr=f}function mn(){if(Yr)return Hr;Yr=1;var r=function(){if(gr)return Or;gr=1;var r=pn(),n=mr?pr:(mr=1,pr=function(r){return this.__data__.set(r,"__lodash_hash_undefined__"),this}),t=yr?wr:(yr=1,wr=function(r){return this.__data__.has(r)});function u(n){var t=-1,u=null==n?0:n.length;for(this.__data__=new r;++t<u;)this.add(n[t])}return u.prototype.add=u.prototype.push=n,u.prototype.has=t,Or=u}(),n=Dr?Ar:(Dr=1,Ar=function(r,n){for(var t=-1,u=null==r?0:r.length;++t<u;)if(n(r[t],t,r))return!0;return!1}),t=kr?Sr:(kr=1,Sr=function(r,n){return r.has(n)});return Hr=function(u,i,e,f,o,a){var c=1&e,s=u.length,v=i.length;if(s!=v&&!(c&&v>s))return!1;var h=a.get(u),b=a.get(i);if(h&&b)return h==i&&b==u;var l=-1,_=!0,j=2&e?new r:void 0;for(a.set(u,i),a.set(i,u);++l<s;){var d=u[l],p=i[l];if(f)var m=c?f(p,d,l,i,u,a):f(d,p,l,u,i,a);if(void 0!==m){if(m)continue;_=!1;break}if(j){if(!n(i,(function(r,n){if(!t(j,n)&&(d===r||o(d,r,e,f,a)))return j.push(n)}))){_=!1;break}}else if(d!==p&&!o(d,p,e,f,a)){_=!1;break}}return a.delete(u),a.delete(i),_}}function wn(){if(un)return tn;un=1;var r=function(){if(Rr)return Qr;Rr=1;var r=Pr?Nr:(Pr=1,Nr=function(r,n){for(var t=-1,u=n.length,i=r.length;++t<u;)r[i+t]=n[t];return r}),n=v();return Qr=function(t,u,i){var e=u(t);return n(t)?e:r(e,i(t))}}(),n=function(){if(Jr)return Ir;Jr=1;var r=$r?Vr:($r=1,Vr=function(r,n){for(var t=-1,u=null==r?0:r.length,i=0,e=[];++t<u;){var f=r[t];n(f,t,r)&&(e[i++]=f)}return e}),n=Fr?qr:(Fr=1,qr=function(){return[]}),t=Object.prototype.propertyIsEnumerable,u=Object.getOwnPropertySymbols;return Ir=u?function(n){return null==n?[]:(n=Object(n),r(u(n),(function(r){return t.call(n,r)})))}:n}(),t=function(){if(nn)return rn;nn=1;var r=function(){if(Zr)return Xr;Zr=1;var r=Tr?Kr:(Tr=1,Kr=function(r,n){for(var t=-1,u=Array(r);++t<r;)u[t]=n(t);return u}),n=u(),t=v(),f=i(),o=function(){if(Wr)return Ur;Wr=1;var r=/^(?:0|[1-9]\d*)$/;return Ur=function(n,t){var u=typeof n;return!!(t=null==t?9007199254740991:t)&&("number"==u||"symbol"!=u&&r.test(n))&&n>-1&&n%1==0&&n<t}}(),a=e(),c=Object.prototype.hasOwnProperty;return Xr=function(u,i){var e=t(u),s=!e&&n(u),v=!e&&!s&&f(u),h=!e&&!s&&!v&&a(u),b=e||s||v||h,l=b?r(u.length,String):[],_=l.length;for(var j in u)!i&&!c.call(u,j)||b&&("length"==j||v&&("offset"==j||"parent"==j)||h&&("buffer"==j||"byteLength"==j||"byteOffset"==j)||o(j,_))||l.push(j);return l}}(),n=f(),t=o();return rn=function(u){return t(u)?r(u):n(u)}}();return tn=function(u){return r(u,t,n)}}function yn(){if(an)return on;an=1;var r=function(){if(dr)return jr;dr=1;var r=_n(),n=function(){if(z)return x;z=1;var r=_n();return x=function(){this.__data__=new r,this.size=0}}(),u=E?B:(E=1,B=function(r){var n=this.__data__,t=n.delete(r);return this.size=n.size,t}),i=C?L:(C=1,L=function(r){return this.__data__.get(r)}),e=M?G:(M=1,G=function(r){return this.__data__.has(r)}),f=function(){if(_r)return lr;_r=1;var r=_n(),n=t(),u=pn();return lr=function(t,i){var e=this.__data__;if(e instanceof r){var f=e.__data__;if(!n||f.length<199)return f.push([t,i]),this.size=++e.size,this;e=this.__data__=new u(f)}return e.set(t,i),this.size=e.size,this}}();function o(n){var t=this.__data__=new r(n);this.size=t.size}return o.prototype.clear=n,o.prototype.delete=u,o.prototype.get=i,o.prototype.has=e,o.prototype.set=f,jr=o}(),n=mn(),u=function(){if(Mr)return Gr;Mr=1;var r=s(),n=function(){if(zr)return xr;zr=1;var r=c();return xr=r.Uint8Array}(),t=bn(),u=mn(),i=Er?Br:(Er=1,Br=function(r){var n=-1,t=Array(r.size);return r.forEach((function(r,u){t[++n]=[u,r]})),t}),e=Cr?Lr:(Cr=1,Lr=function(r){var n=-1,t=Array(r.size);return r.forEach((function(r){t[++n]=r})),t}),f=r?r.prototype:void 0,o=f?f.valueOf:void 0;return Gr=function(r,f,a,c,s,v,h){switch(a){case"[object DataView]":if(r.byteLength!=f.byteLength||r.byteOffset!=f.byteOffset)return!1;r=r.buffer,f=f.buffer;case"[object ArrayBuffer]":return!(r.byteLength!=f.byteLength||!v(new n(r),new n(f)));case"[object Boolean]":case"[object Date]":case"[object Number]":return t(+r,+f);case"[object Error]":return r.name==f.name&&r.message==f.message;case"[object RegExp]":case"[object String]":return r==f+"";case"[object Map]":var b=i;case"[object Set]":if(b||(b=e),r.size!=f.size&&!(1&c))return!1;var l=h.get(r);if(l)return l==f;c|=2,h.set(r,f);var _=u(b(r),b(f),c,s,v,h);return h.delete(r),_;case"[object Symbol]":if(o)return o.call(r)==o.call(f)}return!1}}(),f=function(){if(fn)return en;fn=1;var r=wn(),n=Object.prototype.hasOwnProperty;return en=function(t,u,i,e,f,o){var a=1&i,c=r(t),s=c.length;if(s!=r(u).length&&!a)return!1;for(var v=s;v--;){var h=c[v];if(!(a?h in u:n.call(u,h)))return!1}var b=o.get(t),l=o.get(u);if(b&&l)return b==u&&l==t;var _=!0;o.set(t,u),o.set(u,t);for(var j=a;++v<s;){var d=t[h=c[v]],p=u[h];if(e)var m=a?e(p,d,h,u,t,o):e(d,p,h,t,u,o);if(!(void 0===m?d===p||f(d,p,i,e,o):m)){_=!1;break}j||(j="constructor"==h)}if(_&&!j){var w=t.constructor,y=u.constructor;w==y||!("constructor"in t)||!("constructor"in u)||"function"==typeof w&&w instanceof w&&"function"==typeof y&&y instanceof y||(_=!1)}return o.delete(t),o.delete(u),_}}(),o=a(),h=v(),b=i(),l=e(),_="[object Arguments]",j="[object Array]",d="[object Object]",p=Object.prototype.hasOwnProperty;return on=function(t,i,e,a,c,s){var v=h(t),m=h(i),w=v?j:o(t),y=m?j:o(i),O=(w=w==_?d:w)==d,g=(y=y==_?d:y)==d,A=w==y;if(A&&b(t)){if(!b(i))return!1;v=!0,O=!1}if(A&&!O)return s||(s=new r),v||l(t)?n(t,i,e,a,c,s):u(t,i,w,e,a,c,s);if(!(1&e)){var D=O&&p.call(t,"__wrapped__"),S=g&&p.call(i,"__wrapped__");if(D||S){var k=D?t.value():t,H=S?i.value():i;return s||(s=new r),c(k,H,e,a,s)}}return!!A&&(s||(s=new r),f(t,i,e,a,c,s))}}var On=r(function(){if(hn)return vn;hn=1;var r=function(){if(sn)return cn;sn=1;var r=yn(),n=h();return cn=function t(u,i,e,f,o){return u===i||(null==u||null==i||!n(u)&&!n(i)?u!=u&&i!=i:r(u,i,e,f,t,o))},cn}();return vn=function(n,t){return r(n,t)}}());function gn(r,n){if(b(r)||b(n))return!1;const t=[...r].sort(),u=[...n].sort();return On(t,u)}export{gn as a}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
import{c as r,i,g as o}from"./p-CQHwI4iD.js";function t(){const t=r({priority:0,blocking:!0,validateEmptyValues:!0,run(r,t){const{value:n,showError:s}=o(r,t);return!i(n)||(s("is required"),!1)}});return function(r,i){t(r,i)}}export{t as R}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
import{d as n}from"./p-WO0X5Vmy.js";
|
|
5
|
+
/*!
|
|
6
|
+
* tabbable 6.5.0
|
|
7
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
8
|
+
*/
|
|
9
|
+
var t=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","area[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],e=t.join(","),r="undefined"==typeof Element,i=r?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,o=!r&&Element.prototype.getRootNode?function(n){var t;return null==n||null===(t=n.getRootNode)||void 0===t?void 0:t.call(n)}:function(n){return null==n?void 0:n.ownerDocument},u=function(n,t){var e;void 0===t&&(t=!0);var r=null==n||null===(e=n.getAttribute)||void 0===e?void 0:e.call(n,"inert");return""===r||"true"===r||t&&n&&("function"==typeof n.closest?n.closest("[inert]"):u(n.parentNode))},a=function(n,t,r){if(u(n))return[];var o=Array.prototype.slice.apply(n.querySelectorAll(e));return t&&i.call(n,e)&&o.unshift(n),o.filter(r)},c=function(n,t,r){for(var o=[],a=Array.from(n);a.length;){var l=a.shift();if(!u(l,!1))if("SLOT"===l.tagName){var f=l.assignedElements(),s=c(f.length?f:l.children,!0,r);r.flatten?o.push.apply(o,s):o.push({scopeParent:l,candidates:s})}else{i.call(l,e)&&r.filter(l)&&(t||!n.includes(l))&&o.push(l);var v=l.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(l),d=!u(v,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(l));if(v&&d){var p=c(!0===v?l.children:v.children,!0,r);r.flatten?o.push.apply(o,p):o.push({scopeParent:l,candidates:p})}else a.unshift.apply(a,l.children)}}return o},l=function(n){return!isNaN(parseInt(n.getAttribute("tabindex"),10))},f=function(n){if(!n)throw new Error("No node provided");return n.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||function(n){var t,e=null==n||null===(t=n.getAttribute)||void 0===t?void 0:t.call(n,"contenteditable");return""===e||"true"===e}(n))&&!l(n)?0:n.tabIndex},s=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},v=function(n){return"INPUT"===n.tagName},d=function(n){var t=n.getBoundingClientRect();return 0===t.width&&0===t.height},p=function(n,t){return!(t.disabled||function(n){return v(n)&&"hidden"===n.type}(t)||function(n,t){var e=t.displayCheck,r=t.getShadowRoot;if("full-native"===e&&"checkVisibility"in n)return!n.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});var u=getComputedStyle(n).visibility;if("hidden"===u||"collapse"===u)return!0;var a=i.call(n,"details>summary:first-of-type");if(i.call(a?n.parentElement:n,"details:not([open]) *"))return!0;if(e&&"full"!==e&&"full-native"!==e&&"legacy-full"!==e){if("non-zero-area"===e)return d(n)}else{if("function"==typeof r){for(var c=n;n;){var l=n.parentElement,f=o(n);if(l&&!l.shadowRoot&&!0===r(l))return d(n);n=n.assignedSlot?n.assignedSlot:l||f===n.ownerDocument?l:f.host}n=c}if(function(n){var t,e,r,i,u=n&&o(n),a=null===(t=u)||void 0===t?void 0:t.host,c=!1;if(u&&u!==n)for(c=!!(null!==(e=a)&&void 0!==e&&null!==(r=e.ownerDocument)&&void 0!==r&&r.contains(a)||null!=n&&null!==(i=n.ownerDocument)&&void 0!==i&&i.contains(n));!c&&a;){var l,f,s;c=!(null===(f=a=null===(l=u=o(a))||void 0===l?void 0:l.host)||void 0===f||null===(s=f.ownerDocument)||void 0===s||!s.contains(a))}return c}(n))return!n.getClientRects().length;if("legacy-full"!==e)return!0}return!1}(t,n)||function(n){return"DETAILS"===n.tagName&&Array.prototype.slice.apply(n.children).some((function(n){return"SUMMARY"===n.tagName}))}(t)||function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var t=n.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var e=0;e<t.children.length;e++){var r=t.children.item(e);if("LEGEND"===r.tagName)return!!i.call(t,"fieldset[disabled] *")||!r.contains(n)}return!0}t=t.parentElement}return!1}(t))},h=function(n,t){return!(function(n){return function(n){return v(n)&&"radio"===n.type}(n)&&!function(n){if(!n.name)return!0;var t,e=n.form||o(n),r=function(n){return e.querySelectorAll('input[type="radio"][name="'+n+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(n.name));else try{t=r(n.name)}catch(n){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",n.message),!1}var i=function(n,t){for(var e=0;e<n.length;e++)if(n[e].checked&&n[e].form===t)return n[e]}(t,n.form);return!i||i===n}(n)}(t)||f(t)<0||!p(n,t))},b=function(n){var t=parseInt(n.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},y=function(n){var t=[],e=[];return n.forEach((function(n,r){var i=!!n.scopeParent,o=i?n.scopeParent:n,u=function(n,t){var e=f(n);return e<0&&t&&!l(n)?0:e}(o,i),a=i?y(n.candidates):o;0===u?i?t.push.apply(t,a):t.push(o):e.push({documentOrder:r,tabIndex:u,item:n,isScope:i,content:a})})),e.sort(s).reduce((function(n,t){return t.isScope?n.push.apply(n,t.content):n.push(t.content),n}),[]).concat(t)},w=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==i.call(n,e)&&h(t,n)},m=t.concat("iframe:not([inert]):not([inert] *)").join(","),S=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==i.call(n,m)&&p(t,n)};
|
|
10
|
+
/*!
|
|
11
|
+
* focus-trap 8.2.2
|
|
12
|
+
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
13
|
+
*/
|
|
14
|
+
function E(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}function T(n,t){var e="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(!e){if(Array.isArray(n)||(e=A(n))||t){e&&(n=e);var r=0,i=function(){};return{s:i,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(n){throw n},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,a=!1;return{s:function(){e=e.call(n)},n:function(){var n=e.next();return u=n.done,n},e:function(n){a=!0,o=n},f:function(){try{u||null==e.return||e.return()}finally{if(a)throw o}}}}function F(n,t,e){return(t=function(n){var t=function(n,t){if("object"!=typeof n||!n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var r=e.call(n,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n,"string");return"symbol"==typeof t?t:t+""}(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function O(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}function k(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?O(Object(e),!0).forEach((function(t){F(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):O(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}function A(n,t){if(n){if("string"==typeof n)return E(n,t);var e={}.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?E(n,t):void 0}}var j={getActiveTrap:function(n){return(null==n?void 0:n.length)>0?n[n.length-1]:null},activateTrap:function(n,t){t!==j.getActiveTrap(n)&&j.pauseTrap(n);var e=n.indexOf(t);-1===e||n.splice(e,1),n.push(t)},deactivateTrap:function(n,t){var e=n.indexOf(t);-1!==e&&n.splice(e,1),j.unpauseTrap(n)},pauseTrap:function(n){var t=j.getActiveTrap(n);null==t||t._setPausedState(!0)},unpauseTrap:function(n){var t=j.getActiveTrap(n);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},N=function(n){return"Tab"===(null==n?void 0:n.key)||9===(null==n?void 0:n.keyCode)},g=function(n){return N(n)&&!n.shiftKey},I=function(n){return N(n)&&n.shiftKey},P=function(n){return setTimeout(n,0)},D=function(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return"function"==typeof n?n.apply(void 0,e):n},R=function(n){return n.target.shadowRoot&&"function"==typeof n.composedPath?n.composedPath()[0]:n.target},x=[],C=function(n,t){var e,r=(null==t?void 0:t.document)||document,i=(null==t?void 0:t.trapStack)||x,o=k({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,delayReturnFocus:!0,isolateSubtrees:!1,isKeyForward:g,isKeyBackward:I},t),u={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},l=function(n,t,e){return n&&void 0!==n[t]?n[t]:o[e||t]},s=function(n,t){var e="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return u.containerGroups.findIndex((function(t){var r=t.container,i=t.tabbableNodes;return r.contains(n)||(null==e?void 0:e.includes(r))||i.find((function(t){return t===n}))}))},v=function(n){var t,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.hasFallback,u=void 0!==i&&i,a=e.params,c=o[n];if("function"==typeof c&&(c=c.apply(void 0,function(n){if(Array.isArray(n))return E(n)}(t=void 0===a?[]:a)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(t)||A(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())),!0===c&&(c=void 0),!c){if(void 0===c||!1===c)return c;throw new Error("`".concat(n,"` was specified but was not a node, or did not return a node"))}var l=c;if("string"==typeof c){try{l=r.querySelector(c)}catch(t){throw new Error("`".concat(n,'` appears to be an invalid selector; error="').concat(t.message,'"'))}if(!l&&!u)throw new Error("`".concat(n,"` as selector refers to no known node"))}return l},d=function(n){var t=n.activeElement;return t?t.shadowRoot&&null!==t.shadowRoot.activeElement?d(t.shadowRoot):t:null},m=function(){var n=v("initialFocus",{hasFallback:!0});if(!1===n)return!1;if(void 0===n||n&&!S(n,o.tabbableOptions)){var t=d(r);if(s(t)>=0)n=t;else{var e=u.tabbableGroups[0];n=e&&e.firstTabbableNode||v("fallbackFocus")}}else null===n&&(n=v("fallbackFocus"));if(!n)throw new Error("Your focus-trap needs to have at least one focusable element");return n},F=function(){if(u.containerGroups=u.containers.map((function(n){var t=function(n,t){var e;return e=(t=t||{}).getShadowRoot?c([n],t.includeContainer,{filter:h.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:b}):a(n,t.includeContainer,h.bind(null,t)),y(e)}(n,o.tabbableOptions),e=function(n,t){return(t=t||{}).getShadowRoot?c([n],t.includeContainer,{filter:p.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):a(n,t.includeContainer,p.bind(null,t))}(n,o.tabbableOptions),r=t.length>0?t[0]:void 0,i=t.length>0?t[t.length-1]:void 0,u=e.find((function(n){return w(n)})),l=e.slice().reverse().find((function(n){return w(n)})),s=!!t.find((function(n){return f(n)>0}));return{container:n,tabbableNodes:t,focusableNodes:e,posTabIndexesFound:s,firstTabbableNode:r,lastTabbableNode:i,firstDomTabbableNode:u,lastDomTabbableNode:l,nextTabbableNode:function(n){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=t.indexOf(n);return i<0?r?e.slice(e.indexOf(n)+1).find((function(n){return w(n)})):e.slice(0,e.indexOf(n)).reverse().find((function(n){return w(n)})):t[i+(r?1:-1)]}}})),u.tabbableGroups=u.containerGroups.filter((function(n){return n.tabbableNodes.length>0})),u.tabbableGroups.length<=0&&!v("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(u.containerGroups.find((function(n){return n.posTabIndexesFound}))&&u.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},O=function(n){!1!==n&&n!==d(document)&&(n&&n.focus?(n.focus({preventScroll:!!o.preventScroll}),u.mostRecentlyFocusedNode=n,function(n){return n.tagName&&"input"===n.tagName.toLowerCase()&&"function"==typeof n.select}(n)&&n.select()):O(m()))},C=function(n){var t=v("setReturnFocus",{params:[n]});return t||!1!==t&&n},L=function(n){var t=n.target,e=n.event,r=n.isBackward,i=void 0!==r&&r;t=t||R(e),F();var a=null;if(u.tabbableGroups.length>0){var c=s(t,e),l=c>=0?u.containerGroups[c]:void 0;if(c<0)a=i?u.tabbableGroups[u.tabbableGroups.length-1].lastTabbableNode:u.tabbableGroups[0].firstTabbableNode;else if(i){var d=u.tabbableGroups.findIndex((function(n){return t===n.firstTabbableNode}));if(d<0&&(l.container===t||S(t,o.tabbableOptions)&&!w(t,o.tabbableOptions)&&!l.nextTabbableNode(t,!1))&&(d=c),d>=0){var p=u.tabbableGroups[0===d?u.tabbableGroups.length-1:d-1];a=f(t)>=0?p.lastTabbableNode:p.lastDomTabbableNode}else N(e)||(a=l.nextTabbableNode(t,!1))}else{var h=u.tabbableGroups.findIndex((function(n){return t===n.lastTabbableNode}));if(h<0&&(l.container===t||S(t,o.tabbableOptions)&&!w(t,o.tabbableOptions)&&!l.nextTabbableNode(t))&&(h=c),h>=0){var b=u.tabbableGroups[h===u.tabbableGroups.length-1?0:h+1];a=f(t)>=0?b.firstTabbableNode:b.firstDomTabbableNode}else N(e)||(a=l.nextTabbableNode(t))}}else a=v("fallbackFocus");return a},U=function(n){var t=R(n);s(t,n)>=0||(D(o.clickOutsideDeactivates,n)?e.deactivate({returnFocus:o.returnFocusOnDeactivate}):D(o.allowOutsideClick,n)||n.preventDefault())},B=function(n){var t=R(n),e=s(t,n)>=0;if(e||t instanceof Document)e&&(u.mostRecentlyFocusedNode=t);else{var r;n.stopImmediatePropagation();var i=!0;if(u.mostRecentlyFocusedNode)if(f(u.mostRecentlyFocusedNode)>0){var a=s(u.mostRecentlyFocusedNode),c=u.containerGroups[a].tabbableNodes;if(c.length>0){var l=c.findIndex((function(n){return n===u.mostRecentlyFocusedNode}));l>=0&&(o.isKeyForward(u.recentNavEvent)?l+1<c.length&&(r=c[l+1],i=!1):l-1>=0&&(r=c[l-1],i=!1))}}else u.containerGroups.some((function(n){return n.tabbableNodes.some((function(n){return f(n)>0}))}))||(i=!1);else i=!1;i&&(r=L({target:u.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(u.recentNavEvent)})),O(r||u.mostRecentlyFocusedNode||m())}u.recentNavEvent=void 0},M=function(n){(o.isKeyForward(n)||o.isKeyBackward(n))&&function(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];u.recentNavEvent=n;var e=L({event:n,isBackward:t});e&&(N(n)&&n.preventDefault(),O(e))}(n,o.isKeyBackward(n))},V=function(n){var t;"Escape"!==(null==(t=n)?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===D(o.escapeDeactivates,n)||(n.preventDefault(),e.deactivate())},G=function(n){var t=R(n);s(t,n)>=0||D(o.clickOutsideDeactivates,n)||D(o.allowOutsideClick,n)||(n.preventDefault(),n.stopImmediatePropagation())},Y=function(){var n;if(u.active)return j.activateTrap(i,e),o.delayInitialFocus?n=new Promise((function(n){u.delayInitialFocusTimer=P((function(){O(m()),n()}))})):O(m()),r.addEventListener("focusin",B,!0),r.addEventListener("mousedown",U,{capture:!0,passive:!1}),r.addEventListener("touchstart",U,{capture:!0,passive:!1}),r.addEventListener("click",G,{capture:!0,passive:!1}),r.addEventListener("keydown",M,{capture:!0,passive:!1}),r.addEventListener("keydown",V),n},$=function(){if(u.active)return r.removeEventListener("focusin",B,!0),r.removeEventListener("mousedown",U,!0),r.removeEventListener("touchstart",U,!0),r.removeEventListener("click",G,!0),r.removeEventListener("keydown",M,!0),r.removeEventListener("keydown",V),e},_="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(n){var t=u.mostRecentlyFocusedNode;if(t&&n.some((function(n){return Array.from(n.removedNodes).some((function(n){return n===t||"function"==typeof n.contains&&n.contains(t)}))}))&&u.containers.some((function(n){return null==n?void 0:n.isConnected}))){F();var e=m();O(e)}})):void 0,z=function(){_&&(_.disconnect(),u.active&&!u.paused&&u.containers.map((function(n){_.observe(n,{subtree:!0,childList:!0})})))};return e={get active(){return u.active},get paused(){return u.paused},activate:function(n){if(u.active)return this;var t,o=l(n,"onActivate"),a=l(n,"onPostActivate"),c=l(n,"checkCanFocusTrap"),f=j.getActiveTrap(i),s=!1;f&&!f.paused&&(null===(t=f._setSubtreeIsolation)||void 0===t||t.call(f,!1),s=!0);try{c||F(),u.active=!0,u.paused=!1,u.nodeFocusedBeforeActivation=d(r),null==o||o({trap:e});var v=function(){c&&F();var n=function(){e._setSubtreeIsolation(!0),z(),null==a||a({trap:e})},t=Y();t?t.then(n):n()};if(c)return c(u.containers.concat()).then(v,v),this;v()}catch(n){var p;throw f===j.getActiveTrap(i)&&s&&(null===(p=f._setSubtreeIsolation)||void 0===p||p.call(f,!0)),n}return this},deactivate:function(n){if(!u.active)return this;var t=k({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},n);clearTimeout(u.delayInitialFocusTimer),u.delayInitialFocusTimer=void 0,u.paused||e._setSubtreeIsolation(!1),u.alreadySilent.clear(),$(),u.active=!1,u.paused=!1,z(),j.deactivateTrap(i,e);var r=l(t,"onDeactivate"),a=l(t,"onPostDeactivate"),c=l(t,"checkCanReturnFocus"),f=l(t,"delayReturnFocus"),s=l(t,"returnFocus","returnFocusOnDeactivate");null==r||r({trap:e});var v=function(){s&&O(C(u.nodeFocusedBeforeActivation)),null==a||a({trap:e})},d=function(){f&&s?P(v):v()};return s&&c?(c(C(u.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(n){return u.active?(u.manuallyPaused=!0,this._setPausedState(!0,n)):this},unpause:function(n){return u.active?(u.manuallyPaused=!1,i[i.length-1]!==this?this:this._setPausedState(!1,n)):this},updateContainerElements:function(n){var t=[].concat(n).filter(Boolean);return u.containers=t.map((function(n){return"string"==typeof n?r.querySelector(n):n})),o.isolateSubtrees&&function(n){u.active&&!u.paused&&e._setSubtreeIsolation(!1),u.adjacentElements.clear(),u.alreadySilent.clear();var t,r=new Set,i=new Set,o=T(n);try{for(o.s();!(t=o.n()).done;){var a=t.value;r.add(a);for(var c="undefined"!=typeof ShadowRoot&&a.getRootNode()instanceof ShadowRoot,l=a;l;){r.add(l);var f=l.parentElement,s=[];f?s=f.children:!f&&c&&(s=l.getRootNode().children,f=l.getRootNode().host,c="undefined"!=typeof ShadowRoot&&f.getRootNode()instanceof ShadowRoot);var v,d=T(s);try{for(d.s();!(v=d.n()).done;)i.add(v.value)}catch(n){d.e(n)}finally{d.f()}l=f}}}catch(n){o.e(n)}finally{o.f()}r.forEach((function(n){i.delete(n)})),u.adjacentElements=i}(u.containers),u.active&&(F(),u.paused||e._setSubtreeIsolation(!0)),z(),this}},Object.defineProperties(e,{_isManuallyPaused:{value:function(){return u.manuallyPaused}},_setPausedState:{value:function(n,t){if(u.paused===n)return this;if(u.paused=n,n){var r=l(t,"onPause"),i=l(t,"onPostPause");null==r||r({trap:e}),$(),e._setSubtreeIsolation(!1),z(),null==i||i({trap:e})}else{var o=l(t,"onUnpause"),a=l(t,"onPostUnpause");null==o||o({trap:e}),function(){F();var n=function(){e._setSubtreeIsolation(!0),z(),null==a||a({trap:e})},t=Y();t?t.then(n):n()}()}return this}},_setSubtreeIsolation:{value:function(n){o.isolateSubtrees&&u.adjacentElements.forEach((function(t){var e;n?"aria-hidden"===o.isolateSubtrees?("true"!==t.ariaHidden&&"true"!==(null===(e=t.getAttribute("aria-hidden"))||void 0===e?void 0:e.toLowerCase())||u.alreadySilent.add(t),t.setAttribute("aria-hidden","true")):((t.inert||t.hasAttribute("inert"))&&u.alreadySilent.add(t),t.setAttribute("inert",!0)):u.alreadySilent.has(t)||t.removeAttribute("aria-hidden"===o.isolateSubtrees?"aria-hidden":"inert")}))}}}),e.updateContainerElements(n),e};class L{constructor(){this.focusTrap=null,this.disabled=!1,this.previousFocusedElement=null,this.restoreElement=null}connect(){}disconnect(){this.disabled||this.disable(),this.target=void 0,this.focusTrap=null,this.previousFocusedElement=null,this.restoreElement=null}isDisabled(){return this.disabled}enable(n){(null==n?void 0:n.target)&&(this.target=n.target),this.target&&((null==n?void 0:n.restoreElement)&&(this.restoreElement=n.restoreElement),this.initializeFocusTrap(),this.disabled=!1)}disable(){!this.disabled&&this.target&&(this.deactivateFocusTrap(),this.disabled=!0)}initializeFocusTrap(){this.target&&(n.hasDocument&&n.hasWindow&&(this.previousFocusedElement=document.activeElement),this.focusTrap=C(this.target,{escapeDeactivates:!1,initialFocus:!1,fallbackFocus:this.target,tabbableOptions:{getShadowRoot:!0}}),this.focusTrap.activate())}deactivateFocusTrap(){this.focusTrap&&(this.focusTrap.deactivate(),this.focusTrap=null)}restoreFocus(t){const e=t||this.restoreElement||this.previousFocusedElement;e&&n.hasDocument&&e.focus()}}export{L as F}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{a as n}from"./p-
|
|
4
|
+
import{a as n}from"./p-n3_2KEz0.js";function t(){return function(t){const{connectedCallback:c,disconnectedCallback:i}=t;t.connectedCallback=function(){return n.attach(this),c&&c.call(this)},t.disconnectedCallback=function(){return n.detach(this),i&&i.call(this)}}}export{t as L}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{d as t}from"./p-
|
|
4
|
+
import{d as t}from"./p-WO0X5Vmy.js";class s{constructor(t){this.notifyCallback=t,this.observers=[]}attach(t){if(this.observers.includes(t))return console.log("Subject: Observer has been attached already.");this.observers.push(t)}detach(t){const s=this.observers.indexOf(t);if(-1===s)return console.log("Subject: Nonexistent observer.");this.observers.splice(s,1)}notify(t){for(const s of this.observers)"function"==typeof s?s(t):this.notifyCallback&&this.notifyCallback(s,t)}}class i{constructor(t){this.notifyCallback=t}attach(t){this.observer=t}detach(){this.observer=void 0}notify(t){this.observer&&("function"==typeof this.observer?this.observer(t):this.notifyCallback&&this.notifyCallback(this.observer,t))}}class o extends s{constructor(){super(...arguments),this.el=void 0}connect(s){s?this.el=s:t.hasWindow&&(this.el=window)}disconnect(){this.el=void 0}add(t){super.attach(t)}remove(t){super.detach(t)}}export{o as L,s as S,i as a}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
import{p as t,H as o,h as r,e as s,t as u}from"./p-WO0X5Vmy.js";import{_ as n,L as e,a as i}from"./p-J0mxIuTt.js";import{d as a,e as p}from"./p-DQBzmbR6.js";import{O as g}from"./p-BhbWmCTu.js";import{R as b}from"./p-DYlqkAWn.js";import{T as m}from"./p-DAYd9ty0.js";const d=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.align="",this.direction="auto",this.reverse=!1,this.wide=!1}createLogger(t){this.log=t}render(){return r(s,{key:"f78e5114bbffced3e94ac2c6c2079a6e5ca56a56"},r("div",{key:"c5db2feee2df26cd1ab648b909bd18c95e7b2f0f",id:"group",part:"group",class:{"as-col":"column"===this.direction,"as-row":"row"===this.direction,"is-reverse":this.reverse,"is-wide":this.wide,"is-left":"left"===this.align,"is-center":"center"===this.align,"is-right":"right"===this.align}},r("slot",{key:"9cc6073a79f570a432f5005ecc1ef50652d59912"})))}get el(){return this}static get style(){return":host{--_button-group-position:var(--button-group-position, var(--mod-button-group-position, static));--_button-group-top:var(--button-group-top, var(--mod-button-group-top));--_button-group-right:var(--button-group-right, var(--mod-button-group-right));--_button-group-bottom:var(--button-group-bottom, var(--mod-button-group-bottom));--_button-group-left:var(--button-group-left, var(--mod-button-group-left));position:var(--_button-group-position);top:var(--_button-group-top);right:var(--_button-group-right);bottom:var(--_button-group-bottom);left:var(--_button-group-left);--_button-group-m:var(--button-group-m, var(--mod-button-group-m, 0));--_button-group-my:var(--button-group-my, var(--mod-button-group-my));--_button-group-mx:var(--button-group-mx, var(--mod-button-group-mx));--_button-group-ml:var(--button-group-ml, var(--mod-button-group-ml));--_button-group-mr:var(--button-group-mr, var(--mod-button-group-mr));--_button-group-mt:var(--button-group-mt, var(--mod-button-group-mt));--_button-group-mb:var(--button-group-mb, var(--mod-button-group-mb));margin:var(--_button-group-m);margin-inline:var(--_button-group-mx);margin-block:var(--_button-group-my);margin-left:var(--_button-group-ml);margin-right:var(--_button-group-mr);margin-top:var(--_button-group-mt);margin-bottom:var(--_button-group-mb);display:block;margin:var(--_button-group-m);margin-inline:var(--_button-group-mx);margin-block:var(--_button-group-my);margin-left:var(--_button-group-ml);margin-right:var(--_button-group-mr);margin-top:var(--_button-group-mt);margin-bottom:var(--_button-group-mb);position:var(--_button-group-position);top:var(--_button-group-top);right:var(--_button-group-right);bottom:var(--_button-group-bottom);left:var(--_button-group-left)}:host #group{--_buttons-align-items:var(--buttons-align-items, var(--mod-buttons-align-items, center));--_buttons-justify-content:var(--buttons-justify-content, var(--mod-buttons-justify-content, flex-start));--_buttons-direction:var(--buttons-direction, var(--mod-buttons-direction, row));--_buttons-gap:var(--buttons-gap, var(--mod-buttons-gap, 0.25rem));--_buttons-wrap:var(--buttons-wrap, var(--mod-buttons-wrap, wrap));display:-ms-flexbox;display:flex;gap:var(--_buttons-gap);-ms-flex-direction:var(--_buttons-direction);flex-direction:var(--_buttons-direction);-ms-flex-align:var(--_buttons-align-items);align-items:var(--_buttons-align-items);-ms-flex-pack:var(--_buttons-justify-content);justify-content:var(--_buttons-justify-content);-ms-flex-wrap:var(--_buttons-wrap);flex-wrap:var(--_buttons-wrap);width:100%}@media screen and (max-width: 768px){:host #group ::slotted(.button:not(.is-square,.is-circle)),:host #group .button:not(.is-square,.is-circle){-ms-flex:1 1 auto;flex:1 1 auto}:host #group ::slotted(ds-button:not(.is-square,.is-circle)),:host #group ds-button:not(.is-square,.is-circle){-ms-flex:1 1 auto;flex:1 1 auto;--button-width:100%}}:host #group.as-col-reverse{--mod-buttons-direction:column-reverse}:host #group.as-row-reverse{--mod-buttons-direction:row-reverse}:host #group.as-row{--mod-buttons-direction:row}:host #group.as-col{--mod-buttons-direction:column}@media screen and (max-width: 768px){:host #group.as-col ::slotted(.button),:host #group.as-col .button,:host #group.as-col ::slotted(ds-button),:host #group.as-col ds-button,:host #group.as-col-reverse ::slotted(.button),:host #group.as-col-reverse .button,:host #group.as-col-reverse ::slotted(ds-button),:host #group.as-col-reverse ds-button{width:100%}}@media screen and (min-width: 769px){:host #group.as-col.is-center,:host #group.as-col.is-centered,:host #group.as-col-reverse.is-center,:host #group.as-col-reverse.is-centered{--mod-buttons-align-items:center}:host #group.as-col.is-left,:host #group.as-col-reverse.is-left{--mod-buttons-align-items:flex-start}:host #group.as-col.is-right,:host #group.as-col-reverse.is-right{--mod-buttons-align-items:flex-end}}@media screen and (min-width: 769px){:host #group.as-row.is-center,:host #group.as-row.is-centered,:host #group.is-center:not(.as-col),:host #group.is-centered:not(.as-col){--mod-buttons-justify-content:center}:host #group.as-row.is-left,:host #group.is-left:not(.as-col){--mod-buttons-justify-content:flex-start}:host #group.as-row.is-right,:host #group.is-right:not(.as-col){--mod-buttons-justify-content:flex-end}}@media screen and (min-width: 769px){:host #group.is-wide ::slotted(.button:not(.is-square,.is-circle)),:host #group.is-wide .button:not(.is-square,.is-circle),:host #group.is-wide ::slotted(ds-button:not(.is-square,.is-circle)),:host #group.is-wide ds-button:not(.is-square,.is-circle){-ms-flex:1 1 auto;flex:1 1 auto;--button-width:100%}}"}},[257,"ds-button-group",{align:[1],direction:[1],reverse:[4],wide:[4]}]);function l(){"undefined"!=typeof customElements&&["ds-button-group"].forEach((t=>{"ds-button-group"===t&&(customElements.get(u(t))||customElements.define(u(t),d))}))}n([e("button-group"),i("design:type",Function),i("design:paramtypes",[Function]),i("design:returntype",void 0)],d.prototype,"createLogger",null),n([g(a),i("design:type",String)],d.prototype,"align",void 0),n([b(),g(p),i("design:type",String)],d.prototype,"direction",void 0),n([m("boolean"),i("design:type",Boolean)],d.prototype,"reverse",void 0),n([m("boolean"),i("design:type",Boolean)],d.prototype,"wide",void 0);export{d as B,l as d}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{d as s}from"./p-
|
|
4
|
+
import{d as s}from"./p-WO0X5Vmy.js";const o=s=>{n({configChanged(o){s(o)}})},t=()=>{if(!s.hasWindow)return;const o=window;return o&&o.DesignSystem&&o.DesignSystem.config},n=s=>{const o=t();o&&o.attach(s)},c=s=>{const o=t();o&&o.detach(s)},a=s=>{const o=t();o&&o.attachComponent(s)},e=s=>{const o=t();o&&o.detachComponent(s)},r=s=>{const o=t();o&&(o.language=s)},i=s=>{const o=t();o&&(o.region=s)},d=s=>{const o=t();o&&(o.allowedLanguages=s)},f=s=>{const o=t();o&&(o.icons=Object.assign(Object.assign({},o.icons),s))},j=s=>{const o=t();o&&(o.animated=s)},b=s=>{const o=t();o&&(o.logger.components=s,o.logger.render=!0,o.logger.custom=!0,o.logger.event=!0,o.logger.lifecycle=!0)};export{n as a,a as b,e as c,c as d,r as e,i as f,d as g,f as h,j as i,b as j,o,t as u}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
import{p as t,H as e,h as i,e as n,t as o}from"./p-WO0X5Vmy.js";import{_ as r,L as a,a as l}from"./p-J0mxIuTt.js";import{c as s,g as c}from"./p-Duhf3ymL.js";import{h as f}from"./p-BrIcCcce.js";import{n as u}from"./p-DR5LIaCn.js";import{d}from"./p-CvaNxQtw.js";import{T as h}from"./p-DAYd9ty0.js";import{O as m}from"./p-BhbWmCTu.js";import{L as p}from"./p-DIK6Zkg6.js";var g,v,b,y,x,w,z,k,F,A,E,_,S,C,T,O;function D(){return v?g:(v=1,g="object"==typeof s&&s&&s.Object===Object&&s)}function j(){if(y)return b;y=1;var t=D(),e="object"==typeof self&&self&&self.Object===Object&&self,i=t||e||Function("return this")();return b=i}function R(){if(w)return x;w=1;var t=j();return x=t.Symbol}function B(){if(_)return E;_=1;var t=R(),e=function(){if(k)return z;k=1;var t=R(),e=Object.prototype,i=e.hasOwnProperty,n=e.toString,o=t?t.toStringTag:void 0;return z=function(t){var e=i.call(t,o),r=t[o];try{t[o]=void 0;var a=!0}catch(t){}var l=n.call(t);return a&&(e?t[o]=r:delete t[o]),l}}(),i=function(){if(A)return F;A=1;var t=Object.prototype.toString;return F=function(e){return t.call(e)}}(),n=t?t.toStringTag:void 0;return E=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":n&&n in Object(t)?e(t):i(t)}}function I(){return C?S:(C=1,S=Array.isArray)}function L(){return O?T:(O=1,T=function(t){return null!=t&&"object"==typeof t})}
|
|
5
|
+
/*! @license DOMPurify 3.4.12 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.12/LICENSE */function N(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}const M=Object.entries,U=Object.setPrototypeOf,P=Object.isFrozen,$=Object.getPrototypeOf,G=Object.getOwnPropertyDescriptor;let Y=Object.freeze,Z=Object.seal,H=Object.create,W="undefined"!=typeof Reflect&&Reflect,q=W.apply,V=W.construct;Y||(Y=function(t){return t}),Z||(Z=function(t){return t}),q||(q=function(t,e){for(var i=arguments.length,n=new Array(i>2?i-2:0),o=2;o<i;o++)n[o-2]=arguments[o];return t.apply(e,n)}),V||(V=function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];return new t(...i)});const J=vt(Array.prototype.forEach),K=vt(Array.prototype.lastIndexOf),X=vt(Array.prototype.pop),Q=vt(Array.prototype.push),tt=vt(Array.prototype.splice),et=Array.isArray,it=vt(String.prototype.toLowerCase),nt=vt(String.prototype.toString),ot=vt(String.prototype.match),rt=vt(String.prototype.replace),at=vt(String.prototype.indexOf),lt=vt(String.prototype.trim),st=vt(Number.prototype.toString),ct=vt(Boolean.prototype.toString),ft="undefined"==typeof BigInt?null:vt(BigInt.prototype.toString),ut="undefined"==typeof Symbol?null:vt(Symbol.prototype.toString),dt=vt(Object.prototype.hasOwnProperty),ht=vt(Object.prototype.toString),mt=vt(RegExp.prototype.test),pt=(gt=TypeError,function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return V(gt,e)});var gt;function vt(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var i=arguments.length,n=new Array(i>1?i-1:0),o=1;o<i;o++)n[o-1]=arguments[o];return q(t,e,n)}}function bt(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:it;if(U&&U(t,null),!et(e))return t;let n=e.length;for(;n--;){let o=e[n];if("string"==typeof o){const t=i(o);t!==o&&(P(e)||(e[n]=t),o=t)}t[o]=!0}return t}function yt(t){for(let e=0;e<t.length;e++)dt(t,e)||(t[e]=null);return t}function xt(t){const e=H(null);for(const r of M(t)){var i=(o=2,function(t){if(Array.isArray(t))return t}(n=r)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,o,r,a,l=[],s=!0,c=!1;try{if(r=(i=i.call(t)).next,0===e);else for(;!(s=(n=r.call(i)).done)&&(l.push(n.value),l.length!==e);s=!0);}catch(t){c=!0,o=t}finally{try{if(!s&&null!=i.return&&(a=i.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(n,o)||function(t,e){if(t){if("string"==typeof t)return N(t,e);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?N(t,e):void 0}}(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());const a=i[0],l=i[1];dt(t,a)&&(e[a]=et(l)?yt(l):l&&"object"==typeof l&&l.constructor===Object?xt(l):l)}var n,o;return e}function wt(t,e){for(;null!==t;){const i=G(t,e);if(i){if(i.get)return vt(i.get);if("function"==typeof i.value)return vt(i.value)}t=$(t)}return function(){return null}}const zt=Y(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),kt=Y(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ft=Y(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),At=Y(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Et=Y(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),_t=Y(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),St=Y(["#text"]),Ct=Y(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Tt=Y(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Ot=Y(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Dt=Y(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),jt=Z(/{{[\w\W]*|^[\w\W]*}}/g),Rt=Z(/<%[\w\W]*|^[\w\W]*%>/g),Bt=Z(/\${[\w\W]*/g),It=Z(/^data-[\-\w.\u00B7-\uFFFF]+$/),Lt=Z(/^aria-[\-\w]+$/),Nt=Z(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Mt=Z(/^(?:\w+script|data):/i),Ut=Z(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Pt=Z(/^html$/i),$t=Z(/^[a-z][.\w]*(-[.\w]+)+$/i),Gt=Z(/<[/\w!]/g),Yt=Z(/<[/\w]/g),Zt=Z(/<\/no(script|embed|frames)/i),Ht=Z(/\/>/i),Wt=function(){return"undefined"==typeof window?null:window},qt=function(t,e,i,n){return dt(t,e)&&et(t[e])?bt(n.base?xt(n.base):{},t[e],n.transform):i};var Vt=function t(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Wt();const i=e=>t(e);if(i.version="3.4.12",i.removed=[],!e||!e.document||9!==e.document.nodeType||!e.Element)return i.isSupported=!1,i;let n=e.document;const o=n,r=o.currentScript,a=e.HTMLTemplateElement,l=e.Node,s=e.NodeFilter,c=e.DOMParser,f=e.trustedTypes,u=e.Element.prototype,d=wt(u,"cloneNode"),h=wt(u,"remove"),m=wt(u,"nextSibling"),p=wt(u,"childNodes"),g=wt(u,"parentNode"),v=wt(u,"shadowRoot"),b=wt(u,"attributes"),y=l&&l.prototype?wt(l.prototype,"nodeType"):null,x=l&&l.prototype?wt(l.prototype,"nodeName"):null;if("function"==typeof a){const t=n.createElement("template");t.content&&t.content.ownerDocument&&(n=t.content.ownerDocument)}let w,z,k="",F=!1,A=0;const E=function(){if(A>0)throw pt('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},_=function(t){E(),A++;try{return w.createHTML(t)}finally{A--}},S=n.implementation,C=n.createNodeIterator,T=n.createDocumentFragment,O=n.getElementsByTagName,D=o.importNode;let j={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};i.isSupported="function"==typeof M&&"function"==typeof g&&S&&void 0!==S.createHTMLDocument;const R=jt,B=Rt,I=Bt,L=It,N=Lt,U=Mt,P=Ut,$=$t;let G=Nt,W=null;const q=bt({},[...zt,...kt,...Ft,...Et,...St]);let V=null;const gt=bt({},[...Ct,...Tt,...Ot,...Dt]);let vt=Object.seal(H(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),yt=null,Vt=null;const Jt=Object.seal(H(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Kt=!0,Xt=!0,Qt=!1,te=!0,ee=!1,ie=!0,ne=!1,oe=!1,re=null,ae=null,le=!1,se=!1,ce=!1,fe=!1,ue=!0,de=!1;const he="user-content-";let me=!0,pe=!1,ge={},ve=null;const be=bt({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let ye=null;const xe=bt({},["audio","video","img","source","image","track"]);let we=null;const ze=bt({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ke="http://www.w3.org/1998/Math/MathML",Fe="http://www.w3.org/2000/svg",Ae="http://www.w3.org/1999/xhtml";let Ee=Ae,_e=!1,Se=null;const Ce=bt({},[ke,Fe,Ae],nt),Te=Y(["mi","mo","mn","ms","mtext"]);let Oe=bt({},Te);const De=Y(["annotation-xml"]);let je=bt({},De);const Re=bt({},["title","style","font","a","script"]);let Be=null;const Ie=["application/xhtml+xml","text/html"];let Le=null,Ne=null;const Me=n.createElement("form"),Ue=function(t){return t instanceof RegExp||t instanceof Function},Pe=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Ne&&Ne===t)return;t&&"object"==typeof t||(t={}),t=xt(t),Be=-1===Ie.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,Le="application/xhtml+xml"===Be?nt:it,W=qt(t,"ALLOWED_TAGS",q,{transform:Le}),V=qt(t,"ALLOWED_ATTR",gt,{transform:Le}),Se=qt(t,"ALLOWED_NAMESPACES",Ce,{transform:nt}),we=qt(t,"ADD_URI_SAFE_ATTR",ze,{transform:Le,base:ze}),ye=qt(t,"ADD_DATA_URI_TAGS",xe,{transform:Le,base:xe}),ve=qt(t,"FORBID_CONTENTS",be,{transform:Le}),yt=qt(t,"FORBID_TAGS",xt({}),{transform:Le}),Vt=qt(t,"FORBID_ATTR",xt({}),{transform:Le}),ge=!!dt(t,"USE_PROFILES")&&(t.USE_PROFILES&&"object"==typeof t.USE_PROFILES?xt(t.USE_PROFILES):t.USE_PROFILES),Kt=!1!==t.ALLOW_ARIA_ATTR,Xt=!1!==t.ALLOW_DATA_ATTR,Qt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,te=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,ee=t.SAFE_FOR_TEMPLATES||!1,ie=!1!==t.SAFE_FOR_XML,ne=t.WHOLE_DOCUMENT||!1,se=t.RETURN_DOM||!1,ce=t.RETURN_DOM_FRAGMENT||!1,fe=t.RETURN_TRUSTED_TYPE||!1,le=t.FORCE_BODY||!1,ue=!1!==t.SANITIZE_DOM,de=t.SANITIZE_NAMED_PROPS||!1,me=!1!==t.KEEP_CONTENT,pe=t.IN_PLACE||!1,G=function(t){try{return mt(t,""),!0}catch(t){return!1}}(t.ALLOWED_URI_REGEXP)?t.ALLOWED_URI_REGEXP:Nt,Ee="string"==typeof t.NAMESPACE?t.NAMESPACE:Ae,Oe=dt(t,"MATHML_TEXT_INTEGRATION_POINTS")&&t.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof t.MATHML_TEXT_INTEGRATION_POINTS?xt(t.MATHML_TEXT_INTEGRATION_POINTS):bt({},Te),je=dt(t,"HTML_INTEGRATION_POINTS")&&t.HTML_INTEGRATION_POINTS&&"object"==typeof t.HTML_INTEGRATION_POINTS?xt(t.HTML_INTEGRATION_POINTS):bt({},De);const e=dt(t,"CUSTOM_ELEMENT_HANDLING")&&t.CUSTOM_ELEMENT_HANDLING&&"object"==typeof t.CUSTOM_ELEMENT_HANDLING?xt(t.CUSTOM_ELEMENT_HANDLING):H(null);if(vt=H(null),dt(e,"tagNameCheck")&&Ue(e.tagNameCheck)&&(vt.tagNameCheck=e.tagNameCheck),dt(e,"attributeNameCheck")&&Ue(e.attributeNameCheck)&&(vt.attributeNameCheck=e.attributeNameCheck),dt(e,"allowCustomizedBuiltInElements")&&"boolean"==typeof e.allowCustomizedBuiltInElements&&(vt.allowCustomizedBuiltInElements=e.allowCustomizedBuiltInElements),Z(vt),ee&&(Xt=!1),ce&&(se=!0),ge&&(W=bt({},St),V=H(null),!0===ge.html&&(bt(W,zt),bt(V,Ct)),!0===ge.svg&&(bt(W,kt),bt(V,Tt),bt(V,Dt)),!0===ge.svgFilters&&(bt(W,Ft),bt(V,Tt),bt(V,Dt)),!0===ge.mathMl&&(bt(W,Et),bt(V,Ot),bt(V,Dt))),Jt.tagCheck=null,Jt.attributeCheck=null,dt(t,"ADD_TAGS")&&("function"==typeof t.ADD_TAGS?Jt.tagCheck=t.ADD_TAGS:et(t.ADD_TAGS)&&(W===q&&(W=xt(W)),bt(W,t.ADD_TAGS,Le))),dt(t,"ADD_ATTR")&&("function"==typeof t.ADD_ATTR?Jt.attributeCheck=t.ADD_ATTR:et(t.ADD_ATTR)&&(V===gt&&(V=xt(V)),bt(V,t.ADD_ATTR,Le))),dt(t,"ADD_URI_SAFE_ATTR")&&et(t.ADD_URI_SAFE_ATTR)&&bt(we,t.ADD_URI_SAFE_ATTR,Le),dt(t,"FORBID_CONTENTS")&&et(t.FORBID_CONTENTS)&&(ve===be&&(ve=xt(ve)),bt(ve,t.FORBID_CONTENTS,Le)),dt(t,"ADD_FORBID_CONTENTS")&&et(t.ADD_FORBID_CONTENTS)&&(ve===be&&(ve=xt(ve)),bt(ve,t.ADD_FORBID_CONTENTS,Le)),me&&(W["#text"]=!0),ne&&bt(W,["html","head","body"]),W.table&&(bt(W,["tbody"]),delete yt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw pt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw pt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const e=w;w=t.TRUSTED_TYPES_POLICY;try{k=_("")}catch(t){throw w=e,t}}else null===t.TRUSTED_TYPES_POLICY?(w=void 0,k=""):(void 0===w&&(F||(z=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let i=null;const n="data-tt-policy-suffix";e&&e.hasAttribute(n)&&(i=e.getAttribute(n));const o="dompurify"+(i?"#"+i:"");try{return t.createPolicy(o,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(f,r),F=!0),w=z),w&&"string"==typeof k&&(k=_("")));Y&&Y(t),Ne=t},$e=bt({},[...kt,...Ft,...At]),Ge=bt({},[...Et,..._t]),Ye=function(t){Q(i.removed,{element:t});try{g(t).removeChild(t)}catch(e){if(h(t),!g(t))throw pt("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Ze=function(t){qe(t);const e=p(t);if(e){const t=[];J(e,(e=>{Q(t,e)})),J(t,(t=>{try{h(t)}catch(t){}}))}const i=b(t);if(i)for(let e=i.length-1;e>=0;--e){const n=i[e],o=n&&n.name;if("string"==typeof o)try{t.removeAttribute(o)}catch(t){}}},He=function(t,e){try{Q(i.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){Q(i.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t)if(se||ce)try{Ye(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},We=function(t){const e=b(t);if(e)for(let i=e.length-1;i>=0;--i){const n=e[i],o=n&&n.name;if("string"==typeof o&&!V[Le(o)])try{t.removeAttribute(o)}catch(t){}}},qe=function(t){const e=[t];for(;e.length>0;){const t=e.pop();1===(y?y(t):t.nodeType)&&We(t);const i=p(t);if(i)for(let t=i.length-1;t>=0;--t)e.push(i[t])}},Ve=function(t){let e=null,i=null;if(le)t="<remove></remove>"+t;else{const e=ot(t,/^[\r\n\t ]+/);i=e&&e[0]}"application/xhtml+xml"===Be&&Ee===Ae&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const o=w?_(t):t;if(Ee===Ae)try{e=(new c).parseFromString(o,Be)}catch(t){}if(!e||!e.documentElement){e=S.createDocument(Ee,"template",null);try{e.documentElement.innerHTML=_e?k:o}catch(t){}}const r=e.body||e.documentElement;return t&&i&&r.insertBefore(n.createTextNode(i),r.childNodes[0]||null),Ee===Ae?O.call(e,ne?"html":"body")[0]:ne?e.documentElement:r},Je=function(t){return C.call(t.ownerDocument||t,t,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION|s.SHOW_CDATA_SECTION,null)},Ke=function(t){return t=rt(t,R," "),t=rt(t,B," "),rt(t,I," ")},Xe=function(t){var e;t.normalize();const i=C.call(t.ownerDocument||t,t,s.SHOW_TEXT|s.SHOW_COMMENT|s.SHOW_CDATA_SECTION|s.SHOW_PROCESSING_INSTRUCTION,null);let n=i.nextNode();for(;n;)n.data=Ke(n.data),n=i.nextNode();const o=null===(e=t.querySelectorAll)||void 0===e?void 0:e.call(t,"template");o&&J(o,(t=>{ti(t.content)&&Xe(t.content)}))},Qe=function(t){const e=x?x(t):null;return"string"==typeof e&&"form"===Le(e)&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||t.attributes!==b(t)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes||t.nodeType!==y(t)||t.childNodes!==p(t))},ti=function(t){if(!y||"object"!=typeof t||null===t)return!1;try{return 11===y(t)}catch(t){return!1}},ei=function(t){if(!y||"object"!=typeof t||null===t)return!1;try{return"number"==typeof y(t)}catch(t){return!1}};function ii(t,e,n){0!==t.length&&J(t,(t=>{t.call(i,e,n,Ne)}))}const ni=function(t,e){if(ii(j.beforeSanitizeElements,t,null),t!==e&&null===g(t))return!0;if(Qe(t))return Ye(t),!0;const n=Le(x?x(t):t.nodeName);if(ii(j.uponSanitizeElement,t,{tagName:n,allowedTags:W}),t!==e&&null===g(t))return!0;if(function(t,e){return!!(ie&&t.hasChildNodes()&&!ei(t.firstElementChild)&&mt(Gt,t.textContent)&&mt(Gt,t.innerHTML))||!(!ie||t.namespaceURI!==Ae||"style"!==e||!ei(t.firstElementChild))||7===t.nodeType||!(!ie||8!==t.nodeType||!mt(Yt,t.data))}(t,n))return Ye(t),!0;if(yt[n]||!(Jt.tagCheck instanceof Function&&Jt.tagCheck(n))&&!W[n]){const e=function(t,e){if(!yt[e]&&ai(e)){if(vt.tagNameCheck instanceof RegExp&&mt(vt.tagNameCheck,e))return!1;if(vt.tagNameCheck instanceof Function&&vt.tagNameCheck(e))return!1}if(me&&!ve[e]){const e=g(t),i=p(t);if(i&&e)for(let n=i.length-1;n>=0;--n){const o=pe?i[n]:d(i[n],!0);e.insertBefore(o,m(t))}}return Ye(t),!0}(t,n);return!1===e&&ii(j.afterSanitizeElements,t,null),e}if(1===(y?y(t):t.nodeType)&&!function(t){let e=g(t);e&&e.tagName||(e={namespaceURI:Ee,tagName:"template"});const i=it(t.tagName),n=it(e.tagName);return!!Se[t.namespaceURI]&&(t.namespaceURI===Fe?function(t,e,i){return e.namespaceURI===Ae?"svg"===t:e.namespaceURI===ke?"svg"===t&&("annotation-xml"===i||Oe[i]):Boolean($e[t])}(i,e,n):t.namespaceURI===ke?function(t,e,i){return e.namespaceURI===Ae?"math"===t:e.namespaceURI===Fe?"math"===t&&je[i]:Boolean(Ge[t])}(i,e,n):t.namespaceURI===Ae?function(t,e,i){return!(e.namespaceURI===Fe&&!je[i])&&!(e.namespaceURI===ke&&!Oe[i])&&!Ge[t]&&(Re[t]||!$e[t])}(i,e,n):!("application/xhtml+xml"!==Be||!Se[t.namespaceURI]))}(t))return Ye(t),!0;if(("noscript"===n||"noembed"===n||"noframes"===n)&&mt(Zt,t.innerHTML))return Ye(t),!0;if(ee&&3===t.nodeType){const e=Ke(t.textContent);t.textContent!==e&&(Q(i.removed,{element:t.cloneNode()}),t.textContent=e)}return ii(j.afterSanitizeElements,t,null),!1},oi=function(t,e,i){if(Vt[e])return!1;if(ie&&"patchsrc"===e)return!1;if(ie&&"for"===e&&"label"!==t&&"output"!==t)return!1;if(ue&&("id"===e||"name"===e)&&(i in n||i in Me))return!1;const o=V[e]||Jt.attributeCheck instanceof Function&&Jt.attributeCheck(e,t);if(Xt&&mt(L,e));else if(Kt&&mt(N,e));else if(o){if(we[e]);else if(mt(G,rt(i,P,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==at(i,"data:")||!ye[t])if(Qt&&!mt(U,rt(i,P,"")));else if(i)return!1}else if(!(ai(t)&&(vt.tagNameCheck instanceof RegExp&&mt(vt.tagNameCheck,t)||vt.tagNameCheck instanceof Function&&vt.tagNameCheck(t))&&(vt.attributeNameCheck instanceof RegExp&&mt(vt.attributeNameCheck,e)||vt.attributeNameCheck instanceof Function&&vt.attributeNameCheck(e,t))||"is"===e&&vt.allowCustomizedBuiltInElements&&(vt.tagNameCheck instanceof RegExp&&mt(vt.tagNameCheck,i)||vt.tagNameCheck instanceof Function&&vt.tagNameCheck(i))))return!1;return!0},ri=bt({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),ai=function(t){return!ri[it(t)]&&mt($,t)},li=function(t,e,i,n){if(w&&"object"==typeof f&&"function"==typeof f.getAttributeType&&!i)switch(f.getAttributeType(t,e)){case"TrustedHTML":return _(n);case"TrustedScriptURL":return function(t){E(),A++;try{return w.createScriptURL(t)}finally{A--}}(n)}return n},si=function(t,e,n,o){try{n?t.setAttributeNS(n,e,o):t.setAttribute(e,o),Qe(t)?Ye(t):X(i.removed)}catch(i){He(e,t)}},ci=function(t){ii(j.beforeSanitizeAttributes,t,null);const e=t.attributes;if(!e||Qe(t))return;const i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:V,forceKeepAttr:void 0};let n=e.length;const o=Le(t.nodeName);for(;n--;){const r=e[n],a=r.name,l=r.namespaceURI,s=r.value,c=Le(a),f=s;let u="value"===a?f:lt(f);i.attrName=c,i.attrValue=u,i.keepAttr=!0,i.forceKeepAttr=void 0,ii(j.uponSanitizeAttribute,t,i),u=i.attrValue,!de||"id"!==c&&"name"!==c||0===at(u,he)||(He(a,t),u=he+u),ie&&mt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,u)||"attributename"===c&&ot(u,"href")?He(a,t):i.forceKeepAttr||(!i.keepAttr||!te&&mt(Ht,u)?He(a,t):(ee&&(u=Ke(u)),oi(o,c,u)?(u=li(o,c,l,u),u!==f&&si(t,a,l,u)):He(a,t)))}ii(j.afterSanitizeAttributes,t,null)},fi=function(t){let e=null;const i=Je(t);for(ii(j.beforeSanitizeShadowDOM,t,null);e=i.nextNode();)if(ii(j.uponSanitizeShadowNode,e,null),ni(e,t),ci(e),ti(e.content)&&fi(e.content),1===(y?y(e):e.nodeType)){const t=v(e);ti(t)&&(ui(t),fi(t))}ii(j.afterSanitizeShadowDOM,t,null)},ui=function(t){const e=[{node:t,shadow:null}];for(;e.length>0;){const t=e.pop();if(t.shadow){fi(t.shadow);continue}const i=t.node,n=1===(y?y(i):i.nodeType),o=p(i);if(o)for(let t=o.length-1;t>=0;--t)e.push({node:o[t],shadow:null});if(n){const t=x?x(i):null;if("string"==typeof t&&"template"===Le(t)){const t=i.content;ti(t)&&e.push({node:t,shadow:null})}}if(n){const t=v(i);ti(t)&&e.push({node:null,shadow:t},{node:t,shadow:null})}}};return i.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,a=null,l=null;if(_e=!t,_e&&(t="\x3c!--\x3e"),"string"!=typeof t&&!ei(t)&&"string"!=typeof(t=function(t){switch(typeof t){case"string":return t;case"number":return st(t);case"boolean":return ct(t);case"bigint":return ft?ft(t):"0";case"symbol":return ut?ut(t):"Symbol()";case"undefined":default:return ht(t);case"function":case"object":{if(null===t)return ht(t);const e=t,i=wt(e,"toString");if("function"==typeof i){const t=i(e);return"string"==typeof t?t:ht(t)}return ht(t)}}}(t)))throw pt("dirty is not a string, aborting");if(!i.isSupported)return t;oe?(W=re,V=ae):Pe(e),(j.uponSanitizeElement.length>0||j.uponSanitizeAttribute.length>0)&&(W=xt(W)),j.uponSanitizeAttribute.length>0&&(V=xt(V)),i.removed=[];const s=pe&&"string"!=typeof t&&ei(t);if(s){!function(t){if(!ie)return;const e=[t];for(;e.length>0;){const t=e.pop(),i=y?y(t):t.nodeType;if(7===i||8===i&&mt(Yt,t.data)){try{h(t)}catch(t){}continue}if(1===i){const e=t,i=Le(x?x(t):t.nodeName);try{e.hasAttribute&&e.hasAttribute("patchsrc")&&e.removeAttribute("patchsrc"),e.hasAttribute&&e.hasAttribute("for")&&"label"!==i&&"output"!==i&&e.removeAttribute("for")}catch(t){}}const n=p(t);if(n)for(let t=n.length-1;t>=0;--t)e.push(n[t])}}(t);const e=x?x(t):t.nodeName;if("string"==typeof e){const i=Le(e);if(!W[i]||yt[i])throw Ze(t),pt("root node is forbidden and cannot be sanitized in-place")}if(Qe(t))throw Ze(t),pt("root node is clobbered and cannot be sanitized in-place");try{ui(t)}catch(e){throw Ze(t),e}}else if(ei(t))n=Ve("\x3c!----\x3e"),r=n.ownerDocument.importNode(t,!0),1===r.nodeType&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r),ui(r);else{if(!se&&!ee&&!ne&&-1===t.indexOf("<"))return w&&fe?_(t):t;if(n=Ve(t),!n)return se?null:fe?k:""}n&&le&&Ye(n.firstChild);const c=s?t:n,f=Je(c);try{for(;a=f.nextNode();)ni(a,c),ci(a),ti(a.content)&&fi(a.content)}catch(e){throw s&&(Ze(t),J(i.removed,(t=>{t.element&&qe(t.element)}))),e}if(s)return J(i.removed,(t=>{t.element&&qe(t.element)})),ee&&Xe(t),t;if(se){if(ee&&Xe(n),ce)for(l=T.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(V.shadowroot||V.shadowrootmode)&&(l=D.call(o,l,!0)),l}let u=ne?n.outerHTML:n.innerHTML;return ne&&W["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&mt(Pt,n.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+u),ee&&(u=Ke(u)),w&&fe?_(u):u},i.setConfig=function(){Pe(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),oe=!0,re=W,ae=V},i.clearConfig=function(){Ne=null,oe=!1,re=null,ae=null,w=z,k=""},i.isValidAttribute=function(t,e,i){Ne||Pe({});const n=Le(t),o=Le(e);return oi(n,o,i)},i.addHook=function(t,e){"function"==typeof e&&dt(j,t)&&Q(j[t],e)},i.removeHook=function(t,e){if(dt(j,t)){if(void 0!==e){const i=K(j[t],e);return-1===i?void 0:tt(j[t],i,1)[0]}return X(j[t])}},i.removeHooks=function(t){dt(j,t)&&(j[t]=[])},i.removeAllHooks=function(){j={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},i}();const Jt=t=>Vt.sanitize(t,{USE_PROFILES:{svg:!0},FORBID_ATTR:["height","width"]}),Kt=new Map;var Xt,Qt,te,ee,ie,ne,oe,re,ae,le,se,ce,fe,ue,de,he,me,pe,ge,ve,be,ye,xe,we,ze,ke,Fe,Ae,Ee,_e,Se,Ce,Te,Oe,De,je,Re,Be,Ie,Le,Ne,Me,Ue,Pe,$e,Ge;function Ye(){if(re)return oe;re=1;var t=function(){if(ne)return ie;ne=1;var t=R(),e=Qt?Xt:(Qt=1,Xt=function(t,e){for(var i=-1,n=null==t?0:t.length,o=Array(n);++i<n;)o[i]=e(t[i],i,t);return o}),i=I(),n=function(){if(ee)return te;ee=1;var t=B(),e=L();return te=function(i){return"symbol"==typeof i||e(i)&&"[object Symbol]"==t(i)}}(),o=t?t.prototype:void 0,r=o?o.toString:void 0;return ie=function t(o){if("string"==typeof o)return o;if(i(o))return e(o,t)+"";if(n(o))return r?r.call(o):"";var a=o+"";return"0"==a&&1/o==-1/0?"-0":a}}();return oe=function(e){return null==e?"":t(e)}}function Ze(){if(ue)return fe;ue=1;var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");return fe=function(e){return t.test(e)}}function He(){if(we)return xe;we=1;var t=function(){if(ye)return be;ye=1;var t=function(){if(ce)return se;ce=1;var t=le?ae:(le=1,ae=function(t,e,i){var n=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(i=i>o?o:i)<0&&(i+=o),o=e>i?0:i-e>>>0,e>>>=0;for(var r=Array(o);++n<o;)r[n]=t[n+e];return r});return se=function(e,i,n){var o=e.length;return n=void 0===n?o:n,!i&&n>=o?e:t(e,i,n)}}(),e=Ze(),i=function(){if(ve)return ge;ve=1;var t=he?de:(he=1,de=function(t){return t.split("")}),e=Ze(),i=function(){if(pe)return me;pe=1;var t="\\ud800-\\udfff",e="["+t+"]",i="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\\ud83c[\\udffb-\\udfff]",o="[^"+t+"]",r="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+i+"|"+n+")?",s="[\\ufe0e\\ufe0f]?",c=s+l+"(?:\\u200d(?:"+[o,r,a].join("|")+")"+s+l+")*",f="(?:"+[o+i+"?",i,r,a,e].join("|")+")",u=RegExp(n+"(?="+n+")|"+f+c,"g");return me=function(t){return t.match(u)||[]}}();return ge=function(n){return e(n)?i(n):t(n)}}(),n=Ye();return be=function(o){return function(r){r=n(r);var a=e(r)?i(r):void 0,l=a?a[0]:r.charAt(0),s=a?t(a,1).join(""):r.slice(1);return l[o]()+s}}}()("toUpperCase");return xe=t}function We(){if(Pe)return Ue;Pe=1;var t=Ae?Fe:(Ae=1,Fe=function(t,e,i,n){var o=-1,r=null==t?0:t.length;for(n&&r&&(i=t[++o]);++o<r;)i=e(i,t[o],o,t);return i}),e=function(){if(Oe)return Te;Oe=1;var t=function(){if(Ce)return Se;Ce=1;var t=(_e?Ee:(_e=1,Ee=function(t){return function(e){return null==t?void 0:t[e]}}))({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"});return Se=t}(),e=Ye(),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,n=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");return Te=function(o){return(o=e(o))&&o.replace(i,t).replace(n,"")}}(),i=function(){if(Me)return Ne;Me=1;var t=function(){if(je)return De;je=1;var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;return De=function(e){return e.match(t)||[]}}(),e=function(){if(Be)return Re;Be=1;var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;return Re=function(e){return t.test(e)}}(),i=Ye(),n=function(){if(Le)return Ie;Le=1;var t="\\ud800-\\udfff",e="\\u2700-\\u27bf",i="a-z\\xdf-\\xf6\\xf8-\\xff",n="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r="["+o+"]",a="\\d+",l="["+e+"]",s="["+i+"]",c="[^"+t+o+a+e+i+n+"]",f="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",d="["+n+"]",h="(?:"+s+"|"+c+")",m="(?:"+d+"|"+c+")",p="(?:['’](?:d|ll|m|re|s|t|ve))?",g="(?:['’](?:D|LL|M|RE|S|T|VE))?",v="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",b="[\\ufe0e\\ufe0f]?",y=b+v+"(?:\\u200d(?:"+["[^"+t+"]",f,u].join("|")+")"+b+v+")*",x="(?:"+[l,f,u].join("|")+")"+y,w=RegExp([d+"?"+s+"+"+p+"(?="+[r,d,"$"].join("|")+")",m+"+"+g+"(?="+[r,d+h,"$"].join("|")+")",d+"?"+h+"+"+p,d+"+"+g,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",a,x].join("|"),"g");return Ie=function(t){return t.match(w)||[]}}();return Ne=function(o,r,a){return o=i(o),void 0===(r=a?void 0:r)?e(o)?n(o):t(o):o.match(r)||[]}}(),n=RegExp("['’]","g");return Ue=function(o){return function(r){return t(i(e(r).replace(n,"")),o,"")}}}var qe=function(){if(Ge)return $e;Ge=1;var t=function(){if(ke)return ze;ke=1;var t=Ye(),e=He();return ze=function(i){return e(t(i).toLowerCase())}}(),e=We()((function(e,i,n){return i=i.toLowerCase(),e+(n?t(i):i)}));return $e=e}(),Ve=c(qe),Je=c(He());const Ke=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this._fetchedSrc="",this.icons=d.icons,this.svgContent="",this.name="",this.svg="",this.src="",this.shape="",this.tile=!1,this.tileColor="purple",this.inline=!1,this.inverted=!1,this.turn=!1,this.shadow=!1,this.disabled=!1,this.invalid=!1,this.generateSvgContent=async t=>{if(Object.keys(this.icons).length>0&&t&&t.length>0){const e=this.icons[`Icon${Je(Ve(t))}`];if(e)return void(e!==this.svgContent&&(this.svgContent=e));console.error(`Icon "${t}" not found in design system configuration.`,"\n\nCheck out the documentation on how to import icons during initialization.","\nhttps://design.baloise.dev/?path=/docs/components-data-display-icon--documentation&globals=framework:angular#import-during-initialization")}if(this.src&&this.src!==this._fetchedSrc)return this._fetchedSrc=this.src,void(this.svgContent=await(e=this.src,Kt.has(e)||Kt.set(e,fetch(e).then((t=>{if(!t.ok)throw new Error(`ds-icon: failed to fetch SVG "${e}" (${t.status})`);return t.text()})).then((t=>Jt(t))).catch((t=>(console.error(t),Kt.delete(e),"")))),Kt.get(e)));var e;if(this.svg){const t=Jt(this.svg);t!==this.svgContent&&(this.svgContent=t)}}}createLogger(t){this.log=t}connectedCallback(){this.generateSvgContent(this.name)}async componentWillRender(){await this.generateSvgContent(this.name)}async configChanged(t){this.icons=t.icons,await this.generateSvgContent(this.name)}parseColor(){return this.disabled?"grey":this.invalid?"danger":f(this.color)||this.svg||this.src?this.color:"primary"}render(){const t=this.parseColor(),e=u(this.size)||"";return i(n,{key:"ef88ac381462c6bdb94a26ea1a34ae305d835bc0","aria-hidden":"true",class:{"is-filled":!this.svg&&!this.src,[`is-${t}`]:f(t),[`is-${e}`]:f(this.size),[`turn-${this.name}`]:this.turn,"is-inverted":this.inverted,"is-inline":this.inline,"is-tile":this.tile,[`is-tile-${this.tileColor}`]:this.tile,"has-shadow":this.shadow,"is-disabled":this.disabled,"is-invalid":this.invalid,[`has-shape-${this.shape}`]:f(this.shape)}},i("div",{key:"48d72dc12d2c48d394538a8a41c990d29d21b927",id:"inner",part:"inner",innerHTML:this.svgContent}))}get el(){return this}static get style(){return':host{--_icon-position:var(--icon-position, var(--mod-icon-position, static));--_icon-top:var(--icon-top, var(--mod-icon-top));--_icon-right:var(--icon-right, var(--mod-icon-right));--_icon-bottom:var(--icon-bottom, var(--mod-icon-bottom));--_icon-left:var(--icon-left, var(--mod-icon-left));position:var(--_icon-position);top:var(--_icon-top);right:var(--_icon-right);bottom:var(--_icon-bottom);left:var(--_icon-left);--_icon-m:var(--icon-m, var(--mod-icon-m, 0));--_icon-my:var(--icon-my, var(--mod-icon-my));--_icon-mx:var(--icon-mx, var(--mod-icon-mx));--_icon-ml:var(--icon-ml, var(--mod-icon-ml));--_icon-mr:var(--icon-mr, var(--mod-icon-mr));--_icon-mt:var(--icon-mt, var(--mod-icon-mt));--_icon-mb:var(--icon-mb, var(--mod-icon-mb));margin:var(--_icon-m);margin-inline:var(--_icon-mx);margin-block:var(--_icon-my);margin-left:var(--_icon-ml);margin-right:var(--_icon-mr);margin-top:var(--_icon-mt);margin-bottom:var(--_icon-mb);--_icon-size:var(--icon-size, var(--mod-icon-size, var(--ds-icon-size-base)));--_icon-inner-size:var(--icon-inner-size, var(--mod-icon-inner-size, var(--ds-icon-size-base)));--_icon-inner-mt:var(--icon-inner-mt, var(--mod-icon-inner-mt, 0));--_icon-color:var(--icon-color, var(--mod-icon-color, var(--ds-icon-color-primary)));--_icon-shape:var(--icon-shape, var(--mod-icon-shape, var(--ds-icon-color-primary)));--_icon-tile-size:var(--icon-tile-size, var(--mod-icon-tile-size, var(--ds-icon-tile-size-base-mobile)));--_icon-tile-size-tablet:var(--icon-tile-size-tablet, var(--mod-icon-tile-size-tablet, var(--ds-icon-tile-size-base-tablet)));--_icon-tile-color-background:var(--icon-tile-color-background, var(--mod-icon-tile-color-background, var(--ds-icon-tile-color-purple)));--_icon-tile-radius:var(--icon-tile-radius, var(--mod-icon-tile-radius, var(--ds-icon-tile-radius)))}:host{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none;user-drag:none;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;vertical-align:middle;pointer-events:visible;width:var(--_icon-size);height:var(--_icon-size);max-height:var(--_icon-size)}:host #inner{display:block;position:static;z-index:1;-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out, -webkit-transform .2s ease-in-out;margin-top:var(--_icon-inner-mt);width:var(--_icon-inner-size);height:var(--_icon-inner-size);max-height:var(--_icon-inner-size)}:host #inner>svg{vertical-align:top}:host(.is-filled) svg svg,:host(.is-filled) svg g,:host(.is-filled) svg path,:host(.is-filled) svg circle{fill:var(--_icon-color)}:host(:not(.is-filled)) svg path[fill="#E9FBF7"]{fill:var(--icon-brand-color, #E9FBF7)}:host(:not(.is-filled)) svg path[fill="#e9fbf7"]{fill:var(--icon-brand-color, #e9fbf7)}:host(:not(.is-filled)) svg path[fill="#CBF2EC"]{fill:var(--icon-brand-color, #CBF2EC)}:host(:not(.is-filled)) svg path[fill="#cbf2ec"]{fill:var(--icon-brand-color, #cbf2ec)}:host(:not(.is-filled)) svg path[fill="#94E3D4"]{fill:var(--icon-brand-color, #94E3D4)}:host(:not(.is-filled)) svg path[fill="#94e3d4"]{fill:var(--icon-brand-color, #94e3d4)}:host(:not(.is-filled)) svg path[fill="#21D9AC"]{fill:var(--icon-brand-color, #21D9AC)}:host(:not(.is-filled)) svg path[fill="#21d9ac"]{fill:var(--icon-brand-color, #21d9ac)}:host(:not(.is-filled)) svg path[fill="#00B28F"]{fill:var(--icon-brand-color, #00B28F)}:host(:not(.is-filled)) svg path[fill="#00b28f"]{fill:var(--icon-brand-color, #00b28f)}:host(:not(.is-filled)) svg path[fill="#1B5951"]{fill:var(--icon-brand-color, #1B5951)}:host(:not(.is-filled)) svg path[fill="#1b5951"]{fill:var(--icon-brand-color, #1b5951)}:host(:not(.is-filled)) svg path[fill="#FFF9E8"]{fill:var(--icon-brand-color, #FFF9E8)}:host(:not(.is-filled)) svg path[fill="#fff9e8"]{fill:var(--icon-brand-color, #fff9e8)}:host(:not(.is-filled)) svg path[fill="#FFECBC"]{fill:var(--icon-brand-color, #FFECBC)}:host(:not(.is-filled)) svg path[fill="#ffecbc"]{fill:var(--icon-brand-color, #ffecbc)}:host(:not(.is-filled)) svg path[fill="#FAE052"]{fill:var(--icon-brand-color, #FAE052)}:host(:not(.is-filled)) svg path[fill="#fae052"]{fill:var(--icon-brand-color, #fae052)}:host(:not(.is-filled)) svg path[fill="#FFBE19"]{fill:var(--icon-brand-color, #FFBE19)}:host(:not(.is-filled)) svg path[fill="#ffbe19"]{fill:var(--icon-brand-color, #ffbe19)}:host(:not(.is-filled)) svg path[fill="#FA9319"]{fill:var(--icon-brand-color, #FA9319)}:host(:not(.is-filled)) svg path[fill="#fa9319"]{fill:var(--icon-brand-color, #fa9319)}:host(:not(.is-filled)) svg path[fill="#B24A00"]{fill:var(--icon-brand-color, #B24A00)}:host(:not(.is-filled)) svg path[fill="#b24a00"]{fill:var(--icon-brand-color, #b24a00)}:host(:not(.is-filled)) svg path[fill="#FFEEF1"]{fill:var(--icon-brand-color, #FFEEF1)}:host(:not(.is-filled)) svg path[fill="#ffeef1"]{fill:var(--icon-brand-color, #ffeef1)}:host(:not(.is-filled)) svg path[fill="#FFD7D7"]{fill:var(--icon-brand-color, #FFD7D7)}:host(:not(.is-filled)) svg path[fill="#ffd7d7"]{fill:var(--icon-brand-color, #ffd7d7)}:host(:not(.is-filled)) svg path[fill="#FFACA6"]{fill:var(--icon-brand-color, #FFACA6)}:host(:not(.is-filled)) svg path[fill="#ffaca6"]{fill:var(--icon-brand-color, #ffaca6)}:host(:not(.is-filled)) svg path[fill="#FF596F"]{fill:var(--icon-brand-color, #FF596F)}:host(:not(.is-filled)) svg path[fill="#ff596f"]{fill:var(--icon-brand-color, #ff596f)}:host(:not(.is-filled)) svg path[fill="#D9304C"]{fill:var(--icon-brand-color, #D9304C)}:host(:not(.is-filled)) svg path[fill="#d9304c"]{fill:var(--icon-brand-color, #d9304c)}:host(:not(.is-filled)) svg path[fill="#99172D"]{fill:var(--icon-brand-color, #99172D)}:host(:not(.is-filled)) svg path[fill="#99172d"]{fill:var(--icon-brand-color, #99172d)}:host(:not(.is-filled)) svg path[fill="#F9F3FF"]{fill:var(--icon-brand-color, #F9F3FF)}:host(:not(.is-filled)) svg path[fill="#f9f3ff"]{fill:var(--icon-brand-color, #f9f3ff)}:host(:not(.is-filled)) svg path[fill="#E1D9FF"]{fill:var(--icon-brand-color, #E1D9FF)}:host(:not(.is-filled)) svg path[fill="#e1d9ff"]{fill:var(--icon-brand-color, #e1d9ff)}:host(:not(.is-filled)) svg path[fill="#B8B2FF"]{fill:var(--icon-brand-color, #B8B2FF)}:host(:not(.is-filled)) svg path[fill="#b8b2ff"]{fill:var(--icon-brand-color, #b8b2ff)}:host(:not(.is-filled)) svg path[fill="#BE82FA"]{fill:var(--icon-brand-color, #BE82FA)}:host(:not(.is-filled)) svg path[fill="#be82fa"]{fill:var(--icon-brand-color, #be82fa)}:host(:not(.is-filled)) svg path[fill="#9F52CC"]{fill:var(--icon-brand-color, #9F52CC)}:host(:not(.is-filled)) svg path[fill="#9f52cc"]{fill:var(--icon-brand-color, #9f52cc)}:host(:not(.is-filled)) svg path[fill="#6C2273"]{fill:var(--icon-brand-color, #6C2273)}:host(:not(.is-filled)) svg path[fill="#6c2273"]{fill:var(--icon-brand-color, #6c2273)}:host(:not(.is-filled)) svg path[fill="#000D6E"]{fill:var(--icon-brand-color, #000D6E)}:host(:not(.is-filled)) svg path[fill="#000d6e"]{fill:var(--icon-brand-color, #000d6e)}:host(.is-inline){display:-ms-inline-flexbox;display:inline-flex;line-height:1}:host(.has-shadow) svg{-webkit-filter:drop-shadow(0px 0px 5rem rgba(0, 0, 0, 0.5));filter:drop-shadow(0px 0px 5rem rgba(0, 0, 0, 0.5))}:host(.turn-plus) #inner{-webkit-transform:rotate(225deg);transform:rotate(225deg)}:host(.turn-nav-go-down) #inner,:host(.turn-caret-down) #inner,:host(.turn-caret-up) #inner{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.is-tile){background:var(--_icon-tile-color-background);border-radius:var(--_icon-tile-radius);height:var(--_icon-tile-size);--mod-icon-size:var(--_icon-tile-size);--mod-icon-inner-size:var(--_icon-tile-size)}@media screen and (min-width: 769px){:host(.is-tile){height:var(--_icon-tile-size-tablet);--mod-icon-size:var(--_icon-tile-size-tablet);--mod-icon-inner-size:var(--_icon-tile-size-tablet)}}:host(.is-xs:not(.is-tile,.has-shape-circle,.has-shape-triangle)){--mod-icon-size:var(--ds-icon-size-xs);--mod-icon-inner-size:var(--ds-icon-size-xs)}:host(.is-sm:not(.is-tile,.has-shape-circle,.has-shape-triangle)){--mod-icon-size:var(--ds-icon-size-sm);--mod-icon-inner-size:var(--ds-icon-size-sm)}:host(.is-md:not(.is-tile,.has-shape-circle,.has-shape-triangle)){--mod-icon-size:var(--ds-icon-size-md);--mod-icon-inner-size:var(--ds-icon-size-md)}:host(.is-lg:not(.is-tile,.has-shape-circle,.has-shape-triangle)){--mod-icon-size:var(--ds-icon-size-lg);--mod-icon-inner-size:var(--ds-icon-size-lg)}:host(.is-xl:not(.is-tile,.has-shape-circle,.has-shape-triangle)){--mod-icon-size:var(--ds-icon-size-xl);--mod-icon-inner-size:var(--ds-icon-size-xl)}:host(.is-2xl:not(.is-tile,.has-shape-circle,.has-shape-triangle)){--mod-icon-size:var(--ds-icon-size-2xl);--mod-icon-inner-size:var(--ds-icon-size-2xl)}:host(.is-3xl:not(.is-tile,.has-shape-circle,.has-shape-triangle)){--mod-icon-size:var(--ds-icon-size-3xl);--mod-icon-inner-size:var(--ds-icon-size-3xl)}:host(.is-tile.is-lg){--mod-icon-tile-size:var(--ds-icon-tile-size-lg-mobile);--mod-icon-tile-size-tablet:var(--ds-icon-tile-size-lg-tablet)}:host(.is-tile.is-xl){--mod-icon-tile-size:var(--ds-icon-tile-size-xl-mobile);--mod-icon-tile-size-tablet:var(--ds-icon-tile-size-xl-tablet)}:host(.is-inverted){--mod-icon-color:var(--ds-icon-color-white)}:host(.is-disabled){--mod-icon-color:var(--ds-icon-color-disabled)}:host(.is-primary){--mod-icon-color:var(--ds-icon-color-primary);--mod-icon-shape:var(--ds-global-color-primary-5)}:host(.is-primary-light){--mod-icon-color:var(--ds-icon-color-primary-light);--mod-icon-shape:var(--ds-global-color-primary-light-5)}:host(.is-info){--mod-icon-color:var(--ds-icon-color-info);--mod-icon-shape:var(--ds-global-color-info-5)}:host(.is-success){--mod-icon-color:var(--ds-icon-color-success);--mod-icon-shape:var(--ds-global-color-success-5)}:host(.is-danger){--mod-icon-color:var(--ds-icon-color-danger);--mod-icon-shape:var(--ds-global-color-danger-5)}:host(.is-warning){--mod-icon-color:var(--ds-icon-color-warning);--mod-icon-shape:var(--ds-global-color-warning-5)}:host(.is-white){--mod-icon-color:var(--ds-icon-color-white);--mod-icon-shape:var(--ds-global-color-white-5)}:host(.is-grey){--mod-icon-color:var(--ds-icon-color-grey);--mod-icon-shape:var(--ds-global-color-grey-5)}:host(.is-tile-green){--mod-icon-tile-color-background:var(--ds-icon-tile-color-green)}:host(.is-tile-red){--mod-icon-tile-color-background:var(--ds-icon-tile-color-red)}:host(.is-tile-yellow){--mod-icon-tile-color-background:var(--ds-icon-tile-color-yellow)}:host(.has-shape-circle),:host(.has-shape-triangle){--mod-icon-color:white}:host(.has-shape-triangle){--mod-icon-inner-mt:2px}:host(.has-shape-circle),:host(.has-shape-triangle){--mod-icon-size:var(--ds-icon-size-base);--mod-icon-inner-size:calc(var(--ds-icon-size-base) * 0.6)}:host(.has-shape-circle.is-md),:host(.has-shape-triangle.is-md){--mod-icon-size:var(--ds-icon-size-md);--mod-icon-inner-size:calc(var(--ds-icon-size-md) * 0.6)}:host(.has-shape-circle.is-lg),:host(.has-shape-triangle.is-lg){--mod-icon-size:var(--ds-icon-size-lg);--mod-icon-inner-size:calc(var(--ds-icon-size-lg) * 0.6)}:host(.has-shape-circle.is-xl),:host(.has-shape-triangle.is-xl){--mod-icon-size:var(--ds-icon-size-xl);--mod-icon-inner-size:calc(var(--ds-icon-size-xl) * 0.6)}:host(.has-shape-circle.is-2xl),:host(.has-shape-triangle.is-2xl){--mod-icon-size:var(--ds-icon-size-2xl);--mod-icon-inner-size:calc(var(--ds-icon-size-2xl) * 0.6)}:host(.has-shape-circle)::before{content:"";-webkit-mask-image:url(\'data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M23.8995 4.10051C21.9416 2.14257 19.447 0.809205 16.7313 0.269012C14.0155 -0.271181 11.2006 0.00606573 8.64244 1.06569C6.08426 2.12532 3.89777 3.91973 2.35943 6.22202C0.821087 8.52431 -3.3718e-07 11.2311 0 14C1.6859e-07 16.769 0.821085 19.4757 2.35943 21.778C3.89777 24.0803 6.08426 25.8747 8.64244 26.9343C11.2006 27.994 14.0155 28.2712 16.7313 27.731C19.447 27.1908 21.9416 25.8575 23.8995 23.8995C26.525 21.274 28 17.7131 28 14C28 10.287 26.525 6.72602 23.8995 4.10051Z" fill="black"/></svg>\');mask-image:url(\'data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M23.8995 4.10051C21.9416 2.14257 19.447 0.809205 16.7313 0.269012C14.0155 -0.271181 11.2006 0.00606573 8.64244 1.06569C6.08426 2.12532 3.89777 3.91973 2.35943 6.22202C0.821087 8.52431 -3.3718e-07 11.2311 0 14C1.6859e-07 16.769 0.821085 19.4757 2.35943 21.778C3.89777 24.0803 6.08426 25.8747 8.64244 26.9343C11.2006 27.994 14.0155 28.2712 16.7313 27.731C19.447 27.1908 21.9416 25.8575 23.8995 23.8995C26.525 21.274 28 17.7131 28 14C28 10.287 26.525 6.72602 23.8995 4.10051Z" fill="black"/></svg>\');-webkit-mask-size:cover;mask-size:cover;background:var(--_icon-shape);position:absolute;width:calc(100% - 6px);height:calc(100% - 6px);margin:2px}:host(.has-shape-triangle)::before{content:"";-webkit-mask-image:url("data:image/svg+xml;charset=UTF-8, <svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 14 14\'> <path fill=\'black\' d=\'M7 .006a1.5 1.5 0 0 0-1.335.816l-.002.004-5.5 10.999a1.503 1.503 0 0 0 .606 1.983 1.5 1.5 0 0 0 .73.192h11.003a1.5 1.5 0 0 0 1.335-2.174l-5.5-11-.002-.004A1.5 1.5 0 0 0 7 .006\'/> </svg>");mask-image:url("data:image/svg+xml;charset=UTF-8, <svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 14 14\'> <path fill=\'black\' d=\'M7 .006a1.5 1.5 0 0 0-1.335.816l-.002.004-5.5 10.999a1.503 1.503 0 0 0 .606 1.983 1.5 1.5 0 0 0 .73.192h11.003a1.5 1.5 0 0 0 1.335-2.174l-5.5-11-.002-.004A1.5 1.5 0 0 0 7 .006\'/> </svg>");-webkit-mask-size:cover;mask-size:cover;background:var(--_icon-shape);position:absolute;width:calc(100% - 6px);height:calc(100% - 6px);margin:2px}'}},[1,"ds-icon",{name:[513],svg:[1],src:[1],size:[513],color:[1],shape:[1],tile:[4],tileColor:[1,"tile-color"],inline:[4],inverted:[4],turn:[4],shadow:[4],disabled:[4],invalid:[4],icons:[32],svgContent:[32],configChanged:[64]}]);function Xe(){"undefined"!=typeof customElements&&["ds-icon"].forEach((t=>{"ds-icon"===t&&(customElements.get(o(t))||customElements.define(o(t),Ke))}))}r([a("icon"),l("design:type",Function),l("design:paramtypes",[Function]),l("design:returntype",void 0)],Ke.prototype,"createLogger",null),r([h("string"),l("design:type",String)],Ke.prototype,"name",void 0),r([h("string"),l("design:type",String)],Ke.prototype,"svg",void 0),r([h("string"),l("design:type",String)],Ke.prototype,"src",void 0),r([m(["xs","sm","md","lg","xl","2xl","3xl","","xsmall","x-small","small","medium","large","x-large","xx-large"]),l("design:type",Object)],Ke.prototype,"size",void 0),r([m(["auto","blue","light-blue","success","success-dark","success-darker","danger","danger-dark","danger-darker","info","warning","warning-dark","warning-darker","white","grey","grey-light","grey-dark","primary","primary-light","primary-dark",""]),l("design:type",Object)],Ke.prototype,"color",void 0),r([m(["","triangle","circle"]),l("design:type",String)],Ke.prototype,"shape",void 0),r([h("boolean"),l("design:type",Boolean)],Ke.prototype,"tile",void 0),r([m(["purple","red","yellow","green"]),l("design:type",String)],Ke.prototype,"tileColor",void 0),r([h("boolean"),l("design:type",Boolean)],Ke.prototype,"inline",void 0),r([h("boolean"),l("design:type",Boolean)],Ke.prototype,"inverted",void 0),r([h("boolean"),l("design:type",Boolean)],Ke.prototype,"turn",void 0),r([h("boolean"),l("design:type",Boolean)],Ke.prototype,"shadow",void 0),r([h("boolean"),l("design:type",Boolean)],Ke.prototype,"disabled",void 0),r([h("boolean"),l("design:type",Boolean)],Ke.prototype,"invalid",void 0),r([p(),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],Ke.prototype,"configChanged",null);export{Ke as I,R as a,I as b,L as c,Xe as d,B as e,D as f,j as r,Jt as s}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{h as e,e as l}from"./p-
|
|
4
|
+
import{h as e,e as l}from"./p-WO0X5Vmy.js";import{a}from"./p-DYfTMCkl.js";import{I as i}from"./p-C7I7OlaM.js";const r=(r,s)=>{var n;const t=null!==(n=r.inputId)&&void 0!==n?n:"input",d="fieldset"===r.role?"group":void 0,o="fieldset"===r.role?"fieldset":"div";return e(l,{class:Object.assign({"ds-field ":!0,"is-disabled":!!r.disabled,"is-danger":"danger"===r.color||!!r.invalid,"is-success":"success"===r.color&&!r.invalid,"is-warning":"warning"===r.color&&!r.invalid},r.cssClasses)},e(o,{id:"inner",part:"inner",role:d,"aria-disabled":a(r.disabled),"aria-invalid":a(r.invalid),"aria-labelledby":"label","aria-describedby":"description",onClick:e=>{var l;return null===(l=r.onClick)||void 0===l?void 0:l.call(r,e)}},r.label&&("fieldset"===r.role?e("legend",{part:"label",id:"label"},e("slot",{name:"label"},r.label),!r.required&&e("span",null,i[r.language].optional||"")):e("label",{htmlFor:t,part:"label",id:"label"},e("slot",{name:"label"},r.label),!r.required&&e("span",null,i[r.language].optional||""))),e("div",{id:"container",part:"control"},e("slot",{name:"start"}),s,e("slot",{name:"end"}),!0===r.loading&&e("ds-spinner",{small:!0,variation:"circle",color:r.disabled?"white":"blue"})),r.label&&e("span",{id:"description",part:"description",role:r.invalid&&r.invalidText?"alert":void 0},r.invalid&&r.invalidText&&e("ds-icon",{name:"alert"}),e("slot",{name:"description"},r.invalid&&r.invalidText?r.invalidText:r.description))))};export{r as F}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{d as e}from"./p-
|
|
4
|
+
import{d as e}from"./p-WO0X5Vmy.js";const t={components:[],event:!1,lifecycle:!1,render:!1,custom:!1};function n(n="unknown"){return function(c){const{connectedCallback:o,disconnectedCallback:r,render:i,componentDidLoad:s,createLogger:f}=c,l=(n=>{const c=(c,o,...r)=>{const i=(()=>{let n=t;return e.hasWindow&&window.DesignSystem&&window.DesignSystem.config&&window.DesignSystem.config.logger&&(n=window.DesignSystem.config.logger),n})();i.components.includes(n)&&i[c]&&console.log(o,...r)};return{custom:(e,...t)=>c("custom",` ➡️ [${n}] - ${e}`,...t),lifecycle:(e,...t)=>c("lifecycle",`${"connectedCallback"===e?"🟢":"disconnectedCallback"===e?"🔴":"componentDidLoad"===e?"🏁":" ➡️"} [${n}] - (${e})`,...t),event:(e,...t)=>c("event",`🔥 [${n}] - (${e})`,...t),render:(...e)=>c("render",`🖌️ [${n}] - (render)`,...e)}})(n);c.connectedCallback=function(){l.lifecycle("connectedCallback",this);const e=Object.keys(this).filter((e=>e.startsWith("ds"))).filter((e=>"object"==typeof this[e]));for(let t=0;t<e.length;t++){const n=e[t],c=this[n];this[n]={emit:(...e)=>(l.event(n,this,...e),c.emit.call(this,...e))}}return f.call(this,l.custom),o&&o.call(this)},c.disconnectedCallback=function(){return l.lifecycle("disconnectedCallback",this),r&&r.call(this)},c.componentDidLoad=function(){return l.lifecycle("componentDidLoad",this),s&&s.call(this)},c.render=function(){return l.render(this),i.call(this)}}}function c(e,t,n,c){var o,r=arguments.length,i=r<3?t:null===c?c=Object.getOwnPropertyDescriptor(t,n):c;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,c);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(i=(r<3?o(i):r>3?o(t,n,i):o(t,n))||i);return r>3&&i&&Object.defineProperty(t,n,i),i}function o(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}"function"==typeof SuppressedError&&SuppressedError;export{n as L,c as _,o as a}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{d as t}from"./p-
|
|
4
|
+
import{d as t}from"./p-WO0X5Vmy.js";class i{get isPortrait(){return!(!t.hasWindow||!window.matchMedia)&&window.matchMedia("(orientation: portrait)").matches}get isLandscape(){return!t.hasWindow||!window.matchMedia||window.matchMedia("(orientation: landscape)").matches}toObject(){return{landscape:this.isLandscape,portrait:this.isPortrait}}}class r{constructor(){this.orientation=new i}get isMobile(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|OperaMini/i.test(t.userAgent)}get hasTouchScreen(){return!(!t.hasWindow||!t.hasNavigator||!("ontouchstart"in window)&&!navigator.msMaxTouchPoints)}}const n=new r;export{r as D,n as d}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
import{p as s,H as a,f as i,h as t,e,t as r}from"./p-WO0X5Vmy.js";import{_ as o,L as d,a as n}from"./p-J0mxIuTt.js";import{w as c}from"./p-BgzU1loG.js";import{S as l}from"./p-3Mi9vpmB.js";import{d as h}from"./p-DSeYzuO7.js";import{d as p}from"./p-DY0y8uLL.js";import{d as m}from"./p-Du7QOHtz.js";import{d as b}from"./p-qaSW94OG.js";import{T as u}from"./p-DAYd9ty0.js";import{O as g}from"./p-BhbWmCTu.js";import{L as f}from"./p-DIK6Zkg6.js";const w=s(class extends a{constructor(s){super(),!1!==s&&this.__registerHost(),this.__attachShadow(),this.dsWillPresent=i(this,"dsWillPresent"),this.dsDidPresent=i(this,"dsDidPresent"),this.dsWillDismiss=i(this,"dsWillDismiss"),this.dsDidDismiss=i(this,"dsDidDismiss"),this.scrollHandler=new l,this.transitionQueue=Promise.resolve(),this.animated=!0,this.isOpen=!1,this.open=!1,this.closable=!0,this.backdropDismiss=!0,this.label="",this.container="default",this.handleCancel=s=>{s.preventDefault(),this.closable&&(this.open=!1)},this.handleNativeClose=()=>{var s;this.open&&(null===(s=this.dialogEl)||void 0===s||s.showModal())},this.handleBackdropClick=s=>{this.backdropDismiss&&s.target===this.dialogEl&&(this.open=!1)},this.handleCloseClick=()=>{this.open=!1}}createLogger(s){this.log=s}openChanged(s){s?this.runOpen():this.runClose()}connectedCallback(){this.scrollHandler.connect()}componentDidLoad(){var s,a;null===(s=this.dialogEl)||void 0===s||s.addEventListener("cancel",this.handleCancel),null===(a=this.dialogEl)||void 0===a||a.addEventListener("close",this.handleNativeClose),this.open&&this.runOpen()}disconnectedCallback(){var s,a;null===(s=this.dialogEl)||void 0===s||s.removeEventListener("cancel",this.handleCancel),null===(a=this.dialogEl)||void 0===a||a.removeEventListener("close",this.handleNativeClose),this.scrollHandler.disconnect()}async present(){this.open=!0}async dismiss(){this.open=!1}async configChanged(s){this.animated=s.animated}runOpen(){this.transitionQueue=this.transitionQueue.then((()=>this.doOpen())).catch((()=>{}))}runClose(){this.transitionQueue=this.transitionQueue.then((()=>this.doClose())).catch((()=>{}))}async doOpen(){var s,a;(null===(s=this.dialogEl)||void 0===s?void 0:s.open)||(this.dsWillPresent.emit(),null===(a=this.dialogEl)||void 0===a||a.showModal(),this.scrollHandler.disable(),this.isOpen=!0,this.animated&&await c(300),this.dsDidPresent.emit())}async doClose(){var s,a;(null===(s=this.dialogEl)||void 0===s?void 0:s.open)&&(this.dsWillDismiss.emit(),this.isOpen=!1,this.animated&&await c(300),null===(a=this.dialogEl)||void 0===a||a.close(),this.scrollHandler.enable(),this.dsDidDismiss.emit())}render(){return t(e,{key:"bf8f75a23cda49f75931b8d2d61134268aa87024",class:{"is-open":this.isOpen,"is-animated":this.animated}},t("dialog",{key:"c84019c7626898f7d464422690654ff387840da3",part:"dialog",ref:s=>this.dialogEl=s,"aria-label":this.label||void 0,onClick:this.handleBackdropClick},t("div",{key:"5a4f1b3d5415ba267e8f0fdd632b0be12a36b569",class:{container:!0,"is-fluid":"fluid"===this.container,"is-compact":"compact"===this.container}},this.closable&&t("ds-close",{key:"aaabb4ab6de152c3d21947a482aa0e0c3fccd82e",part:"close",onClick:this.handleCloseClick}),t("slot",{key:"ef27b510ca776a39a56904b00661565101599dfe"}))))}get el(){return this}static get watchers(){return{open:[{openChanged:0}]}}static get style(){return":host{--_drawer-background:var(--drawer-background, var(--mod-drawer-background, var(--ds-drawer-background)));--_drawer-radius:var(--drawer-radius, var(--mod-drawer-radius, var(--ds-drawer-radius)));--_drawer-max-height:var(--drawer-max-height, var(--mod-drawer-max-height, var(--ds-drawer-max-height)));--_drawer-padding:var(--drawer-padding, var(--mod-drawer-padding, var(--ds-drawer-padding)));--_drawer-backdrop-opacity:var(--drawer-backdrop-opacity, var(--mod-drawer-backdrop-opacity, var(--ds-backdrop-opacity)));display:contents}:host dialog{all:unset;-webkit-box-sizing:border-box;box-sizing:border-box;position:fixed;bottom:0;left:0;right:0;width:100%;max-height:var(--_drawer-max-height);overflow-y:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;opacity:0;-webkit-transform:translateY(100%);transform:translateY(100%);pointer-events:none}:host(.is-open) dialog{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);pointer-events:auto}:host(.is-animated) dialog{-webkit-transition:opacity 300ms ease,-webkit-transform 300ms ease;transition:opacity 300ms ease,-webkit-transform 300ms ease;transition:opacity 300ms ease,transform 300ms ease;transition:opacity 300ms ease,transform 300ms ease,-webkit-transform 300ms ease}:host dialog::-webkit-backdrop{background-color:rgba(0,7,57,.5);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);opacity:var(--_drawer-backdrop-opacity)}:host dialog::-ms-backdrop{background-color:rgba(0,7,57,.5);backdrop-filter:blur(4px);opacity:var(--_drawer-backdrop-opacity)}:host dialog::backdrop{background-color:rgba(0,7,57,.5);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);opacity:var(--_drawer-backdrop-opacity)}:host .container ds-close{position:absolute;top:1rem;right:1rem}:host .container{-ms-flex:1;flex:1;width:100%;margin:0 auto;max-width:var(--ds-alias-container-width-base);background:var(--_drawer-background);border-radius:var(--_drawer-radius) var(--_drawer-radius) 0 0;padding:var(--_drawer-padding);position:relative}:host .container.is-fluid{max-width:var(--ds-alias-container-width-fluid)}:host .container.is-compact{max-width:var(--ds-alias-container-width-compact)}@media (prefers-reduced-motion: reduce){:host(.is-animated) dialog{-webkit-transition:none !important;transition:none !important}}"}},[257,"ds-drawer",{open:[1540],closable:[4],backdropDismiss:[4,"backdrop-dismiss"],label:[1],container:[1],animated:[32],isOpen:[32],present:[64],dismiss:[64],configChanged:[64]},void 0,{open:[{openChanged:0}]}]);function v(){"undefined"!=typeof customElements&&["ds-drawer","ds-button","ds-close","ds-icon","ds-spinner"].forEach((s=>{switch(s){case"ds-drawer":customElements.get(r(s))||customElements.define(r(s),w);break;case"ds-button":customElements.get(r(s))||h();break;case"ds-close":customElements.get(r(s))||p();break;case"ds-icon":customElements.get(r(s))||m();break;case"ds-spinner":customElements.get(r(s))||b()}}))}o([d("drawer"),n("design:type",Function),n("design:paramtypes",[Function]),n("design:returntype",void 0)],w.prototype,"createLogger",null),o([u("boolean"),n("design:type",Boolean)],w.prototype,"open",void 0),o([u("boolean"),n("design:type",Boolean)],w.prototype,"closable",void 0),o([u("boolean"),n("design:type",Boolean)],w.prototype,"backdropDismiss",void 0),o([u("string"),n("design:type",String)],w.prototype,"label",void 0),o([g(["default","fluid","compact"]),n("design:type",String)],w.prototype,"container",void 0),o([f(),n("design:type",Function),n("design:paramtypes",[Object]),n("design:returntype",Promise)],w.prototype,"configChanged",null);export{w as D,v as d}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
class t{get width(){return e.hasWindow?window.innerWidth:0}get height(){return e.hasWindow?window.innerHeight:0}}const e=new class{constructor(){this.window=new t}get isSafari(){return/^((?!chrome|android).)*safari/i.test(this.userAgent)}get hasWindow(){return"undefined"!=typeof window}get hasNavigator(){return"undefined"!=typeof navigator}get hasDocument(){return"undefined"!=typeof document}get userAgent(){var t;return this.hasWindow&&this.hasNavigator&&null!==(t=navigator.userAgent)&&void 0!==t?t:""}},n="/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button,input,select{margin:0}img,video{height:auto;max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}:host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}";function o(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 s,i=(t,e)=>{var n;Object.entries(null!=(n=e.o.t)?n:{}).map((([n,[s]])=>{if(31&s||32&s){const s=t[n],i=o(Object.getPrototypeOf(t),n,!0)||Object.getOwnPropertyDescriptor(t,n);i&&Object.defineProperty(t,n,{get(){return i.get.call(this)},set(t){i.set.call(this,t)},configurable:!0,enumerable:!0}),e.i.has(n)?t[n]=e.i.get(n):void 0!==s&&(t[n]=s)}}))},l=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},r=(t,e)=>e in t,c=(t,e)=>(0,console.error)(t,e),f=new Map,u="http://www.w3.org/1999/xlink",a=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],d="undefined"!=typeof window?window:{},h=d.HTMLElement||class{},b={l:0,u:"",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)},p=t=>{Object.assign(b,t)},v=(()=>{var t;let e=!1;try{null==(t=d.document)||t.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(t){}return e})(),g=(()=>{try{return!!d.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),m=!!g&&(()=>!!d.document&&Object.getOwnPropertyDescriptor(d.document.adoptedStyleSheets,"length").writable)(),y=!1,w=[],$=[],j=(t,e)=>n=>{t.push(n),y||(y=!0,e&&4&b.l?N(S):b.raf(S))},O=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){c(t)}t.length=0},S=()=>{O(w),O($),(y=w.length>0)&&b.raf(S)},N=t=>Promise.resolve(undefined).then(t),x=j($,!0),k=t=>{const e=new URL(t,b.u);return e.origin!==d.location.origin?e.href:e.pathname},C=t=>b.u=t;function E(){var t;const e=this.attachShadow({mode:"open"});if(void 0===s&&(s=null!=(t=function(t){if(!g)return;const e=new CSSStyleSheet;return e.replaceSync(t),e}(n))?t:null),s)m?e.adoptedStyleSheets.push(s):e.adoptedStyleSheets=[...e.adoptedStyleSheets,s];else if(!g){const t=document.createElement("style");t.innerHTML=n,e.prepend(t)}}var M=t=>{const e=tt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&A(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!L(t,z(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&tt(t,"childNodes").length&&M(t)}},_=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 A(t,e,n){let o,s=0,i=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!e||o["s-hn"]===e)&&(void 0===n||z(o)===n)&&(i.push(o),void 0!==n))return i;i=[...i,...A(o.childNodes,e,n)]}return i}var L=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)z(s)!==e||!n&&s["s-sr"]||o.push(s);return o},R=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,T=(t,e,n)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const o=document.createTextNode("");if(o["s-nr"]=t,!e["s-cr"]||!e["s-cr"].parentNode)return;const s=e["s-cr"].parentNode;tt(s,n?"prepend":"appendChild").call(s,o),t["s-ol"]=o,t["s-sh"]=e["s-hn"]},z=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function D(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function F(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"]=z(t)||"";return{slotNode:A(tt(e,"childNodes"),e.tagName,o)[0],slotName:o}}var B=t=>{if(t.__cloneNode)return;const e=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const n=this.shadowRoot&&true,o=e.call(this,!!n&&t);if(!n&&t){let t,e,n=0;const s=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],i=this.__childNodes||this.childNodes;for(;n<i.length;n++)t=i[n]["s-nr"],e=s.every((t=>!i[n][t])),t&&(o.__appendChild?o.__appendChild(t.cloneNode(!0)):o.appendChild(t.cloneNode(!0))),e&&o.appendChild(i[n].cloneNode(!0))}return o}},W=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=F(t,this);if(n){T(t,n);const o=L(n,e),s=o[o.length-1],i=tt(s,"parentNode"),l=tt(i,"insertBefore")(t,s.nextSibling);return D(n),M(this),l}return this.__appendChild(t)})},H=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&A(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void M(this)):this.__removeChild(t)})},P=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"]=z(e))||"",o=A(tt(this,"childNodes"),this.tagName,n)[0];if(o){T(e,o,!0);const t=L(o,n)[0],s=tt(t,"parentNode"),i=tt(s,"insertBefore")(e,tt(t,"nextSibling"));return D(o),i}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))})},U=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)}))})},q=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)}},V=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},I=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:o}=F(t,this),s=this.__childNodes?this.childNodes:_(this.childNodes);if(o){let i=!1;if(s.forEach((s=>{if(s!==e&&null!==e);else{if(i=!0,null===e||n!==e["s-sn"])return void this.appendChild(t);if(n===e["s-sn"]){T(t,o);const n=tt(e,"parentNode");tt(n,"insertBefore")(t,e),D(o)}}})),i)return t}const i=null==e?void 0:e.__parentNode;return i&&!this.isSameNode(i)?this.appendChild(t):this.__insertBefore(t,e)})},Y=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}},Z=t=>{X("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:_(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:_(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},G=t=>{class e extends Array{item(t){return this[t]}}X("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),X("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),X("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),X("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(..._(this.__childNodes)),t}})},J=t=>{t&&!t.__parentNode&&(X("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}}))},K=["children","nextElementSibling","previousElementSibling"],Q=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function X(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;K.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):Q.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function tt(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 et,nt,ot=new WeakMap,st=t=>"sc-"+t.h,it=t=>"object"==(t=typeof t)||"function"===t,lt=(t,e,...n)=>{let o=null,s=null,i=null,l=!1,r=!1;const c=[],f=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?f(o):null!=o&&"boolean"!=typeof o&&((l="function"!=typeof t&&!it(o))&&(o=String(o)),l&&r?c[c.length-1].p+=o:c.push(l?rt(null,o):o),r=l)};if(f(n),e){e.key&&(s=e.key),e.name&&(i=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,ft);const u=rt(t,null);return u.v=e,c.length>0&&(u.m=c),u.$=s,u.j=i,u},rt=(t,e)=>({l:0,O:t,p:null!=e?e:null,S:null,m:null,v:null,$:null,j:null}),ct={},ft={forEach:(t,e)=>t.map(ut).forEach(e),map:(t,e)=>t.map(ut).map(e).map(at)},ut=t=>({vattrs:t.v,vchildren:t.m,vkey:t.$,vname:t.j,vtag:t.O,vtext:t.p}),at=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),lt(t.vtag,e,...t.vchildren||[])}const e=rt(t.vtag,t.vtext);return e.v=t.vattrs,e.m=t.vchildren,e.$=t.vkey,e.j=t.vname,e},dt=t=>{if(!t)return;const e=Object.keys(t);if(0===e.length)return;let n=!1;for(const o of e){if(n)break;for(const e of t[o])if("string"==typeof e){n=!0;break}}if(!n)return t;const o={};for(const n of e)o[n]=t[n].map((t=>"string"==typeof t?{[t]:0}:t));return o},ht=(t,e,n)=>null==t||it(t)?t:4&e?(n&&"string"==typeof t||"false"!==t)&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?String(t):t,bt=t=>t,pt=(t,e)=>{const n=t;return{emit:t=>vt(n,e,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},vt=(t,e,n)=>{const o=b.ce(e,n);return t.dispatchEvent(o),o},gt=(t,e,n,o,s,i)=>{if(n===o)return;let c=r(t,e),f=e.toLowerCase();if("class"===e){const e=t.classList,s=yt(n);let i=yt(o);e.remove(...s.filter((t=>t&&!i.includes(t)))),e.add(...i.filter((t=>t&&!s.includes(t))))}else if("style"===e){for(const e in n)o&&null!=o[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in o)n&&o[e]===n[e]||(e.includes("-")?t.style.setProperty(e,o[e]):t.style[e]=o[e])}else if("key"===e);else if("ref"===e)o&&Ht(o,t);else if(t.__lookupSetter__(e)||"o"!==e[0]||"n"!==e[1]){if("a"===e[0]&&e.startsWith("attr:")){const n=e.slice(5);let s;{const e=l(t);if(e&&e.o&&e.o.t){const t=e.o.t[n];t&&t[1]&&(s=t[1])}}return s||(s=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==o||!1===o?!1===o&&""!==t.getAttribute(s)||t.removeAttribute(s):t.setAttribute(s,!0===o?"":o))}if("p"===e[0]&&e.startsWith("prop:")){const n=e.slice(5);try{t[n]=o}catch(t){}return}{const l=it(o);if((c||l&&null!==o)&&!s)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const s=null==o?"":o;"list"===e?c=!1:null!=n&&t[e]===s||("function"==typeof t.__lookupSetter__(e)?t[e]=s:t.setAttribute(e,s))}}catch(t){}let r=!1;f!==(f=f.replace(/^xlink\:?/,""))&&(e=f,r=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(r?t.removeAttributeNS(u,e):t.removeAttribute(e)):(!c||4&i||s)&&!l&&1===t.nodeType&&(o=!0===o?"":o,r?t.setAttributeNS(u,e,o):t.setAttribute(e,o))}}else if(e="-"===e[2]?e.slice(3):r(d,f)?f.slice(2):f[2]+e.slice(3),n||o){const s=e.endsWith(wt);e=e.replace($t,""),n&&b.rel(t,e,n,s),o&&b.ael(t,e,o,s)}},mt=/\s/,yt=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(mt):[]),wt="Capture",$t=new RegExp(wt+"$"),jt=(t,e,n)=>{const o=11===e.S.nodeType&&e.S.host?e.S.host:e.S,s=t&&t.v||{},i=e.v||{};for(const t of Ot(Object.keys(s)))t in i||gt(o,t,s[t],void 0,n,e.l);for(const t of Ot(Object.keys(i)))gt(o,t,s[t],i[t],n,e.l)};function Ot(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var St=!1,Nt=!1,xt=!1,kt=!1,Ct=[],Et=[],Mt=(t,e,n)=>{var o;const s=e.m[n];let i,l,r,c=0;if(St||(xt=!0,"slot"===s.O&&(s.l|=s.m?2:1)),null!=s.p)i=s.S=d.document.createTextNode(s.p);else if(1&s.l)i=s.S=d.document.createTextNode(""),jt(null,s,kt);else{if(kt||(kt="svg"===s.O),!d.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(i=s.S=d.document.createElementNS(kt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!St&&2&s.l?"slot-fb":s.O),kt&&"foreignObject"===s.O&&(kt=!1),jt(null,s,kt),s.m){const e="template"===s.O?i.content:i;for(c=0;c<s.m.length;++c)l=Mt(t,s,c),l&&e.appendChild(l)}"svg"===s.O?kt=!1:"foreignObject"===i.tagName&&(kt=!0)}return i["s-hn"]=nt,3&s.l&&(i["s-sr"]=!0,i["s-cr"]=et,i["s-sn"]=s.j||"",i["s-rf"]=null==(o=s.v)?void 0:o.ref,function(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:_(s.childNodes)).forEach((t=>{o===z(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}(i),r=t&&t.m&&t.m[n],r&&r.O===s.O&&t.S&&_t(t.S)),i},_t=t=>{b.l|=1;const e=t.closest(nt.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"]&&(Pt(e,t,null!=n?n:null),t["s-sh"]=void 0,xt=!0)}b.l&=-2},At=(t,e)=>{b.l|=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"]===nt&&n.push(e)}for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==nt&&o["s-ol"]&&(Pt(zt(o).parentNode,o,zt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,xt=!0),e&&At(o,e)}b.l&=-2},Lt=(t,e,n,o,s,i)=>{let l,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===nt&&(r=r.shadowRoot),"template"===n.O&&(r=r.content);s<=i;++s)o[s]&&(l=Mt(null,n,s),l&&(o[s].S=l,Pt(r,l,zt(e))))},Rt=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.S;Wt(e),t&&(Nt=!0,t["s-ol"]?t["s-ol"].remove():At(t,!0),t.remove())}}},Tt=(t,e,n=!1)=>t.O===e.O&&("slot"===t.O?t.j===e.j:n?(n&&!t.$&&e.$&&(t.$=e.$),!0):t.$===e.$),zt=t=>t&&t["s-ol"]||t,Dt=(t,e,n=!1)=>{const o=e.S=t.S,s=t.m,i=e.m,l=e.O,r=e.p;let c;null==r?(kt="svg"===l||"foreignObject"!==l&&kt,"slot"!==l||St||t.j!==e.j&&(e.S["s-sn"]=e.j||"",_t(e.S.parentElement)),jt(t,e,kt),null!==s&&null!==i?((t,e,n,o,s=!1)=>{let i,l,r=0,c=0,f=0,u=0,a=e.length-1,d=e[0],h=e[a],b=o.length-1,p=o[0],v=o[b];const g="template"===n.O?t.content:t;for(;r<=a&&c<=b;)if(null==d)d=e[++r];else if(null==h)h=e[--a];else if(null==p)p=o[++c];else if(null==v)v=o[--b];else if(Tt(d,p,s))Dt(d,p,s),d=e[++r],p=o[++c];else if(Tt(h,v,s))Dt(h,v,s),h=e[--a],v=o[--b];else if(Tt(d,v,s))"slot"!==d.O&&"slot"!==v.O||At(d.S.parentNode,!1),Dt(d,v,s),Pt(g,d.S,h.S.nextSibling),d=e[++r],v=o[--b];else if(Tt(h,p,s))"slot"!==d.O&&"slot"!==v.O||At(h.S.parentNode,!1),Dt(h,p,s),Pt(g,h.S,d.S),h=e[--a],p=o[++c];else{for(f=-1,u=r;u<=a;++u)if(e[u]&&null!==e[u].$&&e[u].$===p.$){f=u;break}f>=0?(l=e[f],l.O!==p.O?i=Mt(e&&e[c],n,f):(Dt(l,p,s),e[f]=void 0,i=l.S),p=o[++c]):(i=Mt(e&&e[c],n,c),p=o[++c]),i&&Pt(zt(d.S).parentNode,i,zt(d.S))}r>a?Lt(t,null==o[b+1]?null:o[b+1].S,n,o,c,b):c>b&&Rt(e,r,a)})(o,s,e,i,n):null!==i?(null!==t.p&&(o.textContent=""),Lt(o,null,e,i,0,i.length-1)):!n&&null!==s&&Rt(s,0,s.length-1),kt&&"svg"===l&&(kt=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.p!==r&&(o.data=r)},Ft=[],Bt=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(R(e,s)){let n=Ft.find((t=>t.N===e));Nt=!0,e["s-sn"]=e["s-sn"]||s,n?(n.N["s-sh"]=t["s-hn"],n.k=t):(e["s-sh"]=t["s-hn"],Ft.push({k:t,N:e})),e["s-sr"]&&Ft.map((t=>{R(t.N,e["s-sn"])&&(n=Ft.find((t=>t.N===e)),n&&!t.k&&(t.k=n.k))}))}else Ft.some((t=>t.N===e))||Ft.push({N:e})}1===t.nodeType&&Bt(t)}},Wt=t=>{t.v&&t.v.ref&&Ct.push((()=>t.v.ref(null))),t.m&&t.m.map(Wt)},Ht=(t,e)=>{Et.push((()=>t(e)))},Pt=(t,e,n,o)=>{if("string"==typeof e["s-sn"]){11!==t.getRootNode().nodeType&&J(e),t.insertBefore(e,n);const{slotNode:s}=F(e);return s&&!o&&D(s),e}return t.__insertBefore?t.__insertBefore(e,n):null==t?void 0:t.insertBefore(e,n)},Ut=(t,e,n=!1)=>{var o,s,i,l,r;const c=t.$hostElement$,f=t.o,u=t.C||rt(null,null);var a;const h=(a=e)&&a.O===ct?e:lt(null,null,e);if(nt=c.tagName,f.M&&(h.v=h.v||{},f.M.forEach((([t,e])=>{h.v[e]=c[t]}))),n&&h.v)for(const t of Object.keys(h.v))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(h.v[t]=c[t]);if(h.O=null,h.l|=4,t.C=h,h.S=u.S=c.shadowRoot||c,St=!(!(1&f.l)||128&f.l),et=c["s-cr"],Nt=!1,Dt(u,h,n),b.l|=1,xt){Bt(h.S);for(const t of Ft){const e=t.N;if(!e["s-ol"]&&d.document){const t=d.document.createTextNode("");t["s-nr"]=e,Pt(e.parentNode,e["s-ol"]=t,e,n)}}for(const t of Ft){const e=t.N,r=t.k;if(1===e.nodeType&&n&&(e["s-ih"]=null!=(o=e.hidden)&&o),r){const t=r.parentNode;let o=r.nextSibling;if(o&&1===o.nodeType){let n=null==(s=e["s-ol"])?void 0:s.previousSibling;for(;n;){let s=null!=(i=n["s-nr"])?i:null;if(s&&s["s-sn"]===e["s-sn"]&&t===(s.__parentNode||s.parentNode)){for(s=s.nextSibling;s===e||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){o=s;break}}n=n.previousSibling}}if((!o&&t!==(e.__parentNode||e.parentNode)||(e.__nextSibling||e.nextSibling)!==o)&&e!==o){if(Pt(t,e,o,n),8===e.nodeType&&e.nodeValue.startsWith("s-nt-")){const t=d.document.createTextNode(e.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=e["s-hn"],t["s-sn"]=e["s-sn"],t["s-sh"]=e["s-sh"],t["s-sr"]=e["s-sr"],t["s-ol"]=e["s-ol"],t["s-ol"]["s-nr"]=t,Pt(e.parentNode,t,e,n),e.parentNode.removeChild(e)}1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(l=e["s-ih"])&&l)}e&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===e.nodeType&&(e.hidden=!0)}}if(Nt&&M(h.S),b.l&=-2,Ft.length=0,!St&&!(1&f.l)&&c["s-cr"]){const t=h.S.__childNodes||h.S.childNodes;for(const e of t)if(e["s-hn"]!==nt&&!e["s-sh"])if(n&&null==e["s-ih"]&&(e["s-ih"]=null!=(r=e.hidden)&&r),1===e.nodeType)e.hidden=!0;else if(3===e.nodeType&&e.nodeValue.trim()){const t=d.document.createComment("s-nt-"+e.nodeValue);t["s-sn"]=e["s-sn"],Pt(e.parentNode,t,e,n),e.parentNode.removeChild(e)}}et=void 0,Ct.forEach((t=>t())),Ct.length=0,Et.forEach((t=>t())),Et.length=0},qt=(t,e)=>{if(e&&!t._&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t._=()=>{e["s-p"].splice(n-1,1),o()})))}},Vt=(t,e)=>{if(t.l|=16,4&t.l)return void(t.l|=512);qt(t,t.A);const n=()=>It(t,e);if(!e)return x(n);queueMicrotask((()=>{n()}))},It=(t,e)=>{const n=t.$hostElement$,o=n;if(!o)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return s=Xt(o,e?"componentWillLoad":"componentWillUpdate",void 0,n),s=Yt(s,(()=>Xt(o,"componentWillRender",void 0,n))),Yt(s,(()=>Gt(t,o,e)))},Yt=(t,e)=>Zt(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Zt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Gt=async(t,e,n)=>{var o;const s=t.$hostElement$,i=s["s-rc"];n&&(t=>{const e=t.o,n=t.$hostElement$,o=e.l,s=((t,e)=>{var n,o,s;const i=st(e),l=f.get(i);if(!d.document)return i;if(t=11===t.nodeType?t:d.document,l)if("string"==typeof l){let s,r=ot.get(t=t.head||t);if(r||ot.set(t,r=new Set),!r.has(i)){s=d.document.createElement("style"),s.textContent=l;const c=null!=(n=b.L)?n:function(){var t,e,n;return null!=(n=null==(e=null==(t=d.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?n:void 0}();if(null!=c&&s.setAttribute("nonce",c),!(1&e.l))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(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(g){const e=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(l),m?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=l+e.textContent:t.prepend(s)}else t.append(s);1&e.l&&t.insertBefore(s,null),4&e.l&&(s.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),r&&r.add(i)}}else{let e=ot.get(t);if(e||ot.set(t,e=new Set),!e.has(i)){const n=null!=(s=t.defaultView)?s:t.ownerDocument.defaultView;let o;if(l.constructor===n.CSSStyleSheet)o=l;else{o=new n.CSSStyleSheet;for(let t=0;t<l.cssRules.length;t++)o.insertRule(l.cssRules[t].cssText,t)}m?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],e.add(i)}}return i})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(t);Jt(t,e,s,n),i&&(i.map((t=>t())),s["s-rc"]=void 0);{const e=null!=(o=s["s-p"])?o:[],n=()=>Kt(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.l|=4,e.length=0)}},Jt=(t,e,n,o)=>{try{e=e.render(),t.l&=-17,t.l|=2,Ut(t,e,o)}catch(e){c(e,t.$hostElement$)}return null},Kt=t=>{const e=t.$hostElement$,n=e,o=t.A;Xt(n,"componentDidRender",void 0,e),64&t.l?Xt(n,"componentDidUpdate",void 0,e):(t.l|=64,te(e),Xt(n,"componentDidLoad",void 0,e),t.R(e),o||Qt()),t._&&(t._(),t._=void 0),512&t.l&&N((()=>Vt(t,!1))),t.l&=-517},Qt=()=>{N((()=>vt(d,"appload",{detail:{namespace:"design-system"}})))},Xt=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){c(t,o)}},te=t=>t.classList.add("hydrated"),ee=(t,e,n,o)=>{const s=l(t);if(!s)return;const i=t,r=s.i.get(e),f=s.l,u=i;n=ht(n,o.t[e][0],!!(64&o.l));const a=Number.isNaN(r)&&Number.isNaN(n);if(n!==r&&!a){if(s.i.set(e,n),o.T){const t=o.T[e];t&&t.map((t=>{try{const[[o,i]]=Object.entries(t);(128&f||1&i)&&(u?u[o](n,r,e):s.D.push((()=>{s.F[o](n,r,e)})))}catch(t){c(t,i)}}))}if(2&f){if(u.componentShouldUpdate&&!1===u.componentShouldUpdate(n,r,e)&&!(16&f))return;16&f||Vt(s,!1)}}},ne=(t,e,n)=>{var s,i;const r=t.prototype;64&e.l&&1&n&&a.forEach((t=>{const e=r[t];Object.defineProperty(r,t,{value(...n){var o;const s=l(this),i=this;i?"function"==typeof e&&e.call(i,...n):null==(o=null==s?void 0:s.B)||o.then((e=>{const o=e[t];"function"==typeof o&&o.call(e,...n)}))}})}));{t.watchers&&!e.T&&(e.T=dt(t.watchers)),t.deserializers&&!e.W&&(e.W=t.deserializers),t.serializers&&!e.H&&(e.H=t.serializers);const n=Object.entries(null!=(s=e.t)?s:{});n.map((([t,[n]])=>{if(31&n||32&n){const{get:s,set:i}=o(r,t)||{};s&&(e.t[t][0]|=2048),i&&(e.t[t][0]|=4096),Object.defineProperty(r,t,{get(){return s?s.apply(this):(e=t,l(this).i.get(e));var e},configurable:!0,enumerable:!0}),Object.defineProperty(r,t,{set(o){const s=l(this);if(s){if(i)return void 0===(32&n?this[t]:s.$hostElement$[t])&&s.i.get(t)&&(o=s.i.get(t)),i.apply(this,[ht(o,n,!!(64&e.l))]),void ee(this,t,o=32&n?this[t]:s.$hostElement$[t],e);ee(this,t,o,e)}}})}}));{const o=new Map;r.attributeChangedCallback=function(t,s,i){b.jmp((()=>{var c;const f=o.get(t),u=l(this);if(this.hasOwnProperty(f),r.hasOwnProperty(f)&&"number"==typeof this[f]&&this[f]==i)return;if(null==f){const n=null==u?void 0:u.l;if(u&&n&&!(8&n)&&i!==s){const o=this,l=null==(c=e.T)?void 0:c[t];null==l||l.forEach((e=>{const[[l,r]]=Object.entries(e);null!=o[l]&&(128&n||1&r)&&o[l].call(o,i,s,t)}))}return}const a=n.find((([t])=>t===f)),d=a&&4&a[1][0],h=d&&null===i&&void 0===this[f];d&&(i=null!==i&&"false"!==i);const b=Object.getOwnPropertyDescriptor(r,f);h||i==this[f]||b.get&&!b.set||(this[f]=i)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=e.T)?i:{}),...n.filter((([t,e])=>31&e[0])).map((([t,n])=>{var s;const i=n[1]||t;return o.set(i,t),512&n[0]&&(null==(s=e.M)||s.push([t,i])),i}))]))}}return t},oe=(t,e)=>{const n={l:e[0],h:e[1]};try{n.t=e[2],n.P=e[3],n.T=dt(t.T),n.W=t.W,n.H=t.H,n.M=[],!(1&n.l)&&256&n.l?(B(o=t.prototype),W(o),U(o),P(o),Y(o),q(o),V(o),I(o),Z(o),G(o),H(o)):B(t.prototype);const s=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,e)=>{const n={l:0,$hostElement$:t,o:e,i:new Map,U:new Map};n.B=new Promise((t=>n.R=t)),t["s-p"]=[],t["s-rc"]=[];const o=n;t.__stencil__getHostRef=()=>o,512&e.l&&i(t,n)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=l(this);if(!t)return;se(this,t,n.P),this.__hasHostListenerAttached=!0}(t=>{if(!(1&b.l)){const e=l(t);if(!e)return;const n=e.o,o=()=>{};if(1&e.l)se(t,e,n.P),(null==e?void 0:e.F)||(null==e?void 0:e.B)&&e.B.then((()=>{}));else{e.l|=1,12&n.l&&(t=>{if(!d.document)return;const e=t["s-cr"]=d.document.createComment("");e["s-cn"]=!0,Pt(t,e,t.firstChild)})(t);{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){qt(e,e.A=n);break}}n.t&&Object.entries(n.t).map((([e,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];delete t[e],t[e]=n}})),N((()=>(async(t,e,n)=>{let o;try{if(!(32&e.l)&&(e.l|=32,o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.l|=128)),o&&o.style)){let t;"string"==typeof o.style&&(t=o.style);const e=st(n);if(!f.has(e)){const o=()=>{};((t,e,n)=>{let o=f.get(t);g&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,f.set(t,o)})(e,t,!!(1&n.l)),o()}}const s=e.A,i=()=>Vt(e,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()}catch(n){c(n,t),e._&&(e._(),e._=void 0),e.R&&e.R(t)}})(t,e,n)))}o()}})(this),s&&s.call(this)},disconnectedCallback(){(async t=>{if(!(1&b.l)){const e=l(t);(null==e?void 0:e.q)&&(e.q.map((t=>t())),e.q=void 0)}ot.has(t)&&ot.delete(t),t.shadowRoot&&ot.has(t.shadowRoot)&&ot.delete(t.shadowRoot)})(this),r&&r.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${n.h}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else E.call(this,n)}}),Object.defineProperty(t,"is",{value:n.h,configurable:!0}),ne(t,n,3)}catch(e){return c(e),t}var o},se=(t,e,n)=>{n&&d.document&&n.map((([n,o,s])=>{const i=le(d.document,t,n),l=ie(e,s),r=re(n);b.ael(i,o,l,r),(e.q=e.q||[]).push((()=>b.rel(i,o,l,r)))}))},ie=(t,e)=>n=>{try{t.$hostElement$[e](n)}catch(e){c(e,t.$hostElement$)}},le=(t,e,n)=>4&n?t:8&n?d:e,re=t=>v?{passive:!!(1&t),capture:!!(2&t)}:!!(2&t),ce=t=>b.L=t,fe=t=>Object.assign(b,t),ue=new WeakMap;function ae(t,e){let n=ue.get(e);n||(n={l:0,o:{l:0,h:e.tagName},$hostElement$:e},ue.set(e,n)),Ut(n,t)}function de(t){return t}export{h as H,C as a,ce as b,fe as c,e as d,ct as e,pt as f,k as g,lt as h,bt as i,oe as p,ae as r,p as s,de as t}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
import{g as r}from"./p-Duhf3ymL.js";import{e as t,c as n}from"./p-Du7QOHtz.js";var u,e,o,f,i=r(function(){if(f)return o;f=1;var r=function(){if(e)return u;e=1;var r=t(),o=n();return u=function(t){return"number"==typeof t||o(t)&&"[object Number]"==r(t)}}();return o=function(t){return r(t)&&t!=+t}}());export{i}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{
|
|
4
|
+
import{k as t,p as s,q as i}from"./p-BgzU1loG.js";import{L as e,S as h}from"./p-DcSNuA8W.js";import{d as o}from"./p-WO0X5Vmy.js";import{d as r}from"./p-UCeQ1JCs.js";class n{constructor(t={}){this.previousWidth=o.window.width,this.previousHeight=o.window.height,this.previousIsLandscape=this.isLandscape,this.options={onlyListenToWidthChanges:!1},this.options=Object.assign(Object.assign({},this.options),t)}async hasResized(){if(r.hasTouchScreen){if(!this.sameWidth||this.previousIsLandscape!==this.isLandscape)return this.resetPreviousValues(),!0}else if(this.options.onlyListenToWidthChanges){if(!this.sameWidth)return this.resetPreviousValues(),!0}else if(!this.sameWidth||!this.sameHeight)return this.resetPreviousValues(),!0;return!1}get isLandscape(){return o.window.width>o.window.height}get sameWidth(){return this.previousWidth===o.window.width}get sameHeight(){return this.previousHeight===o.window.height}resetPreviousValues(){this.previousWidth=o.window.width,this.previousHeight=o.window.height,this.previousIsLandscape=this.isLandscape}}class u extends e{constructor(){super(...arguments),this.resizeHandler=new n({onlyListenToWidthChanges:!0}),this.debouncedNotify=t((()=>this.notify()),100),this.notify=async()=>{await this.resizeHandler.hasResized()&&super.notify(void 0)}}connect(t){super.connect(t),this.el&&s(this.el,"resize",this.debouncedNotify,{passive:!0})}disconnect(){super.disconnect(),this.el&&i(this.el,"resize",this.debouncedNotify)}}const p=t=>t.innerWidth<769,a=t=>{const s=t.innerWidth;return s>=769&&s<1024},c=t=>p(t)||a(t),l={mobile:p,tablet:a,touch:c,desktop:t=>!c(t),desktopLg:t=>{const s=t.innerWidth;return s>=1280&&s<1440},desktopXl:t=>{const s=t.innerWidth;return s>=1440&&s<1920},desktop2Xl:t=>t.innerWidth>=1920};class d{constructor(){this.breakpoints=[],o.hasWindow&&(this.win=window,this.win.DesignSystem=this.win.DesignSystem||{},this.detect())}get isMobile(){return this.includes("mobile")}get isTablet(){return this.includes("tablet")}get isTouch(){return this.includes("touch")}get isDesktop(){return this.includes("desktop")}get isDesktopLg(){return this.includes("desktopLg")}get isDesktopXl(){return this.includes("desktopXl")}get isDesktop2Xl(){return this.includes("desktop2Xl")}includes(t){var s;return this.detect(),!!(null===(s=this.breakpoints)||void 0===s?void 0:s.includes(t))}detect(){return this.win&&(this.breakpoints=Object.keys(l).filter((t=>l[t](this.win))),this.win.DesignSystem.breakpoints=this.breakpoints,this.win.DesignSystem.platforms=this.breakpoints),this.breakpoints}toObject(){return{mobile:this.breakpoints.includes("mobile"),tablet:this.breakpoints.includes("tablet"),touch:this.breakpoints.includes("touch"),desktop:this.breakpoints.includes("desktop"),desktopLg:this.breakpoints.includes("desktopLg"),desktopXl:this.breakpoints.includes("desktopXl"),desktop2Xl:this.breakpoints.includes("desktop2Xl")}}}const k=new d,g={mobile:!1,tablet:!1,touch:!1,desktop:!1,desktopLg:!1,desktopXl:!1,desktop2Xl:!1};class b extends h{constructor(){super((t=>t.listenToBreakpoint(this.state))),this.state=g,this.listener=new u,this.debouncedNotify=t((()=>this.notify()),50),this.listener.connect(),this.listener.add((()=>{k.detect();const t=k.toObject();this.isEqual(t)||(this.state=t,this.debouncedNotify())}))}attach(t){super.attach(t),k.detect();const s=k.toObject();this.isEqual(s)||(this.state=s,this.debouncedNotify())}isEqual(t){return JSON.stringify(this.state)===JSON.stringify(t)}}const m=new b;export{b as D,u as W,m as a,d as b,k as d,g as i}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
import{p as e,H as i,h as r,e as n,t}from"./p-WO0X5Vmy.js";import{_ as s,L as o,a}from"./p-J0mxIuTt.js";import{h as d}from"./p-BrIcCcce.js";import{r as c,m as l}from"./p-BgzU1loG.js";import{d as p}from"./p-CvaNxQtw.js";import{O as m}from"./p-BhbWmCTu.js";import{T as h}from"./p-DAYd9ty0.js";import{L as g}from"./p-DIK6Zkg6.js";const v={de:{loading:"Laden"},en:{loading:"Loading"},fr:{loading:"Chargement"},it:{loading:"Caricamento"},nl:{loading:"Laden"},es:{loading:"Cargando"},pl:{loading:"Ładowanie"},pt:{loading:"Carregando"},sv:{loading:"Laddar"},fi:{loading:"Ladataan"}},b=e(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.animated=p.animated,this.language=p.language,this.region=p.region,this.color="blue",this.deactivated=!1,this.inverted=!1,this.size="",this.small=!1,this.label="",this.labelPosition="right",this.variation="logo",this.animate=async()=>{this.animated?(await this.load(),void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.shouldAnimate()&&(this.destroy(),this.currentRaf=c((async()=>{this.animationFunction&&this.innerEl&&this.animationFunction(this.innerEl,this.getColor())})))):this.destroy()},this.destroy=()=>{this.animationItem&&this.animationItem.destroy&&this.animationItem.destroy(),this.innerEl.innerHTML=""},this.shouldAnimate=()=>"logo"===this.variation&&"undefined"!=typeof window&&void 0!==this.animationFunction&&!this.deactivated,this.load=async()=>new Promise(((e,i)=>{if(this.animationFunction)return e();l((async()=>{import("./p-HDclecaJ.js").then((i=>{this.animationFunction=i.animate,e()})).catch(i)}))}))}createLogger(e){this.log=e}deactivatedChanged(e,i){e!==i&&(this.deactivated?this.destroy():this.animate())}variationChanged(e,i){e!==i&&("circle"===this.variation?this.destroy():this.animate())}componentDidLoad(){"logo"===this.variation?this.animate():this.destroy()}disconnectedCallback(){this.el&&this.innerEl&&!this.el.isConnected&&this.destroy()}async configChanged(e){this.animated=e.animated,this.language=e.language,this.region=e.region,!1===e.animated&&this.destroy()}getColor(){try{const e=this.el?getComputedStyle(this.el).getPropertyValue("--spinner-color").trim():"";if(e)return e}catch(e){}return this.inverted?"#ffffff":"#151f6d"}render(){let e=this.size;return!0===this.small&&(e="sm"),r(n,{key:"90ffeeb92884b2408cc07d2a3d254ae640bfba9f",role:"progressbar","aria-label":this.label||v[this.language].loading,class:{"is-animated":this.animated,"is-circle":"circle"===this.variation,"is-sm":"sm"===e,"is-white":"white"===this.color,"is-label-right":d(this.label)&&"right"===this.labelPosition,"is-label-bottom":d(this.label)&&"bottom"===this.labelPosition}},r("div",{key:"35831f8f32b083aef384956258f386ebb4de288c"},r("div",{key:"fad87eada8cabe36f7cfadc69767bb6251621226",id:"inner",part:"inner",ref:e=>this.innerEl=e})),d(this.label)&&r("span",{key:"f2f8a4f600fd5f1f53d54d7dec71578348520f2a",part:"label"},this.label))}get el(){return this}static get watchers(){return{deactivated:[{deactivatedChanged:0}],variation:[{variationChanged:0}]}}static get style(){return":host{--_spinner-position:var(--spinner-position, var(--mod-spinner-position, static));--_spinner-top:var(--spinner-top, var(--mod-spinner-top));--_spinner-right:var(--spinner-right, var(--mod-spinner-right));--_spinner-bottom:var(--spinner-bottom, var(--mod-spinner-bottom));--_spinner-left:var(--spinner-left, var(--mod-spinner-left));position:var(--_spinner-position);top:var(--_spinner-top);right:var(--_spinner-right);bottom:var(--_spinner-bottom);left:var(--_spinner-left);--_spinner-m:var(--spinner-m, var(--mod-spinner-m, 0));--_spinner-my:var(--spinner-my, var(--mod-spinner-my));--_spinner-mx:var(--spinner-mx, var(--mod-spinner-mx));--_spinner-ml:var(--spinner-ml, var(--mod-spinner-ml));--_spinner-mr:var(--spinner-mr, var(--mod-spinner-mr));--_spinner-mt:var(--spinner-mt, var(--mod-spinner-mt));--_spinner-mb:var(--spinner-mb, var(--mod-spinner-mb));margin:var(--_spinner-m);margin-inline:var(--_spinner-mx);margin-block:var(--_spinner-my);margin-left:var(--_spinner-ml);margin-right:var(--_spinner-mr);margin-top:var(--_spinner-mt);margin-bottom:var(--_spinner-mb);--_spinner-size:var(--spinner-size, var(--mod-spinner-size, var(--ds-spinner-size)));--_spinner-circle-size:var(--spinner-circle-size, var(--mod-spinner-circle-size, var(--ds-spinner-circle-size)));--_spinner-circle-border-width:var(--spinner-circle-border-width, var(--mod-spinner-circle-border-width, var(--ds-spinner-circle-border-width)));--_spinner-circle-color-border-background:var(--spinner-circle-color-border-background, var(--mod-spinner-circle-color-border-background, var(--ds-spinner-circle-color-background)));--_spinner-circle-color-border-progress:var(--spinner-circle-color-border-progress, var(--mod-spinner-circle-color-border-progress, var(--ds-spinner-circle-color-progress)))}:host{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none;user-drag:none}:host,:host>div{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-line-pack:center;align-content:center;text-align:center}:host svg{-webkit-transform:unset !important;transform:unset !important}:host(:not(.is-circle))>div{width:var(--_spinner-size)}:host(.is-circle) #inner{border-radius:50%;border-style:solid;border-width:var(--_spinner-circle-border-width);border-color:var(--_spinner-circle-color-border-background);border-top-color:var(--_spinner-circle-color-border-progress);width:var(--_spinner-circle-size);height:var(--_spinner-circle-size)}:host(.is-animated) #inner{-webkit-animation:spinner 1.6s linear infinite;animation:spinner 1.6s linear infinite}:host(.is-sm){--mod-spinner-size:2rem;--mod-spinner-circle-size:1.125rem;--mod-spinner-circle-border-width:0.2rem}:host(.is-white){--mod-spinner-circle-color-border-background:var(--ds-spinner-circle-color-inverted-background);--mod-spinner-circle-color-border-progress:var(--ds-spinner-circle-color-progress-inverted)}:host(.is-label-right){-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;gap:.5rem;width:auto}:host(.is-label-bottom){-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;gap:.25rem;width:auto}::part(label){font-family:var(--ds-global-font-family-text);line-height:var(--ds-typography-line-height-base)}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}"}},[1,"ds-spinner",{color:[1],deactivated:[4],inverted:[4],size:[1025],small:[4],label:[1],labelPosition:[1,"label-position"],variation:[1],animated:[32],language:[32],region:[32],configChanged:[64]},void 0,{deactivated:[{deactivatedChanged:0}],variation:[{variationChanged:0}]}]);function f(){"undefined"!=typeof customElements&&["ds-spinner"].forEach((e=>{"ds-spinner"===e&&(customElements.get(t(e))||customElements.define(t(e),b))}))}s([o("spinner"),a("design:type",Function),a("design:paramtypes",[Function]),a("design:returntype",void 0)],b.prototype,"createLogger",null),s([m(["blue","white"]),a("design:type",String)],b.prototype,"color",void 0),s([h("boolean"),a("design:type",Boolean)],b.prototype,"deactivated",void 0),s([h("boolean"),a("design:type",Boolean)],b.prototype,"inverted",void 0),s([m(["sm",""]),a("design:type",String)],b.prototype,"size",void 0),s([h("boolean"),a("design:type",Boolean)],b.prototype,"small",void 0),s([h("string"),a("design:type",String)],b.prototype,"label",void 0),s([m(["right","bottom"]),a("design:type",String)],b.prototype,"labelPosition",void 0),s([m(["logo","circle"]),a("design:type",String)],b.prototype,"variation",void 0),s([g(),a("design:type",Function),a("design:paramtypes",[Object]),a("design:returntype",Promise)],b.prototype,"configChanged",null);export{b as S,f as d}
|