@proximus/lavender-light 1.4.3-beta.2 → 1.4.3
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t,e,i,o,r,a,n,s,l,d,p,c,b,u,g=t=>{throw TypeError(t)},h=(t,e,i)=>e.has(t)||g("Cannot "+i),m=(t,e,i)=>(h(t,e,"read from private field"),i?i.call(t):e.get(t)),x=(t,e,i)=>e.has(t)?g("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,i),v=(t,e,i,o)=>(h(t,e,"write to private field"),o?o.call(t,i):e.set(t,i),i),f=(t,e,i)=>(h(t,e,"access private method"),i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var k="undefined"!=typeof document?document.currentScript:null;const y="h1,.style-title-4xl,::slotted(h1),h2,.style-title-3xl,::slotted(h2),h3,.style-title-2xl,::slotted(h3),h4,.style-title-xl,::slotted(h4),h5,.style-title-l,::slotted(h5),h6,.style-title-m,::slotted(h6),.style-title-s,.style-subtitle{margin:0;font-family:var(--px-font-family);color:var(--heading-color-default, var(--px-color-text-brand-default));text-align:var(--heading-text-align--mobile, left);font-size:var(--px-text-size-heading-s-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-title)}::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-bottom:var(--px-spacing-heading-to-content-mobile)}:host([inverted]) h1,:host([inverted]) .style-title-4xl,:host([inverted]) ::slotted(h1),:host([inverted]) h2,:host([inverted]) .style-title-3xl,:host([inverted]) ::slotted(h2),:host([inverted]) h3,:host([inverted]) .style-title-2xl,:host([inverted]) ::slotted(h3),:host([inverted]) h4,:host([inverted]) .style-title-xl,:host([inverted]) ::slotted(h4),:host([inverted]) h5,:host([inverted]) .style-title-l,:host([inverted]) ::slotted(h5),:host([inverted]) h6,:host([inverted]) .style-title-m,:host([inverted]) ::slotted(h6),:host([inverted]) .style-title-s,:host([inverted]) .style-subtitle{color:var(--heading-color-inverted, var(--px-color-text-brand-inverted))}h1,.style-title-4xl,::slotted(h1){font-size:var(--px-text-size-heading-3xl-mobile);line-height:var(--px-line-height-ratio-s);font-weight:var(--px-font-weight-title-large)}h2,.style-title-3xl,::slotted(h2){font-size:var(--px-text-size-heading-2xl-mobile);line-height:var(--px-line-height-ratio-s);font-weight:var(--px-font-weight-title-large)}h3,.style-title-2xl,::slotted(h3){font-size:var(--px-text-size-heading-xl-mobile);line-height:var(--px-line-height-ratio-s)}h4,.style-title-xl,::slotted(h4){font-size:var(--px-text-size-heading-l-mobile)}h5,.style-title-l,::slotted(h5){font-size:var(--px-text-size-heading-m-mobile)}h6,.style-title-m,::slotted(h6){font-size:var(--px-text-size-heading-base-mobile)}.style-subtitle{font-size:var(--px-text-size-heading-l-mobile);font-weight:var(--px-font-weight-subtitle)}.style-title-s{font-size:var(--px-text-size-heading-s-mobile)}@media only screen and (min-width: 768px){::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-bottom:var(--px-spacing-heading-to-content-tablet)}h1,.style-title-4xl,::slotted(h1),h2,.style-title-3xl,::slotted(h2),h3,.style-title-2xl,::slotted(h3),h4,.style-title-xl,::slotted(h4),h5,.style-title-l,::slotted(h5),h6,.style-title-m,::slotted(h6),.style-title-s,.style-subtitle{text-align:var(--heading-text-align--tablet, left)}h1,.style-title-4xl,::slotted(h1){font-size:var(--px-text-size-heading-5xl-desktop)}h2,.style-title-3xl,::slotted(h2){font-size:var(--px-text-size-heading-4xl-desktop)}h3,.style-title-2xl,::slotted(h3){font-size:var(--px-text-size-heading-2xl-desktop)}h4,.style-title-xl,::slotted(h4){font-size:var(--px-text-size-heading-xl-desktop)}h5,.style-title-l,::slotted(h5){font-size:var(--px-text-size-heading-l-desktop)}h6,.style-title-m,::slotted(h6){font-size:var(--px-text-size-heading-m-desktop)}.style-title-s{font-size:var(--px-text-size-heading-base-desktop)}.style-subtitle{font-size:var(--px-text-size-heading-xl-desktop)}}@media only screen and (min-width: 1025px){::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-bottom:var(--px-spacing-heading-to-content-laptop)}h1,.style-title-4xl,::slotted(h1),h2,.style-title-3xl,::slotted(h2),h3,.style-title-2xl,::slotted(h3),h4,.style-title-xl,::slotted(h4),h5,.style-title-l,::slotted(h5),h6,.style-title-m,::slotted(h6),.style-title-s,.style-subtitle{text-align:var(--heading-text-align--laptop, left)}h1,.style-title-4xl,::slotted(h1){font-size:var(--px-text-size-heading-5xl-desktop)}h2,.style-title-3xl,::slotted(h2){font-size:var(--px-text-size-heading-4xl-desktop)}h3,.style-title-2xl,::slotted(h3){font-size:var(--px-text-size-heading-2xl-desktop)}h4,.style-title-xl,::slotted(h4){font-size:var(--px-text-size-heading-xl-desktop)}h5,.style-title-l,::slotted(h5){font-size:var(--px-text-size-heading-l-desktop)}h6,.style-title-m,::slotted(h6){font-size:var(--px-text-size-heading-m-desktop)}.style-title-s{font-size:var(--px-text-size-heading-base-desktop)}.style-subtitle{font-size:var(--px-text-size-heading-xl-desktop)}}@media screen and (min-width: 1441px){::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-bottom:var(--px-spacing-heading-to-content-desktop)}h1,.style-title-4xl,::slotted(h1),h2,.style-title-3xl,::slotted(h2),h3,.style-title-2xl,::slotted(h3),h4,.style-title-xl,::slotted(h4),h5,.style-title-l,::slotted(h5),h6,.style-title-m,::slotted(h6),.style-title-s,.style-subtitle{text-align:var(--heading-text-align--desktop, left)}}",A=':host([variant="icon-link"]){display:inline-flex}a,.link,::slotted(a){display:inline;align-items:center;font-family:var(--px-font-family);font-size:var(--px-text-size-link-m-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-body);color:var(--px-color-text-neutral-default)}a:hover,.link:hover{color:var(--px-color-text-state-hover-default)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}a[aria-disabled=true],.link[aria-disabled=true]{cursor:default;pointer-events:none;color:var(--px-color-text-state-disabled-default)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-mobile)}a ::slotted(span[slot="after"]),a ::slotted(span[slot="before"]),.link ::slotted(span[slot="after"]),.link ::slotted(span[slot="before"]){display:inline-block}::slotted(a:hover){color:var(--px-color-text-state-hover-default)}a.no-style{text-decoration:none}a.no-style:hover,a.no-style:focus-visible{color:inherit}a.skip-link{position:absolute;left:-10000px;top:auto;overflow:hidden;background-color:var(--px-color-background-container-default-default);padding:var(--px-padding-xs-mobile)}a.skip-link:focus-visible{left:auto;z-index:999}:host([target="_blank"]) ::slotted(px-icon){vertical-align:middle}.icon-link{color:var(--px-color-icon-brand-default);line-height:1;display:inline-flex}:host([inverted]) a,:host([inverted]) .link,:host([inverted]) ::slotted(a){color:var(--px-color-text-neutral-inverted)}:host([inverted]) a:hover,:host([inverted]) .link:hover{color:var(--px-color-text-state-hover-inverted)}:host([inverted]) a:focus-visible,:host([inverted]) .link:focus-visible{outline-color:var(--px-color-border-focus-outline-inverted)}:host([inverted]) a[aria-disabled=true],:host([inverted]) .link[aria-disabled=true]{color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) ::slotted(a:hover){color:var(--px-color-text-state-hover-inverted)}:host([inverted]) a.skip-link{background-color:var(--px-color-background-container-default-inverted)}:host([inverted]) .icon-link{color:var(--px-color-icon-brand-inverted)}@media only screen and (min-width: 768px){a,.link,::slotted(a){font-size:var(--px-text-size-link-m-tablet)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-tablet)}a.skip-link{padding:var(--px-padding-xs-tablet)}}@media only screen and (min-width: 1025px){a,.link,::slotted(a){font-size:var(--px-text-size-link-m-laptop)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-laptop)}a.skip-link{padding:var(--px-padding-xs-laptop)}}@media only screen and (min-width: 90.0625em){a,.link,::slotted(a){font-size:var(--px-text-size-link-m-desktop)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-desktop)}a.skip-link{padding:var(--px-padding-xs-desktop)}}',w="p,::slotted(p){font-family:var(--px-font-family);color:var(--px-color-text-neutral-default);font-size:var(--px-text-size-body-m-mobile);font-weight:var(--px-font-weight-body);line-height:var(--px-line-height-ratio-l);margin:0}::slotted(p){margin-bottom:var(--px-spacing-xs-mobile)}.text-align-left{text-align:left}.text-align-center{text-align:center}.text-align-right{text-align:right}:host([inverted]) p,:host([inverted]) ::slotted(p){color:var(--px-color-text-neutral-inverted)}@media only screen and (max-width: 768px){.text-align-left--mobile{text-align:left}.text-align-center--mobile{text-align:center}.text-align-right--mobile{text-align:right}}@media only screen and (min-width: 768px){p,::slotted(p){font-size:var(--px-text-size-body-m-desktop)}::slotted(p){margin-bottom:var(--px-spacing-xs-tablet)}.text-align-left--tablet{text-align:left}.text-align-center--tablet{text-align:center}.text-align-right--tablet{text-align:right}}@media only screen and (min-width: 1025px){p,::slotted(p){font-size:var(--px-text-size-body-m-desktop)}::slotted(p){margin-bottom:var(--px-spacing-xs-laptop)}.text-align-left--laptop{text-align:left}.text-align-center--laptop{text-align:center}.text-align-right--laptop{text-align:right}}@media only screen and (min-width: 90.0625em){::slotted(p){margin-bottom:var(--px-spacing-xs-desktop)}}";function $(t){const e=document.createElement(t),i=Object.getPrototypeOf(e);return Object.getOwnPropertyNames(i).map(t=>t.toLowerCase())}const z=new CSSStyleSheet;z.replaceSync(":host([grow]){flex-grow:var(--grow-value)}:host([shrink]){flex-shrink:var(--shrink-value)}:host([basis]){flex-basis:var(--basis-value)}:host([align-self]){align-self:var(--align-self-value)}:host([col-span]){grid-column:span var(--col-span-value) / span var(--col-span-value)}:host([justify-self]){justify-self:var(--justify-value)}:host([order]),::slotted([order]){order:var(--order-value)}:host([hidden]),::slotted([hidden]){display:none}:host([shown--sr]),::slotted(*[shown--sr]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media screen and (max-width: 767px){:host([hidden--mobile]),::slotted([hidden--mobile]){display:none}:host([grow--mobile]){flex-grow:var(--grow--mobile-value)!important}:host([shrink--mobile]){flex-shrink:var(--shrink--mobile-value)!important}:host([basis--mobile]){flex-basis:var(--basis--mobile-value)!important}:host([align-self--mobile]){align-self:var(--align-self--mobile-value)!important}:host([col-span--mobile]){grid-column:span var(--col-span--mobile-value) / span var(--col-span--mobile-value)!important}:host([justify-self--mobile]){justify-self:var(--justify-self--mobile-value)!important}:host([order--mobile]),::slotted([order--mobile]){order:var(--order--mobile-value)!important}:host([shown--sr--mobile]),::slotted(*[shown--sr--mobile]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 768px) and (max-width: 1024px){:host([hidden--tablet]),::slotted([hidden--tablet]){display:none}:host([grow--tablet]){flex-grow:var(--grow--tablet-value)!important}:host([shrink--tablet]){flex-shrink:var(--shrink--tablet-value)!important}:host([basis--tablet]){flex-basis:var(--basis--tablet-value)!important}:host([align-self--tablet]){align-self:var(--align-self--tablet-value)!important}:host([col-span--tablet]){grid-column:span var(--col-span--tablet-value) / span var(--col-span--tablet-value)!important}:host([justify-self--tablet]){justify-self:var(--justify-self--tablet-value)!important}:host([order--tablet]),::slotted([order--tablet]){order:var(--order--tablet-value)!important}:host([shown--sr--tablet]),::slotted(*[shown--sr--tablet]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 1025px){:host([shown--sr--laptop]),::slotted(*[shown--sr--laptop]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 1025px){:host([hidden--laptop]),::slotted([hidden--laptop]){display:none!important}:host([grow--laptop]){flex-grow:var(--grow--laptop-value)!important}:host([shrink--laptop]){flex-shrink:var(--shrink--laptop-value)!important}:host([basis--laptop]){flex-basis:var(--basis--laptop-value)!important}:host([align-self--laptop]){align-self:var(--align-self--laptop-value)!important}:host([col-span--laptop]){grid-column:span var(--col-span--laptop-value) / span var(--col-span--laptop-value)!important}:host([justify-self--laptop]){justify-self:var(--justify-self--laptop-value)!important}:host([order--laptop]),::slotted([order--laptop]){order:var(--order--laptop-value)!important}}@media screen and (min-width: 1441px){:host([col-span--desktop]){grid-column:span var(--col-span--desktop-value) / span var(--col-span--desktop-value)!important}:host([justify-self--desktop]){justify-self:var(--justify-self--desktop-value)!important}:host([order--desktop]),::slotted([order--desktop]){order:var(--order--desktop-value)!important}:host([hidden--desktop]),::slotted([hidden--desktop]){display:none!important}:host([grow--desktop]){flex-grow:var(--grow--desktop-value)!important}:host([shrink--desktop]){flex-shrink:var(--shrink--desktop-value)!important}:host([basis--desktop]){flex-basis:var(--basis--desktop-value)!important}:host([align-self--desktop]){align-self:var(--align-self--desktop-value)!important}}");const S=void 0!=={url:"undefined"==typeof document?require("url").pathToFileURL(__filename).href:k&&"SCRIPT"===k.tagName.toUpperCase()&&k.src||new URL("lavender-light.cjs.js",document.baseURI).href}&&!0;function C(){return S}function j(t){C()&&console.error(t)}"undefined"!=typeof window&&(window.isComponentDebug=C),"undefined"!=typeof window&&(window.isComponentDebug=C);class L extends HTMLElement{static get observedAttributes(){return["grow","grow--mobile","grow--tablet","grow--laptop","grow--desktop","shrink","shrink--mobile","shrink--tablet","shrink--laptop","shrink--desktop","basis","basis--mobile","basis--tablet","basis--laptop","basis--desktop","align-self","align-self--mobile","align-self--tablet","align-self--laptop","align-self--desktop","justify-self","justify-self--mobile","justify-self--tablet","justify-self--laptop","justify-self--desktop","hidden","hidden--mobile","hidden--tablet","hidden--laptop","hidden--desktop","shown--sr","shown--sr--mobile","shown--sr--tablet","shown--sr--laptop","shown--sr--desktop","col-span","col-span--mobile","col-span--tablet","col-span--laptop","col-span--desktop","order","order--mobile","order--tablet","order--laptop","order--desktop"]}constructor(...t){super(),this.shadowRoot||this.attachShadow({mode:"open"}),this.shadowRoot.adoptedStyleSheets=[z,...t]}attributeChangedCallback(t,e,i){var o;if(-1!==L.observedAttributes.indexOf(t))switch(t){case"grow":case"grow--mobile":case"grow--tablet":case"grow--laptop":case"grow--desktop":case"shrink":case"shrink--mobile":case"shrink--tablet":case"shrink--laptop":case"shrink--desktop":case"basis":case"basis--mobile":case"basis--tablet":case"basis--laptop":case"basis--desktop":this.style.setProperty(`--${t}-value`,i);break;case"align-self":case"align-self--mobile":case"align-self--tablet":case"align-self--laptop":case"align-self--desktop":this.updateProperties(t,e,i,"px-grid"===(null==(o=this.parentElement)?void 0:o.localName)?I:E);break;case"justify-self":case"justify-self--mobile":case"justify-self--tablet":case"justify-self--laptop":case"justify-self--desktop":this.updateProperties(t,e,i,D);break;case"col-span":case"col-span--mobile":case"col-span--tablet":case"col-span--laptop":case"col-span--desktop":this.updateProperties(t,e,i,P);break;case"order":case"order--mobile":case"order--tablet":case"order--laptop":case"order--desktop":this.updateProperties(t,e,i,R)}}updateProperties(t,e,i,o){if(o&&!this.checkName(o,i))return void j(`${i} is not an allowed ${o} value for ${this.tagName.toLowerCase()}`);const r=t.indexOf("--")>-1,a=r?t.split("--")[0]:t;if(r){const o=t.split("--")[1];this.style.setProperty(`--${a}--${o}-value`,e),this.style.setProperty(`--${a}--${o}-value`,i)}else this.style.setProperty(`--${a}-value`,e),this.style.setProperty(`--${a}-value`,i)}updateStyle(t,e,i){null!==i&&""!==i&&"default"!==i&&this.style.setProperty(`--${t}--${e}-value`,i)}checkName(t,e){return t.includes(e)}get $el(){return this}get $parentElementName(){var t;return null==(t=this.parentElement)?void 0:t.tagName.toLowerCase()}get isInsideGridOrStack(){let t=this.parentElement;for(;t;){if("px-grid"===t.localName||"px-stack"===t.localName&&"row"===(null==t?void 0:t.getAttribute("direction")))return!0;if("contents"!==window.getComputedStyle(t).display)break;t=t.parentElement}return!1}get grow(){return this.getAttribute("grow")}set grow(t){this.setAttribute("grow",t)}get growMobile(){return this.getAttribute("grow--mobile")}set growMobile(t){this.setAttribute("grow--mobile",t)}get growTablet(){return this.getAttribute("grow--tablet")}set growTablet(t){this.setAttribute("grow--tablet",t)}get growLaptop(){return this.getAttribute("grow--laptop")}set growLaptop(t){this.setAttribute("grow--laptop",t)}get growDesktop(){return this.getAttribute("grow--desktop")}set growDesktop(t){this.setAttribute("grow--desktop",t)}get shrink(){return this.getAttribute("shrink")}set shrink(t){this.setAttribute("shrink",t)}get shrinkMobile(){return this.getAttribute("shrink--mobile")}set shrinkMobile(t){this.setAttribute("shrink--mobile",t)}get shrinkTablet(){return this.getAttribute("shrink--tablet")}set shrinkTablet(t){this.setAttribute("shrink--tablet",t)}get shrinkLaptop(){return this.getAttribute("shrink--laptop")}set shrinkLaptop(t){this.setAttribute("shrink--laptop",t)}get shrinkDesktop(){return this.getAttribute("shrink--desktop")}set shrinkDesktop(t){this.setAttribute("shrink--desktop",t)}get basis(){return this.getAttribute("basis")}set basis(t){this.setAttribute("basis",t)}get basisMobile(){return this.getAttribute("basis--mobile")}set basisMobile(t){this.setAttribute("basis--mobile",t)}get basisTablet(){return this.getAttribute("basis--tablet")}set basisTablet(t){this.setAttribute("basis--tablet",t)}get basisLaptop(){return this.getAttribute("basis--laptop")}set basisLaptop(t){this.setAttribute("basis--laptop",t)}get basisDesktop(){return this.getAttribute("basis--desktop")}set basisDesktop(t){this.setAttribute("basis--desktop",t)}get alignSelf(){return this.getAttribute("align-self")}set alignSelf(t){this.setAttribute("align-self",t)}get alignSelfMobile(){return this.getAttribute("align-self--mobile")}set alignSelfMobile(t){this.setAttribute("align-self--mobile",t)}get alignSelfTablet(){return this.getAttribute("align-self--tablet")}set alignSelfTablet(t){this.setAttribute("align-self--tablet",t)}get alignSelfLaptop(){return this.getAttribute("align-self--laptop")}set alignSelfLaptop(t){this.setAttribute("align-self--laptop",t)}get alignSelfDesktop(){return this.getAttribute("align-self--desktop")}set alignSelfDesktop(t){this.setAttribute("align-self--desktop",t)}get justifySelf(){return this.getAttribute("justify-self")}set justifySelf(t){this.setAttribute("justify-self",t)}get justifySelfMobile(){return this.getAttribute("justify-self--mobile")}set justifySelfMobile(t){this.setAttribute("justify-self--mobile",t)}get justifySelfTablet(){return this.getAttribute("justify-self--tablet")}set justifySelfTablet(t){this.setAttribute("justify-self--tablet",t)}get justifySelfLaptop(){return this.getAttribute("justify-self--laptop")}set justifySelfLaptop(t){this.setAttribute("justify-self--laptop",t)}get justifySelfDesktop(){return this.getAttribute("justify-self--desktop")}set justifySelfDesktop(t){this.setAttribute("justify-self--desktop",t)}get hiddenMobile(){return this.getAttribute("hidden--mobile")}set hiddenMobile(t){this.setAttribute("hidden--mobile",t)}get hiddenTablet(){return this.getAttribute("hidden--tablet")}set hiddenTablet(t){this.setAttribute("hidden--tablet",t)}get hiddenLaptop(){return this.getAttribute("hidden--laptop")}set hiddenLaptop(t){this.setAttribute("hidden--laptop",t)}get hiddenDesktop(){return this.getAttribute("hidden--desktop")}set hiddenDesktop(t){this.setAttribute("hidden--desktop",t)}get colSpan(){return this.getAttribute("col-span")}set colSpan(t){this.setAttribute("col-span",t)}get colSpanMobile(){return this.getAttribute("col-span--mobile")}set colSpanMobile(t){this.setAttribute("col-span--mobile",t)}get colSpanTablet(){return this.getAttribute("col-span--tablet")}set colSpanTablet(t){this.setAttribute("col-span--tablet",t)}get colSpanLaptop(){return this.getAttribute("col-span--laptop")}set colSpanLaptop(t){this.setAttribute("col-span--laptop",t)}get colSpanDesktop(){return this.getAttribute("col-span--desktop")}set colSpanDesktop(t){this.setAttribute("col-span--desktop",t)}get order(){return this.getAttribute("order")}set order(t){this.setAttribute("order",t)}get orderMobile(){return this.getAttribute("order--mobile")}set orderMobile(t){this.setAttribute("order--mobile",t)}get orderTablet(){return this.getAttribute("order--tablet")}set orderTablet(t){this.setAttribute("order--tablet",t)}get orderLaptop(){return this.getAttribute("order--laptop")}set orderLaptop(t){this.setAttribute("order--laptop",t)}get orderDesktop(){return this.getAttribute("order--desktop")}set orderDesktop(t){this.setAttribute("order--desktop",t)}}const T=class extends L{static get observedAttributes(){return[...super.observedAttributes,...$(this.nativeName)]}attributeChangedCallback(t,e,i){super.attributeChangedCallback(t,e,i),null===i?this.$el.toggleAttribute(t):this.$el.setAttribute(t,i)}get ctor(){return Object.getPrototypeOf(this).constructor}constructor(...t){super(...t),this.ctor.supportedPropertyNames||(this.ctor.supportedPropertyNames=function(t){const e=document.createElement(t),i=Object.getPrototypeOf(e);return Object.getOwnPropertyNames(i)}(this.ctor.nativeName)),this.enhanceWithNativeProperties()}enhanceWithNativeProperties(){var t;for(const i of this.ctor.supportedPropertyNames)if("constructor"!==i&&!((null==(t=this.ctor)?void 0:t.accessorExclusions)??[]).includes(i))try{Object.defineProperty(this,i,{get(){return this.$el[i]},set(t){this.$el[i]!==t&&(this.$el[i]=t)}})}catch(e){console.warn(`Could not create property ${i} for`,this.$el,e)}}get $el(){return this.shadowRoot.querySelector(this.ctor.nativeName)}_updateAttribute(t,e){e?this.setAttribute(t,e):this.removeAttribute(t)}_updateBooleanAttribute(t,e){e?this.setAttribute(t,""):this.removeAttribute(t)}};T.accessorExclusions=[];let M=T;class N extends M{connectedCallback(){this.isInsideGridOrStack&&(this.$el.style.display="block",this.$el.style.height="100%")}}const E=["","default","auto","flex-start","flex-end","center","baseline","stretch"],I=["","default","start","end","center","stretch"],D=["","default","start","end","center","stretch"],P=["","1","2","3","4","5","6","7","8","9","10","11","12"],R=["","-1","0","1","2","3","4","5","6","7","8","9","10","11","12"],B=["","default","inherit","body-l","body-m","body-s","body-xs","heading-5xl","heading-4xl","heading-3xl","heading-2xl","heading-xl","heading-l","heading-m","heading-s"],q=["","default","inherit","brand","neutral","dimmed","purpose-success","purpose-warning","purpose-error","purpose-unlimited","purpose-promo","state-hover","state-active","state-disabled"],O=["","default","inherit","body","title","title-large","subtitle"],H=["","default",...["Xs","S","M","L","Xl"].map(t=>t.toLowerCase())],V=["","default","left","center","right"],_=["","none","3xs","2xs","xs","s","m","l","xl"],G=["","none","s","m","l"],F=["","none","main","pill"],W=["none","main","brand","state-hover","state-active","neutral","purpose-success","purpose-warning","purpose-error","purpose-unlimited"],X=["","all","top","right","bottom","left","block","inline"],Z=["","none","surface-light","surface-default","surface-strong","surface-stronger","surface-dark","surface-brand","surface-brand-light","container-primary","container-secondary","container-light","container-default","container-strong","state-hover","state-hover-bordered","state-active","state-disabled","purpose-success","purpose-warning","purpose-error","purpose-unlimited","purpose-promo","purpose-info","purpose-eco","purpose-notification","footer"],U=["","cover","contain","default"],Y=["","none","s","m","l","xl"],J=["","default","title-4xl","title-3xl","title-2xl","title-xl","title-l","title-m","title-s","subtitle"],K=["","purple-top-red","purple-top-magenta","purple-top-orange","purple-top-blue","purple-top-turquoise","purple-top-green","purple-right-red","purple-right-magenta","purple-right-orange","purple-right-blue","purple-right-turquoise","purple-right-green","purple-top-right-red","purple-top-right-magenta","purple-top-right-orange","purple-top-right-blue","purple-top-right-turquoise","purple-top-right-green","purple-bottom-right-red","purple-bottom-right-magenta","purple-bottom-right-orange","purple-bottom-right-blue","purple-bottom-right-turquoise","purple-bottom-right-green","color-top-red","color-top-magenta","color-top-orange","color-top-blue","color-top-turquoise","color-top-green","color-right-red","color-right-magenta","color-right-orange","color-right-blue","color-right-turquoise","color-right-green","color-top-right-red","color-top-right-magenta","color-top-right-orange","color-top-right-blue","color-top-right-turquoise","color-top-right-green","color-bottom-right-red","color-bottom-right-magenta","color-bottom-right-orange","color-bottom-right-blue","color-bottom-right-turquoise","color-bottom-right-green"],Q=["none","2xs","xs","s","default","l","heading-to-subtitle","heading-to-content","page-layout-between-sections"],tt=["","all","top","right","bottom","left"];function et(t,e){return t.includes(e)}function it(t,e,i=!0){var o;if(["aria-label","aria-labelledby","aria-describedby","aria-controls","aria-expanded","aria-haspopup","aria-pressed","aria-selected","aria-required","aria-disabled","aria-live","aria-atomic","aria-relevant","aria-orientation","aria-valuenow","aria-valuetext","aria-valuemin","aria-valuemax","aria-details","aria-modal","aria-autocomplete","aria-activedescendant","aria-colcount","aria-colindex","aria-colspan","aria-rowcount","aria-rowindex","aria-rowspan","aria-keyshortcuts","aria-placeholder","aria-invalid","aria-busy","aria-owns"].forEach(i=>{t.getAttribute(i)&&(e.setAttribute(i,t.getAttribute(i)),t.removeAttribute(i))}),i){const i=`px-${(null==(o=e.localName)?void 0:o.toLowerCase())??"component"}-${Math.random().toString(36).substring(2,15)}`;e.setAttribute("id",i),t.setAttribute("aria-labelledby",i)}}function ot(t,e,i,o="",r){const a=new CSSStyleSheet,n=i.reduce((i,a)=>i+`\n ${e(t,a)} {\n ${t}: var(--${o}-${a}-desktop);\n ${r?`${r}:var(--${o}-${a}-desktop)`:""}\n }\n /* Mobile only - max 767px */\n @media only screen and (max-width: 47.938em) {\n ${e(t,a)} {\n ${t}: var(--${o}-${a}-mobile);\n ${r?`${r}: var(--${o}-${a}-mobile)`:""}\n }\n }\n ${e(t,a,"mobile")} {\n /* Mobile only - max 767px */\n @media only screen and (max-width: 47.938em) {\n ${t}: var(--${o}-${a}-mobile) !important;\n ${r?`${r}: var(--${o}-${a}-mobile)`:""}\n }\n }\n ${e(t,a,"tablet")} {\n /* Tablet - min 768px max 1024px */\n @media only screen and (min-width: 48em) and (max-width: 64em) {\n ${t}: var(--${o}-${a}-desktop) !important;\n ${r?`${r}: var(--${o}-${a}-desktop)`:""}\n }\n }\n ${e(t,a,"laptop")} {\n /* Laptop - 1025px*/\n @media only screen and (min-width: 64.0625em) {\n ${t}: var(--${o}-${a}-desktop) !important;\n ${r?`${r}: var(--${o}-${a}-desktop)`:""}\n }\n }\n ${e(t,a,"desktop")} {\n /* Desktop - 1025px*/\n @media only screen and (min-width: 64.0625em) {\n ${t}: var(--${o}-${a}-desktop) !important;\n ${r?`${r}: var(--${o}-${a}-desktop)`:""}\n }\n }`,"");return a.replaceSync(n),a}class rt{constructor(t,e,i,o){this.component=t,this.attributeName=e,this.cssVariable=o,this.attributeNameMobile=`${this.attributeName}--mobile`,this.attributeNameTablet=`${this.attributeName}--tablet`,this.attributeNameLaptop=`${this.attributeName}--laptop`,this.attributeNameDesktop=`${this.attributeName}--desktop`,this._attributeValue=i,Object.defineProperty(this.component,this.toCamelCase(this.attributeName),{get:()=>this.component.getAttribute(this.attributeName),set:t=>{this.component.setAttribute(this.attributeName,t)}})}toCamelCase(t){return t.replace(/[-_]+(.)?/g,(t,e)=>e?e.toUpperCase():"")}init(t){this.setCSSProperty(this.attributeName,t),this.setCSSProperties()}attributeChangedCallback(t,e,i){if(e!==i)switch(!0){case t===this.attributeName:case t===`${this.attributeName}--mobile`:case t===`${this.attributeName}--tablet`:case t===`${this.attributeName}--laptop`:case t===`${this.attributeName}--desktop`:this.setCSSProperty(t,i);break;default:return}}setCSSProperty(t,e,i=!0){const[,o=""]=t.split("--");this.component.style.setProperty(`${this.cssVariable}${i?"-all":""}${o?`-${o}`:""}`,`${this._attributeValue(e,o)}`)}setCSSProperties(){const t=this.component.getAttribute(this.attributeName);t&&(this.setCSSProperty(this.attributeName,t),this.setCSSProperty(this.attributeNameMobile,t),this.setCSSProperty(this.attributeNameTablet,t),this.setCSSProperty(this.attributeNameLaptop,t),this.setCSSProperty(this.attributeNameDesktop,t));const e=this.component.getAttribute(this.attributeNameMobile);e&&this.setCSSProperty(this.attributeNameMobile,e,!1);const i=this.component.getAttribute(this.attributeNameTablet);i&&this.setCSSProperty(this.attributeNameTablet,i,!1);const o=this.component.getAttribute(this.attributeNameLaptop);o&&this.setCSSProperty(this.attributeNameLaptop,o,!1);const r=this.component.getAttribute(this.attributeNameDesktop);r&&this.setCSSProperty(this.attributeNameDesktop,r,!1)}set attributeValue(t){this._attributeValue=t,this.setCSSProperties()}}const at=new CSSStyleSheet,nt=new CSSStyleSheet,st=new CSSStyleSheet,lt=new CSSStyleSheet,dt=new CSSStyleSheet;at.replaceSync(":host{font-family:var(--px-font-family);font-weight:var(--px-font-weight-body);color:var(--px-color-text-neutral-default)}::slotted(ul),::slotted(ol){padding:0;margin:0 0 var(--px-spacing-xs-mobile) var(--px-spacing-default-mobile)}::slotted(blockquote){margin-bottom:var(--px-spacing-xs-mobile)}::slotted(b),::slotted(strong){font-weight:var(--px-font-weight-title)}::slotted(address){font-style:normal;font-weight:var(--px-font-weight-body)}::slotted(img){max-width:100%;height:auto}@media only screen and (min-width: 48em){::slotted(ul),::slotted(ol){margin:0 0 var(--px-spacing-xs-tablet) var(--px-spacing-default-tablet)}::slotted(blockquote){margin-bottom:var(--px-spacing-xs-tablet)}}@media only screen and (min-width: 64.0625em){::slotted(ul),::slotted(ol){margin:0 0 var(--px-spacing-xs-laptop) var(--px-spacing-default-laptop)}::slotted(blockquote){margin-bottom:var(--px-spacing-xs-laptop)}}@media only screen and (min-width: 90.0625em){::slotted(ul),::slotted(ol){margin:0 0 var(--px-spacing-xs-desktop) var(--px-spacing-default-desktop)}::slotted(blockquote){margin-bottom:var(--px-spacing-xs-desktop)}}:host([inverted]){color:var(--px-color-text-neutral-inverted)}"),nt.replaceSync(y),st.replaceSync(A),lt.replaceSync(w),dt.replaceSync("span,::slotted(span){font-family:var(--px-font-family);color:var(--px-color-text-neutral-default);font-size:var(--px-text-size-body-m-mobile);line-height:var(--px-line-height-ratio-l)}:host([inverted]) span,:host([inverted]) ::slotted(span){color:var(--px-color-text-neutral-inverted)}span.link{text-decoration:underline}@media only screen and (min-width: 768px){span,::slotted(span){font-size:var(--px-text-size-body-m-desktop)}}@media only screen and (min-width: 1025px){span,::slotted(span){font-size:var(--px-text-size-body-m-desktop)}}"),function(t){const e=document.createElement("style");e.innerHTML=t,document.head.appendChild(e)}(".li{margin-bottom:var(--px-padding-xs-mobile)}@media only screen and (min-width: 48em){.li{margin-bottom:var(--px-padding-xs-tablet)}}@media only screen and (min-width: 64.0625em){.li{margin-bottom:var(--px-padding-xs-laptop)}}@media only screen and (min-width: 90.0625em){.li{margin-bottom:var(--px-padding-xs-desktop)}}");class pt extends HTMLElement{constructor(){super(),this.template=()=>"<slot></slot>",this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=this.template(),this.shadowRoot.adoptedStyleSheets=[at,nt,st,lt,dt]}static get observedAttributes(){return["inverted"]}get inverted(){return this.getAttribute("inverted")}set inverted(t){this.setAttribute("inverted",t)}connectedCallback(){this.querySelectorAll("li").forEach(t=>{t.classList.add("li")})}}customElements.get("px-typography")||customElements.define("px-typography",pt);const ct=new CSSStyleSheet;ct.replaceSync(':host{display:block}.container{font-family:var(--px-font-family);background-color:var(--background-color);border-radius:var(--px-radius-main);box-sizing:border-box;height:100%}:host([background-image]) .container{background-image:var(--background-image)}:host([background-gradient]) .container{background-image:var(--background-gradient)}:host([inverted]) .container{background-color:var(--background-color-inverted);color:var(--px-color-text-neutral-inverted)}.border-none{border:none}.border-s{border:var(--px-size-border-s) solid var(--border-color)}.border-m{border:var(--px-size-border-m) solid var(--border-color)}.border-l{border:var(--px-size-border-l) solid var(--border-color)}.border-side-top{border-bottom-style:none;border-right-style:none;border-left-style:none}.border-side-right{border-top-style:none;border-bottom-style:none;border-left-style:none}.border-side-bottom{border-top-style:none;border-right-style:none;border-left-style:none}.border-side-left{border-top-style:none;border-right-style:none;border-bottom-style:none}.border-side-block{border-inline-style:none}.border-side-inline{border-block-style:none}:host([inverted]) .border-s,:host([inverted]) .border-m,:host([inverted]) .border-l{border-color:var(--border-color-inverted)}.border-radius-main{border-radius:var(--px-radius-main)}.border-radius-pill{border-radius:var(--px-radius-pill)}.no-border-radius-top{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all,.border-radius-none{border-radius:var(--px-radius-none)}.bgimg{background-repeat:no-repeat}.background-size-cover{background-size:cover;background-position:center center}.background-size-contain{background-size:contain}.box-shadow-none{box-shadow:none}.box-shadow-s{box-shadow:0 1px 2px #2525251f}.box-shadow-m{box-shadow:0 4px 6px -1px #25252514}.box-shadow-l{box-shadow:0 10px 15px -3px #25252514}.box-shadow-xl{box-shadow:0 20px 25px -5px #25252514}.anchored{position:relative}::slotted([slot="anchor-right"]),::slotted([slot="anchor-left"]),::slotted([slot="anchor-full"]){position:absolute;top:0}::slotted([slot="anchor-right"]),::slotted([slot="anchor-left"]){transform:translateY(-50%);z-index:3}::slotted([slot="anchor-right"]){right:var( --container-anchor-offset--mobile, var( --container-padding-right, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-left"]){left:var( --container-anchor-offset--mobile, var( --container-padding-left, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-full"]){transform:translateY(-100%);right:0;left:0;text-align:center;z-index:2}::slotted(px-vstack:only-of-type),::slotted(px-hstack:only-of-type),::slotted(px-stack:only-of-type),::slotted(px-grid:only-of-type){height:100%}.border-s ::slotted([slot="anchor-full"]){right:calc(var(--px-size-border-s) * -1);left:calc(var(--px-size-border-s) * -1)}.border-m ::slotted([slot="anchor-full"]){right:calc(var(--px-size-border-m) * -1);left:calc(var(--px-size-border-m) * -1)}.border-l ::slotted([slot="anchor-full"]){right:calc(var(--px-size-border-l) * -1);left:calc(var(--px-size-border-l) * -1)}@media only screen and (max-width: 47.938em){.container{background-color:var(--background-color--mobile, var(--background-color))}:host([background-image--mobile]) .container{background-image:var(--background-image--mobile, var(--background-image))}:host([background-gradient--mobile]) .container{background-image:var( --background-gradient--mobile, var(--background-gradient) )}:host([inverted]) .container{background-color:var( --background-color-inverted--mobile, var(--background-color-inverted) )}.border-side-top--mobile{border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--mobile{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--mobile{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--mobile{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--mobile{border-inline-style:none;border-block-style:solid}.border-side-inline--mobile{border-block-style:none;border-inline-style:solid}.no-border-radius-top--mobile{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--mobile{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--mobile{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--mobile{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--mobile{border-radius:var(--px-radius-none)}}@media only screen and (min-width: 48em) and (max-width: 64em){.container{background-color:var(--background-color--tablet, var(--background-color))}:host([background-image--tablet]) .container{background-image:var(--background-image--tablet, var(--background-image))}:host([background-gradient--tablet]) .container{background-image:var( --background-gradient--tablet, var(--background-gradient) )}:host([inverted]) .container{background-color:var( --background-color-inverted--tablet, var(--background-color-inverted) )}.no-border-radius-top--tablet{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--tablet{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--tablet{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--tablet{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--tablet{border-radius:var(--px-radius-none)}.border-side-top--tablet{border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--tablet{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--tablet{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--tablet{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--tablet{border-inline-style:none;border-block-style:solid}.border-side-inline--tablet{border-block-style:none;border-inline-style:solid}::slotted([slot="anchor-right"]){right:var( --container-anchor-offset--tablet, var( --container-padding-right, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-left"]){left:var( --container-anchor-offset--tablet, var( --container-padding-left, var(--container-padding-inline, var(--container-padding)) ) )}}@media only screen and (min-width: 64.0625em){.container{background-color:var(--background-color--laptop, var(--background-color))}:host([background-image--laptop]) .container{background-image:var(--background-image--laptop, var(--background-image))}:host([background-gradient--laptop]) .container{background-image:var( --background-gradient--laptop, var(--background-gradient) )}:host([inverted]) .container{background-color:var( --background-color-inverted--laptop, var(--background-color-inverted) )}.no-border-radius-top--laptop{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--laptop{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--laptop{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--laptop{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--laptop{border-radius:var(--px-radius-none)}::slotted([slot="anchor-right"]){right:var( --container-anchor-offset--laptop, var( --container-padding-right, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-left"]){left:var( --container-anchor-offset--laptop, var( --container-padding-left, var(--container-padding-inline, var(--container-padding)) ) )}.border-side-top--laptop{border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--laptop{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--laptop{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--laptop{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--laptop{border-inline-style:none;border-block-style:solid}.border-side-inline--laptop{border-block-style:none;border-inline-style:solid}}');const bt=(t,e,i)=>`:host([${t}${i?`--${i}`:""}='${e}']) .container`,ut="px-padding",gt=[ot("padding",bt,_,ut,"--container-padding"),ot("padding-inline",bt,_,ut),ot("padding-block",bt,_,ut),ot("padding-top",bt,_,ut),ot("padding-right",bt,_,ut,"--container-padding-right"),ot("padding-bottom",bt,_,ut),ot("padding-left",bt,_,ut,"--container-padding-left")],ht=class extends N{constructor(){super(ct,...gt),this.template=()=>'<div class="container">\n <slot></slot>\n <slot name="anchor-left"></slot>\n <slot name="anchor-right"></slot>\n <slot name="anchor-full"></slot>\n </div>',this._bgObserver=null,this._isInViewport=!1,this.shadowRoot.innerHTML=this.template()}static get observedAttributes(){return[...super.observedAttributes,"border","border-color","border-side","border-side--mobile","border-side--tablet","border-side--laptop","border-radius","no-border-radius","no-border-radius--mobile","no-border-radius--tablet","no-border-radius--laptop","background-color","background-color--mobile","background-color--tablet","background-color--laptop","background-gradient","background-gradient--mobile","background-gradient--tablet","background-gradient--laptop","background-image","background-image--mobile","background-image--tablet","background-image--laptop","background-size","background-position","box-shadow","anchor-offset","inverted"]}connectedCallback(){super.connectedCallback(),this.padding||(this.padding="m"),this.backgroundColor||(this.backgroundColor="surface-light"),this.borderColor||(this.borderColor="main"),this.$slotAnchor&&this.addAnchorClass(),this.contentObserver=new MutationObserver(()=>{this.$slotAnchor&&this.addAnchorClass()}),this.contentObserver.observe(this,{childList:!0,subtree:!0,characterData:!0}),this._bgObserver=new IntersectionObserver(t=>{t.forEach(t=>{var e;t.isIntersecting&&(this._isInViewport=!0,this._loadBackgroundImages(),null==(e=this._bgObserver)||e.disconnect())})}),this._bgObserver.observe(this.$el)}disconnectedCallback(){var t;null==(t=this._bgObserver)||t.disconnect(),this.contentObserver.disconnect()}attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"border":this.updateAttribute(t,e,i,G);break;case"border-color":this.updateBorderColor(t,i);break;case"border-side":case"border-side--mobile":case"border-side--tablet":case"border-side--laptop":this.updateAttribute(t,e,i,X);break;case"border-radius":this.updateAttribute(t,e,i,F);break;case"no-border-radius":case"no-border-radius--mobile":case"no-border-radius--tablet":case"no-border-radius--laptop":this.updateNoBorderRadius(t,e,i,tt);break;case"background-color":case"background-color--mobile":case"background-color--tablet":case"background-color--laptop":this.updateBackgroundColor(t,i);break;case"background-gradient":case"background-gradient--mobile":case"background-gradient--tablet":case"background-gradient--laptop":this.updateGradient(t,i);break;case"background-size":this.updateAttribute(t,e,i,U);break;case"background-image":case"background-image--mobile":case"background-image--tablet":case"background-image--laptop":this._isInViewport&&this.updateBackgroundImg(t,i);break;case"background-position":null!==i&&""!==i&&(this.$el.style.backgroundPosition=i);break;case"box-shadow":this.updateAttribute(t,e,i,Y);break;case"anchor-offset":this.updateAnchorOffset(e,i,_);break;default:super.attributeChangedCallback(t,e,i)}}_loadBackgroundImages(){["background-image","background-image--mobile","background-image--tablet","background-image--laptop"].forEach(t=>{const e=this.getAttribute(t);e&&this.updateBackgroundImg(t,e)})}updateBackgroundImg(t,e){this.$el.style.setProperty(`--${t}`,`url("${e}")`)}updateGradient(t,e){if(this.checkName(K,e)){const i=this.splitAttrNameFromBreakpoint(t);t=i.attrName;const o=i.breakpoint;this.$el.style.setProperty(`--${t}${o}`,`linear-gradient(var(--px-color-background-gradient-${e}))`)}else j(`${e} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`)}updateBackgroundColor(t,e){const i=e.startsWith("surface-");if(this.checkName(Z,e)){const o=this.splitAttrNameFromBreakpoint(t),r=o.breakpoint;this.$el.style.setProperty(`--${o.attrName}${r}`,`var(--px-color-background-${e}${i?"":"-default"})`),this.$el.style.setProperty(`--${o.attrName}-inverted${r}`,`var(--px-color-background-${e}${i?"":"-inverted"})`)}else j(`${e} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`)}updateBorderColor(t,e){this.checkName(W,e)?(this.$el.style.setProperty(`--${t}`,`var(--px-color-border-${e}-default)`),this.$el.style.setProperty(`--${t}-inverted`,`var(--px-color-border-${e}-inverted)`)):j(`${e} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`)}updateNoBorderRadius(t,e,i,o){if(this.checkName(o,i)){const o=this.splitAttrNameFromBreakpoint(t),r=o.breakpoint;null!==e&&""!==e&&this.$el.classList.toggle(`${o.attrName}-${e}${r}`),null!==i&&""!==i&&this.$el.classList.toggle(`${o.attrName}-${i}${r}`)}else j(`${i} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`)}updateAttribute(t,e,i,o){if(this.checkName(o,i)){const o=this.splitAttrNameFromBreakpoint(t),r=o.breakpoint;null!==e&&""!==e&&this.$el.classList.toggle(`${o.attrName}-${e}${r}`),null!==i&&""!==i&&this.$el.classList.toggle(`${o.attrName}-${i}${r}`)}else j(`${i} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`)}splitAttrNameFromBreakpoint(t){let e="";if(["--mobile","--tablet","--laptop"].some(e=>t.includes(e))){const i=t.split("--");t=i[0],e=`--${i[1]}`}return{attrName:t,breakpoint:e}}updateAnchorOffset(t,e,i){if(!et(i,e))return void j(`${e} is not a valid anchor-offset value for ${this.tagName.toLowerCase()}`);const o=t=>{null!==t&&""!==t&&"default"!==t&&(this.$el.style.setProperty("--container-anchor-offset--mobile",`var(--px-padding-${t}-mobile)`),this.$el.style.setProperty("--container-anchor-offset--tablet",`var(--px-padding-${t}-tablet)`),this.$el.style.setProperty("--container-anchor-offset--laptop",`var(--px-padding-${t}-laptop)`))};o(t),o(e)}addAnchorClass(){this.$el.classList.contains("anchored")||this.$el.classList.add("anchored")}get $slotAnchor(){return this.querySelector('[slot^="anchor"]')}get padding(){return this.getAttribute("padding")}set padding(t){this.setAttribute("padding",t)}get paddingBlock(){return this.getAttribute("padding-block")}set paddingBlock(t){this.setAttribute("padding-block",t)}get paddingInline(){return this.getAttribute("padding-inline")}set paddingInline(t){this.setAttribute("padding-inline",t)}get paddingTop(){return this.getAttribute("padding-top")}set paddingTop(t){this.setAttribute("padding-top",t)}get paddingRight(){return this.getAttribute("padding-right")}set paddingRight(t){this.setAttribute("padding-right",t)}get paddingBottom(){return this.getAttribute("padding-bottom")}set paddingBottom(t){this.setAttribute("padding-bottom",t)}get paddingLeft(){return this.getAttribute("padding-left")}set paddingLeft(t){this.setAttribute("padding-left",t)}get paddingMobile(){return this.getAttribute("padding--mobile")}set paddingMobile(t){this.setAttribute("padding--mobile",t)}get paddingBlockMobile(){return this.getAttribute("padding-block--mobile")}set paddingBlockMobile(t){this.setAttribute("padding-block--mobile",t)}get paddingInlineMobile(){return this.getAttribute("padding-inline--mobile")}set paddingInlineMobile(t){this.setAttribute("padding-inline--mobile",t)}get paddingTopMobile(){return this.getAttribute("padding-top--mobile")}set paddingTopMobile(t){this.setAttribute("padding-top--mobile",t)}get paddingRightMobile(){return this.getAttribute("padding-right--mobile")}set paddingRightMobile(t){this.setAttribute("padding-right--mobile",t)}get paddingBottomMobile(){return this.getAttribute("padding-bottom--mobile")}set paddingBottomMobile(t){this.setAttribute("padding-bottom--mobile",t)}get paddingLeftMobile(){return this.getAttribute("padding-left--mobile")}set paddingLeftMobile(t){this.setAttribute("padding-left--mobile",t)}get paddingTablet(){return this.getAttribute("padding--tablet")}set paddingTablet(t){this.setAttribute("padding--tablet",t)}get paddingBlockTablet(){return this.getAttribute("padding-block--tablet")}set paddingBlockTablet(t){this.setAttribute("padding-block--tablet",t)}get paddingInlineTablet(){return this.getAttribute("padding-inline--tablet")}set paddingInlineTablet(t){this.setAttribute("padding-inline--tablet",t)}get paddingTopTablet(){return this.getAttribute("padding-top--tablet")}set paddingTopTablet(t){this.setAttribute("padding-top--tablet",t)}get paddingRightTablet(){return this.getAttribute("padding-right--tablet")}set paddingRightTablet(t){this.setAttribute("padding-right--tablet",t)}get paddingBottomTablet(){return this.getAttribute("padding-bottom--tablet")}set paddingBottomTablet(t){this.setAttribute("padding-bottom--tablet",t)}get paddingLeftTablet(){return this.getAttribute("padding-left--tablet")}set paddingLeftTablet(t){this.setAttribute("padding-left--tablet",t)}get paddingLaptop(){return this.getAttribute("padding--laptop")}set paddingLaptop(t){this.setAttribute("padding--laptop",t)}get paddingBlockLaptop(){return this.getAttribute("padding-block--laptop")}set paddingBlockLaptop(t){this.setAttribute("padding-block--laptop",t)}get paddingInlineLaptop(){return this.getAttribute("padding-inline--laptop")}set paddingInlineLaptop(t){this.setAttribute("padding-inline--laptop",t)}get paddingTopLaptop(){return this.getAttribute("padding-top--laptop")}set paddingTopLaptop(t){this.setAttribute("padding-top--laptop",t)}get paddingRightLaptop(){return this.getAttribute("padding-right--laptop")}set paddingRightLaptop(t){this.setAttribute("padding-right--laptop",t)}get paddingBottomLaptop(){return this.getAttribute("padding-bottom--laptop")}set paddingBottomLaptop(t){this.setAttribute("padding-bottom--laptop",t)}get paddingLeftLaptop(){return this.getAttribute("padding-left--laptop")}set paddingLeftLaptop(t){this.setAttribute("padding-left--laptop",t)}get border(){return this.getAttribute("border")}set border(t){this.setAttribute("border",t)}get borderColor(){return this.getAttribute("border-color")}set borderColor(t){this.setAttribute("border-color",t)}get borderSide(){return this.getAttribute("border-side")}set borderSide(t){this.setAttribute("border-side",t)}get borderSideMobile(){return this.getAttribute("border-side--mobile")}set borderSideMobile(t){this.setAttribute("border-side--mobile",t)}get borderSideTablet(){return this.getAttribute("border-side--tablet")}set borderSideTablet(t){this.setAttribute("border-side--tablet",t)}get borderSideLaptop(){return this.getAttribute("border-side--laptop")}set borderSideLaptop(t){this.setAttribute("border-side--laptop",t)}get borderRadius(){return this.getAttribute("border-radius")}set borderRadius(t){this.setAttribute("border-radius",t)}get noBorderRadius(){return this.getAttribute("no-border-radius")}set noBorderRadius(t){this.setAttribute("no-border-radius",t)}get noBorderRadiusMobile(){return this.getAttribute("no-border-radius--mobile")}set noBorderRadiusMobile(t){this.setAttribute("no-border-radius--mobile",t)}get noBorderRadiusTablet(){return this.getAttribute("no-border-radius--tablet")}set noBorderRadiusTablet(t){this.setAttribute("no-border-radius--tablet",t)}get noBorderRadiusLaptop(){return this.getAttribute("no-border-radius--laptop")}set noBorderRadiusLaptop(t){this.setAttribute("no-border-radius--laptop",t)}get backgroundColor(){return this.getAttribute("background-color")}set backgroundColor(t){this.setAttribute("background-color",t)}get backgroundColorMobile(){return this.getAttribute("background-color--mobile")}set backgroundColorMobile(t){this.setAttribute("background-color--mobile",t)}get backgroundColorTablet(){return this.getAttribute("background-color--tablet")}set backgroundColorTablet(t){this.setAttribute("background-color--tablet",t)}get backgroundColorLaptop(){return this.getAttribute("background-color--laptop")}set backgroundColorLaptop(t){this.setAttribute("background-color--laptop",t)}get gradient(){return this.getAttribute("background-gradient")}set gradient(t){this.setAttribute("background-gradient",t)}get gradientMobile(){return this.getAttribute("background-gradient--mobile")}set gradientMobile(t){this.setAttribute("background-gradient--mobile",t)}get gradientTablet(){return this.getAttribute("background-gradient--tablet")}set gradientTablet(t){this.setAttribute("background-gradient--tablet",t)}get gradientLaptop(){return this.getAttribute("background-gradient--laptop")}set gradientLaptop(t){this.setAttribute("background-gradient--laptop",t)}get backgroundImage(){return this.getAttribute("background-image")}set backgroundImage(t){this.setAttribute("background-image",t)}get backgroundImageMobile(){return this.getAttribute("background-image--mobile")}set backgroundImageMobile(t){this.setAttribute("background-image--mobile",t)}get backgroundImageTablet(){return this.getAttribute("background-image--tablet")}set backgroundImageTablet(t){this.setAttribute("background-image--tablet",t)}get backgroundImageLaptop(){return this.getAttribute("background-image--laptop")}set backgroundImageLaptop(t){this.setAttribute("background-image--laptop",t)}get backgroundSize(){return this.getAttribute("background-size")}set backgroundSize(t){this.setAttribute("background-size",t)}get backgroundPosition(){return this.getAttribute("background-position")}set backgroundPosition(t){this.setAttribute("background-position",t)}get boxShadow(){return this.getAttribute("box-shadow")}set boxShadow(t){this.setAttribute("box-shadow",t)}get anchorOffset(){return this.getAttribute("anchor-offset")}set anchorOffset(t){this.setAttribute("anchor-offset",t)}get inverted(){return this.getAttribute("inverted")}set inverted(t){this.setAttribute("inverted",t)}};ht.nativeName="div";let mt=ht;customElements.get("px-container")||customElements.define("px-container",mt);const xt=new CSSStyleSheet;xt.replaceSync(".separator{--separator-size: var(--px-size-border-m);--separator-direction--mobile-border-width: var(--separator-size) 0 0;--separator-direction--mobile-width: initial;--separator-direction--mobile-height: initial;clear:both;margin:0;border-style:solid;border-color:var( --separator-color-default, var(--px-color-border-main-default) );border-width:var(--separator-size) 0 0;width:initial;height:initial}.separator-direction-horizontal--mobile{border-width:var(--separator-size) 0 0;width:initial;height:initial}.separator-direction-vertical--mobile{width:var(--separator-size);height:100%;border-width:0 var(--separator-size) 0 0}:host([inverted]) .separator{border-color:var( --separator-color-inverted, var(--px-color-border-main-inverted) )}@media only screen and (min-width: 768px){.separator-direction-horizontal--tablet{border-width:var(--separator-size) 0 0;width:initial;height:initial}.separator-direction-vertical--tablet{width:var(--separator-size);height:100%;border-width:0 var(--separator-size) 0 0}}@media only screen and (min-width: 1025px){.separator-direction-horizontal--laptop{border-width:var(--separator-size) 0 0;width:initial;height:initial}.separator-direction-vertical--laptop{width:var(--separator-size);height:100%;border-width:0 var(--separator-size) 0 0}}@media only screen and (min-width: 1441px){.separator-direction-horizontal--desktop{border-width:var(--separator-size) 0 0;width:initial;height:initial}.separator-direction-vertical--desktop{width:var(--separator-size);height:100%;border-width:0 var(--separator-size) 0 0}}");const vt=["","default","horizontal","vertical"],ft=["","default","none","s","m","l"],kt=["","main","brand","none","neutral","purpose-success","purpose-warning","purpose-error","purpose-unlimited","state-hover","state-active"],yt=class t extends M{constructor(){var e;super(xt);const i=document.createElement(t.nativeName);i.classList.add("separator"),this.internals=null==(e=this.attachInternals)?void 0:e.call(this),this.shadowRoot.appendChild(i)}static get observedAttributes(){return[...super.observedAttributes,"direction","direction--mobile","direction--tablet","direction--laptop","direction--desktop","size","color","inverted"]}attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"direction":case"direction--mobile":case"direction--tablet":case"direction--laptop":case"direction--desktop":this.updateDirection(t,e,i,vt);break;case"size":this.updateSize(t,e,i,ft);break;case"color":this.updateColor(t,e,i,kt);break;default:super.attributeChangedCallback(t,e,i)}}updateSize(t,e,i,o){const r=t=>{null!==t&&""!==t&&"default"!==t&&this.$el.style.setProperty("--separator-size",`var(--px-size-border-${t})`)};this.checkName(o,i)?(r(e),r(i)):j(`${i} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`)}updateColor(t,e,i,o){const r=t=>{null!==t&&""!==t&&"default"!==t&&(this.$el.style.setProperty("--separator-color-default",`var(--px-color-border-${t}-default)`),this.$el.style.setProperty("--separator-color-inverted",`var(--px-color-border-${t}-inverted)`))};this.checkName(o,i)?(r(e),r(i)):j(`${i} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`)}updateDirection(t,e,i,o){const r=(t,e)=>{null!==e&&""!==e&&"default"!==e&&this.$el.classList.add(`separator-direction-${e}--${t}`)};if(this.checkName(o,i))if("direction"===t)["mobile","tablet","laptop","desktop"].forEach(t=>{Array.from(this.$el.classList).find(e=>e.startsWith("separator-direction-")&&e.endsWith(`--${t}`))||r(t,i)});else{const e=t.split("--")[1],o=Array.from(this.$el.classList).find(t=>t.startsWith("separator-direction-")&&t.endsWith(`--${e}`));o?this.$el.classList.replace(o,`separator-direction-${i}--${e}`):r(e,i)}else j(`${i} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`)}get direction(){return this.getAttribute("direction")}set direction(t){this.setAttribute("direction",t)}get directionMobile(){return this.getAttribute("direction--mobile")}set directionMobile(t){this.setAttribute("direction--mobile",t)}get directionTablet(){return this.getAttribute("direction--tablet")}set directionTablet(t){this.setAttribute("direction--tablet",t)}get directionLaptop(){return this.getAttribute("direction--laptop")}set directionLaptop(t){this.setAttribute("direction--laptop",t)}get directionDesktop(){return this.getAttribute("direction--desktop")}set directionDesktop(t){this.setAttribute("direction--desktop",t)}get size(){return this.getAttribute("size")}set size(t){this.setAttribute("size",t)}get color(){return this.getAttribute("color")}set color(t){this.setAttribute("color",t)}get inverted(){return this.getAttribute("inverted")}set inverted(t){this.setAttribute("inverted",t)}};yt.nativeName="hr";let At=yt;customElements.get("px-separator")||customElements.define("px-separator",At);const wt=new CSSStyleSheet;wt.replaceSync(':host{display:block}:host([overflow-x="auto"]){margin:calc(calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile)) * -1)}:host([overflow-x="auto"]) .flex-container{padding:calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile))}.flex-container{display:flex;height:100%;width:100%;box-sizing:border-box;flex-direction:var(--flex-direction--mobile-value);gap:var(--flex-gap--mobile-value);flex-wrap:var(--flex-wrap--mobile-value);justify-content:var(--flex-justify-content--mobile-value);align-items:var(--flex-align-items--mobile-value);overflow-x:var(--overflow-x-all)}@media only screen and (max-width: 47.9375em){.flex-container{overflow-x:var(--overflow-x-all-mobile, var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media only screen and (min-width: 48em){.flex-container{flex-direction:var(--flex-direction--tablet-value);gap:var(--flex-gap--tablet-value);flex-wrap:var(--flex-wrap--tablet-value);justify-content:var(--flex-justify-content--tablet-value);align-items:var(--flex-align-items--tablet-value)}:host([overflow-x="auto"]){margin:calc(calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet)) * -1)}:host([overflow-x="auto"]) .flex-container{padding:calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet))}}@media only screen and (min-width: 48em) and (max-width: 64em){.flex-container{overflow-x:var(--overflow-x-all-tablet, var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media only screen and (min-width: 64.0625em){.flex-container{flex-direction:var(--flex-direction--laptop-value);gap:var(--flex-gap--laptop-value);flex-wrap:var(--flex-wrap--laptop-value);justify-content:var(--flex-justify-content--laptop-value);align-items:var(--flex-align-items--laptop-value)}:host([overflow-x="auto"]){margin:calc(calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop)) * -1)}:host([overflow-x="auto"]) .flex-container{padding:calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop))}}@media only screen and (min-width: 64.0625em) and (max-width: 90em){.flex-container{overflow-x:var(--overflow-x-all-laptop, var(--overflow-x-all))}}@media only screen and (min-width: 90.0625em){.flex-container{flex-direction:var(--flex-direction--desktop-value);gap:var(--flex-gap--desktop-value);flex-wrap:var(--flex-wrap--desktop-value);justify-content:var(--flex-justify-content--desktop-value);align-items:var(--flex-align-items--desktop-value);overflow-x:var(--overflow-x-all-desktop, var(--overflow-x-all))}:host([overflow-x="auto"]){margin:calc(calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop)) * -1)}:host([overflow-x="auto"]) .flex-container{padding:calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop))}}');const $t=["","default","row","row-reverse","column","column-reverse"],zt=["","default","stretch","flex-start","flex-end","center","baseline"],St=["","default","flex-start","flex-end","center","space-between","space-around","space-evenly"],Ct=["","default","nowrap","wrap","wrap-reverse"],jt=["","visible","hidden","scroll","auto"];class Lt extends L{constructor(){super(wt),this.overflowXAttributeDelegate=new rt(this,"overflow-x",t=>t,"--overflow-x"),this.template='<div class="flex-container">\n <slot></slot>\n </div>',this.shadowRoot.innerHTML=this.template}connectedCallback(){this.hasAttribute("direction")||(this.direction="row"),this.hasAttribute("gap")||(this.gap="none"),this.hasAttribute("align-items")||(this.alignItems="stretch"),this.hasAttribute("justify-content")||(this.justifyContent="flex-start"),this.hasAttribute("wrap")||(this.wrap="nowrap"),this.hasAttribute("overflow-x")||this.overflowXAttributeDelegate.init("visible")}static get observedAttributes(){return[...super.observedAttributes,"direction","direction--mobile","direction--tablet","direction--laptop","direction--desktop","gap","gap--mobile","gap--tablet","gap--laptop","gap--desktop","justify-content","justify-content--mobile","justify-content--tablet","justify-content--laptop","justify-content--desktop","align-items","align-items--mobile","align-items--tablet","align-items--laptop","align-items--desktop","wrap","wrap--mobile","wrap--tablet","wrap--laptop","wrap--desktop","overflow-x","overflow-x--mobile","overflow-x--tablet","overflow-x--laptop","overflow-x--desktop"]}attributeChangedCallback(t,e,i){switch(t){case"gap":case"gap--mobile":case"gap--tablet":case"gap--laptop":case"gap--desktop":this.updateFlexProperties(t,e,i,Q);break;case"justify-content":case"justify-content--mobile":case"justify-content--tablet":case"justify-content--laptop":case"justify-content--desktop":this.updateFlexProperties(t,e,i,St);break;case"align-items":case"align-items--mobile":case"align-items--tablet":case"align-items--laptop":case"align-items--desktop":this.updateFlexProperties(t,e,i,zt);break;case"wrap":case"wrap--mobile":case"wrap--tablet":case"wrap--laptop":case"wrap--desktop":this.updateFlexProperties(t,e,i,Ct);break;case"direction":case"direction--mobile":case"direction--tablet":case"direction--laptop":case"direction--desktop":this.updateFlexProperties(t,e,i,$t);break;case"overflow-x":case"overflow-x--mobile":case"overflow-x--tablet":case"overflow-x--laptop":case"overflow-x--desktop":this.updateOverflowX(t,e,i,jt);break;default:super.attributeChangedCallback(t,e,i)}}updateOverflowX(t,e,i,o){et(o,i)?this.overflowXAttributeDelegate.attributeChangedCallback(t,e,i):j(`${i} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`)}updateFlexProperties(t,e,i,o){this.checkName(o,i)||j(`${i} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`);const r=t.indexOf("--")>-1,a=r?t.split("--")[0]:t,n=[];if(r){const r=t.split("--")[1];this.updateStyle(a,r,e,o),this.updateStyle(a,r,i,o)}else this.getAttribute(a+"--mobile")||n.push("mobile"),this.getAttribute(a+"--tablet")||n.push("tablet"),this.getAttribute(a+"--laptop")||n.push("laptop"),this.getAttribute(a+"--desktop")||n.push("desktop"),n.forEach(t=>{this.updateStyle(a,t,e,o),this.updateStyle(a,t,i,o)})}updateStyle(t,e,i,o){i&&("gap"===t&&o&&o.includes(i)?this.$el.style.setProperty(`--flex-${t}--${e}-value`,`var(--px-spacing-${i}-${"laptop"===e?"desktop":e})`):this.$el.style.setProperty(`--flex-${t}--${e}-value`,i))}get direction(){return this.getAttribute("direction")}set direction(t){this.setAttribute("direction",t)}get directionMobile(){return this.getAttribute("direction--mobile")}set directionMobile(t){this.setAttribute("direction--mobile",t)}get directionTablet(){return this.getAttribute("direction--tablet")}set directionTablet(t){this.setAttribute("direction--tablet",t)}get directionLaptop(){return this.getAttribute("direction--laptop")}set directionLaptop(t){this.setAttribute("direction--laptop",t)}get directionDesktop(){return this.getAttribute("direction--desktop")}set directionDesktop(t){this.setAttribute("direction--desktop",t)}get gap(){return this.getAttribute("gap")}set gap(t){this.setAttribute("gap",t)}get gapMobile(){return this.getAttribute("gap--mobile")}set gapMobile(t){this.setAttribute("gap--mobile",t)}get gapTablet(){return this.getAttribute("gap--tablet")}set gapTablet(t){this.setAttribute("gap--tablet",t)}get gapLaptop(){return this.getAttribute("gap--laptop")}set gapLaptop(t){this.setAttribute("gap--laptop",t)}get gapDesktop(){return this.getAttribute("gap--desktop")}set gapDesktop(t){this.setAttribute("gap--desktop",t)}get justifyContent(){return this.getAttribute("justify-content")}set justifyContent(t){this.setAttribute("justify-content",t)}get justifyContentMobile(){return this.getAttribute("justify-content--mobile")}set justifyContentMobile(t){this.setAttribute("justify-content--mobile",t)}get justifyContentTablet(){return this.getAttribute("justify-content--tablet")}set justifyContentTablet(t){this.setAttribute("justify-content--tablet",t)}get justifyContentLaptop(){return this.getAttribute("justify-content--laptop")}set justifyContentLaptop(t){this.setAttribute("justify-content--laptop",t)}get justifyContentDesktop(){return this.getAttribute("justify-content--desktop")}set justifyContentDesktop(t){this.setAttribute("justify-content--desktop",t)}get alignItems(){return this.getAttribute("align-items")}set alignItems(t){this.setAttribute("align-items",t)}get alignItemsMobile(){return this.getAttribute("align-items--mobile")}set alignItemsMobile(t){this.setAttribute("align-items--mobile",t)}get alignItemsTablet(){return this.getAttribute("align-items--tablet")}set alignItemsTablet(t){this.setAttribute("align-items--tablet",t)}get alignItemsLaptop(){return this.getAttribute("align-items--laptop")}set alignItemsLaptop(t){this.setAttribute("align-items--laptop",t)}get alignItemsDesktop(){return this.getAttribute("align-items--desktop")}set alignItemsDesktop(t){this.setAttribute("align-items--desktop",t)}get wrap(){return this.getAttribute("wrap")}set wrap(t){this.setAttribute("wrap",t)}get wrapMobile(){return this.getAttribute("wrap--mobile")}set wrapMobile(t){this.setAttribute("wrap--mobile",t)}get wrapTablet(){return this.getAttribute("wrap--tablet")}set wrapTablet(t){this.setAttribute("wrap--tablet",t)}get wrapLaptop(){return this.getAttribute("wrap--laptop")}set wrapLaptop(t){this.setAttribute("wrap--laptop",t)}get wrapDesktop(){return this.getAttribute("wrap--desktop")}set wrapDesktop(t){this.setAttribute("wrap--desktop",t)}get overflowX(){return this.getAttribute("overflow-x")}set overflowX(t){this.setAttribute("overflow-x",t)}get overflowXMobile(){return this.getAttribute("overflow-x--mobile")}set overflowXMobile(t){this.setAttribute("overflow-x--mobile",t)}get overflowXTablet(){return this.getAttribute("overflow-x--tablet")}set overflowXTablet(t){this.setAttribute("overflow-x--tablet",t)}get overflowXLaptop(){return this.getAttribute("overflow-x--laptop")}set overflowXLaptop(t){this.setAttribute("overflow-x--laptop",t)}get overflowXDesktop(){return this.getAttribute("overflow-x--desktop")}set overflowXDesktop(t){this.setAttribute("overflow-x--desktop",t)}get $el(){return this.shadowRoot.querySelector(".flex-container")}}customElements.get("px-stack")||customElements.define("px-stack",Lt);class Tt extends Lt{constructor(){super()}connectedCallback(){super.connectedCallback(),this.direction="column",this.directionMobile="column",this.directionTablet="column",this.directionLaptop="column",this.directionDesktop="column"}}customElements.get("px-vstack")||customElements.define("px-vstack",Tt);class Mt extends Lt{constructor(){super()}connectedCallback(){super.connectedCallback(),this.direction="row",this.directionMobile="row",this.directionTablet="row",this.directionLaptop="row",this.directionDesktop="row"}}customElements.get("px-hstack")||customElements.define("px-hstack",Mt);class Nt extends HTMLElement{constructor(){super(),this.isZeroSized=!1,this.growValue="1",this.isVertical=!1}static get observedAttributes(){return["grow","nogap"]}attributeChangedCallback(t,e,i){"grow"===t&&(this.growValue=i||"1",this.isZeroSized||(this.style.flexGrow=this.growValue),this.scheduleRecheck())}connectedCallback(){this.growValue=this.getAttribute("grow")||"1",this.style.flexGrow=this.growValue,this.nogap&&(this.resizeObserver=new ResizeObserver(()=>{this.handleSizeChange()}),this.isVertical="px-vstack"===this.parentElement.localName||"column"===this.parentElement.style.flexDirection,this.resizeObserver.observe(this),this.scheduleRecheck())}disconnectedCallback(){var t;null==(t=this.resizeObserver)||t.disconnect(),this.recheckHandle&&(cancelAnimationFrame(this.recheckHandle),this.recheckHandle=void 0)}get grow(){return this.getAttribute("grow")}set grow(t){this.setAttribute("grow",t)}scheduleRecheck(){this.recheckHandle&&cancelAnimationFrame(this.recheckHandle),this.recheckHandle=requestAnimationFrame(()=>{this.recheckHandle=void 0,this.recalculateVisibility()})}recalculateVisibility(){this.isConnected&&(this.style.display="",this.style.flexGrow=this.growValue,this.handleSizeChange())}handleSizeChange(){const t=this.getBoundingClientRect(),e=0===t.width&&!this.isVertical||0===t.height&&this.isVertical;this.isZeroSized!==e&&(this.isZeroSized=e,this.updateParticipation())}updateParticipation(){this.isZeroSized?(this.style.display="none",this.style.flexGrow="0"):(this.style.display="",this.style.flexGrow=this.growValue)}get nogap(){return this.hasAttribute("nogap")}set nogap(t){t?this.setAttribute("nogap",""):this.removeAttribute("nogap")}}customElements.get("px-spacer")||customElements.define("px-spacer",Nt);const Et=new CSSStyleSheet;Et.replaceSync(":host{display:block;box-sizing:border-box}slot[name=body-container]{min-height:100vh}#image-sticky-box{margin-top:-2.5em}");class It extends L{constructor(){super(Et),this.template=t=>`\n <px-container border-radius="none" padding="none">\n <px-vstack>\n <px-container id="header-container" border-radius="none">\n <px-hstack>\n <px-spacer></px-spacer>\n <px-vstack\n id="header-vstack-container"\n gap="s"\n grow="${this.grow}"\n basis="${this.basis}"\n >\n <slot name="header-container"></slot>\n </px-vstack>\n <px-spacer></px-spacer>\n </px-hstack>\n </px-container>\n <px-container\n id="image-container"\n border-radius="none"\n padding="none"\n padding-top="xl"\n id="image-box"\n background-size="cover"\n background-position="top center"\n padding-bottom="xl"\n border-radius="none"\n bgimg="${this.backgroundImage}"\n >\n <px-hstack>\n <px-spacer></px-spacer>\n <px-vstack grow="${this.grow}" basis="${this.basis}">\n <slot name="image-container"></slot>\n </px-vstack>\n <px-spacer></px-spacer>\n </px-hstack>\n </px-container>\n ${t?` <px-hstack>\n <px-spacer></px-spacer>\n <px-container border-radius="none" box-shadow="xl" id="image-sticky-box" border="s" grow="${this.grow}" basis="${this.basis}" border-radius="m">\n <px-vstack gap="s">\n <slot name="image-sticky-container"></slot>\n </px-vstack>\n </px-container>\n <px-spacer></px-spacer>\n </px-hstack>`:""}\n <px-container\n id="body-container"\n id="main"\n background-color="${this.backgroundColor}"\n padding="none"\n padding-top="xl"\n padding-bottom="xl"\n >\n <px-hstack>\n <px-spacer></px-spacer>\n <px-vstack\n id="body-vstack-container"\n gap="l"\n grow="${this.grow}"\n basis="${this.basis}"\n >\n <slot name="body-container"></slot>\n </px-vstack>\n <px-spacer></px-spacer>\n </px-hstack>\n </px-container>\n <px-container\n id="contact-container"\n border-radius="none"\n id="main"\n background-color="surface-default"\n padding="none"\n padding-top="xl"\n padding-bottom="xl"\n >\n <px-hstack>\n <px-spacer></px-spacer>\n <px-vstack gap="l" grow="${this.grow}" basis="${this.basis}">\n <slot name="contact-container"></slot>\n </px-vstack>\n <px-spacer></px-spacer>\n </px-hstack>\n </px-container>\n <px-container\n id="footer-container"\n background-color="none"\n border-radius="none"\n style="background-color: rgb(108, 66, 156)"\n padding-top="xl"\n padding-bottom="xl"\n >\n <px-hstack>\n <px-spacer></px-spacer>\n <px-vstack gap="l" grow="${this.grow}" basis="${this.basis}">\n <slot name="footer-container"></slot>\n </px-vstack>\n <px-spacer></px-spacer>\n </px-hstack>\n </px-container>\n </px-vstack>\n </px-container>\n `,this.shadowRoot.innerHTML=this.template(!!this.$imageStickySlot)}static get observedAttributes(){return[...super.observedAttributes,"background-image","gap","background-color","padding-vertical","padding-horizontal"]}get $wideImage(){return this.shadowRoot.querySelector("#image-box")}get $bodyVStackContainer(){return this.shadowRoot.querySelector("#header-vstack-container")}get $bodyContainer(){return this.shadowRoot.querySelector("#body-container")}get $contactContainer(){return this.shadowRoot.querySelector("#contact-container")}get $footerContainer(){return this.shadowRoot.querySelector("#footer-container")}get $headerContainer(){return this.shadowRoot.querySelector("#header-container")}get $imageContainer(){return this.shadowRoot.querySelector("#image-container")}get backgroundImage(){return this.getAttribute("background-image")}get $imageStickySlot(){return this.querySelector('*[slot="image-sticky-container"]')}get $main(){return this.shadowRoot.querySelector("#main")}get backgroundColor(){return this.getAttribute("background-color")||"none"}get paddingVertical(){return this.getAttribute("padding-vertical")}get paddingHorizontal(){return this.getAttribute("padding-horizontal")}set paddingVertical(t){this.setAttribute("padding-vertical",t)}set paddingHorizontal(t){this.setAttribute("padding-horizontal",t)}get gap(){return this.getAttribute("gap")}connectedCallback(){this.handlePaddingVerticalChange(this.paddingVertical),this.handlePaddingHorizontalChange(this.paddingHorizontal)}attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"background-image":this.$imageContainer.setAttribute("background-image",i);break;case"gap":this.$bodyVStackContainer.setAttribute("gap",i);break;case"background-color":this.$bodyContainer.setAttribute("background-color",Z.indexOf(i)>0?i:"none");break;case"padding-vertical":this.handlePaddingVerticalChange(i);break;case"padding-horizontal":this.handlePaddingHorizontalChange(i);break;default:super.attributeChangedCallback(t,e,i)}}handlePaddingVerticalChange(t){this.$headerContainer.setAttribute("padding-top",t),this.$footerContainer.setAttribute("padding-bottom",t)}handlePaddingHorizontalChange(t){this.$headerContainer.paddingLeft=t,this.$headerContainer.paddingRight=t,this.$bodyContainer.paddingLeft=t,this.$bodyContainer.paddingRight=t,this.$contactContainer.paddingLeft=t,this.$contactContainer.paddingRight=t,this.$footerContainer.paddingLeft=t,this.$footerContainer.paddingRight=t,this.$imageContainer.paddingLeft=t,this.$imageContainer.paddingRight=t}}void 0===customElements.get("px-page")&&customElements.define("px-page",It);class Dt extends HTMLElement{constructor(){super()}static get observedAttributes(){return["name","src","type","format"]}connectedCallback(){if(document.querySelectorAll(`px-icon-set[name="${this.getAttribute("name")}"]`).length>1&&(console.warn("Only one <px-icon-set> component is allowed, self removing"),this.remove()),"font"===this.getAttribute("type")){const t=document.createElement("style");t.setAttribute("type","text/css"),t.setAttribute("data-name",this.getAttribute("name")),t.textContent=`\n@font-face {\n font-family: 'lavender';\n src:\n url('${this.getAttribute("src")}') format(${this.getAttribute("format")}),\n font-weight: normal;\n font-style: normal;\n font-display: block;\n}\n `,document.head.appendChild(t)}}disconnectedCallback(){const t=document.querySelector(`style[data-name="${this.getAttribute("name")}"]`);t&&t.remove()}}customElements.get("px-icon-set")||customElements.define("px-icon-set",Dt);const Pt=["Inherit","Brand","Accent","Neutral","Dimmed","PurposeSuccess","PurposeWarning","PurposeError","PurposeUnlimited","PurposePromo","StateHover","StateActive","StateDisabled"].map(t=>t.replace(/([A-Z])/g,"-$1").toLowerCase().slice(1)),Rt=new CSSStyleSheet;Rt.replaceSync(":host{display:inline-flex;flex-direction:column;justify-content:center}svg{font-size:var(--px-size-icon-s);line-height:var(--px-font-line-height-xs);width:1em;height:1em;color:var(--px-color-icon-accent-default)}.inherit{color:inherit}.brand{color:var(--px-color-icon-brand-default)}.accent{color:var(--px-color-icon-accent-default)}.neutral{color:var(--px-color-icon-neutral-default)}.dimmed{color:var(--px-color-icon-dimmed-default)}.purpose-success{color:var(--px-color-icon-purpose-success-default)}.purpose-warning{color:var(--px-color-icon-purpose-warning-default)}.purpose-error{color:var(--px-color-icon-purpose-error-default)}.purpose-unlimited{color:var(--px-color-icon-purpose-unlimited-default)}.purpose-promo{color:var(--px-color-icon-purpose-promo-default)}.state-hover:hover{color:var(--px-color-icon-state-hover-default)}.state-active:active{color:var(--px-color-icon-state-active-default)}.state-disabled{color:var(--px-color-icon-state-disabled-default)}:host([inverted]) svg{color:var(--px-color-icon-accent-inverted)}:host([inverted]) .inherit{color:inherit}:host([inverted]) .brand{color:var(--px-color-icon-brand-inverted)}:host([inverted]) .accent{color:var(--px-color-icon-accent-inverted)}:host([inverted]) .neutral{color:var(--px-color-icon-neutral-inverted)}:host([inverted]) .dimmed{color:var(--px-color-icon-dimmed-inverted)}:host([inverted]) .purpose-success{color:var(--px-color-icon-purpose-success-inverted)}:host([inverted]) .purpose-warning{color:var(--px-color-icon-purpose-warning-inverted)}:host([inverted]) .purpose-error{color:var(--px-color-icon-purpose-error-inverted)}:host([inverted]) .purpose-unlimited{color:var(--px-color-icon-purpose-unlimited-inverted)}:host([inverted]) .purpose-promo{color:var(--px-color-icon-purpose-promo-inverted)}:host([inverted]) .state-hover:hover{color:var(--px-color-icon-state-hover-inverted)}:host([inverted]) .state-active:active{color:var(--px-color-icon-state-active-inverted)}:host([inverted]) .state-disabled{color:var(--px-color-icon-state-disabled-inverted)}.size-xs{font-size:var(--px-size-icon-xs)}.size-s{font-size:var(--px-size-icon-s)}.size-m{font-size:var(--px-size-icon-m)}.size-l{font-size:var(--px-size-icon-l)}.size-xl{font-size:var(--px-size-icon-xl)}");const Bt=["name","size","color","aria-label","inverted","from","disabled"];class qt extends L{constructor(...o){var r;super(...o,Rt),x(this,t),x(this,e),x(this,i,()=>'<svg aria-hidden="true">\n <use xlink:href=""></use>\n </svg>'),this.shadowRoot.innerHTML=m(this,i).call(this),v(this,e,null==(r=this.attachInternals)?void 0:r.call(this)),m(this,e)&&(m(this,e).role="img")}static get observedAttributes(){return[...super.observedAttributes,...Bt]}attributeChangedCallback(t,i,o){if(i!==o)switch(t){case"name":this.updateName(i,o);break;case"size":this.updateAttribute(t,i,o,H);break;case"color":this.updateAttribute(t,i,o,Pt);break;case"disabled":this.color="state-disabled";break;case"aria-label":if(!m(this,e))return;o?(m(this,e).ariaHidden="false",this.ariaHidden="false"):(m(this,e).ariaHidden="true",this.ariaHidden="true")}}connectedCallback(){this.role="img",this.name&&this.$el.firstElementChild.setAttribute("xlink:href",`#icon-${this.name}`);const i=document.querySelectorAll("px-icon-set");i||console.log("<px-icon-set> component not found");for(const e of i)e.getAttribute("name")&&e.getAttribute("src")?e.getAttribute("name")===this.from&&"font"!==e.getAttribute("type")&&(v(this,t,e.getAttribute("src")),this.$el.firstElementChild.setAttribute("xlink:href",`${m(this,t)}#icon-${this.name}`)):console.error("Icon name or src not found");!this.ariaLabel&&m(this,e)&&(m(this,e).ariaHidden="true",this.ariaHidden="true")}updateAttribute(t,e,i,o){null!==e&&""!==e&&("size"===t?this.$el.classList.toggle(`${t}-${e}`):this.$el.classList.toggle(e)),null!==i&&""!==i&&("size"===t?this.$el.classList.toggle(`${t}-${i}`):this.$el.classList.toggle(i)),this.checkName(o,i)||j(`${i} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`)}updateName(e,i){m(this,t)&&this.$el.firstElementChild.setAttribute("xlink:href",`${m(this,t)}#icon-${i}`)}get $el(){return this.shadowRoot.querySelector("svg")}get name(){return this.getAttribute("name")}set name(t){this.setAttribute("name",t)}get size(){return this.getAttribute("size")}set size(t){this.setAttribute("size",t)}get color(){return this.getAttribute("color")}set color(t){this.setAttribute("color",t)}get arialabel(){return this.getAttribute("aria-label")}set arialabel(t){this.setAttribute("aria-label",t)}get inverted(){return this.getAttribute("inverted")}set inverted(t){this.setAttribute("inverted",t)}get from(){return this.getAttribute("from")}set from(t){this.setAttribute("from",t)}get disabled(){return this.getAttribute("disabled")}set disabled(t){this.setAttribute("disabled",t)}}t=new WeakMap,e=new WeakMap,i=new WeakMap,customElements.get("px-icon")||customElements.define("px-icon",qt);const Ot=".color-inherit{color:inherit!important}.color-brand{color:var(--px-color-text-brand-default)!important}.color-neutral{color:var(--px-color-text-neutral-default)!important}.color-dimmed{color:var(--px-color-text-dimmed-default)!important}.color-purpose-success{color:var(--px-color-text-purpose-success-default)!important}.color-purpose-warning{color:var(--px-color-text-purpose-warning-default)!important}.color-purpose-error{color:var(--px-color-text-purpose-error-default)!important}.color-purpose-unlimited{color:var(--px-color-text-purpose-unlimited-default)!important}.color-purpose-promo{color:var(--px-color-text-purpose-promo-default)!important}.color-state-hover{color:var(--px-color-text-state-hover-default)!important}.color-state-active{color:var(--px-color-text-state-active-default)!important}.color-state-disabled{color:var(--px-color-text-state-disabled-default)!important}:host([inverted]) .color-inherit{color:inherit!important}:host([inverted]) .color-brand{color:var(--px-color-text-brand-inverted)!important}:host([inverted]) .color-neutral{color:var(--px-color-text-neutral-inverted)!important}:host([inverted]) .color-dimmed{color:var(--px-color-text-dimmed-inverted)!important}:host([inverted]) .color-purpose-success{color:var(--px-color-text-purpose-success-inverted)!important}:host([inverted]) .color-purpose-warning{color:var(--px-color-text-purpose-warning-inverted)!important}:host([inverted]) .color-purpose-error{color:var(--px-color-text-purpose-error-inverted)!important}:host([inverted]) .color-purpose-unlimited{color:var(--px-color-text-purpose-unlimited-inverted)!important}:host([inverted]) .color-purpose-promo{color:var(--px-color-text-purpose-promo-inverted)!important}:host([inverted]) .color-state-hover{color:var(--px-color-text-state-hover-inverted)!important}:host([inverted]) .color-state-active{color:var(--px-color-text-state-active-inverted)!important}:host([inverted]) .color-state-disabled{color:var(--px-color-text-state-disabled-inverted)!important}.font-size-inherit{font-size:inherit;line-height:inherit}.font-size-body-l{font-size:var(--px-text-size-body-l-mobile)}.font-size-body-m{font-size:var(--px-text-size-body-m-mobile)}.font-size-body-s{font-size:var(--px-text-size-body-s-mobile)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-mobile)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-mobile)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-mobile)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-mobile)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-mobile)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-mobile)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-mobile)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-mobile)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-mobile)}.font-size-heading-3xl,.font-size-heading-4xl,.font-size-heading-5xl{line-height:var(--px-line-height-ratio-s)}.font-size-link-m{font-size:var(--px-text-size-link-m-mobile)}.font-size-link-s{font-size:var(--px-text-size-link-s-mobile)}@media only screen and (min-width: 48em){.font-size-body-l{font-size:var(--px-text-size-body-l-desktop)}.font-size-body-m{font-size:var(--px-text-size-body-m-desktop)}.font-size-body-s{font-size:var(--px-text-size-body-s-desktop)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-desktop)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-desktop)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-desktop)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-desktop)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-desktop)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-desktop)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-desktop)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-desktop)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-desktop)}.font-size-link-m{font-size:var(--px-text-size-link-m-desktop)}.font-size-link-s{font-size:var(--px-text-size-link-s-desktop)}}@media only screen and (min-width: 64.0625em){.font-size-body-l{font-size:var(--px-text-size-body-l-desktop)}.font-size-body-m{font-size:var(--px-text-size-body-m-desktop)}.font-size-body-s{font-size:var(--px-text-size-body-s-desktop)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-desktop)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-desktop)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-desktop)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-desktop)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-desktop)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-desktop)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-desktop)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-desktop)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-desktop)}.font-size-link-m{font-size:var(--px-text-size-link-m-desktop)}.font-size-link-s{font-size:var(--px-text-size-link-s-desktop)}}.font-weight-inherit{font-weight:inherit}.font-weight-body{font-weight:var(--px-font-weight-body)}.font-weight-title{font-weight:var(--px-font-weight-title)}.font-weight-title-large{font-weight:var(--px-font-weight-title-large)}.font-weight-subtitle{font-weight:var(--px-font-weight-subtitle)}",Ht=new CSSStyleSheet;Ht.replaceSync(y);const Vt=new CSSStyleSheet;Vt.replaceSync(Ot);class _t extends M{template(){return"<slot></slot>"}constructor(t){super(Ht,Vt);const e=document.createElement(t);e.innerHTML=this.template(),this.shadowRoot.appendChild(e)}static get observedAttributes(){return[...super.observedAttributes,"variant","color","text-align","text-align--mobile","text-align--tablet","text-align--laptop","text-align--desktop","inverted"]}attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"variant":this.updateAttribute(t,e,i,J);break;case"color":this.updateColor(e,i,q);break;case"text-align":case"text-align--mobile":case"text-align--tablet":case"text-align--laptop":case"text-align--desktop":this.updateTextAlign(t,e,i,V);break;default:super.attributeChangedCallback(t,e,i)}}toggleClass(t,e){null!==t&&""!==t&&"default"!==t&&this.$el.classList.toggle(`style-${t}`),null!==e&&""!==e&&"default"!==e&&this.$el.classList.toggle(`style-${e}`)}updateAttribute(t,e,i,o){this.checkName(o,i)?this.toggleClass(e,i):j(`${i} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`)}updateColor(t,e,i){if(!this.checkName(i,e))return void j(`${e} is not an allowed color value for ${this.tagName.toLowerCase()}`);const o=t=>{null!==t&&""!==t&&"default"!==t&&(this.$el.style.setProperty("--heading-color-default",`var(--px-color-text-${t}-default)`),this.$el.style.setProperty("--heading-color-inverted",`var(--px-color-text-${t}-inverted)`))};o(t),o(e)}updateTextAlign(t,e,i,o){if(!this.checkName(o,i))return void j(`${i} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`);const r=(t,e)=>{null!==e&&""!==e&&"default"!==e&&this.$el.style.setProperty(`--heading-text-align--${t}`,e)};if("text-align"===t)["mobile","tablet","laptop","desktop"].forEach(t=>{r(t,e),r(t,i)});else{const o=t.split("--")[1];r(o,e),r(o,i)}}get variant(){return this.getAttribute("variant")}set variant(t){this.setAttribute("variant",t)}get color(){return this.getAttribute("color")}set color(t){this.setAttribute("color",t)}get textAlign(){return this.getAttribute("text-align")}set textAlign(t){this.setAttribute("text-align",t)}get textAlignMobile(){return this.getAttribute("text-align--mobile")}set textAlignMobile(t){this.setAttribute("text-align--mobile",t)}get textAlignTablet(){return this.getAttribute("text-align--tablet")}set textAlignTablet(t){this.setAttribute("text-align--tablet",t)}get textAlignLaptop(){return this.getAttribute("text-align--laptop")}set textAlignLaptop(t){this.setAttribute("text-align--laptop",t)}get textAlignDesktop(){return this.getAttribute("text-align--desktop")}set textAlignDesktop(t){this.setAttribute("text-align--desktop",t)}get inverted(){return this.getAttribute("inverted")}set inverted(t){this.setAttribute("inverted",t)}}const Gt=class extends _t{constructor(){super("h1")}};Gt.nativeName="h1";let Ft=Gt;customElements.get("px-h1")||customElements.define("px-h1",Ft);const Wt=class extends _t{constructor(){super("h2")}};Wt.nativeName="h2";let Xt=Wt;customElements.get("px-h2")||customElements.define("px-h2",Xt);const Zt=class extends _t{constructor(){super("h3")}};Zt.nativeName="h3";let Ut=Zt;customElements.get("px-h3")||customElements.define("px-h3",Ut);const Yt=class extends _t{constructor(){super("h4")}};Yt.nativeName="h4";let Jt=Yt;customElements.get("px-h4")||customElements.define("px-h4",Jt);const Kt=class extends _t{constructor(){super("h5")}};Kt.nativeName="h5";let Qt=Kt;customElements.get("px-h5")||customElements.define("px-h5",Qt);const te=class extends _t{constructor(){super("h6")}};te.nativeName="h6";let ee=te;customElements.get("px-h6")||customElements.define("px-h6",ee);const ie=new CSSStyleSheet,oe=new CSSStyleSheet,re=new CSSStyleSheet;ie.replaceSync(w),oe.replaceSync(Ot),re.replaceSync(y);const ae=class extends M{constructor(){super(oe,re,ie),this.template="<p><slot></slot></p>",this.shadowRoot.innerHTML=this.template}static get observedAttributes(){return[...super.observedAttributes,"variant","color","font-size","font-weight","text-align","text-align--mobile","text-align--tablet","text-align--laptop","inverted","disabled"]}attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"variant":this.updateVariant(t,e,i,J);break;case"color":this.updateTypography(t,e,i,q);break;case"font-size":this.updateTypography(t,e,i,B);break;case"font-weight":this.updateTypography(t,e,i,O);break;case"text-align":case"text-align--mobile":case"text-align--tablet":case"text-align--laptop":this.updateTypography(t,e,i,V);break;case"disabled":this.color="state-disabled";break;default:super.attributeChangedCallback(t,e,i)}}toggleClass(t,e){null!==t&&""!==t&&"default"!==t&&this.$el.classList.toggle(`style-${t}`),null!==e&&""!==e&&"default"!==e&&this.$el.classList.toggle(`style-${e}`)}updateVariant(t,e,i,o){this.checkName(o,i)?this.toggleClass(e,i):j(`${i} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`)}updateTypography(t,e,i,o){if(this.checkName(o,i)){const o=this.splitAttrNameFromBreakpoint(t),r=o.breakpoint;null!==e&&""!==e&&this.$el.classList.toggle(`${o.attrName}-${e}${r}`),null!==i&&""!==i&&this.$el.classList.toggle(`${o.attrName}-${i}${r}`)}else j(`${i} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`)}splitAttrNameFromBreakpoint(t){let e="";if(["--mobile","--tablet","--laptop"].some(e=>t.includes(e))){const i=t.split("--");t=i[0],e=`--${i[1]}`}return{attrName:t,breakpoint:e}}get variant(){return this.getAttribute("variant")}set variant(t){this.setAttribute("variant",t)}get color(){return this.getAttribute("color")}set color(t){this.setAttribute("color",t)}get fontSize(){return this.getAttribute("font-size")}set fontSize(t){this.setAttribute("font-size",t)}get fontWeight(){return this.getAttribute("font-weight")}set fontWeight(t){this.setAttribute("font-weight",t)}get textAlign(){return this.getAttribute("text-align")}set textAlign(t){this.setAttribute("text-align",t)}get textAlignMobile(){return this.getAttribute("text-align--mobile")}set textAlignMobile(t){this.setAttribute("text-align--mobile",t)}get textAlignTablet(){return this.getAttribute("text-align--tablet")}set textAlignTablet(t){this.setAttribute("text-align--tablet",t)}get textAlignLaptop(){return this.getAttribute("text-align--laptop")}set textAlignLaptop(t){this.setAttribute("text-align--laptop",t)}get inverted(){return this.getAttribute("inverted")}set inverted(t){this.setAttribute("inverted",t)}get disabled(){return this.getAttribute("disabled")}set disabled(t){this.setAttribute("disabled",t)}};ae.nativeName="p";let ne=ae;customElements.get("px-p")||customElements.define("px-p",ne);const se=new CSSStyleSheet;se.replaceSync("*{box-sizing:border-box}#container{display:flex;flex-wrap:nowrap;font-family:var(--px-font-family);font-size:var(--px-font-size-base);color:var(--px-color-text-neutral-default);width:1080px;border-radius:var(--px-radius-main);background-color:var(--px-color-background-surface-default);overflow:hidden}#container.info{border-left:5px var(--px-color-icon-brand-default) solid}#container.success{border-left:5px var(--px-color-icon-purpose-success-default) solid}#container.warning{border-left:5px var(--px-color-icon-purpose-warning-default) solid}#container.error{border-left:5px var(--px-color-icon-purpose-error-default) solid}#content-container{padding:var(--px-padding-m-mobile);flex-grow:1}#media-container{display:none}::slotted(px-button-icon){position:absolute;top:var(--px-padding-m-desktop);right:var(--px-padding-m-desktop)}dialog{background:transparent;border-radius:0;box-shadow:none;padding:0;border:0;box-sizing:border-box;transform:scale(.95);animation:modalIn .3s ease-out forwards}::backdrop{background:#0000004d;-webkit-backdrop-filter:saturate(180%) blur(15px);backdrop-filter:saturate(180%) blur(15px)}#content{max-height:12.5em;overflow:auto}@media screen and (max-width: 1081px){#container{width:inherit}#content-container{padding:var(--px-padding-m-mobile)}::slotted(px-button-icon){top:var(--px-padding-m-mobile);right:var(--px-padding-m-mobile)}}@media only screen and (min-width: 48em){::slotted(px-button-icon){position:absolute;top:var(--px-padding-m-tablet);right:var(--px-padding-m-tablet)}#content{max-height:25em}}@media only screen and (min-width: 64.0625em){:host([media-src]) #media-container{display:block;background-size:cover;background-position:center center;background-repeat:no-repeat;flex-basis:25em;flex-shrink:0}}@keyframes modalIn{0%{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}");class le extends HTMLElement{constructor(){super(),this.template=' <dialog>\n <div id="container">\n <div id="content-container">\n <px-vstack gap="default" >\n <px-hstack id="icon-container" gap="s" align-items="flex-start">\n <px-vstack gap="s">\n <px-h1 variant="title-l">\n <slot name="title"></slot>\n </px-h1>\n <px-p font-weight="title">\n <slot name="description"></slot>\n </px-p>\n </px-vstack>\n </px-hstack>\n <div id="content">\n <slot></slot>\n </div>\n <px-separator size="m"></px-separator>\n <px-stack\n gap="s"\n justify-content="flex-end"\n align-items="center"\n align-items--mobile="stretch"\n direction="row"\n direction--mobile="column-reverse"\n >\n <slot name="footer"></slot>\n </px-stack>\n </px-vstack>\n <slot name="close-button"></slot>\n </div>\n <div id="media-container">\n </div>\n </div>\n </dialog>',this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=this.template,this.shadowRoot.adoptedStyleSheets=[se]}connectedCallback(){if(this.hasAttribute("open")&&this.show(),this.hasAttribute("closedby")){const t=document.querySelector(`#${this.getAttribute("closedby")}`);null==t||t.addEventListener("click",()=>{this.close()})}if(this.hasAttribute("openedby")){const t=document.querySelector(`px-button#${this.getAttribute("openedby")}`);null==t||t.addEventListener("click",()=>{this.show()})}this.hasAttribute("media-src")&&this.updateMediaSrc(this.getAttribute("media-src"))}static get observedAttributes(){return["open","status","media-src"]}attributeChangedCallback(t,e,i){switch(t){case"open":this.handleOpenChange();break;case"status":this.handleStatusChange(e,i);break;case"media-src":this.updateMediaSrc(i)}}handleOpenChange(){this.hasAttribute("open")?this.show():this.close()}handleStatusChange(t,e){var i,o,r;if("info"===e?this.$container.classList.add("info"):this.$container.classList.remove("info"),"success"===e?this.$container.classList.add("success"):this.$container.classList.remove("success"),"error"===e?this.$container.classList.add("error"):this.$container.classList.remove("error"),"warning"===e?this.$container.classList.add("warning"):this.$container.classList.remove("warning"),null===e&&this.$statusIcon)null==(i=this.$statusIcon)||i.remove();else if(null===t&&e&&!this.$statusIcon){const t=document.createElement("px-icon");t.setAttribute("name",this.getIcon(e)),t.setAttribute("from","lavender"),t.setAttribute("color",`purpose-${e}`),t.setAttribute("size","l"),this.$iconContainer.prepend(t)}else null==(o=this.$statusIcon)||o.setAttribute("name",this.getIcon(e)),null==(r=this.$statusIcon)||r.setAttribute("color",`purpose-${e}`)}getIcon(t){return"success"===t?"checkmark_fill":"warning"===t?"exclamation_mark_fill":"error"===t?"minus_fill":"information_fill"}show(){this.$dialog.showModal()}close(){this.$dialog.close(),this.dispatchEvent(new CustomEvent("px.lavender.modal.close",{bubbles:!0,composed:!0}))}updateMediaSrc(t){this.$mediaContainer.style.backgroundImage=`url(${t})`}get status(){return this.getAttribute("status")}set status(t){this.setAttribute("status",t)}get $closeButton(){return this.shadowRoot.querySelector("px-button-icon")}get $statusIcon(){return this.$iconContainer.querySelector("#icon-container > px-icon")}get $mediaContainer(){return this.shadowRoot.querySelector("#media-container")}get mediaSrc(){return this.getAttribute("media-src")}set mediaSrc(t){null===t?this.removeAttribute("media-src"):this.setAttribute("media-src",t)}get $container(){return this.shadowRoot.querySelector("#container")}get $iconContainer(){return this.shadowRoot.querySelector("#icon-container")}get $dialog(){return this.shadowRoot.querySelector("dialog")}get open(){return this.$dialog.open}}customElements.get("px-modal")||customElements.define("px-modal",le);const de=".btn{width:var(--button-extended--mobile, var(--button-extended, auto));display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-title);text-align:center;gap:var(--px-spacing-2xs-mobile);cursor:pointer;text-decoration:none;--btn-transition: all .2s ease-in-out 0s;transition:var(--btn-transition);border:var(--px-size-border-m) solid transparent}.btn,.btn *{box-sizing:border-box}.btn ::slotted(px-icon){line-height:0}.btn:hover:not([disabled],[aria-disabled=true],.loading){border-color:var(--px-color-border-state-hover-default)}.btn:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}.btn:active:not([disabled],[aria-disabled=true],.loading){transform:scale(.95);border-color:var(--px-color-border-state-active-default);color:var(--px-color-text-state-active-default);background:var(--px-color-background-state-hover-bordered-default)}.btn[disabled],.btn[aria-disabled=true]{cursor:default;pointer-events:none}.btn.loading{cursor:inherit}.btn.loading ::slotted(px-spinner){line-height:0}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-container-primary-default);min-height:var(--px-spacing-l-mobile);padding:var(--px-padding-xs-mobile) var(--px-padding-m-mobile);border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot=\"after\"]){margin-right:calc(var(--px-padding-xs-mobile) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot=\"before\"]){margin-left:calc(var(--px-padding-xs-mobile) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown):hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown)[disabled],.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown)[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown).loading{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-brand-default);border-color:transparent}.btn.secondary{color:var(--px-color-text-brand-default);background:var(--px-color-background-container-secondary-default);min-height:var(--px-spacing-l-mobile);padding:var(--px-padding-xs-mobile) var(--px-padding-m-mobile);border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn.secondary:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn.secondary[disabled],.btn.secondary[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}.btn.secondary.loading{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-brand-default);border-color:transparent}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn.tertiary{background:none;color:var(--px-color-text-brand-default);border-radius:var(--px-radius-pill);border:var(--px-size-border-m) solid transparent;padding:var(--px-padding-2xs-mobile) 0;gap:var(--px-spacing-xs-mobile)}.btn.tertiary ::slotted(px-icon){display:flex;align-items:center;justify-content:center;width:var(--px-size-icon-xs);height:var(--px-size-icon-xs);padding:4px;border-radius:var(--px-radius-pill);background:var(--px-color-background-container-secondary-default);transition:var(--btn-transition)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading),.btn.tertiary:active:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-mobile) var(--px-padding-s-mobile)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon),.btn.tertiary:active:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon){background:transparent;margin:0 -8px;width:inherit;height:inherit}.btn.tertiary[disabled],.btn.tertiary[aria-disabled=true]{color:var(--px-color-text-state-disabled-default)}.btn.tertiary[disabled] ::slotted(px-icon),.btn.tertiary[aria-disabled=true] ::slotted(px-icon){background:var(--px-color-background-state-disabled-default)}.btn.tertiary.loading{color:var(--px-color-text-brand-default);border-color:transparent}.btn.tertiary.loading ::slotted(px-spinner){display:flex;align-items:center;justify-content:center;width:var(--px-size-icon-xs);height:var(--px-size-icon-xs);padding:4px;border-radius:var(--px-radius-pill);background:var(--px-color-background-state-disabled-default)}.btn.patch{display:inline-flex}.btn.patch:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn.patch[disabled],.btn.patch[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}.btn.actionable-tag{background:var(--px-color-background-container-default-inverted);color:var(--px-color-text-neutral-default);padding:var(--px-padding-2xs-mobile) var(--px-padding-xs-mobile);gap:var(--px-spacing-xs-mobile);border-radius:var(--px-radius-pill);border:var(--px-size-border-m) solid var(--px-color-border-neutral-default)}.btn.actionable-tag:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn.actionable-tag:active:not([disabled],[aria-disabled=true],.loading){background:var(--px-color-background-state-active-default);color:var(--px-color-text-state-active-inverted);border-color:var(--px-color-border-none-default)}.btn.actionable-tag[disabled],.btn.actionable-tag[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default);border-color:var(--px-color-border-none-default)}.btn.header-dropdown{display:flex;justify-content:space-between;width:100%;color:var(--px-color-text-neutral-default);font-weight:var(--px-font-weight-body);font-size:var(--px-text-size-label-l-mobile);border:var(--px-size-border-m) solid var(--px-color-border-neutral-default);padding:var(--px-padding-xs-mobile) var(--px-padding-s-mobile);border-radius:var(--px-radius-main);background-color:var(--px-color-background-container-default-default);touch-action:manipulation}.btn.header-dropdown:after{display:inline-block;content:\"\";width:var(--px-size-icon-xs);height:var(--px-size-icon-xs);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:cover;mask-size:cover;-webkit-mask-position:50% 50%;mask-position:50% 50%;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15.4753 7.37808C15.1565 7.06426 14.6396 7.06426 14.3208 7.37808L10.0001 11.6313L5.67934 7.37808C5.36055 7.06426 4.84368 7.06426 4.52488 7.37808C4.20608 7.69189 4.20608 8.20069 4.52488 8.5145L9.42284 13.3359C9.74163 13.6497 10.2585 13.6497 10.5773 13.3359L15.4753 8.5145C15.7941 8.20069 15.7941 7.69189 15.4753 7.37808Z' fill='%235C2D91'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15.4753 7.37808C15.1565 7.06426 14.6396 7.06426 14.3208 7.37808L10.0001 11.6313L5.67934 7.37808C5.36055 7.06426 4.84368 7.06426 4.52488 7.37808C4.20608 7.69189 4.20608 8.20069 4.52488 8.5145L9.42284 13.3359C9.74163 13.6497 10.2585 13.6497 10.5773 13.3359L15.4753 8.5145C15.7941 8.20069 15.7941 7.69189 15.4753 7.37808Z' fill='%235C2D91'/%3E%3C/svg%3E\");background-color:currentColor;color:var(--px-color-icon-brand-default)}button.link{background:none;border:none;text-decoration:underline;padding:0;cursor:pointer}button.link[disabled],button.link[aria-disabled=true]{cursor:default;pointer-events:none;color:var(--px-color-text-state-disabled-default)}:host([inverted]) .btn:hover:not([disabled],[aria-disabled=true],.loading){border-color:var(--px-color-border-state-hover-inverted)}:host([inverted]) .btn:focus-visible:not([disabled],[aria-disabled=true]){outline-color:var(--px-color-border-focus-outline-inverted)}:host([inverted]) .btn:active:not([disabled],[aria-disabled=true],.loading){border-color:var(--px-color-border-state-active-inverted);color:var(--px-color-text-state-active-inverted);background:var(--px-color-background-state-hover-bordered-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag){color:var(--px-color-text-brand-default);background:var(--px-color-background-container-primary-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag):hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag)[disabled],:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag)[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag).loading{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-brand-inverted);border-color:transparent}:host([inverted]) .btn.secondary{color:var(--px-color-text-brand-inverted);background:var(--px-color-background-container-secondary-inverted)}:host([inverted]) .btn.secondary:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-container-default-inverted)}:host([inverted]) .btn.secondary[disabled],:host([inverted]) .btn.secondary[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn.secondary.loading{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-brand-inverted);border-color:transparent}:host([inverted]) .btn.tertiary{color:var(--px-color-text-brand-inverted)}:host([inverted]) .btn.tertiary ::slotted(px-icon){background:var(--px-color-background-container-secondary-inverted)}:host([inverted]) .btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon),:host([inverted]) .btn.tertiary:active:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon){background:transparent}:host([inverted]) .btn.tertiary[disabled],:host([inverted]) .btn.tertiary[aria-disabled=true]{color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn.tertiary[disabled] ::slotted(px-icon),:host([inverted]) .btn.tertiary[aria-disabled=true] ::slotted(px-icon){background:var(--px-color-background-state-disabled-inverted)}:host([inverted]) .btn.tertiary.loading{color:var(--px-color-text-brand-inverted)}:host([inverted]) .btn.tertiary.loading ::slotted(px-spinner){background:var(--px-color-background-state-disabled-inverted)}:host([inverted]) .btn.patch:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted)}:host([inverted]) .btn.patch[disabled],:host([inverted]) .btn.patch[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn.actionable-tag{background:var(--px-color-background-container-default-default);color:var(--px-color-text-brand-inverted);border-color:var(--px-color-border-neutral-inverted)}:host([inverted]) .btn.actionable-tag:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted);border-color:var(--px-color-border-state-hover-inverted)}:host([inverted]) .btn.actionable-tag:active:not([disabled],[aria-disabled=true],.loading){background:var(--px-color-background-state-active-inverted);color:var(--px-color-text-state-active-default);border-color:var(--px-color-border-none-inverted)}:host([inverted]) .btn.actionable-tag[disabled],:host([inverted]) .btn.actionable-tag[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted);border-color:var(--px-color-border-none-default)}:host([inverted]) button.link[disabled],:host([inverted]) button.link[aria-disabled=true]{color:var(--px-color-text-state-disabled-inverted)}@media only screen and (max-width: 47.938em){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}}@media only screen and (min-width: 48em) and (max-width: 64em){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}}@media only screen and (min-width: 48em){.btn{width:var(--button-extended--tablet, var(--button-extended, auto));font-size:var(--px-text-size-label-m-desktop);gap:var(--px-spacing-2xs-desktop)}.btn:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}.btn.actionable-tag{padding:var(--px-padding-2xs-desktop) var(--px-padding-xs-desktop);gap:var(--px-spacing-xs-desktop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown){padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot=\"after\"]){margin-right:calc(var(--px-padding-xs-desktop) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot=\"before\"]){margin-left:calc(var(--px-padding-xs-desktop) * -1)}.btn.secondary{padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn.tertiary{padding:var(--px-padding-2xs-desktop) 0;gap:var(--px-spacing-xs-desktop)}.btn.tertiary ::slotted(px-icon){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-desktop) var(--px-padding-s-desktop)}.btn.tertiary.loading ::slotted(px-spinner){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.header-dropdown{justify-content:flex-start;align-items:center;width:inherit;color:var(--px-color-text-brand-default);font-weight:var(--px-font-weight-title);font-size:var(--px-text-size-label-m-tablet);border:none;padding:0;border-radius:0;background:none}}@media only screen and (min-width: 64.0625em) and (max-width: 90em){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}}@media only screen and (min-width: 64.0625em){.btn{width:var(--button-extended--laptop, var(--button-extended, auto));font-size:var(--px-text-size-label-m-laptop);gap:var(--px-spacing-2xs-laptop)}.btn:focus-visble:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}.btn.actionable-tag{padding:var(--px-padding-2xs-laptop) var(--px-padding-xs-laptop);gap:var(--px-spacing-xs-laptop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown){padding:var(--px-padding-xs-laptop) var(--px-padding-m-laptop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot=\"after\"]){margin-right:calc(var(--px-padding-xs-laptop) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot=\"before\"]){margin-left:calc(var(--px-padding-xs-laptop) * -1)}.btn.secondary{padding:var(--px-padding-xs-laptop) var(--px-padding-m-laptop)}.btn.tertiary{padding:var(--px-padding-2xs-laptop) 0;gap:var(--px-spacing-xs-laptop)}.btn.tertiary ::slotted(px-icon){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-laptop) var(--px-padding-s-laptop)}.btn.tertiary.loading ::slotted(px-spinner){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.header-dropdown{font-size:var(--px-text-size-label-m-laptop);padding:0}}@media only screen and (min-width: 90.0625em){.btn{width:var(--button-extended--desktop, var(--button-extended, auto));font-size:var(--px-text-size-label-m-desktop);gap:var(--px-spacing-2xs-desktop)}.btn:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}.btn.actionable-tag{padding:var(--px-padding-2xs-desktop) var(--px-padding-xs-desktop);gap:var(--px-spacing-xs-desktop)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--desktop=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--desktop=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--desktop=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--desktop=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown){padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot=\"after\"]){margin-right:calc(var(--px-padding-xs-desktop) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot=\"before\"]){margin-left:calc(var(--px-padding-xs-desktop) * -1)}.btn.secondary{padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn.tertiary{padding:var(--px-padding-2xs-desktop) 0;gap:var(--px-spacing-xs-desktop)}.btn.tertiary ::slotted(px-icon){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-desktop) var(--px-padding-s-desktop)}.btn.tertiary.loading ::slotted(px-spinner){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.header-dropdown{font-size:var(--px-text-size-label-m-desktop);padding:0}}@keyframes anim-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}",pe=new CSSStyleSheet,ce=new CSSStyleSheet,be=new CSSStyleSheet,ue=new CSSStyleSheet;pe.replaceSync(de),ce.replaceSync(A),be.replaceSync(".patch{display:inline-flex;align-items:center;padding:var(--px-padding-3xs-mobile) var(--px-padding-s-mobile);border:var(--px-size-border-m) solid transparent;border-radius:var(--px-radius-patch-big) var(--px-radius-patch-big) var(--px-radius-patch-big) var(--px-radius-patch-small);font-family:var(--px-font-family);font-weight:var(--px-font-weight-title);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-line-height-ratio-l);background-color:var(--px-color-background-purpose-promo-default);color:var(--px-color-text-neutral-inverted)}.patch,.patch *{box-sizing:border-box}[shape=bottom-right]{border-radius:var(--px-radius-patch-big) var(--px-radius-patch-big) var(--px-radius-patch-small) var(--px-radius-patch-big)}[shape=bottom-left],[shape=default]{border-radius:var(--px-radius-patch-big) var(--px-radius-patch-big) var(--px-radius-patch-big) var(--px-radius-patch-small)}.info{background-color:var(--px-color-background-purpose-info-default);color:var(--px-color-text-neutral-default)}.black-friday{background-color:var(--px-color-background-surface-dark);color:var(--px-color-text-neutral-inverted)}.eco{background-color:var(--px-color-background-purpose-success-default);color:var(--px-color-text-neutral-inverted)}.greyed{background-color:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}:host([inverted]) .patch{background-color:var(--px-color-background-purpose-promo-inverted);color:var(--px-color-text-neutral-inverted)}:host([inverted]) .info{background-color:var(--px-color-background-purpose-info-inverted);color:var(--px-color-text-neutral-default)}:host([inverted]) .black-friday{background-color:var(--px-color-background-container-light-default);color:var(--px-color-text-neutral-default)}:host([inverted]) .eco{background-color:var(--px-color-background-purpose-success-inverted);color:var(--px-color-text-neutral-default)}:host([inverted]) .greyed{background-color:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}@media only screen and (min-width: 768px){.patch{padding:0 var(--px-padding-s-desktop);font-size:var(--px-text-size-label-m-desktop)}}@media only screen and (min-width: 1025px){.patch{padding:0 var(--px-padding-s-desktop);font-size:var(--px-text-size-label-m-desktop)}}@media only screen and (min-width: 1441px){.patch{padding:0 var(--px-padding-s-desktop);font-size:var(--px-text-size-label-m-desktop)}}"),ue.replaceSync(":host:has(.tag){display:inline-block}.tag{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-body);gap:var(--px-spacing-xs-mobile);background-color:var(--px-color-background-container-default-default);color:var(--px-color-text-neutral-default);padding:var(--px-padding-2xs-mobile) var(--px-padding-xs-mobile);border:var(--px-size-border-s) solid transparent;border-radius:var(--px-radius-main)}.tag,.tag *{box-sizing:border-box}:host([disabled]) .tag{background-color:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}:host([inverted]) .tag{background-color:var(--px-color-background-container-default-inverted);color:var(--px-color-text-neutral-inverted)}:host([inverted]):host([disabled]) .tag{background-color:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}@media only screen and (min-width: 768px){.tag{font-size:var(--px-text-size-label-m-desktop);gap:var(--px-spacing-xs-desktop);padding:var(--px-padding-2xs-desktop) var(--px-padding-xs-desktop)}}@media only screen and (min-width: 1025px){.tag{font-size:var(--px-text-size-label-m-desktop);gap:var(--px-spacing-xs-desktop);padding:var(--px-padding-2xs-desktop) var(--px-padding-xs-desktop)}}");const ge=["","default","secondary","tertiary","link","patch","patch-info","patch-black-friday","patch-eco","actionable-tag","header-dropdown"],he=["","default","bottom-right","bottom-left","alternative"],me=class extends M{constructor(){super(pe,ce,be,ue),this.template=()=>'<button class="btn">\n <slot name="before"></slot><slot></slot><slot name="after"></slot>\n </button>',this.shadowRoot.innerHTML=this.template()}static get observedAttributes(){return[...super.observedAttributes,"variant","state","loading","shape","shape--mobile","shape--tablet","shape--laptop","shape--desktop","inverted","aria-expanded","extended","extended--mobile","extended--tablet","extended--laptop","extended--desktop"]}connectedCallback(){const t=this.querySelectorAll("px-icon");t&&t.forEach(t=>{const e=t.getAttribute("size"),i=t.getAttribute("color");t&&(t.addEventListener("click",()=>{this.$el.focus()}),e||t.setAttribute("size","xs"),i||t.setAttribute("color","inherit"))}),it(this,this.$el),"submit"===this.$el.type&&this.addEventListener("click",t=>{var e;t.preventDefault(),null==(e=this.closest("form"))||e.submit()}),"reset"===this.$el.type&&this.addEventListener("click",t=>{var e;t.preventDefault(),null==(e=this.closest("form"))||e.reset()})}attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"variant":this.updateVariant(e,i);break;case"state":this.updateState(e,i);break;case"extended":case"extended--mobile":case"extended--tablet":case"extended--laptop":case"extended--desktop":this.updateExtended(t,i);break;case"loading":this.updateLoading();break;case"shape":case"shape--mobile":case"shape--tablet":case"shape--laptop":case"shape--desktop":this.updateShape(t,i,he);break;case"aria-expanded":i&&(this.$el.setAttribute("aria-expanded",i),this.removeAttribute("aria-expanded"));break;default:super.attributeChangedCallback(t,e,i)}}checkClass(t){if(t.startsWith("patch-")){const e=t.split(/-(.*)/s);for(const t of e)""!=t&&this.$el.classList.toggle(t)}else this.$el.classList.toggle(t)}_toggleClass(t,e){null!==t&&""!==t&&"default"!==t&&this.checkClass(t),null!==e&&""!==e&&"default"!==e&&this.checkClass(e)}updateVariant(t,e){"link"===e?this.$el.classList.remove("btn"):this.$el.classList.add("btn"),this._toggleClass(t,e),this.checkName(ge,e)||j(`${e} is not a valid "variant" value for ${this.tagName.toLowerCase()}`)}updateState(t,e){this._toggleClass(t,e),this.checkName(["","default","success","error"],e)||j(`${e} is not a valid "sate" value for ${this.tagName.toLowerCase()}`)}updateExtended(t,e){null===e?this.$el.style.setProperty(`--button-${t}`,""):this.$el.style.setProperty(`--button-${t}`,"100%")}updateLoading(){const t=this.querySelector("px-spinner");if(t){t.getAttribute("size")||t.setAttribute("size","xs")}this.$el.classList.toggle("loading")}updateShape(t,e,i){et(i,e)?null!==e&&""!==e&&this.$el.setAttribute(t,e):j(`${e} is not a valid shape value for ${this.tagName.toLowerCase()}`)}get variant(){return this.getAttribute("variant")}set variant(t){this.setAttribute("variant",t)}get state(){return this.getAttribute("state")}set state(t){this.setAttribute("state",t)}get extended(){return this.getAttribute("extended")}set extended(t){this.setAttribute("extended",t)}get extendedMobile(){return this.getAttribute("extended--mobile")}set extendedMobile(t){this.setAttribute("extended--mobile",t)}get extendedTablet(){return this.getAttribute("extended--tablet")}set extendedTablet(t){this.setAttribute("extended--tablet",t)}get extendedLaptop(){return this.getAttribute("extended--laptop")}set extendedLaptop(t){this.setAttribute("extended--laptop",t)}get extendedDesktop(){return this.getAttribute("extended--desktop")}set extendedDesktop(t){this.setAttribute("extended--desktop",t)}get loading(){return this.getAttribute("loading")}set loading(t){this.setAttribute("loading",t)}get shape(){return this.getAttribute("shape")}set shape(t){this.setAttribute("shape",t)}get shapeMobile(){return this.getAttribute("shape--mobile")}set shapeMobile(t){this.setAttribute("shape--mobile",t)}get shapeTablet(){return this.getAttribute("shape--tablet")}set shapeTablet(t){this.setAttribute("shape--tablet",t)}get shapeLaptop(){return this.getAttribute("shape--laptop")}set shapeLaptop(t){this.setAttribute("shape--laptop",t)}get shapeDesktop(){return this.getAttribute("shape--desktop")}set shapeDesktop(t){this.setAttribute("shape--desktop",t)}get inverted(){return this.getAttribute("inverted")}set inverted(t){this.setAttribute("inverted",t)}get ariaExpanded(){return this.getAttribute("aria-expanded")}set ariaExpanded(t){t?this.setAttribute("aria-expanded",t):this.removeAttribute("aria-expanded")}};me.nativeName="button";let xe=me;customElements.get("px-button")||customElements.define("px-button",xe);const ve=new CSSStyleSheet;ve.replaceSync(':host{display:block}:host,:host *{box-sizing:border-box}.content-wrapper{margin-inline:var(--px-padding-s-mobile);max-width:var(--px-content-wrapper-max-width-desktop)}@media only screen and (min-width: 77em){.content-wrapper{margin-inline:auto}}.overlapped{margin-bottom:calc(var(--px-overlapped-mobile) * -1)}::slotted([slot="overlap"]){margin-top:var(--px-overlapped-mobile)}@media only screen and (min-width: 48em){.overlapped{margin-bottom:calc(var(--px-overlapped-desktop) * -1)}::slotted([slot="overlap"]){margin-top:var(--px-overlapped-desktop)}}@media only screen and (min-width: 64.0625em){.overlapped{margin-bottom:calc(var(--px-overlapped-desktop) * -1)}::slotted([slot="overlap"]){margin-top:var(--px-overlapped-desktop)}}');class fe extends HTMLElement{constructor(){super(),this.template=()=>'\n <px-container border-radius="none" padding-inline="none">\n <div class="content-wrapper">\n <px-vstack gap="heading-to-content">\n <slot name="heading"></slot>\n <px-vstack gap="none">\n <slot></slot>\n </px-vstack>\n </px-vstack>\n </div>\n </px-container>\n <div class="content-wrapper">\n <slot name="overlap"></slot>\n </div>\n ',this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=this.template(),this.shadowRoot.adoptedStyleSheets=[ve]}connectedCallback(){this.$container.setAttribute("background-color",this.backgroundColor),this.$slotOverlap&&this.shadowRoot.firstElementChild.querySelector(".content-wrapper").classList.add("overlapped");const t=this.querySelector('[slot="heading"]');this.paddingBlock||this.paddingTop||this.paddingBottom||this.paddingBlockMobile||this.paddingTopMobile||this.paddingBottomMobile||this.paddingBlockTablet||this.paddingTopTablet||this.paddingBottomTablet||this.paddingBlockLaptop||this.paddingTopLaptop||this.paddingBottomLaptop||(this.$container.paddingBlock="none"),t||this.shadowRoot.querySelector("px-vstack").setAttribute("gap","none")}static get observedAttributes(){return["background-color","background-gradient","background-image","background-image--mobile","background-image--tablet","background-image--laptop","background-size","background-position","padding-block","padding-top","padding-bottom","padding-block--mobile","padding-top--mobile","padding-bottom--mobile","padding-block--tablet","padding-top--tablet","padding-bottom--tablet","padding-block--laptop","padding-top--laptop","padding-bottom--laptop","border","border-side","border-side--mobile","border-side--tablet","border-side--laptop"]}get $container(){return this.shadowRoot.querySelector("px-container")}attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"background-color":this.$container.backgroundColor=Z.indexOf(i)>0?i:"none";break;case"background-gradient":this.$container.gradient=this.gradient;break;case"background-image":this.$container.backgroundImage=i;break;case"background-image--mobile":this.$container.backgroundImageMobile=i;break;case"background-image--tablet":this.$container.backgroundImageTablet=i;break;case"background-image--laptop":this.$container.backgroundImageLaptop=i;break;case"background-size":this.$container.backgroundSize=i;break;case"background-position":this.$container.backgroundPosition=i;break;case"padding-block":this.$container.paddingBlock=i;break;case"padding-top":this.$container.paddingTop=i;break;case"padding-bottom":this.$container.paddingBottom=i;break;case"padding-block--mobile":this.$container.paddingBlockMobile=i;break;case"padding-top--mobile":this.$container.paddingTopMobile=i;break;case"padding-bottom--mobile":this.$container.paddingBottomMobile=i;break;case"padding-block--tablet":this.$container.paddingBlockTablet=i;break;case"padding-top--tablet":this.$container.paddingTopTablet=i;break;case"padding-bottom--tablet":this.$container.paddingBottomTablet=i;break;case"padding-block--laptop":this.$container.paddingBlockLaptop=i;break;case"padding-top--laptop":this.$container.paddingTopLaptop=i;break;case"padding-bottom--laptop":this.$container.paddingBottomLaptop=i;break;case"border":this.$container.border=i;break;case"border-side":this.$container.borderSide=i;break;case"border-side--mobile":this.$container.borderSideMobile=i;break;case"border-side--tablet":this.$container.borderSideTablet=i;break;case"border-side--laptop":this.$container.borderSideLaptop=i}}get $slotOverlap(){return this.querySelector('[slot="overlap"]')}get backgroundColor(){return this.getAttribute("background-color")||"none"}set backgroundColor(t){this.setAttribute("background-color",t)}get gradient(){return this.getAttribute("background-gradient")}set gradient(t){this.setAttribute("background-gradient",t)}get backgroundImage(){return this.getAttribute("background-image")}set backgroundImage(t){this.setAttribute("background-image",t)}get backgroundImageMobile(){return this.getAttribute("background-image--mobile")}set backgroundImageMobile(t){this.setAttribute("background-image--mobile",t)}get backgroundImageTablet(){return this.getAttribute("background-image--tablet")}set backgroundImageTablet(t){this.setAttribute("background-image--tablet",t)}get backgroundImageLaptop(){return this.getAttribute("background-image--laptop")}set backgroundImageLaptop(t){this.setAttribute("background-image--laptop",t)}get backgroundSize(){return this.getAttribute("background-size")}set backgroundSize(t){this.setAttribute("background-size",t)}get backgroundPosition(){return this.getAttribute("background-position")}set backgroundPosition(t){this.setAttribute("background-position",t)}get paddingBlock(){return this.getAttribute("padding-block")}set paddingBlock(t){this.setAttribute("padding-block",t)}get paddingTop(){return this.getAttribute("padding-top")}set paddingTop(t){this.setAttribute("padding-top",t)}get paddingBottom(){return this.getAttribute("padding-bottom")}set paddingBottom(t){this.setAttribute("padding-bottom",t)}get paddingBlockMobile(){return this.getAttribute("padding-block--mobile")}set paddingBlockMobile(t){this.setAttribute("padding-block--mobile",t)}get paddingTopMobile(){return this.getAttribute("padding-top--mobile")}set paddingTopMobile(t){this.setAttribute("padding-top--mobile",t)}get paddingBottomMobile(){return this.getAttribute("padding-bottom--mobile")}set paddingBottomMobile(t){this.setAttribute("padding-bottom--mobile",t)}get paddingBlockTablet(){return this.getAttribute("padding-block--tablet")}set paddingBlockTablet(t){this.setAttribute("padding-block--tablet",t)}get paddingTopTablet(){return this.getAttribute("padding-top--tablet")}set paddingTopTablet(t){this.setAttribute("padding-top--tablet",t)}get paddingBottomTablet(){return this.getAttribute("padding-bottom--tablet")}set paddingBottomTablet(t){this.setAttribute("padding-bottom--tablet",t)}get paddingBlockLaptop(){return this.getAttribute("padding-block--laptop")}set paddingBlockLaptop(t){this.setAttribute("padding-block--laptop",t)}get paddingTopLaptop(){return this.getAttribute("padding-top--laptop")}set paddingTopLaptop(t){this.setAttribute("padding-top--laptop",t)}get paddingBottomLaptop(){return this.getAttribute("padding-bottom--laptop")}set paddingBottomLaptop(t){this.setAttribute("padding-bottom--laptop",t)}get border(){return this.getAttribute("border")}set border(t){this.setAttribute("border",t)}get borderSide(){return this.getAttribute("border-side")}set borderSide(t){this.setAttribute("border-side",t)}get borderSideMobile(){return this.getAttribute("border-side--mobile")}set borderSideMobile(t){this.setAttribute("border-side--mobile",t)}get borderSideTablet(){return this.getAttribute("border-side--tablet")}set borderSideTablet(t){this.setAttribute("border-side--tablet",t)}get borderSideLaptop(){return this.getAttribute("border-side--laptop")}set borderSideLaptop(t){this.setAttribute("border-side--laptop",t)}}customElements.get("px-section")||customElements.define("px-section",fe);const ke=new CSSStyleSheet;ke.replaceSync(":host{display:block}:host *{box-sizing:border-box}button,a{display:block;font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-font-line-height-l);color:var(--px-color-text-neutral-default);text-align:center;cursor:pointer;padding:2em 0;height:100%}button:after,a:after{content:attr(data-label);display:block;height:0;width:auto;visibility:hidden;overflow:hidden;-webkit-user-select:none;user-select:none;pointer-events:none;font-weight:var(--px-font-weight-title)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}button:hover,a:hover{font-weight:var(--px-font-weight-title);color:var(--px-color-background-container-primary-default);padding-block:calc(2em - 2px)}button{margin:0;border:0;border-bottom:2px solid rgba(0,0,0,0);outline:0;background:inherit}button[aria-expanded=true]{font-weight:var(--px-font-weight-title);color:var(--px-color-background-container-primary-default);border-bottom-color:var(--px-color-background-container-primary-default)}a{text-decoration:none}@media only screen and (min-width: 48em){button,a{font-size:var(--px-text-size-label-m-tablet)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}}@media only screen and (min-width: 64.0625em){button,a{font-size:var(--px-text-size-label-m-laptop)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}}@media only screen and (min-width: 90.0625em){button,a{font-size:var(--px-text-size-label-m-desktop)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}}");class ye extends L{constructor(){var t;super(),this.template=()=>""+(this.getAttribute("href")?`<a href="${this.getAttribute("href")}" data-label="${this.textContent}">\n <slot></slot>\n </a>`:`<button data-label="${this.textContent}"><slot></slot></button>`),this.shadowRoot.innerHTML=this.template(),this.shadowRoot.adoptedStyleSheets=[ke],this.internals=null==(t=this.attachInternals)?void 0:t.call(this),this.role="listitem",this.internals&&(this.internals.role="listitem")}static get observedAttributes(){return["for","href"]}connectedCallback(){this.setAttribute("slot","header-entries"),this.$button&&this.setupButtonA11y(),this.contentObserver=new MutationObserver(()=>{this.updateDataLabel()}),this.contentObserver.observe(this,{childList:!0,subtree:!0,characterData:!0})}disconnectedCallback(){this.contentObserver.disconnect()}attributeChangedCallback(t,e,i){super.attributeChangedCallback(t,e,i),"href"===t&&this.$a&&i?this.shadowRoot.innerHTML=this.template():"for"===t&&this.$button&&i&&(this.shadowRoot.innerHTML=this.template(),this.setupButtonA11y())}setupButtonA11y(){this.$button.ariaExpanded="false",this.$button.setAttribute("aria-controls",this.for||"")}updateDataLabel(){this.$button&&this.$button.setAttribute("data-label",this.textContent),this.$a&&this.$a.setAttribute("data-label",this.textContent)}get for(){return this.getAttribute("for")}set for(t){this.setAttribute("for",t)}get checked(){return"true"===this.$button.ariaExpanded}set checked(t){if("boolean"!=typeof t)throw new Error("checked must be a boolean");this.$button&&(this.$button.ariaExpanded=`${!!t}`,this.$button.setAttribute("aria-controls",this.for))}get $button(){return this.shadowRoot.querySelector("button")}get $a(){return this.shadowRoot.querySelector("a")}}customElements.get("px-header-item")||customElements.define("px-header-item",ye);const Ae=new CSSStyleSheet,we=new CSSStyleSheet,$e=new CSSStyleSheet;Ae.replaceSync(A),we.replaceSync(de),$e.replaceSync(Ot);const ze=[...B,"link-m","link-s"],Se=["link","no-style","skip-link","btn-default","btn-secondary","btn-tertiary","icon-link"],Ce=["","default","alternative"],je=class t extends M{constructor(){super(Ae,we,$e),this.template=()=>'<slot name="before"></slot><slot></slot><slot name="after"></slot>';const e=document.createElement(t.nativeName);e.innerHTML=this.template(),this.shadowRoot.appendChild(e)}static get observedAttributes(){return[...super.observedAttributes,"disabled","variant","shape","shape--mobile","shape--tablet","shape--laptop","shape--desktop","extended","extended--mobile","extended--tablet","extended--laptop","extended--desktop","inverted","font-size","color","font-weight","title"]}connectedCallback(){this.$before&&"px-icon"===this.$before.localName&&this.configureBeforeAfterIcon(this.$before),this.$after&&"px-icon"===this.$after.localName&&this.configureBeforeAfterIcon(this.$after),it(this,this.$el,!1)}attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"disabled":this.$el.toggleAttribute("aria-disabled"),null!==i&&this.$el.setAttribute("aria-disabled","true");break;case"variant":this.updateVariant(e,i);break;case"shape":case"shape--mobile":case"shape--tablet":case"shape--laptop":case"shape--desktop":this.updateShape(t,i,Ce);break;case"extended":case"extended--mobile":case"extended--tablet":case"extended--laptop":case"extended--desktop":this.updateExtended(t,i);break;case"font-size":this.updateTypography(t,e,i,ze);break;case"color":this.updateTypography(t,e,i,q);break;case"font-weight":this.updateTypography(t,e,i,O);break;case"title":i&&(this.$el.setAttribute("title",i),this.removeAttribute("title"));break;default:super.attributeChangedCallback(t,e,i)}}configureBeforeAfterIcon(t){const e=t.getAttribute("size"),i=t.getAttribute("color");t.addEventListener("click",()=>{this.$el.focus()}),e||t.setAttribute("size","xs"),i||t.setAttribute("color","inherit")}_toggleClassList(t){if(t.startsWith("btn-")){const e=t.split("-");for(const t of e)this.$el.classList.toggle(t)}else this.$el.classList.toggle(t)}updateVariant(t,e){null!==t&&""!==t&&"link"!==t&&this._toggleClassList(t),null!==e&&""!==e&&"link"!==e&&this._toggleClassList(e),this.checkName(Se,e)||j(`${e} is not an allowed variant value for ${this.tagName.toLowerCase()}`),"icon-link"===e&&this.$iconNotBeforeAfter.setAttribute("color","inherit")}updateShape(t,e,i){et(i,e)?null!==e&&""!==e&&this.$el.setAttribute(t,e):j(`${e} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`)}updateTypography(t,e,i,o){null!==e&&""!==e&&"default"!==e&&this.$el.classList.toggle(`${t}-${e}`),null!==i&&""!==i&&"default"!==i&&this.$el.classList.toggle(`${t}-${i}`),this.checkName(o,i)||j(`${i} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`)}updateExtended(t,e){null===e?this.$el.style.setProperty(`--button-${t}`,""):this.$el.style.setProperty(`--button-${t}`,"100%")}get $before(){return this.querySelector('[slot="before"]')}get $after(){return this.querySelector('[slot="after"]')}get $iconNotBeforeAfter(){return this.querySelector('px-icon:not([slot="before"], [slot="after"])')}get disabled(){return this.getAttribute("disabled")}set disabled(t){this.setAttribute("disabled",t)}get variant(){return this.getAttribute("variant")}set variant(t){this.setAttribute("variant",t)}get shape(){return this.getAttribute("shape")}set shape(t){this.setAttribute("shape",t)}get shapeMobile(){return this.getAttribute("shape--mobile")}set shapeMobile(t){this.setAttribute("shape--mobile",t)}get shapeTablet(){return this.getAttribute("shape--tablet")}set shapeTablet(t){this.setAttribute("shape--tablet",t)}get shapeLaptop(){return this.getAttribute("shape--laptop")}set shapeLaptop(t){this.setAttribute("shape--laptop",t)}get shapeDesktop(){return this.getAttribute("shape--desktop")}set shapeDesktop(t){this.setAttribute("shape--desktop",t)}get extended(){return this.getAttribute("extended")}set extended(t){this.setAttribute("extended",t)}get extendedMobile(){return this.getAttribute("extended--mobile")}set extendedMobile(t){this.setAttribute("extended--mobile",t)}get extendedTablet(){return this.getAttribute("extended--tablet")}set extendedTablet(t){this.setAttribute("extended--tablet",t)}get extendedLaptop(){return this.getAttribute("extended--laptop")}set extendedLaptop(t){this.setAttribute("extended--laptop",t)}get extendedDesktop(){return this.getAttribute("extended--desktop")}set extendedDesktop(t){this.setAttribute("extended--desktop",t)}get inverted(){return this.getAttribute("inverted")}set inverted(t){this.setAttribute("inverted",t)}get fontsize(){return this.getAttribute("font-size")}set fontsize(t){this.setAttribute("font-size",t)}get color(){return this.getAttribute("color")}set color(t){this.setAttribute("color",t)}get fontweight(){return this.getAttribute("font-weight")}set fontweight(t){this.setAttribute("font-weight",t)}get title(){return this.getAttribute("title")}set title(t){t?this.setAttribute("title",t):this.removeAttribute("title")}};je.nativeName="a";let Le=je;customElements.get("px-a")||customElements.define("px-a",Le);class Te extends HTMLElement{constructor(){super(),this.template='<px-a font-weight="title" font-size="body-l" color="brand" variant="no-style">\n <slot></slot>\n </px-a>',this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=this.template;const t=this.shadowRoot.querySelector("px-a");t&&Array.from(this.attributes).forEach(e=>{t.setAttribute(e.name,e.value)})}}customElements.get("px-mdd-a")||customElements.define("px-mdd-a",Te);function Me(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var Ne="object"==typeof global&&global&&global.Object===Object&&global,Ee="object"==typeof self&&self&&self.Object===Object&&self,Ie=Ne||Ee||Function("return this")(),De=function(){return Ie.Date.now()},Pe=/\s/;var Re=/^\s+/;function Be(t){return t?t.slice(0,function(t){for(var e=t.length;e--&&Pe.test(t.charAt(e)););return e}(t)+1).replace(Re,""):t}var qe=Ie.Symbol,Oe=Object.prototype,He=Oe.hasOwnProperty,Ve=Oe.toString,_e=qe?qe.toStringTag:void 0;var Ge=Object.prototype.toString;var Fe=qe?qe.toStringTag:void 0;function We(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Fe&&Fe in Object(t)?function(t){var e=He.call(t,_e),i=t[_e];try{t[_e]=void 0;var o=!0}catch(a){}var r=Ve.call(t);return o&&(e?t[_e]=i:delete t[_e]),r}(t):function(t){return Ge.call(t)}(t)}var Xe=/^[-+]0x[0-9a-f]+$/i,Ze=/^0b[01]+$/i,Ue=/^0o[0-7]+$/i,Ye=parseInt;function Je(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return null!=t&&"object"==typeof t}(t)&&"[object Symbol]"==We(t)}(t))return NaN;if(Me(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Me(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Be(t);var i=Ze.test(t);return i||Ue.test(t)?Ye(t.slice(2),i?2:8):Xe.test(t)?NaN:+t}var Ke=Math.max,Qe=Math.min;function ti(t,e,i){var o,r,a,n,s,l,d=0,p=!1,c=!1,b=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function u(e){var i=o,a=r;return o=r=void 0,d=e,n=t.apply(a,i)}function g(t){var i=t-l;return void 0===l||i>=e||i<0||c&&t-d>=a}function h(){var t=De();if(g(t))return m(t);s=setTimeout(h,function(t){var i=e-(t-l);return c?Qe(i,a-(t-d)):i}(t))}function m(t){return s=void 0,b&&o?u(t):(o=r=void 0,n)}function x(){var t=De(),i=g(t);if(o=arguments,r=this,l=t,i){if(void 0===s)return function(t){return d=t,s=setTimeout(h,e),p?u(t):n}(l);if(c)return clearTimeout(s),s=setTimeout(h,e),u(l)}return void 0===s&&(s=setTimeout(h,e)),n}return e=Je(e)||0,Me(i)&&(p=!!i.leading,a=(c="maxWait"in i)?Ke(Je(i.maxWait)||0,e):a,b="trailing"in i?!!i.trailing:b),x.cancel=function(){void 0!==s&&clearTimeout(s),d=0,o=l=r=s=void 0},x.flush=function(){return void 0===s?n:m(De())},x}const ei=new CSSStyleSheet;ei.replaceSync("#navigation-container{border-bottom:var(--px-size-border-m) solid var(--px-color-border-main-default)}#dropdown-zone--desktop{display:none}#primary-navigation{display:none;margin:0;padding:0}#panel-container{position:absolute;top:0;left:0;right:0;z-index:999}#backdrop-filter{display:none;position:absolute;z-index:998;left:0;width:100vw;height:100%;background:#0000004d;-webkit-backdrop-filter:saturate(180%) blur(15px);backdrop-filter:saturate(180%) blur(15px)}@media only screen and (min-width: 48em){#dropdown-zone--desktop{display:block;margin-block:var(--px-padding-s-tablet)}#primary-navigation{display:block}#panel-container{top:auto}}@media only screen and (min-width: 64.0625em){#dropdown-zone--desktop{margin-block:var(--px-padding-s-laptop)}}@media only screen and (min-width: 90.0625em){#dropdown-zone--desktop{margin-block:var(--px-padding-s-desktop)}}");class ii extends L{constructor(){var t;super(ei),x(this,r),x(this,o),this.template=`\n <div>\n <header>\n <slot name="skip"></slot>\n <px-section id="navigation-container" padding-block--mobile="s" padding-block="none"\n background-color="none">\n <px-hstack id="dropdown-zone--desktop" align-items="center">\n <slot name="target-group"></slot>\n <px-spacer></px-spacer>\n <slot name="user-language"></slot>\n </px-hstack>\n <px-hstack gap="default" wrap="wrap" align-items="center">\n <slot name="header-logo"></slot>\n <nav id="primary-navigation" aria-label="${this.primaryNavigationAriaLabel}">\n <div role="list">\n <px-hstack gap="default" wrap="wrap" align-items="center">\n <slot name="header-entries"></slot>\n </px-hstack>\n </div>\n </nav>\n <px-spacer></px-spacer>\n <px-hstack gap--mobile="none" gap="default">\n <slot name="header-actions"></slot>\n <px-button-icon variant="naked" aria-label="${this.burgerMenuAriaLabel??"Open menu"}"\n aria-expanded="false" aria-controls="__lavender_mobile_menu" hidden--tablet hidden--laptop\n hidden--desktop>\n <px-icon name="burger_menu" from="lavender"></px-icon>\n </px-button-icon>\n </px-hstack>\n </px-hstack>\n </px-section>\n <px-section id="panel-container" background-color="surface-default" padding="none"\n background-color="none">\n <slot name="header-panels">\n </px-section>\n </header>\n <div id="backdrop-filter"></div>\n <slot name="main"></slot>\n </div>\n `,v(this,o,()=>{window.innerWidth>=768&&(f(this,r,l).call(this),f(this,r,a).call(this))}),this.shadowRoot.innerHTML=this.template,this.internals=null==(t=this.attachInternals)?void 0:t.call(this),this.role="navigation",this.internals&&(this.internals.role="navigation")}connectedCallback(){this.addEventListener("click",t=>{const e=t.target.closest("px-header-item");e&&e.for&&(!1===t.target.checked?(this.$backdropFilter.style.display="block",m(this,r,c).forEach(t=>{t.checked=!1}),e.checked=!0,f(this,r,n).call(this,t.target.for)):f(this,r,d).call(this))}),this.addEventListener("section-item-click",t=>{this.$backdropFilter.style.display="block",m(this,r,c).forEach(t=>{t.checked=!1}),this.querySelector(`px-header-item[for="${t.detail.for}"]`).checked=!0,f(this,r,n).call(this,t.detail.for)}),this.addEventListener("back-to-mobile-menu",()=>{this.$backdropFilter.style.display="block",m(this,r,c).forEach(t=>{t.checked=!1}),f(this,r,s).call(this)}),this.shadowRoot.addEventListener("click",t=>{t.target.closest("px-button-icon")&&(this.$burgerMenu.setAttribute("aria-expanded","true"),f(this,r,s).call(this))}),this.addEventListener("close-panel",()=>{f(this,r,d).call(this),this.$burgerMenu.setAttribute("aria-expanded","false")}),this.addEventListener("close-panel-from-dialog",t=>{this.dispatchEvent(new CustomEvent("close-panel")),t.detail.clientY<m(this,r,b).getBoundingClientRect().bottom&&requestAnimationFrame(()=>{var e;null==(e=document.elementFromPoint(t.detail.clientX,t.detail.clientY))||e.click()})}),this.$targetGroupDropdown||this.$userLanguageDropdown||(this.$dropDownZoneDesktop.style.display="none"),this.primaryNavigationAriaLabel||this.setAttribute("primary-navigation-aria-label","Menu"),window.addEventListener("resize",function(t,e,i){var o=!0,r=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return Me(i)&&(o="leading"in i?!!i.leading:o,r="trailing"in i?!!i.trailing:r),ti(t,e,{leading:o,maxWait:e,trailing:r})}(m(this,o),200))}static get observedAttributes(){return["burger-menu-aria-label","close-button-aria-label","primary-navigation-aria-label","back-to-menu-label"]}attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"close-button-aria-label":m(this,r,u).forEach(t=>{t.setAttribute("close-button-aria-label",i)});break;case"burger-menu-aria-label":this.$burgerMenu.setAttribute("aria-label",i);break;case"primary-navigation-aria-label":this.$primaryNavigation.setAttribute("aria-label",i);break;case"back-to-menu-label":m(this,r,u).forEach(t=>{t.setAttribute("back-to-menu-label",i)})}}get $backdropFilter(){return this.shadowRoot.querySelector("#backdrop-filter")}get $burgerMenu(){return this.shadowRoot.querySelector("px-button-icon")}get $slotMain(){return this.querySelector('[slot="main"]')}get $targetGroupDropdown(){return this.querySelector('px-dropdown[slot="target-group"]')}get $userLanguageDropdown(){return this.querySelector('px-dropdown[slot="user-language"]')}get $dropDownZoneDesktop(){return this.shadowRoot.querySelector("#dropdown-zone--desktop")}get $primaryNavigation(){return this.shadowRoot.querySelector("#primary-navigation")}get closeButtonAriaLabel(){return this.getAttribute("close-button-aria-label")}set closeButtonAriaLabel(t){t?this.setAttribute("close-button-aria-label",t):this.removeAttribute("close-button-aria-label")}get burgerMenuAriaLabel(){return this.getAttribute("burger-menu-aria-label")}set burgerMenuAriaLabel(t){t?this.setAttribute("burger-menu-aria-label",t):this.removeAttribute("burger-menu-aria-label")}get backToMenuLabel(){return this.getAttribute("back-to-menu-label")}set backToMenuLabel(t){t?this.setAttribute("back-to-menu-label",t):this.removeAttribute("back-to-menu-label")}get primaryNavigationAriaLabel(){return this.getAttribute("primary-navigation-aria-label")}set primaryNavigationAriaLabel(t){t?this.setAttribute("primary-navigation-aria-label",t):this.removeAttribute("primary-navigation-aria-label")}}o=new WeakMap,r=new WeakSet,a=function(){const t=this.querySelectorAll("px-mdd"),e=m(this,r,b).getBoundingClientRect().bottom;t.forEach(t=>{t.dialogOffsetTop=`${e}px`})},n=function(t){m(this,r,p).$megaDropDown.hidden=!0,m(this,r,u).forEach(e=>{e.name===t&&e.hidden&&(e.dialogOffsetTop=`${m(this,r,b).getBoundingClientRect().bottom}px`,e.hidden=!e.hidden,this.querySelector(`px-header-item[for="${t}"]`).checked=!e.hidden,document.body.style.overflow=e.hidden?"auto":"hidden"),e.name===t||e.hidden||(e.hidden=!0)})},s=function(){this.$backdropFilter.style.display="none",m(this,r,u).forEach(t=>{t.hidden||(t.hidden=!0)}),m(this,r,p).$megaDropDown.dialogOffsetTop=`${m(this,r,b).getBoundingClientRect().bottom}px`,m(this,r,p).$megaDropDown.hidden=!1,document.body.style.overflow="hidden"},l=function(){m(this,r,p)&&(m(this,r,p).$megaDropDown.hidden=!0,this.$burgerMenu.setAttribute("aria-expanded","false"),document.body.style.overflow="auto",this.$backdropFilter.style.display="none")},d=function(){this.$backdropFilter.style.display="none",m(this,r,p).$megaDropDown.hidden=!0,m(this,r,c).forEach(t=>{t.checked=!1}),m(this,r,u).forEach(t=>{t.hidden=!0}),document.body.style.overflow="auto"},p=function(){return this.querySelector("px-header-mobile-menu")},c=function(){return this.querySelectorAll("px-header-item")},b=function(){return this.shadowRoot.querySelector("header")},u=function(){return this.querySelectorAll("px-mdd")},customElements.get("px-header")||customElements.define("px-header",ii);const oi=new CSSStyleSheet;oi.replaceSync(":host{display:block;--grid-cols: initial;--grid-cols--mobile: initial;--grid-cols--tablet: initial;--grid-cols--laptop: initial;--grid-cols--desktop: initial;--justify-content: initial;--justify-items: initial;--align-content: initial;--align-items: initial}.grid{display:grid;grid-template-columns:repeat(var(--grid-cols),minmax(0,1fr));justify-content:var(--justify-content);justify-items:var(--justify-items);align-content:var(--align-content);align-items:var(--align-items)}.justify-content-normal{justify-content:normal}.justify-content-start{justify-content:start}.justify-content-end{justify-content:end}.justify-content-center{justify-content:center}.justify-content-space-between{justify-content:space-between}.justify-content-space-around{justify-content:space-around}.justify-content-space-evenly{justify-content:space-evenly}.justify-content-stretch{justify-content:stretch}.justify-items-start{justify-items:start}.justify-items-end{justify-items:end}.justify-items-center{justify-items:center}.justify-items-stretch{justify-items:stretch}.align-content-normal{align-content:normal}.align-content-start{align-content:start}.align-content-end{align-content:end}.align-content-center{align-content:center}.align-content-space-between{align-content:space-between}.align-content-space-around{align-content:space-around}.align-content-space-evenly{align-content:space-evenly}.align-content-stretch{align-content:stretch}.align-items-start{align-items:start}.align-items-end{align-items:end}.align-items-center{align-items:center}.align-items-stretch{align-items:stretch}@media only screen and (max-width: 767px){.grid{grid-template-columns:repeat(var(--grid-cols--mobile, var(--grid-cols)),minmax(0,1fr))}.justify-content-normal-mobile{justify-content:normal}.justify-content-start-mobile{justify-content:start}.justify-content-end-mobile{justify-content:end}.justify-content-center-mobile{justify-content:center}.justify-content-space-between-mobile{justify-content:space-between}.justify-content-space-around-mobile{justify-content:space-around}.justify-content-space-evenly-mobile{justify-content:space-evenly}.justify-content-stretch-mobile{justify-content:stretch}.justify-items-start-mobile{justify-items:start}.justify-items-end-mobile{justify-items:end}.justify-items-center-mobile{justify-items:center}.justify-items-stretch-mobile{justify-items:stretch}.align-content-normal-mobile{align-content:normal}.align-content-start-mobile{align-content:start}.align-content-end-mobile{align-content:end}.align-content-center-mobile{align-content:center}.align-content-space-between-mobile{align-content:space-between}.align-content-space-around-mobile{align-content:space-around}.align-content-space-evenly-mobile{align-content:space-evenly}.align-content-stretch-mobile{align-content:stretch}.align-items-start-mobile{align-items:start}.align-items-end-mobile{align-items:end}.align-items-center-mobile{align-items:center}.align-items-stretch-mobile{align-items:stretch}}@media only screen and (min-width: 48em) and (max-width: 64em){.grid{grid-template-columns:repeat(var(--grid-cols--tablet, var(--grid-cols)),minmax(0,1fr))}.justify-content-normal-tablet{justify-content:normal}.justify-content-start-tablet{justify-content:start}.justify-content-end-tablet{justify-content:end}.justify-content-center-tablet{justify-content:center}.justify-content-space-between-tablet{justify-content:space-between}.justify-content-space-around-tablet{justify-content:space-around}.justify-content-space-evenly-tablet{justify-content:space-evenly}.justify-content-stretch-tablet{justify-content:stretch}.justify-items-start-tablet{justify-items:start}.justify-items-end-tablet{justify-items:end}.justify-items-center-tablet{justify-items:center}.justify-items-stretch-tablet{justify-items:stretch}.align-content-normal-tablet{align-content:normal}.align-content-start-tablet{align-content:start}.align-content-end-tablet{align-content:end}.align-content-center-tablet{align-content:center}.align-content-space-between-tablet{align-content:space-between}.align-content-space-around-tablet{align-content:space-around}.align-content-space-evenly-tablet{align-content:space-evenly}.align-content-stretch-tablet{align-content:stretch}.align-items-start-tablet{align-items:start}.align-items-end-tablet{align-items:end}.align-items-center-tablet{align-items:center}.align-items-stretch-tablet{align-items:stretch}}@media only screen and (min-width: 64.0625em){.grid{grid-template-columns:repeat(var(--grid-cols--laptop, var(--grid-cols)),minmax(0,1fr))}.justify-content-normal-laptop{justify-content:normal}.justify-content-start-laptop{justify-content:start}.justify-content-end-laptop{justify-content:end}.justify-content-center-laptop{justify-content:center}.justify-content-space-between-laptop{justify-content:space-between}.justify-content-space-around-laptop{justify-content:space-around}.justify-content-space-evenly-laptop{justify-content:space-evenly}.justify-content-stretch-laptop{justify-content:stretch}.justify-items-start-laptop{justify-items:start}.justify-items-end-laptop{justify-items:end}.justify-items-center-laptop{justify-items:center}.justify-items-stretch-laptop{justify-items:stretch}.align-content-normal-laptop{align-content:normal}.align-content-start-laptop{align-content:start}.align-content-end-laptop{align-content:end}.align-content-center-laptop{align-content:center}.align-content-space-between-laptop{align-content:space-between}.align-content-space-around-laptop{align-content:space-around}.align-content-space-evenly-laptop{align-content:space-evenly}.align-content-stretch-laptop{align-content:stretch}.align-items-start-laptop{align-items:start}.align-items-end-laptop{align-items:end}.align-items-center-laptop{align-items:center}.align-items-stretch-laptop{align-items:stretch}}");const ri=["1","2","3","4","5","6","7","8","9","10","11","12"],ai=["","start","end","center","space-between","space-around","space-evenly","stretch"],ni=["","start","end","center","stretch"],si=ot("gap",(t,e,i)=>`:host([${t}${i?`--${i}`:""}='${e}']) .grid`,Q,"px-spacing","--grid-gap"),li=class extends M{constructor(){super(oi,si),this.template=()=>'<div class="grid">\n <slot></slot>\n </div>',this.shadowRoot.innerHTML=this.template()}static get observedAttributes(){return[...super.observedAttributes,"grid-cols","grid-cols--mobile","grid-cols--tablet","grid-cols--laptop","justify-content","justify-items","align-content","align-items","justify-content--mobile","justify-items--mobile","align-content--mobile","align-items--mobile","justify-content--tablet","justify-items--tablet","align-content--tablet","align-items--tablet","justify-content--laptop","justify-items--laptop","align-content--laptop","align-items--laptop","justify-content--desktop","justify-items--desktop","align-content--desktop","align-items--desktop"]}connectedCallback(){this.gap||(this.gap="default"),this.alignItems||(this.alignItems="stretch")}attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"grid-cols":case"grid-cols--mobile":case"grid-cols--tablet":case"grid-cols--laptop":this.updateAttribute(t,e,i,ri);break;case"justify-content":case"align-content":case"justify-content--mobile":case"align-content--mobile":case"justify-content--tablet":case"align-content--tablet":case"justify-content--laptop":case"align-content--laptop":case"justify-content--desktop":case"align-content--desktop":this.updateAttribute(t,e,i,ai);break;case"justify-items":case"align-items":case"justify-items--mobile":case"align-items--mobile":case"justify-items--tablet":case"align-items--tablet":case"justify-items--laptop":case"align-items--laptop":case"justify-items--desktop":case"align-items--desktop":this.updateAttribute(t,e,i,ni);break;default:super.attributeChangedCallback(t,e,i)}}updateGap(t,e,i){if(!this.checkName(i,e))return void j(`${e} is not an allowed gap value for ${this.tagName.toLowerCase()}`);const o=t=>{null!==t&&""!==t&&"default"!==t&&(this.$el.style.setProperty("--grid-gap--mobile",`var(--px-spacing-${t}-mobile)`),this.$el.style.setProperty("--grid-gap--tablet",`var(--px-spacing-${t}-tablet)`),this.$el.style.setProperty("--grid-gap--laptop",`var(--px-spacing-${t}-laptop)`))};o(t),o(e)}updateAttribute(t,e,i,o){this.checkName(o,i)?"grid-cols"===t||"grid-cols--mobile"===t||"grid-cols--tablet"===t||"grid-cols--laptop"===t||"grid-cols--desktop"===t?this.$el.style.setProperty(`--${t}`,i):(null!==e&&""!==e&&"default"!==e&&this.$el.classList.toggle(`${t}-${e}`),null!==i&&""!==i&&"default"!==i&&this.$el.classList.toggle(`${t}-${i}`)):j(`${i} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`)}get gap(){return this.getAttribute("gap")}set gap(t){this.setAttribute("gap",t)}get gapMobile(){return this.getAttribute("gap--mobile")}set gapMobile(t){this.setAttribute("gap--mobile",t)}get gapTablet(){return this.getAttribute("gap--tablet")}set gapTablet(t){this.setAttribute("gap--tablet",t)}get gapLaptop(){return this.getAttribute("gap--laptop")}set gapLaptop(t){this.setAttribute("gap--laptop",t)}get gridCols(){return this.getAttribute("grid-cols")}set gridCols(t){this.setAttribute("grid-cols",t)}get gridColsMobile(){return this.getAttribute("grid-cols--mobile")}set gridColsMobile(t){this.setAttribute("grid-cols--mobile",t)}get gridColsTablet(){return this.getAttribute("grid-cols--tablet")}set gridColsTablet(t){this.setAttribute("grid-cols--tablet",t)}get gridColsLaptop(){return this.getAttribute("grid-cols--laptop")}set gridColsLaptop(t){this.setAttribute("grid-cols--laptop",t)}get justifyContent(){return this.getAttribute("justify-content")}set justifyContent(t){this.setAttribute("justify-content",t)}get justifyItems(){return this.getAttribute("justify-items")}set justifyItems(t){this.setAttribute("justify-items",t)}get alignContent(){return this.getAttribute("align-content")}set alignContent(t){this.setAttribute("align-content",t)}get alignItems(){return this.getAttribute("align-items")}set alignItems(t){this.setAttribute("align-items",t)}get justifyContentMobile(){return this.getAttribute("justify-content--mobile")}set justifyContentMobile(t){this.setAttribute("justify-content--mobile",t)}get justifyItemsMobile(){return this.getAttribute("justify-items--mobile")}set justifyItemsMobile(t){this.setAttribute("justify-items--mobile",t)}get alignContentMobile(){return this.getAttribute("align-content--mobile")}set alignContentMobile(t){this.setAttribute("align-content--mobile",t)}get alignItemsMobile(){return this.getAttribute("align-items--mobile")}set alignItemsMobile(t){this.setAttribute("align-items--mobile",t)}get justifyContentTablet(){return this.getAttribute("justify-content--tablet")}set justifyContentTablet(t){this.setAttribute("justify-content--tablet",t)}get justifyItemsTablet(){return this.getAttribute("justify-items--tablet")}set justifyItemsTablet(t){this.setAttribute("justify-items--tablet",t)}get alignContentTablet(){return this.getAttribute("align-content--tablet")}set alignContentTablet(t){this.setAttribute("align-content--tablet",t)}get alignItemsTablet(){return this.getAttribute("align-items--tablet")}set alignItemsTablet(t){this.setAttribute("align-items--tablet",t)}get justifyContentLaptop(){return this.getAttribute("justify-content--laptop")}set justifyContentLaptop(t){this.setAttribute("justify-content--laptop",t)}get justifyItemsLaptop(){return this.getAttribute("justify-items--laptop")}set justifyItemsLaptop(t){this.setAttribute("justify-items--laptop",t)}get alignContentLaptop(){return this.getAttribute("align-content--laptop")}set alignContentLaptop(t){this.setAttribute("align-content--laptop",t)}get alignItemsLaptop(){return this.getAttribute("align-items--laptop")}set alignItemsLaptop(t){this.setAttribute("align-items--laptop",t)}get justifyContentDesktop(){return this.getAttribute("justify-content--desktop")}set justifyContentDesktop(t){this.setAttribute("justify-content--desktop",t)}get justifyItemsDesktop(){return this.getAttribute("justify-items--desktop")}set justifyItemsDesktop(t){this.setAttribute("justify-items--desktop",t)}get alignContentDesktop(){return this.getAttribute("align-content--desktop")}set alignContentDesktop(t){this.setAttribute("align-content--desktop",t)}get alignItemsDesktop(){return this.getAttribute("align-items--desktop")}set alignItemsDesktop(t){this.setAttribute("align-items--desktop",t)}};li.nativeName="div";let di=li;customElements.get("px-grid")||customElements.define("px-grid",di);const pi=new CSSStyleSheet;pi.replaceSync(":host{--min-height--mobile: 15.625em;--min-height--tablet: 17.5em;--min-height--laptop: 17.5em;--min-height--desktop: 17.5em}:host,:host>*{display:block;box-sizing:border-box}.content-header{position:relative;z-index:0}[min-height] .content-header-content{min-height:calc(var(--min-height--mobile) - (var(--px-spacing-l-mobile) * 2))}.content-header-content{display:flex;flex-direction:column;gap:var(--px-spacing-l-mobile);z-index:2;position:relative;box-sizing:border-box}.contrast-helper{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;display:none}[contrast-helper-gradient] .contrast-helper{display:block;background-image:linear-gradient(90deg,#fff 23.43%,#fff0 81.69%)}[inverted] :is([contrast-helper-gradient] .contrast-helper){background-image:linear-gradient(90deg,#000 23.43%,#0000 81.69%)}[contrast-helper-overlay] .contrast-helper{display:block;background-color:#ffffffb3}[inverted] :is([contrast-helper-overlay] .contrast-helper){background-color:#0006}@media only screen and (min-width: 48em){.content-header-content{gap:var(--px-spacing-l-desktop)}[min-height] .content-header-content{min-height:calc(var(--min-height--tablet) - (var(--px-spacing-l-tablet) * 2))}}@media only screen and (min-width: 64.0625em){.content-header-content{gap:var(--px-spacing-l-laptop)}[min-height] .content-header-content{min-height:calc(var(--min-height--laptop) - (var(--px-spacing-l-laptop) * 2))}}");const ci=class extends M{constructor(){super(pi),this.template=()=>'<div class="content-header">\n <div class="contrast-helper"></div>\n <px-section padding-block="l">\n <px-grid gap="none">\n <px-container padding="none" border-radius="none" background-color="none" >\n <div class="content-header-content">\n <px-vstack gap="heading-to-subtitle">\n <px-h1 variant="title-3xl"><slot></slot></px-h1>\n <slot name="subtitle"></slot>\n </px-vstack>\n </div>\n </px-container>\n </px-grid>\n </px-section>\n </div>',this.shadowRoot.innerHTML=this.template()}static get observedAttributes(){return["background-color","background-gradient","background-image","background-image--mobile","background-image--tablet","background-image--laptop","background-size","background-position","contrast-helper-gradient","contrast-helper-overlay","min-height","has-gridding","has-gridding--mobile","has-gridding--tablet","has-gridding--laptop","inverted"]}connectedCallback(){this.$patchDescriptionSlot&&this.shadowRoot.querySelector(".content-header-content").insertAdjacentHTML("beforeend",'<px-stack gap="s" direction="row" direction--mobile="column">\n <slot name="patch" shrink></slot>\n <slot name="patch-description"></slot>\n </px-stack>'),this.$overlapSlot&&this.shadowRoot.querySelector("px-section").insertAdjacentHTML("beforeend",'<slot name="overlap" slot="overlap"></slot>'),this.$subtitleSlot&&this.$subtitleSlot.setAttribute("variant","subtitle"),this.$patchDescriptionSlot&&("px-p"===this.$patchDescriptionSlot.localName&&this.$patchDescriptionSlot.setAttribute("variant","default"),"px-p"!==this.$patchDescriptionSlot.localName&&"px-span"!==this.$patchDescriptionSlot.localName||(this.$patchDescriptionSlot.setAttribute("font-size","body-l"),this.$patchDescriptionSlot.removeAttribute("font-weight"),this.$patchDescriptionSlot.removeAttribute("color")),"px-price"===this.$patchDescriptionSlot.localName&&this.$patchDescriptionSlot.setAttribute("size","m")),this.createGridding()}attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"background-color":this.$section.backgroundColor=Z.indexOf(i)>0?i:"none";break;case"background-gradient":this.$section.gradient=K.indexOf(i)>0?i:"none";break;case"background-image":this.$section.backgroundImage=i;break;case"background-image--mobile":this.$section.backgroundImageMobile=i;break;case"background-image--tablet":this.$section.backgroundImageTablet=i;break;case"background-image--laptop":this.$section.backgroundImageLaptop=i;break;case"background-size":this.$section.backgroundSize=U.indexOf(i)>0?i:"";break;case"background-position":this.$section.backgroundPosition=i;break;case"has-gridding":case"has-gridding--mobile":case"has-gridding--tablet":case"has-gridding--laptop":this.createGridding(i);break;case"inverted":for(let t=0;t<this.$children.length;t++)this.$children[t].hasAttribute("inverted")||this.$children[t].toggleAttribute("inverted");this.$h1.toggleAttribute("inverted",null!==i),this.$el.toggleAttribute("inverted",null!==i);break;default:super.attributeChangedCallback(t,e,i)}}createGridding(t){const e=[{prop:"hasGridding",gridProp:"gridCols",attr:"col-span"},{prop:"hasGriddingMobile",gridProp:"gridColsMobile",attr:"col-span--mobile"},{prop:"hasGriddingTablet",gridProp:"gridColsTablet",attr:"col-span--tablet"},{prop:"hasGriddingLaptop",gridProp:"gridColsLaptop",attr:"col-span--laptop"}],i=this.shadowRoot.querySelector("px-grid > px-container");null!==t?e.forEach(({prop:t,gridProp:e,attr:o})=>{this[t]&&(this.$grid[e]="3",i.setAttribute(o,"2"))}):e.forEach(({gridProp:t,attr:e})=>{this.$grid[t]="1",i.removeAttribute(e)})}get $grid(){return this.shadowRoot.querySelector("px-grid")}get $section(){return this.shadowRoot.querySelector("px-section")}get $h1(){return this.shadowRoot.querySelector("px-h1")}get $subtitleSlot(){return this.querySelector('[slot="subtitle"]')}get $patchDescriptionSlot(){return this.querySelector('[slot="patch-description"]')}get $overlapSlot(){return this.querySelector('[slot="overlap"]')}get $children(){return this.querySelectorAll("px-content-header > *")}get backgroundColor(){return this.getAttribute("background-color")}set backgroundColor(t){this.setAttribute("background-color",t)}get gradient(){return this.getAttribute("background-gradient")}set gradient(t){this.setAttribute("background-gradient",t)}get backgroundImage(){return this.getAttribute("background-image")}set backgroundImage(t){this.setAttribute("background-image",t)}get backgroundImageMobile(){return this.getAttribute("background-image--mobile")}set backgroundImageMobile(t){this.setAttribute("background-image--mobile",t)}get backgroundImageTablet(){return this.getAttribute("background-image--tablet")}set backgroundImageTablet(t){this.setAttribute("background-image--tablet",t)}get backgroundImageLaptop(){return this.getAttribute("background-image--laptop")}set backgroundImageLaptop(t){this.setAttribute("background-image--laptop",t)}get backgroundSize(){return this.getAttribute("background-size")}set backgroundSize(t){this.setAttribute("background-size",t)}get backgroundPosition(){return this.getAttribute("background-position")}set backgroundPosition(t){this.setAttribute("background-position",t)}get gradientContrastHelper(){return this.hasAttribute("contrast-helper-gradient")}set gradientContrastHelper(t){t?this.setAttribute("contrast-helper-gradient",""):this.removeAttribute("contrast-helper-gradient")}get overlayContrastHelper(){return this.hasAttribute("contrast-helper-overlay")}set overlayContrastHelper(t){t?this.setAttribute("contrast-helper-overlay",""):this.removeAttribute("contrast-helper-overlay")}get hasGridding(){return this.hasAttribute("has-gridding")}set hasGridding(t){t?this.setAttribute("has-gridding",""):this.removeAttribute("has-gridding")}get hasGriddingMobile(){return this.hasAttribute("has-gridding--mobile")}set hasGriddingMobile(t){t?this.setAttribute("has-gridding--mobile",""):this.removeAttribute("has-gridding--mobile")}get hasGriddingTablet(){return this.hasAttribute("has-gridding--tablet")}set hasGriddingTablet(t){t?this.setAttribute("has-gridding--tablet",""):this.removeAttribute("has-gridding--tablet")}get hasGriddingLaptop(){return this.hasAttribute("has-gridding--laptop")}set hasGriddingLaptop(t){t?this.setAttribute("has-gridding--laptop",""):this.removeAttribute("has-gridding--laptop")}get inverted(){return this.hasAttribute("inverted")}set inverted(t){t?this.setAttribute("inverted",""):this.removeAttribute("inverted")}get minHeight(){return this.hasAttribute("min-height")}set minHeight(t){t?this.setAttribute("min-height",""):this.removeAttribute("min-height")}};ci.nativeName="div";let bi=ci;customElements.get("px-content-header")||customElements.define("px-content-header",bi),exports.ContentHeader=bi,exports.Grid=di,exports.Header=ii,exports.HeaderItem=ye,exports.Modal=le,exports.Typography=pt,exports.contentAlignmentValues=ai,exports.gridColsValues=ri,exports.itemsAlignmentValues=ni;
|
|
1
|
+
"use strict";var t,e,i,r,o,a,n,s,l,d,p,c,b,u,g=t=>{throw TypeError(t)},h=(t,e,i)=>e.has(t)||g("Cannot "+i),m=(t,e,i)=>(h(t,e,"read from private field"),i?i.call(t):e.get(t)),x=(t,e,i)=>e.has(t)?g("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,i),v=(t,e,i,r)=>(h(t,e,"write to private field"),r?r.call(t,i):e.set(t,i),i),f=(t,e,i)=>(h(t,e,"access private method"),i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var k="undefined"!=typeof document?document.currentScript:null;const y="h1,.style-title-4xl,::slotted(h1),h2,.style-title-3xl,::slotted(h2),h3,.style-title-2xl,::slotted(h3),h4,.style-title-xl,::slotted(h4),h5,.style-title-l,::slotted(h5),h6,.style-title-m,::slotted(h6),.style-title-s,.style-subtitle{margin:0;font-family:var(--px-font-family);color:var(--heading-color-default, var(--px-color-text-brand-default));text-align:var(--heading-text-align--mobile, left);font-size:var(--px-text-size-heading-s-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-title)}::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-bottom:var(--px-spacing-heading-to-content-mobile)}:host([inverted]) h1,:host([inverted]) .style-title-4xl,:host([inverted]) ::slotted(h1),:host([inverted]) h2,:host([inverted]) .style-title-3xl,:host([inverted]) ::slotted(h2),:host([inverted]) h3,:host([inverted]) .style-title-2xl,:host([inverted]) ::slotted(h3),:host([inverted]) h4,:host([inverted]) .style-title-xl,:host([inverted]) ::slotted(h4),:host([inverted]) h5,:host([inverted]) .style-title-l,:host([inverted]) ::slotted(h5),:host([inverted]) h6,:host([inverted]) .style-title-m,:host([inverted]) ::slotted(h6),:host([inverted]) .style-title-s,:host([inverted]) .style-subtitle{color:var(--heading-color-inverted, var(--px-color-text-brand-inverted))}h1,.style-title-4xl,::slotted(h1){font-size:var(--px-text-size-heading-3xl-mobile);line-height:var(--px-line-height-ratio-s);font-weight:var(--px-font-weight-title-large)}h2,.style-title-3xl,::slotted(h2){font-size:var(--px-text-size-heading-2xl-mobile);line-height:var(--px-line-height-ratio-s);font-weight:var(--px-font-weight-title-large)}h3,.style-title-2xl,::slotted(h3){font-size:var(--px-text-size-heading-xl-mobile);line-height:var(--px-line-height-ratio-s)}h4,.style-title-xl,::slotted(h4){font-size:var(--px-text-size-heading-l-mobile)}h5,.style-title-l,::slotted(h5){font-size:var(--px-text-size-heading-m-mobile)}h6,.style-title-m,::slotted(h6){font-size:var(--px-text-size-heading-base-mobile)}.style-subtitle{font-size:var(--px-text-size-heading-l-mobile);font-weight:var(--px-font-weight-subtitle)}.style-title-s{font-size:var(--px-text-size-heading-s-mobile)}@media only screen and (min-width: 768px){::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-bottom:var(--px-spacing-heading-to-content-tablet)}h1,.style-title-4xl,::slotted(h1),h2,.style-title-3xl,::slotted(h2),h3,.style-title-2xl,::slotted(h3),h4,.style-title-xl,::slotted(h4),h5,.style-title-l,::slotted(h5),h6,.style-title-m,::slotted(h6),.style-title-s,.style-subtitle{text-align:var(--heading-text-align--tablet, left)}h1,.style-title-4xl,::slotted(h1){font-size:var(--px-text-size-heading-5xl-desktop)}h2,.style-title-3xl,::slotted(h2){font-size:var(--px-text-size-heading-4xl-desktop)}h3,.style-title-2xl,::slotted(h3){font-size:var(--px-text-size-heading-2xl-desktop)}h4,.style-title-xl,::slotted(h4){font-size:var(--px-text-size-heading-xl-desktop)}h5,.style-title-l,::slotted(h5){font-size:var(--px-text-size-heading-l-desktop)}h6,.style-title-m,::slotted(h6){font-size:var(--px-text-size-heading-m-desktop)}.style-title-s{font-size:var(--px-text-size-heading-base-desktop)}.style-subtitle{font-size:var(--px-text-size-heading-xl-desktop)}}@media only screen and (min-width: 1025px){::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-bottom:var(--px-spacing-heading-to-content-laptop)}h1,.style-title-4xl,::slotted(h1),h2,.style-title-3xl,::slotted(h2),h3,.style-title-2xl,::slotted(h3),h4,.style-title-xl,::slotted(h4),h5,.style-title-l,::slotted(h5),h6,.style-title-m,::slotted(h6),.style-title-s,.style-subtitle{text-align:var(--heading-text-align--laptop, left)}h1,.style-title-4xl,::slotted(h1){font-size:var(--px-text-size-heading-5xl-desktop)}h2,.style-title-3xl,::slotted(h2){font-size:var(--px-text-size-heading-4xl-desktop)}h3,.style-title-2xl,::slotted(h3){font-size:var(--px-text-size-heading-2xl-desktop)}h4,.style-title-xl,::slotted(h4){font-size:var(--px-text-size-heading-xl-desktop)}h5,.style-title-l,::slotted(h5){font-size:var(--px-text-size-heading-l-desktop)}h6,.style-title-m,::slotted(h6){font-size:var(--px-text-size-heading-m-desktop)}.style-title-s{font-size:var(--px-text-size-heading-base-desktop)}.style-subtitle{font-size:var(--px-text-size-heading-xl-desktop)}}@media screen and (min-width: 1441px){::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-bottom:var(--px-spacing-heading-to-content-desktop)}h1,.style-title-4xl,::slotted(h1),h2,.style-title-3xl,::slotted(h2),h3,.style-title-2xl,::slotted(h3),h4,.style-title-xl,::slotted(h4),h5,.style-title-l,::slotted(h5),h6,.style-title-m,::slotted(h6),.style-title-s,.style-subtitle{text-align:var(--heading-text-align--desktop, left)}}",A=':host([variant="icon-link"]){display:inline-flex}a,.link,::slotted(a){display:inline;align-items:center;font-family:var(--px-font-family);font-size:var(--px-text-size-link-m-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-body);color:var(--px-color-text-neutral-default)}a:hover,.link:hover{color:var(--px-color-text-state-hover-default)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}a[aria-disabled=true],.link[aria-disabled=true]{cursor:default;pointer-events:none;color:var(--px-color-text-state-disabled-default)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-mobile)}a ::slotted(span[slot="after"]),a ::slotted(span[slot="before"]),.link ::slotted(span[slot="after"]),.link ::slotted(span[slot="before"]){display:inline-block}::slotted(a:hover){color:var(--px-color-text-state-hover-default)}a.no-style{text-decoration:none}a.no-style:hover,a.no-style:focus-visible{color:inherit}a.skip-link{position:absolute;left:-10000px;top:auto;overflow:hidden;background-color:var(--px-color-background-container-default-default);padding:var(--px-padding-xs-mobile)}a.skip-link:focus-visible{left:auto;z-index:999}:host([target="_blank"]) ::slotted(px-icon){vertical-align:middle}.icon-link{color:var(--px-color-icon-brand-default);line-height:1;display:inline-flex}:host([inverted]) a,:host([inverted]) .link,:host([inverted]) ::slotted(a){color:var(--px-color-text-neutral-inverted)}:host([inverted]) a:hover,:host([inverted]) .link:hover{color:var(--px-color-text-state-hover-inverted)}:host([inverted]) a:focus-visible,:host([inverted]) .link:focus-visible{outline-color:var(--px-color-border-focus-outline-inverted)}:host([inverted]) a[aria-disabled=true],:host([inverted]) .link[aria-disabled=true]{color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) ::slotted(a:hover){color:var(--px-color-text-state-hover-inverted)}:host([inverted]) a.skip-link{background-color:var(--px-color-background-container-default-inverted)}:host([inverted]) .icon-link{color:var(--px-color-icon-brand-inverted)}@media only screen and (min-width: 768px){a,.link,::slotted(a){font-size:var(--px-text-size-link-m-tablet)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-tablet)}a.skip-link{padding:var(--px-padding-xs-tablet)}}@media only screen and (min-width: 1025px){a,.link,::slotted(a){font-size:var(--px-text-size-link-m-laptop)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-laptop)}a.skip-link{padding:var(--px-padding-xs-laptop)}}@media only screen and (min-width: 90.0625em){a,.link,::slotted(a){font-size:var(--px-text-size-link-m-desktop)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-desktop)}a.skip-link{padding:var(--px-padding-xs-desktop)}}',w="p,::slotted(p){font-family:var(--px-font-family);color:var(--px-color-text-neutral-default);font-size:var(--px-text-size-body-m-mobile);font-weight:var(--px-font-weight-body);line-height:var(--px-line-height-ratio-l);margin:0}::slotted(p){margin-bottom:var(--px-spacing-xs-mobile)}.text-align-left{text-align:left}.text-align-center{text-align:center}.text-align-right{text-align:right}:host([inverted]) p,:host([inverted]) ::slotted(p){color:var(--px-color-text-neutral-inverted)}@media only screen and (max-width: 768px){.text-align-left--mobile{text-align:left}.text-align-center--mobile{text-align:center}.text-align-right--mobile{text-align:right}}@media only screen and (min-width: 768px){p,::slotted(p){font-size:var(--px-text-size-body-m-desktop)}::slotted(p){margin-bottom:var(--px-spacing-xs-tablet)}.text-align-left--tablet{text-align:left}.text-align-center--tablet{text-align:center}.text-align-right--tablet{text-align:right}}@media only screen and (min-width: 1025px){p,::slotted(p){font-size:var(--px-text-size-body-m-desktop)}::slotted(p){margin-bottom:var(--px-spacing-xs-laptop)}.text-align-left--laptop{text-align:left}.text-align-center--laptop{text-align:center}.text-align-right--laptop{text-align:right}}@media only screen and (min-width: 90.0625em){::slotted(p){margin-bottom:var(--px-spacing-xs-desktop)}}";function $(t){const e=document.createElement(t),i=Object.getPrototypeOf(e);return Object.getOwnPropertyNames(i).map(t=>t.toLowerCase())}const z=new CSSStyleSheet;z.replaceSync(":host([grow]){flex-grow:var(--grow-value)}:host([shrink]){flex-shrink:var(--shrink-value)}:host([basis]){flex-basis:var(--basis-value)}:host([align-self]){align-self:var(--align-self-value)}:host([col-span]){grid-column:span var(--col-span-value) / span var(--col-span-value)}:host([justify-self]){justify-self:var(--justify-value)}:host([order]),::slotted([order]){order:var(--order-value)}:host([hidden]),::slotted([hidden]){display:none}:host([shown--sr]),::slotted(*[shown--sr]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media screen and (max-width: 767px){:host([hidden--mobile]),::slotted([hidden--mobile]){display:none}:host([grow--mobile]){flex-grow:var(--grow--mobile-value)!important}:host([shrink--mobile]){flex-shrink:var(--shrink--mobile-value)!important}:host([basis--mobile]){flex-basis:var(--basis--mobile-value)!important}:host([align-self--mobile]){align-self:var(--align-self--mobile-value)!important}:host([col-span--mobile]){grid-column:span var(--col-span--mobile-value) / span var(--col-span--mobile-value)!important}:host([justify-self--mobile]){justify-self:var(--justify-self--mobile-value)!important}:host([order--mobile]),::slotted([order--mobile]){order:var(--order--mobile-value)!important}:host([shown--sr--mobile]),::slotted(*[shown--sr--mobile]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 768px) and (max-width: 1024px){:host([hidden--tablet]),::slotted([hidden--tablet]){display:none}:host([grow--tablet]){flex-grow:var(--grow--tablet-value)!important}:host([shrink--tablet]){flex-shrink:var(--shrink--tablet-value)!important}:host([basis--tablet]){flex-basis:var(--basis--tablet-value)!important}:host([align-self--tablet]){align-self:var(--align-self--tablet-value)!important}:host([col-span--tablet]){grid-column:span var(--col-span--tablet-value) / span var(--col-span--tablet-value)!important}:host([justify-self--tablet]){justify-self:var(--justify-self--tablet-value)!important}:host([order--tablet]),::slotted([order--tablet]){order:var(--order--tablet-value)!important}:host([shown--sr--tablet]),::slotted(*[shown--sr--tablet]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 1025px){:host([shown--sr--laptop]),::slotted(*[shown--sr--laptop]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 1025px){:host([hidden--laptop]),::slotted([hidden--laptop]){display:none!important}:host([grow--laptop]){flex-grow:var(--grow--laptop-value)!important}:host([shrink--laptop]){flex-shrink:var(--shrink--laptop-value)!important}:host([basis--laptop]){flex-basis:var(--basis--laptop-value)!important}:host([align-self--laptop]){align-self:var(--align-self--laptop-value)!important}:host([col-span--laptop]){grid-column:span var(--col-span--laptop-value) / span var(--col-span--laptop-value)!important}:host([justify-self--laptop]){justify-self:var(--justify-self--laptop-value)!important}:host([order--laptop]),::slotted([order--laptop]){order:var(--order--laptop-value)!important}}@media screen and (min-width: 1441px){:host([col-span--desktop]){grid-column:span var(--col-span--desktop-value) / span var(--col-span--desktop-value)!important}:host([justify-self--desktop]){justify-self:var(--justify-self--desktop-value)!important}:host([order--desktop]),::slotted([order--desktop]){order:var(--order--desktop-value)!important}:host([hidden--desktop]),::slotted([hidden--desktop]){display:none!important}:host([grow--desktop]){flex-grow:var(--grow--desktop-value)!important}:host([shrink--desktop]){flex-shrink:var(--shrink--desktop-value)!important}:host([basis--desktop]){flex-basis:var(--basis--desktop-value)!important}:host([align-self--desktop]){align-self:var(--align-self--desktop-value)!important}}");const S=void 0!=={url:"undefined"==typeof document?require("url").pathToFileURL(__filename).href:k&&"SCRIPT"===k.tagName.toUpperCase()&&k.src||new URL("lavender-light.cjs.js",document.baseURI).href}&&!1;function C(){return S}"undefined"!=typeof window&&(window.isComponentDebug=C),"undefined"!=typeof window&&(window.isComponentDebug=C);class j extends HTMLElement{static get observedAttributes(){return["grow","grow--mobile","grow--tablet","grow--laptop","grow--desktop","shrink","shrink--mobile","shrink--tablet","shrink--laptop","shrink--desktop","basis","basis--mobile","basis--tablet","basis--laptop","basis--desktop","align-self","align-self--mobile","align-self--tablet","align-self--laptop","align-self--desktop","justify-self","justify-self--mobile","justify-self--tablet","justify-self--laptop","justify-self--desktop","hidden","hidden--mobile","hidden--tablet","hidden--laptop","hidden--desktop","shown--sr","shown--sr--mobile","shown--sr--tablet","shown--sr--laptop","shown--sr--desktop","col-span","col-span--mobile","col-span--tablet","col-span--laptop","col-span--desktop","order","order--mobile","order--tablet","order--laptop","order--desktop"]}constructor(...t){super(),this.shadowRoot||this.attachShadow({mode:"open"}),this.shadowRoot.adoptedStyleSheets=[z,...t]}attributeChangedCallback(t,e,i){var r;if(-1!==j.observedAttributes.indexOf(t))switch(t){case"grow":case"grow--mobile":case"grow--tablet":case"grow--laptop":case"grow--desktop":case"shrink":case"shrink--mobile":case"shrink--tablet":case"shrink--laptop":case"shrink--desktop":case"basis":case"basis--mobile":case"basis--tablet":case"basis--laptop":case"basis--desktop":this.style.setProperty(`--${t}-value`,i);break;case"align-self":case"align-self--mobile":case"align-self--tablet":case"align-self--laptop":case"align-self--desktop":this.updateProperties(t,e,i,"px-grid"===(null==(r=this.parentElement)?void 0:r.localName)?E:N);break;case"justify-self":case"justify-self--mobile":case"justify-self--tablet":case"justify-self--laptop":case"justify-self--desktop":this.updateProperties(t,e,i,I);break;case"col-span":case"col-span--mobile":case"col-span--tablet":case"col-span--laptop":case"col-span--desktop":this.updateProperties(t,e,i,D);break;case"order":case"order--mobile":case"order--tablet":case"order--laptop":case"order--desktop":this.updateProperties(t,e,i,P)}}updateProperties(t,e,i,r){if(r&&!this.checkName(r,i))return void this.tagName.toLowerCase();const o=t.indexOf("--")>-1,a=o?t.split("--")[0]:t;if(o){const r=t.split("--")[1];this.style.setProperty(`--${a}--${r}-value`,e),this.style.setProperty(`--${a}--${r}-value`,i)}else this.style.setProperty(`--${a}-value`,e),this.style.setProperty(`--${a}-value`,i)}updateStyle(t,e,i){null!==i&&""!==i&&"default"!==i&&this.style.setProperty(`--${t}--${e}-value`,i)}checkName(t,e){return t.includes(e)}get $el(){return this}get $parentElementName(){var t;return null==(t=this.parentElement)?void 0:t.tagName.toLowerCase()}get isInsideGridOrStack(){let t=this.parentElement;for(;t;){if("px-grid"===t.localName||"px-stack"===t.localName&&"row"===(null==t?void 0:t.getAttribute("direction")))return!0;if("contents"!==window.getComputedStyle(t).display)break;t=t.parentElement}return!1}get grow(){return this.getAttribute("grow")}set grow(t){this.setAttribute("grow",t)}get growMobile(){return this.getAttribute("grow--mobile")}set growMobile(t){this.setAttribute("grow--mobile",t)}get growTablet(){return this.getAttribute("grow--tablet")}set growTablet(t){this.setAttribute("grow--tablet",t)}get growLaptop(){return this.getAttribute("grow--laptop")}set growLaptop(t){this.setAttribute("grow--laptop",t)}get growDesktop(){return this.getAttribute("grow--desktop")}set growDesktop(t){this.setAttribute("grow--desktop",t)}get shrink(){return this.getAttribute("shrink")}set shrink(t){this.setAttribute("shrink",t)}get shrinkMobile(){return this.getAttribute("shrink--mobile")}set shrinkMobile(t){this.setAttribute("shrink--mobile",t)}get shrinkTablet(){return this.getAttribute("shrink--tablet")}set shrinkTablet(t){this.setAttribute("shrink--tablet",t)}get shrinkLaptop(){return this.getAttribute("shrink--laptop")}set shrinkLaptop(t){this.setAttribute("shrink--laptop",t)}get shrinkDesktop(){return this.getAttribute("shrink--desktop")}set shrinkDesktop(t){this.setAttribute("shrink--desktop",t)}get basis(){return this.getAttribute("basis")}set basis(t){this.setAttribute("basis",t)}get basisMobile(){return this.getAttribute("basis--mobile")}set basisMobile(t){this.setAttribute("basis--mobile",t)}get basisTablet(){return this.getAttribute("basis--tablet")}set basisTablet(t){this.setAttribute("basis--tablet",t)}get basisLaptop(){return this.getAttribute("basis--laptop")}set basisLaptop(t){this.setAttribute("basis--laptop",t)}get basisDesktop(){return this.getAttribute("basis--desktop")}set basisDesktop(t){this.setAttribute("basis--desktop",t)}get alignSelf(){return this.getAttribute("align-self")}set alignSelf(t){this.setAttribute("align-self",t)}get alignSelfMobile(){return this.getAttribute("align-self--mobile")}set alignSelfMobile(t){this.setAttribute("align-self--mobile",t)}get alignSelfTablet(){return this.getAttribute("align-self--tablet")}set alignSelfTablet(t){this.setAttribute("align-self--tablet",t)}get alignSelfLaptop(){return this.getAttribute("align-self--laptop")}set alignSelfLaptop(t){this.setAttribute("align-self--laptop",t)}get alignSelfDesktop(){return this.getAttribute("align-self--desktop")}set alignSelfDesktop(t){this.setAttribute("align-self--desktop",t)}get justifySelf(){return this.getAttribute("justify-self")}set justifySelf(t){this.setAttribute("justify-self",t)}get justifySelfMobile(){return this.getAttribute("justify-self--mobile")}set justifySelfMobile(t){this.setAttribute("justify-self--mobile",t)}get justifySelfTablet(){return this.getAttribute("justify-self--tablet")}set justifySelfTablet(t){this.setAttribute("justify-self--tablet",t)}get justifySelfLaptop(){return this.getAttribute("justify-self--laptop")}set justifySelfLaptop(t){this.setAttribute("justify-self--laptop",t)}get justifySelfDesktop(){return this.getAttribute("justify-self--desktop")}set justifySelfDesktop(t){this.setAttribute("justify-self--desktop",t)}get hiddenMobile(){return this.getAttribute("hidden--mobile")}set hiddenMobile(t){this.setAttribute("hidden--mobile",t)}get hiddenTablet(){return this.getAttribute("hidden--tablet")}set hiddenTablet(t){this.setAttribute("hidden--tablet",t)}get hiddenLaptop(){return this.getAttribute("hidden--laptop")}set hiddenLaptop(t){this.setAttribute("hidden--laptop",t)}get hiddenDesktop(){return this.getAttribute("hidden--desktop")}set hiddenDesktop(t){this.setAttribute("hidden--desktop",t)}get colSpan(){return this.getAttribute("col-span")}set colSpan(t){this.setAttribute("col-span",t)}get colSpanMobile(){return this.getAttribute("col-span--mobile")}set colSpanMobile(t){this.setAttribute("col-span--mobile",t)}get colSpanTablet(){return this.getAttribute("col-span--tablet")}set colSpanTablet(t){this.setAttribute("col-span--tablet",t)}get colSpanLaptop(){return this.getAttribute("col-span--laptop")}set colSpanLaptop(t){this.setAttribute("col-span--laptop",t)}get colSpanDesktop(){return this.getAttribute("col-span--desktop")}set colSpanDesktop(t){this.setAttribute("col-span--desktop",t)}get order(){return this.getAttribute("order")}set order(t){this.setAttribute("order",t)}get orderMobile(){return this.getAttribute("order--mobile")}set orderMobile(t){this.setAttribute("order--mobile",t)}get orderTablet(){return this.getAttribute("order--tablet")}set orderTablet(t){this.setAttribute("order--tablet",t)}get orderLaptop(){return this.getAttribute("order--laptop")}set orderLaptop(t){this.setAttribute("order--laptop",t)}get orderDesktop(){return this.getAttribute("order--desktop")}set orderDesktop(t){this.setAttribute("order--desktop",t)}}const L=class extends j{static get observedAttributes(){return[...super.observedAttributes,...$(this.nativeName)]}attributeChangedCallback(t,e,i){super.attributeChangedCallback(t,e,i),null===i?this.$el.toggleAttribute(t):this.$el.setAttribute(t,i)}get ctor(){return Object.getPrototypeOf(this).constructor}constructor(...t){super(...t),this.ctor.supportedPropertyNames||(this.ctor.supportedPropertyNames=function(t){const e=document.createElement(t),i=Object.getPrototypeOf(e);return Object.getOwnPropertyNames(i)}(this.ctor.nativeName)),this.enhanceWithNativeProperties()}enhanceWithNativeProperties(){var t;for(const i of this.ctor.supportedPropertyNames)if("constructor"!==i&&!((null==(t=this.ctor)?void 0:t.accessorExclusions)??[]).includes(i))try{Object.defineProperty(this,i,{get(){return this.$el[i]},set(t){this.$el[i]!==t&&(this.$el[i]=t)}})}catch(e){console.warn(`Could not create property ${i} for`,this.$el,e)}}get $el(){return this.shadowRoot.querySelector(this.ctor.nativeName)}_updateAttribute(t,e){e?this.setAttribute(t,e):this.removeAttribute(t)}_updateBooleanAttribute(t,e){e?this.setAttribute(t,""):this.removeAttribute(t)}};L.accessorExclusions=[];let T=L;class M extends T{connectedCallback(){this.isInsideGridOrStack&&(this.$el.style.display="block",this.$el.style.height="100%")}}const N=["","default","auto","flex-start","flex-end","center","baseline","stretch"],E=["","default","start","end","center","stretch"],I=["","default","start","end","center","stretch"],D=["","1","2","3","4","5","6","7","8","9","10","11","12"],P=["","-1","0","1","2","3","4","5","6","7","8","9","10","11","12"],R=["","default","inherit","body-l","body-m","body-s","body-xs","heading-5xl","heading-4xl","heading-3xl","heading-2xl","heading-xl","heading-l","heading-m","heading-s"],B=["","default","inherit","brand","neutral","dimmed","purpose-success","purpose-warning","purpose-error","purpose-unlimited","purpose-promo","state-hover","state-active","state-disabled"],q=["","default","inherit","body","title","title-large","subtitle"],O=["","default",...["Xs","S","M","L","Xl"].map(t=>t.toLowerCase())],H=["","default","left","center","right"],V=["","none","3xs","2xs","xs","s","m","l","xl"],_=["","none","s","m","l"],G=["","none","main","pill"],F=["none","main","brand","state-hover","state-active","neutral","purpose-success","purpose-warning","purpose-error","purpose-unlimited"],W=["","all","top","right","bottom","left","block","inline"],X=["","none","surface-light","surface-default","surface-strong","surface-stronger","surface-dark","surface-brand","surface-brand-light","container-primary","container-secondary","container-light","container-default","container-strong","state-hover","state-hover-bordered","state-active","state-disabled","purpose-success","purpose-warning","purpose-error","purpose-unlimited","purpose-promo","purpose-info","purpose-eco","purpose-notification","footer"],Z=["","cover","contain","default"],U=["","none","s","m","l","xl"],Y=["","default","title-4xl","title-3xl","title-2xl","title-xl","title-l","title-m","title-s","subtitle"],J=["","purple-top-red","purple-top-magenta","purple-top-orange","purple-top-blue","purple-top-turquoise","purple-top-green","purple-right-red","purple-right-magenta","purple-right-orange","purple-right-blue","purple-right-turquoise","purple-right-green","purple-top-right-red","purple-top-right-magenta","purple-top-right-orange","purple-top-right-blue","purple-top-right-turquoise","purple-top-right-green","purple-bottom-right-red","purple-bottom-right-magenta","purple-bottom-right-orange","purple-bottom-right-blue","purple-bottom-right-turquoise","purple-bottom-right-green","color-top-red","color-top-magenta","color-top-orange","color-top-blue","color-top-turquoise","color-top-green","color-right-red","color-right-magenta","color-right-orange","color-right-blue","color-right-turquoise","color-right-green","color-top-right-red","color-top-right-magenta","color-top-right-orange","color-top-right-blue","color-top-right-turquoise","color-top-right-green","color-bottom-right-red","color-bottom-right-magenta","color-bottom-right-orange","color-bottom-right-blue","color-bottom-right-turquoise","color-bottom-right-green"],K=["none","2xs","xs","s","default","l","heading-to-subtitle","heading-to-content","page-layout-between-sections"],Q=["","all","top","right","bottom","left"];function tt(t,e){return t.includes(e)}function et(t,e,i=!0){var r;if(["aria-label","aria-labelledby","aria-describedby","aria-controls","aria-expanded","aria-haspopup","aria-pressed","aria-selected","aria-required","aria-disabled","aria-live","aria-atomic","aria-relevant","aria-orientation","aria-valuenow","aria-valuetext","aria-valuemin","aria-valuemax","aria-details","aria-modal","aria-autocomplete","aria-activedescendant","aria-colcount","aria-colindex","aria-colspan","aria-rowcount","aria-rowindex","aria-rowspan","aria-keyshortcuts","aria-placeholder","aria-invalid","aria-busy","aria-owns"].forEach(i=>{t.getAttribute(i)&&(e.setAttribute(i,t.getAttribute(i)),t.removeAttribute(i))}),i){const i=`px-${(null==(r=e.localName)?void 0:r.toLowerCase())??"component"}-${Math.random().toString(36).substring(2,15)}`;e.setAttribute("id",i),t.setAttribute("aria-labelledby",i)}}function it(t,e,i,r="",o){const a=new CSSStyleSheet,n=i.reduce((i,a)=>i+`\n ${e(t,a)} {\n ${t}: var(--${r}-${a}-desktop);\n ${o?`${o}:var(--${r}-${a}-desktop)`:""}\n }\n /* Mobile only - max 767px */\n @media only screen and (max-width: 47.938em) {\n ${e(t,a)} {\n ${t}: var(--${r}-${a}-mobile);\n ${o?`${o}: var(--${r}-${a}-mobile)`:""}\n }\n }\n ${e(t,a,"mobile")} {\n /* Mobile only - max 767px */\n @media only screen and (max-width: 47.938em) {\n ${t}: var(--${r}-${a}-mobile) !important;\n ${o?`${o}: var(--${r}-${a}-mobile)`:""}\n }\n }\n ${e(t,a,"tablet")} {\n /* Tablet - min 768px max 1024px */\n @media only screen and (min-width: 48em) and (max-width: 64em) {\n ${t}: var(--${r}-${a}-desktop) !important;\n ${o?`${o}: var(--${r}-${a}-desktop)`:""}\n }\n }\n ${e(t,a,"laptop")} {\n /* Laptop - 1025px*/\n @media only screen and (min-width: 64.0625em) {\n ${t}: var(--${r}-${a}-desktop) !important;\n ${o?`${o}: var(--${r}-${a}-desktop)`:""}\n }\n }\n ${e(t,a,"desktop")} {\n /* Desktop - 1025px*/\n @media only screen and (min-width: 64.0625em) {\n ${t}: var(--${r}-${a}-desktop) !important;\n ${o?`${o}: var(--${r}-${a}-desktop)`:""}\n }\n }`,"");return a.replaceSync(n),a}class rt{constructor(t,e,i,r){this.component=t,this.attributeName=e,this.cssVariable=r,this.attributeNameMobile=`${this.attributeName}--mobile`,this.attributeNameTablet=`${this.attributeName}--tablet`,this.attributeNameLaptop=`${this.attributeName}--laptop`,this.attributeNameDesktop=`${this.attributeName}--desktop`,this._attributeValue=i,Object.defineProperty(this.component,this.toCamelCase(this.attributeName),{get:()=>this.component.getAttribute(this.attributeName),set:t=>{this.component.setAttribute(this.attributeName,t)}})}toCamelCase(t){return t.replace(/[-_]+(.)?/g,(t,e)=>e?e.toUpperCase():"")}init(t){this.setCSSProperty(this.attributeName,t),this.setCSSProperties()}attributeChangedCallback(t,e,i){if(e!==i)switch(!0){case t===this.attributeName:case t===`${this.attributeName}--mobile`:case t===`${this.attributeName}--tablet`:case t===`${this.attributeName}--laptop`:case t===`${this.attributeName}--desktop`:this.setCSSProperty(t,i);break;default:return}}setCSSProperty(t,e,i=!0){const[,r=""]=t.split("--");this.component.style.setProperty(`${this.cssVariable}${i?"-all":""}${r?`-${r}`:""}`,`${this._attributeValue(e,r)}`)}setCSSProperties(){const t=this.component.getAttribute(this.attributeName);t&&(this.setCSSProperty(this.attributeName,t),this.setCSSProperty(this.attributeNameMobile,t),this.setCSSProperty(this.attributeNameTablet,t),this.setCSSProperty(this.attributeNameLaptop,t),this.setCSSProperty(this.attributeNameDesktop,t));const e=this.component.getAttribute(this.attributeNameMobile);e&&this.setCSSProperty(this.attributeNameMobile,e,!1);const i=this.component.getAttribute(this.attributeNameTablet);i&&this.setCSSProperty(this.attributeNameTablet,i,!1);const r=this.component.getAttribute(this.attributeNameLaptop);r&&this.setCSSProperty(this.attributeNameLaptop,r,!1);const o=this.component.getAttribute(this.attributeNameDesktop);o&&this.setCSSProperty(this.attributeNameDesktop,o,!1)}set attributeValue(t){this._attributeValue=t,this.setCSSProperties()}}const ot=new CSSStyleSheet,at=new CSSStyleSheet,nt=new CSSStyleSheet,st=new CSSStyleSheet,lt=new CSSStyleSheet;ot.replaceSync(":host{font-family:var(--px-font-family);font-weight:var(--px-font-weight-body);color:var(--px-color-text-neutral-default)}::slotted(ul),::slotted(ol){padding:0;margin:0 0 var(--px-spacing-xs-mobile) var(--px-spacing-default-mobile)}::slotted(blockquote){margin-bottom:var(--px-spacing-xs-mobile)}::slotted(b),::slotted(strong){font-weight:var(--px-font-weight-title)}::slotted(address){font-style:normal;font-weight:var(--px-font-weight-body)}::slotted(img){max-width:100%;height:auto}@media only screen and (min-width: 48em){::slotted(ul),::slotted(ol){margin:0 0 var(--px-spacing-xs-tablet) var(--px-spacing-default-tablet)}::slotted(blockquote){margin-bottom:var(--px-spacing-xs-tablet)}}@media only screen and (min-width: 64.0625em){::slotted(ul),::slotted(ol){margin:0 0 var(--px-spacing-xs-laptop) var(--px-spacing-default-laptop)}::slotted(blockquote){margin-bottom:var(--px-spacing-xs-laptop)}}@media only screen and (min-width: 90.0625em){::slotted(ul),::slotted(ol){margin:0 0 var(--px-spacing-xs-desktop) var(--px-spacing-default-desktop)}::slotted(blockquote){margin-bottom:var(--px-spacing-xs-desktop)}}:host([inverted]){color:var(--px-color-text-neutral-inverted)}"),at.replaceSync(y),nt.replaceSync(A),st.replaceSync(w),lt.replaceSync("span,::slotted(span){font-family:var(--px-font-family);color:var(--px-color-text-neutral-default);font-size:var(--px-text-size-body-m-mobile);line-height:var(--px-line-height-ratio-l)}:host([inverted]) span,:host([inverted]) ::slotted(span){color:var(--px-color-text-neutral-inverted)}span.link{text-decoration:underline}@media only screen and (min-width: 768px){span,::slotted(span){font-size:var(--px-text-size-body-m-desktop)}}@media only screen and (min-width: 1025px){span,::slotted(span){font-size:var(--px-text-size-body-m-desktop)}}"),function(t){const e=document.createElement("style");e.innerHTML=t,document.head.appendChild(e)}(".li{margin-bottom:var(--px-padding-xs-mobile)}@media only screen and (min-width: 48em){.li{margin-bottom:var(--px-padding-xs-tablet)}}@media only screen and (min-width: 64.0625em){.li{margin-bottom:var(--px-padding-xs-laptop)}}@media only screen and (min-width: 90.0625em){.li{margin-bottom:var(--px-padding-xs-desktop)}}");class dt extends HTMLElement{constructor(){super(),this.template=()=>"<slot></slot>",this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=this.template(),this.shadowRoot.adoptedStyleSheets=[ot,at,nt,st,lt]}static get observedAttributes(){return["inverted"]}get inverted(){return this.getAttribute("inverted")}set inverted(t){this.setAttribute("inverted",t)}connectedCallback(){this.querySelectorAll("li").forEach(t=>{t.classList.add("li")})}}customElements.get("px-typography")||customElements.define("px-typography",dt);const pt=new CSSStyleSheet;pt.replaceSync(':host{display:block}.container{font-family:var(--px-font-family);background-color:var(--background-color);border-radius:var(--px-radius-main);box-sizing:border-box;height:100%}:host([background-image]) .container{background-image:var(--background-image)}:host([background-gradient]) .container{background-image:var(--background-gradient)}:host([inverted]) .container{background-color:var(--background-color-inverted);color:var(--px-color-text-neutral-inverted)}.border-none{border:none}.border-s{border:var(--px-size-border-s) solid var(--border-color)}.border-m{border:var(--px-size-border-m) solid var(--border-color)}.border-l{border:var(--px-size-border-l) solid var(--border-color)}.border-side-top{border-bottom-style:none;border-right-style:none;border-left-style:none}.border-side-right{border-top-style:none;border-bottom-style:none;border-left-style:none}.border-side-bottom{border-top-style:none;border-right-style:none;border-left-style:none}.border-side-left{border-top-style:none;border-right-style:none;border-bottom-style:none}.border-side-block{border-inline-style:none}.border-side-inline{border-block-style:none}:host([inverted]) .border-s,:host([inverted]) .border-m,:host([inverted]) .border-l{border-color:var(--border-color-inverted)}.border-radius-main{border-radius:var(--px-radius-main)}.border-radius-pill{border-radius:var(--px-radius-pill)}.no-border-radius-top{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all,.border-radius-none{border-radius:var(--px-radius-none)}.bgimg{background-repeat:no-repeat}.background-size-cover{background-size:cover;background-position:center center}.background-size-contain{background-size:contain}.box-shadow-none{box-shadow:none}.box-shadow-s{box-shadow:0 1px 2px #2525251f}.box-shadow-m{box-shadow:0 4px 6px -1px #25252514}.box-shadow-l{box-shadow:0 10px 15px -3px #25252514}.box-shadow-xl{box-shadow:0 20px 25px -5px #25252514}.anchored{position:relative}::slotted([slot="anchor-right"]),::slotted([slot="anchor-left"]),::slotted([slot="anchor-full"]){position:absolute;top:0}::slotted([slot="anchor-right"]),::slotted([slot="anchor-left"]){transform:translateY(-50%);z-index:3}::slotted([slot="anchor-right"]){right:var( --container-anchor-offset--mobile, var( --container-padding-right, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-left"]){left:var( --container-anchor-offset--mobile, var( --container-padding-left, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-full"]){transform:translateY(-100%);right:0;left:0;text-align:center;z-index:2}::slotted(px-vstack:only-of-type),::slotted(px-hstack:only-of-type),::slotted(px-stack:only-of-type),::slotted(px-grid:only-of-type){height:100%}.border-s ::slotted([slot="anchor-full"]){right:calc(var(--px-size-border-s) * -1);left:calc(var(--px-size-border-s) * -1)}.border-m ::slotted([slot="anchor-full"]){right:calc(var(--px-size-border-m) * -1);left:calc(var(--px-size-border-m) * -1)}.border-l ::slotted([slot="anchor-full"]){right:calc(var(--px-size-border-l) * -1);left:calc(var(--px-size-border-l) * -1)}@media only screen and (max-width: 47.938em){.container{background-color:var(--background-color--mobile, var(--background-color))}:host([background-image--mobile]) .container{background-image:var(--background-image--mobile, var(--background-image))}:host([background-gradient--mobile]) .container{background-image:var( --background-gradient--mobile, var(--background-gradient) )}:host([inverted]) .container{background-color:var( --background-color-inverted--mobile, var(--background-color-inverted) )}.border-side-top--mobile{border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--mobile{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--mobile{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--mobile{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--mobile{border-inline-style:none;border-block-style:solid}.border-side-inline--mobile{border-block-style:none;border-inline-style:solid}.no-border-radius-top--mobile{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--mobile{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--mobile{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--mobile{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--mobile{border-radius:var(--px-radius-none)}}@media only screen and (min-width: 48em) and (max-width: 64em){.container{background-color:var(--background-color--tablet, var(--background-color))}:host([background-image--tablet]) .container{background-image:var(--background-image--tablet, var(--background-image))}:host([background-gradient--tablet]) .container{background-image:var( --background-gradient--tablet, var(--background-gradient) )}:host([inverted]) .container{background-color:var( --background-color-inverted--tablet, var(--background-color-inverted) )}.no-border-radius-top--tablet{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--tablet{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--tablet{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--tablet{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--tablet{border-radius:var(--px-radius-none)}.border-side-top--tablet{border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--tablet{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--tablet{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--tablet{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--tablet{border-inline-style:none;border-block-style:solid}.border-side-inline--tablet{border-block-style:none;border-inline-style:solid}::slotted([slot="anchor-right"]){right:var( --container-anchor-offset--tablet, var( --container-padding-right, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-left"]){left:var( --container-anchor-offset--tablet, var( --container-padding-left, var(--container-padding-inline, var(--container-padding)) ) )}}@media only screen and (min-width: 64.0625em){.container{background-color:var(--background-color--laptop, var(--background-color))}:host([background-image--laptop]) .container{background-image:var(--background-image--laptop, var(--background-image))}:host([background-gradient--laptop]) .container{background-image:var( --background-gradient--laptop, var(--background-gradient) )}:host([inverted]) .container{background-color:var( --background-color-inverted--laptop, var(--background-color-inverted) )}.no-border-radius-top--laptop{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--laptop{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--laptop{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--laptop{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--laptop{border-radius:var(--px-radius-none)}::slotted([slot="anchor-right"]){right:var( --container-anchor-offset--laptop, var( --container-padding-right, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-left"]){left:var( --container-anchor-offset--laptop, var( --container-padding-left, var(--container-padding-inline, var(--container-padding)) ) )}.border-side-top--laptop{border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--laptop{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--laptop{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--laptop{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--laptop{border-inline-style:none;border-block-style:solid}.border-side-inline--laptop{border-block-style:none;border-inline-style:solid}}');const ct=(t,e,i)=>`:host([${t}${i?`--${i}`:""}='${e}']) .container`,bt="px-padding",ut=[it("padding",ct,V,bt,"--container-padding"),it("padding-inline",ct,V,bt),it("padding-block",ct,V,bt),it("padding-top",ct,V,bt),it("padding-right",ct,V,bt,"--container-padding-right"),it("padding-bottom",ct,V,bt),it("padding-left",ct,V,bt,"--container-padding-left")],gt=class extends M{constructor(){super(pt,...ut),this.template=()=>'<div class="container">\n <slot></slot>\n <slot name="anchor-left"></slot>\n <slot name="anchor-right"></slot>\n <slot name="anchor-full"></slot>\n </div>',this._bgObserver=null,this._isInViewport=!1,this.shadowRoot.innerHTML=this.template()}static get observedAttributes(){return[...super.observedAttributes,"border","border-color","border-side","border-side--mobile","border-side--tablet","border-side--laptop","border-radius","no-border-radius","no-border-radius--mobile","no-border-radius--tablet","no-border-radius--laptop","background-color","background-color--mobile","background-color--tablet","background-color--laptop","background-gradient","background-gradient--mobile","background-gradient--tablet","background-gradient--laptop","background-image","background-image--mobile","background-image--tablet","background-image--laptop","background-size","background-position","box-shadow","anchor-offset","inverted"]}connectedCallback(){super.connectedCallback(),this.padding||(this.padding="m"),this.backgroundColor||(this.backgroundColor="surface-light"),this.borderColor||(this.borderColor="main"),this.$slotAnchor&&this.addAnchorClass(),this.contentObserver=new MutationObserver(()=>{this.$slotAnchor&&this.addAnchorClass()}),this.contentObserver.observe(this,{childList:!0,subtree:!0,characterData:!0}),this._bgObserver=new IntersectionObserver(t=>{t.forEach(t=>{var e;t.isIntersecting&&(this._isInViewport=!0,this._loadBackgroundImages(),null==(e=this._bgObserver)||e.disconnect())})}),this._bgObserver.observe(this.$el)}disconnectedCallback(){var t;null==(t=this._bgObserver)||t.disconnect(),this.contentObserver.disconnect()}attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"border":this.updateAttribute(t,e,i,_);break;case"border-color":this.updateBorderColor(t,i);break;case"border-side":case"border-side--mobile":case"border-side--tablet":case"border-side--laptop":this.updateAttribute(t,e,i,W);break;case"border-radius":this.updateAttribute(t,e,i,G);break;case"no-border-radius":case"no-border-radius--mobile":case"no-border-radius--tablet":case"no-border-radius--laptop":this.updateNoBorderRadius(t,e,i,Q);break;case"background-color":case"background-color--mobile":case"background-color--tablet":case"background-color--laptop":this.updateBackgroundColor(t,i);break;case"background-gradient":case"background-gradient--mobile":case"background-gradient--tablet":case"background-gradient--laptop":this.updateGradient(t,i);break;case"background-size":this.updateAttribute(t,e,i,Z);break;case"background-image":case"background-image--mobile":case"background-image--tablet":case"background-image--laptop":this._isInViewport&&this.updateBackgroundImg(t,i);break;case"background-position":null!==i&&""!==i&&(this.$el.style.backgroundPosition=i);break;case"box-shadow":this.updateAttribute(t,e,i,U);break;case"anchor-offset":this.updateAnchorOffset(e,i,V);break;default:super.attributeChangedCallback(t,e,i)}}_loadBackgroundImages(){["background-image","background-image--mobile","background-image--tablet","background-image--laptop"].forEach(t=>{const e=this.getAttribute(t);e&&this.updateBackgroundImg(t,e)})}updateBackgroundImg(t,e){this.$el.style.setProperty(`--${t}`,`url("${e}")`)}updateGradient(t,e){if(this.checkName(J,e)){const i=this.splitAttrNameFromBreakpoint(t);t=i.attrName;const r=i.breakpoint;this.$el.style.setProperty(`--${t}${r}`,`linear-gradient(var(--px-color-background-gradient-${e}))`)}else this.tagName.toLowerCase()}updateBackgroundColor(t,e){const i=e.startsWith("surface-");if(this.checkName(X,e)){const r=this.splitAttrNameFromBreakpoint(t),o=r.breakpoint;this.$el.style.setProperty(`--${r.attrName}${o}`,`var(--px-color-background-${e}${i?"":"-default"})`),this.$el.style.setProperty(`--${r.attrName}-inverted${o}`,`var(--px-color-background-${e}${i?"":"-inverted"})`)}else this.tagName.toLowerCase()}updateBorderColor(t,e){this.checkName(F,e)?(this.$el.style.setProperty(`--${t}`,`var(--px-color-border-${e}-default)`),this.$el.style.setProperty(`--${t}-inverted`,`var(--px-color-border-${e}-inverted)`)):this.tagName.toLowerCase()}updateNoBorderRadius(t,e,i,r){if(this.checkName(r,i)){const r=this.splitAttrNameFromBreakpoint(t),o=r.breakpoint;null!==e&&""!==e&&this.$el.classList.toggle(`${r.attrName}-${e}${o}`),null!==i&&""!==i&&this.$el.classList.toggle(`${r.attrName}-${i}${o}`)}else this.tagName.toLowerCase()}updateAttribute(t,e,i,r){if(this.checkName(r,i)){const r=this.splitAttrNameFromBreakpoint(t),o=r.breakpoint;null!==e&&""!==e&&this.$el.classList.toggle(`${r.attrName}-${e}${o}`),null!==i&&""!==i&&this.$el.classList.toggle(`${r.attrName}-${i}${o}`)}else this.tagName.toLowerCase()}splitAttrNameFromBreakpoint(t){let e="";if(["--mobile","--tablet","--laptop"].some(e=>t.includes(e))){const i=t.split("--");t=i[0],e=`--${i[1]}`}return{attrName:t,breakpoint:e}}updateAnchorOffset(t,e,i){if(!tt(i,e))return void this.tagName.toLowerCase();const r=t=>{null!==t&&""!==t&&"default"!==t&&(this.$el.style.setProperty("--container-anchor-offset--mobile",`var(--px-padding-${t}-mobile)`),this.$el.style.setProperty("--container-anchor-offset--tablet",`var(--px-padding-${t}-tablet)`),this.$el.style.setProperty("--container-anchor-offset--laptop",`var(--px-padding-${t}-laptop)`))};r(t),r(e)}addAnchorClass(){this.$el.classList.contains("anchored")||this.$el.classList.add("anchored")}get $slotAnchor(){return this.querySelector('[slot^="anchor"]')}get padding(){return this.getAttribute("padding")}set padding(t){this.setAttribute("padding",t)}get paddingBlock(){return this.getAttribute("padding-block")}set paddingBlock(t){this.setAttribute("padding-block",t)}get paddingInline(){return this.getAttribute("padding-inline")}set paddingInline(t){this.setAttribute("padding-inline",t)}get paddingTop(){return this.getAttribute("padding-top")}set paddingTop(t){this.setAttribute("padding-top",t)}get paddingRight(){return this.getAttribute("padding-right")}set paddingRight(t){this.setAttribute("padding-right",t)}get paddingBottom(){return this.getAttribute("padding-bottom")}set paddingBottom(t){this.setAttribute("padding-bottom",t)}get paddingLeft(){return this.getAttribute("padding-left")}set paddingLeft(t){this.setAttribute("padding-left",t)}get paddingMobile(){return this.getAttribute("padding--mobile")}set paddingMobile(t){this.setAttribute("padding--mobile",t)}get paddingBlockMobile(){return this.getAttribute("padding-block--mobile")}set paddingBlockMobile(t){this.setAttribute("padding-block--mobile",t)}get paddingInlineMobile(){return this.getAttribute("padding-inline--mobile")}set paddingInlineMobile(t){this.setAttribute("padding-inline--mobile",t)}get paddingTopMobile(){return this.getAttribute("padding-top--mobile")}set paddingTopMobile(t){this.setAttribute("padding-top--mobile",t)}get paddingRightMobile(){return this.getAttribute("padding-right--mobile")}set paddingRightMobile(t){this.setAttribute("padding-right--mobile",t)}get paddingBottomMobile(){return this.getAttribute("padding-bottom--mobile")}set paddingBottomMobile(t){this.setAttribute("padding-bottom--mobile",t)}get paddingLeftMobile(){return this.getAttribute("padding-left--mobile")}set paddingLeftMobile(t){this.setAttribute("padding-left--mobile",t)}get paddingTablet(){return this.getAttribute("padding--tablet")}set paddingTablet(t){this.setAttribute("padding--tablet",t)}get paddingBlockTablet(){return this.getAttribute("padding-block--tablet")}set paddingBlockTablet(t){this.setAttribute("padding-block--tablet",t)}get paddingInlineTablet(){return this.getAttribute("padding-inline--tablet")}set paddingInlineTablet(t){this.setAttribute("padding-inline--tablet",t)}get paddingTopTablet(){return this.getAttribute("padding-top--tablet")}set paddingTopTablet(t){this.setAttribute("padding-top--tablet",t)}get paddingRightTablet(){return this.getAttribute("padding-right--tablet")}set paddingRightTablet(t){this.setAttribute("padding-right--tablet",t)}get paddingBottomTablet(){return this.getAttribute("padding-bottom--tablet")}set paddingBottomTablet(t){this.setAttribute("padding-bottom--tablet",t)}get paddingLeftTablet(){return this.getAttribute("padding-left--tablet")}set paddingLeftTablet(t){this.setAttribute("padding-left--tablet",t)}get paddingLaptop(){return this.getAttribute("padding--laptop")}set paddingLaptop(t){this.setAttribute("padding--laptop",t)}get paddingBlockLaptop(){return this.getAttribute("padding-block--laptop")}set paddingBlockLaptop(t){this.setAttribute("padding-block--laptop",t)}get paddingInlineLaptop(){return this.getAttribute("padding-inline--laptop")}set paddingInlineLaptop(t){this.setAttribute("padding-inline--laptop",t)}get paddingTopLaptop(){return this.getAttribute("padding-top--laptop")}set paddingTopLaptop(t){this.setAttribute("padding-top--laptop",t)}get paddingRightLaptop(){return this.getAttribute("padding-right--laptop")}set paddingRightLaptop(t){this.setAttribute("padding-right--laptop",t)}get paddingBottomLaptop(){return this.getAttribute("padding-bottom--laptop")}set paddingBottomLaptop(t){this.setAttribute("padding-bottom--laptop",t)}get paddingLeftLaptop(){return this.getAttribute("padding-left--laptop")}set paddingLeftLaptop(t){this.setAttribute("padding-left--laptop",t)}get border(){return this.getAttribute("border")}set border(t){this.setAttribute("border",t)}get borderColor(){return this.getAttribute("border-color")}set borderColor(t){this.setAttribute("border-color",t)}get borderSide(){return this.getAttribute("border-side")}set borderSide(t){this.setAttribute("border-side",t)}get borderSideMobile(){return this.getAttribute("border-side--mobile")}set borderSideMobile(t){this.setAttribute("border-side--mobile",t)}get borderSideTablet(){return this.getAttribute("border-side--tablet")}set borderSideTablet(t){this.setAttribute("border-side--tablet",t)}get borderSideLaptop(){return this.getAttribute("border-side--laptop")}set borderSideLaptop(t){this.setAttribute("border-side--laptop",t)}get borderRadius(){return this.getAttribute("border-radius")}set borderRadius(t){this.setAttribute("border-radius",t)}get noBorderRadius(){return this.getAttribute("no-border-radius")}set noBorderRadius(t){this.setAttribute("no-border-radius",t)}get noBorderRadiusMobile(){return this.getAttribute("no-border-radius--mobile")}set noBorderRadiusMobile(t){this.setAttribute("no-border-radius--mobile",t)}get noBorderRadiusTablet(){return this.getAttribute("no-border-radius--tablet")}set noBorderRadiusTablet(t){this.setAttribute("no-border-radius--tablet",t)}get noBorderRadiusLaptop(){return this.getAttribute("no-border-radius--laptop")}set noBorderRadiusLaptop(t){this.setAttribute("no-border-radius--laptop",t)}get backgroundColor(){return this.getAttribute("background-color")}set backgroundColor(t){this.setAttribute("background-color",t)}get backgroundColorMobile(){return this.getAttribute("background-color--mobile")}set backgroundColorMobile(t){this.setAttribute("background-color--mobile",t)}get backgroundColorTablet(){return this.getAttribute("background-color--tablet")}set backgroundColorTablet(t){this.setAttribute("background-color--tablet",t)}get backgroundColorLaptop(){return this.getAttribute("background-color--laptop")}set backgroundColorLaptop(t){this.setAttribute("background-color--laptop",t)}get gradient(){return this.getAttribute("background-gradient")}set gradient(t){this.setAttribute("background-gradient",t)}get gradientMobile(){return this.getAttribute("background-gradient--mobile")}set gradientMobile(t){this.setAttribute("background-gradient--mobile",t)}get gradientTablet(){return this.getAttribute("background-gradient--tablet")}set gradientTablet(t){this.setAttribute("background-gradient--tablet",t)}get gradientLaptop(){return this.getAttribute("background-gradient--laptop")}set gradientLaptop(t){this.setAttribute("background-gradient--laptop",t)}get backgroundImage(){return this.getAttribute("background-image")}set backgroundImage(t){this.setAttribute("background-image",t)}get backgroundImageMobile(){return this.getAttribute("background-image--mobile")}set backgroundImageMobile(t){this.setAttribute("background-image--mobile",t)}get backgroundImageTablet(){return this.getAttribute("background-image--tablet")}set backgroundImageTablet(t){this.setAttribute("background-image--tablet",t)}get backgroundImageLaptop(){return this.getAttribute("background-image--laptop")}set backgroundImageLaptop(t){this.setAttribute("background-image--laptop",t)}get backgroundSize(){return this.getAttribute("background-size")}set backgroundSize(t){this.setAttribute("background-size",t)}get backgroundPosition(){return this.getAttribute("background-position")}set backgroundPosition(t){this.setAttribute("background-position",t)}get boxShadow(){return this.getAttribute("box-shadow")}set boxShadow(t){this.setAttribute("box-shadow",t)}get anchorOffset(){return this.getAttribute("anchor-offset")}set anchorOffset(t){this.setAttribute("anchor-offset",t)}get inverted(){return this.getAttribute("inverted")}set inverted(t){this.setAttribute("inverted",t)}};gt.nativeName="div";let ht=gt;customElements.get("px-container")||customElements.define("px-container",ht);const mt=new CSSStyleSheet;mt.replaceSync(".separator{--separator-size: var(--px-size-border-m);--separator-direction--mobile-border-width: var(--separator-size) 0 0;--separator-direction--mobile-width: initial;--separator-direction--mobile-height: initial;clear:both;margin:0;border-style:solid;border-color:var( --separator-color-default, var(--px-color-border-main-default) );border-width:var(--separator-size) 0 0;width:initial;height:initial}.separator-direction-horizontal--mobile{border-width:var(--separator-size) 0 0;width:initial;height:initial}.separator-direction-vertical--mobile{width:var(--separator-size);height:100%;border-width:0 var(--separator-size) 0 0}:host([inverted]) .separator{border-color:var( --separator-color-inverted, var(--px-color-border-main-inverted) )}@media only screen and (min-width: 768px){.separator-direction-horizontal--tablet{border-width:var(--separator-size) 0 0;width:initial;height:initial}.separator-direction-vertical--tablet{width:var(--separator-size);height:100%;border-width:0 var(--separator-size) 0 0}}@media only screen and (min-width: 1025px){.separator-direction-horizontal--laptop{border-width:var(--separator-size) 0 0;width:initial;height:initial}.separator-direction-vertical--laptop{width:var(--separator-size);height:100%;border-width:0 var(--separator-size) 0 0}}@media only screen and (min-width: 1441px){.separator-direction-horizontal--desktop{border-width:var(--separator-size) 0 0;width:initial;height:initial}.separator-direction-vertical--desktop{width:var(--separator-size);height:100%;border-width:0 var(--separator-size) 0 0}}");const xt=["","default","horizontal","vertical"],vt=["","default","none","s","m","l"],ft=["","main","brand","none","neutral","purpose-success","purpose-warning","purpose-error","purpose-unlimited","state-hover","state-active"],kt=class t extends T{constructor(){var e;super(mt);const i=document.createElement(t.nativeName);i.classList.add("separator"),this.internals=null==(e=this.attachInternals)?void 0:e.call(this),this.shadowRoot.appendChild(i)}static get observedAttributes(){return[...super.observedAttributes,"direction","direction--mobile","direction--tablet","direction--laptop","direction--desktop","size","color","inverted"]}attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"direction":case"direction--mobile":case"direction--tablet":case"direction--laptop":case"direction--desktop":this.updateDirection(t,e,i,xt);break;case"size":this.updateSize(t,e,i,vt);break;case"color":this.updateColor(t,e,i,ft);break;default:super.attributeChangedCallback(t,e,i)}}updateSize(t,e,i,r){const o=t=>{null!==t&&""!==t&&"default"!==t&&this.$el.style.setProperty("--separator-size",`var(--px-size-border-${t})`)};this.checkName(r,i)?(o(e),o(i)):this.tagName.toLowerCase()}updateColor(t,e,i,r){const o=t=>{null!==t&&""!==t&&"default"!==t&&(this.$el.style.setProperty("--separator-color-default",`var(--px-color-border-${t}-default)`),this.$el.style.setProperty("--separator-color-inverted",`var(--px-color-border-${t}-inverted)`))};this.checkName(r,i)?(o(e),o(i)):this.tagName.toLowerCase()}updateDirection(t,e,i,r){const o=(t,e)=>{null!==e&&""!==e&&"default"!==e&&this.$el.classList.add(`separator-direction-${e}--${t}`)};if(this.checkName(r,i))if("direction"===t)["mobile","tablet","laptop","desktop"].forEach(t=>{Array.from(this.$el.classList).find(e=>e.startsWith("separator-direction-")&&e.endsWith(`--${t}`))||o(t,i)});else{const e=t.split("--")[1],r=Array.from(this.$el.classList).find(t=>t.startsWith("separator-direction-")&&t.endsWith(`--${e}`));r?this.$el.classList.replace(r,`separator-direction-${i}--${e}`):o(e,i)}else this.tagName.toLowerCase()}get direction(){return this.getAttribute("direction")}set direction(t){this.setAttribute("direction",t)}get directionMobile(){return this.getAttribute("direction--mobile")}set directionMobile(t){this.setAttribute("direction--mobile",t)}get directionTablet(){return this.getAttribute("direction--tablet")}set directionTablet(t){this.setAttribute("direction--tablet",t)}get directionLaptop(){return this.getAttribute("direction--laptop")}set directionLaptop(t){this.setAttribute("direction--laptop",t)}get directionDesktop(){return this.getAttribute("direction--desktop")}set directionDesktop(t){this.setAttribute("direction--desktop",t)}get size(){return this.getAttribute("size")}set size(t){this.setAttribute("size",t)}get color(){return this.getAttribute("color")}set color(t){this.setAttribute("color",t)}get inverted(){return this.getAttribute("inverted")}set inverted(t){this.setAttribute("inverted",t)}};kt.nativeName="hr";let yt=kt;customElements.get("px-separator")||customElements.define("px-separator",yt);const At=new CSSStyleSheet;At.replaceSync(':host{display:block}:host([overflow-x="auto"]){margin:calc(calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile)) * -1)}:host([overflow-x="auto"]) .flex-container{padding:calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile))}.flex-container{display:flex;height:100%;width:100%;box-sizing:border-box;flex-direction:var(--flex-direction--mobile-value);gap:var(--flex-gap--mobile-value);flex-wrap:var(--flex-wrap--mobile-value);justify-content:var(--flex-justify-content--mobile-value);align-items:var(--flex-align-items--mobile-value);overflow-x:var(--overflow-x-all)}@media only screen and (max-width: 47.9375em){.flex-container{overflow-x:var(--overflow-x-all-mobile, var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media only screen and (min-width: 48em){.flex-container{flex-direction:var(--flex-direction--tablet-value);gap:var(--flex-gap--tablet-value);flex-wrap:var(--flex-wrap--tablet-value);justify-content:var(--flex-justify-content--tablet-value);align-items:var(--flex-align-items--tablet-value)}:host([overflow-x="auto"]){margin:calc(calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet)) * -1)}:host([overflow-x="auto"]) .flex-container{padding:calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet))}}@media only screen and (min-width: 48em) and (max-width: 64em){.flex-container{overflow-x:var(--overflow-x-all-tablet, var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media only screen and (min-width: 64.0625em){.flex-container{flex-direction:var(--flex-direction--laptop-value);gap:var(--flex-gap--laptop-value);flex-wrap:var(--flex-wrap--laptop-value);justify-content:var(--flex-justify-content--laptop-value);align-items:var(--flex-align-items--laptop-value)}:host([overflow-x="auto"]){margin:calc(calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop)) * -1)}:host([overflow-x="auto"]) .flex-container{padding:calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop))}}@media only screen and (min-width: 64.0625em) and (max-width: 90em){.flex-container{overflow-x:var(--overflow-x-all-laptop, var(--overflow-x-all))}}@media only screen and (min-width: 90.0625em){.flex-container{flex-direction:var(--flex-direction--desktop-value);gap:var(--flex-gap--desktop-value);flex-wrap:var(--flex-wrap--desktop-value);justify-content:var(--flex-justify-content--desktop-value);align-items:var(--flex-align-items--desktop-value);overflow-x:var(--overflow-x-all-desktop, var(--overflow-x-all))}:host([overflow-x="auto"]){margin:calc(calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop)) * -1)}:host([overflow-x="auto"]) .flex-container{padding:calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop))}}');const wt=["","default","row","row-reverse","column","column-reverse"],$t=["","default","stretch","flex-start","flex-end","center","baseline"],zt=["","default","flex-start","flex-end","center","space-between","space-around","space-evenly"],St=["","default","nowrap","wrap","wrap-reverse"],Ct=["","visible","hidden","scroll","auto"];class jt extends j{constructor(){super(At),this.overflowXAttributeDelegate=new rt(this,"overflow-x",t=>t,"--overflow-x"),this.template='<div class="flex-container">\n <slot></slot>\n </div>',this.shadowRoot.innerHTML=this.template}connectedCallback(){this.hasAttribute("direction")||(this.direction="row"),this.hasAttribute("gap")||(this.gap="none"),this.hasAttribute("align-items")||(this.alignItems="stretch"),this.hasAttribute("justify-content")||(this.justifyContent="flex-start"),this.hasAttribute("wrap")||(this.wrap="nowrap"),this.hasAttribute("overflow-x")||this.overflowXAttributeDelegate.init("visible")}static get observedAttributes(){return[...super.observedAttributes,"direction","direction--mobile","direction--tablet","direction--laptop","direction--desktop","gap","gap--mobile","gap--tablet","gap--laptop","gap--desktop","justify-content","justify-content--mobile","justify-content--tablet","justify-content--laptop","justify-content--desktop","align-items","align-items--mobile","align-items--tablet","align-items--laptop","align-items--desktop","wrap","wrap--mobile","wrap--tablet","wrap--laptop","wrap--desktop","overflow-x","overflow-x--mobile","overflow-x--tablet","overflow-x--laptop","overflow-x--desktop"]}attributeChangedCallback(t,e,i){switch(t){case"gap":case"gap--mobile":case"gap--tablet":case"gap--laptop":case"gap--desktop":this.updateFlexProperties(t,e,i,K);break;case"justify-content":case"justify-content--mobile":case"justify-content--tablet":case"justify-content--laptop":case"justify-content--desktop":this.updateFlexProperties(t,e,i,zt);break;case"align-items":case"align-items--mobile":case"align-items--tablet":case"align-items--laptop":case"align-items--desktop":this.updateFlexProperties(t,e,i,$t);break;case"wrap":case"wrap--mobile":case"wrap--tablet":case"wrap--laptop":case"wrap--desktop":this.updateFlexProperties(t,e,i,St);break;case"direction":case"direction--mobile":case"direction--tablet":case"direction--laptop":case"direction--desktop":this.updateFlexProperties(t,e,i,wt);break;case"overflow-x":case"overflow-x--mobile":case"overflow-x--tablet":case"overflow-x--laptop":case"overflow-x--desktop":this.updateOverflowX(t,e,i,Ct);break;default:super.attributeChangedCallback(t,e,i)}}updateOverflowX(t,e,i,r){tt(r,i)?this.overflowXAttributeDelegate.attributeChangedCallback(t,e,i):this.tagName.toLowerCase()}updateFlexProperties(t,e,i,r){this.checkName(r,i)||this.tagName.toLowerCase();const o=t.indexOf("--")>-1,a=o?t.split("--")[0]:t,n=[];if(o){const o=t.split("--")[1];this.updateStyle(a,o,e,r),this.updateStyle(a,o,i,r)}else this.getAttribute(a+"--mobile")||n.push("mobile"),this.getAttribute(a+"--tablet")||n.push("tablet"),this.getAttribute(a+"--laptop")||n.push("laptop"),this.getAttribute(a+"--desktop")||n.push("desktop"),n.forEach(t=>{this.updateStyle(a,t,e,r),this.updateStyle(a,t,i,r)})}updateStyle(t,e,i,r){i&&("gap"===t&&r&&r.includes(i)?this.$el.style.setProperty(`--flex-${t}--${e}-value`,`var(--px-spacing-${i}-${"laptop"===e?"desktop":e})`):this.$el.style.setProperty(`--flex-${t}--${e}-value`,i))}get direction(){return this.getAttribute("direction")}set direction(t){this.setAttribute("direction",t)}get directionMobile(){return this.getAttribute("direction--mobile")}set directionMobile(t){this.setAttribute("direction--mobile",t)}get directionTablet(){return this.getAttribute("direction--tablet")}set directionTablet(t){this.setAttribute("direction--tablet",t)}get directionLaptop(){return this.getAttribute("direction--laptop")}set directionLaptop(t){this.setAttribute("direction--laptop",t)}get directionDesktop(){return this.getAttribute("direction--desktop")}set directionDesktop(t){this.setAttribute("direction--desktop",t)}get gap(){return this.getAttribute("gap")}set gap(t){this.setAttribute("gap",t)}get gapMobile(){return this.getAttribute("gap--mobile")}set gapMobile(t){this.setAttribute("gap--mobile",t)}get gapTablet(){return this.getAttribute("gap--tablet")}set gapTablet(t){this.setAttribute("gap--tablet",t)}get gapLaptop(){return this.getAttribute("gap--laptop")}set gapLaptop(t){this.setAttribute("gap--laptop",t)}get gapDesktop(){return this.getAttribute("gap--desktop")}set gapDesktop(t){this.setAttribute("gap--desktop",t)}get justifyContent(){return this.getAttribute("justify-content")}set justifyContent(t){this.setAttribute("justify-content",t)}get justifyContentMobile(){return this.getAttribute("justify-content--mobile")}set justifyContentMobile(t){this.setAttribute("justify-content--mobile",t)}get justifyContentTablet(){return this.getAttribute("justify-content--tablet")}set justifyContentTablet(t){this.setAttribute("justify-content--tablet",t)}get justifyContentLaptop(){return this.getAttribute("justify-content--laptop")}set justifyContentLaptop(t){this.setAttribute("justify-content--laptop",t)}get justifyContentDesktop(){return this.getAttribute("justify-content--desktop")}set justifyContentDesktop(t){this.setAttribute("justify-content--desktop",t)}get alignItems(){return this.getAttribute("align-items")}set alignItems(t){this.setAttribute("align-items",t)}get alignItemsMobile(){return this.getAttribute("align-items--mobile")}set alignItemsMobile(t){this.setAttribute("align-items--mobile",t)}get alignItemsTablet(){return this.getAttribute("align-items--tablet")}set alignItemsTablet(t){this.setAttribute("align-items--tablet",t)}get alignItemsLaptop(){return this.getAttribute("align-items--laptop")}set alignItemsLaptop(t){this.setAttribute("align-items--laptop",t)}get alignItemsDesktop(){return this.getAttribute("align-items--desktop")}set alignItemsDesktop(t){this.setAttribute("align-items--desktop",t)}get wrap(){return this.getAttribute("wrap")}set wrap(t){this.setAttribute("wrap",t)}get wrapMobile(){return this.getAttribute("wrap--mobile")}set wrapMobile(t){this.setAttribute("wrap--mobile",t)}get wrapTablet(){return this.getAttribute("wrap--tablet")}set wrapTablet(t){this.setAttribute("wrap--tablet",t)}get wrapLaptop(){return this.getAttribute("wrap--laptop")}set wrapLaptop(t){this.setAttribute("wrap--laptop",t)}get wrapDesktop(){return this.getAttribute("wrap--desktop")}set wrapDesktop(t){this.setAttribute("wrap--desktop",t)}get overflowX(){return this.getAttribute("overflow-x")}set overflowX(t){this.setAttribute("overflow-x",t)}get overflowXMobile(){return this.getAttribute("overflow-x--mobile")}set overflowXMobile(t){this.setAttribute("overflow-x--mobile",t)}get overflowXTablet(){return this.getAttribute("overflow-x--tablet")}set overflowXTablet(t){this.setAttribute("overflow-x--tablet",t)}get overflowXLaptop(){return this.getAttribute("overflow-x--laptop")}set overflowXLaptop(t){this.setAttribute("overflow-x--laptop",t)}get overflowXDesktop(){return this.getAttribute("overflow-x--desktop")}set overflowXDesktop(t){this.setAttribute("overflow-x--desktop",t)}get $el(){return this.shadowRoot.querySelector(".flex-container")}}customElements.get("px-stack")||customElements.define("px-stack",jt);class Lt extends jt{constructor(){super()}connectedCallback(){super.connectedCallback(),this.direction="column",this.directionMobile="column",this.directionTablet="column",this.directionLaptop="column",this.directionDesktop="column"}}customElements.get("px-vstack")||customElements.define("px-vstack",Lt);class Tt extends jt{constructor(){super()}connectedCallback(){super.connectedCallback(),this.direction="row",this.directionMobile="row",this.directionTablet="row",this.directionLaptop="row",this.directionDesktop="row"}}customElements.get("px-hstack")||customElements.define("px-hstack",Tt);class Mt extends HTMLElement{constructor(){super(),this.isZeroSized=!1,this.growValue="1",this.isVertical=!1}static get observedAttributes(){return["grow","nogap"]}attributeChangedCallback(t,e,i){"grow"===t&&(this.growValue=i||"1",this.isZeroSized||(this.style.flexGrow=this.growValue),this.scheduleRecheck())}connectedCallback(){this.growValue=this.getAttribute("grow")||"1",this.style.flexGrow=this.growValue,this.nogap&&(this.resizeObserver=new ResizeObserver(()=>{this.handleSizeChange()}),this.isVertical="px-vstack"===this.parentElement.localName||"column"===this.parentElement.style.flexDirection,this.resizeObserver.observe(this),this.scheduleRecheck())}disconnectedCallback(){var t;null==(t=this.resizeObserver)||t.disconnect(),this.recheckHandle&&(cancelAnimationFrame(this.recheckHandle),this.recheckHandle=void 0)}get grow(){return this.getAttribute("grow")}set grow(t){this.setAttribute("grow",t)}scheduleRecheck(){this.recheckHandle&&cancelAnimationFrame(this.recheckHandle),this.recheckHandle=requestAnimationFrame(()=>{this.recheckHandle=void 0,this.recalculateVisibility()})}recalculateVisibility(){this.isConnected&&(this.style.display="",this.style.flexGrow=this.growValue,this.handleSizeChange())}handleSizeChange(){const t=this.getBoundingClientRect(),e=0===t.width&&!this.isVertical||0===t.height&&this.isVertical;this.isZeroSized!==e&&(this.isZeroSized=e,this.updateParticipation())}updateParticipation(){this.isZeroSized?(this.style.display="none",this.style.flexGrow="0"):(this.style.display="",this.style.flexGrow=this.growValue)}get nogap(){return this.hasAttribute("nogap")}set nogap(t){t?this.setAttribute("nogap",""):this.removeAttribute("nogap")}}customElements.get("px-spacer")||customElements.define("px-spacer",Mt);const Nt=new CSSStyleSheet;Nt.replaceSync(":host{display:block;box-sizing:border-box}slot[name=body-container]{min-height:100vh}#image-sticky-box{margin-top:-2.5em}");class Et extends j{constructor(){super(Nt),this.template=t=>`\n <px-container border-radius="none" padding="none">\n <px-vstack>\n <px-container id="header-container" border-radius="none">\n <px-hstack>\n <px-spacer></px-spacer>\n <px-vstack\n id="header-vstack-container"\n gap="s"\n grow="${this.grow}"\n basis="${this.basis}"\n >\n <slot name="header-container"></slot>\n </px-vstack>\n <px-spacer></px-spacer>\n </px-hstack>\n </px-container>\n <px-container\n id="image-container"\n border-radius="none"\n padding="none"\n padding-top="xl"\n id="image-box"\n background-size="cover"\n background-position="top center"\n padding-bottom="xl"\n border-radius="none"\n bgimg="${this.backgroundImage}"\n >\n <px-hstack>\n <px-spacer></px-spacer>\n <px-vstack grow="${this.grow}" basis="${this.basis}">\n <slot name="image-container"></slot>\n </px-vstack>\n <px-spacer></px-spacer>\n </px-hstack>\n </px-container>\n ${t?` <px-hstack>\n <px-spacer></px-spacer>\n <px-container border-radius="none" box-shadow="xl" id="image-sticky-box" border="s" grow="${this.grow}" basis="${this.basis}" border-radius="m">\n <px-vstack gap="s">\n <slot name="image-sticky-container"></slot>\n </px-vstack>\n </px-container>\n <px-spacer></px-spacer>\n </px-hstack>`:""}\n <px-container\n id="body-container"\n id="main"\n background-color="${this.backgroundColor}"\n padding="none"\n padding-top="xl"\n padding-bottom="xl"\n >\n <px-hstack>\n <px-spacer></px-spacer>\n <px-vstack\n id="body-vstack-container"\n gap="l"\n grow="${this.grow}"\n basis="${this.basis}"\n >\n <slot name="body-container"></slot>\n </px-vstack>\n <px-spacer></px-spacer>\n </px-hstack>\n </px-container>\n <px-container\n id="contact-container"\n border-radius="none"\n id="main"\n background-color="surface-default"\n padding="none"\n padding-top="xl"\n padding-bottom="xl"\n >\n <px-hstack>\n <px-spacer></px-spacer>\n <px-vstack gap="l" grow="${this.grow}" basis="${this.basis}">\n <slot name="contact-container"></slot>\n </px-vstack>\n <px-spacer></px-spacer>\n </px-hstack>\n </px-container>\n <px-container\n id="footer-container"\n background-color="none"\n border-radius="none"\n style="background-color: rgb(108, 66, 156)"\n padding-top="xl"\n padding-bottom="xl"\n >\n <px-hstack>\n <px-spacer></px-spacer>\n <px-vstack gap="l" grow="${this.grow}" basis="${this.basis}">\n <slot name="footer-container"></slot>\n </px-vstack>\n <px-spacer></px-spacer>\n </px-hstack>\n </px-container>\n </px-vstack>\n </px-container>\n `,this.shadowRoot.innerHTML=this.template(!!this.$imageStickySlot)}static get observedAttributes(){return[...super.observedAttributes,"background-image","gap","background-color","padding-vertical","padding-horizontal"]}get $wideImage(){return this.shadowRoot.querySelector("#image-box")}get $bodyVStackContainer(){return this.shadowRoot.querySelector("#header-vstack-container")}get $bodyContainer(){return this.shadowRoot.querySelector("#body-container")}get $contactContainer(){return this.shadowRoot.querySelector("#contact-container")}get $footerContainer(){return this.shadowRoot.querySelector("#footer-container")}get $headerContainer(){return this.shadowRoot.querySelector("#header-container")}get $imageContainer(){return this.shadowRoot.querySelector("#image-container")}get backgroundImage(){return this.getAttribute("background-image")}get $imageStickySlot(){return this.querySelector('*[slot="image-sticky-container"]')}get $main(){return this.shadowRoot.querySelector("#main")}get backgroundColor(){return this.getAttribute("background-color")||"none"}get paddingVertical(){return this.getAttribute("padding-vertical")}get paddingHorizontal(){return this.getAttribute("padding-horizontal")}set paddingVertical(t){this.setAttribute("padding-vertical",t)}set paddingHorizontal(t){this.setAttribute("padding-horizontal",t)}get gap(){return this.getAttribute("gap")}connectedCallback(){this.handlePaddingVerticalChange(this.paddingVertical),this.handlePaddingHorizontalChange(this.paddingHorizontal)}attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"background-image":this.$imageContainer.setAttribute("background-image",i);break;case"gap":this.$bodyVStackContainer.setAttribute("gap",i);break;case"background-color":this.$bodyContainer.setAttribute("background-color",X.indexOf(i)>0?i:"none");break;case"padding-vertical":this.handlePaddingVerticalChange(i);break;case"padding-horizontal":this.handlePaddingHorizontalChange(i);break;default:super.attributeChangedCallback(t,e,i)}}handlePaddingVerticalChange(t){this.$headerContainer.setAttribute("padding-top",t),this.$footerContainer.setAttribute("padding-bottom",t)}handlePaddingHorizontalChange(t){this.$headerContainer.paddingLeft=t,this.$headerContainer.paddingRight=t,this.$bodyContainer.paddingLeft=t,this.$bodyContainer.paddingRight=t,this.$contactContainer.paddingLeft=t,this.$contactContainer.paddingRight=t,this.$footerContainer.paddingLeft=t,this.$footerContainer.paddingRight=t,this.$imageContainer.paddingLeft=t,this.$imageContainer.paddingRight=t}}void 0===customElements.get("px-page")&&customElements.define("px-page",Et);class It extends HTMLElement{constructor(){super()}static get observedAttributes(){return["name","src","type","format"]}connectedCallback(){if(document.querySelectorAll(`px-icon-set[name="${this.getAttribute("name")}"]`).length>1&&(console.warn("Only one <px-icon-set> component is allowed, self removing"),this.remove()),"font"===this.getAttribute("type")){const t=document.createElement("style");t.setAttribute("type","text/css"),t.setAttribute("data-name",this.getAttribute("name")),t.textContent=`\n@font-face {\n font-family: 'lavender';\n src:\n url('${this.getAttribute("src")}') format(${this.getAttribute("format")}),\n font-weight: normal;\n font-style: normal;\n font-display: block;\n}\n `,document.head.appendChild(t)}}disconnectedCallback(){const t=document.querySelector(`style[data-name="${this.getAttribute("name")}"]`);t&&t.remove()}}customElements.get("px-icon-set")||customElements.define("px-icon-set",It);const Dt=["Inherit","Brand","Accent","Neutral","Dimmed","PurposeSuccess","PurposeWarning","PurposeError","PurposeUnlimited","PurposePromo","StateHover","StateActive","StateDisabled"].map(t=>t.replace(/([A-Z])/g,"-$1").toLowerCase().slice(1)),Pt=new CSSStyleSheet;Pt.replaceSync(":host{display:inline-flex;flex-direction:column;justify-content:center}svg{font-size:var(--px-size-icon-s);line-height:var(--px-font-line-height-xs);width:1em;height:1em;color:var(--px-color-icon-accent-default)}.inherit{color:inherit}.brand{color:var(--px-color-icon-brand-default)}.accent{color:var(--px-color-icon-accent-default)}.neutral{color:var(--px-color-icon-neutral-default)}.dimmed{color:var(--px-color-icon-dimmed-default)}.purpose-success{color:var(--px-color-icon-purpose-success-default)}.purpose-warning{color:var(--px-color-icon-purpose-warning-default)}.purpose-error{color:var(--px-color-icon-purpose-error-default)}.purpose-unlimited{color:var(--px-color-icon-purpose-unlimited-default)}.purpose-promo{color:var(--px-color-icon-purpose-promo-default)}.state-hover:hover{color:var(--px-color-icon-state-hover-default)}.state-active:active{color:var(--px-color-icon-state-active-default)}.state-disabled{color:var(--px-color-icon-state-disabled-default)}:host([inverted]) svg{color:var(--px-color-icon-accent-inverted)}:host([inverted]) .inherit{color:inherit}:host([inverted]) .brand{color:var(--px-color-icon-brand-inverted)}:host([inverted]) .accent{color:var(--px-color-icon-accent-inverted)}:host([inverted]) .neutral{color:var(--px-color-icon-neutral-inverted)}:host([inverted]) .dimmed{color:var(--px-color-icon-dimmed-inverted)}:host([inverted]) .purpose-success{color:var(--px-color-icon-purpose-success-inverted)}:host([inverted]) .purpose-warning{color:var(--px-color-icon-purpose-warning-inverted)}:host([inverted]) .purpose-error{color:var(--px-color-icon-purpose-error-inverted)}:host([inverted]) .purpose-unlimited{color:var(--px-color-icon-purpose-unlimited-inverted)}:host([inverted]) .purpose-promo{color:var(--px-color-icon-purpose-promo-inverted)}:host([inverted]) .state-hover:hover{color:var(--px-color-icon-state-hover-inverted)}:host([inverted]) .state-active:active{color:var(--px-color-icon-state-active-inverted)}:host([inverted]) .state-disabled{color:var(--px-color-icon-state-disabled-inverted)}.size-xs{font-size:var(--px-size-icon-xs)}.size-s{font-size:var(--px-size-icon-s)}.size-m{font-size:var(--px-size-icon-m)}.size-l{font-size:var(--px-size-icon-l)}.size-xl{font-size:var(--px-size-icon-xl)}");const Rt=["name","size","color","aria-label","inverted","from","disabled"];class Bt extends j{constructor(...r){var o;super(...r,Pt),x(this,t),x(this,e),x(this,i,()=>'<svg aria-hidden="true">\n <use xlink:href=""></use>\n </svg>'),this.shadowRoot.innerHTML=m(this,i).call(this),v(this,e,null==(o=this.attachInternals)?void 0:o.call(this)),m(this,e)&&(m(this,e).role="img")}static get observedAttributes(){return[...super.observedAttributes,...Rt]}attributeChangedCallback(t,i,r){if(i!==r)switch(t){case"name":this.updateName(i,r);break;case"size":this.updateAttribute(t,i,r,O);break;case"color":this.updateAttribute(t,i,r,Dt);break;case"disabled":this.color="state-disabled";break;case"aria-label":if(!m(this,e))return;r?(m(this,e).ariaHidden="false",this.ariaHidden="false"):(m(this,e).ariaHidden="true",this.ariaHidden="true")}}connectedCallback(){this.role="img",this.name&&this.$el.firstElementChild.setAttribute("xlink:href",`#icon-${this.name}`);const i=document.querySelectorAll("px-icon-set");i||console.log("<px-icon-set> component not found");for(const e of i)e.getAttribute("name")&&e.getAttribute("src")?e.getAttribute("name")===this.from&&"font"!==e.getAttribute("type")&&(v(this,t,e.getAttribute("src")),this.$el.firstElementChild.setAttribute("xlink:href",`${m(this,t)}#icon-${this.name}`)):console.error("Icon name or src not found");!this.ariaLabel&&m(this,e)&&(m(this,e).ariaHidden="true",this.ariaHidden="true")}updateAttribute(t,e,i,r){null!==e&&""!==e&&("size"===t?this.$el.classList.toggle(`${t}-${e}`):this.$el.classList.toggle(e)),null!==i&&""!==i&&("size"===t?this.$el.classList.toggle(`${t}-${i}`):this.$el.classList.toggle(i)),this.checkName(r,i)||this.tagName.toLowerCase()}updateName(e,i){m(this,t)&&this.$el.firstElementChild.setAttribute("xlink:href",`${m(this,t)}#icon-${i}`)}get $el(){return this.shadowRoot.querySelector("svg")}get name(){return this.getAttribute("name")}set name(t){this.setAttribute("name",t)}get size(){return this.getAttribute("size")}set size(t){this.setAttribute("size",t)}get color(){return this.getAttribute("color")}set color(t){this.setAttribute("color",t)}get arialabel(){return this.getAttribute("aria-label")}set arialabel(t){this.setAttribute("aria-label",t)}get inverted(){return this.getAttribute("inverted")}set inverted(t){this.setAttribute("inverted",t)}get from(){return this.getAttribute("from")}set from(t){this.setAttribute("from",t)}get disabled(){return this.getAttribute("disabled")}set disabled(t){this.setAttribute("disabled",t)}}t=new WeakMap,e=new WeakMap,i=new WeakMap,customElements.get("px-icon")||customElements.define("px-icon",Bt);const qt=".color-inherit{color:inherit!important}.color-brand{color:var(--px-color-text-brand-default)!important}.color-neutral{color:var(--px-color-text-neutral-default)!important}.color-dimmed{color:var(--px-color-text-dimmed-default)!important}.color-purpose-success{color:var(--px-color-text-purpose-success-default)!important}.color-purpose-warning{color:var(--px-color-text-purpose-warning-default)!important}.color-purpose-error{color:var(--px-color-text-purpose-error-default)!important}.color-purpose-unlimited{color:var(--px-color-text-purpose-unlimited-default)!important}.color-purpose-promo{color:var(--px-color-text-purpose-promo-default)!important}.color-state-hover{color:var(--px-color-text-state-hover-default)!important}.color-state-active{color:var(--px-color-text-state-active-default)!important}.color-state-disabled{color:var(--px-color-text-state-disabled-default)!important}:host([inverted]) .color-inherit{color:inherit!important}:host([inverted]) .color-brand{color:var(--px-color-text-brand-inverted)!important}:host([inverted]) .color-neutral{color:var(--px-color-text-neutral-inverted)!important}:host([inverted]) .color-dimmed{color:var(--px-color-text-dimmed-inverted)!important}:host([inverted]) .color-purpose-success{color:var(--px-color-text-purpose-success-inverted)!important}:host([inverted]) .color-purpose-warning{color:var(--px-color-text-purpose-warning-inverted)!important}:host([inverted]) .color-purpose-error{color:var(--px-color-text-purpose-error-inverted)!important}:host([inverted]) .color-purpose-unlimited{color:var(--px-color-text-purpose-unlimited-inverted)!important}:host([inverted]) .color-purpose-promo{color:var(--px-color-text-purpose-promo-inverted)!important}:host([inverted]) .color-state-hover{color:var(--px-color-text-state-hover-inverted)!important}:host([inverted]) .color-state-active{color:var(--px-color-text-state-active-inverted)!important}:host([inverted]) .color-state-disabled{color:var(--px-color-text-state-disabled-inverted)!important}.font-size-inherit{font-size:inherit;line-height:inherit}.font-size-body-l{font-size:var(--px-text-size-body-l-mobile)}.font-size-body-m{font-size:var(--px-text-size-body-m-mobile)}.font-size-body-s{font-size:var(--px-text-size-body-s-mobile)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-mobile)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-mobile)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-mobile)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-mobile)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-mobile)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-mobile)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-mobile)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-mobile)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-mobile)}.font-size-heading-3xl,.font-size-heading-4xl,.font-size-heading-5xl{line-height:var(--px-line-height-ratio-s)}.font-size-link-m{font-size:var(--px-text-size-link-m-mobile)}.font-size-link-s{font-size:var(--px-text-size-link-s-mobile)}@media only screen and (min-width: 48em){.font-size-body-l{font-size:var(--px-text-size-body-l-desktop)}.font-size-body-m{font-size:var(--px-text-size-body-m-desktop)}.font-size-body-s{font-size:var(--px-text-size-body-s-desktop)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-desktop)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-desktop)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-desktop)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-desktop)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-desktop)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-desktop)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-desktop)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-desktop)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-desktop)}.font-size-link-m{font-size:var(--px-text-size-link-m-desktop)}.font-size-link-s{font-size:var(--px-text-size-link-s-desktop)}}@media only screen and (min-width: 64.0625em){.font-size-body-l{font-size:var(--px-text-size-body-l-desktop)}.font-size-body-m{font-size:var(--px-text-size-body-m-desktop)}.font-size-body-s{font-size:var(--px-text-size-body-s-desktop)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-desktop)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-desktop)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-desktop)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-desktop)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-desktop)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-desktop)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-desktop)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-desktop)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-desktop)}.font-size-link-m{font-size:var(--px-text-size-link-m-desktop)}.font-size-link-s{font-size:var(--px-text-size-link-s-desktop)}}.font-weight-inherit{font-weight:inherit}.font-weight-body{font-weight:var(--px-font-weight-body)}.font-weight-title{font-weight:var(--px-font-weight-title)}.font-weight-title-large{font-weight:var(--px-font-weight-title-large)}.font-weight-subtitle{font-weight:var(--px-font-weight-subtitle)}",Ot=new CSSStyleSheet;Ot.replaceSync(y);const Ht=new CSSStyleSheet;Ht.replaceSync(qt);class Vt extends T{template(){return"<slot></slot>"}constructor(t){super(Ot,Ht);const e=document.createElement(t);e.innerHTML=this.template(),this.shadowRoot.appendChild(e)}static get observedAttributes(){return[...super.observedAttributes,"variant","color","text-align","text-align--mobile","text-align--tablet","text-align--laptop","text-align--desktop","inverted"]}attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"variant":this.updateAttribute(t,e,i,Y);break;case"color":this.updateColor(e,i,B);break;case"text-align":case"text-align--mobile":case"text-align--tablet":case"text-align--laptop":case"text-align--desktop":this.updateTextAlign(t,e,i,H);break;default:super.attributeChangedCallback(t,e,i)}}toggleClass(t,e){null!==t&&""!==t&&"default"!==t&&this.$el.classList.toggle(`style-${t}`),null!==e&&""!==e&&"default"!==e&&this.$el.classList.toggle(`style-${e}`)}updateAttribute(t,e,i,r){this.checkName(r,i)?this.toggleClass(e,i):this.tagName.toLowerCase()}updateColor(t,e,i){if(!this.checkName(i,e))return void this.tagName.toLowerCase();const r=t=>{null!==t&&""!==t&&"default"!==t&&(this.$el.style.setProperty("--heading-color-default",`var(--px-color-text-${t}-default)`),this.$el.style.setProperty("--heading-color-inverted",`var(--px-color-text-${t}-inverted)`))};r(t),r(e)}updateTextAlign(t,e,i,r){if(!this.checkName(r,i))return void this.tagName.toLowerCase();const o=(t,e)=>{null!==e&&""!==e&&"default"!==e&&this.$el.style.setProperty(`--heading-text-align--${t}`,e)};if("text-align"===t)["mobile","tablet","laptop","desktop"].forEach(t=>{o(t,e),o(t,i)});else{const r=t.split("--")[1];o(r,e),o(r,i)}}get variant(){return this.getAttribute("variant")}set variant(t){this.setAttribute("variant",t)}get color(){return this.getAttribute("color")}set color(t){this.setAttribute("color",t)}get textAlign(){return this.getAttribute("text-align")}set textAlign(t){this.setAttribute("text-align",t)}get textAlignMobile(){return this.getAttribute("text-align--mobile")}set textAlignMobile(t){this.setAttribute("text-align--mobile",t)}get textAlignTablet(){return this.getAttribute("text-align--tablet")}set textAlignTablet(t){this.setAttribute("text-align--tablet",t)}get textAlignLaptop(){return this.getAttribute("text-align--laptop")}set textAlignLaptop(t){this.setAttribute("text-align--laptop",t)}get textAlignDesktop(){return this.getAttribute("text-align--desktop")}set textAlignDesktop(t){this.setAttribute("text-align--desktop",t)}get inverted(){return this.getAttribute("inverted")}set inverted(t){this.setAttribute("inverted",t)}}const _t=class extends Vt{constructor(){super("h1")}};_t.nativeName="h1";let Gt=_t;customElements.get("px-h1")||customElements.define("px-h1",Gt);const Ft=class extends Vt{constructor(){super("h2")}};Ft.nativeName="h2";let Wt=Ft;customElements.get("px-h2")||customElements.define("px-h2",Wt);const Xt=class extends Vt{constructor(){super("h3")}};Xt.nativeName="h3";let Zt=Xt;customElements.get("px-h3")||customElements.define("px-h3",Zt);const Ut=class extends Vt{constructor(){super("h4")}};Ut.nativeName="h4";let Yt=Ut;customElements.get("px-h4")||customElements.define("px-h4",Yt);const Jt=class extends Vt{constructor(){super("h5")}};Jt.nativeName="h5";let Kt=Jt;customElements.get("px-h5")||customElements.define("px-h5",Kt);const Qt=class extends Vt{constructor(){super("h6")}};Qt.nativeName="h6";let te=Qt;customElements.get("px-h6")||customElements.define("px-h6",te);const ee=new CSSStyleSheet,ie=new CSSStyleSheet,re=new CSSStyleSheet;ee.replaceSync(w),ie.replaceSync(qt),re.replaceSync(y);const oe=class extends T{constructor(){super(ie,re,ee),this.template="<p><slot></slot></p>",this.shadowRoot.innerHTML=this.template}static get observedAttributes(){return[...super.observedAttributes,"variant","color","font-size","font-weight","text-align","text-align--mobile","text-align--tablet","text-align--laptop","inverted","disabled"]}attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"variant":this.updateVariant(t,e,i,Y);break;case"color":this.updateTypography(t,e,i,B);break;case"font-size":this.updateTypography(t,e,i,R);break;case"font-weight":this.updateTypography(t,e,i,q);break;case"text-align":case"text-align--mobile":case"text-align--tablet":case"text-align--laptop":this.updateTypography(t,e,i,H);break;case"disabled":this.color="state-disabled";break;default:super.attributeChangedCallback(t,e,i)}}toggleClass(t,e){null!==t&&""!==t&&"default"!==t&&this.$el.classList.toggle(`style-${t}`),null!==e&&""!==e&&"default"!==e&&this.$el.classList.toggle(`style-${e}`)}updateVariant(t,e,i,r){this.checkName(r,i)?this.toggleClass(e,i):this.tagName.toLowerCase()}updateTypography(t,e,i,r){if(this.checkName(r,i)){const r=this.splitAttrNameFromBreakpoint(t),o=r.breakpoint;null!==e&&""!==e&&this.$el.classList.toggle(`${r.attrName}-${e}${o}`),null!==i&&""!==i&&this.$el.classList.toggle(`${r.attrName}-${i}${o}`)}else this.tagName.toLowerCase()}splitAttrNameFromBreakpoint(t){let e="";if(["--mobile","--tablet","--laptop"].some(e=>t.includes(e))){const i=t.split("--");t=i[0],e=`--${i[1]}`}return{attrName:t,breakpoint:e}}get variant(){return this.getAttribute("variant")}set variant(t){this.setAttribute("variant",t)}get color(){return this.getAttribute("color")}set color(t){this.setAttribute("color",t)}get fontSize(){return this.getAttribute("font-size")}set fontSize(t){this.setAttribute("font-size",t)}get fontWeight(){return this.getAttribute("font-weight")}set fontWeight(t){this.setAttribute("font-weight",t)}get textAlign(){return this.getAttribute("text-align")}set textAlign(t){this.setAttribute("text-align",t)}get textAlignMobile(){return this.getAttribute("text-align--mobile")}set textAlignMobile(t){this.setAttribute("text-align--mobile",t)}get textAlignTablet(){return this.getAttribute("text-align--tablet")}set textAlignTablet(t){this.setAttribute("text-align--tablet",t)}get textAlignLaptop(){return this.getAttribute("text-align--laptop")}set textAlignLaptop(t){this.setAttribute("text-align--laptop",t)}get inverted(){return this.getAttribute("inverted")}set inverted(t){this.setAttribute("inverted",t)}get disabled(){return this.getAttribute("disabled")}set disabled(t){this.setAttribute("disabled",t)}};oe.nativeName="p";let ae=oe;customElements.get("px-p")||customElements.define("px-p",ae);const ne=new CSSStyleSheet;ne.replaceSync("*{box-sizing:border-box}#container{display:flex;flex-wrap:nowrap;font-family:var(--px-font-family);font-size:var(--px-font-size-base);color:var(--px-color-text-neutral-default);width:1080px;border-radius:var(--px-radius-main);background-color:var(--px-color-background-surface-default);overflow:hidden}#container.info{border-left:5px var(--px-color-icon-brand-default) solid}#container.success{border-left:5px var(--px-color-icon-purpose-success-default) solid}#container.warning{border-left:5px var(--px-color-icon-purpose-warning-default) solid}#container.error{border-left:5px var(--px-color-icon-purpose-error-default) solid}#content-container{padding:var(--px-padding-m-mobile);flex-grow:1}#media-container{display:none}::slotted(px-button-icon){position:absolute;top:var(--px-padding-m-desktop);right:var(--px-padding-m-desktop)}dialog{background:transparent;border-radius:0;box-shadow:none;padding:0;border:0;box-sizing:border-box;transform:scale(.95);animation:modalIn .3s ease-out forwards}::backdrop{background:#0000004d;-webkit-backdrop-filter:saturate(180%) blur(15px);backdrop-filter:saturate(180%) blur(15px)}#content{max-height:12.5em;overflow:auto}@media screen and (max-width: 1081px){#container{width:inherit}#content-container{padding:var(--px-padding-m-mobile)}::slotted(px-button-icon){top:var(--px-padding-m-mobile);right:var(--px-padding-m-mobile)}}@media only screen and (min-width: 48em){::slotted(px-button-icon){position:absolute;top:var(--px-padding-m-tablet);right:var(--px-padding-m-tablet)}#content{max-height:25em}}@media only screen and (min-width: 64.0625em){:host([media-src]) #media-container{display:block;background-size:cover;background-position:center center;background-repeat:no-repeat;flex-basis:25em;flex-shrink:0}}@keyframes modalIn{0%{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}");class se extends HTMLElement{constructor(){super(),this.template=' <dialog>\n <div id="container">\n <div id="content-container">\n <px-vstack gap="default" >\n <px-hstack id="icon-container" gap="s" align-items="flex-start">\n <px-vstack gap="s">\n <px-h1 variant="title-l">\n <slot name="title"></slot>\n </px-h1>\n <px-p font-weight="title">\n <slot name="description"></slot>\n </px-p>\n </px-vstack>\n </px-hstack>\n <div id="content">\n <slot></slot>\n </div>\n <px-separator size="m"></px-separator>\n <px-stack\n gap="s"\n justify-content="flex-end"\n align-items="center"\n align-items--mobile="stretch"\n direction="row"\n direction--mobile="column-reverse"\n >\n <slot name="footer"></slot>\n </px-stack>\n </px-vstack>\n <slot name="close-button"></slot>\n </div>\n <div id="media-container">\n </div>\n </div>\n </dialog>',this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=this.template,this.shadowRoot.adoptedStyleSheets=[ne]}connectedCallback(){if(this.hasAttribute("open")&&this.show(),this.hasAttribute("closedby")){const t=document.querySelector(`#${this.getAttribute("closedby")}`);null==t||t.addEventListener("click",()=>{this.close()})}if(this.hasAttribute("openedby")){const t=document.querySelector(`px-button#${this.getAttribute("openedby")}`);null==t||t.addEventListener("click",()=>{this.show()})}this.hasAttribute("media-src")&&this.updateMediaSrc(this.getAttribute("media-src"))}static get observedAttributes(){return["open","status","media-src"]}attributeChangedCallback(t,e,i){switch(t){case"open":this.handleOpenChange();break;case"status":this.handleStatusChange(e,i);break;case"media-src":this.updateMediaSrc(i)}}handleOpenChange(){this.hasAttribute("open")?this.show():this.close()}handleStatusChange(t,e){var i,r,o;if("info"===e?this.$container.classList.add("info"):this.$container.classList.remove("info"),"success"===e?this.$container.classList.add("success"):this.$container.classList.remove("success"),"error"===e?this.$container.classList.add("error"):this.$container.classList.remove("error"),"warning"===e?this.$container.classList.add("warning"):this.$container.classList.remove("warning"),null===e&&this.$statusIcon)null==(i=this.$statusIcon)||i.remove();else if(null===t&&e&&!this.$statusIcon){const t=document.createElement("px-icon");t.setAttribute("name",this.getIcon(e)),t.setAttribute("from","lavender"),t.setAttribute("color",`purpose-${e}`),t.setAttribute("size","l"),this.$iconContainer.prepend(t)}else null==(r=this.$statusIcon)||r.setAttribute("name",this.getIcon(e)),null==(o=this.$statusIcon)||o.setAttribute("color",`purpose-${e}`)}getIcon(t){return"success"===t?"checkmark_fill":"warning"===t?"exclamation_mark_fill":"error"===t?"minus_fill":"information_fill"}show(){this.$dialog.showModal()}close(){this.$dialog.close(),this.dispatchEvent(new CustomEvent("px.lavender.modal.close",{bubbles:!0,composed:!0}))}updateMediaSrc(t){this.$mediaContainer.style.backgroundImage=`url(${t})`}get status(){return this.getAttribute("status")}set status(t){this.setAttribute("status",t)}get $closeButton(){return this.shadowRoot.querySelector("px-button-icon")}get $statusIcon(){return this.$iconContainer.querySelector("#icon-container > px-icon")}get $mediaContainer(){return this.shadowRoot.querySelector("#media-container")}get mediaSrc(){return this.getAttribute("media-src")}set mediaSrc(t){null===t?this.removeAttribute("media-src"):this.setAttribute("media-src",t)}get $container(){return this.shadowRoot.querySelector("#container")}get $iconContainer(){return this.shadowRoot.querySelector("#icon-container")}get $dialog(){return this.shadowRoot.querySelector("dialog")}get open(){return this.$dialog.open}}customElements.get("px-modal")||customElements.define("px-modal",se);const le=".btn{width:var(--button-extended--mobile, var(--button-extended, auto));display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-title);text-align:center;gap:var(--px-spacing-2xs-mobile);cursor:pointer;text-decoration:none;--btn-transition: all .2s ease-in-out 0s;transition:var(--btn-transition);border:var(--px-size-border-m) solid transparent}.btn,.btn *{box-sizing:border-box}.btn ::slotted(px-icon){line-height:0}.btn:hover:not([disabled],[aria-disabled=true],.loading){border-color:var(--px-color-border-state-hover-default)}.btn:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}.btn:active:not([disabled],[aria-disabled=true],.loading){transform:scale(.95);border-color:var(--px-color-border-state-active-default);color:var(--px-color-text-state-active-default);background:var(--px-color-background-state-hover-bordered-default)}.btn[disabled],.btn[aria-disabled=true]{cursor:default;pointer-events:none}.btn.loading{cursor:inherit}.btn.loading ::slotted(px-spinner){line-height:0}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-container-primary-default);min-height:var(--px-spacing-l-mobile);padding:var(--px-padding-xs-mobile) var(--px-padding-m-mobile);border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot=\"after\"]){margin-right:calc(var(--px-padding-xs-mobile) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot=\"before\"]){margin-left:calc(var(--px-padding-xs-mobile) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown):hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown)[disabled],.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown)[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown).loading{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-brand-default);border-color:transparent}.btn.secondary{color:var(--px-color-text-brand-default);background:var(--px-color-background-container-secondary-default);min-height:var(--px-spacing-l-mobile);padding:var(--px-padding-xs-mobile) var(--px-padding-m-mobile);border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn.secondary:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn.secondary[disabled],.btn.secondary[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}.btn.secondary.loading{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-brand-default);border-color:transparent}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn.tertiary{background:none;color:var(--px-color-text-brand-default);border-radius:var(--px-radius-pill);border:var(--px-size-border-m) solid transparent;padding:var(--px-padding-2xs-mobile) 0;gap:var(--px-spacing-xs-mobile)}.btn.tertiary ::slotted(px-icon){display:flex;align-items:center;justify-content:center;width:var(--px-size-icon-xs);height:var(--px-size-icon-xs);padding:4px;border-radius:var(--px-radius-pill);background:var(--px-color-background-container-secondary-default);transition:var(--btn-transition)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading),.btn.tertiary:active:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-mobile) var(--px-padding-s-mobile)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon),.btn.tertiary:active:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon){background:transparent;margin:0 -8px;width:inherit;height:inherit}.btn.tertiary[disabled],.btn.tertiary[aria-disabled=true]{color:var(--px-color-text-state-disabled-default)}.btn.tertiary[disabled] ::slotted(px-icon),.btn.tertiary[aria-disabled=true] ::slotted(px-icon){background:var(--px-color-background-state-disabled-default)}.btn.tertiary.loading{color:var(--px-color-text-brand-default);border-color:transparent}.btn.tertiary.loading ::slotted(px-spinner){display:flex;align-items:center;justify-content:center;width:var(--px-size-icon-xs);height:var(--px-size-icon-xs);padding:4px;border-radius:var(--px-radius-pill);background:var(--px-color-background-state-disabled-default)}.btn.patch{display:inline-flex}.btn.patch:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn.patch[disabled],.btn.patch[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}.btn.actionable-tag{background:var(--px-color-background-container-default-inverted);color:var(--px-color-text-neutral-default);padding:var(--px-padding-2xs-mobile) var(--px-padding-xs-mobile);gap:var(--px-spacing-xs-mobile);border-radius:var(--px-radius-pill);border:var(--px-size-border-m) solid var(--px-color-border-neutral-default)}.btn.actionable-tag:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn.actionable-tag:active:not([disabled],[aria-disabled=true],.loading){background:var(--px-color-background-state-active-default);color:var(--px-color-text-state-active-inverted);border-color:var(--px-color-border-none-default)}.btn.actionable-tag[disabled],.btn.actionable-tag[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default);border-color:var(--px-color-border-none-default)}.btn.header-dropdown{display:flex;justify-content:space-between;width:100%;color:var(--px-color-text-neutral-default);font-weight:var(--px-font-weight-body);font-size:var(--px-text-size-label-l-mobile);border:var(--px-size-border-m) solid var(--px-color-border-neutral-default);padding:var(--px-padding-xs-mobile) var(--px-padding-s-mobile);border-radius:var(--px-radius-main);background-color:var(--px-color-background-container-default-default);touch-action:manipulation}.btn.header-dropdown:after{display:inline-block;content:\"\";width:var(--px-size-icon-xs);height:var(--px-size-icon-xs);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:cover;mask-size:cover;-webkit-mask-position:50% 50%;mask-position:50% 50%;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15.4753 7.37808C15.1565 7.06426 14.6396 7.06426 14.3208 7.37808L10.0001 11.6313L5.67934 7.37808C5.36055 7.06426 4.84368 7.06426 4.52488 7.37808C4.20608 7.69189 4.20608 8.20069 4.52488 8.5145L9.42284 13.3359C9.74163 13.6497 10.2585 13.6497 10.5773 13.3359L15.4753 8.5145C15.7941 8.20069 15.7941 7.69189 15.4753 7.37808Z' fill='%235C2D91'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15.4753 7.37808C15.1565 7.06426 14.6396 7.06426 14.3208 7.37808L10.0001 11.6313L5.67934 7.37808C5.36055 7.06426 4.84368 7.06426 4.52488 7.37808C4.20608 7.69189 4.20608 8.20069 4.52488 8.5145L9.42284 13.3359C9.74163 13.6497 10.2585 13.6497 10.5773 13.3359L15.4753 8.5145C15.7941 8.20069 15.7941 7.69189 15.4753 7.37808Z' fill='%235C2D91'/%3E%3C/svg%3E\");background-color:currentColor;color:var(--px-color-icon-brand-default)}button.link{background:none;border:none;text-decoration:underline;padding:0;cursor:pointer}button.link[disabled],button.link[aria-disabled=true]{cursor:default;pointer-events:none;color:var(--px-color-text-state-disabled-default)}:host([inverted]) .btn:hover:not([disabled],[aria-disabled=true],.loading){border-color:var(--px-color-border-state-hover-inverted)}:host([inverted]) .btn:focus-visible:not([disabled],[aria-disabled=true]){outline-color:var(--px-color-border-focus-outline-inverted)}:host([inverted]) .btn:active:not([disabled],[aria-disabled=true],.loading){border-color:var(--px-color-border-state-active-inverted);color:var(--px-color-text-state-active-inverted);background:var(--px-color-background-state-hover-bordered-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag){color:var(--px-color-text-brand-default);background:var(--px-color-background-container-primary-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag):hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag)[disabled],:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag)[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag).loading{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-brand-inverted);border-color:transparent}:host([inverted]) .btn.secondary{color:var(--px-color-text-brand-inverted);background:var(--px-color-background-container-secondary-inverted)}:host([inverted]) .btn.secondary:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-container-default-inverted)}:host([inverted]) .btn.secondary[disabled],:host([inverted]) .btn.secondary[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn.secondary.loading{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-brand-inverted);border-color:transparent}:host([inverted]) .btn.tertiary{color:var(--px-color-text-brand-inverted)}:host([inverted]) .btn.tertiary ::slotted(px-icon){background:var(--px-color-background-container-secondary-inverted)}:host([inverted]) .btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon),:host([inverted]) .btn.tertiary:active:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon){background:transparent}:host([inverted]) .btn.tertiary[disabled],:host([inverted]) .btn.tertiary[aria-disabled=true]{color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn.tertiary[disabled] ::slotted(px-icon),:host([inverted]) .btn.tertiary[aria-disabled=true] ::slotted(px-icon){background:var(--px-color-background-state-disabled-inverted)}:host([inverted]) .btn.tertiary.loading{color:var(--px-color-text-brand-inverted)}:host([inverted]) .btn.tertiary.loading ::slotted(px-spinner){background:var(--px-color-background-state-disabled-inverted)}:host([inverted]) .btn.patch:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted)}:host([inverted]) .btn.patch[disabled],:host([inverted]) .btn.patch[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn.actionable-tag{background:var(--px-color-background-container-default-default);color:var(--px-color-text-brand-inverted);border-color:var(--px-color-border-neutral-inverted)}:host([inverted]) .btn.actionable-tag:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted);border-color:var(--px-color-border-state-hover-inverted)}:host([inverted]) .btn.actionable-tag:active:not([disabled],[aria-disabled=true],.loading){background:var(--px-color-background-state-active-inverted);color:var(--px-color-text-state-active-default);border-color:var(--px-color-border-none-inverted)}:host([inverted]) .btn.actionable-tag[disabled],:host([inverted]) .btn.actionable-tag[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted);border-color:var(--px-color-border-none-default)}:host([inverted]) button.link[disabled],:host([inverted]) button.link[aria-disabled=true]{color:var(--px-color-text-state-disabled-inverted)}@media only screen and (max-width: 47.938em){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}}@media only screen and (min-width: 48em) and (max-width: 64em){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}}@media only screen and (min-width: 48em){.btn{width:var(--button-extended--tablet, var(--button-extended, auto));font-size:var(--px-text-size-label-m-desktop);gap:var(--px-spacing-2xs-desktop)}.btn:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}.btn.actionable-tag{padding:var(--px-padding-2xs-desktop) var(--px-padding-xs-desktop);gap:var(--px-spacing-xs-desktop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown){padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot=\"after\"]){margin-right:calc(var(--px-padding-xs-desktop) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot=\"before\"]){margin-left:calc(var(--px-padding-xs-desktop) * -1)}.btn.secondary{padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn.tertiary{padding:var(--px-padding-2xs-desktop) 0;gap:var(--px-spacing-xs-desktop)}.btn.tertiary ::slotted(px-icon){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-desktop) var(--px-padding-s-desktop)}.btn.tertiary.loading ::slotted(px-spinner){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.header-dropdown{justify-content:flex-start;align-items:center;width:inherit;color:var(--px-color-text-brand-default);font-weight:var(--px-font-weight-title);font-size:var(--px-text-size-label-m-tablet);border:none;padding:0;border-radius:0;background:none}}@media only screen and (min-width: 64.0625em) and (max-width: 90em){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}}@media only screen and (min-width: 64.0625em){.btn{width:var(--button-extended--laptop, var(--button-extended, auto));font-size:var(--px-text-size-label-m-laptop);gap:var(--px-spacing-2xs-laptop)}.btn:focus-visble:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}.btn.actionable-tag{padding:var(--px-padding-2xs-laptop) var(--px-padding-xs-laptop);gap:var(--px-spacing-xs-laptop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown){padding:var(--px-padding-xs-laptop) var(--px-padding-m-laptop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot=\"after\"]){margin-right:calc(var(--px-padding-xs-laptop) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot=\"before\"]){margin-left:calc(var(--px-padding-xs-laptop) * -1)}.btn.secondary{padding:var(--px-padding-xs-laptop) var(--px-padding-m-laptop)}.btn.tertiary{padding:var(--px-padding-2xs-laptop) 0;gap:var(--px-spacing-xs-laptop)}.btn.tertiary ::slotted(px-icon){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-laptop) var(--px-padding-s-laptop)}.btn.tertiary.loading ::slotted(px-spinner){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.header-dropdown{font-size:var(--px-text-size-label-m-laptop);padding:0}}@media only screen and (min-width: 90.0625em){.btn{width:var(--button-extended--desktop, var(--button-extended, auto));font-size:var(--px-text-size-label-m-desktop);gap:var(--px-spacing-2xs-desktop)}.btn:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}.btn.actionable-tag{padding:var(--px-padding-2xs-desktop) var(--px-padding-xs-desktop);gap:var(--px-spacing-xs-desktop)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--desktop=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--desktop=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--desktop=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--desktop=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown){padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot=\"after\"]){margin-right:calc(var(--px-padding-xs-desktop) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot=\"before\"]){margin-left:calc(var(--px-padding-xs-desktop) * -1)}.btn.secondary{padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn.tertiary{padding:var(--px-padding-2xs-desktop) 0;gap:var(--px-spacing-xs-desktop)}.btn.tertiary ::slotted(px-icon){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-desktop) var(--px-padding-s-desktop)}.btn.tertiary.loading ::slotted(px-spinner){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.header-dropdown{font-size:var(--px-text-size-label-m-desktop);padding:0}}@keyframes anim-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}",de=new CSSStyleSheet,pe=new CSSStyleSheet,ce=new CSSStyleSheet,be=new CSSStyleSheet;de.replaceSync(le),pe.replaceSync(A),ce.replaceSync(".patch{display:inline-flex;align-items:center;padding:var(--px-padding-3xs-mobile) var(--px-padding-s-mobile);border:var(--px-size-border-m) solid transparent;border-radius:var(--px-radius-patch-big) var(--px-radius-patch-big) var(--px-radius-patch-big) var(--px-radius-patch-small);font-family:var(--px-font-family);font-weight:var(--px-font-weight-title);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-line-height-ratio-l);background-color:var(--px-color-background-purpose-promo-default);color:var(--px-color-text-neutral-inverted)}.patch,.patch *{box-sizing:border-box}[shape=bottom-right]{border-radius:var(--px-radius-patch-big) var(--px-radius-patch-big) var(--px-radius-patch-small) var(--px-radius-patch-big)}[shape=bottom-left],[shape=default]{border-radius:var(--px-radius-patch-big) var(--px-radius-patch-big) var(--px-radius-patch-big) var(--px-radius-patch-small)}.info{background-color:var(--px-color-background-purpose-info-default);color:var(--px-color-text-neutral-default)}.black-friday{background-color:var(--px-color-background-surface-dark);color:var(--px-color-text-neutral-inverted)}.eco{background-color:var(--px-color-background-purpose-success-default);color:var(--px-color-text-neutral-inverted)}.greyed{background-color:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}:host([inverted]) .patch{background-color:var(--px-color-background-purpose-promo-inverted);color:var(--px-color-text-neutral-inverted)}:host([inverted]) .info{background-color:var(--px-color-background-purpose-info-inverted);color:var(--px-color-text-neutral-default)}:host([inverted]) .black-friday{background-color:var(--px-color-background-container-light-default);color:var(--px-color-text-neutral-default)}:host([inverted]) .eco{background-color:var(--px-color-background-purpose-success-inverted);color:var(--px-color-text-neutral-default)}:host([inverted]) .greyed{background-color:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}@media only screen and (min-width: 768px){.patch{padding:0 var(--px-padding-s-desktop);font-size:var(--px-text-size-label-m-desktop)}}@media only screen and (min-width: 1025px){.patch{padding:0 var(--px-padding-s-desktop);font-size:var(--px-text-size-label-m-desktop)}}@media only screen and (min-width: 1441px){.patch{padding:0 var(--px-padding-s-desktop);font-size:var(--px-text-size-label-m-desktop)}}"),be.replaceSync(":host:has(.tag){display:inline-block}.tag{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-body);gap:var(--px-spacing-xs-mobile);background-color:var(--px-color-background-container-default-default);color:var(--px-color-text-neutral-default);padding:var(--px-padding-2xs-mobile) var(--px-padding-xs-mobile);border:var(--px-size-border-s) solid transparent;border-radius:var(--px-radius-main)}.tag,.tag *{box-sizing:border-box}:host([disabled]) .tag{background-color:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}:host([inverted]) .tag{background-color:var(--px-color-background-container-default-inverted);color:var(--px-color-text-neutral-inverted)}:host([inverted]):host([disabled]) .tag{background-color:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}@media only screen and (min-width: 768px){.tag{font-size:var(--px-text-size-label-m-desktop);gap:var(--px-spacing-xs-desktop);padding:var(--px-padding-2xs-desktop) var(--px-padding-xs-desktop)}}@media only screen and (min-width: 1025px){.tag{font-size:var(--px-text-size-label-m-desktop);gap:var(--px-spacing-xs-desktop);padding:var(--px-padding-2xs-desktop) var(--px-padding-xs-desktop)}}");const ue=["","default","secondary","tertiary","link","patch","patch-info","patch-black-friday","patch-eco","actionable-tag","header-dropdown"],ge=["","default","bottom-right","bottom-left","alternative"],he=class extends T{constructor(){super(de,pe,ce,be),this.template=()=>'<button class="btn">\n <slot name="before"></slot><slot></slot><slot name="after"></slot>\n </button>',this.shadowRoot.innerHTML=this.template()}static get observedAttributes(){return[...super.observedAttributes,"variant","state","loading","shape","shape--mobile","shape--tablet","shape--laptop","shape--desktop","inverted","aria-expanded","extended","extended--mobile","extended--tablet","extended--laptop","extended--desktop"]}connectedCallback(){const t=this.querySelectorAll("px-icon");t&&t.forEach(t=>{const e=t.getAttribute("size"),i=t.getAttribute("color");t&&(t.addEventListener("click",()=>{this.$el.focus()}),e||t.setAttribute("size","xs"),i||t.setAttribute("color","inherit"))}),et(this,this.$el),"submit"===this.$el.type&&this.addEventListener("click",t=>{var e;t.preventDefault(),null==(e=this.closest("form"))||e.submit()}),"reset"===this.$el.type&&this.addEventListener("click",t=>{var e;t.preventDefault(),null==(e=this.closest("form"))||e.reset()})}attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"variant":this.updateVariant(e,i);break;case"state":this.updateState(e,i);break;case"extended":case"extended--mobile":case"extended--tablet":case"extended--laptop":case"extended--desktop":this.updateExtended(t,i);break;case"loading":this.updateLoading();break;case"shape":case"shape--mobile":case"shape--tablet":case"shape--laptop":case"shape--desktop":this.updateShape(t,i,ge);break;case"aria-expanded":i&&(this.$el.setAttribute("aria-expanded",i),this.removeAttribute("aria-expanded"));break;default:super.attributeChangedCallback(t,e,i)}}checkClass(t){if(t.startsWith("patch-")){const e=t.split(/-(.*)/s);for(const t of e)""!=t&&this.$el.classList.toggle(t)}else this.$el.classList.toggle(t)}_toggleClass(t,e){null!==t&&""!==t&&"default"!==t&&this.checkClass(t),null!==e&&""!==e&&"default"!==e&&this.checkClass(e)}updateVariant(t,e){"link"===e?this.$el.classList.remove("btn"):this.$el.classList.add("btn"),this._toggleClass(t,e),this.checkName(ue,e)||this.tagName.toLowerCase()}updateState(t,e){this._toggleClass(t,e),this.checkName(["","default","success","error"],e)||this.tagName.toLowerCase()}updateExtended(t,e){null===e?this.$el.style.setProperty(`--button-${t}`,""):this.$el.style.setProperty(`--button-${t}`,"100%")}updateLoading(){const t=this.querySelector("px-spinner");if(t){t.getAttribute("size")||t.setAttribute("size","xs")}this.$el.classList.toggle("loading")}updateShape(t,e,i){tt(i,e)?null!==e&&""!==e&&this.$el.setAttribute(t,e):this.tagName.toLowerCase()}get variant(){return this.getAttribute("variant")}set variant(t){this.setAttribute("variant",t)}get state(){return this.getAttribute("state")}set state(t){this.setAttribute("state",t)}get extended(){return this.getAttribute("extended")}set extended(t){this.setAttribute("extended",t)}get extendedMobile(){return this.getAttribute("extended--mobile")}set extendedMobile(t){this.setAttribute("extended--mobile",t)}get extendedTablet(){return this.getAttribute("extended--tablet")}set extendedTablet(t){this.setAttribute("extended--tablet",t)}get extendedLaptop(){return this.getAttribute("extended--laptop")}set extendedLaptop(t){this.setAttribute("extended--laptop",t)}get extendedDesktop(){return this.getAttribute("extended--desktop")}set extendedDesktop(t){this.setAttribute("extended--desktop",t)}get loading(){return this.getAttribute("loading")}set loading(t){this.setAttribute("loading",t)}get shape(){return this.getAttribute("shape")}set shape(t){this.setAttribute("shape",t)}get shapeMobile(){return this.getAttribute("shape--mobile")}set shapeMobile(t){this.setAttribute("shape--mobile",t)}get shapeTablet(){return this.getAttribute("shape--tablet")}set shapeTablet(t){this.setAttribute("shape--tablet",t)}get shapeLaptop(){return this.getAttribute("shape--laptop")}set shapeLaptop(t){this.setAttribute("shape--laptop",t)}get shapeDesktop(){return this.getAttribute("shape--desktop")}set shapeDesktop(t){this.setAttribute("shape--desktop",t)}get inverted(){return this.getAttribute("inverted")}set inverted(t){this.setAttribute("inverted",t)}get ariaExpanded(){return this.getAttribute("aria-expanded")}set ariaExpanded(t){t?this.setAttribute("aria-expanded",t):this.removeAttribute("aria-expanded")}};he.nativeName="button";let me=he;customElements.get("px-button")||customElements.define("px-button",me);const xe=new CSSStyleSheet;xe.replaceSync(':host{display:block}:host,:host *{box-sizing:border-box}.content-wrapper{margin-inline:var(--px-padding-s-mobile);max-width:var(--px-content-wrapper-max-width-desktop)}@media only screen and (min-width: 77em){.content-wrapper{margin-inline:auto}}.overlapped{margin-bottom:calc(var(--px-overlapped-mobile) * -1)}::slotted([slot="overlap"]){margin-top:var(--px-overlapped-mobile)}@media only screen and (min-width: 48em){.overlapped{margin-bottom:calc(var(--px-overlapped-desktop) * -1)}::slotted([slot="overlap"]){margin-top:var(--px-overlapped-desktop)}}@media only screen and (min-width: 64.0625em){.overlapped{margin-bottom:calc(var(--px-overlapped-desktop) * -1)}::slotted([slot="overlap"]){margin-top:var(--px-overlapped-desktop)}}');class ve extends HTMLElement{constructor(){super(),this.template=()=>'\n <px-container border-radius="none" padding-inline="none">\n <div class="content-wrapper">\n <px-vstack gap="heading-to-content">\n <slot name="heading"></slot>\n <px-vstack gap="none">\n <slot></slot>\n </px-vstack>\n </px-vstack>\n </div>\n </px-container>\n <div class="content-wrapper">\n <slot name="overlap"></slot>\n </div>\n ',this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=this.template(),this.shadowRoot.adoptedStyleSheets=[xe]}connectedCallback(){this.$container.setAttribute("background-color",this.backgroundColor),this.$slotOverlap&&this.shadowRoot.firstElementChild.querySelector(".content-wrapper").classList.add("overlapped");const t=this.querySelector('[slot="heading"]');this.paddingBlock||this.paddingTop||this.paddingBottom||this.paddingBlockMobile||this.paddingTopMobile||this.paddingBottomMobile||this.paddingBlockTablet||this.paddingTopTablet||this.paddingBottomTablet||this.paddingBlockLaptop||this.paddingTopLaptop||this.paddingBottomLaptop||(this.$container.paddingBlock="none"),t||this.shadowRoot.querySelector("px-vstack").setAttribute("gap","none")}static get observedAttributes(){return["background-color","background-gradient","background-image","background-image--mobile","background-image--tablet","background-image--laptop","background-size","background-position","padding-block","padding-top","padding-bottom","padding-block--mobile","padding-top--mobile","padding-bottom--mobile","padding-block--tablet","padding-top--tablet","padding-bottom--tablet","padding-block--laptop","padding-top--laptop","padding-bottom--laptop","border","border-side","border-side--mobile","border-side--tablet","border-side--laptop"]}get $container(){return this.shadowRoot.querySelector("px-container")}attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"background-color":this.$container.backgroundColor=X.indexOf(i)>0?i:"none";break;case"background-gradient":this.$container.gradient=this.gradient;break;case"background-image":this.$container.backgroundImage=i;break;case"background-image--mobile":this.$container.backgroundImageMobile=i;break;case"background-image--tablet":this.$container.backgroundImageTablet=i;break;case"background-image--laptop":this.$container.backgroundImageLaptop=i;break;case"background-size":this.$container.backgroundSize=i;break;case"background-position":this.$container.backgroundPosition=i;break;case"padding-block":this.$container.paddingBlock=i;break;case"padding-top":this.$container.paddingTop=i;break;case"padding-bottom":this.$container.paddingBottom=i;break;case"padding-block--mobile":this.$container.paddingBlockMobile=i;break;case"padding-top--mobile":this.$container.paddingTopMobile=i;break;case"padding-bottom--mobile":this.$container.paddingBottomMobile=i;break;case"padding-block--tablet":this.$container.paddingBlockTablet=i;break;case"padding-top--tablet":this.$container.paddingTopTablet=i;break;case"padding-bottom--tablet":this.$container.paddingBottomTablet=i;break;case"padding-block--laptop":this.$container.paddingBlockLaptop=i;break;case"padding-top--laptop":this.$container.paddingTopLaptop=i;break;case"padding-bottom--laptop":this.$container.paddingBottomLaptop=i;break;case"border":this.$container.border=i;break;case"border-side":this.$container.borderSide=i;break;case"border-side--mobile":this.$container.borderSideMobile=i;break;case"border-side--tablet":this.$container.borderSideTablet=i;break;case"border-side--laptop":this.$container.borderSideLaptop=i}}get $slotOverlap(){return this.querySelector('[slot="overlap"]')}get backgroundColor(){return this.getAttribute("background-color")||"none"}set backgroundColor(t){this.setAttribute("background-color",t)}get gradient(){return this.getAttribute("background-gradient")}set gradient(t){this.setAttribute("background-gradient",t)}get backgroundImage(){return this.getAttribute("background-image")}set backgroundImage(t){this.setAttribute("background-image",t)}get backgroundImageMobile(){return this.getAttribute("background-image--mobile")}set backgroundImageMobile(t){this.setAttribute("background-image--mobile",t)}get backgroundImageTablet(){return this.getAttribute("background-image--tablet")}set backgroundImageTablet(t){this.setAttribute("background-image--tablet",t)}get backgroundImageLaptop(){return this.getAttribute("background-image--laptop")}set backgroundImageLaptop(t){this.setAttribute("background-image--laptop",t)}get backgroundSize(){return this.getAttribute("background-size")}set backgroundSize(t){this.setAttribute("background-size",t)}get backgroundPosition(){return this.getAttribute("background-position")}set backgroundPosition(t){this.setAttribute("background-position",t)}get paddingBlock(){return this.getAttribute("padding-block")}set paddingBlock(t){this.setAttribute("padding-block",t)}get paddingTop(){return this.getAttribute("padding-top")}set paddingTop(t){this.setAttribute("padding-top",t)}get paddingBottom(){return this.getAttribute("padding-bottom")}set paddingBottom(t){this.setAttribute("padding-bottom",t)}get paddingBlockMobile(){return this.getAttribute("padding-block--mobile")}set paddingBlockMobile(t){this.setAttribute("padding-block--mobile",t)}get paddingTopMobile(){return this.getAttribute("padding-top--mobile")}set paddingTopMobile(t){this.setAttribute("padding-top--mobile",t)}get paddingBottomMobile(){return this.getAttribute("padding-bottom--mobile")}set paddingBottomMobile(t){this.setAttribute("padding-bottom--mobile",t)}get paddingBlockTablet(){return this.getAttribute("padding-block--tablet")}set paddingBlockTablet(t){this.setAttribute("padding-block--tablet",t)}get paddingTopTablet(){return this.getAttribute("padding-top--tablet")}set paddingTopTablet(t){this.setAttribute("padding-top--tablet",t)}get paddingBottomTablet(){return this.getAttribute("padding-bottom--tablet")}set paddingBottomTablet(t){this.setAttribute("padding-bottom--tablet",t)}get paddingBlockLaptop(){return this.getAttribute("padding-block--laptop")}set paddingBlockLaptop(t){this.setAttribute("padding-block--laptop",t)}get paddingTopLaptop(){return this.getAttribute("padding-top--laptop")}set paddingTopLaptop(t){this.setAttribute("padding-top--laptop",t)}get paddingBottomLaptop(){return this.getAttribute("padding-bottom--laptop")}set paddingBottomLaptop(t){this.setAttribute("padding-bottom--laptop",t)}get border(){return this.getAttribute("border")}set border(t){this.setAttribute("border",t)}get borderSide(){return this.getAttribute("border-side")}set borderSide(t){this.setAttribute("border-side",t)}get borderSideMobile(){return this.getAttribute("border-side--mobile")}set borderSideMobile(t){this.setAttribute("border-side--mobile",t)}get borderSideTablet(){return this.getAttribute("border-side--tablet")}set borderSideTablet(t){this.setAttribute("border-side--tablet",t)}get borderSideLaptop(){return this.getAttribute("border-side--laptop")}set borderSideLaptop(t){this.setAttribute("border-side--laptop",t)}}customElements.get("px-section")||customElements.define("px-section",ve);const fe=new CSSStyleSheet;fe.replaceSync(":host{display:block}:host *{box-sizing:border-box}button,a{display:block;font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-font-line-height-l);color:var(--px-color-text-neutral-default);text-align:center;cursor:pointer;padding:2em 0;height:100%}button:after,a:after{content:attr(data-label);display:block;height:0;width:auto;visibility:hidden;overflow:hidden;-webkit-user-select:none;user-select:none;pointer-events:none;font-weight:var(--px-font-weight-title)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}button:hover,a:hover{font-weight:var(--px-font-weight-title);color:var(--px-color-background-container-primary-default);padding-block:calc(2em - 2px)}button{margin:0;border:0;border-bottom:2px solid rgba(0,0,0,0);outline:0;background:inherit}button[aria-expanded=true]{font-weight:var(--px-font-weight-title);color:var(--px-color-background-container-primary-default);border-bottom-color:var(--px-color-background-container-primary-default)}a{text-decoration:none}@media only screen and (min-width: 48em){button,a{font-size:var(--px-text-size-label-m-tablet)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}}@media only screen and (min-width: 64.0625em){button,a{font-size:var(--px-text-size-label-m-laptop)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}}@media only screen and (min-width: 90.0625em){button,a{font-size:var(--px-text-size-label-m-desktop)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}}");class ke extends j{constructor(){var t;super(),this.template=()=>""+(this.getAttribute("href")?`<a href="${this.getAttribute("href")}" data-label="${this.textContent}">\n <slot></slot>\n </a>`:`<button data-label="${this.textContent}"><slot></slot></button>`),this.shadowRoot.innerHTML=this.template(),this.shadowRoot.adoptedStyleSheets=[fe],this.internals=null==(t=this.attachInternals)?void 0:t.call(this),this.role="listitem",this.internals&&(this.internals.role="listitem")}static get observedAttributes(){return["for","href"]}connectedCallback(){this.setAttribute("slot","header-entries"),this.$button&&this.setupButtonA11y(),this.contentObserver=new MutationObserver(()=>{this.updateDataLabel()}),this.contentObserver.observe(this,{childList:!0,subtree:!0,characterData:!0})}disconnectedCallback(){this.contentObserver.disconnect()}attributeChangedCallback(t,e,i){super.attributeChangedCallback(t,e,i),"href"===t&&this.$a&&i?this.shadowRoot.innerHTML=this.template():"for"===t&&this.$button&&i&&(this.shadowRoot.innerHTML=this.template(),this.setupButtonA11y())}setupButtonA11y(){this.$button.ariaExpanded="false",this.$button.setAttribute("aria-controls",this.for||"")}updateDataLabel(){this.$button&&this.$button.setAttribute("data-label",this.textContent),this.$a&&this.$a.setAttribute("data-label",this.textContent)}get for(){return this.getAttribute("for")}set for(t){this.setAttribute("for",t)}get checked(){return"true"===this.$button.ariaExpanded}set checked(t){if("boolean"!=typeof t)throw new Error("checked must be a boolean");this.$button&&(this.$button.ariaExpanded=`${!!t}`,this.$button.setAttribute("aria-controls",this.for))}get $button(){return this.shadowRoot.querySelector("button")}get $a(){return this.shadowRoot.querySelector("a")}}customElements.get("px-header-item")||customElements.define("px-header-item",ke);const ye=new CSSStyleSheet,Ae=new CSSStyleSheet,we=new CSSStyleSheet;ye.replaceSync(A),Ae.replaceSync(le),we.replaceSync(qt);const $e=[...R,"link-m","link-s"],ze=["link","no-style","skip-link","btn-default","btn-secondary","btn-tertiary","icon-link"],Se=["","default","alternative"],Ce=class t extends T{constructor(){super(ye,Ae,we),this.template=()=>'<slot name="before"></slot><slot></slot><slot name="after"></slot>';const e=document.createElement(t.nativeName);e.innerHTML=this.template(),this.shadowRoot.appendChild(e)}static get observedAttributes(){return[...super.observedAttributes,"disabled","variant","shape","shape--mobile","shape--tablet","shape--laptop","shape--desktop","extended","extended--mobile","extended--tablet","extended--laptop","extended--desktop","inverted","font-size","color","font-weight","title"]}connectedCallback(){this.$before&&"px-icon"===this.$before.localName&&this.configureBeforeAfterIcon(this.$before),this.$after&&"px-icon"===this.$after.localName&&this.configureBeforeAfterIcon(this.$after),et(this,this.$el,!1)}attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"disabled":this.$el.toggleAttribute("aria-disabled"),null!==i&&this.$el.setAttribute("aria-disabled","true");break;case"variant":this.updateVariant(e,i);break;case"shape":case"shape--mobile":case"shape--tablet":case"shape--laptop":case"shape--desktop":this.updateShape(t,i,Se);break;case"extended":case"extended--mobile":case"extended--tablet":case"extended--laptop":case"extended--desktop":this.updateExtended(t,i);break;case"font-size":this.updateTypography(t,e,i,$e);break;case"color":this.updateTypography(t,e,i,B);break;case"font-weight":this.updateTypography(t,e,i,q);break;case"title":i&&(this.$el.setAttribute("title",i),this.removeAttribute("title"));break;default:super.attributeChangedCallback(t,e,i)}}configureBeforeAfterIcon(t){const e=t.getAttribute("size"),i=t.getAttribute("color");t.addEventListener("click",()=>{this.$el.focus()}),e||t.setAttribute("size","xs"),i||t.setAttribute("color","inherit")}_toggleClassList(t){if(t.startsWith("btn-")){const e=t.split("-");for(const t of e)this.$el.classList.toggle(t)}else this.$el.classList.toggle(t)}updateVariant(t,e){null!==t&&""!==t&&"link"!==t&&this._toggleClassList(t),null!==e&&""!==e&&"link"!==e&&this._toggleClassList(e),this.checkName(ze,e)||this.tagName.toLowerCase(),"icon-link"===e&&this.$iconNotBeforeAfter.setAttribute("color","inherit")}updateShape(t,e,i){tt(i,e)?null!==e&&""!==e&&this.$el.setAttribute(t,e):this.tagName.toLowerCase()}updateTypography(t,e,i,r){null!==e&&""!==e&&"default"!==e&&this.$el.classList.toggle(`${t}-${e}`),null!==i&&""!==i&&"default"!==i&&this.$el.classList.toggle(`${t}-${i}`),this.checkName(r,i)||this.tagName.toLowerCase()}updateExtended(t,e){null===e?this.$el.style.setProperty(`--button-${t}`,""):this.$el.style.setProperty(`--button-${t}`,"100%")}get $before(){return this.querySelector('[slot="before"]')}get $after(){return this.querySelector('[slot="after"]')}get $iconNotBeforeAfter(){return this.querySelector('px-icon:not([slot="before"], [slot="after"])')}get disabled(){return this.getAttribute("disabled")}set disabled(t){this.setAttribute("disabled",t)}get variant(){return this.getAttribute("variant")}set variant(t){this.setAttribute("variant",t)}get shape(){return this.getAttribute("shape")}set shape(t){this.setAttribute("shape",t)}get shapeMobile(){return this.getAttribute("shape--mobile")}set shapeMobile(t){this.setAttribute("shape--mobile",t)}get shapeTablet(){return this.getAttribute("shape--tablet")}set shapeTablet(t){this.setAttribute("shape--tablet",t)}get shapeLaptop(){return this.getAttribute("shape--laptop")}set shapeLaptop(t){this.setAttribute("shape--laptop",t)}get shapeDesktop(){return this.getAttribute("shape--desktop")}set shapeDesktop(t){this.setAttribute("shape--desktop",t)}get extended(){return this.getAttribute("extended")}set extended(t){this.setAttribute("extended",t)}get extendedMobile(){return this.getAttribute("extended--mobile")}set extendedMobile(t){this.setAttribute("extended--mobile",t)}get extendedTablet(){return this.getAttribute("extended--tablet")}set extendedTablet(t){this.setAttribute("extended--tablet",t)}get extendedLaptop(){return this.getAttribute("extended--laptop")}set extendedLaptop(t){this.setAttribute("extended--laptop",t)}get extendedDesktop(){return this.getAttribute("extended--desktop")}set extendedDesktop(t){this.setAttribute("extended--desktop",t)}get inverted(){return this.getAttribute("inverted")}set inverted(t){this.setAttribute("inverted",t)}get fontsize(){return this.getAttribute("font-size")}set fontsize(t){this.setAttribute("font-size",t)}get color(){return this.getAttribute("color")}set color(t){this.setAttribute("color",t)}get fontweight(){return this.getAttribute("font-weight")}set fontweight(t){this.setAttribute("font-weight",t)}get title(){return this.getAttribute("title")}set title(t){t?this.setAttribute("title",t):this.removeAttribute("title")}};Ce.nativeName="a";let je=Ce;customElements.get("px-a")||customElements.define("px-a",je);class Le extends HTMLElement{constructor(){super(),this.template='<px-a font-weight="title" font-size="body-l" color="brand" variant="no-style">\n <slot></slot>\n </px-a>',this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=this.template;const t=this.shadowRoot.querySelector("px-a");t&&Array.from(this.attributes).forEach(e=>{t.setAttribute(e.name,e.value)})}}customElements.get("px-mdd-a")||customElements.define("px-mdd-a",Le);function Te(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var Me="object"==typeof global&&global&&global.Object===Object&&global,Ne="object"==typeof self&&self&&self.Object===Object&&self,Ee=Me||Ne||Function("return this")(),Ie=function(){return Ee.Date.now()},De=/\s/;var Pe=/^\s+/;function Re(t){return t?t.slice(0,function(t){for(var e=t.length;e--&&De.test(t.charAt(e)););return e}(t)+1).replace(Pe,""):t}var Be=Ee.Symbol,qe=Object.prototype,Oe=qe.hasOwnProperty,He=qe.toString,Ve=Be?Be.toStringTag:void 0;var _e=Object.prototype.toString;var Ge=Be?Be.toStringTag:void 0;function Fe(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Ge&&Ge in Object(t)?function(t){var e=Oe.call(t,Ve),i=t[Ve];try{t[Ve]=void 0;var r=!0}catch(a){}var o=He.call(t);return r&&(e?t[Ve]=i:delete t[Ve]),o}(t):function(t){return _e.call(t)}(t)}var We=/^[-+]0x[0-9a-f]+$/i,Xe=/^0b[01]+$/i,Ze=/^0o[0-7]+$/i,Ue=parseInt;function Ye(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return null!=t&&"object"==typeof t}(t)&&"[object Symbol]"==Fe(t)}(t))return NaN;if(Te(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Te(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Re(t);var i=Xe.test(t);return i||Ze.test(t)?Ue(t.slice(2),i?2:8):We.test(t)?NaN:+t}var Je=Math.max,Ke=Math.min;function Qe(t,e,i){var r,o,a,n,s,l,d=0,p=!1,c=!1,b=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function u(e){var i=r,a=o;return r=o=void 0,d=e,n=t.apply(a,i)}function g(t){var i=t-l;return void 0===l||i>=e||i<0||c&&t-d>=a}function h(){var t=Ie();if(g(t))return m(t);s=setTimeout(h,function(t){var i=e-(t-l);return c?Ke(i,a-(t-d)):i}(t))}function m(t){return s=void 0,b&&r?u(t):(r=o=void 0,n)}function x(){var t=Ie(),i=g(t);if(r=arguments,o=this,l=t,i){if(void 0===s)return function(t){return d=t,s=setTimeout(h,e),p?u(t):n}(l);if(c)return clearTimeout(s),s=setTimeout(h,e),u(l)}return void 0===s&&(s=setTimeout(h,e)),n}return e=Ye(e)||0,Te(i)&&(p=!!i.leading,a=(c="maxWait"in i)?Je(Ye(i.maxWait)||0,e):a,b="trailing"in i?!!i.trailing:b),x.cancel=function(){void 0!==s&&clearTimeout(s),d=0,r=l=o=s=void 0},x.flush=function(){return void 0===s?n:m(Ie())},x}const ti=new CSSStyleSheet;ti.replaceSync("#navigation-container{border-bottom:var(--px-size-border-m) solid var(--px-color-border-main-default)}#dropdown-zone--desktop{display:none}#primary-navigation{display:none;margin:0;padding:0}#panel-container{position:absolute;top:0;left:0;right:0;z-index:999}#backdrop-filter{display:none;position:absolute;z-index:998;left:0;width:100vw;height:100%;background:#0000004d;-webkit-backdrop-filter:saturate(180%) blur(15px);backdrop-filter:saturate(180%) blur(15px)}@media only screen and (min-width: 48em){#dropdown-zone--desktop{display:block;margin-block:var(--px-padding-s-tablet)}#primary-navigation{display:block}#panel-container{top:auto}}@media only screen and (min-width: 64.0625em){#dropdown-zone--desktop{margin-block:var(--px-padding-s-laptop)}}@media only screen and (min-width: 90.0625em){#dropdown-zone--desktop{margin-block:var(--px-padding-s-desktop)}}");class ei extends j{constructor(){var t;super(ti),x(this,o),x(this,r),this.template=`\n <div>\n <header>\n <slot name="skip"></slot>\n <px-section id="navigation-container" padding-block--mobile="s" padding-block="none"\n background-color="none">\n <px-hstack id="dropdown-zone--desktop" align-items="center">\n <slot name="target-group"></slot>\n <px-spacer></px-spacer>\n <slot name="user-language"></slot>\n </px-hstack>\n <px-hstack gap="default" wrap="wrap" align-items="center">\n <slot name="header-logo"></slot>\n <nav id="primary-navigation" aria-label="${this.primaryNavigationAriaLabel}">\n <div role="list">\n <px-hstack gap="default" wrap="wrap" align-items="center">\n <slot name="header-entries"></slot>\n </px-hstack>\n </div>\n </nav>\n <px-spacer></px-spacer>\n <px-hstack gap--mobile="none" gap="default">\n <slot name="header-actions"></slot>\n <px-button-icon variant="naked" aria-label="${this.burgerMenuAriaLabel??"Open menu"}"\n aria-expanded="false" aria-controls="__lavender_mobile_menu" hidden--tablet hidden--laptop\n hidden--desktop>\n <px-icon name="burger_menu" from="lavender"></px-icon>\n </px-button-icon>\n </px-hstack>\n </px-hstack>\n </px-section>\n <px-section id="panel-container" background-color="surface-default" padding="none"\n background-color="none">\n <slot name="header-panels">\n </px-section>\n </header>\n <div id="backdrop-filter"></div>\n <slot name="main"></slot>\n </div>\n `,v(this,r,()=>{window.innerWidth>=768&&(f(this,o,l).call(this),f(this,o,a).call(this))}),this.shadowRoot.innerHTML=this.template,this.internals=null==(t=this.attachInternals)?void 0:t.call(this),this.role="navigation",this.internals&&(this.internals.role="navigation")}connectedCallback(){this.addEventListener("click",t=>{const e=t.target.closest("px-header-item");e&&e.for&&(!1===t.target.checked?(this.$backdropFilter.style.display="block",m(this,o,c).forEach(t=>{t.checked=!1}),e.checked=!0,f(this,o,n).call(this,t.target.for)):f(this,o,d).call(this))}),this.addEventListener("section-item-click",t=>{this.$backdropFilter.style.display="block",m(this,o,c).forEach(t=>{t.checked=!1}),this.querySelector(`px-header-item[for="${t.detail.for}"]`).checked=!0,f(this,o,n).call(this,t.detail.for)}),this.addEventListener("back-to-mobile-menu",()=>{this.$backdropFilter.style.display="block",m(this,o,c).forEach(t=>{t.checked=!1}),f(this,o,s).call(this)}),this.shadowRoot.addEventListener("click",t=>{t.target.closest("px-button-icon")&&(this.$burgerMenu.setAttribute("aria-expanded","true"),f(this,o,s).call(this))}),this.addEventListener("close-panel",()=>{f(this,o,d).call(this),this.$burgerMenu.setAttribute("aria-expanded","false")}),this.addEventListener("close-panel-from-dialog",t=>{this.dispatchEvent(new CustomEvent("close-panel")),t.detail.clientY<m(this,o,b).getBoundingClientRect().bottom&&requestAnimationFrame(()=>{var e;null==(e=document.elementFromPoint(t.detail.clientX,t.detail.clientY))||e.click()})}),this.$targetGroupDropdown||this.$userLanguageDropdown||(this.$dropDownZoneDesktop.style.display="none"),this.primaryNavigationAriaLabel||this.setAttribute("primary-navigation-aria-label","Menu"),window.addEventListener("resize",function(t,e,i){var r=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return Te(i)&&(r="leading"in i?!!i.leading:r,o="trailing"in i?!!i.trailing:o),Qe(t,e,{leading:r,maxWait:e,trailing:o})}(m(this,r),200))}static get observedAttributes(){return["burger-menu-aria-label","close-button-aria-label","primary-navigation-aria-label","back-to-menu-label"]}attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"close-button-aria-label":m(this,o,u).forEach(t=>{t.setAttribute("close-button-aria-label",i)});break;case"burger-menu-aria-label":this.$burgerMenu.setAttribute("aria-label",i);break;case"primary-navigation-aria-label":this.$primaryNavigation.setAttribute("aria-label",i);break;case"back-to-menu-label":m(this,o,u).forEach(t=>{t.setAttribute("back-to-menu-label",i)})}}get $backdropFilter(){return this.shadowRoot.querySelector("#backdrop-filter")}get $burgerMenu(){return this.shadowRoot.querySelector("px-button-icon")}get $slotMain(){return this.querySelector('[slot="main"]')}get $targetGroupDropdown(){return this.querySelector('px-dropdown[slot="target-group"]')}get $userLanguageDropdown(){return this.querySelector('px-dropdown[slot="user-language"]')}get $dropDownZoneDesktop(){return this.shadowRoot.querySelector("#dropdown-zone--desktop")}get $primaryNavigation(){return this.shadowRoot.querySelector("#primary-navigation")}get closeButtonAriaLabel(){return this.getAttribute("close-button-aria-label")}set closeButtonAriaLabel(t){t?this.setAttribute("close-button-aria-label",t):this.removeAttribute("close-button-aria-label")}get burgerMenuAriaLabel(){return this.getAttribute("burger-menu-aria-label")}set burgerMenuAriaLabel(t){t?this.setAttribute("burger-menu-aria-label",t):this.removeAttribute("burger-menu-aria-label")}get backToMenuLabel(){return this.getAttribute("back-to-menu-label")}set backToMenuLabel(t){t?this.setAttribute("back-to-menu-label",t):this.removeAttribute("back-to-menu-label")}get primaryNavigationAriaLabel(){return this.getAttribute("primary-navigation-aria-label")}set primaryNavigationAriaLabel(t){t?this.setAttribute("primary-navigation-aria-label",t):this.removeAttribute("primary-navigation-aria-label")}}r=new WeakMap,o=new WeakSet,a=function(){const t=this.querySelectorAll("px-mdd"),e=m(this,o,b).getBoundingClientRect().bottom;t.forEach(t=>{t.dialogOffsetTop=`${e}px`})},n=function(t){m(this,o,p).$megaDropDown.hidden=!0,m(this,o,u).forEach(e=>{e.name===t&&e.hidden&&(e.dialogOffsetTop=`${m(this,o,b).getBoundingClientRect().bottom}px`,e.hidden=!e.hidden,this.querySelector(`px-header-item[for="${t}"]`).checked=!e.hidden,document.body.style.overflow=e.hidden?"auto":"hidden"),e.name===t||e.hidden||(e.hidden=!0)})},s=function(){this.$backdropFilter.style.display="none",m(this,o,u).forEach(t=>{t.hidden||(t.hidden=!0)}),m(this,o,p).$megaDropDown.dialogOffsetTop=`${m(this,o,b).getBoundingClientRect().bottom}px`,m(this,o,p).$megaDropDown.hidden=!1,document.body.style.overflow="hidden"},l=function(){m(this,o,p)&&(m(this,o,p).$megaDropDown.hidden=!0,this.$burgerMenu.setAttribute("aria-expanded","false"),document.body.style.overflow="auto",this.$backdropFilter.style.display="none")},d=function(){this.$backdropFilter.style.display="none",m(this,o,p).$megaDropDown.hidden=!0,m(this,o,c).forEach(t=>{t.checked=!1}),m(this,o,u).forEach(t=>{t.hidden=!0}),document.body.style.overflow="auto"},p=function(){return this.querySelector("px-header-mobile-menu")},c=function(){return this.querySelectorAll("px-header-item")},b=function(){return this.shadowRoot.querySelector("header")},u=function(){return this.querySelectorAll("px-mdd")},customElements.get("px-header")||customElements.define("px-header",ei);const ii=new CSSStyleSheet;ii.replaceSync(":host{display:block;--grid-cols: initial;--grid-cols--mobile: initial;--grid-cols--tablet: initial;--grid-cols--laptop: initial;--grid-cols--desktop: initial;--justify-content: initial;--justify-items: initial;--align-content: initial;--align-items: initial}.grid{display:grid;grid-template-columns:repeat(var(--grid-cols),minmax(0,1fr));justify-content:var(--justify-content);justify-items:var(--justify-items);align-content:var(--align-content);align-items:var(--align-items)}.justify-content-normal{justify-content:normal}.justify-content-start{justify-content:start}.justify-content-end{justify-content:end}.justify-content-center{justify-content:center}.justify-content-space-between{justify-content:space-between}.justify-content-space-around{justify-content:space-around}.justify-content-space-evenly{justify-content:space-evenly}.justify-content-stretch{justify-content:stretch}.justify-items-start{justify-items:start}.justify-items-end{justify-items:end}.justify-items-center{justify-items:center}.justify-items-stretch{justify-items:stretch}.align-content-normal{align-content:normal}.align-content-start{align-content:start}.align-content-end{align-content:end}.align-content-center{align-content:center}.align-content-space-between{align-content:space-between}.align-content-space-around{align-content:space-around}.align-content-space-evenly{align-content:space-evenly}.align-content-stretch{align-content:stretch}.align-items-start{align-items:start}.align-items-end{align-items:end}.align-items-center{align-items:center}.align-items-stretch{align-items:stretch}@media only screen and (max-width: 767px){.grid{grid-template-columns:repeat(var(--grid-cols--mobile, var(--grid-cols)),minmax(0,1fr))}.justify-content-normal-mobile{justify-content:normal}.justify-content-start-mobile{justify-content:start}.justify-content-end-mobile{justify-content:end}.justify-content-center-mobile{justify-content:center}.justify-content-space-between-mobile{justify-content:space-between}.justify-content-space-around-mobile{justify-content:space-around}.justify-content-space-evenly-mobile{justify-content:space-evenly}.justify-content-stretch-mobile{justify-content:stretch}.justify-items-start-mobile{justify-items:start}.justify-items-end-mobile{justify-items:end}.justify-items-center-mobile{justify-items:center}.justify-items-stretch-mobile{justify-items:stretch}.align-content-normal-mobile{align-content:normal}.align-content-start-mobile{align-content:start}.align-content-end-mobile{align-content:end}.align-content-center-mobile{align-content:center}.align-content-space-between-mobile{align-content:space-between}.align-content-space-around-mobile{align-content:space-around}.align-content-space-evenly-mobile{align-content:space-evenly}.align-content-stretch-mobile{align-content:stretch}.align-items-start-mobile{align-items:start}.align-items-end-mobile{align-items:end}.align-items-center-mobile{align-items:center}.align-items-stretch-mobile{align-items:stretch}}@media only screen and (min-width: 48em) and (max-width: 64em){.grid{grid-template-columns:repeat(var(--grid-cols--tablet, var(--grid-cols)),minmax(0,1fr))}.justify-content-normal-tablet{justify-content:normal}.justify-content-start-tablet{justify-content:start}.justify-content-end-tablet{justify-content:end}.justify-content-center-tablet{justify-content:center}.justify-content-space-between-tablet{justify-content:space-between}.justify-content-space-around-tablet{justify-content:space-around}.justify-content-space-evenly-tablet{justify-content:space-evenly}.justify-content-stretch-tablet{justify-content:stretch}.justify-items-start-tablet{justify-items:start}.justify-items-end-tablet{justify-items:end}.justify-items-center-tablet{justify-items:center}.justify-items-stretch-tablet{justify-items:stretch}.align-content-normal-tablet{align-content:normal}.align-content-start-tablet{align-content:start}.align-content-end-tablet{align-content:end}.align-content-center-tablet{align-content:center}.align-content-space-between-tablet{align-content:space-between}.align-content-space-around-tablet{align-content:space-around}.align-content-space-evenly-tablet{align-content:space-evenly}.align-content-stretch-tablet{align-content:stretch}.align-items-start-tablet{align-items:start}.align-items-end-tablet{align-items:end}.align-items-center-tablet{align-items:center}.align-items-stretch-tablet{align-items:stretch}}@media only screen and (min-width: 64.0625em){.grid{grid-template-columns:repeat(var(--grid-cols--laptop, var(--grid-cols)),minmax(0,1fr))}.justify-content-normal-laptop{justify-content:normal}.justify-content-start-laptop{justify-content:start}.justify-content-end-laptop{justify-content:end}.justify-content-center-laptop{justify-content:center}.justify-content-space-between-laptop{justify-content:space-between}.justify-content-space-around-laptop{justify-content:space-around}.justify-content-space-evenly-laptop{justify-content:space-evenly}.justify-content-stretch-laptop{justify-content:stretch}.justify-items-start-laptop{justify-items:start}.justify-items-end-laptop{justify-items:end}.justify-items-center-laptop{justify-items:center}.justify-items-stretch-laptop{justify-items:stretch}.align-content-normal-laptop{align-content:normal}.align-content-start-laptop{align-content:start}.align-content-end-laptop{align-content:end}.align-content-center-laptop{align-content:center}.align-content-space-between-laptop{align-content:space-between}.align-content-space-around-laptop{align-content:space-around}.align-content-space-evenly-laptop{align-content:space-evenly}.align-content-stretch-laptop{align-content:stretch}.align-items-start-laptop{align-items:start}.align-items-end-laptop{align-items:end}.align-items-center-laptop{align-items:center}.align-items-stretch-laptop{align-items:stretch}}");const ri=["1","2","3","4","5","6","7","8","9","10","11","12"],oi=["","start","end","center","space-between","space-around","space-evenly","stretch"],ai=["","start","end","center","stretch"],ni=it("gap",(t,e,i)=>`:host([${t}${i?`--${i}`:""}='${e}']) .grid`,K,"px-spacing","--grid-gap"),si=class extends T{constructor(){super(ii,ni),this.template=()=>'<div class="grid">\n <slot></slot>\n </div>',this.shadowRoot.innerHTML=this.template()}static get observedAttributes(){return[...super.observedAttributes,"grid-cols","grid-cols--mobile","grid-cols--tablet","grid-cols--laptop","justify-content","justify-items","align-content","align-items","justify-content--mobile","justify-items--mobile","align-content--mobile","align-items--mobile","justify-content--tablet","justify-items--tablet","align-content--tablet","align-items--tablet","justify-content--laptop","justify-items--laptop","align-content--laptop","align-items--laptop","justify-content--desktop","justify-items--desktop","align-content--desktop","align-items--desktop"]}connectedCallback(){this.gap||(this.gap="default"),this.alignItems||(this.alignItems="stretch")}attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"grid-cols":case"grid-cols--mobile":case"grid-cols--tablet":case"grid-cols--laptop":this.updateAttribute(t,e,i,ri);break;case"justify-content":case"align-content":case"justify-content--mobile":case"align-content--mobile":case"justify-content--tablet":case"align-content--tablet":case"justify-content--laptop":case"align-content--laptop":case"justify-content--desktop":case"align-content--desktop":this.updateAttribute(t,e,i,oi);break;case"justify-items":case"align-items":case"justify-items--mobile":case"align-items--mobile":case"justify-items--tablet":case"align-items--tablet":case"justify-items--laptop":case"align-items--laptop":case"justify-items--desktop":case"align-items--desktop":this.updateAttribute(t,e,i,ai);break;default:super.attributeChangedCallback(t,e,i)}}updateGap(t,e,i){if(!this.checkName(i,e))return void this.tagName.toLowerCase();const r=t=>{null!==t&&""!==t&&"default"!==t&&(this.$el.style.setProperty("--grid-gap--mobile",`var(--px-spacing-${t}-mobile)`),this.$el.style.setProperty("--grid-gap--tablet",`var(--px-spacing-${t}-tablet)`),this.$el.style.setProperty("--grid-gap--laptop",`var(--px-spacing-${t}-laptop)`))};r(t),r(e)}updateAttribute(t,e,i,r){this.checkName(r,i)?"grid-cols"===t||"grid-cols--mobile"===t||"grid-cols--tablet"===t||"grid-cols--laptop"===t||"grid-cols--desktop"===t?this.$el.style.setProperty(`--${t}`,i):(null!==e&&""!==e&&"default"!==e&&this.$el.classList.toggle(`${t}-${e}`),null!==i&&""!==i&&"default"!==i&&this.$el.classList.toggle(`${t}-${i}`)):this.tagName.toLowerCase()}get gap(){return this.getAttribute("gap")}set gap(t){this.setAttribute("gap",t)}get gapMobile(){return this.getAttribute("gap--mobile")}set gapMobile(t){this.setAttribute("gap--mobile",t)}get gapTablet(){return this.getAttribute("gap--tablet")}set gapTablet(t){this.setAttribute("gap--tablet",t)}get gapLaptop(){return this.getAttribute("gap--laptop")}set gapLaptop(t){this.setAttribute("gap--laptop",t)}get gridCols(){return this.getAttribute("grid-cols")}set gridCols(t){this.setAttribute("grid-cols",t)}get gridColsMobile(){return this.getAttribute("grid-cols--mobile")}set gridColsMobile(t){this.setAttribute("grid-cols--mobile",t)}get gridColsTablet(){return this.getAttribute("grid-cols--tablet")}set gridColsTablet(t){this.setAttribute("grid-cols--tablet",t)}get gridColsLaptop(){return this.getAttribute("grid-cols--laptop")}set gridColsLaptop(t){this.setAttribute("grid-cols--laptop",t)}get justifyContent(){return this.getAttribute("justify-content")}set justifyContent(t){this.setAttribute("justify-content",t)}get justifyItems(){return this.getAttribute("justify-items")}set justifyItems(t){this.setAttribute("justify-items",t)}get alignContent(){return this.getAttribute("align-content")}set alignContent(t){this.setAttribute("align-content",t)}get alignItems(){return this.getAttribute("align-items")}set alignItems(t){this.setAttribute("align-items",t)}get justifyContentMobile(){return this.getAttribute("justify-content--mobile")}set justifyContentMobile(t){this.setAttribute("justify-content--mobile",t)}get justifyItemsMobile(){return this.getAttribute("justify-items--mobile")}set justifyItemsMobile(t){this.setAttribute("justify-items--mobile",t)}get alignContentMobile(){return this.getAttribute("align-content--mobile")}set alignContentMobile(t){this.setAttribute("align-content--mobile",t)}get alignItemsMobile(){return this.getAttribute("align-items--mobile")}set alignItemsMobile(t){this.setAttribute("align-items--mobile",t)}get justifyContentTablet(){return this.getAttribute("justify-content--tablet")}set justifyContentTablet(t){this.setAttribute("justify-content--tablet",t)}get justifyItemsTablet(){return this.getAttribute("justify-items--tablet")}set justifyItemsTablet(t){this.setAttribute("justify-items--tablet",t)}get alignContentTablet(){return this.getAttribute("align-content--tablet")}set alignContentTablet(t){this.setAttribute("align-content--tablet",t)}get alignItemsTablet(){return this.getAttribute("align-items--tablet")}set alignItemsTablet(t){this.setAttribute("align-items--tablet",t)}get justifyContentLaptop(){return this.getAttribute("justify-content--laptop")}set justifyContentLaptop(t){this.setAttribute("justify-content--laptop",t)}get justifyItemsLaptop(){return this.getAttribute("justify-items--laptop")}set justifyItemsLaptop(t){this.setAttribute("justify-items--laptop",t)}get alignContentLaptop(){return this.getAttribute("align-content--laptop")}set alignContentLaptop(t){this.setAttribute("align-content--laptop",t)}get alignItemsLaptop(){return this.getAttribute("align-items--laptop")}set alignItemsLaptop(t){this.setAttribute("align-items--laptop",t)}get justifyContentDesktop(){return this.getAttribute("justify-content--desktop")}set justifyContentDesktop(t){this.setAttribute("justify-content--desktop",t)}get justifyItemsDesktop(){return this.getAttribute("justify-items--desktop")}set justifyItemsDesktop(t){this.setAttribute("justify-items--desktop",t)}get alignContentDesktop(){return this.getAttribute("align-content--desktop")}set alignContentDesktop(t){this.setAttribute("align-content--desktop",t)}get alignItemsDesktop(){return this.getAttribute("align-items--desktop")}set alignItemsDesktop(t){this.setAttribute("align-items--desktop",t)}};si.nativeName="div";let li=si;customElements.get("px-grid")||customElements.define("px-grid",li);const di=new CSSStyleSheet;di.replaceSync(":host{--min-height--mobile: 15.625em;--min-height--tablet: 17.5em;--min-height--laptop: 17.5em;--min-height--desktop: 17.5em}:host,:host>*{display:block;box-sizing:border-box}.content-header{position:relative;z-index:0}[min-height] .content-header-content{min-height:calc(var(--min-height--mobile) - (var(--px-spacing-l-mobile) * 2))}.content-header-content{display:flex;flex-direction:column;gap:var(--px-spacing-l-mobile);z-index:2;position:relative;box-sizing:border-box}.contrast-helper{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;display:none}[contrast-helper-gradient] .contrast-helper{display:block;background-image:linear-gradient(90deg,#fff 23.43%,#fff0 81.69%)}[inverted] :is([contrast-helper-gradient] .contrast-helper){background-image:linear-gradient(90deg,#000 23.43%,#0000 81.69%)}[contrast-helper-overlay] .contrast-helper{display:block;background-color:#ffffffb3}[inverted] :is([contrast-helper-overlay] .contrast-helper){background-color:#0006}@media only screen and (min-width: 48em){.content-header-content{gap:var(--px-spacing-l-desktop)}[min-height] .content-header-content{min-height:calc(var(--min-height--tablet) - (var(--px-spacing-l-tablet) * 2))}}@media only screen and (min-width: 64.0625em){.content-header-content{gap:var(--px-spacing-l-laptop)}[min-height] .content-header-content{min-height:calc(var(--min-height--laptop) - (var(--px-spacing-l-laptop) * 2))}}");const pi=class extends T{constructor(){super(di),this.template=()=>'<div class="content-header">\n <div class="contrast-helper"></div>\n <px-section padding-block="l">\n <px-grid gap="none">\n <px-container padding="none" border-radius="none" background-color="none" >\n <div class="content-header-content">\n <px-vstack gap="heading-to-subtitle">\n <px-h1 variant="title-3xl"><slot></slot></px-h1>\n <slot name="subtitle"></slot>\n </px-vstack>\n </div>\n </px-container>\n </px-grid>\n </px-section>\n </div>',this.shadowRoot.innerHTML=this.template()}static get observedAttributes(){return["background-color","background-gradient","background-image","background-image--mobile","background-image--tablet","background-image--laptop","background-size","background-position","contrast-helper-gradient","contrast-helper-overlay","min-height","has-gridding","has-gridding--mobile","has-gridding--tablet","has-gridding--laptop","inverted"]}connectedCallback(){this.$patchDescriptionSlot&&this.shadowRoot.querySelector(".content-header-content").insertAdjacentHTML("beforeend",'<px-stack gap="s" direction="row" direction--mobile="column">\n <slot name="patch" shrink></slot>\n <slot name="patch-description"></slot>\n </px-stack>'),this.$overlapSlot&&this.shadowRoot.querySelector("px-section").insertAdjacentHTML("beforeend",'<slot name="overlap" slot="overlap"></slot>'),this.$subtitleSlot&&this.$subtitleSlot.setAttribute("variant","subtitle"),this.$patchDescriptionSlot&&("px-p"===this.$patchDescriptionSlot.localName&&this.$patchDescriptionSlot.setAttribute("variant","default"),"px-p"!==this.$patchDescriptionSlot.localName&&"px-span"!==this.$patchDescriptionSlot.localName||(this.$patchDescriptionSlot.setAttribute("font-size","body-l"),this.$patchDescriptionSlot.removeAttribute("font-weight"),this.$patchDescriptionSlot.removeAttribute("color")),"px-price"===this.$patchDescriptionSlot.localName&&this.$patchDescriptionSlot.setAttribute("size","m")),this.createGridding()}attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"background-color":this.$section.backgroundColor=X.indexOf(i)>0?i:"none";break;case"background-gradient":this.$section.gradient=J.indexOf(i)>0?i:"none";break;case"background-image":this.$section.backgroundImage=i;break;case"background-image--mobile":this.$section.backgroundImageMobile=i;break;case"background-image--tablet":this.$section.backgroundImageTablet=i;break;case"background-image--laptop":this.$section.backgroundImageLaptop=i;break;case"background-size":this.$section.backgroundSize=Z.indexOf(i)>0?i:"";break;case"background-position":this.$section.backgroundPosition=i;break;case"has-gridding":case"has-gridding--mobile":case"has-gridding--tablet":case"has-gridding--laptop":this.createGridding(i);break;case"inverted":for(let t=0;t<this.$children.length;t++)this.$children[t].hasAttribute("inverted")||this.$children[t].toggleAttribute("inverted");this.$h1.toggleAttribute("inverted",null!==i),this.$el.toggleAttribute("inverted",null!==i);break;default:super.attributeChangedCallback(t,e,i)}}createGridding(t){const e=[{prop:"hasGridding",gridProp:"gridCols",attr:"col-span"},{prop:"hasGriddingMobile",gridProp:"gridColsMobile",attr:"col-span--mobile"},{prop:"hasGriddingTablet",gridProp:"gridColsTablet",attr:"col-span--tablet"},{prop:"hasGriddingLaptop",gridProp:"gridColsLaptop",attr:"col-span--laptop"}],i=this.shadowRoot.querySelector("px-grid > px-container");null!==t?e.forEach(({prop:t,gridProp:e,attr:r})=>{this[t]&&(this.$grid[e]="3",i.setAttribute(r,"2"))}):e.forEach(({gridProp:t,attr:e})=>{this.$grid[t]="1",i.removeAttribute(e)})}get $grid(){return this.shadowRoot.querySelector("px-grid")}get $section(){return this.shadowRoot.querySelector("px-section")}get $h1(){return this.shadowRoot.querySelector("px-h1")}get $subtitleSlot(){return this.querySelector('[slot="subtitle"]')}get $patchDescriptionSlot(){return this.querySelector('[slot="patch-description"]')}get $overlapSlot(){return this.querySelector('[slot="overlap"]')}get $children(){return this.querySelectorAll("px-content-header > *")}get backgroundColor(){return this.getAttribute("background-color")}set backgroundColor(t){this.setAttribute("background-color",t)}get gradient(){return this.getAttribute("background-gradient")}set gradient(t){this.setAttribute("background-gradient",t)}get backgroundImage(){return this.getAttribute("background-image")}set backgroundImage(t){this.setAttribute("background-image",t)}get backgroundImageMobile(){return this.getAttribute("background-image--mobile")}set backgroundImageMobile(t){this.setAttribute("background-image--mobile",t)}get backgroundImageTablet(){return this.getAttribute("background-image--tablet")}set backgroundImageTablet(t){this.setAttribute("background-image--tablet",t)}get backgroundImageLaptop(){return this.getAttribute("background-image--laptop")}set backgroundImageLaptop(t){this.setAttribute("background-image--laptop",t)}get backgroundSize(){return this.getAttribute("background-size")}set backgroundSize(t){this.setAttribute("background-size",t)}get backgroundPosition(){return this.getAttribute("background-position")}set backgroundPosition(t){this.setAttribute("background-position",t)}get gradientContrastHelper(){return this.hasAttribute("contrast-helper-gradient")}set gradientContrastHelper(t){t?this.setAttribute("contrast-helper-gradient",""):this.removeAttribute("contrast-helper-gradient")}get overlayContrastHelper(){return this.hasAttribute("contrast-helper-overlay")}set overlayContrastHelper(t){t?this.setAttribute("contrast-helper-overlay",""):this.removeAttribute("contrast-helper-overlay")}get hasGridding(){return this.hasAttribute("has-gridding")}set hasGridding(t){t?this.setAttribute("has-gridding",""):this.removeAttribute("has-gridding")}get hasGriddingMobile(){return this.hasAttribute("has-gridding--mobile")}set hasGriddingMobile(t){t?this.setAttribute("has-gridding--mobile",""):this.removeAttribute("has-gridding--mobile")}get hasGriddingTablet(){return this.hasAttribute("has-gridding--tablet")}set hasGriddingTablet(t){t?this.setAttribute("has-gridding--tablet",""):this.removeAttribute("has-gridding--tablet")}get hasGriddingLaptop(){return this.hasAttribute("has-gridding--laptop")}set hasGriddingLaptop(t){t?this.setAttribute("has-gridding--laptop",""):this.removeAttribute("has-gridding--laptop")}get inverted(){return this.hasAttribute("inverted")}set inverted(t){t?this.setAttribute("inverted",""):this.removeAttribute("inverted")}get minHeight(){return this.hasAttribute("min-height")}set minHeight(t){t?this.setAttribute("min-height",""):this.removeAttribute("min-height")}};pi.nativeName="div";let ci=pi;customElements.get("px-content-header")||customElements.define("px-content-header",ci),exports.ContentHeader=ci,exports.Grid=li,exports.Header=ei,exports.HeaderItem=ke,exports.Modal=se,exports.Typography=dt,exports.contentAlignmentValues=oi,exports.gridColsValues=ri,exports.itemsAlignmentValues=ai;
|