@everymatrix/casino-page 1.65.3 → 1.66.1
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-B7HDzCMK.cjs +19 -0
- package/components/{CasinoCalendar-UJ9XIytQ.js → CasinoCalendar-CL5PkzEO.js} +1067 -1032
- package/components/{CasinoCalendar-CwDG1IiM.js → CasinoCalendar-Vkb-R-ZX.js} +1105 -1070
- package/components/CasinoCalendarDailyDetails-Bc0r0Ym3.cjs +1 -0
- package/components/{CasinoCalendarDailyDetails-B_qFDDp1.js → CasinoCalendarDailyDetails-Cf_NBcOX.js} +91 -91
- package/components/{CasinoCalendarDailyDetails-BGINuZx6.js → CasinoCalendarDailyDetails-nHgnBEAa.js} +91 -91
- package/components/{CasinoCalendarDailyItem-C461Kkjq.js → CasinoCalendarDailyItem-CQSuNZtl.js} +36 -36
- package/components/{CasinoCalendarDailyItem-Bz9SS-rw.js → CasinoCalendarDailyItem-CUbfxemR.js} +36 -36
- package/components/{CasinoCalendarDailyItem-BNJrGwwo.cjs → CasinoCalendarDailyItem-DcM708OO.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-CuvGHzcK.cjs → CasinoCollectionsProviders-58EKJRFt.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-B8OXqxk_.js → CasinoCollectionsProviders-C2HckLP0.js} +68 -68
- package/components/{CasinoCollectionsProviders-BbcmPyTY.js → CasinoCollectionsProviders-pEu__c8l.js} +44 -44
- package/components/{CasinoFavoritesSection-Csg7Kz3C.cjs → CasinoFavoritesSection-B4Riuhq6.cjs} +1 -1
- package/components/{CasinoFavoritesSection-92tW65YS.js → CasinoFavoritesSection-D4bJ1mqA.js} +19 -19
- package/components/{CasinoFavoritesSection-BQak0vkm.js → CasinoFavoritesSection-sTJLKu2v.js} +19 -19
- package/components/{CasinoFilter-6w1z62IQ.cjs → CasinoFilter-Bmbi-NIl.cjs} +1 -1
- package/components/{CasinoFilter-Cn47bubC.js → CasinoFilter-DcGO-ipH.js} +59 -59
- package/components/{CasinoFilter--Fl7ZT1Q.js → CasinoFilter-DdOgJOoJ.js} +60 -60
- package/components/{CasinoGameThumbnail-DJ9DbReA.js → CasinoGameThumbnail-CBE1pMbX.js} +167 -167
- package/components/{CasinoGameThumbnail-Ttvis_Sq.cjs → CasinoGameThumbnail-COIE0fub.cjs} +1 -1
- package/components/{CasinoGameThumbnail-BK8tr3Kl.js → CasinoGameThumbnail-DXQLodRv.js} +169 -169
- package/components/CasinoGamesCategorySection-DBJfavdL.cjs +1 -0
- package/components/{CasinoGamesCategorySection-C_qjWOqg.js → CasinoGamesCategorySection-DQe2HZo4.js} +171 -167
- package/components/{CasinoGamesCategorySection-COVqVfqB.js → CasinoGamesCategorySection-lKH0wiKc.js} +175 -171
- package/components/{CasinoJackpotBanner-jSFBFBSC.cjs → CasinoJackpotBanner-BuVB-M1i.cjs} +1 -1
- package/components/{CasinoJackpotBanner-zkD8v3L0.js → CasinoJackpotBanner-V6O3AoyH.js} +115 -115
- package/components/{CasinoJackpotBanner-Ks0pdPot.js → CasinoJackpotBanner-emlytO5A.js} +122 -122
- package/components/{CasinoLastPlayedSection-DgKJaKEB.cjs → CasinoLastPlayedSection-C92AAwdL.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-Akn-B-pf.js → CasinoLastPlayedSection-CFgjuqen.js} +41 -41
- package/components/{CasinoLastPlayedSection-B3bi3ie6.js → CasinoLastPlayedSection-CukjflZs.js} +41 -41
- package/components/{CasinoMostPlayedSection-BNIkG88v.cjs → CasinoMostPlayedSection-6T8wGaqn.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-DJHpwFPq.js → CasinoMostPlayedSection-BRfj19QK.js} +46 -46
- package/components/{CasinoMostPlayedSection-q9GkRuZo.js → CasinoMostPlayedSection-CA-S7VDg.js} +46 -46
- package/components/{CasinoMyGames-B1hCHM_s.js → CasinoMyGames-CMVuwNRB.js} +43 -43
- package/components/{CasinoMyGames-DXo0BMs6.cjs → CasinoMyGames-D65qUKnx.cjs} +1 -1
- package/components/{CasinoMyGames-cSDNaSs1.js → CasinoMyGames-OvM3ePg0.js} +42 -42
- package/components/{CasinoPage-Dv9w6MT1.js → CasinoPage-B1H6b20-.js} +78 -78
- package/components/{CasinoPage-ByguX60n.js → CasinoPage-xV4iM79L.js} +80 -80
- package/components/{CasinoPage-D1sVGQz8.cjs → CasinoPage-yeAtNiep.cjs} +1 -1
- package/components/{CasinoRandomGame-BnQdoKSk.cjs → CasinoRandomGame-Bu3vRXKq.cjs} +2 -2
- package/components/{CasinoRandomGame-DzFbBVAV.js → CasinoRandomGame-SWOJ-rEc.js} +110 -110
- package/components/{CasinoRandomGame-1EbXipSC.js → CasinoRandomGame-z09wbNE_.js} +59 -59
- package/components/{CasinoSearch-D4U3wZTJ.js → CasinoSearch-BpVrkotF.js} +110 -110
- package/components/{CasinoSearch-CHGFjogJ.cjs → CasinoSearch-Cz_jtCYm.cjs} +1 -1
- package/components/{CasinoSearch-BM6021WV.js → CasinoSearch-ep1SOaOy.js} +107 -107
- package/components/{CasinoSort-C6du8Rsp.cjs → CasinoSort-DKVyUE8P.cjs} +1 -1
- package/components/{CasinoSort-DUwcihyy.js → CasinoSort-DfH2maWJ.js} +37 -37
- package/components/{CasinoSort-SAEv8PFX.js → CasinoSort-yjF37qpC.js} +37 -37
- package/components/{CasinoWinners-BZpiE2UG.js → CasinoWinners-BOXhaOL0.js} +92 -92
- package/components/{CasinoWinners-4v-0yjeB.cjs → CasinoWinners-C9tJh4_L.cjs} +1 -1
- package/components/{CasinoWinners-CBZ72WrC.js → CasinoWinners-DB-fwvGm.js} +91 -91
- package/components/{GeneralAnimationLoading-DRtQYzy7.js → GeneralAnimationLoading-B2emFg0o.js} +14 -14
- package/components/{GeneralAnimationLoading-Bbdw1Fyf.cjs → GeneralAnimationLoading-Gvq6az05.cjs} +1 -1
- package/components/{GeneralAnimationLoading-DfHfkkTw.js → GeneralAnimationLoading-KrmvxEvx.js} +14 -14
- 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-d1PoE_Vf.js → casino-play-random-game-BLl4u8GF.js} +1 -1
- package/stencil/{casino-play-random-game-Bc2XLGRl.js → casino-play-random-game-C0BJMsSD.js} +1 -1
- package/stencil/{casino-play-random-game-wi94nFPy.cjs → casino-play-random-game-Dkk0BTsb.cjs} +1 -1
- package/stencil/{index-97d17652-ChRvzjAp.js → index-97d17652-BEnqZAxL.js} +186 -186
- package/stencil/index-97d17652-D5_8Vwfn.cjs +1 -0
- package/stencil/{index-97d17652-DKsTmN3Z.js → index-97d17652-WK_DbPS4.js} +175 -175
- package/stencil/{index-ab3202d6-Cowbr6qN.js → index-ab3202d6-CZKlrnZf.js} +199 -199
- package/stencil/index-ab3202d6-ClDKsCJv.js +575 -0
- package/stencil/index-ab3202d6-DFbwTHas.cjs +1 -0
- package/stencil/index-b2193545-60VR4wV3.js +519 -0
- package/stencil/index-b2193545-LYFajSbf.js +503 -0
- package/stencil/index-b2193545-nJb2J-aJ.cjs +1 -0
- package/stencil/{ui-image-VZVQAOIv.cjs → ui-image-DLXwOzO2.cjs} +1 -1
- package/stencil/{ui-image-CvhuPuie.js → ui-image-YGEFo8L0.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DVcK_myk.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-CRQDt62Z.cjs → ui-image-b7b48fe5-DCck2kk1.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-B43lELFk.js → ui-image-b7b48fe5-V9vp4faA.js} +1 -1
- package/stencil/{ui-image-XpIoyuB-.js → ui-image-w38Eao2h.js} +1 -1
- package/stencil/{ui-image_2-EP2dwjfi.js → ui-image_2-B56t6kXT.js} +2 -2
- package/stencil/{ui-image_2-Df0q0jE8.js → ui-image_2-BncuYpLi.js} +2 -2
- package/stencil/{ui-image_2-CyHaM9Na.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-D_0YRJ9-.js → ui-skeleton-1cb75d00-BWUmrSx4.js} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-BTXzPb_s.cjs → ui-skeleton-1cb75d00-C9ZtbYpX.cjs} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-sEhY49mv.js → ui-skeleton-1cb75d00-D5AevndQ.js} +1 -1
- package/stencil/{ui-skeleton-Bu0t0Ulb.js → ui-skeleton-CDhNSEbX.js} +2 -2
- package/stencil/{ui-skeleton-BjIJI3qb.cjs → ui-skeleton-CUmVjhrn.cjs} +1 -1
- package/stencil/{ui-skeleton-0lXK0oUK.js → ui-skeleton-D5ACyLBl.js} +2 -2
- package/components/CasinoCalendar-BixQuo--.cjs +0 -19
- package/components/CasinoCalendarDailyDetails-DddwsZ2D.cjs +0 -1
- package/components/CasinoGamesCategorySection-CPEwpzOU.cjs +0 -1
- package/stencil/index-97d17652-qWThG1U9.cjs +0 -1
- package/stencil/index-ab3202d6-BwBGn0Oj.cjs +0 -1
- package/stencil/index-ab3202d6-CiI9jxo9.js +0 -575
- package/stencil/index-b2193545-BnWJJd0G.cjs +0 -1
- package/stencil/index-b2193545-BuoEOMLX.js +0 -519
- package/stencil/index-b2193545-CRh5CQsf.js +0 -503
package/components/{CasinoMostPlayedSection-DJHpwFPq.js → CasinoMostPlayedSection-BRfj19QK.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, s as ae, f as l, b as ne, n as H, d as A, h as E, p as B, j as P, r as M, k as ie, o as oe, P as le, C as re, m as me, q as ge, E as n, H as ce, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-Vkb-R-ZX.js";
|
|
2
|
+
import "./CasinoFavoritesSection-sTJLKu2v.js";
|
|
3
|
+
function K(a, e) {
|
|
4
4
|
$(a, e);
|
|
5
5
|
}
|
|
6
6
|
function ye(a) {
|
|
7
7
|
ee.set(a);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const Y = {
|
|
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
|
+
ne(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
|
+
E(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 && A(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 = ge(s), M(e, "class", "SearchLoading");
|
|
291
291
|
},
|
|
292
292
|
m(m, r) {
|
|
293
|
-
|
|
293
|
+
E(m, e, r), B(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") + "") && me(i, s);
|
|
299
299
|
},
|
|
300
300
|
d(m) {
|
|
301
|
-
m &&
|
|
301
|
+
m && A(e);
|
|
302
302
|
}
|
|
303
303
|
};
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function ke(a) {
|
|
306
306
|
let e, s;
|
|
307
307
|
function i(g, c) {
|
|
308
308
|
return (
|
|
@@ -316,7 +316,7 @@ function Ge(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
|
+
E(g, e, c), B(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)));
|
|
@@ -324,32 +324,32 @@ function Ge(a) {
|
|
|
324
324
|
i: H,
|
|
325
325
|
o: H,
|
|
326
326
|
d(g) {
|
|
327
|
-
g &&
|
|
327
|
+
g && A(e), r.d(), a[24](null);
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function we(a, e, s) {
|
|
332
332
|
let i;
|
|
333
|
-
|
|
334
|
-
let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl:
|
|
333
|
+
ie(a, he, (t) => s(20, i = t));
|
|
334
|
+
let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: G = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: S = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: I = "true" } = e, Q = window.navigator.userAgent;
|
|
335
335
|
const V = () => {
|
|
336
|
-
fetch(
|
|
336
|
+
fetch(G).then((o) => o.json()).then((o) => {
|
|
337
337
|
Object.keys(o).forEach((d) => {
|
|
338
|
-
|
|
338
|
+
K(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(Y).forEach((t) => {
|
|
345
|
+
K(t, Y[t]);
|
|
346
346
|
});
|
|
347
|
-
let N = [], q,
|
|
347
|
+
let N = [], q, z = !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", S);
|
|
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), q =
|
|
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), q = w ? o : o.href, new Promise((f, y) => {
|
|
353
353
|
fetch(q).then((h) => h.json()).then((h) => {
|
|
354
354
|
h.items = h.items.filter((x) => {
|
|
355
355
|
let J = !0;
|
|
@@ -362,39 +362,39 @@ function ke(a, e, s) {
|
|
|
362
362
|
}, X = () => {
|
|
363
363
|
W({
|
|
364
364
|
limit: 100,
|
|
365
|
-
device:
|
|
365
|
+
device: le(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), w ? 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]), C === "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, z = !0);
|
|
378
378
|
});
|
|
379
379
|
}, Z = () => {
|
|
380
380
|
ye(c);
|
|
381
381
|
};
|
|
382
|
-
|
|
382
|
+
oe(() => () => {
|
|
383
383
|
});
|
|
384
384
|
function p(t) {
|
|
385
|
-
|
|
385
|
+
re[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, F = 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,
|
|
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, F = 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, k = t.clientstylingurl), "livecasino" in t && s(9, w = t.livecasino), "integratedgameframemobile" in t && s(10, O = 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, G = t.translationurl), "casinomygames" in t && s(16, C = t.casinomygames), "mostplayedperiod" in t && s(22, S = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(17, I = 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 && ce(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
395
|
+
262400 && k && u && ue(u, k), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
396
|
+
262208 && v && u && de(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
|
|
397
|
+
2097152 && G && V(), a.$$.dirty[0] & /*lang*/
|
|
398
398
|
8 && c && Z();
|
|
399
399
|
}, [
|
|
400
400
|
m,
|
|
@@ -405,33 +405,33 @@ function ke(a, e, s) {
|
|
|
405
405
|
b,
|
|
406
406
|
v,
|
|
407
407
|
_,
|
|
408
|
-
G,
|
|
409
408
|
k,
|
|
409
|
+
w,
|
|
410
410
|
O,
|
|
411
411
|
D,
|
|
412
412
|
R,
|
|
413
413
|
T,
|
|
414
414
|
j,
|
|
415
415
|
U,
|
|
416
|
-
|
|
417
|
-
z,
|
|
418
|
-
u,
|
|
416
|
+
C,
|
|
419
417
|
I,
|
|
418
|
+
u,
|
|
419
|
+
z,
|
|
420
420
|
i,
|
|
421
|
-
|
|
422
|
-
|
|
421
|
+
G,
|
|
422
|
+
S,
|
|
423
423
|
L,
|
|
424
424
|
p
|
|
425
425
|
];
|
|
426
426
|
}
|
|
427
|
-
class
|
|
427
|
+
class Ge extends te {
|
|
428
428
|
constructor(e) {
|
|
429
429
|
super(), se(
|
|
430
430
|
this,
|
|
431
431
|
e,
|
|
432
|
+
we,
|
|
432
433
|
ke,
|
|
433
|
-
|
|
434
|
-
ne,
|
|
434
|
+
ae,
|
|
435
435
|
{
|
|
436
436
|
endpoint: 0,
|
|
437
437
|
datasource: 1,
|
|
@@ -586,7 +586,7 @@ class we extends te {
|
|
|
586
586
|
this.$$set({ fetchviaevent: e }), l();
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
|
-
|
|
589
|
+
fe(Ge, { 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
|
+
Ge as default
|
|
592
592
|
};
|
package/components/{CasinoMostPlayedSection-q9GkRuZo.js → CasinoMostPlayedSection-CA-S7VDg.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, s as ae, f as l, b as ne, n as H, d as A, h as E, p as B, j as P, r as M, k as ie, o as oe, P as le, C as re, m as me, q as ge, E as n, H as ce, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-CL5PkzEO.js";
|
|
2
|
+
import "./CasinoFavoritesSection-D4bJ1mqA.js";
|
|
3
|
+
function K(a, e) {
|
|
4
4
|
$(a, e);
|
|
5
5
|
}
|
|
6
6
|
function ye(a) {
|
|
7
7
|
ee.set(a);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const Y = {
|
|
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
|
+
ne(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
|
+
E(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 && A(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 = ge(s), M(e, "class", "SearchLoading");
|
|
291
291
|
},
|
|
292
292
|
m(m, r) {
|
|
293
|
-
|
|
293
|
+
E(m, e, r), B(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") + "") && me(i, s);
|
|
299
299
|
},
|
|
300
300
|
d(m) {
|
|
301
|
-
m &&
|
|
301
|
+
m && A(e);
|
|
302
302
|
}
|
|
303
303
|
};
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function ke(a) {
|
|
306
306
|
let e, s;
|
|
307
307
|
function i(g, c) {
|
|
308
308
|
return (
|
|
@@ -316,7 +316,7 @@ function Ge(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
|
+
E(g, e, c), B(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)));
|
|
@@ -324,32 +324,32 @@ function Ge(a) {
|
|
|
324
324
|
i: H,
|
|
325
325
|
o: H,
|
|
326
326
|
d(g) {
|
|
327
|
-
g &&
|
|
327
|
+
g && A(e), r.d(), a[24](null);
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function we(a, e, s) {
|
|
332
332
|
let i;
|
|
333
|
-
|
|
334
|
-
let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl:
|
|
333
|
+
ie(a, he, (t) => s(20, i = t));
|
|
334
|
+
let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: G = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: S = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: I = "true" } = e, Q = window.navigator.userAgent;
|
|
335
335
|
const V = () => {
|
|
336
|
-
fetch(
|
|
336
|
+
fetch(G).then((o) => o.json()).then((o) => {
|
|
337
337
|
Object.keys(o).forEach((d) => {
|
|
338
|
-
|
|
338
|
+
K(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(Y).forEach((t) => {
|
|
345
|
+
K(t, Y[t]);
|
|
346
346
|
});
|
|
347
|
-
let N = [], q,
|
|
347
|
+
let N = [], q, z = !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", S);
|
|
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), q =
|
|
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), q = w ? o : o.href, new Promise((f, y) => {
|
|
353
353
|
fetch(q).then((h) => h.json()).then((h) => {
|
|
354
354
|
h.items = h.items.filter((x) => {
|
|
355
355
|
let J = !0;
|
|
@@ -362,39 +362,39 @@ function ke(a, e, s) {
|
|
|
362
362
|
}, X = () => {
|
|
363
363
|
W({
|
|
364
364
|
limit: 100,
|
|
365
|
-
device:
|
|
365
|
+
device: le(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), w ? 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]), C === "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, z = !0);
|
|
378
378
|
});
|
|
379
379
|
}, Z = () => {
|
|
380
380
|
ye(c);
|
|
381
381
|
};
|
|
382
|
-
|
|
382
|
+
oe(() => () => {
|
|
383
383
|
});
|
|
384
384
|
function p(t) {
|
|
385
|
-
|
|
385
|
+
re[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, F = 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,
|
|
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, F = 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, k = t.clientstylingurl), "livecasino" in t && s(9, w = t.livecasino), "integratedgameframemobile" in t && s(10, O = 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, G = t.translationurl), "casinomygames" in t && s(16, C = t.casinomygames), "mostplayedperiod" in t && s(22, S = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(17, I = 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 && ce(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
395
|
+
262400 && k && u && ue(u, k), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
396
|
+
262208 && v && u && de(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
|
|
397
|
+
2097152 && G && V(), a.$$.dirty[0] & /*lang*/
|
|
398
398
|
8 && c && Z();
|
|
399
399
|
}, [
|
|
400
400
|
m,
|
|
@@ -405,33 +405,33 @@ function ke(a, e, s) {
|
|
|
405
405
|
b,
|
|
406
406
|
v,
|
|
407
407
|
_,
|
|
408
|
-
G,
|
|
409
408
|
k,
|
|
409
|
+
w,
|
|
410
410
|
O,
|
|
411
411
|
D,
|
|
412
412
|
R,
|
|
413
413
|
T,
|
|
414
414
|
j,
|
|
415
415
|
U,
|
|
416
|
-
|
|
417
|
-
z,
|
|
418
|
-
u,
|
|
416
|
+
C,
|
|
419
417
|
I,
|
|
418
|
+
u,
|
|
419
|
+
z,
|
|
420
420
|
i,
|
|
421
|
-
|
|
422
|
-
|
|
421
|
+
G,
|
|
422
|
+
S,
|
|
423
423
|
L,
|
|
424
424
|
p
|
|
425
425
|
];
|
|
426
426
|
}
|
|
427
|
-
class
|
|
427
|
+
class Ge extends te {
|
|
428
428
|
constructor(e) {
|
|
429
429
|
super(), se(
|
|
430
430
|
this,
|
|
431
431
|
e,
|
|
432
|
+
we,
|
|
432
433
|
ke,
|
|
433
|
-
|
|
434
|
-
ne,
|
|
434
|
+
ae,
|
|
435
435
|
{
|
|
436
436
|
endpoint: 0,
|
|
437
437
|
datasource: 1,
|
|
@@ -586,7 +586,7 @@ class we extends te {
|
|
|
586
586
|
this.$$set({ fetchviaevent: e }), l();
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
|
-
|
|
589
|
+
fe(Ge, { 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
|
+
Ge as default
|
|
592
592
|
};
|