@swisspost/design-system-components 10.4.0 → 10.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/cjs/breakpoints-Kruvy8Dm.js +47 -0
- package/dist/cjs/{create-validator-decorator-BtgLWaMJ.js → create-validator-decorator-Cy5yN6u9.js} +1 -1
- package/dist/cjs/{event-from-CwMw19f8.js → event-from-CTcQxB9-.js} +19 -13
- package/dist/cjs/{index-CW10QvjR.js → index-B3PXzvDk.js} +1 -1
- package/dist/cjs/{breakpoints-B0Olgvgc.js → index-CggFmZ8n.js} +0 -42
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{one-of-vJeW7S4_.js → one-of-CRFrfihj.js} +1 -1
- package/dist/cjs/{package-CL8OSAS4.js → package-pKyFPwiA.js} +1 -1
- package/dist/cjs/{pattern-Zmn3wpyp.js → pattern-D329DFcf.js} +1 -1
- package/dist/cjs/post-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/post-autocomplete.cjs.entry.js +70 -55
- package/dist/cjs/post-avatar.cjs.entry.js +7 -7
- package/dist/cjs/post-back-to-top.cjs.entry.js +25 -13
- package/dist/cjs/post-banner.cjs.entry.js +6 -13
- package/dist/cjs/post-breadcrumb-item.cjs.entry.js +42 -12
- package/dist/cjs/post-breadcrumbs.cjs.entry.js +222 -71
- package/dist/cjs/post-closebutton_14.cjs.entry.js +431 -233
- package/dist/cjs/post-collapsible_2.cjs.entry.js +9 -9
- package/dist/cjs/post-components.cjs.js +2 -2
- package/dist/cjs/post-date-picker.cjs.entry.js +18 -16
- package/dist/cjs/post-footer.cjs.entry.js +8 -8
- 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 +6 -6
- package/dist/cjs/post-number-input.cjs.entry.js +7 -6
- package/dist/cjs/post-pagination.cjs.entry.js +6 -6
- package/dist/cjs/post-popover-trigger.cjs.entry.js +8 -8
- package/dist/cjs/post-popover.cjs.entry.js +11 -11
- package/dist/cjs/post-progressbar.cjs.entry.js +5 -5
- package/dist/cjs/post-rating.cjs.entry.js +7 -7
- package/dist/cjs/post-side-navigation-trigger.cjs.entry.js +8 -8
- package/dist/cjs/post-side-navigation.cjs.entry.js +9 -9
- package/dist/cjs/post-stepper-item.cjs.entry.js +3 -3
- package/dist/cjs/post-stepper.cjs.entry.js +8 -8
- package/dist/cjs/post-tab-item.cjs.entry.js +7 -7
- package/dist/cjs/post-tab-panel.cjs.entry.js +7 -7
- package/dist/cjs/post-tabs.cjs.entry.js +9 -9
- package/dist/cjs/post-tooltip-trigger.cjs.entry.js +8 -8
- package/dist/cjs/post-tooltip.cjs.entry.js +6 -6
- package/dist/cjs/{required-DRnPokVn.js → required-DhAEd0c7.js} +1 -1
- package/dist/cjs/{type-CNcU_-B2.js → type-2Ma9dvHs.js} +1 -1
- package/dist/cjs/{url-DgJ3lXQz.js → url-DePscsTj.js} +1 -1
- package/dist/collection/components/post-autocomplete/post-autocomplete.js +65 -50
- package/dist/collection/components/post-back-to-top/post-back-to-top.js +19 -7
- package/dist/collection/components/post-banner/post-banner.js +2 -17
- package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.css +1 -1
- package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.js +59 -4
- package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.css +1 -1
- package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.js +249 -71
- package/dist/collection/components/post-closebutton/post-closebutton.js +7 -8
- package/dist/collection/components/post-collapsible/post-collapsible.js +1 -1
- package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +2 -2
- package/dist/collection/components/post-date-picker/native-mask-element.js +1 -1
- package/dist/collection/components/post-date-picker/post-date-picker.js +11 -9
- package/dist/collection/components/post-footer/post-footer.js +2 -2
- package/dist/collection/components/post-header/post-header.js +2 -2
- package/dist/collection/components/post-icon/post-icon.js +1 -1
- package/dist/collection/components/post-language-menu/post-language-menu.js +1 -1
- package/dist/collection/components/post-linkarea/post-linkarea.js +1 -1
- package/dist/collection/components/post-listbox/post-listbox.js +2 -2
- 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.js +3 -3
- package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +1 -1
- package/dist/collection/components/post-menu/post-menu.js +23 -8
- 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.js +2 -2
- package/dist/collection/components/post-popover/post-popover.css +1 -1
- package/dist/collection/components/post-popover/post-popover.js +4 -4
- package/dist/collection/components/post-popover-trigger/post-popover-trigger.js +3 -3
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +71 -43
- 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 -1
- package/dist/collection/components/post-side-navigation/post-side-navigation.js +1 -1
- package/dist/collection/components/post-side-navigation-trigger/post-side-navigation-trigger.js +1 -1
- package/dist/collection/components/post-stepper/post-stepper.js +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 +2 -2
- package/dist/collection/components/post-tab-panel/post-tab-panel.js +1 -1
- package/dist/collection/components/post-tabs/post-tabs.css +1 -1
- package/dist/collection/components/post-tabs/post-tabs.js +2 -2
- package/dist/collection/components/post-togglebutton/post-togglebutton.js +1 -1
- package/dist/collection/components/post-tooltip/post-tooltip.js +2 -2
- package/dist/collection/components/post-tooltip-trigger/post-tooltip-trigger.js +2 -2
- package/dist/collection/utils/breakpoints.js +11 -9
- package/dist/collection/utils/closable-target.js +38 -0
- package/dist/collection/utils/event-from.js +18 -13
- package/dist/collection/utils/floating-ui.js +72 -0
- package/dist/collection/utils/index.js +1 -0
- package/dist/components/breakpoints.js +1 -1
- package/dist/components/event-from.js +1 -1
- package/dist/components/index2.js +1 -0
- package/dist/components/package.js +1 -1
- package/dist/components/post-autocomplete.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-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-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.js +1 -1
- package/dist/components/post-side-navigation.js +1 -1
- 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-Bwko4UKh.js → p-3RU9XwVO.js} +1 -1
- package/dist/components/react/p-5LuCes5o.js +1 -0
- package/dist/components/react/p-B1TcktiB.js +1 -0
- package/dist/components/react/{p-4wtxqxXu.js → p-B2jsM_Ov.js} +1 -1
- package/dist/components/react/p-BEcxHjuM.js +1 -0
- package/dist/components/react/p-BN2dfUQ0.js +1 -0
- package/dist/components/react/p-BPUhha1U.js +1 -0
- package/dist/{post-components/p-C-lLRsYC.js → components/react/p-BdLRXQqY.js} +1 -1
- package/dist/components/react/{p-BSb74xQy.js → p-Bnb_TyDh.js} +1 -1
- package/dist/components/react/p-CVVXnYLU.js +1 -0
- package/dist/components/react/{p-9RCG8BWM.js → p-CcDLIogT.js} +1 -1
- package/dist/components/react/{p-CSmrQ__L.js → p-CdggfEzz.js} +1 -1
- package/dist/components/react/p-CnN4Jdtv.js +1 -0
- package/dist/components/react/{p-D-imniYA.js → p-CzsG0uCA.js} +1 -1
- package/dist/components/react/p-DeO0rZ1T.js +1 -0
- package/dist/components/react/p-DffT6evQ.js +1 -0
- package/dist/components/react/p-T8T3po4z.js +1 -0
- package/dist/components/react/p-WXzzOdnl.js +1 -0
- package/dist/components/react/p-bR8vy6-s.js +1 -0
- package/dist/components/react/{p-B1kYo1K9.js → p-m1-sOx5T.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.js +1 -1
- package/dist/components/react/post-side-navigation.js +1 -1
- 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 +118 -27
- package/dist/esm/breakpoints-I1j7a0bW.js +45 -0
- package/dist/esm/{create-validator-decorator-CNUaQboh.js → create-validator-decorator-C2XlYkNB.js} +1 -1
- package/dist/esm/{event-from-rEfV4v4a.js → event-from-BEcxHjuM.js} +19 -14
- package/dist/esm/{index-sn7oKSwC.js → index-BjziJWh2.js} +1 -1
- package/dist/esm/{breakpoints-BQ3HlJPr.js → index-bR8vy6-s.js} +1 -42
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{one-of-C6Ironyj.js → one-of-Do1iao-k.js} +1 -1
- package/dist/esm/{package-tTf1w3A9.js → package-T8T3po4z.js} +1 -1
- package/dist/esm/{pattern-57oD--q3.js → pattern-BZDucOTq.js} +1 -1
- package/dist/esm/post-accordion_2.entry.js +7 -7
- package/dist/esm/post-autocomplete.entry.js +70 -55
- package/dist/esm/post-avatar.entry.js +7 -7
- package/dist/esm/post-back-to-top.entry.js +25 -13
- package/dist/esm/post-banner.entry.js +6 -13
- package/dist/esm/post-breadcrumb-item.entry.js +42 -12
- package/dist/esm/post-breadcrumbs.entry.js +222 -71
- package/dist/esm/post-closebutton_14.entry.js +430 -232
- package/dist/esm/post-collapsible_2.entry.js +9 -9
- package/dist/esm/post-components.js +3 -3
- package/dist/esm/post-date-picker.entry.js +18 -16
- package/dist/esm/post-footer.entry.js +8 -8
- 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 +6 -6
- package/dist/esm/post-number-input.entry.js +6 -5
- package/dist/esm/post-pagination.entry.js +6 -6
- package/dist/esm/post-popover-trigger.entry.js +8 -8
- package/dist/esm/post-popover.entry.js +11 -11
- package/dist/esm/post-progressbar.entry.js +5 -5
- package/dist/esm/post-rating.entry.js +7 -7
- package/dist/esm/post-side-navigation-trigger.entry.js +8 -8
- package/dist/esm/post-side-navigation.entry.js +9 -9
- package/dist/esm/post-stepper-item.entry.js +3 -3
- package/dist/esm/post-stepper.entry.js +8 -8
- package/dist/esm/post-tab-item.entry.js +7 -7
- package/dist/esm/post-tab-panel.entry.js +7 -7
- package/dist/esm/post-tabs.entry.js +9 -9
- package/dist/esm/post-tooltip-trigger.entry.js +8 -8
- package/dist/esm/post-tooltip.entry.js +6 -6
- package/dist/esm/{required-D2rl2XZJ.js → required-B0X7uy13.js} +1 -1
- package/dist/esm/{type-CGynDrfh.js → type-CF1dOg6D.js} +1 -1
- package/dist/esm/{url-1wyUfUv-.js → url-BL7d6iWZ.js} +1 -1
- package/dist/post-components/{p-167191e5.entry.js → p-0e922531.entry.js} +1 -1
- package/dist/post-components/{p-cf6eacab.entry.js → p-1ec27142.entry.js} +1 -1
- package/dist/post-components/{p-da217dbc.entry.js → p-2005eb98.entry.js} +1 -1
- package/dist/post-components/p-2cff5b3a.entry.js +1 -0
- package/dist/post-components/p-53bd2128.entry.js +1 -0
- package/dist/post-components/{p-212c71e4.entry.js → p-59b30e90.entry.js} +1 -1
- package/dist/post-components/{p-beed9922.entry.js → p-60550edb.entry.js} +1 -1
- package/dist/post-components/p-655ded00.entry.js +1 -0
- package/dist/post-components/p-76cc3c9a.entry.js +1 -0
- package/dist/post-components/{p-3149d866.entry.js → p-8012cc3b.entry.js} +1 -1
- package/dist/post-components/p-819c93de.entry.js +1 -0
- package/dist/post-components/p-840acd3c.entry.js +1 -0
- package/dist/post-components/p-87b1034f.entry.js +1 -0
- package/dist/post-components/p-88f754e9.entry.js +1 -0
- package/dist/post-components/p-9S_5_Zh8.js +1 -0
- package/dist/post-components/p-BEcxHjuM.js +1 -0
- package/dist/post-components/p-BYfu3J2D.js +1 -0
- package/dist/post-components/p-BjziJWh2.js +2 -0
- package/dist/post-components/p-BoYe-VVx.js +1 -0
- package/dist/post-components/p-CbbADNiv.js +1 -0
- package/dist/post-components/p-DgnQe03V.js +1 -0
- package/dist/post-components/p-DlKbBdcP.js +1 -0
- package/dist/post-components/p-I1j7a0bW.js +1 -0
- package/dist/post-components/p-T8T3po4z.js +1 -0
- package/dist/post-components/{p-a01ea634.entry.js → p-a32d3050.entry.js} +1 -1
- package/dist/post-components/p-b4229624.entry.js +1 -0
- package/dist/post-components/{p-96bf6b01.entry.js → p-b9faa76b.entry.js} +1 -1
- package/dist/post-components/p-bR8vy6-s.js +1 -0
- package/dist/post-components/{p-70fbe469.entry.js → p-ba1b4ba0.entry.js} +1 -1
- package/dist/post-components/p-c0ae13b7.entry.js +1 -0
- package/dist/post-components/p-c9dcdebb.entry.js +1 -0
- package/dist/post-components/p-ccf8020b.entry.js +1 -0
- package/dist/post-components/p-cd68d3a2.entry.js +1 -0
- package/dist/post-components/p-cdc7b8d3.entry.js +1 -0
- package/dist/post-components/{p-1cf5bc67.entry.js → p-d7c9a969.entry.js} +1 -1
- package/dist/post-components/p-db11f781.entry.js +1 -0
- package/dist/post-components/{p-0323b0f3.entry.js → p-dc285087.entry.js} +1 -1
- package/dist/post-components/{p-e8d9723e.entry.js → p-de6f1816.entry.js} +1 -1
- package/dist/post-components/p-dec8bd99.entry.js +1 -0
- package/dist/post-components/p-f9a8ee94.entry.js +1 -0
- package/dist/post-components/post-components.css +2 -2
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/types/components/post-autocomplete/post-autocomplete.d.ts +18 -6
- package/dist/types/components/post-back-to-top/post-back-to-top.d.ts +2 -1
- package/dist/types/components/post-banner/post-banner.d.ts +0 -1
- package/dist/types/components/post-breadcrumb-item/post-breadcrumb-item.d.ts +12 -1
- package/dist/types/components/post-breadcrumbs/post-breadcrumbs.d.ts +54 -14
- package/dist/types/components/post-closebutton/post-closebutton.d.ts +1 -1
- package/dist/types/components/post-menu/post-menu.d.ts +1 -0
- package/dist/types/components/post-popovercontainer/post-popovercontainer.d.ts +8 -5
- package/dist/types/components.d.ts +38 -7
- package/dist/types/utils/breakpoints.d.ts +1 -0
- package/dist/types/utils/closable-target.d.ts +5 -0
- package/dist/types/utils/event-from.d.ts +8 -0
- package/dist/types/utils/floating-ui.d.ts +12 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/hydrate/index.js +1085 -665
- package/hydrate/index.mjs +1085 -665
- package/package.json +31 -22
- package/dist/components/react/p-BXqGI600.js +0 -1
- package/dist/components/react/p-B_WnO-QF.js +0 -1
- package/dist/components/react/p-BaB8wJvk.js +0 -1
- package/dist/components/react/p-Bji_4dfL.js +0 -1
- package/dist/components/react/p-CX2E_IXB.js +0 -1
- package/dist/components/react/p-CwmQwirr.js +0 -1
- package/dist/components/react/p-D17tCsFk.js +0 -1
- package/dist/components/react/p-DD1c_IgL.js +0 -1
- package/dist/components/react/p-Df31eVdi.js +0 -1
- package/dist/components/react/p-I0dqoE80.js +0 -1
- package/dist/components/react/p-rEfV4v4a.js +0 -1
- package/dist/components/react/p-tTf1w3A9.js +0 -1
- package/dist/post-components/p-06ddd73b.entry.js +0 -1
- package/dist/post-components/p-090e52db.entry.js +0 -1
- package/dist/post-components/p-292a9784.entry.js +0 -1
- package/dist/post-components/p-2de6fe62.entry.js +0 -1
- package/dist/post-components/p-39ff8127.entry.js +0 -1
- package/dist/post-components/p-3a968b19.entry.js +0 -1
- package/dist/post-components/p-472_tiaS.js +0 -1
- package/dist/post-components/p-58422de1.entry.js +0 -1
- package/dist/post-components/p-5873a90c.entry.js +0 -1
- package/dist/post-components/p-986fa1c1.entry.js +0 -1
- package/dist/post-components/p-BQ3HlJPr.js +0 -1
- package/dist/post-components/p-B_FOhVrp.js +0 -1
- package/dist/post-components/p-CeNqFJV7.js +0 -1
- package/dist/post-components/p-DYDdaLz-.js +0 -1
- package/dist/post-components/p-DoNhJ2D7.js +0 -1
- package/dist/post-components/p-b1d2384a.entry.js +0 -1
- package/dist/post-components/p-b535fc10.entry.js +0 -1
- package/dist/post-components/p-b99e6621.entry.js +0 -1
- package/dist/post-components/p-bf83a3fb.entry.js +0 -1
- package/dist/post-components/p-c46bc56f.entry.js +0 -1
- package/dist/post-components/p-ce8132a9.entry.js +0 -1
- package/dist/post-components/p-d72e830b.entry.js +0 -1
- package/dist/post-components/p-e08d26f4.entry.js +0 -1
- package/dist/post-components/p-rEfV4v4a.js +0 -1
- package/dist/post-components/p-sn7oKSwC.js +0 -2
- package/dist/post-components/p-tTf1w3A9.js +0 -1
|
@@ -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:"81fa9d922480059096e4146c10cf2ef72357b482","data-version":r,role:"button",tabindex:"0","aria-pressed":this.toggled.toString()},o("slot",{key:"4e8d793e3867ba4c9c8e17d509652309a79f032a"}))}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 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
|
|
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 a}from"./type.js";const l=["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??=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(){l.forEach((t=>{this.host.addEventListener(t,this.boundTriggerHandler)}))}removeListeners(){l.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:"55adc12f457aa8a5dd4357ed27876b0e526f7ae3","data-version":r},s("slot",{key:"84da1734ae1c1ac9376caa693108e3ed54bf176f",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(),a("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 o,HTMLElement as e,h as t,Host as r,transformTag as s}from"@stencil/core/internal/client";import{d as a,a as
|
|
1
|
+
import{proxyCustomElement as o,HTMLElement as e,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=o(class extends e{constructor(o){super(),!1!==o&&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(o){this.open||await this.popoverRef.show(o)}async hide(){this.popoverRef.hide()}async toggle(o,e){this.popoverRef.toggle(o,e)}handleBeforeToggle(o){this.open=o.detail.willOpen}render(){return t(r,{key:"62d5983e0ef32f851166d0c1d2c457cac0809fdf","data-version":n},t("post-popovercontainer",{key:"10150540956510724ab4832ecceb421a7013d983",safeSpace:"trapezoid",class:this.arrow?"has-arrow":"",role:"tooltip",arrow:this.arrow,placement:this.placement,autoHide:!0,onPostBeforeToggle:o=>this.handleBeforeToggle(o),ref:o=>this.popoverRef=o},t("slot",{key:"cdfaf0e916afa55ec3f1a7f64003101985560e27"})))}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);word-wrap:break-word;white-space:normal}'}},[257,"post-tooltip",{placement:[1],arrow:[4],open:[1540],show:[64],hide:[64],toggle:[64]}]);!function(o,e,t,r){var s,a=arguments.length,i=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(o,e,t,r);else for(var n=o.length-1;n>=0;n--)(s=o[n])&&(i=(a<3?s(i):a>3?s(e,t,i):s(e,t))||i);a>3&&i&&Object.defineProperty(e,t,i)}([p(i)],c.prototype,"placement",void 0);const d=c,l=function(){"undefined"!=typeof customElements&&["post-tooltip","post-popovercontainer"].forEach((o=>{switch(o){case"post-tooltip":customElements.get(s(o))||customElements.define(s(o),c);break;case"post-popovercontainer":customElements.get(s(o))||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-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)}}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;overflow-wrap:anywhere;hyphens:auto;line-break:strict}.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)::after{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-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-side-navigation-item-enabled-stroke-active)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-side-navigation-item-enabled-stroke-active)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:Highlight !important}}}.post-side-navigation-item:where(a,button)[aria-current=page]::after{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-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-side-navigation-item-selected-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-side-navigation-item-selected-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}}.post-side-navigation-item:where(a,button){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-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) a::after{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-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-side-navigation-item-enabled-stroke-active)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-side-navigation-item-enabled-stroke-active)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) a[aria-current=page]::after{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-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-side-navigation-item-selected-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}@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{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-side-navigation-item-selected-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) a{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-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) button::after{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-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-side-navigation-item-enabled-stroke-active)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-side-navigation-item-enabled-stroke-active)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) button[aria-current=page]::after{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-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-side-navigation-item-selected-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}@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{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-side-navigation-item-selected-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) button{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-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !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)}post-listbox [slot=blank-slate]{display:none;padding:.75rem;color:#666}post-listbox:not(:has(post-listbox-option:not([hidden]))) [slot=blank-slate]{display:block}';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||{}),o="type",n="value",s="serialized:";function a(t,i,e){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,i);if(o&&(!e||o.get))return o;t=Object.getPrototypeOf(t)}}var r,l=(t,i)=>{var e;Object.entries(null!=(e=i.i.t)?e:{}).map((([e,[o]])=>{if(31&o||32&o){const o=t[e],n=a(Object.getPrototypeOf(t),e,!0)||Object.getOwnPropertyDescriptor(t,e);n&&Object.defineProperty(t,e,{get(){return n.get.call(this)},set(t){n.set.call(this,t)},configurable:!0,enumerable:!0}),i.o.has(e)?t[e]=i.o.get(e):void 0!==o&&(t[e]=o)}}))},c=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},p=(t,i)=>i in t,d=(t,i)=>(0,console.error)(t,i),u=new Map,v="s-id",f="sty-id",g="c-id",h="http://www.w3.org/1999/xlink",m=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],b="undefined"!=typeof window?window:{},w=b.HTMLElement||class{},y={l:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,i,e,o)=>t.addEventListener(i,e,o),rel:(t,i,e,o)=>t.removeEventListener(i,e,o),ce:(t,i)=>new CustomEvent(t,i)},$=(()=>{try{return!!b.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),k=!!$&&(()=>!!b.document&&Object.getOwnPropertyDescriptor(b.document.adoptedStyleSheets,"length").writable)(),x=!1,z=[],j=[],O=(t,i)=>e=>{t.push(e),x||(x=!0,i&&4&y.l?N(H):y.raf(H))},S=t=>{for(let i=0;i<t.length;i++)try{t[i](performance.now())}catch(t){d(t)}t.length=0},H=()=>{S(z),S(j),(x=z.length>0)&&y.raf(H)},N=t=>Promise.resolve(void 0).then(t),_=O(j,!0),C=t=>{const i=new URL(t,y.p);return i.origin!==b.location.origin?i.href:i.pathname},E=t=>y.p=t;function M(){var i;const e=this.attachShadow({mode:"open"});if(void 0===r&&(r=null!=(i=function(t){if(!$)return;const i=new CSSStyleSheet;return i.replaceSync(t),i}(t))?i:null),r)k?e.adoptedStyleSheets.push(r):e.adoptedStyleSheets=[...e.adoptedStyleSheets,r];else if(!$){const i=document.createElement("style");i.innerHTML=t,e.prepend(i)}}var A=t=>{const i=B(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&I(i,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!L(t,F(t),!1).length)}));let e=0;for(e=0;e<i.length;e++){const t=i[e];1===t.nodeType&&B(t,"childNodes").length&&A(t)}};function I(t,i,e){let o,n=0,s=[];for(;n<t.length;n++){if(o=t[n],o["s-sr"]&&(!i||o["s-hn"]===i)&&(void 0===e||F(o)===e)&&(s.push(o),void 0!==e))return s;s=[...s,...I(o.childNodes,i,e)]}return s}var L=(t,i,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let n=t;for(;n=n.nextSibling;)F(n)!==i||!e&&n["s-sr"]||o.push(n);return o},R=(t,i)=>1===t.nodeType?null===t.getAttribute("slot")&&""===i||t.getAttribute("slot")===i:t["s-sn"]===i||""===i,D=(t,i,e,o)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const n=document.createTextNode("");if(n["s-nr"]=t,!i["s-cr"]||!i["s-cr"].parentNode)return;const s=i["s-cr"].parentNode,a=B(s,"appendChild");if(void 0!==o){n["s-oo"]=o;const t=B(s,"childNodes"),i=[n];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,n);t["s-ol"]=n,t["s-sh"]=i["s-hn"]},F=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 i=i=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const n=this["s-cr"].parentElement;return(n.__childNodes?n.childNodes:(t=>{const i=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&i.push(o)}return i})(n.childNodes)).forEach((t=>{o===F(t)&&e.push(t)})),i?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=i(!0),t.assignedNodes=i(!1)}function B(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 U=new WeakMap,V=(t,i,e)=>{let o=u.get(t);$&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=i:o.replaceSync(i)):o=i,u.set(t,o)},P=(t,i)=>{var e,o,n;const s=W(i),a=u.get(s);if(!b.document)return s;if(t=11===t.nodeType?t:b.document,a)if("string"==typeof a){let n,r=U.get(t=t.head||t);r||U.set(t,r=new Set);const l=t.querySelector(`[${f}="${s}"]`);if(l)l.textContent=a;else if(!r.has(s)){n=b.document.createElement("style"),n.textContent=a;const l=null!=(e=y.u)?e:function(){var t,i,e;return null!=(e=null==(i=null==(t=b.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:i.getAttribute("content"))?e:void 0}();if(null!=l&&n.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(n,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if($){const i=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;i.replaceSync(a),k?t.adoptedStyleSheets.unshift(i):t.adoptedStyleSheets=[i,...t.adoptedStyleSheets]}else{const i=t.querySelector("style");i?i.textContent=a+i.textContent:t.prepend(n)}else t.append(n);1&i.l&&t.insertBefore(n,null),4&i.l&&(n.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),r&&r.add(s)}}else{let i=U.get(t);if(i||U.set(t,i=new Set),!i.has(s)){const e=null!=(n=t.defaultView)?n:t.ownerDocument.defaultView;let o;if(a.constructor===e.CSSStyleSheet)o=a;else{o=new e.CSSStyleSheet;for(let t=0;t<a.cssRules.length;t++)o.insertRule(a.cssRules[t].cssText,t)}if(k?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],i.add(s),"host"in t){const i=t.querySelector(`[${f}="${s}"]`);i&&_((()=>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 o=null,n=null,s=null,a=!1,r=!1;const l=[],c=i=>{for(let e=0;e<i.length;e++)o=i[e],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((a="function"!=typeof t&&!Y(o))&&(o+=""),a&&r?l[l.length-1].h+=o:l.push(a?Z(null,o):o),r=a)};if(c(e),i){i.key&&(n=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 p=Z(t,null);return p.m=i,l.length>0&&(p.$=l),p.k=n,p.j=s,p},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,o,n,s,a,r=[])=>{let l,c,p,d;if(1===s.nodeType){if(l=s.getAttribute(g),l&&(c=l.split("."),c[0]===a||"0"===c[0])){p=et({l:0,H:c[0],N:c[1],_:c[2],C:c[3],O:s.tagName.toLowerCase(),S:s,m:{class:s.className||""}}),i.push(p),s.removeAttribute(g),t.$||(t.$=[]);const n=p.S.getAttribute("s-sn");"string"==typeof n&&("slot-fb"===p.O&&ot(n,c[2],p,s,t,i,e,o,r),p.S["s-sn"]=n,p.S.removeAttribute("s-sn")),void 0!==p.C&&(t.$[p.C]=p),t=p,o&&"0"===p._&&(o[p.C]=p.S)}if(s.shadowRoot)for(d=s.shadowRoot.childNodes.length-1;d>=0;d--)tt(t,i,e,o,n,s.shadowRoot.childNodes[d],a,r);const u=s.__childNodes||s.childNodes;for(d=u.length-1;d>=0;d--)tt(t,i,e,o,n,u[d],a,r)}else if(8===s.nodeType)c=s.nodeValue.split("."),(c[1]===a||"0"===c[1])&&(l=c[0],p=et({H:c[1],N:c[2],_:c[3],C:c[4]||"0",S:s,m:null,$:null,k:null,j:null,O:null,h:null}),"t"===l?(p.S=rt(s,3),p.S&&3===p.S.nodeType&&(p.h=p.S.textContent,i.push(p),s.remove(),a===p.H&&(t.$||(t.$=[]),t.$[p.C]=p),o&&"0"===p._&&(o[p.C]=p.S))):"c"===l?(p.S=rt(s,8),p.S&&8===p.S.nodeType&&(i.push(p),s.remove())):p.H===a&&("s"===l?ot(s["s-sn"]=c[5]||"",c[2],p,s,t,i,e,o,r):"r"===l&&(o?s.remove():(n["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.O){const i=Z(null,s.textContent);i.S=s,i.C="0",t.$=[i]}return t},it=(t,i)=>{if(1===t.nodeType){const e=t[v]||t.getAttribute(v);e&&i.set(e,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)it(t.shadowRoot.childNodes[o],i);const n=t.__childNodes||t.childNodes;for(o=0;o<n.length;o++)it(n[o],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,H:null,N:null,_:null,C:"0",S:null,m:null,$:null,k:null,j:null,O:null,h:null,...t});function ot(t,i,e,o,n,s,a,r,l){o["s-sr"]=!0,e.j=t||null,e.O="slot";const c=(null==n?void 0:n.S)?n.S["s-id"]||n.S.getAttribute("s-id"):"";if(r&&b.document){const s=e.S=b.document.createElement(e.O);e.j&&e.S.setAttribute("name",t),n.S.shadowRoot&&c&&c!==e.H?B(n.S,"insertBefore")(s,B(n.S,"children")[0]):B(B(o,"parentNode"),"insertBefore")(s,o),at(l,i,t,o,e.H),o.remove(),"0"===e._&&(r[e.C]=e.S)}else{const s=e.S,a=c&&c!==e.H&&n.S.shadowRoot;at(l,i,t,o,a?c:e.H),T(o),a&&n.S.insertBefore(s,n.S.children[0])}s.push(e),a.push(e),n.$||(n.$=[]),n.$[e.C]=e}var nt,st,at=(t,i,e,o,n)=>{var s,a;let r=o.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:o,node:r,hostId:n})),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[o],s=n in i?i[n]: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,o]of s){const n="object"==typeof e&&null!==e?t.fromLocalValue(e):e,s=t.fromLocalValue(o);i.set(n,s)}return i;case"object":const o={};for(const[i,e]of s)o[i]=t.fromLocalValue(e);return o;case"regexp":const{pattern:n,flags:a}=s;return RegExp(n,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(o))return!1;const s=t[o];return!!Object.values({...i,...e}).includes(s)&&("null"===s||"undefined"===s||t.hasOwnProperty(n))}},ct=(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,pt=t=>t,dt=(t,i)=>{const e=t;return{emit:t=>ut(e,i,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},ut=(t,i,e)=>{const o=y.ce(i,e);return t.dispatchEvent(o),o},vt=(t,i,e,o,n,s,a)=>{if(e===o)return;let r=p(t,i),l=i.toLowerCase();if("class"===i){const i=t.classList,n=gt(e);let s=gt(o);if((t["s-si"]||t["s-sc"])&&a){const e=t["s-sc"]||t["s-si"];s.push(e),n.forEach((t=>{t.startsWith(e)&&s.push(t)})),s=[...new Set(s)].filter((t=>t)),i.add(...s)}else i.remove(...n.filter((t=>t&&!s.includes(t)))),i.add(...s.filter((t=>t&&!n.includes(t))))}else if("style"===i){for(const i in e)o&&null!=o[i]||(i.includes("-")?t.style.removeProperty(i):t.style[i]="");for(const i in o)e&&o[i]===e[i]||(i.includes("-")?t.style.setProperty(i,o[i]):t.style[i]=o[i])}else if("key"===i);else if("ref"===i)o&&Rt(o,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 n;{const i=c(t);if(i&&i.i&&i.i.t){const t=i.i.t[e];t&&t[1]&&(n=t[1])}}return n||(n=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==o||!1===o?!1===o&&""!==t.getAttribute(n)||t.removeAttribute(n):t.setAttribute(n,!0===o?"":o))}if("p"===i[0]&&i.startsWith("prop:")){const e=i.slice(5);try{t[e]=o}catch(t){}return}{const a=Y(o);if((r||a&&null!==o)&&!n)try{if(t.tagName.includes("-"))t[i]!==o&&(t[i]=o);else{const n=null==o?"":o;"list"===i?r=!1:null!=e&&t[i]===n||("function"==typeof t.__lookupSetter__(i)?t[i]=n:t.setAttribute(i,n))}}catch(t){}let c=!1;l!==(l=l.replace(/^xlink\:?/,""))&&(i=l,c=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(i)||(c?t.removeAttributeNS(h,i):t.removeAttribute(i)):(!r||4&s||n)&&!a&&1===t.nodeType&&(o=!0===o?"":o,c?t.setAttributeNS(h,i,o):t.setAttribute(i,o))}}else if(i="-"===i[2]?i.slice(3):p(b,l)?l.slice(2):l[2]+i.slice(3),e||o){const n=i.endsWith(ht);i=i.replace(mt,""),e&&y.rel(t,i,e,n),o&&y.ael(t,i,o,n)}},ft=/\s/,gt=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(ft):[]),ht="Capture",mt=RegExp(ht+"$"),bt=(t,i,e,o)=>{const n=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||vt(n,t,s[t],void 0,e,i.l,o);for(const t of wt(Object.keys(a)))vt(n,t,s[t],a[t],e,i.l,o)};function wt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var yt=!1,$t=!1,kt=!1,xt=!1,zt=[],jt=[],Ot=(t,i,e)=>{var o;const n=i.$[e];let s,a,r,l=0;if(yt||(kt=!0,"slot"===n.O&&(n.l|=n.$?2:1)),null!=n.h)s=n.S=b.document.createTextNode(n.h);else if(1&n.l)s=n.S=b.document.createTextNode(""),bt(null,n,xt);else{if(xt||(xt="svg"===n.O),!b.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=n.S=b.document.createElementNS(xt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!yt&&2&n.l?"slot-fb":n.O),xt&&"foreignObject"===n.O&&(xt=!1),bt(null,n,xt),n.$){const i="template"===n.O?s.content:s;for(l=0;l<n.$.length;++l)a=Ot(t,n,l),a&&i.appendChild(a)}"svg"===n.O?xt=!1:"foreignObject"===s.tagName&&(xt=!0)}return s["s-hn"]=st,3&n.l&&(s["s-sr"]=!0,s["s-cr"]=nt,s["s-sn"]=n.j||"",s["s-rf"]=null==(o=n.m)?void 0:o.ref,T(s),r=t&&t.$&&t.$[e],r&&r.O===n.O&&t.S&&St(t.S)),s},St=t=>{y.l|=1;const i=t.closest(st.toLowerCase());if(null!=i){const e=Array.from(i.__childNodes||i.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(Dt(i,t,null!=e?e:null),t["s-sh"]=void 0,kt=!0)}y.l&=-2},Ht=(t,i)=>{y.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 o=e[t];o["s-hn"]!==st&&o["s-ol"]&&(Dt(Et(o).parentNode,o,Et(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,kt=!0),i&&Ht(o,i)}y.l&=-2},Nt=(t,i,e,o,n,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);n<=s;++n)o[n]&&(a=Ot(null,e,n),a&&(o[n].S=a,Dt(r,a,Et(i))))},_t=(t,i,e)=>{for(let o=i;o<=e;++o){const i=t[o];if(i){const t=i.S;Lt(i),t&&($t=!0,t["s-ol"]?t["s-ol"].remove():Ht(t,!0),t.remove())}}},Ct=(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),Et=t=>t&&t["s-ol"]||t,Mt=(t,i,e=!1)=>{const o=i.S=t.S,n=t.$,s=i.$,a=i.O,r=i.h;let l;null==r?(xt="svg"===a||"foreignObject"!==a&&xt,"slot"!==a||yt||t.j!==i.j&&(i.S["s-sn"]=i.j||"",St(i.S.parentElement)),bt(t,i,xt,e),null!==n&&null!==s?((t,i,e,o,n=!1)=>{let s,a,r=0,l=0,c=0,p=0,d=i.length-1,u=i[0],v=i[d],f=o.length-1,g=o[0],h=o[f];const m="template"===e.O?t.content:t;for(;r<=d&&l<=f;)if(null==u)u=i[++r];else if(null==v)v=i[--d];else if(null==g)g=o[++l];else if(null==h)h=o[--f];else if(Ct(u,g,n))Mt(u,g,n),u=i[++r],g=o[++l];else if(Ct(v,h,n))Mt(v,h,n),v=i[--d],h=o[--f];else if(Ct(u,h,n))"slot"!==u.O&&"slot"!==h.O||Ht(u.S.parentNode,!1),Mt(u,h,n),Dt(m,u.S,v.S.nextSibling),u=i[++r],h=o[--f];else if(Ct(v,g,n))"slot"!==u.O&&"slot"!==h.O||Ht(v.S.parentNode,!1),Mt(v,g,n),Dt(m,v.S,u.S),v=i[--d],g=o[++l];else{for(c=-1,p=r;p<=d;++p)if(i[p]&&null!==i[p].k&&i[p].k===g.k){c=p;break}c>=0?(a=i[c],a.O!==g.O?s=Ot(i&&i[l],e,c):(Mt(a,g,n),i[c]=void 0,s=a.S),g=o[++l]):(s=Ot(i&&i[l],e,l),g=o[++l]),s&&Dt(Et(u.S).parentNode,s,Et(u.S))}r>d?Nt(t,null==o[f+1]?null:o[f+1].S,e,o,l,f):l>f&&_t(i,r,d)})(o,n,i,s,e):null!==s?(null!==t.h&&(o.textContent=""),Nt(o,null,i,s,0,s.length-1)):e||null===n?e&&null!==n&&null===s&&(i.$=n):_t(n,0,n.length-1),xt&&"svg"===a&&(xt=!1)):(l=o["s-cr"])?l.parentNode.textContent=r:t.h!==r&&(o.data=r)},At=[],It=t=>{let i,e,o;const n=t.__childNodes||t.childNodes;for(const t of n){if(t["s-sr"]&&(i=t["s-cr"])&&i.parentNode){e=i.parentNode.__childNodes||i.parentNode.childNodes;const n=t["s-sn"];for(o=e.length-1;o>=0;o--)if(i=e[o],!(i["s-cn"]||i["s-nr"]||i["s-hn"]===t["s-hn"]||i["s-sh"]&&i["s-sh"]===t["s-hn"]))if(R(i,n)){let e=At.find((t=>t.M===i));$t=!0,i["s-sn"]=i["s-sn"]||n,e?(e.M["s-sh"]=t["s-hn"],e.A=t):(i["s-sh"]=t["s-hn"],At.push({A:t,M:i})),i["s-sr"]&&At.map((t=>{R(t.M,i["s-sn"])&&(e=At.find((t=>t.M===i)),e&&!t.A&&(t.A=e.A))}))}else At.some((t=>t.M===i))||At.push({M:i})}1===t.nodeType&&It(t)}},Lt=t=>{t.m&&t.m.ref&&zt.push((()=>t.m.ref(null))),t.$&&t.$.map(Lt)},Rt=(t,i)=>{jt.push((()=>t(i)))},Dt=(t,i,e,o)=>{if("string"==typeof i["s-sn"]){t.insertBefore(i,e);const{slotNode:n}=function(t,i){var e;if(!(i=i||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=F(t)||"";return{slotNode:I(B(i,"childNodes"),i.tagName,o)[0],slotName:o}}(i);return n&&!o&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(n),i}return t.__insertBefore?t.__insertBefore(i,e):null==t?void 0:t.insertBefore(i,e)},Ft=(t,i,e=!1)=>{var o,n,s,a,r;const l=t.$hostElement$,c=t.i,p=t.I||Z(null,null),d=(t=>t&&t.O===G)(i)?i:J(null,null,i);if(st=l.tagName,c.L&&(d.m=d.m||{},c.L.forEach((([t,i])=>{d.m[i]=l[t]}))),e&&d.m)for(const t of Object.keys(d.m))l.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(d.m[t]=l[t]);if(d.O=null,d.l|=4,t.I=d,d.S=p.S=l.shadowRoot||l,yt=!(!(1&c.l)||128&c.l),nt=l["s-cr"],$t=!1,Mt(p,d,e),y.l|=1,kt){It(d.S);for(const t of At){const i=t.M;if(!i["s-ol"]&&b.document){const t=b.document.createTextNode("");t["s-nr"]=i,Dt(i.parentNode,i["s-ol"]=t,i,e)}}for(const t of At){const i=t.M,r=t.A;if(1===i.nodeType&&e&&(i["s-ih"]=null!=(o=i.hidden)&&o),r){const t=r.parentNode;let o=r.nextSibling;if(o&&1===o.nodeType){let e=null==(n=i["s-ol"])?void 0:n.previousSibling;for(;e;){let n=null!=(s=e["s-nr"])?s:null;if(n&&n["s-sn"]===i["s-sn"]&&t===(n.__parentNode||n.parentNode)){for(n=n.nextSibling;n===i||(null==n?void 0:n["s-sr"]);)n=null==n?void 0:n.nextSibling;if(!n||!n["s-nr"]){o=n;break}}e=e.previousSibling}}if((!o&&t!==(i.__parentNode||i.parentNode)||(i.__nextSibling||i.nextSibling)!==o)&&i!==o){if(Dt(t,i,o,e),8===i.nodeType&&i.nodeValue.startsWith("s-nt-")){const t=b.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,Dt(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($t&&A(d.S),y.l&=-2,At.length=0,!yt&&!(1&c.l)&&l["s-cr"]){const t=d.S.__childNodes||d.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=b.document.createComment("s-nt-"+i.nodeValue);t["s-sn"]=i["s-sn"],Dt(i.parentNode,t,i,e),i.parentNode.removeChild(i)}}nt=void 0,zt.forEach((t=>t())),zt.length=0,jt.forEach((t=>t())),jt.length=0},Tt=(t,i)=>{if(i&&!t.R&&i["s-p"]){const e=i["s-p"].push(new Promise((o=>t.R=()=>{i["s-p"].splice(e-1,1),o()})))}},Bt=(t,i)=>{if(t.l|=16,4&t.l)return void(t.l|=512);Tt(t,t.D);const e=()=>Ut(t,i);if(!i)return _(e);queueMicrotask((()=>{e()}))},Ut=(t,i)=>{const e=t.$hostElement$,o=e;if(!o)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 n;return n=Zt(o,i?"componentWillLoad":"componentWillUpdate",void 0,e),n=Vt(n,(()=>Zt(o,"componentWillRender",void 0,e))),Vt(n,(()=>Wt(t,o,i)))},Vt=(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 o;const n=t.$hostElement$,s=n["s-rc"];e&&(t=>{const i=t.i,e=t.$hostElement$,o=i.l,n=P(e.shadowRoot?e.shadowRoot:e.getRootNode(),i);10&o&&(e["s-sc"]=n,e.classList.add(n+"-h"))})(t);qt(t,i,n,e),s&&(s.map((t=>t())),n["s-rc"]=void 0);{const i=null!=(o=n["s-p"])?o:[],e=()=>Yt(t);0===i.length?e():(Promise.all(i).then(e).catch(e),t.l|=4,i.length=0)}},qt=(t,i,e,o)=>{try{i=i.render&&i.render(),t.l&=-17,t.l|=2,Ft(t,i,o)}catch(i){d(i,t.$hostElement$)}return null},Yt=t=>{const i=t.$hostElement$,e=i,o=t.D;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.F(i),o||Jt()),t.R&&(t.R(),t.R=void 0),512&t.l&&N((()=>Bt(t,!1))),t.l&=-517},Jt=()=>{var t;N((()=>ut(b,"appload",{detail:{namespace:"post-components"}}))),(null==(t=y.T)?void 0:t.size)&&y.T.clear()},Zt=(t,i,e,o)=>{if(t&&t[i])try{return t[i](e)}catch(t){d(t,o)}},Gt=t=>t.setAttribute(null!="data-hydrated"?"data-hydrated":"hydrated",""),Kt=(t,i,e,o)=>{const n=c(t);if(!n)return;const s=t,a=n.o.get(i),r=n.l,l=s;if(!((e=ct(e,o.t[i][0],!!(64&o.l)))===a||Number.isNaN(a)&&Number.isNaN(e))){if(n.o.set(i,e),o.B){const t=o.B[i];t&&t.map((t=>{try{const[[o,s]]=Object.entries(t);(128&r||1&s)&&(l?l[o](e,a,i):n.U.push((()=>{n.V[o](e,a,i)})))}catch(t){d(t,s)}}))}if(2&r){if(l.componentShouldUpdate&&!1===l.componentShouldUpdate(e,a,i)&&!(16&r))return;16&r||Bt(n,!1)}}},Qt=(t,i,e)=>{var o,n;const s=t.prototype;64&i.l&&1&e&&m.forEach((t=>{const i=s[t];Object.defineProperty(s,t,{value(...e){var o;const n=c(this),s=this;s?"function"==typeof i&&i.call(s,...e):null==(o=null==n?void 0:n.P)||o.then((i=>{const o=i[t];"function"==typeof o&&o.call(i,...e)}))}})}));{t.watchers&&!i.B&&(i.B=t.watchers),t.deserializers&&!i.W&&(i.W=t.deserializers),t.serializers&&!i.q&&(i.q=t.serializers);const e=Object.entries(null!=(o=i.t)?o:{});e.map((([t,[e]])=>{if(31&e||32&e){const{get:o,set:n}=a(s,t)||{};o&&(i.t[t][0]|=2048),n&&(i.t[t][0]|=4096),Object.defineProperty(s,t,{get(){return o?o.apply(this):((t,i)=>c(this).o.get(i))(0,t)},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(o){const s=c(this);if(s){if(n)return void 0===(32&e?this[t]:s.$hostElement$[t])&&s.o.get(t)&&(o=s.o.get(t)),n.call(this,ct(o,e,!!(64&i.l))),void Kt(this,t,o=32&e?this[t]:s.$hostElement$[t],i);Kt(this,t,o,i)}}})}}));{const o=new Map;s.attributeChangedCallback=function(t,n,a){y.jmp((()=>{var r;const l=o.get(t),p=c(this);if(this.hasOwnProperty(l),s.hasOwnProperty(l)&&"number"==typeof this[l]&&this[l]==a)return;if(null==l){const e=null==p?void 0:p.l;if(p&&e&&!(8&e)&&a!==n){const o=this,s=null==(r=i.B)?void 0:r[t];null==s||s.forEach((i=>{const[[s,r]]=Object.entries(i);null!=o[s]&&(128&e||1&r)&&o[s].call(o,a,n,t)}))}return}const d=e.find((([t])=>t===l));d&&4&d[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!=(n=i.B)?n:{}),...e.filter((([t,i])=>31&i[0])).map((([t,e])=>{var n;const s=e[1]||t;return o.set(s,t),512&e[0]&&(null==(n=i.L)||n.push([t,s])),s}))]))}}return t},Xt=t=>{if(!b.document)return;const i=t["s-cr"]=b.document.createComment("");i["s-cn"]=!0,Dt(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.B=t.B,e.W=t.W,e.q=t.q,e.L=[],(()=>{if(!b.document)return;const t=b.document.querySelectorAll(`[${f}]`);let i=0;for(;i<t.length;i++)V(t[i].getAttribute(f),q(t[i].innerHTML),!0)})();const o=t.prototype.connectedCallback,n=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.F=t)),t["s-p"]=[],t["s-rc"]=[];const o=e;t.__stencil__getHostRef=()=>o,512&i.l&&l(t,e)})(this,e)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=c(this);if(!t)return;ii(this,t,e.Y),this.__hasHostListenerAttached=!0}(t=>{if(!(1&y.l)){const i=c(t);if(!i)return;const e=i.i,o=()=>{};if(1&i.l)ii(t,i,e.Y),(null==i?void 0:i.V)||(null==i?void 0:i.P)&&i.P.then((()=>{}));else{let o;if(i.l|=1,o=t.getAttribute(v),o){if(1&e.l){const i=P(t.shadowRoot,e);t.classList.remove(i+"-h",i+"-s")}((t,i,e,o)=>{var n,s,a,r;const l=t.shadowRoot,p=[],d=[],u=l?[]:null,f=Z(i,null);f.S=t,!b.document||y.T&&y.T.size||it(b.document.body,y.T=new Map),t[v]=e,t.removeAttribute(v),o.I=tt(f,p,[],u,t,t,e,d);let g=0;const h=p.length;let m;for(;g<h;g++){m=p[g];const e=m.H+"."+m.N,o=y.T.get(e),s=m.S;if(l){if((null==(n=m.O)?void 0:(""+n).includes("-"))&&"slot-fb"!==m.O&&!m.S.shadowRoot){const t=c(m.S);if(t){const i=W(t.i),e=b.document.querySelector(`style[sty-id="${i}"]`);e&&u.unshift(e.cloneNode(!0))}}}else s["s-hn"]=i.toUpperCase(),"slot"===m.O&&(s["s-cr"]=t["s-cr"]);"slot"===m.O&&(m.j=m.S["s-sn"]||m.S.name||null,m.$?(m.l|=2,m.S.childNodes.length||m.$.forEach((t=>{m.S.appendChild(t.S)}))):m.l|=1),o&&o.isConnected&&(o.parentElement.shadowRoot&&""===o["s-en"]&&o.parentNode.insertBefore(s,o.nextSibling),o.parentNode.removeChild(o),l||(s["s-oo"]=parseInt(m.N))),o&&!o["s-id"]&&y.T.delete(e)}const w=[],$=d.length;let k,x,z,j,O=0,S=0;for(;O<$;O++)if(k=d[O],k&&k.length)for(z=k.length,x=0;x<z;x++){if(j=k[x],w[j.hostId]||(w[j.hostId]=y.T.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=k[x-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]),D(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))}))}}o.$hostElement$=t})(t,e.v,o,i)}o||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"]){Tt(i,i.D=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 o;try{if(!(32&i.l)&&(i.l|=32,o=t.constructor,customElements.whenDefined(t.localName).then((()=>i.l|=128)),o&&o.style)){let t;"string"==typeof o.style&&(t=o.style);const i=W(e);if(!u.has(i)){const o=()=>{};V(i,t,!!(1&e.l)),o()}}const n=i.D,s=()=>Bt(i,!0);n&&n["s-rc"]?n["s-rc"].push(s):s()}catch(e){d(e,t),i.R&&(i.R(),i.R=void 0),i.F&&i.F(t)}})(t,i,e)}o()}})(this),o&&o.call(this)},disconnectedCallback(){(async t=>{if(!(1&y.l)){const i=c(t);(null==i?void 0:i.Z)&&(i.Z.map((t=>t())),i.Z=void 0)}U.has(t)&&U.delete(t),t.shadowRoot&&U.has(t.shadowRoot)&&U.delete(t.shadowRoot)})(this),n&&n.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 M.call(this,e)}}),Object.defineProperty(t,"is",{value:e.v,configurable:!0}),Qt(t,e,3)}catch(i){return d(i),t}},ii=(t,i,e)=>{e&&b.document&&e.map((([e,o,n])=>{const s=oi(b.document,t,e),a=ei(i,n),r=ni(e);y.ael(s,o,a,r),(i.Z=i.Z||[]).push((()=>y.rel(s,o,a,r)))}))},ei=(t,i)=>e=>{try{t.$hostElement$[i](e)}catch(i){d(i,t.$hostElement$)}},oi=(t,i,e)=>4&e?t:8&e?b:i,ni=t=>({passive:!!(1&t),capture:!!(2&t)}),si=t=>y.u=t,ai=t=>Object.assign(y,t);function ri(t,i){Ft({i:{l:0,v:i.tagName},$hostElement$:i},t)}function li(t){return t}export{w as H,G as a,dt as c,pt as g,C as getAssetPath,J as h,ti as p,ri as render,E as setAssetPath,si as setNonce,ai as setPlatformOptions,li 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)}post-breadcrumb-item:not([variant=menuitem])>a{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-size:var(--post-device-font-size-6);font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;font:inherit;padding:unset;border:unset;border-radius:var(--post-device-border-radius-focus);color:var(--post-scheme-color-interactive-primary-enabled-fg1);text-decoration:var(--post-core-text-decoration-none)}post-breadcrumb-item:not([variant=menuitem])>a:not(:disabled):hover{text-decoration:none}post-breadcrumb-item:not([variant=menuitem])>a:disabled{border-style:var(--post-core-border-style-dash);cursor:unset}post-breadcrumb-item:not([variant=menuitem])>a{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-breadcrumb-item:not([variant=menuitem])>a: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-breadcrumb-item:not([variant=menuitem])>a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-breadcrumb-item:not([variant=menuitem])>a: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-breadcrumb-item:not([variant=menuitem])>a: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-breadcrumb-item:not([variant=menuitem])>a{border-width:1px !important;transition:none}post-breadcrumb-item:not([variant=menuitem])>a:is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}post-breadcrumb-item:not([variant=menuitem])>a:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1);text-decoration:var(--post-core-text-decoration-underline)}post-breadcrumb-item[selected]:not([selected=false])>a{color:var(--post-scheme-color-interactive-primary-selected-fg1);font-weight:var(--post-device-font-weight-bold);text-decoration:var(--post-core-text-decoration-none)}post-breadcrumb-item:not([variant=menuitem])[standalone]:not([standalone=false])>a{white-space:normal;overflow:visible;text-overflow:unset;overflow-wrap:anywhere;hyphens:auto;line-break:strict}post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a{position:relative;display:flex;align-items:center;padding:8px 12px 8px 16px;gap:12px;font-size:.875rem;color:#050400;border-radius:0;text-decoration:none}@media screen and (min-width: 780px){post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a{font-size:1rem;padding-block:12px;gap:16px}}@media screen and (min-width: 1024px){post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a{font-size:1.25rem;padding-block:13px}}post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a:focus-visible{outline-offset:2px !important;border-radius:4px}post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a:hover{background-color:#504f4b;color:#fff}post-breadcrumbs>a[slot=home]{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-size:var(--post-device-font-size-6);font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;font:inherit;padding:unset;border:unset;border-radius:var(--post-device-border-radius-focus);color:var(--post-scheme-color-interactive-primary-enabled-fg1);text-decoration:var(--post-core-text-decoration-none)}post-breadcrumbs>a[slot=home]:not(:disabled):hover{text-decoration:none}post-breadcrumbs>a[slot=home]:disabled{border-style:var(--post-core-border-style-dash);cursor:unset}post-breadcrumbs>a[slot=home]{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-breadcrumbs>a[slot=home]: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-breadcrumbs>a[slot=home]:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-breadcrumbs>a[slot=home]: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-breadcrumbs>a[slot=home]: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-breadcrumbs>a[slot=home]{border-width:1px !important;transition:none}post-breadcrumbs>a[slot=home]:is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}post-breadcrumbs>a[slot=home]:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1);text-decoration:var(--post-core-text-decoration-underline)}post-breadcrumbs.home-collapsed>a[slot=home]{position:relative;display:flex;align-items:center;padding:8px 12px 8px 16px;gap:12px;font-size:.875rem;color:#050400;border-radius:0;text-decoration:none;justify-content:flex-start;min-width:0;width:100%;white-space:normal;overflow:visible;text-overflow:unset;overflow-wrap:anywhere;hyphens:auto;line-break:strict}@media screen and (min-width: 780px){post-breadcrumbs.home-collapsed>a[slot=home]{font-size:1rem;padding-block:12px;gap:16px}}@media screen and (min-width: 1024px){post-breadcrumbs.home-collapsed>a[slot=home]{font-size:1.25rem;padding-block:13px}}post-breadcrumbs.home-collapsed>a[slot=home]:focus-visible{outline-offset:2px !important;border-radius:4px}post-breadcrumbs.home-collapsed>a[slot=home]:hover{background-color:#504f4b;color:#fff}post-breadcrumbs>a[slot=home] post-icon{width:var(--post-device-sizing-interactive-icon-size2);height:var(--post-device-sizing-interactive-icon-size2)}.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}@media screen and (min-width: 1024px){.main-container{margin-inline-start:var(--post-core-dimension-296)}}post-side-navigation{--post-side-nav-height:100vh;--post-side-nav-heading-p-block-start:var(--post-device-spacing-padding-53);--post-side-nav-heading-p-block-end:var(--post-device-spacing-padding-32);--post-side-nav-heading-p-inline:var(--post-device-spacing-padding-5);--post-side-nav-heading-font-size:var(--post-device-font-size-7);--post-side-nav-btn-icon-size:var(--post-device-sizing-interactive-icon-size8);--post-side-nav-btn-p-inline:var(--post-device-spacing-padding-5);--post-side-nav-btn-p-block-start:var(--post-device-spacing-padding-49);--post-side-nav-btn-p-block-end:var(--post-device-spacing-padding-50);--post-side-nav-item-gap:var(--post-device-spacing-gap-11);--post-side-nav-item-font-size:var(--post-device-font-size-6);--post-side-nav-item-divider-p-block-start:var(--post-device-spacing-padding-51);--post-side-nav-item-divider-p-block-end:var(--post-device-spacing-padding-52);--post-side-nav-item-p-block-start:var(--post-device-spacing-padding-51);--post-side-nav-item-p-block-end:var(--post-device-spacing-padding-52);--post-side-nav-item-p-inline-end:var(--post-device-spacing-padding-5);--post-side-nav-icon-size:var(--post-device-sizing-interactive-icon-size8);--post-side-nav-icon-p-block-start:var(--post-device-spacing-padding-54)}post-side-navigation ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-device-spacing-padding-5);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-device-spacing-padding-5)}post-side-navigation ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-device-spacing-padding-55);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-device-spacing-padding-6)}post-side-navigation ul ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-device-spacing-padding-56);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-core-dimension-48)}post-side-navigation ul ul ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-device-spacing-padding-57);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-core-dimension-64)}@media screen and (min-width: 1024px){post-side-navigation{position:fixed;top:calc(var(--post-header-height)/2);padding-block-start:calc(var(--post-header-height)/2);width:var(--post-core-dimension-296);--post-side-nav-height:calc(100vh - var(--post-header-height))}}post-side-navigation[size=small]{--post-side-nav-heading-p-block-start:var(--post-core-dimension-15);--post-side-nav-heading-p-block-end:var(--post-device-spacing-padding-32);--post-side-nav-heading-p-inline:var(--post-device-spacing-padding-inline-4);--post-side-nav-heading-font-size:var(--post-device-font-size-9);--post-side-nav-btn-icon-size:var(--post-device-sizing-interactive-icon-size4);--post-side-nav-btn-p-inline:var(--post-device-spacing-padding-inline-4);--post-side-nav-btn-p-block-start:var(--post-device-spacing-padding-inline-4);--post-side-nav-btn-p-block-end:var(--post-device-spacing-padding-42);--post-side-nav-item-gap:var(--post-device-spacing-gap-8);--post-side-nav-item-font-size:var(--post-device-font-size-7);--post-side-nav-item-divider-p-block-start:var(--post-device-spacing-padding-58);--post-side-nav-item-divider-p-block-end:var(--post-device-spacing-padding-59);--post-side-nav-item-p-block-start:var(--post-device-spacing-padding-58);--post-side-nav-item-p-block-end:var(--post-device-spacing-padding-59);--post-side-nav-item-p-inline-end:var(--post-device-spacing-padding-inline-4);--post-side-nav-icon-size:var(--post-device-sizing-interactive-icon-size4);--post-side-nav-icon-p-block-start:var(--post-device-spacing-padding-41)}post-side-navigation[size=small] ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-device-spacing-padding-inline-4);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-device-spacing-padding-inline-4)}post-side-navigation[size=small] ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-core-dimension-48);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-device-spacing-padding-31)}post-side-navigation[size=small] ul ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-core-dimension-60);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-core-dimension-36)}post-side-navigation[size=small] ul ul ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-core-dimension-72);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-core-dimension-48)}post-side-navigation nav{width:100%;padding-block:var(--post-device-spacing-padding-48) var(--post-device-spacing-padding-5);height:var(--post-side-nav-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-nav-heading-p-block-start) var(--post-side-nav-heading-p-inline) var(--post-side-nav-heading-p-block-end);font-size:var(--post-side-nav-heading-font-size);font-weight:var(--post-device-font-weight-bold);line-height:var(--post-core-line-height-150);color:var(--post-scheme-color-interactive-primary-enabled-fg2);border-block-end:var(--post-device-border-width-alternative1) solid var(--post-scheme-color-interactive-primary-enabled-stroke)}post-side-navigation>ul>li>.post-side-navigation-item{font-weight:var(--post-device-font-weight-bold)}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-scheme-color-interactive-primary-selected-bg4);color:var(--post-scheme-color-interactive-primary-selected-fg3)}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:var(--post-side-nav-el-non-iconic-padding-inline-start)}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:var(--post-side-nav-el-iconic-padding-inline-start)}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-nav-icon-size)}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-nav-icon-size)}.post-side-navigation-item{display:flex;padding-block:var(--post-side-nav-item-p-block-start) var(--post-side-nav-item-p-block-end);gap:var(--post-side-nav-item-gap);width:100%;min-width:0;margin:0;padding-inline-start:var(--post-side-nav-el-non-iconic-padding-inline-start);padding-inline-end:var(--post-side-nav-item-p-inline-end);line-height:var(--post-core-line-height-150);font-size:var(--post-side-nav-item-font-size);box-sizing:border-box;border:0;border-block-end:var(--post-device-border-width-alternative1) solid var(--post-scheme-color-interactive-primary-enabled-stroke);border-radius:0;background-color:rgba(0,0,0,0);color:var(--post-scheme-color-interactive-primary-enabled-fg1);text-align:start;text-decoration:none;appearance:none;overflow-wrap:anywhere;hyphens:auto;line-break:strict}.post-side-navigation-item:has(a):has(button){gap:0;align-items:stretch;padding:0}.post-side-navigation-item:has(a):has(button) a{flex:1 1 auto;text-decoration:none;display:flex;padding-block:var(--post-side-nav-item-p-block-start) var(--post-side-nav-item-p-block-end);line-height:var(--post-core-line-height-150);gap:var(--post-side-nav-item-gap);border-radius:0;padding-inline-end:var(--post-side-nav-item-p-inline-end)}.post-side-navigation-item:has(a):has(button) button{padding:var(--post-side-nav-btn-p-block-start) var(--post-side-nav-btn-p-inline) var(--post-side-nav-btn-p-block-end);display:flex;border:0;background:rgba(0,0,0,0);cursor:pointer;position:relative;margin-left:var(--post-device-border-width-alternative1);color:var(--post-scheme-color-interactive-primary-enabled-fg1)}.post-side-navigation-item:has(a):has(button) button post-icon{width:var(--post-side-nav-btn-icon-size);height:var(--post-side-nav-btn-icon-size);transform-origin:unset !important;margin-block:0 !important}.post-side-navigation-item:has(a):has(button) button::before{content:"";position:absolute;top:var(--post-side-nav-item-divider-p-block-start);height:calc(100% - var(--post-side-nav-item-divider-p-block-start) - var(--post-side-nav-item-divider-p-block-end));width:var(--post-device-border-width-alternative1);background:var(--post-scheme-color-interactive-primary-enabled-stroke4);left:calc(var(--post-device-border-width-alternative1) * -1)}.post-side-navigation-item:has(a):has(button) button:hover{background-color:var(--post-scheme-color-interactive-primary-hover-bg2);color:var(--post-scheme-color-interactive-primary-hover-fg3)}.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-scheme-color-interactive-primary-enabled-fg1);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{content:"";position:absolute;pointer-events:none;border:var(--post-device-border-width-focus) solid rgba(0,0,0,0);border-radius:var(--post-device-border-radius-focus);width:calc(100% - var(--post-core-dimension-3)*2);height:calc(100% - var(--post-core-dimension-3)*2);top:var(--post-core-dimension-3);left:var(--post-core-dimension-3)}.post-side-navigation-item:where(a,button):hover,.post-side-navigation-item:has(a):has(button) a:hover{background-color:var(--post-scheme-color-interactive-primary-hover-bg2);color:var(--post-scheme-color-interactive-primary-hover-fg3)}.post-side-navigation-item:where(a,button)::after{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-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:Highlight !important}}}.post-side-navigation-item:where(a,button)[aria-current=page]::after{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-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}}.post-side-navigation-item:where(a,button){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-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) a::after{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-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) a[aria-current=page]::after{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-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}@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{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) a{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-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) button::after{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-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) button[aria-current=page]::after{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-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}@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{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) button{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-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.post-side-navigation-item post-icon{flex:none;width:var(--post-side-nav-icon-size);height:var(--post-side-nav-icon-size);color:inherit;margin-block-start:var(--post-side-nav-icon-p-block-start)}.post-side-navigation-item post-icon[name=chevrondown]{transform-origin:50% calc(50% + var(--post-side-nav-icon-p-block-start)/2);margin-inline-start:auto;margin-block-start:var(--post-side-nav-icon-p-block-start);transform:var(--post-side-navigation-chevron-initial-transform, none)}.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);margin-block-start:0;margin-block-end:var(--post-side-nav-icon-p-block-start)}.post-side-navigation-item[aria-expanded=false] post-icon[name=chevrondown],.post-side-navigation-item [aria-expanded=false] post-icon[name=chevrondown]{transform:none}post-collapsible-trigger[data-hydrated] .post-side-navigation-item post-icon[name=chevrondown]{transition:transform .2s ease}post-collapsible-trigger:not(:has(>post-collapsible[collapsed]))>.post-side-navigation-item post-icon[name=chevrondown]{--post-side-navigation-chevron-initial-transform:rotate(180deg)}nav>ul>li>.post-side-navigation-item,nav>ul>li>post-collapsible-trigger>.post-side-navigation-item{font-weight:var(--post-device-font-weight-bold)}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-scheme-color-interactive-primary-enabled-stroke4)}post-listbox [slot=blank-slate]{display:none;padding:.75rem;color:#666}post-listbox:not(:has(post-listbox-option:not([hidden]))) [slot=blank-slate]{display:block}';var e=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(e||{}),o=(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))(o||{}),i="type",n="value",s="serialized:";function a(t,e,o){const i="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==i;){const i=Object.getOwnPropertyDescriptor(t,e);if(i&&(!o||i.get))return i;t=Object.getPrototypeOf(t)}}var r,c=(t,e)=>{var o;Object.entries(null!=(o=e.o.t)?o:{}).map((([o,[i]])=>{if(31&i||32&i){const i=t[o],n=a(Object.getPrototypeOf(t),o,!0)||Object.getOwnPropertyDescriptor(t,o);n&&Object.defineProperty(t,o,{get(){return n.get.call(this)},set(t){n.set.call(this,t)},configurable:!0,enumerable:!0}),e.i.has(o)?t[o]=e.i.get(o):void 0!==i&&(t[o]=i)}}))},l=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},d=(t,e)=>e in t,p=(t,e)=>(0,console.error)(t,e),v=new Map,u="s-id",f="sty-id",h="c-id",m="http://www.w3.org/1999/xlink",b=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],g="undefined"!=typeof window?window:{},w=g.HTMLElement||class{},y={l:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,o,i)=>t.addEventListener(e,o,i),rel:(t,e,o,i)=>t.removeEventListener(e,o,i),ce:(t,e)=>new CustomEvent(t,e)},k=(()=>{try{return!!g.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),$=!!k&&(()=>!!g.document&&Object.getOwnPropertyDescriptor(g.document.adoptedStyleSheets,"length").writable)(),x=!1,z=[],j=[],O=(t,e)=>o=>{t.push(o),x||(x=!0,e&&4&y.l?N(H):y.raf(H))},S=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){p(t)}t.length=0},H=()=>{S(z),S(j),(x=z.length>0)&&y.raf(H)},N=t=>Promise.resolve(void 0).then(t),C=O(j,!0),E=t=>{const e=new URL(t,y.p);return e.origin!==g.location.origin?e.href:e.pathname},M=t=>y.p=t;function A(){var e;const o=this.attachShadow({mode:"open"});if(void 0===r&&(r=null!=(e=function(t){if(!k)return;const e=new CSSStyleSheet;return e.replaceSync(t),e}(t))?e:null),r)$?o.adoptedStyleSheets.push(r):o.adoptedStyleSheets=[...o.adoptedStyleSheets,r];else if(!k){const e=document.createElement("style");e.innerHTML=t,o.prepend(e)}}var B=t=>{const e=T(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&I(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!L(t,F(t),!1).length)}));let o=0;for(o=0;o<e.length;o++){const t=e[o];1===t.nodeType&&T(t,"childNodes").length&&B(t)}};function I(t,e,o){let i,n=0,s=[];for(;n<t.length;n++){if(i=t[n],i["s-sr"]&&(!e||i["s-hn"]===e)&&(void 0===o||F(i)===o)&&(s.push(i),void 0!==o))return s;s=[...s,...I(i.childNodes,e,o)]}return s}var L=(t,e,o=!0)=>{const i=[];(o&&t["s-sr"]||!t["s-sr"])&&i.push(t);let n=t;for(;n=n.nextSibling;)F(n)!==e||!o&&n["s-sr"]||i.push(n);return i},R=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,_=(t,e,o,i)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const n=document.createTextNode("");if(n["s-nr"]=t,!e["s-cr"]||!e["s-cr"].parentNode)return;const s=e["s-cr"].parentNode,a=T(s,"appendChild");if(void 0!==i){n["s-oo"]=i;const t=T(s,"childNodes"),e=[n];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>a.call(s,t)))}else a.call(s,n);t["s-ol"]=n,t["s-sh"]=e["s-hn"]},F=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function D(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const o=[],i=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 n=this["s-cr"].parentElement;return(n.__childNodes?n.childNodes:(t=>{const e=[];for(let o=0;o<t.length;o++){const i=t[o]["s-nr"]||void 0;i&&i.isConnected&&e.push(i)}return e})(n.childNodes)).forEach((t=>{i===F(t)&&o.push(t)})),e?o.filter((t=>1===t.nodeType)):o}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function T(t,e){if("__"+e in t){const o=t["__"+e];return"function"!=typeof o?o:o.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var U=new WeakMap,V=(t,e,o)=>{let i=v.get(t);k&&o?(i=i||new CSSStyleSheet,"string"==typeof i?i=e:i.replaceSync(e)):i=e,v.set(t,i)},P=(t,e)=>{var o,i,n;const s=W(e),a=v.get(s);if(!g.document)return s;if(t=11===t.nodeType?t:g.document,a)if("string"==typeof a){let n,r=U.get(t=t.head||t);r||U.set(t,r=new Set);const c=t.querySelector(`[${f}="${s}"]`);if(c)c.textContent=a;else if(!r.has(s)){n=g.document.createElement("style"),n.textContent=a;const c=null!=(o=y.v)?o:function(){var t,e,o;return null!=(o=null==(e=null==(t=g.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}();if(null!=c&&n.setAttribute("nonce",c),!(1&e.l))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),o=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(n,(null==o?void 0:o.parentNode)===t?o:null)}else if("host"in t)if(k){const e=new(null!=(i=t.defaultView)?i:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(a),$?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=a+e.textContent:t.prepend(n)}else t.append(n);1&e.l&&t.insertBefore(n,null),4&e.l&&(n.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),r&&r.add(s)}}else{let e=U.get(t);if(e||U.set(t,e=new Set),!e.has(s)){const o=null!=(n=t.defaultView)?n:t.ownerDocument.defaultView;let i;if(a.constructor===o.CSSStyleSheet)i=a;else{i=new o.CSSStyleSheet;for(let t=0;t<a.cssRules.length;t++)i.insertRule(a.cssRules[t].cssText,t)}if($?t.adoptedStyleSheets.push(i):t.adoptedStyleSheets=[...t.adoptedStyleSheets,i],e.add(s),"host"in t){const e=t.querySelector(`[${f}="${s}"]`);e&&C((()=>e.remove()))}}}return s},W=t=>"sc-"+t.u,q=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Y=t=>"object"==(t=typeof t)||"function"===t,J=(t,e,...o)=>{let i=null,n=null,s=null,a=!1,r=!1;const c=[],l=e=>{for(let o=0;o<e.length;o++)i=e[o],Array.isArray(i)?l(i):null!=i&&"boolean"!=typeof i&&((a="function"!=typeof t&&!Y(i))&&(i+=""),a&&r?c[c.length-1].h+=i:c.push(a?Z(null,i):i),r=a)};if(l(o),e){e.key&&(n=e.key),e.name&&(s=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,K);const d=Z(t,null);return d.m=e,c.length>0&&(d.k=c),d.$=n,d.j=s,d},Z=(t,e)=>({l:0,O:t,h:null!=e?e:null,S:null,k:null,m:null,$:null,j:null}),G={},K={forEach:(t,e)=>t.map(Q).forEach(e),map:(t,e)=>t.map(Q).map(e).map(X)},Q=t=>({vattrs:t.m,vchildren:t.k,vkey:t.$,vname:t.j,vtag:t.O,vtext:t.h}),X=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),J(t.vtag,e,...t.vchildren||[])}const e=Z(t.vtag,t.vtext);return e.m=t.vattrs,e.k=t.vchildren,e.$=t.vkey,e.j=t.vname,e},tt=(t,e,o,i,n,s,a,r=[])=>{let c,l,d,p;if(1===s.nodeType){if(c=s.getAttribute(h),c&&(l=c.split("."),l[0]===a||"0"===l[0])){d=ot({l:0,H:l[0],N:l[1],C:l[2],M:l[3],O:s.tagName.toLowerCase(),S:s,m:{class:s.className||""}}),e.push(d),s.removeAttribute(h),t.k||(t.k=[]);const n=d.S.getAttribute("s-sn");"string"==typeof n&&("slot-fb"===d.O&&it(n,l[2],d,s,t,e,o,i,r),d.S["s-sn"]=n,d.S.removeAttribute("s-sn")),void 0!==d.M&&(t.k[d.M]=d),t=d,i&&"0"===d.C&&(i[d.M]=d.S)}if(s.shadowRoot)for(p=s.shadowRoot.childNodes.length-1;p>=0;p--)tt(t,e,o,i,n,s.shadowRoot.childNodes[p],a,r);const v=s.__childNodes||s.childNodes;for(p=v.length-1;p>=0;p--)tt(t,e,o,i,n,v[p],a,r)}else if(8===s.nodeType)l=s.nodeValue.split("."),(l[1]===a||"0"===l[1])&&(c=l[0],d=ot({H:l[1],N:l[2],C:l[3],M:l[4]||"0",S:s,m:null,k:null,$:null,j:null,O:null,h:null}),"t"===c?(d.S=rt(s,3),d.S&&3===d.S.nodeType&&(d.h=d.S.textContent,e.push(d),s.remove(),a===d.H&&(t.k||(t.k=[]),t.k[d.M]=d),i&&"0"===d.C&&(i[d.M]=d.S))):"c"===c?(d.S=rt(s,8),d.S&&8===d.S.nodeType&&(e.push(d),s.remove())):d.H===a&&("s"===c?it(s["s-sn"]=l[5]||"",l[2],d,s,t,e,o,i,r):"r"===c&&(i?s.remove():(n["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.O){const e=Z(null,s.textContent);e.S=s,e.M="0",t.k=[e]}return t},et=(t,e)=>{if(1===t.nodeType){const o=t[u]||t.getAttribute(u);o&&e.set(o,t);let i=0;if(t.shadowRoot)for(;i<t.shadowRoot.childNodes.length;i++)et(t.shadowRoot.childNodes[i],e);const n=t.__childNodes||t.childNodes;for(i=0;i<n.length;i++)et(n[i],e)}else if(8===t.nodeType){const o=t.nodeValue.split(".");"o"===o[0]&&(e.set(o[1]+"."+o[2],t),t.nodeValue="",t["s-en"]=o[3])}},ot=t=>({l:0,H:null,N:null,C:null,M:"0",S:null,m:null,k:null,$:null,j:null,O:null,h:null,...t});function it(t,e,o,i,n,s,a,r,c){i["s-sr"]=!0,o.j=t||null,o.O="slot";const l=(null==n?void 0:n.S)?n.S["s-id"]||n.S.getAttribute("s-id"):"";if(r&&g.document){const s=o.S=g.document.createElement(o.O);o.j&&o.S.setAttribute("name",t),n.S.shadowRoot&&l&&l!==o.H?T(n.S,"insertBefore")(s,T(n.S,"children")[0]):T(T(i,"parentNode"),"insertBefore")(s,i),at(c,e,t,i,o.H),i.remove(),"0"===o.C&&(r[o.M]=o.S)}else{const s=o.S,a=l&&l!==o.H&&n.S.shadowRoot;at(c,e,t,i,a?l:o.H),D(i),a&&n.S.insertBefore(s,n.S.children[0])}s.push(o),a.push(o),n.k||(n.k=[]),n.k[o.M]=o}var nt,st,at=(t,e,o,i,n)=>{var s,a;let r=i.nextSibling;if(t[e]=t[e]||[],r&&!(null==(s=r.nodeValue)?void 0:s.startsWith("s.")))do{!r||(r.getAttribute&&r.getAttribute("slot")||r["s-sn"])!==o&&(""!==o||r["s-sn"]||r.getAttribute&&r.getAttribute("slot")||8!==r.nodeType&&3!==r.nodeType)||(r["s-sn"]=o,t[e].push({slot:i,node:r,hostId:n})),r=null==r?void 0:r.nextSibling}while(r&&!(null==(a=r.nodeValue)?void 0:a.startsWith("s.")))},rt=(t,e)=>{let o=t;do{o=o.nextSibling}while(o&&(o.nodeType!==e||!o.nodeValue));return o},ct=class t{static fromLocalValue(e){const o=e[i],s=n in e?e[n]:void 0;switch(o){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((e=>t.fromLocalValue(e)));case"date":return new Date(s);case"map":const e=new Map;for(const[o,i]of s){const n="object"==typeof o&&null!==o?t.fromLocalValue(o):o,s=t.fromLocalValue(i);e.set(n,s)}return e;case"object":const i={};for(const[e,o]of s)i[e]=t.fromLocalValue(o);return i;case"regexp":const{pattern:n,flags:a}=s;return RegExp(n,a);case"set":const r=new Set;for(const e of s)r.add(t.fromLocalValue(e));return r;case"symbol":return Symbol(s);default:throw Error("Unsupported type: "+o)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(i))return!1;const s=t[i];return!!Object.values({...e,...o}).includes(s)&&("null"===s||"undefined"===s||t.hasOwnProperty(n))}},lt=(t,e,o)=>"string"==typeof t&&t.startsWith(s)?t=function(t){return"string"==typeof t&&t.startsWith(s)?ct.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||Y(t)?t:4&e?(o&&"string"==typeof t||"false"!==t)&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t,dt=t=>t,pt=(t,e)=>{const o=t;return{emit:t=>vt(o,e,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},vt=(t,e,o)=>{const i=y.ce(e,o);return t.dispatchEvent(i),i},ut=(t,e,o,i,n,s,a)=>{if(o===i)return;let r=d(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,n=ht(o);let s=ht(i);if((t["s-si"]||t["s-sc"])&&a){const o=t["s-sc"]||t["s-si"];s.push(o),n.forEach((t=>{t.startsWith(o)&&s.push(t)})),s=[...new Set(s)].filter((t=>t)),e.add(...s)}else e.remove(...n.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!n.includes(t))))}else if("style"===e){for(const e in o)i&&null!=i[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in i)o&&i[e]===o[e]||(e.includes("-")?t.style.setProperty(e,i[e]):t.style[e]=i[e])}else if("key"===e);else if("ref"===e)i&&Rt(i,t);else if(t.__lookupSetter__(e)||"o"!==e[0]||"n"!==e[1]){if("a"===e[0]&&e.startsWith("attr:")){const o=e.slice(5);let n;{const e=l(t);if(e&&e.o&&e.o.t){const t=e.o.t[o];t&&t[1]&&(n=t[1])}}return n||(n=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==i||!1===i?!1===i&&""!==t.getAttribute(n)||t.removeAttribute(n):t.setAttribute(n,!0===i?"":i))}if("p"===e[0]&&e.startsWith("prop:")){const o=e.slice(5);try{t[o]=i}catch(t){}return}{const a=Y(i);if((r||a&&null!==i)&&!n)try{if(t.tagName.includes("-"))t[e]!==i&&(t[e]=i);else{const n=null==i?"":i;"list"===e?r=!1:null!=o&&t[e]===n||("function"==typeof t.__lookupSetter__(e)?t[e]=n:t.setAttribute(e,n))}}catch(t){}let l=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,l=!0),null==i||!1===i?!1===i&&""!==t.getAttribute(e)||(l?t.removeAttributeNS(m,e):t.removeAttribute(e)):(!r||4&s||n)&&!a&&1===t.nodeType&&(i=!0===i?"":i,l?t.setAttributeNS(m,e,i):t.setAttribute(e,i))}}else if(e="-"===e[2]?e.slice(3):d(g,c)?c.slice(2):c[2]+e.slice(3),o||i){const n=e.endsWith(mt);e=e.replace(bt,""),o&&y.rel(t,e,o,n),i&&y.ael(t,e,i,n)}},ft=/\s/,ht=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(ft):[]),mt="Capture",bt=RegExp(mt+"$"),gt=(t,e,o,i)=>{const n=11===e.S.nodeType&&e.S.host?e.S.host:e.S,s=t&&t.m||{},a=e.m||{};for(const t of wt(Object.keys(s)))t in a||ut(n,t,s[t],void 0,o,e.l,i);for(const t of wt(Object.keys(a)))ut(n,t,s[t],a[t],o,e.l,i)};function wt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var yt=!1,kt=!1,$t=!1,xt=!1,zt=[],jt=[],Ot=(t,e,o)=>{var i;const n=e.k[o];let s,a,r,c=0;if(yt||($t=!0,"slot"===n.O&&(n.l|=n.k?2:1)),null!=n.h)s=n.S=g.document.createTextNode(n.h);else if(1&n.l)s=n.S=g.document.createTextNode(""),gt(null,n,xt);else{if(xt||(xt="svg"===n.O),!g.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=n.S=g.document.createElementNS(xt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!yt&&2&n.l?"slot-fb":n.O),xt&&"foreignObject"===n.O&&(xt=!1),gt(null,n,xt),n.k){const e="template"===n.O?s.content:s;for(c=0;c<n.k.length;++c)a=Ot(t,n,c),a&&e.appendChild(a)}"svg"===n.O?xt=!1:"foreignObject"===s.tagName&&(xt=!0)}return s["s-hn"]=st,3&n.l&&(s["s-sr"]=!0,s["s-cr"]=nt,s["s-sn"]=n.j||"",s["s-rf"]=null==(i=n.m)?void 0:i.ref,D(s),r=t&&t.k&&t.k[o],r&&r.O===n.O&&t.S&&St(t.S)),s},St=t=>{y.l|=1;const e=t.closest(st.toLowerCase());if(null!=e){const o=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),i=Array.from(t.__childNodes||t.childNodes);for(const t of o?i.reverse():i)null!=t["s-sh"]&&(_t(e,t,null!=o?o:null),t["s-sh"]=void 0,$t=!0)}y.l&=-2},Ht=(t,e)=>{y.l|=1;const o=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===st&&o.push(e)}for(let t=o.length-1;t>=0;t--){const i=o[t];i["s-hn"]!==st&&i["s-ol"]&&(_t(Mt(i).parentNode,i,Mt(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,$t=!0),e&&Ht(i,e)}y.l&=-2},Nt=(t,e,o,i,n,s)=>{let a,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===st&&(r=r.shadowRoot),"template"===o.O&&(r=r.content);n<=s;++n)i[n]&&(a=Ot(null,o,n),a&&(i[n].S=a,_t(r,a,Mt(e))))},Ct=(t,e,o)=>{for(let i=e;i<=o;++i){const e=t[i];if(e){const t=e.S;Lt(e),t&&(kt=!0,t["s-ol"]?t["s-ol"].remove():Ht(t,!0),t.remove())}}},Et=(t,e,o=!1)=>t.O===e.O&&("slot"===t.O?t.j===e.j:o?(o&&!t.$&&e.$&&(t.$=e.$),!0):t.$===e.$),Mt=t=>t&&t["s-ol"]||t,At=(t,e,o=!1)=>{const i=e.S=t.S,n=t.k,s=e.k,a=e.O,r=e.h;let c;null==r?(xt="svg"===a||"foreignObject"!==a&&xt,"slot"!==a||yt||t.j!==e.j&&(e.S["s-sn"]=e.j||"",St(e.S.parentElement)),gt(t,e,xt,o),null!==n&&null!==s?((t,e,o,i,n=!1)=>{let s,a,r=0,c=0,l=0,d=0,p=e.length-1,v=e[0],u=e[p],f=i.length-1,h=i[0],m=i[f];const b="template"===o.O?t.content:t;for(;r<=p&&c<=f;)if(null==v)v=e[++r];else if(null==u)u=e[--p];else if(null==h)h=i[++c];else if(null==m)m=i[--f];else if(Et(v,h,n))At(v,h,n),v=e[++r],h=i[++c];else if(Et(u,m,n))At(u,m,n),u=e[--p],m=i[--f];else if(Et(v,m,n))"slot"!==v.O&&"slot"!==m.O||Ht(v.S.parentNode,!1),At(v,m,n),_t(b,v.S,u.S.nextSibling),v=e[++r],m=i[--f];else if(Et(u,h,n))"slot"!==v.O&&"slot"!==m.O||Ht(u.S.parentNode,!1),At(u,h,n),_t(b,u.S,v.S),u=e[--p],h=i[++c];else{for(l=-1,d=r;d<=p;++d)if(e[d]&&null!==e[d].$&&e[d].$===h.$){l=d;break}l>=0?(a=e[l],a.O!==h.O?s=Ot(e&&e[c],o,l):(At(a,h,n),e[l]=void 0,s=a.S),h=i[++c]):(s=Ot(e&&e[c],o,c),h=i[++c]),s&&_t(Mt(v.S).parentNode,s,Mt(v.S))}r>p?Nt(t,null==i[f+1]?null:i[f+1].S,o,i,c,f):c>f&&Ct(e,r,p)})(i,n,e,s,o):null!==s?(null!==t.h&&(i.textContent=""),Nt(i,null,e,s,0,s.length-1)):o||null===n?o&&null!==n&&null===s&&(e.k=n):Ct(n,0,n.length-1),xt&&"svg"===a&&(xt=!1)):(c=i["s-cr"])?c.parentNode.textContent=r:t.h!==r&&(i.data=r)},Bt=[],It=t=>{let e,o,i;const n=t.__childNodes||t.childNodes;for(const t of n){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){o=e.parentNode.__childNodes||e.parentNode.childNodes;const n=t["s-sn"];for(i=o.length-1;i>=0;i--)if(e=o[i],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===t["s-hn"]||e["s-sh"]&&e["s-sh"]===t["s-hn"]))if(R(e,n)){let o=Bt.find((t=>t.A===e));kt=!0,e["s-sn"]=e["s-sn"]||n,o?(o.A["s-sh"]=t["s-hn"],o.B=t):(e["s-sh"]=t["s-hn"],Bt.push({B:t,A:e})),e["s-sr"]&&Bt.map((t=>{R(t.A,e["s-sn"])&&(o=Bt.find((t=>t.A===e)),o&&!t.B&&(t.B=o.B))}))}else Bt.some((t=>t.A===e))||Bt.push({A:e})}1===t.nodeType&&It(t)}},Lt=t=>{t.m&&t.m.ref&&zt.push((()=>t.m.ref(null))),t.k&&t.k.map(Lt)},Rt=(t,e)=>{jt.push((()=>t(e)))},_t=(t,e,o,i)=>{if("string"==typeof e["s-sn"]){t.insertBefore(e,o);const{slotNode:n}=function(t,e){var o;if(!(e=e||(null==(o=t["s-ol"])?void 0:o.parentElement)))return{slotNode:null,slotName:""};const i=t["s-sn"]=F(t)||"";return{slotNode:I(T(e,"childNodes"),e.tagName,i)[0],slotName:i}}(e);return n&&!i&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(n),e}return t.__insertBefore?t.__insertBefore(e,o):null==t?void 0:t.insertBefore(e,o)},Ft=(t,e,o=!1)=>{var i,n,s,a,r;const c=t.$hostElement$,l=t.o,d=t.I||Z(null,null),p=(t=>t&&t.O===G)(e)?e:J(null,null,e);if(st=c.tagName,l.L&&(p.m=p.m||{},l.L.forEach((([t,e])=>{p.m[e]=c[t]}))),o&&p.m)for(const t of Object.keys(p.m))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(p.m[t]=c[t]);if(p.O=null,p.l|=4,t.I=p,p.S=d.S=c.shadowRoot||c,yt=!(!(1&l.l)||128&l.l),nt=c["s-cr"],kt=!1,At(d,p,o),y.l|=1,$t){It(p.S);for(const t of Bt){const e=t.A;if(!e["s-ol"]&&g.document){const t=g.document.createTextNode("");t["s-nr"]=e,_t(e.parentNode,e["s-ol"]=t,e,o)}}for(const t of Bt){const e=t.A,r=t.B;if(1===e.nodeType&&o&&(e["s-ih"]=null!=(i=e.hidden)&&i),r){const t=r.parentNode;let i=r.nextSibling;if(i&&1===i.nodeType){let o=null==(n=e["s-ol"])?void 0:n.previousSibling;for(;o;){let n=null!=(s=o["s-nr"])?s:null;if(n&&n["s-sn"]===e["s-sn"]&&t===(n.__parentNode||n.parentNode)){for(n=n.nextSibling;n===e||(null==n?void 0:n["s-sr"]);)n=null==n?void 0:n.nextSibling;if(!n||!n["s-nr"]){i=n;break}}o=o.previousSibling}}if((!i&&t!==(e.__parentNode||e.parentNode)||(e.__nextSibling||e.nextSibling)!==i)&&e!==i){if(_t(t,e,i,o),8===e.nodeType&&e.nodeValue.startsWith("s-nt-")){const t=g.document.createTextNode(e.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=e["s-hn"],t["s-sn"]=e["s-sn"],t["s-sh"]=e["s-sh"],t["s-sr"]=e["s-sr"],t["s-ol"]=e["s-ol"],t["s-ol"]["s-nr"]=t,_t(e.parentNode,t,e,o),e.parentNode.removeChild(e)}1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(a=e["s-ih"])&&a)}e&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===e.nodeType&&(e.hidden=!0)}}if(kt&&B(p.S),y.l&=-2,Bt.length=0,!yt&&!(1&l.l)&&c["s-cr"]){const t=p.S.__childNodes||p.S.childNodes;for(const e of t)if(e["s-hn"]!==st&&!e["s-sh"])if(o&&null==e["s-ih"]&&(e["s-ih"]=null!=(r=e.hidden)&&r),1===e.nodeType)e.hidden=!0;else if(3===e.nodeType&&e.nodeValue.trim()){const t=g.document.createComment("s-nt-"+e.nodeValue);t["s-sn"]=e["s-sn"],_t(e.parentNode,t,e,o),e.parentNode.removeChild(e)}}nt=void 0,zt.forEach((t=>t())),zt.length=0,jt.forEach((t=>t())),jt.length=0},Dt=(t,e)=>{if(e&&!t.R&&e["s-p"]){const o=e["s-p"].push(new Promise((i=>t.R=()=>{e["s-p"].splice(o-1,1),i()})))}},Tt=(t,e)=>{if(t.l|=16,4&t.l)return void(t.l|=512);Dt(t,t._);const o=()=>Ut(t,e);if(!e)return C(o);queueMicrotask((()=>{o()}))},Ut=(t,e)=>{const o=t.$hostElement$,i=o;if(!i)throw Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=Zt(i,e?"componentWillLoad":"componentWillUpdate",void 0,o),n=Vt(n,(()=>Zt(i,"componentWillRender",void 0,o))),Vt(n,(()=>Wt(t,i,e)))},Vt=(t,e)=>Pt(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Pt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Wt=async(t,e,o)=>{var i;const n=t.$hostElement$,s=n["s-rc"];o&&(t=>{const e=t.o,o=t.$hostElement$,i=e.l,n=P(o.shadowRoot?o.shadowRoot:o.getRootNode(),e);10&i&&(o["s-sc"]=n,o.classList.add(n+"-h"))})(t);qt(t,e,n,o),s&&(s.map((t=>t())),n["s-rc"]=void 0);{const e=null!=(i=n["s-p"])?i:[],o=()=>Yt(t);0===e.length?o():(Promise.all(e).then(o).catch(o),t.l|=4,e.length=0)}},qt=(t,e,o,i)=>{try{e=e.render&&e.render(),t.l&=-17,t.l|=2,Ft(t,e,i)}catch(e){p(e,t.$hostElement$)}return null},Yt=t=>{const e=t.$hostElement$,o=e,i=t._;Zt(o,"componentDidRender",void 0,e),64&t.l?Zt(o,"componentDidUpdate",void 0,e):(t.l|=64,Gt(e),Zt(o,"componentDidLoad",void 0,e),t.F(e),i||Jt()),t.R&&(t.R(),t.R=void 0),512&t.l&&N((()=>Tt(t,!1))),t.l&=-517},Jt=()=>{var t;N((()=>vt(g,"appload",{detail:{namespace:"post-components"}}))),(null==(t=y.D)?void 0:t.size)&&y.D.clear()},Zt=(t,e,o,i)=>{if(t&&t[e])try{return t[e](o)}catch(t){p(t,i)}},Gt=t=>t.setAttribute(null!="data-hydrated"?"data-hydrated":"hydrated",""),Kt=(t,e,o,i)=>{const n=l(t);if(!n)return;const s=t,a=n.i.get(e),r=n.l,c=s;if(!((o=lt(o,i.t[e][0],!!(64&i.l)))===a||Number.isNaN(a)&&Number.isNaN(o))){if(n.i.set(e,o),i.T){const t=i.T[e];t&&t.map((t=>{try{const[[i,s]]=Object.entries(t);(128&r||1&s)&&(c?c[i](o,a,e):n.U.push((()=>{n.V[i](o,a,e)})))}catch(t){p(t,s)}}))}if(2&r){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,a,e)&&!(16&r))return;16&r||Tt(n,!1)}}},Qt=(t,e,o)=>{var i,n;const s=t.prototype;64&e.l&&1&o&&b.forEach((t=>{const e=s[t];Object.defineProperty(s,t,{value(...o){var i;const n=l(this),s=this;s?"function"==typeof e&&e.call(s,...o):null==(i=null==n?void 0:n.P)||i.then((e=>{const i=e[t];"function"==typeof i&&i.call(e,...o)}))}})}));{t.watchers&&!e.T&&(e.T=t.watchers),t.deserializers&&!e.W&&(e.W=t.deserializers),t.serializers&&!e.q&&(e.q=t.serializers);const o=Object.entries(null!=(i=e.t)?i:{});o.map((([t,[o]])=>{if(31&o||32&o){const{get:i,set:n}=a(s,t)||{};i&&(e.t[t][0]|=2048),n&&(e.t[t][0]|=4096),Object.defineProperty(s,t,{get(){return i?i.apply(this):((t,e)=>l(this).i.get(e))(0,t)},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(i){const s=l(this);if(s){if(n)return void 0===(32&o?this[t]:s.$hostElement$[t])&&s.i.get(t)&&(i=s.i.get(t)),n.call(this,lt(i,o,!!(64&e.l))),void Kt(this,t,i=32&o?this[t]:s.$hostElement$[t],e);Kt(this,t,i,e)}}})}}));{const i=new Map;s.attributeChangedCallback=function(t,n,a){y.jmp((()=>{var r;const c=i.get(t),d=l(this);if(this.hasOwnProperty(c),s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==a)return;if(null==c){const o=null==d?void 0:d.l;if(d&&o&&!(8&o)&&a!==n){const i=this,s=null==(r=e.T)?void 0:r[t];null==s||s.forEach((e=>{const[[s,r]]=Object.entries(e);null!=i[s]&&(128&o||1&r)&&i[s].call(i,a,n,t)}))}return}const p=o.find((([t])=>t===c));p&&4&p[1][0]&&(a=null!==a&&"false"!==a);const v=Object.getOwnPropertyDescriptor(s,c);a==this[c]||v.get&&!v.set||(this[c]=a)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(n=e.T)?n:{}),...o.filter((([t,e])=>31&e[0])).map((([t,o])=>{var n;const s=o[1]||t;return i.set(s,t),512&o[0]&&(null==(n=e.L)||n.push([t,s])),s}))]))}}return t},Xt=t=>{if(!g.document)return;const e=t["s-cr"]=g.document.createComment("");e["s-cn"]=!0,_t(t,e,t.firstChild)},te=(t,e)=>{const o={l:e[0],u:e[1]};try{o.t=e[2],o.Y=e[3],o.T=t.T,o.W=t.W,o.q=t.q,o.L=[],(()=>{if(!g.document)return;const t=g.document.querySelectorAll(`[${f}]`);let e=0;for(;e<t.length;e++)V(t[e].getAttribute(f),q(t[e].innerHTML),!0)})();const i=t.prototype.connectedCallback,n=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,e)=>{const o={l:0,$hostElement$:t,o:e,i:new Map,J:new Map};o.P=new Promise((t=>o.F=t)),t["s-p"]=[],t["s-rc"]=[];const i=o;t.__stencil__getHostRef=()=>i,512&e.l&&c(t,o)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=l(this);if(!t)return;ee(this,t,o.Y),this.__hasHostListenerAttached=!0}(t=>{if(!(1&y.l)){const e=l(t);if(!e)return;const o=e.o,i=()=>{};if(1&e.l)ee(t,e,o.Y),(null==e?void 0:e.V)||(null==e?void 0:e.P)&&e.P.then((()=>{}));else{let i;if(e.l|=1,i=t.getAttribute(u),i){if(1&o.l){const e=P(t.shadowRoot,o);t.classList.remove(e+"-h",e+"-s")}((t,e,o,i)=>{var n,s,a,r;const c=t.shadowRoot,d=[],p=[],v=c?[]:null,f=Z(e,null);f.S=t,!g.document||y.D&&y.D.size||et(g.document.body,y.D=new Map),t[u]=o,t.removeAttribute(u),i.I=tt(f,d,[],v,t,t,o,p);let h=0;const m=d.length;let b;for(;h<m;h++){b=d[h];const o=b.H+"."+b.N,i=y.D.get(o),s=b.S;if(c){if((null==(n=b.O)?void 0:(""+n).includes("-"))&&"slot-fb"!==b.O&&!b.S.shadowRoot){const t=l(b.S);if(t){const e=W(t.o),o=g.document.querySelector(`style[sty-id="${e}"]`);o&&v.unshift(o.cloneNode(!0))}}}else s["s-hn"]=e.toUpperCase(),"slot"===b.O&&(s["s-cr"]=t["s-cr"]);"slot"===b.O&&(b.j=b.S["s-sn"]||b.S.name||null,b.k?(b.l|=2,b.S.childNodes.length||b.k.forEach((t=>{b.S.appendChild(t.S)}))):b.l|=1),i&&i.isConnected&&(i.parentElement.shadowRoot&&""===i["s-en"]&&i.parentNode.insertBefore(s,i.nextSibling),i.parentNode.removeChild(i),c||(s["s-oo"]=parseInt(b.N))),i&&!i["s-id"]&&y.D.delete(o)}const w=[],k=p.length;let $,x,z,j,O=0,S=0;for(;O<k;O++)if($=p[O],$&&$.length)for(z=$.length,x=0;x<z;x++){if(j=$[x],w[j.hostId]||(w[j.hostId]=y.D.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-1])?void 0:s.node)?void 0:a.nextSibling),t.shadowRoot&&c||(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]),_(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(c&&!c.childNodes.length){let e=0;const o=v.length;if(o){for(;e<o;e++){const t=v[e];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))}))}}i.$hostElement$=t})(t,o.u,i,e)}i||12&o.l&&Xt(t);{let o=t;for(;o=o.parentNode||o.host;)if(1===o.nodeType&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){Dt(e,e._=o);break}}o.t&&Object.entries(o.t).map((([e,[o]])=>{if(31&o&&Object.prototype.hasOwnProperty.call(t,e)){const o=t[e];delete t[e],t[e]=o}})),(async(t,e,o)=>{let i;try{if(!(32&e.l)&&(e.l|=32,i=t.constructor,customElements.whenDefined(t.localName).then((()=>e.l|=128)),i&&i.style)){let t;"string"==typeof i.style&&(t=i.style);const e=W(o);if(!v.has(e)){const i=()=>{};V(e,t,!!(1&o.l)),i()}}const n=e._,s=()=>Tt(e,!0);n&&n["s-rc"]?n["s-rc"].push(s):s()}catch(o){p(o,t),e.R&&(e.R(),e.R=void 0),e.F&&e.F(t)}})(t,e,o)}i()}})(this),i&&i.call(this)},disconnectedCallback(){(async t=>{if(!(1&y.l)){const e=l(t);(null==e?void 0:e.Z)&&(e.Z.map((t=>t())),e.Z=void 0)}U.has(t)&&U.delete(t),t.shadowRoot&&U.has(t.shadowRoot)&&U.delete(t.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.u}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else A.call(this,o)}}),Object.defineProperty(t,"is",{value:o.u,configurable:!0}),Qt(t,o,3)}catch(e){return p(e),t}},ee=(t,e,o)=>{o&&g.document&&o.map((([o,i,n])=>{const s=ie(g.document,t,o),a=oe(e,n),r=ne(o);y.ael(s,i,a,r),(e.Z=e.Z||[]).push((()=>y.rel(s,i,a,r)))}))},oe=(t,e)=>o=>{try{t.$hostElement$[e](o)}catch(e){p(e,t.$hostElement$)}},ie=(t,e,o)=>4&o?t:8&o?g:e,ne=t=>({passive:!!(1&t),capture:!!(2&t)}),se=t=>y.v=t,ae=t=>Object.assign(y,t);function re(t,e){Ft({o:{l:0,u:e.tagName},$hostElement$:e},t)}function ce(t){return t}export{w as H,G as a,pt as c,dt as g,E as getAssetPath,J as h,te as p,re as render,M as setAssetPath,se as setNonce,ae as setPlatformOptions,ce as t}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,c as s,h as o,a as i,t as l}from"./index.js";import"./p-
|
|
1
|
+
import{p as t,H as e,c as s,h as o,a as i,t as l}from"./index.js";import"./p-DeO0rZ1T.js";import{v as r}from"./p-T8T3po4z.js";import{T as a}from"./p-CVVXnYLU.js";const n={height:"0",overflow:"hidden"},c={duration:!globalThis.matchMedia||globalThis.matchMedia("(prefers-reduced-motion: reduce)").matches?0:350,easing:"ease",fill:"forwards"};const h=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.postToggle=s(this,"postToggle"),this.collapsed=!1}get isExpanded(){return!this.collapsed}componentDidLoad(){this.updateTriggers()}async toggle(t=!this.isExpanded){if(t===this.isExpanded)return this.isExpanded;this.collapsed=!t;const e=this.isExpanded;{const t=e?(s=this.host).animate([n,{height:`${s.scrollHeight}px`,offset:1,overflow:"hidden"},{height:"auto",overflow:"visible"}],c):function(t){const e=globalThis.getComputedStyle(t).height;return t.animate([{height:e},n],c)}(this.host);this.postToggle.emit(e),await t.finished,t.commitStyles(),this.updateTriggers()}var s;return e}updateTriggers(){const t=this.host.id?Array.from(document.querySelectorAll(`post-collapsible-trigger[for="${this.host.id}"]`)):[],e=this.host.closest("post-collapsible-trigger");e&&!t.includes(e)&&t.push(e),t.forEach((t=>t.update()))}render(){return o(i,{key:"243dad696871a08bc07325d4511f5baeb937c194","data-version":r,tabindex:this.collapsed?-1:void 0,style:this.collapsed?n:void 0},o("slot",{key:"5f4f8a9bb698f6558b114c760e5eeb355ac35b80"}))}get host(){return this}static get style(){return":host{display:block;position:relative;overflow:var(--post-collapsible-initial-overflow, hidden);height:var(--post-collapsible-initial-height, auto)}"}},[257,"post-collapsible",{collapsed:[1028],toggle:[64]}]);function p(){"undefined"!=typeof customElements&&["post-collapsible"].forEach((t=>{"post-collapsible"===t&&(customElements.get(l(t))||customElements.define(l(t),h))}))}(function(t,e,s,o){var i,l=arguments.length,r=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,o);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(r=(l<3?i(r):l>3?i(e,s,r):i(e,s))||r);l>3&&r&&Object.defineProperty(e,s,r)})([a("boolean")],h.prototype,"collapsed",void 0),p();export{h as P,p as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as r,g as t}from"./p-DeO0rZ1T.js";function o(o){return r({priority:1,blocking:!1,run(r,n){const{value:s,showError:e}=t(r,n);return!("string"!=typeof s||!o.test(s))||(e(`must match ${o}`),!1)}})}export{o as P}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as e,c as n,h as o,a as r,t as i}from"./index.js";import"./p-DeO0rZ1T.js";import{v as s}from"./p-T8T3po4z.js";import{O as a}from"./p-CnN4Jdtv.js";import{T as c}from"./p-CVVXnYLU.js";const l=["top","right","bottom","left","top-start","top-end","right-start","right-end","bottom-start","bottom-end","left-start","left-end"],p=["top","right","bottom","left"],f=Math.min,u=Math.max,h=Math.round,d=Math.floor,m=t=>({x:t,y:t}),v={left:"right",right:"left",bottom:"top",top:"bottom"};function g(t,e,n){return u(t,f(e,n))}function w(t,e){return"function"==typeof t?t(e):t}function y(t){return t.split("-")[0]}function x(t){return t.split("-")[1]}function b(t){return"x"===t?"y":"x"}function S(t){return"y"===t?"height":"width"}function T(t){const e=t[0];return"t"===e||"b"===e?"y":"x"}function E(t){return b(T(t))}function k(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const M=["left","right"],A=["right","left"],O=["top","bottom"],H=["bottom","top"];function L(t){const e=y(t);return v[e]+t.slice(e.length)}function $(t){return"number"!=typeof t?function(t){var e,n,o,r;return{top:null!=(e=t.top)?e:0,right:null!=(n=t.right)?n:0,bottom:null!=(o=t.bottom)?o:0,left:null!=(r=t.left)?r:0}}(t):{top:t,right:t,bottom:t,left:t}}function C(t){const{x:e,y:n,width:o,height:r}=t;return{width:o,height:r,top:n,left:e,right:e+o,bottom:n+r,x:e,y:n}}function D(t,e,n){let{reference:o,floating:r}=t;const i=T(e),s=E(e),a=S(s),c=y(e),l="y"===i,p=o.x+o.width/2-r.width/2,f=o.y+o.height/2-r.height/2,u=o[a]/2-r[a]/2;let h;switch(c){case"top":h={x:p,y:o.y-r.height};break;case"bottom":h={x:p,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:f};break;case"left":h={x:o.x-r.width,y:f};break;default:h={x:o.x,y:o.y}}const d=x(e);return d&&(h[s]+=u*("end"===d?1:-1)*(n&&l?-1:1)),h}async function R(t,e){var n;void 0===e&&(e={});const{x:o,y:r,platform:i,rects:s,elements:a,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:u=!1,padding:h=0}=w(e,t),d=$(h),m=a[u?"floating"===f?"reference":"floating":f],v=C(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:l,rootBoundary:p,strategy:c})),g="floating"===f?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),x=await(null==i.isElement?void 0:i.isElement(y))&&await(null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},b=C(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:y,strategy:c}):g);return{top:(v.top-b.top+d.top)/x.y,bottom:(b.bottom-v.bottom+d.bottom)/x.y,left:(v.left-b.left+d.left)/x.x,right:(b.right-v.right+d.right)/x.x}}function j(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function z(t){return p.some((e=>t[e]>=0))}function F(t){const e=f(...t.map((t=>t.left))),n=f(...t.map((t=>t.top)));return{x:e,y:n,width:u(...t.map((t=>t.right)))-e,height:u(...t.map((t=>t.bottom)))-n}}const P=new Set(["left","top"]);function W(){return"undefined"!=typeof window}function B(t){return N(t)?(t.nodeName||"").toLowerCase():"#document"}function q(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function I(t){var e;return null==(e=(N(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function N(t){return!!W()&&(t instanceof Node||t instanceof q(t).Node)}function V(t){return!!W()&&(t instanceof Element||t instanceof q(t).Element)}function G(t){return!!W()&&(t instanceof HTMLElement||t instanceof q(t).HTMLElement)}function X(t){return!(!W()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof q(t).ShadowRoot)}function Y(t){const{overflow:e,overflowX:n,overflowY:o,display:r}=ot(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&"inline"!==r&&"contents"!==r}function J(t){return/^(table|td|th)$/.test(B(t))}function U(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}const Z=/transform|translate|scale|rotate|perspective|filter/,_=/paint|layout|strict|content/,K=t=>!!t&&"none"!==t;let Q;function tt(t){const e=V(t)?ot(t):t;return K(e.transform)||K(e.translate)||K(e.scale)||K(e.rotate)||K(e.perspective)||!et()&&(K(e.backdropFilter)||K(e.filter))||Z.test(e.willChange||"")||_.test(e.contain||"")}function et(){return null==Q&&(Q="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Q}function nt(t){return/^(html|body|#document)$/.test(B(t))}function ot(t){return q(t).getComputedStyle(t)}function rt(t){return V(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function it(t){if("html"===B(t))return t;const e=t.assignedSlot||t.parentNode||X(t)&&t.host||I(t);return X(e)?e.host:e}function st(t){const e=it(t);return nt(e)?(t.ownerDocument||t).body:G(e)&&Y(e)?e:st(e)}function at(t,e,n){var o;void 0===e&&(e=[]),void 0===n&&(n=!0);const r=st(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),s=q(r);if(i){const t=ct(s);return e.concat(s,s.visualViewport||[],Y(r)?r:[],t&&n?at(t):[])}return e.concat(r,at(r,[],n))}function ct(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function lt(t){const e=ot(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=G(t),i=r?t.offsetWidth:n,s=r?t.offsetHeight:o,a=h(n)!==i||h(o)!==s;return a&&(n=i,o=s),{width:n,height:o,$:a}}function pt(t){return V(t)?t:t.contextElement}function ft(t){const e=pt(t);if(!G(e))return m(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:i}=lt(e);let s=(i?h(n.width):n.width)/o,a=(i?h(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const ut=m(0);function ht(t){const e=q(t);return et()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ut}function dt(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const r=t.getBoundingClientRect(),i=pt(t);let s=m(1);e&&(o?V(o)&&(s=ft(o)):s=ft(t));const a=function(t,e,n){return void 0===e&&(e=!1),!!n&&e&&n===q(t)}(i,n,o)?ht(i):m(0);let c=(r.left+a.x)/s.x,l=(r.top+a.y)/s.y,p=r.width/s.x,f=r.height/s.y;if(i&&o){const t=q(i),e=V(o)?q(o):o;let n=t,r=ct(n);for(;r&&e!==n;){const t=ft(r),e=r.getBoundingClientRect(),o=ot(r),i=e.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,s=e.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,l*=t.y,p*=t.x,f*=t.y,c+=i,l+=s,n=q(r),r=ct(n)}}return C({width:p,height:f,x:c,y:l})}function mt(t,e){const n=rt(t).scrollLeft;return e?e.left+n:dt(I(t)).left+n}function vt(t,e){const n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-mt(t,n),y:n.top+e.scrollTop}}function gt(t,e,n){let o;if("viewport"===e||"layoutViewport"===e)o=function(t,e,n){void 0===n&&(n="viewport");const o="layoutViewport"===n,r=q(t),i=I(t),s=r.visualViewport;let a=i.clientWidth,c=i.clientHeight,l=0,p=0;if(s){const t=!et()||"fixed"===e;o?t||(l=-s.offsetLeft,p=-s.offsetTop):(a=s.width,c=s.height,t&&(l=s.offsetLeft,p=s.offsetTop))}if(mt(i)<=0){const t=i.ownerDocument,e=t.body,n=getComputedStyle(e),o="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,r=Math.abs(i.clientWidth-e.clientWidth-o),s="stable both-edges"===getComputedStyle(i).scrollbarGutter?r/2:r;s<=25&&(a-=s)}return{width:a,height:c,x:l,y:p}}(t,n,e);else if("document"===e)o=function(t){const e=rt(t),n=t.ownerDocument.body,o=u(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),r=u(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-e.scrollLeft+mt(t);const s=-e.scrollTop;return"rtl"===ot(n).direction&&(i+=u(t.clientWidth,n.clientWidth)-o),{width:o,height:r,x:i,y:s}}(I(t));else if(V(e))o=function(t,e){const n=dt(t,!0,"fixed"===e),o=n.top+t.clientTop,r=n.left+t.clientLeft,i=ft(t);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(e,n);else{const n=ht(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return C(o)}function wt(t,e,n){const o=G(e),r=I(e),i="fixed"===n,s=dt(t,!0,i,e);let a={scrollLeft:0,scrollTop:0};const c=m(0);if((o||!i)&&(("body"!==B(e)||Y(r))&&(a=rt(e)),o)){const t=dt(e,!0,i,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}!o&&r&&(c.x=mt(r));const l=!r||o||i?m(0):vt(r,a);return{x:s.left+a.scrollLeft-c.x-l.x,y:s.top+a.scrollTop-c.y-l.y,width:s.width,height:s.height}}function yt(t){return"static"===ot(t).position}function xt(t,e){if(!G(t)||"fixed"===ot(t).position)return null;if(e)return e(t);let n=t.offsetParent;return I(t)===n&&(n=n.ownerDocument.body),n}function bt(t,e){const n=q(t);if(U(t))return n;if(!G(t)){let e=it(t);for(;e&&!nt(e);){if(V(e)&&!yt(e))return e;e=it(e)}return n}let o=xt(t,e);for(;o&&J(o)&&yt(o);)o=xt(o,e);return o&&nt(o)&&yt(o)&&!tt(o)?n:o||function(t){let e=it(t);for(;G(e)&&!nt(e);){if(tt(e))return e;if(U(e))return null;e=it(e)}return null}(t)||n}const St={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:o,strategy:r}=t;const i="fixed"===r,s=I(o),a=!!e&&U(e.floating);if(o===s||a&&i)return n;let c={scrollLeft:0,scrollTop:0},l=m(1);const p=m(0),f=G(o);if((f||!i)&&(("body"!==B(o)||Y(s))&&(c=rt(o)),f)){const t=dt(o);l=ft(o),p.x=t.x+o.clientLeft,p.y=t.y+o.clientTop}const u=!s||f||i?m(0):vt(s,c);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+p.x+u.x,y:n.y*l.y-c.scrollTop*l.y+p.y+u.y}},getDocumentElement:I,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===n?U(e)?[]:function(t,e){const n=e.get(t);if(n)return n;let o=at(t,[],!1).filter((t=>V(t)&&"body"!==B(t))),r=null;const i="fixed"===ot(t).position;let s=i?it(t):t;for(;V(s)&&!nt(s);){const t=ot(s),e=tt(s),n=r?r.position:i?"fixed":"";e||"fixed"!==n&&("absolute"!==n||"static"!==t.position)?r=t:o=o.filter((t=>t!==s)),s=it(s)}return e.set(t,o),o}(e,this._c):[].concat(n),o],s=gt(e,i[0],r);let a=s.top,c=s.right,l=s.bottom,p=s.left;for(let t=1;t<i.length;t++){const n=gt(e,i[t],r);a=u(n.top,a),c=f(n.right,c),l=f(n.bottom,l),p=u(n.left,p)}return{width:c-p,height:l-a,x:p,y:a}},getOffsetParent:bt,getElementRects:async function(t){const e=this.getOffsetParent||bt,n=this.getDimensions,o=await n(t.floating);return{reference:wt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return t.getClientRects?Array.from(t.getClientRects()):[]},getDimensions:function(t){const{width:e,height:n}=lt(t);return{width:e,height:n}},getScale:ft,isElement:V,isRTL:function(t){return"rtl"===ot(t).direction}};function Tt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}const Et=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:r,y:i,placement:s,middlewareData:a}=e,c=await async function(t,e){const{placement:n,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),s=y(n),a=x(n),c="y"===T(n),l=P.has(s)?-1:1,p=i&&c?-1:1,f=w(e,t);let{mainAxis:u,crossAxis:h,alignmentAxis:d}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof d&&(h="end"===a?-1*d:d),c?{x:h*p,y:u*l}:{x:u*l,y:h*p}}(e,t);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(o=a.arrow)&&o.alignmentOffset?{}:{x:r+c.x,y:i+c.y,data:{...c,placement:s}}}}},kt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:r,middlewareData:i,rects:s,initialPlacement:a,platform:c,elements:l}=e,{mainAxis:p=!0,crossAxis:f=!0,fallbackPlacements:u,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:m=!0,...v}=w(t,e);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const g=y(r),b=T(a),$=y(a)===a,C=await(null==c.isRTL?void 0:c.isRTL(l.floating)),D=u||($||!m?[L(a)]:function(t){const e=L(t);return[k(t),e,k(e)]}(a)),R="none"!==d;!u&&R&&D.push(...function(t,e,n,o){const r=x(t);let i=function(t,e,n){switch(t){case"top":case"bottom":return n?e?A:M:e?M:A;case"left":case"right":return e?O:H;default:return[]}}(y(t),"start"===n,o);return r&&(i=i.map((t=>t+"-"+r)),e&&(i=i.concat(i.map(k)))),i}(a,m,d,C));const j=[a,...D],z=await c.detectOverflow(e,v),F=[];let P=(null==(o=i.flip)?void 0:o.overflows)||[];if(p&&F.push(z[g]),f){const t=function(t,e,n){void 0===n&&(n=!1);const o=x(t),r=E(t),i=S(r);let s="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=L(s)),[s,L(s)]}(r,s,C);F.push(z[t[0]],z[t[1]])}if(P=[...P,{placement:r,overflows:F}],!F.every((t=>t<=0))){var W,B;const t=((null==(W=i.flip)?void 0:W.index)||0)+1,e=j[t];if(e&&("alignment"!==f||b===T(e)||P.every((t=>T(t.placement)!==b||t.overflows[0]>0))))return{data:{index:t,overflows:P},reset:{placement:e}};let n=null==(B=P.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:B.placement;if(!n)switch(h){case"bestFit":{var q;const t=null==(q=P.filter((t=>{if(R){const e=T(t.placement);return e===b||"y"===e}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:q[0];t&&(n=t);break}case"initialPlacement":n=a}if(r!==n)return{reset:{placement:n}}}return{}}}},Mt=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:o,platform:r,elements:i}=e,{apply:s=()=>{},...a}=w(t,e),c=await r.detectOverflow(e,a),l=y(n),p=x(n),h="y"===T(n),{width:d,height:m}=o.floating;let v,g;"top"===l||"bottom"===l?(v=l,g=p===(await(null==r.isRTL?void 0:r.isRTL(i.floating))?"start":"end")?"left":"right"):(g=l,v="end"===p?"top":"bottom");const b=m-c.top-c.bottom,S=d-c.left-c.right,E=f(m-c[v],b),k=f(d-c[g],S),M=e.middlewareData.shift;let A=E,O=k;null!=M&&M.enabled.x&&(O=S),null!=M&&M.enabled.y&&(A=b),!M&&!p&&(h?O=d-2*u(c.left,c.right):A=m-2*u(c.top,c.bottom)),await s({...e,availableWidth:O,availableHeight:A});const H=await r.getDimensions(i.floating);return d!==H.width||m!==H.height?{reset:{rects:!0}}:{}}}},At=function(t){return void 0===t&&(t={}),{name:"inline",options:t,async fn(e){const{placement:n,elements:o,rects:r,platform:i,strategy:s}=e,{padding:a=2,x:c,y:l}=w(t,e),p=Array.from(await(null==i.getClientRects?void 0:i.getClientRects(o.reference))||[]);if(!p.length)return{};const h=function(t){const e=t.slice().sort(((t,e)=>t.y-e.y)),n=[];let o=null;for(let t=0;t<e.length;t++){const r=e[t];!o||r.y-o.y>o.height/2?n.push([r]):n[n.length-1].push(r),o=r}return n.map((t=>C(F(t))))}(p),d=C(F(p)),m=$(a),v=await i.getElementRects({reference:{getBoundingClientRect:function(){if(2===h.length&&(h[0].left>h[1].right||h[1].left>h[0].right)&&null!=c&&null!=l)return h.find((t=>c>t.left-m.left&&c<t.right+m.right&&l>t.top-m.top&&l<t.bottom+m.bottom))||d;if(h.length>=2){if("y"===T(n)){const t=h[0],e=h[h.length-1],o="top"===y(n),r=t.top,i=o?t.left:e.left;return C({x:i,y:r,width:(o?t.right:e.right)-i,height:e.bottom-r})}const t="left"===y(n),e=u(...h.map((t=>t.right))),o=f(...h.map((t=>t.left))),r=h.filter((n=>t?n.left===o:n.right===e)),i=r[0].top;return C({x:o,y:i,width:e-o,height:r[r.length-1].bottom-i})}return d}},floating:o.floating,strategy:s});return r.reference.x!==v.reference.x||r.reference.y!==v.reference.y||r.reference.width!==v.reference.width||r.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}},Ot=function(t){return void 0===t&&(t={}),{options:t,fn(e){var n,o;const{x:r,y:i,placement:s,rects:a,middlewareData:c}=e,{offset:l=0,mainAxis:p=!0,crossAxis:f=!0}=w(t,e),u={x:r,y:i},h=T(s),d=b(h);let m=u[d],v=u[h];const g=w(l,e),x="number"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:null!=(n=g.mainAxis)?n:0,crossAxis:null!=(o=g.crossAxis)?o:0};if(p){const t="y"===d?"height":"width",e=a.reference[d]-a.floating[t]+x.mainAxis,n=a.reference[d]+a.reference[t]-x.mainAxis;m<e?m=e:m>n&&(m=n)}if(f){var S,E;const t="y"===d?"width":"height",e=P.has(y(s)),n=a.reference[h]-a.floating[t]+(e&&(null==(S=c.offset)?void 0:S[h])||0)+(e?0:x.crossAxis),o=a.reference[h]+a.reference[t]+(e?0:(null==(E=c.offset)?void 0:E[h])||0)-(e?x.crossAxis:0);v<n?v=n:v>o&&(v=o)}return{[d]:m,[h]:v}}}};var Ht=class extends Event{oldState;newState;constructor(t,{oldState:e="",newState:n="",...o}={}){super(t,o),this.oldState=String(e||""),this.newState=String(n||"")}},Lt=new WeakMap;function $t(t,e,n){Lt.set(t,setTimeout((()=>{Lt.has(t)&&t.dispatchEvent(new Ht("toggle",{cancelable:!1,oldState:e,newState:n}))}),0))}var Ct=globalThis.ShadowRoot||function(){},Dt=globalThis.HTMLDialogElement||function(){},Rt=new WeakMap,jt=new WeakMap,zt=new WeakMap,Ft=new WeakMap;function Pt(t){return Ft.get(t)||"hidden"}var Wt=new WeakMap;function Bt(t){return[...t].pop()}function qt(t,e){return!("auto"!==t.popover&&"manual"!==t.popover&&"hint"!==t.popover||!t.isConnected||e&&"showing"!==Pt(t)||!e&&"hidden"!==Pt(t)||t instanceof Dt&&t.hasAttribute("open")||document.fullscreenElement===t)}function It(t){if(!t)return 0;const e=jt.get(document)||new Set,n=zt.get(document)||new Set;return n.has(t)?[...n].indexOf(t)+e.size+1:e.has(t)?[...e].indexOf(t)+1:0}function Nt(t){let e;const n=zt.get(t)||new Set,o=jt.get(t)||new Set,r=n.size>0?n:o.size>0?o:null;return r?(e=Bt(r),e.isConnected?e:(r.delete(e),Nt(t))):null}function Vt(t){for(const e of t||[]){if(e.isConnected)return e;t.delete(e)}return null}function Gt(t){return"function"==typeof t.getRootNode?t.getRootNode():t.parentNode?Gt(t.parentNode):t}function Xt(t){for(;t;){if(t instanceof HTMLElement&&"auto"===t.popover&&"showing"===Ft.get(t))return t;if((t=t instanceof Element&&t.assignedSlot||t.parentElement||Gt(t))instanceof Ct&&(t=t.host),t instanceof Document)return}}function Yt(t,e){const n=new Map;let o=0;for(const t of e||[])n.set(t,o),o+=1;n.set(t,o),o+=1;let r=null;return function(e){if(!e)return;let o=!1,i=null,s=null;for(;!o;){if(i=Xt(e)||null,null===i)return;if(!n.has(i))return;"hint"!==t.popover&&"auto"!==i.popover||(o=!0),o||(e=i.parentElement)}s=n.get(i),(null===r||n.get(r)<s)&&(r=i)}(t.parentElement||Gt(t)),r}function Jt(t){return!(t.hidden||t instanceof Ct||(t instanceof HTMLButtonElement||t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement||t instanceof HTMLOptGroupElement||t instanceof HTMLOptionElement||t instanceof HTMLFieldSetElement)&&t.disabled||t instanceof HTMLInputElement&&"hidden"===t.type||t instanceof HTMLAnchorElement&&""===t.href||"number"!=typeof t.tabIndex||-1===t.tabIndex)}var Ut=new WeakMap;function Zt(t){if(!qt(t,!1))return;const e=t.ownerDocument;if(!t.dispatchEvent(new Ht("beforetoggle",{cancelable:!0,oldState:"closed",newState:"open"})))return;if(!qt(t,!1))return;let n=!1;const o=t.popover;let r=null;const i=Yt(t,jt.get(e)||new Set),s=Yt(t,zt.get(e)||new Set);if("auto"===o&&(Kt(zt.get(e)||new Set,n,!0),te(i||e,n,!0),r="auto"),"hint"===o&&(s?(te(s,n,!0),r="hint"):(Kt(zt.get(e)||new Set,n,!0),i?(te(i,n,!0),r="auto"):r="hint")),"auto"===o||"hint"===o){if(o!==t.popover||!qt(t,!1))return;Nt(e)||(n=!0),"auto"===r?(jt.has(e)||jt.set(e,new Set),jt.get(e).add(t)):"hint"===r&&(zt.has(e)||zt.set(e,new Set),zt.get(e).add(t))}Ut.delete(t);const a=e.activeElement;var c;t.classList.add(":popover-open"),Ft.set(t,"showing"),Rt.has(e)||Rt.set(e,new Set),Rt.get(e).add(t),re(Wt.get(t),!0),c=t,function(t){if(t.shadowRoot&&!0!==t.shadowRoot.delegatesFocus)return null;let e=t;e.shadowRoot&&(e=e.shadowRoot);let n=e.querySelector("[autofocus]");if(n)return n;{const t=e.querySelectorAll("slot");for(const e of t){const t=e.assignedElements({flatten:!0});for(const e of t){if(e.hasAttribute("autofocus"))return e;if(n=e.querySelector("[autofocus]"),n)return n}}}const o=t.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT);let r=o.currentNode;for(;r;){if(Jt(r))return r;r=o.nextNode()}}(c)?.focus(),n&&a&&"auto"===t.popover&&Ut.set(t,a),$t(t,"closed","open")}function _t(t,e=!1,n=!1){if(!qt(t,!0))return;const o=t.ownerDocument;if(["auto","hint"].includes(t.popover)&&(te(t,e,n),!qt(t,!0)))return;const r=jt.get(o)||new Set,i=r.has(t)&&Bt(r)===t;if(re(Wt.get(t),!1),Wt.delete(t),n&&(t.dispatchEvent(new Ht("beforetoggle",{oldState:"open",newState:"closed"})),i&&Bt(r)!==t&&te(t,e,n),!qt(t,!0)))return;Rt.get(o)?.delete(t),r.delete(t),zt.get(o)?.delete(t),t.classList.remove(":popover-open"),Ft.set(t,"hidden"),n&&$t(t,"open","closed");const s=Ut.get(t);s&&(Ut.delete(t),e&&s.focus())}function Kt(t,e=!1,n=!1){let o=Vt(t);for(;o;)_t(o,e,n),o=Vt(t)}function Qt(t,e,n,o){let r=!1,i=!1;for(;r||!i;){i=!0;let s=null,a=!1;for(const n of e)if(n===t)a=!0;else if(a){s=n;break}if(!s)return;for(;"showing"===Pt(s)&&e.size;)_t(Bt(e),n,o);e.has(t)&&Bt(e)!==t&&(r=!0),r&&(o=!1)}}function te(t,e,n){const o=t.ownerDocument||t;if(t instanceof Document)return function(t,e=!1,n=!1){let o=Nt(t);for(;o;)_t(o,e,n),o=Nt(t)}(o,e,n);zt.get(o)?.has(t)?Qt(t,zt.get(o),e,n):(Kt(zt.get(o)||new Set,e,n),jt.get(o)?.has(t)&&Qt(t,jt.get(o),e,n))}var ee=new WeakMap;function ne(t){if(!t.isTrusted)return;const e=t.composedPath()[0];if(!e)return;const n=e.ownerDocument;if(!Nt(n))return;const o=function(t){const e=Xt(t),n=function(t){for(;t;){const e=t.popoverTargetElement;if(e instanceof HTMLElement)return e;if((t=t.parentElement||Gt(t))instanceof Ct&&(t=t.host),t instanceof Document)return}}(t);return It(e)>It(n)?e:n}(e);if(o&&"pointerdown"===t.type)ee.set(n,o);else if("pointerup"===t.type){const t=ee.get(n)===o;ee.delete(n),t&&te(o||n,!1,!0)}}var oe=new WeakMap;function re(t,e=!1){if(!t)return;oe.has(t)||oe.set(t,t.getAttribute("aria-expanded"));const n=t.popoverTargetElement;if(n instanceof HTMLElement&&"auto"===n.popover)t.setAttribute("aria-expanded",String(e));else{const e=oe.get(t);e?t.setAttribute("aria-expanded",e):t.removeAttribute("aria-expanded")}}var ie=globalThis.ShadowRoot||function(){};function se(t,e,n){const o=t[e];Object.defineProperty(t,e,{value(t){return o.call(this,n(t))}})}var ae=/(^|[^\\]):popover-open\b/g;var ce=null;function le(t){const e=function(){const t="function"==typeof globalThis.CSSLayerBlockRule;return`\n${t?"@layer popover-polyfill {":""}\n :where([popover]) {\n position: fixed;\n z-index: 2147483647;\n inset: 0;\n padding: 0.25em;\n width: fit-content;\n height: fit-content;\n border-width: initial;\n border-color: initial;\n border-image: initial;\n border-style: solid;\n background-color: canvas;\n color: canvastext;\n overflow: auto;\n margin: auto;\n }\n\n :where([popover]:not(.\\:popover-open)) {\n display: none;\n }\n\n :where(dialog[popover].\\:popover-open) {\n display: block;\n }\n\n :where(dialog[popover][open]) {\n display: revert;\n }\n\n :where([anchor].\\:popover-open) {\n inset: auto;\n }\n\n :where([anchor]:popover-open) {\n inset: auto;\n }\n\n @supports not (background-color: canvas) {\n :where([popover]) {\n background-color: white;\n color: black;\n }\n }\n\n @supports (width: -moz-fit-content) {\n :where([popover]) {\n width: -moz-fit-content;\n height: -moz-fit-content;\n }\n }\n\n @supports not (inset: 0) {\n :where([popover]) {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n }\n${t?"}":""}\n`}();if(null===ce)try{(ce=new CSSStyleSheet).replaceSync(e)}catch{ce=!1}if(!1===ce){const n=document.createElement("style");n.textContent=e,t instanceof Document?t.head.prepend(n):t.prepend(n)}else t.adoptedStyleSheets=[ce,...t.adoptedStyleSheets]}const pe=Symbol("Clipping Rect Cache"),fe={...St,getClippingRect:async function(...t){const e=t[0].element,n=this[pe].get(e);if(n)return n;const o=await St.getClippingRect.apply(this,t);return function(t,e){const n=e.ownerDocument.querySelector("post-header");if(null===n)return;let o=e;for(;!nt(o);)if(o=it(o),G(o)&&(U(o)||o===n))return;const r=n.getBoundingClientRect(),i=Math.max(t.y,r.bottom);t.height-=i-t.y,t.y=i}(o,e),this[pe].set(e,o),o}};var ue=function(t,e,n,o){var r,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(i<3?r(s):i>3?r(e,n,s):r(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s};const he={"pop-in":function(t){if(t)return t.animate([{transform:"scale(0.9)",opacity:0},{transform:"scale(1)",opacity:1}],{duration:250,easing:"ease-out",fill:"forwards"})}},de=t(class t extends e{static{this.STATIC_SIDES={top:"bottom",right:"left",bottom:"top",left:"right"}}static{this.PROPERTIES_TO_CLEAR=["--post-safe-space-popover-x","--post-safe-space-popover-y","--post-safe-space-popover-x-start","--post-safe-space-popover-x-end","--post-safe-space-popover-y-start","--post-safe-space-popover-y-end","--post-safe-space-trigger-x","--post-safe-space-trigger-y","--post-safe-space-trigger-x-start","--post-safe-space-trigger-x-end","--post-safe-space-trigger-y-start","--post-safe-space-trigger-y-end"]}constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.postBeforeShow=n(this,"postBeforeShow"),this.postShow=n(this,"postShow"),this.postHide=n(this,"postHide"),this.postBeforeToggle=n(this,"postBeforeToggle"),this.postToggle=n(this,"postToggle"),this.toggleTimeoutId=null,this.hasOpenedOnce=!0,this.placement="top",this.edgeGap=8,this.arrow=!1,this.animation="pop-in",this.currentAnimation=null,this.boundMouseTrackingHandler=this.mouseTrackingHandler.bind(this)}mouseTrackingHandler(t){this.host.style.setProperty("--post-safe-space-cursor-x",`${t.clientX}px`),this.host.style.setProperty("--post-safe-space-cursor-y",`${t.clientY}px`)}connectedCallback(){"undefined"!=typeof HTMLElement&&"object"==typeof HTMLElement.prototype&&"popover"in HTMLElement.prototype||function(){if("undefined"==typeof window)return;function t(t){return t?.includes(":popover-open")&&(t=t.replace(ae,"$1.\\:popover-open")),t}window.ToggleEvent=window.ToggleEvent||Ht,se(Document.prototype,"querySelector",t),se(Document.prototype,"querySelectorAll",t),se(Element.prototype,"querySelector",t),se(Element.prototype,"querySelectorAll",t),se(Element.prototype,"matches",t),se(Element.prototype,"closest",t),se(DocumentFragment.prototype,"querySelectorAll",t),Object.defineProperties(HTMLElement.prototype,{popover:{enumerable:!0,configurable:!0,get(){if(!this.hasAttribute("popover"))return null;const t=(this.getAttribute("popover")||"").toLowerCase();return""===t||"auto"==t?"auto":"hint"==t?"hint":"manual"},set(t){null===t?this.removeAttribute("popover"):this.setAttribute("popover",t)}},showPopover:{enumerable:!0,configurable:!0,value(t={}){Zt(this)}},hidePopover:{enumerable:!0,configurable:!0,value(){_t(this,!0,!0)}},togglePopover:{enumerable:!0,configurable:!0,value(t={}){return"boolean"==typeof t&&(t={force:t}),"showing"===Ft.get(this)&&void 0===t.force||!1===t.force?_t(this,!0,!0):void 0!==t.force&&!0!==t.force||Zt(this),"showing"===Ft.get(this)}}});const e=Element.prototype.attachShadow;e&&Object.defineProperties(Element.prototype,{attachShadow:{enumerable:!0,configurable:!0,writable:!0,value(t){const n=e.call(this,t);return le(n),n}}});const n=HTMLElement.prototype.attachInternals;n&&Object.defineProperties(HTMLElement.prototype,{attachInternals:{enumerable:!0,configurable:!0,writable:!0,value(){const t=n.call(this);return t.shadowRoot&&le(t.shadowRoot),t}}});const o=new WeakMap;function r(t){Object.defineProperties(t.prototype,{popoverTargetElement:{enumerable:!0,configurable:!0,set(t){if(null===t)this.removeAttribute("popovertarget"),o.delete(this);else{if(!(t instanceof Element))throw new TypeError("popoverTargetElement must be an element or null");this.setAttribute("popovertarget",""),o.set(this,t)}},get(){if("button"!==this.localName&&"input"!==this.localName)return null;if("input"===this.localName&&"reset"!==this.type&&"image"!==this.type&&"button"!==this.type)return null;if(this.disabled)return null;if(this.form&&"submit"===this.type)return null;const t=o.get(this);if(t&&t.isConnected)return t;if(t&&!t.isConnected)return o.delete(this),null;const e=Gt(this),n=this.getAttribute("popovertarget");return(e instanceof Document||e instanceof ie)&&n&&e.getElementById(n)||null}},popoverTargetAction:{enumerable:!0,configurable:!0,get(){const t=(this.getAttribute("popovertargetaction")||"").toLowerCase();return"show"===t||"hide"===t?t:"toggle"},set(t){this.setAttribute("popovertargetaction",t)}}})}var i;r(HTMLButtonElement),r(HTMLInputElement),(i=document).addEventListener("click",(t=>{const e=t.composedPath(),n=e[0];if(!(n instanceof Element)||n?.shadowRoot)return;const o=Gt(n);if(!(o instanceof ie||o instanceof Document))return;const r=e.find((t=>t.matches?.("[popovertargetaction],[popovertarget]")));return r?(function(t){const e=t.popoverTargetElement;if(!(e instanceof HTMLElement))return;const n=Pt(e);"show"===t.popoverTargetAction&&"showing"===n||"hide"===t.popoverTargetAction&&"hidden"===n||("showing"===n?_t(e,!0,!0):qt(e,!1)&&(Wt.set(e,t),Zt(e)))}(r),void t.preventDefault()):void 0})),i.addEventListener("keydown",(t=>{const e=t.key,n=t.target;t.defaultPrevented||!n||"Escape"!==e&&"Esc"!==e||te(n.ownerDocument,!0,!0)})),i.addEventListener("pointerdown",ne),i.addEventListener("pointerup",ne),le(document)}()}componentDidLoad(){this.host.addEventListener("beforetoggle",this.handleToggle.bind(this))}disconnectedCallback(){"function"==typeof this.clearAutoUpdate&&this.clearAutoUpdate(),this.host.removeEventListener("beforetoggle",this.handleToggle.bind(this))}async show(t){!this.toggleTimeoutId&&t&&(this.eventTarget=t,this.updatePosition(),this.host.showPopover())}async hide(){this.toggleTimeoutId||(this.eventTarget=null,this.host.hidePopover(),this.postHide.emit())}async toggle(t,e){const n=this.host.matches(":where(:popover-open, .popover-open)");return!0!==e&&(void 0!==e||n)||t?(this.eventTarget=t,this.toggleTimeoutId||(this.updatePosition(),this.host.togglePopover(e),this.toggleTimeoutId=null),this.host.matches(":where(:popover-open, .popover-open)")):n}open(){const t=this.host.shadowRoot?.querySelector(".popover-content");if(this.startAutoupdates(),t){const e=he[this.animation];"function"==typeof e?this.runOpenAnimation(e,t):(this.postBeforeToggle.emit({willOpen:!0}),this.postBeforeShow.emit({first:this.hasOpenedOnce}),this.postToggle.emit({isOpen:!0}),this.postShow.emit({first:this.hasOpenedOnce}),this.hasOpenedOnce&&(this.hasOpenedOnce=!1))}this.safeSpace&&globalThis.addEventListener("mousemove",this.boundMouseTrackingHandler)}close(){"function"==typeof this.clearAutoUpdate&&this.clearAutoUpdate(),this.safeSpace&&globalThis.removeEventListener("mousemove",this.boundMouseTrackingHandler),this.currentAnimation&&(this.currentAnimation.cancel(),this.currentAnimation=null),this.postBeforeToggle.emit({willOpen:!1}),this.postToggle.emit({isOpen:!1}),this.postHide.emit()}async runOpenAnimation(t,e){let n;try{if(n=t(e),!n)return this.postBeforeToggle.emit({willOpen:!0}),this.postBeforeShow.emit({first:this.hasOpenedOnce}),this.postToggle.emit({isOpen:!0}),void this.postShow.emit({first:this.hasOpenedOnce});this.currentAnimation=n,"running"===n.playState&&(this.postBeforeToggle.emit({willOpen:!0}),this.postBeforeShow.emit({first:this.hasOpenedOnce})),await n.finished,this.postToggle.emit({isOpen:!0}),this.postShow.emit({first:this.hasOpenedOnce}),this.hasOpenedOnce=!0}catch(t){console.warn("Animation failed or was interrupted:",t),this.postBeforeToggle.emit({willOpen:!1}),this.postBeforeShow.emit({first:this.hasOpenedOnce}),this.postToggle.emit({isOpen:!1})}finally{this.currentAnimation===n&&(this.currentAnimation=null)}}handleToggle(t){this.toggleTimeoutId=globalThis.setTimeout((()=>this.toggleTimeoutId=null),10),"open"===t.newState?this.open():this.close()}startAutoupdates(){this.eventTarget&&this.host&&(this.clearAutoUpdate=function(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:c=!1}=o,l=pt(t),p=r||i?[...l?at(l):[],...e?at(e):[]]:[];p.forEach((t=>{r&&t.addEventListener("scroll",n),i&&t.addEventListener("resize",n)}));const h=l&&a?function(t,e,n){let o,r=null;const i=I(t);function s(){var t;clearTimeout(o),null==(t=r)||t.disconnect(),r=null}function a(n,c){void 0===n&&(n=!1),void 0===c&&(c=1),s();const l=t.getBoundingClientRect(),{left:p,top:h,width:m,height:v}=l;if(n||e(),!m||!v)return;const g={rootMargin:-d(h)+"px "+-d(i.clientWidth-(p+m))+"px "+-d(i.clientHeight-(h+v))+"px "+-d(p)+"px",threshold:u(0,f(1,c))||1};let w=!0;function y(e){const n=e[0].intersectionRatio;if(!Tt(l,t.getBoundingClientRect()))return a();if(n!==c){if(!w)return a();n?a(!1,n):o=setTimeout((()=>{a(!1,1e-7)}),1e3)}w=!1}try{r=new IntersectionObserver(y,{...g,root:i.ownerDocument})}catch(t){r=new IntersectionObserver(y,g)}r.observe(t)}const c=q(t),l=()=>a(n);return c.addEventListener("resize",l),a(!0),()=>{c.removeEventListener("resize",l),s()}}(l,n,i):null;let m,v=-1,g=null;s&&(g=new ResizeObserver((t=>{let[o]=t;o&&o.target===l&&g&&e&&(g.unobserve(e),cancelAnimationFrame(v),v=requestAnimationFrame((()=>{var t;null==(t=g)||t.observe(e)}))),n()})),l&&!c&&g.observe(l),e&&g.observe(e));let w=c?dt(t):null;return c&&function e(){const o=dt(t);w&&!Tt(w,o)&&n(),w=o,m=requestAnimationFrame(e)}(),n(),()=>{var t;p.forEach((t=>{r&&t.removeEventListener("scroll",n),i&&t.removeEventListener("resize",n)})),null==h||h(),null==(t=g)||t.disconnect(),g=null,c&&cancelAnimationFrame(m)}}(this.eventTarget,this.host,this.updatePosition.bind(this)))}async updatePosition(){const{x:e,y:n,middlewareData:o,placement:r}=await this.calculatePosition();o.hide?.referenceHidden&&this.host.hidePopover();const i=r.split("-")[0];if(this.dynamicPlacement=i,this.host.style.left=`${e}px`,this.host.style.top=`${n}px`,this.arrow&&o.arrow){const{x:e,y:n}=o.arrow,r=t.STATIC_SIDES[i],s=-.5*this.arrowRef.offsetWidth;r&&Object.assign(this.arrowRef.style,{left:e?`${e}px`:"",top:n?`${n}px`:"",[r]:`${s}px`})}this.safeSpace&&this.eventTarget&&await this.updateSafeSpaceBoundaries(i)}async calculatePosition(){const t=this.edgeGap,e=(this.placement||"top").includes("-"),n=[kt({elementContext:"reference",crossAxis:!1}),kt({elementContext:"floating",crossAxis:!1})],o=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:r,platform:i}=e,{mainAxis:s=!0,crossAxis:a=!1,limiter:c={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...l}=w(t,e),p={x:n,y:o},f=await i.detectOverflow(e,l),u=T(r),h=b(u);let d=p[h],m=p[u];const v=(t,e)=>g(e+f["y"===t?"top":"left"],e,e-f["y"===t?"bottom":"right"]);s&&(d=v(h,d)),a&&(m=v(u,m));const y=c.fn({...e,[h]:d,[u]:m});return{...y,data:{x:y.x-n,y:y.y-o,enabled:{[h]:s,[u]:a}}}}}}({padding:t,limiter:Ot({offset:32})}),r=[Et(this.offset??(this.arrow?t+4:t)),At(),...e?[...n,o]:[o,...n],Mt({apply({availableWidth:e,elements:n}){Object.assign(n.floating.style,{maxWidth:e-2*t+"px"})}})];return this.arrow&&r.push((t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:r,rects:i,platform:s,elements:a,middlewareData:c}=e,{element:l,padding:p=0}=w(t,e)||{};if(null==l)return{};const u=$(p),h={x:n,y:o},d=E(r),m=S(d),v=await s.getDimensions(l),y="y"===d,b=y?"top":"left",T=y?"bottom":"right",k=y?"clientHeight":"clientWidth",M=i.reference[m]+i.reference[d]-h[d]-i.floating[m],A=h[d]-i.reference[d],O=await(null==s.getOffsetParent?void 0:s.getOffsetParent(l));let H=O?O[k]:0;H&&await(null==s.isElement?void 0:s.isElement(O))||(H=a.floating[k]||i.floating[m]);const L=M/2-A/2,C=H/2-v[m]/2-1,D=f(u[b],C),R=f(u[T],C),j=H-v[m]-R,z=H/2-v[m]/2+L,F=g(D,z,j),P=!c.arrow&&null!=x(r)&&z!==F&&i.reference[m]/2-(z<D?D:R)-v[m]/2<0,W=P?z<D?z-D:z-j:0;return{[d]:h[d]+W,data:{[d]:F,centerOffset:z-F-W,...P&&{alignmentOffset:W}},reset:P}}}))({element:this.arrowRef,padding:t})),this.autoHide&&r.push(function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n,platform:o}=e,{strategy:r="referenceHidden",...i}=w(t,e);switch(r){case"referenceHidden":{const t=j(await o.detectOverflow(e,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:z(t)}}}case"escaped":{const t=j(await o.detectOverflow(e,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:z(t)}}}default:return{}}}}}({strategy:"referenceHidden"})),i=this.eventTarget,s=this.host,a={placement:this.placement||"top",strategy:"fixed",middleware:r},a??={},((t,e,n)=>{const o=new Map,r=null!=n?n:{},i={...St,...r.platform,_c:o};return(async(t,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,a=s.detectOverflow?s:{...s,detectOverflow:R},c=await(null==s.isRTL?void 0:s.isRTL(e));let l=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=D(l,o,c),u=o,h=0;const d={};for(let n=0;n<i.length;n++){const m=i[n];if(!m)continue;const{name:v,fn:g}=m,{x:w,y,data:x,reset:b}=await g({x:p,y:f,initialPlacement:o,placement:u,strategy:r,middlewareData:d,rects:l,platform:a,elements:{reference:t,floating:e}});p=null!=w?w:p,f=null!=y?y:f,d[v]={...d[v],...x},b&&h<50&&(h++,"object"==typeof b&&(b.placement&&(u=b.placement),b.rects&&(l=!0===b.rects?await s.getElementRects({reference:t,floating:e,strategy:r}):b.rects),({x:p,y:f}=D(l,u,c))),n=-1)}return{x:p,y:f,placement:u,strategy:r,middlewareData:d}})(t,e,{...r,platform:i})})(i,s,{...a,platform:{...fe,...a.platform,[pe]:new Map}});var i,s,a}async updateSafeSpaceBoundaries(e){const n=this.eventTarget.getBoundingClientRect(),o="top"===e||"bottom"===e,r=((t,e,n)=>"top"===t||"bottom"===t?{popover:{y:"top"===t?e.bottom:e.top,xStart:e.left,xEnd:e.right},trigger:{y:"top"===t?n.top:n.bottom,xStart:n.left,xEnd:n.right}}:{popover:{x:"left"===t?e.right:e.left,yStart:e.top,yEnd:e.bottom},trigger:{x:"left"===t?n.left:n.right,yStart:n.top,yEnd:n.bottom}})(e,this.host.getBoundingClientRect(),n);t.PROPERTIES_TO_CLEAR.forEach((t=>{this.host.style.removeProperty(t)})),o?(this.host.style.setProperty("--post-safe-space-popover-y",`${r.popover.y}px`),this.host.style.setProperty("--post-safe-space-popover-x-start",`${r.popover.xStart}px`),this.host.style.setProperty("--post-safe-space-popover-x-end",`${r.popover.xEnd}px`),this.host.style.setProperty("--post-safe-space-trigger-y",`${r.trigger.y}px`),this.host.style.setProperty("--post-safe-space-trigger-x-start",`${r.trigger.xStart}px`),this.host.style.setProperty("--post-safe-space-trigger-x-end",`${r.trigger.xEnd}px`)):(this.host.style.setProperty("--post-safe-space-popover-x",`${r.popover.x}px`),this.host.style.setProperty("--post-safe-space-popover-y-start",`${r.popover.yStart}px`),this.host.style.setProperty("--post-safe-space-popover-y-end",`${r.popover.yEnd}px`),this.host.style.setProperty("--post-safe-space-trigger-x",`${r.trigger.x}px`),this.host.style.setProperty("--post-safe-space-trigger-y-start",`${r.trigger.yStart}px`),this.host.style.setProperty("--post-safe-space-trigger-y-end",`${r.trigger.yEnd}px`))}render(){return o(r,{key:"f3ea4bfc9a59faa2fbf1e413a1ec648f598a6779","data-version":s,popover:"auto"},o("div",{key:"a328c73c7e08eca1e423fcbe736798188cca2a87",part:"post-popovercontainer-content",class:"popover-content"},this.arrow&&o("span",{key:"8fad0095fb8d8c903ba84a639b4efc3e321c6aef","dynamic-placement":this.dynamicPlacement,class:"arrow",ref:t=>{this.arrowRef=t}}),o("span",{key:"deadbcc5892ed545a64b4a0e5e0936e0dd1feb70",part:"post-popovercontainer-border-mask"}),o("slot",{key:"48c4db7ab222f3ef18157ce19d8ba15d75441f98"})))}get host(){return this}static get style(){return'@layer polyfill{@supports not selector(:popover-open){:host([popover]:not(.\\:popover-open)){display:none}}}:host{background-color:rgba(0,0,0,0);border:rgba(0,0,0,0);position:fixed;margin:0;padding:0;overflow:visible}:host>div{box-shadow:var(--post-device-elevation-300);width:max-content;max-width:100%;color:var(--post-current-fg);background-color:var(--post-current-bg);border-radius:4px;position:relative}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host>div{border:2px solid rgba(0,0,0,0)}}:host [part=post-popovercontainer-border-mask]{display:none;position:absolute;inset:0;border-radius:4px;pointer-events:none}:host .arrow{--post-popovercontainer-arrow-border: var(--post-popovercontainer-arrow-border-width, 0px) solid var(--post-popovercontainer-arrow-border-color, transparent);position:absolute;width:.5825rem;height:.5825rem;background-color:inherit;rotate:45deg;pointer-events:none;z-index:-1}:host .arrow[dynamic-placement=top]{border-bottom-right-radius:2px;border-bottom:var(--post-popovercontainer-arrow-border);border-right:var(--post-popovercontainer-arrow-border)}:host .arrow[dynamic-placement=right]{border-bottom-left-radius:2px;border-bottom:var(--post-popovercontainer-arrow-border);border-left:var(--post-popovercontainer-arrow-border)}:host .arrow[dynamic-placement=bottom]{border-top-left-radius:2px;border-top:var(--post-popovercontainer-arrow-border);border-left:var(--post-popovercontainer-arrow-border)}:host .arrow[dynamic-placement=left]{border-top-right-radius:2px;border-top:var(--post-popovercontainer-arrow-border);border-right:var(--post-popovercontainer-arrow-border)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .arrow[dynamic-placement=top]{border-block-end:2px solid rgba(0,0,0,0);border-inline-end:2px solid rgba(0,0,0,0);bottom:-0.3796735336rem !important}:host .arrow[dynamic-placement=left]{border-block-start:2px solid rgba(0,0,0,0);border-inline-end:2px solid rgba(0,0,0,0);right:-0.3796735336rem !important}:host .arrow[dynamic-placement=right]{border-block-end:2px solid rgba(0,0,0,0);border-inline-start:2px solid rgba(0,0,0,0);left:-0.3796735336rem !important}:host .arrow[dynamic-placement=bottom]{border-block-start:2px solid rgba(0,0,0,0);border-inline-start:2px solid rgba(0,0,0,0);top:-0.3796735336rem !important}}:host([tooltip]){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}:host([safe-space])::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:auto}:host([safe-space=triangle])::after{clip-path:polygon(var(--post-safe-space-cursor-x, 0) var(--post-safe-space-cursor-y, 0), var(--post-safe-space-popover-x-start, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-start, 0)), var(--post-safe-space-popover-x-end, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-end, 0)))}:host([safe-space=trapezoid])::after{clip-path:polygon(var(--post-safe-space-trigger-x-start, var(--post-safe-space-trigger-x, 0)) var(--post-safe-space-trigger-y, var(--post-safe-space-trigger-y-start, 0)), var(--post-safe-space-trigger-x-end, var(--post-safe-space-trigger-x, 0)) var(--post-safe-space-trigger-y, var(--post-safe-space-trigger-y-end, 0)), var(--post-safe-space-popover-x-end, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-end, 0)), var(--post-safe-space-popover-x-start, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-start, 0)))}:host(:not(:has(.arrow)))>div{box-shadow:var(--post-device-elevation-300)}:host(:has(.arrow))>div{filter:drop-shadow(1px 2px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(2px 4px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(4px 8px 12px hsla(225, 7%, 11%, 0.15))}:host(:has(.arrow[dynamic-placement=top]))>div{filter:drop-shadow(0px -2px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(0px -4px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(0px -8px 12px hsla(225, 7%, 11%, 0.15))}:host(:has(.arrow[dynamic-placement=left]))>div{filter:drop-shadow(-2px 0px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(-4px 0px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(-8px 0px 12px hsla(225, 7%, 11%, 0.15))}:host(:has(.arrow[dynamic-placement=right]))>div{filter:drop-shadow(2px 0px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(4px 0px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(8px 0px 12px hsla(225, 7%, 11%, 0.15))}'}},[257,"post-popovercontainer",{placement:[1],edgeGap:[2,"edge-gap"],offset:[2],arrow:[4],safeSpace:[513,"safe-space"],autoHide:[4,"auto-hide"],dynamicPlacement:[32],show:[64],hide:[64],toggle:[64]}]);function me(){"undefined"!=typeof customElements&&["post-popovercontainer"].forEach((t=>{"post-popovercontainer"===t&&(customElements.get(i(t))||customElements.define(i(t),de))}))}ue([a(l)],de.prototype,"placement",void 0),ue([c("number")],de.prototype,"edgeGap",void 0),ue([a(["triangle","trapezoid"])],de.prototype,"safeSpace",void 0),me();export{de as P,l as a,me as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as r,i as t,g as i,r as n}from"./p-
|
|
1
|
+
import{c as r,i as t,g as i,r as n}from"./p-DeO0rZ1T.js";function o(o){const s=r({priority:0,blocking:!0,validateEmptyValues:!0,run(r,n){if(o&&"string"==typeof o.when&&r[o.when]!==(o.truthy??!0))return!0;const{value:s,showError:e}=i(r,n);return!t(s)||(e("is required"),!1)}});return function(r,t){s(r,t),o?.when&&n(r,o.when,t)}}export{o as R}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function n(n,t,i,r,o=!1){if(!(n instanceof Event&&n.target instanceof HTMLElement))return!1;const s=n.target;if(o){if(!s.closest(t))return!1}else if(s.localName!==t)return!1;return!r||(f=i.localName,e(s,(n=>n.localName===f))===i);var f}function t(t,e){const i={ignoreNestedComponents:!0,allowDescendants:!1,...e};return function(e,r,o){if(o){const e=o.value;o.value=function(r){if(n(r,t,this.host,i.ignoreNestedComponents,i.allowDescendants))return e.call(this,r)}}else{const o=`__${r}_original`;Object.defineProperty(e,o,{writable:!0,configurable:!0}),Object.defineProperty(e,r,{get(){return this[o]},set(e){this[o]="function"==typeof e?r=>{if(n(r,t,this.host,i.ignoreNestedComponents))return e.call(this,r)}:e},configurable:!0,enumerable:!0})}}}function e(n,t){let e=n;for(;e;){if(t(e))return e;if(e.parentElement)e=e.parentElement;else{const n=e.parentNode;e=null!==n&&11===n.nodeType&&"host"in n?n.host:null}}return null}export{t as E,e as f}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as e,t as o}from"./index.js";import{v as n}from"./p-T8T3po4z.js";const i=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost()}connectedCallback(){this.host.dataset.version=n}get host(){return this}static get style(){return"post-menu-item button{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;width:100%}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button{background-color:ButtonFace !important}post-menu-item button:hover{background-color:Highlight !important}}post-menu-item button,post-menu-item a{position:relative;display:flex;align-items:center;padding:8px 12px 8px 16px;gap:12px;font-size:.875rem;color:#050400;border-radius:0;text-decoration:none}@media screen and (min-width: 780px){post-menu-item button,post-menu-item a{font-size:1rem;padding-block:12px;gap:16px}}@media screen and (min-width: 1024px){post-menu-item button,post-menu-item a{font-size:1.25rem;padding-block:13px}}post-menu-item button:focus-visible,post-menu-item a:focus-visible{outline-offset:2px !important;border-radius:4px}post-menu-item button:hover,post-menu-item a:hover{background-color:#504f4b;color:#fff}post-menu-item button post-icon,post-menu-item a post-icon{width:16px;height:16px;margin-block:4px}@media screen and (min-width: 780px){post-menu-item button post-icon,post-menu-item a post-icon{width:24px;height:24px;margin:0}}"}},[0,"post-menu-item"]);function s(){"undefined"!=typeof customElements&&["post-menu-item"].forEach((t=>{"post-menu-item"===t&&(customElements.get(o(t))||customElements.define(o(t),i))}))}s();export{i as P,s as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as e,h as o,a as i,t as r}from"./index.js";import"./p-DeO0rZ1T.js";import{f as n}from"./p-BEcxHjuM.js";import{v as c}from"./p-T8T3po4z.js";import{d as a}from"./p-CzsG0uCA.js";import{O as s}from"./p-CnN4Jdtv.js";import{R as d}from"./p-B2jsM_Ov.js";const l=[{predicate:t=>"post-banner"===t.localName,close:t=>{t.dismiss()}},{predicate:t=>"post-popover"===t.localName,close:t=>{t.hide()}},{predicate:t=>"post-popovercontainer"===t.localName,close:t=>{t.hide()}},{predicate:t=>"post-collapsible"===t.localName,close:t=>{t.toggle(!1)}},{predicate:t=>"post-accordion-item"===t.localName,close:t=>{t.toggle(!1)}},{predicate:t=>"dialog"===t.localName,close:t=>t.close()},{predicate:t=>t.hasAttribute("popover"),close:t=>t.togglePopover(!1)}];var b=function(t,e,o,i){var r,n=arguments.length,c=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(c=(n<3?r(c):n>3?r(e,o,c):r(e,o))||c);return n>3&&c&&Object.defineProperty(e,o,c),c};const v=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.internals=this.attachInternals(),this.buttonType="button",this.placement="auto",this.size="default",this.handleClick=()=>{const t=function(t){const e=n(t,(t=>l.some((e=>e.predicate(t)))));if(!e)return null;const o=l.find((t=>t.predicate(e)));return{element:e,close:()=>o.close(e)}}(this.host);t?.close()}}componentDidLoad(){globalThis.MutationObserver&&(this.mutationObserver=new MutationObserver(this.checkContent.bind(this)),this.mutationObserver.observe(this.host,{childList:!0})),this.checkContent()}disconnectedCallback(){this.mutationObserver&&this.mutationObserver.disconnect()}checkContent(){const t=this.visuallyHidden.querySelector("slot"),e=t?.assignedNodes({flatten:!0}).some((t=>t.textContent?.trim()));e||console.error(`The \`${this.host.localName}\` component requires content for accessibility.`)}render(){return o(i,{key:"b8e2214b904f5167fa3753aab947418891236fcf","data-version":c},o("button",{key:"224ca42d3be187062ba9717e4a534ff34eeafaf7",type:this.buttonType,class:"btn btn-icon btn-secondary btn-sm",onClick:this.handleClick},o("post-icon",{key:"5b289691599d6f9a3bb0fa7a28c71eecd1f5aee7","aria-hidden":"true",name:"closex"}),o("span",{key:"e22045f15b3dc8b8b228eb4282114e10db68b186",ref:t=>this.visuallyHidden=t,class:"visually-hidden"},o("slot",{key:"e492390c995a993ffc8988a1c90a41e59fbe39f5"}))))}static get formAssociated(){return!0}get host(){return this}static get style(){return".btn{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-size:var(--post-device-font-size-6);font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;min-height:var(--post-device-sizing-interactive-button-height-1);gap:var(--post-device-spacing-gap-inline-10);padding:0 var(--post-device-spacing-padding-inline-6)}.btn:not(:disabled):hover{text-decoration:none}.btn:disabled{border-style:var(--post-core-border-style-dash);cursor:unset}.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}.btn: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){.btn:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.btn: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){.btn: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){.btn{border-width:1px !important;transition:none}.btn:is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}.btn>post-icon{width:var(--post-device-sizing-interactive-button-icon-4);height:var(--post-device-sizing-interactive-button-icon-4)}.btn-primary{box-shadow:var(--post-device-elevation-100);border-color:var(--post-scheme-color-interactive-button-primary-enabled-stroke);color:var(--post-scheme-color-interactive-button-primary-enabled-fg);background-color:var(--post-scheme-color-interactive-button-primary-enabled-bg)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-primary:not(:disabled,.disabled):not(a.btn-tertiary.px-0):hover{background-color:Highlight !important}.btn-primary:not(:disabled,.disabled):not(a.btn-tertiary.px-0):hover>post-icon{color:HighlightText !important}}.btn-primary:disabled{border-color:var(--post-scheme-color-interactive-button-primary-disabled-stroke);color:var(--post-scheme-color-interactive-button-primary-disabled-fg);background-color:var(--post-scheme-color-interactive-button-primary-disabled-bg)}.btn-primary:not(:disabled):hover,.btn-primary.pretend-hover{border-color:var(--post-scheme-color-interactive-button-primary-hover-stroke);color:var(--post-scheme-color-interactive-button-primary-hover-fg);background-color:var(--post-scheme-color-interactive-button-primary-hover-bg)}.btn-default{box-shadow:var(--post-device-elevation-100);border-color:var(--post-scheme-color-interactive-button-secondary-enabled-stroke);color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);background-color:var(--post-scheme-color-interactive-button-secondary-enabled-bg)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-default:not(:disabled,.disabled):not(a.btn-tertiary.px-0):hover{background-color:Highlight !important}.btn-default:not(:disabled,.disabled):not(a.btn-tertiary.px-0):hover>post-icon{color:HighlightText !important}}.btn-default:disabled{border-color:var(--post-scheme-color-interactive-button-secondary-disabled-stroke);color:var(--post-scheme-color-interactive-button-secondary-disabled-fg);background-color:var(--post-scheme-color-interactive-button-secondary-disabled-bg)}.btn-default:not(:disabled):hover,.btn-default.pretend-hover{border-color:var(--post-scheme-color-interactive-button-secondary-hover-stroke);color:var(--post-scheme-color-interactive-button-secondary-hover-fg);background-color:var(--post-scheme-color-interactive-button-secondary-hover-bg)}.btn-secondary{box-shadow:var(--post-device-elevation-100);border-color:var(--post-scheme-color-interactive-button-secondary-enabled-stroke);color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);background-color:var(--post-scheme-color-interactive-button-secondary-enabled-bg)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-secondary:not(:disabled,.disabled):not(a.btn-tertiary.px-0):hover{background-color:Highlight !important}.btn-secondary:not(:disabled,.disabled):not(a.btn-tertiary.px-0):hover>post-icon{color:HighlightText !important}}.btn-secondary:disabled{border-color:var(--post-scheme-color-interactive-button-secondary-disabled-stroke);color:var(--post-scheme-color-interactive-button-secondary-disabled-fg);background-color:var(--post-scheme-color-interactive-button-secondary-disabled-bg)}.btn-secondary:not(:disabled):hover,.btn-secondary.pretend-hover{border-color:var(--post-scheme-color-interactive-button-secondary-hover-stroke);color:var(--post-scheme-color-interactive-button-secondary-hover-fg);background-color:var(--post-scheme-color-interactive-button-secondary-hover-bg)}.btn-tertiary{border-color:var(--post-scheme-color-interactive-button-tertiary-enabled-stroke);color:var(--post-scheme-color-interactive-button-tertiary-enabled-fg);background-color:var(--post-scheme-color-interactive-button-tertiary-enabled-bg)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-tertiary:not(:disabled,.disabled):not(a.btn-tertiary.px-0):hover{background-color:Highlight !important}.btn-tertiary:not(:disabled,.disabled):not(a.btn-tertiary.px-0):hover>post-icon{color:HighlightText !important}}.btn-tertiary:disabled{border-color:var(--post-scheme-color-interactive-button-tertiary-disabled-stroke);color:var(--post-scheme-color-interactive-button-tertiary-disabled-fg);background-color:var(--post-scheme-color-interactive-button-tertiary-disabled-bg)}.btn-tertiary:not(:disabled):hover,.btn-tertiary.pretend-hover{border-color:var(--post-scheme-color-interactive-button-tertiary-hover-stroke);color:var(--post-scheme-color-interactive-button-tertiary-hover-fg);background-color:var(--post-scheme-color-interactive-button-tertiary-hover-bg)}.btn-link{border-color:var(--post-scheme-color-interactive-button-tertiary-enabled-stroke);color:var(--post-scheme-color-interactive-button-tertiary-enabled-fg)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-link:disabled,.btn-link.disabled{text-decoration:none}}.btn-link:disabled{border-color:var(--post-scheme-color-interactive-button-tertiary-disabled-stroke);color:var(--post-scheme-color-interactive-button-tertiary-disabled-fg)}.btn-link:not(:disabled):hover,.btn-link.pretend-hover{border-color:var(--post-scheme-color-interactive-button-tertiary-hover-stroke);color:var(--post-scheme-color-interactive-button-tertiary-hover-fg)}.btn-sm{min-height:var(--post-device-sizing-interactive-button-height-4);gap:var(--post-device-spacing-gap-inline-11);padding:0 var(--post-device-spacing-padding-inline-7)}.btn-sm>post-icon{width:var(--post-device-sizing-interactive-button-icon-5);height:var(--post-device-sizing-interactive-button-icon-5)}.btn-lg{min-height:var(--post-device-sizing-interactive-button-height-2);gap:var(--post-device-spacing-gap-inline-1);padding:0 var(--post-device-spacing-padding-inline-5)}.btn-lg>post-icon{width:var(--post-device-sizing-interactive-button-icon-3);height:var(--post-device-sizing-interactive-button-icon-3)}.btn-link{-webkit-text-decoration:var(--post-core-text-decoration-underline);text-decoration:var(--post-core-text-decoration-underline);border:0 none;border-radius:0;min-height:0;font-size:inherit;font-weight:inherit;padding:0}.btn-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}.btn-link:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;border-radius:var(--post-device-border-radius-focus)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-link:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.btn-link:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;border-radius:var(--post-device-border-radius-focus)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-link:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.btn-link:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1)}.btn-icon{padding:0;width:var(--post-device-sizing-interactive-button-height-1);height:var(--post-device-sizing-interactive-button-height-1);min-height:0;vertical-align:text-bottom}.btn-icon.btn-link{width:var(--post-device-sizing-interactive-button-icon-4);height:var(--post-device-sizing-interactive-button-icon-4)}.btn-icon>post-icon{display:block;width:var(--post-device-sizing-interactive-button-icon-4);height:var(--post-device-sizing-interactive-button-icon-4)}.btn-icon.btn-sm{padding:0;width:var(--post-device-sizing-interactive-button-height-4);height:var(--post-device-sizing-interactive-button-height-4);min-height:0;vertical-align:text-bottom}.btn-icon.btn-sm.btn-link{width:var(--post-device-sizing-interactive-button-icon-5);height:var(--post-device-sizing-interactive-button-icon-5)}.btn-icon.btn-sm>post-icon{display:block;width:var(--post-device-sizing-interactive-button-icon-5);height:var(--post-device-sizing-interactive-button-icon-5)}.btn-icon.btn-lg{padding:0;width:var(--post-device-sizing-interactive-button-height-2);height:var(--post-device-sizing-interactive-button-height-2);min-height:0;vertical-align:text-bottom}.btn-icon.btn-lg.btn-link{width:var(--post-device-sizing-interactive-button-icon-3);height:var(--post-device-sizing-interactive-button-icon-3)}.btn-icon.btn-lg>post-icon{display:block;width:var(--post-device-sizing-interactive-button-icon-3);height:var(--post-device-sizing-interactive-button-icon-3)}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}:host .btn{background-color:var(--post-scheme-color-interactive-primary-enabled-bg1)}:host .btn:not(:disabled):hover,:host .btn.pretend-hover{background-color:var(--post-scheme-color-interactive-primary-hover-bg)}:host(:not([placement])),:host([placement=auto]){position:absolute;inset-block-start:0;inset-inline-end:0;transform:translate(50%, -50%)}:host([size=small]) .btn{height:var(--post-device-sizing-interactive-button-height-7);width:var(--post-device-sizing-interactive-button-height-7)}"}},[321,"post-closebutton",{buttonType:[1,"button-type"],placement:[513],size:[513]}]);function h(){"undefined"!=typeof customElements&&["post-closebutton","post-icon"].forEach((t=>{switch(t){case"post-closebutton":customElements.get(r(t))||customElements.define(r(t),v);break;case"post-icon":customElements.get(r(t))||a()}}))}b([s(["button","reset"])],v.prototype,"buttonType",void 0),b([d(),s(["manual","auto"])],v.prototype,"placement",void 0),b([d(),s(["default","small"])],v.prototype,"size",void 0),h();export{v as P,h as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as t,g as r}from"./p-
|
|
1
|
+
import{c as t,g as r}from"./p-DeO0rZ1T.js";function o(){return t({priority:1,blocking:!1,run(t,o){const{value:n,showError:s}=r(t,o);let e="string"==typeof n||n instanceof URL;if(e)try{new URL(n,"https://www.post.ch")}catch{e=!1}return!!e||(s("must be a valid URL"),!1)}})}export{o as U}
|