@everymatrix/casino-last-played-section 1.61.1 → 1.62.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 (56) hide show
  1. package/components/{CasinoFilter-Cly4JoGf.js → CasinoFilter-BaHdkFc-.js} +1159 -1032
  2. package/components/CasinoFilter-BmGWsU7J.cjs +18 -0
  3. package/components/{CasinoFilter-Ci7a-f1T.js → CasinoFilter-zzTGuKnt.js} +1156 -1029
  4. package/components/CasinoGameThumbnail-CQi4CL1F.js +4375 -0
  5. package/components/CasinoGameThumbnail-CTGFT2dX.cjs +47 -0
  6. package/components/CasinoGameThumbnail-CryQml11.js +4359 -0
  7. package/components/{CasinoGamesCategorySection-D1m7vSTg.js → CasinoGamesCategorySection-De5SvQzA.js} +1107 -1094
  8. package/components/CasinoGamesCategorySection-Dqx27JNf.cjs +1 -0
  9. package/components/{CasinoGamesCategorySection-W8r3v1IL.js → CasinoGamesCategorySection-Odpp_iey.js} +738 -724
  10. package/components/{CasinoLastPlayedSection-COofH38d.js → CasinoLastPlayedSection-DxDOXIvL.js} +9 -9
  11. package/components/{CasinoLastPlayedSection-Ca69J8mm.cjs → CasinoLastPlayedSection-E8RmRItt.cjs} +1 -1
  12. package/components/{CasinoLastPlayedSection-pKFWKcNL.js → CasinoLastPlayedSection-ceiSU0Eu.js} +19 -19
  13. package/components/{CasinoSort-CMgXH1Wc.js → CasinoSort-BTwDwT8n.js} +20 -20
  14. package/components/{CasinoSort-CBlvt30N.js → CasinoSort-BqED6YEv.js} +20 -20
  15. package/components/{CasinoSort-CIIHBeHM.cjs → CasinoSort-Ci8TaT8M.cjs} +1 -1
  16. package/es2015/casino-last-played-section.cjs +1 -1
  17. package/es2015/casino-last-played-section.js +1 -1
  18. package/esnext/casino-last-played-section.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
  21. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  22. package/stencil/index-97d17652-CCalHFFZ.js +558 -0
  23. package/stencil/index-97d17652-CeszPuI-.cjs +1 -0
  24. package/stencil/index-97d17652-De_e2iwD.js +542 -0
  25. package/stencil/ui-image-3911756b-B-U8CxGn.cjs +1 -0
  26. package/stencil/ui-image-3911756b-C-PJ3oso.js +39 -0
  27. package/stencil/ui-image-3911756b-D1cmuQAe.js +39 -0
  28. package/stencil/ui-image-CxLeLi3r.cjs +1 -0
  29. package/stencil/ui-image-D12cpp7q.js +25 -0
  30. package/stencil/ui-image-jU_A8Cc1.js +7 -0
  31. package/stencil/ui-image_2-8wL-gGdE.cjs +73 -0
  32. package/stencil/{ui-skeleton-6d1c12ae-CKWpp1By.js → ui-image_2-BcBI-Hq7.js} +7 -5
  33. package/stencil/{ui-skeleton-6d1c12ae-Cy_R_9Cz.js → ui-image_2-CIsvIZfV.js} +7 -5
  34. package/components/CasinoFilter-C_SogR0R.cjs +0 -18
  35. package/components/CasinoGameThumbnail-CIM-1O-X.js +0 -3607
  36. package/components/CasinoGameThumbnail-D4iTX4um.js +0 -3591
  37. package/components/CasinoGameThumbnail-WTBmzrpR.cjs +0 -39
  38. package/components/CasinoGamesCategorySection-CWmY-M2p.cjs +0 -1
  39. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
  40. package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +0 -7
  41. package/stencil/index-b2193545-B5BzVbnP.cjs +0 -1
  42. package/stencil/index-b2193545-BranxwW4.js +0 -519
  43. package/stencil/index-b2193545-D-GB6w--.js +0 -503
  44. package/stencil/index-b7bbd57e-CQ75dRCG.js +0 -550
  45. package/stencil/index-b7bbd57e-Cacu08c5.js +0 -534
  46. package/stencil/index-b7bbd57e-DF6DA3M_.cjs +0 -1
  47. package/stencil/ui-image-38c3c15f-D8q8WO62.js +0 -39
  48. package/stencil/ui-image-38c3c15f-DHu3p_Um.cjs +0 -1
  49. package/stencil/ui-image-38c3c15f-DNKzX83k.js +0 -39
  50. package/stencil/ui-image-BWdEHrqs.js +0 -11
  51. package/stencil/ui-image-Cq69wjLL.js +0 -29
  52. package/stencil/ui-image-hWt-DWaG.cjs +0 -1
  53. package/stencil/ui-skeleton-6d1c12ae-DXSQpIKe.cjs +0 -73
  54. package/stencil/ui-skeleton-BMWABShx.js +0 -29
  55. package/stencil/ui-skeleton-CkUGY95J.js +0 -11
  56. package/stencil/ui-skeleton-DXc0L06e.cjs +0 -1
@@ -1,503 +0,0 @@
1
- const ie = "ui-skeleton", oe = (
2
- /* ui-skeleton */
3
- { hydratedSelectorName: "hydrated" }
4
- );
5
- var $e = Object.defineProperty, ce = (e, t) => {
6
- for (var r in t)
7
- $e(e, r, { get: t[r], enumerable: !0 });
8
- }, N = /* @__PURE__ */ new WeakMap(), b = (e) => N.get(e), Je = (e, t) => N.set(t.$lazyInstance$ = e, t), ue = (e, t) => {
9
- const r = {
10
- $flags$: 0,
11
- $hostElement$: e,
12
- $cmpMeta$: t,
13
- $instanceValues$: /* @__PURE__ */ new Map()
14
- };
15
- return r.$onReadyPromise$ = new Promise((s) => r.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], N.set(e, r);
16
- }, E = (e, t) => (0, console.error)(e, t), L = /* @__PURE__ */ new Map(), fe = (e, t, r) => {
17
- const s = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
18
- if (!n)
19
- return;
20
- const a = L.get(n);
21
- if (a)
22
- return a[s];
23
- {
24
- const l = (i) => (L.set(n, i), i[s]);
25
- switch (n) {
26
- case "ui-skeleton":
27
- return import(
28
- /* webpackMode: "lazy" */
29
- "./ui-skeleton-CkUGY95J.js"
30
- ).then(l, E);
31
- }
32
- }
33
- return import(
34
- /* @vite-ignore */
35
- /* webpackInclude: /\.entry\.js$/ */
36
- /* webpackExclude: /\.system\.entry\.js$/ */
37
- /* webpackMode: "lazy" */
38
- `./${n}.entry.js`
39
- ).then((l) => (L.set(n, l), l[s]), E);
40
- }, T = /* @__PURE__ */ new Map(), de = "{visibility:hidden}.hydrated{visibility:inherit}", G = "slot-fb{display:contents}slot-fb[hidden]{display:none}", U = typeof window < "u" ? window : {}, y = U.document || { head: {} }, g = {
41
- $flags$: 0,
42
- $resourcesUrl$: "",
43
- jmp: (e) => e(),
44
- raf: (e) => requestAnimationFrame(e),
45
- ael: (e, t, r, s) => e.addEventListener(t, r, s),
46
- rel: (e, t, r, s) => e.removeEventListener(t, r, s),
47
- ce: (e, t) => new CustomEvent(e, t)
48
- }, me = (e) => Promise.resolve(e), ve = /* @__PURE__ */ (() => {
49
- try {
50
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
51
- } catch {
52
- }
53
- return !1;
54
- })(), O = !1, q = [], J = [], ge = (e, t) => (r) => {
55
- e.push(r), O || (O = !0, g.$flags$ & 4 ? B(A) : g.raf(A));
56
- }, C = (e) => {
57
- for (let t = 0; t < e.length; t++)
58
- try {
59
- e[t](performance.now());
60
- } catch (r) {
61
- E(r);
62
- }
63
- e.length = 0;
64
- }, A = () => {
65
- C(q), C(J), (O = q.length > 0) && g.raf(A);
66
- }, B = (e) => me().then(e), he = /* @__PURE__ */ ge(J), D = {}, K = (e) => (e = typeof e, e === "object" || e === "function");
67
- function Q(e) {
68
- var t, r, s;
69
- return (s = (r = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : r.getAttribute("content")) != null ? s : void 0;
70
- }
71
- var pe = {};
72
- ce(pe, {
73
- err: () => X,
74
- map: () => ye,
75
- ok: () => H,
76
- unwrap: () => Se,
77
- unwrapErr: () => be
78
- });
79
- var H = (e) => ({
80
- isOk: !0,
81
- isErr: !1,
82
- value: e
83
- }), X = (e) => ({
84
- isOk: !1,
85
- isErr: !0,
86
- value: e
87
- });
88
- function ye(e, t) {
89
- if (e.isOk) {
90
- const r = t(e.value);
91
- return r instanceof Promise ? r.then((s) => H(s)) : H(r);
92
- }
93
- if (e.isErr) {
94
- const r = e.value;
95
- return X(r);
96
- }
97
- throw "should never get here";
98
- }
99
- var Se = (e) => {
100
- if (e.isOk)
101
- return e.value;
102
- throw e.value;
103
- }, be = (e) => {
104
- if (e.isErr)
105
- return e.value;
106
- throw e.value;
107
- }, S = (e, t = "") => () => {
108
- }, ke = (e, t) => () => {
109
- }, Ee = (e, t, ...r) => {
110
- let s = null, n = null, a = !1, l = !1;
111
- const i = [], o = (c) => {
112
- for (let u = 0; u < c.length; u++)
113
- s = c[u], Array.isArray(s) ? o(s) : s != null && typeof s != "boolean" && ((a = typeof e != "function" && !K(s)) && (s = String(s)), a && l ? i[i.length - 1].$text$ += s : i.push(a ? I(null, s) : s), l = a);
114
- };
115
- if (o(r), t) {
116
- t.key && (n = t.key);
117
- {
118
- const c = t.className || t.class;
119
- c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((u) => c[u]).join(" "));
120
- }
121
- }
122
- const $ = I(e, null);
123
- return $.$attrs$ = t, i.length > 0 && ($.$children$ = i), $.$key$ = n, $;
124
- }, I = (e, t) => {
125
- const r = {
126
- $flags$: 0,
127
- $tag$: e,
128
- $text$: t,
129
- $elm$: null,
130
- $children$: null
131
- };
132
- return r.$attrs$ = null, r.$key$ = null, r;
133
- }, we = {}, xe = (e) => e && e.$tag$ === we, Pe = (e, t) => e != null && !K(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Te = (e, t, r) => {
134
- const s = g.ce(t, r);
135
- return e.dispatchEvent(s), s;
136
- }, F = /* @__PURE__ */ new WeakMap(), _e = (e, t, r) => {
137
- let s = T.get(e);
138
- ve && r ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, T.set(e, s);
139
- }, je = (e, t, r) => {
140
- var s;
141
- const n = Z(t), a = T.get(n);
142
- if (e = e.nodeType === 11 ? e : y, a)
143
- if (typeof a == "string") {
144
- e = e.head || e;
145
- let l = F.get(e), i;
146
- if (l || F.set(e, l = /* @__PURE__ */ new Set()), !l.has(n)) {
147
- {
148
- i = y.createElement("style"), i.innerHTML = a;
149
- const o = (s = g.$nonce$) != null ? s : Q(y);
150
- o != null && i.setAttribute("nonce", o), e.insertBefore(i, e.querySelector("link"));
151
- }
152
- t.$flags$ & 4 && (i.innerHTML += G), l && l.add(n);
153
- }
154
- } else
155
- e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
156
- return n;
157
- }, Le = (e) => {
158
- const t = e.$cmpMeta$, r = e.$hostElement$, s = S("attachStyles", t.$tagName$);
159
- je(
160
- r.getRootNode(),
161
- t
162
- ), s();
163
- }, Z = (e, t) => "sc-" + e.$tagName$, M = (e, t, r, s, n, a) => {
164
- if (r !== s && (t.toLowerCase(), t === "class")) {
165
- const l = e.classList, i = W(r), o = W(s);
166
- l.remove(...i.filter(($) => $ && !o.includes($))), l.add(...o.filter(($) => $ && !i.includes($)));
167
- }
168
- }, Oe = /\s/, W = (e) => e ? e.split(Oe) : [], R = (e, t, r) => {
169
- const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || D, a = t.$attrs$ || D;
170
- for (const l of Y(Object.keys(n)))
171
- l in a || M(s, l, n[l], void 0);
172
- for (const l of Y(Object.keys(a)))
173
- M(s, l, n[l], a[l]);
174
- };
175
- function Y(e) {
176
- return e.includes("ref") ? (
177
- // we need to sort these to ensure that `'ref'` is the last attr
178
- [...e.filter((t) => t !== "ref"), "ref"]
179
- ) : (
180
- // no need to sort, return the original array
181
- e
182
- );
183
- }
184
- var V, _ = (e, t, r, s) => {
185
- const n = t.$children$[r];
186
- let a = 0, l, i;
187
- if (n.$text$ !== null)
188
- l = n.$elm$ = y.createTextNode(n.$text$);
189
- else if (l = n.$elm$ = y.createElement(
190
- n.$tag$
191
- ), R(null, n), n.$children$)
192
- for (a = 0; a < n.$children$.length; ++a)
193
- i = _(e, n, a), i && l.appendChild(i);
194
- return l["s-hn"] = V, l;
195
- }, ee = (e, t, r, s, n, a) => {
196
- let l = e, i;
197
- for (; n <= a; ++n)
198
- s[n] && (i = _(null, r, n), i && (s[n].$elm$ = i, P(l, i, t)));
199
- }, te = (e, t, r) => {
200
- for (let s = t; s <= r; ++s) {
201
- const n = e[s];
202
- if (n) {
203
- const a = n.$elm$;
204
- a && a.remove();
205
- }
206
- }
207
- }, Ae = (e, t, r, s, n = !1) => {
208
- let a = 0, l = 0, i = 0, o = 0, $ = t.length - 1, c = t[0], u = t[$], f = s.length - 1, d = s[0], m = s[f], v, h;
209
- for (; a <= $ && l <= f; )
210
- if (c == null)
211
- c = t[++a];
212
- else if (u == null)
213
- u = t[--$];
214
- else if (d == null)
215
- d = s[++l];
216
- else if (m == null)
217
- m = s[--f];
218
- else if (x(c, d, n))
219
- k(c, d, n), c = t[++a], d = s[++l];
220
- else if (x(u, m, n))
221
- k(u, m, n), u = t[--$], m = s[--f];
222
- else if (x(c, m, n))
223
- k(c, m, n), P(e, c.$elm$, u.$elm$.nextSibling), c = t[++a], m = s[--f];
224
- else if (x(u, d, n))
225
- k(u, d, n), P(e, u.$elm$, c.$elm$), u = t[--$], d = s[++l];
226
- else {
227
- for (i = -1, o = a; o <= $; ++o)
228
- if (t[o] && t[o].$key$ !== null && t[o].$key$ === d.$key$) {
229
- i = o;
230
- break;
231
- }
232
- i >= 0 ? (h = t[i], h.$tag$ !== d.$tag$ ? v = _(t && t[l], r, i) : (k(h, d, n), t[i] = void 0, v = h.$elm$), d = s[++l]) : (v = _(t && t[l], r, l), d = s[++l]), v && P(c.$elm$.parentNode, v, c.$elm$);
233
- }
234
- a > $ ? ee(
235
- e,
236
- s[f + 1] == null ? null : s[f + 1].$elm$,
237
- r,
238
- s,
239
- l,
240
- f
241
- ) : l > f && te(t, a, $);
242
- }, x = (e, t, r = !1) => e.$tag$ === t.$tag$ ? r ? !0 : e.$key$ === t.$key$ : !1, k = (e, t, r = !1) => {
243
- const s = t.$elm$ = e.$elm$, n = e.$children$, a = t.$children$, l = t.$text$;
244
- l === null ? (R(e, t), n !== null && a !== null ? Ae(s, n, t, a, r) : a !== null ? (e.$text$ !== null && (s.textContent = ""), ee(s, null, t, a, 0, a.length - 1)) : n !== null && te(n, 0, n.length - 1)) : e.$text$ !== l && (s.data = l);
245
- }, P = (e, t, r) => e?.insertBefore(t, r), He = (e, t, r = !1) => {
246
- const s = e.$hostElement$, n = e.$vnode$ || I(null, null), a = xe(t) ? t : Ee(null, null, t);
247
- if (V = s.tagName, r && a.$attrs$)
248
- for (const l of Object.keys(a.$attrs$))
249
- s.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = s[l]);
250
- a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = n.$elm$ = s, k(n, a, r);
251
- }, ne = (e, t) => {
252
- t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((r) => e.$onRenderResolve$ = r));
253
- }, z = (e, t) => {
254
- if (e.$flags$ |= 16, e.$flags$ & 4) {
255
- e.$flags$ |= 512;
256
- return;
257
- }
258
- return ne(e, e.$ancestorComponent$), he(() => Ie(e, t));
259
- }, Ie = (e, t) => {
260
- const r = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
261
- if (!n)
262
- throw new Error(
263
- `Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
264
- );
265
- let a;
266
- return s(), Ne(a, () => Be(e, n, t));
267
- }, Ne = (e, t) => Ue(e) ? e.then(t).catch((r) => {
268
- console.error(r), t();
269
- }) : t(), Ue = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Be = async (e, t, r) => {
270
- var s;
271
- const n = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = n["s-rc"];
272
- r && Le(e);
273
- const i = S("render", e.$cmpMeta$.$tagName$);
274
- ze(e, t, n, r), l && (l.map((o) => o()), n["s-rc"] = void 0), i(), a();
275
- {
276
- const o = (s = n["s-p"]) != null ? s : [], $ = () => qe(e);
277
- o.length === 0 ? $() : (Promise.all(o).then($), e.$flags$ |= 4, o.length = 0);
278
- }
279
- }, ze = (e, t, r, s) => {
280
- try {
281
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, He(e, t, s);
282
- } catch (n) {
283
- E(n, e.$hostElement$);
284
- }
285
- return null;
286
- }, qe = (e) => {
287
- const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, s = S("postUpdate", t), n = e.$ancestorComponent$;
288
- e.$flags$ & 64 ? s() : (e.$flags$ |= 64, re(r), s(), e.$onReadyResolve$(r), n || se()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && B(() => z(e, !1)), e.$flags$ &= -517;
289
- }, se = (e) => {
290
- re(y.documentElement), B(() => Te(U, "appload", { detail: { namespace: ie } }));
291
- }, re = (e) => {
292
- var t;
293
- return e.classList.add((t = oe.hydratedSelectorName) != null ? t : "hydrated");
294
- }, Ce = (e, t) => b(e).$instanceValues$.get(t), De = (e, t, r, s) => {
295
- const n = b(e);
296
- if (!n)
297
- throw new Error(
298
- `Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
299
- );
300
- const a = n.$hostElement$, l = n.$instanceValues$.get(t), i = n.$flags$, o = n.$lazyInstance$;
301
- r = Pe(r, s.$members$[t][0]);
302
- const $ = Number.isNaN(l) && Number.isNaN(r), c = r !== l && !$;
303
- if ((!(i & 8) || l === void 0) && c && (n.$instanceValues$.set(t, r), o)) {
304
- if (s.$watchers$ && i & 128) {
305
- const u = s.$watchers$[t];
306
- u && u.map((f) => {
307
- try {
308
- o[f](r, l, t);
309
- } catch (d) {
310
- E(d, a);
311
- }
312
- });
313
- }
314
- (i & 18) === 2 && z(n, !1);
315
- }
316
- }, le = (e, t, r) => {
317
- var s, n;
318
- const a = e.prototype;
319
- if (t.$members$ || t.$watchers$ || e.watchers) {
320
- e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
321
- const l = Object.entries((s = t.$members$) != null ? s : {});
322
- if (l.map(([i, [o]]) => {
323
- (o & 31 || r & 2 && o & 32) && Object.defineProperty(a, i, {
324
- get() {
325
- return Ce(this, i);
326
- },
327
- set($) {
328
- De(this, i, $, t);
329
- },
330
- configurable: !0,
331
- enumerable: !0
332
- });
333
- }), r & 1) {
334
- const i = /* @__PURE__ */ new Map();
335
- a.attributeChangedCallback = function(o, $, c) {
336
- g.jmp(() => {
337
- var u;
338
- const f = i.get(o);
339
- if (this.hasOwnProperty(f))
340
- c = this[f], delete this[f];
341
- else {
342
- if (a.hasOwnProperty(f) && typeof this[f] == "number" && this[f] == c)
343
- return;
344
- if (f == null) {
345
- const d = b(this), m = d?.$flags$;
346
- if (m && !(m & 8) && m & 128 && c !== $) {
347
- const v = d.$lazyInstance$, h = (u = t.$watchers$) == null ? void 0 : u[o];
348
- h?.forEach((p) => {
349
- v[p] != null && v[p].call(v, c, $, o);
350
- });
351
- }
352
- return;
353
- }
354
- }
355
- this[f] = c === null && typeof this[f] == "boolean" ? !1 : c;
356
- });
357
- }, e.observedAttributes = Array.from(
358
- /* @__PURE__ */ new Set([
359
- ...Object.keys((n = t.$watchers$) != null ? n : {}),
360
- ...l.filter(
361
- ([o, $]) => $[0] & 15
362
- /* HasAttribute */
363
- ).map(([o, $]) => {
364
- const c = $[1] || o;
365
- return i.set(c, o), c;
366
- })
367
- ])
368
- );
369
- }
370
- }
371
- return e;
372
- }, Fe = async (e, t, r, s) => {
373
- let n;
374
- if (!(t.$flags$ & 32)) {
375
- if (t.$flags$ |= 32, r.$lazyBundleId$) {
376
- const o = fe(r);
377
- if (o && "then" in o) {
378
- const c = ke();
379
- n = await o, c();
380
- } else
381
- n = o;
382
- if (!n)
383
- throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);
384
- n.isProxied || (r.$watchers$ = n.watchers, le(
385
- n,
386
- r,
387
- 2
388
- /* proxyState */
389
- ), n.isProxied = !0);
390
- const $ = S("createInstance", r.$tagName$);
391
- t.$flags$ |= 8;
392
- try {
393
- new n(t);
394
- } catch (c) {
395
- E(c);
396
- }
397
- t.$flags$ &= -9, t.$flags$ |= 128, $();
398
- } else {
399
- n = e.constructor;
400
- const o = e.localName;
401
- customElements.whenDefined(o).then(
402
- () => t.$flags$ |= 128
403
- /* isWatchReady */
404
- );
405
- }
406
- if (n && n.style) {
407
- let o;
408
- typeof n.style == "string" && (o = n.style);
409
- const $ = Z(r);
410
- if (!T.has($)) {
411
- const c = S("registerStyles", r.$tagName$);
412
- _e($, o, !!(r.$flags$ & 1)), c();
413
- }
414
- }
415
- }
416
- const a = t.$ancestorComponent$, l = () => z(t, !0);
417
- a && a["s-rc"] ? a["s-rc"].push(l) : l();
418
- }, Me = (e) => {
419
- }, We = (e) => {
420
- if (!(g.$flags$ & 1)) {
421
- const t = b(e), r = t.$cmpMeta$, s = S("connectedCallback", r.$tagName$);
422
- if (t.$flags$ & 1)
423
- t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Me());
424
- else {
425
- t.$flags$ |= 1;
426
- {
427
- let n = e;
428
- for (; n = n.parentNode || n.host; )
429
- if (n["s-p"]) {
430
- ne(t, t.$ancestorComponent$ = n);
431
- break;
432
- }
433
- }
434
- r.$members$ && Object.entries(r.$members$).map(([n, [a]]) => {
435
- if (a & 31 && e.hasOwnProperty(n)) {
436
- const l = e[n];
437
- delete e[n], e[n] = l;
438
- }
439
- }), Fe(e, t, r);
440
- }
441
- s();
442
- }
443
- }, Ye = (e) => {
444
- }, Ge = async (e) => {
445
- if (!(g.$flags$ & 1)) {
446
- const t = b(e);
447
- t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ye());
448
- }
449
- }, Ke = (e, t = {}) => {
450
- var r;
451
- const s = S(), n = [], a = t.exclude || [], l = U.customElements, i = y.head, o = /* @__PURE__ */ i.querySelector("meta[charset]"), $ = /* @__PURE__ */ y.createElement("style"), c = [];
452
- let u, f = !0;
453
- Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
454
- let d = !1;
455
- if (e.map((m) => {
456
- m[1].map((v) => {
457
- var h;
458
- const p = {
459
- $flags$: v[0],
460
- $tagName$: v[1],
461
- $members$: v[2],
462
- $listeners$: v[3]
463
- };
464
- p.$flags$ & 4 && (d = !0), p.$members$ = v[2], p.$watchers$ = (h = v[4]) != null ? h : {};
465
- const w = p.$tagName$, ae = class extends HTMLElement {
466
- // StencilLazyHost
467
- constructor(j) {
468
- super(j), this.hasRegisteredEventListeners = !1, j = this, ue(j, p);
469
- }
470
- connectedCallback() {
471
- b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), u && (clearTimeout(u), u = null), f ? c.push(this) : g.jmp(() => We(this));
472
- }
473
- disconnectedCallback() {
474
- g.jmp(() => Ge(this));
475
- }
476
- componentOnReady() {
477
- return b(this).$onReadyPromise$;
478
- }
479
- };
480
- p.$lazyBundleId$ = m[0], !a.includes(w) && !l.get(w) && (n.push(w), l.define(
481
- w,
482
- le(
483
- ae,
484
- p,
485
- 1
486
- /* isElementConstructor */
487
- )
488
- ));
489
- });
490
- }), n.length > 0 && (d && ($.textContent += G), $.textContent += n.sort() + de, $.innerHTML.length)) {
491
- $.setAttribute("data-styles", "");
492
- const m = (r = g.$nonce$) != null ? r : Q(y);
493
- m != null && $.setAttribute("nonce", m), i.insertBefore($, o ? o.nextSibling : i.firstChild);
494
- }
495
- f = !1, c.length ? c.map((m) => m.connectedCallback()) : g.jmp(() => u = setTimeout(se, 30)), s();
496
- };
497
- export {
498
- we as H,
499
- Ke as b,
500
- Ee as h,
501
- me as p,
502
- Je as r
503
- };