@decidables/detectable-elements 0.2.4 → 0.2.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.
@@ -3,21 +3,21 @@
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
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 {
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 {
11
11
  constructor(t, e, n) {
12
- if (this._$cssResult$ = !0, n !== s$5) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
12
+ if (this._$cssResult$ = !0, n !== s$6) 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$4 && void 0 === t) {
18
+ if (e$5 && void 0 === t) {
19
19
  const e = void 0 !== s && 1 === s.length;
20
- e && (t = n$5.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), e && n$5.set(s, t));
20
+ e && (t = n$6.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), e && n$6.set(s, t));
21
21
  }
22
22
  return t;
23
23
  }
@@ -25,18 +25,18 @@ let o$5 = class o {
25
25
  return this.cssText;
26
26
  }
27
27
  };
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 => {
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 => {
31
31
  const n = document.createElement("style"),
32
- o = t$2.litNonce;
32
+ o = t$3.litNonce;
33
33
  void 0 !== o && n.setAttribute("nonce", o), n.textContent = e.cssText, s.appendChild(n);
34
34
  });
35
35
  },
36
- c$1 = e$4 ? t => t : t => t instanceof CSSStyleSheet ? (t => {
36
+ c$2 = e$5 ? 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$4(e);
39
+ return r$5(e);
40
40
  })(t) : t;
41
41
 
42
42
  /**
@@ -44,16 +44,16 @@ const r$4 = t => new o$5("string" == typeof t ? t : t + "", void 0, s$5),
44
44
  * Copyright 2017 Google LLC
45
45
  * SPDX-License-Identifier: BSD-3-Clause
46
46
  */
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 = {
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 = {
53
53
  toAttribute(t, i) {
54
54
  switch (i) {
55
55
  case Boolean:
56
- t = t ? h$2 : null;
56
+ t = t ? h$3 : null;
57
57
  break;
58
58
  case Object:
59
59
  case Array:
@@ -81,15 +81,15 @@ const e$3 = window,
81
81
  return s;
82
82
  }
83
83
  },
84
- a$2 = (t, i) => i !== t && (i == i || t == t),
85
- l$4 = {
84
+ a$3 = (t, i) => i !== t && (i == i || t == t),
85
+ l$5 = {
86
86
  attribute: !0,
87
87
  type: String,
88
- converter: n$4,
88
+ converter: n$5,
89
89
  reflect: !1,
90
- hasChanged: a$2
90
+ hasChanged: a$3
91
91
  };
92
- let d$1 = class d extends HTMLElement {
92
+ let d$2 = 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$1 = 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$4) {
108
+ static createProperty(t, i = l$5) {
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$1 = class d extends HTMLElement {
126
126
  };
127
127
  }
128
128
  static getPropertyOptions(t) {
129
- return this.elementProperties.get(t) || l$4;
129
+ return this.elementProperties.get(t) || l$5;
130
130
  }
131
131
  static finalize() {
132
132
  if (this.hasOwnProperty("finalized")) return !1;
@@ -143,8 +143,8 @@ let d$1 = 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$1(i));
147
- } else void 0 !== i && s.push(c$1(i));
146
+ for (const i of e) s.unshift(c$2(i));
147
+ } else void 0 !== i && s.push(c$2(i));
148
148
  return s;
149
149
  }
150
150
  static _$Ep(t, i) {
@@ -171,7 +171,7 @@ let d$1 = 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$2(s, this.constructor.elementStyles), s;
174
+ return S$3(s, this.constructor.elementStyles), s;
175
175
  }
176
176
  connectedCallback() {
177
177
  var t;
@@ -191,11 +191,11 @@ let d$1 = class d extends HTMLElement {
191
191
  attributeChangedCallback(t, i, s) {
192
192
  this._$AK(t, s);
193
193
  }
194
- _$EO(t, i, s = l$4) {
194
+ _$EO(t, i, s = l$5) {
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$4).toAttribute(i, s.type);
198
+ const h = (void 0 !== (null === (e = s.converter) || void 0 === e ? void 0 : e.toAttribute) ? s.converter : n$5).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$1 = 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$4;
210
+ } : void 0 !== (null === (s = t.converter) || void 0 === s ? void 0 : s.fromAttribute) ? t.converter : n$5;
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$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());
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());
217
217
  }
218
218
  async _$Ej() {
219
219
  this.isUpdatePending = !0;
@@ -270,72 +270,67 @@ let d$1 = class d extends HTMLElement {
270
270
  updated(t) {}
271
271
  firstUpdated(t) {}
272
272
  };
273
- d$1.finalized = !0, d$1.elementProperties = new Map(), d$1.elementStyles = [], d$1.shadowRootOptions = {
273
+ d$2.finalized = !0, d$2.elementProperties = new Map(), d$2.elementStyles = [], d$2.shadowRootOptions = {
274
274
  mode: "open"
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");
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.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$1;
285
- const i$1 = window,
286
- s$3 = i$1.trustedTypes,
287
- e$2 = s$3 ? s$3.createPolicy("lit-html", {
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", {
288
288
  createHTML: t => t
289
289
  }) : void 0,
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$1 = /^(?:script|style|textarea|title)$/i,
307
- w = t => (i, ...s) => ({
308
- _$litType$: t,
309
- strings: i,
310
- values: s
311
- }),
312
- x$1 = 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) => {
319
- const s = t.length - 1,
320
- l = [];
321
- let r,
322
- d = 2 === i ? "<svg>" : "",
323
- u = f;
324
- for (let i = 0; i < s; i++) {
325
- const s = t[i];
326
- let e,
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$1.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);
333
- }
334
- const c = d + (t[s] || "<?>") + (2 === i ? "</svg>" : "");
335
- if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
336
- return [void 0 !== e$2 ? e$2.createHTML(c) : c, l];
337
- };
338
- class V {
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(""),
296
+ d$1 = t => null === t || "object" != typeof t && "function" != typeof t,
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$2 = /^(?: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$2.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 {
339
334
  constructor({
340
335
  strings: t,
341
336
  _$litType$: i
@@ -343,30 +338,30 @@ class V {
343
338
  let h;
344
339
  this.parts = [];
345
340
  let r = 0,
346
- u = 0;
341
+ d = 0;
347
342
  const c = t.length - 1,
348
343
  v = this.parts,
349
- [a, f] = P(t, i);
350
- if (this.el = V.createElement(a, e), C.currentNode = this.el.content, 2 === i) {
344
+ [a, f] = V$1(t, i);
345
+ if (this.el = N.createElement(a, e), C$1.currentNode = this.el.content, 2 === i) {
351
346
  const t = this.el.content,
352
347
  i = t.firstChild;
353
348
  i.remove(), t.append(...i.childNodes);
354
349
  }
355
- for (; null !== (h = C.nextNode()) && v.length < c;) {
350
+ for (; null !== (h = C$1.nextNode()) && v.length < c;) {
356
351
  if (1 === h.nodeType) {
357
352
  if (h.hasAttributes()) {
358
353
  const t = [];
359
- for (const i of h.getAttributeNames()) if (i.endsWith(o$3) || i.startsWith(n$3)) {
360
- const s = f[u++];
354
+ for (const i of h.getAttributeNames()) if (i.endsWith(o$4) || i.startsWith(n$4)) {
355
+ const s = f[d++];
361
356
  if (t.push(i), void 0 !== s) {
362
- const t = h.getAttribute(s.toLowerCase() + o$3).split(n$3),
357
+ const t = h.getAttribute(s.toLowerCase() + o$4).split(n$4),
363
358
  i = /([.?@])?(.*)/.exec(s);
364
359
  v.push({
365
360
  type: 1,
366
361
  index: r,
367
362
  name: i[2],
368
363
  strings: t,
369
- ctor: "." === i[1] ? k : "?" === i[1] ? I : "@" === i[1] ? L : R
364
+ ctor: "." === i[1] ? H$1 : "?" === i[1] ? L$1 : "@" === i[1] ? z$1 : k$1
370
365
  });
371
366
  } else v.push({
372
367
  type: 6,
@@ -375,46 +370,46 @@ class V {
375
370
  }
376
371
  for (const i of t) h.removeAttribute(i);
377
372
  }
378
- if (y$1.test(h.tagName)) {
379
- const t = h.textContent.split(n$3),
373
+ if (y$2.test(h.tagName)) {
374
+ const t = h.textContent.split(n$4),
380
375
  i = t.length - 1;
381
376
  if (i > 0) {
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({
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({
384
379
  type: 2,
385
380
  index: ++r
386
381
  });
387
- h.append(t[i], d());
382
+ h.append(t[i], u$1());
388
383
  }
389
384
  }
390
- } else if (8 === h.nodeType) if (h.data === l$3) v.push({
385
+ } else if (8 === h.nodeType) if (h.data === l$4) v.push({
391
386
  type: 2,
392
387
  index: r
393
388
  });else {
394
389
  let t = -1;
395
- for (; -1 !== (t = h.data.indexOf(n$3, t + 1));) v.push({
390
+ for (; -1 !== (t = h.data.indexOf(n$4, t + 1));) v.push({
396
391
  type: 7,
397
392
  index: r
398
- }), t += n$3.length - 1;
393
+ }), t += n$4.length - 1;
399
394
  }
400
395
  r++;
401
396
  }
402
397
  }
403
398
  static createElement(t, i) {
404
- const s = r$2.createElement("template");
399
+ const s = r$3.createElement("template");
405
400
  return s.innerHTML = t, s;
406
401
  }
407
- }
408
- function N(t, i, s = t, e) {
402
+ };
403
+ function S$2(t, i, s = t, e) {
409
404
  var o, n, l, h;
410
- if (i === T) return i;
405
+ if (i === T$1) return i;
411
406
  let r = void 0 !== e ? null === (o = s._$Co) || void 0 === o ? void 0 : o[e] : s._$Cl;
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;
407
+ const u = d$1(i) ? void 0 : i._$litDirective$;
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;
414
409
  }
415
- let S$1 = class S {
410
+ let M$1 = class M {
416
411
  constructor(t, i) {
417
- 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;
418
413
  }
419
414
  get parentNode() {
420
415
  return this._$AM.parentNode;
@@ -422,7 +417,7 @@ let S$1 = class S {
422
417
  get _$AU() {
423
418
  return this._$AM._$AU;
424
419
  }
425
- v(t) {
420
+ u(t) {
426
421
  var i;
427
422
  const {
428
423
  el: {
@@ -430,34 +425,34 @@ let S$1 = class S {
430
425
  },
431
426
  parts: e
432
427
  } = this._$AD,
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(),
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(),
436
431
  l = 0,
437
432
  h = 0,
438
- d = e[0];
439
- for (; void 0 !== d;) {
440
- if (l === d.index) {
433
+ u = e[0];
434
+ for (; void 0 !== u;) {
435
+ if (l === u.index) {
441
436
  let i;
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];
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];
443
438
  }
444
- l !== (null == d ? void 0 : d.index) && (n = C.nextNode(), l++);
439
+ l !== (null == u ? void 0 : u.index) && (n = C$1.nextNode(), l++);
445
440
  }
446
- return o;
441
+ return C$1.currentNode = r$3, o;
447
442
  }
448
- p(t) {
443
+ v(t) {
449
444
  let i = 0;
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++;
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++;
451
446
  }
452
447
  };
453
- class M {
448
+ let R$1 = class R {
454
449
  constructor(t, i, s, e) {
455
450
  var 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;
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;
457
452
  }
458
453
  get _$AU() {
459
454
  var t, i;
460
- 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;
461
456
  }
462
457
  get parentNode() {
463
458
  let t = this._$AA.parentNode;
@@ -471,40 +466,40 @@ class M {
471
466
  return this._$AB;
472
467
  }
473
468
  _$AI(t, i = this) {
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);
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);
475
470
  }
476
- S(t) {
471
+ k(t) {
477
472
  return this._$AA.parentNode.insertBefore(t, this._$AB);
478
473
  }
479
- T(t) {
480
- this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
474
+ $(t) {
475
+ this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
481
476
  }
482
- g(t) {
483
- this._$AH !== A && u(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$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;
484
479
  }
485
- $(t) {
480
+ g(t) {
486
481
  var i;
487
482
  const {
488
483
  values: s,
489
484
  _$litType$: e
490
485
  } = t,
491
- o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el = V.createElement(e.h, this.options)), e);
492
- if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.p(s);else {
493
- const t = new S$1(o, this),
494
- i = t.v(this.options);
495
- 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;
496
491
  }
497
492
  }
498
493
  _$AC(t) {
499
- let i = E.get(t.strings);
500
- return void 0 === i && E.set(t.strings, i = new V(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;
501
496
  }
502
- k(t) {
503
- c(this._$AH) || (this._$AH = [], this._$AR());
497
+ T(t) {
498
+ c$1(this._$AH) || (this._$AH = [], this._$AR());
504
499
  const i = this._$AH;
505
500
  let s,
506
501
  e = 0;
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++;
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++;
508
503
  e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
509
504
  }
510
505
  _$AR(t = this._$AA.nextSibling, i) {
@@ -516,12 +511,12 @@ class M {
516
511
  }
517
512
  setConnected(t) {
518
513
  var i;
519
- 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));
520
515
  }
521
- }
522
- class R {
516
+ };
517
+ let k$1 = class k {
523
518
  constructor(t, i, s, e, o) {
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;
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;
525
520
  }
526
521
  get tagName() {
527
522
  return this.element.tagName;
@@ -532,52 +527,52 @@ class R {
532
527
  _$AI(t, i = this, s, e) {
533
528
  const o = this.strings;
534
529
  let n = !1;
535
- if (void 0 === o) t = N(this, t, i, 0), n = !u(t) || t !== this._$AH && t !== T, 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 {
536
531
  const e = t;
537
532
  let 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;
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;
539
534
  }
540
535
  n && !e && this.j(t);
541
536
  }
542
537
  j(t) {
543
- t === A ? 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 : "");
544
539
  }
545
- }
546
- class k extends R {
540
+ };
541
+ let H$1 = class H extends k$1 {
547
542
  constructor() {
548
543
  super(...arguments), this.type = 3;
549
544
  }
550
545
  j(t) {
551
- this.element[this.name] = t === A ? void 0 : t;
546
+ this.element[this.name] = t === A$1 ? void 0 : t;
552
547
  }
553
- }
554
- const H = s$3 ? s$3.emptyScript : "";
555
- class I extends R {
548
+ };
549
+ const I$1 = s$4 ? s$4.emptyScript : "";
550
+ let L$1 = class L extends k$1 {
556
551
  constructor() {
557
552
  super(...arguments), this.type = 4;
558
553
  }
559
554
  j(t) {
560
- t && t !== A ? this.element.setAttribute(this.name, H) : this.element.removeAttribute(this.name);
555
+ t && t !== A$1 ? this.element.setAttribute(this.name, I$1) : this.element.removeAttribute(this.name);
561
556
  }
562
- }
563
- class L extends R {
557
+ };
558
+ let z$1 = class z extends k$1 {
564
559
  constructor(t, i, s, e, o) {
565
560
  super(t, i, s, e, o), this.type = 5;
566
561
  }
567
562
  _$AI(t, i = this) {
568
563
  var s;
569
- if ((t = null !== (s = N(this, t, i, 0)) && void 0 !== s ? s : A) === T) return;
564
+ if ((t = null !== (s = S$2(this, t, i, 0)) && void 0 !== s ? s : A$1) === T$1) return;
570
565
  const e = this._$AH,
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);
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);
573
568
  o && this.element.removeEventListener(this.name, this, e), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
574
569
  }
575
570
  handleEvent(t) {
576
571
  var i, s;
577
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);
578
573
  }
579
- }
580
- class z {
574
+ };
575
+ class Z {
581
576
  constructor(t, i, s) {
582
577
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
583
578
  }
@@ -585,63 +580,53 @@ class z {
585
580
  return this._$AM._$AU;
586
581
  }
587
582
  _$AI(t) {
588
- N(this, t);
583
+ S$2(this, t);
589
584
  }
590
585
  }
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 : {});
600
- }
601
- return l._$AI(t), l;
602
- };
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");
603
588
 
604
589
  /**
605
590
  * @license
606
591
  * Copyright 2019 Google LLC
607
592
  * SPDX-License-Identifier: BSD-3-Clause
608
593
  */
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
+ const t$1 = window.ShadowRoot && (void 0 === window.ShadyCSS || window.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
595
+ e$2 = Symbol(),
596
+ n$3 = new Map();
597
+ let s$3 = class s {
613
598
  constructor(t, n) {
614
- if (this._$cssResult$ = !0, n !== e$1) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
599
+ if (this._$cssResult$ = !0, n !== e$2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
615
600
  this.cssText = t;
616
601
  }
617
602
  get styleSheet() {
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;
603
+ let e = n$3.get(this.cssText);
604
+ return t$1 && void 0 === e && (n$3.set(this.cssText, e = new CSSStyleSheet()), e.replaceSync(this.cssText)), e;
620
605
  }
621
606
  toString() {
622
607
  return this.cssText;
623
608
  }
624
609
  };
625
- const o$2 = t => new s$2("string" == typeof t ? t : t + "", e$1),
626
- r$1 = (t, ...n) => {
610
+ const o$3 = t => new s$3("string" == typeof t ? t : t + "", e$2),
611
+ r$2 = (t, ...n) => {
627
612
  const o = 1 === t.length ? t[0] : n.reduce((e, n, s) => e + (t => {
628
613
  if (!0 === t._$cssResult$) return t.cssText;
629
614
  if ("number" == typeof t) return t;
630
615
  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.");
631
616
  })(n) + t[s + 1], t[0]);
632
- return new s$2(o, e$1);
617
+ return new s$3(o, e$2);
633
618
  },
634
- i = (e, n) => {
635
- t ? e.adoptedStyleSheets = n.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet) : n.forEach(t => {
619
+ i$1 = (e, n) => {
620
+ t$1 ? e.adoptedStyleSheets = n.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet) : n.forEach(t => {
636
621
  const n = document.createElement("style"),
637
622
  s = window.litNonce;
638
623
  void 0 !== s && n.setAttribute("nonce", s), n.textContent = t.cssText, e.appendChild(n);
639
624
  });
640
625
  },
641
- S = t ? t => t : t => t instanceof CSSStyleSheet ? (t => {
626
+ S$1 = t$1 ? t => t : t => t instanceof CSSStyleSheet ? (t => {
642
627
  let e = "";
643
628
  for (const n of t.cssRules) e += n.cssText;
644
- return o$2(e);
629
+ return o$3(e);
645
630
  })(t) : t;
646
631
 
647
632
  /**
@@ -649,15 +634,15 @@ const o$2 = t => new s$2("string" == typeof t ? t : t + "", e$1),
649
634
  * Copyright 2017 Google LLC
650
635
  * SPDX-License-Identifier: BSD-3-Clause
651
636
  */
652
- var s$1;
653
- const e = window.trustedTypes,
654
- r = e ? e.emptyScript : "",
655
- h = window.reactiveElementPolyfillSupport,
656
- o$1 = {
637
+ var s$2;
638
+ const e$1 = window.trustedTypes,
639
+ r$1 = e$1 ? e$1.emptyScript : "",
640
+ h$1 = window.reactiveElementPolyfillSupport,
641
+ o$2 = {
657
642
  toAttribute(t, i) {
658
643
  switch (i) {
659
644
  case Boolean:
660
- t = t ? r : null;
645
+ t = t ? r$1 : null;
661
646
  break;
662
647
  case Object:
663
648
  case Array:
@@ -685,15 +670,15 @@ const e = window.trustedTypes,
685
670
  return s;
686
671
  }
687
672
  },
688
- n$1 = (t, i) => i !== t && (i == i || t == t),
689
- l$2 = {
673
+ n$2 = (t, i) => i !== t && (i == i || t == t),
674
+ l$3 = {
690
675
  attribute: !0,
691
676
  type: String,
692
- converter: o$1,
677
+ converter: o$2,
693
678
  reflect: !1,
694
- hasChanged: n$1
679
+ hasChanged: n$2
695
680
  };
696
- class a extends HTMLElement {
681
+ let a$1 = class a extends HTMLElement {
697
682
  constructor() {
698
683
  super(), this._$Et = new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$Ei = null, this.o();
699
684
  }
@@ -709,7 +694,7 @@ class a extends HTMLElement {
709
694
  void 0 !== e && (this._$Eu.set(e, s), t.push(e));
710
695
  }), t;
711
696
  }
712
- static createProperty(t, i = l$2) {
697
+ static createProperty(t, i = l$3) {
713
698
  if (i.state && (i.attribute = !1), this.finalize(), this.elementProperties.set(t, i), !i.noAccessor && !this.prototype.hasOwnProperty(t)) {
714
699
  const s = "symbol" == typeof t ? Symbol() : "__" + t,
715
700
  e = this.getPropertyDescriptor(t, s, i);
@@ -730,7 +715,7 @@ class a extends HTMLElement {
730
715
  };
731
716
  }
732
717
  static getPropertyOptions(t) {
733
- return this.elementProperties.get(t) || l$2;
718
+ return this.elementProperties.get(t) || l$3;
734
719
  }
735
720
  static finalize() {
736
721
  if (this.hasOwnProperty("finalized")) return !1;
@@ -747,8 +732,8 @@ class a extends HTMLElement {
747
732
  const s = [];
748
733
  if (Array.isArray(i)) {
749
734
  const e = new Set(i.flat(1 / 0).reverse());
750
- for (const i of e) s.unshift(S(i));
751
- } else void 0 !== i && s.push(S(i));
735
+ for (const i of e) s.unshift(S$1(i));
736
+ } else void 0 !== i && s.push(S$1(i));
752
737
  return s;
753
738
  }
754
739
  static _$Eh(t, i) {
@@ -775,7 +760,7 @@ class a extends HTMLElement {
775
760
  createRenderRoot() {
776
761
  var t;
777
762
  const s = null !== (t = this.shadowRoot) && void 0 !== t ? t : this.attachShadow(this.constructor.shadowRootOptions);
778
- return i(s, this.constructor.elementStyles), s;
763
+ return i$1(s, this.constructor.elementStyles), s;
779
764
  }
780
765
  connectedCallback() {
781
766
  var t;
@@ -795,11 +780,11 @@ class a extends HTMLElement {
795
780
  attributeChangedCallback(t, i, s) {
796
781
  this._$AK(t, s);
797
782
  }
798
- _$ES(t, i, s = l$2) {
783
+ _$ES(t, i, s = l$3) {
799
784
  var e, r;
800
785
  const h = this.constructor._$Eh(t, s);
801
786
  if (void 0 !== h && !0 === s.reflect) {
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);
787
+ 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);
803
788
  this._$Ei = t, null == n ? this.removeAttribute(h) : this.setAttribute(h, n), this._$Ei = null;
804
789
  }
805
790
  }
@@ -810,13 +795,13 @@ class a extends HTMLElement {
810
795
  if (void 0 !== n && this._$Ei !== n) {
811
796
  const t = h.getPropertyOptions(n),
812
797
  l = t.converter,
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;
798
+ 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;
814
799
  this._$Ei = n, this[n] = a(i, t.type), this._$Ei = null;
815
800
  }
816
801
  }
817
802
  requestUpdate(t, i, s) {
818
803
  let e = !0;
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_());
804
+ 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_());
820
805
  }
821
806
  async _$E_() {
822
807
  this.isUpdatePending = !0;
@@ -872,12 +857,337 @@ class a extends HTMLElement {
872
857
  }
873
858
  updated(t) {}
874
859
  firstUpdated(t) {}
875
- }
876
- a.finalized = !0, a.elementProperties = new Map(), a.elementStyles = [], a.shadowRootOptions = {
860
+ };
861
+ a$1.finalized = !0, a$1.elementProperties = new Map(), a$1.elementStyles = [], a$1.shadowRootOptions = {
877
862
  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");
863
+ }, null == h$1 || h$1({
864
+ ReactiveElement: a$1
865
+ }), (null !== (s$2 = globalThis.reactiveElementVersions) && void 0 !== s$2 ? s$2 : globalThis.reactiveElementVersions = []).push("1.3.1");
866
+
867
+ /**
868
+ * @license
869
+ * Copyright 2017 Google LLC
870
+ * SPDX-License-Identifier: BSD-3-Clause
871
+ */
872
+ var t;
873
+ const i = window,
874
+ s$1 = i.trustedTypes,
875
+ e = s$1 ? s$1.createPolicy("lit-html", {
876
+ createHTML: t => t
877
+ }) : void 0,
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$1 = /^(?:script|style|textarea|title)$/i,
895
+ w = t => (i, ...s) => ({
896
+ _$litType$: t,
897
+ strings: i,
898
+ values: s
899
+ }),
900
+ x$1 = 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,
908
+ l = [];
909
+ let r,
910
+ d = 2 === i ? "<svg>" : "",
911
+ u = f;
912
+ for (let i = 0; i < s; i++) {
913
+ const s = t[i];
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$1.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);
921
+ }
922
+ const c = d + (t[s] || "<?>") + (2 === i ? "</svg>" : "");
923
+ if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
924
+ return [void 0 !== e ? e.createHTML(c) : c, l];
925
+ };
926
+ class V {
927
+ constructor({
928
+ strings: t,
929
+ _$litType$: i
930
+ }, e) {
931
+ let h;
932
+ this.parts = [];
933
+ let r = 0,
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) {
939
+ const t = this.el.content,
940
+ i = t.firstChild;
941
+ i.remove(), t.append(...i.childNodes);
942
+ }
943
+ for (; null !== (h = C.nextNode()) && v.length < c;) {
944
+ if (1 === h.nodeType) {
945
+ if (h.hasAttributes()) {
946
+ const t = [];
947
+ for (const i of h.getAttributeNames()) if (i.endsWith(o$1) || i.startsWith(n$1)) {
948
+ const s = f[u++];
949
+ if (t.push(i), void 0 !== s) {
950
+ const t = h.getAttribute(s.toLowerCase() + o$1).split(n$1),
951
+ i = /([.?@])?(.*)/.exec(s);
952
+ v.push({
953
+ type: 1,
954
+ index: r,
955
+ name: i[2],
956
+ strings: t,
957
+ ctor: "." === i[1] ? k : "?" === i[1] ? I : "@" === i[1] ? L : R
958
+ });
959
+ } else v.push({
960
+ type: 6,
961
+ index: r
962
+ });
963
+ }
964
+ for (const i of t) h.removeAttribute(i);
965
+ }
966
+ if (y$1.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({
972
+ type: 2,
973
+ index: ++r
974
+ });
975
+ h.append(t[i], d());
976
+ }
977
+ }
978
+ } else if (8 === h.nodeType) if (h.data === l$2) v.push({
979
+ type: 2,
980
+ index: r
981
+ });else {
982
+ let t = -1;
983
+ for (; -1 !== (t = h.data.indexOf(n$1, t + 1));) v.push({
984
+ type: 7,
985
+ index: r
986
+ }), t += n$1.length - 1;
987
+ }
988
+ r++;
989
+ }
990
+ }
991
+ static createElement(t, i) {
992
+ const s = r.createElement("template");
993
+ return s.innerHTML = t, s;
994
+ }
995
+ }
996
+ function N(t, i, s = t, e) {
997
+ var o, n, l, h;
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;
1002
+ }
1003
+ class S {
1004
+ constructor(t, i) {
1005
+ this.u = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
1006
+ }
1007
+ get parentNode() {
1008
+ return this._$AM.parentNode;
1009
+ }
1010
+ get _$AU() {
1011
+ return this._$AM._$AU;
1012
+ }
1013
+ v(t) {
1014
+ var i;
1015
+ const {
1016
+ el: {
1017
+ content: s
1018
+ },
1019
+ parts: e
1020
+ } = this._$AD,
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,
1025
+ h = 0,
1026
+ d = e[0];
1027
+ for (; void 0 !== d;) {
1028
+ if (l === d.index) {
1029
+ let i;
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];
1031
+ }
1032
+ l !== (null == d ? void 0 : d.index) && (n = C.nextNode(), l++);
1033
+ }
1034
+ return o;
1035
+ }
1036
+ p(t) {
1037
+ let i = 0;
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++;
1039
+ }
1040
+ }
1041
+ class M {
1042
+ constructor(t, i, s, e) {
1043
+ var 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;
1045
+ }
1046
+ get _$AU() {
1047
+ var t, i;
1048
+ return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cm;
1049
+ }
1050
+ get parentNode() {
1051
+ let t = this._$AA.parentNode;
1052
+ const i = this._$AM;
1053
+ return void 0 !== i && 11 === (null == t ? void 0 : t.nodeType) && (t = i.parentNode), t;
1054
+ }
1055
+ get startNode() {
1056
+ return this._$AA;
1057
+ }
1058
+ get endNode() {
1059
+ return this._$AB;
1060
+ }
1061
+ _$AI(t, i = this) {
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);
1063
+ }
1064
+ S(t) {
1065
+ return this._$AA.parentNode.insertBefore(t, this._$AB);
1066
+ }
1067
+ T(t) {
1068
+ this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
1069
+ }
1070
+ g(t) {
1071
+ this._$AH !== A && u(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r.createTextNode(t)), this._$AH = t;
1072
+ }
1073
+ $(t) {
1074
+ var i;
1075
+ const {
1076
+ values: s,
1077
+ _$litType$: e
1078
+ } = 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;
1084
+ }
1085
+ }
1086
+ _$AC(t) {
1087
+ let i = E.get(t.strings);
1088
+ return void 0 === i && E.set(t.strings, i = new V(t)), i;
1089
+ }
1090
+ k(t) {
1091
+ c(this._$AH) || (this._$AH = [], this._$AR());
1092
+ const i = this._$AH;
1093
+ let s,
1094
+ e = 0;
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++;
1096
+ e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
1097
+ }
1098
+ _$AR(t = this._$AA.nextSibling, i) {
1099
+ var s;
1100
+ for (null === (s = this._$AP) || void 0 === s || s.call(this, !1, !0, i); t && t !== this._$AB;) {
1101
+ const i = t.nextSibling;
1102
+ t.remove(), t = i;
1103
+ }
1104
+ }
1105
+ setConnected(t) {
1106
+ var i;
1107
+ void 0 === this._$AM && (this._$Cm = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
1108
+ }
1109
+ }
1110
+ class R {
1111
+ constructor(t, i, s, e, o) {
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;
1113
+ }
1114
+ get tagName() {
1115
+ return this.element.tagName;
1116
+ }
1117
+ get _$AU() {
1118
+ return this._$AM._$AU;
1119
+ }
1120
+ _$AI(t, i = this, s, e) {
1121
+ const o = this.strings;
1122
+ let n = !1;
1123
+ if (void 0 === o) t = N(this, t, i, 0), n = !u(t) || t !== this._$AH && t !== T, n && (this._$AH = t);else {
1124
+ const e = t;
1125
+ let 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;
1127
+ }
1128
+ n && !e && this.j(t);
1129
+ }
1130
+ j(t) {
1131
+ t === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
1132
+ }
1133
+ }
1134
+ class k extends R {
1135
+ constructor() {
1136
+ super(...arguments), this.type = 3;
1137
+ }
1138
+ j(t) {
1139
+ this.element[this.name] = t === A ? void 0 : t;
1140
+ }
1141
+ }
1142
+ const H = s$1 ? s$1.emptyScript : "";
1143
+ class I extends R {
1144
+ constructor() {
1145
+ super(...arguments), this.type = 4;
1146
+ }
1147
+ j(t) {
1148
+ t && t !== A ? this.element.setAttribute(this.name, H) : this.element.removeAttribute(this.name);
1149
+ }
1150
+ }
1151
+ class L extends R {
1152
+ constructor(t, i, s, e, o) {
1153
+ super(t, i, s, e, o), this.type = 5;
1154
+ }
1155
+ _$AI(t, i = this) {
1156
+ var s;
1157
+ if ((t = null !== (s = N(this, t, i, 0)) && void 0 !== s ? s : A) === T) return;
1158
+ const e = this._$AH,
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);
1161
+ o && this.element.removeEventListener(this.name, this, e), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
1162
+ }
1163
+ handleEvent(t) {
1164
+ var i, s;
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);
1166
+ }
1167
+ }
1168
+ class z {
1169
+ constructor(t, i, s) {
1170
+ this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
1171
+ }
1172
+ get _$AU() {
1173
+ return this._$AM._$AU;
1174
+ }
1175
+ _$AI(t) {
1176
+ N(this, t);
1177
+ }
1178
+ }
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
+ };
881
1191
 
882
1192
  /**
883
1193
  * @license
@@ -885,7 +1195,7 @@ a.finalized = !0, a.elementProperties = new Map(), a.elementStyles = [], a.shado
885
1195
  * SPDX-License-Identifier: BSD-3-Clause
886
1196
  */
887
1197
  var l$1, o;
888
- class s extends a {
1198
+ class s extends a$1 {
889
1199
  constructor() {
890
1200
  super(...arguments), this.renderOptions = {
891
1201
  host: this
@@ -6381,24 +6691,24 @@ class DecidablesElement extends s {
6381
6691
  `;
6382
6692
  }
6383
6693
  static get styles() {
6384
- return r$1`
6694
+ return r$2`
6385
6695
  :host {
6386
- ---shadow-0: var(--shadow-0, ${o$2(this.cssBoxShadow(0))});
6387
- ---shadow-2: var(--shadow-2, ${o$2(this.cssBoxShadow(2))});
6388
- ---shadow-4: var(--shadow-4, ${o$2(this.cssBoxShadow(4))});
6389
- ---shadow-8: var(--shadow-8, ${o$2(this.cssBoxShadow(8))});
6390
-
6391
- ---color-background: var(--color-background, ${o$2(this.greys.white)});
6392
- ---color-border: var(--color-border, ${o$2(this.greys.light75)});
6393
- ---color-text: var(--color-text, ${o$2(this.greys.dark75)});
6394
- ---color-text-inverse: var(--color-text-inverse, ${o$2(this.greys.white)});
6395
- ---color-link: var(--color-link, ${o$2(this.greys.dark25)});
6396
- ---color-element-background: var(--color-element-background, ${o$2(this.greys.light75)});
6397
- ---color-element-disabled: var(--color-element-disabled, ${o$2(this.greys.light50)});
6398
- ---color-element-enabled: var(--color-element-enabled, ${o$2(this.greys.dark25)});
6399
- ---color-element-selected: var(--color-element-selected, ${o$2(this.greys.grey)});
6400
- ---color-element-border: var(--color-element-border, ${o$2(this.greys.dark50)});
6401
- ---color-element-emphasis: var(--color-element-emphasis, ${o$2(this.greys.dark75)});
6696
+ ---shadow-0: var(--shadow-0, ${o$3(this.cssBoxShadow(0))});
6697
+ ---shadow-2: var(--shadow-2, ${o$3(this.cssBoxShadow(2))});
6698
+ ---shadow-4: var(--shadow-4, ${o$3(this.cssBoxShadow(4))});
6699
+ ---shadow-8: var(--shadow-8, ${o$3(this.cssBoxShadow(8))});
6700
+
6701
+ ---color-background: var(--color-background, ${o$3(this.greys.white)});
6702
+ ---color-border: var(--color-border, ${o$3(this.greys.light75)});
6703
+ ---color-text: var(--color-text, ${o$3(this.greys.dark75)});
6704
+ ---color-text-inverse: var(--color-text-inverse, ${o$3(this.greys.white)});
6705
+ ---color-link: var(--color-link, ${o$3(this.greys.dark25)});
6706
+ ---color-element-background: var(--color-element-background, ${o$3(this.greys.light75)});
6707
+ ---color-element-disabled: var(--color-element-disabled, ${o$3(this.greys.light50)});
6708
+ ---color-element-enabled: var(--color-element-enabled, ${o$3(this.greys.dark25)});
6709
+ ---color-element-selected: var(--color-element-selected, ${o$3(this.greys.grey)});
6710
+ ---color-element-border: var(--color-element-border, ${o$3(this.greys.dark50)});
6711
+ ---color-element-emphasis: var(--color-element-emphasis, ${o$3(this.greys.dark75)});
6402
6712
 
6403
6713
  ---font-family-base: var(--font-family-base, "Source Sans", sans-serif);
6404
6714
  ---font-family-math: var(--font-family-math, "Source Serif", serif);
@@ -6459,7 +6769,7 @@ class DecidablesButton extends DecidablesElement {
6459
6769
  this.disabled = false;
6460
6770
  }
6461
6771
  static get styles() {
6462
- return [super.styles, r$1`
6772
+ return [super.styles, r$2`
6463
6773
  :host {
6464
6774
  margin: 0.25rem;
6465
6775
  }
@@ -6529,7 +6839,7 @@ customElements.define('decidables-button', DecidablesButton);
6529
6839
  * Copyright 2018 Google LLC
6530
6840
  * SPDX-License-Identifier: BSD-3-Clause
6531
6841
  */
6532
- const l = l => null != l ? l : A;
6842
+ const l = l => null != l ? l : A$1;
6533
6843
 
6534
6844
  class DecidablesSlider extends DecidablesElement {
6535
6845
  static get properties() {
@@ -6584,11 +6894,11 @@ class DecidablesSlider extends DecidablesElement {
6584
6894
  this.value = event.target.value;
6585
6895
  }
6586
6896
  static get styles() {
6587
- return [super.styles, r$1`
6897
+ return [super.styles, r$2`
6588
6898
  :host {
6589
- ---shadow-2-rotate: var(--shadow-2-rotate, ${o$2(this.cssBoxShadow(2, true, false))});
6590
- ---shadow-4-rotate: var(--shadow-4-rotate, ${o$2(this.cssBoxShadow(4, true, false))});
6591
- ---shadow-8-rotate: var(--shadow-8-rotate, ${o$2(this.cssBoxShadow(8, true, false))});
6899
+ ---shadow-2-rotate: var(--shadow-2-rotate, ${o$3(this.cssBoxShadow(2, true, false))});
6900
+ ---shadow-4-rotate: var(--shadow-4-rotate, ${o$3(this.cssBoxShadow(4, true, false))});
6901
+ ---shadow-8-rotate: var(--shadow-8-rotate, ${o$3(this.cssBoxShadow(8, true, false))});
6592
6902
 
6593
6903
  display: flex;
6594
6904
 
@@ -6894,7 +7204,7 @@ class DecidablesSpinner extends DecidablesElement {
6894
7204
  this.value = event.target.value;
6895
7205
  }
6896
7206
  static get styles() {
6897
- return [super.styles, r$1`
7207
+ return [super.styles, r$2`
6898
7208
  :host {
6899
7209
  ---decidables-spinner-font-size: var(--decidables-spinner-font-size, 1.125rem);
6900
7210
  ---decidables-spinner-input-width: var(--decidables-spinner-input-width, 4rem);
@@ -7018,7 +7328,7 @@ class DecidablesSwitch extends DecidablesElement {
7018
7328
  }));
7019
7329
  }
7020
7330
  static get styles() {
7021
- return [super.styles, r$1`
7331
+ return [super.styles, r$2`
7022
7332
  :host {
7023
7333
  display: flex;
7024
7334
 
@@ -7170,7 +7480,7 @@ class DecidablesToggle extends DecidablesElement {
7170
7480
  this.disabled = false;
7171
7481
  }
7172
7482
  static get styles() {
7173
- return [super.styles, r$1`
7483
+ return [super.styles, r$2`
7174
7484
  fieldset {
7175
7485
  display: flex;
7176
7486
 
@@ -7245,7 +7555,7 @@ class DecidablesToggleOption extends DecidablesElement {
7245
7555
  }));
7246
7556
  }
7247
7557
  static get styles() {
7248
- return [super.styles, r$1`
7558
+ return [super.styles, r$2`
7249
7559
  :host {
7250
7560
  display: flex;
7251
7561
  }
@@ -7431,55 +7741,55 @@ class DetectableElement extends DecidablesElement {
7431
7741
  }, {});
7432
7742
  }
7433
7743
  static get styles() {
7434
- return [super.styles, r$1`
7744
+ return [super.styles, r$2`
7435
7745
  :host {
7436
- ---color-h: var(--color-h, ${o$2(this.colors.h)});
7437
- ---color-m: var(--color-m, ${o$2(this.colors.m)});
7438
- ---color-fa: var(--color-fa, ${o$2(this.colors.fa)});
7439
- ---color-cr: var(--color-cr, ${o$2(this.colors.cr)});
7440
- ---color-hr: var(--color-hr, ${o$2(this.colors.hr)});
7441
- ---color-far: var(--color-far, ${o$2(this.colors.far)});
7442
- ---color-acc: var(--color-acc, ${o$2(this.colors.acc)});
7443
- ---color-d: var(--color-d, ${o$2(this.colors.d)});
7444
- ---color-c: var(--color-c, ${o$2(this.colors.c)});
7445
- ---color-s: var(--color-s, ${o$2(this.colors.s)});
7446
- ---color-present: var(--color-present, ${o$2(this.colors.present)});
7447
- ---color-absent: var(--color-absent, ${o$2(this.colors.absent)});
7448
- ---color-correct: var(--color-correct, ${o$2(this.colors.correct)});
7449
- ---color-error: var(--color-error, ${o$2(this.colors.error)});
7450
- ---color-nr: var(--color-nr, ${o$2(this.colors.nr)});
7451
-
7452
- ---color-h-light: var(--color-h-light, ${o$2(this.lights.h)});
7453
- ---color-m-light: var(--color-m-light, ${o$2(this.lights.m)});
7454
- ---color-fa-light: var(--color-fa-light, ${o$2(this.lights.fa)});
7455
- ---color-cr-light: var(--color-cr-light, ${o$2(this.lights.cr)});
7456
- ---color-hr-light: var(--color-hr-light, ${o$2(this.lights.hr)});
7457
- ---color-far-light: var(--color-far-light, ${o$2(this.lights.far)});
7458
- ---color-acc-light: var(--color-acc-light, ${o$2(this.lights.acc)});
7459
- ---color-d-light: var(--color-d-light, ${o$2(this.lights.d)});
7460
- ---color-c-light: var(--color-c-light, ${o$2(this.lights.c)});
7461
- ---color-s-light: var(--color-s-light, ${o$2(this.lights.s)});
7462
- ---color-present-light: var(--color-present-light, ${o$2(this.lights.present)});
7463
- ---color-absent-light: var(--color-absent-light, ${o$2(this.lights.absent)});
7464
- ---color-correct-light: var(--color-correct-light, ${o$2(this.lights.correct)});
7465
- ---color-error-light: var(--color-error-light, ${o$2(this.lights.error)});
7466
- ---color-nr-light: var(--color-nr-light, ${o$2(this.lights.nr)});
7467
-
7468
- ---color-h-dark: var(--color-h-dark, ${o$2(this.darks.h)});
7469
- ---color-m-dark: var(--color-m-dark, ${o$2(this.darks.m)});
7470
- ---color-fa-dark: var(--color-fa-dark, ${o$2(this.darks.fa)});
7471
- ---color-cr-dark: var(--color-cr-dark, ${o$2(this.darks.cr)});
7472
- ---color-hr-dark: var(--color-hr-dark, ${o$2(this.darks.hr)});
7473
- ---color-far-dark: var(--color-far-dark, ${o$2(this.darks.far)});
7474
- ---color-acc-dark: var(--color-acc-dark, ${o$2(this.darks.acc)});
7475
- ---color-d-dark: var(--color-d-dark, ${o$2(this.darks.d)});
7476
- ---color-c-dark: var(--color-c-dark, ${o$2(this.darks.c)});
7477
- ---color-s-dark: var(--color-s-dark, ${o$2(this.darks.s)});
7478
- ---color-present-dark: var(--color-present-dark, ${o$2(this.darks.present)});
7479
- ---color-absent-dark: var(--color-absent-dark, ${o$2(this.darks.absent)});
7480
- ---color-correct-dark: var(--color-correct-dark, ${o$2(this.darks.correct)});
7481
- ---color-error-dark: var(--color-error-dark, ${o$2(this.darks.error)});
7482
- ---color-nr-dark: var(--color-nr-dark, ${o$2(this.darks.nr)});
7746
+ ---color-h: var(--color-h, ${o$3(this.colors.h)});
7747
+ ---color-m: var(--color-m, ${o$3(this.colors.m)});
7748
+ ---color-fa: var(--color-fa, ${o$3(this.colors.fa)});
7749
+ ---color-cr: var(--color-cr, ${o$3(this.colors.cr)});
7750
+ ---color-hr: var(--color-hr, ${o$3(this.colors.hr)});
7751
+ ---color-far: var(--color-far, ${o$3(this.colors.far)});
7752
+ ---color-acc: var(--color-acc, ${o$3(this.colors.acc)});
7753
+ ---color-d: var(--color-d, ${o$3(this.colors.d)});
7754
+ ---color-c: var(--color-c, ${o$3(this.colors.c)});
7755
+ ---color-s: var(--color-s, ${o$3(this.colors.s)});
7756
+ ---color-present: var(--color-present, ${o$3(this.colors.present)});
7757
+ ---color-absent: var(--color-absent, ${o$3(this.colors.absent)});
7758
+ ---color-correct: var(--color-correct, ${o$3(this.colors.correct)});
7759
+ ---color-error: var(--color-error, ${o$3(this.colors.error)});
7760
+ ---color-nr: var(--color-nr, ${o$3(this.colors.nr)});
7761
+
7762
+ ---color-h-light: var(--color-h-light, ${o$3(this.lights.h)});
7763
+ ---color-m-light: var(--color-m-light, ${o$3(this.lights.m)});
7764
+ ---color-fa-light: var(--color-fa-light, ${o$3(this.lights.fa)});
7765
+ ---color-cr-light: var(--color-cr-light, ${o$3(this.lights.cr)});
7766
+ ---color-hr-light: var(--color-hr-light, ${o$3(this.lights.hr)});
7767
+ ---color-far-light: var(--color-far-light, ${o$3(this.lights.far)});
7768
+ ---color-acc-light: var(--color-acc-light, ${o$3(this.lights.acc)});
7769
+ ---color-d-light: var(--color-d-light, ${o$3(this.lights.d)});
7770
+ ---color-c-light: var(--color-c-light, ${o$3(this.lights.c)});
7771
+ ---color-s-light: var(--color-s-light, ${o$3(this.lights.s)});
7772
+ ---color-present-light: var(--color-present-light, ${o$3(this.lights.present)});
7773
+ ---color-absent-light: var(--color-absent-light, ${o$3(this.lights.absent)});
7774
+ ---color-correct-light: var(--color-correct-light, ${o$3(this.lights.correct)});
7775
+ ---color-error-light: var(--color-error-light, ${o$3(this.lights.error)});
7776
+ ---color-nr-light: var(--color-nr-light, ${o$3(this.lights.nr)});
7777
+
7778
+ ---color-h-dark: var(--color-h-dark, ${o$3(this.darks.h)});
7779
+ ---color-m-dark: var(--color-m-dark, ${o$3(this.darks.m)});
7780
+ ---color-fa-dark: var(--color-fa-dark, ${o$3(this.darks.fa)});
7781
+ ---color-cr-dark: var(--color-cr-dark, ${o$3(this.darks.cr)});
7782
+ ---color-hr-dark: var(--color-hr-dark, ${o$3(this.darks.hr)});
7783
+ ---color-far-dark: var(--color-far-dark, ${o$3(this.darks.far)});
7784
+ ---color-acc-dark: var(--color-acc-dark, ${o$3(this.darks.acc)});
7785
+ ---color-d-dark: var(--color-d-dark, ${o$3(this.darks.d)});
7786
+ ---color-c-dark: var(--color-c-dark, ${o$3(this.darks.c)});
7787
+ ---color-s-dark: var(--color-s-dark, ${o$3(this.darks.s)});
7788
+ ---color-present-dark: var(--color-present-dark, ${o$3(this.darks.present)});
7789
+ ---color-absent-dark: var(--color-absent-dark, ${o$3(this.darks.absent)});
7790
+ ---color-correct-dark: var(--color-correct-dark, ${o$3(this.darks.correct)});
7791
+ ---color-error-dark: var(--color-error-dark, ${o$3(this.darks.error)});
7792
+ ---color-nr-dark: var(--color-nr-dark, ${o$3(this.darks.nr)});
7483
7793
  }
7484
7794
  `];
7485
7795
  }
@@ -7615,7 +7925,7 @@ class RDKTask extends DetectableElement {
7615
7925
  }
7616
7926
 
7617
7927
  static get styles() {
7618
- return [super.styles, r$1`
7928
+ return [super.styles, r$2`
7619
7929
  :host {
7620
7930
  display: inline-block;
7621
7931
 
@@ -7997,11 +8307,11 @@ customElements.define('rdk-task', RDKTask);
7997
8307
 
7998
8308
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
7999
8309
 
8000
- var jstatExports = {};
8001
- var jstat = {
8002
- get exports(){ return jstatExports; },
8003
- set exports(v){ jstatExports = v; },
8004
- };
8310
+ function getDefaultExportFromCjs (x) {
8311
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
8312
+ }
8313
+
8314
+ var jstat = {exports: {}};
8005
8315
 
8006
8316
  (function (module, exports) {
8007
8317
  (function (window, factory) {
@@ -12275,6 +12585,8 @@ var jstat = {
12275
12585
  return jStat;
12276
12586
  });
12277
12587
  })(jstat);
12588
+ var jstatExports = jstat.exports;
12589
+ var jStat = /*@__PURE__*/getDefaultExportFromCjs(jstatExports);
12278
12590
 
12279
12591
  /*
12280
12592
  SDTMath Static Class - Not intended for instantiation!
@@ -12394,28 +12706,28 @@ class SDTMath {
12394
12706
  return m / (m + cr);
12395
12707
  }
12396
12708
  static hrFar2D(hr, far, s = 1) {
12397
- if (s === 1) return jstatExports.normal.inv(hr, 0, 1) - jstatExports.normal.inv(far, 0, 1);
12398
- return Math.sqrt(2 / (s * s + 1)) * (s * jstatExports.normal.inv(hr, 0, 1) - jstatExports.normal.inv(far, 0, 1));
12709
+ if (s === 1) return jStat.normal.inv(hr, 0, 1) - jStat.normal.inv(far, 0, 1);
12710
+ return Math.sqrt(2 / (s * s + 1)) * (s * jStat.normal.inv(hr, 0, 1) - jStat.normal.inv(far, 0, 1));
12399
12711
  }
12400
12712
  static hrFar2C(hr, far, s = 1) {
12401
- if (s === 1) return -(jstatExports.normal.inv(hr, 0, 1) + jstatExports.normal.inv(far, 0, 1)) / 2;
12402
- return Math.sqrt(2 / (s * s + 1)) * (s / (s + 1)) * -(jstatExports.normal.inv(hr, 0, 1) + jstatExports.normal.inv(far, 0, 1));
12713
+ if (s === 1) return -(jStat.normal.inv(hr, 0, 1) + jStat.normal.inv(far, 0, 1)) / 2;
12714
+ return Math.sqrt(2 / (s * s + 1)) * (s / (s + 1)) * -(jStat.normal.inv(hr, 0, 1) + jStat.normal.inv(far, 0, 1));
12403
12715
  }
12404
12716
  static dC2Hr(d, c, s = 1) {
12405
- if (s === 1) return jstatExports.normal.cdf(d / 2 - c, 0, 1);
12406
- return jstatExports.normal.cdf(Math.sqrt((s * s + 1) / 2) * (d / (1 + s) - c / s), 0, 1);
12717
+ if (s === 1) return jStat.normal.cdf(d / 2 - c, 0, 1);
12718
+ return jStat.normal.cdf(Math.sqrt((s * s + 1) / 2) * (d / (1 + s) - c / s), 0, 1);
12407
12719
  }
12408
12720
  static dC2Far(d, c, s = 1) {
12409
- if (s === 1) return jstatExports.normal.cdf(-(d / 2 + c), 0, 1);
12410
- return jstatExports.normal.cdf(Math.sqrt((s * s + 1) / 2) * -(d / (1 + s) + c), 0, 1);
12721
+ if (s === 1) return jStat.normal.cdf(-(d / 2 + c), 0, 1);
12722
+ return jStat.normal.cdf(Math.sqrt((s * s + 1) / 2) * -(d / (1 + s) + c), 0, 1);
12411
12723
  }
12412
12724
  static dFar2Hr(d, far, s = 1) {
12413
- if (s === 1) return jstatExports.normal.cdf(d + jstatExports.normal.inv(far, 0, 1), 0, 1);
12414
- return jstatExports.normal.cdf((Math.sqrt((s * s + 1) / 2) * d + jstatExports.normal.inv(far, 0, 1)) / s, 0, 1);
12725
+ if (s === 1) return jStat.normal.cdf(d + jStat.normal.inv(far, 0, 1), 0, 1);
12726
+ return jStat.normal.cdf((Math.sqrt((s * s + 1) / 2) * d + jStat.normal.inv(far, 0, 1)) / s, 0, 1);
12415
12727
  }
12416
12728
  static cFar2Hr(c, far, s = 1) {
12417
- if (s === 1) return jstatExports.normal.cdf(-(2 * c) - jstatExports.normal.inv(far, 0, 1), 0, 1);
12418
- return jstatExports.normal.cdf(-Math.sqrt((s * s + 1) / 2) * ((s + 1) / s) * c - jstatExports.normal.inv(far, 0, 1), 0, 1);
12729
+ if (s === 1) return jStat.normal.cdf(-(2 * c) - jStat.normal.inv(far, 0, 1), 0, 1);
12730
+ return jStat.normal.cdf(-Math.sqrt((s * s + 1) / 2) * ((s + 1) / s) * c - jStat.normal.inv(far, 0, 1), 0, 1);
12419
12731
  }
12420
12732
  static d2MuN(d, s = 1) {
12421
12733
  if (s === 1) return -d / 2;
@@ -12448,16 +12760,16 @@ class SDTMath {
12448
12760
  return 1 / (h * Math.sqrt(2 * Math.PI));
12449
12761
  }
12450
12762
  static hr2Zhr(hr) {
12451
- return jstatExports.normal.inv(hr, 0, 1);
12763
+ return jStat.normal.inv(hr, 0, 1);
12452
12764
  }
12453
12765
  static far2Zfar(far) {
12454
- return jstatExports.normal.inv(far, 0, 1);
12766
+ return jStat.normal.inv(far, 0, 1);
12455
12767
  }
12456
12768
  static zhr2Hr(zhr) {
12457
- return jstatExports.normal.cdf(zhr, 0, 1);
12769
+ return jStat.normal.cdf(zhr, 0, 1);
12458
12770
  }
12459
12771
  static zfar2Far(zfar) {
12460
- return jstatExports.normal.cdf(zfar, 0, 1);
12772
+ return jStat.normal.cdf(zfar, 0, 1);
12461
12773
  }
12462
12774
  }
12463
12775
 
@@ -12665,7 +12977,7 @@ class ROCSpace extends DetectableElement {
12665
12977
  this.requestUpdate();
12666
12978
  }
12667
12979
  static get styles() {
12668
- return [super.styles, r$1`
12980
+ return [super.styles, r$2`
12669
12981
  :host {
12670
12982
  display: inline-block;
12671
12983
 
@@ -13398,7 +13710,7 @@ class DetectableControl extends DetectableElement {
13398
13710
  reflect: true
13399
13711
  },
13400
13712
  state: {
13401
- atribute: false,
13713
+ attribute: false,
13402
13714
  type: String,
13403
13715
  reflect: false
13404
13716
  }
@@ -13502,7 +13814,7 @@ class DetectableControl extends DetectableElement {
13502
13814
  this.state = 'ended';
13503
13815
  }
13504
13816
  static get styles() {
13505
- return [super.styles, r$1`
13817
+ return [super.styles, r$2`
13506
13818
  :host {
13507
13819
  display: inline-block;
13508
13820
  }
@@ -13737,7 +14049,7 @@ class SDTModel extends DetectableElement {
13737
14049
  trial.duration = duration;
13738
14050
  trial.wait = wait;
13739
14051
  trial.iti = iti;
13740
- trial.evidence = jstatExports.normal.sample(0, 1);
14052
+ trial.evidence = jStat.normal.sample(0, 1);
13741
14053
  this.alignTrial(trial);
13742
14054
  this.trials.push(trial);
13743
14055
  this.requestUpdate();
@@ -13772,7 +14084,7 @@ class SDTModel extends DetectableElement {
13772
14084
  }
13773
14085
  }
13774
14086
  static get styles() {
13775
- return [super.styles, r$1`
14087
+ return [super.styles, r$2`
13776
14088
  :host {
13777
14089
  display: inline-block;
13778
14090
 
@@ -14353,12 +14665,12 @@ class SDTModel extends DetectableElement {
14353
14665
  const correctRejections = range(xScale.domain()[0], SDTMath.c2L(element.c, element.s), 0.05).map(e => {
14354
14666
  return {
14355
14667
  e: e,
14356
- p: jstatExports.normal.pdf(e, SDTMath.d2MuN(element.d, element.s), 1)
14668
+ p: jStat.normal.pdf(e, SDTMath.d2MuN(element.d, element.s), 1)
14357
14669
  };
14358
14670
  });
14359
14671
  correctRejections.push({
14360
14672
  e: SDTMath.c2L(element.c, element.s),
14361
- p: jstatExports.normal.pdf(SDTMath.c2L(element.c, element.s), SDTMath.d2MuN(element.d, element.s), 1)
14673
+ p: jStat.normal.pdf(SDTMath.c2L(element.c, element.s), SDTMath.d2MuN(element.d, element.s), 1)
14362
14674
  });
14363
14675
  correctRejections.push({
14364
14676
  e: SDTMath.c2L(element.c, element.s),
@@ -14388,12 +14700,12 @@ class SDTModel extends DetectableElement {
14388
14700
  const falseAlarms = range(SDTMath.c2L(element.c, element.s), xScale.domain()[1], 0.05).map(e => {
14389
14701
  return {
14390
14702
  e: e,
14391
- p: jstatExports.normal.pdf(e, SDTMath.d2MuN(element.d, element.s), 1)
14703
+ p: jStat.normal.pdf(e, SDTMath.d2MuN(element.d, element.s), 1)
14392
14704
  };
14393
14705
  });
14394
14706
  falseAlarms.push({
14395
14707
  e: xScale.domain()[1],
14396
- p: jstatExports.normal.pdf(xScale.domain()[1], SDTMath.d2MuN(element.d, element.s), 1)
14708
+ p: jStat.normal.pdf(xScale.domain()[1], SDTMath.d2MuN(element.d, element.s), 1)
14397
14709
  });
14398
14710
  falseAlarms.push({
14399
14711
  e: xScale.domain()[1],
@@ -14421,12 +14733,12 @@ class SDTModel extends DetectableElement {
14421
14733
  const noise = range(xScale.domain()[0], xScale.domain()[1], 0.05).map(e => {
14422
14734
  return {
14423
14735
  e: e,
14424
- p: jstatExports.normal.pdf(e, SDTMath.d2MuN(element.d, element.s), 1)
14736
+ p: jStat.normal.pdf(e, SDTMath.d2MuN(element.d, element.s), 1)
14425
14737
  };
14426
14738
  });
14427
14739
  noise.push({
14428
14740
  e: xScale.domain()[1],
14429
- p: jstatExports.normal.pdf(xScale.domain()[1], SDTMath.d2MuN(element.d, element.s), 1)
14741
+ p: jStat.normal.pdf(xScale.domain()[1], SDTMath.d2MuN(element.d, element.s), 1)
14430
14742
  });
14431
14743
  return line$1(noise);
14432
14744
  };
@@ -14503,12 +14815,12 @@ class SDTModel extends DetectableElement {
14503
14815
  const misses = range(xScale.domain()[0], SDTMath.c2L(element.c, element.s), 0.05).map(e => {
14504
14816
  return {
14505
14817
  e: e,
14506
- p: jstatExports.normal.pdf(e, SDTMath.d2MuS(element.d, element.s), element.s)
14818
+ p: jStat.normal.pdf(e, SDTMath.d2MuS(element.d, element.s), element.s)
14507
14819
  };
14508
14820
  });
14509
14821
  misses.push({
14510
14822
  e: SDTMath.c2L(element.c, element.s),
14511
- p: jstatExports.normal.pdf(SDTMath.c2L(element.c, element.s), SDTMath.d2MuS(element.d, element.s), element.s)
14823
+ p: jStat.normal.pdf(SDTMath.c2L(element.c, element.s), SDTMath.d2MuS(element.d, element.s), element.s)
14512
14824
  });
14513
14825
  misses.push({
14514
14826
  e: SDTMath.c2L(element.c, element.s),
@@ -14538,12 +14850,12 @@ class SDTModel extends DetectableElement {
14538
14850
  const hits = range(SDTMath.c2L(element.c, element.s), xScale.domain()[1], 0.05).map(e => {
14539
14851
  return {
14540
14852
  e: e,
14541
- p: jstatExports.normal.pdf(e, SDTMath.d2MuS(element.d, element.s), element.s)
14853
+ p: jStat.normal.pdf(e, SDTMath.d2MuS(element.d, element.s), element.s)
14542
14854
  };
14543
14855
  });
14544
14856
  hits.push({
14545
14857
  e: xScale.domain()[1],
14546
- p: jstatExports.normal.pdf(xScale.domain()[1], SDTMath.d2MuS(element.d, element.s), element.s)
14858
+ p: jStat.normal.pdf(xScale.domain()[1], SDTMath.d2MuS(element.d, element.s), element.s)
14547
14859
  });
14548
14860
  hits.push({
14549
14861
  e: xScale.domain()[1],
@@ -14571,12 +14883,12 @@ class SDTModel extends DetectableElement {
14571
14883
  const signal = range(xScale.domain()[0], xScale.domain()[1], 0.05).map(e => {
14572
14884
  return {
14573
14885
  e: e,
14574
- p: jstatExports.normal.pdf(e, SDTMath.d2MuS(element.d, element.s), element.s)
14886
+ p: jStat.normal.pdf(e, SDTMath.d2MuS(element.d, element.s), element.s)
14575
14887
  };
14576
14888
  });
14577
14889
  signal.push({
14578
14890
  e: xScale.domain()[1],
14579
- p: jstatExports.normal.pdf(xScale.domain()[1], SDTMath.d2MuS(element.d, element.s), element.s)
14891
+ p: jStat.normal.pdf(xScale.domain()[1], SDTMath.d2MuS(element.d, element.s), element.s)
14580
14892
  });
14581
14893
  return line$1(signal);
14582
14894
  };
@@ -14658,13 +14970,13 @@ class SDTModel extends DetectableElement {
14658
14970
  sLabel.append('tspan').classed('value', true);
14659
14971
  // MERGE
14660
14972
  const sMerge = sEnter.merge(sUpdate);
14661
- sMerge.select('.line').transition().duration(this.drag ? 0 : transitionDuration).ease(cubicOut).attr('x1', xScale(this.muS - this.s)).attr('y1', yScale(jstatExports.normal.pdf(this.s, 0, this.s)) + 10 / this.s) // FIX - no hardcoding
14662
- .attr('x2', xScale(this.muS + this.s)).attr('y2', yScale(jstatExports.normal.pdf(this.s, 0, this.s)) + 10 / this.s); // FIX - no hardcoding
14663
- sMerge.select('.cap-left').transition().duration(this.drag ? 0 : transitionDuration).ease(cubicOut).attr('x1', xScale(this.muS - this.s)).attr('y1', yScale(jstatExports.normal.pdf(this.s, 0, this.s)) + 10 / this.s + 5) // FIX - no hardcoding
14664
- .attr('x2', xScale(this.muS - this.s)).attr('y2', yScale(jstatExports.normal.pdf(this.s, 0, this.s)) + 10 / this.s - 5); // FIX - no hardcoding
14665
- sMerge.select('.cap-right').transition().duration(this.drag ? 0 : transitionDuration).ease(cubicOut).attr('x1', xScale(this.muS + this.s)).attr('y1', yScale(jstatExports.normal.pdf(this.s, 0, this.s)) + 10 / this.s + 5) // FIX - no hardcoding
14666
- .attr('x2', xScale(this.muS + this.s)).attr('y2', yScale(jstatExports.normal.pdf(this.s, 0, this.s)) + 10 / this.s - 5); // FIX - no hardcoding
14667
- const sLabelTransition = sMerge.select('.label').transition().duration(this.drag ? 0 : transitionDuration).ease(cubicOut).attr('x', xScale(this.muS)).attr('y', yScale(jstatExports.normal.pdf(this.s, 0, this.s)) + 10 / this.s - 3); // FIX - no hardcoding
14973
+ sMerge.select('.line').transition().duration(this.drag ? 0 : transitionDuration).ease(cubicOut).attr('x1', xScale(this.muS - this.s)).attr('y1', yScale(jStat.normal.pdf(this.s, 0, this.s)) + 10 / this.s) // FIX - no hardcoding
14974
+ .attr('x2', xScale(this.muS + this.s)).attr('y2', yScale(jStat.normal.pdf(this.s, 0, this.s)) + 10 / this.s); // FIX - no hardcoding
14975
+ sMerge.select('.cap-left').transition().duration(this.drag ? 0 : transitionDuration).ease(cubicOut).attr('x1', xScale(this.muS - this.s)).attr('y1', yScale(jStat.normal.pdf(this.s, 0, this.s)) + 10 / this.s + 5) // FIX - no hardcoding
14976
+ .attr('x2', xScale(this.muS - this.s)).attr('y2', yScale(jStat.normal.pdf(this.s, 0, this.s)) + 10 / this.s - 5); // FIX - no hardcoding
14977
+ sMerge.select('.cap-right').transition().duration(this.drag ? 0 : transitionDuration).ease(cubicOut).attr('x1', xScale(this.muS + this.s)).attr('y1', yScale(jStat.normal.pdf(this.s, 0, this.s)) + 10 / this.s + 5) // FIX - no hardcoding
14978
+ .attr('x2', xScale(this.muS + this.s)).attr('y2', yScale(jStat.normal.pdf(this.s, 0, this.s)) + 10 / this.s - 5); // FIX - no hardcoding
14979
+ const sLabelTransition = sMerge.select('.label').transition().duration(this.drag ? 0 : transitionDuration).ease(cubicOut).attr('x', xScale(this.muS)).attr('y', yScale(jStat.normal.pdf(this.s, 0, this.s)) + 10 / this.s - 3); // FIX - no hardcoding
14668
14980
  sLabelTransition.select('.value').tween('text', (datum, index, elements) => {
14669
14981
  const element = elements[index];
14670
14982
  const interpolateS = interpolate$1(element.s !== undefined ? element.s : this.s, this.s);
@@ -15132,7 +15444,7 @@ class DetectableResponse extends DetectableElement {
15132
15444
  this.e = 0;
15133
15445
  }
15134
15446
  static get styles() {
15135
- return [super.styles, r$1`
15447
+ return [super.styles, r$2`
15136
15448
  :host {
15137
15449
  display: inline-block;
15138
15450
  }
@@ -15526,7 +15838,7 @@ class DetectableTable extends DetectableElement {
15526
15838
  this.sendEvent();
15527
15839
  }
15528
15840
  static get styles() {
15529
- return [super.styles, r$1`
15841
+ return [super.styles, r$2`
15530
15842
  :host {
15531
15843
  display: inline-block;
15532
15844
  }
@@ -15899,7 +16211,7 @@ class SDTEquation extends DetectableElement {
15899
16211
  this.numeric = false;
15900
16212
  }
15901
16213
  static get styles() {
15902
- return [super.styles, r$1`
16214
+ return [super.styles, r$2`
15903
16215
  :host {
15904
16216
  display: block;
15905
16217
 
@@ -17254,7 +17566,7 @@ customElements.define('sdt-equation-mcr2fomr', SDTEquationMCr2Fomr);
17254
17566
  */
17255
17567
  class SDTExample extends DetectableElement {
17256
17568
  static get styles() {
17257
- return [super.styles, r$1`
17569
+ return [super.styles, r$2`
17258
17570
  :host {
17259
17571
  display: inline-block;
17260
17572