@everymatrix/casino-page-nd 1.77.26 → 1.77.27
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-CMBPy1pJ.cjs +19 -0
- package/components/{CasinoCalendar-C_VJ6L5h.js → CasinoCalendar-CVV5rh8D.js} +835 -814
- package/components/{CasinoCalendar-YPJx1Ln1.js → CasinoCalendar-Dvq0s7Wu.js} +1010 -989
- package/components/{CasinoCalendarDailyDetails-Cguh7flH.js → CasinoCalendarDailyDetails-Ce8DWjpV.js} +38 -38
- package/components/{CasinoCalendarDailyDetails-oKHn85EO.cjs → CasinoCalendarDailyDetails-DexFgNfS.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-CsYPLzvJ.js → CasinoCalendarDailyDetails-DoK91rza.js} +37 -37
- package/components/{CasinoCalendarDailyItem-B4RlR66B.js → CasinoCalendarDailyItem-D15k2m1h.js} +39 -39
- package/components/{CasinoCalendarDailyItem-BUeVZ8a-.cjs → CasinoCalendarDailyItem-DJzXrKrB.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-bDnKgJDC.js → CasinoCalendarDailyItem-DYvCgZu8.js} +36 -36
- package/components/{CasinoCollectionsProviders-47jjU1m3.js → CasinoCollectionsProviders-CME6A3fn.js} +65 -65
- package/components/{CasinoCollectionsProviders-Bp1HfH4G.cjs → CasinoCollectionsProviders-DBJEOSOQ.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-BJs2-gZl.js → CasinoCollectionsProviders-m_2jJqD9.js} +68 -68
- package/components/{CasinoFavoritesSectionNd-Bl01orhx.cjs → CasinoFavoritesSectionNd-DYqPUw83.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-DCMNlm8n.js → CasinoFavoritesSectionNd-ItqNIJiO.js} +29 -29
- package/components/{CasinoFavoritesSectionNd-bh9doU4T.js → CasinoFavoritesSectionNd-j_x4BbVA.js} +34 -34
- package/components/{CasinoFilter-w4QdHSn8.js → CasinoFilter-B9UcHS3B.js} +236 -235
- package/components/{CasinoFilter-XOtmIBAn.js → CasinoFilter-BM39VdLR.js} +253 -254
- package/components/CasinoFilter-fiig0zZL.cjs +1 -0
- package/components/{CasinoGameThumbnailNd-DdUSa2fx.js → CasinoGameThumbnailNd-C7lIhRfO.js} +64 -66
- package/components/CasinoGameThumbnailNd-D68XOPSp.cjs +30 -0
- package/components/{CasinoGameThumbnailNd-ZthYNGsP.js → CasinoGameThumbnailNd-D7d7Ut2W.js} +62 -64
- package/components/{CasinoGamesCategorySectionNd-DdcMDkyI.cjs → CasinoGamesCategorySectionNd-BCSPbWos.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-4lcTDxWE.js → CasinoGamesCategorySectionNd-DDxD9nUf.js} +92 -92
- package/components/{CasinoGamesCategorySectionNd-BPXCcOUz.js → CasinoGamesCategorySectionNd-DMwVq9fp.js} +114 -114
- package/components/{CasinoJackpotBanner-B7ElU4BC.cjs → CasinoJackpotBanner-BftiHhI-.cjs} +1 -1
- package/components/{CasinoJackpotBanner-Bz2kRCKP.js → CasinoJackpotBanner-Ct4mMod2.js} +103 -103
- package/components/{CasinoJackpotBanner-BfXFmSmX.js → CasinoJackpotBanner-OnXeUt0G.js} +58 -58
- package/components/{CasinoLastPlayedSectionNd-D0w0IurO.js → CasinoLastPlayedSectionNd-BHODuapK.js} +41 -41
- package/components/{CasinoLastPlayedSectionNd-CF4MAPfr.js → CasinoLastPlayedSectionNd-C3GzrdJm.js} +34 -34
- package/components/{CasinoLastPlayedSectionNd-Cz_iEhxM.cjs → CasinoLastPlayedSectionNd-CeZMPmWd.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-DWOknDmF.js → CasinoMostPlayedSectionNd-D-baP__d.js} +42 -42
- package/components/{CasinoMostPlayedSectionNd-DEB0EbxW.cjs → CasinoMostPlayedSectionNd-D4e0bYIb.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-Ccj-y9pJ.js → CasinoMostPlayedSectionNd-Dd_xRXHP.js} +36 -36
- package/components/{CasinoMyGamesNd-BmIrzrqc.js → CasinoMyGamesNd-Cx16hjrw.js} +40 -40
- package/components/{CasinoMyGamesNd-CL6pDIKC.cjs → CasinoMyGamesNd-DP1Glj8A.cjs} +1 -1
- package/components/{CasinoMyGamesNd-3b3obl-V.js → CasinoMyGamesNd-DtO8BLgo.js} +36 -36
- package/components/{CasinoPageNd-DbiYXX0l.cjs → CasinoPageNd-2SGVZI5l.cjs} +1 -1
- package/components/{CasinoPageNd-Dj-Pp1RA.js → CasinoPageNd-BzxpWBlJ.js} +118 -118
- package/components/{CasinoPageNd-3OQu41vh.js → CasinoPageNd-CV_1eRGT.js} +114 -114
- package/components/{CasinoRandomGame-CeBESWc5.cjs → CasinoRandomGame-CtrV5Zq9.cjs} +1 -1
- package/components/{CasinoRandomGame-BzGJEA6I.js → CasinoRandomGame-D9uI-0HJ.js} +58 -58
- package/components/{CasinoRandomGame-D5yr-5Vn.js → CasinoRandomGame-DfVbawNf.js} +49 -49
- package/components/{CasinoSearchNd-CJt-sOhm.js → CasinoSearchNd-C7dhVLGA.js} +82 -82
- package/components/{CasinoSearchNd-CQ9NClbB.js → CasinoSearchNd-DFkU61c3.js} +78 -78
- package/components/{CasinoSearchNd-BucpIPMj.cjs → CasinoSearchNd-uyln5p8b.cjs} +1 -1
- package/components/{CasinoSort-CZS9-Z6J.cjs → CasinoSort-BsXOeI0C.cjs} +1 -1
- package/components/{CasinoSort-9fpGeYSQ.js → CasinoSort-CTN72s-D.js} +116 -117
- package/components/{CasinoSort-gbNaoRDN.js → CasinoSort-V3aduIWF.js} +108 -107
- package/components/{CasinoWinners-COtrh2sW.js → CasinoWinners-4USyKpC3.js} +145 -145
- package/components/{CasinoWinners-Cy_b9lpE.cjs → CasinoWinners-BDry1zn1.cjs} +1 -1
- package/components/{CasinoWinners-CoQE8AEq.js → CasinoWinners-ClkBsJkH.js} +137 -137
- package/components/{GeneralAnimationLoading-CAtYzECZ.js → GeneralAnimationLoading-2pIa3WZ2.js} +8 -8
- package/components/{GeneralAnimationLoading-zmqYWxGY.js → GeneralAnimationLoading-B9CgzrHo.js} +10 -10
- package/components/{GeneralAnimationLoading-CY5aEErg.cjs → GeneralAnimationLoading-BIa2hgIm.cjs} +1 -1
- 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-D3fD9F2z.js → casino-calendar-BnA6moNu.js} +1 -1
- package/lazy/{casino-calendar-CWhQ-8vr.js → casino-calendar-CCjyf9sY.js} +1 -1
- package/lazy/{casino-calendar-JSCsCLcj.cjs → casino-calendar-DouPWVGN.cjs} +1 -1
- package/lazy/{casino-calendar-daily-details-B4oE1Qrj.js → casino-calendar-daily-details-4_z9E4ve.js} +1 -1
- package/lazy/{casino-calendar-daily-details-B6HEd0py.js → casino-calendar-daily-details-C0P3w-fs.js} +1 -1
- package/lazy/{casino-calendar-daily-details-CLRKXy5Q.cjs → casino-calendar-daily-details-Dt4FF_n8.cjs} +1 -1
- package/lazy/{casino-calendar-daily-item-BagzSd0W.cjs → casino-calendar-daily-item-BWcR9mep.cjs} +1 -1
- package/lazy/{casino-calendar-daily-item-CiRhgtHn.js → casino-calendar-daily-item-CUVB-kY4.js} +1 -1
- package/lazy/{casino-calendar-daily-item-DY4q6gGz.js → casino-calendar-daily-item-DMKoFR_q.js} +1 -1
- package/lazy/{casino-collections-providers-DafkBdoh.js → casino-collections-providers-BXXUgv8B.js} +1 -1
- package/lazy/{casino-collections-providers-Ju5VeDAA.cjs → casino-collections-providers-DXotDGWT.cjs} +1 -1
- package/lazy/{casino-collections-providers-ByJ6w2KJ.js → casino-collections-providers-DatVbMye.js} +1 -1
- package/lazy/{casino-favorites-section-nd-CZx0UQ8R.js → casino-favorites-section-nd-B0h-6KZs.js} +1 -1
- package/lazy/{casino-favorites-section-nd-Dufy6Olo.js → casino-favorites-section-nd-G1k_nAvZ.js} +1 -1
- package/lazy/{casino-favorites-section-nd-C28ZVxke.cjs → casino-favorites-section-nd-rZSCGLz9.cjs} +1 -1
- package/lazy/{casino-filter-BPfzpmUi.cjs → casino-filter-B2xf5U69.cjs} +1 -1
- package/lazy/{casino-filter-BWn-N6Kk.js → casino-filter-CZ82Hcqj.js} +1 -1
- package/lazy/{casino-filter-BLzlcSvl.js → casino-filter-M72JDTfo.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-DG80MLgr.js → casino-game-thumbnail-nd-BpRhDG4C.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-IR0d0Srk.cjs → casino-game-thumbnail-nd-KF_zrMzM.cjs} +1 -1
- package/lazy/{casino-game-thumbnail-nd-CQsBWBQX.js → casino-game-thumbnail-nd-W3ayXj8t.js} +1 -1
- package/lazy/{casino-games-category-section-nd-jDGtfXLZ.js → casino-games-category-section-nd-BUgUwG4O.js} +1 -1
- package/lazy/{casino-games-category-section-nd-C3-kkkTj.js → casino-games-category-section-nd-BVdBFwwD.js} +1 -1
- package/lazy/{casino-games-category-section-nd-BXJkrwCt.cjs → casino-games-category-section-nd-Cp7zYNK8.cjs} +1 -1
- package/lazy/{casino-jackpot-banner-7HfIB66u.cjs → casino-jackpot-banner-BdLavtLx.cjs} +1 -1
- package/lazy/{casino-jackpot-banner-DtgwuBNk.js → casino-jackpot-banner-DZQ5Wi9n.js} +1 -1
- package/lazy/{casino-jackpot-banner-BcoZJp91.js → casino-jackpot-banner-wv7HsxL_.js} +1 -1
- package/lazy/{casino-last-played-section-nd-CpSmfi3Y.js → casino-last-played-section-nd-CjK9WO3Y.js} +1 -1
- package/lazy/{casino-last-played-section-nd-D7icyskf.js → casino-last-played-section-nd-CqwSv5ck.js} +1 -1
- package/lazy/{casino-last-played-section-nd-BCWYfNv3.cjs → casino-last-played-section-nd-yCd6eEHJ.cjs} +1 -1
- package/lazy/{casino-most-played-section-nd-D8P2yXMJ.cjs → casino-most-played-section-nd-BJW9_1tW.cjs} +1 -1
- package/lazy/{casino-most-played-section-nd-CqhuVpBU.js → casino-most-played-section-nd-C94lFpEP.js} +1 -1
- package/lazy/{casino-most-played-section-nd-Bf7SN7Pt.js → casino-most-played-section-nd-DBUtrDqy.js} +1 -1
- package/lazy/{casino-my-games-nd-_DHOZJSp.js → casino-my-games-nd-CKKAEy87.js} +1 -1
- package/lazy/{casino-my-games-nd-8b2YhyY0.cjs → casino-my-games-nd-CweGRZVj.cjs} +1 -1
- package/lazy/{casino-my-games-nd-C1XZ0BCo.js → casino-my-games-nd-D2yactb5.js} +1 -1
- package/lazy/casino-play-random-game-6lpggPdG.js +577 -0
- package/lazy/casino-play-random-game-DJtnASHn.cjs +1 -0
- package/lazy/casino-play-random-game-pSLEGfAB.js +561 -0
- package/lazy/{casino-random-game-dmzkWU23.js → casino-random-game-BNjDmcBR.js} +1 -1
- package/lazy/{casino-random-game-DVr6xFsp.cjs → casino-random-game-DoOoACUd.cjs} +1 -1
- package/lazy/{casino-random-game-By37AUoc.js → casino-random-game-v4cKTQdE.js} +1 -1
- package/lazy/{casino-search-nd-Bozp1Bvf.cjs → casino-search-nd-Bcnszmji.cjs} +1 -1
- package/lazy/{casino-search-nd-uWkzlf3l.js → casino-search-nd-D2EHW2L0.js} +1 -1
- package/lazy/{casino-search-nd-poX4SiUd.js → casino-search-nd-DOVyBHa7.js} +1 -1
- package/lazy/{casino-sort-LeNoSvVk.cjs → casino-sort--VUnkatZ.cjs} +1 -1
- package/lazy/{casino-sort-BEAN3GK2.js → casino-sort-BI4VLIYM.js} +1 -1
- package/lazy/{casino-sort-DwYP2cYN.js → casino-sort-CA7YDNNV.js} +1 -1
- package/lazy/{casino-winners-TFeAEUPs.cjs → casino-winners-Bqmcvrcd.cjs} +1 -1
- package/lazy/{casino-winners-DEbusDmx.js → casino-winners-Cxdl38To.js} +1 -1
- package/lazy/{casino-winners-f3FuajYW.js → casino-winners-_unUTW-I.js} +1 -1
- package/lazy/{general-animation-loading-DF2LCzNZ.cjs → general-animation-loading-B8SfjdID.cjs} +1 -1
- package/lazy/{general-animation-loading-CZDhRt5b.js → general-animation-loading-XGVRNffx.js} +1 -1
- package/lazy/{general-animation-loading-DtoxZ2pU.js → general-animation-loading-mNCrvpE1.js} +1 -1
- package/lazy/ui-image-6OZUScHT.js +558 -0
- package/lazy/ui-image-BTer2Blj.cjs +1 -0
- package/lazy/ui-image-DrfhaZQK.js +542 -0
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-D30oaock.cjs → casino-play-random-game-BX2tki3v.cjs} +1 -1
- package/stencil/{casino-play-random-game-Dngwb2vm.js → casino-play-random-game-BvFOgOx2.js} +2 -2
- package/stencil/{casino-play-random-game-tgdsOwl2.js → casino-play-random-game-DXUvivEt.js} +2 -2
- package/stencil/{casino-play-random-game_2-Tn3UDu9a.js → casino-play-random-game_2-DLQ8WMsx.js} +2 -2
- package/stencil/{casino-play-random-game_2-Dk4TZrSl.cjs → casino-play-random-game_2-Mc_EMhs0.cjs} +2 -2
- package/stencil/{casino-play-random-game_2-C_Zu_Dzw.js → casino-play-random-game_2-X7gDHQuf.js} +2 -2
- package/stencil/{ui-image-DlaEd78b.js → ui-image-BSbeFMrw.js} +1 -1
- package/stencil/{ui-image-CHZjAM56.js → ui-image-D0QGiLPH.js} +1 -1
- package/stencil/{ui-image-xKPlbdJu.cjs → ui-image-_R7s8yZ5.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-lMEquy74.cjs → ui-image-b7b48fe5-D0uYqQgN.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-D6VFtKxE.js → ui-image-b7b48fe5-DL2Udm8K.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-Cf_GfrWG.js → ui-image-b7b48fe5-Dp3Q6FzO.js} +1 -1
- package/stencil/{ui-image_2-BOGTmm1q.js → ui-image_2-1wLfOSXS.js} +2 -2
- package/stencil/{ui-image_2-DXHHiX9Z.cjs → ui-image_2-CU1S4WDO.cjs} +1 -1
- package/stencil/{ui-image_2-DrhOMyvH.js → ui-image_2-zG8MepJB.js} +2 -2
- package/components/CasinoCalendar-CHXNZ9p4.cjs +0 -19
- package/components/CasinoFilter-CrsiT_rV.cjs +0 -1
- package/components/CasinoGameThumbnailNd-DDRnOxbb.cjs +0 -30
- package/lazy/casino-play-random-game-C6NGMmzO.js +0 -577
- package/lazy/casino-play-random-game-DPYK70ZW.cjs +0 -1
- package/lazy/casino-play-random-game-DdW-VKPu.js +0 -561
- package/lazy/ui-image-BH8BKfG9.cjs +0 -1
- package/lazy/ui-image-BJ0hM1m-.js +0 -542
- package/lazy/ui-image-BXF6Rukh.js +0 -558
package/components/{CasinoMostPlayedSectionNd-Ccj-y9pJ.js → CasinoMostPlayedSectionNd-Dd_xRXHP.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 "../lazy/casino-games-category-section-nd-
|
|
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-CVV5rh8D.js";
|
|
2
|
+
import "../lazy/casino-games-category-section-nd-BUgUwG4O.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
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $ as R, O as ce, a as ve, S as he, i as be, s as pe, f as g,
|
|
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 { $ as R, O as ce, a as ve, S as he, i as be, s as pe, f as g, b as Pe, n as $, d as F, h as G, j as _, k as _e, o as Me, l as we, C as ke, v as ee, w as Fe, E as a, R as A, r as M, p as b, B as C, T as Ge, m as H, A as U, q as B, H as Le, I as Ce, J as Ae, K as Be, L as je } from "./CasinoCalendar-Dvq0s7Wu.js";
|
|
2
|
+
import "../lazy/casino-favorites-section-nd-B0h-6KZs.js";
|
|
3
|
+
import "../lazy/casino-last-played-section-nd-CjK9WO3Y.js";
|
|
4
|
+
import "../lazy/casino-most-played-section-nd-DBUtrDqy.js";
|
|
5
|
+
function Oe({ withLocale: s, translations: e }) {
|
|
6
6
|
R.subscribe((r) => {
|
|
7
7
|
r == null && (ce.set(e), R.set(s));
|
|
8
8
|
});
|
|
@@ -10,7 +10,7 @@ function je({ withLocale: s, translations: e }) {
|
|
|
10
10
|
function ae(s, e) {
|
|
11
11
|
ve(s, e);
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function Ee(s) {
|
|
14
14
|
R.set(s);
|
|
15
15
|
}
|
|
16
16
|
const se = {
|
|
@@ -105,8 +105,8 @@ const se = {
|
|
|
105
105
|
recentlyPlayed: "Last Played"
|
|
106
106
|
}
|
|
107
107
|
};
|
|
108
|
-
function
|
|
109
|
-
|
|
108
|
+
function Se(s) {
|
|
109
|
+
Pe(s, "svelte-kjgz4h", ".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.CasinoMyGames casino-favorites-section-nd{display:none}.CasinoMyGames casino-favorites-section-nd.Active{display:block}.CasinoMyGames casino-most-played-section-nd{display:none}.CasinoMyGames casino-most-played-section-nd.Active{display:block}.CasinoMyGames casino-last-played-section-nd{display:none}.CasinoMyGames casino-last-played-section-nd.Active{display:block}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}");
|
|
110
110
|
}
|
|
111
111
|
function te(s, e, r) {
|
|
112
112
|
const y = s.slice();
|
|
@@ -443,7 +443,7 @@ function qe(s) {
|
|
|
443
443
|
(s[28] ? "Mobile" : ""));
|
|
444
444
|
},
|
|
445
445
|
m(t, n) {
|
|
446
|
-
|
|
446
|
+
G(t, e, n), b(e, r), b(r, y);
|
|
447
447
|
for (let h = 0; h < c.length; h += 1)
|
|
448
448
|
c[h] && c[h].m(y, null);
|
|
449
449
|
b(e, f), b(e, d), b(d, i), b(d, u), b(d, l), b(d, p), b(d, m);
|
|
@@ -458,8 +458,8 @@ function qe(s) {
|
|
|
458
458
|
);
|
|
459
459
|
let h;
|
|
460
460
|
for (h = 0; h < v.length; h += 1) {
|
|
461
|
-
const
|
|
462
|
-
c[h] ? c[h].p(
|
|
461
|
+
const j = te(t, v, h);
|
|
462
|
+
c[h] ? c[h].p(j, n) : (c[h] = oe(j), c[h].c(), c[h].m(y, null));
|
|
463
463
|
}
|
|
464
464
|
for (; h < c.length; h += 1)
|
|
465
465
|
c[h].d(1);
|
|
@@ -848,7 +848,7 @@ function qe(s) {
|
|
|
848
848
|
(t[28] ? "Mobile" : "")) && M(e, "class", P);
|
|
849
849
|
},
|
|
850
850
|
d(t) {
|
|
851
|
-
t &&
|
|
851
|
+
t && F(e), Fe(c, t);
|
|
852
852
|
}
|
|
853
853
|
};
|
|
854
854
|
}
|
|
@@ -867,7 +867,7 @@ function le(s) {
|
|
|
867
867
|
(s[16] == "false" ? "Off" : ""));
|
|
868
868
|
},
|
|
869
869
|
m(v, c) {
|
|
870
|
-
|
|
870
|
+
G(v, e, c), b(e, y), b(e, f), b(e, d), b(d, i), b(d, u), b(d, l), m || (P = U(
|
|
871
871
|
e,
|
|
872
872
|
"click",
|
|
873
873
|
/*click_handler*/
|
|
@@ -888,7 +888,7 @@ function le(s) {
|
|
|
888
888
|
(v[16] == "false" ? "Off" : "")) && M(e, "class", p);
|
|
889
889
|
},
|
|
890
890
|
d(v) {
|
|
891
|
-
v &&
|
|
891
|
+
v && F(e), m = !1, P();
|
|
892
892
|
}
|
|
893
893
|
};
|
|
894
894
|
}
|
|
@@ -904,7 +904,7 @@ function ie(s) {
|
|
|
904
904
|
(s[17] == "false" ? "Off" : ""));
|
|
905
905
|
},
|
|
906
906
|
m(u, l) {
|
|
907
|
-
|
|
907
|
+
G(u, e, l), b(e, y), d || (i = U(
|
|
908
908
|
e,
|
|
909
909
|
"click",
|
|
910
910
|
/*click_handler_1*/
|
|
@@ -920,7 +920,7 @@ function ie(s) {
|
|
|
920
920
|
(u[17] == "false" ? "Off" : "")) && M(e, "class", f);
|
|
921
921
|
},
|
|
922
922
|
d(u) {
|
|
923
|
-
u &&
|
|
923
|
+
u && F(e), d = !1, i();
|
|
924
924
|
}
|
|
925
925
|
};
|
|
926
926
|
}
|
|
@@ -936,7 +936,7 @@ function ne(s) {
|
|
|
936
936
|
(s[18] == "false" ? "Off" : ""));
|
|
937
937
|
},
|
|
938
938
|
m(l, p) {
|
|
939
|
-
|
|
939
|
+
G(l, e, p), b(e, y), b(e, f), i || (u = U(
|
|
940
940
|
e,
|
|
941
941
|
"click",
|
|
942
942
|
/*click_handler_2*/
|
|
@@ -952,7 +952,7 @@ function ne(s) {
|
|
|
952
952
|
(l[18] == "false" ? "Off" : "")) && M(e, "class", d);
|
|
953
953
|
},
|
|
954
954
|
d(l) {
|
|
955
|
-
l &&
|
|
955
|
+
l && F(e), i = !1, u();
|
|
956
956
|
}
|
|
957
957
|
};
|
|
958
958
|
}
|
|
@@ -969,10 +969,10 @@ function oe(s) {
|
|
|
969
969
|
);
|
|
970
970
|
return {
|
|
971
971
|
c() {
|
|
972
|
-
f && f.c(), e = C(), d && d.c(), r = C(), i && i.c(), y =
|
|
972
|
+
f && f.c(), e = C(), d && d.c(), r = C(), i && i.c(), y = Ge();
|
|
973
973
|
},
|
|
974
974
|
m(u, l) {
|
|
975
|
-
f && f.m(u, l),
|
|
975
|
+
f && f.m(u, l), G(u, e, l), d && d.m(u, l), G(u, r, l), i && i.m(u, l), G(u, y, l);
|
|
976
976
|
},
|
|
977
977
|
p(u, l) {
|
|
978
978
|
/*tab*/
|
|
@@ -981,7 +981,7 @@ function oe(s) {
|
|
|
981
981
|
u[43] == "LastPlayed" ? i ? i.p(u, l) : (i = ne(u), i.c(), i.m(y.parentNode, y)) : i && (i.d(1), i = null);
|
|
982
982
|
},
|
|
983
983
|
d(u) {
|
|
984
|
-
u && (
|
|
984
|
+
u && (F(e), F(r), F(y)), f && f.d(u), d && d.d(u), i && i.d(u);
|
|
985
985
|
}
|
|
986
986
|
};
|
|
987
987
|
}
|
|
@@ -1000,7 +1000,7 @@ function Ne(s) {
|
|
|
1000
1000
|
e = _("div"), f && f.c();
|
|
1001
1001
|
},
|
|
1002
1002
|
m(d, i) {
|
|
1003
|
-
|
|
1003
|
+
G(d, e, i), f && f.m(e, null), s[36](e);
|
|
1004
1004
|
},
|
|
1005
1005
|
p(d, i) {
|
|
1006
1006
|
y === (y = r(d)) && f ? f.p(d, i) : (f && f.d(1), f = y && y(d), f && (f.c(), f.m(e, null)));
|
|
@@ -1008,15 +1008,15 @@ function Ne(s) {
|
|
|
1008
1008
|
i: $,
|
|
1009
1009
|
o: $,
|
|
1010
1010
|
d(d) {
|
|
1011
|
-
d &&
|
|
1011
|
+
d && F(e), f && f.d(), s[36](null);
|
|
1012
1012
|
}
|
|
1013
1013
|
};
|
|
1014
1014
|
}
|
|
1015
1015
|
function Te(s, e, r) {
|
|
1016
1016
|
let y;
|
|
1017
|
-
|
|
1018
|
-
let { userid: f = "" } = e, { session: d = "" } = e, { endpoint: i = "" } = e, { datasource: u = "" } = e, { lang: l = "" } = e, { currency: p = "" } = e, { mbsource: m } = e, { clientstyling: P = "" } = e, { clientstylingurl: v = "" } = e, { livecasino: c = "" } = e, { visiblegames: t = "" } = e, { gamepagemodalurl: n = "" } = e, { showgamename: h = "" } = e, { integratedgameframedesktop:
|
|
1019
|
-
|
|
1017
|
+
_e(s, je, (o) => r(31, y = o));
|
|
1018
|
+
let { userid: f = "" } = e, { session: d = "" } = e, { endpoint: i = "" } = e, { datasource: u = "" } = e, { lang: l = "" } = e, { currency: p = "" } = e, { mbsource: m } = e, { clientstyling: P = "" } = e, { clientstylingurl: v = "" } = e, { livecasino: c = "" } = e, { visiblegames: t = "" } = e, { gamepagemodalurl: n = "" } = e, { showgamename: h = "" } = e, { integratedgameframedesktop: j = "" } = e, { integratedgameframemobile: D = "" } = e, { translationurl: N = "" } = e, { favorites: O = "false" } = e, { mostplayed: E = "false" } = e, { lastplayed: S = "false" } = e, { casinomygames: J = "false" } = e, { lastplayedperiod: K = "Last30Days" } = e, { mostplayedperiod: V = "Last30Days" } = e, { lastplayedorder: Z = "" } = e, { lastplayedlimit: Q = "" } = e, { lastplayedunique: W = "true" } = e, { mostplayedrounds: X = "" } = e, re = window.navigator.userAgent, w, T = "", Y = !1, L = ["", "", ""], I = "0";
|
|
1019
|
+
Oe({ withLocale: "en", translations: {} });
|
|
1020
1020
|
const me = () => {
|
|
1021
1021
|
fetch(N).then((k) => k.json()).then((k) => {
|
|
1022
1022
|
Object.keys(k).forEach((q) => {
|
|
@@ -1032,7 +1032,7 @@ function Te(s, e, r) {
|
|
|
1032
1032
|
const z = (o) => {
|
|
1033
1033
|
T !== o && r(27, T = o);
|
|
1034
1034
|
}, de = () => {
|
|
1035
|
-
r(27, T =
|
|
1035
|
+
r(27, T = O === "true" ? "Favorites" : E === "true" ? "MostPlayed" : S === "true" ? "LastPlayed" : ""), r(29, L[0] = O === "true" ? "Favorites" : "", L), r(29, L[1] = E === "true" ? "MostPlayed" : "", L), r(29, L[2] = S === "true" ? "LastPlayed" : "", L), Ee(l);
|
|
1036
1036
|
}, x = (o) => {
|
|
1037
1037
|
var k, q;
|
|
1038
1038
|
if (o.data)
|
|
@@ -1042,24 +1042,24 @@ function Te(s, e, r) {
|
|
|
1042
1042
|
break;
|
|
1043
1043
|
}
|
|
1044
1044
|
};
|
|
1045
|
-
|
|
1045
|
+
Me(() => (window.addEventListener("message", x, !1), r(28, Y = we(re)), () => {
|
|
1046
1046
|
window.removeEventListener("message", x);
|
|
1047
1047
|
}));
|
|
1048
1048
|
const fe = () => z("Favorites"), ue = () => z("MostPlayed"), ye = () => z("LastPlayed");
|
|
1049
1049
|
function ge(o) {
|
|
1050
|
-
|
|
1050
|
+
ke[o ? "unshift" : "push"](() => {
|
|
1051
1051
|
w = o, r(26, w);
|
|
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, i = o.endpoint), "datasource" in o && r(3, u = o.datasource), "lang" in o && r(4, l = 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, h = o.showgamename), "integratedgameframedesktop" in o && r(13,
|
|
1055
|
+
"userid" in o && r(0, f = o.userid), "session" in o && r(1, d = o.session), "endpoint" in o && r(2, i = o.endpoint), "datasource" in o && r(3, u = o.datasource), "lang" in o && r(4, l = 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, h = o.showgamename), "integratedgameframedesktop" in o && r(13, j = o.integratedgameframedesktop), "integratedgameframemobile" in o && r(14, D = o.integratedgameframemobile), "translationurl" in o && r(15, N = o.translationurl), "favorites" in o && r(16, O = o.favorites), "mostplayed" in o && r(17, E = o.mostplayed), "lastplayed" in o && r(18, S = o.lastplayed), "casinomygames" in o && r(19, J = o.casinomygames), "lastplayedperiod" in o && r(20, K = o.lastplayedperiod), "mostplayedperiod" in o && r(21, V = o.mostplayedperiod), "lastplayedorder" in o && r(22, Z = o.lastplayedorder), "lastplayedlimit" in o && r(23, Q = o.lastplayedlimit), "lastplayedunique" in o && r(24, W = o.lastplayedunique), "mostplayedrounds" in o && r(25, X = o.mostplayedrounds);
|
|
1056
1056
|
}, s.$$.update = () => {
|
|
1057
1057
|
s.$$.dirty[0] & /*endpoint, datasource, lang, favorites, mostplayed, lastplayed*/
|
|
1058
|
-
458780 && i && u && l &&
|
|
1058
|
+
458780 && i && u && l && O && E && S && de(), s.$$.dirty[0] & /*translationurl*/
|
|
1059
1059
|
32768 && N && me(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1060
|
-
67108992 && P && w &&
|
|
1061
|
-
67109120 && v && w &&
|
|
1062
|
-
67108928 && m && w &&
|
|
1060
|
+
67108992 && P && w && Le(w, P), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1061
|
+
67109120 && v && w && Ce(w, v), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1062
|
+
67108928 && m && w && Ae(w, `${m}.Style`);
|
|
1063
1063
|
}, [
|
|
1064
1064
|
f,
|
|
1065
1065
|
d,
|
|
@@ -1074,16 +1074,16 @@ function Te(s, e, r) {
|
|
|
1074
1074
|
t,
|
|
1075
1075
|
n,
|
|
1076
1076
|
h,
|
|
1077
|
-
|
|
1077
|
+
j,
|
|
1078
1078
|
D,
|
|
1079
1079
|
N,
|
|
1080
|
-
|
|
1081
|
-
S,
|
|
1080
|
+
O,
|
|
1082
1081
|
E,
|
|
1082
|
+
S,
|
|
1083
1083
|
J,
|
|
1084
|
+
K,
|
|
1084
1085
|
V,
|
|
1085
1086
|
Z,
|
|
1086
|
-
K,
|
|
1087
1087
|
Q,
|
|
1088
1088
|
W,
|
|
1089
1089
|
X,
|
|
@@ -1136,7 +1136,7 @@ class ze extends he {
|
|
|
1136
1136
|
lastplayedunique: 24,
|
|
1137
1137
|
mostplayedrounds: 25
|
|
1138
1138
|
},
|
|
1139
|
-
|
|
1139
|
+
Se,
|
|
1140
1140
|
[-1, -1]
|
|
1141
1141
|
);
|
|
1142
1142
|
}
|
|
@@ -1297,7 +1297,7 @@ class ze extends he {
|
|
|
1297
1297
|
this.$$set({ mostplayedrounds: e }), g();
|
|
1298
1298
|
}
|
|
1299
1299
|
}
|
|
1300
|
-
|
|
1300
|
+
Be(ze, { 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);
|
|
1301
1301
|
export {
|
|
1302
1302
|
ze as default
|
|
1303
1303
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CHXNZ9p4.cjs");require("../lazy/casino-favorites-section-nd-C28ZVxke.cjs");require("../lazy/casino-last-played-section-nd-BCWYfNv3.cjs");require("../lazy/casino-most-played-section-nd-D8P2yXMJ.cjs");function ae({withLocale:a,translations:t}){e.$locale.subscribe(m=>{m==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function I(a,t){e.addMessages(a,t)}function se(a){e.$locale.set(a)}const R={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};function le(a){e.append_styles(a,"svelte-kjgz4h",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.CasinoMyGames casino-favorites-section-nd{display:none}.CasinoMyGames casino-favorites-section-nd.Active{display:block}.CasinoMyGames casino-most-played-section-nd{display:none}.CasinoMyGames casino-most-played-section-nd.Active{display:block}.CasinoMyGames casino-last-played-section-nd{display:none}.CasinoMyGames casino-last-played-section-nd.Active{display:block}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function D(a,t,m){const c=a.slice();return c[43]=t[m],c}function ne(a){let t,m,c,r,_,n,u,l,h,d,p,g=e.ensure_array_like(a[29]),f=[];for(let s=0;s<g.length;s+=1)f[s]=K(D(a,g,s));return{c(){t=e.element("div"),m=e.element("div"),c=e.element("div");for(let s=0;s<f.length;s+=1)f[s].c();r=e.space(),_=e.element("div"),n=e.element("casino-favorites-section-nd"),u=e.space(),l=e.element("casino-most-played-section-nd"),h=e.space(),d=e.element("casino-last-played-section-nd"),e.attr(c,"class","MyGamesButtonsContainer"),e.attr(m,"class","MyGamesHeader"),e.set_custom_element_data(n,"session",a[1]),e.set_custom_element_data(n,"userid",a[0]),e.set_custom_element_data(n,"endpoint",a[2]),e.set_custom_element_data(n,"datasource",a[3]),e.set_custom_element_data(n,"lang",a[4]),e.set_custom_element_data(n,"currency",a[5]),e.set_custom_element_data(n,"favorites",a[16]),e.set_custom_element_data(n,"categoryid","FAVORITES"),e.set_custom_element_data(n,"class","CategoryContainer"),e.set_custom_element_data(n,"showgamename",a[12]),e.set_custom_element_data(n,"clientstyling",a[7]),e.set_custom_element_data(n,"clientstylingurl",a[8]),e.set_custom_element_data(n,"translationurl",a[15]),e.set_custom_element_data(n,"livecasino",a[9]),e.set_custom_element_data(n,"visiblegames",a[10]),e.set_custom_element_data(n,"gamepagemodalurl",a[11]),e.set_custom_element_data(n,"integratedgameframedesktop",a[13]),e.set_custom_element_data(n,"integratedgameframemobile",a[14]),e.set_custom_element_data(n,"casinomygames",a[19]),e.set_custom_element_data(n,"mbsource",a[6]),e.toggle_class(n,"Active",a[27]=="Favorites"),e.set_custom_element_data(l,"endpoint",a[2]),e.set_custom_element_data(l,"datasource",a[3]),e.set_custom_element_data(l,"lang",a[4]),e.set_custom_element_data(l,"currency",a[5]),e.set_custom_element_data(l,"session",a[1]),e.set_custom_element_data(l,"userid",a[0]),e.set_custom_element_data(l,"favorites",a[16]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",a[12]),e.set_custom_element_data(l,"clientstyling",a[7]),e.set_custom_element_data(l,"clientstylingurl",a[8]),e.set_custom_element_data(l,"translationurl",a[15]),e.set_custom_element_data(l,"livecasino",a[9]),e.set_custom_element_data(l,"visiblegames",a[10]),e.set_custom_element_data(l,"gamepagemodalurl",a[11]),e.set_custom_element_data(l,"mostplayedrounds",a[25]),e.set_custom_element_data(l,"integratedgameframedesktop",a[13]),e.set_custom_element_data(l,"integratedgameframemobile",a[14]),e.set_custom_element_data(l,"mostplayedperiod",a[21]),e.set_custom_element_data(l,"casinomygames",a[19]),e.set_custom_element_data(l,"mbsource",a[6]),e.toggle_class(l,"Active",a[27]=="MostPlayed"),e.set_custom_element_data(d,"userid",a[0]),e.set_custom_element_data(d,"endpoint",a[2]),e.set_custom_element_data(d,"datasource",a[3]),e.set_custom_element_data(d,"favorites",a[16]),e.set_custom_element_data(d,"lang",a[4]),e.set_custom_element_data(d,"currency",a[5]),e.set_custom_element_data(d,"session",a[1]),e.set_custom_element_data(d,"class","CategoryContainer"),e.set_custom_element_data(d,"showgamename",a[12]),e.set_custom_element_data(d,"clientstyling",a[7]),e.set_custom_element_data(d,"clientstylingurl",a[8]),e.set_custom_element_data(d,"translationurl",a[15]),e.set_custom_element_data(d,"livecasino",a[9]),e.set_custom_element_data(d,"visiblegames",a[10]),e.set_custom_element_data(d,"lastplayedperiod",a[20]),e.set_custom_element_data(d,"lastplayedorder",a[22]),e.set_custom_element_data(d,"lastplayedlimit",a[23]),e.set_custom_element_data(d,"lastplayedunique",a[24]),e.set_custom_element_data(d,"gamepagemodalurl",a[11]),e.set_custom_element_data(d,"integratedgameframedesktop",a[13]),e.set_custom_element_data(d,"integratedgameframemobile",a[14]),e.set_custom_element_data(d,"casinomygames",a[19]),e.set_custom_element_data(d,"mbsource",a[6]),e.toggle_class(d,"Active",a[27]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(a[28]?"Mobile":""))},m(s,o){e.insert(s,t,o),e.append(t,m),e.append(m,c);for(let y=0;y<f.length;y+=1)f[y]&&f[y].m(c,null);e.append(t,r),e.append(t,_),e.append(_,n),e.append(_,u),e.append(_,l),e.append(_,h),e.append(_,d)},p(s,o){if(o[0]&1745289216|o[1]&3){g=e.ensure_array_like(s[29]);let y;for(y=0;y<g.length;y+=1){const M=D(s,g,y);f[y]?f[y].p(M,o):(f[y]=K(M),f[y].c(),f[y].m(c,null))}for(;y<f.length;y+=1)f[y].d(1);f.length=g.length}o[0]&2&&e.set_custom_element_data(n,"session",s[1]),o[0]&1&&e.set_custom_element_data(n,"userid",s[0]),o[0]&4&&e.set_custom_element_data(n,"endpoint",s[2]),o[0]&8&&e.set_custom_element_data(n,"datasource",s[3]),o[0]&16&&e.set_custom_element_data(n,"lang",s[4]),o[0]&32&&e.set_custom_element_data(n,"currency",s[5]),o[0]&65536&&e.set_custom_element_data(n,"favorites",s[16]),o[0]&4096&&e.set_custom_element_data(n,"showgamename",s[12]),o[0]&128&&e.set_custom_element_data(n,"clientstyling",s[7]),o[0]&256&&e.set_custom_element_data(n,"clientstylingurl",s[8]),o[0]&32768&&e.set_custom_element_data(n,"translationurl",s[15]),o[0]&512&&e.set_custom_element_data(n,"livecasino",s[9]),o[0]&1024&&e.set_custom_element_data(n,"visiblegames",s[10]),o[0]&2048&&e.set_custom_element_data(n,"gamepagemodalurl",s[11]),o[0]&8192&&e.set_custom_element_data(n,"integratedgameframedesktop",s[13]),o[0]&16384&&e.set_custom_element_data(n,"integratedgameframemobile",s[14]),o[0]&524288&&e.set_custom_element_data(n,"casinomygames",s[19]),o[0]&64&&e.set_custom_element_data(n,"mbsource",s[6]),o[0]&134217728&&e.toggle_class(n,"Active",s[27]=="Favorites"),o[0]&4&&e.set_custom_element_data(l,"endpoint",s[2]),o[0]&8&&e.set_custom_element_data(l,"datasource",s[3]),o[0]&16&&e.set_custom_element_data(l,"lang",s[4]),o[0]&32&&e.set_custom_element_data(l,"currency",s[5]),o[0]&2&&e.set_custom_element_data(l,"session",s[1]),o[0]&1&&e.set_custom_element_data(l,"userid",s[0]),o[0]&65536&&e.set_custom_element_data(l,"favorites",s[16]),o[0]&4096&&e.set_custom_element_data(l,"showgamename",s[12]),o[0]&128&&e.set_custom_element_data(l,"clientstyling",s[7]),o[0]&256&&e.set_custom_element_data(l,"clientstylingurl",s[8]),o[0]&32768&&e.set_custom_element_data(l,"translationurl",s[15]),o[0]&512&&e.set_custom_element_data(l,"livecasino",s[9]),o[0]&1024&&e.set_custom_element_data(l,"visiblegames",s[10]),o[0]&2048&&e.set_custom_element_data(l,"gamepagemodalurl",s[11]),o[0]&33554432&&e.set_custom_element_data(l,"mostplayedrounds",s[25]),o[0]&8192&&e.set_custom_element_data(l,"integratedgameframedesktop",s[13]),o[0]&16384&&e.set_custom_element_data(l,"integratedgameframemobile",s[14]),o[0]&2097152&&e.set_custom_element_data(l,"mostplayedperiod",s[21]),o[0]&524288&&e.set_custom_element_data(l,"casinomygames",s[19]),o[0]&64&&e.set_custom_element_data(l,"mbsource",s[6]),o[0]&134217728&&e.toggle_class(l,"Active",s[27]=="MostPlayed"),o[0]&1&&e.set_custom_element_data(d,"userid",s[0]),o[0]&4&&e.set_custom_element_data(d,"endpoint",s[2]),o[0]&8&&e.set_custom_element_data(d,"datasource",s[3]),o[0]&65536&&e.set_custom_element_data(d,"favorites",s[16]),o[0]&16&&e.set_custom_element_data(d,"lang",s[4]),o[0]&32&&e.set_custom_element_data(d,"currency",s[5]),o[0]&2&&e.set_custom_element_data(d,"session",s[1]),o[0]&4096&&e.set_custom_element_data(d,"showgamename",s[12]),o[0]&128&&e.set_custom_element_data(d,"clientstyling",s[7]),o[0]&256&&e.set_custom_element_data(d,"clientstylingurl",s[8]),o[0]&32768&&e.set_custom_element_data(d,"translationurl",s[15]),o[0]&512&&e.set_custom_element_data(d,"livecasino",s[9]),o[0]&1024&&e.set_custom_element_data(d,"visiblegames",s[10]),o[0]&1048576&&e.set_custom_element_data(d,"lastplayedperiod",s[20]),o[0]&4194304&&e.set_custom_element_data(d,"lastplayedorder",s[22]),o[0]&8388608&&e.set_custom_element_data(d,"lastplayedlimit",s[23]),o[0]&16777216&&e.set_custom_element_data(d,"lastplayedunique",s[24]),o[0]&2048&&e.set_custom_element_data(d,"gamepagemodalurl",s[11]),o[0]&8192&&e.set_custom_element_data(d,"integratedgameframedesktop",s[13]),o[0]&16384&&e.set_custom_element_data(d,"integratedgameframemobile",s[14]),o[0]&524288&&e.set_custom_element_data(d,"casinomygames",s[19]),o[0]&64&&e.set_custom_element_data(d,"mbsource",s[6]),o[0]&134217728&&e.toggle_class(d,"Active",s[27]=="LastPlayed"),o[0]&268435456&&p!==(p="CasinoMyGames "+(s[28]?"Mobile":""))&&e.attr(t,"class",p)},d(s){s&&e.detach(t),e.destroy_each(f,s)}}}function J(a){let t,m=a[31]("favorites")+"",c,r,_,n,u,l,h,d,p;return{c(){t=e.element("button"),c=e.text(m),r=e.space(),_=e.element("span"),n=e.text("("),u=e.text(a[30]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(a[27]=="Favorites"?"Active":"")+" "+(a[16]=="false"?"Off":""))},m(g,f){e.insert(g,t,f),e.append(t,c),e.append(t,r),e.append(t,_),e.append(_,n),e.append(_,u),e.append(_,l),d||(p=e.listen(t,"click",a[33]),d=!0)},p(g,f){f[1]&1&&m!==(m=g[31]("favorites")+"")&&e.set_data(c,m),f[0]&1073741824&&e.set_data(u,g[30]),f[0]&134283264&&h!==(h="MyGamesButton "+(g[27]=="Favorites"?"Active":"")+" "+(g[16]=="false"?"Off":""))&&e.attr(t,"class",h)},d(g){g&&e.detach(t),d=!1,p()}}}function V(a){let t,m=a[31]("mostPlayed")+"",c,r,_,n;return{c(){t=e.element("button"),c=e.text(m),e.attr(t,"class",r="MyGamesButton "+(a[27]=="MostPlayed"?"Active":"")+" "+(a[17]=="false"?"Off":""))},m(u,l){e.insert(u,t,l),e.append(t,c),_||(n=e.listen(t,"click",a[34]),_=!0)},p(u,l){l[1]&1&&m!==(m=u[31]("mostPlayed")+"")&&e.set_data(c,m),l[0]&134348800&&r!==(r="MyGamesButton "+(u[27]=="MostPlayed"?"Active":"")+" "+(u[17]=="false"?"Off":""))&&e.attr(t,"class",r)},d(u){u&&e.detach(t),_=!1,n()}}}function Z(a){let t,m=a[31]("recentlyPlayed")+"",c,r,_,n,u;return{c(){t=e.element("button"),c=e.text(m),r=e.space(),e.attr(t,"class",_="MyGamesButton "+(a[27]=="LastPlayed"?"Active":"")+" "+(a[18]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,c),e.append(t,r),n||(u=e.listen(t,"click",a[35]),n=!0)},p(l,h){h[1]&1&&m!==(m=l[31]("recentlyPlayed")+"")&&e.set_data(c,m),h[0]&134479872&&_!==(_="MyGamesButton "+(l[27]=="LastPlayed"?"Active":"")+" "+(l[18]=="false"?"Off":""))&&e.attr(t,"class",_)},d(l){l&&e.detach(t),n=!1,u()}}}function K(a){let t,m,c,r=a[43]=="Favorites"&&J(a),_=a[43]=="MostPlayed"&&V(a),n=a[43]=="LastPlayed"&&Z(a);return{c(){r&&r.c(),t=e.space(),_&&_.c(),m=e.space(),n&&n.c(),c=e.empty()},m(u,l){r&&r.m(u,l),e.insert(u,t,l),_&&_.m(u,l),e.insert(u,m,l),n&&n.m(u,l),e.insert(u,c,l)},p(u,l){u[43]=="Favorites"?r?r.p(u,l):(r=J(u),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),u[43]=="MostPlayed"?_?_.p(u,l):(_=V(u),_.c(),_.m(m.parentNode,m)):_&&(_.d(1),_=null),u[43]=="LastPlayed"?n?n.p(u,l):(n=Z(u),n.c(),n.m(c.parentNode,c)):n&&(n.d(1),n=null)},d(u){u&&(e.detach(t),e.detach(m),e.detach(c)),r&&r.d(u),_&&_.d(u),n&&n.d(u)}}}function oe(a){let t;function m(_,n){if(_[19])return ne}let c=m(a),r=c&&c(a);return{c(){t=e.element("div"),r&&r.c()},m(_,n){e.insert(_,t,n),r&&r.m(t,null),a[36](t)},p(_,n){c===(c=m(_))&&r?r.p(_,n):(r&&r.d(1),r=c&&c(_),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(_){_&&e.detach(t),r&&r.d(),a[36](null)}}}function ie(a,t,m){let c;e.component_subscribe(a,e.$format,i=>m(31,c=i));let{userid:r=""}=t,{session:_=""}=t,{endpoint:n=""}=t,{datasource:u=""}=t,{lang:l=""}=t,{currency:h=""}=t,{mbsource:d}=t,{clientstyling:p=""}=t,{clientstylingurl:g=""}=t,{livecasino:f=""}=t,{visiblegames:s=""}=t,{gamepagemodalurl:o=""}=t,{showgamename:y=""}=t,{integratedgameframedesktop:M=""}=t,{integratedgameframemobile:j=""}=t,{translationurl:L=""}=t,{favorites:w="false"}=t,{mostplayed:k="false"}=t,{lastplayed:F="false"}=t,{casinomygames:O="false"}=t,{lastplayedperiod:q="Last30Days"}=t,{mostplayedperiod:S="Last30Days"}=t,{lastplayedorder:E=""}=t,{lastplayedlimit:N=""}=t,{lastplayedunique:T="true"}=t,{mostplayedrounds:z=""}=t,W=window.navigator.userAgent,v,C="",H=!1,P=["","",""],B="0";ae({withLocale:"en",translations:{}});const X=()=>{fetch(L).then(b=>b.json()).then(b=>{Object.keys(b).forEach(G=>{I(G,b[G])})}).catch(b=>{console.log(b)})};Object.keys(R).forEach(i=>{I(i,R[i])});const A=i=>{C!==i&&m(27,C=i)},Y=()=>{m(27,C=w==="true"?"Favorites":k==="true"?"MostPlayed":F==="true"?"LastPlayed":""),m(29,P[0]=w==="true"?"Favorites":"",P),m(29,P[1]=k==="true"?"MostPlayed":"",P),m(29,P[2]=F==="true"?"LastPlayed":"",P),se(l)},U=i=>{var b,G;if(i.data)switch(i.data.type){case"UpdateFavoritesCount":i.data.favoriteGamesLength!==void 0?m(30,B=i.data.favoriteGamesLength):m(30,B=(G=(b=i.data.listOfFavoritesGames)==null?void 0:b.length)!=null?G:0);break}};e.onMount(()=>(window.addEventListener("message",U,!1),m(28,H=e.isMobile(W)),()=>{window.removeEventListener("message",U)}));const x=()=>A("Favorites"),$=()=>A("MostPlayed"),ee=()=>A("LastPlayed");function te(i){e.binding_callbacks[i?"unshift":"push"](()=>{v=i,m(26,v)})}return a.$$set=i=>{"userid"in i&&m(0,r=i.userid),"session"in i&&m(1,_=i.session),"endpoint"in i&&m(2,n=i.endpoint),"datasource"in i&&m(3,u=i.datasource),"lang"in i&&m(4,l=i.lang),"currency"in i&&m(5,h=i.currency),"mbsource"in i&&m(6,d=i.mbsource),"clientstyling"in i&&m(7,p=i.clientstyling),"clientstylingurl"in i&&m(8,g=i.clientstylingurl),"livecasino"in i&&m(9,f=i.livecasino),"visiblegames"in i&&m(10,s=i.visiblegames),"gamepagemodalurl"in i&&m(11,o=i.gamepagemodalurl),"showgamename"in i&&m(12,y=i.showgamename),"integratedgameframedesktop"in i&&m(13,M=i.integratedgameframedesktop),"integratedgameframemobile"in i&&m(14,j=i.integratedgameframemobile),"translationurl"in i&&m(15,L=i.translationurl),"favorites"in i&&m(16,w=i.favorites),"mostplayed"in i&&m(17,k=i.mostplayed),"lastplayed"in i&&m(18,F=i.lastplayed),"casinomygames"in i&&m(19,O=i.casinomygames),"lastplayedperiod"in i&&m(20,q=i.lastplayedperiod),"mostplayedperiod"in i&&m(21,S=i.mostplayedperiod),"lastplayedorder"in i&&m(22,E=i.lastplayedorder),"lastplayedlimit"in i&&m(23,N=i.lastplayedlimit),"lastplayedunique"in i&&m(24,T=i.lastplayedunique),"mostplayedrounds"in i&&m(25,z=i.mostplayedrounds)},a.$$.update=()=>{a.$$.dirty[0]&458780&&n&&u&&l&&w&&k&&F&&Y(),a.$$.dirty[0]&32768&&L&&X(),a.$$.dirty[0]&67108992&&p&&v&&e.setClientStyling(v,p),a.$$.dirty[0]&67109120&&g&&v&&e.setClientStylingURL(v,g),a.$$.dirty[0]&67108928&&d&&v&&e.setStreamStyling(v,`${d}.Style`)},[r,_,n,u,l,h,d,p,g,f,s,o,y,M,j,L,w,k,F,O,q,S,E,N,T,z,v,C,H,P,B,c,A,x,$,ee,te]}class Q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,oe,e.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,visiblegames:10,gamepagemodalurl:11,showgamename:12,integratedgameframedesktop:13,integratedgameframemobile:14,translationurl:15,favorites:16,mostplayed:17,lastplayed:18,casinomygames:19,lastplayedperiod:20,mostplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,lastplayedunique:24,mostplayedrounds:25},le,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[4]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get visiblegames(){return this.$$.ctx[10]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[13]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[14]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[16]}set favorites(t){this.$$set({favorites:t}),e.flush()}get mostplayed(){return this.$$.ctx[17]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[18]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get casinomygames(){return this.$$.ctx[19]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[20]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[25]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}}e.create_custom_element(Q,{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);exports.default=Q;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CMBPy1pJ.cjs");require("../lazy/casino-favorites-section-nd-rZSCGLz9.cjs");require("../lazy/casino-last-played-section-nd-yCd6eEHJ.cjs");require("../lazy/casino-most-played-section-nd-BJW9_1tW.cjs");function ae({withLocale:a,translations:t}){e.$locale.subscribe(m=>{m==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function I(a,t){e.addMessages(a,t)}function se(a){e.$locale.set(a)}const R={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};function le(a){e.append_styles(a,"svelte-kjgz4h",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.CasinoMyGames casino-favorites-section-nd{display:none}.CasinoMyGames casino-favorites-section-nd.Active{display:block}.CasinoMyGames casino-most-played-section-nd{display:none}.CasinoMyGames casino-most-played-section-nd.Active{display:block}.CasinoMyGames casino-last-played-section-nd{display:none}.CasinoMyGames casino-last-played-section-nd.Active{display:block}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function D(a,t,m){const c=a.slice();return c[43]=t[m],c}function ne(a){let t,m,c,r,_,n,u,l,h,d,p,g=e.ensure_array_like(a[29]),f=[];for(let s=0;s<g.length;s+=1)f[s]=K(D(a,g,s));return{c(){t=e.element("div"),m=e.element("div"),c=e.element("div");for(let s=0;s<f.length;s+=1)f[s].c();r=e.space(),_=e.element("div"),n=e.element("casino-favorites-section-nd"),u=e.space(),l=e.element("casino-most-played-section-nd"),h=e.space(),d=e.element("casino-last-played-section-nd"),e.attr(c,"class","MyGamesButtonsContainer"),e.attr(m,"class","MyGamesHeader"),e.set_custom_element_data(n,"session",a[1]),e.set_custom_element_data(n,"userid",a[0]),e.set_custom_element_data(n,"endpoint",a[2]),e.set_custom_element_data(n,"datasource",a[3]),e.set_custom_element_data(n,"lang",a[4]),e.set_custom_element_data(n,"currency",a[5]),e.set_custom_element_data(n,"favorites",a[16]),e.set_custom_element_data(n,"categoryid","FAVORITES"),e.set_custom_element_data(n,"class","CategoryContainer"),e.set_custom_element_data(n,"showgamename",a[12]),e.set_custom_element_data(n,"clientstyling",a[7]),e.set_custom_element_data(n,"clientstylingurl",a[8]),e.set_custom_element_data(n,"translationurl",a[15]),e.set_custom_element_data(n,"livecasino",a[9]),e.set_custom_element_data(n,"visiblegames",a[10]),e.set_custom_element_data(n,"gamepagemodalurl",a[11]),e.set_custom_element_data(n,"integratedgameframedesktop",a[13]),e.set_custom_element_data(n,"integratedgameframemobile",a[14]),e.set_custom_element_data(n,"casinomygames",a[19]),e.set_custom_element_data(n,"mbsource",a[6]),e.toggle_class(n,"Active",a[27]=="Favorites"),e.set_custom_element_data(l,"endpoint",a[2]),e.set_custom_element_data(l,"datasource",a[3]),e.set_custom_element_data(l,"lang",a[4]),e.set_custom_element_data(l,"currency",a[5]),e.set_custom_element_data(l,"session",a[1]),e.set_custom_element_data(l,"userid",a[0]),e.set_custom_element_data(l,"favorites",a[16]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",a[12]),e.set_custom_element_data(l,"clientstyling",a[7]),e.set_custom_element_data(l,"clientstylingurl",a[8]),e.set_custom_element_data(l,"translationurl",a[15]),e.set_custom_element_data(l,"livecasino",a[9]),e.set_custom_element_data(l,"visiblegames",a[10]),e.set_custom_element_data(l,"gamepagemodalurl",a[11]),e.set_custom_element_data(l,"mostplayedrounds",a[25]),e.set_custom_element_data(l,"integratedgameframedesktop",a[13]),e.set_custom_element_data(l,"integratedgameframemobile",a[14]),e.set_custom_element_data(l,"mostplayedperiod",a[21]),e.set_custom_element_data(l,"casinomygames",a[19]),e.set_custom_element_data(l,"mbsource",a[6]),e.toggle_class(l,"Active",a[27]=="MostPlayed"),e.set_custom_element_data(d,"userid",a[0]),e.set_custom_element_data(d,"endpoint",a[2]),e.set_custom_element_data(d,"datasource",a[3]),e.set_custom_element_data(d,"favorites",a[16]),e.set_custom_element_data(d,"lang",a[4]),e.set_custom_element_data(d,"currency",a[5]),e.set_custom_element_data(d,"session",a[1]),e.set_custom_element_data(d,"class","CategoryContainer"),e.set_custom_element_data(d,"showgamename",a[12]),e.set_custom_element_data(d,"clientstyling",a[7]),e.set_custom_element_data(d,"clientstylingurl",a[8]),e.set_custom_element_data(d,"translationurl",a[15]),e.set_custom_element_data(d,"livecasino",a[9]),e.set_custom_element_data(d,"visiblegames",a[10]),e.set_custom_element_data(d,"lastplayedperiod",a[20]),e.set_custom_element_data(d,"lastplayedorder",a[22]),e.set_custom_element_data(d,"lastplayedlimit",a[23]),e.set_custom_element_data(d,"lastplayedunique",a[24]),e.set_custom_element_data(d,"gamepagemodalurl",a[11]),e.set_custom_element_data(d,"integratedgameframedesktop",a[13]),e.set_custom_element_data(d,"integratedgameframemobile",a[14]),e.set_custom_element_data(d,"casinomygames",a[19]),e.set_custom_element_data(d,"mbsource",a[6]),e.toggle_class(d,"Active",a[27]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(a[28]?"Mobile":""))},m(s,o){e.insert(s,t,o),e.append(t,m),e.append(m,c);for(let y=0;y<f.length;y+=1)f[y]&&f[y].m(c,null);e.append(t,r),e.append(t,_),e.append(_,n),e.append(_,u),e.append(_,l),e.append(_,h),e.append(_,d)},p(s,o){if(o[0]&1745289216|o[1]&3){g=e.ensure_array_like(s[29]);let y;for(y=0;y<g.length;y+=1){const M=D(s,g,y);f[y]?f[y].p(M,o):(f[y]=K(M),f[y].c(),f[y].m(c,null))}for(;y<f.length;y+=1)f[y].d(1);f.length=g.length}o[0]&2&&e.set_custom_element_data(n,"session",s[1]),o[0]&1&&e.set_custom_element_data(n,"userid",s[0]),o[0]&4&&e.set_custom_element_data(n,"endpoint",s[2]),o[0]&8&&e.set_custom_element_data(n,"datasource",s[3]),o[0]&16&&e.set_custom_element_data(n,"lang",s[4]),o[0]&32&&e.set_custom_element_data(n,"currency",s[5]),o[0]&65536&&e.set_custom_element_data(n,"favorites",s[16]),o[0]&4096&&e.set_custom_element_data(n,"showgamename",s[12]),o[0]&128&&e.set_custom_element_data(n,"clientstyling",s[7]),o[0]&256&&e.set_custom_element_data(n,"clientstylingurl",s[8]),o[0]&32768&&e.set_custom_element_data(n,"translationurl",s[15]),o[0]&512&&e.set_custom_element_data(n,"livecasino",s[9]),o[0]&1024&&e.set_custom_element_data(n,"visiblegames",s[10]),o[0]&2048&&e.set_custom_element_data(n,"gamepagemodalurl",s[11]),o[0]&8192&&e.set_custom_element_data(n,"integratedgameframedesktop",s[13]),o[0]&16384&&e.set_custom_element_data(n,"integratedgameframemobile",s[14]),o[0]&524288&&e.set_custom_element_data(n,"casinomygames",s[19]),o[0]&64&&e.set_custom_element_data(n,"mbsource",s[6]),o[0]&134217728&&e.toggle_class(n,"Active",s[27]=="Favorites"),o[0]&4&&e.set_custom_element_data(l,"endpoint",s[2]),o[0]&8&&e.set_custom_element_data(l,"datasource",s[3]),o[0]&16&&e.set_custom_element_data(l,"lang",s[4]),o[0]&32&&e.set_custom_element_data(l,"currency",s[5]),o[0]&2&&e.set_custom_element_data(l,"session",s[1]),o[0]&1&&e.set_custom_element_data(l,"userid",s[0]),o[0]&65536&&e.set_custom_element_data(l,"favorites",s[16]),o[0]&4096&&e.set_custom_element_data(l,"showgamename",s[12]),o[0]&128&&e.set_custom_element_data(l,"clientstyling",s[7]),o[0]&256&&e.set_custom_element_data(l,"clientstylingurl",s[8]),o[0]&32768&&e.set_custom_element_data(l,"translationurl",s[15]),o[0]&512&&e.set_custom_element_data(l,"livecasino",s[9]),o[0]&1024&&e.set_custom_element_data(l,"visiblegames",s[10]),o[0]&2048&&e.set_custom_element_data(l,"gamepagemodalurl",s[11]),o[0]&33554432&&e.set_custom_element_data(l,"mostplayedrounds",s[25]),o[0]&8192&&e.set_custom_element_data(l,"integratedgameframedesktop",s[13]),o[0]&16384&&e.set_custom_element_data(l,"integratedgameframemobile",s[14]),o[0]&2097152&&e.set_custom_element_data(l,"mostplayedperiod",s[21]),o[0]&524288&&e.set_custom_element_data(l,"casinomygames",s[19]),o[0]&64&&e.set_custom_element_data(l,"mbsource",s[6]),o[0]&134217728&&e.toggle_class(l,"Active",s[27]=="MostPlayed"),o[0]&1&&e.set_custom_element_data(d,"userid",s[0]),o[0]&4&&e.set_custom_element_data(d,"endpoint",s[2]),o[0]&8&&e.set_custom_element_data(d,"datasource",s[3]),o[0]&65536&&e.set_custom_element_data(d,"favorites",s[16]),o[0]&16&&e.set_custom_element_data(d,"lang",s[4]),o[0]&32&&e.set_custom_element_data(d,"currency",s[5]),o[0]&2&&e.set_custom_element_data(d,"session",s[1]),o[0]&4096&&e.set_custom_element_data(d,"showgamename",s[12]),o[0]&128&&e.set_custom_element_data(d,"clientstyling",s[7]),o[0]&256&&e.set_custom_element_data(d,"clientstylingurl",s[8]),o[0]&32768&&e.set_custom_element_data(d,"translationurl",s[15]),o[0]&512&&e.set_custom_element_data(d,"livecasino",s[9]),o[0]&1024&&e.set_custom_element_data(d,"visiblegames",s[10]),o[0]&1048576&&e.set_custom_element_data(d,"lastplayedperiod",s[20]),o[0]&4194304&&e.set_custom_element_data(d,"lastplayedorder",s[22]),o[0]&8388608&&e.set_custom_element_data(d,"lastplayedlimit",s[23]),o[0]&16777216&&e.set_custom_element_data(d,"lastplayedunique",s[24]),o[0]&2048&&e.set_custom_element_data(d,"gamepagemodalurl",s[11]),o[0]&8192&&e.set_custom_element_data(d,"integratedgameframedesktop",s[13]),o[0]&16384&&e.set_custom_element_data(d,"integratedgameframemobile",s[14]),o[0]&524288&&e.set_custom_element_data(d,"casinomygames",s[19]),o[0]&64&&e.set_custom_element_data(d,"mbsource",s[6]),o[0]&134217728&&e.toggle_class(d,"Active",s[27]=="LastPlayed"),o[0]&268435456&&p!==(p="CasinoMyGames "+(s[28]?"Mobile":""))&&e.attr(t,"class",p)},d(s){s&&e.detach(t),e.destroy_each(f,s)}}}function J(a){let t,m=a[31]("favorites")+"",c,r,_,n,u,l,h,d,p;return{c(){t=e.element("button"),c=e.text(m),r=e.space(),_=e.element("span"),n=e.text("("),u=e.text(a[30]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(a[27]=="Favorites"?"Active":"")+" "+(a[16]=="false"?"Off":""))},m(g,f){e.insert(g,t,f),e.append(t,c),e.append(t,r),e.append(t,_),e.append(_,n),e.append(_,u),e.append(_,l),d||(p=e.listen(t,"click",a[33]),d=!0)},p(g,f){f[1]&1&&m!==(m=g[31]("favorites")+"")&&e.set_data(c,m),f[0]&1073741824&&e.set_data(u,g[30]),f[0]&134283264&&h!==(h="MyGamesButton "+(g[27]=="Favorites"?"Active":"")+" "+(g[16]=="false"?"Off":""))&&e.attr(t,"class",h)},d(g){g&&e.detach(t),d=!1,p()}}}function V(a){let t,m=a[31]("mostPlayed")+"",c,r,_,n;return{c(){t=e.element("button"),c=e.text(m),e.attr(t,"class",r="MyGamesButton "+(a[27]=="MostPlayed"?"Active":"")+" "+(a[17]=="false"?"Off":""))},m(u,l){e.insert(u,t,l),e.append(t,c),_||(n=e.listen(t,"click",a[34]),_=!0)},p(u,l){l[1]&1&&m!==(m=u[31]("mostPlayed")+"")&&e.set_data(c,m),l[0]&134348800&&r!==(r="MyGamesButton "+(u[27]=="MostPlayed"?"Active":"")+" "+(u[17]=="false"?"Off":""))&&e.attr(t,"class",r)},d(u){u&&e.detach(t),_=!1,n()}}}function Z(a){let t,m=a[31]("recentlyPlayed")+"",c,r,_,n,u;return{c(){t=e.element("button"),c=e.text(m),r=e.space(),e.attr(t,"class",_="MyGamesButton "+(a[27]=="LastPlayed"?"Active":"")+" "+(a[18]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,c),e.append(t,r),n||(u=e.listen(t,"click",a[35]),n=!0)},p(l,h){h[1]&1&&m!==(m=l[31]("recentlyPlayed")+"")&&e.set_data(c,m),h[0]&134479872&&_!==(_="MyGamesButton "+(l[27]=="LastPlayed"?"Active":"")+" "+(l[18]=="false"?"Off":""))&&e.attr(t,"class",_)},d(l){l&&e.detach(t),n=!1,u()}}}function K(a){let t,m,c,r=a[43]=="Favorites"&&J(a),_=a[43]=="MostPlayed"&&V(a),n=a[43]=="LastPlayed"&&Z(a);return{c(){r&&r.c(),t=e.space(),_&&_.c(),m=e.space(),n&&n.c(),c=e.empty()},m(u,l){r&&r.m(u,l),e.insert(u,t,l),_&&_.m(u,l),e.insert(u,m,l),n&&n.m(u,l),e.insert(u,c,l)},p(u,l){u[43]=="Favorites"?r?r.p(u,l):(r=J(u),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),u[43]=="MostPlayed"?_?_.p(u,l):(_=V(u),_.c(),_.m(m.parentNode,m)):_&&(_.d(1),_=null),u[43]=="LastPlayed"?n?n.p(u,l):(n=Z(u),n.c(),n.m(c.parentNode,c)):n&&(n.d(1),n=null)},d(u){u&&(e.detach(t),e.detach(m),e.detach(c)),r&&r.d(u),_&&_.d(u),n&&n.d(u)}}}function oe(a){let t;function m(_,n){if(_[19])return ne}let c=m(a),r=c&&c(a);return{c(){t=e.element("div"),r&&r.c()},m(_,n){e.insert(_,t,n),r&&r.m(t,null),a[36](t)},p(_,n){c===(c=m(_))&&r?r.p(_,n):(r&&r.d(1),r=c&&c(_),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(_){_&&e.detach(t),r&&r.d(),a[36](null)}}}function ie(a,t,m){let c;e.component_subscribe(a,e.$format,i=>m(31,c=i));let{userid:r=""}=t,{session:_=""}=t,{endpoint:n=""}=t,{datasource:u=""}=t,{lang:l=""}=t,{currency:h=""}=t,{mbsource:d}=t,{clientstyling:p=""}=t,{clientstylingurl:g=""}=t,{livecasino:f=""}=t,{visiblegames:s=""}=t,{gamepagemodalurl:o=""}=t,{showgamename:y=""}=t,{integratedgameframedesktop:M=""}=t,{integratedgameframemobile:j=""}=t,{translationurl:L=""}=t,{favorites:w="false"}=t,{mostplayed:k="false"}=t,{lastplayed:F="false"}=t,{casinomygames:O="false"}=t,{lastplayedperiod:q="Last30Days"}=t,{mostplayedperiod:S="Last30Days"}=t,{lastplayedorder:E=""}=t,{lastplayedlimit:N=""}=t,{lastplayedunique:T="true"}=t,{mostplayedrounds:z=""}=t,W=window.navigator.userAgent,v,C="",H=!1,P=["","",""],B="0";ae({withLocale:"en",translations:{}});const X=()=>{fetch(L).then(b=>b.json()).then(b=>{Object.keys(b).forEach(G=>{I(G,b[G])})}).catch(b=>{console.log(b)})};Object.keys(R).forEach(i=>{I(i,R[i])});const A=i=>{C!==i&&m(27,C=i)},Y=()=>{m(27,C=w==="true"?"Favorites":k==="true"?"MostPlayed":F==="true"?"LastPlayed":""),m(29,P[0]=w==="true"?"Favorites":"",P),m(29,P[1]=k==="true"?"MostPlayed":"",P),m(29,P[2]=F==="true"?"LastPlayed":"",P),se(l)},U=i=>{var b,G;if(i.data)switch(i.data.type){case"UpdateFavoritesCount":i.data.favoriteGamesLength!==void 0?m(30,B=i.data.favoriteGamesLength):m(30,B=(G=(b=i.data.listOfFavoritesGames)==null?void 0:b.length)!=null?G:0);break}};e.onMount(()=>(window.addEventListener("message",U,!1),m(28,H=e.isMobile(W)),()=>{window.removeEventListener("message",U)}));const x=()=>A("Favorites"),$=()=>A("MostPlayed"),ee=()=>A("LastPlayed");function te(i){e.binding_callbacks[i?"unshift":"push"](()=>{v=i,m(26,v)})}return a.$$set=i=>{"userid"in i&&m(0,r=i.userid),"session"in i&&m(1,_=i.session),"endpoint"in i&&m(2,n=i.endpoint),"datasource"in i&&m(3,u=i.datasource),"lang"in i&&m(4,l=i.lang),"currency"in i&&m(5,h=i.currency),"mbsource"in i&&m(6,d=i.mbsource),"clientstyling"in i&&m(7,p=i.clientstyling),"clientstylingurl"in i&&m(8,g=i.clientstylingurl),"livecasino"in i&&m(9,f=i.livecasino),"visiblegames"in i&&m(10,s=i.visiblegames),"gamepagemodalurl"in i&&m(11,o=i.gamepagemodalurl),"showgamename"in i&&m(12,y=i.showgamename),"integratedgameframedesktop"in i&&m(13,M=i.integratedgameframedesktop),"integratedgameframemobile"in i&&m(14,j=i.integratedgameframemobile),"translationurl"in i&&m(15,L=i.translationurl),"favorites"in i&&m(16,w=i.favorites),"mostplayed"in i&&m(17,k=i.mostplayed),"lastplayed"in i&&m(18,F=i.lastplayed),"casinomygames"in i&&m(19,O=i.casinomygames),"lastplayedperiod"in i&&m(20,q=i.lastplayedperiod),"mostplayedperiod"in i&&m(21,S=i.mostplayedperiod),"lastplayedorder"in i&&m(22,E=i.lastplayedorder),"lastplayedlimit"in i&&m(23,N=i.lastplayedlimit),"lastplayedunique"in i&&m(24,T=i.lastplayedunique),"mostplayedrounds"in i&&m(25,z=i.mostplayedrounds)},a.$$.update=()=>{a.$$.dirty[0]&458780&&n&&u&&l&&w&&k&&F&&Y(),a.$$.dirty[0]&32768&&L&&X(),a.$$.dirty[0]&67108992&&p&&v&&e.setClientStyling(v,p),a.$$.dirty[0]&67109120&&g&&v&&e.setClientStylingURL(v,g),a.$$.dirty[0]&67108928&&d&&v&&e.setStreamStyling(v,`${d}.Style`)},[r,_,n,u,l,h,d,p,g,f,s,o,y,M,j,L,w,k,F,O,q,S,E,N,T,z,v,C,H,P,B,c,A,x,$,ee,te]}class Q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,oe,e.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,visiblegames:10,gamepagemodalurl:11,showgamename:12,integratedgameframedesktop:13,integratedgameframemobile:14,translationurl:15,favorites:16,mostplayed:17,lastplayed:18,casinomygames:19,lastplayedperiod:20,mostplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,lastplayedunique:24,mostplayedrounds:25},le,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[4]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get visiblegames(){return this.$$.ctx[10]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[13]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[14]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[16]}set favorites(t){this.$$set({favorites:t}),e.flush()}get mostplayed(){return this.$$.ctx[17]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[18]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get casinomygames(){return this.$$.ctx[19]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[20]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[25]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}}e.create_custom_element(Q,{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);exports.default=Q;
|