@webwriter/geogebra 1.0.0

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.
@@ -0,0 +1,1893 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __decorateClass = (decorators, target, key, kind) => {
4
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
5
+ for (var i5 = decorators.length - 1, decorator; i5 >= 0; i5--)
6
+ if (decorator = decorators[i5])
7
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8
+ if (kind && result) __defProp(target, key, result);
9
+ return result;
10
+ };
11
+
12
+ // node_modules/@lit/reactive-element/css-tag.js
13
+ var t = globalThis;
14
+ var e = t.ShadowRoot && (void 0 === t.ShadyCSS || t.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype;
15
+ var s = Symbol();
16
+ var o = /* @__PURE__ */ new WeakMap();
17
+ var n = class {
18
+ constructor(t5, e6, o6) {
19
+ if (this._$cssResult$ = true, o6 !== s) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
20
+ this.cssText = t5, this.t = e6;
21
+ }
22
+ get styleSheet() {
23
+ let t5 = this.o;
24
+ const s4 = this.t;
25
+ if (e && void 0 === t5) {
26
+ const e6 = void 0 !== s4 && 1 === s4.length;
27
+ e6 && (t5 = o.get(s4)), void 0 === t5 && ((this.o = t5 = new CSSStyleSheet()).replaceSync(this.cssText), e6 && o.set(s4, t5));
28
+ }
29
+ return t5;
30
+ }
31
+ toString() {
32
+ return this.cssText;
33
+ }
34
+ };
35
+ var r = (t5) => new n("string" == typeof t5 ? t5 : t5 + "", void 0, s);
36
+ var i = (t5, ...e6) => {
37
+ const o6 = 1 === t5.length ? t5[0] : e6.reduce((e7, s4, o7) => e7 + ((t6) => {
38
+ if (true === t6._$cssResult$) return t6.cssText;
39
+ if ("number" == typeof t6) return t6;
40
+ throw Error("Value passed to 'css' function must be a 'css' function result: " + t6 + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
41
+ })(s4) + t5[o7 + 1], t5[0]);
42
+ return new n(o6, t5, s);
43
+ };
44
+ var S = (s4, o6) => {
45
+ if (e) s4.adoptedStyleSheets = o6.map((t5) => t5 instanceof CSSStyleSheet ? t5 : t5.styleSheet);
46
+ else for (const e6 of o6) {
47
+ const o7 = document.createElement("style"), n6 = t.litNonce;
48
+ void 0 !== n6 && o7.setAttribute("nonce", n6), o7.textContent = e6.cssText, s4.appendChild(o7);
49
+ }
50
+ };
51
+ var c = e ? (t5) => t5 : (t5) => t5 instanceof CSSStyleSheet ? ((t6) => {
52
+ let e6 = "";
53
+ for (const s4 of t6.cssRules) e6 += s4.cssText;
54
+ return r(e6);
55
+ })(t5) : t5;
56
+
57
+ // node_modules/@lit/reactive-element/reactive-element.js
58
+ var { is: i2, defineProperty: e2, getOwnPropertyDescriptor: r2, getOwnPropertyNames: h, getOwnPropertySymbols: o2, getPrototypeOf: n2 } = Object;
59
+ var a = globalThis;
60
+ var c2 = a.trustedTypes;
61
+ var l = c2 ? c2.emptyScript : "";
62
+ var p = a.reactiveElementPolyfillSupport;
63
+ var d = (t5, s4) => t5;
64
+ var u = { toAttribute(t5, s4) {
65
+ switch (s4) {
66
+ case Boolean:
67
+ t5 = t5 ? l : null;
68
+ break;
69
+ case Object:
70
+ case Array:
71
+ t5 = null == t5 ? t5 : JSON.stringify(t5);
72
+ }
73
+ return t5;
74
+ }, fromAttribute(t5, s4) {
75
+ let i5 = t5;
76
+ switch (s4) {
77
+ case Boolean:
78
+ i5 = null !== t5;
79
+ break;
80
+ case Number:
81
+ i5 = null === t5 ? null : Number(t5);
82
+ break;
83
+ case Object:
84
+ case Array:
85
+ try {
86
+ i5 = JSON.parse(t5);
87
+ } catch (t6) {
88
+ i5 = null;
89
+ }
90
+ }
91
+ return i5;
92
+ } };
93
+ var f = (t5, s4) => !i2(t5, s4);
94
+ var y = { attribute: true, type: String, converter: u, reflect: false, hasChanged: f };
95
+ Symbol.metadata ??= Symbol("metadata"), a.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
96
+ var b = class extends HTMLElement {
97
+ static addInitializer(t5) {
98
+ this._$Ei(), (this.l ??= []).push(t5);
99
+ }
100
+ static get observedAttributes() {
101
+ return this.finalize(), this._$Eh && [...this._$Eh.keys()];
102
+ }
103
+ static createProperty(t5, s4 = y) {
104
+ if (s4.state && (s4.attribute = false), this._$Ei(), this.elementProperties.set(t5, s4), !s4.noAccessor) {
105
+ const i5 = Symbol(), r7 = this.getPropertyDescriptor(t5, i5, s4);
106
+ void 0 !== r7 && e2(this.prototype, t5, r7);
107
+ }
108
+ }
109
+ static getPropertyDescriptor(t5, s4, i5) {
110
+ const { get: e6, set: h4 } = r2(this.prototype, t5) ?? { get() {
111
+ return this[s4];
112
+ }, set(t6) {
113
+ this[s4] = t6;
114
+ } };
115
+ return { get() {
116
+ return e6?.call(this);
117
+ }, set(s5) {
118
+ const r7 = e6?.call(this);
119
+ h4.call(this, s5), this.requestUpdate(t5, r7, i5);
120
+ }, configurable: true, enumerable: true };
121
+ }
122
+ static getPropertyOptions(t5) {
123
+ return this.elementProperties.get(t5) ?? y;
124
+ }
125
+ static _$Ei() {
126
+ if (this.hasOwnProperty(d("elementProperties"))) return;
127
+ const t5 = n2(this);
128
+ t5.finalize(), void 0 !== t5.l && (this.l = [...t5.l]), this.elementProperties = new Map(t5.elementProperties);
129
+ }
130
+ static finalize() {
131
+ if (this.hasOwnProperty(d("finalized"))) return;
132
+ if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d("properties"))) {
133
+ const t6 = this.properties, s4 = [...h(t6), ...o2(t6)];
134
+ for (const i5 of s4) this.createProperty(i5, t6[i5]);
135
+ }
136
+ const t5 = this[Symbol.metadata];
137
+ if (null !== t5) {
138
+ const s4 = litPropertyMetadata.get(t5);
139
+ if (void 0 !== s4) for (const [t6, i5] of s4) this.elementProperties.set(t6, i5);
140
+ }
141
+ this._$Eh = /* @__PURE__ */ new Map();
142
+ for (const [t6, s4] of this.elementProperties) {
143
+ const i5 = this._$Eu(t6, s4);
144
+ void 0 !== i5 && this._$Eh.set(i5, t6);
145
+ }
146
+ this.elementStyles = this.finalizeStyles(this.styles);
147
+ }
148
+ static finalizeStyles(s4) {
149
+ const i5 = [];
150
+ if (Array.isArray(s4)) {
151
+ const e6 = new Set(s4.flat(1 / 0).reverse());
152
+ for (const s5 of e6) i5.unshift(c(s5));
153
+ } else void 0 !== s4 && i5.push(c(s4));
154
+ return i5;
155
+ }
156
+ static _$Eu(t5, s4) {
157
+ const i5 = s4.attribute;
158
+ return false === i5 ? void 0 : "string" == typeof i5 ? i5 : "string" == typeof t5 ? t5.toLowerCase() : void 0;
159
+ }
160
+ constructor() {
161
+ super(), this._$Ep = void 0, this.isUpdatePending = false, this.hasUpdated = false, this._$Em = null, this._$Ev();
162
+ }
163
+ _$Ev() {
164
+ this._$ES = new Promise((t5) => this.enableUpdating = t5), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach((t5) => t5(this));
165
+ }
166
+ addController(t5) {
167
+ (this._$EO ??= /* @__PURE__ */ new Set()).add(t5), void 0 !== this.renderRoot && this.isConnected && t5.hostConnected?.();
168
+ }
169
+ removeController(t5) {
170
+ this._$EO?.delete(t5);
171
+ }
172
+ _$E_() {
173
+ const t5 = /* @__PURE__ */ new Map(), s4 = this.constructor.elementProperties;
174
+ for (const i5 of s4.keys()) this.hasOwnProperty(i5) && (t5.set(i5, this[i5]), delete this[i5]);
175
+ t5.size > 0 && (this._$Ep = t5);
176
+ }
177
+ createRenderRoot() {
178
+ const t5 = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
179
+ return S(t5, this.constructor.elementStyles), t5;
180
+ }
181
+ connectedCallback() {
182
+ this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(true), this._$EO?.forEach((t5) => t5.hostConnected?.());
183
+ }
184
+ enableUpdating(t5) {
185
+ }
186
+ disconnectedCallback() {
187
+ this._$EO?.forEach((t5) => t5.hostDisconnected?.());
188
+ }
189
+ attributeChangedCallback(t5, s4, i5) {
190
+ this._$AK(t5, i5);
191
+ }
192
+ _$EC(t5, s4) {
193
+ const i5 = this.constructor.elementProperties.get(t5), e6 = this.constructor._$Eu(t5, i5);
194
+ if (void 0 !== e6 && true === i5.reflect) {
195
+ const r7 = (void 0 !== i5.converter?.toAttribute ? i5.converter : u).toAttribute(s4, i5.type);
196
+ this._$Em = t5, null == r7 ? this.removeAttribute(e6) : this.setAttribute(e6, r7), this._$Em = null;
197
+ }
198
+ }
199
+ _$AK(t5, s4) {
200
+ const i5 = this.constructor, e6 = i5._$Eh.get(t5);
201
+ if (void 0 !== e6 && this._$Em !== e6) {
202
+ const t6 = i5.getPropertyOptions(e6), r7 = "function" == typeof t6.converter ? { fromAttribute: t6.converter } : void 0 !== t6.converter?.fromAttribute ? t6.converter : u;
203
+ this._$Em = e6, this[e6] = r7.fromAttribute(s4, t6.type), this._$Em = null;
204
+ }
205
+ }
206
+ requestUpdate(t5, s4, i5) {
207
+ if (void 0 !== t5) {
208
+ if (i5 ??= this.constructor.getPropertyOptions(t5), !(i5.hasChanged ?? f)(this[t5], s4)) return;
209
+ this.P(t5, s4, i5);
210
+ }
211
+ false === this.isUpdatePending && (this._$ES = this._$ET());
212
+ }
213
+ P(t5, s4, i5) {
214
+ this._$AL.has(t5) || this._$AL.set(t5, s4), true === i5.reflect && this._$Em !== t5 && (this._$Ej ??= /* @__PURE__ */ new Set()).add(t5);
215
+ }
216
+ async _$ET() {
217
+ this.isUpdatePending = true;
218
+ try {
219
+ await this._$ES;
220
+ } catch (t6) {
221
+ Promise.reject(t6);
222
+ }
223
+ const t5 = this.scheduleUpdate();
224
+ return null != t5 && await t5, !this.isUpdatePending;
225
+ }
226
+ scheduleUpdate() {
227
+ return this.performUpdate();
228
+ }
229
+ performUpdate() {
230
+ if (!this.isUpdatePending) return;
231
+ if (!this.hasUpdated) {
232
+ if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {
233
+ for (const [t7, s5] of this._$Ep) this[t7] = s5;
234
+ this._$Ep = void 0;
235
+ }
236
+ const t6 = this.constructor.elementProperties;
237
+ if (t6.size > 0) for (const [s5, i5] of t6) true !== i5.wrapped || this._$AL.has(s5) || void 0 === this[s5] || this.P(s5, this[s5], i5);
238
+ }
239
+ let t5 = false;
240
+ const s4 = this._$AL;
241
+ try {
242
+ t5 = this.shouldUpdate(s4), t5 ? (this.willUpdate(s4), this._$EO?.forEach((t6) => t6.hostUpdate?.()), this.update(s4)) : this._$EU();
243
+ } catch (s5) {
244
+ throw t5 = false, this._$EU(), s5;
245
+ }
246
+ t5 && this._$AE(s4);
247
+ }
248
+ willUpdate(t5) {
249
+ }
250
+ _$AE(t5) {
251
+ this._$EO?.forEach((t6) => t6.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t5)), this.updated(t5);
252
+ }
253
+ _$EU() {
254
+ this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = false;
255
+ }
256
+ get updateComplete() {
257
+ return this.getUpdateComplete();
258
+ }
259
+ getUpdateComplete() {
260
+ return this._$ES;
261
+ }
262
+ shouldUpdate(t5) {
263
+ return true;
264
+ }
265
+ update(t5) {
266
+ this._$Ej &&= this._$Ej.forEach((t6) => this._$EC(t6, this[t6])), this._$EU();
267
+ }
268
+ updated(t5) {
269
+ }
270
+ firstUpdated(t5) {
271
+ }
272
+ };
273
+ b.elementStyles = [], b.shadowRootOptions = { mode: "open" }, b[d("elementProperties")] = /* @__PURE__ */ new Map(), b[d("finalized")] = /* @__PURE__ */ new Map(), p?.({ ReactiveElement: b }), (a.reactiveElementVersions ??= []).push("2.0.4");
274
+
275
+ // node_modules/lit-html/lit-html.js
276
+ var t2 = globalThis;
277
+ var i3 = t2.trustedTypes;
278
+ var s2 = i3 ? i3.createPolicy("lit-html", { createHTML: (t5) => t5 }) : void 0;
279
+ var e3 = "$lit$";
280
+ var h2 = `lit$${Math.random().toFixed(9).slice(2)}$`;
281
+ var o3 = "?" + h2;
282
+ var n3 = `<${o3}>`;
283
+ var r3 = document;
284
+ var l2 = () => r3.createComment("");
285
+ var c3 = (t5) => null === t5 || "object" != typeof t5 && "function" != typeof t5;
286
+ var a2 = Array.isArray;
287
+ var u2 = (t5) => a2(t5) || "function" == typeof t5?.[Symbol.iterator];
288
+ var d2 = "[ \n\f\r]";
289
+ var f2 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g;
290
+ var v = /-->/g;
291
+ var _ = />/g;
292
+ var m = RegExp(`>|${d2}(?:([^\\s"'>=/]+)(${d2}*=${d2}*(?:[^
293
+ \f\r"'\`<>=]|("|')|))|$)`, "g");
294
+ var p2 = /'/g;
295
+ var g = /"/g;
296
+ var $ = /^(?:script|style|textarea|title)$/i;
297
+ var y2 = (t5) => (i5, ...s4) => ({ _$litType$: t5, strings: i5, values: s4 });
298
+ var x = y2(1);
299
+ var b2 = y2(2);
300
+ var w = y2(3);
301
+ var T = Symbol.for("lit-noChange");
302
+ var E = Symbol.for("lit-nothing");
303
+ var A = /* @__PURE__ */ new WeakMap();
304
+ var C = r3.createTreeWalker(r3, 129);
305
+ function P(t5, i5) {
306
+ if (!a2(t5) || !t5.hasOwnProperty("raw")) throw Error("invalid template strings array");
307
+ return void 0 !== s2 ? s2.createHTML(i5) : i5;
308
+ }
309
+ var V = (t5, i5) => {
310
+ const s4 = t5.length - 1, o6 = [];
311
+ let r7, l4 = 2 === i5 ? "<svg>" : 3 === i5 ? "<math>" : "", c5 = f2;
312
+ for (let i6 = 0; i6 < s4; i6++) {
313
+ const s5 = t5[i6];
314
+ let a4, u4, d4 = -1, y4 = 0;
315
+ for (; y4 < s5.length && (c5.lastIndex = y4, u4 = c5.exec(s5), null !== u4); ) y4 = c5.lastIndex, c5 === f2 ? "!--" === u4[1] ? c5 = v : void 0 !== u4[1] ? c5 = _ : void 0 !== u4[2] ? ($.test(u4[2]) && (r7 = RegExp("</" + u4[2], "g")), c5 = m) : void 0 !== u4[3] && (c5 = m) : c5 === m ? ">" === u4[0] ? (c5 = r7 ?? f2, d4 = -1) : void 0 === u4[1] ? d4 = -2 : (d4 = c5.lastIndex - u4[2].length, a4 = u4[1], c5 = void 0 === u4[3] ? m : '"' === u4[3] ? g : p2) : c5 === g || c5 === p2 ? c5 = m : c5 === v || c5 === _ ? c5 = f2 : (c5 = m, r7 = void 0);
316
+ const x3 = c5 === m && t5[i6 + 1].startsWith("/>") ? " " : "";
317
+ l4 += c5 === f2 ? s5 + n3 : d4 >= 0 ? (o6.push(a4), s5.slice(0, d4) + e3 + s5.slice(d4) + h2 + x3) : s5 + h2 + (-2 === d4 ? i6 : x3);
318
+ }
319
+ return [P(t5, l4 + (t5[s4] || "<?>") + (2 === i5 ? "</svg>" : 3 === i5 ? "</math>" : "")), o6];
320
+ };
321
+ var N = class _N {
322
+ constructor({ strings: t5, _$litType$: s4 }, n6) {
323
+ let r7;
324
+ this.parts = [];
325
+ let c5 = 0, a4 = 0;
326
+ const u4 = t5.length - 1, d4 = this.parts, [f4, v3] = V(t5, s4);
327
+ if (this.el = _N.createElement(f4, n6), C.currentNode = this.el.content, 2 === s4 || 3 === s4) {
328
+ const t6 = this.el.content.firstChild;
329
+ t6.replaceWith(...t6.childNodes);
330
+ }
331
+ for (; null !== (r7 = C.nextNode()) && d4.length < u4; ) {
332
+ if (1 === r7.nodeType) {
333
+ if (r7.hasAttributes()) for (const t6 of r7.getAttributeNames()) if (t6.endsWith(e3)) {
334
+ const i5 = v3[a4++], s5 = r7.getAttribute(t6).split(h2), e6 = /([.?@])?(.*)/.exec(i5);
335
+ d4.push({ type: 1, index: c5, name: e6[2], strings: s5, ctor: "." === e6[1] ? H : "?" === e6[1] ? I : "@" === e6[1] ? L : k }), r7.removeAttribute(t6);
336
+ } else t6.startsWith(h2) && (d4.push({ type: 6, index: c5 }), r7.removeAttribute(t6));
337
+ if ($.test(r7.tagName)) {
338
+ const t6 = r7.textContent.split(h2), s5 = t6.length - 1;
339
+ if (s5 > 0) {
340
+ r7.textContent = i3 ? i3.emptyScript : "";
341
+ for (let i5 = 0; i5 < s5; i5++) r7.append(t6[i5], l2()), C.nextNode(), d4.push({ type: 2, index: ++c5 });
342
+ r7.append(t6[s5], l2());
343
+ }
344
+ }
345
+ } else if (8 === r7.nodeType) if (r7.data === o3) d4.push({ type: 2, index: c5 });
346
+ else {
347
+ let t6 = -1;
348
+ for (; -1 !== (t6 = r7.data.indexOf(h2, t6 + 1)); ) d4.push({ type: 7, index: c5 }), t6 += h2.length - 1;
349
+ }
350
+ c5++;
351
+ }
352
+ }
353
+ static createElement(t5, i5) {
354
+ const s4 = r3.createElement("template");
355
+ return s4.innerHTML = t5, s4;
356
+ }
357
+ };
358
+ function S2(t5, i5, s4 = t5, e6) {
359
+ if (i5 === T) return i5;
360
+ let h4 = void 0 !== e6 ? s4._$Co?.[e6] : s4._$Cl;
361
+ const o6 = c3(i5) ? void 0 : i5._$litDirective$;
362
+ return h4?.constructor !== o6 && (h4?._$AO?.(false), void 0 === o6 ? h4 = void 0 : (h4 = new o6(t5), h4._$AT(t5, s4, e6)), void 0 !== e6 ? (s4._$Co ??= [])[e6] = h4 : s4._$Cl = h4), void 0 !== h4 && (i5 = S2(t5, h4._$AS(t5, i5.values), h4, e6)), i5;
363
+ }
364
+ var M = class {
365
+ constructor(t5, i5) {
366
+ this._$AV = [], this._$AN = void 0, this._$AD = t5, this._$AM = i5;
367
+ }
368
+ get parentNode() {
369
+ return this._$AM.parentNode;
370
+ }
371
+ get _$AU() {
372
+ return this._$AM._$AU;
373
+ }
374
+ u(t5) {
375
+ const { el: { content: i5 }, parts: s4 } = this._$AD, e6 = (t5?.creationScope ?? r3).importNode(i5, true);
376
+ C.currentNode = e6;
377
+ let h4 = C.nextNode(), o6 = 0, n6 = 0, l4 = s4[0];
378
+ for (; void 0 !== l4; ) {
379
+ if (o6 === l4.index) {
380
+ let i6;
381
+ 2 === l4.type ? i6 = new R(h4, h4.nextSibling, this, t5) : 1 === l4.type ? i6 = new l4.ctor(h4, l4.name, l4.strings, this, t5) : 6 === l4.type && (i6 = new z(h4, this, t5)), this._$AV.push(i6), l4 = s4[++n6];
382
+ }
383
+ o6 !== l4?.index && (h4 = C.nextNode(), o6++);
384
+ }
385
+ return C.currentNode = r3, e6;
386
+ }
387
+ p(t5) {
388
+ let i5 = 0;
389
+ for (const s4 of this._$AV) void 0 !== s4 && (void 0 !== s4.strings ? (s4._$AI(t5, s4, i5), i5 += s4.strings.length - 2) : s4._$AI(t5[i5])), i5++;
390
+ }
391
+ };
392
+ var R = class _R {
393
+ get _$AU() {
394
+ return this._$AM?._$AU ?? this._$Cv;
395
+ }
396
+ constructor(t5, i5, s4, e6) {
397
+ this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t5, this._$AB = i5, this._$AM = s4, this.options = e6, this._$Cv = e6?.isConnected ?? true;
398
+ }
399
+ get parentNode() {
400
+ let t5 = this._$AA.parentNode;
401
+ const i5 = this._$AM;
402
+ return void 0 !== i5 && 11 === t5?.nodeType && (t5 = i5.parentNode), t5;
403
+ }
404
+ get startNode() {
405
+ return this._$AA;
406
+ }
407
+ get endNode() {
408
+ return this._$AB;
409
+ }
410
+ _$AI(t5, i5 = this) {
411
+ t5 = S2(this, t5, i5), c3(t5) ? t5 === E || null == t5 || "" === t5 ? (this._$AH !== E && this._$AR(), this._$AH = E) : t5 !== this._$AH && t5 !== T && this._(t5) : void 0 !== t5._$litType$ ? this.$(t5) : void 0 !== t5.nodeType ? this.T(t5) : u2(t5) ? this.k(t5) : this._(t5);
412
+ }
413
+ O(t5) {
414
+ return this._$AA.parentNode.insertBefore(t5, this._$AB);
415
+ }
416
+ T(t5) {
417
+ this._$AH !== t5 && (this._$AR(), this._$AH = this.O(t5));
418
+ }
419
+ _(t5) {
420
+ this._$AH !== E && c3(this._$AH) ? this._$AA.nextSibling.data = t5 : this.T(r3.createTextNode(t5)), this._$AH = t5;
421
+ }
422
+ $(t5) {
423
+ const { values: i5, _$litType$: s4 } = t5, e6 = "number" == typeof s4 ? this._$AC(t5) : (void 0 === s4.el && (s4.el = N.createElement(P(s4.h, s4.h[0]), this.options)), s4);
424
+ if (this._$AH?._$AD === e6) this._$AH.p(i5);
425
+ else {
426
+ const t6 = new M(e6, this), s5 = t6.u(this.options);
427
+ t6.p(i5), this.T(s5), this._$AH = t6;
428
+ }
429
+ }
430
+ _$AC(t5) {
431
+ let i5 = A.get(t5.strings);
432
+ return void 0 === i5 && A.set(t5.strings, i5 = new N(t5)), i5;
433
+ }
434
+ k(t5) {
435
+ a2(this._$AH) || (this._$AH = [], this._$AR());
436
+ const i5 = this._$AH;
437
+ let s4, e6 = 0;
438
+ for (const h4 of t5) e6 === i5.length ? i5.push(s4 = new _R(this.O(l2()), this.O(l2()), this, this.options)) : s4 = i5[e6], s4._$AI(h4), e6++;
439
+ e6 < i5.length && (this._$AR(s4 && s4._$AB.nextSibling, e6), i5.length = e6);
440
+ }
441
+ _$AR(t5 = this._$AA.nextSibling, i5) {
442
+ for (this._$AP?.(false, true, i5); t5 && t5 !== this._$AB; ) {
443
+ const i6 = t5.nextSibling;
444
+ t5.remove(), t5 = i6;
445
+ }
446
+ }
447
+ setConnected(t5) {
448
+ void 0 === this._$AM && (this._$Cv = t5, this._$AP?.(t5));
449
+ }
450
+ };
451
+ var k = class {
452
+ get tagName() {
453
+ return this.element.tagName;
454
+ }
455
+ get _$AU() {
456
+ return this._$AM._$AU;
457
+ }
458
+ constructor(t5, i5, s4, e6, h4) {
459
+ this.type = 1, this._$AH = E, this._$AN = void 0, this.element = t5, this.name = i5, this._$AM = e6, this.options = h4, s4.length > 2 || "" !== s4[0] || "" !== s4[1] ? (this._$AH = Array(s4.length - 1).fill(new String()), this.strings = s4) : this._$AH = E;
460
+ }
461
+ _$AI(t5, i5 = this, s4, e6) {
462
+ const h4 = this.strings;
463
+ let o6 = false;
464
+ if (void 0 === h4) t5 = S2(this, t5, i5, 0), o6 = !c3(t5) || t5 !== this._$AH && t5 !== T, o6 && (this._$AH = t5);
465
+ else {
466
+ const e7 = t5;
467
+ let n6, r7;
468
+ for (t5 = h4[0], n6 = 0; n6 < h4.length - 1; n6++) r7 = S2(this, e7[s4 + n6], i5, n6), r7 === T && (r7 = this._$AH[n6]), o6 ||= !c3(r7) || r7 !== this._$AH[n6], r7 === E ? t5 = E : t5 !== E && (t5 += (r7 ?? "") + h4[n6 + 1]), this._$AH[n6] = r7;
469
+ }
470
+ o6 && !e6 && this.j(t5);
471
+ }
472
+ j(t5) {
473
+ t5 === E ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t5 ?? "");
474
+ }
475
+ };
476
+ var H = class extends k {
477
+ constructor() {
478
+ super(...arguments), this.type = 3;
479
+ }
480
+ j(t5) {
481
+ this.element[this.name] = t5 === E ? void 0 : t5;
482
+ }
483
+ };
484
+ var I = class extends k {
485
+ constructor() {
486
+ super(...arguments), this.type = 4;
487
+ }
488
+ j(t5) {
489
+ this.element.toggleAttribute(this.name, !!t5 && t5 !== E);
490
+ }
491
+ };
492
+ var L = class extends k {
493
+ constructor(t5, i5, s4, e6, h4) {
494
+ super(t5, i5, s4, e6, h4), this.type = 5;
495
+ }
496
+ _$AI(t5, i5 = this) {
497
+ if ((t5 = S2(this, t5, i5, 0) ?? E) === T) return;
498
+ const s4 = this._$AH, e6 = t5 === E && s4 !== E || t5.capture !== s4.capture || t5.once !== s4.once || t5.passive !== s4.passive, h4 = t5 !== E && (s4 === E || e6);
499
+ e6 && this.element.removeEventListener(this.name, this, s4), h4 && this.element.addEventListener(this.name, this, t5), this._$AH = t5;
500
+ }
501
+ handleEvent(t5) {
502
+ "function" == typeof this._$AH ? this._$AH.call(this.options?.host ?? this.element, t5) : this._$AH.handleEvent(t5);
503
+ }
504
+ };
505
+ var z = class {
506
+ constructor(t5, i5, s4) {
507
+ this.element = t5, this.type = 6, this._$AN = void 0, this._$AM = i5, this.options = s4;
508
+ }
509
+ get _$AU() {
510
+ return this._$AM._$AU;
511
+ }
512
+ _$AI(t5) {
513
+ S2(this, t5);
514
+ }
515
+ };
516
+ var j = t2.litHtmlPolyfillSupport;
517
+ j?.(N, R), (t2.litHtmlVersions ??= []).push("3.2.1");
518
+ var B = (t5, i5, s4) => {
519
+ const e6 = s4?.renderBefore ?? i5;
520
+ let h4 = e6._$litPart$;
521
+ if (void 0 === h4) {
522
+ const t6 = s4?.renderBefore ?? null;
523
+ e6._$litPart$ = h4 = new R(i5.insertBefore(l2(), t6), t6, void 0, s4 ?? {});
524
+ }
525
+ return h4._$AI(t5), h4;
526
+ };
527
+
528
+ // node_modules/lit-element/lit-element.js
529
+ var r4 = class extends b {
530
+ constructor() {
531
+ super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
532
+ }
533
+ createRenderRoot() {
534
+ const t5 = super.createRenderRoot();
535
+ return this.renderOptions.renderBefore ??= t5.firstChild, t5;
536
+ }
537
+ update(t5) {
538
+ const s4 = this.render();
539
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t5), this._$Do = B(s4, this.renderRoot, this.renderOptions);
540
+ }
541
+ connectedCallback() {
542
+ super.connectedCallback(), this._$Do?.setConnected(true);
543
+ }
544
+ disconnectedCallback() {
545
+ super.disconnectedCallback(), this._$Do?.setConnected(false);
546
+ }
547
+ render() {
548
+ return T;
549
+ }
550
+ };
551
+ r4._$litElement$ = true, r4["finalized"] = true, globalThis.litElementHydrateSupport?.({ LitElement: r4 });
552
+ var i4 = globalThis.litElementPolyfillSupport;
553
+ i4?.({ LitElement: r4 });
554
+ (globalThis.litElementVersions ??= []).push("4.1.1");
555
+
556
+ // node_modules/@lit/reactive-element/decorators/custom-element.js
557
+ var t3 = (t5) => (e6, o6) => {
558
+ void 0 !== o6 ? o6.addInitializer(() => {
559
+ customElements.define(t5, e6);
560
+ }) : customElements.define(t5, e6);
561
+ };
562
+
563
+ // node_modules/@lit/reactive-element/decorators/property.js
564
+ var o4 = { attribute: true, type: String, converter: u, reflect: false, hasChanged: f };
565
+ var r5 = (t5 = o4, e6, r7) => {
566
+ const { kind: n6, metadata: i5 } = r7;
567
+ let s4 = globalThis.litPropertyMetadata.get(i5);
568
+ if (void 0 === s4 && globalThis.litPropertyMetadata.set(i5, s4 = /* @__PURE__ */ new Map()), s4.set(r7.name, t5), "accessor" === n6) {
569
+ const { name: o6 } = r7;
570
+ return { set(r8) {
571
+ const n7 = e6.get.call(this);
572
+ e6.set.call(this, r8), this.requestUpdate(o6, n7, t5);
573
+ }, init(e7) {
574
+ return void 0 !== e7 && this.P(o6, void 0, t5), e7;
575
+ } };
576
+ }
577
+ if ("setter" === n6) {
578
+ const { name: o6 } = r7;
579
+ return function(r8) {
580
+ const n7 = this[o6];
581
+ e6.call(this, r8), this.requestUpdate(o6, n7, t5);
582
+ };
583
+ }
584
+ throw Error("Unsupported decorator location: " + n6);
585
+ };
586
+ function n4(t5) {
587
+ return (e6, o6) => "object" == typeof o6 ? r5(t5, e6, o6) : ((t6, e7, o7) => {
588
+ const r7 = e7.hasOwnProperty(o7);
589
+ return e7.constructor.createProperty(o7, r7 ? { ...t6, wrapped: true } : t6), r7 ? Object.getOwnPropertyDescriptor(e7, o7) : void 0;
590
+ })(t5, e6, o6);
591
+ }
592
+
593
+ // node_modules/@webwriter/lit/index.js
594
+ var __create = Object.create;
595
+ var __defProp2 = Object.defineProperty;
596
+ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
597
+ var __knownSymbol = (name, symbol) => (symbol = Symbol[name]) ? symbol : Symbol.for("Symbol." + name);
598
+ var __typeError = (msg) => {
599
+ throw TypeError(msg);
600
+ };
601
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
602
+ var __name = (target, value) => __defProp2(target, "name", { value, configurable: true });
603
+ var __decoratorStart = (base) => [, , , __create(base?.[__knownSymbol("metadata")] ?? null)];
604
+ var __decoratorStrings = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"];
605
+ var __expectFn = (fn) => fn !== void 0 && typeof fn !== "function" ? __typeError("Function expected") : fn;
606
+ var __decoratorContext = (kind, name, done, metadata, fns) => ({ kind: __decoratorStrings[kind], name, metadata, addInitializer: (fn) => done._ ? __typeError("Already initialized") : fns.push(__expectFn(fn || null)) });
607
+ var __decoratorMetadata = (array, target) => __defNormalProp(target, __knownSymbol("metadata"), array[3]);
608
+ var __runInitializers = (array, flags, self, value) => {
609
+ for (var i32 = 0, fns = array[flags >> 1], n52 = fns && fns.length; i32 < n52; i32++) flags & 1 ? fns[i32].call(self) : value = fns[i32].call(self, value);
610
+ return value;
611
+ };
612
+ var __decorateElement = (array, flags, name, decorators, target, extra) => {
613
+ var fn, it, done, ctx, access, k22 = flags & 7, s22 = !!(flags & 8), p22 = !!(flags & 16);
614
+ var j22 = k22 > 3 ? array.length + 1 : k22 ? s22 ? 1 : 2 : 0, key = __decoratorStrings[k22 + 5];
615
+ var initializers = k22 > 3 && (array[j22 - 1] = []), extraInitializers = array[j22] || (array[j22] = []);
616
+ var desc = k22 && (!p22 && !s22 && (target = target.prototype), k22 < 5 && (k22 > 3 || !p22) && __getOwnPropDesc2(k22 < 4 ? target : { get [name]() {
617
+ return __privateGet(this, extra);
618
+ }, set [name](x22) {
619
+ return __privateSet(this, extra, x22);
620
+ } }, name));
621
+ k22 ? p22 && k22 < 4 && __name(extra, (k22 > 2 ? "set " : k22 > 1 ? "get " : "") + name) : __name(target, name);
622
+ for (var i32 = decorators.length - 1; i32 >= 0; i32--) {
623
+ ctx = __decoratorContext(k22, name, done = {}, array[3], extraInitializers);
624
+ if (k22) {
625
+ ctx.static = s22, ctx.private = p22, access = ctx.access = { has: p22 ? (x22) => __privateIn(target, x22) : (x22) => name in x22 };
626
+ if (k22 ^ 3) access.get = p22 ? (x22) => (k22 ^ 1 ? __privateGet : __privateMethod)(x22, target, k22 ^ 4 ? extra : desc.get) : (x22) => x22[name];
627
+ if (k22 > 2) access.set = p22 ? (x22, y22) => __privateSet(x22, target, y22, k22 ^ 4 ? extra : desc.set) : (x22, y22) => x22[name] = y22;
628
+ }
629
+ it = (0, decorators[i32])(k22 ? k22 < 4 ? p22 ? extra : desc[key] : k22 > 4 ? void 0 : { get: desc.get, set: desc.set } : target, ctx), done._ = 1;
630
+ if (k22 ^ 4 || it === void 0) __expectFn(it) && (k22 > 4 ? initializers.unshift(it) : k22 ? p22 ? extra = it : desc[key] = it : target = it);
631
+ else if (typeof it !== "object" || it === null) __typeError("Object expected");
632
+ else __expectFn(fn = it.get) && (desc.get = fn), __expectFn(fn = it.set) && (desc.set = fn), __expectFn(fn = it.init) && initializers.unshift(fn);
633
+ }
634
+ return k22 || __decoratorMetadata(array, target), desc && __defProp2(target, name, desc), p22 ? k22 ^ 4 ? extra : desc : target;
635
+ };
636
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
637
+ var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
638
+ var __privateIn = (member, obj) => Object(obj) !== obj ? __typeError('Cannot use the "in" operator on this value') : member.has(obj);
639
+ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
640
+ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
641
+ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
642
+ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
643
+ var t4 = globalThis;
644
+ var e5 = t4.ShadowRoot && (void 0 === t4.ShadyCSS || t4.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype;
645
+ var s3 = Symbol();
646
+ var o5 = /* @__PURE__ */ new WeakMap();
647
+ var n5 = class {
648
+ constructor(t22, e42, o42) {
649
+ if (this._$cssResult$ = true, o42 !== s3) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
650
+ this.cssText = t22, this.t = e42;
651
+ }
652
+ get styleSheet() {
653
+ let t22 = this.o;
654
+ const s22 = this.t;
655
+ if (e5 && void 0 === t22) {
656
+ const e42 = void 0 !== s22 && 1 === s22.length;
657
+ e42 && (t22 = o5.get(s22)), void 0 === t22 && ((this.o = t22 = new CSSStyleSheet()).replaceSync(this.cssText), e42 && o5.set(s22, t22));
658
+ }
659
+ return t22;
660
+ }
661
+ toString() {
662
+ return this.cssText;
663
+ }
664
+ };
665
+ var r6 = (t22) => new n5("string" == typeof t22 ? t22 : t22 + "", void 0, s3);
666
+ var S3 = (s22, o42) => {
667
+ if (e5) s22.adoptedStyleSheets = o42.map((t22) => t22 instanceof CSSStyleSheet ? t22 : t22.styleSheet);
668
+ else for (const e42 of o42) {
669
+ const o52 = document.createElement("style"), n52 = t4.litNonce;
670
+ void 0 !== n52 && o52.setAttribute("nonce", n52), o52.textContent = e42.cssText, s22.appendChild(o52);
671
+ }
672
+ };
673
+ var c4 = e5 ? (t22) => t22 : (t22) => t22 instanceof CSSStyleSheet ? ((t32) => {
674
+ let e42 = "";
675
+ for (const s22 of t32.cssRules) e42 += s22.cssText;
676
+ return r6(e42);
677
+ })(t22) : t22;
678
+ var { is: i22, defineProperty: e22, getOwnPropertyDescriptor: r22, getOwnPropertyNames: h3, getOwnPropertySymbols: o22, getPrototypeOf: n22 } = Object;
679
+ var a3 = globalThis;
680
+ var c22 = a3.trustedTypes;
681
+ var l3 = c22 ? c22.emptyScript : "";
682
+ var p3 = a3.reactiveElementPolyfillSupport;
683
+ var d3 = (t22, s22) => t22;
684
+ var u3 = { toAttribute(t22, s22) {
685
+ switch (s22) {
686
+ case Boolean:
687
+ t22 = t22 ? l3 : null;
688
+ break;
689
+ case Object:
690
+ case Array:
691
+ t22 = null == t22 ? t22 : JSON.stringify(t22);
692
+ }
693
+ return t22;
694
+ }, fromAttribute(t22, s22) {
695
+ let i32 = t22;
696
+ switch (s22) {
697
+ case Boolean:
698
+ i32 = null !== t22;
699
+ break;
700
+ case Number:
701
+ i32 = null === t22 ? null : Number(t22);
702
+ break;
703
+ case Object:
704
+ case Array:
705
+ try {
706
+ i32 = JSON.parse(t22);
707
+ } catch (t32) {
708
+ i32 = null;
709
+ }
710
+ }
711
+ return i32;
712
+ } };
713
+ var f3 = (t22, s22) => !i22(t22, s22);
714
+ var y3 = { attribute: true, type: String, converter: u3, reflect: false, hasChanged: f3 };
715
+ Symbol.metadata ??= Symbol("metadata"), a3.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
716
+ var b3 = class extends HTMLElement {
717
+ static addInitializer(t22) {
718
+ this._$Ei(), (this.l ??= []).push(t22);
719
+ }
720
+ static get observedAttributes() {
721
+ return this.finalize(), this._$Eh && [...this._$Eh.keys()];
722
+ }
723
+ static createProperty(t22, s22 = y3) {
724
+ if (s22.state && (s22.attribute = false), this._$Ei(), this.elementProperties.set(t22, s22), !s22.noAccessor) {
725
+ const i32 = Symbol(), r42 = this.getPropertyDescriptor(t22, i32, s22);
726
+ void 0 !== r42 && e22(this.prototype, t22, r42);
727
+ }
728
+ }
729
+ static getPropertyDescriptor(t22, s22, i32) {
730
+ const { get: e42, set: h4 } = r22(this.prototype, t22) ?? { get() {
731
+ return this[s22];
732
+ }, set(t32) {
733
+ this[s22] = t32;
734
+ } };
735
+ return { get() {
736
+ return e42?.call(this);
737
+ }, set(s32) {
738
+ const r42 = e42?.call(this);
739
+ h4.call(this, s32), this.requestUpdate(t22, r42, i32);
740
+ }, configurable: true, enumerable: true };
741
+ }
742
+ static getPropertyOptions(t22) {
743
+ return this.elementProperties.get(t22) ?? y3;
744
+ }
745
+ static _$Ei() {
746
+ if (this.hasOwnProperty(d3("elementProperties"))) return;
747
+ const t22 = n22(this);
748
+ t22.finalize(), void 0 !== t22.l && (this.l = [...t22.l]), this.elementProperties = new Map(t22.elementProperties);
749
+ }
750
+ static finalize() {
751
+ if (this.hasOwnProperty(d3("finalized"))) return;
752
+ if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d3("properties"))) {
753
+ const t32 = this.properties, s22 = [...h3(t32), ...o22(t32)];
754
+ for (const i32 of s22) this.createProperty(i32, t32[i32]);
755
+ }
756
+ const t22 = this[Symbol.metadata];
757
+ if (null !== t22) {
758
+ const s22 = litPropertyMetadata.get(t22);
759
+ if (void 0 !== s22) for (const [t32, i32] of s22) this.elementProperties.set(t32, i32);
760
+ }
761
+ this._$Eh = /* @__PURE__ */ new Map();
762
+ for (const [t32, s22] of this.elementProperties) {
763
+ const i32 = this._$Eu(t32, s22);
764
+ void 0 !== i32 && this._$Eh.set(i32, t32);
765
+ }
766
+ this.elementStyles = this.finalizeStyles(this.styles);
767
+ }
768
+ static finalizeStyles(s22) {
769
+ const i32 = [];
770
+ if (Array.isArray(s22)) {
771
+ const e42 = new Set(s22.flat(1 / 0).reverse());
772
+ for (const s32 of e42) i32.unshift(c4(s32));
773
+ } else void 0 !== s22 && i32.push(c4(s22));
774
+ return i32;
775
+ }
776
+ static _$Eu(t22, s22) {
777
+ const i32 = s22.attribute;
778
+ return false === i32 ? void 0 : "string" == typeof i32 ? i32 : "string" == typeof t22 ? t22.toLowerCase() : void 0;
779
+ }
780
+ constructor() {
781
+ super(), this._$Ep = void 0, this.isUpdatePending = false, this.hasUpdated = false, this._$Em = null, this._$Ev();
782
+ }
783
+ _$Ev() {
784
+ this._$ES = new Promise((t22) => this.enableUpdating = t22), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach((t22) => t22(this));
785
+ }
786
+ addController(t22) {
787
+ (this._$EO ??= /* @__PURE__ */ new Set()).add(t22), void 0 !== this.renderRoot && this.isConnected && t22.hostConnected?.();
788
+ }
789
+ removeController(t22) {
790
+ this._$EO?.delete(t22);
791
+ }
792
+ _$E_() {
793
+ const t22 = /* @__PURE__ */ new Map(), s22 = this.constructor.elementProperties;
794
+ for (const i32 of s22.keys()) this.hasOwnProperty(i32) && (t22.set(i32, this[i32]), delete this[i32]);
795
+ t22.size > 0 && (this._$Ep = t22);
796
+ }
797
+ createRenderRoot() {
798
+ const t22 = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
799
+ return S3(t22, this.constructor.elementStyles), t22;
800
+ }
801
+ connectedCallback() {
802
+ this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(true), this._$EO?.forEach((t22) => t22.hostConnected?.());
803
+ }
804
+ enableUpdating(t22) {
805
+ }
806
+ disconnectedCallback() {
807
+ this._$EO?.forEach((t22) => t22.hostDisconnected?.());
808
+ }
809
+ attributeChangedCallback(t22, s22, i32) {
810
+ this._$AK(t22, i32);
811
+ }
812
+ _$EC(t22, s22) {
813
+ const i32 = this.constructor.elementProperties.get(t22), e42 = this.constructor._$Eu(t22, i32);
814
+ if (void 0 !== e42 && true === i32.reflect) {
815
+ const r42 = (void 0 !== i32.converter?.toAttribute ? i32.converter : u3).toAttribute(s22, i32.type);
816
+ this._$Em = t22, null == r42 ? this.removeAttribute(e42) : this.setAttribute(e42, r42), this._$Em = null;
817
+ }
818
+ }
819
+ _$AK(t22, s22) {
820
+ const i32 = this.constructor, e42 = i32._$Eh.get(t22);
821
+ if (void 0 !== e42 && this._$Em !== e42) {
822
+ const t32 = i32.getPropertyOptions(e42), r42 = "function" == typeof t32.converter ? { fromAttribute: t32.converter } : void 0 !== t32.converter?.fromAttribute ? t32.converter : u3;
823
+ this._$Em = e42, this[e42] = r42.fromAttribute(s22, t32.type), this._$Em = null;
824
+ }
825
+ }
826
+ requestUpdate(t22, s22, i32) {
827
+ if (void 0 !== t22) {
828
+ if (i32 ??= this.constructor.getPropertyOptions(t22), !(i32.hasChanged ?? f3)(this[t22], s22)) return;
829
+ this.P(t22, s22, i32);
830
+ }
831
+ false === this.isUpdatePending && (this._$ES = this._$ET());
832
+ }
833
+ P(t22, s22, i32) {
834
+ this._$AL.has(t22) || this._$AL.set(t22, s22), true === i32.reflect && this._$Em !== t22 && (this._$Ej ??= /* @__PURE__ */ new Set()).add(t22);
835
+ }
836
+ async _$ET() {
837
+ this.isUpdatePending = true;
838
+ try {
839
+ await this._$ES;
840
+ } catch (t32) {
841
+ Promise.reject(t32);
842
+ }
843
+ const t22 = this.scheduleUpdate();
844
+ return null != t22 && await t22, !this.isUpdatePending;
845
+ }
846
+ scheduleUpdate() {
847
+ return this.performUpdate();
848
+ }
849
+ performUpdate() {
850
+ if (!this.isUpdatePending) return;
851
+ if (!this.hasUpdated) {
852
+ if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {
853
+ for (const [t42, s32] of this._$Ep) this[t42] = s32;
854
+ this._$Ep = void 0;
855
+ }
856
+ const t32 = this.constructor.elementProperties;
857
+ if (t32.size > 0) for (const [s32, i32] of t32) true !== i32.wrapped || this._$AL.has(s32) || void 0 === this[s32] || this.P(s32, this[s32], i32);
858
+ }
859
+ let t22 = false;
860
+ const s22 = this._$AL;
861
+ try {
862
+ t22 = this.shouldUpdate(s22), t22 ? (this.willUpdate(s22), this._$EO?.forEach((t32) => t32.hostUpdate?.()), this.update(s22)) : this._$EU();
863
+ } catch (s32) {
864
+ throw t22 = false, this._$EU(), s32;
865
+ }
866
+ t22 && this._$AE(s22);
867
+ }
868
+ willUpdate(t22) {
869
+ }
870
+ _$AE(t22) {
871
+ this._$EO?.forEach((t32) => t32.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t22)), this.updated(t22);
872
+ }
873
+ _$EU() {
874
+ this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = false;
875
+ }
876
+ get updateComplete() {
877
+ return this.getUpdateComplete();
878
+ }
879
+ getUpdateComplete() {
880
+ return this._$ES;
881
+ }
882
+ shouldUpdate(t22) {
883
+ return true;
884
+ }
885
+ update(t22) {
886
+ this._$Ej &&= this._$Ej.forEach((t32) => this._$EC(t32, this[t32])), this._$EU();
887
+ }
888
+ updated(t22) {
889
+ }
890
+ firstUpdated(t22) {
891
+ }
892
+ };
893
+ b3.elementStyles = [], b3.shadowRootOptions = { mode: "open" }, b3[d3("elementProperties")] = /* @__PURE__ */ new Map(), b3[d3("finalized")] = /* @__PURE__ */ new Map(), p3?.({ ReactiveElement: b3 }), (a3.reactiveElementVersions ??= []).push("2.0.4");
894
+ var n32 = globalThis;
895
+ var c32 = n32.trustedTypes;
896
+ var h22 = c32 ? c32.createPolicy("lit-html", { createHTML: (t22) => t22 }) : void 0;
897
+ var f22 = "$lit$";
898
+ var v2 = `lit$${Math.random().toFixed(9).slice(2)}$`;
899
+ var m2 = "?" + v2;
900
+ var _2 = `<${m2}>`;
901
+ var w2 = document;
902
+ var lt = () => w2.createComment("");
903
+ var st = (t22) => null === t22 || "object" != typeof t22 && "function" != typeof t22;
904
+ var g2 = Array.isArray;
905
+ var $2 = (t22) => g2(t22) || "function" == typeof t22?.[Symbol.iterator];
906
+ var x2 = "[ \n\f\r]";
907
+ var T2 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g;
908
+ var E2 = /-->/g;
909
+ var k2 = />/g;
910
+ var O = RegExp(`>|${x2}(?:([^\\s"'>=/]+)(${x2}*=${x2}*(?:[^
911
+ \f\r"'\`<>=]|("|')|))|$)`, "g");
912
+ var S22 = /'/g;
913
+ var j2 = /"/g;
914
+ var M2 = /^(?:script|style|textarea|title)$/i;
915
+ var P2 = (t22) => (i32, ...s22) => ({ _$litType$: t22, strings: i32, values: s22 });
916
+ var ke = P2(1);
917
+ var Oe = P2(2);
918
+ var Se = P2(3);
919
+ var R2 = Symbol.for("lit-noChange");
920
+ var D = Symbol.for("lit-nothing");
921
+ var V2 = /* @__PURE__ */ new WeakMap();
922
+ var I2 = w2.createTreeWalker(w2, 129);
923
+ function N2(t22, i32) {
924
+ if (!g2(t22) || !t22.hasOwnProperty("raw")) throw Error("invalid template strings array");
925
+ return void 0 !== h22 ? h22.createHTML(i32) : i32;
926
+ }
927
+ var U = (t22, i32) => {
928
+ const s22 = t22.length - 1, e42 = [];
929
+ let h4, o42 = 2 === i32 ? "<svg>" : 3 === i32 ? "<math>" : "", n52 = T2;
930
+ for (let i42 = 0; i42 < s22; i42++) {
931
+ const s32 = t22[i42];
932
+ let r42, l22, c42 = -1, a22 = 0;
933
+ for (; a22 < s32.length && (n52.lastIndex = a22, l22 = n52.exec(s32), null !== l22); ) a22 = n52.lastIndex, n52 === T2 ? "!--" === l22[1] ? n52 = E2 : void 0 !== l22[1] ? n52 = k2 : void 0 !== l22[2] ? (M2.test(l22[2]) && (h4 = RegExp("</" + l22[2], "g")), n52 = O) : void 0 !== l22[3] && (n52 = O) : n52 === O ? ">" === l22[0] ? (n52 = h4 ?? T2, c42 = -1) : void 0 === l22[1] ? c42 = -2 : (c42 = n52.lastIndex - l22[2].length, r42 = l22[1], n52 = void 0 === l22[3] ? O : '"' === l22[3] ? j2 : S22) : n52 === j2 || n52 === S22 ? n52 = O : n52 === E2 || n52 === k2 ? n52 = T2 : (n52 = O, h4 = void 0);
934
+ const u22 = n52 === O && t22[i42 + 1].startsWith("/>") ? " " : "";
935
+ o42 += n52 === T2 ? s32 + _2 : c42 >= 0 ? (e42.push(r42), s32.slice(0, c42) + f22 + s32.slice(c42) + v2 + u22) : s32 + v2 + (-2 === c42 ? i42 : u22);
936
+ }
937
+ return [N2(t22, o42 + (t22[s22] || "<?>") + (2 === i32 ? "</svg>" : 3 === i32 ? "</math>" : "")), e42];
938
+ };
939
+ var B2 = class _B {
940
+ constructor({ strings: t22, _$litType$: i32 }, s22) {
941
+ let e42;
942
+ this.parts = [];
943
+ let h4 = 0, o42 = 0;
944
+ const n52 = t22.length - 1, r42 = this.parts, [l22, a22] = U(t22, i32);
945
+ if (this.el = _B.createElement(l22, s22), I2.currentNode = this.el.content, 2 === i32 || 3 === i32) {
946
+ const t32 = this.el.content.firstChild;
947
+ t32.replaceWith(...t32.childNodes);
948
+ }
949
+ for (; null !== (e42 = I2.nextNode()) && r42.length < n52; ) {
950
+ if (1 === e42.nodeType) {
951
+ if (e42.hasAttributes()) for (const t32 of e42.getAttributeNames()) if (t32.endsWith(f22)) {
952
+ const i42 = a22[o42++], s32 = e42.getAttribute(t32).split(v2), n6 = /([.?@])?(.*)/.exec(i42);
953
+ r42.push({ type: 1, index: h4, name: n6[2], strings: s32, ctor: "." === n6[1] ? Y : "?" === n6[1] ? Z : "@" === n6[1] ? q : G }), e42.removeAttribute(t32);
954
+ } else t32.startsWith(v2) && (r42.push({ type: 6, index: h4 }), e42.removeAttribute(t32));
955
+ if (M2.test(e42.tagName)) {
956
+ const t32 = e42.textContent.split(v2), i42 = t32.length - 1;
957
+ if (i42 > 0) {
958
+ e42.textContent = c32 ? c32.emptyScript : "";
959
+ for (let s32 = 0; s32 < i42; s32++) e42.append(t32[s32], lt()), I2.nextNode(), r42.push({ type: 2, index: ++h4 });
960
+ e42.append(t32[i42], lt());
961
+ }
962
+ }
963
+ } else if (8 === e42.nodeType) if (e42.data === m2) r42.push({ type: 2, index: h4 });
964
+ else {
965
+ let t32 = -1;
966
+ for (; -1 !== (t32 = e42.data.indexOf(v2, t32 + 1)); ) r42.push({ type: 7, index: h4 }), t32 += v2.length - 1;
967
+ }
968
+ h4++;
969
+ }
970
+ }
971
+ static createElement(t22, i32) {
972
+ const s22 = w2.createElement("template");
973
+ return s22.innerHTML = t22, s22;
974
+ }
975
+ };
976
+ function z2(t22, i32, s22 = t22, e42) {
977
+ if (i32 === R2) return i32;
978
+ let h4 = void 0 !== e42 ? s22.o?.[e42] : s22.l;
979
+ const o42 = st(i32) ? void 0 : i32._$litDirective$;
980
+ return h4?.constructor !== o42 && (h4?._$AO?.(false), void 0 === o42 ? h4 = void 0 : (h4 = new o42(t22), h4._$AT(t22, s22, e42)), void 0 !== e42 ? (s22.o ??= [])[e42] = h4 : s22.l = h4), void 0 !== h4 && (i32 = z2(t22, h4._$AS(t22, i32.values), h4, e42)), i32;
981
+ }
982
+ var F = class {
983
+ constructor(t22, i32) {
984
+ this._$AV = [], this._$AN = void 0, this._$AD = t22, this._$AM = i32;
985
+ }
986
+ get parentNode() {
987
+ return this._$AM.parentNode;
988
+ }
989
+ get _$AU() {
990
+ return this._$AM._$AU;
991
+ }
992
+ u(t22) {
993
+ const { el: { content: i32 }, parts: s22 } = this._$AD, e42 = (t22?.creationScope ?? w2).importNode(i32, true);
994
+ I2.currentNode = e42;
995
+ let h4 = I2.nextNode(), o42 = 0, n52 = 0, r42 = s22[0];
996
+ for (; void 0 !== r42; ) {
997
+ if (o42 === r42.index) {
998
+ let i42;
999
+ 2 === r42.type ? i42 = new et(h4, h4.nextSibling, this, t22) : 1 === r42.type ? i42 = new r42.ctor(h4, r42.name, r42.strings, this, t22) : 6 === r42.type && (i42 = new K(h4, this, t22)), this._$AV.push(i42), r42 = s22[++n52];
1000
+ }
1001
+ o42 !== r42?.index && (h4 = I2.nextNode(), o42++);
1002
+ }
1003
+ return I2.currentNode = w2, e42;
1004
+ }
1005
+ p(t22) {
1006
+ let i32 = 0;
1007
+ for (const s22 of this._$AV) void 0 !== s22 && (void 0 !== s22.strings ? (s22._$AI(t22, s22, i32), i32 += s22.strings.length - 2) : s22._$AI(t22[i32])), i32++;
1008
+ }
1009
+ };
1010
+ var et = class _et {
1011
+ get _$AU() {
1012
+ return this._$AM?._$AU ?? this.v;
1013
+ }
1014
+ constructor(t22, i32, s22, e42) {
1015
+ this.type = 2, this._$AH = D, this._$AN = void 0, this._$AA = t22, this._$AB = i32, this._$AM = s22, this.options = e42, this.v = e42?.isConnected ?? true;
1016
+ }
1017
+ get parentNode() {
1018
+ let t22 = this._$AA.parentNode;
1019
+ const i32 = this._$AM;
1020
+ return void 0 !== i32 && 11 === t22?.nodeType && (t22 = i32.parentNode), t22;
1021
+ }
1022
+ get startNode() {
1023
+ return this._$AA;
1024
+ }
1025
+ get endNode() {
1026
+ return this._$AB;
1027
+ }
1028
+ _$AI(t22, i32 = this) {
1029
+ t22 = z2(this, t22, i32), st(t22) ? t22 === D || null == t22 || "" === t22 ? (this._$AH !== D && this._$AR(), this._$AH = D) : t22 !== this._$AH && t22 !== R2 && this._(t22) : void 0 !== t22._$litType$ ? this.$(t22) : void 0 !== t22.nodeType ? this.T(t22) : $2(t22) ? this.k(t22) : this._(t22);
1030
+ }
1031
+ O(t22) {
1032
+ return this._$AA.parentNode.insertBefore(t22, this._$AB);
1033
+ }
1034
+ T(t22) {
1035
+ this._$AH !== t22 && (this._$AR(), this._$AH = this.O(t22));
1036
+ }
1037
+ _(t22) {
1038
+ this._$AH !== D && st(this._$AH) ? this._$AA.nextSibling.data = t22 : this.T(w2.createTextNode(t22)), this._$AH = t22;
1039
+ }
1040
+ $(t22) {
1041
+ const { values: i32, _$litType$: s22 } = t22, e42 = "number" == typeof s22 ? this._$AC(t22) : (void 0 === s22.el && (s22.el = B2.createElement(N2(s22.h, s22.h[0]), this.options)), s22);
1042
+ if (this._$AH?._$AD === e42) this._$AH.p(i32);
1043
+ else {
1044
+ const t32 = new F(e42, this), s32 = t32.u(this.options);
1045
+ t32.p(i32), this.T(s32), this._$AH = t32;
1046
+ }
1047
+ }
1048
+ _$AC(t22) {
1049
+ let i32 = V2.get(t22.strings);
1050
+ return void 0 === i32 && V2.set(t22.strings, i32 = new B2(t22)), i32;
1051
+ }
1052
+ k(t22) {
1053
+ g2(this._$AH) || (this._$AH = [], this._$AR());
1054
+ const i32 = this._$AH;
1055
+ let s22, e42 = 0;
1056
+ for (const h4 of t22) e42 === i32.length ? i32.push(s22 = new _et(this.O(lt()), this.O(lt()), this, this.options)) : s22 = i32[e42], s22._$AI(h4), e42++;
1057
+ e42 < i32.length && (this._$AR(s22 && s22._$AB.nextSibling, e42), i32.length = e42);
1058
+ }
1059
+ _$AR(t22 = this._$AA.nextSibling, i32) {
1060
+ for (this._$AP?.(false, true, i32); t22 && t22 !== this._$AB; ) {
1061
+ const i42 = t22.nextSibling;
1062
+ t22.remove(), t22 = i42;
1063
+ }
1064
+ }
1065
+ setConnected(t22) {
1066
+ void 0 === this._$AM && (this.v = t22, this._$AP?.(t22));
1067
+ }
1068
+ };
1069
+ var G = class {
1070
+ get tagName() {
1071
+ return this.element.tagName;
1072
+ }
1073
+ get _$AU() {
1074
+ return this._$AM._$AU;
1075
+ }
1076
+ constructor(t22, i32, s22, e42, h4) {
1077
+ this.type = 1, this._$AH = D, this._$AN = void 0, this.element = t22, this.name = i32, this._$AM = e42, this.options = h4, s22.length > 2 || "" !== s22[0] || "" !== s22[1] ? (this._$AH = Array(s22.length - 1).fill(new String()), this.strings = s22) : this._$AH = D;
1078
+ }
1079
+ _$AI(t22, i32 = this, s22, e42) {
1080
+ const h4 = this.strings;
1081
+ let o42 = false;
1082
+ if (void 0 === h4) t22 = z2(this, t22, i32, 0), o42 = !st(t22) || t22 !== this._$AH && t22 !== R2, o42 && (this._$AH = t22);
1083
+ else {
1084
+ const e52 = t22;
1085
+ let n52, r42;
1086
+ for (t22 = h4[0], n52 = 0; n52 < h4.length - 1; n52++) r42 = z2(this, e52[s22 + n52], i32, n52), r42 === R2 && (r42 = this._$AH[n52]), o42 ||= !st(r42) || r42 !== this._$AH[n52], r42 === D ? t22 = D : t22 !== D && (t22 += (r42 ?? "") + h4[n52 + 1]), this._$AH[n52] = r42;
1087
+ }
1088
+ o42 && !e42 && this.j(t22);
1089
+ }
1090
+ j(t22) {
1091
+ t22 === D ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t22 ?? "");
1092
+ }
1093
+ };
1094
+ var Y = class extends G {
1095
+ constructor() {
1096
+ super(...arguments), this.type = 3;
1097
+ }
1098
+ j(t22) {
1099
+ this.element[this.name] = t22 === D ? void 0 : t22;
1100
+ }
1101
+ };
1102
+ var Z = class extends G {
1103
+ constructor() {
1104
+ super(...arguments), this.type = 4;
1105
+ }
1106
+ j(t22) {
1107
+ this.element.toggleAttribute(this.name, !!t22 && t22 !== D);
1108
+ }
1109
+ };
1110
+ var q = class extends G {
1111
+ constructor(t22, i32, s22, e42, h4) {
1112
+ super(t22, i32, s22, e42, h4), this.type = 5;
1113
+ }
1114
+ _$AI(t22, i32 = this) {
1115
+ if ((t22 = z2(this, t22, i32, 0) ?? D) === R2) return;
1116
+ const s22 = this._$AH, e42 = t22 === D && s22 !== D || t22.capture !== s22.capture || t22.once !== s22.once || t22.passive !== s22.passive, h4 = t22 !== D && (s22 === D || e42);
1117
+ e42 && this.element.removeEventListener(this.name, this, s22), h4 && this.element.addEventListener(this.name, this, t22), this._$AH = t22;
1118
+ }
1119
+ handleEvent(t22) {
1120
+ "function" == typeof this._$AH ? this._$AH.call(this.options?.host ?? this.element, t22) : this._$AH.handleEvent(t22);
1121
+ }
1122
+ };
1123
+ var K = class {
1124
+ constructor(t22, i32, s22) {
1125
+ this.element = t22, this.type = 6, this._$AN = void 0, this._$AM = i32, this.options = s22;
1126
+ }
1127
+ get _$AU() {
1128
+ return this._$AM._$AU;
1129
+ }
1130
+ _$AI(t22) {
1131
+ z2(this, t22);
1132
+ }
1133
+ };
1134
+ var Re = n32.litHtmlPolyfillSupport;
1135
+ Re?.(B2, et), (n32.litHtmlVersions ??= []).push("3.2.0");
1136
+ var Q = (t22, i32, s22) => {
1137
+ const e42 = s22?.renderBefore ?? i32;
1138
+ let h4 = e42._$litPart$;
1139
+ if (void 0 === h4) {
1140
+ const t32 = s22?.renderBefore ?? null;
1141
+ e42._$litPart$ = h4 = new et(i32.insertBefore(lt(), t32), t32, void 0, s22 ?? {});
1142
+ }
1143
+ return h4._$AI(t22), h4;
1144
+ };
1145
+ var h32 = class extends b3 {
1146
+ constructor() {
1147
+ super(...arguments), this.renderOptions = { host: this }, this.o = void 0;
1148
+ }
1149
+ createRenderRoot() {
1150
+ const t22 = super.createRenderRoot();
1151
+ return this.renderOptions.renderBefore ??= t22.firstChild, t22;
1152
+ }
1153
+ update(t22) {
1154
+ const e42 = this.render();
1155
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t22), this.o = Q(e42, this.renderRoot, this.renderOptions);
1156
+ }
1157
+ connectedCallback() {
1158
+ super.connectedCallback(), this.o?.setConnected(true);
1159
+ }
1160
+ disconnectedCallback() {
1161
+ super.disconnectedCallback(), this.o?.setConnected(false);
1162
+ }
1163
+ render() {
1164
+ return R2;
1165
+ }
1166
+ };
1167
+ h32._$litElement$ = true, h32["finalized"] = true, globalThis.litElementHydrateSupport?.({ LitElement: h32 });
1168
+ var f32 = globalThis.litElementPolyfillSupport;
1169
+ f32?.({ LitElement: h32 });
1170
+ (globalThis.litElementVersions ??= []).push("4.1.0");
1171
+ var o32 = { attribute: true, type: String, converter: u3, reflect: false, hasChanged: f3 };
1172
+ var r32 = (t22 = o32, e42, r42) => {
1173
+ const { kind: n52, metadata: i32 } = r42;
1174
+ let s22 = globalThis.litPropertyMetadata.get(i32);
1175
+ if (void 0 === s22 && globalThis.litPropertyMetadata.set(i32, s22 = /* @__PURE__ */ new Map()), s22.set(r42.name, t22), "accessor" === n52) {
1176
+ const { name: o42 } = r42;
1177
+ return { set(r52) {
1178
+ const n6 = e42.get.call(this);
1179
+ e42.set.call(this, r52), this.requestUpdate(o42, n6, t22);
1180
+ }, init(e52) {
1181
+ return void 0 !== e52 && this.P(o42, void 0, t22), e52;
1182
+ } };
1183
+ }
1184
+ if ("setter" === n52) {
1185
+ const { name: o42 } = r42;
1186
+ return function(r52) {
1187
+ const n6 = this[o42];
1188
+ e42.call(this, r52), this.requestUpdate(o42, n6, t22);
1189
+ };
1190
+ }
1191
+ throw Error("Unsupported decorator location: " + n52);
1192
+ };
1193
+ function n42(t22) {
1194
+ return (e42, o42) => "object" == typeof o42 ? r32(t22, e42, o42) : ((t32, e52, o52) => {
1195
+ const r42 = e52.hasOwnProperty(o52);
1196
+ return e52.constructor.createProperty(o52, r42 ? { ...t32, wrapped: true } : t32), r42 ? Object.getOwnPropertyDescriptor(e52, o52) : void 0;
1197
+ })(t22, e42, o42);
1198
+ }
1199
+ var appliedClassMixins = /* @__PURE__ */ new WeakMap();
1200
+ function wasMixinPreviouslyApplied(mixin, superClass) {
1201
+ let klass = superClass;
1202
+ while (klass) {
1203
+ if (appliedClassMixins.get(klass) === mixin) {
1204
+ return true;
1205
+ }
1206
+ klass = Object.getPrototypeOf(klass);
1207
+ }
1208
+ return false;
1209
+ }
1210
+ function dedupeMixin(mixin) {
1211
+ return (superClass) => {
1212
+ if (wasMixinPreviouslyApplied(mixin, superClass)) {
1213
+ return superClass;
1214
+ }
1215
+ const mixedClass = mixin(superClass);
1216
+ appliedClassMixins.set(mixedClass, mixin);
1217
+ return mixedClass;
1218
+ };
1219
+ }
1220
+ var version = "3.0.0";
1221
+ var versions = window.scopedElementsVersions || (window.scopedElementsVersions = []);
1222
+ if (!versions.includes(version)) {
1223
+ versions.push(version);
1224
+ }
1225
+ var ScopedElementsMixinImplementation = (superclass) => (
1226
+ /** @type {ScopedElementsHost} */
1227
+ class ScopedElementsHost extends superclass {
1228
+ /**
1229
+ * Obtains the scoped elements definitions map if specified.
1230
+ *
1231
+ * @type {ScopedElementsMap=}
1232
+ */
1233
+ static scopedElements;
1234
+ static get scopedElementsVersion() {
1235
+ return version;
1236
+ }
1237
+ /** @type {CustomElementRegistry=} */
1238
+ static __registry;
1239
+ /**
1240
+ * Obtains the CustomElementRegistry associated to the ShadowRoot.
1241
+ *
1242
+ * @returns {CustomElementRegistry=}
1243
+ */
1244
+ get registry() {
1245
+ return (
1246
+ /** @type {typeof ScopedElementsHost} */
1247
+ this.constructor.__registry
1248
+ );
1249
+ }
1250
+ /**
1251
+ * Set the CustomElementRegistry associated to the ShadowRoot
1252
+ *
1253
+ * @param {CustomElementRegistry} registry
1254
+ */
1255
+ set registry(registry) {
1256
+ this.constructor.__registry = registry;
1257
+ }
1258
+ /**
1259
+ * @param {ShadowRootInit} options
1260
+ * @returns {ShadowRoot}
1261
+ */
1262
+ attachShadow(options) {
1263
+ const { scopedElements } = (
1264
+ /** @type {typeof ScopedElementsHost} */
1265
+ this.constructor
1266
+ );
1267
+ const shouldCreateRegistry = !this.registry || // @ts-ignore
1268
+ this.registry === this.constructor.__registry && !Object.prototype.hasOwnProperty.call(this.constructor, "__registry");
1269
+ if (shouldCreateRegistry) {
1270
+ this.registry = new CustomElementRegistry();
1271
+ for (const [tagName, klass] of Object.entries(scopedElements ?? {})) {
1272
+ this.registry.define(tagName, klass);
1273
+ }
1274
+ }
1275
+ return super.attachShadow({
1276
+ ...options,
1277
+ // The polyfill currently expects the registry to be passed as `customElements`
1278
+ customElements: this.registry,
1279
+ // But the proposal has moved forward, and renamed it to `registry`
1280
+ // For backwards compatibility, we pass it as both
1281
+ registry: this.registry
1282
+ });
1283
+ }
1284
+ }
1285
+ );
1286
+ var ScopedElementsMixin = dedupeMixin(ScopedElementsMixinImplementation);
1287
+ var ScopedElementsMixinImplementation2 = (superclass) => (
1288
+ /** @type {ScopedElementsHost} */
1289
+ class ScopedElementsHost extends ScopedElementsMixin(superclass) {
1290
+ createRenderRoot() {
1291
+ const { shadowRootOptions, elementStyles } = (
1292
+ /** @type {TypeofLitElement} */
1293
+ this.constructor
1294
+ );
1295
+ const shadowRoot = this.attachShadow(shadowRootOptions);
1296
+ this.renderOptions.creationScope = shadowRoot;
1297
+ S3(shadowRoot, elementStyles);
1298
+ this.renderOptions.renderBefore ??= shadowRoot.firstChild;
1299
+ return shadowRoot;
1300
+ }
1301
+ }
1302
+ );
1303
+ var ScopedElementsMixin2 = dedupeMixin(ScopedElementsMixinImplementation2);
1304
+ var _lang_dec;
1305
+ var _contentEditable_dec;
1306
+ var _a;
1307
+ var _init;
1308
+ var _contentEditable;
1309
+ var _lang;
1310
+ var LitElementWw = class extends (_a = ScopedElementsMixin2(h32), _contentEditable_dec = [n42({ type: String, attribute: true, reflect: true })], _lang_dec = [n42({ type: String, attribute: true, reflect: true })], _a) {
1311
+ constructor() {
1312
+ super(...arguments);
1313
+ __runInitializers(_init, 5, this);
1314
+ __publicField(this, "options");
1315
+ __publicField(this, "actions", {});
1316
+ __publicField(this, "localize");
1317
+ __privateAdd(this, _contentEditable, __runInitializers(_init, 8, this)), __runInitializers(_init, 11, this);
1318
+ __privateAdd(this, _lang, "");
1319
+ __publicField(this, "_inTransaction", false);
1320
+ }
1321
+ get lang() {
1322
+ return (__privateGet(this, _lang) || this.parentElement?.closest("[lang]")?.lang) ?? "";
1323
+ }
1324
+ set lang(value) {
1325
+ __privateSet(this, _lang, value);
1326
+ this.localize?.setLocale(value).finally(() => this.requestUpdate("lang"));
1327
+ }
1328
+ connectedCallback() {
1329
+ super.connectedCallback();
1330
+ this.localize?.setLocale(this.lang).finally(() => this.requestUpdate());
1331
+ this.getAttributeNames().forEach((k22) => this.setAttribute(k22, this.getAttribute(k22)));
1332
+ }
1333
+ };
1334
+ _init = __decoratorStart(_a);
1335
+ _contentEditable = /* @__PURE__ */ new WeakMap();
1336
+ _lang = /* @__PURE__ */ new WeakMap();
1337
+ __decorateElement(_init, 4, "contentEditable", _contentEditable_dec, LitElementWw, _contentEditable);
1338
+ __decorateElement(_init, 3, "lang", _lang_dec, LitElementWw);
1339
+ __decoratorMetadata(_init, LitElementWw);
1340
+ __publicField(LitElementWw, "shadowRootOptions", { ...h32.shadowRootOptions });
1341
+ __publicField(LitElementWw, "scopedElements", {});
1342
+ __publicField(LitElementWw, "options", {});
1343
+ __publicField(LitElementWw, "actions", {});
1344
+
1345
+ // components/geogebra-app.ts
1346
+ var GeogebraApp = class extends LitElementWw {
1347
+ static styles = i`
1348
+ iframe {
1349
+ border: none;
1350
+ width: 100%;
1351
+ aspect-ratio: 16/9;
1352
+ }
1353
+ `;
1354
+ ggbStyles;
1355
+ type = "classic";
1356
+ width = 800;
1357
+ height = 450;
1358
+ // base64, material ID, file url
1359
+ #src;
1360
+ get src() {
1361
+ return this.#src;
1362
+ }
1363
+ set src(_3) {
1364
+ this.#src = _3;
1365
+ }
1366
+ borderColor = "gray";
1367
+ borderRadius = 1;
1368
+ enableRightClick = true;
1369
+ enableLabelDrags = true;
1370
+ enableShiftDragZoom = true;
1371
+ showZoomButtons = false;
1372
+ errorDialogsActive = true;
1373
+ showMenuBar = false;
1374
+ showToolBar = false;
1375
+ showToolBarHelp = false;
1376
+ customToolBar;
1377
+ showAlgebraInput = true;
1378
+ showResetIcon = false;
1379
+ language;
1380
+ country;
1381
+ appletId;
1382
+ allowStyleBar = false;
1383
+ randomize = true;
1384
+ randomSeed;
1385
+ useBrowserForJs = false;
1386
+ showLogging = false;
1387
+ capturingThreshold = 3;
1388
+ enableFileFeatures = true;
1389
+ enableUndoRedo = true;
1390
+ perspective;
1391
+ enable3d;
1392
+ enableCAS;
1393
+ algebraInputPosition;
1394
+ preventFocus = false;
1395
+ scaleContainerClass;
1396
+ autoHeight = true;
1397
+ allowUpscale = false;
1398
+ playButton = false;
1399
+ scale = 1;
1400
+ showAnimationButton = false;
1401
+ showFullscreenButton = false;
1402
+ showSuggestionButtons = false;
1403
+ showStartTooltip = false;
1404
+ rounding;
1405
+ buttonShadows = false;
1406
+ buttonRounding = 0.2;
1407
+ buttonBorderColor;
1408
+ editorBackgroundColor;
1409
+ editorForegroundColor;
1410
+ textmode = false;
1411
+ showKeyboardOnFocus;
1412
+ keyboardType;
1413
+ transparentGraphics = false;
1414
+ disabledJavaScript = false;
1415
+ detachedKeyboardParent;
1416
+ get ggbProperties() {
1417
+ const { appletId: id, type: appName, width, height, borderColor, borderRadius, enableLabelDrags, enableShiftDragZoom, showZoomButtons, errorDialogsActive, showMenuBar, showToolBar, showToolBarHelp, customToolBar, showAlgebraInput, showResetIcon, language, country, allowStyleBar, randomize, randomSeed, useBrowserForJs, showLogging, capturingThreshold, enableFileFeatures, perspective, enable3d, enableCAS, algebraInputPosition, preventFocus, scaleContainerClass, autoHeight, allowUpscale, playButton, scale, showAnimationButton, showFullscreenButton, showSuggestionButtons, showStartTooltip, rounding, buttonShadows, buttonRounding, buttonBorderColor, editorBackgroundColor, editorForegroundColor, textmode, showKeyboardOnFocus, keyboardType, transparentGraphics, disabledJavaScript, detachedKeyboardParent } = this;
1418
+ let filename, material_id, ggbBase64;
1419
+ if (this.src && this.src.startsWith("data:")) {
1420
+ ggbBase64 = this.src.split(",").at(-1);
1421
+ } else if (this.src && this.src.startsWith("ggbid:")) {
1422
+ material_id = this.src.slice("ggbid:".length);
1423
+ } else if (this.src) {
1424
+ filename = this.src;
1425
+ }
1426
+ return { id, appName, filename, material_id, ggbBase64, width, height, borderColor, borderRadius, enableLabelDrags, enableShiftDragZoom, showZoomButtons, errorDialogsActive, showMenuBar, showToolBar, showToolBarHelp, customToolBar, showAlgebraInput, showResetIcon, language: language ?? this.lang, country, allowStyleBar, randomize, randomSeed, useBrowserForJs, showLogging, capturingThreshold, enableFileFeatures, perspective, enable3d, enableCAS, algebraInputPosition, preventFocus, scaleContainerClass, autoHeight, allowUpscale, playButton, scale, showAnimationButton, showFullscreenButton, showSuggestionButtons, showStartTooltip, rounding, buttonShadows, buttonRounding, buttonBorderColor, editorBackgroundColor, editorForegroundColor, textmode, showKeyboardOnFocus, keyboardType, transparentGraphics, disabledJavaScript, detachedKeyboardParent };
1427
+ }
1428
+ updateSrc = () => {
1429
+ if (!this.updatingGgb) {
1430
+ this.src = `data:application/vnd.geogebra.file;base64,${this.api.getBase64()}`;
1431
+ }
1432
+ };
1433
+ connectedCallback() {
1434
+ super.connectedCallback();
1435
+ this.apiReady = new Promise((r7) => {
1436
+ this.addEventListener("ggb-load", (e6) => {
1437
+ r7(e6.detail.api);
1438
+ this.api = e6.detail.api;
1439
+ this.api.registerAddListener(this.updateSrc);
1440
+ this.api.registerClearListener(this.updateSrc);
1441
+ this.api.registerUpdateListener(this.updateSrc);
1442
+ this.api.registerRenameListener(this.updateSrc);
1443
+ this.api.registerRemoveListener(this.updateSrc);
1444
+ });
1445
+ });
1446
+ }
1447
+ updatingGgb = false;
1448
+ updated(changed) {
1449
+ if (changed.has("src") && this.src && this.src.split(",").at(-1) !== this?.api?.getBase64()) {
1450
+ this.updatingGgb = true;
1451
+ this?.api?.setBase64(this.src.split(",").at(-1), () => this.updatingGgb = false);
1452
+ } else if (changed.has("src") && !this.src) {
1453
+ this.updatingGgb = true;
1454
+ this?.api?.setBase64("", () => this.updatingGgb = false);
1455
+ }
1456
+ }
1457
+ apiReady;
1458
+ api;
1459
+ initializeIFrame(e6) {
1460
+ const iframe = e6.target;
1461
+ const doc = iframe.contentDocument;
1462
+ const win = iframe.contentWindow;
1463
+ doc.body.style.margin = "0";
1464
+ if (this.ggbStyles) {
1465
+ const style = doc.createElement("style");
1466
+ style.textContent = this.ggbStyles;
1467
+ doc.head.append(style);
1468
+ }
1469
+ doc.body.addEventListener("focusin", () => this.dispatchEvent(new FocusEvent("focus", { bubbles: true, composed: true })));
1470
+ const ggbEl = doc.createElement("div");
1471
+ ggbEl.id = "ggb-element";
1472
+ doc.body.append(ggbEl);
1473
+ const deployScript = doc.createElement("script");
1474
+ deployScript.src = "https://www.geogebra.org/apps/deployggb.js";
1475
+ deployScript.addEventListener("load", () => {
1476
+ const createScript = doc.createElement("script");
1477
+ createScript.textContent = `
1478
+ const applet = new GGBApplet({${JSON.stringify(this.ggbProperties).slice(1, -1)}, appletOnLoad: api => document.dispatchEvent(new CustomEvent("ggb-load", {bubbles: true, composed: true, detail: {api}}))})
1479
+ applet.inject("ggb-element")
1480
+ `;
1481
+ doc.addEventListener("ggb-load", (e7) => this.dispatchEvent(new CustomEvent("ggb-load", { bubbles: true, composed: true, detail: e7.detail })));
1482
+ doc.body.append(createScript);
1483
+ });
1484
+ doc.body.append(deployScript);
1485
+ }
1486
+ render() {
1487
+ return x`
1488
+ <iframe id="ggb" @load=${this.initializeIFrame}></iframe>
1489
+ `;
1490
+ }
1491
+ };
1492
+ __decorateClass([
1493
+ n4({ type: String })
1494
+ ], GeogebraApp.prototype, "ggbStyles", 2);
1495
+ __decorateClass([
1496
+ n4({ reflect: true })
1497
+ ], GeogebraApp.prototype, "type", 2);
1498
+ __decorateClass([
1499
+ n4({ type: Number, reflect: true })
1500
+ ], GeogebraApp.prototype, "width", 2);
1501
+ __decorateClass([
1502
+ n4({ type: Number, reflect: true })
1503
+ ], GeogebraApp.prototype, "height", 2);
1504
+ __decorateClass([
1505
+ n4({ type: String, attribute: true, reflect: true })
1506
+ ], GeogebraApp.prototype, "src", 1);
1507
+ __decorateClass([
1508
+ n4({ type: String, reflect: true })
1509
+ ], GeogebraApp.prototype, "borderColor", 2);
1510
+ __decorateClass([
1511
+ n4({ type: Number, reflect: true })
1512
+ ], GeogebraApp.prototype, "borderRadius", 2);
1513
+ __decorateClass([
1514
+ n4({ type: Boolean, reflect: true })
1515
+ ], GeogebraApp.prototype, "enableRightClick", 2);
1516
+ __decorateClass([
1517
+ n4({ type: Boolean, reflect: true })
1518
+ ], GeogebraApp.prototype, "enableLabelDrags", 2);
1519
+ __decorateClass([
1520
+ n4({ type: Boolean, reflect: true })
1521
+ ], GeogebraApp.prototype, "enableShiftDragZoom", 2);
1522
+ __decorateClass([
1523
+ n4({ type: Boolean, reflect: true })
1524
+ ], GeogebraApp.prototype, "showZoomButtons", 2);
1525
+ __decorateClass([
1526
+ n4({ type: Boolean, reflect: true })
1527
+ ], GeogebraApp.prototype, "errorDialogsActive", 2);
1528
+ __decorateClass([
1529
+ n4({ type: Boolean, reflect: true })
1530
+ ], GeogebraApp.prototype, "showMenuBar", 2);
1531
+ __decorateClass([
1532
+ n4({ type: Boolean, reflect: true })
1533
+ ], GeogebraApp.prototype, "showToolBar", 2);
1534
+ __decorateClass([
1535
+ n4({ type: Boolean, reflect: true })
1536
+ ], GeogebraApp.prototype, "showToolBarHelp", 2);
1537
+ __decorateClass([
1538
+ n4({ type: String, reflect: true })
1539
+ ], GeogebraApp.prototype, "customToolBar", 2);
1540
+ __decorateClass([
1541
+ n4({ type: Boolean, reflect: true })
1542
+ ], GeogebraApp.prototype, "showAlgebraInput", 2);
1543
+ __decorateClass([
1544
+ n4({ type: Boolean, reflect: true })
1545
+ ], GeogebraApp.prototype, "showResetIcon", 2);
1546
+ __decorateClass([
1547
+ n4({ type: String, reflect: true })
1548
+ ], GeogebraApp.prototype, "language", 2);
1549
+ __decorateClass([
1550
+ n4({ type: String, reflect: true })
1551
+ ], GeogebraApp.prototype, "country", 2);
1552
+ __decorateClass([
1553
+ n4({ type: String, reflect: true })
1554
+ ], GeogebraApp.prototype, "appletId", 2);
1555
+ __decorateClass([
1556
+ n4({ type: Boolean, reflect: true })
1557
+ ], GeogebraApp.prototype, "allowStyleBar", 2);
1558
+ __decorateClass([
1559
+ n4({ type: Boolean, reflect: true })
1560
+ ], GeogebraApp.prototype, "randomize", 2);
1561
+ __decorateClass([
1562
+ n4({ type: Number, reflect: true })
1563
+ ], GeogebraApp.prototype, "randomSeed", 2);
1564
+ __decorateClass([
1565
+ n4({ type: Boolean, reflect: true })
1566
+ ], GeogebraApp.prototype, "useBrowserForJs", 2);
1567
+ __decorateClass([
1568
+ n4({ type: Boolean, reflect: true })
1569
+ ], GeogebraApp.prototype, "showLogging", 2);
1570
+ __decorateClass([
1571
+ n4({ type: Number, reflect: true })
1572
+ ], GeogebraApp.prototype, "capturingThreshold", 2);
1573
+ __decorateClass([
1574
+ n4({ type: Boolean, reflect: true })
1575
+ ], GeogebraApp.prototype, "enableFileFeatures", 2);
1576
+ __decorateClass([
1577
+ n4({ type: Boolean, reflect: true })
1578
+ ], GeogebraApp.prototype, "enableUndoRedo", 2);
1579
+ __decorateClass([
1580
+ n4({ type: String, reflect: true })
1581
+ ], GeogebraApp.prototype, "perspective", 2);
1582
+ __decorateClass([
1583
+ n4({ type: Boolean, reflect: true })
1584
+ ], GeogebraApp.prototype, "enable3d", 2);
1585
+ __decorateClass([
1586
+ n4({ type: Boolean, reflect: true })
1587
+ ], GeogebraApp.prototype, "enableCAS", 2);
1588
+ __decorateClass([
1589
+ n4({ type: String, reflect: true })
1590
+ ], GeogebraApp.prototype, "algebraInputPosition", 2);
1591
+ __decorateClass([
1592
+ n4({ type: Boolean, reflect: true })
1593
+ ], GeogebraApp.prototype, "preventFocus", 2);
1594
+ __decorateClass([
1595
+ n4({ type: String, reflect: true })
1596
+ ], GeogebraApp.prototype, "scaleContainerClass", 2);
1597
+ __decorateClass([
1598
+ n4({ type: Boolean, reflect: true })
1599
+ ], GeogebraApp.prototype, "autoHeight", 2);
1600
+ __decorateClass([
1601
+ n4({ type: Boolean, reflect: true })
1602
+ ], GeogebraApp.prototype, "allowUpscale", 2);
1603
+ __decorateClass([
1604
+ n4({ type: Boolean, reflect: true })
1605
+ ], GeogebraApp.prototype, "playButton", 2);
1606
+ __decorateClass([
1607
+ n4({ type: Number, reflect: true })
1608
+ ], GeogebraApp.prototype, "scale", 2);
1609
+ __decorateClass([
1610
+ n4({ type: Boolean, reflect: true })
1611
+ ], GeogebraApp.prototype, "showAnimationButton", 2);
1612
+ __decorateClass([
1613
+ n4({ type: Boolean, reflect: true })
1614
+ ], GeogebraApp.prototype, "showFullscreenButton", 2);
1615
+ __decorateClass([
1616
+ n4({ type: Boolean, reflect: true })
1617
+ ], GeogebraApp.prototype, "showSuggestionButtons", 2);
1618
+ __decorateClass([
1619
+ n4({ type: Boolean, reflect: true })
1620
+ ], GeogebraApp.prototype, "showStartTooltip", 2);
1621
+ __decorateClass([
1622
+ n4({ type: String, reflect: true })
1623
+ ], GeogebraApp.prototype, "rounding", 2);
1624
+ __decorateClass([
1625
+ n4({ type: Boolean, reflect: true })
1626
+ ], GeogebraApp.prototype, "buttonShadows", 2);
1627
+ __decorateClass([
1628
+ n4({ type: Number, reflect: true })
1629
+ ], GeogebraApp.prototype, "buttonRounding", 2);
1630
+ __decorateClass([
1631
+ n4({ type: String, reflect: true })
1632
+ ], GeogebraApp.prototype, "buttonBorderColor", 2);
1633
+ __decorateClass([
1634
+ n4({ type: String, reflect: true })
1635
+ ], GeogebraApp.prototype, "editorBackgroundColor", 2);
1636
+ __decorateClass([
1637
+ n4({ type: String, reflect: true })
1638
+ ], GeogebraApp.prototype, "editorForegroundColor", 2);
1639
+ __decorateClass([
1640
+ n4({ type: Boolean, reflect: true })
1641
+ ], GeogebraApp.prototype, "textmode", 2);
1642
+ __decorateClass([
1643
+ n4({ type: Boolean, reflect: true })
1644
+ ], GeogebraApp.prototype, "showKeyboardOnFocus", 2);
1645
+ __decorateClass([
1646
+ n4({ type: String, reflect: true })
1647
+ ], GeogebraApp.prototype, "keyboardType", 2);
1648
+ __decorateClass([
1649
+ n4({ type: Boolean, reflect: true })
1650
+ ], GeogebraApp.prototype, "transparentGraphics", 2);
1651
+ __decorateClass([
1652
+ n4({ type: Boolean, reflect: true })
1653
+ ], GeogebraApp.prototype, "disabledJavaScript", 2);
1654
+ __decorateClass([
1655
+ n4({ type: String, reflect: true })
1656
+ ], GeogebraApp.prototype, "detachedKeyboardParent", 2);
1657
+
1658
+ // widgets/webwriter-geogebra.ts
1659
+ var WebwriterGeogebra = class extends GeogebraApp {
1660
+ type = "suite";
1661
+ showZoomButtons = true;
1662
+ showFullscreenButton = true;
1663
+ showMenuBar = true;
1664
+ enableFileFeatures = false;
1665
+ enableUndoRedo = false;
1666
+ ggbStyles = i`
1667
+ .button.undo, .button.redo {
1668
+ display: none !important;
1669
+ }
1670
+ `.cssText;
1671
+ };
1672
+ WebwriterGeogebra = __decorateClass([
1673
+ t3("webwriter-geogebra")
1674
+ ], WebwriterGeogebra);
1675
+ export {
1676
+ WebwriterGeogebra
1677
+ };
1678
+ /*! Bundled license information:
1679
+
1680
+ @lit/reactive-element/css-tag.js:
1681
+ (**
1682
+ * @license
1683
+ * Copyright 2019 Google LLC
1684
+ * SPDX-License-Identifier: BSD-3-Clause
1685
+ *)
1686
+
1687
+ @lit/reactive-element/reactive-element.js:
1688
+ (**
1689
+ * @license
1690
+ * Copyright 2017 Google LLC
1691
+ * SPDX-License-Identifier: BSD-3-Clause
1692
+ *)
1693
+
1694
+ lit-html/lit-html.js:
1695
+ (**
1696
+ * @license
1697
+ * Copyright 2017 Google LLC
1698
+ * SPDX-License-Identifier: BSD-3-Clause
1699
+ *)
1700
+
1701
+ lit-element/lit-element.js:
1702
+ (**
1703
+ * @license
1704
+ * Copyright 2017 Google LLC
1705
+ * SPDX-License-Identifier: BSD-3-Clause
1706
+ *)
1707
+
1708
+ lit-html/is-server.js:
1709
+ (**
1710
+ * @license
1711
+ * Copyright 2022 Google LLC
1712
+ * SPDX-License-Identifier: BSD-3-Clause
1713
+ *)
1714
+
1715
+ @lit/reactive-element/decorators/custom-element.js:
1716
+ (**
1717
+ * @license
1718
+ * Copyright 2017 Google LLC
1719
+ * SPDX-License-Identifier: BSD-3-Clause
1720
+ *)
1721
+
1722
+ @lit/reactive-element/decorators/property.js:
1723
+ (**
1724
+ * @license
1725
+ * Copyright 2017 Google LLC
1726
+ * SPDX-License-Identifier: BSD-3-Clause
1727
+ *)
1728
+
1729
+ @lit/reactive-element/decorators/state.js:
1730
+ (**
1731
+ * @license
1732
+ * Copyright 2017 Google LLC
1733
+ * SPDX-License-Identifier: BSD-3-Clause
1734
+ *)
1735
+
1736
+ @lit/reactive-element/decorators/event-options.js:
1737
+ (**
1738
+ * @license
1739
+ * Copyright 2017 Google LLC
1740
+ * SPDX-License-Identifier: BSD-3-Clause
1741
+ *)
1742
+
1743
+ @lit/reactive-element/decorators/base.js:
1744
+ (**
1745
+ * @license
1746
+ * Copyright 2017 Google LLC
1747
+ * SPDX-License-Identifier: BSD-3-Clause
1748
+ *)
1749
+
1750
+ @lit/reactive-element/decorators/query.js:
1751
+ (**
1752
+ * @license
1753
+ * Copyright 2017 Google LLC
1754
+ * SPDX-License-Identifier: BSD-3-Clause
1755
+ *)
1756
+
1757
+ @lit/reactive-element/decorators/query-all.js:
1758
+ (**
1759
+ * @license
1760
+ * Copyright 2017 Google LLC
1761
+ * SPDX-License-Identifier: BSD-3-Clause
1762
+ *)
1763
+
1764
+ @lit/reactive-element/decorators/query-async.js:
1765
+ (**
1766
+ * @license
1767
+ * Copyright 2017 Google LLC
1768
+ * SPDX-License-Identifier: BSD-3-Clause
1769
+ *)
1770
+
1771
+ @lit/reactive-element/decorators/query-assigned-elements.js:
1772
+ (**
1773
+ * @license
1774
+ * Copyright 2021 Google LLC
1775
+ * SPDX-License-Identifier: BSD-3-Clause
1776
+ *)
1777
+
1778
+ @lit/reactive-element/decorators/query-assigned-nodes.js:
1779
+ (**
1780
+ * @license
1781
+ * Copyright 2017 Google LLC
1782
+ * SPDX-License-Identifier: BSD-3-Clause
1783
+ *)
1784
+
1785
+ @webwriter/lit/index.js:
1786
+ (*! Bundled license information:
1787
+
1788
+ @lit/reactive-element/css-tag.js:
1789
+ (**
1790
+ * @license
1791
+ * Copyright 2019 Google LLC
1792
+ * SPDX-License-Identifier: BSD-3-Clause
1793
+ *)
1794
+
1795
+ @lit/reactive-element/reactive-element.js:
1796
+ (**
1797
+ * @license
1798
+ * Copyright 2017 Google LLC
1799
+ * SPDX-License-Identifier: BSD-3-Clause
1800
+ *)
1801
+
1802
+ lit-html/lit-html.js:
1803
+ (**
1804
+ * @license
1805
+ * Copyright 2017 Google LLC
1806
+ * SPDX-License-Identifier: BSD-3-Clause
1807
+ *)
1808
+
1809
+ lit-element/lit-element.js:
1810
+ (**
1811
+ * @license
1812
+ * Copyright 2017 Google LLC
1813
+ * SPDX-License-Identifier: BSD-3-Clause
1814
+ *)
1815
+
1816
+ lit-html/is-server.js:
1817
+ (**
1818
+ * @license
1819
+ * Copyright 2022 Google LLC
1820
+ * SPDX-License-Identifier: BSD-3-Clause
1821
+ *)
1822
+
1823
+ @lit/reactive-element/decorators/custom-element.js:
1824
+ (**
1825
+ * @license
1826
+ * Copyright 2017 Google LLC
1827
+ * SPDX-License-Identifier: BSD-3-Clause
1828
+ *)
1829
+
1830
+ @lit/reactive-element/decorators/property.js:
1831
+ (**
1832
+ * @license
1833
+ * Copyright 2017 Google LLC
1834
+ * SPDX-License-Identifier: BSD-3-Clause
1835
+ *)
1836
+
1837
+ @lit/reactive-element/decorators/state.js:
1838
+ (**
1839
+ * @license
1840
+ * Copyright 2017 Google LLC
1841
+ * SPDX-License-Identifier: BSD-3-Clause
1842
+ *)
1843
+
1844
+ @lit/reactive-element/decorators/event-options.js:
1845
+ (**
1846
+ * @license
1847
+ * Copyright 2017 Google LLC
1848
+ * SPDX-License-Identifier: BSD-3-Clause
1849
+ *)
1850
+
1851
+ @lit/reactive-element/decorators/base.js:
1852
+ (**
1853
+ * @license
1854
+ * Copyright 2017 Google LLC
1855
+ * SPDX-License-Identifier: BSD-3-Clause
1856
+ *)
1857
+
1858
+ @lit/reactive-element/decorators/query.js:
1859
+ (**
1860
+ * @license
1861
+ * Copyright 2017 Google LLC
1862
+ * SPDX-License-Identifier: BSD-3-Clause
1863
+ *)
1864
+
1865
+ @lit/reactive-element/decorators/query-all.js:
1866
+ (**
1867
+ * @license
1868
+ * Copyright 2017 Google LLC
1869
+ * SPDX-License-Identifier: BSD-3-Clause
1870
+ *)
1871
+
1872
+ @lit/reactive-element/decorators/query-async.js:
1873
+ (**
1874
+ * @license
1875
+ * Copyright 2017 Google LLC
1876
+ * SPDX-License-Identifier: BSD-3-Clause
1877
+ *)
1878
+
1879
+ @lit/reactive-element/decorators/query-assigned-elements.js:
1880
+ (**
1881
+ * @license
1882
+ * Copyright 2021 Google LLC
1883
+ * SPDX-License-Identifier: BSD-3-Clause
1884
+ *)
1885
+
1886
+ @lit/reactive-element/decorators/query-assigned-nodes.js:
1887
+ (**
1888
+ * @license
1889
+ * Copyright 2017 Google LLC
1890
+ * SPDX-License-Identifier: BSD-3-Clause
1891
+ *)
1892
+ *)
1893
+ */