@everymatrix/casino-page 1.74.1 → 1.74.3

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 (94) hide show
  1. package/components/{CasinoCalendar-nkrznZpo.js → CasinoCalendar-BuZNkBai.js} +1032 -1067
  2. package/components/CasinoCalendar-CFUoQxq0.cjs +19 -0
  3. package/components/{CasinoCalendar-OJZrTCla.js → CasinoCalendar-DdMvhCOA.js} +1070 -1105
  4. package/components/{CasinoCalendarDailyDetails-D-PrPj8s.js → CasinoCalendarDailyDetails-BCVIut1W.js} +91 -91
  5. package/components/{CasinoCalendarDailyDetails-Jxs5L-1T.js → CasinoCalendarDailyDetails-ClfGxbko.js} +91 -91
  6. package/components/CasinoCalendarDailyDetails-Dqb6yp--.cjs +1 -0
  7. package/components/{CasinoCalendarDailyItem-BJHwZkKJ.cjs → CasinoCalendarDailyItem-BdDom59r.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-DrZ46wZq.js → CasinoCalendarDailyItem-C1ADnaTt.js} +34 -34
  9. package/components/{CasinoCalendarDailyItem-D24LBmnc.js → CasinoCalendarDailyItem-CYfiDQkf.js} +34 -34
  10. package/components/{CasinoCollectionsProviders-CTlOHOW4.js → CasinoCollectionsProviders-4kHMGeo6.js} +44 -44
  11. package/components/{CasinoCollectionsProviders-DBLRCWWo.js → CasinoCollectionsProviders-Br5ZzIwL.js} +68 -68
  12. package/components/{CasinoCollectionsProviders-CzBxsowK.cjs → CasinoCollectionsProviders-CM25qKz7.cjs} +1 -1
  13. package/components/{CasinoFavoritesSection-BWJir6WQ.js → CasinoFavoritesSection-C-Vh_jRK.js} +19 -19
  14. package/components/{CasinoFavoritesSection-DU8Oq8RG.js → CasinoFavoritesSection-CK-RLGCt.js} +19 -19
  15. package/components/{CasinoFavoritesSection-CTQ4--_5.cjs → CasinoFavoritesSection-Tnf79ngl.cjs} +1 -1
  16. package/components/{CasinoFilter-CTkRb1UC.js → CasinoFilter-1-YLqdq0.js} +50 -50
  17. package/components/{CasinoFilter-BAo8wmWH.cjs → CasinoFilter-Cc3Yv48X.cjs} +1 -1
  18. package/components/{CasinoFilter-5hTa8CKw.js → CasinoFilter-akdowSz4.js} +50 -50
  19. package/components/{CasinoGameThumbnail-BHB8fvqJ.js → CasinoGameThumbnail--7-bfdJ_.js} +167 -167
  20. package/components/{CasinoGameThumbnail-Bzj5m3wW.cjs → CasinoGameThumbnail-BpBjsCjD.cjs} +1 -1
  21. package/components/{CasinoGameThumbnail-CFBYoiMW.js → CasinoGameThumbnail-QX8Y_4Bo.js} +169 -169
  22. package/components/{CasinoGamesCategorySection-y4lCCCis.js → CasinoGamesCategorySection-B2B6Ec4x.js} +95 -95
  23. package/components/CasinoGamesCategorySection-Begzaifx.cjs +1 -0
  24. package/components/{CasinoGamesCategorySection-DaQMlHrt.js → CasinoGamesCategorySection-oHVHccwm.js} +91 -91
  25. package/components/{CasinoJackpotBanner-C51E4rGA.js → CasinoJackpotBanner--90-l4pm.js} +84 -84
  26. package/components/{CasinoJackpotBanner-CTxmfDSK.js → CasinoJackpotBanner-Bdzek1XC.js} +90 -90
  27. package/components/{CasinoJackpotBanner-DBer4LlE.cjs → CasinoJackpotBanner-CyyNiIY2.cjs} +1 -1
  28. package/components/{CasinoLastPlayedSection-v8ZAOCXi.cjs → CasinoLastPlayedSection-62R0XCfe.cjs} +1 -1
  29. package/components/{CasinoLastPlayedSection-B0r2813y.js → CasinoLastPlayedSection-C9uSdltZ.js} +41 -41
  30. package/components/{CasinoLastPlayedSection-Rk8KtGRk.js → CasinoLastPlayedSection-Rf3z6wkM.js} +41 -41
  31. package/components/{CasinoMostPlayedSection-B0TKHQ_-.cjs → CasinoMostPlayedSection-BCJtNlb4.cjs} +1 -1
  32. package/components/{CasinoMostPlayedSection-BZjiYAQN.js → CasinoMostPlayedSection-Bx27HRdH.js} +46 -46
  33. package/components/{CasinoMostPlayedSection-DqxQ-DK9.js → CasinoMostPlayedSection-CJSaZyqN.js} +46 -46
  34. package/components/{CasinoMyGames-DZGTZ6Z4.js → CasinoMyGames-B24lfIIQ.js} +43 -43
  35. package/components/{CasinoMyGames-C6bug9de.cjs → CasinoMyGames-CGvXSnA_.cjs} +1 -1
  36. package/components/{CasinoMyGames-ByCOdf2W.js → CasinoMyGames-CH2OwYz7.js} +42 -42
  37. package/components/{CasinoPage-vjh_V_MD.cjs → CasinoPage-B1g_jr0K.cjs} +1 -1
  38. package/components/{CasinoPage-I1W8j6ML.js → CasinoPage-BGrVihVz.js} +107 -107
  39. package/components/{CasinoPage-B4bksvMb.js → CasinoPage-CNqNB1PI.js} +118 -118
  40. package/components/{CasinoRandomGame-KabCqklE.cjs → CasinoRandomGame-CdQVMLbd.cjs} +2 -2
  41. package/components/{CasinoRandomGame-BAEkb2tu.js → CasinoRandomGame-CtAOJXnF.js} +110 -110
  42. package/components/{CasinoRandomGame-BmMyshhG.js → CasinoRandomGame-D7RweU9Y.js} +59 -59
  43. package/components/{CasinoSearch-Bs8otbk0.cjs → CasinoSearch-BF4OC6tZ.cjs} +1 -1
  44. package/components/{CasinoSearch-BsC6Uxi3.js → CasinoSearch-C2V-Dbqi.js} +107 -107
  45. package/components/{CasinoSearch-Cv4TRgFp.js → CasinoSearch-CM0yzQsF.js} +110 -110
  46. package/components/{CasinoSort-DuhCSjcj.js → CasinoSort-5WNP_G3S.js} +37 -37
  47. package/components/{CasinoSort-Bq2rlwaB.js → CasinoSort-BawqALZV.js} +37 -37
  48. package/components/{CasinoSort-DoQJjcDE.cjs → CasinoSort-Du3lmlNe.cjs} +1 -1
  49. package/components/{CasinoWinners-DrPaYn8M.js → CasinoWinners-BE029Vxq.js} +92 -92
  50. package/components/{CasinoWinners-BW3nKr2t.js → CasinoWinners-DCiuykjq.js} +91 -91
  51. package/components/{CasinoWinners-D7mQLu0o.cjs → CasinoWinners-XkR8Kmij.cjs} +1 -1
  52. package/components/{GeneralAnimationLoading-BK4eHT2E.js → GeneralAnimationLoading-BETs-Kib.js} +14 -14
  53. package/components/{GeneralAnimationLoading-BlaU9rOM.js → GeneralAnimationLoading-BlN4kA08.js} +14 -14
  54. package/components/{GeneralAnimationLoading-QrfZPZRh.cjs → GeneralAnimationLoading-lIyg2-0l.cjs} +1 -1
  55. package/es2015/casino-page.cjs +1 -1
  56. package/es2015/casino-page.js +1 -1
  57. package/esnext/casino-page.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-Ct3VSPhq.js → casino-play-random-game-Bc2XLGRl.js} +1 -1
  60. package/stencil/{casino-play-random-game-DyfvRpYv.js → casino-play-random-game-d1PoE_Vf.js} +1 -1
  61. package/stencil/{casino-play-random-game-BMX5GkhL.cjs → casino-play-random-game-wi94nFPy.cjs} +1 -1
  62. package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
  63. package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-C7V2DWFg.js} +176 -176
  64. package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-DIpvPU9H.js} +187 -187
  65. package/stencil/index-ab3202d6-BwBGn0Oj.cjs +1 -0
  66. package/stencil/index-ab3202d6-CiI9jxo9.js +575 -0
  67. package/stencil/{index-ab3202d6-BXlsno-y.js → index-ab3202d6-Cowbr6qN.js} +195 -195
  68. package/stencil/index-b2193545-BL364Gzq.js +503 -0
  69. package/stencil/index-b2193545-DdqB2rk5.js +519 -0
  70. package/stencil/index-b2193545-DmjUkkS8.cjs +1 -0
  71. package/stencil/{ui-image-bN_3pDWc.js → ui-image-B_HWMBI-.js} +1 -1
  72. package/stencil/{ui-image-2_i-_1cj.js → ui-image-CzGNxx73.js} +1 -1
  73. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
  74. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
  75. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
  76. package/stencil/{ui-image-eY8BEG3a.cjs → ui-image-wubI3fkK.cjs} +1 -1
  77. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-CzFe50WB.js} +2 -2
  78. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
  79. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-z5LhXZY2.js} +2 -2
  80. package/stencil/{ui-skeleton-CSMUbPcJ.js → ui-skeleton-CsmgJUYN.js} +2 -2
  81. package/stencil/{ui-skeleton-DcmFcn7k.cjs → ui-skeleton-DTQ__6LQ.cjs} +1 -1
  82. package/stencil/{ui-skeleton-ae35c6f2-DDHvWmVB.js → ui-skeleton-ae35c6f2-BRNiEwlg.js} +1 -1
  83. package/stencil/{ui-skeleton-ae35c6f2-D1Tb0H8D.cjs → ui-skeleton-ae35c6f2-CZuWo9GO.cjs} +1 -1
  84. package/stencil/{ui-skeleton-ae35c6f2-9hZ7WFQc.js → ui-skeleton-ae35c6f2-CxSezPtG.js} +1 -1
  85. package/stencil/{ui-skeleton-CiszU04_.js → ui-skeleton-yRWBmyfK.js} +2 -2
  86. package/components/CasinoCalendar-BEFWuyZL.cjs +0 -19
  87. package/components/CasinoCalendarDailyDetails-B0uEWbbt.cjs +0 -1
  88. package/components/CasinoGamesCategorySection-VR5uMrVH.cjs +0 -1
  89. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
  90. package/stencil/index-ab3202d6-Dv-5ZSZX.cjs +0 -1
  91. package/stencil/index-ab3202d6-ncf4oQhs.js +0 -575
  92. package/stencil/index-b2193545-DVT8jgVo.cjs +0 -1
  93. package/stencil/index-b2193545-Dxw-xjac.js +0 -503
  94. package/stencil/index-b2193545-TbRClz6K.js +0 -519
@@ -1,12 +1,12 @@
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 Z, j as L, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, P as me, H as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-OJZrTCla.js";
2
- import "./CasinoFavoritesSection-BWJir6WQ.js";
3
- function K(s, e) {
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 B, G as I, j as D, k as re, o as oe, n as ue, p as ce, q as me, r as ge, H as i, x as de, E as fe, J as he, P as ye } from "./CasinoCalendar-DdMvhCOA.js";
2
+ import "./CasinoFavoritesSection-C-Vh_jRK.js";
3
+ function V(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 Z = {
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,13 +33,13 @@ const V = {
33
33
  }
34
34
  };
35
35
  function ve(s) {
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))}");
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))}");
37
37
  }
38
38
  function we(s) {
39
39
  let e;
40
40
  return {
41
41
  c() {
42
- e = L("casino-games-category-section"), i(
42
+ e = P("casino-games-category-section"), i(
43
43
  e,
44
44
  "session",
45
45
  /*session*/
@@ -132,7 +132,7 @@ function we(s) {
132
132
  );
133
133
  },
134
134
  m(t, n) {
135
- D(t, e, n);
135
+ M(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 && M(e);
249
+ t && D(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 = L("p"), n = ce(t), A(e, "class", "SearchLoading");
260
+ e = P("p"), n = de(t), A(e, "class", "SearchLoading");
261
261
  },
262
262
  m(o, r) {
263
- D(o, e, r), Z(e, n);
263
+ M(o, e, r), B(e, n);
264
264
  },
265
265
  p(o, r) {
266
266
  r[0] & /*$_*/
267
267
  1048576 && t !== (t = /*$_*/
268
- o[20]("noRecentGames") + "") && ue(n, t);
268
+ o[20]("noRecentGames") + "") && fe(n, t);
269
269
  },
270
270
  d(o) {
271
- o && M(e);
271
+ o && D(e);
272
272
  }
273
273
  };
274
274
  }
@@ -283,43 +283,43 @@ function ke(s) {
283
283
  let o = n(s), r = o(s);
284
284
  return {
285
285
  c() {
286
- e = L("div"), t = L("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
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
- D(m, e, d), Z(e, t), r.m(t, null), s[26](e);
289
+ M(m, e, d), B(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)));
293
293
  },
294
- i: H,
295
- o: H,
294
+ i: I,
295
+ o: I,
296
296
  d(m) {
297
- m && M(e), r.d(), s[26](null);
297
+ m && D(e), r.d(), s[26](null);
298
298
  }
299
299
  };
300
300
  }
301
- function Le(s, e, t) {
301
+ function Pe(s, e, t) {
302
302
  let n;
303
- le(s, ye, (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, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: N = "false" } = e, { gamepagemodalurl: z = "false" } = e, { showgamename: O = "" } = e, { visiblegames: P = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: S = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, B = window.navigator.userAgent, Y = !1, k = [], I, f;
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, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: z = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: N = "false" } = e, { showgamename: O = "" } = e, { visiblegames: L = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: C = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, K = window.navigator.userAgent, Y = !1, k = [], J, f;
305
305
  const Q = () => {
306
306
  fetch(w).then((g) => g.json()).then((g) => {
307
307
  Object.keys(g).forEach((u) => {
308
- K(u, g[u]);
308
+ V(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
- K(a, V[a]);
314
+ Object.keys(Z).forEach((a) => {
315
+ V(a, Z[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", R), u.searchParams.append("limit", j), u.searchParams.append("order", S), u.searchParams.append("period", C), me(B) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = _ ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
319
+ u.searchParams.append("unique", R), u.searchParams.append("limit", j), u.searchParams.append("order", C), u.searchParams.append("period", S), ye(K) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), J = _ ? u : u.href, fetch(J).then((c) => c.json()).then((c) => {
320
320
  c.items = c.items.filter(($) => {
321
- let J = !0;
322
- return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
321
+ let H = !0;
322
+ return $.gameCode == "OddsMatrix2" && (c.count--, H = !1), H;
323
323
  }), a(c), window.postMessage(
324
324
  {
325
325
  type: "AddNewCategory",
@@ -338,7 +338,7 @@ function Le(s, e, t) {
338
338
  let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
339
339
  h.searchParams.append("datasource", r), _ ? 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
- k = u.filter((h) => !("error" in h)).map((h) => h[0]), G === "true" && (k = k.slice(0, JSON.parse(P))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: k }, window.location.href);
341
+ k = u.filter((h) => !("error" in h)).map((h) => h[0]), G === "true" && (k = k.slice(0, JSON.parse(L))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: k }, window.location.href);
342
342
  });
343
343
  } else
344
344
  t(19, Y = !0);
@@ -346,22 +346,22 @@ function Le(s, e, t) {
346
346
  }, p = () => {
347
347
  be(d);
348
348
  };
349
- re(() => () => {
349
+ oe(() => () => {
350
350
  });
351
351
  function x(a) {
352
- oe[a ? "unshift" : "push"](() => {
352
+ ue[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), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(21, w = a.translationurl), "livecasino" in a && t(8, _ = a.livecasino), "integratedgameframemobile" in a && t(9, F = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, N = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, z = a.gamepagemodalurl), "showgamename" in a && t(12, O = a.showgamename), "visiblegames" in a && t(13, P = a.visiblegames), "favorites" in a && t(14, T = a.favorites), "lastplayedperiod" in a && t(22, C = a.lastplayedperiod), "lastplayedorder" in a && t(23, S = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(15, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(16, U = a.fetchviaevent), "mbsource" in a && t(17, q = a.mbsource);
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), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(21, w = a.translationurl), "livecasino" in a && t(8, _ = a.livecasino), "integratedgameframemobile" in a && t(9, z = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, F = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, N = a.gamepagemodalurl), "showgamename" in a && t(12, O = a.showgamename), "visiblegames" in a && t(13, L = a.visiblegames), "favorites" in a && t(14, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, C = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(15, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(16, U = a.fetchviaevent), "mbsource" in a && t(17, q = a.mbsource);
358
358
  }, s.$$.update = () => {
359
359
  s.$$.dirty[0] & /*endpoint, userid, lang*/
360
360
  41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
361
361
  2097152 && w && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
362
- 262208 && b && f && ge(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
363
- 262272 && v && f && de(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
364
- 393216 && f && fe(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
362
+ 262208 && b && f && ce(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
363
+ 262272 && v && f && me(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
364
+ 393216 && f && ge(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
365
365
  8 && d && p();
366
366
  }, [
367
367
  o,
@@ -373,11 +373,11 @@ function Le(s, e, t) {
373
373
  b,
374
374
  v,
375
375
  _,
376
+ z,
376
377
  F,
377
378
  N,
378
- z,
379
379
  O,
380
- P,
380
+ L,
381
381
  T,
382
382
  G,
383
383
  U,
@@ -386,21 +386,21 @@ function Le(s, e, t) {
386
386
  Y,
387
387
  n,
388
388
  w,
389
- C,
390
389
  S,
390
+ C,
391
391
  j,
392
392
  R,
393
393
  x
394
394
  ];
395
395
  }
396
- class Pe extends ae {
396
+ class Le extends ae {
397
397
  constructor(e) {
398
398
  super(), se(
399
399
  this,
400
400
  e,
401
- Le,
401
+ Pe,
402
402
  ke,
403
- ie,
403
+ ne,
404
404
  {
405
405
  endpoint: 0,
406
406
  datasource: 1,
@@ -569,7 +569,7 @@ class Pe extends ae {
569
569
  this.$$set({ mbsource: e }), l();
570
570
  }
571
571
  }
572
- he(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
572
+ ie(Le, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
573
573
  export {
574
- Pe as default
574
+ Le as default
575
575
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BEFWuyZL.cjs");require("./CasinoFavoritesSection-CTQ4--_5.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"),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-CFUoQxq0.cjs");require("./CasinoFavoritesSection-Tnf79ngl.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"),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,12 +1,12 @@
1
- import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as H, d as A, h as E, p as B, j as P, r as M, k as ie, o as oe, P as le, C as re, m as me, q as ge, E as n, H as ce, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-nkrznZpo.js";
2
- import "./CasinoFavoritesSection-DU8Oq8RG.js";
3
- function K(a, e) {
1
+ import { a as $, $ as ee, S as te, i as se, f as l, c as ae, s as ne, b as ie, e as P, y as M, d as A, z as K, G as H, j as E, k as oe, o as le, P as re, n as me, p as ge, q as ce, r as ue, H as n, x as de, E as fe, J as he } from "./CasinoCalendar-BuZNkBai.js";
2
+ import "./CasinoFavoritesSection-CK-RLGCt.js";
3
+ function Y(a, e) {
4
4
  $(a, e);
5
5
  }
6
6
  function ye(a) {
7
7
  ee.set(a);
8
8
  }
9
- const Y = {
9
+ const B = {
10
10
  en: {
11
11
  noGames: "No games in most played"
12
12
  },
@@ -63,7 +63,7 @@ const Y = {
63
63
  }
64
64
  };
65
65
  function be(a) {
66
- ne(a, "svelte-1de9den", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
66
+ ie(a, "svelte-1de9den", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
67
67
  }
68
68
  function ve(a) {
69
69
  let e;
@@ -162,7 +162,7 @@ function ve(a) {
162
162
  );
163
163
  },
164
164
  m(s, i) {
165
- E(s, e, i);
165
+ A(s, e, i);
166
166
  },
167
167
  p(s, i) {
168
168
  i[0] & /*session*/
@@ -276,7 +276,7 @@ function ve(a) {
276
276
  );
277
277
  },
278
278
  d(s) {
279
- s && A(e);
279
+ s && E(e);
280
280
  }
281
281
  };
282
282
  }
@@ -287,22 +287,22 @@ function _e(a) {
287
287
  ), i;
288
288
  return {
289
289
  c() {
290
- e = P("p"), i = ge(s), M(e, "class", "SearchLoading");
290
+ e = P("p"), i = de(s), M(e, "class", "SearchLoading");
291
291
  },
292
292
  m(m, r) {
293
- E(m, e, r), B(e, i);
293
+ A(m, e, r), K(e, i);
294
294
  },
295
295
  p(m, r) {
296
296
  r[0] & /*$_*/
297
297
  1048576 && s !== (s = /*$_*/
298
- m[20]("noGames") + "") && me(i, s);
298
+ m[20]("noGames") + "") && fe(i, s);
299
299
  },
300
300
  d(m) {
301
- m && A(e);
301
+ m && E(e);
302
302
  }
303
303
  };
304
304
  }
305
- function ke(a) {
305
+ function Ge(a) {
306
306
  let e, s;
307
307
  function i(g, c) {
308
308
  return (
@@ -316,7 +316,7 @@ function ke(a) {
316
316
  e = P("div"), s = P("div"), r.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
317
317
  },
318
318
  m(g, c) {
319
- E(g, e, c), B(e, s), r.m(s, null), a[24](e);
319
+ A(g, e, c), K(e, s), r.m(s, null), a[24](e);
320
320
  },
321
321
  p(g, c) {
322
322
  m === (m = i(g)) && r ? r.p(g, c) : (r.d(1), r = m(g), r && (r.c(), r.m(s, null)));
@@ -324,32 +324,32 @@ function ke(a) {
324
324
  i: H,
325
325
  o: H,
326
326
  d(g) {
327
- g && A(e), r.d(), a[24](null);
327
+ g && E(e), r.d(), a[24](null);
328
328
  }
329
329
  };
330
330
  }
331
- function we(a, e, s) {
331
+ function ke(a, e, s) {
332
332
  let i;
333
- ie(a, he, (t) => s(20, i = t));
334
- let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: G = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: S = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: I = "true" } = e, Q = window.navigator.userAgent;
333
+ oe(a, he, (t) => s(20, i = t));
334
+ let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: G = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: w = "" } = e, { casinomygames: S = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: z = "true" } = e, Q = window.navigator.userAgent;
335
335
  const V = () => {
336
- fetch(G).then((o) => o.json()).then((o) => {
336
+ fetch(w).then((o) => o.json()).then((o) => {
337
337
  Object.keys(o).forEach((d) => {
338
- K(d, o[d]);
338
+ Y(d, o[d]);
339
339
  });
340
340
  }).catch((o) => {
341
341
  console.log(o);
342
342
  });
343
343
  };
344
- Object.keys(Y).forEach((t) => {
345
- K(t, Y[t]);
344
+ Object.keys(B).forEach((t) => {
345
+ Y(t, B[t]);
346
346
  });
347
- let N = [], q, z = !1, u;
347
+ let N = [], q, I = !1, u;
348
348
  const W = (t) => {
349
349
  let o = new URL(`${m}/v1/player/${b}/games/most-played`);
350
- t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", S);
350
+ t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", C);
351
351
  let d = t.device;
352
- return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), q = w ? o : o.href, new Promise((f, y) => {
352
+ return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), q = k ? o : o.href, new Promise((f, y) => {
353
353
  fetch(q).then((h) => h.json()).then((h) => {
354
354
  h.items = h.items.filter((x) => {
355
355
  let J = !0;
@@ -362,39 +362,39 @@ function we(a, e, s) {
362
362
  }, X = () => {
363
363
  W({
364
364
  limit: 100,
365
- device: le(Q),
365
+ device: re(Q),
366
366
  rounds: L
367
367
  }).then((t) => {
368
368
  if (t.count > 0) {
369
369
  let o = [];
370
370
  t.items.forEach((d) => {
371
371
  let f = new URL(`${m}/v1/casino/games/${d.gameId}`);
372
- f.searchParams.append("datasource", r), w ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
372
+ f.searchParams.append("datasource", r), k ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
373
373
  }), Promise.all(o).then((d) => {
374
- N = d.filter((f) => !("error" in f)).map((f) => f[0]), C === "true" && (N = N.slice(0, JSON.parse(j))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
374
+ N = d.filter((f) => !("error" in f)).map((f) => f[0]), S === "true" && (N = N.slice(0, JSON.parse(j))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
375
375
  });
376
376
  } else
377
- s(19, z = !0);
377
+ s(19, I = !0);
378
378
  });
379
379
  }, Z = () => {
380
380
  ye(c);
381
381
  };
382
- oe(() => () => {
382
+ le(() => () => {
383
383
  });
384
384
  function p(t) {
385
- re[t ? "unshift" : "push"](() => {
385
+ me[t ? "unshift" : "push"](() => {
386
386
  u = t, s(18, u);
387
387
  });
388
388
  }
389
389
  return a.$$set = (t) => {
390
- "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, F = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, k = t.clientstylingurl), "livecasino" in t && s(9, w = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, j = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(21, G = t.translationurl), "casinomygames" in t && s(16, C = t.casinomygames), "mostplayedperiod" in t && s(22, S = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(17, I = t.fetchviaevent);
390
+ "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, F = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, G = t.clientstylingurl), "livecasino" in t && s(9, k = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, j = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(21, w = t.translationurl), "casinomygames" in t && s(16, S = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(17, z = t.fetchviaevent);
391
391
  }, a.$$.update = () => {
392
392
  a.$$.dirty[0] & /*endpoint, userid, lang*/
393
393
  41 && m && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
394
- 262272 && _ && u && ce(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
395
- 262400 && k && u && ue(u, k), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
396
- 262208 && v && u && de(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
397
- 2097152 && G && V(), a.$$.dirty[0] & /*lang*/
394
+ 262272 && _ && u && ge(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
395
+ 262400 && G && u && ce(u, G), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
396
+ 262208 && v && u && ue(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
397
+ 2097152 && w && V(), a.$$.dirty[0] & /*lang*/
398
398
  8 && c && Z();
399
399
  }, [
400
400
  m,
@@ -405,33 +405,33 @@ function we(a, e, s) {
405
405
  b,
406
406
  v,
407
407
  _,
408
+ G,
408
409
  k,
409
- w,
410
410
  O,
411
411
  D,
412
412
  R,
413
413
  T,
414
414
  j,
415
415
  U,
416
- C,
417
- I,
418
- u,
416
+ S,
419
417
  z,
418
+ u,
419
+ I,
420
420
  i,
421
- G,
422
- S,
421
+ w,
422
+ C,
423
423
  L,
424
424
  p
425
425
  ];
426
426
  }
427
- class Ge extends te {
427
+ class we extends te {
428
428
  constructor(e) {
429
429
  super(), se(
430
430
  this,
431
431
  e,
432
- we,
433
432
  ke,
434
- ae,
433
+ Ge,
434
+ ne,
435
435
  {
436
436
  endpoint: 0,
437
437
  datasource: 1,
@@ -586,7 +586,7 @@ class Ge extends te {
586
586
  this.$$set({ fetchviaevent: e }), l();
587
587
  }
588
588
  }
589
- fe(Ge, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
589
+ ae(we, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
590
590
  export {
591
- Ge as default
591
+ we as default
592
592
  };