@oiz/stzh-components 2.4.0-beta → 2.5.0-alpha-carousel
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{_commonjsHelpers-dcc4cf71.js → _commonjsHelpers-bcc1208a.js} +0 -16
- package/dist/cjs/app-globals-d7bd37fe.js +889 -0
- package/dist/cjs/{js.cookie-226c94ed.js → js.cookie-9c263d23.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/stzh-actions.cjs.entry.js +3 -1
- package/dist/cjs/stzh-actionset.cjs.entry.js +11 -6
- package/dist/cjs/stzh-appnav.cjs.entry.js +3 -1
- package/dist/cjs/stzh-badge_3.cjs.entry.js +20 -8
- package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card_3.cjs.entry.js +36 -29
- package/dist/cjs/stzh-carousel.cjs.entry.js +522 -0
- package/dist/cjs/stzh-chart.cjs.entry.js +5998 -5171
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +3 -1
- package/dist/cjs/stzh-chip_2.cjs.entry.js +82 -5
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datalist_2.cjs.entry.js +10 -3
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datatable.cjs.entry.js +16 -4
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +3 -1
- package/dist/cjs/stzh-dialog.cjs.entry.js +16 -13
- package/dist/cjs/stzh-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/stzh-footer.cjs.entry.js +3 -1
- package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +17 -4
- package/dist/cjs/stzh-header.cjs.entry.js +32 -27
- package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +1 -1
- package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
- package/dist/cjs/stzh-link.cjs.entry.js +15 -4
- package/dist/cjs/stzh-loader.cjs.entry.js +1 -1
- package/dist/cjs/stzh-menu_2.cjs.entry.js +2 -2
- package/dist/cjs/stzh-message.cjs.entry.js +2 -2
- package/dist/cjs/stzh-metanav.cjs.entry.js +3 -1
- package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-olmap.cjs.entry.js +1 -1
- package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +3 -1
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +4 -2
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +3 -1
- package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
- package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +3 -1
- package/dist/cjs/stzh-sortable.cjs.entry.js +4 -2
- package/dist/cjs/stzh-space.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sticky.cjs.entry.js +3 -1
- package/dist/cjs/stzh-table.cjs.entry.js +14 -4
- package/dist/cjs/stzh-upload.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +16 -11
- package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
- package/dist/collection/assets/i18n/de.json +10 -0
- package/dist/collection/assets/i18n/en.json +11 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/stzh-actions/stzh-actions.js +3 -1
- package/dist/collection/components/stzh-actionset/stzh-actionset.js +11 -33
- package/dist/collection/components/stzh-appnav/stzh-appnav.js +3 -1
- package/dist/collection/components/stzh-button/stzh-button.css +16 -1
- package/dist/collection/components/stzh-button/stzh-button.js +73 -7
- package/dist/collection/components/stzh-calendar/stzh-calendar.css +1 -1
- package/dist/collection/components/stzh-card/stzh-card.css +34 -9
- package/dist/collection/components/stzh-card/stzh-card.js +52 -54
- package/dist/collection/components/stzh-carousel/stzh-carousel.css +253 -0
- package/dist/collection/components/stzh-carousel/stzh-carousel.js +966 -0
- package/dist/collection/components/stzh-carousel/stzh-carousel.localization.js +1 -0
- package/dist/collection/components/stzh-carousel/stzh-carousel.stories.js +138 -0
- package/dist/collection/components/stzh-chart/stzh-chart.css +101 -54
- package/dist/collection/components/stzh-chart/stzh-chart.stories.js +1 -0
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +3 -1
- package/dist/collection/components/stzh-chip/stzh-chip.css +19 -17
- package/dist/collection/components/stzh-chip/stzh-chip.js +2 -1
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +1 -1
- package/dist/collection/components/stzh-clamp/stzh-clamp.css +46 -160
- package/dist/collection/components/stzh-clamp/stzh-clamp.js +218 -8
- package/dist/collection/components/stzh-clamp/stzh-clamp.localization.js +1 -0
- package/dist/collection/components/stzh-clamp/stzh-clamp.stories.js +1 -1
- package/dist/collection/components/stzh-cspace/stzh-cspace.css +36 -0
- package/dist/collection/components/stzh-datalist/stzh-datalist.js +18 -18
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +11 -0
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +28 -1
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +10 -0
- package/dist/collection/components/stzh-datatable/stzh-datatable.js +15 -12
- package/dist/collection/components/stzh-dialog/stzh-dialog.css +2 -2
- package/dist/collection/components/stzh-dialog/stzh-dialog.js +15 -12
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +1 -1
- package/dist/collection/components/stzh-footer/stzh-footer.js +3 -1
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +3 -1
- package/dist/collection/components/stzh-header/stzh-header.js +32 -45
- package/dist/collection/components/stzh-hspace/stzh-hspace.css +4 -0
- package/dist/collection/components/stzh-input/stzh-input.css +1 -1
- package/dist/collection/components/stzh-input/stzh-input.stories.js +12 -12
- package/dist/collection/components/stzh-invert/stzh-invert.css +4 -4
- package/dist/collection/components/stzh-link/stzh-link.css +11 -0
- package/dist/collection/components/stzh-link/stzh-link.js +68 -3
- package/dist/collection/components/stzh-loader/stzh-loader.css +4 -4
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +27 -27
- package/dist/collection/components/stzh-metanav/stzh-metanav.js +3 -1
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
- package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.js +3 -1
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +3 -1
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +4 -4
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.js +3 -1
- package/dist/collection/components/stzh-popover/stzh-popover.css +3 -3
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +118 -12
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +3 -1
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +3 -1
- package/dist/collection/components/stzh-richtext/stzh-richtext.css +14 -3
- package/dist/collection/components/stzh-richtext/stzh-richtext.js +32 -0
- package/dist/collection/components/stzh-sortable/stzh-sortable.css +1 -1
- package/dist/collection/components/stzh-sortable/stzh-sortable.js +3 -1
- package/dist/collection/components/stzh-space/stzh-space.css +4 -0
- package/dist/collection/components/stzh-sticky/stzh-sticky.js +3 -1
- package/dist/collection/components/stzh-table/stzh-table.js +14 -13
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +16 -11
- package/dist/collection/components/stzh-vspace/stzh-vspace.css +4 -0
- package/dist/collection/global/js/script.js +2 -0
- package/dist/components/_commonjsHelpers.js +1 -16
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +835 -1
- package/dist/components/stzh-actions.js +3 -1
- package/dist/components/stzh-actionset2.js +12 -7
- package/dist/components/stzh-appnav.js +3 -1
- package/dist/components/stzh-button2.js +23 -8
- package/dist/components/stzh-calendar2.js +1 -1
- package/dist/components/stzh-card2.js +37 -29
- package/dist/components/stzh-carousel.d.ts +11 -0
- package/dist/components/stzh-carousel.js +568 -0
- package/dist/components/stzh-chart.js +5995 -5168
- package/dist/components/stzh-checkboxgroup.js +3 -1
- package/dist/components/stzh-chip-select2.js +21 -9
- package/dist/components/stzh-chip2.js +19 -6
- package/dist/components/stzh-clamp2.js +110 -11
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-datalist-item2.js +10 -2
- package/dist/components/stzh-datalist2.js +3 -3
- package/dist/components/stzh-datamessagelist-item.js +17 -11
- package/dist/components/stzh-datatable.js +16 -4
- package/dist/components/stzh-dialog.js +16 -13
- package/dist/components/stzh-dropdown2.js +1 -1
- package/dist/components/stzh-footer.js +3 -1
- package/dist/components/stzh-ghettobox2.js +3 -1
- package/dist/components/stzh-header.js +33 -28
- package/dist/components/stzh-hspace.js +1 -1
- package/dist/components/stzh-input2.js +1 -1
- package/dist/components/stzh-invert.js +1 -1
- package/dist/components/stzh-link2.js +18 -4
- package/dist/components/stzh-loader2.js +1 -1
- package/dist/components/stzh-menu-item2.js +4 -4
- package/dist/components/stzh-metanav.js +3 -1
- package/dist/components/stzh-microsite-teaserlist.js +1 -1
- package/dist/components/stzh-page-skiplinks.js +3 -1
- package/dist/components/stzh-pagetitle-hero.js +4 -2
- package/dist/components/stzh-pagetitle.js +3 -1
- package/dist/components/stzh-popover2.js +1 -1
- package/dist/components/stzh-portal-mitwirken.js +1 -1
- package/dist/components/stzh-radiogroup2.js +3 -1
- package/dist/components/stzh-readspeaker.js +3 -1
- package/dist/components/stzh-richtext2.js +14 -1
- package/dist/components/stzh-sortable2.js +4 -2
- package/dist/components/stzh-space.js +1 -1
- package/dist/components/stzh-sticky.js +3 -1
- package/dist/components/stzh-table.js +15 -5
- package/dist/components/stzh-upload.js +1 -1
- package/dist/components/stzh-vbz-ticker.js +16 -11
- package/dist/components/stzh-vspace.js +1 -1
- package/dist/esm/{_commonjsHelpers-f9dc4873.js → _commonjsHelpers-ba3f0406.js} +1 -16
- package/dist/esm/app-globals-62e1178d.js +887 -0
- package/dist/esm/{js.cookie-53735b72.js → js.cookie-28a40640.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/stzh-actions.entry.js +3 -1
- package/dist/esm/stzh-actionset.entry.js +11 -6
- package/dist/esm/stzh-appnav.entry.js +3 -1
- package/dist/esm/stzh-badge_3.entry.js +20 -8
- package/dist/esm/stzh-calendar.entry.js +1 -1
- package/dist/esm/stzh-card_3.entry.js +36 -29
- package/dist/esm/stzh-carousel.entry.js +518 -0
- package/dist/esm/stzh-chart.entry.js +5995 -5168
- package/dist/esm/stzh-checkboxgroup.entry.js +3 -1
- package/dist/esm/stzh-chip_2.entry.js +82 -5
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-cspace.entry.js +1 -1
- package/dist/esm/stzh-datalist_2.entry.js +10 -3
- package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm/stzh-datatable.entry.js +16 -4
- package/dist/esm/stzh-datepicker_3.entry.js +3 -1
- package/dist/esm/stzh-dialog.entry.js +16 -13
- package/dist/esm/stzh-dropdown.entry.js +2 -2
- package/dist/esm/stzh-footer.entry.js +3 -1
- package/dist/esm/stzh-ghettobox_2.entry.js +17 -4
- package/dist/esm/stzh-header.entry.js +32 -27
- package/dist/esm/stzh-hspace.entry.js +1 -1
- package/dist/esm/stzh-input.entry.js +1 -1
- package/dist/esm/stzh-invert.entry.js +1 -1
- package/dist/esm/stzh-link.entry.js +15 -4
- package/dist/esm/stzh-loader.entry.js +1 -1
- package/dist/esm/stzh-menu_2.entry.js +2 -2
- package/dist/esm/stzh-message.entry.js +2 -2
- package/dist/esm/stzh-metanav.entry.js +3 -1
- package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
- package/dist/esm/stzh-olmap.entry.js +1 -1
- package/dist/esm/stzh-page-skiplinks.entry.js +3 -1
- package/dist/esm/stzh-pagetitle-hero.entry.js +4 -2
- package/dist/esm/stzh-pagetitle.entry.js +3 -1
- package/dist/esm/stzh-popover.entry.js +1 -1
- package/dist/esm/stzh-portal-mitwirken.entry.js +1 -1
- package/dist/esm/stzh-readspeaker.entry.js +3 -1
- package/dist/esm/stzh-sortable.entry.js +4 -2
- package/dist/esm/stzh-space.entry.js +1 -1
- package/dist/esm/stzh-sticky.entry.js +3 -1
- package/dist/esm/stzh-table.entry.js +14 -4
- package/dist/esm/stzh-upload.entry.js +1 -1
- package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm/stzh-vbz-ticker.entry.js +16 -11
- package/dist/esm/stzh-vspace.entry.js +1 -1
- package/dist/esm-es5/_commonjsHelpers-ba3f0406.js +1 -0
- package/dist/esm-es5/app-globals-62e1178d.js +1 -0
- package/dist/esm-es5/{js.cookie-53735b72.js → js.cookie-28a40640.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/stzh-actions.entry.js +1 -1
- package/dist/esm-es5/stzh-actionset.entry.js +1 -1
- package/dist/esm-es5/stzh-appnav.entry.js +1 -1
- package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
- package/dist/esm-es5/stzh-calendar.entry.js +1 -1
- package/dist/esm-es5/stzh-card_3.entry.js +1 -1
- package/dist/esm-es5/stzh-carousel.entry.js +1 -0
- package/dist/esm-es5/stzh-chart.entry.js +3 -3
- package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
- package/dist/esm-es5/stzh-chip_2.entry.js +1 -1
- package/dist/esm-es5/stzh-components.js +1 -1
- package/dist/esm-es5/stzh-cspace.entry.js +1 -1
- package/dist/esm-es5/stzh-datalist_2.entry.js +1 -1
- package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm-es5/stzh-datatable.entry.js +2 -2
- package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
- package/dist/esm-es5/stzh-dialog.entry.js +1 -1
- package/dist/esm-es5/stzh-dropdown.entry.js +2 -2
- package/dist/esm-es5/stzh-footer.entry.js +1 -1
- package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
- package/dist/esm-es5/stzh-header.entry.js +1 -1
- package/dist/esm-es5/stzh-hspace.entry.js +1 -1
- package/dist/esm-es5/stzh-input.entry.js +1 -1
- package/dist/esm-es5/stzh-invert.entry.js +1 -1
- package/dist/esm-es5/stzh-link.entry.js +1 -1
- package/dist/esm-es5/stzh-loader.entry.js +1 -1
- package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
- package/dist/esm-es5/stzh-message.entry.js +1 -1
- package/dist/esm-es5/stzh-metanav.entry.js +1 -1
- package/dist/esm-es5/stzh-microsite-teaserlist.entry.js +1 -1
- package/dist/esm-es5/stzh-olmap.entry.js +1 -1
- package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
- package/dist/esm-es5/stzh-popover.entry.js +1 -1
- package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
- package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
- package/dist/esm-es5/stzh-sortable.entry.js +2 -2
- package/dist/esm-es5/stzh-space.entry.js +1 -1
- package/dist/esm-es5/stzh-sticky.entry.js +1 -1
- package/dist/esm-es5/stzh-table.entry.js +1 -1
- package/dist/esm-es5/stzh-upload.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm-es5/stzh-vspace.entry.js +1 -1
- package/dist/stzh-components/assets/i18n/de.json +10 -0
- package/dist/stzh-components/assets/i18n/en.json +11 -1
- package/dist/stzh-components/p-0a408348.entry.js +1 -0
- package/dist/stzh-components/{p-ff328114.system.entry.js → p-0c779613.system.entry.js} +1 -1
- package/dist/stzh-components/{p-55752bd5.system.entry.js → p-0e690e3e.system.entry.js} +1 -1
- package/dist/stzh-components/p-10b4fedd.system.entry.js +1 -0
- package/dist/stzh-components/p-14729939.entry.js +1 -0
- package/dist/stzh-components/p-1494b502.entry.js +1 -0
- package/dist/stzh-components/p-14d5a56d.entry.js +1 -0
- package/dist/stzh-components/p-205f5111.system.entry.js +1 -0
- package/dist/stzh-components/{p-c8cc2563.system.entry.js → p-263fd0bb.system.entry.js} +1 -1
- package/dist/stzh-components/p-2ed20db5.entry.js +1 -0
- package/dist/stzh-components/p-322e74e9.system.entry.js +1 -0
- package/dist/stzh-components/p-353294ce.entry.js +1 -0
- package/dist/stzh-components/p-396697db.system.entry.js +1 -0
- package/dist/stzh-components/p-3a73b8b5.system.js +1 -0
- package/dist/stzh-components/p-3af95b5d.entry.js +1 -0
- package/dist/stzh-components/p-3e8ff66b.js +1 -0
- package/dist/stzh-components/p-3f80ce87.entry.js +1 -0
- package/dist/stzh-components/{p-c2f909c1.system.entry.js → p-3fc51ad1.system.entry.js} +1 -1
- package/dist/stzh-components/p-4453449f.entry.js +1 -0
- package/dist/stzh-components/{p-6a94e520.system.entry.js → p-454e50f8.system.entry.js} +1 -1
- package/dist/stzh-components/{p-d54ff4d4.system.entry.js → p-47175c6f.system.entry.js} +1 -1
- package/dist/stzh-components/p-48d40c7c.system.entry.js +1 -0
- package/dist/stzh-components/{p-5c72664e.system.entry.js → p-4acb6752.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b1ffc2a9.system.entry.js → p-4b995fe4.system.entry.js} +1 -1
- package/dist/stzh-components/{p-be97cb22.entry.js → p-4da7ebff.entry.js} +1 -1
- package/dist/stzh-components/p-4f8085e5.entry.js +1 -0
- package/dist/stzh-components/{p-2f4448c9.system.entry.js → p-558f336d.system.entry.js} +1 -1
- package/dist/stzh-components/p-5a4aef52.entry.js +1 -0
- package/dist/stzh-components/{p-484a366f.system.js → p-5db542ae.system.js} +1 -1
- package/dist/stzh-components/{p-72a62d0d.system.entry.js → p-6659b6f6.system.entry.js} +1 -1
- package/dist/stzh-components/{p-f3276ca5.system.entry.js → p-6a109ce9.system.entry.js} +1 -1
- package/dist/stzh-components/{p-1a98470f.system.entry.js → p-6a26c9eb.system.entry.js} +1 -1
- package/dist/stzh-components/p-6bc7f44a.entry.js +1 -0
- package/dist/stzh-components/{p-02d51685.entry.js → p-6ee87986.entry.js} +1 -1
- package/dist/stzh-components/p-7ff1640c.entry.js +1 -0
- package/dist/stzh-components/{p-26889a91.entry.js → p-814e5ae7.entry.js} +2 -2
- package/dist/stzh-components/p-821ca4af.system.entry.js +1 -0
- package/dist/stzh-components/{p-2b67b0b3.system.entry.js → p-884793dd.system.entry.js} +2 -2
- package/dist/stzh-components/{p-a32ae73a.system.entry.js → p-88fbb2fc.system.entry.js} +2 -2
- package/dist/stzh-components/p-8b16550d.entry.js +1 -0
- package/dist/stzh-components/{p-963a7526.system.entry.js → p-8c371d1d.system.entry.js} +1 -1
- package/dist/stzh-components/p-8eda017e.entry.js +1 -0
- package/dist/stzh-components/p-949f7885.system.js +1 -0
- package/dist/stzh-components/{p-6adc5f0c.system.entry.js → p-95bfbf67.system.entry.js} +1 -1
- package/dist/stzh-components/p-99d85a97.entry.js +1 -0
- package/dist/stzh-components/p-9a94b249.system.entry.js +1 -0
- package/dist/stzh-components/{p-32a03d1c.entry.js → p-9ed30a9f.entry.js} +1 -1
- package/dist/stzh-components/{p-febba79b.entry.js → p-9f29e6c3.entry.js} +1 -1
- package/dist/stzh-components/{p-67816aa4.entry.js → p-a0b2739a.entry.js} +1 -1
- package/dist/stzh-components/p-a2121744.system.entry.js +1 -0
- package/dist/stzh-components/p-a22ac109.entry.js +1 -0
- package/dist/stzh-components/p-a3bf419d.entry.js +1 -0
- package/dist/stzh-components/{p-c9c7d88a.entry.js → p-a47e205f.entry.js} +1 -1
- package/dist/stzh-components/p-aa2c81e6.system.entry.js +3 -0
- package/dist/stzh-components/{p-088b16c6.system.entry.js → p-abf13db9.system.entry.js} +1 -1
- package/dist/stzh-components/p-ad96eb50.entry.js +1 -0
- package/dist/stzh-components/p-ae7255f6.entry.js +1 -0
- package/dist/stzh-components/p-af05718d.system.entry.js +1 -0
- package/dist/stzh-components/p-af9aac53.entry.js +3 -0
- package/dist/stzh-components/{p-24b8df26.js → p-b10682ee.js} +1 -1
- package/dist/stzh-components/p-b4c28bf5.entry.js +1 -0
- package/dist/stzh-components/p-b4db3558.js +1 -0
- package/dist/stzh-components/p-b61f7404.entry.js +1 -0
- package/dist/stzh-components/p-b9adebdc.entry.js +1 -0
- package/dist/stzh-components/{p-c4c620fa.system.entry.js → p-b9bd42e6.system.entry.js} +1 -1
- package/dist/stzh-components/p-b9f784e4.system.entry.js +1 -0
- package/dist/stzh-components/{p-b92734db.entry.js → p-bcfba21f.entry.js} +1 -1
- package/dist/stzh-components/p-bd1a5d6d.system.entry.js +1 -0
- package/dist/stzh-components/p-c457dad2.system.entry.js +1 -0
- package/dist/stzh-components/{p-f8feb07b.entry.js → p-c80a9d50.entry.js} +1 -1
- package/dist/stzh-components/p-c9940c35.entry.js +1 -0
- package/dist/stzh-components/p-cab1a192.entry.js +1 -0
- package/dist/stzh-components/p-cd59cead.system.js +1 -0
- package/dist/stzh-components/{p-102e2bcd.system.entry.js → p-cd979ce9.system.entry.js} +1 -1
- package/dist/stzh-components/{p-512c38b3.system.entry.js → p-ce5db779.system.entry.js} +1 -1
- package/dist/stzh-components/p-d29fd401.entry.js +1 -0
- package/dist/stzh-components/{p-7e4261ce.system.entry.js → p-d5514e5b.system.entry.js} +1 -1
- package/dist/stzh-components/{p-51b3a560.system.entry.js → p-d585e8fd.system.entry.js} +1 -1
- package/dist/stzh-components/p-d5994419.system.entry.js +1 -0
- package/dist/stzh-components/p-d6e5f396.system.entry.js +1 -0
- package/dist/stzh-components/{p-444b2baf.entry.js → p-e085a0a0.entry.js} +1 -1
- package/dist/stzh-components/p-e1501622.system.entry.js +1 -0
- package/dist/stzh-components/p-e2d80ee3.entry.js +1 -0
- package/dist/stzh-components/p-e4aa12ba.system.entry.js +1 -0
- package/dist/stzh-components/p-e54f66ea.system.entry.js +1 -0
- package/dist/stzh-components/{p-d9ae09b5.entry.js → p-eb16ad0d.entry.js} +2 -2
- package/dist/stzh-components/p-eb1ea7f0.entry.js +1 -0
- package/dist/stzh-components/{p-e1b2785b.entry.js → p-ec87506f.entry.js} +1 -1
- package/dist/stzh-components/{p-309fc559.system.entry.js → p-ee20b95b.system.entry.js} +1 -1
- package/dist/stzh-components/p-f122e15d.system.entry.js +1 -0
- package/dist/stzh-components/{p-809ed955.system.entry.js → p-f27d1a06.system.entry.js} +1 -1
- package/dist/stzh-components/p-f449f909.entry.js +1 -0
- package/dist/stzh-components/{p-af67ea5e.entry.js → p-f4c0d928.entry.js} +1 -1
- package/dist/stzh-components/p-f725921a.entry.js +1 -0
- package/dist/stzh-components/p-fe1c8047.system.entry.js +1 -0
- package/dist/stzh-components/stzh-components.css +1 -1
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.js +1 -1
- package/dist/types/components/stzh-carousel/stzh-carousel.localization.d.ts +5 -0
- package/dist/types/components/stzh-clamp/stzh-clamp.localization.d.ts +5 -0
- package/dist/types/components.d.ts +250 -2
- package/dist/types/index.d.ts +20 -0
- package/dist/types/utils/translation-utils.d.ts +2 -0
- package/dist/vscode-data.json +106 -17
- package/package.json +6 -4
- package/dist/cjs/app-globals-57922fc2.js +0 -56
- package/dist/esm/app-globals-b848652e.js +0 -54
- package/dist/esm-es5/_commonjsHelpers-f9dc4873.js +0 -1
- package/dist/esm-es5/app-globals-b848652e.js +0 -1
- package/dist/stzh-components/p-07dc23a3.system.entry.js +0 -1
- package/dist/stzh-components/p-0ba944ab.entry.js +0 -1
- package/dist/stzh-components/p-12856e02.system.entry.js +0 -1
- package/dist/stzh-components/p-16c0b9ae.entry.js +0 -3
- package/dist/stzh-components/p-18e20038.entry.js +0 -1
- package/dist/stzh-components/p-1bcda13d.system.entry.js +0 -1
- package/dist/stzh-components/p-1d435dd8.system.entry.js +0 -1
- package/dist/stzh-components/p-1f74846f.entry.js +0 -1
- package/dist/stzh-components/p-29e9ad9f.system.entry.js +0 -1
- package/dist/stzh-components/p-30a9de85.system.entry.js +0 -1
- package/dist/stzh-components/p-37920e74.system.entry.js +0 -1
- package/dist/stzh-components/p-4633b93d.entry.js +0 -1
- package/dist/stzh-components/p-4c60da30.entry.js +0 -1
- package/dist/stzh-components/p-4eee30ea.system.entry.js +0 -1
- package/dist/stzh-components/p-532b4218.entry.js +0 -1
- package/dist/stzh-components/p-5d55a672.system.entry.js +0 -1
- package/dist/stzh-components/p-64cdef2f.entry.js +0 -1
- package/dist/stzh-components/p-65918f6f.system.js +0 -1
- package/dist/stzh-components/p-761ee059.entry.js +0 -1
- package/dist/stzh-components/p-798ac79c.entry.js +0 -1
- package/dist/stzh-components/p-7f857e56.entry.js +0 -1
- package/dist/stzh-components/p-84a6e023.system.entry.js +0 -1
- package/dist/stzh-components/p-89bd0d46.entry.js +0 -1
- package/dist/stzh-components/p-8caafed2.system.entry.js +0 -1
- package/dist/stzh-components/p-923dffc7.entry.js +0 -1
- package/dist/stzh-components/p-94662bed.system.js +0 -1
- package/dist/stzh-components/p-951b04ab.entry.js +0 -1
- package/dist/stzh-components/p-990f395b.entry.js +0 -1
- package/dist/stzh-components/p-99b82949.entry.js +0 -1
- package/dist/stzh-components/p-9be21c72.entry.js +0 -1
- package/dist/stzh-components/p-9c35c9cd.entry.js +0 -1
- package/dist/stzh-components/p-9c90535a.system.js +0 -1
- package/dist/stzh-components/p-9de8b25b.entry.js +0 -1
- package/dist/stzh-components/p-a11ef2d6.system.entry.js +0 -1
- package/dist/stzh-components/p-a691fe87.js +0 -1
- package/dist/stzh-components/p-a6be6aca.system.entry.js +0 -1
- package/dist/stzh-components/p-a6d4a8b1.js +0 -1
- package/dist/stzh-components/p-a7eb3e02.system.entry.js +0 -1
- package/dist/stzh-components/p-ae38f1d2.entry.js +0 -1
- package/dist/stzh-components/p-b04a9d0f.system.entry.js +0 -1
- package/dist/stzh-components/p-b422041d.entry.js +0 -1
- package/dist/stzh-components/p-b9372a2a.entry.js +0 -1
- package/dist/stzh-components/p-bb698e26.entry.js +0 -1
- package/dist/stzh-components/p-bc545121.entry.js +0 -1
- package/dist/stzh-components/p-c2a22eb8.entry.js +0 -1
- package/dist/stzh-components/p-cc722b35.system.entry.js +0 -3
- package/dist/stzh-components/p-d1cfe06b.entry.js +0 -1
- package/dist/stzh-components/p-d943e02c.system.entry.js +0 -1
- package/dist/stzh-components/p-db306e24.entry.js +0 -1
- package/dist/stzh-components/p-e4a8f1bc.system.entry.js +0 -1
- package/dist/stzh-components/p-ed783154.system.entry.js +0 -1
- package/dist/stzh-components/p-ee4b939a.entry.js +0 -1
- package/dist/stzh-components/p-f0e2a32d.entry.js +0 -1
- package/dist/stzh-components/p-fd15cc86.entry.js +0 -1
- package/dist/types/components/stzh-clamp/stzh-clamp.d.ts +0 -16
|
@@ -4,4 +4,4 @@ var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e ins
|
|
|
4
4
|
* @author RubaXa <trash@rubaxa.org>
|
|
5
5
|
* @author owenm <owen23355@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
|
-
*/function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);if(t){i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))}n.push.apply(n,i)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};if(t%2){g(Object(n),true).forEach((function(t){y(e,t,n[t])}))}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(e,Object.getOwnPropertyDescriptors(n))}else{g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}}return e}function b(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){b=function(e){return typeof e}}else{b=function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return b(e)}function y(e,t,n){if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}function w(){w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n){if(Object.prototype.hasOwnProperty.call(n,i)){e[i]=n[i]}}}return e};return w.apply(this,arguments)}function E(e,t){if(e==null)return{};var n={};var i=Object.keys(e);var r,o;for(o=0;o<i.length;o++){r=i[o];if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function D(e,t){if(e==null)return{};var n=E(e,t);var i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++){i=o[r];if(t.indexOf(i)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(e,i))continue;n[i]=e[i]}}return n}function _(e){return S(e)||C(e)||I(e)||A()}function S(e){if(Array.isArray(e))return x(e)}function C(e){if(typeof Symbol!=="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function I(e,t){if(!e)return;if(typeof e==="string")return x(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor)n=e.constructor.name;if(n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(e,t)}function x(e,t){if(t==null||t>e.length)t=e.length;for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function A(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var O="1.15.0";function T(e){if(typeof window!=="undefined"&&window.navigator){return!!navigator.userAgent.match(e)}}var M=T(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i);var z=T(/Edge/i);var k=T(/firefox/i);var N=T(/safari/i)&&!T(/chrome/i)&&!T(/android/i);var P=T(/iP(ad|od|hone)/i);var B=T(/chrome/i)&&T(/android/i);var R={capture:false,passive:false};function L(e,t,n){e.addEventListener(t,n,!M&&R)}function X(e,t,n){e.removeEventListener(t,n,!M&&R)}function Y(e,t){if(!t)return;t[0]===">"&&(t=t.substring(1));if(e){try{if(e.matches){return e.matches(t)}else if(e.msMatchesSelector){return e.msMatchesSelector(t)}else if(e.webkitMatchesSelector){return e.webkitMatchesSelector(t)}}catch(n){return false}}return false}function W(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function H(e,t,n,i){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&Y(e,t):Y(e,t))||i&&e===n){return e}if(e===n)break}while(e=W(e))}return null}var j=/\s+/g;function F(e,t,n){if(e&&t){if(e.classList){e.classList[n?"add":"remove"](t)}else{var i=(" "+e.className+" ").replace(j," ").replace(" "+t+" "," ");e.className=(i+(n?" "+t:"")).replace(j," ")}}}function K(e,t,n){var i=e&&e.style;if(i){if(n===void 0){if(document.defaultView&&document.defaultView.getComputedStyle){n=document.defaultView.getComputedStyle(e,"")}else if(e.currentStyle){n=e.currentStyle}return t===void 0?n:n[t]}else{if(!(t in i)&&t.indexOf("webkit")===-1){t="-webkit-"+t}i[t]=n+(typeof n==="string"?"":"px")}}}function U(e,t){var n="";if(typeof e==="string"){n=e}else{do{var i=K(e,"transform");if(i&&i!=="none"){n=i+" "+n}}while(!t&&(e=e.parentNode))}var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function G(e,t,n){if(e){var i=e.getElementsByTagName(t),r=0,o=i.length;if(n){for(;r<o;r++){n(i[r],r)}}return i}return[]}function V(){var e=document.scrollingElement;if(e){return e}else{return document.documentElement}}function q(e,t,n,i,r){if(!e.getBoundingClientRect&&e!==window)return;var o,a,l,s,u,c,f;if(e!==window&&e.parentNode&&e!==V()){o=e.getBoundingClientRect();a=o.top;l=o.left;s=o.bottom;u=o.right;c=o.height;f=o.width}else{a=0;l=0;s=window.innerHeight;u=window.innerWidth;c=window.innerHeight;f=window.innerWidth}if((t||n)&&e!==window){r=r||e.parentNode;if(!M){do{if(r&&r.getBoundingClientRect&&(K(r,"transform")!=="none"||n&&K(r,"position")!=="static")){var d=r.getBoundingClientRect();a-=d.top+parseInt(K(r,"border-top-width"));l-=d.left+parseInt(K(r,"border-left-width"));s=a+o.height;u=l+o.width;break}}while(r=r.parentNode)}}if(i&&e!==window){var h=U(r||e),p=h&&h.a,v=h&&h.d;if(h){a/=v;l/=p;f/=p;c/=v;s=a+c;u=l+f}}return{top:a,left:l,bottom:s,right:u,width:f,height:c}}function Z(e,t,n){var i=ne(e,true),r=q(e)[t];while(i){var o=q(i)[n],a=void 0;if(n==="top"||n==="left"){a=r>=o}else{a=r<=o}if(!a)return i;if(i===V())break;i=ne(i,false)}return false}function $(e,t,n,i){var r=0,o=0,a=e.children;while(o<a.length){if(a[o].style.display!=="none"&&a[o]!==vt.ghost&&(i||a[o]!==vt.dragged)&&H(a[o],n.draggable,e,false)){if(r===t){return a[o]}r++}o++}return null}function J(e,t){var n=e.lastElementChild;while(n&&(n===vt.ghost||K(n,"display")==="none"||t&&!Y(n,t))){n=n.previousElementSibling}return n||null}function Q(e,t){var n=0;if(!e||!e.parentNode){return-1}while(e=e.previousElementSibling){if(e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==vt.clone&&(!t||Y(e,t))){n++}}return n}function ee(e){var t=0,n=0,i=V();if(e){do{var r=U(e),o=r.a,a=r.d;t+=e.scrollLeft*o;n+=e.scrollTop*a}while(e!==i&&(e=e.parentNode))}return[t,n]}function te(e,t){for(var n in e){if(!e.hasOwnProperty(n))continue;for(var i in t){if(t.hasOwnProperty(i)&&t[i]===e[n][i])return Number(n)}}return-1}function ne(e,t){if(!e||!e.getBoundingClientRect)return V();var n=e;var i=false;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=K(n);if(n.clientWidth<n.scrollWidth&&(r.overflowX=="auto"||r.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(r.overflowY=="auto"||r.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return V();if(i||t)return n;i=true}}}while(n=n.parentNode);return V()}function ie(e,t){if(e&&t){for(var n in t){if(t.hasOwnProperty(n)){e[n]=t[n]}}}return e}function re(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var oe;function ae(e,t){return function(){if(!oe){var n=arguments,i=this;if(n.length===1){e.call(i,n[0])}else{e.apply(i,n)}oe=setTimeout((function(){oe=void 0}),t)}}}function le(){clearTimeout(oe);oe=void 0}function se(e,t,n){e.scrollLeft+=t;e.scrollTop+=n}function ue(e){var t=window.Polymer;var n=window.jQuery||window.Zepto;if(t&&t.dom){return t.dom(e).cloneNode(true)}else if(n){return n(e).clone(true)[0]}else{return e.cloneNode(true)}}function ce(e,t){K(e,"position","absolute");K(e,"top",t.top);K(e,"left",t.left);K(e,"width",t.width);K(e,"height",t.height)}function fe(e){K(e,"position","");K(e,"top","");K(e,"left","");K(e,"width","");K(e,"height","")}var de="Sortable"+(new Date).getTime();function he(){var e=[],t;return{captureAnimationState:function t(){e=[];if(!this.options.animation)return;var n=[].slice.call(this.el.children);n.forEach((function(t){if(K(t,"display")==="none"||t===vt.ghost)return;e.push({target:t,rect:q(t)});var n=m({},e[e.length-1].rect);if(t.thisAnimationDuration){var i=U(t,true);if(i){n.top-=i.f;n.left-=i.e}}t.fromRect=n}))},addAnimationState:function t(n){e.push(n)},removeAnimationState:function t(n){e.splice(te(e,{target:n}),1)},animateAll:function n(i){var r=this;if(!this.options.animation){clearTimeout(t);if(typeof i==="function")i();return}var o=false,a=0;e.forEach((function(e){var t=0,n=e.target,i=n.fromRect,l=q(n),s=n.prevFromRect,u=n.prevToRect,c=e.rect,f=U(n,true);if(f){l.top-=f.f;l.left-=f.e}n.toRect=l;if(n.thisAnimationDuration){if(re(s,l)&&!re(i,l)&&(c.top-l.top)/(c.left-l.left)===(i.top-l.top)/(i.left-l.left)){t=ve(c,s,u,r.options)}}if(!re(l,i)){n.prevFromRect=i;n.prevToRect=l;if(!t){t=r.options.animation}r.animate(n,c,l,t)}if(t){o=true;a=Math.max(a,t);clearTimeout(n.animationResetTimer);n.animationResetTimer=setTimeout((function(){n.animationTime=0;n.prevFromRect=null;n.fromRect=null;n.prevToRect=null;n.thisAnimationDuration=null}),t);n.thisAnimationDuration=t}}));clearTimeout(t);if(!o){if(typeof i==="function")i()}else{t=setTimeout((function(){if(typeof i==="function")i()}),a)}e=[]},animate:function e(t,n,i,r){if(r){K(t,"transition","");K(t,"transform","");var o=U(this.el),a=o&&o.a,l=o&&o.d,s=(n.left-i.left)/(a||1),u=(n.top-i.top)/(l||1);t.animatingX=!!s;t.animatingY=!!u;K(t,"transform","translate3d("+s+"px,"+u+"px,0)");this.forRepaintDummy=pe(t);K(t,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:""));K(t,"transform","translate3d(0,0,0)");typeof t.animated==="number"&&clearTimeout(t.animated);t.animated=setTimeout((function(){K(t,"transition","");K(t,"transform","");t.animated=false;t.animatingX=false;t.animatingY=false}),r)}}}}function pe(e){return e.offsetWidth}function ve(e,t,n,i){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*i.animation}var ge=[];var me={initializeByDefault:true};var be={mount:function e(t){for(var n in me){if(me.hasOwnProperty(n)&&!(n in t)){t[n]=me[n]}}ge.forEach((function(e){if(e.pluginName===t.pluginName){throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}}));ge.push(t)},pluginEvent:function e(t,n,i){var r=this;this.eventCanceled=false;i.cancel=function(){r.eventCanceled=true};var o=t+"Global";ge.forEach((function(e){if(!n[e.pluginName])return;if(n[e.pluginName][o]){n[e.pluginName][o](m({sortable:n},i))}if(n.options[e.pluginName]&&n[e.pluginName][t]){n[e.pluginName][t](m({sortable:n},i))}}))},initializePlugins:function e(t,n,i,r){ge.forEach((function(e){var r=e.pluginName;if(!t.options[r]&&!e.initializeByDefault)return;var o=new e(t,n,t.options);o.sortable=t;o.options=t.options;t[r]=o;w(i,o.defaults)}));for(var o in t.options){if(!t.options.hasOwnProperty(o))continue;var a=this.modifyOption(t,o,t.options[o]);if(typeof a!=="undefined"){t.options[o]=a}}},getEventProperties:function e(t,n){var i={};ge.forEach((function(e){if(typeof e.eventProperties!=="function")return;w(i,e.eventProperties.call(n[e.pluginName],t))}));return i},modifyOption:function e(t,n,i){var r;ge.forEach((function(e){if(!t[e.pluginName])return;if(e.optionListeners&&typeof e.optionListeners[n]==="function"){r=e.optionListeners[n].call(t[e.pluginName],i)}}));return r}};function ye(e){var t=e.sortable,n=e.rootEl,i=e.name,r=e.targetEl,o=e.cloneEl,a=e.toEl,l=e.fromEl,s=e.oldIndex,u=e.newIndex,c=e.oldDraggableIndex,f=e.newDraggableIndex,d=e.originalEvent,h=e.putSortable,p=e.extraEventProperties;t=t||n&&n[de];if(!t)return;var v,g=t.options,b="on"+i.charAt(0).toUpperCase()+i.substr(1);if(window.CustomEvent&&!M&&!z){v=new CustomEvent(i,{bubbles:true,cancelable:true})}else{v=document.createEvent("Event");v.initEvent(i,true,true)}v.to=a||n;v.from=l||n;v.item=r||n;v.clone=o;v.oldIndex=s;v.newIndex=u;v.oldDraggableIndex=c;v.newDraggableIndex=f;v.originalEvent=d;v.pullMode=h?h.lastPutMode:undefined;var y=m(m({},p),be.getEventProperties(i,t));for(var w in y){v[w]=y[w]}if(n){n.dispatchEvent(v)}if(g[b]){g[b].call(t,v)}}var we=["evt"];var Ee=function e(t,n){var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},r=i.evt,o=D(i,we);be.pluginEvent.bind(vt)(t,n,m({dragEl:_e,parentEl:Se,ghostEl:Ce,rootEl:Ie,nextEl:xe,lastDownEl:Ae,cloneEl:Oe,cloneHidden:Te,dragStarted:Ue,putSortable:Be,activeSortable:vt.active,originalEvent:r,oldIndex:Me,oldDraggableIndex:ke,newIndex:ze,newDraggableIndex:Ne,hideGhostForTarget:ft,unhideGhostForTarget:dt,cloneNowHidden:function e(){Te=true},cloneNowShown:function e(){Te=false},dispatchSortableEvent:function e(t){De({sortable:n,name:t,originalEvent:r})}},o))};function De(e){ye(m({putSortable:Be,cloneEl:Oe,targetEl:_e,rootEl:Ie,oldIndex:Me,oldDraggableIndex:ke,newIndex:ze,newDraggableIndex:Ne},e))}var _e,Se,Ce,Ie,xe,Ae,Oe,Te,Me,ze,ke,Ne,Pe,Be,Re=false,Le=false,Xe=[],Ye,We,He,je,Fe,Ke,Ue,Ge,Ve,qe=false,Ze=false,$e,Je,Qe=[],et=false,tt=[];var nt=typeof document!=="undefined",it=P,rt=z||M?"cssFloat":"float",ot=nt&&!B&&!P&&"draggable"in document.createElement("div"),at=function(){if(!nt)return;if(M){return false}var e=document.createElement("x");e.style.cssText="pointer-events:auto";return e.style.pointerEvents==="auto"}(),lt=function e(t,n){var i=K(t),r=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),o=$(t,0,n),a=$(t,1,n),l=o&&K(o),s=a&&K(a),u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+q(o).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+q(a).width;if(i.display==="flex"){return i.flexDirection==="column"||i.flexDirection==="column-reverse"?"vertical":"horizontal"}if(i.display==="grid"){return i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal"}if(o&&l["float"]&&l["float"]!=="none"){var f=l["float"]==="left"?"left":"right";return a&&(s.clear==="both"||s.clear===f)?"vertical":"horizontal"}return o&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||u>=r&&i[rt]==="none"||a&&i[rt]==="none"&&u+c>r)?"vertical":"horizontal"},st=function e(t,n,i){var r=i?t.left:t.top,o=i?t.right:t.bottom,a=i?t.width:t.height,l=i?n.left:n.top,s=i?n.right:n.bottom,u=i?n.width:n.height;return r===l||o===s||r+a/2===l+u/2},ut=function e(t,n){var i;Xe.some((function(e){var r=e[de].options.emptyInsertThreshold;if(!r||J(e))return;var o=q(e),a=t>=o.left-r&&t<=o.right+r,l=n>=o.top-r&&n<=o.bottom+r;if(a&&l){return i=e}}));return i},ct=function e(t){function n(e,t){return function(i,r,o,a){var l=i.options.group.name&&r.options.group.name&&i.options.group.name===r.options.group.name;if(e==null&&(t||l)){return true}else if(e==null||e===false){return false}else if(t&&e==="clone"){return e}else if(typeof e==="function"){return n(e(i,r,o,a),t)(i,r,o,a)}else{var s=(t?i:r).options.group.name;return e===true||typeof e==="string"&&e===s||e.join&&e.indexOf(s)>-1}}}var i={};var r=t.group;if(!r||b(r)!="object"){r={name:r}}i.name=r.name;i.checkPull=n(r.pull,true);i.checkPut=n(r.put);i.revertClone=r.revertClone;t.group=i},ft=function e(){if(!at&&Ce){K(Ce,"display","none")}},dt=function e(){if(!at&&Ce){K(Ce,"display","")}};if(nt&&!B){document.addEventListener("click",(function(e){if(Le){e.preventDefault();e.stopPropagation&&e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();Le=false;return false}}),true)}var ht=function e(t){if(_e){t=t.touches?t.touches[0]:t;var n=ut(t.clientX,t.clientY);if(n){var i={};for(var r in t){if(t.hasOwnProperty(r)){i[r]=t[r]}}i.target=i.rootEl=n;i.preventDefault=void 0;i.stopPropagation=void 0;n[de]._onDragOver(i)}}};var pt=function e(t){if(_e){_e.parentNode[de]._isOutsideThisEl(t.target)}};function vt(e,t){if(!(e&&e.nodeType&&e.nodeType===1)){throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e))}this.el=e;this.options=t=w({},t);e[de]=this;var n={group:null,sort:true,disabled:false,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:false,invertedSwapThreshold:null,removeCloneOnHide:true,direction:function t(){return lt(e,this.options)},ghostClone:function(e){return e.cloneNode(true)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:true,animation:0,easing:null,setData:function e(t,n){t.setData("Text",n.textContent)},dropBubble:false,dragoverBubble:false,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:false,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:false,fallbackClass:"sortable-fallback",fallbackOnBody:false,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:vt.supportPointer!==false&&"PointerEvent"in window&&!N,emptyInsertThreshold:5};be.initializePlugins(this,e,n);for(var i in n){!(i in t)&&(t[i]=n[i])}ct(t);for(var r in this){if(r.charAt(0)==="_"&&typeof this[r]==="function"){this[r]=this[r].bind(this)}}this.nativeDraggable=t.forceFallback?false:ot;if(this.nativeDraggable){this.options.touchStartThreshold=1}if(t.supportPointer){L(e,"pointerdown",this._onTapStart)}else{L(e,"mousedown",this._onTapStart);L(e,"touchstart",this._onTapStart)}if(this.nativeDraggable){L(e,"dragover",this);L(e,"dragenter",this)}Xe.push(this.el);t.store&&t.store.get&&this.sort(t.store.get(this)||[]);w(this,he())}vt.prototype={constructor:vt,_isOutsideThisEl:function e(t){if(!this.el.contains(t)&&t!==this.el){Ge=null}},_getDirection:function e(t,n){return typeof this.options.direction==="function"?this.options.direction.call(this,t,n,_e):this.options.direction},_onTapStart:function e(t){if(!t.cancelable)return;var n=this,i=this.el,r=this.options,o=r.preventOnFilter,a=t.type,l=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,s=(l||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,c=r.filter;Ct(i);if(_e){return}if(/mousedown|pointerdown/.test(a)&&t.button!==0||r.disabled){return}if(u.isContentEditable){return}if(!this.nativeDraggable&&N&&s&&s.tagName.toUpperCase()==="SELECT"){return}s=H(s,r.draggable,i,false);if(s&&s.animated){return}if(Ae===s){return}Me=Q(s);ke=Q(s,r.draggable);if(typeof c==="function"){if(c.call(this,t,s,this)){De({sortable:n,rootEl:u,name:"filter",targetEl:s,toEl:i,fromEl:i});Ee("filter",n,{evt:t});o&&t.cancelable&&t.preventDefault();return}}else if(c){c=c.split(",").some((function(e){e=H(u,e.trim(),i,false);if(e){De({sortable:n,rootEl:e,name:"filter",targetEl:s,fromEl:i,toEl:i});Ee("filter",n,{evt:t});return true}}));if(c){o&&t.cancelable&&t.preventDefault();return}}if(r.handle&&!H(u,r.handle,i,false)){return}this._prepareDragStart(t,l,s)},_prepareDragStart:function e(t,n,i){var r=this,o=r.el,a=r.options,l=o.ownerDocument,s;if(i&&!_e&&i.parentNode===o){var u=q(i);Ie=o;_e=i;Se=_e.parentNode;xe=_e.nextSibling;Ae=i;Pe=a.group;vt.dragged=_e;Ye={target:_e,clientX:(n||t).clientX,clientY:(n||t).clientY};Fe=Ye.clientX-u.left;Ke=Ye.clientY-u.top;this._lastX=(n||t).clientX;this._lastY=(n||t).clientY;_e.style["will-change"]="all";s=function e(){Ee("delayEnded",r,{evt:t});if(vt.eventCanceled){r._onDrop();return}r._disableDelayedDragEvents();if(!k&&r.nativeDraggable){_e.draggable=true}r._triggerDragStart(t,n);De({sortable:r,name:"choose",originalEvent:t});F(_e,a.chosenClass,true)};a.ignore.split(",").forEach((function(e){G(_e,e.trim(),bt)}));L(l,"dragover",ht);L(l,"mousemove",ht);L(l,"touchmove",ht);L(l,"mouseup",r._onDrop);L(l,"touchend",r._onDrop);L(l,"touchcancel",r._onDrop);if(k&&this.nativeDraggable){this.options.touchStartThreshold=4;_e.draggable=true}Ee("delayStart",this,{evt:t});if(a.delay&&(!a.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(z||M))){if(vt.eventCanceled){this._onDrop();return}L(l,"mouseup",r._disableDelayedDrag);L(l,"touchend",r._disableDelayedDrag);L(l,"touchcancel",r._disableDelayedDrag);L(l,"mousemove",r._delayedDragTouchMoveHandler);L(l,"touchmove",r._delayedDragTouchMoveHandler);a.supportPointer&&L(l,"pointermove",r._delayedDragTouchMoveHandler);r._dragStartTimer=setTimeout(s,a.delay)}else{s()}}},_delayedDragTouchMoveHandler:function e(t){var n=t.touches?t.touches[0]:t;if(Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))){this._disableDelayedDrag()}},_disableDelayedDrag:function e(){_e&&bt(_e);clearTimeout(this._dragStartTimer);this._disableDelayedDragEvents()},_disableDelayedDragEvents:function e(){var t=this.el.ownerDocument;X(t,"mouseup",this._disableDelayedDrag);X(t,"touchend",this._disableDelayedDrag);X(t,"touchcancel",this._disableDelayedDrag);X(t,"mousemove",this._delayedDragTouchMoveHandler);X(t,"touchmove",this._delayedDragTouchMoveHandler);X(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function e(t,n){n=n||t.pointerType=="touch"&&t;if(!this.nativeDraggable||n){if(this.options.supportPointer){L(document,"pointermove",this._onTouchMove)}else if(n){L(document,"touchmove",this._onTouchMove)}else{L(document,"mousemove",this._onTouchMove)}}else{L(_e,"dragend",this);L(Ie,"dragstart",this._onDragStart)}try{if(document.selection){It((function(){document.selection.empty()}))}else{window.getSelection().removeAllRanges()}}catch(i){}},_dragStarted:function e(t,n){Re=false;if(Ie&&_e){Ee("dragStarted",this,{evt:n});if(this.nativeDraggable){L(document,"dragover",pt)}var i=this.options;!t&&F(_e,i.dragClass,false);F(_e,i.ghostClass,true);vt.active=this;t&&this._appendGhost();De({sortable:this,name:"start",originalEvent:n})}else{this._nulling()}},_emulateDragOver:function e(){if(We){this._lastX=We.clientX;this._lastY=We.clientY;ft();var t=document.elementFromPoint(We.clientX,We.clientY);var n=t;while(t&&t.shadowRoot){t=t.shadowRoot.elementFromPoint(We.clientX,We.clientY);if(t===n)break;n=t}_e.parentNode[de]._isOutsideThisEl(t);if(n){do{if(n[de]){var i=void 0;i=n[de]._onDragOver({clientX:We.clientX,clientY:We.clientY,target:t,rootEl:n});if(i&&!this.options.dragoverBubble){break}}t=n}while(n=n.parentNode)}dt()}},_onTouchMove:function e(t){if(Ye){var n=this.options,i=n.fallbackTolerance,r=n.fallbackOffset,o=t.touches?t.touches[0]:t,a=Ce&&U(Ce,true),l=Ce&&a&&a.a,s=Ce&&a&&a.d,u=it&&Je&&ee(Je),c=(o.clientX-Ye.clientX+r.x)/(l||1)+(u?u[0]-Qe[0]:0)/(l||1),f=(o.clientY-Ye.clientY+r.y)/(s||1)+(u?u[1]-Qe[1]:0)/(s||1);if(!vt.active&&!Re){if(i&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<i){return}this._onDragStart(t,true)}if(Ce){if(a){a.e+=c-(He||0);a.f+=f-(je||0)}else{a={a:1,b:0,c:0,d:1,e:c,f:f}}var d="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");K(Ce,"webkitTransform",d);K(Ce,"mozTransform",d);K(Ce,"msTransform",d);K(Ce,"transform",d);He=c;je=f;We=o}t.cancelable&&t.preventDefault()}},_appendGhost:function e(){if(!Ce){var t=this.options.fallbackOnBody?document.body:Ie,n=q(_e,true,it,true,t),i=this.options;if(it){Je=t;while(K(Je,"position")==="static"&&K(Je,"transform")==="none"&&Je!==document){Je=Je.parentNode}if(Je!==document.body&&Je!==document.documentElement){if(Je===document)Je=V();n.top+=Je.scrollTop;n.left+=Je.scrollLeft}else{Je=V()}Qe=ee(Je)}Ce=i.ghostClone(_e);F(Ce,i.ghostClass,false);F(Ce,i.fallbackClass,true);F(Ce,i.dragClass,true);K(Ce,"transition","");K(Ce,"transform","");K(Ce,"box-sizing","border-box");K(Ce,"margin",0);K(Ce,"top",n.top);K(Ce,"left",n.left);K(Ce,"width",n.width);K(Ce,"height",n.height);K(Ce,"opacity","0.8");K(Ce,"position",it?"absolute":"fixed");K(Ce,"zIndex","100000");K(Ce,"pointerEvents","none");vt.ghost=Ce;t.appendChild(Ce);K(Ce,"transform-origin",Fe/parseInt(Ce.style.width)*100+"% "+Ke/parseInt(Ce.style.height)*100+"%")}},_onDragStart:function e(t,n){var i=this;var r=t.dataTransfer;var o=i.options;Ee("dragStart",this,{evt:t});if(vt.eventCanceled){this._onDrop();return}Ee("setupClone",this);if(!vt.eventCanceled){Oe=ue(_e);Oe.removeAttribute("id");Oe.draggable=false;Oe.style["will-change"]="";this._hideClone();F(Oe,this.options.chosenClass,false);vt.clone=Oe}i.cloneId=It((function(){Ee("clone",i);if(vt.eventCanceled)return;if(!i.options.removeCloneOnHide){Ie.insertBefore(Oe,_e)}i._hideClone();De({sortable:i,name:"clone"})}));!n&&F(_e,o.dragClass,true);if(n){Le=true;i._loopId=setInterval(i._emulateDragOver,50)}else{X(document,"mouseup",i._onDrop);X(document,"touchend",i._onDrop);X(document,"touchcancel",i._onDrop);if(r){r.effectAllowed="move";o.setData&&o.setData.call(i,r,_e)}L(document,"drop",i);K(_e,"transform","translateZ(0)")}Re=true;i._dragStartId=It(i._dragStarted.bind(i,n,t));L(document,"selectstart",i);Ue=true;if(N){K(document.body,"user-select","none")}},_onDragOver:function e(t){var n=this.el,i=t.target,r,o,a,l=this.options,s=l.group,u=vt.active,c=Pe===s,f=l.sort,d=Be||u,h,p=this,v=false;if(et)return;function g(e,l){Ee(e,p,m({evt:t,isOwner:c,axis:h?"vertical":"horizontal",revert:a,dragRect:r,targetRect:o,canSort:f,fromSortable:d,target:i,completed:y,onMove:function e(i,o){return mt(Ie,n,_e,r,i,q(i),t,o)},changed:w},l))}function b(){g("dragOverAnimationCapture");p.captureAnimationState();if(p!==d){d.captureAnimationState()}}function y(e){g("dragOverCompleted",{insertion:e});if(e){if(c){u._hideClone()}else{u._showClone(p)}if(p!==d){F(_e,Be?Be.options.ghostClass:u.options.ghostClass,false);F(_e,l.ghostClass,true)}if(Be!==p&&p!==vt.active){Be=p}else if(p===vt.active&&Be){Be=null}if(d===p){p._ignoreWhileAnimating=i}p.animateAll((function(){g("dragOverAnimationComplete");p._ignoreWhileAnimating=null}));if(p!==d){d.animateAll();d._ignoreWhileAnimating=null}}if(i===_e&&!_e.animated||i===n&&!i.animated){Ge=null}if(!l.dragoverBubble&&!t.rootEl&&i!==document){_e.parentNode[de]._isOutsideThisEl(t.target);!e&&ht(t)}!l.dragoverBubble&&t.stopPropagation&&t.stopPropagation();return v=true}function w(){ze=Q(_e);Ne=Q(_e,l.draggable);De({sortable:p,name:"change",toEl:n,newIndex:ze,newDraggableIndex:Ne,originalEvent:t})}if(t.preventDefault!==void 0){t.cancelable&&t.preventDefault()}i=H(i,l.draggable,n,true);g("dragOver");if(vt.eventCanceled)return v;if(_e.contains(t.target)||i.animated&&i.animatingX&&i.animatingY||p._ignoreWhileAnimating===i){return y(false)}Le=false;if(u&&!l.disabled&&(c?f||(a=Se!==Ie):Be===this||(this.lastPutMode=Pe.checkPull(this,u,_e,t))&&s.checkPut(this,u,_e,t))){h=this._getDirection(t,i)==="vertical";r=q(_e);g("dragOverValid");if(vt.eventCanceled)return v;if(a){Se=Ie;b();this._hideClone();g("revert");if(!vt.eventCanceled){if(xe){Ie.insertBefore(_e,xe)}else{Ie.appendChild(_e)}}return y(true)}var E=J(n,l.draggable);if(!E||Et(t,h,this)&&!E.animated){if(E===_e){return y(false)}if(E&&n===t.target){i=E}if(i){o=q(i)}if(mt(Ie,n,_e,r,i,o,t,!!i)!==false){b();if(E&&E.nextSibling){n.insertBefore(_e,E.nextSibling)}else{n.appendChild(_e)}Se=n;w();return y(true)}}else if(E&&wt(t,h,this)){var D=$(n,0,l,true);if(D===_e){return y(false)}i=D;o=q(i);if(mt(Ie,n,_e,r,i,o,t,false)!==false){b();n.insertBefore(_e,D);Se=n;w();return y(true)}}else if(i.parentNode===n){o=q(i);var _=0,S,C=_e.parentNode!==n,I=!st(_e.animated&&_e.toRect||r,i.animated&&i.toRect||o,h),x=h?"top":"left",A=Z(i,"top","top")||Z(_e,"top","top"),O=A?A.scrollTop:void 0;if(Ge!==i){S=o[x];qe=false;Ze=!I&&l.invertSwap||C}_=Dt(t,i,o,h,I?1:l.swapThreshold,l.invertedSwapThreshold==null?l.swapThreshold:l.invertedSwapThreshold,Ze,Ge===i);var T;if(_!==0){var M=Q(_e);do{M-=_;T=Se.children[M]}while(T&&(K(T,"display")==="none"||T===Ce))}if(_===0||T===i){return y(false)}Ge=i;Ve=_;var z=i.nextElementSibling,k=false;k=_===1;var N=mt(Ie,n,_e,r,i,o,t,k);if(N!==false){if(N===1||N===-1){k=N===1}et=true;setTimeout(yt,30);b();if(k&&!z){n.appendChild(_e)}else{i.parentNode.insertBefore(_e,k?z:i)}if(A){se(A,0,O-A.scrollTop)}Se=_e.parentNode;if(S!==undefined&&!Ze){$e=Math.abs(S-q(i)[x])}w();return y(true)}}if(n.contains(_e)){return y(false)}}return false},_ignoreWhileAnimating:null,_offMoveEvents:function e(){X(document,"mousemove",this._onTouchMove);X(document,"touchmove",this._onTouchMove);X(document,"pointermove",this._onTouchMove);X(document,"dragover",ht);X(document,"mousemove",ht);X(document,"touchmove",ht)},_offUpEvents:function e(){var t=this.el.ownerDocument;X(t,"mouseup",this._onDrop);X(t,"touchend",this._onDrop);X(t,"pointerup",this._onDrop);X(t,"touchcancel",this._onDrop);X(document,"selectstart",this)},_onDrop:function e(t){var n=this.el,i=this.options;ze=Q(_e);Ne=Q(_e,i.draggable);Ee("drop",this,{evt:t});Se=_e&&_e.parentNode;ze=Q(_e);Ne=Q(_e,i.draggable);if(vt.eventCanceled){this._nulling();return}Re=false;Ze=false;qe=false;clearInterval(this._loopId);clearTimeout(this._dragStartTimer);xt(this.cloneId);xt(this._dragStartId);if(this.nativeDraggable){X(document,"drop",this);X(n,"dragstart",this._onDragStart)}this._offMoveEvents();this._offUpEvents();if(N){K(document.body,"user-select","")}K(_e,"transform","");if(t){if(Ue){t.cancelable&&t.preventDefault();!i.dropBubble&&t.stopPropagation()}Ce&&Ce.parentNode&&Ce.parentNode.removeChild(Ce);if(Ie===Se||Be&&Be.lastPutMode!=="clone"){Oe&&Oe.parentNode&&Oe.parentNode.removeChild(Oe)}if(_e){if(this.nativeDraggable){X(_e,"dragend",this)}bt(_e);_e.style["will-change"]="";if(Ue&&!Re){F(_e,Be?Be.options.ghostClass:this.options.ghostClass,false)}F(_e,this.options.chosenClass,false);De({sortable:this,name:"unchoose",toEl:Se,newIndex:null,newDraggableIndex:null,originalEvent:t});if(Ie!==Se){if(ze>=0){De({rootEl:Se,name:"add",toEl:Se,fromEl:Ie,originalEvent:t});De({sortable:this,name:"remove",toEl:Se,originalEvent:t});De({rootEl:Se,name:"sort",toEl:Se,fromEl:Ie,originalEvent:t});De({sortable:this,name:"sort",toEl:Se,originalEvent:t})}Be&&Be.save()}else{if(ze!==Me){if(ze>=0){De({sortable:this,name:"update",toEl:Se,originalEvent:t});De({sortable:this,name:"sort",toEl:Se,originalEvent:t})}}}if(vt.active){if(ze==null||ze===-1){ze=Me;Ne=ke}De({sortable:this,name:"end",toEl:Se,originalEvent:t});this.save()}}}this._nulling()},_nulling:function e(){Ee("nulling",this);Ie=_e=Se=Ce=xe=Oe=Ae=Te=Ye=We=Ue=ze=Ne=Me=ke=Ge=Ve=Be=Pe=vt.dragged=vt.ghost=vt.clone=vt.active=null;tt.forEach((function(e){e.checked=true}));tt.length=He=je=0},handleEvent:function e(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":if(_e){this._onDragOver(t);gt(t)}break;case"selectstart":t.preventDefault();break}},toArray:function e(){var t=[],n,i=this.el.children,r=0,o=i.length,a=this.options;for(;r<o;r++){n=i[r];if(H(n,a.draggable,this.el,false)){t.push(n.getAttribute(a.dataIdAttr)||St(n))}}return t},sort:function e(t,n){var i={},r=this.el;this.toArray().forEach((function(e,t){var n=r.children[t];if(H(n,this.options.draggable,r,false)){i[e]=n}}),this);n&&this.captureAnimationState();t.forEach((function(e){if(i[e]){r.removeChild(i[e]);r.appendChild(i[e])}}));n&&this.animateAll()},save:function e(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function e(t,n){return H(t,n||this.options.draggable,this.el,false)},option:function e(t,n){var i=this.options;if(n===void 0){return i[t]}else{var r=be.modifyOption(this,t,n);if(typeof r!=="undefined"){i[t]=r}else{i[t]=n}if(t==="group"){ct(i)}}},destroy:function e(){Ee("destroy",this);var t=this.el;t[de]=null;X(t,"mousedown",this._onTapStart);X(t,"touchstart",this._onTapStart);X(t,"pointerdown",this._onTapStart);if(this.nativeDraggable){X(t,"dragover",this);X(t,"dragenter",this)}Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")}));this._onDrop();this._disableDelayedDragEvents();Xe.splice(Xe.indexOf(this.el),1);this.el=t=null},_hideClone:function e(){if(!Te){Ee("hideClone",this);if(vt.eventCanceled)return;K(Oe,"display","none");if(this.options.removeCloneOnHide&&Oe.parentNode){Oe.parentNode.removeChild(Oe)}Te=true}},_showClone:function e(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(Te){Ee("showClone",this);if(vt.eventCanceled)return;if(_e.parentNode==Ie&&!this.options.group.revertClone){Ie.insertBefore(Oe,_e)}else if(xe){Ie.insertBefore(Oe,xe)}else{Ie.appendChild(Oe)}if(this.options.group.revertClone){this.animate(_e,Oe)}K(Oe,"display","");Te=false}}};function gt(e){if(e.dataTransfer){e.dataTransfer.dropEffect="move"}e.cancelable&&e.preventDefault()}function mt(e,t,n,i,r,o,a,l){var s,u=e[de],c=u.options.onMove,f;if(window.CustomEvent&&!M&&!z){s=new CustomEvent("move",{bubbles:true,cancelable:true})}else{s=document.createEvent("Event");s.initEvent("move",true,true)}s.to=t;s.from=e;s.dragged=n;s.draggedRect=i;s.related=r||t;s.relatedRect=o||q(t);s.willInsertAfter=l;s.originalEvent=a;e.dispatchEvent(s);if(c){f=c.call(u,s,a)}return f}function bt(e){e.draggable=false}function yt(){et=false}function wt(e,t,n){var i=q($(n.el,0,n.options,true));var r=10;return t?e.clientX<i.left-r||e.clientY<i.top&&e.clientX<i.right:e.clientY<i.top-r||e.clientY<i.bottom&&e.clientX<i.left}function Et(e,t,n){var i=q(J(n.el,n.options.draggable));var r=10;return t?e.clientX>i.right+r||e.clientX<=i.right&&e.clientY>i.bottom&&e.clientX>=i.left:e.clientX>i.right&&e.clientY>i.top||e.clientX<=i.right&&e.clientY>i.bottom+r}function Dt(e,t,n,i,r,o,a,l){var s=i?e.clientY:e.clientX,u=i?n.height:n.width,c=i?n.top:n.left,f=i?n.bottom:n.right,d=false;if(!a){if(l&&$e<u*r){if(!qe&&(Ve===1?s>c+u*o/2:s<f-u*o/2)){qe=true}if(!qe){if(Ve===1?s<c+$e:s>f-$e){return-Ve}}else{d=true}}else{if(s>c+u*(1-r)/2&&s<f-u*(1-r)/2){return _t(t)}}}d=d||a;if(d){if(s<c+u*o/2||s>f-u*o/2){return s>c+u/2?1:-1}}return 0}function _t(e){if(Q(_e)<Q(e)){return 1}else{return-1}}function St(e){var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,i=0;while(n--){i+=t.charCodeAt(n)}return i.toString(36)}function Ct(e){tt.length=0;var t=e.getElementsByTagName("input");var n=t.length;while(n--){var i=t[n];i.checked&&tt.push(i)}}function It(e){return setTimeout(e,0)}function xt(e){return clearTimeout(e)}if(nt){L(document,"touchmove",(function(e){if((vt.active||Re)&&e.cancelable){e.preventDefault()}}))}vt.utils={on:L,off:X,css:K,find:G,is:function e(t,n){return!!H(t,n,t,false)},extend:ie,throttle:ae,closest:H,toggleClass:F,clone:ue,index:Q,nextTick:It,cancelNextTick:xt,detectDirection:lt,getChild:$};vt.get=function(e){return e[de]};vt.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}if(t[0].constructor===Array)t=t[0];t.forEach((function(e){if(!e.prototype||!e.prototype.constructor){throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e))}if(e.utils)vt.utils=m(m({},vt.utils),e.utils);be.mount(e)}))};vt.create=function(e,t){return new vt(e,t)};vt.version=O;var At=[],Ot,Tt,Mt=false,zt,kt,Nt,Pt;function Bt(){function e(){this.defaults={scroll:true,forceAutoScrollFallback:false,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:true};for(var e in this){if(e.charAt(0)==="_"&&typeof this[e]==="function"){this[e]=this[e].bind(this)}}}e.prototype={dragStarted:function e(t){var n=t.originalEvent;if(this.sortable.nativeDraggable){L(document,"dragover",this._handleAutoScroll)}else{if(this.options.supportPointer){L(document,"pointermove",this._handleFallbackAutoScroll)}else if(n.touches){L(document,"touchmove",this._handleFallbackAutoScroll)}else{L(document,"mousemove",this._handleFallbackAutoScroll)}}},dragOverCompleted:function e(t){var n=t.originalEvent;if(!this.options.dragOverBubble&&!n.rootEl){this._handleAutoScroll(n)}},drop:function e(){if(this.sortable.nativeDraggable){X(document,"dragover",this._handleAutoScroll)}else{X(document,"pointermove",this._handleFallbackAutoScroll);X(document,"touchmove",this._handleFallbackAutoScroll);X(document,"mousemove",this._handleFallbackAutoScroll)}Lt();Rt();le()},nulling:function e(){Nt=Tt=Ot=Mt=Pt=zt=kt=null;At.length=0},_handleFallbackAutoScroll:function e(t){this._handleAutoScroll(t,true)},_handleAutoScroll:function e(t,n){var i=this;var r=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,a=document.elementFromPoint(r,o);Nt=t;if(n||this.options.forceAutoScrollFallback||z||M||N){Xt(t,this.options,a,n);var l=ne(a,true);if(Mt&&(!Pt||r!==zt||o!==kt)){Pt&&Lt();Pt=setInterval((function(){var e=ne(document.elementFromPoint(r,o),true);if(e!==l){l=e;Rt()}Xt(t,i.options,e,n)}),10);zt=r;kt=o}}else{if(!this.options.bubbleScroll||ne(a,true)===V()){Rt();return}Xt(t,this.options,ne(a,false),false)}}};return w(e,{pluginName:"scroll",initializeByDefault:true})}function Rt(){At.forEach((function(e){clearInterval(e.pid)}));At=[]}function Lt(){clearInterval(Pt)}var Xt=ae((function(e,t,n,i){if(!t.scroll)return;var r=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,l=t.scrollSpeed,s=V();var u=false,c;if(Tt!==n){Tt=n;Rt();Ot=t.scroll;c=t.scrollFn;if(Ot===true){Ot=ne(n,true)}}var f=0;var d=Ot;do{var h=d,p=q(h),v=p.top,g=p.bottom,m=p.left,b=p.right,y=p.width,w=p.height,E=void 0,D=void 0,_=h.scrollWidth,S=h.scrollHeight,C=K(h),I=h.scrollLeft,x=h.scrollTop;if(h===s){E=y<_&&(C.overflowX==="auto"||C.overflowX==="scroll"||C.overflowX==="visible");D=w<S&&(C.overflowY==="auto"||C.overflowY==="scroll"||C.overflowY==="visible")}else{E=y<_&&(C.overflowX==="auto"||C.overflowX==="scroll");D=w<S&&(C.overflowY==="auto"||C.overflowY==="scroll")}var A=E&&(Math.abs(b-r)<=a&&I+y<_)-(Math.abs(m-r)<=a&&!!I);var O=D&&(Math.abs(g-o)<=a&&x+w<S)-(Math.abs(v-o)<=a&&!!x);if(!At[f]){for(var T=0;T<=f;T++){if(!At[T]){At[T]={}}}}if(At[f].vx!=A||At[f].vy!=O||At[f].el!==h){At[f].el=h;At[f].vx=A;At[f].vy=O;clearInterval(At[f].pid);if(A!=0||O!=0){u=true;At[f].pid=setInterval(function(){if(i&&this.layer===0){vt.active._onTouchMove(Nt)}var t=At[this.layer].vy?At[this.layer].vy*l:0;var n=At[this.layer].vx?At[this.layer].vx*l:0;if(typeof c==="function"){if(c.call(vt.dragged.parentNode[de],n,t,e,Nt,At[this.layer].el)!=="continue"){return}}se(At[this.layer].el,n,t)}.bind({layer:f}),24)}}f++}while(t.bubbleScroll&&d!==s&&(d=ne(d,false)));Mt=u}),30);var Yt=function e(t){var n=t.originalEvent,i=t.putSortable,r=t.dragEl,o=t.activeSortable,a=t.dispatchSortableEvent,l=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(!n)return;var u=i||o;l();var c=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n;var f=document.elementFromPoint(c.clientX,c.clientY);s();if(u&&!u.el.contains(f)){a("spill");this.onSpill({dragEl:r,putSortable:i})}};function Wt(){}Wt.prototype={startIndex:null,dragStart:function e(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function e(t){var n=t.dragEl,i=t.putSortable;this.sortable.captureAnimationState();if(i){i.captureAnimationState()}var r=$(this.sortable.el,this.startIndex,this.options);if(r){this.sortable.el.insertBefore(n,r)}else{this.sortable.el.appendChild(n)}this.sortable.animateAll();if(i){i.animateAll()}},drop:Yt};w(Wt,{pluginName:"revertOnSpill"});function Ht(){}Ht.prototype={onSpill:function e(t){var n=t.dragEl,i=t.putSortable;var r=i||this.sortable;r.captureAnimationState();n.parentNode&&n.parentNode.removeChild(n);r.animateAll()},drop:Yt};w(Ht,{pluginName:"removeOnSpill"});var jt;function Ft(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}e.prototype={dragStart:function e(t){var n=t.dragEl;jt=n},dragOverValid:function e(t){var n=t.completed,i=t.target,r=t.onMove,o=t.activeSortable,a=t.changed,l=t.cancel;if(!o.options.swap)return;var s=this.sortable.el,u=this.options;if(i&&i!==s){var c=jt;if(r(i)!==false){F(i,u.swapClass,true);jt=i}else{jt=null}if(c&&c!==jt){F(c,u.swapClass,false)}}a();n(true);l()},drop:function e(t){var n=t.activeSortable,i=t.putSortable,r=t.dragEl;var o=i||this.sortable;var a=this.options;jt&&F(jt,a.swapClass,false);if(jt&&(a.swap||i&&i.options.swap)){if(r!==jt){o.captureAnimationState();if(o!==n)n.captureAnimationState();Kt(r,jt);o.animateAll();if(o!==n)n.animateAll()}}},nulling:function e(){jt=null}};return w(e,{pluginName:"swap",eventProperties:function e(){return{swapItem:jt}}})}function Kt(e,t){var n=e.parentNode,i=t.parentNode,r,o;if(!n||!i||n.isEqualNode(t)||i.isEqualNode(e))return;r=Q(e);o=Q(t);if(n.isEqualNode(i)&&r<o){o++}n.insertBefore(t,n.children[r]);i.insertBefore(e,i.children[o])}var Ut=[],Gt=[],Vt,qt,Zt=false,$t=false,Jt=false,Qt,en,tn;function nn(){function e(e){for(var t in this){if(t.charAt(0)==="_"&&typeof this[t]==="function"){this[t]=this[t].bind(this)}}if(!e.options.avoidImplicitDeselect){if(e.options.supportPointer){L(document,"pointerup",this._deselectMultiDrag)}else{L(document,"mouseup",this._deselectMultiDrag);L(document,"touchend",this._deselectMultiDrag)}}L(document,"keydown",this._checkKeyDown);L(document,"keyup",this._checkKeyUp);this.defaults={selectedClass:"sortable-selected",multiDragKey:null,avoidImplicitDeselect:false,setData:function t(n,i){var r="";if(Ut.length&&qt===e){Ut.forEach((function(e,t){r+=(!t?"":", ")+e.textContent}))}else{r=i.textContent}n.setData("Text",r)}}}e.prototype={multiDragKeyDown:false,isMultiDrag:false,delayStartGlobal:function e(t){var n=t.dragEl;Qt=n},delayEnded:function e(){this.isMultiDrag=~Ut.indexOf(Qt)},setupClone:function e(t){var n=t.sortable,i=t.cancel;if(!this.isMultiDrag)return;for(var r=0;r<Ut.length;r++){Gt.push(ue(Ut[r]));Gt[r].sortableIndex=Ut[r].sortableIndex;Gt[r].draggable=false;Gt[r].style["will-change"]="";F(Gt[r],this.options.selectedClass,false);Ut[r]===Qt&&F(Gt[r],this.options.chosenClass,false)}n._hideClone();i()},clone:function e(t){var n=t.sortable,i=t.rootEl,r=t.dispatchSortableEvent,o=t.cancel;if(!this.isMultiDrag)return;if(!this.options.removeCloneOnHide){if(Ut.length&&qt===n){on(true,i);r("clone");o()}}},showClone:function e(t){var n=t.cloneNowShown,i=t.rootEl,r=t.cancel;if(!this.isMultiDrag)return;on(false,i);Gt.forEach((function(e){K(e,"display","")}));n();tn=false;r()},hideClone:function e(t){var n=this;var i=t.cloneNowHidden,r=t.cancel;if(!this.isMultiDrag)return;Gt.forEach((function(e){K(e,"display","none");if(n.options.removeCloneOnHide&&e.parentNode){e.parentNode.removeChild(e)}}));i();tn=true;r()},dragStartGlobal:function e(t){if(!this.isMultiDrag&&qt){qt.multiDrag._deselectMultiDrag()}Ut.forEach((function(e){e.sortableIndex=Q(e)}));Ut=Ut.sort((function(e,t){return e.sortableIndex-t.sortableIndex}));Jt=true},dragStarted:function e(t){var n=this;var i=t.sortable;if(!this.isMultiDrag)return;if(this.options.sort){i.captureAnimationState();if(this.options.animation){Ut.forEach((function(e){if(e===Qt)return;K(e,"position","absolute")}));var r=q(Qt,false,true,true);Ut.forEach((function(e){if(e===Qt)return;ce(e,r)}));$t=true;Zt=true}}i.animateAll((function(){$t=false;Zt=false;if(n.options.animation){Ut.forEach((function(e){fe(e)}))}if(n.options.sort){an()}}))},dragOver:function e(t){var n=t.target,i=t.completed,r=t.cancel;if($t&&~Ut.indexOf(n)){i(false);r()}},revert:function e(t){var n=t.fromSortable,i=t.rootEl,r=t.sortable,o=t.dragRect;if(Ut.length>1){Ut.forEach((function(e){r.addAnimationState({target:e,rect:$t?q(e):o});fe(e);e.fromRect=o;n.removeAnimationState(e)}));$t=false;rn(!this.options.removeCloneOnHide,i)}},dragOverCompleted:function e(t){var n=t.sortable,i=t.isOwner,r=t.insertion,o=t.activeSortable,a=t.parentEl,l=t.putSortable;var s=this.options;if(r){if(i){o._hideClone()}Zt=false;if(s.animation&&Ut.length>1&&($t||!i&&!o.options.sort&&!l)){var u=q(Qt,false,true,true);Ut.forEach((function(e){if(e===Qt)return;ce(e,u);a.appendChild(e)}));$t=true}if(!i){if(!$t){an()}if(Ut.length>1){var c=tn;o._showClone(n);if(o.options.animation&&!tn&&c){Gt.forEach((function(e){o.addAnimationState({target:e,rect:en});e.fromRect=en;e.thisAnimationDuration=null}))}}else{o._showClone(n)}}}},dragOverAnimationCapture:function e(t){var n=t.dragRect,i=t.isOwner,r=t.activeSortable;Ut.forEach((function(e){e.thisAnimationDuration=null}));if(r.options.animation&&!i&&r.multiDrag.isMultiDrag){en=w({},n);var o=U(Qt,true);en.top-=o.f;en.left-=o.e}},dragOverAnimationComplete:function e(){if($t){$t=false;an()}},drop:function e(t){var n=t.originalEvent,i=t.rootEl,r=t.parentEl,o=t.sortable,a=t.dispatchSortableEvent,l=t.oldIndex,s=t.putSortable;var u=s||this.sortable;if(!n)return;var c=this.options,f=r.children;if(!Jt){if(c.multiDragKey&&!this.multiDragKeyDown){this._deselectMultiDrag()}F(Qt,c.selectedClass,!~Ut.indexOf(Qt));if(!~Ut.indexOf(Qt)){Ut.push(Qt);ye({sortable:o,rootEl:i,name:"select",targetEl:Qt,originalEvent:n});if(n.shiftKey&&Vt&&o.el.contains(Vt)){var d=Q(Vt),h=Q(Qt);if(~d&&~h&&d!==h){var p,v;if(h>d){v=d;p=h}else{v=h;p=d+1}for(;v<p;v++){if(~Ut.indexOf(f[v]))continue;F(f[v],c.selectedClass,true);Ut.push(f[v]);ye({sortable:o,rootEl:i,name:"select",targetEl:f[v],originalEvent:n})}}}else{Vt=Qt}qt=u}else{Ut.splice(Ut.indexOf(Qt),1);Vt=null;ye({sortable:o,rootEl:i,name:"deselect",targetEl:Qt,originalEvent:n})}}if(Jt&&this.isMultiDrag){$t=false;if((r[de].options.sort||r!==i)&&Ut.length>1){var g=q(Qt),m=Q(Qt,":not(."+this.options.selectedClass+")");if(!Zt&&c.animation)Qt.thisAnimationDuration=null;u.captureAnimationState();if(!Zt){if(c.animation){Qt.fromRect=g;Ut.forEach((function(e){e.thisAnimationDuration=null;if(e!==Qt){var t=$t?q(e):g;e.fromRect=t;u.addAnimationState({target:e,rect:t})}}))}an();Ut.forEach((function(e){if(f[m]){r.insertBefore(e,f[m])}else{r.appendChild(e)}m++}));if(l===Q(Qt)){var b=false;Ut.forEach((function(e){if(e.sortableIndex!==Q(e)){b=true;return}}));if(b){a("update")}}}Ut.forEach((function(e){fe(e)}));u.animateAll()}qt=u}if(i===r||s&&s.lastPutMode!=="clone"){Gt.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function e(){this.isMultiDrag=Jt=false;Gt.length=0},destroyGlobal:function e(){this._deselectMultiDrag();X(document,"pointerup",this._deselectMultiDrag);X(document,"mouseup",this._deselectMultiDrag);X(document,"touchend",this._deselectMultiDrag);X(document,"keydown",this._checkKeyDown);X(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function e(t){if(typeof Jt!=="undefined"&&Jt)return;if(qt!==this.sortable)return;if(t&&H(t.target,this.options.draggable,this.sortable.el,false))return;if(t&&t.button!==0)return;while(Ut.length){var n=Ut[0];F(n,this.options.selectedClass,false);Ut.shift();ye({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:n,originalEvent:t})}},_checkKeyDown:function e(t){if(t.key===this.options.multiDragKey){this.multiDragKeyDown=true}},_checkKeyUp:function e(t){if(t.key===this.options.multiDragKey){this.multiDragKeyDown=false}}};return w(e,{pluginName:"multiDrag",utils:{select:function e(t){var n=t.parentNode[de];if(!n||!n.options.multiDrag||~Ut.indexOf(t))return;if(qt&&qt!==n){qt.multiDrag._deselectMultiDrag();qt=n}F(t,n.options.selectedClass,true);Ut.push(t)},deselect:function e(t){var n=t.parentNode[de],i=Ut.indexOf(t);if(!n||!n.options.multiDrag||!~i)return;F(t,n.options.selectedClass,false);Ut.splice(i,1)}},eventProperties:function e(){var t=this;var n=[],i=[];Ut.forEach((function(e){n.push({multiDragElement:e,index:e.sortableIndex});var r;if($t&&e!==Qt){r=-1}else if($t){r=Q(e,":not(."+t.options.selectedClass+")")}else{r=Q(e)}i.push({multiDragElement:e,index:r})}));return{items:_(Ut),clones:[].concat(Gt),oldIndicies:n,newIndicies:i}},optionListeners:{multiDragKey:function e(t){t=t.toLowerCase();if(t==="ctrl"){t="Control"}else if(t.length>1){t=t.charAt(0).toUpperCase()+t.substr(1)}return t}}})}function rn(e,t){Ut.forEach((function(n,i){var r=t.children[n.sortableIndex+(e?Number(i):0)];if(r){t.insertBefore(n,r)}else{t.appendChild(n)}}))}function on(e,t){Gt.forEach((function(n,i){var r=t.children[n.sortableIndex+(e?Number(i):0)];if(r){t.insertBefore(n,r)}else{t.appendChild(n)}}))}function an(){Ut.forEach((function(e){if(e===Qt)return;e.parentNode&&e.parentNode.removeChild(e)}))}vt.mount(new Bt);vt.mount(Ht,Wt);vt.mount(new Ft);vt.mount(new nn);var ln='.sc-stzh-sortable-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-sortable-h{display:none}.sc-stzh-sortable-h *.sc-stzh-sortable,.sc-stzh-sortable-h *.sc-stzh-sortable::before,.sc-stzh-sortable-h *.sc-stzh-sortable::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-sortable-h{--cursor:grab;--grabbing-cursor:grabbing;--unselected-item-opacity:0.6;--ghost-item-background:var(--stzh-color-grey5);--ghost-item-box-shadow:inset 0 0 0.5rem rgba(0, 0, 0, 0.32)}[disabled].sc-stzh-sortable-h{--cursor:inherit}.sc-stzh-sortable-h[disabled] .sc-stzh-sortable-s *.is-sortable-item{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item{position:relative;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:var(--cursor)}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-drag,.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-chosen,.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-ghost,.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-selected{cursor:var(--grabbing-cursor)}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-drag{opacity:1 !important}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-ghost{z-index:0}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-ghost::after{z-index:99;content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:var(--ghost-item-background);-webkit-box-shadow:var(--ghost-item-box-shadow);box-shadow:var(--ghost-item-box-shadow)}.sc-stzh-sortable-h .sc-stzh-sortable-s>*.has-item-selected>*.is-sortable-item{opacity:var(--unselected-item-opacity)}.sc-stzh-sortable-h .sc-stzh-sortable-s>*.has-item-selected>*.is-sortable-item.is-selected{opacity:1}.stzh-sortable__description.sc-stzh-sortable,.stzh-sortable__aria-live.sc-stzh-sortable{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}';var sn="is-sortable-item";var un="is-ghost";var cn="is-selected";var fn="is-chosen";var dn="is-drag";var hn="has-item-selected";var pn=0;var vn=e("stzh_sortable",function(){function e(e){var i=this;t(this,e);this.stzhUpdate=n(this,"stzhUpdate",7);this.stzhDisable=n(this,"stzhDisable",7);this.selectedItem=null;this.resetItemOnBlur=false;this.init=function(){if(!i.getContainer()||i.disabled){return}i.setAttributes()};this.updated=function(e){return __awaiter(i,void 0,void 0,(function(){var t,n,i,r,o;var a;return __generator(this,(function(l){switch(l.label){case 0:if(e){t=e.newIndex;n=e.oldIndex;i=e.item}else{t=this.getIndexOfSelectedItem();n=this.lastIndex;i=this.selectedItem}if(!(t!==n))return[3,2];o=(r=this.stzhUpdate).emit;a={component:"stzh-sortable"};return[4,this.toArray()];case 1:o.apply(r,[(a.data=l.sent(),a.item=i,a.newIndex=t,a.oldIndex=n,a)]);l.label=2;case 2:return[2]}}))}))};this.onKeydown=function(e){var t=e.currentTarget;var n=e.target;if(!i.getContainer()||i.disabled||t!==n){return}if(e.key===" "){e.preventDefault();if(!i.selectedItem){i.selectedItem=t;i.selectedItem.parentElement.classList.add(hn);i.selectedItem.classList.add(cn);i.lastIndex=i.getIndexOfSelectedItem();i.resetItemOnBlur=true;i.updateAriaLive(i.localization.started)}else{i.resetItemOnBlur=false;i.updateAriaLive(i.localization.dropped);i.updated();i.resetActiveItem()}}else if(e.key==="Tab"&&i.selectedItem&&i.selectedItem===e.currentTarget){e.preventDefault()}else if(e.key==="Escape"&&i.selectedItem){i.resetItemOnBlur=false;i.updateAriaLive(i.localization.canceled);i.resetActiveItem(true)}else if(e.key==="ArrowUp"){e.preventDefault();if(i.selectedItem){i.moveItem(i.selectedItem,"up")}else{i.focusItem(t.previousElementSibling)}}else if(e.key==="ArrowDown"){e.preventDefault();if(i.selectedItem){i.moveItem(i.selectedItem,"down")}else{i.focusItem(t.nextElementSibling)}}};this.onBlur=function(){if(i.resetItemOnBlur){i.resetItemOnBlur=false;i.updateAriaLive(i.localization.dropped);i.updated();i.resetActiveItem()}};this.localization=undefined;this.disabled=false;this.dataIdAttribute="data-id";this.container=function(){var e;return(e=i.containerElement)===null||e===void 0?void 0:e.firstElementChild};this.ghostClone=function(e){var t=a(e)[0];return t};this.filterElements=["[data-stzh-sortable-filtered]","[sortable-disabled]","button","a[href]","input","select","textarea","label","iframe","details","area","stzh-sortable"]}e.prototype.toArray=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.sortable.toArray()]}))}))};e.prototype.sort=function(e,t){if(t===void 0){t=true}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,this.sortable.sort(e,t)]}))}))};e.prototype.moveItem=function(e,t){return __awaiter(this,void 0,void 0,(function(){var n,i,r,o;var a;return __generator(this,(function(l){switch(l.label){case 0:if(!e||!e.nextElementSibling&&t==="down"||!e.previousElementSibling&&t==="up"){return[2]}this.resetItemOnBlur=false;if(t==="up"){e.previousElementSibling.before(e)}else if(t==="down"){e.nextElementSibling.after(e)}this.updateAriaLive(this.localization.moved,e);this.focusItem(e);i=Array.from((n=e.parentElement)===null||n===void 0?void 0:n.children).indexOf(e);o=(r=this.stzhUpdate).emit;a={component:"stzh-sortable"};return[4,this.toArray()];case 1:o.apply(r,[(a.data=l.sent(),a.item=e,a.newIndex=i,a.oldIndex=i+(t==="up"?1:-1),a)]);this.resetItemOnBlur=true;return[2]}}))}))};e.prototype.disabledWatcher=function(e){if(e){this.setAttributes()}else{this.unsetAttributes()}this.stzhDisable.emit({component:"stzh-sortable",disabled:e})};e.prototype.filterElementsWatcher=function(e){if(typeof e==="string"){this._filterElements=JSON.parse(e)}else{this._filterElements=e}};e.prototype.getContainer=function(){return typeof this.container==="function"?this.container():this.container};e.prototype.updateAriaLive=function(e,t){if(t===void 0){t=this.selectedItem}if(!this.getContainer()){return}if(t){var n=t.getAttribute("aria-label")||"";var i=this.getIndexOfSelectedItem(t);e=e.replace("{title}",n).replace("{current}",(i+1).toString())}var r=this.getContainer().children.length;e=e.replace("{total}",r.toString());this.ariaLiveElement.textContent=e};e.prototype.getIndexOfSelectedItem=function(e){if(e===void 0){e=this.selectedItem}if(e){return Array.from(e.parentElement.children).indexOf(e)}};e.prototype.resetActiveItem=function(e){if(e===void 0){e=false}if(!this.selectedItem){return}var t=this.getIndexOfSelectedItem();var n=this.selectedItem.parentElement;if(e&&this.lastIndex!==t){if(this.lastIndex>t){n.children[this.lastIndex].after(this.selectedItem)}else{n.children[this.lastIndex].before(this.selectedItem)}this.selectedItem.focus()}n.classList.remove(hn);this.selectedItem.classList.remove(cn);this.selectedItem=null;this.lastIndex=null};e.prototype.focusItem=function(e){if(!e){return}e.focus();var t=document.querySelector("stzh-flyingfocus");if(t){t.reposition()}v(e,{scrollMode:"if-needed",block:"nearest",inline:"nearest"})};e.prototype.setAttributes=function(){var e=this;Array.from(this.getContainer().children).forEach((function(t){t.classList.add(sn);t.addEventListener("blur",e.onBlur);t.addEventListener("keydown",e.onKeydown);t.setAttribute("tabindex","0");t.setAttribute("aria-describedby","".concat(e.sortableId,"-description"))}))};e.prototype.unsetAttributes=function(){var e=this;Array.from(this.getContainer().children).forEach((function(t){t.classList.remove(sn);t.removeEventListener("blur",e.onBlur);t.removeEventListener("keydown",e.onKeydown);t.removeAttribute("tabindex");t.removeAttribute("aria-describedby")}))};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:this.sortableId="stzh-sortable-".concat(pn++);this.filterElementsWatcher(this.filterElements);if(!!this.localization)return[3,2];e=this;return[4,l(this.element,"sortable")];case 1:e.localization=t.sent();t.label=2;case 2:return[2]}}))}))};e.prototype.componentWillUpdate=function(){if(this.sortable){this.sortable.destroy();this.sortable=null}};e.prototype.componentDidRender=function(){if(this.sortable){return}this.sortable=new vt(this.getContainer(),{animation:150,filter:this._filterElements.join(", "),ghostClass:un,chosenClass:fn,dragClass:dn,dataIdAttr:this.dataIdAttribute,preventOnFilter:false,forceFallback:true,delay:200,delayOnTouchOnly:true,disabled:this.disabled,ghostClone:this.ghostClone,onUpdate:this.updated})};e.prototype.connectedCallback=function(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};e.prototype.disconnectedCallback=function(){this.observer.disconnect();this.unsetAttributes();if(this.sortable){this.sortable.destroy();this.sortable=null}};e.prototype.render=function(){var e=this;var t={"stzh-sortable":true,"stzh-sortable--disabled":this.disabled};return i(r,null,i("div",{class:t},i("div",{id:"".concat(this.sortableId,"-description"),class:"stzh-sortable__description"},this.localization.description),i("div",{ref:function(t){return e.ariaLiveElement=t},"aria-live":"assertive",class:"stzh-sortable__aria-live"}),i("div",{ref:function(t){return e.containerElement=t},class:"stzh-sortable__container"},i("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{disabled:["disabledWatcher"],filterElements:["filterElementsWatcher"]}},enumerable:false,configurable:true});return e}());vn.style=ln}}}));
|
|
7
|
+
*/function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);if(t){i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))}n.push.apply(n,i)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};if(t%2){g(Object(n),true).forEach((function(t){y(e,t,n[t])}))}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(e,Object.getOwnPropertyDescriptors(n))}else{g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}}return e}function b(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){b=function(e){return typeof e}}else{b=function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return b(e)}function y(e,t,n){if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}function w(){w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n){if(Object.prototype.hasOwnProperty.call(n,i)){e[i]=n[i]}}}return e};return w.apply(this,arguments)}function E(e,t){if(e==null)return{};var n={};var i=Object.keys(e);var r,o;for(o=0;o<i.length;o++){r=i[o];if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function D(e,t){if(e==null)return{};var n=E(e,t);var i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++){i=o[r];if(t.indexOf(i)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(e,i))continue;n[i]=e[i]}}return n}function _(e){return S(e)||C(e)||I(e)||A()}function S(e){if(Array.isArray(e))return x(e)}function C(e){if(typeof Symbol!=="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function I(e,t){if(!e)return;if(typeof e==="string")return x(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor)n=e.constructor.name;if(n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(e,t)}function x(e,t){if(t==null||t>e.length)t=e.length;for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function A(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var O="1.15.0";function T(e){if(typeof window!=="undefined"&&window.navigator){return!!navigator.userAgent.match(e)}}var M=T(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i);var z=T(/Edge/i);var k=T(/firefox/i);var N=T(/safari/i)&&!T(/chrome/i)&&!T(/android/i);var P=T(/iP(ad|od|hone)/i);var B=T(/chrome/i)&&T(/android/i);var R={capture:false,passive:false};function L(e,t,n){e.addEventListener(t,n,!M&&R)}function X(e,t,n){e.removeEventListener(t,n,!M&&R)}function Y(e,t){if(!t)return;t[0]===">"&&(t=t.substring(1));if(e){try{if(e.matches){return e.matches(t)}else if(e.msMatchesSelector){return e.msMatchesSelector(t)}else if(e.webkitMatchesSelector){return e.webkitMatchesSelector(t)}}catch(n){return false}}return false}function W(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function H(e,t,n,i){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&Y(e,t):Y(e,t))||i&&e===n){return e}if(e===n)break}while(e=W(e))}return null}var j=/\s+/g;function F(e,t,n){if(e&&t){if(e.classList){e.classList[n?"add":"remove"](t)}else{var i=(" "+e.className+" ").replace(j," ").replace(" "+t+" "," ");e.className=(i+(n?" "+t:"")).replace(j," ")}}}function K(e,t,n){var i=e&&e.style;if(i){if(n===void 0){if(document.defaultView&&document.defaultView.getComputedStyle){n=document.defaultView.getComputedStyle(e,"")}else if(e.currentStyle){n=e.currentStyle}return t===void 0?n:n[t]}else{if(!(t in i)&&t.indexOf("webkit")===-1){t="-webkit-"+t}i[t]=n+(typeof n==="string"?"":"px")}}}function U(e,t){var n="";if(typeof e==="string"){n=e}else{do{var i=K(e,"transform");if(i&&i!=="none"){n=i+" "+n}}while(!t&&(e=e.parentNode))}var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function G(e,t,n){if(e){var i=e.getElementsByTagName(t),r=0,o=i.length;if(n){for(;r<o;r++){n(i[r],r)}}return i}return[]}function V(){var e=document.scrollingElement;if(e){return e}else{return document.documentElement}}function q(e,t,n,i,r){if(!e.getBoundingClientRect&&e!==window)return;var o,a,l,s,u,c,f;if(e!==window&&e.parentNode&&e!==V()){o=e.getBoundingClientRect();a=o.top;l=o.left;s=o.bottom;u=o.right;c=o.height;f=o.width}else{a=0;l=0;s=window.innerHeight;u=window.innerWidth;c=window.innerHeight;f=window.innerWidth}if((t||n)&&e!==window){r=r||e.parentNode;if(!M){do{if(r&&r.getBoundingClientRect&&(K(r,"transform")!=="none"||n&&K(r,"position")!=="static")){var d=r.getBoundingClientRect();a-=d.top+parseInt(K(r,"border-top-width"));l-=d.left+parseInt(K(r,"border-left-width"));s=a+o.height;u=l+o.width;break}}while(r=r.parentNode)}}if(i&&e!==window){var h=U(r||e),p=h&&h.a,v=h&&h.d;if(h){a/=v;l/=p;f/=p;c/=v;s=a+c;u=l+f}}return{top:a,left:l,bottom:s,right:u,width:f,height:c}}function Z(e,t,n){var i=ne(e,true),r=q(e)[t];while(i){var o=q(i)[n],a=void 0;if(n==="top"||n==="left"){a=r>=o}else{a=r<=o}if(!a)return i;if(i===V())break;i=ne(i,false)}return false}function $(e,t,n,i){var r=0,o=0,a=e.children;while(o<a.length){if(a[o].style.display!=="none"&&a[o]!==vt.ghost&&(i||a[o]!==vt.dragged)&&H(a[o],n.draggable,e,false)){if(r===t){return a[o]}r++}o++}return null}function J(e,t){var n=e.lastElementChild;while(n&&(n===vt.ghost||K(n,"display")==="none"||t&&!Y(n,t))){n=n.previousElementSibling}return n||null}function Q(e,t){var n=0;if(!e||!e.parentNode){return-1}while(e=e.previousElementSibling){if(e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==vt.clone&&(!t||Y(e,t))){n++}}return n}function ee(e){var t=0,n=0,i=V();if(e){do{var r=U(e),o=r.a,a=r.d;t+=e.scrollLeft*o;n+=e.scrollTop*a}while(e!==i&&(e=e.parentNode))}return[t,n]}function te(e,t){for(var n in e){if(!e.hasOwnProperty(n))continue;for(var i in t){if(t.hasOwnProperty(i)&&t[i]===e[n][i])return Number(n)}}return-1}function ne(e,t){if(!e||!e.getBoundingClientRect)return V();var n=e;var i=false;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=K(n);if(n.clientWidth<n.scrollWidth&&(r.overflowX=="auto"||r.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(r.overflowY=="auto"||r.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return V();if(i||t)return n;i=true}}}while(n=n.parentNode);return V()}function ie(e,t){if(e&&t){for(var n in t){if(t.hasOwnProperty(n)){e[n]=t[n]}}}return e}function re(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var oe;function ae(e,t){return function(){if(!oe){var n=arguments,i=this;if(n.length===1){e.call(i,n[0])}else{e.apply(i,n)}oe=setTimeout((function(){oe=void 0}),t)}}}function le(){clearTimeout(oe);oe=void 0}function se(e,t,n){e.scrollLeft+=t;e.scrollTop+=n}function ue(e){var t=window.Polymer;var n=window.jQuery||window.Zepto;if(t&&t.dom){return t.dom(e).cloneNode(true)}else if(n){return n(e).clone(true)[0]}else{return e.cloneNode(true)}}function ce(e,t){K(e,"position","absolute");K(e,"top",t.top);K(e,"left",t.left);K(e,"width",t.width);K(e,"height",t.height)}function fe(e){K(e,"position","");K(e,"top","");K(e,"left","");K(e,"width","");K(e,"height","")}var de="Sortable"+(new Date).getTime();function he(){var e=[],t;return{captureAnimationState:function t(){e=[];if(!this.options.animation)return;var n=[].slice.call(this.el.children);n.forEach((function(t){if(K(t,"display")==="none"||t===vt.ghost)return;e.push({target:t,rect:q(t)});var n=m({},e[e.length-1].rect);if(t.thisAnimationDuration){var i=U(t,true);if(i){n.top-=i.f;n.left-=i.e}}t.fromRect=n}))},addAnimationState:function t(n){e.push(n)},removeAnimationState:function t(n){e.splice(te(e,{target:n}),1)},animateAll:function n(i){var r=this;if(!this.options.animation){clearTimeout(t);if(typeof i==="function")i();return}var o=false,a=0;e.forEach((function(e){var t=0,n=e.target,i=n.fromRect,l=q(n),s=n.prevFromRect,u=n.prevToRect,c=e.rect,f=U(n,true);if(f){l.top-=f.f;l.left-=f.e}n.toRect=l;if(n.thisAnimationDuration){if(re(s,l)&&!re(i,l)&&(c.top-l.top)/(c.left-l.left)===(i.top-l.top)/(i.left-l.left)){t=ve(c,s,u,r.options)}}if(!re(l,i)){n.prevFromRect=i;n.prevToRect=l;if(!t){t=r.options.animation}r.animate(n,c,l,t)}if(t){o=true;a=Math.max(a,t);clearTimeout(n.animationResetTimer);n.animationResetTimer=setTimeout((function(){n.animationTime=0;n.prevFromRect=null;n.fromRect=null;n.prevToRect=null;n.thisAnimationDuration=null}),t);n.thisAnimationDuration=t}}));clearTimeout(t);if(!o){if(typeof i==="function")i()}else{t=setTimeout((function(){if(typeof i==="function")i()}),a)}e=[]},animate:function e(t,n,i,r){if(r){K(t,"transition","");K(t,"transform","");var o=U(this.el),a=o&&o.a,l=o&&o.d,s=(n.left-i.left)/(a||1),u=(n.top-i.top)/(l||1);t.animatingX=!!s;t.animatingY=!!u;K(t,"transform","translate3d("+s+"px,"+u+"px,0)");this.forRepaintDummy=pe(t);K(t,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:""));K(t,"transform","translate3d(0,0,0)");typeof t.animated==="number"&&clearTimeout(t.animated);t.animated=setTimeout((function(){K(t,"transition","");K(t,"transform","");t.animated=false;t.animatingX=false;t.animatingY=false}),r)}}}}function pe(e){return e.offsetWidth}function ve(e,t,n,i){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*i.animation}var ge=[];var me={initializeByDefault:true};var be={mount:function e(t){for(var n in me){if(me.hasOwnProperty(n)&&!(n in t)){t[n]=me[n]}}ge.forEach((function(e){if(e.pluginName===t.pluginName){throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}}));ge.push(t)},pluginEvent:function e(t,n,i){var r=this;this.eventCanceled=false;i.cancel=function(){r.eventCanceled=true};var o=t+"Global";ge.forEach((function(e){if(!n[e.pluginName])return;if(n[e.pluginName][o]){n[e.pluginName][o](m({sortable:n},i))}if(n.options[e.pluginName]&&n[e.pluginName][t]){n[e.pluginName][t](m({sortable:n},i))}}))},initializePlugins:function e(t,n,i,r){ge.forEach((function(e){var r=e.pluginName;if(!t.options[r]&&!e.initializeByDefault)return;var o=new e(t,n,t.options);o.sortable=t;o.options=t.options;t[r]=o;w(i,o.defaults)}));for(var o in t.options){if(!t.options.hasOwnProperty(o))continue;var a=this.modifyOption(t,o,t.options[o]);if(typeof a!=="undefined"){t.options[o]=a}}},getEventProperties:function e(t,n){var i={};ge.forEach((function(e){if(typeof e.eventProperties!=="function")return;w(i,e.eventProperties.call(n[e.pluginName],t))}));return i},modifyOption:function e(t,n,i){var r;ge.forEach((function(e){if(!t[e.pluginName])return;if(e.optionListeners&&typeof e.optionListeners[n]==="function"){r=e.optionListeners[n].call(t[e.pluginName],i)}}));return r}};function ye(e){var t=e.sortable,n=e.rootEl,i=e.name,r=e.targetEl,o=e.cloneEl,a=e.toEl,l=e.fromEl,s=e.oldIndex,u=e.newIndex,c=e.oldDraggableIndex,f=e.newDraggableIndex,d=e.originalEvent,h=e.putSortable,p=e.extraEventProperties;t=t||n&&n[de];if(!t)return;var v,g=t.options,b="on"+i.charAt(0).toUpperCase()+i.substr(1);if(window.CustomEvent&&!M&&!z){v=new CustomEvent(i,{bubbles:true,cancelable:true})}else{v=document.createEvent("Event");v.initEvent(i,true,true)}v.to=a||n;v.from=l||n;v.item=r||n;v.clone=o;v.oldIndex=s;v.newIndex=u;v.oldDraggableIndex=c;v.newDraggableIndex=f;v.originalEvent=d;v.pullMode=h?h.lastPutMode:undefined;var y=m(m({},p),be.getEventProperties(i,t));for(var w in y){v[w]=y[w]}if(n){n.dispatchEvent(v)}if(g[b]){g[b].call(t,v)}}var we=["evt"];var Ee=function e(t,n){var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},r=i.evt,o=D(i,we);be.pluginEvent.bind(vt)(t,n,m({dragEl:_e,parentEl:Se,ghostEl:Ce,rootEl:Ie,nextEl:xe,lastDownEl:Ae,cloneEl:Oe,cloneHidden:Te,dragStarted:Ue,putSortable:Be,activeSortable:vt.active,originalEvent:r,oldIndex:Me,oldDraggableIndex:ke,newIndex:ze,newDraggableIndex:Ne,hideGhostForTarget:ft,unhideGhostForTarget:dt,cloneNowHidden:function e(){Te=true},cloneNowShown:function e(){Te=false},dispatchSortableEvent:function e(t){De({sortable:n,name:t,originalEvent:r})}},o))};function De(e){ye(m({putSortable:Be,cloneEl:Oe,targetEl:_e,rootEl:Ie,oldIndex:Me,oldDraggableIndex:ke,newIndex:ze,newDraggableIndex:Ne},e))}var _e,Se,Ce,Ie,xe,Ae,Oe,Te,Me,ze,ke,Ne,Pe,Be,Re=false,Le=false,Xe=[],Ye,We,He,je,Fe,Ke,Ue,Ge,Ve,qe=false,Ze=false,$e,Je,Qe=[],et=false,tt=[];var nt=typeof document!=="undefined",it=P,rt=z||M?"cssFloat":"float",ot=nt&&!B&&!P&&"draggable"in document.createElement("div"),at=function(){if(!nt)return;if(M){return false}var e=document.createElement("x");e.style.cssText="pointer-events:auto";return e.style.pointerEvents==="auto"}(),lt=function e(t,n){var i=K(t),r=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),o=$(t,0,n),a=$(t,1,n),l=o&&K(o),s=a&&K(a),u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+q(o).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+q(a).width;if(i.display==="flex"){return i.flexDirection==="column"||i.flexDirection==="column-reverse"?"vertical":"horizontal"}if(i.display==="grid"){return i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal"}if(o&&l["float"]&&l["float"]!=="none"){var f=l["float"]==="left"?"left":"right";return a&&(s.clear==="both"||s.clear===f)?"vertical":"horizontal"}return o&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||u>=r&&i[rt]==="none"||a&&i[rt]==="none"&&u+c>r)?"vertical":"horizontal"},st=function e(t,n,i){var r=i?t.left:t.top,o=i?t.right:t.bottom,a=i?t.width:t.height,l=i?n.left:n.top,s=i?n.right:n.bottom,u=i?n.width:n.height;return r===l||o===s||r+a/2===l+u/2},ut=function e(t,n){var i;Xe.some((function(e){var r=e[de].options.emptyInsertThreshold;if(!r||J(e))return;var o=q(e),a=t>=o.left-r&&t<=o.right+r,l=n>=o.top-r&&n<=o.bottom+r;if(a&&l){return i=e}}));return i},ct=function e(t){function n(e,t){return function(i,r,o,a){var l=i.options.group.name&&r.options.group.name&&i.options.group.name===r.options.group.name;if(e==null&&(t||l)){return true}else if(e==null||e===false){return false}else if(t&&e==="clone"){return e}else if(typeof e==="function"){return n(e(i,r,o,a),t)(i,r,o,a)}else{var s=(t?i:r).options.group.name;return e===true||typeof e==="string"&&e===s||e.join&&e.indexOf(s)>-1}}}var i={};var r=t.group;if(!r||b(r)!="object"){r={name:r}}i.name=r.name;i.checkPull=n(r.pull,true);i.checkPut=n(r.put);i.revertClone=r.revertClone;t.group=i},ft=function e(){if(!at&&Ce){K(Ce,"display","none")}},dt=function e(){if(!at&&Ce){K(Ce,"display","")}};if(nt&&!B){document.addEventListener("click",(function(e){if(Le){e.preventDefault();e.stopPropagation&&e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();Le=false;return false}}),true)}var ht=function e(t){if(_e){t=t.touches?t.touches[0]:t;var n=ut(t.clientX,t.clientY);if(n){var i={};for(var r in t){if(t.hasOwnProperty(r)){i[r]=t[r]}}i.target=i.rootEl=n;i.preventDefault=void 0;i.stopPropagation=void 0;n[de]._onDragOver(i)}}};var pt=function e(t){if(_e){_e.parentNode[de]._isOutsideThisEl(t.target)}};function vt(e,t){if(!(e&&e.nodeType&&e.nodeType===1)){throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e))}this.el=e;this.options=t=w({},t);e[de]=this;var n={group:null,sort:true,disabled:false,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:false,invertedSwapThreshold:null,removeCloneOnHide:true,direction:function t(){return lt(e,this.options)},ghostClone:function(e){return e.cloneNode(true)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:true,animation:0,easing:null,setData:function e(t,n){t.setData("Text",n.textContent)},dropBubble:false,dragoverBubble:false,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:false,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:false,fallbackClass:"sortable-fallback",fallbackOnBody:false,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:vt.supportPointer!==false&&"PointerEvent"in window&&!N,emptyInsertThreshold:5};be.initializePlugins(this,e,n);for(var i in n){!(i in t)&&(t[i]=n[i])}ct(t);for(var r in this){if(r.charAt(0)==="_"&&typeof this[r]==="function"){this[r]=this[r].bind(this)}}this.nativeDraggable=t.forceFallback?false:ot;if(this.nativeDraggable){this.options.touchStartThreshold=1}if(t.supportPointer){L(e,"pointerdown",this._onTapStart)}else{L(e,"mousedown",this._onTapStart);L(e,"touchstart",this._onTapStart)}if(this.nativeDraggable){L(e,"dragover",this);L(e,"dragenter",this)}Xe.push(this.el);t.store&&t.store.get&&this.sort(t.store.get(this)||[]);w(this,he())}vt.prototype={constructor:vt,_isOutsideThisEl:function e(t){if(!this.el.contains(t)&&t!==this.el){Ge=null}},_getDirection:function e(t,n){return typeof this.options.direction==="function"?this.options.direction.call(this,t,n,_e):this.options.direction},_onTapStart:function e(t){if(!t.cancelable)return;var n=this,i=this.el,r=this.options,o=r.preventOnFilter,a=t.type,l=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,s=(l||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,c=r.filter;Ct(i);if(_e){return}if(/mousedown|pointerdown/.test(a)&&t.button!==0||r.disabled){return}if(u.isContentEditable){return}if(!this.nativeDraggable&&N&&s&&s.tagName.toUpperCase()==="SELECT"){return}s=H(s,r.draggable,i,false);if(s&&s.animated){return}if(Ae===s){return}Me=Q(s);ke=Q(s,r.draggable);if(typeof c==="function"){if(c.call(this,t,s,this)){De({sortable:n,rootEl:u,name:"filter",targetEl:s,toEl:i,fromEl:i});Ee("filter",n,{evt:t});o&&t.cancelable&&t.preventDefault();return}}else if(c){c=c.split(",").some((function(e){e=H(u,e.trim(),i,false);if(e){De({sortable:n,rootEl:e,name:"filter",targetEl:s,fromEl:i,toEl:i});Ee("filter",n,{evt:t});return true}}));if(c){o&&t.cancelable&&t.preventDefault();return}}if(r.handle&&!H(u,r.handle,i,false)){return}this._prepareDragStart(t,l,s)},_prepareDragStart:function e(t,n,i){var r=this,o=r.el,a=r.options,l=o.ownerDocument,s;if(i&&!_e&&i.parentNode===o){var u=q(i);Ie=o;_e=i;Se=_e.parentNode;xe=_e.nextSibling;Ae=i;Pe=a.group;vt.dragged=_e;Ye={target:_e,clientX:(n||t).clientX,clientY:(n||t).clientY};Fe=Ye.clientX-u.left;Ke=Ye.clientY-u.top;this._lastX=(n||t).clientX;this._lastY=(n||t).clientY;_e.style["will-change"]="all";s=function e(){Ee("delayEnded",r,{evt:t});if(vt.eventCanceled){r._onDrop();return}r._disableDelayedDragEvents();if(!k&&r.nativeDraggable){_e.draggable=true}r._triggerDragStart(t,n);De({sortable:r,name:"choose",originalEvent:t});F(_e,a.chosenClass,true)};a.ignore.split(",").forEach((function(e){G(_e,e.trim(),bt)}));L(l,"dragover",ht);L(l,"mousemove",ht);L(l,"touchmove",ht);L(l,"mouseup",r._onDrop);L(l,"touchend",r._onDrop);L(l,"touchcancel",r._onDrop);if(k&&this.nativeDraggable){this.options.touchStartThreshold=4;_e.draggable=true}Ee("delayStart",this,{evt:t});if(a.delay&&(!a.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(z||M))){if(vt.eventCanceled){this._onDrop();return}L(l,"mouseup",r._disableDelayedDrag);L(l,"touchend",r._disableDelayedDrag);L(l,"touchcancel",r._disableDelayedDrag);L(l,"mousemove",r._delayedDragTouchMoveHandler);L(l,"touchmove",r._delayedDragTouchMoveHandler);a.supportPointer&&L(l,"pointermove",r._delayedDragTouchMoveHandler);r._dragStartTimer=setTimeout(s,a.delay)}else{s()}}},_delayedDragTouchMoveHandler:function e(t){var n=t.touches?t.touches[0]:t;if(Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))){this._disableDelayedDrag()}},_disableDelayedDrag:function e(){_e&&bt(_e);clearTimeout(this._dragStartTimer);this._disableDelayedDragEvents()},_disableDelayedDragEvents:function e(){var t=this.el.ownerDocument;X(t,"mouseup",this._disableDelayedDrag);X(t,"touchend",this._disableDelayedDrag);X(t,"touchcancel",this._disableDelayedDrag);X(t,"mousemove",this._delayedDragTouchMoveHandler);X(t,"touchmove",this._delayedDragTouchMoveHandler);X(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function e(t,n){n=n||t.pointerType=="touch"&&t;if(!this.nativeDraggable||n){if(this.options.supportPointer){L(document,"pointermove",this._onTouchMove)}else if(n){L(document,"touchmove",this._onTouchMove)}else{L(document,"mousemove",this._onTouchMove)}}else{L(_e,"dragend",this);L(Ie,"dragstart",this._onDragStart)}try{if(document.selection){It((function(){document.selection.empty()}))}else{window.getSelection().removeAllRanges()}}catch(i){}},_dragStarted:function e(t,n){Re=false;if(Ie&&_e){Ee("dragStarted",this,{evt:n});if(this.nativeDraggable){L(document,"dragover",pt)}var i=this.options;!t&&F(_e,i.dragClass,false);F(_e,i.ghostClass,true);vt.active=this;t&&this._appendGhost();De({sortable:this,name:"start",originalEvent:n})}else{this._nulling()}},_emulateDragOver:function e(){if(We){this._lastX=We.clientX;this._lastY=We.clientY;ft();var t=document.elementFromPoint(We.clientX,We.clientY);var n=t;while(t&&t.shadowRoot){t=t.shadowRoot.elementFromPoint(We.clientX,We.clientY);if(t===n)break;n=t}_e.parentNode[de]._isOutsideThisEl(t);if(n){do{if(n[de]){var i=void 0;i=n[de]._onDragOver({clientX:We.clientX,clientY:We.clientY,target:t,rootEl:n});if(i&&!this.options.dragoverBubble){break}}t=n}while(n=n.parentNode)}dt()}},_onTouchMove:function e(t){if(Ye){var n=this.options,i=n.fallbackTolerance,r=n.fallbackOffset,o=t.touches?t.touches[0]:t,a=Ce&&U(Ce,true),l=Ce&&a&&a.a,s=Ce&&a&&a.d,u=it&&Je&&ee(Je),c=(o.clientX-Ye.clientX+r.x)/(l||1)+(u?u[0]-Qe[0]:0)/(l||1),f=(o.clientY-Ye.clientY+r.y)/(s||1)+(u?u[1]-Qe[1]:0)/(s||1);if(!vt.active&&!Re){if(i&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<i){return}this._onDragStart(t,true)}if(Ce){if(a){a.e+=c-(He||0);a.f+=f-(je||0)}else{a={a:1,b:0,c:0,d:1,e:c,f:f}}var d="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");K(Ce,"webkitTransform",d);K(Ce,"mozTransform",d);K(Ce,"msTransform",d);K(Ce,"transform",d);He=c;je=f;We=o}t.cancelable&&t.preventDefault()}},_appendGhost:function e(){if(!Ce){var t=this.options.fallbackOnBody?document.body:Ie,n=q(_e,true,it,true,t),i=this.options;if(it){Je=t;while(K(Je,"position")==="static"&&K(Je,"transform")==="none"&&Je!==document){Je=Je.parentNode}if(Je!==document.body&&Je!==document.documentElement){if(Je===document)Je=V();n.top+=Je.scrollTop;n.left+=Je.scrollLeft}else{Je=V()}Qe=ee(Je)}Ce=i.ghostClone(_e);F(Ce,i.ghostClass,false);F(Ce,i.fallbackClass,true);F(Ce,i.dragClass,true);K(Ce,"transition","");K(Ce,"transform","");K(Ce,"box-sizing","border-box");K(Ce,"margin",0);K(Ce,"top",n.top);K(Ce,"left",n.left);K(Ce,"width",n.width);K(Ce,"height",n.height);K(Ce,"opacity","0.8");K(Ce,"position",it?"absolute":"fixed");K(Ce,"zIndex","100000");K(Ce,"pointerEvents","none");vt.ghost=Ce;t.appendChild(Ce);K(Ce,"transform-origin",Fe/parseInt(Ce.style.width)*100+"% "+Ke/parseInt(Ce.style.height)*100+"%")}},_onDragStart:function e(t,n){var i=this;var r=t.dataTransfer;var o=i.options;Ee("dragStart",this,{evt:t});if(vt.eventCanceled){this._onDrop();return}Ee("setupClone",this);if(!vt.eventCanceled){Oe=ue(_e);Oe.removeAttribute("id");Oe.draggable=false;Oe.style["will-change"]="";this._hideClone();F(Oe,this.options.chosenClass,false);vt.clone=Oe}i.cloneId=It((function(){Ee("clone",i);if(vt.eventCanceled)return;if(!i.options.removeCloneOnHide){Ie.insertBefore(Oe,_e)}i._hideClone();De({sortable:i,name:"clone"})}));!n&&F(_e,o.dragClass,true);if(n){Le=true;i._loopId=setInterval(i._emulateDragOver,50)}else{X(document,"mouseup",i._onDrop);X(document,"touchend",i._onDrop);X(document,"touchcancel",i._onDrop);if(r){r.effectAllowed="move";o.setData&&o.setData.call(i,r,_e)}L(document,"drop",i);K(_e,"transform","translateZ(0)")}Re=true;i._dragStartId=It(i._dragStarted.bind(i,n,t));L(document,"selectstart",i);Ue=true;if(N){K(document.body,"user-select","none")}},_onDragOver:function e(t){var n=this.el,i=t.target,r,o,a,l=this.options,s=l.group,u=vt.active,c=Pe===s,f=l.sort,d=Be||u,h,p=this,v=false;if(et)return;function g(e,l){Ee(e,p,m({evt:t,isOwner:c,axis:h?"vertical":"horizontal",revert:a,dragRect:r,targetRect:o,canSort:f,fromSortable:d,target:i,completed:y,onMove:function e(i,o){return mt(Ie,n,_e,r,i,q(i),t,o)},changed:w},l))}function b(){g("dragOverAnimationCapture");p.captureAnimationState();if(p!==d){d.captureAnimationState()}}function y(e){g("dragOverCompleted",{insertion:e});if(e){if(c){u._hideClone()}else{u._showClone(p)}if(p!==d){F(_e,Be?Be.options.ghostClass:u.options.ghostClass,false);F(_e,l.ghostClass,true)}if(Be!==p&&p!==vt.active){Be=p}else if(p===vt.active&&Be){Be=null}if(d===p){p._ignoreWhileAnimating=i}p.animateAll((function(){g("dragOverAnimationComplete");p._ignoreWhileAnimating=null}));if(p!==d){d.animateAll();d._ignoreWhileAnimating=null}}if(i===_e&&!_e.animated||i===n&&!i.animated){Ge=null}if(!l.dragoverBubble&&!t.rootEl&&i!==document){_e.parentNode[de]._isOutsideThisEl(t.target);!e&&ht(t)}!l.dragoverBubble&&t.stopPropagation&&t.stopPropagation();return v=true}function w(){ze=Q(_e);Ne=Q(_e,l.draggable);De({sortable:p,name:"change",toEl:n,newIndex:ze,newDraggableIndex:Ne,originalEvent:t})}if(t.preventDefault!==void 0){t.cancelable&&t.preventDefault()}i=H(i,l.draggable,n,true);g("dragOver");if(vt.eventCanceled)return v;if(_e.contains(t.target)||i.animated&&i.animatingX&&i.animatingY||p._ignoreWhileAnimating===i){return y(false)}Le=false;if(u&&!l.disabled&&(c?f||(a=Se!==Ie):Be===this||(this.lastPutMode=Pe.checkPull(this,u,_e,t))&&s.checkPut(this,u,_e,t))){h=this._getDirection(t,i)==="vertical";r=q(_e);g("dragOverValid");if(vt.eventCanceled)return v;if(a){Se=Ie;b();this._hideClone();g("revert");if(!vt.eventCanceled){if(xe){Ie.insertBefore(_e,xe)}else{Ie.appendChild(_e)}}return y(true)}var E=J(n,l.draggable);if(!E||Et(t,h,this)&&!E.animated){if(E===_e){return y(false)}if(E&&n===t.target){i=E}if(i){o=q(i)}if(mt(Ie,n,_e,r,i,o,t,!!i)!==false){b();if(E&&E.nextSibling){n.insertBefore(_e,E.nextSibling)}else{n.appendChild(_e)}Se=n;w();return y(true)}}else if(E&&wt(t,h,this)){var D=$(n,0,l,true);if(D===_e){return y(false)}i=D;o=q(i);if(mt(Ie,n,_e,r,i,o,t,false)!==false){b();n.insertBefore(_e,D);Se=n;w();return y(true)}}else if(i.parentNode===n){o=q(i);var _=0,S,C=_e.parentNode!==n,I=!st(_e.animated&&_e.toRect||r,i.animated&&i.toRect||o,h),x=h?"top":"left",A=Z(i,"top","top")||Z(_e,"top","top"),O=A?A.scrollTop:void 0;if(Ge!==i){S=o[x];qe=false;Ze=!I&&l.invertSwap||C}_=Dt(t,i,o,h,I?1:l.swapThreshold,l.invertedSwapThreshold==null?l.swapThreshold:l.invertedSwapThreshold,Ze,Ge===i);var T;if(_!==0){var M=Q(_e);do{M-=_;T=Se.children[M]}while(T&&(K(T,"display")==="none"||T===Ce))}if(_===0||T===i){return y(false)}Ge=i;Ve=_;var z=i.nextElementSibling,k=false;k=_===1;var N=mt(Ie,n,_e,r,i,o,t,k);if(N!==false){if(N===1||N===-1){k=N===1}et=true;setTimeout(yt,30);b();if(k&&!z){n.appendChild(_e)}else{i.parentNode.insertBefore(_e,k?z:i)}if(A){se(A,0,O-A.scrollTop)}Se=_e.parentNode;if(S!==undefined&&!Ze){$e=Math.abs(S-q(i)[x])}w();return y(true)}}if(n.contains(_e)){return y(false)}}return false},_ignoreWhileAnimating:null,_offMoveEvents:function e(){X(document,"mousemove",this._onTouchMove);X(document,"touchmove",this._onTouchMove);X(document,"pointermove",this._onTouchMove);X(document,"dragover",ht);X(document,"mousemove",ht);X(document,"touchmove",ht)},_offUpEvents:function e(){var t=this.el.ownerDocument;X(t,"mouseup",this._onDrop);X(t,"touchend",this._onDrop);X(t,"pointerup",this._onDrop);X(t,"touchcancel",this._onDrop);X(document,"selectstart",this)},_onDrop:function e(t){var n=this.el,i=this.options;ze=Q(_e);Ne=Q(_e,i.draggable);Ee("drop",this,{evt:t});Se=_e&&_e.parentNode;ze=Q(_e);Ne=Q(_e,i.draggable);if(vt.eventCanceled){this._nulling();return}Re=false;Ze=false;qe=false;clearInterval(this._loopId);clearTimeout(this._dragStartTimer);xt(this.cloneId);xt(this._dragStartId);if(this.nativeDraggable){X(document,"drop",this);X(n,"dragstart",this._onDragStart)}this._offMoveEvents();this._offUpEvents();if(N){K(document.body,"user-select","")}K(_e,"transform","");if(t){if(Ue){t.cancelable&&t.preventDefault();!i.dropBubble&&t.stopPropagation()}Ce&&Ce.parentNode&&Ce.parentNode.removeChild(Ce);if(Ie===Se||Be&&Be.lastPutMode!=="clone"){Oe&&Oe.parentNode&&Oe.parentNode.removeChild(Oe)}if(_e){if(this.nativeDraggable){X(_e,"dragend",this)}bt(_e);_e.style["will-change"]="";if(Ue&&!Re){F(_e,Be?Be.options.ghostClass:this.options.ghostClass,false)}F(_e,this.options.chosenClass,false);De({sortable:this,name:"unchoose",toEl:Se,newIndex:null,newDraggableIndex:null,originalEvent:t});if(Ie!==Se){if(ze>=0){De({rootEl:Se,name:"add",toEl:Se,fromEl:Ie,originalEvent:t});De({sortable:this,name:"remove",toEl:Se,originalEvent:t});De({rootEl:Se,name:"sort",toEl:Se,fromEl:Ie,originalEvent:t});De({sortable:this,name:"sort",toEl:Se,originalEvent:t})}Be&&Be.save()}else{if(ze!==Me){if(ze>=0){De({sortable:this,name:"update",toEl:Se,originalEvent:t});De({sortable:this,name:"sort",toEl:Se,originalEvent:t})}}}if(vt.active){if(ze==null||ze===-1){ze=Me;Ne=ke}De({sortable:this,name:"end",toEl:Se,originalEvent:t});this.save()}}}this._nulling()},_nulling:function e(){Ee("nulling",this);Ie=_e=Se=Ce=xe=Oe=Ae=Te=Ye=We=Ue=ze=Ne=Me=ke=Ge=Ve=Be=Pe=vt.dragged=vt.ghost=vt.clone=vt.active=null;tt.forEach((function(e){e.checked=true}));tt.length=He=je=0},handleEvent:function e(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":if(_e){this._onDragOver(t);gt(t)}break;case"selectstart":t.preventDefault();break}},toArray:function e(){var t=[],n,i=this.el.children,r=0,o=i.length,a=this.options;for(;r<o;r++){n=i[r];if(H(n,a.draggable,this.el,false)){t.push(n.getAttribute(a.dataIdAttr)||St(n))}}return t},sort:function e(t,n){var i={},r=this.el;this.toArray().forEach((function(e,t){var n=r.children[t];if(H(n,this.options.draggable,r,false)){i[e]=n}}),this);n&&this.captureAnimationState();t.forEach((function(e){if(i[e]){r.removeChild(i[e]);r.appendChild(i[e])}}));n&&this.animateAll()},save:function e(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function e(t,n){return H(t,n||this.options.draggable,this.el,false)},option:function e(t,n){var i=this.options;if(n===void 0){return i[t]}else{var r=be.modifyOption(this,t,n);if(typeof r!=="undefined"){i[t]=r}else{i[t]=n}if(t==="group"){ct(i)}}},destroy:function e(){Ee("destroy",this);var t=this.el;t[de]=null;X(t,"mousedown",this._onTapStart);X(t,"touchstart",this._onTapStart);X(t,"pointerdown",this._onTapStart);if(this.nativeDraggable){X(t,"dragover",this);X(t,"dragenter",this)}Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")}));this._onDrop();this._disableDelayedDragEvents();Xe.splice(Xe.indexOf(this.el),1);this.el=t=null},_hideClone:function e(){if(!Te){Ee("hideClone",this);if(vt.eventCanceled)return;K(Oe,"display","none");if(this.options.removeCloneOnHide&&Oe.parentNode){Oe.parentNode.removeChild(Oe)}Te=true}},_showClone:function e(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(Te){Ee("showClone",this);if(vt.eventCanceled)return;if(_e.parentNode==Ie&&!this.options.group.revertClone){Ie.insertBefore(Oe,_e)}else if(xe){Ie.insertBefore(Oe,xe)}else{Ie.appendChild(Oe)}if(this.options.group.revertClone){this.animate(_e,Oe)}K(Oe,"display","");Te=false}}};function gt(e){if(e.dataTransfer){e.dataTransfer.dropEffect="move"}e.cancelable&&e.preventDefault()}function mt(e,t,n,i,r,o,a,l){var s,u=e[de],c=u.options.onMove,f;if(window.CustomEvent&&!M&&!z){s=new CustomEvent("move",{bubbles:true,cancelable:true})}else{s=document.createEvent("Event");s.initEvent("move",true,true)}s.to=t;s.from=e;s.dragged=n;s.draggedRect=i;s.related=r||t;s.relatedRect=o||q(t);s.willInsertAfter=l;s.originalEvent=a;e.dispatchEvent(s);if(c){f=c.call(u,s,a)}return f}function bt(e){e.draggable=false}function yt(){et=false}function wt(e,t,n){var i=q($(n.el,0,n.options,true));var r=10;return t?e.clientX<i.left-r||e.clientY<i.top&&e.clientX<i.right:e.clientY<i.top-r||e.clientY<i.bottom&&e.clientX<i.left}function Et(e,t,n){var i=q(J(n.el,n.options.draggable));var r=10;return t?e.clientX>i.right+r||e.clientX<=i.right&&e.clientY>i.bottom&&e.clientX>=i.left:e.clientX>i.right&&e.clientY>i.top||e.clientX<=i.right&&e.clientY>i.bottom+r}function Dt(e,t,n,i,r,o,a,l){var s=i?e.clientY:e.clientX,u=i?n.height:n.width,c=i?n.top:n.left,f=i?n.bottom:n.right,d=false;if(!a){if(l&&$e<u*r){if(!qe&&(Ve===1?s>c+u*o/2:s<f-u*o/2)){qe=true}if(!qe){if(Ve===1?s<c+$e:s>f-$e){return-Ve}}else{d=true}}else{if(s>c+u*(1-r)/2&&s<f-u*(1-r)/2){return _t(t)}}}d=d||a;if(d){if(s<c+u*o/2||s>f-u*o/2){return s>c+u/2?1:-1}}return 0}function _t(e){if(Q(_e)<Q(e)){return 1}else{return-1}}function St(e){var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,i=0;while(n--){i+=t.charCodeAt(n)}return i.toString(36)}function Ct(e){tt.length=0;var t=e.getElementsByTagName("input");var n=t.length;while(n--){var i=t[n];i.checked&&tt.push(i)}}function It(e){return setTimeout(e,0)}function xt(e){return clearTimeout(e)}if(nt){L(document,"touchmove",(function(e){if((vt.active||Re)&&e.cancelable){e.preventDefault()}}))}vt.utils={on:L,off:X,css:K,find:G,is:function e(t,n){return!!H(t,n,t,false)},extend:ie,throttle:ae,closest:H,toggleClass:F,clone:ue,index:Q,nextTick:It,cancelNextTick:xt,detectDirection:lt,getChild:$};vt.get=function(e){return e[de]};vt.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}if(t[0].constructor===Array)t=t[0];t.forEach((function(e){if(!e.prototype||!e.prototype.constructor){throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e))}if(e.utils)vt.utils=m(m({},vt.utils),e.utils);be.mount(e)}))};vt.create=function(e,t){return new vt(e,t)};vt.version=O;var At=[],Ot,Tt,Mt=false,zt,kt,Nt,Pt;function Bt(){function e(){this.defaults={scroll:true,forceAutoScrollFallback:false,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:true};for(var e in this){if(e.charAt(0)==="_"&&typeof this[e]==="function"){this[e]=this[e].bind(this)}}}e.prototype={dragStarted:function e(t){var n=t.originalEvent;if(this.sortable.nativeDraggable){L(document,"dragover",this._handleAutoScroll)}else{if(this.options.supportPointer){L(document,"pointermove",this._handleFallbackAutoScroll)}else if(n.touches){L(document,"touchmove",this._handleFallbackAutoScroll)}else{L(document,"mousemove",this._handleFallbackAutoScroll)}}},dragOverCompleted:function e(t){var n=t.originalEvent;if(!this.options.dragOverBubble&&!n.rootEl){this._handleAutoScroll(n)}},drop:function e(){if(this.sortable.nativeDraggable){X(document,"dragover",this._handleAutoScroll)}else{X(document,"pointermove",this._handleFallbackAutoScroll);X(document,"touchmove",this._handleFallbackAutoScroll);X(document,"mousemove",this._handleFallbackAutoScroll)}Lt();Rt();le()},nulling:function e(){Nt=Tt=Ot=Mt=Pt=zt=kt=null;At.length=0},_handleFallbackAutoScroll:function e(t){this._handleAutoScroll(t,true)},_handleAutoScroll:function e(t,n){var i=this;var r=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,a=document.elementFromPoint(r,o);Nt=t;if(n||this.options.forceAutoScrollFallback||z||M||N){Xt(t,this.options,a,n);var l=ne(a,true);if(Mt&&(!Pt||r!==zt||o!==kt)){Pt&&Lt();Pt=setInterval((function(){var e=ne(document.elementFromPoint(r,o),true);if(e!==l){l=e;Rt()}Xt(t,i.options,e,n)}),10);zt=r;kt=o}}else{if(!this.options.bubbleScroll||ne(a,true)===V()){Rt();return}Xt(t,this.options,ne(a,false),false)}}};return w(e,{pluginName:"scroll",initializeByDefault:true})}function Rt(){At.forEach((function(e){clearInterval(e.pid)}));At=[]}function Lt(){clearInterval(Pt)}var Xt=ae((function(e,t,n,i){if(!t.scroll)return;var r=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,l=t.scrollSpeed,s=V();var u=false,c;if(Tt!==n){Tt=n;Rt();Ot=t.scroll;c=t.scrollFn;if(Ot===true){Ot=ne(n,true)}}var f=0;var d=Ot;do{var h=d,p=q(h),v=p.top,g=p.bottom,m=p.left,b=p.right,y=p.width,w=p.height,E=void 0,D=void 0,_=h.scrollWidth,S=h.scrollHeight,C=K(h),I=h.scrollLeft,x=h.scrollTop;if(h===s){E=y<_&&(C.overflowX==="auto"||C.overflowX==="scroll"||C.overflowX==="visible");D=w<S&&(C.overflowY==="auto"||C.overflowY==="scroll"||C.overflowY==="visible")}else{E=y<_&&(C.overflowX==="auto"||C.overflowX==="scroll");D=w<S&&(C.overflowY==="auto"||C.overflowY==="scroll")}var A=E&&(Math.abs(b-r)<=a&&I+y<_)-(Math.abs(m-r)<=a&&!!I);var O=D&&(Math.abs(g-o)<=a&&x+w<S)-(Math.abs(v-o)<=a&&!!x);if(!At[f]){for(var T=0;T<=f;T++){if(!At[T]){At[T]={}}}}if(At[f].vx!=A||At[f].vy!=O||At[f].el!==h){At[f].el=h;At[f].vx=A;At[f].vy=O;clearInterval(At[f].pid);if(A!=0||O!=0){u=true;At[f].pid=setInterval(function(){if(i&&this.layer===0){vt.active._onTouchMove(Nt)}var t=At[this.layer].vy?At[this.layer].vy*l:0;var n=At[this.layer].vx?At[this.layer].vx*l:0;if(typeof c==="function"){if(c.call(vt.dragged.parentNode[de],n,t,e,Nt,At[this.layer].el)!=="continue"){return}}se(At[this.layer].el,n,t)}.bind({layer:f}),24)}}f++}while(t.bubbleScroll&&d!==s&&(d=ne(d,false)));Mt=u}),30);var Yt=function e(t){var n=t.originalEvent,i=t.putSortable,r=t.dragEl,o=t.activeSortable,a=t.dispatchSortableEvent,l=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(!n)return;var u=i||o;l();var c=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n;var f=document.elementFromPoint(c.clientX,c.clientY);s();if(u&&!u.el.contains(f)){a("spill");this.onSpill({dragEl:r,putSortable:i})}};function Wt(){}Wt.prototype={startIndex:null,dragStart:function e(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function e(t){var n=t.dragEl,i=t.putSortable;this.sortable.captureAnimationState();if(i){i.captureAnimationState()}var r=$(this.sortable.el,this.startIndex,this.options);if(r){this.sortable.el.insertBefore(n,r)}else{this.sortable.el.appendChild(n)}this.sortable.animateAll();if(i){i.animateAll()}},drop:Yt};w(Wt,{pluginName:"revertOnSpill"});function Ht(){}Ht.prototype={onSpill:function e(t){var n=t.dragEl,i=t.putSortable;var r=i||this.sortable;r.captureAnimationState();n.parentNode&&n.parentNode.removeChild(n);r.animateAll()},drop:Yt};w(Ht,{pluginName:"removeOnSpill"});var jt;function Ft(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}e.prototype={dragStart:function e(t){var n=t.dragEl;jt=n},dragOverValid:function e(t){var n=t.completed,i=t.target,r=t.onMove,o=t.activeSortable,a=t.changed,l=t.cancel;if(!o.options.swap)return;var s=this.sortable.el,u=this.options;if(i&&i!==s){var c=jt;if(r(i)!==false){F(i,u.swapClass,true);jt=i}else{jt=null}if(c&&c!==jt){F(c,u.swapClass,false)}}a();n(true);l()},drop:function e(t){var n=t.activeSortable,i=t.putSortable,r=t.dragEl;var o=i||this.sortable;var a=this.options;jt&&F(jt,a.swapClass,false);if(jt&&(a.swap||i&&i.options.swap)){if(r!==jt){o.captureAnimationState();if(o!==n)n.captureAnimationState();Kt(r,jt);o.animateAll();if(o!==n)n.animateAll()}}},nulling:function e(){jt=null}};return w(e,{pluginName:"swap",eventProperties:function e(){return{swapItem:jt}}})}function Kt(e,t){var n=e.parentNode,i=t.parentNode,r,o;if(!n||!i||n.isEqualNode(t)||i.isEqualNode(e))return;r=Q(e);o=Q(t);if(n.isEqualNode(i)&&r<o){o++}n.insertBefore(t,n.children[r]);i.insertBefore(e,i.children[o])}var Ut=[],Gt=[],Vt,qt,Zt=false,$t=false,Jt=false,Qt,en,tn;function nn(){function e(e){for(var t in this){if(t.charAt(0)==="_"&&typeof this[t]==="function"){this[t]=this[t].bind(this)}}if(!e.options.avoidImplicitDeselect){if(e.options.supportPointer){L(document,"pointerup",this._deselectMultiDrag)}else{L(document,"mouseup",this._deselectMultiDrag);L(document,"touchend",this._deselectMultiDrag)}}L(document,"keydown",this._checkKeyDown);L(document,"keyup",this._checkKeyUp);this.defaults={selectedClass:"sortable-selected",multiDragKey:null,avoidImplicitDeselect:false,setData:function t(n,i){var r="";if(Ut.length&&qt===e){Ut.forEach((function(e,t){r+=(!t?"":", ")+e.textContent}))}else{r=i.textContent}n.setData("Text",r)}}}e.prototype={multiDragKeyDown:false,isMultiDrag:false,delayStartGlobal:function e(t){var n=t.dragEl;Qt=n},delayEnded:function e(){this.isMultiDrag=~Ut.indexOf(Qt)},setupClone:function e(t){var n=t.sortable,i=t.cancel;if(!this.isMultiDrag)return;for(var r=0;r<Ut.length;r++){Gt.push(ue(Ut[r]));Gt[r].sortableIndex=Ut[r].sortableIndex;Gt[r].draggable=false;Gt[r].style["will-change"]="";F(Gt[r],this.options.selectedClass,false);Ut[r]===Qt&&F(Gt[r],this.options.chosenClass,false)}n._hideClone();i()},clone:function e(t){var n=t.sortable,i=t.rootEl,r=t.dispatchSortableEvent,o=t.cancel;if(!this.isMultiDrag)return;if(!this.options.removeCloneOnHide){if(Ut.length&&qt===n){on(true,i);r("clone");o()}}},showClone:function e(t){var n=t.cloneNowShown,i=t.rootEl,r=t.cancel;if(!this.isMultiDrag)return;on(false,i);Gt.forEach((function(e){K(e,"display","")}));n();tn=false;r()},hideClone:function e(t){var n=this;var i=t.cloneNowHidden,r=t.cancel;if(!this.isMultiDrag)return;Gt.forEach((function(e){K(e,"display","none");if(n.options.removeCloneOnHide&&e.parentNode){e.parentNode.removeChild(e)}}));i();tn=true;r()},dragStartGlobal:function e(t){if(!this.isMultiDrag&&qt){qt.multiDrag._deselectMultiDrag()}Ut.forEach((function(e){e.sortableIndex=Q(e)}));Ut=Ut.sort((function(e,t){return e.sortableIndex-t.sortableIndex}));Jt=true},dragStarted:function e(t){var n=this;var i=t.sortable;if(!this.isMultiDrag)return;if(this.options.sort){i.captureAnimationState();if(this.options.animation){Ut.forEach((function(e){if(e===Qt)return;K(e,"position","absolute")}));var r=q(Qt,false,true,true);Ut.forEach((function(e){if(e===Qt)return;ce(e,r)}));$t=true;Zt=true}}i.animateAll((function(){$t=false;Zt=false;if(n.options.animation){Ut.forEach((function(e){fe(e)}))}if(n.options.sort){an()}}))},dragOver:function e(t){var n=t.target,i=t.completed,r=t.cancel;if($t&&~Ut.indexOf(n)){i(false);r()}},revert:function e(t){var n=t.fromSortable,i=t.rootEl,r=t.sortable,o=t.dragRect;if(Ut.length>1){Ut.forEach((function(e){r.addAnimationState({target:e,rect:$t?q(e):o});fe(e);e.fromRect=o;n.removeAnimationState(e)}));$t=false;rn(!this.options.removeCloneOnHide,i)}},dragOverCompleted:function e(t){var n=t.sortable,i=t.isOwner,r=t.insertion,o=t.activeSortable,a=t.parentEl,l=t.putSortable;var s=this.options;if(r){if(i){o._hideClone()}Zt=false;if(s.animation&&Ut.length>1&&($t||!i&&!o.options.sort&&!l)){var u=q(Qt,false,true,true);Ut.forEach((function(e){if(e===Qt)return;ce(e,u);a.appendChild(e)}));$t=true}if(!i){if(!$t){an()}if(Ut.length>1){var c=tn;o._showClone(n);if(o.options.animation&&!tn&&c){Gt.forEach((function(e){o.addAnimationState({target:e,rect:en});e.fromRect=en;e.thisAnimationDuration=null}))}}else{o._showClone(n)}}}},dragOverAnimationCapture:function e(t){var n=t.dragRect,i=t.isOwner,r=t.activeSortable;Ut.forEach((function(e){e.thisAnimationDuration=null}));if(r.options.animation&&!i&&r.multiDrag.isMultiDrag){en=w({},n);var o=U(Qt,true);en.top-=o.f;en.left-=o.e}},dragOverAnimationComplete:function e(){if($t){$t=false;an()}},drop:function e(t){var n=t.originalEvent,i=t.rootEl,r=t.parentEl,o=t.sortable,a=t.dispatchSortableEvent,l=t.oldIndex,s=t.putSortable;var u=s||this.sortable;if(!n)return;var c=this.options,f=r.children;if(!Jt){if(c.multiDragKey&&!this.multiDragKeyDown){this._deselectMultiDrag()}F(Qt,c.selectedClass,!~Ut.indexOf(Qt));if(!~Ut.indexOf(Qt)){Ut.push(Qt);ye({sortable:o,rootEl:i,name:"select",targetEl:Qt,originalEvent:n});if(n.shiftKey&&Vt&&o.el.contains(Vt)){var d=Q(Vt),h=Q(Qt);if(~d&&~h&&d!==h){var p,v;if(h>d){v=d;p=h}else{v=h;p=d+1}for(;v<p;v++){if(~Ut.indexOf(f[v]))continue;F(f[v],c.selectedClass,true);Ut.push(f[v]);ye({sortable:o,rootEl:i,name:"select",targetEl:f[v],originalEvent:n})}}}else{Vt=Qt}qt=u}else{Ut.splice(Ut.indexOf(Qt),1);Vt=null;ye({sortable:o,rootEl:i,name:"deselect",targetEl:Qt,originalEvent:n})}}if(Jt&&this.isMultiDrag){$t=false;if((r[de].options.sort||r!==i)&&Ut.length>1){var g=q(Qt),m=Q(Qt,":not(."+this.options.selectedClass+")");if(!Zt&&c.animation)Qt.thisAnimationDuration=null;u.captureAnimationState();if(!Zt){if(c.animation){Qt.fromRect=g;Ut.forEach((function(e){e.thisAnimationDuration=null;if(e!==Qt){var t=$t?q(e):g;e.fromRect=t;u.addAnimationState({target:e,rect:t})}}))}an();Ut.forEach((function(e){if(f[m]){r.insertBefore(e,f[m])}else{r.appendChild(e)}m++}));if(l===Q(Qt)){var b=false;Ut.forEach((function(e){if(e.sortableIndex!==Q(e)){b=true;return}}));if(b){a("update")}}}Ut.forEach((function(e){fe(e)}));u.animateAll()}qt=u}if(i===r||s&&s.lastPutMode!=="clone"){Gt.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function e(){this.isMultiDrag=Jt=false;Gt.length=0},destroyGlobal:function e(){this._deselectMultiDrag();X(document,"pointerup",this._deselectMultiDrag);X(document,"mouseup",this._deselectMultiDrag);X(document,"touchend",this._deselectMultiDrag);X(document,"keydown",this._checkKeyDown);X(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function e(t){if(typeof Jt!=="undefined"&&Jt)return;if(qt!==this.sortable)return;if(t&&H(t.target,this.options.draggable,this.sortable.el,false))return;if(t&&t.button!==0)return;while(Ut.length){var n=Ut[0];F(n,this.options.selectedClass,false);Ut.shift();ye({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:n,originalEvent:t})}},_checkKeyDown:function e(t){if(t.key===this.options.multiDragKey){this.multiDragKeyDown=true}},_checkKeyUp:function e(t){if(t.key===this.options.multiDragKey){this.multiDragKeyDown=false}}};return w(e,{pluginName:"multiDrag",utils:{select:function e(t){var n=t.parentNode[de];if(!n||!n.options.multiDrag||~Ut.indexOf(t))return;if(qt&&qt!==n){qt.multiDrag._deselectMultiDrag();qt=n}F(t,n.options.selectedClass,true);Ut.push(t)},deselect:function e(t){var n=t.parentNode[de],i=Ut.indexOf(t);if(!n||!n.options.multiDrag||!~i)return;F(t,n.options.selectedClass,false);Ut.splice(i,1)}},eventProperties:function e(){var t=this;var n=[],i=[];Ut.forEach((function(e){n.push({multiDragElement:e,index:e.sortableIndex});var r;if($t&&e!==Qt){r=-1}else if($t){r=Q(e,":not(."+t.options.selectedClass+")")}else{r=Q(e)}i.push({multiDragElement:e,index:r})}));return{items:_(Ut),clones:[].concat(Gt),oldIndicies:n,newIndicies:i}},optionListeners:{multiDragKey:function e(t){t=t.toLowerCase();if(t==="ctrl"){t="Control"}else if(t.length>1){t=t.charAt(0).toUpperCase()+t.substr(1)}return t}}})}function rn(e,t){Ut.forEach((function(n,i){var r=t.children[n.sortableIndex+(e?Number(i):0)];if(r){t.insertBefore(n,r)}else{t.appendChild(n)}}))}function on(e,t){Gt.forEach((function(n,i){var r=t.children[n.sortableIndex+(e?Number(i):0)];if(r){t.insertBefore(n,r)}else{t.appendChild(n)}}))}function an(){Ut.forEach((function(e){if(e===Qt)return;e.parentNode&&e.parentNode.removeChild(e)}))}vt.mount(new Bt);vt.mount(Ht,Wt);vt.mount(new Ft);vt.mount(new nn);var ln='.sc-stzh-sortable-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-sortable-h{display:none}.sc-stzh-sortable-h *.sc-stzh-sortable,.sc-stzh-sortable-h *.sc-stzh-sortable::before,.sc-stzh-sortable-h *.sc-stzh-sortable::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-sortable-h{--cursor:grab;--grabbing-cursor:grabbing;--unselected-item-opacity:0.6;--ghost-item-background:var(--stzh-color-grey5);--ghost-item-box-shadow:inset 0px 0px 0.5rem rgba(0, 0, 0, 0.32)}[disabled].sc-stzh-sortable-h{--cursor:inherit}.sc-stzh-sortable-h[disabled] .sc-stzh-sortable-s *.is-sortable-item{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item{position:relative;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:var(--cursor)}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-drag,.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-chosen,.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-ghost,.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-selected{cursor:var(--grabbing-cursor)}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-drag{opacity:1 !important}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-ghost{z-index:0}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-ghost::after{z-index:99;content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:var(--ghost-item-background);-webkit-box-shadow:var(--ghost-item-box-shadow);box-shadow:var(--ghost-item-box-shadow)}.sc-stzh-sortable-h .sc-stzh-sortable-s>*.has-item-selected>*.is-sortable-item{opacity:var(--unselected-item-opacity)}.sc-stzh-sortable-h .sc-stzh-sortable-s>*.has-item-selected>*.is-sortable-item.is-selected{opacity:1}.stzh-sortable__description.sc-stzh-sortable,.stzh-sortable__aria-live.sc-stzh-sortable{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}';var sn="is-sortable-item";var un="is-ghost";var cn="is-selected";var fn="is-chosen";var dn="is-drag";var hn="has-item-selected";var pn=0;var vn=e("stzh_sortable",function(){function e(e){var i=this;t(this,e);this.stzhUpdate=n(this,"stzhUpdate",7);this.stzhDisable=n(this,"stzhDisable",7);this.selectedItem=null;this.resetItemOnBlur=false;this.init=function(){if(!i.getContainer()||i.disabled){return}i.setAttributes()};this.updated=function(e){return __awaiter(i,void 0,void 0,(function(){var t,n,i,r,o;var a;return __generator(this,(function(l){switch(l.label){case 0:if(e){t=e.newIndex;n=e.oldIndex;i=e.item}else{t=this.getIndexOfSelectedItem();n=this.lastIndex;i=this.selectedItem}if(!(t!==n))return[3,2];o=(r=this.stzhUpdate).emit;a={component:"stzh-sortable"};return[4,this.toArray()];case 1:o.apply(r,[(a.data=l.sent(),a.item=i,a.newIndex=t,a.oldIndex=n,a)]);l.label=2;case 2:return[2]}}))}))};this.onKeydown=function(e){var t=e.currentTarget;var n=e.target;if(!i.getContainer()||i.disabled||t!==n){return}if(e.key===" "){e.preventDefault();if(!i.selectedItem){i.selectedItem=t;i.selectedItem.parentElement.classList.add(hn);i.selectedItem.classList.add(cn);i.lastIndex=i.getIndexOfSelectedItem();i.resetItemOnBlur=true;i.updateAriaLive(i.localization.started)}else{i.resetItemOnBlur=false;i.updateAriaLive(i.localization.dropped);i.updated();i.resetActiveItem()}}else if(e.key==="Tab"&&i.selectedItem&&i.selectedItem===e.currentTarget){e.preventDefault()}else if(e.key==="Escape"&&i.selectedItem){i.resetItemOnBlur=false;i.updateAriaLive(i.localization.canceled);i.resetActiveItem(true)}else if(e.key==="ArrowUp"){e.preventDefault();if(i.selectedItem){i.moveItem(i.selectedItem,"up")}else{i.focusItem(t.previousElementSibling)}}else if(e.key==="ArrowDown"){e.preventDefault();if(i.selectedItem){i.moveItem(i.selectedItem,"down")}else{i.focusItem(t.nextElementSibling)}}};this.onBlur=function(){if(i.resetItemOnBlur){i.resetItemOnBlur=false;i.updateAriaLive(i.localization.dropped);i.updated();i.resetActiveItem()}};this.localization=undefined;this.disabled=false;this.dataIdAttribute="data-id";this.container=function(){var e;return(e=i.containerElement)===null||e===void 0?void 0:e.firstElementChild};this.ghostClone=function(e){var t=a(e)[0];return t};this.filterElements=["[data-stzh-sortable-filtered]","[sortable-disabled]","button","a[href]","input","select","textarea","label","iframe","details","area","stzh-sortable"]}e.prototype.toArray=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.sortable.toArray()]}))}))};e.prototype.sort=function(e,t){if(t===void 0){t=true}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,this.sortable.sort(e,t)]}))}))};e.prototype.moveItem=function(e,t){return __awaiter(this,void 0,void 0,(function(){var n,i,r,o;var a;return __generator(this,(function(l){switch(l.label){case 0:if(!e||!e.nextElementSibling&&t==="down"||!e.previousElementSibling&&t==="up"){return[2]}this.resetItemOnBlur=false;if(t==="up"){e.previousElementSibling.before(e)}else if(t==="down"){e.nextElementSibling.after(e)}this.updateAriaLive(this.localization.moved,e);this.focusItem(e);i=Array.from((n=e.parentElement)===null||n===void 0?void 0:n.children).indexOf(e);o=(r=this.stzhUpdate).emit;a={component:"stzh-sortable"};return[4,this.toArray()];case 1:o.apply(r,[(a.data=l.sent(),a.item=e,a.newIndex=i,a.oldIndex=i+(t==="up"?1:-1),a)]);this.resetItemOnBlur=true;return[2]}}))}))};e.prototype.disabledWatcher=function(e){if(e){this.setAttributes()}else{this.unsetAttributes()}this.stzhDisable.emit({component:"stzh-sortable",disabled:e})};e.prototype.filterElementsWatcher=function(e){if(typeof e==="string"){this._filterElements=JSON.parse(e)}else{this._filterElements=e}};e.prototype.getContainer=function(){return typeof this.container==="function"?this.container():this.container};e.prototype.updateAriaLive=function(e,t){if(t===void 0){t=this.selectedItem}if(!this.getContainer()){return}if(t){var n=t.getAttribute("aria-label")||"";var i=this.getIndexOfSelectedItem(t);e=e.replace("{title}",n).replace("{current}",(i+1).toString())}var r=this.getContainer().children.length;e=e.replace("{total}",r.toString());this.ariaLiveElement.textContent=e};e.prototype.getIndexOfSelectedItem=function(e){if(e===void 0){e=this.selectedItem}if(e){return Array.from(e.parentElement.children).indexOf(e)}};e.prototype.resetActiveItem=function(e){if(e===void 0){e=false}if(!this.selectedItem){return}var t=this.getIndexOfSelectedItem();var n=this.selectedItem.parentElement;if(e&&this.lastIndex!==t){if(this.lastIndex>t){n.children[this.lastIndex].after(this.selectedItem)}else{n.children[this.lastIndex].before(this.selectedItem)}this.selectedItem.focus()}n.classList.remove(hn);this.selectedItem.classList.remove(cn);this.selectedItem=null;this.lastIndex=null};e.prototype.focusItem=function(e){if(!e){return}e.focus();var t=document.querySelector("stzh-flyingfocus");if(t){t.reposition()}v(e,{scrollMode:"if-needed",block:"nearest",inline:"nearest"})};e.prototype.setAttributes=function(){var e=this;Array.from(this.getContainer().children).forEach((function(t){t.classList.add(sn);t.addEventListener("blur",e.onBlur);t.addEventListener("keydown",e.onKeydown);t.setAttribute("tabindex","0");t.setAttribute("aria-describedby","".concat(e.sortableId,"-description"))}))};e.prototype.unsetAttributes=function(){var e=this;Array.from(this.getContainer().children).forEach((function(t){t.classList.remove(sn);t.removeEventListener("blur",e.onBlur);t.removeEventListener("keydown",e.onKeydown);t.removeAttribute("tabindex");t.removeAttribute("aria-describedby")}))};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:this.sortableId="stzh-sortable-".concat(pn++);this.filterElementsWatcher(this.filterElements);if(!!this.localization)return[3,2];e=this;return[4,l(this.element,"sortable")];case 1:e.localization=t.sent();t.label=2;case 2:return[2]}}))}))};e.prototype.componentWillUpdate=function(){if(this.sortable){this.sortable.destroy();this.sortable=null}};e.prototype.componentDidRender=function(){if(this.sortable){return}this.sortable=new vt(this.getContainer(),{animation:150,filter:this._filterElements.join(", "),ghostClass:un,chosenClass:fn,dragClass:dn,dataIdAttr:this.dataIdAttribute,preventOnFilter:false,forceFallback:true,delay:200,delayOnTouchOnly:true,disabled:this.disabled,ghostClone:this.ghostClone,onUpdate:this.updated})};e.prototype.connectedCallback=function(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};e.prototype.disconnectedCallback=function(){if(this.observer){this.observer.disconnect()}this.unsetAttributes();if(this.sortable){this.sortable.destroy();this.sortable=null}};e.prototype.render=function(){var e=this;var t={"stzh-sortable":true,"stzh-sortable--disabled":this.disabled};return i(r,null,i("div",{class:t},i("div",{id:"".concat(this.sortableId,"-description"),class:"stzh-sortable__description"},this.localization.description),i("div",{ref:function(t){return e.ariaLiveElement=t},"aria-live":"assertive",class:"stzh-sortable__aria-live"}),i("div",{ref:function(t){return e.containerElement=t},class:"stzh-sortable__container"},i("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{disabled:["disabledWatcher"],filterElements:["filterElementsWatcher"]}},enumerable:false,configurable:true});return e}());vn.style=ln}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as s,c as i,g as e}from"./p-99a3742a.js";import{a as r}from"./p-246cd179.js";import{f as a}from"./p-25a09313.js";const h=class{constructor(s){t(this,s),this._tags=[],this._tagChips=[],this.items=[],this.filteredItems=[],this.filteredSlicedItems=[],this.handleChange=t=>{this.showItems=this.stepItems,this.activeFilter=t.detail.value},this.handleMoreClick=()=>{this.showItems+=this.stepItems},this.localization=void 0,this.api=void 0,this.tags=[],this.stepItems=6,this.showItems=void 0,this.activeFilter=""}async filterHandler(){this.filteredItems=this.items.filter((t=>""===this.activeFilter||t.tags.some((t=>this.activeFilter===t)))),this.filteredSlicedItems=this.filteredItems.slice(0,this.showItems)}async tagsWatcher(t){this._tags="string"==typeof t?JSON.parse(t):t,this._tagChips=this._tags.map((t=>({label:t.name,value:t.id,variant:"filter",type:"secondary",counter:(t.id?this.items.filter((s=>s.tags.indexOf(t.id)>-1)).length:this.items.length).toString()})))}async apiWatcher(t){if(!t)return;let s=this.api.replace(/\{lang\}/,this.localization.$locale);const{data:i}=await r.get(s);this.items=i.items,this.showItems=this.stepItems,this.tagsWatcher(this.tags)}async componentWillLoad(){this.localization||(this.localization=await a(this.element,"microsite-teaserlist")),await this.apiWatcher(this.api)}render(){return s(i,null,s("div",{class:{"stzh-microsite-teaserlist":!0}},s("stzh-chip-select",{class:"stzh-microsite-teaserlist__filter",label:this.localization.tagsLabel,data:this._tagChips,onStzhChange:this.handleChange}),s("stzh-card-list",{layout:"subpages"},this.filteredSlicedItems.map((t=>s("stzh-card",{href:t.link,hideHeaderBorder:!0,hideFooterBorder:!0,withArrow:!0,hideElevation:!0},t.image&&s("img",{slot:"image",src:t.image}),t.title&&s("stzh-clamp",{slot:"heading",lines:2},t.title),t.description&&s("stzh-clamp",{slot:"content",lines:3},t.description))))),this.showItems<this.filteredItems.length&&s("div",{class:"stzh-microsite-teaserlist__show-more"},s("stzh-button",{variant:"secondary",label:this.localization.showMore,onClick:this.handleMoreClick}))))}get element(){return e(this)}static get watchers(){return{showItems:["filterHandler"],activeFilter:["filterHandler"],tags:["tagsWatcher"],api:["apiWatcher"]}}};h.style=".sc-stzh-microsite-teaserlist-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-microsite-teaserlist-h{display:none}.sc-stzh-microsite-teaserlist-h *.sc-stzh-microsite-teaserlist,.sc-stzh-microsite-teaserlist-h *.sc-stzh-microsite-teaserlist::before,.sc-stzh-microsite-teaserlist-h *.sc-stzh-microsite-teaserlist::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-microsite-teaserlist__filter.sc-stzh-microsite-teaserlist{margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.stzh-microsite-teaserlist__filter.sc-stzh-microsite-teaserlist{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-microsite-teaserlist__filter.sc-stzh-microsite-teaserlist{margin-bottom:var(--stzh-space-xxxlarge)}}.stzh-microsite-teaserlist__show-more.sc-stzh-microsite-teaserlist{margin-top:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.stzh-microsite-teaserlist__show-more.sc-stzh-microsite-teaserlist{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-microsite-teaserlist__show-more.sc-stzh-microsite-teaserlist{margin-top:var(--stzh-space-xxxlarge)}}";export{h as stzh_microsite_teaserlist}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-36e72c1d.system.js","./p-cd59cead.system.js"],(function(e,t){"use strict";var a,i,s,l,o,r,n,d;return{setters:[function(t){a=t.d;i=t.N;s=t.w;l=t.p;o=t.a;r=t.H;n=t.b;e("setNonce",t.s)},function(e){d=e.g}],execute:function(){function e(e){var t,a,i;return(i=(a=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||a===void 0?void 0:a.getAttribute("content"))!==null&&i!==void 0?i:undefined}var c=function(e){return"__sc_import_".concat(e.replace(/\s|-/g,"_"))};var p=function(){{m(r.prototype)}var e=Array.from(a.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(i,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===i}));var o=e["data-opts"]||{};if("onbeforeload"in e&&!history.scrollRestoration){return{then:function(){}}}{o.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,s.location.href)).href;{h(o.resourcesUrl,e)}if(!s.customElements){return t.import("./p-cbfae706.system.js").then((function(){return o}))}}return l(o)};var h=function(t,l){var r=c(i);try{s[r]=new Function("w","return import(w);//".concat(Math.random()))}catch(d){var n=new Map;s[r]=function(i){var d;var c=new URL(i,t).href;var p=n.get(c);if(!p){var h=a.createElement("script");h.type="module";h.crossOrigin=l.crossOrigin;h.src=URL.createObjectURL(new Blob(["import * as m from '".concat(c,"'; window.").concat(r,".m = m;")],{type:"application/javascript"}));var m=(d=o.$nonce$)!==null&&d!==void 0?d:e(a);if(m!=null){h.setAttribute("nonce",m)}p=new Promise((function(e){h.onload=function(){e(s[r].m);h.remove()}}));n.set(c,p);a.head.appendChild(h)}return p}}};var m=function(e){var t=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return t.call(this,e)}var a=t.call(this,false);var i=this.childNodes;if(e){for(var s=0;s<i.length;s++){if(i[s].nodeType!==2){a.appendChild(i[s].cloneNode(true))}}}return a}};p().then((function(e){d();return n(JSON.parse('[["p-d585e8fd.system",[[2,"stzh-microsite-teaserlist",{"localization":[16],"api":[1],"tags":[1],"stepItems":[2,"step-items"],"showItems":[32],"activeFilter":[32]}]]],["p-b395bed5.system",[[2,"stzh-appointments",{"localization":[16],"sortBy":[1025,"sort-by"],"appointments":[1],"currentDate":[1025,"current-date"],"value":[1025],"name":[513],"showItems":[1026,"show-items"],"stepItems":[2,"step-items"],"calendarTitle":[1,"calendar-title"],"appointmentsTitle":[1,"appointments-title"],"dateAdapter":[16]}]]],["p-47175c6f.system",[[2,"stzh-datamessagelist-item",{"localization":[16],"heading":[1],"unread":[4],"href":[1],"description":[1],"externalHref":[1,"external-href"],"loadingStatus":[1,"loading-status"],"meta":[1],"actions":[1],"tags":[1]}]]],["p-0ffd0de8.system",[[6,"stzh-contact",{"type":[1],"heading":[1],"mainHeading":[1,"main-heading"],"name":[1],"street":[1],"streetInfo":[1,"street-info"],"postalCode":[1,"postal-code"],"location":[1],"numbers":[1],"poBoxHeading":[1,"po-box-heading"],"poboxTitle":[1,"pobox-title"],"poboxPostalCode":[1,"pobox-postal-code"],"poboxLocation":[1,"pobox-location"],"availabilityTitle":[1,"availability-title"],"availability":[1],"withBorder":[4,"with-border"]}]]],["p-77d0a54b.system",[[0,"stzh-sitemap",{"items":[1]}]]],["p-884793dd.system",[[4,"stzh-datatable",{"localization":[16],"label":[1],"sortBy":[1025,"sort-by"],"sortDirection":[1025,"sort-direction"],"tokenize":[1],"idField":[1,"id-field"],"disableMinWidth":[516,"disable-min-width"],"rows":[1],"columns":[1],"query":[32],"hasScrollLeft":[32],"hasScrollRight":[32],"isScrollable":[32],"cellsStickyLeft":[32],"cellsStickyRight":[32],"toggleSort":[64]}]]],["p-418e04f7.system",[[2,"stzh-saptcha",{"localization":[16],"numbers":[1],"value":[1],"name":[513],"error":[1],"invalid":[516],"disabled":[516]}]]],["p-bada7caa.system",[[2,"stzh-vbz-majorticker",{"api":[1],"data":[8],"moreInfoLink":[1,"more-info-link"],"dateAdapter":[16],"localization":[16],"ghettoboxCloseTimeKey":[1,"ghettobox-close-time-key"],"ghettoboxShown":[32],"getGhettoboxShown":[64],"getDisturbance":[64]}]]],["p-95bfbf67.system",[[6,"stzh-vbz-ticker",{"api":[1],"data":[8],"moreInfoLink":[1,"more-info-link"],"dateAdapter":[16],"localization":[16]}]]],["p-655e3c46.system",[[2,"stzh-anchornav",{"columns":[514],"columnsSmall":[514,"columns-small"],"columnsMedium":[514,"columns-medium"],"columnsLarge":[514,"columns-large"],"columnsUltra":[514,"columns-ultra"],"items":[1],"withBorder":[516,"with-border"]}]]],["p-8f577bc6.system",[[6,"stzh-audio",{"localization":[16],"src":[1],"preload":[1],"transcript":[1],"transcriptShown":[1028,"transcript-shown"],"play":[64],"pause":[64]}]]],["p-6a109ce9.system",[[4,"stzh-upload",{"existingFiles":[1,"existing-files"],"label":[1],"description":[1],"button":[1],"url":[1],"method":[1],"withCredentials":[4,"with-credentials"],"disabled":[516],"invalid":[516],"downloadDisabled":[4,"download-disabled"],"error":[1],"acceptedFiles":[1,"accepted-files"],"autoProcessQueue":[4,"auto-process-queue"],"maxFiles":[2,"max-files"],"maxFilesize":[2,"max-filesize"],"parallelUploads":[2,"parallel-uploads"],"uploadMultiple":[4,"upload-multiple"],"chunking":[4],"forceChunking":[4,"force-chunking"],"chunkSize":[2,"chunk-size"],"parallelChunkUploads":[4,"parallel-chunk-uploads"],"retryChunks":[4,"retry-chunks"],"retryChunksLimit":[2,"retry-chunks-limit"],"filesizeBase":[2,"filesize-base"],"headers":[16],"defaultHeaders":[4,"default-headers"],"accept":[16],"chunksUploaded":[16],"hiddenInputContainer":[1,"hidden-input-container"],"localization":[16],"processQueue":[64]}]]],["p-6a26c9eb.system",[[4,"stzh-footer",{"localization":[16],"copyright":[1],"variant":[1],"mainUrl":[1,"main-url"],"withBorder":[4,"with-border"]}]]],["p-80f497d8.system",[[2,"stzh-langnav",{"languageActive":[1,"language-active"],"languages":[1],"popoverPlacement":[513,"popover-placement"],"preventUrlchange":[4,"prevent-urlchange"]}]]],["p-2674dc69.system",[[6,"stzh-pagebottom",{"shareTitle":[1,"share-title"],"shareUrl":[1,"share-url"],"shareServices":[1,"share-services"],"shareDisabled":[4,"share-disabled"],"logoHref":[1,"logo-href"],"withBorder":[4,"with-border"]}]]],["p-013d269a.system",[[6,"stzh-accordion-item",{"open":[1540],"disabled":[516],"heading":[1],"subtitle":[1],"description":[1],"icon":[1],"badge":[1],"badgeEmpty":[516,"badge-empty"],"badgeType":[513,"badge-type"],"headingLevel":[513,"heading-level"],"show":[64],"hide":[64],"toggle":[64],"setFocus":[64]}]]],["p-215d2cf6.system",[[6,"stzh-checkbox",{"localization":[16],"disabled":[516],"name":[513],"value":[1025],"invalid":[516],"required":[516],"checked":[1540],"label":[1],"description":[1],"descriptionLong":[1,"description-long"],"showMarker":[516,"show-marker"],"error":[1],"a11yDescribedby":[1,"a11y-describedby"],"setFocus":[64]}]]],["p-b9bd42e6.system",[[6,"stzh-checkboxgroup",{"localization":[16],"disabled":[516],"name":[513],"legend":[1],"hideLegend":[516,"hide-legend"],"invalid":[516],"showMarker":[516,"show-marker"],"value":[1025],"direction":[513],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"checkedCheckbox":[16],"preventUpdateProperties":[1,"prevent-update-properties"]},[[0,"stzhChange","onChange"]]]]],["p-48d40c7c.system",[[6,"stzh-dialog",{"localization":[16],"closeOnEscapeKey":[4,"close-on-escape-key"],"closeOnBackdropClick":[4,"close-on-backdrop-click"],"open":[1028],"stay":[4],"size":[513],"hideClose":[4,"hide-close"],"heading":[1],"a11yRole":[1,"a11y-role"],"a11yLabel":[1,"a11y-label"],"show":[64],"hide":[64]},[[6,"click","handleOutsideClick"],[4,"keydown","handleKeydown"],[4,"click","handleOpenTriggerClick"]]]]],["p-7f1b7b44.system",[[2,"stzh-progressbar",{"data":[1],"index":[2],"steps":[2],"stepsSmall":[2,"steps-small"],"stepsMedium":[2,"steps-medium"],"stepsLarge":[2,"steps-large"],"stepsUltra":[2,"steps-ultra"],"currentSteps":[32]}]]],["p-48e79dc0.system",[[6,"stzh-toggle",{"localization":[16],"disabled":[516],"name":[513],"value":[1025],"invalid":[516],"required":[516],"showMarker":[516,"show-marker"],"checked":[1540],"label":[1],"labelPosition":[513,"label-position"],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"a11yDescribedby":[1,"a11y-describedby"],"setFocus":[64]}]]],["p-59793ef8.system",[[6,"stzh-fieldset",{"legend":[1],"hideLegend":[4,"hide-legend"],"legendLevel":[1,"legend-level"],"legendCurve":[1,"legend-curve"]}]]],["p-263fd0bb.system",[[6,"stzh-message",{"label":[1],"description":[1],"closeKey":[1,"close-key"],"type":[513],"hideClose":[4,"hide-close"],"localization":[16],"open":[32],"show":[64],"hide":[64]}]]],["p-d5514e5b.system",[[0,"stzh-olmap",{"localization":[16],"hostname":[1],"scaleControl":[4,"scale-control"],"layerControl":[4,"layer-control"],"printControl":[4,"print-control"],"locationControl":[4,"location-control"],"layer":[1025],"zoom":[2],"center":[16],"centerMarker":[4,"center-marker"],"resolutions":[16],"layers":[1],"getMap":[64],"addIconMarker":[64],"removeIconMarker":[64],"setIconMarkerActive":[64],"setIconMarkerInactive":[64],"enableLocationTracking":[64],"disableLocationTracking":[64]}]]],["p-e54ef44f.system",[[6,"stzh-accordion",{"collapsible":[4],"multiselectable":[4],"setItemFocus":[64]},[[0,"stzhOpen","openListener"]]]]],["p-4acb6752.system",[[6,"stzh-actions",{"variant":[513],"withBorder":[516,"with-border"]}]]],["p-f27d1a06.system",[[6,"stzh-appnav",{"appTitle":[1,"app-title"],"appStatus":[1,"app-status"],"appHref":[1,"app-href"]}]]],["p-e54f66ea.system",[[6,"stzh-carousel",{"localization":[16],"variant":[513],"disabled":[516],"slides":[2],"slidesSmall":[2,"slides-small"],"slidesMedium":[2,"slides-medium"],"slidesLarge":[2,"slides-large"],"slidesUltra":[2,"slides-ultra"],"slide":[2],"autoplay":[1028],"tabThrough":[4,"tab-through"],"preventMouseDrag":[32],"scrollTimeout":[32],"autoplayTimeout":[32],"distanceQuickSwipe":[32],"distancePreventClick":[32],"autoplayRunning":[32],"autoplayDisabledByMotionMedia":[32],"autoplayDisabledByMouse":[32],"autoplayDisabledByFocus":[32],"dragging":[32],"scrolling":[32],"ariaLive":[32],"currentSlides":[32],"currentSwipeSlides":[32],"slideElements":[32],"previousElements":[32],"nextElements":[32],"navigationTextElements":[32],"slideTo":[64],"slideToPrevious":[64],"slideToNext":[64]}]]],["p-ad62a793.system",[[1,"stzh-cell",{"span":[2],"spanSmall":[2,"span-small"],"spanMedium":[2,"span-medium"],"spanLarge":[2,"span-large"],"spanUltra":[2,"span-ultra"],"justifySelf":[513,"justify-self"],"alignSelf":[513,"align-self"]}]]],["p-aa2c81e6.system",[[0,"stzh-chart",{"chartId":[1,"chart-id"],"create":[16]}]]],["p-e59c2adc.system",[[6,"stzh-container",{"inverted":[516]}]]],["p-e4aa12ba.system",[[6,"stzh-cspace"]]],["p-6722e89a.system",[[6,"stzh-datamessagelist"]]],["p-25d8a9c0.system",[[6,"stzh-details",{"open":[1540],"show":[64],"hide":[64],"toggle":[64]}]]],["p-eed126cf.system",[[6,"stzh-figure",{"caption":[1],"copyright":[1],"fullwidth":[516]}]]],["p-3f676d99.system",[[2,"stzh-flyingfocus",{"style":[32],"position":[32],"enabled":[32],"visible":[32],"helper":[32],"moving":[32],"reposition":[64]},[[4,"keydown","handleKeydown"],[5,"mousedown","handleMousedown"],[6,"focus","handleFocus"],[6,"blur","handleBlur"],[7,"scroll","handleScrollResize"],[11,"resize","handleScrollResize"]]]]],["p-6659b6f6.system",[[6,"stzh-header",{"href":[1],"metabarStay":[4,"metabar-stay"],"stickyDisabled":[4,"sticky-disabled"],"preventAppnavPlaceholder":[4,"prevent-appnav-placeholder"],"hideLogo":[32],"paddingTop":[32],"metabarTransform":[32],"sticky":[32],"stickyClosing":[32],"stickyMetabar":[32],"stickyMetabarEnd":[32],"updatePosition":[64]},[[9,"scroll","scrollListener"]]]]],["p-44d10402.system",[[2,"stzh-hr"]]],["p-b9f784e4.system",[[1,"stzh-hspace",{"curve":[1],"size":[1],"sizeSmall":[1,"size-small"],"sizeMedium":[1,"size-medium"],"sizeLarge":[1,"size-large"],"sizeUltra":[1,"size-ultra"],"justify":[1],"items":[1],"around":[516],"border":[513]}]]],["p-ae673b30.system",[[0,"stzh-icon-sprite"]]],["p-322e74e9.system",[[6,"stzh-invert"]]],["p-70f85be3.system",[[1,"stzh-list",{"variant":[513]}]]],["p-e7909de9.system",[[1,"stzh-list-item"]]],["p-617ece76.system",[[2,"stzh-loadingbar",{"percent":[2],"hidePercent":[4,"hide-percent"],"label":[1]}]]],["p-4b995fe4.system",[[6,"stzh-metanav"]]],["p-470182bb.system",[[6,"stzh-overlay",{"open":[1028],"stay":[4],"a11yLabel":[1,"a11y-label"],"show":[64],"hide":[64]}]]],["p-ce5db779.system",[[6,"stzh-page-skiplinks"]]],["p-454e50f8.system",[[6,"stzh-pagetitle"]]],["p-fe1c8047.system",[[6,"stzh-pagetitle-hero",{"heading":[1],"leadAuthor":[1,"lead-author"],"subtitle":[1]}]]],["p-f122e15d.system",[[0,"stzh-portal-mitwirken"]]],["p-862e7723.system",[[6,"stzh-ratio",{"ratio":[513],"portrait":[516],"fit":[513]}]]],["p-cd979ce9.system",[[4,"stzh-readspeaker",{"href":[1],"eventId":[1,"event-id"]},[[8,"DOMContentLoaded","addClickEvents"],[8,"load","addClickEvents"]]]]],["p-94918f2a.system",[[1,"stzh-row",{"span":[2],"spanSmall":[2,"span-small"],"spanMedium":[2,"span-medium"],"spanLarge":[2,"span-large"],"spanUltra":[2,"span-ultra"],"justify":[513],"items":[513],"content":[513]}]]],["p-e9994d05.system",[[6,"stzh-section",{"variant":[1]}]]],["p-0f882e26.system",[[1,"stzh-show",{"mikro":[4],"small":[4],"medium":[4],"large":[4],"ultra":[4],"hideFromDate":[1,"hide-from-date"]}]]],["p-8361c9d8.system",[[6,"stzh-skiplink",{"href":[1],"linkAccesskey":[1,"link-accesskey"],"linkTitle":[1,"link-title"],"focused":[32]},[[0,"focusin","focusinHandler"],[0,"focusout","focusoutHandler"]]]]],["p-af05718d.system",[[1,"stzh-space",{"curve":[1],"size":[1],"sizeSmall":[1,"size-small"],"sizeMedium":[1,"size-medium"],"sizeLarge":[1,"size-large"],"sizeUltra":[1,"size-ultra"],"justify":[1],"items":[1],"around":[516],"border":[513]}]]],["p-558f336d.system",[[6,"stzh-sticky",{"disableStickyTop":[516,"disable-sticky-top"],"disableStickyBottom":[516,"disable-sticky-bottom"],"breakout":[516],"isStuckTop":[32],"isStuckBottom":[32]}]]],["p-abf13db9.system",[[4,"stzh-table",{"fixedLeft":[2,"fixed-left"],"fixedRight":[2,"fixed-right"],"disableMinWidth":[516,"disable-min-width"],"hasScrollLeft":[32],"hasScrollRight":[32],"isScrollable":[32],"cellsStickyLeft":[32],"cellsStickyRight":[32]}]]],["p-6769b9a8.system",[[1,"stzh-textandimage",{"floating":[516],"fullwidth":[516],"size":[513]}]]],["p-16b3d4ee.system",[[6,"stzh-visuallyhidden"]]],["p-d5994419.system",[[1,"stzh-vspace",{"curve":[1],"size":[1],"sizeSmall":[1,"size-small"],"sizeMedium":[1,"size-medium"],"sizeLarge":[1,"size-large"],"sizeUltra":[1,"size-ultra"],"justify":[1],"items":[1],"around":[516],"border":[513]}]]],["p-205f5111.system",[[6,"stzh-button",{"localization":[16],"badge":[1],"badgeType":[513,"badge-type"],"badgePosition":[513,"badge-position"],"badgeEmpty":[516,"badge-empty"],"fullwidth":[516],"rounded":[516],"floating":[516],"size":[513],"textAlign":[513,"text-align"],"variant":[513],"icon":[1],"iconPosition":[513,"icon-position"],"checked":[1540],"name":[513],"value":[1025],"href":[1],"rel":[1],"target":[1],"download":[1],"type":[1],"disabled":[516],"active":[516],"label":[1],"effect":[1],"iconOnly":[516,"icon-only"],"linkAccesskey":[1,"link-accesskey"],"a11yLabel":[1,"a11y-label"],"a11yDescribedby":[1,"a11y-describedby"],"a11yExpanded":[516,"a11y-expanded"],"a11yDisabled":[516,"a11y-disabled"],"a11yControls":[1,"a11y-controls"],"a11yTabindex":[1,"a11y-tabindex"],"setFocus":[64]}],[2,"stzh-badge",{"label":[1],"type":[513]}],[2,"stzh-icon",{"name":[1],"a11yTitle":[1,"a11y-title"]}]]],["p-e8feb92e.system",[[2,"stzh-share",{"localization":[16],"url":[1],"services":[1]}]]],["p-6606e17e.system",[[6,"stzh-progressbar-item",{"disabled":[516],"first":[516],"last":[516],"passed":[516],"current":[516],"hide":[516],"dotted":[516],"step":[514],"icon":[513]}]]],["p-3fc51ad1.system",[[2,"stzh-vbz-linechip",{"line":[1],"active":[516],"alert":[516],"global":[516],"setFocus":[64]}]]],["p-d6e5f396.system",[[6,"stzh-loader",{"size":[1],"label":[1],"hideLabel":[4,"hide-label"]}]]],["p-396697db.system",[[2,"stzh-actionset",{"localization":[16],"variant":[513],"popoverButtonVariant":[513,"popover-button-variant"],"popoverButtonSize":[513,"popover-button-size"],"popoverPlacement":[513,"popover-placement"],"actions":[1],"actionsCollapsed":[32],"dynamicActions":[32],"isSmall":[32],"isMedium":[32]}]]],["p-a2121744.system",[[6,"stzh-ghettobox",{"hiddenTitle":[1,"hidden-title"],"mainTitle":[1,"main-title"],"description":[1],"hideClose":[4,"hide-close"],"publishDate":[1,"publish-date"],"closeTimeKey":[1,"close-time-key"],"localization":[16],"open":[32],"show":[64],"hide":[64]}],[6,"stzh-richtext",{"localization":[16],"externalLinkSelector":[1,"external-link-selector"],"externalLinkIcon":[1,"external-link-icon"]}]]],["p-0e690e3e.system",[[2,"stzh-calendar",{"value":[1025],"min":[1],"max":[1],"firstDayOfWeek":[2,"first-day-of-week"],"localization":[16],"isDateDisabled":[16],"activeFocus":[32],"focusedDay":[32],"setFocusedDay":[64],"setDate":[64]}]]],["p-8c371d1d.system",[[6,"stzh-sortable",{"localization":[16],"disabled":[516],"dataIdAttribute":[1,"data-id-attribute"],"container":[16],"ghostClone":[16],"filterElements":[1,"filter-elements"],"toArray":[64],"sort":[64],"moveItem":[64]}]]],["p-12e03b78.system",[[6,"stzh-text",{"font":[1],"curve":[513],"lead":[516],"size":[1],"sizeSmall":[1,"size-small"],"sizeMedium":[1,"size-medium"],"sizeLarge":[1,"size-large"],"sizeUltra":[1,"size-ultra"]}]]],["p-f7bb76d8.system",[[6,"stzh-heading",{"level":[513],"curve":[513],"withBorder":[516,"with-border"]}]]],["p-c457dad2.system",[[6,"stzh-popover",{"open":[1540],"placement":[513],"variant":[513],"skidding":[2],"distance":[2],"label":[1],"strategy":[1],"localization":[16],"computedPlacement":[32],"show":[64],"hide":[64],"toggle":[64],"update":[64]},[[6,"click","handleOutsideClick"]]]]],["p-9a94b249.system",[[6,"stzh-input",{"localization":[16],"multiline":[4],"rows":[2],"type":[1],"step":[2],"min":[2],"max":[2],"showSpin":[516,"show-spin"],"readonly":[516],"disabled":[516],"clearable":[516],"showMarker":[516,"show-marker"],"minlength":[2],"maxlength":[2],"name":[513],"value":[1025],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"invalid":[516],"required":[516],"inputmode":[1],"autocomplete":[1],"noAutocomplete":[4,"no-autocomplete"],"label":[1],"size":[513],"a11yDescribedby":[1,"a11y-describedby"],"filled":[32],"setFocus":[64]}]]],["p-88fbb2fc.system",[[4,"stzh-dropdown",{"options":[1],"optgroups":[1],"items":[1],"searchField":[1,"search-field"],"multiple":[516],"inline":[516],"maxOptions":[2,"max-options"],"searchConjunction":[1,"search-conjunction"],"allowEmptyOption":[4,"allow-empty-option"],"openOnFocus":[4,"open-on-focus"],"closeAfterSelect":[4,"close-after-select"],"load":[16],"minCharacters":[2,"min-characters"],"loadThrottle":[2,"load-throttle"],"preload":[8],"labelField":[1,"label-field"],"valueField":[1,"value-field"],"optgroupField":[1,"optgroup-field"],"optgroupLabelField":[1,"optgroup-label-field"],"optgroupValueField":[1,"optgroup-value-field"],"lockOptgroupOrder":[4,"lock-optgroup-order"],"name":[513],"variant":[513],"size":[513],"disabled":[516],"popoverPlacement":[513,"popover-placement"],"label":[1],"icon":[1],"noSearch":[4,"no-search"],"noBackspaceDelete":[4,"no-backspace-delete"],"invalid":[516],"required":[516],"showMarker":[516,"show-marker"],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"localization":[16],"a11yDescribedby":[1,"a11y-describedby"],"getValue":[64],"setValue":[64],"setFocus":[64],"resetLoadedSearches":[64],"getLoadedSearches":[64],"getItems":[64],"loadItems":[64]}]]],["p-552d0e82.system",[[6,"stzh-tooltip",{"open":[1028],"label":[1],"content":[1],"placement":[1],"strategy":[1],"skidding":[2],"distance":[2],"interactive":[4],"trigger":[1],"localization":[16],"computedPlacement":[32],"show":[64],"hide":[64],"toggle":[64],"update":[64]},[[6,"click","handleDocumentClick"]]]]],["p-821ca4af.system",[[6,"stzh-link",{"localization":[16],"icon":[1],"iconPosition":[513,"icon-position"],"size":[513],"href":[1],"rel":[1],"target":[1],"download":[1],"type":[1],"variant":[513],"fullwidth":[516],"textAlign":[513,"text-align"],"badge":[1],"badgeType":[513,"badge-type"],"badgeEmpty":[516,"badge-empty"],"badgePosition":[513,"badge-position"],"disabled":[516],"active":[516],"iconOnly":[516,"icon-only"],"label":[1],"linkAccesskey":[1,"link-accesskey"],"a11yLabel":[1,"a11y-label"],"a11yDescribedby":[1,"a11y-describedby"],"a11yExpanded":[516,"a11y-expanded"],"a11yDisabled":[516,"a11y-disabled"],"a11yControls":[1,"a11y-controls"],"a11yTabindex":[1,"a11y-tabindex"],"setFocus":[64]}]]],["p-e1501622.system",[[6,"stzh-chip",{"label":[1],"icon":[1],"href":[1],"target":[1],"nonInteractive":[516,"non-interactive"],"removable":[516],"variant":[513],"size":[513],"type":[513],"counter":[1],"removeLabel":[1,"remove-label"],"active":[516],"disabled":[516],"a11yTabindex":[1,"a11y-tabindex"],"a11yLabel":[1,"a11y-label"],"a11yDescribedby":[1,"a11y-describedby"],"setFocus":[64]}],[4,"stzh-clamp",{"localization":[16],"lines":[2],"linesSmall":[2,"lines-small"],"linesMedium":[2,"lines-medium"],"linesLarge":[2,"lines-large"],"linesUltra":[2,"lines-ultra"],"showExpandLink":[4,"show-expand-link"],"expanded":[1540],"clamped":[1540],"update":[64]}]]],["p-bd1a5d6d.system",[[6,"stzh-card",{"localization":[16],"collapsed":[1540],"starred":[1540],"starrable":[516],"selectable":[516],"checked":[516],"name":[513],"href":[513],"target":[1],"value":[1025],"disabled":[516],"withArrow":[516,"with-arrow"],"heading":[1],"subtitle":[1],"headerActions":[1,"header-actions"],"footerActions":[1,"footer-actions"],"subtitleInteractive":[4,"subtitle-interactive"],"sortableDisabled":[516,"sortable-disabled"],"collapsible":[516],"hideHeaderBorder":[516,"hide-header-border"],"hideFooterBorder":[516,"hide-footer-border"],"hideElevation":[516,"hide-elevation"],"hideMovementActions":[4,"hide-movement-actions"]}],[6,"stzh-chip-select",{"localization":[16],"data":[1],"name":[513],"label":[1],"value":[1],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"invalid":[516],"required":[516],"disabled":[516],"a11yDescribedby":[1,"a11y-describedby"],"activeFocusOptionIndex":[32]}],[6,"stzh-card-list",{"localization":[16],"layout":[513],"description":[1],"showToggleLink":[516,"show-toggle-link"],"sortableEnabled":[4,"sortable-enabled"],"sortableDataIdAttribute":[1,"sortable-data-id-attribute"],"allCollapsed":[32]},[[0,"stzhCollapse","collapseListener"]]]]],["p-ee20b95b.system",[[6,"stzh-datepicker",{"calendarMin":[1,"calendar-min"],"calendarMax":[1,"calendar-max"],"calendarIsDateDisabled":[16],"name":[513],"value":[1025],"label":[1],"readonly":[516],"disabled":[516],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"invalid":[516],"required":[516],"showMarker":[516,"show-marker"],"size":[513],"inline":[4],"dateAdapter":[16],"localization":[16],"buttonLabel":[32],"setDate":[64],"getPopover":[64]}],[6,"stzh-radio",{"localization":[16],"disabled":[516],"name":[513],"value":[1025],"invalid":[516],"required":[516],"showMarker":[516,"show-marker"],"checked":[1540],"label":[1],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"a11yDescribedby":[1,"a11y-describedby"],"setFocus":[64]}],[6,"stzh-radiogroup",{"localization":[16],"disabled":[516],"name":[513],"legend":[1],"hideLegend":[516,"hide-legend"],"invalid":[516],"required":[516],"showMarker":[516,"show-marker"],"value":[1025],"direction":[513],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"checkedRadio":[8,"checked-radio"],"preventUpdateProperties":[1,"prevent-update-properties"]},[[0,"stzhChange","onChange"]]]]],["p-57235597.system",[[2,"stzh-status",{"percent":[2],"withLoadingbar":[516,"with-loadingbar"],"label":[1],"type":[513]}]]],["p-10b4fedd.system",[[6,"stzh-datalist",{"direction":[513],"directionSmall":[513,"direction-small"],"directionMedium":[513,"direction-medium"],"directionLarge":[513,"direction-large"],"directionUltra":[513,"direction-ultra"],"hideBorder":[516,"hide-border"],"disableLabelMinWidth":[516,"disable-label-min-width"],"currentDirection":[513,"current-direction"],"items":[1]}],[6,"stzh-datalist-item",{"localization":[16],"direction":[513],"href":[513],"rel":[1],"target":[1],"download":[1],"leadingIcon":[1,"leading-icon"],"icon":[1],"label":[1],"value":[1],"meta":[1],"statusLabel":[1,"status-label"],"statusType":[1,"status-type"],"hideBorder":[516,"hide-border"],"a11yExpanded":[516,"a11y-expanded"],"a11yControls":[1,"a11y-controls"]}]]],["p-0c779613.system",[[6,"stzh-menu-item",{"badge":[1],"badgeType":[513,"badge-type"],"badgeEmpty":[516,"badge-empty"],"disabled":[516],"active":[516],"icon":[1],"label":[1],"href":[1],"target":[1],"a11yLabel":[1,"a11y-label"],"setFocus":[64]}],[6,"stzh-menu"]]]]'),e)}))}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,i,s){function r(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,a){function n(t){try{l(s.next(t))}catch(e){a(e)}}function c(t){try{l(s["throw"](t))}catch(e){a(e)}}function l(t){t.done?i(t.value):r(t.value).then(n,c)}l((s=s.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},s,r,a,n;return n={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function c(t){return function(e){return l([t,e])}}function l(c){if(s)throw new TypeError("Generator is already executing.");while(n&&(n=0,c[0]&&(i=0)),i)try{if(s=1,r&&(a=c[0]&2?r["return"]:c[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,c[1])).done)return a;if(r=0,a)c=[c[0]&2,a.value];switch(c[0]){case 0:case 1:a=c;break;case 4:i.label++;return{value:c[1],done:false};case 5:i.label++;r=c[1];c=[0];continue;case 7:c=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){i.label=c[1];break}if(c[0]===6&&i.label<a[1]){i.label=a[1];a=c;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(c);break}if(a[2])i.ops.pop();i.trys.pop();continue}c=e.call(t,i)}catch(l){c=[6,l];r=0}finally{s=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};System.register(["./p-36e72c1d.system.js","./p-48e835cf.system.js","./p-a408bfba.system.js","./p-309d2b66.system.js","./p-eaa65f52.system.js"],(function(t){"use strict";var e,i,s,r,a,n,c,l,o;return{setters:[function(t){e=t.r;i=t.h;s=t.F;r=t.c;a=t.g},function(t){n=t.a},function(t){c=t.f},function(t){l=t.c},function(t){o=t.VBZ}],execute:function(){var h=".sc-stzh-vbz-ticker-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-vbz-ticker-h{display:none}.sc-stzh-vbz-ticker-h *.sc-stzh-vbz-ticker,.sc-stzh-vbz-ticker-h *.sc-stzh-vbz-ticker::before,.sc-stzh-vbz-ticker-h *.sc-stzh-vbz-ticker::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-vbz-ticker.sc-stzh-vbz-ticker{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative}@media screen and (min-width: 1024px){.stzh-vbz-ticker.sc-stzh-vbz-ticker{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:start;align-items:flex-start}}.stzh-vbz-ticker__icon.sc-stzh-vbz-ticker{--size:var(--stzh-icon-size-small);margin-right:var(--stzh-space-xsmall)}.stzh-vbz-ticker__title.sc-stzh-vbz-ticker{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:normal;font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}@media screen and (min-width: 1024px){.stzh-vbz-ticker__title.sc-stzh-vbz-ticker{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-vbz-ticker__title-parts.sc-stzh-vbz-ticker{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:calc(var(--stzh-space-xxxsmall) / -1) 0}.stzh-vbz-ticker__title-part.sc-stzh-vbz-ticker{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;white-space:nowrap;margin:var(--stzh-space-xxxsmall) 0}.stzh-vbz-ticker__title-part.sc-stzh-vbz-ticker:not(:last-child){margin-right:var(--stzh-space-large)}.stzh-vbz-ticker__title-part--no-disturbances.sc-stzh-vbz-ticker{color:var(--stzh-color-truegreen)}.stzh-vbz-ticker__title-part--major-events.sc-stzh-vbz-ticker{color:var(--stzh-color-coral)}.stzh-vbz-ticker__title-part--disturbances.sc-stzh-vbz-ticker{color:var(--stzh-color-error)}.stzh-vbz-ticker__link.sc-stzh-vbz-ticker{margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-vbz-ticker__link.sc-stzh-vbz-ticker{position:absolute;top:0;right:0;margin-top:0}}.stzh-vbz-ticker__chips.sc-stzh-vbz-ticker{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.stzh-vbz-ticker__chips.sc-stzh-vbz-ticker:not(:empty){margin:calc(var(--stzh-space-xxsmall) * -1);margin-top:calc(var(--stzh-space-medium) - var(--stzh-space-xxsmall))}.stzh-vbz-ticker__chip.sc-stzh-vbz-ticker{margin:var(--stzh-space-xxsmall)}.stzh-vbz-ticker__tooltip.sc-stzh-vbz-ticker{--width:20.875rem}.stzh-vbz-ticker__disturbance.sc-stzh-vbz-ticker{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-vbz-ticker__disturbance.sc-stzh-vbz-ticker:not(:first-child){margin-top:var(--stzh-space-small)}.stzh-vbz-ticker__disturbance--type0.sc-stzh-vbz-ticker .stzh-vbz-ticker__disturbance-title.sc-stzh-vbz-ticker,.stzh-vbz-ticker__disturbance--type0.sc-stzh-vbz-ticker .stzh-vbz-ticker__disturbance-icon.sc-stzh-vbz-ticker,.stzh-vbz-ticker__disturbance--type2.sc-stzh-vbz-ticker .stzh-vbz-ticker__disturbance-title.sc-stzh-vbz-ticker,.stzh-vbz-ticker__disturbance--type2.sc-stzh-vbz-ticker .stzh-vbz-ticker__disturbance-icon.sc-stzh-vbz-ticker{color:var(--stzh-color-error)}.stzh-vbz-ticker__disturbance-title.sc-stzh-vbz-ticker{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:normal;display:-ms-flexbox;display:flex}.stzh-vbz-ticker__disturbance--type0.sc-stzh-vbz-ticker .stzh-vbz-ticker__disturbance-title.sc-stzh-vbz-ticker,.stzh-vbz-ticker__disturbance--type2.sc-stzh-vbz-ticker .stzh-vbz-ticker__disturbance-title.sc-stzh-vbz-ticker{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal}.stzh-vbz-ticker__disturbance-icon.sc-stzh-vbz-ticker{--size:var(--stzh-icon-size-xsmall);margin-top:var(--stzh-space-xxxsmall);margin-right:var(--stzh-space-xsmall)}.stzh-vbz-ticker__disturbance-link.sc-stzh-vbz-ticker{margin-top:var(--stzh-space-xsmall)}";var z=t("stzh_vbz_ticker",function(){function t(t){var i;e(this,t);this.globalDisturbances=[];this.lines=[];this.counter=(i={},i["".concat(o.DISTURBANCE_GLOBAL)]=0,i["".concat(o.DISTURBANCE_INFORMATION)]=0,i["".concat(o.DISTURBANCE_CONSTRUCTION)]=0,i["".concat(o.DISTURBANCE_NORMAL)]=0,i["".concat(o.DISTURBANCE_EVENT)]=0,i["".concat(o.DISTURBANCE_BUS)]=0,i);this.api="https://fpbe.zvv.ch/restproxy/himsearch?format=json&accessId=unic&channels=ticker&additionalfields=tickers:VBZ&orderBy=LMOD_DESC&lang={lang}";this.data="";this.moreInfoLink="https://zvv.ch/zvv/{lang}/fahrplan/vl.html?himIds={id}";this.dateAdapter=undefined;this.localization=undefined}t.prototype.localizationWatcher=function(){this.collator=new Intl.Collator(this.localization.$locale,{numeric:true})};t.prototype.apiWatcher=function(t){return __awaiter(this,void 0,void 0,(function(){var e,i;return __generator(this,(function(s){switch(s.label){case 0:if(!t){return[2]}e=this.api.replace(/\{lang\}/,this.localization.$locale);e=e+(e.includes("?")?"&":"?")+Date.now();return[4,n.get(e)];case 1:i=s.sent().data;this.data=i;return[2]}}))}))};t.prototype.dataWatcher=function(t){return __awaiter(this,void 0,void 0,(function(){var e,i,s;var r=this;return __generator(this,(function(a){if(typeof t==="string"){this._data=JSON.parse(t)}else{this._data=t}s={};(i=(e=this._data)===null||e===void 0?void 0:e.Message)===null||i===void 0?void 0:i.forEach((function(t){var e=t.channel.filter((function(t){return t.name===o.CHANNEL_TICKER&&t.url})).map((function(t){return t.url})).reduce((function(t,e){return t.concat(e)}),[]);var i=e.find((function(t){return t.url.indexOf(o.CHANNEL_INFO_URL_FILTER)!==-1}));if(t.baseType===o.BASE_TYPE_GLOBAL){r.counter[o.DISTURBANCE_GLOBAL]++;r.globalDisturbances.push({id:t.id,head:t.head,category:t.category,baseType:t.baseType,startDate:new Date("".concat(t.sDate,"T").concat(t.sTime,"+02:00")),endDate:new Date("".concat(t.eDate,"T").concat(t.eTime,"+02:00")),altStart:t.altStart,altEnd:t.altEnd,infoUrl:i})}else{r.counter[t.category]++}if(t.affectedProduct&&t.category!==o.DISTURBANCE_INFORMATION&&t.baseType!==o.BASE_TYPE_GLOBAL){t.affectedProduct.forEach((function(e){if(typeof s[e.lineId]==="undefined"){s[e.lineId]={line:e.line,name:e.name,category:e.cls,disturbances:[],alert:false}}if(t.category===o.DISTURBANCE_NORMAL){s[e.lineId].alert=true}s[e.lineId].disturbances.push({id:t.id,head:t.head,category:t.category,baseType:t.baseType,startDate:new Date("".concat(t.sDate,"T").concat(t.sTime,"+02:00")),endDate:new Date("".concat(t.eDate,"T").concat(t.eTime,"+02:00")),altStart:t.altStart,altEnd:t.altEnd,infoUrl:i})}))}}));this.lines=Object.keys(s).map((function(t){return s[t]}));this.lines.sort((function(t,e){return r.collator.compare(t.line,e.line)}));return[2]}))}))};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:if(!!this.localization)return[3,2];t=this;return[4,c(this.element,"vbz-ticker")];case 1:t.localization=e.sent();this.localizationWatcher();e.label=2;case 2:if(!this.dateAdapter){this.dateAdapter=l(this.localization.$formats,this.localization.$globals)}if(!this.data)return[3,4];return[4,this.dataWatcher(this.data)];case 3:e.sent();return[3,6];case 4:return[4,this.apiWatcher(this.api)];case 5:e.sent();e.label=6;case 6:return[2]}}))}))};t.prototype.renderDisturbance=function(t){var e;return i("div",{class:(e={"stzh-vbz-ticker__disturbance":true},e["stzh-vbz-ticker__disturbance--type".concat(t.category)]=!!t.category,e)},t.category===o.DISTURBANCE_NORMAL||t.baseType===o.BASE_TYPE_GLOBAL?i("stzh-icon",{name:"warning-big",class:"stzh-vbz-ticker__disturbance-icon"}):i("stzh-icon",{name:"construction",class:"stzh-vbz-ticker__disturbance-icon"}),i("div",{class:"stzh-vbz-ticker__disturbance-text"},i("div",{class:"stzh-vbz-ticker__disturbance-title"},t.head),i("div",{class:"stzh-vbz-ticker__disturbance-date"},t.altStart||this.dateAdapter.format(t.startDate),i("span",{innerHTML:this.localization.$formats.dateRange}),t.altEnd||this.dateAdapter.format(t.endDate)),t.infoUrl?i("stzh-link",{class:"stzh-vbz-ticker__disturbance-link",size:"small",href:t.infoUrl.url},this.localization.moreInfo):i("stzh-link",{class:"stzh-vbz-ticker__disturbance-link",size:"small",target:"_blank",icon:"external-link",href:this.moreInfoLink.replace(/\{lang\}/,this.localization.$locale).replace(/\{id\}/,t.id)},this.localization.moreInfo)))};t.prototype.render=function(){var t=this;var e={"stzh-vbz-ticker":true};return i(r,null,i("div",{class:e},i("div",{class:"stzh-vbz-ticker__text"},i("div",{class:"stzh-vbz-ticker__title"},i("div",{class:"stzh-vbz-ticker__title-parts"},this.lines.length===0&&this.counter[o.DISTURBANCE_GLOBAL]===0&&i("div",{class:"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--no-disturbances"},i("stzh-icon",{class:"stzh-vbz-ticker__icon",name:"checkmark-circle"}),this.localization.noDisturbances),this.counter[o.DISTURBANCE_NORMAL]>0&&i("div",{class:"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--disturbances"},i("stzh-icon",{class:"stzh-vbz-ticker__icon",name:"warning"}),this.counter[o.DISTURBANCE_GLOBAL]>0?this.localization.furtherDisturbanceTitle:this.localization.disturbanceTitle),(this.counter[o.DISTURBANCE_CONSTRUCTION]>0||this.counter[o.DISTURBANCE_EVENT]>0||this.counter[o.DISTURBANCE_BUS]>0)&&i("div",{class:"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--others"},i("stzh-icon",{class:"stzh-vbz-ticker__icon",name:"construction"}),this.localization.constructionsTitle))),(this.lines.length>0||this.counter[o.DISTURBANCE_GLOBAL]>0)&&i(s,null,i("div",{class:"stzh-vbz-ticker__chips",role:"list"},this.lines.map((function(e){return i("div",{class:"stzh-vbz-ticker__chip",role:"listitem"},i("stzh-tooltip",{class:"stzh-vbz-ticker__tooltip"},i("stzh-vbz-linechip",{line:e.line,alert:e.alert}),i("div",{class:"stzh-vbz-ticker__tooltip-content",slot:"content"},e.disturbances.map((function(e){return t.renderDisturbance(e)})))))}))))),i("div",{class:"stzh-vbz-ticker__link"},i("slot",{name:"link"}))))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{localization:["localizationWatcher"],api:["apiWatcher"],data:["dataWatcher"]}},enumerable:false,configurable:true});return t}());z.style=h}}}));
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,i,s){function r(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,a){function n(t){try{l(s.next(t))}catch(e){a(e)}}function c(t){try{l(s["throw"](t))}catch(e){a(e)}}function l(t){t.done?i(t.value):r(t.value).then(n,c)}l((s=s.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},s,r,a,n;return n={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function c(t){return function(e){return l([t,e])}}function l(c){if(s)throw new TypeError("Generator is already executing.");while(n&&(n=0,c[0]&&(i=0)),i)try{if(s=1,r&&(a=c[0]&2?r["return"]:c[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,c[1])).done)return a;if(r=0,a)c=[c[0]&2,a.value];switch(c[0]){case 0:case 1:a=c;break;case 4:i.label++;return{value:c[1],done:false};case 5:i.label++;r=c[1];c=[0];continue;case 7:c=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){i.label=c[1];break}if(c[0]===6&&i.label<a[1]){i.label=a[1];a=c;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(c);break}if(a[2])i.ops.pop();i.trys.pop();continue}c=e.call(t,i)}catch(l){c=[6,l];r=0}finally{s=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};System.register(["./p-36e72c1d.system.js","./p-48e835cf.system.js","./p-a408bfba.system.js","./p-309d2b66.system.js","./p-eaa65f52.system.js"],(function(t){"use strict";var e,i,s,r,a,n,c,l,o;return{setters:[function(t){e=t.r;i=t.h;s=t.F;r=t.c;a=t.g},function(t){n=t.a},function(t){c=t.f},function(t){l=t.c},function(t){o=t.VBZ}],execute:function(){var h=".sc-stzh-vbz-ticker-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-vbz-ticker-h{display:none}.sc-stzh-vbz-ticker-h *.sc-stzh-vbz-ticker,.sc-stzh-vbz-ticker-h *.sc-stzh-vbz-ticker::before,.sc-stzh-vbz-ticker-h *.sc-stzh-vbz-ticker::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-vbz-ticker.sc-stzh-vbz-ticker{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative}@media screen and (min-width: 1024px){.stzh-vbz-ticker.sc-stzh-vbz-ticker{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:start;align-items:flex-start}}.stzh-vbz-ticker__icon.sc-stzh-vbz-ticker{--size:var(--stzh-icon-size-small);margin-right:var(--stzh-space-xsmall)}.stzh-vbz-ticker__title.sc-stzh-vbz-ticker{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:normal;font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}@media screen and (min-width: 1024px){.stzh-vbz-ticker__title.sc-stzh-vbz-ticker{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-vbz-ticker__title-parts.sc-stzh-vbz-ticker{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:calc(var(--stzh-space-xxxsmall) / -1) 0}.stzh-vbz-ticker__title-part.sc-stzh-vbz-ticker{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;white-space:nowrap;margin:var(--stzh-space-xxxsmall) 0}.stzh-vbz-ticker__title-part.sc-stzh-vbz-ticker:not(:last-child){margin-right:var(--stzh-space-large)}.stzh-vbz-ticker__title-part--no-disturbances.sc-stzh-vbz-ticker{color:var(--stzh-color-truegreen)}.stzh-vbz-ticker__title-part--major-events.sc-stzh-vbz-ticker{color:var(--stzh-color-coral)}.stzh-vbz-ticker__title-part--disturbances.sc-stzh-vbz-ticker{color:var(--stzh-color-error)}.stzh-vbz-ticker__link.sc-stzh-vbz-ticker{margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-vbz-ticker__link.sc-stzh-vbz-ticker{position:absolute;top:0;right:0;margin-top:0}}.stzh-vbz-ticker__chips.sc-stzh-vbz-ticker{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.stzh-vbz-ticker__chips.sc-stzh-vbz-ticker:not(:empty){margin:calc(var(--stzh-space-xxsmall) * -1);margin-top:calc(var(--stzh-space-medium) - var(--stzh-space-xxsmall))}.stzh-vbz-ticker__chip.sc-stzh-vbz-ticker{margin:var(--stzh-space-xxsmall)}.stzh-vbz-ticker__tooltip.sc-stzh-vbz-ticker{--width:20.875rem}.stzh-vbz-ticker__disturbance.sc-stzh-vbz-ticker{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-vbz-ticker__disturbance.sc-stzh-vbz-ticker:not(:first-child){margin-top:var(--stzh-space-small)}.stzh-vbz-ticker__disturbance--type0.sc-stzh-vbz-ticker .stzh-vbz-ticker__disturbance-title.sc-stzh-vbz-ticker,.stzh-vbz-ticker__disturbance--type0.sc-stzh-vbz-ticker .stzh-vbz-ticker__disturbance-icon.sc-stzh-vbz-ticker,.stzh-vbz-ticker__disturbance--type2.sc-stzh-vbz-ticker .stzh-vbz-ticker__disturbance-title.sc-stzh-vbz-ticker,.stzh-vbz-ticker__disturbance--type2.sc-stzh-vbz-ticker .stzh-vbz-ticker__disturbance-icon.sc-stzh-vbz-ticker{color:var(--stzh-color-error)}.stzh-vbz-ticker__disturbance-title.sc-stzh-vbz-ticker{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:normal;display:-ms-flexbox;display:flex}.stzh-vbz-ticker__disturbance--type0.sc-stzh-vbz-ticker .stzh-vbz-ticker__disturbance-title.sc-stzh-vbz-ticker,.stzh-vbz-ticker__disturbance--type2.sc-stzh-vbz-ticker .stzh-vbz-ticker__disturbance-title.sc-stzh-vbz-ticker{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal}.stzh-vbz-ticker__disturbance-icon.sc-stzh-vbz-ticker{--size:var(--stzh-icon-size-xsmall);margin-top:var(--stzh-space-xxxsmall);margin-right:var(--stzh-space-xsmall)}.stzh-vbz-ticker__disturbance-link.sc-stzh-vbz-ticker{margin-top:var(--stzh-space-xsmall)}";var z=t("stzh_vbz_ticker",function(){function t(t){var i;e(this,t);this.globalDisturbances=[];this.lines=[];this.counter=(i={},i["".concat(o.DISTURBANCE_GLOBAL)]=0,i["".concat(o.DISTURBANCE_INFORMATION)]=0,i["".concat(o.DISTURBANCE_CONSTRUCTION)]=0,i["".concat(o.DISTURBANCE_NORMAL)]=0,i["".concat(o.DISTURBANCE_EVENT)]=0,i["".concat(o.DISTURBANCE_BUS)]=0,i);this.api="https://fpbe.zvv.ch/restproxy/himsearch?format=json&accessId=unic&channels=ticker&additionalfields=tickers:VBZ&orderBy=LMOD_DESC&lang={lang}";this.data="";this.moreInfoLink="https://zvv.ch/zvv/{lang}/fahrplan/vl.html?himIds={id}";this.dateAdapter=undefined;this.localization=undefined}t.prototype.localizationWatcher=function(){this.collator=new Intl.Collator(this.localization.$locale,{numeric:true})};t.prototype.apiWatcher=function(t){return __awaiter(this,void 0,void 0,(function(){var e,i;return __generator(this,(function(s){switch(s.label){case 0:if(!t){return[2]}e=this.api.replace(/\{lang\}/,this.localization.$locale);e=e+(e.includes("?")?"&":"?")+Date.now();return[4,n.get(e)];case 1:i=s.sent().data;this.data=i;return[2]}}))}))};t.prototype.dataWatcher=function(t){return __awaiter(this,void 0,void 0,(function(){var e,i,s;var r=this;return __generator(this,(function(a){if(typeof t==="string"){this._data=JSON.parse(t)}else{this._data=t}s={};(i=(e=this._data)===null||e===void 0?void 0:e.Message)===null||i===void 0?void 0:i.forEach((function(t){var e=t.channel.filter((function(t){return t.name===o.CHANNEL_TICKER&&t.url})).map((function(t){return t.url})).reduce((function(t,e){return t.concat(e)}),[]);var i=e.find((function(t){return t.url.indexOf(o.CHANNEL_INFO_URL_FILTER)!==-1}));if(t.baseType===o.BASE_TYPE_GLOBAL){r.counter[o.DISTURBANCE_GLOBAL]++;r.globalDisturbances.push({id:t.id,head:t.head,category:t.category,baseType:t.baseType,startDate:new Date("".concat(t.sDate,"T").concat(t.sTime,"+02:00")),endDate:new Date("".concat(t.eDate,"T").concat(t.eTime,"+02:00")),altStart:t.altStart,altEnd:t.altEnd,infoUrl:i})}else{r.counter[t.category]++}if(t.affectedProduct&&t.category!==o.DISTURBANCE_INFORMATION&&t.baseType!==o.BASE_TYPE_GLOBAL){var a=[];t.affectedProduct.forEach((function(e){if(typeof s[e.lineId]==="undefined"){s[e.lineId]={line:e.line,name:e.name,category:e.cls,disturbances:[],alert:false}}if(t.category===o.DISTURBANCE_NORMAL){s[e.lineId].alert=true}if(!a.includes(e.lineId)){a.push(e.lineId);s[e.lineId].disturbances.push({id:t.id,head:t.head,category:t.category,baseType:t.baseType,startDate:new Date("".concat(t.sDate,"T").concat(t.sTime,"+02:00")),endDate:new Date("".concat(t.eDate,"T").concat(t.eTime,"+02:00")),altStart:t.altStart,altEnd:t.altEnd,infoUrl:i})}}))}}));this.lines=Object.keys(s).map((function(t){return s[t]}));this.lines.sort((function(t,e){return r.collator.compare(t.line,e.line)}));return[2]}))}))};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:if(!!this.localization)return[3,2];t=this;return[4,c(this.element,"vbz-ticker")];case 1:t.localization=e.sent();this.localizationWatcher();e.label=2;case 2:if(!this.dateAdapter){this.dateAdapter=l(this.localization.$formats,this.localization.$globals)}if(!this.data)return[3,4];return[4,this.dataWatcher(this.data)];case 3:e.sent();return[3,6];case 4:return[4,this.apiWatcher(this.api)];case 5:e.sent();e.label=6;case 6:return[2]}}))}))};t.prototype.renderDisturbance=function(t){var e;return i("div",{class:(e={"stzh-vbz-ticker__disturbance":true},e["stzh-vbz-ticker__disturbance--type".concat(t.category)]=!!t.category,e)},t.category===o.DISTURBANCE_NORMAL||t.baseType===o.BASE_TYPE_GLOBAL?i("stzh-icon",{name:"warning-big",class:"stzh-vbz-ticker__disturbance-icon"}):i("stzh-icon",{name:"construction",class:"stzh-vbz-ticker__disturbance-icon"}),i("div",{class:"stzh-vbz-ticker__disturbance-text"},i("div",{class:"stzh-vbz-ticker__disturbance-title"},t.head),i("div",{class:"stzh-vbz-ticker__disturbance-date"},t.altStart||this.dateAdapter.format(t.startDate),i("span",{innerHTML:this.localization.$formats.dateRange}),t.altEnd||this.dateAdapter.format(t.endDate)),t.infoUrl?i("stzh-link",{class:"stzh-vbz-ticker__disturbance-link",size:"small",href:t.infoUrl.url},this.localization.moreInfo):i("stzh-link",{class:"stzh-vbz-ticker__disturbance-link",size:"small",target:"_blank",icon:"external-link",href:this.moreInfoLink.replace(/\{lang\}/,this.localization.$locale).replace(/\{id\}/,t.id)},this.localization.moreInfo)))};t.prototype.render=function(){var t=this;var e={"stzh-vbz-ticker":true};return i(r,null,i("div",{class:e},i("div",{class:"stzh-vbz-ticker__text"},i("div",{class:"stzh-vbz-ticker__title"},i("div",{class:"stzh-vbz-ticker__title-parts"},this.lines.length===0&&this.counter[o.DISTURBANCE_GLOBAL]===0&&i("div",{class:"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--no-disturbances"},i("stzh-icon",{class:"stzh-vbz-ticker__icon",name:"checkmark-circle"}),this.localization.noDisturbances),this.counter[o.DISTURBANCE_NORMAL]>0&&i("div",{class:"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--disturbances"},i("stzh-icon",{class:"stzh-vbz-ticker__icon",name:"warning"}),this.counter[o.DISTURBANCE_GLOBAL]>0?this.localization.furtherDisturbanceTitle:this.localization.disturbanceTitle),(this.counter[o.DISTURBANCE_CONSTRUCTION]>0||this.counter[o.DISTURBANCE_EVENT]>0||this.counter[o.DISTURBANCE_BUS]>0)&&i("div",{class:"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--others"},i("stzh-icon",{class:"stzh-vbz-ticker__icon",name:"construction"}),this.localization.constructionsTitle))),(this.lines.length>0||this.counter[o.DISTURBANCE_GLOBAL]>0)&&i(s,null,i("div",{class:"stzh-vbz-ticker__chips",role:"list"},this.lines.map((function(e){return i("div",{class:"stzh-vbz-ticker__chip",role:"listitem"},i("stzh-tooltip",{class:"stzh-vbz-ticker__tooltip"},i("stzh-vbz-linechip",{line:e.line,alert:e.alert}),i("div",{class:"stzh-vbz-ticker__tooltip-content",slot:"content"},e.disturbances.map((function(e){return t.renderDisturbance(e)})))))}))))),i("div",{class:"stzh-vbz-ticker__link"},i("slot",{name:"link"}))))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{localization:["localizationWatcher"],api:["apiWatcher"],data:["dataWatcher"]}},enumerable:false,configurable:true});return t}());z.style=h}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,f as a,i as s,h as t,c as i,g as r}from"./p-99a3742a.js";import{h}from"./p-5c697491.js";import{m as n}from"./p-9111e257.js";const d=class{constructor(t){e(this,t),this.handleResize=()=>{this.stickyDisabled||(this.debounceResize&&window.cancelAnimationFrame(this.debounceResize),this.debounceResize=requestAnimationFrame((()=>{a((()=>{this.isSmall=n("small").matches,this.isSmallheader=n("smallheader").matches,this.headerTop=this.element.offsetTop,this.headerHeight=this.element.offsetHeight,this.appnavHeight=this.appnavElement?this.appnavElement.offsetHeight:0,this.metabarHeight=this.metabarElement?this.metabarElement.offsetHeight:0})),s((()=>{this.appnavPlaceholderElement.style.height=!this.appnavHeight||this.isSmall||this.preventAppnavPlaceholder?"0px":`${this.appnavHeight}px`})),this.scrollListener()})))},this.href="https://www.stadt-zuerich.ch",this.metabarStay=!1,this.stickyDisabled=!1,this.preventAppnavPlaceholder=!1,this.hideLogo=!1,this.paddingTop=void 0,this.metabarTransform=void 0,this.sticky=!1,this.stickyClosing=!1,this.stickyMetabar=!1,this.stickyMetabarEnd=!1}async updatePosition(){if(this.stickyDisabled)return;const e=()=>{this.sticky=!1,this.stickyClosing=!1,this.paddingTop=0};if(this.scrollingUp&&this.belowStayStickyPoint)!this.sticky&&this.belowStartStickyPoint&&(this.paddingTop=this.headerHeight,this.sticky=!0),this.updateMetabarPosition();else if(this.sticky&&this.belowStayStickyPoint){const a=()=>{e(),this.updateMetabarPosition(),this.innerElement.removeEventListener("animationend",a)};this.innerElement.addEventListener("animationend",a),this.stickyClosing=!0}else e(),this.updateMetabarPosition()}scrollListener(){this.stickyDisabled||(a((()=>{this.scrollTop=this.getScrollTop(),this.scrollingUp=this.lastScrollTop&&this.lastScrollTop>this.scrollTop,this.lastScrollTop=this.scrollTop,this.innerHeight=this.innerElement?this.innerElement.offsetHeight:0,this.mainHeight=this.mainElement?this.mainElement.offsetHeight:0,this.logobarHeight=this.sticky?this.isSmall?this.headerHeight-this.innerHeight:this.headerHeight-this.mainHeight:this.logobarElement?this.logobarElement.offsetHeight:0,this.belowStayStickyPoint=this.scrollTop>this.logobarHeight,this.belowStartStickyPoint=this.scrollTop>this.headerHeight,this.headerOverlap=(this.headerTop-this.scrollTop)/-1,this.hideLogo=this.isSmallheader&&this.headerOverlap>10})),s((()=>{this.updatePosition()})))}getScrollTop(){return window.pageYOffset||document.documentElement.scrollTop}updateMetabarPosition(){this.metabarElement&&!this.stickyDisabled&&(CSS&&CSS.supports&&CSS.supports("position","sticky")||(this.isSmallheader&&this.headerOverlap>0&&!this.sticky&&!this.stickyClosing?this.headerOverlap<this.mainHeight-this.metabarHeight?(this.stickyMetabar=!0,this.stickyMetabarEnd=!1,this.metabarTransform="translateY(0)"):(this.stickyMetabar=!1,this.stickyMetabarEnd=!0,this.metabarTransform=`translateY(${this.logobarHeight}px)`):(this.stickyMetabar=!1,this.stickyMetabarEnd=!1,this.metabarTransform="translateY(0)")))}connectedCallback(){this.appnavPlaceholderElement=document.createElement("div"),this.element.parentElement.appendChild(this.appnavPlaceholderElement),this.resizeObserver=new ResizeObserver(this.handleResize),this.resizeObserver.observe(this.element)}disconnectedCallback(){this.appnavPlaceholderElement.parentElement.removeChild(this.appnavPlaceholderElement),this.resizeObserver&&this.resizeObserver.disconnect()}render(){const e=h(this.element,"nav"),a=h(this.element,"login"),s=h(this.element,"appnav"),r=h(this.element,"langnav");return t(i,null,t("div",{style:{paddingTop:`${this.paddingTop}px`},class:{header:!0,"header--is-sticky-disabled":this.stickyDisabled,"header--sticky":this.sticky,"header--sticky-closing":this.stickyClosing,"header--hide-logo":this.hideLogo,"header--sticky-metabar":this.stickyMetabar,"header--sticky-metabar-end":this.stickyMetabarEnd,"header--has-metabar-stay":this.metabarStay,"header--has-empty-metabar-mobile":!a,"header--has-empty-metabar":!a&&!r&&!e,"header--has-appnav":s}},t("div",{class:"header__inner",ref:e=>this.innerElement=e},t("div",{class:"header__main",ref:e=>this.mainElement=e},t("div",{class:"header__logobar",ref:e=>this.logobarElement=e},t("div",{class:"header__logobar-logo"},t("a",{href:this.href,class:"header__logo-link"},t("slot",{name:"logo"})))),t("div",{class:"header__metabar",style:{transform:this.metabarTransform},ref:e=>this.metabarElement=e},t("div",{class:"header__metabar-inner"},t("div",{class:"header__metabar-nav"},t("slot",{name:"nav"})),t("div",{class:"header__metabar-login"},t("slot",{name:"login"})),t("div",{class:"header__metabar-langnav"},t("slot",{name:"langnav"}))))),t("div",{class:"header__appnav",ref:e=>this.appnavElement=e},t("div",{class:"header__appnav-inner"},t("slot",{name:"appnav"}))))))}get element(){return r(this)}};d.style=".sc-stzh-header-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-header-h{display:none}.sc-stzh-header-h *.sc-stzh-header,.sc-stzh-header-h *.sc-stzh-header::before,.sc-stzh-header-h *.sc-stzh-header::after{-webkit-box-sizing:border-box;box-sizing:border-box}@-webkit-keyframes stzh-header-open{from{-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{-webkit-transform:translateY(0%);transform:translateY(0%)}}@keyframes stzh-header-open{from{-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{-webkit-transform:translateY(0%);transform:translateY(0%)}}@-webkit-keyframes stzh-header-close{from{-webkit-transform:translateY(0%);transform:translateY(0%)}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes stzh-header-close{from{-webkit-transform:translateY(0%);transform:translateY(0%)}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}.sc-stzh-header-h .sc-stzh-header-s>img[slot=logo]{width:auto;height:100%}.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login]{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover,.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover__trigger{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover .stzh-popover__trigger stzh-button .stzh-button{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);height:auto}@media screen and (max-width: 799px){.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover .stzh-popover__trigger stzh-button .stzh-button{border-radius:0;height:100%}}@media screen and (max-width: 799px){.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover .stzh-popover__trigger stzh-button .stzh-button__badge{top:0.5rem;right:0.4375rem}}.header__inner.sc-stzh-header{-webkit-transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed), -webkit-box-shadow var(--stzh-base-transition-animation-speed)}.header__main.sc-stzh-header{position:relative;z-index:var(--stzh-z-index-header);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative;-webkit-box-shadow:var(--stzh-box-shadow-header);box-shadow:var(--stzh-box-shadow-header);background-color:var(--stzh-color-white);-webkit-transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed), -webkit-box-shadow var(--stzh-base-transition-animation-speed)}@media screen and (min-width: 800px){.header__main.sc-stzh-header{-webkit-box-shadow:none;box-shadow:none;-ms-flex-direction:column-reverse;flex-direction:column-reverse;border-bottom:0.0625rem solid var(--stzh-base-border-color);padding-top:4rem}@supports ((position: -webkit-sticky) or (position: sticky)){.header__main.sc-stzh-header{padding-top:0}}}.header__metabar.sc-stzh-header{border-top:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 800px){.header__metabar.sc-stzh-header{border-top:none;background-color:var(--stzh-color-grey5);z-index:1;position:absolute;top:0;left:0;right:0}@supports ((position: -webkit-sticky) or (position: sticky)){.header__metabar.sc-stzh-header{position:-webkit-sticky;position:sticky}}}.header__metabar-inner.sc-stzh-header{margin:0 1.25rem;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;height:3rem}@media screen and (min-width: 600px){.header__metabar-inner.sc-stzh-header{margin:0 2rem}}@media screen and (min-width: 1024px){.header__metabar-inner.sc-stzh-header{margin:0 2.5rem}}@media screen and (min-width: 1260px){.header__metabar-inner.sc-stzh-header{margin:0 5.5rem}}@media screen and (min-width: 1440px){.header__metabar-inner.sc-stzh-header{margin:0 auto;width:78.75rem}}@media screen and (max-width: 799px){.header__metabar-inner.sc-stzh-header{margin:0 auto}}@media screen and (min-width: 800px){.header__metabar-inner.sc-stzh-header{-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center;height:4rem}}.header__metabar-nav.sc-stzh-header,.header__metabar-langnav.sc-stzh-header{display:none}@media screen and (min-width: 800px){.header__metabar-nav.sc-stzh-header,.header__metabar-langnav.sc-stzh-header{display:-ms-inline-flexbox;display:inline-flex}}.header__metabar-login.sc-stzh-header{display:-ms-flexbox;display:flex;-ms-flex-preferred-size:50%;flex-basis:50%}@media screen and (min-width: 800px){.header__metabar-login.sc-stzh-header:not(:empty){-ms-flex-preferred-size:auto;flex-basis:auto;margin-left:var(--stzh-space-small)}}@media screen and (min-width: 800px){.header__metabar-langnav.sc-stzh-header:not(:empty){margin-left:var(--stzh-space-medium)}}.header__logobar.sc-stzh-header{display:-ms-flexbox;display:flex;background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.header__logobar-logo.sc-stzh-header{-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-flexbox;display:flex;background-color:var(--stzh-color-white);overflow:hidden;width:calc(100% - 3rem - 0.0625rem)}@media screen and (min-width: 800px){.header__logobar-logo.sc-stzh-header{width:25rem}}@media screen and (min-width: 1260px){.header__logobar-logo.sc-stzh-header{width:28.75rem}}@media screen and (min-width: 1440px){.header__logobar-logo.sc-stzh-header{padding-left:calc((100vw - 78.75rem - var(--stzh-scrollbar-width, 0px)) / 2)}}.header__logo-link.sc-stzh-header{-ms-flex-positive:1;flex-grow:1;display:-ms-inline-flexbox;display:inline-flex;height:4.75rem;padding:var(--stzh-space-medium);padding-left:1.25rem;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed)}@media screen and (min-width: 600px){.header__logo-link.sc-stzh-header{padding-left:2rem}}@media screen and (min-width: 800px){.header__logo-link.sc-stzh-header{height:5.625rem}}@media screen and (min-width: 1260px){.header__logo-link.sc-stzh-header{height:7.5rem;padding:var(--stzh-space-large);padding-left:5.5rem}}@media screen and (min-width: 1440px){.header__logo-link.sc-stzh-header{padding-left:0}}.header__appnav.sc-stzh-header{position:fixed;left:0;right:0;bottom:0;z-index:calc(var(--stzh-z-index-header) - 1);-webkit-box-shadow:var(--stzh-box-shadow-header);box-shadow:var(--stzh-box-shadow-header);background-color:var(--stzh-color-white)}@media screen and (min-width: 600px){.header__appnav.sc-stzh-header{position:static;-webkit-box-shadow:none;box-shadow:none}}@media screen and (min-width: 600px){.header__appnav-inner.sc-stzh-header{margin:0 1.25rem}}@media screen and (min-width: 600px) and (min-width: 600px){.header__appnav-inner.sc-stzh-header{margin:0 2rem}}@media screen and (min-width: 600px) and (min-width: 1024px){.header__appnav-inner.sc-stzh-header{margin:0 2.5rem}}@media screen and (min-width: 600px) and (min-width: 1260px){.header__appnav-inner.sc-stzh-header{margin:0 5.5rem}}@media screen and (min-width: 600px) and (min-width: 1440px){.header__appnav-inner.sc-stzh-header{margin:0 auto;width:78.75rem}}.header--hide-logo.sc-stzh-header .header__logo-link.sc-stzh-header{opacity:0}@media screen and (max-width: 799px){.header--has-empty-metabar-mobile.sc-stzh-header .header__metabar.sc-stzh-header{display:none}}.header--has-empty-metabar.sc-stzh-header .header__metabar.sc-stzh-header{display:none}@media screen and (max-width: 799px){.header--has-metabar-stay.sc-stzh-header .header__metabar-langnav.sc-stzh-header{display:-ms-inline-flexbox;display:inline-flex}}@media screen and (max-width: 799px){.header--has-metabar-stay.sc-stzh-header .header__metabar-nav.sc-stzh-header{display:-ms-inline-flexbox;display:inline-flex}}@media screen and (max-width: 799px){.header--has-metabar-stay.sc-stzh-header .header__main.sc-stzh-header{-webkit-box-shadow:none;box-shadow:none;-ms-flex-direction:column-reverse;flex-direction:column-reverse;border-bottom:0.0625rem solid var(--stzh-base-border-color)}}@media screen and (max-width: 799px){.header--has-metabar-stay.sc-stzh-header .header__metabar.sc-stzh-header{display:block;border-top:none;background-color:var(--stzh-color-grey5)}}@media screen and (max-width: 799px){.header--has-metabar-stay.sc-stzh-header .header__metabar-inner.sc-stzh-header{margin:0 1.25rem;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center}}@media screen and (max-width: 799px) and (min-width: 600px){.header--has-metabar-stay.sc-stzh-header .header__metabar-inner.sc-stzh-header{margin:0 2rem}}@media screen and (max-width: 799px) and (min-width: 1024px){.header--has-metabar-stay.sc-stzh-header .header__metabar-inner.sc-stzh-header{margin:0 2.5rem}}@media screen and (max-width: 799px) and (min-width: 1260px){.header--has-metabar-stay.sc-stzh-header .header__metabar-inner.sc-stzh-header{margin:0 5.5rem}}@media screen and (max-width: 799px) and (min-width: 1440px){.header--has-metabar-stay.sc-stzh-header .header__metabar-inner.sc-stzh-header{margin:0 auto;width:78.75rem}}@media screen and (min-width: 800px){.header--sticky-metabar.sc-stzh-header:not(.header--sticky):not(.header--is-sticky-disabled) .header__metabar.sc-stzh-header{position:fixed}}@media screen and (min-width: 600px){.header--sticky.sc-stzh-header .header__inner.sc-stzh-header{-webkit-animation:stzh-header-open var(--stzh-base-transition-animation-speed);animation:stzh-header-open var(--stzh-base-transition-animation-speed);z-index:var(--stzh-z-index-header);position:fixed;top:0;left:0;right:0;margin:0;-webkit-box-shadow:var(--stzh-box-shadow-header);box-shadow:var(--stzh-box-shadow-header)}}@media screen and (max-width: 599px){.header--sticky.sc-stzh-header .header__main.sc-stzh-header{-webkit-animation:stzh-header-open var(--stzh-base-transition-animation-speed);animation:stzh-header-open var(--stzh-base-transition-animation-speed);z-index:var(--stzh-z-index-header);position:fixed;top:0;left:0;right:0;margin:0}}@media screen and (min-width: 600px){.header--sticky.sc-stzh-header .header__main.sc-stzh-header{-webkit-box-shadow:none;box-shadow:none}}@media screen and (max-width: 799px){.header--sticky.sc-stzh-header .header__appnav.sc-stzh-header{border-top:0.0625rem solid var(--stzh-base-border-color)}}.header--sticky.sc-stzh-header .header__metabar.sc-stzh-header{border-top:none}.header--sticky.header--has-empty-metabar.sc-stzh-header .header__metabar.sc-stzh-header{display:none}@media screen and (min-width: 600px){.header--sticky.header--has-empty-metabar.sc-stzh-header:not(.header--has-appnav) .header__main.sc-stzh-header{border-bottom:none}}.header--sticky.sc-stzh-header .header__logobar.sc-stzh-header{display:none}@media screen and (max-width: 599px){.header--sticky.header--has-metabar-stay.sc-stzh-header .header__main.sc-stzh-header{-webkit-box-shadow:var(--stzh-box-shadow-header);box-shadow:var(--stzh-box-shadow-header)}}@media screen and (min-width: 600px){.header--sticky-closing.sc-stzh-header .header__inner.sc-stzh-header{-webkit-animation:stzh-header-close var(--stzh-base-transition-animation-speed);animation:stzh-header-close var(--stzh-base-transition-animation-speed)}}@media screen and (max-width: 599px){.header--sticky-closing.sc-stzh-header .header__main.sc-stzh-header{-webkit-animation:stzh-header-close var(--stzh-base-transition-animation-speed);animation:stzh-header-close var(--stzh-base-transition-animation-speed)}}@media screen and (min-width: 800px){@supports ((position: -webkit-sticky) or (position: sticky)){.header--is-sticky-disabled.sc-stzh-header .header__main.sc-stzh-header{padding-top:4rem}}}@media screen and (min-width: 800px){@supports ((position: -webkit-sticky) or (position: sticky)){.header--is-sticky-disabled.sc-stzh-header .header__metabar.sc-stzh-header{position:absolute}}}";export{d as stzh_header}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,s,i,n){function e(t){return t instanceof i?t:new i((function(s){s(t)}))}return new(i||(i=Promise))((function(i,h){function r(t){try{p(n.next(t))}catch(s){h(s)}}function u(t){try{p(n["throw"](t))}catch(s){h(s)}}function p(t){t.done?i(t.value):e(t.value).then(r,u)}p((n=n.apply(t,s||[])).next())}))};var __generator=this&&this.__generator||function(t,s){var i={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},n,e,h,r;return r={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function u(t){return function(s){return p([t,s])}}function p(u){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,u[0]&&(i=0)),i)try{if(n=1,e&&(h=u[0]&2?e["return"]:u[0]?e["throw"]||((h=e["return"])&&h.call(e),0):e.next)&&!(h=h.call(e,u[1])).done)return h;if(e=0,h)u=[u[0]&2,h.value];switch(u[0]){case 0:case 1:h=u;break;case 4:i.label++;return{value:u[1],done:false};case 5:i.label++;e=u[1];u=[0];continue;case 7:u=i.ops.pop();i.trys.pop();continue;default:if(!(h=i.trys,h=h.length>0&&h[h.length-1])&&(u[0]===6||u[0]===2)){i=0;continue}if(u[0]===3&&(!h||u[1]>h[0]&&u[1]<h[3])){i.label=u[1];break}if(u[0]===6&&i.label<h[1]){i.label=h[1];h=u;break}if(h&&i.label<h[2]){i.label=h[2];i.ops.push(u);break}if(h[2])i.ops.pop();i.trys.pop();continue}u=s.call(t,i)}catch(p){u=[6,p];e=0}finally{n=h=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-36e72c1d.system.js","./p-d4b7a303.system.js","./p-a408bfba.system.js","./p-db339680.system.js"],(function(t){"use strict";var s,i,n,e,h,r,u,p;return{setters:[function(t){s=t.r;i=t.e;n=t.h;e=t.c;h=t.g},function(t){r=t.h},function(t){u=t.f},function(t){p=t.S}],execute:function(){var a='.sc-stzh-input-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-input-h{display:none}.sc-stzh-input-h *.sc-stzh-input,.sc-stzh-input-h *.sc-stzh-input::before,.sc-stzh-input-h *.sc-stzh-input::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-input-h{width:100%;border-radius:var(--stzh-form-input-border-radius)}.sc-stzh-input-h .sc-stzh-input-s>[slot=button-right],.stzh-input__button-right.sc-stzh-input{position:absolute;top:0;right:0}.sc-stzh-input-h .sc-stzh-input-s>stzh-button[slot=button-right][variant=input],.sc-stzh-input-h .sc-stzh-input-s>[slot=button-right] stzh-button[variant=input],.stzh-input__button-right[variant=input].sc-stzh-input{--border-color:transparent;--hover-border-color:transparent}.stzh-input.sc-stzh-input{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-input__marker-symbol.sc-stzh-input{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-input__marker-text.sc-stzh-input{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-input__description-wrapper.sc-stzh-input{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-input__error.sc-stzh-input,.stzh-input__description.sc-stzh-input{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-input__error.sc-stzh-input{color:var(--stzh-color-error)}.stzh-input__error-list.sc-stzh-input{list-style:none;margin:0;padding:0}.stzh-input__description.sc-stzh-input{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-input__description-long.sc-stzh-input{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-input__description-long-popover.sc-stzh-input{--width:auto;--max-width:27.3125rem}.stzh-input__description-long-popover[open].sc-stzh-input:not([open=false]) .stzh-input__description-long-button.sc-stzh-input{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-input__description-long-button.sc-stzh-input{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-input__description-long-button.sc-stzh-input:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-input.sc-stzh-input stzh-icon.stzh-input__description-long-icon.sc-stzh-input{--size:var(--stzh-icon-size-xsmall)}.stzh-input--has-error.sc-stzh-input .stzh-input__error.sc-stzh-input,.stzh-input--has-description.sc-stzh-input .stzh-input__description.sc-stzh-input{margin-top:var(--stzh-space-xxsmall)}.stzh-input__field-wrapper.sc-stzh-input{position:relative;display:-ms-flexbox;display:flex}.stzh-input__input.sc-stzh-input{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);border:0.0625rem solid var(--stzh-color-grey61);-webkit-transition-property:color, border-color;transition-property:color, border-color;-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-form-input-border-radius);padding:var(--stzh-space-xsmall) var(--stzh-space-medium);width:100%;color:var(--stzh-color-primary, var(--stzh-color-zueriblue));background:var(--stzh-color-white);-webkit-appearance:none;-moz-appearance:none;appearance:none}.stzh-input__input.sc-stzh-input::-webkit-input-placeholder{color:var(--stzh-color-grey61)}.stzh-input__input.sc-stzh-input:-moz-placeholder{color:var(--stzh-color-grey61)}.stzh-input__input.sc-stzh-input::-moz-placeholder{color:var(--stzh-color-grey61)}.stzh-input__input.sc-stzh-input:-ms-input-placeholder{color:var(--stzh-color-grey61)}.stzh-input__input.sc-stzh-input:hover,.stzh-input__input.sc-stzh-input:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-input__input.sc-stzh-input::-ms-clear{display:none}.stzh-input__input.sc-stzh-input:-webkit-autofill{-webkit-background-clip:text;background-clip:text}.stzh-input__input.sc-stzh-input:-moz-placeholder-shown{text-overflow:ellipsis}.stzh-input__input.sc-stzh-input:-ms-input-placeholder{text-overflow:ellipsis}.stzh-input__input.sc-stzh-input:placeholder-shown{text-overflow:ellipsis}.stzh-input__input[type=search].sc-stzh-input::-webkit-search-decoration,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-cancel-button,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-results-button,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-results-decoration{-webkit-appearance:none}.stzh-input__input--input.sc-stzh-input{height:var(--stzh-form-input-height)}.stzh-input__input--textarea.sc-stzh-input{min-height:var(--stzh-form-input-height);resize:vertical}.stzh-input__label.sc-stzh-input{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--stzh-color-grey61);width:auto;position:absolute;top:calc(var(--stzh-form-input-height) / 2);left:calc(var(--stzh-space-medium) + 0.0625rem);max-width:calc(100% - var(--stzh-space-medium) * 2);-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);pointer-events:none}.stzh-input__label.sc-stzh-input:empty{display:none}.stzh-input__label.sc-stzh-input::before{content:"";display:none;background:var(--stzh-color-white);position:absolute;width:100%;z-index:-1;left:0;top:50%;margin-top:-0.5px;height:0.125rem}.stzh-input__input.sc-stzh-input:hover+.stzh-input__label.sc-stzh-input,.stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-input__button-right.sc-stzh-input{display:none}.stzh-input__button-right[disabled].sc-stzh-input:not([disabled=false])[variant=input]{--color:var(--stzh-color-grey61);--background-color:transparent;--border-color:transparent;--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:transparent;--hover-border-color:transparent}.stzh-input--is-clearable.stzh-input--is-filled.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.sc-stzh-input .stzh-input__button-right.sc-stzh-input{display:block}.stzh-input--type-search.sc-stzh-input:not(.stzh-input--is-filled) .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-readonly.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-disabled.sc-stzh-input .stzh-input__button-right.sc-stzh-input{pointer-events:none}.stzh-input--is-filled.sc-stzh-input .stzh-input__button-right.is-search.sc-stzh-input{pointer-events:initial}.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input,.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input{display:block;top:0;left:calc(var(--stzh-space-medium) - var(--stzh-space-xxsmall));height:1.25rem;line-height:1.25rem;padding:0 var(--stzh-space-xxsmall);max-width:calc(100% - var(--stzh-space-small) * 2);pointer-events:all}.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before{display:block}.stzh-input--has-button-right.sc-stzh-input .stzh-input__input.sc-stzh-input{padding-right:calc(var(--stzh-space-xsmall) + var(--stzh-form-input-height))}.stzh-input--has-button-right.sc-stzh-input .stzh-input__label.sc-stzh-input{max-width:calc(100% - (var(--stzh-space-medium) + 0.0625rem) * 2 - var(--stzh-form-input-height))}.stzh-input--has-button-right.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input{max-width:calc(100% - var(--stzh-space-medium) - var(--stzh-space-xxsmall) - 0.0625rem + var(--stzh-space-xxsmall) - var(--stzh-form-input-height))}.stzh-input--size-small.sc-stzh-input{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-input--size-small.sc-stzh-input .stzh-input__input.sc-stzh-input{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-input--size-small.sc-stzh-input .stzh-input__input--input.sc-stzh-input{height:var(--stzh-form-input-small-height)}.stzh-input--size-small.sc-stzh-input .stzh-input__input--textarea.sc-stzh-input{min-height:var(--stzh-form-input-small-height)}.stzh-input--size-small.sc-stzh-input .stzh-input__label.sc-stzh-input{top:calc(var(--stzh-form-input-small-height) / 2)}.stzh-input--size-small.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input{top:0}.stzh-input--size-small.stzh-input--has-button-right.sc-stzh-input .stzh-input__input.sc-stzh-input{padding-right:calc(var(--stzh-space-xxsmall) + var(--stzh-form-input-small-height))}.stzh-input--size-small.stzh-input--has-button-right.sc-stzh-input .stzh-input__label.sc-stzh-input{max-width:calc(100% - (var(--stzh-space-medium) + 0.0625rem) * 2 - var(--stzh-form-input-small-height))}.stzh-input--size-small.stzh-input--has-button-right.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input{max-width:calc(100% - var(--stzh-space-medium) - var(--stzh-space-xxsmall) - 0.0625rem + var(--stzh-space-xsmall) - var(--stzh-form-input-small-height))}.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input.sc-stzh-input::-webkit-outer-spin-button,.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input.sc-stzh-input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input[type=number].sc-stzh-input{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input+.stzh-input__label.sc-stzh-input{color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input{border-color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input::-webkit-input-placeholder{color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input:-moz-placeholder{color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input::-moz-placeholder{color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input:-ms-input-placeholder{color:var(--stzh-color-error)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input+.stzh-input__label.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input+.stzh-input__label.sc-stzh-input{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input{color:var(--stzh-color-grey61);border-color:transparent;background-color:var(--stzh-color-black8);cursor:not-allowed}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input::-webkit-input-placeholder,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input::-webkit-input-placeholder{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input:-moz-placeholder,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input:-moz-placeholder{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input::-moz-placeholder,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input::-moz-placeholder{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input:-ms-input-placeholder,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input:-ms-input-placeholder{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input:hover,.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input:focus,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input:hover,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input:focus{border-color:transparent}.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input{cursor:not-allowed}.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input::before,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input::before{background:transparent}.stzh-input--is-readonly.sc-stzh-input .stzh-input__button-right[disabled].sc-stzh-input:not([disabled=false])[variant=input],.stzh-input--is-disabled.sc-stzh-input .stzh-input__button-right[disabled].sc-stzh-input:not([disabled=false])[variant=input]{--color:var(--stzh-color-grey61);--hover-color:var(--stzh-color-grey61)}';var o=0;var l=t("stzh_input",function(){function t(t){var n=this;s(this,t);this.stzhChange=i(this,"stzhChange",7);this.stzhFocus=i(this,"stzhFocus",7);this.stzhBlur=i(this,"stzhBlur",7);this.onClearClick=function(t){n.value="";n.input.focus();n.stzhChange.emit({component:"stzh-input",originalEvent:t,value:n.value})};this.onInput=function(t){n.value=n.input.value;n.stzhChange.emit({component:"stzh-input",originalEvent:t,value:n.value})};this.onFocus=function(t){var s=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});n.element.dispatchEvent(s);n.stzhFocus.emit({component:"stzh-input",originalEvent:t})};this.onBlur=function(t){n.input.value=n.input.value;var s=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});n.element.dispatchEvent(s);n.stzhBlur.emit({component:"stzh-input",originalEvent:t})};this.localization=undefined;this.multiline=false;this.rows=undefined;this.type="text";this.step=1;this.min=undefined;this.max=undefined;this.showSpin=false;this.readonly=false;this.disabled=false;this.clearable=false;this.showMarker=false;this.minlength=undefined;this.maxlength=undefined;this.name=undefined;this.value="";this.description=undefined;this.descriptionLong=undefined;this.error=undefined;this.invalid=false;this.required=false;this.inputmode=undefined;this.autocomplete="on";this.noAutocomplete=false;this.label="";this.size="default";this.a11yDescribedby="";this.filled=undefined}t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.input.focus();return[2]}))}))};t.prototype.valueWatcher=function(t){this.filled=t!==""};t.prototype.errorWatcher=function(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}this.invalid=this._error.length>0};t.prototype.typeWatcher=function(t){var s=["text","search","password","email","url","tel","number"];if(!this.multiline&&!s.includes(t)){throw new Error("Type ".concat(t," not supported"))}};t.prototype.renderTextarea=function(){var t=this;return n("textarea",{class:"stzh-input__input stzh-input__input--textarea",ref:function(s){return t.input=s},id:this.inputId,name:this.name,value:this.value,rows:this.rows,disabled:this.disabled,readonly:this.readonly,minlength:this.minlength,maxlength:this.maxlength,"aria-describedby":"".concat(this.inputId,"-description ").concat(this.a11yDescribedby),"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur})};t.prototype.renderInput=function(){var t=this;return n("input",{class:"stzh-input__input stzh-input__input--input",ref:function(s){return t.input=s},id:this.inputId,type:this.type,name:this.name,value:this.value,min:this.min,max:this.max,step:this.step,inputmode:this.inputmode,disabled:this.disabled,readonly:this.readonly,minlength:this.minlength,maxlength:this.maxlength,autocomplete:this.noAutocomplete?"off":this.autocomplete,"aria-autocomplete":this.noAutocomplete?"none":undefined,"aria-describedby":"".concat(this.inputId,"-description ").concat(this.a11yDescribedby),"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur})};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(s){switch(s.label){case 0:this.inputId="stzh-input-".concat(o++);this.typeWatcher(this.type);this.valueWatcher(this.value);this.errorWatcher(this.error);if(!!this.localization)return[3,2];t=this;return[4,u(this.element,"input")];case 1:t.localization=s.sent();s.label=2;case 2:return[2]}}))}))};t.prototype.render=function(){var t;var s;var i=r(this.element,"button-right");var h=r(this.element,"description")||!!this.description;var u=r(this.element,"description-long")||!!this.descriptionLong;var a=r(this.element,"error")||!!this.error;var o=(t={"stzh-input":true,"stzh-input--has-button-right":i||this.type==="search"||this.clearable&&this.filled&&!this.readonly&&!this.disabled,"stzh-input--has-description":h,"stzh-input--has-description-long":u,"stzh-input--has-error":a,"stzh-input--has-spin":this.showSpin,"stzh-input--is-invalid":this.invalid,"stzh-input--is-disabled":this.disabled,"stzh-input--is-readonly":this.readonly,"stzh-input--is-required":this.required,"stzh-input--is-filled":this.filled,"stzh-input--is-clearable":this.clearable,"stzh-input--has-fixed-label":((s=window===null||window===void 0?void 0:window.stzhComponents)===null||s===void 0?void 0:s.labels)==="fixed"},t["stzh-input--size-".concat(this.size)]=!!this.size,t["stzh-input--type-".concat(this.type)]=!!this.type,t);return n(e,null,n("div",{class:o},n("div",{class:"stzh-input__field-wrapper"},this.multiline?this.renderTextarea():this.renderInput(),n("label",{class:"stzh-input__label",htmlFor:this.inputId},this.label?this.label:n("slot",null),this.showMarker&&n("span",{class:"stzh-input__marker"},n("span",{class:"stzh-input__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),n("span",{class:"stzh-input__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText))),this.clearable||this.type==="search"?n("stzh-button",{class:"stzh-input__button-right",icon:this.disabled||this.readonly||!this.filled?"search":"close-circle","icon-only":true,variant:"input",onClick:this.onClearClick,disabled:this.disabled||this.readonly||!this.filled,a11yLabel:this.localization.$globals.clearButtonLabel,"aria-controls":this.inputId}):n("slot",{name:"button-right"})),n(p,{classPrefix:"stzh-input",id:"".concat(this.inputId,"-description"),error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:u,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))};Object.defineProperty(t.prototype,"element",{get:function(){return h(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueWatcher"],error:["errorWatcher"],type:["typeWatcher"]}},enumerable:false,configurable:true});return t}());l.style=a}}}));
|