@everymatrix/casino-page-nd 1.76.11 → 1.76.13
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.
- package/components/{CasinoCalendar-dCsBOCh4.cjs → CasinoCalendar-1EiuG4ja.cjs} +1 -1
- package/components/{CasinoCalendar-mfSLB8Ze.js → CasinoCalendar-DDXo_sLW.js} +25 -25
- package/components/{CasinoCalendar-DWprq3Up.js → CasinoCalendar-DdCnnpAB.js} +4 -4
- package/components/{CasinoCalendarDailyDetails-3C8wq3Kf.cjs → CasinoCalendarDailyDetails-C27NHVH_.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-Cm0lICEn.js → CasinoCalendarDailyDetails-CQZJ4CVD.js} +2 -2
- package/components/{CasinoCalendarDailyDetails-DvqRVPua.js → CasinoCalendarDailyDetails-CY7B1lxS.js} +14 -14
- package/components/{CasinoCalendarDailyItem-C_FN646X.cjs → CasinoCalendarDailyItem-BqL5H57o.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-CZlYfyPq.js → CasinoCalendarDailyItem-CwQkhLDC.js} +17 -17
- package/components/{CasinoCalendarDailyItem-CzzCu3b9.js → CasinoCalendarDailyItem-DGbWXxCR.js} +2 -2
- package/components/{CasinoCollectionsProviders-CWyeNZSU.js → CasinoCollectionsProviders-BoWCBksj.js} +38 -38
- package/components/{CasinoCollectionsProviders-LcGduY03.js → CasinoCollectionsProviders-D9evjksc.js} +1 -1
- package/components/{CasinoCollectionsProviders-qWvxMAY4.cjs → CasinoCollectionsProviders-DuN6pZVH.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-D7PT7RRj.js → CasinoFavoritesSectionNd-CGOlvGdM.js} +48 -40
- package/components/CasinoFavoritesSectionNd-CvXJsyAP.cjs +1 -0
- package/components/{CasinoFavoritesSectionNd-BO5Gv4XQ.js → CasinoFavoritesSectionNd-H7nx1r94.js} +47 -39
- package/components/{CasinoFilter-DaDCgGyI.cjs → CasinoFilter-Da1iRlYf.cjs} +1 -1
- package/components/{CasinoFilter-BxbFkTPB.js → CasinoFilter-DnMTdTn9.js} +32 -32
- package/components/{CasinoFilter-CKKGIb12.js → CasinoFilter-KfWVyYe3.js} +1 -1
- package/components/{CasinoGameThumbnailNd-BQ1wqZ-e.js → CasinoGameThumbnailNd-Bzu_4Oxw.js} +2 -2
- package/components/{CasinoGameThumbnailNd-CmRsAJDi.cjs → CasinoGameThumbnailNd-CZW4Modc.cjs} +1 -1
- package/components/{CasinoGameThumbnailNd-Dcordt0f.js → CasinoGameThumbnailNd-NR9WwTZ6.js} +8 -8
- package/components/CasinoGamesCategorySectionNd-CIcaCq68.cjs +1 -0
- package/components/{CasinoGamesCategorySectionNd-BGZ-ePsT.js → CasinoGamesCategorySectionNd-CblCav-m.js} +200 -192
- package/components/{CasinoGamesCategorySectionNd-CKAJcNzR.js → CasinoGamesCategorySectionNd-Rm6DYIBP.js} +217 -209
- package/components/{CasinoJackpotBanner-B96gNAcA.cjs → CasinoJackpotBanner-BwX1dP1o.cjs} +1 -1
- package/components/{CasinoJackpotBanner-BWmZP7BL.js → CasinoJackpotBanner-C6wXEguN.js} +15 -15
- package/components/{CasinoJackpotBanner-DqIZizFB.js → CasinoJackpotBanner-MCIBXYea.js} +2 -2
- package/components/{CasinoLastPlayedSectionNd-BgOVZqPi.cjs → CasinoLastPlayedSectionNd-Bxs8eYQG.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-D5fz5x-v.js → CasinoLastPlayedSectionNd-CN3yKI9-.js} +25 -25
- package/components/{CasinoLastPlayedSectionNd-BmLauasH.js → CasinoLastPlayedSectionNd-fAiSSaIh.js} +2 -2
- package/components/{CasinoMostPlayedSectionNd-DxpDBvyi.js → CasinoMostPlayedSectionNd-B1at83la.js} +30 -30
- package/components/{CasinoMostPlayedSectionNd-Scrl1-r0.cjs → CasinoMostPlayedSectionNd-C-cloax-.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-CDSQQPLi.js → CasinoMostPlayedSectionNd-G7f4yFDo.js} +2 -2
- package/components/{CasinoMyGamesNd-DyvlKH0N.js → CasinoMyGamesNd-Bj2okvQP.js} +4 -4
- package/components/CasinoMyGamesNd-CxF3mFQs.cjs +1 -0
- package/components/{CasinoMyGamesNd-B0RMhNOQ.js → CasinoMyGamesNd-DwAtzu1i.js} +23 -23
- package/components/{CasinoPageNd-CdikoQYm.js → CasinoPageNd-B6pJElK0.js} +1161 -1222
- package/components/{CasinoPageNd-BBnA0Inr.js → CasinoPageNd-Bo7ns-k8.js} +1075 -1136
- package/components/CasinoPageNd-DxVmo3F5.cjs +1 -0
- package/components/{CasinoRandomGame-DgwvXr3L.js → CasinoRandomGame-8L_f477H.js} +14 -14
- package/components/{CasinoRandomGame-BXQZCC2U.cjs → CasinoRandomGame-CxZ9BOdC.cjs} +1 -1
- package/components/{CasinoRandomGame-_9lAMA2P.js → CasinoRandomGame-DlzNumMI.js} +26 -26
- package/components/{CasinoSearchNd-C893ijmJ.cjs → CasinoSearchNd-BGNGhn3i.cjs} +1 -1
- package/components/{CasinoSearchNd-C7QNS9Ai.js → CasinoSearchNd-DHWo9Sq0.js} +3 -3
- package/components/{CasinoSearchNd-DQ2c9d3i.js → CasinoSearchNd-DlBxnUCa.js} +23 -23
- package/components/{CasinoSort-CKm8hNbY.cjs → CasinoSort-BXkq0BBq.cjs} +1 -1
- package/components/{CasinoSort-D187w5tA.js → CasinoSort-D-B4gJyW.js} +1 -1
- package/components/{CasinoSort-BNREfqiL.js → CasinoSort-DNllDxl4.js} +36 -36
- package/components/{CasinoWinners-C4hnivSF.js → CasinoWinners-BXurlLis.js} +2 -2
- package/components/{CasinoWinners-CfPd4kzY.js → CasinoWinners-Gp8fceSt.js} +43 -43
- package/components/{CasinoWinners-433auKih.cjs → CasinoWinners-eDycJCzQ.cjs} +1 -1
- package/components/{GeneralAnimationLoading-DRvkLtzi.cjs → GeneralAnimationLoading-CGEL9clS.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CuOjTz53.js → GeneralAnimationLoading-DZ1wrvtM.js} +1 -1
- package/components/{GeneralAnimationLoading-DnAbjVes.js → GeneralAnimationLoading-vgt-l_aE.js} +4 -4
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-CNkwfnjq.js → casino-play-random-game-BpDaQ8lr.js} +5 -1
- package/stencil/casino-play-random-game-BtyKwZuB.cjs +1 -0
- package/stencil/{casino-play-random-game-BkPr2CWQ.js → casino-play-random-game-DkvncoWi.js} +5 -1
- package/stencil/{casino-play-random-game_2-Cr07t-U3.js → casino-play-random-game_2-BdD78js8.js} +2 -2
- package/stencil/{casino-play-random-game_2-rMFQqRp8.js → casino-play-random-game_2-C2bZyPjR.js} +2 -2
- package/stencil/{casino-play-random-game_2-BJVoDn1D.cjs → casino-play-random-game_2-CYSobUaR.cjs} +1 -1
- package/stencil/index-242ac81a-BqeIndhr.js +554 -0
- package/stencil/index-242ac81a-CI4JxPRf.js +538 -0
- package/stencil/index-242ac81a-CjjM4VND.cjs +1 -0
- package/stencil/{index-328e660d-Dti9H7_B.js → index-328e660d-B9ooleuJ.js} +91 -90
- package/stencil/{index-328e660d-Cex2hzsG.js → index-328e660d-C6jlVqfy.js} +96 -95
- package/stencil/{index-328e660d-MaaYKutI.cjs → index-328e660d-D9ZPPQF8.cjs} +1 -1
- package/stencil/ui-image-2ff23cd5-BHGIWJop.cjs +1 -0
- package/stencil/ui-image-2ff23cd5-D0rXudCW.js +86 -0
- package/stencil/ui-image-2ff23cd5-DCLQ0SIO.js +86 -0
- package/stencil/ui-image-BTT8PTe6.js +25 -0
- package/stencil/ui-image-Bj3y-YhF.js +7 -0
- package/stencil/ui-image-SXcjABMO.cjs +1 -0
- package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-B21W_djK.js} +2 -2
- package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-CLk629jW.cjs} +1 -1
- package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-VgK3B8gQ.js} +2 -2
- package/components/CasinoFavoritesSectionNd-BIfrHNCv.cjs +0 -1
- package/components/CasinoGamesCategorySectionNd-BWwBc-gL.cjs +0 -1
- package/components/CasinoMyGamesNd-C5_wy8U9.cjs +0 -1
- package/components/CasinoPageNd-C6XEbbie.cjs +0 -1
- package/stencil/casino-play-random-game-CIgnME2D.cjs +0 -1
- package/stencil/index-97d17652--F7PvMq9.js +0 -542
- package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
- package/stencil/index-97d17652-CCFHkzJw.js +0 -558
- package/stencil/ui-image-5q4WODJu.cjs +0 -1
- package/stencil/ui-image-CfZf6HBq.js +0 -7
- package/stencil/ui-image-CtfMdADr.js +0 -25
- package/stencil/ui-image-b7b48fe5-ByRuJtdE.js +0 -39
- package/stencil/ui-image-b7b48fe5-D6iig_uN.js +0 -39
- package/stencil/ui-image-b7b48fe5-DG83WzAo.cjs +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
var T = (e, t, r) => new Promise((s, n) => {
|
|
2
|
-
var a = (
|
|
2
|
+
var a = (o) => {
|
|
3
3
|
try {
|
|
4
|
-
|
|
4
|
+
i(r.next(o));
|
|
5
5
|
} catch ($) {
|
|
6
6
|
n($);
|
|
7
7
|
}
|
|
8
|
-
}, l = (
|
|
8
|
+
}, l = (o) => {
|
|
9
9
|
try {
|
|
10
|
-
|
|
10
|
+
i(r.throw(o));
|
|
11
11
|
} catch ($) {
|
|
12
12
|
n($);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
14
|
+
}, i = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(a, l);
|
|
15
|
+
i((r = r.apply(e, t)).next());
|
|
16
16
|
});
|
|
17
17
|
const pe = "casino-play-random-game", ye = (
|
|
18
18
|
/* casino-play-random-game */
|
|
@@ -37,12 +37,12 @@ var me = Object.defineProperty, Se = (e, t) => {
|
|
|
37
37
|
if (a)
|
|
38
38
|
return a[s];
|
|
39
39
|
{
|
|
40
|
-
const l = (
|
|
40
|
+
const l = (i) => (U.set(n, i), i[s]);
|
|
41
41
|
switch (n) {
|
|
42
42
|
case "casino-play-random-game_2":
|
|
43
43
|
return import(
|
|
44
44
|
/* webpackMode: "lazy" */
|
|
45
|
-
"./casino-play-random-game_2-
|
|
45
|
+
"./casino-play-random-game_2-BdD78js8.js"
|
|
46
46
|
).then(l, b);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -53,7 +53,7 @@ var me = Object.defineProperty, Se = (e, t) => {
|
|
|
53
53
|
/* webpackMode: "lazy" */
|
|
54
54
|
`./${n}.entry.js`
|
|
55
55
|
).then((l) => (U.set(n, l), l[s]), b);
|
|
56
|
-
}, L = /* @__PURE__ */ new Map(), be = "{visibility:hidden}.hydrated{visibility:inherit}", ee = "slot-fb{display:contents}slot-fb[hidden]{display:none}", j = typeof window != "undefined" ? window : {}, m = j.document || { head: {} },
|
|
56
|
+
}, L = /* @__PURE__ */ new Map(), be = "{visibility:hidden}.hydrated{visibility:inherit}", ee = "slot-fb{display:contents}slot-fb[hidden]{display:none}", j = typeof window != "undefined" ? window : {}, m = j.document || { head: {} }, h = {
|
|
57
57
|
$flags$: 0,
|
|
58
58
|
$resourcesUrl$: "",
|
|
59
59
|
jmp: (e) => e(),
|
|
@@ -68,7 +68,7 @@ var me = Object.defineProperty, Se = (e, t) => {
|
|
|
68
68
|
}
|
|
69
69
|
return !1;
|
|
70
70
|
})(), z = !1, X = [], te = [], Te = (e, t) => (r) => {
|
|
71
|
-
e.push(r), z || (z = !0,
|
|
71
|
+
e.push(r), z || (z = !0, h.$flags$ & 4 ? D(H) : h.raf(H));
|
|
72
72
|
}, Y = (e) => {
|
|
73
73
|
for (let t = 0; t < e.length; t++)
|
|
74
74
|
try {
|
|
@@ -78,7 +78,7 @@ var me = Object.defineProperty, Se = (e, t) => {
|
|
|
78
78
|
}
|
|
79
79
|
e.length = 0;
|
|
80
80
|
}, H = () => {
|
|
81
|
-
Y(X), Y(te), (z = X.length > 0) &&
|
|
81
|
+
Y(X), Y(te), (z = X.length > 0) && h.raf(H);
|
|
82
82
|
}, D = (e) => we().then(e), Pe = /* @__PURE__ */ Te(te), J = {}, _e = (e) => e != null, F = (e) => (e = typeof e, e === "object" || e === "function");
|
|
83
83
|
function se(e) {
|
|
84
84
|
var t, r, s;
|
|
@@ -124,11 +124,11 @@ var Ie = (e) => {
|
|
|
124
124
|
}, Oe = (e, t) => () => {
|
|
125
125
|
}, Ue = (e, t, ...r) => {
|
|
126
126
|
let s = null, n = null, a = !1, l = !1;
|
|
127
|
-
const
|
|
127
|
+
const i = [], o = (c) => {
|
|
128
128
|
for (let f = 0; f < c.length; f++)
|
|
129
|
-
s = c[f], Array.isArray(s) ?
|
|
129
|
+
s = c[f], Array.isArray(s) ? o(s) : s != null && typeof s != "boolean" && ((a = typeof e != "function" && !F(s)) && (s = String(s)), a && l ? i[i.length - 1].$text$ += s : i.push(a ? B(null, s) : s), l = a);
|
|
130
130
|
};
|
|
131
|
-
if (
|
|
131
|
+
if (o(r), t) {
|
|
132
132
|
t.key && (n = t.key);
|
|
133
133
|
{
|
|
134
134
|
const c = t.className || t.class;
|
|
@@ -136,7 +136,7 @@ var Ie = (e) => {
|
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
const $ = B(e, null);
|
|
139
|
-
return $.$attrs$ = t,
|
|
139
|
+
return $.$attrs$ = t, i.length > 0 && ($.$children$ = i), $.$key$ = n, $;
|
|
140
140
|
}, B = (e, t) => {
|
|
141
141
|
const r = {
|
|
142
142
|
$flags$: 0,
|
|
@@ -157,7 +157,7 @@ var Ie = (e) => {
|
|
|
157
157
|
})
|
|
158
158
|
};
|
|
159
159
|
}, re = (e, t, r) => {
|
|
160
|
-
const s =
|
|
160
|
+
const s = h.ce(t, r);
|
|
161
161
|
return e.dispatchEvent(s), s;
|
|
162
162
|
}, K = /* @__PURE__ */ new WeakMap(), qe = (e, t, r) => {
|
|
163
163
|
let s = L.get(e);
|
|
@@ -168,14 +168,14 @@ var Ie = (e) => {
|
|
|
168
168
|
if (e = e.nodeType === 11 ? e : m, a)
|
|
169
169
|
if (typeof a == "string") {
|
|
170
170
|
e = e.head || e;
|
|
171
|
-
let l = K.get(e),
|
|
171
|
+
let l = K.get(e), i;
|
|
172
172
|
if (l || K.set(e, l = /* @__PURE__ */ new Set()), !l.has(n)) {
|
|
173
173
|
{
|
|
174
|
-
|
|
175
|
-
const
|
|
176
|
-
|
|
174
|
+
i = m.createElement("style"), i.innerHTML = a;
|
|
175
|
+
const o = (s = h.$nonce$) != null ? s : se(m);
|
|
176
|
+
o != null && i.setAttribute("nonce", o), e.insertBefore(i, e.querySelector("link"));
|
|
177
177
|
}
|
|
178
|
-
t.$flags$ & 4 && (
|
|
178
|
+
t.$flags$ & 4 && (i.innerHTML += ee), l && l.add(n);
|
|
179
179
|
}
|
|
180
180
|
} else
|
|
181
181
|
e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
|
|
@@ -188,21 +188,21 @@ var Ie = (e) => {
|
|
|
188
188
|
s & 10 && (r["s-sc"] = a, r.classList.add(a + "-h")), n();
|
|
189
189
|
}, le = (e, t) => "sc-" + e.$tagName$, Q = (e, t, r, s, n, a) => {
|
|
190
190
|
if (r !== s) {
|
|
191
|
-
let l = G(e, t),
|
|
191
|
+
let l = G(e, t), i = t.toLowerCase();
|
|
192
192
|
if (t === "class") {
|
|
193
|
-
const
|
|
194
|
-
|
|
193
|
+
const o = e.classList, $ = Z(r), c = Z(s);
|
|
194
|
+
o.remove(...$.filter((f) => f && !c.includes(f))), o.add(...c.filter((f) => f && !$.includes(f)));
|
|
195
195
|
} else if (t !== "key")
|
|
196
196
|
if (t === "ref")
|
|
197
197
|
s && s(e);
|
|
198
198
|
else if (!l && t[0] === "o" && t[1] === "n") {
|
|
199
|
-
if (t[2] === "-" ? t = t.slice(3) : G(j,
|
|
200
|
-
const
|
|
201
|
-
t = t.replace(Me, ""), r &&
|
|
199
|
+
if (t[2] === "-" ? t = t.slice(3) : G(j, i) ? t = i.slice(2) : t = i[2] + t.slice(3), r || s) {
|
|
200
|
+
const o = t.endsWith(ae);
|
|
201
|
+
t = t.replace(Me, ""), r && h.rel(e, t, r, o), s && h.ael(e, t, s, o);
|
|
202
202
|
}
|
|
203
203
|
} else {
|
|
204
|
-
const
|
|
205
|
-
if ((l ||
|
|
204
|
+
const o = F(s);
|
|
205
|
+
if ((l || o && s !== null) && !n)
|
|
206
206
|
try {
|
|
207
207
|
if (e.tagName.includes("-"))
|
|
208
208
|
e[t] = s;
|
|
@@ -212,10 +212,10 @@ var Ie = (e) => {
|
|
|
212
212
|
}
|
|
213
213
|
} catch ($) {
|
|
214
214
|
}
|
|
215
|
-
s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || a & 4 || n) && !
|
|
215
|
+
s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || a & 4 || n) && !o && (s = s === !0 ? "" : s, e.setAttribute(t, s));
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
|
-
}, Fe = /\s/, Z = (e) => e ? e.split(Fe) : [], ae = "Capture", Me = new RegExp(ae + "$"),
|
|
218
|
+
}, Fe = /\s/, Z = (e) => e ? e.split(Fe) : [], ae = "Capture", Me = new RegExp(ae + "$"), oe = (e, t, r) => {
|
|
219
219
|
const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || J, a = t.$attrs$ || J;
|
|
220
220
|
for (const l of N(Object.keys(n)))
|
|
221
221
|
l in a || Q(s, l, n[l], void 0, r, t.$flags$);
|
|
@@ -231,21 +231,21 @@ function N(e) {
|
|
|
231
231
|
e
|
|
232
232
|
);
|
|
233
233
|
}
|
|
234
|
-
var _, M,
|
|
234
|
+
var _, M, ie = !1, I = (e, t, r, s) => {
|
|
235
235
|
const n = t.$children$[r];
|
|
236
|
-
let a = 0, l,
|
|
236
|
+
let a = 0, l, i;
|
|
237
237
|
if (n.$text$ !== null)
|
|
238
238
|
l = n.$elm$ = m.createTextNode(n.$text$);
|
|
239
239
|
else if (l = n.$elm$ = m.createElement(
|
|
240
240
|
n.$tag$
|
|
241
|
-
),
|
|
241
|
+
), oe(null, n, ie), _e(_) && l["s-si"] !== _ && l.classList.add(l["s-si"] = _), n.$children$)
|
|
242
242
|
for (a = 0; a < n.$children$.length; ++a)
|
|
243
|
-
|
|
243
|
+
i = I(e, n, a), i && l.appendChild(i);
|
|
244
244
|
return l["s-hn"] = M, l;
|
|
245
245
|
}, $e = (e, t, r, s, n, a) => {
|
|
246
|
-
let l = e,
|
|
246
|
+
let l = e, i;
|
|
247
247
|
for (l.shadowRoot && l.tagName === M && (l = l.shadowRoot); n <= a; ++n)
|
|
248
|
-
s[n] && (
|
|
248
|
+
s[n] && (i = I(null, r, n), i && (s[n].$elm$ = i, A(l, i, t)));
|
|
249
249
|
}, ce = (e, t, r) => {
|
|
250
250
|
for (let s = t; s <= r; ++s) {
|
|
251
251
|
const n = e[s];
|
|
@@ -255,7 +255,7 @@ var _, M, oe = !1, I = (e, t, r, s) => {
|
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
}, We = (e, t, r, s, n = !1) => {
|
|
258
|
-
let a = 0, l = 0,
|
|
258
|
+
let a = 0, l = 0, i = 0, o = 0, $ = t.length - 1, c = t[0], f = t[$], u = s.length - 1, d = s[0], v = s[u], g, y;
|
|
259
259
|
for (; a <= $ && l <= u; )
|
|
260
260
|
if (c == null)
|
|
261
261
|
c = t[++a];
|
|
@@ -274,12 +274,12 @@ var _, M, oe = !1, I = (e, t, r, s) => {
|
|
|
274
274
|
else if (P(f, d, n))
|
|
275
275
|
w(f, d, n), A(e, f.$elm$, c.$elm$), f = t[--$], d = s[++l];
|
|
276
276
|
else {
|
|
277
|
-
for (
|
|
278
|
-
if (t[
|
|
279
|
-
|
|
277
|
+
for (i = -1, o = a; o <= $; ++o)
|
|
278
|
+
if (t[o] && t[o].$key$ !== null && t[o].$key$ === d.$key$) {
|
|
279
|
+
i = o;
|
|
280
280
|
break;
|
|
281
281
|
}
|
|
282
|
-
|
|
282
|
+
i >= 0 ? (y = t[i], y.$tag$ !== d.$tag$ ? g = I(t && t[l], r, i) : (w(y, d, n), t[i] = void 0, g = y.$elm$), d = s[++l]) : (g = I(t && t[l], r, l), d = s[++l]), g && A(c.$elm$.parentNode, g, c.$elm$);
|
|
283
283
|
}
|
|
284
284
|
a > $ ? $e(
|
|
285
285
|
e,
|
|
@@ -291,16 +291,16 @@ var _, M, oe = !1, I = (e, t, r, s) => {
|
|
|
291
291
|
) : l > u && ce(t, a, $);
|
|
292
292
|
}, P = (e, t, r = !1) => e.$tag$ === t.$tag$ ? r ? !0 : e.$key$ === t.$key$ : !1, w = (e, t, r = !1) => {
|
|
293
293
|
const s = t.$elm$ = e.$elm$, n = e.$children$, a = t.$children$, l = t.$text$;
|
|
294
|
-
l === null ? (
|
|
294
|
+
l === null ? (oe(e, t, ie), n !== null && a !== null ? We(s, n, t, a, r) : a !== null ? (e.$text$ !== null && (s.textContent = ""), $e(s, null, t, a, 0, a.length - 1)) : n !== null && ce(n, 0, n.length - 1)) : e.$text$ !== l && (s.data = l);
|
|
295
295
|
}, fe = (e) => {
|
|
296
296
|
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(fe);
|
|
297
297
|
}, A = (e, t, r) => e == null ? void 0 : e.insertBefore(t, r), Ge = (e, t, r = !1) => {
|
|
298
298
|
const s = e.$hostElement$, n = e.$cmpMeta$, a = e.$vnode$ || B(null, null), l = He(t) ? t : Ue(null, null, t);
|
|
299
299
|
if (M = s.tagName, n.$attrsToReflect$ && (l.$attrs$ = l.$attrs$ || {}, n.$attrsToReflect$.map(
|
|
300
|
-
([
|
|
300
|
+
([i, o]) => l.$attrs$[o] = s[i]
|
|
301
301
|
)), r && l.$attrs$)
|
|
302
|
-
for (const
|
|
303
|
-
s.hasAttribute(
|
|
302
|
+
for (const i of Object.keys(l.$attrs$))
|
|
303
|
+
s.hasAttribute(i) && !["key", "ref", "style", "class"].includes(i) && (l.$attrs$[i] = s[i]);
|
|
304
304
|
l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = a.$elm$ = s.shadowRoot || s, _ = s["s-sc"], n.$flags$ & 1, w(a, l, r);
|
|
305
305
|
}, ue = (e, t) => {
|
|
306
306
|
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((r) => e.$onRenderResolve$ = r));
|
|
@@ -324,11 +324,11 @@ var _, M, oe = !1, I = (e, t, r, s) => {
|
|
|
324
324
|
var s;
|
|
325
325
|
const n = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = n["s-rc"];
|
|
326
326
|
r && De(e);
|
|
327
|
-
const
|
|
328
|
-
Qe(e, t, n, r), l && (l.map((
|
|
327
|
+
const i = S("render", e.$cmpMeta$.$tagName$);
|
|
328
|
+
Qe(e, t, n, r), l && (l.map((o) => o()), n["s-rc"] = void 0), i(), a();
|
|
329
329
|
{
|
|
330
|
-
const
|
|
331
|
-
|
|
330
|
+
const o = (s = n["s-p"]) != null ? s : [], $ = () => Ze(e);
|
|
331
|
+
o.length === 0 ? $() : (Promise.all(o).then($), e.$flags$ |= 4, o.length = 0);
|
|
332
332
|
}
|
|
333
333
|
}), Qe = (e, t, r, s) => {
|
|
334
334
|
try {
|
|
@@ -358,21 +358,21 @@ var _, M, oe = !1, I = (e, t, r, s) => {
|
|
|
358
358
|
throw new Error(
|
|
359
359
|
`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).`
|
|
360
360
|
);
|
|
361
|
-
const a = n.$hostElement$, l = n.$instanceValues$.get(t),
|
|
361
|
+
const a = n.$hostElement$, l = n.$instanceValues$.get(t), i = n.$flags$, o = n.$lazyInstance$;
|
|
362
362
|
r = Ce(r, s.$members$[t][0]);
|
|
363
363
|
const $ = Number.isNaN(l) && Number.isNaN(r), c = r !== l && !$;
|
|
364
|
-
if ((!(
|
|
365
|
-
if (s.$watchers$ &&
|
|
364
|
+
if ((!(i & 8) || l === void 0) && c && (n.$instanceValues$.set(t, r), o)) {
|
|
365
|
+
if (s.$watchers$ && i & 128) {
|
|
366
366
|
const f = s.$watchers$[t];
|
|
367
367
|
f && f.map((u) => {
|
|
368
368
|
try {
|
|
369
|
-
|
|
369
|
+
o[u](r, l, t);
|
|
370
370
|
} catch (d) {
|
|
371
371
|
b(d, a);
|
|
372
372
|
}
|
|
373
373
|
});
|
|
374
374
|
}
|
|
375
|
-
(
|
|
375
|
+
(i & 18) === 2 && W(n, !1);
|
|
376
376
|
}
|
|
377
377
|
}, he = (e, t, r) => {
|
|
378
378
|
var s, n;
|
|
@@ -380,23 +380,23 @@ var _, M, oe = !1, I = (e, t, r, s) => {
|
|
|
380
380
|
if (t.$members$ || t.$watchers$ || e.watchers) {
|
|
381
381
|
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
|
382
382
|
const l = Object.entries((s = t.$members$) != null ? s : {});
|
|
383
|
-
if (l.map(([
|
|
384
|
-
(
|
|
383
|
+
if (l.map(([i, [o]]) => {
|
|
384
|
+
(o & 31 || r & 2 && o & 32) && Object.defineProperty(a, i, {
|
|
385
385
|
get() {
|
|
386
|
-
return Ne(this,
|
|
386
|
+
return Ne(this, i);
|
|
387
387
|
},
|
|
388
388
|
set($) {
|
|
389
|
-
Ve(this,
|
|
389
|
+
Ve(this, i, $, t);
|
|
390
390
|
},
|
|
391
391
|
configurable: !0,
|
|
392
392
|
enumerable: !0
|
|
393
393
|
});
|
|
394
394
|
}), r & 1) {
|
|
395
|
-
const
|
|
396
|
-
a.attributeChangedCallback = function(
|
|
397
|
-
|
|
395
|
+
const i = /* @__PURE__ */ new Map();
|
|
396
|
+
a.attributeChangedCallback = function(o, $, c) {
|
|
397
|
+
h.jmp(() => {
|
|
398
398
|
var f;
|
|
399
|
-
const u =
|
|
399
|
+
const u = i.get(o);
|
|
400
400
|
if (this.hasOwnProperty(u))
|
|
401
401
|
c = this[u], delete this[u];
|
|
402
402
|
else {
|
|
@@ -405,9 +405,9 @@ var _, M, oe = !1, I = (e, t, r, s) => {
|
|
|
405
405
|
if (u == null) {
|
|
406
406
|
const d = E(this), v = d == null ? void 0 : d.$flags$;
|
|
407
407
|
if (v && !(v & 8) && v & 128 && c !== $) {
|
|
408
|
-
const
|
|
408
|
+
const g = d.$lazyInstance$, y = (f = t.$watchers$) == null ? void 0 : f[o];
|
|
409
409
|
y == null || y.forEach((p) => {
|
|
410
|
-
|
|
410
|
+
g[p] != null && g[p].call(g, c, $, o);
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
413
|
return;
|
|
@@ -419,12 +419,12 @@ var _, M, oe = !1, I = (e, t, r, s) => {
|
|
|
419
419
|
/* @__PURE__ */ new Set([
|
|
420
420
|
...Object.keys((n = t.$watchers$) != null ? n : {}),
|
|
421
421
|
...l.filter(
|
|
422
|
-
([
|
|
422
|
+
([o, $]) => $[0] & 15
|
|
423
423
|
/* HasAttribute */
|
|
424
|
-
).map(([
|
|
424
|
+
).map(([o, $]) => {
|
|
425
425
|
var c;
|
|
426
|
-
const f = $[1] ||
|
|
427
|
-
return
|
|
426
|
+
const f = $[1] || o;
|
|
427
|
+
return i.set(f, o), $[0] & 512 && ((c = t.$attrsToReflect$) == null || c.push([o, f])), f;
|
|
428
428
|
})
|
|
429
429
|
])
|
|
430
430
|
);
|
|
@@ -435,12 +435,12 @@ var _, M, oe = !1, I = (e, t, r, s) => {
|
|
|
435
435
|
let n;
|
|
436
436
|
if (!(t.$flags$ & 32)) {
|
|
437
437
|
if (t.$flags$ |= 32, r.$lazyBundleId$) {
|
|
438
|
-
const
|
|
439
|
-
if (
|
|
438
|
+
const o = ke(r);
|
|
439
|
+
if (o && "then" in o) {
|
|
440
440
|
const c = Oe();
|
|
441
|
-
n = yield
|
|
441
|
+
n = yield o, c();
|
|
442
442
|
} else
|
|
443
|
-
n =
|
|
443
|
+
n = o;
|
|
444
444
|
if (!n)
|
|
445
445
|
throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);
|
|
446
446
|
n.isProxied || (r.$watchers$ = n.watchers, he(
|
|
@@ -459,19 +459,19 @@ var _, M, oe = !1, I = (e, t, r, s) => {
|
|
|
459
459
|
t.$flags$ &= -9, t.$flags$ |= 128, $(), q(t.$lazyInstance$);
|
|
460
460
|
} else {
|
|
461
461
|
n = e.constructor;
|
|
462
|
-
const
|
|
463
|
-
customElements.whenDefined(
|
|
462
|
+
const o = e.localName;
|
|
463
|
+
customElements.whenDefined(o).then(
|
|
464
464
|
() => t.$flags$ |= 128
|
|
465
465
|
/* isWatchReady */
|
|
466
466
|
);
|
|
467
467
|
}
|
|
468
468
|
if (n && n.style) {
|
|
469
|
-
let
|
|
470
|
-
typeof n.style == "string" && (
|
|
469
|
+
let o;
|
|
470
|
+
typeof n.style == "string" && (o = n.style);
|
|
471
471
|
const $ = le(r);
|
|
472
472
|
if (!L.has($)) {
|
|
473
473
|
const c = S("registerStyles", r.$tagName$);
|
|
474
|
-
qe($,
|
|
474
|
+
qe($, o, !!(r.$flags$ & 1)), c();
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
477
|
}
|
|
@@ -480,7 +480,7 @@ var _, M, oe = !1, I = (e, t, r, s) => {
|
|
|
480
480
|
}), q = (e) => {
|
|
481
481
|
O(e, "connectedCallback");
|
|
482
482
|
}, tt = (e) => {
|
|
483
|
-
if (!(
|
|
483
|
+
if (!(h.$flags$ & 1)) {
|
|
484
484
|
const t = E(e), r = t.$cmpMeta$, s = S("connectedCallback", r.$tagName$);
|
|
485
485
|
if (t.$flags$ & 1)
|
|
486
486
|
t != null && t.$lazyInstance$ ? q(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => q(t.$lazyInstance$));
|
|
@@ -506,26 +506,26 @@ var _, M, oe = !1, I = (e, t, r, s) => {
|
|
|
506
506
|
}, V = (e) => {
|
|
507
507
|
O(e, "disconnectedCallback");
|
|
508
508
|
}, st = (e) => T(void 0, null, function* () {
|
|
509
|
-
if (!(
|
|
509
|
+
if (!(h.$flags$ & 1)) {
|
|
510
510
|
const t = E(e);
|
|
511
511
|
t != null && t.$lazyInstance$ ? V(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => V(t.$lazyInstance$));
|
|
512
512
|
}
|
|
513
513
|
}), at = (e, t = {}) => {
|
|
514
514
|
var r;
|
|
515
|
-
const s = S(), n = [], a = t.exclude || [], l = j.customElements,
|
|
515
|
+
const s = S(), n = [], a = t.exclude || [], l = j.customElements, i = m.head, o = /* @__PURE__ */ i.querySelector("meta[charset]"), $ = /* @__PURE__ */ m.createElement("style"), c = [];
|
|
516
516
|
let f, u = !0;
|
|
517
|
-
Object.assign(
|
|
517
|
+
Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
|
|
518
518
|
let d = !1;
|
|
519
519
|
if (e.map((v) => {
|
|
520
|
-
v[1].map((
|
|
520
|
+
v[1].map((g) => {
|
|
521
521
|
var y;
|
|
522
522
|
const p = {
|
|
523
|
-
$flags$:
|
|
524
|
-
$tagName$:
|
|
525
|
-
$members$:
|
|
526
|
-
$listeners$:
|
|
523
|
+
$flags$: g[0],
|
|
524
|
+
$tagName$: g[1],
|
|
525
|
+
$members$: g[2],
|
|
526
|
+
$listeners$: g[3]
|
|
527
527
|
};
|
|
528
|
-
p.$flags$ & 4 && (d = !0), p.$members$ =
|
|
528
|
+
p.$flags$ & 4 && (d = !0), p.$members$ = g[2], p.$attrsToReflect$ = [], p.$watchers$ = (y = g[4]) != null ? y : {};
|
|
529
529
|
const x = p.$tagName$, ge = class extends HTMLElement {
|
|
530
530
|
// StencilLazyHost
|
|
531
531
|
constructor(k) {
|
|
@@ -539,10 +539,10 @@ var _, M, oe = !1, I = (e, t, r, s) => {
|
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
541
|
connectedCallback() {
|
|
542
|
-
E(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? c.push(this) :
|
|
542
|
+
E(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? c.push(this) : h.jmp(() => tt(this));
|
|
543
543
|
}
|
|
544
544
|
disconnectedCallback() {
|
|
545
|
-
|
|
545
|
+
h.jmp(() => st(this));
|
|
546
546
|
}
|
|
547
547
|
componentOnReady() {
|
|
548
548
|
return E(this).$onReadyPromise$;
|
|
@@ -560,11 +560,11 @@ var _, M, oe = !1, I = (e, t, r, s) => {
|
|
|
560
560
|
});
|
|
561
561
|
}), n.length > 0 && (d && ($.textContent += ee), $.textContent += n.sort() + be, $.innerHTML.length)) {
|
|
562
562
|
$.setAttribute("data-styles", "");
|
|
563
|
-
const v = (r =
|
|
564
|
-
v != null && $.setAttribute("nonce", v),
|
|
563
|
+
const v = (r = h.$nonce$) != null ? r : se(m);
|
|
564
|
+
v != null && $.setAttribute("nonce", v), i.insertBefore($, o ? o.nextSibling : i.firstChild);
|
|
565
565
|
}
|
|
566
|
-
u = !1, c.length ? c.map((v) => v.connectedCallback()) :
|
|
567
|
-
};
|
|
566
|
+
u = !1, c.length ? c.map((v) => v.connectedCallback()) : h.jmp(() => f = setTimeout(de, 30)), s();
|
|
567
|
+
}, ot = (e) => h.$nonce$ = e;
|
|
568
568
|
export {
|
|
569
569
|
ze as H,
|
|
570
570
|
at as b,
|
|
@@ -572,5 +572,6 @@ export {
|
|
|
572
572
|
Be as g,
|
|
573
573
|
Ue as h,
|
|
574
574
|
we as p,
|
|
575
|
-
rt as r
|
|
575
|
+
rt as r,
|
|
576
|
+
ot as s
|
|
576
577
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var P=(e,t,r)=>new Promise((s,n)=>{var a=i=>{try{o(r.next(i))}catch($){n($)}},l=i=>{try{o(r.throw(i))}catch($){n($)}},o=i=>i.done?s(i.value):Promise.resolve(i.value).then(a,l);o((r=r.apply(e,t)).next())});const Ee="casino-play-random-game",ke={hydratedSelectorName:"hydrated"};var be=Object.defineProperty,we=(e,t)=>{for(var r in t)be(e,r,{get:t[r],enumerable:!0})},R=new WeakMap,E=e=>R.get(e),Te=(e,t)=>R.set(t.$lazyInstance$=e,t),Pe=(e,t)=>{const r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return r.$onReadyPromise$=new Promise(s=>r.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],R.set(e,r)},G=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),z=new Map,xe=(e,t,r)=>{const s=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const a=z.get(n);if(a)return a[s];{const l=o=>(z.set(n,o),o[s]);switch(n){case"casino-play-random-game_2":return Promise.resolve().then(()=>require("./casino-play-random-game_2-BJVoDn1D.cjs")).then(l,b)}}return import(`./${n}.entry.js`).then(l=>(z.set(n,l),l[s]),b)},L=new Map,_e="{visibility:hidden}.hydrated{visibility:inherit}",ee="slot-fb{display:contents}slot-fb[hidden]{display:none}",j=typeof window!="undefined"?window:{},m=j.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,r,s)=>e.addEventListener(t,r,s),rel:(e,t,r,s)=>e.removeEventListener(t,r,s),ce:(e,t)=>new CustomEvent(e,t)},te=e=>Promise.resolve(e),Ae=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),U=!1,X=[],se=[],Le=(e,t)=>r=>{e.push(r),U||(U=!0,g.$flags$&4?D(H):g.raf(H))},Y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(r){b(r)}e.length=0},H=()=>{Y(X),Y(se),(U=X.length>0)&&g.raf(H)},D=e=>te().then(e),Ie=Le(se),J={},je=e=>e!=null,F=e=>(e=typeof e,e==="object"||e==="function");function ne(e){var t,r,s;return(s=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?s:void 0}var Oe={};we(Oe,{err:()=>re,map:()=>ze,ok:()=>C,unwrap:()=>Ue,unwrapErr:()=>He});var C=e=>({isOk:!0,isErr:!1,value:e}),re=e=>({isOk:!1,isErr:!0,value:e});function ze(e,t){if(e.isOk){const r=t(e.value);return r instanceof Promise?r.then(s=>C(s)):C(r)}if(e.isErr){const r=e.value;return re(r)}throw"should never get here"}var Ue=e=>{if(e.isOk)return e.value;throw e.value},He=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},Ce=(e,t)=>()=>{},le=(e,t,...r)=>{let s=null,n=null,a=!1,l=!1;const o=[],i=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?i(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!F(s))&&(s=String(s)),a&&l?o[o.length-1].$text$+=s:o.push(a?B(null,s):s),l=a)};if(i(r),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const $=B(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=n,$},B=(e,t)=>{const r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return r.$attrs$=null,r.$key$=null,r},ae={},Be=e=>e&&e.$tag$===ae,qe=(e,t)=>e!=null&&!F(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,ie=e=>E(e).$hostElement$,Re=(e,t,r)=>{const s=ie(e);return{emit:n=>oe(s,t,{bubbles:!0,composed:!0,cancelable:!0,detail:n})}},oe=(e,t,r)=>{const s=g.ce(t,r);return e.dispatchEvent(s),s},K=new WeakMap,De=(e,t,r)=>{let s=L.get(e);Ae&&r?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,L.set(e,s)},Fe=(e,t,r)=>{var s;const n=$e(t),a=L.get(n);if(e=e.nodeType===11?e:m,a)if(typeof a=="string"){e=e.head||e;let l=K.get(e),o;if(l||K.set(e,l=new Set),!l.has(n)){{o=m.createElement("style"),o.innerHTML=a;const i=(s=g.$nonce$)!=null?s:ne(m);i!=null&&o.setAttribute("nonce",i),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=ee),l&&l.add(n)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return n},Me=e=>{const t=e.$cmpMeta$,r=e.$hostElement$,s=t.$flags$,n=S("attachStyles",t.$tagName$),a=Fe(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);s&10&&(r["s-sc"]=a,r.classList.add(a+"-h")),n()},$e=(e,t)=>"sc-"+e.$tagName$,Q=(e,t,r,s,n,a)=>{if(r!==s){let l=G(e,t),o=t.toLowerCase();if(t==="class"){const i=e.classList,$=Z(r),c=Z(s);i.remove(...$.filter(f=>f&&!c.includes(f))),i.add(...c.filter(f=>f&&!$.includes(f)))}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):G(j,o)?t=o.slice(2):t=o[2]+t.slice(3),r||s){const i=t.endsWith(ce);t=t.replace(Ge,""),r&&g.rel(e,t,r,i),s&&g.ael(e,t,s,i)}}else{const i=F(s);if((l||i&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]=s;else{const $=s==null?"":s;t==="list"?l=!1:(r==null||e[t]!=$)&&(e[t]=$)}}catch($){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||a&4||n)&&!i&&(s=s===!0?"":s,e.setAttribute(t,s))}}},We=/\s/,Z=e=>e?e.split(We):[],ce="Capture",Ge=new RegExp(ce+"$"),fe=(e,t,r)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||J,a=t.$attrs$||J;for(const l of N(Object.keys(n)))l in a||Q(s,l,n[l],void 0,r,t.$flags$);for(const l of N(Object.keys(a)))Q(s,l,n[l],a[l],r,t.$flags$)};function N(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var _,M,ue=!1,I=(e,t,r,s)=>{const n=t.$children$[r];let a=0,l,o;if(n.$text$!==null)l=n.$elm$=m.createTextNode(n.$text$);else if(l=n.$elm$=m.createElement(n.$tag$),fe(null,n,ue),je(_)&&l["s-si"]!==_&&l.classList.add(l["s-si"]=_),n.$children$)for(a=0;a<n.$children$.length;++a)o=I(e,n,a),o&&l.appendChild(o);return l["s-hn"]=M,l},de=(e,t,r,s,n,a)=>{let l=e,o;for(l.shadowRoot&&l.tagName===M&&(l=l.shadowRoot);n<=a;++n)s[n]&&(o=I(null,r,n),o&&(s[n].$elm$=o,A(l,o,t)))},ve=(e,t,r)=>{for(let s=t;s<=r;++s){const n=e[s];if(n){const a=n.$elm$;he(n),a&&a.remove()}}},Xe=(e,t,r,s,n=!1)=>{let a=0,l=0,o=0,i=0,$=t.length-1,c=t[0],f=t[$],u=s.length-1,d=s[0],v=s[u],h,y;for(;a<=$&&l<=u;)if(c==null)c=t[++a];else if(f==null)f=t[--$];else if(d==null)d=s[++l];else if(v==null)v=s[--u];else if(x(c,d,n))w(c,d,n),c=t[++a],d=s[++l];else if(x(f,v,n))w(f,v,n),f=t[--$],v=s[--u];else if(x(c,v,n))w(c,v,n),A(e,c.$elm$,f.$elm$.nextSibling),c=t[++a],v=s[--u];else if(x(f,d,n))w(f,d,n),A(e,f.$elm$,c.$elm$),f=t[--$],d=s[++l];else{for(o=-1,i=a;i<=$;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===d.$key$){o=i;break}o>=0?(y=t[o],y.$tag$!==d.$tag$?h=I(t&&t[l],r,o):(w(y,d,n),t[o]=void 0,h=y.$elm$),d=s[++l]):(h=I(t&&t[l],r,l),d=s[++l]),h&&A(c.$elm$.parentNode,h,c.$elm$)}a>$?de(e,s[u+1]==null?null:s[u+1].$elm$,r,s,l,u):l>u&&ve(t,a,$)},x=(e,t,r=!1)=>e.$tag$===t.$tag$?r?!0:e.$key$===t.$key$:!1,w=(e,t,r=!1)=>{const s=t.$elm$=e.$elm$,n=e.$children$,a=t.$children$,l=t.$text$;l===null?(fe(e,t,ue),n!==null&&a!==null?Xe(s,n,t,a,r):a!==null?(e.$text$!==null&&(s.textContent=""),de(s,null,t,a,0,a.length-1)):n!==null&&ve(n,0,n.length-1)):e.$text$!==l&&(s.data=l)},he=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(he)},A=(e,t,r)=>e==null?void 0:e.insertBefore(t,r),Ye=(e,t,r=!1)=>{const s=e.$hostElement$,n=e.$cmpMeta$,a=e.$vnode$||B(null,null),l=Be(t)?t:le(null,null,t);if(M=s.tagName,n.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},n.$attrsToReflect$.map(([o,i])=>l.$attrs$[i]=s[o])),r&&l.$attrs$)for(const o of Object.keys(l.$attrs$))s.hasAttribute(o)&&!["key","ref","style","class"].includes(o)&&(l.$attrs$[o]=s[o]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=a.$elm$=s.shadowRoot||s,_=s["s-sc"],n.$flags$&1,w(a,l,r)},ge=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(r=>e.$onRenderResolve$=r))},W=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ge(e,e.$ancestorComponent$),Ie(()=>Je(e,t))},Je=(e,t)=>{const r=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return t&&(a=O(n,"componentWillLoad")),s(),Ke(a,()=>Ze(e,n,t))},Ke=(e,t)=>Qe(e)?e.then(t).catch(r=>{console.error(r),t()}):t(),Qe=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ze=(e,t,r)=>P(exports,null,function*(){var s;const n=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=n["s-rc"];r&&Me(e);const o=S("render",e.$cmpMeta$.$tagName$);Ne(e,t,n,r),l&&(l.map(i=>i()),n["s-rc"]=void 0),o(),a();{const i=(s=n["s-p"])!=null?s:[],$=()=>Ve(e);i.length===0?$():(Promise.all(i).then($),e.$flags$|=4,i.length=0)}}),Ne=(e,t,r,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ye(e,t,s)}catch(n){b(n,e.$hostElement$)}return null},Ve=e=>{const t=e.$cmpMeta$.$tagName$,r=e.$hostElement$,s=S("postUpdate",t),n=e.$lazyInstance$,a=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ye(r),O(n,"componentDidLoad"),s(),e.$onReadyResolve$(r),a||pe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&D(()=>W(e,!1)),e.$flags$&=-517},pe=e=>{ye(m.documentElement),D(()=>oe(j,"appload",{detail:{namespace:Ee}}))},O=(e,t,r)=>{if(e&&e[t])try{return e[t](r)}catch(s){b(s)}},ye=e=>{var t;return e.classList.add((t=ke.hydratedSelectorName)!=null?t:"hydrated")},et=(e,t)=>E(e).$instanceValues$.get(t),tt=(e,t,r,s)=>{const n=E(e);if(!n)throw new Error(`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).`);const a=n.$hostElement$,l=n.$instanceValues$.get(t),o=n.$flags$,i=n.$lazyInstance$;r=qe(r,s.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(r),c=r!==l&&!$;if((!(o&8)||l===void 0)&&c&&(n.$instanceValues$.set(t,r),i)){if(s.$watchers$&&o&128){const f=s.$watchers$[t];f&&f.map(u=>{try{i[u](r,l,t)}catch(d){b(d,a)}})}(o&18)===2&&W(n,!1)}},me=(e,t,r)=>{var s,n;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([o,[i]])=>{(i&31||r&2&&i&32)&&Object.defineProperty(a,o,{get(){return et(this,o)},set($){tt(this,o,$,t)},configurable:!0,enumerable:!0})}),r&1){const o=new Map;a.attributeChangedCallback=function(i,$,c){g.jmp(()=>{var f;const u=o.get(i);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(a.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const d=E(this),v=d==null?void 0:d.$flags$;if(v&&!(v&8)&&v&128&&c!==$){const h=d.$lazyInstance$,y=(f=t.$watchers$)==null?void 0:f[i];y==null||y.forEach(p=>{h[p]!=null&&h[p].call(h,c,$,i)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...l.filter(([i,$])=>$[0]&15).map(([i,$])=>{var c;const f=$[1]||i;return o.set(f,i),$[0]&512&&((c=t.$attrsToReflect$)==null||c.push([i,f])),f})]))}}return e},st=(e,t,r,s)=>P(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,r.$lazyBundleId$){const i=xe(r);if(i&&"then"in i){const c=Ce();n=yield i,c()}else n=i;if(!n)throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(r.$watchers$=n.watchers,me(n,r,2),n.isProxied=!0);const $=S("createInstance",r.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){b(c)}t.$flags$&=-9,t.$flags$|=128,$(),q(t.$lazyInstance$)}else{n=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(n&&n.style){let i;typeof n.style=="string"&&(i=n.style);const $=$e(r);if(!L.has($)){const c=S("registerStyles",r.$tagName$);De($,i,!!(r.$flags$&1)),c()}}}const a=t.$ancestorComponent$,l=()=>W(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),q=e=>{O(e,"connectedCallback")},nt=e=>{if(!(g.$flags$&1)){const t=E(e),r=t.$cmpMeta$,s=S("connectedCallback",r.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$?q(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>q(t.$lazyInstance$));else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ge(t,t.$ancestorComponent$=n);break}}r.$members$&&Object.entries(r.$members$).map(([n,[a]])=>{if(a&31&&e.hasOwnProperty(n)){const l=e[n];delete e[n],e[n]=l}}),st(e,t,r)}s()}},V=e=>{O(e,"disconnectedCallback")},rt=e=>P(exports,null,function*(){if(!(g.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$?V(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>V(t.$lazyInstance$))}}),lt=(e,t={})=>{var r;const s=S(),n=[],a=t.exclude||[],l=j.customElements,o=m.head,i=o.querySelector("meta[charset]"),$=m.createElement("style"),c=[];let f,u=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let d=!1;if(e.map(v=>{v[1].map(h=>{var y;const p={$flags$:h[0],$tagName$:h[1],$members$:h[2],$listeners$:h[3]};p.$flags$&4&&(d=!0),p.$members$=h[2],p.$attrsToReflect$=[],p.$watchers$=(y=h[4])!=null?y:{};const T=p.$tagName$,Se=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,Pe(k,p),p.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):g.jmp(()=>nt(this))}disconnectedCallback(){g.jmp(()=>rt(this))}componentOnReady(){return E(this).$onReadyPromise$}};p.$lazyBundleId$=v[0],!a.includes(T)&&!l.get(T)&&(n.push(T),l.define(T,me(Se,p,1)))})}),n.length>0&&(d&&($.textContent+=ee),$.textContent+=n.sort()+_e,$.innerHTML.length)){$.setAttribute("data-styles","");const v=(r=g.$nonce$)!=null?r:ne(m);v!=null&&$.setAttribute("nonce",v),o.insertBefore($,i?i.nextSibling:o.firstChild)}u=!1,c.length?c.map(v=>v.connectedCallback()):g.jmp(()=>f=setTimeout(pe,30)),s()};exports.Host=ae;exports.bootstrapLazy=lt;exports.createEvent=Re;exports.getElement=ie;exports.h=le;exports.promiseResolve=te;exports.registerInstance=Te;
|
|
1
|
+
"use strict";var P=(e,t,r)=>new Promise((s,n)=>{var a=o=>{try{i(r.next(o))}catch($){n($)}},l=o=>{try{i(r.throw(o))}catch($){n($)}},i=o=>o.done?s(o.value):Promise.resolve(o.value).then(a,l);i((r=r.apply(e,t)).next())});const Ee="casino-play-random-game",ke={hydratedSelectorName:"hydrated"};var be=Object.defineProperty,we=(e,t)=>{for(var r in t)be(e,r,{get:t[r],enumerable:!0})},R=new WeakMap,E=e=>R.get(e),Te=(e,t)=>R.set(t.$lazyInstance$=e,t),Pe=(e,t)=>{const r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return r.$onReadyPromise$=new Promise(s=>r.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],R.set(e,r)},G=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),z=new Map,xe=(e,t,r)=>{const s=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const a=z.get(n);if(a)return a[s];{const l=i=>(z.set(n,i),i[s]);switch(n){case"casino-play-random-game_2":return Promise.resolve().then(()=>require("./casino-play-random-game_2-CYSobUaR.cjs")).then(l,b)}}return import(`./${n}.entry.js`).then(l=>(z.set(n,l),l[s]),b)},L=new Map,_e="{visibility:hidden}.hydrated{visibility:inherit}",ee="slot-fb{display:contents}slot-fb[hidden]{display:none}",j=typeof window!="undefined"?window:{},m=j.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,r,s)=>e.addEventListener(t,r,s),rel:(e,t,r,s)=>e.removeEventListener(t,r,s),ce:(e,t)=>new CustomEvent(e,t)},te=e=>Promise.resolve(e),Ae=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),U=!1,X=[],se=[],Le=(e,t)=>r=>{e.push(r),U||(U=!0,h.$flags$&4?D(H):h.raf(H))},Y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(r){b(r)}e.length=0},H=()=>{Y(X),Y(se),(U=X.length>0)&&h.raf(H)},D=e=>te().then(e),Ie=Le(se),J={},je=e=>e!=null,F=e=>(e=typeof e,e==="object"||e==="function");function ne(e){var t,r,s;return(s=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?s:void 0}var Oe={};we(Oe,{err:()=>re,map:()=>ze,ok:()=>C,unwrap:()=>Ue,unwrapErr:()=>He});var C=e=>({isOk:!0,isErr:!1,value:e}),re=e=>({isOk:!1,isErr:!0,value:e});function ze(e,t){if(e.isOk){const r=t(e.value);return r instanceof Promise?r.then(s=>C(s)):C(r)}if(e.isErr){const r=e.value;return re(r)}throw"should never get here"}var Ue=e=>{if(e.isOk)return e.value;throw e.value},He=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},Ce=(e,t)=>()=>{},le=(e,t,...r)=>{let s=null,n=null,a=!1,l=!1;const i=[],o=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?o(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!F(s))&&(s=String(s)),a&&l?i[i.length-1].$text$+=s:i.push(a?B(null,s):s),l=a)};if(o(r),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const $=B(e,null);return $.$attrs$=t,i.length>0&&($.$children$=i),$.$key$=n,$},B=(e,t)=>{const r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return r.$attrs$=null,r.$key$=null,r},ae={},Be=e=>e&&e.$tag$===ae,qe=(e,t)=>e!=null&&!F(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,oe=e=>E(e).$hostElement$,Re=(e,t,r)=>{const s=oe(e);return{emit:n=>ie(s,t,{bubbles:!0,composed:!0,cancelable:!0,detail:n})}},ie=(e,t,r)=>{const s=h.ce(t,r);return e.dispatchEvent(s),s},K=new WeakMap,De=(e,t,r)=>{let s=L.get(e);Ae&&r?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,L.set(e,s)},Fe=(e,t,r)=>{var s;const n=$e(t),a=L.get(n);if(e=e.nodeType===11?e:m,a)if(typeof a=="string"){e=e.head||e;let l=K.get(e),i;if(l||K.set(e,l=new Set),!l.has(n)){{i=m.createElement("style"),i.innerHTML=a;const o=(s=h.$nonce$)!=null?s:ne(m);o!=null&&i.setAttribute("nonce",o),e.insertBefore(i,e.querySelector("link"))}t.$flags$&4&&(i.innerHTML+=ee),l&&l.add(n)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return n},Me=e=>{const t=e.$cmpMeta$,r=e.$hostElement$,s=t.$flags$,n=S("attachStyles",t.$tagName$),a=Fe(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);s&10&&(r["s-sc"]=a,r.classList.add(a+"-h")),n()},$e=(e,t)=>"sc-"+e.$tagName$,Q=(e,t,r,s,n,a)=>{if(r!==s){let l=G(e,t),i=t.toLowerCase();if(t==="class"){const o=e.classList,$=Z(r),c=Z(s);o.remove(...$.filter(f=>f&&!c.includes(f))),o.add(...c.filter(f=>f&&!$.includes(f)))}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):G(j,i)?t=i.slice(2):t=i[2]+t.slice(3),r||s){const o=t.endsWith(ce);t=t.replace(Ge,""),r&&h.rel(e,t,r,o),s&&h.ael(e,t,s,o)}}else{const o=F(s);if((l||o&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]=s;else{const $=s==null?"":s;t==="list"?l=!1:(r==null||e[t]!=$)&&(e[t]=$)}}catch($){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||a&4||n)&&!o&&(s=s===!0?"":s,e.setAttribute(t,s))}}},We=/\s/,Z=e=>e?e.split(We):[],ce="Capture",Ge=new RegExp(ce+"$"),fe=(e,t,r)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||J,a=t.$attrs$||J;for(const l of N(Object.keys(n)))l in a||Q(s,l,n[l],void 0,r,t.$flags$);for(const l of N(Object.keys(a)))Q(s,l,n[l],a[l],r,t.$flags$)};function N(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var _,M,ue=!1,I=(e,t,r,s)=>{const n=t.$children$[r];let a=0,l,i;if(n.$text$!==null)l=n.$elm$=m.createTextNode(n.$text$);else if(l=n.$elm$=m.createElement(n.$tag$),fe(null,n,ue),je(_)&&l["s-si"]!==_&&l.classList.add(l["s-si"]=_),n.$children$)for(a=0;a<n.$children$.length;++a)i=I(e,n,a),i&&l.appendChild(i);return l["s-hn"]=M,l},de=(e,t,r,s,n,a)=>{let l=e,i;for(l.shadowRoot&&l.tagName===M&&(l=l.shadowRoot);n<=a;++n)s[n]&&(i=I(null,r,n),i&&(s[n].$elm$=i,A(l,i,t)))},ve=(e,t,r)=>{for(let s=t;s<=r;++s){const n=e[s];if(n){const a=n.$elm$;he(n),a&&a.remove()}}},Xe=(e,t,r,s,n=!1)=>{let a=0,l=0,i=0,o=0,$=t.length-1,c=t[0],f=t[$],u=s.length-1,d=s[0],v=s[u],g,y;for(;a<=$&&l<=u;)if(c==null)c=t[++a];else if(f==null)f=t[--$];else if(d==null)d=s[++l];else if(v==null)v=s[--u];else if(x(c,d,n))w(c,d,n),c=t[++a],d=s[++l];else if(x(f,v,n))w(f,v,n),f=t[--$],v=s[--u];else if(x(c,v,n))w(c,v,n),A(e,c.$elm$,f.$elm$.nextSibling),c=t[++a],v=s[--u];else if(x(f,d,n))w(f,d,n),A(e,f.$elm$,c.$elm$),f=t[--$],d=s[++l];else{for(i=-1,o=a;o<=$;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===d.$key$){i=o;break}i>=0?(y=t[i],y.$tag$!==d.$tag$?g=I(t&&t[l],r,i):(w(y,d,n),t[i]=void 0,g=y.$elm$),d=s[++l]):(g=I(t&&t[l],r,l),d=s[++l]),g&&A(c.$elm$.parentNode,g,c.$elm$)}a>$?de(e,s[u+1]==null?null:s[u+1].$elm$,r,s,l,u):l>u&&ve(t,a,$)},x=(e,t,r=!1)=>e.$tag$===t.$tag$?r?!0:e.$key$===t.$key$:!1,w=(e,t,r=!1)=>{const s=t.$elm$=e.$elm$,n=e.$children$,a=t.$children$,l=t.$text$;l===null?(fe(e,t,ue),n!==null&&a!==null?Xe(s,n,t,a,r):a!==null?(e.$text$!==null&&(s.textContent=""),de(s,null,t,a,0,a.length-1)):n!==null&&ve(n,0,n.length-1)):e.$text$!==l&&(s.data=l)},he=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(he)},A=(e,t,r)=>e==null?void 0:e.insertBefore(t,r),Ye=(e,t,r=!1)=>{const s=e.$hostElement$,n=e.$cmpMeta$,a=e.$vnode$||B(null,null),l=Be(t)?t:le(null,null,t);if(M=s.tagName,n.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},n.$attrsToReflect$.map(([i,o])=>l.$attrs$[o]=s[i])),r&&l.$attrs$)for(const i of Object.keys(l.$attrs$))s.hasAttribute(i)&&!["key","ref","style","class"].includes(i)&&(l.$attrs$[i]=s[i]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=a.$elm$=s.shadowRoot||s,_=s["s-sc"],n.$flags$&1,w(a,l,r)},ge=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(r=>e.$onRenderResolve$=r))},W=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ge(e,e.$ancestorComponent$),Ie(()=>Je(e,t))},Je=(e,t)=>{const r=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return t&&(a=O(n,"componentWillLoad")),s(),Ke(a,()=>Ze(e,n,t))},Ke=(e,t)=>Qe(e)?e.then(t).catch(r=>{console.error(r),t()}):t(),Qe=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ze=(e,t,r)=>P(exports,null,function*(){var s;const n=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=n["s-rc"];r&&Me(e);const i=S("render",e.$cmpMeta$.$tagName$);Ne(e,t,n,r),l&&(l.map(o=>o()),n["s-rc"]=void 0),i(),a();{const o=(s=n["s-p"])!=null?s:[],$=()=>Ve(e);o.length===0?$():(Promise.all(o).then($),e.$flags$|=4,o.length=0)}}),Ne=(e,t,r,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ye(e,t,s)}catch(n){b(n,e.$hostElement$)}return null},Ve=e=>{const t=e.$cmpMeta$.$tagName$,r=e.$hostElement$,s=S("postUpdate",t),n=e.$lazyInstance$,a=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ye(r),O(n,"componentDidLoad"),s(),e.$onReadyResolve$(r),a||pe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&D(()=>W(e,!1)),e.$flags$&=-517},pe=e=>{ye(m.documentElement),D(()=>ie(j,"appload",{detail:{namespace:Ee}}))},O=(e,t,r)=>{if(e&&e[t])try{return e[t](r)}catch(s){b(s)}},ye=e=>{var t;return e.classList.add((t=ke.hydratedSelectorName)!=null?t:"hydrated")},et=(e,t)=>E(e).$instanceValues$.get(t),tt=(e,t,r,s)=>{const n=E(e);if(!n)throw new Error(`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).`);const a=n.$hostElement$,l=n.$instanceValues$.get(t),i=n.$flags$,o=n.$lazyInstance$;r=qe(r,s.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(r),c=r!==l&&!$;if((!(i&8)||l===void 0)&&c&&(n.$instanceValues$.set(t,r),o)){if(s.$watchers$&&i&128){const f=s.$watchers$[t];f&&f.map(u=>{try{o[u](r,l,t)}catch(d){b(d,a)}})}(i&18)===2&&W(n,!1)}},me=(e,t,r)=>{var s,n;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([i,[o]])=>{(o&31||r&2&&o&32)&&Object.defineProperty(a,i,{get(){return et(this,i)},set($){tt(this,i,$,t)},configurable:!0,enumerable:!0})}),r&1){const i=new Map;a.attributeChangedCallback=function(o,$,c){h.jmp(()=>{var f;const u=i.get(o);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(a.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const d=E(this),v=d==null?void 0:d.$flags$;if(v&&!(v&8)&&v&128&&c!==$){const g=d.$lazyInstance$,y=(f=t.$watchers$)==null?void 0:f[o];y==null||y.forEach(p=>{g[p]!=null&&g[p].call(g,c,$,o)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...l.filter(([o,$])=>$[0]&15).map(([o,$])=>{var c;const f=$[1]||o;return i.set(f,o),$[0]&512&&((c=t.$attrsToReflect$)==null||c.push([o,f])),f})]))}}return e},st=(e,t,r,s)=>P(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,r.$lazyBundleId$){const o=xe(r);if(o&&"then"in o){const c=Ce();n=yield o,c()}else n=o;if(!n)throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(r.$watchers$=n.watchers,me(n,r,2),n.isProxied=!0);const $=S("createInstance",r.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){b(c)}t.$flags$&=-9,t.$flags$|=128,$(),q(t.$lazyInstance$)}else{n=e.constructor;const o=e.localName;customElements.whenDefined(o).then(()=>t.$flags$|=128)}if(n&&n.style){let o;typeof n.style=="string"&&(o=n.style);const $=$e(r);if(!L.has($)){const c=S("registerStyles",r.$tagName$);De($,o,!!(r.$flags$&1)),c()}}}const a=t.$ancestorComponent$,l=()=>W(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),q=e=>{O(e,"connectedCallback")},nt=e=>{if(!(h.$flags$&1)){const t=E(e),r=t.$cmpMeta$,s=S("connectedCallback",r.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$?q(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>q(t.$lazyInstance$));else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ge(t,t.$ancestorComponent$=n);break}}r.$members$&&Object.entries(r.$members$).map(([n,[a]])=>{if(a&31&&e.hasOwnProperty(n)){const l=e[n];delete e[n],e[n]=l}}),st(e,t,r)}s()}},V=e=>{O(e,"disconnectedCallback")},rt=e=>P(exports,null,function*(){if(!(h.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$?V(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>V(t.$lazyInstance$))}}),lt=(e,t={})=>{var r;const s=S(),n=[],a=t.exclude||[],l=j.customElements,i=m.head,o=i.querySelector("meta[charset]"),$=m.createElement("style"),c=[];let f,u=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let d=!1;if(e.map(v=>{v[1].map(g=>{var y;const p={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};p.$flags$&4&&(d=!0),p.$members$=g[2],p.$attrsToReflect$=[],p.$watchers$=(y=g[4])!=null?y:{};const T=p.$tagName$,Se=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,Pe(k,p),p.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):h.jmp(()=>nt(this))}disconnectedCallback(){h.jmp(()=>rt(this))}componentOnReady(){return E(this).$onReadyPromise$}};p.$lazyBundleId$=v[0],!a.includes(T)&&!l.get(T)&&(n.push(T),l.define(T,me(Se,p,1)))})}),n.length>0&&(d&&($.textContent+=ee),$.textContent+=n.sort()+_e,$.innerHTML.length)){$.setAttribute("data-styles","");const v=(r=h.$nonce$)!=null?r:ne(m);v!=null&&$.setAttribute("nonce",v),i.insertBefore($,o?o.nextSibling:i.firstChild)}u=!1,c.length?c.map(v=>v.connectedCallback()):h.jmp(()=>f=setTimeout(pe,30)),s()},at=e=>h.$nonce$=e;exports.Host=ae;exports.bootstrapLazy=lt;exports.createEvent=Re;exports.getElement=oe;exports.h=le;exports.promiseResolve=te;exports.registerInstance=Te;exports.setNonce=at;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const i=require("./index-242ac81a-CjjM4VND.cjs"),n=".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}",a=n,r=class{constructor(e){i.registerInstance(this,e),this.hasStarted=!1,this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.loading="lazy",this.imgLoaded=!1}onSrcChange(){this.loading!=="eager"&&(this.imgLoaded=!1,this.hasStarted=!1,(typeof window=="undefined"||!("IntersectionObserver"in window))&&this.beginLoad())}onLoadingChange(e,t){e!==t&&(this.cleanupObserver(),this.detachImgHandlers(),e==="eager"?(this.imgEl&&this.src&&(this.imgEl.src=this.src),this.hasStarted=!0):(this.imgLoaded=!1,this.hasStarted=!1,this.setupObserver()))}componentDidLoad(){this.loading!=="eager"&&this.setupObserver()}disconnectedCallback(){this.cleanupObserver(),this.detachImgHandlers()}canUseIO(){return typeof window!="undefined"&&"IntersectionObserver"in window}setupObserver(){if(this.loading!=="eager"){if(!this.canUseIO()){this.beginLoad();return}this.io=new IntersectionObserver(e=>{var t;for(const s of e)if(s.isIntersecting){this.beginLoad(),(t=this.io)===null||t===void 0||t.unobserve(s.target),this.cleanupObserver();break}},{root:null,rootMargin:this.detectDistance,threshold:0}),this.io.observe(this.el)}}cleanupObserver(){var e;(e=this.io)===null||e===void 0||e.disconnect(),this.io=void 0}wireOnceHandlers(){this.imgEl&&(this.detachImgHandlers(),this._onLoad=()=>{var e;this.currentSrc&&(!((e=this.imgEl)===null||e===void 0)&&e.currentSrc)&&!this.imgEl.currentSrc.includes(this.currentSrc)||(this.imgLoaded=!0)},this._onError=()=>{console.error("Load image failed:",this.src)},this.imgEl.addEventListener("load",this._onLoad,{once:!0}),this.imgEl.addEventListener("error",this._onError,{once:!0}))}detachImgHandlers(){this.imgEl&&(this._onLoad&&this.imgEl.removeEventListener("load",this._onLoad),this._onError&&this.imgEl.removeEventListener("error",this._onError),this._onLoad=void 0,this._onError=void 0)}beginLoad(){if(!this.hasStarted&&this.imgEl&&this.src){if(this.hasStarted=!0,this.wireOnceHandlers(),this.imgEl.complete&&this.imgEl.naturalWidth>0){this.imgLoaded=!0;return}this.currentSrc=this.src,this.imgEl.src=this.src,this.imgEl.complete&&this.imgEl.naturalWidth>0&&(this.imgLoaded=!0)}}get showSkeleton(){return this.loading!=="eager"&&!this.imgLoaded}renderEager(){return i.h(i.Host,{class:"HostContainer"},i.h("img",{src:this.src,decoding:"async",style:this.styles,class:"UiContainer Visible",alt:this.alt,width:this.width,height:this.height,loading:"eager"}))}renderLazy(){return i.h(i.Host,{class:"HostContainer","aria-busy":this.imgLoaded?"false":"true"},this.showSkeleton&&i.h("ui-skeleton",{class:"UiContainer",structure:"image",width:"100%",height:"100%"}),i.h("img",{ref:e=>this.imgEl=e,src:void 0,decoding:"async",style:this.styles,class:`UiContainer ${this.imgLoaded?"Visible":"Hidden"}`,alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}render(){return this.loading==="eager"?this.renderEager():this.renderLazy()}get el(){return i.getElement(this)}static get watchers(){return{src:["onSrcChange"],loading:["onLoadingChange"]}}};r.style=a;exports.UiImage=r;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { r as n, h as t, H as r, g as a } from "./index-242ac81a-CI4JxPRf.js";
|
|
2
|
+
const h = ".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}", o = h, d = class {
|
|
3
|
+
constructor(e) {
|
|
4
|
+
n(this, e), this.hasStarted = !1, this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.styles = void 0, this.detectDistance = "200px", this.loading = "lazy", this.imgLoaded = !1;
|
|
5
|
+
}
|
|
6
|
+
onSrcChange() {
|
|
7
|
+
this.loading !== "eager" && (this.imgLoaded = !1, this.hasStarted = !1, (typeof window > "u" || !("IntersectionObserver" in window)) && this.beginLoad());
|
|
8
|
+
}
|
|
9
|
+
onLoadingChange(e, i) {
|
|
10
|
+
e !== i && (this.cleanupObserver(), this.detachImgHandlers(), e === "eager" ? (this.imgEl && this.src && (this.imgEl.src = this.src), this.hasStarted = !0) : (this.imgLoaded = !1, this.hasStarted = !1, this.setupObserver()));
|
|
11
|
+
}
|
|
12
|
+
componentDidLoad() {
|
|
13
|
+
this.loading !== "eager" && this.setupObserver();
|
|
14
|
+
}
|
|
15
|
+
disconnectedCallback() {
|
|
16
|
+
this.cleanupObserver(), this.detachImgHandlers();
|
|
17
|
+
}
|
|
18
|
+
canUseIO() {
|
|
19
|
+
return typeof window < "u" && "IntersectionObserver" in window;
|
|
20
|
+
}
|
|
21
|
+
setupObserver() {
|
|
22
|
+
if (this.loading !== "eager") {
|
|
23
|
+
if (!this.canUseIO()) {
|
|
24
|
+
this.beginLoad();
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
this.io = new IntersectionObserver((e) => {
|
|
28
|
+
var i;
|
|
29
|
+
for (const s of e)
|
|
30
|
+
if (s.isIntersecting) {
|
|
31
|
+
this.beginLoad(), (i = this.io) === null || i === void 0 || i.unobserve(s.target), this.cleanupObserver();
|
|
32
|
+
break;
|
|
33
|
+
}
|
|
34
|
+
}, { root: null, rootMargin: this.detectDistance, threshold: 0 }), this.io.observe(this.el);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
cleanupObserver() {
|
|
38
|
+
var e;
|
|
39
|
+
(e = this.io) === null || e === void 0 || e.disconnect(), this.io = void 0;
|
|
40
|
+
}
|
|
41
|
+
wireOnceHandlers() {
|
|
42
|
+
this.imgEl && (this.detachImgHandlers(), this._onLoad = () => {
|
|
43
|
+
var e;
|
|
44
|
+
this.currentSrc && (!((e = this.imgEl) === null || e === void 0) && e.currentSrc) && !this.imgEl.currentSrc.includes(this.currentSrc) || (this.imgLoaded = !0);
|
|
45
|
+
}, this._onError = () => {
|
|
46
|
+
console.error("Load image failed:", this.src);
|
|
47
|
+
}, this.imgEl.addEventListener("load", this._onLoad, { once: !0 }), this.imgEl.addEventListener("error", this._onError, { once: !0 }));
|
|
48
|
+
}
|
|
49
|
+
detachImgHandlers() {
|
|
50
|
+
this.imgEl && (this._onLoad && this.imgEl.removeEventListener("load", this._onLoad), this._onError && this.imgEl.removeEventListener("error", this._onError), this._onLoad = void 0, this._onError = void 0);
|
|
51
|
+
}
|
|
52
|
+
beginLoad() {
|
|
53
|
+
if (!this.hasStarted && this.imgEl && this.src) {
|
|
54
|
+
if (this.hasStarted = !0, this.wireOnceHandlers(), this.imgEl.complete && this.imgEl.naturalWidth > 0) {
|
|
55
|
+
this.imgLoaded = !0;
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
this.currentSrc = this.src, this.imgEl.src = this.src, this.imgEl.complete && this.imgEl.naturalWidth > 0 && (this.imgLoaded = !0);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
get showSkeleton() {
|
|
62
|
+
return this.loading !== "eager" && !this.imgLoaded;
|
|
63
|
+
}
|
|
64
|
+
renderEager() {
|
|
65
|
+
return t(r, { class: "HostContainer" }, t("img", { src: this.src, decoding: "async", style: this.styles, class: "UiContainer Visible", alt: this.alt, width: this.width, height: this.height, loading: "eager" }));
|
|
66
|
+
}
|
|
67
|
+
renderLazy() {
|
|
68
|
+
return t(r, { class: "HostContainer", "aria-busy": this.imgLoaded ? "false" : "true" }, this.showSkeleton && t("ui-skeleton", { class: "UiContainer", structure: "image", width: "100%", height: "100%" }), t("img", { ref: (e) => this.imgEl = e, src: void 0, decoding: "async", style: this.styles, class: `UiContainer ${this.imgLoaded ? "Visible" : "Hidden"}`, alt: this.alt, width: this.width, height: this.height, loading: "lazy" }));
|
|
69
|
+
}
|
|
70
|
+
render() {
|
|
71
|
+
return this.loading === "eager" ? this.renderEager() : this.renderLazy();
|
|
72
|
+
}
|
|
73
|
+
get el() {
|
|
74
|
+
return a(this);
|
|
75
|
+
}
|
|
76
|
+
static get watchers() {
|
|
77
|
+
return {
|
|
78
|
+
src: ["onSrcChange"],
|
|
79
|
+
loading: ["onLoadingChange"]
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
d.style = o;
|
|
84
|
+
export {
|
|
85
|
+
d as U
|
|
86
|
+
};
|