@everymatrix/casino-page 1.60.1 → 1.60.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.
- package/components/{CasinoCalendar-Bm8jJ1Mr.js → CasinoCalendar-Ckt1PYIP.js} +943 -965
- package/components/CasinoCalendar-DEC4kbu7.cjs +19 -0
- package/components/{CasinoCalendar-DttQUJ_p.js → CasinoCalendar-DNaLXH6n.js} +643 -665
- package/components/{CasinoCalendarDailyDetails-DesTWpk5.js → CasinoCalendarDailyDetails-BdhBt4HO.js} +48 -48
- package/components/{CasinoCalendarDailyDetails-BRtEBxYn.js → CasinoCalendarDailyDetails-DOhd-4ZT.js} +48 -48
- package/components/{CasinoCalendarDailyDetails-Cjdo10t8.cjs → CasinoCalendarDailyDetails-EinwK-x0.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-B4jvb1pM.js → CasinoCalendarDailyItem-254MG7d4.js} +41 -41
- package/components/{CasinoCalendarDailyItem-D0zUyBnz.cjs → CasinoCalendarDailyItem-CEbe-dts.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-D7jrZ_LJ.js → CasinoCalendarDailyItem-I0d1EuRW.js} +41 -41
- package/components/{CasinoCollectionsProviders-CYGBqFuD.js → CasinoCollectionsProviders-CMFOwKOw.js} +103 -102
- package/components/{CasinoCollectionsProviders-NvzBTvSZ.cjs → CasinoCollectionsProviders-CYXVu8jO.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-LsjiLvS-.js → CasinoCollectionsProviders-GaeLz6Pl.js} +55 -55
- package/components/{CasinoFavoritesSection-CagalPJ1.js → CasinoFavoritesSection-CfVT3epR.js} +23 -23
- package/components/{CasinoFavoritesSection-Bt29LuMk.cjs → CasinoFavoritesSection-CkE51xeT.cjs} +1 -1
- package/components/{CasinoFavoritesSection-CyWrstaf.js → CasinoFavoritesSection-DPSiSNGk.js} +23 -23
- package/components/{CasinoFilter-DC7UpKxg.js → CasinoFilter-Cf6wLS_J.js} +242 -243
- package/components/{CasinoFilter-DBAa4rgv.js → CasinoFilter-DT_mfIxJ.js} +230 -229
- package/components/CasinoFilter-DkRFodLT.cjs +1 -0
- package/components/{CasinoGameThumbnail-CMb4reBZ.js → CasinoGameThumbnail-CauadTSp.js} +1759 -1775
- package/components/CasinoGameThumbnail-DrSyOUlK.cjs +47 -0
- package/components/{CasinoGameThumbnail-B7uy1GX3.js → CasinoGameThumbnail-DsxrYUeR.js} +1406 -1390
- package/components/{CasinoGamesCategorySection-CRtCMAjp.js → CasinoGamesCategorySection-DGSWlFTH.js} +247 -247
- package/components/{CasinoGamesCategorySection-B3Bp6l_k.js → CasinoGamesCategorySection-DkGmDHac.js} +248 -248
- package/components/{CasinoGamesCategorySection-D92ROEU1.cjs → CasinoGamesCategorySection-hJflAIRq.cjs} +1 -1
- package/components/{CasinoJackpotBanner-C2j1yUXk.js → CasinoJackpotBanner-Dt56Ssbv.js} +74 -74
- package/components/{CasinoJackpotBanner-CFJR1YWM.js → CasinoJackpotBanner-QjY0RFqn.js} +69 -69
- package/components/{CasinoJackpotBanner-BgpQokE3.cjs → CasinoJackpotBanner-W78-HVH9.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-CP9dX4CD.cjs → CasinoLastPlayedSection-AVoAf4mv.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-yMWIttip.js → CasinoLastPlayedSection-BbNJh01t.js} +38 -38
- package/components/{CasinoLastPlayedSection-e_AhXxxn.js → CasinoLastPlayedSection-C_j3LPmT.js} +38 -38
- package/components/{CasinoMostPlayedSection-CLC4ygQi.js → CasinoMostPlayedSection-BlPs8slF.js} +49 -49
- package/components/{CasinoMostPlayedSection-DYSGy8eM.cjs → CasinoMostPlayedSection-DDmHLMWJ.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-HE-myBqe.js → CasinoMostPlayedSection-rBy5-Jnu.js} +49 -49
- package/components/{CasinoMyGames-Cks_AoFO.js → CasinoMyGames-BTb99mJz.js} +41 -41
- package/components/{CasinoMyGames-D49GZGiX.cjs → CasinoMyGames-D9v6VO98.cjs} +1 -1
- package/components/{CasinoMyGames-CuPK_rPf.js → CasinoMyGames-Da7YFLZB.js} +42 -42
- package/components/{CasinoPage-D1568shu.js → CasinoPage-8NYVpmeY.js} +94 -94
- package/components/{CasinoPage-s40JstlB.cjs → CasinoPage-DQL-iD56.cjs} +1 -1
- package/components/{CasinoPage-BQeQvwZz.js → CasinoPage-S9SAAOBP.js} +99 -99
- package/components/{CasinoRandomGame-C1nrrW2N.cjs → CasinoRandomGame-CH4DPGtX.cjs} +1 -1
- package/components/{CasinoRandomGame-DfLR0r0i.js → CasinoRandomGame-CTVNBAys.js} +62 -62
- package/components/{CasinoRandomGame-D3B5tI8S.js → CasinoRandomGame-FAQztl67.js} +60 -60
- package/components/{CasinoSearch-CHpx5Vs-.js → CasinoSearch-C5VwVBaf.js} +87 -87
- package/components/{CasinoSearch-B_glDkCU.cjs → CasinoSearch-CZ4AR6hH.cjs} +1 -1
- package/components/{CasinoSearch-CjRXYPxE.js → CasinoSearch-uRmrNr_r.js} +85 -85
- package/components/{CasinoSort-DcG0TUN4.cjs → CasinoSort-CD6jHMIw.cjs} +1 -1
- package/components/{CasinoSort-BU6PWDpY.js → CasinoSort-D-E5cV7V.js} +110 -111
- package/components/{CasinoSort-DX5EmYm_.js → CasinoSort-jHGGKT4T.js} +104 -103
- package/components/{CasinoWinners-BOa69aMH.js → CasinoWinners-BnSu5nnB.js} +166 -166
- package/components/{CasinoWinners-CYRn98z1.js → CasinoWinners-BpeW82lE.js} +143 -143
- package/components/{CasinoWinners-DwOZC8ON.cjs → CasinoWinners-DM9Vf73b.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CXZNRm34.js → GeneralAnimationLoading-Bl-AgLq7.js} +16 -16
- package/components/{GeneralAnimationLoading-D0rjnOL3.js → GeneralAnimationLoading-oiUh9Rwe.js} +16 -16
- package/components/{GeneralAnimationLoading-B40sJaX7.cjs → GeneralAnimationLoading-vwMxZgQG.cjs} +1 -1
- package/es2015/casino-page.cjs +1 -1
- package/es2015/casino-page.js +1 -1
- package/esnext/casino-page.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-Bk7toWLj.js → casino-play-random-game-CLSQBVzD.js} +2 -2
- package/stencil/{casino-play-random-game-CKM_xKne.cjs → casino-play-random-game-CdZKN03s.cjs} +2 -2
- package/stencil/{casino-play-random-game-BW66Civ1.js → casino-play-random-game-Dm8A9dTR.js} +2 -2
- package/stencil/index-ab3202d6-C1hgKWrC.cjs +1 -0
- package/stencil/index-ab3202d6-OPh7hJp9.js +575 -0
- package/stencil/index-ab3202d6-hGs51skN.js +559 -0
- package/stencil/index-b2193545-DCd44oUP.cjs +1 -0
- package/stencil/index-b2193545-MPc38oBt.js +503 -0
- package/stencil/index-b2193545-lFMF9wMV.js +519 -0
- package/stencil/{ui-skeleton-sAoxznwb.js → ui-skeleton-0M0DsgcH.js} +2 -2
- package/stencil/{ui-skeleton-BpUWeWAr.js → ui-skeleton-DGBcSK-r.js} +2 -2
- package/stencil/{ui-skeleton-D2GYc4Vd.cjs → ui-skeleton-Dt8jS6rz.cjs} +1 -1
- package/stencil/{ui-skeleton-ea659b95-DmKUoob8.js → ui-skeleton-ea659b95-Denrk3xZ.js} +1 -1
- package/stencil/{ui-skeleton-ea659b95-CvOjl779.cjs → ui-skeleton-ea659b95-DoJviCLo.cjs} +1 -1
- package/stencil/{ui-skeleton-ea659b95-CaDtZrvR.js → ui-skeleton-ea659b95-Doo7piTc.js} +1 -1
- package/components/CasinoCalendar-DBpyNdzX.cjs +0 -19
- package/components/CasinoFilter-DVMmkZnS.cjs +0 -1
- package/components/CasinoGameThumbnail-CoqIabrC.cjs +0 -47
- package/stencil/index-ab3202d6-BW1TSmQg.js +0 -575
- package/stencil/index-ab3202d6-C6VFhXtX.cjs +0 -1
- package/stencil/index-ab3202d6-CkTejM5U.js +0 -559
- package/stencil/index-b2193545-BDVBrmNo.js +0 -503
- package/stencil/index-b2193545-CY979_sp.js +0 -519
- package/stencil/index-b2193545-DPplmtxO.cjs +0 -1
package/components/{CasinoLastPlayedSection-yMWIttip.js → CasinoLastPlayedSection-BbNJh01t.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as ee, $ as te, S as ae, i as se,
|
|
2
|
-
import "./CasinoFavoritesSection-
|
|
3
|
-
function
|
|
1
|
+
import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as V, j as L, r as A, k as le, o as re, C as oe, m as ue, q as ce, Q as i, R as me, I as ge, J as de, K as fe, L as he, M as ye } from "./CasinoCalendar-DNaLXH6n.js";
|
|
2
|
+
import "./CasinoFavoritesSection-DPSiSNGk.js";
|
|
3
|
+
function K(s, e) {
|
|
4
4
|
ee(s, e);
|
|
5
5
|
}
|
|
6
6
|
function be(s) {
|
|
7
7
|
te.set(s);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const Q = {
|
|
10
10
|
en: {
|
|
11
11
|
noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
|
|
12
12
|
},
|
|
@@ -33,7 +33,7 @@ const V = {
|
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
function ve(s) {
|
|
36
|
-
|
|
36
|
+
ne(s, "svelte-9pcrt1", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
37
37
|
}
|
|
38
38
|
function we(s) {
|
|
39
39
|
let e;
|
|
@@ -132,7 +132,7 @@ function we(s) {
|
|
|
132
132
|
);
|
|
133
133
|
},
|
|
134
134
|
m(t, n) {
|
|
135
|
-
|
|
135
|
+
D(t, e, n);
|
|
136
136
|
},
|
|
137
137
|
p(t, n) {
|
|
138
138
|
n[0] & /*session*/
|
|
@@ -246,7 +246,7 @@ function we(s) {
|
|
|
246
246
|
);
|
|
247
247
|
},
|
|
248
248
|
d(t) {
|
|
249
|
-
t &&
|
|
249
|
+
t && M(e);
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
252
|
}
|
|
@@ -257,18 +257,18 @@ function _e(s) {
|
|
|
257
257
|
), n;
|
|
258
258
|
return {
|
|
259
259
|
c() {
|
|
260
|
-
e = L("p"), n =
|
|
260
|
+
e = L("p"), n = ce(t), A(e, "class", "SearchLoading");
|
|
261
261
|
},
|
|
262
262
|
m(o, r) {
|
|
263
|
-
|
|
263
|
+
D(o, e, r), V(e, n);
|
|
264
264
|
},
|
|
265
265
|
p(o, r) {
|
|
266
266
|
r[0] & /*$_*/
|
|
267
267
|
1048576 && t !== (t = /*$_*/
|
|
268
|
-
o[20]("noRecentGames") + "") &&
|
|
268
|
+
o[20]("noRecentGames") + "") && ue(n, t);
|
|
269
269
|
},
|
|
270
270
|
d(o) {
|
|
271
|
-
o &&
|
|
271
|
+
o && M(e);
|
|
272
272
|
}
|
|
273
273
|
};
|
|
274
274
|
}
|
|
@@ -286,7 +286,7 @@ function ke(s) {
|
|
|
286
286
|
e = L("div"), t = L("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
|
|
287
287
|
},
|
|
288
288
|
m(m, d) {
|
|
289
|
-
|
|
289
|
+
D(m, e, d), V(e, t), r.m(t, null), s[26](e);
|
|
290
290
|
},
|
|
291
291
|
p(m, d) {
|
|
292
292
|
o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(t, null)));
|
|
@@ -294,29 +294,29 @@ function ke(s) {
|
|
|
294
294
|
i: H,
|
|
295
295
|
o: H,
|
|
296
296
|
d(m) {
|
|
297
|
-
m &&
|
|
297
|
+
m && M(e), r.d(), s[26](null);
|
|
298
298
|
}
|
|
299
299
|
};
|
|
300
300
|
}
|
|
301
301
|
function Le(s, e, t) {
|
|
302
302
|
let n;
|
|
303
|
-
|
|
304
|
-
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile:
|
|
305
|
-
const
|
|
303
|
+
le(s, ye, (a) => t(20, n = a));
|
|
304
|
+
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: N = "false" } = e, { gamepagemodalurl: z = "false" } = e, { showgamename: O = "" } = e, { visiblegames: P = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: S = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: G = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, Z = window.navigator.userAgent, Y = !1, k = [], I, f;
|
|
305
|
+
const B = () => {
|
|
306
306
|
fetch(w).then((g) => g.json()).then((g) => {
|
|
307
307
|
Object.keys(g).forEach((u) => {
|
|
308
|
-
|
|
308
|
+
K(u, g[u]);
|
|
309
309
|
});
|
|
310
310
|
}).catch((g) => {
|
|
311
311
|
console.log(g);
|
|
312
312
|
});
|
|
313
313
|
};
|
|
314
|
-
Object.keys(
|
|
315
|
-
|
|
314
|
+
Object.keys(Q).forEach((a) => {
|
|
315
|
+
K(a, Q[a]);
|
|
316
316
|
});
|
|
317
317
|
const W = () => new Promise((a, g) => {
|
|
318
318
|
let u = new URL(`${o}/v1/player/${y}/games/last-played`);
|
|
319
|
-
u.searchParams.append("unique",
|
|
319
|
+
u.searchParams.append("unique", G), u.searchParams.append("limit", j), u.searchParams.append("order", S), u.searchParams.append("period", C), me(Z) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = _ ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
|
|
320
320
|
c.items = c.items.filter(($) => {
|
|
321
321
|
let J = !0;
|
|
322
322
|
return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
|
|
@@ -338,31 +338,31 @@ function Le(s, e, t) {
|
|
|
338
338
|
let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
|
|
339
339
|
h.searchParams.append("datasource", r), _ ? g.push(fetch(h.href).then((c) => c.json())) : g.push(fetch(h.href).then((c) => c.json()));
|
|
340
340
|
}), Promise.all(g).then((u) => {
|
|
341
|
-
k = u.filter((h) => !("error" in h)).map((h) => h[0]),
|
|
341
|
+
k = u.filter((h) => !("error" in h)).map((h) => h[0]), R === "true" && (k = k.slice(0, JSON.parse(P))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: k }, window.location.href);
|
|
342
342
|
});
|
|
343
343
|
} else
|
|
344
344
|
t(19, Y = !0);
|
|
345
345
|
});
|
|
346
|
-
},
|
|
346
|
+
}, p = () => {
|
|
347
347
|
be(d);
|
|
348
348
|
};
|
|
349
|
-
|
|
349
|
+
re(() => () => {
|
|
350
350
|
});
|
|
351
|
-
function
|
|
352
|
-
|
|
351
|
+
function x(a) {
|
|
352
|
+
oe[a ? "unshift" : "push"](() => {
|
|
353
353
|
f = a, t(18, f);
|
|
354
354
|
});
|
|
355
355
|
}
|
|
356
356
|
return s.$$set = (a) => {
|
|
357
|
-
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(21, w = a.translationurl), "livecasino" in a && t(8, _ = a.livecasino), "integratedgameframemobile" in a && t(9,
|
|
357
|
+
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(21, w = a.translationurl), "livecasino" in a && t(8, _ = a.livecasino), "integratedgameframemobile" in a && t(9, F = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, N = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, z = a.gamepagemodalurl), "showgamename" in a && t(12, O = a.showgamename), "visiblegames" in a && t(13, P = a.visiblegames), "favorites" in a && t(14, T = a.favorites), "lastplayedperiod" in a && t(22, C = a.lastplayedperiod), "lastplayedorder" in a && t(23, S = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(15, R = a.casinomygames), "lastplayedunique" in a && t(25, G = a.lastplayedunique), "fetchviaevent" in a && t(16, U = a.fetchviaevent), "mbsource" in a && t(17, q = a.mbsource);
|
|
358
358
|
}, s.$$.update = () => {
|
|
359
359
|
s.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
360
360
|
41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
|
|
361
|
-
2097152 && w &&
|
|
362
|
-
262208 && b && f &&
|
|
363
|
-
262272 && v && f &&
|
|
364
|
-
393216 && f &&
|
|
365
|
-
8 && d &&
|
|
361
|
+
2097152 && w && B(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
362
|
+
262208 && b && f && ge(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
363
|
+
262272 && v && f && de(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
364
|
+
393216 && f && fe(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
|
|
365
|
+
8 && d && p();
|
|
366
366
|
}, [
|
|
367
367
|
o,
|
|
368
368
|
r,
|
|
@@ -373,24 +373,24 @@ function Le(s, e, t) {
|
|
|
373
373
|
b,
|
|
374
374
|
v,
|
|
375
375
|
_,
|
|
376
|
-
z,
|
|
377
376
|
F,
|
|
378
377
|
N,
|
|
378
|
+
z,
|
|
379
379
|
O,
|
|
380
380
|
P,
|
|
381
381
|
T,
|
|
382
|
-
|
|
382
|
+
R,
|
|
383
383
|
U,
|
|
384
384
|
q,
|
|
385
385
|
f,
|
|
386
386
|
Y,
|
|
387
387
|
n,
|
|
388
388
|
w,
|
|
389
|
-
S,
|
|
390
389
|
C,
|
|
390
|
+
S,
|
|
391
391
|
j,
|
|
392
|
-
|
|
393
|
-
|
|
392
|
+
G,
|
|
393
|
+
x
|
|
394
394
|
];
|
|
395
395
|
}
|
|
396
396
|
class Pe extends ae {
|
|
@@ -400,7 +400,7 @@ class Pe extends ae {
|
|
|
400
400
|
e,
|
|
401
401
|
Le,
|
|
402
402
|
ke,
|
|
403
|
-
|
|
403
|
+
ie,
|
|
404
404
|
{
|
|
405
405
|
endpoint: 0,
|
|
406
406
|
datasource: 1,
|
|
@@ -569,7 +569,7 @@ class Pe extends ae {
|
|
|
569
569
|
this.$$set({ mbsource: e }), l();
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
|
|
572
|
+
he(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
573
573
|
export {
|
|
574
574
|
Pe as default
|
|
575
575
|
};
|
package/components/{CasinoLastPlayedSection-e_AhXxxn.js → CasinoLastPlayedSection-C_j3LPmT.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as ee, $ as te, S as ae, i as se,
|
|
2
|
-
import "./CasinoFavoritesSection-
|
|
3
|
-
function
|
|
1
|
+
import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as V, j as L, r as A, k as le, o as re, C as oe, m as ue, q as ce, Q as i, R as me, I as ge, J as de, K as fe, L as he, M as ye } from "./CasinoCalendar-Ckt1PYIP.js";
|
|
2
|
+
import "./CasinoFavoritesSection-CfVT3epR.js";
|
|
3
|
+
function K(s, e) {
|
|
4
4
|
ee(s, e);
|
|
5
5
|
}
|
|
6
6
|
function be(s) {
|
|
7
7
|
te.set(s);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const Q = {
|
|
10
10
|
en: {
|
|
11
11
|
noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
|
|
12
12
|
},
|
|
@@ -33,7 +33,7 @@ const V = {
|
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
function ve(s) {
|
|
36
|
-
|
|
36
|
+
ne(s, "svelte-9pcrt1", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
37
37
|
}
|
|
38
38
|
function we(s) {
|
|
39
39
|
let e;
|
|
@@ -132,7 +132,7 @@ function we(s) {
|
|
|
132
132
|
);
|
|
133
133
|
},
|
|
134
134
|
m(t, n) {
|
|
135
|
-
|
|
135
|
+
D(t, e, n);
|
|
136
136
|
},
|
|
137
137
|
p(t, n) {
|
|
138
138
|
n[0] & /*session*/
|
|
@@ -246,7 +246,7 @@ function we(s) {
|
|
|
246
246
|
);
|
|
247
247
|
},
|
|
248
248
|
d(t) {
|
|
249
|
-
t &&
|
|
249
|
+
t && M(e);
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
252
|
}
|
|
@@ -257,18 +257,18 @@ function _e(s) {
|
|
|
257
257
|
), n;
|
|
258
258
|
return {
|
|
259
259
|
c() {
|
|
260
|
-
e = L("p"), n =
|
|
260
|
+
e = L("p"), n = ce(t), A(e, "class", "SearchLoading");
|
|
261
261
|
},
|
|
262
262
|
m(o, r) {
|
|
263
|
-
|
|
263
|
+
D(o, e, r), V(e, n);
|
|
264
264
|
},
|
|
265
265
|
p(o, r) {
|
|
266
266
|
r[0] & /*$_*/
|
|
267
267
|
1048576 && t !== (t = /*$_*/
|
|
268
|
-
o[20]("noRecentGames") + "") &&
|
|
268
|
+
o[20]("noRecentGames") + "") && ue(n, t);
|
|
269
269
|
},
|
|
270
270
|
d(o) {
|
|
271
|
-
o &&
|
|
271
|
+
o && M(e);
|
|
272
272
|
}
|
|
273
273
|
};
|
|
274
274
|
}
|
|
@@ -286,7 +286,7 @@ function ke(s) {
|
|
|
286
286
|
e = L("div"), t = L("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
|
|
287
287
|
},
|
|
288
288
|
m(m, d) {
|
|
289
|
-
|
|
289
|
+
D(m, e, d), V(e, t), r.m(t, null), s[26](e);
|
|
290
290
|
},
|
|
291
291
|
p(m, d) {
|
|
292
292
|
o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(t, null)));
|
|
@@ -294,29 +294,29 @@ function ke(s) {
|
|
|
294
294
|
i: H,
|
|
295
295
|
o: H,
|
|
296
296
|
d(m) {
|
|
297
|
-
m &&
|
|
297
|
+
m && M(e), r.d(), s[26](null);
|
|
298
298
|
}
|
|
299
299
|
};
|
|
300
300
|
}
|
|
301
301
|
function Le(s, e, t) {
|
|
302
302
|
let n;
|
|
303
|
-
|
|
304
|
-
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile:
|
|
305
|
-
const
|
|
303
|
+
le(s, ye, (a) => t(20, n = a));
|
|
304
|
+
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: N = "false" } = e, { gamepagemodalurl: z = "false" } = e, { showgamename: O = "" } = e, { visiblegames: P = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: S = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: G = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, Z = window.navigator.userAgent, Y = !1, k = [], I, f;
|
|
305
|
+
const B = () => {
|
|
306
306
|
fetch(w).then((g) => g.json()).then((g) => {
|
|
307
307
|
Object.keys(g).forEach((u) => {
|
|
308
|
-
|
|
308
|
+
K(u, g[u]);
|
|
309
309
|
});
|
|
310
310
|
}).catch((g) => {
|
|
311
311
|
console.log(g);
|
|
312
312
|
});
|
|
313
313
|
};
|
|
314
|
-
Object.keys(
|
|
315
|
-
|
|
314
|
+
Object.keys(Q).forEach((a) => {
|
|
315
|
+
K(a, Q[a]);
|
|
316
316
|
});
|
|
317
317
|
const W = () => new Promise((a, g) => {
|
|
318
318
|
let u = new URL(`${o}/v1/player/${y}/games/last-played`);
|
|
319
|
-
u.searchParams.append("unique",
|
|
319
|
+
u.searchParams.append("unique", G), u.searchParams.append("limit", j), u.searchParams.append("order", S), u.searchParams.append("period", C), me(Z) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = _ ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
|
|
320
320
|
c.items = c.items.filter(($) => {
|
|
321
321
|
let J = !0;
|
|
322
322
|
return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
|
|
@@ -338,31 +338,31 @@ function Le(s, e, t) {
|
|
|
338
338
|
let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
|
|
339
339
|
h.searchParams.append("datasource", r), _ ? g.push(fetch(h.href).then((c) => c.json())) : g.push(fetch(h.href).then((c) => c.json()));
|
|
340
340
|
}), Promise.all(g).then((u) => {
|
|
341
|
-
k = u.filter((h) => !("error" in h)).map((h) => h[0]),
|
|
341
|
+
k = u.filter((h) => !("error" in h)).map((h) => h[0]), R === "true" && (k = k.slice(0, JSON.parse(P))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: k }, window.location.href);
|
|
342
342
|
});
|
|
343
343
|
} else
|
|
344
344
|
t(19, Y = !0);
|
|
345
345
|
});
|
|
346
|
-
},
|
|
346
|
+
}, p = () => {
|
|
347
347
|
be(d);
|
|
348
348
|
};
|
|
349
|
-
|
|
349
|
+
re(() => () => {
|
|
350
350
|
});
|
|
351
|
-
function
|
|
352
|
-
|
|
351
|
+
function x(a) {
|
|
352
|
+
oe[a ? "unshift" : "push"](() => {
|
|
353
353
|
f = a, t(18, f);
|
|
354
354
|
});
|
|
355
355
|
}
|
|
356
356
|
return s.$$set = (a) => {
|
|
357
|
-
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(21, w = a.translationurl), "livecasino" in a && t(8, _ = a.livecasino), "integratedgameframemobile" in a && t(9,
|
|
357
|
+
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(21, w = a.translationurl), "livecasino" in a && t(8, _ = a.livecasino), "integratedgameframemobile" in a && t(9, F = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, N = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, z = a.gamepagemodalurl), "showgamename" in a && t(12, O = a.showgamename), "visiblegames" in a && t(13, P = a.visiblegames), "favorites" in a && t(14, T = a.favorites), "lastplayedperiod" in a && t(22, C = a.lastplayedperiod), "lastplayedorder" in a && t(23, S = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(15, R = a.casinomygames), "lastplayedunique" in a && t(25, G = a.lastplayedunique), "fetchviaevent" in a && t(16, U = a.fetchviaevent), "mbsource" in a && t(17, q = a.mbsource);
|
|
358
358
|
}, s.$$.update = () => {
|
|
359
359
|
s.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
360
360
|
41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
|
|
361
|
-
2097152 && w &&
|
|
362
|
-
262208 && b && f &&
|
|
363
|
-
262272 && v && f &&
|
|
364
|
-
393216 && f &&
|
|
365
|
-
8 && d &&
|
|
361
|
+
2097152 && w && B(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
362
|
+
262208 && b && f && ge(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
363
|
+
262272 && v && f && de(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
364
|
+
393216 && f && fe(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
|
|
365
|
+
8 && d && p();
|
|
366
366
|
}, [
|
|
367
367
|
o,
|
|
368
368
|
r,
|
|
@@ -373,24 +373,24 @@ function Le(s, e, t) {
|
|
|
373
373
|
b,
|
|
374
374
|
v,
|
|
375
375
|
_,
|
|
376
|
-
z,
|
|
377
376
|
F,
|
|
378
377
|
N,
|
|
378
|
+
z,
|
|
379
379
|
O,
|
|
380
380
|
P,
|
|
381
381
|
T,
|
|
382
|
-
|
|
382
|
+
R,
|
|
383
383
|
U,
|
|
384
384
|
q,
|
|
385
385
|
f,
|
|
386
386
|
Y,
|
|
387
387
|
n,
|
|
388
388
|
w,
|
|
389
|
-
S,
|
|
390
389
|
C,
|
|
390
|
+
S,
|
|
391
391
|
j,
|
|
392
|
-
|
|
393
|
-
|
|
392
|
+
G,
|
|
393
|
+
x
|
|
394
394
|
];
|
|
395
395
|
}
|
|
396
396
|
class Pe extends ae {
|
|
@@ -400,7 +400,7 @@ class Pe extends ae {
|
|
|
400
400
|
e,
|
|
401
401
|
Le,
|
|
402
402
|
ke,
|
|
403
|
-
|
|
403
|
+
ie,
|
|
404
404
|
{
|
|
405
405
|
endpoint: 0,
|
|
406
406
|
datasource: 1,
|
|
@@ -569,7 +569,7 @@ class Pe extends ae {
|
|
|
569
569
|
this.$$set({ mbsource: e }), l();
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
|
|
572
|
+
he(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
573
573
|
export {
|
|
574
574
|
Pe as default
|
|
575
575
|
};
|