@florid-kit/components 0.4.5 → 0.4.7

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
@@ -4,17 +4,17 @@
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
6
  const X = globalThis, ht = X.ShadowRoot && (X.ShadyCSS === void 0 || X.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, dt = Symbol(), vt = /* @__PURE__ */ new WeakMap();
7
- let Et = class {
8
- constructor(t, e, o) {
9
- if (this._$cssResult$ = !0, o !== dt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
7
+ let St = class {
8
+ constructor(t, e, s) {
9
+ if (this._$cssResult$ = !0, s !== dt) 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 (ht && t === void 0) {
16
- const o = e !== void 0 && e.length === 1;
17
- o && (t = vt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), o && vt.set(e, t));
16
+ const s = e !== void 0 && e.length === 1;
17
+ s && (t = vt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && vt.set(e, t));
18
18
  }
19
19
  return t;
20
20
  }
@@ -22,22 +22,22 @@ let Et = class {
22
22
  return this.cssText;
23
23
  }
24
24
  };
25
- const It = (n) => new Et(typeof n == "string" ? n : n + "", void 0, dt), A = (n, ...t) => {
26
- const e = n.length === 1 ? n[0] : t.reduce((o, s, i) => o + ((r) => {
27
- if (r._$cssResult$ === !0) return r.cssText;
28
- if (typeof r == "number") return r;
29
- throw Error("Value passed to 'css' function must be a 'css' function result: " + r + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
30
- })(s) + n[i + 1], n[0]);
31
- return new Et(e, n, dt);
25
+ const It = (n) => new St(typeof n == "string" ? n : n + "", void 0, dt), A = (n, ...t) => {
26
+ const e = n.length === 1 ? n[0] : t.reduce((s, o, r) => s + ((i) => {
27
+ if (i._$cssResult$ === !0) return i.cssText;
28
+ if (typeof i == "number") return i;
29
+ 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.");
30
+ })(o) + n[r + 1], n[0]);
31
+ return new St(e, n, dt);
32
32
  }, Bt = (n, t) => {
33
33
  if (ht) n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
34
34
  else for (const e of t) {
35
- const o = document.createElement("style"), s = X.litNonce;
36
- s !== void 0 && o.setAttribute("nonce", s), o.textContent = e.cssText, n.appendChild(o);
35
+ const s = document.createElement("style"), o = X.litNonce;
36
+ o !== void 0 && s.setAttribute("nonce", o), s.textContent = e.cssText, n.appendChild(s);
37
37
  }
38
- }, bt = ht ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
38
+ }, gt = ht ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
39
39
  let e = "";
40
- for (const o of t.cssRules) e += o.cssText;
40
+ for (const s of t.cssRules) e += s.cssText;
41
41
  return It(e);
42
42
  })(n) : n;
43
43
  /**
@@ -45,7 +45,7 @@ const It = (n) => new Et(typeof n == "string" ? n : n + "", void 0, dt), A = (n,
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: Ot, defineProperty: zt, getOwnPropertyDescriptor: Mt, getOwnPropertyNames: Ht, getOwnPropertySymbols: Tt, getPrototypeOf: Dt } = Object, C = globalThis, gt = C.trustedTypes, Ut = gt ? gt.emptyScript : "", ot = C.reactiveElementPolyfillSupport, R = (n, t) => n, J = { toAttribute(n, t) {
48
+ const { is: Ot, defineProperty: zt, getOwnPropertyDescriptor: Mt, getOwnPropertyNames: Ht, getOwnPropertySymbols: Tt, getPrototypeOf: Dt } = Object, C = globalThis, bt = C.trustedTypes, Ut = bt ? bt.emptyScript : "", st = C.reactiveElementPolyfillSupport, R = (n, t) => n, J = { toAttribute(n, t) {
49
49
  switch (t) {
50
50
  case Boolean:
51
51
  n = n ? Ut : null;
@@ -84,19 +84,19 @@ let T = class extends HTMLElement {
84
84
  }
85
85
  static createProperty(t, e = yt) {
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 o = Symbol(), s = this.getPropertyDescriptor(t, o, e);
88
- s !== void 0 && zt(this.prototype, t, s);
87
+ const s = Symbol(), o = this.getPropertyDescriptor(t, s, e);
88
+ o !== void 0 && zt(this.prototype, t, o);
89
89
  }
90
90
  }
91
- static getPropertyDescriptor(t, e, o) {
92
- const { get: s, set: i } = Mt(this.prototype, t) ?? { get() {
91
+ static getPropertyDescriptor(t, e, s) {
92
+ const { get: o, set: r } = Mt(this.prototype, t) ?? { get() {
93
93
  return this[e];
94
- }, set(r) {
95
- this[e] = r;
94
+ }, set(i) {
95
+ this[e] = i;
96
96
  } };
97
- return { get: s, set(r) {
98
- const c = s == null ? void 0 : s.call(this);
99
- i == null || i.call(this, r), this.requestUpdate(t, c, o);
97
+ return { get: o, set(i) {
98
+ const c = o == null ? void 0 : o.call(this);
99
+ r == null || r.call(this, i), this.requestUpdate(t, c, s);
100
100
  }, configurable: !0, enumerable: !0 };
101
101
  }
102
102
  static getPropertyOptions(t) {
@@ -110,32 +110,32 @@ let T = class extends HTMLElement {
110
110
  static finalize() {
111
111
  if (this.hasOwnProperty(R("finalized"))) return;
112
112
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(R("properties"))) {
113
- const e = this.properties, o = [...Ht(e), ...Tt(e)];
114
- for (const s of o) this.createProperty(s, e[s]);
113
+ const e = this.properties, s = [...Ht(e), ...Tt(e)];
114
+ for (const o of s) this.createProperty(o, e[o]);
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 [o, s] of e) this.elementProperties.set(o, s);
119
+ if (e !== void 0) for (const [s, o] of e) this.elementProperties.set(s, o);
120
120
  }
121
121
  this._$Eh = /* @__PURE__ */ new Map();
122
- for (const [e, o] of this.elementProperties) {
123
- const s = this._$Eu(e, o);
124
- s !== void 0 && this._$Eh.set(s, e);
122
+ for (const [e, s] of this.elementProperties) {
123
+ const o = this._$Eu(e, s);
124
+ o !== void 0 && this._$Eh.set(o, 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 o = new Set(t.flat(1 / 0).reverse());
132
- for (const s of o) e.unshift(bt(s));
133
- } else t !== void 0 && e.push(bt(t));
131
+ const s = new Set(t.flat(1 / 0).reverse());
132
+ for (const o of s) e.unshift(gt(o));
133
+ } else t !== void 0 && e.push(gt(t));
134
134
  return e;
135
135
  }
136
136
  static _$Eu(t, e) {
137
- const o = e.attribute;
138
- return o === !1 ? void 0 : typeof o == "string" ? o : typeof t == "string" ? t.toLowerCase() : void 0;
137
+ const s = e.attribute;
138
+ return s === !1 ? void 0 : typeof s == "string" ? s : 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 T = class extends HTMLElement {
154
154
  }
155
155
  _$E_() {
156
156
  const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
157
- for (const o of e.keys()) this.hasOwnProperty(o) && (t.set(o, this[o]), delete this[o]);
157
+ for (const s of e.keys()) this.hasOwnProperty(s) && (t.set(s, this[s]), delete this[s]);
158
158
  t.size > 0 && (this._$Ep = t);
159
159
  }
160
160
  createRenderRoot() {
@@ -164,8 +164,8 @@ let T = 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 o;
168
- return (o = e.hostConnected) == null ? void 0 : o.call(e);
167
+ var s;
168
+ return (s = e.hostConnected) == null ? void 0 : s.call(e);
169
169
  });
170
170
  }
171
171
  enableUpdating(t) {
@@ -173,40 +173,40 @@ let T = class extends HTMLElement {
173
173
  disconnectedCallback() {
174
174
  var t;
175
175
  (t = this._$EO) == null || t.forEach((e) => {
176
- var o;
177
- return (o = e.hostDisconnected) == null ? void 0 : o.call(e);
176
+ var s;
177
+ return (s = e.hostDisconnected) == null ? void 0 : s.call(e);
178
178
  });
179
179
  }
180
- attributeChangedCallback(t, e, o) {
181
- this._$AK(t, o);
180
+ attributeChangedCallback(t, e, s) {
181
+ this._$AK(t, s);
182
182
  }
183
183
  _$ET(t, e) {
184
- var i;
185
- const o = this.constructor.elementProperties.get(t), s = this.constructor._$Eu(t, o);
186
- if (s !== void 0 && o.reflect === !0) {
187
- const r = (((i = o.converter) == null ? void 0 : i.toAttribute) !== void 0 ? o.converter : J).toAttribute(e, o.type);
188
- this._$Em = t, r == null ? this.removeAttribute(s) : this.setAttribute(s, r), this._$Em = null;
184
+ var r;
185
+ const s = this.constructor.elementProperties.get(t), o = this.constructor._$Eu(t, s);
186
+ if (o !== void 0 && s.reflect === !0) {
187
+ const i = (((r = s.converter) == null ? void 0 : r.toAttribute) !== void 0 ? s.converter : J).toAttribute(e, s.type);
188
+ this._$Em = t, i == null ? this.removeAttribute(o) : this.setAttribute(o, i), this._$Em = null;
189
189
  }
190
190
  }
191
191
  _$AK(t, e) {
192
- var i, r;
193
- const o = this.constructor, s = o._$Eh.get(t);
194
- if (s !== void 0 && this._$Em !== s) {
195
- const c = o.getPropertyOptions(s), l = typeof c.converter == "function" ? { fromAttribute: c.converter } : ((i = c.converter) == null ? void 0 : i.fromAttribute) !== void 0 ? c.converter : J;
196
- this._$Em = s, this[s] = l.fromAttribute(e, c.type) ?? ((r = this._$Ej) == null ? void 0 : r.get(s)) ?? null, this._$Em = null;
192
+ var r, i;
193
+ const s = this.constructor, o = s._$Eh.get(t);
194
+ if (o !== void 0 && this._$Em !== o) {
195
+ const c = s.getPropertyOptions(o), l = typeof c.converter == "function" ? { fromAttribute: c.converter } : ((r = c.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? c.converter : J;
196
+ this._$Em = o, this[o] = l.fromAttribute(e, c.type) ?? ((i = this._$Ej) == null ? void 0 : i.get(o)) ?? null, this._$Em = null;
197
197
  }
198
198
  }
199
- requestUpdate(t, e, o) {
200
- var s;
199
+ requestUpdate(t, e, s) {
200
+ var o;
201
201
  if (t !== void 0) {
202
- const i = this.constructor, r = this[t];
203
- if (o ?? (o = i.getPropertyOptions(t)), !((o.hasChanged ?? pt)(r, e) || o.useDefault && o.reflect && r === ((s = this._$Ej) == null ? void 0 : s.get(t)) && !this.hasAttribute(i._$Eu(t, o)))) return;
204
- this.C(t, e, o);
202
+ const r = this.constructor, i = this[t];
203
+ if (s ?? (s = r.getPropertyOptions(t)), !((s.hasChanged ?? pt)(i, e) || s.useDefault && s.reflect && i === ((o = this._$Ej) == null ? void 0 : o.get(t)) && !this.hasAttribute(r._$Eu(t, s)))) return;
204
+ this.C(t, e, s);
205
205
  }
206
206
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
207
207
  }
208
- C(t, e, { useDefault: o, reflect: s, wrapped: i }, r) {
209
- o && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, r ?? e ?? this[t]), i !== !0 || r !== void 0) || (this._$AL.has(t) || (this.hasUpdated || o || (e = void 0), this._$AL.set(t, e)), s === !0 && this._$Em !== t && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t));
208
+ C(t, e, { useDefault: s, reflect: o, wrapped: r }, i) {
209
+ s && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, i ?? e ?? this[t]), r !== !0 || i !== void 0) || (this._$AL.has(t) || (this.hasUpdated || s || (e = void 0), this._$AL.set(t, e)), o === !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,28 +222,28 @@ let T = class extends HTMLElement {
222
222
  return this.performUpdate();
223
223
  }
224
224
  performUpdate() {
225
- var o;
225
+ var s;
226
226
  if (!this.isUpdatePending) return;
227
227
  if (!this.hasUpdated) {
228
228
  if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
229
- for (const [i, r] of this._$Ep) this[i] = r;
229
+ for (const [r, i] of this._$Ep) this[r] = i;
230
230
  this._$Ep = void 0;
231
231
  }
232
- const s = this.constructor.elementProperties;
233
- if (s.size > 0) for (const [i, r] of s) {
234
- const { wrapped: c } = r, l = this[i];
235
- c !== !0 || this._$AL.has(i) || l === void 0 || this.C(i, void 0, r, l);
232
+ const o = this.constructor.elementProperties;
233
+ if (o.size > 0) for (const [r, i] of o) {
234
+ const { wrapped: c } = i, l = this[r];
235
+ c !== !0 || this._$AL.has(r) || l === void 0 || this.C(r, void 0, i, l);
236
236
  }
237
237
  }
238
238
  let t = !1;
239
239
  const e = this._$AL;
240
240
  try {
241
- t = this.shouldUpdate(e), t ? (this.willUpdate(e), (o = this._$EO) == null || o.forEach((s) => {
242
- var i;
243
- return (i = s.hostUpdate) == null ? void 0 : i.call(s);
241
+ t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((o) => {
242
+ var r;
243
+ return (r = o.hostUpdate) == null ? void 0 : r.call(o);
244
244
  }), this.update(e)) : this._$EM();
245
- } catch (s) {
246
- throw t = !1, this._$EM(), s;
245
+ } catch (o) {
246
+ throw t = !1, this._$EM(), o;
247
247
  }
248
248
  t && this._$AE(e);
249
249
  }
@@ -251,9 +251,9 @@ let T = class extends HTMLElement {
251
251
  }
252
252
  _$AE(t) {
253
253
  var e;
254
- (e = this._$EO) == null || e.forEach((o) => {
255
- var s;
256
- return (s = o.hostUpdated) == null ? void 0 : s.call(o);
254
+ (e = this._$EO) == null || e.forEach((s) => {
255
+ var o;
256
+ return (o = s.hostUpdated) == null ? void 0 : o.call(s);
257
257
  }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
258
258
  }
259
259
  _$EM() {
@@ -276,74 +276,74 @@ let T = class extends HTMLElement {
276
276
  firstUpdated(t) {
277
277
  }
278
278
  };
279
- T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[R("elementProperties")] = /* @__PURE__ */ new Map(), T[R("finalized")] = /* @__PURE__ */ new Map(), ot == null || ot({ ReactiveElement: T }), (C.reactiveElementVersions ?? (C.reactiveElementVersions = [])).push("2.1.0");
279
+ T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[R("elementProperties")] = /* @__PURE__ */ new Map(), T[R("finalized")] = /* @__PURE__ */ new Map(), st == null || st({ ReactiveElement: T }), (C.reactiveElementVersions ?? (C.reactiveElementVersions = [])).push("2.1.0");
280
280
  /**
281
281
  * @license
282
282
  * Copyright 2017 Google LLC
283
283
  * SPDX-License-Identifier: BSD-3-Clause
284
284
  */
285
- const V = globalThis, Q = V.trustedTypes, mt = Q ? Q.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, Ct = "$lit$", E = `lit$${Math.random().toFixed(9).slice(2)}$`, Lt = "?" + E, Nt = `<${Lt}>`, O = document, F = () => O.createComment(""), q = (n) => n === null || typeof n != "object" && typeof n != "function", ut = Array.isArray, jt = (n) => ut(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", st = `[
286
- \f\r]`, j = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, $t = /-->/g, wt = />/g, k = RegExp(`>|${st}(?:([^\\s"'>=/]+)(${st}*=${st}*(?:[^
287
- \f\r"'\`<>=]|("|')|))|$)`, "g"), xt = /'/g, _t = /"/g, Pt = /^(?:script|style|textarea|title)$/i, Rt = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), d = Rt(1), z = Symbol.for("lit-noChange"), h = Symbol.for("lit-nothing"), At = /* @__PURE__ */ new WeakMap(), I = O.createTreeWalker(O, 129);
285
+ const V = globalThis, Q = V.trustedTypes, mt = Q ? Q.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, Ct = "$lit$", S = `lit$${Math.random().toFixed(9).slice(2)}$`, Lt = "?" + S, Nt = `<${Lt}>`, B = document, F = () => B.createComment(""), q = (n) => n === null || typeof n != "object" && typeof n != "function", ut = Array.isArray, jt = (n) => ut(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", ot = `[
286
+ \f\r]`, j = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, $t = /-->/g, wt = />/g, P = RegExp(`>|${ot}(?:([^\\s"'>=/]+)(${ot}*=${ot}*(?:[^
287
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), xt = /'/g, _t = /"/g, Pt = /^(?:script|style|textarea|title)$/i, Rt = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), h = Rt(1), O = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), At = /* @__PURE__ */ new WeakMap(), k = B.createTreeWalker(B, 129);
288
288
  function kt(n, t) {
289
289
  if (!ut(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
290
290
  return mt !== void 0 ? mt.createHTML(t) : t;
291
291
  }
292
292
  const Vt = (n, t) => {
293
- const e = n.length - 1, o = [];
294
- let s, i = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", r = j;
293
+ const e = n.length - 1, s = [];
294
+ let o, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", i = j;
295
295
  for (let c = 0; c < e; c++) {
296
296
  const l = n[c];
297
- let f, v, p = -1, x = 0;
298
- for (; x < l.length && (r.lastIndex = x, v = r.exec(l), v !== null); ) x = r.lastIndex, r === j ? v[1] === "!--" ? r = $t : v[1] !== void 0 ? r = wt : v[2] !== void 0 ? (Pt.test(v[2]) && (s = RegExp("</" + v[2], "g")), r = k) : v[3] !== void 0 && (r = k) : r === k ? v[0] === ">" ? (r = s ?? j, p = -1) : v[1] === void 0 ? p = -2 : (p = r.lastIndex - v[2].length, f = v[1], r = v[3] === void 0 ? k : v[3] === '"' ? _t : xt) : r === _t || r === xt ? r = k : r === $t || r === wt ? r = j : (r = k, s = void 0);
299
- const S = r === k && n[c + 1].startsWith("/>") ? " " : "";
300
- i += r === j ? l + Nt : p >= 0 ? (o.push(f), l.slice(0, p) + Ct + l.slice(p) + E + S) : l + E + (p === -2 ? c : S);
297
+ let f, v, p = -1, w = 0;
298
+ for (; w < l.length && (i.lastIndex = w, v = i.exec(l), v !== null); ) w = i.lastIndex, i === j ? v[1] === "!--" ? i = $t : v[1] !== void 0 ? i = wt : v[2] !== void 0 ? (Pt.test(v[2]) && (o = RegExp("</" + v[2], "g")), i = P) : v[3] !== void 0 && (i = P) : i === P ? v[0] === ">" ? (i = o ?? j, p = -1) : v[1] === void 0 ? p = -2 : (p = i.lastIndex - v[2].length, f = v[1], i = v[3] === void 0 ? P : v[3] === '"' ? _t : xt) : i === _t || i === xt ? i = P : i === $t || i === wt ? i = j : (i = P, o = void 0);
299
+ const E = i === P && n[c + 1].startsWith("/>") ? " " : "";
300
+ r += i === j ? l + Nt : p >= 0 ? (s.push(f), l.slice(0, p) + Ct + l.slice(p) + S + E) : l + S + (p === -2 ? c : E);
301
301
  }
302
- return [kt(n, i + (n[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), o];
302
+ return [kt(n, r + (n[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
303
303
  };
304
304
  class Z {
305
- constructor({ strings: t, _$litType$: e }, o) {
306
- let s;
305
+ constructor({ strings: t, _$litType$: e }, s) {
306
+ let o;
307
307
  this.parts = [];
308
- let i = 0, r = 0;
308
+ let r = 0, i = 0;
309
309
  const c = t.length - 1, l = this.parts, [f, v] = Vt(t, e);
310
- if (this.el = Z.createElement(f, o), I.currentNode = this.el.content, e === 2 || e === 3) {
310
+ if (this.el = Z.createElement(f, s), k.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 (; (s = I.nextNode()) !== null && l.length < c; ) {
315
- if (s.nodeType === 1) {
316
- if (s.hasAttributes()) for (const p of s.getAttributeNames()) if (p.endsWith(Ct)) {
317
- const x = v[r++], S = s.getAttribute(p).split(E), K = /([.?@])?(.*)/.exec(x);
318
- l.push({ type: 1, index: i, name: K[2], strings: S, ctor: K[1] === "." ? qt : K[1] === "?" ? Zt : K[1] === "@" ? Wt : Y }), s.removeAttribute(p);
319
- } else p.startsWith(E) && (l.push({ type: 6, index: i }), s.removeAttribute(p));
320
- if (Pt.test(s.tagName)) {
321
- const p = s.textContent.split(E), x = p.length - 1;
322
- if (x > 0) {
323
- s.textContent = Q ? Q.emptyScript : "";
324
- for (let S = 0; S < x; S++) s.append(p[S], F()), I.nextNode(), l.push({ type: 2, index: ++i });
325
- s.append(p[x], F());
314
+ for (; (o = k.nextNode()) !== null && l.length < c; ) {
315
+ if (o.nodeType === 1) {
316
+ if (o.hasAttributes()) for (const p of o.getAttributeNames()) if (p.endsWith(Ct)) {
317
+ const w = v[i++], E = o.getAttribute(p).split(S), K = /([.?@])?(.*)/.exec(w);
318
+ l.push({ type: 1, index: r, name: K[2], strings: E, ctor: K[1] === "." ? qt : K[1] === "?" ? Zt : K[1] === "@" ? Wt : Y }), o.removeAttribute(p);
319
+ } else p.startsWith(S) && (l.push({ type: 6, index: r }), o.removeAttribute(p));
320
+ if (Pt.test(o.tagName)) {
321
+ const p = o.textContent.split(S), w = p.length - 1;
322
+ if (w > 0) {
323
+ o.textContent = Q ? Q.emptyScript : "";
324
+ for (let E = 0; E < w; E++) o.append(p[E], F()), k.nextNode(), l.push({ type: 2, index: ++r });
325
+ o.append(p[w], F());
326
326
  }
327
327
  }
328
- } else if (s.nodeType === 8) if (s.data === Lt) l.push({ type: 2, index: i });
328
+ } else if (o.nodeType === 8) if (o.data === Lt) l.push({ type: 2, index: r });
329
329
  else {
330
330
  let p = -1;
331
- for (; (p = s.data.indexOf(E, p + 1)) !== -1; ) l.push({ type: 7, index: i }), p += E.length - 1;
331
+ for (; (p = o.data.indexOf(S, p + 1)) !== -1; ) l.push({ type: 7, index: r }), p += S.length - 1;
332
332
  }
333
- i++;
333
+ r++;
334
334
  }
335
335
  }
336
336
  static createElement(t, e) {
337
- const o = O.createElement("template");
338
- return o.innerHTML = t, o;
337
+ const s = B.createElement("template");
338
+ return s.innerHTML = t, s;
339
339
  }
340
340
  }
341
- function D(n, t, e = n, o) {
342
- var r, c;
343
- if (t === z) return t;
344
- let s = o !== void 0 ? (r = e._$Co) == null ? void 0 : r[o] : e._$Cl;
345
- const i = q(t) ? void 0 : t._$litDirective$;
346
- return (s == null ? void 0 : s.constructor) !== i && ((c = s == null ? void 0 : s._$AO) == null || c.call(s, !1), i === void 0 ? s = void 0 : (s = new i(n), s._$AT(n, e, o)), o !== void 0 ? (e._$Co ?? (e._$Co = []))[o] = s : e._$Cl = s), s !== void 0 && (t = D(n, s._$AS(n, t.values), s, o)), t;
341
+ function D(n, t, e = n, s) {
342
+ var i, c;
343
+ if (t === O) return t;
344
+ let o = s !== void 0 ? (i = e._$Co) == null ? void 0 : i[s] : e._$Cl;
345
+ const r = q(t) ? void 0 : t._$litDirective$;
346
+ return (o == null ? void 0 : o.constructor) !== r && ((c = o == null ? void 0 : o._$AO) == null || c.call(o, !1), r === void 0 ? o = void 0 : (o = new r(n), o._$AT(n, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = o : e._$Cl = o), o !== void 0 && (t = D(n, o._$AS(n, t.values), o, s)), t;
347
347
  }
348
348
  class Ft {
349
349
  constructor(t, e) {
@@ -356,21 +356,21 @@ class Ft {
356
356
  return this._$AM._$AU;
357
357
  }
358
358
  u(t) {
359
- const { el: { content: e }, parts: o } = this._$AD, s = ((t == null ? void 0 : t.creationScope) ?? O).importNode(e, !0);
360
- I.currentNode = s;
361
- let i = I.nextNode(), r = 0, c = 0, l = o[0];
359
+ const { el: { content: e }, parts: s } = this._$AD, o = ((t == null ? void 0 : t.creationScope) ?? B).importNode(e, !0);
360
+ k.currentNode = o;
361
+ let r = k.nextNode(), i = 0, c = 0, l = s[0];
362
362
  for (; l !== void 0; ) {
363
- if (r === l.index) {
363
+ if (i === l.index) {
364
364
  let f;
365
- l.type === 2 ? f = new G(i, i.nextSibling, this, t) : l.type === 1 ? f = new l.ctor(i, l.name, l.strings, this, t) : l.type === 6 && (f = new Gt(i, this, t)), this._$AV.push(f), l = o[++c];
365
+ l.type === 2 ? f = new G(r, r.nextSibling, this, t) : l.type === 1 ? f = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (f = new Gt(r, this, t)), this._$AV.push(f), l = s[++c];
366
366
  }
367
- r !== (l == null ? void 0 : l.index) && (i = I.nextNode(), r++);
367
+ i !== (l == null ? void 0 : l.index) && (r = k.nextNode(), i++);
368
368
  }
369
- return I.currentNode = O, s;
369
+ return k.currentNode = B, o;
370
370
  }
371
371
  p(t) {
372
372
  let e = 0;
373
- for (const o of this._$AV) o !== void 0 && (o.strings !== void 0 ? (o._$AI(t, o, e), e += o.strings.length - 2) : o._$AI(t[e])), e++;
373
+ for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
374
374
  }
375
375
  }
376
376
  class G {
@@ -378,8 +378,8 @@ class G {
378
378
  var t;
379
379
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
380
380
  }
381
- constructor(t, e, o, s) {
382
- this.type = 2, this._$AH = h, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = o, this.options = s, this._$Cv = (s == null ? void 0 : s.isConnected) ?? !0;
381
+ constructor(t, e, s, o) {
382
+ this.type = 2, this._$AH = d, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = o, this._$Cv = (o == null ? void 0 : o.isConnected) ?? !0;
383
383
  }
384
384
  get parentNode() {
385
385
  let t = this._$AA.parentNode;
@@ -393,7 +393,7 @@ class G {
393
393
  return this._$AB;
394
394
  }
395
395
  _$AI(t, e = this) {
396
- t = D(this, t, e), q(t) ? t === h || t == null || t === "" ? (this._$AH !== h && this._$AR(), this._$AH = h) : t !== this._$AH && t !== z && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : jt(t) ? this.k(t) : this._(t);
396
+ t = D(this, t, e), q(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== O && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : jt(t) ? this.k(t) : this._(t);
397
397
  }
398
398
  O(t) {
399
399
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -402,15 +402,15 @@ class G {
402
402
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
403
403
  }
404
404
  _(t) {
405
- this._$AH !== h && q(this._$AH) ? this._$AA.nextSibling.data = t : this.T(O.createTextNode(t)), this._$AH = t;
405
+ this._$AH !== d && q(this._$AH) ? this._$AA.nextSibling.data = t : this.T(B.createTextNode(t)), this._$AH = t;
406
406
  }
407
407
  $(t) {
408
- var i;
409
- const { values: e, _$litType$: o } = t, s = typeof o == "number" ? this._$AC(t) : (o.el === void 0 && (o.el = Z.createElement(kt(o.h, o.h[0]), this.options)), o);
410
- if (((i = this._$AH) == null ? void 0 : i._$AD) === s) this._$AH.p(e);
408
+ var r;
409
+ const { values: e, _$litType$: s } = t, o = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = Z.createElement(kt(s.h, s.h[0]), this.options)), s);
410
+ if (((r = this._$AH) == null ? void 0 : r._$AD) === o) this._$AH.p(e);
411
411
  else {
412
- const r = new Ft(s, this), c = r.u(this.options);
413
- r.p(e), this.T(c), this._$AH = r;
412
+ const i = new Ft(o, this), c = i.u(this.options);
413
+ i.p(e), this.T(c), this._$AH = i;
414
414
  }
415
415
  }
416
416
  _$AC(t) {
@@ -420,15 +420,15 @@ class G {
420
420
  k(t) {
421
421
  ut(this._$AH) || (this._$AH = [], this._$AR());
422
422
  const e = this._$AH;
423
- let o, s = 0;
424
- for (const i of t) s === e.length ? e.push(o = new G(this.O(F()), this.O(F()), this, this.options)) : o = e[s], o._$AI(i), s++;
425
- s < e.length && (this._$AR(o && o._$AB.nextSibling, s), e.length = s);
423
+ let s, o = 0;
424
+ for (const r of t) o === e.length ? e.push(s = new G(this.O(F()), this.O(F()), this, this.options)) : s = e[o], s._$AI(r), o++;
425
+ o < e.length && (this._$AR(s && s._$AB.nextSibling, o), e.length = o);
426
426
  }
427
427
  _$AR(t = this._$AA.nextSibling, e) {
428
- var o;
429
- for ((o = this._$AP) == null ? void 0 : o.call(this, !1, !0, e); t && t !== this._$AB; ) {
430
- const s = t.nextSibling;
431
- t.remove(), t = s;
428
+ var s;
429
+ for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, e); t && t !== this._$AB; ) {
430
+ const o = t.nextSibling;
431
+ t.remove(), t = o;
432
432
  }
433
433
  }
434
434
  setConnected(t) {
@@ -443,22 +443,22 @@ class Y {
443
443
  get _$AU() {
444
444
  return this._$AM._$AU;
445
445
  }
446
- constructor(t, e, o, s, i) {
447
- this.type = 1, this._$AH = h, this._$AN = void 0, this.element = t, this.name = e, this._$AM = s, this.options = i, o.length > 2 || o[0] !== "" || o[1] !== "" ? (this._$AH = Array(o.length - 1).fill(new String()), this.strings = o) : this._$AH = h;
446
+ constructor(t, e, s, o, r) {
447
+ this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = o, this.options = r, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = d;
448
448
  }
449
- _$AI(t, e = this, o, s) {
450
- const i = this.strings;
451
- let r = !1;
452
- if (i === void 0) t = D(this, t, e, 0), r = !q(t) || t !== this._$AH && t !== z, r && (this._$AH = t);
449
+ _$AI(t, e = this, s, o) {
450
+ const r = this.strings;
451
+ let i = !1;
452
+ if (r === void 0) t = D(this, t, e, 0), i = !q(t) || t !== this._$AH && t !== O, i && (this._$AH = t);
453
453
  else {
454
454
  const c = t;
455
455
  let l, f;
456
- for (t = i[0], l = 0; l < i.length - 1; l++) f = D(this, c[o + l], e, l), f === z && (f = this._$AH[l]), r || (r = !q(f) || f !== this._$AH[l]), f === h ? t = h : t !== h && (t += (f ?? "") + i[l + 1]), this._$AH[l] = f;
456
+ for (t = r[0], l = 0; l < r.length - 1; l++) f = D(this, c[s + l], e, l), f === O && (f = this._$AH[l]), i || (i = !q(f) || f !== this._$AH[l]), f === d ? t = d : t !== d && (t += (f ?? "") + r[l + 1]), this._$AH[l] = f;
457
457
  }
458
- r && !s && this.j(t);
458
+ i && !o && this.j(t);
459
459
  }
460
460
  j(t) {
461
- t === h ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
461
+ t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
462
462
  }
463
463
  }
464
464
  class qt extends Y {
@@ -466,7 +466,7 @@ class qt extends Y {
466
466
  super(...arguments), this.type = 3;
467
467
  }
468
468
  j(t) {
469
- this.element[this.name] = t === h ? void 0 : t;
469
+ this.element[this.name] = t === d ? void 0 : t;
470
470
  }
471
471
  }
472
472
  class Zt extends Y {
@@ -474,17 +474,17 @@ class Zt extends Y {
474
474
  super(...arguments), this.type = 4;
475
475
  }
476
476
  j(t) {
477
- this.element.toggleAttribute(this.name, !!t && t !== h);
477
+ this.element.toggleAttribute(this.name, !!t && t !== d);
478
478
  }
479
479
  }
480
480
  class Wt extends Y {
481
- constructor(t, e, o, s, i) {
482
- super(t, e, o, s, i), this.type = 5;
481
+ constructor(t, e, s, o, r) {
482
+ super(t, e, s, o, r), this.type = 5;
483
483
  }
484
484
  _$AI(t, e = this) {
485
- if ((t = D(this, t, e, 0) ?? h) === z) return;
486
- const o = this._$AH, s = t === h && o !== h || t.capture !== o.capture || t.once !== o.once || t.passive !== o.passive, i = t !== h && (o === h || s);
487
- s && this.element.removeEventListener(this.name, this, o), i && this.element.addEventListener(this.name, this, t), this._$AH = t;
485
+ if ((t = D(this, t, e, 0) ?? d) === O) return;
486
+ const s = this._$AH, o = t === d && s !== d || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, r = t !== d && (s === d || o);
487
+ o && this.element.removeEventListener(this.name, this, s), r && 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 Wt extends Y {
492
492
  }
493
493
  }
494
494
  class Gt {
495
- constructor(t, e, o) {
496
- this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = o;
495
+ constructor(t, e, s) {
496
+ this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
497
497
  }
498
498
  get _$AU() {
499
499
  return this._$AM._$AU;
@@ -502,23 +502,23 @@ class Gt {
502
502
  D(this, t);
503
503
  }
504
504
  }
505
- const rt = V.litHtmlPolyfillSupport;
506
- rt == null || rt(Z, G), (V.litHtmlVersions ?? (V.litHtmlVersions = [])).push("3.3.0");
505
+ const it = V.litHtmlPolyfillSupport;
506
+ it == null || it(Z, G), (V.litHtmlVersions ?? (V.litHtmlVersions = [])).push("3.3.0");
507
507
  const Kt = (n, t, e) => {
508
- const o = (e == null ? void 0 : e.renderBefore) ?? t;
509
- let s = o._$litPart$;
510
- if (s === void 0) {
511
- const i = (e == null ? void 0 : e.renderBefore) ?? null;
512
- o._$litPart$ = s = new G(t.insertBefore(F(), i), i, void 0, e ?? {});
508
+ const s = (e == null ? void 0 : e.renderBefore) ?? t;
509
+ let o = s._$litPart$;
510
+ if (o === void 0) {
511
+ const r = (e == null ? void 0 : e.renderBefore) ?? null;
512
+ s._$litPart$ = o = new G(t.insertBefore(F(), r), r, void 0, e ?? {});
513
513
  }
514
- return s._$AI(n), s;
514
+ return o._$AI(n), o;
515
515
  };
516
516
  /**
517
517
  * @license
518
518
  * Copyright 2017 Google LLC
519
519
  * SPDX-License-Identifier: BSD-3-Clause
520
520
  */
521
- const B = globalThis;
521
+ const I = globalThis;
522
522
  let m = class extends T {
523
523
  constructor() {
524
524
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
@@ -541,20 +541,20 @@ let m = class extends T {
541
541
  super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
542
542
  }
543
543
  render() {
544
- return z;
544
+ return O;
545
545
  }
546
546
  };
547
- var St;
548
- m._$litElement$ = !0, m.finalized = !0, (St = B.litElementHydrateSupport) == null || St.call(B, { LitElement: m });
549
- const it = B.litElementPolyfillSupport;
550
- it == null || it({ LitElement: m });
551
- (B.litElementVersions ?? (B.litElementVersions = [])).push("4.2.0");
547
+ var Et;
548
+ m._$litElement$ = !0, m.finalized = !0, (Et = I.litElementHydrateSupport) == null || Et.call(I, { LitElement: m });
549
+ const rt = I.litElementPolyfillSupport;
550
+ rt == null || rt({ LitElement: m });
551
+ (I.litElementVersions ?? (I.litElementVersions = [])).push("4.2.0");
552
552
  /**
553
553
  * @license
554
554
  * Copyright 2017 Google LLC
555
555
  * SPDX-License-Identifier: BSD-3-Clause
556
556
  */
557
- const M = (n) => (t, e) => {
557
+ const z = (n) => (t, e) => {
558
558
  e !== void 0 ? e.addInitializer(() => {
559
559
  customElements.define(n, t);
560
560
  }) : customElements.define(n, t);
@@ -565,30 +565,30 @@ const M = (n) => (t, e) => {
565
565
  * SPDX-License-Identifier: BSD-3-Clause
566
566
  */
567
567
  const Xt = { attribute: !0, type: String, converter: J, reflect: !1, hasChanged: pt }, Jt = (n = Xt, t, e) => {
568
- const { kind: o, metadata: s } = e;
569
- let i = globalThis.litPropertyMetadata.get(s);
570
- if (i === void 0 && globalThis.litPropertyMetadata.set(s, i = /* @__PURE__ */ new Map()), o === "setter" && ((n = Object.create(n)).wrapped = !0), i.set(e.name, n), o === "accessor") {
571
- const { name: r } = e;
568
+ const { kind: s, metadata: o } = e;
569
+ let r = globalThis.litPropertyMetadata.get(o);
570
+ if (r === void 0 && globalThis.litPropertyMetadata.set(o, r = /* @__PURE__ */ new Map()), s === "setter" && ((n = Object.create(n)).wrapped = !0), r.set(e.name, n), s === "accessor") {
571
+ const { name: i } = e;
572
572
  return { set(c) {
573
573
  const l = t.get.call(this);
574
- t.set.call(this, c), this.requestUpdate(r, l, n);
574
+ t.set.call(this, c), this.requestUpdate(i, l, n);
575
575
  }, init(c) {
576
- return c !== void 0 && this.C(r, void 0, n, c), c;
576
+ return c !== void 0 && this.C(i, void 0, n, c), c;
577
577
  } };
578
578
  }
579
- if (o === "setter") {
580
- const { name: r } = e;
579
+ if (s === "setter") {
580
+ const { name: i } = e;
581
581
  return function(c) {
582
- const l = this[r];
583
- t.call(this, c), this.requestUpdate(r, l, n);
582
+ const l = this[i];
583
+ t.call(this, c), this.requestUpdate(i, l, n);
584
584
  };
585
585
  }
586
- throw Error("Unsupported decorator location: " + o);
586
+ throw Error("Unsupported decorator location: " + s);
587
587
  };
588
588
  function a(n) {
589
- return (t, e) => typeof e == "object" ? Jt(n, t, e) : ((o, s, i) => {
590
- const r = s.hasOwnProperty(i);
591
- return s.constructor.createProperty(i, o), r ? Object.getOwnPropertyDescriptor(s, i) : void 0;
589
+ return (t, e) => typeof e == "object" ? Jt(n, t, e) : ((s, o, r) => {
590
+ const i = o.hasOwnProperty(r);
591
+ return o.constructor.createProperty(r, s), i ? Object.getOwnPropertyDescriptor(o, r) : void 0;
592
592
  })(n, t, e);
593
593
  }
594
594
  /**
@@ -632,16 +632,16 @@ function te(n) {
632
632
  function ee(n) {
633
633
  n.addInitializer((t) => {
634
634
  const e = t;
635
- e.addEventListener("click", async (o) => {
636
- const { type: s, [ft]: i } = e, { form: r } = i;
637
- if (!(!r || s === "button") && (await new Promise((c) => {
635
+ e.addEventListener("click", async (s) => {
636
+ const { type: o, [ft]: r } = e, { form: i } = r;
637
+ if (!(!i || o === "button") && (await new Promise((c) => {
638
638
  setTimeout(c);
639
- }), !o.defaultPrevented)) {
640
- if (s === "reset") {
641
- r.reset();
639
+ }), !s.defaultPrevented)) {
640
+ if (o === "reset") {
641
+ i.reset();
642
642
  return;
643
643
  }
644
- r.addEventListener(
644
+ i.addEventListener(
645
645
  "submit",
646
646
  (c) => {
647
647
  Object.defineProperty(c, "submitter", {
@@ -651,7 +651,7 @@ function ee(n) {
651
651
  });
652
652
  },
653
653
  { capture: !0, once: !0 }
654
- ), i.setFormValue(e.value), r.requestSubmit();
654
+ ), r.setFormValue(e.value), i.requestSubmit();
655
655
  }
656
656
  });
657
657
  });
@@ -659,16 +659,16 @@ function ee(n) {
659
659
  const ne = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
660
660
  <path d="M8 3.6275C7.06799 0.971489 3.25399 -0.0226278 1.67414 2.30983C0.0877404 4.65197 1.67414 6.99412 2.62598 8.33249C3.0147 8.87905 8 14 8 14C8 14 12.9853 8.87905 13.374 8.33249C14.3259 6.99412 15.9123 4.65197 14.3259 2.30983C12.746 -0.0226277 8.97167 0.971489 8 3.6275Z" stroke="#3F2B2E" stroke-linecap="round"/>
661
661
  </svg>
662
- `, oe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
662
+ `, se = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
663
663
  <path d="M16 8L4 0V16L16 8Z" fill="#3F2B2E"/>
664
664
  </svg>
665
- `, se = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
665
+ `, oe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
666
666
  <path d="M12.2266 8.16162C11.0953 9.26599 8.72489 11.8788 5.11546 16L4.63062 15.7172C5.78886 13.4007 7.17607 10.8283 8.79223 8C7.17607 5.17172 5.78886 2.59933 4.63062 0.282827L5.11546 0C8.72489 4.12121 11.0953 6.73401 12.2266 7.83838V8.16162Z" fill="#3F2B2E"/>
667
667
  </svg>
668
- `, re = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
668
+ `, ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
669
669
  <path d="M5 7.83838C6.02128 6.73401 8.16109 4.12121 11.4195 0L11.8571 0.282829C10.8116 2.59933 9.55927 5.17172 8.1003 8C9.55927 10.8283 10.8115 13.4007 11.8571 15.7172L11.4195 16C8.16109 11.8788 6.02128 9.266 5 8.16162L5 7.83838Z" fill="#3F2B2E"/>
670
670
  </svg>
671
- `, ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
671
+ `, re = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
672
672
  <path d="M12.2834 14.4585L7.98873 11.3928L3.69404 14.4585L5.33977 9.4972L1 6.39639H6.36554L8 1.4585L9.63446 6.39639H15L10.6602 9.4972L12.306 14.4585H12.2834ZM7.98873 10.328L10.6602 12.2353L9.64573 9.15787L12.2721 7.28568H9.02576L8 4.17317L6.97424 7.28568H3.72786L6.35427 9.15787L5.33977 12.2353L8.01127 10.328H7.98873Z" fill="#3F2B2E"/>
673
673
  </svg>
674
674
  `, ae = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -695,28 +695,28 @@ const ne = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
695
695
  <svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
696
696
  viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
697
697
  <style type="text/css">
698
- .st0{fill:#001022;}
698
+ .st0{fill:#3F2B2E;}
699
699
  </style>
700
- <path class="st0" d="M27.3,19.3h-6.7v-6.7c0-0.4-0.3-0.7-0.7-0.7s-0.7,0.3-0.7,0.7v6.7h-6.7c-0.4,0-0.7,0.3-0.7,0.7s0.3,0.7,0.7,0.7
701
- h6.7v6.7c0,0.4,0.3,0.7,0.7,0.7s0.7-0.3,0.7-0.7v-6.7h6.7c0.4,0,0.7-0.3,0.7-0.7S27.7,19.3,27.3,19.3z"/>
700
+ <path class="st0" d="M40,20c0,0.7-0.6,1.2-1.2,1.2H21.2v17.5c0,0.7-0.6,1.2-1.2,1.2s-1.2-0.6-1.2-1.2V21.2H1.2C0.6,21.2,0,20.7,0,20
701
+ s0.6-1.2,1.2-1.2h17.5V1.2C18.8,0.6,19.3,0,20,0s1.2,0.6,1.2,1.2v17.5h17.5C39.4,18.8,40,19.3,40,20z"/>
702
702
  </svg>
703
703
  `, fe = `<?xml version="1.0" encoding="utf-8"?>
704
704
  <!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
705
705
  <svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
706
706
  viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
707
707
  <style type="text/css">
708
- .st0{fill:#001022;}
708
+ .st0{fill:#3F2B2E;}
709
709
  </style>
710
- <path class="st0" d="M27.3,20.7H12.7c-0.4,0-0.7-0.3-0.7-0.7s0.3-0.7,0.7-0.7h14.7c0.4,0,0.7,0.3,0.7,0.7S27.7,20.7,27.3,20.7z"/>
710
+ <path class="st0" d="M38.8,20.5H1.2c-0.7,0-1.2-0.6-1.2-1.2S0.6,18,1.2,18h37.5c0.7,0,1.2,0.6,1.2,1.2S39.4,20.5,38.8,20.5z"/>
711
711
  </svg>
712
712
  `, tt = {
713
713
  wishlist: ne,
714
- playerv: oe,
715
- chevronRight: se,
716
- chevronLeft: re,
714
+ playerv: se,
715
+ chevronRight: oe,
716
+ chevronLeft: ie,
717
717
  icoPlus: ue,
718
718
  icoMinus: fe,
719
- "star-0": ie,
719
+ "star-0": re,
720
720
  "star-25": ae,
721
721
  "star-50": le,
722
722
  "star-75": ce,
@@ -729,15 +729,15 @@ const ne = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
729
729
  * Copyright 2017 Google LLC
730
730
  * SPDX-License-Identifier: BSD-3-Clause
731
731
  */
732
- const ve = { CHILD: 2 }, be = (n) => (...t) => ({ _$litDirective$: n, values: t });
733
- class ge {
732
+ const ve = { CHILD: 2 }, ge = (n) => (...t) => ({ _$litDirective$: n, values: t });
733
+ class be {
734
734
  constructor(t) {
735
735
  }
736
736
  get _$AU() {
737
737
  return this._$AM._$AU;
738
738
  }
739
- _$AT(t, e, o) {
740
- this._$Ct = t, this._$AM = e, this._$Ci = o;
739
+ _$AT(t, e, s) {
740
+ this._$Ct = t, this._$AM = e, this._$Ci = s;
741
741
  }
742
742
  _$AS(t, e) {
743
743
  return this.update(t, e);
@@ -751,13 +751,13 @@ class ge {
751
751
  * Copyright 2017 Google LLC
752
752
  * SPDX-License-Identifier: BSD-3-Clause
753
753
  */
754
- class lt extends ge {
754
+ class lt extends be {
755
755
  constructor(t) {
756
- if (super(t), this.it = h, t.type !== ve.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
756
+ if (super(t), this.it = d, t.type !== ve.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
757
757
  }
758
758
  render(t) {
759
- if (t === h || t == null) return this._t = void 0, this.it = t;
760
- if (t === z) return t;
759
+ if (t === d || t == null) return this._t = void 0, this.it = t;
760
+ if (t === O) return t;
761
761
  if (typeof t != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
762
762
  if (t === this.it) return this._t;
763
763
  this.it = t;
@@ -774,11 +774,11 @@ lt.directiveName = "unsafeHTML", lt.resultType = 1;
774
774
  class ct extends lt {
775
775
  }
776
776
  ct.directiveName = "unsafeSVG", ct.resultType = 2;
777
- const W = be(ct);
778
- var ye = Object.defineProperty, me = Object.getOwnPropertyDescriptor, g = (n, t, e, o) => {
779
- for (var s = o > 1 ? void 0 : o ? me(t, e) : t, i = n.length - 1, r; i >= 0; i--)
780
- (r = n[i]) && (s = (o ? r(t, e, s) : r(s)) || s);
781
- return o && s && ye(t, e, s), s;
777
+ const W = ge(ct);
778
+ var ye = Object.defineProperty, me = Object.getOwnPropertyDescriptor, b = (n, t, e, s) => {
779
+ for (var o = s > 1 ? void 0 : s ? me(t, e) : t, r = n.length - 1, i; r >= 0; r--)
780
+ (i = n[r]) && (o = (s ? i(t, e, o) : i(o)) || o);
781
+ return s && o && ye(t, e, o), o;
782
782
  };
783
783
  const $e = te(m);
784
784
  let u = class extends $e {
@@ -805,41 +805,41 @@ let u = class extends $e {
805
805
  }
806
806
  renderIcon(n) {
807
807
  const t = n === "start" ? this.startIconModel : this.endIconModel;
808
- if (!t) return h;
808
+ if (!t) return d;
809
809
  const e = tt[t].replace(
810
810
  "<svg",
811
811
  '<svg aria-hidden="true" focusable="false" part="svg"'
812
812
  );
813
- return d`<span class="${n === "start" ? "icon-start" : "icon-end"}">${W(e)}</span>`;
813
+ return h`<span class="${n === "start" ? "icon-start" : "icon-end"}">${W(e)}</span>`;
814
814
  }
815
815
  renderButton() {
816
816
  const n = this.text || this.textsecond;
817
- return d`
817
+ return h`
818
818
  <button type=${this.type} class="button" ?disabled=${this.disabled} @click=${this.handleClick}>
819
- ${this.startIcon ? this.renderIcon("start") : h}
820
- ${n ? d`
821
- ${this.text ? d`<span class="text">${this.text}</span>` : h}
822
- ${this.textsecond ? d`<span class="text">${this.textsecond}</span>` : h}
823
- ` : d`<slot></slot>`}
824
- ${this.endIcon ? this.renderIcon("end") : h}
819
+ ${this.startIcon ? this.renderIcon("start") : d}
820
+ ${n ? h`
821
+ ${this.text ? h`<span class="text">${this.text}</span>` : d}
822
+ ${this.textsecond ? h`<span class="text">${this.textsecond}</span>` : d}
823
+ ` : h`<slot></slot>`}
824
+ ${this.endIcon ? this.renderIcon("end") : d}
825
825
  </button>
826
826
  `;
827
827
  }
828
828
  renderLink() {
829
829
  const n = this.text || this.textsecond;
830
- return d`
830
+ return h`
831
831
  <a
832
832
  href=${this.href}
833
- target=${this.target || h}
833
+ target=${this.target || d}
834
834
  class="button"
835
835
  ?disabled=${this.disabled}
836
836
  >
837
- ${this.startIcon ? this.renderIcon("start") : h}
838
- ${n ? d`
839
- ${this.text ? d`<span>${this.text}</span>` : h}
840
- ${this.textsecond ? d`<span>${this.textsecond}</span>` : h}
841
- ` : d`<slot></slot>`}
842
- ${this.endIcon ? this.renderIcon("end") : h}
837
+ ${this.startIcon ? this.renderIcon("start") : d}
838
+ ${n ? h`
839
+ ${this.text ? h`<span>${this.text}</span>` : d}
840
+ ${this.textsecond ? h`<span>${this.textsecond}</span>` : d}
841
+ ` : h`<slot></slot>`}
842
+ ${this.endIcon ? this.renderIcon("end") : d}
843
843
  </a>
844
844
  `;
845
845
  }
@@ -935,7 +935,8 @@ u.styles = A`
935
935
  font-weight: var(--font-weight-400);
936
936
  line-height: var(--line-height-200);
937
937
  min-width: 64px;
938
- padding: var(--button-padding);
938
+ padding: var(--button-padding);
939
+ text-decoration: none;
939
940
  cursor: inherit;
940
941
  box-sizing: border-box;
941
942
 
@@ -1003,55 +1004,55 @@ u.styles = A`
1003
1004
  }
1004
1005
  //End icon movment on hover
1005
1006
  `;
1006
- g([
1007
+ b([
1007
1008
  a()
1008
1009
  ], u.prototype, "type", 2);
1009
- g([
1010
+ b([
1010
1011
  a({ reflect: !0 })
1011
1012
  ], u.prototype, "value", 2);
1012
- g([
1013
+ b([
1013
1014
  a({ type: String, reflect: !0 })
1014
1015
  ], u.prototype, "variant", 2);
1015
- g([
1016
+ b([
1016
1017
  a({ type: String })
1017
1018
  ], u.prototype, "text", 2);
1018
- g([
1019
+ b([
1019
1020
  a({ type: String })
1020
1021
  ], u.prototype, "textsecond", 2);
1021
- g([
1022
+ b([
1022
1023
  a({ type: Boolean, reflect: !0 })
1023
1024
  ], u.prototype, "fullwidth", 2);
1024
- g([
1025
+ b([
1025
1026
  a({ type: Boolean, reflect: !0 })
1026
1027
  ], u.prototype, "disabled", 2);
1027
- g([
1028
+ b([
1028
1029
  a({ type: String, reflect: !0 })
1029
1030
  ], u.prototype, "startIconModel", 2);
1030
- g([
1031
+ b([
1031
1032
  a({ type: String, reflect: !0 })
1032
1033
  ], u.prototype, "endIconModel", 2);
1033
- g([
1034
+ b([
1034
1035
  a({ type: Boolean, reflect: !0, attribute: "starticon" })
1035
1036
  ], u.prototype, "startIcon", 2);
1036
- g([
1037
+ b([
1037
1038
  a({ type: Boolean, reflect: !0, attribute: "endicon" })
1038
1039
  ], u.prototype, "endIcon", 2);
1039
- g([
1040
+ b([
1040
1041
  a({ type: String, attribute: "paneltarget", reflect: !0 })
1041
1042
  ], u.prototype, "panelTarget", 2);
1042
- g([
1043
+ b([
1043
1044
  a({ type: String })
1044
1045
  ], u.prototype, "href", 2);
1045
- g([
1046
+ b([
1046
1047
  a({ type: String })
1047
1048
  ], u.prototype, "target", 2);
1048
- u = g([
1049
- M("o-button")
1049
+ u = b([
1050
+ z("o-button")
1050
1051
  ], u);
1051
- var we = Object.defineProperty, xe = Object.getOwnPropertyDescriptor, et = (n, t, e, o) => {
1052
- for (var s = o > 1 ? void 0 : o ? xe(t, e) : t, i = n.length - 1, r; i >= 0; i--)
1053
- (r = n[i]) && (s = (o ? r(t, e, s) : r(s)) || s);
1054
- return o && s && we(t, e, s), s;
1052
+ var we = Object.defineProperty, xe = Object.getOwnPropertyDescriptor, et = (n, t, e, s) => {
1053
+ for (var o = s > 1 ? void 0 : s ? xe(t, e) : t, r = n.length - 1, i; r >= 0; r--)
1054
+ (i = n[r]) && (o = (s ? i(t, e, o) : i(o)) || o);
1055
+ return s && o && we(t, e, o), o;
1055
1056
  };
1056
1057
  let U = class extends m {
1057
1058
  constructor() {
@@ -1077,7 +1078,7 @@ let U = class extends m {
1077
1078
  "<svg",
1078
1079
  '<svg aria-hidden="true" focusable="false" part="svg"'
1079
1080
  );
1080
- return d`
1081
+ return h`
1081
1082
  <button type="button" aria-describedby="${this.ariaDescribedBy}" class="wishlist-button">
1082
1083
  <span class="sr-only">${this.label}</span>
1083
1084
  ${W(n)}
@@ -1164,12 +1165,12 @@ et([
1164
1165
  a({ type: String, reflect: !0 })
1165
1166
  ], U.prototype, "label", 2);
1166
1167
  U = et([
1167
- M("o-wishlist-button")
1168
+ z("o-wishlist-button")
1168
1169
  ], U);
1169
- var _e = Object.defineProperty, Ae = Object.getOwnPropertyDescriptor, L = (n, t, e, o) => {
1170
- for (var s = o > 1 ? void 0 : o ? Ae(t, e) : t, i = n.length - 1, r; i >= 0; i--)
1171
- (r = n[i]) && (s = (o ? r(t, e, s) : r(s)) || s);
1172
- return o && s && _e(t, e, s), s;
1170
+ var _e = Object.defineProperty, Ae = Object.getOwnPropertyDescriptor, L = (n, t, e, s) => {
1171
+ for (var o = s > 1 ? void 0 : s ? Ae(t, e) : t, r = n.length - 1, i; r >= 0; r--)
1172
+ (i = n[r]) && (o = (s ? i(t, e, o) : i(o)) || o);
1173
+ return s && o && _e(t, e, o), o;
1173
1174
  };
1174
1175
  let $ = class extends m {
1175
1176
  constructor() {
@@ -1183,12 +1184,12 @@ let $ = class extends m {
1183
1184
  "<svg",
1184
1185
  '<svg aria-hidden="true" focusable="false" part="svg"'
1185
1186
  );
1186
- return d`
1187
- ${this.type === "span" ? d`
1187
+ return h`
1188
+ ${this.type === "span" ? h`
1188
1189
  <span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
1189
1190
  ${W(e)}
1190
1191
  </span>
1191
- ` : d`
1192
+ ` : h`
1192
1193
  <button
1193
1194
  type="button"
1194
1195
  aria-label="icon"
@@ -1219,10 +1220,12 @@ $.styles = A`
1219
1220
  cursor: pointer;
1220
1221
  position: relative;
1221
1222
 
1222
- svg {
1223
- path {
1224
- stroke: var(--color-content-action-secondary);
1225
- stroke-width: var(--icon-stroke-width, 1);
1223
+ &[icon="wishlist"] {
1224
+ svg {
1225
+ path {
1226
+ stroke: var(--color-content-action-secondary);
1227
+ stroke-width: var(--icon-stroke-width, 1);
1228
+ }
1226
1229
  }
1227
1230
  }
1228
1231
  }
@@ -1231,19 +1234,52 @@ $.styles = A`
1231
1234
  fill: var(--color-content-action-secondary);
1232
1235
  }
1233
1236
 
1234
- .icon-button.small {
1237
+ .icon-button.smallxs {
1235
1238
  width: 20px;
1236
1239
  height: 20px;
1240
+
1241
+ &:not(.icon-wishlist) {
1242
+ svg {
1243
+ width: 8px;
1244
+ height: 8px;
1245
+ }
1246
+ }
1237
1247
  }
1238
1248
 
1239
- .icon-button.medium {
1249
+ .icon-button.small {
1240
1250
  width: 32px;
1241
1251
  height: 32px;
1252
+
1253
+ &:not(.icon-wishlist) {
1254
+ svg {
1255
+ width: 16px;
1256
+ height: 16px;
1257
+ }
1258
+ }
1259
+ }
1260
+
1261
+ .icon-button.medium {
1262
+ width: 40px;
1263
+ height: 40px;
1264
+
1265
+ &:not(.icon-wishlist) {
1266
+ svg {
1267
+ width: 16px;
1268
+ height: 16px;
1269
+ }
1270
+ }
1242
1271
  }
1243
1272
 
1244
1273
  .icon-button.large {
1245
1274
  width: 40px;
1246
1275
  height: 40px;
1276
+
1277
+ &:not(.icon-wishlist) {
1278
+ svg {
1279
+ width: 24px;
1280
+ height: 24px;
1281
+ }
1282
+ }
1247
1283
  }
1248
1284
 
1249
1285
  .icon-button.none-light, .icon-button.none-contrast {
@@ -1251,13 +1287,20 @@ $.styles = A`
1251
1287
  width: auto;
1252
1288
  height: auto;
1253
1289
 
1254
- &.small {
1290
+ &.smallxs {
1255
1291
  svg {
1256
1292
  width: 8px;
1257
1293
  height: 8px;
1258
1294
  }
1259
1295
  }
1260
1296
 
1297
+ &.small {
1298
+ svg {
1299
+ width: 16px;
1300
+ height: 16px;
1301
+ }
1302
+ }
1303
+
1261
1304
  &.medium {
1262
1305
  svg {
1263
1306
  width: 16px;
@@ -1381,21 +1424,21 @@ L([
1381
1424
  a({ type: Boolean, reflect: !0 })
1382
1425
  ], $.prototype, "disabled", 2);
1383
1426
  $ = L([
1384
- M("o-icon-button")
1427
+ z("o-icon-button")
1385
1428
  ], $);
1386
- var Se = Object.defineProperty, Ee = Object.getOwnPropertyDescriptor, H = (n, t, e, o) => {
1387
- for (var s = o > 1 ? void 0 : o ? Ee(t, e) : t, i = n.length - 1, r; i >= 0; i--)
1388
- (r = n[i]) && (s = (o ? r(t, e, s) : r(s)) || s);
1389
- return o && s && Se(t, e, s), s;
1429
+ var Ee = Object.defineProperty, Se = Object.getOwnPropertyDescriptor, M = (n, t, e, s) => {
1430
+ for (var o = s > 1 ? void 0 : s ? Se(t, e) : t, r = n.length - 1, i; r >= 0; r--)
1431
+ (i = n[r]) && (o = (s ? i(t, e, o) : i(o)) || o);
1432
+ return s && o && Ee(t, e, o), o;
1390
1433
  };
1391
- let _ = class extends m {
1434
+ let x = class extends m {
1392
1435
  constructor() {
1393
1436
  super(...arguments), this.href = "", this.target = "", this.template = "standard", this.inverse = !1, this.endIcon = !1, this.reverseEndIcon = !1;
1394
1437
  }
1395
1438
  render() {
1396
- return d`
1439
+ return h`
1397
1440
  <a href="${this.href}" target="${this.target}">
1398
- ${this.endIcon && this.reverseEndIcon ? d`
1441
+ ${this.endIcon && this.reverseEndIcon ? h`
1399
1442
  <o-icon-button
1400
1443
  icon="chevronLeft"
1401
1444
  bgstyle="${this.inverse ? "none-light" : "none-contrast"}"
@@ -1405,7 +1448,7 @@ let _ = class extends m {
1405
1448
  ></o-icon-button>
1406
1449
  ` : null}
1407
1450
  <span class="link-text"><slot></slot></span>
1408
- ${this.endIcon && !this.reverseEndIcon ? d`
1451
+ ${this.endIcon && !this.reverseEndIcon ? h`
1409
1452
  <o-icon-button
1410
1453
  icon="chevronRight"
1411
1454
  bgstyle="${this.inverse ? "none-light" : "none-contrast"}"
@@ -1418,7 +1461,7 @@ let _ = class extends m {
1418
1461
  `;
1419
1462
  }
1420
1463
  };
1421
- _.styles = A`
1464
+ x.styles = A`
1422
1465
  :host([template="standard"]) a {
1423
1466
  color: var(--color-content-action-secondary);
1424
1467
  font-size: var(--font-size-200);
@@ -1506,31 +1549,31 @@ _.styles = A`
1506
1549
  }
1507
1550
  /* End of underline effect */
1508
1551
  `;
1509
- H([
1552
+ M([
1510
1553
  a({ type: String })
1511
- ], _.prototype, "href", 2);
1512
- H([
1554
+ ], x.prototype, "href", 2);
1555
+ M([
1513
1556
  a({ type: String })
1514
- ], _.prototype, "target", 2);
1515
- H([
1557
+ ], x.prototype, "target", 2);
1558
+ M([
1516
1559
  a({ type: String, reflect: !0 })
1517
- ], _.prototype, "template", 2);
1518
- H([
1560
+ ], x.prototype, "template", 2);
1561
+ M([
1519
1562
  a({ type: Boolean, reflect: !0 })
1520
- ], _.prototype, "inverse", 2);
1521
- H([
1563
+ ], x.prototype, "inverse", 2);
1564
+ M([
1522
1565
  a({ type: Boolean, reflect: !0 })
1523
- ], _.prototype, "endIcon", 2);
1524
- H([
1566
+ ], x.prototype, "endIcon", 2);
1567
+ M([
1525
1568
  a({ type: Boolean, reflect: !0 })
1526
- ], _.prototype, "reverseEndIcon", 2);
1527
- _ = H([
1528
- M("o-link")
1529
- ], _);
1530
- var Ce = Object.defineProperty, Le = Object.getOwnPropertyDescriptor, nt = (n, t, e, o) => {
1531
- for (var s = o > 1 ? void 0 : o ? Le(t, e) : t, i = n.length - 1, r; i >= 0; i--)
1532
- (r = n[i]) && (s = (o ? r(t, e, s) : r(s)) || s);
1533
- return o && s && Ce(t, e, s), s;
1569
+ ], x.prototype, "reverseEndIcon", 2);
1570
+ x = M([
1571
+ z("o-link")
1572
+ ], x);
1573
+ var Ce = Object.defineProperty, Le = Object.getOwnPropertyDescriptor, nt = (n, t, e, s) => {
1574
+ for (var o = s > 1 ? void 0 : s ? Le(t, e) : t, r = n.length - 1, i; r >= 0; r--)
1575
+ (i = n[r]) && (o = (s ? i(t, e, o) : i(o)) || o);
1576
+ return s && o && Ce(t, e, o), o;
1534
1577
  };
1535
1578
  let N = class extends m {
1536
1579
  constructor() {
@@ -1540,21 +1583,21 @@ let N = class extends m {
1540
1583
  const n = [];
1541
1584
  for (let t = 0; t < 5; t++) {
1542
1585
  const e = this.rating - t;
1543
- let o;
1544
- e >= 1 ? o = 100 : e <= 0 ? o = 0 : o = Math.round(e * 100 / 25) * 25, n.push(`star-${o}`);
1586
+ let s;
1587
+ e >= 1 ? s = 100 : e <= 0 ? s = 0 : s = Math.round(e * 100 / 25) * 25, n.push(`star-${s}`);
1545
1588
  }
1546
1589
  return n;
1547
1590
  }
1548
1591
  render() {
1549
1592
  const n = this.getStarKeys();
1550
- return d`
1593
+ return h`
1551
1594
  <div class="rating">
1552
1595
  <div class="stars">
1553
1596
  ${n.map(
1554
- (t) => d`<span class="star">${W(tt[t] ?? "")}</span>`
1597
+ (t) => h`<span class="star">${W(tt[t] ?? "")}</span>`
1555
1598
  )}
1556
1599
  </div>
1557
- ${this.reviewCount != null && this.href != null ? d`<o-link template="review" href="${this.href}">${this.reviewCount}</o-link>` : null}
1600
+ ${this.reviewCount != null && this.href != null ? h`<o-link template="review" href="${this.href}">${this.reviewCount}</o-link>` : null}
1558
1601
  </div>
1559
1602
  `;
1560
1603
  }
@@ -1603,14 +1646,14 @@ nt([
1603
1646
  a({ type: String })
1604
1647
  ], N.prototype, "href", 2);
1605
1648
  N = nt([
1606
- M("o-rating")
1649
+ z("o-rating")
1607
1650
  ], N);
1608
- var Pe = Object.defineProperty, ke = Object.getOwnPropertyDescriptor, y = (n, t, e, o) => {
1609
- for (var s = o > 1 ? void 0 : o ? ke(t, e) : t, i = n.length - 1, r; i >= 0; i--)
1610
- (r = n[i]) && (s = (o ? r(t, e, s) : r(s)) || s);
1611
- return o && s && Pe(t, e, s), s;
1651
+ var Pe = Object.defineProperty, ke = Object.getOwnPropertyDescriptor, y = (n, t, e, s) => {
1652
+ for (var o = s > 1 ? void 0 : s ? ke(t, e) : t, r = n.length - 1, i; r >= 0; r--)
1653
+ (i = n[r]) && (o = (s ? i(t, e, o) : i(o)) || o);
1654
+ return s && o && Pe(t, e, o), o;
1612
1655
  };
1613
- let b = class extends m {
1656
+ let g = class extends m {
1614
1657
  constructor() {
1615
1658
  super(...arguments), this.open = !1, this.showHeader = !0, this.showFooter = !1, this.headerTitle = "", this.closeButtonLabel = "Close the modal", this.firstButtonLabel = "Close", this.firstButtonVariant = "primary", this.secondaryButtonLabel = "", this.secondaryButtonVariant = "secondary", this.disablePortal = !1, this.zIndex = 99, this.previousFocusedElement = null, this.handleKeyDown = (n) => {
1616
1659
  this.open && (n.key === "Escape" ? this.closePanel() : n.key === "Tab" && this.trapFocus(n));
@@ -1625,8 +1668,8 @@ let b = class extends m {
1625
1668
  trapFocus(n) {
1626
1669
  const t = this.getFocusableElements();
1627
1670
  if (t.length === 0) return;
1628
- const e = t[0], o = t[t.length - 1];
1629
- n.shiftKey && document.activeElement === e ? (n.preventDefault(), o.focus()) : !n.shiftKey && document.activeElement === o && (n.preventDefault(), e.focus());
1671
+ const e = t[0], s = t[t.length - 1];
1672
+ n.shiftKey && document.activeElement === e ? (n.preventDefault(), s.focus()) : !n.shiftKey && document.activeElement === s && (n.preventDefault(), e.focus());
1630
1673
  }
1631
1674
  getFocusableElements() {
1632
1675
  const n = this.renderRoot.querySelector(".panel");
@@ -1658,7 +1701,7 @@ let b = class extends m {
1658
1701
  this.style.setProperty("--z-overlay", `${this.zIndex}`), this.style.setProperty("--z-panel", `${this.zIndex + 1}`);
1659
1702
  }
1660
1703
  render() {
1661
- return d`
1704
+ return h`
1662
1705
  <div class="overlay" style="z-index: ${this.zIndex}" @click=${this.closePanel}></div>
1663
1706
  <div
1664
1707
  class="panel"
@@ -1669,7 +1712,7 @@ let b = class extends m {
1669
1712
  >
1670
1713
  <o-icon-button icon="cross" size="medium" class="close-btn" @click=${this.closePanel} aria-label="${this.closeButtonLabel}"></o-icon-button>
1671
1714
 
1672
- ${this.showHeader ? d`
1715
+ ${this.showHeader ? h`
1673
1716
  <div class="header">
1674
1717
  <span id="panel-title" class="panel-title">${this.headerTitle}</span>
1675
1718
  </div>
@@ -1679,9 +1722,9 @@ let b = class extends m {
1679
1722
  <slot></slot>
1680
1723
  </div>
1681
1724
 
1682
- ${this.showFooter ? d`
1725
+ ${this.showFooter ? h`
1683
1726
  <div class="footer">
1684
- ${this.firstButtonVariant && this.firstButtonLabel ? d`
1727
+ ${this.firstButtonVariant && this.firstButtonLabel ? h`
1685
1728
  <o-button
1686
1729
  variant="${this.firstButtonVariant}"
1687
1730
  @click=${this.handleFirstClick}
@@ -1690,7 +1733,7 @@ let b = class extends m {
1690
1733
  </o-button>
1691
1734
  ` : null}
1692
1735
 
1693
- ${this.secondaryButtonVariant && this.secondaryButtonLabel ? d`
1736
+ ${this.secondaryButtonVariant && this.secondaryButtonLabel ? h`
1694
1737
  <o-button
1695
1738
  variant="${this.secondaryButtonVariant}"
1696
1739
  @click=${this.handleSecondaryClick}
@@ -1704,7 +1747,7 @@ let b = class extends m {
1704
1747
  `;
1705
1748
  }
1706
1749
  };
1707
- b.styles = A`
1750
+ g.styles = A`
1708
1751
  :host {
1709
1752
  --z-overlay: 99;
1710
1753
  --z-panel: 100;
@@ -1804,54 +1847,63 @@ b.styles = A`
1804
1847
  `;
1805
1848
  y([
1806
1849
  a({ type: Boolean, reflect: !0 })
1807
- ], b.prototype, "open", 2);
1850
+ ], g.prototype, "open", 2);
1808
1851
  y([
1809
1852
  a({ type: Boolean, reflect: !0 })
1810
- ], b.prototype, "showHeader", 2);
1853
+ ], g.prototype, "showHeader", 2);
1811
1854
  y([
1812
1855
  a({ type: Boolean, reflect: !0 })
1813
- ], b.prototype, "showFooter", 2);
1856
+ ], g.prototype, "showFooter", 2);
1814
1857
  y([
1815
1858
  a({ type: String, reflect: !0 })
1816
- ], b.prototype, "headerTitle", 2);
1859
+ ], g.prototype, "headerTitle", 2);
1817
1860
  y([
1818
1861
  a({ type: String, reflect: !0 })
1819
- ], b.prototype, "closeButtonLabel", 2);
1862
+ ], g.prototype, "closeButtonLabel", 2);
1820
1863
  y([
1821
1864
  a({ type: String, reflect: !0 })
1822
- ], b.prototype, "firstButtonLabel", 2);
1865
+ ], g.prototype, "firstButtonLabel", 2);
1823
1866
  y([
1824
1867
  a({ type: String, reflect: !0 })
1825
- ], b.prototype, "firstButtonVariant", 2);
1868
+ ], g.prototype, "firstButtonVariant", 2);
1826
1869
  y([
1827
1870
  a({ type: Function })
1828
- ], b.prototype, "onFirstButtonClick", 2);
1871
+ ], g.prototype, "onFirstButtonClick", 2);
1829
1872
  y([
1830
1873
  a({ type: String, reflect: !0 })
1831
- ], b.prototype, "secondaryButtonLabel", 2);
1874
+ ], g.prototype, "secondaryButtonLabel", 2);
1832
1875
  y([
1833
1876
  a({ type: String, reflect: !0 })
1834
- ], b.prototype, "secondaryButtonVariant", 2);
1877
+ ], g.prototype, "secondaryButtonVariant", 2);
1835
1878
  y([
1836
1879
  a({ type: Function })
1837
- ], b.prototype, "onSecondaryButtonClick", 2);
1880
+ ], g.prototype, "onSecondaryButtonClick", 2);
1838
1881
  y([
1839
1882
  a({ type: Boolean, reflect: !0 })
1840
- ], b.prototype, "disablePortal", 2);
1883
+ ], g.prototype, "disablePortal", 2);
1841
1884
  y([
1842
1885
  a({ type: Number, reflect: !0 })
1843
- ], b.prototype, "zIndex", 2);
1844
- b = y([
1845
- M("o-side-panel")
1846
- ], b);
1847
- var Ie = Object.defineProperty, Be = Object.getOwnPropertyDescriptor, P = (n, t, e, o) => {
1848
- for (var s = o > 1 ? void 0 : o ? Be(t, e) : t, i = n.length - 1, r; i >= 0; i--)
1849
- (r = n[i]) && (s = (o ? r(t, e, s) : r(s)) || s);
1850
- return o && s && Ie(t, e, s), s;
1886
+ ], g.prototype, "zIndex", 2);
1887
+ g = y([
1888
+ z("o-side-panel")
1889
+ ], g);
1890
+ var Ie = Object.defineProperty, Be = Object.getOwnPropertyDescriptor, H = (n, t, e, s) => {
1891
+ for (var o = s > 1 ? void 0 : s ? Be(t, e) : t, r = n.length - 1, i; r >= 0; r--)
1892
+ (i = n[r]) && (o = (s ? i(t, e, o) : i(o)) || o);
1893
+ return s && o && Ie(t, e, o), o;
1851
1894
  };
1852
- let w = class extends m {
1895
+ let _ = class extends m {
1853
1896
  constructor() {
1854
- super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.focusedIndex = 0;
1897
+ super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.focusedIndex = 0, this.playerIconTemplate = h`
1898
+ <o-icon-button
1899
+ icon="playerv"
1900
+ size="medium"
1901
+ bgstyle="background-light"
1902
+ type="span"
1903
+ status="filled"
1904
+ strokewidth="1.5"
1905
+ ></o-icon-button>
1906
+ `;
1855
1907
  }
1856
1908
  handleKeyDown(n) {
1857
1909
  n.key === "ArrowRight" ? (n.preventDefault(), this.focusNext()) : n.key === "ArrowLeft" ? (n.preventDefault(), this.focusPrevious()) : (n.key === "Enter" || n.key === " ") && (n.preventDefault(), this.selectThumbnail(this.focusedIndex));
@@ -1876,24 +1928,24 @@ let w = class extends m {
1876
1928
  this.disabledIndexes.includes(n) || (this.activeIndex = n, this.swiperInstance && typeof this.swiperInstance.slideTo == "function" && this.swiperInstance.slideTo(n), this.dispatchEvent(new CustomEvent("thumbnail-select", { detail: { index: n } })));
1877
1929
  }
1878
1930
  render() {
1879
- return d`
1931
+ return h`
1880
1932
  <div class="scroll-container" style="max-width: ${this.maxWidth};">
1881
1933
  ${this.thumbnails.map((n, t) => {
1882
- const e = this.disabledIndexes.includes(t), o = this.activeIndex === t, s = n.type === "video";
1883
- return d`
1934
+ const e = this.disabledIndexes.includes(t), s = this.activeIndex === t, o = n.type === "video";
1935
+ return h`
1884
1936
  <div class="thumb-wrapper">
1885
1937
  <button
1886
1938
  class="thumb"
1887
1939
  data-index="${t}"
1888
1940
  ?disabled=${e}
1889
- aria-selected=${o}
1941
+ aria-selected=${s}
1890
1942
  tabindex="${this.focusedIndex === t ? 0 : -1}"
1891
1943
  @click=${() => this.selectThumbnail(t)}
1892
1944
  @keydown=${this.handleKeyDown}
1893
1945
  >
1894
1946
  <img src="${n.src}" />
1895
1947
  </button>
1896
- ${s ? d`<div class="play-icon-wrapper">${this.playIcon}</div>` : null}
1948
+ ${o ? h`<div class="play-icon-wrapper">${this.playerIconTemplate}</div>` : null}
1897
1949
  </div>
1898
1950
  `;
1899
1951
  })}
@@ -1901,7 +1953,7 @@ let w = class extends m {
1901
1953
  `;
1902
1954
  }
1903
1955
  };
1904
- w.styles = A`
1956
+ _.styles = A`
1905
1957
  :host {
1906
1958
  display: flex;
1907
1959
  gap: 5px;
@@ -2005,27 +2057,24 @@ w.styles = A`
2005
2057
  width: 0;
2006
2058
  }
2007
2059
  `;
2008
- P([
2060
+ H([
2009
2061
  a({ type: Array })
2010
- ], w.prototype, "thumbnails", 2);
2011
- P([
2062
+ ], _.prototype, "thumbnails", 2);
2063
+ H([
2012
2064
  a({ type: Number })
2013
- ], w.prototype, "activeIndex", 2);
2014
- P([
2065
+ ], _.prototype, "activeIndex", 2);
2066
+ H([
2015
2067
  a({ type: Array })
2016
- ], w.prototype, "disabledIndexes", 2);
2017
- P([
2018
- a({ type: Object })
2019
- ], w.prototype, "playIcon", 2);
2020
- P([
2068
+ ], _.prototype, "disabledIndexes", 2);
2069
+ H([
2021
2070
  a({ type: String })
2022
- ], w.prototype, "maxWidth", 2);
2023
- P([
2071
+ ], _.prototype, "maxWidth", 2);
2072
+ H([
2024
2073
  a({ type: Object })
2025
- ], w.prototype, "swiperInstance", 2);
2026
- P([
2074
+ ], _.prototype, "swiperInstance", 2);
2075
+ H([
2027
2076
  Qt()
2028
- ], w.prototype, "focusedIndex", 2);
2029
- w = P([
2030
- M("thumbnail-navigation")
2031
- ], w);
2077
+ ], _.prototype, "focusedIndex", 2);
2078
+ _ = H([
2079
+ z("thumbnail-navigation")
2080
+ ], _);