@decidables/decidables-elements 0.3.3 → 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.
@@ -274,7 +274,7 @@ d$2.finalized = !0, d$2.elementProperties = new Map(), d$2.elementStyles = [], d
274
274
  mode: "open"
275
275
  }, null == o$5 || o$5({
276
276
  ReactiveElement: d$2
277
- }), (null !== (s$5 = e$4.reactiveElementVersions) && void 0 !== s$5 ? s$5 : e$4.reactiveElementVersions = []).push("1.5.0");
277
+ }), (null !== (s$5 = e$4.reactiveElementVersions) && void 0 !== s$5 ? s$5 : e$4.reactiveElementVersions = []).push("1.6.1");
278
278
 
279
279
  /**
280
280
  * @license
@@ -287,125 +287,129 @@ const i$2 = window,
287
287
  e$3 = s$4 ? s$4.createPolicy("lit-html", {
288
288
  createHTML: t => t
289
289
  }) : void 0,
290
- o$4 = `lit$${(Math.random() + "").slice(9)}$`,
291
- n$4 = "?" + o$4,
292
- l$4 = `<${n$4}>`,
293
- h$2 = document,
294
- r$3 = (t = "") => h$2.createComment(t),
290
+ o$4 = "$lit$",
291
+ n$4 = `lit$${(Math.random() + "").slice(9)}$`,
292
+ l$4 = "?" + n$4,
293
+ h$2 = `<${l$4}>`,
294
+ r$3 = document,
295
+ u$1 = () => r$3.createComment(""),
295
296
  d$1 = t => null === t || "object" != typeof t && "function" != typeof t,
296
- u$1 = Array.isArray,
297
- c$1 = t => u$1(t) || "function" == typeof (null == t ? void 0 : t[Symbol.iterator]),
298
- v$1 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
299
- a$2 = /-->/g,
300
- f$1 = />/g,
301
- _$1 = RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)", "g"),
302
- m$1 = /'/g,
303
- p$1 = /"/g,
304
- $$1 = /^(?:script|style|textarea|title)$/i,
305
- x$1 = Symbol.for("lit-noChange"),
306
- b$1 = Symbol.for("lit-nothing"),
307
- T$1 = new WeakMap(),
308
- A$1 = h$2.createTreeWalker(h$2, 129, null, !1),
309
- E$1 = (t, i) => {
310
- const s = t.length - 1,
311
- n = [];
312
- let h,
313
- r = 2 === i ? "<svg>" : "",
314
- d = v$1;
315
- for (let i = 0; i < s; i++) {
316
- const s = t[i];
317
- let e,
318
- u,
319
- c = -1,
320
- g = 0;
321
- for (; g < s.length && (d.lastIndex = g, u = d.exec(s), null !== u);) g = d.lastIndex, d === v$1 ? "!--" === u[1] ? d = a$2 : void 0 !== u[1] ? d = f$1 : void 0 !== u[2] ? ($$1.test(u[2]) && (h = RegExp("</" + u[2], "g")), d = _$1) : void 0 !== u[3] && (d = _$1) : d === _$1 ? ">" === u[0] ? (d = null != h ? h : v$1, c = -1) : void 0 === u[1] ? c = -2 : (c = d.lastIndex - u[2].length, e = u[1], d = void 0 === u[3] ? _$1 : '"' === u[3] ? p$1 : m$1) : d === p$1 || d === m$1 ? d = _$1 : d === a$2 || d === f$1 ? d = v$1 : (d = _$1, h = void 0);
322
- const y = d === _$1 && t[i + 1].startsWith("/>") ? " " : "";
323
- r += d === v$1 ? s + l$4 : c >= 0 ? (n.push(e), s.slice(0, c) + "$lit$" + s.slice(c) + o$4 + y) : s + o$4 + (-2 === c ? (n.push(void 0), i) : y);
324
- }
325
- const u = r + (t[s] || "<?>") + (2 === i ? "</svg>" : "");
326
- if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
327
- return [void 0 !== e$3 ? e$3.createHTML(u) : u, n];
328
- };
329
- let C$1 = class C {
297
+ c$1 = Array.isArray,
298
+ v$1 = t => c$1(t) || "function" == typeof (null == t ? void 0 : t[Symbol.iterator]),
299
+ a$2 = "[ \t\n\f\r]",
300
+ f$1 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
301
+ _$1 = /-->/g,
302
+ m$1 = />/g,
303
+ p$1 = RegExp(`>|${a$2}(?:([^\\s"'>=/]+)(${a$2}*=${a$2}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"),
304
+ g$1 = /'/g,
305
+ $$1 = /"/g,
306
+ y$1 = /^(?:script|style|textarea|title)$/i,
307
+ T$1 = Symbol.for("lit-noChange"),
308
+ A$1 = Symbol.for("lit-nothing"),
309
+ E$1 = new WeakMap(),
310
+ C$1 = r$3.createTreeWalker(r$3, 129, null, !1);
311
+ function P$1(t, i) {
312
+ if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
313
+ return void 0 !== e$3 ? e$3.createHTML(i) : i;
314
+ }
315
+ const V$1 = (t, i) => {
316
+ const s = t.length - 1,
317
+ e = [];
318
+ let l,
319
+ r = 2 === i ? "<svg>" : "",
320
+ u = f$1;
321
+ for (let i = 0; i < s; i++) {
322
+ const s = t[i];
323
+ let d,
324
+ c,
325
+ v = -1,
326
+ a = 0;
327
+ 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);
328
+ const w = u === p$1 && t[i + 1].startsWith("/>") ? " " : "";
329
+ 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);
330
+ }
331
+ return [P$1(t, r + (t[s] || "<?>") + (2 === i ? "</svg>" : "")), e];
332
+ };
333
+ let N$1 = class N {
330
334
  constructor({
331
335
  strings: t,
332
336
  _$litType$: i
333
337
  }, e) {
334
- let l;
338
+ let h;
335
339
  this.parts = [];
336
- let h = 0,
340
+ let r = 0,
337
341
  d = 0;
338
- const u = t.length - 1,
339
- c = this.parts,
340
- [v, a] = E$1(t, i);
341
- if (this.el = C$1.createElement(v, e), A$1.currentNode = this.el.content, 2 === i) {
342
+ const c = t.length - 1,
343
+ v = this.parts,
344
+ [a, f] = V$1(t, i);
345
+ if (this.el = N.createElement(a, e), C$1.currentNode = this.el.content, 2 === i) {
342
346
  const t = this.el.content,
343
347
  i = t.firstChild;
344
348
  i.remove(), t.append(...i.childNodes);
345
349
  }
346
- for (; null !== (l = A$1.nextNode()) && c.length < u;) {
347
- if (1 === l.nodeType) {
348
- if (l.hasAttributes()) {
350
+ for (; null !== (h = C$1.nextNode()) && v.length < c;) {
351
+ if (1 === h.nodeType) {
352
+ if (h.hasAttributes()) {
349
353
  const t = [];
350
- for (const i of l.getAttributeNames()) if (i.endsWith("$lit$") || i.startsWith(o$4)) {
351
- const s = a[d++];
354
+ for (const i of h.getAttributeNames()) if (i.endsWith(o$4) || i.startsWith(n$4)) {
355
+ const s = f[d++];
352
356
  if (t.push(i), void 0 !== s) {
353
- const t = l.getAttribute(s.toLowerCase() + "$lit$").split(o$4),
357
+ const t = h.getAttribute(s.toLowerCase() + o$4).split(n$4),
354
358
  i = /([.?@])?(.*)/.exec(s);
355
- c.push({
359
+ v.push({
356
360
  type: 1,
357
- index: h,
361
+ index: r,
358
362
  name: i[2],
359
363
  strings: t,
360
- ctor: "." === i[1] ? M$1 : "?" === i[1] ? k$1 : "@" === i[1] ? H$1 : S$2
364
+ ctor: "." === i[1] ? H$1 : "?" === i[1] ? L$1 : "@" === i[1] ? z$1 : k$1
361
365
  });
362
- } else c.push({
366
+ } else v.push({
363
367
  type: 6,
364
- index: h
368
+ index: r
365
369
  });
366
370
  }
367
- for (const i of t) l.removeAttribute(i);
371
+ for (const i of t) h.removeAttribute(i);
368
372
  }
369
- if ($$1.test(l.tagName)) {
370
- const t = l.textContent.split(o$4),
373
+ if (y$1.test(h.tagName)) {
374
+ const t = h.textContent.split(n$4),
371
375
  i = t.length - 1;
372
376
  if (i > 0) {
373
- l.textContent = s$4 ? s$4.emptyScript : "";
374
- for (let s = 0; s < i; s++) l.append(t[s], r$3()), A$1.nextNode(), c.push({
377
+ h.textContent = s$4 ? s$4.emptyScript : "";
378
+ for (let s = 0; s < i; s++) h.append(t[s], u$1()), C$1.nextNode(), v.push({
375
379
  type: 2,
376
- index: ++h
380
+ index: ++r
377
381
  });
378
- l.append(t[i], r$3());
382
+ h.append(t[i], u$1());
379
383
  }
380
384
  }
381
- } else if (8 === l.nodeType) if (l.data === n$4) c.push({
385
+ } else if (8 === h.nodeType) if (h.data === l$4) v.push({
382
386
  type: 2,
383
- index: h
387
+ index: r
384
388
  });else {
385
389
  let t = -1;
386
- for (; -1 !== (t = l.data.indexOf(o$4, t + 1));) c.push({
390
+ for (; -1 !== (t = h.data.indexOf(n$4, t + 1));) v.push({
387
391
  type: 7,
388
- index: h
389
- }), t += o$4.length - 1;
392
+ index: r
393
+ }), t += n$4.length - 1;
390
394
  }
391
- h++;
395
+ r++;
392
396
  }
393
397
  }
394
398
  static createElement(t, i) {
395
- const s = h$2.createElement("template");
399
+ const s = r$3.createElement("template");
396
400
  return s.innerHTML = t, s;
397
401
  }
398
402
  };
399
- function P$1(t, i, s = t, e) {
403
+ function S$2(t, i, s = t, e) {
400
404
  var o, n, l, h;
401
- if (i === x$1) return i;
405
+ if (i === T$1) return i;
402
406
  let r = void 0 !== e ? null === (o = s._$Co) || void 0 === o ? void 0 : o[e] : s._$Cl;
403
407
  const u = d$1(i) ? void 0 : i._$litDirective$;
404
- 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 = P$1(t, r._$AS(t, i.values), r, e)), i;
408
+ 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;
405
409
  }
406
- let V$1 = class V {
410
+ let M$1 = class M {
407
411
  constructor(t, i) {
408
- this.u = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
412
+ this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
409
413
  }
410
414
  get parentNode() {
411
415
  return this._$AM.parentNode;
@@ -413,7 +417,7 @@ let V$1 = class V {
413
417
  get _$AU() {
414
418
  return this._$AM._$AU;
415
419
  }
416
- v(t) {
420
+ u(t) {
417
421
  var i;
418
422
  const {
419
423
  el: {
@@ -421,39 +425,39 @@ let V$1 = class V {
421
425
  },
422
426
  parts: e
423
427
  } = this._$AD,
424
- o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : h$2).importNode(s, !0);
425
- A$1.currentNode = o;
426
- let n = A$1.nextNode(),
428
+ o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : r$3).importNode(s, !0);
429
+ C$1.currentNode = o;
430
+ let n = C$1.nextNode(),
427
431
  l = 0,
428
- r = 0,
429
- d = e[0];
430
- for (; void 0 !== d;) {
431
- if (l === d.index) {
432
+ h = 0,
433
+ u = e[0];
434
+ for (; void 0 !== u;) {
435
+ if (l === u.index) {
432
436
  let i;
433
- 2 === d.type ? i = new N$1(n, n.nextSibling, this, t) : 1 === d.type ? i = new d.ctor(n, d.name, d.strings, this, t) : 6 === d.type && (i = new I$1(n, this, t)), this.u.push(i), d = e[++r];
437
+ 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];
434
438
  }
435
- l !== (null == d ? void 0 : d.index) && (n = A$1.nextNode(), l++);
439
+ l !== (null == u ? void 0 : u.index) && (n = C$1.nextNode(), l++);
436
440
  }
437
- return o;
441
+ return C$1.currentNode = r$3, o;
438
442
  }
439
- p(t) {
443
+ v(t) {
440
444
  let i = 0;
441
- 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++;
445
+ 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++;
442
446
  }
443
447
  };
444
- let N$1 = class N {
448
+ let R$1 = class R {
445
449
  constructor(t, i, s, e) {
446
450
  var o;
447
- this.type = 2, this._$AH = b$1, 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;
451
+ 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;
448
452
  }
449
453
  get _$AU() {
450
454
  var t, i;
451
- return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cm;
455
+ return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cp;
452
456
  }
453
457
  get parentNode() {
454
458
  let t = this._$AA.parentNode;
455
459
  const i = this._$AM;
456
- return void 0 !== i && 11 === t.nodeType && (t = i.parentNode), t;
460
+ return void 0 !== i && 11 === (null == t ? void 0 : t.nodeType) && (t = i.parentNode), t;
457
461
  }
458
462
  get startNode() {
459
463
  return this._$AA;
@@ -462,40 +466,40 @@ let N$1 = class N {
462
466
  return this._$AB;
463
467
  }
464
468
  _$AI(t, i = this) {
465
- t = P$1(this, t, i), d$1(t) ? t === b$1 || null == t || "" === t ? (this._$AH !== b$1 && this._$AR(), this._$AH = b$1) : t !== this._$AH && t !== x$1 && this.g(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : c$1(t) ? this.k(t) : this.g(t);
469
+ 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);
466
470
  }
467
- O(t, i = this._$AB) {
468
- return this._$AA.parentNode.insertBefore(t, i);
471
+ k(t) {
472
+ return this._$AA.parentNode.insertBefore(t, this._$AB);
469
473
  }
470
- T(t) {
471
- this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
474
+ $(t) {
475
+ this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
472
476
  }
473
- g(t) {
474
- this._$AH !== b$1 && d$1(this._$AH) ? this._$AA.nextSibling.data = t : this.T(h$2.createTextNode(t)), this._$AH = t;
477
+ _(t) {
478
+ this._$AH !== A$1 && d$1(this._$AH) ? this._$AA.nextSibling.data = t : this.$(r$3.createTextNode(t)), this._$AH = t;
475
479
  }
476
- $(t) {
480
+ g(t) {
477
481
  var i;
478
482
  const {
479
483
  values: s,
480
484
  _$litType$: e
481
485
  } = t,
482
- o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el = C$1.createElement(e.h, this.options)), e);
483
- if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.p(s);else {
484
- const t = new V$1(o, this),
485
- i = t.v(this.options);
486
- t.p(s), this.T(i), this._$AH = t;
486
+ 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);
487
+ if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.v(s);else {
488
+ const t = new M$1(o, this),
489
+ i = t.u(this.options);
490
+ t.v(s), this.$(i), this._$AH = t;
487
491
  }
488
492
  }
489
493
  _$AC(t) {
490
- let i = T$1.get(t.strings);
491
- return void 0 === i && T$1.set(t.strings, i = new C$1(t)), i;
494
+ let i = E$1.get(t.strings);
495
+ return void 0 === i && E$1.set(t.strings, i = new N$1(t)), i;
492
496
  }
493
- k(t) {
494
- u$1(this._$AH) || (this._$AH = [], this._$AR());
497
+ T(t) {
498
+ c$1(this._$AH) || (this._$AH = [], this._$AR());
495
499
  const i = this._$AH;
496
500
  let s,
497
501
  e = 0;
498
- for (const o of t) e === i.length ? i.push(s = new N$1(this.O(r$3()), this.O(r$3()), this, this.options)) : s = i[e], s._$AI(o), e++;
502
+ 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++;
499
503
  e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
500
504
  }
501
505
  _$AR(t = this._$AA.nextSibling, i) {
@@ -507,12 +511,12 @@ let N$1 = class N {
507
511
  }
508
512
  setConnected(t) {
509
513
  var i;
510
- void 0 === this._$AM && (this._$Cm = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
514
+ void 0 === this._$AM && (this._$Cp = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
511
515
  }
512
516
  };
513
- let S$2 = class S {
517
+ let k$1 = class k {
514
518
  constructor(t, i, s, e, o) {
515
- this.type = 1, this._$AH = b$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 = b$1;
519
+ 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;
516
520
  }
517
521
  get tagName() {
518
522
  return this.element.tagName;
@@ -523,44 +527,44 @@ let S$2 = class S {
523
527
  _$AI(t, i = this, s, e) {
524
528
  const o = this.strings;
525
529
  let n = !1;
526
- if (void 0 === o) t = P$1(this, t, i, 0), n = !d$1(t) || t !== this._$AH && t !== x$1, n && (this._$AH = t);else {
530
+ 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 {
527
531
  const e = t;
528
532
  let l, h;
529
- for (t = o[0], l = 0; l < o.length - 1; l++) h = P$1(this, e[s + l], i, l), h === x$1 && (h = this._$AH[l]), n || (n = !d$1(h) || h !== this._$AH[l]), h === b$1 ? t = b$1 : t !== b$1 && (t += (null != h ? h : "") + o[l + 1]), this._$AH[l] = h;
533
+ 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;
530
534
  }
531
535
  n && !e && this.j(t);
532
536
  }
533
537
  j(t) {
534
- t === b$1 ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
538
+ t === A$1 ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
535
539
  }
536
540
  };
537
- let M$1 = class M extends S$2 {
541
+ let H$1 = class H extends k$1 {
538
542
  constructor() {
539
543
  super(...arguments), this.type = 3;
540
544
  }
541
545
  j(t) {
542
- this.element[this.name] = t === b$1 ? void 0 : t;
546
+ this.element[this.name] = t === A$1 ? void 0 : t;
543
547
  }
544
548
  };
545
- const R = s$4 ? s$4.emptyScript : "";
546
- let k$1 = class k extends S$2 {
549
+ const I$1 = s$4 ? s$4.emptyScript : "";
550
+ let L$1 = class L extends k$1 {
547
551
  constructor() {
548
552
  super(...arguments), this.type = 4;
549
553
  }
550
554
  j(t) {
551
- t && t !== b$1 ? this.element.setAttribute(this.name, R) : this.element.removeAttribute(this.name);
555
+ t && t !== A$1 ? this.element.setAttribute(this.name, I$1) : this.element.removeAttribute(this.name);
552
556
  }
553
557
  };
554
- let H$1 = class H extends S$2 {
558
+ let z$1 = class z extends k$1 {
555
559
  constructor(t, i, s, e, o) {
556
560
  super(t, i, s, e, o), this.type = 5;
557
561
  }
558
562
  _$AI(t, i = this) {
559
563
  var s;
560
- if ((t = null !== (s = P$1(this, t, i, 0)) && void 0 !== s ? s : b$1) === x$1) return;
564
+ if ((t = null !== (s = S$2(this, t, i, 0)) && void 0 !== s ? s : A$1) === T$1) return;
561
565
  const e = this._$AH,
562
- o = t === b$1 && e !== b$1 || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive,
563
- n = t !== b$1 && (e === b$1 || o);
566
+ o = t === A$1 && e !== A$1 || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive,
567
+ n = t !== A$1 && (e === A$1 || o);
564
568
  o && this.element.removeEventListener(this.name, this, e), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
565
569
  }
566
570
  handleEvent(t) {
@@ -568,7 +572,7 @@ let H$1 = class H extends S$2 {
568
572
  "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);
569
573
  }
570
574
  };
571
- let I$1 = class I {
575
+ class Z {
572
576
  constructor(t, i, s) {
573
577
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
574
578
  }
@@ -576,11 +580,11 @@ let I$1 = class I {
576
580
  return this._$AM._$AU;
577
581
  }
578
582
  _$AI(t) {
579
- P$1(this, t);
583
+ S$2(this, t);
580
584
  }
581
- };
582
- const z$1 = i$2.litHtmlPolyfillSupport;
583
- null == z$1 || z$1(C$1, N$1), (null !== (t$2 = i$2.litHtmlVersions) && void 0 !== t$2 ? t$2 : i$2.litHtmlVersions = []).push("2.5.0");
585
+ }
586
+ const B$1 = i$2.litHtmlPolyfillSupport;
587
+ 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");
584
588
 
585
589
  /**
586
590
  * @license
@@ -866,149 +870,139 @@ a$1.finalized = !0, a$1.elementProperties = new Map(), a$1.elementStyles = [], a
866
870
  * SPDX-License-Identifier: BSD-3-Clause
867
871
  */
868
872
  var t;
869
- const i = globalThis.trustedTypes,
870
- s$1 = i ? i.createPolicy("lit-html", {
873
+ const i = window,
874
+ s$1 = i.trustedTypes,
875
+ e = s$1 ? s$1.createPolicy("lit-html", {
871
876
  createHTML: t => t
872
877
  }) : void 0,
873
- e = `lit$${(Math.random() + "").slice(9)}$`,
874
- o$1 = "?" + e,
875
- n$1 = `<${o$1}>`,
876
- l$2 = document,
877
- h = (t = "") => l$2.createComment(t),
878
- r = t => null === t || "object" != typeof t && "function" != typeof t,
879
- d = Array.isArray,
880
- u = t => {
881
- var i;
882
- return d(t) || "function" == typeof (null === (i = t) || void 0 === i ? void 0 : i[Symbol.iterator]);
883
- },
884
- c = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
885
- v = /-->/g,
886
- a = />/g,
887
- f = />|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,
888
- _ = /'/g,
889
- m = /"/g,
890
- g = /^(?:script|style|textarea|title)$/i,
891
- p = t => (i, ...s) => ({
878
+ o$1 = "$lit$",
879
+ n$1 = `lit$${(Math.random() + "").slice(9)}$`,
880
+ l$2 = "?" + n$1,
881
+ h = `<${l$2}>`,
882
+ r = document,
883
+ d = () => r.createComment(""),
884
+ u = t => null === t || "object" != typeof t && "function" != typeof t,
885
+ c = Array.isArray,
886
+ v = t => c(t) || "function" == typeof (null == t ? void 0 : t[Symbol.iterator]),
887
+ a = "[ \t\n\f\r]",
888
+ f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
889
+ _ = /-->/g,
890
+ m = />/g,
891
+ p = RegExp(`>|${a}(?:([^\\s"'>=/]+)(${a}*=${a}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"),
892
+ g = /'/g,
893
+ $ = /"/g,
894
+ y = /^(?:script|style|textarea|title)$/i,
895
+ w = t => (i, ...s) => ({
892
896
  _$litType$: t,
893
897
  strings: i,
894
898
  values: s
895
899
  }),
896
- $ = p(1),
897
- y = p(2),
898
- b = Symbol.for("lit-noChange"),
899
- w = Symbol.for("lit-nothing"),
900
- T = new WeakMap(),
901
- x = (t, i, s) => {
902
- var e, o;
903
- const n = null !== (e = null == s ? void 0 : s.renderBefore) && void 0 !== e ? e : i;
904
- let l = n._$litPart$;
905
- if (void 0 === l) {
906
- const t = null !== (o = null == s ? void 0 : s.renderBefore) && void 0 !== o ? o : null;
907
- n._$litPart$ = l = new N(i.insertBefore(h(), t), t, void 0, null != s ? s : {});
908
- }
909
- return l._$AI(t), l;
910
- },
911
- A = l$2.createTreeWalker(l$2, 129, null, !1),
912
- C = (t, i) => {
913
- const o = t.length - 1,
900
+ x = w(1),
901
+ b = w(2),
902
+ T = Symbol.for("lit-noChange"),
903
+ A = Symbol.for("lit-nothing"),
904
+ E = new WeakMap(),
905
+ C = r.createTreeWalker(r, 129, null, !1),
906
+ P = (t, i) => {
907
+ const s = t.length - 1,
914
908
  l = [];
915
- let h,
916
- r = 2 === i ? "<svg>" : "",
917
- d = c;
918
- for (let i = 0; i < o; i++) {
909
+ let r,
910
+ d = 2 === i ? "<svg>" : "",
911
+ u = f;
912
+ for (let i = 0; i < s; i++) {
919
913
  const s = t[i];
920
- let o,
921
- u,
922
- p = -1,
923
- $ = 0;
924
- for (; $ < s.length && (d.lastIndex = $, u = d.exec(s), null !== u);) $ = d.lastIndex, d === c ? "!--" === u[1] ? d = v : void 0 !== u[1] ? d = a : void 0 !== u[2] ? (g.test(u[2]) && (h = RegExp("</" + u[2], "g")), d = f) : void 0 !== u[3] && (d = f) : d === f ? ">" === u[0] ? (d = null != h ? h : c, p = -1) : void 0 === u[1] ? p = -2 : (p = d.lastIndex - u[2].length, o = u[1], d = void 0 === u[3] ? f : '"' === u[3] ? m : _) : d === m || d === _ ? d = f : d === v || d === a ? d = c : (d = f, h = void 0);
925
- const y = d === f && t[i + 1].startsWith("/>") ? " " : "";
926
- r += d === c ? s + n$1 : p >= 0 ? (l.push(o), s.slice(0, p) + "$lit$" + s.slice(p) + e + y) : s + e + (-2 === p ? (l.push(void 0), i) : y);
914
+ let e,
915
+ c,
916
+ v = -1,
917
+ a = 0;
918
+ 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);
919
+ const w = u === p && t[i + 1].startsWith("/>") ? " " : "";
920
+ 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
921
  }
928
- const u = r + (t[o] || "<?>") + (2 === i ? "</svg>" : "");
922
+ const c = d + (t[s] || "<?>") + (2 === i ? "</svg>" : "");
929
923
  if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
930
- return [void 0 !== s$1 ? s$1.createHTML(u) : u, l];
924
+ return [void 0 !== e ? e.createHTML(c) : c, l];
931
925
  };
932
- class E {
926
+ class V {
933
927
  constructor({
934
928
  strings: t,
935
- _$litType$: s
936
- }, n) {
937
- let l;
929
+ _$litType$: i
930
+ }, e) {
931
+ let h;
938
932
  this.parts = [];
939
933
  let r = 0,
940
- d = 0;
941
- const u = t.length - 1,
942
- c = this.parts,
943
- [v, a] = C(t, s);
944
- if (this.el = E.createElement(v, n), A.currentNode = this.el.content, 2 === s) {
934
+ u = 0;
935
+ const c = t.length - 1,
936
+ v = this.parts,
937
+ [a, f] = P(t, i);
938
+ if (this.el = V.createElement(a, e), C.currentNode = this.el.content, 2 === i) {
945
939
  const t = this.el.content,
946
940
  i = t.firstChild;
947
941
  i.remove(), t.append(...i.childNodes);
948
942
  }
949
- for (; null !== (l = A.nextNode()) && c.length < u;) {
950
- if (1 === l.nodeType) {
951
- if (l.hasAttributes()) {
943
+ for (; null !== (h = C.nextNode()) && v.length < c;) {
944
+ if (1 === h.nodeType) {
945
+ if (h.hasAttributes()) {
952
946
  const t = [];
953
- for (const i of l.getAttributeNames()) if (i.endsWith("$lit$") || i.startsWith(e)) {
954
- const s = a[d++];
947
+ for (const i of h.getAttributeNames()) if (i.endsWith(o$1) || i.startsWith(n$1)) {
948
+ const s = f[u++];
955
949
  if (t.push(i), void 0 !== s) {
956
- const t = l.getAttribute(s.toLowerCase() + "$lit$").split(e),
950
+ const t = h.getAttribute(s.toLowerCase() + o$1).split(n$1),
957
951
  i = /([.?@])?(.*)/.exec(s);
958
- c.push({
952
+ v.push({
959
953
  type: 1,
960
954
  index: r,
961
955
  name: i[2],
962
956
  strings: t,
963
- ctor: "." === i[1] ? M : "?" === i[1] ? H : "@" === i[1] ? I : S
957
+ ctor: "." === i[1] ? k : "?" === i[1] ? I : "@" === i[1] ? L : R
964
958
  });
965
- } else c.push({
959
+ } else v.push({
966
960
  type: 6,
967
961
  index: r
968
962
  });
969
963
  }
970
- for (const i of t) l.removeAttribute(i);
964
+ for (const i of t) h.removeAttribute(i);
971
965
  }
972
- if (g.test(l.tagName)) {
973
- const t = l.textContent.split(e),
974
- s = t.length - 1;
975
- if (s > 0) {
976
- l.textContent = i ? i.emptyScript : "";
977
- for (let i = 0; i < s; i++) l.append(t[i], h()), A.nextNode(), c.push({
966
+ if (y.test(h.tagName)) {
967
+ const t = h.textContent.split(n$1),
968
+ i = t.length - 1;
969
+ if (i > 0) {
970
+ h.textContent = s$1 ? s$1.emptyScript : "";
971
+ for (let s = 0; s < i; s++) h.append(t[s], d()), C.nextNode(), v.push({
978
972
  type: 2,
979
973
  index: ++r
980
974
  });
981
- l.append(t[s], h());
975
+ h.append(t[i], d());
982
976
  }
983
977
  }
984
- } else if (8 === l.nodeType) if (l.data === o$1) c.push({
978
+ } else if (8 === h.nodeType) if (h.data === l$2) v.push({
985
979
  type: 2,
986
980
  index: r
987
981
  });else {
988
982
  let t = -1;
989
- for (; -1 !== (t = l.data.indexOf(e, t + 1));) c.push({
983
+ for (; -1 !== (t = h.data.indexOf(n$1, t + 1));) v.push({
990
984
  type: 7,
991
985
  index: r
992
- }), t += e.length - 1;
986
+ }), t += n$1.length - 1;
993
987
  }
994
988
  r++;
995
989
  }
996
990
  }
997
991
  static createElement(t, i) {
998
- const s = l$2.createElement("template");
992
+ const s = r.createElement("template");
999
993
  return s.innerHTML = t, s;
1000
994
  }
1001
995
  }
1002
- function P(t, i, s = t, e) {
996
+ function N(t, i, s = t, e) {
1003
997
  var o, n, l, h;
1004
- if (i === b) return i;
1005
- let d = void 0 !== e ? null === (o = s._$Cl) || void 0 === o ? void 0 : o[e] : s._$Cu;
1006
- const u = r(i) ? void 0 : i._$litDirective$;
1007
- return (null == d ? void 0 : d.constructor) !== u && (null === (n = null == d ? void 0 : d._$AO) || void 0 === n || n.call(d, !1), void 0 === u ? d = void 0 : (d = new u(t), d._$AT(t, s, e)), void 0 !== e ? (null !== (l = (h = s)._$Cl) && void 0 !== l ? l : h._$Cl = [])[e] = d : s._$Cu = d), void 0 !== d && (i = P(t, d._$AS(t, i.values), d, e)), i;
998
+ if (i === T) return i;
999
+ let r = void 0 !== e ? null === (o = s._$Co) || void 0 === o ? void 0 : o[e] : s._$Cl;
1000
+ const d = u(i) ? void 0 : i._$litDirective$;
1001
+ 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
1002
  }
1009
- class V {
1003
+ class S {
1010
1004
  constructor(t, i) {
1011
- this.v = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
1005
+ this.u = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
1012
1006
  }
1013
1007
  get parentNode() {
1014
1008
  return this._$AM.parentNode;
@@ -1016,7 +1010,7 @@ class V {
1016
1010
  get _$AU() {
1017
1011
  return this._$AM._$AU;
1018
1012
  }
1019
- p(t) {
1013
+ v(t) {
1020
1014
  var i;
1021
1015
  const {
1022
1016
  el: {
@@ -1024,39 +1018,39 @@ class V {
1024
1018
  },
1025
1019
  parts: e
1026
1020
  } = this._$AD,
1027
- o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : l$2).importNode(s, !0);
1028
- A.currentNode = o;
1029
- let n = A.nextNode(),
1021
+ o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : r).importNode(s, !0);
1022
+ C.currentNode = o;
1023
+ let n = C.nextNode(),
1024
+ l = 0,
1030
1025
  h = 0,
1031
- r = 0,
1032
1026
  d = e[0];
1033
1027
  for (; void 0 !== d;) {
1034
- if (h === d.index) {
1028
+ if (l === d.index) {
1035
1029
  let i;
1036
- 2 === d.type ? i = new N(n, n.nextSibling, this, t) : 1 === d.type ? i = new d.ctor(n, d.name, d.strings, this, t) : 6 === d.type && (i = new L(n, this, t)), this.v.push(i), d = e[++r];
1030
+ 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
1031
  }
1038
- h !== (null == d ? void 0 : d.index) && (n = A.nextNode(), h++);
1032
+ l !== (null == d ? void 0 : d.index) && (n = C.nextNode(), l++);
1039
1033
  }
1040
1034
  return o;
1041
1035
  }
1042
- m(t) {
1036
+ p(t) {
1043
1037
  let i = 0;
1044
- for (const s of this.v) void 0 !== s && (void 0 !== s.strings ? (s._$AI(t, s, i), i += s.strings.length - 2) : s._$AI(t[i])), i++;
1038
+ 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
1039
  }
1046
1040
  }
1047
- class N {
1041
+ class M {
1048
1042
  constructor(t, i, s, e) {
1049
1043
  var o;
1050
- this.type = 2, this._$AH = w, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cg = null === (o = null == e ? void 0 : e.isConnected) || void 0 === o || o;
1044
+ 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
1045
  }
1052
1046
  get _$AU() {
1053
1047
  var t, i;
1054
- return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cg;
1048
+ return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cm;
1055
1049
  }
1056
1050
  get parentNode() {
1057
1051
  let t = this._$AA.parentNode;
1058
1052
  const i = this._$AM;
1059
- return void 0 !== i && 11 === t.nodeType && (t = i.parentNode), t;
1053
+ return void 0 !== i && 11 === (null == t ? void 0 : t.nodeType) && (t = i.parentNode), t;
1060
1054
  }
1061
1055
  get startNode() {
1062
1056
  return this._$AA;
@@ -1065,40 +1059,40 @@ class N {
1065
1059
  return this._$AB;
1066
1060
  }
1067
1061
  _$AI(t, i = this) {
1068
- t = P(this, t, i), r(t) ? t === w || null == t || "" === t ? (this._$AH !== w && this._$AR(), this._$AH = w) : t !== this._$AH && t !== b && this.$(t) : void 0 !== t._$litType$ ? this.T(t) : void 0 !== t.nodeType ? this.k(t) : u(t) ? this.S(t) : this.$(t);
1062
+ 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
1063
  }
1070
- A(t, i = this._$AB) {
1071
- return this._$AA.parentNode.insertBefore(t, i);
1064
+ S(t) {
1065
+ return this._$AA.parentNode.insertBefore(t, this._$AB);
1072
1066
  }
1073
- k(t) {
1074
- this._$AH !== t && (this._$AR(), this._$AH = this.A(t));
1067
+ T(t) {
1068
+ this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
1075
1069
  }
1076
- $(t) {
1077
- this._$AH !== w && r(this._$AH) ? this._$AA.nextSibling.data = t : this.k(l$2.createTextNode(t)), this._$AH = t;
1070
+ g(t) {
1071
+ this._$AH !== A && u(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r.createTextNode(t)), this._$AH = t;
1078
1072
  }
1079
- T(t) {
1073
+ $(t) {
1080
1074
  var i;
1081
1075
  const {
1082
1076
  values: s,
1083
1077
  _$litType$: e
1084
1078
  } = t,
1085
- o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el = E.createElement(e.h, this.options)), e);
1086
- if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.m(s);else {
1087
- const t = new V(o, this),
1088
- i = t.p(this.options);
1089
- t.m(s), this.k(i), this._$AH = t;
1079
+ o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el = V.createElement(e.h, this.options)), e);
1080
+ if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.p(s);else {
1081
+ const t = new S(o, this),
1082
+ i = t.v(this.options);
1083
+ t.p(s), this.T(i), this._$AH = t;
1090
1084
  }
1091
1085
  }
1092
1086
  _$AC(t) {
1093
- let i = T.get(t.strings);
1094
- return void 0 === i && T.set(t.strings, i = new E(t)), i;
1087
+ let i = E.get(t.strings);
1088
+ return void 0 === i && E.set(t.strings, i = new V(t)), i;
1095
1089
  }
1096
- S(t) {
1097
- d(this._$AH) || (this._$AH = [], this._$AR());
1090
+ k(t) {
1091
+ c(this._$AH) || (this._$AH = [], this._$AR());
1098
1092
  const i = this._$AH;
1099
1093
  let s,
1100
1094
  e = 0;
1101
- for (const o of t) e === i.length ? i.push(s = new N(this.A(h()), this.A(h()), this, this.options)) : s = i[e], s._$AI(o), e++;
1095
+ 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
1096
  e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
1103
1097
  }
1104
1098
  _$AR(t = this._$AA.nextSibling, i) {
@@ -1110,12 +1104,12 @@ class N {
1110
1104
  }
1111
1105
  setConnected(t) {
1112
1106
  var i;
1113
- void 0 === this._$AM && (this._$Cg = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
1107
+ void 0 === this._$AM && (this._$Cm = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
1114
1108
  }
1115
1109
  }
1116
- class S {
1110
+ class R {
1117
1111
  constructor(t, i, s, e, o) {
1118
- this.type = 1, this._$AH = w, 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 = w;
1112
+ 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
1113
  }
1120
1114
  get tagName() {
1121
1115
  return this.element.tagName;
@@ -1126,44 +1120,44 @@ class S {
1126
1120
  _$AI(t, i = this, s, e) {
1127
1121
  const o = this.strings;
1128
1122
  let n = !1;
1129
- if (void 0 === o) t = P(this, t, i, 0), n = !r(t) || t !== this._$AH && t !== b, n && (this._$AH = t);else {
1123
+ if (void 0 === o) t = N(this, t, i, 0), n = !u(t) || t !== this._$AH && t !== T, n && (this._$AH = t);else {
1130
1124
  const e = t;
1131
1125
  let l, h;
1132
- for (t = o[0], l = 0; l < o.length - 1; l++) h = P(this, e[s + l], i, l), h === b && (h = this._$AH[l]), n || (n = !r(h) || h !== this._$AH[l]), h === w ? t = w : t !== w && (t += (null != h ? h : "") + o[l + 1]), this._$AH[l] = h;
1126
+ 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
1127
  }
1134
- n && !e && this.C(t);
1128
+ n && !e && this.j(t);
1135
1129
  }
1136
- C(t) {
1137
- t === w ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
1130
+ j(t) {
1131
+ t === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
1138
1132
  }
1139
1133
  }
1140
- class M extends S {
1134
+ class k extends R {
1141
1135
  constructor() {
1142
1136
  super(...arguments), this.type = 3;
1143
1137
  }
1144
- C(t) {
1145
- this.element[this.name] = t === w ? void 0 : t;
1138
+ j(t) {
1139
+ this.element[this.name] = t === A ? void 0 : t;
1146
1140
  }
1147
1141
  }
1148
- const k = i ? i.emptyScript : "";
1149
- class H extends S {
1142
+ const H = s$1 ? s$1.emptyScript : "";
1143
+ class I extends R {
1150
1144
  constructor() {
1151
1145
  super(...arguments), this.type = 4;
1152
1146
  }
1153
- C(t) {
1154
- t && t !== w ? this.element.setAttribute(this.name, k) : this.element.removeAttribute(this.name);
1147
+ j(t) {
1148
+ t && t !== A ? this.element.setAttribute(this.name, H) : this.element.removeAttribute(this.name);
1155
1149
  }
1156
1150
  }
1157
- class I extends S {
1151
+ class L extends R {
1158
1152
  constructor(t, i, s, e, o) {
1159
1153
  super(t, i, s, e, o), this.type = 5;
1160
1154
  }
1161
1155
  _$AI(t, i = this) {
1162
1156
  var s;
1163
- if ((t = null !== (s = P(this, t, i, 0)) && void 0 !== s ? s : w) === b) return;
1157
+ if ((t = null !== (s = N(this, t, i, 0)) && void 0 !== s ? s : A) === T) return;
1164
1158
  const e = this._$AH,
1165
- o = t === w && e !== w || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive,
1166
- n = t !== w && (e === w || o);
1159
+ o = t === A && e !== A || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive,
1160
+ n = t !== A && (e === A || o);
1167
1161
  o && this.element.removeEventListener(this.name, this, e), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
1168
1162
  }
1169
1163
  handleEvent(t) {
@@ -1171,7 +1165,7 @@ class I extends S {
1171
1165
  "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
1166
  }
1173
1167
  }
1174
- class L {
1168
+ class z {
1175
1169
  constructor(t, i, s) {
1176
1170
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
1177
1171
  }
@@ -1179,11 +1173,21 @@ class L {
1179
1173
  return this._$AM._$AU;
1180
1174
  }
1181
1175
  _$AI(t) {
1182
- P(this, t);
1176
+ N(this, t);
1183
1177
  }
1184
1178
  }
1185
- const z = window.litHtmlPolyfillSupport;
1186
- null == z || z(E, N), (null !== (t = globalThis.litHtmlVersions) && void 0 !== t ? t : globalThis.litHtmlVersions = []).push("2.2.1");
1179
+ const j = i.litHtmlPolyfillSupport;
1180
+ null == j || j(V, M), (null !== (t = i.litHtmlVersions) && void 0 !== t ? t : i.litHtmlVersions = []).push("2.7.0");
1181
+ const B = (t, i, s) => {
1182
+ var e, o;
1183
+ const n = null !== (e = null == s ? void 0 : s.renderBefore) && void 0 !== e ? e : i;
1184
+ let l = n._$litPart$;
1185
+ if (void 0 === l) {
1186
+ const t = null !== (o = null == s ? void 0 : s.renderBefore) && void 0 !== o ? o : null;
1187
+ n._$litPart$ = l = new M(i.insertBefore(d(), t), t, void 0, null != s ? s : {});
1188
+ }
1189
+ return l._$AI(t), l;
1190
+ };
1187
1191
 
1188
1192
  /**
1189
1193
  * @license
@@ -1195,7 +1199,7 @@ class s extends a$1 {
1195
1199
  constructor() {
1196
1200
  super(...arguments), this.renderOptions = {
1197
1201
  host: this
1198
- }, this._$Dt = void 0;
1202
+ }, this._$Do = void 0;
1199
1203
  }
1200
1204
  createRenderRoot() {
1201
1205
  var t, e;
@@ -1204,18 +1208,18 @@ class s extends a$1 {
1204
1208
  }
1205
1209
  update(t) {
1206
1210
  const i = this.render();
1207
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Dt = x(i, this.renderRoot, this.renderOptions);
1211
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = B(i, this.renderRoot, this.renderOptions);
1208
1212
  }
1209
1213
  connectedCallback() {
1210
1214
  var t;
1211
- super.connectedCallback(), null === (t = this._$Dt) || void 0 === t || t.setConnected(!0);
1215
+ super.connectedCallback(), null === (t = this._$Do) || void 0 === t || t.setConnected(!0);
1212
1216
  }
1213
1217
  disconnectedCallback() {
1214
1218
  var t;
1215
- super.disconnectedCallback(), null === (t = this._$Dt) || void 0 === t || t.setConnected(!1);
1219
+ super.disconnectedCallback(), null === (t = this._$Do) || void 0 === t || t.setConnected(!1);
1216
1220
  }
1217
1221
  render() {
1218
- return b;
1222
+ return T;
1219
1223
  }
1220
1224
  }
1221
1225
  s.finalized = !0, s._$litElement$ = !0, null === (l$1 = globalThis.litElementHydrateSupport) || void 0 === l$1 || l$1.call(globalThis, {
@@ -1225,7 +1229,7 @@ const n = globalThis.litElementPolyfillSupport;
1225
1229
  null == n || n({
1226
1230
  LitElement: s
1227
1231
  });
1228
- (null !== (o = globalThis.litElementVersions) && void 0 !== o ? o : globalThis.litElementVersions = []).push("3.2.0");
1232
+ (null !== (o = globalThis.litElementVersions) && void 0 !== o ? o : globalThis.litElementVersions = []).push("3.3.0");
1229
1233
 
1230
1234
  var noop = {
1231
1235
  value: () => {}
@@ -3614,7 +3618,6 @@ Transform.prototype = {
3614
3618
  return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")";
3615
3619
  }
3616
3620
  };
3617
- new Transform(1, 0, 0);
3618
3621
  Transform.prototype;
3619
3622
 
3620
3623
  /*
@@ -3792,7 +3795,7 @@ class DecidablesElement extends s {
3792
3795
  const shadows = DecidablesElement.shadows; /* eslint-disable-line prefer-destructuring */
3793
3796
 
3794
3797
  const filters = shadows.elevations.map(z => {
3795
- return y`
3798
+ return b`
3796
3799
  <filter id=${`shadow-${z}`} x="-250%" y="-250%" width="600%" height="600%">
3797
3800
  <feComponentTransfer in="SourceAlpha" result="solid">
3798
3801
  <feFuncA type="table" tableValues="0 1 1"/>
@@ -3800,9 +3803,9 @@ class DecidablesElement extends s {
3800
3803
  <feOffset in="solid" result="offU" dx=${shadows.mapUmbra[z].y / 2} dy=${shadows.mapUmbra[z].y} />
3801
3804
  <feOffset in="solid" result="offP" dx=${shadows.mapPenumbra[z].y / 2} dy=${shadows.mapPenumbra[z].y} />
3802
3805
  <feOffset in="solid" result="offA" dx=${shadows.mapAmbient[z].y / 2} dy=${shadows.mapAmbient[z].y} />
3803
- ${shadows.mapUmbra[z].s === 0 ? y`` : y`<feMorphology in="offU" result="spreadU" operator=${shadows.mapUmbra[z].s > 0 ? 'dilate' : 'erode'} radius=${Math.abs(shadows.mapUmbra[z].s)} />`}
3804
- ${shadows.mapPenumbra[z].s === 0 ? y`` : y`<feMorphology in="offP" result="spreadP" operator=${shadows.mapPenumbra[z].s > 0 ? 'dilate' : 'erode'} radius=${Math.abs(shadows.mapPenumbra[z].s)} />`}
3805
- ${shadows.mapAmbient[z].s === 0 ? y`` : y`<feMorphology in="offA" result="spreadA" operator=${shadows.mapAmbient[z].s > 0 ? 'dilate' : 'erode'} radius=${Math.abs(shadows.mapAmbient[z].s)} />`}
3806
+ ${shadows.mapUmbra[z].s === 0 ? b`` : b`<feMorphology in="offU" result="spreadU" operator=${shadows.mapUmbra[z].s > 0 ? 'dilate' : 'erode'} radius=${Math.abs(shadows.mapUmbra[z].s)} />`}
3807
+ ${shadows.mapPenumbra[z].s === 0 ? b`` : b`<feMorphology in="offP" result="spreadP" operator=${shadows.mapPenumbra[z].s > 0 ? 'dilate' : 'erode'} radius=${Math.abs(shadows.mapPenumbra[z].s)} />`}
3808
+ ${shadows.mapAmbient[z].s === 0 ? b`` : b`<feMorphology in="offA" result="spreadA" operator=${shadows.mapAmbient[z].s > 0 ? 'dilate' : 'erode'} radius=${Math.abs(shadows.mapAmbient[z].s)} />`}
3806
3809
  <feGaussianBlur in=${shadows.mapUmbra[z].s === 0 ? 'offU' : 'spreadU'} result="blurU" stdDeviation=${shadows.mapUmbra[z].b / 2} />
3807
3810
  <feGaussianBlur in=${shadows.mapPenumbra[z].s === 0 ? 'offP' : 'spreadP'} result="blurP" stdDeviation=${shadows.mapPenumbra[z].b / 2} />
3808
3811
  <feGaussianBlur in=${shadows.mapAmbient[z].s === 0 ? 'offA' : 'spreadA'} result="blurA" stdDeviation=${shadows.mapAmbient[z].b / 2} />
@@ -3824,7 +3827,7 @@ class DecidablesElement extends s {
3824
3827
  </feMerge>
3825
3828
  </filter>`;
3826
3829
  });
3827
- return y`
3830
+ return b`
3828
3831
  <svg class="defs">
3829
3832
  <defs>
3830
3833
  ${filters}
@@ -3967,7 +3970,7 @@ class DecidablesButton extends DecidablesElement {
3967
3970
  `];
3968
3971
  }
3969
3972
  render() {
3970
- return $`
3973
+ return x`
3971
3974
  <button ?disabled=${this.disabled}>
3972
3975
  <slot></slot>
3973
3976
  </button>
@@ -3981,7 +3984,7 @@ customElements.define('decidables-button', DecidablesButton);
3981
3984
  * Copyright 2018 Google LLC
3982
3985
  * SPDX-License-Identifier: BSD-3-Clause
3983
3986
  */
3984
- const l = l => null != l ? l : b$1;
3987
+ const l = l => null != l ? l : A$1;
3985
3988
 
3986
3989
  class DecidablesSlider extends DecidablesElement {
3987
3990
  static get properties() {
@@ -4289,7 +4292,7 @@ class DecidablesSlider extends DecidablesElement {
4289
4292
  `];
4290
4293
  }
4291
4294
  render() {
4292
- return $`
4295
+ return x`
4293
4296
  <label for="slider">
4294
4297
  <slot></slot>
4295
4298
  </label>
@@ -4428,7 +4431,7 @@ class DecidablesSpinner extends DecidablesElement {
4428
4431
  `];
4429
4432
  }
4430
4433
  render() {
4431
- return $`
4434
+ return x`
4432
4435
  <label>
4433
4436
  <slot></slot>
4434
4437
  <input ?disabled=${this.disabled} type="number" min=${l(this.min)} max=${l(this.max)} step=${l(this.step)} .value=${this.value} @input=${this.inputted.bind(this)}>
@@ -4592,7 +4595,7 @@ class DecidablesSwitch extends DecidablesElement {
4592
4595
  `];
4593
4596
  }
4594
4597
  render() {
4595
- return $`
4598
+ return x`
4596
4599
  <input type="checkbox" id="switch" ?checked=${this.checked} ?disabled=${this.disabled} @change=${this.changed.bind(this)}>
4597
4600
  <label for="switch">
4598
4601
  <slot name="off-label"></slot>
@@ -4642,7 +4645,7 @@ class DecidablesToggle extends DecidablesElement {
4642
4645
  `];
4643
4646
  }
4644
4647
  render() {
4645
- return $`
4648
+ return x`
4646
4649
  <fieldset ?disabled=${this.disabled}>
4647
4650
  <legend><slot name="label"></slot></legend>
4648
4651
  <slot></slot>
@@ -4793,7 +4796,7 @@ class DecidablesToggleOption extends DecidablesElement {
4793
4796
  `];
4794
4797
  }
4795
4798
  render() {
4796
- return $`
4799
+ return x`
4797
4800
  <input type="radio" id="toggle-option" name=${this.name} value=${this.value} .checked=${this.checked} @change=${this.changed.bind(this)}>
4798
4801
  <label for="toggle-option">
4799
4802
  <slot></slot>