@everymatrix/casino-lobby 1.56.0 → 1.56.2

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 (88) hide show
  1. package/components/{CasinoCalendar-_T8fa3tA.js → CasinoCalendar-8h5qdaaJ.js} +1018 -956
  2. package/components/{CasinoCalendar-CSMUhfCr.js → CasinoCalendar-D9zXfDS4.js} +988 -926
  3. package/components/CasinoCalendar-pDYRKcjG.cjs +22 -0
  4. package/components/{CasinoCalendarDailyDetails-DueCbaZn.js → CasinoCalendarDailyDetails-D0Kx4qhT.js} +48 -48
  5. package/components/{CasinoCalendarDailyDetails-CGRqVKFV.js → CasinoCalendarDailyDetails-DFwCqTfY.js} +48 -48
  6. package/components/{CasinoCalendarDailyDetails-DspcjY5l.cjs → CasinoCalendarDailyDetails-DkbuLEg5.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-DxYbPmky.js → CasinoCalendarDailyItem-C62RswBp.js} +41 -41
  8. package/components/{CasinoCalendarDailyItem-DpLOlYVI.js → CasinoCalendarDailyItem-DTqfqF2k.js} +41 -41
  9. package/components/{CasinoCalendarDailyItem-DaSrAYwS.cjs → CasinoCalendarDailyItem-DX_5vyqn.cjs} +1 -1
  10. package/components/CasinoCategoriesSlider-3PL0POlf.cjs +1 -0
  11. package/components/{CasinoCategoriesSlider-DkmZ6uE9.js → CasinoCategoriesSlider-BhsSLM-H.js} +66 -66
  12. package/components/{CasinoCategoriesSlider-B7jmX0uM.js → CasinoCategoriesSlider-CCCss88T.js} +65 -65
  13. package/components/{CasinoCollectionsProviders-CFJKyip5.js → CasinoCollectionsProviders-8BCzbgO7.js} +72 -70
  14. package/components/{CasinoCollectionsProviders-XHUKRCjH.js → CasinoCollectionsProviders-B7jL1xWi.js} +70 -68
  15. package/components/{CasinoCollectionsProviders-fHbyEo_l.cjs → CasinoCollectionsProviders-DdI8afJV.cjs} +1 -1
  16. package/components/{CasinoFavoritesSection-ui8ebJSk.js → CasinoFavoritesSection-8fm71dF4.js} +28 -28
  17. package/components/{CasinoFavoritesSection-BJKuORXc.js → CasinoFavoritesSection-C0iLu9Sw.js} +28 -28
  18. package/components/{CasinoFavoritesSection-DAfQZFKH.cjs → CasinoFavoritesSection-DrmyxOK7.cjs} +1 -1
  19. package/components/{CasinoFilter-t6_A4K9e.js → CasinoFilter-BTgsR3X2.js} +241 -238
  20. package/components/CasinoFilter-D06f7IqM.cjs +1 -0
  21. package/components/{CasinoFilter-Cj6Ya1tA.js → CasinoFilter-m6_88uQv.js} +252 -247
  22. package/components/CasinoGamePage-CkvljoIb.js +4249 -0
  23. package/components/CasinoGamePage-DAH5L6F5.cjs +18 -0
  24. package/components/{CasinoGamePage-DQ1Yd_-1.js → CasinoGamePage-DAv8OZV8.js} +1645 -1692
  25. package/components/{CasinoGameThumbnail-CmtUwom1.js → CasinoGameThumbnail-B4KIog_7.js} +275 -286
  26. package/components/{CasinoGameThumbnail-B15M2LaO.js → CasinoGameThumbnail-BMm5Xl4k.js} +374 -353
  27. package/components/CasinoGameThumbnail-XF-v3tEC.cjs +38 -0
  28. package/components/{CasinoGamesCategorySection-Dw87pk8g.cjs → CasinoGamesCategorySection-BSklauO4.cjs} +1 -1
  29. package/components/{CasinoGamesCategorySection-lpoHUMLN.js → CasinoGamesCategorySection-DUDDLFW2.js} +255 -248
  30. package/components/{CasinoGamesCategorySection-D9nxbG-c.js → CasinoGamesCategorySection-XWxil8vo.js} +334 -327
  31. package/components/{CasinoJackpotBanner-COZRcenh.js → CasinoJackpotBanner-6WZPbIyJ.js} +79 -79
  32. package/components/{CasinoJackpotBanner-DcwCa-Hp.js → CasinoJackpotBanner-Bu16yaAe.js} +72 -72
  33. package/components/{CasinoJackpotBanner-vFHgMV4j.cjs → CasinoJackpotBanner-CRGjJl2y.cjs} +1 -1
  34. package/components/{CasinoLastPlayedSection-yetII3tl.js → CasinoLastPlayedSection-BT4kxVP1.js} +43 -43
  35. package/components/{CasinoLastPlayedSection-IZ9mars2.js → CasinoLastPlayedSection-DFUMCS3n.js} +43 -43
  36. package/components/{CasinoLastPlayedSection-DUCFQv-7.cjs → CasinoLastPlayedSection-cjUgoZnI.cjs} +1 -1
  37. package/components/{CasinoLobby-CZ0buhgH.cjs → CasinoLobby-CRIb8E4f.cjs} +1 -1
  38. package/components/{CasinoLobby-CoCRB4M8.js → CasinoLobby-Di0-vjQH.js} +45 -45
  39. package/components/{CasinoLobby-DOvk4Q1L.js → CasinoLobby-DrBFK5gG.js} +47 -47
  40. package/components/{CasinoModal-6keCUEEx.cjs → CasinoModal-35QTkTq-.cjs} +1 -1
  41. package/components/{CasinoModal-DDDhdR0c.js → CasinoModal-Ce9u8B9n.js} +41 -41
  42. package/components/{CasinoModal-Dzu3FQyi.js → CasinoModal-DMOewty4.js} +41 -41
  43. package/components/{CasinoMostPlayedSection-BNDdZOM6.cjs → CasinoMostPlayedSection-C1K-DGkZ.cjs} +1 -1
  44. package/components/{CasinoMostPlayedSection-CGqU9ZQv.js → CasinoMostPlayedSection-CXWjhKax.js} +50 -50
  45. package/components/{CasinoMostPlayedSection-D0w6a_z2.js → CasinoMostPlayedSection-DAuM-1cc.js} +50 -50
  46. package/components/{CasinoMyGames-BKqlNnO1.js → CasinoMyGames-0CUDyeW1.js} +53 -49
  47. package/components/{CasinoMyGames-CX5HKRLY.cjs → CasinoMyGames-DQaVeSFh.cjs} +1 -1
  48. package/components/{CasinoMyGames-Dy3IMfzN.js → CasinoMyGames-DTWGCs0t.js} +54 -50
  49. package/components/{CasinoPage-DYcUhqdZ.js → CasinoPage-BFAkKTIr.js} +90 -86
  50. package/components/{CasinoPage-BnrghJel.js → CasinoPage-CYfqznpn.js} +90 -86
  51. package/components/{CasinoPage--1tMufa9.cjs → CasinoPage-Dn8IgsJW.cjs} +1 -1
  52. package/components/{CasinoRandomGame-Cup5oHY3.js → CasinoRandomGame-CwNUHn-I.js} +66 -64
  53. package/components/{CasinoRandomGame-B1qCGSlR.cjs → CasinoRandomGame-DnwNz2Jt.cjs} +1 -1
  54. package/components/{CasinoRandomGame-Dq7oLh0O.js → CasinoRandomGame-qSedkhdM.js} +66 -64
  55. package/components/{CasinoSearch-DlUwO5L4.js → CasinoSearch-58Bbs2ly.js} +78 -75
  56. package/components/{CasinoSearch-B1D8nnr0.cjs → CasinoSearch-DgenhLcJ.cjs} +1 -1
  57. package/components/{CasinoSearch-jV0H_1Yg.js → CasinoSearch-Itb9Lu5Z.js} +78 -75
  58. package/components/{CasinoSlider-ChnKJ8kH.js → CasinoSlider-BBo1-Yix.js} +65 -65
  59. package/components/{CasinoSlider-Ot2uFDD8.js → CasinoSlider-BLhtuqXM.js} +74 -74
  60. package/components/{CasinoSlider-4pDZHG6x.cjs → CasinoSlider-BiIS2-lS.cjs} +1 -1
  61. package/components/{CasinoSort-BnarJSWg.js → CasinoSort-CBEUIj6Q.js} +105 -105
  62. package/components/{CasinoSort-jqMnIqLs.cjs → CasinoSort-ClDrkZcs.cjs} +1 -1
  63. package/components/{CasinoSort-DltZUpda.js → CasinoSort-DDFUPoRE.js} +113 -111
  64. package/components/{CasinoWinners-BkJBCXPe.js → CasinoWinners-C9LcOp1b.js} +155 -153
  65. package/components/{CasinoWinners-Bs7Oh-m-.cjs → CasinoWinners-CNAN8Ko7.cjs} +1 -1
  66. package/components/{CasinoWinners-CBgbYBfP.js → CasinoWinners-wjNHmiu9.js} +160 -158
  67. package/components/{GeneralAnimationLoading-BUY2TGQr.js → GeneralAnimationLoading-D4V5ml6G.js} +16 -16
  68. package/components/{GeneralAnimationLoading-CRju5T01.js → GeneralAnimationLoading-DXg7Sgve.js} +16 -16
  69. package/components/{GeneralAnimationLoading-BLss2VP4.cjs → GeneralAnimationLoading-dlh-TGCV.cjs} +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 +1 -1
  74. package/stencil/{casino-play-random-game-CBXhEsCq.js → casino-play-random-game-B9yaAMOE.js} +6 -6
  75. package/stencil/{casino-play-random-game-PZXnDzfs.js → casino-play-random-game-BTXyM5es.js} +7 -7
  76. package/stencil/{casino-play-random-game-y8flXwPv.cjs → casino-play-random-game-a53bUW_d.cjs} +2 -2
  77. package/stencil/index-510a6ba4-B9_VY7vu.cjs +1 -0
  78. package/stencil/index-510a6ba4-CYFuKFRQ.js +564 -0
  79. package/stencil/index-510a6ba4-CzpWs0jf.js +548 -0
  80. package/components/CasinoCalendar-CFPK0TM5.cjs +0 -9
  81. package/components/CasinoCategoriesSlider-Tm48k88y.cjs +0 -1
  82. package/components/CasinoFilter-BZrHKXm3.cjs +0 -1
  83. package/components/CasinoGamePage-BCpBojD8.cjs +0 -18
  84. package/components/CasinoGamePage-DH-mxVYx.js +0 -4296
  85. package/components/CasinoGameThumbnail-CHGG4fWS.cjs +0 -38
  86. package/stencil/index-29915e18-B3XYTzEC.cjs +0 -1
  87. package/stencil/index-29915e18-CQ_kWzEh.js +0 -630
  88. package/stencil/index-29915e18-MPiqo7vY.js +0 -646
@@ -1,646 +0,0 @@
1
- var A = (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 Et = "casino-play-random-game", Y = (
18
- /* casino-play-random-game */
19
- { hydratedSelectorName: "hydrated", lazyLoad: !0, updatable: !0 }
20
- );
21
- var kt = Object.defineProperty, xt = (t, e) => {
22
- for (var n in e)
23
- kt(t, n, { get: e[n], enumerable: !0 });
24
- }, X = /* @__PURE__ */ new WeakMap(), S = (t) => X.get(t), re = (t, e) => {
25
- X.set(e.$lazyInstance$ = t, e);
26
- }, Tt = (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"] = [], X.set(t, n);
34
- }, M = (t, e) => e in t, w = (t, e) => (0, console.error)(t, e), U = /* @__PURE__ */ new Map(), wt = (t, e, n) => {
35
- const s = t.$tagName$.replace(/-/g, "_"), r = t.$lazyBundleId$;
36
- if (!r)
37
- return;
38
- const $ = U.get(r);
39
- if ($)
40
- return $[s];
41
- {
42
- const i = (l) => (U.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-CBXhEsCq.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) => (U.set(r, i), i[s]),
59
- (i) => {
60
- w(i, e.$hostElement$);
61
- }
62
- );
63
- }, j = /* @__PURE__ */ new Map(), Pt = "sty-id", _t = "{visibility:hidden}.hydrated{visibility:inherit}", nt = "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
- }, It = (t) => Promise.resolve(t), rt = /* @__PURE__ */ (() => {
72
- try {
73
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
74
- } catch (t) {
75
- }
76
- return !1;
77
- })(), B = !1, m = [], lt = [], At = (t, e) => (n) => {
78
- t.push(n), B || (B = !0, h.$flags$ & 4 ? F(D) : h.raf(D));
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
- }, D = () => {
88
- V(m), V(lt), (B = m.length > 0) && h.raf(D);
89
- }, F = (t) => It().then(t), Lt = /* @__PURE__ */ At(lt), J = (t) => (t = typeof t, t === "object" || t === "function");
90
- function $t(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 zt = {};
95
- xt(zt, {
96
- err: () => it,
97
- map: () => jt,
98
- ok: () => R,
99
- unwrap: () => Ot,
100
- unwrapErr: () => bt
101
- });
102
- var R = (t) => ({
103
- isOk: !0,
104
- isErr: !1,
105
- value: t
106
- }), it = (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) => R(s)) : R(n);
115
- }
116
- if (t.isErr) {
117
- const n = t.value;
118
- return it(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
- }, bt = (t) => {
127
- if (t.isErr)
128
- return t.value;
129
- throw t.value;
130
- }, x = (t, e = "") => () => {
131
- }, Ht = (t, e) => () => {
132
- }, Ut = (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" && !J(s)) && (s = String(s)), $ && i ? l[l.length - 1].$text$ += s : l.push($ ? C(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 = C(t, null);
146
- return o.$attrs$ = e, l.length > 0 && (o.$children$ = l), o.$key$ = r, o;
147
- }, C = (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
- }, qt = {}, Bt = (t) => t && t.$tag$ === qt, W = (t, e) => t != null && !J(t) && e & 1 ? String(t) : t, le = (t) => S(t).$hostElement$, Dt = (t, e, n) => {
157
- const s = h.ce(e, n);
158
- return t.dispatchEvent(s), s;
159
- }, _ = /* @__PURE__ */ new WeakMap(), Rt = (t, e, n) => {
160
- let s = j.get(t);
161
- rt && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = e : s.replaceSync(e)) : s = e, j.set(t, s);
162
- }, Ct = (t, e, n) => {
163
- var s;
164
- const r = at(e), $ = j.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(`[${Pt}="${r}"]`) || k.createElement("style"), l.innerHTML = $;
172
- const a = (s = h.$nonce$) != null ? s : $t(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 (rt) {
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.insertBefore(l, null);
191
- }
192
- e.$flags$ & 4 && (l.innerHTML += nt), 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$), $ = Ct(
198
- n.shadowRoot ? n.shadowRoot : n.getRootNode(),
199
- e
200
- );
201
- (s & 10 && s & 2 || s & 128) && (n["s-sc"] = $, n.classList.add($ + "-h")), r();
202
- }, at = (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(ot);
214
- e = e.replace(Yt, ""), n && h.rel(t, e, n, o), s && h.ael(t, e, s, o);
215
- }
216
- } else {
217
- const o = J(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
- }, Gt = /\s/, tt = (t) => (typeof t == "object" && t && "baseVal" in t && (t = t.baseVal), !t || typeof t != "string" ? [] : t.split(Gt)), ot = "Capture", Yt = new RegExp(ot + "$"), ct = (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 K, ft = !1, O = (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
- ), ct(null, s, ft), s.$children$)
269
- for (r = 0; r < s.$children$.length; ++r)
270
- i = O(t, s, r), i && $.appendChild(i);
271
- return $["s-hn"] = K, $;
272
- }, dt = (t, e, n, s, r, $) => {
273
- let i = t, l;
274
- for (i.shadowRoot && i.tagName === K && (i = i.shadowRoot); r <= $; ++r)
275
- s[r] && (l = O(null, n, r), l && (s[r].$elm$ = l, z(i, l, e)));
276
- }, ut = (t, e, n) => {
277
- for (let s = e; s <= n; ++s) {
278
- const r = t[s];
279
- if (r) {
280
- const $ = r.$elm$;
281
- pt(r), $ && $.remove();
282
- }
283
- }
284
- }, Xt = (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), z(t, c.$elm$, d.$elm$.nextSibling), c = e[++$], p = s[--f];
301
- else if (L(d, u, r))
302
- P(d, u, r), z(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 = O(e && e[i], n, l) : (P(y, u, r), e[l] = void 0, v = y.$elm$), u = s[++i]) : (v = O(e && e[i], n, i), u = s[++i]), v && z(c.$elm$.parentNode, v, c.$elm$);
310
- }
311
- $ > o ? dt(
312
- t,
313
- s[f + 1] == null ? null : s[f + 1].$elm$,
314
- n,
315
- s,
316
- i,
317
- f
318
- ) : i > f && ut(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 ? (ct(t, e, ft), r !== null && $ !== null ? Xt(s, r, e, $, n) : $ !== null ? (t.$text$ !== null && (s.textContent = ""), dt(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 && Y.updatable && r !== null && ut(r, 0, r.length - 1)
324
- )) : t.$text$ !== i && (s.data = i);
325
- }, pt = (t) => {
326
- t.$attrs$ && t.$attrs$.ref && t.$attrs$.ref(null), t.$children$ && t.$children$.map(pt);
327
- }, z = (t, e, n) => t == null ? void 0 : t.insertBefore(e, n), Ft = (t, e, n = !1) => {
328
- const s = t.$hostElement$, r = t.$cmpMeta$, $ = t.$vnode$ || C(null, null), i = Bt(e) ? e : Ut(null, null, e);
329
- if (K = 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 && r.$flags$ & 128, P($, i, n);
335
- }, ht = (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
- }, Q = (t, e) => {
346
- if (t.$flags$ |= 16, t.$flags$ & 4) {
347
- t.$flags$ |= 512;
348
- return;
349
- }
350
- return ht(t, t.$ancestorComponent$), Lt(() => Jt(t, e));
351
- }, Jt = (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 && ($ = H(r, "componentWillLoad", void 0, n)), s(), Kt($, () => Zt(t, r, e));
359
- }, Kt = (t, e) => Qt(t) ? t.then(e).catch((n) => {
360
- console.error(n), e();
361
- }) : e(), Qt = (t) => t instanceof Promise || t && t.then && typeof t.then == "function", Zt = (t, e, n) => A(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
- Mt(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
- }), Mt = (t, e, n, s) => {
372
- try {
373
- e = e.render(), t.$flags$ &= -17, t.$flags$ |= 2, Ft(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, Vt(n), H(r, "componentDidLoad", void 0, n), s(), t.$onReadyResolve$(n), $ || vt()), t.$onRenderResolve$ && (t.$onRenderResolve$(), t.$onRenderResolve$ = void 0), t.$flags$ & 512 && F(() => Q(t, !1)), t.$flags$ &= -517;
381
- }, vt = (t) => {
382
- F(() => Dt(b, "appload", { detail: { namespace: Et } }));
383
- }, H = (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
- }, Vt = (t) => {
391
- var e;
392
- return t.classList.add((e = Y.hydratedSelectorName) != null ? e : "hydrated");
393
- }, Nt = (t, e) => S(t).$instanceValues$.get(e), q = (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 && Q(r, !1);
414
- }
415
- }, gt = (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 Nt(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], q(this, l, d, e);
441
- return;
442
- }
443
- {
444
- if (!(n & 1) || !(e.$members$[l][0] & 4096)) {
445
- q(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), q(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) && Y.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
- }, te = (t, e, n, s) => A(void 0, null, function* () {
502
- let r;
503
- if (!(e.$flags$ & 32)) {
504
- if (e.$flags$ |= 32, n.$lazyBundleId$) {
505
- const a = wt(n, e);
506
- if (a && "then" in a) {
507
- const c = Ht();
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, gt(
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(), G(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 = at(n);
539
- if (!j.has(o)) {
540
- const c = x("registerStyles", n.$tagName$);
541
- Rt(o, a, !!(n.$flags$ & 1)), c();
542
- }
543
- }
544
- }
545
- const $ = e.$ancestorComponent$, i = () => Q(e, !0);
546
- $ && $["s-rc"] ? $["s-rc"].push(i) : i();
547
- }), G = (t, e) => {
548
- H(t, "connectedCallback", void 0, e);
549
- }, ee = (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$ ? G(e.$lazyInstance$, t) : e != null && e.$onReadyPromise$ && e.$onReadyPromise$.then(() => G(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
- ht(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
- }), te(t, e, n);
570
- }
571
- s();
572
- }
573
- }, st = (t, e) => {
574
- H(t, "disconnectedCallback", void 0, e || t);
575
- }, se = (t) => A(void 0, null, function* () {
576
- if (!(h.$flags$ & 1)) {
577
- const e = S(t);
578
- e != null && e.$lazyInstance$ ? st(e.$lazyInstance$, t) : e != null && e.$onReadyPromise$ && e.$onReadyPromise$.then(() => st(e.$lazyInstance$, t));
579
- }
580
- _.has(t) && _.delete(t), t.shadowRoot && _.has(t.shadowRoot) && _.delete(t.shadowRoot);
581
- }), $e = (t, e = {}) => {
582
- var n;
583
- const s = x(), r = [], $ = e.exclude || [], i = b.customElements, l = k.head, a = /* @__PURE__ */ l.querySelector("meta[charset]"), o = /* @__PURE__ */ k.createElement("style"), c = [];
584
- let d, f = !0;
585
- Object.assign(h, e), h.$resourcesUrl$ = new URL(e.resourcesUrl || "./", k.baseURI).href;
586
- let u = !1;
587
- if (t.map((p) => {
588
- p[1].map((v) => {
589
- var y;
590
- const g = {
591
- $flags$: v[0],
592
- $tagName$: v[1],
593
- $members$: v[2],
594
- $listeners$: v[3]
595
- };
596
- g.$flags$ & 4 && (u = !0), g.$members$ = v[2], g.$attrsToReflect$ = [], g.$watchers$ = (y = v[4]) != null ? y : {};
597
- const T = g.$tagName$, yt = class extends HTMLElement {
598
- // StencilLazyHost
599
- constructor(E) {
600
- if (super(E), this.hasRegisteredEventListeners = !1, E = this, Tt(E, g), g.$flags$ & 1) {
601
- if (!E.shadowRoot)
602
- E.attachShadow({ mode: "open" });
603
- else if (E.shadowRoot.mode !== "open")
604
- throw new Error(
605
- `Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`
606
- );
607
- }
608
- }
609
- connectedCallback() {
610
- S(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), d && (clearTimeout(d), d = null), f ? c.push(this) : h.jmp(() => ee(this));
611
- }
612
- disconnectedCallback() {
613
- h.jmp(() => se(this)), h.raf(() => {
614
- var E;
615
- const I = S(this), Z = c.findIndex((St) => St === this);
616
- Z > -1 && c.splice(Z, 1), ((E = I == null ? void 0 : I.$vnode$) == null ? void 0 : E.$elm$) instanceof Node && !I.$vnode$.$elm$.isConnected && delete I.$vnode$.$elm$;
617
- });
618
- }
619
- componentOnReady() {
620
- return S(this).$onReadyPromise$;
621
- }
622
- };
623
- g.$lazyBundleId$ = p[0], !$.includes(T) && !i.get(T) && (r.push(T), i.define(
624
- T,
625
- gt(
626
- yt,
627
- g,
628
- 1
629
- /* isElementConstructor */
630
- )
631
- ));
632
- });
633
- }), r.length > 0 && (u && (o.textContent += nt), o.textContent += r.sort() + _t, o.innerHTML.length)) {
634
- o.setAttribute("data-styles", "");
635
- const p = (n = h.$nonce$) != null ? n : $t(k);
636
- p != null && o.setAttribute("nonce", p), l.insertBefore(o, a ? a.nextSibling : l.firstChild);
637
- }
638
- f = !1, c.length ? c.map((p) => p.connectedCallback()) : h.jmp(() => d = setTimeout(vt, 30)), s();
639
- };
640
- export {
641
- $e as b,
642
- le as g,
643
- Ut as h,
644
- It as p,
645
- re as r
646
- };