@everymatrix/casino-lobby 1.56.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCalendar-_T8fa3tA.js → CasinoCalendar-8h5qdaaJ.js} +1018 -956
- package/components/{CasinoCalendar-CSMUhfCr.js → CasinoCalendar-D9zXfDS4.js} +988 -926
- package/components/CasinoCalendar-pDYRKcjG.cjs +22 -0
- package/components/{CasinoCalendarDailyDetails-DueCbaZn.js → CasinoCalendarDailyDetails-D0Kx4qhT.js} +48 -48
- package/components/{CasinoCalendarDailyDetails-CGRqVKFV.js → CasinoCalendarDailyDetails-DFwCqTfY.js} +48 -48
- package/components/{CasinoCalendarDailyDetails-DspcjY5l.cjs → CasinoCalendarDailyDetails-DkbuLEg5.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-DxYbPmky.js → CasinoCalendarDailyItem-C62RswBp.js} +41 -41
- package/components/{CasinoCalendarDailyItem-DpLOlYVI.js → CasinoCalendarDailyItem-DTqfqF2k.js} +41 -41
- package/components/{CasinoCalendarDailyItem-DaSrAYwS.cjs → CasinoCalendarDailyItem-DX_5vyqn.cjs} +1 -1
- package/components/CasinoCategoriesSlider-3PL0POlf.cjs +1 -0
- package/components/{CasinoCategoriesSlider-DkmZ6uE9.js → CasinoCategoriesSlider-BhsSLM-H.js} +66 -66
- package/components/{CasinoCategoriesSlider-B7jmX0uM.js → CasinoCategoriesSlider-CCCss88T.js} +65 -65
- package/components/{CasinoCollectionsProviders-CFJKyip5.js → CasinoCollectionsProviders-8BCzbgO7.js} +72 -70
- package/components/{CasinoCollectionsProviders-XHUKRCjH.js → CasinoCollectionsProviders-B7jL1xWi.js} +70 -68
- package/components/{CasinoCollectionsProviders-fHbyEo_l.cjs → CasinoCollectionsProviders-DdI8afJV.cjs} +1 -1
- package/components/{CasinoFavoritesSection-ui8ebJSk.js → CasinoFavoritesSection-8fm71dF4.js} +28 -28
- package/components/{CasinoFavoritesSection-BJKuORXc.js → CasinoFavoritesSection-C0iLu9Sw.js} +28 -28
- package/components/{CasinoFavoritesSection-DAfQZFKH.cjs → CasinoFavoritesSection-DrmyxOK7.cjs} +1 -1
- package/components/{CasinoFilter-t6_A4K9e.js → CasinoFilter-BTgsR3X2.js} +241 -238
- package/components/CasinoFilter-D06f7IqM.cjs +1 -0
- package/components/{CasinoFilter-Cj6Ya1tA.js → CasinoFilter-m6_88uQv.js} +252 -247
- package/components/CasinoGamePage-CkvljoIb.js +4249 -0
- package/components/CasinoGamePage-DAH5L6F5.cjs +18 -0
- package/components/{CasinoGamePage-DQ1Yd_-1.js → CasinoGamePage-DAv8OZV8.js} +1645 -1692
- package/components/{CasinoGameThumbnail-CmtUwom1.js → CasinoGameThumbnail-B4KIog_7.js} +275 -286
- package/components/{CasinoGameThumbnail-B15M2LaO.js → CasinoGameThumbnail-BMm5Xl4k.js} +374 -353
- package/components/CasinoGameThumbnail-XF-v3tEC.cjs +38 -0
- package/components/{CasinoGamesCategorySection-Dw87pk8g.cjs → CasinoGamesCategorySection-BSklauO4.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-lpoHUMLN.js → CasinoGamesCategorySection-DUDDLFW2.js} +255 -248
- package/components/{CasinoGamesCategorySection-D9nxbG-c.js → CasinoGamesCategorySection-XWxil8vo.js} +334 -327
- package/components/{CasinoJackpotBanner-COZRcenh.js → CasinoJackpotBanner-6WZPbIyJ.js} +79 -79
- package/components/{CasinoJackpotBanner-DcwCa-Hp.js → CasinoJackpotBanner-Bu16yaAe.js} +72 -72
- package/components/{CasinoJackpotBanner-vFHgMV4j.cjs → CasinoJackpotBanner-CRGjJl2y.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-yetII3tl.js → CasinoLastPlayedSection-BT4kxVP1.js} +43 -43
- package/components/{CasinoLastPlayedSection-IZ9mars2.js → CasinoLastPlayedSection-DFUMCS3n.js} +43 -43
- package/components/{CasinoLastPlayedSection-DUCFQv-7.cjs → CasinoLastPlayedSection-cjUgoZnI.cjs} +1 -1
- package/components/{CasinoLobby-CZ0buhgH.cjs → CasinoLobby-CRIb8E4f.cjs} +1 -1
- package/components/{CasinoLobby-CoCRB4M8.js → CasinoLobby-Di0-vjQH.js} +45 -45
- package/components/{CasinoLobby-DOvk4Q1L.js → CasinoLobby-DrBFK5gG.js} +47 -47
- package/components/{CasinoModal-6keCUEEx.cjs → CasinoModal-35QTkTq-.cjs} +1 -1
- package/components/{CasinoModal-DDDhdR0c.js → CasinoModal-Ce9u8B9n.js} +41 -41
- package/components/{CasinoModal-Dzu3FQyi.js → CasinoModal-DMOewty4.js} +41 -41
- package/components/{CasinoMostPlayedSection-BNDdZOM6.cjs → CasinoMostPlayedSection-C1K-DGkZ.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-CGqU9ZQv.js → CasinoMostPlayedSection-CXWjhKax.js} +50 -50
- package/components/{CasinoMostPlayedSection-D0w6a_z2.js → CasinoMostPlayedSection-DAuM-1cc.js} +50 -50
- package/components/{CasinoMyGames-BKqlNnO1.js → CasinoMyGames-0CUDyeW1.js} +53 -49
- package/components/{CasinoMyGames-CX5HKRLY.cjs → CasinoMyGames-DQaVeSFh.cjs} +1 -1
- package/components/{CasinoMyGames-Dy3IMfzN.js → CasinoMyGames-DTWGCs0t.js} +54 -50
- package/components/{CasinoPage-DYcUhqdZ.js → CasinoPage-BFAkKTIr.js} +90 -86
- package/components/{CasinoPage-BnrghJel.js → CasinoPage-CYfqznpn.js} +90 -86
- package/components/{CasinoPage--1tMufa9.cjs → CasinoPage-Dn8IgsJW.cjs} +1 -1
- package/components/{CasinoRandomGame-Cup5oHY3.js → CasinoRandomGame-CwNUHn-I.js} +66 -64
- package/components/{CasinoRandomGame-B1qCGSlR.cjs → CasinoRandomGame-DnwNz2Jt.cjs} +1 -1
- package/components/{CasinoRandomGame-Dq7oLh0O.js → CasinoRandomGame-qSedkhdM.js} +66 -64
- package/components/{CasinoSearch-DlUwO5L4.js → CasinoSearch-58Bbs2ly.js} +78 -75
- package/components/{CasinoSearch-B1D8nnr0.cjs → CasinoSearch-DgenhLcJ.cjs} +1 -1
- package/components/{CasinoSearch-jV0H_1Yg.js → CasinoSearch-Itb9Lu5Z.js} +78 -75
- package/components/{CasinoSlider-ChnKJ8kH.js → CasinoSlider-BBo1-Yix.js} +65 -65
- package/components/{CasinoSlider-Ot2uFDD8.js → CasinoSlider-BLhtuqXM.js} +74 -74
- package/components/{CasinoSlider-4pDZHG6x.cjs → CasinoSlider-BiIS2-lS.cjs} +1 -1
- package/components/{CasinoSort-BnarJSWg.js → CasinoSort-CBEUIj6Q.js} +105 -105
- package/components/{CasinoSort-jqMnIqLs.cjs → CasinoSort-ClDrkZcs.cjs} +1 -1
- package/components/{CasinoSort-DltZUpda.js → CasinoSort-DDFUPoRE.js} +113 -111
- package/components/{CasinoWinners-BkJBCXPe.js → CasinoWinners-C9LcOp1b.js} +155 -153
- package/components/{CasinoWinners-Bs7Oh-m-.cjs → CasinoWinners-CNAN8Ko7.cjs} +1 -1
- package/components/{CasinoWinners-CBgbYBfP.js → CasinoWinners-wjNHmiu9.js} +160 -158
- package/components/{GeneralAnimationLoading-BUY2TGQr.js → GeneralAnimationLoading-D4V5ml6G.js} +16 -16
- package/components/{GeneralAnimationLoading-CRju5T01.js → GeneralAnimationLoading-DXg7Sgve.js} +16 -16
- package/components/{GeneralAnimationLoading-BLss2VP4.cjs → GeneralAnimationLoading-dlh-TGCV.cjs} +1 -1
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-CBXhEsCq.js → casino-play-random-game-B9yaAMOE.js} +6 -6
- package/stencil/{casino-play-random-game-PZXnDzfs.js → casino-play-random-game-BTXyM5es.js} +7 -7
- package/stencil/{casino-play-random-game-y8flXwPv.cjs → casino-play-random-game-a53bUW_d.cjs} +2 -2
- package/stencil/index-510a6ba4-B9_VY7vu.cjs +1 -0
- package/stencil/index-510a6ba4-CYFuKFRQ.js +564 -0
- package/stencil/index-510a6ba4-CzpWs0jf.js +548 -0
- package/components/CasinoCalendar-CFPK0TM5.cjs +0 -9
- package/components/CasinoCategoriesSlider-Tm48k88y.cjs +0 -1
- package/components/CasinoFilter-BZrHKXm3.cjs +0 -1
- package/components/CasinoGamePage-BCpBojD8.cjs +0 -18
- package/components/CasinoGamePage-DH-mxVYx.js +0 -4296
- package/components/CasinoGameThumbnail-CHGG4fWS.cjs +0 -38
- package/stencil/index-29915e18-B3XYTzEC.cjs +0 -1
- package/stencil/index-29915e18-CQ_kWzEh.js +0 -630
- package/stencil/index-29915e18-MPiqo7vY.js +0 -646
package/components/{CasinoMostPlayedSection-CGqU9ZQv.js → CasinoMostPlayedSection-CXWjhKax.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as $, $ as ee, S as te, i as se,
|
|
2
|
-
import "./CasinoFavoritesSection-
|
|
3
|
-
function
|
|
1
|
+
import { a as $, $ as ee, S as te, i as se, f as l, c as ae, s as ne, b as ie, e as P, y as M, d as A, z as K, G as Y, j as E, k as oe, o as le, l as re, m as me, O as ge, q as ce, r as ue, P as n, x as de, E as fe, I as he } from "./CasinoCalendar-8h5qdaaJ.js";
|
|
2
|
+
import "./CasinoFavoritesSection-8fm71dF4.js";
|
|
3
|
+
function B(a, e) {
|
|
4
4
|
$(a, e);
|
|
5
5
|
}
|
|
6
6
|
function ye(a) {
|
|
7
7
|
ee.set(a);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const H = {
|
|
10
10
|
en: {
|
|
11
11
|
noGames: "No games in most played"
|
|
12
12
|
},
|
|
@@ -63,7 +63,7 @@ const B = {
|
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
function be(a) {
|
|
66
|
-
|
|
66
|
+
ie(a, "svelte-1de9den", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
67
67
|
}
|
|
68
68
|
function ve(a) {
|
|
69
69
|
let e;
|
|
@@ -162,7 +162,7 @@ function ve(a) {
|
|
|
162
162
|
);
|
|
163
163
|
},
|
|
164
164
|
m(s, i) {
|
|
165
|
-
|
|
165
|
+
A(s, e, i);
|
|
166
166
|
},
|
|
167
167
|
p(s, i) {
|
|
168
168
|
i[0] & /*session*/
|
|
@@ -276,7 +276,7 @@ function ve(a) {
|
|
|
276
276
|
);
|
|
277
277
|
},
|
|
278
278
|
d(s) {
|
|
279
|
-
s &&
|
|
279
|
+
s && E(e);
|
|
280
280
|
}
|
|
281
281
|
};
|
|
282
282
|
}
|
|
@@ -287,22 +287,22 @@ function _e(a) {
|
|
|
287
287
|
), i;
|
|
288
288
|
return {
|
|
289
289
|
c() {
|
|
290
|
-
e = P("p"), i =
|
|
290
|
+
e = P("p"), i = de(s), M(e, "class", "SearchLoading");
|
|
291
291
|
},
|
|
292
292
|
m(m, r) {
|
|
293
|
-
|
|
293
|
+
A(m, e, r), K(e, i);
|
|
294
294
|
},
|
|
295
295
|
p(m, r) {
|
|
296
296
|
r[0] & /*$_*/
|
|
297
297
|
1048576 && s !== (s = /*$_*/
|
|
298
|
-
m[20]("noGames") + "") &&
|
|
298
|
+
m[20]("noGames") + "") && fe(i, s);
|
|
299
299
|
},
|
|
300
300
|
d(m) {
|
|
301
|
-
m &&
|
|
301
|
+
m && E(e);
|
|
302
302
|
}
|
|
303
303
|
};
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function Ge(a) {
|
|
306
306
|
let e, s;
|
|
307
307
|
function i(g, c) {
|
|
308
308
|
return (
|
|
@@ -316,41 +316,41 @@ function ke(a) {
|
|
|
316
316
|
e = P("div"), s = P("div"), r.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
|
|
317
317
|
},
|
|
318
318
|
m(g, c) {
|
|
319
|
-
|
|
319
|
+
A(g, e, c), K(e, s), r.m(s, null), a[24](e);
|
|
320
320
|
},
|
|
321
321
|
p(g, c) {
|
|
322
322
|
m === (m = i(g)) && r ? r.p(g, c) : (r.d(1), r = m(g), r && (r.c(), r.m(s, null)));
|
|
323
323
|
},
|
|
324
|
-
i:
|
|
325
|
-
o:
|
|
324
|
+
i: Y,
|
|
325
|
+
o: Y,
|
|
326
326
|
d(g) {
|
|
327
|
-
g &&
|
|
327
|
+
g && E(e), r.d(), a[24](null);
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function ke(a, e, s) {
|
|
332
332
|
let i;
|
|
333
|
-
|
|
334
|
-
let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session:
|
|
333
|
+
oe(a, he, (t) => s(20, i = t));
|
|
334
|
+
let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: O = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: G = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: w = "" } = e, { casinomygames: S = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: z = "true" } = e, Q = window.navigator.userAgent;
|
|
335
335
|
const V = () => {
|
|
336
|
-
fetch(
|
|
336
|
+
fetch(w).then((o) => o.json()).then((o) => {
|
|
337
337
|
Object.keys(o).forEach((d) => {
|
|
338
|
-
|
|
338
|
+
B(d, o[d]);
|
|
339
339
|
});
|
|
340
340
|
}).catch((o) => {
|
|
341
341
|
console.log(o);
|
|
342
342
|
});
|
|
343
343
|
};
|
|
344
|
-
Object.keys(
|
|
345
|
-
|
|
344
|
+
Object.keys(H).forEach((t) => {
|
|
345
|
+
B(t, H[t]);
|
|
346
346
|
});
|
|
347
|
-
let N = [],
|
|
347
|
+
let N = [], I, q = !1, u;
|
|
348
348
|
const W = (t) => {
|
|
349
349
|
let o = new URL(`${m}/v1/player/${b}/games/most-played`);
|
|
350
|
-
t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period",
|
|
350
|
+
t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", C);
|
|
351
351
|
let d = t.device;
|
|
352
|
-
return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds),
|
|
353
|
-
fetch(
|
|
352
|
+
return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), I = k ? o : o.href, new Promise((f, y) => {
|
|
353
|
+
fetch(I).then((h) => h.json()).then((h) => {
|
|
354
354
|
h.items = h.items.filter((x) => {
|
|
355
355
|
let J = !0;
|
|
356
356
|
return x.gameCode == "OddsMatrix2" && (h.count--, J = !1), J;
|
|
@@ -362,76 +362,76 @@ function we(a, e, s) {
|
|
|
362
362
|
}, X = () => {
|
|
363
363
|
W({
|
|
364
364
|
limit: 100,
|
|
365
|
-
device:
|
|
365
|
+
device: ge(Q),
|
|
366
366
|
rounds: L
|
|
367
367
|
}).then((t) => {
|
|
368
368
|
if (t.count > 0) {
|
|
369
369
|
let o = [];
|
|
370
370
|
t.items.forEach((d) => {
|
|
371
371
|
let f = new URL(`${m}/v1/casino/games/${d.gameId}`);
|
|
372
|
-
f.searchParams.append("datasource", r),
|
|
372
|
+
f.searchParams.append("datasource", r), k ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
|
|
373
373
|
}), Promise.all(o).then((d) => {
|
|
374
|
-
N = d.filter((f) => !("error" in f)).map((f) => f[0]),
|
|
374
|
+
N = d.filter((f) => !("error" in f)).map((f) => f[0]), S === "true" && (N = N.slice(0, JSON.parse(j))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
|
|
375
375
|
});
|
|
376
376
|
} else
|
|
377
|
-
s(19,
|
|
377
|
+
s(19, q = !0);
|
|
378
378
|
});
|
|
379
379
|
}, Z = () => {
|
|
380
380
|
ye(c);
|
|
381
381
|
};
|
|
382
|
-
|
|
382
|
+
le(() => () => {
|
|
383
383
|
});
|
|
384
384
|
function p(t) {
|
|
385
|
-
|
|
385
|
+
ce[t ? "unshift" : "push"](() => {
|
|
386
386
|
u = t, s(18, u);
|
|
387
387
|
});
|
|
388
388
|
}
|
|
389
389
|
return a.$$set = (t) => {
|
|
390
|
-
"endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4,
|
|
390
|
+
"endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, O = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, G = t.clientstylingurl), "livecasino" in t && s(9, k = t.livecasino), "integratedgameframemobile" in t && s(10, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, j = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(21, w = t.translationurl), "casinomygames" in t && s(16, S = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(17, z = t.fetchviaevent);
|
|
391
391
|
}, a.$$.update = () => {
|
|
392
392
|
a.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
393
393
|
41 && m && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
394
|
-
262272 && _ && u &&
|
|
395
|
-
262400 &&
|
|
396
|
-
262208 && v && u &&
|
|
397
|
-
2097152 &&
|
|
394
|
+
262272 && _ && u && ue(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
395
|
+
262400 && G && u && re(u, G), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
396
|
+
262208 && v && u && me(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
|
|
397
|
+
2097152 && w && V(), a.$$.dirty[0] & /*lang*/
|
|
398
398
|
8 && c && Z();
|
|
399
399
|
}, [
|
|
400
400
|
m,
|
|
401
401
|
r,
|
|
402
402
|
g,
|
|
403
403
|
c,
|
|
404
|
-
|
|
404
|
+
O,
|
|
405
405
|
b,
|
|
406
406
|
v,
|
|
407
407
|
_,
|
|
408
|
+
G,
|
|
408
409
|
k,
|
|
409
|
-
w,
|
|
410
410
|
F,
|
|
411
411
|
D,
|
|
412
412
|
R,
|
|
413
413
|
T,
|
|
414
414
|
j,
|
|
415
415
|
U,
|
|
416
|
-
|
|
417
|
-
I,
|
|
418
|
-
u,
|
|
416
|
+
S,
|
|
419
417
|
z,
|
|
418
|
+
u,
|
|
419
|
+
q,
|
|
420
420
|
i,
|
|
421
|
-
|
|
422
|
-
|
|
421
|
+
w,
|
|
422
|
+
C,
|
|
423
423
|
L,
|
|
424
424
|
p
|
|
425
425
|
];
|
|
426
426
|
}
|
|
427
|
-
class
|
|
427
|
+
class we extends te {
|
|
428
428
|
constructor(e) {
|
|
429
429
|
super(), se(
|
|
430
430
|
this,
|
|
431
431
|
e,
|
|
432
|
-
we,
|
|
433
432
|
ke,
|
|
434
|
-
|
|
433
|
+
Ge,
|
|
434
|
+
ne,
|
|
435
435
|
{
|
|
436
436
|
endpoint: 0,
|
|
437
437
|
datasource: 1,
|
|
@@ -586,7 +586,7 @@ class Ge extends te {
|
|
|
586
586
|
this.$$set({ fetchviaevent: e }), l();
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
|
-
|
|
589
|
+
ae(we, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
|
|
590
590
|
export {
|
|
591
|
-
|
|
591
|
+
we as default
|
|
592
592
|
};
|
package/components/{CasinoMostPlayedSection-D0w6a_z2.js → CasinoMostPlayedSection-DAuM-1cc.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as $, $ as ee, S as te, i as se,
|
|
2
|
-
import "./CasinoFavoritesSection-
|
|
3
|
-
function
|
|
1
|
+
import { a as $, $ as ee, S as te, i as se, f as l, c as ae, s as ne, b as ie, e as P, y as M, d as A, z as K, G as Y, j as E, k as oe, o as le, l as re, m as me, O as ge, q as ce, r as ue, P as n, x as de, E as fe, I as he } from "./CasinoCalendar-D9zXfDS4.js";
|
|
2
|
+
import "./CasinoFavoritesSection-C0iLu9Sw.js";
|
|
3
|
+
function B(a, e) {
|
|
4
4
|
$(a, e);
|
|
5
5
|
}
|
|
6
6
|
function ye(a) {
|
|
7
7
|
ee.set(a);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const H = {
|
|
10
10
|
en: {
|
|
11
11
|
noGames: "No games in most played"
|
|
12
12
|
},
|
|
@@ -63,7 +63,7 @@ const B = {
|
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
function be(a) {
|
|
66
|
-
|
|
66
|
+
ie(a, "svelte-1de9den", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
67
67
|
}
|
|
68
68
|
function ve(a) {
|
|
69
69
|
let e;
|
|
@@ -162,7 +162,7 @@ function ve(a) {
|
|
|
162
162
|
);
|
|
163
163
|
},
|
|
164
164
|
m(s, i) {
|
|
165
|
-
|
|
165
|
+
A(s, e, i);
|
|
166
166
|
},
|
|
167
167
|
p(s, i) {
|
|
168
168
|
i[0] & /*session*/
|
|
@@ -276,7 +276,7 @@ function ve(a) {
|
|
|
276
276
|
);
|
|
277
277
|
},
|
|
278
278
|
d(s) {
|
|
279
|
-
s &&
|
|
279
|
+
s && E(e);
|
|
280
280
|
}
|
|
281
281
|
};
|
|
282
282
|
}
|
|
@@ -287,22 +287,22 @@ function _e(a) {
|
|
|
287
287
|
), i;
|
|
288
288
|
return {
|
|
289
289
|
c() {
|
|
290
|
-
e = P("p"), i =
|
|
290
|
+
e = P("p"), i = de(s), M(e, "class", "SearchLoading");
|
|
291
291
|
},
|
|
292
292
|
m(m, r) {
|
|
293
|
-
|
|
293
|
+
A(m, e, r), K(e, i);
|
|
294
294
|
},
|
|
295
295
|
p(m, r) {
|
|
296
296
|
r[0] & /*$_*/
|
|
297
297
|
1048576 && s !== (s = /*$_*/
|
|
298
|
-
m[20]("noGames") + "") &&
|
|
298
|
+
m[20]("noGames") + "") && fe(i, s);
|
|
299
299
|
},
|
|
300
300
|
d(m) {
|
|
301
|
-
m &&
|
|
301
|
+
m && E(e);
|
|
302
302
|
}
|
|
303
303
|
};
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function Ge(a) {
|
|
306
306
|
let e, s;
|
|
307
307
|
function i(g, c) {
|
|
308
308
|
return (
|
|
@@ -316,41 +316,41 @@ function ke(a) {
|
|
|
316
316
|
e = P("div"), s = P("div"), r.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
|
|
317
317
|
},
|
|
318
318
|
m(g, c) {
|
|
319
|
-
|
|
319
|
+
A(g, e, c), K(e, s), r.m(s, null), a[24](e);
|
|
320
320
|
},
|
|
321
321
|
p(g, c) {
|
|
322
322
|
m === (m = i(g)) && r ? r.p(g, c) : (r.d(1), r = m(g), r && (r.c(), r.m(s, null)));
|
|
323
323
|
},
|
|
324
|
-
i:
|
|
325
|
-
o:
|
|
324
|
+
i: Y,
|
|
325
|
+
o: Y,
|
|
326
326
|
d(g) {
|
|
327
|
-
g &&
|
|
327
|
+
g && E(e), r.d(), a[24](null);
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function ke(a, e, s) {
|
|
332
332
|
let i;
|
|
333
|
-
|
|
334
|
-
let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session:
|
|
333
|
+
oe(a, he, (t) => s(20, i = t));
|
|
334
|
+
let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: O = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: G = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: w = "" } = e, { casinomygames: S = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: z = "true" } = e, Q = window.navigator.userAgent;
|
|
335
335
|
const V = () => {
|
|
336
|
-
fetch(
|
|
336
|
+
fetch(w).then((o) => o.json()).then((o) => {
|
|
337
337
|
Object.keys(o).forEach((d) => {
|
|
338
|
-
|
|
338
|
+
B(d, o[d]);
|
|
339
339
|
});
|
|
340
340
|
}).catch((o) => {
|
|
341
341
|
console.log(o);
|
|
342
342
|
});
|
|
343
343
|
};
|
|
344
|
-
Object.keys(
|
|
345
|
-
|
|
344
|
+
Object.keys(H).forEach((t) => {
|
|
345
|
+
B(t, H[t]);
|
|
346
346
|
});
|
|
347
|
-
let N = [],
|
|
347
|
+
let N = [], I, q = !1, u;
|
|
348
348
|
const W = (t) => {
|
|
349
349
|
let o = new URL(`${m}/v1/player/${b}/games/most-played`);
|
|
350
|
-
t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period",
|
|
350
|
+
t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", C);
|
|
351
351
|
let d = t.device;
|
|
352
|
-
return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds),
|
|
353
|
-
fetch(
|
|
352
|
+
return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), I = k ? o : o.href, new Promise((f, y) => {
|
|
353
|
+
fetch(I).then((h) => h.json()).then((h) => {
|
|
354
354
|
h.items = h.items.filter((x) => {
|
|
355
355
|
let J = !0;
|
|
356
356
|
return x.gameCode == "OddsMatrix2" && (h.count--, J = !1), J;
|
|
@@ -362,76 +362,76 @@ function we(a, e, s) {
|
|
|
362
362
|
}, X = () => {
|
|
363
363
|
W({
|
|
364
364
|
limit: 100,
|
|
365
|
-
device:
|
|
365
|
+
device: ge(Q),
|
|
366
366
|
rounds: L
|
|
367
367
|
}).then((t) => {
|
|
368
368
|
if (t.count > 0) {
|
|
369
369
|
let o = [];
|
|
370
370
|
t.items.forEach((d) => {
|
|
371
371
|
let f = new URL(`${m}/v1/casino/games/${d.gameId}`);
|
|
372
|
-
f.searchParams.append("datasource", r),
|
|
372
|
+
f.searchParams.append("datasource", r), k ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
|
|
373
373
|
}), Promise.all(o).then((d) => {
|
|
374
|
-
N = d.filter((f) => !("error" in f)).map((f) => f[0]),
|
|
374
|
+
N = d.filter((f) => !("error" in f)).map((f) => f[0]), S === "true" && (N = N.slice(0, JSON.parse(j))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
|
|
375
375
|
});
|
|
376
376
|
} else
|
|
377
|
-
s(19,
|
|
377
|
+
s(19, q = !0);
|
|
378
378
|
});
|
|
379
379
|
}, Z = () => {
|
|
380
380
|
ye(c);
|
|
381
381
|
};
|
|
382
|
-
|
|
382
|
+
le(() => () => {
|
|
383
383
|
});
|
|
384
384
|
function p(t) {
|
|
385
|
-
|
|
385
|
+
ce[t ? "unshift" : "push"](() => {
|
|
386
386
|
u = t, s(18, u);
|
|
387
387
|
});
|
|
388
388
|
}
|
|
389
389
|
return a.$$set = (t) => {
|
|
390
|
-
"endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4,
|
|
390
|
+
"endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, O = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, G = t.clientstylingurl), "livecasino" in t && s(9, k = t.livecasino), "integratedgameframemobile" in t && s(10, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, j = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(21, w = t.translationurl), "casinomygames" in t && s(16, S = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(17, z = t.fetchviaevent);
|
|
391
391
|
}, a.$$.update = () => {
|
|
392
392
|
a.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
393
393
|
41 && m && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
394
|
-
262272 && _ && u &&
|
|
395
|
-
262400 &&
|
|
396
|
-
262208 && v && u &&
|
|
397
|
-
2097152 &&
|
|
394
|
+
262272 && _ && u && ue(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
395
|
+
262400 && G && u && re(u, G), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
396
|
+
262208 && v && u && me(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
|
|
397
|
+
2097152 && w && V(), a.$$.dirty[0] & /*lang*/
|
|
398
398
|
8 && c && Z();
|
|
399
399
|
}, [
|
|
400
400
|
m,
|
|
401
401
|
r,
|
|
402
402
|
g,
|
|
403
403
|
c,
|
|
404
|
-
|
|
404
|
+
O,
|
|
405
405
|
b,
|
|
406
406
|
v,
|
|
407
407
|
_,
|
|
408
|
+
G,
|
|
408
409
|
k,
|
|
409
|
-
w,
|
|
410
410
|
F,
|
|
411
411
|
D,
|
|
412
412
|
R,
|
|
413
413
|
T,
|
|
414
414
|
j,
|
|
415
415
|
U,
|
|
416
|
-
|
|
417
|
-
I,
|
|
418
|
-
u,
|
|
416
|
+
S,
|
|
419
417
|
z,
|
|
418
|
+
u,
|
|
419
|
+
q,
|
|
420
420
|
i,
|
|
421
|
-
|
|
422
|
-
|
|
421
|
+
w,
|
|
422
|
+
C,
|
|
423
423
|
L,
|
|
424
424
|
p
|
|
425
425
|
];
|
|
426
426
|
}
|
|
427
|
-
class
|
|
427
|
+
class we extends te {
|
|
428
428
|
constructor(e) {
|
|
429
429
|
super(), se(
|
|
430
430
|
this,
|
|
431
431
|
e,
|
|
432
|
-
we,
|
|
433
432
|
ke,
|
|
434
|
-
|
|
433
|
+
Ge,
|
|
434
|
+
ne,
|
|
435
435
|
{
|
|
436
436
|
endpoint: 0,
|
|
437
437
|
datasource: 1,
|
|
@@ -586,7 +586,7 @@ class Ge extends te {
|
|
|
586
586
|
this.$$set({ fetchviaevent: e }), l();
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
|
-
|
|
589
|
+
ae(we, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
|
|
590
590
|
export {
|
|
591
|
-
|
|
591
|
+
we as default
|
|
592
592
|
};
|