@autogames/sdk 1.1.1

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.
Files changed (72) hide show
  1. package/README.md +732 -0
  2. package/dist/PhArrowCircleDown-Db_5u1DC.js +73 -0
  3. package/dist/PhArrowClockwise-D5uNEUen.js +73 -0
  4. package/dist/PhArrowDown-CKkl0Ow8.js +73 -0
  5. package/dist/PhArrowLeft-5Y_-c8ih.js +73 -0
  6. package/dist/PhArrowRight-BAENQRa7.js +73 -0
  7. package/dist/PhArrowSquareOut-DlfAcw2e.js +73 -0
  8. package/dist/PhArrowUp-8KZkS1Bo.js +73 -0
  9. package/dist/PhArrowUpRight-DU3GSwzb.js +73 -0
  10. package/dist/PhArrowsClockwise-CShJ-Teu.js +73 -0
  11. package/dist/PhArrowsDownUp-BL_LzwqW.js +73 -0
  12. package/dist/PhArrowsLeftRight-B8vh7AsL.js +73 -0
  13. package/dist/PhBank-CP_QveNf.js +73 -0
  14. package/dist/PhBrowser-CCSpUQte.js +73 -0
  15. package/dist/PhCaretDown-C4u7yn0j.js +73 -0
  16. package/dist/PhCaretLeft-BSbx9BBc.js +73 -0
  17. package/dist/PhCaretRight-B1CumbxI.js +73 -0
  18. package/dist/PhCaretUp-CqiATiNS.js +73 -0
  19. package/dist/PhCheck-DNkwyplN.js +73 -0
  20. package/dist/PhCircleHalf-D4fgYYPo.js +73 -0
  21. package/dist/PhClock-DkIJeKoF.js +73 -0
  22. package/dist/PhCompass-CwVX0Z1y.js +73 -0
  23. package/dist/PhCopy-C0BiDhpw.js +73 -0
  24. package/dist/PhCreditCard-Bv5P9lrI.js +73 -0
  25. package/dist/PhCurrencyDollar-BCl4tAtz.js +73 -0
  26. package/dist/PhDesktop-DREPgw1q.js +73 -0
  27. package/dist/PhDeviceMobile-CM6lQlUa.js +73 -0
  28. package/dist/PhDotsThree-dmgI5Eht.js +73 -0
  29. package/dist/PhEnvelope-D7EatbfP.js +73 -0
  30. package/dist/PhFunnelSimple-Bs-Zsz_A.js +73 -0
  31. package/dist/PhGlobe-Azwq0DDw.js +73 -0
  32. package/dist/PhIdentificationCard-BZpHUHrg.js +73 -0
  33. package/dist/PhImage-CuSFzxM3.js +73 -0
  34. package/dist/PhInfo-B4SBturW.js +73 -0
  35. package/dist/PhLightbulb-79sWB45x.js +73 -0
  36. package/dist/PhMagnifyingGlass-CojwRGSu.js +73 -0
  37. package/dist/PhPaperPlaneRight-C3krm3eP.js +73 -0
  38. package/dist/PhPlus-DDYz48cV.js +73 -0
  39. package/dist/PhPower-CZWV02MF.js +73 -0
  40. package/dist/PhPuzzlePiece-fazdHBSU.js +73 -0
  41. package/dist/PhQrCode-BbBdb_ct.js +73 -0
  42. package/dist/PhQuestion-B6cc25Dw.js +73 -0
  43. package/dist/PhQuestionMark-TmZ4Sxa8.js +73 -0
  44. package/dist/PhSealCheck-CdKeNk5K.js +73 -0
  45. package/dist/PhSignOut-BBNQiKWI.js +73 -0
  46. package/dist/PhSpinner-BwqRA0He.js +73 -0
  47. package/dist/PhTrash-CXtQYiKu.js +73 -0
  48. package/dist/PhUser-DVV5XCqw.js +73 -0
  49. package/dist/PhVault-B73IPDB0.js +73 -0
  50. package/dist/PhWarning-BEhs8fc4.js +73 -0
  51. package/dist/PhWarningCircle-BA0Qvc1c.js +73 -0
  52. package/dist/PhX-CifUIiFs.js +73 -0
  53. package/dist/autogames-sdk.esm.js +5 -0
  54. package/dist/autogames-sdk.js +5247 -0
  55. package/dist/basic-R2aK52rX.js +4875 -0
  56. package/dist/bridge-mount-Bhf05oeO.js +89817 -0
  57. package/dist/ccip-Bg_nydEz.js +145 -0
  58. package/dist/ccip-CjgrAp_t.js +147 -0
  59. package/dist/core-CnCeDQAm.js +17712 -0
  60. package/dist/features-BrlR4_0m.js +268 -0
  61. package/dist/index-C9RsDt_J.js +8044 -0
  62. package/dist/index-Chq42DrS.js +2010 -0
  63. package/dist/index-HQNbtrlg.js +341 -0
  64. package/dist/index-zA8BVXWW.js +264 -0
  65. package/dist/main-oRLGGL0R.js +2284 -0
  66. package/dist/main.d.ts +342 -0
  67. package/dist/parseSignature-DFDCc7FD.js +131 -0
  68. package/dist/property-DkPmFHg2.js +587 -0
  69. package/dist/secp256k1-UpZfvHa8.js +1347 -0
  70. package/dist/stats-confirm.html +4949 -0
  71. package/dist/w3m-modal-ClvdQLsb.js +2822 -0
  72. package/package.json +48 -0
@@ -0,0 +1,587 @@
1
+ const O = globalThis, j = O.ShadowRoot && (O.ShadyCSS === void 0 || O.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, k = Symbol(), L = /* @__PURE__ */ new WeakMap();
2
+ let nt = class {
3
+ constructor(t, e, s) {
4
+ if (this._$cssResult$ = !0, s !== k) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
5
+ this.cssText = t, this.t = e;
6
+ }
7
+ get styleSheet() {
8
+ let t = this.o;
9
+ const e = this.t;
10
+ if (j && t === void 0) {
11
+ const s = e !== void 0 && e.length === 1;
12
+ s && (t = L.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && L.set(e, t));
13
+ }
14
+ return t;
15
+ }
16
+ toString() {
17
+ return this.cssText;
18
+ }
19
+ };
20
+ const pt = (r) => new nt(typeof r == "string" ? r : r + "", void 0, k), It = (r, ...t) => {
21
+ const e = r.length === 1 ? r[0] : t.reduce((s, i, o) => s + ((n) => {
22
+ if (n._$cssResult$ === !0) return n.cssText;
23
+ if (typeof n == "number") return n;
24
+ throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
25
+ })(i) + r[o + 1], r[0]);
26
+ return new nt(e, r, k);
27
+ }, $t = (r, t) => {
28
+ if (j) r.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
29
+ else for (const e of t) {
30
+ const s = document.createElement("style"), i = O.litNonce;
31
+ i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText, r.appendChild(s);
32
+ }
33
+ }, I = j ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
34
+ let e = "";
35
+ for (const s of t.cssRules) e += s.cssText;
36
+ return pt(e);
37
+ })(r) : r;
38
+ const { is: _t, defineProperty: ft, getOwnPropertyDescriptor: vt, getOwnPropertyNames: At, getOwnPropertySymbols: yt, getPrototypeOf: mt } = Object, m = globalThis, B = m.trustedTypes, gt = B ? B.emptyScript : "", V = m.reactiveElementPolyfillSupport, S = (r, t) => r, T = { toAttribute(r, t) {
39
+ switch (t) {
40
+ case Boolean:
41
+ r = r ? gt : null;
42
+ break;
43
+ case Object:
44
+ case Array:
45
+ r = r == null ? r : JSON.stringify(r);
46
+ }
47
+ return r;
48
+ }, fromAttribute(r, t) {
49
+ let e = r;
50
+ switch (t) {
51
+ case Boolean:
52
+ e = r !== null;
53
+ break;
54
+ case Number:
55
+ e = r === null ? null : Number(r);
56
+ break;
57
+ case Object:
58
+ case Array:
59
+ try {
60
+ e = JSON.parse(r);
61
+ } catch {
62
+ e = null;
63
+ }
64
+ }
65
+ return e;
66
+ } }, z = (r, t) => !_t(r, t), W = { attribute: !0, type: String, converter: T, reflect: !1, hasChanged: z };
67
+ Symbol.metadata != null || (Symbol.metadata = Symbol("metadata")), m.litPropertyMetadata != null || (m.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
68
+ let y = class extends HTMLElement {
69
+ static addInitializer(t) {
70
+ var e;
71
+ this._$Ei(), ((e = this.l) != null ? e : this.l = []).push(t);
72
+ }
73
+ static get observedAttributes() {
74
+ return this.finalize(), this._$Eh && [...this._$Eh.keys()];
75
+ }
76
+ static createProperty(t, e = W) {
77
+ if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
78
+ const s = Symbol(), i = this.getPropertyDescriptor(t, s, e);
79
+ i !== void 0 && ft(this.prototype, t, i);
80
+ }
81
+ }
82
+ static getPropertyDescriptor(t, e, s) {
83
+ var i;
84
+ const { get: o, set: n } = (i = vt(this.prototype, t)) != null ? i : { get() {
85
+ return this[e];
86
+ }, set(l) {
87
+ this[e] = l;
88
+ } };
89
+ return { get() {
90
+ return o?.call(this);
91
+ }, set(l) {
92
+ const a = o?.call(this);
93
+ n.call(this, l), this.requestUpdate(t, a, s);
94
+ }, configurable: !0, enumerable: !0 };
95
+ }
96
+ static getPropertyOptions(t) {
97
+ var e;
98
+ return (e = this.elementProperties.get(t)) != null ? e : W;
99
+ }
100
+ static _$Ei() {
101
+ if (this.hasOwnProperty(S("elementProperties"))) return;
102
+ const t = mt(this);
103
+ t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
104
+ }
105
+ static finalize() {
106
+ if (this.hasOwnProperty(S("finalized"))) return;
107
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(S("properties"))) {
108
+ const e = this.properties, s = [...At(e), ...yt(e)];
109
+ for (const i of s) this.createProperty(i, e[i]);
110
+ }
111
+ const t = this[Symbol.metadata];
112
+ if (t !== null) {
113
+ const e = litPropertyMetadata.get(t);
114
+ if (e !== void 0) for (const [s, i] of e) this.elementProperties.set(s, i);
115
+ }
116
+ this._$Eh = /* @__PURE__ */ new Map();
117
+ for (const [e, s] of this.elementProperties) {
118
+ const i = this._$Eu(e, s);
119
+ i !== void 0 && this._$Eh.set(i, e);
120
+ }
121
+ this.elementStyles = this.finalizeStyles(this.styles);
122
+ }
123
+ static finalizeStyles(t) {
124
+ const e = [];
125
+ if (Array.isArray(t)) {
126
+ const s = new Set(t.flat(1 / 0).reverse());
127
+ for (const i of s) e.unshift(I(i));
128
+ } else t !== void 0 && e.push(I(t));
129
+ return e;
130
+ }
131
+ static _$Eu(t, e) {
132
+ const s = e.attribute;
133
+ return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
134
+ }
135
+ constructor() {
136
+ super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
137
+ }
138
+ _$Ev() {
139
+ var t;
140
+ this._$ES = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), (t = this.constructor.l) == null || t.forEach((e) => e(this));
141
+ }
142
+ addController(t) {
143
+ var e, s;
144
+ ((e = this._$EO) != null ? e : this._$EO = /* @__PURE__ */ new Set()).add(t), this.renderRoot !== void 0 && this.isConnected && ((s = t.hostConnected) == null || s.call(t));
145
+ }
146
+ removeController(t) {
147
+ var e;
148
+ (e = this._$EO) == null || e.delete(t);
149
+ }
150
+ _$E_() {
151
+ const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
152
+ for (const s of e.keys()) this.hasOwnProperty(s) && (t.set(s, this[s]), delete this[s]);
153
+ t.size > 0 && (this._$Ep = t);
154
+ }
155
+ createRenderRoot() {
156
+ var t;
157
+ const e = (t = this.shadowRoot) != null ? t : this.attachShadow(this.constructor.shadowRootOptions);
158
+ return $t(e, this.constructor.elementStyles), e;
159
+ }
160
+ connectedCallback() {
161
+ var t;
162
+ this.renderRoot != null || (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$EO) == null || t.forEach((e) => {
163
+ var s;
164
+ return (s = e.hostConnected) == null ? void 0 : s.call(e);
165
+ });
166
+ }
167
+ enableUpdating(t) {
168
+ }
169
+ disconnectedCallback() {
170
+ var t;
171
+ (t = this._$EO) == null || t.forEach((e) => {
172
+ var s;
173
+ return (s = e.hostDisconnected) == null ? void 0 : s.call(e);
174
+ });
175
+ }
176
+ attributeChangedCallback(t, e, s) {
177
+ this._$AK(t, s);
178
+ }
179
+ _$EC(t, e) {
180
+ var s;
181
+ const i = this.constructor.elementProperties.get(t), o = this.constructor._$Eu(t, i);
182
+ if (o !== void 0 && i.reflect === !0) {
183
+ const n = (((s = i.converter) == null ? void 0 : s.toAttribute) !== void 0 ? i.converter : T).toAttribute(e, i.type);
184
+ this._$Em = t, n == null ? this.removeAttribute(o) : this.setAttribute(o, n), this._$Em = null;
185
+ }
186
+ }
187
+ _$AK(t, e) {
188
+ var s;
189
+ const i = this.constructor, o = i._$Eh.get(t);
190
+ if (o !== void 0 && this._$Em !== o) {
191
+ const n = i.getPropertyOptions(o), l = typeof n.converter == "function" ? { fromAttribute: n.converter } : ((s = n.converter) == null ? void 0 : s.fromAttribute) !== void 0 ? n.converter : T;
192
+ this._$Em = o, this[o] = l.fromAttribute(e, n.type), this._$Em = null;
193
+ }
194
+ }
195
+ requestUpdate(t, e, s) {
196
+ var i;
197
+ if (t !== void 0) {
198
+ if (s != null || (s = this.constructor.getPropertyOptions(t)), !((i = s.hasChanged) != null ? i : z)(this[t], e)) return;
199
+ this.P(t, e, s);
200
+ }
201
+ this.isUpdatePending === !1 && (this._$ES = this._$ET());
202
+ }
203
+ P(t, e, s) {
204
+ var i;
205
+ this._$AL.has(t) || this._$AL.set(t, e), s.reflect === !0 && this._$Em !== t && ((i = this._$Ej) != null ? i : this._$Ej = /* @__PURE__ */ new Set()).add(t);
206
+ }
207
+ async _$ET() {
208
+ this.isUpdatePending = !0;
209
+ try {
210
+ await this._$ES;
211
+ } catch (e) {
212
+ Promise.reject(e);
213
+ }
214
+ const t = this.scheduleUpdate();
215
+ return t != null && await t, !this.isUpdatePending;
216
+ }
217
+ scheduleUpdate() {
218
+ return this.performUpdate();
219
+ }
220
+ performUpdate() {
221
+ var t;
222
+ if (!this.isUpdatePending) return;
223
+ if (!this.hasUpdated) {
224
+ if (this.renderRoot != null || (this.renderRoot = this.createRenderRoot()), this._$Ep) {
225
+ for (const [o, n] of this._$Ep) this[o] = n;
226
+ this._$Ep = void 0;
227
+ }
228
+ const i = this.constructor.elementProperties;
229
+ if (i.size > 0) for (const [o, n] of i) n.wrapped !== !0 || this._$AL.has(o) || this[o] === void 0 || this.P(o, this[o], n);
230
+ }
231
+ let e = !1;
232
+ const s = this._$AL;
233
+ try {
234
+ e = this.shouldUpdate(s), e ? (this.willUpdate(s), (t = this._$EO) == null || t.forEach((i) => {
235
+ var o;
236
+ return (o = i.hostUpdate) == null ? void 0 : o.call(i);
237
+ }), this.update(s)) : this._$EU();
238
+ } catch (i) {
239
+ throw e = !1, this._$EU(), i;
240
+ }
241
+ e && this._$AE(s);
242
+ }
243
+ willUpdate(t) {
244
+ }
245
+ _$AE(t) {
246
+ var e;
247
+ (e = this._$EO) == null || e.forEach((s) => {
248
+ var i;
249
+ return (i = s.hostUpdated) == null ? void 0 : i.call(s);
250
+ }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
251
+ }
252
+ _$EU() {
253
+ this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
254
+ }
255
+ get updateComplete() {
256
+ return this.getUpdateComplete();
257
+ }
258
+ getUpdateComplete() {
259
+ return this._$ES;
260
+ }
261
+ shouldUpdate(t) {
262
+ return !0;
263
+ }
264
+ update(t) {
265
+ this._$Ej && (this._$Ej = this._$Ej.forEach((e) => this._$EC(e, this[e]))), this._$EU();
266
+ }
267
+ updated(t) {
268
+ }
269
+ firstUpdated(t) {
270
+ }
271
+ };
272
+ var q;
273
+ y.elementStyles = [], y.shadowRootOptions = { mode: "open" }, y[S("elementProperties")] = /* @__PURE__ */ new Map(), y[S("finalized")] = /* @__PURE__ */ new Map(), V?.({ ReactiveElement: y }), ((q = m.reactiveElementVersions) != null ? q : m.reactiveElementVersions = []).push("2.0.4");
274
+ const H = globalThis, M = H.trustedTypes, J = M ? M.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, ot = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, lt = "?" + _, bt = `<${lt}>`, A = document, w = () => A.createComment(""), P = (r) => r === null || typeof r != "object" && typeof r != "function", at = Array.isArray, Et = (r) => at(r) || typeof r?.[Symbol.iterator] == "function", R = `[
275
+ \f\r]`, E = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, K = /-->/g, Z = />/g, f = RegExp(`>|${R}(?:([^\\s"'>=/]+)(${R}*=${R}*(?:[^
276
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), F = /'/g, G = /"/g, ht = /^(?:script|style|textarea|title)$/i, ct = (r) => (t, ...e) => ({ _$litType$: r, strings: t, values: e }), Vt = ct(1), Wt = ct(2), g = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), Q = /* @__PURE__ */ new WeakMap(), v = A.createTreeWalker(A, 129);
277
+ function ut(r, t) {
278
+ if (!Array.isArray(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
279
+ return J !== void 0 ? J.createHTML(t) : t;
280
+ }
281
+ const St = (r, t) => {
282
+ const e = r.length - 1, s = [];
283
+ let i, o = t === 2 ? "<svg>" : "", n = E;
284
+ for (let l = 0; l < e; l++) {
285
+ const a = r[l];
286
+ let h, u, c = -1, p = 0;
287
+ for (; p < a.length && (n.lastIndex = p, u = n.exec(a), u !== null); ) p = n.lastIndex, n === E ? u[1] === "!--" ? n = K : u[1] !== void 0 ? n = Z : u[2] !== void 0 ? (ht.test(u[2]) && (i = RegExp("</" + u[2], "g")), n = f) : u[3] !== void 0 && (n = f) : n === f ? u[0] === ">" ? (n = i ?? E, c = -1) : u[1] === void 0 ? c = -2 : (c = n.lastIndex - u[2].length, h = u[1], n = u[3] === void 0 ? f : u[3] === '"' ? G : F) : n === G || n === F ? n = f : n === K || n === Z ? n = E : (n = f, i = void 0);
288
+ const $ = n === f && r[l + 1].startsWith("/>") ? " " : "";
289
+ o += n === E ? a + bt : c >= 0 ? (s.push(h), a.slice(0, c) + ot + a.slice(c) + _ + $) : a + _ + (c === -2 ? l : $);
290
+ }
291
+ return [ut(r, o + (r[e] || "<?>") + (t === 2 ? "</svg>" : "")), s];
292
+ };
293
+ class C {
294
+ constructor({ strings: t, _$litType$: e }, s) {
295
+ let i;
296
+ this.parts = [];
297
+ let o = 0, n = 0;
298
+ const l = t.length - 1, a = this.parts, [h, u] = St(t, e);
299
+ if (this.el = C.createElement(h, s), v.currentNode = this.el.content, e === 2) {
300
+ const c = this.el.content.firstChild;
301
+ c.replaceWith(...c.childNodes);
302
+ }
303
+ for (; (i = v.nextNode()) !== null && a.length < l; ) {
304
+ if (i.nodeType === 1) {
305
+ if (i.hasAttributes()) for (const c of i.getAttributeNames()) if (c.endsWith(ot)) {
306
+ const p = u[n++], $ = i.getAttribute(c).split(_), U = /([.?@])?(.*)/.exec(p);
307
+ a.push({ type: 1, index: o, name: U[2], strings: $, ctor: U[1] === "." ? Pt : U[1] === "?" ? Ct : U[1] === "@" ? Ut : N }), i.removeAttribute(c);
308
+ } else c.startsWith(_) && (a.push({ type: 6, index: o }), i.removeAttribute(c));
309
+ if (ht.test(i.tagName)) {
310
+ const c = i.textContent.split(_), p = c.length - 1;
311
+ if (p > 0) {
312
+ i.textContent = M ? M.emptyScript : "";
313
+ for (let $ = 0; $ < p; $++) i.append(c[$], w()), v.nextNode(), a.push({ type: 2, index: ++o });
314
+ i.append(c[p], w());
315
+ }
316
+ }
317
+ } else if (i.nodeType === 8) if (i.data === lt) a.push({ type: 2, index: o });
318
+ else {
319
+ let c = -1;
320
+ for (; (c = i.data.indexOf(_, c + 1)) !== -1; ) a.push({ type: 7, index: o }), c += _.length - 1;
321
+ }
322
+ o++;
323
+ }
324
+ }
325
+ static createElement(t, e) {
326
+ const s = A.createElement("template");
327
+ return s.innerHTML = t, s;
328
+ }
329
+ }
330
+ function b(r, t, e = r, s) {
331
+ var i, o, n;
332
+ if (t === g) return t;
333
+ let l = s !== void 0 ? (i = e._$Co) == null ? void 0 : i[s] : e._$Cl;
334
+ const a = P(t) ? void 0 : t._$litDirective$;
335
+ return l?.constructor !== a && ((o = l?._$AO) == null || o.call(l, !1), a === void 0 ? l = void 0 : (l = new a(r), l._$AT(r, e, s)), s !== void 0 ? ((n = e._$Co) != null ? n : e._$Co = [])[s] = l : e._$Cl = l), l !== void 0 && (t = b(r, l._$AS(r, t.values), l, s)), t;
336
+ }
337
+ class wt {
338
+ constructor(t, e) {
339
+ this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
340
+ }
341
+ get parentNode() {
342
+ return this._$AM.parentNode;
343
+ }
344
+ get _$AU() {
345
+ return this._$AM._$AU;
346
+ }
347
+ u(t) {
348
+ var e;
349
+ const { el: { content: s }, parts: i } = this._$AD, o = ((e = t?.creationScope) != null ? e : A).importNode(s, !0);
350
+ v.currentNode = o;
351
+ let n = v.nextNode(), l = 0, a = 0, h = i[0];
352
+ for (; h !== void 0; ) {
353
+ if (l === h.index) {
354
+ let u;
355
+ h.type === 2 ? u = new D(n, n.nextSibling, this, t) : h.type === 1 ? u = new h.ctor(n, h.name, h.strings, this, t) : h.type === 6 && (u = new Ot(n, this, t)), this._$AV.push(u), h = i[++a];
356
+ }
357
+ l !== h?.index && (n = v.nextNode(), l++);
358
+ }
359
+ return v.currentNode = A, o;
360
+ }
361
+ p(t) {
362
+ let e = 0;
363
+ for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
364
+ }
365
+ }
366
+ let D = class dt {
367
+ get _$AU() {
368
+ var t, e;
369
+ return (e = (t = this._$AM) == null ? void 0 : t._$AU) != null ? e : this._$Cv;
370
+ }
371
+ constructor(t, e, s, i) {
372
+ var o;
373
+ this.type = 2, this._$AH = d, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = i, this._$Cv = (o = i?.isConnected) != null ? o : !0;
374
+ }
375
+ get parentNode() {
376
+ let t = this._$AA.parentNode;
377
+ const e = this._$AM;
378
+ return e !== void 0 && t?.nodeType === 11 && (t = e.parentNode), t;
379
+ }
380
+ get startNode() {
381
+ return this._$AA;
382
+ }
383
+ get endNode() {
384
+ return this._$AB;
385
+ }
386
+ _$AI(t, e = this) {
387
+ t = b(this, t, e), P(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== g && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Et(t) ? this.k(t) : this._(t);
388
+ }
389
+ S(t) {
390
+ return this._$AA.parentNode.insertBefore(t, this._$AB);
391
+ }
392
+ T(t) {
393
+ this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
394
+ }
395
+ _(t) {
396
+ this._$AH !== d && P(this._$AH) ? this._$AA.nextSibling.data = t : this.T(A.createTextNode(t)), this._$AH = t;
397
+ }
398
+ $(t) {
399
+ var e;
400
+ const { values: s, _$litType$: i } = t, o = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = C.createElement(ut(i.h, i.h[0]), this.options)), i);
401
+ if (((e = this._$AH) == null ? void 0 : e._$AD) === o) this._$AH.p(s);
402
+ else {
403
+ const n = new wt(o, this), l = n.u(this.options);
404
+ n.p(s), this.T(l), this._$AH = n;
405
+ }
406
+ }
407
+ _$AC(t) {
408
+ let e = Q.get(t.strings);
409
+ return e === void 0 && Q.set(t.strings, e = new C(t)), e;
410
+ }
411
+ k(t) {
412
+ at(this._$AH) || (this._$AH = [], this._$AR());
413
+ const e = this._$AH;
414
+ let s, i = 0;
415
+ for (const o of t) i === e.length ? e.push(s = new dt(this.S(w()), this.S(w()), this, this.options)) : s = e[i], s._$AI(o), i++;
416
+ i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
417
+ }
418
+ _$AR(t = this._$AA.nextSibling, e) {
419
+ var s;
420
+ for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, e); t && t !== this._$AB; ) {
421
+ const i = t.nextSibling;
422
+ t.remove(), t = i;
423
+ }
424
+ }
425
+ setConnected(t) {
426
+ var e;
427
+ this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
428
+ }
429
+ }, N = class {
430
+ get tagName() {
431
+ return this.element.tagName;
432
+ }
433
+ get _$AU() {
434
+ return this._$AM._$AU;
435
+ }
436
+ constructor(t, e, s, i, o) {
437
+ this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = o, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = d;
438
+ }
439
+ _$AI(t, e = this, s, i) {
440
+ const o = this.strings;
441
+ let n = !1;
442
+ if (o === void 0) t = b(this, t, e, 0), n = !P(t) || t !== this._$AH && t !== g, n && (this._$AH = t);
443
+ else {
444
+ const l = t;
445
+ let a, h;
446
+ for (t = o[0], a = 0; a < o.length - 1; a++) h = b(this, l[s + a], e, a), h === g && (h = this._$AH[a]), n || (n = !P(h) || h !== this._$AH[a]), h === d ? t = d : t !== d && (t += (h ?? "") + o[a + 1]), this._$AH[a] = h;
447
+ }
448
+ n && !i && this.j(t);
449
+ }
450
+ j(t) {
451
+ t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
452
+ }
453
+ };
454
+ class Pt extends N {
455
+ constructor() {
456
+ super(...arguments), this.type = 3;
457
+ }
458
+ j(t) {
459
+ this.element[this.name] = t === d ? void 0 : t;
460
+ }
461
+ }
462
+ class Ct extends N {
463
+ constructor() {
464
+ super(...arguments), this.type = 4;
465
+ }
466
+ j(t) {
467
+ this.element.toggleAttribute(this.name, !!t && t !== d);
468
+ }
469
+ }
470
+ class Ut extends N {
471
+ constructor(t, e, s, i, o) {
472
+ super(t, e, s, i, o), this.type = 5;
473
+ }
474
+ _$AI(t, e = this) {
475
+ var s;
476
+ if ((t = (s = b(this, t, e, 0)) != null ? s : d) === g) return;
477
+ const i = this._$AH, o = t === d && i !== d || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, n = t !== d && (i === d || o);
478
+ o && this.element.removeEventListener(this.name, this, i), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
479
+ }
480
+ handleEvent(t) {
481
+ var e, s;
482
+ typeof this._$AH == "function" ? this._$AH.call((s = (e = this.options) == null ? void 0 : e.host) != null ? s : this.element, t) : this._$AH.handleEvent(t);
483
+ }
484
+ }
485
+ class Ot {
486
+ constructor(t, e, s) {
487
+ this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
488
+ }
489
+ get _$AU() {
490
+ return this._$AM._$AU;
491
+ }
492
+ _$AI(t) {
493
+ b(this, t);
494
+ }
495
+ }
496
+ const X = H.litHtmlPolyfillSupport;
497
+ var Y;
498
+ X?.(C, D), ((Y = H.litHtmlVersions) != null ? Y : H.litHtmlVersions = []).push("3.1.4");
499
+ const xt = (r, t, e) => {
500
+ var s, i;
501
+ const o = (s = e?.renderBefore) != null ? s : t;
502
+ let n = o._$litPart$;
503
+ if (n === void 0) {
504
+ const l = (i = e?.renderBefore) != null ? i : null;
505
+ o._$litPart$ = n = new D(t.insertBefore(w(), l), l, void 0, e ?? {});
506
+ }
507
+ return n._$AI(r), n;
508
+ };
509
+ let x = class extends y {
510
+ constructor() {
511
+ super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
512
+ }
513
+ createRenderRoot() {
514
+ var t;
515
+ const e = super.createRenderRoot();
516
+ return (t = this.renderOptions).renderBefore != null || (t.renderBefore = e.firstChild), e;
517
+ }
518
+ update(t) {
519
+ const e = this.render();
520
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = xt(e, this.renderRoot, this.renderOptions);
521
+ }
522
+ connectedCallback() {
523
+ var t;
524
+ super.connectedCallback(), (t = this._$Do) == null || t.setConnected(!0);
525
+ }
526
+ disconnectedCallback() {
527
+ var t;
528
+ super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
529
+ }
530
+ render() {
531
+ return g;
532
+ }
533
+ };
534
+ var tt;
535
+ x._$litElement$ = !0, x.finalized = !0, (tt = globalThis.litElementHydrateSupport) == null || tt.call(globalThis, { LitElement: x });
536
+ const et = globalThis.litElementPolyfillSupport;
537
+ et?.({ LitElement: x });
538
+ var st;
539
+ ((st = globalThis.litElementVersions) != null ? st : globalThis.litElementVersions = []).push("4.0.6");
540
+ const Kt = (r) => (t, e) => {
541
+ e !== void 0 ? e.addInitializer(() => {
542
+ customElements.define(r, t);
543
+ }) : customElements.define(r, t);
544
+ };
545
+ var Tt = Object.defineProperty, Ht = Object.defineProperties, Mt = Object.getOwnPropertyDescriptors, it = Object.getOwnPropertySymbols, Nt = Object.prototype.hasOwnProperty, Rt = Object.prototype.propertyIsEnumerable, rt = (r, t, e) => t in r ? Tt(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e, jt = (r, t) => {
546
+ for (var e in t || (t = {}))
547
+ Nt.call(t, e) && rt(r, e, t[e]);
548
+ if (it)
549
+ for (var e of it(t))
550
+ Rt.call(t, e) && rt(r, e, t[e]);
551
+ return r;
552
+ }, kt = (r, t) => Ht(r, Mt(t));
553
+ const zt = { attribute: !0, type: String, converter: T, reflect: !1, hasChanged: z }, Dt = (r = zt, t, e) => {
554
+ const { kind: s, metadata: i } = e;
555
+ let o = globalThis.litPropertyMetadata.get(i);
556
+ if (o === void 0 && globalThis.litPropertyMetadata.set(i, o = /* @__PURE__ */ new Map()), o.set(e.name, r), s === "accessor") {
557
+ const { name: n } = e;
558
+ return { set(l) {
559
+ const a = t.get.call(this);
560
+ t.set.call(this, l), this.requestUpdate(n, a, r);
561
+ }, init(l) {
562
+ return l !== void 0 && this.P(n, void 0, r), l;
563
+ } };
564
+ }
565
+ if (s === "setter") {
566
+ const { name: n } = e;
567
+ return function(l) {
568
+ const a = this[n];
569
+ t.call(this, l), this.requestUpdate(n, a, r);
570
+ };
571
+ }
572
+ throw Error("Unsupported decorator location: " + s);
573
+ };
574
+ function Zt(r) {
575
+ return (t, e) => typeof e == "object" ? Dt(r, t, e) : ((s, i, o) => {
576
+ const n = i.hasOwnProperty(o);
577
+ return i.constructor.createProperty(o, n ? kt(jt({}, s), { wrapped: !0 }) : s), n ? Object.getOwnPropertyDescriptor(i, o) : void 0;
578
+ })(r, t, e);
579
+ }
580
+ export {
581
+ Zt as O,
582
+ Vt as Y,
583
+ x as n,
584
+ It as p,
585
+ Kt as s,
586
+ Wt as t
587
+ };