@oiz/stzh-components 2.4.0 → 2.5.0-alpha
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/app-globals-0c3558c0.js +889 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/overlay-utils-00d640c8.js +19 -0
- package/dist/cjs/stzh-accordion-item.cjs.entry.js +36 -2
- package/dist/cjs/stzh-accordion.cjs.entry.js +1 -1
- package/dist/cjs/stzh-actions.cjs.entry.js +4 -2
- package/dist/cjs/stzh-actionset.cjs.entry.js +12 -7
- package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-appnav.cjs.entry.js +4 -2
- package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
- package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-badge_3.cjs.entry.js +23 -10
- package/dist/cjs/stzh-buttongroup.cjs.entry.js +23 -0
- package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card_3.cjs.entry.js +29 -19
- package/dist/cjs/stzh-carousel.cjs.entry.js +522 -0
- package/dist/cjs/stzh-cell.cjs.entry.js +1 -1
- package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
- package/dist/cjs/stzh-checkbox.cjs.entry.js +11 -3
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +4 -2
- package/dist/cjs/stzh-chip_2.cjs.entry.js +91 -6
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
- package/dist/cjs/stzh-container.cjs.entry.js +1 -1
- package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datalist_2.cjs.entry.js +26 -10
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +15 -6
- package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datatable.cjs.entry.js +16 -4
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +22 -7
- package/dist/cjs/stzh-details.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dialog.cjs.entry.js +17 -16
- package/dist/cjs/stzh-dropdown.cjs.entry.js +14 -3
- package/dist/cjs/stzh-fieldset.cjs.entry.js +1 -1
- package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
- package/dist/cjs/stzh-flyingfocus.cjs.entry.js +4 -2
- package/dist/cjs/stzh-footer.cjs.entry.js +4 -2
- package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +6 -4
- package/dist/cjs/stzh-header.cjs.entry.js +33 -28
- package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-icon-sprite.cjs.entry.js +2 -2
- package/dist/cjs/stzh-input.cjs.entry.js +10 -3
- package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
- package/dist/cjs/stzh-langnav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-link.cjs.entry.js +16 -4
- package/dist/cjs/stzh-list-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-list.cjs.entry.js +1 -1
- package/dist/cjs/stzh-loader.cjs.entry.js +1 -1
- package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-menu_2.cjs.entry.js +13 -5
- package/dist/cjs/stzh-message.cjs.entry.js +2 -2
- package/dist/cjs/stzh-metanav.cjs.entry.js +4 -2
- package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +2 -2
- package/dist/cjs/stzh-olmap.cjs.entry.js +53 -7
- package/dist/cjs/stzh-overlay.cjs.entry.js +3 -5
- package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +4 -2
- package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +4 -2
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +4 -2
- 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-progressbar-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-progressbar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +4 -2
- package/dist/cjs/stzh-row.cjs.entry.js +1 -1
- package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
- package/dist/cjs/stzh-section.cjs.entry.js +1 -1
- package/dist/cjs/stzh-share.cjs.entry.js +1 -1
- package/dist/cjs/stzh-show.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -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-status.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sticky.cjs.entry.js +4 -2
- package/dist/cjs/stzh-table.cjs.entry.js +15 -5
- package/dist/cjs/stzh-text.cjs.entry.js +1 -1
- package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
- package/dist/cjs/stzh-toggle.cjs.entry.js +11 -3
- package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-upload.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +11 -2
- package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
- package/dist/collection/assets/i18n/de.json +9 -0
- package/dist/collection/assets/i18n/en.json +9 -0
- package/dist/collection/assets/icons/mono/mail.svg +1 -1
- package/dist/collection/assets/media/olmap/marker-active.png +0 -0
- package/dist/collection/assets/media/olmap/marker-position.png +0 -0
- package/dist/collection/assets/media/olmap/marker.png +0 -0
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.Styles-Basic.css +881 -881
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.Styles-Button.css +75 -75
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.Styles.css +977 -977
- package/dist/collection/assets/vendors/readspeaker/ReadSpeakerClassic.css +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/stzh-accordion/stzh-accordion.css +2 -0
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +2 -0
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +73 -1
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.stories.js +1 -1
- package/dist/collection/components/stzh-actions/stzh-actions.css +2 -0
- package/dist/collection/components/stzh-actions/stzh-actions.js +3 -1
- package/dist/collection/components/stzh-actionset/stzh-actionset.css +2 -0
- package/dist/collection/components/stzh-actionset/stzh-actionset.js +11 -33
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +4 -2
- package/dist/collection/components/stzh-appnav/stzh-appnav.css +6 -3
- package/dist/collection/components/stzh-appnav/stzh-appnav.js +3 -1
- package/dist/collection/components/stzh-appointments/stzh-appointments.css +2 -0
- package/dist/collection/components/stzh-audio/stzh-audio.css +2 -0
- package/dist/collection/components/stzh-badge/stzh-badge.css +4 -2
- package/dist/collection/components/stzh-button/stzh-button.css +14 -4
- package/dist/collection/components/stzh-button/stzh-button.js +54 -7
- package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.css +123 -0
- package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js +25 -0
- package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.stories.js +57 -0
- package/dist/collection/components/stzh-calendar/stzh-calendar.css +9 -4
- package/dist/collection/components/stzh-card/stzh-card.css +43 -13
- package/dist/collection/components/stzh-card/stzh-card.js +35 -36
- package/dist/collection/components/stzh-card-list/stzh-card-list.css +2 -0
- package/dist/collection/components/stzh-carousel/stzh-carousel.css +248 -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 +140 -0
- package/dist/collection/components/stzh-cell/stzh-cell.css +2 -0
- package/dist/collection/components/stzh-chart/stzh-chart.css +4 -0
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +6 -1
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +11 -3
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +2 -0
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +3 -1
- package/dist/collection/components/stzh-chip/stzh-chip.css +27 -21
- package/dist/collection/components/stzh-chip/stzh-chip.js +11 -2
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +3 -1
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +9 -7
- package/dist/collection/components/stzh-clamp/stzh-clamp.css +50 -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-contact/stzh-contact.css +2 -0
- package/dist/collection/components/stzh-container/stzh-container.css +2 -0
- package/dist/collection/components/stzh-cspace/stzh-cspace.css +2 -0
- package/dist/collection/components/stzh-datalist/stzh-datalist.css +2 -0
- package/dist/collection/components/stzh-datalist/stzh-datalist.js +19 -19
- package/dist/collection/components/stzh-datalist/stzh-datalist.stories.js +4 -1
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +8 -13
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +65 -7
- package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.css +2 -0
- package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.stories.js +2 -1
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +28 -4
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +59 -10
- package/dist/collection/components/stzh-datatable/stzh-datatable.css +4 -0
- package/dist/collection/components/stzh-datatable/stzh-datatable.js +15 -12
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.css +2 -0
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +6 -1
- package/dist/collection/components/stzh-details/stzh-details.css +2 -0
- package/dist/collection/components/stzh-dialog/stzh-dialog.css +4 -2
- package/dist/collection/components/stzh-dialog/stzh-dialog.js +16 -15
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +9 -4
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +14 -3
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.css +2 -0
- package/dist/collection/components/stzh-figure/stzh-figure.css +2 -0
- package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.css +2 -0
- package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +9 -1
- package/dist/collection/components/stzh-footer/stzh-footer.css +5 -1
- package/dist/collection/components/stzh-footer/stzh-footer.js +3 -1
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +91 -51
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +4 -2
- package/dist/collection/components/stzh-header/stzh-header.css +2 -0
- package/dist/collection/components/stzh-header/stzh-header.js +32 -45
- package/dist/collection/components/stzh-heading/stzh-heading.css +2 -0
- package/dist/collection/components/stzh-hr/stzh-hr.css +2 -0
- package/dist/collection/components/stzh-hspace/stzh-hspace.css +6 -0
- package/dist/collection/components/stzh-icon/stzh-icon.css +2 -0
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +1 -1
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.css +2 -0
- package/dist/collection/components/stzh-input/stzh-input.css +3 -2
- package/dist/collection/components/stzh-input/stzh-input.js +9 -2
- package/dist/collection/components/stzh-invert/stzh-invert.css +81 -20
- package/dist/collection/components/stzh-invert/stzh-invert.stories.js +31 -7
- package/dist/collection/components/stzh-langnav/stzh-langnav.css +2 -0
- package/dist/collection/components/stzh-link/stzh-link.css +10 -8
- package/dist/collection/components/stzh-link/stzh-link.js +49 -3
- package/dist/collection/components/stzh-list/stzh-list.css +2 -0
- package/dist/collection/components/stzh-list-item/stzh-list-item.css +2 -0
- package/dist/collection/components/stzh-loader/stzh-loader.css +6 -4
- package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.css +2 -0
- package/dist/collection/components/stzh-menu/stzh-menu.css +2 -0
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +6 -2
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +36 -28
- package/dist/collection/components/stzh-message/stzh-message.css +8 -54
- package/dist/collection/components/stzh-message/stzh-message.js +1 -1
- package/dist/collection/components/stzh-metanav/stzh-metanav.css +6 -10
- package/dist/collection/components/stzh-metanav/stzh-metanav.js +3 -1
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.css +2 -0
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
- package/dist/collection/components/stzh-olmap/assets/compass.svg +6 -0
- package/dist/collection/components/stzh-olmap/stzh-olmap.css +106 -46
- package/dist/collection/components/stzh-olmap/stzh-olmap.js +91 -10
- package/dist/collection/components/stzh-overlay/stzh-overlay.css +2 -0
- package/dist/collection/components/stzh-overlay/stzh-overlay.js +2 -4
- package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.css +2 -0
- package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.js +3 -1
- package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.css +2 -0
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +2 -0
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +3 -1
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +42 -16
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.js +3 -1
- package/dist/collection/components/stzh-popover/stzh-popover.css +5 -3
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +45 -19
- package/dist/collection/components/stzh-progressbar/stzh-progressbar.css +2 -0
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +4 -1
- package/dist/collection/components/stzh-radio/stzh-radio.css +6 -1
- package/dist/collection/components/stzh-radio/stzh-radio.js +11 -3
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +2 -0
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +3 -1
- package/dist/collection/components/stzh-ratio/stzh-ratio.css +2 -0
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.css +4 -0
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +3 -1
- package/dist/collection/components/stzh-richtext/stzh-richtext.css +5 -1
- package/dist/collection/components/stzh-row/stzh-row.css +2 -0
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.css +2 -0
- package/dist/collection/components/stzh-section/stzh-section.css +2 -0
- package/dist/collection/components/stzh-share/stzh-share.css +2 -0
- package/dist/collection/components/stzh-show/stzh-show.css +2 -0
- package/dist/collection/components/stzh-sitemap/stzh-sitemap.css +2 -0
- package/dist/collection/components/stzh-skiplink/stzh-skiplink.css +4 -1
- package/dist/collection/components/stzh-skiplink/stzh-skiplink.stories.js +3 -8
- package/dist/collection/components/stzh-sortable/stzh-sortable.css +3 -1
- package/dist/collection/components/stzh-sortable/stzh-sortable.js +3 -1
- package/dist/collection/components/stzh-space/stzh-space.css +6 -0
- package/dist/collection/components/stzh-status/stzh-status.css +2 -0
- package/dist/collection/components/stzh-sticky/stzh-sticky.css +2 -0
- package/dist/collection/components/stzh-sticky/stzh-sticky.js +3 -1
- package/dist/collection/components/stzh-table/stzh-table.css +4 -0
- package/dist/collection/components/stzh-table/stzh-table.js +14 -13
- package/dist/collection/components/stzh-text/stzh-text.css +17 -0
- package/dist/collection/components/stzh-text/stzh-text.stories.js +10 -0
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.css +2 -0
- package/dist/collection/components/stzh-toggle/stzh-toggle.css +6 -1
- package/dist/collection/components/stzh-toggle/stzh-toggle.js +11 -3
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +2 -0
- package/dist/collection/components/stzh-upload/stzh-upload.css +4 -0
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.css +3 -1
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +28 -1
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.css +2 -0
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +2 -0
- package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.css +2 -0
- package/dist/collection/components/stzh-vspace/stzh-vspace.css +6 -0
- package/dist/collection/global/js/script.js +2 -0
- package/dist/collection/pages/egov.stories.js +69 -56
- package/dist/collection/pages/meinkonto.stories.js +71 -69
- package/dist/collection/pages/microsite.stories.js +13 -11
- package/dist/collection/pages/website.stories.js +14 -12
- package/dist/collection/utils/overlay-utils.js +15 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +836 -1
- package/dist/components/overlay-utils.js +17 -0
- package/dist/components/stzh-accordion-item.js +36 -2
- package/dist/components/stzh-accordion.js +1 -1
- package/dist/components/stzh-actions.js +4 -2
- package/dist/components/stzh-actionset2.js +13 -8
- package/dist/components/stzh-anchornav.js +1 -1
- package/dist/components/stzh-appnav.js +4 -2
- package/dist/components/stzh-appointments.js +1 -1
- package/dist/components/stzh-audio.js +1 -1
- package/dist/components/stzh-badge2.js +1 -1
- package/dist/components/stzh-button2.js +23 -8
- package/dist/components/stzh-buttongroup.d.ts +11 -0
- package/dist/components/stzh-buttongroup.js +36 -0
- package/dist/components/stzh-calendar2.js +1 -1
- package/dist/components/stzh-card-list2.js +1 -1
- package/dist/components/stzh-card2.js +20 -11
- package/dist/components/stzh-carousel.d.ts +11 -0
- package/dist/components/stzh-carousel.js +568 -0
- package/dist/components/stzh-cell.js +1 -1
- package/dist/components/stzh-chart.js +1 -1
- package/dist/components/stzh-checkbox.js +12 -4
- package/dist/components/stzh-checkboxgroup.js +4 -2
- package/dist/components/stzh-chip-select2.js +30 -16
- package/dist/components/stzh-chip2.js +28 -7
- package/dist/components/stzh-clamp2.js +110 -11
- package/dist/components/stzh-contact.js +21 -15
- package/dist/components/stzh-container.js +1 -1
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-datalist-item2.js +42 -17
- package/dist/components/stzh-datalist2.js +20 -14
- package/dist/components/stzh-datamessagelist-item.js +36 -18
- package/dist/components/stzh-datamessagelist.js +1 -1
- package/dist/components/stzh-datatable.js +17 -5
- package/dist/components/stzh-datepicker2.js +7 -2
- package/dist/components/stzh-details.js +1 -1
- package/dist/components/stzh-dialog.js +17 -16
- package/dist/components/stzh-dropdown2.js +14 -3
- package/dist/components/stzh-fieldset.js +1 -1
- package/dist/components/stzh-figure.js +1 -1
- package/dist/components/stzh-flyingfocus.js +5 -3
- package/dist/components/stzh-footer.js +4 -2
- package/dist/components/stzh-ghettobox2.js +18 -4
- package/dist/components/stzh-header.js +34 -29
- package/dist/components/stzh-heading2.js +1 -1
- package/dist/components/stzh-hr.js +1 -1
- package/dist/components/stzh-hspace.js +1 -1
- package/dist/components/stzh-icon-sprite.js +2 -2
- package/dist/components/stzh-icon2.js +1 -1
- package/dist/components/stzh-input2.js +10 -3
- package/dist/components/stzh-invert.js +1 -1
- package/dist/components/stzh-langnav.js +1 -1
- package/dist/components/stzh-link2.js +18 -4
- package/dist/components/stzh-list-item.js +1 -1
- package/dist/components/stzh-list.js +1 -1
- package/dist/components/stzh-loader2.js +1 -1
- package/dist/components/stzh-loadingbar.js +1 -1
- package/dist/components/stzh-menu-item2.js +14 -6
- package/dist/components/stzh-menu2.js +1 -1
- package/dist/components/stzh-message.js +15 -3
- package/dist/components/stzh-metanav.js +4 -2
- package/dist/components/stzh-microsite-teaserlist.js +2 -2
- package/dist/components/stzh-olmap.js +55 -8
- package/dist/components/stzh-overlay.js +3 -5
- package/dist/components/stzh-page-skiplinks.js +4 -2
- package/dist/components/stzh-pagebottom.js +1 -1
- package/dist/components/stzh-pagetitle-hero.js +4 -2
- package/dist/components/stzh-pagetitle.js +4 -2
- package/dist/components/stzh-popover2.js +1 -1
- package/dist/components/stzh-portal-mitwirken.js +1 -1
- package/dist/components/stzh-progressbar-item2.js +1 -1
- package/dist/components/stzh-progressbar.js +1 -1
- package/dist/components/stzh-radio2.js +12 -4
- package/dist/components/stzh-radiogroup2.js +4 -2
- package/dist/components/stzh-ratio.js +1 -1
- package/dist/components/stzh-readspeaker.js +4 -2
- package/dist/components/stzh-richtext2.js +1 -1
- package/dist/components/stzh-row.js +1 -1
- package/dist/components/stzh-saptcha.js +1 -1
- package/dist/components/stzh-section.js +1 -1
- package/dist/components/stzh-share2.js +1 -1
- package/dist/components/stzh-show.js +1 -1
- package/dist/components/stzh-sitemap.js +19 -13
- package/dist/components/stzh-skiplink.js +1 -1
- package/dist/components/stzh-sortable2.js +4 -2
- package/dist/components/stzh-space.js +1 -1
- package/dist/components/stzh-status2.js +1 -1
- package/dist/components/stzh-sticky.js +4 -2
- package/dist/components/stzh-table.js +16 -6
- package/dist/components/stzh-text2.js +1 -1
- package/dist/components/stzh-textandimage.js +1 -1
- package/dist/components/stzh-toggle.js +12 -4
- package/dist/components/stzh-tooltip2.js +1 -1
- package/dist/components/stzh-upload.js +1 -1
- package/dist/components/stzh-vbz-linechip2.js +12 -2
- package/dist/components/stzh-vbz-majorticker.js +1 -1
- package/dist/components/stzh-vbz-ticker.js +1 -1
- package/dist/components/stzh-visuallyhidden.js +1 -1
- package/dist/components/stzh-vspace.js +1 -1
- package/dist/esm/app-globals-a58b5d2d.js +887 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/overlay-utils-33021971.js +17 -0
- package/dist/esm/stzh-accordion-item.entry.js +36 -2
- package/dist/esm/stzh-accordion.entry.js +1 -1
- package/dist/esm/stzh-actions.entry.js +4 -2
- package/dist/esm/stzh-actionset.entry.js +12 -7
- package/dist/esm/stzh-anchornav.entry.js +1 -1
- package/dist/esm/stzh-appnav.entry.js +4 -2
- package/dist/esm/stzh-appointments.entry.js +1 -1
- package/dist/esm/stzh-audio.entry.js +1 -1
- package/dist/esm/stzh-badge_3.entry.js +23 -10
- package/dist/esm/stzh-buttongroup.entry.js +19 -0
- package/dist/esm/stzh-calendar.entry.js +1 -1
- package/dist/esm/stzh-card_3.entry.js +29 -19
- package/dist/esm/stzh-carousel.entry.js +518 -0
- package/dist/esm/stzh-cell.entry.js +1 -1
- package/dist/esm/stzh-chart.entry.js +1 -1
- package/dist/esm/stzh-checkbox.entry.js +12 -4
- package/dist/esm/stzh-checkboxgroup.entry.js +4 -2
- package/dist/esm/stzh-chip_2.entry.js +91 -6
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-contact.entry.js +1 -1
- package/dist/esm/stzh-container.entry.js +1 -1
- package/dist/esm/stzh-cspace.entry.js +1 -1
- package/dist/esm/stzh-datalist_2.entry.js +26 -10
- package/dist/esm/stzh-datamessagelist-item.entry.js +15 -6
- package/dist/esm/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm/stzh-datatable.entry.js +16 -4
- package/dist/esm/stzh-datepicker_3.entry.js +22 -7
- package/dist/esm/stzh-details.entry.js +1 -1
- package/dist/esm/stzh-dialog.entry.js +17 -16
- package/dist/esm/stzh-dropdown.entry.js +14 -3
- package/dist/esm/stzh-fieldset.entry.js +1 -1
- package/dist/esm/stzh-figure.entry.js +1 -1
- package/dist/esm/stzh-flyingfocus.entry.js +4 -2
- package/dist/esm/stzh-footer.entry.js +4 -2
- package/dist/esm/stzh-ghettobox_2.entry.js +6 -4
- package/dist/esm/stzh-header.entry.js +33 -28
- package/dist/esm/stzh-heading.entry.js +1 -1
- package/dist/esm/stzh-hr.entry.js +1 -1
- package/dist/esm/stzh-hspace.entry.js +1 -1
- package/dist/esm/stzh-icon-sprite.entry.js +2 -2
- package/dist/esm/stzh-input.entry.js +10 -3
- package/dist/esm/stzh-invert.entry.js +1 -1
- package/dist/esm/stzh-langnav.entry.js +1 -1
- package/dist/esm/stzh-link.entry.js +16 -4
- package/dist/esm/stzh-list-item.entry.js +1 -1
- package/dist/esm/stzh-list.entry.js +1 -1
- package/dist/esm/stzh-loader.entry.js +1 -1
- package/dist/esm/stzh-loadingbar.entry.js +1 -1
- package/dist/esm/stzh-menu_2.entry.js +13 -5
- package/dist/esm/stzh-message.entry.js +2 -2
- package/dist/esm/stzh-metanav.entry.js +4 -2
- package/dist/esm/stzh-microsite-teaserlist.entry.js +2 -2
- package/dist/esm/stzh-olmap.entry.js +53 -7
- package/dist/esm/stzh-overlay.entry.js +3 -5
- package/dist/esm/stzh-page-skiplinks.entry.js +4 -2
- package/dist/esm/stzh-pagebottom.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-hero.entry.js +4 -2
- package/dist/esm/stzh-pagetitle.entry.js +4 -2
- package/dist/esm/stzh-popover.entry.js +1 -1
- package/dist/esm/stzh-portal-mitwirken.entry.js +1 -1
- package/dist/esm/stzh-progressbar-item.entry.js +1 -1
- package/dist/esm/stzh-progressbar.entry.js +1 -1
- package/dist/esm/stzh-ratio.entry.js +1 -1
- package/dist/esm/stzh-readspeaker.entry.js +4 -2
- package/dist/esm/stzh-row.entry.js +1 -1
- package/dist/esm/stzh-saptcha.entry.js +1 -1
- package/dist/esm/stzh-section.entry.js +1 -1
- package/dist/esm/stzh-share.entry.js +1 -1
- package/dist/esm/stzh-show.entry.js +1 -1
- package/dist/esm/stzh-sitemap.entry.js +1 -1
- package/dist/esm/stzh-skiplink.entry.js +1 -1
- package/dist/esm/stzh-sortable.entry.js +4 -2
- package/dist/esm/stzh-space.entry.js +1 -1
- package/dist/esm/stzh-status.entry.js +1 -1
- package/dist/esm/stzh-sticky.entry.js +4 -2
- package/dist/esm/stzh-table.entry.js +15 -5
- package/dist/esm/stzh-text.entry.js +1 -1
- package/dist/esm/stzh-textandimage.entry.js +1 -1
- package/dist/esm/stzh-toggle.entry.js +12 -4
- package/dist/esm/stzh-tooltip.entry.js +1 -1
- package/dist/esm/stzh-upload.entry.js +1 -1
- package/dist/esm/stzh-vbz-linechip.entry.js +11 -2
- package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
- package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm/stzh-vspace.entry.js +1 -1
- package/dist/esm-es5/app-globals-a58b5d2d.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/overlay-utils-33021971.js +1 -0
- package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
- package/dist/esm-es5/stzh-accordion.entry.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-anchornav.entry.js +1 -1
- package/dist/esm-es5/stzh-appnav.entry.js +1 -1
- package/dist/esm-es5/stzh-appointments.entry.js +1 -1
- package/dist/esm-es5/stzh-audio.entry.js +1 -1
- package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
- package/dist/esm-es5/stzh-buttongroup.entry.js +1 -0
- 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-cell.entry.js +1 -1
- package/dist/esm-es5/stzh-chart.entry.js +1 -1
- package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
- 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-contact.entry.js +1 -1
- package/dist/esm-es5/stzh-container.entry.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-datamessagelist.entry.js +1 -1
- package/dist/esm-es5/stzh-datatable.entry.js +1 -1
- package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
- package/dist/esm-es5/stzh-details.entry.js +1 -1
- package/dist/esm-es5/stzh-dialog.entry.js +1 -1
- package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
- package/dist/esm-es5/stzh-fieldset.entry.js +1 -1
- package/dist/esm-es5/stzh-figure.entry.js +1 -1
- package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
- 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-heading.entry.js +1 -1
- package/dist/esm-es5/stzh-hr.entry.js +1 -1
- package/dist/esm-es5/stzh-hspace.entry.js +1 -1
- package/dist/esm-es5/stzh-icon-sprite.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-langnav.entry.js +1 -1
- package/dist/esm-es5/stzh-link.entry.js +1 -1
- package/dist/esm-es5/stzh-list-item.entry.js +1 -1
- package/dist/esm-es5/stzh-list.entry.js +1 -1
- package/dist/esm-es5/stzh-loader.entry.js +1 -1
- package/dist/esm-es5/stzh-loadingbar.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-overlay.entry.js +1 -1
- package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm-es5/stzh-pagebottom.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-progressbar-item.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
- package/dist/esm-es5/stzh-ratio.entry.js +1 -1
- package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
- package/dist/esm-es5/stzh-row.entry.js +1 -1
- package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
- package/dist/esm-es5/stzh-section.entry.js +1 -1
- package/dist/esm-es5/stzh-share.entry.js +1 -1
- package/dist/esm-es5/stzh-show.entry.js +1 -1
- package/dist/esm-es5/stzh-sitemap.entry.js +1 -1
- package/dist/esm-es5/stzh-skiplink.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-status.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-text.entry.js +1 -1
- package/dist/esm-es5/stzh-textandimage.entry.js +1 -1
- package/dist/esm-es5/stzh-toggle.entry.js +1 -1
- package/dist/esm-es5/stzh-tooltip.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-majorticker.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm-es5/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm-es5/stzh-vspace.entry.js +1 -1
- package/dist/stzh-components/assets/i18n/de.json +9 -0
- package/dist/stzh-components/assets/i18n/en.json +9 -0
- package/dist/stzh-components/assets/icons/mono/mail.svg +1 -1
- package/dist/stzh-components/assets/media/olmap/marker-active.png +0 -0
- package/dist/stzh-components/assets/media/olmap/marker-position.png +0 -0
- package/dist/stzh-components/assets/media/olmap/marker.png +0 -0
- package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +1 -1
- package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.Styles-Basic.css +881 -881
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.Styles-Button.css +75 -75
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.Styles.css +977 -977
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeakerClassic.css +2 -2
- package/dist/stzh-components/p-00d91505.entry.js +1 -0
- package/dist/stzh-components/p-00e99280.entry.js +1 -0
- package/dist/stzh-components/p-035a0f82.system.entry.js +1 -0
- package/dist/stzh-components/{p-8f577bc6.system.entry.js → p-0688fe3a.system.entry.js} +1 -1
- package/dist/stzh-components/p-06e2b01d.system.entry.js +1 -0
- package/dist/stzh-components/p-077a1368.entry.js +1 -0
- package/dist/stzh-components/{p-6e3231ce.entry.js → p-0aeaba03.entry.js} +1 -1
- package/dist/stzh-components/{p-f4c0d928.entry.js → p-0b5226e2.entry.js} +2 -2
- package/dist/stzh-components/p-0bebedd4.entry.js +1 -0
- package/dist/stzh-components/p-0ecd29c5.system.entry.js +1 -0
- package/dist/stzh-components/p-10041557.entry.js +1 -0
- package/dist/stzh-components/p-12bebf6e.entry.js +1 -0
- package/dist/stzh-components/p-13017524.system.entry.js +1 -0
- package/dist/stzh-components/p-13f024e3.system.entry.js +1 -0
- package/dist/stzh-components/p-1434d4f7.system.entry.js +1 -0
- package/dist/stzh-components/p-1457ac31.system.entry.js +1 -0
- package/dist/stzh-components/p-17761054.system.entry.js +1 -0
- package/dist/stzh-components/p-17b3570a.entry.js +1 -0
- package/dist/stzh-components/p-180e8516.system.entry.js +1 -0
- package/dist/stzh-components/p-18c9a3e1.system.entry.js +1 -0
- package/dist/stzh-components/p-198b8305.system.entry.js +1 -0
- package/dist/stzh-components/p-1abd7bf8.entry.js +1 -0
- package/dist/stzh-components/{p-e54ef44f.system.entry.js → p-1b197c5e.system.entry.js} +1 -1
- package/dist/stzh-components/p-1ed06318.entry.js +1 -0
- package/dist/stzh-components/p-1fc11b81.entry.js +1 -0
- package/dist/stzh-components/p-206f5f74.system.entry.js +1 -0
- package/dist/stzh-components/p-222d9dd1.system.entry.js +1 -0
- package/dist/stzh-components/p-25496f49.system.entry.js +1 -0
- package/dist/stzh-components/p-25d95c73.entry.js +1 -0
- package/dist/stzh-components/p-294acb66.system.entry.js +1 -0
- package/dist/stzh-components/p-2a9e7099.system.entry.js +1 -0
- package/dist/stzh-components/{p-12564ee4.entry.js → p-2b1b9b7f.entry.js} +1 -1
- package/dist/stzh-components/p-309b73e1.entry.js +1 -0
- package/dist/stzh-components/{p-6dbf976b.entry.js → p-318ebb9e.entry.js} +1 -1
- package/dist/stzh-components/p-320273c3.system.entry.js +1 -0
- package/dist/stzh-components/{p-af9aac53.entry.js → p-3680ed9c.entry.js} +1 -1
- package/dist/stzh-components/p-36fbc15e.system.entry.js +1 -0
- package/dist/stzh-components/p-373e5bb9.system.entry.js +1 -0
- package/dist/stzh-components/{p-77320d20.entry.js → p-39871486.entry.js} +1 -1
- package/dist/stzh-components/{p-963a7526.system.entry.js → p-39f6243c.system.entry.js} +2 -2
- package/dist/stzh-components/p-3a3d196e.system.entry.js +1 -0
- package/dist/stzh-components/p-3a57e4ab.entry.js +1 -0
- package/dist/stzh-components/{p-6ee87986.entry.js → p-3b2d7678.entry.js} +1 -1
- package/dist/stzh-components/{p-d95b44c6.system.entry.js → p-3c75c708.system.entry.js} +1 -1
- package/dist/stzh-components/p-3cdbb1ed.js +1 -0
- package/dist/stzh-components/p-3d00dad8.entry.js +1 -0
- package/dist/stzh-components/p-3e8bba03.system.entry.js +1 -0
- package/dist/stzh-components/p-406c9413.entry.js +9 -0
- package/dist/stzh-components/{p-f725921a.entry.js → p-40f7ceb9.entry.js} +1 -1
- package/dist/stzh-components/p-42b69706.system.entry.js +1 -0
- package/dist/stzh-components/p-444af671.system.entry.js +1 -0
- package/dist/stzh-components/p-47bf4999.system.entry.js +1 -0
- package/dist/stzh-components/p-47c70501.system.entry.js +1 -0
- package/dist/stzh-components/p-4909551f.system.entry.js +1 -0
- package/dist/stzh-components/p-509c7218.system.entry.js +1 -0
- package/dist/stzh-components/p-526144dc.entry.js +1 -0
- package/dist/stzh-components/p-529951e9.system.entry.js +1 -0
- package/dist/stzh-components/p-5373c40e.system.entry.js +1 -0
- package/dist/stzh-components/p-5538ecd9.entry.js +1 -0
- package/dist/stzh-components/p-57f2b7d4.entry.js +1 -0
- package/dist/stzh-components/p-5859f81f.system.entry.js +1 -0
- package/dist/stzh-components/p-595f202a.entry.js +1 -0
- package/dist/stzh-components/p-5ab2ae81.system.entry.js +1 -0
- package/dist/stzh-components/p-5efd5a1d.entry.js +1 -0
- package/dist/stzh-components/p-5f33f681.entry.js +1 -0
- package/dist/stzh-components/p-6022d291.entry.js +1 -0
- package/dist/stzh-components/p-61d68434.entry.js +1 -0
- package/dist/stzh-components/p-61e701ce.system.entry.js +1 -0
- package/dist/stzh-components/p-65833306.system.entry.js +1 -0
- package/dist/stzh-components/p-663287a8.entry.js +1 -0
- package/dist/stzh-components/p-66ea8863.system.js +1 -0
- package/dist/stzh-components/{p-3fc51ad1.system.entry.js → p-670495df.system.entry.js} +1 -1
- package/dist/stzh-components/p-673d68e7.system.entry.js +1 -0
- package/dist/stzh-components/p-6a7152dd.system.entry.js +1 -0
- package/dist/stzh-components/p-6a911d9c.system.entry.js +1 -0
- package/dist/stzh-components/p-6b05235b.system.entry.js +1 -0
- package/dist/stzh-components/p-6bdbad44.entry.js +1 -0
- package/dist/stzh-components/p-6c6380a8.entry.js +1 -0
- package/dist/stzh-components/p-6ef3c304.system.entry.js +1 -0
- package/dist/stzh-components/{p-6a109ce9.system.entry.js → p-6f4d7926.system.entry.js} +1 -1
- package/dist/stzh-components/p-7142e816.system.entry.js +1 -0
- package/dist/stzh-components/p-72a71f30.system.entry.js +1 -0
- package/dist/stzh-components/p-72f050c1.system.js +1 -0
- package/dist/stzh-components/{p-d5948025.system.entry.js → p-73ce3c9b.system.entry.js} +8 -8
- package/dist/stzh-components/{p-bc2af057.entry.js → p-73d779a3.entry.js} +1 -1
- package/dist/stzh-components/p-7413b79d.entry.js +1 -0
- package/dist/stzh-components/p-74831964.entry.js +1 -0
- package/dist/stzh-components/{p-155ecf6c.entry.js → p-75693b7f.entry.js} +1 -1
- package/dist/stzh-components/p-770a5d07.system.entry.js +1 -0
- package/dist/stzh-components/p-788e2455.system.entry.js +1 -0
- package/dist/stzh-components/p-7a95f89c.system.entry.js +1 -0
- package/dist/stzh-components/p-7b887b10.system.entry.js +1 -0
- package/dist/stzh-components/p-7bc49298.system.entry.js +1 -0
- package/dist/stzh-components/p-7c1e4ff7.system.entry.js +1 -0
- package/dist/stzh-components/p-7f442c8f.entry.js +1 -0
- package/dist/stzh-components/p-8276a3a5.js +1 -0
- package/dist/stzh-components/p-843301ca.entry.js +1 -0
- package/dist/stzh-components/p-84ee50a5.system.entry.js +1 -0
- package/dist/stzh-components/p-87eb2a8d.entry.js +1 -0
- package/dist/stzh-components/p-8aaef773.entry.js +1 -0
- package/dist/stzh-components/p-8b02b816.entry.js +1 -0
- package/dist/stzh-components/p-8d5fd36f.entry.js +1 -0
- package/dist/stzh-components/p-8f996d7e.system.entry.js +1 -0
- package/dist/stzh-components/p-90053b06.system.entry.js +1 -0
- package/dist/stzh-components/p-90a3867e.entry.js +1 -0
- package/dist/stzh-components/p-91ea8f3b.entry.js +1 -0
- package/dist/stzh-components/p-92332dae.entry.js +1 -0
- package/dist/stzh-components/p-929a0532.entry.js +1 -0
- package/dist/stzh-components/p-9443ef45.system.entry.js +1 -0
- package/dist/stzh-components/p-9522b7c7.entry.js +1 -0
- package/dist/stzh-components/p-9a990d3c.entry.js +1 -0
- package/dist/stzh-components/{p-5b162e4f.entry.js → p-9b9b579b.entry.js} +1 -1
- package/dist/stzh-components/{p-be97cb22.entry.js → p-9d996db9.entry.js} +1 -1
- package/dist/stzh-components/p-a0aeb3d6.system.entry.js +1 -0
- package/dist/stzh-components/p-a26d3e2d.entry.js +1 -0
- package/dist/stzh-components/p-a3781fae.entry.js +1 -0
- package/dist/stzh-components/p-a3d99e8f.entry.js +1 -0
- package/dist/stzh-components/p-a51184fb.entry.js +1 -0
- package/dist/stzh-components/p-a63df129.system.entry.js +1 -0
- package/dist/stzh-components/p-a6c76983.system.entry.js +1 -0
- package/dist/stzh-components/p-a70423e5.system.entry.js +1 -0
- package/dist/stzh-components/{p-d5514e5b.system.entry.js → p-a8205b50.system.entry.js} +2 -2
- package/dist/stzh-components/p-a89d05d3.entry.js +1 -0
- package/dist/stzh-components/p-a89e510c.entry.js +1 -0
- package/dist/stzh-components/p-ab66cdf8.entry.js +1 -0
- package/dist/stzh-components/p-ac6df3e4.system.entry.js +1 -0
- package/dist/stzh-components/p-ad85c5c6.entry.js +1 -0
- package/dist/stzh-components/p-b0d74781.entry.js +1 -0
- package/dist/stzh-components/p-b42a99f2.entry.js +1 -0
- package/dist/stzh-components/p-b7509be8.system.entry.js +1 -0
- package/dist/stzh-components/p-b7e7b956.entry.js +1 -0
- package/dist/stzh-components/p-b9a687f5.system.entry.js +1 -0
- package/dist/stzh-components/p-bbacd4b6.system.entry.js +1 -0
- package/dist/stzh-components/p-bd275bc1.system.entry.js +1 -0
- package/dist/stzh-components/p-bfeae490.entry.js +1 -0
- package/dist/stzh-components/p-bfece369.system.entry.js +1 -0
- package/dist/stzh-components/p-c164e020.system.entry.js +1 -0
- package/dist/stzh-components/p-c28d19c7.entry.js +1 -0
- package/dist/stzh-components/p-c4619b1f.entry.js +9 -0
- package/dist/stzh-components/p-c7263e0f.system.entry.js +1 -0
- package/dist/stzh-components/p-ca7ec43f.system.entry.js +1 -0
- package/dist/stzh-components/p-cb8d0d64.system.entry.js +1 -0
- package/dist/stzh-components/p-cd3c2a3a.system.entry.js +1 -0
- package/dist/stzh-components/p-cd7d91be.system.entry.js +1 -0
- package/dist/stzh-components/p-cfe82456.entry.js +1 -0
- package/dist/stzh-components/p-d0236fd5.entry.js +1 -0
- package/dist/stzh-components/p-d332af6f.entry.js +1 -0
- package/dist/stzh-components/{p-48dee587.entry.js → p-d34653bd.entry.js} +1 -1
- package/dist/stzh-components/p-d46116ce.system.entry.js +1 -0
- package/dist/stzh-components/p-d7d424bc.entry.js +1 -0
- package/dist/stzh-components/p-d9be7a41.entry.js +1 -0
- package/dist/stzh-components/p-d9f5bb65.system.entry.js +1 -0
- package/dist/stzh-components/p-dbe89e81.system.entry.js +1 -0
- package/dist/stzh-components/p-dc970ea6.system.entry.js +1 -0
- package/dist/stzh-components/p-dde56464.system.js +1 -0
- package/dist/stzh-components/p-de151e4f.system.entry.js +1 -0
- package/dist/stzh-components/p-df617d8e.system.entry.js +1 -0
- package/dist/stzh-components/p-dfeb38f7.entry.js +1 -0
- package/dist/stzh-components/p-e18f5e43.system.entry.js +1 -0
- package/dist/stzh-components/p-e3576ccb.entry.js +1 -0
- package/dist/stzh-components/p-e5318901.system.entry.js +1 -0
- package/dist/stzh-components/p-e5e7548f.entry.js +1 -0
- package/dist/stzh-components/p-e993dfe4.entry.js +1 -0
- package/dist/stzh-components/p-ea1b0a82.entry.js +1 -0
- package/dist/stzh-components/{p-59793ef8.system.entry.js → p-ea5b9340.entry.js} +1 -1
- package/dist/stzh-components/p-ebc2b991.system.entry.js +1 -0
- package/dist/stzh-components/{p-aa2c81e6.system.entry.js → p-ec7f15c8.system.entry.js} +1 -1
- package/dist/stzh-components/p-ecd1ca5a.entry.js +1 -0
- package/dist/stzh-components/p-ee8becb5.entry.js +1 -0
- package/dist/stzh-components/p-f202e06c.entry.js +1 -0
- package/dist/stzh-components/p-f41788fc.entry.js +1 -0
- package/dist/stzh-components/p-f683c9d0.entry.js +1 -0
- package/dist/stzh-components/p-f867f814.entry.js +1 -0
- package/dist/stzh-components/p-fb6952f1.system.entry.js +1 -0
- package/dist/stzh-components/p-fb71ade8.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/stzh-olmap/stzh-olmap.localization.d.ts +1 -0
- package/dist/types/components.d.ts +299 -14
- package/dist/types/index.d.ts +34 -0
- package/dist/types/utils/overlay-utils.d.ts +5 -0
- package/dist/vscode-data.json +129 -8
- package/package.json +4 -2
- package/dist/cjs/app-globals-8fbeeb92.js +0 -56
- package/dist/esm/app-globals-f5264f95.js +0 -54
- package/dist/esm-es5/app-globals-f5264f95.js +0 -1
- package/dist/stzh-components/p-013d269a.system.entry.js +0 -1
- package/dist/stzh-components/p-05e742b4.js +0 -1
- package/dist/stzh-components/p-0759cd7e.entry.js +0 -1
- package/dist/stzh-components/p-07dc23a3.system.entry.js +0 -1
- package/dist/stzh-components/p-088b16c6.system.entry.js +0 -1
- package/dist/stzh-components/p-0930004d.entry.js +0 -1
- package/dist/stzh-components/p-09a6a4be.system.js +0 -1
- package/dist/stzh-components/p-0a2de4e8.entry.js +0 -1
- package/dist/stzh-components/p-0ab2f949.entry.js +0 -1
- package/dist/stzh-components/p-0ba944ab.entry.js +0 -1
- package/dist/stzh-components/p-0f882e26.system.entry.js +0 -1
- package/dist/stzh-components/p-0ffd0de8.system.entry.js +0 -1
- package/dist/stzh-components/p-102e2bcd.system.entry.js +0 -1
- package/dist/stzh-components/p-12856e02.system.entry.js +0 -1
- package/dist/stzh-components/p-12e03b78.system.entry.js +0 -1
- package/dist/stzh-components/p-16b3d4ee.system.entry.js +0 -1
- package/dist/stzh-components/p-18e20038.entry.js +0 -1
- package/dist/stzh-components/p-1a98470f.system.entry.js +0 -1
- package/dist/stzh-components/p-1bcda13d.system.entry.js +0 -1
- package/dist/stzh-components/p-20bd79d0.entry.js +0 -1
- package/dist/stzh-components/p-215d2cf6.system.entry.js +0 -1
- package/dist/stzh-components/p-216b89d7.system.entry.js +0 -1
- package/dist/stzh-components/p-25d8a9c0.system.entry.js +0 -1
- package/dist/stzh-components/p-263fd0bb.system.entry.js +0 -1
- package/dist/stzh-components/p-2674dc69.system.entry.js +0 -1
- package/dist/stzh-components/p-2c42ae68.entry.js +0 -1
- package/dist/stzh-components/p-2e40e63c.system.entry.js +0 -1
- package/dist/stzh-components/p-2e6ef670.entry.js +0 -1
- package/dist/stzh-components/p-2f4448c9.system.entry.js +0 -1
- package/dist/stzh-components/p-309fc559.system.entry.js +0 -1
- package/dist/stzh-components/p-31b995e8.entry.js +0 -1
- package/dist/stzh-components/p-32a03d1c.entry.js +0 -1
- package/dist/stzh-components/p-32ae64a3.entry.js +0 -9
- package/dist/stzh-components/p-340eedda.system.entry.js +0 -1
- package/dist/stzh-components/p-3721f7b2.entry.js +0 -1
- package/dist/stzh-components/p-37920e74.system.entry.js +0 -1
- package/dist/stzh-components/p-37de872c.system.entry.js +0 -1
- package/dist/stzh-components/p-3b00d8b8.entry.js +0 -1
- package/dist/stzh-components/p-3f676d99.system.entry.js +0 -1
- package/dist/stzh-components/p-40798ed2.entry.js +0 -1
- package/dist/stzh-components/p-418e04f7.system.entry.js +0 -1
- package/dist/stzh-components/p-4453449f.entry.js +0 -1
- package/dist/stzh-components/p-44d10402.system.entry.js +0 -1
- package/dist/stzh-components/p-4633b93d.entry.js +0 -1
- package/dist/stzh-components/p-46d07ed7.entry.js +0 -1
- package/dist/stzh-components/p-470182bb.system.entry.js +0 -1
- package/dist/stzh-components/p-47175c6f.system.entry.js +0 -1
- package/dist/stzh-components/p-48e79dc0.system.entry.js +0 -1
- package/dist/stzh-components/p-4a60b27f.entry.js +0 -1
- package/dist/stzh-components/p-512c38b3.system.entry.js +0 -1
- package/dist/stzh-components/p-51b3a560.system.entry.js +0 -1
- package/dist/stzh-components/p-51b53e68.entry.js +0 -1
- package/dist/stzh-components/p-552d0e82.system.entry.js +0 -1
- package/dist/stzh-components/p-55752bd5.system.entry.js +0 -1
- package/dist/stzh-components/p-57235597.system.entry.js +0 -1
- package/dist/stzh-components/p-5b85324c.entry.js +0 -1
- package/dist/stzh-components/p-5c72664e.system.entry.js +0 -1
- package/dist/stzh-components/p-5d55a672.system.entry.js +0 -1
- package/dist/stzh-components/p-617ece76.system.entry.js +0 -1
- package/dist/stzh-components/p-62791751.entry.js +0 -1
- package/dist/stzh-components/p-64cdef2f.entry.js +0 -1
- package/dist/stzh-components/p-655e3c46.system.entry.js +0 -1
- package/dist/stzh-components/p-660125e0.system.entry.js +0 -1
- package/dist/stzh-components/p-6606e17e.system.entry.js +0 -1
- package/dist/stzh-components/p-66692130.entry.js +0 -1
- package/dist/stzh-components/p-6722e89a.system.entry.js +0 -1
- package/dist/stzh-components/p-6769b9a8.system.entry.js +0 -1
- package/dist/stzh-components/p-67816aa4.entry.js +0 -1
- package/dist/stzh-components/p-67ae4994.entry.js +0 -1
- package/dist/stzh-components/p-6932ce19.system.js +0 -1
- package/dist/stzh-components/p-6a94e520.system.entry.js +0 -1
- package/dist/stzh-components/p-6c73f6ad.entry.js +0 -1
- package/dist/stzh-components/p-6deb516e.entry.js +0 -1
- package/dist/stzh-components/p-70f85be3.system.entry.js +0 -1
- package/dist/stzh-components/p-72a62d0d.system.entry.js +0 -1
- package/dist/stzh-components/p-761ee059.entry.js +0 -1
- package/dist/stzh-components/p-77d0a54b.system.entry.js +0 -1
- package/dist/stzh-components/p-7bb82e56.entry.js +0 -9
- package/dist/stzh-components/p-7d42654b.system.entry.js +0 -1
- package/dist/stzh-components/p-7e9fa7f5.entry.js +0 -1
- package/dist/stzh-components/p-7f1b7b44.system.entry.js +0 -1
- package/dist/stzh-components/p-7f857e56.entry.js +0 -1
- package/dist/stzh-components/p-809ed955.system.entry.js +0 -1
- package/dist/stzh-components/p-80f497d8.system.entry.js +0 -1
- package/dist/stzh-components/p-8361c9d8.system.entry.js +0 -1
- package/dist/stzh-components/p-838b0542.entry.js +0 -1
- package/dist/stzh-components/p-862e7723.system.entry.js +0 -1
- package/dist/stzh-components/p-86336227.entry.js +0 -1
- package/dist/stzh-components/p-8c141cae.system.entry.js +0 -1
- package/dist/stzh-components/p-907f59dd.entry.js +0 -1
- package/dist/stzh-components/p-919cf183.entry.js +0 -1
- package/dist/stzh-components/p-923dffc7.entry.js +0 -1
- package/dist/stzh-components/p-94918f2a.system.entry.js +0 -1
- package/dist/stzh-components/p-951b04ab.entry.js +0 -1
- package/dist/stzh-components/p-95bfbf67.system.entry.js +0 -1
- package/dist/stzh-components/p-990f395b.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-a11ef2d6.system.entry.js +0 -1
- package/dist/stzh-components/p-a1727d35.entry.js +0 -1
- package/dist/stzh-components/p-a2df0ea1.entry.js +0 -1
- package/dist/stzh-components/p-a47e205f.entry.js +0 -1
- package/dist/stzh-components/p-a693ab41.entry.js +0 -1
- package/dist/stzh-components/p-a6be6aca.system.entry.js +0 -1
- package/dist/stzh-components/p-a7eb3e02.system.entry.js +0 -1
- package/dist/stzh-components/p-aa4f87cc.entry.js +0 -1
- package/dist/stzh-components/p-acf59d10.entry.js +0 -1
- package/dist/stzh-components/p-ad62a793.system.entry.js +0 -1
- package/dist/stzh-components/p-ad816fd9.entry.js +0 -1
- package/dist/stzh-components/p-ae38f1d2.entry.js +0 -1
- package/dist/stzh-components/p-ae673b30.system.entry.js +0 -1
- package/dist/stzh-components/p-b1ffc2a9.system.entry.js +0 -1
- package/dist/stzh-components/p-b395bed5.system.entry.js +0 -1
- package/dist/stzh-components/p-b9b1b7cf.entry.js +0 -1
- package/dist/stzh-components/p-bada7caa.system.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-be68b323.entry.js +0 -1
- package/dist/stzh-components/p-c2a22eb8.entry.js +0 -1
- package/dist/stzh-components/p-c4c620fa.system.entry.js +0 -1
- package/dist/stzh-components/p-c87e9b71.entry.js +0 -1
- package/dist/stzh-components/p-c9940c35.entry.js +0 -1
- package/dist/stzh-components/p-d1cfe06b.entry.js +0 -1
- package/dist/stzh-components/p-dd1bb919.entry.js +0 -1
- package/dist/stzh-components/p-ddcec4e1.system.entry.js +0 -1
- package/dist/stzh-components/p-de76e01b.entry.js +0 -1
- package/dist/stzh-components/p-e085a0a0.entry.js +0 -1
- package/dist/stzh-components/p-e09ac5e3.system.entry.js +0 -1
- package/dist/stzh-components/p-e1b2785b.entry.js +0 -1
- package/dist/stzh-components/p-e3afc8f7.entry.js +0 -1
- package/dist/stzh-components/p-e4aa12ba.system.entry.js +0 -1
- package/dist/stzh-components/p-e59c2adc.system.entry.js +0 -1
- package/dist/stzh-components/p-e7909de9.system.entry.js +0 -1
- package/dist/stzh-components/p-e8feb92e.system.entry.js +0 -1
- package/dist/stzh-components/p-e9994d05.system.entry.js +0 -1
- package/dist/stzh-components/p-eb7773f3.entry.js +0 -1
- package/dist/stzh-components/p-eed126cf.system.entry.js +0 -1
- package/dist/stzh-components/p-f0e2a32d.entry.js +0 -1
- package/dist/stzh-components/p-f2deda0a.entry.js +0 -1
- package/dist/stzh-components/p-f7bb76d8.system.entry.js +0 -1
- package/dist/stzh-components/p-f7e18135.entry.js +0 -1
- package/dist/stzh-components/p-f8feb07b.entry.js +0 -1
- package/dist/stzh-components/p-f9ab0433.entry.js +0 -1
- package/dist/stzh-components/p-fd15cc86.entry.js +0 -1
- package/dist/stzh-components/p-febba79b.entry.js +0 -1
- package/dist/stzh-components/p-ff328114.system.entry.js +0 -1
- package/dist/types/components/stzh-clamp/stzh-clamp.d.ts +0 -16
|
@@ -5,4 +5,4 @@ import{r as t,e,h as i,c as n,g as o}from"./p-99a3742a.js";import{c as r}from"./
|
|
|
5
5
|
* @author owenm <owen23355@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
7
|
*/
|
|
8
|
-
function d(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function v(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?d(Object(i),!0).forEach((function(e){b(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):d(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function m(t){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}function b(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function p(){return p=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},p.apply(this,arguments)}function g(t,e){if(null==t)return{};var i,n,o=function(t,e){if(null==t)return{};var i,n,o={},r=Object.keys(t);for(n=0;n<r.length;n++)e.indexOf(i=r[n])>=0||(o[i]=t[i]);return o}(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(n=0;n<r.length;n++)e.indexOf(i=r[n])>=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(o[i]=t[i])}return o}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function y(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var E=y(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),z=y(/Edge/i),x=y(/firefox/i),I=y(/safari/i)&&!y(/chrome/i)&&!y(/android/i),S=y(/iP(ad|od|hone)/i),O=y(/chrome/i)&&y(/android/i),k={capture:!1,passive:!1};function M(t,e,i){t.addEventListener(e,i,!E&&k)}function T(t,e,i){t.removeEventListener(e,i,!E&&k)}function C(t,e){if(e){if(">"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(i){return!1}return!1}}function _(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function D(t,e,i,n){if(t){i=i||document;do{if(null!=e&&(">"===e[0]?t.parentNode===i&&C(t,e):C(t,e))||n&&t===i)return t;if(t===i)break}while(t=_(t))}return null}var A,j=/\s+/g;function N(t,e,i){if(t&&e)if(t.classList)t.classList[i?"add":"remove"](e);else{var n=(" "+t.className+" ").replace(j," ").replace(" "+e+" "," ");t.className=(n+(i?" "+e:"")).replace(j," ")}}function W(t,e,i){var n=t&&t.style;if(n){if(void 0===i)return document.defaultView&&document.defaultView.getComputedStyle?i=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(i=t.currentStyle),void 0===e?i:i[e];e in n||-1!==e.indexOf("webkit")||(e="-webkit-"+e),n[e]=i+("string"==typeof i?"":"px")}}function F(t,e){var i="";if("string"==typeof t)i=t;else do{var n=W(t,"transform");n&&"none"!==n&&(i=n+" "+i)}while(!e&&(t=t.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(i)}function H(t,e,i){if(t){var n=t.getElementsByTagName(e),o=0,r=n.length;if(i)for(;o<r;o++)i(n[o],o);return n}return[]}function P(){return document.scrollingElement||document.documentElement}function G(t,e,i,n,o){if(t.getBoundingClientRect||t===window){var r,s,a,l,u,h,c;if(t!==window&&t.parentNode&&t!==P()?(s=(r=t.getBoundingClientRect()).top,a=r.left,l=r.bottom,u=r.right,h=r.height,c=r.width):(s=0,a=0,l=window.innerHeight,u=window.innerWidth,h=window.innerHeight,c=window.innerWidth),(e||i)&&t!==window&&(o=o||t.parentNode,!E))do{if(o&&o.getBoundingClientRect&&("none"!==W(o,"transform")||i&&"static"!==W(o,"position"))){var f=o.getBoundingClientRect();s-=f.top+parseInt(W(o,"border-top-width")),a-=f.left+parseInt(W(o,"border-left-width")),l=s+r.height,u=a+r.width;break}}while(o=o.parentNode);if(n&&t!==window){var d=F(o||t),v=d&&d.a,m=d&&d.d;d&&(l=(s/=m)+(h/=m),u=(a/=v)+(c/=v))}return{top:s,left:a,bottom:l,right:u,width:c,height:h}}}function L(t,e,i){for(var n=R(t,!0),o=G(t)[e];n;){var r=G(n)[i];if(!("top"===i||"left"===i?o>=r:o<=r))return n;if(n===P())break;n=R(n,!1)}return!1}function U(t,e,i,n){for(var o=0,r=0,s=t.children;r<s.length;){if("none"!==s[r].style.display&&s[r]!==Zt.ghost&&(n||s[r]!==Zt.dragged)&&D(s[r],i.draggable,t,!1)){if(o===e)return s[r];o++}r++}return null}function B(t,e){for(var i=t.lastElementChild;i&&(i===Zt.ghost||"none"===W(i,"display")||e&&!C(i,e));)i=i.previousElementSibling;return i||null}function K(t,e){var i=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Zt.clone||e&&!C(t,e)||i++;return i}function $(t){var e=0,i=0,n=P();if(t)do{var o=F(t);e+=t.scrollLeft*o.a,i+=t.scrollTop*o.d}while(t!==n&&(t=t.parentNode));return[e,i]}function R(t,e){if(!t||!t.getBoundingClientRect)return P();var i=t,n=!1;do{if(i.clientWidth<i.scrollWidth||i.clientHeight<i.scrollHeight){var o=W(i);if(i.clientWidth<i.scrollWidth&&("auto"==o.overflowX||"scroll"==o.overflowX)||i.clientHeight<i.scrollHeight&&("auto"==o.overflowY||"scroll"==o.overflowY)){if(!i.getBoundingClientRect||i===document.body)return P();if(n||e)return i;n=!0}}}while(i=i.parentNode);return P()}function X(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}function Y(t,e){return function(){if(!A){var i=arguments,n=this;1===i.length?t.call(n,i[0]):t.apply(n,i),A=setTimeout((function(){A=void 0}),e)}}}function V(t,e,i){t.scrollLeft+=e,t.scrollTop+=i}function J(t){var e=window.Polymer,i=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):i?i(t).clone(!0)[0]:t.cloneNode(!0)}function Z(t,e){W(t,"position","absolute"),W(t,"top",e.top),W(t,"left",e.left),W(t,"width",e.width),W(t,"height",e.height)}function q(t){W(t,"position",""),W(t,"top",""),W(t,"left",""),W(t,"width",""),W(t,"height","")}var Q="Sortable"+(new Date).getTime();var tt=[],et={initializeByDefault:!0},it={mount:function(t){for(var e in et)et.hasOwnProperty(e)&&!(e in t)&&(t[e]=et[e]);tt.forEach((function(e){if(e.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),tt.push(t)},pluginEvent:function(t,e,i){var n=this;this.eventCanceled=!1,i.cancel=function(){n.eventCanceled=!0};var o=t+"Global";tt.forEach((function(n){e[n.pluginName]&&(e[n.pluginName][o]&&e[n.pluginName][o](v({sortable:e},i)),e.options[n.pluginName]&&e[n.pluginName][t]&&e[n.pluginName][t](v({sortable:e},i)))}))},initializePlugins:function(t,e,i){for(var n in tt.forEach((function(n){var o=n.pluginName;if(t.options[o]||n.initializeByDefault){var r=new n(t,e,t.options);r.sortable=t,r.options=t.options,t[o]=r,p(i,r.defaults)}})),t.options)if(t.options.hasOwnProperty(n)){var o=this.modifyOption(t,n,t.options[n]);void 0!==o&&(t.options[n]=o)}},getEventProperties:function(t,e){var i={};return tt.forEach((function(n){"function"==typeof n.eventProperties&&p(i,n.eventProperties.call(e[n.pluginName],t))})),i},modifyOption:function(t,e,i){var n;return tt.forEach((function(o){t[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[e]&&(n=o.optionListeners[e].call(t[o.pluginName],i))})),n}};function nt(t){var e=t.sortable,i=t.rootEl,n=t.name,o=t.targetEl,r=t.cloneEl,s=t.toEl,a=t.fromEl,l=t.oldIndex,u=t.newIndex,h=t.oldDraggableIndex,c=t.newDraggableIndex,f=t.originalEvent,d=t.putSortable,m=t.extraEventProperties;if(e=e||i&&i[Q]){var b,p=e.options,g="on"+n.charAt(0).toUpperCase()+n.substr(1);!window.CustomEvent||E||z?(b=document.createEvent("Event")).initEvent(n,!0,!0):b=new CustomEvent(n,{bubbles:!0,cancelable:!0}),b.to=s||i,b.from=a||i,b.item=o||i,b.clone=r,b.oldIndex=l,b.newIndex=u,b.oldDraggableIndex=h,b.newDraggableIndex=c,b.originalEvent=f,b.pullMode=d?d.lastPutMode:void 0;var w=v(v({},m),it.getEventProperties(n,e));for(var y in w)b[y]=w[y];i&&i.dispatchEvent(b),p[g]&&p[g].call(e,b)}}var ot=["evt"],rt=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=i.evt,o=g(i,ot);it.pluginEvent.bind(Zt)(t,e,v({dragEl:at,parentEl:lt,ghostEl:ut,rootEl:ht,nextEl:ct,lastDownEl:ft,cloneEl:dt,cloneHidden:vt,dragStarted:kt,putSortable:yt,activeSortable:Zt.active,originalEvent:n,oldIndex:mt,oldDraggableIndex:pt,newIndex:bt,newDraggableIndex:gt,hideGhostForTarget:Xt,unhideGhostForTarget:Yt,cloneNowHidden:function(){vt=!0},cloneNowShown:function(){vt=!1},dispatchSortableEvent:function(t){st({sortable:e,name:t,originalEvent:n})}},o))};function st(t){nt(v({putSortable:yt,cloneEl:dt,targetEl:at,rootEl:ht,oldIndex:mt,oldDraggableIndex:pt,newIndex:bt,newDraggableIndex:gt},t))}var at,lt,ut,ht,ct,ft,dt,vt,mt,bt,pt,gt,wt,yt,Et,zt,xt,It,St,Ot,kt,Mt,Tt,Ct,_t,Dt=!1,At=!1,jt=[],Nt=!1,Wt=!1,Ft=[],Ht=!1,Pt=[],Gt="undefined"!=typeof document,Lt=S,Ut=z||E?"cssFloat":"float",Bt=Gt&&!O&&!S&&"draggable"in document.createElement("div"),Kt=function(){if(Gt){if(E)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),$t=function(t,e){var i=W(t),n=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),o=U(t,0,e),r=U(t,1,e),s=o&&W(o),a=r&&W(r),l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+G(o).width,u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+G(r).width;return"flex"===i.display?"column"===i.flexDirection||"column-reverse"===i.flexDirection?"vertical":"horizontal":"grid"===i.display?i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal":o&&s.float&&"none"!==s.float?!r||"both"!==a.clear&&a.clear!==("left"===s.float?"left":"right")?"horizontal":"vertical":o&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||l>=n&&"none"===i[Ut]||r&&"none"===i[Ut]&&l+u>n)?"vertical":"horizontal"},Rt=function(t){function e(t,i){return function(n,o,r,s){if(null==t&&(i||n.options.group.name&&o.options.group.name&&n.options.group.name===o.options.group.name))return!0;if(null==t||!1===t)return!1;if(i&&"clone"===t)return t;if("function"==typeof t)return e(t(n,o,r,s),i)(n,o,r,s);var a=(i?n:o).options.group.name;return!0===t||"string"==typeof t&&t===a||t.join&&t.indexOf(a)>-1}}var i={},n=t.group;n&&"object"==m(n)||(n={name:n}),i.name=n.name,i.checkPull=e(n.pull,!0),i.checkPut=e(n.put),i.revertClone=n.revertClone,t.group=i},Xt=function(){!Kt&&ut&&W(ut,"display","none")},Yt=function(){!Kt&&ut&&W(ut,"display","")};Gt&&!O&&document.addEventListener("click",(function(t){if(At)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),At=!1,!1}),!0);var Vt=function(t){if(at){var e=(o=(t=t.touches?t.touches[0]:t).clientX,r=t.clientY,jt.some((function(t){var e=t[Q].options.emptyInsertThreshold;if(e&&!B(t)){var i=G(t);return o>=i.left-e&&o<=i.right+e&&r>=i.top-e&&r<=i.bottom+e?s=t:void 0}})),s);if(e){var i={};for(var n in t)t.hasOwnProperty(n)&&(i[n]=t[n]);i.target=i.rootEl=e,i.preventDefault=void 0,i.stopPropagation=void 0,e[Q]._onDragOver(i)}}var o,r,s},Jt=function(t){at&&at.parentNode[Q]._isOutsideThisEl(t.target)};function Zt(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=p({},e),t[Q]=this;var i,n,o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return $t(t,this.options)},ghostClone:function(t){return t.cloneNode(!0)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Zt.supportPointer&&"PointerEvent"in window&&!I,emptyInsertThreshold:5};for(var r in it.initializePlugins(this,t,o),o)!(r in e)&&(e[r]=o[r]);for(var s in Rt(e),this)"_"===s.charAt(0)&&"function"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!e.forceFallback&&Bt,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?M(t,"pointerdown",this._onTapStart):(M(t,"mousedown",this._onTapStart),M(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(M(t,"dragover",this),M(t,"dragenter",this)),jt.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),p(this,(n=[],{captureAnimationState:function(){n=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==W(t,"display")&&t!==Zt.ghost){n.push({target:t,rect:G(t)});var e=v({},n[n.length-1].rect);if(t.thisAnimationDuration){var i=F(t,!0);i&&(e.top-=i.f,e.left-=i.e)}t.fromRect=e}}))},addAnimationState:function(t){n.push(t)},removeAnimationState:function(t){n.splice(function(t,e){for(var i in t)if(t.hasOwnProperty(i))for(var n in e)if(e.hasOwnProperty(n)&&e[n]===t[i][n])return Number(i);return-1}(n,{target:t}),1)},animateAll:function(t){var e=this;if(!this.options.animation)return clearTimeout(i),void("function"==typeof t&&t());var o=!1,r=0;n.forEach((function(t){var i=0,n=t.target,s=n.fromRect,a=G(n),l=n.prevFromRect,u=n.prevToRect,h=t.rect,c=F(n,!0);c&&(a.top-=c.f,a.left-=c.e),n.toRect=a,n.thisAnimationDuration&&X(l,a)&&!X(s,a)&&(h.top-a.top)/(h.left-a.left)==(s.top-a.top)/(s.left-a.left)&&(i=function(t,e,i,n){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-i.top,2)+Math.pow(e.left-i.left,2))*n.animation}(h,l,u,e.options)),X(a,s)||(n.prevFromRect=s,n.prevToRect=a,i||(i=e.options.animation),e.animate(n,h,a,i)),i&&(o=!0,r=Math.max(r,i),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),i),n.thisAnimationDuration=i)})),clearTimeout(i),o?i=setTimeout((function(){"function"==typeof t&&t()}),r):"function"==typeof t&&t(),n=[]},animate:function(t,e,i,n){if(n){W(t,"transition",""),W(t,"transform","");var o=F(this.el),r=(e.left-i.left)/(o&&o.a||1),s=(e.top-i.top)/(o&&o.d||1);t.animatingX=!!r,t.animatingY=!!s,W(t,"transform","translate3d("+r+"px,"+s+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),W(t,"transition","transform "+n+"ms"+(this.options.easing?" "+this.options.easing:"")),W(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){W(t,"transition",""),W(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),n)}}}))}function qt(t,e,i,n,o,r,s,a){var l,u,h=t[Q],c=h.options.onMove;return!window.CustomEvent||E||z?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=e,l.from=t,l.dragged=i,l.draggedRect=n,l.related=o||e,l.relatedRect=r||G(e),l.willInsertAfter=a,l.originalEvent=s,t.dispatchEvent(l),c&&(u=c.call(h,l,s)),u}function Qt(t){t.draggable=!1}function te(){Ht=!1}function ee(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,i=e.length,n=0;i--;)n+=e.charCodeAt(i);return n.toString(36)}function ie(t){return setTimeout(t,0)}function ne(t){return clearTimeout(t)}Zt.prototype={constructor:Zt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(Mt=null)},_getDirection:function(t,e){return"function"==typeof this.options.direction?this.options.direction.call(this,t,e,at):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,i=this.el,n=this.options,o=n.preventOnFilter,r=t.type,s=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,a=(s||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||a,u=n.filter;if(function(t){Pt.length=0;for(var e=t.getElementsByTagName("input"),i=e.length;i--;){var n=e[i];n.checked&&Pt.push(n)}}(i),!at&&!(/mousedown|pointerdown/.test(r)&&0!==t.button||n.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!I||!a||"SELECT"!==a.tagName.toUpperCase())&&!((a=D(a,n.draggable,i,!1))&&a.animated||ft===a)){if(mt=K(a),pt=K(a,n.draggable),"function"==typeof u){if(u.call(this,t,a,this))return st({sortable:e,rootEl:l,name:"filter",targetEl:a,toEl:i,fromEl:i}),rt("filter",e,{evt:t}),void(o&&t.cancelable&&t.preventDefault())}else if(u&&(u=u.split(",").some((function(n){if(n=D(l,n.trim(),i,!1))return st({sortable:e,rootEl:n,name:"filter",targetEl:a,fromEl:i,toEl:i}),rt("filter",e,{evt:t}),!0}))))return void(o&&t.cancelable&&t.preventDefault());n.handle&&!D(l,n.handle,i,!1)||this._prepareDragStart(t,s,a)}}},_prepareDragStart:function(t,e,i){var n,o=this,r=o.el,s=o.options,a=r.ownerDocument;if(i&&!at&&i.parentNode===r){var l=G(i);if(ht=r,lt=(at=i).parentNode,ct=at.nextSibling,ft=i,wt=s.group,Zt.dragged=at,St=(Et={target:at,clientX:(e||t).clientX,clientY:(e||t).clientY}).clientX-l.left,Ot=Et.clientY-l.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,at.style["will-change"]="all",n=function(){rt("delayEnded",o,{evt:t}),Zt.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!x&&o.nativeDraggable&&(at.draggable=!0),o._triggerDragStart(t,e),st({sortable:o,name:"choose",originalEvent:t}),N(at,s.chosenClass,!0))},s.ignore.split(",").forEach((function(t){H(at,t.trim(),Qt)})),M(a,"dragover",Vt),M(a,"mousemove",Vt),M(a,"touchmove",Vt),M(a,"mouseup",o._onDrop),M(a,"touchend",o._onDrop),M(a,"touchcancel",o._onDrop),x&&this.nativeDraggable&&(this.options.touchStartThreshold=4,at.draggable=!0),rt("delayStart",this,{evt:t}),!s.delay||s.delayOnTouchOnly&&!e||this.nativeDraggable&&(z||E))n();else{if(Zt.eventCanceled)return void this._onDrop();M(a,"mouseup",o._disableDelayedDrag),M(a,"touchend",o._disableDelayedDrag),M(a,"touchcancel",o._disableDelayedDrag),M(a,"mousemove",o._delayedDragTouchMoveHandler),M(a,"touchmove",o._delayedDragTouchMoveHandler),s.supportPointer&&M(a,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(n,s.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){at&&Qt(at),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;T(t,"mouseup",this._disableDelayedDrag),T(t,"touchend",this._disableDelayedDrag),T(t,"touchcancel",this._disableDelayedDrag),T(t,"mousemove",this._delayedDragTouchMoveHandler),T(t,"touchmove",this._delayedDragTouchMoveHandler),T(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?M(document,this.options.supportPointer?"pointermove":e?"touchmove":"mousemove",this._onTouchMove):(M(at,"dragend",this),M(ht,"dragstart",this._onDragStart));try{document.selection?ie((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(i){}},_dragStarted:function(t,e){if(Dt=!1,ht&&at){rt("dragStarted",this,{evt:e}),this.nativeDraggable&&M(document,"dragover",Jt);var i=this.options;!t&&N(at,i.dragClass,!1),N(at,i.ghostClass,!0),Zt.active=this,t&&this._appendGhost(),st({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(zt){this._lastX=zt.clientX,this._lastY=zt.clientY,Xt();for(var t=document.elementFromPoint(zt.clientX,zt.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(zt.clientX,zt.clientY))!==e;)e=t;if(at.parentNode[Q]._isOutsideThisEl(t),e)do{if(e[Q]&&e[Q]._onDragOver({clientX:zt.clientX,clientY:zt.clientY,target:t,rootEl:e})&&!this.options.dragoverBubble)break;t=e}while(e=e.parentNode);Yt()}},_onTouchMove:function(t){if(Et){var e=this.options,i=e.fallbackTolerance,n=e.fallbackOffset,o=t.touches?t.touches[0]:t,r=ut&&F(ut,!0),s=ut&&r&&r.a,a=ut&&r&&r.d,l=Lt&&_t&&$(_t),u=(o.clientX-Et.clientX+n.x)/(s||1)+(l?l[0]-Ft[0]:0)/(s||1),h=(o.clientY-Et.clientY+n.y)/(a||1)+(l?l[1]-Ft[1]:0)/(a||1);if(!Zt.active&&!Dt){if(i&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<i)return;this._onDragStart(t,!0)}if(ut){r?(r.e+=u-(xt||0),r.f+=h-(It||0)):r={a:1,b:0,c:0,d:1,e:u,f:h};var c="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");W(ut,"webkitTransform",c),W(ut,"mozTransform",c),W(ut,"msTransform",c),W(ut,"transform",c),xt=u,It=h,zt=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!ut){var t=this.options.fallbackOnBody?document.body:ht,e=G(at,!0,Lt,!0,t),i=this.options;if(Lt){for(_t=t;"static"===W(_t,"position")&&"none"===W(_t,"transform")&&_t!==document;)_t=_t.parentNode;_t!==document.body&&_t!==document.documentElement?(_t===document&&(_t=P()),e.top+=_t.scrollTop,e.left+=_t.scrollLeft):_t=P(),Ft=$(_t)}N(ut=i.ghostClone(at),i.ghostClass,!1),N(ut,i.fallbackClass,!0),N(ut,i.dragClass,!0),W(ut,"transition",""),W(ut,"transform",""),W(ut,"box-sizing","border-box"),W(ut,"margin",0),W(ut,"top",e.top),W(ut,"left",e.left),W(ut,"width",e.width),W(ut,"height",e.height),W(ut,"opacity","0.8"),W(ut,"position",Lt?"absolute":"fixed"),W(ut,"zIndex","100000"),W(ut,"pointerEvents","none"),Zt.ghost=ut,t.appendChild(ut),W(ut,"transform-origin",St/parseInt(ut.style.width)*100+"% "+Ot/parseInt(ut.style.height)*100+"%")}},_onDragStart:function(t,e){var i=this,n=t.dataTransfer,o=i.options;rt("dragStart",this,{evt:t}),Zt.eventCanceled?this._onDrop():(rt("setupClone",this),Zt.eventCanceled||((dt=J(at)).removeAttribute("id"),dt.draggable=!1,dt.style["will-change"]="",this._hideClone(),N(dt,this.options.chosenClass,!1),Zt.clone=dt),i.cloneId=ie((function(){rt("clone",i),Zt.eventCanceled||(i.options.removeCloneOnHide||ht.insertBefore(dt,at),i._hideClone(),st({sortable:i,name:"clone"}))})),!e&&N(at,o.dragClass,!0),e?(At=!0,i._loopId=setInterval(i._emulateDragOver,50)):(T(document,"mouseup",i._onDrop),T(document,"touchend",i._onDrop),T(document,"touchcancel",i._onDrop),n&&(n.effectAllowed="move",o.setData&&o.setData.call(i,n,at)),M(document,"drop",i),W(at,"transform","translateZ(0)")),Dt=!0,i._dragStartId=ie(i._dragStarted.bind(i,e,t)),M(document,"selectstart",i),kt=!0,I&&W(document.body,"user-select","none"))},_onDragOver:function(t){var e,i,n,o,r=this.el,s=t.target,a=this.options,l=a.group,u=Zt.active,h=wt===l,c=a.sort,f=yt||u,d=this,m=!1;if(!Ht){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),s=D(s,a.draggable,r,!0),C("dragOver"),Zt.eventCanceled)return m;if(at.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||d._ignoreWhileAnimating===s)return A(!1);if(At=!1,u&&!a.disabled&&(h?c||(n=lt!==ht):yt===this||(this.lastPutMode=wt.checkPull(this,u,at,t))&&l.checkPut(this,u,at,t))){if(o="vertical"===this._getDirection(t,s),e=G(at),C("dragOverValid"),Zt.eventCanceled)return m;if(n)return lt=ht,_(),this._hideClone(),C("revert"),Zt.eventCanceled||(ct?ht.insertBefore(at,ct):ht.appendChild(at)),A(!0);var b=B(r,a.draggable);if(!b||function(t,e,i){var n=G(B(i.el,i.options.draggable));return e?t.clientX>n.right+10||t.clientX<=n.right&&t.clientY>n.bottom&&t.clientX>=n.left:t.clientX>n.right&&t.clientY>n.top||t.clientX<=n.right&&t.clientY>n.bottom+10}(t,o,this)&&!b.animated){if(b===at)return A(!1);if(b&&r===t.target&&(s=b),s&&(i=G(s)),!1!==qt(ht,r,at,e,s,i,t,!!s))return _(),b&&b.nextSibling?r.insertBefore(at,b.nextSibling):r.appendChild(at),lt=r,j(),A(!0)}else if(b&&function(t,e,i){var n=G(U(i.el,0,i.options,!0));return e?t.clientX<n.left-10||t.clientY<n.top&&t.clientX<n.right:t.clientY<n.top-10||t.clientY<n.bottom&&t.clientX<n.left}(t,o,this)){var p=U(r,0,a,!0);if(p===at)return A(!1);if(i=G(s=p),!1!==qt(ht,r,at,e,s,i,t,!1))return _(),r.insertBefore(at,p),lt=r,j(),A(!0)}else if(s.parentNode===r){i=G(s);var g,w,y,E=at.parentNode!==r,z=!function(t,e,i){var n=i?t.left:t.top,o=i?e.left:e.top;return n===o||(i?t.right:t.bottom)===(i?e.right:e.bottom)||n+(i?t.width:t.height)/2===o+(i?e.width:e.height)/2}(at.animated&&at.toRect||e,s.animated&&s.toRect||i,o),x=o?"top":"left",I=L(s,"top","top")||L(at,"top","top"),S=I?I.scrollTop:void 0;if(Mt!==s&&(w=i[x],Nt=!1,Wt=!z&&a.invertSwap||E),g=function(t,e,i,n,o,r,s,a){var l=n?t.clientY:t.clientX,u=n?i.height:i.width,h=n?i.top:i.left,c=n?i.bottom:i.right,f=!1;if(!s)if(a&&Ct<u*o){if(!Nt&&(1===Tt?l>h+u*r/2:l<c-u*r/2)&&(Nt=!0),Nt)f=!0;else if(1===Tt?l<h+Ct:l>c-Ct)return-Tt}else if(l>h+u*(1-o)/2&&l<c-u*(1-o)/2)return function(t){return K(at)<K(t)?1:-1}(e);return(f=f||s)&&(l<h+u*r/2||l>c-u*r/2)?l>h+u/2?1:-1:0}(t,s,i,o,z?1:a.swapThreshold,null==a.invertedSwapThreshold?a.swapThreshold:a.invertedSwapThreshold,Wt,Mt===s),0!==g){var O=K(at);do{y=lt.children[O-=g]}while(y&&("none"===W(y,"display")||y===ut))}if(0===g||y===s)return A(!1);Mt=s,Tt=g;var k=s.nextElementSibling,M=!1,T=qt(ht,r,at,e,s,i,t,M=1===g);if(!1!==T)return 1!==T&&-1!==T||(M=1===T),Ht=!0,setTimeout(te,30),_(),M&&!k?r.appendChild(at):s.parentNode.insertBefore(at,M?k:s),I&&V(I,0,S-I.scrollTop),lt=at.parentNode,void 0===w||Wt||(Ct=Math.abs(w-G(s)[x])),j(),A(!0)}if(r.contains(at))return A(!1)}return!1}function C(a,l){rt(a,d,v({evt:t,isOwner:h,axis:o?"vertical":"horizontal",revert:n,dragRect:e,targetRect:i,canSort:c,fromSortable:f,target:s,completed:A,onMove:function(i,n){return qt(ht,r,at,e,i,G(i),t,n)},changed:j},l))}function _(){C("dragOverAnimationCapture"),d.captureAnimationState(),d!==f&&f.captureAnimationState()}function A(e){return C("dragOverCompleted",{insertion:e}),e&&(h?u._hideClone():u._showClone(d),d!==f&&(N(at,yt?yt.options.ghostClass:u.options.ghostClass,!1),N(at,a.ghostClass,!0)),yt!==d&&d!==Zt.active?yt=d:d===Zt.active&&yt&&(yt=null),f===d&&(d._ignoreWhileAnimating=s),d.animateAll((function(){C("dragOverAnimationComplete"),d._ignoreWhileAnimating=null})),d!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(s===at&&!at.animated||s===r&&!s.animated)&&(Mt=null),a.dragoverBubble||t.rootEl||s===document||(at.parentNode[Q]._isOutsideThisEl(t.target),!e&&Vt(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),m=!0}function j(){bt=K(at),gt=K(at,a.draggable),st({sortable:d,name:"change",toEl:r,newIndex:bt,newDraggableIndex:gt,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){T(document,"mousemove",this._onTouchMove),T(document,"touchmove",this._onTouchMove),T(document,"pointermove",this._onTouchMove),T(document,"dragover",Vt),T(document,"mousemove",Vt),T(document,"touchmove",Vt)},_offUpEvents:function(){var t=this.el.ownerDocument;T(t,"mouseup",this._onDrop),T(t,"touchend",this._onDrop),T(t,"pointerup",this._onDrop),T(t,"touchcancel",this._onDrop),T(document,"selectstart",this)},_onDrop:function(t){var e=this.el,i=this.options;bt=K(at),gt=K(at,i.draggable),rt("drop",this,{evt:t}),lt=at&&at.parentNode,bt=K(at),gt=K(at,i.draggable),Zt.eventCanceled||(Dt=!1,Wt=!1,Nt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ne(this.cloneId),ne(this._dragStartId),this.nativeDraggable&&(T(document,"drop",this),T(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),I&&W(document.body,"user-select",""),W(at,"transform",""),t&&(kt&&(t.cancelable&&t.preventDefault(),!i.dropBubble&&t.stopPropagation()),ut&&ut.parentNode&&ut.parentNode.removeChild(ut),(ht===lt||yt&&"clone"!==yt.lastPutMode)&&dt&&dt.parentNode&&dt.parentNode.removeChild(dt),at&&(this.nativeDraggable&&T(at,"dragend",this),Qt(at),at.style["will-change"]="",kt&&!Dt&&N(at,yt?yt.options.ghostClass:this.options.ghostClass,!1),N(at,this.options.chosenClass,!1),st({sortable:this,name:"unchoose",toEl:lt,newIndex:null,newDraggableIndex:null,originalEvent:t}),ht!==lt?(bt>=0&&(st({rootEl:lt,name:"add",toEl:lt,fromEl:ht,originalEvent:t}),st({sortable:this,name:"remove",toEl:lt,originalEvent:t}),st({rootEl:lt,name:"sort",toEl:lt,fromEl:ht,originalEvent:t}),st({sortable:this,name:"sort",toEl:lt,originalEvent:t})),yt&&yt.save()):bt!==mt&&bt>=0&&(st({sortable:this,name:"update",toEl:lt,originalEvent:t}),st({sortable:this,name:"sort",toEl:lt,originalEvent:t})),Zt.active&&(null!=bt&&-1!==bt||(bt=mt,gt=pt),st({sortable:this,name:"end",toEl:lt,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){rt("nulling",this),ht=at=lt=ut=ct=dt=ft=vt=Et=zt=kt=bt=gt=mt=pt=Mt=Tt=yt=wt=Zt.dragged=Zt.ghost=Zt.clone=Zt.active=null,Pt.forEach((function(t){t.checked=!0})),Pt.length=xt=It=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":at&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,e=[],i=this.el.children,n=0,o=i.length,r=this.options;n<o;n++)D(t=i[n],r.draggable,this.el,!1)&&e.push(t.getAttribute(r.dataIdAttr)||ee(t));return e},sort:function(t,e){var i={},n=this.el;this.toArray().forEach((function(t,e){var o=n.children[e];D(o,this.options.draggable,n,!1)&&(i[t]=o)}),this),e&&this.captureAnimationState(),t.forEach((function(t){i[t]&&(n.removeChild(i[t]),n.appendChild(i[t]))})),e&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return D(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var i=this.options;if(void 0===e)return i[t];var n=it.modifyOption(this,t,e);i[t]=void 0!==n?n:e,"group"===t&&Rt(i)},destroy:function(){rt("destroy",this);var t=this.el;t[Q]=null,T(t,"mousedown",this._onTapStart),T(t,"touchstart",this._onTapStart),T(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(T(t,"dragover",this),T(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),jt.splice(jt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!vt){if(rt("hideClone",this),Zt.eventCanceled)return;W(dt,"display","none"),this.options.removeCloneOnHide&&dt.parentNode&&dt.parentNode.removeChild(dt),vt=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(vt){if(rt("showClone",this),Zt.eventCanceled)return;at.parentNode!=ht||this.options.group.revertClone?ct?ht.insertBefore(dt,ct):ht.appendChild(dt):ht.insertBefore(dt,at),this.options.group.revertClone&&this.animate(at,dt),W(dt,"display",""),vt=!1}}else this._hideClone()}},Gt&&M(document,"touchmove",(function(t){(Zt.active||Dt)&&t.cancelable&&t.preventDefault()})),Zt.utils={on:M,off:T,css:W,find:H,is:function(t,e){return!!D(t,e,t,!1)},extend:function(t,e){if(t&&e)for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t},throttle:Y,closest:D,toggleClass:N,clone:J,index:K,nextTick:ie,cancelNextTick:ne,detectDirection:$t,getChild:U},Zt.get=function(t){return t[Q]},Zt.mount=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e[0].constructor===Array&&(e=e[0]),e.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Zt.utils=v(v({},Zt.utils),t.utils)),it.mount(t)}))},Zt.create=function(t,e){return new Zt(t,e)},Zt.version="1.15.0";var oe,re,se,ae,le,ue,he=[],ce=!1;function fe(){he.forEach((function(t){clearInterval(t.pid)})),he=[]}function de(){clearInterval(ue)}var ve,me=Y((function(t,e,i,n){if(e.scroll){var o,r=(t.touches?t.touches[0]:t).clientX,s=(t.touches?t.touches[0]:t).clientY,a=e.scrollSensitivity,l=e.scrollSpeed,u=P(),h=!1;re!==i&&(re=i,fe(),o=e.scrollFn,!0===(oe=e.scroll)&&(oe=R(i,!0)));var c=0,f=oe;do{var d=f,v=G(d),m=v.top,b=v.bottom,p=v.left,g=v.right,w=v.width,y=v.height,E=void 0,z=void 0,x=d.scrollWidth,I=d.scrollHeight,S=W(d),O=d.scrollLeft,k=d.scrollTop;d===u?(E=w<x&&("auto"===S.overflowX||"scroll"===S.overflowX||"visible"===S.overflowX),z=y<I&&("auto"===S.overflowY||"scroll"===S.overflowY||"visible"===S.overflowY)):(E=w<x&&("auto"===S.overflowX||"scroll"===S.overflowX),z=y<I&&("auto"===S.overflowY||"scroll"===S.overflowY));var M=E&&(Math.abs(g-r)<=a&&O+w<x)-(Math.abs(p-r)<=a&&!!O),T=z&&(Math.abs(b-s)<=a&&k+y<I)-(Math.abs(m-s)<=a&&!!k);if(!he[c])for(var C=0;C<=c;C++)he[C]||(he[C]={});he[c].vx==M&&he[c].vy==T&&he[c].el===d||(he[c].el=d,he[c].vx=M,he[c].vy=T,clearInterval(he[c].pid),0==M&&0==T||(h=!0,he[c].pid=setInterval(function(){n&&0===this.layer&&Zt.active._onTouchMove(le);var e=he[this.layer].vy?he[this.layer].vy*l:0,i=he[this.layer].vx?he[this.layer].vx*l:0;"function"==typeof o&&"continue"!==o.call(Zt.dragged.parentNode[Q],i,e,t,le,he[this.layer].el)||V(he[this.layer].el,i,e)}.bind({layer:c}),24))),c++}while(e.bubbleScroll&&f!==u&&(f=R(f,!1)));ce=h}}),30),be=function(t){var e=t.originalEvent,i=t.putSortable,n=t.dragEl,o=t.dispatchSortableEvent,r=t.unhideGhostForTarget;if(e){var s=i||t.activeSortable;(0,t.hideGhostForTarget)();var a=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,l=document.elementFromPoint(a.clientX,a.clientY);r(),s&&!s.el.contains(l)&&(o("spill"),this.onSpill({dragEl:n,putSortable:i}))}};function pe(){}function ge(){}pe.prototype={startIndex:null,dragStart:function(t){this.startIndex=t.oldDraggableIndex},onSpill:function(t){var e=t.dragEl,i=t.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var n=U(this.sortable.el,this.startIndex,this.options);n?this.sortable.el.insertBefore(e,n):this.sortable.el.appendChild(e),this.sortable.animateAll(),i&&i.animateAll()},drop:be},p(pe,{pluginName:"revertOnSpill"}),ge.prototype={onSpill:function(t){var e=t.dragEl,i=t.putSortable||this.sortable;i.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),i.animateAll()},drop:be},p(ge,{pluginName:"removeOnSpill"});var we,ye,Ee,ze,xe,Ie=[],Se=[],Oe=!1,ke=!1,Me=!1;function Te(t,e){Se.forEach((function(i,n){var o=e.children[i.sortableIndex+(t?Number(n):0)];o?e.insertBefore(i,o):e.appendChild(i)}))}function Ce(){Ie.forEach((function(t){t!==Ee&&t.parentNode&&t.parentNode.removeChild(t)}))}Zt.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?M(document,"dragover",this._handleAutoScroll):M(document,this.options.supportPointer?"pointermove":e.touches?"touchmove":"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;this.options.dragOverBubble||e.rootEl||this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?T(document,"dragover",this._handleAutoScroll):(T(document,"pointermove",this._handleFallbackAutoScroll),T(document,"touchmove",this._handleFallbackAutoScroll),T(document,"mousemove",this._handleFallbackAutoScroll)),de(),fe(),clearTimeout(A),A=void 0},nulling:function(){le=re=oe=ce=ue=se=ae=null,he.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var i=this,n=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,r=document.elementFromPoint(n,o);if(le=t,e||this.options.forceAutoScrollFallback||z||E||I){me(t,this.options,r,e);var s=R(r,!0);!ce||ue&&n===se&&o===ae||(ue&&de(),ue=setInterval((function(){var r=R(document.elementFromPoint(n,o),!0);r!==s&&(s=r,fe()),me(t,i.options,r,e)}),10),se=n,ae=o)}else{if(!this.options.bubbleScroll||R(r,!0)===P())return void fe();me(t,this.options,R(r,!1),!1)}}},p(t,{pluginName:"scroll",initializeByDefault:!0})}),Zt.mount(ge,pe),Zt.mount(new function(){function t(){this.defaults={swapClass:"sortable-swap-highlight"}}return t.prototype={dragStart:function(t){ve=t.dragEl},dragOverValid:function(t){var e=t.completed,i=t.target,n=t.changed,o=t.cancel;if(t.activeSortable.options.swap){var r=this.options;if(i&&i!==this.sortable.el){var s=ve;!1!==(0,t.onMove)(i)?(N(i,r.swapClass,!0),ve=i):ve=null,s&&s!==ve&&N(s,r.swapClass,!1)}n(),e(!0),o()}},drop:function(t){var e,i,n,o,r,s,a=t.activeSortable,l=t.putSortable,u=t.dragEl,h=l||this.sortable,c=this.options;ve&&N(ve,c.swapClass,!1),ve&&(c.swap||l&&l.options.swap)&&u!==ve&&(h.captureAnimationState(),h!==a&&a.captureAnimationState(),s=(i=ve).parentNode,(r=(e=u).parentNode)&&s&&!r.isEqualNode(i)&&!s.isEqualNode(e)&&(n=K(e),o=K(i),r.isEqualNode(s)&&n<o&&o++,r.insertBefore(i,r.children[n]),s.insertBefore(e,s.children[o])),h.animateAll(),h!==a&&a.animateAll())},nulling:function(){ve=null}},p(t,{pluginName:"swap",eventProperties:function(){return{swapItem:ve}}})}),Zt.mount(new function(){function t(t){for(var e in this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this));t.options.avoidImplicitDeselect||(t.options.supportPointer?M(document,"pointerup",this._deselectMultiDrag):(M(document,"mouseup",this._deselectMultiDrag),M(document,"touchend",this._deselectMultiDrag))),M(document,"keydown",this._checkKeyDown),M(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,avoidImplicitDeselect:!1,setData:function(e,i){var n="";Ie.length&&ye===t?Ie.forEach((function(t,e){n+=(e?", ":"")+t.textContent})):n=i.textContent,e.setData("Text",n)}}}return t.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(t){Ee=t.dragEl},delayEnded:function(){this.isMultiDrag=~Ie.indexOf(Ee)},setupClone:function(t){var e=t.sortable,i=t.cancel;if(this.isMultiDrag){for(var n=0;n<Ie.length;n++)Se.push(J(Ie[n])),Se[n].sortableIndex=Ie[n].sortableIndex,Se[n].draggable=!1,Se[n].style["will-change"]="",N(Se[n],this.options.selectedClass,!1),Ie[n]===Ee&&N(Se[n],this.options.chosenClass,!1);e._hideClone(),i()}},clone:function(t){var e=t.dispatchSortableEvent,i=t.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||Ie.length&&ye===t.sortable&&(Te(!0,t.rootEl),e("clone"),i()))},showClone:function(t){var e=t.cloneNowShown,i=t.cancel;this.isMultiDrag&&(Te(!1,t.rootEl),Se.forEach((function(t){W(t,"display","")})),e(),xe=!1,i())},hideClone:function(t){var e=this,i=t.cloneNowHidden,n=t.cancel;this.isMultiDrag&&(Se.forEach((function(t){W(t,"display","none"),e.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)})),i(),xe=!0,n())},dragStartGlobal:function(){!this.isMultiDrag&&ye&&ye.multiDrag._deselectMultiDrag(),Ie.forEach((function(t){t.sortableIndex=K(t)})),Ie=Ie.sort((function(t,e){return t.sortableIndex-e.sortableIndex})),Me=!0},dragStarted:function(t){var e=this,i=t.sortable;if(this.isMultiDrag){if(this.options.sort&&(i.captureAnimationState(),this.options.animation)){Ie.forEach((function(t){t!==Ee&&W(t,"position","absolute")}));var n=G(Ee,!1,!0,!0);Ie.forEach((function(t){t!==Ee&&Z(t,n)})),ke=!0,Oe=!0}i.animateAll((function(){ke=!1,Oe=!1,e.options.animation&&Ie.forEach((function(t){q(t)})),e.options.sort&&Ce()}))}},dragOver:function(t){var e=t.completed,i=t.cancel;ke&&~Ie.indexOf(t.target)&&(e(!1),i())},revert:function(t){var e=t.fromSortable,i=t.rootEl,n=t.sortable,o=t.dragRect;Ie.length>1&&(Ie.forEach((function(t){n.addAnimationState({target:t,rect:ke?G(t):o}),q(t),t.fromRect=o,e.removeAnimationState(t)})),ke=!1,function(t,e){Ie.forEach((function(i,n){var o=e.children[i.sortableIndex+(t?Number(n):0)];o?e.insertBefore(i,o):e.appendChild(i)}))}(!this.options.removeCloneOnHide,i))},dragOverCompleted:function(t){var e=t.sortable,i=t.isOwner,n=t.activeSortable,o=t.parentEl,r=t.putSortable,s=this.options;if(t.insertion){if(i&&n._hideClone(),Oe=!1,s.animation&&Ie.length>1&&(ke||!i&&!n.options.sort&&!r)){var a=G(Ee,!1,!0,!0);Ie.forEach((function(t){t!==Ee&&(Z(t,a),o.appendChild(t))})),ke=!0}if(!i)if(ke||Ce(),Ie.length>1){var l=xe;n._showClone(e),n.options.animation&&!xe&&l&&Se.forEach((function(t){n.addAnimationState({target:t,rect:ze}),t.fromRect=ze,t.thisAnimationDuration=null}))}else n._showClone(e)}},dragOverAnimationCapture:function(t){var e=t.dragRect,i=t.isOwner,n=t.activeSortable;if(Ie.forEach((function(t){t.thisAnimationDuration=null})),n.options.animation&&!i&&n.multiDrag.isMultiDrag){ze=p({},e);var o=F(Ee,!0);ze.top-=o.f,ze.left-=o.e}},dragOverAnimationComplete:function(){ke&&(ke=!1,Ce())},drop:function(t){var e=t.originalEvent,i=t.rootEl,n=t.parentEl,o=t.sortable,r=t.dispatchSortableEvent,s=t.oldIndex,a=t.putSortable,l=a||this.sortable;if(e){var u=this.options,h=n.children;if(!Me)if(u.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),N(Ee,u.selectedClass,!~Ie.indexOf(Ee)),~Ie.indexOf(Ee))Ie.splice(Ie.indexOf(Ee),1),we=null,nt({sortable:o,rootEl:i,name:"deselect",targetEl:Ee,originalEvent:e});else{if(Ie.push(Ee),nt({sortable:o,rootEl:i,name:"select",targetEl:Ee,originalEvent:e}),e.shiftKey&&we&&o.el.contains(we)){var c,f,d=K(we),v=K(Ee);if(~d&&~v&&d!==v)for(v>d?(f=d,c=v):(f=v,c=d+1);f<c;f++)~Ie.indexOf(h[f])||(N(h[f],u.selectedClass,!0),Ie.push(h[f]),nt({sortable:o,rootEl:i,name:"select",targetEl:h[f],originalEvent:e}))}else we=Ee;ye=l}if(Me&&this.isMultiDrag){if(ke=!1,(n[Q].options.sort||n!==i)&&Ie.length>1){var m=G(Ee),b=K(Ee,":not(."+this.options.selectedClass+")");if(!Oe&&u.animation&&(Ee.thisAnimationDuration=null),l.captureAnimationState(),!Oe&&(u.animation&&(Ee.fromRect=m,Ie.forEach((function(t){if(t.thisAnimationDuration=null,t!==Ee){var e=ke?G(t):m;t.fromRect=e,l.addAnimationState({target:t,rect:e})}}))),Ce(),Ie.forEach((function(t){h[b]?n.insertBefore(t,h[b]):n.appendChild(t),b++})),s===K(Ee))){var p=!1;Ie.forEach((function(t){t.sortableIndex===K(t)||(p=!0)})),p&&r("update")}Ie.forEach((function(t){q(t)})),l.animateAll()}ye=l}(i===n||a&&"clone"!==a.lastPutMode)&&Se.forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)}))}},nullingGlobal:function(){this.isMultiDrag=Me=!1,Se.length=0},destroyGlobal:function(){this._deselectMultiDrag(),T(document,"pointerup",this._deselectMultiDrag),T(document,"mouseup",this._deselectMultiDrag),T(document,"touchend",this._deselectMultiDrag),T(document,"keydown",this._checkKeyDown),T(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(!(void 0!==Me&&Me||ye!==this.sortable||t&&D(t.target,this.options.draggable,this.sortable.el,!1)||t&&0!==t.button))for(;Ie.length;){var e=Ie[0];N(e,this.options.selectedClass,!1),Ie.shift(),nt({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvent:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},p(t,{pluginName:"multiDrag",utils:{select:function(t){var e=t.parentNode[Q];e&&e.options.multiDrag&&!~Ie.indexOf(t)&&(ye&&ye!==e&&(ye.multiDrag._deselectMultiDrag(),ye=e),N(t,e.options.selectedClass,!0),Ie.push(t))},deselect:function(t){var e=t.parentNode[Q],i=Ie.indexOf(t);e&&e.options.multiDrag&&~i&&(N(t,e.options.selectedClass,!1),Ie.splice(i,1))}},eventProperties:function(){var t,e=this,i=[],n=[];return Ie.forEach((function(t){var o;i.push({multiDragElement:t,index:t.sortableIndex}),o=ke&&t!==Ee?-1:ke?K(t,":not(."+e.options.selectedClass+")"):K(t),n.push({multiDragElement:t,index:o})})),{items:(t=Ie,function(t){if(Array.isArray(t))return w(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return w(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?w(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),clones:[].concat(Se),oldIndicies:i,newIndicies:n}},optionListeners:{multiDragKey:function(t){return"ctrl"===(t=t.toLowerCase())?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t}}})});const _e="is-sortable-item",De="is-selected",Ae="has-item-selected";let je=0;const Ne=class{constructor(i){t(this,i),this.stzhUpdate=e(this,"stzhUpdate",7),this.stzhDisable=e(this,"stzhDisable",7),this.selectedItem=null,this.resetItemOnBlur=!1,this.init=()=>{this.getContainer()&&!this.disabled&&this.setAttributes()},this.updated=async t=>{let e,i,n;t?(e=t.newIndex,i=t.oldIndex,n=t.item):(e=this.getIndexOfSelectedItem(),i=this.lastIndex,n=this.selectedItem),e!==i&&this.stzhUpdate.emit({component:"stzh-sortable",data:await this.toArray(),item:n,newIndex:e,oldIndex:i})},this.onKeydown=t=>{const e=t.currentTarget,i=t.target;this.getContainer()&&!this.disabled&&e===i&&(" "===t.key?(t.preventDefault(),this.selectedItem?(this.resetItemOnBlur=!1,this.updateAriaLive(this.localization.dropped),this.updated(),this.resetActiveItem()):(this.selectedItem=e,this.selectedItem.parentElement.classList.add(Ae),this.selectedItem.classList.add(De),this.lastIndex=this.getIndexOfSelectedItem(),this.resetItemOnBlur=!0,this.updateAriaLive(this.localization.started))):"Tab"===t.key&&this.selectedItem&&this.selectedItem===t.currentTarget?t.preventDefault():"Escape"===t.key&&this.selectedItem?(this.resetItemOnBlur=!1,this.updateAriaLive(this.localization.canceled),this.resetActiveItem(!0)):"ArrowUp"===t.key?(t.preventDefault(),this.selectedItem?this.moveItem(this.selectedItem,"up"):this.focusItem(e.previousElementSibling)):"ArrowDown"===t.key&&(t.preventDefault(),this.selectedItem?this.moveItem(this.selectedItem,"down"):this.focusItem(e.nextElementSibling)))},this.onBlur=()=>{this.resetItemOnBlur&&(this.resetItemOnBlur=!1,this.updateAriaLive(this.localization.dropped),this.updated(),this.resetActiveItem())},this.localization=void 0,this.disabled=!1,this.dataIdAttribute="data-id",this.container=()=>{var t;return null===(t=this.containerElement)||void 0===t?void 0:t.firstElementChild},this.ghostClone=t=>{const[e]=r(t);return e},this.filterElements=["[data-stzh-sortable-filtered]","[sortable-disabled]","button","a[href]","input","select","textarea","label","iframe","details","area","stzh-sortable"]}async toArray(){return this.sortable.toArray()}async sort(t,e=!0){return this.sortable.sort(t,e)}async moveItem(t,e){var i;if(!t||!t.nextElementSibling&&"down"===e||!t.previousElementSibling&&"up"===e)return;this.resetItemOnBlur=!1,"up"===e?t.previousElementSibling.before(t):"down"===e&&t.nextElementSibling.after(t),this.updateAriaLive(this.localization.moved,t),this.focusItem(t);const n=Array.from(null===(i=t.parentElement)||void 0===i?void 0:i.children).indexOf(t);this.stzhUpdate.emit({component:"stzh-sortable",data:await this.toArray(),item:t,newIndex:n,oldIndex:n+("up"===e?1:-1)}),this.resetItemOnBlur=!0}disabledWatcher(t){t?this.setAttributes():this.unsetAttributes(),this.stzhDisable.emit({component:"stzh-sortable",disabled:t})}filterElementsWatcher(t){this._filterElements="string"==typeof t?JSON.parse(t):t}getContainer(){return"function"==typeof this.container?this.container():this.container}updateAriaLive(t,e=this.selectedItem){if(!this.getContainer())return;if(e){const i=e.getAttribute("aria-label")||"",n=this.getIndexOfSelectedItem(e);t=t.replace("{title}",i).replace("{current}",(n+1).toString())}const i=this.getContainer().children.length;t=t.replace("{total}",i.toString()),this.ariaLiveElement.textContent=t}getIndexOfSelectedItem(t=this.selectedItem){if(t)return Array.from(t.parentElement.children).indexOf(t)}resetActiveItem(t=!1){if(!this.selectedItem)return;const e=this.getIndexOfSelectedItem(),i=this.selectedItem.parentElement;t&&this.lastIndex!==e&&(this.lastIndex>e?i.children[this.lastIndex].after(this.selectedItem):i.children[this.lastIndex].before(this.selectedItem),this.selectedItem.focus()),i.classList.remove(Ae),this.selectedItem.classList.remove(De),this.selectedItem=null,this.lastIndex=null}focusItem(t){if(!t)return;t.focus();const e=document.querySelector("stzh-flyingfocus");e&&e.reposition(),function(t,e){let i=t.isConnected||t.ownerDocument.documentElement.contains(t);if((t=>"object"==typeof t&&"function"==typeof t.behavior)(e))return e.behavior(i?f(t,e):[]);if(!i)return;let n=(t=>!1===t?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&0!==Object.keys(t).length)(t)?t:{block:"start",inline:"nearest"})(e),o=f(t,n),r="scrollBehavior"in document.body.style;o.forEach((t=>{let{el:e,top:i,left:o}=t;e.scroll&&r?e.scroll({top:i,left:o,behavior:n.behavior}):(e.scrollTop=i,e.scrollLeft=o)}))}(t,{scrollMode:"if-needed",block:"nearest",inline:"nearest"})}setAttributes(){Array.from(this.getContainer().children).forEach((t=>{t.classList.add(_e),t.addEventListener("blur",this.onBlur),t.addEventListener("keydown",this.onKeydown),t.setAttribute("tabindex","0"),t.setAttribute("aria-describedby",`${this.sortableId}-description`)}))}unsetAttributes(){Array.from(this.getContainer().children).forEach((t=>{t.classList.remove(_e),t.removeEventListener("blur",this.onBlur),t.removeEventListener("keydown",this.onKeydown),t.removeAttribute("tabindex"),t.removeAttribute("aria-describedby")}))}async componentWillLoad(){this.sortableId="stzh-sortable-"+je++,this.filterElementsWatcher(this.filterElements),this.localization||(this.localization=await s(this.element,"sortable"))}componentWillUpdate(){this.sortable&&(this.sortable.destroy(),this.sortable=null)}componentDidRender(){this.sortable||(this.sortable=new Zt(this.getContainer(),{animation:150,filter:this._filterElements.join(", "),ghostClass:"is-ghost",chosenClass:"is-chosen",dragClass:"is-drag",dataIdAttr:this.dataIdAttribute,preventOnFilter:!1,forceFallback:!0,delay:200,delayOnTouchOnly:!0,disabled:this.disabled,ghostClone:this.ghostClone,onUpdate:this.updated}))}connectedCallback(){this.init(),this.observer=new MutationObserver(this.init),this.observer.observe(this.element,{childList:!0,subtree:!0})}disconnectedCallback(){this.observer.disconnect(),this.unsetAttributes(),this.sortable&&(this.sortable.destroy(),this.sortable=null)}render(){return i(n,null,i("div",{class:{"stzh-sortable":!0,"stzh-sortable--disabled":this.disabled}},i("div",{id:`${this.sortableId}-description`,class:"stzh-sortable__description"},this.localization.description),i("div",{ref:t=>this.ariaLiveElement=t,"aria-live":"assertive",class:"stzh-sortable__aria-live"}),i("div",{ref:t=>this.containerElement=t,class:"stzh-sortable__container"},i("slot",null))))}get element(){return o(this)}static get watchers(){return{disabled:["disabledWatcher"],filterElements:["filterElementsWatcher"]}}};Ne.style='.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}';export{Ne as stzh_sortable}
|
|
8
|
+
function d(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function v(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?d(Object(i),!0).forEach((function(e){b(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):d(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function m(t){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}function b(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function p(){return p=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},p.apply(this,arguments)}function g(t,e){if(null==t)return{};var i,n,o=function(t,e){if(null==t)return{};var i,n,o={},r=Object.keys(t);for(n=0;n<r.length;n++)e.indexOf(i=r[n])>=0||(o[i]=t[i]);return o}(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(n=0;n<r.length;n++)e.indexOf(i=r[n])>=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(o[i]=t[i])}return o}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function y(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var E=y(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),z=y(/Edge/i),x=y(/firefox/i),I=y(/safari/i)&&!y(/chrome/i)&&!y(/android/i),S=y(/iP(ad|od|hone)/i),O=y(/chrome/i)&&y(/android/i),k={capture:!1,passive:!1};function M(t,e,i){t.addEventListener(e,i,!E&&k)}function T(t,e,i){t.removeEventListener(e,i,!E&&k)}function C(t,e){if(e){if(">"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(i){return!1}return!1}}function _(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function D(t,e,i,n){if(t){i=i||document;do{if(null!=e&&(">"===e[0]?t.parentNode===i&&C(t,e):C(t,e))||n&&t===i)return t;if(t===i)break}while(t=_(t))}return null}var A,j=/\s+/g;function N(t,e,i){if(t&&e)if(t.classList)t.classList[i?"add":"remove"](e);else{var n=(" "+t.className+" ").replace(j," ").replace(" "+e+" "," ");t.className=(n+(i?" "+e:"")).replace(j," ")}}function W(t,e,i){var n=t&&t.style;if(n){if(void 0===i)return document.defaultView&&document.defaultView.getComputedStyle?i=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(i=t.currentStyle),void 0===e?i:i[e];e in n||-1!==e.indexOf("webkit")||(e="-webkit-"+e),n[e]=i+("string"==typeof i?"":"px")}}function F(t,e){var i="";if("string"==typeof t)i=t;else do{var n=W(t,"transform");n&&"none"!==n&&(i=n+" "+i)}while(!e&&(t=t.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(i)}function H(t,e,i){if(t){var n=t.getElementsByTagName(e),o=0,r=n.length;if(i)for(;o<r;o++)i(n[o],o);return n}return[]}function P(){return document.scrollingElement||document.documentElement}function G(t,e,i,n,o){if(t.getBoundingClientRect||t===window){var r,s,a,l,u,h,c;if(t!==window&&t.parentNode&&t!==P()?(s=(r=t.getBoundingClientRect()).top,a=r.left,l=r.bottom,u=r.right,h=r.height,c=r.width):(s=0,a=0,l=window.innerHeight,u=window.innerWidth,h=window.innerHeight,c=window.innerWidth),(e||i)&&t!==window&&(o=o||t.parentNode,!E))do{if(o&&o.getBoundingClientRect&&("none"!==W(o,"transform")||i&&"static"!==W(o,"position"))){var f=o.getBoundingClientRect();s-=f.top+parseInt(W(o,"border-top-width")),a-=f.left+parseInt(W(o,"border-left-width")),l=s+r.height,u=a+r.width;break}}while(o=o.parentNode);if(n&&t!==window){var d=F(o||t),v=d&&d.a,m=d&&d.d;d&&(l=(s/=m)+(h/=m),u=(a/=v)+(c/=v))}return{top:s,left:a,bottom:l,right:u,width:c,height:h}}}function L(t,e,i){for(var n=R(t,!0),o=G(t)[e];n;){var r=G(n)[i];if(!("top"===i||"left"===i?o>=r:o<=r))return n;if(n===P())break;n=R(n,!1)}return!1}function U(t,e,i,n){for(var o=0,r=0,s=t.children;r<s.length;){if("none"!==s[r].style.display&&s[r]!==Zt.ghost&&(n||s[r]!==Zt.dragged)&&D(s[r],i.draggable,t,!1)){if(o===e)return s[r];o++}r++}return null}function B(t,e){for(var i=t.lastElementChild;i&&(i===Zt.ghost||"none"===W(i,"display")||e&&!C(i,e));)i=i.previousElementSibling;return i||null}function K(t,e){var i=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Zt.clone||e&&!C(t,e)||i++;return i}function $(t){var e=0,i=0,n=P();if(t)do{var o=F(t);e+=t.scrollLeft*o.a,i+=t.scrollTop*o.d}while(t!==n&&(t=t.parentNode));return[e,i]}function R(t,e){if(!t||!t.getBoundingClientRect)return P();var i=t,n=!1;do{if(i.clientWidth<i.scrollWidth||i.clientHeight<i.scrollHeight){var o=W(i);if(i.clientWidth<i.scrollWidth&&("auto"==o.overflowX||"scroll"==o.overflowX)||i.clientHeight<i.scrollHeight&&("auto"==o.overflowY||"scroll"==o.overflowY)){if(!i.getBoundingClientRect||i===document.body)return P();if(n||e)return i;n=!0}}}while(i=i.parentNode);return P()}function X(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}function Y(t,e){return function(){if(!A){var i=arguments,n=this;1===i.length?t.call(n,i[0]):t.apply(n,i),A=setTimeout((function(){A=void 0}),e)}}}function V(t,e,i){t.scrollLeft+=e,t.scrollTop+=i}function J(t){var e=window.Polymer,i=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):i?i(t).clone(!0)[0]:t.cloneNode(!0)}function Z(t,e){W(t,"position","absolute"),W(t,"top",e.top),W(t,"left",e.left),W(t,"width",e.width),W(t,"height",e.height)}function q(t){W(t,"position",""),W(t,"top",""),W(t,"left",""),W(t,"width",""),W(t,"height","")}var Q="Sortable"+(new Date).getTime();var tt=[],et={initializeByDefault:!0},it={mount:function(t){for(var e in et)et.hasOwnProperty(e)&&!(e in t)&&(t[e]=et[e]);tt.forEach((function(e){if(e.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),tt.push(t)},pluginEvent:function(t,e,i){var n=this;this.eventCanceled=!1,i.cancel=function(){n.eventCanceled=!0};var o=t+"Global";tt.forEach((function(n){e[n.pluginName]&&(e[n.pluginName][o]&&e[n.pluginName][o](v({sortable:e},i)),e.options[n.pluginName]&&e[n.pluginName][t]&&e[n.pluginName][t](v({sortable:e},i)))}))},initializePlugins:function(t,e,i){for(var n in tt.forEach((function(n){var o=n.pluginName;if(t.options[o]||n.initializeByDefault){var r=new n(t,e,t.options);r.sortable=t,r.options=t.options,t[o]=r,p(i,r.defaults)}})),t.options)if(t.options.hasOwnProperty(n)){var o=this.modifyOption(t,n,t.options[n]);void 0!==o&&(t.options[n]=o)}},getEventProperties:function(t,e){var i={};return tt.forEach((function(n){"function"==typeof n.eventProperties&&p(i,n.eventProperties.call(e[n.pluginName],t))})),i},modifyOption:function(t,e,i){var n;return tt.forEach((function(o){t[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[e]&&(n=o.optionListeners[e].call(t[o.pluginName],i))})),n}};function nt(t){var e=t.sortable,i=t.rootEl,n=t.name,o=t.targetEl,r=t.cloneEl,s=t.toEl,a=t.fromEl,l=t.oldIndex,u=t.newIndex,h=t.oldDraggableIndex,c=t.newDraggableIndex,f=t.originalEvent,d=t.putSortable,m=t.extraEventProperties;if(e=e||i&&i[Q]){var b,p=e.options,g="on"+n.charAt(0).toUpperCase()+n.substr(1);!window.CustomEvent||E||z?(b=document.createEvent("Event")).initEvent(n,!0,!0):b=new CustomEvent(n,{bubbles:!0,cancelable:!0}),b.to=s||i,b.from=a||i,b.item=o||i,b.clone=r,b.oldIndex=l,b.newIndex=u,b.oldDraggableIndex=h,b.newDraggableIndex=c,b.originalEvent=f,b.pullMode=d?d.lastPutMode:void 0;var w=v(v({},m),it.getEventProperties(n,e));for(var y in w)b[y]=w[y];i&&i.dispatchEvent(b),p[g]&&p[g].call(e,b)}}var ot=["evt"],rt=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=i.evt,o=g(i,ot);it.pluginEvent.bind(Zt)(t,e,v({dragEl:at,parentEl:lt,ghostEl:ut,rootEl:ht,nextEl:ct,lastDownEl:ft,cloneEl:dt,cloneHidden:vt,dragStarted:kt,putSortable:yt,activeSortable:Zt.active,originalEvent:n,oldIndex:mt,oldDraggableIndex:pt,newIndex:bt,newDraggableIndex:gt,hideGhostForTarget:Xt,unhideGhostForTarget:Yt,cloneNowHidden:function(){vt=!0},cloneNowShown:function(){vt=!1},dispatchSortableEvent:function(t){st({sortable:e,name:t,originalEvent:n})}},o))};function st(t){nt(v({putSortable:yt,cloneEl:dt,targetEl:at,rootEl:ht,oldIndex:mt,oldDraggableIndex:pt,newIndex:bt,newDraggableIndex:gt},t))}var at,lt,ut,ht,ct,ft,dt,vt,mt,bt,pt,gt,wt,yt,Et,zt,xt,It,St,Ot,kt,Mt,Tt,Ct,_t,Dt=!1,At=!1,jt=[],Nt=!1,Wt=!1,Ft=[],Ht=!1,Pt=[],Gt="undefined"!=typeof document,Lt=S,Ut=z||E?"cssFloat":"float",Bt=Gt&&!O&&!S&&"draggable"in document.createElement("div"),Kt=function(){if(Gt){if(E)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),$t=function(t,e){var i=W(t),n=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),o=U(t,0,e),r=U(t,1,e),s=o&&W(o),a=r&&W(r),l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+G(o).width,u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+G(r).width;return"flex"===i.display?"column"===i.flexDirection||"column-reverse"===i.flexDirection?"vertical":"horizontal":"grid"===i.display?i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal":o&&s.float&&"none"!==s.float?!r||"both"!==a.clear&&a.clear!==("left"===s.float?"left":"right")?"horizontal":"vertical":o&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||l>=n&&"none"===i[Ut]||r&&"none"===i[Ut]&&l+u>n)?"vertical":"horizontal"},Rt=function(t){function e(t,i){return function(n,o,r,s){if(null==t&&(i||n.options.group.name&&o.options.group.name&&n.options.group.name===o.options.group.name))return!0;if(null==t||!1===t)return!1;if(i&&"clone"===t)return t;if("function"==typeof t)return e(t(n,o,r,s),i)(n,o,r,s);var a=(i?n:o).options.group.name;return!0===t||"string"==typeof t&&t===a||t.join&&t.indexOf(a)>-1}}var i={},n=t.group;n&&"object"==m(n)||(n={name:n}),i.name=n.name,i.checkPull=e(n.pull,!0),i.checkPut=e(n.put),i.revertClone=n.revertClone,t.group=i},Xt=function(){!Kt&&ut&&W(ut,"display","none")},Yt=function(){!Kt&&ut&&W(ut,"display","")};Gt&&!O&&document.addEventListener("click",(function(t){if(At)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),At=!1,!1}),!0);var Vt=function(t){if(at){var e=(o=(t=t.touches?t.touches[0]:t).clientX,r=t.clientY,jt.some((function(t){var e=t[Q].options.emptyInsertThreshold;if(e&&!B(t)){var i=G(t);return o>=i.left-e&&o<=i.right+e&&r>=i.top-e&&r<=i.bottom+e?s=t:void 0}})),s);if(e){var i={};for(var n in t)t.hasOwnProperty(n)&&(i[n]=t[n]);i.target=i.rootEl=e,i.preventDefault=void 0,i.stopPropagation=void 0,e[Q]._onDragOver(i)}}var o,r,s},Jt=function(t){at&&at.parentNode[Q]._isOutsideThisEl(t.target)};function Zt(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=p({},e),t[Q]=this;var i,n,o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return $t(t,this.options)},ghostClone:function(t){return t.cloneNode(!0)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Zt.supportPointer&&"PointerEvent"in window&&!I,emptyInsertThreshold:5};for(var r in it.initializePlugins(this,t,o),o)!(r in e)&&(e[r]=o[r]);for(var s in Rt(e),this)"_"===s.charAt(0)&&"function"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!e.forceFallback&&Bt,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?M(t,"pointerdown",this._onTapStart):(M(t,"mousedown",this._onTapStart),M(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(M(t,"dragover",this),M(t,"dragenter",this)),jt.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),p(this,(n=[],{captureAnimationState:function(){n=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==W(t,"display")&&t!==Zt.ghost){n.push({target:t,rect:G(t)});var e=v({},n[n.length-1].rect);if(t.thisAnimationDuration){var i=F(t,!0);i&&(e.top-=i.f,e.left-=i.e)}t.fromRect=e}}))},addAnimationState:function(t){n.push(t)},removeAnimationState:function(t){n.splice(function(t,e){for(var i in t)if(t.hasOwnProperty(i))for(var n in e)if(e.hasOwnProperty(n)&&e[n]===t[i][n])return Number(i);return-1}(n,{target:t}),1)},animateAll:function(t){var e=this;if(!this.options.animation)return clearTimeout(i),void("function"==typeof t&&t());var o=!1,r=0;n.forEach((function(t){var i=0,n=t.target,s=n.fromRect,a=G(n),l=n.prevFromRect,u=n.prevToRect,h=t.rect,c=F(n,!0);c&&(a.top-=c.f,a.left-=c.e),n.toRect=a,n.thisAnimationDuration&&X(l,a)&&!X(s,a)&&(h.top-a.top)/(h.left-a.left)==(s.top-a.top)/(s.left-a.left)&&(i=function(t,e,i,n){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-i.top,2)+Math.pow(e.left-i.left,2))*n.animation}(h,l,u,e.options)),X(a,s)||(n.prevFromRect=s,n.prevToRect=a,i||(i=e.options.animation),e.animate(n,h,a,i)),i&&(o=!0,r=Math.max(r,i),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),i),n.thisAnimationDuration=i)})),clearTimeout(i),o?i=setTimeout((function(){"function"==typeof t&&t()}),r):"function"==typeof t&&t(),n=[]},animate:function(t,e,i,n){if(n){W(t,"transition",""),W(t,"transform","");var o=F(this.el),r=(e.left-i.left)/(o&&o.a||1),s=(e.top-i.top)/(o&&o.d||1);t.animatingX=!!r,t.animatingY=!!s,W(t,"transform","translate3d("+r+"px,"+s+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),W(t,"transition","transform "+n+"ms"+(this.options.easing?" "+this.options.easing:"")),W(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){W(t,"transition",""),W(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),n)}}}))}function qt(t,e,i,n,o,r,s,a){var l,u,h=t[Q],c=h.options.onMove;return!window.CustomEvent||E||z?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=e,l.from=t,l.dragged=i,l.draggedRect=n,l.related=o||e,l.relatedRect=r||G(e),l.willInsertAfter=a,l.originalEvent=s,t.dispatchEvent(l),c&&(u=c.call(h,l,s)),u}function Qt(t){t.draggable=!1}function te(){Ht=!1}function ee(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,i=e.length,n=0;i--;)n+=e.charCodeAt(i);return n.toString(36)}function ie(t){return setTimeout(t,0)}function ne(t){return clearTimeout(t)}Zt.prototype={constructor:Zt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(Mt=null)},_getDirection:function(t,e){return"function"==typeof this.options.direction?this.options.direction.call(this,t,e,at):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,i=this.el,n=this.options,o=n.preventOnFilter,r=t.type,s=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,a=(s||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||a,u=n.filter;if(function(t){Pt.length=0;for(var e=t.getElementsByTagName("input"),i=e.length;i--;){var n=e[i];n.checked&&Pt.push(n)}}(i),!at&&!(/mousedown|pointerdown/.test(r)&&0!==t.button||n.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!I||!a||"SELECT"!==a.tagName.toUpperCase())&&!((a=D(a,n.draggable,i,!1))&&a.animated||ft===a)){if(mt=K(a),pt=K(a,n.draggable),"function"==typeof u){if(u.call(this,t,a,this))return st({sortable:e,rootEl:l,name:"filter",targetEl:a,toEl:i,fromEl:i}),rt("filter",e,{evt:t}),void(o&&t.cancelable&&t.preventDefault())}else if(u&&(u=u.split(",").some((function(n){if(n=D(l,n.trim(),i,!1))return st({sortable:e,rootEl:n,name:"filter",targetEl:a,fromEl:i,toEl:i}),rt("filter",e,{evt:t}),!0}))))return void(o&&t.cancelable&&t.preventDefault());n.handle&&!D(l,n.handle,i,!1)||this._prepareDragStart(t,s,a)}}},_prepareDragStart:function(t,e,i){var n,o=this,r=o.el,s=o.options,a=r.ownerDocument;if(i&&!at&&i.parentNode===r){var l=G(i);if(ht=r,lt=(at=i).parentNode,ct=at.nextSibling,ft=i,wt=s.group,Zt.dragged=at,St=(Et={target:at,clientX:(e||t).clientX,clientY:(e||t).clientY}).clientX-l.left,Ot=Et.clientY-l.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,at.style["will-change"]="all",n=function(){rt("delayEnded",o,{evt:t}),Zt.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!x&&o.nativeDraggable&&(at.draggable=!0),o._triggerDragStart(t,e),st({sortable:o,name:"choose",originalEvent:t}),N(at,s.chosenClass,!0))},s.ignore.split(",").forEach((function(t){H(at,t.trim(),Qt)})),M(a,"dragover",Vt),M(a,"mousemove",Vt),M(a,"touchmove",Vt),M(a,"mouseup",o._onDrop),M(a,"touchend",o._onDrop),M(a,"touchcancel",o._onDrop),x&&this.nativeDraggable&&(this.options.touchStartThreshold=4,at.draggable=!0),rt("delayStart",this,{evt:t}),!s.delay||s.delayOnTouchOnly&&!e||this.nativeDraggable&&(z||E))n();else{if(Zt.eventCanceled)return void this._onDrop();M(a,"mouseup",o._disableDelayedDrag),M(a,"touchend",o._disableDelayedDrag),M(a,"touchcancel",o._disableDelayedDrag),M(a,"mousemove",o._delayedDragTouchMoveHandler),M(a,"touchmove",o._delayedDragTouchMoveHandler),s.supportPointer&&M(a,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(n,s.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){at&&Qt(at),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;T(t,"mouseup",this._disableDelayedDrag),T(t,"touchend",this._disableDelayedDrag),T(t,"touchcancel",this._disableDelayedDrag),T(t,"mousemove",this._delayedDragTouchMoveHandler),T(t,"touchmove",this._delayedDragTouchMoveHandler),T(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?M(document,this.options.supportPointer?"pointermove":e?"touchmove":"mousemove",this._onTouchMove):(M(at,"dragend",this),M(ht,"dragstart",this._onDragStart));try{document.selection?ie((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(i){}},_dragStarted:function(t,e){if(Dt=!1,ht&&at){rt("dragStarted",this,{evt:e}),this.nativeDraggable&&M(document,"dragover",Jt);var i=this.options;!t&&N(at,i.dragClass,!1),N(at,i.ghostClass,!0),Zt.active=this,t&&this._appendGhost(),st({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(zt){this._lastX=zt.clientX,this._lastY=zt.clientY,Xt();for(var t=document.elementFromPoint(zt.clientX,zt.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(zt.clientX,zt.clientY))!==e;)e=t;if(at.parentNode[Q]._isOutsideThisEl(t),e)do{if(e[Q]&&e[Q]._onDragOver({clientX:zt.clientX,clientY:zt.clientY,target:t,rootEl:e})&&!this.options.dragoverBubble)break;t=e}while(e=e.parentNode);Yt()}},_onTouchMove:function(t){if(Et){var e=this.options,i=e.fallbackTolerance,n=e.fallbackOffset,o=t.touches?t.touches[0]:t,r=ut&&F(ut,!0),s=ut&&r&&r.a,a=ut&&r&&r.d,l=Lt&&_t&&$(_t),u=(o.clientX-Et.clientX+n.x)/(s||1)+(l?l[0]-Ft[0]:0)/(s||1),h=(o.clientY-Et.clientY+n.y)/(a||1)+(l?l[1]-Ft[1]:0)/(a||1);if(!Zt.active&&!Dt){if(i&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<i)return;this._onDragStart(t,!0)}if(ut){r?(r.e+=u-(xt||0),r.f+=h-(It||0)):r={a:1,b:0,c:0,d:1,e:u,f:h};var c="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");W(ut,"webkitTransform",c),W(ut,"mozTransform",c),W(ut,"msTransform",c),W(ut,"transform",c),xt=u,It=h,zt=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!ut){var t=this.options.fallbackOnBody?document.body:ht,e=G(at,!0,Lt,!0,t),i=this.options;if(Lt){for(_t=t;"static"===W(_t,"position")&&"none"===W(_t,"transform")&&_t!==document;)_t=_t.parentNode;_t!==document.body&&_t!==document.documentElement?(_t===document&&(_t=P()),e.top+=_t.scrollTop,e.left+=_t.scrollLeft):_t=P(),Ft=$(_t)}N(ut=i.ghostClone(at),i.ghostClass,!1),N(ut,i.fallbackClass,!0),N(ut,i.dragClass,!0),W(ut,"transition",""),W(ut,"transform",""),W(ut,"box-sizing","border-box"),W(ut,"margin",0),W(ut,"top",e.top),W(ut,"left",e.left),W(ut,"width",e.width),W(ut,"height",e.height),W(ut,"opacity","0.8"),W(ut,"position",Lt?"absolute":"fixed"),W(ut,"zIndex","100000"),W(ut,"pointerEvents","none"),Zt.ghost=ut,t.appendChild(ut),W(ut,"transform-origin",St/parseInt(ut.style.width)*100+"% "+Ot/parseInt(ut.style.height)*100+"%")}},_onDragStart:function(t,e){var i=this,n=t.dataTransfer,o=i.options;rt("dragStart",this,{evt:t}),Zt.eventCanceled?this._onDrop():(rt("setupClone",this),Zt.eventCanceled||((dt=J(at)).removeAttribute("id"),dt.draggable=!1,dt.style["will-change"]="",this._hideClone(),N(dt,this.options.chosenClass,!1),Zt.clone=dt),i.cloneId=ie((function(){rt("clone",i),Zt.eventCanceled||(i.options.removeCloneOnHide||ht.insertBefore(dt,at),i._hideClone(),st({sortable:i,name:"clone"}))})),!e&&N(at,o.dragClass,!0),e?(At=!0,i._loopId=setInterval(i._emulateDragOver,50)):(T(document,"mouseup",i._onDrop),T(document,"touchend",i._onDrop),T(document,"touchcancel",i._onDrop),n&&(n.effectAllowed="move",o.setData&&o.setData.call(i,n,at)),M(document,"drop",i),W(at,"transform","translateZ(0)")),Dt=!0,i._dragStartId=ie(i._dragStarted.bind(i,e,t)),M(document,"selectstart",i),kt=!0,I&&W(document.body,"user-select","none"))},_onDragOver:function(t){var e,i,n,o,r=this.el,s=t.target,a=this.options,l=a.group,u=Zt.active,h=wt===l,c=a.sort,f=yt||u,d=this,m=!1;if(!Ht){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),s=D(s,a.draggable,r,!0),C("dragOver"),Zt.eventCanceled)return m;if(at.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||d._ignoreWhileAnimating===s)return A(!1);if(At=!1,u&&!a.disabled&&(h?c||(n=lt!==ht):yt===this||(this.lastPutMode=wt.checkPull(this,u,at,t))&&l.checkPut(this,u,at,t))){if(o="vertical"===this._getDirection(t,s),e=G(at),C("dragOverValid"),Zt.eventCanceled)return m;if(n)return lt=ht,_(),this._hideClone(),C("revert"),Zt.eventCanceled||(ct?ht.insertBefore(at,ct):ht.appendChild(at)),A(!0);var b=B(r,a.draggable);if(!b||function(t,e,i){var n=G(B(i.el,i.options.draggable));return e?t.clientX>n.right+10||t.clientX<=n.right&&t.clientY>n.bottom&&t.clientX>=n.left:t.clientX>n.right&&t.clientY>n.top||t.clientX<=n.right&&t.clientY>n.bottom+10}(t,o,this)&&!b.animated){if(b===at)return A(!1);if(b&&r===t.target&&(s=b),s&&(i=G(s)),!1!==qt(ht,r,at,e,s,i,t,!!s))return _(),b&&b.nextSibling?r.insertBefore(at,b.nextSibling):r.appendChild(at),lt=r,j(),A(!0)}else if(b&&function(t,e,i){var n=G(U(i.el,0,i.options,!0));return e?t.clientX<n.left-10||t.clientY<n.top&&t.clientX<n.right:t.clientY<n.top-10||t.clientY<n.bottom&&t.clientX<n.left}(t,o,this)){var p=U(r,0,a,!0);if(p===at)return A(!1);if(i=G(s=p),!1!==qt(ht,r,at,e,s,i,t,!1))return _(),r.insertBefore(at,p),lt=r,j(),A(!0)}else if(s.parentNode===r){i=G(s);var g,w,y,E=at.parentNode!==r,z=!function(t,e,i){var n=i?t.left:t.top,o=i?e.left:e.top;return n===o||(i?t.right:t.bottom)===(i?e.right:e.bottom)||n+(i?t.width:t.height)/2===o+(i?e.width:e.height)/2}(at.animated&&at.toRect||e,s.animated&&s.toRect||i,o),x=o?"top":"left",I=L(s,"top","top")||L(at,"top","top"),S=I?I.scrollTop:void 0;if(Mt!==s&&(w=i[x],Nt=!1,Wt=!z&&a.invertSwap||E),g=function(t,e,i,n,o,r,s,a){var l=n?t.clientY:t.clientX,u=n?i.height:i.width,h=n?i.top:i.left,c=n?i.bottom:i.right,f=!1;if(!s)if(a&&Ct<u*o){if(!Nt&&(1===Tt?l>h+u*r/2:l<c-u*r/2)&&(Nt=!0),Nt)f=!0;else if(1===Tt?l<h+Ct:l>c-Ct)return-Tt}else if(l>h+u*(1-o)/2&&l<c-u*(1-o)/2)return function(t){return K(at)<K(t)?1:-1}(e);return(f=f||s)&&(l<h+u*r/2||l>c-u*r/2)?l>h+u/2?1:-1:0}(t,s,i,o,z?1:a.swapThreshold,null==a.invertedSwapThreshold?a.swapThreshold:a.invertedSwapThreshold,Wt,Mt===s),0!==g){var O=K(at);do{y=lt.children[O-=g]}while(y&&("none"===W(y,"display")||y===ut))}if(0===g||y===s)return A(!1);Mt=s,Tt=g;var k=s.nextElementSibling,M=!1,T=qt(ht,r,at,e,s,i,t,M=1===g);if(!1!==T)return 1!==T&&-1!==T||(M=1===T),Ht=!0,setTimeout(te,30),_(),M&&!k?r.appendChild(at):s.parentNode.insertBefore(at,M?k:s),I&&V(I,0,S-I.scrollTop),lt=at.parentNode,void 0===w||Wt||(Ct=Math.abs(w-G(s)[x])),j(),A(!0)}if(r.contains(at))return A(!1)}return!1}function C(a,l){rt(a,d,v({evt:t,isOwner:h,axis:o?"vertical":"horizontal",revert:n,dragRect:e,targetRect:i,canSort:c,fromSortable:f,target:s,completed:A,onMove:function(i,n){return qt(ht,r,at,e,i,G(i),t,n)},changed:j},l))}function _(){C("dragOverAnimationCapture"),d.captureAnimationState(),d!==f&&f.captureAnimationState()}function A(e){return C("dragOverCompleted",{insertion:e}),e&&(h?u._hideClone():u._showClone(d),d!==f&&(N(at,yt?yt.options.ghostClass:u.options.ghostClass,!1),N(at,a.ghostClass,!0)),yt!==d&&d!==Zt.active?yt=d:d===Zt.active&&yt&&(yt=null),f===d&&(d._ignoreWhileAnimating=s),d.animateAll((function(){C("dragOverAnimationComplete"),d._ignoreWhileAnimating=null})),d!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(s===at&&!at.animated||s===r&&!s.animated)&&(Mt=null),a.dragoverBubble||t.rootEl||s===document||(at.parentNode[Q]._isOutsideThisEl(t.target),!e&&Vt(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),m=!0}function j(){bt=K(at),gt=K(at,a.draggable),st({sortable:d,name:"change",toEl:r,newIndex:bt,newDraggableIndex:gt,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){T(document,"mousemove",this._onTouchMove),T(document,"touchmove",this._onTouchMove),T(document,"pointermove",this._onTouchMove),T(document,"dragover",Vt),T(document,"mousemove",Vt),T(document,"touchmove",Vt)},_offUpEvents:function(){var t=this.el.ownerDocument;T(t,"mouseup",this._onDrop),T(t,"touchend",this._onDrop),T(t,"pointerup",this._onDrop),T(t,"touchcancel",this._onDrop),T(document,"selectstart",this)},_onDrop:function(t){var e=this.el,i=this.options;bt=K(at),gt=K(at,i.draggable),rt("drop",this,{evt:t}),lt=at&&at.parentNode,bt=K(at),gt=K(at,i.draggable),Zt.eventCanceled||(Dt=!1,Wt=!1,Nt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ne(this.cloneId),ne(this._dragStartId),this.nativeDraggable&&(T(document,"drop",this),T(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),I&&W(document.body,"user-select",""),W(at,"transform",""),t&&(kt&&(t.cancelable&&t.preventDefault(),!i.dropBubble&&t.stopPropagation()),ut&&ut.parentNode&&ut.parentNode.removeChild(ut),(ht===lt||yt&&"clone"!==yt.lastPutMode)&&dt&&dt.parentNode&&dt.parentNode.removeChild(dt),at&&(this.nativeDraggable&&T(at,"dragend",this),Qt(at),at.style["will-change"]="",kt&&!Dt&&N(at,yt?yt.options.ghostClass:this.options.ghostClass,!1),N(at,this.options.chosenClass,!1),st({sortable:this,name:"unchoose",toEl:lt,newIndex:null,newDraggableIndex:null,originalEvent:t}),ht!==lt?(bt>=0&&(st({rootEl:lt,name:"add",toEl:lt,fromEl:ht,originalEvent:t}),st({sortable:this,name:"remove",toEl:lt,originalEvent:t}),st({rootEl:lt,name:"sort",toEl:lt,fromEl:ht,originalEvent:t}),st({sortable:this,name:"sort",toEl:lt,originalEvent:t})),yt&&yt.save()):bt!==mt&&bt>=0&&(st({sortable:this,name:"update",toEl:lt,originalEvent:t}),st({sortable:this,name:"sort",toEl:lt,originalEvent:t})),Zt.active&&(null!=bt&&-1!==bt||(bt=mt,gt=pt),st({sortable:this,name:"end",toEl:lt,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){rt("nulling",this),ht=at=lt=ut=ct=dt=ft=vt=Et=zt=kt=bt=gt=mt=pt=Mt=Tt=yt=wt=Zt.dragged=Zt.ghost=Zt.clone=Zt.active=null,Pt.forEach((function(t){t.checked=!0})),Pt.length=xt=It=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":at&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,e=[],i=this.el.children,n=0,o=i.length,r=this.options;n<o;n++)D(t=i[n],r.draggable,this.el,!1)&&e.push(t.getAttribute(r.dataIdAttr)||ee(t));return e},sort:function(t,e){var i={},n=this.el;this.toArray().forEach((function(t,e){var o=n.children[e];D(o,this.options.draggable,n,!1)&&(i[t]=o)}),this),e&&this.captureAnimationState(),t.forEach((function(t){i[t]&&(n.removeChild(i[t]),n.appendChild(i[t]))})),e&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return D(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var i=this.options;if(void 0===e)return i[t];var n=it.modifyOption(this,t,e);i[t]=void 0!==n?n:e,"group"===t&&Rt(i)},destroy:function(){rt("destroy",this);var t=this.el;t[Q]=null,T(t,"mousedown",this._onTapStart),T(t,"touchstart",this._onTapStart),T(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(T(t,"dragover",this),T(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),jt.splice(jt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!vt){if(rt("hideClone",this),Zt.eventCanceled)return;W(dt,"display","none"),this.options.removeCloneOnHide&&dt.parentNode&&dt.parentNode.removeChild(dt),vt=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(vt){if(rt("showClone",this),Zt.eventCanceled)return;at.parentNode!=ht||this.options.group.revertClone?ct?ht.insertBefore(dt,ct):ht.appendChild(dt):ht.insertBefore(dt,at),this.options.group.revertClone&&this.animate(at,dt),W(dt,"display",""),vt=!1}}else this._hideClone()}},Gt&&M(document,"touchmove",(function(t){(Zt.active||Dt)&&t.cancelable&&t.preventDefault()})),Zt.utils={on:M,off:T,css:W,find:H,is:function(t,e){return!!D(t,e,t,!1)},extend:function(t,e){if(t&&e)for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t},throttle:Y,closest:D,toggleClass:N,clone:J,index:K,nextTick:ie,cancelNextTick:ne,detectDirection:$t,getChild:U},Zt.get=function(t){return t[Q]},Zt.mount=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e[0].constructor===Array&&(e=e[0]),e.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Zt.utils=v(v({},Zt.utils),t.utils)),it.mount(t)}))},Zt.create=function(t,e){return new Zt(t,e)},Zt.version="1.15.0";var oe,re,se,ae,le,ue,he=[],ce=!1;function fe(){he.forEach((function(t){clearInterval(t.pid)})),he=[]}function de(){clearInterval(ue)}var ve,me=Y((function(t,e,i,n){if(e.scroll){var o,r=(t.touches?t.touches[0]:t).clientX,s=(t.touches?t.touches[0]:t).clientY,a=e.scrollSensitivity,l=e.scrollSpeed,u=P(),h=!1;re!==i&&(re=i,fe(),o=e.scrollFn,!0===(oe=e.scroll)&&(oe=R(i,!0)));var c=0,f=oe;do{var d=f,v=G(d),m=v.top,b=v.bottom,p=v.left,g=v.right,w=v.width,y=v.height,E=void 0,z=void 0,x=d.scrollWidth,I=d.scrollHeight,S=W(d),O=d.scrollLeft,k=d.scrollTop;d===u?(E=w<x&&("auto"===S.overflowX||"scroll"===S.overflowX||"visible"===S.overflowX),z=y<I&&("auto"===S.overflowY||"scroll"===S.overflowY||"visible"===S.overflowY)):(E=w<x&&("auto"===S.overflowX||"scroll"===S.overflowX),z=y<I&&("auto"===S.overflowY||"scroll"===S.overflowY));var M=E&&(Math.abs(g-r)<=a&&O+w<x)-(Math.abs(p-r)<=a&&!!O),T=z&&(Math.abs(b-s)<=a&&k+y<I)-(Math.abs(m-s)<=a&&!!k);if(!he[c])for(var C=0;C<=c;C++)he[C]||(he[C]={});he[c].vx==M&&he[c].vy==T&&he[c].el===d||(he[c].el=d,he[c].vx=M,he[c].vy=T,clearInterval(he[c].pid),0==M&&0==T||(h=!0,he[c].pid=setInterval(function(){n&&0===this.layer&&Zt.active._onTouchMove(le);var e=he[this.layer].vy?he[this.layer].vy*l:0,i=he[this.layer].vx?he[this.layer].vx*l:0;"function"==typeof o&&"continue"!==o.call(Zt.dragged.parentNode[Q],i,e,t,le,he[this.layer].el)||V(he[this.layer].el,i,e)}.bind({layer:c}),24))),c++}while(e.bubbleScroll&&f!==u&&(f=R(f,!1)));ce=h}}),30),be=function(t){var e=t.originalEvent,i=t.putSortable,n=t.dragEl,o=t.dispatchSortableEvent,r=t.unhideGhostForTarget;if(e){var s=i||t.activeSortable;(0,t.hideGhostForTarget)();var a=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,l=document.elementFromPoint(a.clientX,a.clientY);r(),s&&!s.el.contains(l)&&(o("spill"),this.onSpill({dragEl:n,putSortable:i}))}};function pe(){}function ge(){}pe.prototype={startIndex:null,dragStart:function(t){this.startIndex=t.oldDraggableIndex},onSpill:function(t){var e=t.dragEl,i=t.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var n=U(this.sortable.el,this.startIndex,this.options);n?this.sortable.el.insertBefore(e,n):this.sortable.el.appendChild(e),this.sortable.animateAll(),i&&i.animateAll()},drop:be},p(pe,{pluginName:"revertOnSpill"}),ge.prototype={onSpill:function(t){var e=t.dragEl,i=t.putSortable||this.sortable;i.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),i.animateAll()},drop:be},p(ge,{pluginName:"removeOnSpill"});var we,ye,Ee,ze,xe,Ie=[],Se=[],Oe=!1,ke=!1,Me=!1;function Te(t,e){Se.forEach((function(i,n){var o=e.children[i.sortableIndex+(t?Number(n):0)];o?e.insertBefore(i,o):e.appendChild(i)}))}function Ce(){Ie.forEach((function(t){t!==Ee&&t.parentNode&&t.parentNode.removeChild(t)}))}Zt.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?M(document,"dragover",this._handleAutoScroll):M(document,this.options.supportPointer?"pointermove":e.touches?"touchmove":"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;this.options.dragOverBubble||e.rootEl||this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?T(document,"dragover",this._handleAutoScroll):(T(document,"pointermove",this._handleFallbackAutoScroll),T(document,"touchmove",this._handleFallbackAutoScroll),T(document,"mousemove",this._handleFallbackAutoScroll)),de(),fe(),clearTimeout(A),A=void 0},nulling:function(){le=re=oe=ce=ue=se=ae=null,he.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var i=this,n=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,r=document.elementFromPoint(n,o);if(le=t,e||this.options.forceAutoScrollFallback||z||E||I){me(t,this.options,r,e);var s=R(r,!0);!ce||ue&&n===se&&o===ae||(ue&&de(),ue=setInterval((function(){var r=R(document.elementFromPoint(n,o),!0);r!==s&&(s=r,fe()),me(t,i.options,r,e)}),10),se=n,ae=o)}else{if(!this.options.bubbleScroll||R(r,!0)===P())return void fe();me(t,this.options,R(r,!1),!1)}}},p(t,{pluginName:"scroll",initializeByDefault:!0})}),Zt.mount(ge,pe),Zt.mount(new function(){function t(){this.defaults={swapClass:"sortable-swap-highlight"}}return t.prototype={dragStart:function(t){ve=t.dragEl},dragOverValid:function(t){var e=t.completed,i=t.target,n=t.changed,o=t.cancel;if(t.activeSortable.options.swap){var r=this.options;if(i&&i!==this.sortable.el){var s=ve;!1!==(0,t.onMove)(i)?(N(i,r.swapClass,!0),ve=i):ve=null,s&&s!==ve&&N(s,r.swapClass,!1)}n(),e(!0),o()}},drop:function(t){var e,i,n,o,r,s,a=t.activeSortable,l=t.putSortable,u=t.dragEl,h=l||this.sortable,c=this.options;ve&&N(ve,c.swapClass,!1),ve&&(c.swap||l&&l.options.swap)&&u!==ve&&(h.captureAnimationState(),h!==a&&a.captureAnimationState(),s=(i=ve).parentNode,(r=(e=u).parentNode)&&s&&!r.isEqualNode(i)&&!s.isEqualNode(e)&&(n=K(e),o=K(i),r.isEqualNode(s)&&n<o&&o++,r.insertBefore(i,r.children[n]),s.insertBefore(e,s.children[o])),h.animateAll(),h!==a&&a.animateAll())},nulling:function(){ve=null}},p(t,{pluginName:"swap",eventProperties:function(){return{swapItem:ve}}})}),Zt.mount(new function(){function t(t){for(var e in this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this));t.options.avoidImplicitDeselect||(t.options.supportPointer?M(document,"pointerup",this._deselectMultiDrag):(M(document,"mouseup",this._deselectMultiDrag),M(document,"touchend",this._deselectMultiDrag))),M(document,"keydown",this._checkKeyDown),M(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,avoidImplicitDeselect:!1,setData:function(e,i){var n="";Ie.length&&ye===t?Ie.forEach((function(t,e){n+=(e?", ":"")+t.textContent})):n=i.textContent,e.setData("Text",n)}}}return t.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(t){Ee=t.dragEl},delayEnded:function(){this.isMultiDrag=~Ie.indexOf(Ee)},setupClone:function(t){var e=t.sortable,i=t.cancel;if(this.isMultiDrag){for(var n=0;n<Ie.length;n++)Se.push(J(Ie[n])),Se[n].sortableIndex=Ie[n].sortableIndex,Se[n].draggable=!1,Se[n].style["will-change"]="",N(Se[n],this.options.selectedClass,!1),Ie[n]===Ee&&N(Se[n],this.options.chosenClass,!1);e._hideClone(),i()}},clone:function(t){var e=t.dispatchSortableEvent,i=t.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||Ie.length&&ye===t.sortable&&(Te(!0,t.rootEl),e("clone"),i()))},showClone:function(t){var e=t.cloneNowShown,i=t.cancel;this.isMultiDrag&&(Te(!1,t.rootEl),Se.forEach((function(t){W(t,"display","")})),e(),xe=!1,i())},hideClone:function(t){var e=this,i=t.cloneNowHidden,n=t.cancel;this.isMultiDrag&&(Se.forEach((function(t){W(t,"display","none"),e.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)})),i(),xe=!0,n())},dragStartGlobal:function(){!this.isMultiDrag&&ye&&ye.multiDrag._deselectMultiDrag(),Ie.forEach((function(t){t.sortableIndex=K(t)})),Ie=Ie.sort((function(t,e){return t.sortableIndex-e.sortableIndex})),Me=!0},dragStarted:function(t){var e=this,i=t.sortable;if(this.isMultiDrag){if(this.options.sort&&(i.captureAnimationState(),this.options.animation)){Ie.forEach((function(t){t!==Ee&&W(t,"position","absolute")}));var n=G(Ee,!1,!0,!0);Ie.forEach((function(t){t!==Ee&&Z(t,n)})),ke=!0,Oe=!0}i.animateAll((function(){ke=!1,Oe=!1,e.options.animation&&Ie.forEach((function(t){q(t)})),e.options.sort&&Ce()}))}},dragOver:function(t){var e=t.completed,i=t.cancel;ke&&~Ie.indexOf(t.target)&&(e(!1),i())},revert:function(t){var e=t.fromSortable,i=t.rootEl,n=t.sortable,o=t.dragRect;Ie.length>1&&(Ie.forEach((function(t){n.addAnimationState({target:t,rect:ke?G(t):o}),q(t),t.fromRect=o,e.removeAnimationState(t)})),ke=!1,function(t,e){Ie.forEach((function(i,n){var o=e.children[i.sortableIndex+(t?Number(n):0)];o?e.insertBefore(i,o):e.appendChild(i)}))}(!this.options.removeCloneOnHide,i))},dragOverCompleted:function(t){var e=t.sortable,i=t.isOwner,n=t.activeSortable,o=t.parentEl,r=t.putSortable,s=this.options;if(t.insertion){if(i&&n._hideClone(),Oe=!1,s.animation&&Ie.length>1&&(ke||!i&&!n.options.sort&&!r)){var a=G(Ee,!1,!0,!0);Ie.forEach((function(t){t!==Ee&&(Z(t,a),o.appendChild(t))})),ke=!0}if(!i)if(ke||Ce(),Ie.length>1){var l=xe;n._showClone(e),n.options.animation&&!xe&&l&&Se.forEach((function(t){n.addAnimationState({target:t,rect:ze}),t.fromRect=ze,t.thisAnimationDuration=null}))}else n._showClone(e)}},dragOverAnimationCapture:function(t){var e=t.dragRect,i=t.isOwner,n=t.activeSortable;if(Ie.forEach((function(t){t.thisAnimationDuration=null})),n.options.animation&&!i&&n.multiDrag.isMultiDrag){ze=p({},e);var o=F(Ee,!0);ze.top-=o.f,ze.left-=o.e}},dragOverAnimationComplete:function(){ke&&(ke=!1,Ce())},drop:function(t){var e=t.originalEvent,i=t.rootEl,n=t.parentEl,o=t.sortable,r=t.dispatchSortableEvent,s=t.oldIndex,a=t.putSortable,l=a||this.sortable;if(e){var u=this.options,h=n.children;if(!Me)if(u.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),N(Ee,u.selectedClass,!~Ie.indexOf(Ee)),~Ie.indexOf(Ee))Ie.splice(Ie.indexOf(Ee),1),we=null,nt({sortable:o,rootEl:i,name:"deselect",targetEl:Ee,originalEvent:e});else{if(Ie.push(Ee),nt({sortable:o,rootEl:i,name:"select",targetEl:Ee,originalEvent:e}),e.shiftKey&&we&&o.el.contains(we)){var c,f,d=K(we),v=K(Ee);if(~d&&~v&&d!==v)for(v>d?(f=d,c=v):(f=v,c=d+1);f<c;f++)~Ie.indexOf(h[f])||(N(h[f],u.selectedClass,!0),Ie.push(h[f]),nt({sortable:o,rootEl:i,name:"select",targetEl:h[f],originalEvent:e}))}else we=Ee;ye=l}if(Me&&this.isMultiDrag){if(ke=!1,(n[Q].options.sort||n!==i)&&Ie.length>1){var m=G(Ee),b=K(Ee,":not(."+this.options.selectedClass+")");if(!Oe&&u.animation&&(Ee.thisAnimationDuration=null),l.captureAnimationState(),!Oe&&(u.animation&&(Ee.fromRect=m,Ie.forEach((function(t){if(t.thisAnimationDuration=null,t!==Ee){var e=ke?G(t):m;t.fromRect=e,l.addAnimationState({target:t,rect:e})}}))),Ce(),Ie.forEach((function(t){h[b]?n.insertBefore(t,h[b]):n.appendChild(t),b++})),s===K(Ee))){var p=!1;Ie.forEach((function(t){t.sortableIndex===K(t)||(p=!0)})),p&&r("update")}Ie.forEach((function(t){q(t)})),l.animateAll()}ye=l}(i===n||a&&"clone"!==a.lastPutMode)&&Se.forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)}))}},nullingGlobal:function(){this.isMultiDrag=Me=!1,Se.length=0},destroyGlobal:function(){this._deselectMultiDrag(),T(document,"pointerup",this._deselectMultiDrag),T(document,"mouseup",this._deselectMultiDrag),T(document,"touchend",this._deselectMultiDrag),T(document,"keydown",this._checkKeyDown),T(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(!(void 0!==Me&&Me||ye!==this.sortable||t&&D(t.target,this.options.draggable,this.sortable.el,!1)||t&&0!==t.button))for(;Ie.length;){var e=Ie[0];N(e,this.options.selectedClass,!1),Ie.shift(),nt({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvent:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},p(t,{pluginName:"multiDrag",utils:{select:function(t){var e=t.parentNode[Q];e&&e.options.multiDrag&&!~Ie.indexOf(t)&&(ye&&ye!==e&&(ye.multiDrag._deselectMultiDrag(),ye=e),N(t,e.options.selectedClass,!0),Ie.push(t))},deselect:function(t){var e=t.parentNode[Q],i=Ie.indexOf(t);e&&e.options.multiDrag&&~i&&(N(t,e.options.selectedClass,!1),Ie.splice(i,1))}},eventProperties:function(){var t,e=this,i=[],n=[];return Ie.forEach((function(t){var o;i.push({multiDragElement:t,index:t.sortableIndex}),o=ke&&t!==Ee?-1:ke?K(t,":not(."+e.options.selectedClass+")"):K(t),n.push({multiDragElement:t,index:o})})),{items:(t=Ie,function(t){if(Array.isArray(t))return w(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return w(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?w(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),clones:[].concat(Se),oldIndicies:i,newIndicies:n}},optionListeners:{multiDragKey:function(t){return"ctrl"===(t=t.toLowerCase())?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t}}})});const _e="is-sortable-item",De="is-selected",Ae="has-item-selected";let je=0;const Ne=class{constructor(i){t(this,i),this.stzhUpdate=e(this,"stzhUpdate",7),this.stzhDisable=e(this,"stzhDisable",7),this.selectedItem=null,this.resetItemOnBlur=!1,this.init=()=>{this.getContainer()&&!this.disabled&&this.setAttributes()},this.updated=async t=>{let e,i,n;t?(e=t.newIndex,i=t.oldIndex,n=t.item):(e=this.getIndexOfSelectedItem(),i=this.lastIndex,n=this.selectedItem),e!==i&&this.stzhUpdate.emit({component:"stzh-sortable",data:await this.toArray(),item:n,newIndex:e,oldIndex:i})},this.onKeydown=t=>{const e=t.currentTarget,i=t.target;this.getContainer()&&!this.disabled&&e===i&&(" "===t.key?(t.preventDefault(),this.selectedItem?(this.resetItemOnBlur=!1,this.updateAriaLive(this.localization.dropped),this.updated(),this.resetActiveItem()):(this.selectedItem=e,this.selectedItem.parentElement.classList.add(Ae),this.selectedItem.classList.add(De),this.lastIndex=this.getIndexOfSelectedItem(),this.resetItemOnBlur=!0,this.updateAriaLive(this.localization.started))):"Tab"===t.key&&this.selectedItem&&this.selectedItem===t.currentTarget?t.preventDefault():"Escape"===t.key&&this.selectedItem?(this.resetItemOnBlur=!1,this.updateAriaLive(this.localization.canceled),this.resetActiveItem(!0)):"ArrowUp"===t.key?(t.preventDefault(),this.selectedItem?this.moveItem(this.selectedItem,"up"):this.focusItem(e.previousElementSibling)):"ArrowDown"===t.key&&(t.preventDefault(),this.selectedItem?this.moveItem(this.selectedItem,"down"):this.focusItem(e.nextElementSibling)))},this.onBlur=()=>{this.resetItemOnBlur&&(this.resetItemOnBlur=!1,this.updateAriaLive(this.localization.dropped),this.updated(),this.resetActiveItem())},this.localization=void 0,this.disabled=!1,this.dataIdAttribute="data-id",this.container=()=>{var t;return null===(t=this.containerElement)||void 0===t?void 0:t.firstElementChild},this.ghostClone=t=>{const[e]=r(t);return e},this.filterElements=["[data-stzh-sortable-filtered]","[sortable-disabled]","button","a[href]","input","select","textarea","label","iframe","details","area","stzh-sortable"]}async toArray(){return this.sortable.toArray()}async sort(t,e=!0){return this.sortable.sort(t,e)}async moveItem(t,e){var i;if(!t||!t.nextElementSibling&&"down"===e||!t.previousElementSibling&&"up"===e)return;this.resetItemOnBlur=!1,"up"===e?t.previousElementSibling.before(t):"down"===e&&t.nextElementSibling.after(t),this.updateAriaLive(this.localization.moved,t),this.focusItem(t);const n=Array.from(null===(i=t.parentElement)||void 0===i?void 0:i.children).indexOf(t);this.stzhUpdate.emit({component:"stzh-sortable",data:await this.toArray(),item:t,newIndex:n,oldIndex:n+("up"===e?1:-1)}),this.resetItemOnBlur=!0}disabledWatcher(t){t?this.setAttributes():this.unsetAttributes(),this.stzhDisable.emit({component:"stzh-sortable",disabled:t})}filterElementsWatcher(t){this._filterElements="string"==typeof t?JSON.parse(t):t}getContainer(){return"function"==typeof this.container?this.container():this.container}updateAriaLive(t,e=this.selectedItem){if(!this.getContainer())return;if(e){const i=e.getAttribute("aria-label")||"",n=this.getIndexOfSelectedItem(e);t=t.replace("{title}",i).replace("{current}",(n+1).toString())}const i=this.getContainer().children.length;t=t.replace("{total}",i.toString()),this.ariaLiveElement.textContent=t}getIndexOfSelectedItem(t=this.selectedItem){if(t)return Array.from(t.parentElement.children).indexOf(t)}resetActiveItem(t=!1){if(!this.selectedItem)return;const e=this.getIndexOfSelectedItem(),i=this.selectedItem.parentElement;t&&this.lastIndex!==e&&(this.lastIndex>e?i.children[this.lastIndex].after(this.selectedItem):i.children[this.lastIndex].before(this.selectedItem),this.selectedItem.focus()),i.classList.remove(Ae),this.selectedItem.classList.remove(De),this.selectedItem=null,this.lastIndex=null}focusItem(t){if(!t)return;t.focus();const e=document.querySelector("stzh-flyingfocus");e&&e.reposition(),function(t,e){let i=t.isConnected||t.ownerDocument.documentElement.contains(t);if((t=>"object"==typeof t&&"function"==typeof t.behavior)(e))return e.behavior(i?f(t,e):[]);if(!i)return;let n=(t=>!1===t?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&0!==Object.keys(t).length)(t)?t:{block:"start",inline:"nearest"})(e),o=f(t,n),r="scrollBehavior"in document.body.style;o.forEach((t=>{let{el:e,top:i,left:o}=t;e.scroll&&r?e.scroll({top:i,left:o,behavior:n.behavior}):(e.scrollTop=i,e.scrollLeft=o)}))}(t,{scrollMode:"if-needed",block:"nearest",inline:"nearest"})}setAttributes(){Array.from(this.getContainer().children).forEach((t=>{t.classList.add(_e),t.addEventListener("blur",this.onBlur),t.addEventListener("keydown",this.onKeydown),t.setAttribute("tabindex","0"),t.setAttribute("aria-describedby",`${this.sortableId}-description`)}))}unsetAttributes(){Array.from(this.getContainer().children).forEach((t=>{t.classList.remove(_e),t.removeEventListener("blur",this.onBlur),t.removeEventListener("keydown",this.onKeydown),t.removeAttribute("tabindex"),t.removeAttribute("aria-describedby")}))}async componentWillLoad(){this.sortableId="stzh-sortable-"+je++,this.filterElementsWatcher(this.filterElements),this.localization||(this.localization=await s(this.element,"sortable"))}componentWillUpdate(){this.sortable&&(this.sortable.destroy(),this.sortable=null)}componentDidRender(){this.sortable||(this.sortable=new Zt(this.getContainer(),{animation:150,filter:this._filterElements.join(", "),ghostClass:"is-ghost",chosenClass:"is-chosen",dragClass:"is-drag",dataIdAttr:this.dataIdAttribute,preventOnFilter:!1,forceFallback:!0,delay:200,delayOnTouchOnly:!0,disabled:this.disabled,ghostClone:this.ghostClone,onUpdate:this.updated}))}connectedCallback(){this.init(),this.observer=new MutationObserver(this.init),this.observer.observe(this.element,{childList:!0,subtree:!0})}disconnectedCallback(){this.observer&&this.observer.disconnect(),this.unsetAttributes(),this.sortable&&(this.sortable.destroy(),this.sortable=null)}render(){return i(n,null,i("div",{class:{"stzh-sortable":!0,"stzh-sortable--disabled":this.disabled}},i("div",{id:`${this.sortableId}-description`,class:"stzh-sortable__description"},this.localization.description),i("div",{ref:t=>this.ariaLiveElement=t,"aria-live":"assertive",class:"stzh-sortable__aria-live"}),i("div",{ref:t=>this.containerElement=t,class:"stzh-sortable__container"},i("slot",null))))}get element(){return o(this)}static get watchers(){return{disabled:["disabledWatcher"],filterElements:["filterElementsWatcher"]}}};Ne.style='.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;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.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}';export{Ne as stzh_sortable}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,s,i){function r(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,o){function l(e){try{n(i.next(e))}catch(t){o(t)}}function a(e){try{n(i["throw"](e))}catch(t){o(t)}}function n(e){e.done?s(e.value):r(e.value).then(l,a)}n((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var s={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,r,o,l;return l={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function a(e){return function(t){return n([e,t])}}function n(a){if(i)throw new TypeError("Generator is already executing.");while(l&&(l=0,a[0]&&(s=0)),s)try{if(i=1,r&&(o=a[0]&2?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;if(r=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:s.label++;return{value:a[1],done:false};case 5:s.label++;r=a[1];a=[0];continue;case 7:a=s.ops.pop();s.trys.pop();continue;default:if(!(o=s.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){s=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(a[0]===6&&s.label<o[1]){s.label=o[1];o=a;break}if(o&&s.label<o[2]){s.label=o[2];s.ops.push(a);break}if(o[2])s.ops.pop();s.trys.pop();continue}a=t.call(e,s)}catch(n){a=[6,n];r=0}finally{i=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-36e72c1d.system.js","./p-d4b7a303.system.js","./p-a408bfba.system.js","./p-176db2fe.system.js"],(function(e){"use strict";var t,s,i,r,o,l,a,n,c,u;return{setters:[function(e){t=e.r;s=e.e;i=e.h;r=e.c;o=e.g},function(e){l=e.i},function(e){a=e.f},function(e){n=e.a;c=e.r;u=e.m}],execute:function(){var h=".sc-stzh-carousel-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-carousel-h{display:none}.sc-stzh-carousel-h *.sc-stzh-carousel,.sc-stzh-carousel-h *.sc-stzh-carousel::before,.sc-stzh-carousel-h *.sc-stzh-carousel::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-carousel-h{--peek:calc(var(--peek-in, 0px) + var(--peek-out, 0px));--peek-out:1.25rem;--padding-top:0px;--padding-bottom:0px;--gutter:var(--stzh-space-xxxsmall);--snap-stop:always;--slides:1;--slide-size:calc((100% - (var(--slides) - 1) * var(--gutter)) / var(--slides))}@media screen and (min-width: 600px){.sc-stzh-carousel-h{--peek-out:0px}}[variant=cards].sc-stzh-carousel-h{--padding-top:0.25rem;--padding-bottom:0.25rem;--gutter:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){[variant=cards].sc-stzh-carousel-h{--peek-out:2rem}}@media screen and (min-width: 1024px){[variant=cards].sc-stzh-carousel-h{--peek-out:2.5rem;--gutter:var(--stzh-space-small)}}@media screen and (min-width: 1260px){[variant=cards].sc-stzh-carousel-h{--peek-out:5.5rem;--gutter:var(--stzh-space-medium)}}@media screen and (min-width: 1440px){[variant=cards].sc-stzh-carousel-h{--peek-out:calc((100vw - 78.75rem - var(--stzh-scrollbar-width, 0px)) / 2)}}.sc-stzh-carousel-h .sc-stzh-carousel-s>*{width:100%;height:100%;-ms-flex-negative:0;flex-shrink:0;scroll-snap-align:start;scroll-snap-stop:var(--snap-stop)}.sc-stzh-carousel-h .sc-stzh-carousel-s img{-webkit-user-drag:none;user-drag:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions]{position:absolute;top:0;left:0;z-index:1;pointer-events:none;padding:0 var(--peek)}.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] stzh-text{width:auto}.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] stzh-button{pointer-events:all}.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-space,.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-hspace,.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-vspace{padding:var(--stzh-space-xsmall)}.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions]{--background-color:transparent}.sc-stzh-carousel-h[variant=cards] .sc-stzh-carousel-s>[slot=actions]{position:relative;-ms-flex-order:1;order:1;margin-top:calc(var(--stzh-space-medium) - var(--padding-bottom))}.stzh-carousel.sc-stzh-carousel{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:calc(100% + var(--peek-out) * 2);margin-left:calc(var(--peek-out) / -1);margin-right:calc(var(--peek-out) / -1)}.stzh-carousel__vhidden.sc-stzh-carousel{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-carousel__scroll.sc-stzh-carousel{position:relative;grid-area:slides;display:grid;width:100%;height:100%;place-items:center;overflow-x:auto;overflow-y:visible;grid-auto-flow:column;grid-auto-columns:var(--slide-size);grid-auto-rows:100%;-moz-column-gap:var(--gutter);-webkit-column-gap:var(--gutter);column-gap:var(--gutter);-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth;overscroll-behavior-x:contain;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scroll-padding:0 var(--peek);padding:var(--padding-top) var(--peek) var(--padding-bottom)}@media (prefers-reduced-motion: reduce){.stzh-carousel__scroll.sc-stzh-carousel{scroll-behavior:auto}}.stzh-carousel__scroll.sc-stzh-carousel::-webkit-scrollbar{display:none}.stzh-carousel--is-draggable.sc-stzh-carousel .stzh-carousel__scroll.sc-stzh-carousel{cursor:-webkit-grab;cursor:grab}.stzh-carousel--is-dragging.sc-stzh-carousel .stzh-carousel__scroll.sc-stzh-carousel{cursor:-webkit-grabbing;cursor:grabbing}.stzh-carousel--is-disabled.sc-stzh-carousel .stzh-carousel__scroll.sc-stzh-carousel{cursor:not-allowed;overflow:hidden}";var d=window.matchMedia("(prefers-reduced-motion: reduce)");var p=0;var v=e("stzh_carousel",function(){function e(e){var i=this;t(this,e);this.stzhSlideStart=s(this,"stzhSlideStart",7);this.stzhSlidePassed=s(this,"stzhSlidePassed",7);this.stzhSlideEnd=s(this,"stzhSlideEnd",7);this.slideScrollLeft=0;this.scrolledByAutoplay=false;this.scrollTimeoutId=null;this.lastX=null;this.startX=null;this.startScrollLeft=null;this.disableTimeoutId=null;this.stoppedDragging=false;this.onReducedMotionMediaChange=function(){i.autoplayDisabledByMotionMedia=d.matches};this.onMouseenter=function(){i.autoplayDisabledByMouse=true};this.onMouseleave=function(){i.autoplayDisabledByMouse=false};this.onFocusin=function(){i.autoplayDisabledByFocus=true};this.onFocusout=function(){i.autoplayDisabledByFocus=false};this.onPreviousClick=function(){i.scrollToPreviousSnapPoint()};this.onNextClick=function(){i.scrollToNextSnapPoint()};this.onSlideResize=function(){if(i.scrollElement){i.itemSize=i.sizingMethod()}};this.onMutation=function(){if(!i.scrollElement){return}i.slideElements=Array.from(i.scrollElement.children);i.slideElements.forEach((function(e,t){e.setAttribute("role","group");e.setAttribute("aria-roledescription","slide");e.setAttribute("aria-label",i.localization.slideLabel.replace(/\{current\}/gi,(t+1).toString()).replace(/\{total\}/gi,i.slideElements.length.toString()))}));i.previousElements=Array.from(i.element.querySelectorAll("[data-stzh-carousel-previous]"));i.nextElements=Array.from(i.element.querySelectorAll("[data-stzh-carousel-next]"));i.navigationTextElements=Array.from(i.element.querySelectorAll("[data-stzh-carousel-navigation-text]"))};this.onScroll=function(){if(i.scrollTimeoutId===null){var e=i.scrollElement.scrollLeft>i.slideScrollLeft?1:-1;i.scrolling=true;if(!i.scrolledByAutoplay){i.autoplay=false}i.stzhSlideStart.emit({component:"stzh-carousel",index:i.slide+e})}if(i.slide!==i.calculateSlide()){i.update();i.stzhSlidePassed.emit({component:"stzh-carousel",index:i.slide})}i.scrollTimeoutId&&window.clearTimeout(i.scrollTimeoutId);i.scrollTimeoutId=window.setTimeout(i.onScrollEnd,i.scrollTimeout)};this.onScrollEnd=function(){i.scrollTimeoutId=null;i.update();i.scrolling=false;i.scrolledByAutoplay=false;if(i.stoppedDragging){i.stoppedDragging=false;i.scrollElement.style.removeProperty("scroll-behavior");i.scrollElement.style.removeProperty("scroll-snap-type")}if(i.tabThrough||i.variant==="cards"){i.ariaLive=""}else{i.ariaLive=(i.currentSlides>1?i.localization.slidesLabel:i.localization.slideLabel).replace(/\{(current|from)\}/gi,(i.slide+1).toString()).replace(/\{to\}/gi,(i.slide+i.currentSlides).toString()).replace(/\{total\}/gi,i.slideElements.length.toString())}i.stzhSlideEnd.emit({component:"stzh-carousel",index:i.slide})};this.onMediaChange=function(){var e=u("ultra").matches;var t=u("large").matches;var s=u("medium").matches;var r=u("small").matches;if(e&&i.slidesUltra!==0){i.currentSlides=i.slidesUltra}else if(t&&i.slidesLarge!==0){i.currentSlides=i.slidesLarge}else if(s&&i.slidesMedium!==0){i.currentSlides=i.slidesMedium}else if(r&&i.slidesSmall!==0){i.currentSlides=i.slidesSmall}else{i.currentSlides=i.slides}i.currentSwipeSlides=i.currentSlides};this.mouseMove=function(e){var t=i.lastX-e.clientX;i.lastX=e.clientX;i.scrollElement.scrollLeft+=t};this.startDragging=function(e){e.preventDefault();i.disableTimeoutId&&window.clearTimeout(i.disableTimeoutId);i.disableTimeoutId=null;i.startX=i.lastX=e.clientX;i.startScrollLeft=i.scrollElement.scrollLeft;i.scrollElement.style.setProperty("scroll-behavior","auto");i.scrollElement.style.setProperty("scroll-snap-type","unset");i.dragging=true;i.autoplay=false;window.addEventListener("mousemove",i.mouseMove);window.addEventListener("mouseup",i.stopDragging,{capture:true});window.addEventListener("click",i.checkClick,{capture:true})};this.stopDragging=function(e){e.preventDefault();var t=Math.abs(i.startX-i.lastX);var s=t>i.distanceQuickSwipe;var r=i.lastX>i.startX?1:-1;i.dragging=false;var o=i.scrollElement.scrollLeft;i.scrollElement.style.removeProperty("scroll-snap-type");var l=i.scrollElement.scrollLeft;i.scrollElement.style.setProperty("scroll-snap-type","unset");i.scrollElement.scrollTo({left:o,behavior:"auto"});if(l!==i.startScrollLeft||!s){i.scrollElement.scrollTo({left:l,behavior:d.matches?"auto":"smooth"})}else if(r===1){i.slideToPrevious()}else{i.slideToNext()}window.removeEventListener("mousemove",i.mouseMove);window.removeEventListener("mouseup",i.stopDragging,{capture:true});i.stoppedDragging=true};this.checkClick=function(e){var t=Math.abs(i.startX-i.lastX);var s=t>i.distancePreventClick;if(s){e.preventDefault()}i.lastX=null;window.removeEventListener("click",i.checkClick,{capture:true})};this.autoplayInterval=function(){i.scrolledByAutoplay=true;if(i.hasReachedLastSlide()){i.slideTo(0)}else{i.slideToNext()}};this.localization=undefined;this.variant="default";this.disabled=false;this.slides=1;this.slidesSmall=0;this.slidesMedium=0;this.slidesLarge=0;this.slidesUltra=0;this.slide=0;this.autoplay=false;this.tabThrough=false;this.preventMouseDrag=false;this.scrollTimeout=100;this.autoplayTimeout=3e3;this.distanceQuickSwipe=40;this.distancePreventClick=6;this.autoplayRunning=false;this.autoplayDisabledByMotionMedia=false;this.autoplayDisabledByMouse=false;this.autoplayDisabledByFocus=false;this.dragging=false;this.scrolling=false;this.ariaLive="";this.currentSlides=1;this.currentSwipeSlides=1;this.slideElements=[];this.previousElements=[];this.nextElements=[];this.navigationTextElements=[]}e.prototype.slideTo=function(e,t){if(t===void 0){t="smooth"}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(s){this.scrollToSlide(e,t);return[2]}))}))};e.prototype.slideToPrevious=function(e){if(e===void 0){e="smooth"}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.scrollToPreviousSnapPoint(e);return[2]}))}))};e.prototype.slideToNext=function(e){if(e===void 0){e="smooth"}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.scrollToNextSnapPoint(e);return[2]}))}))};e.prototype.disabledWatcher=function(){if(this.disabled){this.scrollElement&&this.scrollElement.removeEventListener("scroll",this.onScroll);this.scrollTimeoutId&&window.clearTimeout(this.scrollTimeoutId);this.scrollTimeoutId=null;this.element.removeEventListener("mouseenter",this.onMouseenter);this.element.removeEventListener("mouseleave",this.onMouseleave);this.element.removeEventListener("focusin",this.onFocusin);this.element.removeEventListener("focusout",this.onFocusout);this.onReducedMotionMediaChange();d&&d.removeEventListener("change",this.onReducedMotionMediaChange)}else{this.scrollElement&&this.scrollElement.addEventListener("scroll",this.onScroll,{passive:true});this.element.addEventListener("mouseenter",this.onMouseenter);this.element.addEventListener("mouseleave",this.onMouseleave);this.element.addEventListener("focusin",this.onFocusin);this.element.addEventListener("focusout",this.onFocusout);d&&d.addEventListener("change",this.onReducedMotionMediaChange)}};e.prototype.preventMouseDragWatcher=function(){if(this.preventMouseDrag||this.disabled){this.disableTimeoutId&&window.clearTimeout(this.disableTimeoutId);this.disableTimeoutId=null;this.scrollElement&&this.scrollElement.removeEventListener("mousedown",this.startDragging);this.lastX=null}else{this.scrollElement&&this.scrollElement.addEventListener("mousedown",this.startDragging)}};e.prototype.autoplayRunningWatcher=function(){if(!this.autoplay||this.disabled||this.autoplayDisabledByMotionMedia||this.autoplayDisabledByMouse||this.autoplayDisabledByFocus){this.autoplayIntervalId&&window.clearInterval(this.autoplayIntervalId);this.autoplayIntervalId=null;this.autoplayRunning=false}else{this.autoplayIntervalId&&window.clearInterval(this.autoplayIntervalId);this.autoplayIntervalId=window.setInterval(this.autoplayInterval,this.autoplayTimeout);this.autoplayRunning=true}};e.prototype.snapAlignWatcher=function(){var e=this;this.slideElements.forEach((function(t,s){var i=(s-e.currentSwipeSlides)%e.currentSwipeSlides===0;if(i){t.style.removeProperty("scroll-snap-align")}else{t.style.setProperty("scroll-snap-align","none")}}))};e.prototype.inertWatcher=function(){var e=this;this.slideElements.forEach((function(t,s){var i=e.tabThrough||e.variant==="cards"||s>=e.slide&&s<e.slide+e.currentSlides;t.inert=!i;if(i){t.removeAttribute("aria-hidden")}else{t.setAttribute("aria-hidden",i?"false":"true")}}))};e.prototype.prevNextNavigationWatcher=function(){var e=this.tabThrough||this.variant==="cards";var t=function(t){var s=l(t);if(e){t.setAttribute("aria-hidden","true");t.setAttribute(s?"a11y-tabindex":"tabindex","-1")}else{t.removeAttribute("aria-hidden");t.removeAttribute(s?"a11y-tabindex":"tabindex")}};this.nextElements.forEach(t);this.previousElements.forEach(t)};e.prototype.prevNextHiddenWatcher=function(){var e=this.slideElements.length<=this.currentSlides;var t=function(t){if(e){t.setAttribute("hidden","")}else{t.removeAttribute("hidden")}};this.navigationTextElements.forEach(t);this.nextElements.forEach(t);this.previousElements.forEach(t)};e.prototype.nextPrevDisabledWatcher=function(){if(!this.scrollElement){return}var e=this.slide===0;var t=this.hasReachedLastSlide();this.nextElements.forEach((function(e){var s=l(e);e.setAttribute(s?"a11y-disabled":"aria-disabled",t?"true":"false")}));this.previousElements.forEach((function(t){var s=l(t);t.setAttribute(s?"a11y-disabled":"aria-disabled",e?"true":"false")}))};e.prototype.nextElementsWatcher=function(){var e=this;this.nextElements.forEach((function(t){var s=l(t);t.addEventListener("click",e.onNextClick);t.setAttribute(s?"a11y-controls":"aria-controls","".concat(e.carouselId,"-scroll"))}))};e.prototype.previousElementsWatcher=function(){var e=this;this.previousElements.forEach((function(t){var s=l(t);t.addEventListener("click",e.onPreviousClick);t.setAttribute(s?"a11y-controls":"aria-controls","".concat(e.carouselId,"-scroll"))}))};e.prototype.scrollToSlide=function(e,t){if(t===void 0){t="smooth"}if(this.disabled){return}this.scrollElement.scrollTo({left:e*this.itemSize,behavior:d.matches?"auto":t})};e.prototype.sizingMethod=function(){var e=window.getComputedStyle(this.scrollElement);return this.scrollElement.firstElementChild.offsetWidth+parseInt(e.getPropertyValue("column-gap"),10)};e.prototype.calculateSlide=function(){return Math.floor(this.scrollElement.scrollLeft/this.itemSize)};e.prototype.scrollToPreviousSnapPoint=function(e){if(e===void 0){e="smooth"}if(this.disabled){return}var t=this.slide;var s=false;while(!s&&t>0){t=t-1;s=(t-this.currentSwipeSlides)%this.currentSwipeSlides===0}this.slideTo(t,e)};e.prototype.scrollToNextSnapPoint=function(e){if(e===void 0){e="smooth"}if(this.disabled){return}this.slideTo(this.slide+this.currentSwipeSlides,e)};e.prototype.update=function(){this.slide=this.calculateSlide();this.slideScrollLeft=this.slide*this.itemSize;this.onMutation()};e.prototype.hasReachedLastSlide=function(){var e=this.scrollElement,t=e.scrollLeft,s=e.offsetWidth,i=e.scrollWidth;return Math.ceil(t+s)>=i};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.carouselId="stzh-carousel-".concat(p++);this.onMediaChange();if(!!this.localization)return[3,2];e=this;return[4,a(this.element,"carousel")];case 1:e.localization=t.sent();t.label=2;case 2:return[2]}}))}))};e.prototype.componentDidLoad=function(){this.itemSize=this.sizingMethod();this.update();this.disabledWatcher();this.preventMouseDragWatcher();this.autoplayRunningWatcher()};e.prototype.connectedCallback=function(){n(this.onMediaChange);this.resizeObserver=new ResizeObserver(this.onSlideResize);this.resizeObserver.observe(this.element);this.mutationObserver=new MutationObserver(this.onMutation);this.mutationObserver.observe(this.element,{childList:true,subtree:true})};e.prototype.disconnectedCallback=function(){this.scrollTimeoutId&&window.clearTimeout(this.scrollTimeoutId);this.scrollTimeoutId=null;this.disabled=true;c(this.onMediaChange);if(this.resizeObserver){this.resizeObserver.disconnect()}if(this.mutationObserver){this.mutationObserver.disconnect()}};e.prototype.render=function(){var e=this;var t={"stzh-carousel":true,"stzh-carousel--is-disabled":this.disabled,"stzh-carousel--is-draggable":!this.preventMouseDrag,"stzh-carousel--is-dragging":this.dragging,"stzh-carousel--is-scrolling":this.scrolling,"stzh-carousel--has-autoplay":this.autoplay,"stzh-carousel--is-autoplay-running":this.autoplayRunning,"stzh-carousel--is-autoplay-disabled-by-motion-media":this.autoplayDisabledByMotionMedia,"stzh-carousel--is-autoplay-disabled-by-mouse":this.autoplayDisabledByMouse,"stzh-carousel--is-autoplay-disabled-by-focus":this.autoplayDisabledByFocus};return i(r,{"aria-roledescription":"carousel",style:{"--slides":this.currentSlides.toString()}},i("div",{class:t},i("slot",{name:"actions"}),i("div",{class:"stzh-carousel__vhidden","aria-live":this.autoplayDisabledByFocus||this.autoplayDisabledByMouse?"polite":"off"},this.ariaLive),i("div",{ref:function(t){return e.scrollElement=t},id:"".concat(this.carouselId,"-scroll"),class:"stzh-carousel__scroll"},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","preventMouseDragWatcher","autoplayRunningWatcher"],preventMouseDrag:["preventMouseDragWatcher"],autoplay:["autoplayRunningWatcher"],autoplayDisabledByMotionMedia:["autoplayRunningWatcher"],autoplayDisabledByMouse:["autoplayRunningWatcher"],autoplayDisabledByFocus:["autoplayRunningWatcher"],autoplayTimeout:["autoplayRunningWatcher"],slideElements:["snapAlignWatcher","inertWatcher","prevNextHiddenWatcher","nextPrevDisabledWatcher"],currentSwipeSlides:["snapAlignWatcher"],slide:["inertWatcher","nextPrevDisabledWatcher"],variant:["inertWatcher","prevNextNavigationWatcher"],currentSlides:["inertWatcher","prevNextHiddenWatcher","nextPrevDisabledWatcher"],tabThrough:["inertWatcher","prevNextNavigationWatcher"],nextElements:["prevNextNavigationWatcher","prevNextHiddenWatcher","nextPrevDisabledWatcher","nextElementsWatcher"],previousElements:["prevNextNavigationWatcher","prevNextHiddenWatcher","nextPrevDisabledWatcher","previousElementsWatcher"],navigationTextElements:["prevNextHiddenWatcher"]}},enumerable:false,configurable:true});return e}());v.style=h}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,e as h,h as s,c as e,g as r}from"./p-99a3742a.js";import{j as c}from"./p-b10682ee.js";import{s as i}from"./p-5c697491.js";import{f as o}from"./p-25a09313.js";import"./p-3e8ff66b.js";const a="stzh-components-ghettobox-close-time",n=class{constructor(s){t(this,s),this.stzhOpen=h(this,"stzhOpen",7),this.stzhClose=h(this,"stzhClose",7),this.onCloseButtonClick=()=>{this.hide()},this.init=()=>{const t=this.element.querySelector('stzh-button[slot="button"]');t&&i(t,{size:"small",variant:"secondary",effect:"cta",icon:"arrow-right-long",iconPosition:"right"})},this.hiddenTitle="",this.mainTitle="",this.description="",this.hideClose=!1,this.publishDate=void 0,this.closeTimeKey="global-alert",this.localization=void 0,this.open=!0}publishDateWatcher(t){if(this._publishDate="string"==typeof t?new Date(t):t,this.closeTimeKey&&this._publishDate){const t=c.get(`${a}-${this.closeTimeKey}`);t&&Number(t)>=this._publishDate.getTime()&&this.hide(!1)}}async show(){this.open=!0,this.stzhOpen.emit({component:"stzh-ghettobox"})}async hide(t=!0){this.open=!1,this.stzhClose.emit({component:"stzh-ghettobox"}),this.closeTimeKey&&t&&c.set(`${a}-${this.closeTimeKey}`,Date.now().toString())}async componentWillLoad(){this.publishDateWatcher(this.publishDate),this.localization||(this.localization=await o(this.element,"ghettobox"))}connectedCallback(){this.init(),this.observer=new MutationObserver(this.init),this.observer.observe(this.element,{childList:!0,subtree:!0})}disconnectedCallback(){this.observer&&this.observer.disconnect()}render(){return s(e,{hidden:!this.open},s("div",{class:{"stzh-ghettobox":!0,"stzh-ghettobox--has-close-button":!this.hideClose}},s("h1",{class:"stzh-ghettobox__hidden-title"},this.hiddenTitle||this.localization.hiddenTitle),s("div",{class:"stzh-ghettobox__message"},s("h2",{class:"stzh-ghettobox__main-title"},this.mainTitle),s("div",{class:"stzh-ghettobox__description"},this.description?this.description:s("slot",null)),s("div",{class:"stzh-ghettobox__button"},s("slot",{name:"button"}))),!this.hideClose&&s("stzh-button",{class:"stzh-ghettobox__close",onClick:this.onCloseButtonClick,a11yLabel:this.localization.close,variant:"tertiary",size:"small",iconOnly:!0,icon:"close"})))}get element(){return r(this)}static get watchers(){return{publishDate:["publishDateWatcher"]}}};n.style=".sc-stzh-ghettobox-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-ghettobox-h{display:none}.sc-stzh-ghettobox-h *.sc-stzh-ghettobox,.sc-stzh-ghettobox-h *.sc-stzh-ghettobox::before,.sc-stzh-ghettobox-h *.sc-stzh-ghettobox::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-ghettobox-h{--stzh-flyingfocus-color:var(--stzh-base-invert-color);--stzh-base-color:var(--stzh-base-invert-color);--stzh-base-lead-color:var(--stzh-base-invert-color);--stzh-base-border-color:var(--stzh-base-invert-color);--stzh-heading-color:var(--stzh-base-invert-color);--stzh-link-color:var(--stzh-base-invert-color);--stzh-link-hover-color:var(--stzh-base-invert-color);--background-color:var(--stzh-color-error);--color:var(--stzh-base-invert-color);--richtext-color:var(--color);--close-color:var(--stzh-base-invert-color);--button-color:var(--color);--hover-button-color:var(--background-color);--hover-close-color:var(--background-color)}.sc-stzh-ghettobox-h .sc-stzh-ghettobox-s>stzh-richtext{--stzh-base-color:var(--richtext-color)}.sc-stzh-ghettobox-h .sc-stzh-ghettobox-s>stzh-button[slot=button][variant=default]{--color:var(--hover-button-color);--background-color:var(--stzh-base-invert-color);--border-color:var(--stzh-base-invert-color);--hover-color:var(--hover-button-color);--hover-background-color:var(--stzh-color-white72);--hover-border-color:transparent}.sc-stzh-ghettobox-h .sc-stzh-ghettobox-s>stzh-button[slot=button][variant=secondary]{--color:var(--stzh-base-invert-color);--background-color:transparent;--border-color:var(--stzh-base-invert-color);--hover-color:var(--hover-button-color);--hover-background-color:var(--stzh-color-white72);--hover-border-color:transparent}.sc-stzh-ghettobox-h .sc-stzh-ghettobox-s>stzh-button[slot=button][variant=tertiary]{--color:var(--stzh-base-invert-color);--background-color:transparent;--hover-color:var(--stzh-base-invert-color);--hover-background-color:var(--stzh-color-white16)}.sc-stzh-ghettobox-h .sc-stzh-ghettobox-s>stzh-button[slot=button][active]:not([active=false]){--color:var(--hover-button-color);--background-color:var(--stzh-color-white72);--border-color:transparent;--hover-color:var(--hover-button-color);--hover-background-color:var(--stzh-color-white72);--hover-border-color:transparent}.sc-stzh-ghettobox-h .sc-stzh-ghettobox-s>stzh-button[slot=button][disabled]:not([disabled=false]){--border-color:transparent;--background-color:var(--stzh-color-white32);--hover-border-color:transparent;--hover-background-color:var(--stzh-color-white32)}.sc-stzh-ghettobox-h .sc-stzh-ghettobox-s>stzh-button[slot=button][disabled]:not([disabled=false])[variant=secondary],.sc-stzh-ghettobox-h .sc-stzh-ghettobox-s>stzh-button[slot=button][disabled]:not([disabled=false])[variant=input],.sc-stzh-ghettobox-h .sc-stzh-ghettobox-s>stzh-button[slot=button][disabled]:not([disabled=false])[variant=tertiary]{--color:var(--stzh-color-white32);--border-color:var(--stzh-color-white32);--background-color:transparent;--hover-color:var(--stzh-color-white32);--hover-border-color:var(--stzh-color-white32);--hover-background-color:transparent}.stzh-ghettobox.sc-stzh-ghettobox{padding-top:var(--stzh-space-xxlarge);padding-bottom:var(--stzh-space-xxlarge);padding-left:var(--stzh-space-xxxlarge);padding-right:var(--stzh-space-xxxlarge);position:relative;display:-ms-flexbox;display:flex;background-color:var(--background-color);color:var(--color);-webkit-box-shadow:var(--stzh-box-shadow-message);box-shadow:var(--stzh-box-shadow-message);border-radius:var(--stzh-button-border-radius)}@media screen and (min-width: 1024px){.stzh-ghettobox.sc-stzh-ghettobox{padding-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-ghettobox.sc-stzh-ghettobox{padding-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){.stzh-ghettobox.sc-stzh-ghettobox{padding-bottom:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-ghettobox.sc-stzh-ghettobox{padding-bottom:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 600px){.stzh-ghettobox.sc-stzh-ghettobox{padding-left:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){.stzh-ghettobox.sc-stzh-ghettobox{padding-left:var(--stzh-space-big)}}@media screen and (min-width: 1260px){.stzh-ghettobox.sc-stzh-ghettobox{padding-left:var(--stzh-space-xbig)}}@media screen and (min-width: 600px){.stzh-ghettobox.sc-stzh-ghettobox{padding-right:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){.stzh-ghettobox.sc-stzh-ghettobox{padding-right:var(--stzh-space-big)}}@media screen and (min-width: 1260px){.stzh-ghettobox.sc-stzh-ghettobox{padding-right:var(--stzh-space-xbig)}}@media screen and (min-width: 1260px){.stzh-ghettobox.sc-stzh-ghettobox{border-radius:0.1875rem}}.stzh-ghettobox__hidden-title.sc-stzh-ghettobox{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-ghettobox__message.sc-stzh-ghettobox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1}.stzh-ghettobox__main-title.sc-stzh-ghettobox{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-size:var(--stzh-font-curve-h1-default-font-size, var(--stzh-font-deca-font-size));line-height:var(--stzh-font-curve-h1-default-heading-line-height, var(--stzh-font-deca-text-line-height));letter-spacing:var(--stzh-font-curve-h1-default-heading-letter-spacing, var(--stzh-font-deca-text-letter-spacing));margin:0;color:inherit}@media screen and (min-width: 600px){.stzh-ghettobox__main-title.sc-stzh-ghettobox{font-size:var(--stzh-font-curve-h1-small-font-size, var(--stzh-font-kilo-font-size));line-height:var(--stzh-font-curve-h1-small-heading-line-height, var(--stzh-font-kilo-text-line-height));letter-spacing:var(--stzh-font-curve-h1-small-heading-letter-spacing, var(--stzh-font-kilo-text-letter-spacing))}}@media screen and (min-width: 1024px){.stzh-ghettobox__main-title.sc-stzh-ghettobox{font-size:var(--stzh-font-curve-h1-medium-font-size, var(--stzh-font-mega-font-size));line-height:var(--stzh-font-curve-h1-medium-heading-line-height, var(--stzh-font-mega-text-line-height));letter-spacing:var(--stzh-font-curve-h1-medium-heading-letter-spacing, var(--stzh-font-mega-text-letter-spacing))}}@media screen and (min-width: 1440px){.stzh-ghettobox__main-title.sc-stzh-ghettobox{font-size:var(--stzh-font-curve-h1-ultra-font-size, var(--stzh-font-giga-font-size));line-height:var(--stzh-font-curve-h1-ultra-heading-line-height, var(--stzh-font-giga-text-line-height));letter-spacing:var(--stzh-font-curve-h1-ultra-heading-letter-spacing, var(--stzh-font-giga-text-letter-spacing))}}.stzh-ghettobox__description.sc-stzh-ghettobox{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)}@media screen and (min-width: 1024px){.stzh-ghettobox__description.sc-stzh-ghettobox{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-ghettobox__description.sc-stzh-ghettobox:not(:empty),.stzh-ghettobox__button.sc-stzh-ghettobox:not(:empty){margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-ghettobox__description.sc-stzh-ghettobox:not(:empty),.stzh-ghettobox__button.sc-stzh-ghettobox:not(:empty){margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-ghettobox__description.sc-stzh-ghettobox:not(:empty),.stzh-ghettobox__button.sc-stzh-ghettobox:not(:empty){margin-top:var(--stzh-space-large)}}.stzh-ghettobox__close.sc-stzh-ghettobox{-ms-flex-negative:0;flex-shrink:0}@media screen and (min-width: 600px){.stzh-ghettobox__close.sc-stzh-ghettobox{margin-left:var(--stzh-space-small)}}.stzh-ghettobox__close.sc-stzh-ghettobox{position:absolute;top:0;right:0}.stzh-ghettobox__close[variant=default].sc-stzh-ghettobox{--color:var(--hover-close-color);--background-color:var(--stzh-base-invert-color);--border-color:var(--stzh-base-invert-color);--hover-color:var(--hover-close-color);--hover-background-color:var(--stzh-color-white72);--hover-border-color:transparent}.stzh-ghettobox__close[variant=secondary].sc-stzh-ghettobox{--color:var(--stzh-base-invert-color);--background-color:transparent;--border-color:var(--stzh-base-invert-color);--hover-color:var(--hover-close-color);--hover-background-color:var(--stzh-color-white72);--hover-border-color:transparent}.stzh-ghettobox__close[variant=tertiary].sc-stzh-ghettobox{--color:var(--stzh-base-invert-color);--background-color:transparent;--hover-color:var(--stzh-base-invert-color);--hover-background-color:var(--stzh-color-white16)}.stzh-ghettobox__close[active].sc-stzh-ghettobox:not([active=false]){--color:var(--hover-close-color);--background-color:var(--stzh-color-white72);--border-color:transparent;--hover-color:var(--hover-close-color);--hover-background-color:var(--stzh-color-white72);--hover-border-color:transparent}.stzh-ghettobox__close[disabled].sc-stzh-ghettobox:not([disabled=false]){--border-color:transparent;--background-color:var(--stzh-color-white32);--hover-border-color:transparent;--hover-background-color:var(--stzh-color-white32)}.stzh-ghettobox__close[disabled].sc-stzh-ghettobox:not([disabled=false])[variant=secondary],.stzh-ghettobox__close[disabled].sc-stzh-ghettobox:not([disabled=false])[variant=input],.stzh-ghettobox__close[disabled].sc-stzh-ghettobox:not([disabled=false])[variant=tertiary]{--color:var(--stzh-color-white32);--border-color:var(--stzh-color-white32);--background-color:transparent;--hover-color:var(--stzh-color-white32);--hover-border-color:var(--stzh-color-white32);--hover-background-color:transparent}.stzh-ghettobox--has-close-button.sc-stzh-ghettobox{padding-right:var(--stzh-space-xxxlarge)}@media screen and (min-width: 600px){.stzh-ghettobox--has-close-button.sc-stzh-ghettobox{padding-right:var(--stzh-space-medium)}}@media screen and (min-width: 600px) and (min-width: 1024px){.stzh-ghettobox--has-close-button.sc-stzh-ghettobox{padding-right:var(--stzh-space-large)}}@media screen and (min-width: 600px) and (min-width: 1260px){.stzh-ghettobox--has-close-button.sc-stzh-ghettobox{padding-right:var(--stzh-space-xlarge)}}";const z=class{constructor(h){t(this,h),this.localization=void 0,this.externalLinkSelector='a[rel*="external"], a.external, a.extern',this.externalLinkIcon="external-link"}addExternalLinkIcons(){this.externalLinks.forEach((t=>{t.classList.add("stzh-richtext__external-link");const h=document.createElement("span");h.classList.add("stzh-richtext__external-vhidden"),h.innerText=this.localization.$globals.externalLinkLabel;const s=document.createElement("span");s.classList.add("stzh-richtext__external-icon-wrapper");const e=document.createElement("stzh-icon");e.classList.add("stzh-richtext__external-icon"),e.name=this.externalLinkIcon,s.appendChild(e),t.prepend(h),t.appendChild(s)}))}async componentWillLoad(){this.localization||(this.localization=await o(this.element,"richtext"))}componentDidRender(){this.externalLinks=Array.from(this.element.querySelectorAll(this.externalLinkSelector)),this.addExternalLinkIcons()}render(){return s(e,null,s("div",{class:{"stzh-richtext":!0}},s("slot",null)))}get element(){return r(this)}};z.style='@charset "UTF-8";.sc-stzh-richtext-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-richtext-h{display:none}.sc-stzh-richtext-h *.sc-stzh-richtext,.sc-stzh-richtext-h *.sc-stzh-richtext::before,.sc-stzh-richtext-h *.sc-stzh-richtext::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-richtext-h{--richtext-blockquote-color:var(--stzh-richtext-blockquote-color);--richtext-blockquote-line-color:var(--stzh-richtext-blockquote-line-color);--richtext-blockquote-footer-color:var(--stzh-richtext-blockquote-footer-color)}.sc-stzh-richtext-h .sc-stzh-richtext-s h1,.sc-stzh-richtext-h .sc-stzh-richtext-s h2,.sc-stzh-richtext-h .sc-stzh-richtext-s h3,.sc-stzh-richtext-h .sc-stzh-richtext-s h4{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);margin:0}.sc-stzh-richtext-h .sc-stzh-richtext-s b,.sc-stzh-richtext-h .sc-stzh-richtext-s strong{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal}.sc-stzh-richtext-h .sc-stzh-richtext-s i,.sc-stzh-richtext-h .sc-stzh-richtext-s em{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.sc-stzh-richtext-h .sc-stzh-richtext-s h1,.sc-stzh-richtext-h .sc-stzh-richtext-s h2,.sc-stzh-richtext-h .sc-stzh-richtext-s h3{color:var(--stzh-heading-color)}.sc-stzh-richtext-h .sc-stzh-richtext-s>*,.sc-stzh-richtext-h .sc-stzh-richtext-s p,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text{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)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s>*,.sc-stzh-richtext-h .sc-stzh-richtext-s p,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text{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)}}.sc-stzh-richtext-h .sc-stzh-richtext-s h1{font-size:var(--stzh-font-curve-h1-default-font-size, var(--stzh-font-deca-font-size));line-height:var(--stzh-font-curve-h1-default-heading-line-height, var(--stzh-font-deca-text-line-height));letter-spacing:var(--stzh-font-curve-h1-default-heading-letter-spacing, var(--stzh-font-deca-text-letter-spacing))}@media screen and (min-width: 600px){.sc-stzh-richtext-h .sc-stzh-richtext-s h1{font-size:var(--stzh-font-curve-h1-small-font-size, var(--stzh-font-kilo-font-size));line-height:var(--stzh-font-curve-h1-small-heading-line-height, var(--stzh-font-kilo-text-line-height));letter-spacing:var(--stzh-font-curve-h1-small-heading-letter-spacing, var(--stzh-font-kilo-text-letter-spacing))}}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s h1{font-size:var(--stzh-font-curve-h1-medium-font-size, var(--stzh-font-mega-font-size));line-height:var(--stzh-font-curve-h1-medium-heading-line-height, var(--stzh-font-mega-text-line-height));letter-spacing:var(--stzh-font-curve-h1-medium-heading-letter-spacing, var(--stzh-font-mega-text-letter-spacing))}}@media screen and (min-width: 1440px){.sc-stzh-richtext-h .sc-stzh-richtext-s h1{font-size:var(--stzh-font-curve-h1-ultra-font-size, var(--stzh-font-giga-font-size));line-height:var(--stzh-font-curve-h1-ultra-heading-line-height, var(--stzh-font-giga-text-line-height));letter-spacing:var(--stzh-font-curve-h1-ultra-heading-letter-spacing, var(--stzh-font-giga-text-letter-spacing))}}.sc-stzh-richtext-h .sc-stzh-richtext-s h2{font-size:var(--stzh-font-curve-h2-default-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h2-default-heading-line-height, var(--stzh-font-deci-heading-line-height));letter-spacing:var(--stzh-font-curve-h2-default-heading-letter-spacing)}@media screen and (min-width: 600px){.sc-stzh-richtext-h .sc-stzh-richtext-s h2{font-size:var(--stzh-font-curve-h2-small-font-size, var(--stzh-font-deca-font-size));line-height:var(--stzh-font-curve-h2-small-heading-line-height, var(--stzh-font-deca-text-line-height));letter-spacing:var(--stzh-font-curve-h2-small-heading-letter-spacing, var(--stzh-font-deca-text-letter-spacing))}}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s h2{font-size:var(--stzh-font-curve-h2-medium-font-size, var(--stzh-font-hecto-font-size));line-height:var(--stzh-font-curve-h2-medium-heading-line-height, var(--stzh-font-hecto-text-line-height));letter-spacing:var(--stzh-font-curve-h2-medium-heading-letter-spacing, var(--stzh-font-hecto-text-letter-spacing))}}@media screen and (min-width: 1440px){.sc-stzh-richtext-h .sc-stzh-richtext-s h2{font-size:var(--stzh-font-curve-h2-ultra-font-size, var(--stzh-font-kilo-font-size));line-height:var(--stzh-font-curve-h2-ultra-heading-line-height, var(--stzh-font-kilo-text-line-height));letter-spacing:var(--stzh-font-curve-h2-ultra-heading-letter-spacing, var(--stzh-font-kilo-text-letter-spacing))}}.sc-stzh-richtext-h .sc-stzh-richtext-s h3{font-size:var(--stzh-font-curve-h3-default-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h3-default-heading-line-height, var(--stzh-font-centi-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-default-heading-letter-spacing)}@media screen and (min-width: 600px){.sc-stzh-richtext-h .sc-stzh-richtext-s h3{font-size:var(--stzh-font-curve-h3-small-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h3-small-heading-line-height, var(--stzh-font-deci-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-small-heading-letter-spacing)}}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s h3{font-size:var(--stzh-font-curve-h3-medium-font-size, var(--stzh-font-regular-font-size));line-height:var(--stzh-font-curve-h3-medium-heading-line-height, var(--stzh-font-regular-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-medium-heading-letter-spacing)}}.sc-stzh-richtext-h .sc-stzh-richtext-s h4{font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-heading-line-height, var(--stzh-font-milli-heading-line-height));letter-spacing:var(--stzh-font-curve-h4-default-heading-letter-spacing)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s h4{font-size:var(--stzh-font-curve-h4-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-medium-heading-line-height, var(--stzh-font-centi-heading-line-height));letter-spacing:var(--stzh-font-curve-h4-medium-heading-letter-spacing)}}.sc-stzh-richtext-h .sc-stzh-richtext-s h1,.sc-stzh-richtext-h .sc-stzh-richtext-s h2,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="1"],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="2"]{margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s h1,.sc-stzh-richtext-h .sc-stzh-richtext-s h2,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="1"],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="2"]{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s h1,.sc-stzh-richtext-h .sc-stzh-richtext-s h2,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="1"],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="2"]{margin-bottom:var(--stzh-space-xxxlarge)}}.sc-stzh-richtext-h .sc-stzh-richtext-s h1,.sc-stzh-richtext-h .sc-stzh-richtext-s h2{padding-bottom:var(--stzh-space-xsmall);border-bottom:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s h1,.sc-stzh-richtext-h .sc-stzh-richtext-s h2{padding-bottom:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s h1,.sc-stzh-richtext-h .sc-stzh-richtext-s h2{padding-bottom:var(--stzh-space-medium)}}.sc-stzh-richtext-h .sc-stzh-richtext-s h1,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="1"],.sc-stzh-richtext-h .sc-stzh-richtext-s h2,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="2"]{margin-top:var(--stzh-space-xxlarge)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s h1,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="1"],.sc-stzh-richtext-h .sc-stzh-richtext-s h2,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="2"]{margin-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s h1,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="1"],.sc-stzh-richtext-h .sc-stzh-richtext-s h2,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="2"]{margin-top:var(--stzh-space-xxxxlarge)}}.sc-stzh-richtext-h .sc-stzh-richtext-s h3,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="3"],.sc-stzh-richtext-h .sc-stzh-richtext-s h4,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="4"]{margin-top:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s h3,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="3"],.sc-stzh-richtext-h .sc-stzh-richtext-s h4,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="4"]{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s h3,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="3"],.sc-stzh-richtext-h .sc-stzh-richtext-s h4,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="4"]{margin-top:var(--stzh-space-xxxlarge)}}.sc-stzh-richtext-h .sc-stzh-richtext-s p,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text,.sc-stzh-richtext-h .sc-stzh-richtext-s ul,.sc-stzh-richtext-h .sc-stzh-richtext-s ol,.sc-stzh-richtext-h .sc-stzh-richtext-s dl,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-list{margin-top:var(--stzh-space-small);margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s p,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text,.sc-stzh-richtext-h .sc-stzh-richtext-s ul,.sc-stzh-richtext-h .sc-stzh-richtext-s ol,.sc-stzh-richtext-h .sc-stzh-richtext-s dl,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-list{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s p,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text,.sc-stzh-richtext-h .sc-stzh-richtext-s ul,.sc-stzh-richtext-h .sc-stzh-richtext-s ol,.sc-stzh-richtext-h .sc-stzh-richtext-s dl,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-list{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s p,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text,.sc-stzh-richtext-h .sc-stzh-richtext-s ul,.sc-stzh-richtext-h .sc-stzh-richtext-s ol,.sc-stzh-richtext-h .sc-stzh-richtext-s dl,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-list{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s p,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text,.sc-stzh-richtext-h .sc-stzh-richtext-s ul,.sc-stzh-richtext-h .sc-stzh-richtext-s ol,.sc-stzh-richtext-h .sc-stzh-richtext-s dl,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-list{margin-bottom:var(--stzh-space-large)}}.sc-stzh-richtext-h .sc-stzh-richtext-s ul ul,.sc-stzh-richtext-h .sc-stzh-richtext-s ul ol,.sc-stzh-richtext-h .sc-stzh-richtext-s ul dl,.sc-stzh-richtext-h .sc-stzh-richtext-s ul stzh-list,.sc-stzh-richtext-h .sc-stzh-richtext-s ol ul,.sc-stzh-richtext-h .sc-stzh-richtext-s ol ol,.sc-stzh-richtext-h .sc-stzh-richtext-s ol dl,.sc-stzh-richtext-h .sc-stzh-richtext-s ol stzh-list,.sc-stzh-richtext-h .sc-stzh-richtext-s dl ul,.sc-stzh-richtext-h .sc-stzh-richtext-s dl ol,.sc-stzh-richtext-h .sc-stzh-richtext-s dl dl,.sc-stzh-richtext-h .sc-stzh-richtext-s dl stzh-list,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-list ul,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-list ol,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-list dl,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-list stzh-list{margin-top:0;margin-bottom:0}.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=hero],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=hero]{margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=hero],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=hero]{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=hero],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=hero]{margin-bottom:var(--stzh-space-xxxlarge)}}.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h2]{margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h2]{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h2]{margin-bottom:var(--stzh-space-xxxlarge)}}.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h1]{margin-top:var(--stzh-space-xxlarge)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h1]{margin-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h1]{margin-top:var(--stzh-space-xxxxlarge)}}.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h2]{margin-top:var(--stzh-space-xxxlarge)}@media screen and (min-width: 600px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h2]{margin-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h2]{margin-top:var(--stzh-space-big)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h2]{margin-top:var(--stzh-space-xbig)}}.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h3],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h3]{margin-top:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h3],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h3]{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h3],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h3]{margin-top:var(--stzh-space-xxxlarge)}}.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h4],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h4]{margin-top:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h4],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h4]{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h4],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h4]{margin-top:var(--stzh-space-xxxlarge)}}.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=p1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=p2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=p1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=p2]{margin-top:var(--stzh-space-small);margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=p1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=p2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=p1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=p2]{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=p1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=p2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=p1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=p2]{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=p1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=p2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=p1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=p2]{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=p1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=p2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=p1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=p2]{margin-bottom:var(--stzh-space-large)}}.sc-stzh-richtext-h .sc-stzh-richtext-s ul,.sc-stzh-richtext-h .sc-stzh-richtext-s ol,.sc-stzh-richtext-h .sc-stzh-richtext-s dl{list-style:none;padding-left:0;overflow:hidden}.sc-stzh-richtext-h .sc-stzh-richtext-s ol{counter-reset:li-counter}.sc-stzh-richtext-h .sc-stzh-richtext-s ul li,.sc-stzh-richtext-h .sc-stzh-richtext-s ol li{position:relative}.sc-stzh-richtext-h .sc-stzh-richtext-s ul li::before,.sc-stzh-richtext-h .sc-stzh-richtext-s ol li::before{display:inline-block;position:absolute;left:0;top:0}.sc-stzh-richtext-h .sc-stzh-richtext-s ul li{padding-left:calc(var(--stzh-space-xsmall) + var(--stzh-space-small))}.sc-stzh-richtext-h .sc-stzh-richtext-s ul li::before{content:"–"}.sc-stzh-richtext-h .sc-stzh-richtext-s ol li{counter-increment:li-counter;padding-left:calc(var(--stzh-space-large) + var(--stzh-space-small))}.sc-stzh-richtext-h .sc-stzh-richtext-s ol li::before{content:counter(li-counter) ". "}.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-figure{margin-top:var(--stzh-space-xxlarge);margin-bottom:var(--stzh-space-xxlarge)}.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-h3-default-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h3-default-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-h3-default-text-letter-spacing);padding-left:var(--stzh-space-medium);padding-right:var(--stzh-space-medium);margin:var(--stzh-space-xxlarge);color:var(--richtext-blockquote-color);position:relative;overflow:hidden}@media screen and (min-width: 600px){.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote{font-size:var(--stzh-font-curve-h3-small-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h3-small-text-line-height, var(--stzh-font-deci-text-line-height));letter-spacing:var(--stzh-font-curve-h3-small-text-letter-spacing)}}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote{font-size:var(--stzh-font-curve-h3-medium-font-size, var(--stzh-font-regular-font-size));line-height:var(--stzh-font-curve-h3-medium-text-line-height, var(--stzh-font-regular-text-line-height));letter-spacing:var(--stzh-font-curve-h3-medium-text-letter-spacing)}}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote{padding-left:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote{padding-left:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote{padding-right:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote{padding-right:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote{margin:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote{margin:var(--stzh-space-xxxxlarge)}}.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote:before{background:var(--richtext-blockquote-line-color);height:calc(100% - var(--stzh-space-xsmall) * 2);width:0.1875rem;content:" ";display:block;position:absolute;left:0;top:var(--stzh-space-xsmall)}.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote p{margin-top:0;margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote p{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote p{margin-bottom:var(--stzh-space-large)}}.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote p::before,.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote p::after{display:inline-block}.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote p::before{content:"«"}.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote p::after{content:"»"}.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote footer{font-size:var(--stzh-font-curve-p2-default-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-p2-default-text-line-height, var(--stzh-font-micro-text-line-height));color:var(--richtext-blockquote-footer-color)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote footer{font-size:var(--stzh-font-curve-p2-medium-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p2-medium-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p2-medium-text-letter-spacing)}}.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote footer::before{content:"–";display:inline-block;margin-right:var(--stzh-space-xxxsmall)}.sc-stzh-richtext-h .sc-stzh-richtext-s table{--min-width:none;--cell-padding:var(--stzh-table-cell-padding);width:100%;border-spacing:0;min-width:var(--min-width)}.sc-stzh-richtext-h .sc-stzh-richtext-s thead{position:-webkit-sticky;position:sticky;top:0;z-index:3}.sc-stzh-richtext-h .sc-stzh-richtext-s tr:hover td,.sc-stzh-richtext-h .sc-stzh-richtext-s tr:hover th{background-color:var(--stzh-color-grey5)}.sc-stzh-richtext-h .sc-stzh-richtext-s td,.sc-stzh-richtext-h .sc-stzh-richtext-s th{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);text-align:left;border:none;vertical-align:top;border:none;border-bottom:0.0625rem solid var(--stzh-base-border-color);background-color:var(--stzh-color-white);-webkit-transition:background-color var(--stzh-base-transition-animation-speed);transition:background-color var(--stzh-base-transition-animation-speed);padding:var(--cell-padding)}.sc-stzh-richtext-h .sc-stzh-richtext-s td a,.sc-stzh-richtext-h .sc-stzh-richtext-s th a{color:var(--stzh-link-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius)}.sc-stzh-richtext-h .sc-stzh-richtext-s td a:hover,.sc-stzh-richtext-h .sc-stzh-richtext-s td a:focus,.sc-stzh-richtext-h .sc-stzh-richtext-s th a:hover,.sc-stzh-richtext-h .sc-stzh-richtext-s th a:focus{color:var(--stzh-link-hover-color)}.sc-stzh-richtext-h .sc-stzh-richtext-s td b,.sc-stzh-richtext-h .sc-stzh-richtext-s td strong,.sc-stzh-richtext-h .sc-stzh-richtext-s th b,.sc-stzh-richtext-h .sc-stzh-richtext-s th strong{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal}.sc-stzh-richtext-h .sc-stzh-richtext-s td i,.sc-stzh-richtext-h .sc-stzh-richtext-s td em,.sc-stzh-richtext-h .sc-stzh-richtext-s th i,.sc-stzh-richtext-h .sc-stzh-richtext-s th em{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.sc-stzh-richtext-h .sc-stzh-richtext-s td.align-left,.sc-stzh-richtext-h .sc-stzh-richtext-s th.align-left{text-align:left}.sc-stzh-richtext-h .sc-stzh-richtext-s td.align-right,.sc-stzh-richtext-h .sc-stzh-richtext-s th.align-right{text-align:right}.sc-stzh-richtext-h .sc-stzh-richtext-s td.align-center,.sc-stzh-richtext-h .sc-stzh-richtext-s th.align-center{text-align:center}.sc-stzh-richtext-h .sc-stzh-richtext-s td.valign-auto,.sc-stzh-richtext-h .sc-stzh-richtext-s th.valign-auto{vertical-align:auto}.sc-stzh-richtext-h .sc-stzh-richtext-s td.valign-middle,.sc-stzh-richtext-h .sc-stzh-richtext-s th.valign-middle{vertical-align:middle}.sc-stzh-richtext-h .sc-stzh-richtext-s td.valign-bottom,.sc-stzh-richtext-h .sc-stzh-richtext-s th.valign-bottom{vertical-align:bottom}.sc-stzh-richtext-h .sc-stzh-richtext-s td.nowrap,.sc-stzh-richtext-h .sc-stzh-richtext-s th.nowrap{white-space:nowrap}.sc-stzh-richtext-h .sc-stzh-richtext-s td.is-sticky-left,.sc-stzh-richtext-h .sc-stzh-richtext-s td.is-sticky-right,.sc-stzh-richtext-h .sc-stzh-richtext-s th.is-sticky-left,.sc-stzh-richtext-h .sc-stzh-richtext-s th.is-sticky-right{position:-webkit-sticky;position:sticky;z-index:1}.sc-stzh-richtext-h .sc-stzh-richtext-s td.has-sticked,.sc-stzh-richtext-h .sc-stzh-richtext-s th.has-sticked{z-index:2}.sc-stzh-richtext-h .sc-stzh-richtext-s td.is-sticky-left,.sc-stzh-richtext-h .sc-stzh-richtext-s th.is-sticky-left{left:0}.sc-stzh-richtext-h .sc-stzh-richtext-s td.is-sticky-right,.sc-stzh-richtext-h .sc-stzh-richtext-s th.is-sticky-right{right:0}.sc-stzh-richtext-h .sc-stzh-richtext-s td.is-sticky-left::after,.sc-stzh-richtext-h .sc-stzh-richtext-s td.is-sticky-right::after,.sc-stzh-richtext-h .sc-stzh-richtext-s th.is-sticky-left::after,.sc-stzh-richtext-h .sc-stzh-richtext-s th.is-sticky-right::after{background:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.16)), to(rgba(0, 0, 0, 0)));background:linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 100%);content:"";pointer-events:none;position:absolute;top:0;height:100%;width:0.375rem;-webkit-transform:translate(100%);transform:translate(100%);opacity:0;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed)}.sc-stzh-richtext-h .sc-stzh-richtext-s td.is-sticky-left::after,.sc-stzh-richtext-h .sc-stzh-richtext-s th.is-sticky-left::after{right:0}.sc-stzh-richtext-h .sc-stzh-richtext-s td.is-sticky-right::after,.sc-stzh-richtext-h .sc-stzh-richtext-s th.is-sticky-right::after{left:0;-webkit-transform:rotate(-180deg) translate(100%);transform:rotate(-180deg) translate(100%)}.sc-stzh-richtext-h .sc-stzh-richtext-s td.has-sticked.is-sticky-left::after,.sc-stzh-richtext-h .sc-stzh-richtext-s td.has-sticked.is-sticky-right::after,.sc-stzh-richtext-h .sc-stzh-richtext-s th.has-sticked.is-sticky-left::after,.sc-stzh-richtext-h .sc-stzh-richtext-s th.has-sticked.is-sticky-right::after{opacity:1}.sc-stzh-richtext-h .sc-stzh-richtext-s th{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.sc-stzh-richtext-h .sc-stzh-richtext-s th.is-sortable{padding:0}.sc-stzh-richtext-h .sc-stzh-richtext-s a{color:var(--stzh-link-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius);text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-richtext-h .sc-stzh-richtext-s a:hover{color:var(--stzh-link-hover-color)}.sc-stzh-richtext-h .sc-stzh-richtext-s .stzh-richtext__external-link{position:relative}.sc-stzh-richtext-h .sc-stzh-richtext-s .stzh-richtext__external-vhidden{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}.sc-stzh-richtext-h .sc-stzh-richtext-s .stzh-richtext__external-icon-wrapper{position:relative;display:inline-block;width:var(--stzh-icon-size-default);height:var(--stzh-link-icon-wrapper-height);margin-left:var(--stzh-space-xxsmall)}.sc-stzh-richtext-h .sc-stzh-richtext-s .stzh-richtext__external-icon{--icon:var(--stzh-icon-size-default);position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);margin-top:0.0625rem;width:var(--stzh-icon-size-default);height:var(--stzh-icon-size-default)}.sc-stzh-richtext-h .sc-stzh-richtext-s>*:first-child{margin-top:0 !important}.sc-stzh-richtext-h .sc-stzh-richtext-s>*:last-child{margin-bottom:0 !important}';export{n as stzh_ghettobox,z as stzh_richtext}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as s,c as a}from"./p-99a3742a.js";const t=class{constructor(s){e(this,s),this.curve="none",this.size="inherit",this.sizeSmall="inherit",this.sizeMedium="inherit",this.sizeLarge="inherit",this.sizeUltra="inherit",this.justify="start",this.items="start",this.around=!1,this.border="none"}render(){return s(a,null,s("div",{class:{"stzh-vspace":!0,[`stzh-vspace--justify-${this.justify}`]:!!this.justify,[`stzh-vspace--items-${this.items}`]:!!this.items}},s("slot",null)))}};t.style=':host{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}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}:host{--v-space:var(--stzh-space-default);--v-around:0;display:-ms-flexbox;display:flex;clear:both}:host::after{content:"";display:table;clear:both}:host ::slotted(*){max-width:100%;padding-top:calc(var(--v-space) * var(--v-around));padding-bottom:calc(var(--v-space) * var(--v-around));margin:0}:host ::slotted(*:not(:last-child)){margin-bottom:calc(var(--v-space) * (1 - var(--v-around)))}:host ::slotted(stzh-vspace),:host ::slotted(stzh-hspace),:host ::slotted(stzh-row),:host ::slotted(stzh-container),:host ::slotted(stzh-section){-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-positive:1;flex-grow:1}:host(:empty){--v-around:1;height:var(--v-space)}:host([around]:not([around=false])){--v-around:1}:host([border=top]),:host([border=top-bottom]){border-top:0.0625rem solid var(--stzh-base-border-color)}:host([border=bottom]),:host([border=top-bottom]){border-bottom:0.0625rem solid var(--stzh-base-border-color)}:host([curve=tiny]){--v-space:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){:host([curve=tiny]){--v-space:var(--stzh-space-small)}}@media screen and (min-width: 1260px){:host([curve=tiny]){--v-space:var(--stzh-space-medium)}}:host([curve=small]){--v-space:var(--stzh-space-small)}@media screen and (min-width: 1024px){:host([curve=small]){--v-space:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){:host([curve=small]){--v-space:var(--stzh-space-large)}}:host([curve=regular]){--v-space:var(--stzh-space-medium)}@media screen and (min-width: 1024px){:host([curve=regular]){--v-space:var(--stzh-space-large)}}@media screen and (min-width: 1260px){:host([curve=regular]){--v-space:var(--stzh-space-xlarge)}}:host([curve=medium]){--v-space:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){:host([curve=medium]){--v-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){:host([curve=medium]){--v-space:var(--stzh-space-xxxlarge)}}:host([curve=large]){--v-space:var(--stzh-space-xxlarge)}@media screen and (min-width: 1024px){:host([curve=large]){--v-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){:host([curve=large]){--v-space:var(--stzh-space-xxxxlarge)}}:host([curve=big]){--v-space:var(--stzh-space-xxxlarge)}@media screen and (min-width: 600px){:host([curve=big]){--v-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){:host([curve=big]){--v-space:var(--stzh-space-big)}}@media screen and (min-width: 1260px){:host([curve=big]){--v-space:var(--stzh-space-xbig)}}:host([curve=huge]){--v-space:var(--stzh-space-xxxxlarge)}@media screen and (min-width: 600px){:host([curve=huge]){--v-space:var(--stzh-space-big)}}@media screen and (min-width: 1024px){:host([curve=huge]){--v-space:var(--stzh-space-xbig)}}@media screen and (min-width: 1260px){:host([curve=huge]){--v-space:var(--stzh-space-huge)}}:host([size=xxxsmall]){--v-space:var(--stzh-space-xxxsmall)}:host([size=xxsmall]){--v-space:var(--stzh-space-xxsmall)}:host([size=xsmall]){--v-space:var(--stzh-space-xsmall)}:host([size=small]){--v-space:var(--stzh-space-small)}:host([size=medium]){--v-space:var(--stzh-space-medium)}:host([size=large]){--v-space:var(--stzh-space-large)}:host([size=xlarge]){--v-space:var(--stzh-space-xlarge)}:host([size=xxlarge]){--v-space:var(--stzh-space-xxlarge)}:host([size=xxxlarge]){--v-space:var(--stzh-space-xxxlarge)}:host([size=xxxxlarge]){--v-space:var(--stzh-space-xxxxlarge)}:host([size=big]){--v-space:var(--stzh-space-big)}:host([size=xbig]){--v-space:var(--stzh-space-xbig)}:host([size=huge]){--v-space:var(--stzh-space-huge)}:host([size=xhuge]){--v-space:var(--stzh-space-xhuge)}:host([size=none]){--v-space:var(--stzh-space-none)}:host([size=default]){--v-space:var(--stzh-space-default)}@media screen and (min-width: 600px){:host([size-small=xxxsmall]){--v-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 600px){:host([size-small=xxsmall]){--v-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 600px){:host([size-small=xsmall]){--v-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 600px){:host([size-small=small]){--v-space:var(--stzh-space-small)}}@media screen and (min-width: 600px){:host([size-small=medium]){--v-space:var(--stzh-space-medium)}}@media screen and (min-width: 600px){:host([size-small=large]){--v-space:var(--stzh-space-large)}}@media screen and (min-width: 600px){:host([size-small=xlarge]){--v-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 600px){:host([size-small=xxlarge]){--v-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 600px){:host([size-small=xxxlarge]){--v-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 600px){:host([size-small=xxxxlarge]){--v-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 600px){:host([size-small=big]){--v-space:var(--stzh-space-big)}}@media screen and (min-width: 600px){:host([size-small=xbig]){--v-space:var(--stzh-space-xbig)}}@media screen and (min-width: 600px){:host([size-small=huge]){--v-space:var(--stzh-space-huge)}}@media screen and (min-width: 600px){:host([size-small=xhuge]){--v-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 600px){:host([size-small=none]){--v-space:var(--stzh-space-none)}}@media screen and (min-width: 600px){:host([size-small=default]){--v-space:var(--stzh-space-default)}}@media screen and (min-width: 800px){:host([size-smallheader=xxxsmall]){--v-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 800px){:host([size-smallheader=xxsmall]){--v-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 800px){:host([size-smallheader=xsmall]){--v-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 800px){:host([size-smallheader=small]){--v-space:var(--stzh-space-small)}}@media screen and (min-width: 800px){:host([size-smallheader=medium]){--v-space:var(--stzh-space-medium)}}@media screen and (min-width: 800px){:host([size-smallheader=large]){--v-space:var(--stzh-space-large)}}@media screen and (min-width: 800px){:host([size-smallheader=xlarge]){--v-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 800px){:host([size-smallheader=xxlarge]){--v-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 800px){:host([size-smallheader=xxxlarge]){--v-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 800px){:host([size-smallheader=xxxxlarge]){--v-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 800px){:host([size-smallheader=big]){--v-space:var(--stzh-space-big)}}@media screen and (min-width: 800px){:host([size-smallheader=xbig]){--v-space:var(--stzh-space-xbig)}}@media screen and (min-width: 800px){:host([size-smallheader=huge]){--v-space:var(--stzh-space-huge)}}@media screen and (min-width: 800px){:host([size-smallheader=xhuge]){--v-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 800px){:host([size-smallheader=none]){--v-space:var(--stzh-space-none)}}@media screen and (min-width: 800px){:host([size-smallheader=default]){--v-space:var(--stzh-space-default)}}@media screen and (min-width: 1024px){:host([size-medium=xxxsmall]){--v-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1024px){:host([size-medium=xxsmall]){--v-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1024px){:host([size-medium=xsmall]){--v-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1024px){:host([size-medium=small]){--v-space:var(--stzh-space-small)}}@media screen and (min-width: 1024px){:host([size-medium=medium]){--v-space:var(--stzh-space-medium)}}@media screen and (min-width: 1024px){:host([size-medium=large]){--v-space:var(--stzh-space-large)}}@media screen and (min-width: 1024px){:host([size-medium=xlarge]){--v-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){:host([size-medium=xxlarge]){--v-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1024px){:host([size-medium=xxxlarge]){--v-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1024px){:host([size-medium=xxxxlarge]){--v-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){:host([size-medium=big]){--v-space:var(--stzh-space-big)}}@media screen and (min-width: 1024px){:host([size-medium=xbig]){--v-space:var(--stzh-space-xbig)}}@media screen and (min-width: 1024px){:host([size-medium=huge]){--v-space:var(--stzh-space-huge)}}@media screen and (min-width: 1024px){:host([size-medium=xhuge]){--v-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1024px){:host([size-medium=none]){--v-space:var(--stzh-space-none)}}@media screen and (min-width: 1024px){:host([size-medium=default]){--v-space:var(--stzh-space-default)}}@media screen and (min-width: 1260px){:host([size-large=xxxsmall]){--v-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1260px){:host([size-large=xxsmall]){--v-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1260px){:host([size-large=xsmall]){--v-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){:host([size-large=small]){--v-space:var(--stzh-space-small)}}@media screen and (min-width: 1260px){:host([size-large=medium]){--v-space:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){:host([size-large=large]){--v-space:var(--stzh-space-large)}}@media screen and (min-width: 1260px){:host([size-large=xlarge]){--v-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){:host([size-large=xxlarge]){--v-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){:host([size-large=xxxlarge]){--v-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){:host([size-large=xxxxlarge]){--v-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){:host([size-large=big]){--v-space:var(--stzh-space-big)}}@media screen and (min-width: 1260px){:host([size-large=xbig]){--v-space:var(--stzh-space-xbig)}}@media screen and (min-width: 1260px){:host([size-large=huge]){--v-space:var(--stzh-space-huge)}}@media screen and (min-width: 1260px){:host([size-large=xhuge]){--v-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1260px){:host([size-large=none]){--v-space:var(--stzh-space-none)}}@media screen and (min-width: 1260px){:host([size-large=default]){--v-space:var(--stzh-space-default)}}@media screen and (min-width: 1440px){:host([size-ultra=xxxsmall]){--v-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1440px){:host([size-ultra=xxsmall]){--v-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1440px){:host([size-ultra=xsmall]){--v-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1440px){:host([size-ultra=small]){--v-space:var(--stzh-space-small)}}@media screen and (min-width: 1440px){:host([size-ultra=medium]){--v-space:var(--stzh-space-medium)}}@media screen and (min-width: 1440px){:host([size-ultra=large]){--v-space:var(--stzh-space-large)}}@media screen and (min-width: 1440px){:host([size-ultra=xlarge]){--v-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1440px){:host([size-ultra=xxlarge]){--v-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1440px){:host([size-ultra=xxxlarge]){--v-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1440px){:host([size-ultra=xxxxlarge]){--v-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1440px){:host([size-ultra=big]){--v-space:var(--stzh-space-big)}}@media screen and (min-width: 1440px){:host([size-ultra=xbig]){--v-space:var(--stzh-space-xbig)}}@media screen and (min-width: 1440px){:host([size-ultra=huge]){--v-space:var(--stzh-space-huge)}}@media screen and (min-width: 1440px){:host([size-ultra=xhuge]){--v-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1440px){:host([size-ultra=none]){--v-space:var(--stzh-space-none)}}@media screen and (min-width: 1440px){:host([size-ultra=default]){--v-space:var(--stzh-space-default)}}.stzh-vspace{-ms-flex-positive:1;flex-grow:1;width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:start;align-items:flex-start;padding:0;margin:0;}.stzh-vspace--border-top{border-top:0.0625rem solid var(--stzh-base-border-color)}.stzh-vspace--border-bottom{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-vspace--justify-center{-ms-flex-pack:center;justify-content:center}.stzh-vspace--justify-end{-ms-flex-pack:end;justify-content:flex-end}.stzh-vspace--justify-between{-ms-flex-pack:justify;justify-content:space-between}.stzh-vspace--justify-around{-ms-flex-pack:distribute;justify-content:space-around}.stzh-vspace--justify-evenly{-ms-flex-pack:space-evenly;justify-content:space-evenly}.stzh-vspace--items-end{-ms-flex-align:end;align-items:flex-end}.stzh-vspace--items-center{-ms-flex-align:center;align-items:center}.stzh-vspace--items-baseline{-ms-flex-align:baseline;align-items:baseline}.stzh-vspace--items-stretch{-ms-flex-align:stretch;align-items:stretch}';export{t as stzh_vspace}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,e as o,h as s,c as e,g as r}from"./p-99a3742a.js";import{c as i,a,A as p,o as h,f as n,s as l,b as c}from"./p-d04bbc19.js";import{c as d}from"./p-44b03dbb.js";import{i as v}from"./p-5c697491.js";import{f as z}from"./p-25a09313.js";import{m}from"./p-9111e257.js";import{w as f}from"./p-df2bb358.js";import{s as b,a as x}from"./p-5011f10c.js";const u="stzh-popover-open";let w=0;const g=class{constructor(s){t(this,s),this.stzhOpen=o(this,"stzhOpen",7),this.stzhOpened=o(this,"stzhOpened",7),this.stzhClose=o(this,"stzhClose",7),this.stzhClosed=o(this,"stzhClosed",7),this.initialTouchX=null,this.initialTouchY=null,this.handleKeydown=t=>{27===t.keyCode&&this.hide()},this.onClickTrigger=()=>{this.toggle()},this.computePosition=async()=>{if(m("small").matches){const t=[h({mainAxis:this.distance,crossAxis:this.skidding}),n({padding:5}),l({padding:5})];"tooltip"===this.variant&&t.push(c({element:this.arrowElement,padding:5}));const{x:o=0,y:s=0,strategy:e="absolute",placement:r,middlewareData:a}=await i(this.element,this.dialogElement,{strategy:this.strategy,placement:this.placement,middleware:t});this.computedPlacement=r,Object.assign(this.dialogElement.style,{position:e,left:`${o}px`,top:`${s}px`}),"tooltip"===this.variant&&Object.assign(this.arrowElement.style,{left:null!=o?`${a.arrow.x}px`:"",top:null!=s?`${a.arrow.y}px`:""})}else Object.assign(this.dialogElement.style,{position:null,left:null,top:null}),"tooltip"===this.variant&&Object.assign(this.arrowElement.style,{left:null,top:null})},this.handleTouchStart=t=>{const o=t.changedTouches[0];this.initialTouchX=o.pageX,this.initialTouchY=o.pageY},this.handleTouchEnd=t=>{const o=t.changedTouches[0],s=o.pageX-this.initialTouchX;Math.abs(o.pageY-this.initialTouchY)>=70&&Math.abs(s)<=70&&this.hide(),this.initialTouchY=null,this.initialTouchX=null},this.open=!1,this.placement="bottom",this.variant="default",this.skidding=0,this.distance=void 0,this.label="",this.strategy="absolute",this.localization=void 0,this.computedPlacement=void 0}async show(){if(!this.open)return this.toggledByMethod=!0,this.open=!0,f(this.element,"stzhOpened")}async hide(){if(this.open)return this.toggledByMethod=!0,this.open=!1,f(this.element,"stzhClosed")}async toggle(){return this.open?await this.hide():await this.show()}async update(){return await this.computePosition()}handleOutsideClick(t){if(!this.open)return;const o=t.target!==this.dialogElement&&!1===this.dialogElement.contains(t.target),s=t.target===this.triggerElement||this.triggerElement.contains(t.target);o&&!s&&this.hide()}async openWatcher(t){if(this.dialogElement){if(t){this.toggledByMethod&&this.stzhOpen.emit({component:"stzh-popover"});const t={keyframes:[{opacity:"0"},{opacity:"1"}],options:{duration:m("small").matches?100:200,easing:"linear"}},o=function(){const t=m("small").matches;return{keyframes:[{transform:t?"translateY(-8px)":"translateY(100%)"},{transform:"translateY(0px)"}],options:{duration:t?100:200,easing:"linear"}}}();await Promise.all([b(this.contentWrapperElement),b(this.contentElement),b(this.dialogElement)]),this.dialogElement.style.willChange="transform, opacity, position, top, left, bottom, right",this.contentWrapperElement.hidden=!1,await Promise.all([x(this.contentWrapperElement,t.keyframes,t.options),x(m("small").matches?this.dialogElement:this.contentElement,o.keyframes,o.options)]),this.toggledByMethod&&this.stzhOpened.emit({component:"stzh-popover"})}else{this.toggledByMethod&&this.stzhClose.emit({component:"stzh-popover"});const t={keyframes:[{opacity:"1"},{opacity:"0"}],options:{duration:m("small").matches?200:300,easing:"linear"}},o=function(){const t=m("small").matches;return{keyframes:[{transform:"translateY(0px)"},{transform:t?"translateY(-8px)":"translateY(100%)"}],options:{duration:t?200:300,easing:"linear"}}}();await Promise.all([b(this.contentWrapperElement),b(this.contentElement),b(this.dialogElement)]),await Promise.all([x(this.contentWrapperElement,t.keyframes,t.options),x(m("small").matches?this.dialogElement:this.contentElement,o.keyframes,o.options)]),this.contentWrapperElement.hidden=!0,this.dialogElement.style.willChange="auto",this.toggledByMethod&&this.stzhClosed.emit({component:"stzh-popover"})}this.toggledByMethod=!1}}distanceWatcher(t){this.distance="number"==typeof t?t:"tooltip"===this.variant?16:8}async componentWillLoad(){this.id="stzh-popover-"+w++,this.distanceWatcher(this.distance),this.localization||(this.localization=await z(this.element,"popover"))}popoverShown(){document.body.classList.add(u);const t=v(this.triggerElement.firstElementChild);this.triggerElement.firstElementChild.setAttribute(t?"a11y-expanded":"aria-expanded","true"),this.trap&&this.trap.activate()}popoverHidden(){document.body.classList.remove(u);const t=v(this.triggerElement.firstElementChild);this.triggerElement.firstElementChild.setAttribute(t?"a11y-expanded":"aria-expanded","false"),this.trap&&this.trap.deactivate()}componentDidRender(){this.computePosition(),this.open?this.popoverShown():this.popoverHidden();const t=v(this.triggerElement.firstElementChild);(t&&!this.triggerElement.firstElementChild.getAttribute("a11y-describedby")||this.triggerElement.firstElementChild.getAttribute("aria-describedby"))&&this.triggerElement.firstElementChild.setAttribute(t?"a11y-describedby":"aria-describedby",`${this.id}-trigger-description`),(t&&!this.triggerElement.firstElementChild.getAttribute("a11y-label")||this.triggerElement.firstElementChild.getAttribute("aria-label"))&&this.triggerElement.firstElementChild.setAttribute(t?"a11y-label":"aria-label",this.label)}componentDidUpdate(){this.trap.updateContainerElements(this.dialogElement)}componentDidLoad(){this.autoUpdateCleanup=a(this.element,this.dialogElement,this.computePosition),this.contentWrapperElement.hidden=!this.open,this.trap=d(this.dialogElement,{fallbackFocus:this.dialogElement,clickOutsideDeactivates:!0,returnFocusOnDeactivate:!0}),this.open&&this.popoverShown()}connectedCallback(){var t;let o=null===(t=this.triggerElement)||void 0===t?void 0:t.firstElementChild;o||(o=Array.from(this.element.children).find((t=>!t.hasAttribute("slot")))),o&&o.addEventListener("click",this.onClickTrigger)}disconnectedCallback(){this.autoUpdateCleanup&&this.autoUpdateCleanup(),this.triggerElement&&this.triggerElement.firstElementChild&&this.triggerElement.firstElementChild.removeEventListener("click",this.onClickTrigger)}render(){return s(e,null,s("div",{class:{"stzh-popover":!0,"stzh-popover--open":this.open,[`stzh-popover--placement-${this.computedPlacement}`]:!!this.computedPlacement,[`stzh-popover--${this.variant}`]:!!this.variant},onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},s("div",{ref:t=>this.triggerElement=t,class:"stzh-popover__trigger"},s("slot",null)),s("div",{class:"stzh-popover__vhidden",id:`${this.id}-trigger-description`},this.localization.open),s("div",{ref:t=>this.contentWrapperElement=t,class:"stzh-popover__content-wrapper"},s("div",{class:"stzh-popover__backdrop"}),s("div",{ref:t=>this.contentElement=t,class:"stzh-popover__content"},s("div",{ref:t=>this.dialogElement=t,class:"stzh-popover__dialog",role:"dialog",tabindex:"-1","aria-modal":"true","aria-labelledby":this.label?`${this.id}-label`:null,"aria-hidden":this.open?"false":"true",onKeyDown:this.handleKeydown},"tooltip"===this.variant&&s("div",{class:"stzh-popover__arrow",ref:t=>this.arrowElement=t,innerHTML:p}),s("div",{class:"stzh-popover__content-inner"},s("div",{class:"stzh-popover__label-wrapper"},s("h2",{id:`${this.id}-label`,class:"stzh-popover__label"},this.label?this.label:s("slot",{name:"label"})),s("button",{class:"stzh-popover__close",onClick:()=>this.hide(),type:"button"},s("stzh-icon",{name:"close",class:"stzh-popover__icon"}),s("span",{class:"stzh-popover__vhidden"},this.localization.close))),s("div",{class:"stzh-popover__content-slot"},s("slot",{name:"content"}),s("div",{class:"stzh-popover__action-slot"},s("slot",{name:"action"})))))))))}get element(){return r(this)}static get watchers(){return{open:["openWatcher"],distance:["distanceWatcher"]}}};g.style=".sc-stzh-popover-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-popover-h{display:none}.sc-stzh-popover-h *.sc-stzh-popover,.sc-stzh-popover-h *.sc-stzh-popover::before,.sc-stzh-popover-h *.sc-stzh-popover::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-popover-h{--width:var(--stzh-popover-width);--min-width:var(--stzh-popover-min-width);--max-width:var(--stzh-popover-max-width);--padding:0px;--border-radius:var(--stzh-popover-border-radius)}[variant=tooltip].sc-stzh-popover-h{--width:var(--stzh-tooltip-width);--min-width:var(--stzh-tooltip-min-width);--max-width:var(--stzh-tooltip-max-width);--padding:var(--stzh-space-small) var(--stzh-space-large);--border-radius:var(--stzh-tooltip-border-radius)}@media screen and (min-width: 600px){[variant=tooltip].sc-stzh-popover-h{--padding:var(--stzh-tooltip-padding)}}.stzh-popover__arrow.sc-stzh-popover{position:absolute;display:-ms-flexbox;display:flex;color:var(--stzh-color-white)}.stzh-popover--placement-bottom.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-bottom-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-bottom-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{top:0;-webkit-transform:translateY(-0.5rem);transform:translateY(-0.5rem)}.stzh-popover--placement-top.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-top-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-top-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{bottom:0;-webkit-transform:translateY(0.5rem) rotate(180deg);transform:translateY(0.5rem) rotate(180deg)}.stzh-popover--placement-left.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-left-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-left-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{right:0;-webkit-transform:translateX(0.75rem) rotate(90deg);transform:translateX(0.75rem) rotate(90deg)}.stzh-popover--placement-right.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-right-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-right-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{left:0;-webkit-transform:translateX(-0.75rem) rotate(-90deg);transform:translateX(-0.75rem) rotate(-90deg)}@media screen and (max-width: 599px){.stzh-popover__content-wrapper.sc-stzh-popover{z-index:var(--stzh-z-index-dialog);display:-ms-flexbox;display:flex;position:fixed;top:0;left:0;width:100%;height:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:stretch;justify-content:stretch}}@media screen and (max-width: 599px){.stzh-popover__backdrop.sc-stzh-popover{z-index:1;position:absolute;top:0px;left:0px;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;text-align:center;background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));opacity:0.8}}@media screen and (max-width: 599px){.stzh-popover__content.sc-stzh-popover{z-index:2;position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-positive:1;flex-grow:1;overflow:auto}}.stzh-popover__dialog.sc-stzh-popover{margin-top:auto;width:100%;overflow:visible;border-top-left-radius:0.125rem;border-top-right-radius:0.125rem;background-color:var(--stzh-color-white);-ms-touch-action:none;touch-action:none;outline:none;border-bottom:0.125rem solid var(--stzh-color-grey13)}@media screen and (min-width: 600px){.stzh-popover__dialog.sc-stzh-popover{z-index:var(--stzh-z-index-popover);position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);left:auto;right:auto;bottom:auto;border-radius:var(--border-radius);-webkit-box-shadow:var(--stzh-box-shadow-popover);box-shadow:var(--stzh-box-shadow-popover);border:none}}.stzh-popover__content-inner.sc-stzh-popover{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.stzh-popover__content-slot.sc-stzh-popover{padding:var(--padding)}.stzh-popover__action-slot.sc-stzh-popover{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.stzh-popover__action-slot.sc-stzh-popover:not(:empty){margin:var(--stzh-space-xsmall) var(--stzh-space-small);margin-bottom:var(--stzh-space-medium)}.stzh-popover__label-wrapper.sc-stzh-popover{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:var(--stzh-space-small) var(--stzh-space-large);padding-right:var(--stzh-space-medium);border-bottom:0.0625rem solid var(--stzh-base-border-color);color:var(--stzh-color-grey70)}@media screen and (min-width: 600px){.stzh-popover__label-wrapper.sc-stzh-popover{padding:0;border-bottom:0}}.stzh-popover__label.sc-stzh-popover{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-p2-default-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-p2-default-text-line-height, var(--stzh-font-micro-text-line-height));margin:0;margin-right:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-popover__label.sc-stzh-popover{font-size:var(--stzh-font-curve-p2-medium-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p2-medium-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p2-medium-text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-popover__label.sc-stzh-popover{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-popover__close.sc-stzh-popover{cursor:pointer;display:-ms-flexbox;display:flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;border:none;background-color:transparent;padding:0;margin-left:auto;border-radius:50%;color:var(--stzh-base-lead-color);padding:var(--stzh-space-xxsmall)}.stzh-popover__icon.sc-stzh-popover{--size:var(--stzh-icon-size-xsmall)}.stzh-popover__arrow.sc-stzh-popover{position:absolute;display:-ms-flexbox;display:flex;color:var(--stzh-color-white)}.stzh-popover__vhidden.sc-stzh-popover{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-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:focus{-webkit-box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue))}@media screen and (min-width: 600px){.stzh-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover{position:absolute;top:0;right:0;-webkit-transform:translate(30%, -30%);transform:translate(30%, -30%);background-color:var(--stzh-color-grey5)}.stzh-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:not(:focus):not(:active){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}}@media screen and (min-width: 600px){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__close.sc-stzh-popover{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;border:none;background-color:transparent;padding:0;position:absolute;top:0;right:0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;padding:var(--stzh-space-xxsmall);padding-bottom:var(--stzh-space-xxxsmall);color:var(--stzh-base-lead-color);border-radius:var(--stzh-button-border-radius)}}@media screen and (min-width: 600px){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__icon.sc-stzh-popover{--size:var(--stzh-icon-size-xxsmall)}}@media screen and (min-width: 600px){@supports ((-webkit-filter: var(--stzh-tooltip-drop-shadow)) or (filter: var(--stzh-tooltip-drop-shadow))){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__dialog.sc-stzh-popover{-webkit-box-shadow:none;box-shadow:none;-webkit-filter:var(--stzh-tooltip-drop-shadow);filter:var(--stzh-tooltip-drop-shadow)}}}.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__content-slot.sc-stzh-popover{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}";export{g as stzh_popover}
|
|
@@ -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;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.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
|
+
var __awaiter=this&&this.__awaiter||function(n,s,t,e){function a(n){return n instanceof t?n:new t((function(s){s(n)}))}return new(t||(t=Promise))((function(t,c){function r(n){try{h(e.next(n))}catch(s){c(s)}}function o(n){try{h(e["throw"](n))}catch(s){c(s)}}function h(n){n.done?t(n.value):a(n.value).then(r,o)}h((e=e.apply(n,s||[])).next())}))};var __generator=this&&this.__generator||function(n,s){var t={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},e,a,c,r;return r={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function o(n){return function(s){return h([n,s])}}function h(o){if(e)throw new TypeError("Generator is already executing.");while(r&&(r=0,o[0]&&(t=0)),t)try{if(e=1,a&&(c=o[0]&2?a["return"]:o[0]?a["throw"]||((c=a["return"])&&c.call(a),0):a.next)&&!(c=c.call(a,o[1])).done)return c;if(a=0,c)o=[o[0]&2,c.value];switch(o[0]){case 0:case 1:c=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;a=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(c=t.trys,c=c.length>0&&c[c.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!c||o[1]>c[0]&&o[1]<c[3])){t.label=o[1];break}if(o[0]===6&&t.label<c[1]){t.label=c[1];c=o;break}if(c&&t.label<c[2]){t.label=c[2];t.ops.push(o);break}if(c[2])t.ops.pop();t.trys.pop();continue}o=s.call(n,t)}catch(h){o=[6,h];a=0}finally{e=c=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-36e72c1d.system.js"],(function(n){"use strict";var s,t,e,a;return{setters:[function(n){s=n.r;t=n.e;e=n.h;a=n.c}],execute:function(){var c='.sc-stzh-anchornav-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-anchornav-h{display:none}.sc-stzh-anchornav-h *.sc-stzh-anchornav,.sc-stzh-anchornav-h *.sc-stzh-anchornav::before,.sc-stzh-anchornav-h *.sc-stzh-anchornav::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-anchornav-h{--columns:1;width:100%}[columns="1"].sc-stzh-anchornav-h{--columns:1}[columns="2"].sc-stzh-anchornav-h{--columns:2}[columns="3"].sc-stzh-anchornav-h{--columns:3}[columns="4"].sc-stzh-anchornav-h{--columns:4}[columns="5"].sc-stzh-anchornav-h{--columns:5}@media screen and (min-width: 600px){[columns-small="1"].sc-stzh-anchornav-h{--columns:1}}@media screen and (min-width: 600px){[columns-small="2"].sc-stzh-anchornav-h{--columns:2}}@media screen and (min-width: 600px){[columns-small="3"].sc-stzh-anchornav-h{--columns:3}}@media screen and (min-width: 600px){[columns-small="4"].sc-stzh-anchornav-h{--columns:4}}@media screen and (min-width: 600px){[columns-small="5"].sc-stzh-anchornav-h{--columns:5}}@media screen and (min-width: 800px){[columns-smallheader="1"].sc-stzh-anchornav-h{--columns:1}}@media screen and (min-width: 800px){[columns-smallheader="2"].sc-stzh-anchornav-h{--columns:2}}@media screen and (min-width: 800px){[columns-smallheader="3"].sc-stzh-anchornav-h{--columns:3}}@media screen and (min-width: 800px){[columns-smallheader="4"].sc-stzh-anchornav-h{--columns:4}}@media screen and (min-width: 800px){[columns-smallheader="5"].sc-stzh-anchornav-h{--columns:5}}@media screen and (min-width: 1024px){[columns-medium="1"].sc-stzh-anchornav-h{--columns:1}}@media screen and (min-width: 1024px){[columns-medium="2"].sc-stzh-anchornav-h{--columns:2}}@media screen and (min-width: 1024px){[columns-medium="3"].sc-stzh-anchornav-h{--columns:3}}@media screen and (min-width: 1024px){[columns-medium="4"].sc-stzh-anchornav-h{--columns:4}}@media screen and (min-width: 1024px){[columns-medium="5"].sc-stzh-anchornav-h{--columns:5}}@media screen and (min-width: 1260px){[columns-large="1"].sc-stzh-anchornav-h{--columns:1}}@media screen and (min-width: 1260px){[columns-large="2"].sc-stzh-anchornav-h{--columns:2}}@media screen and (min-width: 1260px){[columns-large="3"].sc-stzh-anchornav-h{--columns:3}}@media screen and (min-width: 1260px){[columns-large="4"].sc-stzh-anchornav-h{--columns:4}}@media screen and (min-width: 1260px){[columns-large="5"].sc-stzh-anchornav-h{--columns:5}}@media screen and (min-width: 1440px){[columns-ultra="1"].sc-stzh-anchornav-h{--columns:1}}@media screen and (min-width: 1440px){[columns-ultra="2"].sc-stzh-anchornav-h{--columns:2}}@media screen and (min-width: 1440px){[columns-ultra="3"].sc-stzh-anchornav-h{--columns:3}}@media screen and (min-width: 1440px){[columns-ultra="4"].sc-stzh-anchornav-h{--columns:4}}@media screen and (min-width: 1440px){[columns-ultra="5"].sc-stzh-anchornav-h{--columns:5}}.stzh-anchornav__list.sc-stzh-anchornav{-moz-column-count:var(--columns);-webkit-column-count:var(--columns);column-count:var(--columns);margin:calc((var(--stzh-space-large) / 2) / -2)}.stzh-anchornav__item.sc-stzh-anchornav{--text-decoration-line:none;--hover-text-decoration-line:underline;padding:calc(var(--stzh-space-large) / 2)}.stzh-anchornav--has-border.sc-stzh-anchornav{padding:calc(var(--stzh-space-large)) 0;border-top:0.0625rem solid var(--stzh-base-border-color);border-bottom:0.0625rem solid var(--stzh-base-border-color)}';var r=n("stzh_anchornav",function(){function n(n){s(this,n);this.stzhItemClick=t(this,"stzhItemClick",7);this.columns=1;this.columnsSmall=0;this.columnsMedium=0;this.columnsLarge=0;this.columnsUltra=0;this.items=[];this.withBorder=false}n.prototype.appointmentsWatcher=function(n){if(typeof n==="string"){this._items=JSON.parse(n)}else{this._items=n}};n.prototype.handleClick=function(n,s){this.stzhItemClick.emit({component:"stzh-anchornav",item:n,originalEvent:s})};n.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){this.appointmentsWatcher(this.items);return[2]}))}))};n.prototype.render=function(){var n=this;var s={"stzh-anchornav":true,"stzh-anchornav--has-border":this.withBorder};return e(a,null,e("div",{class:s},e("div",{class:"stzh-anchornav__list",role:"list"},this._items.map((function(s){return e("stzh-link",{class:"stzh-anchornav__item",role:"listitem",fullwidth:true,"text-align":"left",href:s.href,icon:s.icon||"arrow-right-down",size:"small",onClick:function(t){return n.handleClick(s,t)}},e("stzh-clamp",{lines:2},s.label))})))))};Object.defineProperty(n,"watchers",{get:function(){return{items:["appointmentsWatcher"]}},enumerable:false,configurable:true});return n}());r.style=c}}}));
|