@florid-kit/components 0.8.15 → 0.8.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.mjs CHANGED
@@ -3,18 +3,18 @@
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
- const dt = globalThis, St = dt.ShadowRoot && (dt.ShadyCSS === void 0 || dt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Et = Symbol(), Nt = /* @__PURE__ */ new WeakMap();
6
+ const pt = globalThis, St = pt.ShadowRoot && (pt.ShadyCSS === void 0 || pt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Et = Symbol(), Nt = /* @__PURE__ */ new WeakMap();
7
7
  let Yt = class {
8
- constructor(t, e, r) {
9
- if (this._$cssResult$ = !0, r !== Et) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
8
+ constructor(t, e, i) {
9
+ if (this._$cssResult$ = !0, i !== Et) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
10
10
  this.cssText = t, this.t = e;
11
11
  }
12
12
  get styleSheet() {
13
13
  let t = this.o;
14
14
  const e = this.t;
15
15
  if (St && t === void 0) {
16
- const r = e !== void 0 && e.length === 1;
17
- r && (t = Nt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), r && Nt.set(e, t));
16
+ const i = e !== void 0 && e.length === 1;
17
+ i && (t = Nt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Nt.set(e, t));
18
18
  }
19
19
  return t;
20
20
  }
@@ -22,22 +22,22 @@ let Yt = class {
22
22
  return this.cssText;
23
23
  }
24
24
  };
25
- const se = (o) => new Yt(typeof o == "string" ? o : o + "", void 0, Et), y = (o, ...t) => {
26
- const e = o.length === 1 ? o[0] : t.reduce((r, i, n) => r + ((s) => {
25
+ const se = (o) => new Yt(typeof o == "string" ? o : o + "", void 0, Et), g = (o, ...t) => {
26
+ const e = o.length === 1 ? o[0] : t.reduce((i, r, n) => i + ((s) => {
27
27
  if (s._$cssResult$ === !0) return s.cssText;
28
28
  if (typeof s == "number") return s;
29
29
  throw Error("Value passed to 'css' function must be a 'css' function result: " + s + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
30
- })(i) + o[n + 1], o[0]);
30
+ })(r) + o[n + 1], o[0]);
31
31
  return new Yt(e, o, Et);
32
32
  }, ae = (o, t) => {
33
33
  if (St) o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
34
34
  else for (const e of t) {
35
- const r = document.createElement("style"), i = dt.litNonce;
36
- i !== void 0 && r.setAttribute("nonce", i), r.textContent = e.cssText, o.appendChild(r);
35
+ const i = document.createElement("style"), r = pt.litNonce;
36
+ r !== void 0 && i.setAttribute("nonce", r), i.textContent = e.cssText, o.appendChild(i);
37
37
  }
38
38
  }, Ft = St ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
39
39
  let e = "";
40
- for (const r of t.cssRules) e += r.cssText;
40
+ for (const i of t.cssRules) e += i.cssText;
41
41
  return se(e);
42
42
  })(o) : o;
43
43
  /**
@@ -45,7 +45,7 @@ const se = (o) => new Yt(typeof o == "string" ? o : o + "", void 0, Et), y = (o,
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: le, defineProperty: ce, getOwnPropertyDescriptor: he, getOwnPropertyNames: de, getOwnPropertySymbols: pe, getPrototypeOf: ue } = Object, M = globalThis, Rt = M.trustedTypes, ve = Rt ? Rt.emptyScript : "", mt = M.reactiveElementPolyfillSupport, tt = (o, t) => o, pt = { toAttribute(o, t) {
48
+ const { is: le, defineProperty: ce, getOwnPropertyDescriptor: he, getOwnPropertyNames: de, getOwnPropertySymbols: pe, getPrototypeOf: ue } = Object, M = globalThis, Rt = M.trustedTypes, ve = Rt ? Rt.emptyScript : "", mt = M.reactiveElementPolyfillSupport, tt = (o, t) => o, ut = { toAttribute(o, t) {
49
49
  switch (t) {
50
50
  case Boolean:
51
51
  o = o ? ve : null;
@@ -73,7 +73,7 @@ const { is: le, defineProperty: ce, getOwnPropertyDescriptor: he, getOwnProperty
73
73
  }
74
74
  }
75
75
  return e;
76
- } }, Lt = (o, t) => !le(o, t), Vt = { attribute: !0, type: String, converter: pt, reflect: !1, useDefault: !1, hasChanged: Lt };
76
+ } }, Lt = (o, t) => !le(o, t), Vt = { attribute: !0, type: String, converter: ut, reflect: !1, useDefault: !1, hasChanged: Lt };
77
77
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), M.litPropertyMetadata ?? (M.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
78
  let G = class extends HTMLElement {
79
79
  static addInitializer(t) {
@@ -84,19 +84,19 @@ let G = class extends HTMLElement {
84
84
  }
85
85
  static createProperty(t, e = Vt) {
86
86
  if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
87
- const r = Symbol(), i = this.getPropertyDescriptor(t, r, e);
88
- i !== void 0 && ce(this.prototype, t, i);
87
+ const i = Symbol(), r = this.getPropertyDescriptor(t, i, e);
88
+ r !== void 0 && ce(this.prototype, t, r);
89
89
  }
90
90
  }
91
- static getPropertyDescriptor(t, e, r) {
92
- const { get: i, set: n } = he(this.prototype, t) ?? { get() {
91
+ static getPropertyDescriptor(t, e, i) {
92
+ const { get: r, set: n } = he(this.prototype, t) ?? { get() {
93
93
  return this[e];
94
94
  }, set(s) {
95
95
  this[e] = s;
96
96
  } };
97
- return { get: i, set(s) {
98
- const h = i == null ? void 0 : i.call(this);
99
- n == null || n.call(this, s), this.requestUpdate(t, h, r);
97
+ return { get: r, set(s) {
98
+ const h = r == null ? void 0 : r.call(this);
99
+ n == null || n.call(this, s), this.requestUpdate(t, h, i);
100
100
  }, configurable: !0, enumerable: !0 };
101
101
  }
102
102
  static getPropertyOptions(t) {
@@ -110,32 +110,32 @@ let G = class extends HTMLElement {
110
110
  static finalize() {
111
111
  if (this.hasOwnProperty(tt("finalized"))) return;
112
112
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(tt("properties"))) {
113
- const e = this.properties, r = [...de(e), ...pe(e)];
114
- for (const i of r) this.createProperty(i, e[i]);
113
+ const e = this.properties, i = [...de(e), ...pe(e)];
114
+ for (const r of i) this.createProperty(r, e[r]);
115
115
  }
116
116
  const t = this[Symbol.metadata];
117
117
  if (t !== null) {
118
118
  const e = litPropertyMetadata.get(t);
119
- if (e !== void 0) for (const [r, i] of e) this.elementProperties.set(r, i);
119
+ if (e !== void 0) for (const [i, r] of e) this.elementProperties.set(i, r);
120
120
  }
121
121
  this._$Eh = /* @__PURE__ */ new Map();
122
- for (const [e, r] of this.elementProperties) {
123
- const i = this._$Eu(e, r);
124
- i !== void 0 && this._$Eh.set(i, e);
122
+ for (const [e, i] of this.elementProperties) {
123
+ const r = this._$Eu(e, i);
124
+ r !== void 0 && this._$Eh.set(r, e);
125
125
  }
126
126
  this.elementStyles = this.finalizeStyles(this.styles);
127
127
  }
128
128
  static finalizeStyles(t) {
129
129
  const e = [];
130
130
  if (Array.isArray(t)) {
131
- const r = new Set(t.flat(1 / 0).reverse());
132
- for (const i of r) e.unshift(Ft(i));
131
+ const i = new Set(t.flat(1 / 0).reverse());
132
+ for (const r of i) e.unshift(Ft(r));
133
133
  } else t !== void 0 && e.push(Ft(t));
134
134
  return e;
135
135
  }
136
136
  static _$Eu(t, e) {
137
- const r = e.attribute;
138
- return r === !1 ? void 0 : typeof r == "string" ? r : typeof t == "string" ? t.toLowerCase() : void 0;
137
+ const i = e.attribute;
138
+ return i === !1 ? void 0 : typeof i == "string" ? i : typeof t == "string" ? t.toLowerCase() : void 0;
139
139
  }
140
140
  constructor() {
141
141
  super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
@@ -154,7 +154,7 @@ let G = class extends HTMLElement {
154
154
  }
155
155
  _$E_() {
156
156
  const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
157
- for (const r of e.keys()) this.hasOwnProperty(r) && (t.set(r, this[r]), delete this[r]);
157
+ for (const i of e.keys()) this.hasOwnProperty(i) && (t.set(i, this[i]), delete this[i]);
158
158
  t.size > 0 && (this._$Ep = t);
159
159
  }
160
160
  createRenderRoot() {
@@ -164,8 +164,8 @@ let G = class extends HTMLElement {
164
164
  connectedCallback() {
165
165
  var t;
166
166
  this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$EO) == null || t.forEach((e) => {
167
- var r;
168
- return (r = e.hostConnected) == null ? void 0 : r.call(e);
167
+ var i;
168
+ return (i = e.hostConnected) == null ? void 0 : i.call(e);
169
169
  });
170
170
  }
171
171
  enableUpdating(t) {
@@ -173,40 +173,40 @@ let G = class extends HTMLElement {
173
173
  disconnectedCallback() {
174
174
  var t;
175
175
  (t = this._$EO) == null || t.forEach((e) => {
176
- var r;
177
- return (r = e.hostDisconnected) == null ? void 0 : r.call(e);
176
+ var i;
177
+ return (i = e.hostDisconnected) == null ? void 0 : i.call(e);
178
178
  });
179
179
  }
180
- attributeChangedCallback(t, e, r) {
181
- this._$AK(t, r);
180
+ attributeChangedCallback(t, e, i) {
181
+ this._$AK(t, i);
182
182
  }
183
183
  _$ET(t, e) {
184
184
  var n;
185
- const r = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, r);
186
- if (i !== void 0 && r.reflect === !0) {
187
- const s = (((n = r.converter) == null ? void 0 : n.toAttribute) !== void 0 ? r.converter : pt).toAttribute(e, r.type);
188
- this._$Em = t, s == null ? this.removeAttribute(i) : this.setAttribute(i, s), this._$Em = null;
185
+ const i = this.constructor.elementProperties.get(t), r = this.constructor._$Eu(t, i);
186
+ if (r !== void 0 && i.reflect === !0) {
187
+ const s = (((n = i.converter) == null ? void 0 : n.toAttribute) !== void 0 ? i.converter : ut).toAttribute(e, i.type);
188
+ this._$Em = t, s == null ? this.removeAttribute(r) : this.setAttribute(r, s), this._$Em = null;
189
189
  }
190
190
  }
191
191
  _$AK(t, e) {
192
192
  var n, s;
193
- const r = this.constructor, i = r._$Eh.get(t);
194
- if (i !== void 0 && this._$Em !== i) {
195
- const h = r.getPropertyOptions(i), c = typeof h.converter == "function" ? { fromAttribute: h.converter } : ((n = h.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? h.converter : pt;
196
- this._$Em = i, this[i] = c.fromAttribute(e, h.type) ?? ((s = this._$Ej) == null ? void 0 : s.get(i)) ?? null, this._$Em = null;
193
+ const i = this.constructor, r = i._$Eh.get(t);
194
+ if (r !== void 0 && this._$Em !== r) {
195
+ const h = i.getPropertyOptions(r), c = typeof h.converter == "function" ? { fromAttribute: h.converter } : ((n = h.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? h.converter : ut;
196
+ this._$Em = r, this[r] = c.fromAttribute(e, h.type) ?? ((s = this._$Ej) == null ? void 0 : s.get(r)) ?? null, this._$Em = null;
197
197
  }
198
198
  }
199
- requestUpdate(t, e, r) {
200
- var i;
199
+ requestUpdate(t, e, i) {
200
+ var r;
201
201
  if (t !== void 0) {
202
202
  const n = this.constructor, s = this[t];
203
- if (r ?? (r = n.getPropertyOptions(t)), !((r.hasChanged ?? Lt)(s, e) || r.useDefault && r.reflect && s === ((i = this._$Ej) == null ? void 0 : i.get(t)) && !this.hasAttribute(n._$Eu(t, r)))) return;
204
- this.C(t, e, r);
203
+ if (i ?? (i = n.getPropertyOptions(t)), !((i.hasChanged ?? Lt)(s, e) || i.useDefault && i.reflect && s === ((r = this._$Ej) == null ? void 0 : r.get(t)) && !this.hasAttribute(n._$Eu(t, i)))) return;
204
+ this.C(t, e, i);
205
205
  }
206
206
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
207
207
  }
208
- C(t, e, { useDefault: r, reflect: i, wrapped: n }, s) {
209
- r && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, s ?? e ?? this[t]), n !== !0 || s !== void 0) || (this._$AL.has(t) || (this.hasUpdated || r || (e = void 0), this._$AL.set(t, e)), i === !0 && this._$Em !== t && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t));
208
+ C(t, e, { useDefault: i, reflect: r, wrapped: n }, s) {
209
+ i && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, s ?? e ?? this[t]), n !== !0 || s !== void 0) || (this._$AL.has(t) || (this.hasUpdated || i || (e = void 0), this._$AL.set(t, e)), r === !0 && this._$Em !== t && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t));
210
210
  }
211
211
  async _$EP() {
212
212
  this.isUpdatePending = !0;
@@ -222,15 +222,15 @@ let G = class extends HTMLElement {
222
222
  return this.performUpdate();
223
223
  }
224
224
  performUpdate() {
225
- var r;
225
+ var i;
226
226
  if (!this.isUpdatePending) return;
227
227
  if (!this.hasUpdated) {
228
228
  if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
229
229
  for (const [n, s] of this._$Ep) this[n] = s;
230
230
  this._$Ep = void 0;
231
231
  }
232
- const i = this.constructor.elementProperties;
233
- if (i.size > 0) for (const [n, s] of i) {
232
+ const r = this.constructor.elementProperties;
233
+ if (r.size > 0) for (const [n, s] of r) {
234
234
  const { wrapped: h } = s, c = this[n];
235
235
  h !== !0 || this._$AL.has(n) || c === void 0 || this.C(n, void 0, s, c);
236
236
  }
@@ -238,12 +238,12 @@ let G = class extends HTMLElement {
238
238
  let t = !1;
239
239
  const e = this._$AL;
240
240
  try {
241
- t = this.shouldUpdate(e), t ? (this.willUpdate(e), (r = this._$EO) == null || r.forEach((i) => {
241
+ t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$EO) == null || i.forEach((r) => {
242
242
  var n;
243
- return (n = i.hostUpdate) == null ? void 0 : n.call(i);
243
+ return (n = r.hostUpdate) == null ? void 0 : n.call(r);
244
244
  }), this.update(e)) : this._$EM();
245
- } catch (i) {
246
- throw t = !1, this._$EM(), i;
245
+ } catch (r) {
246
+ throw t = !1, this._$EM(), r;
247
247
  }
248
248
  t && this._$AE(e);
249
249
  }
@@ -251,9 +251,9 @@ let G = class extends HTMLElement {
251
251
  }
252
252
  _$AE(t) {
253
253
  var e;
254
- (e = this._$EO) == null || e.forEach((r) => {
255
- var i;
256
- return (i = r.hostUpdated) == null ? void 0 : i.call(r);
254
+ (e = this._$EO) == null || e.forEach((i) => {
255
+ var r;
256
+ return (r = i.hostUpdated) == null ? void 0 : r.call(i);
257
257
  }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
258
258
  }
259
259
  _$EM() {
@@ -282,68 +282,68 @@ G.elementStyles = [], G.shadowRootOptions = { mode: "open" }, G[tt("elementPrope
282
282
  * Copyright 2017 Google LLC
283
283
  * SPDX-License-Identifier: BSD-3-Clause
284
284
  */
285
- const et = globalThis, ut = et.trustedTypes, Zt = ut ? ut.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, te = "$lit$", H = `lit$${Math.random().toFixed(9).slice(2)}$`, ee = "?" + H, be = `<${ee}>`, V = document, it = () => V.createComment(""), rt = (o) => o === null || typeof o != "object" && typeof o != "function", It = Array.isArray, fe = (o) => It(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", xt = `[
285
+ const et = globalThis, vt = et.trustedTypes, Zt = vt ? vt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, te = "$lit$", H = `lit$${Math.random().toFixed(9).slice(2)}$`, ee = "?" + H, be = `<${ee}>`, V = document, rt = () => V.createComment(""), it = (o) => o === null || typeof o != "object" && typeof o != "function", It = Array.isArray, fe = (o) => It(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", xt = `[
286
286
  \f\r]`, Y = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, qt = /-->/g, Wt = />/g, N = RegExp(`>|${xt}(?:([^\\s"'>=/]+)(${xt}*=${xt}*(?:[^
287
287
  \f\r"'\`<>=]|("|')|))|$)`, "g"), Kt = /'/g, Gt = /"/g, oe = /^(?:script|style|textarea|title)$/i, ge = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = ge(1), T = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), Xt = /* @__PURE__ */ new WeakMap(), F = V.createTreeWalker(V, 129);
288
- function ie(o, t) {
288
+ function re(o, t) {
289
289
  if (!It(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
290
290
  return Zt !== void 0 ? Zt.createHTML(t) : t;
291
291
  }
292
292
  const ye = (o, t) => {
293
- const e = o.length - 1, r = [];
294
- let i, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = Y;
293
+ const e = o.length - 1, i = [];
294
+ let r, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = Y;
295
295
  for (let h = 0; h < e; h++) {
296
296
  const c = o[h];
297
297
  let f, m, p = -1, P = 0;
298
- for (; P < c.length && (s.lastIndex = P, m = s.exec(c), m !== null); ) P = s.lastIndex, s === Y ? m[1] === "!--" ? s = qt : m[1] !== void 0 ? s = Wt : m[2] !== void 0 ? (oe.test(m[2]) && (i = RegExp("</" + m[2], "g")), s = N) : m[3] !== void 0 && (s = N) : s === N ? m[0] === ">" ? (s = i ?? Y, p = -1) : m[1] === void 0 ? p = -2 : (p = s.lastIndex - m[2].length, f = m[1], s = m[3] === void 0 ? N : m[3] === '"' ? Gt : Kt) : s === Gt || s === Kt ? s = N : s === qt || s === Wt ? s = Y : (s = N, i = void 0);
298
+ for (; P < c.length && (s.lastIndex = P, m = s.exec(c), m !== null); ) P = s.lastIndex, s === Y ? m[1] === "!--" ? s = qt : m[1] !== void 0 ? s = Wt : m[2] !== void 0 ? (oe.test(m[2]) && (r = RegExp("</" + m[2], "g")), s = N) : m[3] !== void 0 && (s = N) : s === N ? m[0] === ">" ? (s = r ?? Y, p = -1) : m[1] === void 0 ? p = -2 : (p = s.lastIndex - m[2].length, f = m[1], s = m[3] === void 0 ? N : m[3] === '"' ? Gt : Kt) : s === Gt || s === Kt ? s = N : s === qt || s === Wt ? s = Y : (s = N, r = void 0);
299
299
  const D = s === N && o[h + 1].startsWith("/>") ? " " : "";
300
- n += s === Y ? c + be : p >= 0 ? (r.push(f), c.slice(0, p) + te + c.slice(p) + H + D) : c + H + (p === -2 ? h : D);
300
+ n += s === Y ? c + be : p >= 0 ? (i.push(f), c.slice(0, p) + te + c.slice(p) + H + D) : c + H + (p === -2 ? h : D);
301
301
  }
302
- return [ie(o, n + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), r];
302
+ return [re(o, n + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
303
303
  };
304
304
  class nt {
305
- constructor({ strings: t, _$litType$: e }, r) {
306
- let i;
305
+ constructor({ strings: t, _$litType$: e }, i) {
306
+ let r;
307
307
  this.parts = [];
308
308
  let n = 0, s = 0;
309
309
  const h = t.length - 1, c = this.parts, [f, m] = ye(t, e);
310
- if (this.el = nt.createElement(f, r), F.currentNode = this.el.content, e === 2 || e === 3) {
310
+ if (this.el = nt.createElement(f, i), F.currentNode = this.el.content, e === 2 || e === 3) {
311
311
  const p = this.el.content.firstChild;
312
312
  p.replaceWith(...p.childNodes);
313
313
  }
314
- for (; (i = F.nextNode()) !== null && c.length < h; ) {
315
- if (i.nodeType === 1) {
316
- if (i.hasAttributes()) for (const p of i.getAttributeNames()) if (p.endsWith(te)) {
317
- const P = m[s++], D = i.getAttribute(p).split(H), ht = /([.?@])?(.*)/.exec(P);
318
- c.push({ type: 1, index: n, name: ht[2], strings: D, ctor: ht[1] === "." ? xe : ht[1] === "?" ? we : ht[1] === "@" ? $e : ft }), i.removeAttribute(p);
319
- } else p.startsWith(H) && (c.push({ type: 6, index: n }), i.removeAttribute(p));
320
- if (oe.test(i.tagName)) {
321
- const p = i.textContent.split(H), P = p.length - 1;
314
+ for (; (r = F.nextNode()) !== null && c.length < h; ) {
315
+ if (r.nodeType === 1) {
316
+ if (r.hasAttributes()) for (const p of r.getAttributeNames()) if (p.endsWith(te)) {
317
+ const P = m[s++], D = r.getAttribute(p).split(H), dt = /([.?@])?(.*)/.exec(P);
318
+ c.push({ type: 1, index: n, name: dt[2], strings: D, ctor: dt[1] === "." ? xe : dt[1] === "?" ? we : dt[1] === "@" ? $e : ft }), r.removeAttribute(p);
319
+ } else p.startsWith(H) && (c.push({ type: 6, index: n }), r.removeAttribute(p));
320
+ if (oe.test(r.tagName)) {
321
+ const p = r.textContent.split(H), P = p.length - 1;
322
322
  if (P > 0) {
323
- i.textContent = ut ? ut.emptyScript : "";
324
- for (let D = 0; D < P; D++) i.append(p[D], it()), F.nextNode(), c.push({ type: 2, index: ++n });
325
- i.append(p[P], it());
323
+ r.textContent = vt ? vt.emptyScript : "";
324
+ for (let D = 0; D < P; D++) r.append(p[D], rt()), F.nextNode(), c.push({ type: 2, index: ++n });
325
+ r.append(p[P], rt());
326
326
  }
327
327
  }
328
- } else if (i.nodeType === 8) if (i.data === ee) c.push({ type: 2, index: n });
328
+ } else if (r.nodeType === 8) if (r.data === ee) c.push({ type: 2, index: n });
329
329
  else {
330
330
  let p = -1;
331
- for (; (p = i.data.indexOf(H, p + 1)) !== -1; ) c.push({ type: 7, index: n }), p += H.length - 1;
331
+ for (; (p = r.data.indexOf(H, p + 1)) !== -1; ) c.push({ type: 7, index: n }), p += H.length - 1;
332
332
  }
333
333
  n++;
334
334
  }
335
335
  }
336
336
  static createElement(t, e) {
337
- const r = V.createElement("template");
338
- return r.innerHTML = t, r;
337
+ const i = V.createElement("template");
338
+ return i.innerHTML = t, i;
339
339
  }
340
340
  }
341
- function X(o, t, e = o, r) {
341
+ function X(o, t, e = o, i) {
342
342
  var s, h;
343
343
  if (t === T) return t;
344
- let i = r !== void 0 ? (s = e._$Co) == null ? void 0 : s[r] : e._$Cl;
345
- const n = rt(t) ? void 0 : t._$litDirective$;
346
- return (i == null ? void 0 : i.constructor) !== n && ((h = i == null ? void 0 : i._$AO) == null || h.call(i, !1), n === void 0 ? i = void 0 : (i = new n(o), i._$AT(o, e, r)), r !== void 0 ? (e._$Co ?? (e._$Co = []))[r] = i : e._$Cl = i), i !== void 0 && (t = X(o, i._$AS(o, t.values), i, r)), t;
344
+ let r = i !== void 0 ? (s = e._$Co) == null ? void 0 : s[i] : e._$Cl;
345
+ const n = it(t) ? void 0 : t._$litDirective$;
346
+ return (r == null ? void 0 : r.constructor) !== n && ((h = r == null ? void 0 : r._$AO) == null || h.call(r, !1), n === void 0 ? r = void 0 : (r = new n(o), r._$AT(o, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = r : e._$Cl = r), r !== void 0 && (t = X(o, r._$AS(o, t.values), r, i)), t;
347
347
  }
348
348
  class me {
349
349
  constructor(t, e) {
@@ -356,30 +356,30 @@ class me {
356
356
  return this._$AM._$AU;
357
357
  }
358
358
  u(t) {
359
- const { el: { content: e }, parts: r } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? V).importNode(e, !0);
360
- F.currentNode = i;
361
- let n = F.nextNode(), s = 0, h = 0, c = r[0];
359
+ const { el: { content: e }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? V).importNode(e, !0);
360
+ F.currentNode = r;
361
+ let n = F.nextNode(), s = 0, h = 0, c = i[0];
362
362
  for (; c !== void 0; ) {
363
363
  if (s === c.index) {
364
364
  let f;
365
- c.type === 2 ? f = new ct(n, n.nextSibling, this, t) : c.type === 1 ? f = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (f = new _e(n, this, t)), this._$AV.push(f), c = r[++h];
365
+ c.type === 2 ? f = new ht(n, n.nextSibling, this, t) : c.type === 1 ? f = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (f = new _e(n, this, t)), this._$AV.push(f), c = i[++h];
366
366
  }
367
367
  s !== (c == null ? void 0 : c.index) && (n = F.nextNode(), s++);
368
368
  }
369
- return F.currentNode = V, i;
369
+ return F.currentNode = V, r;
370
370
  }
371
371
  p(t) {
372
372
  let e = 0;
373
- for (const r of this._$AV) r !== void 0 && (r.strings !== void 0 ? (r._$AI(t, r, e), e += r.strings.length - 2) : r._$AI(t[e])), e++;
373
+ for (const i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
374
374
  }
375
375
  }
376
- class ct {
376
+ class ht {
377
377
  get _$AU() {
378
378
  var t;
379
379
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
380
380
  }
381
- constructor(t, e, r, i) {
382
- this.type = 2, this._$AH = d, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = r, this.options = i, this._$Cv = (i == null ? void 0 : i.isConnected) ?? !0;
381
+ constructor(t, e, i, r) {
382
+ this.type = 2, this._$AH = d, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = r, this._$Cv = (r == null ? void 0 : r.isConnected) ?? !0;
383
383
  }
384
384
  get parentNode() {
385
385
  let t = this._$AA.parentNode;
@@ -393,7 +393,7 @@ class ct {
393
393
  return this._$AB;
394
394
  }
395
395
  _$AI(t, e = this) {
396
- t = X(this, t, e), rt(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== T && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : fe(t) ? this.k(t) : this._(t);
396
+ t = X(this, t, e), it(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== T && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : fe(t) ? this.k(t) : this._(t);
397
397
  }
398
398
  O(t) {
399
399
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -402,14 +402,14 @@ class ct {
402
402
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
403
403
  }
404
404
  _(t) {
405
- this._$AH !== d && rt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(V.createTextNode(t)), this._$AH = t;
405
+ this._$AH !== d && it(this._$AH) ? this._$AA.nextSibling.data = t : this.T(V.createTextNode(t)), this._$AH = t;
406
406
  }
407
407
  $(t) {
408
408
  var n;
409
- const { values: e, _$litType$: r } = t, i = typeof r == "number" ? this._$AC(t) : (r.el === void 0 && (r.el = nt.createElement(ie(r.h, r.h[0]), this.options)), r);
410
- if (((n = this._$AH) == null ? void 0 : n._$AD) === i) this._$AH.p(e);
409
+ const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = nt.createElement(re(i.h, i.h[0]), this.options)), i);
410
+ if (((n = this._$AH) == null ? void 0 : n._$AD) === r) this._$AH.p(e);
411
411
  else {
412
- const s = new me(i, this), h = s.u(this.options);
412
+ const s = new me(r, this), h = s.u(this.options);
413
413
  s.p(e), this.T(h), this._$AH = s;
414
414
  }
415
415
  }
@@ -420,15 +420,15 @@ class ct {
420
420
  k(t) {
421
421
  It(this._$AH) || (this._$AH = [], this._$AR());
422
422
  const e = this._$AH;
423
- let r, i = 0;
424
- for (const n of t) i === e.length ? e.push(r = new ct(this.O(it()), this.O(it()), this, this.options)) : r = e[i], r._$AI(n), i++;
425
- i < e.length && (this._$AR(r && r._$AB.nextSibling, i), e.length = i);
423
+ let i, r = 0;
424
+ for (const n of t) r === e.length ? e.push(i = new ht(this.O(rt()), this.O(rt()), this, this.options)) : i = e[r], i._$AI(n), r++;
425
+ r < e.length && (this._$AR(i && i._$AB.nextSibling, r), e.length = r);
426
426
  }
427
427
  _$AR(t = this._$AA.nextSibling, e) {
428
- var r;
429
- for ((r = this._$AP) == null ? void 0 : r.call(this, !1, !0, e); t && t !== this._$AB; ) {
430
- const i = t.nextSibling;
431
- t.remove(), t = i;
428
+ var i;
429
+ for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t && t !== this._$AB; ) {
430
+ const r = t.nextSibling;
431
+ t.remove(), t = r;
432
432
  }
433
433
  }
434
434
  setConnected(t) {
@@ -443,19 +443,19 @@ class ft {
443
443
  get _$AU() {
444
444
  return this._$AM._$AU;
445
445
  }
446
- constructor(t, e, r, i, n) {
447
- this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = n, r.length > 2 || r[0] !== "" || r[1] !== "" ? (this._$AH = Array(r.length - 1).fill(new String()), this.strings = r) : this._$AH = d;
446
+ constructor(t, e, i, r, n) {
447
+ this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = r, this.options = n, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = d;
448
448
  }
449
- _$AI(t, e = this, r, i) {
449
+ _$AI(t, e = this, i, r) {
450
450
  const n = this.strings;
451
451
  let s = !1;
452
- if (n === void 0) t = X(this, t, e, 0), s = !rt(t) || t !== this._$AH && t !== T, s && (this._$AH = t);
452
+ if (n === void 0) t = X(this, t, e, 0), s = !it(t) || t !== this._$AH && t !== T, s && (this._$AH = t);
453
453
  else {
454
454
  const h = t;
455
455
  let c, f;
456
- for (t = n[0], c = 0; c < n.length - 1; c++) f = X(this, h[r + c], e, c), f === T && (f = this._$AH[c]), s || (s = !rt(f) || f !== this._$AH[c]), f === d ? t = d : t !== d && (t += (f ?? "") + n[c + 1]), this._$AH[c] = f;
456
+ for (t = n[0], c = 0; c < n.length - 1; c++) f = X(this, h[i + c], e, c), f === T && (f = this._$AH[c]), s || (s = !it(f) || f !== this._$AH[c]), f === d ? t = d : t !== d && (t += (f ?? "") + n[c + 1]), this._$AH[c] = f;
457
457
  }
458
- s && !i && this.j(t);
458
+ s && !r && this.j(t);
459
459
  }
460
460
  j(t) {
461
461
  t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
@@ -478,13 +478,13 @@ class we extends ft {
478
478
  }
479
479
  }
480
480
  class $e extends ft {
481
- constructor(t, e, r, i, n) {
482
- super(t, e, r, i, n), this.type = 5;
481
+ constructor(t, e, i, r, n) {
482
+ super(t, e, i, r, n), this.type = 5;
483
483
  }
484
484
  _$AI(t, e = this) {
485
485
  if ((t = X(this, t, e, 0) ?? d) === T) return;
486
- const r = this._$AH, i = t === d && r !== d || t.capture !== r.capture || t.once !== r.once || t.passive !== r.passive, n = t !== d && (r === d || i);
487
- i && this.element.removeEventListener(this.name, this, r), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
486
+ const i = this._$AH, r = t === d && i !== d || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, n = t !== d && (i === d || r);
487
+ r && this.element.removeEventListener(this.name, this, i), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
488
488
  }
489
489
  handleEvent(t) {
490
490
  var e;
@@ -492,8 +492,8 @@ class $e extends ft {
492
492
  }
493
493
  }
494
494
  class _e {
495
- constructor(t, e, r) {
496
- this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = r;
495
+ constructor(t, e, i) {
496
+ this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
497
497
  }
498
498
  get _$AU() {
499
499
  return this._$AM._$AU;
@@ -503,15 +503,15 @@ class _e {
503
503
  }
504
504
  }
505
505
  const wt = et.litHtmlPolyfillSupport;
506
- wt == null || wt(nt, ct), (et.litHtmlVersions ?? (et.litHtmlVersions = [])).push("3.3.0");
507
- const ke = (o, t, e) => {
508
- const r = (e == null ? void 0 : e.renderBefore) ?? t;
509
- let i = r._$litPart$;
510
- if (i === void 0) {
506
+ wt == null || wt(nt, ht), (et.litHtmlVersions ?? (et.litHtmlVersions = [])).push("3.3.0");
507
+ const Ce = (o, t, e) => {
508
+ const i = (e == null ? void 0 : e.renderBefore) ?? t;
509
+ let r = i._$litPart$;
510
+ if (r === void 0) {
511
511
  const n = (e == null ? void 0 : e.renderBefore) ?? null;
512
- r._$litPart$ = i = new ct(t.insertBefore(it(), n), n, void 0, e ?? {});
512
+ i._$litPart$ = r = new ht(t.insertBefore(rt(), n), n, void 0, e ?? {});
513
513
  }
514
- return i._$AI(o), i;
514
+ return r._$AI(o), r;
515
515
  };
516
516
  /**
517
517
  * @license
@@ -530,7 +530,7 @@ let u = class extends G {
530
530
  }
531
531
  update(t) {
532
532
  const e = this.render();
533
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = ke(e, this.renderRoot, this.renderOptions);
533
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Ce(e, this.renderRoot, this.renderOptions);
534
534
  }
535
535
  connectedCallback() {
536
536
  var t;
@@ -564,10 +564,10 @@ const x = (o) => (t, e) => {
564
564
  * Copyright 2017 Google LLC
565
565
  * SPDX-License-Identifier: BSD-3-Clause
566
566
  */
567
- const Ce = { attribute: !0, type: String, converter: pt, reflect: !1, hasChanged: Lt }, Ae = (o = Ce, t, e) => {
568
- const { kind: r, metadata: i } = e;
569
- let n = globalThis.litPropertyMetadata.get(i);
570
- if (n === void 0 && globalThis.litPropertyMetadata.set(i, n = /* @__PURE__ */ new Map()), r === "setter" && ((o = Object.create(o)).wrapped = !0), n.set(e.name, o), r === "accessor") {
567
+ const ke = { attribute: !0, type: String, converter: ut, reflect: !1, hasChanged: Lt }, Ae = (o = ke, t, e) => {
568
+ const { kind: i, metadata: r } = e;
569
+ let n = globalThis.litPropertyMetadata.get(r);
570
+ if (n === void 0 && globalThis.litPropertyMetadata.set(r, n = /* @__PURE__ */ new Map()), i === "setter" && ((o = Object.create(o)).wrapped = !0), n.set(e.name, o), i === "accessor") {
571
571
  const { name: s } = e;
572
572
  return { set(h) {
573
573
  const c = t.get.call(this);
@@ -576,19 +576,19 @@ const Ce = { attribute: !0, type: String, converter: pt, reflect: !1, hasChanged
576
576
  return h !== void 0 && this.C(s, void 0, o, h), h;
577
577
  } };
578
578
  }
579
- if (r === "setter") {
579
+ if (i === "setter") {
580
580
  const { name: s } = e;
581
581
  return function(h) {
582
582
  const c = this[s];
583
583
  t.call(this, h), this.requestUpdate(s, c, o);
584
584
  };
585
585
  }
586
- throw Error("Unsupported decorator location: " + r);
586
+ throw Error("Unsupported decorator location: " + i);
587
587
  };
588
588
  function a(o) {
589
- return (t, e) => typeof e == "object" ? Ae(o, t, e) : ((r, i, n) => {
590
- const s = i.hasOwnProperty(n);
591
- return i.constructor.createProperty(n, r), s ? Object.getOwnPropertyDescriptor(i, n) : void 0;
589
+ return (t, e) => typeof e == "object" ? Ae(o, t, e) : ((i, r, n) => {
590
+ const s = r.hasOwnProperty(n);
591
+ return r.constructor.createProperty(n, i), s ? Object.getOwnPropertyDescriptor(r, n) : void 0;
592
592
  })(o, t, e);
593
593
  }
594
594
  /**
@@ -599,12 +599,12 @@ function a(o) {
599
599
  function Z(o) {
600
600
  return a({ ...o, state: !0, attribute: !1 });
601
601
  }
602
- const Pt = y`
602
+ const Pt = g`
603
603
  outline: 1px dashed var(--button-border-color);
604
604
  outline-offset: 2px;
605
605
  outline: dashed black;
606
606
  `;
607
- y`
607
+ g`
608
608
  :host * {
609
609
  box-sizing: border-box;
610
610
  }
@@ -632,12 +632,12 @@ function Bt(o) {
632
632
  function Se(o) {
633
633
  o.addInitializer((t) => {
634
634
  const e = t;
635
- e.addEventListener("click", async (r) => {
636
- const { type: i, [Ot]: n } = e, { form: s } = n;
637
- if (!(!s || i === "button") && (await new Promise((h) => {
635
+ e.addEventListener("click", async (i) => {
636
+ const { type: r, [Ot]: n } = e, { form: s } = n;
637
+ if (!(!s || r === "button") && (await new Promise((h) => {
638
638
  setTimeout(h);
639
- }), !r.defaultPrevented)) {
640
- if (i === "reset") {
639
+ }), !i.defaultPrevented)) {
640
+ if (r === "reset") {
641
641
  s.reset();
642
642
  return;
643
643
  }
@@ -777,8 +777,8 @@ let Ht = class {
777
777
  get _$AU() {
778
778
  return this._$AM._$AU;
779
779
  }
780
- _$AT(t, e, r) {
781
- this._$Ct = t, this._$AM = e, this._$Ci = r;
780
+ _$AT(t, e, i) {
781
+ this._$Ct = t, this._$AM = e, this._$Ci = i;
782
782
  }
783
783
  _$AS(t, e) {
784
784
  return this.update(t, e);
@@ -792,7 +792,7 @@ let Ht = class {
792
792
  * Copyright 2017 Google LLC
793
793
  * SPDX-License-Identifier: BSD-3-Clause
794
794
  */
795
- class kt extends Ht {
795
+ class Ct extends Ht {
796
796
  constructor(t) {
797
797
  if (super(t), this.it = d, t.type !== zt.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
798
798
  }
@@ -806,20 +806,20 @@ class kt extends Ht {
806
806
  return e.raw = e, this._t = { _$litType$: this.constructor.resultType, strings: e, values: [] };
807
807
  }
808
808
  }
809
- kt.directiveName = "unsafeHTML", kt.resultType = 1;
809
+ Ct.directiveName = "unsafeHTML", Ct.resultType = 1;
810
810
  /**
811
811
  * @license
812
812
  * Copyright 2017 Google LLC
813
813
  * SPDX-License-Identifier: BSD-3-Clause
814
814
  */
815
- class Ct extends kt {
815
+ class kt extends Ct {
816
816
  }
817
- Ct.directiveName = "unsafeSVG", Ct.resultType = 2;
818
- const S = Dt(Ct);
819
- var Qe = Object.defineProperty, Ye = Object.getOwnPropertyDescriptor, w = (o, t, e, r) => {
820
- for (var i = r > 1 ? void 0 : r ? Ye(t, e) : t, n = o.length - 1, s; n >= 0; n--)
821
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
822
- return r && i && Qe(t, e, i), i;
817
+ kt.directiveName = "unsafeSVG", kt.resultType = 2;
818
+ const S = Dt(kt);
819
+ var Qe = Object.defineProperty, Ye = Object.getOwnPropertyDescriptor, w = (o, t, e, i) => {
820
+ for (var r = i > 1 ? void 0 : i ? Ye(t, e) : t, n = o.length - 1, s; n >= 0; n--)
821
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
822
+ return i && r && Qe(t, e, r), r;
823
823
  };
824
824
  const to = Bt(u);
825
825
  let v = class extends to {
@@ -887,7 +887,7 @@ let v = class extends to {
887
887
  };
888
888
  Se(v);
889
889
  v.formAssociated = !0;
890
- v.styles = y`
890
+ v.styles = g`
891
891
  :host {
892
892
  --button-border: transparent;
893
893
  cursor: pointer;
@@ -1120,10 +1120,10 @@ w([
1120
1120
  v = w([
1121
1121
  x("o-button")
1122
1122
  ], v);
1123
- var eo = Object.defineProperty, oo = Object.getOwnPropertyDescriptor, gt = (o, t, e, r) => {
1124
- for (var i = r > 1 ? void 0 : r ? oo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1125
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
1126
- return r && i && eo(t, e, i), i;
1123
+ var eo = Object.defineProperty, oo = Object.getOwnPropertyDescriptor, gt = (o, t, e, i) => {
1124
+ for (var r = i > 1 ? void 0 : i ? oo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1125
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
1126
+ return i && r && eo(t, e, r), r;
1127
1127
  };
1128
1128
  let J = class extends u {
1129
1129
  constructor() {
@@ -1166,7 +1166,7 @@ let J = class extends u {
1166
1166
  this.label = o, this.requestUpdate();
1167
1167
  }
1168
1168
  };
1169
- J.styles = y`
1169
+ J.styles = g`
1170
1170
  :host {
1171
1171
  display: inline-flex;
1172
1172
  justify-content: center;
@@ -1248,10 +1248,10 @@ J = gt([
1248
1248
  * SPDX-License-Identifier: BSD-3-Clause
1249
1249
  */
1250
1250
  const $ = (o) => o ?? d;
1251
- var io = Object.defineProperty, ro = Object.getOwnPropertyDescriptor, L = (o, t, e, r) => {
1252
- for (var i = r > 1 ? void 0 : r ? ro(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1253
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
1254
- return r && i && io(t, e, i), i;
1251
+ var ro = Object.defineProperty, io = Object.getOwnPropertyDescriptor, L = (o, t, e, i) => {
1252
+ for (var r = i > 1 ? void 0 : i ? io(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1253
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
1254
+ return i && r && ro(t, e, r), r;
1255
1255
  };
1256
1256
  let _ = class extends u {
1257
1257
  constructor() {
@@ -1264,7 +1264,7 @@ let _ = class extends u {
1264
1264
  const o = q[this.icon] ?? "", t = `icon-${this.icon}`, e = o.replace(
1265
1265
  "<svg",
1266
1266
  '<svg aria-hidden="true" focusable="false" part="svg"'
1267
- ), r = this.showSrLabel ? l`<span class="sr-only">${this.srLabel}</span>` : null, i = this.showSrLabel ? null : "icon";
1267
+ ), i = this.showSrLabel ? l`<span class="sr-only">${this.srLabel}</span>` : null, r = this.showSrLabel ? null : "icon";
1268
1268
  return l`
1269
1269
  ${this.type === "span" ? l`
1270
1270
  <span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
@@ -1273,18 +1273,18 @@ let _ = class extends u {
1273
1273
  ` : l`
1274
1274
  <button
1275
1275
  type="button"
1276
- aria-label=${$(i)}
1276
+ aria-label=${$(r)}
1277
1277
  class="icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}"
1278
1278
  ?disabled="${this.disabled}"
1279
1279
  >
1280
1280
  ${S(e)}
1281
- ${r}
1281
+ ${i}
1282
1282
  </button>
1283
1283
  `}
1284
1284
  `;
1285
1285
  }
1286
1286
  };
1287
- _.styles = y`
1287
+ _.styles = g`
1288
1288
  :host {
1289
1289
  display: inline-flex;
1290
1290
  justify-content: center;
@@ -1521,10 +1521,10 @@ L([
1521
1521
  _ = L([
1522
1522
  x("o-icon-button")
1523
1523
  ], _);
1524
- var no = Object.defineProperty, so = Object.getOwnPropertyDescriptor, W = (o, t, e, r) => {
1525
- for (var i = r > 1 ? void 0 : r ? so(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1526
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
1527
- return r && i && no(t, e, i), i;
1524
+ var no = Object.defineProperty, so = Object.getOwnPropertyDescriptor, W = (o, t, e, i) => {
1525
+ for (var r = i > 1 ? void 0 : i ? so(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1526
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
1527
+ return i && r && no(t, e, r), r;
1528
1528
  };
1529
1529
  let O = class extends u {
1530
1530
  constructor() {
@@ -1564,7 +1564,7 @@ let O = class extends u {
1564
1564
  `;
1565
1565
  }
1566
1566
  };
1567
- O.styles = y`
1567
+ O.styles = g`
1568
1568
  :host([template="standard"]) a {
1569
1569
  color: var(--color-content-action-secondary);
1570
1570
  font-size: var(--font-size-200);
@@ -1673,10 +1673,10 @@ W([
1673
1673
  O = W([
1674
1674
  x("o-link")
1675
1675
  ], O);
1676
- var ao = Object.defineProperty, lo = Object.getOwnPropertyDescriptor, yt = (o, t, e, r) => {
1677
- for (var i = r > 1 ? void 0 : r ? lo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1678
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
1679
- return r && i && ao(t, e, i), i;
1676
+ var ao = Object.defineProperty, lo = Object.getOwnPropertyDescriptor, yt = (o, t, e, i) => {
1677
+ for (var r = i > 1 ? void 0 : i ? lo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1678
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
1679
+ return i && r && ao(t, e, r), r;
1680
1680
  };
1681
1681
  let Q = class extends u {
1682
1682
  constructor() {
@@ -1686,8 +1686,8 @@ let Q = class extends u {
1686
1686
  const o = [];
1687
1687
  for (let t = 0; t < 5; t++) {
1688
1688
  const e = this.rating - t;
1689
- let r;
1690
- e >= 1 ? r = 100 : e <= 0 ? r = 0 : r = Math.round(e * 100 / 25) * 25, o.push(`star-${r}`);
1689
+ let i;
1690
+ e >= 1 ? i = 100 : e <= 0 ? i = 0 : i = Math.round(e * 100 / 25) * 25, o.push(`star-${i}`);
1691
1691
  }
1692
1692
  return o;
1693
1693
  }
@@ -1705,7 +1705,7 @@ let Q = class extends u {
1705
1705
  `;
1706
1706
  }
1707
1707
  };
1708
- Q.styles = y`
1708
+ Q.styles = g`
1709
1709
  svg {
1710
1710
  width: 12px;
1711
1711
  height: 12px;
@@ -1763,18 +1763,18 @@ const co = (o) => o.strings === void 0;
1763
1763
  * SPDX-License-Identifier: BSD-3-Clause
1764
1764
  */
1765
1765
  const ot = (o, t) => {
1766
- var r;
1766
+ var i;
1767
1767
  const e = o._$AN;
1768
1768
  if (e === void 0) return !1;
1769
- for (const i of e) (r = i._$AO) == null || r.call(i, t, !1), ot(i, t);
1769
+ for (const r of e) (i = r._$AO) == null || i.call(r, t, !1), ot(r, t);
1770
1770
  return !0;
1771
- }, vt = (o) => {
1771
+ }, bt = (o) => {
1772
1772
  let t, e;
1773
1773
  do {
1774
1774
  if ((t = o._$AM) === void 0) break;
1775
1775
  e = t._$AN, e.delete(o), o = t;
1776
1776
  } while ((e == null ? void 0 : e.size) === 0);
1777
- }, re = (o) => {
1777
+ }, ie = (o) => {
1778
1778
  for (let t; t = o._$AM; o = t) {
1779
1779
  let e = t._$AN;
1780
1780
  if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
@@ -1783,12 +1783,12 @@ const ot = (o, t) => {
1783
1783
  }
1784
1784
  };
1785
1785
  function ho(o) {
1786
- this._$AN !== void 0 ? (vt(this), this._$AM = o, re(this)) : this._$AM = o;
1786
+ this._$AN !== void 0 ? (bt(this), this._$AM = o, ie(this)) : this._$AM = o;
1787
1787
  }
1788
1788
  function po(o, t = !1, e = 0) {
1789
- const r = this._$AH, i = this._$AN;
1790
- if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(r)) for (let n = e; n < r.length; n++) ot(r[n], !1), vt(r[n]);
1791
- else r != null && (ot(r, !1), vt(r));
1789
+ const i = this._$AH, r = this._$AN;
1790
+ if (r !== void 0 && r.size !== 0) if (t) if (Array.isArray(i)) for (let n = e; n < i.length; n++) ot(i[n], !1), bt(i[n]);
1791
+ else i != null && (ot(i, !1), bt(i));
1792
1792
  else ot(this, o);
1793
1793
  }
1794
1794
  const uo = (o) => {
@@ -1798,12 +1798,12 @@ class vo extends Ht {
1798
1798
  constructor() {
1799
1799
  super(...arguments), this._$AN = void 0;
1800
1800
  }
1801
- _$AT(t, e, r) {
1802
- super._$AT(t, e, r), re(this), this.isConnected = t._$AU;
1801
+ _$AT(t, e, i) {
1802
+ super._$AT(t, e, i), ie(this), this.isConnected = t._$AU;
1803
1803
  }
1804
1804
  _$AO(t, e = !0) {
1805
- var r, i;
1806
- t !== this.isConnected && (this.isConnected = t, t ? (r = this.reconnected) == null || r.call(this) : (i = this.disconnected) == null || i.call(this)), e && (ot(this, t), vt(this));
1805
+ var i, r;
1806
+ t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), e && (ot(this, t), bt(this));
1807
1807
  }
1808
1808
  setValue(t) {
1809
1809
  if (co(this._$Ct)) this._$Ct._$AI(t, this);
@@ -1825,23 +1825,23 @@ class bo extends vo {
1825
1825
  return d;
1826
1826
  }
1827
1827
  update(t, [e]) {
1828
- var r;
1829
- this.element !== t.element && (this.element = t.element), this.host = ((r = t.options) === null || r === void 0 ? void 0 : r.host) || this.element, this.apply(e), this.groom(e), this.prevData = { ...e };
1828
+ var i;
1829
+ this.element !== t.element && (this.element = t.element), this.host = ((i = t.options) === null || i === void 0 ? void 0 : i.host) || this.element, this.apply(e), this.groom(e), this.prevData = { ...e };
1830
1830
  }
1831
1831
  apply(t) {
1832
1832
  if (!t)
1833
1833
  return;
1834
- const { prevData: e, element: r } = this;
1835
- for (const i in t) {
1836
- const n = t[i];
1837
- n !== e[i] && (r[i] = n);
1834
+ const { prevData: e, element: i } = this;
1835
+ for (const r in t) {
1836
+ const n = t[r];
1837
+ n !== e[r] && (i[r] = n);
1838
1838
  }
1839
1839
  }
1840
1840
  groom(t) {
1841
- const { prevData: e, element: r } = this;
1841
+ const { prevData: e, element: i } = this;
1842
1842
  if (e)
1843
- for (const i in e)
1844
- (!t || !(i in t) && r[i] === e[i]) && (r[i] = void 0);
1843
+ for (const r in e)
1844
+ (!t || !(r in t) && i[r] === e[r]) && (i[r] = void 0);
1845
1845
  }
1846
1846
  }
1847
1847
  class fo extends bo {
@@ -1851,23 +1851,23 @@ class fo extends bo {
1851
1851
  apply(t) {
1852
1852
  if (t)
1853
1853
  for (const e in t) {
1854
- const r = t[e];
1855
- r !== this.eventData[e] && this.applyEvent(e, r);
1854
+ const i = t[e];
1855
+ i !== this.eventData[e] && this.applyEvent(e, i);
1856
1856
  }
1857
1857
  }
1858
1858
  applyEvent(t, e) {
1859
- const { prevData: r, element: i } = this;
1860
- this.eventData[t] = e, r[t] && i.removeEventListener(t, this, e), i.addEventListener(t, this, e);
1859
+ const { prevData: i, element: r } = this;
1860
+ this.eventData[t] = e, i[t] && r.removeEventListener(t, this, e), r.addEventListener(t, this, e);
1861
1861
  }
1862
1862
  groom(t) {
1863
- const { prevData: e, element: r } = this;
1863
+ const { prevData: e, element: i } = this;
1864
1864
  if (e)
1865
- for (const i in e)
1866
- (!t || !(i in t) && r[i] === e[i]) && this.groomEvent(i, e[i]);
1865
+ for (const r in e)
1866
+ (!t || !(r in t) && i[r] === e[r]) && this.groomEvent(r, e[r]);
1867
1867
  }
1868
1868
  groomEvent(t, e) {
1869
- const { element: r } = this;
1870
- delete this.eventData[t], r.removeEventListener(t, this, e);
1869
+ const { element: i } = this;
1870
+ delete this.eventData[t], i.removeEventListener(t, this, e);
1871
1871
  }
1872
1872
  handleEvent(t) {
1873
1873
  const e = this.eventData[t.type];
@@ -1875,16 +1875,16 @@ class fo extends bo {
1875
1875
  }
1876
1876
  disconnected() {
1877
1877
  const { eventData: t, element: e } = this;
1878
- for (const r in t) {
1879
- const i = r.slice(1), n = t[r];
1880
- e.removeEventListener(i, this, n);
1878
+ for (const i in t) {
1879
+ const r = i.slice(1), n = t[i];
1880
+ e.removeEventListener(r, this, n);
1881
1881
  }
1882
1882
  }
1883
1883
  reconnected() {
1884
1884
  const { eventData: t, element: e } = this;
1885
- for (const r in t) {
1886
- const i = r.slice(1), n = t[r];
1887
- e.addEventListener(i, this, n);
1885
+ for (const i in t) {
1886
+ const r = i.slice(1), n = t[i];
1887
+ e.addEventListener(r, this, n);
1888
1888
  }
1889
1889
  }
1890
1890
  }
@@ -1892,56 +1892,56 @@ class go extends fo {
1892
1892
  apply(t) {
1893
1893
  if (!t)
1894
1894
  return;
1895
- const { prevData: e, element: r } = this;
1896
- for (const i in t) {
1897
- const n = t[i];
1898
- if (n === e[i])
1895
+ const { prevData: e, element: i } = this;
1896
+ for (const r in t) {
1897
+ const n = t[r];
1898
+ if (n === e[r])
1899
1899
  continue;
1900
- const s = i.slice(1);
1901
- switch (i[0]) {
1900
+ const s = r.slice(1);
1901
+ switch (r[0]) {
1902
1902
  case "@":
1903
1903
  this.eventData[s] = n, this.applyEvent(s, n);
1904
1904
  break;
1905
1905
  case ".":
1906
- r[s] = n;
1906
+ i[s] = n;
1907
1907
  break;
1908
1908
  case "?":
1909
- n ? r.setAttribute(s, "") : r.removeAttribute(s);
1909
+ n ? i.setAttribute(s, "") : i.removeAttribute(s);
1910
1910
  break;
1911
1911
  default:
1912
- n != null ? r.setAttribute(i, String(n)) : r.removeAttribute(i);
1912
+ n != null ? i.setAttribute(r, String(n)) : i.removeAttribute(r);
1913
1913
  break;
1914
1914
  }
1915
1915
  }
1916
1916
  }
1917
1917
  groom(t) {
1918
- const { prevData: e, element: r } = this;
1918
+ const { prevData: e, element: i } = this;
1919
1919
  if (e)
1920
- for (const i in e) {
1921
- const n = i.slice(1);
1922
- if (!t || !(i in t) && r[n] === e[i])
1923
- switch (i[0]) {
1920
+ for (const r in e) {
1921
+ const n = r.slice(1);
1922
+ if (!t || !(r in t) && i[n] === e[r])
1923
+ switch (r[0]) {
1924
1924
  case "@":
1925
- this.groomEvent(n, e[i]);
1925
+ this.groomEvent(n, e[r]);
1926
1926
  break;
1927
1927
  case ".":
1928
- r[n] = void 0;
1928
+ i[n] = void 0;
1929
1929
  break;
1930
1930
  case "?":
1931
- r.removeAttribute(n);
1931
+ i.removeAttribute(n);
1932
1932
  break;
1933
1933
  default:
1934
- r.removeAttribute(i);
1934
+ i.removeAttribute(r);
1935
1935
  break;
1936
1936
  }
1937
1937
  }
1938
1938
  }
1939
1939
  }
1940
1940
  const Jt = Dt(go);
1941
- var yo = Object.defineProperty, mo = Object.getOwnPropertyDescriptor, g = (o, t, e, r) => {
1942
- for (var i = r > 1 ? void 0 : r ? mo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1943
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
1944
- return r && i && yo(t, e, i), i;
1941
+ var yo = Object.defineProperty, mo = Object.getOwnPropertyDescriptor, y = (o, t, e, i) => {
1942
+ for (var r = i > 1 ? void 0 : i ? mo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1943
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
1944
+ return i && r && yo(t, e, r), r;
1945
1945
  };
1946
1946
  let b = class extends u {
1947
1947
  constructor() {
@@ -1960,8 +1960,8 @@ let b = class extends u {
1960
1960
  trapFocus(o) {
1961
1961
  const t = this.getFocusableElements();
1962
1962
  if (t.length === 0) return;
1963
- const e = t[0], r = t[t.length - 1];
1964
- o.shiftKey && document.activeElement === e ? (o.preventDefault(), r.focus()) : !o.shiftKey && document.activeElement === r && (o.preventDefault(), e.focus());
1963
+ const e = t[0], i = t[t.length - 1];
1964
+ o.shiftKey && document.activeElement === e ? (o.preventDefault(), i.focus()) : !o.shiftKey && document.activeElement === i && (o.preventDefault(), e.focus());
1965
1965
  }
1966
1966
  getFocusableElements() {
1967
1967
  const o = this.renderRoot.querySelector(".panel");
@@ -1975,7 +1975,9 @@ let b = class extends u {
1975
1975
  this.previousFocusedElement = document.activeElement, this.open = !0, document.body.style.overflow = "hidden", document.body.setAttribute("data-side-panel", "open"), this.updateComplete.then(() => {
1976
1976
  const o = this.getFocusableElements()[0];
1977
1977
  o == null || o.focus();
1978
- });
1978
+ }), this.dispatchEvent(
1979
+ new CustomEvent("open", { bubbles: !0, composed: !0 })
1980
+ );
1979
1981
  }
1980
1982
  closePanel() {
1981
1983
  var o;
@@ -2044,7 +2046,7 @@ let b = class extends u {
2044
2046
  `;
2045
2047
  }
2046
2048
  };
2047
- b.styles = y`
2049
+ b.styles = g`
2048
2050
  :host {
2049
2051
  --z-overlay: 99;
2050
2052
  --z-panel: 100;
@@ -2186,64 +2188,64 @@ b.styles = y`
2186
2188
  }
2187
2189
  }
2188
2190
  `;
2189
- g([
2191
+ y([
2190
2192
  a({ type: Boolean, reflect: !0 })
2191
2193
  ], b.prototype, "open", 2);
2192
- g([
2194
+ y([
2193
2195
  a({ type: Boolean, reflect: !0 })
2194
2196
  ], b.prototype, "showHeader", 2);
2195
- g([
2197
+ y([
2196
2198
  a({ type: Boolean, reflect: !0 })
2197
2199
  ], b.prototype, "showFooter", 2);
2198
- g([
2200
+ y([
2199
2201
  a({ type: Boolean, reflect: !0 })
2200
2202
  ], b.prototype, "showHeaderStartIcon", 2);
2201
- g([
2203
+ y([
2202
2204
  a({ type: String, reflect: !0 })
2203
2205
  ], b.prototype, "headerTitle", 2);
2204
- g([
2206
+ y([
2205
2207
  a({ type: String, reflect: !0 })
2206
2208
  ], b.prototype, "closeButtonLabel", 2);
2207
- g([
2209
+ y([
2208
2210
  a({ type: String, reflect: !0 })
2209
2211
  ], b.prototype, "firstButtonLabel", 2);
2210
- g([
2212
+ y([
2211
2213
  a({ type: String, reflect: !0 })
2212
2214
  ], b.prototype, "firstButtonVariant", 2);
2213
- g([
2215
+ y([
2214
2216
  a({ type: Object, reflect: !0 })
2215
2217
  ], b.prototype, "firstButtonProps", 2);
2216
- g([
2218
+ y([
2217
2219
  a({ type: Function })
2218
2220
  ], b.prototype, "onFirstButtonClick", 2);
2219
- g([
2221
+ y([
2220
2222
  a({ type: String, reflect: !0 })
2221
2223
  ], b.prototype, "secondaryButtonLabel", 2);
2222
- g([
2224
+ y([
2223
2225
  a({ type: String, reflect: !0 })
2224
2226
  ], b.prototype, "secondaryButtonVariant", 2);
2225
- g([
2227
+ y([
2226
2228
  a({ type: Object, reflect: !0 })
2227
2229
  ], b.prototype, "secondaryButtonProps", 2);
2228
- g([
2230
+ y([
2229
2231
  a({ type: Function })
2230
2232
  ], b.prototype, "onSecondaryButtonClick", 2);
2231
- g([
2233
+ y([
2232
2234
  a({ type: Boolean, reflect: !0 })
2233
2235
  ], b.prototype, "disablePortal", 2);
2234
- g([
2236
+ y([
2235
2237
  a({ type: Number, reflect: !0 })
2236
2238
  ], b.prototype, "zIndex", 2);
2237
- g([
2239
+ y([
2238
2240
  a({ type: Boolean, reflect: !0 })
2239
2241
  ], b.prototype, "initialized", 2);
2240
- b = g([
2242
+ b = y([
2241
2243
  x("o-side-panel")
2242
2244
  ], b);
2243
- var xo = Object.defineProperty, wo = Object.getOwnPropertyDescriptor, j = (o, t, e, r) => {
2244
- for (var i = r > 1 ? void 0 : r ? wo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2245
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2246
- return r && i && xo(t, e, i), i;
2245
+ var xo = Object.defineProperty, wo = Object.getOwnPropertyDescriptor, j = (o, t, e, i) => {
2246
+ for (var r = i > 1 ? void 0 : i ? wo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2247
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
2248
+ return i && r && xo(t, e, r), r;
2247
2249
  };
2248
2250
  let E = class extends u {
2249
2251
  constructor() {
@@ -2282,22 +2284,22 @@ let E = class extends u {
2282
2284
  }
2283
2285
  onFocus(o) {
2284
2286
  const t = o.currentTarget, e = Number(t.dataset.index);
2285
- this.focusedIndex = e, this.renderRoot.querySelectorAll(".thumb").forEach((i) => {
2286
- i.classList.remove("a--tabfocus");
2287
+ this.focusedIndex = e, this.renderRoot.querySelectorAll(".thumb").forEach((r) => {
2288
+ r.classList.remove("a--tabfocus");
2287
2289
  }), t.classList.add("a--tabfocus"), this.requestUpdate();
2288
2290
  }
2289
2291
  onBlur(o) {
2290
2292
  setTimeout(() => {
2291
2293
  var e;
2292
2294
  const t = (e = this.shadowRoot) == null ? void 0 : e.activeElement;
2293
- (!t || !t.classList.contains("thumb")) && this.renderRoot.querySelectorAll(".thumb").forEach((i) => i.classList.remove("a--tabfocus"));
2295
+ (!t || !t.classList.contains("thumb")) && this.renderRoot.querySelectorAll(".thumb").forEach((r) => r.classList.remove("a--tabfocus"));
2294
2296
  }, 0);
2295
2297
  }
2296
2298
  render() {
2297
2299
  return l`
2298
2300
  <ul class="scroll-container" style="max-width: ${this.maxWidth};">
2299
2301
  ${this.thumbnails.map((o, t) => {
2300
- const e = this.disabledIndexes.includes(t), r = this.activeIndex === t, i = o.type === "video", n = i ? `video ${t}` : `${this.altressource} ${t + 1}`;
2302
+ const e = this.disabledIndexes.includes(t), i = this.activeIndex === t, r = o.type === "video", n = r ? `video ${t}` : `${this.altressource} ${t + 1}`;
2301
2303
  return l`
2302
2304
  <li class="thumb-wrapper">
2303
2305
  <button
@@ -2305,7 +2307,7 @@ let E = class extends u {
2305
2307
  data-index="${t}"
2306
2308
  ?disabled=${e}
2307
2309
  aria-selected="${this.focusedIndex === t}"
2308
- aria-current=${r ? "true" : "false"}
2310
+ aria-current=${i ? "true" : "false"}
2309
2311
  tabindex="${this.disabledIndexes.includes(t) ? -1 : 0}"
2310
2312
  @click=${() => this.selectThumbnail(t)}
2311
2313
  @keydown=${this.handleKeyDown}
@@ -2314,7 +2316,7 @@ let E = class extends u {
2314
2316
  >
2315
2317
  <img alt="${n}" src="${o.src}" />
2316
2318
  </button>
2317
- ${i ? l`<div class="play-icon-wrapper">${this.playerIconTemplate}</div>` : null}
2319
+ ${r ? l`<div class="play-icon-wrapper">${this.playerIconTemplate}</div>` : null}
2318
2320
  </li>
2319
2321
  `;
2320
2322
  })}
@@ -2322,7 +2324,7 @@ let E = class extends u {
2322
2324
  `;
2323
2325
  }
2324
2326
  };
2325
- E.styles = y`
2327
+ E.styles = g`
2326
2328
  :host {
2327
2329
  display: flex;
2328
2330
  gap: 5px;
@@ -2452,10 +2454,10 @@ j([
2452
2454
  E = j([
2453
2455
  x("thumbnail-navigation")
2454
2456
  ], E);
2455
- var $o = Object.defineProperty, _o = Object.getOwnPropertyDescriptor, Mt = (o, t, e, r) => {
2456
- for (var i = r > 1 ? void 0 : r ? _o(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2457
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2458
- return r && i && $o(t, e, i), i;
2457
+ var $o = Object.defineProperty, _o = Object.getOwnPropertyDescriptor, Mt = (o, t, e, i) => {
2458
+ for (var r = i > 1 ? void 0 : i ? _o(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2459
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
2460
+ return i && r && $o(t, e, r), r;
2459
2461
  };
2460
2462
  let st = class extends u {
2461
2463
  constructor() {
@@ -2467,7 +2469,7 @@ let st = class extends u {
2467
2469
  `;
2468
2470
  }
2469
2471
  };
2470
- st.styles = y`
2472
+ st.styles = g`
2471
2473
  .tag {
2472
2474
  display: inline-block;
2473
2475
  padding: var(--spacing-2-xs) var(--spacing-s);
@@ -2532,10 +2534,10 @@ Mt([
2532
2534
  st = Mt([
2533
2535
  x("o-tag")
2534
2536
  ], st);
2535
- var ko = Object.defineProperty, Co = Object.getOwnPropertyDescriptor, Tt = (o, t, e, r) => {
2536
- for (var i = r > 1 ? void 0 : r ? Co(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2537
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2538
- return r && i && ko(t, e, i), i;
2537
+ var Co = Object.defineProperty, ko = Object.getOwnPropertyDescriptor, Tt = (o, t, e, i) => {
2538
+ for (var r = i > 1 ? void 0 : i ? ko(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2539
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
2540
+ return i && r && Co(t, e, r), r;
2539
2541
  };
2540
2542
  let at = class extends u {
2541
2543
  constructor() {
@@ -2550,7 +2552,7 @@ let at = class extends u {
2550
2552
  `;
2551
2553
  }
2552
2554
  };
2553
- at.styles = y`
2555
+ at.styles = g`
2554
2556
  .tooltip {
2555
2557
  position: relative;
2556
2558
  display: inline-block;
@@ -2652,12 +2654,12 @@ Tt([
2652
2654
  at = Tt([
2653
2655
  x("o-tooltip")
2654
2656
  ], at);
2655
- var Ao = Object.defineProperty, So = Object.getOwnPropertyDescriptor, z = (o, t, e, r) => {
2656
- for (var i = r > 1 ? void 0 : r ? So(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2657
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2658
- return r && i && Ao(t, e, i), i;
2657
+ var Ao = Object.defineProperty, So = Object.getOwnPropertyDescriptor, z = (o, t, e, i) => {
2658
+ for (var r = i > 1 ? void 0 : i ? So(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2659
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
2660
+ return i && r && Ao(t, e, r), r;
2659
2661
  };
2660
- let C = class extends u {
2662
+ let k = class extends u {
2661
2663
  constructor() {
2662
2664
  super(...arguments), this.options = [], this.value = "", this.name = "", this.disabled = !1, this.width = "100%", this.open = !1, this.activeIndex = -1, this.menuWidth = "", this._handleOutsideClick = (o) => {
2663
2665
  this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
@@ -2756,13 +2758,13 @@ let C = class extends u {
2756
2758
  style=${`width: ${this.width};`}
2757
2759
  >
2758
2760
  ${this.options.map(
2759
- (e, r) => l`
2761
+ (e, i) => l`
2760
2762
  <li
2761
- id="option-${r}"
2763
+ id="option-${i}"
2762
2764
  role="option"
2763
2765
  aria-selected="${e.value === this.value}"
2764
- tabindex="${r === this.activeIndex ? "0" : "-1"}"
2765
- class="${r === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
2766
+ tabindex="${i === this.activeIndex ? "0" : "-1"}"
2767
+ class="${i === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
2766
2768
  @click=${() => this.selectOption(e)}
2767
2769
  >
2768
2770
  ${e.url ? l`
@@ -2780,7 +2782,7 @@ let C = class extends u {
2780
2782
  `;
2781
2783
  }
2782
2784
  };
2783
- C.styles = y`
2785
+ k.styles = g`
2784
2786
  :host {
2785
2787
  display: inline-block;
2786
2788
  position: relative;
@@ -2922,42 +2924,42 @@ C.styles = y`
2922
2924
  `;
2923
2925
  z([
2924
2926
  a({ type: Array, reflect: !0 })
2925
- ], C.prototype, "options", 2);
2927
+ ], k.prototype, "options", 2);
2926
2928
  z([
2927
2929
  a({ type: String, reflect: !0 })
2928
- ], C.prototype, "value", 2);
2930
+ ], k.prototype, "value", 2);
2929
2931
  z([
2930
2932
  a({ type: String, reflect: !0 })
2931
- ], C.prototype, "name", 2);
2933
+ ], k.prototype, "name", 2);
2932
2934
  z([
2933
2935
  a({ type: Boolean, reflect: !0 })
2934
- ], C.prototype, "disabled", 2);
2936
+ ], k.prototype, "disabled", 2);
2935
2937
  z([
2936
2938
  a({ type: String, reflect: !0 })
2937
- ], C.prototype, "width", 2);
2939
+ ], k.prototype, "width", 2);
2938
2940
  z([
2939
2941
  Z()
2940
- ], C.prototype, "open", 2);
2942
+ ], k.prototype, "open", 2);
2941
2943
  z([
2942
2944
  Z()
2943
- ], C.prototype, "activeIndex", 2);
2945
+ ], k.prototype, "activeIndex", 2);
2944
2946
  z([
2945
2947
  Z()
2946
- ], C.prototype, "menuWidth", 2);
2947
- C = z([
2948
+ ], k.prototype, "menuWidth", 2);
2949
+ k = z([
2948
2950
  x("o-dropdown")
2949
- ], C);
2950
- var Eo = Object.getOwnPropertyDescriptor, Lo = (o, t, e, r) => {
2951
- for (var i = r > 1 ? void 0 : r ? Eo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2952
- (s = o[n]) && (i = s(i) || i);
2953
- return i;
2951
+ ], k);
2952
+ var Eo = Object.getOwnPropertyDescriptor, Lo = (o, t, e, i) => {
2953
+ for (var r = i > 1 ? void 0 : i ? Eo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2954
+ (s = o[n]) && (r = s(r) || r);
2955
+ return r;
2954
2956
  };
2955
2957
  let At = class extends u {
2956
2958
  render() {
2957
2959
  return l` <span class="dots"></span> `;
2958
2960
  }
2959
2961
  };
2960
- At.styles = y`
2962
+ At.styles = g`
2961
2963
  :host {
2962
2964
  display: flex;
2963
2965
  align-items: center;
@@ -3012,12 +3014,12 @@ At.styles = y`
3012
3014
  At = Lo([
3013
3015
  x("o-dots")
3014
3016
  ], At);
3015
- var Io = Object.defineProperty, Po = Object.getOwnPropertyDescriptor, I = (o, t, e, r) => {
3016
- for (var i = r > 1 ? void 0 : r ? Po(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3017
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3018
- return r && i && Io(t, e, i), i;
3017
+ var Io = Object.defineProperty, Po = Object.getOwnPropertyDescriptor, I = (o, t, e, i) => {
3018
+ for (var r = i > 1 ? void 0 : i ? Po(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3019
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
3020
+ return i && r && Io(t, e, r), r;
3019
3021
  };
3020
- let k = class extends u {
3022
+ let C = class extends u {
3021
3023
  constructor() {
3022
3024
  super(...arguments), this.options = [], this.value = "", this.name = "", this.additionaltext = "+X variant(s)", this.disabled = !1, this.width = "100%", this.open = !1, this.activeIndex = -1, this.menuWidth = "", this._handleOutsideClick = (o) => {
3023
3025
  this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
@@ -3126,14 +3128,14 @@ let k = class extends u {
3126
3128
  style=${`width: ${this.width};`}
3127
3129
  >
3128
3130
  ${this.options.map(
3129
- (e, r) => l`
3131
+ (e, i) => l`
3130
3132
  <li
3131
- id="option-${r}"
3133
+ id="option-${i}"
3132
3134
  role="option"
3133
3135
  aria-selected="${e.value === this.value}"
3134
3136
  aria-disabled="${e.disabled ? "true" : "false"}"
3135
- tabindex="${r === this.activeIndex ? "0" : "-1"}"
3136
- class="${r === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
3137
+ tabindex="${i === this.activeIndex ? "0" : "-1"}"
3138
+ class="${i === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
3137
3139
  @click=${() => this.selectOption(e)}
3138
3140
  >
3139
3141
  <a href="${$(e.url)}">
@@ -3154,7 +3156,7 @@ let k = class extends u {
3154
3156
  `;
3155
3157
  }
3156
3158
  };
3157
- k.styles = y`
3159
+ C.styles = g`
3158
3160
  :host {
3159
3161
  display: inline-block;
3160
3162
  position: relative;
@@ -3332,34 +3334,34 @@ k.styles = y`
3332
3334
  `;
3333
3335
  I([
3334
3336
  a({ type: Array, reflect: !0 })
3335
- ], k.prototype, "options", 2);
3337
+ ], C.prototype, "options", 2);
3336
3338
  I([
3337
3339
  a({ type: String, reflect: !0 })
3338
- ], k.prototype, "value", 2);
3340
+ ], C.prototype, "value", 2);
3339
3341
  I([
3340
3342
  a({ type: String, reflect: !0 })
3341
- ], k.prototype, "name", 2);
3343
+ ], C.prototype, "name", 2);
3342
3344
  I([
3343
3345
  a({ type: String, reflect: !0 })
3344
- ], k.prototype, "additionaltext", 2);
3346
+ ], C.prototype, "additionaltext", 2);
3345
3347
  I([
3346
3348
  a({ type: Boolean, reflect: !0 })
3347
- ], k.prototype, "disabled", 2);
3349
+ ], C.prototype, "disabled", 2);
3348
3350
  I([
3349
3351
  a({ type: String, reflect: !0 })
3350
- ], k.prototype, "width", 2);
3352
+ ], C.prototype, "width", 2);
3351
3353
  I([
3352
3354
  Z()
3353
- ], k.prototype, "open", 2);
3355
+ ], C.prototype, "open", 2);
3354
3356
  I([
3355
3357
  Z()
3356
- ], k.prototype, "activeIndex", 2);
3358
+ ], C.prototype, "activeIndex", 2);
3357
3359
  I([
3358
3360
  Z()
3359
- ], k.prototype, "menuWidth", 2);
3360
- k = I([
3361
+ ], C.prototype, "menuWidth", 2);
3362
+ C = I([
3361
3363
  x("o-dropdown-variant")
3362
- ], k);
3364
+ ], C);
3363
3365
  /**
3364
3366
  * @license
3365
3367
  * Copyright 2018 Google LLC
@@ -3372,29 +3374,29 @@ const ne = "important", Oo = " !" + ne, Bo = Dt(class extends Ht {
3372
3374
  }
3373
3375
  render(o) {
3374
3376
  return Object.keys(o).reduce((t, e) => {
3375
- const r = o[e];
3376
- return r == null ? t : t + `${e = e.includes("-") ? e : e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${r};`;
3377
+ const i = o[e];
3378
+ return i == null ? t : t + `${e = e.includes("-") ? e : e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${i};`;
3377
3379
  }, "");
3378
3380
  }
3379
3381
  update(o, [t]) {
3380
3382
  const { style: e } = o.element;
3381
3383
  if (this.ft === void 0) return this.ft = new Set(Object.keys(t)), this.render(t);
3382
- for (const r of this.ft) t[r] == null && (this.ft.delete(r), r.includes("-") ? e.removeProperty(r) : e[r] = null);
3383
- for (const r in t) {
3384
- const i = t[r];
3385
- if (i != null) {
3386
- this.ft.add(r);
3387
- const n = typeof i == "string" && i.endsWith(Oo);
3388
- r.includes("-") || n ? e.setProperty(r, n ? i.slice(0, -11) : i, n ? ne : "") : e[r] = i;
3384
+ for (const i of this.ft) t[i] == null && (this.ft.delete(i), i.includes("-") ? e.removeProperty(i) : e[i] = null);
3385
+ for (const i in t) {
3386
+ const r = t[i];
3387
+ if (r != null) {
3388
+ this.ft.add(i);
3389
+ const n = typeof r == "string" && r.endsWith(Oo);
3390
+ i.includes("-") || n ? e.setProperty(i, n ? r.slice(0, -11) : r, n ? ne : "") : e[i] = r;
3389
3391
  }
3390
3392
  }
3391
3393
  return T;
3392
3394
  }
3393
3395
  });
3394
- var zo = Object.defineProperty, Do = Object.getOwnPropertyDescriptor, jt = (o, t, e, r) => {
3395
- for (var i = r > 1 ? void 0 : r ? Do(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3396
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3397
- return r && i && zo(t, e, i), i;
3396
+ var zo = Object.defineProperty, Do = Object.getOwnPropertyDescriptor, jt = (o, t, e, i) => {
3397
+ for (var r = i > 1 ? void 0 : i ? Do(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3398
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
3399
+ return i && r && zo(t, e, r), r;
3398
3400
  };
3399
3401
  let lt = class extends u {
3400
3402
  constructor() {
@@ -3414,7 +3416,7 @@ let lt = class extends u {
3414
3416
  return o ? l`<a href="${$(this.option.url)}" class="reassurance-item clickable">${e}</a>` : l`<div class="reassurance-item">${e}</div>`;
3415
3417
  }
3416
3418
  };
3417
- lt.styles = y`
3419
+ lt.styles = g`
3418
3420
  :host {
3419
3421
  display: inline-block;
3420
3422
  position: relative;
@@ -3505,10 +3507,10 @@ jt([
3505
3507
  lt = jt([
3506
3508
  x("o-reassurance")
3507
3509
  ], lt);
3508
- var Ho = Object.defineProperty, Mo = Object.getOwnPropertyDescriptor, U = (o, t, e, r) => {
3509
- for (var i = r > 1 ? void 0 : r ? Mo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3510
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3511
- return r && i && Ho(t, e, i), i;
3510
+ var Ho = Object.defineProperty, Mo = Object.getOwnPropertyDescriptor, U = (o, t, e, i) => {
3511
+ for (var r = i > 1 ? void 0 : i ? Mo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3512
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
3513
+ return i && r && Ho(t, e, r), r;
3512
3514
  };
3513
3515
  const To = Bt(u);
3514
3516
  let A = class extends To {
@@ -3532,7 +3534,7 @@ let A = class extends To {
3532
3534
  `;
3533
3535
  }
3534
3536
  };
3535
- A.styles = y`
3537
+ A.styles = g`
3536
3538
  :host {
3537
3539
  cursor: pointer;
3538
3540
  display: inline-flex;
@@ -3642,12 +3644,12 @@ U([
3642
3644
  A = U([
3643
3645
  x("o-chip")
3644
3646
  ], A);
3645
- var jo = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor, Ut = (o, t, e, r) => {
3646
- for (var i = r > 1 ? void 0 : r ? Uo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3647
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3648
- return r && i && jo(t, e, i), i;
3647
+ var jo = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor, Ut = (o, t, e, i) => {
3648
+ for (var r = i > 1 ? void 0 : i ? Uo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3649
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
3650
+ return i && r && jo(t, e, r), r;
3649
3651
  };
3650
- let bt = class extends u {
3652
+ let ct = class extends u {
3651
3653
  constructor() {
3652
3654
  super(), this.name = "", this.value = "", this.addEventListener("click", this.onChipSelected);
3653
3655
  }
@@ -3663,19 +3665,27 @@ let bt = class extends u {
3663
3665
  `;
3664
3666
  }
3665
3667
  };
3668
+ ct.styles = g`
3669
+ :host {
3670
+ display: flex;
3671
+ flex-direction: row;
3672
+ flex-wrap: wrap;
3673
+ gap: var(--spacing-s);
3674
+ }
3675
+ `;
3666
3676
  Ut([
3667
3677
  a({ reflect: !0 })
3668
- ], bt.prototype, "name", 2);
3678
+ ], ct.prototype, "name", 2);
3669
3679
  Ut([
3670
3680
  a({ reflect: !0 })
3671
- ], bt.prototype, "value", 2);
3672
- bt = Ut([
3681
+ ], ct.prototype, "value", 2);
3682
+ ct = Ut([
3673
3683
  x("o-chipset")
3674
- ], bt);
3675
- var No = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor, K = (o, t, e, r) => {
3676
- for (var i = r > 1 ? void 0 : r ? Fo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3677
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3678
- return r && i && No(t, e, i), i;
3684
+ ], ct);
3685
+ var No = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor, K = (o, t, e, i) => {
3686
+ for (var r = i > 1 ? void 0 : i ? Fo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3687
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
3688
+ return i && r && No(t, e, r), r;
3679
3689
  };
3680
3690
  const Ro = Bt(u);
3681
3691
  let B = class extends Ro {
@@ -3714,7 +3724,7 @@ let B = class extends Ro {
3714
3724
  `;
3715
3725
  }
3716
3726
  };
3717
- B.styles = y`
3727
+ B.styles = g`
3718
3728
  :host {
3719
3729
  cursor: pointer;
3720
3730
  display: inline-flex;