@everymatrix/casino-page-nd 1.94.4 → 1.94.6
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-BsorgQtD.js → CasinoCalendar-BXqn5sSJ.js} +34 -34
- package/components/{CasinoCalendar-Bar1KVPb.js → CasinoCalendar-DdqyHrIi.js} +33 -33
- package/components/{CasinoCalendar-B-ElK3ln.cjs → CasinoCalendar-f9ob2sFv.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-BoTdowtn.js → CasinoCalendarDailyDetails-BBe0-NK5.js} +35 -35
- package/components/{CasinoCalendarDailyDetails-DLxk4yik.cjs → CasinoCalendarDailyDetails-CHdX5zc8.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-ChU8Nf17.js → CasinoCalendarDailyDetails-ewHsXmDz.js} +44 -44
- package/components/{CasinoCalendarDailyItem-DVlQpd2h.js → CasinoCalendarDailyItem-BisTMrw_.js} +33 -33
- package/components/{CasinoCalendarDailyItem-B1BOZqbk.cjs → CasinoCalendarDailyItem-Bo0BHXKg.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-Yoj0Yzg3.js → CasinoCalendarDailyItem-Q3MzwDts.js} +35 -35
- package/components/{CasinoCollectionsProviders-D-lUQePw.js → CasinoCollectionsProviders-C7YIthiK.js} +54 -54
- package/components/{CasinoCollectionsProviders-DDuUDFgp.cjs → CasinoCollectionsProviders-CCZelLp2.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-BSIyPEOO.js → CasinoCollectionsProviders-CU88qQMT.js} +77 -77
- package/components/{CasinoFavoritesSectionNd-B1W3Wz8p.js → CasinoFavoritesSectionNd-CYfialzn.js} +19 -19
- package/components/{CasinoFavoritesSectionNd-CY10i3wA.cjs → CasinoFavoritesSectionNd-CZ1st2up.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-aKXCReO2.js → CasinoFavoritesSectionNd-HKJugDpB.js} +30 -30
- package/components/{CasinoFilter-BwCwXqWa.cjs → CasinoFilter-BviseRbU.cjs} +1 -1
- package/components/{CasinoFilter-gCiPR__8.js → CasinoFilter-Cd3YMCjI.js} +61 -61
- package/components/{CasinoFilter-BQsFbRt1.js → CasinoFilter-DZtIPf04.js} +72 -72
- package/components/{CasinoGameThumbnailNd-C9zOKRFB.cjs → CasinoGameThumbnailNd-CIIH4ov5.cjs} +1 -1
- package/components/{CasinoGameThumbnailNd-B7GdVkxq.js → CasinoGameThumbnailNd-DfrIBuE8.js} +47 -47
- package/components/{CasinoGameThumbnailNd-Dp86Mafo.js → CasinoGameThumbnailNd-qZDUi7bK.js} +44 -44
- package/components/{CasinoGamesCategorySectionNd-D-Wuvl8U.js → CasinoGamesCategorySectionNd-BeGuRKUV.js} +51 -51
- package/components/{CasinoGamesCategorySectionNd-C2UoZFWC.cjs → CasinoGamesCategorySectionNd-DmcGqSFC.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-BBT_fRD_.js → CasinoGamesCategorySectionNd-QyzFexdL.js} +88 -88
- package/components/{CasinoJackpotBanner-BsZsSC5q.js → CasinoJackpotBanner-B_16bQIJ.js} +57 -57
- package/components/{CasinoJackpotBanner-d2UGqr4v.cjs → CasinoJackpotBanner-BgVQzBT9.cjs} +1 -1
- package/components/{CasinoJackpotBanner--hB_JhfK.js → CasinoJackpotBanner-Chzhtion.js} +97 -97
- package/components/{CasinoLastPlayedSectionNd-BS_l-cZ0.js → CasinoLastPlayedSectionNd-BOYA9BZi.js} +15 -15
- package/components/{CasinoLastPlayedSectionNd-ClV5hJ3T.js → CasinoLastPlayedSectionNd-CuKAruU8.js} +27 -27
- package/components/{CasinoLastPlayedSectionNd-CSUr2ClP.cjs → CasinoLastPlayedSectionNd-KZNXKC5c.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-D3CZA_XD.js → CasinoMostPlayedSectionNd-BNw2NHF0.js} +36 -36
- package/components/{CasinoMostPlayedSectionNd-CQXe7gZp.js → CasinoMostPlayedSectionNd-BYlAY4RO.js} +37 -37
- package/components/{CasinoMostPlayedSectionNd-DF2VZSVY.cjs → CasinoMostPlayedSectionNd-DKnN3rEW.cjs} +1 -1
- package/components/{CasinoMyGamesNd-oYIN8A8y.js → CasinoMyGamesNd-BGusGuB_.js} +25 -25
- package/components/{CasinoMyGamesNd-DUkQM67I.js → CasinoMyGamesNd-C05ASC1X.js} +139 -139
- package/components/{CasinoMyGamesNd-p3By5ie3.cjs → CasinoMyGamesNd-D6RmmeUO.cjs} +1 -1
- package/components/{CasinoPageNd-u8Nxbkgk.js → CasinoPageNd-BYwB2SrU.js} +62 -62
- package/components/{CasinoPageNd-BoxT7vNT.js → CasinoPageNd-CvwQrmeC.js} +63 -63
- package/components/{CasinoPageNd-ByOWge44.cjs → CasinoPageNd-DkcMiqM_.cjs} +1 -1
- package/components/{CasinoRandomGame-DYHpkkIU.cjs → CasinoRandomGame-CSKHxblX.cjs} +1 -1
- package/components/{CasinoRandomGame-DmdUfx7P.js → CasinoRandomGame-CoXgBuKo.js} +25 -25
- package/components/{CasinoRandomGame-Dub3IIU6.js → CasinoRandomGame-DZSB2qWm.js} +57 -57
- package/components/{CasinoSearchNd-DJKl9giS.js → CasinoSearchNd-DnPGsjFN.js} +170 -166
- package/components/{CasinoSearchNd-DAtlVgS9.cjs → CasinoSearchNd-Drf3R8N1.cjs} +1 -1
- package/components/{CasinoSearchNd-CMWbs-xQ.js → CasinoSearchNd-sS9yxFZB.js} +196 -192
- package/components/{CasinoSort-BdYCRTbw.cjs → CasinoSort-Be7I-Bkl.cjs} +1 -1
- package/components/{CasinoSort-BKNBrE2Z.js → CasinoSort-CCDDquSi.js} +23 -23
- package/components/{CasinoSort-Bj5VCzfQ.js → CasinoSort-CFbNQrwp.js} +40 -40
- package/components/{CasinoWinners-CVQnA2jb.cjs → CasinoWinners-B4wRzzvv.cjs} +1 -1
- package/components/{CasinoWinners-CJWsbB8X.js → CasinoWinners-BOD7ymCO.js} +55 -55
- package/components/{CasinoWinners-BB69_VBL.js → CasinoWinners-DYeVwT_K.js} +48 -48
- package/components/{GeneralAnimationLoading-BosK264F.cjs → GeneralAnimationLoading-DD1kmHGW.cjs} +1 -1
- package/components/{GeneralAnimationLoading-D9Xr0Ohx.js → GeneralAnimationLoading-DLWyPAPZ.js} +4 -4
- package/components/{GeneralAnimationLoading-Ddb3rUV4.js → GeneralAnimationLoading-DSzlRxD5.js} +6 -6
- 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/lazy/{casino-calendar-BsTNKtIb.cjs → casino-calendar-BMr6vuSW.cjs} +1 -1
- package/lazy/{casino-calendar-CRtCPSqI.js → casino-calendar-BhmwgnLf.js} +1 -1
- package/lazy/{casino-calendar-C3pFBr-V.js → casino-calendar-CDGAH9KV.js} +1 -1
- package/lazy/{casino-calendar-daily-details-CMNO8yVt.js → casino-calendar-daily-details-BZ6lWliO.js} +1 -1
- package/lazy/{casino-calendar-daily-details-CFdZ0y8g.cjs → casino-calendar-daily-details-CkvPWhRn.cjs} +1 -1
- package/lazy/{casino-calendar-daily-details--hiprlav.js → casino-calendar-daily-details-CreJXTIY.js} +1 -1
- package/lazy/{casino-calendar-daily-item-Dt5sMvLn.js → casino-calendar-daily-item-B294skVH.js} +1 -1
- package/lazy/{casino-calendar-daily-item-CcpGZGk2.js → casino-calendar-daily-item-BPg2o_ak.js} +1 -1
- package/lazy/{casino-calendar-daily-item-DBgzZi6h.cjs → casino-calendar-daily-item-OzC20xXV.cjs} +1 -1
- package/lazy/{casino-collections-providers-C-IXWoMt.js → casino-collections-providers-BmEfkamW.js} +1 -1
- package/lazy/{casino-collections-providers-ChwusPlU.cjs → casino-collections-providers-CS7TN5Jq.cjs} +1 -1
- package/lazy/{casino-collections-providers-CZlcLi3I.js → casino-collections-providers-D-Lac16c.js} +1 -1
- package/lazy/{casino-favorites-section-nd-IDnSx6LY.js → casino-favorites-section-nd-BazZLv4x.js} +1 -1
- package/lazy/{casino-favorites-section-nd-Ddu_8ZpD.cjs → casino-favorites-section-nd-BbJYgzDZ.cjs} +1 -1
- package/lazy/{casino-favorites-section-nd-MgjY7aDg.js → casino-favorites-section-nd-nPKsz6I2.js} +1 -1
- package/lazy/{casino-filter-DxJEhjqm.cjs → casino-filter-0hD3kNKp.cjs} +1 -1
- package/lazy/{casino-filter-CvdGS5WS.js → casino-filter-BpUtqzOq.js} +1 -1
- package/lazy/{casino-filter-x6iQmG8o.js → casino-filter-LrYoEa2q.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-fLseOtb1.js → casino-game-thumbnail-nd-BpZR5RyP.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-CmbS4UC5.js → casino-game-thumbnail-nd-Dw6vijuw.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-BNX3nQzO.cjs → casino-game-thumbnail-nd-scS9CFBJ.cjs} +1 -1
- package/lazy/{casino-games-category-section-nd-4wlUiWn8.cjs → casino-games-category-section-nd-BRF_H9fJ.cjs} +1 -1
- package/lazy/{casino-games-category-section-nd-B5b_8VTG.js → casino-games-category-section-nd-BlkiwQIq.js} +1 -1
- package/lazy/{casino-games-category-section-nd-mWetVUsk.js → casino-games-category-section-nd-_dwBrjcT.js} +1 -1
- package/lazy/{casino-jackpot-banner-CBykDPkn.js → casino-jackpot-banner-7aQVJA-u.js} +1 -1
- package/lazy/{casino-jackpot-banner-Dclo86eY.js → casino-jackpot-banner-BZR61rlM.js} +1 -1
- package/lazy/{casino-jackpot-banner-BRGk1i5x.cjs → casino-jackpot-banner-DqljUZ3D.cjs} +1 -1
- package/lazy/{casino-last-played-section-nd-DNynAP0O.js → casino-last-played-section-nd-BCMeN_xL.js} +1 -1
- package/lazy/{casino-last-played-section-nd-Y8YRdawj.js → casino-last-played-section-nd-Dk09Q6Oo.js} +1 -1
- package/lazy/{casino-last-played-section-nd-BENyEKvl.cjs → casino-last-played-section-nd-DyHep2bs.cjs} +1 -1
- package/lazy/{casino-most-played-section-nd-uOEOVr80.js → casino-most-played-section-nd-DGErR8Qy.js} +1 -1
- package/lazy/{casino-most-played-section-nd-CDxisfSd.cjs → casino-most-played-section-nd-DeeoJS9L.cjs} +1 -1
- package/lazy/{casino-most-played-section-nd--IDhBmzV.js → casino-most-played-section-nd-MahPsOcg.js} +1 -1
- package/lazy/{casino-my-games-nd-shBn8eVI.js → casino-my-games-nd-B9th_ITS.js} +1 -1
- package/lazy/{casino-my-games-nd-BzZqvl8m.cjs → casino-my-games-nd-Bavk_uVF.cjs} +1 -1
- package/lazy/{casino-my-games-nd-hhOAoTf-.js → casino-my-games-nd-Cr4euW7O.js} +1 -1
- package/lazy/{casino-random-game-Cat_tAZT.js → casino-random-game-BCbXjFco.js} +1 -1
- package/lazy/{casino-random-game-Doo9yzQt.js → casino-random-game-D89lDDvz.js} +1 -1
- package/lazy/{casino-random-game-eE6hTWNw.cjs → casino-random-game-DiBN599Y.cjs} +1 -1
- package/lazy/{casino-search-nd-LFipqxYz.js → casino-search-nd-B-trMEPg.js} +1 -1
- package/lazy/{casino-search-nd-B5qv7Mra.cjs → casino-search-nd-B313a-hZ.cjs} +1 -1
- package/lazy/{casino-search-nd--jk190OZ.js → casino-search-nd-DX9y7hrV.js} +1 -1
- package/lazy/{casino-sort-BcuCWb8z.js → casino-sort-BX6cf-yt.js} +1 -1
- package/lazy/{casino-sort-CVYLHFfC.cjs → casino-sort-DYdgpEhn.cjs} +1 -1
- package/lazy/{casino-sort-CTKb0shJ.js → casino-sort-LsdC94Za.js} +1 -1
- package/lazy/{casino-winners-C9Jj7SyY.cjs → casino-winners-B5_Q3bvn.cjs} +1 -1
- package/lazy/{casino-winners-jTx87PeA.js → casino-winners-BORY4UJw.js} +1 -1
- package/lazy/{casino-winners-DGiPC9oE.js → casino-winners-I74kUrkL.js} +1 -1
- package/lazy/{general-animation-loading-BSWx-kfp.js → general-animation-loading--byYFuL2.js} +1 -1
- package/lazy/{general-animation-loading-CxOn6BQv.js → general-animation-loading-D1Tz4Ui8.js} +1 -1
- package/lazy/{general-animation-loading-HWLiLPqG.cjs → general-animation-loading-oYXMnrSW.cjs} +1 -1
- package/package.json +1 -1
package/components/{CasinoMostPlayedSectionNd-CQXe7gZp.js → CasinoMostPlayedSectionNd-BYlAY4RO.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../lazy/casino-games-category-section-nd-
|
|
1
|
+
import { c as ee, b as te, S as se, x as ae, I as ne, r, e as ie, B as K, n as E, y as T, d as V, o as k, f as A, i as oe, E as re, t as le, s as me, g as ge, N as ce, V as ue, M as n, J as de, K as fe, L as he, j as ye, a as be } from "./CasinoPageNd-CvwQrmeC.js";
|
|
2
|
+
import "../lazy/casino-games-category-section-nd-_dwBrjcT.js";
|
|
3
3
|
function ve(a, e) {
|
|
4
4
|
ee(a, e);
|
|
5
5
|
}
|
|
@@ -65,11 +65,11 @@ const Ge = {
|
|
|
65
65
|
function we(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
|
-
function
|
|
68
|
+
function Ne(a) {
|
|
69
69
|
let e;
|
|
70
70
|
return {
|
|
71
71
|
c() {
|
|
72
|
-
e =
|
|
72
|
+
e = k("casino-games-category-section-nd"), n(
|
|
73
73
|
e,
|
|
74
74
|
"session",
|
|
75
75
|
/*session*/
|
|
@@ -287,21 +287,21 @@ function ke(a) {
|
|
|
287
287
|
);
|
|
288
288
|
},
|
|
289
289
|
d(s) {
|
|
290
|
-
s &&
|
|
290
|
+
s && E(e);
|
|
291
291
|
}
|
|
292
292
|
};
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function ke(a) {
|
|
295
295
|
let e, s = (
|
|
296
296
|
/*$_*/
|
|
297
297
|
a[21]("noGames") + ""
|
|
298
298
|
), i;
|
|
299
299
|
return {
|
|
300
300
|
c() {
|
|
301
|
-
e =
|
|
301
|
+
e = k("p"), i = ue(s), A(e, "class", "SearchLoading");
|
|
302
302
|
},
|
|
303
303
|
m(m, l) {
|
|
304
|
-
T(m, e, l),
|
|
304
|
+
T(m, e, l), V(e, i);
|
|
305
305
|
},
|
|
306
306
|
p(m, l) {
|
|
307
307
|
l[0] & /*$_*/
|
|
@@ -309,7 +309,7 @@ function Ne(a) {
|
|
|
309
309
|
m[21]("noGames") + "") && ce(i, s);
|
|
310
310
|
},
|
|
311
311
|
d(m) {
|
|
312
|
-
m &&
|
|
312
|
+
m && E(e);
|
|
313
313
|
}
|
|
314
314
|
};
|
|
315
315
|
}
|
|
@@ -318,53 +318,53 @@ function Pe(a) {
|
|
|
318
318
|
function i(g, c) {
|
|
319
319
|
return (
|
|
320
320
|
/*mostPlayedEmpty*/
|
|
321
|
-
g[20] ?
|
|
321
|
+
g[20] ? ke : Ne
|
|
322
322
|
);
|
|
323
323
|
}
|
|
324
324
|
let m = i(a), l = m(a);
|
|
325
325
|
return {
|
|
326
326
|
c() {
|
|
327
|
-
e =
|
|
327
|
+
e = k("div"), s = k("div"), l.c(), A(s, "class", "casino-most-played-section"), A(e, "class", "CasinoGamesCategorySectionContainer");
|
|
328
328
|
},
|
|
329
329
|
m(g, c) {
|
|
330
|
-
T(g, e, c),
|
|
330
|
+
T(g, e, c), V(e, s), l.m(s, null), a[24](e);
|
|
331
331
|
},
|
|
332
332
|
p(g, c) {
|
|
333
333
|
m === (m = i(g)) && l ? l.p(g, c) : (l.d(1), l = m(g), l && (l.c(), l.m(s, null)));
|
|
334
334
|
},
|
|
335
|
-
i:
|
|
336
|
-
o:
|
|
335
|
+
i: K,
|
|
336
|
+
o: K,
|
|
337
337
|
d(g) {
|
|
338
|
-
g &&
|
|
338
|
+
g && E(e), l.d(), a[24](null);
|
|
339
339
|
}
|
|
340
340
|
};
|
|
341
341
|
}
|
|
342
342
|
function Se(a, e, s) {
|
|
343
343
|
let i;
|
|
344
344
|
oe(a, be, (t) => s(21, i = t));
|
|
345
|
-
let { endpoint: m = "" } = e, { datasource: l = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session:
|
|
346
|
-
const
|
|
345
|
+
let { endpoint: m = "" } = e, { datasource: l = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: _ = "" } = e, { mbsource: y } = e, { clientstyling: G = "" } = e, { clientstylingurl: w = "" } = e, { livecasino: P = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: R = "false" } = e, { gamepagemodalurl: D = "false" } = e, { showgamename: U = "" } = e, { visiblegames: S } = e, { favorites: I = "" } = e, { translationurl: v = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: j = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: J = "true" } = e, Y = window.navigator.userAgent, H;
|
|
346
|
+
const M = (t) => {
|
|
347
347
|
Object.keys(t).forEach((o) => {
|
|
348
348
|
ve(o, t[o]);
|
|
349
349
|
});
|
|
350
|
-
},
|
|
350
|
+
}, Q = () => {
|
|
351
351
|
fetch(v).then((o) => o.json()).then((o) => {
|
|
352
|
-
|
|
352
|
+
M(o);
|
|
353
353
|
}).catch((o) => {
|
|
354
354
|
console.log(o);
|
|
355
355
|
});
|
|
356
356
|
};
|
|
357
|
-
|
|
358
|
-
let
|
|
357
|
+
M(Ge);
|
|
358
|
+
let N = [], z, B = !1, d, W;
|
|
359
359
|
const X = (t) => {
|
|
360
360
|
let o = new URL(`${m}/v1/player/${_}/games/most-played`);
|
|
361
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", j);
|
|
362
362
|
let b = t.device;
|
|
363
|
-
return b ? b === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds),
|
|
364
|
-
fetch(
|
|
363
|
+
return b ? b === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), z = P ? o : o.href, new Promise((f, u) => {
|
|
364
|
+
fetch(z).then((h) => h.json()).then((h) => {
|
|
365
365
|
h.items = h.items.filter(($) => {
|
|
366
|
-
let
|
|
367
|
-
return $.gameCode == "OddsMatrix2" && (h.count--,
|
|
366
|
+
let q = !0;
|
|
367
|
+
return $.gameCode == "OddsMatrix2" && (h.count--, q = !1), q;
|
|
368
368
|
}), f(h);
|
|
369
369
|
}).catch((h) => {
|
|
370
370
|
console.error(h), u(h);
|
|
@@ -373,8 +373,8 @@ function Se(a, e, s) {
|
|
|
373
373
|
}, Z = () => {
|
|
374
374
|
X({
|
|
375
375
|
limit: 100,
|
|
376
|
-
device: me(
|
|
377
|
-
rounds:
|
|
376
|
+
device: me(Y),
|
|
377
|
+
rounds: L
|
|
378
378
|
}).then((t) => {
|
|
379
379
|
if (t.count > 0) {
|
|
380
380
|
let o = [];
|
|
@@ -382,7 +382,7 @@ function Se(a, e, s) {
|
|
|
382
382
|
let f = new URL(`${m}/v1/casino/games/${b.gameId}`);
|
|
383
383
|
f.searchParams.append("datasource", l), o.push(fetch(f.href).then((u) => u.ok ? u.json() : Promise.resolve([])));
|
|
384
384
|
}), Promise.all(o).then((b) => {
|
|
385
|
-
if (
|
|
385
|
+
if (N = b.reduce(
|
|
386
386
|
(f, u) => (u && Array.isArray(u) && !("error" in u) && f.push(u[0]), f),
|
|
387
387
|
[]
|
|
388
388
|
), C === "true") {
|
|
@@ -392,12 +392,12 @@ function Se(a, e, s) {
|
|
|
392
392
|
} catch (u) {
|
|
393
393
|
console.log("[ERR][casino-most-played-section-nd]: visiblegames is not valid JSON");
|
|
394
394
|
}
|
|
395
|
-
|
|
395
|
+
N = N.slice(0, visblegames);
|
|
396
396
|
}
|
|
397
|
-
window.postMessage({ type: "MostPlayedData", mostPlayedGames:
|
|
397
|
+
window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
|
|
398
398
|
});
|
|
399
399
|
} else
|
|
400
|
-
s(20,
|
|
400
|
+
s(20, B = !0);
|
|
401
401
|
});
|
|
402
402
|
}, p = () => {
|
|
403
403
|
_e(c);
|
|
@@ -410,22 +410,22 @@ function Se(a, e, s) {
|
|
|
410
410
|
});
|
|
411
411
|
}
|
|
412
412
|
return a.$$set = (t) => {
|
|
413
|
-
"endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, l = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4,
|
|
413
|
+
"endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, l = 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, _ = t.userid), "mbsource" in t && s(6, y = t.mbsource), "clientstyling" in t && s(7, G = t.clientstyling), "clientstylingurl" in t && s(8, w = t.clientstylingurl), "livecasino" in t && s(9, P = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, R = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, D = t.gamepagemodalurl), "showgamename" in t && s(13, U = t.showgamename), "visiblegames" in t && s(14, S = t.visiblegames), "favorites" in t && s(15, I = t.favorites), "translationurl" in t && s(16, v = t.translationurl), "casinomygames" in t && s(17, C = t.casinomygames), "mostplayedperiod" in t && s(22, j = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(18, J = t.fetchviaevent);
|
|
414
414
|
}, a.$$.update = () => {
|
|
415
415
|
a.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
416
416
|
41 && m && _ && c && Z(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
417
417
|
524416 && G && d && de(d, G), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
418
418
|
524544 && w && d && fe(d, w), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
419
419
|
524352 && y && d && he(d, `${y}.Style`, W), a.$$.dirty[0] & /*mbsource, translationurl*/
|
|
420
|
-
65600 && y && !v && le(`${y}.Translation`,
|
|
421
|
-
65536 && v &&
|
|
420
|
+
65600 && y && !v && le(`${y}.Translation`, H, M), a.$$.dirty[0] & /*translationurl*/
|
|
421
|
+
65536 && v && Q(), a.$$.dirty[0] & /*lang*/
|
|
422
422
|
8 && c && p();
|
|
423
423
|
}, [
|
|
424
424
|
m,
|
|
425
425
|
l,
|
|
426
426
|
g,
|
|
427
427
|
c,
|
|
428
|
-
|
|
428
|
+
F,
|
|
429
429
|
_,
|
|
430
430
|
y,
|
|
431
431
|
G,
|
|
@@ -441,10 +441,10 @@ function Se(a, e, s) {
|
|
|
441
441
|
C,
|
|
442
442
|
J,
|
|
443
443
|
d,
|
|
444
|
-
|
|
444
|
+
B,
|
|
445
445
|
i,
|
|
446
446
|
j,
|
|
447
|
-
|
|
447
|
+
L,
|
|
448
448
|
x
|
|
449
449
|
];
|
|
450
450
|
}
|
package/components/{CasinoMostPlayedSectionNd-DF2VZSVY.cjs → CasinoMostPlayedSectionNd-DKnN3rEW.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoPageNd-ByOWge44.cjs");require("../lazy/casino-games-category-section-nd-4wlUiWn8.cjs");function W(n,e){t.addMessages(n,e)}function X(n){t.$locale.set(n)}const Z={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function p(n){t.append_styles(n,"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))}")}function x(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function $(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,m){t.insert(o,e,m),t.append(e,i)},p(o,m){m[0]&2097152&&a!==(a=o[21]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function ee(n){let e,a;function i(r,u){return r[20]?$:x}let o=i(n),m=o(n);return{c(){e=t.element("div"),a=t.element("div"),m.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),m.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&m?m.p(r,u):(m.d(1),m=o(r),m&&(m.c(),m.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),m.d(),n[24](null)}}}function te(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:m=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:M=""}=e,{userid:b=""}=e,{mbsource:f}=e,{clientstyling:v=""}=e,{clientstylingurl:G=""}=e,{livecasino:N="false"}=e,{integratedgameframemobile:A="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:T="false"}=e,{showgamename:O=""}=e,{visiblegames:k}=e,{favorites:E=""}=e,{translationurl:y=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:S="Last30Days"}=e,{mostplayedrounds:C="10"}=e,{fetchviaevent:F="true"}=e,z=window.navigator.userAgent,I;const j=s=>{Object.keys(s).forEach(l=>{W(l,s[l])})},J=()=>{fetch(y).then(l=>l.json()).then(l=>{j(l)}).catch(l=>{console.log(l)})};j(Z);let w=[],R,D=!1,d,B;const Y=s=>{let l=new URL(`${o}/v1/player/${b}/games/most-played`);s.limit&&l.searchParams.append("limit",s.limit),s.order&&l.searchParams.append("order",s.order),l.searchParams.append("expand","games"),l.searchParams.append("period",S);let h=s.device;return h?h==="PC"?l.searchParams.append("device","Desktop"):l.searchParams.append("device","Mobile"):l.searchParams.append("device","All"),s.rounds&&l.searchParams.append("rounds",s.rounds),R=N?l:l.href,new Promise((g,c)=>{fetch(R).then(_=>_.json()).then(_=>{_.items=_.items.filter(V=>{let U=!0;return V.gameCode=="OddsMatrix2"&&(_.count--,U=!1),U}),g(_)}).catch(_=>{console.error(_),c(_)})})},H=()=>{Y({limit:100,device:t.getDevice(z),rounds:C}).then(s=>{if(s.count>0){let l=[];s.items.forEach(h=>{let g=new URL(`${o}/v1/casino/games/${h.gameId}`);g.searchParams.append("datasource",m),l.push(fetch(g.href).then(c=>c.ok?c.json():Promise.resolve([])))}),Promise.all(l).then(h=>{if(w=h.reduce((g,c)=>(c&&Array.isArray(c)&&!("error"in c)&&g.push(c[0]),g),[]),P==="true"){let g=20;try{g=JSON.parse(k)}catch(c){console.log("[ERR][casino-most-played-section-nd]: visiblegames is not valid JSON")}w=w.slice(0,visblegames)}window.postMessage({type:"MostPlayedData",mostPlayedGames:w},window.location.href)})}else a(20,D=!0)})},K=()=>{X(u)};t.onMount(()=>()=>{});function Q(s){t.binding_callbacks[s?"unshift":"push"](()=>{d=s,a(19,d)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,m=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,M=s.session),"userid"in s&&a(5,b=s.userid),"mbsource"in s&&a(6,f=s.mbsource),"clientstyling"in s&&a(7,v=s.clientstyling),"clientstylingurl"in s&&a(8,G=s.clientstylingurl),"livecasino"in s&&a(9,N=s.livecasino),"integratedgameframemobile"in s&&a(10,A=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,T=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,k=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(16,y=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,S=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,C=s.mostplayedrounds),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&b&&u&&H(),n.$$.dirty[0]&524416&&v&&d&&t.setClientStyling(d,v),n.$$.dirty[0]&524544&&G&&d&&t.setClientStylingURL(d,G),n.$$.dirty[0]&524352&&f&&d&&t.setStreamStyling(d,`${f}.Style`,B),n.$$.dirty[0]&65600&&f&&!y&&t.getStreamTranslations(`${f}.Translation`,I,j),n.$$.dirty[0]&65536&&y&&J(),n.$$.dirty[0]&8&&u&&K()},[o,m,r,u,M,b,f,v,G,N,A,L,T,O,k,E,y,P,F,d,D,i,S,C,Q]}class q extends t.SvelteComponent{constructor(e){super(),t.init(this,e,te,ee,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},p,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(q,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=q;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoPageNd-DkcMiqM_.cjs");require("../lazy/casino-games-category-section-nd-BRF_H9fJ.cjs");function W(n,e){t.addMessages(n,e)}function X(n){t.$locale.set(n)}const Z={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function p(n){t.append_styles(n,"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))}")}function x(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function $(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,m){t.insert(o,e,m),t.append(e,i)},p(o,m){m[0]&2097152&&a!==(a=o[21]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function ee(n){let e,a;function i(r,u){return r[20]?$:x}let o=i(n),m=o(n);return{c(){e=t.element("div"),a=t.element("div"),m.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),m.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&m?m.p(r,u):(m.d(1),m=o(r),m&&(m.c(),m.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),m.d(),n[24](null)}}}function te(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:m=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:M=""}=e,{userid:b=""}=e,{mbsource:f}=e,{clientstyling:v=""}=e,{clientstylingurl:G=""}=e,{livecasino:N="false"}=e,{integratedgameframemobile:A="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:T="false"}=e,{showgamename:O=""}=e,{visiblegames:k}=e,{favorites:E=""}=e,{translationurl:y=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:S="Last30Days"}=e,{mostplayedrounds:C="10"}=e,{fetchviaevent:F="true"}=e,z=window.navigator.userAgent,I;const j=s=>{Object.keys(s).forEach(l=>{W(l,s[l])})},J=()=>{fetch(y).then(l=>l.json()).then(l=>{j(l)}).catch(l=>{console.log(l)})};j(Z);let w=[],R,D=!1,d,B;const Y=s=>{let l=new URL(`${o}/v1/player/${b}/games/most-played`);s.limit&&l.searchParams.append("limit",s.limit),s.order&&l.searchParams.append("order",s.order),l.searchParams.append("expand","games"),l.searchParams.append("period",S);let h=s.device;return h?h==="PC"?l.searchParams.append("device","Desktop"):l.searchParams.append("device","Mobile"):l.searchParams.append("device","All"),s.rounds&&l.searchParams.append("rounds",s.rounds),R=N?l:l.href,new Promise((g,c)=>{fetch(R).then(_=>_.json()).then(_=>{_.items=_.items.filter(V=>{let U=!0;return V.gameCode=="OddsMatrix2"&&(_.count--,U=!1),U}),g(_)}).catch(_=>{console.error(_),c(_)})})},H=()=>{Y({limit:100,device:t.getDevice(z),rounds:C}).then(s=>{if(s.count>0){let l=[];s.items.forEach(h=>{let g=new URL(`${o}/v1/casino/games/${h.gameId}`);g.searchParams.append("datasource",m),l.push(fetch(g.href).then(c=>c.ok?c.json():Promise.resolve([])))}),Promise.all(l).then(h=>{if(w=h.reduce((g,c)=>(c&&Array.isArray(c)&&!("error"in c)&&g.push(c[0]),g),[]),P==="true"){let g=20;try{g=JSON.parse(k)}catch(c){console.log("[ERR][casino-most-played-section-nd]: visiblegames is not valid JSON")}w=w.slice(0,visblegames)}window.postMessage({type:"MostPlayedData",mostPlayedGames:w},window.location.href)})}else a(20,D=!0)})},K=()=>{X(u)};t.onMount(()=>()=>{});function Q(s){t.binding_callbacks[s?"unshift":"push"](()=>{d=s,a(19,d)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,m=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,M=s.session),"userid"in s&&a(5,b=s.userid),"mbsource"in s&&a(6,f=s.mbsource),"clientstyling"in s&&a(7,v=s.clientstyling),"clientstylingurl"in s&&a(8,G=s.clientstylingurl),"livecasino"in s&&a(9,N=s.livecasino),"integratedgameframemobile"in s&&a(10,A=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,T=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,k=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(16,y=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,S=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,C=s.mostplayedrounds),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&b&&u&&H(),n.$$.dirty[0]&524416&&v&&d&&t.setClientStyling(d,v),n.$$.dirty[0]&524544&&G&&d&&t.setClientStylingURL(d,G),n.$$.dirty[0]&524352&&f&&d&&t.setStreamStyling(d,`${f}.Style`,B),n.$$.dirty[0]&65600&&f&&!y&&t.getStreamTranslations(`${f}.Translation`,I,j),n.$$.dirty[0]&65536&&y&&J(),n.$$.dirty[0]&8&&u&&K()},[o,m,r,u,M,b,f,v,G,N,A,L,T,O,k,E,y,P,F,d,D,i,S,C,Q]}class q extends t.SvelteComponent{constructor(e){super(),t.init(this,e,te,ee,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},p,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(q,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=q;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../lazy/casino-favorites-section-nd-
|
|
3
|
-
import "../lazy/casino-last-played-section-nd-
|
|
4
|
-
import "../lazy/casino-most-played-section-nd-
|
|
5
|
-
function
|
|
1
|
+
import { b as U, $ as ve, c as be, S as he, x as pe, I as Pe, r as g, e as _e, B as ee, n as F, y as G, o as _, i as Me, E as we, z as ke, t as Fe, g as Ge, q as ae, m as Le, M as a, X as A, f as w, d as h, Q as C, p as Ce, N as z, A as R, V as B, J as Ae, K as Be, L as Se, j as je, a as Oe } from "./CasinoPageNd-CvwQrmeC.js";
|
|
2
|
+
import "../lazy/casino-favorites-section-nd-nPKsz6I2.js";
|
|
3
|
+
import "../lazy/casino-last-played-section-nd-BCMeN_xL.js";
|
|
4
|
+
import "../lazy/casino-most-played-section-nd-DGErR8Qy.js";
|
|
5
|
+
function Ee({ withLocale: s, translations: e }) {
|
|
6
6
|
U.subscribe((r) => {
|
|
7
7
|
r == null && (ve.set(e), U.set(s));
|
|
8
8
|
});
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function qe(s, e) {
|
|
11
11
|
be(s, e);
|
|
12
12
|
}
|
|
13
13
|
function Ne(s) {
|
|
@@ -867,7 +867,7 @@ function te(s) {
|
|
|
867
867
|
(s[16] == "false" ? "Off" : ""));
|
|
868
868
|
},
|
|
869
869
|
m(v, c) {
|
|
870
|
-
G(v, e, c), h(e, y), h(e, f), h(e, d), h(d, l), h(d, u), h(d, i), m || (P =
|
|
870
|
+
G(v, e, c), h(e, y), h(e, f), h(e, d), h(d, l), h(d, u), h(d, i), m || (P = R(
|
|
871
871
|
e,
|
|
872
872
|
"click",
|
|
873
873
|
/*click_handler*/
|
|
@@ -904,7 +904,7 @@ function ie(s) {
|
|
|
904
904
|
(s[17] == "false" ? "Off" : ""));
|
|
905
905
|
},
|
|
906
906
|
m(u, i) {
|
|
907
|
-
G(u, e, i), h(e, y), d || (l =
|
|
907
|
+
G(u, e, i), h(e, y), d || (l = R(
|
|
908
908
|
e,
|
|
909
909
|
"click",
|
|
910
910
|
/*click_handler_1*/
|
|
@@ -936,7 +936,7 @@ function le(s) {
|
|
|
936
936
|
(s[18] == "false" ? "Off" : ""));
|
|
937
937
|
},
|
|
938
938
|
m(i, p) {
|
|
939
|
-
G(i, e, p), h(e, y), h(e, f), l || (u =
|
|
939
|
+
G(i, e, p), h(e, y), h(e, f), l || (u = R(
|
|
940
940
|
e,
|
|
941
941
|
"click",
|
|
942
942
|
/*click_handler_2*/
|
|
@@ -1015,11 +1015,11 @@ function Ie(s) {
|
|
|
1015
1015
|
function Ue(s, e, r) {
|
|
1016
1016
|
let y;
|
|
1017
1017
|
Me(s, Oe, (o) => r(31, y = o));
|
|
1018
|
-
let { userid: f = "" } = e, { session: d = "" } = e, { endpoint: l = "" } = e, { datasource: u = "" } = e, { lang: i = "" } = e, { currency: p = "" } = e, { mbsource: m } = e, { clientstyling: P = "" } = e, { clientstylingurl: v = "" } = e, { livecasino: c = "" } = e, { visiblegames: t = "" } = e, { gamepagemodalurl: n = "" } = e, { showgamename: b = "" } = e, { integratedgameframedesktop: S = "" } = e, { integratedgameframemobile:
|
|
1019
|
-
|
|
1018
|
+
let { userid: f = "" } = e, { session: d = "" } = e, { endpoint: l = "" } = e, { datasource: u = "" } = e, { lang: i = "" } = e, { currency: p = "" } = e, { mbsource: m } = e, { clientstyling: P = "" } = e, { clientstylingurl: v = "" } = e, { livecasino: c = "" } = e, { visiblegames: t = "" } = e, { gamepagemodalurl: n = "" } = e, { showgamename: b = "" } = e, { integratedgameframedesktop: S = "" } = e, { integratedgameframemobile: D = "" } = e, { translationurl: j = "" } = e, { favorites: O = "false" } = e, { mostplayed: E = "false" } = e, { lastplayed: q = "false" } = e, { casinomygames: J = "false" } = e, { lastplayedperiod: V = "Last30Days" } = e, { mostplayedperiod: K = "Last30Days" } = e, { lastplayedorder: Q = "" } = e, { lastplayedlimit: X = "" } = e, { lastplayedunique: Z = "true" } = e, { mostplayedrounds: W = "" } = e, oe = window.navigator.userAgent, re, k, me, N = "", Y = !1, L = ["", "", ""], H = "0";
|
|
1019
|
+
Ee({ withLocale: "en", translations: {} });
|
|
1020
1020
|
const I = (o) => {
|
|
1021
1021
|
Object.keys(o).forEach((M) => {
|
|
1022
|
-
|
|
1022
|
+
qe(M, o[M]);
|
|
1023
1023
|
});
|
|
1024
1024
|
}, de = () => {
|
|
1025
1025
|
fetch(j).then((M) => M.json()).then((M) => {
|
|
@@ -1032,7 +1032,7 @@ function Ue(s, e, r) {
|
|
|
1032
1032
|
const T = (o) => {
|
|
1033
1033
|
N !== o && r(27, N = o);
|
|
1034
1034
|
}, fe = () => {
|
|
1035
|
-
r(27, N = O === "true" ? "Favorites" :
|
|
1035
|
+
r(27, N = O === "true" ? "Favorites" : E === "true" ? "MostPlayed" : q === "true" ? "LastPlayed" : ""), r(29, L[0] = O === "true" ? "Favorites" : "", L), r(29, L[1] = E === "true" ? "MostPlayed" : "", L), r(29, L[2] = q === "true" ? "LastPlayed" : "", L), Ne(i);
|
|
1036
1036
|
}, x = (o) => {
|
|
1037
1037
|
var M, $;
|
|
1038
1038
|
if (o.data)
|
|
@@ -1042,7 +1042,7 @@ function Ue(s, e, r) {
|
|
|
1042
1042
|
break;
|
|
1043
1043
|
}
|
|
1044
1044
|
};
|
|
1045
|
-
we(() => (window.addEventListener("message", x, !1), r(28,
|
|
1045
|
+
we(() => (window.addEventListener("message", x, !1), r(28, Y = ke(oe)), () => {
|
|
1046
1046
|
window.removeEventListener("message", x);
|
|
1047
1047
|
}));
|
|
1048
1048
|
const ue = () => T("Favorites"), ye = () => T("MostPlayed"), ge = () => T("LastPlayed");
|
|
@@ -1052,10 +1052,10 @@ function Ue(s, e, r) {
|
|
|
1052
1052
|
});
|
|
1053
1053
|
}
|
|
1054
1054
|
return s.$$set = (o) => {
|
|
1055
|
-
"userid" in o && r(0, f = o.userid), "session" in o && r(1, d = o.session), "endpoint" in o && r(2, l = o.endpoint), "datasource" in o && r(3, u = o.datasource), "lang" in o && r(4, i = o.lang), "currency" in o && r(5, p = o.currency), "mbsource" in o && r(6, m = o.mbsource), "clientstyling" in o && r(7, P = o.clientstyling), "clientstylingurl" in o && r(8, v = o.clientstylingurl), "livecasino" in o && r(9, c = o.livecasino), "visiblegames" in o && r(10, t = o.visiblegames), "gamepagemodalurl" in o && r(11, n = o.gamepagemodalurl), "showgamename" in o && r(12, b = o.showgamename), "integratedgameframedesktop" in o && r(13, S = o.integratedgameframedesktop), "integratedgameframemobile" in o && r(14,
|
|
1055
|
+
"userid" in o && r(0, f = o.userid), "session" in o && r(1, d = o.session), "endpoint" in o && r(2, l = o.endpoint), "datasource" in o && r(3, u = o.datasource), "lang" in o && r(4, i = o.lang), "currency" in o && r(5, p = o.currency), "mbsource" in o && r(6, m = o.mbsource), "clientstyling" in o && r(7, P = o.clientstyling), "clientstylingurl" in o && r(8, v = o.clientstylingurl), "livecasino" in o && r(9, c = o.livecasino), "visiblegames" in o && r(10, t = o.visiblegames), "gamepagemodalurl" in o && r(11, n = o.gamepagemodalurl), "showgamename" in o && r(12, b = o.showgamename), "integratedgameframedesktop" in o && r(13, S = o.integratedgameframedesktop), "integratedgameframemobile" in o && r(14, D = o.integratedgameframemobile), "translationurl" in o && r(15, j = o.translationurl), "favorites" in o && r(16, O = o.favorites), "mostplayed" in o && r(17, E = o.mostplayed), "lastplayed" in o && r(18, q = o.lastplayed), "casinomygames" in o && r(19, J = o.casinomygames), "lastplayedperiod" in o && r(20, V = o.lastplayedperiod), "mostplayedperiod" in o && r(21, K = o.mostplayedperiod), "lastplayedorder" in o && r(22, Q = o.lastplayedorder), "lastplayedlimit" in o && r(23, X = o.lastplayedlimit), "lastplayedunique" in o && r(24, Z = o.lastplayedunique), "mostplayedrounds" in o && r(25, W = o.mostplayedrounds);
|
|
1056
1056
|
}, s.$$.update = () => {
|
|
1057
1057
|
s.$$.dirty[0] & /*endpoint, datasource, lang, favorites, mostplayed, lastplayed*/
|
|
1058
|
-
458780 && l && u && i && O &&
|
|
1058
|
+
458780 && l && u && i && O && E && q && fe(), s.$$.dirty[0] & /*translationurl*/
|
|
1059
1059
|
32768 && j && de(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1060
1060
|
67108992 && P && k && Ae(k, P), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1061
1061
|
67109120 && v && k && Be(k, v), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
@@ -1076,21 +1076,21 @@ function Ue(s, e, r) {
|
|
|
1076
1076
|
n,
|
|
1077
1077
|
b,
|
|
1078
1078
|
S,
|
|
1079
|
-
|
|
1079
|
+
D,
|
|
1080
1080
|
j,
|
|
1081
1081
|
O,
|
|
1082
|
-
q,
|
|
1083
1082
|
E,
|
|
1083
|
+
q,
|
|
1084
1084
|
J,
|
|
1085
|
-
K,
|
|
1086
1085
|
V,
|
|
1087
|
-
|
|
1088
|
-
Z,
|
|
1086
|
+
K,
|
|
1089
1087
|
Q,
|
|
1088
|
+
X,
|
|
1089
|
+
Z,
|
|
1090
1090
|
W,
|
|
1091
1091
|
k,
|
|
1092
1092
|
N,
|
|
1093
|
-
|
|
1093
|
+
Y,
|
|
1094
1094
|
L,
|
|
1095
1095
|
H,
|
|
1096
1096
|
y,
|
|
@@ -1101,7 +1101,7 @@ function Ue(s, e, r) {
|
|
|
1101
1101
|
ce
|
|
1102
1102
|
];
|
|
1103
1103
|
}
|
|
1104
|
-
class
|
|
1104
|
+
class Re extends he {
|
|
1105
1105
|
constructor(e) {
|
|
1106
1106
|
super(), pe(
|
|
1107
1107
|
this,
|
|
@@ -1298,7 +1298,7 @@ class De extends he {
|
|
|
1298
1298
|
this.$$set({ mostplayedrounds: e }), g();
|
|
1299
1299
|
}
|
|
1300
1300
|
}
|
|
1301
|
-
je(
|
|
1301
|
+
je(Re, { userid: {}, session: {}, endpoint: {}, datasource: {}, lang: {}, currency: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, visiblegames: {}, gamepagemodalurl: {}, showgamename: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, translationurl: {}, favorites: {}, mostplayed: {}, lastplayed: {}, casinomygames: {}, lastplayedperiod: {}, mostplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, lastplayedunique: {}, mostplayedrounds: {} }, [], [], !0);
|
|
1302
1302
|
export {
|
|
1303
|
-
|
|
1303
|
+
Re as default
|
|
1304
1304
|
};
|