@everymatrix/casino-lobby 1.54.6 → 1.54.8

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 (81) hide show
  1. package/components/{CasinoCalendar-Ic3lq1UY.js → CasinoCalendar-B6zL0TaE.js} +506 -514
  2. package/components/CasinoCalendar-BMfA7KN3.cjs +9 -0
  3. package/components/CasinoCalendar-yoWAbEkY.js +5197 -0
  4. package/components/{CasinoCalendarDailyDetails-buDoufAV.js → CasinoCalendarDailyDetails-CHjjPOPl.js} +90 -90
  5. package/components/CasinoCalendarDailyDetails-CfDJdZRl.cjs +1 -0
  6. package/components/CasinoCalendarDailyDetails-D3u4HZe8.js +701 -0
  7. package/components/{CasinoCalendarDailyItem-koPRd703.js → CasinoCalendarDailyItem-C0cqN7uc.js} +46 -46
  8. package/components/CasinoCalendarDailyItem-CUUQD6LO.cjs +1 -0
  9. package/components/CasinoCalendarDailyItem-DMCRSt77.js +315 -0
  10. package/components/CasinoCategoriesSlider-BcJr5qw4.js +606 -0
  11. package/components/{CasinoCategoriesSlider-Bp9JHeM_.js → CasinoCategoriesSlider-ClyY2tVk.js} +29 -29
  12. package/components/CasinoCategoriesSlider-Du23Vwbe.cjs +1 -0
  13. package/components/CasinoCollectionsProviders-D_RrWmcu.js +664 -0
  14. package/components/{CasinoCollectionsProviders-CrpNb22N.js → CasinoCollectionsProviders-DfPQERZb.js} +58 -58
  15. package/components/CasinoCollectionsProviders-okanqqGb.cjs +1 -0
  16. package/components/CasinoFavoritesSection-6Sdpq5gN.cjs +1 -0
  17. package/components/CasinoFavoritesSection-B73CXUAy.js +439 -0
  18. package/components/{CasinoFavoritesSection-D4Du3N5n.js → CasinoFavoritesSection-Bueg3sTp.js} +16 -16
  19. package/components/CasinoFilter-CLgilXuM.js +634 -0
  20. package/components/{CasinoFilter-CYZHW74M.js → CasinoFilter-Ck2-RKNG.js} +55 -55
  21. package/components/CasinoFilter-d5NvPsIU.cjs +1 -0
  22. package/components/{CasinoGamePage-C0VvUfCV.js → CasinoGamePage-B9T32UnC.js} +90 -90
  23. package/components/CasinoGamePage-BvAh0DGO.js +4300 -0
  24. package/components/CasinoGamePage-C99GYj8V.cjs +18 -0
  25. package/components/{CasinoGameThumbnail-C-zG9Jn9.js → CasinoGameThumbnail-Bl2lRTS5.js} +63 -63
  26. package/components/CasinoGameThumbnail-Cnth3w2v.js +1850 -0
  27. package/components/CasinoGameThumbnail-DFxPFhew.cjs +38 -0
  28. package/components/CasinoGamesCategorySection-Cy8ehDrS.cjs +1 -0
  29. package/components/{CasinoGamesCategorySection-DVd_DDkc.js → CasinoGamesCategorySection-DU23YHrX.js} +125 -125
  30. package/components/CasinoGamesCategorySection-Vx-6j2_y.js +3032 -0
  31. package/components/{CasinoJackpotBanner-CL7SMQDH.js → CasinoJackpotBanner-CwBo5Mul.js} +68 -68
  32. package/components/CasinoJackpotBanner-D8mirkf9.js +618 -0
  33. package/components/CasinoJackpotBanner-pF19c3bB.cjs +1 -0
  34. package/components/CasinoLastPlayedSection-CTeLaz5e.cjs +1 -0
  35. package/components/{CasinoLastPlayedSection-VbQH2qG2.js → CasinoLastPlayedSection-D2i1KYd6.js} +29 -29
  36. package/components/CasinoLastPlayedSection-DeHKMRjb.js +566 -0
  37. package/components/{CasinoLobby-CSsnpzSn.js → CasinoLobby-DIuXNBMc.js} +49 -49
  38. package/components/CasinoLobby-DjqoKJ_Z.cjs +1 -0
  39. package/components/CasinoLobby-Ds8nok67.js +2337 -0
  40. package/components/{CasinoModal-z0xixUlG.js → CasinoModal-CdxckMSF.js} +69 -69
  41. package/components/CasinoModal-Cj4CFSu2.cjs +1 -0
  42. package/components/CasinoModal-_ukjEJqy.js +372 -0
  43. package/components/CasinoMostPlayedSection-BRG_Uq6C.cjs +1 -0
  44. package/components/{CasinoMostPlayedSection-BIXY9riB.js → CasinoMostPlayedSection-BvIjl5pV.js} +32 -32
  45. package/components/CasinoMostPlayedSection-C9ey8EVj.js +583 -0
  46. package/components/CasinoMyGames-BH19YGDz.js +1318 -0
  47. package/components/{CasinoMyGames-DqRPb7fX.js → CasinoMyGames-CO15Aytm.js} +52 -52
  48. package/components/CasinoMyGames-DNs8c3Rb.cjs +1 -0
  49. package/components/CasinoPage-BEFfjziT.js +3550 -0
  50. package/components/{CasinoPage-Cm-vD67m.js → CasinoPage-DXue0b0t.js} +123 -123
  51. package/components/CasinoPage-sSUBPWhS.cjs +1 -0
  52. package/components/CasinoRandomGame-C57JuHHz.cjs +2 -0
  53. package/components/CasinoRandomGame-r6ZN573_.js +668 -0
  54. package/components/{CasinoRandomGame-efA8CEqy.js → CasinoRandomGame-z14CxLuC.js} +51 -51
  55. package/components/CasinoSearch-C5_rhVBG.js +1072 -0
  56. package/components/{CasinoSearch-BEXK-fFP.js → CasinoSearch-Cbyb3s0J.js} +83 -83
  57. package/components/CasinoSearch-D1uEkiG3.cjs +1 -0
  58. package/components/CasinoSlider-C7bHIIsP.js +806 -0
  59. package/components/{CasinoSlider-BPqJIB5d.js → CasinoSlider-C90aPXd2.js} +78 -78
  60. package/components/CasinoSlider-D1u-7DmV.cjs +1 -0
  61. package/components/CasinoSort-5a6WYp-y.cjs +1 -0
  62. package/components/{CasinoSort-CBtcK7i0.js → CasinoSort-B9ucfWgD.js} +16 -16
  63. package/components/CasinoSort-DWu-WSlc.js +432 -0
  64. package/components/{CasinoWinners-Db2ivy-R.js → CasinoWinners-BFkE1Nu3.js} +62 -62
  65. package/components/CasinoWinners-D-KQ7v4o.cjs +1 -0
  66. package/components/CasinoWinners-fPZD2C86.js +971 -0
  67. package/components/{GeneralAnimationLoading-DiwFEyef.js → GeneralAnimationLoading-BCUksgAT.js} +8 -8
  68. package/components/GeneralAnimationLoading-BtZxU34J.cjs +1 -0
  69. package/components/GeneralAnimationLoading-DSCrLTeR.js +75 -0
  70. package/es2015/casino-lobby.cjs +1 -0
  71. package/es2015/casino-lobby.js +16 -0
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +4 -1
  74. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  75. package/stencil/casino-play-random-game-BKQH1Zx1.cjs +371 -0
  76. package/stencil/casino-play-random-game-BqK1nKDT.js +577 -0
  77. package/stencil/{casino-play-random-game-BrayzMrR.js → casino-play-random-game-pLVMnBV9.js} +1 -1
  78. package/stencil/index-f923e8d1-BWfXmHlD.js +645 -0
  79. package/stencil/index-f923e8d1-DEpJEd5d.cjs +1 -0
  80. package/stencil/index-f923e8d1-DkIbJRWP.js +629 -0
  81. package/stencil/index-47910d1c-CWwDm8i3.js +0 -623
@@ -0,0 +1,629 @@
1
+ const ve = "casino-play-random-game", C = (
2
+ /* casino-play-random-game */
3
+ { hydratedSelectorName: "hydrated", lazyLoad: !0, updatable: !0 }
4
+ );
5
+ var Se = Object.defineProperty, Ee = (e, t) => {
6
+ for (var s in t)
7
+ Se(e, s, { get: t[s], enumerable: !0 });
8
+ }, G = /* @__PURE__ */ new WeakMap(), S = (e) => G.get(e), nt = (e, t) => {
9
+ G.set(t.$lazyInstance$ = e, t);
10
+ }, ke = (e, t) => {
11
+ const s = {
12
+ $flags$: 0,
13
+ $hostElement$: e,
14
+ $cmpMeta$: t,
15
+ $instanceValues$: /* @__PURE__ */ new Map()
16
+ };
17
+ return s.$onReadyPromise$ = new Promise((r) => s.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], G.set(e, s);
18
+ }, Z = (e, t) => t in e, w = (e, t) => (0, console.error)(e, t), b = /* @__PURE__ */ new Map(), xe = (e, t, s) => {
19
+ const n = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
20
+ if (!r)
21
+ return;
22
+ const $ = b.get(r);
23
+ if ($)
24
+ return $[n];
25
+ {
26
+ const i = (l) => (b.set(r, l), l[n]);
27
+ switch (r) {
28
+ case "casino-play-random-game":
29
+ return import(
30
+ /* webpackMode: "lazy" */
31
+ "./casino-play-random-game-pLVMnBV9.js"
32
+ ).then(i, w);
33
+ }
34
+ }
35
+ return import(
36
+ /* @vite-ignore */
37
+ /* webpackInclude: /\.entry\.js$/ */
38
+ /* webpackExclude: /\.system\.entry\.js$/ */
39
+ /* webpackMode: "lazy" */
40
+ `./${r}.entry.js`
41
+ ).then(
42
+ (i) => (b.set(r, i), i[n]),
43
+ (i) => {
44
+ w(i, t.$hostElement$);
45
+ }
46
+ );
47
+ }, j = /* @__PURE__ */ new Map(), Te = "sty-id", we = "{visibility:hidden}.hydrated{visibility:inherit}", te = "slot-fb{display:contents}slot-fb[hidden]{display:none}", z = typeof window < "u" ? window : {}, k = z.document || { head: {} }, h = {
48
+ $flags$: 0,
49
+ $resourcesUrl$: "",
50
+ jmp: (e) => e(),
51
+ raf: (e) => requestAnimationFrame(e),
52
+ ael: (e, t, s, n) => e.addEventListener(t, s, n),
53
+ rel: (e, t, s, n) => e.removeEventListener(t, s, n),
54
+ ce: (e, t) => new CustomEvent(e, t)
55
+ }, Pe = (e) => Promise.resolve(e), ne = /* @__PURE__ */ (() => {
56
+ try {
57
+ return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
58
+ } catch {
59
+ }
60
+ return !1;
61
+ })(), U = !1, M = [], se = [], _e = (e, t) => (s) => {
62
+ e.push(s), U || (U = !0, h.$flags$ & 4 ? Y(q) : h.raf(q));
63
+ }, m = (e) => {
64
+ for (let t = 0; t < e.length; t++)
65
+ try {
66
+ e[t](performance.now());
67
+ } catch (s) {
68
+ w(s);
69
+ }
70
+ e.length = 0;
71
+ }, q = () => {
72
+ m(M), m(se), (U = M.length > 0) && h.raf(q);
73
+ }, Y = (e) => Pe().then(e), Ae = /* @__PURE__ */ _e(se), X = (e) => (e = typeof e, e === "object" || e === "function");
74
+ function re(e) {
75
+ var t, s, n;
76
+ return (n = (s = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : s.getAttribute("content")) != null ? n : void 0;
77
+ }
78
+ var Ie = {};
79
+ Ee(Ie, {
80
+ err: () => le,
81
+ map: () => Le,
82
+ ok: () => B,
83
+ unwrap: () => je,
84
+ unwrapErr: () => Oe
85
+ });
86
+ var B = (e) => ({
87
+ isOk: !0,
88
+ isErr: !1,
89
+ value: e
90
+ }), le = (e) => ({
91
+ isOk: !1,
92
+ isErr: !0,
93
+ value: e
94
+ });
95
+ function Le(e, t) {
96
+ if (e.isOk) {
97
+ const s = t(e.value);
98
+ return s instanceof Promise ? s.then((n) => B(n)) : B(s);
99
+ }
100
+ if (e.isErr) {
101
+ const s = e.value;
102
+ return le(s);
103
+ }
104
+ throw "should never get here";
105
+ }
106
+ var je = (e) => {
107
+ if (e.isOk)
108
+ return e.value;
109
+ throw e.value;
110
+ }, Oe = (e) => {
111
+ if (e.isErr)
112
+ return e.value;
113
+ throw e.value;
114
+ }, x = (e, t = "") => () => {
115
+ }, ze = (e, t) => () => {
116
+ }, be = (e, t, ...s) => {
117
+ let n = null, r = null, $ = !1, i = !1;
118
+ const l = [], c = (a) => {
119
+ for (let d = 0; d < a.length; d++)
120
+ n = a[d], Array.isArray(n) ? c(n) : n != null && typeof n != "boolean" && (($ = typeof e != "function" && !X(n)) && (n = String(n)), $ && i ? l[l.length - 1].$text$ += n : l.push($ ? D(null, n) : n), i = $);
121
+ };
122
+ if (c(s), t) {
123
+ t.key && (r = t.key);
124
+ {
125
+ const a = t.className || t.class;
126
+ a && (t.class = typeof a != "object" ? a : Object.keys(a).filter((d) => a[d]).join(" "));
127
+ }
128
+ }
129
+ const o = D(e, null);
130
+ return o.$attrs$ = t, l.length > 0 && (o.$children$ = l), o.$key$ = r, o;
131
+ }, D = (e, t) => {
132
+ const s = {
133
+ $flags$: 0,
134
+ $tag$: e,
135
+ $text$: t,
136
+ $elm$: null,
137
+ $children$: null
138
+ };
139
+ return s.$attrs$ = null, s.$key$ = null, s;
140
+ }, He = {}, Ue = (e) => e && e.$tag$ === He, R = (e, t) => e != null && !X(e) && t & 1 ? String(e) : e, st = (e) => S(e).$hostElement$, qe = (e, t, s) => {
141
+ const n = h.ce(t, s);
142
+ return e.dispatchEvent(n), n;
143
+ }, _ = /* @__PURE__ */ new WeakMap(), Be = (e, t, s) => {
144
+ let n = j.get(e);
145
+ ne && s ? (n = n || new CSSStyleSheet(), typeof n == "string" ? n = t : n.replaceSync(t)) : n = t, j.set(e, n);
146
+ }, De = (e, t, s) => {
147
+ var n;
148
+ const r = $e(t), $ = j.get(r);
149
+ if (e = e.nodeType === 11 ? e : k, $)
150
+ if (typeof $ == "string") {
151
+ e = e.head || e;
152
+ let i = _.get(e), l;
153
+ if (i || _.set(e, i = /* @__PURE__ */ new Set()), !i.has(r)) {
154
+ {
155
+ l = document.querySelector(`[${Te}="${r}"]`) || k.createElement("style"), l.innerHTML = $;
156
+ const c = (n = h.$nonce$) != null ? n : re(k);
157
+ if (c != null && l.setAttribute("nonce", c), !(t.$flags$ & 1))
158
+ if (e.nodeName === "HEAD") {
159
+ const o = e.querySelectorAll("link[rel=preconnect]"), a = o.length > 0 ? o[o.length - 1].nextSibling : e.querySelector("style");
160
+ e.insertBefore(
161
+ l,
162
+ a?.parentNode === e ? a : null
163
+ );
164
+ } else if ("host" in e)
165
+ if (ne) {
166
+ const o = new CSSStyleSheet();
167
+ o.replaceSync($), e.adoptedStyleSheets = [o, ...e.adoptedStyleSheets];
168
+ } else {
169
+ const o = e.querySelector("style");
170
+ o ? o.innerHTML = $ + o.innerHTML : e.prepend(l);
171
+ }
172
+ else
173
+ e.append(l);
174
+ t.$flags$ & 1 && e.nodeName !== "HEAD" && e.insertBefore(l, null);
175
+ }
176
+ t.$flags$ & 4 && (l.innerHTML += te), i && i.add(r);
177
+ }
178
+ } else e.adoptedStyleSheets.includes($) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, $]);
179
+ return r;
180
+ }, Re = (e) => {
181
+ const t = e.$cmpMeta$, s = e.$hostElement$, n = t.$flags$, r = x("attachStyles", t.$tagName$), $ = De(
182
+ s.shadowRoot ? s.shadowRoot : s.getRootNode(),
183
+ t
184
+ );
185
+ n & 10 && n & 2 && (s["s-sc"] = $, s.classList.add($ + "-h")), r();
186
+ }, $e = (e, t) => "sc-" + e.$tagName$, V = (e, t, s, n, r, $, i) => {
187
+ if (s !== n) {
188
+ let l = Z(e, t), c = t.toLowerCase();
189
+ if (t === "class") {
190
+ const o = e.classList, a = N(s);
191
+ let d = N(n);
192
+ o.remove(...a.filter((f) => f && !d.includes(f))), o.add(...d.filter((f) => f && !a.includes(f)));
193
+ } else if (t !== "key") if (t === "ref")
194
+ n && n(e);
195
+ else if (!l && t[0] === "o" && t[1] === "n") {
196
+ if (t[2] === "-" ? t = t.slice(3) : Z(z, c) ? t = c.slice(2) : t = c[2] + t.slice(3), s || n) {
197
+ const o = t.endsWith(ie);
198
+ t = t.replace(Ce, ""), s && h.rel(e, t, s, o), n && h.ael(e, t, n, o);
199
+ }
200
+ } else {
201
+ const o = X(n);
202
+ if (l || o && n !== null)
203
+ try {
204
+ if (e.tagName.includes("-"))
205
+ e[t] !== n && (e[t] = n);
206
+ else {
207
+ const a = n ?? "";
208
+ t === "list" ? l = !1 : (s == null || e[t] != a) && (typeof e.__lookupSetter__(t) == "function" ? e[t] = a : e.setAttribute(t, a));
209
+ }
210
+ } catch {
211
+ }
212
+ n == null || n === !1 ? (n !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || $ & 4 || r) && !o && (n = n === !0 ? "" : n, e.setAttribute(t, n));
213
+ }
214
+ }
215
+ }, We = /\s/, N = (e) => (typeof e == "object" && e && "baseVal" in e && (e = e.baseVal), !e || typeof e != "string" ? [] : e.split(We)), ie = "Capture", Ce = new RegExp(ie + "$"), ae = (e, t, s, n) => {
216
+ const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, $ = e && e.$attrs$ || {}, i = t.$attrs$ || {};
217
+ for (const l of ee(Object.keys($)))
218
+ l in i || V(
219
+ r,
220
+ l,
221
+ $[l],
222
+ void 0,
223
+ s,
224
+ t.$flags$
225
+ );
226
+ for (const l of ee(Object.keys(i)))
227
+ V(
228
+ r,
229
+ l,
230
+ $[l],
231
+ i[l],
232
+ s,
233
+ t.$flags$
234
+ );
235
+ };
236
+ function ee(e) {
237
+ return e.includes("ref") ? (
238
+ // we need to sort these to ensure that `'ref'` is the last attr
239
+ [...e.filter((t) => t !== "ref"), "ref"]
240
+ ) : (
241
+ // no need to sort, return the original array
242
+ e
243
+ );
244
+ }
245
+ var F, oe = !1, O = (e, t, s) => {
246
+ const n = t.$children$[s];
247
+ let r = 0, $, i;
248
+ if (n.$text$ !== null)
249
+ $ = n.$elm$ = k.createTextNode(n.$text$);
250
+ else if ($ = n.$elm$ = k.createElement(
251
+ n.$tag$
252
+ ), ae(null, n, oe), n.$children$)
253
+ for (r = 0; r < n.$children$.length; ++r)
254
+ i = O(e, n, r), i && $.appendChild(i);
255
+ return $["s-hn"] = F, $;
256
+ }, ce = (e, t, s, n, r, $) => {
257
+ let i = e, l;
258
+ for (i.shadowRoot && i.tagName === F && (i = i.shadowRoot); r <= $; ++r)
259
+ n[r] && (l = O(null, s, r), l && (n[r].$elm$ = l, L(i, l, t)));
260
+ }, fe = (e, t, s) => {
261
+ for (let n = t; n <= s; ++n) {
262
+ const r = e[n];
263
+ if (r) {
264
+ const $ = r.$elm$;
265
+ de(r), $ && $.remove();
266
+ }
267
+ }
268
+ }, Ge = (e, t, s, n, r = !1) => {
269
+ let $ = 0, i = 0, l = 0, c = 0, o = t.length - 1, a = t[0], d = t[o], f = n.length - 1, u = n[0], p = n[f], g, v;
270
+ for (; $ <= o && i <= f; )
271
+ if (a == null)
272
+ a = t[++$];
273
+ else if (d == null)
274
+ d = t[--o];
275
+ else if (u == null)
276
+ u = n[++i];
277
+ else if (p == null)
278
+ p = n[--f];
279
+ else if (I(a, u, r))
280
+ P(a, u, r), a = t[++$], u = n[++i];
281
+ else if (I(d, p, r))
282
+ P(d, p, r), d = t[--o], p = n[--f];
283
+ else if (I(a, p, r))
284
+ P(a, p, r), L(e, a.$elm$, d.$elm$.nextSibling), a = t[++$], p = n[--f];
285
+ else if (I(d, u, r))
286
+ P(d, u, r), L(e, d.$elm$, a.$elm$), d = t[--o], u = n[++i];
287
+ else {
288
+ for (l = -1, c = $; c <= o; ++c)
289
+ if (t[c] && t[c].$key$ !== null && t[c].$key$ === u.$key$) {
290
+ l = c;
291
+ break;
292
+ }
293
+ l >= 0 ? (v = t[l], v.$tag$ !== u.$tag$ ? g = O(t && t[i], s, l) : (P(v, u, r), t[l] = void 0, g = v.$elm$), u = n[++i]) : (g = O(t && t[i], s, i), u = n[++i]), g && L(a.$elm$.parentNode, g, a.$elm$);
294
+ }
295
+ $ > o ? ce(
296
+ e,
297
+ n[f + 1] == null ? null : n[f + 1].$elm$,
298
+ s,
299
+ n,
300
+ i,
301
+ f
302
+ ) : i > f && fe(t, $, o);
303
+ }, I = (e, t, s = !1) => e.$tag$ === t.$tag$ ? s ? (s && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, P = (e, t, s = !1) => {
304
+ const n = t.$elm$ = e.$elm$, r = e.$children$, $ = t.$children$, i = t.$text$;
305
+ i === null ? (ae(e, t, oe), r !== null && $ !== null ? Ge(n, r, t, $, s) : $ !== null ? (e.$text$ !== null && (n.textContent = ""), ce(n, null, t, $, 0, $.length - 1)) : (
306
+ // don't do this on initial render as it can cause non-hydrated content to be removed
307
+ !s && C.updatable && r !== null && fe(r, 0, r.length - 1)
308
+ )) : e.$text$ !== i && (n.data = i);
309
+ }, de = (e) => {
310
+ e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(de);
311
+ }, L = (e, t, s) => e?.insertBefore(t, s), Ye = (e, t, s = !1) => {
312
+ const n = e.$hostElement$, r = e.$cmpMeta$, $ = e.$vnode$ || D(null, null), i = Ue(t) ? t : be(null, null, t);
313
+ if (F = n.tagName, r.$attrsToReflect$ && (i.$attrs$ = i.$attrs$ || {}, r.$attrsToReflect$.map(
314
+ ([l, c]) => i.$attrs$[c] = n[l]
315
+ )), s && i.$attrs$)
316
+ for (const l of Object.keys(i.$attrs$))
317
+ n.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (i.$attrs$[l] = n[l]);
318
+ i.$tag$ = null, i.$flags$ |= 4, e.$vnode$ = i, i.$elm$ = $.$elm$ = n.shadowRoot || n, r.$flags$ & 1, P($, i, s);
319
+ }, ue = (e, t) => {
320
+ if (t && !e.$onRenderResolve$ && t["s-p"]) {
321
+ const s = t["s-p"].push(
322
+ new Promise(
323
+ (n) => e.$onRenderResolve$ = () => {
324
+ t["s-p"].splice(s - 1, 1), n();
325
+ }
326
+ )
327
+ );
328
+ }
329
+ }, J = (e, t) => {
330
+ if (e.$flags$ |= 16, e.$flags$ & 4) {
331
+ e.$flags$ |= 512;
332
+ return;
333
+ }
334
+ return ue(e, e.$ancestorComponent$), Ae(() => Xe(e, t));
335
+ }, Xe = (e, t) => {
336
+ const s = e.$hostElement$, n = x("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
337
+ if (!r)
338
+ throw new Error(
339
+ `Can't render component <${s.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`
340
+ );
341
+ let $;
342
+ return t && ($ = K(r, "componentWillLoad", void 0, s)), n(), Fe($, () => Ke(e, r, t));
343
+ }, Fe = (e, t) => Je(e) ? e.then(t).catch((s) => {
344
+ console.error(s), t();
345
+ }) : t(), Je = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Ke = async (e, t, s) => {
346
+ var n;
347
+ const r = e.$hostElement$, $ = x("update", e.$cmpMeta$.$tagName$), i = r["s-rc"];
348
+ s && Re(e);
349
+ const l = x("render", e.$cmpMeta$.$tagName$);
350
+ Qe(e, t, r, s), i && (i.map((c) => c()), r["s-rc"] = void 0), l(), $();
351
+ {
352
+ const c = (n = r["s-p"]) != null ? n : [], o = () => Ze(e);
353
+ c.length === 0 ? o() : (Promise.all(c).then(o), e.$flags$ |= 4, c.length = 0);
354
+ }
355
+ }, Qe = (e, t, s, n) => {
356
+ try {
357
+ t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ye(e, t, n);
358
+ } catch (r) {
359
+ w(r, e.$hostElement$);
360
+ }
361
+ return null;
362
+ }, Ze = (e) => {
363
+ const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, n = x("postUpdate", t), r = e.$lazyInstance$, $ = e.$ancestorComponent$;
364
+ e.$flags$ & 64 ? n() : (e.$flags$ |= 64, Me(s), K(r, "componentDidLoad", void 0, s), n(), e.$onReadyResolve$(s), $ || pe()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && Y(() => J(e, !1)), e.$flags$ &= -517;
365
+ }, pe = (e) => {
366
+ Y(() => qe(z, "appload", { detail: { namespace: ve } }));
367
+ }, K = (e, t, s, n) => {
368
+ if (e && e[t])
369
+ try {
370
+ return e[t](s);
371
+ } catch (r) {
372
+ w(r, n);
373
+ }
374
+ }, Me = (e) => {
375
+ var t;
376
+ return e.classList.add((t = C.hydratedSelectorName) != null ? t : "hydrated");
377
+ }, me = (e, t) => S(e).$instanceValues$.get(t), H = (e, t, s, n) => {
378
+ const r = S(e);
379
+ if (!r)
380
+ throw new Error(
381
+ `Couldn't find host element for "${n.$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).`
382
+ );
383
+ const $ = r.$hostElement$, i = r.$instanceValues$.get(t), l = r.$flags$, c = r.$lazyInstance$;
384
+ s = R(s, n.$members$[t][0]);
385
+ const o = Number.isNaN(i) && Number.isNaN(s), a = s !== i && !o;
386
+ if ((!(l & 8) || i === void 0) && a && (r.$instanceValues$.set(t, s), c)) {
387
+ if (n.$watchers$ && l & 128) {
388
+ const d = n.$watchers$[t];
389
+ d && d.map((f) => {
390
+ try {
391
+ c[f](s, i, t);
392
+ } catch (u) {
393
+ w(u, $);
394
+ }
395
+ });
396
+ }
397
+ (l & 18) === 2 && J(r, !1);
398
+ }
399
+ }, he = (e, t, s) => {
400
+ var n, r;
401
+ const $ = e.prototype;
402
+ if (t.$members$ || t.$watchers$ || e.watchers) {
403
+ e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
404
+ const i = Object.entries((n = t.$members$) != null ? n : {});
405
+ if (i.map(([l, [c]]) => {
406
+ if (c & 31 || s & 2 && c & 32) {
407
+ const { get: o, set: a } = Object.getOwnPropertyDescriptor($, l) || {};
408
+ o && (t.$members$[l][0] |= 2048), a && (t.$members$[l][0] |= 4096), (s & 1 || !o) && Object.defineProperty($, l, {
409
+ get() {
410
+ {
411
+ if (!(t.$members$[l][0] & 2048))
412
+ return me(this, l);
413
+ const d = S(this), f = d ? d.$lazyInstance$ : $;
414
+ return f ? f[l] : void 0;
415
+ }
416
+ },
417
+ configurable: !0,
418
+ enumerable: !0
419
+ }), Object.defineProperty($, l, {
420
+ set(d) {
421
+ const f = S(this);
422
+ if (a) {
423
+ const u = c & 32 ? this[l] : f.$hostElement$[l];
424
+ typeof u > "u" && f.$instanceValues$.get(l) ? d = f.$instanceValues$.get(l) : !f.$instanceValues$.get(l) && u && f.$instanceValues$.set(l, u), a.apply(this, [R(d, c)]), d = c & 32 ? this[l] : f.$hostElement$[l], H(this, l, d, t);
425
+ return;
426
+ }
427
+ {
428
+ if (!(s & 1) || !(t.$members$[l][0] & 4096)) {
429
+ H(this, l, d, t), s & 1 && !f.$lazyInstance$ && f.$onReadyPromise$.then(() => {
430
+ t.$members$[l][0] & 4096 && f.$lazyInstance$[l] !== f.$instanceValues$.get(l) && (f.$lazyInstance$[l] = d);
431
+ });
432
+ return;
433
+ }
434
+ const u = () => {
435
+ const p = f.$lazyInstance$[l];
436
+ !f.$instanceValues$.get(l) && p && f.$instanceValues$.set(l, p), f.$lazyInstance$[l] = R(d, c), H(this, l, f.$lazyInstance$[l], t);
437
+ };
438
+ f.$lazyInstance$ ? u() : f.$onReadyPromise$.then(() => u());
439
+ }
440
+ }
441
+ });
442
+ }
443
+ }), s & 1) {
444
+ const l = /* @__PURE__ */ new Map();
445
+ $.attributeChangedCallback = function(c, o, a) {
446
+ h.jmp(() => {
447
+ var d;
448
+ const f = l.get(c);
449
+ if (this.hasOwnProperty(f) && C.lazyLoad)
450
+ a = this[f], delete this[f];
451
+ else {
452
+ if ($.hasOwnProperty(f) && typeof this[f] == "number" && // cast type to number to avoid TS compiler issues
453
+ this[f] == a)
454
+ return;
455
+ if (f == null) {
456
+ const p = S(this), g = p?.$flags$;
457
+ if (g && !(g & 8) && g & 128 && a !== o) {
458
+ const v = p.$lazyInstance$, y = (d = t.$watchers$) == null ? void 0 : d[c];
459
+ y?.forEach((T) => {
460
+ v[T] != null && v[T].call(v, a, o, c);
461
+ });
462
+ }
463
+ return;
464
+ }
465
+ }
466
+ const u = Object.getOwnPropertyDescriptor($, f);
467
+ a = a === null && typeof this[f] == "boolean" ? !1 : a, a !== this[f] && (!u.get || u.set) && (this[f] = a);
468
+ });
469
+ }, e.observedAttributes = Array.from(
470
+ /* @__PURE__ */ new Set([
471
+ ...Object.keys((r = t.$watchers$) != null ? r : {}),
472
+ ...i.filter(
473
+ ([c, o]) => o[0] & 15
474
+ /* HasAttribute */
475
+ ).map(([c, o]) => {
476
+ var a;
477
+ const d = o[1] || c;
478
+ return l.set(d, c), o[0] & 512 && ((a = t.$attrsToReflect$) == null || a.push([c, d])), d;
479
+ })
480
+ ])
481
+ );
482
+ }
483
+ }
484
+ return e;
485
+ }, Ve = async (e, t, s, n) => {
486
+ let r;
487
+ if (!(t.$flags$ & 32)) {
488
+ if (t.$flags$ |= 32, s.$lazyBundleId$) {
489
+ const c = xe(s, t);
490
+ if (c && "then" in c) {
491
+ const a = ze();
492
+ r = await c, a();
493
+ } else
494
+ r = c;
495
+ if (!r)
496
+ throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
497
+ r.isProxied || (s.$watchers$ = r.watchers, he(
498
+ r,
499
+ s,
500
+ 2
501
+ /* proxyState */
502
+ ), r.isProxied = !0);
503
+ const o = x("createInstance", s.$tagName$);
504
+ t.$flags$ |= 8;
505
+ try {
506
+ new r(t);
507
+ } catch (a) {
508
+ w(a, e);
509
+ }
510
+ t.$flags$ &= -9, t.$flags$ |= 128, o(), W(t.$lazyInstance$, e);
511
+ } else {
512
+ r = e.constructor;
513
+ const c = e.localName;
514
+ customElements.whenDefined(c).then(
515
+ () => t.$flags$ |= 128
516
+ /* isWatchReady */
517
+ );
518
+ }
519
+ if (r && r.style) {
520
+ let c;
521
+ typeof r.style == "string" && (c = r.style);
522
+ const o = $e(s);
523
+ if (!j.has(o)) {
524
+ const a = x("registerStyles", s.$tagName$);
525
+ Be(o, c, !!(s.$flags$ & 1)), a();
526
+ }
527
+ }
528
+ }
529
+ const $ = t.$ancestorComponent$, i = () => J(t, !0);
530
+ $ && $["s-rc"] ? $["s-rc"].push(i) : i();
531
+ }, W = (e, t) => {
532
+ K(e, "connectedCallback", void 0, t);
533
+ }, Ne = (e) => {
534
+ if (!(h.$flags$ & 1)) {
535
+ const t = S(e), s = t.$cmpMeta$, n = x("connectedCallback", s.$tagName$);
536
+ if (t.$flags$ & 1)
537
+ t?.$lazyInstance$ ? W(t.$lazyInstance$, e) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => W(t.$lazyInstance$, e));
538
+ else {
539
+ t.$flags$ |= 1;
540
+ {
541
+ let r = e;
542
+ for (; r = r.parentNode || r.host; )
543
+ if (r["s-p"]) {
544
+ ue(t, t.$ancestorComponent$ = r);
545
+ break;
546
+ }
547
+ }
548
+ s.$members$ && Object.entries(s.$members$).map(([r, [$]]) => {
549
+ if ($ & 31 && e.hasOwnProperty(r)) {
550
+ const i = e[r];
551
+ delete e[r], e[r] = i;
552
+ }
553
+ }), Ve(e, t, s);
554
+ }
555
+ n();
556
+ }
557
+ }, et = (e, t) => {
558
+ }, tt = async (e) => {
559
+ if (!(h.$flags$ & 1)) {
560
+ const t = S(e);
561
+ t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => et());
562
+ }
563
+ _.has(e) && _.delete(e), e.shadowRoot && _.has(e.shadowRoot) && _.delete(e.shadowRoot);
564
+ }, rt = (e, t = {}) => {
565
+ var s;
566
+ const n = x(), r = [], $ = t.exclude || [], i = z.customElements, l = k.head, c = /* @__PURE__ */ l.querySelector("meta[charset]"), o = /* @__PURE__ */ k.createElement("style"), a = [];
567
+ let d, f = !0;
568
+ Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", k.baseURI).href;
569
+ let u = !1;
570
+ if (e.map((p) => {
571
+ p[1].map((g) => {
572
+ var v;
573
+ const y = {
574
+ $flags$: g[0],
575
+ $tagName$: g[1],
576
+ $members$: g[2],
577
+ $listeners$: g[3]
578
+ };
579
+ y.$flags$ & 4 && (u = !0), y.$members$ = g[2], y.$attrsToReflect$ = [], y.$watchers$ = (v = g[4]) != null ? v : {};
580
+ const T = y.$tagName$, ge = class extends HTMLElement {
581
+ // StencilLazyHost
582
+ constructor(E) {
583
+ if (super(E), this.hasRegisteredEventListeners = !1, E = this, ke(E, y), y.$flags$ & 1) {
584
+ if (!E.shadowRoot)
585
+ E.attachShadow({ mode: "open" });
586
+ else if (E.shadowRoot.mode !== "open")
587
+ throw new Error(
588
+ `Unable to re-use existing shadow root for ${y.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`
589
+ );
590
+ }
591
+ }
592
+ connectedCallback() {
593
+ S(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), d && (clearTimeout(d), d = null), f ? a.push(this) : h.jmp(() => Ne(this));
594
+ }
595
+ disconnectedCallback() {
596
+ h.jmp(() => tt(this)), h.raf(() => {
597
+ var E;
598
+ const A = S(this), Q = a.findIndex((ye) => ye === this);
599
+ Q > -1 && a.splice(Q, 1), ((E = A?.$vnode$) == null ? void 0 : E.$elm$) instanceof Node && !A.$vnode$.$elm$.isConnected && delete A.$vnode$.$elm$;
600
+ });
601
+ }
602
+ componentOnReady() {
603
+ return S(this).$onReadyPromise$;
604
+ }
605
+ };
606
+ y.$lazyBundleId$ = p[0], !$.includes(T) && !i.get(T) && (r.push(T), i.define(
607
+ T,
608
+ he(
609
+ ge,
610
+ y,
611
+ 1
612
+ /* isElementConstructor */
613
+ )
614
+ ));
615
+ });
616
+ }), r.length > 0 && (u && (o.textContent += te), o.textContent += r.sort() + we, o.innerHTML.length)) {
617
+ o.setAttribute("data-styles", "");
618
+ const p = (s = h.$nonce$) != null ? s : re(k);
619
+ p != null && o.setAttribute("nonce", p), l.insertBefore(o, c ? c.nextSibling : l.firstChild);
620
+ }
621
+ f = !1, a.length ? a.map((p) => p.connectedCallback()) : h.jmp(() => d = setTimeout(pe, 30)), n();
622
+ };
623
+ export {
624
+ rt as b,
625
+ st as g,
626
+ be as h,
627
+ Pe as p,
628
+ nt as r
629
+ };