@proximus/lavender-header 1.4.7-beta.2 → 1.4.7
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/index.es.js +214 -250
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
var
|
|
1
|
+
var Q = (o) => {
|
|
2
2
|
throw TypeError(o);
|
|
3
3
|
};
|
|
4
|
-
var
|
|
5
|
-
var d = (o, t, e) => (
|
|
4
|
+
var _ = (o, t, e) => t.has(o) || Q("Cannot " + e);
|
|
5
|
+
var d = (o, t, e) => (_(o, t, "read from private field"), e ? e.call(o) : t.get(o)), h = (o, t, e) => t.has(o) ? Q("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(o) : t.set(o, e), A = (o, t, e, r) => (_(o, t, "write to private field"), r ? r.call(o, e) : t.set(o, e), e), b = (o, t, e) => (_(o, t, "access private method"), e);
|
|
6
6
|
import "@proximus/lavender-button-icon";
|
|
7
7
|
import "@proximus/lavender-cell";
|
|
8
|
-
import { WithExtraAttributes as
|
|
8
|
+
import { WithExtraAttributes as Z, fontsizeValues as kt, PxElement as yt, transferAccessibilityAttributes as zt, fontweightValues as wt, colorValues as $t, log as R, checkName as At } from "@proximus/lavender-common";
|
|
9
9
|
import "@proximus/lavender-layout";
|
|
10
10
|
import "@proximus/lavender-container";
|
|
11
11
|
import "@proximus/lavender-button";
|
|
12
12
|
import "@proximus/lavender-section";
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
class
|
|
13
|
+
const St = ":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)}}", ot = new CSSStyleSheet();
|
|
14
|
+
ot.replaceSync(St);
|
|
15
|
+
class Ct extends Z {
|
|
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 = [
|
|
20
|
+
</a>` : `<button data-label="${this.textContent}"><slot></slot></button>`}`, this.shadowRoot.innerHTML = this.template(), this.shadowRoot.adoptedStyleSheets = [ot], 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"];
|
|
@@ -64,12 +64,12 @@ class Mt extends J {
|
|
|
64
64
|
return this.shadowRoot.querySelector("a");
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
customElements.get("px-header-item") || customElements.define("px-header-item",
|
|
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
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
const
|
|
67
|
+
customElements.get("px-header-item") || customElements.define("px-header-item", Ct);
|
|
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)}}', Lt = `.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-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;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)}: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)}@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;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){.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{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){.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{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)}}`, 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)}", rt = new CSSStyleSheet(), at = new CSSStyleSheet(), it = new CSSStyleSheet();
|
|
69
|
+
rt.replaceSync(Et);
|
|
70
|
+
at.replaceSync(Lt);
|
|
71
|
+
it.replaceSync(Tt);
|
|
72
|
+
const Mt = [...kt, "link-m", "link-s"], Rt = [
|
|
73
73
|
"link",
|
|
74
74
|
"no-style",
|
|
75
75
|
"skip-link",
|
|
@@ -77,10 +77,10 @@ const Nt = [...zt, "link-m", "link-s"], jt = [
|
|
|
77
77
|
"btn-secondary",
|
|
78
78
|
"btn-tertiary",
|
|
79
79
|
"icon-link"
|
|
80
|
-
],
|
|
80
|
+
], Nt = ["", "default", "alternative"], j = class j extends yt {
|
|
81
81
|
constructor() {
|
|
82
|
-
super(
|
|
83
|
-
const t = document.createElement(
|
|
82
|
+
super(rt, at, it), 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,9 +106,7 @@ const Nt = [...zt, "link-m", "link-s"], jt = [
|
|
|
106
106
|
];
|
|
107
107
|
}
|
|
108
108
|
connectedCallback() {
|
|
109
|
-
this.$before && this.$before.localName === "px-icon" && this.configureBeforeAfterIcon(this.$before), this.$after && this.$after.localName === "px-icon" && this.configureBeforeAfterIcon(this.$after),
|
|
110
|
-
}
|
|
111
|
-
disconnectedCallback() {
|
|
109
|
+
this.$before && this.$before.localName === "px-icon" && this.configureBeforeAfterIcon(this.$before), this.$after && this.$after.localName === "px-icon" && this.configureBeforeAfterIcon(this.$after), zt(this, this.$el, !1);
|
|
112
110
|
}
|
|
113
111
|
attributeChangedCallback(t, e, r) {
|
|
114
112
|
if (e !== r)
|
|
@@ -124,7 +122,7 @@ const Nt = [...zt, "link-m", "link-s"], jt = [
|
|
|
124
122
|
case "shape--tablet":
|
|
125
123
|
case "shape--laptop":
|
|
126
124
|
case "shape--desktop":
|
|
127
|
-
this.updateShape(t, r,
|
|
125
|
+
this.updateShape(t, r, Nt);
|
|
128
126
|
break;
|
|
129
127
|
case "extended":
|
|
130
128
|
case "extended--mobile":
|
|
@@ -138,14 +136,14 @@ const Nt = [...zt, "link-m", "link-s"], jt = [
|
|
|
138
136
|
t,
|
|
139
137
|
e,
|
|
140
138
|
r,
|
|
141
|
-
|
|
139
|
+
Mt
|
|
142
140
|
);
|
|
143
141
|
break;
|
|
144
142
|
case "color":
|
|
145
|
-
this.updateTypography(t, e, r,
|
|
143
|
+
this.updateTypography(t, e, r, $t);
|
|
146
144
|
break;
|
|
147
145
|
case "font-weight":
|
|
148
|
-
this.updateTypography(t, e, r,
|
|
146
|
+
this.updateTypography(t, e, r, wt);
|
|
149
147
|
break;
|
|
150
148
|
case "title":
|
|
151
149
|
r && (this.$el.setAttribute("title", r), this.removeAttribute("title"));
|
|
@@ -170,21 +168,21 @@ const Nt = [...zt, "link-m", "link-s"], jt = [
|
|
|
170
168
|
this.$el.classList.toggle(t);
|
|
171
169
|
}
|
|
172
170
|
updateVariant(t, e) {
|
|
173
|
-
t !== null && t !== "" && t !== "link" && this._toggleClassList(t), e !== null && e !== "" && e !== "link" && this._toggleClassList(e), this.checkName(
|
|
171
|
+
t !== null && t !== "" && t !== "link" && this._toggleClassList(t), e !== null && e !== "" && e !== "link" && this._toggleClassList(e), this.checkName(Rt, e) || R(
|
|
174
172
|
`${e} is not an allowed variant value for ${this.tagName.toLowerCase()}`
|
|
175
173
|
), e === "icon-link" && this.$iconNotBeforeAfter.setAttribute("color", "inherit");
|
|
176
174
|
}
|
|
177
175
|
updateShape(t, e, r) {
|
|
178
|
-
if (!
|
|
179
|
-
|
|
176
|
+
if (!At(r, e)) {
|
|
177
|
+
R(
|
|
180
178
|
`${e} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
|
|
181
179
|
);
|
|
182
180
|
return;
|
|
183
181
|
}
|
|
184
182
|
e !== null && e !== "" && this.$el.setAttribute(t, e);
|
|
185
183
|
}
|
|
186
|
-
updateTypography(t, e, r,
|
|
187
|
-
e !== null && e !== "" && e !== "default" && this.$el.classList.toggle(`${t}-${e}`), r !== null && r !== "" && r !== "default" && this.$el.classList.toggle(`${t}-${r}`), this.checkName(
|
|
184
|
+
updateTypography(t, e, r, n) {
|
|
185
|
+
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) || R(
|
|
188
186
|
`${r} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
|
|
189
187
|
);
|
|
190
188
|
}
|
|
@@ -305,44 +303,10 @@ const Nt = [...zt, "link-m", "link-s"], jt = [
|
|
|
305
303
|
t ? this.setAttribute("title", t) : this.removeAttribute("title");
|
|
306
304
|
}
|
|
307
305
|
};
|
|
308
|
-
|
|
309
|
-
let
|
|
310
|
-
customElements.get("px-a") || customElements.define("px-a",
|
|
311
|
-
|
|
312
|
-
class Pt extends I {
|
|
313
|
-
constructor() {
|
|
314
|
-
super();
|
|
315
|
-
u(this, P);
|
|
316
|
-
u(this, v);
|
|
317
|
-
this.$el.classList.add("wrapper"), m(this, v, new Lt(
|
|
318
|
-
this,
|
|
319
|
-
this.$el,
|
|
320
|
-
() => b(this, P, dt).call(this)
|
|
321
|
-
));
|
|
322
|
-
}
|
|
323
|
-
connectedCallback() {
|
|
324
|
-
super.connectedCallback(), d(this, v).connect();
|
|
325
|
-
}
|
|
326
|
-
disconnectedCallback() {
|
|
327
|
-
super.disconnectedCallback(), d(this, v).disconnect();
|
|
328
|
-
}
|
|
329
|
-
attributeChangedCallback(e, r, a) {
|
|
330
|
-
if (r !== a)
|
|
331
|
-
switch (e) {
|
|
332
|
-
case "disabled":
|
|
333
|
-
super.attributeChangedCallback(e, r, a), a !== null && d(this, v).clearInteractiveState();
|
|
334
|
-
break;
|
|
335
|
-
default:
|
|
336
|
-
super.attributeChangedCallback(e, r, a);
|
|
337
|
-
break;
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
v = 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 {
|
|
306
|
+
j.nativeName = "a";
|
|
307
|
+
let W = j;
|
|
308
|
+
customElements.get("px-a") || customElements.define("px-a", W);
|
|
309
|
+
class qt extends HTMLElement {
|
|
346
310
|
constructor() {
|
|
347
311
|
super(), this.template = `<px-a font-weight="title" font-size="body-l" color="brand" variant="no-style">
|
|
348
312
|
<slot></slot>
|
|
@@ -353,135 +317,135 @@ class Bt extends HTMLElement {
|
|
|
353
317
|
});
|
|
354
318
|
}
|
|
355
319
|
}
|
|
356
|
-
customElements.get("px-mdd-a") || customElements.define("px-mdd-a",
|
|
357
|
-
const
|
|
320
|
+
customElements.get("px-mdd-a") || customElements.define("px-mdd-a", qt);
|
|
321
|
+
const jt = "#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
322
|
function N(o) {
|
|
359
323
|
var t = typeof o;
|
|
360
324
|
return o != null && (t == "object" || t == "function");
|
|
361
325
|
}
|
|
362
|
-
var
|
|
363
|
-
return
|
|
364
|
-
},
|
|
365
|
-
function
|
|
366
|
-
for (var t = o.length; t-- &&
|
|
326
|
+
var Ot = typeof global == "object" && global && global.Object === Object && global, It = typeof self == "object" && self && self.Object === Object && self, nt = Ot || It || Function("return this")(), F = function() {
|
|
327
|
+
return nt.Date.now();
|
|
328
|
+
}, Pt = /\s/;
|
|
329
|
+
function Bt(o) {
|
|
330
|
+
for (var t = o.length; t-- && Pt.test(o.charAt(t)); )
|
|
367
331
|
;
|
|
368
332
|
return t;
|
|
369
333
|
}
|
|
370
|
-
var
|
|
371
|
-
function
|
|
372
|
-
return o && o.slice(0,
|
|
334
|
+
var Ht = /^\s+/;
|
|
335
|
+
function _t(o) {
|
|
336
|
+
return o && o.slice(0, Bt(o) + 1).replace(Ht, "");
|
|
373
337
|
}
|
|
374
|
-
var
|
|
375
|
-
function
|
|
376
|
-
var t =
|
|
338
|
+
var q = nt.Symbol, st = Object.prototype, Ft = st.hasOwnProperty, Wt = st.toString, S = q ? q.toStringTag : void 0;
|
|
339
|
+
function Dt(o) {
|
|
340
|
+
var t = Ft.call(o, S), e = o[S];
|
|
377
341
|
try {
|
|
378
|
-
o[
|
|
342
|
+
o[S] = void 0;
|
|
379
343
|
var r = !0;
|
|
380
344
|
} catch {
|
|
381
345
|
}
|
|
382
|
-
var
|
|
383
|
-
return r && (t ? o[
|
|
346
|
+
var n = Wt.call(o);
|
|
347
|
+
return r && (t ? o[S] = e : delete o[S]), n;
|
|
384
348
|
}
|
|
385
|
-
var
|
|
386
|
-
function
|
|
387
|
-
return
|
|
349
|
+
var Ut = Object.prototype, Yt = Ut.toString;
|
|
350
|
+
function Zt(o) {
|
|
351
|
+
return Yt.call(o);
|
|
388
352
|
}
|
|
389
|
-
var
|
|
390
|
-
function
|
|
391
|
-
return o == null ? o === void 0 ?
|
|
353
|
+
var Xt = "[object Null]", Jt = "[object Undefined]", G = q ? q.toStringTag : void 0;
|
|
354
|
+
function Kt(o) {
|
|
355
|
+
return o == null ? o === void 0 ? Jt : Xt : G && G in Object(o) ? Dt(o) : Zt(o);
|
|
392
356
|
}
|
|
393
|
-
function
|
|
357
|
+
function Qt(o) {
|
|
394
358
|
return o != null && typeof o == "object";
|
|
395
359
|
}
|
|
396
|
-
var
|
|
397
|
-
function
|
|
398
|
-
return typeof o == "symbol" ||
|
|
360
|
+
var Gt = "[object Symbol]";
|
|
361
|
+
function Vt(o) {
|
|
362
|
+
return typeof o == "symbol" || Qt(o) && Kt(o) == Gt;
|
|
399
363
|
}
|
|
400
|
-
var
|
|
401
|
-
function
|
|
364
|
+
var V = NaN, te = /^[-+]0x[0-9a-f]+$/i, ee = /^0b[01]+$/i, oe = /^0o[0-7]+$/i, re = parseInt;
|
|
365
|
+
function tt(o) {
|
|
402
366
|
if (typeof o == "number")
|
|
403
367
|
return o;
|
|
404
|
-
if (
|
|
405
|
-
return
|
|
368
|
+
if (Vt(o))
|
|
369
|
+
return V;
|
|
406
370
|
if (N(o)) {
|
|
407
371
|
var t = typeof o.valueOf == "function" ? o.valueOf() : o;
|
|
408
372
|
o = N(t) ? t + "" : t;
|
|
409
373
|
}
|
|
410
374
|
if (typeof o != "string")
|
|
411
375
|
return o === 0 ? o : +o;
|
|
412
|
-
o =
|
|
413
|
-
var e =
|
|
414
|
-
return e ||
|
|
376
|
+
o = _t(o);
|
|
377
|
+
var e = ee.test(o);
|
|
378
|
+
return e || oe.test(o) ? re(o.slice(2), e ? 2 : 8) : te.test(o) ? V : +o;
|
|
415
379
|
}
|
|
416
|
-
var
|
|
417
|
-
function
|
|
418
|
-
var r,
|
|
380
|
+
var ae = "Expected a function", ie = Math.max, ne = Math.min;
|
|
381
|
+
function se(o, t, e) {
|
|
382
|
+
var r, n, s, i, l, c, g = 0, w = !1, u = !1, P = !0;
|
|
419
383
|
if (typeof o != "function")
|
|
420
|
-
throw new TypeError(
|
|
421
|
-
t =
|
|
422
|
-
function
|
|
423
|
-
var x = r,
|
|
424
|
-
return r =
|
|
384
|
+
throw new TypeError(ae);
|
|
385
|
+
t = tt(t) || 0, N(e) && (w = !!e.leading, u = "maxWait" in e, s = u ? ie(tt(e.maxWait) || 0, t) : s, P = "trailing" in e ? !!e.trailing : P);
|
|
386
|
+
function B(p) {
|
|
387
|
+
var x = r, $ = n;
|
|
388
|
+
return r = n = void 0, g = p, i = o.apply($, x), i;
|
|
425
389
|
}
|
|
426
|
-
function
|
|
427
|
-
return g = p, l = setTimeout(
|
|
390
|
+
function gt(p) {
|
|
391
|
+
return g = p, l = setTimeout(T, t), w ? B(p) : i;
|
|
428
392
|
}
|
|
429
|
-
function
|
|
430
|
-
var x = p - c,
|
|
431
|
-
return
|
|
393
|
+
function vt(p) {
|
|
394
|
+
var x = p - c, $ = p - g, K = t - x;
|
|
395
|
+
return u ? ne(K, s - $) : K;
|
|
432
396
|
}
|
|
433
|
-
function
|
|
434
|
-
var x = p - c,
|
|
435
|
-
return c === void 0 || x >= t || x < 0 ||
|
|
397
|
+
function X(p) {
|
|
398
|
+
var x = p - c, $ = p - g;
|
|
399
|
+
return c === void 0 || x >= t || x < 0 || u && $ >= s;
|
|
436
400
|
}
|
|
437
|
-
function
|
|
438
|
-
var p =
|
|
439
|
-
if (
|
|
440
|
-
return
|
|
441
|
-
l = setTimeout(
|
|
401
|
+
function T() {
|
|
402
|
+
var p = F();
|
|
403
|
+
if (X(p))
|
|
404
|
+
return J(p);
|
|
405
|
+
l = setTimeout(T, vt(p));
|
|
442
406
|
}
|
|
443
|
-
function
|
|
444
|
-
return l = void 0,
|
|
407
|
+
function J(p) {
|
|
408
|
+
return l = void 0, P && r ? B(p) : (r = n = void 0, i);
|
|
445
409
|
}
|
|
446
|
-
function
|
|
447
|
-
l !== void 0 && clearTimeout(l), g = 0, r = c =
|
|
410
|
+
function ft() {
|
|
411
|
+
l !== void 0 && clearTimeout(l), g = 0, r = c = n = l = void 0;
|
|
448
412
|
}
|
|
449
|
-
function
|
|
450
|
-
return l === void 0 ?
|
|
413
|
+
function mt() {
|
|
414
|
+
return l === void 0 ? i : J(F());
|
|
451
415
|
}
|
|
452
|
-
function
|
|
453
|
-
var p =
|
|
454
|
-
if (r = arguments,
|
|
416
|
+
function H() {
|
|
417
|
+
var p = F(), x = X(p);
|
|
418
|
+
if (r = arguments, n = this, c = p, x) {
|
|
455
419
|
if (l === void 0)
|
|
456
|
-
return
|
|
457
|
-
if (
|
|
458
|
-
return clearTimeout(l), l = setTimeout(
|
|
420
|
+
return gt(c);
|
|
421
|
+
if (u)
|
|
422
|
+
return clearTimeout(l), l = setTimeout(T, t), B(c);
|
|
459
423
|
}
|
|
460
|
-
return l === void 0 && (l = setTimeout(
|
|
424
|
+
return l === void 0 && (l = setTimeout(T, t)), i;
|
|
461
425
|
}
|
|
462
|
-
return
|
|
426
|
+
return H.cancel = ft, H.flush = mt, H;
|
|
463
427
|
}
|
|
464
|
-
var
|
|
465
|
-
function
|
|
466
|
-
var r = !0,
|
|
428
|
+
var de = "Expected a function";
|
|
429
|
+
function le(o, t, e) {
|
|
430
|
+
var r = !0, n = !0;
|
|
467
431
|
if (typeof o != "function")
|
|
468
|
-
throw new TypeError(
|
|
469
|
-
return N(e) && (r = "leading" in e ? !!e.leading : r,
|
|
432
|
+
throw new TypeError(de);
|
|
433
|
+
return N(e) && (r = "leading" in e ? !!e.leading : r, n = "trailing" in e ? !!e.trailing : n), se(o, t, {
|
|
470
434
|
leading: r,
|
|
471
435
|
maxWait: t,
|
|
472
|
-
trailing:
|
|
436
|
+
trailing: n
|
|
473
437
|
});
|
|
474
438
|
}
|
|
475
|
-
const
|
|
476
|
-
|
|
477
|
-
const
|
|
478
|
-
var
|
|
479
|
-
class
|
|
439
|
+
const dt = new CSSStyleSheet();
|
|
440
|
+
dt.replaceSync(jt);
|
|
441
|
+
const pe = "Menu";
|
|
442
|
+
var L, a, lt, D, U, pt, Y, v, C, E, f;
|
|
443
|
+
class ce extends Z {
|
|
480
444
|
constructor() {
|
|
481
445
|
var e;
|
|
482
|
-
super(
|
|
483
|
-
|
|
484
|
-
|
|
446
|
+
super(dt);
|
|
447
|
+
h(this, a);
|
|
448
|
+
h(this, L);
|
|
485
449
|
this.template = `
|
|
486
450
|
<div>
|
|
487
451
|
<header>
|
|
@@ -519,8 +483,8 @@ class ge extends J {
|
|
|
519
483
|
<div id="backdrop-filter"></div>
|
|
520
484
|
<slot name="main"></slot>
|
|
521
485
|
</div>
|
|
522
|
-
`,
|
|
523
|
-
window.innerWidth >= 768 && (b(this,
|
|
486
|
+
`, A(this, L, () => {
|
|
487
|
+
window.innerWidth >= 768 && (b(this, a, pt).call(this), b(this, a, lt).call(this));
|
|
524
488
|
}), 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");
|
|
525
489
|
}
|
|
526
490
|
connectedCallback() {
|
|
@@ -528,27 +492,27 @@ class ge extends J {
|
|
|
528
492
|
const r = e.target.closest(
|
|
529
493
|
"px-header-item"
|
|
530
494
|
);
|
|
531
|
-
r && r.for && (e.target.checked === !1 ? (this.$backdropFilter.style.display = "block", d(this,
|
|
532
|
-
|
|
533
|
-
}), r.checked = !0, b(this,
|
|
495
|
+
r && r.for && (e.target.checked === !1 ? (this.$backdropFilter.style.display = "block", d(this, a, C).forEach((n) => {
|
|
496
|
+
n.checked = !1;
|
|
497
|
+
}), r.checked = !0, b(this, a, D).call(this, e.target.for)) : b(this, a, Y).call(this));
|
|
534
498
|
}), this.addEventListener("section-item-click", (e) => {
|
|
535
|
-
this.$backdropFilter.style.display = "block", d(this,
|
|
499
|
+
this.$backdropFilter.style.display = "block", d(this, a, C).forEach((r) => {
|
|
536
500
|
r.checked = !1;
|
|
537
501
|
}), this.querySelector(
|
|
538
502
|
`px-header-item[for="${e.detail.for}"]`
|
|
539
|
-
).checked = !0, b(this,
|
|
503
|
+
).checked = !0, b(this, a, D).call(this, e.detail.for);
|
|
540
504
|
}), this.addEventListener("back-to-mobile-menu", () => {
|
|
541
|
-
this.$backdropFilter.style.display = "block", d(this,
|
|
505
|
+
this.$backdropFilter.style.display = "block", d(this, a, C).forEach((e) => {
|
|
542
506
|
e.checked = !1;
|
|
543
|
-
}), b(this,
|
|
507
|
+
}), b(this, a, U).call(this);
|
|
544
508
|
}), this.$burgerMenu.addEventListener("click", () => {
|
|
545
|
-
this.$burgerMenu.setAttribute("aria-expanded", "true"), b(this,
|
|
509
|
+
this.$burgerMenu.setAttribute("aria-expanded", "true"), b(this, a, U).call(this);
|
|
546
510
|
}), this.addEventListener("close-panel", () => {
|
|
547
|
-
b(this,
|
|
511
|
+
b(this, a, Y).call(this), this.$burgerMenu.setAttribute("aria-expanded", "false");
|
|
548
512
|
}), this.addEventListener(
|
|
549
513
|
"close-panel-from-dialog",
|
|
550
514
|
(e) => {
|
|
551
|
-
this.dispatchEvent(new CustomEvent("close-panel")), e.detail.clientY < d(this,
|
|
515
|
+
this.dispatchEvent(new CustomEvent("close-panel")), e.detail.clientY < d(this, a, E).getBoundingClientRect().bottom && requestAnimationFrame(() => {
|
|
552
516
|
var r;
|
|
553
517
|
(r = document.elementFromPoint(
|
|
554
518
|
e.detail.clientX,
|
|
@@ -556,7 +520,7 @@ class ge extends J {
|
|
|
556
520
|
)) == null || r.click();
|
|
557
521
|
});
|
|
558
522
|
}
|
|
559
|
-
), !this.$targetGroupDropdown && !this.$userLanguageDropdown && (this.$dropDownZoneDesktop.style.display = "none"), this.primaryNavigationAriaLabel || this.setAttribute("primary-navigation-aria-label",
|
|
523
|
+
), !this.$targetGroupDropdown && !this.$userLanguageDropdown && (this.$dropDownZoneDesktop.style.display = "none"), this.primaryNavigationAriaLabel || this.setAttribute("primary-navigation-aria-label", pe), window.addEventListener("resize", le(d(this, L), 200));
|
|
560
524
|
}
|
|
561
525
|
static get observedAttributes() {
|
|
562
526
|
return [
|
|
@@ -566,23 +530,23 @@ class ge extends J {
|
|
|
566
530
|
"back-to-menu-label"
|
|
567
531
|
];
|
|
568
532
|
}
|
|
569
|
-
attributeChangedCallback(e, r,
|
|
570
|
-
if (r !==
|
|
533
|
+
attributeChangedCallback(e, r, n) {
|
|
534
|
+
if (r !== n)
|
|
571
535
|
switch (e) {
|
|
572
536
|
case "close-button-aria-label":
|
|
573
|
-
d(this,
|
|
574
|
-
s.setAttribute("close-button-aria-label",
|
|
537
|
+
d(this, a, f).forEach((s) => {
|
|
538
|
+
s.setAttribute("close-button-aria-label", n);
|
|
575
539
|
});
|
|
576
540
|
break;
|
|
577
541
|
case "burger-menu-aria-label":
|
|
578
|
-
this.$burgerMenu.setAttribute("aria-label",
|
|
542
|
+
this.$burgerMenu.setAttribute("aria-label", n);
|
|
579
543
|
break;
|
|
580
544
|
case "primary-navigation-aria-label":
|
|
581
|
-
this.$primaryNavigation.setAttribute("aria-label",
|
|
545
|
+
this.$primaryNavigation.setAttribute("aria-label", n);
|
|
582
546
|
break;
|
|
583
547
|
case "back-to-menu-label":
|
|
584
|
-
d(this,
|
|
585
|
-
s.setAttribute("back-to-menu-label",
|
|
548
|
+
d(this, a, f).forEach((s) => {
|
|
549
|
+
s.setAttribute("back-to-menu-label", n);
|
|
586
550
|
});
|
|
587
551
|
break;
|
|
588
552
|
}
|
|
@@ -633,73 +597,73 @@ class ge extends J {
|
|
|
633
597
|
e ? this.setAttribute("primary-navigation-aria-label", e) : this.removeAttribute("primary-navigation-aria-label");
|
|
634
598
|
}
|
|
635
599
|
}
|
|
636
|
-
|
|
637
|
-
const e = this.querySelectorAll("px-mdd"), r = d(this,
|
|
638
|
-
e.forEach((
|
|
639
|
-
|
|
600
|
+
L = new WeakMap(), a = new WeakSet(), lt = function() {
|
|
601
|
+
const e = this.querySelectorAll("px-mdd"), r = d(this, a, E).getBoundingClientRect().bottom;
|
|
602
|
+
e.forEach((n) => {
|
|
603
|
+
n.dialogOffsetTop = `${r}px`;
|
|
640
604
|
});
|
|
641
|
-
},
|
|
642
|
-
d(this,
|
|
643
|
-
r.name === e && r.hidden && (r.dialogOffsetTop = `${d(this,
|
|
605
|
+
}, D = function(e) {
|
|
606
|
+
d(this, a, v).$megaDropDown.hidden = !0, d(this, a, f).forEach((r) => {
|
|
607
|
+
r.name === e && r.hidden && (r.dialogOffsetTop = `${d(this, a, E).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);
|
|
644
608
|
});
|
|
645
|
-
},
|
|
646
|
-
this.$backdropFilter.style.display = "none", d(this,
|
|
609
|
+
}, U = function() {
|
|
610
|
+
this.$backdropFilter.style.display = "none", d(this, a, f).forEach((e) => {
|
|
647
611
|
e.hidden || (e.hidden = !0);
|
|
648
|
-
}), d(this,
|
|
649
|
-
},
|
|
650
|
-
d(this,
|
|
651
|
-
},
|
|
652
|
-
this.$backdropFilter.style.display = "none", d(this,
|
|
612
|
+
}), d(this, a, v).$megaDropDown.dialogOffsetTop = `${d(this, a, E).getBoundingClientRect().bottom}px`, d(this, a, v).$megaDropDown.hidden = !1, document.body.style.overflow = "hidden";
|
|
613
|
+
}, pt = function() {
|
|
614
|
+
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");
|
|
615
|
+
}, Y = function() {
|
|
616
|
+
this.$backdropFilter.style.display = "none", d(this, a, v).$megaDropDown.hidden = !0, d(this, a, C).forEach((e) => {
|
|
653
617
|
e.checked = !1;
|
|
654
|
-
}), d(this,
|
|
618
|
+
}), d(this, a, f).forEach((e) => {
|
|
655
619
|
e.hidden = !0;
|
|
656
620
|
}), document.body.style.overflow = "auto";
|
|
657
|
-
},
|
|
621
|
+
}, v = function() {
|
|
658
622
|
return this.querySelector("px-header-mobile-menu");
|
|
659
|
-
},
|
|
623
|
+
}, C = function() {
|
|
660
624
|
return this.querySelectorAll("px-header-item");
|
|
661
|
-
},
|
|
625
|
+
}, E = function() {
|
|
662
626
|
return this.shadowRoot.querySelector("header");
|
|
663
|
-
},
|
|
627
|
+
}, f = function() {
|
|
664
628
|
return this.querySelectorAll("px-mdd");
|
|
665
629
|
};
|
|
666
|
-
customElements.get("px-header") || customElements.define("px-header",
|
|
667
|
-
const
|
|
630
|
+
customElements.get("px-header") || customElements.define("px-header", ce);
|
|
631
|
+
const be = ':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}}', he = [
|
|
668
632
|
"top-left",
|
|
669
633
|
"top-right",
|
|
670
634
|
"bottom-left",
|
|
671
635
|
"bottom-right"
|
|
672
636
|
];
|
|
673
|
-
function
|
|
674
|
-
"anchorName" in document.documentElement.style &&
|
|
675
|
-
var
|
|
637
|
+
function et(o, t, e = "bottom-left", r, n = !1) {
|
|
638
|
+
"anchorName" in document.documentElement.style && n === !1 || t.addEventListener("toggle", () => {
|
|
639
|
+
var w, u;
|
|
676
640
|
if (!o || !t)
|
|
677
641
|
return;
|
|
678
|
-
const s = o.getBoundingClientRect(),
|
|
642
|
+
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(
|
|
679
643
|
(r.getPropertyValue("--px-icon-size-xs-desktop") || "24").replace("px", "")
|
|
680
644
|
);
|
|
681
|
-
["top-left", "top-right"].includes(e) ? (t.style.bottom = `calc( ${c} + ${
|
|
645
|
+
["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`);
|
|
682
646
|
});
|
|
683
647
|
}
|
|
684
|
-
const
|
|
685
|
-
|
|
686
|
-
const
|
|
687
|
-
var
|
|
688
|
-
class
|
|
648
|
+
const ct = new CSSStyleSheet();
|
|
649
|
+
ct.replaceSync(be);
|
|
650
|
+
const M = "bottom-left";
|
|
651
|
+
var z, bt, m, k, y, ht;
|
|
652
|
+
class ue extends Z {
|
|
689
653
|
constructor() {
|
|
690
|
-
super(
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
654
|
+
super(ct);
|
|
655
|
+
h(this, z);
|
|
656
|
+
h(this, m);
|
|
657
|
+
h(this, k);
|
|
658
|
+
h(this, y);
|
|
695
659
|
this.template = () => `
|
|
696
660
|
<style>${this.css}</style>
|
|
697
661
|
<slot name="trigger"></slot>
|
|
698
|
-
<slot name="popover"></slot>`, this.isAboutToClose = !1,
|
|
662
|
+
<slot name="popover"></slot>`, this.isAboutToClose = !1, A(this, m, () => {
|
|
699
663
|
this.isAboutToClose || (this.$popoverElement.togglePopover({ source: this.$trigger }), this.$trigger.ariaExpanded = "true");
|
|
700
|
-
}),
|
|
664
|
+
}), A(this, k, () => {
|
|
701
665
|
this.$popoverElement.matches(":popover-open") && (this.isAboutToClose = !0, this.$trigger.ariaExpanded = "false");
|
|
702
|
-
}),
|
|
666
|
+
}), A(this, y, () => {
|
|
703
667
|
this.$popoverElement.matches(":popover-open") || setTimeout(() => {
|
|
704
668
|
this.isAboutToClose = !1;
|
|
705
669
|
});
|
|
@@ -755,7 +719,7 @@ class me extends J {
|
|
|
755
719
|
this.getAttribute("id") || this.setAttribute(
|
|
756
720
|
"id",
|
|
757
721
|
`px-dropdown-${Math.random().toString(36).substring(2, 15)}`
|
|
758
|
-
), this.getAttribute("anchoralignment") || this.setAttribute("anchoralignment",
|
|
722
|
+
), this.getAttribute("anchoralignment") || this.setAttribute("anchoralignment", M), et(
|
|
759
723
|
this.$trigger,
|
|
760
724
|
this.$popoverElement,
|
|
761
725
|
this.anchorAlignment,
|
|
@@ -763,14 +727,14 @@ class me extends J {
|
|
|
763
727
|
this.usePolyfill
|
|
764
728
|
);
|
|
765
729
|
}
|
|
766
|
-
attributeChangedCallback(e, r,
|
|
767
|
-
if (r !==
|
|
730
|
+
attributeChangedCallback(e, r, n) {
|
|
731
|
+
if (r !== n)
|
|
768
732
|
switch (e) {
|
|
769
733
|
case "id":
|
|
770
734
|
this.initPopover();
|
|
771
735
|
break;
|
|
772
736
|
case "use-polyfill":
|
|
773
|
-
|
|
737
|
+
et(
|
|
774
738
|
this.$trigger,
|
|
775
739
|
this.$popoverElement,
|
|
776
740
|
this.anchorAlignment,
|
|
@@ -779,12 +743,12 @@ class me extends J {
|
|
|
779
743
|
);
|
|
780
744
|
break;
|
|
781
745
|
default:
|
|
782
|
-
super.attributeChangedCallback(e, r,
|
|
746
|
+
super.attributeChangedCallback(e, r, n);
|
|
783
747
|
break;
|
|
784
748
|
}
|
|
785
749
|
}
|
|
786
750
|
initPopover() {
|
|
787
|
-
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,
|
|
751
|
+
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, bt).call(this), b(this, z, ht).call(this));
|
|
788
752
|
}
|
|
789
753
|
get popoverId() {
|
|
790
754
|
return `${this.getAttribute("id")}-popover`;
|
|
@@ -802,12 +766,12 @@ class me extends J {
|
|
|
802
766
|
return this.querySelector('[slot="popover"]');
|
|
803
767
|
}
|
|
804
768
|
get anchorAlignment() {
|
|
805
|
-
return this.getAttribute("anchoralignment") ||
|
|
769
|
+
return this.getAttribute("anchoralignment") || M;
|
|
806
770
|
}
|
|
807
771
|
set anchorAlignment(e) {
|
|
808
|
-
|
|
809
|
-
`Invalid anchor alignment value: ${e}. Using default ${
|
|
810
|
-
), this.setAttribute("anchoralignment",
|
|
772
|
+
he.includes(e) ? this.setAttribute("anchoralignment", e) : (R(
|
|
773
|
+
`Invalid anchor alignment value: ${e}. Using default ${M}.`
|
|
774
|
+
), this.setAttribute("anchoralignment", M));
|
|
811
775
|
}
|
|
812
776
|
get usePolyfill() {
|
|
813
777
|
return this.hasAttribute("use-polyfill");
|
|
@@ -816,36 +780,36 @@ class me extends J {
|
|
|
816
780
|
e ? this.setAttribute("use-polyfill", "") : this.removeAttribute("use-polyfill");
|
|
817
781
|
}
|
|
818
782
|
}
|
|
819
|
-
|
|
820
|
-
this.isAboutToClose = !1, this.$trigger.removeEventListener("click", d(this,
|
|
783
|
+
z = new WeakSet(), bt = function() {
|
|
784
|
+
this.isAboutToClose = !1, this.$trigger.removeEventListener("click", d(this, m)), this.$popoverElement.removeEventListener(
|
|
821
785
|
"beforetoggle",
|
|
822
|
-
d(this,
|
|
823
|
-
), this.$popoverElement.removeEventListener("toggle", d(this,
|
|
824
|
-
},
|
|
786
|
+
d(this, k)
|
|
787
|
+
), this.$popoverElement.removeEventListener("toggle", d(this, y));
|
|
788
|
+
}, m = new WeakMap(), k = new WeakMap(), y = new WeakMap(), /**
|
|
825
789
|
* Handles the manual display of the popover when the trigger is clicked.
|
|
826
790
|
* This is necessary for cases where the trigger is not a button or input element.
|
|
827
791
|
* This method adds event listeners to the trigger element to toggle the popover.
|
|
828
792
|
* It also manages the state of whether the popover is about to close or not to avoid
|
|
829
793
|
* race conditions when the popover is toggled and the trigger click event is fired.
|
|
830
794
|
*/
|
|
831
|
-
|
|
832
|
-
this.$trigger && !["button", "input"].includes(this.$trigger.localName) && (this.$trigger.addEventListener("click", d(this,
|
|
795
|
+
ht = function() {
|
|
796
|
+
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
797
|
};
|
|
834
|
-
customElements.get("px-dropdown") || customElements.define("px-dropdown",
|
|
835
|
-
const
|
|
836
|
-
|
|
798
|
+
customElements.get("px-dropdown") || customElements.define("px-dropdown", ue);
|
|
799
|
+
const ut = new CSSStyleSheet();
|
|
800
|
+
ut.replaceSync(`
|
|
837
801
|
@media screen and (min-width: 48em) {
|
|
838
802
|
:host {
|
|
839
803
|
display: none;
|
|
840
804
|
}
|
|
841
805
|
}
|
|
842
806
|
`);
|
|
843
|
-
var
|
|
844
|
-
class
|
|
807
|
+
var O, I, xt;
|
|
808
|
+
class xe extends HTMLElement {
|
|
845
809
|
constructor() {
|
|
846
810
|
super();
|
|
847
|
-
|
|
848
|
-
|
|
811
|
+
h(this, I);
|
|
812
|
+
h(this, O, `<px-mdd
|
|
849
813
|
name="__lavender_mobile_menu"
|
|
850
814
|
hidden--tablet
|
|
851
815
|
hidden--laptop
|
|
@@ -854,7 +818,7 @@ class ke extends HTMLElement {
|
|
|
854
818
|
<span slot="title"><slot name="title"></slot></span>
|
|
855
819
|
<px-mdd-section title-hidden></px-mdd-section>
|
|
856
820
|
</px-mdd>`);
|
|
857
|
-
this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = d(this,
|
|
821
|
+
this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = d(this, O), this.shadowRoot.adoptedStyleSheets = [ut];
|
|
858
822
|
}
|
|
859
823
|
connectedCallback() {
|
|
860
824
|
this.setAttribute("slot", "header-panels");
|
|
@@ -863,39 +827,39 @@ class ke extends HTMLElement {
|
|
|
863
827
|
throw new Error(
|
|
864
828
|
"<px-header-mobile-menu> must be used within a <px-header>."
|
|
865
829
|
);
|
|
866
|
-
const r = e.querySelectorAll("px-header-item"),
|
|
830
|
+
const r = e.querySelectorAll("px-header-item"), n = e.querySelectorAll("px-action-link"), s = this.shadowRoot.querySelector("px-mdd-section");
|
|
867
831
|
s.innerHTML = `
|
|
868
|
-
${[...r].map((
|
|
869
|
-
const l =
|
|
870
|
-
return l ? `<px-mdd-section-item for="${l}">${
|
|
832
|
+
${[...r].map((i) => {
|
|
833
|
+
const l = i.getAttribute("for"), c = i.getAttribute("href");
|
|
834
|
+
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>` : "";
|
|
871
835
|
}).join("")}
|
|
872
|
-
${[...
|
|
873
|
-
(
|
|
874
|
-
).join("")}`, b(this,
|
|
875
|
-
|
|
836
|
+
${[...n].filter((i) => !i.hasAttribute("promoted")).map(
|
|
837
|
+
(i) => `<px-mdd-a href="${i.getAttribute("href")}" slot="footer">${i.innerText}</px-mdd-a>`
|
|
838
|
+
).join("")}`, b(this, I, xt).call(this).forEach((i) => {
|
|
839
|
+
i && this.$megaDropDown.appendChild(i);
|
|
876
840
|
});
|
|
877
841
|
}
|
|
878
842
|
get $megaDropDown() {
|
|
879
843
|
return this.shadowRoot.querySelector("px-mdd");
|
|
880
844
|
}
|
|
881
845
|
}
|
|
882
|
-
|
|
846
|
+
O = new WeakMap(), I = new WeakSet(), xt = function() {
|
|
883
847
|
const e = this.closest("px-header"), r = e.querySelector(
|
|
884
848
|
'px-dropdown[slot="target-group"]'
|
|
885
|
-
),
|
|
849
|
+
), n = e.querySelector(
|
|
886
850
|
'px-dropdown[slot="user-language"]'
|
|
887
851
|
), s = r == null ? void 0 : r.cloneNode(
|
|
888
852
|
!0
|
|
889
853
|
);
|
|
890
854
|
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");
|
|
891
|
-
const
|
|
855
|
+
const i = n == null ? void 0 : n.cloneNode(
|
|
892
856
|
!0
|
|
893
857
|
);
|
|
894
|
-
return
|
|
858
|
+
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];
|
|
895
859
|
};
|
|
896
|
-
customElements.get("px-header-mobile-menu") || customElements.define("px-header-mobile-menu",
|
|
860
|
+
customElements.get("px-header-mobile-menu") || customElements.define("px-header-mobile-menu", xe);
|
|
897
861
|
export {
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
862
|
+
ce as Header,
|
|
863
|
+
Ct as HeaderItem,
|
|
864
|
+
xe as HeaderMobileMenu
|
|
901
865
|
};
|