@swisspost/design-system-components 10.5.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/{create-validator-decorator-u-Byhihe.js → create-validator-decorator-Cy5yN6u9.js} +1 -1
- package/dist/cjs/{index-CXnlZiX8.js → index-B3PXzvDk.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{one-of-LGG0uEIi.js → one-of-CRFrfihj.js} +1 -1
- package/dist/cjs/{package-DdU-rENe.js → package-pKyFPwiA.js} +1 -1
- package/dist/cjs/{pattern-B-csvfNt.js → pattern-D329DFcf.js} +1 -1
- package/dist/cjs/post-accordion_2.cjs.entry.js +5 -5
- package/dist/cjs/post-autocomplete.cjs.entry.js +5 -5
- package/dist/cjs/post-avatar.cjs.entry.js +6 -6
- package/dist/cjs/post-back-to-top.cjs.entry.js +5 -5
- package/dist/cjs/post-banner.cjs.entry.js +4 -4
- package/dist/cjs/post-breadcrumb-item.cjs.entry.js +32 -10
- package/dist/cjs/post-breadcrumbs.cjs.entry.js +158 -58
- package/dist/cjs/post-closebutton_14.cjs.entry.js +49 -45
- package/dist/cjs/post-collapsible_2.cjs.entry.js +7 -7
- package/dist/cjs/post-components.cjs.js +2 -2
- package/dist/cjs/post-date-picker.cjs.entry.js +17 -15
- package/dist/cjs/post-footer.cjs.entry.js +7 -7
- package/dist/cjs/post-linkarea.cjs.entry.js +3 -3
- package/dist/cjs/post-listbox-option.cjs.entry.js +4 -4
- package/dist/cjs/post-listbox.cjs.entry.js +3 -3
- package/dist/cjs/post-number-input.cjs.entry.js +4 -4
- package/dist/cjs/post-pagination.cjs.entry.js +5 -5
- package/dist/cjs/post-popover-trigger.cjs.entry.js +6 -6
- package/dist/cjs/post-popover.cjs.entry.js +9 -9
- package/dist/cjs/post-progressbar.cjs.entry.js +4 -4
- package/dist/cjs/post-rating.cjs.entry.js +6 -6
- package/dist/cjs/post-side-navigation-trigger.cjs.entry.js +6 -6
- package/dist/cjs/post-side-navigation.cjs.entry.js +7 -7
- package/dist/cjs/post-stepper-item.cjs.entry.js +3 -3
- package/dist/cjs/post-stepper.cjs.entry.js +7 -7
- package/dist/cjs/post-tab-item.cjs.entry.js +6 -6
- package/dist/cjs/post-tab-panel.cjs.entry.js +6 -6
- package/dist/cjs/post-tabs.cjs.entry.js +8 -8
- package/dist/cjs/post-tooltip-trigger.cjs.entry.js +7 -7
- package/dist/cjs/post-tooltip.cjs.entry.js +5 -5
- package/dist/cjs/{required-bJzxBV-V.js → required-DhAEd0c7.js} +1 -1
- package/dist/cjs/{type-CGPnqGY1.js → type-2Ma9dvHs.js} +1 -1
- package/dist/cjs/{url-Dxdd6tWj.js → url-DePscsTj.js} +1 -1
- package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.css +1 -1
- package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.js +30 -3
- package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.css +1 -1
- package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.js +184 -57
- package/dist/collection/components/post-closebutton/post-closebutton.js +1 -1
- package/dist/collection/components/post-collapsible/post-collapsible.js +1 -1
- package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +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-linkarea/post-linkarea.js +1 -1
- package/dist/collection/components/post-listbox/post-listbox.js +1 -1
- package/dist/collection/components/post-listbox-option/post-listbox-option.js +2 -2
- package/dist/collection/components/post-logo/post-logo.js +1 -1
- package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +1 -1
- package/dist/collection/components/post-megadropdown/post-megadropdown.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 +1 -1
- 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.js +3 -3
- package/dist/collection/components/post-popover-trigger/post-popover-trigger.js +2 -2
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +26 -22
- 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.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 +1 -1
- package/dist/collection/components/post-tooltip-trigger/post-tooltip-trigger.js +2 -2
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/components/package.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-CoCua20S.js → p-3RU9XwVO.js} +1 -1
- package/dist/components/react/p-B1TcktiB.js +1 -0
- package/dist/components/react/p-BN2dfUQ0.js +1 -0
- package/dist/components/react/{p-CuVhOs8F.js → p-BPUhha1U.js} +1 -1
- package/dist/components/react/{p-PYoaz_Xl.js → p-Bnb_TyDh.js} +1 -1
- package/dist/components/react/{p-CLeWLMJn.js → p-CcDLIogT.js} +1 -1
- package/dist/components/react/{p-DD-Sl3Ji.js → p-CdggfEzz.js} +1 -1
- package/dist/components/react/{p-DasK590W.js → p-CzsG0uCA.js} +1 -1
- package/dist/components/react/{p-C8vlYfD-.js → p-DffT6evQ.js} +1 -1
- package/dist/components/react/p-T8T3po4z.js +1 -0
- package/dist/components/react/{p-DiFAKI9o.js → p-WXzzOdnl.js} +1 -1
- package/dist/components/react/{p-D3rq_-Qk.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 +57 -12
- package/dist/esm/{create-validator-decorator-CbYxqPSB.js → create-validator-decorator-C2XlYkNB.js} +1 -1
- package/dist/esm/{index-D3NdvMgy.js → index-BjziJWh2.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{one-of-Mx4vYjem.js → one-of-Do1iao-k.js} +1 -1
- package/dist/esm/{package-Ny5VnydI.js → package-T8T3po4z.js} +1 -1
- package/dist/esm/{pattern-CqQVrJPN.js → pattern-BZDucOTq.js} +1 -1
- package/dist/esm/post-accordion_2.entry.js +5 -5
- package/dist/esm/post-autocomplete.entry.js +5 -5
- package/dist/esm/post-avatar.entry.js +6 -6
- package/dist/esm/post-back-to-top.entry.js +5 -5
- package/dist/esm/post-banner.entry.js +4 -4
- package/dist/esm/post-breadcrumb-item.entry.js +32 -10
- package/dist/esm/post-breadcrumbs.entry.js +158 -58
- package/dist/esm/post-closebutton_14.entry.js +49 -45
- package/dist/esm/post-collapsible_2.entry.js +7 -7
- package/dist/esm/post-components.js +3 -3
- package/dist/esm/post-date-picker.entry.js +17 -15
- package/dist/esm/post-footer.entry.js +7 -7
- package/dist/esm/post-linkarea.entry.js +3 -3
- package/dist/esm/post-listbox-option.entry.js +4 -4
- package/dist/esm/post-listbox.entry.js +3 -3
- package/dist/esm/post-number-input.entry.js +4 -4
- package/dist/esm/post-pagination.entry.js +5 -5
- package/dist/esm/post-popover-trigger.entry.js +6 -6
- package/dist/esm/post-popover.entry.js +9 -9
- package/dist/esm/post-progressbar.entry.js +4 -4
- package/dist/esm/post-rating.entry.js +6 -6
- package/dist/esm/post-side-navigation-trigger.entry.js +6 -6
- package/dist/esm/post-side-navigation.entry.js +7 -7
- package/dist/esm/post-stepper-item.entry.js +3 -3
- package/dist/esm/post-stepper.entry.js +7 -7
- package/dist/esm/post-tab-item.entry.js +6 -6
- package/dist/esm/post-tab-panel.entry.js +6 -6
- package/dist/esm/post-tabs.entry.js +8 -8
- package/dist/esm/post-tooltip-trigger.entry.js +7 -7
- package/dist/esm/post-tooltip.entry.js +5 -5
- package/dist/esm/{required-CxvSCYJj.js → required-B0X7uy13.js} +1 -1
- package/dist/esm/{type-CYB7_Yi8.js → type-CF1dOg6D.js} +1 -1
- package/dist/esm/{url-DOwgyBfp.js → url-BL7d6iWZ.js} +1 -1
- package/dist/post-components/{p-4e2bb082.entry.js → p-0e922531.entry.js} +1 -1
- package/dist/post-components/{p-e8c19f72.entry.js → p-1ec27142.entry.js} +1 -1
- package/dist/post-components/{p-ffec1880.entry.js → p-2005eb98.entry.js} +1 -1
- package/dist/post-components/{p-894b20dd.entry.js → p-2cff5b3a.entry.js} +1 -1
- package/dist/post-components/p-53bd2128.entry.js +1 -0
- package/dist/post-components/{p-2379e498.entry.js → p-59b30e90.entry.js} +1 -1
- package/dist/post-components/{p-a9223467.entry.js → p-60550edb.entry.js} +1 -1
- package/dist/post-components/p-655ded00.entry.js +1 -0
- package/dist/post-components/{p-030bfaa1.entry.js → p-76cc3c9a.entry.js} +1 -1
- package/dist/post-components/{p-44718c1a.entry.js → p-8012cc3b.entry.js} +1 -1
- package/dist/post-components/{p-1d67c427.entry.js → p-819c93de.entry.js} +1 -1
- package/dist/post-components/p-840acd3c.entry.js +1 -0
- package/dist/post-components/{p-781efeb8.entry.js → p-87b1034f.entry.js} +1 -1
- package/dist/post-components/{p-e8268a8d.entry.js → p-88f754e9.entry.js} +1 -1
- package/dist/post-components/p-9S_5_Zh8.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-sgCfAEQU.js → p-DgnQe03V.js} +1 -1
- package/dist/post-components/p-DlKbBdcP.js +1 -0
- package/dist/post-components/p-T8T3po4z.js +1 -0
- package/dist/post-components/{p-2cb843f4.entry.js → p-a32d3050.entry.js} +1 -1
- package/dist/post-components/p-b4229624.entry.js +1 -0
- package/dist/post-components/{p-2ee255c1.entry.js → p-b9faa76b.entry.js} +1 -1
- package/dist/post-components/{p-b856263a.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-5a44b217.entry.js → p-ccf8020b.entry.js} +1 -1
- 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-e7f97f6d.entry.js → p-d7c9a969.entry.js} +1 -1
- package/dist/post-components/{p-9ad2216e.entry.js → p-db11f781.entry.js} +1 -1
- package/dist/post-components/p-dc285087.entry.js +1 -0
- package/dist/post-components/{p-b6e231a8.entry.js → p-de6f1816.entry.js} +1 -1
- package/dist/post-components/p-dec8bd99.entry.js +1 -0
- package/dist/post-components/{p-665d877f.entry.js → p-f9a8ee94.entry.js} +1 -1
- package/dist/post-components/post-components.css +2 -2
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/types/components/post-breadcrumb-item/post-breadcrumb-item.d.ts +8 -1
- package/dist/types/components/post-breadcrumbs/post-breadcrumbs.d.ts +39 -22
- package/dist/types/components.d.ts +18 -7
- package/hydrate/index.js +274 -137
- package/hydrate/index.mjs +274 -137
- package/package.json +28 -20
- package/dist/components/react/p-0nNMdSBr.js +0 -1
- package/dist/components/react/p-Ny5VnydI.js +0 -1
- package/dist/components/react/p-SBBBSmJM.js +0 -1
- package/dist/post-components/p-29e6c2a4.entry.js +0 -1
- package/dist/post-components/p-3a75186d.entry.js +0 -1
- package/dist/post-components/p-65e12f2c.entry.js +0 -1
- package/dist/post-components/p-795eb5ad.entry.js +0 -1
- package/dist/post-components/p-BmpkvdQk.js +0 -1
- package/dist/post-components/p-C-FunIfQ.js +0 -1
- package/dist/post-components/p-CCciE4QO.js +0 -1
- package/dist/post-components/p-D3NdvMgy.js +0 -2
- package/dist/post-components/p-Ny5VnydI.js +0 -1
- package/dist/post-components/p-X1vWfzMK.js +0 -1
- package/dist/post-components/p-c7a39444.entry.js +0 -1
- package/dist/post-components/p-cGcyMrvx.js +0 -1
- package/dist/post-components/p-cde00944.entry.js +0 -1
- package/dist/post-components/p-cf7493ab.entry.js +0 -1
- package/dist/post-components/p-e463e7ac.entry.js +0 -1
- package/dist/post-components/p-ecfc494e.entry.js +0 -1
- package/dist/post-components/p-eda4a376.entry.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 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:"
|
|
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}@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:var(--post-header-height);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,l=(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)}}))},c=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},p=(t,e)=>e in t,d=(t,e)=>(0,console.error)(t,e),v=new Map,u="s-id",f="sty-id",h="c-id",g="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,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!!b.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),$=!!k&&(()=>!!b.document&&Object.getOwnPropertyDescriptor(b.document.adoptedStyleSheets,"length").writable)(),z=!1,x=[],j=[],O=(t,e)=>o=>{t.push(o),z||(z=!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){d(t)}t.length=0},H=()=>{S(x),S(j),(z=x.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!==b.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 I=t=>{const e=B(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&L(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!R(t,F(t),!1).length)}));let o=0;for(o=0;o<e.length;o++){const t=e[o];1===t.nodeType&&B(t,"childNodes").length&&I(t)}};function L(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,...L(i.childNodes,e,o)]}return s}var R=(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},_=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,D=(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=B(s,"appendChild");if(void 0!==i){n["s-oo"]=i;const t=B(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 T(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 B(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(!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!=(o=y.v)?o:function(){var t,e,o;return null!=(o=null==(e=null==(t=b.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}();if(null!=l&&n.setAttribute("nonce",l),!(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 l=[],c=e=>{for(let o=0;o<e.length;o++)i=e[o],Array.isArray(i)?c(i):null!=i&&"boolean"!=typeof i&&((a="function"!=typeof t&&!Y(i))&&(i+=""),a&&r?l[l.length-1].h+=i:l.push(a?Z(null,i):i),r=a)};if(c(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,l,K);const p=Z(t,null);return p.m=e,l.length>0&&(p.k=l),p.$=n,p.j=s,p},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 l,c,p,d;if(1===s.nodeType){if(l=s.getAttribute(h),l&&(c=l.split("."),c[0]===a||"0"===c[0])){p=ot({l:0,H:c[0],N:c[1],C:c[2],M:c[3],O:s.tagName.toLowerCase(),S:s,m:{class:s.className||""}}),e.push(p),s.removeAttribute(h),t.k||(t.k=[]);const n=p.S.getAttribute("s-sn");"string"==typeof n&&("slot-fb"===p.O&&it(n,c[2],p,s,t,e,o,i,r),p.S["s-sn"]=n,p.S.removeAttribute("s-sn")),void 0!==p.M&&(t.k[p.M]=p),t=p,i&&"0"===p.C&&(i[p.M]=p.S)}if(s.shadowRoot)for(d=s.shadowRoot.childNodes.length-1;d>=0;d--)tt(t,e,o,i,n,s.shadowRoot.childNodes[d],a,r);const v=s.__childNodes||s.childNodes;for(d=v.length-1;d>=0;d--)tt(t,e,o,i,n,v[d],a,r)}else if(8===s.nodeType)c=s.nodeValue.split("."),(c[1]===a||"0"===c[1])&&(l=c[0],p=ot({H:c[1],N:c[2],C:c[3],M:c[4]||"0",S:s,m:null,k:null,$: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,e.push(p),s.remove(),a===p.H&&(t.k||(t.k=[]),t.k[p.M]=p),i&&"0"===p.C&&(i[p.M]=p.S))):"c"===l?(p.S=rt(s,8),p.S&&8===p.S.nodeType&&(e.push(p),s.remove())):p.H===a&&("s"===l?it(s["s-sn"]=c[5]||"",c[2],p,s,t,e,o,i,r):"r"===l&&(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,l){i["s-sr"]=!0,o.j=t||null,o.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=o.S=b.document.createElement(o.O);o.j&&o.S.setAttribute("name",t),n.S.shadowRoot&&c&&c!==o.H?B(n.S,"insertBefore")(s,B(n.S,"children")[0]):B(B(i,"parentNode"),"insertBefore")(s,i),at(l,e,t,i,o.H),i.remove(),"0"===o.C&&(r[o.M]=o.S)}else{const s=o.S,a=c&&c!==o.H&&n.S.shadowRoot;at(l,e,t,i,a?c:o.H),T(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},lt=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))}},ct=(t,e,o)=>"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&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,pt=t=>t,dt=(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=p(t,e),l=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&&_t(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=c(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 c=!1;l!==(l=l.replace(/^xlink\:?/,""))&&(e=l,c=!0),null==i||!1===i?!1===i&&""!==t.getAttribute(e)||(c?t.removeAttributeNS(g,e):t.removeAttribute(e)):(!r||4&s||n)&&!a&&1===t.nodeType&&(i=!0===i?"":i,c?t.setAttributeNS(g,e,i):t.setAttribute(e,i))}}else if(e="-"===e[2]?e.slice(3):p(b,l)?l.slice(2):l[2]+e.slice(3),o||i){const n=e.endsWith(gt);e=e.replace(mt,""),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):[]),gt="Capture",mt=RegExp(gt+"$"),bt=(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,zt=!1,xt=[],jt=[],Ot=(t,e,o)=>{var i;const n=e.k[o];let s,a,r,l=0;if(yt||($t=!0,"slot"===n.O&&(n.l|=n.k?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,zt);else{if(zt||(zt="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(zt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!yt&&2&n.l?"slot-fb":n.O),zt&&"foreignObject"===n.O&&(zt=!1),bt(null,n,zt),n.k){const e="template"===n.O?s.content:s;for(l=0;l<n.k.length;++l)a=Ot(t,n,l),a&&e.appendChild(a)}"svg"===n.O?zt=!1:"foreignObject"===s.tagName&&(zt=!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,T(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"]&&(Dt(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"]&&(Dt(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,Dt(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;Rt(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 l;null==r?(zt="svg"===a||"foreignObject"!==a&&zt,"slot"!==a||yt||t.j!==e.j&&(e.S["s-sn"]=e.j||"",St(e.S.parentElement)),bt(t,e,zt,o),null!==n&&null!==s?((t,e,o,i,n=!1)=>{let s,a,r=0,l=0,c=0,p=0,d=e.length-1,v=e[0],u=e[d],f=i.length-1,h=i[0],g=i[f];const m="template"===o.O?t.content:t;for(;r<=d&&l<=f;)if(null==v)v=e[++r];else if(null==u)u=e[--d];else if(null==h)h=i[++l];else if(null==g)g=i[--f];else if(Et(v,h,n))At(v,h,n),v=e[++r],h=i[++l];else if(Et(u,g,n))At(u,g,n),u=e[--d],g=i[--f];else if(Et(v,g,n))"slot"!==v.O&&"slot"!==g.O||Ht(v.S.parentNode,!1),At(v,g,n),Dt(m,v.S,u.S.nextSibling),v=e[++r],g=i[--f];else if(Et(u,h,n))"slot"!==v.O&&"slot"!==g.O||Ht(u.S.parentNode,!1),At(u,h,n),Dt(m,u.S,v.S),u=e[--d],h=i[++l];else{for(c=-1,p=r;p<=d;++p)if(e[p]&&null!==e[p].$&&e[p].$===h.$){c=p;break}c>=0?(a=e[c],a.O!==h.O?s=Ot(e&&e[l],o,c):(At(a,h,n),e[c]=void 0,s=a.S),h=i[++l]):(s=Ot(e&&e[l],o,l),h=i[++l]),s&&Dt(Mt(v.S).parentNode,s,Mt(v.S))}r>d?Nt(t,null==i[f+1]?null:i[f+1].S,o,i,l,f):l>f&&Ct(e,r,d)})(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),zt&&"svg"===a&&(zt=!1)):(l=i["s-cr"])?l.parentNode.textContent=r:t.h!==r&&(i.data=r)},It=[],Lt=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(_(e,n)){let o=It.find((t=>t.A===e));kt=!0,e["s-sn"]=e["s-sn"]||n,o?(o.A["s-sh"]=t["s-hn"],o.I=t):(e["s-sh"]=t["s-hn"],It.push({I:t,A:e})),e["s-sr"]&&It.map((t=>{_(t.A,e["s-sn"])&&(o=It.find((t=>t.A===e)),o&&!t.I&&(t.I=o.I))}))}else It.some((t=>t.A===e))||It.push({A:e})}1===t.nodeType&&Lt(t)}},Rt=t=>{t.m&&t.m.ref&&xt.push((()=>t.m.ref(null))),t.k&&t.k.map(Rt)},_t=(t,e)=>{jt.push((()=>t(e)))},Dt=(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:L(B(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 l=t.$hostElement$,c=t.o,p=t.L||Z(null,null),d=(t=>t&&t.O===G)(e)?e:J(null,null,e);if(st=l.tagName,c.R&&(d.m=d.m||{},c.R.forEach((([t,e])=>{d.m[e]=l[t]}))),o&&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.L=d,d.S=p.S=l.shadowRoot||l,yt=!(!(1&c.l)||128&c.l),nt=l["s-cr"],kt=!1,At(p,d,o),y.l|=1,$t){Lt(d.S);for(const t of It){const e=t.A;if(!e["s-ol"]&&b.document){const t=b.document.createTextNode("");t["s-nr"]=e,Dt(e.parentNode,e["s-ol"]=t,e,o)}}for(const t of It){const e=t.A,r=t.I;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(Dt(t,e,i,o),8===e.nodeType&&e.nodeValue.startsWith("s-nt-")){const t=b.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,Dt(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&&I(d.S),y.l&=-2,It.length=0,!yt&&!(1&c.l)&&l["s-cr"]){const t=d.S.__childNodes||d.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=b.document.createComment("s-nt-"+e.nodeValue);t["s-sn"]=e["s-sn"],Dt(e.parentNode,t,e,o),e.parentNode.removeChild(e)}}nt=void 0,xt.forEach((t=>t())),xt.length=0,jt.forEach((t=>t())),jt.length=0},Tt=(t,e)=>{if(e&&!t._&&e["s-p"]){const o=e["s-p"].push(new Promise((i=>t._=()=>{e["s-p"].splice(o-1,1),i()})))}},Bt=(t,e)=>{if(t.l|=16,4&t.l)return void(t.l|=512);Tt(t,t.D);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){d(e,t.$hostElement$)}return null},Yt=t=>{const e=t.$hostElement$,o=e,i=t.D;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._&&(t._(),t._=void 0),512&t.l&&N((()=>Bt(t,!1))),t.l&=-517},Jt=()=>{var t;N((()=>vt(b,"appload",{detail:{namespace:"post-components"}}))),(null==(t=y.T)?void 0:t.size)&&y.T.clear()},Zt=(t,e,o,i)=>{if(t&&t[e])try{return t[e](o)}catch(t){d(t,i)}},Gt=t=>t.setAttribute(null!="data-hydrated"?"data-hydrated":"hydrated",""),Kt=(t,e,o,i)=>{const n=c(t);if(!n)return;const s=t,a=n.i.get(e),r=n.l,l=s;if(!((o=ct(o,i.t[e][0],!!(64&i.l)))===a||Number.isNaN(a)&&Number.isNaN(o))){if(n.i.set(e,o),i.B){const t=i.B[e];t&&t.map((t=>{try{const[[i,s]]=Object.entries(t);(128&r||1&s)&&(l?l[i](o,a,e):n.U.push((()=>{n.V[i](o,a,e)})))}catch(t){d(t,s)}}))}if(2&r){if(l.componentShouldUpdate&&!1===l.componentShouldUpdate(o,a,e)&&!(16&r))return;16&r||Bt(n,!1)}}},Qt=(t,e,o)=>{var i,n;const s=t.prototype;64&e.l&&1&o&&m.forEach((t=>{const e=s[t];Object.defineProperty(s,t,{value(...o){var i;const n=c(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.B&&(e.B=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)=>c(this).i.get(e))(0,t)},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(i){const s=c(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,ct(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 l=i.get(t),p=c(this);if(this.hasOwnProperty(l),s.hasOwnProperty(l)&&"number"==typeof this[l]&&this[l]==a)return;if(null==l){const o=null==p?void 0:p.l;if(p&&o&&!(8&o)&&a!==n){const i=this,s=null==(r=e.B)?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 d=o.find((([t])=>t===l));d&&4&d[1][0]&&(a=null!==a&&"false"!==a);const v=Object.getOwnPropertyDescriptor(s,l);a==this[l]||v.get&&!v.set||(this[l]=a)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(n=e.B)?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.R)||n.push([t,s])),s}))]))}}return t},Xt=t=>{if(!b.document)return;const e=t["s-cr"]=b.document.createComment("");e["s-cn"]=!0,Dt(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.B=t.B,o.W=t.W,o.q=t.q,o.R=[],(()=>{if(!b.document)return;const t=b.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&&l(t,o)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=c(this);if(!t)return;ee(this,t,o.Y),this.__hasHostListenerAttached=!0}(t=>{if(!(1&y.l)){const e=c(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 l=t.shadowRoot,p=[],d=[],v=l?[]:null,f=Z(e,null);f.S=t,!b.document||y.T&&y.T.size||et(b.document.body,y.T=new Map),t[u]=o,t.removeAttribute(u),i.L=tt(f,p,[],v,t,t,o,d);let h=0;const g=p.length;let m;for(;h<g;h++){m=p[h];const o=m.H+"."+m.N,i=y.T.get(o),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 e=W(t.o),o=b.document.querySelector(`style[sty-id="${e}"]`);o&&v.unshift(o.cloneNode(!0))}}}else s["s-hn"]=e.toUpperCase(),"slot"===m.O&&(s["s-cr"]=t["s-cr"]);"slot"===m.O&&(m.j=m.S["s-sn"]||m.S.name||null,m.k?(m.l|=2,m.S.childNodes.length||m.k.forEach((t=>{m.S.appendChild(t.S)}))):m.l|=1),i&&i.isConnected&&(i.parentElement.shadowRoot&&""===i["s-en"]&&i.parentNode.insertBefore(s,i.nextSibling),i.parentNode.removeChild(i),l||(s["s-oo"]=parseInt(m.N))),i&&!i["s-id"]&&y.T.delete(o)}const w=[],k=d.length;let $,z,x,j,O=0,S=0;for(;O<k;O++)if($=d[O],$&&$.length)for(x=$.length,z=0;z<x;z++){if(j=$[z],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=$[z-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 e=0;const o=v.length;if(o){for(;e<o;e++){const t=v[e];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))}))}}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"]){Tt(e,e.D=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.D,s=()=>Bt(e,!0);n&&n["s-rc"]?n["s-rc"].push(s):s()}catch(o){d(o,t),e._&&(e._(),e._=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=c(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 d(e),t}},ee=(t,e,o)=>{o&&b.document&&o.map((([o,i,n])=>{const s=ie(b.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){d(e,t.$hostElement$)}},ie=(t,e,o)=>4&o?t:8&o?b: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 le(t){return t}export{w as H,G as a,dt as c,pt as g,E as getAssetPath,J as h,te as p,re as render,M as setAssetPath,se as setNonce,ae as setPlatformOptions,le 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-DeO0rZ1T.js";import{v as r}from"./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{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}
|
|
@@ -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}
|
|
@@ -1 +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-Ny5VnydI.js";import{d as a}from"./p-DasK590W.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:"f46ba6cbd82793b2a3d3a72c2f89236f0904eb68","data-version":c},o("button",{key:"d014e76ccce88a087f8dd9caaac002eb09f64699",type:this.buttonType,class:"btn btn-icon btn-secondary btn-sm",onClick:this.handleClick},o("post-icon",{key:"442305b327aabe61f259b98694118ec1b4ed2f09","aria-hidden":"true",name:"closex"}),o("span",{key:"530149339a2a983d1e5d23c149abd0faf6f912b5",ref:t=>this.visuallyHidden=t,class:"visually-hidden"},o("slot",{key:"b90d5bea08c70c6df33dc5fc74bcf06eb2b6cd14"}))))}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
|
+
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}
|