@everymatrix/casino-page-nd 1.59.2 → 1.59.3
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-LsjiLvS-.js → CasinoCollectionsProviders-2w-n1gbT.js} +55 -55
- package/components/{CasinoCollectionsProviders-CYGBqFuD.js → CasinoCollectionsProviders-BFdX7p1F.js} +53 -53
- package/components/{CasinoCollectionsProviders-NvzBTvSZ.cjs → CasinoCollectionsProviders-CHGsk2qn.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-BU_H-Cwa.cjs → CasinoFavoritesSectionNd-CoYaMBQX.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-Bl8r84A3.js → CasinoFavoritesSectionNd-QWuxI4Ja.js} +84 -84
- package/components/{CasinoFavoritesSectionNd-DgqUgnPb.js → CasinoFavoritesSectionNd-nruLGUaT.js} +84 -84
- 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/{CasinoGameThumbnailNd-CYg2FAUk.js → CasinoGameThumbnailNd-CwoyWTa2.js} +67 -67
- package/components/{CasinoGameThumbnailNd-uEJomZ9h.js → CasinoGameThumbnailNd-DZjo0VYB.js} +67 -67
- package/components/{CasinoGameThumbnailNd-C_15hyfI.cjs → CasinoGameThumbnailNd-Fy7NLY4j.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-D0Ai5-RT.js → CasinoGamesCategorySectionNd-B86oMJjm.js} +107 -107
- package/components/{CasinoGamesCategorySectionNd-DdFLyOsp.js → CasinoGamesCategorySectionNd-BTVn5agP.js} +109 -109
- package/components/{CasinoGamesCategorySectionNd-CleR81HR.cjs → CasinoGamesCategorySectionNd-BxLmSQtR.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/{CasinoLastPlayedSectionNd-C4xNg-EE.cjs → CasinoLastPlayedSectionNd-B7yenokB.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-DCty3Jqc.js → CasinoLastPlayedSectionNd-BnTasC4g.js} +40 -40
- package/components/{CasinoLastPlayedSectionNd-CQNlYKvE.js → CasinoLastPlayedSectionNd-BqtNQwY-.js} +40 -40
- package/components/{CasinoMostPlayedSectionNd-BRlZx2lF.js → CasinoMostPlayedSectionNd-C3ewkKP7.js} +49 -49
- package/components/{CasinoMostPlayedSectionNd-BDi2oS49.cjs → CasinoMostPlayedSectionNd-D70lN__h.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-BYfiOjBt.js → CasinoMostPlayedSectionNd-DivIY78K.js} +49 -49
- package/components/{CasinoMyGamesNd-BPIFWLpA.js → CasinoMyGamesNd-CblDfiAR.js} +43 -43
- package/components/{CasinoMyGamesNd-DpatylQh.cjs → CasinoMyGamesNd-CccM6O4n.cjs} +1 -1
- package/components/{CasinoMyGamesNd-CTnKfOJD.js → CasinoMyGamesNd-Cp8ptFSX.js} +42 -42
- package/components/{CasinoPageNd-DO4djyEb.js → CasinoPageNd-D6Vtzz_h.js} +108 -108
- package/components/{CasinoPageNd-kz_2FL7R.cjs → CasinoPageNd-DfBI0YV9.cjs} +1 -1
- package/components/{CasinoPageNd-ChEHSnRJ.js → CasinoPageNd-DqAwcZKa.js} +96 -96
- 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/{CasinoSearchNd--nhdFpqz.js → CasinoSearchNd-B667_x_c.js} +53 -53
- package/components/{CasinoSearchNd-BKnd-5lF.cjs → CasinoSearchNd-BSk2vZgq.cjs} +1 -1
- package/components/{CasinoSearchNd-C_vPqLL1.js → CasinoSearchNd-inwkJVwN.js} +53 -53
- 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-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.js +1 -1
- package/package.json +2 -2
- 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-ae04a8b1-BhaHMrLE.js +516 -0
- package/stencil/index-ae04a8b1-Dn3cponN.js +532 -0
- package/stencil/index-ae04a8b1-jEvGbYrB.cjs +1 -0
- package/stencil/{ui-skeleton-DET4YE0J.js → ui-skeleton-Bz6cw7xJ.js} +2 -2
- package/stencil/{ui-skeleton-DlNNnOZy.cjs → ui-skeleton-D9k-xWaS.cjs} +1 -1
- package/stencil/{ui-skeleton-C02hm1pt.js → ui-skeleton-DDYD_XHU.js} +2 -2
- package/stencil/{ui-skeleton-a642cced-Dn9GOtgo.js → ui-skeleton-a642cced-Bg6oYmhk.js} +1 -1
- package/stencil/{ui-skeleton-a642cced-BhVS1i2r.cjs → ui-skeleton-a642cced-CVw8zpGJ.cjs} +1 -1
- package/stencil/{ui-skeleton-a642cced-7C4Fyb2d.js → ui-skeleton-a642cced-MvzXi5-c.js} +1 -1
- package/components/CasinoCalendar-DBpyNdzX.cjs +0 -19
- package/components/CasinoFilter-DVMmkZnS.cjs +0 -1
- 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-ae04a8b1-BvZmaj3p.js +0 -532
- package/stencil/index-ae04a8b1-DoeYpoC5.js +0 -516
- package/stencil/index-ae04a8b1-OBbo8Dzb.cjs +0 -1
package/components/{CasinoLastPlayedSectionNd-DCty3Jqc.js → CasinoLastPlayedSectionNd-BnTasC4g.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as ee, $ as te, S as ae, i as se,
|
|
2
|
-
import "./CasinoFavoritesSectionNd-
|
|
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 P, 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 "./CasinoFavoritesSectionNd-nruLGUaT.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 = P("p"), n =
|
|
260
|
+
e = P("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 = P("div"), t = P("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:
|
|
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: N = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: E = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: z = "false" } = e, { showgamename: O = "" } = e, { visiblegames: C = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: R = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, Z = window.navigator.userAgent, Y = !1, L = [], I, f;
|
|
305
|
+
const B = () => {
|
|
306
306
|
fetch(_).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", q), u.searchParams.append("limit",
|
|
319
|
+
u.searchParams.append("unique", q), u.searchParams.append("limit", R), u.searchParams.append("order", j), u.searchParams.append("period", S), me(Z) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = k ? 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,59 +338,59 @@ function Le(s, e, t) {
|
|
|
338
338
|
let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
|
|
339
339
|
h.searchParams.append("datasource", r), k ? 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
|
-
L = u.filter((h) => !("error" in h)).map((h) => h[0]),
|
|
341
|
+
L = u.filter((h) => !("error" in h)).map((h) => h[0]), G === "true" && (L = L.slice(0, JSON.parse(C))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: L }, 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,
|
|
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, N = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(21, _ = a.translationurl), "livecasino" in a && t(9, k = a.livecasino), "integratedgameframemobile" in a && t(10, E = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, F = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, z = a.gamepagemodalurl), "showgamename" in a && t(13, O = a.showgamename), "visiblegames" in a && t(14, C = a.visiblegames), "favorites" in a && t(15, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, R = a.lastplayedlimit), "casinomygames" in a && t(16, G = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent);
|
|
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 && _ &&
|
|
361
|
+
2097152 && _ && B(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
362
362
|
262272 && v && f && ge(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
363
|
-
262400 && w && f &&
|
|
364
|
-
262208 && b && f &&
|
|
365
|
-
8 && d &&
|
|
363
|
+
262400 && w && f && de(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
364
|
+
262208 && b && f && fe(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
|
|
365
|
+
8 && d && p();
|
|
366
366
|
}, [
|
|
367
367
|
o,
|
|
368
368
|
r,
|
|
369
369
|
m,
|
|
370
370
|
d,
|
|
371
|
-
|
|
371
|
+
N,
|
|
372
372
|
y,
|
|
373
373
|
b,
|
|
374
374
|
v,
|
|
375
375
|
w,
|
|
376
376
|
k,
|
|
377
|
-
|
|
378
|
-
z,
|
|
377
|
+
E,
|
|
379
378
|
F,
|
|
379
|
+
z,
|
|
380
380
|
O,
|
|
381
|
-
|
|
381
|
+
C,
|
|
382
382
|
T,
|
|
383
|
-
|
|
383
|
+
G,
|
|
384
384
|
U,
|
|
385
385
|
f,
|
|
386
386
|
Y,
|
|
387
387
|
n,
|
|
388
388
|
_,
|
|
389
|
-
|
|
389
|
+
S,
|
|
390
390
|
j,
|
|
391
|
-
|
|
391
|
+
R,
|
|
392
392
|
q,
|
|
393
|
-
|
|
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({ fetchviaevent: e }), l();
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
|
|
572
|
+
he(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {} }, [], [], !0);
|
|
573
573
|
export {
|
|
574
574
|
Pe as default
|
|
575
575
|
};
|
package/components/{CasinoLastPlayedSectionNd-CQNlYKvE.js → CasinoLastPlayedSectionNd-BqtNQwY-.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as ee, $ as te, S as ae, i as se,
|
|
2
|
-
import "./CasinoFavoritesSectionNd-
|
|
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 P, 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 "./CasinoFavoritesSectionNd-QWuxI4Ja.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 = P("p"), n =
|
|
260
|
+
e = P("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 = P("div"), t = P("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:
|
|
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: N = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: E = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: z = "false" } = e, { showgamename: O = "" } = e, { visiblegames: C = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: R = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, Z = window.navigator.userAgent, Y = !1, L = [], I, f;
|
|
305
|
+
const B = () => {
|
|
306
306
|
fetch(_).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", q), u.searchParams.append("limit",
|
|
319
|
+
u.searchParams.append("unique", q), u.searchParams.append("limit", R), u.searchParams.append("order", j), u.searchParams.append("period", S), me(Z) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = k ? 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,59 +338,59 @@ function Le(s, e, t) {
|
|
|
338
338
|
let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
|
|
339
339
|
h.searchParams.append("datasource", r), k ? 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
|
-
L = u.filter((h) => !("error" in h)).map((h) => h[0]),
|
|
341
|
+
L = u.filter((h) => !("error" in h)).map((h) => h[0]), G === "true" && (L = L.slice(0, JSON.parse(C))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: L }, 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,
|
|
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, N = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(21, _ = a.translationurl), "livecasino" in a && t(9, k = a.livecasino), "integratedgameframemobile" in a && t(10, E = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, F = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, z = a.gamepagemodalurl), "showgamename" in a && t(13, O = a.showgamename), "visiblegames" in a && t(14, C = a.visiblegames), "favorites" in a && t(15, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, R = a.lastplayedlimit), "casinomygames" in a && t(16, G = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent);
|
|
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 && _ &&
|
|
361
|
+
2097152 && _ && B(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
362
362
|
262272 && v && f && ge(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
363
|
-
262400 && w && f &&
|
|
364
|
-
262208 && b && f &&
|
|
365
|
-
8 && d &&
|
|
363
|
+
262400 && w && f && de(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
364
|
+
262208 && b && f && fe(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
|
|
365
|
+
8 && d && p();
|
|
366
366
|
}, [
|
|
367
367
|
o,
|
|
368
368
|
r,
|
|
369
369
|
m,
|
|
370
370
|
d,
|
|
371
|
-
|
|
371
|
+
N,
|
|
372
372
|
y,
|
|
373
373
|
b,
|
|
374
374
|
v,
|
|
375
375
|
w,
|
|
376
376
|
k,
|
|
377
|
-
|
|
378
|
-
z,
|
|
377
|
+
E,
|
|
379
378
|
F,
|
|
379
|
+
z,
|
|
380
380
|
O,
|
|
381
|
-
|
|
381
|
+
C,
|
|
382
382
|
T,
|
|
383
|
-
|
|
383
|
+
G,
|
|
384
384
|
U,
|
|
385
385
|
f,
|
|
386
386
|
Y,
|
|
387
387
|
n,
|
|
388
388
|
_,
|
|
389
|
-
|
|
389
|
+
S,
|
|
390
390
|
j,
|
|
391
|
-
|
|
391
|
+
R,
|
|
392
392
|
q,
|
|
393
|
-
|
|
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({ fetchviaevent: e }), l();
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
|
|
572
|
+
he(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {} }, [], [], !0);
|
|
573
573
|
export {
|
|
574
574
|
Pe as default
|
|
575
575
|
};
|