@everymatrix/casino-lobby 1.76.0 → 1.76.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-2Cpj6Bg6.js → CasinoCalendar-B0K8z0GJ.js} +1078 -1113
- package/components/CasinoCalendar-Bo-lripz.cjs +19 -0
- package/components/{CasinoCalendar-CMIWRUUm.js → CasinoCalendar-CzMBlFEu.js} +1040 -1075
- package/components/{CasinoCalendarDailyDetails-DA7MIM93.js → CasinoCalendarDailyDetails-8b-Ie2Hl.js} +91 -91
- package/components/{CasinoCalendarDailyDetails-B5krFnaT.js → CasinoCalendarDailyDetails-D5cq8_6v.js} +91 -91
- package/components/CasinoCalendarDailyDetails-DZ2juA5b.cjs +1 -0
- package/components/{CasinoCalendarDailyItem-DY2ge_ta.js → CasinoCalendarDailyItem-BglEC2TQ.js} +34 -34
- package/components/{CasinoCalendarDailyItem-Q79--gB8.cjs → CasinoCalendarDailyItem-Cl7eHYxY.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-BAJJIvIo.js → CasinoCalendarDailyItem-DXREwm9q.js} +34 -34
- package/components/{CasinoCategoriesSlider-Bj5sxBdL.cjs → CasinoCategoriesSlider-B6_EYUBm.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-QFkK1VfK.js → CasinoCategoriesSlider-BKQxQQyV.js} +36 -36
- package/components/{CasinoCategoriesSlider-D8ihGze3.js → CasinoCategoriesSlider-C7_ke4uB.js} +34 -34
- package/components/{CasinoCollectionsProviders-CyhsgC2q.cjs → CasinoCollectionsProviders-Abg7c3OD.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-4Z4WIkbN.js → CasinoCollectionsProviders-BpkF43eH.js} +77 -77
- package/components/{CasinoCollectionsProviders-KSxevvZ5.js → CasinoCollectionsProviders-BzU-DnW_.js} +64 -64
- package/components/{CasinoFavoritesSection-CH6RKYbI.js → CasinoFavoritesSection-CVZktd79.js} +19 -19
- package/components/{CasinoFavoritesSection-CeH7gEs_.js → CasinoFavoritesSection-R-FdmVCi.js} +19 -19
- package/components/{CasinoFavoritesSection-CnKvlpHj.cjs → CasinoFavoritesSection-_ilSY3sa.cjs} +1 -1
- package/components/{CasinoFilter-BDFP3doT.cjs → CasinoFilter-Bc_k_xiT.cjs} +1 -1
- package/components/{CasinoFilter-nIExzBTm.js → CasinoFilter-CekYy95Z.js} +46 -46
- package/components/{CasinoFilter-DqvsdQLm.js → CasinoFilter-Cve0ticX.js} +46 -46
- package/components/{CasinoGameThumbnail-vXzpFK6B.js → CasinoGameThumbnail-1vnHRePz.js} +167 -167
- package/components/{CasinoGameThumbnail-DmAXBgdw.js → CasinoGameThumbnail-CWVvNagJ.js} +169 -169
- package/components/{CasinoGameThumbnail-Dnb_EWII.cjs → CasinoGameThumbnail-MNCUvtBB.cjs} +1 -1
- package/components/CasinoGamesCategorySection-D9LYDRb0.cjs +1 -0
- package/components/{CasinoGamesCategorySection-CCMbufvI.js → CasinoGamesCategorySection-DbTE8dp4.js} +170 -170
- package/components/{CasinoGamesCategorySection-D8p1YH47.js → CasinoGamesCategorySection-ORk-4Z5T.js} +157 -157
- package/components/{CasinoJackpotBanner-EKq86n9z.js → CasinoJackpotBanner-B_dYLQp4.js} +89 -89
- package/components/{CasinoJackpotBanner-uWhhU8zz.js → CasinoJackpotBanner-CBz6E__7.js} +84 -84
- package/components/{CasinoJackpotBanner-C2pEv1Zb.cjs → CasinoJackpotBanner-DrTQC7xJ.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-Cz43Ntm0.js → CasinoLastPlayedSection-DPQb7w2E.js} +33 -33
- package/components/{CasinoLastPlayedSection-D6dhMSFC.js → CasinoLastPlayedSection-F_nICX3T.js} +33 -33
- package/components/{CasinoLastPlayedSection-Bkk9ZJWU.cjs → CasinoLastPlayedSection-dsIlnh3O.cjs} +1 -1
- package/components/{CasinoLobby-pKt5iffv.js → CasinoLobby-DKn7cqKR.js} +59 -59
- package/components/{CasinoLobby-CxgUhhrv.cjs → CasinoLobby-Dbhuiv5E.cjs} +1 -1
- package/components/{CasinoLobby-C5W8yGx8.js → CasinoLobby-DwSpwsm2.js} +59 -59
- package/components/{CasinoMostPlayedSection-D2dgTPLO.cjs → CasinoMostPlayedSection-BxTpYnOu.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-CrpSf7Wm.js → CasinoMostPlayedSection-Dgv78Mz4.js} +49 -49
- package/components/{CasinoMostPlayedSection-WUT01RfM.js → CasinoMostPlayedSection-Q71YToxb.js} +49 -49
- package/components/{CasinoMyGames-D4hswNh4.js → CasinoMyGames-C95f0LUG.js} +29 -29
- package/components/{CasinoMyGames-CXvY2HgK.js → CasinoMyGames-CUUW-jsz.js} +29 -29
- package/components/{CasinoMyGames-BySluNi7.cjs → CasinoMyGames-CxJ9bl_4.cjs} +1 -1
- package/components/{CasinoPage-DJbF4jd3.js → CasinoPage-DlqPwpLJ.js} +124 -124
- package/components/{CasinoPage-CYgZ9Y3j.js → CasinoPage-IgKPkViB.js} +110 -110
- package/components/{CasinoPage-CXQGupl1.cjs → CasinoPage-eSiTBBlE.cjs} +1 -1
- package/components/{CasinoRandomGame-KqxBje-s.js → CasinoRandomGame-Bqh0v1th.js} +105 -105
- package/components/{CasinoRandomGame-C0LeVa_K.js → CasinoRandomGame-DUQ2O7Ih.js} +53 -53
- package/components/{CasinoRandomGame-CN0ZsyT7.cjs → CasinoRandomGame-DwpEKRBx.cjs} +2 -2
- package/components/{CasinoSearch-DKPZ8_Iy.cjs → CasinoSearch-DN57CePH.cjs} +1 -1
- package/components/{CasinoSearch-Bh_3dc9h.js → CasinoSearch-DtTyugw1.js} +93 -93
- package/components/{CasinoSearch-BSZXyGpW.js → CasinoSearch-qwCltuQO.js} +96 -96
- package/components/{CasinoSlider-B8GaaNuP.js → CasinoSlider-BSy-pbt8.js} +87 -87
- package/components/{CasinoSlider-CBsaRkSG.js → CasinoSlider-BZe1q5jA.js} +86 -86
- package/components/{CasinoSlider-DbyJ57E6.cjs → CasinoSlider-Gf_263k6.cjs} +1 -1
- package/components/{CasinoSort-DdVCJHJU.js → CasinoSort-B25h8Cud.js} +35 -35
- package/components/{CasinoSort-5CSg7HAS.cjs → CasinoSort-BjPW0QaZ.cjs} +1 -1
- package/components/{CasinoSort-DUnBFMEc.js → CasinoSort-DHRPAHDE.js} +35 -35
- package/components/{CasinoWinners-4uQChe2F.cjs → CasinoWinners-D1tkG_oD.cjs} +1 -1
- package/components/{CasinoWinners-D9hsy2fX.js → CasinoWinners-DUN0A3--.js} +76 -76
- package/components/{CasinoWinners-BO9ep3XD.js → CasinoWinners-DYd8q5Sh.js} +76 -76
- package/components/{GeneralAnimationLoading-DKWSPDDc.js → GeneralAnimationLoading-8efHmhFw.js} +14 -14
- package/components/{GeneralAnimationLoading-DpT91_iF.cjs → GeneralAnimationLoading-CUK4MKI8.cjs} +1 -1
- package/components/{GeneralAnimationLoading-yNj1-Ym_.js → GeneralAnimationLoading-DUAt1hpi.js} +14 -14
- 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-BmY8ENyy.js → casino-play-random-game-BGnpW6-t.js} +1 -1
- package/stencil/{casino-play-random-game-rSOIFZ4R.js → casino-play-random-game-Dkt8_s5i.js} +1 -1
- package/stencil/{casino-play-random-game-Ct16KgVH.cjs → casino-play-random-game-DxDk4Aim.cjs} +1 -1
- package/stencil/{casino-play-random-game_2-BJVoDn1D.cjs → casino-play-random-game_2-BxEiwCaH.cjs} +1 -1
- package/stencil/{casino-play-random-game_2-rMFQqRp8.js → casino-play-random-game_2-CO_ycbvG.js} +1 -1
- package/stencil/{casino-play-random-game_2-Cr07t-U3.js → casino-play-random-game_2-OLkBGlKQ.js} +1 -1
- package/stencil/index-328e660d-CgCMs0nk.js +576 -0
- package/stencil/index-328e660d-DIiqSVTN.js +560 -0
- package/stencil/index-328e660d-pKNw3-4H.cjs +1 -0
- package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
- package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-C7V2DWFg.js} +176 -176
- package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-DIpvPU9H.js} +187 -187
- package/stencil/index-b2193545-BL364Gzq.js +503 -0
- package/stencil/index-b2193545-DdqB2rk5.js +519 -0
- package/stencil/index-b2193545-DmjUkkS8.cjs +1 -0
- package/stencil/{ui-image-bN_3pDWc.js → ui-image-B_HWMBI-.js} +1 -1
- package/stencil/{ui-image-2_i-_1cj.js → ui-image-CzGNxx73.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
- package/stencil/{ui-image-eY8BEG3a.cjs → ui-image-wubI3fkK.cjs} +1 -1
- package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-CzFe50WB.js} +2 -2
- package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
- package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-z5LhXZY2.js} +2 -2
- package/stencil/{ui-skeleton-CSMUbPcJ.js → ui-skeleton-CsmgJUYN.js} +2 -2
- package/stencil/{ui-skeleton-DcmFcn7k.cjs → ui-skeleton-DTQ__6LQ.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-DDHvWmVB.js → ui-skeleton-ae35c6f2-BRNiEwlg.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-D1Tb0H8D.cjs → ui-skeleton-ae35c6f2-CZuWo9GO.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-9hZ7WFQc.js → ui-skeleton-ae35c6f2-CxSezPtG.js} +1 -1
- package/stencil/{ui-skeleton-CiszU04_.js → ui-skeleton-yRWBmyfK.js} +2 -2
- package/components/CasinoCalendar-DV_HGN_d.cjs +0 -19
- package/components/CasinoCalendarDailyDetails-XuqvF6i3.cjs +0 -1
- package/components/CasinoGamesCategorySection-i3CzEe6V.cjs +0 -1
- package/stencil/index-328e660d-Cex2hzsG.js +0 -576
- package/stencil/index-328e660d-Dti9H7_B.js +0 -560
- package/stencil/index-328e660d-MaaYKutI.cjs +0 -1
- package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
- package/stencil/index-b2193545-DVT8jgVo.cjs +0 -1
- package/stencil/index-b2193545-Dxw-xjac.js +0 -503
- package/stencil/index-b2193545-TbRClz6K.js +0 -519
package/components/{CasinoMostPlayedSection-CrpSf7Wm.js → CasinoMostPlayedSection-Dgv78Mz4.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 L, d as A, z as K, G as H, j as E, k as oe, o as le, M as re, n as me, p as ge, q as ce, r as ue, H as n, x as de, E as fe, J as he } from "./CasinoCalendar-B0K8z0GJ.js";
|
|
2
|
+
import "./CasinoFavoritesSection-CVZktd79.js";
|
|
3
|
+
function Y(a, e) {
|
|
4
4
|
$(a, e);
|
|
5
5
|
}
|
|
6
6
|
function ye(a) {
|
|
7
7
|
ee.set(a);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const B = {
|
|
10
10
|
en: {
|
|
11
11
|
noGames: "No games in most played"
|
|
12
12
|
},
|
|
@@ -63,7 +63,7 @@ const Y = {
|
|
|
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;
|
|
@@ -167,7 +167,7 @@ function ve(a) {
|
|
|
167
167
|
);
|
|
168
168
|
},
|
|
169
169
|
m(s, i) {
|
|
170
|
-
|
|
170
|
+
A(s, e, i);
|
|
171
171
|
},
|
|
172
172
|
p(s, i) {
|
|
173
173
|
i[0] & /*session*/
|
|
@@ -287,7 +287,7 @@ function ve(a) {
|
|
|
287
287
|
);
|
|
288
288
|
},
|
|
289
289
|
d(s) {
|
|
290
|
-
s &&
|
|
290
|
+
s && E(e);
|
|
291
291
|
}
|
|
292
292
|
};
|
|
293
293
|
}
|
|
@@ -298,22 +298,22 @@ function _e(a) {
|
|
|
298
298
|
), i;
|
|
299
299
|
return {
|
|
300
300
|
c() {
|
|
301
|
-
e = P("p"), i =
|
|
301
|
+
e = P("p"), i = de(s), L(e, "class", "SearchLoading");
|
|
302
302
|
},
|
|
303
303
|
m(m, r) {
|
|
304
|
-
|
|
304
|
+
A(m, e, r), K(e, i);
|
|
305
305
|
},
|
|
306
306
|
p(m, r) {
|
|
307
307
|
r[0] & /*$_*/
|
|
308
308
|
2097152 && s !== (s = /*$_*/
|
|
309
|
-
m[21]("noGames") + "") &&
|
|
309
|
+
m[21]("noGames") + "") && fe(i, s);
|
|
310
310
|
},
|
|
311
311
|
d(m) {
|
|
312
|
-
m &&
|
|
312
|
+
m && E(e);
|
|
313
313
|
}
|
|
314
314
|
};
|
|
315
315
|
}
|
|
316
|
-
function
|
|
316
|
+
function Ge(a) {
|
|
317
317
|
let e, s;
|
|
318
318
|
function i(g, c) {
|
|
319
319
|
return (
|
|
@@ -324,10 +324,10 @@ function ke(a) {
|
|
|
324
324
|
let m = i(a), r = m(a);
|
|
325
325
|
return {
|
|
326
326
|
c() {
|
|
327
|
-
e = P("div"), s = P("div"), r.c(),
|
|
327
|
+
e = P("div"), s = P("div"), r.c(), L(s, "class", "casino-most-played-section"), L(e, "class", "CasinoGamesCategorySectionContainer");
|
|
328
328
|
},
|
|
329
329
|
m(g, c) {
|
|
330
|
-
|
|
330
|
+
A(g, e, c), K(e, s), r.m(s, null), a[24](e);
|
|
331
331
|
},
|
|
332
332
|
p(g, c) {
|
|
333
333
|
m === (m = i(g)) && r ? r.p(g, c) : (r.d(1), r = m(g), r && (r.c(), r.m(s, null)));
|
|
@@ -335,32 +335,32 @@ function ke(a) {
|
|
|
335
335
|
i: H,
|
|
336
336
|
o: H,
|
|
337
337
|
d(g) {
|
|
338
|
-
g &&
|
|
338
|
+
g && E(e), r.d(), a[24](null);
|
|
339
339
|
}
|
|
340
340
|
};
|
|
341
341
|
}
|
|
342
|
-
function
|
|
342
|
+
function ke(a, e, s) {
|
|
343
343
|
let i;
|
|
344
|
-
|
|
345
|
-
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:
|
|
344
|
+
oe(a, he, (t) => s(21, i = t));
|
|
345
|
+
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: G = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: O = "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: M = "10" } = e, { fetchviaevent: z = "true" } = e, Q = window.navigator.userAgent;
|
|
346
346
|
const V = () => {
|
|
347
|
-
fetch(
|
|
347
|
+
fetch(w).then((o) => o.json()).then((o) => {
|
|
348
348
|
Object.keys(o).forEach((d) => {
|
|
349
|
-
|
|
349
|
+
Y(d, o[d]);
|
|
350
350
|
});
|
|
351
351
|
}).catch((o) => {
|
|
352
352
|
console.log(o);
|
|
353
353
|
});
|
|
354
354
|
};
|
|
355
|
-
Object.keys(
|
|
356
|
-
|
|
355
|
+
Object.keys(B).forEach((t) => {
|
|
356
|
+
Y(t, B[t]);
|
|
357
357
|
});
|
|
358
|
-
let N = [], q,
|
|
358
|
+
let N = [], q, I = !1, u;
|
|
359
359
|
const W = (t) => {
|
|
360
360
|
let o = new URL(`${m}/v1/player/${b}/games/most-played`);
|
|
361
|
-
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",
|
|
361
|
+
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);
|
|
362
362
|
let d = t.device;
|
|
363
|
-
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 =
|
|
363
|
+
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 = k ? o : o.href, new Promise((f, y) => {
|
|
364
364
|
fetch(q).then((h) => h.json()).then((h) => {
|
|
365
365
|
h.items = h.items.filter((x) => {
|
|
366
366
|
let J = !0;
|
|
@@ -373,39 +373,39 @@ function we(a, e, s) {
|
|
|
373
373
|
}, X = () => {
|
|
374
374
|
W({
|
|
375
375
|
limit: 100,
|
|
376
|
-
device:
|
|
377
|
-
rounds:
|
|
376
|
+
device: re(Q),
|
|
377
|
+
rounds: M
|
|
378
378
|
}).then((t) => {
|
|
379
379
|
if (t.count > 0) {
|
|
380
380
|
let o = [];
|
|
381
381
|
t.items.forEach((d) => {
|
|
382
382
|
let f = new URL(`${m}/v1/casino/games/${d.gameId}`);
|
|
383
|
-
f.searchParams.append("datasource", r),
|
|
383
|
+
f.searchParams.append("datasource", r), k ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
|
|
384
384
|
}), Promise.all(o).then((d) => {
|
|
385
|
-
N = d.filter((f) => !("error" in f)).map((f) => f[0]),
|
|
385
|
+
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);
|
|
386
386
|
});
|
|
387
387
|
} else
|
|
388
|
-
s(20,
|
|
388
|
+
s(20, I = !0);
|
|
389
389
|
});
|
|
390
390
|
}, Z = () => {
|
|
391
391
|
ye(c);
|
|
392
392
|
};
|
|
393
|
-
|
|
393
|
+
le(() => () => {
|
|
394
394
|
});
|
|
395
395
|
function p(t) {
|
|
396
|
-
|
|
396
|
+
me[t ? "unshift" : "push"](() => {
|
|
397
397
|
u = t, s(19, u);
|
|
398
398
|
});
|
|
399
399
|
}
|
|
400
400
|
return a.$$set = (t) => {
|
|
401
|
-
"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,
|
|
401
|
+
"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, G = t.clientstylingurl), "livecasino" in t && s(9, k = 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(16, w = t.translationurl), "casinomygames" in t && s(17, S = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, M = t.mostplayedrounds), "fetchviaevent" in t && s(18, z = t.fetchviaevent);
|
|
402
402
|
}, a.$$.update = () => {
|
|
403
403
|
a.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
404
404
|
41 && m && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
405
|
-
524416 && _ && u &&
|
|
406
|
-
524544 &&
|
|
407
|
-
524352 && v && u &&
|
|
408
|
-
65536 &&
|
|
405
|
+
524416 && _ && u && ge(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
406
|
+
524544 && G && u && ce(u, G), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
407
|
+
524352 && v && u && ue(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
|
|
408
|
+
65536 && w && V(), a.$$.dirty[0] & /*lang*/
|
|
409
409
|
8 && c && Z();
|
|
410
410
|
}, [
|
|
411
411
|
m,
|
|
@@ -416,33 +416,33 @@ function we(a, e, s) {
|
|
|
416
416
|
b,
|
|
417
417
|
v,
|
|
418
418
|
_,
|
|
419
|
+
G,
|
|
419
420
|
k,
|
|
420
|
-
w,
|
|
421
421
|
O,
|
|
422
422
|
D,
|
|
423
423
|
R,
|
|
424
424
|
T,
|
|
425
425
|
j,
|
|
426
426
|
U,
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
I,
|
|
430
|
-
u,
|
|
427
|
+
w,
|
|
428
|
+
S,
|
|
431
429
|
z,
|
|
430
|
+
u,
|
|
431
|
+
I,
|
|
432
432
|
i,
|
|
433
|
-
|
|
434
|
-
|
|
433
|
+
C,
|
|
434
|
+
M,
|
|
435
435
|
p
|
|
436
436
|
];
|
|
437
437
|
}
|
|
438
|
-
class
|
|
438
|
+
class we extends te {
|
|
439
439
|
constructor(e) {
|
|
440
440
|
super(), se(
|
|
441
441
|
this,
|
|
442
442
|
e,
|
|
443
|
-
we,
|
|
444
443
|
ke,
|
|
445
|
-
|
|
444
|
+
Ge,
|
|
445
|
+
ne,
|
|
446
446
|
{
|
|
447
447
|
endpoint: 0,
|
|
448
448
|
datasource: 1,
|
|
@@ -597,7 +597,7 @@ class Ge extends te {
|
|
|
597
597
|
this.$$set({ fetchviaevent: e }), l();
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
|
|
600
|
+
ae(we, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
|
|
601
601
|
export {
|
|
602
|
-
|
|
602
|
+
we as default
|
|
603
603
|
};
|
package/components/{CasinoMostPlayedSection-WUT01RfM.js → CasinoMostPlayedSection-Q71YToxb.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 L, d as A, z as K, G as H, j as E, k as oe, o as le, M as re, n as me, p as ge, q as ce, r as ue, H as n, x as de, E as fe, J as he } from "./CasinoCalendar-CzMBlFEu.js";
|
|
2
|
+
import "./CasinoFavoritesSection-R-FdmVCi.js";
|
|
3
|
+
function Y(a, e) {
|
|
4
4
|
$(a, e);
|
|
5
5
|
}
|
|
6
6
|
function ye(a) {
|
|
7
7
|
ee.set(a);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const B = {
|
|
10
10
|
en: {
|
|
11
11
|
noGames: "No games in most played"
|
|
12
12
|
},
|
|
@@ -63,7 +63,7 @@ const Y = {
|
|
|
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;
|
|
@@ -167,7 +167,7 @@ function ve(a) {
|
|
|
167
167
|
);
|
|
168
168
|
},
|
|
169
169
|
m(s, i) {
|
|
170
|
-
|
|
170
|
+
A(s, e, i);
|
|
171
171
|
},
|
|
172
172
|
p(s, i) {
|
|
173
173
|
i[0] & /*session*/
|
|
@@ -287,7 +287,7 @@ function ve(a) {
|
|
|
287
287
|
);
|
|
288
288
|
},
|
|
289
289
|
d(s) {
|
|
290
|
-
s &&
|
|
290
|
+
s && E(e);
|
|
291
291
|
}
|
|
292
292
|
};
|
|
293
293
|
}
|
|
@@ -298,22 +298,22 @@ function _e(a) {
|
|
|
298
298
|
), i;
|
|
299
299
|
return {
|
|
300
300
|
c() {
|
|
301
|
-
e = P("p"), i =
|
|
301
|
+
e = P("p"), i = de(s), L(e, "class", "SearchLoading");
|
|
302
302
|
},
|
|
303
303
|
m(m, r) {
|
|
304
|
-
|
|
304
|
+
A(m, e, r), K(e, i);
|
|
305
305
|
},
|
|
306
306
|
p(m, r) {
|
|
307
307
|
r[0] & /*$_*/
|
|
308
308
|
2097152 && s !== (s = /*$_*/
|
|
309
|
-
m[21]("noGames") + "") &&
|
|
309
|
+
m[21]("noGames") + "") && fe(i, s);
|
|
310
310
|
},
|
|
311
311
|
d(m) {
|
|
312
|
-
m &&
|
|
312
|
+
m && E(e);
|
|
313
313
|
}
|
|
314
314
|
};
|
|
315
315
|
}
|
|
316
|
-
function
|
|
316
|
+
function Ge(a) {
|
|
317
317
|
let e, s;
|
|
318
318
|
function i(g, c) {
|
|
319
319
|
return (
|
|
@@ -324,10 +324,10 @@ function ke(a) {
|
|
|
324
324
|
let m = i(a), r = m(a);
|
|
325
325
|
return {
|
|
326
326
|
c() {
|
|
327
|
-
e = P("div"), s = P("div"), r.c(),
|
|
327
|
+
e = P("div"), s = P("div"), r.c(), L(s, "class", "casino-most-played-section"), L(e, "class", "CasinoGamesCategorySectionContainer");
|
|
328
328
|
},
|
|
329
329
|
m(g, c) {
|
|
330
|
-
|
|
330
|
+
A(g, e, c), K(e, s), r.m(s, null), a[24](e);
|
|
331
331
|
},
|
|
332
332
|
p(g, c) {
|
|
333
333
|
m === (m = i(g)) && r ? r.p(g, c) : (r.d(1), r = m(g), r && (r.c(), r.m(s, null)));
|
|
@@ -335,32 +335,32 @@ function ke(a) {
|
|
|
335
335
|
i: H,
|
|
336
336
|
o: H,
|
|
337
337
|
d(g) {
|
|
338
|
-
g &&
|
|
338
|
+
g && E(e), r.d(), a[24](null);
|
|
339
339
|
}
|
|
340
340
|
};
|
|
341
341
|
}
|
|
342
|
-
function
|
|
342
|
+
function ke(a, e, s) {
|
|
343
343
|
let i;
|
|
344
|
-
|
|
345
|
-
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:
|
|
344
|
+
oe(a, he, (t) => s(21, i = t));
|
|
345
|
+
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: G = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: O = "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: M = "10" } = e, { fetchviaevent: z = "true" } = e, Q = window.navigator.userAgent;
|
|
346
346
|
const V = () => {
|
|
347
|
-
fetch(
|
|
347
|
+
fetch(w).then((o) => o.json()).then((o) => {
|
|
348
348
|
Object.keys(o).forEach((d) => {
|
|
349
|
-
|
|
349
|
+
Y(d, o[d]);
|
|
350
350
|
});
|
|
351
351
|
}).catch((o) => {
|
|
352
352
|
console.log(o);
|
|
353
353
|
});
|
|
354
354
|
};
|
|
355
|
-
Object.keys(
|
|
356
|
-
|
|
355
|
+
Object.keys(B).forEach((t) => {
|
|
356
|
+
Y(t, B[t]);
|
|
357
357
|
});
|
|
358
|
-
let N = [], q,
|
|
358
|
+
let N = [], q, I = !1, u;
|
|
359
359
|
const W = (t) => {
|
|
360
360
|
let o = new URL(`${m}/v1/player/${b}/games/most-played`);
|
|
361
|
-
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",
|
|
361
|
+
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);
|
|
362
362
|
let d = t.device;
|
|
363
|
-
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 =
|
|
363
|
+
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 = k ? o : o.href, new Promise((f, y) => {
|
|
364
364
|
fetch(q).then((h) => h.json()).then((h) => {
|
|
365
365
|
h.items = h.items.filter((x) => {
|
|
366
366
|
let J = !0;
|
|
@@ -373,39 +373,39 @@ function we(a, e, s) {
|
|
|
373
373
|
}, X = () => {
|
|
374
374
|
W({
|
|
375
375
|
limit: 100,
|
|
376
|
-
device:
|
|
377
|
-
rounds:
|
|
376
|
+
device: re(Q),
|
|
377
|
+
rounds: M
|
|
378
378
|
}).then((t) => {
|
|
379
379
|
if (t.count > 0) {
|
|
380
380
|
let o = [];
|
|
381
381
|
t.items.forEach((d) => {
|
|
382
382
|
let f = new URL(`${m}/v1/casino/games/${d.gameId}`);
|
|
383
|
-
f.searchParams.append("datasource", r),
|
|
383
|
+
f.searchParams.append("datasource", r), k ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
|
|
384
384
|
}), Promise.all(o).then((d) => {
|
|
385
|
-
N = d.filter((f) => !("error" in f)).map((f) => f[0]),
|
|
385
|
+
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);
|
|
386
386
|
});
|
|
387
387
|
} else
|
|
388
|
-
s(20,
|
|
388
|
+
s(20, I = !0);
|
|
389
389
|
});
|
|
390
390
|
}, Z = () => {
|
|
391
391
|
ye(c);
|
|
392
392
|
};
|
|
393
|
-
|
|
393
|
+
le(() => () => {
|
|
394
394
|
});
|
|
395
395
|
function p(t) {
|
|
396
|
-
|
|
396
|
+
me[t ? "unshift" : "push"](() => {
|
|
397
397
|
u = t, s(19, u);
|
|
398
398
|
});
|
|
399
399
|
}
|
|
400
400
|
return a.$$set = (t) => {
|
|
401
|
-
"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,
|
|
401
|
+
"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, G = t.clientstylingurl), "livecasino" in t && s(9, k = 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(16, w = t.translationurl), "casinomygames" in t && s(17, S = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, M = t.mostplayedrounds), "fetchviaevent" in t && s(18, z = t.fetchviaevent);
|
|
402
402
|
}, a.$$.update = () => {
|
|
403
403
|
a.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
404
404
|
41 && m && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
405
|
-
524416 && _ && u &&
|
|
406
|
-
524544 &&
|
|
407
|
-
524352 && v && u &&
|
|
408
|
-
65536 &&
|
|
405
|
+
524416 && _ && u && ge(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
406
|
+
524544 && G && u && ce(u, G), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
407
|
+
524352 && v && u && ue(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
|
|
408
|
+
65536 && w && V(), a.$$.dirty[0] & /*lang*/
|
|
409
409
|
8 && c && Z();
|
|
410
410
|
}, [
|
|
411
411
|
m,
|
|
@@ -416,33 +416,33 @@ function we(a, e, s) {
|
|
|
416
416
|
b,
|
|
417
417
|
v,
|
|
418
418
|
_,
|
|
419
|
+
G,
|
|
419
420
|
k,
|
|
420
|
-
w,
|
|
421
421
|
O,
|
|
422
422
|
D,
|
|
423
423
|
R,
|
|
424
424
|
T,
|
|
425
425
|
j,
|
|
426
426
|
U,
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
I,
|
|
430
|
-
u,
|
|
427
|
+
w,
|
|
428
|
+
S,
|
|
431
429
|
z,
|
|
430
|
+
u,
|
|
431
|
+
I,
|
|
432
432
|
i,
|
|
433
|
-
|
|
434
|
-
|
|
433
|
+
C,
|
|
434
|
+
M,
|
|
435
435
|
p
|
|
436
436
|
];
|
|
437
437
|
}
|
|
438
|
-
class
|
|
438
|
+
class we extends te {
|
|
439
439
|
constructor(e) {
|
|
440
440
|
super(), se(
|
|
441
441
|
this,
|
|
442
442
|
e,
|
|
443
|
-
we,
|
|
444
443
|
ke,
|
|
445
|
-
|
|
444
|
+
Ge,
|
|
445
|
+
ne,
|
|
446
446
|
{
|
|
447
447
|
endpoint: 0,
|
|
448
448
|
datasource: 1,
|
|
@@ -597,7 +597,7 @@ class Ge extends te {
|
|
|
597
597
|
this.$$set({ fetchviaevent: e }), l();
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
|
|
600
|
+
ae(we, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
|
|
601
601
|
export {
|
|
602
|
-
|
|
602
|
+
we as default
|
|
603
603
|
};
|