@everymatrix/casino-lobby 1.54.8 → 1.54.10

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