@warp-ds/elements 1.0.1-next.8 → 1.0.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.
Files changed (2) hide show
  1. package/dist/index.js +825 -1129
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1,574 +1,16 @@
1
- var ot = Object.defineProperty;
2
- var rt = (r, o, e) => o in r ? ot(r, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[o] = e;
3
- var $ = (r, o, e) => (rt(r, typeof o != "symbol" ? o + "" : o, e), e), et = (r, o, e) => {
1
+ var Ee = Object.defineProperty;
2
+ var Me = (r, o, e) => o in r ? Ee(r, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[o] = e;
3
+ var $ = (r, o, e) => (Me(r, typeof o != "symbol" ? o + "" : o, e), e), Te = (r, o, e) => {
4
4
  if (!o.has(r))
5
5
  throw TypeError("Cannot " + e);
6
6
  };
7
- var T = (r, o, e) => (et(r, o, "read from private field"), e ? e.call(r) : o.get(r)), J = (r, o, e) => {
7
+ var T = (r, o, e) => (Te(r, o, "read from private field"), e ? e.call(r) : o.get(r)), J = (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);
11
11
  };
12
- /**
13
- * @license
14
- * Copyright 2019 Google LLC
15
- * SPDX-License-Identifier: BSD-3-Clause
16
- */
17
- const Mo = window, Ar = Mo.ShadowRoot && (Mo.ShadyCSS === void 0 || Mo.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Cr = Symbol(), Nr = /* @__PURE__ */ new WeakMap();
18
- let pe = class {
19
- constructor(o, e, t) {
20
- if (this._$cssResult$ = !0, t !== Cr)
21
- throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
22
- this.cssText = o, this.t = e;
23
- }
24
- get styleSheet() {
25
- let o = this.o;
26
- const e = this.t;
27
- if (Ar && o === void 0) {
28
- const t = e !== void 0 && e.length === 1;
29
- t && (o = Nr.get(e)), o === void 0 && ((this.o = o = new CSSStyleSheet()).replaceSync(this.cssText), t && Nr.set(e, o));
30
- }
31
- return o;
32
- }
33
- toString() {
34
- return this.cssText;
35
- }
36
- };
37
- const tt = (r) => new pe(typeof r == "string" ? r : r + "", void 0, Cr), A = (r, ...o) => {
38
- const e = r.length === 1 ? r[0] : o.reduce((t, a, c) => t + ((i) => {
39
- if (i._$cssResult$ === !0)
40
- return i.cssText;
41
- if (typeof i == "number")
42
- return i;
43
- throw Error("Value passed to 'css' function must be a 'css' function result: " + i + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
44
- })(a) + r[c + 1], r[0]);
45
- return new pe(e, r, Cr);
46
- }, at = (r, o) => {
47
- Ar ? r.adoptedStyleSheets = o.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet) : o.forEach((e) => {
48
- const t = document.createElement("style"), a = Mo.litNonce;
49
- a !== void 0 && t.setAttribute("nonce", a), t.textContent = e.cssText, r.appendChild(t);
50
- });
51
- }, Or = Ar ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((o) => {
52
- let e = "";
53
- for (const t of o.cssRules)
54
- e += t.cssText;
55
- return tt(e);
56
- })(r) : r;
57
- /**
58
- * @license
59
- * Copyright 2017 Google LLC
60
- * SPDX-License-Identifier: BSD-3-Clause
61
- */
62
- var ar;
63
- const Do = window, Ir = Do.trustedTypes, ct = Ir ? Ir.emptyScript : "", Hr = Do.reactiveElementPolyfillSupport, ur = { toAttribute(r, o) {
64
- switch (o) {
65
- case Boolean:
66
- r = r ? ct : null;
67
- break;
68
- case Object:
69
- case Array:
70
- r = r == null ? r : JSON.stringify(r);
71
- }
72
- return r;
73
- }, fromAttribute(r, o) {
74
- let e = r;
75
- switch (o) {
76
- case Boolean:
77
- e = r !== null;
78
- break;
79
- case Number:
80
- e = r === null ? null : Number(r);
81
- break;
82
- case Object:
83
- case Array:
84
- try {
85
- e = JSON.parse(r);
86
- } catch {
87
- e = null;
88
- }
89
- }
90
- return e;
91
- } }, we = (r, o) => o !== r && (o == o || r == r), cr = { attribute: !0, type: String, converter: ur, reflect: !1, hasChanged: we }, vr = "finalized";
92
- let bo = class extends HTMLElement {
93
- constructor() {
94
- super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this.u();
95
- }
96
- static addInitializer(o) {
97
- var e;
98
- this.finalize(), ((e = this.h) !== null && e !== void 0 ? e : this.h = []).push(o);
99
- }
100
- static get observedAttributes() {
101
- this.finalize();
102
- const o = [];
103
- return this.elementProperties.forEach((e, t) => {
104
- const a = this._$Ep(t, e);
105
- a !== void 0 && (this._$Ev.set(a, t), o.push(a));
106
- }), o;
107
- }
108
- static createProperty(o, e = cr) {
109
- if (e.state && (e.attribute = !1), this.finalize(), this.elementProperties.set(o, e), !e.noAccessor && !this.prototype.hasOwnProperty(o)) {
110
- const t = typeof o == "symbol" ? Symbol() : "__" + o, a = this.getPropertyDescriptor(o, t, e);
111
- a !== void 0 && Object.defineProperty(this.prototype, o, a);
112
- }
113
- }
114
- static getPropertyDescriptor(o, e, t) {
115
- return { get() {
116
- return this[e];
117
- }, set(a) {
118
- const c = this[o];
119
- this[e] = a, this.requestUpdate(o, c, t);
120
- }, configurable: !0, enumerable: !0 };
121
- }
122
- static getPropertyOptions(o) {
123
- return this.elementProperties.get(o) || cr;
124
- }
125
- static finalize() {
126
- if (this.hasOwnProperty(vr))
127
- return !1;
128
- this[vr] = !0;
129
- const o = Object.getPrototypeOf(this);
130
- if (o.finalize(), o.h !== void 0 && (this.h = [...o.h]), this.elementProperties = new Map(o.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
131
- const e = this.properties, t = [...Object.getOwnPropertyNames(e), ...Object.getOwnPropertySymbols(e)];
132
- for (const a of t)
133
- this.createProperty(a, e[a]);
134
- }
135
- return this.elementStyles = this.finalizeStyles(this.styles), !0;
136
- }
137
- static finalizeStyles(o) {
138
- const e = [];
139
- if (Array.isArray(o)) {
140
- const t = new Set(o.flat(1 / 0).reverse());
141
- for (const a of t)
142
- e.unshift(Or(a));
143
- } else
144
- o !== void 0 && e.push(Or(o));
145
- return e;
146
- }
147
- static _$Ep(o, e) {
148
- const t = e.attribute;
149
- return t === !1 ? void 0 : typeof t == "string" ? t : typeof o == "string" ? o.toLowerCase() : void 0;
150
- }
151
- u() {
152
- var o;
153
- this._$E_ = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$Eg(), this.requestUpdate(), (o = this.constructor.h) === null || o === void 0 || o.forEach((e) => e(this));
154
- }
155
- addController(o) {
156
- var e, t;
157
- ((e = this._$ES) !== null && e !== void 0 ? e : this._$ES = []).push(o), this.renderRoot !== void 0 && this.isConnected && ((t = o.hostConnected) === null || t === void 0 || t.call(o));
158
- }
159
- removeController(o) {
160
- var e;
161
- (e = this._$ES) === null || e === void 0 || e.splice(this._$ES.indexOf(o) >>> 0, 1);
162
- }
163
- _$Eg() {
164
- this.constructor.elementProperties.forEach((o, e) => {
165
- this.hasOwnProperty(e) && (this._$Ei.set(e, this[e]), delete this[e]);
166
- });
167
- }
168
- createRenderRoot() {
169
- var o;
170
- const e = (o = this.shadowRoot) !== null && o !== void 0 ? o : this.attachShadow(this.constructor.shadowRootOptions);
171
- return at(e, this.constructor.elementStyles), e;
172
- }
173
- connectedCallback() {
174
- var o;
175
- this.renderRoot === void 0 && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (o = this._$ES) === null || o === void 0 || o.forEach((e) => {
176
- var t;
177
- return (t = e.hostConnected) === null || t === void 0 ? void 0 : t.call(e);
178
- });
179
- }
180
- enableUpdating(o) {
181
- }
182
- disconnectedCallback() {
183
- var o;
184
- (o = this._$ES) === null || o === void 0 || o.forEach((e) => {
185
- var t;
186
- return (t = e.hostDisconnected) === null || t === void 0 ? void 0 : t.call(e);
187
- });
188
- }
189
- attributeChangedCallback(o, e, t) {
190
- this._$AK(o, t);
191
- }
192
- _$EO(o, e, t = cr) {
193
- var a;
194
- const c = this.constructor._$Ep(o, t);
195
- if (c !== void 0 && t.reflect === !0) {
196
- const i = (((a = t.converter) === null || a === void 0 ? void 0 : a.toAttribute) !== void 0 ? t.converter : ur).toAttribute(e, t.type);
197
- this._$El = o, i == null ? this.removeAttribute(c) : this.setAttribute(c, i), this._$El = null;
198
- }
199
- }
200
- _$AK(o, e) {
201
- var t;
202
- const a = this.constructor, c = a._$Ev.get(o);
203
- if (c !== void 0 && this._$El !== c) {
204
- const i = a.getPropertyOptions(c), l = typeof i.converter == "function" ? { fromAttribute: i.converter } : ((t = i.converter) === null || t === void 0 ? void 0 : t.fromAttribute) !== void 0 ? i.converter : ur;
205
- this._$El = c, this[c] = l.fromAttribute(e, i.type), this._$El = null;
206
- }
207
- }
208
- requestUpdate(o, e, t) {
209
- let a = !0;
210
- o !== void 0 && (((t = t || this.constructor.getPropertyOptions(o)).hasChanged || we)(this[o], e) ? (this._$AL.has(o) || this._$AL.set(o, e), t.reflect === !0 && this._$El !== o && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(o, t))) : a = !1), !this.isUpdatePending && a && (this._$E_ = this._$Ej());
211
- }
212
- async _$Ej() {
213
- this.isUpdatePending = !0;
214
- try {
215
- await this._$E_;
216
- } catch (e) {
217
- Promise.reject(e);
218
- }
219
- const o = this.scheduleUpdate();
220
- return o != null && await o, !this.isUpdatePending;
221
- }
222
- scheduleUpdate() {
223
- return this.performUpdate();
224
- }
225
- performUpdate() {
226
- var o;
227
- if (!this.isUpdatePending)
228
- return;
229
- this.hasUpdated, this._$Ei && (this._$Ei.forEach((a, c) => this[c] = a), this._$Ei = void 0);
230
- let e = !1;
231
- const t = this._$AL;
232
- try {
233
- e = this.shouldUpdate(t), e ? (this.willUpdate(t), (o = this._$ES) === null || o === void 0 || o.forEach((a) => {
234
- var c;
235
- return (c = a.hostUpdate) === null || c === void 0 ? void 0 : c.call(a);
236
- }), this.update(t)) : this._$Ek();
237
- } catch (a) {
238
- throw e = !1, this._$Ek(), a;
239
- }
240
- e && this._$AE(t);
241
- }
242
- willUpdate(o) {
243
- }
244
- _$AE(o) {
245
- var e;
246
- (e = this._$ES) === null || e === void 0 || e.forEach((t) => {
247
- var a;
248
- return (a = t.hostUpdated) === null || a === void 0 ? void 0 : a.call(t);
249
- }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(o)), this.updated(o);
250
- }
251
- _$Ek() {
252
- this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
253
- }
254
- get updateComplete() {
255
- return this.getUpdateComplete();
256
- }
257
- getUpdateComplete() {
258
- return this._$E_;
259
- }
260
- shouldUpdate(o) {
261
- return !0;
262
- }
263
- update(o) {
264
- this._$EC !== void 0 && (this._$EC.forEach((e, t) => this._$EO(t, this[t], e)), this._$EC = void 0), this._$Ek();
265
- }
266
- updated(o) {
267
- }
268
- firstUpdated(o) {
269
- }
270
- };
271
- bo[vr] = !0, bo.elementProperties = /* @__PURE__ */ new Map(), bo.elementStyles = [], bo.shadowRootOptions = { mode: "open" }, Hr == null || Hr({ ReactiveElement: bo }), ((ar = Do.reactiveElementVersions) !== null && ar !== void 0 ? ar : Do.reactiveElementVersions = []).push("1.6.2");
272
- /**
273
- * @license
274
- * Copyright 2017 Google LLC
275
- * SPDX-License-Identifier: BSD-3-Clause
276
- */
277
- var ir;
278
- const No = window, vo = No.trustedTypes, Ur = vo ? vo.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Oo = "$lit$", O = `lit$${(Math.random() + "").slice(9)}$`, Er = "?" + O, it = `<${Er}>`, ao = document, yo = () => ao.createComment(""), zo = (r) => r === null || typeof r != "object" && typeof r != "function", xe = Array.isArray, me = (r) => xe(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", lr = `[
279
- \f\r]`, xo = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Qr = /-->/g, Vr = />/g, K = RegExp(`>|${lr}(?:([^\\s"'>=/]+)(${lr}*=${lr}*(?:[^
280
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Fr = /'/g, Wr = /"/g, ke = /^(?:script|style|textarea|title)$/i, fe = (r) => (o, ...e) => ({ _$litType$: r, strings: o, values: e }), v = fe(1), G = fe(2), U = Symbol.for("lit-noChange"), q = Symbol.for("lit-nothing"), Gr = /* @__PURE__ */ new WeakMap(), eo = ao.createTreeWalker(ao, 129, null, !1);
281
- function $e(r, o) {
282
- if (!Array.isArray(r) || !r.hasOwnProperty("raw"))
283
- throw Error("invalid template strings array");
284
- return Ur !== void 0 ? Ur.createHTML(o) : o;
285
- }
286
- const ye = (r, o) => {
287
- const e = r.length - 1, t = [];
288
- let a, c = o === 2 ? "<svg>" : "", i = xo;
289
- for (let l = 0; l < e; l++) {
290
- const d = r[l];
291
- let n, s, b = -1, g = 0;
292
- for (; g < d.length && (i.lastIndex = g, s = i.exec(d), s !== null); )
293
- g = i.lastIndex, i === xo ? s[1] === "!--" ? i = Qr : s[1] !== void 0 ? i = Vr : s[2] !== void 0 ? (ke.test(s[2]) && (a = RegExp("</" + s[2], "g")), i = K) : s[3] !== void 0 && (i = K) : i === K ? s[0] === ">" ? (i = a ?? xo, b = -1) : s[1] === void 0 ? b = -2 : (b = i.lastIndex - s[2].length, n = s[1], i = s[3] === void 0 ? K : s[3] === '"' ? Wr : Fr) : i === Wr || i === Fr ? i = K : i === Qr || i === Vr ? i = xo : (i = K, a = void 0);
294
- const w = i === K && r[l + 1].startsWith("/>") ? " " : "";
295
- c += i === xo ? d + it : b >= 0 ? (t.push(n), d.slice(0, b) + Oo + d.slice(b) + O + w) : d + O + (b === -2 ? (t.push(void 0), l) : w);
296
- }
297
- return [$e(r, c + (r[e] || "<?>") + (o === 2 ? "</svg>" : "")), t];
298
- };
299
- class _o {
300
- constructor({ strings: o, _$litType$: e }, t) {
301
- let a;
302
- this.parts = [];
303
- let c = 0, i = 0;
304
- const l = o.length - 1, d = this.parts, [n, s] = ye(o, e);
305
- if (this.el = _o.createElement(n, t), eo.currentNode = this.el.content, e === 2) {
306
- const b = this.el.content, g = b.firstChild;
307
- g.remove(), b.append(...g.childNodes);
308
- }
309
- for (; (a = eo.nextNode()) !== null && d.length < l; ) {
310
- if (a.nodeType === 1) {
311
- if (a.hasAttributes()) {
312
- const b = [];
313
- for (const g of a.getAttributeNames())
314
- if (g.endsWith(Oo) || g.startsWith(O)) {
315
- const w = s[i++];
316
- if (b.push(g), w !== void 0) {
317
- const x = a.getAttribute(w.toLowerCase() + Oo).split(O), m = /([.?@])?(.*)/.exec(w);
318
- d.push({ type: 1, index: c, name: m[2], strings: x, ctor: m[1] === "." ? qe : m[1] === "?" ? Xe : m[1] === "@" ? Ye : jo });
319
- } else
320
- d.push({ type: 6, index: c });
321
- }
322
- for (const g of b)
323
- a.removeAttribute(g);
324
- }
325
- if (ke.test(a.tagName)) {
326
- const b = a.textContent.split(O), g = b.length - 1;
327
- if (g > 0) {
328
- a.textContent = vo ? vo.emptyScript : "";
329
- for (let w = 0; w < g; w++)
330
- a.append(b[w], yo()), eo.nextNode(), d.push({ type: 2, index: ++c });
331
- a.append(b[g], yo());
332
- }
333
- }
334
- } else if (a.nodeType === 8)
335
- if (a.data === Er)
336
- d.push({ type: 2, index: c });
337
- else {
338
- let b = -1;
339
- for (; (b = a.data.indexOf(O, b + 1)) !== -1; )
340
- d.push({ type: 7, index: c }), b += O.length - 1;
341
- }
342
- c++;
343
- }
344
- }
345
- static createElement(o, e) {
346
- const t = ao.createElement("template");
347
- return t.innerHTML = o, t;
348
- }
349
- }
350
- function co(r, o, e = r, t) {
351
- var a, c, i, l;
352
- if (o === U)
353
- return o;
354
- let d = t !== void 0 ? (a = e._$Co) === null || a === void 0 ? void 0 : a[t] : e._$Cl;
355
- const n = zo(o) ? void 0 : o._$litDirective$;
356
- return (d == null ? void 0 : d.constructor) !== n && ((c = d == null ? void 0 : d._$AO) === null || c === void 0 || c.call(d, !1), n === void 0 ? d = void 0 : (d = new n(r), d._$AT(r, e, t)), t !== void 0 ? ((i = (l = e)._$Co) !== null && i !== void 0 ? i : l._$Co = [])[t] = d : e._$Cl = d), d !== void 0 && (o = co(r, d._$AS(r, o.values), d, t)), o;
357
- }
358
- class ze {
359
- constructor(o, e) {
360
- this._$AV = [], this._$AN = void 0, this._$AD = o, this._$AM = e;
361
- }
362
- get parentNode() {
363
- return this._$AM.parentNode;
364
- }
365
- get _$AU() {
366
- return this._$AM._$AU;
367
- }
368
- u(o) {
369
- var e;
370
- const { el: { content: t }, parts: a } = this._$AD, c = ((e = o == null ? void 0 : o.creationScope) !== null && e !== void 0 ? e : ao).importNode(t, !0);
371
- eo.currentNode = c;
372
- let i = eo.nextNode(), l = 0, d = 0, n = a[0];
373
- for (; n !== void 0; ) {
374
- if (l === n.index) {
375
- let s;
376
- n.type === 2 ? s = new or(i, i.nextSibling, this, o) : n.type === 1 ? s = new n.ctor(i, n.name, n.strings, this, o) : n.type === 6 && (s = new je(i, this, o)), this._$AV.push(s), n = a[++d];
377
- }
378
- l !== (n == null ? void 0 : n.index) && (i = eo.nextNode(), l++);
379
- }
380
- return eo.currentNode = ao, c;
381
- }
382
- v(o) {
383
- let e = 0;
384
- for (const t of this._$AV)
385
- t !== void 0 && (t.strings !== void 0 ? (t._$AI(o, t, e), e += t.strings.length - 2) : t._$AI(o[e])), e++;
386
- }
387
- }
388
- let or = class _e {
389
- constructor(o, e, t, a) {
390
- var c;
391
- this.type = 2, this._$AH = q, this._$AN = void 0, this._$AA = o, this._$AB = e, this._$AM = t, this.options = a, this._$Cp = (c = a == null ? void 0 : a.isConnected) === null || c === void 0 || c;
392
- }
393
- get _$AU() {
394
- var o, e;
395
- return (e = (o = this._$AM) === null || o === void 0 ? void 0 : o._$AU) !== null && e !== void 0 ? e : this._$Cp;
396
- }
397
- get parentNode() {
398
- let o = this._$AA.parentNode;
399
- const e = this._$AM;
400
- return e !== void 0 && (o == null ? void 0 : o.nodeType) === 11 && (o = e.parentNode), o;
401
- }
402
- get startNode() {
403
- return this._$AA;
404
- }
405
- get endNode() {
406
- return this._$AB;
407
- }
408
- _$AI(o, e = this) {
409
- o = co(this, o, e), zo(o) ? o === q || o == null || o === "" ? (this._$AH !== q && this._$AR(), this._$AH = q) : o !== this._$AH && o !== U && this._(o) : o._$litType$ !== void 0 ? this.g(o) : o.nodeType !== void 0 ? this.$(o) : me(o) ? this.T(o) : this._(o);
410
- }
411
- k(o) {
412
- return this._$AA.parentNode.insertBefore(o, this._$AB);
413
- }
414
- $(o) {
415
- this._$AH !== o && (this._$AR(), this._$AH = this.k(o));
416
- }
417
- _(o) {
418
- this._$AH !== q && zo(this._$AH) ? this._$AA.nextSibling.data = o : this.$(ao.createTextNode(o)), this._$AH = o;
419
- }
420
- g(o) {
421
- var e;
422
- const { values: t, _$litType$: a } = o, c = typeof a == "number" ? this._$AC(o) : (a.el === void 0 && (a.el = _o.createElement($e(a.h, a.h[0]), this.options)), a);
423
- if (((e = this._$AH) === null || e === void 0 ? void 0 : e._$AD) === c)
424
- this._$AH.v(t);
425
- else {
426
- const i = new ze(c, this), l = i.u(this.options);
427
- i.v(t), this.$(l), this._$AH = i;
428
- }
429
- }
430
- _$AC(o) {
431
- let e = Gr.get(o.strings);
432
- return e === void 0 && Gr.set(o.strings, e = new _o(o)), e;
433
- }
434
- T(o) {
435
- xe(this._$AH) || (this._$AH = [], this._$AR());
436
- const e = this._$AH;
437
- let t, a = 0;
438
- for (const c of o)
439
- a === e.length ? e.push(t = new _e(this.k(yo()), this.k(yo()), this, this.options)) : t = e[a], t._$AI(c), a++;
440
- a < e.length && (this._$AR(t && t._$AB.nextSibling, a), e.length = a);
441
- }
442
- _$AR(o = this._$AA.nextSibling, e) {
443
- var t;
444
- for ((t = this._$AP) === null || t === void 0 || t.call(this, !1, !0, e); o && o !== this._$AB; ) {
445
- const a = o.nextSibling;
446
- o.remove(), o = a;
447
- }
448
- }
449
- setConnected(o) {
450
- var e;
451
- this._$AM === void 0 && (this._$Cp = o, (e = this._$AP) === null || e === void 0 || e.call(this, o));
452
- }
453
- };
454
- class jo {
455
- constructor(o, e, t, a, c) {
456
- this.type = 1, this._$AH = q, 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 = q;
457
- }
458
- get tagName() {
459
- return this.element.tagName;
460
- }
461
- get _$AU() {
462
- return this._$AM._$AU;
463
- }
464
- _$AI(o, e = this, t, a) {
465
- const c = this.strings;
466
- let i = !1;
467
- if (c === void 0)
468
- o = co(this, o, e, 0), i = !zo(o) || o !== this._$AH && o !== U, i && (this._$AH = o);
469
- else {
470
- const l = o;
471
- let d, n;
472
- for (o = c[0], d = 0; d < c.length - 1; d++)
473
- n = co(this, l[t + d], e, d), n === U && (n = this._$AH[d]), i || (i = !zo(n) || n !== this._$AH[d]), n === q ? o = q : o !== q && (o += (n ?? "") + c[d + 1]), this._$AH[d] = n;
474
- }
475
- i && !a && this.j(o);
476
- }
477
- j(o) {
478
- o === q ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, o ?? "");
479
- }
480
- }
481
- let qe = class extends jo {
482
- constructor() {
483
- super(...arguments), this.type = 3;
484
- }
485
- j(o) {
486
- this.element[this.name] = o === q ? void 0 : o;
487
- }
488
- };
489
- const lt = vo ? vo.emptyScript : "";
490
- let Xe = class extends jo {
491
- constructor() {
492
- super(...arguments), this.type = 4;
493
- }
494
- j(o) {
495
- o && o !== q ? this.element.setAttribute(this.name, lt) : this.element.removeAttribute(this.name);
496
- }
497
- }, Ye = class extends jo {
498
- constructor(o, e, t, a, c) {
499
- super(o, e, t, a, c), this.type = 5;
500
- }
501
- _$AI(o, e = this) {
502
- var t;
503
- if ((o = (t = co(this, o, e, 0)) !== null && t !== void 0 ? t : q) === U)
504
- return;
505
- const a = this._$AH, c = o === q && a !== q || o.capture !== a.capture || o.once !== a.once || o.passive !== a.passive, i = o !== q && (a === q || c);
506
- c && this.element.removeEventListener(this.name, this, a), i && this.element.addEventListener(this.name, this, o), this._$AH = o;
507
- }
508
- handleEvent(o) {
509
- var e, t;
510
- typeof this._$AH == "function" ? this._$AH.call((t = (e = this.options) === null || e === void 0 ? void 0 : e.host) !== null && t !== void 0 ? t : this.element, o) : this._$AH.handleEvent(o);
511
- }
512
- };
513
- class je {
514
- constructor(o, e, t) {
515
- this.element = o, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = t;
516
- }
517
- get _$AU() {
518
- return this._$AM._$AU;
519
- }
520
- _$AI(o) {
521
- co(this, o);
522
- }
523
- }
524
- const dt = { O: Oo, P: O, A: Er, C: 1, M: ye, L: ze, D: me, R: co, I: or, V: jo, H: Xe, N: Ye, U: qe, F: je }, Jr = No.litHtmlPolyfillSupport;
525
- Jr == null || Jr(_o, or), ((ir = No.litHtmlVersions) !== null && ir !== void 0 ? ir : No.litHtmlVersions = []).push("2.7.5");
526
- const nt = (r, o, e) => {
527
- var t, a;
528
- const c = (t = e == null ? void 0 : e.renderBefore) !== null && t !== void 0 ? t : o;
529
- let i = c._$litPart$;
530
- if (i === void 0) {
531
- const l = (a = e == null ? void 0 : e.renderBefore) !== null && a !== void 0 ? a : null;
532
- c._$litPart$ = i = new or(o.insertBefore(yo(), l), l, void 0, e ?? {});
533
- }
534
- return i._$AI(r), i;
535
- };
536
- /**
537
- * @license
538
- * Copyright 2017 Google LLC
539
- * SPDX-License-Identifier: BSD-3-Clause
540
- */
541
- var dr, nr;
542
- let X = class extends bo {
543
- constructor() {
544
- super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
545
- }
546
- createRenderRoot() {
547
- var o, e;
548
- const t = super.createRenderRoot();
549
- return (o = (e = this.renderOptions).renderBefore) !== null && o !== void 0 || (e.renderBefore = t.firstChild), t;
550
- }
551
- update(o) {
552
- const e = this.render();
553
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(o), this._$Do = nt(e, this.renderRoot, this.renderOptions);
554
- }
555
- connectedCallback() {
556
- var o;
557
- super.connectedCallback(), (o = this._$Do) === null || o === void 0 || o.setConnected(!0);
558
- }
559
- disconnectedCallback() {
560
- var o;
561
- super.disconnectedCallback(), (o = this._$Do) === null || o === void 0 || o.setConnected(!1);
562
- }
563
- render() {
564
- return U;
565
- }
566
- };
567
- X.finalized = !0, X._$litElement$ = !0, (dr = globalThis.litElementHydrateSupport) === null || dr === void 0 || dr.call(globalThis, { LitElement: X });
568
- const Kr = globalThis.litElementPolyfillSupport;
569
- Kr == null || Kr({ LitElement: X });
570
- ((nr = globalThis.litElementVersions) !== null && nr !== void 0 ? nr : globalThis.litElementVersions = []).push("3.3.2");
571
- const N = {
12
+ import { svg as G, html as v, LitElement as Z, css as S } from "lit";
13
+ const I = {
572
14
  base: "border-2 relative",
573
15
  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",
574
16
  callout: "i-bg-$color-callout-background i-border-$color-callout-border i-text-$color-callout-text py-8 px-16 rounded-8",
@@ -583,7 +25,7 @@ const N = {
583
25
  arrowPopover: "i-bg-$color-popover-background i-border-$color-popover-background",
584
26
  content: "last-child:mb-0",
585
27
  notCallout: "absolute z-50"
586
- }, I = {
28
+ }, P = {
587
29
  box: "group block relative break-words last-child:mb-0 p-16 rounded-8",
588
30
  // Relative here enables w-clickable
589
31
  bleed: "-mx-16 sm:mx-0 rounded-l-0 rounded-r-0 sm:rounded-8",
@@ -594,7 +36,7 @@ const N = {
594
36
  infoClickable: "hover:i-bg-$color-box-info-background-hover active:i-bg-$color-box-info-background-hover",
595
37
  neutralClickable: "hover:i-bg-$color-box-neutral-background-hover active:i-bg-$color-box-neutral-background-hover",
596
38
  borderedClickable: "hover:i-bg-$color-box-bordered-background-hover active:i-bg-$color-box-bordered-background-hover hover:i-border-$color-box-bordered-border-hover active:i-border-$color-box-bordered-border-hover"
597
- }, B = {
39
+ }, D = {
598
40
  card: "cursor-pointer overflow-hidden relative transition-all",
599
41
  cardShadow: "rounded-8 i-shadow-$shadow-card hover:i-shadow-$shadow-card-hover hover:i-bg-$color-card-background-hover tap-highlight-transparent",
600
42
  cardFlat: "border-2 rounded-4",
@@ -605,11 +47,11 @@ const N = {
605
47
  cardOutlineUnselected: "i-border-$color-card-border",
606
48
  cardOutlineSelected: "i-border-$color-card-border-selected hover:i-border-$color-card-border-selected-hover",
607
49
  a11y: "sr-only"
608
- }, br = {
50
+ }, or = {
609
51
  container: "fixed transform translate-z-0 bottom-16 left-0 right-0 mx-8 sm:mx-16 z-50 pointer-events-none",
610
52
  content: "w-full",
611
53
  toaster: "grid auto-rows-auto justify-items-center justify-center mx-auto pointer-events-none"
612
- }, R = {
54
+ }, B = {
613
55
  wrapper: "relative overflow-hidden w-full",
614
56
  toast: "flex group p-8 mt-16 rounded-8 border-2 w-full pointer-events-auto transition-all",
615
57
  positive: "i-bg-$color-toast-positive-background i-border-$color-toast-positive-subtle-border i-text-$color-toast-positive-text",
@@ -622,23 +64,23 @@ const N = {
622
64
  iconLoading: "animate-bounce",
623
65
  content: "self-center mr-8 py-4 last-child:mb-0",
624
66
  close: "bg-transparent ml-auto p-[8px] i-text-$color-toast-close-icon hover:i-text-$color-toast-close-icon-hover active:i-text-$color-toast-close-icon-active"
625
- }, bt = "focus:outline-none appearance-none cursor-pointer bg-transparent border-0 m-0 p-0 inline-block", E = {
67
+ }, Be = "focus:outline-none appearance-none cursor-pointer bg-transparent border-0 m-0 p-0 inline-block", L = {
626
68
  expandable: "will-change-height",
627
69
  expandableTitle: "font-bold i-text-$color-expandable-title-text",
628
- expandableBox: "i-bg-$color-expandable-background hover:i-bg-$color-expandable-background-hover py-0 px-0 " + I.box,
629
- expandableBleed: I.bleed,
70
+ expandableBox: "i-bg-$color-expandable-background hover:i-bg-$color-expandable-background-hover py-0 px-0 " + P.box,
71
+ expandableBleed: P.bleed,
630
72
  chevron: "inline-block align-middle transform transition-transform transform-gpu i-text-$color-expandable-icon",
631
73
  chevronNonBox: "relative left-8",
632
74
  chevronBox: "absolute right-16",
633
75
  chevronExpanded: "-rotate-180",
634
76
  expansion: "overflow-hidden",
635
77
  expansionNotExpanded: "h-0 invisible",
636
- button: bt + " hover:underline focus:underline",
637
- buttonBox: "w-full text-left relative inline-flex items-center " + I.box,
78
+ button: Be + " hover:underline focus:underline",
79
+ buttonBox: "w-full text-left relative inline-flex items-center " + P.box,
638
80
  paddingTop: "pt-0",
639
81
  title: "flex justify-between items-center",
640
82
  titleType: "h4"
641
- }, V = "font-bold focusable justify-center transition-colors ease-in-out", z = {
83
+ }, F = "font-bold focusable justify-center transition-colors ease-in-out", z = {
642
84
  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",
643
85
  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",
644
86
  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",
@@ -651,11 +93,11 @@ const N = {
651
93
  loading: "i-text-$color-button-loading-text i-bg-$color-button-loading-background",
652
94
  link: "i-text-$color-button-link-text"
653
95
  }, f = {
654
- primary: `border-0 rounded-8 ${V}`,
655
- secondary: `border-2 rounded-8 ${V}`,
656
- utility: `border rounded-4 ${V}`,
657
- negative: `border-0 rounded-8 ${V}`,
658
- pill: `p-4 rounded-full border-0 inline-flex items-center justify-center hover:bg-clip-padding ${V}`,
96
+ primary: `border-0 rounded-8 ${F}`,
97
+ secondary: `border-2 rounded-8 ${F}`,
98
+ utility: `border rounded-4 ${F}`,
99
+ negative: `border-0 rounded-8 ${F}`,
100
+ pill: `p-4 rounded-full border-0 inline-flex items-center justify-center hover:bg-clip-padding ${F}`,
659
101
  link: `bg-transparent focusable ease-in-out inline active:underline hover:underline ${z.link}`
660
102
  }, h = {
661
103
  xsmall: "py-6 px-16",
@@ -673,9 +115,9 @@ const N = {
673
115
  }, u = {
674
116
  inProgress: `border-transparent animate-inprogress pointer-events-none ${z.loading}`,
675
117
  // .button--in-progress, a.button--in-progress:visited
676
- quiet: `border-0 rounded-8 ${V}`,
677
- utilityQuiet: `border-0 rounded-4 ${V}`,
678
- negativeQuiet: `border-0 rounded-8 ${V}`,
118
+ quiet: `border-0 rounded-8 ${F}`,
119
+ utilityQuiet: `border-0 rounded-4 ${F}`,
120
+ negativeQuiet: `border-0 rounded-8 ${F}`,
679
121
  isDisabled: `font-bold justify-center transition-colors ease-in-out cursor-default pointer-events-none ${z.disabled}`
680
122
  // .button:disabled, .button--is-disabled
681
123
  }, k = {
@@ -746,7 +188,7 @@ const N = {
746
188
  a11y: "sr-only",
747
189
  fullWidth: "w-full max-w-full",
748
190
  contentWidth: "max-w-max"
749
- }, mo = {
191
+ }, wo = {
750
192
  alert: "flex p-16 border border-l-4 rounded-4",
751
193
  willChangeHeight: "will-change-height",
752
194
  textWrapper: "last-child:mb-0 text-s",
@@ -760,7 +202,7 @@ const N = {
760
202
  warningIcon: "i-text-$color-alert-warning-icon",
761
203
  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",
762
204
  infoIcon: "i-text-$color-alert-info-icon"
763
- }, oo = {
205
+ }, K = {
764
206
  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",
765
207
  textArea: "min-h-[42] sm:min-h-[45]",
766
208
  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",
@@ -779,31 +221,31 @@ const N = {
779
221
  selectWrapper: "relative before:block before:absolute before:right-0 before:bottom-0 before:w-32 before:h-full before:pointer-events-none ",
780
222
  chevron: "absolute top-[30%] block right-0 bottom-0 w-32 h-full i-text-$color-select-icon pointer-events-none cursor-pointer",
781
223
  chevronDisabled: "opacity-25"
782
- }, fo = {
224
+ }, ko = {
783
225
  label: "antialiased block relative text-s font-bold pb-4 cursor-pointer i-text-$color-label-text",
784
226
  labelInvalid: "i-text-$color-label-text-negative",
785
227
  optional: "pl-8 font-normal text-s i-text-$color-label-optional-text"
786
- }, Io = {
228
+ }, Bo = {
787
229
  helpText: "text-xs mt-4 block i-text-$color-helptext-text",
788
230
  helpTextValid: "i-text-$color-helptext-text-positive",
789
231
  helpTextInvalid: "i-text-$color-helptext-text-negative"
790
- }, Ze = "absolute top-0 bottom-0 flex justify-center items-center focusable focus:[--w-outline-offset:-2px] bg-transparent ", st = {
791
- wrapper: Ze + "right-0",
232
+ }, oe = "absolute top-0 bottom-0 flex justify-center items-center focusable focus:[--w-outline-offset:-2px] bg-transparent ", Re = {
233
+ wrapper: oe + "right-0",
792
234
  wrapperWithLabel: "w-max pr-12",
793
235
  wrapperWithIcon: "w-40",
794
236
  label: "antialiased block relative cursor-default pb-0 font-bold text-xs i-text-$color-label-text"
795
- }, gt = {
796
- wrapper: Ze + "left-0",
237
+ }, De = {
238
+ wrapper: oe + "left-0",
797
239
  wrapperWithLabel: "w-max pl-12",
798
240
  wrapperWithIcon: "w-40",
799
241
  label: "antialiased block relative cursor-default pb-0 font-bold text-xs i-text-$color-label-text"
800
- }, so = {
242
+ }, bo = {
801
243
  wrapper: "flex space-x-8",
802
244
  text: "i-text-$color-breadcrumbs-text",
803
245
  link: "i-text-$color-breadcrumbs-link-text",
804
246
  separator: "select-none i-text-$color-breadcrumbs-icon",
805
247
  a11y: "sr-only"
806
- }, ut = () => v`<svg
248
+ }, Ne = () => v`<svg
807
249
  aria-label="Rødt utropstegn"
808
250
  role="img"
809
251
  xmlns="http://www.w3.org/2000/svg"
@@ -811,8 +253,8 @@ const N = {
811
253
  height="16"
812
254
  fill="none"
813
255
  >
814
- ${wt}
815
- </svg>`, vt = () => v`<svg
256
+ ${Qe}
257
+ </svg>`, Ie = () => v`<svg
816
258
  aria-label="Grønt hake"
817
259
  role="img"
818
260
  width="16"
@@ -820,8 +262,8 @@ const N = {
820
262
  fill="none"
821
263
  xmlns="http://www.w3.org/2000/svg"
822
264
  >
823
- ${xt}
824
- </svg> `, ht = () => v`<svg
265
+ ${Oe}
266
+ </svg> `, Pe = () => v`<svg
825
267
  aria-label="Gult utropstegn"
826
268
  role="img"
827
269
  width="16"
@@ -829,8 +271,8 @@ const N = {
829
271
  fill="none"
830
272
  xmlns="http://www.w3.org/2000/svg"
831
273
  >
832
- ${mt}
833
- </svg> `, pt = () => v`<svg
274
+ ${Fe}
275
+ </svg> `, He = () => v`<svg
834
276
  aria-label="Info"
835
277
  role="img"
836
278
  width="16"
@@ -838,8 +280,8 @@ const N = {
838
280
  fill="none"
839
281
  xmlns="http://www.w3.org/2000/svg"
840
282
  >
841
- ${kt}
842
- </svg>`, wt = G`<path
283
+ ${We}
284
+ </svg>`, Qe = G`<path
843
285
  d="M4.1.586A2 2 0 0 1 5.516 0h4.97A2 2 0 0 1 11.9.586L15.413 4.1A2 2 0 0 1 16 5.514v4.97a2 2 0 0 1-.586 1.415L11.9 15.413a2 2 0 0 1-1.415.586h-4.97a2 2 0 0 1-1.414-.586L.586 11.9A2 2 0 0 1 0 10.485v-4.97A2 2 0 0 1 .586 4.1L4.1.586Z"
844
286
  fill="currentColor"
845
287
  />
@@ -849,13 +291,13 @@ clip-rule="evenodd"
849
291
  d="M8 3.25a.75.75 0 0 1 .75.75v5a.75.75 0 0 1-1.5 0V4A.75.75 0 0 1 8 3.25Z"
850
292
  fill="#fff"
851
293
  />
852
- <path d="M8.8 11.8a.8.8 0 1 1-1.6 0 .8.8 0 0 1 1.6 0Z" fill="#fff" />`, xt = G`<circle cx="8" cy="8" r="8" transform="rotate(180 8 8)" fill="currentColor" />
294
+ <path d="M8.8 11.8a.8.8 0 1 1-1.6 0 .8.8 0 0 1 1.6 0Z" fill="#fff" />`, Oe = G`<circle cx="8" cy="8" r="8" transform="rotate(180 8 8)" fill="currentColor" />
853
295
  <path
854
296
  fill-rule="evenodd"
855
297
  clip-rule="evenodd"
856
298
  d="M11.5 4.94c.3.27.34.75.06 1.06l-4 4.5a.75.75 0 0 1-1.09.03l-2-2a.75.75 0 0 1 1.06-1.06l1.44 1.44L10.44 5a.75.75 0 0 1 1.06-.07Z"
857
299
  fill="#fff"
858
- />`, mt = G`<path
300
+ />`, Fe = G`<path
859
301
  d="M.24 12 6.16 1.09a2.1 2.1 0 0 1 3.68 0l5.92 10.93c.73 1.36-.28 2.99-1.85 2.99H2.1a2.04 2.04 0 0 1-1.85-3Z"
860
302
  fill="currentColor"
861
303
  />
@@ -865,61 +307,61 @@ clip-rule="evenodd"
865
307
  d="M8 3.25c.41 0 .75.34.75.75v5a.75.75 0 0 1-1.5 0V4c0-.41.34-.75.75-.75Z"
866
308
  fill="#fff"
867
309
  />
868
- <path d="M8.8 11.8a.8.8 0 1 1-1.6 0 .8.8 0 0 1 1.6 0Z" fill="#fff" />`, kt = G`<circle cx="8" cy="8" r="8" fill="currentColor" />
310
+ <path d="M8.8 11.8a.8.8 0 1 1-1.6 0 .8.8 0 0 1 1.6 0Z" fill="#fff" />`, We = G`<circle cx="8" cy="8" r="8" fill="currentColor" />
869
311
  <path
870
312
  fill-rule="evenodd"
871
313
  clip-rule="evenodd"
872
314
  d="M7.25 12a.75.75 0 0 0 1.5 0V8a.75.75 0 0 0-1.5 0v4ZM8 4a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"
873
315
  fill="#fff"
874
316
  />`;
875
- var F = function() {
317
+ var W = function() {
876
318
  for (var r = [], o = arguments.length; o--; )
877
319
  r[o] = arguments[o];
878
320
  return r.reduce(function(e, t) {
879
- return e.concat(typeof t == "string" ? t : Array.isArray(t) ? F.apply(void 0, t) : typeof t == "object" && t ? Object.keys(t).map(function(a) {
321
+ return e.concat(typeof t == "string" ? t : Array.isArray(t) ? W.apply(void 0, t) : typeof t == "object" && t ? Object.keys(t).map(function(a) {
880
322
  return t[a] ? a : "";
881
323
  }) : "");
882
324
  }, []).join(" ");
883
325
  };
884
- const oe = {
885
- negative: ut(),
886
- positive: vt(),
887
- warning: ht(),
888
- info: pt()
326
+ const Ar = {
327
+ negative: Ne(),
328
+ positive: Ie(),
329
+ warning: Pe(),
330
+ info: He()
889
331
  };
890
- class hr extends X {
332
+ class cr extends Z {
891
333
  constructor() {
892
334
  super(), this.show = !1, this.role = "alert";
893
335
  }
894
336
  connectedCallback() {
895
- if (super.connectedCallback(), !this.variant || !Object.keys(oe).includes(this.variant))
337
+ if (super.connectedCallback(), !this.variant || !Object.keys(Ar).includes(this.variant))
896
338
  throw new Error(
897
339
  `Invalid "variant" attribute. Set its value to one of the following:
898
340
  negative, positive, warning, info.`
899
341
  );
900
342
  }
901
343
  get _wrapperClasses() {
902
- return F({
903
- [mo.alert]: !0,
904
- [mo[this.variant]]: !0
344
+ return W({
345
+ [wo.alert]: !0,
346
+ [wo[this.variant]]: !0
905
347
  });
906
348
  }
907
349
  get _iconClasses() {
908
- const o = mo[`${this.variant}Icon`];
909
- return F({
910
- [mo.icon]: !0,
350
+ const o = wo[`${this.variant}Icon`];
351
+ return W({
352
+ [wo.icon]: !0,
911
353
  [o]: !0
912
354
  });
913
355
  }
914
356
  get _icon() {
915
- return this.variant ? oe[this.variant] : {};
357
+ return this.variant ? Ar[this.variant] : {};
916
358
  }
917
359
  render() {
918
360
  return v`
919
361
  <w-expand-transition ?show=${this.show}>
920
362
  <div role=${this.role} class=${this._wrapperClasses}>
921
363
  <div class=${this._iconClasses}>${this._icon}</div>
922
- <div class=${mo.textWrapper}>
364
+ <div class=${wo.textWrapper}>
923
365
  <slot></slot>
924
366
  </div>
925
367
  </div>
@@ -927,7 +369,7 @@ negative, positive, warning, info.`
927
369
  `;
928
370
  }
929
371
  }
930
- $(hr, "properties", {
372
+ $(cr, "properties", {
931
373
  variant: { type: String, reflect: !0 },
932
374
  show: { type: Boolean, reflect: !0 },
933
375
  role: { type: String, reflect: !0 }
@@ -935,7 +377,7 @@ $(hr, "properties", {
935
377
  // ::slotted([Simple Selector]) confirms to Specificity rules, but (being simple) does not add weight to lightDOM skin selectors,
936
378
  // so never gets higher Specificity. Thus in order to overwrite style linked within shadowDOM, we need to use !important.
937
379
  // https://stackoverflow.com/a/61631668
938
- $(hr, "styles", A`
380
+ $(cr, "styles", S`
939
381
  /* layer: preflights */
940
382
  *,::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;}
941
383
  *,: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}
@@ -1595,14 +1037,268 @@ $(hr, "styles", A`
1595
1037
  margin-bottom: 0px !important;
1596
1038
  }
1597
1039
  `);
1598
- customElements.get("w-alert") || customElements.define("w-alert", hr);
1040
+ customElements.get("w-alert") || customElements.define("w-alert", cr);
1041
+ /**
1042
+ * @license
1043
+ * Copyright 2017 Google LLC
1044
+ * SPDX-License-Identifier: BSD-3-Clause
1045
+ */
1046
+ var rr;
1047
+ const Ro = window, uo = Ro.trustedTypes, Sr = uo ? uo.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Do = "$lit$", H = `lit$${(Math.random() + "").slice(9)}$`, $r = "?" + H, Ue = `<${$r}>`, ao = document, No = () => ao.createComment(""), $o = (r) => r === null || typeof r != "object" && typeof r != "function", re = Array.isArray, ee = (r) => re(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", er = `[
1048
+ \f\r]`, xo = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Cr = /-->/g, Lr = />/g, oo = RegExp(`>|${er}(?:([^\\s"'>=/]+)(${er}*=${er}*(?:[^
1049
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Er = /'/g, Mr = /"/g, te = /^(?:script|style|textarea|title)$/i, V = Symbol.for("lit-noChange"), _ = Symbol.for("lit-nothing"), Tr = /* @__PURE__ */ new WeakMap(), eo = ao.createTreeWalker(ao, 129, null, !1);
1050
+ function ae(r, o) {
1051
+ if (!Array.isArray(r) || !r.hasOwnProperty("raw"))
1052
+ throw Error("invalid template strings array");
1053
+ return Sr !== void 0 ? Sr.createHTML(o) : o;
1054
+ }
1055
+ const ce = (r, o) => {
1056
+ const e = r.length - 1, t = [];
1057
+ let a, c = o === 2 ? "<svg>" : "", i = xo;
1058
+ for (let l = 0; l < e; l++) {
1059
+ const d = r[l];
1060
+ let n, s, b = -1, g = 0;
1061
+ for (; g < d.length && (i.lastIndex = g, s = i.exec(d), s !== null); )
1062
+ g = i.lastIndex, i === xo ? s[1] === "!--" ? i = Cr : s[1] !== void 0 ? i = Lr : s[2] !== void 0 ? (te.test(s[2]) && (a = RegExp("</" + s[2], "g")), i = oo) : s[3] !== void 0 && (i = oo) : i === oo ? s[0] === ">" ? (i = a ?? xo, b = -1) : s[1] === void 0 ? b = -2 : (b = i.lastIndex - s[2].length, n = s[1], i = s[3] === void 0 ? oo : s[3] === '"' ? Mr : Er) : i === Mr || i === Er ? i = oo : i === Cr || i === Lr ? i = xo : (i = oo, a = void 0);
1063
+ const w = i === oo && r[l + 1].startsWith("/>") ? " " : "";
1064
+ c += i === xo ? d + Ue : b >= 0 ? (t.push(n), d.slice(0, b) + Do + d.slice(b) + H + w) : d + H + (b === -2 ? (t.push(void 0), l) : w);
1065
+ }
1066
+ return [ae(r, c + (r[e] || "<?>") + (o === 2 ? "</svg>" : "")), t];
1067
+ };
1068
+ class yo {
1069
+ constructor({ strings: o, _$litType$: e }, t) {
1070
+ let a;
1071
+ this.parts = [];
1072
+ let c = 0, i = 0;
1073
+ const l = o.length - 1, d = this.parts, [n, s] = ce(o, e);
1074
+ if (this.el = yo.createElement(n, t), eo.currentNode = this.el.content, e === 2) {
1075
+ const b = this.el.content, g = b.firstChild;
1076
+ g.remove(), b.append(...g.childNodes);
1077
+ }
1078
+ for (; (a = eo.nextNode()) !== null && d.length < l; ) {
1079
+ if (a.nodeType === 1) {
1080
+ if (a.hasAttributes()) {
1081
+ const b = [];
1082
+ for (const g of a.getAttributeNames())
1083
+ if (g.endsWith(Do) || g.startsWith(H)) {
1084
+ const w = s[i++];
1085
+ if (b.push(g), w !== void 0) {
1086
+ const x = a.getAttribute(w.toLowerCase() + Do).split(H), m = /([.?@])?(.*)/.exec(w);
1087
+ d.push({ type: 1, index: c, name: m[2], strings: x, ctor: m[1] === "." ? de : m[1] === "?" ? ne : m[1] === "@" ? be : Xo });
1088
+ } else
1089
+ d.push({ type: 6, index: c });
1090
+ }
1091
+ for (const g of b)
1092
+ a.removeAttribute(g);
1093
+ }
1094
+ if (te.test(a.tagName)) {
1095
+ const b = a.textContent.split(H), g = b.length - 1;
1096
+ if (g > 0) {
1097
+ a.textContent = uo ? uo.emptyScript : "";
1098
+ for (let w = 0; w < g; w++)
1099
+ a.append(b[w], No()), eo.nextNode(), d.push({ type: 2, index: ++c });
1100
+ a.append(b[g], No());
1101
+ }
1102
+ }
1103
+ } else if (a.nodeType === 8)
1104
+ if (a.data === $r)
1105
+ d.push({ type: 2, index: c });
1106
+ else {
1107
+ let b = -1;
1108
+ for (; (b = a.data.indexOf(H, b + 1)) !== -1; )
1109
+ d.push({ type: 7, index: c }), b += H.length - 1;
1110
+ }
1111
+ c++;
1112
+ }
1113
+ }
1114
+ static createElement(o, e) {
1115
+ const t = ao.createElement("template");
1116
+ return t.innerHTML = o, t;
1117
+ }
1118
+ }
1119
+ function co(r, o, e = r, t) {
1120
+ var a, c, i, l;
1121
+ if (o === V)
1122
+ return o;
1123
+ let d = t !== void 0 ? (a = e._$Co) === null || a === void 0 ? void 0 : a[t] : e._$Cl;
1124
+ const n = $o(o) ? void 0 : o._$litDirective$;
1125
+ return (d == null ? void 0 : d.constructor) !== n && ((c = d == null ? void 0 : d._$AO) === null || c === void 0 || c.call(d, !1), n === void 0 ? d = void 0 : (d = new n(r), d._$AT(r, e, t)), t !== void 0 ? ((i = (l = e)._$Co) !== null && i !== void 0 ? i : l._$Co = [])[t] = d : e._$Cl = d), d !== void 0 && (o = co(r, d._$AS(r, o.values), d, t)), o;
1126
+ }
1127
+ class ie {
1128
+ constructor(o, e) {
1129
+ this._$AV = [], this._$AN = void 0, this._$AD = o, this._$AM = e;
1130
+ }
1131
+ get parentNode() {
1132
+ return this._$AM.parentNode;
1133
+ }
1134
+ get _$AU() {
1135
+ return this._$AM._$AU;
1136
+ }
1137
+ u(o) {
1138
+ var e;
1139
+ const { el: { content: t }, parts: a } = this._$AD, c = ((e = o == null ? void 0 : o.creationScope) !== null && e !== void 0 ? e : ao).importNode(t, !0);
1140
+ eo.currentNode = c;
1141
+ let i = eo.nextNode(), l = 0, d = 0, n = a[0];
1142
+ for (; n !== void 0; ) {
1143
+ if (l === n.index) {
1144
+ let s;
1145
+ n.type === 2 ? s = new yr(i, i.nextSibling, this, o) : n.type === 1 ? s = new n.ctor(i, n.name, n.strings, this, o) : n.type === 6 && (s = new se(i, this, o)), this._$AV.push(s), n = a[++d];
1146
+ }
1147
+ l !== (n == null ? void 0 : n.index) && (i = eo.nextNode(), l++);
1148
+ }
1149
+ return eo.currentNode = ao, c;
1150
+ }
1151
+ v(o) {
1152
+ let e = 0;
1153
+ for (const t of this._$AV)
1154
+ t !== void 0 && (t.strings !== void 0 ? (t._$AI(o, t, e), e += t.strings.length - 2) : t._$AI(o[e])), e++;
1155
+ }
1156
+ }
1157
+ let yr = class le {
1158
+ constructor(o, e, t, a) {
1159
+ var c;
1160
+ this.type = 2, this._$AH = _, this._$AN = void 0, this._$AA = o, this._$AB = e, this._$AM = t, this.options = a, this._$Cp = (c = a == null ? void 0 : a.isConnected) === null || c === void 0 || c;
1161
+ }
1162
+ get _$AU() {
1163
+ var o, e;
1164
+ return (e = (o = this._$AM) === null || o === void 0 ? void 0 : o._$AU) !== null && e !== void 0 ? e : this._$Cp;
1165
+ }
1166
+ get parentNode() {
1167
+ let o = this._$AA.parentNode;
1168
+ const e = this._$AM;
1169
+ return e !== void 0 && (o == null ? void 0 : o.nodeType) === 11 && (o = e.parentNode), o;
1170
+ }
1171
+ get startNode() {
1172
+ return this._$AA;
1173
+ }
1174
+ get endNode() {
1175
+ return this._$AB;
1176
+ }
1177
+ _$AI(o, e = this) {
1178
+ o = co(this, o, e), $o(o) ? o === _ || o == null || o === "" ? (this._$AH !== _ && this._$AR(), this._$AH = _) : o !== this._$AH && o !== V && this._(o) : o._$litType$ !== void 0 ? this.g(o) : o.nodeType !== void 0 ? this.$(o) : ee(o) ? this.T(o) : this._(o);
1179
+ }
1180
+ k(o) {
1181
+ return this._$AA.parentNode.insertBefore(o, this._$AB);
1182
+ }
1183
+ $(o) {
1184
+ this._$AH !== o && (this._$AR(), this._$AH = this.k(o));
1185
+ }
1186
+ _(o) {
1187
+ this._$AH !== _ && $o(this._$AH) ? this._$AA.nextSibling.data = o : this.$(ao.createTextNode(o)), this._$AH = o;
1188
+ }
1189
+ g(o) {
1190
+ var e;
1191
+ const { values: t, _$litType$: a } = o, c = typeof a == "number" ? this._$AC(o) : (a.el === void 0 && (a.el = yo.createElement(ae(a.h, a.h[0]), this.options)), a);
1192
+ if (((e = this._$AH) === null || e === void 0 ? void 0 : e._$AD) === c)
1193
+ this._$AH.v(t);
1194
+ else {
1195
+ const i = new ie(c, this), l = i.u(this.options);
1196
+ i.v(t), this.$(l), this._$AH = i;
1197
+ }
1198
+ }
1199
+ _$AC(o) {
1200
+ let e = Tr.get(o.strings);
1201
+ return e === void 0 && Tr.set(o.strings, e = new yo(o)), e;
1202
+ }
1203
+ T(o) {
1204
+ re(this._$AH) || (this._$AH = [], this._$AR());
1205
+ const e = this._$AH;
1206
+ let t, a = 0;
1207
+ for (const c of o)
1208
+ a === e.length ? e.push(t = new le(this.k(No()), this.k(No()), this, this.options)) : t = e[a], t._$AI(c), a++;
1209
+ a < e.length && (this._$AR(t && t._$AB.nextSibling, a), e.length = a);
1210
+ }
1211
+ _$AR(o = this._$AA.nextSibling, e) {
1212
+ var t;
1213
+ for ((t = this._$AP) === null || t === void 0 || t.call(this, !1, !0, e); o && o !== this._$AB; ) {
1214
+ const a = o.nextSibling;
1215
+ o.remove(), o = a;
1216
+ }
1217
+ }
1218
+ setConnected(o) {
1219
+ var e;
1220
+ this._$AM === void 0 && (this._$Cp = o, (e = this._$AP) === null || e === void 0 || e.call(this, o));
1221
+ }
1222
+ };
1223
+ class Xo {
1224
+ constructor(o, e, t, a, c) {
1225
+ this.type = 1, this._$AH = _, 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 = _;
1226
+ }
1227
+ get tagName() {
1228
+ return this.element.tagName;
1229
+ }
1230
+ get _$AU() {
1231
+ return this._$AM._$AU;
1232
+ }
1233
+ _$AI(o, e = this, t, a) {
1234
+ const c = this.strings;
1235
+ let i = !1;
1236
+ if (c === void 0)
1237
+ o = co(this, o, e, 0), i = !$o(o) || o !== this._$AH && o !== V, i && (this._$AH = o);
1238
+ else {
1239
+ const l = o;
1240
+ let d, n;
1241
+ for (o = c[0], d = 0; d < c.length - 1; d++)
1242
+ n = co(this, l[t + d], e, d), n === V && (n = this._$AH[d]), i || (i = !$o(n) || n !== this._$AH[d]), n === _ ? o = _ : o !== _ && (o += (n ?? "") + c[d + 1]), this._$AH[d] = n;
1243
+ }
1244
+ i && !a && this.j(o);
1245
+ }
1246
+ j(o) {
1247
+ o === _ ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, o ?? "");
1248
+ }
1249
+ }
1250
+ let de = class extends Xo {
1251
+ constructor() {
1252
+ super(...arguments), this.type = 3;
1253
+ }
1254
+ j(o) {
1255
+ this.element[this.name] = o === _ ? void 0 : o;
1256
+ }
1257
+ };
1258
+ const Ve = uo ? uo.emptyScript : "";
1259
+ let ne = class extends Xo {
1260
+ constructor() {
1261
+ super(...arguments), this.type = 4;
1262
+ }
1263
+ j(o) {
1264
+ o && o !== _ ? this.element.setAttribute(this.name, Ve) : this.element.removeAttribute(this.name);
1265
+ }
1266
+ }, be = class extends Xo {
1267
+ constructor(o, e, t, a, c) {
1268
+ super(o, e, t, a, c), this.type = 5;
1269
+ }
1270
+ _$AI(o, e = this) {
1271
+ var t;
1272
+ if ((o = (t = co(this, o, e, 0)) !== null && t !== void 0 ? t : _) === V)
1273
+ return;
1274
+ const a = this._$AH, c = o === _ && a !== _ || o.capture !== a.capture || o.once !== a.once || o.passive !== a.passive, i = o !== _ && (a === _ || c);
1275
+ c && this.element.removeEventListener(this.name, this, a), i && this.element.addEventListener(this.name, this, o), this._$AH = o;
1276
+ }
1277
+ handleEvent(o) {
1278
+ var e, t;
1279
+ typeof this._$AH == "function" ? this._$AH.call((t = (e = this.options) === null || e === void 0 ? void 0 : e.host) !== null && t !== void 0 ? t : this.element, o) : this._$AH.handleEvent(o);
1280
+ }
1281
+ };
1282
+ class se {
1283
+ constructor(o, e, t) {
1284
+ this.element = o, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = t;
1285
+ }
1286
+ get _$AU() {
1287
+ return this._$AM._$AU;
1288
+ }
1289
+ _$AI(o) {
1290
+ co(this, o);
1291
+ }
1292
+ }
1293
+ const Ge = { O: Do, P: H, A: $r, C: 1, M: ce, L: ie, D: ee, R: co, I: yr, V: Xo, H: ne, N: be, U: de, F: se }, Br = Ro.litHtmlPolyfillSupport;
1294
+ Br == null || Br(yo, yr), ((rr = Ro.litHtmlVersions) !== null && rr !== void 0 ? rr : Ro.litHtmlVersions = []).push("2.7.5");
1599
1295
  /**
1600
1296
  * @license
1601
1297
  * Copyright 2017 Google LLC
1602
1298
  * SPDX-License-Identifier: BSD-3-Clause
1603
1299
  */
1604
- const Lr = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Mr = (r) => (...o) => ({ _$litDirective$: r, values: o });
1605
- let Tr = class {
1300
+ const zr = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, qr = (r) => (...o) => ({ _$litDirective$: r, values: o });
1301
+ let _r = class {
1606
1302
  constructor(o) {
1607
1303
  }
1608
1304
  get _$AU() {
@@ -1623,10 +1319,10 @@ let Tr = class {
1623
1319
  * Copyright 2018 Google LLC
1624
1320
  * SPDX-License-Identifier: BSD-3-Clause
1625
1321
  */
1626
- const Se = Mr(class extends Tr {
1322
+ const ge = qr(class extends _r {
1627
1323
  constructor(r) {
1628
1324
  var o;
1629
- if (super(r), r.type !== Lr.ATTRIBUTE || r.name !== "class" || ((o = r.strings) === null || o === void 0 ? void 0 : o.length) > 2)
1325
+ if (super(r), r.type !== zr.ATTRIBUTE || r.name !== "class" || ((o = r.strings) === null || o === void 0 ? void 0 : o.length) > 2)
1630
1326
  throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
1631
1327
  }
1632
1328
  render(r) {
@@ -1648,36 +1344,36 @@ const Se = Mr(class extends Tr {
1648
1344
  const i = !!o[c];
1649
1345
  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)));
1650
1346
  }
1651
- return U;
1347
+ return V;
1652
1348
  }
1653
- }), ft = (r) => r.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
1654
- function Zo(r) {
1349
+ }), Je = (r) => r.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
1350
+ function Yo(r) {
1655
1351
  return class extends r {
1656
1352
  static createProperty(o, e) {
1657
1353
  let t = e;
1658
1354
  (typeof (e == null ? void 0 : e.attribute) > "u" || (e == null ? void 0 : e.attribute) === !0) && (t = Object.assign({}, e, {
1659
- attribute: ft(o.toString())
1355
+ attribute: Je(o.toString())
1660
1356
  })), super.createProperty(o, t);
1661
1357
  }
1662
1358
  };
1663
1359
  }
1664
- function re(r) {
1360
+ function Rr(r) {
1665
1361
  const o = [];
1666
1362
  for (const [e, t] of Object.entries(r))
1667
1363
  t && o.push(e);
1668
1364
  return o.join(" ");
1669
1365
  }
1670
- function L(r) {
1366
+ function E(r) {
1671
1367
  const o = {};
1672
1368
  for (const [e, t] of Object.entries(r))
1673
1369
  for (const a of e.split(" "))
1674
1370
  o[a] = t;
1675
- return Se(o);
1371
+ return ge(o);
1676
1372
  }
1677
- function $t() {
1373
+ function Ke() {
1678
1374
  return `m${Math.random().toString(36).slice(2)}`;
1679
1375
  }
1680
- const ee = [
1376
+ const Dr = [
1681
1377
  "primary",
1682
1378
  "secondary",
1683
1379
  "negative",
@@ -1685,15 +1381,15 @@ const ee = [
1685
1381
  "pill",
1686
1382
  "link"
1687
1383
  ];
1688
- class To extends Zo(X) {
1384
+ class Lo extends Yo(Z) {
1689
1385
  constructor() {
1690
1386
  super(), this.variant = "secondary";
1691
1387
  }
1692
1388
  connectedCallback() {
1693
- if (super.connectedCallback(), !ee.includes(this.variant))
1389
+ if (super.connectedCallback(), !Dr.includes(this.variant))
1694
1390
  throw new Error(
1695
1391
  `Invalid "variant" attribute. Set its value to one of the following:
1696
- ${ee.join(
1392
+ ${Dr.join(
1697
1393
  ", "
1698
1394
  )}.`
1699
1395
  );
@@ -1703,7 +1399,7 @@ ${ee.join(
1703
1399
  }
1704
1400
  get _classes() {
1705
1401
  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";
1706
- return F(
1402
+ return W(
1707
1403
  {
1708
1404
  [k.secondary]: e && !this.small && !this.quiet && !this.loading,
1709
1405
  [k.secondarySmall]: e && this.small && !this.quiet && !this.loading,
@@ -1770,7 +1466,7 @@ ${ee.join(
1770
1466
  />` : null}`;
1771
1467
  }
1772
1468
  }
1773
- $(To, "shadowRootOptions", { ...X.shadowRootOptions, delegatesFocus: !0 }), $(To, "properties", {
1469
+ $(Lo, "shadowRootOptions", { ...Z.shadowRootOptions, delegatesFocus: !0 }), $(Lo, "properties", {
1774
1470
  type: { type: "button" | "submit" | "reset", reflect: !0 },
1775
1471
  autofocus: { type: Boolean, reflect: !0 },
1776
1472
  variant: { type: String, reflect: !0 },
@@ -1782,7 +1478,7 @@ $(To, "shadowRootOptions", { ...X.shadowRootOptions, delegatesFocus: !0 }), $(To
1782
1478
  rel: { type: String, reflect: !0 },
1783
1479
  fullWidth: { type: Boolean, reflect: !0 },
1784
1480
  buttonClass: { type: String, reflect: !0 }
1785
- }), $(To, "styles", A`
1481
+ }), $(Lo, "styles", S`
1786
1482
  /* layer: preflights */
1787
1483
  *,::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;}
1788
1484
  *,: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}
@@ -2432,37 +2128,37 @@ $(To, "shadowRootOptions", { ...X.shadowRootOptions, delegatesFocus: !0 }), $(To
2432
2128
  .sm\\:pt-32{padding-top:3.2rem;}
2433
2129
  }
2434
2130
  `);
2435
- customElements.get("w-button") || customElements.define("w-button", To);
2131
+ customElements.get("w-button") || customElements.define("w-button", Lo);
2436
2132
  /**
2437
2133
  * @license
2438
2134
  * Copyright 2018 Google LLC
2439
2135
  * SPDX-License-Identifier: BSD-3-Clause
2440
2136
  */
2441
- const _ = (r) => r ?? q, te = {
2137
+ const q = (r) => r ?? _, Nr = {
2442
2138
  ENTER: "Enter",
2443
2139
  SPACE: " "
2444
2140
  };
2445
- class pr extends X {
2141
+ class ir extends Z {
2446
2142
  constructor() {
2447
2143
  super(), this.selected = !1, this.flat = !1, this.clickable = !1;
2448
2144
  }
2449
2145
  get _outerClasses() {
2450
- return L({
2451
- [B.card]: !0,
2452
- [B.cardShadow]: !this.flat,
2453
- [B.cardSelected]: this.selected,
2454
- [B.cardFlat]: this.flat,
2455
- [this.selected ? B.cardFlatSelected : B.cardFlatUnselected]: this.flat
2146
+ return E({
2147
+ [D.card]: !0,
2148
+ [D.cardShadow]: !this.flat,
2149
+ [D.cardSelected]: this.selected,
2150
+ [D.cardFlat]: this.flat,
2151
+ [this.selected ? D.cardFlatSelected : D.cardFlatUnselected]: this.flat
2456
2152
  });
2457
2153
  }
2458
2154
  get _innerClasses() {
2459
- return L({
2460
- [B.cardOutline]: !0,
2461
- [this.selected ? B.cardOutlineSelected : B.cardOutlineUnselected]: !0
2155
+ return E({
2156
+ [D.cardOutline]: !0,
2157
+ [this.selected ? D.cardOutlineSelected : D.cardOutlineUnselected]: !0
2462
2158
  });
2463
2159
  }
2464
2160
  get uuButton() {
2465
- return v`<button class="${B.a11y}" aria-pressed="${this.selected}" tabindex="-1">
2161
+ return v`<button class="${D.a11y}" aria-pressed="${this.selected}" tabindex="-1">
2466
2162
  Velg
2467
2163
  </button>`;
2468
2164
  }
@@ -2470,12 +2166,12 @@ class pr extends X {
2470
2166
  return v`<span role="checkbox" aria-checked="true" aria-disabled="true"></span>`;
2471
2167
  }
2472
2168
  keypressed(o) {
2473
- !this.clickable || o.altKey || o.ctrlKey || (o.key === te.ENTER || o.key === te.SPACE) && (o.preventDefault(), this.click());
2169
+ !this.clickable || o.altKey || o.ctrlKey || (o.key === Nr.ENTER || o.key === Nr.SPACE) && (o.preventDefault(), this.click());
2474
2170
  }
2475
2171
  render() {
2476
2172
  return v`
2477
2173
  <div
2478
- tabindex=${_(this.clickable ? "0" : void 0)}
2174
+ tabindex=${q(this.clickable ? "0" : void 0)}
2479
2175
  class="${this._outerClasses}"
2480
2176
  @keydown=${this.keypressed}
2481
2177
  >
@@ -2487,8 +2183,8 @@ class pr extends X {
2487
2183
  `;
2488
2184
  }
2489
2185
  }
2490
- $(pr, "styles", [
2491
- A`
2186
+ $(ir, "styles", [
2187
+ S`
2492
2188
  /* layer: preflights */
2493
2189
  *,::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;}
2494
2190
  *,: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}
@@ -3149,18 +2845,18 @@ $(pr, "styles", [
3149
2845
  display: block;
3150
2846
  }
3151
2847
  `
3152
- ]), $(pr, "properties", {
2848
+ ]), $(ir, "properties", {
3153
2849
  selected: { type: Boolean, reflect: !0 },
3154
2850
  flat: { type: Boolean },
3155
2851
  clickable: { type: Boolean }
3156
2852
  });
3157
- customElements.get("w-card") || customElements.define("w-card", pr);
2853
+ customElements.get("w-card") || customElements.define("w-card", ir);
3158
2854
  /**
3159
2855
  * @license
3160
2856
  * Copyright 2021 Google LLC
3161
2857
  * SPDX-License-Identifier: BSD-3-Clause
3162
2858
  */
3163
- function Ro(r, o, e) {
2859
+ function Eo(r, o, e) {
3164
2860
  return r ? o() : e == null ? void 0 : e();
3165
2861
  }
3166
2862
  /**
@@ -3168,15 +2864,15 @@ function Ro(r, o, e) {
3168
2864
  * Copyright 2017 Google LLC
3169
2865
  * SPDX-License-Identifier: BSD-3-Clause
3170
2866
  */
3171
- let wr = class extends Tr {
2867
+ let lr = class extends _r {
3172
2868
  constructor(o) {
3173
- if (super(o), this.et = q, o.type !== Lr.CHILD)
2869
+ if (super(o), this.et = _, o.type !== zr.CHILD)
3174
2870
  throw Error(this.constructor.directiveName + "() can only be used in child bindings");
3175
2871
  }
3176
2872
  render(o) {
3177
- if (o === q || o == null)
2873
+ if (o === _ || o == null)
3178
2874
  return this.ft = void 0, this.et = o;
3179
- if (o === U)
2875
+ if (o === V)
3180
2876
  return o;
3181
2877
  if (typeof o != "string")
3182
2878
  throw Error(this.constructor.directiveName + "() called with a non-string value");
@@ -3187,44 +2883,44 @@ let wr = class extends Tr {
3187
2883
  return e.raw = e, this.ft = { _$litType$: this.constructor.resultType, strings: e, values: [] };
3188
2884
  }
3189
2885
  };
3190
- wr.directiveName = "unsafeHTML", wr.resultType = 1;
3191
- const Ae = Mr(wr);
3192
- var Wo, Ce, Go, Ee, Jo, Le, Ko, Me, go, Po, uo, Bo;
3193
- class xr extends Zo(X) {
2886
+ lr.directiveName = "unsafeHTML", lr.resultType = 1;
2887
+ const ue = qr(lr);
2888
+ var Fo, ve, Wo, he, Uo, pe, Vo, we, so, Mo, go, To;
2889
+ class dr extends Yo(Z) {
3194
2890
  constructor() {
3195
2891
  super();
2892
+ J(this, Fo);
3196
2893
  J(this, Wo);
3197
- J(this, Go);
3198
- J(this, Jo);
3199
- J(this, Ko);
2894
+ J(this, Uo);
2895
+ J(this, Vo);
2896
+ J(this, so);
3200
2897
  J(this, go);
3201
- J(this, uo);
3202
2898
  this._options = this.innerHTML;
3203
2899
  }
3204
2900
  render() {
3205
2901
  return v`<div class="${no.wrapper}">
3206
- ${Ro(
2902
+ ${Eo(
3207
2903
  this.label,
3208
- () => v`<label class="${T(this, Go, Ee)}" for="${T(this, go, Po)}">
2904
+ () => v`<label class="${T(this, Wo, he)}" for="${T(this, so, Mo)}">
3209
2905
  ${this.label}
3210
- ${Ro(
2906
+ ${Eo(
3211
2907
  this.optional,
3212
- () => v`<span class="${fo.optional}">(valgfritt)</span>`
2908
+ () => v`<span class="${ko.optional}">(valgfritt)</span>`
3213
2909
  )}</label
3214
2910
  >`
3215
2911
  )}
3216
2912
  <div class="${no.selectWrapper}">
3217
2913
  <select
3218
- class="${T(this, Wo, Ce)}"
3219
- id="${T(this, go, Po)}"
2914
+ class="${T(this, Fo, ve)}"
2915
+ id="${T(this, so, Mo)}"
3220
2916
  ?autofocus=${this.autoFocus}
3221
- aria-describedby="${_(T(this, uo, Bo))}"
3222
- aria-invalid="${_(this.invalid)}"
3223
- aria-errormessage="${_(this.invalid && T(this, uo, Bo))}"
2917
+ aria-describedby="${q(T(this, go, To))}"
2918
+ aria-invalid="${q(this.invalid)}"
2919
+ aria-errormessage="${q(this.invalid && T(this, go, To))}"
3224
2920
  >
3225
- ${Ae(this._options)}
2921
+ ${ue(this._options)}
3226
2922
  </select>
3227
- <div class="${T(this, Ko, Me)}">
2923
+ <div class="${T(this, Vo, we)}">
3228
2924
  <svg
3229
2925
  xmlns="http://www.w3.org/2000/svg"
3230
2926
  width="16"
@@ -3242,38 +2938,38 @@ class xr extends Zo(X) {
3242
2938
  </svg>
3243
2939
  </div>
3244
2940
  </div>
3245
- ${Ro(
2941
+ ${Eo(
3246
2942
  this.always || this.invalid,
3247
- () => v`<div id="${T(this, uo, Bo)}" class="${T(this, Jo, Le)}">${this.hint}</div>`
2943
+ () => v`<div id="${T(this, go, To)}" class="${T(this, Uo, pe)}">${this.hint}</div>`
3248
2944
  )}
3249
2945
  </div>`;
3250
2946
  }
3251
2947
  }
3252
- Wo = new WeakSet(), Ce = function() {
3253
- return F({
2948
+ Fo = new WeakSet(), ve = function() {
2949
+ return W({
3254
2950
  [no.default]: !0,
3255
2951
  [no.invalid]: this.invalid
3256
2952
  });
3257
- }, Go = new WeakSet(), Ee = function() {
3258
- return F({
3259
- [fo.label]: !0,
3260
- [fo.labelInvalid]: this.invalid
2953
+ }, Wo = new WeakSet(), he = function() {
2954
+ return W({
2955
+ [ko.label]: !0,
2956
+ [ko.labelInvalid]: this.invalid
3261
2957
  });
3262
- }, Jo = new WeakSet(), Le = function() {
3263
- return F({
3264
- [Io.helpText]: !0,
3265
- [Io.helpTextInvalid]: this.invalid
2958
+ }, Uo = new WeakSet(), pe = function() {
2959
+ return W({
2960
+ [Bo.helpText]: !0,
2961
+ [Bo.helpTextInvalid]: this.invalid
3266
2962
  });
3267
- }, Ko = new WeakSet(), Me = function() {
3268
- return F({
2963
+ }, Vo = new WeakSet(), we = function() {
2964
+ return W({
3269
2965
  [no.chevron]: !0,
3270
2966
  [no.chevronDisabled]: this.disabled
3271
2967
  });
3272
- }, go = new WeakSet(), Po = function() {
2968
+ }, so = new WeakSet(), Mo = function() {
3273
2969
  return "select_id";
3274
- }, uo = new WeakSet(), Bo = function() {
3275
- return this.hint ? `${T(this, go, Po)}__hint` : void 0;
3276
- }, $(xr, "properties", {
2970
+ }, go = new WeakSet(), To = function() {
2971
+ return this.hint ? `${T(this, so, Mo)}__hint` : void 0;
2972
+ }, $(dr, "properties", {
3277
2973
  // Whether the element should receive focus on render
3278
2974
  autoFocus: { type: Boolean, reflect: !0 },
3279
2975
  // Renders the field in an invalid state. Often paired with `hint` to provide feedback about the error
@@ -3287,7 +2983,7 @@ Wo = new WeakSet(), Ce = function() {
3287
2983
  // Whether to show optional text
3288
2984
  optional: { type: Boolean, reflect: !0 },
3289
2985
  _options: { state: !0 }
3290
- }), $(xr, "styles", A`
2986
+ }), $(dr, "styles", S`
3291
2987
  /* layer: preflights */
3292
2988
  *,::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;}
3293
2989
  *,: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}
@@ -3937,15 +3633,15 @@ Wo = new WeakSet(), Ce = function() {
3937
3633
  .sm\\:pt-32{padding-top:3.2rem;}
3938
3634
  }
3939
3635
  `);
3940
- customElements.get("w-select") || customElements.define("w-select", xr);
3941
- class mr extends X {
3636
+ customElements.get("w-select") || customElements.define("w-select", dr);
3637
+ class nr extends Z {
3942
3638
  get _class() {
3943
- return L({
3944
- [I.box]: !0,
3945
- [I.bleed]: this.bleed,
3946
- [I.info]: this.info,
3947
- [I.neutral]: this.neutral,
3948
- [I.bordered]: this.bordered
3639
+ return E({
3640
+ [P.box]: !0,
3641
+ [P.bleed]: this.bleed,
3642
+ [P.info]: this.info,
3643
+ [P.neutral]: this.neutral,
3644
+ [P.bordered]: this.bordered
3949
3645
  });
3950
3646
  }
3951
3647
  render() {
@@ -3956,7 +3652,7 @@ class mr extends X {
3956
3652
  `;
3957
3653
  }
3958
3654
  }
3959
- $(mr, "properties", {
3655
+ $(nr, "properties", {
3960
3656
  bleed: { type: Boolean },
3961
3657
  bordered: { type: Boolean },
3962
3658
  info: { type: Boolean },
@@ -3965,7 +3661,7 @@ $(mr, "properties", {
3965
3661
  // ::slotted([Simple Selector]) confirms to Specificity rules, but (being simple) does not add weight to lightDOM skin selectors,
3966
3662
  // so never gets higher Specificity. Thus in order to overwrite style linked within shadowDOM, we need to use !important.
3967
3663
  // https://stackoverflow.com/a/61631668
3968
- $(mr, "styles", A`
3664
+ $(nr, "styles", S`
3969
3665
  /* layer: preflights */
3970
3666
  *,::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;}
3971
3667
  *,: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}
@@ -4621,12 +4317,12 @@ $(mr, "styles", A`
4621
4317
  margin-bottom: 0 !important;
4622
4318
  }
4623
4319
  `);
4624
- customElements.get("w-box") || customElements.define("w-box", mr);
4625
- function yt(r, o) {
4320
+ customElements.get("w-box") || customElements.define("w-box", nr);
4321
+ function ot(r, o) {
4626
4322
  return r.flatMap((e) => [e, o]).slice(0, -1);
4627
4323
  }
4628
- const zt = v`<span class=${so.separator} aria-hidden='true'>/</span>`;
4629
- class kr extends Zo(X) {
4324
+ const rt = v`<span class=${bo.separator} aria-hidden='true'>/</span>`;
4325
+ class br extends Yo(Z) {
4630
4326
  constructor() {
4631
4327
  super(), this.ariaLabel = "Her er du";
4632
4328
  }
@@ -4635,24 +4331,24 @@ class kr extends Zo(X) {
4635
4331
  const e = Array.from(this.children).flat(1 / 0).filter((t) => t).map((t, a) => {
4636
4332
  if (typeof t == "string") {
4637
4333
  const c = a === children.length - 1;
4638
- return v`<span class=${so.text} aria-current=${c ? "page" : void 0}>${t}</span>`;
4334
+ return v`<span class=${bo.text} aria-current=${c ? "page" : void 0}>${t}</span>`;
4639
4335
  }
4640
- return t.classList.add(t.tagName === "A" ? so.link : so.text), t;
4336
+ return t.classList.add(t.tagName === "A" ? bo.link : bo.text), t;
4641
4337
  });
4642
- this._children = yt(e, zt);
4338
+ this._children = ot(e, rt);
4643
4339
  }
4644
4340
  render() {
4645
4341
  return v`
4646
4342
  <nav aria-label=${this.ariaLabel}>
4647
- <h2 class=${so.a11y}>${this.ariaLabel}</h2>
4648
- <div class=${so.wrapper}>
4343
+ <h2 class=${bo.a11y}>${this.ariaLabel}</h2>
4344
+ <div class=${bo.wrapper}>
4649
4345
  ${this._children}
4650
4346
  </div>
4651
4347
  </nav>
4652
4348
  `;
4653
4349
  }
4654
4350
  }
4655
- $(kr, "styles", A`
4351
+ $(br, "styles", S`
4656
4352
  /* layer: preflights */
4657
4353
  *,::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;}
4658
4354
  *,: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}
@@ -5301,52 +4997,52 @@ $(kr, "styles", A`
5301
4997
  .sm\\:pb-32{padding-bottom:3.2rem;}
5302
4998
  .sm\\:pt-32{padding-top:3.2rem;}
5303
4999
  }
5304
- `), $(kr, "properties", {
5000
+ `), $(br, "properties", {
5305
5001
  ariaLabel: { type: String }
5306
5002
  });
5307
- customElements.get("w-breadcrumbs") || customElements.define("w-breadcrumbs", kr);
5308
- const Rr = typeof window < "u";
5309
- let Te = !0;
5310
- if (Rr) {
5311
- const r = window.matchMedia("(prefers-reduced-motion: reduce)"), o = ({ matches: e }) => Te = !e;
5003
+ customElements.get("w-breadcrumbs") || customElements.define("w-breadcrumbs", br);
5004
+ const Xr = typeof window < "u";
5005
+ let xe = !0;
5006
+ if (Xr) {
5007
+ const r = window.matchMedia("(prefers-reduced-motion: reduce)"), o = ({ matches: e }) => xe = !e;
5312
5008
  r.addEventListener && r.addEventListener("change", o), o(r);
5313
5009
  }
5314
- const Re = (r) => {
5010
+ const me = (r) => {
5315
5011
  r.style.transition = null, r.style.backfaceVisibility = null, r.style.overflow = null;
5316
- }, Pe = (r) => {
5317
- const o = Te ? "var(--f-expansion-duration, 0.3s)" : "0.01s";
5012
+ }, ke = (r) => {
5013
+ const o = xe ? "var(--f-expansion-duration, 0.3s)" : "0.01s";
5318
5014
  r.style.transition = `height ${o}`, r.style.backfaceVisibility = "hidden", r.style.overflow = "hidden";
5319
- }, _t = (r, o) => () => {
5015
+ }, et = (r, o) => () => {
5320
5016
  r.style.height = "auto", r.style.overflow = null, o && o();
5321
- }, qt = (r) => () => {
5017
+ }, tt = (r) => () => {
5322
5018
  r && r();
5323
- }, Be = (r, o) => {
5019
+ }, fe = (r, o) => {
5324
5020
  const e = (() => {
5325
5021
  if (!o)
5326
5022
  return new Promise((c) => {
5327
5023
  o = c;
5328
5024
  });
5329
- })(), t = _t(r, o);
5330
- Re(r), r.style.height = "auto";
5025
+ })(), t = et(r, o);
5026
+ me(r), r.style.height = "auto";
5331
5027
  let a = r.scrollHeight;
5332
- if (Rr && requestAnimationFrame(() => {
5333
- r.addEventListener("transitionend", t, { once: !0 }), r.style.height = "0px", r.style.transitionTimingFunction = "ease-out", Pe(r), requestAnimationFrame(() => r.style.height = a + "px");
5028
+ if (Xr && requestAnimationFrame(() => {
5029
+ r.addEventListener("transitionend", t, { once: !0 }), r.style.height = "0px", r.style.transitionTimingFunction = "ease-out", ke(r), requestAnimationFrame(() => r.style.height = a + "px");
5334
5030
  }), e)
5335
5031
  return e;
5336
- }, De = (r, o) => {
5032
+ }, $e = (r, o) => {
5337
5033
  const e = (() => {
5338
5034
  if (!o)
5339
5035
  return new Promise((c) => {
5340
5036
  o = c;
5341
5037
  });
5342
- })(), t = qt(o);
5343
- Re(r);
5038
+ })(), t = tt(o);
5039
+ me(r);
5344
5040
  let a = r.scrollHeight;
5345
- if (Rr && requestAnimationFrame(() => {
5346
- r.addEventListener("transitionend", t, { once: !0 }), r.style.height = a + "px", r.style.transitionTimingFunction = "ease-in", Pe(r), requestAnimationFrame(() => r.style.height = "0px");
5041
+ if (Xr && requestAnimationFrame(() => {
5042
+ r.addEventListener("transitionend", t, { once: !0 }), r.style.height = a + "px", r.style.transitionTimingFunction = "ease-in", ke(r), requestAnimationFrame(() => r.style.height = "0px");
5347
5043
  }), e)
5348
5044
  return e;
5349
- }, Xt = () => v`
5045
+ }, at = () => v`
5350
5046
  <svg
5351
5047
  role="img"
5352
5048
  aria-label="Lukk"
@@ -5356,9 +5052,9 @@ const Re = (r) => {
5356
5052
  fill="none"
5357
5053
  viewBox="0 0 16 16"
5358
5054
  >
5359
- ${St}
5055
+ ${dt}
5360
5056
  </svg>
5361
- `, Yt = (r) => v`<svg
5057
+ `, ct = (r) => v`<svg
5362
5058
  aria-label="${r.typeLabel}"
5363
5059
  role="img"
5364
5060
  xmlns="http://www.w3.org/2000/svg"
@@ -5366,8 +5062,8 @@ const Re = (r) => {
5366
5062
  height="16"
5367
5063
  fill="none"
5368
5064
  >
5369
- ${At}
5370
- </svg>`, jt = (r) => v`<svg
5065
+ ${nt}
5066
+ </svg>`, it = (r) => v`<svg
5371
5067
  aria-label="${r.typeLabel}"
5372
5068
  role="img"
5373
5069
  width="16"
@@ -5375,8 +5071,8 @@ const Re = (r) => {
5375
5071
  fill="none"
5376
5072
  xmlns="http://www.w3.org/2000/svg"
5377
5073
  >
5378
- ${Ct}
5379
- </svg> `, Zt = (r) => v`<svg
5074
+ ${bt}
5075
+ </svg> `, lt = (r) => v`<svg
5380
5076
  aria-label="${r.typeLabel}"
5381
5077
  role="img"
5382
5078
  width="16"
@@ -5384,14 +5080,14 @@ const Re = (r) => {
5384
5080
  fill="none"
5385
5081
  xmlns="http://www.w3.org/2000/svg"
5386
5082
  >
5387
- ${Et}
5388
- </svg> `, St = G`
5083
+ ${st}
5084
+ </svg> `, dt = G`
5389
5085
  <path
5390
5086
  fill="currentColor"
5391
5087
  fill-rule="evenodd"
5392
5088
  d="M4.03 2.97a.75.75 0 00-1.06 1.06L6.94 8l-3.97 3.97a.75.75 0 101.06 1.06L8 9.06l3.97 3.97a.75.75 0 101.06-1.06L9.06 8l3.97-3.97a.75.75 0 00-1.06-1.06L8 6.94 4.03 2.97z"
5393
5089
  clipRule="evenodd"
5394
- />`, At = G`
5090
+ />`, nt = G`
5395
5091
  <path
5396
5092
  d="M4.1.586A2 2 0 0 1 5.516 0h4.97A2 2 0 0 1 11.9.586L15.413 4.1A2 2 0 0 1 16 5.514v4.97a2 2 0 0 1-.586 1.415L11.9 15.413a2 2 0 0 1-1.415.586h-4.97a2 2 0 0 1-1.414-.586L.586 11.9A2 2 0 0 1 0 10.485v-4.97A2 2 0 0 1 .586 4.1L4.1.586Z"
5397
5093
  fill="currentColor"
@@ -5402,13 +5098,13 @@ const Re = (r) => {
5402
5098
  d="M8 3.25a.75.75 0 0 1 .75.75v5a.75.75 0 0 1-1.5 0V4A.75.75 0 0 1 8 3.25Z"
5403
5099
  fill="#fff"
5404
5100
  />
5405
- <path d="M8.8 11.8a.8.8 0 1 1-1.6 0 .8.8 0 0 1 1.6 0Z" fill="#fff" />`, Ct = G`<circle cx="8" cy="8" r="8" transform="rotate(180 8 8)" fill="currentColor" />
5101
+ <path d="M8.8 11.8a.8.8 0 1 1-1.6 0 .8.8 0 0 1 1.6 0Z" fill="#fff" />`, bt = G`<circle cx="8" cy="8" r="8" transform="rotate(180 8 8)" fill="currentColor" />
5406
5102
  <path
5407
5103
  fill-rule="evenodd"
5408
5104
  clip-rule="evenodd"
5409
5105
  d="M11.5 4.94c.3.27.34.75.06 1.06l-4 4.5a.75.75 0 0 1-1.09.03l-2-2a.75.75 0 0 1 1.06-1.06l1.44 1.44L10.44 5a.75.75 0 0 1 1.06-.07Z"
5410
5106
  fill="#fff"
5411
- />`, Et = G`
5107
+ />`, st = G`
5412
5108
  <path
5413
5109
  d="M.24 12 6.16 1.09a2.1 2.1 0 0 1 3.68 0l5.92 10.93c.73 1.36-.28 2.99-1.85 2.99H2.1a2.04 2.04 0 0 1-1.85-3Z"
5414
5110
  fill="currentColor"
@@ -5419,18 +5115,18 @@ const Re = (r) => {
5419
5115
  d="M8 3.25c.41 0 .75.34.75.75v5a.75.75 0 0 1-1.5 0V4c0-.41.34-.75.75-.75Z"
5420
5116
  fill="#fff"
5421
5117
  />
5422
- <path d="M8.8 11.8a.8.8 0 1 1-1.6 0 .8.8 0 0 1 1.6 0Z" fill="#fff" />`, ae = (r) => {
5118
+ <path d="M8.8 11.8a.8.8 0 1 1-1.6 0 .8.8 0 0 1 1.6 0Z" fill="#fff" />`, Ir = (r) => {
5423
5119
  const o = {};
5424
5120
  for (const [e, t] of Object.entries(r))
5425
5121
  for (const a of e.split(" "))
5426
5122
  o[a] = t;
5427
- return Se(o);
5428
- }, P = {
5123
+ return ge(o);
5124
+ }, R = {
5429
5125
  success: "success",
5430
5126
  error: "error",
5431
5127
  warning: "warning"
5432
5128
  };
5433
- class fr extends X {
5129
+ class sr extends Z {
5434
5130
  constructor() {
5435
5131
  super(), this.id = Date.now().toString(36) + Math.random().toString(36).slice(2, 5), this.type = "success", this.text = "", this.canclose = !1;
5436
5132
  }
@@ -5441,22 +5137,22 @@ class fr extends X {
5441
5137
  super.disconnectedCallback();
5442
5138
  }
5443
5139
  updated() {
5444
- !this._expanded && this._wrapper && Be(this._wrapper, () => this._expanded = !0);
5140
+ !this._expanded && this._wrapper && fe(this._wrapper, () => this._expanded = !0);
5445
5141
  }
5446
5142
  get _primaryClasses() {
5447
- return ae({
5448
- [R.toast]: !0,
5449
- [R.positive]: this.type === P.success,
5450
- [R.warning]: this.type === P.warning,
5451
- [R.negative]: this.type === P.error
5143
+ return Ir({
5144
+ [B.toast]: !0,
5145
+ [B.positive]: this.type === R.success,
5146
+ [B.warning]: this.type === R.warning,
5147
+ [B.negative]: this.type === R.error
5452
5148
  });
5453
5149
  }
5454
5150
  get _iconClasses() {
5455
- return ae({
5456
- [R.icon]: !0,
5457
- [R.iconPositive]: this.type == P.success,
5458
- [R.iconWarning]: this.type === P.warning,
5459
- [R.iconNegative]: this.type === P.error
5151
+ return Ir({
5152
+ [B.icon]: !0,
5153
+ [B.iconPositive]: this.type == R.success,
5154
+ [B.iconWarning]: this.type === R.warning,
5155
+ [B.iconNegative]: this.type === R.error
5460
5156
  });
5461
5157
  }
5462
5158
  get _wrapper() {
@@ -5464,13 +5160,13 @@ class fr extends X {
5464
5160
  return ((o = this.renderRoot) == null ? void 0 : o.querySelector("section")) ?? null;
5465
5161
  }
5466
5162
  get _success() {
5467
- return this.type === P.success;
5163
+ return this.type === R.success;
5468
5164
  }
5469
5165
  get _warning() {
5470
- return this.type === P.warning;
5166
+ return this.type === R.warning;
5471
5167
  }
5472
5168
  get _error() {
5473
- return this.type === P.error;
5169
+ return this.type === R.error;
5474
5170
  }
5475
5171
  get _role() {
5476
5172
  return this._error || this._warning ? "alert" : "status";
@@ -5479,11 +5175,11 @@ class fr extends X {
5479
5175
  return this._success ? "Vellykket" : this._error ? "Feil" : this._warning ? "Varsel" : "Info";
5480
5176
  }
5481
5177
  get _iconMarkup() {
5482
- return this.type === P.success ? jt({ typeLabel: this._typeLabel }) : this.type === P.warning ? Zt({ typeLabel: this._typeLabel }) : Yt({ typeLabel: this._typeLabel, isInfo: this._info });
5178
+ return this.type === R.success ? it({ typeLabel: this._typeLabel }) : this.type === R.warning ? lt({ typeLabel: this._typeLabel }) : ct({ typeLabel: this._typeLabel, isInfo: this._info });
5483
5179
  }
5484
5180
  async collapse() {
5485
5181
  return new Promise((o) => {
5486
- this._expanded && this._wrapper ? De(this._wrapper, o) : o();
5182
+ this._expanded && this._wrapper ? $e(this._wrapper, o) : o();
5487
5183
  });
5488
5184
  }
5489
5185
  close() {
@@ -5495,22 +5191,22 @@ class fr extends X {
5495
5191
  this.updateComplete.then(() => this.dispatchEvent(o));
5496
5192
  }
5497
5193
  render() {
5498
- return this.text ? v` <section class="${R.wrapper}" aria-label="${this._typeLabel}">
5194
+ return this.text ? v` <section class="${B.wrapper}" aria-label="${this._typeLabel}">
5499
5195
  <div class="${this._primaryClasses}">
5500
5196
  <div class="${this._iconClasses}">${this._iconMarkup}</div>
5501
- <div role="${this._role}" class="${R.content}">
5197
+ <div role="${this._role}" class="${B.content}">
5502
5198
  <p>${this.text}</p>
5503
5199
  </div>
5504
- ${Ro(
5200
+ ${Eo(
5505
5201
  this.canclose === !0,
5506
- () => v`<button class="${R.close}" @click="${this.close}">${Xt()}</button>`
5202
+ () => v`<button class="${B.close}" @click="${this.close}">${at()}</button>`
5507
5203
  )}
5508
5204
  </div>
5509
5205
  </section>` : v``;
5510
5206
  }
5511
5207
  }
5512
- $(fr, "styles", [
5513
- A`
5208
+ $(sr, "styles", [
5209
+ S`
5514
5210
  /* layer: preflights */
5515
5211
  *,::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;}
5516
5212
  *,: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}
@@ -6163,24 +5859,24 @@ $(fr, "styles", [
6163
5859
  display: block;
6164
5860
  }
6165
5861
  `
6166
- ]), $(fr, "properties", {
5862
+ ]), $(sr, "properties", {
6167
5863
  id: { type: String, attribute: !0, reflect: !0 },
6168
5864
  type: { type: String, attribute: !0, reflect: !0 },
6169
5865
  text: { type: String, attribute: !0, reflect: !0 },
6170
5866
  canclose: { type: Boolean, attribute: !0, reflect: !0 }
6171
5867
  });
6172
- customElements.get("w-toast") || customElements.define("w-toast", fr);
5868
+ customElements.get("w-toast") || customElements.define("w-toast", sr);
6173
5869
  /**
6174
5870
  * @license
6175
5871
  * Copyright 2020 Google LLC
6176
5872
  * SPDX-License-Identifier: BSD-3-Clause
6177
5873
  */
6178
- const { I: Lt } = dt, ce = () => document.createComment(""), ko = (r, o, e) => {
5874
+ const { I: gt } = Ge, Pr = () => document.createComment(""), mo = (r, o, e) => {
6179
5875
  var t;
6180
5876
  const a = r._$AA.parentNode, c = o === void 0 ? r._$AB : o._$AA;
6181
5877
  if (e === void 0) {
6182
- const i = a.insertBefore(ce(), c), l = a.insertBefore(ce(), c);
6183
- e = new Lt(i, l, r, r.options);
5878
+ const i = a.insertBefore(Pr(), c), l = a.insertBefore(Pr(), c);
5879
+ e = new gt(i, l, r, r.options);
6184
5880
  } else {
6185
5881
  const i = e._$AB.nextSibling, l = e._$AM, d = l !== r;
6186
5882
  if (d) {
@@ -6196,7 +5892,7 @@ const { I: Lt } = dt, ce = () => document.createComment(""), ko = (r, o, e) => {
6196
5892
  }
6197
5893
  }
6198
5894
  return e;
6199
- }, ro = (r, o, e = r) => (r._$AI(o, e), r), Mt = {}, Tt = (r, o = Mt) => r._$AH = o, Rt = (r) => r._$AH, sr = (r) => {
5895
+ }, ro = (r, o, e = r) => (r._$AI(o, e), r), ut = {}, vt = (r, o = ut) => r._$AH = o, ht = (r) => r._$AH, tr = (r) => {
6200
5896
  var o;
6201
5897
  (o = r._$AP) === null || o === void 0 || o.call(r, !1, !0);
6202
5898
  let e = r._$AA;
@@ -6211,14 +5907,14 @@ const { I: Lt } = dt, ce = () => document.createComment(""), ko = (r, o, e) => {
6211
5907
  * Copyright 2017 Google LLC
6212
5908
  * SPDX-License-Identifier: BSD-3-Clause
6213
5909
  */
6214
- const ie = (r, o, e) => {
5910
+ const Hr = (r, o, e) => {
6215
5911
  const t = /* @__PURE__ */ new Map();
6216
5912
  for (let a = o; a <= e; a++)
6217
5913
  t.set(r[a], a);
6218
5914
  return t;
6219
- }, Ne = Mr(class extends Tr {
5915
+ }, ye = qr(class extends _r {
6220
5916
  constructor(r) {
6221
- if (super(r), r.type !== Lr.CHILD)
5917
+ if (super(r), r.type !== zr.CHILD)
6222
5918
  throw Error("repeat() can only be used in text expressions");
6223
5919
  }
6224
5920
  dt(r, o, e) {
@@ -6235,7 +5931,7 @@ const ie = (r, o, e) => {
6235
5931
  }
6236
5932
  update(r, [o, e, t]) {
6237
5933
  var a;
6238
- const c = Rt(r), { values: i, keys: l } = this.dt(o, e, t);
5934
+ const c = ht(r), { values: i, keys: l } = this.dt(o, e, t);
6239
5935
  if (!Array.isArray(c))
6240
5936
  return this.ht = l, i;
6241
5937
  const d = (a = this.ht) !== null && a !== void 0 ? a : this.ht = [], n = [];
@@ -6250,34 +5946,34 @@ const ie = (r, o, e) => {
6250
5946
  else if (d[w] === l[m])
6251
5947
  n[m] = ro(c[w], i[m]), w--, m--;
6252
5948
  else if (d[g] === l[m])
6253
- n[m] = ro(c[g], i[m]), ko(r, n[m + 1], c[g]), g++, m--;
5949
+ n[m] = ro(c[g], i[m]), mo(r, n[m + 1], c[g]), g++, m--;
6254
5950
  else if (d[w] === l[x])
6255
- n[x] = ro(c[w], i[x]), ko(r, c[g], c[w]), w--, x++;
6256
- else if (s === void 0 && (s = ie(l, x, m), b = ie(d, g, w)), s.has(d[g]))
5951
+ n[x] = ro(c[w], i[x]), mo(r, c[g], c[w]), w--, x++;
5952
+ else if (s === void 0 && (s = Hr(l, x, m), b = Hr(d, g, w)), s.has(d[g]))
6257
5953
  if (s.has(d[w])) {
6258
- const y = b.get(l[x]), Y = y !== void 0 ? c[y] : null;
6259
- if (Y === null) {
6260
- const j = ko(r, c[g]);
6261
- ro(j, i[x]), n[x] = j;
5954
+ const y = b.get(l[x]), X = y !== void 0 ? c[y] : null;
5955
+ if (X === null) {
5956
+ const Y = mo(r, c[g]);
5957
+ ro(Y, i[x]), n[x] = Y;
6262
5958
  } else
6263
- n[x] = ro(Y, i[x]), ko(r, c[g], Y), c[y] = null;
5959
+ n[x] = ro(X, i[x]), mo(r, c[g], X), c[y] = null;
6264
5960
  x++;
6265
5961
  } else
6266
- sr(c[w]), w--;
5962
+ tr(c[w]), w--;
6267
5963
  else
6268
- sr(c[g]), g++;
5964
+ tr(c[g]), g++;
6269
5965
  for (; x <= m; ) {
6270
- const y = ko(r, n[m + 1]);
5966
+ const y = mo(r, n[m + 1]);
6271
5967
  ro(y, i[x]), n[x++] = y;
6272
5968
  }
6273
5969
  for (; g <= w; ) {
6274
5970
  const y = c[g++];
6275
- y !== null && sr(y);
5971
+ y !== null && tr(y);
6276
5972
  }
6277
- return this.ht = l, Tt(r, n), U;
5973
+ return this.ht = l, vt(r, n), V;
6278
5974
  }
6279
5975
  });
6280
- class $r extends X {
5976
+ class gr extends Z {
6281
5977
  constructor() {
6282
5978
  super(), this._toasts = /* @__PURE__ */ new Map();
6283
5979
  }
@@ -6351,13 +6047,13 @@ class $r extends X {
6351
6047
  }
6352
6048
  render() {
6353
6049
  return v`
6354
- <aside class="${br.container}">
6355
- <div class="${br.toaster}" id="w-toast-container-list">
6356
- ${Ne(
6050
+ <aside class="${or.container}">
6051
+ <div class="${or.toaster}" id="w-toast-container-list">
6052
+ ${ye(
6357
6053
  this._toastsArray,
6358
6054
  (o) => o.id,
6359
6055
  (o) => v` <w-toast
6360
- class="${br.content}"
6056
+ class="${or.content}"
6361
6057
  id="${o.id}"
6362
6058
  type="${o.type}"
6363
6059
  text="${o.text}"
@@ -6371,8 +6067,8 @@ class $r extends X {
6371
6067
  `;
6372
6068
  }
6373
6069
  }
6374
- $($r, "styles", [
6375
- A`
6070
+ $(gr, "styles", [
6071
+ S`
6376
6072
  /* layer: preflights */
6377
6073
  *,::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;}
6378
6074
  *,: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}
@@ -7025,13 +6721,13 @@ $($r, "styles", [
7025
6721
  display: block;
7026
6722
  }
7027
6723
  `
7028
- ]), $($r, "properties", {
6724
+ ]), $(gr, "properties", {
7029
6725
  _toasts: { state: !0 }
7030
6726
  });
7031
- customElements.get("w-toast-container") || customElements.define("w-toast-container", $r);
7032
- const qo = typeof window < "u";
7033
- function xa(r, o) {
7034
- if (!qo)
6727
+ customElements.get("w-toast-container") || customElements.define("w-toast-container", gr);
6728
+ const zo = typeof window < "u";
6729
+ function Ft(r, o) {
6730
+ if (!zo)
7035
6731
  return;
7036
6732
  const e = customElements.get("w-toast-container").init(), t = {
7037
6733
  id: Date.now().toString(36) + Math.random().toString(36).slice(2, 5),
@@ -7042,25 +6738,25 @@ function xa(r, o) {
7042
6738
  };
7043
6739
  return e.set(t), t;
7044
6740
  }
7045
- function ma(r) {
7046
- return qo ? customElements.get("w-toast-container").init().del(r) : void 0;
6741
+ function Wt(r) {
6742
+ return zo ? customElements.get("w-toast-container").init().del(r) : void 0;
7047
6743
  }
7048
- function ka(r, o) {
7049
- if (!qo)
6744
+ function Ut(r, o) {
6745
+ if (!zo)
7050
6746
  return;
7051
6747
  const e = customElements.get("w-toast-container").init();
7052
6748
  return e.set({ ...e.get(r), ...o }), e.get(r);
7053
6749
  }
7054
- class yr extends X {
6750
+ class ur extends Z {
7055
6751
  constructor() {
7056
- super(), this._messages = [], this.interval = 3e4, this._hiddenMessageIds = [], this.url = qo ? window.location.href : "";
6752
+ super(), this._messages = [], this.interval = 3e4, this._hiddenMessageIds = [], this.url = zo ? window.location.href : "";
7057
6753
  }
7058
6754
  async connectedCallback() {
7059
6755
  if (super.connectedCallback(), !this.api) {
7060
6756
  console.error('Broadcast "api" attribute invalid or undefined');
7061
6757
  return;
7062
6758
  }
7063
- qo && (await this._fetchMessage(), setInterval(() => this._fetchMessage(), this.interval));
6759
+ zo && (await this._fetchMessage(), setInterval(() => this._fetchMessage(), this.interval));
7064
6760
  }
7065
6761
  async _fetchMessage() {
7066
6762
  const o = `${this.api}?path=${this.url}`;
@@ -7078,7 +6774,7 @@ class yr extends X {
7078
6774
  const o = this._messages.filter((e) => !this._hiddenMessageIds.includes(e.id));
7079
6775
  return v`
7080
6776
  <aside class=${`${o.length === 0 ? "hidden" : "mb-16"}`}>
7081
- ${Ne(
6777
+ ${ye(
7082
6778
  o,
7083
6779
  ({ id: e }) => `broadcast-${e}`,
7084
6780
  ({ id: e, message: t }) => v`<w-toast
@@ -7094,7 +6790,7 @@ class yr extends X {
7094
6790
  `;
7095
6791
  }
7096
6792
  }
7097
- $(yr, "properties", {
6793
+ $(ur, "properties", {
7098
6794
  _messages: {
7099
6795
  state: !0,
7100
6796
  hasChanged(o, e) {
@@ -7111,7 +6807,7 @@ $(yr, "properties", {
7111
6807
  interval: { type: Number, attribute: !0, reflect: !0 },
7112
6808
  url: { type: String, attribute: !0, reflect: !0 },
7113
6809
  api: { type: String, attribute: !0, reflect: !0 }
7114
- }), $(yr, "styles", A`
6810
+ }), $(ur, "styles", S`
7115
6811
  /* layer: preflights */
7116
6812
  *,::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;}
7117
6813
  *,: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}
@@ -7762,24 +7458,24 @@ $(yr, "properties", {
7762
7458
  .sm\\:pt-32{padding-top:3.2rem;}
7763
7459
  }
7764
7460
  `);
7765
- customElements.get("w-broadcast") || customElements.define("w-broadcast", yr);
7766
- function So(r) {
7461
+ customElements.get("w-broadcast") || customElements.define("w-broadcast", ur);
7462
+ function jo(r) {
7767
7463
  return r.split("-")[0];
7768
7464
  }
7769
- function rr(r) {
7465
+ function Go(r) {
7770
7466
  return r.split("-")[1];
7771
7467
  }
7772
- function Ao(r) {
7773
- return ["top", "bottom"].includes(So(r)) ? "x" : "y";
7468
+ function Zo(r) {
7469
+ return ["top", "bottom"].includes(jo(r)) ? "x" : "y";
7774
7470
  }
7775
- function Pr(r) {
7471
+ function Yr(r) {
7776
7472
  return r === "y" ? "height" : "width";
7777
7473
  }
7778
- function le(r, o, e) {
7474
+ function Qr(r, o, e) {
7779
7475
  let { reference: t, floating: a } = r;
7780
- const c = t.x + t.width / 2 - a.width / 2, i = t.y + t.height / 2 - a.height / 2, l = Ao(o), d = Pr(l), n = t[d] / 2 - a[d] / 2, s = l === "x";
7476
+ const c = t.x + t.width / 2 - a.width / 2, i = t.y + t.height / 2 - a.height / 2, l = Zo(o), d = Yr(l), n = t[d] / 2 - a[d] / 2, s = l === "x";
7781
7477
  let b;
7782
- switch (So(o)) {
7478
+ switch (jo(o)) {
7783
7479
  case "top":
7784
7480
  b = { x: c, y: t.y - a.height };
7785
7481
  break;
@@ -7795,7 +7491,7 @@ function le(r, o, e) {
7795
7491
  default:
7796
7492
  b = { x: t.x, y: t.y };
7797
7493
  }
7798
- switch (rr(o)) {
7494
+ switch (Go(o)) {
7799
7495
  case "start":
7800
7496
  b[l] -= n * (e && s ? -1 : 1);
7801
7497
  break;
@@ -7804,81 +7500,81 @@ function le(r, o, e) {
7804
7500
  }
7805
7501
  return b;
7806
7502
  }
7807
- const Pt = async (r, o, e) => {
7503
+ const pt = async (r, o, e) => {
7808
7504
  const { placement: t = "bottom", strategy: a = "absolute", middleware: c = [], platform: i } = e, l = await (i.isRTL == null ? void 0 : i.isRTL(o));
7809
- let d = await i.getElementRects({ reference: r, floating: o, strategy: a }), { x: n, y: s } = le(d, t, l), b = t, g = {}, w = 0;
7505
+ let d = await i.getElementRects({ reference: r, floating: o, strategy: a }), { x: n, y: s } = Qr(d, t, l), b = t, g = {}, w = 0;
7810
7506
  for (let x = 0; x < c.length; x++) {
7811
- const { name: m, fn: y } = c[x], { x: Y, y: j, data: C, reset: Z } = await y({ x: n, y: s, initialPlacement: t, placement: b, strategy: a, middlewareData: g, rects: d, platform: i, elements: { reference: r, floating: o } });
7812
- n = Y ?? n, s = j ?? s, g = { ...g, [m]: { ...g[m], ...C } }, Z && w <= 50 && (w++, typeof Z == "object" && (Z.placement && (b = Z.placement), Z.rects && (d = Z.rects === !0 ? await i.getElementRects({ reference: r, floating: o, strategy: a }) : Z.rects), { x: n, y: s } = le(d, b, l)), x = -1);
7507
+ const { name: m, fn: y } = c[x], { x: X, y: Y, data: C, reset: j } = await y({ x: n, y: s, initialPlacement: t, placement: b, strategy: a, middlewareData: g, rects: d, platform: i, elements: { reference: r, floating: o } });
7508
+ n = X ?? n, s = Y ?? s, g = { ...g, [m]: { ...g[m], ...C } }, j && w <= 50 && (w++, typeof j == "object" && (j.placement && (b = j.placement), j.rects && (d = j.rects === !0 ? await i.getElementRects({ reference: r, floating: o, strategy: a }) : j.rects), { x: n, y: s } = Qr(d, b, l)), x = -1);
7813
7509
  }
7814
7510
  return { x: n, y: s, placement: b, strategy: a, middlewareData: g };
7815
7511
  };
7816
- function Oe(r) {
7512
+ function ze(r) {
7817
7513
  return typeof r != "number" ? function(o) {
7818
7514
  return { top: 0, right: 0, bottom: 0, left: 0, ...o };
7819
7515
  }(r) : { top: r, right: r, bottom: r, left: r };
7820
7516
  }
7821
- function Ho(r) {
7517
+ function Io(r) {
7822
7518
  return { ...r, top: r.y, left: r.x, right: r.x + r.width, bottom: r.y + r.height };
7823
7519
  }
7824
- async function Ie(r, o) {
7520
+ async function qe(r, o) {
7825
7521
  var e;
7826
7522
  o === void 0 && (o = {});
7827
- const { x: t, y: a, platform: c, rects: i, elements: l, strategy: d } = r, { boundary: n = "clippingAncestors", rootBoundary: s = "viewport", elementContext: b = "floating", altBoundary: g = !1, padding: w = 0 } = o, x = Oe(w), m = l[g ? b === "floating" ? "reference" : "floating" : b], y = Ho(await c.getClippingRect({ element: (e = await (c.isElement == null ? void 0 : c.isElement(m))) == null || e ? m : m.contextElement || await (c.getDocumentElement == null ? void 0 : c.getDocumentElement(l.floating)), boundary: n, rootBoundary: s, strategy: d })), Y = Ho(c.convertOffsetParentRelativeRectToViewportRelativeRect ? await c.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: b === "floating" ? { ...i.floating, x: t, y: a } : i.reference, offsetParent: await (c.getOffsetParent == null ? void 0 : c.getOffsetParent(l.floating)), strategy: d }) : i[b]);
7828
- return { top: y.top - Y.top + x.top, bottom: Y.bottom - y.bottom + x.bottom, left: y.left - Y.left + x.left, right: Y.right - y.right + x.right };
7523
+ const { x: t, y: a, platform: c, rects: i, elements: l, strategy: d } = r, { boundary: n = "clippingAncestors", rootBoundary: s = "viewport", elementContext: b = "floating", altBoundary: g = !1, padding: w = 0 } = o, x = ze(w), m = l[g ? b === "floating" ? "reference" : "floating" : b], y = Io(await c.getClippingRect({ element: (e = await (c.isElement == null ? void 0 : c.isElement(m))) == null || e ? m : m.contextElement || await (c.getDocumentElement == null ? void 0 : c.getDocumentElement(l.floating)), boundary: n, rootBoundary: s, strategy: d })), X = Io(c.convertOffsetParentRelativeRectToViewportRelativeRect ? await c.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: b === "floating" ? { ...i.floating, x: t, y: a } : i.reference, offsetParent: await (c.getOffsetParent == null ? void 0 : c.getOffsetParent(l.floating)), strategy: d }) : i[b]);
7524
+ return { top: y.top - X.top + x.top, bottom: X.bottom - y.bottom + x.bottom, left: y.left - X.left + x.left, right: X.right - y.right + x.right };
7829
7525
  }
7830
- const Bt = Math.min, Dt = Math.max;
7831
- function zr(r, o, e) {
7832
- return Dt(r, Bt(o, e));
7526
+ const wt = Math.min, xt = Math.max;
7527
+ function vr(r, o, e) {
7528
+ return xt(r, wt(o, e));
7833
7529
  }
7834
- const Nt = (r) => ({ name: "arrow", options: r, async fn(o) {
7530
+ const mt = (r) => ({ name: "arrow", options: r, async fn(o) {
7835
7531
  const { element: e, padding: t = 0 } = r ?? {}, { x: a, y: c, placement: i, rects: l, platform: d } = o;
7836
7532
  if (e == null)
7837
7533
  return {};
7838
- const n = Oe(t), s = { x: a, y: c }, b = Ao(i), g = rr(i), w = Pr(b), x = await d.getDimensions(e), m = b === "y" ? "top" : "left", y = b === "y" ? "bottom" : "right", Y = l.reference[w] + l.reference[b] - s[b] - l.floating[w], j = s[b] - l.reference[b], C = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(e));
7839
- let Z = C ? b === "y" ? C.clientHeight || 0 : C.clientWidth || 0 : 0;
7840
- Z === 0 && (Z = l.floating[w]);
7841
- const Eo = Y / 2 - j / 2, io = n[m], po = Z - x[w] - n[y], S = Z / 2 - x[w] / 2 + Eo, M = zr(io, S, po), lo = (g === "start" ? n[m] : n[y]) > 0 && S !== M && l.reference[w] <= l.floating[w];
7842
- return { [b]: s[b] - (lo ? S < io ? io - S : po - S : 0), data: { [b]: M, centerOffset: S - M } };
7843
- } }), Ot = { left: "right", right: "left", bottom: "top", top: "bottom" };
7844
- function Uo(r) {
7845
- return r.replace(/left|right|bottom|top/g, (o) => Ot[o]);
7534
+ const n = ze(t), s = { x: a, y: c }, b = Zo(i), g = Go(i), w = Yr(b), x = await d.getDimensions(e), m = b === "y" ? "top" : "left", y = b === "y" ? "bottom" : "right", X = l.reference[w] + l.reference[b] - s[b] - l.floating[w], Y = s[b] - l.reference[b], C = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(e));
7535
+ let j = C ? b === "y" ? C.clientHeight || 0 : C.clientWidth || 0 : 0;
7536
+ j === 0 && (j = l.floating[w]);
7537
+ const So = X / 2 - Y / 2, io = n[m], ho = j - x[w] - n[y], A = j / 2 - x[w] / 2 + So, M = vr(io, A, ho), lo = (g === "start" ? n[m] : n[y]) > 0 && A !== M && l.reference[w] <= l.floating[w];
7538
+ return { [b]: s[b] - (lo ? A < io ? io - A : ho - A : 0), data: { [b]: M, centerOffset: A - M } };
7539
+ } }), kt = { left: "right", right: "left", bottom: "top", top: "bottom" };
7540
+ function Po(r) {
7541
+ return r.replace(/left|right|bottom|top/g, (o) => kt[o]);
7846
7542
  }
7847
- function It(r, o, e) {
7543
+ function ft(r, o, e) {
7848
7544
  e === void 0 && (e = !1);
7849
- const t = rr(r), a = Ao(r), c = Pr(a);
7545
+ const t = Go(r), a = Zo(r), c = Yr(a);
7850
7546
  let i = a === "x" ? t === (e ? "end" : "start") ? "right" : "left" : t === "start" ? "bottom" : "top";
7851
- return o.reference[c] > o.floating[c] && (i = Uo(i)), { main: i, cross: Uo(i) };
7547
+ return o.reference[c] > o.floating[c] && (i = Po(i)), { main: i, cross: Po(i) };
7852
7548
  }
7853
- const Ht = { start: "end", end: "start" };
7854
- function de(r) {
7855
- return r.replace(/start|end/g, (o) => Ht[o]);
7549
+ const $t = { start: "end", end: "start" };
7550
+ function Or(r) {
7551
+ return r.replace(/start|end/g, (o) => $t[o]);
7856
7552
  }
7857
- const Ut = ["top", "right", "bottom", "left"];
7858
- Ut.reduce((r, o) => r.concat(o, o + "-start", o + "-end"), []);
7859
- const Qt = function(r) {
7553
+ const yt = ["top", "right", "bottom", "left"];
7554
+ yt.reduce((r, o) => r.concat(o, o + "-start", o + "-end"), []);
7555
+ const zt = function(r) {
7860
7556
  return r === void 0 && (r = {}), { name: "flip", options: r, async fn(o) {
7861
7557
  var e;
7862
- const { placement: t, middlewareData: a, rects: c, initialPlacement: i, platform: l, elements: d } = o, { mainAxis: n = !0, crossAxis: s = !0, fallbackPlacements: b, fallbackStrategy: g = "bestFit", flipAlignment: w = !0, ...x } = r, m = So(t), y = b || (m === i || !w ? [Uo(i)] : function(S) {
7863
- const M = Uo(S);
7864
- return [de(S), M, de(M)];
7865
- }(i)), Y = [i, ...y], j = await Ie(o, x), C = [];
7866
- let Z = ((e = a.flip) == null ? void 0 : e.overflows) || [];
7867
- if (n && C.push(j[m]), s) {
7868
- const { main: S, cross: M } = It(t, c, await (l.isRTL == null ? void 0 : l.isRTL(d.floating)));
7869
- C.push(j[S], j[M]);
7558
+ const { placement: t, middlewareData: a, rects: c, initialPlacement: i, platform: l, elements: d } = o, { mainAxis: n = !0, crossAxis: s = !0, fallbackPlacements: b, fallbackStrategy: g = "bestFit", flipAlignment: w = !0, ...x } = r, m = jo(t), y = b || (m === i || !w ? [Po(i)] : function(A) {
7559
+ const M = Po(A);
7560
+ return [Or(A), M, Or(M)];
7561
+ }(i)), X = [i, ...y], Y = await qe(o, x), C = [];
7562
+ let j = ((e = a.flip) == null ? void 0 : e.overflows) || [];
7563
+ if (n && C.push(Y[m]), s) {
7564
+ const { main: A, cross: M } = ft(t, c, await (l.isRTL == null ? void 0 : l.isRTL(d.floating)));
7565
+ C.push(Y[A], Y[M]);
7870
7566
  }
7871
- if (Z = [...Z, { placement: t, overflows: C }], !C.every((S) => S <= 0)) {
7872
- var Eo, io;
7873
- const S = ((Eo = (io = a.flip) == null ? void 0 : io.index) != null ? Eo : 0) + 1, M = Y[S];
7567
+ if (j = [...j, { placement: t, overflows: C }], !C.every((A) => A <= 0)) {
7568
+ var So, io;
7569
+ const A = ((So = (io = a.flip) == null ? void 0 : io.index) != null ? So : 0) + 1, M = X[A];
7874
7570
  if (M)
7875
- return { data: { index: S, overflows: Z }, reset: { placement: M } };
7571
+ return { data: { index: A, overflows: j }, reset: { placement: M } };
7876
7572
  let lo = "bottom";
7877
7573
  switch (g) {
7878
7574
  case "bestFit": {
7879
- var po;
7880
- const Dr = (po = Z.map((Lo) => [Lo, Lo.overflows.filter((wo) => wo > 0).reduce((wo, Ke) => wo + Ke, 0)]).sort((Lo, wo) => Lo[1] - wo[1])[0]) == null ? void 0 : po[0].placement;
7881
- Dr && (lo = Dr);
7575
+ var ho;
7576
+ const Zr = (ho = j.map((Co) => [Co, Co.overflows.filter((po) => po > 0).reduce((po, Le) => po + Le, 0)]).sort((Co, po) => Co[1] - po[1])[0]) == null ? void 0 : ho[0].placement;
7577
+ Zr && (lo = Zr);
7882
7578
  break;
7883
7579
  }
7884
7580
  case "initialPlacement":
@@ -7889,183 +7585,183 @@ const Qt = function(r) {
7889
7585
  }
7890
7586
  return {};
7891
7587
  } };
7892
- }, Vt = function(r) {
7588
+ }, qt = function(r) {
7893
7589
  return r === void 0 && (r = 0), { name: "offset", options: r, async fn(o) {
7894
7590
  const { x: e, y: t } = o, a = await async function(c, i) {
7895
- const { placement: l, platform: d, elements: n } = c, s = await (d.isRTL == null ? void 0 : d.isRTL(n.floating)), b = So(l), g = rr(l), w = Ao(l) === "x", x = ["left", "top"].includes(b) ? -1 : 1, m = s && w ? -1 : 1, y = typeof i == "function" ? i(c) : i;
7896
- let { mainAxis: Y, crossAxis: j, alignmentAxis: C } = typeof y == "number" ? { mainAxis: y, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...y };
7897
- return g && typeof C == "number" && (j = g === "end" ? -1 * C : C), w ? { x: j * m, y: Y * x } : { x: Y * x, y: j * m };
7591
+ const { placement: l, platform: d, elements: n } = c, s = await (d.isRTL == null ? void 0 : d.isRTL(n.floating)), b = jo(l), g = Go(l), w = Zo(l) === "x", x = ["left", "top"].includes(b) ? -1 : 1, m = s && w ? -1 : 1, y = typeof i == "function" ? i(c) : i;
7592
+ let { mainAxis: X, crossAxis: Y, alignmentAxis: C } = typeof y == "number" ? { mainAxis: y, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...y };
7593
+ return g && typeof C == "number" && (Y = g === "end" ? -1 * C : C), w ? { x: Y * m, y: X * x } : { x: X * x, y: Y * m };
7898
7594
  }(o, r);
7899
7595
  return { x: e + a.x, y: t + a.y, data: a };
7900
7596
  } };
7901
7597
  };
7902
- function Ft(r) {
7598
+ function _t(r) {
7903
7599
  return r === "x" ? "y" : "x";
7904
7600
  }
7905
- const Wt = function(r) {
7601
+ const Xt = function(r) {
7906
7602
  return r === void 0 && (r = {}), { name: "shift", options: r, async fn(o) {
7907
7603
  const { x: e, y: t, placement: a } = o, { mainAxis: c = !0, crossAxis: i = !1, limiter: l = { fn: (y) => {
7908
- let { x: Y, y: j } = y;
7909
- return { x: Y, y: j };
7910
- } }, ...d } = r, n = { x: e, y: t }, s = await Ie(o, d), b = Ao(So(a)), g = Ft(b);
7604
+ let { x: X, y: Y } = y;
7605
+ return { x: X, y: Y };
7606
+ } }, ...d } = r, n = { x: e, y: t }, s = await qe(o, d), b = Zo(jo(a)), g = _t(b);
7911
7607
  let w = n[b], x = n[g];
7912
7608
  if (c) {
7913
7609
  const y = b === "y" ? "bottom" : "right";
7914
- w = zr(w + s[b === "y" ? "top" : "left"], w, w - s[y]);
7610
+ w = vr(w + s[b === "y" ? "top" : "left"], w, w - s[y]);
7915
7611
  }
7916
7612
  if (i) {
7917
7613
  const y = g === "y" ? "bottom" : "right";
7918
- x = zr(x + s[g === "y" ? "top" : "left"], x, x - s[y]);
7614
+ x = vr(x + s[g === "y" ? "top" : "left"], x, x - s[y]);
7919
7615
  }
7920
7616
  const m = l.fn({ ...o, [b]: w, [g]: x });
7921
7617
  return { ...m, data: { x: m.x - e, y: m.y - t } };
7922
7618
  } };
7923
7619
  };
7924
- function He(r) {
7620
+ function _e(r) {
7925
7621
  return r && r.document && r.location && r.alert && r.setInterval;
7926
7622
  }
7927
- function Q(r) {
7623
+ function O(r) {
7928
7624
  if (r == null)
7929
7625
  return window;
7930
- if (!He(r)) {
7626
+ if (!_e(r)) {
7931
7627
  const o = r.ownerDocument;
7932
7628
  return o && o.defaultView || window;
7933
7629
  }
7934
7630
  return r;
7935
7631
  }
7936
- function Co(r) {
7937
- return Q(r).getComputedStyle(r);
7632
+ function Ao(r) {
7633
+ return O(r).getComputedStyle(r);
7938
7634
  }
7939
- function H(r) {
7940
- return He(r) ? "" : r ? (r.nodeName || "").toLowerCase() : "";
7635
+ function Q(r) {
7636
+ return _e(r) ? "" : r ? (r.nodeName || "").toLowerCase() : "";
7941
7637
  }
7942
- function Ue() {
7638
+ function Xe() {
7943
7639
  const r = navigator.userAgentData;
7944
7640
  return r != null && r.brands ? r.brands.map((o) => o.brand + "/" + o.version).join(" ") : navigator.userAgent;
7945
7641
  }
7946
- function D(r) {
7947
- return r instanceof Q(r).HTMLElement;
7642
+ function N(r) {
7643
+ return r instanceof O(r).HTMLElement;
7948
7644
  }
7949
- function ho(r) {
7950
- return r instanceof Q(r).Element;
7645
+ function vo(r) {
7646
+ return r instanceof O(r).Element;
7951
7647
  }
7952
- function Br(r) {
7953
- return typeof ShadowRoot > "u" ? !1 : r instanceof Q(r).ShadowRoot || r instanceof ShadowRoot;
7648
+ function jr(r) {
7649
+ return typeof ShadowRoot > "u" ? !1 : r instanceof O(r).ShadowRoot || r instanceof ShadowRoot;
7954
7650
  }
7955
- function er(r) {
7956
- const { overflow: o, overflowX: e, overflowY: t } = Co(r);
7651
+ function Jo(r) {
7652
+ const { overflow: o, overflowX: e, overflowY: t } = Ao(r);
7957
7653
  return /auto|scroll|overlay|hidden/.test(o + t + e);
7958
7654
  }
7959
- function Gt(r) {
7960
- return ["table", "td", "th"].includes(H(r));
7655
+ function Yt(r) {
7656
+ return ["table", "td", "th"].includes(Q(r));
7961
7657
  }
7962
- function ne(r) {
7963
- const o = /firefox/i.test(Ue()), e = Co(r);
7658
+ function Fr(r) {
7659
+ const o = /firefox/i.test(Xe()), e = Ao(r);
7964
7660
  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";
7965
7661
  }
7966
- function Qe() {
7967
- return !/^((?!chrome|android).)*safari/i.test(Ue());
7662
+ function Ye() {
7663
+ return !/^((?!chrome|android).)*safari/i.test(Xe());
7968
7664
  }
7969
- const be = Math.min, $o = Math.max, Qo = Math.round;
7665
+ const Wr = Math.min, fo = Math.max, Ho = Math.round;
7970
7666
  function to(r, o, e) {
7971
7667
  var t, a, c, i;
7972
7668
  o === void 0 && (o = !1), e === void 0 && (e = !1);
7973
7669
  const l = r.getBoundingClientRect();
7974
7670
  let d = 1, n = 1;
7975
- o && D(r) && (d = r.offsetWidth > 0 && Qo(l.width) / r.offsetWidth || 1, n = r.offsetHeight > 0 && Qo(l.height) / r.offsetHeight || 1);
7976
- const s = ho(r) ? Q(r) : window, b = !Qe() && e, g = (l.left + (b && (t = (a = s.visualViewport) == null ? void 0 : a.offsetLeft) != null ? t : 0)) / d, w = (l.top + (b && (c = (i = s.visualViewport) == null ? void 0 : i.offsetTop) != null ? c : 0)) / n, x = l.width / d, m = l.height / n;
7671
+ o && N(r) && (d = r.offsetWidth > 0 && Ho(l.width) / r.offsetWidth || 1, n = r.offsetHeight > 0 && Ho(l.height) / r.offsetHeight || 1);
7672
+ const s = vo(r) ? O(r) : window, b = !Ye() && e, g = (l.left + (b && (t = (a = s.visualViewport) == null ? void 0 : a.offsetLeft) != null ? t : 0)) / d, w = (l.top + (b && (c = (i = s.visualViewport) == null ? void 0 : i.offsetTop) != null ? c : 0)) / n, x = l.width / d, m = l.height / n;
7977
7673
  return { width: x, height: m, top: w, right: g + x, bottom: w + m, left: g, x: g, y: w };
7978
7674
  }
7979
- function W(r) {
7980
- return (o = r, (o instanceof Q(o).Node ? r.ownerDocument : r.document) || window.document).documentElement;
7675
+ function U(r) {
7676
+ return (o = r, (o instanceof O(o).Node ? r.ownerDocument : r.document) || window.document).documentElement;
7981
7677
  var o;
7982
7678
  }
7983
- function tr(r) {
7984
- return ho(r) ? { scrollLeft: r.scrollLeft, scrollTop: r.scrollTop } : { scrollLeft: r.pageXOffset, scrollTop: r.pageYOffset };
7679
+ function Ko(r) {
7680
+ return vo(r) ? { scrollLeft: r.scrollLeft, scrollTop: r.scrollTop } : { scrollLeft: r.pageXOffset, scrollTop: r.pageYOffset };
7985
7681
  }
7986
- function Ve(r) {
7987
- return to(W(r)).left + tr(r).scrollLeft;
7682
+ function je(r) {
7683
+ return to(U(r)).left + Ko(r).scrollLeft;
7988
7684
  }
7989
- function Jt(r, o, e) {
7990
- const t = D(o), a = W(o), c = to(r, t && function(d) {
7685
+ function jt(r, o, e) {
7686
+ const t = N(o), a = U(o), c = to(r, t && function(d) {
7991
7687
  const n = to(d);
7992
- return Qo(n.width) !== d.offsetWidth || Qo(n.height) !== d.offsetHeight;
7688
+ return Ho(n.width) !== d.offsetWidth || Ho(n.height) !== d.offsetHeight;
7993
7689
  }(o), e === "fixed");
7994
7690
  let i = { scrollLeft: 0, scrollTop: 0 };
7995
7691
  const l = { x: 0, y: 0 };
7996
7692
  if (t || !t && e !== "fixed")
7997
- if ((H(o) !== "body" || er(a)) && (i = tr(o)), D(o)) {
7693
+ if ((Q(o) !== "body" || Jo(a)) && (i = Ko(o)), N(o)) {
7998
7694
  const d = to(o, !0);
7999
7695
  l.x = d.x + o.clientLeft, l.y = d.y + o.clientTop;
8000
7696
  } else
8001
- a && (l.x = Ve(a));
7697
+ a && (l.x = je(a));
8002
7698
  return { x: c.left + i.scrollLeft - l.x, y: c.top + i.scrollTop - l.y, width: c.width, height: c.height };
8003
7699
  }
8004
- function Fe(r) {
8005
- return H(r) === "html" ? r : r.assignedSlot || r.parentNode || (Br(r) ? r.host : null) || W(r);
7700
+ function Ze(r) {
7701
+ return Q(r) === "html" ? r : r.assignedSlot || r.parentNode || (jr(r) ? r.host : null) || U(r);
8006
7702
  }
8007
- function se(r) {
8008
- return D(r) && getComputedStyle(r).position !== "fixed" ? r.offsetParent : null;
7703
+ function Ur(r) {
7704
+ return N(r) && getComputedStyle(r).position !== "fixed" ? r.offsetParent : null;
8009
7705
  }
8010
- function _r(r) {
8011
- const o = Q(r);
8012
- let e = se(r);
8013
- for (; e && Gt(e) && getComputedStyle(e).position === "static"; )
8014
- e = se(e);
8015
- return e && (H(e) === "html" || H(e) === "body" && getComputedStyle(e).position === "static" && !ne(e)) ? o : e || function(t) {
8016
- let a = Fe(t);
8017
- for (Br(a) && (a = a.host); D(a) && !["html", "body"].includes(H(a)); ) {
8018
- if (ne(a))
7706
+ function hr(r) {
7707
+ const o = O(r);
7708
+ let e = Ur(r);
7709
+ for (; e && Yt(e) && getComputedStyle(e).position === "static"; )
7710
+ e = Ur(e);
7711
+ return e && (Q(e) === "html" || Q(e) === "body" && getComputedStyle(e).position === "static" && !Fr(e)) ? o : e || function(t) {
7712
+ let a = Ze(t);
7713
+ for (jr(a) && (a = a.host); N(a) && !["html", "body"].includes(Q(a)); ) {
7714
+ if (Fr(a))
8019
7715
  return a;
8020
7716
  a = a.parentNode;
8021
7717
  }
8022
7718
  return null;
8023
7719
  }(r) || o;
8024
7720
  }
8025
- function ge(r) {
8026
- if (D(r))
7721
+ function Vr(r) {
7722
+ if (N(r))
8027
7723
  return { width: r.offsetWidth, height: r.offsetHeight };
8028
7724
  const o = to(r);
8029
7725
  return { width: o.width, height: o.height };
8030
7726
  }
8031
- function We(r) {
8032
- const o = Fe(r);
8033
- return ["html", "body", "#document"].includes(H(o)) ? r.ownerDocument.body : D(o) && er(o) ? o : We(o);
7727
+ function Ae(r) {
7728
+ const o = Ze(r);
7729
+ return ["html", "body", "#document"].includes(Q(o)) ? r.ownerDocument.body : N(o) && Jo(o) ? o : Ae(o);
8034
7730
  }
8035
- function Ge(r, o) {
7731
+ function Se(r, o) {
8036
7732
  var e;
8037
7733
  o === void 0 && (o = []);
8038
- const t = We(r), a = t === ((e = r.ownerDocument) == null ? void 0 : e.body), c = Q(t), i = a ? [c].concat(c.visualViewport || [], er(t) ? t : []) : t, l = o.concat(i);
8039
- return a ? l : l.concat(Ge(i));
7734
+ const t = Ae(r), a = t === ((e = r.ownerDocument) == null ? void 0 : e.body), c = O(t), i = a ? [c].concat(c.visualViewport || [], Jo(t) ? t : []) : t, l = o.concat(i);
7735
+ return a ? l : l.concat(Se(i));
8040
7736
  }
8041
- function ue(r, o, e) {
8042
- return o === "viewport" ? Ho(function(t, a) {
8043
- const c = Q(t), i = W(t), l = c.visualViewport;
7737
+ function Gr(r, o, e) {
7738
+ return o === "viewport" ? Io(function(t, a) {
7739
+ const c = O(t), i = U(t), l = c.visualViewport;
8044
7740
  let d = i.clientWidth, n = i.clientHeight, s = 0, b = 0;
8045
7741
  if (l) {
8046
7742
  d = l.width, n = l.height;
8047
- const g = Qe();
7743
+ const g = Ye();
8048
7744
  (g || !g && a === "fixed") && (s = l.offsetLeft, b = l.offsetTop);
8049
7745
  }
8050
7746
  return { width: d, height: n, x: s, y: b };
8051
- }(r, e)) : ho(o) ? function(t, a) {
7747
+ }(r, e)) : vo(o) ? function(t, a) {
8052
7748
  const c = to(t, !1, a === "fixed"), i = c.top + t.clientTop, l = c.left + t.clientLeft;
8053
7749
  return { top: i, left: l, x: l, y: i, right: l + t.clientWidth, bottom: i + t.clientHeight, width: t.clientWidth, height: t.clientHeight };
8054
- }(o, e) : Ho(function(t) {
7750
+ }(o, e) : Io(function(t) {
8055
7751
  var a;
8056
- const c = W(t), i = tr(t), l = (a = t.ownerDocument) == null ? void 0 : a.body, d = $o(c.scrollWidth, c.clientWidth, l ? l.scrollWidth : 0, l ? l.clientWidth : 0), n = $o(c.scrollHeight, c.clientHeight, l ? l.scrollHeight : 0, l ? l.clientHeight : 0);
8057
- let s = -i.scrollLeft + Ve(t);
7752
+ const c = U(t), i = Ko(t), l = (a = t.ownerDocument) == null ? void 0 : a.body, d = fo(c.scrollWidth, c.clientWidth, l ? l.scrollWidth : 0, l ? l.clientWidth : 0), n = fo(c.scrollHeight, c.clientHeight, l ? l.scrollHeight : 0, l ? l.clientHeight : 0);
7753
+ let s = -i.scrollLeft + je(t);
8058
7754
  const b = -i.scrollTop;
8059
- return Co(l || c).direction === "rtl" && (s += $o(c.clientWidth, l ? l.clientWidth : 0) - d), { width: d, height: n, x: s, y: b };
8060
- }(W(r)));
7755
+ return Ao(l || c).direction === "rtl" && (s += fo(c.clientWidth, l ? l.clientWidth : 0) - d), { width: d, height: n, x: s, y: b };
7756
+ }(U(r)));
8061
7757
  }
8062
- function Kt(r) {
8063
- const o = Ge(r), e = ["absolute", "fixed"].includes(Co(r).position) && D(r) ? _r(r) : r;
8064
- return ho(e) ? o.filter((t) => ho(t) && function(a, c) {
7758
+ function Zt(r) {
7759
+ const o = Se(r), e = ["absolute", "fixed"].includes(Ao(r).position) && N(r) ? hr(r) : r;
7760
+ return vo(e) ? o.filter((t) => vo(t) && function(a, c) {
8065
7761
  const i = c.getRootNode == null ? void 0 : c.getRootNode();
8066
7762
  if (a.contains(c))
8067
7763
  return !0;
8068
- if (i && Br(i)) {
7764
+ if (i && jr(i)) {
8069
7765
  let l = c;
8070
7766
  do {
8071
7767
  if (l && a === l)
@@ -8074,68 +7770,68 @@ function Kt(r) {
8074
7770
  } while (l);
8075
7771
  }
8076
7772
  return !1;
8077
- }(t, e) && H(t) !== "body") : [];
7773
+ }(t, e) && Q(t) !== "body") : [];
8078
7774
  }
8079
- const oa = { getClippingRect: function(r) {
7775
+ const At = { getClippingRect: function(r) {
8080
7776
  let { element: o, boundary: e, rootBoundary: t, strategy: a } = r;
8081
- const c = [...e === "clippingAncestors" ? Kt(o) : [].concat(e), t], i = c[0], l = c.reduce((d, n) => {
8082
- const s = ue(o, n, a);
8083
- return d.top = $o(s.top, d.top), d.right = be(s.right, d.right), d.bottom = be(s.bottom, d.bottom), d.left = $o(s.left, d.left), d;
8084
- }, ue(o, i, a));
7777
+ const c = [...e === "clippingAncestors" ? Zt(o) : [].concat(e), t], i = c[0], l = c.reduce((d, n) => {
7778
+ const s = Gr(o, n, a);
7779
+ return d.top = fo(s.top, d.top), d.right = Wr(s.right, d.right), d.bottom = Wr(s.bottom, d.bottom), d.left = fo(s.left, d.left), d;
7780
+ }, Gr(o, i, a));
8085
7781
  return { width: l.right - l.left, height: l.bottom - l.top, x: l.left, y: l.top };
8086
7782
  }, convertOffsetParentRelativeRectToViewportRelativeRect: function(r) {
8087
7783
  let { rect: o, offsetParent: e, strategy: t } = r;
8088
- const a = D(e), c = W(e);
7784
+ const a = N(e), c = U(e);
8089
7785
  if (e === c)
8090
7786
  return o;
8091
7787
  let i = { scrollLeft: 0, scrollTop: 0 };
8092
7788
  const l = { x: 0, y: 0 };
8093
- if ((a || !a && t !== "fixed") && ((H(e) !== "body" || er(c)) && (i = tr(e)), D(e))) {
7789
+ if ((a || !a && t !== "fixed") && ((Q(e) !== "body" || Jo(c)) && (i = Ko(e)), N(e))) {
8094
7790
  const d = to(e, !0);
8095
7791
  l.x = d.x + e.clientLeft, l.y = d.y + e.clientTop;
8096
7792
  }
8097
7793
  return { ...o, x: o.x - i.scrollLeft + l.x, y: o.y - i.scrollTop + l.y };
8098
- }, isElement: ho, getDimensions: ge, getOffsetParent: _r, getDocumentElement: W, getElementRects: (r) => {
7794
+ }, isElement: vo, getDimensions: Vr, getOffsetParent: hr, getDocumentElement: U, getElementRects: (r) => {
8099
7795
  let { reference: o, floating: e, strategy: t } = r;
8100
- return { reference: Jt(o, _r(e), t), floating: { ...ge(e), x: 0, y: 0 } };
8101
- }, getClientRects: (r) => Array.from(r.getClientRects()), isRTL: (r) => Co(r).direction === "rtl" }, ra = (r, o, e) => Pt(r, o, { platform: oa, ...e }), Xo = "top", Yo = "bottom", Vo = "left", Fo = "right", gr = {
8102
- [Xo]: Yo,
8103
- [Yo]: Xo,
8104
- [Vo]: Fo,
8105
- [Fo]: Vo
8106
- }, ea = {
8107
- [Xo]: "↑",
8108
- [Yo]: "↓",
8109
- [Vo]: "←",
8110
- [Fo]: "→"
8111
- }, ta = {
8112
- [Vo]: -45,
8113
- [Xo]: 45,
8114
- [Fo]: 135,
8115
- [Yo]: -135
8116
- }, ve = "calc(50% - 7px)", aa = (r) => [Xo, Yo].includes(r);
8117
- function ca({ actualDirection: r, directionName: o, arrowEl: e }) {
7796
+ return { reference: jt(o, hr(e), t), floating: { ...Vr(e), x: 0, y: 0 } };
7797
+ }, getClientRects: (r) => Array.from(r.getClientRects()), isRTL: (r) => Ao(r).direction === "rtl" }, St = (r, o, e) => pt(r, o, { platform: At, ...e }), qo = "top", _o = "bottom", Qo = "left", Oo = "right", ar = {
7798
+ [qo]: _o,
7799
+ [_o]: qo,
7800
+ [Qo]: Oo,
7801
+ [Oo]: Qo
7802
+ }, Ct = {
7803
+ [qo]: "↑",
7804
+ [_o]: "↓",
7805
+ [Qo]: "←",
7806
+ [Oo]: "→"
7807
+ }, Lt = {
7808
+ [Qo]: -45,
7809
+ [qo]: 45,
7810
+ [Oo]: 135,
7811
+ [_o]: -135
7812
+ }, Jr = "calc(50% - 7px)", Et = (r) => [qo, _o].includes(r);
7813
+ function Mt({ actualDirection: r, directionName: o, arrowEl: e }) {
8118
7814
  if (!e)
8119
7815
  return;
8120
7816
  r = o;
8121
- const t = aa(o);
8122
- e.style.left = t ? ve : "", e.style.top = t ? "" : ve;
7817
+ const t = Et(o);
7818
+ e.style.left = t ? Jr : "", e.style.top = t ? "" : Jr;
8123
7819
  }
8124
- async function ia(r) {
7820
+ async function Tt(r) {
8125
7821
  var a, c;
8126
7822
  if (!r.isShowing)
8127
7823
  return;
8128
7824
  if (await ((a = r == null ? void 0 : r.waitForDOM) == null ? void 0 : a.call(r)), r.isCallout)
8129
- return ca(r);
8130
- const o = await ra(r.targetEl, r.attentionEl, {
7825
+ return Mt(r);
7826
+ const o = await St(r.targetEl, r.attentionEl, {
8131
7827
  placement: r.directionName,
8132
7828
  middleware: [
8133
7829
  // Should we make this configurable, but have these as sane defaults?
8134
- Qt(),
8135
- Vt(8),
8136
- Wt({ padding: 16 }),
7830
+ zt(),
7831
+ qt(8),
7832
+ Xt({ padding: 16 }),
8137
7833
  // @ts-ignore
8138
- Nt({ element: r.noArrow ? void 0 : r.arrowEl })
7834
+ mt({ element: r.noArrow ? void 0 : r.arrowEl })
8139
7835
  // FIXME
8140
7836
  ]
8141
7837
  });
@@ -8147,16 +7843,16 @@ async function ia(r) {
8147
7843
  let { x: e, y: t } = o.middlewareData.arrow;
8148
7844
  r.arrowEl && (r.arrowEl.style.left = e ? e + "px" : "", r.arrowEl.style.top = t ? t + "px" : "");
8149
7845
  }
8150
- class qr extends Zo(X) {
7846
+ class pr extends Yo(Z) {
8151
7847
  constructor() {
8152
7848
  super(), this.show = !1, this.tooltip = !1, this.callout = !1, this.popover = !1, this.noArrow = !1;
8153
7849
  }
8154
7850
  connectedCallback() {
8155
- if (super.connectedCallback(), !this.placement || !Object.keys(gr).includes(this.placement))
7851
+ if (super.connectedCallback(), !this.placement || !Object.keys(ar).includes(this.placement))
8156
7852
  throw new Error(
8157
7853
  `Invalid "placement" attribute. Set its value to one of the following:
8158
7854
  ${JSON.stringify(
8159
- Object.keys(gr)
7855
+ Object.keys(ar)
8160
7856
  )}`
8161
7857
  );
8162
7858
  setTimeout(() => this.requestUpdate(), 0);
@@ -8168,7 +7864,7 @@ ${JSON.stringify(
8168
7864
  this.placement = o;
8169
7865
  }
8170
7866
  get _arrowDirection() {
8171
- return gr[this.placement];
7867
+ return ar[this.placement];
8172
7868
  }
8173
7869
  updated() {
8174
7870
  this.callout || this._attentionEl.style.setProperty("--attention-visibility", this.show ? "" : "hidden"), this.tooltip || this._attentionEl.style.setProperty("--attention-display", this.show ? "block" : "none"), this.attentionState = {
@@ -8180,11 +7876,11 @@ ${JSON.stringify(
8180
7876
  attentionEl: this._attentionEl,
8181
7877
  targetEl: this._targetEl,
8182
7878
  noArrow: this.noArrow
8183
- }, ia(this.attentionState);
7879
+ }, Tt(this.attentionState);
8184
7880
  }
8185
7881
  setAriaLabels() {
8186
7882
  if (this._targetEl && !this._targetEl.getAttribute("aria-describedby")) {
8187
- const o = this._messageEl.id || (this._messageEl.id = $t());
7883
+ const o = this._messageEl.id || (this._messageEl.id = Ke());
8188
7884
  this._messageEl.setAttribute("role", "tooltip"), this._targetEl.setAttribute("aria-describedby", o);
8189
7885
  }
8190
7886
  }
@@ -8201,36 +7897,36 @@ ${JSON.stringify(
8201
7897
  return this.renderRoot.querySelector("slot[name='message']").assignedNodes()[0];
8202
7898
  }
8203
7899
  get _wrapperClasses() {
8204
- return re({
8205
- [N.base]: !0,
8206
- [N.tooltip]: this.tooltip,
8207
- [N.callout]: this.callout,
8208
- [N.popover]: this.popover
7900
+ return Rr({
7901
+ [I.base]: !0,
7902
+ [I.tooltip]: this.tooltip,
7903
+ [I.callout]: this.callout,
7904
+ [I.popover]: this.popover
8209
7905
  });
8210
7906
  }
8211
7907
  get _arrowClasses() {
8212
- return re({
8213
- [N.arrowBase]: !0,
8214
- [N[`arrowDirection${this._arrowDirection.charAt(0).toUpperCase() + this._arrowDirection.slice(1)}`]]: !0,
8215
- [N.arrowTooltip]: this.tooltip,
8216
- [N.arrowCallout]: this.callout,
8217
- [N.arrowPopover]: this.popover
7908
+ return Rr({
7909
+ [I.arrowBase]: !0,
7910
+ [I[`arrowDirection${this._arrowDirection.charAt(0).toUpperCase() + this._arrowDirection.slice(1)}`]]: !0,
7911
+ [I.arrowTooltip]: this.tooltip,
7912
+ [I.arrowCallout]: this.callout,
7913
+ [I.arrowPopover]: this.popover
8218
7914
  });
8219
7915
  }
8220
7916
  get _arrowHtml() {
8221
7917
  return this.noArrow ? "" : v`<div
8222
7918
  id="arrow"
8223
7919
  role="img"
8224
- aria-label=${ea[this._arrowDirection]}
7920
+ aria-label=${Ct[this._arrowDirection]}
8225
7921
  class="${this._arrowClasses}"
8226
- style="transform:rotate(${ta[this._arrowDirection]}deg);
7922
+ style="transform:rotate(${Lt[this._arrowDirection]}deg);
8227
7923
  margin-${// border alignment is off by a fraction of a pixel, this fixes it
8228
7924
  this._arrowDirection.charAt(0).toLowerCase() + this._arrowDirection.slice(1)}:-0.5px;"
8229
7925
  />`;
8230
7926
  }
8231
7927
  render() {
8232
7928
  return v`
8233
- <div class=${_(this.className ? this.className : void 0)}>
7929
+ <div class=${q(this.className ? this.className : void 0)}>
8234
7930
  ${this.placement === "right" || this.placement === "bottom" ? v`
8235
7931
  <slot name="target"></slot>
8236
7932
  <div id="attention" class="${this._wrapperClasses}">
@@ -8252,7 +7948,7 @@ ${JSON.stringify(
8252
7948
  `;
8253
7949
  }
8254
7950
  }
8255
- $(qr, "properties", {
7951
+ $(pr, "properties", {
8256
7952
  // Whether Attention element should be visible.
8257
7953
  show: { type: Boolean, reflect: !0 },
8258
7954
  // Placement according to the target element
@@ -8266,8 +7962,8 @@ $(qr, "properties", {
8266
7962
  popover: { type: Boolean, reflect: !0 },
8267
7963
  // Render Attention element without an arrow
8268
7964
  noArrow: { type: Boolean, reflect: !0 }
8269
- }), $(qr, "styles", [
8270
- A`
7965
+ }), $(pr, "styles", [
7966
+ S`
8271
7967
  /* layer: preflights */
8272
7968
  *,::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;}
8273
7969
  *,: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}
@@ -8934,31 +8630,31 @@ $(qr, "properties", {
8934
8630
  }
8935
8631
  `
8936
8632
  ]);
8937
- customElements.get("w-attention") || customElements.define("w-attention", qr);
8938
- class Xr extends X {
8633
+ customElements.get("w-attention") || customElements.define("w-attention", pr);
8634
+ class wr extends Z {
8939
8635
  constructor() {
8940
8636
  super(), this.type = "text";
8941
8637
  }
8942
8638
  get _inputStyles() {
8943
- return L({
8944
- [oo.default]: !0,
8945
- [oo.invalid]: this.invalid,
8946
- [oo.disabled]: this.disabled,
8947
- [oo.readOnly]: this.readOnly,
8948
- [oo.suffix]: this._hasSuffix,
8949
- [oo.prefix]: this._hasPrefix
8639
+ return E({
8640
+ [K.default]: !0,
8641
+ [K.invalid]: this.invalid,
8642
+ [K.disabled]: this.disabled,
8643
+ [K.readOnly]: this.readOnly,
8644
+ [K.suffix]: this._hasSuffix,
8645
+ [K.prefix]: this._hasPrefix
8950
8646
  });
8951
8647
  }
8952
8648
  get _helpTextStyles() {
8953
- return L({
8954
- [Io.helpText]: !0,
8955
- [Io.helpTextInvalid]: this.invalid
8649
+ return E({
8650
+ [Bo.helpText]: !0,
8651
+ [Bo.helpTextInvalid]: this.invalid
8956
8652
  });
8957
8653
  }
8958
8654
  get _labelStyles() {
8959
- return L({
8960
- [fo.label]: !0,
8961
- [fo.labelInvalid]: this.invalid
8655
+ return E({
8656
+ [ko.label]: !0,
8657
+ [ko.labelInvalid]: this.invalid
8962
8658
  });
8963
8659
  }
8964
8660
  get _label() {
@@ -8995,23 +8691,23 @@ class Xr extends X {
8995
8691
  render() {
8996
8692
  return v`
8997
8693
  ${this._label}
8998
- <div class="${oo.wrapper}">
8694
+ <div class="${K.wrapper}">
8999
8695
  <slot @slotchange="${this.prefixSlotChange}" name="prefix"></slot>
9000
8696
  <input
9001
8697
  class="${this._inputStyles}"
9002
8698
  type="${this.type}"
9003
- min="${_(this.min)}"
9004
- max="${_(this.max)}"
9005
- size="${_(this.size)}"
9006
- minlength="${_(this.minLength)}"
9007
- maxlength="${_(this.maxLength)}"
9008
- name="${_(this.name)}"
9009
- pattern="${_(this.pattern)}"
9010
- placeholder="${_(this.placeholder)}"
9011
- value="${_(this.value)}"
9012
- aria-describedby="${_(this._helpId)}"
9013
- aria-errormessage="${_(this._error)}"
9014
- aria-invalid="${_(this.invalid)}"
8699
+ min="${q(this.min)}"
8700
+ max="${q(this.max)}"
8701
+ size="${q(this.size)}"
8702
+ minlength="${q(this.minLength)}"
8703
+ maxlength="${q(this.maxLength)}"
8704
+ name="${q(this.name)}"
8705
+ pattern="${q(this.pattern)}"
8706
+ placeholder="${q(this.placeholder)}"
8707
+ value="${q(this.value)}"
8708
+ aria-describedby="${q(this._helpId)}"
8709
+ aria-errormessage="${q(this._error)}"
8710
+ aria-invalid="${q(this.invalid)}"
9015
8711
  id="${this._id}"
9016
8712
  ?disabled="${this.disabled}"
9017
8713
  ?readonly="${this.readOnly}"
@@ -9026,7 +8722,7 @@ class Xr extends X {
9026
8722
  `;
9027
8723
  }
9028
8724
  }
9029
- $(Xr, "properties", {
8725
+ $(wr, "properties", {
9030
8726
  disabled: { type: Boolean },
9031
8727
  invalid: { type: Boolean },
9032
8728
  id: { type: String },
@@ -9050,8 +8746,8 @@ $(Xr, "properties", {
9050
8746
  // ::slotted([Simple Selector]) confirms to Specificity rules, but (being simple) does not add weight to lightDOM skin selectors,
9051
8747
  // so never gets higher Specificity. Thus in order to overwrite style linked within shadowDOM, we need to use !important.
9052
8748
  // https://stackoverflow.com/a/61631668
9053
- $(Xr, "styles", [
9054
- A`
8749
+ $(wr, "styles", [
8750
+ S`
9055
8751
  /* layer: preflights */
9056
8752
  *,::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;}
9057
8753
  *,: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}
@@ -9708,14 +9404,14 @@ $(Xr, "styles", [
9708
9404
  }
9709
9405
  `
9710
9406
  ]);
9711
- customElements.get("w-textfield") || customElements.define("w-textfield", Xr);
9712
- class he extends X {
9407
+ customElements.get("w-textfield") || customElements.define("w-textfield", wr);
9408
+ class Kr extends Z {
9713
9409
  render() {
9714
9410
  return v`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M2.5 5.5 8 11l5.5-5.5"></path></svg>`;
9715
9411
  }
9716
9412
  }
9717
- customElements.get("f-icon-chevron-down16", he) || customElements.define("f-icon-chevron-down16", he);
9718
- class Yr extends Zo(X) {
9413
+ customElements.get("w-icon-chevron-down16", Kr) || customElements.define("w-icon-chevron-down16", Kr);
9414
+ class xr extends Yo(Z) {
9719
9415
  constructor() {
9720
9416
  super(), this.expanded = !1, this.animated = !1, this.info = !1, this.box = !1, this.bleed = !1, this.noChevron = !1, this._hasTitle = !0;
9721
9417
  }
@@ -9724,10 +9420,10 @@ class Yr extends Zo(X) {
9724
9420
  }
9725
9421
  get _expandableSlot() {
9726
9422
  return v`<div
9727
- class=${L({
9423
+ class=${E({
9728
9424
  [this.contentClass || ""]: !0,
9729
- [I.box]: this.box,
9730
- [E.paddingTop]: this._hasTitle && this.box
9425
+ [P.box]: this.box,
9426
+ [L.paddingTop]: this._hasTitle && this.box
9731
9427
  })}
9732
9428
  >
9733
9429
  <slot></slot>
@@ -9735,34 +9431,34 @@ class Yr extends Zo(X) {
9735
9431
  }
9736
9432
  render() {
9737
9433
  return v` <div
9738
- class=${L({
9739
- [E.expandable]: !0,
9740
- [E.expandableBox]: this.box,
9741
- [E.expandableBleed]: this.bleed
9434
+ class=${E({
9435
+ [L.expandable]: !0,
9436
+ [L.expandableBox]: this.box,
9437
+ [L.expandableBleed]: this.bleed
9742
9438
  })}
9743
9439
  >
9744
9440
  ${this._hasTitle ? v`<w-unstyled-heading level=${this.headingLevel}>
9745
9441
  <button
9746
9442
  type="button"
9747
9443
  aria-expanded="${this.expanded}"
9748
- class=${L({
9444
+ class=${E({
9749
9445
  [this.buttonClass || ""]: !0,
9750
- [E.button]: !0,
9751
- [E.buttonBox]: this.box
9446
+ [L.button]: !0,
9447
+ [L.buttonBox]: this.box
9752
9448
  })}
9753
9449
  @click=${() => this.expanded = !this.expanded}
9754
9450
  >
9755
- <div class="${E.title}">
9756
- ${this.title ? v`<span class="${E.titleType}">${this.title}</span>` : v`<slot name="title"></slot>`}
9451
+ <div class="${L.title}">
9452
+ ${this.title ? v`<span class="${L.titleType}">${this.title}</span>` : v`<slot name="title"></slot>`}
9757
9453
  ${this.noChevron ? "" : v`<div
9758
- class=${L({
9759
- [E.chevron]: !0,
9760
- [E.chevronExpanded]: this.expanded,
9761
- [E.chevronBox]: this.box,
9762
- [E.chevronNonBox]: !this.box
9454
+ class=${E({
9455
+ [L.chevron]: !0,
9456
+ [L.chevronExpanded]: this.expanded,
9457
+ [L.chevronBox]: this.box,
9458
+ [L.chevronNonBox]: !this.box
9763
9459
  })}
9764
9460
  >
9765
- <f-icon-chevron-down16></f-icon-chevron-down16>
9461
+ <w-icon-chevron-down16></w-icon-chevron-down16>
9766
9462
  </div>`}
9767
9463
  </div>
9768
9464
  </button>
@@ -9770,18 +9466,18 @@ class Yr extends Zo(X) {
9770
9466
  ${this.animated ? v`<w-expand-transition ?show=${this.expanded}>
9771
9467
  ${this._expandableSlot}
9772
9468
  </w-expand-transition>` : v`<div
9773
- class=${L({
9774
- [E.expansion]: !0,
9775
- [E.expansionNotExpanded]: !this.expanded
9469
+ class=${E({
9470
+ [L.expansion]: !0,
9471
+ [L.expansionNotExpanded]: !this.expanded
9776
9472
  })}
9777
- aria-hidden=${_(this.expanded ? void 0 : !0)}
9473
+ aria-hidden=${q(this.expanded ? void 0 : !0)}
9778
9474
  >
9779
9475
  ${this._expandableSlot}
9780
9476
  </div>`}
9781
9477
  </div>`;
9782
9478
  }
9783
9479
  }
9784
- $(Yr, "properties", {
9480
+ $(xr, "properties", {
9785
9481
  expanded: { type: Boolean, reflect: !0 },
9786
9482
  title: { type: String },
9787
9483
  info: { type: Boolean },
@@ -9797,8 +9493,8 @@ $(Yr, "properties", {
9797
9493
  // ::slotted([Simple Selector]) confirms to Specificity rules, but (being simple) does not add weight to lightDOM skin selectors,
9798
9494
  // so never gets higher Specificity. Thus in order to overwrite style linked within shadowDOM, we need to use !important.
9799
9495
  // https://stackoverflow.com/a/61631668
9800
- $(Yr, "styles", [
9801
- A`
9496
+ $(xr, "styles", [
9497
+ S`
9802
9498
  /* layer: preflights */
9803
9499
  *,::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;}
9804
9500
  *,: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}
@@ -10455,8 +10151,8 @@ $(Yr, "styles", [
10455
10151
  }
10456
10152
  `
10457
10153
  ]);
10458
- customElements.get("w-expandable") || customElements.define("w-expandable", Yr);
10459
- const la = v`
10154
+ customElements.get("w-expandable") || customElements.define("w-expandable", xr);
10155
+ const Bt = v`
10460
10156
  <svg
10461
10157
  role="img"
10462
10158
  aria-label="X"
@@ -10473,7 +10169,7 @@ const la = v`
10473
10169
  clipRule="evenodd"
10474
10170
  />
10475
10171
  </svg>
10476
- `, da = v`
10172
+ `, Rt = v`
10477
10173
  <svg
10478
10174
  role="img"
10479
10175
  aria-label="Forstørrelsesglass"
@@ -10499,12 +10195,12 @@ const la = v`
10499
10195
  </defs>
10500
10196
  </svg>
10501
10197
  `;
10502
- class jr extends X {
10198
+ class mr extends Z {
10503
10199
  get _classBase() {
10504
- return this.slot === "suffix" ? st : gt;
10200
+ return this.slot === "suffix" ? Re : De;
10505
10201
  }
10506
10202
  get _classes() {
10507
- return L({
10203
+ return E({
10508
10204
  [this._classBase.wrapper]: !0,
10509
10205
  [this._classBase.wrapperWithLabel]: this.label,
10510
10206
  [this._classBase.wrapperWithIcon]: !this.label
@@ -10512,15 +10208,15 @@ class jr extends X {
10512
10208
  }
10513
10209
  get _searchButton() {
10514
10210
  return v`
10515
- <button aria-label="${_(this.ariaLabel)}" class="${this._classes}" type="submit">
10516
- ${da}
10211
+ <button aria-label="${q(this.ariaLabel)}" class="${this._classes}" type="submit">
10212
+ ${Rt}
10517
10213
  </button>
10518
10214
  `;
10519
10215
  }
10520
10216
  get _clearButton() {
10521
10217
  return v`
10522
- <button aria-label="${_(this.ariaLabel)}" class="${this._classes}" type="reset">
10523
- ${la}
10218
+ <button aria-label="${q(this.ariaLabel)}" class="${this._classes}" type="reset">
10219
+ ${Bt}
10524
10220
  </button>
10525
10221
  `;
10526
10222
  }
@@ -10543,7 +10239,7 @@ class jr extends X {
10543
10239
  return v`${this._markup}`;
10544
10240
  }
10545
10241
  }
10546
- $(jr, "styles", A`
10242
+ $(mr, "styles", S`
10547
10243
  /* layer: preflights */
10548
10244
  *,::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;}
10549
10245
  *,: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}
@@ -11192,18 +10888,18 @@ $(jr, "styles", A`
11192
10888
  .sm\\:pb-32{padding-bottom:3.2rem;}
11193
10889
  .sm\\:pt-32{padding-top:3.2rem;}
11194
10890
  }
11195
- `), $(jr, "properties", {
10891
+ `), $(mr, "properties", {
11196
10892
  ariaLabel: { type: String, attribute: "aria-label" },
11197
10893
  clear: { type: Boolean },
11198
10894
  search: { type: Boolean },
11199
10895
  label: { type: String }
11200
10896
  });
11201
- customElements.get("w-affix") || customElements.define("w-affix", jr);
11202
- const Je = A`
10897
+ customElements.get("w-affix") || customElements.define("w-affix", mr);
10898
+ const Ce = S`
11203
10899
  @import "https://assets.finn.no/pkg/@warp-ds/fonts/v1/finn-no.css";
11204
10900
  @import "https://assets.finn.no/pkg/@warp-ds/css/v1/tokens/finn-no.css";
11205
10901
  `;
11206
- class Zr extends X {
10902
+ class kr extends Z {
11207
10903
  constructor() {
11208
10904
  super(), this.show = !1, this._mounted = !1, this._removeElement = !1;
11209
10905
  }
@@ -11216,27 +10912,27 @@ class Zr extends X {
11216
10912
  this._mounted = !0;
11217
10913
  return;
11218
10914
  }
11219
- this.show && Be(this._wrapper), !this.show && !this._removeElement && De(this._wrapper, () => this._removeElement = !0);
10915
+ this.show && fe(this._wrapper), !this.show && !this._removeElement && $e(this._wrapper, () => this._removeElement = !0);
11220
10916
  }
11221
10917
  }
11222
10918
  get _wrapper() {
11223
10919
  return this ?? null;
11224
10920
  }
11225
10921
  render() {
11226
- return v`<div aria-hidden=${_(this.show ? void 0 : "true")}>
10922
+ return v`<div aria-hidden=${q(this.show ? void 0 : "true")}>
11227
10923
  ${this._removeElement ? v`` : v`<slot></slot>`}
11228
10924
  </div>`;
11229
10925
  }
11230
10926
  }
11231
- $(Zr, "properties", {
10927
+ $(kr, "properties", {
11232
10928
  show: {
11233
10929
  type: Boolean,
11234
10930
  reflect: !0
11235
10931
  },
11236
10932
  _removeElement: { type: Boolean, state: !0 }
11237
- }), $(Zr, "styles", [
11238
- Je,
11239
- A`
10933
+ }), $(kr, "styles", [
10934
+ Ce,
10935
+ S`
11240
10936
  /* layer: preflights */
11241
10937
  *,::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;}
11242
10938
  *,: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}
@@ -11890,8 +11586,8 @@ $(Zr, "properties", {
11890
11586
  }
11891
11587
  `
11892
11588
  ]);
11893
- customElements.get("w-expand-transition") || customElements.define("w-expand-transition", Zr);
11894
- class Sr extends X {
11589
+ customElements.get("w-expand-transition") || customElements.define("w-expand-transition", kr);
11590
+ class fr extends Z {
11895
11591
  get _markup() {
11896
11592
  return `<h${this.level}
11897
11593
  style="margin: 0; font-weight: unset; font-size: unset; line-height: unset;"
@@ -11901,12 +11597,12 @@ class Sr extends X {
11901
11597
  `;
11902
11598
  }
11903
11599
  render() {
11904
- return this.level ? Ae(this._markup) : v`<slot></slot>`;
11600
+ return this.level ? ue(this._markup) : v`<slot></slot>`;
11905
11601
  }
11906
11602
  }
11907
- $(Sr, "properties", {
11603
+ $(fr, "properties", {
11908
11604
  level: { type: Number }
11909
- }), $(Sr, "styles", [Je, A`
11605
+ }), $(fr, "styles", [Ce, S`
11910
11606
  /* layer: preflights */
11911
11607
  *,::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;}
11912
11608
  *,: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}
@@ -12556,24 +12252,24 @@ $(Sr, "properties", {
12556
12252
  .sm\\:pt-32{padding-top:3.2rem;}
12557
12253
  }
12558
12254
  `]);
12559
- customElements.get("w-unstyled-heading") || customElements.define("w-unstyled-heading", Sr);
12255
+ customElements.get("w-unstyled-heading") || customElements.define("w-unstyled-heading", fr);
12560
12256
  export {
12561
- Zr as ExpandTransition,
12562
- Sr as UnstyledHeading,
12563
- jr as WarpAffix,
12564
- hr as WarpAlert,
12565
- qr as WarpAttention,
12566
- mr as WarpBox,
12567
- kr as WarpBreadcrumbs,
12568
- yr as WarpBroadcast,
12569
- To as WarpButton,
12570
- pr as WarpCard,
12571
- Yr as WarpExpandable,
12572
- xr as WarpSelect,
12573
- Xr as WarpTextField,
12574
- fr as WarpToast,
12575
- $r as WarpToastContainer,
12576
- ma as removeToast,
12577
- xa as toast,
12578
- ka as updateToast
12257
+ kr as ExpandTransition,
12258
+ fr as UnstyledHeading,
12259
+ mr as WarpAffix,
12260
+ cr as WarpAlert,
12261
+ pr as WarpAttention,
12262
+ nr as WarpBox,
12263
+ br as WarpBreadcrumbs,
12264
+ ur as WarpBroadcast,
12265
+ Lo as WarpButton,
12266
+ ir as WarpCard,
12267
+ xr as WarpExpandable,
12268
+ dr as WarpSelect,
12269
+ wr as WarpTextField,
12270
+ sr as WarpToast,
12271
+ gr as WarpToastContainer,
12272
+ Wt as removeToast,
12273
+ Ft as toast,
12274
+ Ut as updateToast
12579
12275
  };