@everymatrix/casino-my-games-nd 1.86.4 → 1.86.5
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-DAk9Rz5y.js → CasinoFavoritesSectionNd-DnjMMxPF.js} +1044 -1076
- package/components/{CasinoFavoritesSectionNd-Ct7-yK1Y.js → CasinoFavoritesSectionNd-IjBGIAKV.js} +1003 -1035
- package/components/CasinoFavoritesSectionNd-VfWjc6cO.cjs +3 -0
- package/components/{CasinoFilter-thaqa7s1.js → CasinoFilter-BIQiqdaS.js} +423 -373
- package/components/{CasinoFilter-Di7-lhYG.js → CasinoFilter-BiUAGzYo.js} +446 -398
- package/components/CasinoFilter-yG2Ssg_Z.cjs +16 -0
- package/components/{CasinoGameThumbnailNd-v6BFSSx8.js → CasinoGameThumbnailNd-BQGhUZqf.js} +64 -66
- package/components/CasinoGameThumbnailNd-BsrshKrT.cjs +30 -0
- package/components/{CasinoGameThumbnailNd-CJbI5Vnp.js → CasinoGameThumbnailNd-UlnMygo7.js} +64 -66
- package/components/{CasinoGamesCategorySectionNd-1u77-OEV.js → CasinoGamesCategorySectionNd-7O2PEJfi.js} +190 -190
- package/components/{CasinoGamesCategorySectionNd-PMFkdFPJ.js → CasinoGamesCategorySectionNd-BTcRtShM.js} +258 -258
- package/components/{CasinoGamesCategorySectionNd-CQmI83_8.cjs → CasinoGamesCategorySectionNd-sCQdekDn.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-DGHqUI7n.cjs → CasinoLastPlayedSectionNd-BkEol2F9.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-CKUoApgO.js → CasinoLastPlayedSectionNd-DsyJ1YyQ.js} +46 -46
- package/components/{CasinoLastPlayedSectionNd-tIciGarW.js → CasinoLastPlayedSectionNd-ugG0QJz8.js} +46 -46
- package/components/{CasinoMostPlayedSectionNd-B0WFqlQl.js → CasinoMostPlayedSectionNd-9SnZTf2U.js} +39 -39
- package/components/{CasinoMostPlayedSectionNd-DExw2cHb.cjs → CasinoMostPlayedSectionNd-BSjNU0qA.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-Pcx-G5nM.js → CasinoMostPlayedSectionNd-v4PUECqD.js} +39 -39
- package/components/{CasinoMyGamesNd-Dt79TB3B.cjs → CasinoMyGamesNd-2mxQS8Zr.cjs} +1 -1
- package/components/{CasinoMyGamesNd-59jwfIW0.js → CasinoMyGamesNd-4ljZ9iaH.js} +52 -52
- package/components/{CasinoMyGamesNd-C6tSORAg.js → CasinoMyGamesNd-CfI4-Ywh.js} +55 -55
- package/components/{CasinoSort-BCyCciHd.cjs → CasinoSort-DPbziH-d.cjs} +1 -1
- package/components/{CasinoSort-Dc3_bYWo.js → CasinoSort-DR4XC8kH.js} +109 -108
- package/components/{CasinoSort-DUQ8fN-8.js → CasinoSort-WLSmCHwf.js} +116 -117
- 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/stencil/index-97d17652-B6BYeRne.js +542 -0
- package/stencil/index-97d17652-BOr4KAqq.js +558 -0
- package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
- package/stencil/{ui-image-BDXyFHck.cjs → ui-image-BX-FBhad.cjs} +1 -1
- package/stencil/{ui-image-Cc8wLmDe.js → ui-image-CP8Lp7fB.js} +1 -1
- package/stencil/{ui-image-wH6lu7wS.js → ui-image-Ch-GHki1.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-CBB2FKRZ.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-rCWcyktd.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DjCO-ZF4.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
- package/stencil/{ui-image_2-BfZmduAK.js → ui-image_2-CmVho0dS.js} +2 -2
- package/stencil/{ui-image_2-ZFidgTXM.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
- package/stencil/{ui-image_2-BESQEo1l.js → ui-image_2-Daq38JGa.js} +2 -2
- package/components/CasinoFavoritesSectionNd-BFcC7upG.cjs +0 -16
- package/components/CasinoFilter-CdSKknn8.cjs +0 -3
- package/components/CasinoGameThumbnailNd-6zQ8cacB.cjs +0 -30
- package/stencil/index-97d17652-DvplcHtm.js +0 -558
- package/stencil/index-97d17652-ILzgTtTR.cjs +0 -1
- package/stencil/index-97d17652-p-iQtjus.js +0 -542
package/components/{CasinoLastPlayedSectionNd-CKUoApgO.js → CasinoLastPlayedSectionNd-DsyJ1YyQ.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { g as ye } from "./CasinoFilter-
|
|
3
|
-
function
|
|
1
|
+
import { b as ee, $ as te, S as ae, i as se, s as ie, f as l, c as ne, n as B, d as D, e as M, q as Z, g as P, k as A, h as le, o as re, j as oe, p as ue, w as ce, E as i, z as ge, A as me, B as de, C as fe, D as he } from "./CasinoFavoritesSectionNd-DnjMMxPF.js";
|
|
2
|
+
import { g as ye } from "./CasinoFilter-BIQiqdaS.js";
|
|
3
|
+
function H(s, e) {
|
|
4
4
|
ee(s, e);
|
|
5
5
|
}
|
|
6
6
|
function be(s) {
|
|
@@ -33,7 +33,7 @@ const V = {
|
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
function ve(s) {
|
|
36
|
-
|
|
36
|
+
ne(s, "svelte-9pcrt1", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
37
37
|
}
|
|
38
38
|
function we(s) {
|
|
39
39
|
let e;
|
|
@@ -268,7 +268,7 @@ function _e(s) {
|
|
|
268
268
|
), n;
|
|
269
269
|
return {
|
|
270
270
|
c() {
|
|
271
|
-
e = P("p"), n =
|
|
271
|
+
e = P("p"), n = ce(t), A(e, "class", "SearchLoading");
|
|
272
272
|
},
|
|
273
273
|
m(o, r) {
|
|
274
274
|
M(o, e, r), Z(e, n);
|
|
@@ -276,7 +276,7 @@ function _e(s) {
|
|
|
276
276
|
p(o, r) {
|
|
277
277
|
r[0] & /*$_*/
|
|
278
278
|
2097152 && t !== (t = /*$_*/
|
|
279
|
-
o[21]("noRecentGames") + "") &&
|
|
279
|
+
o[21]("noRecentGames") + "") && ue(n, t);
|
|
280
280
|
},
|
|
281
281
|
d(o) {
|
|
282
282
|
o && D(e);
|
|
@@ -285,10 +285,10 @@ function _e(s) {
|
|
|
285
285
|
}
|
|
286
286
|
function ke(s) {
|
|
287
287
|
let e, t;
|
|
288
|
-
function n(
|
|
288
|
+
function n(g, d) {
|
|
289
289
|
return (
|
|
290
290
|
/*lastPlayedEmpty*/
|
|
291
|
-
|
|
291
|
+
g[20] ? _e : we
|
|
292
292
|
);
|
|
293
293
|
}
|
|
294
294
|
let o = n(s), r = o(s);
|
|
@@ -296,41 +296,41 @@ function ke(s) {
|
|
|
296
296
|
c() {
|
|
297
297
|
e = P("div"), t = P("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
|
|
298
298
|
},
|
|
299
|
-
m(
|
|
300
|
-
M(
|
|
299
|
+
m(g, d) {
|
|
300
|
+
M(g, e, d), Z(e, t), r.m(t, null), s[26](e);
|
|
301
301
|
},
|
|
302
|
-
p(
|
|
303
|
-
o === (o = n(
|
|
302
|
+
p(g, d) {
|
|
303
|
+
o === (o = n(g)) && r ? r.p(g, d) : (r.d(1), r = o(g), r && (r.c(), r.m(t, null)));
|
|
304
304
|
},
|
|
305
|
-
i:
|
|
306
|
-
o:
|
|
307
|
-
d(
|
|
308
|
-
|
|
305
|
+
i: B,
|
|
306
|
+
o: B,
|
|
307
|
+
d(g) {
|
|
308
|
+
g && D(e), r.d(), s[26](null);
|
|
309
309
|
}
|
|
310
310
|
};
|
|
311
311
|
}
|
|
312
312
|
function Le(s, e, t) {
|
|
313
313
|
let n;
|
|
314
|
-
|
|
315
|
-
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency:
|
|
314
|
+
le(s, he, (a) => t(21, n = a));
|
|
315
|
+
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: O = "" } = e, { visiblegames: C = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: G = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, K = window.navigator.userAgent, Y = !1, L = [], I, f;
|
|
316
316
|
const Q = () => {
|
|
317
|
-
fetch(_).then((
|
|
318
|
-
Object.keys(
|
|
319
|
-
|
|
317
|
+
fetch(_).then((m) => m.json()).then((m) => {
|
|
318
|
+
Object.keys(m).forEach((u) => {
|
|
319
|
+
H(u, m[u]);
|
|
320
320
|
});
|
|
321
|
-
}).catch((
|
|
322
|
-
console.log(
|
|
321
|
+
}).catch((m) => {
|
|
322
|
+
console.log(m);
|
|
323
323
|
});
|
|
324
324
|
};
|
|
325
325
|
Object.keys(V).forEach((a) => {
|
|
326
|
-
|
|
326
|
+
H(a, V[a]);
|
|
327
327
|
});
|
|
328
|
-
const W = () => new Promise((a,
|
|
328
|
+
const W = () => new Promise((a, m) => {
|
|
329
329
|
let u = new URL(`${o}/v1/player/${y}/games/last-played`);
|
|
330
|
-
u.searchParams.append("unique", q), u.searchParams.append("limit", G), u.searchParams.append("order", j), u.searchParams.append("period",
|
|
330
|
+
u.searchParams.append("unique", q), u.searchParams.append("limit", G), u.searchParams.append("order", j), u.searchParams.append("period", S), ye(K) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = k ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
|
|
331
331
|
c.items = c.items.filter(($) => {
|
|
332
|
-
let
|
|
333
|
-
return $.gameCode == "OddsMatrix2" && (c.count--,
|
|
332
|
+
let J = !0;
|
|
333
|
+
return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
|
|
334
334
|
}), a(c), window.postMessage(
|
|
335
335
|
{
|
|
336
336
|
type: "AddNewCategory",
|
|
@@ -339,17 +339,17 @@ function Le(s, e, t) {
|
|
|
339
339
|
window.location.href
|
|
340
340
|
), window.postMessage({ type: "LastPlayedGames", data: c }, window.location.href);
|
|
341
341
|
}).catch((c) => {
|
|
342
|
-
console.error(c),
|
|
342
|
+
console.error(c), m(c);
|
|
343
343
|
});
|
|
344
344
|
}), X = () => {
|
|
345
345
|
W().then((a) => {
|
|
346
346
|
if (a.count > 0) {
|
|
347
|
-
let
|
|
347
|
+
let m = [];
|
|
348
348
|
a.items.forEach((u) => {
|
|
349
349
|
let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
|
|
350
|
-
h.searchParams.append("datasource", r), k ?
|
|
351
|
-
}), Promise.all(
|
|
352
|
-
L = u.filter((h) => !("error" in h)).map((h) => h[0]), R === "true" && (L = L.slice(0, JSON.parse(
|
|
350
|
+
h.searchParams.append("datasource", r), k ? m.push(fetch(h.href).then((c) => c.json())) : m.push(fetch(h.href).then((c) => c.json()));
|
|
351
|
+
}), Promise.all(m).then((u) => {
|
|
352
|
+
L = u.filter((h) => !("error" in h)).map((h) => h[0]), R === "true" && (L = L.slice(0, JSON.parse(C))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: L }, window.location.href);
|
|
353
353
|
});
|
|
354
354
|
} else
|
|
355
355
|
t(20, Y = !0);
|
|
@@ -357,29 +357,29 @@ function Le(s, e, t) {
|
|
|
357
357
|
}, p = () => {
|
|
358
358
|
be(d);
|
|
359
359
|
};
|
|
360
|
-
|
|
360
|
+
re(() => () => {
|
|
361
361
|
});
|
|
362
362
|
function x(a) {
|
|
363
|
-
|
|
363
|
+
oe[a ? "unshift" : "push"](() => {
|
|
364
364
|
f = a, t(19, f);
|
|
365
365
|
});
|
|
366
366
|
}
|
|
367
367
|
return s.$$set = (a) => {
|
|
368
|
-
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2,
|
|
368
|
+
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, g = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(9, _ = a.translationurl), "livecasino" in a && t(10, k = a.livecasino), "integratedgameframemobile" in a && t(11, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(12, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(13, F = a.gamepagemodalurl), "showgamename" in a && t(14, O = a.showgamename), "visiblegames" in a && t(15, C = a.visiblegames), "favorites" in a && t(16, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, G = a.lastplayedlimit), "casinomygames" in a && t(17, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(18, U = a.fetchviaevent);
|
|
369
369
|
}, s.$$.update = () => {
|
|
370
370
|
s.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
371
371
|
41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
|
|
372
372
|
512 && _ && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
373
|
-
524416 && v && f &&
|
|
374
|
-
524544 && w && f &&
|
|
375
|
-
524352 && b && f &&
|
|
373
|
+
524416 && v && f && ge(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
374
|
+
524544 && w && f && me(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
375
|
+
524352 && b && f && de(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
|
|
376
376
|
8 && d && p();
|
|
377
377
|
}, [
|
|
378
378
|
o,
|
|
379
379
|
r,
|
|
380
|
-
|
|
380
|
+
g,
|
|
381
381
|
d,
|
|
382
|
-
|
|
382
|
+
E,
|
|
383
383
|
y,
|
|
384
384
|
b,
|
|
385
385
|
v,
|
|
@@ -388,16 +388,16 @@ function Le(s, e, t) {
|
|
|
388
388
|
k,
|
|
389
389
|
N,
|
|
390
390
|
z,
|
|
391
|
-
|
|
391
|
+
F,
|
|
392
392
|
O,
|
|
393
|
-
|
|
393
|
+
C,
|
|
394
394
|
T,
|
|
395
395
|
R,
|
|
396
396
|
U,
|
|
397
397
|
f,
|
|
398
398
|
Y,
|
|
399
399
|
n,
|
|
400
|
-
|
|
400
|
+
S,
|
|
401
401
|
j,
|
|
402
402
|
G,
|
|
403
403
|
q,
|
|
@@ -411,7 +411,7 @@ class Pe extends ae {
|
|
|
411
411
|
e,
|
|
412
412
|
Le,
|
|
413
413
|
ke,
|
|
414
|
-
|
|
414
|
+
ie,
|
|
415
415
|
{
|
|
416
416
|
endpoint: 0,
|
|
417
417
|
datasource: 1,
|
|
@@ -580,7 +580,7 @@ class Pe extends ae {
|
|
|
580
580
|
this.$$set({ fetchviaevent: e }), l();
|
|
581
581
|
}
|
|
582
582
|
}
|
|
583
|
-
|
|
583
|
+
fe(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {} }, [], [], !0);
|
|
584
584
|
export {
|
|
585
585
|
Pe as default
|
|
586
586
|
};
|
package/components/{CasinoLastPlayedSectionNd-tIciGarW.js → CasinoLastPlayedSectionNd-ugG0QJz8.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { g as ye } from "./CasinoFilter-
|
|
3
|
-
function
|
|
1
|
+
import { b as ee, $ as te, S as ae, i as se, s as ie, f as l, c as ne, n as B, d as D, e as M, q as Z, g as P, k as A, h as le, o as re, j as oe, p as ue, w as ce, E as i, z as ge, A as me, B as de, C as fe, D as he } from "./CasinoFavoritesSectionNd-IjBGIAKV.js";
|
|
2
|
+
import { g as ye } from "./CasinoFilter-BiUAGzYo.js";
|
|
3
|
+
function H(s, e) {
|
|
4
4
|
ee(s, e);
|
|
5
5
|
}
|
|
6
6
|
function be(s) {
|
|
@@ -33,7 +33,7 @@ const V = {
|
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
function ve(s) {
|
|
36
|
-
|
|
36
|
+
ne(s, "svelte-9pcrt1", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
37
37
|
}
|
|
38
38
|
function we(s) {
|
|
39
39
|
let e;
|
|
@@ -268,7 +268,7 @@ function _e(s) {
|
|
|
268
268
|
), n;
|
|
269
269
|
return {
|
|
270
270
|
c() {
|
|
271
|
-
e = P("p"), n =
|
|
271
|
+
e = P("p"), n = ce(t), A(e, "class", "SearchLoading");
|
|
272
272
|
},
|
|
273
273
|
m(o, r) {
|
|
274
274
|
M(o, e, r), Z(e, n);
|
|
@@ -276,7 +276,7 @@ function _e(s) {
|
|
|
276
276
|
p(o, r) {
|
|
277
277
|
r[0] & /*$_*/
|
|
278
278
|
2097152 && t !== (t = /*$_*/
|
|
279
|
-
o[21]("noRecentGames") + "") &&
|
|
279
|
+
o[21]("noRecentGames") + "") && ue(n, t);
|
|
280
280
|
},
|
|
281
281
|
d(o) {
|
|
282
282
|
o && D(e);
|
|
@@ -285,10 +285,10 @@ function _e(s) {
|
|
|
285
285
|
}
|
|
286
286
|
function ke(s) {
|
|
287
287
|
let e, t;
|
|
288
|
-
function n(
|
|
288
|
+
function n(g, d) {
|
|
289
289
|
return (
|
|
290
290
|
/*lastPlayedEmpty*/
|
|
291
|
-
|
|
291
|
+
g[20] ? _e : we
|
|
292
292
|
);
|
|
293
293
|
}
|
|
294
294
|
let o = n(s), r = o(s);
|
|
@@ -296,41 +296,41 @@ function ke(s) {
|
|
|
296
296
|
c() {
|
|
297
297
|
e = P("div"), t = P("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
|
|
298
298
|
},
|
|
299
|
-
m(
|
|
300
|
-
M(
|
|
299
|
+
m(g, d) {
|
|
300
|
+
M(g, e, d), Z(e, t), r.m(t, null), s[26](e);
|
|
301
301
|
},
|
|
302
|
-
p(
|
|
303
|
-
o === (o = n(
|
|
302
|
+
p(g, d) {
|
|
303
|
+
o === (o = n(g)) && r ? r.p(g, d) : (r.d(1), r = o(g), r && (r.c(), r.m(t, null)));
|
|
304
304
|
},
|
|
305
|
-
i:
|
|
306
|
-
o:
|
|
307
|
-
d(
|
|
308
|
-
|
|
305
|
+
i: B,
|
|
306
|
+
o: B,
|
|
307
|
+
d(g) {
|
|
308
|
+
g && D(e), r.d(), s[26](null);
|
|
309
309
|
}
|
|
310
310
|
};
|
|
311
311
|
}
|
|
312
312
|
function Le(s, e, t) {
|
|
313
313
|
let n;
|
|
314
|
-
|
|
315
|
-
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency:
|
|
314
|
+
le(s, he, (a) => t(21, n = a));
|
|
315
|
+
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: O = "" } = e, { visiblegames: C = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: G = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, K = window.navigator.userAgent, Y = !1, L = [], I, f;
|
|
316
316
|
const Q = () => {
|
|
317
|
-
fetch(_).then((
|
|
318
|
-
Object.keys(
|
|
319
|
-
|
|
317
|
+
fetch(_).then((m) => m.json()).then((m) => {
|
|
318
|
+
Object.keys(m).forEach((u) => {
|
|
319
|
+
H(u, m[u]);
|
|
320
320
|
});
|
|
321
|
-
}).catch((
|
|
322
|
-
console.log(
|
|
321
|
+
}).catch((m) => {
|
|
322
|
+
console.log(m);
|
|
323
323
|
});
|
|
324
324
|
};
|
|
325
325
|
Object.keys(V).forEach((a) => {
|
|
326
|
-
|
|
326
|
+
H(a, V[a]);
|
|
327
327
|
});
|
|
328
|
-
const W = () => new Promise((a,
|
|
328
|
+
const W = () => new Promise((a, m) => {
|
|
329
329
|
let u = new URL(`${o}/v1/player/${y}/games/last-played`);
|
|
330
|
-
u.searchParams.append("unique", q), u.searchParams.append("limit", G), u.searchParams.append("order", j), u.searchParams.append("period",
|
|
330
|
+
u.searchParams.append("unique", q), u.searchParams.append("limit", G), u.searchParams.append("order", j), u.searchParams.append("period", S), ye(K) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = k ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
|
|
331
331
|
c.items = c.items.filter(($) => {
|
|
332
|
-
let
|
|
333
|
-
return $.gameCode == "OddsMatrix2" && (c.count--,
|
|
332
|
+
let J = !0;
|
|
333
|
+
return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
|
|
334
334
|
}), a(c), window.postMessage(
|
|
335
335
|
{
|
|
336
336
|
type: "AddNewCategory",
|
|
@@ -339,17 +339,17 @@ function Le(s, e, t) {
|
|
|
339
339
|
window.location.href
|
|
340
340
|
), window.postMessage({ type: "LastPlayedGames", data: c }, window.location.href);
|
|
341
341
|
}).catch((c) => {
|
|
342
|
-
console.error(c),
|
|
342
|
+
console.error(c), m(c);
|
|
343
343
|
});
|
|
344
344
|
}), X = () => {
|
|
345
345
|
W().then((a) => {
|
|
346
346
|
if (a.count > 0) {
|
|
347
|
-
let
|
|
347
|
+
let m = [];
|
|
348
348
|
a.items.forEach((u) => {
|
|
349
349
|
let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
|
|
350
|
-
h.searchParams.append("datasource", r), k ?
|
|
351
|
-
}), Promise.all(
|
|
352
|
-
L = u.filter((h) => !("error" in h)).map((h) => h[0]), R === "true" && (L = L.slice(0, JSON.parse(
|
|
350
|
+
h.searchParams.append("datasource", r), k ? m.push(fetch(h.href).then((c) => c.json())) : m.push(fetch(h.href).then((c) => c.json()));
|
|
351
|
+
}), Promise.all(m).then((u) => {
|
|
352
|
+
L = u.filter((h) => !("error" in h)).map((h) => h[0]), R === "true" && (L = L.slice(0, JSON.parse(C))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: L }, window.location.href);
|
|
353
353
|
});
|
|
354
354
|
} else
|
|
355
355
|
t(20, Y = !0);
|
|
@@ -357,29 +357,29 @@ function Le(s, e, t) {
|
|
|
357
357
|
}, p = () => {
|
|
358
358
|
be(d);
|
|
359
359
|
};
|
|
360
|
-
|
|
360
|
+
re(() => () => {
|
|
361
361
|
});
|
|
362
362
|
function x(a) {
|
|
363
|
-
|
|
363
|
+
oe[a ? "unshift" : "push"](() => {
|
|
364
364
|
f = a, t(19, f);
|
|
365
365
|
});
|
|
366
366
|
}
|
|
367
367
|
return s.$$set = (a) => {
|
|
368
|
-
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2,
|
|
368
|
+
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, g = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(9, _ = a.translationurl), "livecasino" in a && t(10, k = a.livecasino), "integratedgameframemobile" in a && t(11, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(12, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(13, F = a.gamepagemodalurl), "showgamename" in a && t(14, O = a.showgamename), "visiblegames" in a && t(15, C = a.visiblegames), "favorites" in a && t(16, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, G = a.lastplayedlimit), "casinomygames" in a && t(17, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(18, U = a.fetchviaevent);
|
|
369
369
|
}, s.$$.update = () => {
|
|
370
370
|
s.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
371
371
|
41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
|
|
372
372
|
512 && _ && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
373
|
-
524416 && v && f &&
|
|
374
|
-
524544 && w && f &&
|
|
375
|
-
524352 && b && f &&
|
|
373
|
+
524416 && v && f && ge(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
374
|
+
524544 && w && f && me(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
375
|
+
524352 && b && f && de(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
|
|
376
376
|
8 && d && p();
|
|
377
377
|
}, [
|
|
378
378
|
o,
|
|
379
379
|
r,
|
|
380
|
-
|
|
380
|
+
g,
|
|
381
381
|
d,
|
|
382
|
-
|
|
382
|
+
E,
|
|
383
383
|
y,
|
|
384
384
|
b,
|
|
385
385
|
v,
|
|
@@ -388,16 +388,16 @@ function Le(s, e, t) {
|
|
|
388
388
|
k,
|
|
389
389
|
N,
|
|
390
390
|
z,
|
|
391
|
-
|
|
391
|
+
F,
|
|
392
392
|
O,
|
|
393
|
-
|
|
393
|
+
C,
|
|
394
394
|
T,
|
|
395
395
|
R,
|
|
396
396
|
U,
|
|
397
397
|
f,
|
|
398
398
|
Y,
|
|
399
399
|
n,
|
|
400
|
-
|
|
400
|
+
S,
|
|
401
401
|
j,
|
|
402
402
|
G,
|
|
403
403
|
q,
|
|
@@ -411,7 +411,7 @@ class Pe extends ae {
|
|
|
411
411
|
e,
|
|
412
412
|
Le,
|
|
413
413
|
ke,
|
|
414
|
-
|
|
414
|
+
ie,
|
|
415
415
|
{
|
|
416
416
|
endpoint: 0,
|
|
417
417
|
datasource: 1,
|
|
@@ -580,7 +580,7 @@ class Pe extends ae {
|
|
|
580
580
|
this.$$set({ fetchviaevent: e }), l();
|
|
581
581
|
}
|
|
582
582
|
}
|
|
583
|
-
|
|
583
|
+
fe(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {} }, [], [], !0);
|
|
584
584
|
export {
|
|
585
585
|
Pe as default
|
|
586
586
|
};
|