@everymatrix/casino-page-nd 1.60.1 → 1.60.2

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.
Files changed (81) hide show
  1. package/components/{CasinoCalendar-Bm8jJ1Mr.js → CasinoCalendar-Ckt1PYIP.js} +943 -965
  2. package/components/CasinoCalendar-DEC4kbu7.cjs +19 -0
  3. package/components/{CasinoCalendar-DttQUJ_p.js → CasinoCalendar-DNaLXH6n.js} +643 -665
  4. package/components/{CasinoCalendarDailyDetails-DesTWpk5.js → CasinoCalendarDailyDetails-BdhBt4HO.js} +48 -48
  5. package/components/{CasinoCalendarDailyDetails-BRtEBxYn.js → CasinoCalendarDailyDetails-DOhd-4ZT.js} +48 -48
  6. package/components/{CasinoCalendarDailyDetails-Cjdo10t8.cjs → CasinoCalendarDailyDetails-EinwK-x0.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-B4jvb1pM.js → CasinoCalendarDailyItem-254MG7d4.js} +41 -41
  8. package/components/{CasinoCalendarDailyItem-D0zUyBnz.cjs → CasinoCalendarDailyItem-CEbe-dts.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-D7jrZ_LJ.js → CasinoCalendarDailyItem-I0d1EuRW.js} +41 -41
  10. package/components/{CasinoCollectionsProviders-CYGBqFuD.js → CasinoCollectionsProviders-CMFOwKOw.js} +103 -102
  11. package/components/{CasinoCollectionsProviders-NvzBTvSZ.cjs → CasinoCollectionsProviders-CYXVu8jO.cjs} +1 -1
  12. package/components/{CasinoCollectionsProviders-LsjiLvS-.js → CasinoCollectionsProviders-GaeLz6Pl.js} +55 -55
  13. package/components/{CasinoFavoritesSectionNd-Dk3bzQ5K.js → CasinoFavoritesSectionNd-B4D0hl5E.js} +84 -84
  14. package/components/{CasinoFavoritesSectionNd-Bcx-VF4R.js → CasinoFavoritesSectionNd-BoHMwhZB.js} +84 -84
  15. package/components/{CasinoFavoritesSectionNd-Dp06xpQZ.cjs → CasinoFavoritesSectionNd-CR6Z6CZh.cjs} +1 -1
  16. package/components/{CasinoFilter-DC7UpKxg.js → CasinoFilter-Cf6wLS_J.js} +242 -243
  17. package/components/{CasinoFilter-DBAa4rgv.js → CasinoFilter-DT_mfIxJ.js} +230 -229
  18. package/components/CasinoFilter-DkRFodLT.cjs +1 -0
  19. package/components/{CasinoGameThumbnailNd-D1Y5lxzn.cjs → CasinoGameThumbnailNd-BD54f2RF.cjs} +1 -1
  20. package/components/{CasinoGameThumbnailNd-BjpLrkZ8.js → CasinoGameThumbnailNd-CNU5-5m5.js} +67 -67
  21. package/components/{CasinoGameThumbnailNd-DHdA3PXP.js → CasinoGameThumbnailNd-DSQKsz0_.js} +67 -67
  22. package/components/{CasinoGamesCategorySectionNd-Dby9gxzi.js → CasinoGamesCategorySectionNd-Bd6gGgEh.js} +107 -107
  23. package/components/{CasinoGamesCategorySectionNd-JY01iUVQ.js → CasinoGamesCategorySectionNd-BuRFIJtK.js} +109 -109
  24. package/components/{CasinoGamesCategorySectionNd-DmxhlONv.cjs → CasinoGamesCategorySectionNd-COY2wvXt.cjs} +1 -1
  25. package/components/{CasinoJackpotBanner-C2j1yUXk.js → CasinoJackpotBanner-Dt56Ssbv.js} +74 -74
  26. package/components/{CasinoJackpotBanner-CFJR1YWM.js → CasinoJackpotBanner-QjY0RFqn.js} +69 -69
  27. package/components/{CasinoJackpotBanner-BgpQokE3.cjs → CasinoJackpotBanner-W78-HVH9.cjs} +1 -1
  28. package/components/{CasinoLastPlayedSectionNd-CvbF0yIj.cjs → CasinoLastPlayedSectionNd-ByFFS5o5.cjs} +1 -1
  29. package/components/{CasinoLastPlayedSectionNd-CNiGSO9P.js → CasinoLastPlayedSectionNd-CUYvupcs.js} +40 -40
  30. package/components/{CasinoLastPlayedSectionNd-BFMur79L.js → CasinoLastPlayedSectionNd-gaEfxq1v.js} +40 -40
  31. package/components/{CasinoMostPlayedSectionNd-Cd8_9RZg.cjs → CasinoMostPlayedSectionNd--2wP0mHF.cjs} +1 -1
  32. package/components/{CasinoMostPlayedSectionNd-C95S8Ddy.js → CasinoMostPlayedSectionNd-CPT_t8bb.js} +49 -49
  33. package/components/{CasinoMostPlayedSectionNd-Dvdde-rL.js → CasinoMostPlayedSectionNd-tJvnsfWN.js} +49 -49
  34. package/components/{CasinoMyGamesNd-CtKKovMF.js → CasinoMyGamesNd-Bw9Naqo0.js} +42 -42
  35. package/components/{CasinoMyGamesNd-CRzgBDL1.js → CasinoMyGamesNd-Cj5jIBR3.js} +43 -43
  36. package/components/{CasinoMyGamesNd-CkZEUp1h.cjs → CasinoMyGamesNd-D5WCuqu_.cjs} +1 -1
  37. package/components/{CasinoPageNd-0WxZJ5DA.js → CasinoPageNd-CCNhv4O2.js} +96 -96
  38. package/components/{CasinoPageNd-DUtUw9e5.cjs → CasinoPageNd-CUlbbH3Q.cjs} +1 -1
  39. package/components/{CasinoPageNd-D_2id8YE.js → CasinoPageNd-DMSwp1df.js} +108 -108
  40. package/components/{CasinoRandomGame-C1nrrW2N.cjs → CasinoRandomGame-CH4DPGtX.cjs} +1 -1
  41. package/components/{CasinoRandomGame-DfLR0r0i.js → CasinoRandomGame-CTVNBAys.js} +62 -62
  42. package/components/{CasinoRandomGame-D3B5tI8S.js → CasinoRandomGame-FAQztl67.js} +60 -60
  43. package/components/{CasinoSearchNd-CDcFq9eq.js → CasinoSearchNd-C9Fgrs2S.js} +53 -53
  44. package/components/{CasinoSearchNd-CmiMENnc.js → CasinoSearchNd-CebPzpLU.js} +53 -53
  45. package/components/{CasinoSearchNd-HvFyptlR.cjs → CasinoSearchNd-aaFbQbMI.cjs} +1 -1
  46. package/components/{CasinoSort-DcG0TUN4.cjs → CasinoSort-CD6jHMIw.cjs} +1 -1
  47. package/components/{CasinoSort-BU6PWDpY.js → CasinoSort-D-E5cV7V.js} +110 -111
  48. package/components/{CasinoSort-DX5EmYm_.js → CasinoSort-jHGGKT4T.js} +104 -103
  49. package/components/{CasinoWinners-BOa69aMH.js → CasinoWinners-BnSu5nnB.js} +166 -166
  50. package/components/{CasinoWinners-CYRn98z1.js → CasinoWinners-BpeW82lE.js} +143 -143
  51. package/components/{CasinoWinners-DwOZC8ON.cjs → CasinoWinners-DM9Vf73b.cjs} +1 -1
  52. package/components/{GeneralAnimationLoading-CXZNRm34.js → GeneralAnimationLoading-Bl-AgLq7.js} +16 -16
  53. package/components/{GeneralAnimationLoading-D0rjnOL3.js → GeneralAnimationLoading-oiUh9Rwe.js} +16 -16
  54. package/components/{GeneralAnimationLoading-B40sJaX7.cjs → GeneralAnimationLoading-vwMxZgQG.cjs} +1 -1
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-Bk7toWLj.js → casino-play-random-game-CLSQBVzD.js} +2 -2
  60. package/stencil/{casino-play-random-game-CKM_xKne.cjs → casino-play-random-game-CdZKN03s.cjs} +2 -2
  61. package/stencil/{casino-play-random-game-BW66Civ1.js → casino-play-random-game-Dm8A9dTR.js} +2 -2
  62. package/stencil/index-ab3202d6-C1hgKWrC.cjs +1 -0
  63. package/stencil/index-ab3202d6-OPh7hJp9.js +575 -0
  64. package/stencil/index-ab3202d6-hGs51skN.js +559 -0
  65. package/stencil/index-b2193545-DCd44oUP.cjs +1 -0
  66. package/stencil/index-b2193545-MPc38oBt.js +503 -0
  67. package/stencil/index-b2193545-lFMF9wMV.js +519 -0
  68. package/stencil/{ui-skeleton-sAoxznwb.js → ui-skeleton-0M0DsgcH.js} +2 -2
  69. package/stencil/{ui-skeleton-BpUWeWAr.js → ui-skeleton-DGBcSK-r.js} +2 -2
  70. package/stencil/{ui-skeleton-D2GYc4Vd.cjs → ui-skeleton-Dt8jS6rz.cjs} +1 -1
  71. package/stencil/{ui-skeleton-ea659b95-DmKUoob8.js → ui-skeleton-ea659b95-Denrk3xZ.js} +1 -1
  72. package/stencil/{ui-skeleton-ea659b95-CvOjl779.cjs → ui-skeleton-ea659b95-DoJviCLo.cjs} +1 -1
  73. package/stencil/{ui-skeleton-ea659b95-CaDtZrvR.js → ui-skeleton-ea659b95-Doo7piTc.js} +1 -1
  74. package/components/CasinoCalendar-DBpyNdzX.cjs +0 -19
  75. package/components/CasinoFilter-DVMmkZnS.cjs +0 -1
  76. package/stencil/index-ab3202d6-BW1TSmQg.js +0 -575
  77. package/stencil/index-ab3202d6-C6VFhXtX.cjs +0 -1
  78. package/stencil/index-ab3202d6-CkTejM5U.js +0 -559
  79. package/stencil/index-b2193545-BDVBrmNo.js +0 -503
  80. package/stencil/index-b2193545-CY979_sp.js +0 -519
  81. package/stencil/index-b2193545-DPplmtxO.cjs +0 -1
@@ -1,12 +1,12 @@
1
- import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as P, y as A, d as M, z as Z, G as H, j as D, k as re, o as oe, l as ue, m as ce, q as me, r as ge, Q as i, x as de, E as fe, I as he, R as ye } from "./CasinoCalendar-DttQUJ_p.js";
2
- import "./CasinoFavoritesSectionNd-Dk3bzQ5K.js";
3
- function Q(s, e) {
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 D, p as V, j as P, r as A, k as le, o as re, C as oe, m as ue, q as ce, Q as i, R as me, I as ge, J as de, K as fe, L as he, M as ye } from "./CasinoCalendar-DNaLXH6n.js";
2
+ import "./CasinoFavoritesSectionNd-B4D0hl5E.js";
3
+ function K(s, e) {
4
4
  ee(s, e);
5
5
  }
6
6
  function be(s) {
7
7
  te.set(s);
8
8
  }
9
- const V = {
9
+ const Q = {
10
10
  en: {
11
11
  noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
12
12
  },
@@ -33,7 +33,7 @@ const V = {
33
33
  }
34
34
  };
35
35
  function ve(s) {
36
- le(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))}");
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;
@@ -132,7 +132,7 @@ function we(s) {
132
132
  );
133
133
  },
134
134
  m(t, n) {
135
- M(t, e, n);
135
+ D(t, e, n);
136
136
  },
137
137
  p(t, n) {
138
138
  n[0] & /*session*/
@@ -246,7 +246,7 @@ function we(s) {
246
246
  );
247
247
  },
248
248
  d(t) {
249
- t && D(e);
249
+ t && M(e);
250
250
  }
251
251
  };
252
252
  }
@@ -257,18 +257,18 @@ function _e(s) {
257
257
  ), n;
258
258
  return {
259
259
  c() {
260
- e = P("p"), n = de(t), A(e, "class", "SearchLoading");
260
+ e = P("p"), n = ce(t), A(e, "class", "SearchLoading");
261
261
  },
262
262
  m(o, r) {
263
- M(o, e, r), Z(e, n);
263
+ D(o, e, r), V(e, n);
264
264
  },
265
265
  p(o, r) {
266
266
  r[0] & /*$_*/
267
267
  1048576 && t !== (t = /*$_*/
268
- o[20]("noRecentGames") + "") && fe(n, t);
268
+ o[20]("noRecentGames") + "") && ue(n, t);
269
269
  },
270
270
  d(o) {
271
- o && D(e);
271
+ o && M(e);
272
272
  }
273
273
  };
274
274
  }
@@ -286,7 +286,7 @@ function ke(s) {
286
286
  e = P("div"), t = P("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
287
287
  },
288
288
  m(m, d) {
289
- M(m, e, d), Z(e, t), r.m(t, null), s[26](e);
289
+ D(m, e, d), V(e, t), r.m(t, null), s[26](e);
290
290
  },
291
291
  p(m, d) {
292
292
  o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(t, null)));
@@ -294,29 +294,29 @@ function ke(s) {
294
294
  i: H,
295
295
  o: H,
296
296
  d(m) {
297
- m && D(e), r.d(), s[26](null);
297
+ m && M(e), r.d(), s[26](null);
298
298
  }
299
299
  };
300
300
  }
301
301
  function Le(s, e, t) {
302
302
  let n;
303
- re(s, he, (a) => t(20, n = a));
304
- let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = 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: S = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: G = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, B = window.navigator.userAgent, Y = !1, L = [], I, f;
305
- const K = () => {
303
+ le(s, ye, (a) => t(20, n = a));
304
+ let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: N = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: E = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: z = "false" } = e, { showgamename: O = "" } = e, { visiblegames: C = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: R = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, Z = window.navigator.userAgent, Y = !1, L = [], I, f;
305
+ const B = () => {
306
306
  fetch(_).then((g) => g.json()).then((g) => {
307
307
  Object.keys(g).forEach((u) => {
308
- Q(u, g[u]);
308
+ K(u, g[u]);
309
309
  });
310
310
  }).catch((g) => {
311
311
  console.log(g);
312
312
  });
313
313
  };
314
- Object.keys(V).forEach((a) => {
315
- Q(a, V[a]);
314
+ Object.keys(Q).forEach((a) => {
315
+ K(a, Q[a]);
316
316
  });
317
317
  const W = () => new Promise((a, g) => {
318
318
  let u = new URL(`${o}/v1/player/${y}/games/last-played`);
319
- u.searchParams.append("unique", q), u.searchParams.append("limit", G), u.searchParams.append("order", j), u.searchParams.append("period", C), ye(B) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = k ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
319
+ u.searchParams.append("unique", q), u.searchParams.append("limit", R), u.searchParams.append("order", j), u.searchParams.append("period", S), me(Z) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = k ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
320
320
  c.items = c.items.filter(($) => {
321
321
  let J = !0;
322
322
  return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
@@ -338,59 +338,59 @@ function Le(s, e, t) {
338
338
  let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
339
339
  h.searchParams.append("datasource", r), k ? g.push(fetch(h.href).then((c) => c.json())) : g.push(fetch(h.href).then((c) => c.json()));
340
340
  }), Promise.all(g).then((u) => {
341
- L = u.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);
341
+ L = u.filter((h) => !("error" in h)).map((h) => h[0]), G === "true" && (L = L.slice(0, JSON.parse(C))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: L }, window.location.href);
342
342
  });
343
343
  } else
344
344
  t(19, Y = !0);
345
345
  });
346
- }, x = () => {
346
+ }, p = () => {
347
347
  be(d);
348
348
  };
349
- oe(() => () => {
349
+ re(() => () => {
350
350
  });
351
- function p(a) {
352
- me[a ? "unshift" : "push"](() => {
351
+ function x(a) {
352
+ oe[a ? "unshift" : "push"](() => {
353
353
  f = a, t(18, f);
354
354
  });
355
355
  }
356
356
  return s.$$set = (a) => {
357
- "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = 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(21, _ = a.translationurl), "livecasino" in a && t(9, k = a.livecasino), "integratedgameframemobile" in a && t(10, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, F = a.gamepagemodalurl), "showgamename" in a && t(13, O = a.showgamename), "visiblegames" in a && t(14, S = a.visiblegames), "favorites" in a && t(15, T = 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(16, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent);
357
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, N = 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(21, _ = a.translationurl), "livecasino" in a && t(9, k = a.livecasino), "integratedgameframemobile" in a && t(10, E = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, F = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, z = a.gamepagemodalurl), "showgamename" in a && t(13, O = a.showgamename), "visiblegames" in a && t(14, C = a.visiblegames), "favorites" in a && t(15, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, R = a.lastplayedlimit), "casinomygames" in a && t(16, G = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent);
358
358
  }, s.$$.update = () => {
359
359
  s.$$.dirty[0] & /*endpoint, userid, lang*/
360
360
  41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
361
- 2097152 && _ && K(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
361
+ 2097152 && _ && B(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
362
362
  262272 && v && f && ge(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
363
- 262400 && w && f && ue(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
364
- 262208 && b && f && ce(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
365
- 8 && d && x();
363
+ 262400 && w && f && de(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
364
+ 262208 && b && f && fe(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
365
+ 8 && d && p();
366
366
  }, [
367
367
  o,
368
368
  r,
369
369
  m,
370
370
  d,
371
- E,
371
+ N,
372
372
  y,
373
373
  b,
374
374
  v,
375
375
  w,
376
376
  k,
377
- N,
378
- z,
377
+ E,
379
378
  F,
379
+ z,
380
380
  O,
381
- S,
381
+ C,
382
382
  T,
383
- R,
383
+ G,
384
384
  U,
385
385
  f,
386
386
  Y,
387
387
  n,
388
388
  _,
389
- C,
389
+ S,
390
390
  j,
391
- G,
391
+ R,
392
392
  q,
393
- p
393
+ x
394
394
  ];
395
395
  }
396
396
  class Pe extends ae {
@@ -400,7 +400,7 @@ class Pe extends ae {
400
400
  e,
401
401
  Le,
402
402
  ke,
403
- ne,
403
+ ie,
404
404
  {
405
405
  endpoint: 0,
406
406
  datasource: 1,
@@ -569,7 +569,7 @@ class Pe extends ae {
569
569
  this.$$set({ fetchviaevent: e }), l();
570
570
  }
571
571
  }
572
- ie(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);
572
+ he(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);
573
573
  export {
574
574
  Pe as default
575
575
  };
@@ -1,12 +1,12 @@
1
- import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as P, y as A, d as M, z as Z, G as H, j as D, k as re, o as oe, l as ue, m as ce, q as me, r as ge, Q as i, x as de, E as fe, I as he, R as ye } from "./CasinoCalendar-Bm8jJ1Mr.js";
2
- import "./CasinoFavoritesSectionNd-Bcx-VF4R.js";
3
- function Q(s, e) {
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 D, p as V, j as P, r as A, k as le, o as re, C as oe, m as ue, q as ce, Q as i, R as me, I as ge, J as de, K as fe, L as he, M as ye } from "./CasinoCalendar-Ckt1PYIP.js";
2
+ import "./CasinoFavoritesSectionNd-BoHMwhZB.js";
3
+ function K(s, e) {
4
4
  ee(s, e);
5
5
  }
6
6
  function be(s) {
7
7
  te.set(s);
8
8
  }
9
- const V = {
9
+ const Q = {
10
10
  en: {
11
11
  noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
12
12
  },
@@ -33,7 +33,7 @@ const V = {
33
33
  }
34
34
  };
35
35
  function ve(s) {
36
- le(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))}");
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;
@@ -132,7 +132,7 @@ function we(s) {
132
132
  );
133
133
  },
134
134
  m(t, n) {
135
- M(t, e, n);
135
+ D(t, e, n);
136
136
  },
137
137
  p(t, n) {
138
138
  n[0] & /*session*/
@@ -246,7 +246,7 @@ function we(s) {
246
246
  );
247
247
  },
248
248
  d(t) {
249
- t && D(e);
249
+ t && M(e);
250
250
  }
251
251
  };
252
252
  }
@@ -257,18 +257,18 @@ function _e(s) {
257
257
  ), n;
258
258
  return {
259
259
  c() {
260
- e = P("p"), n = de(t), A(e, "class", "SearchLoading");
260
+ e = P("p"), n = ce(t), A(e, "class", "SearchLoading");
261
261
  },
262
262
  m(o, r) {
263
- M(o, e, r), Z(e, n);
263
+ D(o, e, r), V(e, n);
264
264
  },
265
265
  p(o, r) {
266
266
  r[0] & /*$_*/
267
267
  1048576 && t !== (t = /*$_*/
268
- o[20]("noRecentGames") + "") && fe(n, t);
268
+ o[20]("noRecentGames") + "") && ue(n, t);
269
269
  },
270
270
  d(o) {
271
- o && D(e);
271
+ o && M(e);
272
272
  }
273
273
  };
274
274
  }
@@ -286,7 +286,7 @@ function ke(s) {
286
286
  e = P("div"), t = P("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
287
287
  },
288
288
  m(m, d) {
289
- M(m, e, d), Z(e, t), r.m(t, null), s[26](e);
289
+ D(m, e, d), V(e, t), r.m(t, null), s[26](e);
290
290
  },
291
291
  p(m, d) {
292
292
  o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(t, null)));
@@ -294,29 +294,29 @@ function ke(s) {
294
294
  i: H,
295
295
  o: H,
296
296
  d(m) {
297
- m && D(e), r.d(), s[26](null);
297
+ m && M(e), r.d(), s[26](null);
298
298
  }
299
299
  };
300
300
  }
301
301
  function Le(s, e, t) {
302
302
  let n;
303
- re(s, he, (a) => t(20, n = a));
304
- let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = 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: S = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: G = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, B = window.navigator.userAgent, Y = !1, L = [], I, f;
305
- const K = () => {
303
+ le(s, ye, (a) => t(20, n = a));
304
+ let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: N = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: E = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: z = "false" } = e, { showgamename: O = "" } = e, { visiblegames: C = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: R = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, Z = window.navigator.userAgent, Y = !1, L = [], I, f;
305
+ const B = () => {
306
306
  fetch(_).then((g) => g.json()).then((g) => {
307
307
  Object.keys(g).forEach((u) => {
308
- Q(u, g[u]);
308
+ K(u, g[u]);
309
309
  });
310
310
  }).catch((g) => {
311
311
  console.log(g);
312
312
  });
313
313
  };
314
- Object.keys(V).forEach((a) => {
315
- Q(a, V[a]);
314
+ Object.keys(Q).forEach((a) => {
315
+ K(a, Q[a]);
316
316
  });
317
317
  const W = () => new Promise((a, g) => {
318
318
  let u = new URL(`${o}/v1/player/${y}/games/last-played`);
319
- u.searchParams.append("unique", q), u.searchParams.append("limit", G), u.searchParams.append("order", j), u.searchParams.append("period", C), ye(B) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = k ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
319
+ u.searchParams.append("unique", q), u.searchParams.append("limit", R), u.searchParams.append("order", j), u.searchParams.append("period", S), me(Z) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = k ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
320
320
  c.items = c.items.filter(($) => {
321
321
  let J = !0;
322
322
  return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
@@ -338,59 +338,59 @@ function Le(s, e, t) {
338
338
  let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
339
339
  h.searchParams.append("datasource", r), k ? g.push(fetch(h.href).then((c) => c.json())) : g.push(fetch(h.href).then((c) => c.json()));
340
340
  }), Promise.all(g).then((u) => {
341
- L = u.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);
341
+ L = u.filter((h) => !("error" in h)).map((h) => h[0]), G === "true" && (L = L.slice(0, JSON.parse(C))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: L }, window.location.href);
342
342
  });
343
343
  } else
344
344
  t(19, Y = !0);
345
345
  });
346
- }, x = () => {
346
+ }, p = () => {
347
347
  be(d);
348
348
  };
349
- oe(() => () => {
349
+ re(() => () => {
350
350
  });
351
- function p(a) {
352
- me[a ? "unshift" : "push"](() => {
351
+ function x(a) {
352
+ oe[a ? "unshift" : "push"](() => {
353
353
  f = a, t(18, f);
354
354
  });
355
355
  }
356
356
  return s.$$set = (a) => {
357
- "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = 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(21, _ = a.translationurl), "livecasino" in a && t(9, k = a.livecasino), "integratedgameframemobile" in a && t(10, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, F = a.gamepagemodalurl), "showgamename" in a && t(13, O = a.showgamename), "visiblegames" in a && t(14, S = a.visiblegames), "favorites" in a && t(15, T = 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(16, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent);
357
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, N = 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(21, _ = a.translationurl), "livecasino" in a && t(9, k = a.livecasino), "integratedgameframemobile" in a && t(10, E = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, F = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, z = a.gamepagemodalurl), "showgamename" in a && t(13, O = a.showgamename), "visiblegames" in a && t(14, C = a.visiblegames), "favorites" in a && t(15, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, R = a.lastplayedlimit), "casinomygames" in a && t(16, G = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent);
358
358
  }, s.$$.update = () => {
359
359
  s.$$.dirty[0] & /*endpoint, userid, lang*/
360
360
  41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
361
- 2097152 && _ && K(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
361
+ 2097152 && _ && B(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
362
362
  262272 && v && f && ge(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
363
- 262400 && w && f && ue(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
364
- 262208 && b && f && ce(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
365
- 8 && d && x();
363
+ 262400 && w && f && de(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
364
+ 262208 && b && f && fe(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
365
+ 8 && d && p();
366
366
  }, [
367
367
  o,
368
368
  r,
369
369
  m,
370
370
  d,
371
- E,
371
+ N,
372
372
  y,
373
373
  b,
374
374
  v,
375
375
  w,
376
376
  k,
377
- N,
378
- z,
377
+ E,
379
378
  F,
379
+ z,
380
380
  O,
381
- S,
381
+ C,
382
382
  T,
383
- R,
383
+ G,
384
384
  U,
385
385
  f,
386
386
  Y,
387
387
  n,
388
388
  _,
389
- C,
389
+ S,
390
390
  j,
391
- G,
391
+ R,
392
392
  q,
393
- p
393
+ x
394
394
  ];
395
395
  }
396
396
  class Pe extends ae {
@@ -400,7 +400,7 @@ class Pe extends ae {
400
400
  e,
401
401
  Le,
402
402
  ke,
403
- ne,
403
+ ie,
404
404
  {
405
405
  endpoint: 0,
406
406
  datasource: 1,
@@ -569,7 +569,7 @@ class Pe extends ae {
569
569
  this.$$set({ fetchviaevent: e }), l();
570
570
  }
571
571
  }
572
- ie(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);
572
+ he(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);
573
573
  export {
574
574
  Pe as default
575
575
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DBpyNdzX.cjs");require("./CasinoFavoritesSectionNd-Dp06xpQZ.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[20]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[19]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(19,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(18,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(21,G=s.translationurl),"casinomygames"in s&&a(16,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(17,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&262272&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&262400&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&262208&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&2097152&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,P,F,c,T,i,G,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:21,casinomygames:16,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:17},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DEC4kbu7.cjs");require("./CasinoFavoritesSectionNd-CR6Z6CZh.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[20]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[19]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(19,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(18,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(21,G=s.translationurl),"casinomygames"in s&&a(16,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(17,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&262272&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&262400&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&262208&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&2097152&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,P,F,c,T,i,G,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:21,casinomygames:16,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:17},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;