@everymatrix/casino-page-nd 1.76.14 → 1.77.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-DIKM6-FX.js → CasinoCalendar-CCAwhtBt.js} +1015 -1024
- package/components/CasinoCalendar-DGE4j4zu.cjs +19 -0
- package/components/{CasinoCalendar-BpmBQMqg.js → CasinoCalendar-DYLVhtW-.js} +848 -857
- package/components/{CasinoCalendarDailyDetails-CR3HaDXZ.js → CasinoCalendarDailyDetails-DIUpad6c.js} +37 -37
- package/components/{CasinoCalendarDailyDetails-B2rPnr-r.js → CasinoCalendarDailyDetails-DRcIScHe.js} +38 -38
- package/components/{CasinoCalendarDailyDetails-Db4V8lzv.cjs → CasinoCalendarDailyDetails-wpUMBkOO.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-EtfFPL69.js → CasinoCalendarDailyItem-CiQzqA52.js} +36 -36
- package/components/{CasinoCalendarDailyItem-BYf0S582.cjs → CasinoCalendarDailyItem-D8F2frZb.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-BtpO8qS-.js → CasinoCalendarDailyItem-NLjE5GF9.js} +39 -39
- package/components/{CasinoCollectionsProviders-DRvdCXk8.js → CasinoCollectionsProviders-ClZkWf5Z.js} +65 -65
- package/components/{CasinoCollectionsProviders-zDF0lel_.cjs → CasinoCollectionsProviders-CuOrtQzj.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-CGHuHGKJ.js → CasinoCollectionsProviders-YW2-uRzZ.js} +68 -68
- package/components/CasinoFavoritesSectionNd-CAWBrQc_.cjs +1 -0
- package/components/{CasinoFavoritesSectionNd-D_iRqzx7.js → CasinoFavoritesSectionNd-CjYeem_e.js} +47 -70
- package/components/{CasinoFavoritesSectionNd-Vth9qKYe.js → CasinoFavoritesSectionNd-Ct_f4Jki.js} +45 -68
- package/components/{CasinoFilter-PMuyKrfM.js → CasinoFilter-Bo3TdoaX.js} +253 -254
- package/components/CasinoFilter-Cr4glniJ.cjs +1 -0
- package/components/{CasinoFilter-DzWurkh4.js → CasinoFilter-D_yW5PlW.js} +236 -235
- package/components/CasinoGameThumbnailNd-CYNBtn7j.cjs +30 -0
- package/components/{CasinoGameThumbnailNd-a3JP2Y65.js → CasinoGameThumbnailNd-Cv029OfD.js} +64 -66
- package/components/{CasinoGameThumbnailNd-Bew7sNHs.js → CasinoGameThumbnailNd-g9ou3sw_.js} +62 -64
- package/components/{CasinoGamesCategorySectionNd-Dmc0zltf.js → CasinoGamesCategorySectionNd-CAn4Ecz4.js} +419 -472
- package/components/{CasinoGamesCategorySectionNd-BViAsj82.js → CasinoGamesCategorySectionNd-DHm9cDJj.js} +459 -512
- package/components/CasinoGamesCategorySectionNd-j1l2VX7q.cjs +1 -0
- package/components/{CasinoJackpotBanner-BqnIz0Jh.js → CasinoJackpotBanner-DYhiJaNA.js} +58 -58
- package/components/{CasinoJackpotBanner-BvlsWFl7.js → CasinoJackpotBanner-DwIpkmzr.js} +103 -103
- package/components/{CasinoJackpotBanner-DVQ8suFI.cjs → CasinoJackpotBanner-EBw-EtsK.cjs} +1 -1
- package/components/CasinoLastPlayedSectionNd-B2RSFJjd.cjs +1 -0
- package/components/{CasinoLastPlayedSectionNd-DP2wNqqR.js → CasinoLastPlayedSectionNd-D42ogn9t.js} +34 -34
- package/components/{CasinoLastPlayedSectionNd-DgT1mzLh.js → CasinoLastPlayedSectionNd-Vhkkc7I4.js} +41 -41
- package/components/{CasinoMostPlayedSectionNd-BDbP0dVK.js → CasinoMostPlayedSectionNd-BT5jfPpk.js} +42 -42
- package/components/CasinoMostPlayedSectionNd-CToSf0Sr.cjs +1 -0
- package/components/{CasinoMostPlayedSectionNd-B60c74Nx.js → CasinoMostPlayedSectionNd-DFdpxzZ1.js} +36 -36
- package/components/{CasinoMyGamesNd-DMqZrYBo.js → CasinoMyGamesNd-4ZtCXVu-.js} +460 -505
- package/components/{CasinoMyGamesNd-VCvq-Ujh.js → CasinoMyGamesNd-DJ0-Zbkh.js} +459 -504
- package/components/CasinoMyGamesNd-Da3qtKMm.cjs +1 -0
- package/components/{CasinoPageNd-DA7qMS-l.js → CasinoPageNd-CkcXDzk7.js} +109 -109
- package/components/{CasinoPageNd-BvQvfzbo.js → CasinoPageNd-DEBqN_jK.js} +113 -113
- package/components/{CasinoPageNd-D34CwHfP.cjs → CasinoPageNd-DbQWwtfX.cjs} +1 -1
- package/components/{CasinoRandomGame-BPjl3Vyt.js → CasinoRandomGame-CzpjUn3x.js} +49 -49
- package/components/{CasinoRandomGame-Er_WDp3Q.cjs → CasinoRandomGame-UdXXycft.cjs} +1 -1
- package/components/{CasinoRandomGame-Dbm27S1o.js → CasinoRandomGame-wYmzje9u.js} +58 -58
- package/components/{CasinoSearchNd-DW1Pw7-Q.js → CasinoSearchNd-BKFkZrKZ.js} +69 -69
- package/components/CasinoSearchNd-BL7_QRmx.cjs +1 -0
- package/components/{CasinoSearchNd-Dk2PKhWq.js → CasinoSearchNd-DedlNtWh.js} +82 -82
- package/components/{CasinoSort-zIeABc70.js → CasinoSort-CDn4VxUk.js} +108 -107
- package/components/{CasinoSort-CkIWjxkg.js → CasinoSort-Cehdm4Cm.js} +116 -117
- package/components/{CasinoSort-T5gzvKTb.cjs → CasinoSort-NJzenKP8.cjs} +1 -1
- package/components/CasinoWinners-DiN0im-f.cjs +1 -0
- package/components/{CasinoWinners-iRjkvip2.js → CasinoWinners-H0nWE_Qn.js} +261 -276
- package/components/{CasinoWinners-BdPKRRdb.js → CasinoWinners-b_1VWnj4.js} +216 -231
- package/components/{GeneralAnimationLoading-BxgOtrDA.cjs → GeneralAnimationLoading-Cfcv7UAg.cjs} +1 -1
- package/components/{GeneralAnimationLoading-DzWSt2Rd.js → GeneralAnimationLoading-Cr0HPeRs.js} +10 -10
- package/components/{GeneralAnimationLoading-D0OVj1dQ.js → GeneralAnimationLoading-D6ffp_TH.js} +8 -8
- 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-6neds2oy.js +16 -0
- package/lazy/casino-calendar-Cb4Zdg3u.cjs +1 -0
- package/lazy/casino-calendar-Dr_AZSGB.js +16 -0
- package/lazy/casino-calendar-daily-details-C53XYyqp.js +16 -0
- package/lazy/casino-calendar-daily-details-s-luglQY.js +16 -0
- package/lazy/casino-calendar-daily-details-zifx6_iS.cjs +1 -0
- package/lazy/casino-calendar-daily-item-BVLvWZfF.js +16 -0
- package/lazy/casino-calendar-daily-item-Bl20cwaJ.cjs +1 -0
- package/lazy/casino-calendar-daily-item-lmNWLkSh.js +16 -0
- package/lazy/casino-collections-providers-BILnf_UY.js +16 -0
- package/lazy/casino-collections-providers-CZQFi5vk.js +16 -0
- package/lazy/casino-collections-providers-WCc5YLEx.cjs +1 -0
- package/lazy/casino-favorites-section-nd-BLZdSr15.js +16 -0
- package/lazy/casino-favorites-section-nd-CZ-zzDox.js +16 -0
- package/lazy/casino-favorites-section-nd-Dw-PusaS.cjs +1 -0
- package/lazy/casino-filter-C-pmSjXr.js +16 -0
- package/lazy/casino-filter-C2uu2OCM.cjs +1 -0
- package/lazy/casino-filter-Cj7_L9pL.js +16 -0
- package/lazy/casino-game-thumbnail-nd-Bfq5MHXu.cjs +1 -0
- package/lazy/casino-game-thumbnail-nd-CwWp4s-T.js +16 -0
- package/lazy/casino-game-thumbnail-nd-DOPQRFvD.js +16 -0
- package/lazy/casino-games-category-section-nd-D6bEuvm5.cjs +1 -0
- package/lazy/casino-games-category-section-nd-DSMqYaGz.js +16 -0
- package/lazy/casino-games-category-section-nd-DWQClofk.js +16 -0
- package/lazy/casino-jackpot-banner-DEzAKuNz.cjs +1 -0
- package/lazy/casino-jackpot-banner-DV01Njxa.js +16 -0
- package/lazy/casino-jackpot-banner-DehKtGHo.js +16 -0
- package/lazy/casino-last-played-section-nd-5wBhiaI9.cjs +1 -0
- package/lazy/casino-last-played-section-nd-DelAIRC0.js +16 -0
- package/lazy/casino-last-played-section-nd-DjIQl88y.js +16 -0
- package/lazy/casino-most-played-section-nd-BhEgwb0a.cjs +1 -0
- package/lazy/casino-most-played-section-nd-CIYfLdSP.js +16 -0
- package/lazy/casino-most-played-section-nd-DvH4BV0h.js +16 -0
- package/lazy/casino-my-games-nd-DNP31Ydi.js +16 -0
- package/lazy/casino-my-games-nd-DjKhKRFX.js +16 -0
- package/lazy/casino-my-games-nd-JngcaX75.cjs +1 -0
- package/lazy/casino-play-random-game--i81UNg_.js +566 -0
- package/lazy/casino-play-random-game-Co-Rjcnv.cjs +1 -0
- package/lazy/casino-play-random-game-DdMyXzTm.js +582 -0
- package/lazy/casino-random-game-CrCiwriJ.js +16 -0
- package/lazy/casino-random-game-Cx_s3XrC.cjs +1 -0
- package/lazy/casino-random-game-w7BF0cdQ.js +16 -0
- package/lazy/casino-search-nd-B_ffUyl7.cjs +1 -0
- package/lazy/casino-search-nd-C9BJPr43.js +16 -0
- package/lazy/casino-search-nd-CwQvpchn.js +16 -0
- package/lazy/casino-sort-C8jnh3qL.cjs +1 -0
- package/lazy/casino-sort-CAbAJiMw.js +16 -0
- package/lazy/casino-sort-DvKa_qwq.js +16 -0
- package/lazy/casino-winners-B_gD0IFb.js +16 -0
- package/lazy/casino-winners-C7YkitCv.cjs +1 -0
- package/lazy/casino-winners-SrWXp94E.js +16 -0
- package/lazy/general-animation-loading-B8m3Kuyi.js +16 -0
- package/lazy/general-animation-loading-BaCSgc29.cjs +1 -0
- package/lazy/general-animation-loading-Dp2OSO62.js +16 -0
- package/lazy/ui-image-BAx5XP4T.js +554 -0
- package/lazy/ui-image-q7RKTAnB.js +538 -0
- package/lazy/ui-image-xAOmP7KP.cjs +1 -0
- package/package.json +3 -2
- package/stencil/casino-play-random-game-B5hVksxr.cjs +1 -0
- package/stencil/{casino-play-random-game-Cn7_43lQ.js → casino-play-random-game-CLaJThDY.js} +2 -2
- package/stencil/{casino-play-random-game-CUpRDmsd.js → casino-play-random-game-__TIlMF6.js} +2 -2
- package/stencil/casino-play-random-game_3-CSEG011u.cjs +432 -0
- package/stencil/{casino-play-random-game_3-D2RbqU-v.js → casino-play-random-game_3-Ys8LRBD3.js} +2 -2
- package/stencil/{casino-play-random-game_3-B7x6w4BA.js → casino-play-random-game_3-jap_cJQa.js} +2 -2
- package/stencil/{ui-image-2ff23cd5-CBX1vdMZ.js → ui-image-2ff23cd5-B9-b3FKW.js} +1 -1
- package/stencil/{ui-image-2ff23cd5-BU5r6gJa.cjs → ui-image-2ff23cd5-BvSV3FQg.cjs} +1 -1
- package/stencil/{ui-image-2ff23cd5-DZZYCsK1.js → ui-image-2ff23cd5-a8pPlqaE.js} +1 -1
- package/stencil/{ui-image-_f0XGSO2.js → ui-image-BrNSiahR.js} +1 -1
- package/stencil/{ui-image-BqbNkjGg.js → ui-image-DFezoHJb.js} +1 -1
- package/stencil/{ui-image-CNN86Aho.cjs → ui-image-eIUrNbW3.cjs} +1 -1
- package/stencil/{ui-image_2-Bsl4RJfi.cjs → ui-image_2-BcIdXuZn.cjs} +1 -1
- package/stencil/{ui-image_2-exO7RXKL.js → ui-image_2-DEzpm8ng.js} +2 -2
- package/stencil/{ui-image_2-ID_1Oi3k.js → ui-image_2-v1kguPBp.js} +2 -2
- package/components/CasinoCalendar-CzrlHwD6.cjs +0 -19
- package/components/CasinoFavoritesSectionNd-wD4aGs9L.cjs +0 -1
- package/components/CasinoFilter-BVW1b78L.cjs +0 -1
- package/components/CasinoGameThumbnailNd-B-r_T1ag.cjs +0 -30
- package/components/CasinoGamesCategorySectionNd-BxnBPZSN.cjs +0 -1
- package/components/CasinoLastPlayedSectionNd-jre5mCnw.cjs +0 -1
- package/components/CasinoMostPlayedSectionNd-C9EPOuC_.cjs +0 -1
- package/components/CasinoMyGamesNd-Bhufp11n.cjs +0 -1
- package/components/CasinoSearchNd-CNcdxlUR.cjs +0 -1
- package/components/CasinoWinners-DSywKe-Y.cjs +0 -1
- package/stencil/casino-play-random-game-fvC6k6u_.cjs +0 -1
- package/stencil/casino-play-random-game_3-y8iURQaW.cjs +0 -432
- package/stencil/index-242ac81a-Bl2OSy8h.js +0 -538
- package/stencil/index-242ac81a-Czg480dJ.js +0 -554
- package/stencil/index-242ac81a-DDPF_SYN.cjs +0 -1
- package/stencil/index-27b314b8-9-rvsddy.js +0 -566
- package/stencil/index-27b314b8-CCprWmCo.js +0 -582
- package/stencil/index-27b314b8-DoR1KfK8.cjs +0 -1
package/components/{CasinoMostPlayedSectionNd-BDbP0dVK.js → CasinoMostPlayedSectionNd-BT5jfPpk.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as $, $ as ee, S as te, i as se, s as ae, f as l,
|
|
2
|
-
import "
|
|
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-CCAwhtBt.js";
|
|
2
|
+
import "../lazy/casino-games-category-section-nd-DWQClofk.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;
|
|
@@ -167,7 +167,7 @@ function ve(a) {
|
|
|
167
167
|
);
|
|
168
168
|
},
|
|
169
169
|
m(s, i) {
|
|
170
|
-
|
|
170
|
+
E(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 && A(e);
|
|
291
291
|
}
|
|
292
292
|
};
|
|
293
293
|
}
|
|
@@ -298,18 +298,18 @@ function _e(a) {
|
|
|
298
298
|
), i;
|
|
299
299
|
return {
|
|
300
300
|
c() {
|
|
301
|
-
e = P("p"), i =
|
|
301
|
+
e = P("p"), i = ge(s), M(e, "class", "SearchLoading");
|
|
302
302
|
},
|
|
303
303
|
m(m, r) {
|
|
304
|
-
|
|
304
|
+
E(m, e, r), B(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") + "") && me(i, s);
|
|
310
310
|
},
|
|
311
311
|
d(m) {
|
|
312
|
-
m &&
|
|
312
|
+
m && A(e);
|
|
313
313
|
}
|
|
314
314
|
};
|
|
315
315
|
}
|
|
@@ -327,44 +327,44 @@ function ke(a) {
|
|
|
327
327
|
e = P("div"), s = P("div"), r.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
|
|
328
328
|
},
|
|
329
329
|
m(g, c) {
|
|
330
|
-
|
|
330
|
+
E(g, e, c), B(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)));
|
|
334
334
|
},
|
|
335
|
-
i:
|
|
336
|
-
o:
|
|
335
|
+
i: H,
|
|
336
|
+
o: H,
|
|
337
337
|
d(g) {
|
|
338
|
-
g &&
|
|
338
|
+
g && A(e), r.d(), a[24](null);
|
|
339
339
|
}
|
|
340
340
|
};
|
|
341
341
|
}
|
|
342
342
|
function we(a, e, s) {
|
|
343
343
|
let i;
|
|
344
|
-
|
|
345
|
-
let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session:
|
|
344
|
+
ie(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: 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;
|
|
346
346
|
const V = () => {
|
|
347
347
|
fetch(G).then((o) => o.json()).then((o) => {
|
|
348
348
|
Object.keys(o).forEach((d) => {
|
|
349
|
-
|
|
349
|
+
K(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(Y).forEach((t) => {
|
|
356
|
+
K(t, Y[t]);
|
|
357
357
|
});
|
|
358
|
-
let N = [],
|
|
358
|
+
let N = [], q, z = !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", S);
|
|
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),
|
|
364
|
-
fetch(
|
|
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 = w ? o : o.href, new Promise((f, y) => {
|
|
364
|
+
fetch(q).then((h) => h.json()).then((h) => {
|
|
365
365
|
h.items = h.items.filter((x) => {
|
|
366
|
-
let
|
|
367
|
-
return x.gameCode == "OddsMatrix2" && (h.count--,
|
|
366
|
+
let J = !0;
|
|
367
|
+
return x.gameCode == "OddsMatrix2" && (h.count--, J = !1), J;
|
|
368
368
|
}), f(h);
|
|
369
369
|
}).catch((h) => {
|
|
370
370
|
console.error(h), y(h);
|
|
@@ -373,7 +373,7 @@ function we(a, e, s) {
|
|
|
373
373
|
}, X = () => {
|
|
374
374
|
W({
|
|
375
375
|
limit: 100,
|
|
376
|
-
device:
|
|
376
|
+
device: le(Q),
|
|
377
377
|
rounds: L
|
|
378
378
|
}).then((t) => {
|
|
379
379
|
if (t.count > 0) {
|
|
@@ -382,29 +382,29 @@ function we(a, e, s) {
|
|
|
382
382
|
let f = new URL(`${m}/v1/casino/games/${d.gameId}`);
|
|
383
383
|
f.searchParams.append("datasource", r), w ? 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]), C === "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, z = !0);
|
|
389
389
|
});
|
|
390
390
|
}, Z = () => {
|
|
391
391
|
ye(c);
|
|
392
392
|
};
|
|
393
|
-
|
|
393
|
+
oe(() => () => {
|
|
394
394
|
});
|
|
395
395
|
function p(t) {
|
|
396
|
-
|
|
396
|
+
re[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,
|
|
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, 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(16, G = t.translationurl), "casinomygames" in t && s(17, C = t.casinomygames), "mostplayedperiod" in t && s(22, S = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(18, I = 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 && k && u &&
|
|
407
|
-
524352 && v && u &&
|
|
405
|
+
524416 && _ && u && ce(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
406
|
+
524544 && k && u && ue(u, k), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
407
|
+
524352 && v && u && de(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
|
|
408
408
|
65536 && G && V(), a.$$.dirty[0] & /*lang*/
|
|
409
409
|
8 && c && Z();
|
|
410
410
|
}, [
|
|
@@ -412,7 +412,7 @@ function we(a, e, s) {
|
|
|
412
412
|
r,
|
|
413
413
|
g,
|
|
414
414
|
c,
|
|
415
|
-
|
|
415
|
+
F,
|
|
416
416
|
b,
|
|
417
417
|
v,
|
|
418
418
|
_,
|
|
@@ -422,15 +422,15 @@ function we(a, e, s) {
|
|
|
422
422
|
D,
|
|
423
423
|
R,
|
|
424
424
|
T,
|
|
425
|
-
|
|
425
|
+
j,
|
|
426
426
|
U,
|
|
427
427
|
G,
|
|
428
|
-
|
|
429
|
-
|
|
428
|
+
C,
|
|
429
|
+
I,
|
|
430
430
|
u,
|
|
431
|
-
|
|
431
|
+
z,
|
|
432
432
|
i,
|
|
433
|
-
|
|
433
|
+
S,
|
|
434
434
|
L,
|
|
435
435
|
p
|
|
436
436
|
];
|
|
@@ -597,7 +597,7 @@ class Ge extends te {
|
|
|
597
597
|
this.$$set({ fetchviaevent: e }), l();
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
|
|
600
|
+
fe(Ge, { 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
|
Ge as default
|
|
603
603
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DGE4j4zu.cjs");require("../lazy/casino-games-category-section-nd-D6bEuvm5.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={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 W(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 Z(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,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[20]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.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),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,f)=>{fetch(D).then(_=>_.json()).then(_=>{_.items=_.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(_.count--,R=!1),R}),g(_)}).catch(_=>{console.error(_),f(_)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(f=>f.json())):m.push(fetch(g.href).then(f=>f.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(20,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&524416&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&524544&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&524352&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,G,P,F,c,T,i,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,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},W,[-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(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
|
package/components/{CasinoMostPlayedSectionNd-B60c74Nx.js → CasinoMostPlayedSectionNd-DFdpxzZ1.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as $, $ as ee, S as te, i as se, s as ae, f as l,
|
|
2
|
-
import "
|
|
1
|
+
import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as K, d as A, h as F, q as H, j as P, u as M, k as ie, l as oe, o as le, P as re, D as me, p as ge, r as ce, F as n, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-DYLVhtW-.js";
|
|
2
|
+
import "../lazy/casino-games-category-section-nd-DSMqYaGz.js";
|
|
3
3
|
function Y(a, e) {
|
|
4
4
|
$(a, e);
|
|
5
5
|
}
|
|
@@ -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;
|
|
@@ -167,7 +167,7 @@ function ve(a) {
|
|
|
167
167
|
);
|
|
168
168
|
},
|
|
169
169
|
m(s, i) {
|
|
170
|
-
|
|
170
|
+
F(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 && A(e);
|
|
291
291
|
}
|
|
292
292
|
};
|
|
293
293
|
}
|
|
@@ -298,18 +298,18 @@ function _e(a) {
|
|
|
298
298
|
), i;
|
|
299
299
|
return {
|
|
300
300
|
c() {
|
|
301
|
-
e = P("p"), i =
|
|
301
|
+
e = P("p"), i = ce(s), M(e, "class", "SearchLoading");
|
|
302
302
|
},
|
|
303
303
|
m(m, r) {
|
|
304
|
-
|
|
304
|
+
F(m, e, r), H(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") + "") && ge(i, s);
|
|
310
310
|
},
|
|
311
311
|
d(m) {
|
|
312
|
-
m &&
|
|
312
|
+
m && A(e);
|
|
313
313
|
}
|
|
314
314
|
};
|
|
315
315
|
}
|
|
@@ -327,22 +327,22 @@ function ke(a) {
|
|
|
327
327
|
e = P("div"), s = P("div"), r.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
|
|
328
328
|
},
|
|
329
329
|
m(g, c) {
|
|
330
|
-
|
|
330
|
+
F(g, e, c), H(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)));
|
|
334
334
|
},
|
|
335
|
-
i:
|
|
336
|
-
o:
|
|
335
|
+
i: K,
|
|
336
|
+
o: K,
|
|
337
337
|
d(g) {
|
|
338
|
-
g &&
|
|
338
|
+
g && A(e), r.d(), a[24](null);
|
|
339
339
|
}
|
|
340
340
|
};
|
|
341
341
|
}
|
|
342
342
|
function we(a, e, s) {
|
|
343
343
|
let i;
|
|
344
|
-
|
|
345
|
-
let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session:
|
|
344
|
+
ie(a, oe, (t) => s(21, i = t));
|
|
345
|
+
let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: D = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: E = "false" } = e, { integratedgameframedesktop: O = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: G = "" } = e, { casinomygames: S = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: I = "true" } = e, Q = window.navigator.userAgent;
|
|
346
346
|
const V = () => {
|
|
347
347
|
fetch(G).then((o) => o.json()).then((o) => {
|
|
348
348
|
Object.keys(o).forEach((d) => {
|
|
@@ -355,16 +355,16 @@ function we(a, e, s) {
|
|
|
355
355
|
Object.keys(B).forEach((t) => {
|
|
356
356
|
Y(t, B[t]);
|
|
357
357
|
});
|
|
358
|
-
let N = [],
|
|
358
|
+
let N = [], q, z = !1, u;
|
|
359
359
|
const W = (t) => {
|
|
360
360
|
let o = new URL(`${m}/v1/player/${b}/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", 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),
|
|
364
|
-
fetch(
|
|
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 = w ? o : o.href, new Promise((f, y) => {
|
|
364
|
+
fetch(q).then((h) => h.json()).then((h) => {
|
|
365
365
|
h.items = h.items.filter((x) => {
|
|
366
|
-
let
|
|
367
|
-
return x.gameCode == "OddsMatrix2" && (h.count--,
|
|
366
|
+
let J = !0;
|
|
367
|
+
return x.gameCode == "OddsMatrix2" && (h.count--, J = !1), J;
|
|
368
368
|
}), f(h);
|
|
369
369
|
}).catch((h) => {
|
|
370
370
|
console.error(h), y(h);
|
|
@@ -373,7 +373,7 @@ function we(a, e, s) {
|
|
|
373
373
|
}, X = () => {
|
|
374
374
|
W({
|
|
375
375
|
limit: 100,
|
|
376
|
-
device:
|
|
376
|
+
device: re(Q),
|
|
377
377
|
rounds: L
|
|
378
378
|
}).then((t) => {
|
|
379
379
|
if (t.count > 0) {
|
|
@@ -382,29 +382,29 @@ function we(a, e, s) {
|
|
|
382
382
|
let f = new URL(`${m}/v1/casino/games/${d.gameId}`);
|
|
383
383
|
f.searchParams.append("datasource", r), w ? 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, z = !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,
|
|
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, D = 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, E = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, O = 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, G = t.translationurl), "casinomygames" in t && s(17, S = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(18, I = 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 && k && u &&
|
|
407
|
-
524352 && v && u &&
|
|
405
|
+
524416 && _ && u && ue(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
406
|
+
524544 && k && u && de(u, k), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
407
|
+
524352 && v && u && fe(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
|
|
408
408
|
65536 && G && V(), a.$$.dirty[0] & /*lang*/
|
|
409
409
|
8 && c && Z();
|
|
410
410
|
}, [
|
|
@@ -412,23 +412,23 @@ function we(a, e, s) {
|
|
|
412
412
|
r,
|
|
413
413
|
g,
|
|
414
414
|
c,
|
|
415
|
-
|
|
415
|
+
D,
|
|
416
416
|
b,
|
|
417
417
|
v,
|
|
418
418
|
_,
|
|
419
419
|
k,
|
|
420
420
|
w,
|
|
421
|
+
E,
|
|
421
422
|
O,
|
|
422
|
-
D,
|
|
423
423
|
R,
|
|
424
424
|
T,
|
|
425
|
-
|
|
425
|
+
j,
|
|
426
426
|
U,
|
|
427
427
|
G,
|
|
428
|
-
|
|
429
|
-
|
|
428
|
+
S,
|
|
429
|
+
I,
|
|
430
430
|
u,
|
|
431
|
-
|
|
431
|
+
z,
|
|
432
432
|
i,
|
|
433
433
|
C,
|
|
434
434
|
L,
|
|
@@ -597,7 +597,7 @@ class Ge extends te {
|
|
|
597
597
|
this.$$set({ fetchviaevent: e }), l();
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
|
|
600
|
+
he(Ge, { 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
|
Ge as default
|
|
603
603
|
};
|