@proximus/lavender-header 2.0.0-alpha.8 → 2.0.0-alpha.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/Header.d.ts CHANGED
@@ -2,14 +2,12 @@ import { WithExtraAttributes } from '@proximus/lavender-common';
2
2
  import '@proximus/lavender-layout';
3
3
  import '@proximus/lavender-container';
4
4
  import '@proximus/lavender-button';
5
- import '@proximus/lavender-button-icon';
6
5
  import '@proximus/lavender-section';
7
- import '@proximus/lavender-cell';
6
+ import './HeaderItem';
7
+ import './Link.ts';
8
8
  import type { Dropdown } from '@proximus/lavender-dropdown';
9
9
  import type { Stack } from '@proximus/lavender-layout';
10
10
  import type { ButtonIcon } from '@proximus/lavender-button-icon';
11
- import './HeaderItem';
12
- import './Link.ts';
13
11
  export declare class Header extends WithExtraAttributes {
14
12
  #private;
15
13
  internals: ElementInternals;
package/dist/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import '@proximus/lavender-button-icon';
2
+ import '@proximus/lavender-cell';
1
3
  export * from './Header';
2
4
  export * from './MobileMenu';
3
5
  export * from './HeaderItem';
package/dist/index.es.js CHANGED
@@ -1,23 +1,23 @@
1
- var K = (o) => {
2
- throw TypeError(o);
1
+ var V = (r) => {
2
+ throw TypeError(r);
3
3
  };
4
- var B = (o, t, e) => t.has(o) || K("Cannot " + e);
5
- var d = (o, t, e) => (B(o, t, "read from private field"), e ? e.call(o) : t.get(o)), h = (o, t, e) => t.has(o) ? K("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(o) : t.set(o, e), A = (o, t, e, r) => (B(o, t, "write to private field"), r ? r.call(o, e) : t.set(o, e), e), b = (o, t, e) => (B(o, t, "access private method"), e);
6
- import { WithExtraAttributes as U, fontsizeValues as mt, PxElement as kt, transferAccessibilityAttributes as yt, fontweightValues as zt, colorValues as wt, checkName as $t } from "@proximus/lavender-common";
4
+ var _ = (r, t, e) => t.has(r) || V("Cannot " + e);
5
+ var d = (r, t, e) => (_(r, t, "read from private field"), e ? e.call(r) : t.get(r)), u = (r, t, e) => t.has(r) ? V("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(r) : t.set(r, e), k = (r, t, e, o) => (_(r, t, "write to private field"), o ? o.call(r, e) : t.set(r, e), e), b = (r, t, e) => (_(r, t, "access private method"), e);
6
+ import "@proximus/lavender-button-icon";
7
+ import "@proximus/lavender-cell";
8
+ import { WithExtraAttributes as J, fontsizeValues as zt, PxElement as $t, transferAccessibilityAttributes as At, fontweightValues as St, colorValues as Ct, log as q, checkName as Et, WrappedInteractiveStateController as Lt } from "@proximus/lavender-common";
7
9
  import "@proximus/lavender-layout";
8
10
  import "@proximus/lavender-container";
9
11
  import "@proximus/lavender-button";
10
- import "@proximus/lavender-button-icon";
11
12
  import "@proximus/lavender-section";
12
- import "@proximus/lavender-cell";
13
- const At = ":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)}}", et = new CSSStyleSheet();
14
- et.replaceSync(At);
15
- class St extends U {
13
+ const Tt = ":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:32px 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:30px}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)}}", at = new CSSStyleSheet();
14
+ at.replaceSync(Tt);
15
+ class Mt extends J {
16
16
  constructor() {
17
17
  var t;
18
18
  super(), this.template = () => `${this.getAttribute("href") ? `<a href="${this.getAttribute("href")}" data-label="${this.textContent}">
19
19
  <slot></slot>
20
- </a>` : `<button data-label="${this.textContent}"><slot></slot></button>`}`, this.shadowRoot.innerHTML = this.template(), this.shadowRoot.adoptedStyleSheets = [et], this.internals = (t = this.attachInternals) == null ? void 0 : t.call(this), this.role = "listitem", this.internals && (this.internals.role = "listitem");
20
+ </a>` : `<button data-label="${this.textContent}"><slot></slot></button>`}`, this.shadowRoot.innerHTML = this.template(), this.shadowRoot.adoptedStyleSheets = [at], this.internals = (t = this.attachInternals) == null ? void 0 : t.call(this), this.role = "listitem", this.internals && (this.internals.role = "listitem");
21
21
  }
22
22
  static get observedAttributes() {
23
23
  return ["for", "href"];
@@ -34,8 +34,8 @@ class St extends U {
34
34
  disconnectedCallback() {
35
35
  this.contentObserver.disconnect();
36
36
  }
37
- attributeChangedCallback(t, e, r) {
38
- super.attributeChangedCallback(t, e, r), t === "href" && this.$a && r ? this.shadowRoot.innerHTML = this.template() : t === "for" && this.$button && r && (this.shadowRoot.innerHTML = this.template(), this.setupButtonA11y());
37
+ attributeChangedCallback(t, e, o) {
38
+ super.attributeChangedCallback(t, e, o), t === "href" && this.$a && o ? this.shadowRoot.innerHTML = this.template() : t === "for" && this.$button && o && (this.shadowRoot.innerHTML = this.template(), this.setupButtonA11y());
39
39
  }
40
40
  setupButtonA11y() {
41
41
  this.$button.ariaExpanded = "false", this.$button.setAttribute("aria-controls", this.for || "");
@@ -64,12 +64,12 @@ class St extends U {
64
64
  return this.shadowRoot.querySelector("a");
65
65
  }
66
66
  }
67
- customElements.get("px-header-item") || customElements.define("px-header-item", St);
68
- const Et = ':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)}}', Ct = `.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)}}`, Tt = ".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(), rt = new CSSStyleSheet(), at = new CSSStyleSheet();
69
- ot.replaceSync(Et);
70
- rt.replaceSync(Ct);
71
- at.replaceSync(Tt);
72
- const Lt = [...mt, "link-m", "link-s"], Mt = [
67
+ customElements.get("px-header-item") || customElements.define("px-header-item", Mt);
68
+ const Rt = ':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,a.wrapper{text-decoration:none}a.no-style:hover,a.no-style:focus-visible,a.wrapper:hover,a.wrapper:focus-visible{color:inherit}a.wrapper{display:block}a.wrapper:hover,a.wrapper:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}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.wrapper:hover,a.wrapper:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline:var(--px-focus-outline-tablet) solid var(--px-color-border-focus-outline-default)}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.wrapper:hover,a.wrapper:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline:var(--px-focus-outline-laptop) solid var(--px-color-border-focus-outline-default)}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.wrapper:hover,a.wrapper:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline:var(--px-focus-outline-desktop) solid var(--px-color-border-focus-outline-default)}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)}}', qt = `.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-brand-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-m);height:var(--px-size-m);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}:is()[slot=after]{padding:0 0 0 var(--px-padding-2xs-mobile)}:is()[slot=before]{padding:0 var(--px-padding-2xs-mobile) 0 0}.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-m);height:var(--px-size-m);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;gap:var(--px-spacing-s-mobile);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='M12.38 5.90237C12.125 5.65131 11.7115 5.65131 11.4564 5.90237L7.99986 9.30494L4.54328 5.90237C4.28824 5.65131 3.87474 5.65131 3.61971 5.90237C3.36467 6.15342 3.36467 6.56045 3.61971 6.8115L7.53808 10.6686C7.79311 10.9197 8.20661 10.9197 8.46164 10.6686L12.38 6.8115C12.635 6.56045 12.635 6.15342 12.38 5.90237Z' 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='M12.38 5.90237C12.125 5.65131 11.7115 5.65131 11.4564 5.90237L7.99986 9.30494L4.54328 5.90237C4.28824 5.65131 3.87474 5.65131 3.61971 5.90237C3.36467 6.15342 3.36467 6.56045 3.61971 6.8115L7.53808 10.6686C7.79311 10.9197 8.20661 10.9197 8.46164 10.6686L12.38 6.8115C12.635 6.56045 12.635 6.15342 12.38 5.90237Z' fill='%235C2D91'/%3E%3C/svg%3E");background-color:currentColor;color:var(--px-color-icon-brand-default);--btn-transition: all .2s ease-in-out 0s;transition:var(--btn-transition)}.btn.header-dropdown[aria-expanded=true]:after{transform:rotate(180deg)}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)}button.wrapper{all:unset;cursor:pointer}button.wrapper:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}button.wrapper[disabled],button.wrapper[aria-disabled=true]{cursor:default;pointer-events:none}: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-brand-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)}:host([inverted]) button.wrapper:focus-visible{outline-color:var(--px-color-border-focus-outline-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){button.wrapper:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline:var(--px-focus-outline-tablet) solid var(--px-color-border-focus-outline-default)}.btn{width:var(--button-extended--tablet, var(--button-extended, auto));font-size:var(--px-text-size-label-m-tablet);gap:var(--px-spacing-2xs-tablet)}.btn:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}.btn.actionable-tag{padding:var(--px-padding-2xs-tablet) var(--px-padding-xs-tablet);gap:var(--px-spacing-xs-tablet)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown){padding:var(--px-padding-xs-tablet) var(--px-padding-m-tablet)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-tablet) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="before"]){margin-left:calc(var(--px-padding-xs-tablet) * -1)}.btn.secondary{padding:var(--px-padding-xs-tablet) var(--px-padding-m-tablet)}.btn.tertiary{padding:var(--px-padding-2xs-tablet) 0;gap:var(--px-spacing-xs-tablet)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-tablet) var(--px-padding-s-tablet)}:is()[slot=after]{padding:0 0 0 var(--px-padding-2xs-tablet)}:is()[slot=before]{padding:0 var(--px-padding-2xs-tablet) 0 0}.btn.header-dropdown{justify-content:flex-start;align-items:center;gap:var(--px-spacing-xs-tablet);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){button.wrapper:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline:var(--px-focus-outline-laptop) solid var(--px-color-border-focus-outline-default)}.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:hover:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-laptop) var(--px-padding-s-laptop)}:is()[slot=after]{padding:0 0 0 var(--px-padding-2xs-laptop)}:is()[slot=before]{padding:0 var(--px-padding-2xs-laptop) 0 0}.btn.header-dropdown{gap:var(--px-spacing-xs-laptop);font-size:var(--px-text-size-label-m-laptop);padding:0}}@media only screen and (min-width: 90.0625em){button.wrapper:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline:var(--px-focus-outline-desktop) solid var(--px-color-border-focus-outline-default)}.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:hover:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-desktop) var(--px-padding-s-desktop)}:is()[slot=after]{padding:0 0 0 var(--px-padding-2xs-desktop)}:is()[slot=before]{padding:0 var(--px-padding-2xs-desktop) 0 0}.btn.header-dropdown{gap:var(--px-spacing-xs-desktop);font-size:var(--px-text-size-label-m-desktop);padding:0}}@keyframes anim-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}`, It = ".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)}", it = new CSSStyleSheet(), nt = new CSSStyleSheet(), st = new CSSStyleSheet();
69
+ it.replaceSync(Rt);
70
+ nt.replaceSync(qt);
71
+ st.replaceSync(It);
72
+ const Nt = [...zt, "link-m", "link-s"], Ot = [
73
73
  "link",
74
74
  "no-style",
75
75
  "skip-link",
@@ -77,10 +77,10 @@ const Lt = [...mt, "link-m", "link-s"], Mt = [
77
77
  "btn-secondary",
78
78
  "btn-tertiary",
79
79
  "icon-link"
80
- ], Rt = ["", "default", "alternative"], Y = class Y extends kt {
80
+ ], jt = ["", "default", "alternative"], j = class j extends $t {
81
81
  constructor() {
82
- super(ot, rt, at), this.template = () => '<slot name="before"></slot><slot></slot><slot name="after"></slot>';
83
- const t = document.createElement(this.nativeName);
82
+ super(it, nt, st), this.template = () => '<slot name="before"></slot><slot></slot><slot name="after"></slot>';
83
+ const t = document.createElement(j.nativeName);
84
84
  t.innerHTML = this.template(), this.shadowRoot.appendChild(t);
85
85
  }
86
86
  static get observedAttributes() {
@@ -106,79 +106,87 @@ const Lt = [...mt, "link-m", "link-s"], Mt = [
106
106
  ];
107
107
  }
108
108
  connectedCallback() {
109
- super.connectedCallback(), this.$before && this.$before.localName === "px-icon" && this.configureBeforeAfterIcon(this.$before), this.$after && this.$after.localName === "px-icon" && this.configureBeforeAfterIcon(this.$after), yt(this, this.$el, !1);
109
+ this.$before && this.$before.localName === "px-icon" && this.configureBeforeAfterIcon(this.$before), this.$after && this.$after.localName === "px-icon" && this.configureBeforeAfterIcon(this.$after), At(this, this.$el, !1);
110
+ }
111
+ disconnectedCallback() {
110
112
  }
111
- attributeChangedCallback(t, e, r) {
112
- if (e !== r)
113
+ attributeChangedCallback(t, e, o) {
114
+ if (e !== o)
113
115
  switch (t) {
114
116
  case "disabled":
115
- this.$el.toggleAttribute("aria-disabled"), r !== null && this.$el.setAttribute("aria-disabled", "true");
117
+ this.$el.toggleAttribute("aria-disabled"), o !== null && this.$el.setAttribute("aria-disabled", "true");
116
118
  break;
117
119
  case "variant":
118
- this.updateVariant(e, r);
120
+ this.updateVariant(e, o);
119
121
  break;
120
122
  case "shape":
121
123
  case "shape--mobile":
122
124
  case "shape--tablet":
123
125
  case "shape--laptop":
124
126
  case "shape--desktop":
125
- this.updateShape(t, r, Rt);
127
+ this.updateShape(t, o, jt);
126
128
  break;
127
129
  case "extended":
128
130
  case "extended--mobile":
129
131
  case "extended--tablet":
130
132
  case "extended--laptop":
131
133
  case "extended--desktop":
132
- this.updateExtended(t, r);
134
+ this.updateExtended(t, o);
133
135
  break;
134
136
  case "font-size":
135
137
  this.updateTypography(
136
138
  t,
137
139
  e,
138
- r,
139
- Lt
140
+ o,
141
+ Nt
140
142
  );
141
143
  break;
142
144
  case "color":
143
- this.updateTypography(t, e, r, wt);
145
+ this.updateTypography(t, e, o, Ct);
144
146
  break;
145
147
  case "font-weight":
146
- this.updateTypography(t, e, r, zt);
148
+ this.updateTypography(t, e, o, St);
147
149
  break;
148
150
  case "title":
149
- r && (this.$el.setAttribute("title", r), this.removeAttribute("title"));
151
+ o && (this.$el.setAttribute("title", o), this.removeAttribute("title"));
150
152
  break;
151
153
  default:
152
- super.attributeChangedCallback(t, e, r);
154
+ super.attributeChangedCallback(t, e, o);
153
155
  break;
154
156
  }
155
157
  }
156
158
  configureBeforeAfterIcon(t) {
157
- const e = t.getAttribute("size"), r = t.getAttribute("color");
159
+ const e = t.getAttribute("size"), o = t.getAttribute("color");
158
160
  t.addEventListener("click", () => {
159
161
  this.$el.focus();
160
- }), e || t.setAttribute("size", "xs"), r || t.setAttribute("color", "inherit");
162
+ }), e || t.setAttribute("size", "xs"), o || t.setAttribute("color", "inherit");
161
163
  }
162
164
  _toggleClassList(t) {
163
165
  if (t.startsWith("btn-")) {
164
166
  const e = t.split("-");
165
- for (const r of e)
166
- this.$el.classList.toggle(r);
167
+ for (const o of e)
168
+ this.$el.classList.toggle(o);
167
169
  } else
168
170
  this.$el.classList.toggle(t);
169
171
  }
170
172
  updateVariant(t, e) {
171
- t !== null && t !== "" && t !== "link" && this._toggleClassList(t), e !== null && e !== "" && e !== "link" && this._toggleClassList(e), this.checkName(Mt, e) || console.error(`Bad "variant" value for ${e}`), e === "icon-link" && this.$iconNotBeforeAfter.setAttribute("color", "inherit");
172
- }
173
- updateShape(t, e, r) {
174
- if (!$t(r, e)) {
175
- console.error(`${e} is not a valid shape value`);
173
+ t !== null && t !== "" && t !== "link" && this._toggleClassList(t), e !== null && e !== "" && e !== "link" && this._toggleClassList(e), this.checkName(Ot, e) || q(
174
+ `${e} is not an allowed variant value for ${this.tagName.toLowerCase()}`
175
+ ), e === "icon-link" && this.$iconNotBeforeAfter.setAttribute("color", "inherit");
176
+ }
177
+ updateShape(t, e, o) {
178
+ if (!Et(o, e)) {
179
+ q(
180
+ `${e} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
181
+ );
176
182
  return;
177
183
  }
178
184
  e !== null && e !== "" && this.$el.setAttribute(t, e);
179
185
  }
180
- updateTypography(t, e, r, n) {
181
- e !== null && e !== "" && e !== "default" && this.$el.classList.toggle(`${t}-${e}`), r !== null && r !== "" && r !== "default" && this.$el.classList.toggle(`${t}-${r}`), this.checkName(n, r) || console.error(`Bad ${t} value: ${r}`);
186
+ updateTypography(t, e, o, a) {
187
+ e !== null && e !== "" && e !== "default" && this.$el.classList.toggle(`${t}-${e}`), o !== null && o !== "" && o !== "default" && this.$el.classList.toggle(`${t}-${o}`), this.checkName(a, o) || q(
188
+ `${o} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
189
+ );
182
190
  }
183
191
  updateExtended(t, e) {
184
192
  e === null ? this.$el.style.setProperty(`--button-${t}`, "") : this.$el.style.setProperty(`--button-${t}`, "100%");
@@ -297,10 +305,44 @@ const Lt = [...mt, "link-m", "link-s"], Mt = [
297
305
  t ? this.setAttribute("title", t) : this.removeAttribute("title");
298
306
  }
299
307
  };
300
- Y.nativeName = "a";
301
- let _ = Y;
302
- customElements.get("px-a") || customElements.define("px-a", _);
303
- class qt extends HTMLElement {
308
+ j.nativeName = "a";
309
+ let I = j;
310
+ customElements.get("px-a") || customElements.define("px-a", I);
311
+ var m, P, dt;
312
+ class Pt extends I {
313
+ constructor() {
314
+ super();
315
+ u(this, P);
316
+ u(this, m);
317
+ this.$el.classList.add("wrapper"), k(this, m, new Lt(
318
+ this,
319
+ this.$el,
320
+ () => b(this, P, dt).call(this)
321
+ ));
322
+ }
323
+ connectedCallback() {
324
+ super.connectedCallback(), d(this, m).connect();
325
+ }
326
+ disconnectedCallback() {
327
+ super.disconnectedCallback(), d(this, m).disconnect();
328
+ }
329
+ attributeChangedCallback(e, o, a) {
330
+ if (o !== a)
331
+ switch (e) {
332
+ case "disabled":
333
+ super.attributeChangedCallback(e, o, a), a !== null && d(this, m).clearInteractiveState();
334
+ break;
335
+ default:
336
+ super.attributeChangedCallback(e, o, a);
337
+ break;
338
+ }
339
+ }
340
+ }
341
+ m = new WeakMap(), P = new WeakSet(), dt = function() {
342
+ return !this.hasAttribute("disabled") && this.$el.getAttribute("aria-disabled") !== "true";
343
+ };
344
+ customElements.get("px-a-wrapper") || customElements.define("px-a-wrapper", Pt);
345
+ class Bt extends HTMLElement {
304
346
  constructor() {
305
347
  super(), this.template = `<px-a font-weight="title" font-size="body-l" color="brand" variant="no-style">
306
348
  <slot></slot>
@@ -311,146 +353,144 @@ class qt extends HTMLElement {
311
353
  });
312
354
  }
313
355
  }
314
- customElements.get("px-mdd-a") || customElements.define("px-mdd-a", qt);
315
- const Nt = "#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)}}";
316
- function R(o) {
317
- var t = typeof o;
318
- return o != null && (t == "object" || t == "function");
356
+ customElements.get("px-mdd-a") || customElements.define("px-mdd-a", Bt);
357
+ const Ht = "#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:flex;justify-content:space-between;align-items:center;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)}}";
358
+ function N(r) {
359
+ var t = typeof r;
360
+ return r != null && (t == "object" || t == "function");
319
361
  }
320
- var jt = typeof global == "object" && global && global.Object === Object && global, Ot = typeof self == "object" && self && self.Object === Object && self, it = jt || Ot || Function("return this")(), H = function() {
321
- return it.Date.now();
322
- }, It = /\s/;
323
- function Pt(o) {
324
- for (var t = o.length; t-- && It.test(o.charAt(t)); )
362
+ var Wt = typeof global == "object" && global && global.Object === Object && global, Dt = typeof self == "object" && self && self.Object === Object && self, lt = Wt || Dt || Function("return this")(), U = function() {
363
+ return lt.Date.now();
364
+ }, Ft = /\s/;
365
+ function _t(r) {
366
+ for (var t = r.length; t-- && Ft.test(r.charAt(t)); )
325
367
  ;
326
368
  return t;
327
369
  }
328
- var Bt = /^\s+/;
329
- function Ht(o) {
330
- return o && o.slice(0, Pt(o) + 1).replace(Bt, "");
370
+ var Ut = /^\s+/;
371
+ function Yt(r) {
372
+ return r && r.slice(0, _t(r) + 1).replace(Ut, "");
331
373
  }
332
- var q = it.Symbol, nt = Object.prototype, _t = nt.hasOwnProperty, Ft = nt.toString, S = q ? q.toStringTag : void 0;
333
- function Wt(o) {
334
- var t = _t.call(o, S), e = o[S];
374
+ var O = lt.Symbol, pt = Object.prototype, Zt = pt.hasOwnProperty, Xt = pt.toString, C = O ? O.toStringTag : void 0;
375
+ function Jt(r) {
376
+ var t = Zt.call(r, C), e = r[C];
335
377
  try {
336
- o[S] = void 0;
337
- var r = !0;
378
+ r[C] = void 0;
379
+ var o = !0;
338
380
  } catch {
339
381
  }
340
- var n = Ft.call(o);
341
- return r && (t ? o[S] = e : delete o[S]), n;
382
+ var a = Xt.call(r);
383
+ return o && (t ? r[C] = e : delete r[C]), a;
342
384
  }
343
- var Dt = Object.prototype, Ut = Dt.toString;
344
- function Yt(o) {
345
- return Ut.call(o);
385
+ var Kt = Object.prototype, Qt = Kt.toString;
386
+ function Gt(r) {
387
+ return Qt.call(r);
346
388
  }
347
- var Zt = "[object Null]", Xt = "[object Undefined]", Q = q ? q.toStringTag : void 0;
348
- function Jt(o) {
349
- return o == null ? o === void 0 ? Xt : Zt : Q && Q in Object(o) ? Wt(o) : Yt(o);
389
+ var Vt = "[object Null]", te = "[object Undefined]", tt = O ? O.toStringTag : void 0;
390
+ function ee(r) {
391
+ return r == null ? r === void 0 ? te : Vt : tt && tt in Object(r) ? Jt(r) : Gt(r);
350
392
  }
351
- function Kt(o) {
352
- return o != null && typeof o == "object";
393
+ function oe(r) {
394
+ return r != null && typeof r == "object";
353
395
  }
354
- var Qt = "[object Symbol]";
355
- function Gt(o) {
356
- return typeof o == "symbol" || Kt(o) && Jt(o) == Qt;
396
+ var re = "[object Symbol]";
397
+ function ae(r) {
398
+ return typeof r == "symbol" || oe(r) && ee(r) == re;
357
399
  }
358
- var G = NaN, Vt = /^[-+]0x[0-9a-f]+$/i, te = /^0b[01]+$/i, ee = /^0o[0-7]+$/i, oe = parseInt;
359
- function V(o) {
360
- if (typeof o == "number")
361
- return o;
362
- if (Gt(o))
363
- return G;
364
- if (R(o)) {
365
- var t = typeof o.valueOf == "function" ? o.valueOf() : o;
366
- o = R(t) ? t + "" : t;
367
- }
368
- if (typeof o != "string")
369
- return o === 0 ? o : +o;
370
- o = Ht(o);
371
- var e = te.test(o);
372
- return e || ee.test(o) ? oe(o.slice(2), e ? 2 : 8) : Vt.test(o) ? G : +o;
400
+ var et = NaN, ie = /^[-+]0x[0-9a-f]+$/i, ne = /^0b[01]+$/i, se = /^0o[0-7]+$/i, de = parseInt;
401
+ function ot(r) {
402
+ if (typeof r == "number")
403
+ return r;
404
+ if (ae(r))
405
+ return et;
406
+ if (N(r)) {
407
+ var t = typeof r.valueOf == "function" ? r.valueOf() : r;
408
+ r = N(t) ? t + "" : t;
409
+ }
410
+ if (typeof r != "string")
411
+ return r === 0 ? r : +r;
412
+ r = Yt(r);
413
+ var e = ne.test(r);
414
+ return e || se.test(r) ? de(r.slice(2), e ? 2 : 8) : ie.test(r) ? et : +r;
373
415
  }
374
- var re = "Expected a function", ae = Math.max, ie = Math.min;
375
- function ne(o, t, e) {
376
- var r, n, s, i, l, c, g = 0, w = !1, u = !1, O = !0;
377
- if (typeof o != "function")
378
- throw new TypeError(re);
379
- t = V(t) || 0, R(e) && (w = !!e.leading, u = "maxWait" in e, s = u ? ae(V(e.maxWait) || 0, t) : s, O = "trailing" in e ? !!e.trailing : O);
380
- function I(p) {
381
- var x = r, $ = n;
382
- return r = n = void 0, g = p, i = o.apply($, x), i;
383
- }
384
- function xt(p) {
385
- return g = p, l = setTimeout(L, t), w ? I(p) : i;
386
- }
387
- function gt(p) {
388
- var x = p - c, $ = p - g, J = t - x;
389
- return u ? ie(J, s - $) : J;
390
- }
391
- function Z(p) {
392
- var x = p - c, $ = p - g;
393
- return c === void 0 || x >= t || x < 0 || u && $ >= s;
394
- }
395
- function L() {
396
- var p = H();
397
- if (Z(p))
398
- return X(p);
399
- l = setTimeout(L, gt(p));
400
- }
401
- function X(p) {
402
- return l = void 0, O && r ? I(p) : (r = n = void 0, i);
403
- }
404
- function vt() {
405
- l !== void 0 && clearTimeout(l), g = 0, r = c = n = l = void 0;
406
- }
407
- function ft() {
408
- return l === void 0 ? i : X(H());
409
- }
410
- function P() {
411
- var p = H(), x = Z(p);
412
- if (r = arguments, n = this, c = p, x) {
416
+ var le = "Expected a function", pe = Math.max, ce = Math.min;
417
+ function be(r, t, e) {
418
+ var o, a, s, n, l, c, g = 0, A = !1, h = !1, W = !0;
419
+ if (typeof r != "function")
420
+ throw new TypeError(le);
421
+ t = ot(t) || 0, N(e) && (A = !!e.leading, h = "maxWait" in e, s = h ? pe(ot(e.maxWait) || 0, t) : s, W = "trailing" in e ? !!e.trailing : W);
422
+ function D(p) {
423
+ var x = o, S = a;
424
+ return o = a = void 0, g = p, n = r.apply(S, x), n;
425
+ }
426
+ function mt(p) {
427
+ return g = p, l = setTimeout(M, t), A ? D(p) : n;
428
+ }
429
+ function kt(p) {
430
+ var x = p - c, S = p - g, G = t - x;
431
+ return h ? ce(G, s - S) : G;
432
+ }
433
+ function K(p) {
434
+ var x = p - c, S = p - g;
435
+ return c === void 0 || x >= t || x < 0 || h && S >= s;
436
+ }
437
+ function M() {
438
+ var p = U();
439
+ if (K(p))
440
+ return Q(p);
441
+ l = setTimeout(M, kt(p));
442
+ }
443
+ function Q(p) {
444
+ return l = void 0, W && o ? D(p) : (o = a = void 0, n);
445
+ }
446
+ function yt() {
447
+ l !== void 0 && clearTimeout(l), g = 0, o = c = a = l = void 0;
448
+ }
449
+ function wt() {
450
+ return l === void 0 ? n : Q(U());
451
+ }
452
+ function F() {
453
+ var p = U(), x = K(p);
454
+ if (o = arguments, a = this, c = p, x) {
413
455
  if (l === void 0)
414
- return xt(c);
415
- if (u)
416
- return clearTimeout(l), l = setTimeout(L, t), I(c);
456
+ return mt(c);
457
+ if (h)
458
+ return clearTimeout(l), l = setTimeout(M, t), D(c);
417
459
  }
418
- return l === void 0 && (l = setTimeout(L, t)), i;
460
+ return l === void 0 && (l = setTimeout(M, t)), n;
419
461
  }
420
- return P.cancel = vt, P.flush = ft, P;
462
+ return F.cancel = yt, F.flush = wt, F;
421
463
  }
422
- var se = "Expected a function";
423
- function de(o, t, e) {
424
- var r = !0, n = !0;
425
- if (typeof o != "function")
426
- throw new TypeError(se);
427
- return R(e) && (r = "leading" in e ? !!e.leading : r, n = "trailing" in e ? !!e.trailing : n), ne(o, t, {
428
- leading: r,
464
+ var ue = "Expected a function";
465
+ function he(r, t, e) {
466
+ var o = !0, a = !0;
467
+ if (typeof r != "function")
468
+ throw new TypeError(ue);
469
+ return N(e) && (o = "leading" in e ? !!e.leading : o, a = "trailing" in e ? !!e.trailing : a), be(r, t, {
470
+ leading: o,
429
471
  maxWait: t,
430
- trailing: n
472
+ trailing: a
431
473
  });
432
474
  }
433
- const st = new CSSStyleSheet();
434
- st.replaceSync(Nt);
435
- const le = "Menu";
436
- var T, a, dt, F, W, lt, D, v, E, C, f;
437
- class pe extends U {
475
+ const ct = new CSSStyleSheet();
476
+ ct.replaceSync(Ht);
477
+ const xe = "Menu";
478
+ var T, i, bt, Y, Z, ut, X, f, E, L, v;
479
+ class ge extends J {
438
480
  constructor() {
439
481
  var e;
440
- super(st);
441
- h(this, a);
442
- h(this, T);
482
+ super(ct);
483
+ u(this, i);
484
+ u(this, T);
443
485
  this.template = `
444
486
  <div>
445
487
  <header>
446
488
  <slot name="skip"></slot>
447
- <px-section id="navigation-container" padding-block--mobile="s" padding-block="none"
448
- background-color="none">
449
- <px-hstack id="dropdown-zone--desktop" align-items="center">
489
+ <px-section id="navigation-container" padding-block--mobile="s" padding-block="none" background-color="none">
490
+ <div id="dropdown-zone--desktop">
450
491
  <slot name="target-group"></slot>
451
- <px-spacer></px-spacer>
452
492
  <slot name="user-language"></slot>
453
- </px-hstack>
493
+ </div>
454
494
  <px-hstack gap="default" wrap="wrap" align-items="center">
455
495
  <slot name="header-logo"></slot>
456
496
  <nav id="primary-navigation" aria-label="${this.primaryNavigationAriaLabel}">
@@ -463,8 +503,8 @@ class pe extends U {
463
503
  <px-spacer></px-spacer>
464
504
  <px-hstack gap--mobile="none" gap="default">
465
505
  <slot name="header-actions"></slot>
466
- <px-button-icon variant="naked" aria-label="${this.burgerMenuAriaLabel ?? "Open menu"}"
467
- aria-expanded="false" aria-controls="__lavender_mobile_menu" hidden--tablet hidden--laptop
506
+ <px-button-icon id="burger-menu" variant="naked" aria-label="${this.burgerMenuAriaLabel ?? "Open menu"}"
507
+ aria-expanded="false" hidden--tablet hidden--laptop
468
508
  hidden--desktop>
469
509
  <px-icon name="burger_menu" from="lavender"></px-icon>
470
510
  </px-button-icon>
@@ -479,44 +519,44 @@ class pe extends U {
479
519
  <div id="backdrop-filter"></div>
480
520
  <slot name="main"></slot>
481
521
  </div>
482
- `, A(this, T, () => {
483
- window.innerWidth >= 768 && (b(this, a, lt).call(this), b(this, a, dt).call(this));
522
+ `, k(this, T, () => {
523
+ window.innerWidth >= 768 && (b(this, i, ut).call(this), b(this, i, bt).call(this));
484
524
  }), this.shadowRoot.innerHTML = this.template, this.internals = (e = this.attachInternals) == null ? void 0 : e.call(this), this.role = "navigation", this.internals && (this.internals.role = "navigation");
485
525
  }
486
526
  connectedCallback() {
487
527
  this.addEventListener("click", (e) => {
488
- const r = e.target.closest(
528
+ const o = e.target.closest(
489
529
  "px-header-item"
490
530
  );
491
- r && r.for && (e.target.checked === !1 ? (this.$backdropFilter.style.display = "block", d(this, a, E).forEach((n) => {
492
- n.checked = !1;
493
- }), r.checked = !0, b(this, a, F).call(this, e.target.for)) : b(this, a, D).call(this));
531
+ o && o.for && (e.target.checked === !1 ? (this.$backdropFilter.style.display = "block", d(this, i, E).forEach((a) => {
532
+ a.checked = !1;
533
+ }), o.checked = !0, b(this, i, Y).call(this, e.target.for)) : b(this, i, X).call(this));
494
534
  }), this.addEventListener("section-item-click", (e) => {
495
- this.$backdropFilter.style.display = "block", d(this, a, E).forEach((r) => {
496
- r.checked = !1;
535
+ this.$backdropFilter.style.display = "block", d(this, i, E).forEach((o) => {
536
+ o.checked = !1;
497
537
  }), this.querySelector(
498
538
  `px-header-item[for="${e.detail.for}"]`
499
- ).checked = !0, b(this, a, F).call(this, e.detail.for);
539
+ ).checked = !0, b(this, i, Y).call(this, e.detail.for);
500
540
  }), this.addEventListener("back-to-mobile-menu", () => {
501
- this.$backdropFilter.style.display = "block", d(this, a, E).forEach((e) => {
541
+ this.$backdropFilter.style.display = "block", d(this, i, E).forEach((e) => {
502
542
  e.checked = !1;
503
- }), b(this, a, W).call(this);
504
- }), this.shadowRoot.addEventListener("click", (e) => {
505
- e.target.closest("px-button-icon") && (this.$burgerMenu.setAttribute("aria-expanded", "true"), b(this, a, W).call(this));
543
+ }), b(this, i, Z).call(this);
544
+ }), this.$burgerMenu.addEventListener("click", () => {
545
+ this.$burgerMenu.setAttribute("aria-expanded", "true"), b(this, i, Z).call(this);
506
546
  }), this.addEventListener("close-panel", () => {
507
- b(this, a, D).call(this), this.$burgerMenu.setAttribute("aria-expanded", "false");
547
+ b(this, i, X).call(this), this.$burgerMenu.setAttribute("aria-expanded", "false");
508
548
  }), this.addEventListener(
509
549
  "close-panel-from-dialog",
510
550
  (e) => {
511
- this.dispatchEvent(new CustomEvent("close-panel")), e.detail.clientY < d(this, a, C).getBoundingClientRect().bottom && requestAnimationFrame(() => {
512
- var r;
513
- (r = document.elementFromPoint(
551
+ this.dispatchEvent(new CustomEvent("close-panel")), e.detail.clientY < d(this, i, L).getBoundingClientRect().bottom && requestAnimationFrame(() => {
552
+ var o;
553
+ (o = document.elementFromPoint(
514
554
  e.detail.clientX,
515
555
  e.detail.clientY
516
- )) == null || r.click();
556
+ )) == null || o.click();
517
557
  });
518
558
  }
519
- ), !this.$targetGroupDropdown && !this.$userLanguageDropdown && (this.$dropDownZoneDesktop.style.display = "none"), this.primaryNavigationAriaLabel || this.setAttribute("primary-navigation-aria-label", le), window.addEventListener("resize", de(d(this, T), 200));
559
+ ), !this.$targetGroupDropdown && !this.$userLanguageDropdown && (this.$dropDownZoneDesktop.style.display = "none"), this.primaryNavigationAriaLabel || this.setAttribute("primary-navigation-aria-label", xe), window.addEventListener("resize", he(d(this, T), 200));
520
560
  }
521
561
  static get observedAttributes() {
522
562
  return [
@@ -526,23 +566,23 @@ class pe extends U {
526
566
  "back-to-menu-label"
527
567
  ];
528
568
  }
529
- attributeChangedCallback(e, r, n) {
530
- if (r !== n)
569
+ attributeChangedCallback(e, o, a) {
570
+ if (o !== a)
531
571
  switch (e) {
532
572
  case "close-button-aria-label":
533
- d(this, a, f).forEach((s) => {
534
- s.setAttribute("close-button-aria-label", n);
573
+ d(this, i, v).forEach((s) => {
574
+ s.setAttribute("close-button-aria-label", a);
535
575
  });
536
576
  break;
537
577
  case "burger-menu-aria-label":
538
- this.$burgerMenu.setAttribute("aria-label", n);
578
+ this.$burgerMenu.setAttribute("aria-label", a);
539
579
  break;
540
580
  case "primary-navigation-aria-label":
541
- this.$primaryNavigation.setAttribute("aria-label", n);
581
+ this.$primaryNavigation.setAttribute("aria-label", a);
542
582
  break;
543
583
  case "back-to-menu-label":
544
- d(this, a, f).forEach((s) => {
545
- s.setAttribute("back-to-menu-label", n);
584
+ d(this, i, v).forEach((s) => {
585
+ s.setAttribute("back-to-menu-label", a);
546
586
  });
547
587
  break;
548
588
  }
@@ -551,7 +591,7 @@ class pe extends U {
551
591
  return this.shadowRoot.querySelector("#backdrop-filter");
552
592
  }
553
593
  get $burgerMenu() {
554
- return this.shadowRoot.querySelector("px-button-icon");
594
+ return this.shadowRoot.querySelector("#burger-menu");
555
595
  }
556
596
  get $slotMain() {
557
597
  return this.querySelector('[slot="main"]');
@@ -593,73 +633,75 @@ class pe extends U {
593
633
  e ? this.setAttribute("primary-navigation-aria-label", e) : this.removeAttribute("primary-navigation-aria-label");
594
634
  }
595
635
  }
596
- T = new WeakMap(), a = new WeakSet(), dt = function() {
597
- const e = this.querySelectorAll("px-mdd"), r = d(this, a, C).getBoundingClientRect().bottom;
598
- e.forEach((n) => {
599
- n.dialogOffsetTop = `${r}px`;
636
+ T = new WeakMap(), i = new WeakSet(), bt = function() {
637
+ const e = this.querySelectorAll("px-mdd"), o = d(this, i, L).getBoundingClientRect().bottom;
638
+ e.forEach((a) => {
639
+ a.dialogOffsetTop = `${o}px`;
600
640
  });
601
- }, F = function(e) {
602
- d(this, a, v).$megaDropDown.hidden = !0, d(this, a, f).forEach((r) => {
603
- r.name === e && r.hidden && (r.dialogOffsetTop = `${d(this, a, C).getBoundingClientRect().bottom}px`, r.hidden = !r.hidden, this.querySelector(`px-header-item[for="${e}"]`).checked = !r.hidden, document.body.style.overflow = r.hidden ? "auto" : "hidden"), r.name !== e && !r.hidden && (r.hidden = !0);
641
+ }, Y = function(e) {
642
+ d(this, i, f).$megaDropDown.hidden = !0, d(this, i, v).forEach((o) => {
643
+ o.name === e && o.hidden && (o.dialogOffsetTop = `${d(this, i, L).getBoundingClientRect().bottom}px`, o.hidden = !o.hidden, this.querySelector(`px-header-item[for="${e}"]`).checked = !o.hidden, document.body.style.overflow = o.hidden ? "auto" : "hidden"), o.name !== e && !o.hidden && (o.hidden = !0);
604
644
  });
605
- }, W = function() {
606
- this.$backdropFilter.style.display = "none", d(this, a, f).forEach((e) => {
645
+ }, Z = function() {
646
+ this.$backdropFilter.style.display = "none", d(this, i, v).forEach((e) => {
607
647
  e.hidden || (e.hidden = !0);
608
- }), d(this, a, v).$megaDropDown.dialogOffsetTop = `${d(this, a, C).getBoundingClientRect().bottom}px`, d(this, a, v).$megaDropDown.hidden = !1, document.body.style.overflow = "hidden";
609
- }, lt = function() {
610
- d(this, a, v) && (d(this, a, v).$megaDropDown.hidden = !0, this.$burgerMenu.setAttribute("aria-expanded", "false"), document.body.style.overflow = "auto", this.$backdropFilter.style.display = "none");
611
- }, D = function() {
612
- this.$backdropFilter.style.display = "none", d(this, a, v).$megaDropDown.hidden = !0, d(this, a, E).forEach((e) => {
648
+ }), d(this, i, f).$megaDropDown.dialogOffsetTop = `${d(this, i, L).getBoundingClientRect().bottom}px`, d(this, i, f).$megaDropDown.hidden = !1, document.body.style.overflow = "hidden";
649
+ }, ut = function() {
650
+ d(this, i, f) && (d(this, i, f).$megaDropDown.hidden = !0, this.$burgerMenu.setAttribute("aria-expanded", "false"), Array.from(d(this, i, v)).some(
651
+ (o) => !o.hidden
652
+ ) || (document.body.style.overflow = "auto", this.$backdropFilter.style.display = "none"));
653
+ }, X = function() {
654
+ this.$backdropFilter.style.display = "none", d(this, i, f).$megaDropDown.hidden = !0, d(this, i, E).forEach((e) => {
613
655
  e.checked = !1;
614
- }), d(this, a, f).forEach((e) => {
656
+ }), d(this, i, v).forEach((e) => {
615
657
  e.hidden = !0;
616
658
  }), document.body.style.overflow = "auto";
617
- }, v = function() {
659
+ }, f = function() {
618
660
  return this.querySelector("px-header-mobile-menu");
619
661
  }, E = function() {
620
662
  return this.querySelectorAll("px-header-item");
621
- }, C = function() {
663
+ }, L = function() {
622
664
  return this.shadowRoot.querySelector("header");
623
- }, f = function() {
665
+ }, v = function() {
624
666
  return this.querySelectorAll("px-mdd");
625
667
  };
626
- customElements.get("px-header") || customElements.define("px-header", pe);
627
- const ce = ':host{position:relative}::slotted([slot="popover"]){position:absolute;border-radius:var(--px-radius-main, 8px);background:var(--px-color-background-container-light-default, #fff);box-shadow:0 20px 25px -5px #25252514;margin:0;padding:var(--px-padding-xs-mobile) 0;border:0;right:0;width:auto}:host([grow]) ::slotted([slot="trigger"]):after{right:0;padding-right:var(--px-padding-xs-mobile)}:host([anchoralignment="top-left"]) ::slotted([slot="popover"]){top:auto}:host([anchoralignment="top-right"]) ::slotted([slot="popover"]){top:auto}:host([anchoralignment="bottom-right"]) ::slotted([slot="popover"]){left:auto}@media screen and (max-width: 767px){::slotted([slot="trigger"]){display:block;width:100%}:host([anchoralignment="top-left"]) ::slotted([slot="popover"]){left:var(--px-padding-s-mobile)}:host([anchoralignment="top-right"]) ::slotted([slot="popover"]){left:var(--px-padding-s-mobile)}}@media screen and (min-width: 768px){::slotted([slot="popover"]){padding-block:var(--px-padding-s-desktop);right:auto;width:auto}}', be = [
668
+ customElements.get("px-header") || customElements.define("px-header", ge);
669
+ const fe = ':host{position:relative}::slotted([slot="popover"]){position:absolute;border-radius:var(--px-radius-main, 8px);background:var(--px-color-background-container-light-default, #fff);box-shadow:0 20px 25px -5px #25252514;margin:0;padding:var(--px-padding-xs-mobile) 0;border:0;right:0;width:auto}:host([grow]) ::slotted([slot="trigger"]):after{right:0;padding-right:var(--px-padding-xs-mobile)}:host([anchoralignment="top-left"]) ::slotted([slot="popover"]){top:auto}:host([anchoralignment="top-right"]) ::slotted([slot="popover"]){top:auto}:host([anchoralignment="bottom-right"]) ::slotted([slot="popover"]){left:auto}@media screen and (max-width: 767px){::slotted([slot="trigger"]){display:block;width:100%}:host([anchoralignment="top-left"]) ::slotted([slot="popover"]){left:var(--px-padding-s-mobile)}:host([anchoralignment="top-right"]) ::slotted([slot="popover"]){left:var(--px-padding-s-mobile)}}@media screen and (min-width: 768px){::slotted([slot="popover"]){padding-block:var(--px-padding-s-desktop);right:auto;width:auto}}', ve = [
628
670
  "top-left",
629
671
  "top-right",
630
672
  "bottom-left",
631
673
  "bottom-right"
632
674
  ];
633
- function tt(o, t, e = "bottom-left", r, n = !1) {
634
- "anchorName" in document.documentElement.style && n === !1 || t.addEventListener("toggle", () => {
635
- var w, u;
636
- if (!o || !t)
675
+ function rt(r, t, e = "bottom-left", o, a = !1) {
676
+ "anchorName" in document.documentElement.style && a === !1 || t.addEventListener("toggle", () => {
677
+ var A, h;
678
+ if (!r || !t)
637
679
  return;
638
- const s = o.getBoundingClientRect(), i = ((w = window.visualViewport) == null ? void 0 : w.height) ?? window.innerHeight, l = ((u = window.visualViewport) == null ? void 0 : u.width) ?? window.innerWidth, c = r.getPropertyValue("--px-padding-s-mobile") || "16px", g = parseInt(
639
- (r.getPropertyValue("--px-icon-size-xs-desktop") || "24").replace("px", "")
680
+ const s = r.getBoundingClientRect(), n = ((A = window.visualViewport) == null ? void 0 : A.height) ?? window.innerHeight, l = ((h = window.visualViewport) == null ? void 0 : h.width) ?? window.innerWidth, c = o.getPropertyValue("--px-padding-s-mobile") || "16px", g = parseInt(
681
+ (o.getPropertyValue("--px-icon-size-xs-desktop") || "24").replace("px", "")
640
682
  );
641
- ["top-left", "top-right"].includes(e) ? (t.style.bottom = `calc( ${c} + ${i - s.top - window.scrollY}px)`, t.style.top = "auto", e === "top-left" ? t.style.left = l < 768 ? `${c}px` : `${s.left}px` : t.style.right = l < 768 ? `${c}px` : `${l - s.right}px`) : (t.style.top = `${s.bottom + window.scrollY}px`, e === "bottom-left" ? t.style.left = l < 768 ? `${c}px` : `${s.left}px` : t.style.right = l < 768 ? `${c}px` : `${l - s.right - g}px`);
683
+ ["top-left", "top-right"].includes(e) ? (t.style.bottom = `calc( ${c} + ${n - s.top - window.scrollY}px)`, t.style.top = "auto", e === "top-left" ? t.style.left = l < 768 ? `${c}px` : `${s.left}px` : t.style.right = l < 768 ? `${c}px` : `${l - s.right}px`) : (t.style.top = `${s.bottom + window.scrollY}px`, e === "bottom-left" ? t.style.left = l < 768 ? `${c}px` : `${s.left}px` : t.style.right = l < 768 ? `${c}px` : `${l - s.right - g}px`);
642
684
  });
643
685
  }
644
- const pt = new CSSStyleSheet();
645
- pt.replaceSync(ce);
646
- const M = "bottom-left";
647
- var z, ct, m, k, y, bt;
648
- class he extends U {
686
+ const ht = new CSSStyleSheet();
687
+ ht.replaceSync(fe);
688
+ const R = "bottom-left";
689
+ var $, xt, y, w, z, gt;
690
+ class me extends J {
649
691
  constructor() {
650
- super(pt);
651
- h(this, z);
652
- h(this, m);
653
- h(this, k);
654
- h(this, y);
692
+ super(ht);
693
+ u(this, $);
694
+ u(this, y);
695
+ u(this, w);
696
+ u(this, z);
655
697
  this.template = () => `
656
698
  <style>${this.css}</style>
657
699
  <slot name="trigger"></slot>
658
- <slot name="popover"></slot>`, this.isAboutToClose = !1, A(this, m, () => {
700
+ <slot name="popover"></slot>`, this.isAboutToClose = !1, k(this, y, () => {
659
701
  this.isAboutToClose || (this.$popoverElement.togglePopover({ source: this.$trigger }), this.$trigger.ariaExpanded = "true");
660
- }), A(this, k, () => {
702
+ }), k(this, w, () => {
661
703
  this.$popoverElement.matches(":popover-open") && (this.isAboutToClose = !0, this.$trigger.ariaExpanded = "false");
662
- }), A(this, y, () => {
704
+ }), k(this, z, () => {
663
705
  this.$popoverElement.matches(":popover-open") || setTimeout(() => {
664
706
  this.isAboutToClose = !1;
665
707
  });
@@ -715,7 +757,7 @@ class he extends U {
715
757
  this.getAttribute("id") || this.setAttribute(
716
758
  "id",
717
759
  `px-dropdown-${Math.random().toString(36).substring(2, 15)}`
718
- ), this.getAttribute("anchoralignment") || this.setAttribute("anchoralignment", M), tt(
760
+ ), this.getAttribute("anchoralignment") || this.setAttribute("anchoralignment", R), rt(
719
761
  this.$trigger,
720
762
  this.$popoverElement,
721
763
  this.anchorAlignment,
@@ -723,14 +765,14 @@ class he extends U {
723
765
  this.usePolyfill
724
766
  );
725
767
  }
726
- attributeChangedCallback(e, r, n) {
727
- if (r !== n)
768
+ attributeChangedCallback(e, o, a) {
769
+ if (o !== a)
728
770
  switch (e) {
729
771
  case "id":
730
772
  this.initPopover();
731
773
  break;
732
774
  case "use-polyfill":
733
- tt(
775
+ rt(
734
776
  this.$trigger,
735
777
  this.$popoverElement,
736
778
  this.anchorAlignment,
@@ -739,12 +781,12 @@ class he extends U {
739
781
  );
740
782
  break;
741
783
  default:
742
- super.attributeChangedCallback(e, r, n);
784
+ super.attributeChangedCallback(e, o, a);
743
785
  break;
744
786
  }
745
787
  }
746
788
  initPopover() {
747
- this.$trigger && (this.$trigger.setAttribute("popovertarget", this.popoverId), this.$trigger.setAttribute("aria-controls", this.popoverId), this.$trigger.setAttribute("aria-expanded", "false"), this.$popoverElement.setAttribute("id", this.popoverId), this.$popoverElement.setAttribute("popover", ""), this.$style.innerHTML = this.css, b(this, z, ct).call(this), b(this, z, bt).call(this));
789
+ this.$trigger && (this.$trigger.setAttribute("popovertarget", this.popoverId), this.$trigger.setAttribute("aria-controls", this.popoverId), this.$trigger.setAttribute("aria-expanded", "false"), this.$popoverElement.setAttribute("id", this.popoverId), this.$popoverElement.setAttribute("popover", ""), this.$style.innerHTML = this.css, b(this, $, xt).call(this), b(this, $, gt).call(this));
748
790
  }
749
791
  get popoverId() {
750
792
  return `${this.getAttribute("id")}-popover`;
@@ -762,12 +804,12 @@ class he extends U {
762
804
  return this.querySelector('[slot="popover"]');
763
805
  }
764
806
  get anchorAlignment() {
765
- return this.getAttribute("anchoralignment") || M;
807
+ return this.getAttribute("anchoralignment") || R;
766
808
  }
767
809
  set anchorAlignment(e) {
768
- be.includes(e) ? this.setAttribute("anchoralignment", e) : (console.warn(
769
- `Invalid anchor alignment value: ${e}. Using default ${M}.`
770
- ), this.setAttribute("anchoralignment", M));
810
+ ve.includes(e) ? this.setAttribute("anchoralignment", e) : (q(
811
+ `Invalid anchor alignment value: ${e}. Using default ${R}.`
812
+ ), this.setAttribute("anchoralignment", R));
771
813
  }
772
814
  get usePolyfill() {
773
815
  return this.hasAttribute("use-polyfill");
@@ -776,36 +818,36 @@ class he extends U {
776
818
  e ? this.setAttribute("use-polyfill", "") : this.removeAttribute("use-polyfill");
777
819
  }
778
820
  }
779
- z = new WeakSet(), ct = function() {
780
- this.isAboutToClose = !1, this.$trigger.removeEventListener("click", d(this, m)), this.$popoverElement.removeEventListener(
821
+ $ = new WeakSet(), xt = function() {
822
+ this.isAboutToClose = !1, this.$trigger.removeEventListener("click", d(this, y)), this.$popoverElement.removeEventListener(
781
823
  "beforetoggle",
782
- d(this, k)
783
- ), this.$popoverElement.removeEventListener("toggle", d(this, y));
784
- }, m = new WeakMap(), k = new WeakMap(), y = new WeakMap(), /**
824
+ d(this, w)
825
+ ), this.$popoverElement.removeEventListener("toggle", d(this, z));
826
+ }, y = new WeakMap(), w = new WeakMap(), z = new WeakMap(), /**
785
827
  * Handles the manual display of the popover when the trigger is clicked.
786
828
  * This is necessary for cases where the trigger is not a button or input element.
787
829
  * This method adds event listeners to the trigger element to toggle the popover.
788
830
  * It also manages the state of whether the popover is about to close or not to avoid
789
831
  * race conditions when the popover is toggled and the trigger click event is fired.
790
832
  */
791
- bt = function() {
792
- this.$trigger && !["button", "input"].includes(this.$trigger.localName) && (this.$trigger.addEventListener("click", d(this, m)), this.$popoverElement.addEventListener("beforetoggle", d(this, k)), this.$popoverElement.addEventListener("toggle", d(this, y)));
833
+ gt = function() {
834
+ this.$trigger && !["button", "input"].includes(this.$trigger.localName) && (this.$trigger.addEventListener("click", d(this, y)), this.$popoverElement.addEventListener("beforetoggle", d(this, w)), this.$popoverElement.addEventListener("toggle", d(this, z)));
793
835
  };
794
- customElements.get("px-dropdown") || customElements.define("px-dropdown", he);
795
- const ht = new CSSStyleSheet();
796
- ht.replaceSync(`
836
+ customElements.get("px-dropdown") || customElements.define("px-dropdown", me);
837
+ const ft = new CSSStyleSheet();
838
+ ft.replaceSync(`
797
839
  @media screen and (min-width: 48em) {
798
840
  :host {
799
841
  display: none;
800
842
  }
801
843
  }
802
844
  `);
803
- var N, j, ut;
804
- class ue extends HTMLElement {
845
+ var B, H, vt;
846
+ class ke extends HTMLElement {
805
847
  constructor() {
806
848
  super();
807
- h(this, j);
808
- h(this, N, `<px-mdd
849
+ u(this, H);
850
+ u(this, B, `<px-mdd
809
851
  name="__lavender_mobile_menu"
810
852
  hidden--tablet
811
853
  hidden--laptop
@@ -814,7 +856,7 @@ class ue extends HTMLElement {
814
856
  <span slot="title"><slot name="title"></slot></span>
815
857
  <px-mdd-section title-hidden></px-mdd-section>
816
858
  </px-mdd>`);
817
- this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = d(this, N), this.shadowRoot.adoptedStyleSheets = [ht];
859
+ this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = d(this, B), this.shadowRoot.adoptedStyleSheets = [ft];
818
860
  }
819
861
  connectedCallback() {
820
862
  this.setAttribute("slot", "header-panels");
@@ -823,39 +865,39 @@ class ue extends HTMLElement {
823
865
  throw new Error(
824
866
  "<px-header-mobile-menu> must be used within a <px-header>."
825
867
  );
826
- const r = e.querySelectorAll("px-header-item"), n = e.querySelectorAll("px-action-link"), s = this.shadowRoot.querySelector("px-mdd-section");
868
+ const o = e.querySelectorAll("px-header-item"), a = e.querySelectorAll("px-action-link"), s = this.shadowRoot.querySelector("px-mdd-section");
827
869
  s.innerHTML = `
828
- ${[...r].map((i) => {
829
- const l = i.getAttribute("for"), c = i.getAttribute("href");
830
- return l ? `<px-mdd-section-item for="${l}">${i.innerText}</px-mdd-section-item>` : c ? `<px-mdd-section-item href="${c}">${i.innerText}</px-mdd-section-item>` : "";
870
+ ${[...o].map((n) => {
871
+ const l = n.getAttribute("for"), c = n.getAttribute("href");
872
+ return l ? `<px-mdd-section-item for="${l}">${n.innerText}</px-mdd-section-item>` : c ? `<px-mdd-section-item href="${c}">${n.innerText}</px-mdd-section-item>` : "";
831
873
  }).join("")}
832
- ${[...n].filter((i) => !i.hasAttribute("promoted")).map(
833
- (i) => `<px-mdd-a href="${i.getAttribute("href")}" slot="footer">${i.innerText}</px-mdd-a>`
834
- ).join("")}`, b(this, j, ut).call(this).forEach((i) => {
835
- i && this.$megaDropDown.appendChild(i);
874
+ ${[...a].filter((n) => !n.hasAttribute("promoted")).map(
875
+ (n) => `<px-mdd-a href="${n.getAttribute("href")}" slot="footer">${n.innerText}</px-mdd-a>`
876
+ ).join("")}`, b(this, H, vt).call(this).forEach((n) => {
877
+ n && this.$megaDropDown.appendChild(n);
836
878
  });
837
879
  }
838
880
  get $megaDropDown() {
839
881
  return this.shadowRoot.querySelector("px-mdd");
840
882
  }
841
883
  }
842
- N = new WeakMap(), j = new WeakSet(), ut = function() {
843
- const e = this.closest("px-header"), r = e.querySelector(
884
+ B = new WeakMap(), H = new WeakSet(), vt = function() {
885
+ const e = this.closest("px-header"), o = e.querySelector(
844
886
  'px-dropdown[slot="target-group"]'
845
- ), n = e.querySelector(
887
+ ), a = e.querySelector(
846
888
  'px-dropdown[slot="user-language"]'
847
- ), s = r == null ? void 0 : r.cloneNode(
889
+ ), s = o == null ? void 0 : o.cloneNode(
848
890
  !0
849
891
  );
850
892
  s == null || s.removeAttribute("id"), s == null || s.setAttribute("slot", "mdd-footer"), s == null || s.setAttribute("grow", "3"), s == null || s.setAttribute("anchoralignment", "top-left");
851
- const i = n == null ? void 0 : n.cloneNode(
893
+ const n = a == null ? void 0 : a.cloneNode(
852
894
  !0
853
895
  );
854
- return i == null || i.removeAttribute("id"), i == null || i.setAttribute("slot", "mdd-footer"), i == null || i.setAttribute("grow", "1"), i == null || i.setAttribute("anchoralignment", "top-right"), [s, i];
896
+ return n == null || n.removeAttribute("id"), n == null || n.setAttribute("slot", "mdd-footer"), n == null || n.setAttribute("grow", "1"), n == null || n.setAttribute("anchoralignment", "top-right"), [s, n];
855
897
  };
856
- customElements.get("px-header-mobile-menu") || customElements.define("px-header-mobile-menu", ue);
898
+ customElements.get("px-header-mobile-menu") || customElements.define("px-header-mobile-menu", ke);
857
899
  export {
858
- pe as Header,
859
- St as HeaderItem,
860
- ue as HeaderMobileMenu
900
+ ge as Header,
901
+ Mt as HeaderItem,
902
+ ke as HeaderMobileMenu
861
903
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-header",
3
- "version": "2.0.0-alpha.8",
3
+ "version": "2.0.0-alpha.80",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -13,7 +13,7 @@
13
13
  "clean": "rm -rf dist",
14
14
  "build": "npm run clean && NODE_ENV=development vite build && tsc && npm run transform-package-json && npm run wc-manifest",
15
15
  "test": "vitest run --coverage",
16
- "wc-manifest": "cem analyze --globs \"src/*\" --config ../custom-elements-manifest.config.js --outdir dist"
16
+ "wc-manifest": "cem analyze --globs \"src/*\" --config ../../custom-elements-manifest.config.js --outdir dist"
17
17
  },
18
18
  "publishConfig": {
19
19
  "access": "public"