@swisspost/design-system-components 10.0.0-next.72 → 10.0.0-next.76
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/{create-validator-decorator-Bnx17kwi.js → create-validator-decorator-4dRrOF30.js} +1 -1
- package/dist/cjs/{index-ngUOBQot.js → index-BqngpwGa.js} +56 -15
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{one-of-BHyX4vYq.js → one-of-D1veqtsm.js} +1 -1
- package/dist/cjs/{package-Bi-tiNRc.js → package-B0PdQ0Dm.js} +1 -1
- package/dist/cjs/{pattern-BgBx5zGQ.js → pattern-B7VKOu5m.js} +1 -1
- package/dist/cjs/post-accordion_2.cjs.entry.js +10 -12
- package/dist/cjs/post-autocomplete.cjs.entry.js +6 -6
- package/dist/cjs/post-avatar.cjs.entry.js +7 -7
- package/dist/cjs/post-back-to-top.cjs.entry.js +6 -6
- package/dist/cjs/post-banner.cjs.entry.js +6 -6
- package/dist/cjs/post-breadcrumb-item.cjs.entry.js +8 -8
- package/dist/cjs/post-breadcrumbs.cjs.entry.js +9 -11
- package/dist/cjs/post-closebutton_14.cjs.entry.js +86 -62
- package/dist/cjs/post-collapsible_2.cjs.entry.js +6 -6
- package/dist/cjs/post-components.cjs.js +2 -2
- package/dist/cjs/post-date-picker.cjs.entry.js +427 -257
- package/dist/cjs/post-footer.cjs.entry.js +6 -6
- package/dist/cjs/post-linkarea.cjs.entry.js +3 -3
- package/dist/cjs/post-listbox-option.cjs.entry.js +4 -4
- package/dist/cjs/post-listbox.cjs.entry.js +3 -3
- package/dist/cjs/post-number-input.cjs.entry.js +6 -5
- package/dist/cjs/post-pagination.cjs.entry.js +15 -10
- package/dist/cjs/post-popover-trigger.cjs.entry.js +5 -5
- package/dist/cjs/post-popover.cjs.entry.js +11 -12
- package/dist/cjs/post-progressbar.cjs.entry.js +4 -4
- package/dist/cjs/post-rating.cjs.entry.js +6 -6
- package/dist/cjs/post-side-navigation-trigger.cjs.entry.js +109 -0
- package/dist/cjs/post-side-navigation.cjs.entry.js +140 -0
- package/dist/cjs/post-stepper-item.cjs.entry.js +4 -4
- package/dist/cjs/post-stepper.cjs.entry.js +9 -7
- package/dist/cjs/post-tab-item.cjs.entry.js +15 -14
- package/dist/cjs/post-tab-panel.cjs.entry.js +6 -6
- package/dist/cjs/post-tabs.cjs.entry.js +196 -74
- package/dist/cjs/post-tooltip-trigger.cjs.entry.js +7 -9
- package/dist/cjs/post-tooltip.cjs.entry.js +9 -10
- package/dist/cjs/{required-lRDOdbd6.js → required-Bkz8MOYa.js} +1 -1
- package/dist/cjs/{type-shT641Eo.js → type-D8eD1JMd.js} +1 -1
- package/dist/cjs/{url-DRUMqVBq.js → url-C7MnIIZ_.js} +1 -1
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/post-accordion/post-accordion.js +1 -1
- package/dist/collection/components/post-accordion-item/post-accordion-item.js +4 -36
- package/dist/collection/components/post-autocomplete/post-autocomplete.js +1 -1
- package/dist/collection/components/post-avatar/post-avatar.js +1 -1
- package/dist/collection/components/post-back-to-top/post-back-to-top.js +1 -1
- package/dist/collection/components/post-banner/post-banner.css +2 -2
- package/dist/collection/components/post-banner/post-banner.js +1 -1
- package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.css +1 -1
- package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.css +1 -1
- package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.js +2 -4
- package/dist/collection/components/post-closebutton/post-closebutton.css +1 -1
- package/dist/collection/components/post-closebutton/post-closebutton.js +22 -11
- package/dist/collection/components/post-closebutton/types.js +1 -1
- package/dist/collection/components/post-collapsible/post-collapsible.js +1 -1
- package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +1 -1
- package/dist/collection/components/post-date-picker/accessibility-utils.js +59 -0
- package/dist/collection/components/post-date-picker/date-utils.js +102 -0
- package/dist/collection/components/post-date-picker/native-mask-element.js +36 -0
- package/dist/collection/components/post-date-picker/post-date-picker.css +1 -1
- package/dist/collection/components/post-date-picker/post-date-picker.js +224 -301
- package/dist/collection/components/post-footer/post-footer.js +1 -1
- package/dist/collection/components/post-header/post-header.css +1 -1
- package/dist/collection/components/post-header/post-header.js +13 -11
- package/dist/collection/components/post-icon/post-icon.js +1 -1
- package/dist/collection/components/post-language-menu/post-language-menu.css +1 -1
- package/dist/collection/components/post-language-menu/post-language-menu.js +7 -5
- package/dist/collection/components/post-language-menu-item/post-language-menu-item.css +1 -1
- package/dist/collection/components/post-linkarea/post-linkarea.js +1 -1
- package/dist/collection/components/post-listbox/post-listbox.js +1 -1
- package/dist/collection/components/post-listbox-option/post-listbox-option.js +2 -2
- package/dist/collection/components/post-logo/post-logo.js +1 -1
- package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +1 -1
- package/dist/collection/components/post-megadropdown/post-megadropdown.css +1 -1
- package/dist/collection/components/post-megadropdown/post-megadropdown.js +1 -1
- package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.css +1 -1
- package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +1 -1
- package/dist/collection/components/post-menu/post-menu.css +1 -1
- package/dist/collection/components/post-menu/post-menu.js +9 -12
- package/dist/collection/components/post-menu-item/post-menu-item.css +1 -1
- package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +1 -1
- package/dist/collection/components/post-number-input/post-number-input.css +1 -1
- package/dist/collection/components/post-number-input/post-number-input.js +3 -2
- package/dist/collection/components/post-pagination/post-pagination.css +1 -1
- package/dist/collection/components/post-pagination/post-pagination.js +11 -5
- package/dist/collection/components/post-popover/post-popover.js +12 -22
- package/dist/collection/components/post-popover-trigger/post-popover-trigger.js +1 -1
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.css +1 -1
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +17 -12
- package/dist/collection/components/post-progressbar/post-progressbar.js +1 -1
- package/dist/collection/components/post-rating/post-rating.js +1 -1
- package/dist/collection/components/post-side-navigation/post-side-navigation.css +1 -0
- package/dist/collection/components/post-side-navigation/post-side-navigation.js +267 -0
- package/dist/collection/components/post-side-navigation/side-navigation-styles.js +1 -0
- package/dist/collection/components/post-side-navigation-trigger/post-side-navigation-trigger.css +1 -0
- package/dist/collection/components/post-side-navigation-trigger/post-side-navigation-trigger.js +154 -0
- package/dist/collection/components/post-stepper/post-stepper.js +3 -1
- package/dist/collection/components/post-stepper-item/post-stepper-item.css +1 -1
- package/dist/collection/components/post-stepper-item/post-stepper-item.js +1 -1
- package/dist/collection/components/post-tab-item/post-tab-item.js +36 -19
- package/dist/collection/components/post-tab-panel/post-tab-panel.js +3 -2
- package/dist/collection/components/post-tabs/post-tabs.css +1 -1
- package/dist/collection/components/post-tabs/post-tabs.js +255 -84
- package/dist/collection/components/post-togglebutton/post-togglebutton.js +1 -1
- package/dist/collection/components/post-tooltip/post-tooltip.js +12 -22
- package/dist/collection/components/post-tooltip-trigger/post-tooltip-trigger.js +2 -4
- package/dist/collection/types/element-api.js +3 -0
- package/dist/component-names.json +2 -1
- package/dist/components/index.d.ts +4 -2
- package/dist/components/index.js +1 -1
- package/dist/components/package.js +1 -1
- package/dist/components/post-accordion-item2.js +1 -1
- package/dist/components/post-accordion2.js +1 -1
- package/dist/components/post-autocomplete.js +1 -1
- package/dist/components/post-avatar.js +1 -1
- package/dist/components/post-back-to-top.js +1 -1
- package/dist/components/post-banner.js +1 -1
- package/dist/components/post-breadcrumb-item.js +1 -1
- package/dist/components/post-breadcrumbs.js +1 -1
- package/dist/components/post-closebutton2.js +1 -1
- package/dist/components/post-collapsible-trigger2.js +1 -1
- package/dist/components/post-collapsible2.js +1 -1
- package/dist/components/post-date-picker.js +1 -1
- package/dist/components/post-footer.js +1 -1
- package/dist/components/post-header.js +1 -1
- package/dist/components/post-icon2.js +1 -1
- package/dist/components/post-language-menu-item.js +1 -1
- package/dist/components/post-language-menu.js +1 -1
- package/dist/components/post-linkarea.js +1 -1
- package/dist/components/post-listbox-option.js +1 -1
- package/dist/components/post-listbox.js +1 -1
- package/dist/components/post-logo.js +1 -1
- package/dist/components/post-mainnavigation.js +1 -1
- package/dist/components/post-megadropdown-trigger.js +1 -1
- package/dist/components/post-megadropdown.js +1 -1
- package/dist/components/post-menu-item2.js +1 -1
- package/dist/components/post-menu-trigger2.js +1 -1
- package/dist/components/post-menu2.js +1 -1
- package/dist/components/post-number-input.js +1 -1
- package/dist/components/post-pagination.js +1 -1
- package/dist/components/post-popover-trigger.js +1 -1
- package/dist/components/post-popover.js +1 -1
- package/dist/components/post-popovercontainer2.js +1 -1
- package/dist/components/post-progressbar.js +1 -1
- package/dist/components/post-rating.js +1 -1
- package/dist/components/post-side-navigation-trigger.d.ts +11 -0
- package/dist/components/post-side-navigation-trigger.js +1 -0
- package/dist/components/{post-login-widget.d.ts → post-side-navigation.d.ts} +4 -4
- package/dist/components/post-side-navigation.js +1 -0
- package/dist/components/post-stepper-item.js +1 -1
- package/dist/components/post-stepper.js +1 -1
- package/dist/components/post-tab-item.js +1 -1
- package/dist/components/post-tab-panel.js +1 -1
- package/dist/components/post-tabs.js +1 -1
- package/dist/components/post-togglebutton2.js +1 -1
- package/dist/components/post-tooltip-trigger.js +1 -1
- package/dist/components/post-tooltip.js +1 -1
- package/dist/components/react/index.js +1 -1
- package/dist/components/react/{p-Bu2JeHDf.js → p-06VKKzxv.js} +1 -1
- package/dist/components/react/p-BkWqx_6U.js +1 -0
- package/dist/components/react/p-Chtl9X7o.js +1 -0
- package/dist/components/react/p-CrLBbthi.js +1 -0
- package/dist/components/react/{p-D1zw8FxT.js → p-D0kuUny7.js} +1 -1
- package/dist/components/react/{p-PM7l--ff.js → p-DKF__bJF.js} +1 -1
- package/dist/components/react/p-DkKOmXaG.js +1 -0
- package/dist/components/react/p-UdMqVxhd.js +1 -0
- package/dist/components/react/p-d02KpeUM.js +1 -0
- package/dist/components/react/{p-BZSAV0-K.js → p-gUhGka9h.js} +1 -1
- package/dist/components/react/{p-Cd1TsNm7.js → p-uQE3DVb8.js} +1 -1
- package/dist/components/react/{p-BxoRVIIr.js → p-wLn52OZT.js} +1 -1
- package/dist/components/react/post-accordion-item.js +1 -1
- package/dist/components/react/post-accordion.js +1 -1
- package/dist/components/react/post-autocomplete.js +1 -1
- package/dist/components/react/post-avatar.js +1 -1
- package/dist/components/react/post-back-to-top.js +1 -1
- package/dist/components/react/post-banner.js +1 -1
- package/dist/components/react/post-breadcrumb-item.js +1 -1
- package/dist/components/react/post-breadcrumbs.js +1 -1
- package/dist/components/react/post-closebutton.js +1 -1
- package/dist/components/react/post-collapsible-trigger.js +1 -1
- package/dist/components/react/post-collapsible.js +1 -1
- package/dist/components/react/post-date-picker.js +1 -1
- package/dist/components/react/post-footer.js +1 -1
- package/dist/components/react/post-header.js +1 -1
- package/dist/components/react/post-icon.js +1 -1
- package/dist/components/react/post-language-menu-item.js +1 -1
- package/dist/components/react/post-language-menu.js +1 -1
- package/dist/components/react/post-linkarea.js +1 -1
- package/dist/components/react/post-listbox-option.js +1 -1
- package/dist/components/react/post-listbox.js +1 -1
- package/dist/components/react/post-logo.js +1 -1
- package/dist/components/react/post-mainnavigation.js +1 -1
- package/dist/components/react/post-megadropdown-trigger.js +1 -1
- package/dist/components/react/post-megadropdown.js +1 -1
- package/dist/components/react/post-menu-item.js +1 -1
- package/dist/components/react/post-menu-trigger.js +1 -1
- package/dist/components/react/post-menu.js +1 -1
- package/dist/components/react/post-number-input.js +1 -1
- package/dist/components/react/post-pagination.js +1 -1
- package/dist/components/react/post-popover-trigger.js +1 -1
- package/dist/components/react/post-popover.js +1 -1
- package/dist/components/react/post-popovercontainer.js +1 -1
- package/dist/components/react/post-progressbar.js +1 -1
- package/dist/components/react/post-rating.js +1 -1
- package/dist/components/react/post-side-navigation-trigger.d.ts +11 -0
- package/dist/components/react/post-side-navigation-trigger.js +1 -0
- package/dist/components/react/{post-login-widget.d.ts → post-side-navigation.d.ts} +4 -4
- package/dist/components/react/post-side-navigation.js +1 -0
- package/dist/components/react/post-stepper-item.js +1 -1
- package/dist/components/react/post-stepper.js +1 -1
- package/dist/components/react/post-tab-item.js +1 -1
- package/dist/components/react/post-tab-panel.js +1 -1
- package/dist/components/react/post-tabs.js +1 -1
- package/dist/components/react/post-togglebutton.js +1 -1
- package/dist/components/react/post-tooltip-trigger.js +1 -1
- package/dist/components/react/post-tooltip.js +1 -1
- package/dist/docs.json +571 -529
- package/dist/esm/{create-validator-decorator-D8qwF5Qe.js → create-validator-decorator-CYYTw0AS.js} +1 -1
- package/dist/esm/{index-BbDawWJ5.js → index-DE1aWdqx.js} +56 -15
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{one-of-GPr3FflU.js → one-of-Ug1_Xoes.js} +1 -1
- package/dist/esm/package-d02KpeUM.js +3 -0
- package/dist/esm/{pattern-BWPRYpYv.js → pattern-WLk4tOqI.js} +1 -1
- package/dist/esm/post-accordion_2.entry.js +10 -12
- package/dist/esm/post-autocomplete.entry.js +6 -6
- package/dist/esm/post-avatar.entry.js +7 -7
- package/dist/esm/post-back-to-top.entry.js +6 -6
- package/dist/esm/post-banner.entry.js +6 -6
- package/dist/esm/post-breadcrumb-item.entry.js +8 -8
- package/dist/esm/post-breadcrumbs.entry.js +9 -11
- package/dist/esm/post-closebutton_14.entry.js +86 -62
- package/dist/esm/post-collapsible_2.entry.js +6 -6
- package/dist/esm/post-components.js +3 -3
- package/dist/esm/post-date-picker.entry.js +427 -257
- package/dist/esm/post-footer.entry.js +6 -6
- package/dist/esm/post-linkarea.entry.js +3 -3
- package/dist/esm/post-listbox-option.entry.js +4 -4
- package/dist/esm/post-listbox.entry.js +3 -3
- package/dist/esm/post-number-input.entry.js +6 -5
- package/dist/esm/post-pagination.entry.js +15 -10
- package/dist/esm/post-popover-trigger.entry.js +5 -5
- package/dist/esm/post-popover.entry.js +11 -12
- package/dist/esm/post-progressbar.entry.js +4 -4
- package/dist/esm/post-rating.entry.js +6 -6
- package/dist/esm/post-side-navigation-trigger.entry.js +107 -0
- package/dist/esm/post-side-navigation.entry.js +138 -0
- package/dist/esm/post-stepper-item.entry.js +4 -4
- package/dist/esm/post-stepper.entry.js +9 -7
- package/dist/esm/post-tab-item.entry.js +15 -14
- package/dist/esm/post-tab-panel.entry.js +6 -6
- package/dist/esm/post-tabs.entry.js +196 -74
- package/dist/esm/post-tooltip-trigger.entry.js +7 -9
- package/dist/esm/post-tooltip.entry.js +9 -10
- package/dist/esm/{required-uK-rZZjy.js → required-DeOhRbtk.js} +1 -1
- package/dist/esm/{type-obmwEgkM.js → type-S-4aPMGU.js} +1 -1
- package/dist/esm/{url-B28ByZCe.js → url-C8KSrmWc.js} +1 -1
- package/dist/post-components/{p-12047216.entry.js → p-0efb77f9.entry.js} +1 -1
- package/dist/post-components/p-1223e51d.entry.js +1 -0
- package/dist/post-components/{p-3b05e01d.entry.js → p-1878e9f8.entry.js} +1 -1
- package/dist/post-components/p-1eea2715.entry.js +1 -0
- package/dist/post-components/p-2233c37e.entry.js +1 -0
- package/dist/post-components/p-266e68a3.entry.js +1 -0
- package/dist/post-components/{p-00f55af5.entry.js → p-2a0b9ed0.entry.js} +1 -1
- package/dist/post-components/p-3c71d687.entry.js +1 -0
- package/dist/post-components/{p-IUnDBhPg.js → p-4-_BhJWV.js} +1 -1
- package/dist/post-components/{p-7f929bb9.entry.js → p-477c8c35.entry.js} +1 -1
- package/dist/post-components/{p-2c6b4e6a.entry.js → p-4b366aa0.entry.js} +1 -1
- package/dist/post-components/{p-53fd5230.entry.js → p-4c7750cd.entry.js} +1 -1
- package/dist/post-components/p-52e118e0.entry.js +1 -0
- package/dist/post-components/p-53f34806.entry.js +1 -0
- package/dist/post-components/p-621a81a7.entry.js +1 -0
- package/dist/post-components/p-85594193.entry.js +1 -0
- package/dist/post-components/p-89ea447b.entry.js +1 -0
- package/dist/post-components/p-8d8ac7ae.entry.js +1 -0
- package/dist/post-components/p-900dc8e1.entry.js +1 -0
- package/dist/post-components/p-93da9105.entry.js +1 -0
- package/dist/post-components/{p-d061773b.entry.js → p-95ad4d06.entry.js} +1 -1
- package/dist/post-components/p-9915ffee.entry.js +1 -0
- package/dist/post-components/{p-Ck2qPht6.js → p-B6uZASBE.js} +1 -1
- package/dist/post-components/{p-DSNGJB58.js → p-BDW1XHCO.js} +1 -1
- package/dist/post-components/{p-CVsNfXZd.js → p-CiOyV6Mo.js} +1 -1
- package/dist/post-components/p-DE1aWdqx.js +2 -0
- package/dist/post-components/{p-BRNqUiXj.js → p-DMiERazc.js} +1 -1
- package/dist/post-components/{p-D4F0BqBW.js → p-NPUljV0P.js} +1 -1
- package/dist/post-components/p-a08abdb2.entry.js +1 -0
- package/dist/post-components/p-a971ec25.entry.js +1 -0
- package/dist/post-components/{p-e2370e94.entry.js → p-ad69ed8c.entry.js} +1 -1
- package/dist/post-components/p-c11a8e06.entry.js +1 -0
- package/dist/post-components/p-d02KpeUM.js +1 -0
- package/dist/post-components/p-d9ce8f05.entry.js +1 -0
- package/dist/post-components/p-dcceab4e.entry.js +1 -0
- package/dist/post-components/{p-f1ca1d3f.entry.js → p-e219e22a.entry.js} +1 -1
- package/dist/post-components/{p-758fc84f.entry.js → p-f6c45fed.entry.js} +1 -1
- package/dist/post-components/post-components.css +2 -2
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/types/components/post-accordion-item/post-accordion-item.d.ts +0 -8
- package/dist/types/components/post-closebutton/post-closebutton.d.ts +5 -2
- package/dist/types/components/post-closebutton/types.d.ts +1 -1
- package/dist/types/components/post-date-picker/accessibility-utils.d.ts +19 -0
- package/dist/types/components/post-date-picker/date-utils.d.ts +48 -0
- package/dist/types/components/post-date-picker/native-mask-element.d.ts +12 -0
- package/dist/types/components/post-date-picker/post-date-picker.d.ts +23 -62
- package/dist/types/components/post-header/post-header.d.ts +3 -2
- package/dist/types/components/post-language-menu/post-language-menu.d.ts +2 -1
- package/dist/types/components/post-menu/post-menu.d.ts +4 -4
- package/dist/types/components/post-popover/post-popover.d.ts +4 -5
- package/dist/types/components/post-popovercontainer/post-popovercontainer.d.ts +2 -2
- package/dist/types/components/post-side-navigation/post-side-navigation.d.ts +62 -0
- package/dist/types/components/post-side-navigation/side-navigation-styles.d.ts +2 -0
- package/dist/types/components/post-side-navigation-trigger/post-side-navigation-trigger.d.ts +33 -0
- package/dist/types/components/post-tab-item/post-tab-item.d.ts +8 -4
- package/dist/types/components/post-tab-panel/post-tab-panel.d.ts +1 -1
- package/dist/types/components/post-tabs/post-tabs.d.ts +37 -17
- package/dist/types/components/post-tooltip/post-tooltip.d.ts +4 -5
- package/dist/types/components.d.ts +181 -164
- package/dist/types/home/runner/work/design-system/design-system/packages/components/.stencil/vrt/helpers/header-variants.config.d.ts +1 -0
- package/dist/types/types/element-api.d.ts +3 -0
- package/dist/vrt/helpers/header-test-config.js +3 -2
- package/dist/vrt/helpers/header-variants.config.js +29 -2
- package/hydrate/index.js +1174 -682
- package/hydrate/index.mjs +1174 -682
- package/package.json +11 -12
- package/dist/cjs/long-press-event-Dx21Ojod.js +0 -276
- package/dist/cjs/post-login-widget.cjs.entry.js +0 -92
- package/dist/collection/components/post-accordion-item/heading-levels.js +0 -1
- package/dist/collection/components/post-login-widget/post-login-widget.css +0 -1
- package/dist/collection/components/post-login-widget/post-login-widget.js +0 -218
- package/dist/collection/components/post-tab-item/post-tab-item.css +0 -1
- package/dist/components/long-press-event.js +0 -8
- package/dist/components/post-avatar2.js +0 -1
- package/dist/components/post-login-widget.js +0 -1
- package/dist/components/react/p-85IGlhtB.js +0 -1
- package/dist/components/react/p-B9ZFuYey.js +0 -1
- package/dist/components/react/p-BNgqqRsB.js +0 -8
- package/dist/components/react/p-Bg9dtyzK.js +0 -1
- package/dist/components/react/p-Bn66acGG.js +0 -1
- package/dist/components/react/p-CkTAQJGd.js +0 -1
- package/dist/components/react/p-ClG-N42b.js +0 -1
- package/dist/components/react/p-DwuW52g5.js +0 -1
- package/dist/components/react/post-login-widget.js +0 -1
- package/dist/esm/long-press-event-BNgqqRsB.js +0 -274
- package/dist/esm/package-ClG-N42b.js +0 -3
- package/dist/esm/post-login-widget.entry.js +0 -90
- package/dist/post-components/p-0288484f.entry.js +0 -1
- package/dist/post-components/p-07cdd022.entry.js +0 -1
- package/dist/post-components/p-17df4e91.entry.js +0 -1
- package/dist/post-components/p-17e046fa.entry.js +0 -1
- package/dist/post-components/p-29bd31a0.entry.js +0 -1
- package/dist/post-components/p-5b7e6369.entry.js +0 -1
- package/dist/post-components/p-5f4ca179.entry.js +0 -1
- package/dist/post-components/p-62b6154a.entry.js +0 -1
- package/dist/post-components/p-686a6e22.entry.js +0 -1
- package/dist/post-components/p-9865f72c.entry.js +0 -1
- package/dist/post-components/p-99803d57.entry.js +0 -1
- package/dist/post-components/p-BNgqqRsB.js +0 -8
- package/dist/post-components/p-BbDawWJ5.js +0 -2
- package/dist/post-components/p-ClG-N42b.js +0 -1
- package/dist/post-components/p-a0e0a760.entry.js +0 -1
- package/dist/post-components/p-a850652d.entry.js +0 -1
- package/dist/post-components/p-aac1a8ea.entry.js +0 -1
- package/dist/post-components/p-b3f0f9a2.entry.js +0 -1
- package/dist/post-components/p-c37dba4b.entry.js +0 -1
- package/dist/post-components/p-f2e5f44e.entry.js +0 -1
- package/dist/post-components/p-ff98ada4.entry.js +0 -1
- package/dist/types/components/post-accordion-item/heading-levels.d.ts +0 -2
- package/dist/types/components/post-login-widget/post-login-widget.d.ts +0 -45
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as t,h as i,Host as o,transformTag as r}from"@stencil/core/internal/client";import{v as c}from"./package.js";const s=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return i(o,{key:"0919891d67f961e1ee2c8a7fb556d232ed34ed94","data-version":c,role:"listitem"},i("span",{key:"862705599a537267080fbf054e06353c65888bba",class:"stepper-item-content"},i("span",{key:"96c62cc07fd460402d4e49a36fad70c80eb52f78",class:"step-hidden-label visually-hidden"}),i("span",{key:"6cce8bef3684d50f8dbb72f48b1ca3b0bbcd57ca",class:"label"},i("slot",{key:"9ec06d2716870180309bbfde83a04953e7abb011"}))))}static get style(){return':host{grid-row:1;position:relative;padding-inline-start:0}:host::before,:host::after{content:"";display:block;position:absolute;inset-block-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - 2px)/2);height:2px;background-color:var(--post-scheme-color-interactive-primary-disabled-bg4);inset-inline:0}:host(:not(:first-of-type)){padding-inline-start:calc(var(--post-device-sizing-interactive-stepper-indicator) / 2)}:host(:not(:last-of-type)){padding-inline-end:calc(var(--post-device-sizing-interactive-stepper-indicator) / 2);grid-column:span 2}:host(:not(:first-of-type,:last-of-type))::before{inset-inline-end:50%}:host(:not(:first-of-type,:last-of-type))::after{inset-inline-start:50%}:host(.stepper-item-current:not(:last-of-type))::after,:host(.stepper-item-current:first-of-type)::before,:host(.stepper-item-after-current)::before,:host(.stepper-item-after-current:last-of-type)::after{background-color:var(--post-scheme-color-interactive-primary-enabled-fg1)}:host(.stepper-item-current:not(:first-of-type))::before,:host(.stepper-item-current:last-of-type)::after,:host(.stepper-item-completed)::after{background-color:var(--post-scheme-color-interactive-primary-selected-bg2);z-index:1}.stepper-item-content{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;position:relative;z-index:2;overflow:hidden;text-decoration:none;color:var(--post-scheme-color-interactive-primary-disabled-fg1);width:fit-content;word-break:break-word;font-size:var(--post-device-font-size-7)}:host(:not(:first-of-type,:last-of-type))>.stepper-item-content{margin-inline:auto;text-align:center}:host(:last-of-type)>.stepper-item-content{margin-inline-start:auto;margin-inline-end:-20px;text-align:end}:host(.stepper-item-completed)>.stepper-item-content{color:var(--post-scheme-color-interactive-primary-enabled-fg1)}:host(.stepper-item-selected)>.stepper-item-content{font-weight:var(--post-device-font-weight-bold)}:host(.stepper-item-selected)>.stepper-item-content::before{font-weight:var(--post-device-font-weight-regular)}:host(.stepper-item-current)>.stepper-item-content{color:var(--post-scheme-color-interactive-primary-enabled-fg1)}:host(.stepper-item-current)>.stepper-item-content::before{color:var(--post-scheme-color-interactive-primary-enabled-fg3)}.stepper-item-content::before{counter-increment:step-index;content:counter(step-index);display:flex;align-items:center;justify-content:center;z-index:1;height:var(--post-device-sizing-interactive-stepper-indicator);width:var(--post-device-sizing-interactive-stepper-indicator);box-sizing:border-box;margin-block-end:var(--post-device-spacing-gap-1);color:var(--post-scheme-color-interactive-primary-disabled-fg3);background-color:var(--post-scheme-color-interactive-primary-disabled-bg4);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-disabled-stroke3);border-radius:var(--post-device-border-radius-round);text-indent:initial}:host(:not(:first-of-type,:last-of-type))>.stepper-item-content::before{margin-inline:auto}:host(:last-of-type)>.stepper-item-content::before{margin-inline-start:auto}:host(.stepper-item-completed)>.stepper-item-content::before{color:rgba(0,0,0,0);background-color:var(--post-scheme-color-interactive-primary-selected-bg2);border-color:var(--post-scheme-color-interactive-primary-selected-stroke3)}:host(.stepper-item-current)>.stepper-item-content::before{color:var(--post-scheme-color-interactive-primary-enabled-fg3);background-color:var(--post-scheme-color-interactive-primary-enabled-bg2);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-enabled-stroke3)}.stepper-item-content::after{display:block;position:absolute;inset-block-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size7))/2);z-index:1;mask-image:var(--post-icon-checkmark-solid);background-color:currentColor;width:var(--post-device-sizing-interactive-icon-size7);height:var(--post-device-sizing-interactive-icon-size7);background-color:var(--post-scheme-color-interactive-primary-enabled-fg3)}:root,:host{--post-icon-checkmark-solid:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktY2hlY2ttYXJrLXNvbGlkIj48c3ltYm9sIGlkPSJzMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0ibTcuNDkgMTIuOTktMy42NC0zLjljLS40Ny0uNS0uNDQtMS4zLjA2LTEuNzdzMS4yOS0uNDQgMS43Ny4wNmwxLjQ4IDEuNTggMy4wNS00LjYyYy4zOC0uNTggMS4xNi0uNzQgMS43My0uMzUuNTguMzguNzQgMS4xNi4zNSAxLjczeiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InMyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJtMTEuMTggMTguODgtNS4xNC01LjUxYTEuNSAxLjUgMCAwIDEgLjA3LTIuMTJjLjYtLjU2IDEuNTUtLjUzIDIuMTIuMDdsMi41NCAyLjcyIDQuODQtNy4zM2MuNDYtLjY5IDEuMzktLjg4IDIuMDgtLjQzLjY5LjQ2Ljg4IDEuMzkuNDMgMi4wOGwtNi45NCAxMC41MVoiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTTE0Ljg3IDI0LjgxIDguMjMgMTcuN2MtLjY2LS43MS0uNjItMS44MS4wOC0yLjQ3LjcxLS42NiAxLjgxLS42MiAyLjQ3LjA4bDMuNjEgMy44NiA2LjYyLTEwLjA0Yy41My0uODEgMS42Mi0xLjAzIDIuNDItLjUuODEuNTMgMS4wMyAxLjYyLjUgMi40MkwxNC44NiAyNC44WiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InM0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48cGF0aCBkPSJtMTguNTYgMzAuNi04LjE0LTguNzFjLS43NS0uODEtLjcxLTIuMDcuMS0yLjgzLjgxLS43NSAyLjA3LS43MSAyLjgzLjFsNC42NyA1IDguNDEtMTIuNzRhMiAyIDAgMCAxIDMuMzQgMi4yeiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InM0OCIgdmlld0JveD0iMCAwIDQ4IDQ4Ij48cGF0aCBkPSJtMjIuMjYgMzYuNTctOS42My0xMC4zMmMtLjg1LS45MS0uOC0yLjMzLjExLTMuMThzMi4zMy0uOCAzLjE4LjExbDUuNzQgNi4xNCAxMC4yLTE1LjQ1YTIuMjU0IDIuMjU0IDAgMCAxIDMuMTItLjY0YzEuMDQuNjggMS4zMiAyLjA4LjY0IDMuMTJMMjIuMjcgMzYuNTdaIi8+PC9zeW1ib2w+PHN5bWJvbCBpZD0iczY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiPjxwYXRoIGQ9Ik0yOS42MSA0Ny45MSAxNy4yIDM0LjYyYTIuNDk3IDIuNDk3IDAgMSAxIDMuNjUtMy40MWw4LjA4IDguNjUgMTMuOTUtMjEuMTNhMi40OTkgMi40OTkgMCAwIDEgNC4xNyAyLjc1TDI5LjYgNDcuOTFaIi8+PC9zeW1ib2w+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczE2LCBub25lKSIgaHJlZj0iI3MxNiIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXMyNCwgbm9uZSkiIGhyZWY9IiNzMjQiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zMzIsIG5vbmUpIiBocmVmPSIjczMyIi8+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczQwLCBub25lKSIgaHJlZj0iI3M0MCIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXM0OCwgbm9uZSkiIGhyZWY9IiNzNDgiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zNjQsIG5vbmUpIiBocmVmPSIjczY0Ii8+PC9zeW1ib2w+PC9kZWZzPjxzdHlsZT5AbWVkaWEgKG1heC13aWR0aDogMjMuOThweCkge2d7LS1zMTY6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogMjRweCkgYW5kIChtYXgtd2lkdGg6IDMxLjk4cHgpIHtney0tczI0OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDMycHgpIGFuZCAobWF4LXdpZHRoOiAzOS45OHB4KSB7Z3stLXMzMjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0MHB4KSBhbmQgKG1heC13aWR0aDogNDcuOThweCkge2d7LS1zNDA6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNDhweCkgYW5kIChtYXgtd2lkdGg6IDYzLjk4cHgpIHtney0tczQ4OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWNoZWNrbWFyay1zb2xpZCIvPjwvZz48L3N2Zz4=")}:host(:first-of-type)>.stepper-item-content::after{inset-inline-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size7))/2)}:host(:not(:first-of-type,:last-of-type))>.stepper-item-content::after{inset-inline-start:calc(50% - var(--post-device-sizing-interactive-icon-size7)/2)}:host(:last-of-type)>.stepper-item-content::after{inset-inline-end:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size7))/2)}:host(.stepper-item-completed)>.stepper-item-content::after{content:""}:host([aria-current=step])>.stepper-item-content::after{mask-image:var(--post-icon-edit-solid);background-color:currentColor;width:var(--post-device-sizing-interactive-icon-size4);height:var(--post-device-sizing-interactive-icon-size4);background-color:var(--post-scheme-color-interactive-primary-enabled-fg3);inset-block-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size4))/2)}:root,:host{--post-icon-edit-solid:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktZWRpdC1zb2xpZCI+PHN5bWJvbCBpZD0iczE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiPjxwYXRoIGQ9Im0xLjUgMTAuOTkgOC41LTguNXMuMDMuMDUuMDUuMDdsMy41IDMuNDUtOC41MiA4LjUxem0tLjkyIDEuMi0uNTYgMy44IDMuODEtLjU2LTMuMjQtMy4yNFptMTUuMjUtOS4zN0wxMy4xOS4xOGEuNjMuNjMgMCAwIDAtLjg4IDBsLTEuMjcgMS4yN3MuMDQuMDIuMDYuMDRsMy41IDMuNDUgMS4yMy0xLjIzYy4yNC0uMjQuMjQtLjY0IDAtLjg4WiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InMyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNNS44NCAyMy4xNS4wMiAyNGwuODUtNS44MnptMS40MS0xLjA4TDIwLjQ5IDguODNsLTUuMjUtNS4xN3MtLjA0LS4wNy0uMDctLjFMMS45NSAxNi43OGw1LjMgNS4zWm0xNi41LTE3LjgzTDE5Ljc4LjI3YS45MzYuOTM2IDAgMCAwLTEuMzMgMGwtMi4wOSAyLjA5cy4wNi4wMy4wOS4wNmw1LjI2IDUuMTggMi4wMy0yLjAzYy4zNy0uMzcuMzctLjk2IDAtMS4zM1oiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0ibTguMDcgMzAuNzctOC4wNCAxLjIgMS4yMS04LjA3em0xLjUzLTEuMzEgMTcuODMtMTcuODQtNi45OS02Ljg5cy0uMDYtLjA5LS4wOS0uMTRMMi41NiAyMi4zOGw3LjAzIDcuMDdaTTMxLjY2IDUuNjIgMjYuMzcuMzNjLS40OS0uNDktMS4yOC0uNDktMS43NiAwbC0yLjg5IDIuODlzLjA5LjA0LjEyLjA4bDcuMDEgNi45IDIuODItMi44MmMuNDktLjQ5LjQ5LTEuMjggMC0xLjc2WiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InM0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48cGF0aCBkPSJNMi40MSAyOC43OSAyNS41MiA1LjcxYy4wNC4wNi4wNi4xMi4xMS4xN2w4Ljc0IDguNkwxMS4yMyAzNy42em0tMS4wMiAyLjE2TC4wNCA0MC4wMWw5LjA0LTEuMzktNy42OS03LjY4Wk0zOS41OCA3LjA3IDMyLjk3LjQ3Yy0uNjEtLjYxLTEuNi0uNjEtMi4yMSAwbC0zLjcgMy43Yy4wNS4wNC4xMS4wNi4xNS4xbDguNzYgOC42MSAzLjYxLTMuNjFjLjYxLS42MS42MS0xLjYgMC0yLjIiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCI+PHBhdGggZD0iTTIuODMgMzQuNTggMzEuMyA2LjExYy4wNS4wNy4wOC4xNC4xNC4ybDEwLjQ5IDEwLjMzLTI4LjU1IDI4LjU0em0tMS4xOCAyLjM2TDAgNDhsMTAuOTktMS42NnpNNDcuNDYgOC40NyAzOS41My41NGMtLjczLS43My0xLjkyLS43My0yLjY1IDBsLTMuODcgMy44N2MuMDYuMDQuMTMuMDcuMTkuMTJsMTAuNTEgMTAuMzQgMy43NS0zLjc1Yy43My0uNzMuNzMtMS45MiAwLTIuNjUiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzNjQiIHZpZXdCb3g9IjAgMCA2NCA2NCI+PHBhdGggZD0iTTE1LjA4IDYxLjcyIDAgNjMuOThsMi4zLTE1LjA0ek00Mi41MiA3Ljg0Yy0uMDgtLjA4LS4xMy0uMTgtLjE5LS4yOEwzLjU5IDQ2LjM0bDE0LjA5IDE0LjA5LTEuMDcgMS4wN2guMDJMNTYuNSAyMS42em0yMC43NiAzLjQ1TDUyLjcxLjcxYy0uOTctLjk3LTIuNTUtLjk3LTMuNTMgMGwtNC45OSA1Yy4wOS4wNS4xOC4xLjI2LjE3bDEzLjk5IDEzLjc4IDQuODQtNC44NGMuOTctLjk3Ljk3LTIuNTUgMC0zLjUzIi8+PC9zeW1ib2w+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczE2LCBub25lKSIgaHJlZj0iI3MxNiIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXMyNCwgbm9uZSkiIGhyZWY9IiNzMjQiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zMzIsIG5vbmUpIiBocmVmPSIjczMyIi8+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczQwLCBub25lKSIgaHJlZj0iI3M0MCIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXM0OCwgbm9uZSkiIGhyZWY9IiNzNDgiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zNjQsIG5vbmUpIiBocmVmPSIjczY0Ii8+PC9zeW1ib2w+PC9kZWZzPjxzdHlsZT5AbWVkaWEgKG1heC13aWR0aDogMjMuOThweCkge2d7LS1zMTY6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogMjRweCkgYW5kIChtYXgtd2lkdGg6IDMxLjk4cHgpIHtney0tczI0OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDMycHgpIGFuZCAobWF4LXdpZHRoOiAzOS45OHB4KSB7Z3stLXMzMjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0MHB4KSBhbmQgKG1heC13aWR0aDogNDcuOThweCkge2d7LS1zNDA6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNDhweCkgYW5kIChtYXgtd2lkdGg6IDYzLjk4cHgpIHtney0tczQ4OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWVkaXQtc29saWQiLz48L2c+PC9zdmc+")}:host([aria-current=step]:first-of-type)>.stepper-item-content::after{inset-inline-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size4))/2)}:host([aria-current=step]:not(:first-of-type,:last-of-type))>.stepper-item-content::after{inset-inline-start:calc(50% - var(--post-device-sizing-interactive-icon-size4)/2)}@media screen and (max-width: 779.98px){:host{flex-grow:1;margin-inline:0;padding:0 !important}:host::before{content:unset}:host::after{inset-inline-start:0 !important}:host(:last-of-type){flex:0 0 32px}:host(:last-of-type)::after{content:unset}.stepper-item-content{margin-inline:0 !important}.label{display:none}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host::before,:host::after{background-color:CanvasText !important}:host(.stepper-item-current:not(:first-of-type))::before,:host(.stepper-item-current:last-of-type)::after,:host(.stepper-item-completed)::after,:host(.stepper-item-completed)::before{background-color:Highlight !important}.stepper-item-content::before{forced-color-adjust:none}:host(.stepper-item-current) .stepper-item-content::before{background-color:Canvas;color:CanvasText}:host(.stepper-item-completed) .stepper-item-content::before,:host(.stepper-item-inactive) .stepper-item-content::before{border-color:Canvas;background-color:CanvasText}:host(.stepper-item-inactive) .stepper-item-content::before{color:Canvas}.stepper-item-content::after{color:Canvas}}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}'}},[257,"post-stepper-item"]),a=s,n=function(){"undefined"!=typeof customElements&&["post-stepper-item"].forEach((e=>{"post-stepper-item"===e&&(customElements.get(r(e))||customElements.define(r(e),s))}))};export{a as PostStepperItem,n as defineCustomElement}
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,h as i,Host as o,transformTag as r}from"@stencil/core/internal/client";import{v as c}from"./package.js";const s=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return i(o,{key:"53b052a2b68a93df9fda7f80f23d602d8a8efc56","data-version":c,role:"listitem"},i("span",{key:"e06841841e7fad42ff9de3e39dadf5fab96b9952",class:"stepper-item-content"},i("span",{key:"f934ef19fbdd65111b7cf561dcc9297122d62595",class:"step-hidden-label visually-hidden"}),i("span",{key:"213db918f5ab854225974678c50176bb565ac2b1",class:"label"},i("slot",{key:"d8e067ea304700e37edb996a4c715d41e209b8d8"}))))}static get style(){return':host{grid-row:1;position:relative;padding-inline-start:0}:host::before,:host::after{content:"";display:block;position:absolute;inset-block-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - 2px)/2);height:2px;background-color:var(--post-scheme-color-interactive-primary-disabled-bg4);inset-inline:0}:host(:not(:first-of-type)){padding-inline-start:calc(var(--post-device-sizing-interactive-stepper-indicator) / 2)}:host(:not(:last-of-type)){padding-inline-end:calc(var(--post-device-sizing-interactive-stepper-indicator) / 2);grid-column:span 2}:host(:not(:first-of-type,:last-of-type))::before{inset-inline-end:50%}:host(:not(:first-of-type,:last-of-type))::after{inset-inline-start:50%}:host(.stepper-item-current:not(:last-of-type))::after,:host(.stepper-item-current:first-of-type)::before,:host(.stepper-item-after-current)::before,:host(.stepper-item-after-current:last-of-type)::after{background-color:var(--post-scheme-color-interactive-primary-enabled-fg1)}:host(.stepper-item-current:not(:first-of-type))::before,:host(.stepper-item-current:last-of-type)::after,:host(.stepper-item-completed)::before,:host(.stepper-item-completed)::after{background-color:var(--post-scheme-color-interactive-primary-selected-bg2);z-index:1}.stepper-item-content{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;position:relative;z-index:2;overflow:hidden;text-decoration:none;color:var(--post-scheme-color-interactive-primary-disabled-fg1);width:fit-content;word-break:break-word;font-size:var(--post-device-font-size-7)}:host(:not(:first-of-type,:last-of-type))>.stepper-item-content{margin-inline:auto;text-align:center}:host(:last-of-type)>.stepper-item-content{margin-inline-start:auto;margin-inline-end:-20px;text-align:end}:host(.stepper-item-completed)>.stepper-item-content{color:var(--post-scheme-color-interactive-primary-enabled-fg1)}:host(.stepper-item-selected)>.stepper-item-content{font-weight:var(--post-device-font-weight-bold)}:host(.stepper-item-selected)>.stepper-item-content::before{font-weight:var(--post-device-font-weight-regular)}:host(.stepper-item-current)>.stepper-item-content{color:var(--post-scheme-color-interactive-primary-enabled-fg1)}:host(.stepper-item-current)>.stepper-item-content::before{color:var(--post-scheme-color-interactive-primary-enabled-fg3)}.stepper-item-content::before{content:var(--step-number, "?");display:flex;align-items:center;justify-content:center;z-index:1;height:var(--post-device-sizing-interactive-stepper-indicator);width:var(--post-device-sizing-interactive-stepper-indicator);box-sizing:border-box;margin-block-end:var(--post-device-spacing-gap-1);color:var(--post-scheme-color-interactive-primary-disabled-fg3);background-color:var(--post-scheme-color-interactive-primary-disabled-bg4);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-disabled-stroke3);border-radius:var(--post-device-border-radius-round);text-indent:initial}:host(:not(:first-of-type,:last-of-type))>.stepper-item-content::before{margin-inline:auto}:host(:last-of-type)>.stepper-item-content::before{margin-inline-start:auto}:host(.stepper-item-completed)>.stepper-item-content::before{color:rgba(0,0,0,0);background-color:var(--post-scheme-color-interactive-primary-selected-bg2);border-color:var(--post-scheme-color-interactive-primary-selected-stroke3)}:host(.stepper-item-current)>.stepper-item-content::before{color:var(--post-scheme-color-interactive-primary-enabled-fg3);background-color:var(--post-scheme-color-interactive-primary-enabled-bg2);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-enabled-stroke3)}.stepper-item-content::after{display:block;position:absolute;inset-block-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size7))/2);z-index:1;mask-image:var(--post-icon-checkmark-solid);background-color:currentColor;width:var(--post-device-sizing-interactive-icon-size7);height:var(--post-device-sizing-interactive-icon-size7);background-color:var(--post-scheme-color-interactive-primary-enabled-fg3)}:root,:host{--post-icon-checkmark-solid:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktY2hlY2ttYXJrLXNvbGlkIj48c3ltYm9sIGlkPSJzMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0ibTcuNDkgMTIuOTktMy42NC0zLjljLS40Ny0uNS0uNDQtMS4zLjA2LTEuNzdzMS4yOS0uNDQgMS43Ny4wNmwxLjQ4IDEuNTggMy4wNS00LjYyYy4zOC0uNTggMS4xNi0uNzQgMS43My0uMzUuNTguMzguNzQgMS4xNi4zNSAxLjczeiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InMyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJtMTEuMTggMTguODgtNS4xNC01LjUxYTEuNSAxLjUgMCAwIDEgLjA3LTIuMTJjLjYtLjU2IDEuNTUtLjUzIDIuMTIuMDdsMi41NCAyLjcyIDQuODQtNy4zM2MuNDYtLjY5IDEuMzktLjg4IDIuMDgtLjQzLjY5LjQ2Ljg4IDEuMzkuNDMgMi4wOGwtNi45NCAxMC41MVoiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTTE0Ljg3IDI0LjgxIDguMjMgMTcuN2MtLjY2LS43MS0uNjItMS44MS4wOC0yLjQ3LjcxLS42NiAxLjgxLS42MiAyLjQ3LjA4bDMuNjEgMy44NiA2LjYyLTEwLjA0Yy41My0uODEgMS42Mi0xLjAzIDIuNDItLjUuODEuNTMgMS4wMyAxLjYyLjUgMi40MkwxNC44NiAyNC44WiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InM0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48cGF0aCBkPSJtMTguNTYgMzAuNi04LjE0LTguNzFjLS43NS0uODEtLjcxLTIuMDcuMS0yLjgzLjgxLS43NSAyLjA3LS43MSAyLjgzLjFsNC42NyA1IDguNDEtMTIuNzRhMiAyIDAgMCAxIDMuMzQgMi4yeiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InM0OCIgdmlld0JveD0iMCAwIDQ4IDQ4Ij48cGF0aCBkPSJtMjIuMjYgMzYuNTctOS42My0xMC4zMmMtLjg1LS45MS0uOC0yLjMzLjExLTMuMThzMi4zMy0uOCAzLjE4LjExbDUuNzQgNi4xNCAxMC4yLTE1LjQ1YTIuMjU0IDIuMjU0IDAgMCAxIDMuMTItLjY0YzEuMDQuNjggMS4zMiAyLjA4LjY0IDMuMTJMMjIuMjcgMzYuNTdaIi8+PC9zeW1ib2w+PHN5bWJvbCBpZD0iczY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiPjxwYXRoIGQ9Ik0yOS42MSA0Ny45MSAxNy4yIDM0LjYyYTIuNDk3IDIuNDk3IDAgMSAxIDMuNjUtMy40MWw4LjA4IDguNjUgMTMuOTUtMjEuMTNhMi40OTkgMi40OTkgMCAwIDEgNC4xNyAyLjc1TDI5LjYgNDcuOTFaIi8+PC9zeW1ib2w+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczE2LCBub25lKSIgaHJlZj0iI3MxNiIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXMyNCwgbm9uZSkiIGhyZWY9IiNzMjQiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zMzIsIG5vbmUpIiBocmVmPSIjczMyIi8+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczQwLCBub25lKSIgaHJlZj0iI3M0MCIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXM0OCwgbm9uZSkiIGhyZWY9IiNzNDgiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zNjQsIG5vbmUpIiBocmVmPSIjczY0Ii8+PC9zeW1ib2w+PC9kZWZzPjxzdHlsZT5AbWVkaWEgKG1heC13aWR0aDogMjMuOThweCkge2d7LS1zMTY6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogMjRweCkgYW5kIChtYXgtd2lkdGg6IDMxLjk4cHgpIHtney0tczI0OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDMycHgpIGFuZCAobWF4LXdpZHRoOiAzOS45OHB4KSB7Z3stLXMzMjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0MHB4KSBhbmQgKG1heC13aWR0aDogNDcuOThweCkge2d7LS1zNDA6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNDhweCkgYW5kIChtYXgtd2lkdGg6IDYzLjk4cHgpIHtney0tczQ4OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWNoZWNrbWFyay1zb2xpZCIvPjwvZz48L3N2Zz4=")}:host(:first-of-type)>.stepper-item-content::after{inset-inline-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size7))/2)}:host(:not(:first-of-type,:last-of-type))>.stepper-item-content::after{inset-inline-start:calc(50% - var(--post-device-sizing-interactive-icon-size7)/2)}:host(:last-of-type)>.stepper-item-content::after{inset-inline-end:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size7))/2)}:host(.stepper-item-completed)>.stepper-item-content::after{content:""}:host([aria-current=step])>.stepper-item-content::after{mask-image:var(--post-icon-edit-solid);background-color:currentColor;width:var(--post-device-sizing-interactive-icon-size4);height:var(--post-device-sizing-interactive-icon-size4);background-color:var(--post-scheme-color-interactive-primary-enabled-fg3);inset-block-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size4))/2)}:root,:host{--post-icon-edit-solid:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktZWRpdC1zb2xpZCI+PHN5bWJvbCBpZD0iczE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiPjxwYXRoIGQ9Im0xLjUgMTAuOTkgOC41LTguNXMuMDMuMDUuMDUuMDdsMy41IDMuNDUtOC41MiA4LjUxem0tLjkyIDEuMi0uNTYgMy44IDMuODEtLjU2LTMuMjQtMy4yNFptMTUuMjUtOS4zN0wxMy4xOS4xOGEuNjMuNjMgMCAwIDAtLjg4IDBsLTEuMjcgMS4yN3MuMDQuMDIuMDYuMDRsMy41IDMuNDUgMS4yMy0xLjIzYy4yNC0uMjQuMjQtLjY0IDAtLjg4WiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InMyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNNS44NCAyMy4xNS4wMiAyNGwuODUtNS44MnptMS40MS0xLjA4TDIwLjQ5IDguODNsLTUuMjUtNS4xN3MtLjA0LS4wNy0uMDctLjFMMS45NSAxNi43OGw1LjMgNS4zWm0xNi41LTE3LjgzTDE5Ljc4LjI3YS45MzYuOTM2IDAgMCAwLTEuMzMgMGwtMi4wOSAyLjA5cy4wNi4wMy4wOS4wNmw1LjI2IDUuMTggMi4wMy0yLjAzYy4zNy0uMzcuMzctLjk2IDAtMS4zM1oiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0ibTguMDcgMzAuNzctOC4wNCAxLjIgMS4yMS04LjA3em0xLjUzLTEuMzEgMTcuODMtMTcuODQtNi45OS02Ljg5cy0uMDYtLjA5LS4wOS0uMTRMMi41NiAyMi4zOGw3LjAzIDcuMDdaTTMxLjY2IDUuNjIgMjYuMzcuMzNjLS40OS0uNDktMS4yOC0uNDktMS43NiAwbC0yLjg5IDIuODlzLjA5LjA0LjEyLjA4bDcuMDEgNi45IDIuODItMi44MmMuNDktLjQ5LjQ5LTEuMjggMC0xLjc2WiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InM0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48cGF0aCBkPSJNMi40MSAyOC43OSAyNS41MiA1LjcxYy4wNC4wNi4wNi4xMi4xMS4xN2w4Ljc0IDguNkwxMS4yMyAzNy42em0tMS4wMiAyLjE2TC4wNCA0MC4wMWw5LjA0LTEuMzktNy42OS03LjY4Wk0zOS41OCA3LjA3IDMyLjk3LjQ3Yy0uNjEtLjYxLTEuNi0uNjEtMi4yMSAwbC0zLjcgMy43Yy4wNS4wNC4xMS4wNi4xNS4xbDguNzYgOC42MSAzLjYxLTMuNjFjLjYxLS42MS42MS0xLjYgMC0yLjIiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCI+PHBhdGggZD0iTTIuODMgMzQuNTggMzEuMyA2LjExYy4wNS4wNy4wOC4xNC4xNC4ybDEwLjQ5IDEwLjMzLTI4LjU1IDI4LjU0em0tMS4xOCAyLjM2TDAgNDhsMTAuOTktMS42NnpNNDcuNDYgOC40NyAzOS41My41NGMtLjczLS43My0xLjkyLS43My0yLjY1IDBsLTMuODcgMy44N2MuMDYuMDQuMTMuMDcuMTkuMTJsMTAuNTEgMTAuMzQgMy43NS0zLjc1Yy43My0uNzMuNzMtMS45MiAwLTIuNjUiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzNjQiIHZpZXdCb3g9IjAgMCA2NCA2NCI+PHBhdGggZD0iTTE1LjA4IDYxLjcyIDAgNjMuOThsMi4zLTE1LjA0ek00Mi41MiA3Ljg0Yy0uMDgtLjA4LS4xMy0uMTgtLjE5LS4yOEwzLjU5IDQ2LjM0bDE0LjA5IDE0LjA5LTEuMDcgMS4wN2guMDJMNTYuNSAyMS42em0yMC43NiAzLjQ1TDUyLjcxLjcxYy0uOTctLjk3LTIuNTUtLjk3LTMuNTMgMGwtNC45OSA1Yy4wOS4wNS4xOC4xLjI2LjE3bDEzLjk5IDEzLjc4IDQuODQtNC44NGMuOTctLjk3Ljk3LTIuNTUgMC0zLjUzIi8+PC9zeW1ib2w+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczE2LCBub25lKSIgaHJlZj0iI3MxNiIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXMyNCwgbm9uZSkiIGhyZWY9IiNzMjQiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zMzIsIG5vbmUpIiBocmVmPSIjczMyIi8+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczQwLCBub25lKSIgaHJlZj0iI3M0MCIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXM0OCwgbm9uZSkiIGhyZWY9IiNzNDgiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zNjQsIG5vbmUpIiBocmVmPSIjczY0Ii8+PC9zeW1ib2w+PC9kZWZzPjxzdHlsZT5AbWVkaWEgKG1heC13aWR0aDogMjMuOThweCkge2d7LS1zMTY6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogMjRweCkgYW5kIChtYXgtd2lkdGg6IDMxLjk4cHgpIHtney0tczI0OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDMycHgpIGFuZCAobWF4LXdpZHRoOiAzOS45OHB4KSB7Z3stLXMzMjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0MHB4KSBhbmQgKG1heC13aWR0aDogNDcuOThweCkge2d7LS1zNDA6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNDhweCkgYW5kIChtYXgtd2lkdGg6IDYzLjk4cHgpIHtney0tczQ4OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWVkaXQtc29saWQiLz48L2c+PC9zdmc+")}:host([aria-current=step]:first-of-type)>.stepper-item-content::after{inset-inline-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size4))/2)}:host([aria-current=step]:not(:first-of-type,:last-of-type))>.stepper-item-content::after{inset-inline-start:calc(50% - var(--post-device-sizing-interactive-icon-size4)/2)}@media screen and (max-width: 779.98px){:host{flex-grow:1;margin-inline:0;padding:0 !important}:host::before{content:unset}:host::after{inset-inline-start:0 !important}:host(:last-of-type){flex:0 0 32px}:host(:last-of-type)::after{content:unset}.stepper-item-content{margin-inline:0 !important}.label{display:none}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host::before,:host::after{background-color:CanvasText !important}:host(.stepper-item-current:not(:first-of-type))::before,:host(.stepper-item-current:last-of-type)::after,:host(.stepper-item-completed)::after,:host(.stepper-item-completed)::before{background-color:Highlight !important}.stepper-item-content::before{forced-color-adjust:none}:host(.stepper-item-current) .stepper-item-content::before{background-color:Canvas;color:CanvasText}:host(.stepper-item-completed) .stepper-item-content::before,:host(.stepper-item-inactive) .stepper-item-content::before{border-color:Canvas;background-color:CanvasText}:host(.stepper-item-inactive) .stepper-item-content::before{color:Canvas}.stepper-item-content::after{color:Canvas}}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}'}},[257,"post-stepper-item"]),a=s,n=function(){"undefined"!=typeof customElements&&["post-stepper-item"].forEach((e=>{"post-stepper-item"===e&&(customElements.get(r(e))||customElements.define(r(e),s))}))};export{a as PostStepperItem,n as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as t,h as i,Host as s,transformTag as n}from"@stencil/core/internal/client";import"./breakpoints.js";import{v as r}from"./package.js";import{R as d}from"./required.js";import{T as a}from"./type.js";import{P as
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,h as i,Host as s,transformTag as n}from"@stencil/core/internal/client";import"./breakpoints.js";import{v as r}from"./package.js";import{R as d}from"./required.js";import{T as a}from"./type.js";import{P as c}from"./pattern.js";var p=function(e,t,i,s){var n,r=arguments.length,d=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(d=(r<3?n(d):r>3?n(t,i,d):n(t,i))||d);return r>3&&d&&Object.defineProperty(t,i,d),d};const o=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.currentIndex=-1}validateCurrentIndex(){this.stepItems&&(this.updateSteps(),this.checkIndexes())}validateSelectedIndex(){void 0===this.selectedIndex?this.selectedIndex=this.currentIndex:this.checkIndexes(),this.updateSteps()}updateActiveStepNumber(){this.textStepNumber&&(this.mobileActiveStepLabel=this.textStepNumber.replaceAll("{number}",""+(this.selectedIndex+1)),this.stepItems&&this.updateMobileActiveStepVisibility())}componentDidLoad(){setTimeout((()=>{this.validateCurrentIndex(),this.validateSelectedIndex()}))}checkIndexes(){this.selectedIndex>this.currentIndex&&console.error("The selected-index cannot be higher than the current-index, as only the current and completed steps can be selected.")}updateSteps(){this.stepItems=this.host.querySelectorAll("post-stepper-item"),!this.stepItems||this.stepItems.length<3?console.error("The post-stepper component should have at least three steps."):(this.updateActiveStepNumber(),this.stepItems.forEach(((e,t)=>{e.style.setProperty("--step-number",`"${t+1}"`),this.selectedIndex===t&&(this.mobileActiveStepName=e.innerHTML),e.classList.toggle("stepper-item-completed",this.currentIndex>t),e.classList.toggle("stepper-item-current",this.currentIndex===t),e.classList.toggle("stepper-item-selected",this.selectedIndex===t),e.classList.toggle("stepper-item-inactive",this.currentIndex<t),e.classList.toggle("stepper-item-after-current",t===this.currentIndex+1);const i=e.shadowRoot?.querySelector(".step-hidden-label");if(i){let e="";this.currentIndex>t&&(e=this.textCompletedStep+": "),this.selectedIndex===t&&(e=`${e}${this.textCurrentStep}: `),i.textContent=e}this.selectedIndex===t?(e.setAttribute("aria-current","step"),e.setAttribute("aria-live","polite")):(e.removeAttribute("aria-current"),e.removeAttribute("aria-live"))})),this.updateMobileActiveStepVisibility())}updateMobileActiveStepVisibility(){(this.selectedIndex>=this.stepItems.length||this.selectedIndex<0)&&(this.mobileActiveStepLabel="",this.mobileActiveStepName="")}render(){return i(s,{key:"52c9943bca4c1d7b1d964d812ce21d8b0eb2d236","data-version":r},i("ol",{key:"ea1f27a214d9cdf14b5f2d07f14a8d54836a32b3"},i("slot",{key:"6f07fe49d55152123dc39645ef17bf5557753005",onSlotchange:()=>this.updateSteps()})),i("div",{key:"ad3af45bc5d1493f9f1084cc28c77c39d27cbd35",class:"active-step","aria-hidden":"true"},i("span",{key:"6e3f5decadc8bcc67812dd67f6efe0afa0613b46",class:"active-step-label"},this.mobileActiveStepLabel),i("span",{key:"4aeb9376181d78007a929c5e8e4ba11c181039bb",innerHTML:this.mobileActiveStepName})))}get host(){return this}static get watchers(){return{currentIndex:[{validateCurrentIndex:0}],selectedIndex:[{validateSelectedIndex:0}],textStepNumber:[{updateActiveStepNumber:0}]}}static get style(){return"ol{margin-block:0;padding-inline-start:0;list-style:none;counter-reset:step-index;display:grid;position:relative;overflow:hidden;grid-template-columns:20px;grid-auto-columns:minmax(0, 1fr);padding-inline-end:20px}@media screen and (max-width: 779.98px){ol{display:flex;padding-inline-end:0}}.active-step{font-size:var(--post-device-font-size-7);font-weight:var(--post-device-font-weight-bold);color:var(--post-scheme-color-interactive-primary-enabled-fg1)}.active-step .active-step-label:has(+span:empty){visibility:hidden}@media screen and (min-width: 780px){.active-step{display:none}}"}},[257,"post-stepper",{textCurrentStep:[513,"text-current-step"],textCompletedStep:[513,"text-completed-step"],textStepNumber:[513,"text-step-number"],currentIndex:[2,"current-index"],selectedIndex:[2,"selected-index"],mobileActiveStepLabel:[32],mobileActiveStepName:[32]},void 0,{currentIndex:[{validateCurrentIndex:0}],selectedIndex:[{validateSelectedIndex:0}],textStepNumber:[{updateActiveStepNumber:0}]}]);p([d(),a("string")],o.prototype,"textCurrentStep",void 0),p([d(),a("string")],o.prototype,"textCompletedStep",void 0),p([d(),c(/\{number\}/)],o.prototype,"textStepNumber",void 0),p([d(),a("number")],o.prototype,"currentIndex",void 0),p([a("number")],o.prototype,"selectedIndex",void 0);const l=o,h=function(){"undefined"!=typeof customElements&&["post-stepper"].forEach((e=>{"post-stepper"===e&&(customElements.get(n(e))||customElements.define(n(e),o))}))};export{l as PostStepper,h as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as t,HTMLElement as e,h as
|
|
1
|
+
import{proxyCustomElement as t,HTMLElement as e,h as s,Host as i,transformTag as a,Build as o}from"@stencil/core/internal/client";import"./breakpoints.js";import{n}from"./nanoid.js";import{v as r}from"./package.js";import{R as c}from"./required.js";import{T as d}from"./type.js";const l=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.mutationObserver=new MutationObserver(this.checkPagesVariant.bind(this)),this.isPagesVariant=!1,this.disabled=!1}connectedCallback(){this.mutationObserver.observe(this.host,{childList:!0,subtree:!0})}componentWillLoad(){this.tabId="tab-"+(this.host.id||n(6)),this.checkPagesVariant()}disconnectedCallback(){this.mutationObserver&&this.mutationObserver.disconnect()}checkPagesVariant(){const t=null!==this.host.querySelector("a");this.isPagesVariant=t}render(){const t=o.isServer;return s(i,{key:"974d9682ef0448cf3adf9481ba472a5c196349b3",id:this.tabId,role:this.isPagesVariant?void 0:"tab","data-version":r,"data-pages-variant":""+this.isPagesVariant,"aria-selected":this.isPagesVariant?void 0:"false","aria-disabled":this.disabled?"true":void 0,tabindex:this.isPagesVariant?void 0:"-1",class:`${this.isPagesVariant?"nav-item":"tab-title"}${t&&!this.isPagesVariant?" ssr":""}`,style:t&&!this.isPagesVariant?{"--active":`var(--post-tab-item-${this.name}, 0)`}:void 0},s("slot",{key:"6a7ed6323892a40ea22e487bc9460af69fda02c6"}))}get host(){return this}},[257,"post-tab-item",{name:[513],disabled:[516],tabId:[32],isPagesVariant:[32]}]);!function(t,e,s,i){var a,o=arguments.length,n=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,s,i);else for(var r=t.length-1;r>=0;r--)(a=t[r])&&(n=(o<3?a(n):o>3?a(e,s,n):a(e,s))||n);o>3&&n&&Object.defineProperty(e,s,n)}([c(),d("string")],l.prototype,"name",void 0);const h=l,m=function(){"undefined"!=typeof customElements&&["post-tab-item"].forEach((t=>{"post-tab-item"===t&&(customElements.get(a(t))||customElements.define(a(t),l))}))};export{h as PostTabItem,m as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as t,HTMLElement as e,h as o,Host as s,transformTag as n}from"@stencil/core/internal/client";import"./breakpoints.js";import{n as
|
|
1
|
+
import{proxyCustomElement as t,HTMLElement as e,h as o,Host as s,transformTag as n,Build as r}from"@stencil/core/internal/client";import"./breakpoints.js";import{n as a}from"./nanoid.js";import{v as i}from"./package.js";import{R as l}from"./required.js";import{T as p}from"./type.js";const c=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}componentWillLoad(){this.panelId="panel-"+(this.host.id||a(6))}render(){return o(s,{key:"07d93ddaa69253a956ed50cd9ecd6ed039fbc6e2","data-version":i,id:this.panelId,role:"tabpanel",slot:"panels",style:r.isServer?{display:`var(--post-tab-panel-${this.for}, none)`}:void 0},o("slot",{key:"d6887db4e0e4dc22f8f8fdf098d6068ef4bd1a91"}))}get host(){return this}static get style(){return":host{display:none}"}},[257,"post-tab-panel",{for:[513],panelId:[32]}]);!function(t,e,o,s){var n,r=arguments.length,a=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,s);else for(var i=t.length-1;i>=0;i--)(n=t[i])&&(a=(r<3?n(a):r>3?n(e,o,a):n(e,o))||a);r>3&&a&&Object.defineProperty(e,o,a)}([l(),p("string")],c.prototype,"for",void 0);const d=c,f=function(){"undefined"!=typeof customElements&&["post-tab-panel"].forEach((t=>{"post-tab-panel"===t&&(customElements.get(n(t))||customElements.define(n(t),c))}))};export{d as PostTabPanel,f as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as t,HTMLElement as s,createEvent as i,h as e,Host as a,transformTag as o}from"@stencil/core/internal/client";import{f as n}from"./fade.js";import"./breakpoints.js";import{c as h}from"./component-on-ready.js";import{v as r}from"./package.js";import{T as l}from"./type.js";const c=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.postChange=i(this,"postChange",7),this.isLoaded=!1,this.isNavigationMode=!1,this.fullWidth=!1}get tabs(){return Array.from(this.host.querySelectorAll("post-tab-item")).filter((t=>t.closest("post-tabs")===this.host))}get panels(){return Array.from(this.host.querySelectorAll("post-tab-panel")).filter((t=>t.closest("post-tabs")===this.host))}validateLabel(){this.isNavigationMode&&!this.label&&console.error(`[${this.host.localName}] Property "label" is required in navigation mode. Received: ${JSON.stringify(this.label)}.`,this.host)}componentWillRender(){this.detectMode()}componentDidLoad(){if(this.moveMisplacedTabs(),this.moveMisplacedPanels(),this.enableTabs(),this.setupContentObserver(),this.validateLabel(),this.isNavigationMode){const t=this.findActiveNavigationTab();t&&this.activateTab(t)}else{const t=this.activeTab||this.tabs[0]?.name;t&&this.show(t)}this.isLoaded=!0}disconnectedCallback(){this.showing&&(this.showing.cancel(),this.showing=null),this.hiding&&(this.hiding.cancel(),this.hiding=null),this.contentObserver&&this.contentObserver.disconnect()}setupContentObserver(){this.contentObserver=new MutationObserver(this.handleContentChange.bind(this)),this.contentObserver.observe(this.host,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-navigation-mode","aria-current"]})}handleContentChange(t){const s=this.shouldRedetectMode(t);this.hasAriaCurrentChanged(t)&&this.isNavigationMode&&this.updateActiveNavigationTab(),s&&this.handleModeChange()}shouldRedetectMode(t){return t.some((t=>"childList"===t.type?t.addedNodes.length>0||t.removedNodes.length>0:"attributes"===t.type&&"data-navigation-mode"===t.attributeName))}hasAriaCurrentChanged(t){return t.some((t=>"attributes"===t.type&&"aria-current"===t.attributeName))}updateActiveNavigationTab(){const t=this.findActiveNavigationTab();t&&t!==this.currentActiveTab&&this.activateTab(t)}handleModeChange(){const t=this.isNavigationMode;this.detectMode(),t!==this.isNavigationMode&&(this.enableTabs(),this.initializeActiveTab())}initializeActiveTab(){if(this.isNavigationMode){const t=this.findActiveNavigationTab();t&&this.activateTab(t)}else{const t=this.activeTab||this.tabs[0]?.name;t&&this.show(t)}}detectMode(){const t=this.tabs.some((t=>null!==t.querySelector("a")||"true"===t.dataset.navigationMode));if(t&&this.panels.length>0)throw Error("PostTabs: Mixed mode detected. Cannot use both navigation mode (anchor elements) and panel mode (post-tab-panel elements) at the same time.");this.isNavigationMode=t}findActiveNavigationTab(){return this.tabs.find((t=>null!==t.querySelector('a[aria-current="page"]')))||null}async show(t){if(t===this.currentActiveTab?.name)return;const s=this.currentActiveTab,i=this.host.querySelector(`post-tab-item[name=${t}]`);this.activateTab(i),this.showing&&(this.showing.finish(),this.showing=null),!s||this.showing||this.hiding||this.hidePanel(s.name),this.hiding&&await this.hiding.finished,this.showSelectedPanel(),this.showing&&await this.showing.finished,this.isLoaded&&this.postChange.emit(this.currentActiveTab.name)}moveMisplacedTabs(){this.tabs&&this.tabs.forEach((t=>{t.getAttribute("slot")&&t.removeAttribute("slot")}))}moveMisplacedPanels(){this.panels&&this.panels.forEach((t=>{"panels"!==t.getAttribute("slot")&&t.setAttribute("slot","panels")}))}enableTabs(){this.tabs&&(this.tabs.forEach((async t=>{if(await h(t),this.isNavigationMode)return;if(t.getAttribute("aria-controls"))return;const s=this.getPanel(t.name);s&&(t.setAttribute("aria-controls",s.id),s.setAttribute("aria-labelledby",t.id)),t.addEventListener("click",(()=>{this.show(t.name)})),t.addEventListener("keydown",(s=>{"Enter"!==s.key&&" "!==s.key||(s.preventDefault(),this.show(t.name))})),t.addEventListener("keydown",(s=>{"ArrowRight"!==s.key&&"ArrowLeft"!==s.key||this.navigateTabs(t,s.key)}))})),this.currentActiveTab&&!this.currentActiveTab.isConnected&&this.show(this.tabs[0]?.name))}activateTab(t){this.currentActiveTab&&(this.currentActiveTab.classList.remove("active"),this.isNavigationMode||(this.currentActiveTab.setAttribute("aria-selected","false"),this.currentActiveTab.setAttribute("tabindex","-1"))),t.classList.add("active"),this.isNavigationMode||(t.setAttribute("aria-selected","true"),t.setAttribute("tabindex","0")),this.currentActiveTab=t}hidePanel(t){const s=this.getPanel(t);s&&(this.hiding=n(s,"out"),this.hiding.onfinish=()=>{s.style.display="none",this.hiding=null})}showSelectedPanel(){const t=this.getPanel(this.currentActiveTab.name);t&&(t.style.display="block",this.isLoaded&&(this.showing=n(t,"in"),this.showing.onfinish=()=>{this.showing=null}))}getPanel(t){return this.host.querySelector(`post-tab-panel[for=${t}]`)}navigateTabs(t,s){const i=Array.from(this.tabs).indexOf(t);let e;e="ArrowRight"===s?this.tabs[i+1]||this.tabs[0]:this.tabs[i-1]||this.tabs.at(-1),e&&(e.focus(),this.show(e.name))}render(){return e(a,{key:"3b674ed455e34a7efc1c1ffed14ac719a7ecb061","data-version":r},e("div",{key:"749f4695adc7c3125bfb678606249c48a4d7ea31",class:"tabs-wrapper",part:"post-tabs"},e(this.isNavigationMode?"nav":"div",{key:"c06c83dbcbdf9f3fd38f01db7beae181748b369d",class:"tabs",role:this.isNavigationMode?void 0:"tablist","aria-label":this.isNavigationMode?this.label:void 0},e("slot",{key:"b065d0200fb2d4b6a63e23141d3e625a4147a93d",onSlotchange:()=>{this.moveMisplacedTabs(),this.enableTabs()}}))),!this.isNavigationMode&&e("div",{key:"8dc41274f8c9da24b2d65eebf213ea35c41368d0",class:"tab-content",part:"post-tabs-content"},e("slot",{key:"e859256ebcb60fc0457349ca991508406b3bc309",name:"panels",onSlotchange:()=>this.moveMisplacedPanels()})))}get host(){return this}static get watchers(){return{label:[{validateLabel:0}]}}static get style(){return'.tabs-wrapper{position:relative;padding-top:1rem;border:0;background-color:rgba(0,0,0,.02)}.tabs-wrapper::after{content:"";position:absolute;bottom:0;width:100%;height:1px;background-color:#ccc}.tabs-wrapper .tabs{background-color:rgba(0,0,0,0) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tabs-wrapper::after{background-color:ButtonBorder}}.tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;white-space:nowrap;margin-block:0;padding-inline-start:0;list-style:none}.tabs::after{content:"";display:block;flex:1 0 auto;width:1rem}.tab-content{padding-top:1rem}:host{display:block}:host([full-width=true]) .tabs-wrapper{margin-inline:calc(-1*var(--post-container-offset))}:host([full-width=true]) .tabs-wrapper .tabs{padding-inline:var(--post-container-offset)}'}},[257,"post-tabs",{activeTab:[1,"active-tab"],fullWidth:[516,"full-width"],label:[513],isNavigationMode:[32],show:[64]},void 0,{label:[{validateLabel:0}]}]);!function(t,s,i,e){var a,o=arguments.length,n=o<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,s,i,e);else for(var h=t.length-1;h>=0;h--)(a=t[h])&&(n=(o<3?a(n):o>3?a(s,i,n):a(s,i))||n);o>3&&n&&Object.defineProperty(s,i,n)}([l("string")],c.prototype,"label",void 0);const d=c,b=function(){"undefined"!=typeof customElements&&["post-tabs"].forEach((t=>{"post-tabs"===t&&(customElements.get(o(t))||customElements.define(o(t),c))}))};export{d as PostTabs,b as defineCustomElement}
|
|
1
|
+
import{proxyCustomElement as t,HTMLElement as s,createEvent as e,h as i,Host as o,transformTag as a,Build as r}from"@stencil/core/internal/client";import{f as n}from"./fade.js";import"./breakpoints.js";import{c}from"./component-on-ready.js";import{v as l}from"./package.js";import{d as h}from"./post-icon2.js";import{O as b}from"./one-of.js";import{T as p}from"./type.js";var d=function(t,s,e,i){var o,a=arguments.length,r=a<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,s,e,i);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(r=(a<3?o(r):a>3?o(s,e,r):o(s,e))||r);return a>3&&r&&Object.defineProperty(s,e,r),r};const v=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.postChange=e(this,"postChange",7),this.showing=null,this.hiding=null,this.isLoaded=!1,this.isPagesVariant=!1,this.showLeftScrollButton=!1,this.showRightScrollButton=!1,this.textPrevTabItems="Previous tab items",this.textNextTabItems="Next tab items",this.size="large",this.updateScrollButtons=()=>{if(!this.tabsContainer)return;const t=getComputedStyle(this.tabsContainer),s=Number.parseFloat(t.paddingInlineStart)||0,e=Number.parseFloat(t.paddingInlineEnd)||0,i=this.tabsContainer.clientWidth-s-e,o=this.tabsContainer.scrollWidth-s-e;this.showLeftScrollButton=this.tabsContainer.scrollLeft>0,this.showRightScrollButton=this.tabsContainer.scrollLeft+i<o}}get tabs(){return Array.from(this.host.querySelectorAll("post-tab-item")).filter((t=>t.closest("post-tabs")===this.host))}get panels(){return Array.from(this.host.querySelectorAll("post-tab-panel")).filter((t=>t.closest("post-tabs")===this.host))}validateLabel(){this.isPagesVariant&&!this.label&&console.error(`[${this.host.localName}] Property "label" is required in Pages variant. Received: ${JSON.stringify(this.label)}.`,this.host)}componentWillRender(){this.detectVariant()}componentDidLoad(){if(this.leftScrollButton.ariaControlsElements=[this.tabsContainer],this.rightScrollButton.ariaControlsElements=[this.tabsContainer],this.moveMisplacedTabs(),this.moveMisplacedPanels(),this.enableTabs(),this.handleScrollButtons(),this.setupContentObserver(),this.setupResizeObserver(),this.validateLabel(),this.isPagesVariant){const t=this.findActivePagesTab();t&&(this.activateTab(t),this.scrollTabIntoView(t))}else{const t=this.activeTab||this.tabs[0]?.name;if(t){this.show(t);const s=this.tabs.find((s=>s.name===t));s&&this.scrollTabIntoView(s)}}this.isLoaded=!0}disconnectedCallback(){this.showing&&(this.showing.cancel(),this.showing=null),this.hiding&&(this.hiding.cancel(),this.hiding=null),this.contentObserver&&this.contentObserver?.disconnect(),this.resizeObserver?.disconnect(),this.tabsContainer?.removeEventListener("scroll",this.updateScrollButtons)}setupContentObserver(){this.contentObserver=new MutationObserver(this.handleContentChange.bind(this)),this.contentObserver?.observe(this.host,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-pages-variant","aria-current"]})}setupResizeObserver(){this.resizeObserver=new ResizeObserver(this.updateScrollButtons),this.resizeObserver.observe(this.tabsContainer)}handleContentChange(t){const s=this.shouldRedetectVariant(t);this.hasAriaCurrentChanged(t)&&this.isPagesVariant&&this.updateActivePagesTab(),s&&this.handleVariantChange(),this.updateScrollButtons()}shouldRedetectVariant(t){return t.some((t=>"childList"===t.type?t.addedNodes.length>0||t.removedNodes.length>0:"attributes"===t.type&&"data-pages-variant"===t.attributeName))}hasAriaCurrentChanged(t){return t.some((t=>"attributes"===t.type&&"aria-current"===t.attributeName))}updateActivePagesTab(){const t=this.findActivePagesTab();t&&t!==this.currentActiveTab&&(this.activateTab(t),this.scrollTabIntoView(t,"smooth"))}handleVariantChange(){const t=this.isPagesVariant;this.detectVariant(),t!==this.isPagesVariant&&(this.enableTabs(),this.initializeActiveTab())}initializeActiveTab(){if(this.isPagesVariant){const t=this.findActivePagesTab();t&&(this.activateTab(t),this.scrollTabIntoView(t))}else{const t=this.activeTab||this.tabs[0]?.name;t&&this.show(t)}}detectVariant(){const t=this.tabs.some((t=>null!==t.querySelector("a")||"true"===t.dataset.pagesVariant));if(t&&this.panels.length>0)throw Error("PostTabs: Mixed mode detected. Cannot use both Page Tabs (anchor elements) and Content Tabs (post-tab-panel elements) variants at the same time.");this.isPagesVariant=t,this.host.classList.remove("page-tabs","content-tabs"),this.host.classList.add(this.isPagesVariant?"page-tabs":"content-tabs")}findActivePagesTab(){return this.tabs.find((t=>null!==t.querySelector('a[aria-current="page"]')))||null}async show(t){try{if(t===this.currentActiveTab?.name)return;const s=this.currentActiveTab,e=this.host.querySelector(`post-tab-item[name="${t}"]`);if(!e)return;if(this.activateTab(e),this.scrollTabIntoView(e,"smooth"),this.showing&&(this.showing.finish(),this.showing=null),!s||this.showing||this.hiding||this.hidePanel(s.name),await this.awaitAnimation(this.hiding))return;if(this.showSelectedPanel(),await this.awaitAnimation(this.showing))return;this.isLoaded&&this.currentActiveTab&&this.postChange.emit(this.currentActiveTab.name)}catch(t){if(this.isAbortError(t))return;throw t}}async awaitAnimation(t){if(!t)return!1;try{return await t.finished,!1}catch(t){if(this.isAbortError(t))return!0;throw t}}isAbortError(t){return(t instanceof DOMException||t instanceof Error)&&"AbortError"===t.name}moveMisplacedTabs(){this.tabs&&this.tabs.forEach((t=>{t.getAttribute("slot")&&t.removeAttribute("slot")}))}moveMisplacedPanels(){this.panels&&this.panels.forEach((t=>{"panels"!==t.getAttribute("slot")&&t.setAttribute("slot","panels")}))}enableTabs(){this.tabs&&(this.tabs.forEach((async t=>{if(await c(t),this.isPagesVariant)return;if(t.getAttribute("aria-controls"))return;const s=this.getPanel(t.name);s&&(t.setAttribute("aria-controls",s.id),s.setAttribute("aria-labelledby",t.id)),t.addEventListener("click",(()=>{this.show(t.name)})),t.addEventListener("keydown",(s=>{if("Enter"!==s.key&&" "!==s.key||(s.preventDefault(),this.show(t.name)),"Home"!==s.key&&"End"!==s.key)return;s.preventDefault();const e=this.tabs.filter((t=>!t.hasAttribute("disabled")));if(0===e.length)return;const i="Home"===s.key?e[0]:e.at(-1);i&&(i?.focus(),this.show(i.name))})),t.addEventListener("keydown",(s=>{"ArrowRight"!==s.key&&"ArrowLeft"!==s.key||this.navigateTabs(t,s.key)}))})),this.currentActiveTab&&!this.currentActiveTab.isConnected&&this.show(this.tabs[0]?.name))}activateTab(t){this.currentActiveTab&&(this.isPagesVariant||(this.currentActiveTab.setAttribute("aria-selected","false"),this.currentActiveTab.setAttribute("tabindex","-1"))),this.isPagesVariant||(t.setAttribute("aria-selected","true"),t.setAttribute("tabindex","0")),this.currentActiveTab=t}hidePanel(t){const s=this.getPanel(t);s&&(this.hiding=n(s,"out"),this.hiding.onfinish=()=>{s.style.display="none",this.hiding=null})}showSelectedPanel(){if(!this.currentActiveTab)return;const t=this.getPanel(this.currentActiveTab.name);t&&(t.style.display="block",this.isLoaded&&(this.showing=n(t,"in"),this.showing.onfinish=()=>{this.showing=null}))}getPanel(t){return this.host.querySelector(`post-tab-panel[for=${t}]`)}navigateTabs(t,s){const e=Array.from(this.tabs).indexOf(t);let i;i="ArrowRight"===s?this.tabs[e+1]||this.tabs[0]:this.tabs[e-1]||this.tabs.at(-1),i&&(i.focus(),this.show(i.name))}scrollTabs(t){const s="prev"===t?-1:1,e=getComputedStyle(this.tabsContainer),i=Number.parseFloat(e.paddingInlineStart)||0,o=Number.parseFloat(e.paddingInlineEnd)||0;this.tabsContainer.scrollBy({left:s*(this.tabsContainer.clientWidth-i-o),behavior:"smooth"})}scrollTabIntoView(t,s="instant"){const e=this.tabsContainer,i=getComputedStyle(e),o=Number.parseFloat(i.paddingInlineStart)||0,a=Number.parseFloat(i.paddingInlineEnd)||0,r=t.offsetLeft,n=r+t.offsetWidth,c=e.scrollLeft+o,l=c+e.clientWidth-o-a;r<c?e.scrollTo({left:r-o,behavior:s}):n>l&&e.scrollTo({left:n-e.clientWidth+a,behavior:s})}handleScrollButtons(){this.updateScrollButtons(),this.tabsContainer.addEventListener("scroll",this.updateScrollButtons)}render(){const t=this.activeTab??this.tabs[0]?.name,s=this.isPagesVariant?"nav":"div";return i(o,{key:"3e187db1375d551ac80bb4facced0ad4d01ec3fd","data-version":l,style:r.isServer&&!this.isPagesVariant&&t?{["--post-tab-panel-"+t]:"block",["--post-tab-item-"+t]:"1"}:void 0},i("div",{key:"8efd1434819801304bb218bf8af2a9c570153d70",class:"tabs-wrapper",part:"post-tabs"},i("button",{key:"50d03d1a84e1f92c915d11e9b161498bd938b713",ref:t=>this.leftScrollButton=t,class:"scroll-btn scroll-btn-left",type:"button","aria-label":this.textPrevTabItems,tabindex:this.showLeftScrollButton?0:-1,hidden:!this.showLeftScrollButton,onClick:()=>this.scrollTabs("prev")},i("post-icon",{key:"f767e493126954bd9246b4c161aa197f5fe48fcc",name:"chevronleft"})),i(s,{key:"f319b638b3fdfb46d5e793001192bb96e4763cca",ref:t=>this.tabsContainer=t,class:"tabs",role:this.isPagesVariant?void 0:"tablist","aria-label":this.isPagesVariant?this.label:void 0},i("slot",{key:"65d15b30402eaf835f506f4cf24dd6373a632c52",onSlotchange:()=>{this.moveMisplacedTabs(),this.enableTabs()}})),i("button",{key:"f18317a83f6bd1c28c455ad6cfc8d58cd83c52d2",ref:t=>this.rightScrollButton=t,class:"scroll-btn scroll-btn-right",type:"button","aria-label":this.textNextTabItems,tabindex:this.showRightScrollButton?0:-1,hidden:!this.showRightScrollButton,onClick:()=>this.scrollTabs("next")},i("post-icon",{key:"fcc75e1de8c39f3e3e2864e3439e85881001c73c",name:"chevronright"}))),!this.isPagesVariant&&i("div",{key:"487435bf4d776f1771eff2c735e3476a05ef68c4",class:"tab-content",part:"post-tabs-content"},i("slot",{key:"bbe284adfc74d502a77ceaade18179101f6aaf30",name:"panels",onSlotchange:()=>this.moveMisplacedPanels()})))}get host(){return this}static get watchers(){return{label:[{validateLabel:0}]}}static get style(){return':host{display:block}:host .tabs-wrapper{position:relative;display:flex;align-items:center}:host .tabs-wrapper button.scroll-btn{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button;display:flex;align-items:center;justify-content:center;transition:background-color 100ms,border-color 100ms,color 100ms;cursor:pointer}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn{background-color:ButtonFace !important}:host .tabs-wrapper button.scroll-btn:hover{background-color:Highlight !important}}:host .tabs-wrapper button.scroll-btn post-icon{color:currentColor}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn post-icon{color:Highlight}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:hover post-icon{color:canvas}}:host .tabs-wrapper button.scroll-btn[hidden]{display:none}:host .tabs-wrapper button.scroll-btn{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline-offset:calc(var(--post-device-spacing-padding-28) + -1*var(--post-device-border-width-default)) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:has(:focus-visible),.pretend-focus){transition:none}:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:has(:focus-visible),.pretend-focus):hover{color:HighlightText;border-color:HighlightText}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline-offset:calc(var(--post-device-spacing-padding-28) + -1*var(--post-device-border-width-default)) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:focus-within,.pretend-focus){transition:none}:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:focus-within,.pretend-focus):hover{color:HighlightText;border-color:HighlightText}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}:host .tabs-wrapper .tabs{overflow-x:hidden;background-color:rgba(0,0,0,0) !important;display:flex;flex-wrap:nowrap;align-items:end;overscroll-behavior-x:contain;white-space:nowrap;margin-block:0;padding-inline-start:0;list-style:none}:host(.page-tabs){overflow:visible !important}:host(.page-tabs) .tabs-wrapper{margin-inline:calc(-1*(var(--post-container-offset) + var(--post-device-grid-padding-inline-container)))}:host(.page-tabs) .tabs-wrapper button.scroll-btn{color:var(--post-scheme-color-interactive-primary-enabled-fg5);background-color:var(--post-scheme-color-interactive-primary-enabled-bg5);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-enabled-stroke);position:absolute;z-index:2;box-shadow:var(--post-device-elevation-200);border-radius:var(--post-device-border-radius-2)}:host(.page-tabs) .tabs-wrapper button.scroll-btn:hover{border-color:var(--post-scheme-color-interactive-primary-hover-stroke) !important;color:var(--post-scheme-color-interactive-primary-hover-fg4);background-color:var(--post-scheme-color-interactive-primary-hover-bg8)}:host(.page-tabs) .tabs-wrapper button.scroll-btn.scroll-btn-left{inset-inline-start:calc(var(--post-container-offset) + var(--post-device-grid-padding-inline-container));border-inline-start:none;border-radius:0 var(--post-device-border-radius-2) var(--post-device-border-radius-2) 0}:host(.page-tabs) .tabs-wrapper button.scroll-btn.scroll-btn-right{inset-inline-end:calc(var(--post-container-offset) + var(--post-device-grid-padding-inline-container));border-inline-end:none;border-radius:var(--post-device-border-radius-2) 0 0 var(--post-device-border-radius-2)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(.page-tabs) .tabs-wrapper button.scroll-btn.scroll-btn{background-color:Highlight;color:HighlightText}}:host(.page-tabs) .tabs-wrapper::after{content:"";position:absolute;inset-block-end:0;inset-inline-start:0;width:100%;height:var(--post-device-border-width-default);background-color:var(--post-palette-color-nested-tabs-page-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(.page-tabs) .tabs-wrapper::after{background-color:LinkText}}:host(.page-tabs) .tabs-wrapper .tabs{padding-inline:calc(var(--post-container-offset) + var(--post-device-grid-padding-inline-container));gap:var(--post-device-spacing-gap-inline-5);scrollbar-width:none}:host(.page-tabs) .tabs-wrapper .tabs::-webkit-scrollbar{display:none}:host(.page-tabs:not([size=small])) button.scroll-btn{top:var(--post-device-spacing-padding-block-35)}:host(.page-tabs[size=small]) button.scroll-btn{top:var(--post-device-spacing-padding-block-8)}:host(.content-tabs) .tabs-wrapper button.scroll-btn{flex-shrink:0;color:var(--post-scheme-color-interactive-button-tertiary-enabled-fg)}:host(.content-tabs) .tabs-wrapper button.scroll-btn:hover{border-color:var(--post-scheme-color-interactive-primary-hover-stroke) !important;color:var(--post-scheme-color-interactive-button-tertiary-hover-fg)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(.content-tabs) .tabs-wrapper button.scroll-btn:hover{color:HighlightText}}:host(.page-tabs:not([size=small])) .tabs-wrapper button.scroll-btn{height:var(--post-device-sizing-interactive-button-height-10);width:var(--post-device-sizing-interactive-button-width-1)}:host(.page-tabs:not([size=small])) .tabs-wrapper button.scroll-btn.scroll-btn-left{padding-inline:var(--post-device-spacing-padding-38) var(--post-device-spacing-padding-39)}:host(.page-tabs:not([size=small])) .tabs-wrapper button.scroll-btn.scroll-btn-right{padding-inline:var(--post-device-spacing-padding-39) var(--post-device-spacing-padding-38)}:host([size=small]) .tabs-wrapper button.scroll-btn{height:var(--post-device-sizing-interactive-button-size-1);width:var(--post-device-sizing-interactive-button-size-1)}:host([size=small]) .tabs-wrapper button.scroll-btn.scroll-btn-left{padding-inline:var(--post-device-spacing-padding-41) var(--post-device-spacing-padding-42)}:host([size=small]) .tabs-wrapper button.scroll-btn.scroll-btn-right{padding-inline:var(--post-device-spacing-padding-42) var(--post-device-spacing-padding-41)}:host([size=small]) .tabs-wrapper button.scroll-btn post-icon{height:var(--post-device-sizing-interactive-icon-size4);width:var(--post-device-sizing-interactive-icon-size4)}'}},[257,"post-tabs",{textPrevTabItems:[513,"text-prev-tab-items"],textNextTabItems:[513,"text-next-tab-items"],activeTab:[513,"active-tab"],size:[513],label:[513],isPagesVariant:[32],showLeftScrollButton:[32],showRightScrollButton:[32],show:[64]},void 0,{label:[{validateLabel:0}]}]);d([b(["small","large"])],v.prototype,"size",void 0),d([p("string")],v.prototype,"label",void 0);const u=v,g=function(){"undefined"!=typeof customElements&&["post-tabs","post-icon"].forEach((t=>{switch(t){case"post-tabs":customElements.get(a(t))||customElements.define(a(t),v);break;case"post-icon":customElements.get(a(t))||h()}}))};export{u as PostTabs,g as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as t,HTMLElement as e,h as o,Host as s,transformTag as i}from"@stencil/core/internal/client";import{v as r}from"./package.js";const n=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.toggled=!1,this.handleClick=()=>{this.toggled=!this.toggled},this.handleKeydown=t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.host.click())}}componentWillLoad(){this.host.addEventListener("click",(()=>this.handleClick()),{capture:!0}),this.host.addEventListener("keydown",(t=>this.handleKeydown(t)),{capture:!0})}render(){return o(s,{key:"
|
|
1
|
+
import{proxyCustomElement as t,HTMLElement as e,h as o,Host as s,transformTag as i}from"@stencil/core/internal/client";import{v as r}from"./package.js";const n=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.toggled=!1,this.handleClick=()=>{this.toggled=!this.toggled},this.handleKeydown=t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.host.click())}}componentWillLoad(){this.host.addEventListener("click",(()=>this.handleClick()),{capture:!0}),this.host.addEventListener("keydown",(t=>this.handleKeydown(t)),{capture:!0})}render(){return o(s,{key:"6f61a07946f3e67bace0a883b73c424893c4043d","data-version":r,role:"button",tabindex:"0","aria-pressed":this.toggled.toString()},o("slot",{key:"fd9b93e45da499dbb790ad675f3db36e248c1960"}))}get host(){return this}static get style(){return":host{cursor:pointer;outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}:host(:focus-visible){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:focus-visible){outline-color:Highlight !important}}:host([aria-pressed=true]) ::slotted([data-showwhen=untoggled]){display:none}:host([aria-pressed=false]) ::slotted([data-showwhen=toggled]){display:none}"}},[257,"post-togglebutton",{toggled:[1028]}]);function a(){"undefined"!=typeof customElements&&["post-togglebutton"].forEach((t=>{"post-togglebutton"===t&&(customElements.get(i(t))||customElements.define(i(t),n))}))}export{n as P,a as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as t,HTMLElement as e,Build as
|
|
1
|
+
import{proxyCustomElement as t,HTMLElement as e,Build as i,h as s,Host as o,transformTag as n}from"@stencil/core/internal/client";import"./breakpoints.js";import{v as r}from"./package.js";import{R as h}from"./required.js";import{T as l}from"./type.js";const a=["pointerenter","pointerleave","focusin","focusout"];let c;const p=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.delay=0,this.trigger=null,this.delayTimeout=null,this.boundTriggerHandler=this.handleTriggerEvent.bind(this),this.boundTooltipHandler=this.handleTooltipEvent.bind(this)}get tooltip(){if(i.isServer)return null;const t=document.getElementById(this.for);return"post-tooltip"===t?.localName?t:null}componentWillLoad(){i.isBrowser&&import("./focusable.js").then((function(t){return t.f})).then((t=>{c??(c=t.default)}))}componentDidLoad(){this.setupTrigger(),this.attachListeners(),this.attachTooltipListeners()}disconnectedCallback(){this.removeListeners(),this.removeTooltipListeners(),this.cleanupTrigger(),this.delayTimeout&&(clearTimeout(this.delayTimeout),this.delayTimeout=null)}handleSlotChange(){this.cleanupTrigger(),this.setupTrigger()}cleanupTrigger(){if(this.trigger){const t=this.trigger.getAttribute("aria-describedby")||"";if(t.includes(this.for)){const e=t.split(" ").filter((t=>t!==this.for)).join(" ");e?this.trigger.setAttribute("aria-describedby",e):this.trigger.removeAttribute("aria-describedby")}this.trigger=null}}setupTrigger(){if(this.trigger=this.host.querySelector("*"),this.trigger){c?.(this.trigger)||this.trigger.setAttribute("tabindex","0");const t=this.trigger.getAttribute("aria-describedby")||"";t.includes(this.for)||this.trigger.setAttribute("aria-describedby",`${t} ${this.for}`.trim())}else console.warn("No content found in the post-tooltip-trigger slot. Please insert a focusable element or content that can receive focus.")}attachListeners(){a.forEach((t=>{this.host.addEventListener(t,this.boundTriggerHandler)}))}removeListeners(){a.forEach((t=>{this.host.removeEventListener(t,this.boundTriggerHandler)}))}attachTooltipListeners(){this.tooltip&&(this.tooltip.addEventListener("pointerenter",this.boundTooltipHandler),this.tooltip.addEventListener("pointerleave",this.boundTooltipHandler))}removeTooltipListeners(){this.tooltip&&(this.tooltip.removeEventListener("pointerenter",this.boundTooltipHandler),this.tooltip.removeEventListener("pointerleave",this.boundTooltipHandler))}handleTriggerEvent(t){switch(t.type){case"pointerenter":case"focusin":case"long-press":this.handleEnter();break;case"pointerleave":case"focusout":this.handleLeave(t)}}handleTooltipEvent(t){switch(t.type){case"pointerenter":this.handleEnter();break;case"pointerleave":this.handleLeave(t)}}handleEnter(){this.delayTimeout&&(clearTimeout(this.delayTimeout),this.delayTimeout=null),this.interestHandler()}handleLeave(t){const e=t.relatedTarget;this.tooltip&&e&&this.tooltip.contains(e)||e===this.trigger||this.interestLostHandler()}interestHandler(){this.trigger&&(this.delay>0?this.delayTimeout=globalThis.setTimeout((()=>{this.tooltip?.show(this.trigger),this.delayTimeout=null}),this.delay):this.tooltip?.show(this.trigger))}interestLostHandler(){this.delayTimeout&&(clearTimeout(this.delayTimeout),this.delayTimeout=null),this.tooltip?.hide()}render(){return s(o,{key:"37f835a46c96f1f97019b611da8b6be2d6e1a8d7","data-version":r},s("slot",{key:"c2fc3d9080948fdcfbd8b2866730e76b770b87ba",onSlotchange:()=>this.handleSlotChange()}))}get host(){return this}static get style(){return"post-tooltip-trigger{vertical-align:top}:host{cursor:pointer}"}},[257,"post-tooltip-trigger",{for:[513],delay:[2]}]);!function(t,e,i,s){var o,n=arguments.length,r=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var h=t.length-1;h>=0;h--)(o=t[h])&&(r=(n<3?o(r):n>3?o(e,i,r):o(e,i))||r);n>3&&r&&Object.defineProperty(e,i,r)}([h(),l("string")],p.prototype,"for",void 0);const u=p,d=function(){"undefined"!=typeof customElements&&["post-tooltip-trigger"].forEach((t=>{"post-tooltip-trigger"===t&&(customElements.get(n(t))||customElements.define(n(t),p))}))};export{u as PostTooltipTrigger,d as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as o,h as t,Host as r,transformTag as s}from"@stencil/core/internal/client";import{d as a,a as i}from"./post-popovercontainer2.js";import"./breakpoints.js";import{v as n}from"./package.js";import{O as p}from"./one-of.js";const c=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.placement="top",this.arrow=!1,this.open=!1}componentDidLoad(){this.host.id||console.error("No id set: <post-tooltip> must have an id, linking it to it's target element with a <post-tooltip-trigger> element.")}async show(e){this.open||await this.popoverRef.show(e)}async hide(){this.popoverRef.hide()}async toggle(e,o){this.popoverRef.toggle(e,o)}handleBeforeToggle(e){this.open=e.detail.willOpen}render(){return t(r,{key:"d49731becbb7395ec68cfae34d316a6248977b53","data-version":n},t("post-popovercontainer",{key:"12da18a58c2143ef4c2ddff207d081d091e6a40e",safeSpace:"trapezoid",class:this.arrow?"has-arrow":"",role:"tooltip",arrow:this.arrow,placement:this.placement,onPostBeforeToggle:e=>this.handleBeforeToggle(e),ref:e=>this.popoverRef=e},t("slot",{key:"5f941c0311eff468be1c6abe7cbcdab8ba272e15"})))}get host(){return this}static get style(){return':host{display:none}:host([open]){display:contents}post-popovercontainer[arrow]::after{position:absolute;content:"";inset:-13px;z-index:-1}post-popovercontainer{--post-current-bg:var(--post-scheme-color-surface-accent-bg);--post-current-fg:var(--post-scheme-color-surface-accent-fg);--post-popovercontainer-arrow-border-width:var(--post-device-border-width-alternative1);--post-popovercontainer-arrow-border-color:var(--post-scheme-color-surface-accent-fg)}post-popovercontainer::part(post-popovercontainer-border-mask){display:block;box-shadow:inset 0 0 0 var(--post-device-spacing-padding-14) var(--post-scheme-color-surface-accent-bg)}post-popovercontainer::part(post-popovercontainer-content){border:var(--post-device-border-width-alternative1) solid var(--post-scheme-color-surface-accent-fg);border-radius:var(--post-device-border-radius-1);padding:var(--post-device-spacing-padding-14) var(--post-device-spacing-padding-15);font-size:var(--post-device-font-size-9);max-width:var(--post-tooltip-max-width, 280px);width:inherit;word-wrap:break-word;white-space:normal}'}},[257,"post-tooltip",{placement:[1],arrow:[4],open:[1540],show:[64],hide:[64],toggle:[64]}]);!function(e,o,t,r){var s,a=arguments.length,i=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,o,t,r);else for(var n=e.length-1;n>=0;n--)(s=e[n])&&(i=(a<3?s(i):a>3?s(o,t,i):s(o,t))||i);a>3&&i&&Object.defineProperty(o,t,i)}([p(i)],c.prototype,"placement",void 0);const d=c,l=function(){"undefined"!=typeof customElements&&["post-tooltip","post-popovercontainer"].forEach((e=>{switch(e){case"post-tooltip":customElements.get(s(e))||customElements.define(s(e),c);break;case"post-popovercontainer":customElements.get(s(e))||a()}}))};export{d as PostTooltip,l as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const t=":where(post-accordion,post-accordion-item,post-autocomplete,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-closebutton,post-collapsible,post-collapsible-trigger,post-date-picker,post-footer,post-header,post-icon,post-language-menu,post-language-menu-item,post-linkarea,post-listbox,post-listbox-option,post-login-widget,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-number-input,post-pagination,post-popover,post-popover-trigger,post-popovercontainer,post-progressbar,post-rating,post-stepper,post-stepper-item,post-tab-item,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not(:defined):not(.hydrated,[data-hydrated]){visibility:hidden}@media (scripting: none){:where(post-accordion,post-accordion-item,post-autocomplete,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-closebutton,post-collapsible,post-collapsible-trigger,post-date-picker,post-footer,post-header,post-icon,post-language-menu,post-language-menu-item,post-linkarea,post-listbox,post-listbox-option,post-login-widget,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-number-input,post-pagination,post-popover,post-popover-trigger,post-popovercontainer,post-progressbar,post-rating,post-stepper,post-stepper-item,post-tab-item,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not(:defined):not(.hydrated,[data-hydrated]){visibility:visible}}post-accordion:not([multiple]):not(:has([collapsed]))>post-accordion-item~post-accordion-item{--post-collapsible-initial-height:0;--post-collapsible-initial-overflow:hidden;--post-accordion-icon-initial-transform:rotate(-180deg)}.form-label:has(+post-number-input){display:block}.form-label:has(+post-number-input.number-input-sm){padding-inline:var(--post-device-spacing-padding-2);padding-block:var(--post-device-spacing-padding-30);font-weight:var(--post-device-font-weight-bold);font-size:var(--post-device-font-size-7)}.form-label:has(+post-number-input.disabled){color:var(--post-scheme-color-interactive-input-disabled-fg)}post-number-input.form-floating>input.form-control{padding:var(--post-device-spacing-padding-block-29) var(--post-device-spacing-padding-inline-1) var(--post-device-spacing-padding-block-3)}post-number-input.form-floating>input.form-control:focus~label,post-number-input.form-floating>input.form-control:not(:placeholder-shown)~label{padding-block-start:var(--post-device-spacing-padding-block-3);padding-inline:var(--post-device-spacing-padding-inline-1) var(--post-device-spacing-padding-15);font-size:var(--post-device-font-size-10)}post-number-input.form-floating::after{width:var(--post-device-sizing-notification-1);height:var(--post-device-sizing-notification-1)}post-number-input.form-floating:has(>input.form-control.is-valid:not(:disabled))::after,post-number-input.form-floating:has(>input.form-control:-webkit-autofill.is-valid)::after,post-number-input.form-floating:has(>input.form-control.is-invalid:not(:disabled))::after,post-number-input.form-floating:has(>input.form-control:-webkit-autofill.is-invalid)::after{top:calc(var(--post-device-sizing-interactive-button-height-6) / 2);right:calc(\n var(--post-device-spacing-padding-inline-1) +\n (var(--post-device-spacing-padding-23)* 2) +\n var(--post-device-sizing-interactive-icon-size6) +\n (var(--post-device-border-width-default) * 2)\n )}post-number-input input[type=number]{appearance:textfield}post-number-input input[type=number]::-webkit-inner-spin-button,post-number-input input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}post-login-widget>[slot=login-link]{display:inline-flex;position:relative;align-items:center;justify-content:center;max-width:100%;overflow:hidden;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:var(--post-device-border-width-default);border-style:solid;border-color:rgba(0,0,0,0);border-radius:var(--post-device-border-radius-round);background-color:rgba(0,0,0,0);box-shadow:none;font-family:inherit;font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;border:unset;font-weight:unset;display:flex;padding:.25rem .625rem;gap:.375rem;font-size:1rem;border-color:var(--post-scheme-color-interactive-button-tertiary-enabled-stroke);background-color:var(--post-scheme-color-interactive-button-tertiary-enabled-bg);color:var(--post-scheme-color-interactive-button-tertiary-enabled-fg)}post-login-widget>[slot=login-link]:hover{text-decoration:none}post-login-widget>[slot=login-link]:disabled{border-style:var(--post-core-border-style-dash)}post-login-widget>[slot=login-link]{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}post-login-widget>[slot=login-link]:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-login-widget>[slot=login-link]:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-login-widget>[slot=login-link]:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-login-widget>[slot=login-link]:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-login-widget>[slot=login-link]:is(a){color:LinkText;border:unset}post-login-widget>[slot=login-link]:is(button){background-color:ButtonFace !important;border:1px solid ButtonBorder !important}post-login-widget>[slot=login-link]:not(:disabled,.disabled):is(button):hover{background-color:Highlight !important}post-login-widget>[slot=login-link]:not(:disabled,.disabled):is(button):hover>post-icon{color:HighlightText !important}}post-login-widget>[slot=login-link]:hover{border-color:var(--post-scheme-color-interactive-button-tertiary-hover-stroke);background-color:var(--post-scheme-color-interactive-button-tertiary-hover-bg);color:var(--post-scheme-color-interactive-button-tertiary-hover-fg)}post-login-widget>[slot=login-link]:is([aria-current],[aria-pressed=true],[aria-expanded=true],.active){box-shadow:var(--post-device-elevation-100);border-color:var(--post-scheme-color-interactive-button-primary-enabled-stroke);background-color:var(--post-scheme-color-interactive-button-primary-enabled-bg);color:var(--post-scheme-color-interactive-button-primary-enabled-fg)}post-login-widget>[slot=login-link]:is([aria-current],[aria-pressed=true],[aria-expanded=true],.active):hover{border-color:var(--post-scheme-color-interactive-button-primary-hover-stroke);background-color:var(--post-scheme-color-interactive-button-primary-hover-bg);color:var(--post-scheme-color-interactive-button-primary-hover-fg)}post-login-widget>[slot=login-link]{width:fit-content}@media screen and (min-width: 0)and (max-width: 599.98px){post-login-widget>[slot=login-link]>:not(post-icon){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}post-login-widget>[slot=login-link]>post-icon{font-size:1.5rem}}";var o=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(o||{}),e=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(e||{}),n="type",i="value",s="serialized:";function l(t,o,e){const n="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==n;){const n=Object.getOwnPropertyDescriptor(t,o);if(n&&(!e||n.get))return n;t=Object.getPrototypeOf(t)}}var r,c=(t,o)=>{var e;Object.entries(null!=(e=o.o.t)?e:{}).map((([e,[n]])=>{if(31&n||32&n){const n=t[e],i=l(Object.getPrototypeOf(t),e,!0)||Object.getOwnPropertyDescriptor(t,e);i&&Object.defineProperty(t,e,{get(){return i.get.call(this)},set(t){i.set.call(this,t)},configurable:!0,enumerable:!0}),o.i.has(e)?t[e]=o.i.get(e):void 0!==n&&(t[e]=n)}}))},a=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},p=(t,o)=>o in t,u=(t,o)=>(0,console.error)(t,o),d=new Map,f="s-id",g="sty-id",b="c-id",v="http://www.w3.org/1999/xlink",m="undefined"!=typeof window?window:{},h=m.HTMLElement||class{},$={l:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,o,e,n)=>t.addEventListener(o,e,n),rel:(t,o,e,n)=>t.removeEventListener(o,e,n),ce:(t,o)=>new CustomEvent(t,o)},y=(()=>{try{return!!m.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),w=!!y&&(()=>!!m.document&&Object.getOwnPropertyDescriptor(m.document.adoptedStyleSheets,"length").writable)(),k=!1,x=[],j=[],O=(t,o)=>e=>{t.push(e),k||(k=!0,o&&4&$.l?E(N):$.raf(N))},S=t=>{for(let o=0;o<t.length;o++)try{t[o](performance.now())}catch(t){u(t)}t.length=0},N=()=>{S(x),S(j),(k=x.length>0)&&$.raf(N)},E=t=>Promise.resolve(void 0).then(t),M=O(j,!0),z=t=>{const o=new URL(t,$.p);return o.origin!==m.location.origin?o.href:o.pathname},L=t=>$.p=t;function I(){var o;const e=this.attachShadow({mode:"open"});if(void 0===r&&(r=null!=(o=function(t){if(!y)return;const o=new CSSStyleSheet;return o.replaceSync(t),o}(t))?o:null),r)w?e.adoptedStyleSheets.push(r):e.adoptedStyleSheets=[...e.adoptedStyleSheets,r];else if(!y){const o=document.createElement("style");o.innerHTML=t,e.prepend(o)}}var A=t=>{const o=F(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&C(o,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!_(t,R(t),!1).length)}));let e=0;for(e=0;e<o.length;e++){const t=o[e];1===t.nodeType&&F(t,"childNodes").length&&A(t)}};function C(t,o,e){let n,i=0,s=[];for(;i<t.length;i++){if(n=t[i],n["s-sr"]&&(!o||n["s-hn"]===o)&&(void 0===e||R(n)===e)&&(s.push(n),void 0!==e))return s;s=[...s,...C(n.childNodes,o,e)]}return s}var _=(t,o,e=!0)=>{const n=[];(e&&t["s-sr"]||!t["s-sr"])&&n.push(t);let i=t;for(;i=i.nextSibling;)R(i)!==o||!e&&i["s-sr"]||n.push(i);return n},B=(t,o)=>1===t.nodeType?null===t.getAttribute("slot")&&""===o||t.getAttribute("slot")===o:t["s-sn"]===o||""===o,H=(t,o,e,n)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const i=document.createTextNode("");if(i["s-nr"]=t,!o["s-cr"]||!o["s-cr"].parentNode)return;const s=o["s-cr"].parentNode,l=F(s,"appendChild");if(void 0!==n){i["s-oo"]=n;const t=F(s,"childNodes"),o=[i];t.forEach((t=>{t["s-nr"]&&o.push(t)})),o.sort(((t,o)=>!t["s-oo"]||t["s-oo"]<(o["s-oo"]||0)?-1:!o["s-oo"]||o["s-oo"]<t["s-oo"]?1:0)),o.forEach((t=>l.call(s,t)))}else l.call(s,i);t["s-ol"]=i,t["s-sh"]=o["s-hn"]},R=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function T(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const o=o=>function(t){const e=[],n=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const i=this["s-cr"].parentElement;return(i.__childNodes?i.childNodes:(t=>{const o=[];for(let e=0;e<t.length;e++){const n=t[e]["s-nr"]||void 0;n&&n.isConnected&&o.push(n)}return o})(i.childNodes)).forEach((t=>{n===R(t)&&e.push(t)})),o?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=o(!0),t.assignedNodes=o(!1)}function F(t,o){if("__"+o in t){const e=t["__"+o];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[o]?t[o]:t[o].bind(t)}var D=new WeakMap,U=(t,o,e)=>{let n=d.get(t);y&&e?(n=n||new CSSStyleSheet,"string"==typeof n?n=o:n.replaceSync(o)):n=o,d.set(t,n)},V=(t,o)=>{var e,n,i;const s=P(o),l=d.get(s);if(!m.document)return s;if(t=11===t.nodeType?t:m.document,l)if("string"==typeof l){let i,r=D.get(t=t.head||t);r||D.set(t,r=new Set);const c=t.querySelector(`[${g}="${s}"]`);if(c)c.textContent=l;else if(!r.has(s)){i=m.document.createElement("style"),i.textContent=l;const c=null!=(e=$.u)?e:function(){var t,o,e;return null!=(e=null==(o=null==(t=m.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:o.getAttribute("content"))?e:void 0}();if(null!=c&&i.setAttribute("nonce",c),!(1&o.l))if("HEAD"===t.nodeName){const o=t.querySelectorAll("link[rel=preconnect]"),e=o.length>0?o[o.length-1].nextSibling:t.querySelector("style");t.insertBefore(i,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(y){const o=new(null!=(n=t.defaultView)?n:t.ownerDocument.defaultView).CSSStyleSheet;o.replaceSync(l),w?t.adoptedStyleSheets.unshift(o):t.adoptedStyleSheets=[o,...t.adoptedStyleSheets]}else{const o=t.querySelector("style");o?o.textContent=l+o.textContent:t.prepend(i)}else t.append(i);1&o.l&&t.insertBefore(i,null),4&o.l&&(i.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),r&&r.add(s)}}else{let o=D.get(t);if(o||D.set(t,o=new Set),!o.has(s)){const e=null!=(i=t.defaultView)?i:t.ownerDocument.defaultView;let n;if(l.constructor===e.CSSStyleSheet)n=l;else{n=new e.CSSStyleSheet;for(let t=0;t<l.cssRules.length;t++)n.insertRule(l.cssRules[t].cssText,t)}if(w?t.adoptedStyleSheets.push(n):t.adoptedStyleSheets=[...t.adoptedStyleSheets,n],o.add(s),"host"in t){const o=t.querySelector(`[${g}="${s}"]`);o&&M((()=>o.remove()))}}}return s},P=t=>"sc-"+t.v,W=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),q=t=>"object"==(t=typeof t)||"function"===t,Y=(t,o,...e)=>{let n=null,i=null,s=null,l=!1,r=!1;const c=[],a=o=>{for(let e=0;e<o.length;e++)n=o[e],Array.isArray(n)?a(n):null!=n&&"boolean"!=typeof n&&((l="function"!=typeof t&&!q(n))&&(n+=""),l&&r?c[c.length-1].m+=n:c.push(l?J(null,n):n),r=l)};if(a(e),o){o.key&&(i=o.key),o.name&&(s=o.name);{const t=o.className||o.class;t&&(o.class="object"!=typeof t?t:Object.keys(t).filter((o=>t[o])).join(" "))}}if("function"==typeof t)return t(null===o?{}:o,c,G);const p=J(t,null);return p.h=o,c.length>0&&(p.$=c),p.k=i,p.j=s,p},J=(t,o)=>({l:0,O:t,m:null!=o?o:null,S:null,$:null,h:null,k:null,j:null}),Z={},G={forEach:(t,o)=>t.map(K).forEach(o),map:(t,o)=>t.map(K).map(o).map(Q)},K=t=>({vattrs:t.h,vchildren:t.$,vkey:t.k,vname:t.j,vtag:t.O,vtext:t.m}),Q=t=>{if("function"==typeof t.vtag){const o={...t.vattrs};return t.vkey&&(o.key=t.vkey),t.vname&&(o.name=t.vname),Y(t.vtag,o,...t.vchildren||[])}const o=J(t.vtag,t.vtext);return o.h=t.vattrs,o.$=t.vchildren,o.k=t.vkey,o.j=t.vname,o},X=(t,o,e,n,i,s,l,r=[])=>{let c,a,p,u;if(1===s.nodeType){if(c=s.getAttribute(b),c&&(a=c.split("."),a[0]===l||"0"===a[0])){p=ot({l:0,N:a[0],M:a[1],L:a[2],I:a[3],O:s.tagName.toLowerCase(),S:s,h:{class:s.className||""}}),o.push(p),s.removeAttribute(b),t.$||(t.$=[]);const i=p.S.getAttribute("s-sn");"string"==typeof i&&("slot-fb"===p.O&&et(i,a[2],p,s,t,o,e,n,r),p.S["s-sn"]=i,p.S.removeAttribute("s-sn")),void 0!==p.I&&(t.$[p.I]=p),t=p,n&&"0"===p.L&&(n[p.I]=p.S)}if(s.shadowRoot)for(u=s.shadowRoot.childNodes.length-1;u>=0;u--)X(t,o,e,n,i,s.shadowRoot.childNodes[u],l,r);const d=s.__childNodes||s.childNodes;for(u=d.length-1;u>=0;u--)X(t,o,e,n,i,d[u],l,r)}else if(8===s.nodeType)a=s.nodeValue.split("."),(a[1]===l||"0"===a[1])&&(c=a[0],p=ot({N:a[1],M:a[2],L:a[3],I:a[4]||"0",S:s,h:null,$:null,k:null,j:null,O:null,m:null}),"t"===c?(p.S=lt(s,3),p.S&&3===p.S.nodeType&&(p.m=p.S.textContent,o.push(p),s.remove(),l===p.N&&(t.$||(t.$=[]),t.$[p.I]=p),n&&"0"===p.L&&(n[p.I]=p.S))):"c"===c?(p.S=lt(s,8),p.S&&8===p.S.nodeType&&(o.push(p),s.remove())):p.N===l&&("s"===c?et(s["s-sn"]=a[5]||"",a[2],p,s,t,o,e,n,r):"r"===c&&(n?s.remove():(i["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.O){const o=J(null,s.textContent);o.S=s,o.I="0",t.$=[o]}return t},tt=(t,o)=>{if(1===t.nodeType){const e=t[f]||t.getAttribute(f);e&&o.set(e,t);let n=0;if(t.shadowRoot)for(;n<t.shadowRoot.childNodes.length;n++)tt(t.shadowRoot.childNodes[n],o);const i=t.__childNodes||t.childNodes;for(n=0;n<i.length;n++)tt(i[n],o)}else if(8===t.nodeType){const e=t.nodeValue.split(".");"o"===e[0]&&(o.set(e[1]+"."+e[2],t),t.nodeValue="",t["s-en"]=e[3])}},ot=t=>({l:0,N:null,M:null,L:null,I:"0",S:null,h:null,$:null,k:null,j:null,O:null,m:null,...t});function et(t,o,e,n,i,s,l,r,c){n["s-sr"]=!0,e.j=t||null,e.O="slot";const a=(null==i?void 0:i.S)?i.S["s-id"]||i.S.getAttribute("s-id"):"";if(r&&m.document){const s=e.S=m.document.createElement(e.O);e.j&&e.S.setAttribute("name",t),i.S.shadowRoot&&a&&a!==e.N?F(i.S,"insertBefore")(s,F(i.S,"children")[0]):F(F(n,"parentNode"),"insertBefore")(s,n),st(c,o,t,n,e.N),n.remove(),"0"===e.L&&(r[e.I]=e.S)}else{const s=e.S,l=a&&a!==e.N&&i.S.shadowRoot;st(c,o,t,n,l?a:e.N),T(n),l&&i.S.insertBefore(s,i.S.children[0])}s.push(e),l.push(e),i.$||(i.$=[]),i.$[e.I]=e}var nt,it,st=(t,o,e,n,i)=>{var s,l;let r=n.nextSibling;if(t[o]=t[o]||[],r&&!(null==(s=r.nodeValue)?void 0:s.startsWith("s.")))do{!r||(r.getAttribute&&r.getAttribute("slot")||r["s-sn"])!==e&&(""!==e||r["s-sn"]||r.getAttribute&&r.getAttribute("slot")||8!==r.nodeType&&3!==r.nodeType)||(r["s-sn"]=e,t[o].push({slot:n,node:r,hostId:i})),r=null==r?void 0:r.nextSibling}while(r&&!(null==(l=r.nodeValue)?void 0:l.startsWith("s.")))},lt=(t,o)=>{let e=t;do{e=e.nextSibling}while(e&&(e.nodeType!==o||!e.nodeValue));return e},rt=class t{static fromLocalValue(o){const e=o[n],s=i in o?o[i]:void 0;switch(e){case"string":case"boolean":return s;case"bigint":return BigInt(s);case"undefined":return;case"null":return null;case"number":return"NaN"===s?NaN:"-0"===s?-0:"Infinity"===s?1/0:"-Infinity"===s?-1/0:s;case"array":return s.map((o=>t.fromLocalValue(o)));case"date":return new Date(s);case"map":const o=new Map;for(const[e,n]of s){const i="object"==typeof e&&null!==e?t.fromLocalValue(e):e,s=t.fromLocalValue(n);o.set(i,s)}return o;case"object":const n={};for(const[o,e]of s)n[o]=t.fromLocalValue(e);return n;case"regexp":const{pattern:i,flags:l}=s;return RegExp(i,l);case"set":const r=new Set;for(const o of s)r.add(t.fromLocalValue(o));return r;case"symbol":return Symbol(s);default:throw Error("Unsupported type: "+e)}}static fromLocalValueArray(o){return o.map((o=>t.fromLocalValue(o)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(n))return!1;const s=t[n];return!!Object.values({...o,...e}).includes(s)&&("null"===s||"undefined"===s||t.hasOwnProperty(i))}},ct=(t,o)=>"string"==typeof t&&t.startsWith(s)?t=function(t){return"string"==typeof t&&t.startsWith(s)?rt.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||q(t)?t:4&o?"false"!==t&&(""===t||!!t):2&o?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&o?t+"":t,at=t=>t,pt=(t,o)=>{const e=t;return{emit:t=>ut(e,o,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},ut=(t,o,e)=>{const n=$.ce(o,e);return t.dispatchEvent(n),n},dt=(t,o,e,n,i,s,l)=>{if(e===n)return;let r=p(t,o),c=o.toLowerCase();if("class"===o){const o=t.classList,i=gt(e);let s=gt(n);if((t["s-si"]||t["s-sc"])&&l){const e=t["s-sc"]||t["s-si"];s.push(e),i.forEach((t=>{t.startsWith(e)&&s.push(t)})),s=[...new Set(s)].filter((t=>t)),o.add(...s)}else o.remove(...i.filter((t=>t&&!s.includes(t)))),o.add(...s.filter((t=>t&&!i.includes(t))))}else if("style"===o){for(const o in e)n&&null!=n[o]||(o.includes("-")?t.style.removeProperty(o):t.style[o]="");for(const o in n)e&&n[o]===e[o]||(o.includes("-")?t.style.setProperty(o,n[o]):t.style[o]=n[o])}else if("key"===o);else if("ref"===o)n&&Bt(n,t);else if(t.__lookupSetter__(o)||"o"!==o[0]||"n"!==o[1]){if("a"===o[0]&&o.startsWith("attr:")){const e=o.slice(5);let i;{const o=a(t);if(o&&o.o&&o.o.t){const t=o.o.t[e];t&&t[1]&&(i=t[1])}}return i||(i=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==n||!1===n?!1===n&&""!==t.getAttribute(i)||t.removeAttribute(i):t.setAttribute(i,!0===n?"":n))}if("p"===o[0]&&o.startsWith("prop:")){const e=o.slice(5);try{t[e]=n}catch(t){}return}{const l=q(n);if((r||l&&null!==n)&&!i)try{if(t.tagName.includes("-"))t[o]!==n&&(t[o]=n);else{const i=null==n?"":n;"list"===o?r=!1:null!=e&&t[o]===i||("function"==typeof t.__lookupSetter__(o)?t[o]=i:t.setAttribute(o,i))}}catch(t){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(o=c,a=!0),null==n||!1===n?!1===n&&""!==t.getAttribute(o)||(a?t.removeAttributeNS(v,o):t.removeAttribute(o)):(!r||4&s||i)&&!l&&1===t.nodeType&&(n=!0===n?"":n,a?t.setAttributeNS(v,o,n):t.setAttribute(o,n))}}else if(o="-"===o[2]?o.slice(3):p(m,c)?c.slice(2):c[2]+o.slice(3),e||n){const i=o.endsWith(bt);o=o.replace(vt,""),e&&$.rel(t,o,e,i),n&&$.ael(t,o,n,i)}},ft=/\s/,gt=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(ft):[]),bt="Capture",vt=RegExp(bt+"$"),mt=(t,o,e,n)=>{const i=11===o.S.nodeType&&o.S.host?o.S.host:o.S,s=t&&t.h||{},l=o.h||{};for(const t of ht(Object.keys(s)))t in l||dt(i,t,s[t],void 0,e,o.l,n);for(const t of ht(Object.keys(l)))dt(i,t,s[t],l[t],e,o.l,n)};function ht(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var $t=!1,yt=!1,wt=!1,kt=!1,xt=[],jt=[],Ot=(t,o,e)=>{var n;const i=o.$[e];let s,l,r,c=0;if($t||(wt=!0,"slot"===i.O&&(i.l|=i.$?2:1)),null!=i.m)s=i.S=m.document.createTextNode(i.m);else if(1&i.l)s=i.S=m.document.createTextNode(""),mt(null,i,kt);else{if(kt||(kt="svg"===i.O),!m.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=i.S=m.document.createElementNS(kt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!$t&&2&i.l?"slot-fb":i.O),kt&&"foreignObject"===i.O&&(kt=!1),mt(null,i,kt),i.$){const o="template"===i.O?s.content:s;for(c=0;c<i.$.length;++c)l=Ot(t,i,c),l&&o.appendChild(l)}"svg"===i.O?kt=!1:"foreignObject"===s.tagName&&(kt=!0)}return s["s-hn"]=it,3&i.l&&(s["s-sr"]=!0,s["s-cr"]=nt,s["s-sn"]=i.j||"",s["s-rf"]=null==(n=i.h)?void 0:n.ref,T(s),r=t&&t.$&&t.$[e],r&&r.O===i.O&&t.S&&St(t.S)),s},St=t=>{$.l|=1;const o=t.closest(it.toLowerCase());if(null!=o){const e=Array.from(o.__childNodes||o.childNodes).find((t=>t["s-cr"])),n=Array.from(t.__childNodes||t.childNodes);for(const t of e?n.reverse():n)null!=t["s-sh"]&&(Ht(o,t,null!=e?e:null),t["s-sh"]=void 0,wt=!0)}$.l&=-2},Nt=(t,o)=>{$.l|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let o=t;for(;o=o.nextSibling;)o&&o["s-sn"]===t["s-sn"]&&o["s-sh"]===it&&e.push(o)}for(let t=e.length-1;t>=0;t--){const n=e[t];n["s-hn"]!==it&&n["s-ol"]&&(Ht(Lt(n).parentNode,n,Lt(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,wt=!0),o&&Nt(n,o)}$.l&=-2},Et=(t,o,e,n,i,s)=>{let l,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===it&&(r=r.shadowRoot),"template"===e.O&&(r=r.content);i<=s;++i)n[i]&&(l=Ot(null,e,i),l&&(n[i].S=l,Ht(r,l,Lt(o))))},Mt=(t,o,e)=>{for(let n=o;n<=e;++n){const o=t[n];if(o){const t=o.S;_t(o),t&&(yt=!0,t["s-ol"]?t["s-ol"].remove():Nt(t,!0),t.remove())}}},zt=(t,o,e=!1)=>t.O===o.O&&("slot"===t.O?t.j===o.j:e?(e&&!t.k&&o.k&&(t.k=o.k),!0):t.k===o.k),Lt=t=>t&&t["s-ol"]||t,It=(t,o,e=!1)=>{const n=o.S=t.S,i=t.$,s=o.$,l=o.O,r=o.m;let c;null==r?(kt="svg"===l||"foreignObject"!==l&&kt,"slot"!==l||$t||t.j!==o.j&&(o.S["s-sn"]=o.j||"",St(o.S.parentElement)),mt(t,o,kt,e),null!==i&&null!==s?((t,o,e,n,i=!1)=>{let s,l,r=0,c=0,a=0,p=0,u=o.length-1,d=o[0],f=o[u],g=n.length-1,b=n[0],v=n[g];const m="template"===e.O?t.content:t;for(;r<=u&&c<=g;)if(null==d)d=o[++r];else if(null==f)f=o[--u];else if(null==b)b=n[++c];else if(null==v)v=n[--g];else if(zt(d,b,i))It(d,b,i),d=o[++r],b=n[++c];else if(zt(f,v,i))It(f,v,i),f=o[--u],v=n[--g];else if(zt(d,v,i))"slot"!==d.O&&"slot"!==v.O||Nt(d.S.parentNode,!1),It(d,v,i),Ht(m,d.S,f.S.nextSibling),d=o[++r],v=n[--g];else if(zt(f,b,i))"slot"!==d.O&&"slot"!==v.O||Nt(f.S.parentNode,!1),It(f,b,i),Ht(m,f.S,d.S),f=o[--u],b=n[++c];else{for(a=-1,p=r;p<=u;++p)if(o[p]&&null!==o[p].k&&o[p].k===b.k){a=p;break}a>=0?(l=o[a],l.O!==b.O?s=Ot(o&&o[c],e,a):(It(l,b,i),o[a]=void 0,s=l.S),b=n[++c]):(s=Ot(o&&o[c],e,c),b=n[++c]),s&&Ht(Lt(d.S).parentNode,s,Lt(d.S))}r>u?Et(t,null==n[g+1]?null:n[g+1].S,e,n,c,g):c>g&&Mt(o,r,u)})(n,i,o,s,e):null!==s?(null!==t.m&&(n.textContent=""),Et(n,null,o,s,0,s.length-1)):e||null===i?e&&null!==i&&null===s&&(o.$=i):Mt(i,0,i.length-1),kt&&"svg"===l&&(kt=!1)):(c=n["s-cr"])?c.parentNode.textContent=r:t.m!==r&&(n.data=r)},At=[],Ct=t=>{let o,e,n;const i=t.__childNodes||t.childNodes;for(const t of i){if(t["s-sr"]&&(o=t["s-cr"])&&o.parentNode){e=o.parentNode.__childNodes||o.parentNode.childNodes;const i=t["s-sn"];for(n=e.length-1;n>=0;n--)if(o=e[n],!(o["s-cn"]||o["s-nr"]||o["s-hn"]===t["s-hn"]||o["s-sh"]&&o["s-sh"]===t["s-hn"]))if(B(o,i)){let e=At.find((t=>t.A===o));yt=!0,o["s-sn"]=o["s-sn"]||i,e?(e.A["s-sh"]=t["s-hn"],e.C=t):(o["s-sh"]=t["s-hn"],At.push({C:t,A:o})),o["s-sr"]&&At.map((t=>{B(t.A,o["s-sn"])&&(e=At.find((t=>t.A===o)),e&&!t.C&&(t.C=e.C))}))}else At.some((t=>t.A===o))||At.push({A:o})}1===t.nodeType&&Ct(t)}},_t=t=>{t.h&&t.h.ref&&xt.push((()=>t.h.ref(null))),t.$&&t.$.map(_t)},Bt=(t,o)=>{jt.push((()=>t(o)))},Ht=(t,o,e,n)=>{if("string"==typeof o["s-sn"]){t.insertBefore(o,e);const{slotNode:i}=function(t,o){var e;if(!(o=o||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const n=t["s-sn"]=R(t)||"";return{slotNode:C(F(o,"childNodes"),o.tagName,n)[0],slotName:n}}(o);return i&&!n&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(i),o}return t.__insertBefore?t.__insertBefore(o,e):null==t?void 0:t.insertBefore(o,e)},Rt=(t,o,e=!1)=>{var n,i,s,l,r;const c=t.$hostElement$,a=t.o,p=t._||J(null,null),u=(t=>t&&t.O===Z)(o)?o:Y(null,null,o);if(it=c.tagName,a.B&&(u.h=u.h||{},a.B.forEach((([t,o])=>{u.h[o]=c[t]}))),e&&u.h)for(const t of Object.keys(u.h))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(u.h[t]=c[t]);if(u.O=null,u.l|=4,t._=u,u.S=p.S=c.shadowRoot||c,$t=!(!(1&a.l)||128&a.l),nt=c["s-cr"],yt=!1,It(p,u,e),$.l|=1,wt){Ct(u.S);for(const t of At){const o=t.A;if(!o["s-ol"]&&m.document){const t=m.document.createTextNode("");t["s-nr"]=o,Ht(o.parentNode,o["s-ol"]=t,o,e)}}for(const t of At){const o=t.A,r=t.C;if(1===o.nodeType&&e&&(o["s-ih"]=null!=(n=o.hidden)&&n),r){const t=r.parentNode;let n=r.nextSibling;if(n&&1===n.nodeType){let e=null==(i=o["s-ol"])?void 0:i.previousSibling;for(;e;){let i=null!=(s=e["s-nr"])?s:null;if(i&&i["s-sn"]===o["s-sn"]&&t===(i.__parentNode||i.parentNode)){for(i=i.nextSibling;i===o||(null==i?void 0:i["s-sr"]);)i=null==i?void 0:i.nextSibling;if(!i||!i["s-nr"]){n=i;break}}e=e.previousSibling}}if((!n&&t!==(o.__parentNode||o.parentNode)||(o.__nextSibling||o.nextSibling)!==n)&&o!==n){if(Ht(t,o,n,e),8===o.nodeType&&o.nodeValue.startsWith("s-nt-")){const t=m.document.createTextNode(o.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=o["s-hn"],t["s-sn"]=o["s-sn"],t["s-sh"]=o["s-sh"],t["s-sr"]=o["s-sr"],t["s-ol"]=o["s-ol"],t["s-ol"]["s-nr"]=t,Ht(o.parentNode,t,o,e),o.parentNode.removeChild(o)}1===o.nodeType&&"SLOT-FB"!==o.tagName&&(o.hidden=null!=(l=o["s-ih"])&&l)}o&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===o.nodeType&&(o.hidden=!0)}}if(yt&&A(u.S),$.l&=-2,At.length=0,!$t&&!(1&a.l)&&c["s-cr"]){const t=u.S.__childNodes||u.S.childNodes;for(const o of t)if(o["s-hn"]!==it&&!o["s-sh"])if(e&&null==o["s-ih"]&&(o["s-ih"]=null!=(r=o.hidden)&&r),1===o.nodeType)o.hidden=!0;else if(3===o.nodeType&&o.nodeValue.trim()){const t=m.document.createComment("s-nt-"+o.nodeValue);t["s-sn"]=o["s-sn"],Ht(o.parentNode,t,o,e),o.parentNode.removeChild(o)}}nt=void 0,xt.forEach((t=>t())),xt.length=0,jt.forEach((t=>t())),jt.length=0},Tt=(t,o)=>{if(o&&!t.H&&o["s-p"]){const e=o["s-p"].push(new Promise((n=>t.H=()=>{o["s-p"].splice(e-1,1),n()})))}},Ft=(t,o)=>{if(t.l|=16,4&t.l)return void(t.l|=512);Tt(t,t.R);const e=()=>Dt(t,o);if(!o)return M(e);queueMicrotask((()=>{e()}))},Dt=(t,o)=>{const e=t.$hostElement$,n=e;if(!n)throw Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return i=Jt(n,o?"componentWillLoad":"componentWillUpdate",void 0,e),i=Ut(i,(()=>Jt(n,"componentWillRender",void 0,e))),Ut(i,(()=>Pt(t,n,o)))},Ut=(t,o)=>Vt(t)?t.then(o).catch((t=>{console.error(t),o()})):o(),Vt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Pt=async(t,o,e)=>{var n;const i=t.$hostElement$,s=i["s-rc"];e&&(t=>{const o=t.o,e=t.$hostElement$,n=o.l,i=V(e.shadowRoot?e.shadowRoot:e.getRootNode(),o);10&n&&(e["s-sc"]=i,e.classList.add(i+"-h"))})(t);Wt(t,o,i,e),s&&(s.map((t=>t())),i["s-rc"]=void 0);{const o=null!=(n=i["s-p"])?n:[],e=()=>qt(t);0===o.length?e():(Promise.all(o).then(e).catch(e),t.l|=4,o.length=0)}},Wt=(t,o,e,n)=>{try{o=o.render&&o.render(),t.l&=-17,t.l|=2,Rt(t,o,n)}catch(o){u(o,t.$hostElement$)}return null},qt=t=>{const o=t.$hostElement$,e=o,n=t.R;Jt(e,"componentDidRender",void 0,o),64&t.l?Jt(e,"componentDidUpdate",void 0,o):(t.l|=64,Zt(o),Jt(e,"componentDidLoad",void 0,o),t.T(o),n||Yt()),t.H&&(t.H(),t.H=void 0),512&t.l&&E((()=>Ft(t,!1))),t.l&=-517},Yt=()=>{var t;E((()=>ut(m,"appload",{detail:{namespace:"post-components"}}))),(null==(t=$.F)?void 0:t.size)&&$.F.clear()},Jt=(t,o,e,n)=>{if(t&&t[o])try{return t[o](e)}catch(t){u(t,n)}},Zt=t=>t.setAttribute(null!="data-hydrated"?"data-hydrated":"hydrated",""),Gt=(t,o,e,n)=>{const i=a(t);if(!i)return;const s=t,l=i.i.get(o),r=i.l,c=s;if(!((e=ct(e,n.t[o][0]))===l||Number.isNaN(l)&&Number.isNaN(e))){if(i.i.set(o,e),n.D){const t=n.D[o];t&&t.map((t=>{try{const[[n,s]]=Object.entries(t);(128&r||1&s)&&(c?c[n](e,l,o):i.U.push((()=>{i.V[n](e,l,o)})))}catch(t){u(t,s)}}))}if(2&r){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(e,l,o)&&!(16&r))return;16&r||Ft(i,!1)}}},Kt=(t,o)=>{var e,n;const i=t.prototype;{t.watchers&&!o.D&&(o.D=t.watchers),t.deserializers&&!o.P&&(o.P=t.deserializers),t.serializers&&!o.W&&(o.W=t.serializers);const s=Object.entries(null!=(e=o.t)?e:{});s.map((([t,[e]])=>{if(31&e||32&e){const{get:n,set:s}=l(i,t)||{};n&&(o.t[t][0]|=2048),s&&(o.t[t][0]|=4096),Object.defineProperty(i,t,{get(){return n?n.apply(this):((t,o)=>a(this).i.get(o))(0,t)},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(n){const i=a(this);if(i){if(s)return void 0===(32&e?this[t]:i.$hostElement$[t])&&i.i.get(t)&&(n=i.i.get(t)),s.call(this,ct(n,e)),void Gt(this,t,n=32&e?this[t]:i.$hostElement$[t],o);Gt(this,t,n,o)}}})}}));{const e=new Map;i.attributeChangedCallback=function(t,n,l){$.jmp((()=>{var r;const c=e.get(t),p=a(this);if(this.hasOwnProperty(c),i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==l)return;if(null==c){const e=null==p?void 0:p.l;if(p&&e&&!(8&e)&&l!==n){const i=this,s=null==(r=o.D)?void 0:r[t];null==s||s.forEach((o=>{const[[s,r]]=Object.entries(o);null!=i[s]&&(128&e||1&r)&&i[s].call(i,l,n,t)}))}return}const u=s.find((([t])=>t===c));u&&4&u[1][0]&&(l=null!==l&&"false"!==l);const d=Object.getOwnPropertyDescriptor(i,c);l==this[c]||d.get&&!d.set||(this[c]=l)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(n=o.D)?n:{}),...s.filter((([t,o])=>31&o[0])).map((([t,n])=>{var i;const s=n[1]||t;return e.set(s,t),512&n[0]&&(null==(i=o.B)||i.push([t,s])),s}))]))}}return t},Qt=t=>{if(!m.document)return;const o=t["s-cr"]=m.document.createComment("");o["s-cn"]=!0,Ht(t,o,t.firstChild)},Xt=(t,o)=>{const e={l:o[0],v:o[1]};try{e.t=o[2],e.q=o[3],e.D=t.D,e.P=t.P,e.W=t.W,e.B=[],(()=>{if(!m.document)return;const t=m.document.querySelectorAll(`[${g}]`);let o=0;for(;o<t.length;o++)U(t[o].getAttribute(g),W(t[o].innerHTML),!0)})();const n=t.prototype.connectedCallback,i=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,o)=>{const e={l:0,$hostElement$:t,o,i:new Map,Y:new Map};e.J=new Promise((t=>e.T=t)),t["s-p"]=[],t["s-rc"]=[];const n=e;t.__stencil__getHostRef=()=>n,512&o.l&&c(t,e)})(this,e)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=a(this);if(!t)return;to(this,t,e.q),this.__hasHostListenerAttached=!0}(t=>{if(!(1&$.l)){const o=a(t);if(!o)return;const e=o.o,n=()=>{};if(1&o.l)to(t,o,e.q),(null==o?void 0:o.V)||(null==o?void 0:o.J)&&o.J.then((()=>{}));else{let n;if(o.l|=1,n=t.getAttribute(f),n){if(1&e.l){const o=V(t.shadowRoot,e);t.classList.remove(o+"-h",o+"-s")}((t,o,e,n)=>{var i,s,l,r;const c=t.shadowRoot,p=[],u=[],d=c?[]:null,g=J(o,null);g.S=t,!m.document||$.F&&$.F.size||tt(m.document.body,$.F=new Map),t[f]=e,t.removeAttribute(f),n._=X(g,p,[],d,t,t,e,u);let b=0;const v=p.length;let h;for(;b<v;b++){h=p[b];const e=h.N+"."+h.M,n=$.F.get(e),s=h.S;if(c){if((null==(i=h.O)?void 0:(""+i).includes("-"))&&"slot-fb"!==h.O&&!h.S.shadowRoot){const t=a(h.S);if(t){const o=P(t.o),e=m.document.querySelector(`style[sty-id="${o}"]`);e&&d.unshift(e.cloneNode(!0))}}}else s["s-hn"]=o.toUpperCase(),"slot"===h.O&&(s["s-cr"]=t["s-cr"]);"slot"===h.O&&(h.j=h.S["s-sn"]||h.S.name||null,h.$?(h.l|=2,h.S.childNodes.length||h.$.forEach((t=>{h.S.appendChild(t.S)}))):h.l|=1),n&&n.isConnected&&(n.parentElement.shadowRoot&&""===n["s-en"]&&n.parentNode.insertBefore(s,n.nextSibling),n.parentNode.removeChild(n),c||(s["s-oo"]=parseInt(h.M))),n&&!n["s-id"]&&$.F.delete(e)}const y=[],w=u.length;let k,x,j,O,S=0,N=0;for(;S<w;S++)if(k=u[S],k&&k.length)for(j=k.length,x=0;x<j;x++){if(O=k[x],y[O.hostId]||(y[O.hostId]=$.F.get(O.hostId)),!y[O.hostId])continue;const t=y[O.hostId];t.shadowRoot&&O.node.parentElement!==t&&t.insertBefore(O.node,null==(l=null==(s=k[x-1])?void 0:s.node)?void 0:l.nextSibling),t.shadowRoot&&c||(O.slot["s-cr"]||(O.slot["s-cr"]=t["s-cr"],O.slot["s-cr"]=!O.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),H(O.node,O.slot,0,O.node["s-oo"]||N),(null==(r=O.node.parentElement)?void 0:r.shadowRoot)&&O.node.getAttribute&&O.node.getAttribute("slot")&&O.node.removeAttribute("slot")),N=(O.node["s-oo"]||N)+1}if(c&&!c.childNodes.length){let o=0;const e=d.length;if(e){for(;o<e;o++){const t=d[o];t&&c.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}n.$hostElement$=t})(t,e.v,n,o)}n||12&e.l&&Qt(t);{let e=t;for(;e=e.parentNode||e.host;)if(1===e.nodeType&&e.hasAttribute("s-id")&&e["s-p"]||e["s-p"]){Tt(o,o.R=e);break}}e.t&&Object.entries(e.t).map((([o,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,o)){const e=t[o];delete t[o],t[o]=e}})),(async(t,o,e)=>{let n;try{if(!(32&o.l)&&(o.l|=32,n=t.constructor,customElements.whenDefined(t.localName).then((()=>o.l|=128)),n&&n.style)){let t;"string"==typeof n.style&&(t=n.style);const o=P(e);if(!d.has(o)){const n=()=>{};U(o,t,!!(1&e.l)),n()}}const i=o.R,s=()=>Ft(o,!0);i&&i["s-rc"]?i["s-rc"].push(s):s()}catch(e){u(e,t),o.H&&(o.H(),o.H=void 0),o.T&&o.T(t)}})(t,o,e)}n()}})(this),n&&n.call(this)},disconnectedCallback(){(async t=>{if(!(1&$.l)){const o=a(t);(null==o?void 0:o.Z)&&(o.Z.map((t=>t())),o.Z=void 0)}D.has(t)&&D.delete(t),t.shadowRoot&&D.has(t.shadowRoot)&&D.delete(t.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${e.v}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else I.call(this,e)}}),Object.defineProperty(t,"is",{value:e.v,configurable:!0}),Kt(t,e)}catch(o){return u(o),t}},to=(t,o,e)=>{e&&m.document&&e.map((([e,n,i])=>{const s=eo(m.document,t,e),l=oo(o,i),r=no(e);$.ael(s,n,l,r),(o.Z=o.Z||[]).push((()=>$.rel(s,n,l,r)))}))},oo=(t,o)=>e=>{try{t.$hostElement$[o](e)}catch(o){u(o,t.$hostElement$)}},eo=(t,o,e)=>4&e?t:8&e?m:o,no=t=>({passive:!!(1&t),capture:!!(2&t)}),io=t=>$.u=t,so=t=>Object.assign($,t);function lo(t,o){Rt({o:{l:0,v:o.tagName},$hostElement$:o},t)}function ro(t){return t}export{h as H,Z as a,pt as c,at as g,z as getAssetPath,Y as h,Xt as p,lo as render,L as setAssetPath,io as setNonce,so as setPlatformOptions,ro as t}
|
|
1
|
+
const t=':where(post-accordion,post-accordion-item,post-autocomplete,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-closebutton,post-collapsible,post-collapsible-trigger,post-date-picker,post-footer,post-header,post-icon,post-language-menu,post-language-menu-item,post-linkarea,post-listbox,post-listbox-option,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-number-input,post-pagination,post-popover,post-popover-trigger,post-popovercontainer,post-progressbar,post-rating,post-side-navigation,post-side-navigation-trigger,post-stepper,post-stepper-item,post-tab-item,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not(:defined):not(.hydrated,[data-hydrated]){visibility:hidden}@media (scripting: none){:where(post-accordion,post-accordion-item,post-autocomplete,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-closebutton,post-collapsible,post-collapsible-trigger,post-date-picker,post-footer,post-header,post-icon,post-language-menu,post-language-menu-item,post-linkarea,post-listbox,post-listbox-option,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-number-input,post-pagination,post-popover,post-popover-trigger,post-popovercontainer,post-progressbar,post-rating,post-side-navigation,post-side-navigation-trigger,post-stepper,post-stepper-item,post-tab-item,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not(:defined):not(.hydrated,[data-hydrated]){visibility:visible}}post-accordion:not([multiple]):not(:has([collapsed]))>post-accordion-item~post-accordion-item{--post-collapsible-initial-height:0;--post-collapsible-initial-overflow:hidden;--post-accordion-icon-initial-transform:rotate(-180deg)}.form-label:has(+post-number-input){display:block}.form-label:has(+post-number-input.number-input-sm){padding-inline:var(--post-device-spacing-padding-2);padding-block:var(--post-device-spacing-padding-30);font-weight:var(--post-device-font-weight-bold);font-size:var(--post-device-font-size-7)}.form-label:has(+post-number-input.disabled){color:var(--post-scheme-color-interactive-input-disabled-fg)}post-number-input.form-floating>input.form-control{padding:var(--post-device-spacing-padding-block-29) var(--post-device-spacing-padding-inline-1) var(--post-device-spacing-padding-block-3)}post-number-input.form-floating>input.form-control:focus~label,post-number-input.form-floating>input.form-control:not(:placeholder-shown)~label{padding-block-start:var(--post-device-spacing-padding-block-3);padding-inline:var(--post-device-spacing-padding-inline-1) var(--post-device-spacing-padding-15);font-size:var(--post-device-font-size-10)}post-number-input.form-floating::after{width:var(--post-device-sizing-notification-1);height:var(--post-device-sizing-notification-1)}post-number-input.form-floating:has(>input.form-control.is-valid:not(:disabled))::after,post-number-input.form-floating:has(>input.form-control:-webkit-autofill.is-valid)::after,post-number-input.form-floating:has(>input.form-control.is-invalid:not(:disabled))::after,post-number-input.form-floating:has(>input.form-control:-webkit-autofill.is-invalid)::after{top:calc(var(--post-device-sizing-interactive-button-height-6) / 2);right:calc(\n var(--post-device-spacing-padding-inline-1) +\n (var(--post-device-spacing-padding-23)* 2) +\n var(--post-device-sizing-interactive-icon-size6) +\n (var(--post-device-border-width-default) * 2)\n )}post-number-input input[type=number]{appearance:textfield}post-number-input input[type=number]::-webkit-inner-spin-button,post-number-input input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}:root{--post-side-navigation-width:296px}@media screen and (min-width: 1024px){.main-container{margin-inline-start:var(--post-side-navigation-width)}}@media screen and (max-width: 599.98px){post-side-navigation:not([data-hydrated]){display:none !important}}post-side-navigation{--post-side-navigation-item-enabled-fg:#050400;--post-side-navigation-item-enabled-stroke-inactive:#b4b3af;--post-side-navigation-item-enabled-stroke-active:#050400;--post-side-navigation-item-selected-fg:#ffffff;--post-side-navigation-item-selected-bg:#050400;--post-side-navigation-item-selected-stroke:#ffffff;--post-side-navigation-item-hovered-fg:#ffffff;--post-side-navigation-item-hovered-bg:#504f4b;--post-side-navigation-heading-fg:#696864;--post-side-navigation-padding-block-end:16px;--post-side-navigation-height:100vh;--post-side-navigation-padding-block-start:28px;--post-side-navigation-heading-padding-block-start:15px;--post-side-navigation-heading-padding-block-end:4px;--post-side-navigation-heading-padding-inline:16px;--post-side-navigation-heading-font-size:14px;--post-side-navigation-item-padding-inline:16px;--post-side-navigation-item-height:40px;--post-side-navigation-item-gap:12px;--post-side-navigation-item-interval:16px;--post-side-navigation-icon-size:16px;--post-side-navigation-item-font-size:14px;--post-side-navigation-item-line-height:1.5;--post-side-navigation-item-divider-padding-block:9px}@media screen and (min-width: 600px){post-side-navigation{--post-side-navigation-padding-block-start:34px;--post-side-navigation-item-font-size:16px;--post-side-navigation-heading-padding-block-start:12px;--post-side-navigation-heading-font-size:16px;--post-side-navigation-item-divider-padding-block:7.5px;--post-side-navigation-item-gap:16px;--post-side-navigation-icon-size:20px}}@media screen and (min-width: 1024px){post-side-navigation{position:fixed;top:var(--post-header-height);width:var(--post-side-navigation-width);--post-side-navigation-padding-block-start:16px;--post-side-navigation-item-font-size:20px;--post-side-navigation-height:calc(100vh - var(--post-header-height));--post-side-navigation-heading-padding-block-start:20px;--post-side-navigation-item-height:48px}}post-side-navigation[size=small]{--post-side-navigation-heading-padding-inline:12px;--post-side-navigation-item-padding-inline:12px;--post-side-navigation-item-height:40px;--post-side-navigation-item-gap:8px;--post-side-navigation-item-interval:12px;--post-side-navigation-icon-size:16px}@media screen and (min-width: 600px){post-side-navigation[size=small]{--post-side-navigation-heading-padding-block-start:15px;--post-side-navigation-item-font-size:14px;--post-side-navigation-heading-font-size:14px}}@media screen and (min-width: 1024px){post-side-navigation[size=small]{--post-side-navigation-heading-padding-block-start:15px;--post-side-navigation-item-font-size:16px;--post-side-navigation-heading-font-size:14px}}post-side-navigation nav{width:100%;padding-block:var(--post-side-navigation-padding-block-start) var(--post-side-navigation-padding-block-end);height:var(--post-side-navigation-height);overflow-y:auto}post-side-navigation nav ul{list-style:none;margin:0;padding-inline-start:0}post-side-navigation .post-side-navigation-heading{margin:0;padding:var(--post-side-navigation-heading-padding-block-start) var(--post-side-navigation-heading-padding-inline) var(--post-side-navigation-heading-padding-block-end);font-size:var(--post-side-navigation-heading-font-size);font-weight:700;line-height:1.5;color:var(--post-side-navigation-heading-fg)}post-side-navigation>ul>li>.post-side-navigation-item{font-weight:700}post-side-navigation .post-side-navigation-item[aria-current=page],post-side-navigation .post-side-navigation-item a[aria-current=page]{background-color:var(--post-side-navigation-item-selected-bg);color:var(--post-side-navigation-item-selected-fg);border-color:var(--post-side-navigation-item-selected-stroke)}post-side-navigation ul{--_indent-level:0}post-side-navigation ul ul{--_indent-level:1}post-side-navigation ul ul ul{--_indent-level:2}post-side-navigation ul ul ul ul{--_indent-level:3}post-side-navigation ul ul .post-side-navigation-item:not(:has(a):has(button)),post-side-navigation ul ul .post-side-navigation-item:has(a):has(button) a{padding-inline-start:calc(var(--post-side-navigation-item-padding-inline) + var(--_indent-level)*var(--post-side-navigation-item-interval))}post-side-navigation ul>li:has(post-icon:not([name=chevrondown])) ul .post-side-navigation-item:not(:has(a):has(button)),post-side-navigation ul>li:has(post-icon:not([name=chevrondown])) ul .post-side-navigation-item:has(a):has(button) a{padding-inline-start:calc(var(--post-side-navigation-item-padding-inline) + var(--post-side-navigation-icon-size) + var(--post-side-navigation-item-gap) + var(--_indent-level)*var(--post-side-navigation-item-interval))}post-side-navigation :where(nav)>ul:has(>li>:where(a,span,post-collapsible-trigger>button,div>a)>post-icon:first-child)>li>:where(a,span):not(:has(>post-icon:first-child))::before,post-side-navigation :where(nav)>ul:has(>li>:where(a,span,post-collapsible-trigger>button,div>a)>post-icon:first-child)>li>div:not(:has(>a>post-icon:first-child))::before{content:"";flex:none;inline-size:var(--post-side-navigation-icon-size)}@media screen and (max-width: 1023.98px){post-side-navigation :where(nav)>ul:has(>li>:where(a,span,post-collapsible-trigger>button,div>a)>post-icon:first-child)>li>:where(a,span):not(:has(>post-icon:first-child))::before,post-side-navigation :where(nav)>ul:has(>li>:where(a,span,post-collapsible-trigger>button,div>a)>post-icon:first-child)>li>div:not(:has(>a>post-icon:first-child))::before{inline-size:1rem}}post-side-navigation :where(nav)>ul:has(>li>:where(a,span,post-collapsible-trigger>button,div>a)>post-icon:first-child)>li>post-collapsible-trigger>button:not(:has(>post-icon:first-child))::before{content:"";flex:none;inline-size:var(--post-side-navigation-icon-size)}@media screen and (max-width: 1023.98px){post-side-navigation :where(nav)>ul:has(>li>:where(a,span,post-collapsible-trigger>button,div>a)>post-icon:first-child)>li>post-collapsible-trigger>button:not(:has(>post-icon:first-child))::before{inline-size:1rem}}.post-side-navigation-item{display:flex;align-items:center;gap:var(--post-side-navigation-item-gap);width:100%;min-width:0;margin:0;padding-inline:var(--post-side-navigation-item-padding-inline);min-height:var(--post-side-navigation-item-height);font-size:var(--post-side-navigation-item-font-size);line-height:var(--post-side-navigation-item-line-height);box-sizing:border-box;border:0;border-block-end:1px solid var(--post-side-navigation-item-enabled-stroke-active);border-radius:0;background-color:rgba(0,0,0,0);color:var(--post-side-navigation-item-enabled-fg);text-align:start;text-decoration:none;appearance:none}.post-side-navigation-item:has(a):has(button){padding-inline-start:0;padding-inline-end:0;gap:0;align-items:stretch}.post-side-navigation-item:has(a):has(button) a{flex:1 1 auto;text-decoration:none;display:flex;align-items:center;min-height:var(--post-side-navigation-item-height);gap:var(--post-side-navigation-item-gap);border-radius:0;padding-inline-end:var(--post-side-navigation-item-padding-inline)}.post-side-navigation-item:has(a):has(button) button{padding-inline:var(--post-side-navigation-item-padding-inline);display:flex;align-items:center;border:0;background:rgba(0,0,0,0);cursor:pointer;position:relative;margin-left:1px}.post-side-navigation-item:has(a):has(button) button::before{content:"";position:absolute;top:var(--post-side-navigation-item-divider-padding-block);height:calc(100% - var(--post-side-navigation-item-divider-padding-block)*2);width:1px;background:var(--post-side-navigation-item-enabled-stroke-inactive);left:-1px}.post-side-navigation-item:where(a,button),.post-side-navigation-item:has(a):has(button) a,.post-side-navigation-item:has(a):has(button) button{cursor:pointer;position:relative;color:var(--post-side-navigation-item-enabled-fg);transition:background-color 250ms,color 250ms}.post-side-navigation-item:where(a,button)::after,.post-side-navigation-item:has(a):has(button) a::after,.post-side-navigation-item:has(a):has(button) button::after{--_offset:3px;content:"";position:absolute;pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:4px;width:calc(100% - var(--_offset)*2);height:calc(100% - var(--_offset)*2);top:var(--_offset);left:var(--_offset)}.post-side-navigation-item:where(a,button):hover,.post-side-navigation-item:has(a):has(button) a:hover,.post-side-navigation-item:has(a):has(button) button:hover{background-color:var(--post-side-navigation-item-hovered-bg);color:var(--post-side-navigation-item-hovered-fg)}.post-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{border-color:var(--post-side-navigation-item-enabled-stroke-active)}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus)::after{border-color:var(--post-side-navigation-item-enabled-stroke-active)}}.post-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{border-color:var(--post-side-navigation-item-selected-stroke)}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{border-color:var(--post-side-navigation-item-selected-stroke)}}.post-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline:none !important}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus){outline:none !important}}.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{border-color:var(--post-side-navigation-item-enabled-stroke-active)}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus)::after{border-color:var(--post-side-navigation-item-enabled-stroke-active)}}.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{border-color:var(--post-side-navigation-item-selected-stroke)}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{border-color:var(--post-side-navigation-item-selected-stroke)}}.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline:none !important}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus){outline:none !important}}.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{border-color:var(--post-side-navigation-item-enabled-stroke-active)}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus)::after{border-color:var(--post-side-navigation-item-enabled-stroke-active)}}.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{border-color:var(--post-side-navigation-item-selected-stroke)}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{border-color:var(--post-side-navigation-item-selected-stroke)}}.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline:none !important}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus){outline:none !important}}.post-side-navigation-item post-icon{flex:none;width:var(--post-side-navigation-icon-size);height:var(--post-side-navigation-icon-size);color:inherit}.post-side-navigation-item post-icon[name=chevrondown]{transition:transform .2s ease;margin-inline-start:auto}.post-side-navigation-item[aria-expanded=true] post-icon[name=chevrondown],.post-side-navigation-item [aria-expanded=true] post-icon[name=chevrondown]{transform:rotate(180deg)}nav>ul>li>.post-side-navigation-item,nav>ul>li>post-collapsible-trigger>.post-side-navigation-item{font-weight:700}nav>ul>li .post-side-navigation-item:has(+ul),nav>ul>li li:has(+li) .post-side-navigation-item,nav>ul>li .post-side-navigation-item[aria-expanded=true]{border-color:var(--post-side-navigation-item-enabled-stroke-inactive)}nav>ul>li:first-child .post-side-navigation-item{border-block-start:1px solid var(--post-side-navigation-item-enabled-stroke-active)}';var i=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(i||{}),e=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(e||{}),n="type",o="value",s="serialized:";function a(t,i,e){const n="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==n;){const n=Object.getOwnPropertyDescriptor(t,i);if(n&&(!e||n.get))return n;t=Object.getPrototypeOf(t)}}var r,l=(t,i)=>{var e;Object.entries(null!=(e=i.i.t)?e:{}).map((([e,[n]])=>{if(31&n||32&n){const n=t[e],o=a(Object.getPrototypeOf(t),e,!0)||Object.getOwnPropertyDescriptor(t,e);o&&Object.defineProperty(t,e,{get(){return o.get.call(this)},set(t){o.set.call(this,t)},configurable:!0,enumerable:!0}),i.o.has(e)?t[e]=i.o.get(e):void 0!==n&&(t[e]=n)}}))},p=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},d=(t,i)=>i in t,c=(t,i)=>(0,console.error)(t,i),u=new Map,f="s-id",v="sty-id",g="c-id",h="http://www.w3.org/1999/xlink",b=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],m="undefined"!=typeof window?window:{},w=m.HTMLElement||class{},$={l:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,i,e,n)=>t.addEventListener(i,e,n),rel:(t,i,e,n)=>t.removeEventListener(i,e,n),ce:(t,i)=>new CustomEvent(t,i)},y=(()=>{try{return!!m.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),x=!!y&&(()=>!!m.document&&Object.getOwnPropertyDescriptor(m.document.adoptedStyleSheets,"length").writable)(),k=!1,z=[],j=[],O=(t,i)=>e=>{t.push(e),k||(k=!0,i&&4&$.l?_(N):$.raf(N))},S=t=>{for(let i=0;i<t.length;i++)try{t[i](performance.now())}catch(t){c(t)}t.length=0},N=()=>{S(z),S(j),(k=z.length>0)&&$.raf(N)},_=t=>Promise.resolve(void 0).then(t),C=O(j,!0),E=t=>{const i=new URL(t,$.p);return i.origin!==m.location.origin?i.href:i.pathname},M=t=>$.p=t;function A(){var i;const e=this.attachShadow({mode:"open"});if(void 0===r&&(r=null!=(i=function(t){if(!y)return;const i=new CSSStyleSheet;return i.replaceSync(t),i}(t))?i:null),r)x?e.adoptedStyleSheets.push(r):e.adoptedStyleSheets=[...e.adoptedStyleSheets,r];else if(!y){const i=document.createElement("style");i.innerHTML=t,e.prepend(i)}}var I=t=>{const i=U(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&L(i,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!R(t,T(t),!1).length)}));let e=0;for(e=0;e<i.length;e++){const t=i[e];1===t.nodeType&&U(t,"childNodes").length&&I(t)}};function L(t,i,e){let n,o=0,s=[];for(;o<t.length;o++){if(n=t[o],n["s-sr"]&&(!i||n["s-hn"]===i)&&(void 0===e||T(n)===e)&&(s.push(n),void 0!==e))return s;s=[...s,...L(n.childNodes,i,e)]}return s}var R=(t,i,e=!0)=>{const n=[];(e&&t["s-sr"]||!t["s-sr"])&&n.push(t);let o=t;for(;o=o.nextSibling;)T(o)!==i||!e&&o["s-sr"]||n.push(o);return n},D=(t,i)=>1===t.nodeType?null===t.getAttribute("slot")&&""===i||t.getAttribute("slot")===i:t["s-sn"]===i||""===i,F=(t,i,e,n)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const o=document.createTextNode("");if(o["s-nr"]=t,!i["s-cr"]||!i["s-cr"].parentNode)return;const s=i["s-cr"].parentNode,a=U(s,"appendChild");if(void 0!==n){o["s-oo"]=n;const t=U(s,"childNodes"),i=[o];t.forEach((t=>{t["s-nr"]&&i.push(t)})),i.sort(((t,i)=>!t["s-oo"]||t["s-oo"]<(i["s-oo"]||0)?-1:!i["s-oo"]||i["s-oo"]<t["s-oo"]?1:0)),i.forEach((t=>a.call(s,t)))}else a.call(s,o);t["s-ol"]=o,t["s-sh"]=i["s-hn"]},T=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function B(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const i=i=>function(t){const e=[],n=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const o=this["s-cr"].parentElement;return(o.__childNodes?o.childNodes:(t=>{const i=[];for(let e=0;e<t.length;e++){const n=t[e]["s-nr"]||void 0;n&&n.isConnected&&i.push(n)}return i})(o.childNodes)).forEach((t=>{n===T(t)&&e.push(t)})),i?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=i(!0),t.assignedNodes=i(!1)}function U(t,i){if("__"+i in t){const e=t["__"+i];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[i]?t[i]:t[i].bind(t)}var V=new WeakMap,H=(t,i,e)=>{let n=u.get(t);y&&e?(n=n||new CSSStyleSheet,"string"==typeof n?n=i:n.replaceSync(i)):n=i,u.set(t,n)},P=(t,i)=>{var e,n,o;const s=W(i),a=u.get(s);if(!m.document)return s;if(t=11===t.nodeType?t:m.document,a)if("string"==typeof a){let o,r=V.get(t=t.head||t);r||V.set(t,r=new Set);const l=t.querySelector(`[${v}="${s}"]`);if(l)l.textContent=a;else if(!r.has(s)){o=m.document.createElement("style"),o.textContent=a;const l=null!=(e=$.u)?e:function(){var t,i,e;return null!=(e=null==(i=null==(t=m.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:i.getAttribute("content"))?e:void 0}();if(null!=l&&o.setAttribute("nonce",l),!(1&i.l))if("HEAD"===t.nodeName){const i=t.querySelectorAll("link[rel=preconnect]"),e=i.length>0?i[i.length-1].nextSibling:t.querySelector("style");t.insertBefore(o,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(y){const i=new(null!=(n=t.defaultView)?n:t.ownerDocument.defaultView).CSSStyleSheet;i.replaceSync(a),x?t.adoptedStyleSheets.unshift(i):t.adoptedStyleSheets=[i,...t.adoptedStyleSheets]}else{const i=t.querySelector("style");i?i.textContent=a+i.textContent:t.prepend(o)}else t.append(o);1&i.l&&t.insertBefore(o,null),4&i.l&&(o.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),r&&r.add(s)}}else{let i=V.get(t);if(i||V.set(t,i=new Set),!i.has(s)){const e=null!=(o=t.defaultView)?o:t.ownerDocument.defaultView;let n;if(a.constructor===e.CSSStyleSheet)n=a;else{n=new e.CSSStyleSheet;for(let t=0;t<a.cssRules.length;t++)n.insertRule(a.cssRules[t].cssText,t)}if(x?t.adoptedStyleSheets.push(n):t.adoptedStyleSheets=[...t.adoptedStyleSheets,n],i.add(s),"host"in t){const i=t.querySelector(`[${v}="${s}"]`);i&&C((()=>i.remove()))}}}return s},W=t=>"sc-"+t.v,q=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Y=t=>"object"==(t=typeof t)||"function"===t,J=(t,i,...e)=>{let n=null,o=null,s=null,a=!1,r=!1;const l=[],p=i=>{for(let e=0;e<i.length;e++)n=i[e],Array.isArray(n)?p(n):null!=n&&"boolean"!=typeof n&&((a="function"!=typeof t&&!Y(n))&&(n+=""),a&&r?l[l.length-1].h+=n:l.push(a?Z(null,n):n),r=a)};if(p(e),i){i.key&&(o=i.key),i.name&&(s=i.name);{const t=i.className||i.class;t&&(i.class="object"!=typeof t?t:Object.keys(t).filter((i=>t[i])).join(" "))}}if("function"==typeof t)return t(null===i?{}:i,l,K);const d=Z(t,null);return d.m=i,l.length>0&&(d.$=l),d.k=o,d.j=s,d},Z=(t,i)=>({l:0,O:t,h:null!=i?i:null,S:null,$:null,m:null,k:null,j:null}),G={},K={forEach:(t,i)=>t.map(Q).forEach(i),map:(t,i)=>t.map(Q).map(i).map(X)},Q=t=>({vattrs:t.m,vchildren:t.$,vkey:t.k,vname:t.j,vtag:t.O,vtext:t.h}),X=t=>{if("function"==typeof t.vtag){const i={...t.vattrs};return t.vkey&&(i.key=t.vkey),t.vname&&(i.name=t.vname),J(t.vtag,i,...t.vchildren||[])}const i=Z(t.vtag,t.vtext);return i.m=t.vattrs,i.$=t.vchildren,i.k=t.vkey,i.j=t.vname,i},tt=(t,i,e,n,o,s,a,r=[])=>{let l,p,d,c;if(1===s.nodeType){if(l=s.getAttribute(g),l&&(p=l.split("."),p[0]===a||"0"===p[0])){d=et({l:0,N:p[0],_:p[1],C:p[2],M:p[3],O:s.tagName.toLowerCase(),S:s,m:{class:s.className||""}}),i.push(d),s.removeAttribute(g),t.$||(t.$=[]);const o=d.S.getAttribute("s-sn");"string"==typeof o&&("slot-fb"===d.O&&nt(o,p[2],d,s,t,i,e,n,r),d.S["s-sn"]=o,d.S.removeAttribute("s-sn")),void 0!==d.M&&(t.$[d.M]=d),t=d,n&&"0"===d.C&&(n[d.M]=d.S)}if(s.shadowRoot)for(c=s.shadowRoot.childNodes.length-1;c>=0;c--)tt(t,i,e,n,o,s.shadowRoot.childNodes[c],a,r);const u=s.__childNodes||s.childNodes;for(c=u.length-1;c>=0;c--)tt(t,i,e,n,o,u[c],a,r)}else if(8===s.nodeType)p=s.nodeValue.split("."),(p[1]===a||"0"===p[1])&&(l=p[0],d=et({N:p[1],_:p[2],C:p[3],M:p[4]||"0",S:s,m:null,$:null,k:null,j:null,O:null,h:null}),"t"===l?(d.S=rt(s,3),d.S&&3===d.S.nodeType&&(d.h=d.S.textContent,i.push(d),s.remove(),a===d.N&&(t.$||(t.$=[]),t.$[d.M]=d),n&&"0"===d.C&&(n[d.M]=d.S))):"c"===l?(d.S=rt(s,8),d.S&&8===d.S.nodeType&&(i.push(d),s.remove())):d.N===a&&("s"===l?nt(s["s-sn"]=p[5]||"",p[2],d,s,t,i,e,n,r):"r"===l&&(n?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.O){const i=Z(null,s.textContent);i.S=s,i.M="0",t.$=[i]}return t},it=(t,i)=>{if(1===t.nodeType){const e=t[f]||t.getAttribute(f);e&&i.set(e,t);let n=0;if(t.shadowRoot)for(;n<t.shadowRoot.childNodes.length;n++)it(t.shadowRoot.childNodes[n],i);const o=t.__childNodes||t.childNodes;for(n=0;n<o.length;n++)it(o[n],i)}else if(8===t.nodeType){const e=t.nodeValue.split(".");"o"===e[0]&&(i.set(e[1]+"."+e[2],t),t.nodeValue="",t["s-en"]=e[3])}},et=t=>({l:0,N:null,_:null,C:null,M:"0",S:null,m:null,$:null,k:null,j:null,O:null,h:null,...t});function nt(t,i,e,n,o,s,a,r,l){n["s-sr"]=!0,e.j=t||null,e.O="slot";const p=(null==o?void 0:o.S)?o.S["s-id"]||o.S.getAttribute("s-id"):"";if(r&&m.document){const s=e.S=m.document.createElement(e.O);e.j&&e.S.setAttribute("name",t),o.S.shadowRoot&&p&&p!==e.N?U(o.S,"insertBefore")(s,U(o.S,"children")[0]):U(U(n,"parentNode"),"insertBefore")(s,n),at(l,i,t,n,e.N),n.remove(),"0"===e.C&&(r[e.M]=e.S)}else{const s=e.S,a=p&&p!==e.N&&o.S.shadowRoot;at(l,i,t,n,a?p:e.N),B(n),a&&o.S.insertBefore(s,o.S.children[0])}s.push(e),a.push(e),o.$||(o.$=[]),o.$[e.M]=e}var ot,st,at=(t,i,e,n,o)=>{var s,a;let r=n.nextSibling;if(t[i]=t[i]||[],r&&!(null==(s=r.nodeValue)?void 0:s.startsWith("s.")))do{!r||(r.getAttribute&&r.getAttribute("slot")||r["s-sn"])!==e&&(""!==e||r["s-sn"]||r.getAttribute&&r.getAttribute("slot")||8!==r.nodeType&&3!==r.nodeType)||(r["s-sn"]=e,t[i].push({slot:n,node:r,hostId:o})),r=null==r?void 0:r.nextSibling}while(r&&!(null==(a=r.nodeValue)?void 0:a.startsWith("s.")))},rt=(t,i)=>{let e=t;do{e=e.nextSibling}while(e&&(e.nodeType!==i||!e.nodeValue));return e},lt=class t{static fromLocalValue(i){const e=i[n],s=o in i?i[o]:void 0;switch(e){case"string":case"boolean":return s;case"bigint":return BigInt(s);case"undefined":return;case"null":return null;case"number":return"NaN"===s?NaN:"-0"===s?-0:"Infinity"===s?1/0:"-Infinity"===s?-1/0:s;case"array":return s.map((i=>t.fromLocalValue(i)));case"date":return new Date(s);case"map":const i=new Map;for(const[e,n]of s){const o="object"==typeof e&&null!==e?t.fromLocalValue(e):e,s=t.fromLocalValue(n);i.set(o,s)}return i;case"object":const n={};for(const[i,e]of s)n[i]=t.fromLocalValue(e);return n;case"regexp":const{pattern:o,flags:a}=s;return RegExp(o,a);case"set":const r=new Set;for(const i of s)r.add(t.fromLocalValue(i));return r;case"symbol":return Symbol(s);default:throw Error("Unsupported type: "+e)}}static fromLocalValueArray(i){return i.map((i=>t.fromLocalValue(i)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(n))return!1;const s=t[n];return!!Object.values({...i,...e}).includes(s)&&("null"===s||"undefined"===s||t.hasOwnProperty(o))}},pt=(t,i,e)=>"string"==typeof t&&t.startsWith(s)?t=function(t){return"string"==typeof t&&t.startsWith(s)?lt.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||Y(t)?t:4&i?(e&&"string"==typeof t||"false"!==t)&&(""===t||!!t):2&i?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&i?t+"":t,dt=t=>t,ct=(t,i)=>{const e=t;return{emit:t=>ut(e,i,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},ut=(t,i,e)=>{const n=$.ce(i,e);return t.dispatchEvent(n),n},ft=(t,i,e,n,o,s,a)=>{if(e===n)return;let r=d(t,i),l=i.toLowerCase();if("class"===i){const i=t.classList,o=gt(e);let s=gt(n);if((t["s-si"]||t["s-sc"])&&a){const e=t["s-sc"]||t["s-si"];s.push(e),o.forEach((t=>{t.startsWith(e)&&s.push(t)})),s=[...new Set(s)].filter((t=>t)),i.add(...s)}else i.remove(...o.filter((t=>t&&!s.includes(t)))),i.add(...s.filter((t=>t&&!o.includes(t))))}else if("style"===i){for(const i in e)n&&null!=n[i]||(i.includes("-")?t.style.removeProperty(i):t.style[i]="");for(const i in n)e&&n[i]===e[i]||(i.includes("-")?t.style.setProperty(i,n[i]):t.style[i]=n[i])}else if("key"===i);else if("ref"===i)n&&Dt(n,t);else if(t.__lookupSetter__(i)||"o"!==i[0]||"n"!==i[1]){if("a"===i[0]&&i.startsWith("attr:")){const e=i.slice(5);let o;{const i=p(t);if(i&&i.i&&i.i.t){const t=i.i.t[e];t&&t[1]&&(o=t[1])}}return o||(o=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==n||!1===n?!1===n&&""!==t.getAttribute(o)||t.removeAttribute(o):t.setAttribute(o,!0===n?"":n))}if("p"===i[0]&&i.startsWith("prop:")){const e=i.slice(5);try{t[e]=n}catch(t){}return}{const a=Y(n);if((r||a&&null!==n)&&!o)try{if(t.tagName.includes("-"))t[i]!==n&&(t[i]=n);else{const o=null==n?"":n;"list"===i?r=!1:null!=e&&t[i]===o||("function"==typeof t.__lookupSetter__(i)?t[i]=o:t.setAttribute(i,o))}}catch(t){}let p=!1;l!==(l=l.replace(/^xlink\:?/,""))&&(i=l,p=!0),null==n||!1===n?!1===n&&""!==t.getAttribute(i)||(p?t.removeAttributeNS(h,i):t.removeAttribute(i)):(!r||4&s||o)&&!a&&1===t.nodeType&&(n=!0===n?"":n,p?t.setAttributeNS(h,i,n):t.setAttribute(i,n))}}else if(i="-"===i[2]?i.slice(3):d(m,l)?l.slice(2):l[2]+i.slice(3),e||n){const o=i.endsWith(ht);i=i.replace(bt,""),e&&$.rel(t,i,e,o),n&&$.ael(t,i,n,o)}},vt=/\s/,gt=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(vt):[]),ht="Capture",bt=RegExp(ht+"$"),mt=(t,i,e,n)=>{const o=11===i.S.nodeType&&i.S.host?i.S.host:i.S,s=t&&t.m||{},a=i.m||{};for(const t of wt(Object.keys(s)))t in a||ft(o,t,s[t],void 0,e,i.l,n);for(const t of wt(Object.keys(a)))ft(o,t,s[t],a[t],e,i.l,n)};function wt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var $t=!1,yt=!1,xt=!1,kt=!1,zt=[],jt=[],Ot=(t,i,e)=>{var n;const o=i.$[e];let s,a,r,l=0;if($t||(xt=!0,"slot"===o.O&&(o.l|=o.$?2:1)),null!=o.h)s=o.S=m.document.createTextNode(o.h);else if(1&o.l)s=o.S=m.document.createTextNode(""),mt(null,o,kt);else{if(kt||(kt="svg"===o.O),!m.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=o.S=m.document.createElementNS(kt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!$t&&2&o.l?"slot-fb":o.O),kt&&"foreignObject"===o.O&&(kt=!1),mt(null,o,kt),o.$){const i="template"===o.O?s.content:s;for(l=0;l<o.$.length;++l)a=Ot(t,o,l),a&&i.appendChild(a)}"svg"===o.O?kt=!1:"foreignObject"===s.tagName&&(kt=!0)}return s["s-hn"]=st,3&o.l&&(s["s-sr"]=!0,s["s-cr"]=ot,s["s-sn"]=o.j||"",s["s-rf"]=null==(n=o.m)?void 0:n.ref,B(s),r=t&&t.$&&t.$[e],r&&r.O===o.O&&t.S&&St(t.S)),s},St=t=>{$.l|=1;const i=t.closest(st.toLowerCase());if(null!=i){const e=Array.from(i.__childNodes||i.childNodes).find((t=>t["s-cr"])),n=Array.from(t.__childNodes||t.childNodes);for(const t of e?n.reverse():n)null!=t["s-sh"]&&(Ft(i,t,null!=e?e:null),t["s-sh"]=void 0,xt=!0)}$.l&=-2},Nt=(t,i)=>{$.l|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let i=t;for(;i=i.nextSibling;)i&&i["s-sn"]===t["s-sn"]&&i["s-sh"]===st&&e.push(i)}for(let t=e.length-1;t>=0;t--){const n=e[t];n["s-hn"]!==st&&n["s-ol"]&&(Ft(Mt(n).parentNode,n,Mt(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,xt=!0),i&&Nt(n,i)}$.l&=-2},_t=(t,i,e,n,o,s)=>{let a,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===st&&(r=r.shadowRoot),"template"===e.O&&(r=r.content);o<=s;++o)n[o]&&(a=Ot(null,e,o),a&&(n[o].S=a,Ft(r,a,Mt(i))))},Ct=(t,i,e)=>{for(let n=i;n<=e;++n){const i=t[n];if(i){const t=i.S;Rt(i),t&&(yt=!0,t["s-ol"]?t["s-ol"].remove():Nt(t,!0),t.remove())}}},Et=(t,i,e=!1)=>t.O===i.O&&("slot"===t.O?t.j===i.j:e?(e&&!t.k&&i.k&&(t.k=i.k),!0):t.k===i.k),Mt=t=>t&&t["s-ol"]||t,At=(t,i,e=!1)=>{const n=i.S=t.S,o=t.$,s=i.$,a=i.O,r=i.h;let l;null==r?(kt="svg"===a||"foreignObject"!==a&&kt,"slot"!==a||$t||t.j!==i.j&&(i.S["s-sn"]=i.j||"",St(i.S.parentElement)),mt(t,i,kt,e),null!==o&&null!==s?((t,i,e,n,o=!1)=>{let s,a,r=0,l=0,p=0,d=0,c=i.length-1,u=i[0],f=i[c],v=n.length-1,g=n[0],h=n[v];const b="template"===e.O?t.content:t;for(;r<=c&&l<=v;)if(null==u)u=i[++r];else if(null==f)f=i[--c];else if(null==g)g=n[++l];else if(null==h)h=n[--v];else if(Et(u,g,o))At(u,g,o),u=i[++r],g=n[++l];else if(Et(f,h,o))At(f,h,o),f=i[--c],h=n[--v];else if(Et(u,h,o))"slot"!==u.O&&"slot"!==h.O||Nt(u.S.parentNode,!1),At(u,h,o),Ft(b,u.S,f.S.nextSibling),u=i[++r],h=n[--v];else if(Et(f,g,o))"slot"!==u.O&&"slot"!==h.O||Nt(f.S.parentNode,!1),At(f,g,o),Ft(b,f.S,u.S),f=i[--c],g=n[++l];else{for(p=-1,d=r;d<=c;++d)if(i[d]&&null!==i[d].k&&i[d].k===g.k){p=d;break}p>=0?(a=i[p],a.O!==g.O?s=Ot(i&&i[l],e,p):(At(a,g,o),i[p]=void 0,s=a.S),g=n[++l]):(s=Ot(i&&i[l],e,l),g=n[++l]),s&&Ft(Mt(u.S).parentNode,s,Mt(u.S))}r>c?_t(t,null==n[v+1]?null:n[v+1].S,e,n,l,v):l>v&&Ct(i,r,c)})(n,o,i,s,e):null!==s?(null!==t.h&&(n.textContent=""),_t(n,null,i,s,0,s.length-1)):e||null===o?e&&null!==o&&null===s&&(i.$=o):Ct(o,0,o.length-1),kt&&"svg"===a&&(kt=!1)):(l=n["s-cr"])?l.parentNode.textContent=r:t.h!==r&&(n.data=r)},It=[],Lt=t=>{let i,e,n;const o=t.__childNodes||t.childNodes;for(const t of o){if(t["s-sr"]&&(i=t["s-cr"])&&i.parentNode){e=i.parentNode.__childNodes||i.parentNode.childNodes;const o=t["s-sn"];for(n=e.length-1;n>=0;n--)if(i=e[n],!(i["s-cn"]||i["s-nr"]||i["s-hn"]===t["s-hn"]||i["s-sh"]&&i["s-sh"]===t["s-hn"]))if(D(i,o)){let e=It.find((t=>t.A===i));yt=!0,i["s-sn"]=i["s-sn"]||o,e?(e.A["s-sh"]=t["s-hn"],e.I=t):(i["s-sh"]=t["s-hn"],It.push({I:t,A:i})),i["s-sr"]&&It.map((t=>{D(t.A,i["s-sn"])&&(e=It.find((t=>t.A===i)),e&&!t.I&&(t.I=e.I))}))}else It.some((t=>t.A===i))||It.push({A:i})}1===t.nodeType&&Lt(t)}},Rt=t=>{t.m&&t.m.ref&&zt.push((()=>t.m.ref(null))),t.$&&t.$.map(Rt)},Dt=(t,i)=>{jt.push((()=>t(i)))},Ft=(t,i,e,n)=>{if("string"==typeof i["s-sn"]){t.insertBefore(i,e);const{slotNode:o}=function(t,i){var e;if(!(i=i||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const n=t["s-sn"]=T(t)||"";return{slotNode:L(U(i,"childNodes"),i.tagName,n)[0],slotName:n}}(i);return o&&!n&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(o),i}return t.__insertBefore?t.__insertBefore(i,e):null==t?void 0:t.insertBefore(i,e)},Tt=(t,i,e=!1)=>{var n,o,s,a,r;const l=t.$hostElement$,p=t.i,d=t.L||Z(null,null),c=(t=>t&&t.O===G)(i)?i:J(null,null,i);if(st=l.tagName,p.R&&(c.m=c.m||{},p.R.forEach((([t,i])=>{c.m[i]=l[t]}))),e&&c.m)for(const t of Object.keys(c.m))l.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(c.m[t]=l[t]);if(c.O=null,c.l|=4,t.L=c,c.S=d.S=l.shadowRoot||l,$t=!(!(1&p.l)||128&p.l),ot=l["s-cr"],yt=!1,At(d,c,e),$.l|=1,xt){Lt(c.S);for(const t of It){const i=t.A;if(!i["s-ol"]&&m.document){const t=m.document.createTextNode("");t["s-nr"]=i,Ft(i.parentNode,i["s-ol"]=t,i,e)}}for(const t of It){const i=t.A,r=t.I;if(1===i.nodeType&&e&&(i["s-ih"]=null!=(n=i.hidden)&&n),r){const t=r.parentNode;let n=r.nextSibling;if(n&&1===n.nodeType){let e=null==(o=i["s-ol"])?void 0:o.previousSibling;for(;e;){let o=null!=(s=e["s-nr"])?s:null;if(o&&o["s-sn"]===i["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===i||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}e=e.previousSibling}}if((!n&&t!==(i.__parentNode||i.parentNode)||(i.__nextSibling||i.nextSibling)!==n)&&i!==n){if(Ft(t,i,n,e),8===i.nodeType&&i.nodeValue.startsWith("s-nt-")){const t=m.document.createTextNode(i.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=i["s-hn"],t["s-sn"]=i["s-sn"],t["s-sh"]=i["s-sh"],t["s-sr"]=i["s-sr"],t["s-ol"]=i["s-ol"],t["s-ol"]["s-nr"]=t,Ft(i.parentNode,t,i,e),i.parentNode.removeChild(i)}1===i.nodeType&&"SLOT-FB"!==i.tagName&&(i.hidden=null!=(a=i["s-ih"])&&a)}i&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===i.nodeType&&(i.hidden=!0)}}if(yt&&I(c.S),$.l&=-2,It.length=0,!$t&&!(1&p.l)&&l["s-cr"]){const t=c.S.__childNodes||c.S.childNodes;for(const i of t)if(i["s-hn"]!==st&&!i["s-sh"])if(e&&null==i["s-ih"]&&(i["s-ih"]=null!=(r=i.hidden)&&r),1===i.nodeType)i.hidden=!0;else if(3===i.nodeType&&i.nodeValue.trim()){const t=m.document.createComment("s-nt-"+i.nodeValue);t["s-sn"]=i["s-sn"],Ft(i.parentNode,t,i,e),i.parentNode.removeChild(i)}}ot=void 0,zt.forEach((t=>t())),zt.length=0,jt.forEach((t=>t())),jt.length=0},Bt=(t,i)=>{if(i&&!t.D&&i["s-p"]){const e=i["s-p"].push(new Promise((n=>t.D=()=>{i["s-p"].splice(e-1,1),n()})))}},Ut=(t,i)=>{if(t.l|=16,4&t.l)return void(t.l|=512);Bt(t,t.F);const e=()=>Vt(t,i);if(!i)return C(e);queueMicrotask((()=>{e()}))},Vt=(t,i)=>{const e=t.$hostElement$,n=e;if(!n)throw Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return o=Zt(n,i?"componentWillLoad":"componentWillUpdate",void 0,e),o=Ht(o,(()=>Zt(n,"componentWillRender",void 0,e))),Ht(o,(()=>Wt(t,n,i)))},Ht=(t,i)=>Pt(t)?t.then(i).catch((t=>{console.error(t),i()})):i(),Pt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Wt=async(t,i,e)=>{var n;const o=t.$hostElement$,s=o["s-rc"];e&&(t=>{const i=t.i,e=t.$hostElement$,n=i.l,o=P(e.shadowRoot?e.shadowRoot:e.getRootNode(),i);10&n&&(e["s-sc"]=o,e.classList.add(o+"-h"))})(t);qt(t,i,o,e),s&&(s.map((t=>t())),o["s-rc"]=void 0);{const i=null!=(n=o["s-p"])?n:[],e=()=>Yt(t);0===i.length?e():(Promise.all(i).then(e).catch(e),t.l|=4,i.length=0)}},qt=(t,i,e,n)=>{try{i=i.render&&i.render(),t.l&=-17,t.l|=2,Tt(t,i,n)}catch(i){c(i,t.$hostElement$)}return null},Yt=t=>{const i=t.$hostElement$,e=i,n=t.F;Zt(e,"componentDidRender",void 0,i),64&t.l?Zt(e,"componentDidUpdate",void 0,i):(t.l|=64,Gt(i),Zt(e,"componentDidLoad",void 0,i),t.T(i),n||Jt()),t.D&&(t.D(),t.D=void 0),512&t.l&&_((()=>Ut(t,!1))),t.l&=-517},Jt=()=>{var t;_((()=>ut(m,"appload",{detail:{namespace:"post-components"}}))),(null==(t=$.B)?void 0:t.size)&&$.B.clear()},Zt=(t,i,e,n)=>{if(t&&t[i])try{return t[i](e)}catch(t){c(t,n)}},Gt=t=>t.setAttribute(null!="data-hydrated"?"data-hydrated":"hydrated",""),Kt=(t,i,e,n)=>{const o=p(t);if(!o)return;const s=t,a=o.o.get(i),r=o.l,l=s;if(!((e=pt(e,n.t[i][0],!!(64&n.l)))===a||Number.isNaN(a)&&Number.isNaN(e))){if(o.o.set(i,e),n.U){const t=n.U[i];t&&t.map((t=>{try{const[[n,s]]=Object.entries(t);(128&r||1&s)&&(l?l[n](e,a,i):o.V.push((()=>{o.H[n](e,a,i)})))}catch(t){c(t,s)}}))}if(2&r){if(l.componentShouldUpdate&&!1===l.componentShouldUpdate(e,a,i)&&!(16&r))return;16&r||Ut(o,!1)}}},Qt=(t,i,e)=>{var n,o;const s=t.prototype;64&i.l&&1&e&&b.forEach((t=>{const i=s[t];Object.defineProperty(s,t,{value(...e){var n;const o=p(this),s=this;s?"function"==typeof i&&i.call(s,...e):null==(n=null==o?void 0:o.P)||n.then((i=>{const n=i[t];"function"==typeof n&&n.call(i,...e)}))}})}));{t.watchers&&!i.U&&(i.U=t.watchers),t.deserializers&&!i.W&&(i.W=t.deserializers),t.serializers&&!i.q&&(i.q=t.serializers);const e=Object.entries(null!=(n=i.t)?n:{});e.map((([t,[e]])=>{if(31&e||32&e){const{get:n,set:o}=a(s,t)||{};n&&(i.t[t][0]|=2048),o&&(i.t[t][0]|=4096),Object.defineProperty(s,t,{get(){return n?n.apply(this):((t,i)=>p(this).o.get(i))(0,t)},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(n){const s=p(this);if(s){if(o)return void 0===(32&e?this[t]:s.$hostElement$[t])&&s.o.get(t)&&(n=s.o.get(t)),o.call(this,pt(n,e,!!(64&i.l))),void Kt(this,t,n=32&e?this[t]:s.$hostElement$[t],i);Kt(this,t,n,i)}}})}}));{const n=new Map;s.attributeChangedCallback=function(t,o,a){$.jmp((()=>{var r;const l=n.get(t),d=p(this);if(this.hasOwnProperty(l),s.hasOwnProperty(l)&&"number"==typeof this[l]&&this[l]==a)return;if(null==l){const e=null==d?void 0:d.l;if(d&&e&&!(8&e)&&a!==o){const n=this,s=null==(r=i.U)?void 0:r[t];null==s||s.forEach((i=>{const[[s,r]]=Object.entries(i);null!=n[s]&&(128&e||1&r)&&n[s].call(n,a,o,t)}))}return}const c=e.find((([t])=>t===l));c&&4&c[1][0]&&(a=null!==a&&"false"!==a);const u=Object.getOwnPropertyDescriptor(s,l);a==this[l]||u.get&&!u.set||(this[l]=a)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=i.U)?o:{}),...e.filter((([t,i])=>31&i[0])).map((([t,e])=>{var o;const s=e[1]||t;return n.set(s,t),512&e[0]&&(null==(o=i.R)||o.push([t,s])),s}))]))}}return t},Xt=t=>{if(!m.document)return;const i=t["s-cr"]=m.document.createComment("");i["s-cn"]=!0,Ft(t,i,t.firstChild)},ti=(t,i)=>{const e={l:i[0],v:i[1]};try{e.t=i[2],e.Y=i[3],e.U=t.U,e.W=t.W,e.q=t.q,e.R=[],(()=>{if(!m.document)return;const t=m.document.querySelectorAll(`[${v}]`);let i=0;for(;i<t.length;i++)H(t[i].getAttribute(v),q(t[i].innerHTML),!0)})();const n=t.prototype.connectedCallback,o=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,i)=>{const e={l:0,$hostElement$:t,i,o:new Map,J:new Map};e.P=new Promise((t=>e.T=t)),t["s-p"]=[],t["s-rc"]=[];const n=e;t.__stencil__getHostRef=()=>n,512&i.l&&l(t,e)})(this,e)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=p(this);if(!t)return;ii(this,t,e.Y),this.__hasHostListenerAttached=!0}(t=>{if(!(1&$.l)){const i=p(t);if(!i)return;const e=i.i,n=()=>{};if(1&i.l)ii(t,i,e.Y),(null==i?void 0:i.H)||(null==i?void 0:i.P)&&i.P.then((()=>{}));else{let n;if(i.l|=1,n=t.getAttribute(f),n){if(1&e.l){const i=P(t.shadowRoot,e);t.classList.remove(i+"-h",i+"-s")}((t,i,e,n)=>{var o,s,a,r;const l=t.shadowRoot,d=[],c=[],u=l?[]:null,v=Z(i,null);v.S=t,!m.document||$.B&&$.B.size||it(m.document.body,$.B=new Map),t[f]=e,t.removeAttribute(f),n.L=tt(v,d,[],u,t,t,e,c);let g=0;const h=d.length;let b;for(;g<h;g++){b=d[g];const e=b.N+"."+b._,n=$.B.get(e),s=b.S;if(l){if((null==(o=b.O)?void 0:(""+o).includes("-"))&&"slot-fb"!==b.O&&!b.S.shadowRoot){const t=p(b.S);if(t){const i=W(t.i),e=m.document.querySelector(`style[sty-id="${i}"]`);e&&u.unshift(e.cloneNode(!0))}}}else s["s-hn"]=i.toUpperCase(),"slot"===b.O&&(s["s-cr"]=t["s-cr"]);"slot"===b.O&&(b.j=b.S["s-sn"]||b.S.name||null,b.$?(b.l|=2,b.S.childNodes.length||b.$.forEach((t=>{b.S.appendChild(t.S)}))):b.l|=1),n&&n.isConnected&&(n.parentElement.shadowRoot&&""===n["s-en"]&&n.parentNode.insertBefore(s,n.nextSibling),n.parentNode.removeChild(n),l||(s["s-oo"]=parseInt(b._))),n&&!n["s-id"]&&$.B.delete(e)}const w=[],y=c.length;let x,k,z,j,O=0,S=0;for(;O<y;O++)if(x=c[O],x&&x.length)for(z=x.length,k=0;k<z;k++){if(j=x[k],w[j.hostId]||(w[j.hostId]=$.B.get(j.hostId)),!w[j.hostId])continue;const t=w[j.hostId];t.shadowRoot&&j.node.parentElement!==t&&t.insertBefore(j.node,null==(a=null==(s=x[k-1])?void 0:s.node)?void 0:a.nextSibling),t.shadowRoot&&l||(j.slot["s-cr"]||(j.slot["s-cr"]=t["s-cr"],j.slot["s-cr"]=!j.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),F(j.node,j.slot,0,j.node["s-oo"]||S),(null==(r=j.node.parentElement)?void 0:r.shadowRoot)&&j.node.getAttribute&&j.node.getAttribute("slot")&&j.node.removeAttribute("slot")),S=(j.node["s-oo"]||S)+1}if(l&&!l.childNodes.length){let i=0;const e=u.length;if(e){for(;i<e;i++){const t=u[i];t&&l.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}n.$hostElement$=t})(t,e.v,n,i)}n||12&e.l&&Xt(t);{let e=t;for(;e=e.parentNode||e.host;)if(1===e.nodeType&&e.hasAttribute("s-id")&&e["s-p"]||e["s-p"]){Bt(i,i.F=e);break}}e.t&&Object.entries(e.t).map((([i,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,i)){const e=t[i];delete t[i],t[i]=e}})),(async(t,i,e)=>{let n;try{if(!(32&i.l)&&(i.l|=32,n=t.constructor,customElements.whenDefined(t.localName).then((()=>i.l|=128)),n&&n.style)){let t;"string"==typeof n.style&&(t=n.style);const i=W(e);if(!u.has(i)){const n=()=>{};H(i,t,!!(1&e.l)),n()}}const o=i.F,s=()=>Ut(i,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()}catch(e){c(e,t),i.D&&(i.D(),i.D=void 0),i.T&&i.T(t)}})(t,i,e)}n()}})(this),n&&n.call(this)},disconnectedCallback(){(async t=>{if(!(1&$.l)){const i=p(t);(null==i?void 0:i.Z)&&(i.Z.map((t=>t())),i.Z=void 0)}V.has(t)&&V.delete(t),t.shadowRoot&&V.has(t.shadowRoot)&&V.delete(t.shadowRoot)})(this),o&&o.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${e.v}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else A.call(this,e)}}),Object.defineProperty(t,"is",{value:e.v,configurable:!0}),Qt(t,e,3)}catch(i){return c(i),t}},ii=(t,i,e)=>{e&&m.document&&e.map((([e,n,o])=>{const s=ni(m.document,t,e),a=ei(i,o),r=oi(e);$.ael(s,n,a,r),(i.Z=i.Z||[]).push((()=>$.rel(s,n,a,r)))}))},ei=(t,i)=>e=>{try{t.$hostElement$[i](e)}catch(i){c(i,t.$hostElement$)}},ni=(t,i,e)=>4&e?t:8&e?m:i,oi=t=>({passive:!!(1&t),capture:!!(2&t)}),si=t=>$.u=t,ai=t=>Object.assign($,t);function ri(t,i){Tt({i:{l:0,v:i.tagName},$hostElement$:i},t)}function li(t){return t}export{w as H,G as a,ct as c,dt as g,E as getAssetPath,J as h,ti as p,ri as render,M as setAssetPath,si as setNonce,ai as setPlatformOptions,li as t}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as s,h as e,a as i,t as o}from"./index.js";import"./p-Bji_4dfL.js";import{E as l}from"./p-rEfV4v4a.js";import{g as r}from"./p-08F-DB-d.js";import{v as a}from"./p-
|
|
1
|
+
import{p as t,H as s,h as e,a as i,t as o}from"./index.js";import"./p-Bji_4dfL.js";import{E as l}from"./p-rEfV4v4a.js";import{g as r}from"./p-08F-DB-d.js";import{v as a}from"./p-d02KpeUM.js";import{T as n}from"./p-B_WnO-QF.js";var c=function(t,s,e,i){var o,l=arguments.length,r=l<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,s,e,i);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(r=(l<3?o(r):l>3?o(s,e,r):o(s,e))||r);return l>3&&r&&Object.defineProperty(s,e,r),r};const h=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.observer=new MutationObserver((()=>this.setTrigger())),this.handlePostToggle=this.handlePostToggle.bind(this)}connectedCallback(){this.root=r(this.host),this.root.addEventListener("postToggle",this.handlePostToggle),this.observer.observe(this.host,{childList:!0,subtree:!0})}componentDidLoad(){this.setTrigger(),this.trigger||console.warn("The post-collapsible-trigger must contain a button."),this.collapsible||console.warn(`No post-collapsible found ${this.for?`with id "${this.for}"`:"nested inside <post-collapsible-trigger>"}. Either nest a post-collapsible inside the trigger or set the "for" attribute to the id of the collapsible.`)}disconnectedCallback(){this.observer.disconnect(),this.root?.removeEventListener("postToggle",this.handlePostToggle)}async update(){this.updateAriaAttributes()}handlePostToggle(t){this.trigger&&this.trigger.setAttribute("aria-expanded",`${t.detail}`)}updateAriaAttributes(){const t=this.collapsible;if(!this.trigger||!t)return;t.id||(t.id=`collapsible-${crypto.randomUUID()}`);const s=t.id,e=this.trigger.getAttribute("aria-controls"),i=e?e.split(/\s+/):[];i.includes(s)||(i.push(s),this.trigger.setAttribute("aria-controls",i.join(" "))),this.trigger.setAttribute("aria-expanded",`${!t.collapsed}`)}async toggleCollapsible(){await(this.collapsible?.toggle())}get collapsible(){const t=this.host.querySelector("post-collapsible")??(this.for?this.root?.getElementById(this.for)??null:null);return t&&"post-collapsible"===t.localName?t:null}setTrigger(){const t=Array.from(this.host.querySelectorAll("button")).find((t=>{const s=t.closest("post-collapsible");return!(s&&this.host.contains(s))}));!t||this.trigger&&t.isEqualNode(this.trigger)||(this.trigger=t,this.trigger.addEventListener("click",(()=>this.toggleCollapsible())),this.updateAriaAttributes())}render(){return e(i,{key:"a62109f3d0490576da241fba140f0e32d37411e8","data-version":a},e("slot",{key:"4f56c5761fce00e350febdcf80c36ea5b94fd037"}))}get host(){return this}},[257,"post-collapsible-trigger",{for:[513],update:[64]}]);function p(){"undefined"!=typeof customElements&&["post-collapsible-trigger"].forEach((t=>{"post-collapsible-trigger"===t&&(customElements.get(o(t))||customElements.define(o(t),h))}))}c([n("string")],h.prototype,"for",void 0),c([l("post-collapsible")],h.prototype,"handlePostToggle",null),p();export{h as P,p as d}
|