@everymatrix/casino-my-games-nd 1.86.27 → 1.86.29
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/{CasinoFavoritesSectionNd-BTSg04SM.js → CasinoFavoritesSectionNd-CSAPku1d.js} +1 -1
- package/components/{CasinoFavoritesSectionNd-K1QVy02P.cjs → CasinoFavoritesSectionNd-QbHGVmxJ.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-CfHIZQff.js → CasinoFavoritesSectionNd-gKLGtkHc.js} +1 -1
- package/components/{CasinoFilter-DeN0g13K.cjs → CasinoFilter-C4dT1ABq.cjs} +1 -1
- package/components/{CasinoFilter-B2EfKS_K.js → CasinoFilter-CyB6v7om.js} +1 -1
- package/components/{CasinoFilter-CBpVpV7k.js → CasinoFilter-DOXcrid8.js} +1 -1
- package/components/{CasinoGameThumbnailNd-CnzxxU6G.js → CasinoGameThumbnailNd-CDG_2Lc8.js} +2 -2
- package/components/{CasinoGameThumbnailNd-CKhD5P7A.cjs → CasinoGameThumbnailNd-DLG9VFk9.cjs} +1 -1
- package/components/{CasinoGameThumbnailNd-jkqmWLs6.js → CasinoGameThumbnailNd-ElS6ujWq.js} +2 -2
- package/components/CasinoGamesCategorySectionNd-CzGLQqrN.cjs +1 -0
- package/components/{CasinoGamesCategorySectionNd-qIisPe97.js → CasinoGamesCategorySectionNd-DStTR-Pr.js} +484 -474
- package/components/{CasinoGamesCategorySectionNd-3YEyBU0o.js → CasinoGamesCategorySectionNd-nIDQ8Etn.js} +419 -409
- package/components/CasinoLastPlayedSectionNd-BkSuAsYO.cjs +1 -0
- package/components/{CasinoLastPlayedSectionNd-BcLgB9fJ.js → CasinoLastPlayedSectionNd-CDQzWuVY.js} +78 -76
- package/components/{CasinoLastPlayedSectionNd-DYD2OTFH.js → CasinoLastPlayedSectionNd-Is2mAgsc.js} +78 -76
- package/components/{CasinoMostPlayedSectionNd-B4tOjZ1X.js → CasinoMostPlayedSectionNd-CWJgt72Q.js} +100 -98
- package/components/CasinoMostPlayedSectionNd-Dop7g3Nr.cjs +1 -0
- package/components/{CasinoMostPlayedSectionNd-CVbmSJH0.js → CasinoMostPlayedSectionNd-HHkQ-vg5.js} +100 -98
- package/components/{CasinoMyGamesNd-BCFj3-VN.js → CasinoMyGamesNd-BSd8NF0t.js} +6 -6
- package/components/{CasinoMyGamesNd-DpWJ_amg.cjs → CasinoMyGamesNd-C_leAMck.cjs} +1 -1
- package/components/{CasinoMyGamesNd-BaGirE95.js → CasinoMyGamesNd-Lwax3H_y.js} +6 -6
- package/components/{CasinoSort-wXN98a8Y.js → CasinoSort-BjTVmddt.js} +1 -1
- package/components/{CasinoSort-C3kJ4GUV.js → CasinoSort-BjsoFek1.js} +1 -1
- package/components/{CasinoSort-BG4Sx2jS.cjs → CasinoSort-Cs-Nczkq.cjs} +1 -1
- package/es2015/casino-my-games-nd.cjs +1 -1
- package/es2015/casino-my-games-nd.js +1 -1
- package/esnext/casino-my-games-nd.js +1 -1
- package/package.json +1 -1
- package/components/CasinoGamesCategorySectionNd-OCexIrff.cjs +0 -1
- package/components/CasinoLastPlayedSectionNd-D524pjNX.cjs +0 -1
- package/components/CasinoMostPlayedSectionNd-CEzyxdDZ.cjs +0 -1
package/components/{CasinoMostPlayedSectionNd-CVbmSJH0.js → CasinoMostPlayedSectionNd-HHkQ-vg5.js}
RENAMED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { b as $, $ as ee, S as te, i as se, s as ae, f as
|
|
2
|
-
import { g as he } from "./CasinoFilter-
|
|
3
|
-
|
|
1
|
+
import { b as $, $ as ee, S as te, i as se, s as ae, f as r, c as ne, n as Y, d as T, e as D, q as H, g as P, k as A, h as ie, o as oe, j as re, p as le, w as me, E as n, z as ge, A as ce, B as ue, C as de, D as fe } from "./CasinoFavoritesSectionNd-CSAPku1d.js";
|
|
2
|
+
import { g as he } from "./CasinoFilter-DOXcrid8.js";
|
|
3
|
+
import { g as ye } from "./CasinoGameThumbnailNd-CDG_2Lc8.js";
|
|
4
|
+
function be(a, e) {
|
|
4
5
|
$(a, e);
|
|
5
6
|
}
|
|
6
|
-
function
|
|
7
|
+
function ve(a) {
|
|
7
8
|
ee.set(a);
|
|
8
9
|
}
|
|
9
|
-
const
|
|
10
|
+
const _e = {
|
|
10
11
|
en: {
|
|
11
12
|
noGames: "No games in most played"
|
|
12
13
|
},
|
|
@@ -62,10 +63,10 @@ const H = {
|
|
|
62
63
|
noGames: "No games in most played"
|
|
63
64
|
}
|
|
64
65
|
};
|
|
65
|
-
function
|
|
66
|
+
function we(a) {
|
|
66
67
|
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
68
|
}
|
|
68
|
-
function
|
|
69
|
+
function Ge(a) {
|
|
69
70
|
let e;
|
|
70
71
|
return {
|
|
71
72
|
c() {
|
|
@@ -167,7 +168,7 @@ function ve(a) {
|
|
|
167
168
|
);
|
|
168
169
|
},
|
|
169
170
|
m(s, i) {
|
|
170
|
-
|
|
171
|
+
D(s, e, i);
|
|
171
172
|
},
|
|
172
173
|
p(s, i) {
|
|
173
174
|
i[0] & /*session*/
|
|
@@ -287,161 +288,162 @@ function ve(a) {
|
|
|
287
288
|
);
|
|
288
289
|
},
|
|
289
290
|
d(s) {
|
|
290
|
-
s &&
|
|
291
|
+
s && T(e);
|
|
291
292
|
}
|
|
292
293
|
};
|
|
293
294
|
}
|
|
294
|
-
function
|
|
295
|
+
function ke(a) {
|
|
295
296
|
let e, s = (
|
|
296
297
|
/*$_*/
|
|
297
298
|
a[21]("noGames") + ""
|
|
298
299
|
), i;
|
|
299
300
|
return {
|
|
300
301
|
c() {
|
|
301
|
-
e = P("p"), i = me(s),
|
|
302
|
+
e = P("p"), i = me(s), A(e, "class", "SearchLoading");
|
|
302
303
|
},
|
|
303
|
-
m(m,
|
|
304
|
-
|
|
304
|
+
m(m, l) {
|
|
305
|
+
D(m, e, l), H(e, i);
|
|
305
306
|
},
|
|
306
|
-
p(m,
|
|
307
|
-
|
|
307
|
+
p(m, l) {
|
|
308
|
+
l[0] & /*$_*/
|
|
308
309
|
2097152 && s !== (s = /*$_*/
|
|
309
|
-
m[21]("noGames") + "") &&
|
|
310
|
+
m[21]("noGames") + "") && le(i, s);
|
|
310
311
|
},
|
|
311
312
|
d(m) {
|
|
312
|
-
m &&
|
|
313
|
+
m && T(e);
|
|
313
314
|
}
|
|
314
315
|
};
|
|
315
316
|
}
|
|
316
|
-
function
|
|
317
|
+
function Ne(a) {
|
|
317
318
|
let e, s;
|
|
318
319
|
function i(g, c) {
|
|
319
320
|
return (
|
|
320
321
|
/*mostPlayedEmpty*/
|
|
321
|
-
g[20] ?
|
|
322
|
+
g[20] ? ke : Ge
|
|
322
323
|
);
|
|
323
324
|
}
|
|
324
|
-
let m = i(a),
|
|
325
|
+
let m = i(a), l = m(a);
|
|
325
326
|
return {
|
|
326
327
|
c() {
|
|
327
|
-
e = P("div"), s = P("div"),
|
|
328
|
+
e = P("div"), s = P("div"), l.c(), A(s, "class", "casino-most-played-section"), A(e, "class", "CasinoGamesCategorySectionContainer");
|
|
328
329
|
},
|
|
329
330
|
m(g, c) {
|
|
330
|
-
|
|
331
|
+
D(g, e, c), H(e, s), l.m(s, null), a[24](e);
|
|
331
332
|
},
|
|
332
333
|
p(g, c) {
|
|
333
|
-
m === (m = i(g)) &&
|
|
334
|
+
m === (m = i(g)) && l ? l.p(g, c) : (l.d(1), l = m(g), l && (l.c(), l.m(s, null)));
|
|
334
335
|
},
|
|
335
|
-
i:
|
|
336
|
-
o:
|
|
336
|
+
i: Y,
|
|
337
|
+
o: Y,
|
|
337
338
|
d(g) {
|
|
338
|
-
g &&
|
|
339
|
+
g && T(e), l.d(), a[24](null);
|
|
339
340
|
}
|
|
340
341
|
};
|
|
341
342
|
}
|
|
342
|
-
function
|
|
343
|
+
function Pe(a, e, s) {
|
|
343
344
|
let i;
|
|
344
345
|
ie(a, fe, (t) => s(21, i = t));
|
|
345
|
-
let { endpoint: m = "" } = e, { datasource:
|
|
346
|
-
const
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
346
|
+
let { endpoint: m = "" } = e, { datasource: l = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: E = "" } = e, { userid: _ = "" } = e, { mbsource: h } = e, { clientstyling: w = "" } = e, { clientstylingurl: G = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: O = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: U = "" } = e, { visiblegames: S } = e, { favorites: z = "" } = e, { translationurl: b = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: j = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: q = "true" } = e, K = window.navigator.userAgent, Q;
|
|
347
|
+
const M = (t) => {
|
|
348
|
+
Object.keys(t).forEach((o) => {
|
|
349
|
+
be(o, t[o]);
|
|
350
|
+
});
|
|
351
|
+
}, V = () => {
|
|
352
|
+
fetch(b).then((o) => o.json()).then((o) => {
|
|
353
|
+
M(o);
|
|
351
354
|
}).catch((o) => {
|
|
352
355
|
console.log(o);
|
|
353
356
|
});
|
|
354
357
|
};
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
});
|
|
358
|
-
let N = [], q, I = !1, u;
|
|
358
|
+
M(_e);
|
|
359
|
+
let N = [], B, I = !1, u;
|
|
359
360
|
const W = (t) => {
|
|
360
|
-
let o = new URL(`${m}/v1/player/${
|
|
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",
|
|
362
|
-
let
|
|
363
|
-
return
|
|
364
|
-
fetch(
|
|
365
|
-
|
|
366
|
-
let
|
|
367
|
-
return x.gameCode == "OddsMatrix2" && (
|
|
368
|
-
}), f
|
|
369
|
-
}).catch((
|
|
370
|
-
console.error(
|
|
361
|
+
let o = new URL(`${m}/v1/player/${_}/games/most-played`);
|
|
362
|
+
t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", j);
|
|
363
|
+
let y = t.device;
|
|
364
|
+
return y ? y === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), B = k ? o : o.href, new Promise((d, v) => {
|
|
365
|
+
fetch(B).then((f) => f.json()).then((f) => {
|
|
366
|
+
f.items = f.items.filter((x) => {
|
|
367
|
+
let J = !0;
|
|
368
|
+
return x.gameCode == "OddsMatrix2" && (f.count--, J = !1), J;
|
|
369
|
+
}), d(f);
|
|
370
|
+
}).catch((f) => {
|
|
371
|
+
console.error(f), v(f);
|
|
371
372
|
});
|
|
372
373
|
});
|
|
373
374
|
}, X = () => {
|
|
374
375
|
W({
|
|
375
376
|
limit: 100,
|
|
376
|
-
device: he(
|
|
377
|
+
device: he(K),
|
|
377
378
|
rounds: L
|
|
378
379
|
}).then((t) => {
|
|
379
380
|
if (t.count > 0) {
|
|
380
381
|
let o = [];
|
|
381
|
-
t.items.forEach((
|
|
382
|
-
let
|
|
383
|
-
|
|
384
|
-
}), Promise.all(o).then((
|
|
385
|
-
N =
|
|
382
|
+
t.items.forEach((y) => {
|
|
383
|
+
let d = new URL(`${m}/v1/casino/games/${y.gameId}`);
|
|
384
|
+
d.searchParams.append("datasource", l), k ? o.push(fetch(d.href).then((v) => v.json())) : o.push(fetch(d.href).then((v) => v.json()));
|
|
385
|
+
}), Promise.all(o).then((y) => {
|
|
386
|
+
N = y.filter((d) => !("error" in d)).map((d) => d[0]), C === "true" && (N = N.slice(0, JSON.parse(S))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
|
|
386
387
|
});
|
|
387
388
|
} else
|
|
388
389
|
s(20, I = !0);
|
|
389
390
|
});
|
|
390
391
|
}, Z = () => {
|
|
391
|
-
|
|
392
|
+
ve(c);
|
|
392
393
|
};
|
|
393
394
|
oe(() => () => {
|
|
394
395
|
});
|
|
395
396
|
function p(t) {
|
|
396
|
-
|
|
397
|
+
re[t ? "unshift" : "push"](() => {
|
|
397
398
|
u = t, s(19, u);
|
|
398
399
|
});
|
|
399
400
|
}
|
|
400
401
|
return a.$$set = (t) => {
|
|
401
|
-
"endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1,
|
|
402
|
+
"endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, l = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, E = t.session), "userid" in t && s(5, _ = t.userid), "mbsource" in t && s(6, h = t.mbsource), "clientstyling" in t && s(7, w = t.clientstyling), "clientstylingurl" in t && s(8, G = t.clientstylingurl), "livecasino" in t && s(9, k = t.livecasino), "integratedgameframemobile" in t && s(10, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, O = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, U = t.showgamename), "visiblegames" in t && s(14, S = t.visiblegames), "favorites" in t && s(15, z = t.favorites), "translationurl" in t && s(16, b = t.translationurl), "casinomygames" in t && s(17, C = t.casinomygames), "mostplayedperiod" in t && s(22, j = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(18, q = t.fetchviaevent);
|
|
402
403
|
}, a.$$.update = () => {
|
|
403
404
|
a.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
404
|
-
41 && m &&
|
|
405
|
-
524416 &&
|
|
406
|
-
524544 &&
|
|
407
|
-
524352 &&
|
|
408
|
-
|
|
405
|
+
41 && m && _ && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
406
|
+
524416 && w && u && ge(u, w), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
407
|
+
524544 && G && u && ce(u, G), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
408
|
+
524352 && h && u && ue(u, `${h}.Style`), a.$$.dirty[0] & /*mbsource, translationurl*/
|
|
409
|
+
65600 && h && !b && ye(`${h}.Translation`, Q, M), a.$$.dirty[0] & /*translationurl*/
|
|
410
|
+
65536 && b && V(), a.$$.dirty[0] & /*lang*/
|
|
409
411
|
8 && c && Z();
|
|
410
412
|
}, [
|
|
411
413
|
m,
|
|
412
|
-
|
|
414
|
+
l,
|
|
413
415
|
g,
|
|
414
416
|
c,
|
|
415
|
-
|
|
416
|
-
b,
|
|
417
|
-
v,
|
|
417
|
+
E,
|
|
418
418
|
_,
|
|
419
|
+
h,
|
|
419
420
|
w,
|
|
421
|
+
G,
|
|
420
422
|
k,
|
|
421
423
|
F,
|
|
422
424
|
O,
|
|
423
425
|
R,
|
|
424
|
-
T,
|
|
425
|
-
j,
|
|
426
426
|
U,
|
|
427
|
-
|
|
428
|
-
C,
|
|
427
|
+
S,
|
|
429
428
|
z,
|
|
429
|
+
b,
|
|
430
|
+
C,
|
|
431
|
+
q,
|
|
430
432
|
u,
|
|
431
433
|
I,
|
|
432
434
|
i,
|
|
433
|
-
|
|
435
|
+
j,
|
|
434
436
|
L,
|
|
435
437
|
p
|
|
436
438
|
];
|
|
437
439
|
}
|
|
438
|
-
class
|
|
440
|
+
class Se extends te {
|
|
439
441
|
constructor(e) {
|
|
440
442
|
super(), se(
|
|
441
443
|
this,
|
|
442
444
|
e,
|
|
443
|
-
|
|
444
|
-
|
|
445
|
+
Pe,
|
|
446
|
+
Ne,
|
|
445
447
|
ae,
|
|
446
448
|
{
|
|
447
449
|
endpoint: 0,
|
|
@@ -466,7 +468,7 @@ class Ge extends te {
|
|
|
466
468
|
mostplayedrounds: 23,
|
|
467
469
|
fetchviaevent: 18
|
|
468
470
|
},
|
|
469
|
-
|
|
471
|
+
we,
|
|
470
472
|
[-1, -1]
|
|
471
473
|
);
|
|
472
474
|
}
|
|
@@ -474,130 +476,130 @@ class Ge extends te {
|
|
|
474
476
|
return this.$$.ctx[0];
|
|
475
477
|
}
|
|
476
478
|
set endpoint(e) {
|
|
477
|
-
this.$$set({ endpoint: e }),
|
|
479
|
+
this.$$set({ endpoint: e }), r();
|
|
478
480
|
}
|
|
479
481
|
get datasource() {
|
|
480
482
|
return this.$$.ctx[1];
|
|
481
483
|
}
|
|
482
484
|
set datasource(e) {
|
|
483
|
-
this.$$set({ datasource: e }),
|
|
485
|
+
this.$$set({ datasource: e }), r();
|
|
484
486
|
}
|
|
485
487
|
get currency() {
|
|
486
488
|
return this.$$.ctx[2];
|
|
487
489
|
}
|
|
488
490
|
set currency(e) {
|
|
489
|
-
this.$$set({ currency: e }),
|
|
491
|
+
this.$$set({ currency: e }), r();
|
|
490
492
|
}
|
|
491
493
|
get lang() {
|
|
492
494
|
return this.$$.ctx[3];
|
|
493
495
|
}
|
|
494
496
|
set lang(e) {
|
|
495
|
-
this.$$set({ lang: e }),
|
|
497
|
+
this.$$set({ lang: e }), r();
|
|
496
498
|
}
|
|
497
499
|
get session() {
|
|
498
500
|
return this.$$.ctx[4];
|
|
499
501
|
}
|
|
500
502
|
set session(e) {
|
|
501
|
-
this.$$set({ session: e }),
|
|
503
|
+
this.$$set({ session: e }), r();
|
|
502
504
|
}
|
|
503
505
|
get userid() {
|
|
504
506
|
return this.$$.ctx[5];
|
|
505
507
|
}
|
|
506
508
|
set userid(e) {
|
|
507
|
-
this.$$set({ userid: e }),
|
|
509
|
+
this.$$set({ userid: e }), r();
|
|
508
510
|
}
|
|
509
511
|
get mbsource() {
|
|
510
512
|
return this.$$.ctx[6];
|
|
511
513
|
}
|
|
512
514
|
set mbsource(e) {
|
|
513
|
-
this.$$set({ mbsource: e }),
|
|
515
|
+
this.$$set({ mbsource: e }), r();
|
|
514
516
|
}
|
|
515
517
|
get clientstyling() {
|
|
516
518
|
return this.$$.ctx[7];
|
|
517
519
|
}
|
|
518
520
|
set clientstyling(e) {
|
|
519
|
-
this.$$set({ clientstyling: e }),
|
|
521
|
+
this.$$set({ clientstyling: e }), r();
|
|
520
522
|
}
|
|
521
523
|
get clientstylingurl() {
|
|
522
524
|
return this.$$.ctx[8];
|
|
523
525
|
}
|
|
524
526
|
set clientstylingurl(e) {
|
|
525
|
-
this.$$set({ clientstylingurl: e }),
|
|
527
|
+
this.$$set({ clientstylingurl: e }), r();
|
|
526
528
|
}
|
|
527
529
|
get livecasino() {
|
|
528
530
|
return this.$$.ctx[9];
|
|
529
531
|
}
|
|
530
532
|
set livecasino(e) {
|
|
531
|
-
this.$$set({ livecasino: e }),
|
|
533
|
+
this.$$set({ livecasino: e }), r();
|
|
532
534
|
}
|
|
533
535
|
get integratedgameframemobile() {
|
|
534
536
|
return this.$$.ctx[10];
|
|
535
537
|
}
|
|
536
538
|
set integratedgameframemobile(e) {
|
|
537
|
-
this.$$set({ integratedgameframemobile: e }),
|
|
539
|
+
this.$$set({ integratedgameframemobile: e }), r();
|
|
538
540
|
}
|
|
539
541
|
get integratedgameframedesktop() {
|
|
540
542
|
return this.$$.ctx[11];
|
|
541
543
|
}
|
|
542
544
|
set integratedgameframedesktop(e) {
|
|
543
|
-
this.$$set({ integratedgameframedesktop: e }),
|
|
545
|
+
this.$$set({ integratedgameframedesktop: e }), r();
|
|
544
546
|
}
|
|
545
547
|
get gamepagemodalurl() {
|
|
546
548
|
return this.$$.ctx[12];
|
|
547
549
|
}
|
|
548
550
|
set gamepagemodalurl(e) {
|
|
549
|
-
this.$$set({ gamepagemodalurl: e }),
|
|
551
|
+
this.$$set({ gamepagemodalurl: e }), r();
|
|
550
552
|
}
|
|
551
553
|
get showgamename() {
|
|
552
554
|
return this.$$.ctx[13];
|
|
553
555
|
}
|
|
554
556
|
set showgamename(e) {
|
|
555
|
-
this.$$set({ showgamename: e }),
|
|
557
|
+
this.$$set({ showgamename: e }), r();
|
|
556
558
|
}
|
|
557
559
|
get visiblegames() {
|
|
558
560
|
return this.$$.ctx[14];
|
|
559
561
|
}
|
|
560
562
|
set visiblegames(e) {
|
|
561
|
-
this.$$set({ visiblegames: e }),
|
|
563
|
+
this.$$set({ visiblegames: e }), r();
|
|
562
564
|
}
|
|
563
565
|
get favorites() {
|
|
564
566
|
return this.$$.ctx[15];
|
|
565
567
|
}
|
|
566
568
|
set favorites(e) {
|
|
567
|
-
this.$$set({ favorites: e }),
|
|
569
|
+
this.$$set({ favorites: e }), r();
|
|
568
570
|
}
|
|
569
571
|
get translationurl() {
|
|
570
572
|
return this.$$.ctx[16];
|
|
571
573
|
}
|
|
572
574
|
set translationurl(e) {
|
|
573
|
-
this.$$set({ translationurl: e }),
|
|
575
|
+
this.$$set({ translationurl: e }), r();
|
|
574
576
|
}
|
|
575
577
|
get casinomygames() {
|
|
576
578
|
return this.$$.ctx[17];
|
|
577
579
|
}
|
|
578
580
|
set casinomygames(e) {
|
|
579
|
-
this.$$set({ casinomygames: e }),
|
|
581
|
+
this.$$set({ casinomygames: e }), r();
|
|
580
582
|
}
|
|
581
583
|
get mostplayedperiod() {
|
|
582
584
|
return this.$$.ctx[22];
|
|
583
585
|
}
|
|
584
586
|
set mostplayedperiod(e) {
|
|
585
|
-
this.$$set({ mostplayedperiod: e }),
|
|
587
|
+
this.$$set({ mostplayedperiod: e }), r();
|
|
586
588
|
}
|
|
587
589
|
get mostplayedrounds() {
|
|
588
590
|
return this.$$.ctx[23];
|
|
589
591
|
}
|
|
590
592
|
set mostplayedrounds(e) {
|
|
591
|
-
this.$$set({ mostplayedrounds: e }),
|
|
593
|
+
this.$$set({ mostplayedrounds: e }), r();
|
|
592
594
|
}
|
|
593
595
|
get fetchviaevent() {
|
|
594
596
|
return this.$$.ctx[18];
|
|
595
597
|
}
|
|
596
598
|
set fetchviaevent(e) {
|
|
597
|
-
this.$$set({ fetchviaevent: e }),
|
|
599
|
+
this.$$set({ fetchviaevent: e }), r();
|
|
598
600
|
}
|
|
599
601
|
}
|
|
600
|
-
de(
|
|
602
|
+
de(Se, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
|
|
601
603
|
export {
|
|
602
|
-
|
|
604
|
+
Se as default
|
|
603
605
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as U, a as ge, b as ce, C as he, S as ve, i as be, s as pe, f as g, c as Pe, n as $, d as F, e as G, g as _, h as _e, o as Me, j as we, l as ee, m as ke, E as t, F as E, k as M, q as b, v as L, G as Fe, p as T, t as I, w as A, D as Ge, z as Ce, A as Le, B as Ee } from "./CasinoFavoritesSectionNd-
|
|
2
|
-
import { i as Ae } from "./CasinoFilter-
|
|
3
|
-
import { g as Be } from "./CasinoGameThumbnailNd-
|
|
1
|
+
import { $ as U, a as ge, b as ce, C as he, S as ve, i as be, s as pe, f as g, c as Pe, n as $, d as F, e as G, g as _, h as _e, o as Me, j as we, l as ee, m as ke, E as t, F as E, k as M, q as b, v as L, G as Fe, p as T, t as I, w as A, D as Ge, z as Ce, A as Le, B as Ee } from "./CasinoFavoritesSectionNd-CSAPku1d.js";
|
|
2
|
+
import { i as Ae } from "./CasinoFilter-DOXcrid8.js";
|
|
3
|
+
import { g as Be } from "./CasinoGameThumbnailNd-CDG_2Lc8.js";
|
|
4
4
|
function Oe({ withLocale: a, translations: e }) {
|
|
5
5
|
U.subscribe((n) => {
|
|
6
6
|
n == null && (ge.set(e), U.set(a));
|
|
@@ -116,7 +116,7 @@ if (typeof window < "u") {
|
|
|
116
116
|
}
|
|
117
117
|
};
|
|
118
118
|
};
|
|
119
|
-
customElements.define = a(customElements.define), import("./CasinoFavoritesSectionNd-
|
|
119
|
+
customElements.define = a(customElements.define), import("./CasinoFavoritesSectionNd-CSAPku1d.js").then((e) => e.N).then(({ default: e }) => {
|
|
120
120
|
!customElements.get("casino-favorites-section-nd") && customElements.define("casino-favorites-section-nd", e.element);
|
|
121
121
|
});
|
|
122
122
|
}
|
|
@@ -132,7 +132,7 @@ if (typeof window < "u") {
|
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
};
|
|
135
|
-
customElements.define = a(customElements.define), import("./CasinoLastPlayedSectionNd-
|
|
135
|
+
customElements.define = a(customElements.define), import("./CasinoLastPlayedSectionNd-CDQzWuVY.js").then(({ default: e }) => {
|
|
136
136
|
!customElements.get("casino-last-played-section-nd") && customElements.define("casino-last-played-section-nd", e.element);
|
|
137
137
|
});
|
|
138
138
|
}
|
|
@@ -148,7 +148,7 @@ if (typeof window < "u") {
|
|
|
148
148
|
}
|
|
149
149
|
};
|
|
150
150
|
};
|
|
151
|
-
customElements.define = a(customElements.define), import("./CasinoMostPlayedSectionNd-
|
|
151
|
+
customElements.define = a(customElements.define), import("./CasinoMostPlayedSectionNd-HHkQ-vg5.js").then(({ default: e }) => {
|
|
152
152
|
!customElements.get("casino-most-played-section-nd") && customElements.define("casino-most-played-section-nd", e.element);
|
|
153
153
|
});
|
|
154
154
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoFavoritesSectionNd-K1QVy02P.cjs"),se=require("./CasinoFilter-DeN0g13K.cjs"),ae=require("./CasinoGameThumbnailNd-CKhD5P7A.cjs");function le({withLocale:s,translations:t}){e.$locale.subscribe(o=>{o==null&&(e.$dictionary.set(t),e.$locale.set(s))})}function ne(s,t){e.addMessages(s,t)}function oe(s){e.$locale.set(s)}const ie={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"}};if(typeof window!="undefined"){let s=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSectionNd-K1QVy02P.cjs")).then(t=>t.CasinoFavoritesSectionNd_ce).then(({default:t})=>{!customElements.get("casino-favorites-section-nd")&&customElements.define("casino-favorites-section-nd",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSectionNd-D524pjNX.cjs")).then(({default:t})=>{!customElements.get("casino-last-played-section-nd")&&customElements.define("casino-last-played-section-nd",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSectionNd-CEzyxdDZ.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-nd",t.element)})}function me(s){e.append_styles(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}")}function I(s,t,o){const r=s.slice();return r[45]=t[o],r}function de(s){let t,o,r,_,u,n,c,l,h,d,p,y=e.ensure_array_like(s[29]),f=[];for(let a=0;a<y.length;a+=1)f[a]=Z(I(s,y,a));return{c(){t=e.element("div"),o=e.element("div"),r=e.element("div");for(let a=0;a<f.length;a+=1)f[a].c();_=e.space(),u=e.element("div"),n=e.element("casino-favorites-section-nd"),c=e.space(),l=e.element("casino-most-played-section-nd"),h=e.space(),d=e.element("casino-last-played-section-nd"),e.attr(r,"class","MyGamesButtonsContainer"),e.attr(o,"class","MyGamesHeader"),e.set_custom_element_data(n,"session",s[1]),e.set_custom_element_data(n,"userid",s[0]),e.set_custom_element_data(n,"endpoint",s[2]),e.set_custom_element_data(n,"datasource",s[3]),e.set_custom_element_data(n,"lang",s[4]),e.set_custom_element_data(n,"currency",s[5]),e.set_custom_element_data(n,"favorites",s[16]),e.set_custom_element_data(n,"categoryid","FAVORITES"),e.set_custom_element_data(n,"class","CategoryContainer"),e.set_custom_element_data(n,"showgamename",s[12]),e.set_custom_element_data(n,"clientstyling",s[7]),e.set_custom_element_data(n,"clientstylingurl",s[8]),e.set_custom_element_data(n,"translationurl",s[15]),e.set_custom_element_data(n,"livecasino",s[9]),e.set_custom_element_data(n,"visiblegames",s[10]),e.set_custom_element_data(n,"gamepagemodalurl",s[11]),e.set_custom_element_data(n,"integratedgameframedesktop",s[13]),e.set_custom_element_data(n,"integratedgameframemobile",s[14]),e.set_custom_element_data(n,"casinomygames",s[19]),e.set_custom_element_data(n,"mbsource",s[6]),e.toggle_class(n,"Active",s[27]=="Favorites"),e.set_custom_element_data(l,"endpoint",s[2]),e.set_custom_element_data(l,"datasource",s[3]),e.set_custom_element_data(l,"lang",s[4]),e.set_custom_element_data(l,"currency",s[5]),e.set_custom_element_data(l,"session",s[1]),e.set_custom_element_data(l,"userid",s[0]),e.set_custom_element_data(l,"favorites",s[16]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",s[12]),e.set_custom_element_data(l,"clientstyling",s[7]),e.set_custom_element_data(l,"clientstylingurl",s[8]),e.set_custom_element_data(l,"translationurl",s[15]),e.set_custom_element_data(l,"livecasino",s[9]),e.set_custom_element_data(l,"visiblegames",s[10]),e.set_custom_element_data(l,"gamepagemodalurl",s[11]),e.set_custom_element_data(l,"mostplayedrounds",s[25]),e.set_custom_element_data(l,"integratedgameframedesktop",s[13]),e.set_custom_element_data(l,"integratedgameframemobile",s[14]),e.set_custom_element_data(l,"mostplayedperiod",s[21]),e.set_custom_element_data(l,"casinomygames",s[19]),e.set_custom_element_data(l,"mbsource",s[6]),e.toggle_class(l,"Active",s[27]=="MostPlayed"),e.set_custom_element_data(d,"userid",s[0]),e.set_custom_element_data(d,"endpoint",s[2]),e.set_custom_element_data(d,"datasource",s[3]),e.set_custom_element_data(d,"favorites",s[16]),e.set_custom_element_data(d,"lang",s[4]),e.set_custom_element_data(d,"currency",s[5]),e.set_custom_element_data(d,"session",s[1]),e.set_custom_element_data(d,"class","CategoryContainer"),e.set_custom_element_data(d,"showgamename",s[12]),e.set_custom_element_data(d,"clientstyling",s[7]),e.set_custom_element_data(d,"clientstylingurl",s[8]),e.set_custom_element_data(d,"translationurl",s[15]),e.set_custom_element_data(d,"livecasino",s[9]),e.set_custom_element_data(d,"visiblegames",s[10]),e.set_custom_element_data(d,"lastplayedperiod",s[20]),e.set_custom_element_data(d,"lastplayedorder",s[22]),e.set_custom_element_data(d,"lastplayedlimit",s[23]),e.set_custom_element_data(d,"lastplayedunique",s[24]),e.set_custom_element_data(d,"gamepagemodalurl",s[11]),e.set_custom_element_data(d,"integratedgameframedesktop",s[13]),e.set_custom_element_data(d,"integratedgameframemobile",s[14]),e.set_custom_element_data(d,"casinomygames",s[19]),e.set_custom_element_data(d,"mbsource",s[6]),e.toggle_class(d,"Active",s[27]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(s[28]?"Mobile":""))},m(a,i){e.insert(a,t,i),e.append(t,o),e.append(o,r);for(let g=0;g<f.length;g+=1)f[g]&&f[g].m(r,null);e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),e.append(u,h),e.append(u,d)},p(a,i){if(i[0]&1745289216|i[1]&3){y=e.ensure_array_like(a[29]);let g;for(g=0;g<y.length;g+=1){const M=I(a,y,g);f[g]?f[g].p(M,i):(f[g]=Z(M),f[g].c(),f[g].m(r,null))}for(;g<f.length;g+=1)f[g].d(1);f.length=y.length}i[0]&2&&e.set_custom_element_data(n,"session",a[1]),i[0]&1&&e.set_custom_element_data(n,"userid",a[0]),i[0]&4&&e.set_custom_element_data(n,"endpoint",a[2]),i[0]&8&&e.set_custom_element_data(n,"datasource",a[3]),i[0]&16&&e.set_custom_element_data(n,"lang",a[4]),i[0]&32&&e.set_custom_element_data(n,"currency",a[5]),i[0]&65536&&e.set_custom_element_data(n,"favorites",a[16]),i[0]&4096&&e.set_custom_element_data(n,"showgamename",a[12]),i[0]&128&&e.set_custom_element_data(n,"clientstyling",a[7]),i[0]&256&&e.set_custom_element_data(n,"clientstylingurl",a[8]),i[0]&32768&&e.set_custom_element_data(n,"translationurl",a[15]),i[0]&512&&e.set_custom_element_data(n,"livecasino",a[9]),i[0]&1024&&e.set_custom_element_data(n,"visiblegames",a[10]),i[0]&2048&&e.set_custom_element_data(n,"gamepagemodalurl",a[11]),i[0]&8192&&e.set_custom_element_data(n,"integratedgameframedesktop",a[13]),i[0]&16384&&e.set_custom_element_data(n,"integratedgameframemobile",a[14]),i[0]&524288&&e.set_custom_element_data(n,"casinomygames",a[19]),i[0]&64&&e.set_custom_element_data(n,"mbsource",a[6]),i[0]&134217728&&e.toggle_class(n,"Active",a[27]=="Favorites"),i[0]&4&&e.set_custom_element_data(l,"endpoint",a[2]),i[0]&8&&e.set_custom_element_data(l,"datasource",a[3]),i[0]&16&&e.set_custom_element_data(l,"lang",a[4]),i[0]&32&&e.set_custom_element_data(l,"currency",a[5]),i[0]&2&&e.set_custom_element_data(l,"session",a[1]),i[0]&1&&e.set_custom_element_data(l,"userid",a[0]),i[0]&65536&&e.set_custom_element_data(l,"favorites",a[16]),i[0]&4096&&e.set_custom_element_data(l,"showgamename",a[12]),i[0]&128&&e.set_custom_element_data(l,"clientstyling",a[7]),i[0]&256&&e.set_custom_element_data(l,"clientstylingurl",a[8]),i[0]&32768&&e.set_custom_element_data(l,"translationurl",a[15]),i[0]&512&&e.set_custom_element_data(l,"livecasino",a[9]),i[0]&1024&&e.set_custom_element_data(l,"visiblegames",a[10]),i[0]&2048&&e.set_custom_element_data(l,"gamepagemodalurl",a[11]),i[0]&33554432&&e.set_custom_element_data(l,"mostplayedrounds",a[25]),i[0]&8192&&e.set_custom_element_data(l,"integratedgameframedesktop",a[13]),i[0]&16384&&e.set_custom_element_data(l,"integratedgameframemobile",a[14]),i[0]&2097152&&e.set_custom_element_data(l,"mostplayedperiod",a[21]),i[0]&524288&&e.set_custom_element_data(l,"casinomygames",a[19]),i[0]&64&&e.set_custom_element_data(l,"mbsource",a[6]),i[0]&134217728&&e.toggle_class(l,"Active",a[27]=="MostPlayed"),i[0]&1&&e.set_custom_element_data(d,"userid",a[0]),i[0]&4&&e.set_custom_element_data(d,"endpoint",a[2]),i[0]&8&&e.set_custom_element_data(d,"datasource",a[3]),i[0]&65536&&e.set_custom_element_data(d,"favorites",a[16]),i[0]&16&&e.set_custom_element_data(d,"lang",a[4]),i[0]&32&&e.set_custom_element_data(d,"currency",a[5]),i[0]&2&&e.set_custom_element_data(d,"session",a[1]),i[0]&4096&&e.set_custom_element_data(d,"showgamename",a[12]),i[0]&128&&e.set_custom_element_data(d,"clientstyling",a[7]),i[0]&256&&e.set_custom_element_data(d,"clientstylingurl",a[8]),i[0]&32768&&e.set_custom_element_data(d,"translationurl",a[15]),i[0]&512&&e.set_custom_element_data(d,"livecasino",a[9]),i[0]&1024&&e.set_custom_element_data(d,"visiblegames",a[10]),i[0]&1048576&&e.set_custom_element_data(d,"lastplayedperiod",a[20]),i[0]&4194304&&e.set_custom_element_data(d,"lastplayedorder",a[22]),i[0]&8388608&&e.set_custom_element_data(d,"lastplayedlimit",a[23]),i[0]&16777216&&e.set_custom_element_data(d,"lastplayedunique",a[24]),i[0]&2048&&e.set_custom_element_data(d,"gamepagemodalurl",a[11]),i[0]&8192&&e.set_custom_element_data(d,"integratedgameframedesktop",a[13]),i[0]&16384&&e.set_custom_element_data(d,"integratedgameframemobile",a[14]),i[0]&524288&&e.set_custom_element_data(d,"casinomygames",a[19]),i[0]&64&&e.set_custom_element_data(d,"mbsource",a[6]),i[0]&134217728&&e.toggle_class(d,"Active",a[27]=="LastPlayed"),i[0]&268435456&&p!==(p="CasinoMyGames "+(a[28]?"Mobile":""))&&e.attr(t,"class",p)},d(a){a&&e.detach(t),e.destroy_each(f,a)}}}function R(s){let t,o=s[31]("favorites")+"",r,_,u,n,c,l,h,d,p;return{c(){t=e.element("button"),r=e.text(o),_=e.space(),u=e.element("span"),n=e.text("("),c=e.text(s[30]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(s[27]=="Favorites"?"Active":"")+" "+(s[16]=="false"?"Off":""))},m(y,f){e.insert(y,t,f),e.append(t,r),e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),d||(p=e.listen(t,"click",s[33]),d=!0)},p(y,f){f[1]&1&&o!==(o=y[31]("favorites")+"")&&e.set_data(r,o),f[0]&1073741824&&e.set_data(c,y[30]),f[0]&134283264&&h!==(h="MyGamesButton "+(y[27]=="Favorites"?"Active":"")+" "+(y[16]=="false"?"Off":""))&&e.attr(t,"class",h)},d(y){y&&e.detach(t),d=!1,p()}}}function J(s){let t,o=s[31]("mostPlayed")+"",r,_,u,n;return{c(){t=e.element("button"),r=e.text(o),e.attr(t,"class",_="MyGamesButton "+(s[27]=="MostPlayed"?"Active":"")+" "+(s[17]=="false"?"Off":""))},m(c,l){e.insert(c,t,l),e.append(t,r),u||(n=e.listen(t,"click",s[34]),u=!0)},p(c,l){l[1]&1&&o!==(o=c[31]("mostPlayed")+"")&&e.set_data(r,o),l[0]&134348800&&_!==(_="MyGamesButton "+(c[27]=="MostPlayed"?"Active":"")+" "+(c[17]=="false"?"Off":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),u=!1,n()}}}function V(s){let t,o=s[31]("recentlyPlayed")+"",r,_,u,n,c;return{c(){t=e.element("button"),r=e.text(o),_=e.space(),e.attr(t,"class",u="MyGamesButton "+(s[27]=="LastPlayed"?"Active":"")+" "+(s[18]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,r),e.append(t,_),n||(c=e.listen(t,"click",s[35]),n=!0)},p(l,h){h[1]&1&&o!==(o=l[31]("recentlyPlayed")+"")&&e.set_data(r,o),h[0]&134479872&&u!==(u="MyGamesButton "+(l[27]=="LastPlayed"?"Active":"")+" "+(l[18]=="false"?"Off":""))&&e.attr(t,"class",u)},d(l){l&&e.detach(t),n=!1,c()}}}function Z(s){let t,o,r,_=s[45]=="Favorites"&&R(s),u=s[45]=="MostPlayed"&&J(s),n=s[45]=="LastPlayed"&&V(s);return{c(){_&&_.c(),t=e.space(),u&&u.c(),o=e.space(),n&&n.c(),r=e.empty()},m(c,l){_&&_.m(c,l),e.insert(c,t,l),u&&u.m(c,l),e.insert(c,o,l),n&&n.m(c,l),e.insert(c,r,l)},p(c,l){c[45]=="Favorites"?_?_.p(c,l):(_=R(c),_.c(),_.m(t.parentNode,t)):_&&(_.d(1),_=null),c[45]=="MostPlayed"?u?u.p(c,l):(u=J(c),u.c(),u.m(o.parentNode,o)):u&&(u.d(1),u=null),c[45]=="LastPlayed"?n?n.p(c,l):(n=V(c),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},d(c){c&&(e.detach(t),e.detach(o),e.detach(r)),_&&_.d(c),u&&u.d(c),n&&n.d(c)}}}function re(s){let t;function o(u,n){if(u[19])return de}let r=o(s),_=r&&r(s);return{c(){t=e.element("div"),_&&_.c()},m(u,n){e.insert(u,t,n),_&&_.m(t,null),s[36](t)},p(u,n){r===(r=o(u))&&_?_.p(u,n):(_&&_.d(1),_=r&&r(u),_&&(_.c(),_.m(t,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(t),_&&_.d(),s[36](null)}}}function ue(s,t,o){let r;e.component_subscribe(s,e.$format,m=>o(31,r=m));let{userid:_=""}=t,{session:u=""}=t,{endpoint:n=""}=t,{datasource:c=""}=t,{lang:l=""}=t,{currency:h=""}=t,{mbsource:d}=t,{clientstyling:p=""}=t,{clientstylingurl:y=""}=t,{livecasino:f=""}=t,{visiblegames:a=""}=t,{gamepagemodalurl:i=""}=t,{showgamename:g=""}=t,{integratedgameframedesktop:M=""}=t,{integratedgameframemobile:B=""}=t,{translationurl:w=""}=t,{favorites:k="false"}=t,{mostplayed:F="false"}=t,{lastplayed:C="false"}=t,{casinomygames:S="false"}=t,{lastplayedperiod:O="Last30Days"}=t,{mostplayedperiod:q="Last30Days"}=t,{lastplayedorder:j=""}=t,{lastplayedlimit:N=""}=t,{lastplayedunique:T="true"}=t,{mostplayedrounds:D=""}=t,Q=window.navigator.userAgent,b,W,G="",z=!1,P=["","",""],E="0";le({withLocale:"en",translations:{}});const A=m=>{Object.keys(m).forEach(v=>{ne(v,m[v])})},X=()=>{fetch(w).then(v=>v.json()).then(v=>{A(v)}).catch(v=>{console.log(v)})};A(ie);const L=m=>{G!==m&&o(27,G=m)},Y=()=>{o(27,G=k==="true"?"Favorites":F==="true"?"MostPlayed":C==="true"?"LastPlayed":""),o(29,P[0]=k==="true"?"Favorites":"",P),o(29,P[1]=F==="true"?"MostPlayed":"",P),o(29,P[2]=C==="true"?"LastPlayed":"",P),oe(l)},H=m=>{var v,U;if(m.data)switch(m.data.type){case"UpdateFavoritesCount":m.data.favoriteGamesLength!==void 0?o(30,E=m.data.favoriteGamesLength):o(30,E=(U=(v=m.data.listOfFavoritesGames)==null?void 0:v.length)!=null?U:0);break}};e.onMount(()=>(window.addEventListener("message",H,!1),o(28,z=se.isMobile(Q)),()=>{window.removeEventListener("message",H)}));const x=()=>L("Favorites"),$=()=>L("MostPlayed"),ee=()=>L("LastPlayed");function te(m){e.binding_callbacks[m?"unshift":"push"](()=>{b=m,o(26,b)})}return s.$$set=m=>{"userid"in m&&o(0,_=m.userid),"session"in m&&o(1,u=m.session),"endpoint"in m&&o(2,n=m.endpoint),"datasource"in m&&o(3,c=m.datasource),"lang"in m&&o(4,l=m.lang),"currency"in m&&o(5,h=m.currency),"mbsource"in m&&o(6,d=m.mbsource),"clientstyling"in m&&o(7,p=m.clientstyling),"clientstylingurl"in m&&o(8,y=m.clientstylingurl),"livecasino"in m&&o(9,f=m.livecasino),"visiblegames"in m&&o(10,a=m.visiblegames),"gamepagemodalurl"in m&&o(11,i=m.gamepagemodalurl),"showgamename"in m&&o(12,g=m.showgamename),"integratedgameframedesktop"in m&&o(13,M=m.integratedgameframedesktop),"integratedgameframemobile"in m&&o(14,B=m.integratedgameframemobile),"translationurl"in m&&o(15,w=m.translationurl),"favorites"in m&&o(16,k=m.favorites),"mostplayed"in m&&o(17,F=m.mostplayed),"lastplayed"in m&&o(18,C=m.lastplayed),"casinomygames"in m&&o(19,S=m.casinomygames),"lastplayedperiod"in m&&o(20,O=m.lastplayedperiod),"mostplayedperiod"in m&&o(21,q=m.mostplayedperiod),"lastplayedorder"in m&&o(22,j=m.lastplayedorder),"lastplayedlimit"in m&&o(23,N=m.lastplayedlimit),"lastplayedunique"in m&&o(24,T=m.lastplayedunique),"mostplayedrounds"in m&&o(25,D=m.mostplayedrounds)},s.$$.update=()=>{s.$$.dirty[0]&458780&&n&&c&&l&&k&&F&&C&&Y(),s.$$.dirty[0]&32768&&w&&X(),s.$$.dirty[0]&67108992&&p&&b&&e.setClientStyling(b,p),s.$$.dirty[0]&67109120&&y&&b&&e.setClientStylingURL(b,y),s.$$.dirty[0]&67108928&&d&&b&&e.setStreamStyling(b,`${d}.Style`),s.$$.dirty[0]&32832&&d&&!w&&ae.getStreamTranslations(`${d}.Translation`,W,A)},[_,u,n,c,l,h,d,p,y,f,a,i,g,M,B,w,k,F,C,S,O,q,j,N,T,D,b,G,z,P,E,r,L,x,$,ee,te]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ue,re,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},me,[-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(K,{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=K;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoFavoritesSectionNd-QbHGVmxJ.cjs"),se=require("./CasinoFilter-C4dT1ABq.cjs"),ae=require("./CasinoGameThumbnailNd-DLG9VFk9.cjs");function le({withLocale:s,translations:t}){e.$locale.subscribe(o=>{o==null&&(e.$dictionary.set(t),e.$locale.set(s))})}function ne(s,t){e.addMessages(s,t)}function oe(s){e.$locale.set(s)}const ie={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"}};if(typeof window!="undefined"){let s=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSectionNd-QbHGVmxJ.cjs")).then(t=>t.CasinoFavoritesSectionNd_ce).then(({default:t})=>{!customElements.get("casino-favorites-section-nd")&&customElements.define("casino-favorites-section-nd",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSectionNd-BkSuAsYO.cjs")).then(({default:t})=>{!customElements.get("casino-last-played-section-nd")&&customElements.define("casino-last-played-section-nd",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSectionNd-Dop7g3Nr.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-nd",t.element)})}function me(s){e.append_styles(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}")}function I(s,t,o){const r=s.slice();return r[45]=t[o],r}function de(s){let t,o,r,_,u,n,c,l,h,d,p,y=e.ensure_array_like(s[29]),f=[];for(let a=0;a<y.length;a+=1)f[a]=Z(I(s,y,a));return{c(){t=e.element("div"),o=e.element("div"),r=e.element("div");for(let a=0;a<f.length;a+=1)f[a].c();_=e.space(),u=e.element("div"),n=e.element("casino-favorites-section-nd"),c=e.space(),l=e.element("casino-most-played-section-nd"),h=e.space(),d=e.element("casino-last-played-section-nd"),e.attr(r,"class","MyGamesButtonsContainer"),e.attr(o,"class","MyGamesHeader"),e.set_custom_element_data(n,"session",s[1]),e.set_custom_element_data(n,"userid",s[0]),e.set_custom_element_data(n,"endpoint",s[2]),e.set_custom_element_data(n,"datasource",s[3]),e.set_custom_element_data(n,"lang",s[4]),e.set_custom_element_data(n,"currency",s[5]),e.set_custom_element_data(n,"favorites",s[16]),e.set_custom_element_data(n,"categoryid","FAVORITES"),e.set_custom_element_data(n,"class","CategoryContainer"),e.set_custom_element_data(n,"showgamename",s[12]),e.set_custom_element_data(n,"clientstyling",s[7]),e.set_custom_element_data(n,"clientstylingurl",s[8]),e.set_custom_element_data(n,"translationurl",s[15]),e.set_custom_element_data(n,"livecasino",s[9]),e.set_custom_element_data(n,"visiblegames",s[10]),e.set_custom_element_data(n,"gamepagemodalurl",s[11]),e.set_custom_element_data(n,"integratedgameframedesktop",s[13]),e.set_custom_element_data(n,"integratedgameframemobile",s[14]),e.set_custom_element_data(n,"casinomygames",s[19]),e.set_custom_element_data(n,"mbsource",s[6]),e.toggle_class(n,"Active",s[27]=="Favorites"),e.set_custom_element_data(l,"endpoint",s[2]),e.set_custom_element_data(l,"datasource",s[3]),e.set_custom_element_data(l,"lang",s[4]),e.set_custom_element_data(l,"currency",s[5]),e.set_custom_element_data(l,"session",s[1]),e.set_custom_element_data(l,"userid",s[0]),e.set_custom_element_data(l,"favorites",s[16]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",s[12]),e.set_custom_element_data(l,"clientstyling",s[7]),e.set_custom_element_data(l,"clientstylingurl",s[8]),e.set_custom_element_data(l,"translationurl",s[15]),e.set_custom_element_data(l,"livecasino",s[9]),e.set_custom_element_data(l,"visiblegames",s[10]),e.set_custom_element_data(l,"gamepagemodalurl",s[11]),e.set_custom_element_data(l,"mostplayedrounds",s[25]),e.set_custom_element_data(l,"integratedgameframedesktop",s[13]),e.set_custom_element_data(l,"integratedgameframemobile",s[14]),e.set_custom_element_data(l,"mostplayedperiod",s[21]),e.set_custom_element_data(l,"casinomygames",s[19]),e.set_custom_element_data(l,"mbsource",s[6]),e.toggle_class(l,"Active",s[27]=="MostPlayed"),e.set_custom_element_data(d,"userid",s[0]),e.set_custom_element_data(d,"endpoint",s[2]),e.set_custom_element_data(d,"datasource",s[3]),e.set_custom_element_data(d,"favorites",s[16]),e.set_custom_element_data(d,"lang",s[4]),e.set_custom_element_data(d,"currency",s[5]),e.set_custom_element_data(d,"session",s[1]),e.set_custom_element_data(d,"class","CategoryContainer"),e.set_custom_element_data(d,"showgamename",s[12]),e.set_custom_element_data(d,"clientstyling",s[7]),e.set_custom_element_data(d,"clientstylingurl",s[8]),e.set_custom_element_data(d,"translationurl",s[15]),e.set_custom_element_data(d,"livecasino",s[9]),e.set_custom_element_data(d,"visiblegames",s[10]),e.set_custom_element_data(d,"lastplayedperiod",s[20]),e.set_custom_element_data(d,"lastplayedorder",s[22]),e.set_custom_element_data(d,"lastplayedlimit",s[23]),e.set_custom_element_data(d,"lastplayedunique",s[24]),e.set_custom_element_data(d,"gamepagemodalurl",s[11]),e.set_custom_element_data(d,"integratedgameframedesktop",s[13]),e.set_custom_element_data(d,"integratedgameframemobile",s[14]),e.set_custom_element_data(d,"casinomygames",s[19]),e.set_custom_element_data(d,"mbsource",s[6]),e.toggle_class(d,"Active",s[27]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(s[28]?"Mobile":""))},m(a,i){e.insert(a,t,i),e.append(t,o),e.append(o,r);for(let g=0;g<f.length;g+=1)f[g]&&f[g].m(r,null);e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),e.append(u,h),e.append(u,d)},p(a,i){if(i[0]&1745289216|i[1]&3){y=e.ensure_array_like(a[29]);let g;for(g=0;g<y.length;g+=1){const M=I(a,y,g);f[g]?f[g].p(M,i):(f[g]=Z(M),f[g].c(),f[g].m(r,null))}for(;g<f.length;g+=1)f[g].d(1);f.length=y.length}i[0]&2&&e.set_custom_element_data(n,"session",a[1]),i[0]&1&&e.set_custom_element_data(n,"userid",a[0]),i[0]&4&&e.set_custom_element_data(n,"endpoint",a[2]),i[0]&8&&e.set_custom_element_data(n,"datasource",a[3]),i[0]&16&&e.set_custom_element_data(n,"lang",a[4]),i[0]&32&&e.set_custom_element_data(n,"currency",a[5]),i[0]&65536&&e.set_custom_element_data(n,"favorites",a[16]),i[0]&4096&&e.set_custom_element_data(n,"showgamename",a[12]),i[0]&128&&e.set_custom_element_data(n,"clientstyling",a[7]),i[0]&256&&e.set_custom_element_data(n,"clientstylingurl",a[8]),i[0]&32768&&e.set_custom_element_data(n,"translationurl",a[15]),i[0]&512&&e.set_custom_element_data(n,"livecasino",a[9]),i[0]&1024&&e.set_custom_element_data(n,"visiblegames",a[10]),i[0]&2048&&e.set_custom_element_data(n,"gamepagemodalurl",a[11]),i[0]&8192&&e.set_custom_element_data(n,"integratedgameframedesktop",a[13]),i[0]&16384&&e.set_custom_element_data(n,"integratedgameframemobile",a[14]),i[0]&524288&&e.set_custom_element_data(n,"casinomygames",a[19]),i[0]&64&&e.set_custom_element_data(n,"mbsource",a[6]),i[0]&134217728&&e.toggle_class(n,"Active",a[27]=="Favorites"),i[0]&4&&e.set_custom_element_data(l,"endpoint",a[2]),i[0]&8&&e.set_custom_element_data(l,"datasource",a[3]),i[0]&16&&e.set_custom_element_data(l,"lang",a[4]),i[0]&32&&e.set_custom_element_data(l,"currency",a[5]),i[0]&2&&e.set_custom_element_data(l,"session",a[1]),i[0]&1&&e.set_custom_element_data(l,"userid",a[0]),i[0]&65536&&e.set_custom_element_data(l,"favorites",a[16]),i[0]&4096&&e.set_custom_element_data(l,"showgamename",a[12]),i[0]&128&&e.set_custom_element_data(l,"clientstyling",a[7]),i[0]&256&&e.set_custom_element_data(l,"clientstylingurl",a[8]),i[0]&32768&&e.set_custom_element_data(l,"translationurl",a[15]),i[0]&512&&e.set_custom_element_data(l,"livecasino",a[9]),i[0]&1024&&e.set_custom_element_data(l,"visiblegames",a[10]),i[0]&2048&&e.set_custom_element_data(l,"gamepagemodalurl",a[11]),i[0]&33554432&&e.set_custom_element_data(l,"mostplayedrounds",a[25]),i[0]&8192&&e.set_custom_element_data(l,"integratedgameframedesktop",a[13]),i[0]&16384&&e.set_custom_element_data(l,"integratedgameframemobile",a[14]),i[0]&2097152&&e.set_custom_element_data(l,"mostplayedperiod",a[21]),i[0]&524288&&e.set_custom_element_data(l,"casinomygames",a[19]),i[0]&64&&e.set_custom_element_data(l,"mbsource",a[6]),i[0]&134217728&&e.toggle_class(l,"Active",a[27]=="MostPlayed"),i[0]&1&&e.set_custom_element_data(d,"userid",a[0]),i[0]&4&&e.set_custom_element_data(d,"endpoint",a[2]),i[0]&8&&e.set_custom_element_data(d,"datasource",a[3]),i[0]&65536&&e.set_custom_element_data(d,"favorites",a[16]),i[0]&16&&e.set_custom_element_data(d,"lang",a[4]),i[0]&32&&e.set_custom_element_data(d,"currency",a[5]),i[0]&2&&e.set_custom_element_data(d,"session",a[1]),i[0]&4096&&e.set_custom_element_data(d,"showgamename",a[12]),i[0]&128&&e.set_custom_element_data(d,"clientstyling",a[7]),i[0]&256&&e.set_custom_element_data(d,"clientstylingurl",a[8]),i[0]&32768&&e.set_custom_element_data(d,"translationurl",a[15]),i[0]&512&&e.set_custom_element_data(d,"livecasino",a[9]),i[0]&1024&&e.set_custom_element_data(d,"visiblegames",a[10]),i[0]&1048576&&e.set_custom_element_data(d,"lastplayedperiod",a[20]),i[0]&4194304&&e.set_custom_element_data(d,"lastplayedorder",a[22]),i[0]&8388608&&e.set_custom_element_data(d,"lastplayedlimit",a[23]),i[0]&16777216&&e.set_custom_element_data(d,"lastplayedunique",a[24]),i[0]&2048&&e.set_custom_element_data(d,"gamepagemodalurl",a[11]),i[0]&8192&&e.set_custom_element_data(d,"integratedgameframedesktop",a[13]),i[0]&16384&&e.set_custom_element_data(d,"integratedgameframemobile",a[14]),i[0]&524288&&e.set_custom_element_data(d,"casinomygames",a[19]),i[0]&64&&e.set_custom_element_data(d,"mbsource",a[6]),i[0]&134217728&&e.toggle_class(d,"Active",a[27]=="LastPlayed"),i[0]&268435456&&p!==(p="CasinoMyGames "+(a[28]?"Mobile":""))&&e.attr(t,"class",p)},d(a){a&&e.detach(t),e.destroy_each(f,a)}}}function R(s){let t,o=s[31]("favorites")+"",r,_,u,n,c,l,h,d,p;return{c(){t=e.element("button"),r=e.text(o),_=e.space(),u=e.element("span"),n=e.text("("),c=e.text(s[30]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(s[27]=="Favorites"?"Active":"")+" "+(s[16]=="false"?"Off":""))},m(y,f){e.insert(y,t,f),e.append(t,r),e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),d||(p=e.listen(t,"click",s[33]),d=!0)},p(y,f){f[1]&1&&o!==(o=y[31]("favorites")+"")&&e.set_data(r,o),f[0]&1073741824&&e.set_data(c,y[30]),f[0]&134283264&&h!==(h="MyGamesButton "+(y[27]=="Favorites"?"Active":"")+" "+(y[16]=="false"?"Off":""))&&e.attr(t,"class",h)},d(y){y&&e.detach(t),d=!1,p()}}}function J(s){let t,o=s[31]("mostPlayed")+"",r,_,u,n;return{c(){t=e.element("button"),r=e.text(o),e.attr(t,"class",_="MyGamesButton "+(s[27]=="MostPlayed"?"Active":"")+" "+(s[17]=="false"?"Off":""))},m(c,l){e.insert(c,t,l),e.append(t,r),u||(n=e.listen(t,"click",s[34]),u=!0)},p(c,l){l[1]&1&&o!==(o=c[31]("mostPlayed")+"")&&e.set_data(r,o),l[0]&134348800&&_!==(_="MyGamesButton "+(c[27]=="MostPlayed"?"Active":"")+" "+(c[17]=="false"?"Off":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),u=!1,n()}}}function V(s){let t,o=s[31]("recentlyPlayed")+"",r,_,u,n,c;return{c(){t=e.element("button"),r=e.text(o),_=e.space(),e.attr(t,"class",u="MyGamesButton "+(s[27]=="LastPlayed"?"Active":"")+" "+(s[18]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,r),e.append(t,_),n||(c=e.listen(t,"click",s[35]),n=!0)},p(l,h){h[1]&1&&o!==(o=l[31]("recentlyPlayed")+"")&&e.set_data(r,o),h[0]&134479872&&u!==(u="MyGamesButton "+(l[27]=="LastPlayed"?"Active":"")+" "+(l[18]=="false"?"Off":""))&&e.attr(t,"class",u)},d(l){l&&e.detach(t),n=!1,c()}}}function Z(s){let t,o,r,_=s[45]=="Favorites"&&R(s),u=s[45]=="MostPlayed"&&J(s),n=s[45]=="LastPlayed"&&V(s);return{c(){_&&_.c(),t=e.space(),u&&u.c(),o=e.space(),n&&n.c(),r=e.empty()},m(c,l){_&&_.m(c,l),e.insert(c,t,l),u&&u.m(c,l),e.insert(c,o,l),n&&n.m(c,l),e.insert(c,r,l)},p(c,l){c[45]=="Favorites"?_?_.p(c,l):(_=R(c),_.c(),_.m(t.parentNode,t)):_&&(_.d(1),_=null),c[45]=="MostPlayed"?u?u.p(c,l):(u=J(c),u.c(),u.m(o.parentNode,o)):u&&(u.d(1),u=null),c[45]=="LastPlayed"?n?n.p(c,l):(n=V(c),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},d(c){c&&(e.detach(t),e.detach(o),e.detach(r)),_&&_.d(c),u&&u.d(c),n&&n.d(c)}}}function re(s){let t;function o(u,n){if(u[19])return de}let r=o(s),_=r&&r(s);return{c(){t=e.element("div"),_&&_.c()},m(u,n){e.insert(u,t,n),_&&_.m(t,null),s[36](t)},p(u,n){r===(r=o(u))&&_?_.p(u,n):(_&&_.d(1),_=r&&r(u),_&&(_.c(),_.m(t,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(t),_&&_.d(),s[36](null)}}}function ue(s,t,o){let r;e.component_subscribe(s,e.$format,m=>o(31,r=m));let{userid:_=""}=t,{session:u=""}=t,{endpoint:n=""}=t,{datasource:c=""}=t,{lang:l=""}=t,{currency:h=""}=t,{mbsource:d}=t,{clientstyling:p=""}=t,{clientstylingurl:y=""}=t,{livecasino:f=""}=t,{visiblegames:a=""}=t,{gamepagemodalurl:i=""}=t,{showgamename:g=""}=t,{integratedgameframedesktop:M=""}=t,{integratedgameframemobile:B=""}=t,{translationurl:w=""}=t,{favorites:k="false"}=t,{mostplayed:F="false"}=t,{lastplayed:C="false"}=t,{casinomygames:S="false"}=t,{lastplayedperiod:O="Last30Days"}=t,{mostplayedperiod:q="Last30Days"}=t,{lastplayedorder:j=""}=t,{lastplayedlimit:N=""}=t,{lastplayedunique:T="true"}=t,{mostplayedrounds:D=""}=t,Q=window.navigator.userAgent,b,W,G="",z=!1,P=["","",""],E="0";le({withLocale:"en",translations:{}});const A=m=>{Object.keys(m).forEach(v=>{ne(v,m[v])})},X=()=>{fetch(w).then(v=>v.json()).then(v=>{A(v)}).catch(v=>{console.log(v)})};A(ie);const L=m=>{G!==m&&o(27,G=m)},Y=()=>{o(27,G=k==="true"?"Favorites":F==="true"?"MostPlayed":C==="true"?"LastPlayed":""),o(29,P[0]=k==="true"?"Favorites":"",P),o(29,P[1]=F==="true"?"MostPlayed":"",P),o(29,P[2]=C==="true"?"LastPlayed":"",P),oe(l)},H=m=>{var v,U;if(m.data)switch(m.data.type){case"UpdateFavoritesCount":m.data.favoriteGamesLength!==void 0?o(30,E=m.data.favoriteGamesLength):o(30,E=(U=(v=m.data.listOfFavoritesGames)==null?void 0:v.length)!=null?U:0);break}};e.onMount(()=>(window.addEventListener("message",H,!1),o(28,z=se.isMobile(Q)),()=>{window.removeEventListener("message",H)}));const x=()=>L("Favorites"),$=()=>L("MostPlayed"),ee=()=>L("LastPlayed");function te(m){e.binding_callbacks[m?"unshift":"push"](()=>{b=m,o(26,b)})}return s.$$set=m=>{"userid"in m&&o(0,_=m.userid),"session"in m&&o(1,u=m.session),"endpoint"in m&&o(2,n=m.endpoint),"datasource"in m&&o(3,c=m.datasource),"lang"in m&&o(4,l=m.lang),"currency"in m&&o(5,h=m.currency),"mbsource"in m&&o(6,d=m.mbsource),"clientstyling"in m&&o(7,p=m.clientstyling),"clientstylingurl"in m&&o(8,y=m.clientstylingurl),"livecasino"in m&&o(9,f=m.livecasino),"visiblegames"in m&&o(10,a=m.visiblegames),"gamepagemodalurl"in m&&o(11,i=m.gamepagemodalurl),"showgamename"in m&&o(12,g=m.showgamename),"integratedgameframedesktop"in m&&o(13,M=m.integratedgameframedesktop),"integratedgameframemobile"in m&&o(14,B=m.integratedgameframemobile),"translationurl"in m&&o(15,w=m.translationurl),"favorites"in m&&o(16,k=m.favorites),"mostplayed"in m&&o(17,F=m.mostplayed),"lastplayed"in m&&o(18,C=m.lastplayed),"casinomygames"in m&&o(19,S=m.casinomygames),"lastplayedperiod"in m&&o(20,O=m.lastplayedperiod),"mostplayedperiod"in m&&o(21,q=m.mostplayedperiod),"lastplayedorder"in m&&o(22,j=m.lastplayedorder),"lastplayedlimit"in m&&o(23,N=m.lastplayedlimit),"lastplayedunique"in m&&o(24,T=m.lastplayedunique),"mostplayedrounds"in m&&o(25,D=m.mostplayedrounds)},s.$$.update=()=>{s.$$.dirty[0]&458780&&n&&c&&l&&k&&F&&C&&Y(),s.$$.dirty[0]&32768&&w&&X(),s.$$.dirty[0]&67108992&&p&&b&&e.setClientStyling(b,p),s.$$.dirty[0]&67109120&&y&&b&&e.setClientStylingURL(b,y),s.$$.dirty[0]&67108928&&d&&b&&e.setStreamStyling(b,`${d}.Style`),s.$$.dirty[0]&32832&&d&&!w&&ae.getStreamTranslations(`${d}.Translation`,W,A)},[_,u,n,c,l,h,d,p,y,f,a,i,g,M,B,w,k,F,C,S,O,q,j,N,T,D,b,G,z,P,E,r,L,x,$,ee,te]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ue,re,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},me,[-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(K,{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=K;
|