@florid-kit/components 0.3.38 → 0.3.39

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 G = globalThis, ct = G.ShadowRoot && (G.ShadyCSS === void 0 || G.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ht = Symbol(), vt = /* @__PURE__ */ new WeakMap();
6
+ const G = globalThis, ct = G.ShadowRoot && (G.ShadyCSS === void 0 || G.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ht = Symbol(), bt = /* @__PURE__ */ new WeakMap();
7
7
  let Et = class {
8
- constructor(t, e, o) {
9
- if (this._$cssResult$ = !0, o !== ht) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
8
+ constructor(t, e, n) {
9
+ if (this._$cssResult$ = !0, n !== ht) 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 (ct && 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 n = e !== void 0 && e.length === 1;
17
+ n && (t = bt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), n && bt.set(e, t));
18
18
  }
19
19
  return t;
20
20
  }
@@ -23,21 +23,21 @@ let Et = class {
23
23
  }
24
24
  };
25
25
  const Bt = (s) => new Et(typeof s == "string" ? s : s + "", void 0, ht), A = (s, ...t) => {
26
- const e = s.length === 1 ? s[0] : t.reduce((o, n, r) => o + ((i) => {
26
+ const e = s.length === 1 ? s[0] : t.reduce((n, o, r) => n + ((i) => {
27
27
  if (i._$cssResult$ === !0) return i.cssText;
28
28
  if (typeof i == "number") return i;
29
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
- })(n) + s[r + 1], s[0]);
30
+ })(o) + s[r + 1], s[0]);
31
31
  return new Et(e, s, ht);
32
32
  }, It = (s, t) => {
33
33
  if (ct) s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
34
34
  else for (const e of t) {
35
- const o = document.createElement("style"), n = G.litNonce;
36
- n !== void 0 && o.setAttribute("nonce", n), o.textContent = e.cssText, s.appendChild(o);
35
+ const n = document.createElement("style"), o = G.litNonce;
36
+ o !== void 0 && n.setAttribute("nonce", o), n.textContent = e.cssText, s.appendChild(n);
37
37
  }
38
- }, bt = ct ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
38
+ }, vt = ct ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
39
39
  let e = "";
40
- for (const o of t.cssRules) e += o.cssText;
40
+ for (const n of t.cssRules) e += n.cssText;
41
41
  return Bt(e);
42
42
  })(s) : s;
43
43
  /**
@@ -45,7 +45,7 @@ const Bt = (s) => new Et(typeof s == "string" ? s : s + "", void 0, ht), A = (s,
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: Ot, defineProperty: Ht, getOwnPropertyDescriptor: Mt, getOwnPropertyNames: Tt, getOwnPropertySymbols: zt, getPrototypeOf: Dt } = Object, C = globalThis, gt = C.trustedTypes, Ut = gt ? gt.emptyScript : "", st = C.reactiveElementPolyfillSupport, R = (s, t) => s, X = { toAttribute(s, t) {
48
+ const { is: Ot, defineProperty: Ht, getOwnPropertyDescriptor: Tt, getOwnPropertyNames: Mt, getOwnPropertySymbols: zt, getPrototypeOf: Dt } = Object, C = globalThis, gt = C.trustedTypes, Ut = gt ? gt.emptyScript : "", st = C.reactiveElementPolyfillSupport, R = (s, t) => s, X = { toAttribute(s, t) {
49
49
  switch (t) {
50
50
  case Boolean:
51
51
  s = s ? Ut : null;
@@ -84,19 +84,19 @@ let z = 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(), n = this.getPropertyDescriptor(t, o, e);
88
- n !== void 0 && Ht(this.prototype, t, n);
87
+ const n = Symbol(), o = this.getPropertyDescriptor(t, n, e);
88
+ o !== void 0 && Ht(this.prototype, t, o);
89
89
  }
90
90
  }
91
- static getPropertyDescriptor(t, e, o) {
92
- const { get: n, set: r } = Mt(this.prototype, t) ?? { get() {
91
+ static getPropertyDescriptor(t, e, n) {
92
+ const { get: o, set: r } = Tt(this.prototype, t) ?? { get() {
93
93
  return this[e];
94
94
  }, set(i) {
95
95
  this[e] = i;
96
96
  } };
97
- return { get: n, set(i) {
98
- const c = n == null ? void 0 : n.call(this);
99
- r == null || r.call(this, i), 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, n);
100
100
  }, configurable: !0, enumerable: !0 };
101
101
  }
102
102
  static getPropertyOptions(t) {
@@ -110,32 +110,32 @@ let z = 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 = [...Tt(e), ...zt(e)];
114
- for (const n of o) this.createProperty(n, e[n]);
113
+ const e = this.properties, n = [...Mt(e), ...zt(e)];
114
+ for (const o of n) 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, n] of e) this.elementProperties.set(o, n);
119
+ if (e !== void 0) for (const [n, o] of e) this.elementProperties.set(n, o);
120
120
  }
121
121
  this._$Eh = /* @__PURE__ */ new Map();
122
- for (const [e, o] of this.elementProperties) {
123
- const n = this._$Eu(e, o);
124
- n !== void 0 && this._$Eh.set(n, e);
122
+ for (const [e, n] of this.elementProperties) {
123
+ const o = this._$Eu(e, n);
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 n of o) e.unshift(bt(n));
133
- } else t !== void 0 && e.push(bt(t));
131
+ const n = new Set(t.flat(1 / 0).reverse());
132
+ for (const o of n) e.unshift(vt(o));
133
+ } else t !== void 0 && e.push(vt(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 n = e.attribute;
138
+ return n === !1 ? void 0 : typeof n == "string" ? n : 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 z = 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 n of e.keys()) this.hasOwnProperty(n) && (t.set(n, this[n]), delete this[n]);
158
158
  t.size > 0 && (this._$Ep = t);
159
159
  }
160
160
  createRenderRoot() {
@@ -164,8 +164,8 @@ let z = 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 n;
168
+ return (n = e.hostConnected) == null ? void 0 : n.call(e);
169
169
  });
170
170
  }
171
171
  enableUpdating(t) {
@@ -173,40 +173,40 @@ let z = 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 n;
177
+ return (n = e.hostDisconnected) == null ? void 0 : n.call(e);
178
178
  });
179
179
  }
180
- attributeChangedCallback(t, e, o) {
181
- this._$AK(t, o);
180
+ attributeChangedCallback(t, e, n) {
181
+ this._$AK(t, n);
182
182
  }
183
183
  _$ET(t, e) {
184
184
  var r;
185
- const o = this.constructor.elementProperties.get(t), n = this.constructor._$Eu(t, o);
186
- if (n !== void 0 && o.reflect === !0) {
187
- const i = (((r = o.converter) == null ? void 0 : r.toAttribute) !== void 0 ? o.converter : X).toAttribute(e, o.type);
188
- this._$Em = t, i == null ? this.removeAttribute(n) : this.setAttribute(n, i), this._$Em = null;
185
+ const n = this.constructor.elementProperties.get(t), o = this.constructor._$Eu(t, n);
186
+ if (o !== void 0 && n.reflect === !0) {
187
+ const i = (((r = n.converter) == null ? void 0 : r.toAttribute) !== void 0 ? n.converter : X).toAttribute(e, n.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
192
  var r, i;
193
- const o = this.constructor, n = o._$Eh.get(t);
194
- if (n !== void 0 && this._$Em !== n) {
195
- const c = o.getPropertyOptions(n), l = typeof c.converter == "function" ? { fromAttribute: c.converter } : ((r = c.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? c.converter : X;
196
- this._$Em = n, this[n] = l.fromAttribute(e, c.type) ?? ((i = this._$Ej) == null ? void 0 : i.get(n)) ?? null, this._$Em = null;
193
+ const n = this.constructor, o = n._$Eh.get(t);
194
+ if (o !== void 0 && this._$Em !== o) {
195
+ const c = n.getPropertyOptions(o), l = typeof c.converter == "function" ? { fromAttribute: c.converter } : ((r = c.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? c.converter : X;
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 n;
199
+ requestUpdate(t, e, n) {
200
+ var o;
201
201
  if (t !== void 0) {
202
202
  const r = this.constructor, i = this[t];
203
- if (o ?? (o = r.getPropertyOptions(t)), !((o.hasChanged ?? dt)(i, e) || o.useDefault && o.reflect && i === ((n = this._$Ej) == null ? void 0 : n.get(t)) && !this.hasAttribute(r._$Eu(t, o)))) return;
204
- this.C(t, e, o);
203
+ if (n ?? (n = r.getPropertyOptions(t)), !((n.hasChanged ?? dt)(i, e) || n.useDefault && n.reflect && i === ((o = this._$Ej) == null ? void 0 : o.get(t)) && !this.hasAttribute(r._$Eu(t, n)))) return;
204
+ this.C(t, e, n);
205
205
  }
206
206
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
207
207
  }
208
- C(t, e, { useDefault: o, reflect: n, wrapped: r }, i) {
209
- o && !(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 || o || (e = void 0), this._$AL.set(t, e)), n === !0 && this._$Em !== t && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t));
208
+ C(t, e, { useDefault: n, reflect: o, wrapped: r }, i) {
209
+ n && !(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 || n || (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,15 +222,15 @@ let z = class extends HTMLElement {
222
222
  return this.performUpdate();
223
223
  }
224
224
  performUpdate() {
225
- var o;
225
+ var n;
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 [r, i] of this._$Ep) this[r] = i;
230
230
  this._$Ep = void 0;
231
231
  }
232
- const n = this.constructor.elementProperties;
233
- if (n.size > 0) for (const [r, i] of n) {
232
+ const o = this.constructor.elementProperties;
233
+ if (o.size > 0) for (const [r, i] of o) {
234
234
  const { wrapped: c } = i, l = this[r];
235
235
  c !== !0 || this._$AL.has(r) || l === void 0 || this.C(r, void 0, i, l);
236
236
  }
@@ -238,12 +238,12 @@ let z = 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), (o = this._$EO) == null || o.forEach((n) => {
241
+ t = this.shouldUpdate(e), t ? (this.willUpdate(e), (n = this._$EO) == null || n.forEach((o) => {
242
242
  var r;
243
- return (r = n.hostUpdate) == null ? void 0 : r.call(n);
243
+ return (r = o.hostUpdate) == null ? void 0 : r.call(o);
244
244
  }), this.update(e)) : this._$EM();
245
- } catch (n) {
246
- throw t = !1, this._$EM(), n;
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 z = class extends HTMLElement {
251
251
  }
252
252
  _$AE(t) {
253
253
  var e;
254
- (e = this._$EO) == null || e.forEach((o) => {
255
- var n;
256
- return (n = o.hostUpdated) == null ? void 0 : n.call(o);
254
+ (e = this._$EO) == null || e.forEach((n) => {
255
+ var o;
256
+ return (o = n.hostUpdated) == null ? void 0 : o.call(n);
257
257
  }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
258
258
  }
259
259
  _$EM() {
@@ -282,68 +282,68 @@ z.elementStyles = [], z.shadowRootOptions = { mode: "open" }, z[R("elementProper
282
282
  * Copyright 2017 Google LLC
283
283
  * SPDX-License-Identifier: BSD-3-Clause
284
284
  */
285
- const F = globalThis, J = F.trustedTypes, mt = J ? J.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, Ct = "$lit$", E = `lit$${Math.random().toFixed(9).slice(2)}$`, Lt = "?" + E, Nt = `<${Lt}>`, I = document, V = () => I.createComment(""), q = (s) => s === null || typeof s != "object" && typeof s != "function", pt = Array.isArray, jt = (s) => pt(s) || typeof (s == null ? void 0 : s[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 = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), d = Rt(1), O = Symbol.for("lit-noChange"), h = Symbol.for("lit-nothing"), At = /* @__PURE__ */ new WeakMap(), k = I.createTreeWalker(I, 129);
285
+ const F = globalThis, J = F.trustedTypes, mt = J ? J.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, Ct = "$lit$", E = `lit$${Math.random().toFixed(9).slice(2)}$`, Lt = "?" + E, Nt = `<${Lt}>`, O = document, V = () => O.createComment(""), q = (s) => s === null || typeof s != "object" && typeof s != "function", pt = Array.isArray, jt = (s) => pt(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", nt = `[
286
+ \f\r]`, j = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, $t = /-->/g, wt = />/g, k = RegExp(`>|${nt}(?:([^\\s"'>=/]+)(${nt}*=${nt}*(?:[^
287
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), xt = /'/g, _t = /"/g, Pt = /^(?:script|style|textarea|title)$/i, Rt = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), d = Rt(1), H = Symbol.for("lit-noChange"), h = Symbol.for("lit-nothing"), At = /* @__PURE__ */ new WeakMap(), B = O.createTreeWalker(O, 129);
288
288
  function kt(s, t) {
289
289
  if (!pt(s) || !s.hasOwnProperty("raw")) throw Error("invalid template strings array");
290
290
  return mt !== void 0 ? mt.createHTML(t) : t;
291
291
  }
292
292
  const Ft = (s, t) => {
293
- const e = s.length - 1, o = [];
294
- let n, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", i = j;
293
+ const e = s.length - 1, n = [];
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 = s[c];
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]) && (n = RegExp("</" + v[2], "g")), i = P) : v[3] !== void 0 && (i = P) : i === P ? v[0] === ">" ? (i = n ?? 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, n = void 0);
299
- const S = i === P && s[c + 1].startsWith("/>") ? " " : "";
300
- r += i === 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, b, p = -1, x = 0;
298
+ for (; x < l.length && (i.lastIndex = x, b = i.exec(l), b !== null); ) x = i.lastIndex, i === j ? b[1] === "!--" ? i = $t : b[1] !== void 0 ? i = wt : b[2] !== void 0 ? (Pt.test(b[2]) && (o = RegExp("</" + b[2], "g")), i = k) : b[3] !== void 0 && (i = k) : i === k ? b[0] === ">" ? (i = o ?? j, p = -1) : b[1] === void 0 ? p = -2 : (p = i.lastIndex - b[2].length, f = b[1], i = b[3] === void 0 ? k : b[3] === '"' ? _t : xt) : i === _t || i === xt ? i = k : i === $t || i === wt ? i = j : (i = k, o = void 0);
299
+ const S = i === k && s[c + 1].startsWith("/>") ? " " : "";
300
+ r += i === j ? l + Nt : p >= 0 ? (n.push(f), l.slice(0, p) + Ct + l.slice(p) + E + S) : l + E + (p === -2 ? c : S);
301
301
  }
302
- return [kt(s, r + (s[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), o];
302
+ return [kt(s, r + (s[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
303
303
  };
304
304
  class Z {
305
- constructor({ strings: t, _$litType$: e }, o) {
306
- let n;
305
+ constructor({ strings: t, _$litType$: e }, n) {
306
+ let o;
307
307
  this.parts = [];
308
308
  let r = 0, i = 0;
309
- const c = t.length - 1, l = this.parts, [f, v] = Ft(t, e);
310
- if (this.el = Z.createElement(f, o), k.currentNode = this.el.content, e === 2 || e === 3) {
309
+ const c = t.length - 1, l = this.parts, [f, b] = Ft(t, e);
310
+ if (this.el = Z.createElement(f, n), B.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 (; (n = k.nextNode()) !== null && l.length < c; ) {
315
- if (n.nodeType === 1) {
316
- if (n.hasAttributes()) for (const p of n.getAttributeNames()) if (p.endsWith(Ct)) {
317
- const w = v[i++], S = n.getAttribute(p).split(E), K = /([.?@])?(.*)/.exec(w);
318
- l.push({ type: 1, index: r, name: K[2], strings: S, ctor: K[1] === "." ? qt : K[1] === "?" ? Zt : K[1] === "@" ? Wt : Y }), n.removeAttribute(p);
319
- } else p.startsWith(E) && (l.push({ type: 6, index: r }), n.removeAttribute(p));
320
- if (Pt.test(n.tagName)) {
321
- const p = n.textContent.split(E), w = p.length - 1;
322
- if (w > 0) {
323
- n.textContent = J ? J.emptyScript : "";
324
- for (let S = 0; S < w; S++) n.append(p[S], V()), k.nextNode(), l.push({ type: 2, index: ++r });
325
- n.append(p[w], V());
314
+ for (; (o = B.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 x = b[i++], S = o.getAttribute(p).split(E), K = /([.?@])?(.*)/.exec(x);
318
+ l.push({ type: 1, index: r, name: K[2], strings: S, ctor: K[1] === "." ? qt : K[1] === "?" ? Zt : K[1] === "@" ? Wt : Y }), o.removeAttribute(p);
319
+ } else p.startsWith(E) && (l.push({ type: 6, index: r }), o.removeAttribute(p));
320
+ if (Pt.test(o.tagName)) {
321
+ const p = o.textContent.split(E), x = p.length - 1;
322
+ if (x > 0) {
323
+ o.textContent = J ? J.emptyScript : "";
324
+ for (let S = 0; S < x; S++) o.append(p[S], V()), B.nextNode(), l.push({ type: 2, index: ++r });
325
+ o.append(p[x], V());
326
326
  }
327
327
  }
328
- } else if (n.nodeType === 8) if (n.data === Lt) l.push({ type: 2, index: r });
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 = n.data.indexOf(E, p + 1)) !== -1; ) l.push({ type: 7, index: r }), p += E.length - 1;
331
+ for (; (p = o.data.indexOf(E, p + 1)) !== -1; ) l.push({ type: 7, index: r }), p += E.length - 1;
332
332
  }
333
333
  r++;
334
334
  }
335
335
  }
336
336
  static createElement(t, e) {
337
- const o = I.createElement("template");
338
- return o.innerHTML = t, o;
337
+ const n = O.createElement("template");
338
+ return n.innerHTML = t, n;
339
339
  }
340
340
  }
341
- function D(s, t, e = s, o) {
341
+ function D(s, t, e = s, n) {
342
342
  var i, c;
343
- if (t === O) return t;
344
- let n = o !== void 0 ? (i = e._$Co) == null ? void 0 : i[o] : e._$Cl;
343
+ if (t === H) return t;
344
+ let o = n !== void 0 ? (i = e._$Co) == null ? void 0 : i[n] : e._$Cl;
345
345
  const r = q(t) ? void 0 : t._$litDirective$;
346
- return (n == null ? void 0 : n.constructor) !== r && ((c = n == null ? void 0 : n._$AO) == null || c.call(n, !1), r === void 0 ? n = void 0 : (n = new r(s), n._$AT(s, e, o)), o !== void 0 ? (e._$Co ?? (e._$Co = []))[o] = n : e._$Cl = n), n !== void 0 && (t = D(s, n._$AS(s, t.values), n, o)), t;
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(s), o._$AT(s, e, n)), n !== void 0 ? (e._$Co ?? (e._$Co = []))[n] = o : e._$Cl = o), o !== void 0 && (t = D(s, o._$AS(s, t.values), o, n)), t;
347
347
  }
348
348
  class Vt {
349
349
  constructor(t, e) {
@@ -356,21 +356,21 @@ class Vt {
356
356
  return this._$AM._$AU;
357
357
  }
358
358
  u(t) {
359
- const { el: { content: e }, parts: o } = this._$AD, n = ((t == null ? void 0 : t.creationScope) ?? I).importNode(e, !0);
360
- k.currentNode = n;
361
- let r = k.nextNode(), i = 0, c = 0, l = o[0];
359
+ const { el: { content: e }, parts: n } = this._$AD, o = ((t == null ? void 0 : t.creationScope) ?? O).importNode(e, !0);
360
+ B.currentNode = o;
361
+ let r = B.nextNode(), i = 0, c = 0, l = n[0];
362
362
  for (; l !== void 0; ) {
363
363
  if (i === l.index) {
364
364
  let f;
365
- l.type === 2 ? f = new W(r, r.nextSibling, this, t) : l.type === 1 ? f = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (f = new Kt(r, this, t)), this._$AV.push(f), l = o[++c];
365
+ l.type === 2 ? f = new W(r, r.nextSibling, this, t) : l.type === 1 ? f = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (f = new Kt(r, this, t)), this._$AV.push(f), l = n[++c];
366
366
  }
367
- i !== (l == null ? void 0 : l.index) && (r = k.nextNode(), i++);
367
+ i !== (l == null ? void 0 : l.index) && (r = B.nextNode(), i++);
368
368
  }
369
- return k.currentNode = I, n;
369
+ return B.currentNode = O, 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 n of this._$AV) n !== void 0 && (n.strings !== void 0 ? (n._$AI(t, n, e), e += n.strings.length - 2) : n._$AI(t[e])), e++;
374
374
  }
375
375
  }
376
376
  class W {
@@ -378,8 +378,8 @@ class W {
378
378
  var t;
379
379
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
380
380
  }
381
- constructor(t, e, o, n) {
382
- this.type = 2, this._$AH = h, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = o, this.options = n, this._$Cv = (n == null ? void 0 : n.isConnected) ?? !0;
381
+ constructor(t, e, n, o) {
382
+ this.type = 2, this._$AH = h, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = n, 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 W {
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 !== O && 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 === h || t == null || t === "" ? (this._$AH !== h && this._$AR(), this._$AH = h) : t !== this._$AH && t !== H && 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,14 +402,14 @@ class W {
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(I.createTextNode(t)), this._$AH = t;
405
+ this._$AH !== h && q(this._$AH) ? this._$AA.nextSibling.data = t : this.T(O.createTextNode(t)), this._$AH = t;
406
406
  }
407
407
  $(t) {
408
408
  var r;
409
- const { values: e, _$litType$: o } = t, n = 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 (((r = this._$AH) == null ? void 0 : r._$AD) === n) this._$AH.p(e);
409
+ const { values: e, _$litType$: n } = t, o = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el = Z.createElement(kt(n.h, n.h[0]), this.options)), n);
410
+ if (((r = this._$AH) == null ? void 0 : r._$AD) === o) this._$AH.p(e);
411
411
  else {
412
- const i = new Vt(n, this), c = i.u(this.options);
412
+ const i = new Vt(o, this), c = i.u(this.options);
413
413
  i.p(e), this.T(c), this._$AH = i;
414
414
  }
415
415
  }
@@ -420,15 +420,15 @@ class W {
420
420
  k(t) {
421
421
  pt(this._$AH) || (this._$AH = [], this._$AR());
422
422
  const e = this._$AH;
423
- let o, n = 0;
424
- for (const r of t) n === e.length ? e.push(o = new W(this.O(V()), this.O(V()), this, this.options)) : o = e[n], o._$AI(r), n++;
425
- n < e.length && (this._$AR(o && o._$AB.nextSibling, n), e.length = n);
423
+ let n, o = 0;
424
+ for (const r of t) o === e.length ? e.push(n = new W(this.O(V()), this.O(V()), this, this.options)) : n = e[o], n._$AI(r), o++;
425
+ o < e.length && (this._$AR(n && n._$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 n = t.nextSibling;
431
- t.remove(), t = n;
428
+ var n;
429
+ for ((n = this._$AP) == null ? void 0 : n.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,19 +443,19 @@ class Y {
443
443
  get _$AU() {
444
444
  return this._$AM._$AU;
445
445
  }
446
- constructor(t, e, o, n, r) {
447
- this.type = 1, this._$AH = h, this._$AN = void 0, this.element = t, this.name = e, this._$AM = n, this.options = r, 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, n, o, r) {
447
+ this.type = 1, this._$AH = h, this._$AN = void 0, this.element = t, this.name = e, this._$AM = o, this.options = r, n.length > 2 || n[0] !== "" || n[1] !== "" ? (this._$AH = Array(n.length - 1).fill(new String()), this.strings = n) : this._$AH = h;
448
448
  }
449
- _$AI(t, e = this, o, n) {
449
+ _$AI(t, e = this, n, o) {
450
450
  const r = this.strings;
451
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);
452
+ if (r === void 0) t = D(this, t, e, 0), i = !q(t) || t !== this._$AH && t !== H, i && (this._$AH = t);
453
453
  else {
454
454
  const c = t;
455
455
  let l, f;
456
- for (t = r[0], l = 0; l < r.length - 1; l++) f = D(this, c[o + l], e, l), f === O && (f = this._$AH[l]), i || (i = !q(f) || f !== this._$AH[l]), f === h ? t = h : t !== h && (t += (f ?? "") + r[l + 1]), this._$AH[l] = f;
456
+ for (t = r[0], l = 0; l < r.length - 1; l++) f = D(this, c[n + l], e, l), f === H && (f = this._$AH[l]), i || (i = !q(f) || f !== this._$AH[l]), f === h ? t = h : t !== h && (t += (f ?? "") + r[l + 1]), this._$AH[l] = f;
457
457
  }
458
- i && !n && this.j(t);
458
+ i && !o && this.j(t);
459
459
  }
460
460
  j(t) {
461
461
  t === h ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
@@ -478,13 +478,13 @@ class Zt extends Y {
478
478
  }
479
479
  }
480
480
  class Wt extends Y {
481
- constructor(t, e, o, n, r) {
482
- super(t, e, o, n, r), this.type = 5;
481
+ constructor(t, e, n, o, r) {
482
+ super(t, e, n, o, r), this.type = 5;
483
483
  }
484
484
  _$AI(t, e = this) {
485
- if ((t = D(this, t, e, 0) ?? h) === O) return;
486
- const o = this._$AH, n = t === h && o !== h || t.capture !== o.capture || t.once !== o.once || t.passive !== o.passive, r = t !== h && (o === h || n);
487
- n && this.element.removeEventListener(this.name, this, o), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
485
+ if ((t = D(this, t, e, 0) ?? h) === H) return;
486
+ const n = this._$AH, o = t === h && n !== h || t.capture !== n.capture || t.once !== n.once || t.passive !== n.passive, r = t !== h && (n === h || o);
487
+ o && this.element.removeEventListener(this.name, this, n), 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 Kt {
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, n) {
496
+ this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = n;
497
497
  }
498
498
  get _$AU() {
499
499
  return this._$AM._$AU;
@@ -502,23 +502,23 @@ class Kt {
502
502
  D(this, t);
503
503
  }
504
504
  }
505
- const nt = F.litHtmlPolyfillSupport;
506
- nt == null || nt(Z, W), (F.litHtmlVersions ?? (F.litHtmlVersions = [])).push("3.3.0");
505
+ const ot = F.litHtmlPolyfillSupport;
506
+ ot == null || ot(Z, W), (F.litHtmlVersions ?? (F.litHtmlVersions = [])).push("3.3.0");
507
507
  const Gt = (s, t, e) => {
508
- const o = (e == null ? void 0 : e.renderBefore) ?? t;
509
- let n = o._$litPart$;
510
- if (n === void 0) {
508
+ const n = (e == null ? void 0 : e.renderBefore) ?? t;
509
+ let o = n._$litPart$;
510
+ if (o === void 0) {
511
511
  const r = (e == null ? void 0 : e.renderBefore) ?? null;
512
- o._$litPart$ = n = new W(t.insertBefore(V(), r), r, void 0, e ?? {});
512
+ n._$litPart$ = o = new W(t.insertBefore(V(), r), r, void 0, e ?? {});
513
513
  }
514
- return n._$AI(s), n;
514
+ return o._$AI(s), 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 z {
523
523
  constructor() {
524
524
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
@@ -541,20 +541,20 @@ let m = class extends z {
541
541
  super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
542
542
  }
543
543
  render() {
544
- return O;
544
+ return H;
545
545
  }
546
546
  };
547
547
  var St;
548
- m._$litElement$ = !0, m.finalized = !0, (St = B.litElementHydrateSupport) == null || St.call(B, { LitElement: m });
549
- const it = B.litElementPolyfillSupport;
548
+ m._$litElement$ = !0, m.finalized = !0, (St = I.litElementHydrateSupport) == null || St.call(I, { LitElement: m });
549
+ const it = I.litElementPolyfillSupport;
550
550
  it == null || it({ LitElement: m });
551
- (B.litElementVersions ?? (B.litElementVersions = [])).push("4.2.0");
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 H = (s) => (t, e) => {
557
+ const T = (s) => (t, e) => {
558
558
  e !== void 0 ? e.addInitializer(() => {
559
559
  customElements.define(s, t);
560
560
  }) : customElements.define(s, t);
@@ -565,9 +565,9 @@ const H = (s) => (t, e) => {
565
565
  * SPDX-License-Identifier: BSD-3-Clause
566
566
  */
567
567
  const Xt = { attribute: !0, type: String, converter: X, reflect: !1, hasChanged: dt }, Jt = (s = Xt, t, e) => {
568
- const { kind: o, metadata: n } = e;
569
- let r = globalThis.litPropertyMetadata.get(n);
570
- if (r === void 0 && globalThis.litPropertyMetadata.set(n, r = /* @__PURE__ */ new Map()), o === "setter" && ((s = Object.create(s)).wrapped = !0), r.set(e.name, s), o === "accessor") {
568
+ const { kind: n, metadata: o } = e;
569
+ let r = globalThis.litPropertyMetadata.get(o);
570
+ if (r === void 0 && globalThis.litPropertyMetadata.set(o, r = /* @__PURE__ */ new Map()), n === "setter" && ((s = Object.create(s)).wrapped = !0), r.set(e.name, s), n === "accessor") {
571
571
  const { name: i } = e;
572
572
  return { set(c) {
573
573
  const l = t.get.call(this);
@@ -576,19 +576,19 @@ const Xt = { attribute: !0, type: String, converter: X, reflect: !1, hasChanged:
576
576
  return c !== void 0 && this.C(i, void 0, s, c), c;
577
577
  } };
578
578
  }
579
- if (o === "setter") {
579
+ if (n === "setter") {
580
580
  const { name: i } = e;
581
581
  return function(c) {
582
582
  const l = this[i];
583
583
  t.call(this, c), this.requestUpdate(i, l, s);
584
584
  };
585
585
  }
586
- throw Error("Unsupported decorator location: " + o);
586
+ throw Error("Unsupported decorator location: " + n);
587
587
  };
588
588
  function a(s) {
589
- return (t, e) => typeof e == "object" ? Jt(s, t, e) : ((o, n, r) => {
590
- const i = n.hasOwnProperty(r);
591
- return n.constructor.createProperty(r, o), i ? Object.getOwnPropertyDescriptor(n, r) : void 0;
589
+ return (t, e) => typeof e == "object" ? Jt(s, t, e) : ((n, o, r) => {
590
+ const i = o.hasOwnProperty(r);
591
+ return o.constructor.createProperty(r, n), i ? Object.getOwnPropertyDescriptor(o, r) : void 0;
592
592
  })(s, t, e);
593
593
  }
594
594
  /**
@@ -632,12 +632,12 @@ function te(s) {
632
632
  function ee(s) {
633
633
  s.addInitializer((t) => {
634
634
  const e = t;
635
- e.addEventListener("click", async (o) => {
636
- const { type: n, [ut]: r } = e, { form: i } = r;
637
- if (!(!i || n === "button") && (await new Promise((c) => {
635
+ e.addEventListener("click", async (n) => {
636
+ const { type: o, [ut]: r } = e, { form: i } = r;
637
+ if (!(!i || o === "button") && (await new Promise((c) => {
638
638
  setTimeout(c);
639
- }), !o.defaultPrevented)) {
640
- if (n === "reset") {
639
+ }), !n.defaultPrevented)) {
640
+ if (o === "reset") {
641
641
  i.reset();
642
642
  return;
643
643
  }
@@ -661,15 +661,15 @@ function ee(s) {
661
661
  * Copyright 2017 Google LLC
662
662
  * SPDX-License-Identifier: BSD-3-Clause
663
663
  */
664
- const se = { CHILD: 2 }, oe = (s) => (...t) => ({ _$litDirective$: s, values: t });
665
- class ne {
664
+ const se = { CHILD: 2 }, ne = (s) => (...t) => ({ _$litDirective$: s, values: t });
665
+ class oe {
666
666
  constructor(t) {
667
667
  }
668
668
  get _$AU() {
669
669
  return this._$AM._$AU;
670
670
  }
671
- _$AT(t, e, o) {
672
- this._$Ct = t, this._$AM = e, this._$Ci = o;
671
+ _$AT(t, e, n) {
672
+ this._$Ct = t, this._$AM = e, this._$Ci = n;
673
673
  }
674
674
  _$AS(t, e) {
675
675
  return this.update(t, e);
@@ -683,13 +683,13 @@ class ne {
683
683
  * Copyright 2017 Google LLC
684
684
  * SPDX-License-Identifier: BSD-3-Clause
685
685
  */
686
- class at extends ne {
686
+ class at extends oe {
687
687
  constructor(t) {
688
688
  if (super(t), this.it = h, t.type !== se.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
689
689
  }
690
690
  render(t) {
691
691
  if (t === h || t == null) return this._t = void 0, this.it = t;
692
- if (t === O) return t;
692
+ if (t === H) return t;
693
693
  if (typeof t != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
694
694
  if (t === this.it) return this._t;
695
695
  this.it = t;
@@ -706,7 +706,7 @@ at.directiveName = "unsafeHTML", at.resultType = 1;
706
706
  class lt extends at {
707
707
  }
708
708
  lt.directiveName = "unsafeSVG", lt.resultType = 2;
709
- const Q = oe(lt), ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
709
+ const Q = ne(lt), ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
710
710
  <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"/>
711
711
  </svg>
712
712
  `, re = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -737,10 +737,10 @@ const Q = oe(lt), ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="no
737
737
  <path d="M2 2L14 14" stroke="#3F2B2E"/>
738
738
  <path d="M14 2L2 14" stroke="#3F2B2E"/>
739
739
  </svg>
740
- `, ve = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
740
+ `, be = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
741
741
  <path d="M7.12506 1C10.5018 1 13.2509 3.74834 13.251 7.125C13.2511 8.59738 12.7172 10.0206 11.7491 11.1299L14.8731 14.2539C15.0433 14.4253 15.0435 14.7018 14.8731 14.873C14.7913 14.9555 14.6797 15.002 14.5635 15.002C14.4475 15.0019 14.3357 14.9554 14.254 14.873L11.1309 11.749C10.0555 12.6818 8.6564 13.251 7.12506 13.251C3.7484 13.2508 1.00006 10.5017 1.00006 7.125C1.00025 3.74846 3.74852 1.00019 7.12506 1ZM7.12506 1.875C4.22971 1.87522 1.87506 4.23058 1.87506 7.12598C1.87532 10.0212 4.22987 12.3758 7.12506 12.376C10.0204 12.376 12.3758 10.0213 12.376 7.12598C12.376 4.23044 10.0206 1.875 7.12506 1.875Z" fill="#3F2B2E"/>
742
742
  </svg>
743
- `, be = `<?xml version="1.0" encoding="utf-8"?>
743
+ `, ve = `<?xml version="1.0" encoding="utf-8"?>
744
744
  <!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
745
745
  <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"
746
746
  viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
@@ -764,7 +764,7 @@ const Q = oe(lt), ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="no
764
764
  playerv: re,
765
765
  chevronRight: ae,
766
766
  chevronLeft: le,
767
- icoPlus: be,
767
+ icoPlus: ve,
768
768
  icoMinus: ge,
769
769
  "star-0": ce,
770
770
  "star-25": he,
@@ -772,12 +772,12 @@ const Q = oe(lt), ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="no
772
772
  "star-75": pe,
773
773
  "star-100": ue,
774
774
  cross: fe,
775
- search: ve
775
+ search: be
776
776
  };
777
- var ye = Object.defineProperty, me = Object.getOwnPropertyDescriptor, L = (s, t, e, o) => {
778
- for (var n = o > 1 ? void 0 : o ? me(t, e) : t, r = s.length - 1, i; r >= 0; r--)
779
- (i = s[r]) && (n = (o ? i(t, e, n) : i(n)) || n);
780
- return o && n && ye(t, e, n), n;
777
+ var ye = Object.defineProperty, me = Object.getOwnPropertyDescriptor, L = (s, t, e, n) => {
778
+ for (var o = n > 1 ? void 0 : n ? me(t, e) : t, r = s.length - 1, i; r >= 0; r--)
779
+ (i = s[r]) && (o = (n ? i(t, e, o) : i(o)) || o);
780
+ return n && o && ye(t, e, o), o;
781
781
  };
782
782
  let $ = class extends m {
783
783
  constructor() {
@@ -989,12 +989,12 @@ L([
989
989
  a({ type: Boolean, reflect: !0 })
990
990
  ], $.prototype, "disabled", 2);
991
991
  $ = L([
992
- H("o-icon-button")
992
+ T("o-icon-button")
993
993
  ], $);
994
- var $e = Object.defineProperty, we = Object.getOwnPropertyDescriptor, b = (s, t, e, o) => {
995
- for (var n = o > 1 ? void 0 : o ? we(t, e) : t, r = s.length - 1, i; r >= 0; r--)
996
- (i = s[r]) && (n = (o ? i(t, e, n) : i(n)) || n);
997
- return o && n && $e(t, e, n), n;
994
+ var $e = Object.defineProperty, we = Object.getOwnPropertyDescriptor, v = (s, t, e, n) => {
995
+ for (var o = n > 1 ? void 0 : n ? we(t, e) : t, r = s.length - 1, i; r >= 0; r--)
996
+ (i = s[r]) && (o = (n ? i(t, e, o) : i(o)) || o);
997
+ return n && o && $e(t, e, o), o;
998
998
  };
999
999
  const xe = te(m);
1000
1000
  let u = class extends xe {
@@ -1192,58 +1192,58 @@ u.styles = A`
1192
1192
  align-items: center;
1193
1193
  }
1194
1194
  `;
1195
- b([
1195
+ v([
1196
1196
  a()
1197
1197
  ], u.prototype, "type", 2);
1198
- b([
1198
+ v([
1199
1199
  a({ reflect: !0 })
1200
1200
  ], u.prototype, "value", 2);
1201
- b([
1201
+ v([
1202
1202
  a({ type: String, reflect: !0 })
1203
1203
  ], u.prototype, "variant", 2);
1204
- b([
1204
+ v([
1205
1205
  a({ type: String })
1206
1206
  ], u.prototype, "text", 2);
1207
- b([
1207
+ v([
1208
1208
  a({ type: String })
1209
1209
  ], u.prototype, "textsecond", 2);
1210
- b([
1210
+ v([
1211
1211
  a({ type: Boolean, reflect: !0 })
1212
1212
  ], u.prototype, "fullwidth", 2);
1213
- b([
1213
+ v([
1214
1214
  a({ type: Boolean, reflect: !0 })
1215
1215
  ], u.prototype, "disabled", 2);
1216
- b([
1216
+ v([
1217
1217
  a({ type: String, attribute: "iconstrokewidth" })
1218
1218
  ], u.prototype, "iconstrokewidth", 2);
1219
- b([
1219
+ v([
1220
1220
  a({ type: String })
1221
1221
  ], u.prototype, "icon", 2);
1222
- b([
1222
+ v([
1223
1223
  a({ type: Boolean, reflect: !0, attribute: "starticon" })
1224
1224
  ], u.prototype, "startIcon", 2);
1225
- b([
1225
+ v([
1226
1226
  a({ type: Boolean, reflect: !0, attribute: "endicon" })
1227
1227
  ], u.prototype, "endIcon", 2);
1228
- b([
1228
+ v([
1229
1229
  a({ type: String, reflect: !0, attribute: "iconsize" })
1230
1230
  ], u.prototype, "iconSize", 2);
1231
- b([
1231
+ v([
1232
1232
  a({ type: String, attribute: "paneltarget", reflect: !0 })
1233
1233
  ], u.prototype, "panelTarget", 2);
1234
- b([
1234
+ v([
1235
1235
  a({ type: String })
1236
1236
  ], u.prototype, "href", 2);
1237
- b([
1237
+ v([
1238
1238
  a({ type: String })
1239
1239
  ], u.prototype, "target", 2);
1240
- u = b([
1241
- H("o-button")
1240
+ u = v([
1241
+ T("o-button")
1242
1242
  ], u);
1243
- var _e = Object.defineProperty, Ae = Object.getOwnPropertyDescriptor, tt = (s, t, e, o) => {
1244
- for (var n = o > 1 ? void 0 : o ? Ae(t, e) : t, r = s.length - 1, i; r >= 0; r--)
1245
- (i = s[r]) && (n = (o ? i(t, e, n) : i(n)) || n);
1246
- return o && n && _e(t, e, n), n;
1243
+ var _e = Object.defineProperty, Ae = Object.getOwnPropertyDescriptor, tt = (s, t, e, n) => {
1244
+ for (var o = n > 1 ? void 0 : n ? Ae(t, e) : t, r = s.length - 1, i; r >= 0; r--)
1245
+ (i = s[r]) && (o = (n ? i(t, e, o) : i(o)) || o);
1246
+ return n && o && _e(t, e, o), o;
1247
1247
  };
1248
1248
  let U = class extends m {
1249
1249
  constructor() {
@@ -1356,14 +1356,14 @@ tt([
1356
1356
  a({ type: String, reflect: !0 })
1357
1357
  ], U.prototype, "label", 2);
1358
1358
  U = tt([
1359
- H("o-wishlist-button")
1359
+ T("o-wishlist-button")
1360
1360
  ], U);
1361
- var Se = Object.defineProperty, Ee = Object.getOwnPropertyDescriptor, M = (s, t, e, o) => {
1362
- for (var n = o > 1 ? void 0 : o ? Ee(t, e) : t, r = s.length - 1, i; r >= 0; r--)
1363
- (i = s[r]) && (n = (o ? i(t, e, n) : i(n)) || n);
1364
- return o && n && Se(t, e, n), n;
1361
+ var Se = Object.defineProperty, Ee = Object.getOwnPropertyDescriptor, M = (s, t, e, n) => {
1362
+ for (var o = n > 1 ? void 0 : n ? Ee(t, e) : t, r = s.length - 1, i; r >= 0; r--)
1363
+ (i = s[r]) && (o = (n ? i(t, e, o) : i(o)) || o);
1364
+ return n && o && Se(t, e, o), o;
1365
1365
  };
1366
- let x = class extends m {
1366
+ let _ = class extends m {
1367
1367
  constructor() {
1368
1368
  super(...arguments), this.href = "", this.target = "", this.template = "standard", this.inverse = !1, this.endIcon = !1, this.reverseEndIcon = !1;
1369
1369
  }
@@ -1393,7 +1393,7 @@ let x = class extends m {
1393
1393
  `;
1394
1394
  }
1395
1395
  };
1396
- x.styles = A`
1396
+ _.styles = A`
1397
1397
  :host([template="standard"]) a {
1398
1398
  color: var(--color-content-action-secondary);
1399
1399
  font-size: var(--font-size-200);
@@ -1483,29 +1483,29 @@ x.styles = A`
1483
1483
  `;
1484
1484
  M([
1485
1485
  a({ type: String })
1486
- ], x.prototype, "href", 2);
1486
+ ], _.prototype, "href", 2);
1487
1487
  M([
1488
1488
  a({ type: String })
1489
- ], x.prototype, "target", 2);
1489
+ ], _.prototype, "target", 2);
1490
1490
  M([
1491
1491
  a({ type: String, reflect: !0 })
1492
- ], x.prototype, "template", 2);
1492
+ ], _.prototype, "template", 2);
1493
1493
  M([
1494
1494
  a({ type: Boolean, reflect: !0 })
1495
- ], x.prototype, "inverse", 2);
1495
+ ], _.prototype, "inverse", 2);
1496
1496
  M([
1497
1497
  a({ type: Boolean, reflect: !0 })
1498
- ], x.prototype, "endIcon", 2);
1498
+ ], _.prototype, "endIcon", 2);
1499
1499
  M([
1500
1500
  a({ type: Boolean, reflect: !0 })
1501
- ], x.prototype, "reverseEndIcon", 2);
1502
- x = M([
1503
- H("o-link")
1504
- ], x);
1505
- var Ce = Object.defineProperty, Le = Object.getOwnPropertyDescriptor, et = (s, t, e, o) => {
1506
- for (var n = o > 1 ? void 0 : o ? Le(t, e) : t, r = s.length - 1, i; r >= 0; r--)
1507
- (i = s[r]) && (n = (o ? i(t, e, n) : i(n)) || n);
1508
- return o && n && Ce(t, e, n), n;
1501
+ ], _.prototype, "reverseEndIcon", 2);
1502
+ _ = M([
1503
+ T("o-link")
1504
+ ], _);
1505
+ var Ce = Object.defineProperty, Le = Object.getOwnPropertyDescriptor, et = (s, t, e, n) => {
1506
+ for (var o = n > 1 ? void 0 : n ? Le(t, e) : t, r = s.length - 1, i; r >= 0; r--)
1507
+ (i = s[r]) && (o = (n ? i(t, e, o) : i(o)) || o);
1508
+ return n && o && Ce(t, e, o), o;
1509
1509
  };
1510
1510
  let N = class extends m {
1511
1511
  constructor() {
@@ -1515,8 +1515,8 @@ let N = class extends m {
1515
1515
  const s = [];
1516
1516
  for (let t = 0; t < 5; t++) {
1517
1517
  const e = this.rating - t;
1518
- let o;
1519
- e >= 1 ? o = 100 : e <= 0 ? o = 0 : o = Math.round(e * 100 / 25) * 25, s.push(`star-${o}`);
1518
+ let n;
1519
+ e >= 1 ? n = 100 : e <= 0 ? n = 0 : n = Math.round(e * 100 / 25) * 25, s.push(`star-${n}`);
1520
1520
  }
1521
1521
  return s;
1522
1522
  }
@@ -1578,12 +1578,12 @@ et([
1578
1578
  a({ type: String })
1579
1579
  ], N.prototype, "href", 2);
1580
1580
  N = et([
1581
- H("o-rating")
1581
+ T("o-rating")
1582
1582
  ], N);
1583
- var Pe = Object.defineProperty, ke = Object.getOwnPropertyDescriptor, y = (s, t, e, o) => {
1584
- for (var n = o > 1 ? void 0 : o ? ke(t, e) : t, r = s.length - 1, i; r >= 0; r--)
1585
- (i = s[r]) && (n = (o ? i(t, e, n) : i(n)) || n);
1586
- return o && n && Pe(t, e, n), n;
1583
+ var Pe = Object.defineProperty, ke = Object.getOwnPropertyDescriptor, y = (s, t, e, n) => {
1584
+ for (var o = n > 1 ? void 0 : n ? ke(t, e) : t, r = s.length - 1, i; r >= 0; r--)
1585
+ (i = s[r]) && (o = (n ? i(t, e, o) : i(o)) || o);
1586
+ return n && o && Pe(t, e, o), o;
1587
1587
  };
1588
1588
  let g = class extends m {
1589
1589
  constructor() {
@@ -1600,8 +1600,8 @@ let g = class extends m {
1600
1600
  trapFocus(s) {
1601
1601
  const t = this.getFocusableElements();
1602
1602
  if (t.length === 0) return;
1603
- const e = t[0], o = t[t.length - 1];
1604
- s.shiftKey && document.activeElement === e ? (s.preventDefault(), o.focus()) : !s.shiftKey && document.activeElement === o && (s.preventDefault(), e.focus());
1603
+ const e = t[0], n = t[t.length - 1];
1604
+ s.shiftKey && document.activeElement === e ? (s.preventDefault(), n.focus()) : !s.shiftKey && document.activeElement === n && (s.preventDefault(), e.focus());
1605
1605
  }
1606
1606
  getFocusableElements() {
1607
1607
  const s = this.renderRoot.querySelector(".panel");
@@ -1806,14 +1806,14 @@ y([
1806
1806
  a({ type: Boolean, reflect: !0 })
1807
1807
  ], g.prototype, "disablePortal", 2);
1808
1808
  g = y([
1809
- H("o-side-panel")
1809
+ T("o-side-panel")
1810
1810
  ], g);
1811
- var Be = Object.defineProperty, Ie = Object.getOwnPropertyDescriptor, T = (s, t, e, o) => {
1812
- for (var n = o > 1 ? void 0 : o ? Ie(t, e) : t, r = s.length - 1, i; r >= 0; r--)
1813
- (i = s[r]) && (n = (o ? i(t, e, n) : i(n)) || n);
1814
- return o && n && Be(t, e, n), n;
1811
+ var Be = Object.defineProperty, Ie = Object.getOwnPropertyDescriptor, P = (s, t, e, n) => {
1812
+ for (var o = n > 1 ? void 0 : n ? Ie(t, e) : t, r = s.length - 1, i; r >= 0; r--)
1813
+ (i = s[r]) && (o = (n ? i(t, e, o) : i(o)) || o);
1814
+ return n && o && Be(t, e, o), o;
1815
1815
  };
1816
- let _ = class extends m {
1816
+ let w = class extends m {
1817
1817
  constructor() {
1818
1818
  super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.focusedIndex = 0;
1819
1819
  }
@@ -1837,27 +1837,27 @@ let _ = class extends m {
1837
1837
  t == null || t.focus();
1838
1838
  }
1839
1839
  selectThumbnail(s) {
1840
- this.disabledIndexes.includes(s) || (this.activeIndex = s, this.dispatchEvent(new CustomEvent("thumbnail-select", { detail: { index: s } })));
1840
+ this.disabledIndexes.includes(s) || (this.activeIndex = s, this.swiperInstance && typeof this.swiperInstance.slideTo == "function" && this.swiperInstance.slideTo(s), this.dispatchEvent(new CustomEvent("thumbnail-select", { detail: { index: s } })));
1841
1841
  }
1842
1842
  render() {
1843
1843
  return d`
1844
1844
  <div class="scroll-container" style="max-width: ${this.maxWidth};">
1845
1845
  ${this.thumbnails.map((s, t) => {
1846
- const e = this.disabledIndexes.includes(t), o = this.activeIndex === t, n = s.type === "video";
1846
+ const e = this.disabledIndexes.includes(t), n = this.activeIndex === t, o = s.type === "video";
1847
1847
  return d`
1848
1848
  <div class="thumb-wrapper">
1849
1849
  <button
1850
1850
  class="thumb"
1851
1851
  data-index="${t}"
1852
1852
  ?disabled=${e}
1853
- aria-selected=${o}
1853
+ aria-selected=${n}
1854
1854
  tabindex="${this.focusedIndex === t ? 0 : -1}"
1855
1855
  @click=${() => this.selectThumbnail(t)}
1856
1856
  @keydown=${this.handleKeyDown}
1857
1857
  >
1858
1858
  <img src="${s.src}" />
1859
1859
  </button>
1860
- ${n && this.playIcon ? d`<div class="play-icon-wrapper">${this.playIcon}</div>` : null}
1860
+ ${o && this.playIcon ? d`<div class="play-icon-wrapper">${this.playIcon}</div>` : null}
1861
1861
  </div>
1862
1862
  `;
1863
1863
  })}
@@ -1865,7 +1865,7 @@ let _ = class extends m {
1865
1865
  `;
1866
1866
  }
1867
1867
  };
1868
- _.styles = A`
1868
+ w.styles = A`
1869
1869
  :host {
1870
1870
  display: flex;
1871
1871
  gap: 8px;
@@ -1938,24 +1938,27 @@ _.styles = A`
1938
1938
  border-radius: 3px;
1939
1939
  }
1940
1940
  `;
1941
- T([
1941
+ P([
1942
1942
  a({ type: Array })
1943
- ], _.prototype, "thumbnails", 2);
1944
- T([
1943
+ ], w.prototype, "thumbnails", 2);
1944
+ P([
1945
1945
  a({ type: Number })
1946
- ], _.prototype, "activeIndex", 2);
1947
- T([
1946
+ ], w.prototype, "activeIndex", 2);
1947
+ P([
1948
1948
  a({ type: Array })
1949
- ], _.prototype, "disabledIndexes", 2);
1950
- T([
1949
+ ], w.prototype, "disabledIndexes", 2);
1950
+ P([
1951
1951
  a({ type: Object })
1952
- ], _.prototype, "playIcon", 2);
1953
- T([
1952
+ ], w.prototype, "playIcon", 2);
1953
+ P([
1954
1954
  a({ type: String })
1955
- ], _.prototype, "maxWidth", 2);
1956
- T([
1955
+ ], w.prototype, "maxWidth", 2);
1956
+ P([
1957
+ a({ type: Object })
1958
+ ], w.prototype, "swiperInstance", 2);
1959
+ P([
1957
1960
  Qt()
1958
- ], _.prototype, "focusedIndex", 2);
1959
- _ = T([
1960
- H("thumbnail-navigation")
1961
- ], _);
1961
+ ], w.prototype, "focusedIndex", 2);
1962
+ w = P([
1963
+ T("thumbnail-navigation")
1964
+ ], w);