@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.
@@ -9,21 +9,21 @@
9
9
  * Copyright 2019 Google LLC
10
10
  * SPDX-License-Identifier: BSD-3-Clause
11
11
  */
12
- const t$2 = window,
13
- e$4 = t$2.ShadowRoot && (void 0 === t$2.ShadyCSS || t$2.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
14
- s$5 = Symbol(),
15
- n$5 = new WeakMap();
16
- let o$5 = class o {
12
+ const t$3 = window,
13
+ e$5 = t$3.ShadowRoot && (void 0 === t$3.ShadyCSS || t$3.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
14
+ s$6 = Symbol(),
15
+ n$6 = new WeakMap();
16
+ let o$6 = class o {
17
17
  constructor(t, e, n) {
18
- if (this._$cssResult$ = !0, n !== s$5) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
18
+ if (this._$cssResult$ = !0, n !== s$6) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
19
19
  this.cssText = t, this.t = e;
20
20
  }
21
21
  get styleSheet() {
22
22
  let t = this.o;
23
23
  const s = this.t;
24
- if (e$4 && void 0 === t) {
24
+ if (e$5 && void 0 === t) {
25
25
  const e = void 0 !== s && 1 === s.length;
26
- e && (t = n$5.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), e && n$5.set(s, t));
26
+ e && (t = n$6.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), e && n$6.set(s, t));
27
27
  }
28
28
  return t;
29
29
  }
@@ -31,18 +31,18 @@
31
31
  return this.cssText;
32
32
  }
33
33
  };
34
- const r$4 = t => new o$5("string" == typeof t ? t : t + "", void 0, s$5),
35
- S$2 = (s, n) => {
36
- e$4 ? s.adoptedStyleSheets = n.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet) : n.forEach(e => {
34
+ const r$5 = t => new o$6("string" == typeof t ? t : t + "", void 0, s$6),
35
+ S$3 = (s, n) => {
36
+ e$5 ? s.adoptedStyleSheets = n.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet) : n.forEach(e => {
37
37
  const n = document.createElement("style"),
38
- o = t$2.litNonce;
38
+ o = t$3.litNonce;
39
39
  void 0 !== o && n.setAttribute("nonce", o), n.textContent = e.cssText, s.appendChild(n);
40
40
  });
41
41
  },
42
- c$1 = e$4 ? t => t : t => t instanceof CSSStyleSheet ? (t => {
42
+ c$2 = e$5 ? t => t : t => t instanceof CSSStyleSheet ? (t => {
43
43
  let e = "";
44
44
  for (const s of t.cssRules) e += s.cssText;
45
- return r$4(e);
45
+ return r$5(e);
46
46
  })(t) : t;
47
47
 
48
48
  /**
@@ -50,16 +50,16 @@
50
50
  * Copyright 2017 Google LLC
51
51
  * SPDX-License-Identifier: BSD-3-Clause
52
52
  */
53
- var s$4;
54
- const e$3 = window,
55
- r$3 = e$3.trustedTypes,
56
- h$2 = r$3 ? r$3.emptyScript : "",
57
- o$4 = e$3.reactiveElementPolyfillSupport,
58
- n$4 = {
53
+ var s$5;
54
+ const e$4 = window,
55
+ r$4 = e$4.trustedTypes,
56
+ h$3 = r$4 ? r$4.emptyScript : "",
57
+ o$5 = e$4.reactiveElementPolyfillSupport,
58
+ n$5 = {
59
59
  toAttribute(t, i) {
60
60
  switch (i) {
61
61
  case Boolean:
62
- t = t ? h$2 : null;
62
+ t = t ? h$3 : null;
63
63
  break;
64
64
  case Object:
65
65
  case Array:
@@ -87,15 +87,15 @@
87
87
  return s;
88
88
  }
89
89
  },
90
- a$2 = (t, i) => i !== t && (i == i || t == t),
91
- l$4 = {
90
+ a$3 = (t, i) => i !== t && (i == i || t == t),
91
+ l$5 = {
92
92
  attribute: !0,
93
93
  type: String,
94
- converter: n$4,
94
+ converter: n$5,
95
95
  reflect: !1,
96
- hasChanged: a$2
96
+ hasChanged: a$3
97
97
  };
98
- let d$1 = class d extends HTMLElement {
98
+ let d$2 = class d extends HTMLElement {
99
99
  constructor() {
100
100
  super(), this._$Ei = new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this.u();
101
101
  }
@@ -111,7 +111,7 @@
111
111
  void 0 !== e && (this._$Ev.set(e, s), t.push(e));
112
112
  }), t;
113
113
  }
114
- static createProperty(t, i = l$4) {
114
+ static createProperty(t, i = l$5) {
115
115
  if (i.state && (i.attribute = !1), this.finalize(), this.elementProperties.set(t, i), !i.noAccessor && !this.prototype.hasOwnProperty(t)) {
116
116
  const s = "symbol" == typeof t ? Symbol() : "__" + t,
117
117
  e = this.getPropertyDescriptor(t, s, i);
@@ -132,7 +132,7 @@
132
132
  };
133
133
  }
134
134
  static getPropertyOptions(t) {
135
- return this.elementProperties.get(t) || l$4;
135
+ return this.elementProperties.get(t) || l$5;
136
136
  }
137
137
  static finalize() {
138
138
  if (this.hasOwnProperty("finalized")) return !1;
@@ -149,8 +149,8 @@
149
149
  const s = [];
150
150
  if (Array.isArray(i)) {
151
151
  const e = new Set(i.flat(1 / 0).reverse());
152
- for (const i of e) s.unshift(c$1(i));
153
- } else void 0 !== i && s.push(c$1(i));
152
+ for (const i of e) s.unshift(c$2(i));
153
+ } else void 0 !== i && s.push(c$2(i));
154
154
  return s;
155
155
  }
156
156
  static _$Ep(t, i) {
@@ -177,7 +177,7 @@
177
177
  createRenderRoot() {
178
178
  var t;
179
179
  const s = null !== (t = this.shadowRoot) && void 0 !== t ? t : this.attachShadow(this.constructor.shadowRootOptions);
180
- return S$2(s, this.constructor.elementStyles), s;
180
+ return S$3(s, this.constructor.elementStyles), s;
181
181
  }
182
182
  connectedCallback() {
183
183
  var t;
@@ -197,11 +197,11 @@
197
197
  attributeChangedCallback(t, i, s) {
198
198
  this._$AK(t, s);
199
199
  }
200
- _$EO(t, i, s = l$4) {
200
+ _$EO(t, i, s = l$5) {
201
201
  var e;
202
202
  const r = this.constructor._$Ep(t, s);
203
203
  if (void 0 !== r && !0 === s.reflect) {
204
- const h = (void 0 !== (null === (e = s.converter) || void 0 === e ? void 0 : e.toAttribute) ? s.converter : n$4).toAttribute(i, s.type);
204
+ const h = (void 0 !== (null === (e = s.converter) || void 0 === e ? void 0 : e.toAttribute) ? s.converter : n$5).toAttribute(i, s.type);
205
205
  this._$El = t, null == h ? this.removeAttribute(r) : this.setAttribute(r, h), this._$El = null;
206
206
  }
207
207
  }
@@ -213,13 +213,13 @@
213
213
  const t = e.getPropertyOptions(r),
214
214
  h = "function" == typeof t.converter ? {
215
215
  fromAttribute: t.converter
216
- } : void 0 !== (null === (s = t.converter) || void 0 === s ? void 0 : s.fromAttribute) ? t.converter : n$4;
216
+ } : void 0 !== (null === (s = t.converter) || void 0 === s ? void 0 : s.fromAttribute) ? t.converter : n$5;
217
217
  this._$El = r, this[r] = h.fromAttribute(i, t.type), this._$El = null;
218
218
  }
219
219
  }
220
220
  requestUpdate(t, i, s) {
221
221
  let e = !0;
222
- void 0 !== t && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || a$2)(this[t], i) ? (this._$AL.has(t) || this._$AL.set(t, i), !0 === s.reflect && this._$El !== t && (void 0 === this._$EC && (this._$EC = new Map()), this._$EC.set(t, s))) : e = !1), !this.isUpdatePending && e && (this._$E_ = this._$Ej());
222
+ void 0 !== t && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || a$3)(this[t], i) ? (this._$AL.has(t) || this._$AL.set(t, i), !0 === s.reflect && this._$El !== t && (void 0 === this._$EC && (this._$EC = new Map()), this._$EC.set(t, s))) : e = !1), !this.isUpdatePending && e && (this._$E_ = this._$Ej());
223
223
  }
224
224
  async _$Ej() {
225
225
  this.isUpdatePending = !0;
@@ -276,72 +276,67 @@
276
276
  updated(t) {}
277
277
  firstUpdated(t) {}
278
278
  };
279
- d$1.finalized = !0, d$1.elementProperties = new Map(), d$1.elementStyles = [], d$1.shadowRootOptions = {
279
+ d$2.finalized = !0, d$2.elementProperties = new Map(), d$2.elementStyles = [], d$2.shadowRootOptions = {
280
280
  mode: "open"
281
- }, null == o$4 || o$4({
282
- ReactiveElement: d$1
283
- }), (null !== (s$4 = e$3.reactiveElementVersions) && void 0 !== s$4 ? s$4 : e$3.reactiveElementVersions = []).push("1.6.1");
281
+ }, null == o$5 || o$5({
282
+ ReactiveElement: d$2
283
+ }), (null !== (s$5 = e$4.reactiveElementVersions) && void 0 !== s$5 ? s$5 : e$4.reactiveElementVersions = []).push("1.6.1");
284
284
 
285
285
  /**
286
286
  * @license
287
287
  * Copyright 2017 Google LLC
288
288
  * SPDX-License-Identifier: BSD-3-Clause
289
289
  */
290
- var t$1;
291
- const i$1 = window,
292
- s$3 = i$1.trustedTypes,
293
- e$2 = s$3 ? s$3.createPolicy("lit-html", {
290
+ var t$2;
291
+ const i$2 = window,
292
+ s$4 = i$2.trustedTypes,
293
+ e$3 = s$4 ? s$4.createPolicy("lit-html", {
294
294
  createHTML: t => t
295
295
  }) : void 0,
296
- o$3 = "$lit$",
297
- n$3 = `lit$${(Math.random() + "").slice(9)}$`,
298
- l$3 = "?" + n$3,
299
- h$1 = `<${l$3}>`,
300
- r$2 = document,
301
- d = () => r$2.createComment(""),
302
- u = t => null === t || "object" != typeof t && "function" != typeof t,
303
- c = Array.isArray,
304
- v = t => c(t) || "function" == typeof (null == t ? void 0 : t[Symbol.iterator]),
305
- a$1 = "[ \t\n\f\r]",
306
- f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
307
- _ = /-->/g,
308
- m = />/g,
309
- p = RegExp(`>|${a$1}(?:([^\\s"'>=/]+)(${a$1}*=${a$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"),
310
- g = /'/g,
311
- $ = /"/g,
312
- y$1 = /^(?:script|style|textarea|title)$/i,
313
- w = t => (i, ...s) => ({
314
- _$litType$: t,
315
- strings: i,
316
- values: s
317
- }),
318
- x$1 = w(1),
319
- b = w(2),
320
- T = Symbol.for("lit-noChange"),
321
- A = Symbol.for("lit-nothing"),
322
- E = new WeakMap(),
323
- C = r$2.createTreeWalker(r$2, 129, null, !1),
324
- P = (t, i) => {
325
- const s = t.length - 1,
326
- l = [];
327
- let r,
328
- d = 2 === i ? "<svg>" : "",
329
- u = f;
330
- for (let i = 0; i < s; i++) {
331
- const s = t[i];
332
- let e,
333
- c,
334
- v = -1,
335
- a = 0;
336
- for (; a < s.length && (u.lastIndex = a, c = u.exec(s), null !== c);) a = u.lastIndex, u === f ? "!--" === c[1] ? u = _ : void 0 !== c[1] ? u = m : void 0 !== c[2] ? (y$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);
337
- const w = u === p && t[i + 1].startsWith("/>") ? " " : "";
338
- d += u === f ? s + h$1 : v >= 0 ? (l.push(e), s.slice(0, v) + o$3 + s.slice(v) + n$3 + w) : s + n$3 + (-2 === v ? (l.push(void 0), i) : w);
339
- }
340
- const c = d + (t[s] || "<?>") + (2 === i ? "</svg>" : "");
341
- if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
342
- return [void 0 !== e$2 ? e$2.createHTML(c) : c, l];
343
- };
344
- class V {
296
+ o$4 = "$lit$",
297
+ n$4 = `lit$${(Math.random() + "").slice(9)}$`,
298
+ l$4 = "?" + n$4,
299
+ h$2 = `<${l$4}>`,
300
+ r$3 = document,
301
+ u$1 = () => r$3.createComment(""),
302
+ d$1 = t => null === t || "object" != typeof t && "function" != typeof t,
303
+ c$1 = Array.isArray,
304
+ v$1 = t => c$1(t) || "function" == typeof (null == t ? void 0 : t[Symbol.iterator]),
305
+ a$2 = "[ \t\n\f\r]",
306
+ f$1 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
307
+ _$1 = /-->/g,
308
+ m$1 = />/g,
309
+ p$1 = RegExp(`>|${a$2}(?:([^\\s"'>=/]+)(${a$2}*=${a$2}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"),
310
+ g$1 = /'/g,
311
+ $$1 = /"/g,
312
+ y$2 = /^(?:script|style|textarea|title)$/i,
313
+ T$1 = Symbol.for("lit-noChange"),
314
+ A$1 = Symbol.for("lit-nothing"),
315
+ E$1 = new WeakMap(),
316
+ C$1 = r$3.createTreeWalker(r$3, 129, null, !1);
317
+ function P$1(t, i) {
318
+ if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
319
+ return void 0 !== e$3 ? e$3.createHTML(i) : i;
320
+ }
321
+ const V$1 = (t, i) => {
322
+ const s = t.length - 1,
323
+ e = [];
324
+ let l,
325
+ r = 2 === i ? "<svg>" : "",
326
+ u = f$1;
327
+ for (let i = 0; i < s; i++) {
328
+ const s = t[i];
329
+ let d,
330
+ c,
331
+ v = -1,
332
+ a = 0;
333
+ for (; a < s.length && (u.lastIndex = a, c = u.exec(s), null !== c);) a = u.lastIndex, u === f$1 ? "!--" === c[1] ? u = _$1 : void 0 !== c[1] ? u = m$1 : void 0 !== c[2] ? (y$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);
334
+ const w = u === p$1 && t[i + 1].startsWith("/>") ? " " : "";
335
+ r += u === f$1 ? s + h$2 : v >= 0 ? (e.push(d), s.slice(0, v) + o$4 + s.slice(v) + n$4 + w) : s + n$4 + (-2 === v ? (e.push(void 0), i) : w);
336
+ }
337
+ return [P$1(t, r + (t[s] || "<?>") + (2 === i ? "</svg>" : "")), e];
338
+ };
339
+ let N$1 = class N {
345
340
  constructor({
346
341
  strings: t,
347
342
  _$litType$: i
@@ -349,30 +344,30 @@
349
344
  let h;
350
345
  this.parts = [];
351
346
  let r = 0,
352
- u = 0;
347
+ d = 0;
353
348
  const c = t.length - 1,
354
349
  v = this.parts,
355
- [a, f] = P(t, i);
356
- if (this.el = V.createElement(a, e), C.currentNode = this.el.content, 2 === i) {
350
+ [a, f] = V$1(t, i);
351
+ if (this.el = N.createElement(a, e), C$1.currentNode = this.el.content, 2 === i) {
357
352
  const t = this.el.content,
358
353
  i = t.firstChild;
359
354
  i.remove(), t.append(...i.childNodes);
360
355
  }
361
- for (; null !== (h = C.nextNode()) && v.length < c;) {
356
+ for (; null !== (h = C$1.nextNode()) && v.length < c;) {
362
357
  if (1 === h.nodeType) {
363
358
  if (h.hasAttributes()) {
364
359
  const t = [];
365
- for (const i of h.getAttributeNames()) if (i.endsWith(o$3) || i.startsWith(n$3)) {
366
- const s = f[u++];
360
+ for (const i of h.getAttributeNames()) if (i.endsWith(o$4) || i.startsWith(n$4)) {
361
+ const s = f[d++];
367
362
  if (t.push(i), void 0 !== s) {
368
- const t = h.getAttribute(s.toLowerCase() + o$3).split(n$3),
363
+ const t = h.getAttribute(s.toLowerCase() + o$4).split(n$4),
369
364
  i = /([.?@])?(.*)/.exec(s);
370
365
  v.push({
371
366
  type: 1,
372
367
  index: r,
373
368
  name: i[2],
374
369
  strings: t,
375
- ctor: "." === i[1] ? k : "?" === i[1] ? I : "@" === i[1] ? L : R
370
+ ctor: "." === i[1] ? H$1 : "?" === i[1] ? L$1 : "@" === i[1] ? z$1 : k$1
376
371
  });
377
372
  } else v.push({
378
373
  type: 6,
@@ -381,46 +376,46 @@
381
376
  }
382
377
  for (const i of t) h.removeAttribute(i);
383
378
  }
384
- if (y$1.test(h.tagName)) {
385
- const t = h.textContent.split(n$3),
379
+ if (y$2.test(h.tagName)) {
380
+ const t = h.textContent.split(n$4),
386
381
  i = t.length - 1;
387
382
  if (i > 0) {
388
- h.textContent = s$3 ? s$3.emptyScript : "";
389
- for (let s = 0; s < i; s++) h.append(t[s], d()), C.nextNode(), v.push({
383
+ h.textContent = s$4 ? s$4.emptyScript : "";
384
+ for (let s = 0; s < i; s++) h.append(t[s], u$1()), C$1.nextNode(), v.push({
390
385
  type: 2,
391
386
  index: ++r
392
387
  });
393
- h.append(t[i], d());
388
+ h.append(t[i], u$1());
394
389
  }
395
390
  }
396
- } else if (8 === h.nodeType) if (h.data === l$3) v.push({
391
+ } else if (8 === h.nodeType) if (h.data === l$4) v.push({
397
392
  type: 2,
398
393
  index: r
399
394
  });else {
400
395
  let t = -1;
401
- for (; -1 !== (t = h.data.indexOf(n$3, t + 1));) v.push({
396
+ for (; -1 !== (t = h.data.indexOf(n$4, t + 1));) v.push({
402
397
  type: 7,
403
398
  index: r
404
- }), t += n$3.length - 1;
399
+ }), t += n$4.length - 1;
405
400
  }
406
401
  r++;
407
402
  }
408
403
  }
409
404
  static createElement(t, i) {
410
- const s = r$2.createElement("template");
405
+ const s = r$3.createElement("template");
411
406
  return s.innerHTML = t, s;
412
407
  }
413
- }
414
- function N(t, i, s = t, e) {
408
+ };
409
+ function S$2(t, i, s = t, e) {
415
410
  var o, n, l, h;
416
- if (i === T) return i;
411
+ if (i === T$1) return i;
417
412
  let r = void 0 !== e ? null === (o = s._$Co) || void 0 === o ? void 0 : o[e] : s._$Cl;
418
- const d = u(i) ? void 0 : i._$litDirective$;
419
- return (null == r ? void 0 : r.constructor) !== d && (null === (n = null == r ? void 0 : r._$AO) || void 0 === n || n.call(r, !1), void 0 === d ? r = void 0 : (r = new d(t), r._$AT(t, s, e)), void 0 !== e ? (null !== (l = (h = s)._$Co) && void 0 !== l ? l : h._$Co = [])[e] = r : s._$Cl = r), void 0 !== r && (i = N(t, r._$AS(t, i.values), r, e)), i;
413
+ const u = d$1(i) ? void 0 : i._$litDirective$;
414
+ return (null == r ? void 0 : r.constructor) !== u && (null === (n = null == r ? void 0 : r._$AO) || void 0 === n || n.call(r, !1), void 0 === u ? r = void 0 : (r = new u(t), r._$AT(t, s, e)), void 0 !== e ? (null !== (l = (h = s)._$Co) && void 0 !== l ? l : h._$Co = [])[e] = r : s._$Cl = r), void 0 !== r && (i = S$2(t, r._$AS(t, i.values), r, e)), i;
420
415
  }
421
- let S$1 = class S {
416
+ let M$1 = class M {
422
417
  constructor(t, i) {
423
- this.u = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
418
+ this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
424
419
  }
425
420
  get parentNode() {
426
421
  return this._$AM.parentNode;
@@ -428,7 +423,7 @@
428
423
  get _$AU() {
429
424
  return this._$AM._$AU;
430
425
  }
431
- v(t) {
426
+ u(t) {
432
427
  var i;
433
428
  const {
434
429
  el: {
@@ -436,34 +431,34 @@
436
431
  },
437
432
  parts: e
438
433
  } = this._$AD,
439
- o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : r$2).importNode(s, !0);
440
- C.currentNode = o;
441
- let n = C.nextNode(),
434
+ o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : r$3).importNode(s, !0);
435
+ C$1.currentNode = o;
436
+ let n = C$1.nextNode(),
442
437
  l = 0,
443
438
  h = 0,
444
- d = e[0];
445
- for (; void 0 !== d;) {
446
- if (l === d.index) {
439
+ u = e[0];
440
+ for (; void 0 !== u;) {
441
+ if (l === u.index) {
447
442
  let i;
448
- 2 === d.type ? i = new M(n, n.nextSibling, this, t) : 1 === d.type ? i = new d.ctor(n, d.name, d.strings, this, t) : 6 === d.type && (i = new z(n, this, t)), this.u.push(i), d = e[++h];
443
+ 2 === u.type ? i = new R$1(n, n.nextSibling, this, t) : 1 === u.type ? i = new u.ctor(n, u.name, u.strings, this, t) : 6 === u.type && (i = new Z(n, this, t)), this._$AV.push(i), u = e[++h];
449
444
  }
450
- l !== (null == d ? void 0 : d.index) && (n = C.nextNode(), l++);
445
+ l !== (null == u ? void 0 : u.index) && (n = C$1.nextNode(), l++);
451
446
  }
452
- return o;
447
+ return C$1.currentNode = r$3, o;
453
448
  }
454
- p(t) {
449
+ v(t) {
455
450
  let i = 0;
456
- for (const s of this.u) void 0 !== s && (void 0 !== s.strings ? (s._$AI(t, s, i), i += s.strings.length - 2) : s._$AI(t[i])), i++;
451
+ for (const s of this._$AV) void 0 !== s && (void 0 !== s.strings ? (s._$AI(t, s, i), i += s.strings.length - 2) : s._$AI(t[i])), i++;
457
452
  }
458
453
  };
459
- class M {
454
+ let R$1 = class R {
460
455
  constructor(t, i, s, e) {
461
456
  var o;
462
- this.type = 2, this._$AH = A, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cm = null === (o = null == e ? void 0 : e.isConnected) || void 0 === o || o;
457
+ this.type = 2, this._$AH = A$1, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cp = null === (o = null == e ? void 0 : e.isConnected) || void 0 === o || o;
463
458
  }
464
459
  get _$AU() {
465
460
  var t, i;
466
- return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cm;
461
+ return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cp;
467
462
  }
468
463
  get parentNode() {
469
464
  let t = this._$AA.parentNode;
@@ -477,40 +472,40 @@
477
472
  return this._$AB;
478
473
  }
479
474
  _$AI(t, i = this) {
480
- t = N(this, t, i), u(t) ? t === A || null == t || "" === t ? (this._$AH !== A && this._$AR(), this._$AH = A) : t !== this._$AH && t !== T && this.g(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : v(t) ? this.k(t) : this.g(t);
475
+ t = S$2(this, t, i), d$1(t) ? t === A$1 || null == t || "" === t ? (this._$AH !== A$1 && this._$AR(), this._$AH = A$1) : t !== this._$AH && t !== T$1 && this._(t) : void 0 !== t._$litType$ ? this.g(t) : void 0 !== t.nodeType ? this.$(t) : v$1(t) ? this.T(t) : this._(t);
481
476
  }
482
- S(t) {
477
+ k(t) {
483
478
  return this._$AA.parentNode.insertBefore(t, this._$AB);
484
479
  }
485
- T(t) {
486
- this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
480
+ $(t) {
481
+ this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
487
482
  }
488
- g(t) {
489
- this._$AH !== A && u(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$2.createTextNode(t)), this._$AH = t;
483
+ _(t) {
484
+ this._$AH !== A$1 && d$1(this._$AH) ? this._$AA.nextSibling.data = t : this.$(r$3.createTextNode(t)), this._$AH = t;
490
485
  }
491
- $(t) {
486
+ g(t) {
492
487
  var i;
493
488
  const {
494
489
  values: s,
495
490
  _$litType$: e
496
491
  } = t,
497
- o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el = V.createElement(e.h, this.options)), e);
498
- if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.p(s);else {
499
- const t = new S$1(o, this),
500
- i = t.v(this.options);
501
- t.p(s), this.T(i), this._$AH = t;
492
+ o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el = N$1.createElement(P$1(e.h, e.h[0]), this.options)), e);
493
+ if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.v(s);else {
494
+ const t = new M$1(o, this),
495
+ i = t.u(this.options);
496
+ t.v(s), this.$(i), this._$AH = t;
502
497
  }
503
498
  }
504
499
  _$AC(t) {
505
- let i = E.get(t.strings);
506
- return void 0 === i && E.set(t.strings, i = new V(t)), i;
500
+ let i = E$1.get(t.strings);
501
+ return void 0 === i && E$1.set(t.strings, i = new N$1(t)), i;
507
502
  }
508
- k(t) {
509
- c(this._$AH) || (this._$AH = [], this._$AR());
503
+ T(t) {
504
+ c$1(this._$AH) || (this._$AH = [], this._$AR());
510
505
  const i = this._$AH;
511
506
  let s,
512
507
  e = 0;
513
- for (const o of t) e === i.length ? i.push(s = new M(this.S(d()), this.S(d()), this, this.options)) : s = i[e], s._$AI(o), e++;
508
+ for (const o of t) e === i.length ? i.push(s = new R(this.k(u$1()), this.k(u$1()), this, this.options)) : s = i[e], s._$AI(o), e++;
514
509
  e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
515
510
  }
516
511
  _$AR(t = this._$AA.nextSibling, i) {
@@ -522,12 +517,12 @@
522
517
  }
523
518
  setConnected(t) {
524
519
  var i;
525
- void 0 === this._$AM && (this._$Cm = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
520
+ void 0 === this._$AM && (this._$Cp = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
526
521
  }
527
- }
528
- class R {
522
+ };
523
+ let k$1 = class k {
529
524
  constructor(t, i, s, e, o) {
530
- this.type = 1, this._$AH = A, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = o, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = A;
525
+ this.type = 1, this._$AH = A$1, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = o, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = A$1;
531
526
  }
532
527
  get tagName() {
533
528
  return this.element.tagName;
@@ -538,52 +533,52 @@
538
533
  _$AI(t, i = this, s, e) {
539
534
  const o = this.strings;
540
535
  let n = !1;
541
- if (void 0 === o) t = N(this, t, i, 0), n = !u(t) || t !== this._$AH && t !== T, n && (this._$AH = t);else {
536
+ if (void 0 === o) t = S$2(this, t, i, 0), n = !d$1(t) || t !== this._$AH && t !== T$1, n && (this._$AH = t);else {
542
537
  const e = t;
543
538
  let l, h;
544
- for (t = o[0], l = 0; l < o.length - 1; l++) h = N(this, e[s + l], i, l), h === T && (h = this._$AH[l]), n || (n = !u(h) || h !== this._$AH[l]), h === A ? t = A : t !== A && (t += (null != h ? h : "") + o[l + 1]), this._$AH[l] = h;
539
+ for (t = o[0], l = 0; l < o.length - 1; l++) h = S$2(this, e[s + l], i, l), h === T$1 && (h = this._$AH[l]), n || (n = !d$1(h) || h !== this._$AH[l]), h === A$1 ? t = A$1 : t !== A$1 && (t += (null != h ? h : "") + o[l + 1]), this._$AH[l] = h;
545
540
  }
546
541
  n && !e && this.j(t);
547
542
  }
548
543
  j(t) {
549
- t === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
544
+ t === A$1 ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
550
545
  }
551
- }
552
- class k extends R {
546
+ };
547
+ let H$1 = class H extends k$1 {
553
548
  constructor() {
554
549
  super(...arguments), this.type = 3;
555
550
  }
556
551
  j(t) {
557
- this.element[this.name] = t === A ? void 0 : t;
552
+ this.element[this.name] = t === A$1 ? void 0 : t;
558
553
  }
559
- }
560
- const H = s$3 ? s$3.emptyScript : "";
561
- class I extends R {
554
+ };
555
+ const I$1 = s$4 ? s$4.emptyScript : "";
556
+ let L$1 = class L extends k$1 {
562
557
  constructor() {
563
558
  super(...arguments), this.type = 4;
564
559
  }
565
560
  j(t) {
566
- t && t !== A ? this.element.setAttribute(this.name, H) : this.element.removeAttribute(this.name);
561
+ t && t !== A$1 ? this.element.setAttribute(this.name, I$1) : this.element.removeAttribute(this.name);
567
562
  }
568
- }
569
- class L extends R {
563
+ };
564
+ let z$1 = class z extends k$1 {
570
565
  constructor(t, i, s, e, o) {
571
566
  super(t, i, s, e, o), this.type = 5;
572
567
  }
573
568
  _$AI(t, i = this) {
574
569
  var s;
575
- if ((t = null !== (s = N(this, t, i, 0)) && void 0 !== s ? s : A) === T) return;
570
+ if ((t = null !== (s = S$2(this, t, i, 0)) && void 0 !== s ? s : A$1) === T$1) return;
576
571
  const e = this._$AH,
577
- o = t === A && e !== A || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive,
578
- n = t !== A && (e === A || o);
572
+ o = t === A$1 && e !== A$1 || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive,
573
+ n = t !== A$1 && (e === A$1 || o);
579
574
  o && this.element.removeEventListener(this.name, this, e), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
580
575
  }
581
576
  handleEvent(t) {
582
577
  var i, s;
583
578
  "function" == typeof this._$AH ? this._$AH.call(null !== (s = null === (i = this.options) || void 0 === i ? void 0 : i.host) && void 0 !== s ? s : this.element, t) : this._$AH.handleEvent(t);
584
579
  }
585
- }
586
- class z {
580
+ };
581
+ class Z {
587
582
  constructor(t, i, s) {
588
583
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
589
584
  }
@@ -591,63 +586,53 @@
591
586
  return this._$AM._$AU;
592
587
  }
593
588
  _$AI(t) {
594
- N(this, t);
589
+ S$2(this, t);
595
590
  }
596
591
  }
597
- const j = i$1.litHtmlPolyfillSupport;
598
- null == j || j(V, M), (null !== (t$1 = i$1.litHtmlVersions) && void 0 !== t$1 ? t$1 : i$1.litHtmlVersions = []).push("2.7.0");
599
- const B = (t, i, s) => {
600
- var e, o;
601
- const n = null !== (e = null == s ? void 0 : s.renderBefore) && void 0 !== e ? e : i;
602
- let l = n._$litPart$;
603
- if (void 0 === l) {
604
- const t = null !== (o = null == s ? void 0 : s.renderBefore) && void 0 !== o ? o : null;
605
- n._$litPart$ = l = new M(i.insertBefore(d(), t), t, void 0, null != s ? s : {});
606
- }
607
- return l._$AI(t), l;
608
- };
592
+ const B$1 = i$2.litHtmlPolyfillSupport;
593
+ null == B$1 || B$1(N$1, R$1), (null !== (t$2 = i$2.litHtmlVersions) && void 0 !== t$2 ? t$2 : i$2.litHtmlVersions = []).push("2.8.0");
609
594
 
610
595
  /**
611
596
  * @license
612
597
  * Copyright 2019 Google LLC
613
598
  * SPDX-License-Identifier: BSD-3-Clause
614
599
  */
615
- const t = window.ShadowRoot && (void 0 === window.ShadyCSS || window.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
616
- e$1 = Symbol(),
617
- n$2 = new Map();
618
- let s$2 = class s {
600
+ const t$1 = window.ShadowRoot && (void 0 === window.ShadyCSS || window.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
601
+ e$2 = Symbol(),
602
+ n$3 = new Map();
603
+ let s$3 = class s {
619
604
  constructor(t, n) {
620
- if (this._$cssResult$ = !0, n !== e$1) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
605
+ if (this._$cssResult$ = !0, n !== e$2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
621
606
  this.cssText = t;
622
607
  }
623
608
  get styleSheet() {
624
- let e = n$2.get(this.cssText);
625
- return t && void 0 === e && (n$2.set(this.cssText, e = new CSSStyleSheet()), e.replaceSync(this.cssText)), e;
609
+ let e = n$3.get(this.cssText);
610
+ return t$1 && void 0 === e && (n$3.set(this.cssText, e = new CSSStyleSheet()), e.replaceSync(this.cssText)), e;
626
611
  }
627
612
  toString() {
628
613
  return this.cssText;
629
614
  }
630
615
  };
631
- const o$2 = t => new s$2("string" == typeof t ? t : t + "", e$1),
632
- r$1 = (t, ...n) => {
616
+ const o$3 = t => new s$3("string" == typeof t ? t : t + "", e$2),
617
+ r$2 = (t, ...n) => {
633
618
  const o = 1 === t.length ? t[0] : n.reduce((e, n, s) => e + (t => {
634
619
  if (!0 === t._$cssResult$) return t.cssText;
635
620
  if ("number" == typeof t) return t;
636
621
  throw Error("Value passed to 'css' function must be a 'css' function result: " + t + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
637
622
  })(n) + t[s + 1], t[0]);
638
- return new s$2(o, e$1);
623
+ return new s$3(o, e$2);
639
624
  },
640
- i = (e, n) => {
641
- t ? e.adoptedStyleSheets = n.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet) : n.forEach(t => {
625
+ i$1 = (e, n) => {
626
+ t$1 ? e.adoptedStyleSheets = n.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet) : n.forEach(t => {
642
627
  const n = document.createElement("style"),
643
628
  s = window.litNonce;
644
629
  void 0 !== s && n.setAttribute("nonce", s), n.textContent = t.cssText, e.appendChild(n);
645
630
  });
646
631
  },
647
- S = t ? t => t : t => t instanceof CSSStyleSheet ? (t => {
632
+ S$1 = t$1 ? t => t : t => t instanceof CSSStyleSheet ? (t => {
648
633
  let e = "";
649
634
  for (const n of t.cssRules) e += n.cssText;
650
- return o$2(e);
635
+ return o$3(e);
651
636
  })(t) : t;
652
637
 
653
638
  /**
@@ -655,15 +640,15 @@
655
640
  * Copyright 2017 Google LLC
656
641
  * SPDX-License-Identifier: BSD-3-Clause
657
642
  */
658
- var s$1;
659
- const e = window.trustedTypes,
660
- r = e ? e.emptyScript : "",
661
- h = window.reactiveElementPolyfillSupport,
662
- o$1 = {
643
+ var s$2;
644
+ const e$1 = window.trustedTypes,
645
+ r$1 = e$1 ? e$1.emptyScript : "",
646
+ h$1 = window.reactiveElementPolyfillSupport,
647
+ o$2 = {
663
648
  toAttribute(t, i) {
664
649
  switch (i) {
665
650
  case Boolean:
666
- t = t ? r : null;
651
+ t = t ? r$1 : null;
667
652
  break;
668
653
  case Object:
669
654
  case Array:
@@ -691,15 +676,15 @@
691
676
  return s;
692
677
  }
693
678
  },
694
- n$1 = (t, i) => i !== t && (i == i || t == t),
695
- l$2 = {
679
+ n$2 = (t, i) => i !== t && (i == i || t == t),
680
+ l$3 = {
696
681
  attribute: !0,
697
682
  type: String,
698
- converter: o$1,
683
+ converter: o$2,
699
684
  reflect: !1,
700
- hasChanged: n$1
685
+ hasChanged: n$2
701
686
  };
702
- class a extends HTMLElement {
687
+ let a$1 = class a extends HTMLElement {
703
688
  constructor() {
704
689
  super(), this._$Et = new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$Ei = null, this.o();
705
690
  }
@@ -715,7 +700,7 @@
715
700
  void 0 !== e && (this._$Eu.set(e, s), t.push(e));
716
701
  }), t;
717
702
  }
718
- static createProperty(t, i = l$2) {
703
+ static createProperty(t, i = l$3) {
719
704
  if (i.state && (i.attribute = !1), this.finalize(), this.elementProperties.set(t, i), !i.noAccessor && !this.prototype.hasOwnProperty(t)) {
720
705
  const s = "symbol" == typeof t ? Symbol() : "__" + t,
721
706
  e = this.getPropertyDescriptor(t, s, i);
@@ -736,7 +721,7 @@
736
721
  };
737
722
  }
738
723
  static getPropertyOptions(t) {
739
- return this.elementProperties.get(t) || l$2;
724
+ return this.elementProperties.get(t) || l$3;
740
725
  }
741
726
  static finalize() {
742
727
  if (this.hasOwnProperty("finalized")) return !1;
@@ -753,8 +738,8 @@
753
738
  const s = [];
754
739
  if (Array.isArray(i)) {
755
740
  const e = new Set(i.flat(1 / 0).reverse());
756
- for (const i of e) s.unshift(S(i));
757
- } else void 0 !== i && s.push(S(i));
741
+ for (const i of e) s.unshift(S$1(i));
742
+ } else void 0 !== i && s.push(S$1(i));
758
743
  return s;
759
744
  }
760
745
  static _$Eh(t, i) {
@@ -781,7 +766,7 @@
781
766
  createRenderRoot() {
782
767
  var t;
783
768
  const s = null !== (t = this.shadowRoot) && void 0 !== t ? t : this.attachShadow(this.constructor.shadowRootOptions);
784
- return i(s, this.constructor.elementStyles), s;
769
+ return i$1(s, this.constructor.elementStyles), s;
785
770
  }
786
771
  connectedCallback() {
787
772
  var t;
@@ -801,11 +786,11 @@
801
786
  attributeChangedCallback(t, i, s) {
802
787
  this._$AK(t, s);
803
788
  }
804
- _$ES(t, i, s = l$2) {
789
+ _$ES(t, i, s = l$3) {
805
790
  var e, r;
806
791
  const h = this.constructor._$Eh(t, s);
807
792
  if (void 0 !== h && !0 === s.reflect) {
808
- const n = (null !== (r = null === (e = s.converter) || void 0 === e ? void 0 : e.toAttribute) && void 0 !== r ? r : o$1.toAttribute)(i, s.type);
793
+ const n = (null !== (r = null === (e = s.converter) || void 0 === e ? void 0 : e.toAttribute) && void 0 !== r ? r : o$2.toAttribute)(i, s.type);
809
794
  this._$Ei = t, null == n ? this.removeAttribute(h) : this.setAttribute(h, n), this._$Ei = null;
810
795
  }
811
796
  }
@@ -816,13 +801,13 @@
816
801
  if (void 0 !== n && this._$Ei !== n) {
817
802
  const t = h.getPropertyOptions(n),
818
803
  l = t.converter,
819
- a = null !== (r = null !== (e = null === (s = l) || void 0 === s ? void 0 : s.fromAttribute) && void 0 !== e ? e : "function" == typeof l ? l : null) && void 0 !== r ? r : o$1.fromAttribute;
804
+ a = null !== (r = null !== (e = null === (s = l) || void 0 === s ? void 0 : s.fromAttribute) && void 0 !== e ? e : "function" == typeof l ? l : null) && void 0 !== r ? r : o$2.fromAttribute;
820
805
  this._$Ei = n, this[n] = a(i, t.type), this._$Ei = null;
821
806
  }
822
807
  }
823
808
  requestUpdate(t, i, s) {
824
809
  let e = !0;
825
- void 0 !== t && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || n$1)(this[t], i) ? (this._$AL.has(t) || this._$AL.set(t, i), !0 === s.reflect && this._$Ei !== t && (void 0 === this._$EC && (this._$EC = new Map()), this._$EC.set(t, s))) : e = !1), !this.isUpdatePending && e && (this._$Ep = this._$E_());
810
+ void 0 !== t && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || n$2)(this[t], i) ? (this._$AL.has(t) || this._$AL.set(t, i), !0 === s.reflect && this._$Ei !== t && (void 0 === this._$EC && (this._$EC = new Map()), this._$EC.set(t, s))) : e = !1), !this.isUpdatePending && e && (this._$Ep = this._$E_());
826
811
  }
827
812
  async _$E_() {
828
813
  this.isUpdatePending = !0;
@@ -878,12 +863,337 @@
878
863
  }
879
864
  updated(t) {}
880
865
  firstUpdated(t) {}
881
- }
882
- a.finalized = !0, a.elementProperties = new Map(), a.elementStyles = [], a.shadowRootOptions = {
866
+ };
867
+ a$1.finalized = !0, a$1.elementProperties = new Map(), a$1.elementStyles = [], a$1.shadowRootOptions = {
883
868
  mode: "open"
884
- }, null == h || h({
885
- ReactiveElement: a
886
- }), (null !== (s$1 = globalThis.reactiveElementVersions) && void 0 !== s$1 ? s$1 : globalThis.reactiveElementVersions = []).push("1.3.1");
869
+ }, null == h$1 || h$1({
870
+ ReactiveElement: a$1
871
+ }), (null !== (s$2 = globalThis.reactiveElementVersions) && void 0 !== s$2 ? s$2 : globalThis.reactiveElementVersions = []).push("1.3.1");
872
+
873
+ /**
874
+ * @license
875
+ * Copyright 2017 Google LLC
876
+ * SPDX-License-Identifier: BSD-3-Clause
877
+ */
878
+ var t;
879
+ const i = window,
880
+ s$1 = i.trustedTypes,
881
+ e = s$1 ? s$1.createPolicy("lit-html", {
882
+ createHTML: t => t
883
+ }) : void 0,
884
+ o$1 = "$lit$",
885
+ n$1 = `lit$${(Math.random() + "").slice(9)}$`,
886
+ l$2 = "?" + n$1,
887
+ h = `<${l$2}>`,
888
+ r = document,
889
+ d = () => r.createComment(""),
890
+ u = t => null === t || "object" != typeof t && "function" != typeof t,
891
+ c = Array.isArray,
892
+ v = t => c(t) || "function" == typeof (null == t ? void 0 : t[Symbol.iterator]),
893
+ a = "[ \t\n\f\r]",
894
+ f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
895
+ _ = /-->/g,
896
+ m = />/g,
897
+ p = RegExp(`>|${a}(?:([^\\s"'>=/]+)(${a}*=${a}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"),
898
+ g = /'/g,
899
+ $ = /"/g,
900
+ y$1 = /^(?:script|style|textarea|title)$/i,
901
+ w = t => (i, ...s) => ({
902
+ _$litType$: t,
903
+ strings: i,
904
+ values: s
905
+ }),
906
+ x$1 = w(1),
907
+ b = w(2),
908
+ T = Symbol.for("lit-noChange"),
909
+ A = Symbol.for("lit-nothing"),
910
+ E = new WeakMap(),
911
+ C = r.createTreeWalker(r, 129, null, !1),
912
+ P = (t, i) => {
913
+ const s = t.length - 1,
914
+ l = [];
915
+ let r,
916
+ d = 2 === i ? "<svg>" : "",
917
+ u = f;
918
+ for (let i = 0; i < s; i++) {
919
+ const s = t[i];
920
+ let e,
921
+ c,
922
+ v = -1,
923
+ a = 0;
924
+ for (; a < s.length && (u.lastIndex = a, c = u.exec(s), null !== c);) a = u.lastIndex, u === f ? "!--" === c[1] ? u = _ : void 0 !== c[1] ? u = m : void 0 !== c[2] ? (y$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);
925
+ const w = u === p && t[i + 1].startsWith("/>") ? " " : "";
926
+ d += u === f ? s + h : v >= 0 ? (l.push(e), s.slice(0, v) + o$1 + s.slice(v) + n$1 + w) : s + n$1 + (-2 === v ? (l.push(void 0), i) : w);
927
+ }
928
+ const c = d + (t[s] || "<?>") + (2 === i ? "</svg>" : "");
929
+ if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
930
+ return [void 0 !== e ? e.createHTML(c) : c, l];
931
+ };
932
+ class V {
933
+ constructor({
934
+ strings: t,
935
+ _$litType$: i
936
+ }, e) {
937
+ let h;
938
+ this.parts = [];
939
+ let r = 0,
940
+ u = 0;
941
+ const c = t.length - 1,
942
+ v = this.parts,
943
+ [a, f] = P(t, i);
944
+ if (this.el = V.createElement(a, e), C.currentNode = this.el.content, 2 === i) {
945
+ const t = this.el.content,
946
+ i = t.firstChild;
947
+ i.remove(), t.append(...i.childNodes);
948
+ }
949
+ for (; null !== (h = C.nextNode()) && v.length < c;) {
950
+ if (1 === h.nodeType) {
951
+ if (h.hasAttributes()) {
952
+ const t = [];
953
+ for (const i of h.getAttributeNames()) if (i.endsWith(o$1) || i.startsWith(n$1)) {
954
+ const s = f[u++];
955
+ if (t.push(i), void 0 !== s) {
956
+ const t = h.getAttribute(s.toLowerCase() + o$1).split(n$1),
957
+ i = /([.?@])?(.*)/.exec(s);
958
+ v.push({
959
+ type: 1,
960
+ index: r,
961
+ name: i[2],
962
+ strings: t,
963
+ ctor: "." === i[1] ? k : "?" === i[1] ? I : "@" === i[1] ? L : R
964
+ });
965
+ } else v.push({
966
+ type: 6,
967
+ index: r
968
+ });
969
+ }
970
+ for (const i of t) h.removeAttribute(i);
971
+ }
972
+ if (y$1.test(h.tagName)) {
973
+ const t = h.textContent.split(n$1),
974
+ i = t.length - 1;
975
+ if (i > 0) {
976
+ h.textContent = s$1 ? s$1.emptyScript : "";
977
+ for (let s = 0; s < i; s++) h.append(t[s], d()), C.nextNode(), v.push({
978
+ type: 2,
979
+ index: ++r
980
+ });
981
+ h.append(t[i], d());
982
+ }
983
+ }
984
+ } else if (8 === h.nodeType) if (h.data === l$2) v.push({
985
+ type: 2,
986
+ index: r
987
+ });else {
988
+ let t = -1;
989
+ for (; -1 !== (t = h.data.indexOf(n$1, t + 1));) v.push({
990
+ type: 7,
991
+ index: r
992
+ }), t += n$1.length - 1;
993
+ }
994
+ r++;
995
+ }
996
+ }
997
+ static createElement(t, i) {
998
+ const s = r.createElement("template");
999
+ return s.innerHTML = t, s;
1000
+ }
1001
+ }
1002
+ function N(t, i, s = t, e) {
1003
+ var o, n, l, h;
1004
+ if (i === T) return i;
1005
+ let r = void 0 !== e ? null === (o = s._$Co) || void 0 === o ? void 0 : o[e] : s._$Cl;
1006
+ const d = u(i) ? void 0 : i._$litDirective$;
1007
+ return (null == r ? void 0 : r.constructor) !== d && (null === (n = null == r ? void 0 : r._$AO) || void 0 === n || n.call(r, !1), void 0 === d ? r = void 0 : (r = new d(t), r._$AT(t, s, e)), void 0 !== e ? (null !== (l = (h = s)._$Co) && void 0 !== l ? l : h._$Co = [])[e] = r : s._$Cl = r), void 0 !== r && (i = N(t, r._$AS(t, i.values), r, e)), i;
1008
+ }
1009
+ class S {
1010
+ constructor(t, i) {
1011
+ this.u = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
1012
+ }
1013
+ get parentNode() {
1014
+ return this._$AM.parentNode;
1015
+ }
1016
+ get _$AU() {
1017
+ return this._$AM._$AU;
1018
+ }
1019
+ v(t) {
1020
+ var i;
1021
+ const {
1022
+ el: {
1023
+ content: s
1024
+ },
1025
+ parts: e
1026
+ } = this._$AD,
1027
+ o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : r).importNode(s, !0);
1028
+ C.currentNode = o;
1029
+ let n = C.nextNode(),
1030
+ l = 0,
1031
+ h = 0,
1032
+ d = e[0];
1033
+ for (; void 0 !== d;) {
1034
+ if (l === d.index) {
1035
+ let i;
1036
+ 2 === d.type ? i = new M(n, n.nextSibling, this, t) : 1 === d.type ? i = new d.ctor(n, d.name, d.strings, this, t) : 6 === d.type && (i = new z(n, this, t)), this.u.push(i), d = e[++h];
1037
+ }
1038
+ l !== (null == d ? void 0 : d.index) && (n = C.nextNode(), l++);
1039
+ }
1040
+ return o;
1041
+ }
1042
+ p(t) {
1043
+ let i = 0;
1044
+ for (const s of this.u) void 0 !== s && (void 0 !== s.strings ? (s._$AI(t, s, i), i += s.strings.length - 2) : s._$AI(t[i])), i++;
1045
+ }
1046
+ }
1047
+ class M {
1048
+ constructor(t, i, s, e) {
1049
+ var o;
1050
+ this.type = 2, this._$AH = A, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cm = null === (o = null == e ? void 0 : e.isConnected) || void 0 === o || o;
1051
+ }
1052
+ get _$AU() {
1053
+ var t, i;
1054
+ return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cm;
1055
+ }
1056
+ get parentNode() {
1057
+ let t = this._$AA.parentNode;
1058
+ const i = this._$AM;
1059
+ return void 0 !== i && 11 === (null == t ? void 0 : t.nodeType) && (t = i.parentNode), t;
1060
+ }
1061
+ get startNode() {
1062
+ return this._$AA;
1063
+ }
1064
+ get endNode() {
1065
+ return this._$AB;
1066
+ }
1067
+ _$AI(t, i = this) {
1068
+ t = N(this, t, i), u(t) ? t === A || null == t || "" === t ? (this._$AH !== A && this._$AR(), this._$AH = A) : t !== this._$AH && t !== T && this.g(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : v(t) ? this.k(t) : this.g(t);
1069
+ }
1070
+ S(t) {
1071
+ return this._$AA.parentNode.insertBefore(t, this._$AB);
1072
+ }
1073
+ T(t) {
1074
+ this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
1075
+ }
1076
+ g(t) {
1077
+ this._$AH !== A && u(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r.createTextNode(t)), this._$AH = t;
1078
+ }
1079
+ $(t) {
1080
+ var i;
1081
+ const {
1082
+ values: s,
1083
+ _$litType$: e
1084
+ } = t,
1085
+ o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el = V.createElement(e.h, this.options)), e);
1086
+ if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.p(s);else {
1087
+ const t = new S(o, this),
1088
+ i = t.v(this.options);
1089
+ t.p(s), this.T(i), this._$AH = t;
1090
+ }
1091
+ }
1092
+ _$AC(t) {
1093
+ let i = E.get(t.strings);
1094
+ return void 0 === i && E.set(t.strings, i = new V(t)), i;
1095
+ }
1096
+ k(t) {
1097
+ c(this._$AH) || (this._$AH = [], this._$AR());
1098
+ const i = this._$AH;
1099
+ let s,
1100
+ e = 0;
1101
+ for (const o of t) e === i.length ? i.push(s = new M(this.S(d()), this.S(d()), this, this.options)) : s = i[e], s._$AI(o), e++;
1102
+ e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
1103
+ }
1104
+ _$AR(t = this._$AA.nextSibling, i) {
1105
+ var s;
1106
+ for (null === (s = this._$AP) || void 0 === s || s.call(this, !1, !0, i); t && t !== this._$AB;) {
1107
+ const i = t.nextSibling;
1108
+ t.remove(), t = i;
1109
+ }
1110
+ }
1111
+ setConnected(t) {
1112
+ var i;
1113
+ void 0 === this._$AM && (this._$Cm = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
1114
+ }
1115
+ }
1116
+ class R {
1117
+ constructor(t, i, s, e, o) {
1118
+ this.type = 1, this._$AH = A, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = o, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = A;
1119
+ }
1120
+ get tagName() {
1121
+ return this.element.tagName;
1122
+ }
1123
+ get _$AU() {
1124
+ return this._$AM._$AU;
1125
+ }
1126
+ _$AI(t, i = this, s, e) {
1127
+ const o = this.strings;
1128
+ let n = !1;
1129
+ if (void 0 === o) t = N(this, t, i, 0), n = !u(t) || t !== this._$AH && t !== T, n && (this._$AH = t);else {
1130
+ const e = t;
1131
+ let l, h;
1132
+ for (t = o[0], l = 0; l < o.length - 1; l++) h = N(this, e[s + l], i, l), h === T && (h = this._$AH[l]), n || (n = !u(h) || h !== this._$AH[l]), h === A ? t = A : t !== A && (t += (null != h ? h : "") + o[l + 1]), this._$AH[l] = h;
1133
+ }
1134
+ n && !e && this.j(t);
1135
+ }
1136
+ j(t) {
1137
+ t === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
1138
+ }
1139
+ }
1140
+ class k extends R {
1141
+ constructor() {
1142
+ super(...arguments), this.type = 3;
1143
+ }
1144
+ j(t) {
1145
+ this.element[this.name] = t === A ? void 0 : t;
1146
+ }
1147
+ }
1148
+ const H = s$1 ? s$1.emptyScript : "";
1149
+ class I extends R {
1150
+ constructor() {
1151
+ super(...arguments), this.type = 4;
1152
+ }
1153
+ j(t) {
1154
+ t && t !== A ? this.element.setAttribute(this.name, H) : this.element.removeAttribute(this.name);
1155
+ }
1156
+ }
1157
+ class L extends R {
1158
+ constructor(t, i, s, e, o) {
1159
+ super(t, i, s, e, o), this.type = 5;
1160
+ }
1161
+ _$AI(t, i = this) {
1162
+ var s;
1163
+ if ((t = null !== (s = N(this, t, i, 0)) && void 0 !== s ? s : A) === T) return;
1164
+ const e = this._$AH,
1165
+ o = t === A && e !== A || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive,
1166
+ n = t !== A && (e === A || o);
1167
+ o && this.element.removeEventListener(this.name, this, e), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
1168
+ }
1169
+ handleEvent(t) {
1170
+ var i, s;
1171
+ "function" == typeof this._$AH ? this._$AH.call(null !== (s = null === (i = this.options) || void 0 === i ? void 0 : i.host) && void 0 !== s ? s : this.element, t) : this._$AH.handleEvent(t);
1172
+ }
1173
+ }
1174
+ class z {
1175
+ constructor(t, i, s) {
1176
+ this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
1177
+ }
1178
+ get _$AU() {
1179
+ return this._$AM._$AU;
1180
+ }
1181
+ _$AI(t) {
1182
+ N(this, t);
1183
+ }
1184
+ }
1185
+ const j = i.litHtmlPolyfillSupport;
1186
+ null == j || j(V, M), (null !== (t = i.litHtmlVersions) && void 0 !== t ? t : i.litHtmlVersions = []).push("2.7.0");
1187
+ const B = (t, i, s) => {
1188
+ var e, o;
1189
+ const n = null !== (e = null == s ? void 0 : s.renderBefore) && void 0 !== e ? e : i;
1190
+ let l = n._$litPart$;
1191
+ if (void 0 === l) {
1192
+ const t = null !== (o = null == s ? void 0 : s.renderBefore) && void 0 !== o ? o : null;
1193
+ n._$litPart$ = l = new M(i.insertBefore(d(), t), t, void 0, null != s ? s : {});
1194
+ }
1195
+ return l._$AI(t), l;
1196
+ };
887
1197
 
888
1198
  /**
889
1199
  * @license
@@ -891,7 +1201,7 @@
891
1201
  * SPDX-License-Identifier: BSD-3-Clause
892
1202
  */
893
1203
  var l$1, o;
894
- class s extends a {
1204
+ class s extends a$1 {
895
1205
  constructor() {
896
1206
  super(...arguments), this.renderOptions = {
897
1207
  host: this
@@ -6387,24 +6697,24 @@
6387
6697
  `;
6388
6698
  }
6389
6699
  static get styles() {
6390
- return r$1`
6700
+ return r$2`
6391
6701
  :host {
6392
- ---shadow-0: var(--shadow-0, ${o$2(this.cssBoxShadow(0))});
6393
- ---shadow-2: var(--shadow-2, ${o$2(this.cssBoxShadow(2))});
6394
- ---shadow-4: var(--shadow-4, ${o$2(this.cssBoxShadow(4))});
6395
- ---shadow-8: var(--shadow-8, ${o$2(this.cssBoxShadow(8))});
6396
-
6397
- ---color-background: var(--color-background, ${o$2(this.greys.white)});
6398
- ---color-border: var(--color-border, ${o$2(this.greys.light75)});
6399
- ---color-text: var(--color-text, ${o$2(this.greys.dark75)});
6400
- ---color-text-inverse: var(--color-text-inverse, ${o$2(this.greys.white)});
6401
- ---color-link: var(--color-link, ${o$2(this.greys.dark25)});
6402
- ---color-element-background: var(--color-element-background, ${o$2(this.greys.light75)});
6403
- ---color-element-disabled: var(--color-element-disabled, ${o$2(this.greys.light50)});
6404
- ---color-element-enabled: var(--color-element-enabled, ${o$2(this.greys.dark25)});
6405
- ---color-element-selected: var(--color-element-selected, ${o$2(this.greys.grey)});
6406
- ---color-element-border: var(--color-element-border, ${o$2(this.greys.dark50)});
6407
- ---color-element-emphasis: var(--color-element-emphasis, ${o$2(this.greys.dark75)});
6702
+ ---shadow-0: var(--shadow-0, ${o$3(this.cssBoxShadow(0))});
6703
+ ---shadow-2: var(--shadow-2, ${o$3(this.cssBoxShadow(2))});
6704
+ ---shadow-4: var(--shadow-4, ${o$3(this.cssBoxShadow(4))});
6705
+ ---shadow-8: var(--shadow-8, ${o$3(this.cssBoxShadow(8))});
6706
+
6707
+ ---color-background: var(--color-background, ${o$3(this.greys.white)});
6708
+ ---color-border: var(--color-border, ${o$3(this.greys.light75)});
6709
+ ---color-text: var(--color-text, ${o$3(this.greys.dark75)});
6710
+ ---color-text-inverse: var(--color-text-inverse, ${o$3(this.greys.white)});
6711
+ ---color-link: var(--color-link, ${o$3(this.greys.dark25)});
6712
+ ---color-element-background: var(--color-element-background, ${o$3(this.greys.light75)});
6713
+ ---color-element-disabled: var(--color-element-disabled, ${o$3(this.greys.light50)});
6714
+ ---color-element-enabled: var(--color-element-enabled, ${o$3(this.greys.dark25)});
6715
+ ---color-element-selected: var(--color-element-selected, ${o$3(this.greys.grey)});
6716
+ ---color-element-border: var(--color-element-border, ${o$3(this.greys.dark50)});
6717
+ ---color-element-emphasis: var(--color-element-emphasis, ${o$3(this.greys.dark75)});
6408
6718
 
6409
6719
  ---font-family-base: var(--font-family-base, "Source Sans", sans-serif);
6410
6720
  ---font-family-math: var(--font-family-math, "Source Serif", serif);
@@ -6465,7 +6775,7 @@
6465
6775
  this.disabled = false;
6466
6776
  }
6467
6777
  static get styles() {
6468
- return [super.styles, r$1`
6778
+ return [super.styles, r$2`
6469
6779
  :host {
6470
6780
  margin: 0.25rem;
6471
6781
  }
@@ -6535,7 +6845,7 @@
6535
6845
  * Copyright 2018 Google LLC
6536
6846
  * SPDX-License-Identifier: BSD-3-Clause
6537
6847
  */
6538
- const l = l => null != l ? l : A;
6848
+ const l = l => null != l ? l : A$1;
6539
6849
 
6540
6850
  class DecidablesSlider extends DecidablesElement {
6541
6851
  static get properties() {
@@ -6590,11 +6900,11 @@
6590
6900
  this.value = event.target.value;
6591
6901
  }
6592
6902
  static get styles() {
6593
- return [super.styles, r$1`
6903
+ return [super.styles, r$2`
6594
6904
  :host {
6595
- ---shadow-2-rotate: var(--shadow-2-rotate, ${o$2(this.cssBoxShadow(2, true, false))});
6596
- ---shadow-4-rotate: var(--shadow-4-rotate, ${o$2(this.cssBoxShadow(4, true, false))});
6597
- ---shadow-8-rotate: var(--shadow-8-rotate, ${o$2(this.cssBoxShadow(8, true, false))});
6905
+ ---shadow-2-rotate: var(--shadow-2-rotate, ${o$3(this.cssBoxShadow(2, true, false))});
6906
+ ---shadow-4-rotate: var(--shadow-4-rotate, ${o$3(this.cssBoxShadow(4, true, false))});
6907
+ ---shadow-8-rotate: var(--shadow-8-rotate, ${o$3(this.cssBoxShadow(8, true, false))});
6598
6908
 
6599
6909
  display: flex;
6600
6910
 
@@ -6900,7 +7210,7 @@
6900
7210
  this.value = event.target.value;
6901
7211
  }
6902
7212
  static get styles() {
6903
- return [super.styles, r$1`
7213
+ return [super.styles, r$2`
6904
7214
  :host {
6905
7215
  ---decidables-spinner-font-size: var(--decidables-spinner-font-size, 1.125rem);
6906
7216
  ---decidables-spinner-input-width: var(--decidables-spinner-input-width, 4rem);
@@ -7024,7 +7334,7 @@
7024
7334
  }));
7025
7335
  }
7026
7336
  static get styles() {
7027
- return [super.styles, r$1`
7337
+ return [super.styles, r$2`
7028
7338
  :host {
7029
7339
  display: flex;
7030
7340
 
@@ -7176,7 +7486,7 @@
7176
7486
  this.disabled = false;
7177
7487
  }
7178
7488
  static get styles() {
7179
- return [super.styles, r$1`
7489
+ return [super.styles, r$2`
7180
7490
  fieldset {
7181
7491
  display: flex;
7182
7492
 
@@ -7251,7 +7561,7 @@
7251
7561
  }));
7252
7562
  }
7253
7563
  static get styles() {
7254
- return [super.styles, r$1`
7564
+ return [super.styles, r$2`
7255
7565
  :host {
7256
7566
  display: flex;
7257
7567
  }
@@ -7437,55 +7747,55 @@
7437
7747
  }, {});
7438
7748
  }
7439
7749
  static get styles() {
7440
- return [super.styles, r$1`
7750
+ return [super.styles, r$2`
7441
7751
  :host {
7442
- ---color-h: var(--color-h, ${o$2(this.colors.h)});
7443
- ---color-m: var(--color-m, ${o$2(this.colors.m)});
7444
- ---color-fa: var(--color-fa, ${o$2(this.colors.fa)});
7445
- ---color-cr: var(--color-cr, ${o$2(this.colors.cr)});
7446
- ---color-hr: var(--color-hr, ${o$2(this.colors.hr)});
7447
- ---color-far: var(--color-far, ${o$2(this.colors.far)});
7448
- ---color-acc: var(--color-acc, ${o$2(this.colors.acc)});
7449
- ---color-d: var(--color-d, ${o$2(this.colors.d)});
7450
- ---color-c: var(--color-c, ${o$2(this.colors.c)});
7451
- ---color-s: var(--color-s, ${o$2(this.colors.s)});
7452
- ---color-present: var(--color-present, ${o$2(this.colors.present)});
7453
- ---color-absent: var(--color-absent, ${o$2(this.colors.absent)});
7454
- ---color-correct: var(--color-correct, ${o$2(this.colors.correct)});
7455
- ---color-error: var(--color-error, ${o$2(this.colors.error)});
7456
- ---color-nr: var(--color-nr, ${o$2(this.colors.nr)});
7457
-
7458
- ---color-h-light: var(--color-h-light, ${o$2(this.lights.h)});
7459
- ---color-m-light: var(--color-m-light, ${o$2(this.lights.m)});
7460
- ---color-fa-light: var(--color-fa-light, ${o$2(this.lights.fa)});
7461
- ---color-cr-light: var(--color-cr-light, ${o$2(this.lights.cr)});
7462
- ---color-hr-light: var(--color-hr-light, ${o$2(this.lights.hr)});
7463
- ---color-far-light: var(--color-far-light, ${o$2(this.lights.far)});
7464
- ---color-acc-light: var(--color-acc-light, ${o$2(this.lights.acc)});
7465
- ---color-d-light: var(--color-d-light, ${o$2(this.lights.d)});
7466
- ---color-c-light: var(--color-c-light, ${o$2(this.lights.c)});
7467
- ---color-s-light: var(--color-s-light, ${o$2(this.lights.s)});
7468
- ---color-present-light: var(--color-present-light, ${o$2(this.lights.present)});
7469
- ---color-absent-light: var(--color-absent-light, ${o$2(this.lights.absent)});
7470
- ---color-correct-light: var(--color-correct-light, ${o$2(this.lights.correct)});
7471
- ---color-error-light: var(--color-error-light, ${o$2(this.lights.error)});
7472
- ---color-nr-light: var(--color-nr-light, ${o$2(this.lights.nr)});
7473
-
7474
- ---color-h-dark: var(--color-h-dark, ${o$2(this.darks.h)});
7475
- ---color-m-dark: var(--color-m-dark, ${o$2(this.darks.m)});
7476
- ---color-fa-dark: var(--color-fa-dark, ${o$2(this.darks.fa)});
7477
- ---color-cr-dark: var(--color-cr-dark, ${o$2(this.darks.cr)});
7478
- ---color-hr-dark: var(--color-hr-dark, ${o$2(this.darks.hr)});
7479
- ---color-far-dark: var(--color-far-dark, ${o$2(this.darks.far)});
7480
- ---color-acc-dark: var(--color-acc-dark, ${o$2(this.darks.acc)});
7481
- ---color-d-dark: var(--color-d-dark, ${o$2(this.darks.d)});
7482
- ---color-c-dark: var(--color-c-dark, ${o$2(this.darks.c)});
7483
- ---color-s-dark: var(--color-s-dark, ${o$2(this.darks.s)});
7484
- ---color-present-dark: var(--color-present-dark, ${o$2(this.darks.present)});
7485
- ---color-absent-dark: var(--color-absent-dark, ${o$2(this.darks.absent)});
7486
- ---color-correct-dark: var(--color-correct-dark, ${o$2(this.darks.correct)});
7487
- ---color-error-dark: var(--color-error-dark, ${o$2(this.darks.error)});
7488
- ---color-nr-dark: var(--color-nr-dark, ${o$2(this.darks.nr)});
7752
+ ---color-h: var(--color-h, ${o$3(this.colors.h)});
7753
+ ---color-m: var(--color-m, ${o$3(this.colors.m)});
7754
+ ---color-fa: var(--color-fa, ${o$3(this.colors.fa)});
7755
+ ---color-cr: var(--color-cr, ${o$3(this.colors.cr)});
7756
+ ---color-hr: var(--color-hr, ${o$3(this.colors.hr)});
7757
+ ---color-far: var(--color-far, ${o$3(this.colors.far)});
7758
+ ---color-acc: var(--color-acc, ${o$3(this.colors.acc)});
7759
+ ---color-d: var(--color-d, ${o$3(this.colors.d)});
7760
+ ---color-c: var(--color-c, ${o$3(this.colors.c)});
7761
+ ---color-s: var(--color-s, ${o$3(this.colors.s)});
7762
+ ---color-present: var(--color-present, ${o$3(this.colors.present)});
7763
+ ---color-absent: var(--color-absent, ${o$3(this.colors.absent)});
7764
+ ---color-correct: var(--color-correct, ${o$3(this.colors.correct)});
7765
+ ---color-error: var(--color-error, ${o$3(this.colors.error)});
7766
+ ---color-nr: var(--color-nr, ${o$3(this.colors.nr)});
7767
+
7768
+ ---color-h-light: var(--color-h-light, ${o$3(this.lights.h)});
7769
+ ---color-m-light: var(--color-m-light, ${o$3(this.lights.m)});
7770
+ ---color-fa-light: var(--color-fa-light, ${o$3(this.lights.fa)});
7771
+ ---color-cr-light: var(--color-cr-light, ${o$3(this.lights.cr)});
7772
+ ---color-hr-light: var(--color-hr-light, ${o$3(this.lights.hr)});
7773
+ ---color-far-light: var(--color-far-light, ${o$3(this.lights.far)});
7774
+ ---color-acc-light: var(--color-acc-light, ${o$3(this.lights.acc)});
7775
+ ---color-d-light: var(--color-d-light, ${o$3(this.lights.d)});
7776
+ ---color-c-light: var(--color-c-light, ${o$3(this.lights.c)});
7777
+ ---color-s-light: var(--color-s-light, ${o$3(this.lights.s)});
7778
+ ---color-present-light: var(--color-present-light, ${o$3(this.lights.present)});
7779
+ ---color-absent-light: var(--color-absent-light, ${o$3(this.lights.absent)});
7780
+ ---color-correct-light: var(--color-correct-light, ${o$3(this.lights.correct)});
7781
+ ---color-error-light: var(--color-error-light, ${o$3(this.lights.error)});
7782
+ ---color-nr-light: var(--color-nr-light, ${o$3(this.lights.nr)});
7783
+
7784
+ ---color-h-dark: var(--color-h-dark, ${o$3(this.darks.h)});
7785
+ ---color-m-dark: var(--color-m-dark, ${o$3(this.darks.m)});
7786
+ ---color-fa-dark: var(--color-fa-dark, ${o$3(this.darks.fa)});
7787
+ ---color-cr-dark: var(--color-cr-dark, ${o$3(this.darks.cr)});
7788
+ ---color-hr-dark: var(--color-hr-dark, ${o$3(this.darks.hr)});
7789
+ ---color-far-dark: var(--color-far-dark, ${o$3(this.darks.far)});
7790
+ ---color-acc-dark: var(--color-acc-dark, ${o$3(this.darks.acc)});
7791
+ ---color-d-dark: var(--color-d-dark, ${o$3(this.darks.d)});
7792
+ ---color-c-dark: var(--color-c-dark, ${o$3(this.darks.c)});
7793
+ ---color-s-dark: var(--color-s-dark, ${o$3(this.darks.s)});
7794
+ ---color-present-dark: var(--color-present-dark, ${o$3(this.darks.present)});
7795
+ ---color-absent-dark: var(--color-absent-dark, ${o$3(this.darks.absent)});
7796
+ ---color-correct-dark: var(--color-correct-dark, ${o$3(this.darks.correct)});
7797
+ ---color-error-dark: var(--color-error-dark, ${o$3(this.darks.error)});
7798
+ ---color-nr-dark: var(--color-nr-dark, ${o$3(this.darks.nr)});
7489
7799
  }
7490
7800
  `];
7491
7801
  }
@@ -7621,7 +7931,7 @@
7621
7931
  }
7622
7932
 
7623
7933
  static get styles() {
7624
- return [super.styles, r$1`
7934
+ return [super.styles, r$2`
7625
7935
  :host {
7626
7936
  display: inline-block;
7627
7937
 
@@ -8003,11 +8313,11 @@
8003
8313
 
8004
8314
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
8005
8315
 
8006
- var jstatExports = {};
8007
- var jstat = {
8008
- get exports(){ return jstatExports; },
8009
- set exports(v){ jstatExports = v; },
8010
- };
8316
+ function getDefaultExportFromCjs (x) {
8317
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
8318
+ }
8319
+
8320
+ var jstat = {exports: {}};
8011
8321
 
8012
8322
  (function (module, exports) {
8013
8323
  (function (window, factory) {
@@ -12281,6 +12591,8 @@
12281
12591
  return jStat;
12282
12592
  });
12283
12593
  })(jstat);
12594
+ var jstatExports = jstat.exports;
12595
+ var jStat = /*@__PURE__*/getDefaultExportFromCjs(jstatExports);
12284
12596
 
12285
12597
  /*
12286
12598
  SDTMath Static Class - Not intended for instantiation!
@@ -12400,28 +12712,28 @@
12400
12712
  return m / (m + cr);
12401
12713
  }
12402
12714
  static hrFar2D(hr, far, s = 1) {
12403
- if (s === 1) return jstatExports.normal.inv(hr, 0, 1) - jstatExports.normal.inv(far, 0, 1);
12404
- return Math.sqrt(2 / (s * s + 1)) * (s * jstatExports.normal.inv(hr, 0, 1) - jstatExports.normal.inv(far, 0, 1));
12715
+ if (s === 1) return jStat.normal.inv(hr, 0, 1) - jStat.normal.inv(far, 0, 1);
12716
+ return Math.sqrt(2 / (s * s + 1)) * (s * jStat.normal.inv(hr, 0, 1) - jStat.normal.inv(far, 0, 1));
12405
12717
  }
12406
12718
  static hrFar2C(hr, far, s = 1) {
12407
- if (s === 1) return -(jstatExports.normal.inv(hr, 0, 1) + jstatExports.normal.inv(far, 0, 1)) / 2;
12408
- return Math.sqrt(2 / (s * s + 1)) * (s / (s + 1)) * -(jstatExports.normal.inv(hr, 0, 1) + jstatExports.normal.inv(far, 0, 1));
12719
+ if (s === 1) return -(jStat.normal.inv(hr, 0, 1) + jStat.normal.inv(far, 0, 1)) / 2;
12720
+ return Math.sqrt(2 / (s * s + 1)) * (s / (s + 1)) * -(jStat.normal.inv(hr, 0, 1) + jStat.normal.inv(far, 0, 1));
12409
12721
  }
12410
12722
  static dC2Hr(d, c, s = 1) {
12411
- if (s === 1) return jstatExports.normal.cdf(d / 2 - c, 0, 1);
12412
- return jstatExports.normal.cdf(Math.sqrt((s * s + 1) / 2) * (d / (1 + s) - c / s), 0, 1);
12723
+ if (s === 1) return jStat.normal.cdf(d / 2 - c, 0, 1);
12724
+ return jStat.normal.cdf(Math.sqrt((s * s + 1) / 2) * (d / (1 + s) - c / s), 0, 1);
12413
12725
  }
12414
12726
  static dC2Far(d, c, s = 1) {
12415
- if (s === 1) return jstatExports.normal.cdf(-(d / 2 + c), 0, 1);
12416
- return jstatExports.normal.cdf(Math.sqrt((s * s + 1) / 2) * -(d / (1 + s) + c), 0, 1);
12727
+ if (s === 1) return jStat.normal.cdf(-(d / 2 + c), 0, 1);
12728
+ return jStat.normal.cdf(Math.sqrt((s * s + 1) / 2) * -(d / (1 + s) + c), 0, 1);
12417
12729
  }
12418
12730
  static dFar2Hr(d, far, s = 1) {
12419
- if (s === 1) return jstatExports.normal.cdf(d + jstatExports.normal.inv(far, 0, 1), 0, 1);
12420
- return jstatExports.normal.cdf((Math.sqrt((s * s + 1) / 2) * d + jstatExports.normal.inv(far, 0, 1)) / s, 0, 1);
12731
+ if (s === 1) return jStat.normal.cdf(d + jStat.normal.inv(far, 0, 1), 0, 1);
12732
+ return jStat.normal.cdf((Math.sqrt((s * s + 1) / 2) * d + jStat.normal.inv(far, 0, 1)) / s, 0, 1);
12421
12733
  }
12422
12734
  static cFar2Hr(c, far, s = 1) {
12423
- if (s === 1) return jstatExports.normal.cdf(-(2 * c) - jstatExports.normal.inv(far, 0, 1), 0, 1);
12424
- return jstatExports.normal.cdf(-Math.sqrt((s * s + 1) / 2) * ((s + 1) / s) * c - jstatExports.normal.inv(far, 0, 1), 0, 1);
12735
+ if (s === 1) return jStat.normal.cdf(-(2 * c) - jStat.normal.inv(far, 0, 1), 0, 1);
12736
+ return jStat.normal.cdf(-Math.sqrt((s * s + 1) / 2) * ((s + 1) / s) * c - jStat.normal.inv(far, 0, 1), 0, 1);
12425
12737
  }
12426
12738
  static d2MuN(d, s = 1) {
12427
12739
  if (s === 1) return -d / 2;
@@ -12454,16 +12766,16 @@
12454
12766
  return 1 / (h * Math.sqrt(2 * Math.PI));
12455
12767
  }
12456
12768
  static hr2Zhr(hr) {
12457
- return jstatExports.normal.inv(hr, 0, 1);
12769
+ return jStat.normal.inv(hr, 0, 1);
12458
12770
  }
12459
12771
  static far2Zfar(far) {
12460
- return jstatExports.normal.inv(far, 0, 1);
12772
+ return jStat.normal.inv(far, 0, 1);
12461
12773
  }
12462
12774
  static zhr2Hr(zhr) {
12463
- return jstatExports.normal.cdf(zhr, 0, 1);
12775
+ return jStat.normal.cdf(zhr, 0, 1);
12464
12776
  }
12465
12777
  static zfar2Far(zfar) {
12466
- return jstatExports.normal.cdf(zfar, 0, 1);
12778
+ return jStat.normal.cdf(zfar, 0, 1);
12467
12779
  }
12468
12780
  }
12469
12781
 
@@ -12671,7 +12983,7 @@
12671
12983
  this.requestUpdate();
12672
12984
  }
12673
12985
  static get styles() {
12674
- return [super.styles, r$1`
12986
+ return [super.styles, r$2`
12675
12987
  :host {
12676
12988
  display: inline-block;
12677
12989
 
@@ -13404,7 +13716,7 @@
13404
13716
  reflect: true
13405
13717
  },
13406
13718
  state: {
13407
- atribute: false,
13719
+ attribute: false,
13408
13720
  type: String,
13409
13721
  reflect: false
13410
13722
  }
@@ -13508,7 +13820,7 @@
13508
13820
  this.state = 'ended';
13509
13821
  }
13510
13822
  static get styles() {
13511
- return [super.styles, r$1`
13823
+ return [super.styles, r$2`
13512
13824
  :host {
13513
13825
  display: inline-block;
13514
13826
  }
@@ -13743,7 +14055,7 @@
13743
14055
  trial.duration = duration;
13744
14056
  trial.wait = wait;
13745
14057
  trial.iti = iti;
13746
- trial.evidence = jstatExports.normal.sample(0, 1);
14058
+ trial.evidence = jStat.normal.sample(0, 1);
13747
14059
  this.alignTrial(trial);
13748
14060
  this.trials.push(trial);
13749
14061
  this.requestUpdate();
@@ -13778,7 +14090,7 @@
13778
14090
  }
13779
14091
  }
13780
14092
  static get styles() {
13781
- return [super.styles, r$1`
14093
+ return [super.styles, r$2`
13782
14094
  :host {
13783
14095
  display: inline-block;
13784
14096
 
@@ -14359,12 +14671,12 @@
14359
14671
  const correctRejections = range(xScale.domain()[0], SDTMath.c2L(element.c, element.s), 0.05).map(e => {
14360
14672
  return {
14361
14673
  e: e,
14362
- p: jstatExports.normal.pdf(e, SDTMath.d2MuN(element.d, element.s), 1)
14674
+ p: jStat.normal.pdf(e, SDTMath.d2MuN(element.d, element.s), 1)
14363
14675
  };
14364
14676
  });
14365
14677
  correctRejections.push({
14366
14678
  e: SDTMath.c2L(element.c, element.s),
14367
- p: jstatExports.normal.pdf(SDTMath.c2L(element.c, element.s), SDTMath.d2MuN(element.d, element.s), 1)
14679
+ p: jStat.normal.pdf(SDTMath.c2L(element.c, element.s), SDTMath.d2MuN(element.d, element.s), 1)
14368
14680
  });
14369
14681
  correctRejections.push({
14370
14682
  e: SDTMath.c2L(element.c, element.s),
@@ -14394,12 +14706,12 @@
14394
14706
  const falseAlarms = range(SDTMath.c2L(element.c, element.s), xScale.domain()[1], 0.05).map(e => {
14395
14707
  return {
14396
14708
  e: e,
14397
- p: jstatExports.normal.pdf(e, SDTMath.d2MuN(element.d, element.s), 1)
14709
+ p: jStat.normal.pdf(e, SDTMath.d2MuN(element.d, element.s), 1)
14398
14710
  };
14399
14711
  });
14400
14712
  falseAlarms.push({
14401
14713
  e: xScale.domain()[1],
14402
- p: jstatExports.normal.pdf(xScale.domain()[1], SDTMath.d2MuN(element.d, element.s), 1)
14714
+ p: jStat.normal.pdf(xScale.domain()[1], SDTMath.d2MuN(element.d, element.s), 1)
14403
14715
  });
14404
14716
  falseAlarms.push({
14405
14717
  e: xScale.domain()[1],
@@ -14427,12 +14739,12 @@
14427
14739
  const noise = range(xScale.domain()[0], xScale.domain()[1], 0.05).map(e => {
14428
14740
  return {
14429
14741
  e: e,
14430
- p: jstatExports.normal.pdf(e, SDTMath.d2MuN(element.d, element.s), 1)
14742
+ p: jStat.normal.pdf(e, SDTMath.d2MuN(element.d, element.s), 1)
14431
14743
  };
14432
14744
  });
14433
14745
  noise.push({
14434
14746
  e: xScale.domain()[1],
14435
- p: jstatExports.normal.pdf(xScale.domain()[1], SDTMath.d2MuN(element.d, element.s), 1)
14747
+ p: jStat.normal.pdf(xScale.domain()[1], SDTMath.d2MuN(element.d, element.s), 1)
14436
14748
  });
14437
14749
  return line$1(noise);
14438
14750
  };
@@ -14509,12 +14821,12 @@
14509
14821
  const misses = range(xScale.domain()[0], SDTMath.c2L(element.c, element.s), 0.05).map(e => {
14510
14822
  return {
14511
14823
  e: e,
14512
- p: jstatExports.normal.pdf(e, SDTMath.d2MuS(element.d, element.s), element.s)
14824
+ p: jStat.normal.pdf(e, SDTMath.d2MuS(element.d, element.s), element.s)
14513
14825
  };
14514
14826
  });
14515
14827
  misses.push({
14516
14828
  e: SDTMath.c2L(element.c, element.s),
14517
- p: jstatExports.normal.pdf(SDTMath.c2L(element.c, element.s), SDTMath.d2MuS(element.d, element.s), element.s)
14829
+ p: jStat.normal.pdf(SDTMath.c2L(element.c, element.s), SDTMath.d2MuS(element.d, element.s), element.s)
14518
14830
  });
14519
14831
  misses.push({
14520
14832
  e: SDTMath.c2L(element.c, element.s),
@@ -14544,12 +14856,12 @@
14544
14856
  const hits = range(SDTMath.c2L(element.c, element.s), xScale.domain()[1], 0.05).map(e => {
14545
14857
  return {
14546
14858
  e: e,
14547
- p: jstatExports.normal.pdf(e, SDTMath.d2MuS(element.d, element.s), element.s)
14859
+ p: jStat.normal.pdf(e, SDTMath.d2MuS(element.d, element.s), element.s)
14548
14860
  };
14549
14861
  });
14550
14862
  hits.push({
14551
14863
  e: xScale.domain()[1],
14552
- p: jstatExports.normal.pdf(xScale.domain()[1], SDTMath.d2MuS(element.d, element.s), element.s)
14864
+ p: jStat.normal.pdf(xScale.domain()[1], SDTMath.d2MuS(element.d, element.s), element.s)
14553
14865
  });
14554
14866
  hits.push({
14555
14867
  e: xScale.domain()[1],
@@ -14577,12 +14889,12 @@
14577
14889
  const signal = range(xScale.domain()[0], xScale.domain()[1], 0.05).map(e => {
14578
14890
  return {
14579
14891
  e: e,
14580
- p: jstatExports.normal.pdf(e, SDTMath.d2MuS(element.d, element.s), element.s)
14892
+ p: jStat.normal.pdf(e, SDTMath.d2MuS(element.d, element.s), element.s)
14581
14893
  };
14582
14894
  });
14583
14895
  signal.push({
14584
14896
  e: xScale.domain()[1],
14585
- p: jstatExports.normal.pdf(xScale.domain()[1], SDTMath.d2MuS(element.d, element.s), element.s)
14897
+ p: jStat.normal.pdf(xScale.domain()[1], SDTMath.d2MuS(element.d, element.s), element.s)
14586
14898
  });
14587
14899
  return line$1(signal);
14588
14900
  };
@@ -14664,13 +14976,13 @@
14664
14976
  sLabel.append('tspan').classed('value', true);
14665
14977
  // MERGE
14666
14978
  const sMerge = sEnter.merge(sUpdate);
14667
- 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
14668
- .attr('x2', xScale(this.muS + this.s)).attr('y2', yScale(jstatExports.normal.pdf(this.s, 0, this.s)) + 10 / this.s); // FIX - no hardcoding
14669
- 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
14670
- .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
14671
- 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
14672
- .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
14673
- 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
14979
+ 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
14980
+ .attr('x2', xScale(this.muS + this.s)).attr('y2', yScale(jStat.normal.pdf(this.s, 0, this.s)) + 10 / this.s); // FIX - no hardcoding
14981
+ 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
14982
+ .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
14983
+ 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
14984
+ .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
14985
+ 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
14674
14986
  sLabelTransition.select('.value').tween('text', (datum, index, elements) => {
14675
14987
  const element = elements[index];
14676
14988
  const interpolateS = interpolate$1(element.s !== undefined ? element.s : this.s, this.s);
@@ -15138,7 +15450,7 @@
15138
15450
  this.e = 0;
15139
15451
  }
15140
15452
  static get styles() {
15141
- return [super.styles, r$1`
15453
+ return [super.styles, r$2`
15142
15454
  :host {
15143
15455
  display: inline-block;
15144
15456
  }
@@ -15532,7 +15844,7 @@
15532
15844
  this.sendEvent();
15533
15845
  }
15534
15846
  static get styles() {
15535
- return [super.styles, r$1`
15847
+ return [super.styles, r$2`
15536
15848
  :host {
15537
15849
  display: inline-block;
15538
15850
  }
@@ -15905,7 +16217,7 @@
15905
16217
  this.numeric = false;
15906
16218
  }
15907
16219
  static get styles() {
15908
- return [super.styles, r$1`
16220
+ return [super.styles, r$2`
15909
16221
  :host {
15910
16222
  display: block;
15911
16223
 
@@ -17260,7 +17572,7 @@
17260
17572
  */
17261
17573
  class SDTExample extends DetectableElement {
17262
17574
  static get styles() {
17263
- return [super.styles, r$1`
17575
+ return [super.styles, r$2`
17264
17576
  :host {
17265
17577
  display: inline-block;
17266
17578