@warp-ds/elements 1.1.2-next.2 → 1.2.0-next.1

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.js CHANGED
@@ -4,7 +4,7 @@ var j = (r, o, e) => (_t(r, typeof o != "symbol" ? o + "" : o, e), e), qt = (r,
4
4
  if (!o.has(r))
5
5
  throw TypeError("Cannot " + e);
6
6
  };
7
- var K = (r, o, e) => (qt(r, o, "read from private field"), e ? e.call(r) : o.get(r)), fo = (r, o, e) => {
7
+ var K = (r, o, e) => (qt(r, o, "read from private field"), e ? e.call(r) : o.get(r)), mo = (r, o, e) => {
8
8
  if (o.has(r))
9
9
  throw TypeError("Cannot add the same private member more than once");
10
10
  o instanceof WeakSet ? o.add(r) : o.set(r, e);
@@ -16,9 +16,9 @@ import { LitElement as H, css as U, html as $ } from "lit";
16
16
  * SPDX-License-Identifier: BSD-3-Clause
17
17
  */
18
18
  var Yr;
19
- const dr = window, Lo = dr.trustedTypes, be = Lo ? Lo.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, nr = "$lit$", lo = `lit$${(Math.random() + "").slice(9)}$`, re = "?" + lo, Yt = `<${re}>`, Yo = document, br = () => Yo.createComment(""), Uo = (r) => r === null || typeof r != "object" && typeof r != "function", Ce = Array.isArray, Te = (r) => Ce(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", Xr = `[
20
- \f\r]`, No = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, se = /-->/g, ge = />/g, ko = RegExp(`>|${Xr}(?:([^\\s"'>=/]+)(${Xr}*=${Xr}*(?:[^
21
- \f\r"'\`<>=]|("|')|))|$)`, "g"), ue = /'/g, ve = /"/g, Le = /^(?:script|style|textarea|title)$/i, ho = Symbol.for("lit-noChange"), N = Symbol.for("lit-nothing"), pe = /* @__PURE__ */ new WeakMap(), _o = Yo.createTreeWalker(Yo, 129, null, !1);
19
+ const dr = window, Lo = dr.trustedTypes, be = Lo ? Lo.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, nr = "$lit$", io = `lit$${(Math.random() + "").slice(9)}$`, re = "?" + io, Yt = `<${re}>`, qo = document, br = () => qo.createComment(""), Uo = (r) => r === null || typeof r != "object" && typeof r != "function", Ce = Array.isArray, Le = (r) => Ce(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", Xr = `[
20
+ \f\r]`, Oo = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, se = /-->/g, ge = />/g, fo = RegExp(`>|${Xr}(?:([^\\s"'>=/]+)(${Xr}*=${Xr}*(?:[^
21
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), ue = /'/g, ve = /"/g, Te = /^(?:script|style|textarea|title)$/i, po = Symbol.for("lit-noChange"), N = Symbol.for("lit-nothing"), pe = /* @__PURE__ */ new WeakMap(), zo = qo.createTreeWalker(qo, 129, null, !1);
22
22
  function Me(r, o) {
23
23
  if (!Array.isArray(r) || !r.hasOwnProperty("raw"))
24
24
  throw Error("invalid template strings array");
@@ -26,14 +26,14 @@ function Me(r, o) {
26
26
  }
27
27
  const De = (r, o) => {
28
28
  const e = r.length - 1, t = [];
29
- let a, c = o === 2 ? "<svg>" : "", i = No;
29
+ let a, c = o === 2 ? "<svg>" : "", i = Oo;
30
30
  for (let l = 0; l < e; l++) {
31
31
  const n = r[l];
32
32
  let b, v, u = -1, p = 0;
33
33
  for (; p < n.length && (i.lastIndex = p, v = i.exec(n), v !== null); )
34
- p = i.lastIndex, i === No ? v[1] === "!--" ? i = se : v[1] !== void 0 ? i = ge : v[2] !== void 0 ? (Le.test(v[2]) && (a = RegExp("</" + v[2], "g")), i = ko) : v[3] !== void 0 && (i = ko) : i === ko ? v[0] === ">" ? (i = a ?? No, u = -1) : v[1] === void 0 ? u = -2 : (u = i.lastIndex - v[2].length, b = v[1], i = v[3] === void 0 ? ko : v[3] === '"' ? ve : ue) : i === ve || i === ue ? i = ko : i === se || i === ge ? i = No : (i = ko, a = void 0);
35
- const g = i === ko && r[l + 1].startsWith("/>") ? " " : "";
36
- c += i === No ? n + Yt : u >= 0 ? (t.push(b), n.slice(0, u) + nr + n.slice(u) + lo + g) : n + lo + (u === -2 ? (t.push(void 0), l) : g);
34
+ p = i.lastIndex, i === Oo ? v[1] === "!--" ? i = se : v[1] !== void 0 ? i = ge : v[2] !== void 0 ? (Te.test(v[2]) && (a = RegExp("</" + v[2], "g")), i = fo) : v[3] !== void 0 && (i = fo) : i === fo ? v[0] === ">" ? (i = a ?? Oo, u = -1) : v[1] === void 0 ? u = -2 : (u = i.lastIndex - v[2].length, b = v[1], i = v[3] === void 0 ? fo : v[3] === '"' ? ve : ue) : i === ve || i === ue ? i = fo : i === se || i === ge ? i = Oo : (i = fo, a = void 0);
35
+ const g = i === fo && r[l + 1].startsWith("/>") ? " " : "";
36
+ c += i === Oo ? n + Yt : u >= 0 ? (t.push(b), n.slice(0, u) + nr + n.slice(u) + io + g) : n + io + (u === -2 ? (t.push(void 0), l) : g);
37
37
  }
38
38
  return [Me(r, c + (r[e] || "<?>") + (o === 2 ? "</svg>" : "")), t];
39
39
  };
@@ -43,32 +43,32 @@ class Qo {
43
43
  this.parts = [];
44
44
  let c = 0, i = 0;
45
45
  const l = o.length - 1, n = this.parts, [b, v] = De(o, e);
46
- if (this.el = Qo.createElement(b, t), _o.currentNode = this.el.content, e === 2) {
46
+ if (this.el = Qo.createElement(b, t), zo.currentNode = this.el.content, e === 2) {
47
47
  const u = this.el.content, p = u.firstChild;
48
48
  p.remove(), u.append(...p.childNodes);
49
49
  }
50
- for (; (a = _o.nextNode()) !== null && n.length < l; ) {
50
+ for (; (a = zo.nextNode()) !== null && n.length < l; ) {
51
51
  if (a.nodeType === 1) {
52
52
  if (a.hasAttributes()) {
53
53
  const u = [];
54
54
  for (const p of a.getAttributeNames())
55
- if (p.endsWith(nr) || p.startsWith(lo)) {
55
+ if (p.endsWith(nr) || p.startsWith(io)) {
56
56
  const g = v[i++];
57
57
  if (u.push(p), g !== void 0) {
58
- const h = a.getAttribute(g.toLowerCase() + nr).split(lo), x = /([.?@])?(.*)/.exec(g);
59
- n.push({ type: 1, index: c, name: x[2], strings: h, ctor: x[1] === "." ? Be : x[1] === "?" ? Re : x[1] === "@" ? Pe : Vo });
58
+ const h = a.getAttribute(g.toLowerCase() + nr).split(io), x = /([.?@])?(.*)/.exec(g);
59
+ n.push({ type: 1, index: c, name: x[2], strings: h, ctor: x[1] === "." ? Be : x[1] === "?" ? Re : x[1] === "@" ? Pe : Wo });
60
60
  } else
61
61
  n.push({ type: 6, index: c });
62
62
  }
63
63
  for (const p of u)
64
64
  a.removeAttribute(p);
65
65
  }
66
- if (Le.test(a.tagName)) {
67
- const u = a.textContent.split(lo), p = u.length - 1;
66
+ if (Te.test(a.tagName)) {
67
+ const u = a.textContent.split(io), p = u.length - 1;
68
68
  if (p > 0) {
69
69
  a.textContent = Lo ? Lo.emptyScript : "";
70
70
  for (let g = 0; g < p; g++)
71
- a.append(u[g], br()), _o.nextNode(), n.push({ type: 2, index: ++c });
71
+ a.append(u[g], br()), zo.nextNode(), n.push({ type: 2, index: ++c });
72
72
  a.append(u[p], br());
73
73
  }
74
74
  }
@@ -77,24 +77,24 @@ class Qo {
77
77
  n.push({ type: 2, index: c });
78
78
  else {
79
79
  let u = -1;
80
- for (; (u = a.data.indexOf(lo, u + 1)) !== -1; )
81
- n.push({ type: 7, index: c }), u += lo.length - 1;
80
+ for (; (u = a.data.indexOf(io, u + 1)) !== -1; )
81
+ n.push({ type: 7, index: c }), u += io.length - 1;
82
82
  }
83
83
  c++;
84
84
  }
85
85
  }
86
86
  static createElement(o, e) {
87
- const t = Yo.createElement("template");
87
+ const t = qo.createElement("template");
88
88
  return t.innerHTML = o, t;
89
89
  }
90
90
  }
91
- function Xo(r, o, e = r, t) {
91
+ function Yo(r, o, e = r, t) {
92
92
  var a, c, i, l;
93
- if (o === ho)
93
+ if (o === po)
94
94
  return o;
95
95
  let n = t !== void 0 ? (a = e._$Co) === null || a === void 0 ? void 0 : a[t] : e._$Cl;
96
96
  const b = Uo(o) ? void 0 : o._$litDirective$;
97
- return (n == null ? void 0 : n.constructor) !== b && ((c = n == null ? void 0 : n._$AO) === null || c === void 0 || c.call(n, !1), b === void 0 ? n = void 0 : (n = new b(r), n._$AT(r, e, t)), t !== void 0 ? ((i = (l = e)._$Co) !== null && i !== void 0 ? i : l._$Co = [])[t] = n : e._$Cl = n), n !== void 0 && (o = Xo(r, n._$AS(r, o.values), n, t)), o;
97
+ return (n == null ? void 0 : n.constructor) !== b && ((c = n == null ? void 0 : n._$AO) === null || c === void 0 || c.call(n, !1), b === void 0 ? n = void 0 : (n = new b(r), n._$AT(r, e, t)), t !== void 0 ? ((i = (l = e)._$Co) !== null && i !== void 0 ? i : l._$Co = [])[t] = n : e._$Cl = n), n !== void 0 && (o = Yo(r, n._$AS(r, o.values), n, t)), o;
98
98
  }
99
99
  class Oe {
100
100
  constructor(o, e) {
@@ -108,17 +108,17 @@ class Oe {
108
108
  }
109
109
  u(o) {
110
110
  var e;
111
- const { el: { content: t }, parts: a } = this._$AD, c = ((e = o == null ? void 0 : o.creationScope) !== null && e !== void 0 ? e : Yo).importNode(t, !0);
112
- _o.currentNode = c;
113
- let i = _o.nextNode(), l = 0, n = 0, b = a[0];
111
+ const { el: { content: t }, parts: a } = this._$AD, c = ((e = o == null ? void 0 : o.creationScope) !== null && e !== void 0 ? e : qo).importNode(t, !0);
112
+ zo.currentNode = c;
113
+ let i = zo.nextNode(), l = 0, n = 0, b = a[0];
114
114
  for (; b !== void 0; ) {
115
115
  if (l === b.index) {
116
116
  let v;
117
117
  b.type === 2 ? v = new ee(i, i.nextSibling, this, o) : b.type === 1 ? v = new b.ctor(i, b.name, b.strings, this, o) : b.type === 6 && (v = new Ie(i, this, o)), this._$AV.push(v), b = a[++n];
118
118
  }
119
- l !== (b == null ? void 0 : b.index) && (i = _o.nextNode(), l++);
119
+ l !== (b == null ? void 0 : b.index) && (i = zo.nextNode(), l++);
120
120
  }
121
- return _o.currentNode = Yo, c;
121
+ return zo.currentNode = qo, c;
122
122
  }
123
123
  v(o) {
124
124
  let e = 0;
@@ -147,7 +147,7 @@ let ee = class Ne {
147
147
  return this._$AB;
148
148
  }
149
149
  _$AI(o, e = this) {
150
- o = Xo(this, o, e), Uo(o) ? o === N || o == null || o === "" ? (this._$AH !== N && this._$AR(), this._$AH = N) : o !== this._$AH && o !== ho && this._(o) : o._$litType$ !== void 0 ? this.g(o) : o.nodeType !== void 0 ? this.$(o) : Te(o) ? this.T(o) : this._(o);
150
+ o = Yo(this, o, e), Uo(o) ? o === N || o == null || o === "" ? (this._$AH !== N && this._$AR(), this._$AH = N) : o !== this._$AH && o !== po && this._(o) : o._$litType$ !== void 0 ? this.g(o) : o.nodeType !== void 0 ? this.$(o) : Le(o) ? this.T(o) : this._(o);
151
151
  }
152
152
  k(o) {
153
153
  return this._$AA.parentNode.insertBefore(o, this._$AB);
@@ -156,7 +156,7 @@ let ee = class Ne {
156
156
  this._$AH !== o && (this._$AR(), this._$AH = this.k(o));
157
157
  }
158
158
  _(o) {
159
- this._$AH !== N && Uo(this._$AH) ? this._$AA.nextSibling.data = o : this.$(Yo.createTextNode(o)), this._$AH = o;
159
+ this._$AH !== N && Uo(this._$AH) ? this._$AA.nextSibling.data = o : this.$(qo.createTextNode(o)), this._$AH = o;
160
160
  }
161
161
  g(o) {
162
162
  var e;
@@ -192,7 +192,7 @@ let ee = class Ne {
192
192
  this._$AM === void 0 && (this._$Cp = o, (e = this._$AP) === null || e === void 0 || e.call(this, o));
193
193
  }
194
194
  };
195
- class Vo {
195
+ class Wo {
196
196
  constructor(o, e, t, a, c) {
197
197
  this.type = 1, this._$AH = N, this._$AN = void 0, this.element = o, this.name = e, this._$AM = a, this.options = c, t.length > 2 || t[0] !== "" || t[1] !== "" ? (this._$AH = Array(t.length - 1).fill(new String()), this.strings = t) : this._$AH = N;
198
198
  }
@@ -206,12 +206,12 @@ class Vo {
206
206
  const c = this.strings;
207
207
  let i = !1;
208
208
  if (c === void 0)
209
- o = Xo(this, o, e, 0), i = !Uo(o) || o !== this._$AH && o !== ho, i && (this._$AH = o);
209
+ o = Yo(this, o, e, 0), i = !Uo(o) || o !== this._$AH && o !== po, i && (this._$AH = o);
210
210
  else {
211
211
  const l = o;
212
212
  let n, b;
213
213
  for (o = c[0], n = 0; n < c.length - 1; n++)
214
- b = Xo(this, l[t + n], e, n), b === ho && (b = this._$AH[n]), i || (i = !Uo(b) || b !== this._$AH[n]), b === N ? o = N : o !== N && (o += (b ?? "") + c[n + 1]), this._$AH[n] = b;
214
+ b = Yo(this, l[t + n], e, n), b === po && (b = this._$AH[n]), i || (i = !Uo(b) || b !== this._$AH[n]), b === N ? o = N : o !== N && (o += (b ?? "") + c[n + 1]), this._$AH[n] = b;
215
215
  }
216
216
  i && !a && this.j(o);
217
217
  }
@@ -219,7 +219,7 @@ class Vo {
219
219
  o === N ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, o ?? "");
220
220
  }
221
221
  }
222
- let Be = class extends Vo {
222
+ let Be = class extends Wo {
223
223
  constructor() {
224
224
  super(...arguments), this.type = 3;
225
225
  }
@@ -228,20 +228,20 @@ let Be = class extends Vo {
228
228
  }
229
229
  };
230
230
  const Xt = Lo ? Lo.emptyScript : "";
231
- let Re = class extends Vo {
231
+ let Re = class extends Wo {
232
232
  constructor() {
233
233
  super(...arguments), this.type = 4;
234
234
  }
235
235
  j(o) {
236
236
  o && o !== N ? this.element.setAttribute(this.name, Xt) : this.element.removeAttribute(this.name);
237
237
  }
238
- }, Pe = class extends Vo {
238
+ }, Pe = class extends Wo {
239
239
  constructor(o, e, t, a, c) {
240
240
  super(o, e, t, a, c), this.type = 5;
241
241
  }
242
242
  _$AI(o, e = this) {
243
243
  var t;
244
- if ((o = (t = Xo(this, o, e, 0)) !== null && t !== void 0 ? t : N) === ho)
244
+ if ((o = (t = Yo(this, o, e, 0)) !== null && t !== void 0 ? t : N) === po)
245
245
  return;
246
246
  const a = this._$AH, c = o === N && a !== N || o.capture !== a.capture || o.once !== a.once || o.passive !== a.passive, i = o !== N && (a === N || c);
247
247
  c && this.element.removeEventListener(this.name, this, a), i && this.element.addEventListener(this.name, this, o), this._$AH = o;
@@ -259,17 +259,17 @@ class Ie {
259
259
  return this._$AM._$AU;
260
260
  }
261
261
  _$AI(o) {
262
- Xo(this, o);
262
+ Yo(this, o);
263
263
  }
264
264
  }
265
- const Zt = { O: nr, P: lo, A: re, C: 1, M: De, L: Oe, D: Te, R: Xo, I: ee, V: Vo, H: Re, N: Pe, U: Be, F: Ie }, he = dr.litHtmlPolyfillSupport;
265
+ const Zt = { O: nr, P: io, A: re, C: 1, M: De, L: Oe, D: Le, R: Yo, I: ee, V: Wo, H: Re, N: Pe, U: Be, F: Ie }, he = dr.litHtmlPolyfillSupport;
266
266
  he == null || he(Qo, ee), ((Yr = dr.litHtmlVersions) !== null && Yr !== void 0 ? Yr : dr.litHtmlVersions = []).push("2.7.5");
267
267
  /**
268
268
  * @license
269
269
  * Copyright 2018 Google LLC
270
270
  * SPDX-License-Identifier: BSD-3-Clause
271
271
  */
272
- const O = (r) => r ?? N, io = {
272
+ const O = (r) => r ?? N, No = {
273
273
  base: "border-2 relative",
274
274
  tooltip: "i-bg-$color-tooltip-background i-border-$color-tooltip-background i-shadow-$shadow-tooltip i-text-$color-tooltip-text rounded-4 py-6 px-8",
275
275
  callout: "i-bg-$color-callout-background i-border-$color-callout-border i-text-$color-callout-text py-8 px-16 rounded-8",
@@ -286,7 +286,7 @@ const O = (r) => r ?? N, io = {
286
286
  arrowHighlight: "i-bg-$color-callout-background i-border-$color-callout-border",
287
287
  content: "last-child:mb-0",
288
288
  notCallout: "absolute z-50"
289
- }, $o = {
289
+ }, ko = {
290
290
  base: "py-4 px-8 border-0 rounded-4 text-xs inline-flex",
291
291
  neutral: "i-bg-$color-badge-neutral-background i-text-$color-badge-neutral-text",
292
292
  info: "i-bg-$color-badge-info-background i-text-$color-badge-info-text",
@@ -301,7 +301,7 @@ const O = (r) => r ?? N, io = {
301
301
  positionTR: "rounded-tl-0 rounded-tr-0 rounded-br-0 top-0 right-0",
302
302
  positionBR: "rounded-tr-0 rounded-br-0 rounded-bl-0 bottom-0 right-0",
303
303
  positionBL: "rounded-tl-0 rounded-br-0 rounded-bl-0 bottom-0 left-0"
304
- }, no = {
304
+ }, lo = {
305
305
  box: "group block relative break-words last-child:mb-0 p-16 rounded-8",
306
306
  // Relative here enables w-clickable
307
307
  bleed: "-mx-16 sm:mx-0 rounded-l-0 rounded-r-0 sm:rounded-8",
@@ -343,8 +343,8 @@ const O = (r) => r ?? N, io = {
343
343
  }, jt = "focus:outline-none appearance-none cursor-pointer bg-transparent border-0 m-0 p-0 inline-block", Q = {
344
344
  expandable: "will-change-height",
345
345
  expandableTitle: "font-bold i-text-$color-expandable-title-text",
346
- expandableBox: "i-bg-$color-expandable-background hover:i-bg-$color-expandable-background-hover py-0 px-0 " + no.box,
347
- expandableBleed: no.bleed,
346
+ expandableBox: "i-bg-$color-expandable-background hover:i-bg-$color-expandable-background-hover py-0 px-0 " + lo.box,
347
+ expandableBleed: lo.bleed,
348
348
  chevron: "inline-block align-middle i-text-$color-expandable-icon",
349
349
  chevronNonBox: "relative left-8",
350
350
  chevronBox: "absolute right-16",
@@ -354,11 +354,11 @@ const O = (r) => r ?? N, io = {
354
354
  expansion: "overflow-hidden",
355
355
  expansionNotExpanded: "h-0 invisible",
356
356
  button: jt + " hover:underline focus:underline",
357
- buttonBox: "w-full text-left relative inline-flex items-center " + no.box,
357
+ buttonBox: "w-full text-left relative inline-flex items-center " + lo.box,
358
358
  paddingTop: "pt-0",
359
359
  title: "flex justify-between items-center",
360
360
  titleType: "h4"
361
- }, uo = "font-bold focusable justify-center transition-colors ease-in-out", D = {
361
+ }, go = "font-bold focusable justify-center transition-colors ease-in-out", D = {
362
362
  primary: "i-text-$color-button-primary-text hover:i-text-$color-button-primary-text i-bg-$color-button-primary-background hover:i-bg-$color-button-primary-background-hover active:i-bg-$color-button-primary-background-active",
363
363
  secondary: "i-text-$color-button-secondary-text hover:i-text-$color-button-secondary-text i-border-$color-button-secondary-border i-bg-$color-button-secondary-background hover:i-bg-$color-button-secondary-background-hover hover:i-border-$color-button-secondary-border-hover active:i-bg-$color-button-secondary-background-active",
364
364
  utility: "i-text-$color-button-utility-text hover:i-text-$color-button-utility-text i-bg-$color-button-utility-background i-border-$color-button-utility-border hover:i-bg-$color-button-utility-background hover:i-border-$color-button-utility-border-hover active:i-border-$color-button-utility-border-active",
@@ -371,11 +371,11 @@ const O = (r) => r ?? N, io = {
371
371
  loading: "i-text-$color-button-loading-text i-bg-$color-button-loading-background",
372
372
  link: "i-text-$color-button-link-text"
373
373
  }, S = {
374
- primary: `border-0 rounded-8 ${uo}`,
375
- secondary: `border-2 rounded-8 ${uo}`,
376
- utility: `border rounded-4 ${uo}`,
377
- negative: `border-0 rounded-8 ${uo}`,
378
- pill: `p-4 rounded-full border-0 inline-flex items-center justify-center hover:bg-clip-padding ${uo}`,
374
+ primary: `border-0 rounded-8 ${go}`,
375
+ secondary: `border-2 rounded-8 ${go}`,
376
+ utility: `border rounded-4 ${go}`,
377
+ negative: `border-0 rounded-8 ${go}`,
378
+ pill: `p-4 rounded-full border-0 inline-flex items-center justify-center hover:bg-clip-padding ${go}`,
379
379
  link: `bg-transparent focusable ease-in-out inline active:underline hover:underline ${D.link}`
380
380
  }, f = {
381
381
  xsmall: "py-6 px-16",
@@ -393,9 +393,9 @@ const O = (r) => r ?? N, io = {
393
393
  }, m = {
394
394
  inProgress: `border-transparent animate-inprogress pointer-events-none ${D.loading}`,
395
395
  // .button--in-progress, a.button--in-progress:visited
396
- quiet: `border-0 rounded-8 ${uo}`,
397
- utilityQuiet: `border-0 rounded-4 ${uo}`,
398
- negativeQuiet: `border-0 rounded-8 ${uo}`,
396
+ quiet: `border-0 rounded-8 ${go}`,
397
+ utilityQuiet: `border-0 rounded-4 ${go}`,
398
+ negativeQuiet: `border-0 rounded-8 ${go}`,
399
399
  isDisabled: `font-bold justify-center transition-colors ease-in-out cursor-default pointer-events-none ${D.disabled}`
400
400
  // .button:disabled, .button--is-disabled
401
401
  }, Y = {
@@ -480,7 +480,7 @@ const O = (r) => r ?? N, io = {
480
480
  warningIcon: "i-text-$color-alert-warning-icon",
481
481
  info: "i-border-$color-alert-info-subtle-border i-bg-$color-alert-info-background i-text-$color-alert-info-text i-border-l-$color-alert-info-border",
482
482
  infoIcon: "i-text-$color-alert-info-icon"
483
- }, yo = {
483
+ }, $o = {
484
484
  default: "block text-m mb-0 leading-m i-text-$color-input-text-filled i-bg-$color-input-background i-border-$color-input-border hover:i-border-$color-input-border-hover active:i-border-$color-input-border-active rounded-4 py-12 px-8 block border-1 w-full focusable focus:[--w-outline-offset:-2px] caret-current",
485
485
  textArea: "min-h-[42] sm:min-h-[45]",
486
486
  disabled: "i-bg-$color-input-background-disabled i-border-$color-input-border-disabled hover:i-border-$color-input-border-disabled! i-text-$color-input-text-disabled pointer-events-none",
@@ -490,7 +490,7 @@ const O = (r) => r ?? N, io = {
490
490
  wrapper: "relative",
491
491
  suffix: "pr-40",
492
492
  prefix: "pl-40"
493
- }, So = {
493
+ }, jo = {
494
494
  default: "block text-m mb-0 leading-m i-text-$color-select-text i-bg-$color-select-background i-border-$color-select-border hover:i-border-$color-select-border-hover active:i-border-$color-select-border-active rounded-4 py-12 px-8 block border-1 w-full focusable focus:[--w-outline-offset:-2px] appearance-none pr-32 cursor-pointer caret-current",
495
495
  disabled: "i-bg-$color-select-background-disabled i-border-$color-select-border-disabled hover:i-border-$color-select-border-disabled! active:i-border-$color-select-border-disabled! i-text-$color-select-text-disabled pointer-events-none",
496
496
  invalid: "i-border-$color-select-border-negative",
@@ -517,7 +517,7 @@ const O = (r) => r ?? N, io = {
517
517
  wrapperWithLabel: "w-max pl-12",
518
518
  wrapperWithIcon: "w-40",
519
519
  label: "antialiased block relative cursor-default pb-0 font-bold text-xs i-text-$color-label-text"
520
- }, Eo = {
520
+ }, Ao = {
521
521
  wrapper: "flex space-x-8",
522
522
  text: "i-text-$color-breadcrumbs-text",
523
523
  link: "i-text-$color-breadcrumbs-link-text",
@@ -576,7 +576,7 @@ const Ue = ae(class extends ce {
576
576
  const i = !!o[c];
577
577
  i === this.it.has(c) || !((t = this.nt) === null || t === void 0) && t.has(c) || (i ? (a.add(c), this.it.add(c)) : (a.remove(c), this.it.delete(c)));
578
578
  }
579
- return ho;
579
+ return po;
580
580
  }
581
581
  }), Et = (r) => r.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
582
582
  function Jo(r) {
@@ -1309,11 +1309,11 @@ j(Er, "styles", U`
1309
1309
  label: { type: String }
1310
1310
  });
1311
1311
  customElements.get("w-affix") || customElements.define("w-affix", Er);
1312
- var vo = function() {
1312
+ var uo = function() {
1313
1313
  for (var r = [], o = arguments.length; o--; )
1314
1314
  r[o] = arguments[o];
1315
1315
  return r.reduce(function(e, t) {
1316
- return e.concat(typeof t == "string" ? t : Array.isArray(t) ? vo.apply(void 0, t) : typeof t == "object" && t ? Object.keys(t).map(function(a) {
1316
+ return e.concat(typeof t == "string" ? t : Array.isArray(t) ? uo.apply(void 0, t) : typeof t == "object" && t ? Object.keys(t).map(function(a) {
1317
1317
  return t[a] ? a : "";
1318
1318
  }) : "");
1319
1319
  }, []).join(" ");
@@ -1336,14 +1336,14 @@ negative, positive, warning, info.`
1336
1336
  );
1337
1337
  }
1338
1338
  get _wrapperClasses() {
1339
- return vo({
1339
+ return uo({
1340
1340
  [Bo.alert]: !0,
1341
1341
  [Bo[this.variant]]: !0
1342
1342
  });
1343
1343
  }
1344
1344
  get _iconClasses() {
1345
1345
  const o = Bo[`${this.variant}Icon`];
1346
- return vo({
1346
+ return uo({
1347
1347
  [Bo.icon]: !0,
1348
1348
  [o]: !0
1349
1349
  });
@@ -2078,12 +2078,12 @@ function we(r, o, e) {
2078
2078
  }
2079
2079
  return u;
2080
2080
  }
2081
- const Tt = async (r, o, e) => {
2081
+ const Lt = async (r, o, e) => {
2082
2082
  const { placement: t = "bottom", strategy: a = "absolute", middleware: c = [], platform: i } = e, l = await (i.isRTL == null ? void 0 : i.isRTL(o));
2083
2083
  let n = await i.getElementRects({ reference: r, floating: o, strategy: a }), { x: b, y: v } = we(n, t, l), u = t, p = {}, g = 0;
2084
2084
  for (let h = 0; h < c.length; h++) {
2085
- const { name: x, fn: z } = c[h], { x: E, y: L, data: B, reset: M } = await z({ x: b, y: v, initialPlacement: t, placement: u, strategy: a, middlewareData: p, rects: n, platform: i, elements: { reference: r, floating: o } });
2086
- b = E ?? b, v = L ?? v, p = { ...p, [x]: { ...p[x], ...B } }, M && g <= 50 && (g++, typeof M == "object" && (M.placement && (u = M.placement), M.rects && (n = M.rects === !0 ? await i.getElementRects({ reference: r, floating: o, strategy: a }) : M.rects), { x: b, y: v } = we(n, u, l)), h = -1);
2085
+ const { name: x, fn: z } = c[h], { x: E, y: T, data: B, reset: M } = await z({ x: b, y: v, initialPlacement: t, placement: u, strategy: a, middlewareData: p, rects: n, platform: i, elements: { reference: r, floating: o } });
2086
+ b = E ?? b, v = T ?? v, p = { ...p, [x]: { ...p[x], ...B } }, M && g <= 50 && (g++, typeof M == "object" && (M.placement && (u = M.placement), M.rects && (n = M.rects === !0 ? await i.getElementRects({ reference: r, floating: o, strategy: a }) : M.rects), { x: b, y: v } = we(n, u, l)), h = -1);
2087
2087
  }
2088
2088
  return { x: b, y: v, placement: u, strategy: a, middlewareData: p };
2089
2089
  };
@@ -2101,18 +2101,18 @@ async function Fe(r, o) {
2101
2101
  const { x: t, y: a, platform: c, rects: i, elements: l, strategy: n } = r, { boundary: b = "clippingAncestors", rootBoundary: v = "viewport", elementContext: u = "floating", altBoundary: p = !1, padding: g = 0 } = o, h = Qe(g), x = l[p ? u === "floating" ? "reference" : "floating" : u], z = gr(await c.getClippingRect({ element: (e = await (c.isElement == null ? void 0 : c.isElement(x))) == null || e ? x : x.contextElement || await (c.getDocumentElement == null ? void 0 : c.getDocumentElement(l.floating)), boundary: b, rootBoundary: v, strategy: n })), E = gr(c.convertOffsetParentRelativeRectToViewportRelativeRect ? await c.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: u === "floating" ? { ...i.floating, x: t, y: a } : i.reference, offsetParent: await (c.getOffsetParent == null ? void 0 : c.getOffsetParent(l.floating)), strategy: n }) : i[u]);
2102
2102
  return { top: z.top - E.top + h.top, bottom: E.bottom - z.bottom + h.bottom, left: z.left - E.left + h.left, right: E.right - z.right + h.right };
2103
2103
  }
2104
- const Lt = Math.min, Mt = Math.max;
2105
- function Tr(r, o, e) {
2106
- return Mt(r, Lt(o, e));
2104
+ const Tt = Math.min, Mt = Math.max;
2105
+ function Lr(r, o, e) {
2106
+ return Mt(r, Tt(o, e));
2107
2107
  }
2108
2108
  const Dt = (r) => ({ name: "arrow", options: r, async fn(o) {
2109
2109
  const { element: e, padding: t = 0 } = r ?? {}, { x: a, y: c, placement: i, rects: l, platform: n } = o;
2110
2110
  if (e == null)
2111
2111
  return {};
2112
- const b = Qe(t), v = { x: a, y: c }, u = Ko(i), p = yr(i), g = ie(u), h = await n.getDimensions(e), x = u === "y" ? "top" : "left", z = u === "y" ? "bottom" : "right", E = l.reference[g] + l.reference[u] - v[u] - l.floating[g], L = v[u] - l.reference[u], B = await (n.getOffsetParent == null ? void 0 : n.getOffsetParent(e));
2112
+ const b = Qe(t), v = { x: a, y: c }, u = Ko(i), p = yr(i), g = ie(u), h = await n.getDimensions(e), x = u === "y" ? "top" : "left", z = u === "y" ? "bottom" : "right", E = l.reference[g] + l.reference[u] - v[u] - l.floating[g], T = v[u] - l.reference[u], B = await (n.getOffsetParent == null ? void 0 : n.getOffsetParent(e));
2113
2113
  let M = B ? u === "y" ? B.clientHeight || 0 : B.clientWidth || 0 : 0;
2114
2114
  M === 0 && (M = l.floating[g]);
2115
- const co = E / 2 - L / 2, W = b[x], C = M - h[g] - b[z], R = M / 2 - h[g] / 2 + co, F = Tr(W, R, C), ro = (p === "start" ? b[x] : b[z]) > 0 && R !== F && l.reference[g] <= l.floating[g];
2115
+ const co = E / 2 - T / 2, W = b[x], C = M - h[g] - b[z], R = M / 2 - h[g] / 2 + co, F = Lr(W, R, C), ro = (p === "start" ? b[x] : b[z]) > 0 && R !== F && l.reference[g] <= l.floating[g];
2116
2116
  return { [u]: v[u] - (ro ? R < W ? W - R : C - R : 0), data: { [u]: F, centerOffset: R - F } };
2117
2117
  } }), Ot = { left: "right", right: "left", bottom: "top", top: "bottom" };
2118
2118
  function ur(r) {
@@ -2136,11 +2136,11 @@ const Pt = function(r) {
2136
2136
  const { placement: t, middlewareData: a, rects: c, initialPlacement: i, platform: l, elements: n } = o, { mainAxis: b = !0, crossAxis: v = !0, fallbackPlacements: u, fallbackStrategy: p = "bestFit", flipAlignment: g = !0, ...h } = r, x = Go(t), z = u || (x === i || !g ? [ur(i)] : function(R) {
2137
2137
  const F = ur(R);
2138
2138
  return [xe(R), F, xe(F)];
2139
- }(i)), E = [i, ...z], L = await Fe(o, h), B = [];
2139
+ }(i)), E = [i, ...z], T = await Fe(o, h), B = [];
2140
2140
  let M = ((e = a.flip) == null ? void 0 : e.overflows) || [];
2141
- if (b && B.push(L[x]), v) {
2141
+ if (b && B.push(T[x]), v) {
2142
2142
  const { main: R, cross: F } = Nt(t, c, await (l.isRTL == null ? void 0 : l.isRTL(n.floating)));
2143
- B.push(L[R], L[F]);
2143
+ B.push(T[R], T[F]);
2144
2144
  }
2145
2145
  if (M = [...M, { placement: t, overflows: B }], !B.every((R) => R <= 0)) {
2146
2146
  var co, W;
@@ -2167,8 +2167,8 @@ const Pt = function(r) {
2167
2167
  return r === void 0 && (r = 0), { name: "offset", options: r, async fn(o) {
2168
2168
  const { x: e, y: t } = o, a = await async function(c, i) {
2169
2169
  const { placement: l, platform: n, elements: b } = c, v = await (n.isRTL == null ? void 0 : n.isRTL(b.floating)), u = Go(l), p = yr(l), g = Ko(l) === "x", h = ["left", "top"].includes(u) ? -1 : 1, x = v && g ? -1 : 1, z = typeof i == "function" ? i(c) : i;
2170
- let { mainAxis: E, crossAxis: L, alignmentAxis: B } = typeof z == "number" ? { mainAxis: z, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...z };
2171
- return p && typeof B == "number" && (L = p === "end" ? -1 * B : B), g ? { x: L * x, y: E * h } : { x: E * h, y: L * x };
2170
+ let { mainAxis: E, crossAxis: T, alignmentAxis: B } = typeof z == "number" ? { mainAxis: z, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...z };
2171
+ return p && typeof B == "number" && (T = p === "end" ? -1 * B : B), g ? { x: T * x, y: E * h } : { x: E * h, y: T * x };
2172
2172
  }(o, r);
2173
2173
  return { x: e + a.x, y: t + a.y, data: a };
2174
2174
  } };
@@ -2179,116 +2179,116 @@ function Ht(r) {
2179
2179
  const Ut = function(r) {
2180
2180
  return r === void 0 && (r = {}), { name: "shift", options: r, async fn(o) {
2181
2181
  const { x: e, y: t, placement: a } = o, { mainAxis: c = !0, crossAxis: i = !1, limiter: l = { fn: (z) => {
2182
- let { x: E, y: L } = z;
2183
- return { x: E, y: L };
2182
+ let { x: E, y: T } = z;
2183
+ return { x: E, y: T };
2184
2184
  } }, ...n } = r, b = { x: e, y: t }, v = await Fe(o, n), u = Ko(Go(a)), p = Ht(u);
2185
2185
  let g = b[u], h = b[p];
2186
2186
  if (c) {
2187
2187
  const z = u === "y" ? "bottom" : "right";
2188
- g = Tr(g + v[u === "y" ? "top" : "left"], g, g - v[z]);
2188
+ g = Lr(g + v[u === "y" ? "top" : "left"], g, g - v[z]);
2189
2189
  }
2190
2190
  if (i) {
2191
2191
  const z = p === "y" ? "bottom" : "right";
2192
- h = Tr(h + v[p === "y" ? "top" : "left"], h, h - v[z]);
2192
+ h = Lr(h + v[p === "y" ? "top" : "left"], h, h - v[z]);
2193
2193
  }
2194
2194
  const x = l.fn({ ...o, [u]: g, [p]: h });
2195
2195
  return { ...x, data: { x: x.x - e, y: x.y - t } };
2196
2196
  } };
2197
2197
  };
2198
- function We(r) {
2198
+ function Ve(r) {
2199
2199
  return r && r.document && r.location && r.alert && r.setInterval;
2200
2200
  }
2201
- function so(r) {
2201
+ function bo(r) {
2202
2202
  if (r == null)
2203
2203
  return window;
2204
- if (!We(r)) {
2204
+ if (!Ve(r)) {
2205
2205
  const o = r.ownerDocument;
2206
2206
  return o && o.defaultView || window;
2207
2207
  }
2208
2208
  return r;
2209
2209
  }
2210
2210
  function or(r) {
2211
- return so(r).getComputedStyle(r);
2211
+ return bo(r).getComputedStyle(r);
2212
2212
  }
2213
- function bo(r) {
2214
- return We(r) ? "" : r ? (r.nodeName || "").toLowerCase() : "";
2213
+ function no(r) {
2214
+ return Ve(r) ? "" : r ? (r.nodeName || "").toLowerCase() : "";
2215
2215
  }
2216
- function Ve() {
2216
+ function We() {
2217
2217
  const r = navigator.userAgentData;
2218
2218
  return r != null && r.brands ? r.brands.map((o) => o.brand + "/" + o.version).join(" ") : navigator.userAgent;
2219
2219
  }
2220
2220
  function ao(r) {
2221
- return r instanceof so(r).HTMLElement;
2221
+ return r instanceof bo(r).HTMLElement;
2222
2222
  }
2223
- function Mo(r) {
2224
- return r instanceof so(r).Element;
2223
+ function To(r) {
2224
+ return r instanceof bo(r).Element;
2225
2225
  }
2226
2226
  function le(r) {
2227
- return typeof ShadowRoot > "u" ? !1 : r instanceof so(r).ShadowRoot || r instanceof ShadowRoot;
2227
+ return typeof ShadowRoot > "u" ? !1 : r instanceof bo(r).ShadowRoot || r instanceof ShadowRoot;
2228
2228
  }
2229
2229
  function zr(r) {
2230
2230
  const { overflow: o, overflowX: e, overflowY: t } = or(r);
2231
2231
  return /auto|scroll|overlay|hidden/.test(o + t + e);
2232
2232
  }
2233
2233
  function Qt(r) {
2234
- return ["table", "td", "th"].includes(bo(r));
2234
+ return ["table", "td", "th"].includes(no(r));
2235
2235
  }
2236
2236
  function me(r) {
2237
- const o = /firefox/i.test(Ve()), e = or(r);
2237
+ const o = /firefox/i.test(We()), e = or(r);
2238
2238
  return e.transform !== "none" || e.perspective !== "none" || e.contain === "paint" || ["transform", "perspective"].includes(e.willChange) || o && e.willChange === "filter" || o && !!e.filter && e.filter !== "none";
2239
2239
  }
2240
2240
  function Je() {
2241
- return !/^((?!chrome|android).)*safari/i.test(Ve());
2241
+ return !/^((?!chrome|android).)*safari/i.test(We());
2242
2242
  }
2243
2243
  const fe = Math.min, Ho = Math.max, vr = Math.round;
2244
- function qo(r, o, e) {
2244
+ function _o(r, o, e) {
2245
2245
  var t, a, c, i;
2246
2246
  o === void 0 && (o = !1), e === void 0 && (e = !1);
2247
2247
  const l = r.getBoundingClientRect();
2248
2248
  let n = 1, b = 1;
2249
2249
  o && ao(r) && (n = r.offsetWidth > 0 && vr(l.width) / r.offsetWidth || 1, b = r.offsetHeight > 0 && vr(l.height) / r.offsetHeight || 1);
2250
- const v = Mo(r) ? so(r) : window, u = !Je() && e, p = (l.left + (u && (t = (a = v.visualViewport) == null ? void 0 : a.offsetLeft) != null ? t : 0)) / n, g = (l.top + (u && (c = (i = v.visualViewport) == null ? void 0 : i.offsetTop) != null ? c : 0)) / b, h = l.width / n, x = l.height / b;
2250
+ const v = To(r) ? bo(r) : window, u = !Je() && e, p = (l.left + (u && (t = (a = v.visualViewport) == null ? void 0 : a.offsetLeft) != null ? t : 0)) / n, g = (l.top + (u && (c = (i = v.visualViewport) == null ? void 0 : i.offsetTop) != null ? c : 0)) / b, h = l.width / n, x = l.height / b;
2251
2251
  return { width: h, height: x, top: g, right: p + h, bottom: g + x, left: p, x: p, y: g };
2252
2252
  }
2253
- function po(r) {
2254
- return (o = r, (o instanceof so(o).Node ? r.ownerDocument : r.document) || window.document).documentElement;
2253
+ function vo(r) {
2254
+ return (o = r, (o instanceof bo(o).Node ? r.ownerDocument : r.document) || window.document).documentElement;
2255
2255
  var o;
2256
2256
  }
2257
2257
  function _r(r) {
2258
- return Mo(r) ? { scrollLeft: r.scrollLeft, scrollTop: r.scrollTop } : { scrollLeft: r.pageXOffset, scrollTop: r.pageYOffset };
2258
+ return To(r) ? { scrollLeft: r.scrollLeft, scrollTop: r.scrollTop } : { scrollLeft: r.pageXOffset, scrollTop: r.pageYOffset };
2259
2259
  }
2260
2260
  function Ge(r) {
2261
- return qo(po(r)).left + _r(r).scrollLeft;
2261
+ return _o(vo(r)).left + _r(r).scrollLeft;
2262
2262
  }
2263
2263
  function Ft(r, o, e) {
2264
- const t = ao(o), a = po(o), c = qo(r, t && function(n) {
2265
- const b = qo(n);
2264
+ const t = ao(o), a = vo(o), c = _o(r, t && function(n) {
2265
+ const b = _o(n);
2266
2266
  return vr(b.width) !== n.offsetWidth || vr(b.height) !== n.offsetHeight;
2267
2267
  }(o), e === "fixed");
2268
2268
  let i = { scrollLeft: 0, scrollTop: 0 };
2269
2269
  const l = { x: 0, y: 0 };
2270
2270
  if (t || !t && e !== "fixed")
2271
- if ((bo(o) !== "body" || zr(a)) && (i = _r(o)), ao(o)) {
2272
- const n = qo(o, !0);
2271
+ if ((no(o) !== "body" || zr(a)) && (i = _r(o)), ao(o)) {
2272
+ const n = _o(o, !0);
2273
2273
  l.x = n.x + o.clientLeft, l.y = n.y + o.clientTop;
2274
2274
  } else
2275
2275
  a && (l.x = Ge(a));
2276
2276
  return { x: c.left + i.scrollLeft - l.x, y: c.top + i.scrollTop - l.y, width: c.width, height: c.height };
2277
2277
  }
2278
2278
  function Ke(r) {
2279
- return bo(r) === "html" ? r : r.assignedSlot || r.parentNode || (le(r) ? r.host : null) || po(r);
2279
+ return no(r) === "html" ? r : r.assignedSlot || r.parentNode || (le(r) ? r.host : null) || vo(r);
2280
2280
  }
2281
2281
  function ke(r) {
2282
2282
  return ao(r) && getComputedStyle(r).position !== "fixed" ? r.offsetParent : null;
2283
2283
  }
2284
- function Lr(r) {
2285
- const o = so(r);
2284
+ function Tr(r) {
2285
+ const o = bo(r);
2286
2286
  let e = ke(r);
2287
2287
  for (; e && Qt(e) && getComputedStyle(e).position === "static"; )
2288
2288
  e = ke(e);
2289
- return e && (bo(e) === "html" || bo(e) === "body" && getComputedStyle(e).position === "static" && !me(e)) ? o : e || function(t) {
2289
+ return e && (no(e) === "html" || no(e) === "body" && getComputedStyle(e).position === "static" && !me(e)) ? o : e || function(t) {
2290
2290
  let a = Ke(t);
2291
- for (le(a) && (a = a.host); ao(a) && !["html", "body"].includes(bo(a)); ) {
2291
+ for (le(a) && (a = a.host); ao(a) && !["html", "body"].includes(no(a)); ) {
2292
2292
  if (me(a))
2293
2293
  return a;
2294
2294
  a = a.parentNode;
@@ -2299,22 +2299,22 @@ function Lr(r) {
2299
2299
  function $e(r) {
2300
2300
  if (ao(r))
2301
2301
  return { width: r.offsetWidth, height: r.offsetHeight };
2302
- const o = qo(r);
2302
+ const o = _o(r);
2303
2303
  return { width: o.width, height: o.height };
2304
2304
  }
2305
2305
  function ot(r) {
2306
2306
  const o = Ke(r);
2307
- return ["html", "body", "#document"].includes(bo(o)) ? r.ownerDocument.body : ao(o) && zr(o) ? o : ot(o);
2307
+ return ["html", "body", "#document"].includes(no(o)) ? r.ownerDocument.body : ao(o) && zr(o) ? o : ot(o);
2308
2308
  }
2309
2309
  function rt(r, o) {
2310
2310
  var e;
2311
2311
  o === void 0 && (o = []);
2312
- const t = ot(r), a = t === ((e = r.ownerDocument) == null ? void 0 : e.body), c = so(t), i = a ? [c].concat(c.visualViewport || [], zr(t) ? t : []) : t, l = o.concat(i);
2312
+ const t = ot(r), a = t === ((e = r.ownerDocument) == null ? void 0 : e.body), c = bo(t), i = a ? [c].concat(c.visualViewport || [], zr(t) ? t : []) : t, l = o.concat(i);
2313
2313
  return a ? l : l.concat(rt(i));
2314
2314
  }
2315
2315
  function ye(r, o, e) {
2316
2316
  return o === "viewport" ? gr(function(t, a) {
2317
- const c = so(t), i = po(t), l = c.visualViewport;
2317
+ const c = bo(t), i = vo(t), l = c.visualViewport;
2318
2318
  let n = i.clientWidth, b = i.clientHeight, v = 0, u = 0;
2319
2319
  if (l) {
2320
2320
  n = l.width, b = l.height;
@@ -2322,20 +2322,20 @@ function ye(r, o, e) {
2322
2322
  (p || !p && a === "fixed") && (v = l.offsetLeft, u = l.offsetTop);
2323
2323
  }
2324
2324
  return { width: n, height: b, x: v, y: u };
2325
- }(r, e)) : Mo(o) ? function(t, a) {
2326
- const c = qo(t, !1, a === "fixed"), i = c.top + t.clientTop, l = c.left + t.clientLeft;
2325
+ }(r, e)) : To(o) ? function(t, a) {
2326
+ const c = _o(t, !1, a === "fixed"), i = c.top + t.clientTop, l = c.left + t.clientLeft;
2327
2327
  return { top: i, left: l, x: l, y: i, right: l + t.clientWidth, bottom: i + t.clientHeight, width: t.clientWidth, height: t.clientHeight };
2328
2328
  }(o, e) : gr(function(t) {
2329
2329
  var a;
2330
- const c = po(t), i = _r(t), l = (a = t.ownerDocument) == null ? void 0 : a.body, n = Ho(c.scrollWidth, c.clientWidth, l ? l.scrollWidth : 0, l ? l.clientWidth : 0), b = Ho(c.scrollHeight, c.clientHeight, l ? l.scrollHeight : 0, l ? l.clientHeight : 0);
2330
+ const c = vo(t), i = _r(t), l = (a = t.ownerDocument) == null ? void 0 : a.body, n = Ho(c.scrollWidth, c.clientWidth, l ? l.scrollWidth : 0, l ? l.clientWidth : 0), b = Ho(c.scrollHeight, c.clientHeight, l ? l.scrollHeight : 0, l ? l.clientHeight : 0);
2331
2331
  let v = -i.scrollLeft + Ge(t);
2332
2332
  const u = -i.scrollTop;
2333
2333
  return or(l || c).direction === "rtl" && (v += Ho(c.clientWidth, l ? l.clientWidth : 0) - n), { width: n, height: b, x: v, y: u };
2334
- }(po(r)));
2334
+ }(vo(r)));
2335
2335
  }
2336
- function Wt(r) {
2337
- const o = rt(r), e = ["absolute", "fixed"].includes(or(r).position) && ao(r) ? Lr(r) : r;
2338
- return Mo(e) ? o.filter((t) => Mo(t) && function(a, c) {
2336
+ function Vt(r) {
2337
+ const o = rt(r), e = ["absolute", "fixed"].includes(or(r).position) && ao(r) ? Tr(r) : r;
2338
+ return To(e) ? o.filter((t) => To(t) && function(a, c) {
2339
2339
  const i = c.getRootNode == null ? void 0 : c.getRootNode();
2340
2340
  if (a.contains(c))
2341
2341
  return !0;
@@ -2348,31 +2348,31 @@ function Wt(r) {
2348
2348
  } while (l);
2349
2349
  }
2350
2350
  return !1;
2351
- }(t, e) && bo(t) !== "body") : [];
2351
+ }(t, e) && no(t) !== "body") : [];
2352
2352
  }
2353
- const Vt = { getClippingRect: function(r) {
2353
+ const Wt = { getClippingRect: function(r) {
2354
2354
  let { element: o, boundary: e, rootBoundary: t, strategy: a } = r;
2355
- const c = [...e === "clippingAncestors" ? Wt(o) : [].concat(e), t], i = c[0], l = c.reduce((n, b) => {
2355
+ const c = [...e === "clippingAncestors" ? Vt(o) : [].concat(e), t], i = c[0], l = c.reduce((n, b) => {
2356
2356
  const v = ye(o, b, a);
2357
2357
  return n.top = Ho(v.top, n.top), n.right = fe(v.right, n.right), n.bottom = fe(v.bottom, n.bottom), n.left = Ho(v.left, n.left), n;
2358
2358
  }, ye(o, i, a));
2359
2359
  return { width: l.right - l.left, height: l.bottom - l.top, x: l.left, y: l.top };
2360
2360
  }, convertOffsetParentRelativeRectToViewportRelativeRect: function(r) {
2361
2361
  let { rect: o, offsetParent: e, strategy: t } = r;
2362
- const a = ao(e), c = po(e);
2362
+ const a = ao(e), c = vo(e);
2363
2363
  if (e === c)
2364
2364
  return o;
2365
2365
  let i = { scrollLeft: 0, scrollTop: 0 };
2366
2366
  const l = { x: 0, y: 0 };
2367
- if ((a || !a && t !== "fixed") && ((bo(e) !== "body" || zr(c)) && (i = _r(e)), ao(e))) {
2368
- const n = qo(e, !0);
2367
+ if ((a || !a && t !== "fixed") && ((no(e) !== "body" || zr(c)) && (i = _r(e)), ao(e))) {
2368
+ const n = _o(e, !0);
2369
2369
  l.x = n.x + e.clientLeft, l.y = n.y + e.clientTop;
2370
2370
  }
2371
2371
  return { ...o, x: o.x - i.scrollLeft + l.x, y: o.y - i.scrollTop + l.y };
2372
- }, isElement: Mo, getDimensions: $e, getOffsetParent: Lr, getDocumentElement: po, getElementRects: (r) => {
2372
+ }, isElement: To, getDimensions: $e, getOffsetParent: Tr, getDocumentElement: vo, getElementRects: (r) => {
2373
2373
  let { reference: o, floating: e, strategy: t } = r;
2374
- return { reference: Ft(o, Lr(e), t), floating: { ...$e(e), x: 0, y: 0 } };
2375
- }, getClientRects: (r) => Array.from(r.getClientRects()), isRTL: (r) => or(r).direction === "rtl" }, Jt = (r, o, e) => Tt(r, o, { platform: Vt, ...e }), pr = "top", hr = "bottom", Mr = "left", Dr = "right", er = {
2374
+ return { reference: Ft(o, Tr(e), t), floating: { ...$e(e), x: 0, y: 0 } };
2375
+ }, getClientRects: (r) => Array.from(r.getClientRects()), isRTL: (r) => or(r).direction === "rtl" }, Jt = (r, o, e) => Lt(r, o, { platform: Wt, ...e }), pr = "top", hr = "bottom", Mr = "left", Dr = "right", er = {
2376
2376
  [pr]: hr,
2377
2377
  [hr]: pr,
2378
2378
  [Mr]: Dr,
@@ -2506,13 +2506,13 @@ var et = {}, tt = {};
2506
2506
  }
2507
2507
  const u = /\\(?:(\\)|x([\s\S]{0,2})|u(\{[^}]*\}?)|u([\s\S]{4})\\u([^{][\s\S]{0,3})|u([\s\S]{0,4})|([0-3]?[0-7]{1,2})|([\s\S])|$)/g;
2508
2508
  function p(g, h = !1) {
2509
- return g.replace(u, function(x, z, E, L, B, M, co, W, C) {
2509
+ return g.replace(u, function(x, z, E, T, B, M, co, W, C) {
2510
2510
  if (z !== void 0)
2511
2511
  return "\\";
2512
2512
  if (E !== void 0)
2513
2513
  return a(E);
2514
- if (L !== void 0)
2515
- return l(L);
2514
+ if (T !== void 0)
2515
+ return l(T);
2516
2516
  if (B !== void 0)
2517
2517
  return c(B, M);
2518
2518
  if (co !== void 0)
@@ -2593,8 +2593,8 @@ var Fo = {}, at = {}, ct = { exports: {} };
2593
2593
  for (var s = Object.getOwnPropertyNames(d), w = [], y = 0; y < s.length; y++) {
2594
2594
  var X = s[y], _ = d[X], Z = [].concat(_);
2595
2595
  if (X === "include") {
2596
- for (var T = 0; T < Z.length; T++)
2597
- w.push({ include: Z[T] });
2596
+ for (var L = 0; L < Z.length; L++)
2597
+ w.push({ include: Z[L] });
2598
2598
  continue;
2599
2599
  }
2600
2600
  var A = [];
@@ -2646,8 +2646,8 @@ var Fo = {}, at = {}, ct = { exports: {} };
2646
2646
  return Array.isArray(d) ? h(d) : g(d);
2647
2647
  }
2648
2648
  var E = x("error", { lineBreaks: !0, shouldThrow: !0 });
2649
- function L(d, s) {
2650
- for (var w = null, y = /* @__PURE__ */ Object.create(null), X = !0, _ = null, Z = [], T = [], A = 0; A < d.length; A++)
2649
+ function T(d, s) {
2650
+ for (var w = null, y = /* @__PURE__ */ Object.create(null), X = !0, _ = null, Z = [], L = [], A = 0; A < d.length; A++)
2651
2651
  d[A].fallback && (X = !1);
2652
2652
  for (var A = 0; A < d.length; A++) {
2653
2653
  var q = d[A];
@@ -2661,8 +2661,8 @@ var Fo = {}, at = {}, ct = { exports: {} };
2661
2661
  var I = q.match.slice();
2662
2662
  if (X)
2663
2663
  for (; I.length && typeof I[0] == "string" && I[0].length === 1; ) {
2664
- var wo = I.shift();
2665
- y[wo.charCodeAt(0)] = q;
2664
+ var ho = I.shift();
2665
+ y[ho.charCodeAt(0)] = q;
2666
2666
  }
2667
2667
  if (q.pop || q.push || q.next) {
2668
2668
  if (!s)
@@ -2672,35 +2672,35 @@ var Fo = {}, at = {}, ct = { exports: {} };
2672
2672
  }
2673
2673
  if (I.length !== 0) {
2674
2674
  X = !1, Z.push(q);
2675
- for (var xo = 0; xo < I.length; xo++) {
2676
- var mo = I[xo];
2677
- if (a(mo)) {
2675
+ for (var wo = 0; wo < I.length; wo++) {
2676
+ var xo = I[wo];
2677
+ if (a(xo)) {
2678
2678
  if (_ === null)
2679
- _ = mo.unicode;
2680
- else if (_ !== mo.unicode && q.fallback === !1)
2679
+ _ = xo.unicode;
2680
+ else if (_ !== xo.unicode && q.fallback === !1)
2681
2681
  throw new Error("If one rule is /u then all must be");
2682
2682
  }
2683
2683
  }
2684
- var Zo = b(I.map(v)), G = new RegExp(Zo);
2684
+ var Xo = b(I.map(v)), G = new RegExp(Xo);
2685
2685
  if (G.test(""))
2686
2686
  throw new Error("RegExp matches empty string: " + G);
2687
- var Do = l(Zo);
2688
- if (Do > 0)
2687
+ var Mo = l(Xo);
2688
+ if (Mo > 0)
2689
2689
  throw new Error("RegExp has capture groups: " + G + `
2690
2690
  Use (?: … ) instead`);
2691
2691
  if (!q.lineBreaks && G.test(`
2692
2692
  `))
2693
2693
  throw new Error("Rule should declare lineBreaks: " + G);
2694
- T.push(n(Zo));
2694
+ L.push(n(Xo));
2695
2695
  }
2696
2696
  }
2697
- var jo = w && w.fallback, Oo = t && !jo ? "ym" : "gm", rr = t || jo ? "" : "|";
2698
- _ === !0 && (Oo += "u");
2699
- var yt = new RegExp(b(T) + rr, Oo);
2697
+ var Zo = w && w.fallback, Do = t && !Zo ? "ym" : "gm", rr = t || Zo ? "" : "|";
2698
+ _ === !0 && (Do += "u");
2699
+ var yt = new RegExp(b(L) + rr, Do);
2700
2700
  return { regexp: yt, groups: Z, fast: y, error: w || E };
2701
2701
  }
2702
2702
  function B(d) {
2703
- var s = L(z(d));
2703
+ var s = T(z(d));
2704
2704
  return new C({ start: s }, "start");
2705
2705
  }
2706
2706
  function M(d, s, w) {
@@ -2720,39 +2720,39 @@ Use (?: … ) instead`);
2720
2720
  X[Z] = z(d[Z]).concat(w);
2721
2721
  }
2722
2722
  for (var _ = 0; _ < y.length; _++)
2723
- for (var Z = y[_], T = X[Z], A = /* @__PURE__ */ Object.create(null), q = 0; q < T.length; q++) {
2724
- var I = T[q];
2723
+ for (var Z = y[_], L = X[Z], A = /* @__PURE__ */ Object.create(null), q = 0; q < L.length; q++) {
2724
+ var I = L[q];
2725
2725
  if (I.include) {
2726
- var wo = [q, 1];
2726
+ var ho = [q, 1];
2727
2727
  if (I.include !== Z && !A[I.include]) {
2728
2728
  A[I.include] = !0;
2729
- var xo = X[I.include];
2730
- if (!xo)
2729
+ var wo = X[I.include];
2730
+ if (!wo)
2731
2731
  throw new Error("Cannot include nonexistent state '" + I.include + "' (in state '" + Z + "')");
2732
- for (var mo = 0; mo < xo.length; mo++) {
2733
- var Zo = xo[mo];
2734
- T.indexOf(Zo) === -1 && wo.push(Zo);
2732
+ for (var xo = 0; xo < wo.length; xo++) {
2733
+ var Xo = wo[xo];
2734
+ L.indexOf(Xo) === -1 && ho.push(Xo);
2735
2735
  }
2736
2736
  }
2737
- T.splice.apply(T, wo), q--;
2737
+ L.splice.apply(L, ho), q--;
2738
2738
  }
2739
2739
  }
2740
2740
  for (var G = /* @__PURE__ */ Object.create(null), _ = 0; _ < y.length; _++) {
2741
2741
  var Z = y[_];
2742
- G[Z] = L(X[Z], !0);
2742
+ G[Z] = T(X[Z], !0);
2743
2743
  }
2744
2744
  for (var _ = 0; _ < y.length; _++) {
2745
- for (var Do = y[_], jo = G[Do], Oo = jo.groups, q = 0; q < Oo.length; q++)
2746
- M(Oo[q], Do, G);
2747
- for (var rr = Object.getOwnPropertyNames(jo.fast), q = 0; q < rr.length; q++)
2748
- M(jo.fast[rr[q]], Do, G);
2745
+ for (var Mo = y[_], Zo = G[Mo], Do = Zo.groups, q = 0; q < Do.length; q++)
2746
+ M(Do[q], Mo, G);
2747
+ for (var rr = Object.getOwnPropertyNames(Zo.fast), q = 0; q < rr.length; q++)
2748
+ M(Zo.fast[rr[q]], Mo, G);
2749
2749
  }
2750
2750
  return new C(G, s);
2751
2751
  }
2752
2752
  function W(d) {
2753
2753
  for (var s = typeof Map < "u", w = s ? /* @__PURE__ */ new Map() : /* @__PURE__ */ Object.create(null), y = Object.getOwnPropertyNames(d), X = 0; X < y.length; X++) {
2754
- var _ = y[X], Z = d[_], T = Array.isArray(Z) ? Z : [Z];
2755
- T.forEach(function(A) {
2754
+ var _ = y[X], Z = d[_], L = Array.isArray(Z) ? Z : [Z];
2755
+ L.forEach(function(A) {
2756
2756
  if (typeof A != "string")
2757
2757
  throw new Error("keyword must be string (in keyword '" + _ + "')");
2758
2758
  s ? w.set(A, _) : w[A] = _;
@@ -2819,8 +2819,8 @@ Use (?: … ) instead`);
2819
2819
  var X = R(y, w), _ = this.error;
2820
2820
  if (X == null)
2821
2821
  return this._token(_, w.slice(d, w.length), d);
2822
- var Z = this._getGroup(X), T = X[0];
2823
- return _.fallback && X.index !== d ? (this.queuedGroup = Z, this.queuedText = T, this._token(_, w.slice(d, X.index), d)) : this._token(Z, T, d);
2822
+ var Z = this._getGroup(X), L = X[0];
2823
+ return _.fallback && X.index !== d ? (this.queuedGroup = Z, this.queuedText = L, this._token(_, w.slice(d, X.index), d)) : this._token(Z, L, d);
2824
2824
  }
2825
2825
  }, C.prototype._token = function(d, s, w) {
2826
2826
  var y = 0;
@@ -2842,8 +2842,8 @@ Use (?: … ) instead`);
2842
2842
  lineBreaks: y,
2843
2843
  line: this.line,
2844
2844
  col: this.col
2845
- }, T = s.length;
2846
- if (this.index += T, this.line += y, y !== 0 ? this.col = T - _ + 1 : this.col += T, d.shouldThrow) {
2845
+ }, L = s.length;
2846
+ if (this.index += L, this.line += y, y !== 0 ? this.col = L - _ + 1 : this.col += L, d.shouldThrow) {
2847
2847
  var A = new Error(this.formatError(Z, "invalid syntax"));
2848
2848
  throw A;
2849
2849
  }
@@ -2871,14 +2871,14 @@ Use (?: … ) instead`);
2871
2871
  line: this.line,
2872
2872
  col: this.col
2873
2873
  };
2874
- var y = 2, X = Math.max(d.line - y, 1), _ = d.line + y, Z = String(_).length, T = p(
2874
+ var y = 2, X = Math.max(d.line - y, 1), _ = d.line + y, Z = String(_).length, L = p(
2875
2875
  this.buffer,
2876
2876
  this.line - d.line + y + 1
2877
2877
  ).slice(0, 5), A = [];
2878
2878
  A.push(s + " at line " + d.line + " col " + d.col + ":"), A.push("");
2879
- for (var q = 0; q < T.length; q++) {
2880
- var I = T[q], wo = X + q;
2881
- A.push(u(String(wo), Z) + " " + I), wo === d.line && A.push(u("", Z + d.col + 1) + "^");
2879
+ for (var q = 0; q < L.length; q++) {
2880
+ var I = L[q], ho = X + q;
2881
+ A.push(u(String(ho), Z) + " " + I), ho === d.line && A.push(u("", Z + d.col + 1) + "^");
2882
2882
  }
2883
2883
  return A.join(`
2884
2884
  `);
@@ -3263,10 +3263,10 @@ class ha {
3263
3263
  return Array.isArray(this._events[o]);
3264
3264
  }
3265
3265
  }
3266
- var wa = Object.defineProperty, xa = (r, o, e) => o in r ? wa(r, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[o] = e, Ao = (r, o, e) => (xa(r, typeof o != "symbol" ? o + "" : o, e), e);
3266
+ var wa = Object.defineProperty, xa = (r, o, e) => o in r ? wa(r, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[o] = e, So = (r, o, e) => (xa(r, typeof o != "symbol" ? o + "" : o, e), e);
3267
3267
  class ma extends ha {
3268
3268
  constructor(o) {
3269
- super(), Ao(this, "_locale"), Ao(this, "_locales"), Ao(this, "_localeData"), Ao(this, "_messages"), Ao(this, "_missing"), Ao(this, "t", this._.bind(this)), this._messages = {}, this._localeData = {}, o.missing != null && (this._missing = o.missing), o.messages != null && this.load(o.messages), o.localeData != null && this.loadLocaleData(o.localeData), (o.locale != null || o.locales != null) && this.activate(o.locale, o.locales);
3269
+ super(), So(this, "_locale"), So(this, "_locales"), So(this, "_localeData"), So(this, "_messages"), So(this, "_missing"), So(this, "t", this._.bind(this)), this._messages = {}, this._localeData = {}, o.missing != null && (this._missing = o.missing), o.messages != null && this.load(o.messages), o.localeData != null && this.loadLocaleData(o.localeData), (o.locale != null || o.locales != null) && this.activate(o.locale, o.locales);
3270
3270
  }
3271
3271
  get locale() {
3272
3272
  return this._locale;
@@ -3334,7 +3334,7 @@ class ma extends ha {
3334
3334
  function fa(r = {}) {
3335
3335
  return new ma(r);
3336
3336
  }
3337
- const V = fa(), ka = JSON.parse('{"attention.callout":"callout speech bubble","attention.pointingDown":"pointing down","attention.pointingLeft":"pointing left","attention.pointingRight":"pointing right","attention.pointingUp":"pointing up","attention.popover":"popover speech bubble","attention.tooltip":"tooltip"}'), $a = JSON.parse('{"attention.callout":"callout speech bubble","attention.pointingDown":"pointing down","attention.pointingLeft":"pointing left","attention.pointingRight":"pointing right","attention.pointingUp":"pointing up","attention.popover":"popover speech bubble","attention.tooltip":"tooltip"}'), ya = JSON.parse('{"attention.callout":"callout speech bubble","attention.pointingDown":"pointing down","attention.pointingLeft":"pointing left","attention.pointingRight":"pointing right","attention.pointingUp":"pointing up","attention.popover":"popover speech bubble","attention.tooltip":"tooltip"}'), za = ["en", "nb", "fi"], st = "en", Xe = (r) => za.find(
3337
+ const V = fa(), ka = JSON.parse('{"attention.callout":"callout speech bubble","attention.aria.highlight":"highlighted speech bubble","attention.pointingDown":"pointing down","attention.pointingLeft":"pointing left","attention.pointingRight":"pointing right","attention.pointingUp":"pointing up","attention.popover":"popover speech bubble","attention.tooltip":"tooltip"}'), $a = JSON.parse('{"attention.callout":"callout speech bubble","attention.aria.highlight":"highlighted speech bubble","attention.pointingDown":"pointing down","attention.pointingLeft":"pointing left","attention.pointingRight":"pointing right","attention.pointingUp":"pointing up","attention.popover":"popover speech bubble","attention.tooltip":"tooltip"}'), ya = JSON.parse('{"attention.callout":"callout speech bubble","attention.aria.highlight":"highlighted speech bubble","attention.pointingDown":"pointing down","attention.pointingLeft":"pointing left","attention.pointingRight":"pointing right","attention.pointingUp":"pointing up","attention.popover":"popover speech bubble","attention.tooltip":"tooltip"}'), za = ["en", "nb", "fi"], st = "en", Xe = (r) => za.find(
3338
3338
  (o) => r === o || r.toLowerCase().includes(o)
3339
3339
  ) || st;
3340
3340
  function _a() {
@@ -3355,7 +3355,7 @@ const qa = (r, o, e, t) => r === "nb" ? e : r === "fi" ? t : o, qr = (r, o, e) =
3355
3355
  };
3356
3356
  class Br extends Jo(H) {
3357
3357
  constructor() {
3358
- super(), qr(ka, $a, ya), this.show = !1, this.tooltip = !1, this.callout = !1, this.popover = !1, this.noArrow = !1;
3358
+ super(), qr(ka, $a, ya), this.show = !1, this.tooltip = !1, this.callout = !1, this.popover = !1, this.highlight = !1, this.noArrow = !1;
3359
3359
  }
3360
3360
  connectedCallback() {
3361
3361
  if (super.connectedCallback(), !this.placement || !Object.keys(er).includes(this.placement))
@@ -3444,6 +3444,12 @@ ${JSON.stringify(
3444
3444
  message: "popover speech bubble",
3445
3445
  comment: "Default screenreader message for popover speech bubble in the attention component"
3446
3446
  });
3447
+ case this.highlight:
3448
+ return V._({
3449
+ id: "attention.aria.highlight",
3450
+ message: "highlighted speech bubble",
3451
+ comment: "Default screenreader message for highlighted speech bubble in the attention component"
3452
+ });
3447
3453
  default:
3448
3454
  return "";
3449
3455
  }
@@ -3457,6 +3463,18 @@ ${JSON.stringify(
3457
3463
  this._targetEl.setAttribute("aria-details", o);
3458
3464
  }
3459
3465
  }
3466
+ get _activeVariantClasses() {
3467
+ const o = {
3468
+ callout: this.callout,
3469
+ popover: this.popover,
3470
+ tooltip: this.tooltip,
3471
+ highlight: this.highlight
3472
+ }, e = Object.keys(o).find((t) => !!o[t]) || "";
3473
+ return {
3474
+ wrapper: No[e],
3475
+ arrow: No[`arrow${e.charAt(0).toUpperCase() + e.slice(1)}`]
3476
+ };
3477
+ }
3460
3478
  firstUpdated() {
3461
3479
  this.setAriaLabels(), this.callout && (this._attentionEl.style.position = "relative");
3462
3480
  }
@@ -3471,19 +3489,15 @@ ${JSON.stringify(
3471
3489
  }
3472
3490
  get _wrapperClasses() {
3473
3491
  return Ar({
3474
- [io.base]: !0,
3475
- [io.tooltip]: this.tooltip,
3476
- [io.callout]: this.callout,
3477
- [io.popover]: this.popover
3492
+ [No.base]: !0,
3493
+ [this._activeVariantClasses.wrapper]: !0
3478
3494
  });
3479
3495
  }
3480
3496
  get _arrowClasses() {
3481
3497
  return Ar({
3482
- [io.arrowBase]: !0,
3483
- [io[`arrowDirection${this._arrowDirection.charAt(0).toUpperCase() + this._arrowDirection.slice(1)}`]]: !0,
3484
- [io.arrowTooltip]: this.tooltip,
3485
- [io.arrowCallout]: this.callout,
3486
- [io.arrowPopover]: this.popover
3498
+ [No.arrowBase]: !0,
3499
+ [No[`arrowDirection${this._arrowDirection.charAt(0).toUpperCase() + this._arrowDirection.slice(1)}`]]: !0,
3500
+ [this._activeVariantClasses.arrow]: !0
3487
3501
  });
3488
3502
  }
3489
3503
  get _arrowHtml() {
@@ -3538,6 +3552,8 @@ j(Br, "properties", {
3538
3552
  callout: { type: Boolean, reflect: !0 },
3539
3553
  // Whether Attention element is rendered as a popover
3540
3554
  popover: { type: Boolean, reflect: !0 },
3555
+ // Whether Attention element is rendered as a highlight
3556
+ highlight: { type: Boolean, reflect: !0 },
3541
3557
  // Render Attention element without an arrow
3542
3558
  noArrow: { type: Boolean, reflect: !0 }
3543
3559
  }), j(Br, "styles", [
@@ -4218,13 +4234,13 @@ class Rr extends H {
4218
4234
  }
4219
4235
  get _class() {
4220
4236
  return Ar({
4221
- [$o.base]: !0,
4222
- [$o[this.variant]]: !0,
4223
- [$o.positionBase]: !!this.position,
4224
- [$o.positionTL]: this.position === "top-left",
4225
- [$o.positionTR]: this.position === "top-right",
4226
- [$o.positionBR]: this.position === "bottom-right",
4227
- [$o.positionBL]: this.position === "bottom-left"
4237
+ [ko.base]: !0,
4238
+ [ko[this.variant]]: !0,
4239
+ [ko.positionBase]: !!this.position,
4240
+ [ko.positionTL]: this.position === "top-left",
4241
+ [ko.positionTR]: this.position === "top-right",
4242
+ [ko.positionBR]: this.position === "bottom-right",
4243
+ [ko.positionBL]: this.position === "bottom-left"
4228
4244
  });
4229
4245
  }
4230
4246
  render() {
@@ -4896,11 +4912,11 @@ customElements.get("w-badge") || customElements.define("w-badge", Rr);
4896
4912
  class Pr extends H {
4897
4913
  get _class() {
4898
4914
  return J({
4899
- [no.box]: !0,
4900
- [no.bleed]: this.bleed,
4901
- [no.info]: this.info,
4902
- [no.neutral]: this.neutral,
4903
- [no.bordered]: this.bordered
4915
+ [lo.box]: !0,
4916
+ [lo.bleed]: this.bleed,
4917
+ [lo.info]: this.info,
4918
+ [lo.neutral]: this.neutral,
4919
+ [lo.bordered]: this.bordered
4904
4920
  });
4905
4921
  }
4906
4922
  render() {
@@ -5584,7 +5600,7 @@ customElements.get("w-box") || customElements.define("w-box", Pr);
5584
5600
  function Ya(r, o) {
5585
5601
  return r.flatMap((e) => [e, o]).slice(0, -1);
5586
5602
  }
5587
- const Xa = JSON.parse('{"breadcrumbs.ariaLabel":"You are here"}'), Za = JSON.parse('{"breadcrumbs.ariaLabel":"Her er du"}'), ja = JSON.parse('{"breadcrumbs.ariaLabel":"Olet tässä"}'), Sa = $`<span class=${Eo.separator}
5603
+ const Xa = JSON.parse('{"breadcrumbs.ariaLabel":"You are here"}'), Za = JSON.parse('{"breadcrumbs.ariaLabel":"Her er du"}'), ja = JSON.parse('{"breadcrumbs.ariaLabel":"Olet tässä"}'), Sa = $`<span class=${Ao.separator}
5588
5604
  >/</span
5589
5605
  >`;
5590
5606
  class Ir extends Jo(H) {
@@ -5601,13 +5617,13 @@ class Ir extends Jo(H) {
5601
5617
  if (typeof t == "string") {
5602
5618
  const c = a === children.length - 1;
5603
5619
  return $`<span
5604
- class=${Eo.text}
5620
+ class=${Ao.text}
5605
5621
  aria-current=${c ? "page" : void 0}
5606
5622
  >${t}</span
5607
5623
  >`;
5608
5624
  }
5609
5625
  return t.classList.add(
5610
- t.tagName === "A" ? Eo.link : Eo.text
5626
+ t.tagName === "A" ? Ao.link : Ao.text
5611
5627
  ), t;
5612
5628
  });
5613
5629
  this._children = Ya(e, Sa);
@@ -5615,10 +5631,10 @@ class Ir extends Jo(H) {
5615
5631
  render() {
5616
5632
  return $`
5617
5633
  <nav aria-labelledby="breadCrumbLabel">
5618
- <h2 id="breadCrumbLabel" class=${Eo.a11y}>
5634
+ <h2 id="breadCrumbLabel" class=${Ao.a11y}>
5619
5635
  ${this.ariaLabel}
5620
5636
  </h2>
5621
- <div class=${Eo.wrapper}>${this._children}</div>
5637
+ <div class=${Ao.wrapper}>${this._children}</div>
5622
5638
  </nav>
5623
5639
  `;
5624
5640
  }
@@ -6306,7 +6322,7 @@ const { I: Aa } = Zt, Ze = () => document.createComment(""), Po = (r, o, e) => {
6306
6322
  }
6307
6323
  }
6308
6324
  return e;
6309
- }, zo = (r, o, e = r) => (r._$AI(o, e), r), Ea = {}, Ca = (r, o = Ea) => r._$AH = o, Ta = (r) => r._$AH, Sr = (r) => {
6325
+ }, yo = (r, o, e = r) => (r._$AI(o, e), r), Ea = {}, Ca = (r, o = Ea) => r._$AH = o, La = (r) => r._$AH, Sr = (r) => {
6310
6326
  var o;
6311
6327
  (o = r._$AP) === null || o === void 0 || o.call(r, !1, !0);
6312
6328
  let e = r._$AA;
@@ -6345,7 +6361,7 @@ const je = (r, o, e) => {
6345
6361
  }
6346
6362
  update(r, [o, e, t]) {
6347
6363
  var a;
6348
- const c = Ta(r), { values: i, keys: l } = this.dt(o, e, t);
6364
+ const c = La(r), { values: i, keys: l } = this.dt(o, e, t);
6349
6365
  if (!Array.isArray(c))
6350
6366
  return this.ht = l, i;
6351
6367
  const n = (a = this.ht) !== null && a !== void 0 ? a : this.ht = [], b = [];
@@ -6356,21 +6372,21 @@ const je = (r, o, e) => {
6356
6372
  else if (c[g] === null)
6357
6373
  g--;
6358
6374
  else if (n[p] === l[h])
6359
- b[h] = zo(c[p], i[h]), p++, h++;
6375
+ b[h] = yo(c[p], i[h]), p++, h++;
6360
6376
  else if (n[g] === l[x])
6361
- b[x] = zo(c[g], i[x]), g--, x--;
6377
+ b[x] = yo(c[g], i[x]), g--, x--;
6362
6378
  else if (n[p] === l[x])
6363
- b[x] = zo(c[p], i[x]), Po(r, b[x + 1], c[p]), p++, x--;
6379
+ b[x] = yo(c[p], i[x]), Po(r, b[x + 1], c[p]), p++, x--;
6364
6380
  else if (n[g] === l[h])
6365
- b[h] = zo(c[g], i[h]), Po(r, c[p], c[g]), g--, h++;
6381
+ b[h] = yo(c[g], i[h]), Po(r, c[p], c[g]), g--, h++;
6366
6382
  else if (v === void 0 && (v = je(l, h, x), u = je(n, p, g)), v.has(n[p]))
6367
6383
  if (v.has(n[g])) {
6368
6384
  const z = u.get(l[h]), E = z !== void 0 ? c[z] : null;
6369
6385
  if (E === null) {
6370
- const L = Po(r, c[p]);
6371
- zo(L, i[h]), b[h] = L;
6386
+ const T = Po(r, c[p]);
6387
+ yo(T, i[h]), b[h] = T;
6372
6388
  } else
6373
- b[h] = zo(E, i[h]), Po(r, c[p], E), c[z] = null;
6389
+ b[h] = yo(E, i[h]), Po(r, c[p], E), c[z] = null;
6374
6390
  h++;
6375
6391
  } else
6376
6392
  Sr(c[g]), g--;
@@ -6378,25 +6394,25 @@ const je = (r, o, e) => {
6378
6394
  Sr(c[p]), p++;
6379
6395
  for (; h <= x; ) {
6380
6396
  const z = Po(r, b[x + 1]);
6381
- zo(z, i[h]), b[h++] = z;
6397
+ yo(z, i[h]), b[h++] = z;
6382
6398
  }
6383
6399
  for (; p <= g; ) {
6384
6400
  const z = c[p++];
6385
6401
  z !== null && Sr(z);
6386
6402
  }
6387
- return this.ht = l, Ca(r, b), ho;
6403
+ return this.ht = l, Ca(r, b), po;
6388
6404
  }
6389
- }), Wo = typeof window < "u";
6405
+ }), Vo = typeof window < "u";
6390
6406
  class Hr extends H {
6391
6407
  constructor() {
6392
- super(), this._messages = [], this.interval = 3e4, this._hiddenMessageIds = [], this.url = Wo ? window.location.href : "";
6408
+ super(), this._messages = [], this.interval = 3e4, this._hiddenMessageIds = [], this.url = Vo ? window.location.href : "";
6393
6409
  }
6394
6410
  async connectedCallback() {
6395
6411
  if (super.connectedCallback(), !this.api) {
6396
6412
  console.error('Broadcast "api" attribute invalid or undefined');
6397
6413
  return;
6398
6414
  }
6399
- Wo && (await this._fetchMessage(), setInterval(() => this._fetchMessage(), this.interval));
6415
+ Vo && (await this._fetchMessage(), setInterval(() => this._fetchMessage(), this.interval));
6400
6416
  }
6401
6417
  async _fetchMessage() {
6402
6418
  const o = `${this.api}?path=${this.url}`;
@@ -7103,7 +7119,7 @@ j(Hr, "properties", {
7103
7119
  }
7104
7120
  `);
7105
7121
  customElements.get("w-broadcast") || customElements.define("w-broadcast", Hr);
7106
- const La = JSON.parse('{"button.aria.loading":"Loading..."}'), Ma = JSON.parse('{"button.aria.loading":"Laster..."}'), Da = JSON.parse('{"button.aria.loading":"Ladataan..."}'), Se = [
7122
+ const Ta = JSON.parse('{"button.aria.loading":"Loading..."}'), Ma = JSON.parse('{"button.aria.loading":"Laster..."}'), Da = JSON.parse('{"button.aria.loading":"Ladataan..."}'), Se = [
7107
7123
  "primary",
7108
7124
  "secondary",
7109
7125
  "negative",
@@ -7113,7 +7129,7 @@ const La = JSON.parse('{"button.aria.loading":"Loading..."}'), Ma = JSON.parse('
7113
7129
  ];
7114
7130
  class ar extends Jo(H) {
7115
7131
  constructor() {
7116
- super(), qr(La, Ma, Da), this.variant = "secondary", this.ariaValueTextLoading = V._({
7132
+ super(), qr(Ta, Ma, Da), this.variant = "secondary", this.ariaValueTextLoading = V._({
7117
7133
  id: "button.aria.loading",
7118
7134
  message: "Loading...",
7119
7135
  comment: "Screenreader message for buttons that are loading"
@@ -7133,7 +7149,7 @@ ${Se.join(
7133
7149
  }
7134
7150
  get _classes() {
7135
7151
  const o = this.variant === "primary", e = this.variant === "secondary", t = this.variant === "negative", a = this.variant === "utility", c = this.variant === "pill", i = this.variant === "link";
7136
- return vo(
7152
+ return uo(
7137
7153
  {
7138
7154
  [Y.secondary]: e && !this.small && !this.quiet && !this.loading,
7139
7155
  [Y.secondarySmall]: e && this.small && !this.quiet && !this.loading,
@@ -8604,7 +8620,7 @@ class Qr extends Jo(H) {
8604
8620
  return $`<div
8605
8621
  class=${J({
8606
8622
  [this.contentClass || ""]: !0,
8607
- [no.box]: this.box,
8623
+ [lo.box]: this.box,
8608
8624
  [Q.paddingTop]: this._hasTitle && this.box
8609
8625
  })}
8610
8626
  >
@@ -9360,7 +9376,7 @@ class Fr extends ce {
9360
9376
  render(o) {
9361
9377
  if (o === N || o == null)
9362
9378
  return this.ft = void 0, this.et = o;
9363
- if (o === ho)
9379
+ if (o === po)
9364
9380
  return o;
9365
9381
  if (typeof o != "string")
9366
9382
  throw Error(this.constructor.directiveName + "() called with a non-string value");
@@ -9373,23 +9389,23 @@ class Fr extends ce {
9373
9389
  }
9374
9390
  Fr.directiveName = "unsafeHTML", Fr.resultType = 1;
9375
9391
  const ut = ae(Fr), Oa = JSON.parse('{"select.label.optional":"(optional)"}'), Na = JSON.parse('{"select.label.optional":"(valgfritt)"}'), Ba = JSON.parse('{"select.label.optional":"(valinnainen)"}');
9376
- var mr, vt, fr, pt, kr, ht, $r, wt, Co, ir, To, lr;
9377
- class Wr extends Jo(H) {
9392
+ var mr, vt, fr, pt, kr, ht, $r, wt, Eo, ir, Co, lr;
9393
+ class Vr extends Jo(H) {
9378
9394
  constructor() {
9379
9395
  super();
9380
- fo(this, mr);
9381
- fo(this, fr);
9382
- fo(this, kr);
9383
- fo(this, $r);
9384
- fo(this, Co);
9385
- fo(this, To);
9396
+ mo(this, mr);
9397
+ mo(this, fr);
9398
+ mo(this, kr);
9399
+ mo(this, $r);
9400
+ mo(this, Eo);
9401
+ mo(this, Co);
9386
9402
  qr(Oa, Na, Ba), this._options = this.innerHTML;
9387
9403
  }
9388
9404
  render() {
9389
- return $`<div class="${So.wrapper}">
9405
+ return $`<div class="${jo.wrapper}">
9390
9406
  ${cr(
9391
9407
  this.label,
9392
- () => $`<label class="${K(this, fr, pt)}" for="${K(this, Co, ir)}">
9408
+ () => $`<label class="${K(this, fr, pt)}" for="${K(this, Eo, ir)}">
9393
9409
  ${this.label}
9394
9410
  ${cr(
9395
9411
  this.optional,
@@ -9403,15 +9419,15 @@ class Wr extends Jo(H) {
9403
9419
  )}</label
9404
9420
  >`
9405
9421
  )}
9406
- <div class="${So.selectWrapper}">
9422
+ <div class="${jo.selectWrapper}">
9407
9423
  <select
9408
9424
  class="${K(this, mr, vt)}"
9409
- id="${K(this, Co, ir)}"
9425
+ id="${K(this, Eo, ir)}"
9410
9426
  ?autofocus=${this.autoFocus}
9411
- aria-describedby="${O(K(this, To, lr))}"
9427
+ aria-describedby="${O(K(this, Co, lr))}"
9412
9428
  aria-invalid="${O(this.invalid)}"
9413
9429
  aria-errormessage="${O(
9414
- this.invalid && K(this, To, lr)
9430
+ this.invalid && K(this, Co, lr)
9415
9431
  )}"
9416
9432
  >
9417
9433
  ${ut(this._options)}
@@ -9423,7 +9439,7 @@ class Wr extends Jo(H) {
9423
9439
  ${cr(
9424
9440
  this.always || this.invalid,
9425
9441
  () => $`<div
9426
- id="${K(this, To, lr)}"
9442
+ id="${K(this, Co, lr)}"
9427
9443
  class="${K(this, kr, ht)}"
9428
9444
  >
9429
9445
  ${this.hint}
@@ -9433,30 +9449,30 @@ class Wr extends Jo(H) {
9433
9449
  }
9434
9450
  }
9435
9451
  mr = new WeakSet(), vt = function() {
9436
- return vo({
9437
- [So.default]: !0,
9438
- [So.invalid]: this.invalid
9452
+ return uo({
9453
+ [jo.default]: !0,
9454
+ [jo.invalid]: this.invalid
9439
9455
  });
9440
9456
  }, fr = new WeakSet(), pt = function() {
9441
- return vo({
9457
+ return uo({
9442
9458
  [Io.label]: !0,
9443
9459
  [Io.labelInvalid]: this.invalid
9444
9460
  });
9445
9461
  }, kr = new WeakSet(), ht = function() {
9446
- return vo({
9462
+ return uo({
9447
9463
  [sr.helpText]: !0,
9448
9464
  [sr.helpTextInvalid]: this.invalid
9449
9465
  });
9450
9466
  }, $r = new WeakSet(), wt = function() {
9451
- return vo({
9452
- [So.chevron]: !0,
9453
- [So.chevronDisabled]: this.disabled
9467
+ return uo({
9468
+ [jo.chevron]: !0,
9469
+ [jo.chevronDisabled]: this.disabled
9454
9470
  });
9455
- }, Co = new WeakSet(), ir = function() {
9471
+ }, Eo = new WeakSet(), ir = function() {
9456
9472
  return "select_id";
9457
- }, To = new WeakSet(), lr = function() {
9458
- return this.hint ? `${K(this, Co, ir)}__hint` : void 0;
9459
- }, j(Wr, "properties", {
9473
+ }, Co = new WeakSet(), lr = function() {
9474
+ return this.hint ? `${K(this, Eo, ir)}__hint` : void 0;
9475
+ }, j(Vr, "properties", {
9460
9476
  // Whether the element should receive focus on render
9461
9477
  autoFocus: { type: Boolean, reflect: !0 },
9462
9478
  // Renders the field in an invalid state. Often paired with `hint` to provide feedback about the error
@@ -9470,7 +9486,7 @@ mr = new WeakSet(), vt = function() {
9470
9486
  // Whether to show optional text
9471
9487
  optional: { type: Boolean, reflect: !0 },
9472
9488
  _options: { state: !0 }
9473
- }), j(Wr, "styles", U`
9489
+ }), j(Vr, "styles", U`
9474
9490
  /* layer: preflights */
9475
9491
  *,::before,::after{--w-rotate:0;--w-rotate-x:0;--w-rotate-y:0;--w-rotate-z:0;--w-scale-x:1;--w-scale-y:1;--w-scale-z:1;--w-skew-x:0;--w-skew-y:0;--w-translate-x:0;--w-translate-y:0;--w-translate-z:0;}
9476
9492
  *,:before,:after{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--w-s-color-border,var(--w-s-color-border-default))}html{font-size:62.5%}body{background-color:var(--w-s-color-background,var(--w-s-color-background-default));min-height:100%;margin:0;overflow-y:scroll}body,:host{-webkit-text-size-adjust:100%;tab-size:4;-webkit-tap-highlight-color:transparent;font-family:var(--w-font-family);font-size:var(--w-font-size-m);line-height:var(--w-line-height-m);color:var(--w-s-color-text,var(--w-s-color-text-default))}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:700}a{cursor:pointer;color:var(--w-s-color-text-link);text-decoration:none}a:hover,a:focus,a:active{-webkit-text-decoration:var(--w-decoration-text-link);text-decoration:var(--w-decoration-text-link)}b,strong{font-weight:700}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:var(--w-s-color-text-placeholder)}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}h1{font-size:var(--w-font-size-xxl);line-height:var(--w-line-height-xxl)}h2{font-size:var(--w-font-size-xl);line-height:var(--w-line-height-xl)}h3{font-size:var(--w-font-size-l);line-height:var(--w-line-height-l)}h4{font-size:var(--w-font-size-m);line-height:var(--w-line-height-m)}h5{font-size:var(--w-font-size-s);line-height:var(--w-line-height-s)}dt,dd{margin:0 16px}h1,h2,h3,h4,h5,ul,ol,dl,p,blockquote{margin:0 0 8px}[hidden]{display:none!important}[tabindex="-1"]:focus:not(:focus-visible){outline:none}legend{float:left;width:100%;margin:0;padding:0;display:table}legend+*{clear:both}fieldset{min-width:0;border:0;margin:0;padding:.01em 0 0}body:not(:-moz-handler-blocked) fieldset{display:table-cell}
@@ -10124,19 +10140,19 @@ mr = new WeakSet(), vt = function() {
10124
10140
  .sm\\:pt-32{padding-top:3.2rem;}
10125
10141
  };
10126
10142
  `);
10127
- customElements.get("w-select") || customElements.define("w-select", Wr);
10128
- class Vr extends H {
10143
+ customElements.get("w-select") || customElements.define("w-select", Vr);
10144
+ class Wr extends H {
10129
10145
  constructor() {
10130
10146
  super(), this.type = "text";
10131
10147
  }
10132
10148
  get _inputStyles() {
10133
10149
  return J({
10134
- [yo.default]: !0,
10135
- [yo.invalid]: this.invalid,
10136
- [yo.disabled]: this.disabled,
10137
- [yo.readOnly]: this.readOnly,
10138
- [yo.suffix]: this._hasSuffix,
10139
- [yo.prefix]: this._hasPrefix
10150
+ [$o.default]: !0,
10151
+ [$o.invalid]: this.invalid,
10152
+ [$o.disabled]: this.disabled,
10153
+ [$o.readOnly]: this.readOnly,
10154
+ [$o.suffix]: this._hasSuffix,
10155
+ [$o.prefix]: this._hasPrefix
10140
10156
  });
10141
10157
  }
10142
10158
  get _helpTextStyles() {
@@ -10185,7 +10201,7 @@ class Vr extends H {
10185
10201
  render() {
10186
10202
  return $`
10187
10203
  ${this._label}
10188
- <div class="${yo.wrapper}">
10204
+ <div class="${$o.wrapper}">
10189
10205
  <slot @slotchange="${this.prefixSlotChange}" name="prefix"></slot>
10190
10206
  <input
10191
10207
  class="${this._inputStyles}"
@@ -10216,7 +10232,7 @@ class Vr extends H {
10216
10232
  `;
10217
10233
  }
10218
10234
  }
10219
- j(Vr, "properties", {
10235
+ j(Wr, "properties", {
10220
10236
  disabled: { type: Boolean },
10221
10237
  invalid: { type: Boolean },
10222
10238
  id: { type: String },
@@ -10240,7 +10256,7 @@ j(Vr, "properties", {
10240
10256
  // ::slotted([Simple Selector]) confirms to Specificity rules, but (being simple) does not add weight to lightDOM skin selectors,
10241
10257
  // so never gets higher Specificity. Thus in order to overwrite style linked within shadowDOM, we need to use !important.
10242
10258
  // https://stackoverflow.com/a/61631668
10243
- j(Vr, "styles", [
10259
+ j(Wr, "styles", [
10244
10260
  U`
10245
10261
  /* layer: preflights */
10246
10262
  *,::before,::after{--w-rotate:0;--w-rotate-x:0;--w-rotate-y:0;--w-rotate-z:0;--w-scale-x:1;--w-scale-y:1;--w-scale-z:1;--w-skew-x:0;--w-skew-y:0;--w-translate-x:0;--w-translate-y:0;--w-translate-z:0;}
@@ -10902,9 +10918,9 @@ j(Vr, "styles", [
10902
10918
  }
10903
10919
  `
10904
10920
  ]);
10905
- customElements.get("w-textfield") || customElements.define("w-textfield", Vr);
10906
- function Va(r, o) {
10907
- if (!Wo)
10921
+ customElements.get("w-textfield") || customElements.define("w-textfield", Wr);
10922
+ function Wa(r, o) {
10923
+ if (!Vo)
10908
10924
  return;
10909
10925
  const e = customElements.get("w-toast-container").init(), t = {
10910
10926
  id: Date.now().toString(36) + Math.random().toString(36).slice(2, 5),
@@ -10916,10 +10932,10 @@ function Va(r, o) {
10916
10932
  return e.set(t), t;
10917
10933
  }
10918
10934
  function Ja(r) {
10919
- return Wo ? customElements.get("w-toast-container").init().del(r) : void 0;
10935
+ return Vo ? customElements.get("w-toast-container").init().del(r) : void 0;
10920
10936
  }
10921
10937
  function Ga(r, o) {
10922
- if (!Wo)
10938
+ if (!Vo)
10923
10939
  return;
10924
10940
  const e = customElements.get("w-toast-container").init();
10925
10941
  return e.set({ ...e.get(r), ...o }), e.get(r);
@@ -10971,7 +10987,7 @@ const mt = (r) => {
10971
10987
  for (const a of e.split(" "))
10972
10988
  o[a] = t;
10973
10989
  return Ue(o);
10974
- }, go = {
10990
+ }, so = {
10975
10991
  success: "success",
10976
10992
  error: "error",
10977
10993
  warning: "warning"
@@ -10992,17 +11008,17 @@ class Jr extends H {
10992
11008
  get _primaryClasses() {
10993
11009
  return Ee({
10994
11010
  [oo.toast]: !0,
10995
- [oo.positive]: this.type === go.success,
10996
- [oo.warning]: this.type === go.warning,
10997
- [oo.negative]: this.type === go.error
11011
+ [oo.positive]: this.type === so.success,
11012
+ [oo.warning]: this.type === so.warning,
11013
+ [oo.negative]: this.type === so.error
10998
11014
  });
10999
11015
  }
11000
11016
  get _iconClasses() {
11001
11017
  return Ee({
11002
11018
  [oo.icon]: !0,
11003
- [oo.iconPositive]: this.type == go.success,
11004
- [oo.iconWarning]: this.type === go.warning,
11005
- [oo.iconNegative]: this.type === go.error
11019
+ [oo.iconPositive]: this.type == so.success,
11020
+ [oo.iconWarning]: this.type === so.warning,
11021
+ [oo.iconNegative]: this.type === so.error
11006
11022
  });
11007
11023
  }
11008
11024
  get _wrapper() {
@@ -11010,10 +11026,10 @@ class Jr extends H {
11010
11026
  return ((o = this.renderRoot) == null ? void 0 : o.querySelector("section")) ?? null;
11011
11027
  }
11012
11028
  get _warning() {
11013
- return this.type === go.warning;
11029
+ return this.type === so.warning;
11014
11030
  }
11015
11031
  get _error() {
11016
- return this.type === go.error;
11032
+ return this.type === so.error;
11017
11033
  }
11018
11034
  get _role() {
11019
11035
  return this._error || this._warning ? "alert" : "status";
@@ -13853,11 +13869,11 @@ export {
13853
13869
  ar as WarpButton,
13854
13870
  Ur as WarpCard,
13855
13871
  Qr as WarpExpandable,
13856
- Wr as WarpSelect,
13857
- Vr as WarpTextField,
13872
+ Vr as WarpSelect,
13873
+ Wr as WarpTextField,
13858
13874
  Jr as WarpToast,
13859
13875
  Gr as WarpToastContainer,
13860
13876
  Ja as removeToast,
13861
- Va as toast,
13877
+ Wa as toast,
13862
13878
  Ga as updateToast
13863
13879
  };