@everymatrix/casino-page-nd 1.86.27 → 1.86.28
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-CLFFLvzr.js → CasinoFavoritesSectionNd-2CqXK5k6.js} +1 -1
- package/components/{CasinoFavoritesSectionNd-CIYjO9Xo.cjs → CasinoFavoritesSectionNd-BA3170u7.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-DCeYnvoM.js → CasinoFavoritesSectionNd-VUoFRlkN.js} +1 -1
- package/components/{CasinoGamesCategorySectionNd-CkHrJKK7.js → CasinoGamesCategorySectionNd-5PgdTQMT.js} +480 -470
- package/components/{CasinoGamesCategorySectionNd-Dikjdol8.js → CasinoGamesCategorySectionNd-BuihuDC2.js} +539 -529
- package/components/CasinoGamesCategorySectionNd-DWqSUxPN.cjs +1 -0
- package/components/{CasinoLastPlayedSectionNd-BgrQh6JT.js → CasinoLastPlayedSectionNd-BMGhNOXu.js} +78 -76
- package/components/CasinoLastPlayedSectionNd-Bn3Uk17d.cjs +1 -0
- package/components/{CasinoLastPlayedSectionNd-Bgk4eFk1.js → CasinoLastPlayedSectionNd-bJMrS8ke.js} +75 -73
- package/components/{CasinoMostPlayedSectionNd-B2mzOjbO.js → CasinoMostPlayedSectionNd-B9Iu77mh.js} +99 -97
- package/components/{CasinoMostPlayedSectionNd-DGRQ6ubz.js → CasinoMostPlayedSectionNd-Cg8GnJ0K.js} +96 -94
- package/components/CasinoMostPlayedSectionNd-Dc5doWw4.cjs +1 -0
- package/components/{CasinoMyGamesNd-DNQviRQW.js → CasinoMyGamesNd-BA393LO6.js} +3 -3
- package/components/{CasinoMyGamesNd-DSaEksBg.js → CasinoMyGamesNd-BNCUCVL7.js} +3 -3
- package/components/{CasinoMyGamesNd-BbAsUABa.cjs → CasinoMyGamesNd-Cb7ILFA8.cjs} +1 -1
- package/components/{CasinoPageNd-Cgk-cOhL.js → CasinoPageNd-1hhm_Mwh.js} +945 -915
- package/components/CasinoPageNd-DOo9al9X.cjs +1 -0
- package/components/{CasinoPageNd-BL7DXVWl.js → CasinoPageNd-stOLyY72.js} +1165 -1135
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.js +1 -1
- package/lazy/{casino-favorites-section-nd-D0jLhD_G.js → casino-favorites-section-nd-BEa1CVj9.js} +1 -1
- package/lazy/{casino-favorites-section-nd-CEmu0PHX.cjs → casino-favorites-section-nd-C7z7XFM5.cjs} +1 -1
- package/lazy/{casino-favorites-section-nd-Dz24Svx4.js → casino-favorites-section-nd-Czl8Lb7Z.js} +1 -1
- package/lazy/{casino-games-category-section-nd-CEUqwZ2H.js → casino-games-category-section-nd-Bek7LmEY.js} +1 -1
- package/lazy/{casino-games-category-section-nd-BUFJ6SV3.js → casino-games-category-section-nd-DV6aZgx8.js} +1 -1
- package/lazy/{casino-games-category-section-nd-Cg7T9ODM.cjs → casino-games-category-section-nd-Da1bg5pW.cjs} +1 -1
- package/lazy/{casino-last-played-section-nd-D9E0n-bS.cjs → casino-last-played-section-nd-C-w4JAEm.cjs} +1 -1
- package/lazy/{casino-last-played-section-nd-C9DpiUym.js → casino-last-played-section-nd-C_uZTXGG.js} +1 -1
- package/lazy/{casino-last-played-section-nd-DZdEOLyD.js → casino-last-played-section-nd-DM_bNI-P.js} +1 -1
- package/lazy/{casino-most-played-section-nd-CrISknqG.cjs → casino-most-played-section-nd-B-WRIbes.cjs} +1 -1
- package/lazy/{casino-most-played-section-nd-CAf-NQQK.js → casino-most-played-section-nd-BDMFdoDV.js} +1 -1
- package/lazy/{casino-most-played-section-nd-BtaA0hae.js → casino-most-played-section-nd-C6iB31Fp.js} +1 -1
- package/lazy/{casino-my-games-nd-5RyRXP6Z.js → casino-my-games-nd-DdlWVYGv.js} +1 -1
- package/lazy/{casino-my-games-nd-Bz503WUE.js → casino-my-games-nd-ZBAhbaPb.js} +1 -1
- package/lazy/{casino-my-games-nd-BDZ4Yq3i.cjs → casino-my-games-nd-juRtmjU0.cjs} +1 -1
- package/lazy/{casino-play-random-game-CWiaE6SD.js → casino-play-random-game-BAWUP39M.js} +1 -1
- package/lazy/{casino-play-random-game-BgvQt_9c.js → casino-play-random-game-CoZa7Ts_.js} +1 -1
- package/lazy/{casino-play-random-game-BlG2E9dd.cjs → casino-play-random-game-DeHBe5wA.cjs} +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-Cy_f5K43.cjs → casino-play-random-game-CgVzX6ft.cjs} +1 -1
- package/stencil/{casino-play-random-game-BgPgrR13.js → casino-play-random-game-DXVh75QU.js} +2 -2
- package/stencil/{casino-play-random-game-BiGMkSw_.js → casino-play-random-game-xNh3lCLn.js} +2 -2
- package/stencil/{casino-play-random-game_2-NeDOlhPe.js → casino-play-random-game_2-86oqD2c-.js} +78 -73
- package/stencil/{casino-play-random-game_2-D-e9crBu.js → casino-play-random-game_2-CpRfDfPV.js} +78 -73
- package/stencil/{casino-play-random-game_2-BZDqAOHM.cjs → casino-play-random-game_2-Dh2ixYRd.cjs} +3 -3
- package/components/CasinoGamesCategorySectionNd-ZqUp8Eds.cjs +0 -1
- package/components/CasinoLastPlayedSectionNd-BXdICRZs.cjs +0 -1
- package/components/CasinoMostPlayedSectionNd-8UvzEIFs.cjs +0 -1
- package/components/CasinoPageNd-DkoYdwVl.cjs +0 -1
package/components/{CasinoLastPlayedSectionNd-Bgk4eFk1.js → CasinoLastPlayedSectionNd-bJMrS8ke.js}
RENAMED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as
|
|
2
|
-
import "../lazy/casino-games-category-section-nd-
|
|
3
|
-
|
|
1
|
+
import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as T, q as K, j as P, u as D, k as le, l as re, o as oe, D as ue, p as me, r as ce, F as i, P as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-BELrT2lA.js";
|
|
2
|
+
import "../lazy/casino-games-category-section-nd-Bek7LmEY.js";
|
|
3
|
+
import { g as be } from "./CasinoGameThumbnailNd-BhMXUEuY.js";
|
|
4
|
+
function ve(s, e) {
|
|
4
5
|
ee(s, e);
|
|
5
6
|
}
|
|
6
|
-
function
|
|
7
|
+
function we(s) {
|
|
7
8
|
te.set(s);
|
|
8
9
|
}
|
|
9
|
-
const
|
|
10
|
+
const _e = {
|
|
10
11
|
en: {
|
|
11
12
|
noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
|
|
12
13
|
},
|
|
@@ -32,10 +33,10 @@ const V = {
|
|
|
32
33
|
noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
|
|
33
34
|
}
|
|
34
35
|
};
|
|
35
|
-
function
|
|
36
|
+
function ke(s) {
|
|
36
37
|
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
38
|
}
|
|
38
|
-
function
|
|
39
|
+
function Le(s) {
|
|
39
40
|
let e;
|
|
40
41
|
return {
|
|
41
42
|
c() {
|
|
@@ -137,7 +138,7 @@ function we(s) {
|
|
|
137
138
|
);
|
|
138
139
|
},
|
|
139
140
|
m(t, n) {
|
|
140
|
-
|
|
141
|
+
T(t, e, n);
|
|
141
142
|
},
|
|
142
143
|
p(t, n) {
|
|
143
144
|
n[0] & /*session*/
|
|
@@ -257,105 +258,105 @@ function we(s) {
|
|
|
257
258
|
);
|
|
258
259
|
},
|
|
259
260
|
d(t) {
|
|
260
|
-
t &&
|
|
261
|
+
t && M(e);
|
|
261
262
|
}
|
|
262
263
|
};
|
|
263
264
|
}
|
|
264
|
-
function
|
|
265
|
+
function Pe(s) {
|
|
265
266
|
let e, t = (
|
|
266
267
|
/*$_*/
|
|
267
268
|
s[21]("noRecentGames") + ""
|
|
268
269
|
), n;
|
|
269
270
|
return {
|
|
270
271
|
c() {
|
|
271
|
-
e = P("p"), n =
|
|
272
|
+
e = P("p"), n = ce(t), D(e, "class", "SearchLoading");
|
|
272
273
|
},
|
|
273
274
|
m(o, r) {
|
|
274
|
-
|
|
275
|
+
T(o, e, r), K(e, n);
|
|
275
276
|
},
|
|
276
277
|
p(o, r) {
|
|
277
278
|
r[0] & /*$_*/
|
|
278
279
|
2097152 && t !== (t = /*$_*/
|
|
279
|
-
o[21]("noRecentGames") + "") &&
|
|
280
|
+
o[21]("noRecentGames") + "") && me(n, t);
|
|
280
281
|
},
|
|
281
282
|
d(o) {
|
|
282
|
-
o &&
|
|
283
|
+
o && M(e);
|
|
283
284
|
}
|
|
284
285
|
};
|
|
285
286
|
}
|
|
286
|
-
function
|
|
287
|
+
function Se(s) {
|
|
287
288
|
let e, t;
|
|
288
|
-
function n(
|
|
289
|
+
function n(c, d) {
|
|
289
290
|
return (
|
|
290
291
|
/*lastPlayedEmpty*/
|
|
291
|
-
|
|
292
|
+
c[20] ? Pe : Le
|
|
292
293
|
);
|
|
293
294
|
}
|
|
294
295
|
let o = n(s), r = o(s);
|
|
295
296
|
return {
|
|
296
297
|
c() {
|
|
297
|
-
e = P("div"), t = P("div"), r.c(),
|
|
298
|
+
e = P("div"), t = P("div"), r.c(), D(t, "class", "CasinoLastPlayedSection"), D(e, "class", "CasinoGamesCategorySectionContainer");
|
|
298
299
|
},
|
|
299
|
-
m(
|
|
300
|
-
|
|
300
|
+
m(c, d) {
|
|
301
|
+
T(c, e, d), K(e, t), r.m(t, null), s[26](e);
|
|
301
302
|
},
|
|
302
|
-
p(
|
|
303
|
-
o === (o = n(
|
|
303
|
+
p(c, d) {
|
|
304
|
+
o === (o = n(c)) && r ? r.p(c, d) : (r.d(1), r = o(c), r && (r.c(), r.m(t, null)));
|
|
304
305
|
},
|
|
305
306
|
i: H,
|
|
306
307
|
o: H,
|
|
307
|
-
d(
|
|
308
|
-
|
|
308
|
+
d(c) {
|
|
309
|
+
c && M(e), r.d(), s[26](null);
|
|
309
310
|
}
|
|
310
311
|
};
|
|
311
312
|
}
|
|
312
|
-
function
|
|
313
|
+
function Ce(s, e, t) {
|
|
313
314
|
let n;
|
|
314
315
|
le(s, re, (a) => t(21, n = a));
|
|
315
|
-
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency:
|
|
316
|
-
const
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
316
|
+
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: c = "" } = e, { lang: d = "" } = e, { session: F = "" } = e, { userid: v = "" } = e, { mbsource: y } = e, { clientstyling: w = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: b = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: E = "false" } = e, { showgamename: O = "" } = e, { visiblegames: S = "" } = e, { favorites: U = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: G = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: Y = "true" } = e, V = window.navigator.userAgent, I = !1, L = [], J, f, Z;
|
|
317
|
+
const A = (a) => {
|
|
318
|
+
Object.keys(a).forEach((u) => {
|
|
319
|
+
ve(u, a[u]);
|
|
320
|
+
});
|
|
321
|
+
}, Q = () => {
|
|
322
|
+
fetch(b).then((u) => u.json()).then((u) => {
|
|
323
|
+
A(u);
|
|
324
|
+
}).catch((u) => {
|
|
325
|
+
console.log(u);
|
|
323
326
|
});
|
|
324
327
|
};
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
|
|
334
|
-
}), a(c), window.postMessage(
|
|
328
|
+
A(_e);
|
|
329
|
+
const W = () => new Promise((a, u) => {
|
|
330
|
+
let g = new URL(`${o}/v1/player/${v}/games/last-played`);
|
|
331
|
+
g.searchParams.append("unique", q), g.searchParams.append("limit", G), g.searchParams.append("order", j), g.searchParams.append("period", C), ge(V) === "PC" ? g.searchParams.append("device", "Desktop") : g.searchParams.append("device", "Mobile"), J = k ? g : g.href, fetch(J).then((m) => m.json()).then((m) => {
|
|
332
|
+
m.items = m.items.filter(($) => {
|
|
333
|
+
let B = !0;
|
|
334
|
+
return $.gameCode == "OddsMatrix2" && (m.count--, B = !1), B;
|
|
335
|
+
}), a(m), window.postMessage(
|
|
335
336
|
{
|
|
336
337
|
type: "AddNewCategory",
|
|
337
338
|
category: { name: "Last Played", id: "LASTPLAYED" }
|
|
338
339
|
},
|
|
339
340
|
window.location.href
|
|
340
|
-
), window.postMessage({ type: "LastPlayedGames", data:
|
|
341
|
-
}).catch((
|
|
342
|
-
console.error(
|
|
341
|
+
), window.postMessage({ type: "LastPlayedGames", data: m }, window.location.href);
|
|
342
|
+
}).catch((m) => {
|
|
343
|
+
console.error(m), u(m);
|
|
343
344
|
});
|
|
344
345
|
}), X = () => {
|
|
345
346
|
W().then((a) => {
|
|
346
347
|
if (a.count > 0) {
|
|
347
|
-
let
|
|
348
|
-
a.items.forEach((
|
|
349
|
-
let h = new URL(`${o}/v1/casino/games/${
|
|
350
|
-
h.searchParams.append("datasource", r), k ?
|
|
351
|
-
}), Promise.all(
|
|
352
|
-
L =
|
|
348
|
+
let u = [];
|
|
349
|
+
a.items.forEach((g) => {
|
|
350
|
+
let h = new URL(`${o}/v1/casino/games/${g.gameId}`);
|
|
351
|
+
h.searchParams.append("datasource", r), k ? u.push(fetch(h.href).then((m) => m.json())) : u.push(fetch(h.href).then((m) => m.json()));
|
|
352
|
+
}), Promise.all(u).then((g) => {
|
|
353
|
+
L = g.filter((h) => !("error" in h)).map((h) => h[0]), R === "true" && (L = L.slice(0, JSON.parse(S))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: L }, window.location.href);
|
|
353
354
|
});
|
|
354
355
|
} else
|
|
355
|
-
t(20,
|
|
356
|
+
t(20, I = !0);
|
|
356
357
|
});
|
|
357
358
|
}, p = () => {
|
|
358
|
-
|
|
359
|
+
we(d);
|
|
359
360
|
};
|
|
360
361
|
oe(() => () => {
|
|
361
362
|
});
|
|
@@ -365,37 +366,38 @@ function Le(s, e, t) {
|
|
|
365
366
|
});
|
|
366
367
|
}
|
|
367
368
|
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,
|
|
369
|
+
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, c = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, F = a.session), "userid" in a && t(5, v = a.userid), "mbsource" in a && t(6, y = a.mbsource), "clientstyling" in a && t(7, w = a.clientstyling), "clientstylingurl" in a && t(8, _ = a.clientstylingurl), "translationurl" in a && t(9, b = 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, E = a.gamepagemodalurl), "showgamename" in a && t(14, O = a.showgamename), "visiblegames" in a && t(15, S = a.visiblegames), "favorites" in a && t(16, U = a.favorites), "lastplayedperiod" in a && t(22, C = 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, Y = a.fetchviaevent);
|
|
369
370
|
}, s.$$.update = () => {
|
|
370
371
|
s.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
371
|
-
41 && o &&
|
|
372
|
-
512 &&
|
|
373
|
-
524416 &&
|
|
374
|
-
524544 &&
|
|
375
|
-
524352 &&
|
|
372
|
+
41 && o && v && d && X(), s.$$.dirty[0] & /*translationurl*/
|
|
373
|
+
512 && b && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
374
|
+
524416 && w && f && de(f, w), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
375
|
+
524544 && _ && f && fe(f, _), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
376
|
+
524352 && y && f && he(f, `${y}.Style`), s.$$.dirty[0] & /*mbsource, translationurl*/
|
|
377
|
+
576 && y && !b && be(`${y}.Translation`, Z, A), s.$$.dirty[0] & /*lang*/
|
|
376
378
|
8 && d && p();
|
|
377
379
|
}, [
|
|
378
380
|
o,
|
|
379
381
|
r,
|
|
380
|
-
|
|
382
|
+
c,
|
|
381
383
|
d,
|
|
382
384
|
F,
|
|
383
|
-
y,
|
|
384
|
-
b,
|
|
385
385
|
v,
|
|
386
|
+
y,
|
|
386
387
|
w,
|
|
387
388
|
_,
|
|
389
|
+
b,
|
|
388
390
|
k,
|
|
389
391
|
N,
|
|
390
|
-
E,
|
|
391
392
|
z,
|
|
393
|
+
E,
|
|
392
394
|
O,
|
|
393
395
|
S,
|
|
394
|
-
T,
|
|
395
|
-
R,
|
|
396
396
|
U,
|
|
397
|
-
|
|
397
|
+
R,
|
|
398
398
|
Y,
|
|
399
|
+
f,
|
|
400
|
+
I,
|
|
399
401
|
n,
|
|
400
402
|
C,
|
|
401
403
|
j,
|
|
@@ -404,13 +406,13 @@ function Le(s, e, t) {
|
|
|
404
406
|
x
|
|
405
407
|
];
|
|
406
408
|
}
|
|
407
|
-
class
|
|
409
|
+
class je extends ae {
|
|
408
410
|
constructor(e) {
|
|
409
411
|
super(), se(
|
|
410
412
|
this,
|
|
411
413
|
e,
|
|
412
|
-
|
|
413
|
-
|
|
414
|
+
Ce,
|
|
415
|
+
Se,
|
|
414
416
|
ie,
|
|
415
417
|
{
|
|
416
418
|
endpoint: 0,
|
|
@@ -437,7 +439,7 @@ class Pe extends ae {
|
|
|
437
439
|
lastplayedunique: 25,
|
|
438
440
|
fetchviaevent: 18
|
|
439
441
|
},
|
|
440
|
-
|
|
442
|
+
ke,
|
|
441
443
|
[-1, -1]
|
|
442
444
|
);
|
|
443
445
|
}
|
|
@@ -580,7 +582,7 @@ class Pe extends ae {
|
|
|
580
582
|
this.$$set({ fetchviaevent: e }), l();
|
|
581
583
|
}
|
|
582
584
|
}
|
|
583
|
-
ye(
|
|
585
|
+
ye(je, { 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
586
|
export {
|
|
585
|
-
|
|
587
|
+
je as default
|
|
586
588
|
};
|