@decidables/decidables-elements 0.3.3 → 0.3.4

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.
@@ -3,21 +3,21 @@
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
- const t$3 = window,
7
- e$5 = t$3.ShadowRoot && (void 0 === t$3.ShadyCSS || t$3.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
8
- s$6 = Symbol(),
9
- n$6 = new WeakMap();
10
- let o$6 = class o {
6
+ const t$2 = window,
7
+ e$4 = t$2.ShadowRoot && (void 0 === t$2.ShadyCSS || t$2.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
8
+ s$5 = Symbol(),
9
+ n$5 = new WeakMap();
10
+ let o$5 = class o {
11
11
  constructor(t, e, n) {
12
- if (this._$cssResult$ = !0, n !== s$6) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
12
+ if (this._$cssResult$ = !0, n !== s$5) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
13
13
  this.cssText = t, this.t = e;
14
14
  }
15
15
  get styleSheet() {
16
16
  let t = this.o;
17
17
  const s = this.t;
18
- if (e$5 && void 0 === t) {
18
+ if (e$4 && void 0 === t) {
19
19
  const e = void 0 !== s && 1 === s.length;
20
- e && (t = n$6.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), e && n$6.set(s, t));
20
+ e && (t = n$5.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), e && n$5.set(s, t));
21
21
  }
22
22
  return t;
23
23
  }
@@ -25,18 +25,18 @@ let o$6 = class o {
25
25
  return this.cssText;
26
26
  }
27
27
  };
28
- const r$5 = t => new o$6("string" == typeof t ? t : t + "", void 0, s$6),
29
- S$3 = (s, n) => {
30
- e$5 ? s.adoptedStyleSheets = n.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet) : n.forEach(e => {
28
+ const r$4 = t => new o$5("string" == typeof t ? t : t + "", void 0, s$5),
29
+ S$2 = (s, n) => {
30
+ e$4 ? s.adoptedStyleSheets = n.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet) : n.forEach(e => {
31
31
  const n = document.createElement("style"),
32
- o = t$3.litNonce;
32
+ o = t$2.litNonce;
33
33
  void 0 !== o && n.setAttribute("nonce", o), n.textContent = e.cssText, s.appendChild(n);
34
34
  });
35
35
  },
36
- c$2 = e$5 ? t => t : t => t instanceof CSSStyleSheet ? (t => {
36
+ c$1 = e$4 ? t => t : t => t instanceof CSSStyleSheet ? (t => {
37
37
  let e = "";
38
38
  for (const s of t.cssRules) e += s.cssText;
39
- return r$5(e);
39
+ return r$4(e);
40
40
  })(t) : t;
41
41
 
42
42
  /**
@@ -44,16 +44,16 @@ const r$5 = t => new o$6("string" == typeof t ? t : t + "", void 0, s$6),
44
44
  * Copyright 2017 Google LLC
45
45
  * SPDX-License-Identifier: BSD-3-Clause
46
46
  */
47
- var s$5;
48
- const e$4 = window,
49
- r$4 = e$4.trustedTypes,
50
- h$3 = r$4 ? r$4.emptyScript : "",
51
- o$5 = e$4.reactiveElementPolyfillSupport,
52
- n$5 = {
47
+ var s$4;
48
+ const e$3 = window,
49
+ r$3 = e$3.trustedTypes,
50
+ h$2 = r$3 ? r$3.emptyScript : "",
51
+ o$4 = e$3.reactiveElementPolyfillSupport,
52
+ n$4 = {
53
53
  toAttribute(t, i) {
54
54
  switch (i) {
55
55
  case Boolean:
56
- t = t ? h$3 : null;
56
+ t = t ? h$2 : null;
57
57
  break;
58
58
  case Object:
59
59
  case Array:
@@ -81,15 +81,15 @@ const e$4 = window,
81
81
  return s;
82
82
  }
83
83
  },
84
- a$3 = (t, i) => i !== t && (i == i || t == t),
85
- l$5 = {
84
+ a$2 = (t, i) => i !== t && (i == i || t == t),
85
+ l$4 = {
86
86
  attribute: !0,
87
87
  type: String,
88
- converter: n$5,
88
+ converter: n$4,
89
89
  reflect: !1,
90
- hasChanged: a$3
90
+ hasChanged: a$2
91
91
  };
92
- let d$2 = class d extends HTMLElement {
92
+ let d$1 = class d extends HTMLElement {
93
93
  constructor() {
94
94
  super(), this._$Ei = new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this.u();
95
95
  }
@@ -105,7 +105,7 @@ let d$2 = class d extends HTMLElement {
105
105
  void 0 !== e && (this._$Ev.set(e, s), t.push(e));
106
106
  }), t;
107
107
  }
108
- static createProperty(t, i = l$5) {
108
+ static createProperty(t, i = l$4) {
109
109
  if (i.state && (i.attribute = !1), this.finalize(), this.elementProperties.set(t, i), !i.noAccessor && !this.prototype.hasOwnProperty(t)) {
110
110
  const s = "symbol" == typeof t ? Symbol() : "__" + t,
111
111
  e = this.getPropertyDescriptor(t, s, i);
@@ -126,7 +126,7 @@ let d$2 = class d extends HTMLElement {
126
126
  };
127
127
  }
128
128
  static getPropertyOptions(t) {
129
- return this.elementProperties.get(t) || l$5;
129
+ return this.elementProperties.get(t) || l$4;
130
130
  }
131
131
  static finalize() {
132
132
  if (this.hasOwnProperty("finalized")) return !1;
@@ -143,8 +143,8 @@ let d$2 = class d extends HTMLElement {
143
143
  const s = [];
144
144
  if (Array.isArray(i)) {
145
145
  const e = new Set(i.flat(1 / 0).reverse());
146
- for (const i of e) s.unshift(c$2(i));
147
- } else void 0 !== i && s.push(c$2(i));
146
+ for (const i of e) s.unshift(c$1(i));
147
+ } else void 0 !== i && s.push(c$1(i));
148
148
  return s;
149
149
  }
150
150
  static _$Ep(t, i) {
@@ -171,7 +171,7 @@ let d$2 = class d extends HTMLElement {
171
171
  createRenderRoot() {
172
172
  var t;
173
173
  const s = null !== (t = this.shadowRoot) && void 0 !== t ? t : this.attachShadow(this.constructor.shadowRootOptions);
174
- return S$3(s, this.constructor.elementStyles), s;
174
+ return S$2(s, this.constructor.elementStyles), s;
175
175
  }
176
176
  connectedCallback() {
177
177
  var t;
@@ -191,11 +191,11 @@ let d$2 = class d extends HTMLElement {
191
191
  attributeChangedCallback(t, i, s) {
192
192
  this._$AK(t, s);
193
193
  }
194
- _$EO(t, i, s = l$5) {
194
+ _$EO(t, i, s = l$4) {
195
195
  var e;
196
196
  const r = this.constructor._$Ep(t, s);
197
197
  if (void 0 !== r && !0 === s.reflect) {
198
- const h = (void 0 !== (null === (e = s.converter) || void 0 === e ? void 0 : e.toAttribute) ? s.converter : n$5).toAttribute(i, s.type);
198
+ const h = (void 0 !== (null === (e = s.converter) || void 0 === e ? void 0 : e.toAttribute) ? s.converter : n$4).toAttribute(i, s.type);
199
199
  this._$El = t, null == h ? this.removeAttribute(r) : this.setAttribute(r, h), this._$El = null;
200
200
  }
201
201
  }
@@ -207,13 +207,13 @@ let d$2 = class d extends HTMLElement {
207
207
  const t = e.getPropertyOptions(r),
208
208
  h = "function" == typeof t.converter ? {
209
209
  fromAttribute: t.converter
210
- } : void 0 !== (null === (s = t.converter) || void 0 === s ? void 0 : s.fromAttribute) ? t.converter : n$5;
210
+ } : void 0 !== (null === (s = t.converter) || void 0 === s ? void 0 : s.fromAttribute) ? t.converter : n$4;
211
211
  this._$El = r, this[r] = h.fromAttribute(i, t.type), this._$El = null;
212
212
  }
213
213
  }
214
214
  requestUpdate(t, i, s) {
215
215
  let e = !0;
216
- 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());
216
+ 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());
217
217
  }
218
218
  async _$Ej() {
219
219
  this.isUpdatePending = !0;
@@ -270,140 +270,149 @@ let d$2 = class d extends HTMLElement {
270
270
  updated(t) {}
271
271
  firstUpdated(t) {}
272
272
  };
273
- d$2.finalized = !0, d$2.elementProperties = new Map(), d$2.elementStyles = [], d$2.shadowRootOptions = {
273
+ d$1.finalized = !0, d$1.elementProperties = new Map(), d$1.elementStyles = [], d$1.shadowRootOptions = {
274
274
  mode: "open"
275
- }, null == o$5 || o$5({
276
- ReactiveElement: d$2
277
- }), (null !== (s$5 = e$4.reactiveElementVersions) && void 0 !== s$5 ? s$5 : e$4.reactiveElementVersions = []).push("1.5.0");
275
+ }, null == o$4 || o$4({
276
+ ReactiveElement: d$1
277
+ }), (null !== (s$4 = e$3.reactiveElementVersions) && void 0 !== s$4 ? s$4 : e$3.reactiveElementVersions = []).push("1.6.1");
278
278
 
279
279
  /**
280
280
  * @license
281
281
  * Copyright 2017 Google LLC
282
282
  * SPDX-License-Identifier: BSD-3-Clause
283
283
  */
284
- var t$2;
285
- const i$2 = window,
286
- s$4 = i$2.trustedTypes,
287
- e$3 = s$4 ? s$4.createPolicy("lit-html", {
284
+ var t$1;
285
+ const i$1 = window,
286
+ s$3 = i$1.trustedTypes,
287
+ e$2 = s$3 ? s$3.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),
295
- 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) => {
290
+ o$3 = "$lit$",
291
+ n$3 = `lit$${(Math.random() + "").slice(9)}$`,
292
+ l$3 = "?" + n$3,
293
+ h$1 = `<${l$3}>`,
294
+ r$2 = document,
295
+ d = () => r$2.createComment(""),
296
+ u = t => null === t || "object" != typeof t && "function" != typeof t,
297
+ c = Array.isArray,
298
+ v = t => c(t) || "function" == typeof (null == t ? void 0 : t[Symbol.iterator]),
299
+ a$1 = "[ \t\n\f\r]",
300
+ f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
301
+ _ = /-->/g,
302
+ m = />/g,
303
+ p = RegExp(`>|${a$1}(?:([^\\s"'>=/]+)(${a$1}*=${a$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"),
304
+ g = /'/g,
305
+ $ = /"/g,
306
+ y = /^(?:script|style|textarea|title)$/i,
307
+ w = t => (i, ...s) => ({
308
+ _$litType$: t,
309
+ strings: i,
310
+ values: s
311
+ }),
312
+ x = w(1),
313
+ b = w(2),
314
+ T = Symbol.for("lit-noChange"),
315
+ A = Symbol.for("lit-nothing"),
316
+ E = new WeakMap(),
317
+ C = r$2.createTreeWalker(r$2, 129, null, !1),
318
+ P = (t, i) => {
310
319
  const s = t.length - 1,
311
- n = [];
312
- let h,
313
- r = 2 === i ? "<svg>" : "",
314
- d = v$1;
320
+ l = [];
321
+ let r,
322
+ d = 2 === i ? "<svg>" : "",
323
+ u = f;
315
324
  for (let i = 0; i < s; i++) {
316
325
  const s = t[i];
317
326
  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);
327
+ c,
328
+ v = -1,
329
+ a = 0;
330
+ 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);
331
+ const w = u === p && t[i + 1].startsWith("/>") ? " " : "";
332
+ 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);
324
333
  }
325
- const u = r + (t[s] || "<?>") + (2 === i ? "</svg>" : "");
334
+ const c = d + (t[s] || "<?>") + (2 === i ? "</svg>" : "");
326
335
  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];
336
+ return [void 0 !== e$2 ? e$2.createHTML(c) : c, l];
328
337
  };
329
- let C$1 = class C {
338
+ class V {
330
339
  constructor({
331
340
  strings: t,
332
341
  _$litType$: i
333
342
  }, e) {
334
- let l;
343
+ let h;
335
344
  this.parts = [];
336
- let h = 0,
337
- 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) {
345
+ let r = 0,
346
+ u = 0;
347
+ const c = t.length - 1,
348
+ v = this.parts,
349
+ [a, f] = P(t, i);
350
+ if (this.el = V.createElement(a, e), C.currentNode = this.el.content, 2 === i) {
342
351
  const t = this.el.content,
343
352
  i = t.firstChild;
344
353
  i.remove(), t.append(...i.childNodes);
345
354
  }
346
- for (; null !== (l = A$1.nextNode()) && c.length < u;) {
347
- if (1 === l.nodeType) {
348
- if (l.hasAttributes()) {
355
+ for (; null !== (h = C.nextNode()) && v.length < c;) {
356
+ if (1 === h.nodeType) {
357
+ if (h.hasAttributes()) {
349
358
  const t = [];
350
- for (const i of l.getAttributeNames()) if (i.endsWith("$lit$") || i.startsWith(o$4)) {
351
- const s = a[d++];
359
+ for (const i of h.getAttributeNames()) if (i.endsWith(o$3) || i.startsWith(n$3)) {
360
+ const s = f[u++];
352
361
  if (t.push(i), void 0 !== s) {
353
- const t = l.getAttribute(s.toLowerCase() + "$lit$").split(o$4),
362
+ const t = h.getAttribute(s.toLowerCase() + o$3).split(n$3),
354
363
  i = /([.?@])?(.*)/.exec(s);
355
- c.push({
364
+ v.push({
356
365
  type: 1,
357
- index: h,
366
+ index: r,
358
367
  name: i[2],
359
368
  strings: t,
360
- ctor: "." === i[1] ? M$1 : "?" === i[1] ? k$1 : "@" === i[1] ? H$1 : S$2
369
+ ctor: "." === i[1] ? k : "?" === i[1] ? I : "@" === i[1] ? L : R
361
370
  });
362
- } else c.push({
371
+ } else v.push({
363
372
  type: 6,
364
- index: h
373
+ index: r
365
374
  });
366
375
  }
367
- for (const i of t) l.removeAttribute(i);
376
+ for (const i of t) h.removeAttribute(i);
368
377
  }
369
- if ($$1.test(l.tagName)) {
370
- const t = l.textContent.split(o$4),
378
+ if (y.test(h.tagName)) {
379
+ const t = h.textContent.split(n$3),
371
380
  i = t.length - 1;
372
381
  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({
382
+ h.textContent = s$3 ? s$3.emptyScript : "";
383
+ for (let s = 0; s < i; s++) h.append(t[s], d()), C.nextNode(), v.push({
375
384
  type: 2,
376
- index: ++h
385
+ index: ++r
377
386
  });
378
- l.append(t[i], r$3());
387
+ h.append(t[i], d());
379
388
  }
380
389
  }
381
- } else if (8 === l.nodeType) if (l.data === n$4) c.push({
390
+ } else if (8 === h.nodeType) if (h.data === l$3) v.push({
382
391
  type: 2,
383
- index: h
392
+ index: r
384
393
  });else {
385
394
  let t = -1;
386
- for (; -1 !== (t = l.data.indexOf(o$4, t + 1));) c.push({
395
+ for (; -1 !== (t = h.data.indexOf(n$3, t + 1));) v.push({
387
396
  type: 7,
388
- index: h
389
- }), t += o$4.length - 1;
397
+ index: r
398
+ }), t += n$3.length - 1;
390
399
  }
391
- h++;
400
+ r++;
392
401
  }
393
402
  }
394
403
  static createElement(t, i) {
395
- const s = h$2.createElement("template");
404
+ const s = r$2.createElement("template");
396
405
  return s.innerHTML = t, s;
397
406
  }
398
- };
399
- function P$1(t, i, s = t, e) {
407
+ }
408
+ function N(t, i, s = t, e) {
400
409
  var o, n, l, h;
401
- if (i === x$1) return i;
410
+ if (i === T) return i;
402
411
  let r = void 0 !== e ? null === (o = s._$Co) || void 0 === o ? void 0 : o[e] : s._$Cl;
403
- 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;
412
+ const d = u(i) ? void 0 : i._$litDirective$;
413
+ 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;
405
414
  }
406
- let V$1 = class V {
415
+ let S$1 = class S {
407
416
  constructor(t, i) {
408
417
  this.u = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
409
418
  }
@@ -421,18 +430,18 @@ let V$1 = class V {
421
430
  },
422
431
  parts: e
423
432
  } = 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(),
433
+ o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : r$2).importNode(s, !0);
434
+ C.currentNode = o;
435
+ let n = C.nextNode(),
427
436
  l = 0,
428
- r = 0,
437
+ h = 0,
429
438
  d = e[0];
430
439
  for (; void 0 !== d;) {
431
440
  if (l === d.index) {
432
441
  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];
442
+ 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];
434
443
  }
435
- l !== (null == d ? void 0 : d.index) && (n = A$1.nextNode(), l++);
444
+ l !== (null == d ? void 0 : d.index) && (n = C.nextNode(), l++);
436
445
  }
437
446
  return o;
438
447
  }
@@ -441,10 +450,10 @@ let V$1 = class V {
441
450
  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++;
442
451
  }
443
452
  };
444
- let N$1 = class N {
453
+ class M {
445
454
  constructor(t, i, s, e) {
446
455
  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;
456
+ 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;
448
457
  }
449
458
  get _$AU() {
450
459
  var t, i;
@@ -453,7 +462,7 @@ let N$1 = class N {
453
462
  get parentNode() {
454
463
  let t = this._$AA.parentNode;
455
464
  const i = this._$AM;
456
- return void 0 !== i && 11 === t.nodeType && (t = i.parentNode), t;
465
+ return void 0 !== i && 11 === (null == t ? void 0 : t.nodeType) && (t = i.parentNode), t;
457
466
  }
458
467
  get startNode() {
459
468
  return this._$AA;
@@ -462,16 +471,16 @@ let N$1 = class N {
462
471
  return this._$AB;
463
472
  }
464
473
  _$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);
474
+ 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);
466
475
  }
467
- O(t, i = this._$AB) {
468
- return this._$AA.parentNode.insertBefore(t, i);
476
+ S(t) {
477
+ return this._$AA.parentNode.insertBefore(t, this._$AB);
469
478
  }
470
479
  T(t) {
471
- this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
480
+ this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
472
481
  }
473
482
  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;
483
+ this._$AH !== A && u(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$2.createTextNode(t)), this._$AH = t;
475
484
  }
476
485
  $(t) {
477
486
  var i;
@@ -479,23 +488,23 @@ let N$1 = class N {
479
488
  values: s,
480
489
  _$litType$: e
481
490
  } = t,
482
- o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el = C$1.createElement(e.h, this.options)), e);
491
+ o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el = V.createElement(e.h, this.options)), e);
483
492
  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),
493
+ const t = new S$1(o, this),
485
494
  i = t.v(this.options);
486
495
  t.p(s), this.T(i), this._$AH = t;
487
496
  }
488
497
  }
489
498
  _$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;
499
+ let i = E.get(t.strings);
500
+ return void 0 === i && E.set(t.strings, i = new V(t)), i;
492
501
  }
493
502
  k(t) {
494
- u$1(this._$AH) || (this._$AH = [], this._$AR());
503
+ c(this._$AH) || (this._$AH = [], this._$AR());
495
504
  const i = this._$AH;
496
505
  let s,
497
506
  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++;
507
+ 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++;
499
508
  e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
500
509
  }
501
510
  _$AR(t = this._$AA.nextSibling, i) {
@@ -509,10 +518,10 @@ let N$1 = class N {
509
518
  var i;
510
519
  void 0 === this._$AM && (this._$Cm = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
511
520
  }
512
- };
513
- let S$2 = class S {
521
+ }
522
+ class R {
514
523
  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;
524
+ 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;
516
525
  }
517
526
  get tagName() {
518
527
  return this.element.tagName;
@@ -523,52 +532,52 @@ let S$2 = class S {
523
532
  _$AI(t, i = this, s, e) {
524
533
  const o = this.strings;
525
534
  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 {
535
+ if (void 0 === o) t = N(this, t, i, 0), n = !u(t) || t !== this._$AH && t !== T, n && (this._$AH = t);else {
527
536
  const e = t;
528
537
  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;
538
+ 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;
530
539
  }
531
540
  n && !e && this.j(t);
532
541
  }
533
542
  j(t) {
534
- t === b$1 ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
543
+ t === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
535
544
  }
536
- };
537
- let M$1 = class M extends S$2 {
545
+ }
546
+ class k extends R {
538
547
  constructor() {
539
548
  super(...arguments), this.type = 3;
540
549
  }
541
550
  j(t) {
542
- this.element[this.name] = t === b$1 ? void 0 : t;
551
+ this.element[this.name] = t === A ? void 0 : t;
543
552
  }
544
- };
545
- const R = s$4 ? s$4.emptyScript : "";
546
- let k$1 = class k extends S$2 {
553
+ }
554
+ const H = s$3 ? s$3.emptyScript : "";
555
+ class I extends R {
547
556
  constructor() {
548
557
  super(...arguments), this.type = 4;
549
558
  }
550
559
  j(t) {
551
- t && t !== b$1 ? this.element.setAttribute(this.name, R) : this.element.removeAttribute(this.name);
560
+ t && t !== A ? this.element.setAttribute(this.name, H) : this.element.removeAttribute(this.name);
552
561
  }
553
- };
554
- let H$1 = class H extends S$2 {
562
+ }
563
+ class L extends R {
555
564
  constructor(t, i, s, e, o) {
556
565
  super(t, i, s, e, o), this.type = 5;
557
566
  }
558
567
  _$AI(t, i = this) {
559
568
  var s;
560
- if ((t = null !== (s = P$1(this, t, i, 0)) && void 0 !== s ? s : b$1) === x$1) return;
569
+ if ((t = null !== (s = N(this, t, i, 0)) && void 0 !== s ? s : A) === T) return;
561
570
  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);
571
+ o = t === A && e !== A || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive,
572
+ n = t !== A && (e === A || o);
564
573
  o && this.element.removeEventListener(this.name, this, e), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
565
574
  }
566
575
  handleEvent(t) {
567
576
  var i, s;
568
577
  "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
578
  }
570
- };
571
- let I$1 = class I {
579
+ }
580
+ class z {
572
581
  constructor(t, i, s) {
573
582
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
574
583
  }
@@ -576,53 +585,63 @@ let I$1 = class I {
576
585
  return this._$AM._$AU;
577
586
  }
578
587
  _$AI(t) {
579
- P$1(this, t);
588
+ N(this, t);
589
+ }
590
+ }
591
+ const j = i$1.litHtmlPolyfillSupport;
592
+ null == j || j(V, M), (null !== (t$1 = i$1.litHtmlVersions) && void 0 !== t$1 ? t$1 : i$1.litHtmlVersions = []).push("2.7.0");
593
+ const B = (t, i, s) => {
594
+ var e, o;
595
+ const n = null !== (e = null == s ? void 0 : s.renderBefore) && void 0 !== e ? e : i;
596
+ let l = n._$litPart$;
597
+ if (void 0 === l) {
598
+ const t = null !== (o = null == s ? void 0 : s.renderBefore) && void 0 !== o ? o : null;
599
+ n._$litPart$ = l = new M(i.insertBefore(d(), t), t, void 0, null != s ? s : {});
580
600
  }
601
+ return l._$AI(t), l;
581
602
  };
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");
584
603
 
585
604
  /**
586
605
  * @license
587
606
  * Copyright 2019 Google LLC
588
607
  * SPDX-License-Identifier: BSD-3-Clause
589
608
  */
590
- const t$1 = window.ShadowRoot && (void 0 === window.ShadyCSS || window.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
591
- e$2 = Symbol(),
592
- n$3 = new Map();
593
- let s$3 = class s {
609
+ const t = window.ShadowRoot && (void 0 === window.ShadyCSS || window.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
610
+ e$1 = Symbol(),
611
+ n$2 = new Map();
612
+ let s$2 = class s {
594
613
  constructor(t, n) {
595
- if (this._$cssResult$ = !0, n !== e$2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
614
+ if (this._$cssResult$ = !0, n !== e$1) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
596
615
  this.cssText = t;
597
616
  }
598
617
  get styleSheet() {
599
- let e = n$3.get(this.cssText);
600
- return t$1 && void 0 === e && (n$3.set(this.cssText, e = new CSSStyleSheet()), e.replaceSync(this.cssText)), e;
618
+ let e = n$2.get(this.cssText);
619
+ return t && void 0 === e && (n$2.set(this.cssText, e = new CSSStyleSheet()), e.replaceSync(this.cssText)), e;
601
620
  }
602
621
  toString() {
603
622
  return this.cssText;
604
623
  }
605
624
  };
606
- const o$3 = t => new s$3("string" == typeof t ? t : t + "", e$2),
607
- r$2 = (t, ...n) => {
625
+ const o$2 = t => new s$2("string" == typeof t ? t : t + "", e$1),
626
+ r$1 = (t, ...n) => {
608
627
  const o = 1 === t.length ? t[0] : n.reduce((e, n, s) => e + (t => {
609
628
  if (!0 === t._$cssResult$) return t.cssText;
610
629
  if ("number" == typeof t) return t;
611
630
  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.");
612
631
  })(n) + t[s + 1], t[0]);
613
- return new s$3(o, e$2);
632
+ return new s$2(o, e$1);
614
633
  },
615
- i$1 = (e, n) => {
616
- t$1 ? e.adoptedStyleSheets = n.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet) : n.forEach(t => {
634
+ i = (e, n) => {
635
+ t ? e.adoptedStyleSheets = n.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet) : n.forEach(t => {
617
636
  const n = document.createElement("style"),
618
637
  s = window.litNonce;
619
638
  void 0 !== s && n.setAttribute("nonce", s), n.textContent = t.cssText, e.appendChild(n);
620
639
  });
621
640
  },
622
- S$1 = t$1 ? t => t : t => t instanceof CSSStyleSheet ? (t => {
641
+ S = t ? t => t : t => t instanceof CSSStyleSheet ? (t => {
623
642
  let e = "";
624
643
  for (const n of t.cssRules) e += n.cssText;
625
- return o$3(e);
644
+ return o$2(e);
626
645
  })(t) : t;
627
646
 
628
647
  /**
@@ -630,15 +649,15 @@ const o$3 = t => new s$3("string" == typeof t ? t : t + "", e$2),
630
649
  * Copyright 2017 Google LLC
631
650
  * SPDX-License-Identifier: BSD-3-Clause
632
651
  */
633
- var s$2;
634
- const e$1 = window.trustedTypes,
635
- r$1 = e$1 ? e$1.emptyScript : "",
636
- h$1 = window.reactiveElementPolyfillSupport,
637
- o$2 = {
652
+ var s$1;
653
+ const e = window.trustedTypes,
654
+ r = e ? e.emptyScript : "",
655
+ h = window.reactiveElementPolyfillSupport,
656
+ o$1 = {
638
657
  toAttribute(t, i) {
639
658
  switch (i) {
640
659
  case Boolean:
641
- t = t ? r$1 : null;
660
+ t = t ? r : null;
642
661
  break;
643
662
  case Object:
644
663
  case Array:
@@ -666,15 +685,15 @@ const e$1 = window.trustedTypes,
666
685
  return s;
667
686
  }
668
687
  },
669
- n$2 = (t, i) => i !== t && (i == i || t == t),
670
- l$3 = {
688
+ n$1 = (t, i) => i !== t && (i == i || t == t),
689
+ l$2 = {
671
690
  attribute: !0,
672
691
  type: String,
673
- converter: o$2,
692
+ converter: o$1,
674
693
  reflect: !1,
675
- hasChanged: n$2
694
+ hasChanged: n$1
676
695
  };
677
- let a$1 = class a extends HTMLElement {
696
+ class a extends HTMLElement {
678
697
  constructor() {
679
698
  super(), this._$Et = new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$Ei = null, this.o();
680
699
  }
@@ -690,7 +709,7 @@ let a$1 = class a extends HTMLElement {
690
709
  void 0 !== e && (this._$Eu.set(e, s), t.push(e));
691
710
  }), t;
692
711
  }
693
- static createProperty(t, i = l$3) {
712
+ static createProperty(t, i = l$2) {
694
713
  if (i.state && (i.attribute = !1), this.finalize(), this.elementProperties.set(t, i), !i.noAccessor && !this.prototype.hasOwnProperty(t)) {
695
714
  const s = "symbol" == typeof t ? Symbol() : "__" + t,
696
715
  e = this.getPropertyDescriptor(t, s, i);
@@ -711,7 +730,7 @@ let a$1 = class a extends HTMLElement {
711
730
  };
712
731
  }
713
732
  static getPropertyOptions(t) {
714
- return this.elementProperties.get(t) || l$3;
733
+ return this.elementProperties.get(t) || l$2;
715
734
  }
716
735
  static finalize() {
717
736
  if (this.hasOwnProperty("finalized")) return !1;
@@ -728,8 +747,8 @@ let a$1 = class a extends HTMLElement {
728
747
  const s = [];
729
748
  if (Array.isArray(i)) {
730
749
  const e = new Set(i.flat(1 / 0).reverse());
731
- for (const i of e) s.unshift(S$1(i));
732
- } else void 0 !== i && s.push(S$1(i));
750
+ for (const i of e) s.unshift(S(i));
751
+ } else void 0 !== i && s.push(S(i));
733
752
  return s;
734
753
  }
735
754
  static _$Eh(t, i) {
@@ -756,7 +775,7 @@ let a$1 = class a extends HTMLElement {
756
775
  createRenderRoot() {
757
776
  var t;
758
777
  const s = null !== (t = this.shadowRoot) && void 0 !== t ? t : this.attachShadow(this.constructor.shadowRootOptions);
759
- return i$1(s, this.constructor.elementStyles), s;
778
+ return i(s, this.constructor.elementStyles), s;
760
779
  }
761
780
  connectedCallback() {
762
781
  var t;
@@ -776,11 +795,11 @@ let a$1 = class a extends HTMLElement {
776
795
  attributeChangedCallback(t, i, s) {
777
796
  this._$AK(t, s);
778
797
  }
779
- _$ES(t, i, s = l$3) {
798
+ _$ES(t, i, s = l$2) {
780
799
  var e, r;
781
800
  const h = this.constructor._$Eh(t, s);
782
801
  if (void 0 !== h && !0 === s.reflect) {
783
- 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);
802
+ 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);
784
803
  this._$Ei = t, null == n ? this.removeAttribute(h) : this.setAttribute(h, n), this._$Ei = null;
785
804
  }
786
805
  }
@@ -791,13 +810,13 @@ let a$1 = class a extends HTMLElement {
791
810
  if (void 0 !== n && this._$Ei !== n) {
792
811
  const t = h.getPropertyOptions(n),
793
812
  l = t.converter,
794
- 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;
813
+ 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;
795
814
  this._$Ei = n, this[n] = a(i, t.type), this._$Ei = null;
796
815
  }
797
816
  }
798
817
  requestUpdate(t, i, s) {
799
818
  let e = !0;
800
- 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_());
819
+ 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_());
801
820
  }
802
821
  async _$E_() {
803
822
  this.isUpdatePending = !0;
@@ -853,337 +872,12 @@ let a$1 = class a extends HTMLElement {
853
872
  }
854
873
  updated(t) {}
855
874
  firstUpdated(t) {}
856
- };
857
- a$1.finalized = !0, a$1.elementProperties = new Map(), a$1.elementStyles = [], a$1.shadowRootOptions = {
858
- mode: "open"
859
- }, null == h$1 || h$1({
860
- ReactiveElement: a$1
861
- }), (null !== (s$2 = globalThis.reactiveElementVersions) && void 0 !== s$2 ? s$2 : globalThis.reactiveElementVersions = []).push("1.3.1");
862
-
863
- /**
864
- * @license
865
- * Copyright 2017 Google LLC
866
- * SPDX-License-Identifier: BSD-3-Clause
867
- */
868
- var t;
869
- const i = globalThis.trustedTypes,
870
- s$1 = i ? i.createPolicy("lit-html", {
871
- createHTML: t => t
872
- }) : 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) => ({
892
- _$litType$: t,
893
- strings: i,
894
- values: s
895
- }),
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,
914
- l = [];
915
- let h,
916
- r = 2 === i ? "<svg>" : "",
917
- d = c;
918
- for (let i = 0; i < o; i++) {
919
- 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);
927
- }
928
- const u = r + (t[o] || "<?>") + (2 === i ? "</svg>" : "");
929
- 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];
931
- };
932
- class E {
933
- constructor({
934
- strings: t,
935
- _$litType$: s
936
- }, n) {
937
- let l;
938
- this.parts = [];
939
- 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) {
945
- const t = this.el.content,
946
- i = t.firstChild;
947
- i.remove(), t.append(...i.childNodes);
948
- }
949
- for (; null !== (l = A.nextNode()) && c.length < u;) {
950
- if (1 === l.nodeType) {
951
- if (l.hasAttributes()) {
952
- const t = [];
953
- for (const i of l.getAttributeNames()) if (i.endsWith("$lit$") || i.startsWith(e)) {
954
- const s = a[d++];
955
- if (t.push(i), void 0 !== s) {
956
- const t = l.getAttribute(s.toLowerCase() + "$lit$").split(e),
957
- i = /([.?@])?(.*)/.exec(s);
958
- c.push({
959
- type: 1,
960
- index: r,
961
- name: i[2],
962
- strings: t,
963
- ctor: "." === i[1] ? M : "?" === i[1] ? H : "@" === i[1] ? I : S
964
- });
965
- } else c.push({
966
- type: 6,
967
- index: r
968
- });
969
- }
970
- for (const i of t) l.removeAttribute(i);
971
- }
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({
978
- type: 2,
979
- index: ++r
980
- });
981
- l.append(t[s], h());
982
- }
983
- }
984
- } else if (8 === l.nodeType) if (l.data === o$1) c.push({
985
- type: 2,
986
- index: r
987
- });else {
988
- let t = -1;
989
- for (; -1 !== (t = l.data.indexOf(e, t + 1));) c.push({
990
- type: 7,
991
- index: r
992
- }), t += e.length - 1;
993
- }
994
- r++;
995
- }
996
- }
997
- static createElement(t, i) {
998
- const s = l$2.createElement("template");
999
- return s.innerHTML = t, s;
1000
- }
1001
- }
1002
- function P(t, i, s = t, e) {
1003
- 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;
1008
- }
1009
- class V {
1010
- constructor(t, i) {
1011
- this.v = [], 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
- p(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 : l$2).importNode(s, !0);
1028
- A.currentNode = o;
1029
- let n = A.nextNode(),
1030
- h = 0,
1031
- r = 0,
1032
- d = e[0];
1033
- for (; void 0 !== d;) {
1034
- if (h === d.index) {
1035
- 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];
1037
- }
1038
- h !== (null == d ? void 0 : d.index) && (n = A.nextNode(), h++);
1039
- }
1040
- return o;
1041
- }
1042
- m(t) {
1043
- 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++;
1045
- }
1046
875
  }
1047
- class N {
1048
- constructor(t, i, s, e) {
1049
- 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;
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._$Cg;
1055
- }
1056
- get parentNode() {
1057
- let t = this._$AA.parentNode;
1058
- const i = this._$AM;
1059
- return void 0 !== i && 11 === 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 = 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);
1069
- }
1070
- A(t, i = this._$AB) {
1071
- return this._$AA.parentNode.insertBefore(t, i);
1072
- }
1073
- k(t) {
1074
- this._$AH !== t && (this._$AR(), this._$AH = this.A(t));
1075
- }
1076
- $(t) {
1077
- this._$AH !== w && r(this._$AH) ? this._$AA.nextSibling.data = t : this.k(l$2.createTextNode(t)), this._$AH = t;
1078
- }
1079
- T(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 = 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;
1090
- }
1091
- }
1092
- _$AC(t) {
1093
- let i = T.get(t.strings);
1094
- return void 0 === i && T.set(t.strings, i = new E(t)), i;
1095
- }
1096
- S(t) {
1097
- d(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 N(this.A(h()), this.A(h()), 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._$Cg = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
1114
- }
1115
- }
1116
- class S {
1117
- 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;
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 = P(this, t, i, 0), n = !r(t) || t !== this._$AH && t !== b, 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 = 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;
1133
- }
1134
- n && !e && this.C(t);
1135
- }
1136
- C(t) {
1137
- t === w ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
1138
- }
1139
- }
1140
- class M extends S {
1141
- constructor() {
1142
- super(...arguments), this.type = 3;
1143
- }
1144
- C(t) {
1145
- this.element[this.name] = t === w ? void 0 : t;
1146
- }
1147
- }
1148
- const k = i ? i.emptyScript : "";
1149
- class H extends S {
1150
- constructor() {
1151
- super(...arguments), this.type = 4;
1152
- }
1153
- C(t) {
1154
- t && t !== w ? this.element.setAttribute(this.name, k) : this.element.removeAttribute(this.name);
1155
- }
1156
- }
1157
- class I extends S {
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 = P(this, t, i, 0)) && void 0 !== s ? s : w) === b) return;
1164
- 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);
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 L {
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
- P(this, t);
1183
- }
1184
- }
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");
876
+ a.finalized = !0, a.elementProperties = new Map(), a.elementStyles = [], a.shadowRootOptions = {
877
+ mode: "open"
878
+ }, null == h || h({
879
+ ReactiveElement: a
880
+ }), (null !== (s$1 = globalThis.reactiveElementVersions) && void 0 !== s$1 ? s$1 : globalThis.reactiveElementVersions = []).push("1.3.1");
1187
881
 
1188
882
  /**
1189
883
  * @license
@@ -1191,11 +885,11 @@ null == z || z(E, N), (null !== (t = globalThis.litHtmlVersions) && void 0 !== t
1191
885
  * SPDX-License-Identifier: BSD-3-Clause
1192
886
  */
1193
887
  var l$1, o;
1194
- class s extends a$1 {
888
+ class s extends a {
1195
889
  constructor() {
1196
890
  super(...arguments), this.renderOptions = {
1197
891
  host: this
1198
- }, this._$Dt = void 0;
892
+ }, this._$Do = void 0;
1199
893
  }
1200
894
  createRenderRoot() {
1201
895
  var t, e;
@@ -1204,18 +898,18 @@ class s extends a$1 {
1204
898
  }
1205
899
  update(t) {
1206
900
  const i = this.render();
1207
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Dt = x(i, this.renderRoot, this.renderOptions);
901
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = B(i, this.renderRoot, this.renderOptions);
1208
902
  }
1209
903
  connectedCallback() {
1210
904
  var t;
1211
- super.connectedCallback(), null === (t = this._$Dt) || void 0 === t || t.setConnected(!0);
905
+ super.connectedCallback(), null === (t = this._$Do) || void 0 === t || t.setConnected(!0);
1212
906
  }
1213
907
  disconnectedCallback() {
1214
908
  var t;
1215
- super.disconnectedCallback(), null === (t = this._$Dt) || void 0 === t || t.setConnected(!1);
909
+ super.disconnectedCallback(), null === (t = this._$Do) || void 0 === t || t.setConnected(!1);
1216
910
  }
1217
911
  render() {
1218
- return b;
912
+ return T;
1219
913
  }
1220
914
  }
1221
915
  s.finalized = !0, s._$litElement$ = !0, null === (l$1 = globalThis.litElementHydrateSupport) || void 0 === l$1 || l$1.call(globalThis, {
@@ -1225,7 +919,7 @@ const n = globalThis.litElementPolyfillSupport;
1225
919
  null == n || n({
1226
920
  LitElement: s
1227
921
  });
1228
- (null !== (o = globalThis.litElementVersions) && void 0 !== o ? o : globalThis.litElementVersions = []).push("3.2.0");
922
+ (null !== (o = globalThis.litElementVersions) && void 0 !== o ? o : globalThis.litElementVersions = []).push("3.3.0");
1229
923
 
1230
924
  var noop = {
1231
925
  value: () => {}
@@ -3614,7 +3308,6 @@ Transform.prototype = {
3614
3308
  return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")";
3615
3309
  }
3616
3310
  };
3617
- new Transform(1, 0, 0);
3618
3311
  Transform.prototype;
3619
3312
 
3620
3313
  /*
@@ -3792,7 +3485,7 @@ class DecidablesElement extends s {
3792
3485
  const shadows = DecidablesElement.shadows; /* eslint-disable-line prefer-destructuring */
3793
3486
 
3794
3487
  const filters = shadows.elevations.map(z => {
3795
- return y`
3488
+ return b`
3796
3489
  <filter id=${`shadow-${z}`} x="-250%" y="-250%" width="600%" height="600%">
3797
3490
  <feComponentTransfer in="SourceAlpha" result="solid">
3798
3491
  <feFuncA type="table" tableValues="0 1 1"/>
@@ -3800,9 +3493,9 @@ class DecidablesElement extends s {
3800
3493
  <feOffset in="solid" result="offU" dx=${shadows.mapUmbra[z].y / 2} dy=${shadows.mapUmbra[z].y} />
3801
3494
  <feOffset in="solid" result="offP" dx=${shadows.mapPenumbra[z].y / 2} dy=${shadows.mapPenumbra[z].y} />
3802
3495
  <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)} />`}
3496
+ ${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)} />`}
3497
+ ${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)} />`}
3498
+ ${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
3499
  <feGaussianBlur in=${shadows.mapUmbra[z].s === 0 ? 'offU' : 'spreadU'} result="blurU" stdDeviation=${shadows.mapUmbra[z].b / 2} />
3807
3500
  <feGaussianBlur in=${shadows.mapPenumbra[z].s === 0 ? 'offP' : 'spreadP'} result="blurP" stdDeviation=${shadows.mapPenumbra[z].b / 2} />
3808
3501
  <feGaussianBlur in=${shadows.mapAmbient[z].s === 0 ? 'offA' : 'spreadA'} result="blurA" stdDeviation=${shadows.mapAmbient[z].b / 2} />
@@ -3824,7 +3517,7 @@ class DecidablesElement extends s {
3824
3517
  </feMerge>
3825
3518
  </filter>`;
3826
3519
  });
3827
- return y`
3520
+ return b`
3828
3521
  <svg class="defs">
3829
3522
  <defs>
3830
3523
  ${filters}
@@ -3833,24 +3526,24 @@ class DecidablesElement extends s {
3833
3526
  `;
3834
3527
  }
3835
3528
  static get styles() {
3836
- return r$2`
3529
+ return r$1`
3837
3530
  :host {
3838
- ---shadow-0: var(--shadow-0, ${o$3(this.cssBoxShadow(0))});
3839
- ---shadow-2: var(--shadow-2, ${o$3(this.cssBoxShadow(2))});
3840
- ---shadow-4: var(--shadow-4, ${o$3(this.cssBoxShadow(4))});
3841
- ---shadow-8: var(--shadow-8, ${o$3(this.cssBoxShadow(8))});
3842
-
3843
- ---color-background: var(--color-background, ${o$3(this.greys.white)});
3844
- ---color-border: var(--color-border, ${o$3(this.greys.light75)});
3845
- ---color-text: var(--color-text, ${o$3(this.greys.dark75)});
3846
- ---color-text-inverse: var(--color-text-inverse, ${o$3(this.greys.white)});
3847
- ---color-link: var(--color-link, ${o$3(this.greys.dark25)});
3848
- ---color-element-background: var(--color-element-background, ${o$3(this.greys.light75)});
3849
- ---color-element-disabled: var(--color-element-disabled, ${o$3(this.greys.light50)});
3850
- ---color-element-enabled: var(--color-element-enabled, ${o$3(this.greys.dark25)});
3851
- ---color-element-selected: var(--color-element-selected, ${o$3(this.greys.grey)});
3852
- ---color-element-border: var(--color-element-border, ${o$3(this.greys.dark50)});
3853
- ---color-element-emphasis: var(--color-element-emphasis, ${o$3(this.greys.dark75)});
3531
+ ---shadow-0: var(--shadow-0, ${o$2(this.cssBoxShadow(0))});
3532
+ ---shadow-2: var(--shadow-2, ${o$2(this.cssBoxShadow(2))});
3533
+ ---shadow-4: var(--shadow-4, ${o$2(this.cssBoxShadow(4))});
3534
+ ---shadow-8: var(--shadow-8, ${o$2(this.cssBoxShadow(8))});
3535
+
3536
+ ---color-background: var(--color-background, ${o$2(this.greys.white)});
3537
+ ---color-border: var(--color-border, ${o$2(this.greys.light75)});
3538
+ ---color-text: var(--color-text, ${o$2(this.greys.dark75)});
3539
+ ---color-text-inverse: var(--color-text-inverse, ${o$2(this.greys.white)});
3540
+ ---color-link: var(--color-link, ${o$2(this.greys.dark25)});
3541
+ ---color-element-background: var(--color-element-background, ${o$2(this.greys.light75)});
3542
+ ---color-element-disabled: var(--color-element-disabled, ${o$2(this.greys.light50)});
3543
+ ---color-element-enabled: var(--color-element-enabled, ${o$2(this.greys.dark25)});
3544
+ ---color-element-selected: var(--color-element-selected, ${o$2(this.greys.grey)});
3545
+ ---color-element-border: var(--color-element-border, ${o$2(this.greys.dark50)});
3546
+ ---color-element-emphasis: var(--color-element-emphasis, ${o$2(this.greys.dark75)});
3854
3547
 
3855
3548
  ---font-family-base: var(--font-family-base, "Source Sans", sans-serif);
3856
3549
  ---font-family-math: var(--font-family-math, "Source Serif", serif);
@@ -3911,7 +3604,7 @@ class DecidablesButton extends DecidablesElement {
3911
3604
  this.disabled = false;
3912
3605
  }
3913
3606
  static get styles() {
3914
- return [super.styles, r$2`
3607
+ return [super.styles, r$1`
3915
3608
  :host {
3916
3609
  margin: 0.25rem;
3917
3610
  }
@@ -3967,7 +3660,7 @@ class DecidablesButton extends DecidablesElement {
3967
3660
  `];
3968
3661
  }
3969
3662
  render() {
3970
- return $`
3663
+ return x`
3971
3664
  <button ?disabled=${this.disabled}>
3972
3665
  <slot></slot>
3973
3666
  </button>
@@ -3981,7 +3674,7 @@ customElements.define('decidables-button', DecidablesButton);
3981
3674
  * Copyright 2018 Google LLC
3982
3675
  * SPDX-License-Identifier: BSD-3-Clause
3983
3676
  */
3984
- const l = l => null != l ? l : b$1;
3677
+ const l = l => null != l ? l : A;
3985
3678
 
3986
3679
  class DecidablesSlider extends DecidablesElement {
3987
3680
  static get properties() {
@@ -4036,11 +3729,11 @@ class DecidablesSlider extends DecidablesElement {
4036
3729
  this.value = event.target.value;
4037
3730
  }
4038
3731
  static get styles() {
4039
- return [super.styles, r$2`
3732
+ return [super.styles, r$1`
4040
3733
  :host {
4041
- ---shadow-2-rotate: var(--shadow-2-rotate, ${o$3(this.cssBoxShadow(2, true, false))});
4042
- ---shadow-4-rotate: var(--shadow-4-rotate, ${o$3(this.cssBoxShadow(4, true, false))});
4043
- ---shadow-8-rotate: var(--shadow-8-rotate, ${o$3(this.cssBoxShadow(8, true, false))});
3734
+ ---shadow-2-rotate: var(--shadow-2-rotate, ${o$2(this.cssBoxShadow(2, true, false))});
3735
+ ---shadow-4-rotate: var(--shadow-4-rotate, ${o$2(this.cssBoxShadow(4, true, false))});
3736
+ ---shadow-8-rotate: var(--shadow-8-rotate, ${o$2(this.cssBoxShadow(8, true, false))});
4044
3737
 
4045
3738
  display: flex;
4046
3739
 
@@ -4289,7 +3982,7 @@ class DecidablesSlider extends DecidablesElement {
4289
3982
  `];
4290
3983
  }
4291
3984
  render() {
4292
- return $`
3985
+ return x`
4293
3986
  <label for="slider">
4294
3987
  <slot></slot>
4295
3988
  </label>
@@ -4346,7 +4039,7 @@ class DecidablesSpinner extends DecidablesElement {
4346
4039
  this.value = event.target.value;
4347
4040
  }
4348
4041
  static get styles() {
4349
- return [super.styles, r$2`
4042
+ return [super.styles, r$1`
4350
4043
  :host {
4351
4044
  ---decidables-spinner-font-size: var(--decidables-spinner-font-size, 1.125rem);
4352
4045
  ---decidables-spinner-input-width: var(--decidables-spinner-input-width, 4rem);
@@ -4428,7 +4121,7 @@ class DecidablesSpinner extends DecidablesElement {
4428
4121
  `];
4429
4122
  }
4430
4123
  render() {
4431
- return $`
4124
+ return x`
4432
4125
  <label>
4433
4126
  <slot></slot>
4434
4127
  <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)}>
@@ -4470,7 +4163,7 @@ class DecidablesSwitch extends DecidablesElement {
4470
4163
  }));
4471
4164
  }
4472
4165
  static get styles() {
4473
- return [super.styles, r$2`
4166
+ return [super.styles, r$1`
4474
4167
  :host {
4475
4168
  display: flex;
4476
4169
 
@@ -4592,7 +4285,7 @@ class DecidablesSwitch extends DecidablesElement {
4592
4285
  `];
4593
4286
  }
4594
4287
  render() {
4595
- return $`
4288
+ return x`
4596
4289
  <input type="checkbox" id="switch" ?checked=${this.checked} ?disabled=${this.disabled} @change=${this.changed.bind(this)}>
4597
4290
  <label for="switch">
4598
4291
  <slot name="off-label"></slot>
@@ -4622,7 +4315,7 @@ class DecidablesToggle extends DecidablesElement {
4622
4315
  this.disabled = false;
4623
4316
  }
4624
4317
  static get styles() {
4625
- return [super.styles, r$2`
4318
+ return [super.styles, r$1`
4626
4319
  fieldset {
4627
4320
  display: flex;
4628
4321
 
@@ -4642,7 +4335,7 @@ class DecidablesToggle extends DecidablesElement {
4642
4335
  `];
4643
4336
  }
4644
4337
  render() {
4645
- return $`
4338
+ return x`
4646
4339
  <fieldset ?disabled=${this.disabled}>
4647
4340
  <legend><slot name="label"></slot></legend>
4648
4341
  <slot></slot>
@@ -4697,7 +4390,7 @@ class DecidablesToggleOption extends DecidablesElement {
4697
4390
  }));
4698
4391
  }
4699
4392
  static get styles() {
4700
- return [super.styles, r$2`
4393
+ return [super.styles, r$1`
4701
4394
  :host {
4702
4395
  display: flex;
4703
4396
  }
@@ -4793,7 +4486,7 @@ class DecidablesToggleOption extends DecidablesElement {
4793
4486
  `];
4794
4487
  }
4795
4488
  render() {
4796
- return $`
4489
+ return x`
4797
4490
  <input type="radio" id="toggle-option" name=${this.name} value=${this.value} .checked=${this.checked} @change=${this.changed.bind(this)}>
4798
4491
  <label for="toggle-option">
4799
4492
  <slot></slot>