@decidables/detectable-elements 0.2.6 → 0.2.7

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,13 +3,13 @@
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
- const t$1 = window,
6
+ const t$1 = globalThis,
7
7
  e$2 = t$1.ShadowRoot && (void 0 === t$1.ShadyCSS || t$1.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
8
- s$3 = Symbol(),
9
- n$3 = new WeakMap();
10
- let o$3 = class o {
11
- constructor(t, e, n) {
12
- if (this._$cssResult$ = !0, n !== s$3) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
8
+ s$2 = Symbol(),
9
+ o$3 = new WeakMap();
10
+ let n$2 = class n {
11
+ constructor(t, e, o) {
12
+ if (this._$cssResult$ = !0, o !== s$2) 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() {
@@ -17,7 +17,7 @@ let o$3 = class o {
17
17
  const s = this.t;
18
18
  if (e$2 && void 0 === t) {
19
19
  const e = void 0 !== s && 1 === s.length;
20
- e && (t = n$3.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), e && n$3.set(s, t));
20
+ e && (t = o$3.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), e && o$3.set(s, t));
21
21
  }
22
22
  return t;
23
23
  }
@@ -25,26 +25,26 @@ let o$3 = class o {
25
25
  return this.cssText;
26
26
  }
27
27
  };
28
- const r$2 = t => new o$3("string" == typeof t ? t : t + "", void 0, s$3),
29
- i$1 = (t, ...e) => {
30
- const n = 1 === t.length ? t[0] : e.reduce((e, s, n) => e + (t => {
28
+ const r$3 = t => new n$2("string" == typeof t ? t : t + "", void 0, s$2),
29
+ i$2 = (t, ...e) => {
30
+ const o = 1 === t.length ? t[0] : e.reduce((e, s, o) => e + (t => {
31
31
  if (!0 === t._$cssResult$) return t.cssText;
32
32
  if ("number" == typeof t) return t;
33
33
  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.");
34
- })(s) + t[n + 1], t[0]);
35
- return new o$3(n, t, s$3);
34
+ })(s) + t[o + 1], t[0]);
35
+ return new n$2(o, t, s$2);
36
36
  },
37
- S$1 = (s, n) => {
38
- e$2 ? s.adoptedStyleSheets = n.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet) : n.forEach(e => {
39
- const n = document.createElement("style"),
40
- o = t$1.litNonce;
41
- void 0 !== o && n.setAttribute("nonce", o), n.textContent = e.cssText, s.appendChild(n);
42
- });
37
+ S$1 = (s, o) => {
38
+ if (e$2) s.adoptedStyleSheets = o.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet);else for (const e of o) {
39
+ const o = document.createElement("style"),
40
+ n = t$1.litNonce;
41
+ void 0 !== n && o.setAttribute("nonce", n), o.textContent = e.cssText, s.appendChild(o);
42
+ }
43
43
  },
44
- c$1 = e$2 ? t => t : t => t instanceof CSSStyleSheet ? (t => {
44
+ c$2 = e$2 ? t => t : t => t instanceof CSSStyleSheet ? (t => {
45
45
  let e = "";
46
46
  for (const s of t.cssRules) e += s.cssText;
47
- return r$2(e);
47
+ return r$3(e);
48
48
  })(t) : t;
49
49
 
50
50
  /**
@@ -52,16 +52,24 @@ const r$2 = t => new o$3("string" == typeof t ? t : t + "", void 0, s$3),
52
52
  * Copyright 2017 Google LLC
53
53
  * SPDX-License-Identifier: BSD-3-Clause
54
54
  */
55
- var s$2;
56
- const e$1 = window,
57
- r$1 = e$1.trustedTypes,
58
- h$1 = r$1 ? r$1.emptyScript : "",
59
- o$2 = e$1.reactiveElementPolyfillSupport,
60
- n$2 = {
61
- toAttribute(t, i) {
62
- switch (i) {
55
+ const {
56
+ is: i$1,
57
+ defineProperty: e$1,
58
+ getOwnPropertyDescriptor: r$2,
59
+ getOwnPropertyNames: h$1,
60
+ getOwnPropertySymbols: o$2,
61
+ getPrototypeOf: n$1
62
+ } = Object,
63
+ a$1 = globalThis,
64
+ c$1 = a$1.trustedTypes,
65
+ l$1 = c$1 ? c$1.emptyScript : "",
66
+ p$1 = a$1.reactiveElementPolyfillSupport,
67
+ d$1 = (t, s) => t,
68
+ u$1 = {
69
+ toAttribute(t, s) {
70
+ switch (s) {
63
71
  case Boolean:
64
- t = t ? h$1 : null;
72
+ t = t ? l$1 : null;
65
73
  break;
66
74
  case Object:
67
75
  case Array:
@@ -69,165 +77,177 @@ const e$1 = window,
69
77
  }
70
78
  return t;
71
79
  },
72
- fromAttribute(t, i) {
73
- let s = t;
74
- switch (i) {
80
+ fromAttribute(t, s) {
81
+ let i = t;
82
+ switch (s) {
75
83
  case Boolean:
76
- s = null !== t;
84
+ i = null !== t;
77
85
  break;
78
86
  case Number:
79
- s = null === t ? null : Number(t);
87
+ i = null === t ? null : Number(t);
80
88
  break;
81
89
  case Object:
82
90
  case Array:
83
91
  try {
84
- s = JSON.parse(t);
92
+ i = JSON.parse(t);
85
93
  } catch (t) {
86
- s = null;
94
+ i = null;
87
95
  }
88
96
  }
89
- return s;
97
+ return i;
90
98
  }
91
99
  },
92
- a$1 = (t, i) => i !== t && (i == i || t == t),
93
- l$3 = {
100
+ f$1 = (t, s) => !i$1(t, s),
101
+ y$2 = {
94
102
  attribute: !0,
95
103
  type: String,
96
- converter: n$2,
104
+ converter: u$1,
97
105
  reflect: !1,
98
- hasChanged: a$1
99
- },
100
- d$1 = "finalized";
101
- let u$1 = class u extends HTMLElement {
102
- constructor() {
103
- super(), this._$Ei = new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this._$Eu();
104
- }
106
+ hasChanged: f$1
107
+ };
108
+ Symbol.metadata ??= Symbol("metadata"), a$1.litPropertyMetadata ??= new WeakMap();
109
+ let b$1 = class b extends HTMLElement {
105
110
  static addInitializer(t) {
106
- var i;
107
- this.finalize(), (null !== (i = this.h) && void 0 !== i ? i : this.h = []).push(t);
111
+ this._$Ei(), (this.l ??= []).push(t);
108
112
  }
109
113
  static get observedAttributes() {
110
- this.finalize();
111
- const t = [];
112
- return this.elementProperties.forEach((i, s) => {
113
- const e = this._$Ep(s, i);
114
- void 0 !== e && (this._$Ev.set(e, s), t.push(e));
115
- }), t;
116
- }
117
- static createProperty(t, i = l$3) {
118
- if (i.state && (i.attribute = !1), this.finalize(), this.elementProperties.set(t, i), !i.noAccessor && !this.prototype.hasOwnProperty(t)) {
119
- const s = "symbol" == typeof t ? Symbol() : "__" + t,
120
- e = this.getPropertyDescriptor(t, s, i);
121
- void 0 !== e && Object.defineProperty(this.prototype, t, e);
114
+ return this.finalize(), this._$Eh && [...this._$Eh.keys()];
115
+ }
116
+ static createProperty(t, s = y$2) {
117
+ if (s.state && (s.attribute = !1), this._$Ei(), this.elementProperties.set(t, s), !s.noAccessor) {
118
+ const i = Symbol(),
119
+ r = this.getPropertyDescriptor(t, i, s);
120
+ void 0 !== r && e$1(this.prototype, t, r);
122
121
  }
123
122
  }
124
- static getPropertyDescriptor(t, i, s) {
123
+ static getPropertyDescriptor(t, s, i) {
124
+ const {
125
+ get: e,
126
+ set: h
127
+ } = r$2(this.prototype, t) ?? {
128
+ get() {
129
+ return this[s];
130
+ },
131
+ set(t) {
132
+ this[s] = t;
133
+ }
134
+ };
125
135
  return {
126
136
  get() {
127
- return this[i];
137
+ return e?.call(this);
128
138
  },
129
- set(e) {
130
- const r = this[t];
131
- this[i] = e, this.requestUpdate(t, r, s);
139
+ set(s) {
140
+ const r = e?.call(this);
141
+ h.call(this, s), this.requestUpdate(t, r, i);
132
142
  },
133
143
  configurable: !0,
134
144
  enumerable: !0
135
145
  };
136
146
  }
137
147
  static getPropertyOptions(t) {
138
- return this.elementProperties.get(t) || l$3;
148
+ return this.elementProperties.get(t) ?? y$2;
149
+ }
150
+ static _$Ei() {
151
+ if (this.hasOwnProperty(d$1("elementProperties"))) return;
152
+ const t = n$1(this);
153
+ t.finalize(), void 0 !== t.l && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
139
154
  }
140
155
  static finalize() {
141
- if (this.hasOwnProperty(d$1)) return !1;
142
- this[d$1] = !0;
143
- const t = Object.getPrototypeOf(this);
144
- if (t.finalize(), void 0 !== t.h && (this.h = [...t.h]), this.elementProperties = new Map(t.elementProperties), this._$Ev = new Map(), this.hasOwnProperty("properties")) {
156
+ if (this.hasOwnProperty(d$1("finalized"))) return;
157
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(d$1("properties"))) {
145
158
  const t = this.properties,
146
- i = [...Object.getOwnPropertyNames(t), ...Object.getOwnPropertySymbols(t)];
147
- for (const s of i) this.createProperty(s, t[s]);
159
+ s = [...h$1(t), ...o$2(t)];
160
+ for (const i of s) this.createProperty(i, t[i]);
148
161
  }
149
- return this.elementStyles = this.finalizeStyles(this.styles), !0;
150
- }
151
- static finalizeStyles(i) {
152
- const s = [];
153
- if (Array.isArray(i)) {
154
- const e = new Set(i.flat(1 / 0).reverse());
155
- for (const i of e) s.unshift(c$1(i));
156
- } else void 0 !== i && s.push(c$1(i));
157
- return s;
162
+ const t = this[Symbol.metadata];
163
+ if (null !== t) {
164
+ const s = litPropertyMetadata.get(t);
165
+ if (void 0 !== s) for (const [t, i] of s) this.elementProperties.set(t, i);
166
+ }
167
+ this._$Eh = new Map();
168
+ for (const [t, s] of this.elementProperties) {
169
+ const i = this._$Eu(t, s);
170
+ void 0 !== i && this._$Eh.set(i, t);
171
+ }
172
+ this.elementStyles = this.finalizeStyles(this.styles);
158
173
  }
159
- static _$Ep(t, i) {
160
- const s = i.attribute;
161
- return !1 === s ? void 0 : "string" == typeof s ? s : "string" == typeof t ? t.toLowerCase() : void 0;
174
+ static finalizeStyles(s) {
175
+ const i = [];
176
+ if (Array.isArray(s)) {
177
+ const e = new Set(s.flat(1 / 0).reverse());
178
+ for (const s of e) i.unshift(c$2(s));
179
+ } else void 0 !== s && i.push(c$2(s));
180
+ return i;
162
181
  }
163
- _$Eu() {
164
- var t;
165
- this._$E_ = new Promise(t => this.enableUpdating = t), this._$AL = new Map(), this._$Eg(), this.requestUpdate(), null === (t = this.constructor.h) || void 0 === t || t.forEach(t => t(this));
182
+ static _$Eu(t, s) {
183
+ const i = s.attribute;
184
+ return !1 === i ? void 0 : "string" == typeof i ? i : "string" == typeof t ? t.toLowerCase() : void 0;
185
+ }
186
+ constructor() {
187
+ super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
188
+ }
189
+ _$Ev() {
190
+ this._$Eg = new Promise(t => this.enableUpdating = t), this._$AL = new Map(), this._$ES(), this.requestUpdate(), this.constructor.l?.forEach(t => t(this));
166
191
  }
167
192
  addController(t) {
168
- var i, s;
169
- (null !== (i = this._$ES) && void 0 !== i ? i : this._$ES = []).push(t), void 0 !== this.renderRoot && this.isConnected && (null === (s = t.hostConnected) || void 0 === s || s.call(t));
193
+ (this._$E_ ??= new Set()).add(t), void 0 !== this.renderRoot && this.isConnected && t.hostConnected?.();
170
194
  }
171
195
  removeController(t) {
172
- var i;
173
- null === (i = this._$ES) || void 0 === i || i.splice(this._$ES.indexOf(t) >>> 0, 1);
196
+ this._$E_?.delete(t);
174
197
  }
175
- _$Eg() {
176
- this.constructor.elementProperties.forEach((t, i) => {
177
- this.hasOwnProperty(i) && (this._$Ei.set(i, this[i]), delete this[i]);
178
- });
198
+ _$ES() {
199
+ const t = new Map(),
200
+ s = this.constructor.elementProperties;
201
+ for (const i of s.keys()) this.hasOwnProperty(i) && (t.set(i, this[i]), delete this[i]);
202
+ t.size > 0 && (this._$Ep = t);
179
203
  }
180
204
  createRenderRoot() {
181
- var t;
182
- const s = null !== (t = this.shadowRoot) && void 0 !== t ? t : this.attachShadow(this.constructor.shadowRootOptions);
183
- return S$1(s, this.constructor.elementStyles), s;
205
+ const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
206
+ return S$1(t, this.constructor.elementStyles), t;
184
207
  }
185
208
  connectedCallback() {
186
- var t;
187
- void 0 === this.renderRoot && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), null === (t = this._$ES) || void 0 === t || t.forEach(t => {
188
- var i;
189
- return null === (i = t.hostConnected) || void 0 === i ? void 0 : i.call(t);
190
- });
209
+ this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$E_?.forEach(t => t.hostConnected?.());
191
210
  }
192
211
  enableUpdating(t) {}
193
212
  disconnectedCallback() {
194
- var t;
195
- null === (t = this._$ES) || void 0 === t || t.forEach(t => {
196
- var i;
197
- return null === (i = t.hostDisconnected) || void 0 === i ? void 0 : i.call(t);
198
- });
213
+ this._$E_?.forEach(t => t.hostDisconnected?.());
199
214
  }
200
- attributeChangedCallback(t, i, s) {
201
- this._$AK(t, s);
215
+ attributeChangedCallback(t, s, i) {
216
+ this._$AK(t, i);
202
217
  }
203
- _$EO(t, i, s = l$3) {
204
- var e;
205
- const r = this.constructor._$Ep(t, s);
206
- if (void 0 !== r && !0 === s.reflect) {
207
- const h = (void 0 !== (null === (e = s.converter) || void 0 === e ? void 0 : e.toAttribute) ? s.converter : n$2).toAttribute(i, s.type);
208
- this._$El = t, null == h ? this.removeAttribute(r) : this.setAttribute(r, h), this._$El = null;
218
+ _$EO(t, s) {
219
+ const i = this.constructor.elementProperties.get(t),
220
+ e = this.constructor._$Eu(t, i);
221
+ if (void 0 !== e && !0 === i.reflect) {
222
+ const r = (void 0 !== i.converter?.toAttribute ? i.converter : u$1).toAttribute(s, i.type);
223
+ this._$Em = t, null == r ? this.removeAttribute(e) : this.setAttribute(e, r), this._$Em = null;
209
224
  }
210
225
  }
211
- _$AK(t, i) {
212
- var s;
213
- const e = this.constructor,
214
- r = e._$Ev.get(t);
215
- if (void 0 !== r && this._$El !== r) {
216
- const t = e.getPropertyOptions(r),
217
- h = "function" == typeof t.converter ? {
226
+ _$AK(t, s) {
227
+ const i = this.constructor,
228
+ e = i._$Eh.get(t);
229
+ if (void 0 !== e && this._$Em !== e) {
230
+ const t = i.getPropertyOptions(e),
231
+ r = "function" == typeof t.converter ? {
218
232
  fromAttribute: t.converter
219
- } : void 0 !== (null === (s = t.converter) || void 0 === s ? void 0 : s.fromAttribute) ? t.converter : n$2;
220
- this._$El = r, this[r] = h.fromAttribute(i, t.type), this._$El = null;
233
+ } : void 0 !== t.converter?.fromAttribute ? t.converter : u$1;
234
+ this._$Em = e, this[e] = r.fromAttribute(s, t.type), this._$Em = null;
235
+ }
236
+ }
237
+ requestUpdate(t, s, i, e = !1, r) {
238
+ if (void 0 !== t) {
239
+ if (i ??= this.constructor.getPropertyOptions(t), !(i.hasChanged ?? f$1)(e ? r : this[t], s)) return;
240
+ this.C(t, s, i);
221
241
  }
242
+ !1 === this.isUpdatePending && (this._$Eg = this._$EP());
222
243
  }
223
- requestUpdate(t, i, s) {
224
- let e = !0;
225
- void 0 !== t && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || a$1)(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());
244
+ C(t, s, i) {
245
+ this._$AL.has(t) || this._$AL.set(t, s), !0 === i.reflect && this._$Em !== t && (this._$Ej ??= new Set()).add(t);
226
246
  }
227
- async _$Ej() {
247
+ async _$EP() {
228
248
  this.isUpdatePending = !0;
229
249
  try {
230
- await this._$E_;
250
+ await this._$Eg;
231
251
  } catch (t) {
232
252
  Promise.reject(t);
233
253
  }
@@ -238,192 +258,182 @@ let u$1 = class u extends HTMLElement {
238
258
  return this.performUpdate();
239
259
  }
240
260
  performUpdate() {
241
- var t;
242
261
  if (!this.isUpdatePending) return;
243
- this.hasUpdated, this._$Ei && (this._$Ei.forEach((t, i) => this[i] = t), this._$Ei = void 0);
244
- let i = !1;
262
+ if (!this.hasUpdated) {
263
+ if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {
264
+ for (const [t, s] of this._$Ep) this[t] = s;
265
+ this._$Ep = void 0;
266
+ }
267
+ const t = this.constructor.elementProperties;
268
+ if (t.size > 0) for (const [s, i] of t) !0 !== i.wrapped || this._$AL.has(s) || void 0 === this[s] || this.C(s, this[s], i);
269
+ }
270
+ let t = !1;
245
271
  const s = this._$AL;
246
272
  try {
247
- i = this.shouldUpdate(s), i ? (this.willUpdate(s), null === (t = this._$ES) || void 0 === t || t.forEach(t => {
248
- var i;
249
- return null === (i = t.hostUpdate) || void 0 === i ? void 0 : i.call(t);
250
- }), this.update(s)) : this._$Ek();
251
- } catch (t) {
252
- throw i = !1, this._$Ek(), t;
273
+ t = this.shouldUpdate(s), t ? (this.willUpdate(s), this._$E_?.forEach(t => t.hostUpdate?.()), this.update(s)) : this._$ET();
274
+ } catch (s) {
275
+ throw t = !1, this._$ET(), s;
253
276
  }
254
- i && this._$AE(s);
277
+ t && this._$AE(s);
255
278
  }
256
279
  willUpdate(t) {}
257
280
  _$AE(t) {
258
- var i;
259
- null === (i = this._$ES) || void 0 === i || i.forEach(t => {
260
- var i;
261
- return null === (i = t.hostUpdated) || void 0 === i ? void 0 : i.call(t);
262
- }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
281
+ this._$E_?.forEach(t => t.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
263
282
  }
264
- _$Ek() {
283
+ _$ET() {
265
284
  this._$AL = new Map(), this.isUpdatePending = !1;
266
285
  }
267
286
  get updateComplete() {
268
287
  return this.getUpdateComplete();
269
288
  }
270
289
  getUpdateComplete() {
271
- return this._$E_;
290
+ return this._$Eg;
272
291
  }
273
292
  shouldUpdate(t) {
274
293
  return !0;
275
294
  }
276
295
  update(t) {
277
- void 0 !== this._$EC && (this._$EC.forEach((t, i) => this._$EO(i, this[i], t)), this._$EC = void 0), this._$Ek();
296
+ this._$Ej &&= this._$Ej.forEach(t => this._$EO(t, this[t])), this._$ET();
278
297
  }
279
298
  updated(t) {}
280
299
  firstUpdated(t) {}
281
300
  };
282
- u$1[d$1] = !0, u$1.elementProperties = new Map(), u$1.elementStyles = [], u$1.shadowRootOptions = {
301
+ b$1.elementStyles = [], b$1.shadowRootOptions = {
283
302
  mode: "open"
284
- }, null == o$2 || o$2({
285
- ReactiveElement: u$1
286
- }), (null !== (s$2 = e$1.reactiveElementVersions) && void 0 !== s$2 ? s$2 : e$1.reactiveElementVersions = []).push("1.6.3");
303
+ }, b$1[d$1("elementProperties")] = new Map(), b$1[d$1("finalized")] = new Map(), p$1?.({
304
+ ReactiveElement: b$1
305
+ }), (a$1.reactiveElementVersions ??= []).push("2.0.2");
287
306
 
288
307
  /**
289
308
  * @license
290
309
  * Copyright 2017 Google LLC
291
310
  * SPDX-License-Identifier: BSD-3-Clause
292
311
  */
293
- var t;
294
- const i = window,
295
- s$1 = i.trustedTypes,
296
- e = s$1 ? s$1.createPolicy("lit-html", {
312
+ const t = globalThis,
313
+ i = t.trustedTypes,
314
+ s$1 = i ? i.createPolicy("lit-html", {
297
315
  createHTML: t => t
298
316
  }) : void 0,
299
- o$1 = "$lit$",
300
- n$1 = `lit$${(Math.random() + "").slice(9)}$`,
301
- l$2 = "?" + n$1,
302
- h = `<${l$2}>`,
303
- r = document,
304
- u = () => r.createComment(""),
305
- d = t => null === t || "object" != typeof t && "function" != typeof t,
306
- c = Array.isArray,
307
- v = t => c(t) || "function" == typeof (null == t ? void 0 : t[Symbol.iterator]),
308
- a = "[ \t\n\f\r]",
317
+ e = "$lit$",
318
+ h = `lit$${(Math.random() + "").slice(9)}$`,
319
+ o$1 = "?" + h,
320
+ n = `<${o$1}>`,
321
+ r$1 = document,
322
+ l = () => r$1.createComment(""),
323
+ c = t => null === t || "object" != typeof t && "function" != typeof t,
324
+ a = Array.isArray,
325
+ u = t => a(t) || "function" == typeof t?.[Symbol.iterator],
326
+ d = "[ \t\n\f\r]",
309
327
  f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
310
- _ = /-->/g,
311
- m = />/g,
312
- p = RegExp(`>|${a}(?:([^\\s"'>=/]+)(${a}*=${a}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"),
313
- g = /'/g,
314
- $ = /"/g,
315
- y$1 = /^(?:script|style|textarea|title)$/i,
316
- w = t => (i, ...s) => ({
328
+ v = /-->/g,
329
+ _ = />/g,
330
+ m = RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"),
331
+ p = /'/g,
332
+ g = /"/g,
333
+ $ = /^(?:script|style|textarea|title)$/i,
334
+ y$1 = t => (i, ...s) => ({
317
335
  _$litType$: t,
318
336
  strings: i,
319
337
  values: s
320
338
  }),
321
- x$1 = w(1),
322
- b = w(2),
323
- T = Symbol.for("lit-noChange"),
324
- A = Symbol.for("lit-nothing"),
325
- E = new WeakMap(),
326
- C = r.createTreeWalker(r, 129, null, !1);
327
- function P(t, i) {
339
+ x$1 = y$1(1),
340
+ b = y$1(2),
341
+ w = Symbol.for("lit-noChange"),
342
+ T = Symbol.for("lit-nothing"),
343
+ A = new WeakMap(),
344
+ E = r$1.createTreeWalker(r$1, 129);
345
+ function C(t, i) {
328
346
  if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
329
- return void 0 !== e ? e.createHTML(i) : i;
347
+ return void 0 !== s$1 ? s$1.createHTML(i) : i;
330
348
  }
331
- const V = (t, i) => {
349
+ const P = (t, i) => {
332
350
  const s = t.length - 1,
333
- e = [];
334
- let l,
335
- r = 2 === i ? "<svg>" : "",
336
- u = f;
351
+ o = [];
352
+ let r,
353
+ l = 2 === i ? "<svg>" : "",
354
+ c = f;
337
355
  for (let i = 0; i < s; i++) {
338
356
  const s = t[i];
339
- let d,
340
- c,
341
- v = -1,
342
- a = 0;
343
- 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]) && (l = RegExp("</" + c[2], "g")), u = p) : void 0 !== c[3] && (u = p) : u === p ? ">" === c[0] ? (u = null != l ? l : f, v = -1) : void 0 === c[1] ? v = -2 : (v = u.lastIndex - c[2].length, d = c[1], u = void 0 === c[3] ? p : '"' === c[3] ? $ : g) : u === $ || u === g ? u = p : u === _ || u === m ? u = f : (u = p, l = void 0);
344
- const w = u === p && t[i + 1].startsWith("/>") ? " " : "";
345
- r += u === f ? s + h : v >= 0 ? (e.push(d), s.slice(0, v) + o$1 + s.slice(v) + n$1 + w) : s + n$1 + (-2 === v ? (e.push(void 0), i) : w);
346
- }
347
- return [P(t, r + (t[s] || "<?>") + (2 === i ? "</svg>" : "")), e];
357
+ let a,
358
+ u,
359
+ d = -1,
360
+ y = 0;
361
+ for (; y < s.length && (c.lastIndex = y, u = c.exec(s), null !== u);) y = c.lastIndex, c === f ? "!--" === u[1] ? c = v : void 0 !== u[1] ? c = _ : void 0 !== u[2] ? ($.test(u[2]) && (r = RegExp("</" + u[2], "g")), c = m) : void 0 !== u[3] && (c = m) : c === m ? ">" === u[0] ? (c = r ?? f, d = -1) : void 0 === u[1] ? d = -2 : (d = c.lastIndex - u[2].length, a = u[1], c = void 0 === u[3] ? m : '"' === u[3] ? g : p) : c === g || c === p ? c = m : c === v || c === _ ? c = f : (c = m, r = void 0);
362
+ const x = c === m && t[i + 1].startsWith("/>") ? " " : "";
363
+ l += c === f ? s + n : d >= 0 ? (o.push(a), s.slice(0, d) + e + s.slice(d) + h + x) : s + h + (-2 === d ? i : x);
364
+ }
365
+ return [C(t, l + (t[s] || "<?>") + (2 === i ? "</svg>" : "")), o];
348
366
  };
349
- class N {
367
+ class V {
350
368
  constructor({
351
369
  strings: t,
352
- _$litType$: i
353
- }, e) {
354
- let h;
370
+ _$litType$: s
371
+ }, n) {
372
+ let r;
355
373
  this.parts = [];
356
- let r = 0,
357
- d = 0;
358
- const c = t.length - 1,
359
- v = this.parts,
360
- [a, f] = V(t, i);
361
- if (this.el = N.createElement(a, e), C.currentNode = this.el.content, 2 === i) {
362
- const t = this.el.content,
363
- i = t.firstChild;
364
- i.remove(), t.append(...i.childNodes);
374
+ let c = 0,
375
+ a = 0;
376
+ const u = t.length - 1,
377
+ d = this.parts,
378
+ [f, v] = P(t, s);
379
+ if (this.el = V.createElement(f, n), E.currentNode = this.el.content, 2 === s) {
380
+ const t = this.el.content.firstChild;
381
+ t.replaceWith(...t.childNodes);
365
382
  }
366
- for (; null !== (h = C.nextNode()) && v.length < c;) {
367
- if (1 === h.nodeType) {
368
- if (h.hasAttributes()) {
369
- const t = [];
370
- for (const i of h.getAttributeNames()) if (i.endsWith(o$1) || i.startsWith(n$1)) {
371
- const s = f[d++];
372
- if (t.push(i), void 0 !== s) {
373
- const t = h.getAttribute(s.toLowerCase() + o$1).split(n$1),
374
- i = /([.?@])?(.*)/.exec(s);
375
- v.push({
376
- type: 1,
377
- index: r,
378
- name: i[2],
379
- strings: t,
380
- ctor: "." === i[1] ? H : "?" === i[1] ? L : "@" === i[1] ? z : k
381
- });
382
- } else v.push({
383
- type: 6,
384
- index: r
385
- });
386
- }
387
- for (const i of t) h.removeAttribute(i);
388
- }
389
- if (y$1.test(h.tagName)) {
390
- const t = h.textContent.split(n$1),
391
- i = t.length - 1;
392
- if (i > 0) {
393
- h.textContent = s$1 ? s$1.emptyScript : "";
394
- for (let s = 0; s < i; s++) h.append(t[s], u()), C.nextNode(), v.push({
383
+ for (; null !== (r = E.nextNode()) && d.length < u;) {
384
+ if (1 === r.nodeType) {
385
+ if (r.hasAttributes()) for (const t of r.getAttributeNames()) if (t.endsWith(e)) {
386
+ const i = v[a++],
387
+ s = r.getAttribute(t).split(h),
388
+ e = /([.?@])?(.*)/.exec(i);
389
+ d.push({
390
+ type: 1,
391
+ index: c,
392
+ name: e[2],
393
+ strings: s,
394
+ ctor: "." === e[1] ? k : "?" === e[1] ? H : "@" === e[1] ? I : R
395
+ }), r.removeAttribute(t);
396
+ } else t.startsWith(h) && (d.push({
397
+ type: 6,
398
+ index: c
399
+ }), r.removeAttribute(t));
400
+ if ($.test(r.tagName)) {
401
+ const t = r.textContent.split(h),
402
+ s = t.length - 1;
403
+ if (s > 0) {
404
+ r.textContent = i ? i.emptyScript : "";
405
+ for (let i = 0; i < s; i++) r.append(t[i], l()), E.nextNode(), d.push({
395
406
  type: 2,
396
- index: ++r
407
+ index: ++c
397
408
  });
398
- h.append(t[i], u());
409
+ r.append(t[s], l());
399
410
  }
400
411
  }
401
- } else if (8 === h.nodeType) if (h.data === l$2) v.push({
412
+ } else if (8 === r.nodeType) if (r.data === o$1) d.push({
402
413
  type: 2,
403
- index: r
414
+ index: c
404
415
  });else {
405
416
  let t = -1;
406
- for (; -1 !== (t = h.data.indexOf(n$1, t + 1));) v.push({
417
+ for (; -1 !== (t = r.data.indexOf(h, t + 1));) d.push({
407
418
  type: 7,
408
- index: r
409
- }), t += n$1.length - 1;
419
+ index: c
420
+ }), t += h.length - 1;
410
421
  }
411
- r++;
422
+ c++;
412
423
  }
413
424
  }
414
425
  static createElement(t, i) {
415
- const s = r.createElement("template");
426
+ const s = r$1.createElement("template");
416
427
  return s.innerHTML = t, s;
417
428
  }
418
429
  }
419
- function S(t, i, s = t, e) {
420
- var o, n, l, h;
421
- if (i === T) return i;
422
- let r = void 0 !== e ? null === (o = s._$Co) || void 0 === o ? void 0 : o[e] : s._$Cl;
423
- const u = d(i) ? void 0 : i._$litDirective$;
424
- 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(t, r._$AS(t, i.values), r, e)), i;
430
+ function N(t, i, s = t, e) {
431
+ if (i === w) return i;
432
+ let h = void 0 !== e ? s._$Co?.[e] : s._$Cl;
433
+ const o = c(i) ? void 0 : i._$litDirective$;
434
+ return h?.constructor !== o && (h?._$AO?.(!1), void 0 === o ? h = void 0 : (h = new o(t), h._$AT(t, s, e)), void 0 !== e ? (s._$Co ??= [])[e] = h : s._$Cl = h), void 0 !== h && (i = N(t, h._$AS(t, i.values), h, e)), i;
425
435
  }
426
- class M {
436
+ class S {
427
437
  constructor(t, i) {
428
438
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
429
439
  }
@@ -434,46 +444,43 @@ class M {
434
444
  return this._$AM._$AU;
435
445
  }
436
446
  u(t) {
437
- var i;
438
447
  const {
439
448
  el: {
440
- content: s
449
+ content: i
441
450
  },
442
- parts: e
451
+ parts: s
443
452
  } = this._$AD,
444
- o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : r).importNode(s, !0);
445
- C.currentNode = o;
446
- let n = C.nextNode(),
447
- l = 0,
448
- h = 0,
449
- u = e[0];
450
- for (; void 0 !== u;) {
451
- if (l === u.index) {
453
+ e = (t?.creationScope ?? r$1).importNode(i, !0);
454
+ E.currentNode = e;
455
+ let h = E.nextNode(),
456
+ o = 0,
457
+ n = 0,
458
+ l = s[0];
459
+ for (; void 0 !== l;) {
460
+ if (o === l.index) {
452
461
  let i;
453
- 2 === u.type ? i = new R(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];
462
+ 2 === l.type ? i = new M(h, h.nextSibling, this, t) : 1 === l.type ? i = new l.ctor(h, l.name, l.strings, this, t) : 6 === l.type && (i = new L(h, this, t)), this._$AV.push(i), l = s[++n];
454
463
  }
455
- l !== (null == u ? void 0 : u.index) && (n = C.nextNode(), l++);
464
+ o !== l?.index && (h = E.nextNode(), o++);
456
465
  }
457
- return C.currentNode = r, o;
466
+ return E.currentNode = r$1, e;
458
467
  }
459
- v(t) {
468
+ p(t) {
460
469
  let i = 0;
461
470
  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++;
462
471
  }
463
472
  }
464
- class R {
465
- constructor(t, i, s, e) {
466
- var o;
467
- this.type = 2, this._$AH = A, 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;
468
- }
473
+ class M {
469
474
  get _$AU() {
470
- var t, i;
471
- return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cp;
475
+ return this._$AM?._$AU ?? this._$Cv;
476
+ }
477
+ constructor(t, i, s, e) {
478
+ this.type = 2, this._$AH = T, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = e?.isConnected ?? !0;
472
479
  }
473
480
  get parentNode() {
474
481
  let t = this._$AA.parentNode;
475
482
  const i = this._$AM;
476
- return void 0 !== i && 11 === (null == t ? void 0 : t.nodeType) && (t = i.parentNode), t;
483
+ return void 0 !== i && 11 === t?.nodeType && (t = i.parentNode), t;
477
484
  }
478
485
  get startNode() {
479
486
  return this._$AA;
@@ -482,7 +489,7 @@ class R {
482
489
  return this._$AB;
483
490
  }
484
491
  _$AI(t, i = this) {
485
- t = S(this, t, i), d(t) ? t === A || null == t || "" === t ? (this._$AH !== A && this._$AR(), this._$AH = A) : t !== this._$AH && t !== T && this._(t) : void 0 !== t._$litType$ ? this.g(t) : void 0 !== t.nodeType ? this.$(t) : v(t) ? this.T(t) : this._(t);
492
+ t = N(this, t, i), c(t) ? t === T || null == t || "" === t ? (this._$AH !== T && this._$AR(), this._$AH = T) : t !== this._$AH && t !== w && this._(t) : void 0 !== t._$litType$ ? this.g(t) : void 0 !== t.nodeType ? this.$(t) : u(t) ? this.T(t) : this._(t);
486
493
  }
487
494
  k(t) {
488
495
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -491,104 +498,98 @@ class R {
491
498
  this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
492
499
  }
493
500
  _(t) {
494
- this._$AH !== A && d(this._$AH) ? this._$AA.nextSibling.data = t : this.$(r.createTextNode(t)), this._$AH = t;
501
+ this._$AH !== T && c(this._$AH) ? this._$AA.nextSibling.data = t : this.$(r$1.createTextNode(t)), this._$AH = t;
495
502
  }
496
503
  g(t) {
497
- var i;
498
504
  const {
499
- values: s,
500
- _$litType$: e
505
+ values: i,
506
+ _$litType$: s
501
507
  } = t,
502
- o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el = N.createElement(P(e.h, e.h[0]), this.options)), e);
503
- if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.v(s);else {
504
- const t = new M(o, this),
505
- i = t.u(this.options);
506
- t.v(s), this.$(i), this._$AH = t;
508
+ e = "number" == typeof s ? this._$AC(t) : (void 0 === s.el && (s.el = V.createElement(C(s.h, s.h[0]), this.options)), s);
509
+ if (this._$AH?._$AD === e) this._$AH.p(i);else {
510
+ const t = new S(e, this),
511
+ s = t.u(this.options);
512
+ t.p(i), this.$(s), this._$AH = t;
507
513
  }
508
514
  }
509
515
  _$AC(t) {
510
- let i = E.get(t.strings);
511
- return void 0 === i && E.set(t.strings, i = new N(t)), i;
516
+ let i = A.get(t.strings);
517
+ return void 0 === i && A.set(t.strings, i = new V(t)), i;
512
518
  }
513
519
  T(t) {
514
- c(this._$AH) || (this._$AH = [], this._$AR());
520
+ a(this._$AH) || (this._$AH = [], this._$AR());
515
521
  const i = this._$AH;
516
522
  let s,
517
523
  e = 0;
518
- for (const o of t) e === i.length ? i.push(s = new R(this.k(u()), this.k(u()), this, this.options)) : s = i[e], s._$AI(o), e++;
524
+ for (const h of t) e === i.length ? i.push(s = new M(this.k(l()), this.k(l()), this, this.options)) : s = i[e], s._$AI(h), e++;
519
525
  e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
520
526
  }
521
527
  _$AR(t = this._$AA.nextSibling, i) {
522
- var s;
523
- for (null === (s = this._$AP) || void 0 === s || s.call(this, !1, !0, i); t && t !== this._$AB;) {
528
+ for (this._$AP?.(!1, !0, i); t && t !== this._$AB;) {
524
529
  const i = t.nextSibling;
525
530
  t.remove(), t = i;
526
531
  }
527
532
  }
528
533
  setConnected(t) {
529
- var i;
530
- void 0 === this._$AM && (this._$Cp = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
534
+ void 0 === this._$AM && (this._$Cv = t, this._$AP?.(t));
531
535
  }
532
536
  }
533
- class k {
534
- constructor(t, i, s, e, o) {
535
- 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;
536
- }
537
+ class R {
537
538
  get tagName() {
538
539
  return this.element.tagName;
539
540
  }
540
541
  get _$AU() {
541
542
  return this._$AM._$AU;
542
543
  }
544
+ constructor(t, i, s, e, h) {
545
+ this.type = 1, this._$AH = T, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = h, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = T;
546
+ }
543
547
  _$AI(t, i = this, s, e) {
544
- const o = this.strings;
545
- let n = !1;
546
- if (void 0 === o) t = S(this, t, i, 0), n = !d(t) || t !== this._$AH && t !== T, n && (this._$AH = t);else {
548
+ const h = this.strings;
549
+ let o = !1;
550
+ if (void 0 === h) t = N(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== w, o && (this._$AH = t);else {
547
551
  const e = t;
548
- let l, h;
549
- for (t = o[0], l = 0; l < o.length - 1; l++) h = S(this, e[s + l], i, l), h === T && (h = this._$AH[l]), n || (n = !d(h) || h !== this._$AH[l]), h === A ? t = A : t !== A && (t += (null != h ? h : "") + o[l + 1]), this._$AH[l] = h;
552
+ let n, r;
553
+ for (t = h[0], n = 0; n < h.length - 1; n++) r = N(this, e[s + n], i, n), r === w && (r = this._$AH[n]), o ||= !c(r) || r !== this._$AH[n], r === T ? t = T : t !== T && (t += (r ?? "") + h[n + 1]), this._$AH[n] = r;
550
554
  }
551
- n && !e && this.j(t);
555
+ o && !e && this.O(t);
552
556
  }
553
- j(t) {
554
- t === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
557
+ O(t) {
558
+ t === T ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
555
559
  }
556
560
  }
557
- class H extends k {
561
+ class k extends R {
558
562
  constructor() {
559
563
  super(...arguments), this.type = 3;
560
564
  }
561
- j(t) {
562
- this.element[this.name] = t === A ? void 0 : t;
565
+ O(t) {
566
+ this.element[this.name] = t === T ? void 0 : t;
563
567
  }
564
568
  }
565
- const I = s$1 ? s$1.emptyScript : "";
566
- class L extends k {
569
+ class H extends R {
567
570
  constructor() {
568
571
  super(...arguments), this.type = 4;
569
572
  }
570
- j(t) {
571
- t && t !== A ? this.element.setAttribute(this.name, I) : this.element.removeAttribute(this.name);
573
+ O(t) {
574
+ this.element.toggleAttribute(this.name, !!t && t !== T);
572
575
  }
573
576
  }
574
- class z extends k {
575
- constructor(t, i, s, e, o) {
576
- super(t, i, s, e, o), this.type = 5;
577
+ class I extends R {
578
+ constructor(t, i, s, e, h) {
579
+ super(t, i, s, e, h), this.type = 5;
577
580
  }
578
581
  _$AI(t, i = this) {
579
- var s;
580
- if ((t = null !== (s = S(this, t, i, 0)) && void 0 !== s ? s : A) === T) return;
581
- const e = this._$AH,
582
- o = t === A && e !== A || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive,
583
- n = t !== A && (e === A || o);
584
- o && this.element.removeEventListener(this.name, this, e), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
582
+ if ((t = N(this, t, i, 0) ?? T) === w) return;
583
+ const s = this._$AH,
584
+ e = t === T && s !== T || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive,
585
+ h = t !== T && (s === T || e);
586
+ e && this.element.removeEventListener(this.name, this, s), h && this.element.addEventListener(this.name, this, t), this._$AH = t;
585
587
  }
586
588
  handleEvent(t) {
587
- var i, s;
588
- "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);
589
+ "function" == typeof this._$AH ? this._$AH.call(this.options?.host ?? this.element, t) : this._$AH.handleEvent(t);
589
590
  }
590
591
  }
591
- class Z {
592
+ class L {
592
593
  constructor(t, i, s) {
593
594
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
594
595
  }
@@ -596,20 +597,19 @@ class Z {
596
597
  return this._$AM._$AU;
597
598
  }
598
599
  _$AI(t) {
599
- S(this, t);
600
+ N(this, t);
600
601
  }
601
602
  }
602
- const B = i.litHtmlPolyfillSupport;
603
- null == B || B(N, R), (null !== (t = i.litHtmlVersions) && void 0 !== t ? t : i.litHtmlVersions = []).push("2.8.0");
604
- const D = (t, i, s) => {
605
- var e, o;
606
- const n = null !== (e = null == s ? void 0 : s.renderBefore) && void 0 !== e ? e : i;
607
- let l = n._$litPart$;
608
- if (void 0 === l) {
609
- const t = null !== (o = null == s ? void 0 : s.renderBefore) && void 0 !== o ? o : null;
610
- n._$litPart$ = l = new R(i.insertBefore(u(), t), t, void 0, null != s ? s : {});
603
+ const Z = t.litHtmlPolyfillSupport;
604
+ Z?.(V, M), (t.litHtmlVersions ??= []).push("3.1.0");
605
+ const j = (t, i, s) => {
606
+ const e = s?.renderBefore ?? i;
607
+ let h = e._$litPart$;
608
+ if (void 0 === h) {
609
+ const t = s?.renderBefore ?? null;
610
+ e._$litPart$ = h = new M(i.insertBefore(l(), t), t, void 0, s ?? {});
611
611
  }
612
- return l._$AI(t), l;
612
+ return h._$AI(t), h;
613
613
  };
614
614
 
615
615
  /**
@@ -617,42 +617,38 @@ const D = (t, i, s) => {
617
617
  * Copyright 2017 Google LLC
618
618
  * SPDX-License-Identifier: BSD-3-Clause
619
619
  */
620
- var l$1, o;
621
- class s extends u$1 {
620
+ class s extends b$1 {
622
621
  constructor() {
623
622
  super(...arguments), this.renderOptions = {
624
623
  host: this
625
624
  }, this._$Do = void 0;
626
625
  }
627
626
  createRenderRoot() {
628
- var t, e;
629
- const i = super.createRenderRoot();
630
- return null !== (t = (e = this.renderOptions).renderBefore) && void 0 !== t || (e.renderBefore = i.firstChild), i;
627
+ const t = super.createRenderRoot();
628
+ return this.renderOptions.renderBefore ??= t.firstChild, t;
631
629
  }
632
630
  update(t) {
633
631
  const i = this.render();
634
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = D(i, this.renderRoot, this.renderOptions);
632
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = j(i, this.renderRoot, this.renderOptions);
635
633
  }
636
634
  connectedCallback() {
637
- var t;
638
- super.connectedCallback(), null === (t = this._$Do) || void 0 === t || t.setConnected(!0);
635
+ super.connectedCallback(), this._$Do?.setConnected(!0);
639
636
  }
640
637
  disconnectedCallback() {
641
- var t;
642
- super.disconnectedCallback(), null === (t = this._$Do) || void 0 === t || t.setConnected(!1);
638
+ super.disconnectedCallback(), this._$Do?.setConnected(!1);
643
639
  }
644
640
  render() {
645
- return T;
641
+ return w;
646
642
  }
647
643
  }
648
- s.finalized = !0, s._$litElement$ = !0, null === (l$1 = globalThis.litElementHydrateSupport) || void 0 === l$1 || l$1.call(globalThis, {
644
+ s._$litElement$ = !0, s[("finalized")] = !0, globalThis.litElementHydrateSupport?.({
649
645
  LitElement: s
650
646
  });
651
- const n = globalThis.litElementPolyfillSupport;
652
- null == n || n({
647
+ const r = globalThis.litElementPolyfillSupport;
648
+ r?.({
653
649
  LitElement: s
654
650
  });
655
- (null !== (o = globalThis.litElementVersions) && void 0 !== o ? o : globalThis.litElementVersions = []).push("3.3.3");
651
+ (globalThis.litElementVersions ??= []).push("4.0.2");
656
652
 
657
653
  function ascending$2(a, b) {
658
654
  return a == null || b == null ? NaN : a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
@@ -4924,7 +4920,6 @@ function clipRectangle(x0, y0, x1, y1) {
4924
4920
  function corner(p, direction) {
4925
4921
  return abs(p[0] - x0) < epsilon ? direction > 0 ? 0 : 3 : abs(p[0] - x1) < epsilon ? direction > 0 ? 2 : 1 : abs(p[1] - y0) < epsilon ? direction > 0 ? 1 : 0 : direction > 0 ? 3 : 2; // abs(p[1] - y1) < epsilon
4926
4922
  }
4927
-
4928
4923
  function compareIntersection(a, b) {
4929
4924
  return comparePoint(a.x, b.x);
4930
4925
  }
@@ -6123,7 +6118,6 @@ class DecidablesElement extends s {
6123
6118
  };
6124
6119
  /* eslint-enable key-spacing, object-curly-newline */
6125
6120
  }
6126
-
6127
6121
  static cssBoxShadow(elevation, rotate = false, inverse = false) {
6128
6122
  const umbraO = this.shadows.opacityUmbra + this.shadows.opacityBoost;
6129
6123
  const penumbraO = this.shadows.opacityPenumbra + this.shadows.opacityBoost;
@@ -6226,24 +6220,24 @@ class DecidablesElement extends s {
6226
6220
  `;
6227
6221
  }
6228
6222
  static get styles() {
6229
- return i$1`
6223
+ return i$2`
6230
6224
  :host {
6231
- ---shadow-0: var(--shadow-0, ${r$2(this.cssBoxShadow(0))});
6232
- ---shadow-2: var(--shadow-2, ${r$2(this.cssBoxShadow(2))});
6233
- ---shadow-4: var(--shadow-4, ${r$2(this.cssBoxShadow(4))});
6234
- ---shadow-8: var(--shadow-8, ${r$2(this.cssBoxShadow(8))});
6235
-
6236
- ---color-background: var(--color-background, ${r$2(this.greys.white)});
6237
- ---color-border: var(--color-border, ${r$2(this.greys.light75)});
6238
- ---color-text: var(--color-text, ${r$2(this.greys.dark75)});
6239
- ---color-text-inverse: var(--color-text-inverse, ${r$2(this.greys.white)});
6240
- ---color-link: var(--color-link, ${r$2(this.greys.dark25)});
6241
- ---color-element-background: var(--color-element-background, ${r$2(this.greys.light75)});
6242
- ---color-element-disabled: var(--color-element-disabled, ${r$2(this.greys.light50)});
6243
- ---color-element-enabled: var(--color-element-enabled, ${r$2(this.greys.dark25)});
6244
- ---color-element-selected: var(--color-element-selected, ${r$2(this.greys.grey)});
6245
- ---color-element-border: var(--color-element-border, ${r$2(this.greys.dark50)});
6246
- ---color-element-emphasis: var(--color-element-emphasis, ${r$2(this.greys.dark75)});
6225
+ ---shadow-0: var(--shadow-0, ${r$3(this.cssBoxShadow(0))});
6226
+ ---shadow-2: var(--shadow-2, ${r$3(this.cssBoxShadow(2))});
6227
+ ---shadow-4: var(--shadow-4, ${r$3(this.cssBoxShadow(4))});
6228
+ ---shadow-8: var(--shadow-8, ${r$3(this.cssBoxShadow(8))});
6229
+
6230
+ ---color-background: var(--color-background, ${r$3(this.greys.white)});
6231
+ ---color-border: var(--color-border, ${r$3(this.greys.light75)});
6232
+ ---color-text: var(--color-text, ${r$3(this.greys.dark75)});
6233
+ ---color-text-inverse: var(--color-text-inverse, ${r$3(this.greys.white)});
6234
+ ---color-link: var(--color-link, ${r$3(this.greys.dark25)});
6235
+ ---color-element-background: var(--color-element-background, ${r$3(this.greys.light75)});
6236
+ ---color-element-disabled: var(--color-element-disabled, ${r$3(this.greys.light50)});
6237
+ ---color-element-enabled: var(--color-element-enabled, ${r$3(this.greys.dark25)});
6238
+ ---color-element-selected: var(--color-element-selected, ${r$3(this.greys.grey)});
6239
+ ---color-element-border: var(--color-element-border, ${r$3(this.greys.dark50)});
6240
+ ---color-element-emphasis: var(--color-element-emphasis, ${r$3(this.greys.dark75)});
6247
6241
 
6248
6242
  ---font-family-base: var(--font-family-base, "Source Sans", sans-serif);
6249
6243
  ---font-family-math: var(--font-family-math, "Source Serif", serif);
@@ -6304,7 +6298,7 @@ class DecidablesButton extends DecidablesElement {
6304
6298
  this.disabled = false;
6305
6299
  }
6306
6300
  static get styles() {
6307
- return [super.styles, i$1`
6301
+ return [super.styles, i$2`
6308
6302
  :host {
6309
6303
  margin: 0.25rem;
6310
6304
  }
@@ -6374,7 +6368,7 @@ customElements.define('decidables-button', DecidablesButton);
6374
6368
  * Copyright 2018 Google LLC
6375
6369
  * SPDX-License-Identifier: BSD-3-Clause
6376
6370
  */
6377
- const l = l => null != l ? l : A;
6371
+ const o = o => o ?? T;
6378
6372
 
6379
6373
  class DecidablesSlider extends DecidablesElement {
6380
6374
  static get properties() {
@@ -6429,11 +6423,11 @@ class DecidablesSlider extends DecidablesElement {
6429
6423
  this.value = event.target.value;
6430
6424
  }
6431
6425
  static get styles() {
6432
- return [super.styles, i$1`
6426
+ return [super.styles, i$2`
6433
6427
  :host {
6434
- ---shadow-2-rotate: var(--shadow-2-rotate, ${r$2(this.cssBoxShadow(2, true, false))});
6435
- ---shadow-4-rotate: var(--shadow-4-rotate, ${r$2(this.cssBoxShadow(4, true, false))});
6436
- ---shadow-8-rotate: var(--shadow-8-rotate, ${r$2(this.cssBoxShadow(8, true, false))});
6428
+ ---shadow-2-rotate: var(--shadow-2-rotate, ${r$3(this.cssBoxShadow(2, true, false))});
6429
+ ---shadow-4-rotate: var(--shadow-4-rotate, ${r$3(this.cssBoxShadow(4, true, false))});
6430
+ ---shadow-8-rotate: var(--shadow-8-rotate, ${r$3(this.cssBoxShadow(8, true, false))});
6437
6431
 
6438
6432
  display: flex;
6439
6433
 
@@ -6687,9 +6681,9 @@ class DecidablesSlider extends DecidablesElement {
6687
6681
  <slot></slot>
6688
6682
  </label>
6689
6683
  <div class="range">
6690
- <input type="range" id="slider" min=${l(this.min)} max=${l(this.max)} step=${l(this.step)} .value=${this.value} @change=${this.changed.bind(this)} @input=${this.inputted.bind(this)}>
6684
+ <input type="range" id="slider" min=${o(this.min)} max=${o(this.max)} step=${o(this.step)} .value=${this.value} @change=${this.changed.bind(this)} @input=${this.inputted.bind(this)}>
6691
6685
  </div>
6692
- <decidables-spinner min=${l(this.min)} max=${l(this.max)} step=${l(this.step)} .value=${this.value} @input=${this.inputted.bind(this)}></decidables-spinner>
6686
+ <decidables-spinner min=${o(this.min)} max=${o(this.max)} step=${o(this.step)} .value=${this.value} @input=${this.inputted.bind(this)}></decidables-spinner>
6693
6687
  `;
6694
6688
  }
6695
6689
  }
@@ -6739,7 +6733,7 @@ class DecidablesSpinner extends DecidablesElement {
6739
6733
  this.value = event.target.value;
6740
6734
  }
6741
6735
  static get styles() {
6742
- return [super.styles, i$1`
6736
+ return [super.styles, i$2`
6743
6737
  :host {
6744
6738
  ---decidables-spinner-font-size: var(--decidables-spinner-font-size, 1.125rem);
6745
6739
  ---decidables-spinner-input-width: var(--decidables-spinner-input-width, 4rem);
@@ -6839,7 +6833,7 @@ class DecidablesSpinner extends DecidablesElement {
6839
6833
  return x$1`
6840
6834
  <label>
6841
6835
  <slot></slot>
6842
- <input ?disabled=${this.disabled} type="number" min=${l(this.min)} max=${l(this.max)} step=${l(this.step)} .value=${this.value} @input=${this.inputted.bind(this)}>
6836
+ <input ?disabled=${this.disabled} type="number" min=${o(this.min)} max=${o(this.max)} step=${o(this.step)} .value=${this.value} @input=${this.inputted.bind(this)}>
6843
6837
  </label>
6844
6838
  `;
6845
6839
  }
@@ -6878,7 +6872,7 @@ class DecidablesSwitch extends DecidablesElement {
6878
6872
  }));
6879
6873
  }
6880
6874
  static get styles() {
6881
- return [super.styles, i$1`
6875
+ return [super.styles, i$2`
6882
6876
  :host {
6883
6877
  display: flex;
6884
6878
 
@@ -7030,7 +7024,7 @@ class DecidablesToggle extends DecidablesElement {
7030
7024
  this.disabled = false;
7031
7025
  }
7032
7026
  static get styles() {
7033
- return [super.styles, i$1`
7027
+ return [super.styles, i$2`
7034
7028
  fieldset {
7035
7029
  display: flex;
7036
7030
 
@@ -7105,7 +7099,7 @@ class DecidablesToggleOption extends DecidablesElement {
7105
7099
  }));
7106
7100
  }
7107
7101
  static get styles() {
7108
- return [super.styles, i$1`
7102
+ return [super.styles, i$2`
7109
7103
  :host {
7110
7104
  display: flex;
7111
7105
  }
@@ -7335,55 +7329,55 @@ class DetectableElement extends DecidablesElement {
7335
7329
  }, {});
7336
7330
  }
7337
7331
  static get styles() {
7338
- return [super.styles, i$1`
7332
+ return [super.styles, i$2`
7339
7333
  :host {
7340
- ---color-h: var(--color-h, ${r$2(this.colors.h)});
7341
- ---color-m: var(--color-m, ${r$2(this.colors.m)});
7342
- ---color-fa: var(--color-fa, ${r$2(this.colors.fa)});
7343
- ---color-cr: var(--color-cr, ${r$2(this.colors.cr)});
7344
- ---color-hr: var(--color-hr, ${r$2(this.colors.hr)});
7345
- ---color-far: var(--color-far, ${r$2(this.colors.far)});
7346
- ---color-acc: var(--color-acc, ${r$2(this.colors.acc)});
7347
- ---color-d: var(--color-d, ${r$2(this.colors.d)});
7348
- ---color-c: var(--color-c, ${r$2(this.colors.c)});
7349
- ---color-s: var(--color-s, ${r$2(this.colors.s)});
7350
- ---color-present: var(--color-present, ${r$2(this.colors.present)});
7351
- ---color-absent: var(--color-absent, ${r$2(this.colors.absent)});
7352
- ---color-correct: var(--color-correct, ${r$2(this.colors.correct)});
7353
- ---color-error: var(--color-error, ${r$2(this.colors.error)});
7354
- ---color-nr: var(--color-nr, ${r$2(this.colors.nr)});
7355
-
7356
- ---color-h-light: var(--color-h-light, ${r$2(this.lights.h)});
7357
- ---color-m-light: var(--color-m-light, ${r$2(this.lights.m)});
7358
- ---color-fa-light: var(--color-fa-light, ${r$2(this.lights.fa)});
7359
- ---color-cr-light: var(--color-cr-light, ${r$2(this.lights.cr)});
7360
- ---color-hr-light: var(--color-hr-light, ${r$2(this.lights.hr)});
7361
- ---color-far-light: var(--color-far-light, ${r$2(this.lights.far)});
7362
- ---color-acc-light: var(--color-acc-light, ${r$2(this.lights.acc)});
7363
- ---color-d-light: var(--color-d-light, ${r$2(this.lights.d)});
7364
- ---color-c-light: var(--color-c-light, ${r$2(this.lights.c)});
7365
- ---color-s-light: var(--color-s-light, ${r$2(this.lights.s)});
7366
- ---color-present-light: var(--color-present-light, ${r$2(this.lights.present)});
7367
- ---color-absent-light: var(--color-absent-light, ${r$2(this.lights.absent)});
7368
- ---color-correct-light: var(--color-correct-light, ${r$2(this.lights.correct)});
7369
- ---color-error-light: var(--color-error-light, ${r$2(this.lights.error)});
7370
- ---color-nr-light: var(--color-nr-light, ${r$2(this.lights.nr)});
7371
-
7372
- ---color-h-dark: var(--color-h-dark, ${r$2(this.darks.h)});
7373
- ---color-m-dark: var(--color-m-dark, ${r$2(this.darks.m)});
7374
- ---color-fa-dark: var(--color-fa-dark, ${r$2(this.darks.fa)});
7375
- ---color-cr-dark: var(--color-cr-dark, ${r$2(this.darks.cr)});
7376
- ---color-hr-dark: var(--color-hr-dark, ${r$2(this.darks.hr)});
7377
- ---color-far-dark: var(--color-far-dark, ${r$2(this.darks.far)});
7378
- ---color-acc-dark: var(--color-acc-dark, ${r$2(this.darks.acc)});
7379
- ---color-d-dark: var(--color-d-dark, ${r$2(this.darks.d)});
7380
- ---color-c-dark: var(--color-c-dark, ${r$2(this.darks.c)});
7381
- ---color-s-dark: var(--color-s-dark, ${r$2(this.darks.s)});
7382
- ---color-present-dark: var(--color-present-dark, ${r$2(this.darks.present)});
7383
- ---color-absent-dark: var(--color-absent-dark, ${r$2(this.darks.absent)});
7384
- ---color-correct-dark: var(--color-correct-dark, ${r$2(this.darks.correct)});
7385
- ---color-error-dark: var(--color-error-dark, ${r$2(this.darks.error)});
7386
- ---color-nr-dark: var(--color-nr-dark, ${r$2(this.darks.nr)});
7334
+ ---color-h: var(--color-h, ${r$3(this.colors.h)});
7335
+ ---color-m: var(--color-m, ${r$3(this.colors.m)});
7336
+ ---color-fa: var(--color-fa, ${r$3(this.colors.fa)});
7337
+ ---color-cr: var(--color-cr, ${r$3(this.colors.cr)});
7338
+ ---color-hr: var(--color-hr, ${r$3(this.colors.hr)});
7339
+ ---color-far: var(--color-far, ${r$3(this.colors.far)});
7340
+ ---color-acc: var(--color-acc, ${r$3(this.colors.acc)});
7341
+ ---color-d: var(--color-d, ${r$3(this.colors.d)});
7342
+ ---color-c: var(--color-c, ${r$3(this.colors.c)});
7343
+ ---color-s: var(--color-s, ${r$3(this.colors.s)});
7344
+ ---color-present: var(--color-present, ${r$3(this.colors.present)});
7345
+ ---color-absent: var(--color-absent, ${r$3(this.colors.absent)});
7346
+ ---color-correct: var(--color-correct, ${r$3(this.colors.correct)});
7347
+ ---color-error: var(--color-error, ${r$3(this.colors.error)});
7348
+ ---color-nr: var(--color-nr, ${r$3(this.colors.nr)});
7349
+
7350
+ ---color-h-light: var(--color-h-light, ${r$3(this.lights.h)});
7351
+ ---color-m-light: var(--color-m-light, ${r$3(this.lights.m)});
7352
+ ---color-fa-light: var(--color-fa-light, ${r$3(this.lights.fa)});
7353
+ ---color-cr-light: var(--color-cr-light, ${r$3(this.lights.cr)});
7354
+ ---color-hr-light: var(--color-hr-light, ${r$3(this.lights.hr)});
7355
+ ---color-far-light: var(--color-far-light, ${r$3(this.lights.far)});
7356
+ ---color-acc-light: var(--color-acc-light, ${r$3(this.lights.acc)});
7357
+ ---color-d-light: var(--color-d-light, ${r$3(this.lights.d)});
7358
+ ---color-c-light: var(--color-c-light, ${r$3(this.lights.c)});
7359
+ ---color-s-light: var(--color-s-light, ${r$3(this.lights.s)});
7360
+ ---color-present-light: var(--color-present-light, ${r$3(this.lights.present)});
7361
+ ---color-absent-light: var(--color-absent-light, ${r$3(this.lights.absent)});
7362
+ ---color-correct-light: var(--color-correct-light, ${r$3(this.lights.correct)});
7363
+ ---color-error-light: var(--color-error-light, ${r$3(this.lights.error)});
7364
+ ---color-nr-light: var(--color-nr-light, ${r$3(this.lights.nr)});
7365
+
7366
+ ---color-h-dark: var(--color-h-dark, ${r$3(this.darks.h)});
7367
+ ---color-m-dark: var(--color-m-dark, ${r$3(this.darks.m)});
7368
+ ---color-fa-dark: var(--color-fa-dark, ${r$3(this.darks.fa)});
7369
+ ---color-cr-dark: var(--color-cr-dark, ${r$3(this.darks.cr)});
7370
+ ---color-hr-dark: var(--color-hr-dark, ${r$3(this.darks.hr)});
7371
+ ---color-far-dark: var(--color-far-dark, ${r$3(this.darks.far)});
7372
+ ---color-acc-dark: var(--color-acc-dark, ${r$3(this.darks.acc)});
7373
+ ---color-d-dark: var(--color-d-dark, ${r$3(this.darks.d)});
7374
+ ---color-c-dark: var(--color-c-dark, ${r$3(this.darks.c)});
7375
+ ---color-s-dark: var(--color-s-dark, ${r$3(this.darks.s)});
7376
+ ---color-present-dark: var(--color-present-dark, ${r$3(this.darks.present)});
7377
+ ---color-absent-dark: var(--color-absent-dark, ${r$3(this.darks.absent)});
7378
+ ---color-correct-dark: var(--color-correct-dark, ${r$3(this.darks.correct)});
7379
+ ---color-error-dark: var(--color-error-dark, ${r$3(this.darks.error)});
7380
+ ---color-nr-dark: var(--color-nr-dark, ${r$3(this.darks.nr)});
7387
7381
  }
7388
7382
  `];
7389
7383
  }
@@ -7498,9 +7492,8 @@ class RDKTask extends DecidablesMixinResizeable(DetectableElement) {
7498
7492
  this.xScale = undefined; // D3 Scale for x-axis
7499
7493
  this.yScale = undefined; // D3 Scale for y-axis
7500
7494
  }
7501
-
7502
7495
  static get styles() {
7503
- return [super.styles, i$1`
7496
+ return [super.styles, i$2`
7504
7497
  :host {
7505
7498
  display: inline-block;
7506
7499
 
@@ -11232,12 +11225,10 @@ var jstat = {exports: {}};
11232
11225
  if (Q2[0].length === undefined) {
11233
11226
  Q2 = [Q2]; // The confusing jStat.multifly implementation threat nature process again.
11234
11227
  }
11235
-
11236
11228
  var x = jStat.multiply(jStat.multiply(RI, Q2), b);
11237
11229
  if (x.length === undefined) {
11238
11230
  x = [[x]]; // The confusing jStat.multifly implementation threat nature process again.
11239
11231
  }
11240
-
11241
11232
  if (array_mode) return x.map(function (i) {
11242
11233
  return i[0];
11243
11234
  });
@@ -12513,7 +12504,7 @@ class ROCSpace extends DecidablesMixinResizeable(DetectableElement) {
12513
12504
  this.requestUpdate();
12514
12505
  }
12515
12506
  static get styles() {
12516
- return [super.styles, i$1`
12507
+ return [super.styles, i$2`
12517
12508
  :host {
12518
12509
  display: inline-block;
12519
12510
 
@@ -13084,7 +13075,6 @@ class ROCSpace extends DecidablesMixinResizeable(DetectableElement) {
13084
13075
  break;
13085
13076
  // no-op
13086
13077
  }
13087
-
13088
13078
  hr = this.zRoc ? SDTMath.zhr2Hr(hr) : hr;
13089
13079
  far = this.zRoc ? SDTMath.zfar2Far(far) : far;
13090
13080
  // Clamp FAR and HR to ROC Space
@@ -13329,7 +13319,7 @@ class DetectableControl extends DetectableElement {
13329
13319
  this.state = 'ended';
13330
13320
  }
13331
13321
  static get styles() {
13332
- return [super.styles, i$1`
13322
+ return [super.styles, i$2`
13333
13323
  :host {
13334
13324
  display: inline-block;
13335
13325
  }
@@ -13580,7 +13570,7 @@ class SDTModel extends DecidablesMixinResizeable(DetectableElement) {
13580
13570
  }
13581
13571
  }
13582
13572
  static get styles() {
13583
- return [super.styles, i$1`
13573
+ return [super.styles, i$2`
13584
13574
  :host {
13585
13575
  display: inline-block;
13586
13576
 
@@ -14821,7 +14811,6 @@ class DetectableResponse extends DetectableElement {
14821
14811
 
14822
14812
  this.nr = 0; // Count of No Response trials
14823
14813
  }
14824
-
14825
14814
  get trialPayoff() {
14826
14815
  switch (this.outcome) {
14827
14816
  case 'h':
@@ -14919,7 +14908,7 @@ class DetectableResponse extends DetectableElement {
14919
14908
  this.e = 0;
14920
14909
  }
14921
14910
  static get styles() {
14922
- return [super.styles, i$1`
14911
+ return [super.styles, i$2`
14923
14912
  :host {
14924
14913
  display: inline-block;
14925
14914
  }
@@ -15206,7 +15195,6 @@ class DetectableTable extends DetectableElement {
15206
15195
  this.crPayoff = undefined; // Correct Rejection payoff
15207
15196
  this.faPayoff = undefined; // False Alarm payoff
15208
15197
  }
15209
-
15210
15198
  alignState() {
15211
15199
  this.hr = SDTMath.hM2Hr(this.h, this.m);
15212
15200
  this.far = SDTMath.faCr2Far(this.fa, this.cr);
@@ -15313,7 +15301,7 @@ class DetectableTable extends DetectableElement {
15313
15301
  this.sendEvent();
15314
15302
  }
15315
15303
  static get styles() {
15316
- return [super.styles, i$1`
15304
+ return [super.styles, i$2`
15317
15305
  :host {
15318
15306
  display: inline-block;
15319
15307
  }
@@ -15686,7 +15674,7 @@ class SDTEquation extends DetectableElement {
15686
15674
  this.numeric = false;
15687
15675
  }
15688
15676
  static get styles() {
15689
- return [super.styles, i$1`
15677
+ return [super.styles, i$2`
15690
15678
  :host {
15691
15679
  display: block;
15692
15680
 
@@ -17041,7 +17029,7 @@ customElements.define('sdt-equation-mcr2fomr', SDTEquationMCr2Fomr);
17041
17029
  */
17042
17030
  class SDTExample extends DetectableElement {
17043
17031
  static get styles() {
17044
- return [super.styles, i$1`
17032
+ return [super.styles, i$2`
17045
17033
  :host {
17046
17034
  display: inline-block;
17047
17035