@proximus/lavender-mega-dropdown 1.4.9-alpha.9 → 1.4.9-beta.2

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.
Files changed (2) hide show
  1. package/dist/index.es.js +444 -390
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -1,16 +1,16 @@
1
- var rt = (s) => {
1
+ var at = (s) => {
2
2
  throw TypeError(s);
3
3
  };
4
- var I = (s, t, e) => t.has(s) || rt("Cannot " + e);
5
- var n = (s, t, e) => (I(s, t, "read from private field"), e ? e.call(s) : t.get(s)), c = (s, t, e) => t.has(s) ? rt("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(s) : t.set(s, e), k = (s, t, e, o) => (I(s, t, "write to private field"), o ? o.call(s, e) : t.set(s, e), e), P = (s, t, e) => (I(s, t, "access private method"), e);
6
- import { PxElement as w, transferAccessibilityAttributes as it, log as d, checkName as $, WrappedInteractiveStateController as at, WithExtraAttributes as st, iconSizeValuesKC as Ht, textalignValues as nt, colorValues as Y, headingValues as dt, cssTokenBreakpoints as h, paddingValues as u, gapValues as jt, boxShadowValues as Ot, backgroundSizeValues as _t, noBorderRadiusValues as Wt, borderRadiusValues as Ft, borderSideValues as Gt, borderValues as Nt, gradientValues as Yt, backgroundColorValues as lt, borderColorValues as Zt, fontweightValues as pt, fontsizeValues as bt } from "@proximus/lavender-common";
4
+ var I = (s, t, e) => t.has(s) || at("Cannot " + e);
5
+ var n = (s, t, e) => (I(s, t, "read from private field"), e ? e.call(s) : t.get(s)), c = (s, t, e) => t.has(s) ? at("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(s) : t.set(s, e), k = (s, t, e, r) => (I(s, t, "write to private field"), r ? r.call(s, e) : t.set(s, e), e), j = (s, t, e) => (I(s, t, "access private method"), e);
6
+ import { PxElement as $, transferAccessibilityAttributes as pt, log as d, checkName as w, WrappedInteractiveStateController as bt, WithExtraAttributes as X, iconSizeValuesKC as _t, textalignValues as ct, colorValues as Z, headingValues as ht, cssTokenBreakpoints as h, paddingValues as u, gapValues as Wt, boxShadowValues as Ft, backgroundSizeValues as Gt, noBorderRadiusValues as Yt, borderRadiusValues as Xt, borderSideValues as Zt, borderValues as Kt, gradientValues as st, backgroundColorValues as P, borderColorValues as nt, fontweightValues as gt, fontsizeValues as ut } from "@proximus/lavender-common";
7
7
  import "@proximus/lavender-layout";
8
- const ct = `.btn{width:var(--button-extended--mobile, var(--button-extended, auto));display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-title);text-align:center;gap:var(--px-spacing-2xs-mobile);cursor:pointer;text-decoration:none;--btn-transition: all .2s ease-in-out 0s;transition:var(--btn-transition);border:var(--px-size-border-m) solid transparent}.btn,.btn *{box-sizing:border-box}.btn ::slotted(px-icon){line-height:0}.btn:hover:not([disabled],[aria-disabled=true],.loading){border-color:var(--px-color-border-state-hover-default)}.btn:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}.btn:active:not([disabled],[aria-disabled=true],.loading){transform:scale(.95);border-color:var(--px-color-border-state-active-default);color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn[disabled],.btn[aria-disabled=true]{cursor:default;pointer-events:none}.btn.loading{cursor:inherit}.btn.loading ::slotted(px-spinner){line-height:0}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-container-primary-default);min-height:var(--px-spacing-l-mobile);padding:var(--px-padding-xs-mobile) var(--px-padding-m-mobile);border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-mobile) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="before"]){margin-left:calc(var(--px-padding-xs-mobile) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown):hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown)[disabled],.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown)[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown).loading{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-brand-default);border-color:transparent}.btn.secondary{color:var(--px-color-text-brand-default);background:var(--px-color-background-container-secondary-default);min-height:var(--px-spacing-l-mobile);padding:var(--px-padding-xs-mobile) var(--px-padding-m-mobile);border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn.secondary:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn.secondary[disabled],.btn.secondary[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}.btn.secondary.loading{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-brand-default);border-color:transparent}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn.tertiary{background:none;color:var(--px-color-text-brand-default);border-radius:var(--px-radius-pill);border:var(--px-size-border-m) solid transparent;padding:var(--px-padding-2xs-mobile) 0;gap:var(--px-spacing-xs-mobile)}.btn.tertiary ::slotted(px-icon){display:flex;align-items:center;justify-content:center;width:var(--px-size-m);height:var(--px-size-m);border-radius:var(--px-radius-pill);background:var(--px-color-background-container-secondary-default);transition:var(--btn-transition)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading),.btn.tertiary:active:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-mobile) var(--px-padding-s-mobile)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon),.btn.tertiary:active:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon){background:transparent;margin:0 -8px}:is()[slot=after]{padding:0 0 0 var(--px-padding-2xs-mobile)}:is()[slot=before]{padding:0 var(--px-padding-2xs-mobile) 0 0}.btn.tertiary[disabled],.btn.tertiary[aria-disabled=true]{color:var(--px-color-text-state-disabled-default)}.btn.tertiary[disabled] ::slotted(px-icon),.btn.tertiary[aria-disabled=true] ::slotted(px-icon){background:var(--px-color-background-state-disabled-default)}.btn.tertiary.loading{color:var(--px-color-text-brand-default);border-color:transparent}.btn.tertiary.loading ::slotted(px-spinner){display:flex;align-items:center;justify-content:center;width:var(--px-size-m);height:var(--px-size-m);border-radius:var(--px-radius-pill);background:var(--px-color-background-state-disabled-default)}.btn.patch{display:inline-flex}.btn.patch:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn.patch[disabled],.btn.patch[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}.btn.actionable-tag{background:var(--px-color-background-container-default-inverted);color:var(--px-color-text-neutral-default);padding:var(--px-padding-2xs-mobile) var(--px-padding-xs-mobile);gap:var(--px-spacing-xs-mobile);border-radius:var(--px-radius-pill);border:var(--px-size-border-m) solid var(--px-color-border-neutral-default)}.btn.actionable-tag:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn.actionable-tag:active:not([disabled],[aria-disabled=true],.loading){background:var(--px-color-background-state-active-default);color:var(--px-color-text-state-active-inverted);border-color:var(--px-color-border-none-default)}.btn.actionable-tag[disabled],.btn.actionable-tag[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default);border-color:var(--px-color-border-none-default)}.btn.header-dropdown{display:flex;justify-content:space-between;gap:var(--px-spacing-s-mobile);width:100%;color:var(--px-color-text-neutral-default);font-weight:var(--px-font-weight-body);font-size:var(--px-text-size-label-l-mobile);border:var(--px-size-border-m) solid var(--px-color-border-neutral-default);padding:var(--px-padding-xs-mobile) var(--px-padding-s-mobile);border-radius:var(--px-radius-main);background-color:var(--px-color-background-container-default-default);touch-action:manipulation}.btn.header-dropdown:after{display:inline-block;content:"";width:var(--px-size-icon-xs);height:var(--px-size-icon-xs);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:cover;mask-size:cover;-webkit-mask-position:50% 50%;mask-position:50% 50%;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.38 5.90237C12.125 5.65131 11.7115 5.65131 11.4564 5.90237L7.99986 9.30494L4.54328 5.90237C4.28824 5.65131 3.87474 5.65131 3.61971 5.90237C3.36467 6.15342 3.36467 6.56045 3.61971 6.8115L7.53808 10.6686C7.79311 10.9197 8.20661 10.9197 8.46164 10.6686L12.38 6.8115C12.635 6.56045 12.635 6.15342 12.38 5.90237Z' fill='%235C2D91'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.38 5.90237C12.125 5.65131 11.7115 5.65131 11.4564 5.90237L7.99986 9.30494L4.54328 5.90237C4.28824 5.65131 3.87474 5.65131 3.61971 5.90237C3.36467 6.15342 3.36467 6.56045 3.61971 6.8115L7.53808 10.6686C7.79311 10.9197 8.20661 10.9197 8.46164 10.6686L12.38 6.8115C12.635 6.56045 12.635 6.15342 12.38 5.90237Z' fill='%235C2D91'/%3E%3C/svg%3E");background-color:currentColor;color:var(--px-color-icon-brand-default);--btn-transition: all .2s ease-in-out 0s;transition:var(--btn-transition)}.btn.header-dropdown[aria-expanded=true]:after{transform:rotate(180deg)}button.link{background:none;border:none;text-decoration:underline;padding:0;cursor:pointer}button.link[disabled],button.link[aria-disabled=true]{cursor:default;pointer-events:none;color:var(--px-color-text-state-disabled-default)}button.wrapper{all:unset;cursor:pointer}button.wrapper:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}button.wrapper[disabled],button.wrapper[aria-disabled=true]{cursor:default;pointer-events:none}:host([inverted]) .btn:hover:not([disabled],[aria-disabled=true],.loading){border-color:var(--px-color-border-state-hover-inverted)}:host([inverted]) .btn:focus-visible:not([disabled],[aria-disabled=true]){outline-color:var(--px-color-border-focus-outline-inverted)}:host([inverted]) .btn:active:not([disabled],[aria-disabled=true],.loading){border-color:var(--px-color-border-state-active-inverted);color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag){color:var(--px-color-text-brand-default);background:var(--px-color-background-container-primary-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag):hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag)[disabled],:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag)[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag).loading{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-brand-inverted);border-color:transparent}:host([inverted]) .btn.secondary{color:var(--px-color-text-brand-inverted);background:var(--px-color-background-container-secondary-inverted)}:host([inverted]) .btn.secondary:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-container-default-inverted)}:host([inverted]) .btn.secondary[disabled],:host([inverted]) .btn.secondary[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn.secondary.loading{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-brand-inverted);border-color:transparent}:host([inverted]) .btn.tertiary{color:var(--px-color-text-brand-inverted)}:host([inverted]) .btn.tertiary ::slotted(px-icon){background:var(--px-color-background-container-secondary-inverted)}:host([inverted]) .btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon),:host([inverted]) .btn.tertiary:active:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon){background:transparent}:host([inverted]) .btn.tertiary[disabled],:host([inverted]) .btn.tertiary[aria-disabled=true]{color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn.tertiary[disabled] ::slotted(px-icon),:host([inverted]) .btn.tertiary[aria-disabled=true] ::slotted(px-icon){background:var(--px-color-background-state-disabled-inverted)}:host([inverted]) .btn.tertiary.loading{color:var(--px-color-text-brand-inverted)}:host([inverted]) .btn.tertiary.loading ::slotted(px-spinner){background:var(--px-color-background-state-disabled-inverted)}:host([inverted]) .btn.patch:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted)}:host([inverted]) .btn.patch[disabled],:host([inverted]) .btn.patch[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn.actionable-tag{background:var(--px-color-background-container-default-default);color:var(--px-color-text-brand-inverted);border-color:var(--px-color-border-neutral-inverted)}:host([inverted]) .btn.actionable-tag:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted);border-color:var(--px-color-border-state-hover-inverted)}:host([inverted]) .btn.actionable-tag:active:not([disabled],[aria-disabled=true],.loading){background:var(--px-color-background-state-active-inverted);color:var(--px-color-text-state-active-default);border-color:var(--px-color-border-none-inverted)}:host([inverted]) .btn.actionable-tag[disabled],:host([inverted]) .btn.actionable-tag[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted);border-color:var(--px-color-border-none-default)}:host([inverted]) button.link[disabled],:host([inverted]) button.link[aria-disabled=true]{color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) button.wrapper:focus-visible{outline-color:var(--px-color-border-focus-outline-inverted)}@media only screen and (max-width: 47.938em){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}}@media only screen and (min-width: 48em) and (max-width: 64em){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}}@media only screen and (min-width: 48em){button.wrapper:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline:var(--px-focus-outline-tablet) solid var(--px-color-border-focus-outline-default)}.btn{width:var(--button-extended--tablet, var(--button-extended, auto));font-size:var(--px-text-size-label-m-tablet);gap:var(--px-spacing-2xs-tablet)}.btn:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}.btn.actionable-tag{padding:var(--px-padding-2xs-tablet) var(--px-padding-xs-tablet);gap:var(--px-spacing-xs-tablet)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown){padding:var(--px-padding-xs-tablet) var(--px-padding-m-tablet)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-tablet) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="before"]){margin-left:calc(var(--px-padding-xs-tablet) * -1)}.btn.secondary{padding:var(--px-padding-xs-tablet) var(--px-padding-m-tablet)}.btn.tertiary{padding:var(--px-padding-2xs-tablet) 0;gap:var(--px-spacing-xs-tablet)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-tablet) var(--px-padding-s-tablet)}:is()[slot=after]{padding:0 0 0 var(--px-padding-2xs-tablet)}:is()[slot=before]{padding:0 var(--px-padding-2xs-tablet) 0 0}.btn.header-dropdown{justify-content:flex-start;align-items:center;gap:var(--px-spacing-xs-tablet);width:inherit;color:var(--px-color-text-brand-default);font-weight:var(--px-font-weight-title);font-size:var(--px-text-size-label-m-tablet);border:none;padding:0;border-radius:0;background:none}}@media only screen and (min-width: 64.0625em) and (max-width: 90em){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}}@media only screen and (min-width: 64.0625em){button.wrapper:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline:var(--px-focus-outline-laptop) solid var(--px-color-border-focus-outline-default)}.btn{width:var(--button-extended--laptop, var(--button-extended, auto));font-size:var(--px-text-size-label-m-laptop);gap:var(--px-spacing-2xs-laptop)}.btn:focus-visble:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}.btn.actionable-tag{padding:var(--px-padding-2xs-laptop) var(--px-padding-xs-laptop);gap:var(--px-spacing-xs-laptop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown){padding:var(--px-padding-xs-laptop) var(--px-padding-m-laptop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-laptop) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="before"]){margin-left:calc(var(--px-padding-xs-laptop) * -1)}.btn.secondary{padding:var(--px-padding-xs-laptop) var(--px-padding-m-laptop)}.btn.tertiary{padding:var(--px-padding-2xs-laptop) 0;gap:var(--px-spacing-xs-laptop)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-laptop) var(--px-padding-s-laptop)}:is()[slot=after]{padding:0 0 0 var(--px-padding-2xs-laptop)}:is()[slot=before]{padding:0 var(--px-padding-2xs-laptop) 0 0}.btn.header-dropdown{gap:var(--px-spacing-xs-laptop);font-size:var(--px-text-size-label-m-laptop);padding:0}}@media only screen and (min-width: 90.0625em){button.wrapper:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline:var(--px-focus-outline-desktop) solid var(--px-color-border-focus-outline-default)}.btn{width:var(--button-extended--desktop, var(--button-extended, auto));font-size:var(--px-text-size-label-m-desktop);gap:var(--px-spacing-2xs-desktop)}.btn:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}.btn.actionable-tag{padding:var(--px-padding-2xs-desktop) var(--px-padding-xs-desktop);gap:var(--px-spacing-xs-desktop)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--desktop=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--desktop=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--desktop=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--desktop=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown){padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-desktop) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="before"]){margin-left:calc(var(--px-padding-xs-desktop) * -1)}.btn.secondary{padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn.tertiary{padding:var(--px-padding-2xs-desktop) 0;gap:var(--px-spacing-xs-desktop)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-desktop) var(--px-padding-s-desktop)}:is()[slot=after]{padding:0 0 0 var(--px-padding-2xs-desktop)}:is()[slot=before]{padding:0 var(--px-padding-2xs-desktop) 0 0}.btn.header-dropdown{gap:var(--px-spacing-xs-desktop);font-size:var(--px-text-size-label-m-desktop);padding:0}}@keyframes anim-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}`, ht = ':host([variant="icon-link"]){display:inline-flex}a,.link,::slotted(a){display:inline;align-items:center;font-family:var(--px-font-family);font-size:var(--px-text-size-link-m-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-body);color:var(--px-color-text-neutral-default)}a:hover,.link:hover{color:var(--px-color-text-state-hover-default)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}a[aria-disabled=true],.link[aria-disabled=true]{cursor:default;pointer-events:none;color:var(--px-color-text-state-disabled-default)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-mobile)}a ::slotted(span[slot="after"]),a ::slotted(span[slot="before"]),.link ::slotted(span[slot="after"]),.link ::slotted(span[slot="before"]){display:inline-block}::slotted(a:hover){color:var(--px-color-text-state-hover-default)}a.no-style,a.wrapper{text-decoration:none}a.no-style:hover,a.no-style:focus-visible,a.wrapper:hover,a.wrapper:focus-visible{color:inherit}a.wrapper{display:block}a.wrapper:hover,a.wrapper:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}a.skip-link{position:absolute;left:-10000px;top:auto;overflow:hidden;background-color:var(--px-color-background-container-default-default);padding:var(--px-padding-xs-mobile)}a.skip-link:focus-visible{left:auto;z-index:999}:host([target="_blank"]) ::slotted(px-icon){vertical-align:middle}.icon-link{color:var(--px-color-icon-brand-default);line-height:1;display:inline-flex}:host([inverted]) a,:host([inverted]) .link,:host([inverted]) ::slotted(a){color:var(--px-color-text-neutral-inverted)}:host([inverted]) a:hover,:host([inverted]) .link:hover{color:var(--px-color-text-state-hover-inverted)}:host([inverted]) a:focus-visible,:host([inverted]) .link:focus-visible{outline-color:var(--px-color-border-focus-outline-inverted)}:host([inverted]) a[aria-disabled=true],:host([inverted]) .link[aria-disabled=true]{color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) ::slotted(a:hover){color:var(--px-color-text-state-hover-inverted)}:host([inverted]) a.skip-link{background-color:var(--px-color-background-container-default-inverted)}:host([inverted]) .icon-link{color:var(--px-color-icon-brand-inverted)}@media only screen and (min-width: 768px){a.wrapper:hover,a.wrapper:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline:var(--px-focus-outline-tablet) solid var(--px-color-border-focus-outline-default)}a,.link,::slotted(a){font-size:var(--px-text-size-link-m-tablet)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-tablet)}a.skip-link{padding:var(--px-padding-xs-tablet)}}@media only screen and (min-width: 1025px){a.wrapper:hover,a.wrapper:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline:var(--px-focus-outline-laptop) solid var(--px-color-border-focus-outline-default)}a,.link,::slotted(a){font-size:var(--px-text-size-link-m-laptop)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-laptop)}a.skip-link{padding:var(--px-padding-xs-laptop)}}@media only screen and (min-width: 90.0625em){a.wrapper:hover,a.wrapper:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline:var(--px-focus-outline-desktop) solid var(--px-color-border-focus-outline-default)}a,.link,::slotted(a){font-size:var(--px-text-size-link-m-desktop)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-desktop)}a.skip-link{padding:var(--px-padding-xs-desktop)}}', Kt = ".patch{display:inline-flex;align-items:center;padding:var(--px-padding-3xs-mobile) var(--px-padding-s-mobile);border:var(--px-size-border-m) solid transparent;border-radius:var(--px-radius-patch-big) var(--px-radius-patch-big) var(--px-radius-patch-big) var(--px-radius-patch-small);font-family:var(--px-font-family);font-weight:var(--px-font-weight-title);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-line-height-ratio-l);background-color:var(--px-color-background-purpose-promo-default);color:var(--px-color-text-neutral-inverted)}.patch,.patch *{box-sizing:border-box}[shape=bottom-right]{border-radius:var(--px-radius-patch-big) var(--px-radius-patch-big) var(--px-radius-patch-small) var(--px-radius-patch-big)}[shape=bottom-left],[shape=default]{border-radius:var(--px-radius-patch-big) var(--px-radius-patch-big) var(--px-radius-patch-big) var(--px-radius-patch-small)}.info{background-color:var(--px-color-background-purpose-info-default);color:var(--px-color-text-neutral-default)}.black-friday{background-color:var(--px-color-background-surface-dark);color:var(--px-color-text-neutral-inverted)}.eco{background-color:var(--px-color-background-purpose-success-default);color:var(--px-color-text-neutral-inverted)}.greyed{background-color:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}:host([inverted]) .patch{background-color:var(--px-color-background-purpose-promo-inverted);color:var(--px-color-text-neutral-inverted)}:host([inverted]) .info{background-color:var(--px-color-background-purpose-info-inverted);color:var(--px-color-text-neutral-default)}:host([inverted]) .black-friday{background-color:var(--px-color-background-container-light-default);color:var(--px-color-text-neutral-default)}:host([inverted]) .eco{background-color:var(--px-color-background-purpose-success-inverted);color:var(--px-color-text-neutral-default)}:host([inverted]) .greyed{background-color:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}@media only screen and (min-width: 768px){.patch{padding:0 var(--px-padding-s-desktop);font-size:var(--px-text-size-label-m-desktop)}}@media only screen and (min-width: 1025px){.patch{padding:0 var(--px-padding-s-desktop);font-size:var(--px-text-size-label-m-desktop)}}@media only screen and (min-width: 1441px){.patch{padding:0 var(--px-padding-s-desktop);font-size:var(--px-text-size-label-m-desktop)}}", Xt = ":host:has(.tag){display:inline-block}.tag{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-body);gap:var(--px-spacing-xs-mobile);background-color:var(--px-color-background-container-default-default);color:var(--px-color-text-neutral-default);padding:var(--px-padding-2xs-mobile) var(--px-padding-xs-mobile);border:var(--px-size-border-s) solid transparent;border-radius:var(--px-radius-main)}.tag,.tag *{box-sizing:border-box}:host([disabled]) .tag{background-color:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}:host([inverted]) .tag{background-color:var(--px-color-background-container-default-inverted);color:var(--px-color-text-neutral-inverted)}:host([inverted]):host([disabled]) .tag{background-color:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}@media only screen and (min-width: 768px){.tag{font-size:var(--px-text-size-label-m-desktop);gap:var(--px-spacing-xs-desktop);padding:var(--px-padding-2xs-desktop) var(--px-padding-xs-desktop)}}@media only screen and (min-width: 1025px){.tag{font-size:var(--px-text-size-label-m-desktop);gap:var(--px-spacing-xs-desktop);padding:var(--px-padding-2xs-desktop) var(--px-padding-xs-desktop)}}", gt = new CSSStyleSheet(), ut = new CSSStyleSheet(), xt = new CSSStyleSheet(), vt = new CSSStyleSheet();
9
- gt.replaceSync(ct);
10
- ut.replaceSync(ht);
11
- xt.replaceSync(Kt);
12
- vt.replaceSync(Xt);
13
- const Ut = [
8
+ const xt = `.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)}}`, vt = ':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)}}', Ut = ".patch{display:inline-flex;align-items:center;padding:var(--px-padding-3xs-mobile) var(--px-padding-s-mobile);border:var(--px-size-border-m) solid transparent;border-radius:var(--px-radius-patch-big) var(--px-radius-patch-big) var(--px-radius-patch-big) var(--px-radius-patch-small);font-family:var(--px-font-family);font-weight:var(--px-font-weight-title);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-line-height-ratio-l);background-color:var(--px-color-background-purpose-promo-default);color:var(--px-color-text-neutral-inverted)}.patch,.patch *{box-sizing:border-box}[shape=bottom-right]{border-radius:var(--px-radius-patch-big) var(--px-radius-patch-big) var(--px-radius-patch-small) var(--px-radius-patch-big)}[shape=bottom-left],[shape=default]{border-radius:var(--px-radius-patch-big) var(--px-radius-patch-big) var(--px-radius-patch-big) var(--px-radius-patch-small)}.info{background-color:var(--px-color-background-purpose-info-default);color:var(--px-color-text-neutral-default)}.black-friday{background-color:var(--px-color-background-surface-dark);color:var(--px-color-text-neutral-inverted)}.eco{background-color:var(--px-color-background-purpose-success-default);color:var(--px-color-text-neutral-inverted)}.greyed{background-color:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}:host([inverted]) .patch{background-color:var(--px-color-background-purpose-promo-inverted);color:var(--px-color-text-neutral-inverted)}:host([inverted]) .info{background-color:var(--px-color-background-purpose-info-inverted);color:var(--px-color-text-neutral-default)}:host([inverted]) .black-friday{background-color:var(--px-color-background-container-light-default);color:var(--px-color-text-neutral-default)}:host([inverted]) .eco{background-color:var(--px-color-background-purpose-success-inverted);color:var(--px-color-text-neutral-default)}:host([inverted]) .greyed{background-color:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}@media screen and (min-width: 48rem){.patch{padding:0 var(--px-padding-s-tablet);font-size:var(--px-text-size-label-m-tablet)}}@media screen and (min-width: 64.0625rem){.patch{padding:0 var(--px-padding-s-laptop);font-size:var(--px-text-size-label-m-laptop)}}@media screen and (min-width: 90.0625rem){.patch{padding:0 var(--px-padding-s-desktop);font-size:var(--px-text-size-label-m-desktop)}}", Jt = ":host:has(.tag){display:inline-block}.tag{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-body);gap:var(--px-spacing-xs-mobile);background-color:var(--px-color-background-container-default-default);color:var(--px-color-text-neutral-default);padding:var(--px-padding-2xs-mobile) var(--px-padding-xs-mobile);border:var(--px-size-border-s) solid transparent;border-radius:var(--px-radius-main)}.tag,.tag *{box-sizing:border-box}:host([disabled]) .tag{background-color:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}:host([inverted]) .tag{background-color:var(--px-color-background-container-default-inverted);color:var(--px-color-text-neutral-inverted)}:host([inverted]):host([disabled]) .tag{background-color:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}@media screen and (min-width: 48rem){.tag{font-size:var(--px-text-size-label-m-tablet);gap:var(--px-spacing-xs-tablet);padding:var(--px-padding-2xs-tablet) var(--px-padding-xs-tablet)}}@media screen and (min-width: 64.0625rem){.tag{font-size:var(--px-text-size-label-m-laptop);gap:var(--px-spacing-xs-laptop);padding:var(--px-padding-2xs-laptop) var(--px-padding-xs-laptop)}}", mt = new CSSStyleSheet(), ft = new CSSStyleSheet(), kt = new CSSStyleSheet(), yt = new CSSStyleSheet();
9
+ mt.replaceSync(xt);
10
+ ft.replaceSync(vt);
11
+ kt.replaceSync(Ut);
12
+ yt.replaceSync(Jt);
13
+ const dt = [
14
14
  "",
15
15
  "default",
16
16
  "secondary",
@@ -21,16 +21,17 @@ const Ut = [
21
21
  "patch-black-friday",
22
22
  "patch-eco",
23
23
  "actionable-tag",
24
- "header-dropdown"
25
- ], Jt = [
24
+ "header-dropdown",
25
+ "header-minimal-dropdown"
26
+ ], Qt = [
26
27
  "",
27
28
  "default",
28
29
  "bottom-right",
29
30
  "bottom-left",
30
31
  "alternative"
31
- ], K = class K extends w {
32
+ ], U = class U extends $ {
32
33
  constructor() {
33
- super(gt, ut, xt, vt), this.template = () => `<button class="btn">
34
+ super(mt, ft, kt, yt), this.template = () => `<button class="btn">
34
35
  <slot name="before"></slot><slot></slot><slot name="after"></slot>
35
36
  </button>`, this.shadowRoot.innerHTML = this.template();
36
37
  }
@@ -57,62 +58,62 @@ const Ut = [
57
58
  connectedCallback() {
58
59
  const t = this.querySelectorAll("px-icon");
59
60
  t && t.forEach((e) => {
60
- const o = e.getAttribute("size"), r = e.getAttribute("color");
61
+ const r = e.getAttribute("size"), o = e.getAttribute("color");
61
62
  e && (e.addEventListener("click", () => {
62
63
  this.$el.focus();
63
- }), o || e.setAttribute("size", "xs"), r || e.setAttribute("color", "inherit"));
64
- }), it(this, this.$el, !0), this.$el.type === "submit" && this.addEventListener("click", (e) => {
65
- var o;
66
- e.preventDefault(), (o = this.closest("form")) == null || o.submit();
64
+ }), r || e.setAttribute("size", "xs"), o || e.setAttribute("color", "inherit"));
65
+ }), pt(this, this.$el, !0), this.$el.type === "submit" && this.addEventListener("click", (e) => {
66
+ var r;
67
+ e.preventDefault(), (r = this.closest("form")) == null || r.submit();
67
68
  }), this.$el.type === "reset" && this.addEventListener("click", (e) => {
68
- var o;
69
- e.preventDefault(), (o = this.closest("form")) == null || o.reset();
69
+ var r;
70
+ e.preventDefault(), (r = this.closest("form")) == null || r.reset();
70
71
  });
71
72
  }
72
73
  disconnectedCallback() {
73
74
  }
74
- attributeChangedCallback(t, e, o) {
75
- if (e !== o)
75
+ attributeChangedCallback(t, e, r) {
76
+ if (e !== r)
76
77
  switch (t) {
77
78
  case "variant":
78
- this.updateVariant(e, o);
79
+ this.updateVariant(e, r);
79
80
  break;
80
81
  case "state":
81
- this.updateState(e, o);
82
+ this.updateState(e, r);
82
83
  break;
83
84
  case "extended":
84
85
  case "extended--mobile":
85
86
  case "extended--tablet":
86
87
  case "extended--laptop":
87
88
  case "extended--desktop":
88
- this.updateExtended(t, o);
89
+ this.updateExtended(t, r);
89
90
  break;
90
91
  case "loading":
91
92
  this.updateLoading();
92
93
  break;
93
94
  case "disabled":
94
- super.attributeChangedCallback(t, e, o);
95
+ super.attributeChangedCallback(t, e, r);
95
96
  break;
96
97
  case "shape":
97
98
  case "shape--mobile":
98
99
  case "shape--tablet":
99
100
  case "shape--laptop":
100
101
  case "shape--desktop":
101
- this.updateShape(t, o, Jt);
102
+ this.updateShape(t, r, Qt);
102
103
  break;
103
104
  case "aria-expanded":
104
- o && (this.$el.setAttribute("aria-expanded", o), this.removeAttribute("aria-expanded"));
105
+ r && (this.$el.setAttribute("aria-expanded", r), this.removeAttribute("aria-expanded"));
105
106
  break;
106
107
  default:
107
- super.attributeChangedCallback(t, e, o);
108
+ super.attributeChangedCallback(t, e, r);
108
109
  break;
109
110
  }
110
111
  }
111
112
  checkClass(t) {
112
113
  if (t.startsWith("patch-")) {
113
114
  const e = t.split(/-(.*)/s);
114
- for (const o of e)
115
- o != "" && this.$el.classList.toggle(o);
115
+ for (const r of e)
116
+ r != "" && this.$el.classList.toggle(r);
116
117
  } else
117
118
  this.$el.classList.toggle(t);
118
119
  }
@@ -120,14 +121,14 @@ const Ut = [
120
121
  t !== null && t !== "" && t !== "default" && this.checkClass(t), e !== null && e !== "" && e !== "default" && this.checkClass(e);
121
122
  }
122
123
  updateVariant(t, e) {
123
- e === "link" ? this.$el.classList.remove("btn") : this.$el.classList.add("btn"), this._toggleClass(t, e), this.checkName(Ut, e) || d(
124
- `${e} is not a valid "variant" value for ${this.tagName.toLowerCase()}`
124
+ e === "link" ? this.$el.classList.remove("btn") : this.$el.classList.add("btn"), this._toggleClass(t, e), this.checkName(dt, e) || d(
125
+ `"${e}" is not a valid variant value for ${this.tagName.toLowerCase()}. Allowed values are: "${dt.join('", "')}".`
125
126
  );
126
127
  }
127
128
  updateState(t, e) {
128
- const o = ["", "default", "success", "error"];
129
- this._toggleClass(t, e), this.checkName(o, e) || d(
130
- `${e} is not a valid "sate" value for ${this.tagName.toLowerCase()}`
129
+ const r = ["", "default", "success", "error"];
130
+ this._toggleClass(t, e), this.checkName(r, e) || d(
131
+ `"${e}" is not a valid state value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join('", "')}".`
131
132
  );
132
133
  }
133
134
  updateExtended(t, e) {
@@ -137,10 +138,10 @@ const Ut = [
137
138
  const t = this.querySelector("px-spinner");
138
139
  t && (t.getAttribute("size") || t.setAttribute("size", "xs")), this.$el.classList.toggle("loading");
139
140
  }
140
- updateShape(t, e, o) {
141
- if (!$(o, e)) {
141
+ updateShape(t, e, r) {
142
+ if (!w(r, e)) {
142
143
  d(
143
- `${e} is not a valid shape value for ${this.tagName.toLowerCase()}`
144
+ `"${e}" is not a valid shape value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join('", "')}".`
144
145
  );
145
146
  return;
146
147
  }
@@ -237,19 +238,19 @@ const Ut = [
237
238
  t ? this.setAttribute("aria-expanded", t) : this.removeAttribute("aria-expanded");
238
239
  }
239
240
  };
240
- K.nativeName = "button";
241
- let C = K;
241
+ U.nativeName = "button";
242
+ let C = U;
242
243
  customElements.get("px-button") || customElements.define("px-button", C);
243
- var x, T, ft;
244
- class Qt extends C {
244
+ var x, T, At;
245
+ class Vt extends C {
245
246
  constructor() {
246
247
  super();
247
248
  c(this, T);
248
249
  c(this, x);
249
- this.$el.classList.remove("btn"), this.$el.classList.add("wrapper"), k(this, x, new at(
250
+ this.$el.classList.remove("btn"), this.$el.classList.add("wrapper"), k(this, x, new bt(
250
251
  this,
251
252
  this.$el,
252
- () => P(this, T, ft).call(this)
253
+ () => j(this, T, At).call(this)
253
254
  ));
254
255
  }
255
256
  connectedCallback() {
@@ -258,26 +259,26 @@ class Qt extends C {
258
259
  disconnectedCallback() {
259
260
  super.disconnectedCallback(), n(this, x).disconnect();
260
261
  }
261
- attributeChangedCallback(e, o, r) {
262
- if (o !== r)
262
+ attributeChangedCallback(e, r, o) {
263
+ if (r !== o)
263
264
  switch (e) {
264
265
  case "loading":
265
- super.attributeChangedCallback(e, o, r), r !== null && n(this, x).clearInteractiveState();
266
+ super.attributeChangedCallback(e, r, o), o !== null && n(this, x).clearInteractiveState();
266
267
  break;
267
268
  case "disabled":
268
- super.attributeChangedCallback(e, o, r), r !== null && n(this, x).clearInteractiveState();
269
+ super.attributeChangedCallback(e, r, o), o !== null && n(this, x).clearInteractiveState();
269
270
  break;
270
271
  default:
271
- super.attributeChangedCallback(e, o, r);
272
+ super.attributeChangedCallback(e, r, o);
272
273
  break;
273
274
  }
274
275
  }
275
276
  }
276
- x = new WeakMap(), T = new WeakSet(), ft = function() {
277
+ x = new WeakMap(), T = new WeakSet(), At = function() {
277
278
  return !this.hasAttribute("disabled") && !this.$el.hasAttribute("disabled") && this.getAttribute("aria-disabled") !== "true" && this.$el.getAttribute("aria-disabled") !== "true" && !this.hasAttribute("loading");
278
279
  };
279
- customElements.get("px-button-wrapper") || customElements.define("px-button-wrapper", Qt);
280
- class Vt extends HTMLElement {
280
+ customElements.get("px-button-wrapper") || customElements.define("px-button-wrapper", Vt);
281
+ class te extends HTMLElement {
281
282
  constructor() {
282
283
  super();
283
284
  }
@@ -310,8 +311,8 @@ class Vt extends HTMLElement {
310
311
  t && t.remove();
311
312
  }
312
313
  }
313
- customElements.get("px-icon-set") || customElements.define("px-icon-set", Vt);
314
- const te = [
314
+ customElements.get("px-icon-set") || customElements.define("px-icon-set", te);
315
+ const ee = [
315
316
  "Brand",
316
317
  "Accent",
317
318
  "Neutral",
@@ -324,21 +325,21 @@ const te = [
324
325
  "StateHover",
325
326
  "StateActive",
326
327
  "StateDisabled"
327
- ], ee = ["Inherit", ...te].map(
328
+ ], re = ["Inherit", ...ee].map(
328
329
  (s) => s.replace(/([A-Z])/g, "-$1").toLowerCase().slice(1)
329
- ), oe = ":host{display:inline-flex;flex-direction:column;justify-content:center}svg{font-size:var(--px-size-icon-s);line-height:var(--px-font-line-height-xs);width:1em;height:1em;color:var(--px-color-icon-accent-default)}.inherit{color:inherit}.brand{color:var(--px-color-icon-brand-default)}.accent{color:var(--px-color-icon-accent-default)}.neutral{color:var(--px-color-icon-neutral-default)}.dimmed{color:var(--px-color-icon-dimmed-default)}.purpose-success{color:var(--px-color-icon-purpose-success-default)}.purpose-warning{color:var(--px-color-icon-purpose-warning-default)}.purpose-error{color:var(--px-color-icon-purpose-error-default)}.purpose-unlimited{color:var(--px-color-icon-purpose-unlimited-default)}.purpose-promo{color:var(--px-color-icon-purpose-promo-default)}.state-hover:hover{color:var(--px-color-icon-state-hover-default)}.state-active:active{color:var(--px-color-icon-state-active-default)}.state-disabled{color:var(--px-color-icon-state-disabled-default)}:host([inverted]) svg{color:var(--px-color-icon-accent-inverted)}:host([inverted]) .inherit{color:inherit}:host([inverted]) .brand{color:var(--px-color-icon-brand-inverted)}:host([inverted]) .accent{color:var(--px-color-icon-accent-inverted)}:host([inverted]) .neutral{color:var(--px-color-icon-neutral-inverted)}:host([inverted]) .dimmed{color:var(--px-color-icon-dimmed-inverted)}:host([inverted]) .purpose-success{color:var(--px-color-icon-purpose-success-inverted)}:host([inverted]) .purpose-warning{color:var(--px-color-icon-purpose-warning-inverted)}:host([inverted]) .purpose-error{color:var(--px-color-icon-purpose-error-inverted)}:host([inverted]) .purpose-unlimited{color:var(--px-color-icon-purpose-unlimited-inverted)}:host([inverted]) .purpose-promo{color:var(--px-color-icon-purpose-promo-inverted)}:host([inverted]) .state-hover:hover{color:var(--px-color-icon-state-hover-inverted)}:host([inverted]) .state-active:active{color:var(--px-color-icon-state-active-inverted)}:host([inverted]) .state-disabled{color:var(--px-color-icon-state-disabled-inverted)}.size-xs{font-size:var(--px-size-icon-xs)}.size-s{font-size:var(--px-size-icon-s)}.size-m{font-size:var(--px-size-icon-m)}.size-l{font-size:var(--px-size-icon-l)}.size-xl{font-size:var(--px-size-icon-xl)}", mt = new CSSStyleSheet();
330
- mt.replaceSync(oe);
331
- var f, b, E;
332
- class re extends st {
330
+ ), oe = ":host{display:inline-flex;flex-direction:column;justify-content:center}svg{font-size:var(--px-size-icon-s);line-height:var(--px-font-line-height-xs);width:1em;height:1em;color:var(--px-color-icon-accent-default)}.inherit{color:inherit}.brand{color:var(--px-color-icon-brand-default)}.accent{color:var(--px-color-icon-accent-default)}.neutral{color:var(--px-color-icon-neutral-default)}.dimmed{color:var(--px-color-icon-dimmed-default)}.purpose-success{color:var(--px-color-icon-purpose-success-default)}.purpose-warning{color:var(--px-color-icon-purpose-warning-default)}.purpose-error{color:var(--px-color-icon-purpose-error-default)}.purpose-unlimited{color:var(--px-color-icon-purpose-unlimited-default)}.purpose-promo{color:var(--px-color-icon-purpose-promo-default)}.state-hover:hover{color:var(--px-color-icon-state-hover-default)}.state-active:active{color:var(--px-color-icon-state-active-default)}.state-disabled{color:var(--px-color-icon-state-disabled-default)}:host([inverted]) svg{color:var(--px-color-icon-accent-inverted)}:host([inverted]) .inherit{color:inherit}:host([inverted]) .brand{color:var(--px-color-icon-brand-inverted)}:host([inverted]) .accent{color:var(--px-color-icon-accent-inverted)}:host([inverted]) .neutral{color:var(--px-color-icon-neutral-inverted)}:host([inverted]) .dimmed{color:var(--px-color-icon-dimmed-inverted)}:host([inverted]) .purpose-success{color:var(--px-color-icon-purpose-success-inverted)}:host([inverted]) .purpose-warning{color:var(--px-color-icon-purpose-warning-inverted)}:host([inverted]) .purpose-error{color:var(--px-color-icon-purpose-error-inverted)}:host([inverted]) .purpose-unlimited{color:var(--px-color-icon-purpose-unlimited-inverted)}:host([inverted]) .purpose-promo{color:var(--px-color-icon-purpose-promo-inverted)}:host([inverted]) .state-hover:hover{color:var(--px-color-icon-state-hover-inverted)}:host([inverted]) .state-active:active{color:var(--px-color-icon-state-active-inverted)}:host([inverted]) .state-disabled{color:var(--px-color-icon-state-disabled-inverted)}.size-xs{font-size:var(--px-size-icon-xs)}.size-s{font-size:var(--px-size-icon-s)}.size-m{font-size:var(--px-size-icon-m)}.size-l{font-size:var(--px-size-icon-l)}.size-xl{font-size:var(--px-size-icon-xl)}", zt = new CSSStyleSheet();
331
+ zt.replaceSync(oe);
332
+ var m, b, E;
333
+ class ie extends X {
333
334
  constructor(...e) {
334
- var o;
335
- super(...e, mt);
336
- c(this, f);
335
+ var r;
336
+ super(...e, zt);
337
+ c(this, m);
337
338
  c(this, b);
338
339
  c(this, E, () => `<svg aria-hidden="true">
339
340
  <use></use>
340
341
  </svg>`);
341
- this.shadowRoot.innerHTML = n(this, E).call(this), k(this, b, (o = this.attachInternals) == null ? void 0 : o.call(this)), n(this, b) && (n(this, b).role = "img");
342
+ this.shadowRoot.innerHTML = n(this, E).call(this), k(this, b, (r = this.attachInternals) == null ? void 0 : r.call(this)), n(this, b) && (n(this, b).role = "img");
342
343
  }
343
344
  static get observedAttributes() {
344
345
  return [
@@ -352,17 +353,17 @@ class re extends st {
352
353
  "disabled"
353
354
  ];
354
355
  }
355
- attributeChangedCallback(e, o, r) {
356
- if (o !== r)
356
+ attributeChangedCallback(e, r, o) {
357
+ if (r !== o)
357
358
  switch (e) {
358
359
  case "name":
359
- this.updateName(o, r);
360
+ this.updateName(r, o);
360
361
  break;
361
362
  case "size":
362
- this.updateAttribute(e, o, r, Ht);
363
+ this.updateAttribute(e, r, o, _t);
363
364
  break;
364
365
  case "color":
365
- this.updateAttribute(e, o, r, ee);
366
+ this.updateAttribute(e, r, o, re);
366
367
  break;
367
368
  case "disabled":
368
369
  this.color = "state-disabled";
@@ -370,7 +371,7 @@ class re extends st {
370
371
  case "aria-label":
371
372
  if (!n(this, b))
372
373
  return;
373
- r ? (n(this, b).ariaHidden = "false", this.ariaHidden = "false") : (n(this, b).ariaHidden = "true", this.ariaHidden = "true");
374
+ o ? (n(this, b).ariaHidden = "false", this.ariaHidden = "false") : (n(this, b).ariaHidden = "true", this.ariaHidden = "true");
374
375
  break;
375
376
  }
376
377
  }
@@ -378,27 +379,27 @@ class re extends st {
378
379
  this.role = "img";
379
380
  const e = document.querySelectorAll("px-icon-set");
380
381
  e || console.log("<px-icon-set> component not found");
381
- for (const o of e) {
382
- if (!o.getAttribute("name") || !o.getAttribute("src")) {
382
+ for (const r of e) {
383
+ if (!r.getAttribute("name") || !r.getAttribute("src")) {
383
384
  console.error("Icon name or src not found");
384
385
  continue;
385
386
  }
386
- o.getAttribute("name") === this.from && o.getAttribute("type") !== "font" && (k(this, f, o.getAttribute("src")), this.$el.firstElementChild.setAttribute(
387
+ r.getAttribute("name") === this.from && r.getAttribute("type") !== "font" && (k(this, m, r.getAttribute("src")), this.$el.firstElementChild.setAttribute(
387
388
  "href",
388
- `${n(this, f)}#icon-${this.name}`
389
+ `${n(this, m)}#icon-${this.name}`
389
390
  ));
390
391
  }
391
392
  !this.ariaLabel && n(this, b) && (n(this, b).ariaHidden = "true", this.ariaHidden = "true");
392
393
  }
393
- updateAttribute(e, o, r, i) {
394
- o !== null && o !== "" && (e === "size" ? this.$el.classList.toggle(`${e}-${o}`) : this.$el.classList.toggle(o)), r !== null && r !== "" && (e === "size" ? this.$el.classList.toggle(`${e}-${r}`) : this.$el.classList.toggle(r)), this.checkName(i, r) || d(
395
- `${r} is not an allowed ${e} value for ${this.tagName.toLowerCase()}`
394
+ updateAttribute(e, r, o, i) {
395
+ r !== null && r !== "" && (e === "size" ? this.$el.classList.toggle(`${e}-${r}`) : this.$el.classList.toggle(r)), o !== null && o !== "" && (e === "size" ? this.$el.classList.toggle(`${e}-${o}`) : this.$el.classList.toggle(o)), this.checkName(i, o) || d(
396
+ `${o} is not an allowed ${e} value for ${this.tagName.toLowerCase()}`
396
397
  );
397
398
  }
398
- updateName(e, o) {
399
- n(this, f) && this.$el.firstElementChild.setAttribute(
399
+ updateName(e, r) {
400
+ n(this, m) && this.$el.firstElementChild.setAttribute(
400
401
  "href",
401
- `${n(this, f)}#icon-${o}`
402
+ `${n(this, m)}#icon-${r}`
402
403
  );
403
404
  }
404
405
  get $el() {
@@ -447,18 +448,18 @@ class re extends st {
447
448
  this.setAttribute("disabled", e);
448
449
  }
449
450
  }
450
- f = new WeakMap(), b = new WeakMap(), E = new WeakMap();
451
- customElements.get("px-icon") || customElements.define("px-icon", re);
452
- const kt = "h1,.style-title-4xl,::slotted(h1),h2,.style-title-3xl,::slotted(h2),h3,.style-title-2xl,::slotted(h3),h4,.style-title-xl,::slotted(h4),h5,.style-title-l,::slotted(h5),h6,.style-title-m,::slotted(h6),.style-title-s,.style-subtitle{margin:0;font-family:var(--px-font-family);color:var(--heading-color-default, var(--px-color-text-brand-default));text-align:var(--heading-text-align--mobile, left);font-size:var(--px-text-size-heading-s-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-title)}::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-bottom:var(--px-spacing-heading-to-content-mobile)}:host([inverted]) h1,:host([inverted]) .style-title-4xl,:host([inverted]) ::slotted(h1),:host([inverted]) h2,:host([inverted]) .style-title-3xl,:host([inverted]) ::slotted(h2),:host([inverted]) h3,:host([inverted]) .style-title-2xl,:host([inverted]) ::slotted(h3),:host([inverted]) h4,:host([inverted]) .style-title-xl,:host([inverted]) ::slotted(h4),:host([inverted]) h5,:host([inverted]) .style-title-l,:host([inverted]) ::slotted(h5),:host([inverted]) h6,:host([inverted]) .style-title-m,:host([inverted]) ::slotted(h6),:host([inverted]) .style-title-s,:host([inverted]) .style-subtitle{color:var(--heading-color-inverted, var(--px-color-text-brand-inverted))}h1,.style-title-4xl,::slotted(h1){font-size:var(--px-text-size-heading-4xl-mobile);line-height:var(--px-line-height-ratio-s);font-weight:var(--px-font-weight-title-large)}h2,.style-title-3xl,::slotted(h2){font-size:var(--px-text-size-heading-3xl-mobile);line-height:var(--px-line-height-ratio-s);font-weight:var(--px-font-weight-title-large)}h3,.style-title-2xl,::slotted(h3){font-size:var(--px-text-size-heading-2xl-mobile);line-height:var(--px-line-height-ratio-s)}h4,.style-title-xl,::slotted(h4){font-size:var(--px-text-size-heading-xl-mobile)}h5,.style-title-l,::slotted(h5){font-size:var(--px-text-size-heading-l-mobile)}h6,.style-title-m,::slotted(h6){font-size:var(--px-text-size-heading-m-mobile)}.style-subtitle{font-size:var(--px-text-size-heading-xl-mobile);font-weight:var(--px-font-weight-subtitle)}.style-title-s{font-size:var(--px-text-size-heading-s-mobile)}@media only screen and (min-width: 48em){::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-bottom:var(--px-spacing-heading-to-content-tablet)}h1,.style-title-4xl,::slotted(h1),h2,.style-title-3xl,::slotted(h2),h3,.style-title-2xl,::slotted(h3),h4,.style-title-xl,::slotted(h4),h5,.style-title-l,::slotted(h5),h6,.style-title-m,::slotted(h6),.style-title-s,.style-subtitle{text-align:var(--heading-text-align--tablet, left)}h1,.style-title-4xl,::slotted(h1){font-size:var(--px-text-size-heading-4xl-tablet)}h2,.style-title-3xl,::slotted(h2){font-size:var(--px-text-size-heading-3xl-tablet)}h3,.style-title-2xl,::slotted(h3){font-size:var(--px-text-size-heading-2xl-tablet)}h4,.style-title-xl,::slotted(h4){font-size:var(--px-text-size-heading-xl-tablet)}h5,.style-title-l,::slotted(h5){font-size:var(--px-text-size-heading-l-tablet)}h6,.style-title-m,::slotted(h6){font-size:var(--px-text-size-heading-m-tablet)}.style-title-s{font-size:var(--px-text-size-heading-s-tablet)}.style-subtitle{font-size:var(--px-text-size-heading-xl-tablet)}}@media only screen and (min-width: 64.0625em){::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-bottom:var(--px-spacing-heading-to-content-laptop)}h1,.style-title-4xl,::slotted(h1),h2,.style-title-3xl,::slotted(h2),h3,.style-title-2xl,::slotted(h3),h4,.style-title-xl,::slotted(h4),h5,.style-title-l,::slotted(h5),h6,.style-title-m,::slotted(h6),.style-title-s,.style-subtitle{text-align:var(--heading-text-align--laptop, left)}h1,.style-title-4xl,::slotted(h1){font-size:var(--px-text-size-heading-4xl-laptop)}h2,.style-title-3xl,::slotted(h2){font-size:var(--px-text-size-heading-3xl-laptop)}h3,.style-title-2xl,::slotted(h3){font-size:var(--px-text-size-heading-2xl-laptop)}h4,.style-title-xl,::slotted(h4){font-size:var(--px-text-size-heading-xl-laptop)}h5,.style-title-l,::slotted(h5){font-size:var(--px-text-size-heading-l-laptop)}h6,.style-title-m,::slotted(h6){font-size:var(--px-text-size-heading-m-laptop)}.style-title-s{font-size:var(--px-text-size-heading-s-laptop)}.style-subtitle{font-size:var(--px-text-size-heading-xl-laptop)}}@media only screen and (min-width: 90.0625em){::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-bottom:var(--px-spacing-heading-to-content-desktop)}h1,.style-title-4xl,::slotted(h1),h2,.style-title-3xl,::slotted(h2),h3,.style-title-2xl,::slotted(h3),h4,.style-title-xl,::slotted(h4),h5,.style-title-l,::slotted(h5),h6,.style-title-m,::slotted(h6),.style-title-s,.style-subtitle{text-align:var(--heading-text-align--desktop, left)}h1,.style-title-4xl,::slotted(h1){font-size:var(--px-text-size-heading-4xl-desktop)}h2,.style-title-3xl,::slotted(h2){font-size:var(--px-text-size-heading-3xl-desktop)}h3,.style-title-2xl,::slotted(h3){font-size:var(--px-text-size-heading-2xl-desktop)}h4,.style-title-xl,::slotted(h4){font-size:var(--px-text-size-heading-xl-desktop)}h5,.style-title-l,::slotted(h5){font-size:var(--px-text-size-heading-l-desktop)}h6,.style-title-m,::slotted(h6){font-size:var(--px-text-size-heading-m-desktop)}.style-title-s{font-size:var(--px-text-size-heading-s-desktop)}.style-subtitle{font-size:var(--px-text-size-heading-xl-desktop)}}", Z = ".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)}", yt = new CSSStyleSheet();
453
- yt.replaceSync(kt);
454
- const At = new CSSStyleSheet();
455
- At.replaceSync(Z);
456
- class A extends w {
451
+ m = new WeakMap(), b = new WeakMap(), E = new WeakMap();
452
+ customElements.get("px-icon") || customElements.define("px-icon", ie);
453
+ const wt = "h1,.style-title-4xl,::slotted(h1),h2,.style-title-3xl,::slotted(h2),h3,.style-title-2xl,::slotted(h3),h4,.style-title-xl,::slotted(h4),h5,.style-title-l,::slotted(h5),h6,.style-title-m,::slotted(h6),.style-title-s,.style-subtitle{margin:0;font-family:var(--px-font-family);color:var(--heading-color-default, var(--px-color-text-brand-default));text-align:var(--heading-text-align--mobile, left);font-size:var(--px-text-size-heading-s-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-title)}::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-bottom:var(--px-spacing-heading-to-content-mobile)}:host([inverted]) h1,:host([inverted]) .style-title-4xl,:host([inverted]) ::slotted(h1),:host([inverted]) h2,:host([inverted]) .style-title-3xl,:host([inverted]) ::slotted(h2),:host([inverted]) h3,:host([inverted]) .style-title-2xl,:host([inverted]) ::slotted(h3),:host([inverted]) h4,:host([inverted]) .style-title-xl,:host([inverted]) ::slotted(h4),:host([inverted]) h5,:host([inverted]) .style-title-l,:host([inverted]) ::slotted(h5),:host([inverted]) h6,:host([inverted]) .style-title-m,:host([inverted]) ::slotted(h6),:host([inverted]) .style-title-s,:host([inverted]) .style-subtitle{color:var(--heading-color-inverted, var(--px-color-text-brand-inverted))}h1,.style-title-4xl,::slotted(h1){font-size:var(--px-text-size-heading-4xl-mobile);line-height:var(--px-line-height-ratio-s);font-weight:var(--px-font-weight-title-large)}h2,.style-title-3xl,::slotted(h2){font-size:var(--px-text-size-heading-3xl-mobile);line-height:var(--px-line-height-ratio-s);font-weight:var(--px-font-weight-title-large)}h3,.style-title-2xl,::slotted(h3){font-size:var(--px-text-size-heading-2xl-mobile);line-height:var(--px-line-height-ratio-s)}h4,.style-title-xl,::slotted(h4){font-size:var(--px-text-size-heading-xl-mobile)}h5,.style-title-l,::slotted(h5){font-size:var(--px-text-size-heading-l-mobile)}h6,.style-title-m,::slotted(h6){font-size:var(--px-text-size-heading-m-mobile)}.style-subtitle{font-size:var(--px-text-size-heading-xl-mobile);font-weight:var(--px-font-weight-subtitle)}.style-title-s{font-size:var(--px-text-size-heading-s-mobile)}@media screen and (min-width: 48rem){::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-bottom:var(--px-spacing-heading-to-content-tablet)}h1,.style-title-4xl,::slotted(h1),h2,.style-title-3xl,::slotted(h2),h3,.style-title-2xl,::slotted(h3),h4,.style-title-xl,::slotted(h4),h5,.style-title-l,::slotted(h5),h6,.style-title-m,::slotted(h6),.style-title-s,.style-subtitle{text-align:var(--heading-text-align--tablet, left)}h1,.style-title-4xl,::slotted(h1){font-size:var(--px-text-size-heading-4xl-tablet)}h2,.style-title-3xl,::slotted(h2){font-size:var(--px-text-size-heading-3xl-tablet)}h3,.style-title-2xl,::slotted(h3){font-size:var(--px-text-size-heading-2xl-tablet)}h4,.style-title-xl,::slotted(h4){font-size:var(--px-text-size-heading-xl-tablet)}h5,.style-title-l,::slotted(h5){font-size:var(--px-text-size-heading-l-tablet)}h6,.style-title-m,::slotted(h6){font-size:var(--px-text-size-heading-m-tablet)}.style-title-s{font-size:var(--px-text-size-heading-s-tablet)}.style-subtitle{font-size:var(--px-text-size-heading-xl-tablet)}}@media screen and (min-width: 64.0625rem){::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-bottom:var(--px-spacing-heading-to-content-laptop)}h1,.style-title-4xl,::slotted(h1),h2,.style-title-3xl,::slotted(h2),h3,.style-title-2xl,::slotted(h3),h4,.style-title-xl,::slotted(h4),h5,.style-title-l,::slotted(h5),h6,.style-title-m,::slotted(h6),.style-title-s,.style-subtitle{text-align:var(--heading-text-align--laptop, left)}h1,.style-title-4xl,::slotted(h1){font-size:var(--px-text-size-heading-4xl-laptop)}h2,.style-title-3xl,::slotted(h2){font-size:var(--px-text-size-heading-3xl-laptop)}h3,.style-title-2xl,::slotted(h3){font-size:var(--px-text-size-heading-2xl-laptop)}h4,.style-title-xl,::slotted(h4){font-size:var(--px-text-size-heading-xl-laptop)}h5,.style-title-l,::slotted(h5){font-size:var(--px-text-size-heading-l-laptop)}h6,.style-title-m,::slotted(h6){font-size:var(--px-text-size-heading-m-laptop)}.style-title-s{font-size:var(--px-text-size-heading-s-laptop)}.style-subtitle{font-size:var(--px-text-size-heading-xl-laptop)}}@media screen and (min-width: 90.0625rem){::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-bottom:var(--px-spacing-heading-to-content-desktop)}h1,.style-title-4xl,::slotted(h1),h2,.style-title-3xl,::slotted(h2),h3,.style-title-2xl,::slotted(h3),h4,.style-title-xl,::slotted(h4),h5,.style-title-l,::slotted(h5),h6,.style-title-m,::slotted(h6),.style-title-s,.style-subtitle{text-align:var(--heading-text-align--desktop, left)}h1,.style-title-4xl,::slotted(h1){font-size:var(--px-text-size-heading-4xl-desktop)}h2,.style-title-3xl,::slotted(h2){font-size:var(--px-text-size-heading-3xl-desktop)}h3,.style-title-2xl,::slotted(h3){font-size:var(--px-text-size-heading-2xl-desktop)}h4,.style-title-xl,::slotted(h4){font-size:var(--px-text-size-heading-xl-desktop)}h5,.style-title-l,::slotted(h5){font-size:var(--px-text-size-heading-l-desktop)}h6,.style-title-m,::slotted(h6){font-size:var(--px-text-size-heading-m-desktop)}.style-title-s{font-size:var(--px-text-size-heading-s-desktop)}.style-subtitle{font-size:var(--px-text-size-heading-xl-desktop)}}", K = ".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)}", $t = new CSSStyleSheet();
454
+ $t.replaceSync(wt);
455
+ const St = new CSSStyleSheet();
456
+ St.replaceSync(K);
457
+ class A extends $ {
457
458
  template() {
458
459
  return "<slot></slot>";
459
460
  }
460
461
  constructor(t) {
461
- super(yt, At);
462
+ super($t, St);
462
463
  const e = document.createElement(t);
463
464
  e.innerHTML = this.template(), this.shadowRoot.appendChild(e);
464
465
  }
@@ -476,43 +477,43 @@ class A extends w {
476
477
  "auto-spacing"
477
478
  ];
478
479
  }
479
- attributeChangedCallback(t, e, o) {
480
- if (e !== o)
480
+ attributeChangedCallback(t, e, r) {
481
+ if (e !== r)
481
482
  switch (t) {
482
483
  case "variant":
483
- this.updateAttribute(t, e, o, dt);
484
+ this.updateAttribute(t, e, r, ht);
484
485
  break;
485
486
  case "color":
486
- this.updateColor(e, o, Y);
487
+ this.updateColor(e, r, Z);
487
488
  break;
488
489
  case "text-align":
489
490
  case "text-align--mobile":
490
491
  case "text-align--tablet":
491
492
  case "text-align--laptop":
492
493
  case "text-align--desktop":
493
- this.updateTextAlign(t, e, o, nt);
494
+ this.updateTextAlign(t, e, r, ct);
494
495
  break;
495
496
  default:
496
- super.attributeChangedCallback(t, e, o);
497
+ super.attributeChangedCallback(t, e, r);
497
498
  break;
498
499
  }
499
500
  }
500
501
  toggleClass(t, e) {
501
502
  t !== null && t !== "" && t !== "default" && this.$el.classList.toggle(`style-${t}`), e !== null && e !== "" && e !== "default" && this.$el.classList.toggle(`style-${e}`);
502
503
  }
503
- updateAttribute(t, e, o, r) {
504
- this.checkName(r, o) ? this.toggleClass(e, o) : d(
505
- `${o} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
504
+ updateAttribute(t, e, r, o) {
505
+ this.checkName(o, r) ? this.toggleClass(e, r) : d(
506
+ `"${r}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join('", "')}".`
506
507
  );
507
508
  }
508
- updateColor(t, e, o) {
509
- if (!this.checkName(o, e)) {
509
+ updateColor(t, e, r) {
510
+ if (!this.checkName(r, e)) {
510
511
  d(
511
- `${e} is not an allowed color value for ${this.tagName.toLowerCase()}`
512
+ `"${e}" is not a valid color value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join('", "')}".`
512
513
  );
513
514
  return;
514
515
  }
515
- const r = (i) => {
516
+ const o = (i) => {
516
517
  i !== null && i !== "" && i !== "default" && (this.$el.style.setProperty(
517
518
  "--heading-color-default",
518
519
  `var(--px-color-text-${i}-default)`
@@ -521,12 +522,12 @@ class A extends w {
521
522
  `var(--px-color-text-${i}-inverted)`
522
523
  ));
523
524
  };
524
- r(t), r(e);
525
+ o(t), o(e);
525
526
  }
526
- updateTextAlign(t, e, o, r) {
527
- if (!this.checkName(r, o)) {
527
+ updateTextAlign(t, e, r, o) {
528
+ if (!this.checkName(o, r)) {
528
529
  d(
529
- `${o} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
530
+ `"${r}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join('", "')}".`
530
531
  );
531
532
  return;
532
533
  }
@@ -538,11 +539,11 @@ class A extends w {
538
539
  };
539
540
  if (t === "text-align")
540
541
  ["mobile", "tablet", "laptop", "desktop"].forEach((a) => {
541
- i(a, e), i(a, o);
542
+ i(a, e), i(a, r);
542
543
  });
543
544
  else {
544
545
  const a = t.split("--")[1];
545
- i(a, e), i(a, o);
546
+ i(a, e), i(a, r);
546
547
  }
547
548
  }
548
549
  get variant() {
@@ -600,62 +601,62 @@ class A extends w {
600
601
  t ? this.setAttribute("auto-spacing", "") : this.removeAttribute("auto-spacing");
601
602
  }
602
603
  }
603
- const X = class X extends A {
604
+ const J = class J extends A {
604
605
  constructor() {
605
606
  super("h1");
606
607
  }
607
608
  };
608
- X.nativeName = "h1";
609
- let q = X;
610
- customElements.get("px-h1") || customElements.define("px-h1", q);
611
- const U = class U extends A {
609
+ J.nativeName = "h1";
610
+ let H = J;
611
+ customElements.get("px-h1") || customElements.define("px-h1", H);
612
+ const Q = class Q extends A {
612
613
  constructor() {
613
614
  super("h2");
614
615
  }
615
616
  };
616
- U.nativeName = "h2";
617
- let D = U;
618
- customElements.get("px-h2") || customElements.define("px-h2", D);
619
- const J = class J extends A {
617
+ Q.nativeName = "h2";
618
+ let O = Q;
619
+ customElements.get("px-h2") || customElements.define("px-h2", O);
620
+ const V = class V extends A {
620
621
  constructor() {
621
622
  super("h3");
622
623
  }
623
624
  };
624
- J.nativeName = "h3";
625
- let H = J;
626
- customElements.get("px-h3") || customElements.define("px-h3", H);
627
- const Q = class Q extends A {
625
+ V.nativeName = "h3";
626
+ let q = V;
627
+ customElements.get("px-h3") || customElements.define("px-h3", q);
628
+ const tt = class tt extends A {
628
629
  constructor() {
629
630
  super("h4");
630
631
  }
631
632
  };
632
- Q.nativeName = "h4";
633
- let j = Q;
634
- customElements.get("px-h4") || customElements.define("px-h4", j);
635
- const V = class V extends A {
633
+ tt.nativeName = "h4";
634
+ let D = tt;
635
+ customElements.get("px-h4") || customElements.define("px-h4", D);
636
+ const et = class et extends A {
636
637
  constructor() {
637
638
  super("h5");
638
639
  }
639
640
  };
640
- V.nativeName = "h5";
641
- let O = V;
642
- customElements.get("px-h5") || customElements.define("px-h5", O);
643
- const tt = class tt extends A {
641
+ et.nativeName = "h5";
642
+ let N = et;
643
+ customElements.get("px-h5") || customElements.define("px-h5", N);
644
+ const rt = class rt extends A {
644
645
  constructor() {
645
646
  super("h6");
646
647
  }
647
648
  };
648
- tt.nativeName = "h6";
649
- let _ = tt;
649
+ rt.nativeName = "h6";
650
+ let _ = rt;
650
651
  customElements.get("px-h6") || customElements.define("px-h6", _);
651
- const ie = ".separator{--separator-size: var(--px-size-border-m);--separator-direction--mobile-border-width: var(--separator-size) 0 0;--separator-direction--mobile-width: initial;--separator-direction--mobile-height: initial;clear:both;margin:0;border-style:solid;border-color:var( --separator-color-default, var(--px-color-border-main-default) );border-width:var(--separator-size) 0 0;width:initial;height:initial}.separator-direction-horizontal--mobile{border-width:var(--separator-size) 0 0;width:initial;height:initial}.separator-direction-vertical--mobile{width:var(--separator-size);height:100%;border-width:0 var(--separator-size) 0 0}:host([inverted]) .separator{border-color:var( --separator-color-inverted, var(--px-color-border-main-inverted) )}@media only screen and (min-width: 768px){.separator-direction-horizontal--tablet{border-width:var(--separator-size) 0 0;width:initial;height:initial}.separator-direction-vertical--tablet{width:var(--separator-size);height:100%;border-width:0 var(--separator-size) 0 0}}@media only screen and (min-width: 1025px){.separator-direction-horizontal--laptop{border-width:var(--separator-size) 0 0;width:initial;height:initial}.separator-direction-vertical--laptop{width:var(--separator-size);height:100%;border-width:0 var(--separator-size) 0 0}}@media only screen and (min-width: 1441px){.separator-direction-horizontal--desktop{border-width:var(--separator-size) 0 0;width:initial;height:initial}.separator-direction-vertical--desktop{width:var(--separator-size);height:100%;border-width:0 var(--separator-size) 0 0}}", zt = new CSSStyleSheet();
652
- zt.replaceSync(ie);
653
- const ae = [
652
+ const ae = ".separator{--separator-size: var(--px-size-border-m);--separator-direction--mobile-border-width: var(--separator-size) 0 0;--separator-direction--mobile-width: initial;--separator-direction--mobile-height: initial;clear:both;margin:0;border-style:solid;border-color:var( --separator-color-default, var(--px-color-border-main-default) );border-width:var(--separator-size) 0 0;width:initial;height:initial}.separator-direction-horizontal--mobile{border-width:var(--separator-size) 0 0;width:initial;height:initial}.separator-direction-vertical--mobile{width:var(--separator-size);height:100%;border-width:0 var(--separator-size) 0 0}:host([inverted]) .separator{border-color:var( --separator-color-inverted, var(--px-color-border-main-inverted) )}@media screen and (min-width: 48rem){.separator-direction-horizontal--tablet{border-width:var(--separator-size) 0 0;width:initial;height:initial}.separator-direction-vertical--tablet{width:var(--separator-size);height:100%;border-width:0 var(--separator-size) 0 0}}@media screen and (min-width: 64.0625rem){.separator-direction-horizontal--laptop{border-width:var(--separator-size) 0 0;width:initial;height:initial}.separator-direction-vertical--laptop{width:var(--separator-size);height:100%;border-width:0 var(--separator-size) 0 0}}@media screen and (min-width: 90.0625rem){.separator-direction-horizontal--desktop{border-width:var(--separator-size) 0 0;width:initial;height:initial}.separator-direction-vertical--desktop{width:var(--separator-size);height:100%;border-width:0 var(--separator-size) 0 0}}", Ct = new CSSStyleSheet();
653
+ Ct.replaceSync(ae);
654
+ const se = [
654
655
  "",
655
656
  "default",
656
657
  "horizontal",
657
658
  "vertical"
658
- ], se = ["", "default", "none", "s", "m", "l"], ne = [
659
+ ], ne = ["", "default", "none", "s", "m", "l"], de = [
659
660
  "",
660
661
  "main",
661
662
  "brand",
@@ -667,10 +668,10 @@ const ae = [
667
668
  "purpose-unlimited",
668
669
  "state-hover",
669
670
  "state-active"
670
- ], B = class B extends w {
671
+ ], B = class B extends $ {
671
672
  constructor() {
672
673
  var e;
673
- super(zt);
674
+ super(Ct);
674
675
  const t = document.createElement(B.nativeName);
675
676
  t.classList.add("separator"), this.internals = (e = this.attachInternals) == null ? void 0 : e.call(this), this.shadowRoot.appendChild(t);
676
677
  }
@@ -687,8 +688,8 @@ const ae = [
687
688
  "inverted"
688
689
  ];
689
690
  }
690
- attributeChangedCallback(t, e, o) {
691
- if (e !== o)
691
+ attributeChangedCallback(t, e, r) {
692
+ if (e !== r)
692
693
  switch (t) {
693
694
  case "direction":
694
695
  case "direction--mobile":
@@ -698,33 +699,33 @@ const ae = [
698
699
  this.updateDirection(
699
700
  t,
700
701
  e,
701
- o,
702
- ae
702
+ r,
703
+ se
703
704
  );
704
705
  break;
705
706
  case "size":
706
- this.updateSize(t, e, o, se);
707
+ this.updateSize(t, e, r, ne);
707
708
  break;
708
709
  case "color":
709
- this.updateColor(t, e, o, ne);
710
+ this.updateColor(t, e, r, de);
710
711
  break;
711
712
  default:
712
- super.attributeChangedCallback(t, e, o);
713
+ super.attributeChangedCallback(t, e, r);
713
714
  break;
714
715
  }
715
716
  }
716
- updateSize(t, e, o, r) {
717
+ updateSize(t, e, r, o) {
717
718
  const i = (a) => {
718
719
  a !== null && a !== "" && a !== "default" && this.$el.style.setProperty(
719
720
  "--separator-size",
720
721
  `var(--px-size-border-${a})`
721
722
  );
722
723
  };
723
- this.checkName(r, o) ? (i(e), i(o)) : d(
724
- `${o} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
724
+ this.checkName(o, r) ? (i(e), i(r)) : d(
725
+ `"${r}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join('", "')}".`
725
726
  );
726
727
  }
727
- updateColor(t, e, o, r) {
728
+ updateColor(t, e, r, o) {
728
729
  const i = (a) => {
729
730
  a !== null && a !== "" && a !== "default" && (this.$el.style.setProperty(
730
731
  "--separator-color-default",
@@ -734,23 +735,23 @@ const ae = [
734
735
  `var(--px-color-border-${a}-inverted)`
735
736
  ));
736
737
  };
737
- this.checkName(r, o) ? (i(e), i(o)) : d(
738
- `${o} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
738
+ this.checkName(o, r) ? (i(e), i(r)) : d(
739
+ `"${r}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join('", "')}".`
739
740
  );
740
741
  }
741
- updateDirection(t, e, o, r) {
742
+ updateDirection(t, e, r, o) {
742
743
  const i = (a, l) => {
743
744
  l !== null && l !== "" && l !== "default" && this.$el.classList.add(`separator-direction-${l}--${a}`);
744
745
  };
745
- if (!this.checkName(r, o))
746
+ if (!this.checkName(o, r))
746
747
  d(
747
- `${o} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
748
+ `"${r}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join('", "')}".`
748
749
  );
749
750
  else if (t === "direction")
750
751
  ["mobile", "tablet", "laptop", "desktop"].forEach((a) => {
751
752
  Array.from(this.$el.classList).find(
752
753
  (z) => z.startsWith("separator-direction-") && z.endsWith(`--${a}`)
753
- ) || i(a, o);
754
+ ) || i(a, r);
754
755
  });
755
756
  else {
756
757
  const a = t.split("--")[1], l = Array.from(this.$el.classList).find(
@@ -758,8 +759,8 @@ const ae = [
758
759
  );
759
760
  l ? this.$el.classList.replace(
760
761
  l,
761
- `separator-direction-${o}--${a}`
762
- ) : i(a, o);
762
+ `separator-direction-${r}--${a}`
763
+ ) : i(a, r);
763
764
  }
764
765
  }
765
766
  get direction() {
@@ -814,15 +815,15 @@ const ae = [
814
815
  B.nativeName = "hr";
815
816
  let W = B;
816
817
  customElements.get("px-separator") || customElements.define("px-separator", W);
817
- const de = ':host{display:block}:host,:host *{box-sizing:border-box}.content-wrapper{margin-inline:var(--px-padding-s-mobile);max-width:var(--px-content-wrapper-max-width-desktop)}@media only screen and (min-width: 77em){.content-wrapper{margin-inline:auto}}.overlapped{margin-bottom:calc(var(--px-overlapped-mobile) * -1)}::slotted([slot="overlap"]){margin-top:var(--px-overlapped-mobile)}@media only screen and (min-width: 48em){.overlapped{margin-bottom:calc(var(--px-overlapped-desktop) * -1)}::slotted([slot="overlap"]){margin-top:var(--px-overlapped-desktop)}}@media only screen and (min-width: 64.0625em){.overlapped{margin-bottom:calc(var(--px-overlapped-desktop) * -1)}::slotted([slot="overlap"]){margin-top:var(--px-overlapped-desktop)}}', le = ':host{display:block}.container{font-family:var(--px-font-family);background-color:var(--background-color);border-radius:var(--px-radius-main);box-sizing:border-box;height:100%}:host([background-image]) .container{background-image:var(--background-image)}:host([background-gradient]) .container{background-image:var(--background-gradient)}:host([inverted]) .container{background-color:var(--background-color-inverted);color:var(--px-color-text-neutral-inverted)}.border-none{border:none}.border-s{border:var(--px-size-border-s) solid var(--border-color)}.border-m{border:var(--px-size-border-m) solid var(--border-color)}.border-l{border:var(--px-size-border-l) solid var(--border-color)}.border-side-top{border-bottom-style:none;border-right-style:none;border-left-style:none}.border-side-right{border-top-style:none;border-bottom-style:none;border-left-style:none}.border-side-bottom{border-top-style:none;border-right-style:none;border-left-style:none}.border-side-left{border-top-style:none;border-right-style:none;border-bottom-style:none}.border-side-block{border-inline-style:none}.border-side-inline{border-block-style:none}:host([inverted]) .border-s,:host([inverted]) .border-m,:host([inverted]) .border-l{border-color:var(--border-color-inverted)}.border-radius-main{border-radius:var(--px-radius-main)}.border-radius-pill{border-radius:var(--px-radius-pill)}.no-border-radius-top{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all,.border-radius-none{border-radius:var(--px-radius-none)}.bgimg{background-repeat:no-repeat}.background-size-cover{background-size:cover;background-position:center center}.background-size-contain{background-size:contain}.box-shadow-none{box-shadow:none}.box-shadow-s{box-shadow:0 1px 2px #2525251f}.box-shadow-m{box-shadow:0 4px 6px -1px #25252514}.box-shadow-l{box-shadow:0 10px 15px -3px #25252514}.box-shadow-xl{box-shadow:0 20px 25px -5px #25252514}.anchored{position:relative}::slotted([slot="anchor-right"]),::slotted([slot="anchor-left"]),::slotted([slot="anchor-full"]){position:absolute;top:0}::slotted([slot="anchor-right"]),::slotted([slot="anchor-left"]){transform:translateY(-50%);z-index:3}::slotted([slot="anchor-right"]){right:var( --container-anchor-offset--mobile, var( --container-padding-right, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-left"]){left:var( --container-anchor-offset--mobile, var( --container-padding-left, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-full"]){transform:translateY(-100%);right:0;left:0;text-align:center;z-index:2}::slotted(px-vstack:only-of-type),::slotted(px-hstack:only-of-type),::slotted(px-stack:only-of-type),::slotted(px-grid:only-of-type){height:100%}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--mobile)}.border-s ::slotted([slot="anchor-full"]){right:calc(var(--px-size-border-s) * -1);left:calc(var(--px-size-border-s) * -1)}.border-m ::slotted([slot="anchor-full"]){right:calc(var(--px-size-border-m) * -1);left:calc(var(--px-size-border-m) * -1)}.border-l ::slotted([slot="anchor-full"]){right:calc(var(--px-size-border-l) * -1);left:calc(var(--px-size-border-l) * -1)}:host([subgrid-rows]){display:contents}:host([subgrid-rows]) .container{display:grid;grid-template-rows:subgrid;grid-row:span var(--subgrid-rows)}:host([subgrid-rows]):host([grow]) .container{flex-grow:var(--grow-value)}:host([subgrid-rows]):host([shrink]) .container{flex-shrink:var(--shrink-value)}:host([subgrid-rows]):host([basis]) .container{flex-basis:var(--basis-value)}:host([subgrid-rows]):host([align-self]) .container{align-self:var(--align-self-value)}:host([subgrid-rows]):host([col-span]) .container{grid-column:span var(--col-span-value) / span var(--col-span-value)}:host([subgrid-rows]):host([justify-self]) .container{justify-self:var(--justify-self-value)}:host([subgrid-rows]):host([order]) .container{order:var(--order-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--mobile)}@media only screen and (max-width: 47.938em){.container{background-color:var(--background-color--mobile, var(--background-color))}:host([background-image--mobile]) .container{background-image:var(--background-image--mobile, var(--background-image))}:host([background-gradient--mobile]) .container{background-image:var( --background-gradient--mobile, var(--background-gradient) )}:host([inverted]) .container{background-color:var( --background-color-inverted--mobile, var(--background-color-inverted) )}.border-side-top--mobile{border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--mobile{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--mobile{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--mobile{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--mobile{border-inline-style:none;border-block-style:solid}.border-side-inline--mobile{border-block-style:none;border-inline-style:solid}.no-border-radius-top--mobile{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--mobile{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--mobile{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--mobile{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--mobile{border-radius:var(--px-radius-none)}:host([subgrid-rows]):host([grow--mobile]) .container{flex-grow:var(--grow--mobile-value)}:host([subgrid-rows]):host([shrink--mobile]) .container{flex-shrink:var(--shrink--mobile-value)}:host([subgrid-rows]):host([basis--mobile]) .container{flex-basis:var(--basis--mobile-value)}:host([subgrid-rows]):host([align-self--mobile]) .container{align-self:var(--align-self--mobile-value)}:host([subgrid-rows]):host([col-span--mobile]) .container{grid-column:span var(--col-span--mobile-value) / span var(--col-span--mobile-value)}:host([subgrid-rows]):host([justify-self--mobile]) .container{justify-self:var(--justify-self--mobile-value)}:host([subgrid-rows]):host([order--mobile]) .container{order:var(--order--mobile-value)}}@media only screen and (min-width: 48em) and (max-width: 64em){.container{background-color:var(--background-color--tablet, var(--background-color))}:host([background-image--tablet]) .container{background-image:var(--background-image--tablet, var(--background-image))}:host([background-gradient--tablet]) .container{background-image:var( --background-gradient--tablet, var(--background-gradient) )}:host([inverted]) .container{background-color:var( --background-color-inverted--tablet, var(--background-color-inverted) )}.no-border-radius-top--tablet{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--tablet{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--tablet{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--tablet{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--tablet{border-radius:var(--px-radius-none)}.border-side-top--tablet{border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--tablet{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--tablet{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--tablet{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--tablet{border-inline-style:none;border-block-style:solid}.border-side-inline--tablet{border-block-style:none;border-inline-style:solid}::slotted([slot="anchor-right"]){right:var( --container-anchor-offset--tablet, var( --container-padding-right, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-left"]){left:var( --container-anchor-offset--tablet, var( --container-padding-left, var(--container-padding-inline, var(--container-padding)) ) )}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--tablet)}:host([subgrid-rows]):host([col-span--tablet]) .container{grid-column:span var(--col-span--tablet-value) / span var(--col-span--tablet-value)}:host([subgrid-rows]):host([grow--tablet]) .container{flex-grow:var(--grow--tablet-value)}:host([subgrid-rows]):host([shrink--tablet]) .container{flex-shrink:var(--shrink--tablet-value)}:host([subgrid-rows]):host([basis--tablet]) .container{flex-basis:var(--basis--tablet-value)}:host([subgrid-rows]):host([align-self--tablet]) .container{align-self:var(--align-self--tablet-value)}:host([subgrid-rows]):host([justify-self--tablet]) .container{justify-self:var(--justify-self--tablet-value)}:host([subgrid-rows]):host([order--tablet]) .container{order:var(--order--tablet-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--tablet)}}@media only screen and (min-width: 64.0625em) and (max-width: 90em){:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--laptop)}:host([subgrid-rows]):host([col-span--laptop]) .container{grid-column:span var(--col-span--laptop-value) / span var(--col-span--laptop-value)}:host([subgrid-rows]):host([grow--laptop]) .container{flex-grow:var(--grow--laptop-value)}:host([subgrid-rows]):host([shrink--laptop]) .container{flex-shrink:var(--shrink--laptop-value)}:host([subgrid-rows]):host([basis--laptop]) .container{flex-basis:var(--basis--laptop-value)}:host([subgrid-rows]):host([align-self--laptop]) .container{align-self:var(--align-self--laptop-value)}:host([subgrid-rows]):host([justify-self--laptop]) .container{justify-self:var(--justify-self--laptop-value)}:host([subgrid-rows]):host([order--laptop]) .container{order:var(--order--laptop-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--laptop)}}@media only screen and (min-width: 64.0625em){.container{background-color:var(--background-color--laptop, var(--background-color))}:host([background-image--laptop]) .container{background-image:var(--background-image--laptop, var(--background-image))}:host([background-gradient--laptop]) .container{background-image:var( --background-gradient--laptop, var(--background-gradient) )}:host([inverted]) .container{background-color:var( --background-color-inverted--laptop, var(--background-color-inverted) )}.no-border-radius-top--laptop{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--laptop{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--laptop{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--laptop{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--laptop{border-radius:var(--px-radius-none)}::slotted([slot="anchor-right"]){right:var( --container-anchor-offset--laptop, var( --container-padding-right, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-left"]){left:var( --container-anchor-offset--laptop, var( --container-padding-left, var(--container-padding-inline, var(--container-padding)) ) )}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--laptop)}.border-side-top--laptop{border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--laptop{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--laptop{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--laptop{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--laptop{border-inline-style:none;border-block-style:solid}.border-side-inline--laptop{border-block-style:none;border-inline-style:solid}}@media screen and (min-width: 90.0625em){:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--desktop)}:host([subgrid-rows]):host([col-span--desktop]) .container{grid-column:span var(--col-span--desktop-value) / span var(--col-span--desktop-value)}:host([subgrid-rows]):host([grow--desktop]) .container{flex-grow:var(--grow--desktop-value)}:host([subgrid-rows]):host([shrink--desktop]) .container{flex-shrink:var(--shrink--desktop-value)}:host([subgrid-rows]):host([basis--desktop]) .container{flex-basis:var(--basis--desktop-value)}:host([subgrid-rows]):host([align-self--desktop]) .container{align-self:var(--align-self--desktop-value)}:host([subgrid-rows]):host([justify-self--desktop]) .container{justify-self:var(--justify-self--desktop-value)}:host([subgrid-rows]):host([order--desktop]) .container{order:var(--order--desktop-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--desktop)}}', $t = new CSSStyleSheet();
818
- $t.replaceSync(le);
819
- const pe = [
818
+ const le = ':host{display:block}:host,:host *{box-sizing:border-box}.content-wrapper{margin-inline:var(--px-padding-s-mobile);max-width:var(--px-content-wrapper-max-width-desktop)}@media screen and (min-width: 77rem){.content-wrapper{margin-inline:auto}}.overlapped{margin-bottom:calc(var(--px-overlapped-mobile) * -1)}::slotted([slot="overlap"]){margin-top:var(--px-overlapped-mobile)}@media screen and (min-width: 48rem){.overlapped{margin-bottom:calc(var(--px-overlapped-tablet) * -1)}::slotted([slot="overlap"]){margin-top:var(--px-overlapped-tablet)}}@media screen and (min-width: 64.0625rem){.overlapped{margin-bottom:calc(var(--px-overlapped-laptop) * -1)}::slotted([slot="overlap"]){margin-top:var(--px-overlapped-laptop)}}', pe = ':host{display:block}.container{font-family:var(--px-font-family);background-color:var(--background-color);border-radius:var(--px-radius-main);box-sizing:border-box;height:100%}:host([background-image]) .container{background-image:var(--background-image)}:host([background-gradient]) .container{background-image:var(--background-gradient)}:host([inverted]) .container{background-color:var(--background-color-inverted);color:var(--px-color-text-neutral-inverted)}.border-none{border:none}.border-s{border:var(--px-size-border-s) solid var(--border-color)}.border-m{border:var(--px-size-border-m) solid var(--border-color)}.border-l{border:var(--px-size-border-l) solid var(--border-color)}.border-side-top{border-bottom-style:none;border-right-style:none;border-left-style:none}.border-side-right{border-top-style:none;border-bottom-style:none;border-left-style:none}.border-side-bottom{border-top-style:none;border-right-style:none;border-left-style:none}.border-side-left{border-top-style:none;border-right-style:none;border-bottom-style:none}.border-side-block{border-inline-style:none}.border-side-inline{border-block-style:none}:host([inverted]) .border-s,:host([inverted]) .border-m,:host([inverted]) .border-l{border-color:var(--border-color-inverted)}.border-radius-main{border-radius:var(--px-radius-main)}.border-radius-pill{border-radius:var(--px-radius-pill)}.no-border-radius-top{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all,.border-radius-none{border-radius:var(--px-radius-none)}.bgimg{background-repeat:no-repeat}.background-size-cover{background-size:cover;background-position:center center}.background-size-contain{background-size:contain}.box-shadow-none{box-shadow:none}.box-shadow-s{box-shadow:0 1px 2px #2525251f}.box-shadow-m{box-shadow:0 4px 6px -1px #25252514}.box-shadow-l{box-shadow:0 10px 15px -3px #25252514}.box-shadow-xl{box-shadow:0 20px 25px -5px #25252514}.anchored{position:relative}::slotted([slot="anchor-right"]),::slotted([slot="anchor-left"]),::slotted([slot="anchor-full"]){position:absolute;top:0}::slotted([slot="anchor-right"]),::slotted([slot="anchor-left"]){transform:translateY(-50%);z-index:3}::slotted([slot="anchor-right"]){right:var( --container-anchor-offset--mobile, var( --container-padding-right, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-left"]){left:var( --container-anchor-offset--mobile, var( --container-padding-left, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-full"]){transform:translateY(-100%);right:0;left:0;text-align:center;z-index:2}::slotted(px-vstack:only-of-type),::slotted(px-hstack:only-of-type),::slotted(px-stack:only-of-type),::slotted(px-grid:only-of-type){height:100%}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--mobile)}.border-s ::slotted([slot="anchor-full"]){right:calc(var(--px-size-border-s) * -1);left:calc(var(--px-size-border-s) * -1)}.border-m ::slotted([slot="anchor-full"]){right:calc(var(--px-size-border-m) * -1);left:calc(var(--px-size-border-m) * -1)}.border-l ::slotted([slot="anchor-full"]){right:calc(var(--px-size-border-l) * -1);left:calc(var(--px-size-border-l) * -1)}:host([subgrid-rows]){display:contents}:host([subgrid-rows]) .container{display:grid;grid-template-rows:subgrid;grid-row:span var(--subgrid-rows)}:host([subgrid-rows]):host([grow]) .container{flex-grow:var(--grow-value)}:host([subgrid-rows]):host([shrink]) .container{flex-shrink:var(--shrink-value)}:host([subgrid-rows]):host([basis]) .container{flex-basis:var(--basis-value)}:host([subgrid-rows]):host([align-self]) .container{align-self:var(--align-self-value)}:host([subgrid-rows]):host([col-span]) .container{grid-column:span var(--col-span-value) / span var(--col-span-value)}:host([subgrid-rows]):host([justify-self]) .container{justify-self:var(--justify-self-value)}:host([subgrid-rows]):host([order]) .container{order:var(--order-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--mobile)}@media screen and (max-width: 47.938rem){.container{background-color:var(--background-color--mobile, var(--background-color))}:host([background-image--mobile]) .container{background-image:var(--background-image--mobile, var(--background-image))}:host([background-gradient--mobile]) .container{background-image:var( --background-gradient--mobile, var(--background-gradient) )}:host([inverted]) .container{background-color:var( --background-color-inverted--mobile, var(--background-color-inverted) )}.border-side-top--mobile{border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--mobile{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--mobile{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--mobile{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--mobile{border-inline-style:none;border-block-style:solid}.border-side-inline--mobile{border-block-style:none;border-inline-style:solid}.no-border-radius-top--mobile{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--mobile{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--mobile{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--mobile{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--mobile{border-radius:var(--px-radius-none)}:host([subgrid-rows]):host([grow--mobile]) .container{flex-grow:var(--grow--mobile-value)}:host([subgrid-rows]):host([shrink--mobile]) .container{flex-shrink:var(--shrink--mobile-value)}:host([subgrid-rows]):host([basis--mobile]) .container{flex-basis:var(--basis--mobile-value)}:host([subgrid-rows]):host([align-self--mobile]) .container{align-self:var(--align-self--mobile-value)}:host([subgrid-rows]):host([col-span--mobile]) .container{grid-column:span var(--col-span--mobile-value) / span var(--col-span--mobile-value)}:host([subgrid-rows]):host([justify-self--mobile]) .container{justify-self:var(--justify-self--mobile-value)}:host([subgrid-rows]):host([order--mobile]) .container{order:var(--order--mobile-value)}}@media screen and (min-width: 48rem) and (max-width: 64rem){.container{background-color:var(--background-color--tablet, var(--background-color))}:host([background-image--tablet]) .container{background-image:var(--background-image--tablet, var(--background-image))}:host([background-gradient--tablet]) .container{background-image:var( --background-gradient--tablet, var(--background-gradient) )}:host([inverted]) .container{background-color:var( --background-color-inverted--tablet, var(--background-color-inverted) )}.no-border-radius-top--tablet{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--tablet{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--tablet{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--tablet{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--tablet{border-radius:var(--px-radius-none)}.border-side-top--tablet{border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--tablet{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--tablet{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--tablet{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--tablet{border-inline-style:none;border-block-style:solid}.border-side-inline--tablet{border-block-style:none;border-inline-style:solid}::slotted([slot="anchor-right"]){right:var( --container-anchor-offset--tablet, var( --container-padding-right, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-left"]){left:var( --container-anchor-offset--tablet, var( --container-padding-left, var(--container-padding-inline, var(--container-padding)) ) )}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--tablet)}:host([subgrid-rows]):host([col-span--tablet]) .container{grid-column:span var(--col-span--tablet-value) / span var(--col-span--tablet-value)}:host([subgrid-rows]):host([grow--tablet]) .container{flex-grow:var(--grow--tablet-value)}:host([subgrid-rows]):host([shrink--tablet]) .container{flex-shrink:var(--shrink--tablet-value)}:host([subgrid-rows]):host([basis--tablet]) .container{flex-basis:var(--basis--tablet-value)}:host([subgrid-rows]):host([align-self--tablet]) .container{align-self:var(--align-self--tablet-value)}:host([subgrid-rows]):host([justify-self--tablet]) .container{justify-self:var(--justify-self--tablet-value)}:host([subgrid-rows]):host([order--tablet]) .container{order:var(--order--tablet-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--tablet)}}@media screen and (min-width: 64.0625rem) and (max-width: 90rem){:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--laptop)}:host([subgrid-rows]):host([col-span--laptop]) .container{grid-column:span var(--col-span--laptop-value) / span var(--col-span--laptop-value)}:host([subgrid-rows]):host([grow--laptop]) .container{flex-grow:var(--grow--laptop-value)}:host([subgrid-rows]):host([shrink--laptop]) .container{flex-shrink:var(--shrink--laptop-value)}:host([subgrid-rows]):host([basis--laptop]) .container{flex-basis:var(--basis--laptop-value)}:host([subgrid-rows]):host([align-self--laptop]) .container{align-self:var(--align-self--laptop-value)}:host([subgrid-rows]):host([justify-self--laptop]) .container{justify-self:var(--justify-self--laptop-value)}:host([subgrid-rows]):host([order--laptop]) .container{order:var(--order--laptop-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--laptop)}}@media screen and (min-width: 64.0625rem){.container{background-color:var(--background-color--laptop, var(--background-color))}:host([background-image--laptop]) .container{background-image:var(--background-image--laptop, var(--background-image))}:host([background-gradient--laptop]) .container{background-image:var( --background-gradient--laptop, var(--background-gradient) )}:host([inverted]) .container{background-color:var( --background-color-inverted--laptop, var(--background-color-inverted) )}.no-border-radius-top--laptop{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--laptop{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--laptop{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--laptop{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--laptop{border-radius:var(--px-radius-none)}::slotted([slot="anchor-right"]){right:var( --container-anchor-offset--laptop, var( --container-padding-right, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-left"]){left:var( --container-anchor-offset--laptop, var( --container-padding-left, var(--container-padding-inline, var(--container-padding)) ) )}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--laptop)}.border-side-top--laptop{border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--laptop{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--laptop{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--laptop{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--laptop{border-inline-style:none;border-block-style:solid}.border-side-inline--laptop{border-block-style:none;border-inline-style:solid}}@media screen and (min-width: 90.0625rem){:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--desktop)}:host([subgrid-rows]):host([col-span--desktop]) .container{grid-column:span var(--col-span--desktop-value) / span var(--col-span--desktop-value)}:host([subgrid-rows]):host([grow--desktop]) .container{flex-grow:var(--grow--desktop-value)}:host([subgrid-rows]):host([shrink--desktop]) .container{flex-shrink:var(--shrink--desktop-value)}:host([subgrid-rows]):host([basis--desktop]) .container{flex-basis:var(--basis--desktop-value)}:host([subgrid-rows]):host([align-self--desktop]) .container{align-self:var(--align-self--desktop-value)}:host([subgrid-rows]):host([justify-self--desktop]) .container{justify-self:var(--justify-self--desktop-value)}:host([subgrid-rows]):host([order--desktop]) .container{order:var(--order--desktop-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--desktop)}}', Lt = new CSSStyleSheet();
819
+ Lt.replaceSync(pe);
820
+ const be = [
820
821
  "top-patch",
821
822
  "top-neighbor-patch",
822
823
  "top-ribbon",
823
824
  "top-neighbor-ribbon",
824
825
  "top-patch-and-neighbor-ribbon"
825
- ], be = [
826
+ ], ce = [
826
827
  "1",
827
828
  "2",
828
829
  "3",
@@ -835,7 +836,7 @@ const pe = [
835
836
  "10",
836
837
  "11",
837
838
  "12"
838
- ], g = (s, t, e) => `:host([${s}${e ? `--${e}` : ""}='${t}']) .container`, v = "px-padding", ce = [
839
+ ], g = (s, t, e) => `:host([${s}${e ? `--${e}` : ""}='${t}']) .container`, v = "px-padding", he = [
839
840
  h(
840
841
  "padding",
841
842
  g,
@@ -884,14 +885,14 @@ const pe = [
884
885
  h(
885
886
  "gap",
886
887
  g,
887
- jt,
888
+ Wt,
888
889
  "px-spacing",
889
890
  void 0,
890
891
  "subgrid-gap"
891
892
  )
892
- ], et = class et extends st {
893
+ ], ot = class ot extends X {
893
894
  constructor() {
894
- super($t, ...ce), this.template = () => `<div class="container">
895
+ super(Lt, ...he), this.template = () => `<div class="container">
895
896
  <slot></slot>
896
897
  <slot name="anchor-left"></slot>
897
898
  <slot name="anchor-right"></slot>
@@ -942,8 +943,8 @@ const pe = [
942
943
  characterData: !0
943
944
  }), this._bgObserver = new IntersectionObserver((t) => {
944
945
  t.forEach((e) => {
945
- var o;
946
- e.isIntersecting && (this._isInViewport = !0, this._loadBackgroundImages(), (o = this._bgObserver) == null || o.disconnect());
946
+ var r;
947
+ e.isIntersecting && (this._isInViewport = !0, this._loadBackgroundImages(), (r = this._bgObserver) == null || r.disconnect());
947
948
  });
948
949
  }), this._bgObserver.observe(this.$el);
949
950
  }
@@ -951,27 +952,27 @@ const pe = [
951
952
  var t, e;
952
953
  (t = this._bgObserver) == null || t.disconnect(), (e = this.contentObserver) == null || e.disconnect();
953
954
  }
954
- attributeChangedCallback(t, e, o) {
955
- if (e !== o)
955
+ attributeChangedCallback(t, e, r) {
956
+ if (e !== r)
956
957
  switch (t) {
957
958
  case "border":
958
- this.updateAttribute(t, e, o, Nt);
959
+ this.updateAttribute(t, e, r, Kt);
959
960
  break;
960
961
  case "border-color":
961
- this.updateBorderColor(t, o);
962
+ this.updateBorderColor(t, r);
962
963
  break;
963
964
  case "border-side":
964
965
  case "border-side--mobile":
965
966
  case "border-side--tablet":
966
967
  case "border-side--laptop":
967
- this.updateAttribute(t, e, o, Gt);
968
+ this.updateAttribute(t, e, r, Zt);
968
969
  break;
969
970
  case "border-radius":
970
971
  this.updateAttribute(
971
972
  t,
972
973
  e,
973
- o,
974
- Ft
974
+ r,
975
+ Xt
975
976
  );
976
977
  break;
977
978
  case "no-border-radius":
@@ -981,58 +982,58 @@ const pe = [
981
982
  this.updateNoBorderRadius(
982
983
  t,
983
984
  e,
984
- o,
985
- Wt
985
+ r,
986
+ Yt
986
987
  );
987
988
  break;
988
989
  case "background-color":
989
990
  case "background-color--mobile":
990
991
  case "background-color--tablet":
991
992
  case "background-color--laptop":
992
- this.updateBackgroundColor(t, o);
993
+ this.updateBackgroundColor(t, r);
993
994
  break;
994
995
  case "background-gradient":
995
996
  case "background-gradient--mobile":
996
997
  case "background-gradient--tablet":
997
998
  case "background-gradient--laptop":
998
- this.updateGradient(t, o);
999
+ this.updateGradient(t, r);
999
1000
  break;
1000
1001
  case "background-size":
1001
1002
  this.updateAttribute(
1002
1003
  t,
1003
1004
  e,
1004
- o,
1005
- _t
1005
+ r,
1006
+ Gt
1006
1007
  );
1007
1008
  break;
1008
1009
  case "background-image":
1009
1010
  case "background-image--mobile":
1010
1011
  case "background-image--tablet":
1011
1012
  case "background-image--laptop":
1012
- this._isInViewport && this.updateBackgroundImg(t, o);
1013
+ this._isInViewport && this.updateBackgroundImg(t, r);
1013
1014
  break;
1014
1015
  case "background-position":
1015
- o !== null && o !== "" && (this.$el.style.backgroundPosition = o);
1016
+ r !== null && r !== "" && (this.$el.style.backgroundPosition = r);
1016
1017
  break;
1017
1018
  case "box-shadow":
1018
- this.updateAttribute(t, e, o, Ot);
1019
+ this.updateAttribute(t, e, r, Ft);
1019
1020
  break;
1020
1021
  case "anchor-offset":
1021
- this.updateAnchorOffset(e, o, u);
1022
+ this.updateAnchorOffset(e, r, u);
1022
1023
  break;
1023
1024
  case "anchor-spacing":
1024
- this.updateAnchorSpacing(e, o, pe);
1025
+ this.updateAnchorSpacing(e, r, be);
1025
1026
  break;
1026
1027
  case "subgrid-rows":
1027
1028
  this.updateSubgridRows(
1028
1029
  t,
1029
1030
  e,
1030
- o,
1031
- be
1031
+ r,
1032
+ ce
1032
1033
  );
1033
1034
  break;
1034
1035
  default:
1035
- super.attributeChangedCallback(t, e, o);
1036
+ super.attributeChangedCallback(t, e, r);
1036
1037
  break;
1037
1038
  }
1038
1039
  }
@@ -1043,100 +1044,100 @@ const pe = [
1043
1044
  "background-image--tablet",
1044
1045
  "background-image--laptop"
1045
1046
  ].forEach((e) => {
1046
- const o = this.getAttribute(e);
1047
- o && this.updateBackgroundImg(e, o);
1047
+ const r = this.getAttribute(e);
1048
+ r && this.updateBackgroundImg(e, r);
1048
1049
  });
1049
1050
  }
1050
1051
  updateBackgroundImg(t, e) {
1051
1052
  this.$el.style.setProperty(`--${t}`, `url("${e}")`);
1052
1053
  }
1053
1054
  updateGradient(t, e) {
1054
- if (this.checkName(Yt, e)) {
1055
- const o = this.splitAttrNameFromBreakpoint(t);
1056
- t = o.attrName;
1057
- const r = o.breakpoint;
1055
+ if (this.checkName(st, e)) {
1056
+ const r = this.splitAttrNameFromBreakpoint(t);
1057
+ t = r.attrName;
1058
+ const o = r.breakpoint;
1058
1059
  this.$el.style.setProperty(
1059
- `--${t}${r}`,
1060
+ `--${t}${o}`,
1060
1061
  `linear-gradient(var(--px-color-background-gradient-${e}))`
1061
1062
  );
1062
1063
  } else
1063
1064
  d(
1064
- `${e} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
1065
+ `"${e}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${st.join('", "')}".`
1065
1066
  );
1066
1067
  }
1067
1068
  updateBackgroundColor(t, e) {
1068
- const o = e.startsWith("surface-");
1069
- if (this.checkName(lt, e)) {
1070
- const r = this.splitAttrNameFromBreakpoint(t), i = r.breakpoint;
1069
+ const r = e.startsWith("surface-");
1070
+ if (this.checkName(P, e)) {
1071
+ const o = this.splitAttrNameFromBreakpoint(t), i = o.breakpoint;
1071
1072
  this.$el.style.setProperty(
1072
- `--${r.attrName}${i}`,
1073
- `var(--px-color-background-${e}${o ? "" : "-default"})`
1073
+ `--${o.attrName}${i}`,
1074
+ `var(--px-color-background-${e}${r ? "" : "-default"})`
1074
1075
  ), this.$el.style.setProperty(
1075
- `--${r.attrName}-inverted${i}`,
1076
- `var(--px-color-background-${e}${o ? "" : "-inverted"})`
1076
+ `--${o.attrName}-inverted${i}`,
1077
+ `var(--px-color-background-${e}${r ? "" : "-inverted"})`
1077
1078
  );
1078
1079
  } else
1079
1080
  d(
1080
- `${e} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
1081
+ `"${e}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${P.join('", "')}".`
1081
1082
  );
1082
1083
  }
1083
1084
  updateBorderColor(t, e) {
1084
- this.checkName(Zt, e) ? (this.$el.style.setProperty(
1085
+ this.checkName(nt, e) ? (this.$el.style.setProperty(
1085
1086
  `--${t}`,
1086
1087
  `var(--px-color-border-${e}-default)`
1087
1088
  ), this.$el.style.setProperty(
1088
1089
  `--${t}-inverted`,
1089
1090
  `var(--px-color-border-${e}-inverted)`
1090
1091
  )) : d(
1091
- `${e} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
1092
+ `"${e}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${nt.join('", "')}".`
1092
1093
  );
1093
1094
  }
1094
- updateNoBorderRadius(t, e, o, r) {
1095
- if (!this.checkName(r, o))
1095
+ updateNoBorderRadius(t, e, r, o) {
1096
+ if (!this.checkName(o, r))
1096
1097
  d(
1097
- `${o} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
1098
+ `"${r}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join('", "')}".`
1098
1099
  );
1099
1100
  else {
1100
1101
  const i = this.splitAttrNameFromBreakpoint(t), a = i.breakpoint;
1101
1102
  e !== null && e !== "" && this.$el.classList.toggle(
1102
1103
  `${i.attrName}-${e}${a}`
1103
- ), o !== null && o !== "" && this.$el.classList.toggle(
1104
- `${i.attrName}-${o}${a}`
1104
+ ), r !== null && r !== "" && this.$el.classList.toggle(
1105
+ `${i.attrName}-${r}${a}`
1105
1106
  );
1106
1107
  }
1107
1108
  }
1108
- updateAttribute(t, e, o, r) {
1109
- if (!this.checkName(r, o))
1109
+ updateAttribute(t, e, r, o) {
1110
+ if (!this.checkName(o, r))
1110
1111
  d(
1111
- `${o} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
1112
+ `"${r}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join('", "')}".`
1112
1113
  );
1113
1114
  else {
1114
1115
  const i = this.splitAttrNameFromBreakpoint(t), a = i.breakpoint;
1115
1116
  e !== null && e !== "" && this.$el.classList.toggle(
1116
1117
  `${i.attrName}-${e}${a}`
1117
- ), o !== null && o !== "" && this.$el.classList.toggle(
1118
- `${i.attrName}-${o}${a}`
1118
+ ), r !== null && r !== "" && this.$el.classList.toggle(
1119
+ `${i.attrName}-${r}${a}`
1119
1120
  );
1120
1121
  }
1121
1122
  }
1122
1123
  splitAttrNameFromBreakpoint(t) {
1123
1124
  let e = "";
1124
1125
  if (["--mobile", "--tablet", "--laptop"].some(
1125
- (o) => t.includes(o)
1126
+ (r) => t.includes(r)
1126
1127
  )) {
1127
- const o = t.split("--");
1128
- t = o[0], e = `--${o[1]}`;
1128
+ const r = t.split("--");
1129
+ t = r[0], e = `--${r[1]}`;
1129
1130
  }
1130
1131
  return { attrName: t, breakpoint: e };
1131
1132
  }
1132
- updateAnchorOffset(t, e, o) {
1133
- if (!$(o, e)) {
1133
+ updateAnchorOffset(t, e, r) {
1134
+ if (!w(r, e)) {
1134
1135
  d(
1135
- `${e} is not a valid anchor-offset value for ${this.tagName.toLowerCase()}`
1136
+ `"${e}" is not a valid anchor-offset value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join('", "')}".`
1136
1137
  );
1137
1138
  return;
1138
1139
  }
1139
- const r = (i) => {
1140
+ const o = (i) => {
1140
1141
  i !== null && i !== "" && i !== "default" && (this.$el.style.setProperty(
1141
1142
  "--container-anchor-offset--mobile",
1142
1143
  `var(--px-padding-${i}-mobile)`
@@ -1148,19 +1149,19 @@ const pe = [
1148
1149
  `var(--px-padding-${i}-laptop)`
1149
1150
  ));
1150
1151
  };
1151
- r(t), r(e);
1152
+ o(t), o(e);
1152
1153
  }
1153
1154
  addAnchorClass() {
1154
1155
  this.$el.classList.contains("anchored") || this.$el.classList.add("anchored");
1155
1156
  }
1156
- updateAnchorSpacing(t, e, o) {
1157
- if (!$(o, e)) {
1157
+ updateAnchorSpacing(t, e, r) {
1158
+ if (!w(r, e)) {
1158
1159
  d(
1159
- `${e} is not a valid anchor-spacing value for ${this.tagName.toLowerCase()}`
1160
+ `"${e}" is not a valid anchor-spacing value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join('", "')}".`
1160
1161
  );
1161
1162
  return;
1162
1163
  }
1163
- const r = (i) => {
1164
+ const o = (i) => {
1164
1165
  i !== null && i !== "" && i !== "default" && (this.style.setProperty(
1165
1166
  "--container-anchor-spacing--mobile",
1166
1167
  `var(--px-spacing-${i}-mobile)`
@@ -1170,13 +1171,16 @@ const pe = [
1170
1171
  ), this.style.setProperty(
1171
1172
  "--container-anchor-spacing--laptop",
1172
1173
  `var(--px-spacing-${i}-laptop)`
1174
+ ), this.style.setProperty(
1175
+ "--container-anchor-spacing--desktop",
1176
+ `var(--px-spacing-${i}-desktop)`
1173
1177
  ));
1174
1178
  };
1175
- r(t), r(e);
1179
+ o(t), o(e);
1176
1180
  }
1177
- updateSubgridRows(t, e, o, r) {
1178
- $(r, o) ? this.style.setProperty(`--${t}`, o) : d(
1179
- `${o} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
1181
+ updateSubgridRows(t, e, r, o) {
1182
+ w(o, r) ? this.style.setProperty(`--${t}`, r) : d(
1183
+ `"${r}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join('", "')}".`
1180
1184
  );
1181
1185
  }
1182
1186
  get $el() {
@@ -1559,14 +1563,14 @@ const pe = [
1559
1563
  this.setAttribute("subgrid-gap--laptop", t);
1560
1564
  }
1561
1565
  };
1562
- et.nativeName = "div";
1563
- let F = et;
1566
+ ot.nativeName = "div";
1567
+ let F = ot;
1564
1568
  customElements.get("px-container") || customElements.define("px-container", F);
1565
- const wt = new CSSStyleSheet();
1566
- wt.replaceSync(de);
1567
- class he extends HTMLElement {
1569
+ const Tt = new CSSStyleSheet();
1570
+ Tt.replaceSync(le);
1571
+ class ge extends X {
1568
1572
  constructor() {
1569
- super(), this.template = () => `
1573
+ super(Tt), this.template = () => `
1570
1574
  <px-container border-radius="none" padding-inline="none">
1571
1575
  <div class="content-wrapper">
1572
1576
  <px-vstack gap="heading-to-content">
@@ -1580,15 +1584,18 @@ class he extends HTMLElement {
1580
1584
  <div class="content-wrapper">
1581
1585
  <slot name="overlap"></slot>
1582
1586
  </div>
1583
- `, this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = this.template(), this.shadowRoot.adoptedStyleSheets = [wt];
1587
+ `, this.shadowRoot.innerHTML = this.template();
1584
1588
  }
1585
1589
  connectedCallback() {
1586
- this.$container.setAttribute("background-color", this.backgroundColor), this.$slotOverlap && this.shadowRoot.firstElementChild.querySelector(".content-wrapper").classList.add("overlapped");
1587
- const t = this.querySelector('[slot="heading"]');
1588
- !this.paddingBlock && !this.paddingTop && !this.paddingBottom && !this.paddingBlockMobile && !this.paddingTopMobile && !this.paddingBottomMobile && !this.paddingBlockTablet && !this.paddingTopTablet && !this.paddingBottomTablet && !this.paddingBlockLaptop && !this.paddingTopLaptop && !this.paddingBottomLaptop && (this.$container.paddingBlock = "none"), t || this.shadowRoot.querySelector("px-vstack").setAttribute("gap", "none");
1590
+ var t, e;
1591
+ this.$container.setAttribute("background-color", this.backgroundColor), !this.paddingBlock && !this.paddingTop && !this.paddingBottom && !this.paddingBlockMobile && !this.paddingTopMobile && !this.paddingBottomMobile && !this.paddingBlockTablet && !this.paddingTopTablet && !this.paddingBottomTablet && !this.paddingBlockLaptop && !this.paddingTopLaptop && !this.paddingBottomLaptop && (this.$container.paddingBlock = "none"), this.setHeadingSpacing = this.setHeadingSpacing.bind(this), this.setHeadingSpacing(), (t = this.$slotHeading) == null || t.addEventListener("slotchange", this.setHeadingSpacing), this.toggleOverlapSpacing = this.toggleOverlapSpacing.bind(this), this.toggleOverlapSpacing(), (e = this.$slotOverlap) == null || e.addEventListener(
1592
+ "slotchange",
1593
+ this.toggleOverlapSpacing
1594
+ );
1589
1595
  }
1590
1596
  static get observedAttributes() {
1591
1597
  return [
1598
+ ...super.observedAttributes,
1592
1599
  "background-color",
1593
1600
  "background-gradient",
1594
1601
  "background-image",
@@ -1616,92 +1623,139 @@ class he extends HTMLElement {
1616
1623
  "border-side--laptop"
1617
1624
  ];
1618
1625
  }
1619
- get $container() {
1620
- return this.shadowRoot.querySelector("px-container");
1621
- }
1622
- attributeChangedCallback(t, e, o) {
1623
- if (e !== o)
1626
+ attributeChangedCallback(t, e, r) {
1627
+ if (e !== r)
1624
1628
  switch (t) {
1625
1629
  case "background-color":
1626
- this.$container.backgroundColor = lt.indexOf(o) > 0 ? o : "none";
1630
+ this.$container.backgroundColor = P.indexOf(r) > 0 ? r : "none";
1627
1631
  break;
1628
1632
  case "background-gradient":
1629
1633
  this.$container.gradient = this.gradient;
1630
1634
  break;
1631
1635
  case "background-image":
1632
- this.$container.backgroundImage = o;
1636
+ this.$container.backgroundImage = r;
1633
1637
  break;
1634
1638
  case "background-image--mobile":
1635
- this.$container.backgroundImageMobile = o;
1639
+ this.$container.backgroundImageMobile = r;
1636
1640
  break;
1637
1641
  case "background-image--tablet":
1638
- this.$container.backgroundImageTablet = o;
1642
+ this.$container.backgroundImageTablet = r;
1639
1643
  break;
1640
1644
  case "background-image--laptop":
1641
- this.$container.backgroundImageLaptop = o;
1645
+ this.$container.backgroundImageLaptop = r;
1642
1646
  break;
1643
1647
  case "background-size":
1644
- this.$container.backgroundSize = o;
1648
+ this.$container.backgroundSize = r;
1645
1649
  break;
1646
1650
  case "background-position":
1647
- this.$container.backgroundPosition = o;
1651
+ this.$container.backgroundPosition = r;
1648
1652
  break;
1649
1653
  case "padding-block":
1650
- this.$container.paddingBlock = o;
1654
+ this.$container.paddingBlock = r;
1651
1655
  break;
1652
1656
  case "padding-top":
1653
- this.$container.paddingTop = o;
1657
+ this.$container.paddingTop = r;
1654
1658
  break;
1655
1659
  case "padding-bottom":
1656
- this.$container.paddingBottom = o;
1660
+ this.$container.paddingBottom = r;
1657
1661
  break;
1658
1662
  case "padding-block--mobile":
1659
- this.$container.paddingBlockMobile = o;
1663
+ this.$container.paddingBlockMobile = r;
1660
1664
  break;
1661
1665
  case "padding-top--mobile":
1662
- this.$container.paddingTopMobile = o;
1666
+ this.$container.paddingTopMobile = r;
1663
1667
  break;
1664
1668
  case "padding-bottom--mobile":
1665
- this.$container.paddingBottomMobile = o;
1669
+ this.$container.paddingBottomMobile = r;
1666
1670
  break;
1667
1671
  case "padding-block--tablet":
1668
- this.$container.paddingBlockTablet = o;
1672
+ this.$container.paddingBlockTablet = r;
1669
1673
  break;
1670
1674
  case "padding-top--tablet":
1671
- this.$container.paddingTopTablet = o;
1675
+ this.$container.paddingTopTablet = r;
1672
1676
  break;
1673
1677
  case "padding-bottom--tablet":
1674
- this.$container.paddingBottomTablet = o;
1678
+ this.$container.paddingBottomTablet = r;
1675
1679
  break;
1676
1680
  case "padding-block--laptop":
1677
- this.$container.paddingBlockLaptop = o;
1681
+ this.$container.paddingBlockLaptop = r;
1678
1682
  break;
1679
1683
  case "padding-top--laptop":
1680
- this.$container.paddingTopLaptop = o;
1684
+ this.$container.paddingTopLaptop = r;
1681
1685
  break;
1682
1686
  case "padding-bottom--laptop":
1683
- this.$container.paddingBottomLaptop = o;
1687
+ this.$container.paddingBottomLaptop = r;
1684
1688
  break;
1685
1689
  case "border":
1686
- this.$container.border = o;
1690
+ this.$container.border = r;
1687
1691
  break;
1688
1692
  case "border-side":
1689
- this.$container.borderSide = o;
1693
+ this.$container.borderSide = r;
1690
1694
  break;
1691
1695
  case "border-side--mobile":
1692
- this.$container.borderSideMobile = o;
1696
+ this.$container.borderSideMobile = r;
1693
1697
  break;
1694
1698
  case "border-side--tablet":
1695
- this.$container.borderSideTablet = o;
1699
+ this.$container.borderSideTablet = r;
1696
1700
  break;
1697
1701
  case "border-side--laptop":
1698
- this.$container.borderSideLaptop = o;
1702
+ this.$container.borderSideLaptop = r;
1703
+ break;
1704
+ default:
1705
+ super.attributeChangedCallback(t, e, r);
1699
1706
  break;
1700
1707
  }
1701
1708
  }
1709
+ disconnectedCallback() {
1710
+ var t, e;
1711
+ (t = this.$slotHeading) == null || t.removeEventListener(
1712
+ "slotchange",
1713
+ this.setHeadingSpacing
1714
+ ), (e = this.$slotOverlap) == null || e.removeEventListener(
1715
+ "slotchange",
1716
+ this.toggleOverlapSpacing
1717
+ );
1718
+ }
1719
+ toggleOverlapSpacing() {
1720
+ const t = this.$slotOverlap, e = this.$mainContentWrapper;
1721
+ if (!t || !e) return;
1722
+ const o = t.assignedNodes({ flatten: !0 }).some(this.isNotEmptyNode);
1723
+ e.classList.toggle("overlapped", o);
1724
+ }
1725
+ isNotEmptyNode(t) {
1726
+ return t.nodeType === Node.ELEMENT_NODE ? !0 : t.nodeType === Node.TEXT_NODE ? (t.textContent ?? "").trim().length > 0 : !1;
1727
+ }
1728
+ setHeadingSpacing() {
1729
+ var r;
1730
+ const t = this.$slotHeading, e = (r = this.shadowRoot) == null ? void 0 : r.querySelector("px-vstack");
1731
+ t && e && (t.assignedElements().length > 0 ? e.setAttribute("gap", "heading-to-content") : e.setAttribute("gap", "none"));
1732
+ }
1733
+ get $container() {
1734
+ var t;
1735
+ return (t = this.shadowRoot) == null ? void 0 : t.querySelector("px-container");
1736
+ }
1737
+ get $mainContentWrapper() {
1738
+ var t;
1739
+ return (t = this.$container) == null ? void 0 : t.querySelector(".content-wrapper");
1740
+ }
1702
1741
  get $slotOverlap() {
1742
+ var t;
1743
+ return (t = this.shadowRoot) == null ? void 0 : t.querySelector(
1744
+ 'slot[name="overlap"]'
1745
+ );
1746
+ }
1747
+ get $slottedOverlap() {
1703
1748
  return this.querySelector('[slot="overlap"]');
1704
1749
  }
1750
+ get $slotHeading() {
1751
+ var t;
1752
+ return (t = this.shadowRoot) == null ? void 0 : t.querySelector(
1753
+ 'slot[name="heading"]'
1754
+ );
1755
+ }
1756
+ get $slottedHeading() {
1757
+ return this.querySelector('[slot="heading"]');
1758
+ }
1705
1759
  get backgroundColor() {
1706
1760
  return this.getAttribute("background-color") || "none";
1707
1761
  }
@@ -1853,14 +1907,14 @@ class he extends HTMLElement {
1853
1907
  this.setAttribute("border-side--laptop", t);
1854
1908
  }
1855
1909
  }
1856
- customElements.get("px-section") || customElements.define("px-section", he);
1857
- const ge = "p,::slotted(p){font-family:var(--px-font-family);color:var(--px-color-text-neutral-default);font-size:var(--px-text-size-body-m-mobile);font-weight:var(--px-font-weight-body);line-height:var(--px-line-height-ratio-l);margin:0}::slotted(p){margin-bottom:var(--px-spacing-xs-mobile)}.text-align-left{text-align:left}.text-align-center{text-align:center}.text-align-right{text-align:right}:host([inverted]) p,:host([inverted]) ::slotted(p){color:var(--px-color-text-neutral-inverted)}@media only screen and (max-width: 768px){.text-align-left--mobile{text-align:left}.text-align-center--mobile{text-align:center}.text-align-right--mobile{text-align:right}}@media only screen and (min-width: 768px){p,::slotted(p){font-size:var(--px-text-size-body-m-desktop)}::slotted(p){margin-bottom:var(--px-spacing-xs-tablet)}.text-align-left--tablet{text-align:left}.text-align-center--tablet{text-align:center}.text-align-right--tablet{text-align:right}}@media only screen and (min-width: 1025px){p,::slotted(p){font-size:var(--px-text-size-body-m-desktop)}::slotted(p){margin-bottom:var(--px-spacing-xs-laptop)}.text-align-left--laptop{text-align:left}.text-align-center--laptop{text-align:center}.text-align-right--laptop{text-align:right}}@media only screen and (min-width: 90.0625em){::slotted(p){margin-bottom:var(--px-spacing-xs-desktop)}}", St = new CSSStyleSheet(), Ct = new CSSStyleSheet(), Lt = new CSSStyleSheet();
1858
- St.replaceSync(ge);
1859
- Ct.replaceSync(Z);
1860
- Lt.replaceSync(kt);
1861
- const ot = class ot extends w {
1910
+ customElements.get("px-section") || customElements.define("px-section", ge);
1911
+ const ue = "p,::slotted(p){font-family:var(--px-font-family);color:var(--px-color-text-neutral-default);font-size:var(--px-text-size-body-m-mobile);font-weight:var(--px-font-weight-body);line-height:var(--px-line-height-ratio-l);margin:0}::slotted(p){margin-bottom:var(--px-spacing-xs-mobile)}.text-align-left{text-align:left}.text-align-center{text-align:center}.text-align-right{text-align:right}:host([inverted]) p,:host([inverted]) ::slotted(p){color:var(--px-color-text-neutral-inverted)}@media screen and (max-width: 47.938rem){.text-align-left--mobile{text-align:left}.text-align-center--mobile{text-align:center}.text-align-right--mobile{text-align:right}}@media screen and (min-width: 48rem){p,::slotted(p){font-size:var(--px-text-size-body-m-tablet)}::slotted(p){margin-bottom:var(--px-spacing-xs-tablet)}.text-align-left--tablet{text-align:left}.text-align-center--tablet{text-align:center}.text-align-right--tablet{text-align:right}}@media screen and (min-width: 64.0625rem){p,::slotted(p){font-size:var(--px-text-size-body-m-laptop)}::slotted(p){margin-bottom:var(--px-spacing-xs-laptop)}.text-align-left--laptop{text-align:left}.text-align-center--laptop{text-align:center}.text-align-right--laptop{text-align:right}}@media screen and (min-width: 90.0625rem){::slotted(p){margin-bottom:var(--px-spacing-xs-desktop)}}", Et = new CSSStyleSheet(), Bt = new CSSStyleSheet(), Mt = new CSSStyleSheet();
1912
+ Et.replaceSync(ue);
1913
+ Bt.replaceSync(K);
1914
+ Mt.replaceSync(wt);
1915
+ const it = class it extends $ {
1862
1916
  constructor() {
1863
- super(Ct, Lt, St), this.template = "<p><slot></slot></p>", this.shadowRoot.innerHTML = this.template;
1917
+ super(Bt, Mt, Et), this.template = "<p><slot></slot></p>", this.shadowRoot.innerHTML = this.template;
1864
1918
  }
1865
1919
  static get observedAttributes() {
1866
1920
  return [
@@ -1877,64 +1931,64 @@ const ot = class ot extends w {
1877
1931
  "disabled"
1878
1932
  ];
1879
1933
  }
1880
- attributeChangedCallback(t, e, o) {
1881
- if (e !== o)
1934
+ attributeChangedCallback(t, e, r) {
1935
+ if (e !== r)
1882
1936
  switch (t) {
1883
1937
  case "variant":
1884
- this.updateVariant(t, e, o, dt);
1938
+ this.updateVariant(t, e, r, ht);
1885
1939
  break;
1886
1940
  case "color":
1887
- this.updateTypography(t, e, o, Y);
1941
+ this.updateTypography(t, e, r, Z);
1888
1942
  break;
1889
1943
  case "font-size":
1890
- this.updateTypography(t, e, o, bt);
1944
+ this.updateTypography(t, e, r, ut);
1891
1945
  break;
1892
1946
  case "font-weight":
1893
- this.updateTypography(t, e, o, pt);
1947
+ this.updateTypography(t, e, r, gt);
1894
1948
  break;
1895
1949
  case "text-align":
1896
1950
  case "text-align--mobile":
1897
1951
  case "text-align--tablet":
1898
1952
  case "text-align--laptop":
1899
- this.updateTypography(t, e, o, nt);
1953
+ this.updateTypography(t, e, r, ct);
1900
1954
  break;
1901
1955
  case "disabled":
1902
1956
  this.color = "state-disabled";
1903
1957
  break;
1904
1958
  default:
1905
- super.attributeChangedCallback(t, e, o);
1959
+ super.attributeChangedCallback(t, e, r);
1906
1960
  break;
1907
1961
  }
1908
1962
  }
1909
1963
  toggleClass(t, e) {
1910
1964
  t !== null && t !== "" && t !== "default" && this.$el.classList.toggle(`style-${t}`), e !== null && e !== "" && e !== "default" && this.$el.classList.toggle(`style-${e}`);
1911
1965
  }
1912
- updateVariant(t, e, o, r) {
1913
- this.checkName(r, o) ? this.toggleClass(e, o) : d(
1914
- `${o} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
1966
+ updateVariant(t, e, r, o) {
1967
+ this.checkName(o, r) ? this.toggleClass(e, r) : d(
1968
+ `"${r}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join('", "')}".`
1915
1969
  );
1916
1970
  }
1917
- updateTypography(t, e, o, r) {
1918
- if (!this.checkName(r, o))
1971
+ updateTypography(t, e, r, o) {
1972
+ if (!this.checkName(o, r))
1919
1973
  d(
1920
- `${o} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
1974
+ `"${r}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join('", "')}".`
1921
1975
  );
1922
1976
  else {
1923
1977
  const i = this.splitAttrNameFromBreakpoint(t), a = i.breakpoint;
1924
1978
  e !== null && e !== "" && this.$el.classList.toggle(
1925
1979
  `${i.attrName}-${e}${a}`
1926
- ), o !== null && o !== "" && this.$el.classList.toggle(
1927
- `${i.attrName}-${o}${a}`
1980
+ ), r !== null && r !== "" && this.$el.classList.toggle(
1981
+ `${i.attrName}-${r}${a}`
1928
1982
  );
1929
1983
  }
1930
1984
  }
1931
1985
  splitAttrNameFromBreakpoint(t) {
1932
1986
  let e = "";
1933
1987
  if (["--mobile", "--tablet", "--laptop"].some(
1934
- (o) => t.includes(o)
1988
+ (r) => t.includes(r)
1935
1989
  )) {
1936
- const o = t.split("--");
1937
- t = o[0], e = `--${o[1]}`;
1990
+ const r = t.split("--");
1991
+ t = r[0], e = `--${r[1]}`;
1938
1992
  }
1939
1993
  return { attrName: t, breakpoint: e };
1940
1994
  }
@@ -1999,10 +2053,10 @@ const ot = class ot extends w {
1999
2053
  this.setAttribute("disabled", t);
2000
2054
  }
2001
2055
  };
2002
- ot.nativeName = "p";
2003
- let G = ot;
2056
+ it.nativeName = "p";
2057
+ let G = it;
2004
2058
  customElements.get("px-p") || customElements.define("px-p", G);
2005
- class ue extends HTMLElement {
2059
+ class xe extends HTMLElement {
2006
2060
  constructor() {
2007
2061
  super(), this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = `
2008
2062
  <button aria-hidden="true" style="width: 0; height: 0; border: 0; background-color: #00000000;"></button>
@@ -2016,11 +2070,11 @@ class ue extends HTMLElement {
2016
2070
  });
2017
2071
  }
2018
2072
  }
2019
- customElements.get("px-mdd-closer") || customElements.define("px-mdd-closer", ue);
2020
- const xe = ":host{--mdd-dialog-offset-top: 0}dialog{border:none;width:100%;margin-inline:0;margin-top:var(--mdd-dialog-offset-top);max-width:100%;max-height:100%;background-color:var(--px-color-background-surface-default)}@keyframes slide-left-fade-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}dialog::backdrop{background-color:#0000}@media screen and (max-height: 285px){dialog #footer{position:static}dialog::backdrop{background-color:#0006}}@media screen and (max-width: 767px){dialog{height:100dvh;margin:0;padding:0;animation:slide-left-fade-in .3s ease-in-out}px-container{height:100dvh}px-container>px-vstack>px-button-icon{position:initial;display:none;right:0}px-container>px-vstack>px-mdd-closer{display:none}dialog::backdrop{background-color:var(--px-color-background-surface-default)}}px-container{position:relative}px-container>px-vstack>px-button-icon{position:absolute;top:2em;right:1em}#sections-container{overflow:auto}@media only screen and (min-width: 48em){#sections-container{padding-bottom:0}}#mobile-header{display:none}@media screen and (max-width: 767px){#mobile-header{display:block;padding-bottom:2em}}px-p{display:none}@media screen and (max-width: 767px){px-p{display:block;padding-bottom:2em}}#footer{display:none}@media screen and (max-width: 767px){#footer{display:block;position:absolute;bottom:0;left:0;right:0;padding:var(--px-padding-s-mobile);background-color:var(--px-color-background-container-light-default)}}", Tt = new CSSStyleSheet();
2021
- Tt.replaceSync(xe);
2022
- var y, p, N, Et, S, Bt;
2023
- class ve extends HTMLElement {
2073
+ customElements.get("px-mdd-closer") || customElements.define("px-mdd-closer", xe);
2074
+ const ve = ":host{--mdd-dialog-offset-top: 0}dialog{border:none;width:100%;margin-inline:0;margin-top:var(--mdd-dialog-offset-top);max-width:100%;max-height:100%;background-color:var(--px-color-background-surface-default)}@keyframes slide-left-fade-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}dialog::backdrop{background-color:#0000}@media screen and (max-height: 17.813rem){dialog #footer{position:static}dialog::backdrop{background-color:#0006}}@media screen and (max-width: 47.9375rem){dialog{height:100dvh;margin:0;padding:0;animation:slide-left-fade-in .3s ease-in-out}px-container{height:100dvh}px-container>px-vstack>px-button-icon{position:initial;display:none;right:0}px-container>px-vstack>px-mdd-closer{display:none}dialog::backdrop{background-color:var(--px-color-background-surface-default)}}px-container{position:relative}px-container>px-vstack>px-button-icon{position:absolute;top:32px;right:16px}#sections-container{overflow:auto}@media screen and (min-width: 48rem){#sections-container{padding-bottom:0}}#mobile-header{display:none}@media screen and (max-width: 47.9375rem){#mobile-header{display:block;padding-bottom:32px}}px-p{display:none}@media screen and (max-width: 47.9375rem){px-p{display:block;padding-bottom:32px}}#footer{display:none}@media screen and (max-width: 47.9375rem){#footer{display:block;position:absolute;bottom:0;left:0;right:0;padding:var(--px-padding-s-mobile);background-color:var(--px-color-background-container-light-default)}}", Rt = new CSSStyleSheet();
2075
+ Rt.replaceSync(ve);
2076
+ var y, p, Y, It, S, jt;
2077
+ class me extends HTMLElement {
2024
2078
  constructor() {
2025
2079
  var e;
2026
2080
  super();
@@ -2082,21 +2136,21 @@ class ve extends HTMLElement {
2082
2136
  <slot name="mdd-footer"></slot>
2083
2137
  </px-hstack>
2084
2138
  </px-section>
2085
- </dialog>`, this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = this.template, this.shadowRoot.adoptedStyleSheets = [Tt], this.internals = (e = this.attachInternals) == null ? void 0 : e.call(this), this.role = "menu", this.internals && (this.internals.role = "menu");
2139
+ </dialog>`, this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = this.template, this.shadowRoot.adoptedStyleSheets = [Rt], this.internals = (e = this.attachInternals) == null ? void 0 : e.call(this), this.internals && (this.internals.role = "menu");
2086
2140
  }
2087
2141
  static get observedAttributes() {
2088
2142
  return ["hidden", "name", "close-button-aria-label", "back-to-menu-label"];
2089
2143
  }
2090
2144
  connectedCallback() {
2091
- var e, o;
2092
- if (this.querySelectorAll("px-mdd-section").length === 0)
2145
+ var e, r;
2146
+ if (this.role = "menu", this.querySelectorAll("px-mdd-section").length === 0)
2093
2147
  throw new Error("HeaderPanel must contain at least one MenuSection");
2094
- this.hidden = !0, this.internals && (this.internals.ariaHidden = "true"), this.ariaHidden = "true", this.setAttribute("slot", "header-panels"), this.shadowRoot.addEventListener("click", (r) => {
2095
- if (r.target.closest("px-button-icon"))
2148
+ this.hidden = !0, this.internals && (this.internals.ariaHidden = "true"), this.ariaHidden = "true", this.setAttribute("slot", "header-panels"), this.shadowRoot.addEventListener("click", (o) => {
2149
+ if (o.target.closest("px-button-icon"))
2096
2150
  this.dispatchEvent(
2097
2151
  new CustomEvent("close-panel", { bubbles: !0, composed: !0 })
2098
2152
  );
2099
- else if (r.target.closest("#back-button")) {
2153
+ else if (o.target.closest("#back-button")) {
2100
2154
  const i = new CustomEvent("back-to-mobile-menu", {
2101
2155
  bubbles: !0,
2102
2156
  composed: !0
@@ -2105,30 +2159,30 @@ class ve extends HTMLElement {
2105
2159
  }
2106
2160
  }), this.$dialog.addEventListener("cancel", () => {
2107
2161
  this.dispatchEvent(new CustomEvent("close-panel", { bubbles: !0 }));
2108
- }), this.$dialog.addEventListener("click", (r) => {
2109
- r.target === this.$dialog && this.dispatchEvent(
2162
+ }), this.$dialog.addEventListener("click", (o) => {
2163
+ o.target === this.$dialog && this.dispatchEvent(
2110
2164
  new CustomEvent("close-panel-from-dialog", {
2111
2165
  bubbles: !0,
2112
2166
  detail: {
2113
- clientX: r.clientX,
2114
- clientY: r.clientY
2167
+ clientX: o.clientX,
2168
+ clientY: o.clientY
2115
2169
  }
2116
2170
  })
2117
2171
  );
2118
- }), this.getAttribute("name") === "__lavender_mobile_menu" && (n(this, p, N).style.visibility = "hidden"), this.getAttribute("name") !== "__lavender_mobile_menu" && (n(this, p, Et).innerText = ((o = (e = this.closest("px-header")) == null ? void 0 : e.querySelector(
2172
+ }), this.getAttribute("name") === "__lavender_mobile_menu" && (n(this, p, Y).style.visibility = "hidden"), this.getAttribute("name") !== "__lavender_mobile_menu" && (n(this, p, It).innerText = ((r = (e = this.closest("px-header")) == null ? void 0 : e.querySelector(
2119
2173
  `px-header-item[for="${this.getAttribute("name")}"]`
2120
- )) == null ? void 0 : o.innerText) ?? ""), this.$slotMddFooter || (n(this, p, S).style.display = "none"), k(this, y, new MutationObserver(() => {
2174
+ )) == null ? void 0 : r.innerText) ?? ""), this.$slotMddFooter || (n(this, p, S).style.display = "none"), k(this, y, new MutationObserver(() => {
2121
2175
  this.$slotMddFooter && (n(this, p, S).style.display = "block");
2122
2176
  })), n(this, y).observe(this, { childList: !0, subtree: !0 });
2123
2177
  }
2124
2178
  disconnectedCallback() {
2125
2179
  n(this, y).disconnect();
2126
2180
  }
2127
- attributeChangedCallback(e, o, r) {
2128
- if (e === "name" && !r)
2181
+ attributeChangedCallback(e, r, o) {
2182
+ if (e === "name" && !o)
2129
2183
  throw new Error("Media Drop Down must have a name attribute");
2130
- if (e === "name" && (this.id = r), e === "hidden" && this.internals) {
2131
- const i = r === "true" || r === "" ? "true" : "false";
2184
+ if (e === "name" && (this.id = o), e === "hidden" && this.internals) {
2185
+ const i = o === "true" || o === "" ? "true" : "false";
2132
2186
  this.internals.ariaHidden = i, this.ariaHidden = i;
2133
2187
  const l = n(this, p, S).offsetHeight / parseFloat(getComputedStyle(document.documentElement).fontSize);
2134
2188
  this.style.setProperty(
@@ -2136,11 +2190,11 @@ class ve extends HTMLElement {
2136
2190
  `${l}em`
2137
2191
  );
2138
2192
  }
2139
- e === "close-button-aria-label" && n(this, p, Bt).forEach((i) => {
2140
- r ? i.setAttribute("aria-label", r || "Close") : i.removeAttribute("aria-label");
2141
- }), e === "back-to-menu-label" && (n(this, p, N).innerHTML = `
2193
+ e === "close-button-aria-label" && n(this, p, jt).forEach((i) => {
2194
+ o ? i.setAttribute("aria-label", o || "Close") : i.removeAttribute("aria-label");
2195
+ }), e === "back-to-menu-label" && (n(this, p, Y).innerHTML = `
2142
2196
  <px-icon name="chevron_left" from="lavender"></px-icon>
2143
- ${r || "Back to menu"}
2197
+ ${o || "Back to menu"}
2144
2198
  `);
2145
2199
  }
2146
2200
  get $dialog() {
@@ -2181,19 +2235,19 @@ class ve extends HTMLElement {
2181
2235
  this.$dialog.style.setProperty("--mdd-dialog-offset-top", e);
2182
2236
  }
2183
2237
  }
2184
- y = new WeakMap(), p = new WeakSet(), N = function() {
2238
+ y = new WeakMap(), p = new WeakSet(), Y = function() {
2185
2239
  return this.shadowRoot.querySelector("#back-button");
2186
- }, Et = function() {
2240
+ }, It = function() {
2187
2241
  return this.shadowRoot.querySelector("px-p");
2188
2242
  }, S = function() {
2189
2243
  return this.shadowRoot.querySelector("#footer");
2190
- }, Bt = function() {
2244
+ }, jt = function() {
2191
2245
  return this.shadowRoot.querySelectorAll("px-button-icon");
2192
2246
  };
2193
- customElements.get("px-mdd") || customElements.define("px-mdd", ve);
2194
- const fe = ':host{flex-basis:25%}@media screen and (max-width: 767px){:host{width:100%;flex-basis:100%}#section-wrapper{background-color:#fff;border-radius:.5em;padding-inline:1em}::slotted(px-mdd-section-item){border-bottom:var(--px-size-border-m) solid var(--px-color-border-main-default)}::slotted(px-mdd-section-item:last-of-type){border-bottom:none}::slotted([slot="footer"]){background-color:#fff;border-radius:.5em;padding-inline:1em;line-height:4em}:host([title-hidden]){padding-bottom:var(--mdd-section-container-padding-bottom, 0)}}', Mt = new CSSStyleSheet();
2195
- Mt.replaceSync(fe);
2196
- class me extends HTMLElement {
2247
+ customElements.get("px-mdd") || customElements.define("px-mdd", me);
2248
+ const fe = ':host{flex-basis:25%}@media screen and (max-width: 47.9375rem){:host{width:100%;flex-basis:100%}#section-wrapper{background-color:#fff;border-radius:8px;padding-inline:16px}::slotted(px-mdd-section-item){border-bottom:var(--px-size-border-m) solid var(--px-color-border-main-default)}::slotted(px-mdd-section-item:last-of-type){border-bottom:none}::slotted([slot="footer"]){background-color:#fff;border-radius:8px;padding-inline:16px;line-height:4rem}:host([title-hidden]){padding-bottom:var(--mdd-section-container-padding-bottom, 0)}}', Pt = new CSSStyleSheet();
2249
+ Pt.replaceSync(fe);
2250
+ class ke extends HTMLElement {
2197
2251
  constructor() {
2198
2252
  super(), this.template = `<px-vstack gap="default">
2199
2253
  <px-p font-size="heading-l" font-weight="title">
@@ -2207,7 +2261,7 @@ class me extends HTMLElement {
2207
2261
  <px-vstack gap="default" gap--mobile="default">
2208
2262
  <slot name="footer"></slot>
2209
2263
  </px-vstack>
2210
- </px-vstack>`, this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = this.template, this.shadowRoot.adoptedStyleSheets = [Mt];
2264
+ </px-vstack>`, this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = this.template, this.shadowRoot.adoptedStyleSheets = [Pt];
2211
2265
  }
2212
2266
  connectedCallback() {
2213
2267
  this.$slotTitle || this.$title.setAttribute("hidden", ""), this.setupForId();
@@ -2215,11 +2269,11 @@ class me extends HTMLElement {
2215
2269
  static get observedAttributes() {
2216
2270
  return ["title-hidden"];
2217
2271
  }
2218
- attributeChangedCallback(t, e, o) {
2219
- if (e !== o)
2272
+ attributeChangedCallback(t, e, r) {
2273
+ if (e !== r)
2220
2274
  switch (t) {
2221
2275
  case "title-hidden":
2222
- this.$title.style.display = o !== null ? "none" : "block";
2276
+ this.$title.style.display = r !== null ? "none" : "block";
2223
2277
  break;
2224
2278
  }
2225
2279
  }
@@ -2246,12 +2300,12 @@ class me extends HTMLElement {
2246
2300
  t ? this.setAttribute("hidden-title", "") : this.removeAttribute("hidden-title");
2247
2301
  }
2248
2302
  }
2249
- customElements.get("px-mdd-section") || customElements.define("px-mdd-section", me);
2250
- const Rt = new CSSStyleSheet(), It = new CSSStyleSheet(), Pt = new CSSStyleSheet();
2251
- Rt.replaceSync(ht);
2252
- It.replaceSync(ct);
2253
- Pt.replaceSync(Z);
2254
- const ke = [...bt, "link-m", "link-s"], ye = [
2303
+ customElements.get("px-mdd-section") || customElements.define("px-mdd-section", ke);
2304
+ const Ht = new CSSStyleSheet(), Ot = new CSSStyleSheet(), qt = new CSSStyleSheet();
2305
+ Ht.replaceSync(vt);
2306
+ Ot.replaceSync(xt);
2307
+ qt.replaceSync(K);
2308
+ const ye = [...ut, "link-m", "link-s"], lt = [
2255
2309
  "link",
2256
2310
  "no-style",
2257
2311
  "skip-link",
@@ -2259,9 +2313,9 @@ const ke = [...bt, "link-m", "link-s"], ye = [
2259
2313
  "btn-secondary",
2260
2314
  "btn-tertiary",
2261
2315
  "icon-link"
2262
- ], Ae = ["", "default", "alternative"], M = class M extends w {
2316
+ ], Ae = ["", "default", "alternative"], M = class M extends $ {
2263
2317
  constructor() {
2264
- super(Rt, It, Pt), this.template = () => '<slot name="before"></slot><slot></slot><slot name="after"></slot>';
2318
+ super(Ht, Ot, qt), this.template = () => '<slot name="before"></slot><slot></slot><slot name="after"></slot>';
2265
2319
  const t = document.createElement(M.nativeName);
2266
2320
  t.innerHTML = this.template(), this.shadowRoot.appendChild(t);
2267
2321
  }
@@ -2288,86 +2342,86 @@ const ke = [...bt, "link-m", "link-s"], ye = [
2288
2342
  ];
2289
2343
  }
2290
2344
  connectedCallback() {
2291
- this.$before && this.$before.localName === "px-icon" && this.configureBeforeAfterIcon(this.$before), this.$after && this.$after.localName === "px-icon" && this.configureBeforeAfterIcon(this.$after), it(this, this.$el, !1);
2345
+ this.$before && this.$before.localName === "px-icon" && this.configureBeforeAfterIcon(this.$before), this.$after && this.$after.localName === "px-icon" && this.configureBeforeAfterIcon(this.$after), pt(this, this.$el, !1);
2292
2346
  }
2293
2347
  disconnectedCallback() {
2294
2348
  }
2295
- attributeChangedCallback(t, e, o) {
2296
- if (e !== o)
2349
+ attributeChangedCallback(t, e, r) {
2350
+ if (e !== r)
2297
2351
  switch (t) {
2298
2352
  case "disabled":
2299
- this.$el.toggleAttribute("aria-disabled"), o !== null && this.$el.setAttribute("aria-disabled", "true");
2353
+ this.$el.toggleAttribute("aria-disabled"), r !== null && this.$el.setAttribute("aria-disabled", "true");
2300
2354
  break;
2301
2355
  case "variant":
2302
- this.updateVariant(e, o);
2356
+ this.updateVariant(e, r);
2303
2357
  break;
2304
2358
  case "shape":
2305
2359
  case "shape--mobile":
2306
2360
  case "shape--tablet":
2307
2361
  case "shape--laptop":
2308
2362
  case "shape--desktop":
2309
- this.updateShape(t, o, Ae);
2363
+ this.updateShape(t, r, Ae);
2310
2364
  break;
2311
2365
  case "extended":
2312
2366
  case "extended--mobile":
2313
2367
  case "extended--tablet":
2314
2368
  case "extended--laptop":
2315
2369
  case "extended--desktop":
2316
- this.updateExtended(t, o);
2370
+ this.updateExtended(t, r);
2317
2371
  break;
2318
2372
  case "font-size":
2319
2373
  this.updateTypography(
2320
2374
  t,
2321
2375
  e,
2322
- o,
2323
- ke
2376
+ r,
2377
+ ye
2324
2378
  );
2325
2379
  break;
2326
2380
  case "color":
2327
- this.updateTypography(t, e, o, Y);
2381
+ this.updateTypography(t, e, r, Z);
2328
2382
  break;
2329
2383
  case "font-weight":
2330
- this.updateTypography(t, e, o, pt);
2384
+ this.updateTypography(t, e, r, gt);
2331
2385
  break;
2332
2386
  case "title":
2333
- o && (this.$el.setAttribute("title", o), this.removeAttribute("title"));
2387
+ r && (this.$el.setAttribute("title", r), this.removeAttribute("title"));
2334
2388
  break;
2335
2389
  default:
2336
- super.attributeChangedCallback(t, e, o);
2390
+ super.attributeChangedCallback(t, e, r);
2337
2391
  break;
2338
2392
  }
2339
2393
  }
2340
2394
  configureBeforeAfterIcon(t) {
2341
- const e = t.getAttribute("size"), o = t.getAttribute("color");
2395
+ const e = t.getAttribute("size"), r = t.getAttribute("color");
2342
2396
  t.addEventListener("click", () => {
2343
2397
  this.$el.focus();
2344
- }), e || t.setAttribute("size", "xs"), o || t.setAttribute("color", "inherit");
2398
+ }), e || t.setAttribute("size", "xs"), r || t.setAttribute("color", "inherit");
2345
2399
  }
2346
2400
  _toggleClassList(t) {
2347
2401
  if (t.startsWith("btn-")) {
2348
2402
  const e = t.split("-");
2349
- for (const o of e)
2350
- this.$el.classList.toggle(o);
2403
+ for (const r of e)
2404
+ this.$el.classList.toggle(r);
2351
2405
  } else
2352
2406
  this.$el.classList.toggle(t);
2353
2407
  }
2354
2408
  updateVariant(t, e) {
2355
- t !== null && t !== "" && t !== "link" && this._toggleClassList(t), e !== null && e !== "" && e !== "link" && this._toggleClassList(e), this.checkName(ye, e) || d(
2356
- `${e} is not an allowed variant value for ${this.tagName.toLowerCase()}`
2409
+ t !== null && t !== "" && t !== "link" && this._toggleClassList(t), e !== null && e !== "" && e !== "link" && this._toggleClassList(e), this.checkName(lt, e) || d(
2410
+ `"${e}" is not a valid variant value for ${this.tagName.toLowerCase()}. Allowed values are: "${lt.join('", "')}".`
2357
2411
  ), e === "icon-link" && this.$iconNotBeforeAfter.setAttribute("color", "inherit");
2358
2412
  }
2359
- updateShape(t, e, o) {
2360
- if (!$(o, e)) {
2413
+ updateShape(t, e, r) {
2414
+ if (!w(r, e)) {
2361
2415
  d(
2362
- `${e} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
2416
+ `"${e}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join('", "')}".`
2363
2417
  );
2364
2418
  return;
2365
2419
  }
2366
2420
  e !== null && e !== "" && this.$el.setAttribute(t, e);
2367
2421
  }
2368
- updateTypography(t, e, o, r) {
2369
- e !== null && e !== "" && e !== "default" && this.$el.classList.toggle(`${t}-${e}`), o !== null && o !== "" && o !== "default" && this.$el.classList.toggle(`${t}-${o}`), this.checkName(r, o) || d(
2370
- `${o} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
2422
+ updateTypography(t, e, r, o) {
2423
+ e !== null && e !== "" && e !== "default" && this.$el.classList.toggle(`${t}-${e}`), r !== null && r !== "" && r !== "default" && this.$el.classList.toggle(`${t}-${r}`), this.checkName(o, r) || d(
2424
+ `"${r}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join('", "')}".`
2371
2425
  );
2372
2426
  }
2373
2427
  updateExtended(t, e) {
@@ -2490,43 +2544,43 @@ const ke = [...bt, "link-m", "link-s"], ye = [
2490
2544
  M.nativeName = "a";
2491
2545
  let L = M;
2492
2546
  customElements.get("px-a") || customElements.define("px-a", L);
2493
- var m, R, qt;
2547
+ var f, R, Dt;
2494
2548
  class ze extends L {
2495
2549
  constructor() {
2496
2550
  super();
2497
2551
  c(this, R);
2498
- c(this, m);
2499
- this.$el.classList.add("wrapper"), k(this, m, new at(
2552
+ c(this, f);
2553
+ this.$el.classList.add("wrapper"), k(this, f, new bt(
2500
2554
  this,
2501
2555
  this.$el,
2502
- () => P(this, R, qt).call(this)
2556
+ () => j(this, R, Dt).call(this)
2503
2557
  ));
2504
2558
  }
2505
2559
  connectedCallback() {
2506
- super.connectedCallback(), n(this, m).connect();
2560
+ super.connectedCallback(), n(this, f).connect();
2507
2561
  }
2508
2562
  disconnectedCallback() {
2509
- super.disconnectedCallback(), n(this, m).disconnect();
2563
+ super.disconnectedCallback(), n(this, f).disconnect();
2510
2564
  }
2511
- attributeChangedCallback(e, o, r) {
2512
- if (o !== r)
2565
+ attributeChangedCallback(e, r, o) {
2566
+ if (r !== o)
2513
2567
  switch (e) {
2514
2568
  case "disabled":
2515
- super.attributeChangedCallback(e, o, r), r !== null && n(this, m).clearInteractiveState();
2569
+ super.attributeChangedCallback(e, r, o), o !== null && n(this, f).clearInteractiveState();
2516
2570
  break;
2517
2571
  default:
2518
- super.attributeChangedCallback(e, o, r);
2572
+ super.attributeChangedCallback(e, r, o);
2519
2573
  break;
2520
2574
  }
2521
2575
  }
2522
2576
  }
2523
- m = new WeakMap(), R = new WeakSet(), qt = function() {
2577
+ f = new WeakMap(), R = new WeakSet(), Dt = function() {
2524
2578
  return !this.hasAttribute("disabled") && this.$el.getAttribute("aria-disabled") !== "true";
2525
2579
  };
2526
2580
  customElements.get("px-a-wrapper") || customElements.define("px-a-wrapper", ze);
2527
- const $e = '.mdd-section-item-action-container{display:inline-flex;align-items:center}a{text-decoration:none;color:inherit;font-size:var(--px-text-size-label-l-mobile)}a ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-mobile)}a:hover{text-decoration:underline;color:var(--px-color-text-state-hover-default)}button{background:none;border:none;padding:0;margin:0;cursor:pointer;font:inherit;color:inherit;width:100%}a,button{display:block}a:focus-visible,button:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}@media only screen and (max-width: 47.9375em){a,button{padding:var(--px-spacing-s-mobile) 0}}@media only screen and (min-width: 48em){a{display:inline-block;font-size:var(--px-text-size-label-l-tablet)}a ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-tablet)}a:focus-visible,button:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}}@media only screen and (min-width: 64.0625em){a{font-size:var(--px-text-size-label-l-laptop)}a ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-laptop)}a:focus-visible,button:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}}@media only screen and (min-width: 90.0625em){a{font-size:var(--px-text-size-label-l-desktop)}a ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-desktop)}a:focus-visible,button:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}}', Dt = new CSSStyleSheet();
2528
- Dt.replaceSync($e);
2529
- class we extends HTMLElement {
2581
+ const we = '.mdd-section-item-action-container{display:inline-flex;align-items:center}a{text-decoration:none;color:inherit;font-size:var(--px-text-size-label-l-mobile)}a ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-mobile)}a:hover{text-decoration:underline;color:var(--px-color-text-state-hover-default)}button{background:none;border:none;padding:0;margin:0;cursor:pointer;font:inherit;color:inherit;width:100%}a,button{display:block}a:focus-visible,button:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}@media screen and (max-width: 47.9375rem){a,button{padding:var(--px-spacing-s-mobile) 0}}@media screen and (min-width: 48rem){a{display:inline-block;font-size:var(--px-text-size-label-l-tablet)}a ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-tablet)}a:focus-visible,button:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}}@media screen and (min-width: 64.0625rem){a{font-size:var(--px-text-size-label-l-laptop)}a ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-laptop)}a:focus-visible,button:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}}@media screen and (min-width: 90.0625rem){a{font-size:var(--px-text-size-label-l-desktop)}a ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-desktop)}a:focus-visible,button:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}}', Nt = new CSSStyleSheet();
2582
+ Nt.replaceSync(we);
2583
+ class $e extends HTMLElement {
2530
2584
  constructor() {
2531
2585
  var t;
2532
2586
  super(), this.template = `
@@ -2537,20 +2591,20 @@ class we extends HTMLElement {
2537
2591
  </span>
2538
2592
  <px-spacer></px-spacer>
2539
2593
  <px-icon name="chevron_right" from="lavender"></px-icon>
2540
- </px-hstack>`, this.attachShadow({ mode: "open" }), this.shadowRoot.adoptedStyleSheets = [Dt], this.internals = (t = this.attachInternals) == null ? void 0 : t.call(this), this.role = "listitem", this.internals && (this.internals.role = "listitem");
2594
+ </px-hstack>`, this.attachShadow({ mode: "open" }), this.shadowRoot.adoptedStyleSheets = [Nt], this.internals = (t = this.attachInternals) == null ? void 0 : t.call(this), this.internals && (this.internals.role = "listitem");
2541
2595
  }
2542
2596
  static get observedAttributes() {
2543
2597
  return ["href", "for"];
2544
2598
  }
2545
2599
  // ... existing code ...
2546
- attributeChangedCallback(t, e, o) {
2547
- this.updateView(t, o);
2600
+ attributeChangedCallback(t, e, r) {
2601
+ this.updateView(t, r);
2548
2602
  }
2549
2603
  updateView(t, e) {
2550
2604
  t === "href" && this.$link ? this.$link.href = e : t === "href" && !this.$link && e ? (this.shadowRoot.innerHTML = `<a href="${e}">${this.template}</a>`, this.shadowRoot.firstElementChild.setAttribute("tabindex", "0"), this.$arrowIcon.style.display = "none") : t === "for" && !this.$button && e && (this.shadowRoot.innerHTML = `<button>${this.template}</button>`, this.shadowRoot.firstElementChild.setAttribute("tabindex", "0"));
2551
2605
  }
2552
2606
  connectedCallback() {
2553
- this.hasAttribute("href") ? (this.updateView("href", this.href), this.$link.href = this.href) : this.hasAttribute("for") && (this.updateView("for", this.getAttribute("for")), this.addEventListener("click", this.handleClick)), this.$after && this.$after.localName === "px-icon" && this.configureAfterIcon(this.$after), this.$link && (this.$arrowIcon.style.display = "none");
2607
+ this.role = "listitem", this.hasAttribute("href") ? (this.updateView("href", this.href), this.$link.href = this.href) : this.hasAttribute("for") && (this.updateView("for", this.getAttribute("for")), this.addEventListener("click", this.handleClick)), this.$after && this.$after.localName === "px-icon" && this.configureAfterIcon(this.$after), this.$link && (this.$arrowIcon.style.display = "none");
2554
2608
  }
2555
2609
  handleClick() {
2556
2610
  const t = new CustomEvent("section-item-click", {
@@ -2586,9 +2640,9 @@ class we extends HTMLElement {
2586
2640
  );
2587
2641
  }
2588
2642
  }
2589
- customElements.get("px-mdd-section-item") || customElements.define("px-mdd-section-item", we);
2643
+ customElements.get("px-mdd-section-item") || customElements.define("px-mdd-section-item", $e);
2590
2644
  export {
2591
- me as MddSection,
2592
- we as MddSectionItem,
2593
- ve as MegaDropDown
2645
+ ke as MddSection,
2646
+ $e as MddSectionItem,
2647
+ me as MegaDropDown
2594
2648
  };