@decidables/decidables-elements 0.3.4 → 0.3.5

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.
@@ -9,21 +9,21 @@
9
9
  * Copyright 2019 Google LLC
10
10
  * SPDX-License-Identifier: BSD-3-Clause
11
11
  */
12
- const t$2 = window,
13
- e$4 = t$2.ShadowRoot && (void 0 === t$2.ShadyCSS || t$2.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
14
- s$5 = Symbol(),
15
- n$5 = new WeakMap();
16
- let o$5 = class o {
12
+ const t$3 = window,
13
+ e$5 = t$3.ShadowRoot && (void 0 === t$3.ShadyCSS || t$3.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
14
+ s$6 = Symbol(),
15
+ n$6 = new WeakMap();
16
+ let o$6 = class o {
17
17
  constructor(t, e, n) {
18
- if (this._$cssResult$ = !0, n !== s$5) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
18
+ if (this._$cssResult$ = !0, n !== s$6) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
19
19
  this.cssText = t, this.t = e;
20
20
  }
21
21
  get styleSheet() {
22
22
  let t = this.o;
23
23
  const s = this.t;
24
- if (e$4 && void 0 === t) {
24
+ if (e$5 && void 0 === t) {
25
25
  const e = void 0 !== s && 1 === s.length;
26
- e && (t = n$5.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), e && n$5.set(s, t));
26
+ e && (t = n$6.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), e && n$6.set(s, t));
27
27
  }
28
28
  return t;
29
29
  }
@@ -31,18 +31,18 @@
31
31
  return this.cssText;
32
32
  }
33
33
  };
34
- const r$4 = t => new o$5("string" == typeof t ? t : t + "", void 0, s$5),
35
- S$2 = (s, n) => {
36
- e$4 ? s.adoptedStyleSheets = n.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet) : n.forEach(e => {
34
+ const r$5 = t => new o$6("string" == typeof t ? t : t + "", void 0, s$6),
35
+ S$3 = (s, n) => {
36
+ e$5 ? s.adoptedStyleSheets = n.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet) : n.forEach(e => {
37
37
  const n = document.createElement("style"),
38
- o = t$2.litNonce;
38
+ o = t$3.litNonce;
39
39
  void 0 !== o && n.setAttribute("nonce", o), n.textContent = e.cssText, s.appendChild(n);
40
40
  });
41
41
  },
42
- c$1 = e$4 ? t => t : t => t instanceof CSSStyleSheet ? (t => {
42
+ c$2 = e$5 ? t => t : t => t instanceof CSSStyleSheet ? (t => {
43
43
  let e = "";
44
44
  for (const s of t.cssRules) e += s.cssText;
45
- return r$4(e);
45
+ return r$5(e);
46
46
  })(t) : t;
47
47
 
48
48
  /**
@@ -50,16 +50,16 @@
50
50
  * Copyright 2017 Google LLC
51
51
  * SPDX-License-Identifier: BSD-3-Clause
52
52
  */
53
- var s$4;
54
- const e$3 = window,
55
- r$3 = e$3.trustedTypes,
56
- h$2 = r$3 ? r$3.emptyScript : "",
57
- o$4 = e$3.reactiveElementPolyfillSupport,
58
- n$4 = {
53
+ var s$5;
54
+ const e$4 = window,
55
+ r$4 = e$4.trustedTypes,
56
+ h$3 = r$4 ? r$4.emptyScript : "",
57
+ o$5 = e$4.reactiveElementPolyfillSupport,
58
+ n$5 = {
59
59
  toAttribute(t, i) {
60
60
  switch (i) {
61
61
  case Boolean:
62
- t = t ? h$2 : null;
62
+ t = t ? h$3 : null;
63
63
  break;
64
64
  case Object:
65
65
  case Array:
@@ -87,15 +87,15 @@
87
87
  return s;
88
88
  }
89
89
  },
90
- a$2 = (t, i) => i !== t && (i == i || t == t),
91
- l$4 = {
90
+ a$3 = (t, i) => i !== t && (i == i || t == t),
91
+ l$5 = {
92
92
  attribute: !0,
93
93
  type: String,
94
- converter: n$4,
94
+ converter: n$5,
95
95
  reflect: !1,
96
- hasChanged: a$2
96
+ hasChanged: a$3
97
97
  };
98
- let d$1 = class d extends HTMLElement {
98
+ let d$2 = class d extends HTMLElement {
99
99
  constructor() {
100
100
  super(), this._$Ei = new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this.u();
101
101
  }
@@ -111,7 +111,7 @@
111
111
  void 0 !== e && (this._$Ev.set(e, s), t.push(e));
112
112
  }), t;
113
113
  }
114
- static createProperty(t, i = l$4) {
114
+ static createProperty(t, i = l$5) {
115
115
  if (i.state && (i.attribute = !1), this.finalize(), this.elementProperties.set(t, i), !i.noAccessor && !this.prototype.hasOwnProperty(t)) {
116
116
  const s = "symbol" == typeof t ? Symbol() : "__" + t,
117
117
  e = this.getPropertyDescriptor(t, s, i);
@@ -132,7 +132,7 @@
132
132
  };
133
133
  }
134
134
  static getPropertyOptions(t) {
135
- return this.elementProperties.get(t) || l$4;
135
+ return this.elementProperties.get(t) || l$5;
136
136
  }
137
137
  static finalize() {
138
138
  if (this.hasOwnProperty("finalized")) return !1;
@@ -149,8 +149,8 @@
149
149
  const s = [];
150
150
  if (Array.isArray(i)) {
151
151
  const e = new Set(i.flat(1 / 0).reverse());
152
- for (const i of e) s.unshift(c$1(i));
153
- } else void 0 !== i && s.push(c$1(i));
152
+ for (const i of e) s.unshift(c$2(i));
153
+ } else void 0 !== i && s.push(c$2(i));
154
154
  return s;
155
155
  }
156
156
  static _$Ep(t, i) {
@@ -177,7 +177,7 @@
177
177
  createRenderRoot() {
178
178
  var t;
179
179
  const s = null !== (t = this.shadowRoot) && void 0 !== t ? t : this.attachShadow(this.constructor.shadowRootOptions);
180
- return S$2(s, this.constructor.elementStyles), s;
180
+ return S$3(s, this.constructor.elementStyles), s;
181
181
  }
182
182
  connectedCallback() {
183
183
  var t;
@@ -197,11 +197,11 @@
197
197
  attributeChangedCallback(t, i, s) {
198
198
  this._$AK(t, s);
199
199
  }
200
- _$EO(t, i, s = l$4) {
200
+ _$EO(t, i, s = l$5) {
201
201
  var e;
202
202
  const r = this.constructor._$Ep(t, s);
203
203
  if (void 0 !== r && !0 === s.reflect) {
204
- const h = (void 0 !== (null === (e = s.converter) || void 0 === e ? void 0 : e.toAttribute) ? s.converter : n$4).toAttribute(i, s.type);
204
+ const h = (void 0 !== (null === (e = s.converter) || void 0 === e ? void 0 : e.toAttribute) ? s.converter : n$5).toAttribute(i, s.type);
205
205
  this._$El = t, null == h ? this.removeAttribute(r) : this.setAttribute(r, h), this._$El = null;
206
206
  }
207
207
  }
@@ -213,13 +213,13 @@
213
213
  const t = e.getPropertyOptions(r),
214
214
  h = "function" == typeof t.converter ? {
215
215
  fromAttribute: t.converter
216
- } : void 0 !== (null === (s = t.converter) || void 0 === s ? void 0 : s.fromAttribute) ? t.converter : n$4;
216
+ } : void 0 !== (null === (s = t.converter) || void 0 === s ? void 0 : s.fromAttribute) ? t.converter : n$5;
217
217
  this._$El = r, this[r] = h.fromAttribute(i, t.type), this._$El = null;
218
218
  }
219
219
  }
220
220
  requestUpdate(t, i, s) {
221
221
  let e = !0;
222
- void 0 !== t && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || a$2)(this[t], i) ? (this._$AL.has(t) || this._$AL.set(t, i), !0 === s.reflect && this._$El !== t && (void 0 === this._$EC && (this._$EC = new Map()), this._$EC.set(t, s))) : e = !1), !this.isUpdatePending && e && (this._$E_ = this._$Ej());
222
+ void 0 !== t && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || a$3)(this[t], i) ? (this._$AL.has(t) || this._$AL.set(t, i), !0 === s.reflect && this._$El !== t && (void 0 === this._$EC && (this._$EC = new Map()), this._$EC.set(t, s))) : e = !1), !this.isUpdatePending && e && (this._$E_ = this._$Ej());
223
223
  }
224
224
  async _$Ej() {
225
225
  this.isUpdatePending = !0;
@@ -276,72 +276,67 @@
276
276
  updated(t) {}
277
277
  firstUpdated(t) {}
278
278
  };
279
- d$1.finalized = !0, d$1.elementProperties = new Map(), d$1.elementStyles = [], d$1.shadowRootOptions = {
279
+ d$2.finalized = !0, d$2.elementProperties = new Map(), d$2.elementStyles = [], d$2.shadowRootOptions = {
280
280
  mode: "open"
281
- }, null == o$4 || o$4({
282
- ReactiveElement: d$1
283
- }), (null !== (s$4 = e$3.reactiveElementVersions) && void 0 !== s$4 ? s$4 : e$3.reactiveElementVersions = []).push("1.6.1");
281
+ }, null == o$5 || o$5({
282
+ ReactiveElement: d$2
283
+ }), (null !== (s$5 = e$4.reactiveElementVersions) && void 0 !== s$5 ? s$5 : e$4.reactiveElementVersions = []).push("1.6.1");
284
284
 
285
285
  /**
286
286
  * @license
287
287
  * Copyright 2017 Google LLC
288
288
  * SPDX-License-Identifier: BSD-3-Clause
289
289
  */
290
- var t$1;
291
- const i$1 = window,
292
- s$3 = i$1.trustedTypes,
293
- e$2 = s$3 ? s$3.createPolicy("lit-html", {
290
+ var t$2;
291
+ const i$2 = window,
292
+ s$4 = i$2.trustedTypes,
293
+ e$3 = s$4 ? s$4.createPolicy("lit-html", {
294
294
  createHTML: t => t
295
295
  }) : void 0,
296
- o$3 = "$lit$",
297
- n$3 = `lit$${(Math.random() + "").slice(9)}$`,
298
- l$3 = "?" + n$3,
299
- h$1 = `<${l$3}>`,
300
- r$2 = document,
301
- d = () => r$2.createComment(""),
302
- u = t => null === t || "object" != typeof t && "function" != typeof t,
303
- c = Array.isArray,
304
- v = t => c(t) || "function" == typeof (null == t ? void 0 : t[Symbol.iterator]),
305
- a$1 = "[ \t\n\f\r]",
306
- f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
307
- _ = /-->/g,
308
- m = />/g,
309
- p = RegExp(`>|${a$1}(?:([^\\s"'>=/]+)(${a$1}*=${a$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"),
310
- g = /'/g,
311
- $ = /"/g,
312
- y = /^(?:script|style|textarea|title)$/i,
313
- w = t => (i, ...s) => ({
314
- _$litType$: t,
315
- strings: i,
316
- values: s
317
- }),
318
- x = w(1),
319
- b = w(2),
320
- T = Symbol.for("lit-noChange"),
321
- A = Symbol.for("lit-nothing"),
322
- E = new WeakMap(),
323
- C = r$2.createTreeWalker(r$2, 129, null, !1),
324
- P = (t, i) => {
325
- const s = t.length - 1,
326
- l = [];
327
- let r,
328
- d = 2 === i ? "<svg>" : "",
329
- u = f;
330
- for (let i = 0; i < s; i++) {
331
- const s = t[i];
332
- let e,
333
- c,
334
- v = -1,
335
- a = 0;
336
- for (; a < s.length && (u.lastIndex = a, c = u.exec(s), null !== c);) a = u.lastIndex, u === f ? "!--" === c[1] ? u = _ : void 0 !== c[1] ? u = m : void 0 !== c[2] ? (y.test(c[2]) && (r = RegExp("</" + c[2], "g")), u = p) : void 0 !== c[3] && (u = p) : u === p ? ">" === c[0] ? (u = null != r ? r : f, v = -1) : void 0 === c[1] ? v = -2 : (v = u.lastIndex - c[2].length, e = c[1], u = void 0 === c[3] ? p : '"' === c[3] ? $ : g) : u === $ || u === g ? u = p : u === _ || u === m ? u = f : (u = p, r = void 0);
337
- const w = u === p && t[i + 1].startsWith("/>") ? " " : "";
338
- d += u === f ? s + h$1 : v >= 0 ? (l.push(e), s.slice(0, v) + o$3 + s.slice(v) + n$3 + w) : s + n$3 + (-2 === v ? (l.push(void 0), i) : w);
339
- }
340
- const c = d + (t[s] || "<?>") + (2 === i ? "</svg>" : "");
341
- if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
342
- return [void 0 !== e$2 ? e$2.createHTML(c) : c, l];
343
- };
344
- class V {
296
+ o$4 = "$lit$",
297
+ n$4 = `lit$${(Math.random() + "").slice(9)}$`,
298
+ l$4 = "?" + n$4,
299
+ h$2 = `<${l$4}>`,
300
+ r$3 = document,
301
+ u$1 = () => r$3.createComment(""),
302
+ d$1 = t => null === t || "object" != typeof t && "function" != typeof t,
303
+ c$1 = Array.isArray,
304
+ v$1 = t => c$1(t) || "function" == typeof (null == t ? void 0 : t[Symbol.iterator]),
305
+ a$2 = "[ \t\n\f\r]",
306
+ f$1 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
307
+ _$1 = /-->/g,
308
+ m$1 = />/g,
309
+ p$1 = RegExp(`>|${a$2}(?:([^\\s"'>=/]+)(${a$2}*=${a$2}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"),
310
+ g$1 = /'/g,
311
+ $$1 = /"/g,
312
+ y$1 = /^(?:script|style|textarea|title)$/i,
313
+ T$1 = Symbol.for("lit-noChange"),
314
+ A$1 = Symbol.for("lit-nothing"),
315
+ E$1 = new WeakMap(),
316
+ C$1 = r$3.createTreeWalker(r$3, 129, null, !1);
317
+ function P$1(t, i) {
318
+ if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
319
+ return void 0 !== e$3 ? e$3.createHTML(i) : i;
320
+ }
321
+ const V$1 = (t, i) => {
322
+ const s = t.length - 1,
323
+ e = [];
324
+ let l,
325
+ r = 2 === i ? "<svg>" : "",
326
+ u = f$1;
327
+ for (let i = 0; i < s; i++) {
328
+ const s = t[i];
329
+ let d,
330
+ c,
331
+ v = -1,
332
+ a = 0;
333
+ for (; a < s.length && (u.lastIndex = a, c = u.exec(s), null !== c);) a = u.lastIndex, u === f$1 ? "!--" === c[1] ? u = _$1 : void 0 !== c[1] ? u = m$1 : void 0 !== c[2] ? (y$1.test(c[2]) && (l = RegExp("</" + c[2], "g")), u = p$1) : void 0 !== c[3] && (u = p$1) : u === p$1 ? ">" === c[0] ? (u = null != l ? l : f$1, v = -1) : void 0 === c[1] ? v = -2 : (v = u.lastIndex - c[2].length, d = c[1], u = void 0 === c[3] ? p$1 : '"' === c[3] ? $$1 : g$1) : u === $$1 || u === g$1 ? u = p$1 : u === _$1 || u === m$1 ? u = f$1 : (u = p$1, l = void 0);
334
+ const w = u === p$1 && t[i + 1].startsWith("/>") ? " " : "";
335
+ r += u === f$1 ? s + h$2 : v >= 0 ? (e.push(d), s.slice(0, v) + o$4 + s.slice(v) + n$4 + w) : s + n$4 + (-2 === v ? (e.push(void 0), i) : w);
336
+ }
337
+ return [P$1(t, r + (t[s] || "<?>") + (2 === i ? "</svg>" : "")), e];
338
+ };
339
+ let N$1 = class N {
345
340
  constructor({
346
341
  strings: t,
347
342
  _$litType$: i
@@ -349,30 +344,30 @@
349
344
  let h;
350
345
  this.parts = [];
351
346
  let r = 0,
352
- u = 0;
347
+ d = 0;
353
348
  const c = t.length - 1,
354
349
  v = this.parts,
355
- [a, f] = P(t, i);
356
- if (this.el = V.createElement(a, e), C.currentNode = this.el.content, 2 === i) {
350
+ [a, f] = V$1(t, i);
351
+ if (this.el = N.createElement(a, e), C$1.currentNode = this.el.content, 2 === i) {
357
352
  const t = this.el.content,
358
353
  i = t.firstChild;
359
354
  i.remove(), t.append(...i.childNodes);
360
355
  }
361
- for (; null !== (h = C.nextNode()) && v.length < c;) {
356
+ for (; null !== (h = C$1.nextNode()) && v.length < c;) {
362
357
  if (1 === h.nodeType) {
363
358
  if (h.hasAttributes()) {
364
359
  const t = [];
365
- for (const i of h.getAttributeNames()) if (i.endsWith(o$3) || i.startsWith(n$3)) {
366
- const s = f[u++];
360
+ for (const i of h.getAttributeNames()) if (i.endsWith(o$4) || i.startsWith(n$4)) {
361
+ const s = f[d++];
367
362
  if (t.push(i), void 0 !== s) {
368
- const t = h.getAttribute(s.toLowerCase() + o$3).split(n$3),
363
+ const t = h.getAttribute(s.toLowerCase() + o$4).split(n$4),
369
364
  i = /([.?@])?(.*)/.exec(s);
370
365
  v.push({
371
366
  type: 1,
372
367
  index: r,
373
368
  name: i[2],
374
369
  strings: t,
375
- ctor: "." === i[1] ? k : "?" === i[1] ? I : "@" === i[1] ? L : R
370
+ ctor: "." === i[1] ? H$1 : "?" === i[1] ? L$1 : "@" === i[1] ? z$1 : k$1
376
371
  });
377
372
  } else v.push({
378
373
  type: 6,
@@ -381,46 +376,46 @@
381
376
  }
382
377
  for (const i of t) h.removeAttribute(i);
383
378
  }
384
- if (y.test(h.tagName)) {
385
- const t = h.textContent.split(n$3),
379
+ if (y$1.test(h.tagName)) {
380
+ const t = h.textContent.split(n$4),
386
381
  i = t.length - 1;
387
382
  if (i > 0) {
388
- h.textContent = s$3 ? s$3.emptyScript : "";
389
- for (let s = 0; s < i; s++) h.append(t[s], d()), C.nextNode(), v.push({
383
+ h.textContent = s$4 ? s$4.emptyScript : "";
384
+ for (let s = 0; s < i; s++) h.append(t[s], u$1()), C$1.nextNode(), v.push({
390
385
  type: 2,
391
386
  index: ++r
392
387
  });
393
- h.append(t[i], d());
388
+ h.append(t[i], u$1());
394
389
  }
395
390
  }
396
- } else if (8 === h.nodeType) if (h.data === l$3) v.push({
391
+ } else if (8 === h.nodeType) if (h.data === l$4) v.push({
397
392
  type: 2,
398
393
  index: r
399
394
  });else {
400
395
  let t = -1;
401
- for (; -1 !== (t = h.data.indexOf(n$3, t + 1));) v.push({
396
+ for (; -1 !== (t = h.data.indexOf(n$4, t + 1));) v.push({
402
397
  type: 7,
403
398
  index: r
404
- }), t += n$3.length - 1;
399
+ }), t += n$4.length - 1;
405
400
  }
406
401
  r++;
407
402
  }
408
403
  }
409
404
  static createElement(t, i) {
410
- const s = r$2.createElement("template");
405
+ const s = r$3.createElement("template");
411
406
  return s.innerHTML = t, s;
412
407
  }
413
- }
414
- function N(t, i, s = t, e) {
408
+ };
409
+ function S$2(t, i, s = t, e) {
415
410
  var o, n, l, h;
416
- if (i === T) return i;
411
+ if (i === T$1) return i;
417
412
  let r = void 0 !== e ? null === (o = s._$Co) || void 0 === o ? void 0 : o[e] : s._$Cl;
418
- const d = u(i) ? void 0 : i._$litDirective$;
419
- return (null == r ? void 0 : r.constructor) !== d && (null === (n = null == r ? void 0 : r._$AO) || void 0 === n || n.call(r, !1), void 0 === d ? r = void 0 : (r = new d(t), r._$AT(t, s, e)), void 0 !== e ? (null !== (l = (h = s)._$Co) && void 0 !== l ? l : h._$Co = [])[e] = r : s._$Cl = r), void 0 !== r && (i = N(t, r._$AS(t, i.values), r, e)), i;
413
+ const u = d$1(i) ? void 0 : i._$litDirective$;
414
+ return (null == r ? void 0 : r.constructor) !== u && (null === (n = null == r ? void 0 : r._$AO) || void 0 === n || n.call(r, !1), void 0 === u ? r = void 0 : (r = new u(t), r._$AT(t, s, e)), void 0 !== e ? (null !== (l = (h = s)._$Co) && void 0 !== l ? l : h._$Co = [])[e] = r : s._$Cl = r), void 0 !== r && (i = S$2(t, r._$AS(t, i.values), r, e)), i;
420
415
  }
421
- let S$1 = class S {
416
+ let M$1 = class M {
422
417
  constructor(t, i) {
423
- this.u = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
418
+ this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
424
419
  }
425
420
  get parentNode() {
426
421
  return this._$AM.parentNode;
@@ -428,7 +423,7 @@
428
423
  get _$AU() {
429
424
  return this._$AM._$AU;
430
425
  }
431
- v(t) {
426
+ u(t) {
432
427
  var i;
433
428
  const {
434
429
  el: {
@@ -436,34 +431,34 @@
436
431
  },
437
432
  parts: e
438
433
  } = this._$AD,
439
- o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : r$2).importNode(s, !0);
440
- C.currentNode = o;
441
- let n = C.nextNode(),
434
+ o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : r$3).importNode(s, !0);
435
+ C$1.currentNode = o;
436
+ let n = C$1.nextNode(),
442
437
  l = 0,
443
438
  h = 0,
444
- d = e[0];
445
- for (; void 0 !== d;) {
446
- if (l === d.index) {
439
+ u = e[0];
440
+ for (; void 0 !== u;) {
441
+ if (l === u.index) {
447
442
  let i;
448
- 2 === d.type ? i = new M(n, n.nextSibling, this, t) : 1 === d.type ? i = new d.ctor(n, d.name, d.strings, this, t) : 6 === d.type && (i = new z(n, this, t)), this.u.push(i), d = e[++h];
443
+ 2 === u.type ? i = new R$1(n, n.nextSibling, this, t) : 1 === u.type ? i = new u.ctor(n, u.name, u.strings, this, t) : 6 === u.type && (i = new Z(n, this, t)), this._$AV.push(i), u = e[++h];
449
444
  }
450
- l !== (null == d ? void 0 : d.index) && (n = C.nextNode(), l++);
445
+ l !== (null == u ? void 0 : u.index) && (n = C$1.nextNode(), l++);
451
446
  }
452
- return o;
447
+ return C$1.currentNode = r$3, o;
453
448
  }
454
- p(t) {
449
+ v(t) {
455
450
  let i = 0;
456
- for (const s of this.u) void 0 !== s && (void 0 !== s.strings ? (s._$AI(t, s, i), i += s.strings.length - 2) : s._$AI(t[i])), i++;
451
+ for (const s of this._$AV) void 0 !== s && (void 0 !== s.strings ? (s._$AI(t, s, i), i += s.strings.length - 2) : s._$AI(t[i])), i++;
457
452
  }
458
453
  };
459
- class M {
454
+ let R$1 = class R {
460
455
  constructor(t, i, s, e) {
461
456
  var o;
462
- this.type = 2, this._$AH = A, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cm = null === (o = null == e ? void 0 : e.isConnected) || void 0 === o || o;
457
+ this.type = 2, this._$AH = A$1, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cp = null === (o = null == e ? void 0 : e.isConnected) || void 0 === o || o;
463
458
  }
464
459
  get _$AU() {
465
460
  var t, i;
466
- return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cm;
461
+ return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cp;
467
462
  }
468
463
  get parentNode() {
469
464
  let t = this._$AA.parentNode;
@@ -477,40 +472,40 @@
477
472
  return this._$AB;
478
473
  }
479
474
  _$AI(t, i = this) {
480
- t = N(this, t, i), u(t) ? t === A || null == t || "" === t ? (this._$AH !== A && this._$AR(), this._$AH = A) : t !== this._$AH && t !== T && this.g(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : v(t) ? this.k(t) : this.g(t);
475
+ t = S$2(this, t, i), d$1(t) ? t === A$1 || null == t || "" === t ? (this._$AH !== A$1 && this._$AR(), this._$AH = A$1) : t !== this._$AH && t !== T$1 && this._(t) : void 0 !== t._$litType$ ? this.g(t) : void 0 !== t.nodeType ? this.$(t) : v$1(t) ? this.T(t) : this._(t);
481
476
  }
482
- S(t) {
477
+ k(t) {
483
478
  return this._$AA.parentNode.insertBefore(t, this._$AB);
484
479
  }
485
- T(t) {
486
- this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
480
+ $(t) {
481
+ this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
487
482
  }
488
- g(t) {
489
- this._$AH !== A && u(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$2.createTextNode(t)), this._$AH = t;
483
+ _(t) {
484
+ this._$AH !== A$1 && d$1(this._$AH) ? this._$AA.nextSibling.data = t : this.$(r$3.createTextNode(t)), this._$AH = t;
490
485
  }
491
- $(t) {
486
+ g(t) {
492
487
  var i;
493
488
  const {
494
489
  values: s,
495
490
  _$litType$: e
496
491
  } = t,
497
- o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el = V.createElement(e.h, this.options)), e);
498
- if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.p(s);else {
499
- const t = new S$1(o, this),
500
- i = t.v(this.options);
501
- t.p(s), this.T(i), this._$AH = t;
492
+ o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el = N$1.createElement(P$1(e.h, e.h[0]), this.options)), e);
493
+ if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.v(s);else {
494
+ const t = new M$1(o, this),
495
+ i = t.u(this.options);
496
+ t.v(s), this.$(i), this._$AH = t;
502
497
  }
503
498
  }
504
499
  _$AC(t) {
505
- let i = E.get(t.strings);
506
- return void 0 === i && E.set(t.strings, i = new V(t)), i;
500
+ let i = E$1.get(t.strings);
501
+ return void 0 === i && E$1.set(t.strings, i = new N$1(t)), i;
507
502
  }
508
- k(t) {
509
- c(this._$AH) || (this._$AH = [], this._$AR());
503
+ T(t) {
504
+ c$1(this._$AH) || (this._$AH = [], this._$AR());
510
505
  const i = this._$AH;
511
506
  let s,
512
507
  e = 0;
513
- for (const o of t) e === i.length ? i.push(s = new M(this.S(d()), this.S(d()), this, this.options)) : s = i[e], s._$AI(o), e++;
508
+ for (const o of t) e === i.length ? i.push(s = new R(this.k(u$1()), this.k(u$1()), this, this.options)) : s = i[e], s._$AI(o), e++;
514
509
  e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
515
510
  }
516
511
  _$AR(t = this._$AA.nextSibling, i) {
@@ -522,12 +517,12 @@
522
517
  }
523
518
  setConnected(t) {
524
519
  var i;
525
- void 0 === this._$AM && (this._$Cm = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
520
+ void 0 === this._$AM && (this._$Cp = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
526
521
  }
527
- }
528
- class R {
522
+ };
523
+ let k$1 = class k {
529
524
  constructor(t, i, s, e, o) {
530
- this.type = 1, this._$AH = A, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = o, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = A;
525
+ this.type = 1, this._$AH = A$1, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = o, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = A$1;
531
526
  }
532
527
  get tagName() {
533
528
  return this.element.tagName;
@@ -538,52 +533,52 @@
538
533
  _$AI(t, i = this, s, e) {
539
534
  const o = this.strings;
540
535
  let n = !1;
541
- if (void 0 === o) t = N(this, t, i, 0), n = !u(t) || t !== this._$AH && t !== T, n && (this._$AH = t);else {
536
+ if (void 0 === o) t = S$2(this, t, i, 0), n = !d$1(t) || t !== this._$AH && t !== T$1, n && (this._$AH = t);else {
542
537
  const e = t;
543
538
  let l, h;
544
- for (t = o[0], l = 0; l < o.length - 1; l++) h = N(this, e[s + l], i, l), h === T && (h = this._$AH[l]), n || (n = !u(h) || h !== this._$AH[l]), h === A ? t = A : t !== A && (t += (null != h ? h : "") + o[l + 1]), this._$AH[l] = h;
539
+ for (t = o[0], l = 0; l < o.length - 1; l++) h = S$2(this, e[s + l], i, l), h === T$1 && (h = this._$AH[l]), n || (n = !d$1(h) || h !== this._$AH[l]), h === A$1 ? t = A$1 : t !== A$1 && (t += (null != h ? h : "") + o[l + 1]), this._$AH[l] = h;
545
540
  }
546
541
  n && !e && this.j(t);
547
542
  }
548
543
  j(t) {
549
- t === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
544
+ t === A$1 ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
550
545
  }
551
- }
552
- class k extends R {
546
+ };
547
+ let H$1 = class H extends k$1 {
553
548
  constructor() {
554
549
  super(...arguments), this.type = 3;
555
550
  }
556
551
  j(t) {
557
- this.element[this.name] = t === A ? void 0 : t;
552
+ this.element[this.name] = t === A$1 ? void 0 : t;
558
553
  }
559
- }
560
- const H = s$3 ? s$3.emptyScript : "";
561
- class I extends R {
554
+ };
555
+ const I$1 = s$4 ? s$4.emptyScript : "";
556
+ let L$1 = class L extends k$1 {
562
557
  constructor() {
563
558
  super(...arguments), this.type = 4;
564
559
  }
565
560
  j(t) {
566
- t && t !== A ? this.element.setAttribute(this.name, H) : this.element.removeAttribute(this.name);
561
+ t && t !== A$1 ? this.element.setAttribute(this.name, I$1) : this.element.removeAttribute(this.name);
567
562
  }
568
- }
569
- class L extends R {
563
+ };
564
+ let z$1 = class z extends k$1 {
570
565
  constructor(t, i, s, e, o) {
571
566
  super(t, i, s, e, o), this.type = 5;
572
567
  }
573
568
  _$AI(t, i = this) {
574
569
  var s;
575
- if ((t = null !== (s = N(this, t, i, 0)) && void 0 !== s ? s : A) === T) return;
570
+ if ((t = null !== (s = S$2(this, t, i, 0)) && void 0 !== s ? s : A$1) === T$1) return;
576
571
  const e = this._$AH,
577
- o = t === A && e !== A || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive,
578
- n = t !== A && (e === A || o);
572
+ o = t === A$1 && e !== A$1 || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive,
573
+ n = t !== A$1 && (e === A$1 || o);
579
574
  o && this.element.removeEventListener(this.name, this, e), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
580
575
  }
581
576
  handleEvent(t) {
582
577
  var i, s;
583
578
  "function" == typeof this._$AH ? this._$AH.call(null !== (s = null === (i = this.options) || void 0 === i ? void 0 : i.host) && void 0 !== s ? s : this.element, t) : this._$AH.handleEvent(t);
584
579
  }
585
- }
586
- class z {
580
+ };
581
+ class Z {
587
582
  constructor(t, i, s) {
588
583
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
589
584
  }
@@ -591,63 +586,53 @@
591
586
  return this._$AM._$AU;
592
587
  }
593
588
  _$AI(t) {
594
- N(this, t);
589
+ S$2(this, t);
595
590
  }
596
591
  }
597
- const j = i$1.litHtmlPolyfillSupport;
598
- null == j || j(V, M), (null !== (t$1 = i$1.litHtmlVersions) && void 0 !== t$1 ? t$1 : i$1.litHtmlVersions = []).push("2.7.0");
599
- const B = (t, i, s) => {
600
- var e, o;
601
- const n = null !== (e = null == s ? void 0 : s.renderBefore) && void 0 !== e ? e : i;
602
- let l = n._$litPart$;
603
- if (void 0 === l) {
604
- const t = null !== (o = null == s ? void 0 : s.renderBefore) && void 0 !== o ? o : null;
605
- n._$litPart$ = l = new M(i.insertBefore(d(), t), t, void 0, null != s ? s : {});
606
- }
607
- return l._$AI(t), l;
608
- };
592
+ const B$1 = i$2.litHtmlPolyfillSupport;
593
+ null == B$1 || B$1(N$1, R$1), (null !== (t$2 = i$2.litHtmlVersions) && void 0 !== t$2 ? t$2 : i$2.litHtmlVersions = []).push("2.8.0");
609
594
 
610
595
  /**
611
596
  * @license
612
597
  * Copyright 2019 Google LLC
613
598
  * SPDX-License-Identifier: BSD-3-Clause
614
599
  */
615
- const t = window.ShadowRoot && (void 0 === window.ShadyCSS || window.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
616
- e$1 = Symbol(),
617
- n$2 = new Map();
618
- let s$2 = class s {
600
+ const t$1 = window.ShadowRoot && (void 0 === window.ShadyCSS || window.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
601
+ e$2 = Symbol(),
602
+ n$3 = new Map();
603
+ let s$3 = class s {
619
604
  constructor(t, n) {
620
- if (this._$cssResult$ = !0, n !== e$1) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
605
+ if (this._$cssResult$ = !0, n !== e$2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
621
606
  this.cssText = t;
622
607
  }
623
608
  get styleSheet() {
624
- let e = n$2.get(this.cssText);
625
- return t && void 0 === e && (n$2.set(this.cssText, e = new CSSStyleSheet()), e.replaceSync(this.cssText)), e;
609
+ let e = n$3.get(this.cssText);
610
+ return t$1 && void 0 === e && (n$3.set(this.cssText, e = new CSSStyleSheet()), e.replaceSync(this.cssText)), e;
626
611
  }
627
612
  toString() {
628
613
  return this.cssText;
629
614
  }
630
615
  };
631
- const o$2 = t => new s$2("string" == typeof t ? t : t + "", e$1),
632
- r$1 = (t, ...n) => {
616
+ const o$3 = t => new s$3("string" == typeof t ? t : t + "", e$2),
617
+ r$2 = (t, ...n) => {
633
618
  const o = 1 === t.length ? t[0] : n.reduce((e, n, s) => e + (t => {
634
619
  if (!0 === t._$cssResult$) return t.cssText;
635
620
  if ("number" == typeof t) return t;
636
621
  throw Error("Value passed to 'css' function must be a 'css' function result: " + t + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
637
622
  })(n) + t[s + 1], t[0]);
638
- return new s$2(o, e$1);
623
+ return new s$3(o, e$2);
639
624
  },
640
- i = (e, n) => {
641
- t ? e.adoptedStyleSheets = n.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet) : n.forEach(t => {
625
+ i$1 = (e, n) => {
626
+ t$1 ? e.adoptedStyleSheets = n.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet) : n.forEach(t => {
642
627
  const n = document.createElement("style"),
643
628
  s = window.litNonce;
644
629
  void 0 !== s && n.setAttribute("nonce", s), n.textContent = t.cssText, e.appendChild(n);
645
630
  });
646
631
  },
647
- S = t ? t => t : t => t instanceof CSSStyleSheet ? (t => {
632
+ S$1 = t$1 ? t => t : t => t instanceof CSSStyleSheet ? (t => {
648
633
  let e = "";
649
634
  for (const n of t.cssRules) e += n.cssText;
650
- return o$2(e);
635
+ return o$3(e);
651
636
  })(t) : t;
652
637
 
653
638
  /**
@@ -655,15 +640,15 @@
655
640
  * Copyright 2017 Google LLC
656
641
  * SPDX-License-Identifier: BSD-3-Clause
657
642
  */
658
- var s$1;
659
- const e = window.trustedTypes,
660
- r = e ? e.emptyScript : "",
661
- h = window.reactiveElementPolyfillSupport,
662
- o$1 = {
643
+ var s$2;
644
+ const e$1 = window.trustedTypes,
645
+ r$1 = e$1 ? e$1.emptyScript : "",
646
+ h$1 = window.reactiveElementPolyfillSupport,
647
+ o$2 = {
663
648
  toAttribute(t, i) {
664
649
  switch (i) {
665
650
  case Boolean:
666
- t = t ? r : null;
651
+ t = t ? r$1 : null;
667
652
  break;
668
653
  case Object:
669
654
  case Array:
@@ -691,15 +676,15 @@
691
676
  return s;
692
677
  }
693
678
  },
694
- n$1 = (t, i) => i !== t && (i == i || t == t),
695
- l$2 = {
679
+ n$2 = (t, i) => i !== t && (i == i || t == t),
680
+ l$3 = {
696
681
  attribute: !0,
697
682
  type: String,
698
- converter: o$1,
683
+ converter: o$2,
699
684
  reflect: !1,
700
- hasChanged: n$1
685
+ hasChanged: n$2
701
686
  };
702
- class a extends HTMLElement {
687
+ let a$1 = class a extends HTMLElement {
703
688
  constructor() {
704
689
  super(), this._$Et = new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$Ei = null, this.o();
705
690
  }
@@ -715,7 +700,7 @@
715
700
  void 0 !== e && (this._$Eu.set(e, s), t.push(e));
716
701
  }), t;
717
702
  }
718
- static createProperty(t, i = l$2) {
703
+ static createProperty(t, i = l$3) {
719
704
  if (i.state && (i.attribute = !1), this.finalize(), this.elementProperties.set(t, i), !i.noAccessor && !this.prototype.hasOwnProperty(t)) {
720
705
  const s = "symbol" == typeof t ? Symbol() : "__" + t,
721
706
  e = this.getPropertyDescriptor(t, s, i);
@@ -736,7 +721,7 @@
736
721
  };
737
722
  }
738
723
  static getPropertyOptions(t) {
739
- return this.elementProperties.get(t) || l$2;
724
+ return this.elementProperties.get(t) || l$3;
740
725
  }
741
726
  static finalize() {
742
727
  if (this.hasOwnProperty("finalized")) return !1;
@@ -753,8 +738,8 @@
753
738
  const s = [];
754
739
  if (Array.isArray(i)) {
755
740
  const e = new Set(i.flat(1 / 0).reverse());
756
- for (const i of e) s.unshift(S(i));
757
- } else void 0 !== i && s.push(S(i));
741
+ for (const i of e) s.unshift(S$1(i));
742
+ } else void 0 !== i && s.push(S$1(i));
758
743
  return s;
759
744
  }
760
745
  static _$Eh(t, i) {
@@ -781,7 +766,7 @@
781
766
  createRenderRoot() {
782
767
  var t;
783
768
  const s = null !== (t = this.shadowRoot) && void 0 !== t ? t : this.attachShadow(this.constructor.shadowRootOptions);
784
- return i(s, this.constructor.elementStyles), s;
769
+ return i$1(s, this.constructor.elementStyles), s;
785
770
  }
786
771
  connectedCallback() {
787
772
  var t;
@@ -801,11 +786,11 @@
801
786
  attributeChangedCallback(t, i, s) {
802
787
  this._$AK(t, s);
803
788
  }
804
- _$ES(t, i, s = l$2) {
789
+ _$ES(t, i, s = l$3) {
805
790
  var e, r;
806
791
  const h = this.constructor._$Eh(t, s);
807
792
  if (void 0 !== h && !0 === s.reflect) {
808
- const n = (null !== (r = null === (e = s.converter) || void 0 === e ? void 0 : e.toAttribute) && void 0 !== r ? r : o$1.toAttribute)(i, s.type);
793
+ const n = (null !== (r = null === (e = s.converter) || void 0 === e ? void 0 : e.toAttribute) && void 0 !== r ? r : o$2.toAttribute)(i, s.type);
809
794
  this._$Ei = t, null == n ? this.removeAttribute(h) : this.setAttribute(h, n), this._$Ei = null;
810
795
  }
811
796
  }
@@ -816,13 +801,13 @@
816
801
  if (void 0 !== n && this._$Ei !== n) {
817
802
  const t = h.getPropertyOptions(n),
818
803
  l = t.converter,
819
- a = null !== (r = null !== (e = null === (s = l) || void 0 === s ? void 0 : s.fromAttribute) && void 0 !== e ? e : "function" == typeof l ? l : null) && void 0 !== r ? r : o$1.fromAttribute;
804
+ a = null !== (r = null !== (e = null === (s = l) || void 0 === s ? void 0 : s.fromAttribute) && void 0 !== e ? e : "function" == typeof l ? l : null) && void 0 !== r ? r : o$2.fromAttribute;
820
805
  this._$Ei = n, this[n] = a(i, t.type), this._$Ei = null;
821
806
  }
822
807
  }
823
808
  requestUpdate(t, i, s) {
824
809
  let e = !0;
825
- void 0 !== t && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || n$1)(this[t], i) ? (this._$AL.has(t) || this._$AL.set(t, i), !0 === s.reflect && this._$Ei !== t && (void 0 === this._$EC && (this._$EC = new Map()), this._$EC.set(t, s))) : e = !1), !this.isUpdatePending && e && (this._$Ep = this._$E_());
810
+ void 0 !== t && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || n$2)(this[t], i) ? (this._$AL.has(t) || this._$AL.set(t, i), !0 === s.reflect && this._$Ei !== t && (void 0 === this._$EC && (this._$EC = new Map()), this._$EC.set(t, s))) : e = !1), !this.isUpdatePending && e && (this._$Ep = this._$E_());
826
811
  }
827
812
  async _$E_() {
828
813
  this.isUpdatePending = !0;
@@ -878,12 +863,337 @@
878
863
  }
879
864
  updated(t) {}
880
865
  firstUpdated(t) {}
881
- }
882
- a.finalized = !0, a.elementProperties = new Map(), a.elementStyles = [], a.shadowRootOptions = {
866
+ };
867
+ a$1.finalized = !0, a$1.elementProperties = new Map(), a$1.elementStyles = [], a$1.shadowRootOptions = {
883
868
  mode: "open"
884
- }, null == h || h({
885
- ReactiveElement: a
886
- }), (null !== (s$1 = globalThis.reactiveElementVersions) && void 0 !== s$1 ? s$1 : globalThis.reactiveElementVersions = []).push("1.3.1");
869
+ }, null == h$1 || h$1({
870
+ ReactiveElement: a$1
871
+ }), (null !== (s$2 = globalThis.reactiveElementVersions) && void 0 !== s$2 ? s$2 : globalThis.reactiveElementVersions = []).push("1.3.1");
872
+
873
+ /**
874
+ * @license
875
+ * Copyright 2017 Google LLC
876
+ * SPDX-License-Identifier: BSD-3-Clause
877
+ */
878
+ var t;
879
+ const i = window,
880
+ s$1 = i.trustedTypes,
881
+ e = s$1 ? s$1.createPolicy("lit-html", {
882
+ createHTML: t => t
883
+ }) : void 0,
884
+ o$1 = "$lit$",
885
+ n$1 = `lit$${(Math.random() + "").slice(9)}$`,
886
+ l$2 = "?" + n$1,
887
+ h = `<${l$2}>`,
888
+ r = document,
889
+ d = () => r.createComment(""),
890
+ u = t => null === t || "object" != typeof t && "function" != typeof t,
891
+ c = Array.isArray,
892
+ v = t => c(t) || "function" == typeof (null == t ? void 0 : t[Symbol.iterator]),
893
+ a = "[ \t\n\f\r]",
894
+ f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
895
+ _ = /-->/g,
896
+ m = />/g,
897
+ p = RegExp(`>|${a}(?:([^\\s"'>=/]+)(${a}*=${a}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"),
898
+ g = /'/g,
899
+ $ = /"/g,
900
+ y = /^(?:script|style|textarea|title)$/i,
901
+ w = t => (i, ...s) => ({
902
+ _$litType$: t,
903
+ strings: i,
904
+ values: s
905
+ }),
906
+ x = w(1),
907
+ b = w(2),
908
+ T = Symbol.for("lit-noChange"),
909
+ A = Symbol.for("lit-nothing"),
910
+ E = new WeakMap(),
911
+ C = r.createTreeWalker(r, 129, null, !1),
912
+ P = (t, i) => {
913
+ const s = t.length - 1,
914
+ l = [];
915
+ let r,
916
+ d = 2 === i ? "<svg>" : "",
917
+ u = f;
918
+ for (let i = 0; i < s; i++) {
919
+ const s = t[i];
920
+ let e,
921
+ c,
922
+ v = -1,
923
+ a = 0;
924
+ for (; a < s.length && (u.lastIndex = a, c = u.exec(s), null !== c);) a = u.lastIndex, u === f ? "!--" === c[1] ? u = _ : void 0 !== c[1] ? u = m : void 0 !== c[2] ? (y.test(c[2]) && (r = RegExp("</" + c[2], "g")), u = p) : void 0 !== c[3] && (u = p) : u === p ? ">" === c[0] ? (u = null != r ? r : f, v = -1) : void 0 === c[1] ? v = -2 : (v = u.lastIndex - c[2].length, e = c[1], u = void 0 === c[3] ? p : '"' === c[3] ? $ : g) : u === $ || u === g ? u = p : u === _ || u === m ? u = f : (u = p, r = void 0);
925
+ const w = u === p && t[i + 1].startsWith("/>") ? " " : "";
926
+ d += u === f ? s + h : v >= 0 ? (l.push(e), s.slice(0, v) + o$1 + s.slice(v) + n$1 + w) : s + n$1 + (-2 === v ? (l.push(void 0), i) : w);
927
+ }
928
+ const c = d + (t[s] || "<?>") + (2 === i ? "</svg>" : "");
929
+ if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
930
+ return [void 0 !== e ? e.createHTML(c) : c, l];
931
+ };
932
+ class V {
933
+ constructor({
934
+ strings: t,
935
+ _$litType$: i
936
+ }, e) {
937
+ let h;
938
+ this.parts = [];
939
+ let r = 0,
940
+ u = 0;
941
+ const c = t.length - 1,
942
+ v = this.parts,
943
+ [a, f] = P(t, i);
944
+ if (this.el = V.createElement(a, e), C.currentNode = this.el.content, 2 === i) {
945
+ const t = this.el.content,
946
+ i = t.firstChild;
947
+ i.remove(), t.append(...i.childNodes);
948
+ }
949
+ for (; null !== (h = C.nextNode()) && v.length < c;) {
950
+ if (1 === h.nodeType) {
951
+ if (h.hasAttributes()) {
952
+ const t = [];
953
+ for (const i of h.getAttributeNames()) if (i.endsWith(o$1) || i.startsWith(n$1)) {
954
+ const s = f[u++];
955
+ if (t.push(i), void 0 !== s) {
956
+ const t = h.getAttribute(s.toLowerCase() + o$1).split(n$1),
957
+ i = /([.?@])?(.*)/.exec(s);
958
+ v.push({
959
+ type: 1,
960
+ index: r,
961
+ name: i[2],
962
+ strings: t,
963
+ ctor: "." === i[1] ? k : "?" === i[1] ? I : "@" === i[1] ? L : R
964
+ });
965
+ } else v.push({
966
+ type: 6,
967
+ index: r
968
+ });
969
+ }
970
+ for (const i of t) h.removeAttribute(i);
971
+ }
972
+ if (y.test(h.tagName)) {
973
+ const t = h.textContent.split(n$1),
974
+ i = t.length - 1;
975
+ if (i > 0) {
976
+ h.textContent = s$1 ? s$1.emptyScript : "";
977
+ for (let s = 0; s < i; s++) h.append(t[s], d()), C.nextNode(), v.push({
978
+ type: 2,
979
+ index: ++r
980
+ });
981
+ h.append(t[i], d());
982
+ }
983
+ }
984
+ } else if (8 === h.nodeType) if (h.data === l$2) v.push({
985
+ type: 2,
986
+ index: r
987
+ });else {
988
+ let t = -1;
989
+ for (; -1 !== (t = h.data.indexOf(n$1, t + 1));) v.push({
990
+ type: 7,
991
+ index: r
992
+ }), t += n$1.length - 1;
993
+ }
994
+ r++;
995
+ }
996
+ }
997
+ static createElement(t, i) {
998
+ const s = r.createElement("template");
999
+ return s.innerHTML = t, s;
1000
+ }
1001
+ }
1002
+ function N(t, i, s = t, e) {
1003
+ var o, n, l, h;
1004
+ if (i === T) return i;
1005
+ let r = void 0 !== e ? null === (o = s._$Co) || void 0 === o ? void 0 : o[e] : s._$Cl;
1006
+ const d = u(i) ? void 0 : i._$litDirective$;
1007
+ return (null == r ? void 0 : r.constructor) !== d && (null === (n = null == r ? void 0 : r._$AO) || void 0 === n || n.call(r, !1), void 0 === d ? r = void 0 : (r = new d(t), r._$AT(t, s, e)), void 0 !== e ? (null !== (l = (h = s)._$Co) && void 0 !== l ? l : h._$Co = [])[e] = r : s._$Cl = r), void 0 !== r && (i = N(t, r._$AS(t, i.values), r, e)), i;
1008
+ }
1009
+ class S {
1010
+ constructor(t, i) {
1011
+ this.u = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
1012
+ }
1013
+ get parentNode() {
1014
+ return this._$AM.parentNode;
1015
+ }
1016
+ get _$AU() {
1017
+ return this._$AM._$AU;
1018
+ }
1019
+ v(t) {
1020
+ var i;
1021
+ const {
1022
+ el: {
1023
+ content: s
1024
+ },
1025
+ parts: e
1026
+ } = this._$AD,
1027
+ o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : r).importNode(s, !0);
1028
+ C.currentNode = o;
1029
+ let n = C.nextNode(),
1030
+ l = 0,
1031
+ h = 0,
1032
+ d = e[0];
1033
+ for (; void 0 !== d;) {
1034
+ if (l === d.index) {
1035
+ let i;
1036
+ 2 === d.type ? i = new M(n, n.nextSibling, this, t) : 1 === d.type ? i = new d.ctor(n, d.name, d.strings, this, t) : 6 === d.type && (i = new z(n, this, t)), this.u.push(i), d = e[++h];
1037
+ }
1038
+ l !== (null == d ? void 0 : d.index) && (n = C.nextNode(), l++);
1039
+ }
1040
+ return o;
1041
+ }
1042
+ p(t) {
1043
+ let i = 0;
1044
+ for (const s of this.u) void 0 !== s && (void 0 !== s.strings ? (s._$AI(t, s, i), i += s.strings.length - 2) : s._$AI(t[i])), i++;
1045
+ }
1046
+ }
1047
+ class M {
1048
+ constructor(t, i, s, e) {
1049
+ var o;
1050
+ this.type = 2, this._$AH = A, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cm = null === (o = null == e ? void 0 : e.isConnected) || void 0 === o || o;
1051
+ }
1052
+ get _$AU() {
1053
+ var t, i;
1054
+ return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cm;
1055
+ }
1056
+ get parentNode() {
1057
+ let t = this._$AA.parentNode;
1058
+ const i = this._$AM;
1059
+ return void 0 !== i && 11 === (null == t ? void 0 : t.nodeType) && (t = i.parentNode), t;
1060
+ }
1061
+ get startNode() {
1062
+ return this._$AA;
1063
+ }
1064
+ get endNode() {
1065
+ return this._$AB;
1066
+ }
1067
+ _$AI(t, i = this) {
1068
+ t = N(this, t, i), u(t) ? t === A || null == t || "" === t ? (this._$AH !== A && this._$AR(), this._$AH = A) : t !== this._$AH && t !== T && this.g(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : v(t) ? this.k(t) : this.g(t);
1069
+ }
1070
+ S(t) {
1071
+ return this._$AA.parentNode.insertBefore(t, this._$AB);
1072
+ }
1073
+ T(t) {
1074
+ this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
1075
+ }
1076
+ g(t) {
1077
+ this._$AH !== A && u(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r.createTextNode(t)), this._$AH = t;
1078
+ }
1079
+ $(t) {
1080
+ var i;
1081
+ const {
1082
+ values: s,
1083
+ _$litType$: e
1084
+ } = t,
1085
+ o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el = V.createElement(e.h, this.options)), e);
1086
+ if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.p(s);else {
1087
+ const t = new S(o, this),
1088
+ i = t.v(this.options);
1089
+ t.p(s), this.T(i), this._$AH = t;
1090
+ }
1091
+ }
1092
+ _$AC(t) {
1093
+ let i = E.get(t.strings);
1094
+ return void 0 === i && E.set(t.strings, i = new V(t)), i;
1095
+ }
1096
+ k(t) {
1097
+ c(this._$AH) || (this._$AH = [], this._$AR());
1098
+ const i = this._$AH;
1099
+ let s,
1100
+ e = 0;
1101
+ for (const o of t) e === i.length ? i.push(s = new M(this.S(d()), this.S(d()), this, this.options)) : s = i[e], s._$AI(o), e++;
1102
+ e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
1103
+ }
1104
+ _$AR(t = this._$AA.nextSibling, i) {
1105
+ var s;
1106
+ for (null === (s = this._$AP) || void 0 === s || s.call(this, !1, !0, i); t && t !== this._$AB;) {
1107
+ const i = t.nextSibling;
1108
+ t.remove(), t = i;
1109
+ }
1110
+ }
1111
+ setConnected(t) {
1112
+ var i;
1113
+ void 0 === this._$AM && (this._$Cm = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
1114
+ }
1115
+ }
1116
+ class R {
1117
+ constructor(t, i, s, e, o) {
1118
+ this.type = 1, this._$AH = A, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = o, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = A;
1119
+ }
1120
+ get tagName() {
1121
+ return this.element.tagName;
1122
+ }
1123
+ get _$AU() {
1124
+ return this._$AM._$AU;
1125
+ }
1126
+ _$AI(t, i = this, s, e) {
1127
+ const o = this.strings;
1128
+ let n = !1;
1129
+ if (void 0 === o) t = N(this, t, i, 0), n = !u(t) || t !== this._$AH && t !== T, n && (this._$AH = t);else {
1130
+ const e = t;
1131
+ let l, h;
1132
+ for (t = o[0], l = 0; l < o.length - 1; l++) h = N(this, e[s + l], i, l), h === T && (h = this._$AH[l]), n || (n = !u(h) || h !== this._$AH[l]), h === A ? t = A : t !== A && (t += (null != h ? h : "") + o[l + 1]), this._$AH[l] = h;
1133
+ }
1134
+ n && !e && this.j(t);
1135
+ }
1136
+ j(t) {
1137
+ t === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
1138
+ }
1139
+ }
1140
+ class k extends R {
1141
+ constructor() {
1142
+ super(...arguments), this.type = 3;
1143
+ }
1144
+ j(t) {
1145
+ this.element[this.name] = t === A ? void 0 : t;
1146
+ }
1147
+ }
1148
+ const H = s$1 ? s$1.emptyScript : "";
1149
+ class I extends R {
1150
+ constructor() {
1151
+ super(...arguments), this.type = 4;
1152
+ }
1153
+ j(t) {
1154
+ t && t !== A ? this.element.setAttribute(this.name, H) : this.element.removeAttribute(this.name);
1155
+ }
1156
+ }
1157
+ class L extends R {
1158
+ constructor(t, i, s, e, o) {
1159
+ super(t, i, s, e, o), this.type = 5;
1160
+ }
1161
+ _$AI(t, i = this) {
1162
+ var s;
1163
+ if ((t = null !== (s = N(this, t, i, 0)) && void 0 !== s ? s : A) === T) return;
1164
+ const e = this._$AH,
1165
+ o = t === A && e !== A || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive,
1166
+ n = t !== A && (e === A || o);
1167
+ o && this.element.removeEventListener(this.name, this, e), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
1168
+ }
1169
+ handleEvent(t) {
1170
+ var i, s;
1171
+ "function" == typeof this._$AH ? this._$AH.call(null !== (s = null === (i = this.options) || void 0 === i ? void 0 : i.host) && void 0 !== s ? s : this.element, t) : this._$AH.handleEvent(t);
1172
+ }
1173
+ }
1174
+ class z {
1175
+ constructor(t, i, s) {
1176
+ this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
1177
+ }
1178
+ get _$AU() {
1179
+ return this._$AM._$AU;
1180
+ }
1181
+ _$AI(t) {
1182
+ N(this, t);
1183
+ }
1184
+ }
1185
+ const j = i.litHtmlPolyfillSupport;
1186
+ null == j || j(V, M), (null !== (t = i.litHtmlVersions) && void 0 !== t ? t : i.litHtmlVersions = []).push("2.7.0");
1187
+ const B = (t, i, s) => {
1188
+ var e, o;
1189
+ const n = null !== (e = null == s ? void 0 : s.renderBefore) && void 0 !== e ? e : i;
1190
+ let l = n._$litPart$;
1191
+ if (void 0 === l) {
1192
+ const t = null !== (o = null == s ? void 0 : s.renderBefore) && void 0 !== o ? o : null;
1193
+ n._$litPart$ = l = new M(i.insertBefore(d(), t), t, void 0, null != s ? s : {});
1194
+ }
1195
+ return l._$AI(t), l;
1196
+ };
887
1197
 
888
1198
  /**
889
1199
  * @license
@@ -891,7 +1201,7 @@
891
1201
  * SPDX-License-Identifier: BSD-3-Clause
892
1202
  */
893
1203
  var l$1, o;
894
- class s extends a {
1204
+ class s extends a$1 {
895
1205
  constructor() {
896
1206
  super(...arguments), this.renderOptions = {
897
1207
  host: this
@@ -3532,24 +3842,24 @@
3532
3842
  `;
3533
3843
  }
3534
3844
  static get styles() {
3535
- return r$1`
3845
+ return r$2`
3536
3846
  :host {
3537
- ---shadow-0: var(--shadow-0, ${o$2(this.cssBoxShadow(0))});
3538
- ---shadow-2: var(--shadow-2, ${o$2(this.cssBoxShadow(2))});
3539
- ---shadow-4: var(--shadow-4, ${o$2(this.cssBoxShadow(4))});
3540
- ---shadow-8: var(--shadow-8, ${o$2(this.cssBoxShadow(8))});
3541
-
3542
- ---color-background: var(--color-background, ${o$2(this.greys.white)});
3543
- ---color-border: var(--color-border, ${o$2(this.greys.light75)});
3544
- ---color-text: var(--color-text, ${o$2(this.greys.dark75)});
3545
- ---color-text-inverse: var(--color-text-inverse, ${o$2(this.greys.white)});
3546
- ---color-link: var(--color-link, ${o$2(this.greys.dark25)});
3547
- ---color-element-background: var(--color-element-background, ${o$2(this.greys.light75)});
3548
- ---color-element-disabled: var(--color-element-disabled, ${o$2(this.greys.light50)});
3549
- ---color-element-enabled: var(--color-element-enabled, ${o$2(this.greys.dark25)});
3550
- ---color-element-selected: var(--color-element-selected, ${o$2(this.greys.grey)});
3551
- ---color-element-border: var(--color-element-border, ${o$2(this.greys.dark50)});
3552
- ---color-element-emphasis: var(--color-element-emphasis, ${o$2(this.greys.dark75)});
3847
+ ---shadow-0: var(--shadow-0, ${o$3(this.cssBoxShadow(0))});
3848
+ ---shadow-2: var(--shadow-2, ${o$3(this.cssBoxShadow(2))});
3849
+ ---shadow-4: var(--shadow-4, ${o$3(this.cssBoxShadow(4))});
3850
+ ---shadow-8: var(--shadow-8, ${o$3(this.cssBoxShadow(8))});
3851
+
3852
+ ---color-background: var(--color-background, ${o$3(this.greys.white)});
3853
+ ---color-border: var(--color-border, ${o$3(this.greys.light75)});
3854
+ ---color-text: var(--color-text, ${o$3(this.greys.dark75)});
3855
+ ---color-text-inverse: var(--color-text-inverse, ${o$3(this.greys.white)});
3856
+ ---color-link: var(--color-link, ${o$3(this.greys.dark25)});
3857
+ ---color-element-background: var(--color-element-background, ${o$3(this.greys.light75)});
3858
+ ---color-element-disabled: var(--color-element-disabled, ${o$3(this.greys.light50)});
3859
+ ---color-element-enabled: var(--color-element-enabled, ${o$3(this.greys.dark25)});
3860
+ ---color-element-selected: var(--color-element-selected, ${o$3(this.greys.grey)});
3861
+ ---color-element-border: var(--color-element-border, ${o$3(this.greys.dark50)});
3862
+ ---color-element-emphasis: var(--color-element-emphasis, ${o$3(this.greys.dark75)});
3553
3863
 
3554
3864
  ---font-family-base: var(--font-family-base, "Source Sans", sans-serif);
3555
3865
  ---font-family-math: var(--font-family-math, "Source Serif", serif);
@@ -3610,7 +3920,7 @@
3610
3920
  this.disabled = false;
3611
3921
  }
3612
3922
  static get styles() {
3613
- return [super.styles, r$1`
3923
+ return [super.styles, r$2`
3614
3924
  :host {
3615
3925
  margin: 0.25rem;
3616
3926
  }
@@ -3680,7 +3990,7 @@
3680
3990
  * Copyright 2018 Google LLC
3681
3991
  * SPDX-License-Identifier: BSD-3-Clause
3682
3992
  */
3683
- const l = l => null != l ? l : A;
3993
+ const l = l => null != l ? l : A$1;
3684
3994
 
3685
3995
  class DecidablesSlider extends DecidablesElement {
3686
3996
  static get properties() {
@@ -3735,11 +4045,11 @@
3735
4045
  this.value = event.target.value;
3736
4046
  }
3737
4047
  static get styles() {
3738
- return [super.styles, r$1`
4048
+ return [super.styles, r$2`
3739
4049
  :host {
3740
- ---shadow-2-rotate: var(--shadow-2-rotate, ${o$2(this.cssBoxShadow(2, true, false))});
3741
- ---shadow-4-rotate: var(--shadow-4-rotate, ${o$2(this.cssBoxShadow(4, true, false))});
3742
- ---shadow-8-rotate: var(--shadow-8-rotate, ${o$2(this.cssBoxShadow(8, true, false))});
4050
+ ---shadow-2-rotate: var(--shadow-2-rotate, ${o$3(this.cssBoxShadow(2, true, false))});
4051
+ ---shadow-4-rotate: var(--shadow-4-rotate, ${o$3(this.cssBoxShadow(4, true, false))});
4052
+ ---shadow-8-rotate: var(--shadow-8-rotate, ${o$3(this.cssBoxShadow(8, true, false))});
3743
4053
 
3744
4054
  display: flex;
3745
4055
 
@@ -4045,7 +4355,7 @@
4045
4355
  this.value = event.target.value;
4046
4356
  }
4047
4357
  static get styles() {
4048
- return [super.styles, r$1`
4358
+ return [super.styles, r$2`
4049
4359
  :host {
4050
4360
  ---decidables-spinner-font-size: var(--decidables-spinner-font-size, 1.125rem);
4051
4361
  ---decidables-spinner-input-width: var(--decidables-spinner-input-width, 4rem);
@@ -4169,7 +4479,7 @@
4169
4479
  }));
4170
4480
  }
4171
4481
  static get styles() {
4172
- return [super.styles, r$1`
4482
+ return [super.styles, r$2`
4173
4483
  :host {
4174
4484
  display: flex;
4175
4485
 
@@ -4321,7 +4631,7 @@
4321
4631
  this.disabled = false;
4322
4632
  }
4323
4633
  static get styles() {
4324
- return [super.styles, r$1`
4634
+ return [super.styles, r$2`
4325
4635
  fieldset {
4326
4636
  display: flex;
4327
4637
 
@@ -4396,7 +4706,7 @@
4396
4706
  }));
4397
4707
  }
4398
4708
  static get styles() {
4399
- return [super.styles, r$1`
4709
+ return [super.styles, r$2`
4400
4710
  :host {
4401
4711
  display: flex;
4402
4712
  }