@proximus/lavender-header 1.4.10-alpha.2 → 1.4.10-alpha.20
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/HeaderItem.d.ts +2 -0
- package/dist/index.es.js +200 -180
- package/package.json +1 -1
package/dist/HeaderItem.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ export declare class HeaderItem extends WithExtraAttributes {
|
|
|
14
14
|
set for(value: string);
|
|
15
15
|
get checked(): boolean;
|
|
16
16
|
set checked(value: boolean);
|
|
17
|
+
get current(): boolean;
|
|
18
|
+
set current(value: boolean);
|
|
17
19
|
get $button(): HTMLButtonElement;
|
|
18
20
|
get $a(): HTMLAnchorElement;
|
|
19
21
|
}
|
package/dist/index.es.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
var
|
|
1
|
+
var G = (r) => {
|
|
2
2
|
throw TypeError(r);
|
|
3
3
|
};
|
|
4
|
-
var
|
|
5
|
-
var d = (r, t, e) => (
|
|
4
|
+
var F = (r, t, e) => t.has(r) || G("Cannot " + e);
|
|
5
|
+
var d = (r, t, e) => (F(r, t, "read from private field"), e ? e.call(r) : t.get(r)), u = (r, t, e) => t.has(r) ? G("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(r) : t.set(r, e), A = (r, t, e, o) => (F(r, t, "write to private field"), o ? o.call(r, e) : t.set(r, e), e), b = (r, t, e) => (F(r, 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 X, fontsizeValues as zt, PxElement as $t, transferAccessibilityAttributes as At, fontweightValues as St, colorValues as Ct, log as R, checkName as Et, WrappedInteractiveStateController as Tt } 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
|
-
at.replaceSync(
|
|
15
|
-
class Mt extends
|
|
13
|
+
const Lt = ":host{display:block}:host *{box-sizing:border-box}button,a{display:block;font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-font-line-height-l);color:var(--px-color-text-neutral-default);text-align:center;cursor:pointer;padding:32px 0;height:100%}button:after,a:after{content:attr(data-label);display:block;height:0;width:auto;visibility:hidden;overflow:hidden;-webkit-user-select:none;user-select:none;pointer-events:none;font-weight:var(--px-font-weight-title)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}:host([current]) button,button:hover,:host([current]) a,a:hover{font-weight:var(--px-font-weight-title);color:var(--px-color-background-container-primary-default);padding-block:30px}button{margin:0;border:0;border-bottom:2px solid rgba(0,0,0,0);outline:0;background:inherit}button[aria-expanded=true]{font-weight:var(--px-font-weight-title);color:var(--px-color-background-container-primary-default);border-bottom-color:var(--px-color-background-container-primary-default)}a{text-decoration:none}@media screen and (min-width: 48rem){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 screen and (min-width: 64.0625rem){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 screen and (min-width: 90.0625rem){button,a{font-size:var(--px-text-size-label-m-desktop)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}}", at = new CSSStyleSheet();
|
|
14
|
+
at.replaceSync(Lt);
|
|
15
|
+
class Mt extends X {
|
|
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 = [at], this.internals = (t = this.attachInternals) == null ? void 0 : t.call(this), this.
|
|
20
|
+
</a>` : `<button data-label="${this.textContent}"><slot></slot></button>`}`, this.shadowRoot.innerHTML = this.template(), this.shadowRoot.adoptedStyleSheets = [at], this.internals = (t = this.attachInternals) == null ? void 0 : t.call(this), this.internals && (this.internals.role = "listitem");
|
|
21
21
|
}
|
|
22
22
|
static get observedAttributes() {
|
|
23
|
-
return ["for", "href"];
|
|
23
|
+
return ["for", "href", "current"];
|
|
24
24
|
}
|
|
25
25
|
connectedCallback() {
|
|
26
|
-
this.setAttribute("slot", "header-entries"), this.$button && this.setupButtonA11y(), this.contentObserver = new MutationObserver(() => {
|
|
26
|
+
this.role = "listitem", this.setAttribute("slot", "header-entries"), this.$button && this.setupButtonA11y(), this.contentObserver = new MutationObserver(() => {
|
|
27
27
|
this.updateDataLabel();
|
|
28
28
|
}), this.contentObserver.observe(this, {
|
|
29
29
|
childList: !0,
|
|
@@ -35,7 +35,7 @@ class Mt extends J {
|
|
|
35
35
|
this.contentObserver.disconnect();
|
|
36
36
|
}
|
|
37
37
|
attributeChangedCallback(t, e, o) {
|
|
38
|
-
super.attributeChangedCallback(t, e, o), t === "href" &&
|
|
38
|
+
super.attributeChangedCallback(t, e, o), t === "href" && e !== o ? this.shadowRoot.innerHTML = this.template() : t === "for" && e !== o && this.$button && (this.shadowRoot.innerHTML = this.template(), this.setupButtonA11y());
|
|
39
39
|
}
|
|
40
40
|
setupButtonA11y() {
|
|
41
41
|
this.$button.ariaExpanded = "false", this.$button.setAttribute("aria-controls", this.for || "");
|
|
@@ -57,6 +57,12 @@ class Mt extends J {
|
|
|
57
57
|
throw new Error("checked must be a boolean");
|
|
58
58
|
this.$button && (this.$button.ariaExpanded = `${!!t}`, this.$button.setAttribute("aria-controls", this.for));
|
|
59
59
|
}
|
|
60
|
+
get current() {
|
|
61
|
+
return this.hasAttribute("current");
|
|
62
|
+
}
|
|
63
|
+
set current(t) {
|
|
64
|
+
t ? this.setAttribute("current", "") : this.removeAttribute("current");
|
|
65
|
+
}
|
|
60
66
|
get $button() {
|
|
61
67
|
return this.shadowRoot.querySelector("button");
|
|
62
68
|
}
|
|
@@ -65,11 +71,11 @@ class Mt extends J {
|
|
|
65
71
|
}
|
|
66
72
|
}
|
|
67
73
|
customElements.get("px-header-item") || customElements.define("px-header-item", Mt);
|
|
68
|
-
const Rt = ':host([variant="icon-link"]){display:inline-flex}a,.link,::slotted(a){display:inline;align-items:center;font-family:var(--px-font-family);font-size:var(--px-text-size-link-m-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-body);color:var(--px-color-text-neutral-default)}a:hover,.link:hover{color:var(--px-color-text-state-hover-default)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}a[aria-disabled=true],.link[aria-disabled=true]{cursor:default;pointer-events:none;color:var(--px-color-text-state-disabled-default)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-mobile)}a ::slotted(span[slot="after"]),a ::slotted(span[slot="before"]),.link ::slotted(span[slot="after"]),.link ::slotted(span[slot="before"]){display:inline-block}::slotted(a:hover){color:var(--px-color-text-state-hover-default)}a.no-style,a.wrapper{text-decoration:none}a.no-style:hover,a.no-style:focus-visible,a.wrapper:hover,a.wrapper:focus-visible{color:inherit}a.wrapper{display:block;line-height:0}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: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: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: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)}}', jt = `.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,.header-minimal-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,.header-minimal-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-mobile) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown) ::slotted([slot="before"]){margin-left:calc(var(--px-padding-xs-mobile) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.header-minimal-dropdown)[disabled],.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.header-minimal-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,.header-minimal-dropdown)[shape=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.header-minimal-dropdown)[shape=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.btn.header-minimal-dropdown{display:flex;align-items:center;touch-action:manipulation}.btn.header-dropdown:after,.btn.header-minimal-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,.btn.header-minimal-dropdown[aria-expanded=true]:after{transform:rotate(180deg)}.btn.header-dropdown{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)}.btn.header-minimal-dropdown{justify-content:flex-start;gap:var(--px-spacing-xs-mobile);color:var(--px-color-text-brand-default);font-weight:var(--px-font-weight-title);font-size:var(--px-text-size-label-m-mobile);border:none;padding:0;border-radius:0;background:none}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,.header-dropdown,.header-minimal-dropdown){color:var(--px-color-text-brand-default);background:var(--px-color-background-container-primary-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown):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,.header-dropdown,.header-minimal-dropdown)[disabled],:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[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,.header-dropdown,.header-minimal-dropdown).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)}:host([inverted]) .btn.header-minimal-dropdown{color:var(--px-color-text-brand-inverted)}:host([inverted]) .btn.header-minimal-dropdown:after{color:var(--px-color-icon-brand-inverted)}@media only screen and (max-width: 47.938em){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape--mobile=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.header-minimal-dropdown)[shape--mobile=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.header-minimal-dropdown)[shape--tablet=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.header-minimal-dropdown)[shape--tablet=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.header-minimal-dropdown){padding:var(--px-padding-xs-tablet) var(--px-padding-m-tablet)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-tablet) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.btn.header-minimal-dropdown{gap:var(--px-spacing-xs-tablet);font-size:var(--px-text-size-label-m-tablet)}.btn.header-dropdown{justify-content:flex-start;align-items:center;width:inherit;color:var(--px-color-text-brand-default);font-weight:var(--px-font-weight-title);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,.header-minimal-dropdown)[shape--laptop=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.header-minimal-dropdown)[shape--laptop=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.header-minimal-dropdown){padding:var(--px-padding-xs-laptop) var(--px-padding-m-laptop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-laptop) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.btn.header-minimal-dropdown{gap:var(--px-spacing-xs-laptop);font-size:var(--px-text-size-label-m-laptop)}.btn.header-dropdown{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,.header-minimal-dropdown)[shape--desktop=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.header-minimal-dropdown)[shape--desktop=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.header-minimal-dropdown){padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-desktop) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.btn.header-minimal-dropdown{gap:var(--px-spacing-xs-desktop);font-size:var(--px-text-size-label-m-desktop)}.btn.header-dropdown{padding:0}}@keyframes anim-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}`, qt = ".color-inherit{color:inherit!important}.color-brand{color:var(--px-color-text-brand-default)!important}.color-neutral{color:var(--px-color-text-neutral-default)!important}.color-dimmed{color:var(--px-color-text-dimmed-default)!important}.color-purpose-success{color:var(--px-color-text-purpose-success-default)!important}.color-purpose-warning{color:var(--px-color-text-purpose-warning-default)!important}.color-purpose-error{color:var(--px-color-text-purpose-error-default)!important}.color-purpose-unlimited{color:var(--px-color-text-purpose-unlimited-default)!important}.color-purpose-promo{color:var(--px-color-text-purpose-promo-default)!important}.color-state-hover{color:var(--px-color-text-state-hover-default)!important}.color-state-active{color:var(--px-color-text-state-active-default)!important}.color-state-disabled{color:var(--px-color-text-state-disabled-default)!important}:host([inverted]) .color-inherit{color:inherit!important}:host([inverted]) .color-brand{color:var(--px-color-text-brand-inverted)!important}:host([inverted]) .color-neutral{color:var(--px-color-text-neutral-inverted)!important}:host([inverted]) .color-dimmed{color:var(--px-color-text-dimmed-inverted)!important}:host([inverted]) .color-purpose-success{color:var(--px-color-text-purpose-success-inverted)!important}:host([inverted]) .color-purpose-warning{color:var(--px-color-text-purpose-warning-inverted)!important}:host([inverted]) .color-purpose-error{color:var(--px-color-text-purpose-error-inverted)!important}:host([inverted]) .color-purpose-unlimited{color:var(--px-color-text-purpose-unlimited-inverted)!important}:host([inverted]) .color-purpose-promo{color:var(--px-color-text-purpose-promo-inverted)!important}:host([inverted]) .color-state-hover{color:var(--px-color-text-state-hover-inverted)!important}:host([inverted]) .color-state-active{color:var(--px-color-text-state-active-inverted)!important}:host([inverted]) .color-state-disabled{color:var(--px-color-text-state-disabled-inverted)!important}.font-size-inherit{font-size:inherit;line-height:inherit}.font-size-body-l{font-size:var(--px-text-size-body-l-mobile)}.font-size-body-m{font-size:var(--px-text-size-body-m-mobile)}.font-size-body-s{font-size:var(--px-text-size-body-s-mobile)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-mobile)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-mobile)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-mobile)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-mobile)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-mobile)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-mobile)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-mobile)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-mobile)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-mobile)}.font-size-heading-3xl,.font-size-heading-4xl,.font-size-heading-5xl{line-height:var(--px-line-height-ratio-s)}.font-size-link-m{font-size:var(--px-text-size-link-m-mobile)}.font-size-link-s{font-size:var(--px-text-size-link-s-mobile)}@media only screen and (min-width: 48em){.font-size-body-l{font-size:var(--px-text-size-body-l-desktop)}.font-size-body-m{font-size:var(--px-text-size-body-m-desktop)}.font-size-body-s{font-size:var(--px-text-size-body-s-desktop)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-desktop)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-desktop)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-desktop)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-desktop)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-desktop)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-desktop)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-desktop)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-desktop)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-desktop)}.font-size-link-m{font-size:var(--px-text-size-link-m-desktop)}.font-size-link-s{font-size:var(--px-text-size-link-s-desktop)}}@media only screen and (min-width: 64.0625em){.font-size-body-l{font-size:var(--px-text-size-body-l-desktop)}.font-size-body-m{font-size:var(--px-text-size-body-m-desktop)}.font-size-body-s{font-size:var(--px-text-size-body-s-desktop)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-desktop)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-desktop)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-desktop)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-desktop)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-desktop)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-desktop)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-desktop)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-desktop)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-desktop)}.font-size-link-m{font-size:var(--px-text-size-link-m-desktop)}.font-size-link-s{font-size:var(--px-text-size-link-s-desktop)}}.font-weight-inherit{font-weight:inherit}.font-weight-body{font-weight:var(--px-font-weight-body)}.font-weight-title{font-weight:var(--px-font-weight-title)}.font-weight-title-large{font-weight:var(--px-font-weight-title-large)}.font-weight-subtitle{font-weight:var(--px-font-weight-subtitle)}", it = new CSSStyleSheet(), nt = new CSSStyleSheet(), st = new CSSStyleSheet();
|
|
74
|
+
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;line-height:0}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 screen and (min-width: 48rem){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 screen and (min-width: 64.0625rem){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 screen and (min-width: 90.0625rem){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)}}', jt = `.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,.header-minimal-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,.header-minimal-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-mobile) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown) ::slotted([slot="before"]){margin-left:calc(var(--px-padding-xs-mobile) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.header-minimal-dropdown)[disabled],.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.header-minimal-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,.header-minimal-dropdown)[shape=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.header-minimal-dropdown)[shape=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.btn.header-minimal-dropdown{display:flex;align-items:center;touch-action:manipulation}.btn.header-dropdown:after,.btn.header-minimal-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,.btn.header-minimal-dropdown[aria-expanded=true]:after{transform:rotate(180deg)}.btn.header-dropdown{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)}.btn.header-minimal-dropdown{justify-content:flex-start;gap:var(--px-spacing-xs-mobile);color:var(--px-color-text-brand-default);font-weight:var(--px-font-weight-title);font-size:var(--px-text-size-label-m-mobile);border:none;padding:0;border-radius:0;background:none}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,.header-dropdown,.header-minimal-dropdown){color:var(--px-color-text-brand-default);background:var(--px-color-background-container-primary-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown):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,.header-dropdown,.header-minimal-dropdown)[disabled],:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[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,.header-dropdown,.header-minimal-dropdown).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)}:host([inverted]) .btn.header-minimal-dropdown{color:var(--px-color-text-brand-inverted)}:host([inverted]) .btn.header-minimal-dropdown:after{color:var(--px-color-icon-brand-inverted)}@media screen and (max-width: 47.938rem){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape--mobile=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.header-minimal-dropdown)[shape--mobile=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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 screen and (min-width: 48rem) and (max-width: 64rem){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape--tablet=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.header-minimal-dropdown)[shape--tablet=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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 screen and (min-width: 48rem){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,.header-minimal-dropdown){padding:var(--px-padding-xs-tablet) var(--px-padding-m-tablet)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-tablet) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.btn.header-minimal-dropdown{gap:var(--px-spacing-xs-tablet);font-size:var(--px-text-size-label-m-tablet)}.btn.header-dropdown{justify-content:flex-start;align-items:center;width:inherit;color:var(--px-color-text-brand-default);font-weight:var(--px-font-weight-title);border:none;padding:0;border-radius:0;background:none}}@media screen and (min-width: 64.0625rem) and (max-width: 90rem){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown)[shape--laptop=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.header-minimal-dropdown)[shape--laptop=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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 screen and (min-width: 64.0625rem){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,.header-minimal-dropdown){padding:var(--px-padding-xs-laptop) var(--px-padding-m-laptop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-laptop) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.btn.header-minimal-dropdown{gap:var(--px-spacing-xs-laptop);font-size:var(--px-text-size-label-m-laptop)}.btn.header-dropdown{padding:0}}@media screen and (min-width: 90.0625rem){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,.header-minimal-dropdown)[shape--desktop=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.header-minimal-dropdown)[shape--desktop=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.header-minimal-dropdown){padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-desktop) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown,.header-minimal-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,.btn.header-minimal-dropdown{gap:var(--px-spacing-xs-desktop);font-size:var(--px-text-size-label-m-desktop)}.btn.header-dropdown{padding:0}}@keyframes anim-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}`, Pt = ".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 screen and (min-width: 48rem){.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 screen and (min-width: 64.0625rem){.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
75
|
it.replaceSync(Rt);
|
|
70
76
|
nt.replaceSync(jt);
|
|
71
|
-
st.replaceSync(
|
|
72
|
-
const
|
|
77
|
+
st.replaceSync(Pt);
|
|
78
|
+
const qt = [...zt, "link-m", "link-s"], V = [
|
|
73
79
|
"link",
|
|
74
80
|
"no-style",
|
|
75
81
|
"skip-link",
|
|
@@ -138,7 +144,7 @@ const It = [...zt, "link-m", "link-s"], Nt = [
|
|
|
138
144
|
t,
|
|
139
145
|
e,
|
|
140
146
|
o,
|
|
141
|
-
|
|
147
|
+
qt
|
|
142
148
|
);
|
|
143
149
|
break;
|
|
144
150
|
case "color":
|
|
@@ -170,22 +176,22 @@ const It = [...zt, "link-m", "link-s"], Nt = [
|
|
|
170
176
|
this.$el.classList.toggle(t);
|
|
171
177
|
}
|
|
172
178
|
updateVariant(t, e) {
|
|
173
|
-
t !== null && t !== "" && t !== "link" && this._toggleClassList(t), e !== null && e !== "" && e !== "link" && this._toggleClassList(e), this.checkName(
|
|
174
|
-
|
|
179
|
+
t !== null && t !== "" && t !== "link" && this._toggleClassList(t), e !== null && e !== "" && e !== "link" && this._toggleClassList(e), this.checkName(V, e) || R(
|
|
180
|
+
`"${e}" is not a valid variant value for ${this.tagName.toLowerCase()}. Allowed values are: "${V.join('", "')}".`
|
|
175
181
|
), e === "icon-link" && this.$iconNotBeforeAfter.setAttribute("color", "inherit");
|
|
176
182
|
}
|
|
177
183
|
updateShape(t, e, o) {
|
|
178
184
|
if (!Et(o, e)) {
|
|
179
|
-
|
|
180
|
-
|
|
185
|
+
R(
|
|
186
|
+
`"${e}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join('", "')}".`
|
|
181
187
|
);
|
|
182
188
|
return;
|
|
183
189
|
}
|
|
184
190
|
e !== null && e !== "" && this.$el.setAttribute(t, e);
|
|
185
191
|
}
|
|
186
192
|
updateTypography(t, e, o, a) {
|
|
187
|
-
e !== null && e !== "" && e !== "default" && this.$el.classList.toggle(`${t}-${e}`), o !== null && o !== "" && o !== "default" && this.$el.classList.toggle(`${t}-${o}`), this.checkName(a, o) ||
|
|
188
|
-
|
|
193
|
+
e !== null && e !== "" && e !== "default" && this.$el.classList.toggle(`${t}-${e}`), o !== null && o !== "" && o !== "default" && this.$el.classList.toggle(`${t}-${o}`), this.checkName(a, o) || R(
|
|
194
|
+
`"${o}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${a.join('", "')}".`
|
|
189
195
|
);
|
|
190
196
|
}
|
|
191
197
|
updateExtended(t, e) {
|
|
@@ -306,18 +312,18 @@ const It = [...zt, "link-m", "link-s"], Nt = [
|
|
|
306
312
|
}
|
|
307
313
|
};
|
|
308
314
|
O.nativeName = "a";
|
|
309
|
-
let
|
|
310
|
-
customElements.get("px-a") || customElements.define("px-a",
|
|
311
|
-
var m,
|
|
312
|
-
class
|
|
315
|
+
let j = O;
|
|
316
|
+
customElements.get("px-a") || customElements.define("px-a", j);
|
|
317
|
+
var m, I, dt;
|
|
318
|
+
class It extends j {
|
|
313
319
|
constructor() {
|
|
314
320
|
super();
|
|
315
|
-
u(this,
|
|
321
|
+
u(this, I);
|
|
316
322
|
u(this, m);
|
|
317
|
-
this.$el.classList.add("wrapper"),
|
|
323
|
+
this.$el.classList.add("wrapper"), A(this, m, new Tt(
|
|
318
324
|
this,
|
|
319
325
|
this.$el,
|
|
320
|
-
() => b(this,
|
|
326
|
+
() => b(this, I, dt).call(this)
|
|
321
327
|
));
|
|
322
328
|
}
|
|
323
329
|
connectedCallback() {
|
|
@@ -338,11 +344,11 @@ class Pt extends q {
|
|
|
338
344
|
}
|
|
339
345
|
}
|
|
340
346
|
}
|
|
341
|
-
m = new WeakMap(),
|
|
347
|
+
m = new WeakMap(), I = new WeakSet(), dt = function() {
|
|
342
348
|
return !this.hasAttribute("disabled") && this.$el.getAttribute("aria-disabled") !== "true";
|
|
343
349
|
};
|
|
344
|
-
customElements.get("px-a-wrapper") || customElements.define("px-a-wrapper",
|
|
345
|
-
class
|
|
350
|
+
customElements.get("px-a-wrapper") || customElements.define("px-a-wrapper", It);
|
|
351
|
+
class Nt extends HTMLElement {
|
|
346
352
|
constructor() {
|
|
347
353
|
super(), this.template = `<px-a font-weight="title" font-size="body-l" color="brand" variant="no-style">
|
|
348
354
|
<slot></slot>
|
|
@@ -353,130 +359,130 @@ class Bt extends HTMLElement {
|
|
|
353
359
|
});
|
|
354
360
|
}
|
|
355
361
|
}
|
|
356
|
-
customElements.get("px-mdd-a") || customElements.define("px-mdd-a",
|
|
357
|
-
const
|
|
358
|
-
function
|
|
362
|
+
customElements.get("px-mdd-a") || customElements.define("px-mdd-a", Nt);
|
|
363
|
+
const Bt = "#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 screen and (min-width: 48rem){#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 screen and (min-width: 64.0625rem){#dropdown-zone--desktop{margin-block:var(--px-padding-s-laptop)}}@media screen and (min-width: 90.0625rem){#dropdown-zone--desktop{margin-block:var(--px-padding-s-desktop)}}";
|
|
364
|
+
function P(r) {
|
|
359
365
|
var t = typeof r;
|
|
360
366
|
return r != null && (t == "object" || t == "function");
|
|
361
367
|
}
|
|
362
|
-
var
|
|
368
|
+
var Ht = typeof global == "object" && global && global.Object === Object && global, Dt = typeof self == "object" && self && self.Object === Object && self, lt = Ht || Dt || Function("return this")(), _ = function() {
|
|
363
369
|
return lt.Date.now();
|
|
364
|
-
},
|
|
365
|
-
function
|
|
366
|
-
for (var t = r.length; t-- &&
|
|
370
|
+
}, Wt = /\s/;
|
|
371
|
+
function Ft(r) {
|
|
372
|
+
for (var t = r.length; t-- && Wt.test(r.charAt(t)); )
|
|
367
373
|
;
|
|
368
374
|
return t;
|
|
369
375
|
}
|
|
370
|
-
var
|
|
371
|
-
function
|
|
372
|
-
return r && r.slice(0,
|
|
376
|
+
var _t = /^\s+/;
|
|
377
|
+
function Ut(r) {
|
|
378
|
+
return r && r.slice(0, Ft(r) + 1).replace(_t, "");
|
|
373
379
|
}
|
|
374
|
-
var
|
|
375
|
-
function
|
|
376
|
-
var t =
|
|
380
|
+
var q = lt.Symbol, pt = Object.prototype, Yt = pt.hasOwnProperty, Zt = pt.toString, S = q ? q.toStringTag : void 0;
|
|
381
|
+
function Xt(r) {
|
|
382
|
+
var t = Yt.call(r, S), e = r[S];
|
|
377
383
|
try {
|
|
378
|
-
r[
|
|
384
|
+
r[S] = void 0;
|
|
379
385
|
var o = !0;
|
|
380
386
|
} catch {
|
|
381
387
|
}
|
|
382
|
-
var a =
|
|
383
|
-
return o && (t ? r[
|
|
388
|
+
var a = Zt.call(r);
|
|
389
|
+
return o && (t ? r[S] = e : delete r[S]), a;
|
|
384
390
|
}
|
|
385
|
-
var
|
|
386
|
-
function
|
|
387
|
-
return
|
|
391
|
+
var Jt = Object.prototype, Kt = Jt.toString;
|
|
392
|
+
function Qt(r) {
|
|
393
|
+
return Kt.call(r);
|
|
388
394
|
}
|
|
389
|
-
var
|
|
390
|
-
function
|
|
391
|
-
return r == null ? r === void 0 ?
|
|
395
|
+
var Gt = "[object Null]", Vt = "[object Undefined]", tt = q ? q.toStringTag : void 0;
|
|
396
|
+
function te(r) {
|
|
397
|
+
return r == null ? r === void 0 ? Vt : Gt : tt && tt in Object(r) ? Xt(r) : Qt(r);
|
|
392
398
|
}
|
|
393
|
-
function
|
|
399
|
+
function ee(r) {
|
|
394
400
|
return r != null && typeof r == "object";
|
|
395
401
|
}
|
|
396
|
-
var
|
|
397
|
-
function
|
|
398
|
-
return typeof r == "symbol" ||
|
|
402
|
+
var oe = "[object Symbol]";
|
|
403
|
+
function re(r) {
|
|
404
|
+
return typeof r == "symbol" || ee(r) && te(r) == oe;
|
|
399
405
|
}
|
|
400
|
-
var et = NaN,
|
|
406
|
+
var et = NaN, ae = /^[-+]0x[0-9a-f]+$/i, ie = /^0b[01]+$/i, ne = /^0o[0-7]+$/i, se = parseInt;
|
|
401
407
|
function ot(r) {
|
|
402
408
|
if (typeof r == "number")
|
|
403
409
|
return r;
|
|
404
|
-
if (
|
|
410
|
+
if (re(r))
|
|
405
411
|
return et;
|
|
406
|
-
if (
|
|
412
|
+
if (P(r)) {
|
|
407
413
|
var t = typeof r.valueOf == "function" ? r.valueOf() : r;
|
|
408
|
-
r =
|
|
414
|
+
r = P(t) ? t + "" : t;
|
|
409
415
|
}
|
|
410
416
|
if (typeof r != "string")
|
|
411
417
|
return r === 0 ? r : +r;
|
|
412
|
-
r =
|
|
413
|
-
var e =
|
|
414
|
-
return e ||
|
|
418
|
+
r = Ut(r);
|
|
419
|
+
var e = ie.test(r);
|
|
420
|
+
return e || ne.test(r) ? se(r.slice(2), e ? 2 : 8) : ae.test(r) ? et : +r;
|
|
415
421
|
}
|
|
416
|
-
var
|
|
417
|
-
function
|
|
418
|
-
var o, a,
|
|
422
|
+
var de = "Expected a function", le = Math.max, pe = Math.min;
|
|
423
|
+
function ce(r, t, e) {
|
|
424
|
+
var o, a, n, s, l, c, x = 0, z = !1, h = !1, H = !0;
|
|
419
425
|
if (typeof r != "function")
|
|
420
|
-
throw new TypeError(
|
|
421
|
-
t = ot(t) || 0,
|
|
426
|
+
throw new TypeError(de);
|
|
427
|
+
t = ot(t) || 0, P(e) && (z = !!e.leading, h = "maxWait" in e, n = h ? le(ot(e.maxWait) || 0, t) : n, H = "trailing" in e ? !!e.trailing : H);
|
|
422
428
|
function D(p) {
|
|
423
|
-
var
|
|
424
|
-
return o = a = void 0,
|
|
429
|
+
var g = o, $ = a;
|
|
430
|
+
return o = a = void 0, x = p, s = r.apply($, g), s;
|
|
425
431
|
}
|
|
426
432
|
function mt(p) {
|
|
427
|
-
return
|
|
433
|
+
return x = p, l = setTimeout(L, t), z ? D(p) : s;
|
|
428
434
|
}
|
|
429
435
|
function kt(p) {
|
|
430
|
-
var
|
|
431
|
-
return h ?
|
|
436
|
+
var g = p - c, $ = p - x, Q = t - g;
|
|
437
|
+
return h ? pe(Q, n - $) : Q;
|
|
432
438
|
}
|
|
433
|
-
function
|
|
434
|
-
var
|
|
435
|
-
return c === void 0 ||
|
|
439
|
+
function J(p) {
|
|
440
|
+
var g = p - c, $ = p - x;
|
|
441
|
+
return c === void 0 || g >= t || g < 0 || h && $ >= n;
|
|
436
442
|
}
|
|
437
|
-
function
|
|
438
|
-
var p =
|
|
439
|
-
if (
|
|
440
|
-
return
|
|
441
|
-
l = setTimeout(
|
|
443
|
+
function L() {
|
|
444
|
+
var p = _();
|
|
445
|
+
if (J(p))
|
|
446
|
+
return K(p);
|
|
447
|
+
l = setTimeout(L, kt(p));
|
|
442
448
|
}
|
|
443
|
-
function
|
|
444
|
-
return l = void 0,
|
|
449
|
+
function K(p) {
|
|
450
|
+
return l = void 0, H && o ? D(p) : (o = a = void 0, s);
|
|
445
451
|
}
|
|
446
452
|
function yt() {
|
|
447
|
-
l !== void 0 && clearTimeout(l),
|
|
453
|
+
l !== void 0 && clearTimeout(l), x = 0, o = c = a = l = void 0;
|
|
448
454
|
}
|
|
449
455
|
function wt() {
|
|
450
|
-
return l === void 0 ?
|
|
456
|
+
return l === void 0 ? s : K(_());
|
|
451
457
|
}
|
|
452
|
-
function
|
|
453
|
-
var p =
|
|
454
|
-
if (o = arguments, a = this, c = p,
|
|
458
|
+
function W() {
|
|
459
|
+
var p = _(), g = J(p);
|
|
460
|
+
if (o = arguments, a = this, c = p, g) {
|
|
455
461
|
if (l === void 0)
|
|
456
462
|
return mt(c);
|
|
457
463
|
if (h)
|
|
458
|
-
return clearTimeout(l), l = setTimeout(
|
|
464
|
+
return clearTimeout(l), l = setTimeout(L, t), D(c);
|
|
459
465
|
}
|
|
460
|
-
return l === void 0 && (l = setTimeout(
|
|
466
|
+
return l === void 0 && (l = setTimeout(L, t)), s;
|
|
461
467
|
}
|
|
462
|
-
return
|
|
468
|
+
return W.cancel = yt, W.flush = wt, W;
|
|
463
469
|
}
|
|
464
|
-
var
|
|
465
|
-
function
|
|
470
|
+
var be = "Expected a function";
|
|
471
|
+
function ue(r, t, e) {
|
|
466
472
|
var o = !0, a = !0;
|
|
467
473
|
if (typeof r != "function")
|
|
468
|
-
throw new TypeError(
|
|
469
|
-
return
|
|
474
|
+
throw new TypeError(be);
|
|
475
|
+
return P(e) && (o = "leading" in e ? !!e.leading : o, a = "trailing" in e ? !!e.trailing : a), ce(r, t, {
|
|
470
476
|
leading: o,
|
|
471
477
|
maxWait: t,
|
|
472
478
|
trailing: a
|
|
473
479
|
});
|
|
474
480
|
}
|
|
475
481
|
const ct = new CSSStyleSheet();
|
|
476
|
-
ct.replaceSync(
|
|
477
|
-
const
|
|
478
|
-
var T, i, bt,
|
|
479
|
-
class ge extends
|
|
482
|
+
ct.replaceSync(Bt);
|
|
483
|
+
const he = "Menu";
|
|
484
|
+
var T, i, bt, U, Y, ut, Z, f, C, E, v;
|
|
485
|
+
class ge extends X {
|
|
480
486
|
constructor() {
|
|
481
487
|
var e;
|
|
482
488
|
super(ct);
|
|
@@ -501,7 +507,7 @@ class ge extends J {
|
|
|
501
507
|
</div>
|
|
502
508
|
</nav>
|
|
503
509
|
<px-spacer></px-spacer>
|
|
504
|
-
<px-hstack gap--mobile="
|
|
510
|
+
<px-hstack gap--mobile="s" align-items="center" gap="default">
|
|
505
511
|
<slot name="header-actions"></slot>
|
|
506
512
|
<px-button-icon id="burger-menu" variant="naked" aria-label="${this.burgerMenuAriaLabel ?? "Open menu"}"
|
|
507
513
|
aria-expanded="false" hidden--tablet hidden--laptop
|
|
@@ -519,36 +525,36 @@ class ge extends J {
|
|
|
519
525
|
<div id="backdrop-filter"></div>
|
|
520
526
|
<slot name="main"></slot>
|
|
521
527
|
</div>
|
|
522
|
-
`,
|
|
528
|
+
`, A(this, T, () => {
|
|
523
529
|
window.innerWidth >= 768 && (b(this, i, ut).call(this), b(this, i, bt).call(this));
|
|
524
|
-
}), this.shadowRoot.innerHTML = this.template, this.internals = (e = this.attachInternals) == null ? void 0 : e.call(this), this.
|
|
530
|
+
}), this.shadowRoot.innerHTML = this.template, this.internals = (e = this.attachInternals) == null ? void 0 : e.call(this), this.internals && (this.internals.role = "navigation");
|
|
525
531
|
}
|
|
526
532
|
connectedCallback() {
|
|
527
|
-
this.addEventListener("click", (e) => {
|
|
533
|
+
this.role = "navigation", this.addEventListener("click", (e) => {
|
|
528
534
|
const o = e.target.closest(
|
|
529
535
|
"px-header-item"
|
|
530
536
|
);
|
|
531
|
-
o && o.for && (e.target.checked === !1 ? (this.$backdropFilter.style.display = "block", d(this, i,
|
|
537
|
+
o && o.for && (e.target.checked === !1 ? (this.$backdropFilter.style.display = "block", d(this, i, C).forEach((a) => {
|
|
532
538
|
a.checked = !1;
|
|
533
|
-
}), o.checked = !0, b(this, i,
|
|
539
|
+
}), o.checked = !0, b(this, i, U).call(this, e.target.for)) : b(this, i, Z).call(this));
|
|
534
540
|
}), this.addEventListener("section-item-click", (e) => {
|
|
535
|
-
this.$backdropFilter.style.display = "block", d(this, i,
|
|
541
|
+
this.$backdropFilter.style.display = "block", d(this, i, C).forEach((o) => {
|
|
536
542
|
o.checked = !1;
|
|
537
543
|
}), this.querySelector(
|
|
538
544
|
`px-header-item[for="${e.detail.for}"]`
|
|
539
|
-
).checked = !0, b(this, i,
|
|
545
|
+
).checked = !0, b(this, i, U).call(this, e.detail.for);
|
|
540
546
|
}), this.addEventListener("back-to-mobile-menu", () => {
|
|
541
|
-
this.$backdropFilter.style.display = "block", d(this, i,
|
|
547
|
+
this.$backdropFilter.style.display = "block", d(this, i, C).forEach((e) => {
|
|
542
548
|
e.checked = !1;
|
|
543
|
-
}), b(this, i,
|
|
549
|
+
}), b(this, i, Y).call(this);
|
|
544
550
|
}), this.$burgerMenu.addEventListener("click", () => {
|
|
545
|
-
this.$burgerMenu.setAttribute("aria-expanded", "true"), b(this, i,
|
|
551
|
+
this.$burgerMenu.setAttribute("aria-expanded", "true"), b(this, i, Y).call(this);
|
|
546
552
|
}), this.addEventListener("close-panel", () => {
|
|
547
|
-
b(this, i,
|
|
553
|
+
b(this, i, Z).call(this), this.$burgerMenu.setAttribute("aria-expanded", "false");
|
|
548
554
|
}), this.addEventListener(
|
|
549
555
|
"close-panel-from-dialog",
|
|
550
556
|
(e) => {
|
|
551
|
-
this.dispatchEvent(new CustomEvent("close-panel")), e.detail.clientY < d(this, i,
|
|
557
|
+
this.dispatchEvent(new CustomEvent("close-panel")), e.detail.clientY < d(this, i, E).getBoundingClientRect().bottom && requestAnimationFrame(() => {
|
|
552
558
|
var o;
|
|
553
559
|
(o = document.elementFromPoint(
|
|
554
560
|
e.detail.clientX,
|
|
@@ -556,7 +562,7 @@ class ge extends J {
|
|
|
556
562
|
)) == null || o.click();
|
|
557
563
|
});
|
|
558
564
|
}
|
|
559
|
-
), !this.$targetGroupDropdown && !this.$userLanguageDropdown && (this.$dropDownZoneDesktop.style.display = "none"), this.primaryNavigationAriaLabel || this.setAttribute("primary-navigation-aria-label",
|
|
565
|
+
), !this.$targetGroupDropdown && !this.$userLanguageDropdown && (this.$dropDownZoneDesktop.style.display = "none"), this.primaryNavigationAriaLabel || this.setAttribute("primary-navigation-aria-label", he), window.addEventListener("resize", ue(d(this, T), 200));
|
|
560
566
|
}
|
|
561
567
|
static get observedAttributes() {
|
|
562
568
|
return [
|
|
@@ -570,8 +576,8 @@ class ge extends J {
|
|
|
570
576
|
if (o !== a)
|
|
571
577
|
switch (e) {
|
|
572
578
|
case "close-button-aria-label":
|
|
573
|
-
d(this, i, v).forEach((
|
|
574
|
-
|
|
579
|
+
d(this, i, v).forEach((n) => {
|
|
580
|
+
n.setAttribute("close-button-aria-label", a);
|
|
575
581
|
});
|
|
576
582
|
break;
|
|
577
583
|
case "burger-menu-aria-label":
|
|
@@ -581,8 +587,8 @@ class ge extends J {
|
|
|
581
587
|
this.$primaryNavigation.setAttribute("aria-label", a);
|
|
582
588
|
break;
|
|
583
589
|
case "back-to-menu-label":
|
|
584
|
-
d(this, i, v).forEach((
|
|
585
|
-
|
|
590
|
+
d(this, i, v).forEach((n) => {
|
|
591
|
+
n.setAttribute("back-to-menu-label", a);
|
|
586
592
|
});
|
|
587
593
|
break;
|
|
588
594
|
}
|
|
@@ -634,39 +640,39 @@ class ge extends J {
|
|
|
634
640
|
}
|
|
635
641
|
}
|
|
636
642
|
T = new WeakMap(), i = new WeakSet(), bt = function() {
|
|
637
|
-
const e = this.querySelectorAll("px-mdd"), o = d(this, i,
|
|
643
|
+
const e = this.querySelectorAll("px-mdd"), o = d(this, i, E).getBoundingClientRect().bottom;
|
|
638
644
|
e.forEach((a) => {
|
|
639
645
|
a.dialogOffsetTop = `${o}px`;
|
|
640
646
|
});
|
|
641
|
-
},
|
|
647
|
+
}, U = function(e) {
|
|
642
648
|
d(this, i, f).$megaDropDown.hidden = !0, d(this, i, v).forEach((o) => {
|
|
643
|
-
o.name === e && o.hidden && (o.dialogOffsetTop = `${d(this, i,
|
|
649
|
+
o.name === e && o.hidden && (o.dialogOffsetTop = `${d(this, i, E).getBoundingClientRect().bottom}px`, o.hidden = !o.hidden, this.querySelector(`px-header-item[for="${e}"]`).checked = !o.hidden, document.body.style.overflow = o.hidden ? "auto" : "hidden"), o.name !== e && !o.hidden && (o.hidden = !0);
|
|
644
650
|
});
|
|
645
|
-
},
|
|
651
|
+
}, Y = function() {
|
|
646
652
|
this.$backdropFilter.style.display = "none", d(this, i, v).forEach((e) => {
|
|
647
653
|
e.hidden || (e.hidden = !0);
|
|
648
|
-
}), d(this, i, f).$megaDropDown.dialogOffsetTop = `${d(this, i,
|
|
654
|
+
}), d(this, i, f).$megaDropDown.dialogOffsetTop = `${d(this, i, E).getBoundingClientRect().bottom}px`, d(this, i, f).$megaDropDown.hidden = !1, document.body.style.overflow = "hidden";
|
|
649
655
|
}, ut = function() {
|
|
650
656
|
d(this, i, f) && (d(this, i, f).$megaDropDown.hidden = !0, this.$burgerMenu.setAttribute("aria-expanded", "false"), Array.from(d(this, i, v)).some(
|
|
651
657
|
(o) => !o.hidden
|
|
652
658
|
) || (document.body.style.overflow = "auto", this.$backdropFilter.style.display = "none"));
|
|
653
|
-
},
|
|
654
|
-
this.$backdropFilter.style.display = "none", d(this, i, f).$megaDropDown.hidden = !0, d(this, i,
|
|
659
|
+
}, Z = function() {
|
|
660
|
+
this.$backdropFilter.style.display = "none", d(this, i, f).$megaDropDown.hidden = !0, d(this, i, C).forEach((e) => {
|
|
655
661
|
e.checked = !1;
|
|
656
662
|
}), d(this, i, v).forEach((e) => {
|
|
657
663
|
e.hidden = !0;
|
|
658
664
|
}), document.body.style.overflow = "auto";
|
|
659
665
|
}, f = function() {
|
|
660
666
|
return this.querySelector("px-header-mobile-menu");
|
|
661
|
-
},
|
|
667
|
+
}, C = function() {
|
|
662
668
|
return this.querySelectorAll("px-header-item");
|
|
663
|
-
},
|
|
669
|
+
}, E = function() {
|
|
664
670
|
return this.shadowRoot.querySelector("header");
|
|
665
671
|
}, v = function() {
|
|
666
672
|
return this.querySelectorAll("px-mdd");
|
|
667
673
|
};
|
|
668
674
|
customElements.get("px-header") || customElements.define("px-header", ge);
|
|
669
|
-
const
|
|
675
|
+
const xe = ':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: 47.938rem){::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: 48rem){::slotted([slot="popover"]){padding-block:var(--px-padding-s-desktop);right:auto;width:auto}}', fe = [
|
|
670
676
|
"top-left",
|
|
671
677
|
"top-right",
|
|
672
678
|
"bottom-left",
|
|
@@ -674,34 +680,37 @@ const fe = ':host{position:relative}::slotted([slot="popover"]){position:absolut
|
|
|
674
680
|
];
|
|
675
681
|
function rt(r, t, e = "bottom-left", o, a = !1) {
|
|
676
682
|
"anchorName" in document.documentElement.style && a === !1 || t.addEventListener("toggle", () => {
|
|
677
|
-
var
|
|
683
|
+
var z, h;
|
|
678
684
|
if (!r || !t)
|
|
679
685
|
return;
|
|
680
|
-
const
|
|
686
|
+
const n = r.getBoundingClientRect(), s = ((z = window.visualViewport) == null ? void 0 : z.height) ?? window.innerHeight, l = ((h = window.visualViewport) == null ? void 0 : h.width) ?? window.innerWidth, c = o.getPropertyValue("--px-padding-s-mobile") || "16px", x = parseInt(
|
|
681
687
|
(o.getPropertyValue("--px-icon-size-xs-desktop") || "24").replace("px", "")
|
|
682
688
|
);
|
|
683
|
-
["top-left", "top-right"].includes(e) ? (t.style.bottom = `calc( ${c} + ${
|
|
689
|
+
["top-left", "top-right"].includes(e) ? (t.style.bottom = `calc( ${c} + ${s - n.top - window.scrollY}px)`, t.style.top = "auto", e === "top-left" ? t.style.left = l < 768 ? `${c}px` : `${n.left}px` : t.style.right = l < 768 ? `${c}px` : `${l - n.right}px`) : (t.style.top = `${n.bottom + window.scrollY}px`, e === "bottom-left" ? t.style.left = l < 768 ? `${c}px` : `${n.left}px` : t.style.right = l < 768 ? `${c}px` : `${l - n.right - x}px`);
|
|
684
690
|
});
|
|
685
691
|
}
|
|
686
692
|
const ht = new CSSStyleSheet();
|
|
687
|
-
ht.replaceSync(
|
|
688
|
-
const
|
|
689
|
-
var
|
|
690
|
-
class
|
|
693
|
+
ht.replaceSync(xe);
|
|
694
|
+
const M = "bottom-left";
|
|
695
|
+
var w, gt, k, y, xt;
|
|
696
|
+
class ve extends X {
|
|
691
697
|
constructor() {
|
|
692
698
|
super(ht);
|
|
693
|
-
u(this, $);
|
|
694
|
-
u(this, y);
|
|
695
699
|
u(this, w);
|
|
696
|
-
u(this,
|
|
700
|
+
u(this, k);
|
|
701
|
+
u(this, y);
|
|
697
702
|
this.template = () => `
|
|
698
703
|
<style>${this.css}</style>
|
|
699
704
|
<slot name="trigger"></slot>
|
|
700
|
-
<slot name="popover"></slot>`, this.isAboutToClose = !1,
|
|
701
|
-
this.isAboutToClose || (this.$popoverElement.togglePopover({ source: this.$trigger }), this.$trigger.ariaExpanded = "true");
|
|
702
|
-
}
|
|
703
|
-
this
|
|
704
|
-
}
|
|
705
|
+
<slot name="popover"></slot>`, this.isAboutToClose = !1, this.triggerPopoverDisplay = () => {
|
|
706
|
+
this.isAboutToClose || (this.$popoverElement.togglePopover({ source: this.$trigger }), this.manualToggle || (this.$trigger.ariaExpanded = "true"));
|
|
707
|
+
}, this.showPopover = () => {
|
|
708
|
+
this.isAboutToClose || this.$popoverElement.showPopover();
|
|
709
|
+
}, this.hidePopover = () => {
|
|
710
|
+
this.$popoverElement.hidePopover();
|
|
711
|
+
}, A(this, k, () => {
|
|
712
|
+
this.$popoverElement.matches(":popover-open") && (this.isAboutToClose = !0, this.manualToggle || (this.$trigger.ariaExpanded = "false"));
|
|
713
|
+
}), A(this, y, () => {
|
|
705
714
|
this.$popoverElement.matches(":popover-open") || setTimeout(() => {
|
|
706
715
|
this.isAboutToClose = !1;
|
|
707
716
|
});
|
|
@@ -750,14 +759,15 @@ class me extends J {
|
|
|
750
759
|
...super.observedAttributes,
|
|
751
760
|
"id",
|
|
752
761
|
"anchoralignment",
|
|
753
|
-
"use-polyfill"
|
|
762
|
+
"use-polyfill",
|
|
763
|
+
"manual-toggle"
|
|
754
764
|
];
|
|
755
765
|
}
|
|
756
766
|
connectedCallback() {
|
|
757
767
|
this.getAttribute("id") || this.setAttribute(
|
|
758
768
|
"id",
|
|
759
769
|
`px-dropdown-${Math.random().toString(36).substring(2, 15)}`
|
|
760
|
-
), this.getAttribute("anchoralignment") || this.setAttribute("anchoralignment",
|
|
770
|
+
), this.getAttribute("anchoralignment") || this.setAttribute("anchoralignment", M), rt(
|
|
761
771
|
this.$trigger,
|
|
762
772
|
this.$popoverElement,
|
|
763
773
|
this.anchorAlignment,
|
|
@@ -766,6 +776,7 @@ class me extends J {
|
|
|
766
776
|
);
|
|
767
777
|
}
|
|
768
778
|
attributeChangedCallback(e, o, a) {
|
|
779
|
+
var n;
|
|
769
780
|
if (o !== a)
|
|
770
781
|
switch (e) {
|
|
771
782
|
case "id":
|
|
@@ -780,13 +791,16 @@ class me extends J {
|
|
|
780
791
|
this.usePolyfill
|
|
781
792
|
);
|
|
782
793
|
break;
|
|
794
|
+
case "manual-toggle":
|
|
795
|
+
a != null && ((n = this.$trigger) == null || n.removeAttribute("aria-expanded"));
|
|
796
|
+
break;
|
|
783
797
|
default:
|
|
784
798
|
super.attributeChangedCallback(e, o, a);
|
|
785
799
|
break;
|
|
786
800
|
}
|
|
787
801
|
}
|
|
788
802
|
initPopover() {
|
|
789
|
-
this.$trigger && (this.$trigger.setAttribute("popovertarget", this.popoverId), this.$trigger.setAttribute("aria-controls", this.
|
|
803
|
+
this.$trigger && (this.$trigger.setAttribute("popovertarget", this.popoverId), this.$trigger.setAttribute("aria-controls", this.getAttribute("id")), this.hasAttribute("manual-toggle") || this.$trigger.setAttribute("aria-expanded", "false"), this.$popoverElement.setAttribute("id", this.popoverId), this.$popoverElement.setAttribute("popover", ""), this.$style.innerHTML = this.css, b(this, w, gt).call(this), b(this, w, xt).call(this));
|
|
790
804
|
}
|
|
791
805
|
get popoverId() {
|
|
792
806
|
return `${this.getAttribute("id")}-popover`;
|
|
@@ -804,12 +818,12 @@ class me extends J {
|
|
|
804
818
|
return this.querySelector('[slot="popover"]');
|
|
805
819
|
}
|
|
806
820
|
get anchorAlignment() {
|
|
807
|
-
return this.getAttribute("anchoralignment") ||
|
|
821
|
+
return this.getAttribute("anchoralignment") || M;
|
|
808
822
|
}
|
|
809
823
|
set anchorAlignment(e) {
|
|
810
|
-
|
|
811
|
-
`Invalid anchor alignment value: ${e}. Using default ${
|
|
812
|
-
), this.setAttribute("anchoralignment",
|
|
824
|
+
fe.includes(e) ? this.setAttribute("anchoralignment", e) : (R(
|
|
825
|
+
`Invalid anchor alignment value: ${e}. Using default ${M}.`
|
|
826
|
+
), this.setAttribute("anchoralignment", M));
|
|
813
827
|
}
|
|
814
828
|
get usePolyfill() {
|
|
815
829
|
return this.hasAttribute("use-polyfill");
|
|
@@ -817,37 +831,43 @@ class me extends J {
|
|
|
817
831
|
set usePolyfill(e) {
|
|
818
832
|
e ? this.setAttribute("use-polyfill", "") : this.removeAttribute("use-polyfill");
|
|
819
833
|
}
|
|
834
|
+
get manualToggle() {
|
|
835
|
+
return this.hasAttribute("manual-toggle");
|
|
836
|
+
}
|
|
837
|
+
set manualToggle(e) {
|
|
838
|
+
e ? this.setAttribute("manual-toggle", "") : this.removeAttribute("manual-toggle");
|
|
839
|
+
}
|
|
820
840
|
}
|
|
821
|
-
|
|
822
|
-
this.isAboutToClose = !1, this.$trigger.removeEventListener("click",
|
|
841
|
+
w = new WeakSet(), gt = function() {
|
|
842
|
+
this.isAboutToClose = !1, this.manualToggle || this.$trigger.removeEventListener("click", this.triggerPopoverDisplay), this.$popoverElement.removeEventListener(
|
|
823
843
|
"beforetoggle",
|
|
824
|
-
d(this,
|
|
825
|
-
), this.$popoverElement.removeEventListener("toggle", d(this,
|
|
826
|
-
},
|
|
844
|
+
d(this, k)
|
|
845
|
+
), this.$popoverElement.removeEventListener("toggle", d(this, y));
|
|
846
|
+
}, k = new WeakMap(), y = new WeakMap(), /**
|
|
827
847
|
* Handles the manual display of the popover when the trigger is clicked.
|
|
828
848
|
* This is necessary for cases where the trigger is not a button or input element.
|
|
829
849
|
* This method adds event listeners to the trigger element to toggle the popover.
|
|
830
850
|
* It also manages the state of whether the popover is about to close or not to avoid
|
|
831
851
|
* race conditions when the popover is toggled and the trigger click event is fired.
|
|
832
852
|
*/
|
|
833
|
-
|
|
834
|
-
this.$trigger &&
|
|
853
|
+
xt = function() {
|
|
854
|
+
this.$trigger && (this.manualToggle || this.$trigger.addEventListener("click", this.triggerPopoverDisplay), this.$popoverElement.addEventListener("beforetoggle", d(this, k)), this.$popoverElement.addEventListener("toggle", d(this, y)));
|
|
835
855
|
};
|
|
836
|
-
customElements.get("px-dropdown") || customElements.define("px-dropdown",
|
|
856
|
+
customElements.get("px-dropdown") || customElements.define("px-dropdown", ve);
|
|
837
857
|
const ft = new CSSStyleSheet();
|
|
838
858
|
ft.replaceSync(`
|
|
839
|
-
@media screen and (min-width:
|
|
859
|
+
@media screen and (min-width: 48rem) {
|
|
840
860
|
:host {
|
|
841
861
|
display: none;
|
|
842
862
|
}
|
|
843
863
|
}
|
|
844
864
|
`);
|
|
845
|
-
var
|
|
846
|
-
class
|
|
865
|
+
var N, B, vt;
|
|
866
|
+
class me extends HTMLElement {
|
|
847
867
|
constructor() {
|
|
848
868
|
super();
|
|
849
|
-
u(this,
|
|
850
|
-
u(this,
|
|
869
|
+
u(this, B);
|
|
870
|
+
u(this, N, `<px-mdd
|
|
851
871
|
name="__lavender_mobile_menu"
|
|
852
872
|
hidden--tablet
|
|
853
873
|
hidden--laptop
|
|
@@ -856,7 +876,7 @@ class ke extends HTMLElement {
|
|
|
856
876
|
<span slot="title"><slot name="title"></slot></span>
|
|
857
877
|
<px-mdd-section title-hidden></px-mdd-section>
|
|
858
878
|
</px-mdd>`);
|
|
859
|
-
this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = d(this,
|
|
879
|
+
this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = d(this, N), this.shadowRoot.adoptedStyleSheets = [ft];
|
|
860
880
|
}
|
|
861
881
|
connectedCallback() {
|
|
862
882
|
this.setAttribute("slot", "header-panels");
|
|
@@ -865,39 +885,39 @@ class ke extends HTMLElement {
|
|
|
865
885
|
throw new Error(
|
|
866
886
|
"<px-header-mobile-menu> must be used within a <px-header>."
|
|
867
887
|
);
|
|
868
|
-
const o = e.querySelectorAll("px-header-item"), a = e.querySelectorAll("px-action-link"),
|
|
869
|
-
|
|
870
|
-
${[...o].map((
|
|
871
|
-
const l =
|
|
872
|
-
return l ? `<px-mdd-section-item for="${l}">${
|
|
888
|
+
const o = e.querySelectorAll("px-header-item"), a = e.querySelectorAll("px-action-link"), n = this.shadowRoot.querySelector("px-mdd-section");
|
|
889
|
+
n.innerHTML = `
|
|
890
|
+
${[...o].map((s) => {
|
|
891
|
+
const l = s.getAttribute("for"), c = s.getAttribute("href");
|
|
892
|
+
return l ? `<px-mdd-section-item for="${l}">${s.innerText}</px-mdd-section-item>` : c ? `<px-mdd-section-item href="${c}">${s.innerText}</px-mdd-section-item>` : "";
|
|
873
893
|
}).join("")}
|
|
874
|
-
${[...a].filter((
|
|
875
|
-
(
|
|
876
|
-
).join("")}`, b(this,
|
|
877
|
-
|
|
894
|
+
${[...a].filter((s) => !s.hasAttribute("promoted")).map(
|
|
895
|
+
(s) => `<px-mdd-a href="${s.getAttribute("href")}" slot="footer">${s.innerText}</px-mdd-a>`
|
|
896
|
+
).join("")}`, b(this, B, vt).call(this).forEach((s) => {
|
|
897
|
+
s && this.$megaDropDown.appendChild(s);
|
|
878
898
|
});
|
|
879
899
|
}
|
|
880
900
|
get $megaDropDown() {
|
|
881
901
|
return this.shadowRoot.querySelector("px-mdd");
|
|
882
902
|
}
|
|
883
903
|
}
|
|
884
|
-
|
|
904
|
+
N = new WeakMap(), B = new WeakSet(), vt = function() {
|
|
885
905
|
const e = this.closest("px-header"), o = e.querySelector(
|
|
886
906
|
'px-dropdown[slot="target-group"]'
|
|
887
907
|
), a = e.querySelector(
|
|
888
908
|
'px-dropdown[slot="user-language"]'
|
|
889
|
-
),
|
|
909
|
+
), n = o == null ? void 0 : o.cloneNode(
|
|
890
910
|
!0
|
|
891
911
|
);
|
|
892
|
-
|
|
893
|
-
const
|
|
912
|
+
n == null || n.removeAttribute("id"), n == null || n.setAttribute("slot", "mdd-footer"), n == null || n.setAttribute("grow", "3"), n == null || n.setAttribute("anchoralignment", "top-left");
|
|
913
|
+
const s = a == null ? void 0 : a.cloneNode(
|
|
894
914
|
!0
|
|
895
915
|
);
|
|
896
|
-
return
|
|
916
|
+
return s == null || s.removeAttribute("id"), s == null || s.setAttribute("slot", "mdd-footer"), s == null || s.setAttribute("grow", "1"), s == null || s.setAttribute("anchoralignment", "top-right"), [n, s];
|
|
897
917
|
};
|
|
898
|
-
customElements.get("px-header-mobile-menu") || customElements.define("px-header-mobile-menu",
|
|
918
|
+
customElements.get("px-header-mobile-menu") || customElements.define("px-header-mobile-menu", me);
|
|
899
919
|
export {
|
|
900
920
|
ge as Header,
|
|
901
921
|
Mt as HeaderItem,
|
|
902
|
-
|
|
922
|
+
me as HeaderMobileMenu
|
|
903
923
|
};
|