@proximus/lavender-autocomplete 1.4.15-alpha.7 → 1.4.15-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.
- package/dist/index.es.js +448 -235
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AttributeBreakpointHandlerDelegate as e, PxElement as t, WithExtraAttributes as n, backgroundColorValues as r, backgroundSizeValues as i, booleanPropertyToAttributeSetter as a, borderColorValues as o, borderRadiusValues as s, borderSideValues as c, borderValues as l, boxShadowValues as ee, checkName as u, colorValues as
|
|
1
|
+
import { AttributeBreakpointHandlerDelegate as e, PxElement as t, WithExtraAttributes as n, backgroundColorValues as r, backgroundSizeValues as i, booleanPropertyToAttributeSetter as a, borderColorValues as o, borderRadiusValues as s, borderSideValues as c, borderValues as l, boxShadowValues as ee, checkName as u, colorValues as te, cssTokenBreakpoints as d, fontsizeValues as ne, fontweightValues as re, gapValues as f, gradientValues as p, iconSizeValuesKC as m, log as h, noBorderRadiusValues as ie, paddingValues as g, propertyToAttributeSetter as _, transferAccessibilityAttributes as v } from "@proximus/lavender-common";
|
|
2
2
|
//#region src/autocomplete.css?inline
|
|
3
|
-
var y = ":host .dropdown-content{background-color:var(--px-color-background-surface-default);border-radius:var(--px-radius-main);margin-top:calc(var(--px-focus-offset-mobile) + var(--px-focus-outline-mobile));padding:0;overflow:auto;box-shadow:0 4px 6px -1px #25252514}@media screen and (width>=48rem){:host .dropdown-content{margin-top:calc(var(--px-focus-offset-tablet) + var(--px-focus-outline-tablet))}}@media screen and (width>=64.0625rem){:host .dropdown-content{margin-top:calc(var(--px-focus-offset-laptop) + var(--px-focus-outline-laptop))}}@media screen and (width>=90.0625rem){:host .dropdown-content{margin-top:calc(var(--px-focus-offset-desktop) + var(--px-focus-outline-desktop))}}:host([inverted]) .dropdown-content{background-color:var(--px-color-background-surface-dark)}",
|
|
3
|
+
var y = ":host .dropdown-content{background-color:var(--px-color-background-surface-default);border-radius:var(--px-radius-main);margin-top:calc(var(--px-focus-offset-mobile) + var(--px-focus-outline-mobile));padding:0;overflow:auto;box-shadow:0 4px 6px -1px #25252514}@media screen and (width>=48rem){:host .dropdown-content{margin-top:calc(var(--px-focus-offset-tablet) + var(--px-focus-outline-tablet))}}@media screen and (width>=64.0625rem){:host .dropdown-content{margin-top:calc(var(--px-focus-offset-laptop) + var(--px-focus-outline-laptop))}}@media screen and (width>=90.0625rem){:host .dropdown-content{margin-top:calc(var(--px-focus-offset-desktop) + var(--px-focus-outline-desktop))}}:host([inverted]) .dropdown-content{background-color:var(--px-color-background-surface-dark)}", ae = ":host{position:relative}::slotted([slot=popover]){border-radius:var(--px-radius-main,8px);background:var(--px-color-background-container-light-default,#fff);padding:var(--px-padding-xs-mobile) 0;width:auto;max-height:var(--px-popover-max-height);border:0;margin:0;position:fixed;right:0;box-shadow:0 20px 25px -5px #25252514}:host([grow]) ::slotted([slot=trigger]):after{padding-right:var(--px-padding-xs-mobile);right:0}:host([anchoralignment=top-left]) ::slotted([slot=popover]){top:auto}:host([anchoralignment=top-right]) ::slotted([slot=popover]){top:auto}:host([anchoralignment=bottom-right]) ::slotted([slot=popover]){left:auto}@media screen and (width<=47.938rem){::slotted([slot=trigger]){width:100%;display:block}:host([anchoralignment=top-left]) ::slotted([slot=popover]){left:var(--px-padding-s-mobile)}:host([anchoralignment=top-right]) ::slotted([slot=popover]){left:var(--px-padding-s-mobile)}}@media screen and (width>=48rem){::slotted([slot=popover]){padding-block:var(--px-padding-s-desktop);width:auto;right:auto}}", oe = [
|
|
4
4
|
"top-left",
|
|
5
5
|
"top-right",
|
|
6
6
|
"bottom-left",
|
|
@@ -8,7 +8,7 @@ var y = ":host .dropdown-content{background-color:var(--px-color-background-surf
|
|
|
8
8
|
];
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region ../../components/Dropdown/src/anchorPolyfill.ts
|
|
11
|
-
function
|
|
11
|
+
function b(e, t, n = "bottom-left", r, i = !1) {
|
|
12
12
|
"anchorName" in document.documentElement.style && i === !1 || t.addEventListener("toggle", () => {
|
|
13
13
|
if (!e || !t) return;
|
|
14
14
|
let i = e.getBoundingClientRect(), a = window.visualViewport?.height ?? window.innerHeight, o = window.visualViewport?.width ?? window.innerWidth, s = r.getPropertyValue("--px-padding-s-mobile") || "16px", c = parseInt((r.getPropertyValue("--px-icon-size-xs-desktop") || "24").replace("px", ""));
|
|
@@ -18,9 +18,9 @@ function S(e, t, n = "bottom-left", r, i = !1) {
|
|
|
18
18
|
/* v8 ignore end */
|
|
19
19
|
//#endregion
|
|
20
20
|
//#region ../../components/Dropdown/src/Dropdown.ts
|
|
21
|
-
var
|
|
22
|
-
|
|
23
|
-
var
|
|
21
|
+
var x = new CSSStyleSheet();
|
|
22
|
+
x.replaceSync(ae);
|
|
23
|
+
var S = "bottom-left", C = class extends n {
|
|
24
24
|
get css() {
|
|
25
25
|
return `::slotted([slot='trigger']) {
|
|
26
26
|
anchor-name: ${this.anchorName};
|
|
@@ -65,7 +65,7 @@ var w = "bottom-left", ie = class extends n {
|
|
|
65
65
|
];
|
|
66
66
|
}
|
|
67
67
|
constructor() {
|
|
68
|
-
super(
|
|
68
|
+
super(x), this.template = () => `
|
|
69
69
|
<style>${this.css}</style>
|
|
70
70
|
<slot name="trigger"></slot>
|
|
71
71
|
<slot name="popover"></slot>`, this.isAboutToClose = !1, this.triggerPopoverDisplay = () => {
|
|
@@ -83,7 +83,7 @@ var w = "bottom-left", ie = class extends n {
|
|
|
83
83
|
}, this.shadowRoot.innerHTML = this.template();
|
|
84
84
|
}
|
|
85
85
|
connectedCallback() {
|
|
86
|
-
this.getAttribute("id") || this.setAttribute("id", `px-dropdown-${Math.random().toString(36).substring(2, 15)}`), this.getAttribute("anchoralignment") || this.setAttribute("anchoralignment",
|
|
86
|
+
this.getAttribute("id") || this.setAttribute("id", `px-dropdown-${Math.random().toString(36).substring(2, 15)}`), this.getAttribute("anchoralignment") || this.setAttribute("anchoralignment", S), b(this.$trigger, this.$popoverElement, this.anchorAlignment, getComputedStyle(this), this.usePolyfill);
|
|
87
87
|
}
|
|
88
88
|
#e() {
|
|
89
89
|
this.isAboutToClose = !1, this.manualToggle || this.$trigger.removeEventListener("click", this.triggerPopoverDisplay), this.$popoverElement.removeEventListener("beforetoggle", this.#t), this.$popoverElement.removeEventListener("toggle", this.#n);
|
|
@@ -99,7 +99,7 @@ var w = "bottom-left", ie = class extends n {
|
|
|
99
99
|
this.initPopover();
|
|
100
100
|
break;
|
|
101
101
|
case "use-polyfill":
|
|
102
|
-
|
|
102
|
+
b(this.$trigger, this.$popoverElement, this.anchorAlignment, getComputedStyle(this), this.usePolyfill);
|
|
103
103
|
break;
|
|
104
104
|
case "manual-toggle":
|
|
105
105
|
n != null && this.$trigger?.removeAttribute("aria-expanded");
|
|
@@ -136,10 +136,10 @@ var w = "bottom-left", ie = class extends n {
|
|
|
136
136
|
return this.querySelector("[slot=\"popover\"]");
|
|
137
137
|
}
|
|
138
138
|
get anchorAlignment() {
|
|
139
|
-
return this.getAttribute("anchoralignment") ||
|
|
139
|
+
return this.getAttribute("anchoralignment") || S;
|
|
140
140
|
}
|
|
141
141
|
set anchorAlignment(e) {
|
|
142
|
-
|
|
142
|
+
oe.includes(e) ? this.setAttribute("anchoralignment", e) : (h(`Invalid anchor alignment value: ${e}. Using default ${S}.`), this.setAttribute("anchoralignment", S));
|
|
143
143
|
}
|
|
144
144
|
get usePolyfill() {
|
|
145
145
|
return this.hasAttribute("use-polyfill");
|
|
@@ -157,15 +157,17 @@ var w = "bottom-left", ie = class extends n {
|
|
|
157
157
|
return this.getAttribute("popover-height");
|
|
158
158
|
}
|
|
159
159
|
set popoverHeight(e) {
|
|
160
|
-
|
|
160
|
+
_(this, "popover-height", e);
|
|
161
161
|
}
|
|
162
162
|
};
|
|
163
|
-
customElements.get("px-dropdown") || customElements.define("px-dropdown",
|
|
163
|
+
customElements.get("px-dropdown") || customElements.define("px-dropdown", C);
|
|
164
164
|
//#endregion
|
|
165
165
|
//#region ../../components/Input/src/input.css?inline
|
|
166
|
-
var ae = ":host{--icon-error:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' width='17' height='17'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23B30000;%7D%3C/style%3E%3C/defs%3E%3Cg id='forms-error'%3E%3Cpath id='Error' class='cls-1' d='M8.5,0A8.5,8.5,0,1,0,17,8.5,8.51,8.51,0,0,0,8.5,0ZM7.42,4.65a1.08,1.08,0,1,1,2.16,0V8.79a1.08,1.08,0,0,1-2.16,0Zm1.93,8.44a1.2,1.2,0,0,1-1.7-1.69,1.15,1.15,0,0,1,.85-.35,1.11,1.11,0,0,1,.84.35h0A1.21,1.21,0,0,1,9.35,13.09Z'/%3E%3C/g%3E%3C/svg%3E\");--icon-success:url(\"data:image/svg+xml,%3Csvg id='forms-success' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' width='17' height='17'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23008000;%7D%3C/style%3E%3C/defs%3E%3Cpath id='Success' class='cls-1' d='M8.5,0A8.5,8.5,0,1,0,17,8.5,8.51,8.51,0,0,0,8.5,0Zm3.69,7.08-4.29,4a.81.81,0,0,1-.56.22.84.84,0,0,1-.59-.24L4.67,9A.81.81,0,0,1,5.81,7.85L7.35,9.4,11.1,5.91a.8.8,0,0,1,1.09,1.17Z'/%3E%3C/svg%3E\");--icon-search:url(data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M17.6451%2016.6649L12.5811%2011.7844C13.4371%2010.7503%2013.9122%209.46601%2013.9282%208.10498C13.9463%206.53112%2013.351%205.04391%2012.251%203.91824C11.1511%202.79211%209.67878%202.16202%208.10492%202.14352C8.081%202.14352%208.05753%202.14307%208.03406%202.14307C6.48637%202.14307%205.02715%202.7375%203.9182%203.82074C2.79208%204.92069%202.16199%206.393%202.14349%207.96687C2.12498%209.54118%202.72031%2011.0279%203.82026%2012.1536C4.97344%2013.3339%206.50442%2013.9261%208.03677%2013.9261C9.28408%2013.9261%2010.5303%2013.528%2011.5758%2012.7405L16.6828%2017.6633C16.8173%2017.7928%2016.9906%2017.8574%2017.164%2017.8574C17.3454%2017.8574%2017.5273%2017.7865%2017.6632%2017.6452C17.929%2017.3694%2017.9209%2016.9307%2017.6451%2016.6649ZM11.1849%2011.2595C10.3237%2012.1008%209.18546%2012.5707%207.98305%2012.5418C6.7793%2012.5278%205.65317%2012.0457%204.8123%2011.185C3.97101%2010.3238%203.5156%209.18687%203.53004%207.98312C3.54403%206.77981%204.02608%205.65369%204.88678%204.81282C5.73487%203.98413%206.85106%203.52962%208.03451%203.52962C8.05256%203.52962%208.07062%203.53007%208.08867%203.53007C9.29198%203.54406%2010.4181%204.02611%2011.2589%204.88684C12.1003%205.74802%2012.5557%206.88498%2012.5417%208.08873C12.5277%209.29249%2012.0456%2010.4186%2011.1849%2011.2595Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E);--icon-cancel:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 17 17' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.33333 0C12.9357 0 16.6667 3.73096 16.6667 8.33333C16.6667 12.9357 12.9357 16.6667 8.33333 16.6667C3.73096 16.6667 0 12.9357 0 8.33333C0 3.73096 3.73096 0 8.33333 0ZM12.3071 4.35954C12.0502 4.10263 11.6339 4.10262 11.377 4.35954L8.33333 7.40316L5.28971 4.35954C5.03279 4.10261 4.61646 4.10261 4.35954 4.35954C4.10261 4.61646 4.10261 5.03279 4.35954 5.28971L7.40316 8.33333L4.35954 11.377C4.10262 11.6339 4.10263 12.0502 4.35954 12.3071C4.61648 12.5639 5.03284 12.564 5.28971 12.3071L8.33333 9.26351L11.377 12.3071C11.6339 12.564 12.0502 12.564 12.3071 12.3071C12.564 12.0502 12.564 11.6339 12.3071 11.377L9.26351 8.33333L12.3071 5.28971C12.564 5.03284 12.5639 4.61648 12.3071 4.35954Z' fill='%235C2D91'/%3E%3C/svg%3E\");--icon-calendar:url(data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M14.7369%201.68408H12.779V0.42102C12.779%200.188549%2012.5904%200%2012.358%200C12.1255%200%2011.9369%200.188549%2011.9369%200.42102V1.68408H9.92439V0.42102C9.92439%200.188549%209.73584%200%209.50337%200C9.2709%200%209.08235%200.188549%209.08235%200.42102V1.68408H7.0698V0.42102C7.0698%200.188549%206.88126%200%206.64878%200C6.41631%200%206.22777%200.188549%206.22777%200.42102V1.68408H4.21082V0.42102C4.21051%200.188549%204.02196%200%203.78949%200C3.55702%200%203.36847%200.188549%203.36847%200.42102V1.68408H2.52643C1.13098%201.68408%200%202.81537%200%204.21051V14.7369C0%2015.4344%200.565647%2016%201.26306%2016H13.4736C14.8687%2016%2016%2014.869%2016%2013.4736V2.94745C16%202.24973%2015.4344%201.68408%2014.7369%201.68408ZM15.158%2013.4736C15.158%2014.4038%2014.4041%2015.1576%2013.4739%2015.1576H1.26306C1.03059%2015.1576%200.842039%2014.9691%200.842039%2014.7366V6.73663H15.158V13.4736ZM15.158%205.89459H0.842039V4.21051C0.842039%203.28031%201.59592%202.52643%202.52612%202.52643H3.36816V3.78949C3.36816%204.02196%203.55671%204.21051%203.78918%204.21051C4.02165%204.21051%204.2102%204.02196%204.2102%203.78949V2.52643H6.22714V3.78949C6.22714%204.02196%206.41569%204.21051%206.64816%204.21051C6.88063%204.21051%207.06918%204.02196%207.06918%203.78949V2.52643H9.08173V3.78949C9.08173%204.02196%209.27028%204.21051%209.50275%204.21051C9.73522%204.21051%209.92377%204.02196%209.92377%203.78949V2.52643H11.9363V3.78949C11.9363%204.02196%2012.1249%204.21051%2012.3573%204.21051C12.5898%204.21051%2012.7784%204.02196%2012.7784%203.78949V2.52643H14.7363C14.9688%202.52643%2015.1573%202.71498%2015.1573%202.94745V5.89459H15.158Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E);--icon-clock:url(data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M8%200C3.5818%200%200%203.5818%200%208C0%2012.4182%203.5818%2016%208%2016C12.4182%2016%2016%2012.4182%2016%208C16%203.5818%2012.4182%200%208%200ZM8%2015.158C4.04675%2015.158%200.842039%2011.9533%200.842039%208C0.842039%204.04675%204.04675%200.842039%208%200.842039C11.9533%200.842039%2015.158%204.04675%2015.158%208C15.158%2011.9533%2011.9533%2015.158%208%2015.158Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3Cpath%20d%3D%22M7.99929%202.81256C7.76682%202.81256%207.57827%203.00111%207.57827%203.23358V7.76818C7.57607%207.89963%207.46972%208.00599%207.33827%208.00818H2.78235C2.54988%208.00818%202.36133%208.19673%202.36133%208.4292C2.36133%208.66167%202.54988%208.85022%202.78235%208.85022H7.32133C7.92117%208.85713%208.41309%208.3765%208.42031%207.77665C8.42031%207.77383%208.42031%207.771%208.42031%207.76818V3.23358C8.42031%203.00111%208.23176%202.81256%207.99929%202.81256Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E%0A);--icon-select:url(data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M4%206.6665L8%2010.6665L12%206.6665%22%20stroke%3D%22%235C2D91%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E);--icon-upload:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M18.7284%2020H6.54327C5.14071%2020%204%2018.816%204%2017.3603V16.102C4%2015.8589%204.18949%2015.6622%204.42374%2015.6622C4.65799%2015.6622%204.84748%2015.8589%204.84748%2016.102V17.3603C4.84748%2018.3311%205.60795%2019.1204%206.54327%2019.1204H18.7279C18.9618%2019.1204%2019.1517%2018.9233%2019.1517%2018.6806V16.0738C19.1517%2015.8307%2019.3412%2015.634%2019.5754%2015.634C19.8097%2015.634%2019.9992%2015.8307%2019.9992%2016.0738V18.6806C20%2019.4074%2019.4294%2020%2018.7284%2020Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3Cpath%20d%3D%22M12.4435%204.29306C12.0671%203.90231%2011.4576%203.90231%2011.0811%204.29306L11.0774%204.29697L7.39173%208.122C7.01526%208.51275%207.01526%209.14534%207.39173%209.53609C7.7682%209.92684%208.37766%209.92684%208.75413%209.53609L10.7929%207.41951H10.7967V15.0414C10.7967%2015.4799%2011.1397%2015.8354%2011.5622%2015.8354H11.9579C12.3808%2015.8354%2012.7234%2015.4799%2012.7234%2015.0414V7.41821H12.7292L14.7659%209.53218C15.1424%209.92293%2015.7523%209.92293%2016.1284%209.53218C16.5048%209.14186%2016.5048%208.50884%2016.1284%208.11853L12.4435%204.29306Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E);--cancel-icon-width:1em;--cancel-icon-height:1em;--search-icon-datalist-width:2em;--search-icon-focus-width:var(--search-icon-datalist-width);display:block}:host *{box-sizing:border-box}label{all:unset;font-size:var(--px-font-size-base);line-height:var(--px-line-height-ratio-l)}input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container{vertical-align:baseline;align-items:center;gap:var(--px-spacing-default-mobile);padding:var(--px-padding-xs-mobile) calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-s-mobile)) var(--px-padding-xs-mobile) var(--px-padding-s-mobile);background:var(--px-color-background-container-default-default) no-repeat;background-position:center right var(--px-padding-s-mobile);box-shadow:var(--px-color-border-neutral-default) 0 0 0px var(--px-size-border-m) inset;border-radius:var(--px-radius-main);color:var(--px-color-text-neutral-default);font-family:var(--px-font-family);font-weight:var(--px-font-weight-body);font-size:var(--px-text-size-label-l-mobile);line-height:var(--px-line-height-ratio-l);text-align:left;box-sizing:border-box;border:none;outline:0;margin:0;height:var(--px-size-l)!important}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).extended{width:100%}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):hover,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).error:hover,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).success:hover{box-shadow:var(--px-color-border-state-hover-default) 0 0 0px var(--px-size-border-l) inset;background-color:var(--px-color-background-state-hover-bordered-default)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):focus-visible:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]){outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):active{box-shadow:var(--px-color-border-state-active-default) 0 0 0px var(--px-size-border-m) inset;background-color:var(--px-color-background-container-default-default);outline:none}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):disabled,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):read-only:not(:is(select),#input-file-container){box-shadow:var(--px-color-border-neutral-default) 0 0 0px 0 inset;font-weight:var(--px-font-weight-title);text-align:left;background:0 0;padding:0}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).error{box-shadow:var(--px-color-border-purpose-error-default) 0 0 0px var(--px-size-border-m) inset;background-repeat:no-repeat;background-image:var(--icon-error)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).success{box-shadow:var(--px-color-border-purpose-success-default) 0 0 0px var(--px-size-border-m) inset;background-repeat:no-repeat;background-image:var(--icon-success)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].success,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].error,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).error,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container.success,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container.error{background-position:center right calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile)), center right var(--px-padding-s-mobile)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time].success{background-image:var(--icon-success)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time].error{background-image:var(--icon-error)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time]{min-width:8.5rem;padding-right:calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile))}:is(:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time])::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-mobile) + var(--px-size-icon-s) ) * -1)}:is(:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time]).error,:is(:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time]).success{background-position:center right calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile))}:is(:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time]).success{background-image:var(--icon-success)}:is(:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time]).error{background-image:var(--icon-error)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search]{background-image:var(--icon-search);padding-right:calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile) + var(--px-size-icon-s) + var(--px-spacing-s-mobile))}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;background-image:var(--icon-cancel);height:var(--cancel-icon-height);width:var(--cancel-icon-width);margin-right:calc(( var(--px-spacing-xs-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile) ) * -1);margin-left:var(--px-spacing-s-mobile);background-position:50%;background-repeat:no-repeat}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search]:focus::-webkit-search-cancel-button{opacity:1;pointer-events:auto;margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-mobile)) * -1)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search]:hover::-webkit-search-cancel-button{opacity:1;pointer-events:auto;margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-mobile)) * -1)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search][list=suggestions]:focus::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-mobile) + var(--px-spacing-xs-mobile) ) * -1)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-mobile) + var(--px-spacing-xs-mobile) ) * -1)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search][list=suggestions]:focus::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-mobile)) * -1))}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search][list=suggestions]:hover::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-mobile)) * -1))}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].success:hover,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].success:focus-visible,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].error:hover,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].error:focus-visible{background-position:center right var(--px-padding-s-mobile);background-image:var(--icon-search)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].success{background-image:var(--icon-success), var(--icon-search)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].error{background-image:var(--icon-error), var(--icon-search)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select){text-overflow:ellipsis;background-image:var(--icon-select);-webkit-appearance:none;width:100%;padding-right:calc(var(--px-padding-s-mobile) + var(--px-size-icon-s))}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).error{padding-right:calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile) + var(--px-size-icon-s) + var(--px-spacing-s-mobile))}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).success{background-image:var(--icon-success), var(--icon-select)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).error{background-image:var(--icon-error), var(--icon-select)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(textarea){flex-grow:0;height:auto!important}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(textarea).success,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(textarea).error{background-position:right 1rem top .5rem}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container{background-repeat:no-repeat;background-position:center right var(--px-padding-s-mobile);background-image:var(--icon-upload);align-items:center;max-width:100%;display:flex}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container span{text-overflow:ellipsis;white-space:nowrap;width:100%;overflow:hidden}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container.success{background-image:var(--icon-success), var(--icon-upload)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container.error{background-image:var(--icon-error), var(--icon-upload)}:host([auto-complete]) input{--autocomplete-search-icon-width:calc(2 * var(--px-spacing-xs-mobile) + 2 * var(--px-padding-xs-mobile) + var(--px-size-icon-s));background-image:var(--icon-search);padding-right:var(--autocomplete-search-icon-width);background-position:right 1rem center}:host([auto-complete]) input.success{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-mobile) + var(--px-padding-xs-mobile) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile)), center right var(--px-padding-s-mobile);background-image:var(--icon-success), var(--icon-search)!important}:host([auto-complete]) input.error{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-mobile) + var(--px-padding-xs-mobile) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile)), center right var(--px-padding-s-mobile);background-image:var(--icon-error), var(--icon-search)!important}slot{font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);font-weight:var(--px-font-weight-body);line-height:var(--px-line-height-ratio-l);text-align:left;color:var(--px-color-text-neutral-default)}slot.error{color:var(--px-color-text-purpose-error-default)}slot.success{color:var(--px-color-text-purpose-success-default)}slot[name=helper]{color:#0000008f;font-size:var(--px-text-size-label-s-mobile)}#container{gap:var(--px-spacing-2xs-mobile);flex-direction:column;display:inline-flex}#container:has(#input-file-container){max-width:100%}:host([extended]) #container{width:100%}#label-helper{gap:var(--px-spacing-2xs-mobile);flex-direction:column;display:flex}input[type=file]{-webkit-appearance:none;opacity:0;width:0;height:0}@media screen and (width<=47.938rem){:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).extended--mobile{width:100%}:host([extended--mobile]) #container{width:100%}}@media screen and (width>=48rem) and (width<=64rem){:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).extended--tablet{width:100%}:host([extended--tablet]) #container{width:100%}}@media screen and (width>=48rem){:host([auto-complete]) input{--autocomplete-search-icon-width:calc(2 * var(--px-spacing-xs-tablet) + 2 * var(--px-padding-xs-tablet) + var(--px-size-icon-s))}:host([auto-complete]) input.success{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-tablet) + var(--px-padding-xs-tablet) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet)), center right var(--px-padding-s-tablet);background-image:var(--icon-success), var(--icon-search)!important}:host([auto-complete]) input.error{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-tablet) + var(--px-padding-xs-tablet) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet)), center right var(--px-padding-s-tablet);background-image:var(--icon-error), var(--icon-search)!important}input:not([type=file]),textarea,select,#input-file-container{gap:var(--px-spacing-default-tablet);padding:var(--px-padding-xs-tablet) calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-s-tablet)) var(--px-padding-xs-tablet) var(--px-padding-s-tablet);font-size:var(--px-text-size-label-l-tablet);background-position:center right var(--px-padding-s-tablet);height:var(--px-size-l)!important}:is(input:not([type=file]),textarea,select,#input-file-container):focus-visible:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]){outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.success,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.error{background-position:center right calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet)), center right var(--px-padding-s-tablet)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]{min-width:8.5rem;padding-right:calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet))}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time])::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-tablet) + var(--px-size-icon-s) ) * -1)}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).error,:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).success{background-position:center right calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]{padding-right:calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet) + var(--px-size-icon-s) + var(--px-spacing-s-tablet))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]::-webkit-search-cancel-button{margin-right:calc(( var(--px-spacing-xs-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet) ) * -1);margin-left:var(--px-spacing-s-tablet)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:focus::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-tablet)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:hover::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-tablet)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-tablet) + var(--px-spacing-xs-tablet) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-tablet) + var(--px-spacing-xs-tablet) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-tablet)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-tablet)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:focus-visible,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:focus-visible{background-position:center right var(--px-padding-s-tablet)}:is(input:not([type=file]),textarea,select,#input-file-container):is(select){padding-right:calc(var(--px-padding-s-tablet) + var(--px-size-icon-s))}:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error{padding-right:calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet) + var(--px-size-icon-s) + var(--px-spacing-s-tablet))}:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container{background-position:center right var(--px-padding-s-tablet)}slot{font-size:var(--px-text-size-label-m-tablet)}slot[name=helper]{font-size:var(--px-text-size-label-s-tablet)}#container,#label-helper{gap:var(--px-spacing-2xs-tablet)}}@media screen and (width>=64.0625rem) and (width<=90rem){:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).extended--laptop{width:100%}:host([extended--laptop]) #container{width:100%}}@media screen and (width>=64.0625rem){:host([auto-complete]) input{--autocomplete-search-icon-width:calc(2 * var(--px-spacing-xs-laptop) + 2 * var(--px-padding-xs-laptop) + var(--px-size-icon-s))}:host([auto-complete]) input.success{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-laptop) + var(--px-padding-xs-laptop) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop)), center right var(--px-padding-s-laptop);background-image:var(--icon-success), var(--icon-search)!important}:host([auto-complete]) input.error{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-laptop) + var(--px-padding-xs-laptop) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop)), center right var(--px-padding-s-laptop);background-image:var(--icon-error), var(--icon-search)!important}input:not([type=file]),textarea,select,#input-file-container{gap:var(--px-spacing-default-laptop);padding:var(--px-padding-xs-laptop) calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-s-laptop)) var(--px-padding-xs-laptop) var(--px-padding-s-laptop);font-size:var(--px-text-size-label-l-laptop);background-position:center right var(--px-padding-s-laptop)}:is(input:not([type=file]),textarea,select,#input-file-container):focus-visble:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]){outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.success,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.error{background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop)), center right var(--px-padding-s-laptop)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]{min-width:8.5rem;padding-right:calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop))}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time])::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-laptop) + var(--px-size-icon-s) ) * -1)}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).error,:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).success{background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]{padding-right:calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop) + var(--px-size-icon-s) + var(--px-spacing-s-laptop))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]::-webkit-search-cancel-button{margin-right:calc(( var(--px-spacing-xs-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop) ) * -1);margin-left:var(--px-spacing-s-laptop)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:focus::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-laptop)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:hover::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-laptop)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-laptop) + var(--px-spacing-xs-laptop) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-laptop) + var(--px-spacing-xs-laptop) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-laptop)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-laptop)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:focus-visible,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:focus-visible{background-position:center right var(--px-padding-s-laptop)}:is(input:not([type=file]),textarea,select,#input-file-container):is(select){padding-right:calc(var(--px-padding-s-laptop) + var(--px-size-icon-s))}:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error{padding-right:calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop) + var(--px-size-icon-s) + var(--px-spacing-s-laptop))}:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container{background-position:center right var(--px-padding-s-laptop)}slot{font-size:var(--px-text-size-label-m-laptop)}slot[name=helper]{font-size:var(--px-text-size-label-s-laptop)}#container,#label-helper{gap:var(--px-spacing-2xs-laptop)}}@media screen and (width>=90.0625rem){:host([auto-complete]) input{--autocomplete-search-icon-width:calc(2 * var(--px-spacing-xs-desktop) + 2 * var(--px-padding-xs-desktop) + var(--px-size-icon-s))}:host([auto-complete]) input.success{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-laptop) + var(--px-padding-xs-laptop) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop)), center right var(--px-padding-s-laptop);background-image:var(--icon-success), var(--icon-search)!important}:host([auto-complete]) input.error{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-laptop) + var(--px-padding-xs-laptop) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop)), center right var(--px-padding-s-laptop);background-image:var(--icon-error), var(--icon-search)!important}input:not([type=file]),textarea,select,#input-file-container{gap:var(--px-spacing-default-desktop);padding:var(--px-padding-xs-desktop) calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-s-desktop)) var(--px-padding-xs-desktop) var(--px-padding-s-desktop);font-size:var(--px-text-size-label-l-desktop);background-position:center right var(--px-padding-s-desktop)}:is(input:not([type=file]),textarea,select,#input-file-container):focus-visble:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]){outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.success,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.error{background-position:center right calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop)), center right var(--px-padding-s-desktop)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]{min-width:8.5rem;padding-right:calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop))}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time])::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-desktop) + var(--px-size-icon-s) ) * -1)}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).error,:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).success{background-position:center right calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]{padding-right:calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop) + var(--px-size-icon-s) + var(--px-spacing-s-desktop))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]::-webkit-search-cancel-button{margin-right:calc(( var(--px-spacing-xs-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop) ) * -1);margin-left:var(--px-spacing-s-desktop)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:focus::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-desktop)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:hover::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-desktop)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-desktop) + var(--px-spacing-xs-desktop) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-desktop) + var(--px-spacing-xs-desktop) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus-visible::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-desktop)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-desktop)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:focus-visible,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:focus-visible{background-position:center right var(--px-padding-s-desktop)}:is(input:not([type=file]),textarea,select,#input-file-container):is(select){padding-right:calc(var(--px-padding-s-desktop) + var(--px-size-icon-s))}:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error{padding-right:calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop) + var(--px-size-icon-s) + var(--px-spacing-s-desktop))}:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container{background-position:center right var(--px-padding-s-desktop)}:is(input:not([type=file]),textarea,select,#input-file-container).extended--desktop{width:100%}:host([extended--desktop]) #container{width:100%}slot{font-size:var(--px-text-size-label-m-desktop)}slot[name=helper]{font-size:var(--px-text-size-label-s-desktop)}#container{gap:var(--px-spacing-2xs-laptop)}#label-helper{gap:var(--px-spacing-2xs-desktop)}}", T = new CSSStyleSheet();
|
|
167
|
-
T.replaceSync(
|
|
168
|
-
var E =
|
|
166
|
+
var w = ":host{--icon-error:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' width='17' height='17'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23B30000;%7D%3C/style%3E%3C/defs%3E%3Cg id='forms-error'%3E%3Cpath id='Error' class='cls-1' d='M8.5,0A8.5,8.5,0,1,0,17,8.5,8.51,8.51,0,0,0,8.5,0ZM7.42,4.65a1.08,1.08,0,1,1,2.16,0V8.79a1.08,1.08,0,0,1-2.16,0Zm1.93,8.44a1.2,1.2,0,0,1-1.7-1.69,1.15,1.15,0,0,1,.85-.35,1.11,1.11,0,0,1,.84.35h0A1.21,1.21,0,0,1,9.35,13.09Z'/%3E%3C/g%3E%3C/svg%3E\");--icon-success:url(\"data:image/svg+xml,%3Csvg id='forms-success' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' width='17' height='17'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23008000;%7D%3C/style%3E%3C/defs%3E%3Cpath id='Success' class='cls-1' d='M8.5,0A8.5,8.5,0,1,0,17,8.5,8.51,8.51,0,0,0,8.5,0Zm3.69,7.08-4.29,4a.81.81,0,0,1-.56.22.84.84,0,0,1-.59-.24L4.67,9A.81.81,0,0,1,5.81,7.85L7.35,9.4,11.1,5.91a.8.8,0,0,1,1.09,1.17Z'/%3E%3C/svg%3E\");--icon-search:url(data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M17.6451%2016.6649L12.5811%2011.7844C13.4371%2010.7503%2013.9122%209.46601%2013.9282%208.10498C13.9463%206.53112%2013.351%205.04391%2012.251%203.91824C11.1511%202.79211%209.67878%202.16202%208.10492%202.14352C8.081%202.14352%208.05753%202.14307%208.03406%202.14307C6.48637%202.14307%205.02715%202.7375%203.9182%203.82074C2.79208%204.92069%202.16199%206.393%202.14349%207.96687C2.12498%209.54118%202.72031%2011.0279%203.82026%2012.1536C4.97344%2013.3339%206.50442%2013.9261%208.03677%2013.9261C9.28408%2013.9261%2010.5303%2013.528%2011.5758%2012.7405L16.6828%2017.6633C16.8173%2017.7928%2016.9906%2017.8574%2017.164%2017.8574C17.3454%2017.8574%2017.5273%2017.7865%2017.6632%2017.6452C17.929%2017.3694%2017.9209%2016.9307%2017.6451%2016.6649ZM11.1849%2011.2595C10.3237%2012.1008%209.18546%2012.5707%207.98305%2012.5418C6.7793%2012.5278%205.65317%2012.0457%204.8123%2011.185C3.97101%2010.3238%203.5156%209.18687%203.53004%207.98312C3.54403%206.77981%204.02608%205.65369%204.88678%204.81282C5.73487%203.98413%206.85106%203.52962%208.03451%203.52962C8.05256%203.52962%208.07062%203.53007%208.08867%203.53007C9.29198%203.54406%2010.4181%204.02611%2011.2589%204.88684C12.1003%205.74802%2012.5557%206.88498%2012.5417%208.08873C12.5277%209.29249%2012.0456%2010.4186%2011.1849%2011.2595Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E);--icon-cancel:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 17 17' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.33333 0C12.9357 0 16.6667 3.73096 16.6667 8.33333C16.6667 12.9357 12.9357 16.6667 8.33333 16.6667C3.73096 16.6667 0 12.9357 0 8.33333C0 3.73096 3.73096 0 8.33333 0ZM12.3071 4.35954C12.0502 4.10263 11.6339 4.10262 11.377 4.35954L8.33333 7.40316L5.28971 4.35954C5.03279 4.10261 4.61646 4.10261 4.35954 4.35954C4.10261 4.61646 4.10261 5.03279 4.35954 5.28971L7.40316 8.33333L4.35954 11.377C4.10262 11.6339 4.10263 12.0502 4.35954 12.3071C4.61648 12.5639 5.03284 12.564 5.28971 12.3071L8.33333 9.26351L11.377 12.3071C11.6339 12.564 12.0502 12.564 12.3071 12.3071C12.564 12.0502 12.564 11.6339 12.3071 11.377L9.26351 8.33333L12.3071 5.28971C12.564 5.03284 12.5639 4.61648 12.3071 4.35954Z' fill='%235C2D91'/%3E%3C/svg%3E\");--icon-calendar:url(data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M14.7369%201.68408H12.779V0.42102C12.779%200.188549%2012.5904%200%2012.358%200C12.1255%200%2011.9369%200.188549%2011.9369%200.42102V1.68408H9.92439V0.42102C9.92439%200.188549%209.73584%200%209.50337%200C9.2709%200%209.08235%200.188549%209.08235%200.42102V1.68408H7.0698V0.42102C7.0698%200.188549%206.88126%200%206.64878%200C6.41631%200%206.22777%200.188549%206.22777%200.42102V1.68408H4.21082V0.42102C4.21051%200.188549%204.02196%200%203.78949%200C3.55702%200%203.36847%200.188549%203.36847%200.42102V1.68408H2.52643C1.13098%201.68408%200%202.81537%200%204.21051V14.7369C0%2015.4344%200.565647%2016%201.26306%2016H13.4736C14.8687%2016%2016%2014.869%2016%2013.4736V2.94745C16%202.24973%2015.4344%201.68408%2014.7369%201.68408ZM15.158%2013.4736C15.158%2014.4038%2014.4041%2015.1576%2013.4739%2015.1576H1.26306C1.03059%2015.1576%200.842039%2014.9691%200.842039%2014.7366V6.73663H15.158V13.4736ZM15.158%205.89459H0.842039V4.21051C0.842039%203.28031%201.59592%202.52643%202.52612%202.52643H3.36816V3.78949C3.36816%204.02196%203.55671%204.21051%203.78918%204.21051C4.02165%204.21051%204.2102%204.02196%204.2102%203.78949V2.52643H6.22714V3.78949C6.22714%204.02196%206.41569%204.21051%206.64816%204.21051C6.88063%204.21051%207.06918%204.02196%207.06918%203.78949V2.52643H9.08173V3.78949C9.08173%204.02196%209.27028%204.21051%209.50275%204.21051C9.73522%204.21051%209.92377%204.02196%209.92377%203.78949V2.52643H11.9363V3.78949C11.9363%204.02196%2012.1249%204.21051%2012.3573%204.21051C12.5898%204.21051%2012.7784%204.02196%2012.7784%203.78949V2.52643H14.7363C14.9688%202.52643%2015.1573%202.71498%2015.1573%202.94745V5.89459H15.158Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E);--icon-clock:url(data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M8%200C3.5818%200%200%203.5818%200%208C0%2012.4182%203.5818%2016%208%2016C12.4182%2016%2016%2012.4182%2016%208C16%203.5818%2012.4182%200%208%200ZM8%2015.158C4.04675%2015.158%200.842039%2011.9533%200.842039%208C0.842039%204.04675%204.04675%200.842039%208%200.842039C11.9533%200.842039%2015.158%204.04675%2015.158%208C15.158%2011.9533%2011.9533%2015.158%208%2015.158Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3Cpath%20d%3D%22M7.99929%202.81256C7.76682%202.81256%207.57827%203.00111%207.57827%203.23358V7.76818C7.57607%207.89963%207.46972%208.00599%207.33827%208.00818H2.78235C2.54988%208.00818%202.36133%208.19673%202.36133%208.4292C2.36133%208.66167%202.54988%208.85022%202.78235%208.85022H7.32133C7.92117%208.85713%208.41309%208.3765%208.42031%207.77665C8.42031%207.77383%208.42031%207.771%208.42031%207.76818V3.23358C8.42031%203.00111%208.23176%202.81256%207.99929%202.81256Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E%0A);--icon-select:url(data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M4%206.6665L8%2010.6665L12%206.6665%22%20stroke%3D%22%235C2D91%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E);--icon-upload:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M18.7284%2020H6.54327C5.14071%2020%204%2018.816%204%2017.3603V16.102C4%2015.8589%204.18949%2015.6622%204.42374%2015.6622C4.65799%2015.6622%204.84748%2015.8589%204.84748%2016.102V17.3603C4.84748%2018.3311%205.60795%2019.1204%206.54327%2019.1204H18.7279C18.9618%2019.1204%2019.1517%2018.9233%2019.1517%2018.6806V16.0738C19.1517%2015.8307%2019.3412%2015.634%2019.5754%2015.634C19.8097%2015.634%2019.9992%2015.8307%2019.9992%2016.0738V18.6806C20%2019.4074%2019.4294%2020%2018.7284%2020Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3Cpath%20d%3D%22M12.4435%204.29306C12.0671%203.90231%2011.4576%203.90231%2011.0811%204.29306L11.0774%204.29697L7.39173%208.122C7.01526%208.51275%207.01526%209.14534%207.39173%209.53609C7.7682%209.92684%208.37766%209.92684%208.75413%209.53609L10.7929%207.41951H10.7967V15.0414C10.7967%2015.4799%2011.1397%2015.8354%2011.5622%2015.8354H11.9579C12.3808%2015.8354%2012.7234%2015.4799%2012.7234%2015.0414V7.41821H12.7292L14.7659%209.53218C15.1424%209.92293%2015.7523%209.92293%2016.1284%209.53218C16.5048%209.14186%2016.5048%208.50884%2016.1284%208.11853L12.4435%204.29306Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E);--cancel-icon-width:1em;--cancel-icon-height:1em;--search-icon-datalist-width:2em;--search-icon-focus-width:var(--search-icon-datalist-width);display:block}:host *{box-sizing:border-box}label{all:unset;font-size:var(--px-font-size-base);line-height:var(--px-line-height-ratio-l)}input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container{vertical-align:baseline;align-items:center;gap:var(--px-spacing-default-mobile);padding:var(--px-padding-xs-mobile) calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-s-mobile)) var(--px-padding-xs-mobile) var(--px-padding-s-mobile);background:var(--px-color-background-container-default-default) no-repeat;background-position:center right var(--px-padding-s-mobile);box-shadow:var(--px-color-border-neutral-default) 0 0 0px var(--px-size-border-m) inset;border-radius:var(--px-radius-main);color:var(--px-color-text-neutral-default);font-family:var(--px-font-family);font-weight:var(--px-font-weight-body);font-size:var(--px-text-size-label-l-mobile);line-height:var(--px-line-height-ratio-l);text-align:left;box-sizing:border-box;border:none;outline:0;margin:0;height:var(--px-size-l)!important}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).extended{width:100%}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):hover,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).error:hover,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).success:hover{box-shadow:var(--px-color-border-state-hover-default) 0 0 0px var(--px-size-border-l) inset;background-color:var(--px-color-background-state-hover-bordered-default)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):focus-visible:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]){outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):active{box-shadow:var(--px-color-border-state-active-default) 0 0 0px var(--px-size-border-m) inset;background-color:var(--px-color-background-container-default-default);outline:none}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):disabled,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):read-only:not(:is(select),#input-file-container){box-shadow:var(--px-color-border-neutral-default) 0 0 0px 0 inset;font-weight:var(--px-font-weight-title);text-align:left;background:0 0;padding:0}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).error{box-shadow:var(--px-color-border-purpose-error-default) 0 0 0px var(--px-size-border-m) inset;background-repeat:no-repeat;background-image:var(--icon-error)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).success{box-shadow:var(--px-color-border-purpose-success-default) 0 0 0px var(--px-size-border-m) inset;background-repeat:no-repeat;background-image:var(--icon-success)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].success,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].error,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).error,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container.success,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container.error{background-position:center right calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile)), center right var(--px-padding-s-mobile)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time].success{background-image:var(--icon-success)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time].error{background-image:var(--icon-error)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time]{min-width:8.5rem;padding-right:calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile))}:is(:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time])::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-mobile) + var(--px-size-icon-s) ) * -1)}:is(:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time]).error,:is(:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time]).success{background-position:center right calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile))}:is(:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time]).success{background-image:var(--icon-success)}:is(:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time]).error{background-image:var(--icon-error)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search]{background-image:var(--icon-search);padding-right:calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile) + var(--px-size-icon-s) + var(--px-spacing-s-mobile))}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;background-image:var(--icon-cancel);height:var(--cancel-icon-height);width:var(--cancel-icon-width);margin-right:calc(( var(--px-spacing-xs-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile) ) * -1);margin-left:var(--px-spacing-s-mobile);background-position:50%;background-repeat:no-repeat}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search]:focus::-webkit-search-cancel-button{opacity:1;pointer-events:auto;margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-mobile)) * -1)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search]:hover::-webkit-search-cancel-button{opacity:1;pointer-events:auto;margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-mobile)) * -1)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search][list=suggestions]:focus::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-mobile) + var(--px-spacing-xs-mobile) ) * -1)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-mobile) + var(--px-spacing-xs-mobile) ) * -1)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search][list=suggestions]:focus::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-mobile)) * -1))}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search][list=suggestions]:hover::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-mobile)) * -1))}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].success:hover,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].success:focus-visible,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].error:hover,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].error:focus-visible{background-position:center right var(--px-padding-s-mobile);background-image:var(--icon-search)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].success{background-image:var(--icon-success), var(--icon-search)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].error{background-image:var(--icon-error), var(--icon-search)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select){text-overflow:ellipsis;background-image:var(--icon-select);-webkit-appearance:none;width:100%;padding-right:calc(var(--px-padding-s-mobile) + var(--px-size-icon-s))}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).error{padding-right:calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile) + var(--px-size-icon-s) + var(--px-spacing-s-mobile))}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).success{background-image:var(--icon-success), var(--icon-select)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).error{background-image:var(--icon-error), var(--icon-select)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(textarea){flex-grow:0;height:auto!important}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(textarea).success,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(textarea).error{background-position:right 1rem top .5rem}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container{background-repeat:no-repeat;background-position:center right var(--px-padding-s-mobile);background-image:var(--icon-upload);align-items:center;max-width:100%;display:flex}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container span{text-overflow:ellipsis;white-space:nowrap;width:100%;overflow:hidden}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container.success{background-image:var(--icon-success), var(--icon-upload)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container.error{background-image:var(--icon-error), var(--icon-upload)}:host([auto-complete]) input{--autocomplete-search-icon-width:calc(2 * var(--px-spacing-xs-mobile) + 2 * var(--px-padding-xs-mobile) + var(--px-size-icon-s));background-image:var(--icon-search);padding-right:var(--autocomplete-search-icon-width);background-position:right 1rem center}:host([auto-complete]) input.success{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-mobile) + var(--px-padding-xs-mobile) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile)), center right var(--px-padding-s-mobile);background-image:var(--icon-success), var(--icon-search)!important}:host([auto-complete]) input.error{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-mobile) + var(--px-padding-xs-mobile) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile)), center right var(--px-padding-s-mobile);background-image:var(--icon-error), var(--icon-search)!important}slot{font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);font-weight:var(--px-font-weight-body);line-height:var(--px-line-height-ratio-l);text-align:left;color:var(--px-color-text-neutral-default)}slot.error{color:var(--px-color-text-purpose-error-default)}slot.success{color:var(--px-color-text-purpose-success-default)}slot[name=helper]{color:#0000008f;font-size:var(--px-text-size-label-s-mobile)}#container{gap:var(--px-spacing-2xs-mobile);flex-direction:column;display:inline-flex}#container:has(#input-file-container){max-width:100%}:host([extended]) #container{width:100%}#label-helper{gap:var(--px-spacing-2xs-mobile);flex-direction:column;display:flex}input[type=file]{-webkit-appearance:none;opacity:0;width:0;height:0}@media screen and (width<=47.938rem){:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).extended--mobile{width:100%}:host([extended--mobile]) #container{width:100%}}@media screen and (width>=48rem) and (width<=64rem){:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).extended--tablet{width:100%}:host([extended--tablet]) #container{width:100%}}@media screen and (width>=48rem){:host([auto-complete]) input{--autocomplete-search-icon-width:calc(2 * var(--px-spacing-xs-tablet) + 2 * var(--px-padding-xs-tablet) + var(--px-size-icon-s))}:host([auto-complete]) input.success{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-tablet) + var(--px-padding-xs-tablet) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet)), center right var(--px-padding-s-tablet);background-image:var(--icon-success), var(--icon-search)!important}:host([auto-complete]) input.error{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-tablet) + var(--px-padding-xs-tablet) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet)), center right var(--px-padding-s-tablet);background-image:var(--icon-error), var(--icon-search)!important}input:not([type=file]),textarea,select,#input-file-container{gap:var(--px-spacing-default-tablet);padding:var(--px-padding-xs-tablet) calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-s-tablet)) var(--px-padding-xs-tablet) var(--px-padding-s-tablet);font-size:var(--px-text-size-label-l-tablet);background-position:center right var(--px-padding-s-tablet);height:var(--px-size-l)!important}:is(input:not([type=file]),textarea,select,#input-file-container):focus-visible:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]){outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.success,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.error{background-position:center right calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet)), center right var(--px-padding-s-tablet)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]{min-width:8.5rem;padding-right:calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet))}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time])::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-tablet) + var(--px-size-icon-s) ) * -1)}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).error,:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).success{background-position:center right calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]{padding-right:calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet) + var(--px-size-icon-s) + var(--px-spacing-s-tablet))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]::-webkit-search-cancel-button{margin-right:calc(( var(--px-spacing-xs-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet) ) * -1);margin-left:var(--px-spacing-s-tablet)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:focus::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-tablet)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:hover::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-tablet)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-tablet) + var(--px-spacing-xs-tablet) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-tablet) + var(--px-spacing-xs-tablet) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-tablet)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-tablet)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:focus-visible,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:focus-visible{background-position:center right var(--px-padding-s-tablet)}:is(input:not([type=file]),textarea,select,#input-file-container):is(select){padding-right:calc(var(--px-padding-s-tablet) + var(--px-size-icon-s))}:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error{padding-right:calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet) + var(--px-size-icon-s) + var(--px-spacing-s-tablet))}:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container{background-position:center right var(--px-padding-s-tablet)}slot{font-size:var(--px-text-size-label-m-tablet)}slot[name=helper]{font-size:var(--px-text-size-label-s-tablet)}#container,#label-helper{gap:var(--px-spacing-2xs-tablet)}}@media screen and (width>=64.0625rem) and (width<=90rem){:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).extended--laptop{width:100%}:host([extended--laptop]) #container{width:100%}}@media screen and (width>=64.0625rem){:host([auto-complete]) input{--autocomplete-search-icon-width:calc(2 * var(--px-spacing-xs-laptop) + 2 * var(--px-padding-xs-laptop) + var(--px-size-icon-s))}:host([auto-complete]) input.success{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-laptop) + var(--px-padding-xs-laptop) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop)), center right var(--px-padding-s-laptop);background-image:var(--icon-success), var(--icon-search)!important}:host([auto-complete]) input.error{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-laptop) + var(--px-padding-xs-laptop) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop)), center right var(--px-padding-s-laptop);background-image:var(--icon-error), var(--icon-search)!important}input:not([type=file]),textarea,select,#input-file-container{gap:var(--px-spacing-default-laptop);padding:var(--px-padding-xs-laptop) calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-s-laptop)) var(--px-padding-xs-laptop) var(--px-padding-s-laptop);font-size:var(--px-text-size-label-l-laptop);background-position:center right var(--px-padding-s-laptop)}:is(input:not([type=file]),textarea,select,#input-file-container):focus-visble:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]){outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.success,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.error{background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop)), center right var(--px-padding-s-laptop)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]{min-width:8.5rem;padding-right:calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop))}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time])::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-laptop) + var(--px-size-icon-s) ) * -1)}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).error,:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).success{background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]{padding-right:calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop) + var(--px-size-icon-s) + var(--px-spacing-s-laptop))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]::-webkit-search-cancel-button{margin-right:calc(( var(--px-spacing-xs-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop) ) * -1);margin-left:var(--px-spacing-s-laptop)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:focus::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-laptop)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:hover::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-laptop)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-laptop) + var(--px-spacing-xs-laptop) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-laptop) + var(--px-spacing-xs-laptop) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-laptop)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-laptop)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:focus-visible,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:focus-visible{background-position:center right var(--px-padding-s-laptop)}:is(input:not([type=file]),textarea,select,#input-file-container):is(select){padding-right:calc(var(--px-padding-s-laptop) + var(--px-size-icon-s))}:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error{padding-right:calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop) + var(--px-size-icon-s) + var(--px-spacing-s-laptop))}:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container{background-position:center right var(--px-padding-s-laptop)}slot{font-size:var(--px-text-size-label-m-laptop)}slot[name=helper]{font-size:var(--px-text-size-label-s-laptop)}#container,#label-helper{gap:var(--px-spacing-2xs-laptop)}}@media screen and (width>=90.0625rem){:host([auto-complete]) input{--autocomplete-search-icon-width:calc(2 * var(--px-spacing-xs-desktop) + 2 * var(--px-padding-xs-desktop) + var(--px-size-icon-s))}:host([auto-complete]) input.success{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-laptop) + var(--px-padding-xs-laptop) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop)), center right var(--px-padding-s-laptop);background-image:var(--icon-success), var(--icon-search)!important}:host([auto-complete]) input.error{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-laptop) + var(--px-padding-xs-laptop) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop)), center right var(--px-padding-s-laptop);background-image:var(--icon-error), var(--icon-search)!important}input:not([type=file]),textarea,select,#input-file-container{gap:var(--px-spacing-default-desktop);padding:var(--px-padding-xs-desktop) calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-s-desktop)) var(--px-padding-xs-desktop) var(--px-padding-s-desktop);font-size:var(--px-text-size-label-l-desktop);background-position:center right var(--px-padding-s-desktop)}:is(input:not([type=file]),textarea,select,#input-file-container):focus-visble:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]){outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.success,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.error{background-position:center right calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop)), center right var(--px-padding-s-desktop)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]{min-width:8.5rem;padding-right:calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop))}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time])::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-desktop) + var(--px-size-icon-s) ) * -1)}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).error,:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).success{background-position:center right calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]{padding-right:calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop) + var(--px-size-icon-s) + var(--px-spacing-s-desktop))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]::-webkit-search-cancel-button{margin-right:calc(( var(--px-spacing-xs-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop) ) * -1);margin-left:var(--px-spacing-s-desktop)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:focus::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-desktop)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:hover::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-desktop)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-desktop) + var(--px-spacing-xs-desktop) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-desktop) + var(--px-spacing-xs-desktop) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus-visible::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-desktop)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-desktop)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:focus-visible,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:focus-visible{background-position:center right var(--px-padding-s-desktop)}:is(input:not([type=file]),textarea,select,#input-file-container):is(select){padding-right:calc(var(--px-padding-s-desktop) + var(--px-size-icon-s))}:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error{padding-right:calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop) + var(--px-size-icon-s) + var(--px-spacing-s-desktop))}:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container{background-position:center right var(--px-padding-s-desktop)}:is(input:not([type=file]),textarea,select,#input-file-container).extended--desktop{width:100%}:host([extended--desktop]) #container{width:100%}slot{font-size:var(--px-text-size-label-m-desktop)}slot[name=helper]{font-size:var(--px-text-size-label-s-desktop)}#container{gap:var(--px-spacing-2xs-laptop)}#label-helper{gap:var(--px-spacing-2xs-desktop)}}:host([hidden-label]) #label-helper{position:absolute}:host([hidden-label]) #container,:host([hidden-label]) #label-helper{gap:0}", T = new CSSStyleSheet();
|
|
167
|
+
T.replaceSync(w);
|
|
168
|
+
var E = /* @__PURE__ */ function(e) {
|
|
169
|
+
return e.ERROR = "error", e.SUCCESS = "success", e;
|
|
170
|
+
}({}), D = class extends t {
|
|
169
171
|
constructor() {
|
|
170
172
|
super(T), this.containerTemplate = () => `
|
|
171
173
|
<div id="container">
|
|
@@ -176,7 +178,12 @@ var E = class extends t {
|
|
|
176
178
|
</div>
|
|
177
179
|
${this.template()}
|
|
178
180
|
</div>
|
|
179
|
-
`, this.
|
|
181
|
+
`, this.onNativeChange = () => {
|
|
182
|
+
this.internals?.setFormValue(this.formData()), this.dispatchEvent(new CustomEvent("change", {
|
|
183
|
+
bubbles: !0,
|
|
184
|
+
composed: !0
|
|
185
|
+
}));
|
|
186
|
+
}, this.onHelperSlotChange = () => this.setupAriaDescribedBy(this.$slotHelper, this.$helperSlot, "helper"), this.onStatusTextSlotChange = () => this.setupAriaDescribedBy(this.$slotStatusText, this.$statusTextSlot, "status-text"), this.shadowRoot.innerHTML = this.containerTemplate(), this.internals = this.attachInternals?.();
|
|
180
187
|
}
|
|
181
188
|
static get observedAttributes() {
|
|
182
189
|
return [
|
|
@@ -186,28 +193,25 @@ var E = class extends t {
|
|
|
186
193
|
"extended--mobile",
|
|
187
194
|
"extended--tablet",
|
|
188
195
|
"extended--laptop",
|
|
189
|
-
"extended--desktop"
|
|
196
|
+
"extended--desktop",
|
|
197
|
+
"aria-describedby"
|
|
190
198
|
];
|
|
191
199
|
}
|
|
192
200
|
attributeChangedCallback(e, t, n) {
|
|
193
|
-
e === "state" && t !== n ? this.stateChangeCallback(t, n) : (e === "extended" || e === "extended--mobile" || e === "extended--tablet" || e === "extended--laptop" || e === "extended--desktop") && t !== n ? this.$el.classList.toggle(e) : super.attributeChangedCallback(e, t, n);
|
|
201
|
+
e === "aria-describedby" && t !== n ? v(this, this.$el, !1) : e === "state" && t !== n ? this.stateChangeCallback(t, n) : (e === "extended" || e === "extended--mobile" || e === "extended--tablet" || e === "extended--laptop" || e === "extended--desktop") && t !== n ? this.$el.classList.toggle(e) : super.attributeChangedCallback(e, t, n);
|
|
194
202
|
}
|
|
195
203
|
stateChangeCallback(e, t) {
|
|
196
|
-
this.$el.classList.remove(e), this.$el.classList.toggle(t), t === "error" ? (this.$statusTextSlot.classList.toggle("error"), this.$el.
|
|
204
|
+
this.$el.classList.remove(e), this.$el.classList.toggle(t), t === "error" ? (this.$statusTextSlot.classList.toggle("error"), this.$el.setAttribute("aria-invalid", "true"), this.internals && (this.internals.ariaInvalid = "true"), this.$statusTextSlot.classList.remove("success")) : t === "success" ? (this.$statusTextSlot.classList.remove("error"), this.$statusTextSlot.classList.toggle("success")) : (this.$el.removeAttribute("aria-invalid"), this.internals && (this.internals.ariaInvalid = null), this.$statusTextSlot.classList.remove("error", "success"), this.$labelSlot.classList.remove("error", "success"), this.$el.style.backgroundImage = ""), this.setupAriaDescribedBy(this.$slotHelper, this.$helperSlot, "helper"), this.setupAriaDescribedBy(this.$slotStatusText, this.$statusTextSlot, "status-text");
|
|
197
205
|
}
|
|
198
206
|
formData() {
|
|
199
207
|
let e = new FormData(), t = this.getAttribute("name");
|
|
200
208
|
return this.$el.name && t && e.append(t, this.$el.value), e;
|
|
201
209
|
}
|
|
202
210
|
connectedCallback() {
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
composed: !0
|
|
208
|
-
}));
|
|
209
|
-
});
|
|
210
|
-
}), this.setupForId(), this.setupAriaDescribedBy(this.$slotHelper, this.$helperSlot, "helper"), this.setupAriaDescribedBy(this.$slotStatusText, this.$statusTextSlot, "status-text");
|
|
211
|
+
this.$el?.addEventListener("change", this.onNativeChange), this.setupForId(), this.setupAriaDescribedBy(this.$slotHelper, this.$helperSlot, "helper"), this.setupAriaDescribedBy(this.$slotStatusText, this.$statusTextSlot, "status-text"), this.$helperSlot.addEventListener("slotchange", this.onHelperSlotChange), this.$statusTextSlot.addEventListener("slotchange", this.onStatusTextSlotChange);
|
|
212
|
+
}
|
|
213
|
+
disconnectedCallback() {
|
|
214
|
+
this.$el?.removeEventListener("change", this.onNativeChange), this.$helperSlot.removeEventListener("slotchange", this.onHelperSlotChange), this.$statusTextSlot.removeEventListener("slotchange", this.onStatusTextSlotChange);
|
|
211
215
|
}
|
|
212
216
|
static get formAssociated() {
|
|
213
217
|
return !0;
|
|
@@ -219,15 +223,16 @@ var E = class extends t {
|
|
|
219
223
|
this.$el.value = e;
|
|
220
224
|
}
|
|
221
225
|
setupForId() {
|
|
222
|
-
let e = Math.random().toString(36).substr(2, 9);
|
|
226
|
+
let e = this.instanceId ??= Math.random().toString(36).substr(2, 9);
|
|
223
227
|
this.$el.setAttribute("id", e), this.$label && this.$label.setAttribute("for", e);
|
|
224
228
|
}
|
|
225
229
|
setupAriaDescribedBy(e, t, n) {
|
|
226
|
-
if (
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
230
|
+
if (!this.$el?.hasAttribute("id")) return;
|
|
231
|
+
let r = `${this.$el.id}-${n}`, i = (this.$el.getAttribute("aria-describedby") ?? "").split(" ").filter((e) => e && e !== r);
|
|
232
|
+
e.length > 0 && (t.setAttribute("id", r), i.push(r)), i.sort((e, t) => this.ariaDescribedByRank(e) - this.ariaDescribedByRank(t)), i.length > 0 ? this.$el.setAttribute("aria-describedby", i.join(" ")) : this.$el.removeAttribute("aria-describedby");
|
|
233
|
+
}
|
|
234
|
+
ariaDescribedByRank(e) {
|
|
235
|
+
return e.endsWith("-status-text") ? 0 : e.endsWith("-helper") ? 1 : 2;
|
|
231
236
|
}
|
|
232
237
|
get state() {
|
|
233
238
|
return this.getAttribute("state");
|
|
@@ -286,7 +291,7 @@ var E = class extends t {
|
|
|
286
291
|
get $slotStatusText() {
|
|
287
292
|
return this.querySelectorAll("[slot=\"status-text\"]");
|
|
288
293
|
}
|
|
289
|
-
},
|
|
294
|
+
}, se = class extends D {
|
|
290
295
|
static {
|
|
291
296
|
this.nativeName = "input";
|
|
292
297
|
}
|
|
@@ -312,7 +317,7 @@ var E = class extends t {
|
|
|
312
317
|
}
|
|
313
318
|
}
|
|
314
319
|
disconnectedCallback() {
|
|
315
|
-
this.observer?.disconnect();
|
|
320
|
+
super.disconnectedCallback(), this.observer?.disconnect();
|
|
316
321
|
}
|
|
317
322
|
template() {
|
|
318
323
|
return "<div><input type=\"text\" /></div>";
|
|
@@ -327,10 +332,10 @@ var E = class extends t {
|
|
|
327
332
|
return this.shadowRoot.querySelector("div");
|
|
328
333
|
}
|
|
329
334
|
};
|
|
330
|
-
customElements.get("px-input") || customElements.define("px-input",
|
|
335
|
+
customElements.get("px-input") || customElements.define("px-input", se);
|
|
331
336
|
//#endregion
|
|
332
337
|
//#region ../../components/Input/src/TextArea.ts
|
|
333
|
-
var
|
|
338
|
+
var ce = class extends D {
|
|
334
339
|
static {
|
|
335
340
|
this.nativeName = "textarea";
|
|
336
341
|
}
|
|
@@ -341,10 +346,10 @@ var se = class extends E {
|
|
|
341
346
|
return "<textarea></textarea>";
|
|
342
347
|
}
|
|
343
348
|
};
|
|
344
|
-
customElements.get("px-textarea") || customElements.define("px-textarea",
|
|
349
|
+
customElements.get("px-textarea") || customElements.define("px-textarea", ce);
|
|
345
350
|
//#endregion
|
|
346
351
|
//#region ../../components/Input/src/Select.ts
|
|
347
|
-
var
|
|
352
|
+
var le = class extends D {
|
|
348
353
|
static {
|
|
349
354
|
this.nativeName = "select";
|
|
350
355
|
}
|
|
@@ -353,6 +358,7 @@ var ce = class extends E {
|
|
|
353
358
|
}
|
|
354
359
|
constructor() {
|
|
355
360
|
super(), this.observer = null, this.#e = () => {
|
|
361
|
+
if (!this.$el) return;
|
|
356
362
|
let e = Array.from(this.children).filter((e) => {
|
|
357
363
|
let t = e.tagName.toLowerCase();
|
|
358
364
|
return t === "option" || t === "optgroup";
|
|
@@ -371,13 +377,13 @@ var ce = class extends E {
|
|
|
371
377
|
}
|
|
372
378
|
#e;
|
|
373
379
|
disconnectedCallback() {
|
|
374
|
-
this.observer?.disconnect();
|
|
380
|
+
super.disconnectedCallback(), this.observer?.disconnect();
|
|
375
381
|
}
|
|
376
382
|
};
|
|
377
|
-
customElements.get("px-select") || customElements.define("px-select",
|
|
383
|
+
customElements.get("px-select") || customElements.define("px-select", le);
|
|
378
384
|
//#endregion
|
|
379
385
|
//#region ../../components/Input/src/Upload.ts
|
|
380
|
-
var
|
|
386
|
+
var ue = class extends D {
|
|
381
387
|
static {
|
|
382
388
|
this.nativeName = "input";
|
|
383
389
|
}
|
|
@@ -392,7 +398,7 @@ var le = class extends E {
|
|
|
392
398
|
});
|
|
393
399
|
}
|
|
394
400
|
template() {
|
|
395
|
-
return "<div id=\"input-file-container\"><span></span><input type=\"file\" /></
|
|
401
|
+
return "<div id=\"input-file-container\"><span></span><input type=\"file\" /></div>";
|
|
396
402
|
}
|
|
397
403
|
stateChangeCallback(e, t) {
|
|
398
404
|
super.stateChangeCallback(e, t), this.$container.classList.toggle(e), this.$container.classList.toggle(t);
|
|
@@ -407,18 +413,237 @@ var le = class extends E {
|
|
|
407
413
|
return this.shadowRoot.querySelector("input[type=\"file\"]");
|
|
408
414
|
}
|
|
409
415
|
};
|
|
410
|
-
customElements.get("px-fileupload") || customElements.define("px-fileupload",
|
|
416
|
+
customElements.get("px-fileupload") || customElements.define("px-fileupload", ue);
|
|
417
|
+
//#endregion
|
|
418
|
+
//#region ../../components/Input/src/code-input.css?inline
|
|
419
|
+
var de = ":host{--code-box-width:2.813rem;--code-gap:var(--px-spacing-xs-mobile);display:block}:host *{box-sizing:border-box}.code-input{gap:var(--code-gap);display:flex}.code-input .code-input-cell{width:var(--code-box-width);text-align:center;cursor:text;padding:var(--px-padding-s-mobile)!important;background:var(--px-color-background-container-default-default)!important;height:2.75rem!important;box-shadow:var(--px-color-border-neutral-default) 0 0 0px var(--px-size-border-m) inset!important}.code-input .code-input-cell:hover:not(:disabled,:read-only){box-shadow:var(--px-color-border-state-hover-default) 0 0 0px var(--px-size-border-l) inset!important;background-color:var(--px-color-background-state-hover-bordered-default)!important}.code-input .code-input-cell.error{box-shadow:var(--px-color-border-purpose-error-default) 0 0 0px var(--px-size-border-m) inset!important;background-image:none!important}.code-input .code-input-cell.success{box-shadow:var(--px-color-border-purpose-success-default) 0 0 0px var(--px-size-border-m) inset!important;background-image:none!important}.code-input .code-input-cell:read-only,.code-input .code-input-cell:disabled{box-shadow:none!important;background:0 0!important}.code-input .code-input-single{width:calc(var(--code-cell-count) * var(--code-box-width) + (var(--code-cell-count) - 1) * var(--code-gap));text-align:left;caret-color:var(--px-color-text-neutral-default)}.code-input .code-input-single::selection{color:highlighttext;background-color:highlight}@media screen and (width>=48rem){:host{--code-gap:var(--px-spacing-xs-tablet)}}@media screen and (width>=64.0625rem){:host{--code-gap:var(--px-spacing-xs-laptop)}}@media screen and (width>=90.0625rem){:host{--code-gap:var(--px-spacing-xs-desktop)}}", O = new CSSStyleSheet();
|
|
420
|
+
O.replaceSync(de);
|
|
421
|
+
var k = class e extends D {
|
|
422
|
+
static {
|
|
423
|
+
this.styles = O;
|
|
424
|
+
}
|
|
425
|
+
static {
|
|
426
|
+
this.nativeName = "input";
|
|
427
|
+
}
|
|
428
|
+
static {
|
|
429
|
+
this.accessorExclusions = [
|
|
430
|
+
"value",
|
|
431
|
+
"readOnly",
|
|
432
|
+
"disabled"
|
|
433
|
+
];
|
|
434
|
+
}
|
|
435
|
+
template() {
|
|
436
|
+
return "<div class=\"code-input\"></div>";
|
|
437
|
+
}
|
|
438
|
+
constructor() {
|
|
439
|
+
super(), this.onContainerInput = (e) => {
|
|
440
|
+
let t = this.cellIndexOf(e.target);
|
|
441
|
+
t !== -1 && this.onCellInput(e.target, t);
|
|
442
|
+
}, this.onContainerKeydown = (e) => {
|
|
443
|
+
let t = this.cellIndexOf(e.target);
|
|
444
|
+
t !== -1 && this.onCellKeydown(e, e.target, t);
|
|
445
|
+
}, this.onContainerPaste = (e) => {
|
|
446
|
+
let t = this.cellIndexOf(e.target);
|
|
447
|
+
t !== -1 && this.onCellPaste(e, t);
|
|
448
|
+
}, this.onCellInput = (e, t) => {
|
|
449
|
+
if (e.value.length > 1) {
|
|
450
|
+
this.distributeFrom(t, e.value);
|
|
451
|
+
return;
|
|
452
|
+
}
|
|
453
|
+
this.syncFormValue();
|
|
454
|
+
let n = this.$cells[t + 1];
|
|
455
|
+
e.value.length > 0 && n && (n.focus(), n.select());
|
|
456
|
+
}, this.onCellKeydown = (e, t, n) => {
|
|
457
|
+
if (e.key === "Backspace") {
|
|
458
|
+
let r = this.$cells[n - 1];
|
|
459
|
+
t.value === "" && r && (e.preventDefault(), r.value = "", r.focus(), this.syncFormValue());
|
|
460
|
+
return;
|
|
461
|
+
}
|
|
462
|
+
if (e.key === "ArrowLeft" && t.selectionStart === 0 && t.selectionEnd === 0) {
|
|
463
|
+
let t = this.$cells[n - 1];
|
|
464
|
+
t && (e.preventDefault(), t.focus(), t.setSelectionRange(t.value.length, t.value.length));
|
|
465
|
+
return;
|
|
466
|
+
}
|
|
467
|
+
if (e.key === "ArrowRight" && t.selectionStart === t.value.length && t.selectionEnd === t.value.length) {
|
|
468
|
+
let t = this.$cells[n + 1];
|
|
469
|
+
t && (e.preventDefault(), t.focus(), t.setSelectionRange(0, 0));
|
|
470
|
+
}
|
|
471
|
+
}, this.onCellPaste = (e, t) => {
|
|
472
|
+
let n = e.clipboardData?.getData("text") ?? "";
|
|
473
|
+
n && (e.preventDefault(), this.distributeFrom(t, n));
|
|
474
|
+
}, this.shadowRoot.adoptedStyleSheets = [...this.shadowRoot.adoptedStyleSheets ?? [], O], this.setupInputs();
|
|
475
|
+
}
|
|
476
|
+
connectedCallback() {
|
|
477
|
+
super.connectedCallback();
|
|
478
|
+
let e = this.$container;
|
|
479
|
+
e.addEventListener("input", this.onContainerInput), e.addEventListener("keydown", this.onContainerKeydown), e.addEventListener("paste", this.onContainerPaste), this.syncGroupAria();
|
|
480
|
+
}
|
|
481
|
+
disconnectedCallback() {
|
|
482
|
+
super.disconnectedCallback();
|
|
483
|
+
let e = this.$container;
|
|
484
|
+
e?.removeEventListener("input", this.onContainerInput), e?.removeEventListener("keydown", this.onContainerKeydown), e?.removeEventListener("paste", this.onContainerPaste), this.$inputs.forEach((e) => e.removeEventListener("change", this.onNativeChange));
|
|
485
|
+
}
|
|
486
|
+
static get observedAttributes() {
|
|
487
|
+
return [...super.observedAttributes, "inputmode"];
|
|
488
|
+
}
|
|
489
|
+
static {
|
|
490
|
+
this.forwardedAttributes = [
|
|
491
|
+
"type",
|
|
492
|
+
"inputmode",
|
|
493
|
+
"pattern",
|
|
494
|
+
"autocomplete"
|
|
495
|
+
];
|
|
496
|
+
}
|
|
497
|
+
attributeChangedCallback(t, n, r) {
|
|
498
|
+
if (n !== r) {
|
|
499
|
+
if (e.forwardedAttributes.includes(t)) {
|
|
500
|
+
this.syncCellAttributes();
|
|
501
|
+
return;
|
|
502
|
+
}
|
|
503
|
+
switch (t) {
|
|
504
|
+
case "size":
|
|
505
|
+
case "readonly":
|
|
506
|
+
case "disabled":
|
|
507
|
+
this.setupInputs();
|
|
508
|
+
break;
|
|
509
|
+
case "value":
|
|
510
|
+
this.setValue(r ?? "");
|
|
511
|
+
break;
|
|
512
|
+
default: super.attributeChangedCallback(t, n, r);
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
stateChangeCallback(e, t) {
|
|
517
|
+
this.$inputs.forEach((n) => {
|
|
518
|
+
n.classList.remove(e), n.classList.toggle(t), t === E.ERROR ? n.setAttribute("aria-invalid", "true") : n.removeAttribute("aria-invalid");
|
|
519
|
+
}), t === E.ERROR ? (this.$statusTextSlot.classList.toggle("error"), this.internals && (this.internals.ariaInvalid = "true"), this.$statusTextSlot.classList.remove("success")) : t === E.SUCCESS ? (this.$statusTextSlot.classList.remove("error"), this.$statusTextSlot.classList.toggle("success")) : (this.internals && (this.internals.ariaInvalid = null), this.$statusTextSlot.classList.remove("error", "success"), this.$labelSlot.classList.remove("error", "success")), this.setupAriaDescribedBy(this.$slotHelper, this.$helperSlot, "helper"), this.setupAriaDescribedBy(this.$slotStatusText, this.$statusTextSlot, "status-text"), this.syncGroupAria();
|
|
520
|
+
}
|
|
521
|
+
formData() {
|
|
522
|
+
let e = new FormData(), t = this.getAttribute("name");
|
|
523
|
+
return t && e.append(t, this.getValue()), e;
|
|
524
|
+
}
|
|
525
|
+
formResetCallback() {
|
|
526
|
+
this.setValue("");
|
|
527
|
+
}
|
|
528
|
+
formStateRestoreCallback(e) {
|
|
529
|
+
this.setValue(e ?? "");
|
|
530
|
+
}
|
|
531
|
+
setupInputs() {
|
|
532
|
+
let e = this.$container;
|
|
533
|
+
if (!e) return;
|
|
534
|
+
let t = this.getValue(), n = parseInt(this.getAttribute("size") || "6", 10);
|
|
535
|
+
if (e.innerHTML = "", e.style.setProperty("--code-cell-count", `${n}`), this.isCollapsed) e.appendChild(this.createSingleInput(n));
|
|
536
|
+
else for (let t = 0; t < n; t++) e.appendChild(this.createCell(t, n));
|
|
537
|
+
this.setValue(t || this.getAttribute("value") || ""), this.syncCellAttributes(), this.$inputs.forEach((e) => e.addEventListener("change", this.onNativeChange)), this.restoreLabelAssociation();
|
|
538
|
+
}
|
|
539
|
+
syncCellAttributes() {
|
|
540
|
+
e.forwardedAttributes.forEach((e) => {
|
|
541
|
+
let t = this.getAttribute(e);
|
|
542
|
+
this.$inputs.forEach((n) => {
|
|
543
|
+
t === null ? n.removeAttribute(e) : n.setAttribute(e, t);
|
|
544
|
+
});
|
|
545
|
+
});
|
|
546
|
+
}
|
|
547
|
+
get isCollapsed() {
|
|
548
|
+
return this.hasAttribute("readonly") || this.hasAttribute("disabled");
|
|
549
|
+
}
|
|
550
|
+
createSingleInput(e) {
|
|
551
|
+
let t = document.createElement("input");
|
|
552
|
+
return t.className = "code-input-single", t.size = e, t.maxLength = e, t.readOnly = this.hasAttribute("readonly"), t.disabled = this.hasAttribute("disabled"), t;
|
|
553
|
+
}
|
|
554
|
+
restoreLabelAssociation() {
|
|
555
|
+
this.isConnected && this.$el && (this.setupForId(), this.setupAriaDescribedBy(this.$slotHelper, this.$helperSlot, "helper"), this.setupAriaDescribedBy(this.$slotStatusText, this.$statusTextSlot, "status-text"), this.syncGroupAria());
|
|
556
|
+
}
|
|
557
|
+
syncGroupAria() {
|
|
558
|
+
let e = this.$container;
|
|
559
|
+
if (!e) return;
|
|
560
|
+
if (this.$single) {
|
|
561
|
+
e.removeAttribute("role"), e.removeAttribute("aria-labelledby");
|
|
562
|
+
return;
|
|
563
|
+
}
|
|
564
|
+
e.setAttribute("role", "group");
|
|
565
|
+
let t = this.$label;
|
|
566
|
+
t && this.$el && (t.id ||= `${this.$el.id}-label`, e.setAttribute("aria-labelledby", t.id));
|
|
567
|
+
let n = this.$el?.getAttribute("aria-describedby");
|
|
568
|
+
this.$cells.forEach((e, t) => {
|
|
569
|
+
e !== this.$el && (e.id = `${this.$el.id}-cell-${t + 1}`, n ? e.setAttribute("aria-describedby", n) : e.removeAttribute("aria-describedby"));
|
|
570
|
+
});
|
|
571
|
+
}
|
|
572
|
+
createCell(e, t) {
|
|
573
|
+
let n = document.createElement("input");
|
|
574
|
+
return n.maxLength = 1, n.className = "code-input-cell", n.setAttribute("aria-label", `Digit ${e + 1} of ${t}`), n.readOnly = this.hasAttribute("readonly"), n.disabled = this.hasAttribute("disabled"), n;
|
|
575
|
+
}
|
|
576
|
+
cellIndexOf(e) {
|
|
577
|
+
return this.$cells.indexOf(e);
|
|
578
|
+
}
|
|
579
|
+
distributeFrom(e, t) {
|
|
580
|
+
let n = t.split(""), r = this.$cells, i = e - 1;
|
|
581
|
+
for (let t = e; t < r.length && n.length > 0; t++) r[t].value = n.shift() ?? "", i = t;
|
|
582
|
+
this.syncFormValue(), r[Math.min(i + 1, r.length - 1)]?.focus();
|
|
583
|
+
}
|
|
584
|
+
getValue() {
|
|
585
|
+
let e = this.$single;
|
|
586
|
+
return e ? e.value : this.$cells.map((e) => e.value).join("");
|
|
587
|
+
}
|
|
588
|
+
setValue(e) {
|
|
589
|
+
let t = this.$single;
|
|
590
|
+
t ? t.value = e : this.$cells.forEach((t, n) => {
|
|
591
|
+
t.value = e[n] ?? "";
|
|
592
|
+
}), this.syncFormValue();
|
|
593
|
+
}
|
|
594
|
+
syncFormValue() {
|
|
595
|
+
this.internals?.setFormValue(this.formData()), this.dispatchEvent(new Event("input", {
|
|
596
|
+
bubbles: !0,
|
|
597
|
+
composed: !0
|
|
598
|
+
}));
|
|
599
|
+
}
|
|
600
|
+
get $cells() {
|
|
601
|
+
return Array.from(this.shadowRoot.querySelectorAll(".code-input-cell"));
|
|
602
|
+
}
|
|
603
|
+
get $single() {
|
|
604
|
+
return this.shadowRoot.querySelector(".code-input-single");
|
|
605
|
+
}
|
|
606
|
+
get $inputs() {
|
|
607
|
+
let e = this.$single;
|
|
608
|
+
return e ? [e] : this.$cells;
|
|
609
|
+
}
|
|
610
|
+
get $el() {
|
|
611
|
+
return this.$inputs[0];
|
|
612
|
+
}
|
|
613
|
+
get $container() {
|
|
614
|
+
return this.shadowRoot.querySelector(".code-input");
|
|
615
|
+
}
|
|
616
|
+
get value() {
|
|
617
|
+
return this.getValue();
|
|
618
|
+
}
|
|
619
|
+
set value(e) {
|
|
620
|
+
this.setValue(e ?? "");
|
|
621
|
+
}
|
|
622
|
+
get readOnly() {
|
|
623
|
+
return this.hasAttribute("readonly");
|
|
624
|
+
}
|
|
625
|
+
set readOnly(e) {
|
|
626
|
+
this._updateBooleanAttribute("readonly", e);
|
|
627
|
+
}
|
|
628
|
+
get disabled() {
|
|
629
|
+
return this.hasAttribute("disabled");
|
|
630
|
+
}
|
|
631
|
+
set disabled(e) {
|
|
632
|
+
this._updateBooleanAttribute("disabled", e);
|
|
633
|
+
}
|
|
634
|
+
};
|
|
635
|
+
customElements.get("px-code-input") || customElements.define("px-code-input", k);
|
|
411
636
|
//#endregion
|
|
412
637
|
//#region src/Autocomplete.ts
|
|
413
|
-
var
|
|
414
|
-
|
|
415
|
-
var
|
|
638
|
+
var A = new CSSStyleSheet();
|
|
639
|
+
A.replaceSync(y);
|
|
640
|
+
var j = class extends n {
|
|
416
641
|
static {
|
|
417
642
|
this.formAssociated = !0;
|
|
418
643
|
}
|
|
419
644
|
#e;
|
|
420
645
|
constructor() {
|
|
421
|
-
super(
|
|
646
|
+
super(A), this.#e = Math.random().toString(36).substring(2, 15), this.template = () => "\n<px-dropdown anchoralignment=\"bottom-left\" manual-toggle>\n <px-input slot=\"trigger\" auto-complete>\n <slot name=\"label\" slot=\"label\"></slot>\n <slot name=\"helper\" slot=\"helper\"></slot>\n <slot name=\"status-text\" slot=\"status-text\"></slot>\n </px-input>\n <div class=\"dropdown-content\" slot=\"popover\" role=\"listbox\">\n <slot name=\"dropdown-content\"></slot>\n </div>\n</px-dropdown>", this.#t = () => {
|
|
422
647
|
this.#i.length && (this.$input.$el.setAttribute("aria-expanded", "true"), this.$dropDownContent.style.width = `${this.$input.shadowRoot.querySelector("input")?.offsetWidth}px`, this.$dropDown.showPopover());
|
|
423
648
|
}, this.#n = (e) => {
|
|
424
649
|
if (e.key !== "ArrowDown" && e.key !== "ArrowUp" || this.$input.$el.getAttribute("aria-expanded") !== "true") return;
|
|
@@ -518,13 +743,13 @@ var O = class extends n {
|
|
|
518
743
|
return this.getAttribute("popover-height");
|
|
519
744
|
}
|
|
520
745
|
set popoverHeight(e) {
|
|
521
|
-
|
|
746
|
+
_(this, "popover-height", e);
|
|
522
747
|
}
|
|
523
748
|
};
|
|
524
|
-
customElements.get("px-autocomplete") || customElements.define("px-autocomplete",
|
|
749
|
+
customElements.get("px-autocomplete") || customElements.define("px-autocomplete", j);
|
|
525
750
|
//#endregion
|
|
526
751
|
//#region ../../components/Icon/common/src/IconSet.ts
|
|
527
|
-
var
|
|
752
|
+
var M = class extends HTMLElement {
|
|
528
753
|
constructor() {
|
|
529
754
|
super();
|
|
530
755
|
}
|
|
@@ -558,8 +783,8 @@ var k = class extends HTMLElement {
|
|
|
558
783
|
e && e.remove();
|
|
559
784
|
}
|
|
560
785
|
};
|
|
561
|
-
customElements.get("px-icon-set") || customElements.define("px-icon-set",
|
|
562
|
-
var
|
|
786
|
+
customElements.get("px-icon-set") || customElements.define("px-icon-set", M);
|
|
787
|
+
var N = [
|
|
563
788
|
"Inherit",
|
|
564
789
|
"Brand",
|
|
565
790
|
"Accent",
|
|
@@ -573,9 +798,9 @@ var A = [
|
|
|
573
798
|
"StateHover",
|
|
574
799
|
"StateActive",
|
|
575
800
|
"StateDisabled"
|
|
576
|
-
].map((e) => e.replace(/([A-Z])/g, "-$1").toLowerCase().slice(1)),
|
|
577
|
-
|
|
578
|
-
var
|
|
801
|
+
].map((e) => e.replace(/([A-Z])/g, "-$1").toLowerCase().slice(1)), P = ":host{flex-direction:column;justify-content:center;display:inline-flex}svg{font-size:var(--px-size-icon-s);width:1em;height:1em;color:var(--px-color-icon-accent-default);line-height:1}.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)}", F = new CSSStyleSheet();
|
|
802
|
+
F.replaceSync(P);
|
|
803
|
+
var I = class extends n {
|
|
579
804
|
#e = null;
|
|
580
805
|
#t;
|
|
581
806
|
#n = () => "<svg aria-hidden=\"true\">\n <use></use>\n </svg>";
|
|
@@ -592,7 +817,7 @@ var N = class extends n {
|
|
|
592
817
|
];
|
|
593
818
|
}
|
|
594
819
|
constructor(...e) {
|
|
595
|
-
super(...e,
|
|
820
|
+
super(...e, F), this.shadowRoot.innerHTML = this.#n(), this.#t = this.attachInternals?.(), this.#t && (this.#t.role = "img");
|
|
596
821
|
}
|
|
597
822
|
attributeChangedCallback(e, t, n) {
|
|
598
823
|
if (t !== n) switch (e) {
|
|
@@ -600,10 +825,10 @@ var N = class extends n {
|
|
|
600
825
|
this.updateName(t, n);
|
|
601
826
|
break;
|
|
602
827
|
case "size":
|
|
603
|
-
this.updateAttribute(e, t, n,
|
|
828
|
+
this.updateAttribute(e, t, n, m);
|
|
604
829
|
break;
|
|
605
830
|
case "color":
|
|
606
|
-
this.updateAttribute(e, t, n,
|
|
831
|
+
this.updateAttribute(e, t, n, N);
|
|
607
832
|
break;
|
|
608
833
|
case "disabled":
|
|
609
834
|
this.color = "state-disabled";
|
|
@@ -627,7 +852,7 @@ var N = class extends n {
|
|
|
627
852
|
!this.ariaLabel && this.#t && (this.#t.ariaHidden = "true", this.ariaHidden = "true"), this.parentElement?.localName === "px-a" && this.slot !== "before" && this.slot !== "after" && (this.color || this.setAttribute("color", "inherit"));
|
|
628
853
|
}
|
|
629
854
|
updateAttribute(e, t, n, r) {
|
|
630
|
-
t !== null && t !== "" && (e === "size" ? this.$el.classList.toggle(`${e}-${t}`) : this.$el.classList.toggle(t)), n !== null && n !== "" && (e === "size" ? this.$el.classList.toggle(`${e}-${n}`) : this.$el.classList.toggle(n)), this.checkName(r, n) ||
|
|
855
|
+
t !== null && t !== "" && (e === "size" ? this.$el.classList.toggle(`${e}-${t}`) : this.$el.classList.toggle(t)), n !== null && n !== "" && (e === "size" ? this.$el.classList.toggle(`${e}-${n}`) : this.$el.classList.toggle(n)), this.checkName(r, n) || h(`${n} is not an allowed ${e} value for ${this.tagName.toLowerCase()}`);
|
|
631
856
|
}
|
|
632
857
|
updateName(e, t) {
|
|
633
858
|
this.#e && this.$el.firstElementChild?.setAttribute("href", `${this.#e}#icon-${t}`);
|
|
@@ -639,25 +864,25 @@ var N = class extends n {
|
|
|
639
864
|
return this.getAttribute("name");
|
|
640
865
|
}
|
|
641
866
|
set name(e) {
|
|
642
|
-
|
|
867
|
+
_(this, "name", e);
|
|
643
868
|
}
|
|
644
869
|
get size() {
|
|
645
870
|
return this.getAttribute("size");
|
|
646
871
|
}
|
|
647
872
|
set size(e) {
|
|
648
|
-
|
|
873
|
+
_(this, "size", e);
|
|
649
874
|
}
|
|
650
875
|
get color() {
|
|
651
876
|
return this.getAttribute("color");
|
|
652
877
|
}
|
|
653
878
|
set color(e) {
|
|
654
|
-
|
|
879
|
+
_(this, "color", e);
|
|
655
880
|
}
|
|
656
881
|
get arialabel() {
|
|
657
882
|
return this.getAttribute("aria-label");
|
|
658
883
|
}
|
|
659
884
|
set arialabel(e) {
|
|
660
|
-
|
|
885
|
+
_(this, "aria-label", e);
|
|
661
886
|
}
|
|
662
887
|
get inverted() {
|
|
663
888
|
return this.hasAttribute("inverted");
|
|
@@ -669,7 +894,7 @@ var N = class extends n {
|
|
|
669
894
|
return this.getAttribute("from");
|
|
670
895
|
}
|
|
671
896
|
set from(e) {
|
|
672
|
-
|
|
897
|
+
_(this, "from", e);
|
|
673
898
|
}
|
|
674
899
|
get disabled() {
|
|
675
900
|
return this.hasAttribute("disabled");
|
|
@@ -678,18 +903,18 @@ var N = class extends n {
|
|
|
678
903
|
a(this, "disabled", e);
|
|
679
904
|
}
|
|
680
905
|
};
|
|
681
|
-
customElements.get("px-icon") || customElements.define("px-icon",
|
|
906
|
+
customElements.get("px-icon") || customElements.define("px-icon", I);
|
|
682
907
|
//#endregion
|
|
683
908
|
//#region ../../components/Container/src/container.css?inline
|
|
684
|
-
var P = ":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-left-style:none;border-right-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-left-style:none;border-right-style:none}.border-side-left{border-top-style:none;border-bottom-style:none;border-right-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-position:50%;background-size:cover}.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]){z-index:3;transform:translateY(-50%)}::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]){text-align:center;z-index:2;left:0;right:0;transform:translateY(-100%)}::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{grid-template-rows:subgrid;grid-row:span var(--subgrid-rows);display:grid}: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 (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-style:solid none none}.border-side-right--mobile{border-style:none solid none none}.border-side-bottom--mobile{border-style:none none solid}.border-side-left--mobile{border-style:none none none solid}.border-side-block--mobile{border-block-style:solid;border-inline-style:none}.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 (width>=48rem) and (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-style:solid none none}.border-side-right--tablet{border-style:none solid none none}.border-side-bottom--tablet{border-style:none none solid}.border-side-left--tablet{border-style:none none none solid}.border-side-block--tablet{border-block-style:solid;border-inline-style:none}.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 (width>=64.0625rem) and (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 (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-style:solid none none}.border-side-right--laptop{border-style:none solid none none}.border-side-bottom--laptop{border-style:none none solid}.border-side-left--laptop{border-style:none none none solid}.border-side-block--laptop{border-block-style:solid;border-inline-style:none}.border-side-inline--laptop{border-block-style:none;border-inline-style:solid}}@media screen and (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)}}", F = new CSSStyleSheet();
|
|
685
|
-
|
|
686
|
-
var
|
|
909
|
+
var L = ":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-left-style:none;border-right-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-left-style:none;border-right-style:none}.border-side-left{border-top-style:none;border-bottom-style:none;border-right-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-position:50%;background-size:cover}.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]){z-index:3;transform:translateY(-50%)}::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]){text-align:center;z-index:2;left:0;right:0;transform:translateY(-100%)}::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{grid-template-rows:subgrid;grid-row:span var(--subgrid-rows);display:grid}: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 (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-style:solid none none}.border-side-right--mobile{border-style:none solid none none}.border-side-bottom--mobile{border-style:none none solid}.border-side-left--mobile{border-style:none none none solid}.border-side-block--mobile{border-block-style:solid;border-inline-style:none}.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 (width>=48rem) and (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-style:solid none none}.border-side-right--tablet{border-style:none solid none none}.border-side-bottom--tablet{border-style:none none solid}.border-side-left--tablet{border-style:none none none solid}.border-side-block--tablet{border-block-style:solid;border-inline-style:none}.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 (width>=64.0625rem) and (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 (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-style:solid none none}.border-side-right--laptop{border-style:none solid none none}.border-side-bottom--laptop{border-style:none none solid}.border-side-left--laptop{border-style:none none none solid}.border-side-block--laptop{border-block-style:solid;border-inline-style:none}.border-side-inline--laptop{border-block-style:none;border-inline-style:solid}}@media screen and (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)}}", R = new CSSStyleSheet();
|
|
910
|
+
R.replaceSync(L);
|
|
911
|
+
var z = [
|
|
687
912
|
"top-patch",
|
|
688
913
|
"top-neighbor-patch",
|
|
689
914
|
"top-ribbon",
|
|
690
915
|
"top-neighbor-ribbon",
|
|
691
916
|
"top-patch-and-neighbor-ribbon"
|
|
692
|
-
],
|
|
917
|
+
], B = [
|
|
693
918
|
"1",
|
|
694
919
|
"2",
|
|
695
920
|
"3",
|
|
@@ -702,21 +927,21 @@ var I = [
|
|
|
702
927
|
"10",
|
|
703
928
|
"11",
|
|
704
929
|
"12"
|
|
705
|
-
],
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
],
|
|
930
|
+
], V = (e, t, n) => `:host([${e}${n ? `--${n}` : ""}='${t}']) .container`, H = "px-padding", fe = [
|
|
931
|
+
d("padding", V, g, H, "--container-padding"),
|
|
932
|
+
d("padding-inline", V, g, H),
|
|
933
|
+
d("padding-block", V, g, H),
|
|
934
|
+
d("padding-top", V, g, H),
|
|
935
|
+
d("padding-right", V, g, H, "--container-padding-right"),
|
|
936
|
+
d("padding-bottom", V, g, H),
|
|
937
|
+
d("padding-left", V, g, H, "--container-padding-left"),
|
|
938
|
+
d("gap", V, f, "px-spacing", void 0, "subgrid-gap")
|
|
939
|
+
], pe = class extends n {
|
|
715
940
|
static {
|
|
716
941
|
this.nativeName = "div";
|
|
717
942
|
}
|
|
718
943
|
constructor() {
|
|
719
|
-
super(
|
|
944
|
+
super(R, ...fe), this.template = () => "<div class=\"container\">\n <slot></slot>\n <slot name=\"anchor-left\"></slot>\n <slot name=\"anchor-right\"></slot>\n <slot name=\"anchor-full\"></slot>\n </div>", this._bgObserver = null, this._isInViewport = !1, this.contentObserver = null, this.shadowRoot.innerHTML = this.template();
|
|
720
945
|
}
|
|
721
946
|
static get observedAttributes() {
|
|
722
947
|
return [
|
|
@@ -790,7 +1015,7 @@ var I = [
|
|
|
790
1015
|
case "no-border-radius--mobile":
|
|
791
1016
|
case "no-border-radius--tablet":
|
|
792
1017
|
case "no-border-radius--laptop":
|
|
793
|
-
this.updateNoBorderRadius(e, t, n,
|
|
1018
|
+
this.updateNoBorderRadius(e, t, n, ie);
|
|
794
1019
|
break;
|
|
795
1020
|
case "background-color":
|
|
796
1021
|
case "background-color--mobile":
|
|
@@ -820,13 +1045,13 @@ var I = [
|
|
|
820
1045
|
this.updateAttribute(e, t, n, ee);
|
|
821
1046
|
break;
|
|
822
1047
|
case "anchor-offset":
|
|
823
|
-
this.updateAnchorOffset(t, n,
|
|
1048
|
+
this.updateAnchorOffset(t, n, g);
|
|
824
1049
|
break;
|
|
825
1050
|
case "anchor-spacing":
|
|
826
|
-
this.updateAnchorSpacing(t, n,
|
|
1051
|
+
this.updateAnchorSpacing(t, n, z);
|
|
827
1052
|
break;
|
|
828
1053
|
case "subgrid-rows":
|
|
829
|
-
this.updateSubgridRows(e, t, n,
|
|
1054
|
+
this.updateSubgridRows(e, t, n, B);
|
|
830
1055
|
break;
|
|
831
1056
|
default: super.attributeChangedCallback(e, t, n);
|
|
832
1057
|
}
|
|
@@ -846,32 +1071,32 @@ var I = [
|
|
|
846
1071
|
this.$el.style.setProperty(`--${e}`, `url("${t}")`);
|
|
847
1072
|
}
|
|
848
1073
|
updateGradient(e, t) {
|
|
849
|
-
if (this.checkName(
|
|
1074
|
+
if (this.checkName(p, t)) {
|
|
850
1075
|
let n = this.splitAttrNameFromBreakpoint(e);
|
|
851
1076
|
e = n.attrName;
|
|
852
1077
|
let r = n.breakpoint;
|
|
853
1078
|
this.$el.style.setProperty(`--${e}${r}`, `linear-gradient(var(--px-color-background-gradient-${t}))`);
|
|
854
|
-
} else
|
|
1079
|
+
} else h(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${p.join("\", \"")}".`);
|
|
855
1080
|
}
|
|
856
1081
|
updateBackgroundColor(e, t) {
|
|
857
1082
|
let n = t.startsWith("surface-");
|
|
858
1083
|
if (this.checkName(r, t)) {
|
|
859
1084
|
let r = this.splitAttrNameFromBreakpoint(e), i = r.breakpoint;
|
|
860
1085
|
this.$el.style.setProperty(`--${r.attrName}${i}`, `var(--px-color-background-${t}${n ? "" : "-default"})`), this.$el.style.setProperty(`--${r.attrName}-inverted${i}`, `var(--px-color-background-${t}${n ? "" : "-inverted"})`);
|
|
861
|
-
} else
|
|
1086
|
+
} else h(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
862
1087
|
}
|
|
863
1088
|
updateBorderColor(e, t) {
|
|
864
|
-
this.checkName(o, t) ? (this.$el.style.setProperty(`--${e}`, `var(--px-color-border-${t}-default)`), this.$el.style.setProperty(`--${e}-inverted`, `var(--px-color-border-${t}-inverted)`)) :
|
|
1089
|
+
this.checkName(o, t) ? (this.$el.style.setProperty(`--${e}`, `var(--px-color-border-${t}-default)`), this.$el.style.setProperty(`--${e}-inverted`, `var(--px-color-border-${t}-inverted)`)) : h(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join("\", \"")}".`);
|
|
865
1090
|
}
|
|
866
1091
|
updateNoBorderRadius(e, t, n, r) {
|
|
867
|
-
if (!this.checkName(r, n))
|
|
1092
|
+
if (!this.checkName(r, n)) h(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
868
1093
|
else {
|
|
869
1094
|
let r = this.splitAttrNameFromBreakpoint(e), i = r.breakpoint;
|
|
870
1095
|
t !== null && t !== "" && this.$el.classList.toggle(`${r.attrName}-${t}${i}`), n !== null && n !== "" && this.$el.classList.toggle(`${r.attrName}-${n}${i}`);
|
|
871
1096
|
}
|
|
872
1097
|
}
|
|
873
1098
|
updateAttribute(e, t, n, r) {
|
|
874
|
-
if (!this.checkName(r, n))
|
|
1099
|
+
if (!this.checkName(r, n)) h(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
875
1100
|
else {
|
|
876
1101
|
let r = this.splitAttrNameFromBreakpoint(e), i = r.breakpoint;
|
|
877
1102
|
t !== null && t !== "" && this.$el.classList.toggle(`${r.attrName}-${t}${i}`), n !== null && n !== "" && this.$el.classList.toggle(`${r.attrName}-${n}${i}`);
|
|
@@ -894,7 +1119,7 @@ var I = [
|
|
|
894
1119
|
}
|
|
895
1120
|
updateAnchorOffset(e, t, n) {
|
|
896
1121
|
if (!u(n, t)) {
|
|
897
|
-
|
|
1122
|
+
h(`"${t}" is not a valid anchor-offset value for ${this.tagName.toLowerCase()}. Allowed values are: "${n.join("\", \"")}".`);
|
|
898
1123
|
return;
|
|
899
1124
|
}
|
|
900
1125
|
let r = (e) => {
|
|
@@ -907,7 +1132,7 @@ var I = [
|
|
|
907
1132
|
}
|
|
908
1133
|
updateAnchorSpacing(e, t, n) {
|
|
909
1134
|
if (!u(n, t)) {
|
|
910
|
-
|
|
1135
|
+
h(`"${t}" is not a valid anchor-spacing value for ${this.tagName.toLowerCase()}. Allowed values are: "${n.join("\", \"")}".`);
|
|
911
1136
|
return;
|
|
912
1137
|
}
|
|
913
1138
|
let r = (e) => {
|
|
@@ -916,7 +1141,7 @@ var I = [
|
|
|
916
1141
|
r(e), r(t);
|
|
917
1142
|
}
|
|
918
1143
|
updateSubgridRows(e, t, n, r) {
|
|
919
|
-
u(r, n) ? this.style.setProperty(`--${e}`, n) :
|
|
1144
|
+
u(r, n) ? this.style.setProperty(`--${e}`, n) : h(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
920
1145
|
}
|
|
921
1146
|
get $el() {
|
|
922
1147
|
return this?.shadowRoot?.querySelector(".container");
|
|
@@ -928,337 +1153,337 @@ var I = [
|
|
|
928
1153
|
return this.getAttribute("padding");
|
|
929
1154
|
}
|
|
930
1155
|
set padding(e) {
|
|
931
|
-
|
|
1156
|
+
_(this, "padding", e);
|
|
932
1157
|
}
|
|
933
1158
|
get paddingBlock() {
|
|
934
1159
|
return this.getAttribute("padding-block");
|
|
935
1160
|
}
|
|
936
1161
|
set paddingBlock(e) {
|
|
937
|
-
|
|
1162
|
+
_(this, "padding-block", e);
|
|
938
1163
|
}
|
|
939
1164
|
get paddingInline() {
|
|
940
1165
|
return this.getAttribute("padding-inline");
|
|
941
1166
|
}
|
|
942
1167
|
set paddingInline(e) {
|
|
943
|
-
|
|
1168
|
+
_(this, "padding-inline", e);
|
|
944
1169
|
}
|
|
945
1170
|
get paddingTop() {
|
|
946
1171
|
return this.getAttribute("padding-top");
|
|
947
1172
|
}
|
|
948
1173
|
set paddingTop(e) {
|
|
949
|
-
|
|
1174
|
+
_(this, "padding-top", e);
|
|
950
1175
|
}
|
|
951
1176
|
get paddingRight() {
|
|
952
1177
|
return this.getAttribute("padding-right");
|
|
953
1178
|
}
|
|
954
1179
|
set paddingRight(e) {
|
|
955
|
-
|
|
1180
|
+
_(this, "padding-right", e);
|
|
956
1181
|
}
|
|
957
1182
|
get paddingBottom() {
|
|
958
1183
|
return this.getAttribute("padding-bottom");
|
|
959
1184
|
}
|
|
960
1185
|
set paddingBottom(e) {
|
|
961
|
-
|
|
1186
|
+
_(this, "padding-bottom", e);
|
|
962
1187
|
}
|
|
963
1188
|
get paddingLeft() {
|
|
964
1189
|
return this.getAttribute("padding-left");
|
|
965
1190
|
}
|
|
966
1191
|
set paddingLeft(e) {
|
|
967
|
-
|
|
1192
|
+
_(this, "padding-left", e);
|
|
968
1193
|
}
|
|
969
1194
|
get paddingMobile() {
|
|
970
1195
|
return this.getAttribute("padding--mobile");
|
|
971
1196
|
}
|
|
972
1197
|
set paddingMobile(e) {
|
|
973
|
-
|
|
1198
|
+
_(this, "padding--mobile", e);
|
|
974
1199
|
}
|
|
975
1200
|
get paddingBlockMobile() {
|
|
976
1201
|
return this.getAttribute("padding-block--mobile");
|
|
977
1202
|
}
|
|
978
1203
|
set paddingBlockMobile(e) {
|
|
979
|
-
|
|
1204
|
+
_(this, "padding-block--mobile", e);
|
|
980
1205
|
}
|
|
981
1206
|
get paddingInlineMobile() {
|
|
982
1207
|
return this.getAttribute("padding-inline--mobile");
|
|
983
1208
|
}
|
|
984
1209
|
set paddingInlineMobile(e) {
|
|
985
|
-
|
|
1210
|
+
_(this, "padding-inline--mobile", e);
|
|
986
1211
|
}
|
|
987
1212
|
get paddingTopMobile() {
|
|
988
1213
|
return this.getAttribute("padding-top--mobile");
|
|
989
1214
|
}
|
|
990
1215
|
set paddingTopMobile(e) {
|
|
991
|
-
|
|
1216
|
+
_(this, "padding-top--mobile", e);
|
|
992
1217
|
}
|
|
993
1218
|
get paddingRightMobile() {
|
|
994
1219
|
return this.getAttribute("padding-right--mobile");
|
|
995
1220
|
}
|
|
996
1221
|
set paddingRightMobile(e) {
|
|
997
|
-
|
|
1222
|
+
_(this, "padding-right--mobile", e);
|
|
998
1223
|
}
|
|
999
1224
|
get paddingBottomMobile() {
|
|
1000
1225
|
return this.getAttribute("padding-bottom--mobile");
|
|
1001
1226
|
}
|
|
1002
1227
|
set paddingBottomMobile(e) {
|
|
1003
|
-
|
|
1228
|
+
_(this, "padding-bottom--mobile", e);
|
|
1004
1229
|
}
|
|
1005
1230
|
get paddingLeftMobile() {
|
|
1006
1231
|
return this.getAttribute("padding-left--mobile");
|
|
1007
1232
|
}
|
|
1008
1233
|
set paddingLeftMobile(e) {
|
|
1009
|
-
|
|
1234
|
+
_(this, "padding-left--mobile", e);
|
|
1010
1235
|
}
|
|
1011
1236
|
get paddingTablet() {
|
|
1012
1237
|
return this.getAttribute("padding--tablet");
|
|
1013
1238
|
}
|
|
1014
1239
|
set paddingTablet(e) {
|
|
1015
|
-
|
|
1240
|
+
_(this, "padding--tablet", e);
|
|
1016
1241
|
}
|
|
1017
1242
|
get paddingBlockTablet() {
|
|
1018
1243
|
return this.getAttribute("padding-block--tablet");
|
|
1019
1244
|
}
|
|
1020
1245
|
set paddingBlockTablet(e) {
|
|
1021
|
-
|
|
1246
|
+
_(this, "padding-block--tablet", e);
|
|
1022
1247
|
}
|
|
1023
1248
|
get paddingInlineTablet() {
|
|
1024
1249
|
return this.getAttribute("padding-inline--tablet");
|
|
1025
1250
|
}
|
|
1026
1251
|
set paddingInlineTablet(e) {
|
|
1027
|
-
|
|
1252
|
+
_(this, "padding-inline--tablet", e);
|
|
1028
1253
|
}
|
|
1029
1254
|
get paddingTopTablet() {
|
|
1030
1255
|
return this.getAttribute("padding-top--tablet");
|
|
1031
1256
|
}
|
|
1032
1257
|
set paddingTopTablet(e) {
|
|
1033
|
-
|
|
1258
|
+
_(this, "padding-top--tablet", e);
|
|
1034
1259
|
}
|
|
1035
1260
|
get paddingRightTablet() {
|
|
1036
1261
|
return this.getAttribute("padding-right--tablet");
|
|
1037
1262
|
}
|
|
1038
1263
|
set paddingRightTablet(e) {
|
|
1039
|
-
|
|
1264
|
+
_(this, "padding-right--tablet", e);
|
|
1040
1265
|
}
|
|
1041
1266
|
get paddingBottomTablet() {
|
|
1042
1267
|
return this.getAttribute("padding-bottom--tablet");
|
|
1043
1268
|
}
|
|
1044
1269
|
set paddingBottomTablet(e) {
|
|
1045
|
-
|
|
1270
|
+
_(this, "padding-bottom--tablet", e);
|
|
1046
1271
|
}
|
|
1047
1272
|
get paddingLeftTablet() {
|
|
1048
1273
|
return this.getAttribute("padding-left--tablet");
|
|
1049
1274
|
}
|
|
1050
1275
|
set paddingLeftTablet(e) {
|
|
1051
|
-
|
|
1276
|
+
_(this, "padding-left--tablet", e);
|
|
1052
1277
|
}
|
|
1053
1278
|
get paddingLaptop() {
|
|
1054
1279
|
return this.getAttribute("padding--laptop");
|
|
1055
1280
|
}
|
|
1056
1281
|
set paddingLaptop(e) {
|
|
1057
|
-
|
|
1282
|
+
_(this, "padding--laptop", e);
|
|
1058
1283
|
}
|
|
1059
1284
|
get paddingBlockLaptop() {
|
|
1060
1285
|
return this.getAttribute("padding-block--laptop");
|
|
1061
1286
|
}
|
|
1062
1287
|
set paddingBlockLaptop(e) {
|
|
1063
|
-
|
|
1288
|
+
_(this, "padding-block--laptop", e);
|
|
1064
1289
|
}
|
|
1065
1290
|
get paddingInlineLaptop() {
|
|
1066
1291
|
return this.getAttribute("padding-inline--laptop");
|
|
1067
1292
|
}
|
|
1068
1293
|
set paddingInlineLaptop(e) {
|
|
1069
|
-
|
|
1294
|
+
_(this, "padding-inline--laptop", e);
|
|
1070
1295
|
}
|
|
1071
1296
|
get paddingTopLaptop() {
|
|
1072
1297
|
return this.getAttribute("padding-top--laptop");
|
|
1073
1298
|
}
|
|
1074
1299
|
set paddingTopLaptop(e) {
|
|
1075
|
-
|
|
1300
|
+
_(this, "padding-top--laptop", e);
|
|
1076
1301
|
}
|
|
1077
1302
|
get paddingRightLaptop() {
|
|
1078
1303
|
return this.getAttribute("padding-right--laptop");
|
|
1079
1304
|
}
|
|
1080
1305
|
set paddingRightLaptop(e) {
|
|
1081
|
-
|
|
1306
|
+
_(this, "padding-right--laptop", e);
|
|
1082
1307
|
}
|
|
1083
1308
|
get paddingBottomLaptop() {
|
|
1084
1309
|
return this.getAttribute("padding-bottom--laptop");
|
|
1085
1310
|
}
|
|
1086
1311
|
set paddingBottomLaptop(e) {
|
|
1087
|
-
|
|
1312
|
+
_(this, "padding-bottom--laptop", e);
|
|
1088
1313
|
}
|
|
1089
1314
|
get paddingLeftLaptop() {
|
|
1090
1315
|
return this.getAttribute("padding-left--laptop");
|
|
1091
1316
|
}
|
|
1092
1317
|
set paddingLeftLaptop(e) {
|
|
1093
|
-
|
|
1318
|
+
_(this, "padding-left--laptop", e);
|
|
1094
1319
|
}
|
|
1095
1320
|
get border() {
|
|
1096
1321
|
return this.getAttribute("border");
|
|
1097
1322
|
}
|
|
1098
1323
|
set border(e) {
|
|
1099
|
-
|
|
1324
|
+
_(this, "border", e);
|
|
1100
1325
|
}
|
|
1101
1326
|
get borderColor() {
|
|
1102
1327
|
return this.getAttribute("border-color");
|
|
1103
1328
|
}
|
|
1104
1329
|
set borderColor(e) {
|
|
1105
|
-
|
|
1330
|
+
_(this, "border-color", e);
|
|
1106
1331
|
}
|
|
1107
1332
|
get borderSide() {
|
|
1108
1333
|
return this.getAttribute("border-side");
|
|
1109
1334
|
}
|
|
1110
1335
|
set borderSide(e) {
|
|
1111
|
-
|
|
1336
|
+
_(this, "border-side", e);
|
|
1112
1337
|
}
|
|
1113
1338
|
get borderSideMobile() {
|
|
1114
1339
|
return this.getAttribute("border-side--mobile");
|
|
1115
1340
|
}
|
|
1116
1341
|
set borderSideMobile(e) {
|
|
1117
|
-
|
|
1342
|
+
_(this, "border-side--mobile", e);
|
|
1118
1343
|
}
|
|
1119
1344
|
get borderSideTablet() {
|
|
1120
1345
|
return this.getAttribute("border-side--tablet");
|
|
1121
1346
|
}
|
|
1122
1347
|
set borderSideTablet(e) {
|
|
1123
|
-
|
|
1348
|
+
_(this, "border-side--tablet", e);
|
|
1124
1349
|
}
|
|
1125
1350
|
get borderSideLaptop() {
|
|
1126
1351
|
return this.getAttribute("border-side--laptop");
|
|
1127
1352
|
}
|
|
1128
1353
|
set borderSideLaptop(e) {
|
|
1129
|
-
|
|
1354
|
+
_(this, "border-side--laptop", e);
|
|
1130
1355
|
}
|
|
1131
1356
|
get borderRadius() {
|
|
1132
1357
|
return this.getAttribute("border-radius");
|
|
1133
1358
|
}
|
|
1134
1359
|
set borderRadius(e) {
|
|
1135
|
-
|
|
1360
|
+
_(this, "border-radius", e);
|
|
1136
1361
|
}
|
|
1137
1362
|
get noBorderRadius() {
|
|
1138
1363
|
return this.getAttribute("no-border-radius");
|
|
1139
1364
|
}
|
|
1140
1365
|
set noBorderRadius(e) {
|
|
1141
|
-
|
|
1366
|
+
_(this, "no-border-radius", e);
|
|
1142
1367
|
}
|
|
1143
1368
|
get noBorderRadiusMobile() {
|
|
1144
1369
|
return this.getAttribute("no-border-radius--mobile");
|
|
1145
1370
|
}
|
|
1146
1371
|
set noBorderRadiusMobile(e) {
|
|
1147
|
-
|
|
1372
|
+
_(this, "no-border-radius--mobile", e);
|
|
1148
1373
|
}
|
|
1149
1374
|
get noBorderRadiusTablet() {
|
|
1150
1375
|
return this.getAttribute("no-border-radius--tablet");
|
|
1151
1376
|
}
|
|
1152
1377
|
set noBorderRadiusTablet(e) {
|
|
1153
|
-
|
|
1378
|
+
_(this, "no-border-radius--tablet", e);
|
|
1154
1379
|
}
|
|
1155
1380
|
get noBorderRadiusLaptop() {
|
|
1156
1381
|
return this.getAttribute("no-border-radius--laptop");
|
|
1157
1382
|
}
|
|
1158
1383
|
set noBorderRadiusLaptop(e) {
|
|
1159
|
-
|
|
1384
|
+
_(this, "no-border-radius--laptop", e);
|
|
1160
1385
|
}
|
|
1161
1386
|
get backgroundColor() {
|
|
1162
1387
|
return this.getAttribute("background-color");
|
|
1163
1388
|
}
|
|
1164
1389
|
set backgroundColor(e) {
|
|
1165
|
-
|
|
1390
|
+
_(this, "background-color", e);
|
|
1166
1391
|
}
|
|
1167
1392
|
get backgroundColorMobile() {
|
|
1168
1393
|
return this.getAttribute("background-color--mobile");
|
|
1169
1394
|
}
|
|
1170
1395
|
set backgroundColorMobile(e) {
|
|
1171
|
-
|
|
1396
|
+
_(this, "background-color--mobile", e);
|
|
1172
1397
|
}
|
|
1173
1398
|
get backgroundColorTablet() {
|
|
1174
1399
|
return this.getAttribute("background-color--tablet");
|
|
1175
1400
|
}
|
|
1176
1401
|
set backgroundColorTablet(e) {
|
|
1177
|
-
|
|
1402
|
+
_(this, "background-color--tablet", e);
|
|
1178
1403
|
}
|
|
1179
1404
|
get backgroundColorLaptop() {
|
|
1180
1405
|
return this.getAttribute("background-color--laptop");
|
|
1181
1406
|
}
|
|
1182
1407
|
set backgroundColorLaptop(e) {
|
|
1183
|
-
|
|
1408
|
+
_(this, "background-color--laptop", e);
|
|
1184
1409
|
}
|
|
1185
1410
|
get gradient() {
|
|
1186
1411
|
return this.getAttribute("background-gradient");
|
|
1187
1412
|
}
|
|
1188
1413
|
set gradient(e) {
|
|
1189
|
-
|
|
1414
|
+
_(this, "background-gradient", e);
|
|
1190
1415
|
}
|
|
1191
1416
|
get gradientMobile() {
|
|
1192
1417
|
return this.getAttribute("background-gradient--mobile");
|
|
1193
1418
|
}
|
|
1194
1419
|
set gradientMobile(e) {
|
|
1195
|
-
|
|
1420
|
+
_(this, "background-gradient--mobile", e);
|
|
1196
1421
|
}
|
|
1197
1422
|
get gradientTablet() {
|
|
1198
1423
|
return this.getAttribute("background-gradient--tablet");
|
|
1199
1424
|
}
|
|
1200
1425
|
set gradientTablet(e) {
|
|
1201
|
-
|
|
1426
|
+
_(this, "background-gradient--tablet", e);
|
|
1202
1427
|
}
|
|
1203
1428
|
get gradientLaptop() {
|
|
1204
1429
|
return this.getAttribute("background-gradient--laptop");
|
|
1205
1430
|
}
|
|
1206
1431
|
set gradientLaptop(e) {
|
|
1207
|
-
|
|
1432
|
+
_(this, "background-gradient--laptop", e);
|
|
1208
1433
|
}
|
|
1209
1434
|
get backgroundImage() {
|
|
1210
1435
|
return this.getAttribute("background-image");
|
|
1211
1436
|
}
|
|
1212
1437
|
set backgroundImage(e) {
|
|
1213
|
-
|
|
1438
|
+
_(this, "background-image", e);
|
|
1214
1439
|
}
|
|
1215
1440
|
get backgroundImageMobile() {
|
|
1216
1441
|
return this.getAttribute("background-image--mobile");
|
|
1217
1442
|
}
|
|
1218
1443
|
set backgroundImageMobile(e) {
|
|
1219
|
-
|
|
1444
|
+
_(this, "background-image--mobile", e);
|
|
1220
1445
|
}
|
|
1221
1446
|
get backgroundImageTablet() {
|
|
1222
1447
|
return this.getAttribute("background-image--tablet");
|
|
1223
1448
|
}
|
|
1224
1449
|
set backgroundImageTablet(e) {
|
|
1225
|
-
|
|
1450
|
+
_(this, "background-image--tablet", e);
|
|
1226
1451
|
}
|
|
1227
1452
|
get backgroundImageLaptop() {
|
|
1228
1453
|
return this.getAttribute("background-image--laptop");
|
|
1229
1454
|
}
|
|
1230
1455
|
set backgroundImageLaptop(e) {
|
|
1231
|
-
|
|
1456
|
+
_(this, "background-image--laptop", e);
|
|
1232
1457
|
}
|
|
1233
1458
|
get backgroundSize() {
|
|
1234
1459
|
return this.getAttribute("background-size");
|
|
1235
1460
|
}
|
|
1236
1461
|
set backgroundSize(e) {
|
|
1237
|
-
|
|
1462
|
+
_(this, "background-size", e);
|
|
1238
1463
|
}
|
|
1239
1464
|
get backgroundPosition() {
|
|
1240
1465
|
return this.getAttribute("background-position");
|
|
1241
1466
|
}
|
|
1242
1467
|
set backgroundPosition(e) {
|
|
1243
|
-
|
|
1468
|
+
_(this, "background-position", e);
|
|
1244
1469
|
}
|
|
1245
1470
|
get boxShadow() {
|
|
1246
1471
|
return this.getAttribute("box-shadow");
|
|
1247
1472
|
}
|
|
1248
1473
|
set boxShadow(e) {
|
|
1249
|
-
|
|
1474
|
+
_(this, "box-shadow", e);
|
|
1250
1475
|
}
|
|
1251
1476
|
get anchorOffset() {
|
|
1252
1477
|
return this.getAttribute("anchor-offset");
|
|
1253
1478
|
}
|
|
1254
1479
|
set anchorOffset(e) {
|
|
1255
|
-
|
|
1480
|
+
_(this, "anchor-offset", e);
|
|
1256
1481
|
}
|
|
1257
1482
|
get anchorSpacing() {
|
|
1258
1483
|
return this.getAttribute("anchor-spacing");
|
|
1259
1484
|
}
|
|
1260
1485
|
set anchorSpacing(e) {
|
|
1261
|
-
|
|
1486
|
+
_(this, "anchor-spacing", e);
|
|
1262
1487
|
}
|
|
1263
1488
|
get inverted() {
|
|
1264
1489
|
return this.hasAttribute("inverted");
|
|
@@ -1270,46 +1495,46 @@ var I = [
|
|
|
1270
1495
|
return this.getAttribute("subgrid-rows");
|
|
1271
1496
|
}
|
|
1272
1497
|
set subgridRows(e) {
|
|
1273
|
-
|
|
1498
|
+
_(this, "subgrid-rows", e);
|
|
1274
1499
|
}
|
|
1275
1500
|
get subgridGap() {
|
|
1276
1501
|
return this.getAttribute("subgrid-gap");
|
|
1277
1502
|
}
|
|
1278
1503
|
set subgridGap(e) {
|
|
1279
|
-
|
|
1504
|
+
_(this, "subgrid-gap", e);
|
|
1280
1505
|
}
|
|
1281
1506
|
get subgridGapMobile() {
|
|
1282
1507
|
return this.getAttribute("subgrid-gap--mobile");
|
|
1283
1508
|
}
|
|
1284
1509
|
set subgridGapMobile(e) {
|
|
1285
|
-
|
|
1510
|
+
_(this, "subgrid-gap--mobile", e);
|
|
1286
1511
|
}
|
|
1287
1512
|
get subgridGapTablet() {
|
|
1288
1513
|
return this.getAttribute("subgrid-gap--tablet");
|
|
1289
1514
|
}
|
|
1290
1515
|
set subgridGapTablet(e) {
|
|
1291
|
-
|
|
1516
|
+
_(this, "subgrid-gap--tablet", e);
|
|
1292
1517
|
}
|
|
1293
1518
|
get subgridGapLaptop() {
|
|
1294
1519
|
return this.getAttribute("subgrid-gap--laptop");
|
|
1295
1520
|
}
|
|
1296
1521
|
set subgridGapLaptop(e) {
|
|
1297
|
-
|
|
1522
|
+
_(this, "subgrid-gap--laptop", e);
|
|
1298
1523
|
}
|
|
1299
1524
|
};
|
|
1300
|
-
customElements.get("px-container") || customElements.define("px-container",
|
|
1525
|
+
customElements.get("px-container") || customElements.define("px-container", pe);
|
|
1301
1526
|
//#endregion
|
|
1302
1527
|
//#region ../../components/Layout/src/Stack.css?inline
|
|
1303
|
-
var
|
|
1304
|
-
U.replaceSync(
|
|
1305
|
-
var
|
|
1528
|
+
var me = ":host{display:block}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-mobile) - var(--host-gap--mobile))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile))}.flex-container{box-sizing:border-box;flex-direction:var(--flex-direction--mobile-value);gap:var(--flex-gap--mobile-value);flex-wrap:var(--flex-wrap--mobile-value);justify-content:var(--flex-justify-content--mobile-value);align-items:var(--flex-align-items--mobile-value);width:100%;height:100%;overflow-x:var(--overflow-x-all);display:flex}@media screen and (width<=47.938rem){.flex-container{overflow-x:var(--overflow-x-all-mobile,var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media screen and (width>=48rem){.flex-container{flex-direction:var(--flex-direction--tablet-value);gap:var(--flex-gap--tablet-value);flex-wrap:var(--flex-wrap--tablet-value);justify-content:var(--flex-justify-content--tablet-value);align-items:var(--flex-align-items--tablet-value)}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-tablet) - var(--host-gap--tablet))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet))}}@media screen and (width>=48rem) and (width<=64rem){.flex-container{overflow-x:var(--overflow-x-all-tablet,var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media screen and (width>=64.0625rem){.flex-container{flex-direction:var(--flex-direction--laptop-value);gap:var(--flex-gap--laptop-value);flex-wrap:var(--flex-wrap--laptop-value);justify-content:var(--flex-justify-content--laptop-value);align-items:var(--flex-align-items--laptop-value)}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-laptop) - var(--host-gap--laptop))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop))}}@media screen and (width>=64.0625rem) and (width<=90rem){.flex-container{overflow-x:var(--overflow-x-all-laptop,var(--overflow-x-all))}}@media screen and (width>=90.0625rem){.flex-container{flex-direction:var(--flex-direction--desktop-value);gap:var(--flex-gap--desktop-value);flex-wrap:var(--flex-wrap--desktop-value);justify-content:var(--flex-justify-content--desktop-value);align-items:var(--flex-align-items--desktop-value);overflow-x:var(--overflow-x-all-desktop,var(--overflow-x-all))}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-desktop) - var(--host-gap--desktop))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop))}}", U = new CSSStyleSheet();
|
|
1529
|
+
U.replaceSync(me);
|
|
1530
|
+
var he = [
|
|
1306
1531
|
"",
|
|
1307
1532
|
"default",
|
|
1308
1533
|
"row",
|
|
1309
1534
|
"row-reverse",
|
|
1310
1535
|
"column",
|
|
1311
1536
|
"column-reverse"
|
|
1312
|
-
],
|
|
1537
|
+
], ge = [
|
|
1313
1538
|
"",
|
|
1314
1539
|
"default",
|
|
1315
1540
|
"stretch",
|
|
@@ -1319,7 +1544,7 @@ var ue = [
|
|
|
1319
1544
|
"end",
|
|
1320
1545
|
"center",
|
|
1321
1546
|
"baseline"
|
|
1322
|
-
],
|
|
1547
|
+
], _e = [
|
|
1323
1548
|
"",
|
|
1324
1549
|
"default",
|
|
1325
1550
|
"flex-start",
|
|
@@ -1330,13 +1555,13 @@ var ue = [
|
|
|
1330
1555
|
"space-between",
|
|
1331
1556
|
"space-around",
|
|
1332
1557
|
"space-evenly"
|
|
1333
|
-
],
|
|
1558
|
+
], ve = [
|
|
1334
1559
|
"",
|
|
1335
1560
|
"default",
|
|
1336
1561
|
"nowrap",
|
|
1337
1562
|
"wrap",
|
|
1338
1563
|
"wrap-reverse"
|
|
1339
|
-
],
|
|
1564
|
+
], ye = [
|
|
1340
1565
|
"",
|
|
1341
1566
|
"visible",
|
|
1342
1567
|
"hidden",
|
|
@@ -1391,55 +1616,55 @@ var ue = [
|
|
|
1391
1616
|
case "gap--tablet":
|
|
1392
1617
|
case "gap--laptop":
|
|
1393
1618
|
case "gap--desktop":
|
|
1394
|
-
this.updateFlexProperties(e, t, n,
|
|
1619
|
+
this.updateFlexProperties(e, t, n, f);
|
|
1395
1620
|
break;
|
|
1396
1621
|
case "justify-content":
|
|
1397
1622
|
case "justify-content--mobile":
|
|
1398
1623
|
case "justify-content--tablet":
|
|
1399
1624
|
case "justify-content--laptop":
|
|
1400
1625
|
case "justify-content--desktop":
|
|
1401
|
-
this.updateFlexProperties(e, t, n,
|
|
1626
|
+
this.updateFlexProperties(e, t, n, _e);
|
|
1402
1627
|
break;
|
|
1403
1628
|
case "align-items":
|
|
1404
1629
|
case "align-items--mobile":
|
|
1405
1630
|
case "align-items--tablet":
|
|
1406
1631
|
case "align-items--laptop":
|
|
1407
1632
|
case "align-items--desktop":
|
|
1408
|
-
this.updateFlexProperties(e, t, n,
|
|
1633
|
+
this.updateFlexProperties(e, t, n, ge);
|
|
1409
1634
|
break;
|
|
1410
1635
|
case "wrap":
|
|
1411
1636
|
case "wrap--mobile":
|
|
1412
1637
|
case "wrap--tablet":
|
|
1413
1638
|
case "wrap--laptop":
|
|
1414
1639
|
case "wrap--desktop":
|
|
1415
|
-
this.updateFlexProperties(e, t, n,
|
|
1640
|
+
this.updateFlexProperties(e, t, n, ve);
|
|
1416
1641
|
break;
|
|
1417
1642
|
case "direction":
|
|
1418
1643
|
case "direction--mobile":
|
|
1419
1644
|
case "direction--tablet":
|
|
1420
1645
|
case "direction--laptop":
|
|
1421
1646
|
case "direction--desktop":
|
|
1422
|
-
this.updateFlexProperties(e, t, n,
|
|
1647
|
+
this.updateFlexProperties(e, t, n, he);
|
|
1423
1648
|
break;
|
|
1424
1649
|
case "overflow-x":
|
|
1425
1650
|
case "overflow-x--mobile":
|
|
1426
1651
|
case "overflow-x--tablet":
|
|
1427
1652
|
case "overflow-x--laptop":
|
|
1428
1653
|
case "overflow-x--desktop":
|
|
1429
|
-
this.updateOverflowX(e, t, n,
|
|
1654
|
+
this.updateOverflowX(e, t, n, ye);
|
|
1430
1655
|
break;
|
|
1431
1656
|
default: super.attributeChangedCallback(e, t, n);
|
|
1432
1657
|
}
|
|
1433
1658
|
}
|
|
1434
1659
|
updateOverflowX(e, t, n, r) {
|
|
1435
1660
|
if (!u(r, n)) {
|
|
1436
|
-
|
|
1661
|
+
h(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
1437
1662
|
return;
|
|
1438
1663
|
}
|
|
1439
1664
|
this.overflowXAttributeDelegate.attributeChangedCallback(e, t, n);
|
|
1440
1665
|
}
|
|
1441
1666
|
updateFlexProperties(e, t, n, r) {
|
|
1442
|
-
this.checkName(r, n) ||
|
|
1667
|
+
this.checkName(r, n) || h(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
1443
1668
|
let i = e.indexOf("--") > -1, a = i ? e.split("--")[0] : e, o = [];
|
|
1444
1669
|
if (!i) this.getAttribute(a + "--mobile") || o.push("mobile"), this.getAttribute(a + "--tablet") || o.push("tablet"), this.getAttribute(a + "--laptop") || o.push("laptop"), this.getAttribute(a + "--desktop") || o.push("desktop"), o.forEach((e) => {
|
|
1445
1670
|
this.updateStyle(a, e, t, r), this.updateStyle(a, e, n, r);
|
|
@@ -1456,188 +1681,188 @@ var ue = [
|
|
|
1456
1681
|
return this.getAttribute("direction");
|
|
1457
1682
|
}
|
|
1458
1683
|
set direction(e) {
|
|
1459
|
-
|
|
1684
|
+
_(this, "direction", e);
|
|
1460
1685
|
}
|
|
1461
1686
|
get directionMobile() {
|
|
1462
1687
|
return this.getAttribute("direction--mobile");
|
|
1463
1688
|
}
|
|
1464
1689
|
set directionMobile(e) {
|
|
1465
|
-
|
|
1690
|
+
_(this, "direction--mobile", e);
|
|
1466
1691
|
}
|
|
1467
1692
|
get directionTablet() {
|
|
1468
1693
|
return this.getAttribute("direction--tablet");
|
|
1469
1694
|
}
|
|
1470
1695
|
set directionTablet(e) {
|
|
1471
|
-
|
|
1696
|
+
_(this, "direction--tablet", e);
|
|
1472
1697
|
}
|
|
1473
1698
|
get directionLaptop() {
|
|
1474
1699
|
return this.getAttribute("direction--laptop");
|
|
1475
1700
|
}
|
|
1476
1701
|
set directionLaptop(e) {
|
|
1477
|
-
|
|
1702
|
+
_(this, "direction--laptop", e);
|
|
1478
1703
|
}
|
|
1479
1704
|
get directionDesktop() {
|
|
1480
1705
|
return this.getAttribute("direction--desktop");
|
|
1481
1706
|
}
|
|
1482
1707
|
set directionDesktop(e) {
|
|
1483
|
-
|
|
1708
|
+
_(this, "direction--desktop", e);
|
|
1484
1709
|
}
|
|
1485
1710
|
get gap() {
|
|
1486
1711
|
return this.getAttribute("gap");
|
|
1487
1712
|
}
|
|
1488
1713
|
set gap(e) {
|
|
1489
|
-
|
|
1714
|
+
_(this, "gap", e);
|
|
1490
1715
|
}
|
|
1491
1716
|
get gapMobile() {
|
|
1492
1717
|
return this.getAttribute("gap--mobile");
|
|
1493
1718
|
}
|
|
1494
1719
|
set gapMobile(e) {
|
|
1495
|
-
|
|
1720
|
+
_(this, "gap--mobile", e);
|
|
1496
1721
|
}
|
|
1497
1722
|
get gapTablet() {
|
|
1498
1723
|
return this.getAttribute("gap--tablet");
|
|
1499
1724
|
}
|
|
1500
1725
|
set gapTablet(e) {
|
|
1501
|
-
|
|
1726
|
+
_(this, "gap--tablet", e);
|
|
1502
1727
|
}
|
|
1503
1728
|
get gapLaptop() {
|
|
1504
1729
|
return this.getAttribute("gap--laptop");
|
|
1505
1730
|
}
|
|
1506
1731
|
set gapLaptop(e) {
|
|
1507
|
-
|
|
1732
|
+
_(this, "gap--laptop", e);
|
|
1508
1733
|
}
|
|
1509
1734
|
get gapDesktop() {
|
|
1510
1735
|
return this.getAttribute("gap--desktop");
|
|
1511
1736
|
}
|
|
1512
1737
|
set gapDesktop(e) {
|
|
1513
|
-
|
|
1738
|
+
_(this, "gap--desktop", e);
|
|
1514
1739
|
}
|
|
1515
1740
|
get justifyContent() {
|
|
1516
1741
|
return this.getAttribute("justify-content");
|
|
1517
1742
|
}
|
|
1518
1743
|
set justifyContent(e) {
|
|
1519
|
-
|
|
1744
|
+
_(this, "justify-content", e);
|
|
1520
1745
|
}
|
|
1521
1746
|
get justifyContentMobile() {
|
|
1522
1747
|
return this.getAttribute("justify-content--mobile");
|
|
1523
1748
|
}
|
|
1524
1749
|
set justifyContentMobile(e) {
|
|
1525
|
-
|
|
1750
|
+
_(this, "justify-content--mobile", e);
|
|
1526
1751
|
}
|
|
1527
1752
|
get justifyContentTablet() {
|
|
1528
1753
|
return this.getAttribute("justify-content--tablet");
|
|
1529
1754
|
}
|
|
1530
1755
|
set justifyContentTablet(e) {
|
|
1531
|
-
|
|
1756
|
+
_(this, "justify-content--tablet", e);
|
|
1532
1757
|
}
|
|
1533
1758
|
get justifyContentLaptop() {
|
|
1534
1759
|
return this.getAttribute("justify-content--laptop");
|
|
1535
1760
|
}
|
|
1536
1761
|
set justifyContentLaptop(e) {
|
|
1537
|
-
|
|
1762
|
+
_(this, "justify-content--laptop", e);
|
|
1538
1763
|
}
|
|
1539
1764
|
get justifyContentDesktop() {
|
|
1540
1765
|
return this.getAttribute("justify-content--desktop");
|
|
1541
1766
|
}
|
|
1542
1767
|
set justifyContentDesktop(e) {
|
|
1543
|
-
|
|
1768
|
+
_(this, "justify-content--desktop", e);
|
|
1544
1769
|
}
|
|
1545
1770
|
get alignItems() {
|
|
1546
1771
|
return this.getAttribute("align-items");
|
|
1547
1772
|
}
|
|
1548
1773
|
set alignItems(e) {
|
|
1549
|
-
|
|
1774
|
+
_(this, "align-items", e);
|
|
1550
1775
|
}
|
|
1551
1776
|
get alignItemsMobile() {
|
|
1552
1777
|
return this.getAttribute("align-items--mobile");
|
|
1553
1778
|
}
|
|
1554
1779
|
set alignItemsMobile(e) {
|
|
1555
|
-
|
|
1780
|
+
_(this, "align-items--mobile", e);
|
|
1556
1781
|
}
|
|
1557
1782
|
get alignItemsTablet() {
|
|
1558
1783
|
return this.getAttribute("align-items--tablet");
|
|
1559
1784
|
}
|
|
1560
1785
|
set alignItemsTablet(e) {
|
|
1561
|
-
|
|
1786
|
+
_(this, "align-items--tablet", e);
|
|
1562
1787
|
}
|
|
1563
1788
|
get alignItemsLaptop() {
|
|
1564
1789
|
return this.getAttribute("align-items--laptop");
|
|
1565
1790
|
}
|
|
1566
1791
|
set alignItemsLaptop(e) {
|
|
1567
|
-
|
|
1792
|
+
_(this, "align-items--laptop", e);
|
|
1568
1793
|
}
|
|
1569
1794
|
get alignItemsDesktop() {
|
|
1570
1795
|
return this.getAttribute("align-items--desktop");
|
|
1571
1796
|
}
|
|
1572
1797
|
set alignItemsDesktop(e) {
|
|
1573
|
-
|
|
1798
|
+
_(this, "align-items--desktop", e);
|
|
1574
1799
|
}
|
|
1575
1800
|
get wrap() {
|
|
1576
1801
|
return this.getAttribute("wrap");
|
|
1577
1802
|
}
|
|
1578
1803
|
set wrap(e) {
|
|
1579
|
-
|
|
1804
|
+
_(this, "wrap", e);
|
|
1580
1805
|
}
|
|
1581
1806
|
get wrapMobile() {
|
|
1582
1807
|
return this.getAttribute("wrap--mobile");
|
|
1583
1808
|
}
|
|
1584
1809
|
set wrapMobile(e) {
|
|
1585
|
-
|
|
1810
|
+
_(this, "wrap--mobile", e);
|
|
1586
1811
|
}
|
|
1587
1812
|
get wrapTablet() {
|
|
1588
1813
|
return this.getAttribute("wrap--tablet");
|
|
1589
1814
|
}
|
|
1590
1815
|
set wrapTablet(e) {
|
|
1591
|
-
|
|
1816
|
+
_(this, "wrap--tablet", e);
|
|
1592
1817
|
}
|
|
1593
1818
|
get wrapLaptop() {
|
|
1594
1819
|
return this.getAttribute("wrap--laptop");
|
|
1595
1820
|
}
|
|
1596
1821
|
set wrapLaptop(e) {
|
|
1597
|
-
|
|
1822
|
+
_(this, "wrap--laptop", e);
|
|
1598
1823
|
}
|
|
1599
1824
|
get wrapDesktop() {
|
|
1600
1825
|
return this.getAttribute("wrap--desktop");
|
|
1601
1826
|
}
|
|
1602
1827
|
set wrapDesktop(e) {
|
|
1603
|
-
|
|
1828
|
+
_(this, "wrap--desktop", e);
|
|
1604
1829
|
}
|
|
1605
1830
|
get overflowX() {
|
|
1606
1831
|
return this.getAttribute("overflow-x");
|
|
1607
1832
|
}
|
|
1608
1833
|
set overflowX(e) {
|
|
1609
|
-
|
|
1834
|
+
_(this, "overflow-x", e);
|
|
1610
1835
|
}
|
|
1611
1836
|
get overflowXMobile() {
|
|
1612
1837
|
return this.getAttribute("overflow-x--mobile");
|
|
1613
1838
|
}
|
|
1614
1839
|
set overflowXMobile(e) {
|
|
1615
|
-
|
|
1840
|
+
_(this, "overflow-x--mobile", e);
|
|
1616
1841
|
}
|
|
1617
1842
|
get overflowXTablet() {
|
|
1618
1843
|
return this.getAttribute("overflow-x--tablet");
|
|
1619
1844
|
}
|
|
1620
1845
|
set overflowXTablet(e) {
|
|
1621
|
-
|
|
1846
|
+
_(this, "overflow-x--tablet", e);
|
|
1622
1847
|
}
|
|
1623
1848
|
get overflowXLaptop() {
|
|
1624
1849
|
return this.getAttribute("overflow-x--laptop");
|
|
1625
1850
|
}
|
|
1626
1851
|
set overflowXLaptop(e) {
|
|
1627
|
-
|
|
1852
|
+
_(this, "overflow-x--laptop", e);
|
|
1628
1853
|
}
|
|
1629
1854
|
get overflowXDesktop() {
|
|
1630
1855
|
return this.getAttribute("overflow-x--desktop");
|
|
1631
1856
|
}
|
|
1632
1857
|
set overflowXDesktop(e) {
|
|
1633
|
-
|
|
1858
|
+
_(this, "overflow-x--desktop", e);
|
|
1634
1859
|
}
|
|
1635
1860
|
get $el() {
|
|
1636
1861
|
return this.shadowRoot.querySelector(".flex-container");
|
|
1637
1862
|
}
|
|
1638
1863
|
};
|
|
1639
1864
|
customElements.get("px-stack") || customElements.define("px-stack", W);
|
|
1640
|
-
var
|
|
1865
|
+
var be = class extends W {
|
|
1641
1866
|
constructor() {
|
|
1642
1867
|
super();
|
|
1643
1868
|
}
|
|
@@ -1645,8 +1870,8 @@ var he = class extends W {
|
|
|
1645
1870
|
super.connectedCallback(), this.direction = "column", this.directionMobile = "column", this.directionTablet = "column", this.directionLaptop = "column", this.directionDesktop = "column";
|
|
1646
1871
|
}
|
|
1647
1872
|
};
|
|
1648
|
-
customElements.get("px-vstack") || customElements.define("px-vstack",
|
|
1649
|
-
var
|
|
1873
|
+
customElements.get("px-vstack") || customElements.define("px-vstack", be);
|
|
1874
|
+
var xe = class extends W {
|
|
1650
1875
|
constructor() {
|
|
1651
1876
|
super();
|
|
1652
1877
|
}
|
|
@@ -1654,10 +1879,10 @@ var ge = class extends W {
|
|
|
1654
1879
|
super.connectedCallback(), this.direction = "row", this.directionMobile = "row", this.directionTablet = "row", this.directionLaptop = "row", this.directionDesktop = "row";
|
|
1655
1880
|
}
|
|
1656
1881
|
};
|
|
1657
|
-
customElements.get("px-hstack") || customElements.define("px-hstack",
|
|
1882
|
+
customElements.get("px-hstack") || customElements.define("px-hstack", xe);
|
|
1658
1883
|
//#endregion
|
|
1659
1884
|
//#region ../../components/Layout/src/Spacer.ts
|
|
1660
|
-
var
|
|
1885
|
+
var Se = class extends HTMLElement {
|
|
1661
1886
|
constructor() {
|
|
1662
1887
|
super(), this.isZeroSized = !1, this.growValue = "1", this.isVertical = !1;
|
|
1663
1888
|
}
|
|
@@ -1703,14 +1928,14 @@ var _e = class extends HTMLElement {
|
|
|
1703
1928
|
e ? this.setAttribute("nogap", "") : this.removeAttribute("nogap");
|
|
1704
1929
|
}
|
|
1705
1930
|
};
|
|
1706
|
-
customElements.get("px-spacer") || customElements.define("px-spacer",
|
|
1931
|
+
customElements.get("px-spacer") || customElements.define("px-spacer", Se);
|
|
1707
1932
|
//#endregion
|
|
1708
1933
|
//#region ../../components/Layout/src/Page.css?inline
|
|
1709
|
-
var
|
|
1710
|
-
G.replaceSync(
|
|
1711
|
-
var
|
|
1934
|
+
var Ce = ":host{box-sizing:border-box;display:block}slot[name=body-container]{min-height:100vh}#image-sticky-box{margin-top:-2.5rem}", G = new CSSStyleSheet();
|
|
1935
|
+
G.replaceSync(Ce);
|
|
1936
|
+
var K = class extends n {
|
|
1712
1937
|
constructor() {
|
|
1713
|
-
super(G), this.template = (
|
|
1938
|
+
super(G), this.template = () => `
|
|
1714
1939
|
<px-container border-radius="none" padding="none">
|
|
1715
1940
|
<px-vstack>
|
|
1716
1941
|
<px-container id="header-container" border-radius="none">
|
|
@@ -1747,15 +1972,6 @@ var ye = class extends n {
|
|
|
1747
1972
|
<px-spacer></px-spacer>
|
|
1748
1973
|
</px-hstack>
|
|
1749
1974
|
</px-container>
|
|
1750
|
-
${e ? ` <px-hstack>
|
|
1751
|
-
<px-spacer></px-spacer>
|
|
1752
|
-
<px-container border-radius="none" box-shadow="xl" id="image-sticky-box" border="s" grow="${this.grow}" basis="${this.basis}" border-radius="m">
|
|
1753
|
-
<px-vstack gap="s">
|
|
1754
|
-
<slot name="image-sticky-container"></slot>
|
|
1755
|
-
</px-vstack>
|
|
1756
|
-
</px-container>
|
|
1757
|
-
<px-spacer></px-spacer>
|
|
1758
|
-
</px-hstack>` : ""}
|
|
1759
1975
|
<px-container
|
|
1760
1976
|
id="body-container"
|
|
1761
1977
|
id="main"
|
|
@@ -1812,7 +2028,7 @@ var ye = class extends n {
|
|
|
1812
2028
|
</px-container>
|
|
1813
2029
|
</px-vstack>
|
|
1814
2030
|
</px-container>
|
|
1815
|
-
`, this.shadowRoot.innerHTML = this.template(
|
|
2031
|
+
`, this.shadowRoot.innerHTML = this.template();
|
|
1816
2032
|
}
|
|
1817
2033
|
static get observedAttributes() {
|
|
1818
2034
|
return [
|
|
@@ -1848,9 +2064,6 @@ var ye = class extends n {
|
|
|
1848
2064
|
get backgroundImage() {
|
|
1849
2065
|
return this.getAttribute("background-image");
|
|
1850
2066
|
}
|
|
1851
|
-
get $imageStickySlot() {
|
|
1852
|
-
return this.querySelector("*[slot=\"image-sticky-container\"]");
|
|
1853
|
-
}
|
|
1854
2067
|
get $main() {
|
|
1855
2068
|
return this.shadowRoot.querySelector("#main");
|
|
1856
2069
|
}
|
|
@@ -1902,12 +2115,12 @@ var ye = class extends n {
|
|
|
1902
2115
|
this.$headerContainer.paddingLeft = e, this.$headerContainer.paddingRight = e, this.$bodyContainer.paddingLeft = e, this.$bodyContainer.paddingRight = e, this.$contactContainer.paddingLeft = e, this.$contactContainer.paddingRight = e, this.$footerContainer.paddingLeft = e, this.$footerContainer.paddingRight = e, this.$imageContainer.paddingLeft = e, this.$imageContainer.paddingRight = e;
|
|
1903
2116
|
}
|
|
1904
2117
|
};
|
|
1905
|
-
customElements.get("px-page") === void 0 && customElements.define("px-page",
|
|
2118
|
+
customElements.get("px-page") === void 0 && customElements.define("px-page", K);
|
|
1906
2119
|
//#endregion
|
|
1907
2120
|
//#region ../../components/Span/src/span.css?inline
|
|
1908
|
-
var
|
|
1909
|
-
q.replaceSync(
|
|
1910
|
-
var
|
|
2121
|
+
var we = "span,::slotted(span){font-family:var(--px-font-family);color:var(--px-color-text-neutral-default);font-size:var(--px-text-size-body-m-mobile);line-height:var(--px-line-height-ratio-l)}:host([inverted]) span,:host([inverted]) ::slotted(span){color:var(--px-color-text-neutral-inverted)}:host([strikethrough]) span{text-decoration:line-through}span.link{text-decoration:underline}@media screen and (width>=48rem){span,::slotted(span){font-size:var(--px-text-size-body-m-tablet)}}@media screen and (width>=64.0625rem){span,::slotted(span){font-size:var(--px-text-size-body-m-laptop)}}", Te = ".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 (width>=48rem){.font-size-body-l{font-size:var(--px-text-size-body-l-tablet)}.font-size-body-m{font-size:var(--px-text-size-body-m-tablet)}.font-size-body-s{font-size:var(--px-text-size-body-s-tablet)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-tablet)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-tablet)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-tablet)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-tablet)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-tablet)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-tablet)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-tablet)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-tablet)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-tablet)}.font-size-link-m{font-size:var(--px-text-size-link-m-tablet)}.font-size-link-s{font-size:var(--px-text-size-link-s-tablet)}}@media screen and (width>=64.0625rem){.font-size-body-l{font-size:var(--px-text-size-body-l-laptop)}.font-size-body-m{font-size:var(--px-text-size-body-m-laptop)}.font-size-body-s{font-size:var(--px-text-size-body-s-laptop)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-laptop)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-laptop)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-laptop)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-laptop)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-laptop)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-laptop)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-laptop)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-laptop)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-laptop)}.font-size-link-m{font-size:var(--px-text-size-link-m-laptop)}.font-size-link-s{font-size:var(--px-text-size-link-s-laptop)}}@media screen and (width>=90.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)}", q = new CSSStyleSheet(), J = new CSSStyleSheet();
|
|
2122
|
+
q.replaceSync(we), J.replaceSync(Te);
|
|
2123
|
+
var Ee = class extends t {
|
|
1911
2124
|
static {
|
|
1912
2125
|
this.nativeName = "span";
|
|
1913
2126
|
}
|
|
@@ -1928,13 +2141,13 @@ var xe = class extends t {
|
|
|
1928
2141
|
attributeChangedCallback(e, t, n) {
|
|
1929
2142
|
if (t !== n) switch (e) {
|
|
1930
2143
|
case "color":
|
|
1931
|
-
this.updateTypography(e, t, n,
|
|
2144
|
+
this.updateTypography(e, t, n, te);
|
|
1932
2145
|
break;
|
|
1933
2146
|
case "font-size":
|
|
1934
|
-
this.updateTypography(e, t, n,
|
|
2147
|
+
this.updateTypography(e, t, n, ne);
|
|
1935
2148
|
break;
|
|
1936
2149
|
case "font-weight":
|
|
1937
|
-
this.updateTypography(e, t, n,
|
|
2150
|
+
this.updateTypography(e, t, n, re);
|
|
1938
2151
|
break;
|
|
1939
2152
|
case "disabled":
|
|
1940
2153
|
this.color = "state-disabled";
|
|
@@ -1943,7 +2156,7 @@ var xe = class extends t {
|
|
|
1943
2156
|
}
|
|
1944
2157
|
}
|
|
1945
2158
|
updateTypography(e, t, n, r) {
|
|
1946
|
-
t !== null && t !== "" && t !== "default" && this.$el.classList.toggle(`${e}-${t}`), n !== null && n !== "" && n !== "default" && this.$el.classList.toggle(`${e}-${n}`), this.checkName(r, n) ||
|
|
2159
|
+
t !== null && t !== "" && t !== "default" && this.$el.classList.toggle(`${e}-${t}`), n !== null && n !== "" && n !== "default" && this.$el.classList.toggle(`${e}-${n}`), this.checkName(r, n) || h(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
1947
2160
|
}
|
|
1948
2161
|
get color() {
|
|
1949
2162
|
return this.getAttribute("color");
|
|
@@ -1982,7 +2195,7 @@ var xe = class extends t {
|
|
|
1982
2195
|
this._updateBooleanAttribute("disabled", e);
|
|
1983
2196
|
}
|
|
1984
2197
|
};
|
|
1985
|
-
customElements.get("px-span") || customElements.define("px-span",
|
|
2198
|
+
customElements.get("px-span") || customElements.define("px-span", Ee);
|
|
1986
2199
|
//#endregion
|
|
1987
2200
|
//#region src/autocomplete-option.css?inline
|
|
1988
2201
|
var Y = ":host{display:block}.container{min-height:var(--px-size-l);display:flex}.container>button{appearance:none;box-sizing:border-box;width:100%;min-height:100%;color:inherit;font:inherit;letter-spacing:0;text-align:left;cursor:pointer;padding:var(--px-padding-xs-mobile) var(--px-padding-s-mobile);background:0 0;border:0;align-items:center;margin:0;text-decoration:none;display:flex}.autocomplete-header{overflow:hidden}.autocomplete-header px-span{overflow-wrap:anywhere;min-width:0}:host([selected]) button,button:hover{background-color:var(--px-color-background-state-hover-default)}button:focus-visible{outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default);outline-offset:calc(-1 * var(--px-focus-offset-mobile));position:relative}@media only screen and (width>=48rem){button{padding:var(--px-padding-xs-tablet) var(--px-padding-s-tablet)}button:focus-visible{outline-width:var(--px-focus-outline-tablet);outline-offset:calc(-1 * var(--px-focus-offset-tablet))}}@media only screen and (width>=64.0625rem){button{padding:var(--px-padding-xs-laptop) var(--px-padding-s-laptop)}button:focus-visible{outline-width:var(--px-focus-outline-laptop);outline-offset:calc(-1 * var(--px-focus-offset-laptop))}}@media only screen and (width>=90.0625rem){button{padding:var(--px-padding-xs-desktop) var(--px-padding-s-desktop)}button:focus-visible{outline-width:var(--px-focus-outline-desktop);outline-offset:calc(-1 * var(--px-focus-offset-desktop))}}", X = new CSSStyleSheet();
|
|
@@ -2052,4 +2265,4 @@ var $ = class extends HTMLElement {
|
|
|
2052
2265
|
};
|
|
2053
2266
|
customElements.get("px-autocomplete-option") || customElements.define("px-autocomplete-option", $);
|
|
2054
2267
|
//#endregion
|
|
2055
|
-
export {
|
|
2268
|
+
export { j as Autocomplete, Z as AutocompleteHeader, $ as AutocompleteOption };
|