@everymatrix/casino-page 1.76.14 → 1.77.1

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 (100) hide show
  1. package/components/CasinoCalendar-BYV7Jkb3.cjs +19 -0
  2. package/components/{CasinoCalendar-BIAqZUOC.js → CasinoCalendar-C87haj_O.js} +856 -835
  3. package/components/{CasinoCalendar-BkEI4TpB.js → CasinoCalendar-Dl5rdRDv.js} +1012 -991
  4. package/components/{CasinoCalendarDailyDetails-DPm87icE.js → CasinoCalendarDailyDetails-Cc4iwCGm.js} +38 -38
  5. package/components/{CasinoCalendarDailyDetails-BKf2DMkx.js → CasinoCalendarDailyDetails-D3VBYPtA.js} +38 -38
  6. package/components/{CasinoCalendarDailyDetails-eMXqpHF4.cjs → CasinoCalendarDailyDetails-twhKWee5.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-wjhgNcUC.cjs → CasinoCalendarDailyItem-CBrK-0Cg.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-Dy4iojdZ.js → CasinoCalendarDailyItem-Cf02HaSu.js} +34 -34
  9. package/components/{CasinoCalendarDailyItem-CPBagA35.js → CasinoCalendarDailyItem-DP7arIWF.js} +34 -34
  10. package/components/{CasinoCollectionsProviders-D_hVqO-C.js → CasinoCollectionsProviders-BO_QPAkQ.js} +67 -67
  11. package/components/{CasinoCollectionsProviders-BwxLFut5.js → CasinoCollectionsProviders-DodWHT-n.js} +45 -45
  12. package/components/{CasinoCollectionsProviders-MaQA8oBw.cjs → CasinoCollectionsProviders-Dy5oZRij.cjs} +1 -1
  13. package/components/{CasinoFavoritesSection-fGIU4dvk.cjs → CasinoFavoritesSection-0ld0leDz.cjs} +1 -1
  14. package/components/{CasinoFavoritesSection-exabvHs4.js → CasinoFavoritesSection-3ztqm6wj.js} +16 -16
  15. package/components/{CasinoFavoritesSection-DC3TW3Ri.js → CasinoFavoritesSection-DHhGCYbk.js} +16 -16
  16. package/components/{CasinoFilter-CS6c8em_.js → CasinoFilter-BiFRqe6s.js} +225 -224
  17. package/components/{CasinoFilter-LXwljyaH.js → CasinoFilter-Cxp3z_JJ.js} +244 -245
  18. package/components/CasinoFilter-DN6wvGFG.cjs +1 -0
  19. package/components/{CasinoGameThumbnail-ChomZ1_3.js → CasinoGameThumbnail-BGqs-yiN.js} +778 -762
  20. package/components/CasinoGameThumbnail-Cn50Mnpa.cjs +47 -0
  21. package/components/{CasinoGameThumbnail-DKk21P3h.js → CasinoGameThumbnail-D1NHRqNC.js} +1253 -1269
  22. package/components/{CasinoGamesCategorySection-B4eaAHRI.js → CasinoGamesCategorySection-B9MO1cr6.js} +300 -300
  23. package/components/{CasinoGamesCategorySection-DchKbhwc.cjs → CasinoGamesCategorySection-CCD9iKBk.cjs} +1 -1
  24. package/components/{CasinoGamesCategorySection-BfhnkADh.js → CasinoGamesCategorySection-CLPYePZG.js} +302 -302
  25. package/components/{CasinoJackpotBanner-CL8hefd5.cjs → CasinoJackpotBanner-3c1xcQqD.cjs} +1 -1
  26. package/components/{CasinoJackpotBanner-BoezCT0d.js → CasinoJackpotBanner-Bv5mPRE0.js} +83 -83
  27. package/components/{CasinoJackpotBanner-abY7e3n1.js → CasinoJackpotBanner-CzIO2X74.js} +89 -89
  28. package/components/{CasinoLastPlayedSection-BUVy_-Yx.cjs → CasinoLastPlayedSection-CZvMrFF0.cjs} +1 -1
  29. package/components/{CasinoLastPlayedSection-7W4l-Qt4.js → CasinoLastPlayedSection-CvZ8t98Q.js} +41 -41
  30. package/components/{CasinoLastPlayedSection-BtMfdpe1.js → CasinoLastPlayedSection-D9_JyaUG.js} +41 -41
  31. package/components/{CasinoMostPlayedSection-D83sR3yG.cjs → CasinoMostPlayedSection-8i1-se03.cjs} +1 -1
  32. package/components/{CasinoMostPlayedSection-CXFzpW7b.js → CasinoMostPlayedSection-B6UYCrK1.js} +46 -46
  33. package/components/{CasinoMostPlayedSection-DJOJ98L9.js → CasinoMostPlayedSection-BWHSFIl9.js} +46 -46
  34. package/components/{CasinoMyGames-B1ceknfw.cjs → CasinoMyGames-CCybLX9d.cjs} +1 -1
  35. package/components/{CasinoMyGames-CMss2u_p.js → CasinoMyGames-GXbEOUz0.js} +32 -32
  36. package/components/{CasinoMyGames-BOVQS1Fa.js → CasinoMyGames-XuUh0Iw1.js} +33 -33
  37. package/components/{CasinoPage-TZW1R0Tf.cjs → CasinoPage-AT7RLDJ9.cjs} +1 -1
  38. package/components/{CasinoPage-Cx0Ufx8r.js → CasinoPage-DxFN_yZb.js} +118 -118
  39. package/components/{CasinoPage-PfY7vvRg.js → CasinoPage-Tt4Yn1a3.js} +107 -107
  40. package/components/{CasinoRandomGame-BfmpHGUU.js → CasinoRandomGame-Be_OC1nS.js} +59 -59
  41. package/components/{CasinoRandomGame-CaoA8VWN.cjs → CasinoRandomGame-C-olALcp.cjs} +1 -1
  42. package/components/{CasinoRandomGame-a5sdSyk3.js → CasinoRandomGame-Do9Ry6mX.js} +58 -58
  43. package/components/{CasinoSearch-BIB392O4.cjs → CasinoSearch-BxbK1vfB.cjs} +1 -1
  44. package/components/{CasinoSearch-CxYOTdYa.js → CasinoSearch-C1MuxfEt.js} +112 -112
  45. package/components/{CasinoSearch-COy2nRYb.js → CasinoSearch-C6_uloxT.js} +109 -109
  46. package/components/{CasinoSort-CpbUY08s.js → CasinoSort-CFXBcyqN.js} +103 -102
  47. package/components/{CasinoSort-BOqpkBMt.js → CasinoSort-CVx2JF6c.js} +111 -112
  48. package/components/{CasinoSort-eY24GSB5.cjs → CasinoSort-CXseP4mp.cjs} +1 -1
  49. package/components/{CasinoWinners-CjBnExuU.cjs → CasinoWinners-D_veH7OJ.cjs} +1 -1
  50. package/components/{CasinoWinners-D2hiYmZy.js → CasinoWinners-PplSTWYp.js} +144 -144
  51. package/components/{CasinoWinners-C6LZqkxw.js → CasinoWinners-Se8Tt2Fa.js} +150 -150
  52. package/components/{GeneralAnimationLoading-BF3MR5Ia.js → GeneralAnimationLoading-BG-JznT6.js} +16 -16
  53. package/components/{GeneralAnimationLoading-CXfqIC1q.js → GeneralAnimationLoading-Begig657.js} +16 -16
  54. package/components/{GeneralAnimationLoading-Bn3UglgQ.cjs → GeneralAnimationLoading-BySVl_wz.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-CYUXdZj7.js → casino-play-random-game-3OLT0AIG.js} +1 -1
  60. package/stencil/{casino-play-random-game-ywb1c71b.js → casino-play-random-game-BnjMAnCB.js} +1 -1
  61. package/stencil/{casino-play-random-game-C18voLvy.cjs → casino-play-random-game-DTTdIJJ3.cjs} +1 -1
  62. package/stencil/{casino-play-random-game_3-DPJnqamY.js → casino-play-random-game_3-5Bmo5OfX.js} +2 -2
  63. package/stencil/{casino-play-random-game_3-BAcddQtP.cjs → casino-play-random-game_3-BPrURzZF.cjs} +2 -2
  64. package/stencil/{casino-play-random-game_3-wK2KnqF2.js → casino-play-random-game_3-DbmTGjC1.js} +2 -2
  65. package/stencil/index-242ac81a-BqeIndhr.js +554 -0
  66. package/stencil/index-242ac81a-CI4JxPRf.js +538 -0
  67. package/stencil/index-242ac81a-CjjM4VND.cjs +1 -0
  68. package/stencil/index-27b314b8-B6-HIs2Q.cjs +1 -0
  69. package/stencil/index-27b314b8-DWbdQG1d.js +565 -0
  70. package/stencil/index-27b314b8-rkjLfQe1.js +581 -0
  71. package/stencil/index-b2193545-DVT8jgVo.cjs +1 -0
  72. package/stencil/index-b2193545-Dxw-xjac.js +503 -0
  73. package/stencil/index-b2193545-TbRClz6K.js +519 -0
  74. package/stencil/{ui-image-2ff23cd5-BU5r6gJa.cjs → ui-image-2ff23cd5-BHGIWJop.cjs} +1 -1
  75. package/stencil/{ui-image-2ff23cd5-DZZYCsK1.js → ui-image-2ff23cd5-D0rXudCW.js} +1 -1
  76. package/stencil/{ui-image-2ff23cd5-CBX1vdMZ.js → ui-image-2ff23cd5-DCLQ0SIO.js} +1 -1
  77. package/stencil/{ui-image-f_pO_wKA.js → ui-image-CVrTqLhl.js} +1 -1
  78. package/stencil/{ui-image-BW6fTlRA.cjs → ui-image-Cd2KxMB7.cjs} +1 -1
  79. package/stencil/{ui-image-CkpZfL9y.js → ui-image-adPxpjgH.js} +1 -1
  80. package/stencil/{ui-image_2-exO7RXKL.js → ui-image_2-B21W_djK.js} +2 -2
  81. package/stencil/{ui-image_2-Bsl4RJfi.cjs → ui-image_2-CLk629jW.cjs} +1 -1
  82. package/stencil/{ui-image_2-ID_1Oi3k.js → ui-image_2-VgK3B8gQ.js} +2 -2
  83. package/stencil/{ui-skeleton-C0GZ2ncD.js → ui-skeleton-CSMUbPcJ.js} +2 -2
  84. package/stencil/{ui-skeleton-CYeeBz0Q.js → ui-skeleton-CiszU04_.js} +2 -2
  85. package/stencil/{ui-skeleton-5mt1L8pA.cjs → ui-skeleton-DcmFcn7k.cjs} +1 -1
  86. package/stencil/{ui-skeleton-ae35c6f2-BSwiS43c.js → ui-skeleton-ae35c6f2-9hZ7WFQc.js} +1 -1
  87. package/stencil/{ui-skeleton-ae35c6f2-CQ3pH6qH.cjs → ui-skeleton-ae35c6f2-D1Tb0H8D.cjs} +1 -1
  88. package/stencil/{ui-skeleton-ae35c6f2-BmKf7IvD.js → ui-skeleton-ae35c6f2-DDHvWmVB.js} +1 -1
  89. package/components/CasinoCalendar-DA4m94gJ.cjs +0 -19
  90. package/components/CasinoFilter-w-JLoyMO.cjs +0 -1
  91. package/components/CasinoGameThumbnail-Bx3R6VGX.cjs +0 -47
  92. package/stencil/index-242ac81a-Bl2OSy8h.js +0 -538
  93. package/stencil/index-242ac81a-Czg480dJ.js +0 -554
  94. package/stencil/index-242ac81a-DDPF_SYN.cjs +0 -1
  95. package/stencil/index-27b314b8-B9Z1iOB7.cjs +0 -1
  96. package/stencil/index-27b314b8-CXVYGv5J.js +0 -581
  97. package/stencil/index-27b314b8-VBAz23AH.js +0 -565
  98. package/stencil/index-b2193545-3zPNeE9v.cjs +0 -1
  99. package/stencil/index-b2193545-D_cUvAA-.js +0 -519
  100. package/stencil/index-b2193545-kN0z2MLt.js +0 -503
@@ -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 B, G as I, j as D, k as re, o as oe, l as ue, q as ce, r as me, m as ge, H as i, x as de, E as fe, J as he, P as ye } from "./CasinoCalendar-BkEI4TpB.js";
2
- import "./CasinoFavoritesSection-exabvHs4.js";
3
- function V(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 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-Dl5rdRDv.js";
2
+ import "./CasinoFavoritesSection-3ztqm6wj.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 Z = {
9
+ const V = {
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 Z = {
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;
40
40
  return {
41
41
  c() {
42
- e = P("casino-games-category-section"), i(
42
+ e = L("casino-games-category-section"), i(
43
43
  e,
44
44
  "session",
45
45
  /*session*/
@@ -137,7 +137,7 @@ function we(s) {
137
137
  );
138
138
  },
139
139
  m(t, n) {
140
- M(t, e, n);
140
+ D(t, e, n);
141
141
  },
142
142
  p(t, n) {
143
143
  n[0] & /*session*/
@@ -257,7 +257,7 @@ function we(s) {
257
257
  );
258
258
  },
259
259
  d(t) {
260
- t && D(e);
260
+ t && M(e);
261
261
  }
262
262
  };
263
263
  }
@@ -268,18 +268,18 @@ function _e(s) {
268
268
  ), n;
269
269
  return {
270
270
  c() {
271
- e = P("p"), n = de(t), A(e, "class", "SearchLoading");
271
+ e = L("p"), n = ce(t), A(e, "class", "SearchLoading");
272
272
  },
273
273
  m(o, r) {
274
- M(o, e, r), B(e, n);
274
+ D(o, e, r), Z(e, n);
275
275
  },
276
276
  p(o, r) {
277
277
  r[0] & /*$_*/
278
278
  2097152 && t !== (t = /*$_*/
279
- o[21]("noRecentGames") + "") && fe(n, t);
279
+ o[21]("noRecentGames") + "") && ue(n, t);
280
280
  },
281
281
  d(o) {
282
- o && D(e);
282
+ o && M(e);
283
283
  }
284
284
  };
285
285
  }
@@ -294,43 +294,43 @@ function ke(s) {
294
294
  let o = n(s), r = o(s);
295
295
  return {
296
296
  c() {
297
- e = P("div"), t = P("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
297
+ e = L("div"), t = L("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
298
298
  },
299
299
  m(m, d) {
300
- M(m, e, d), B(e, t), r.m(t, null), s[26](e);
300
+ D(m, e, d), Z(e, t), r.m(t, null), s[26](e);
301
301
  },
302
302
  p(m, d) {
303
303
  o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(t, null)));
304
304
  },
305
- i: I,
306
- o: I,
305
+ i: H,
306
+ o: H,
307
307
  d(m) {
308
- m && D(e), r.d(), s[26](null);
308
+ m && M(e), r.d(), s[26](null);
309
309
  }
310
310
  };
311
311
  }
312
- function Pe(s, e, t) {
312
+ function Le(s, e, t) {
313
313
  let n;
314
- re(s, he, (a) => t(21, n = a));
315
- 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;
314
+ le(s, ye, (a) => t(21, n = a));
315
+ 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;
316
316
  const Q = () => {
317
317
  fetch(w).then((g) => g.json()).then((g) => {
318
318
  Object.keys(g).forEach((u) => {
319
- V(u, g[u]);
319
+ K(u, g[u]);
320
320
  });
321
321
  }).catch((g) => {
322
322
  console.log(g);
323
323
  });
324
324
  };
325
- Object.keys(Z).forEach((a) => {
326
- V(a, Z[a]);
325
+ Object.keys(V).forEach((a) => {
326
+ K(a, V[a]);
327
327
  });
328
328
  const W = () => new Promise((a, g) => {
329
329
  let u = new URL(`${o}/v1/player/${y}/games/last-played`);
330
- 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) => {
330
+ 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) => {
331
331
  c.items = c.items.filter(($) => {
332
- let H = !0;
333
- return $.gameCode == "OddsMatrix2" && (c.count--, H = !1), H;
332
+ let J = !0;
333
+ return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
334
334
  }), a(c), window.postMessage(
335
335
  {
336
336
  type: "AddNewCategory",
@@ -349,7 +349,7 @@ function Pe(s, e, t) {
349
349
  let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
350
350
  h.searchParams.append("datasource", r), _ ? g.push(fetch(h.href).then((c) => c.json())) : g.push(fetch(h.href).then((c) => c.json()));
351
351
  }), Promise.all(g).then((u) => {
352
- 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);
352
+ 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);
353
353
  });
354
354
  } else
355
355
  t(20, Y = !0);
@@ -357,22 +357,22 @@ function Pe(s, e, t) {
357
357
  }, p = () => {
358
358
  be(d);
359
359
  };
360
- oe(() => () => {
360
+ re(() => () => {
361
361
  });
362
362
  function x(a) {
363
- ce[a ? "unshift" : "push"](() => {
363
+ oe[a ? "unshift" : "push"](() => {
364
364
  f = a, t(19, f);
365
365
  });
366
366
  }
367
367
  return s.$$set = (a) => {
368
- "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, 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(8, w = a.translationurl), "livecasino" in a && t(9, _ = a.livecasino), "integratedgameframemobile" in a && t(10, z = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, F = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, N = a.gamepagemodalurl), "showgamename" in a && t(13, O = a.showgamename), "visiblegames" in a && t(14, L = a.visiblegames), "favorites" in a && t(15, 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(16, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent), "mbsource" in a && t(18, q = a.mbsource);
368
+ "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(8, w = a.translationurl), "livecasino" in a && t(9, _ = a.livecasino), "integratedgameframemobile" in a && t(10, F = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, N = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, z = a.gamepagemodalurl), "showgamename" in a && t(13, O = a.showgamename), "visiblegames" in a && t(14, P = a.visiblegames), "favorites" in a && t(15, 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(16, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent), "mbsource" in a && t(18, q = a.mbsource);
369
369
  }, s.$$.update = () => {
370
370
  s.$$.dirty[0] & /*endpoint, userid, lang*/
371
371
  41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
372
372
  256 && w && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
373
- 524352 && b && f && me(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
374
- 524416 && v && f && ue(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
375
- 786432 && f && ge(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
373
+ 524352 && b && f && ge(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
374
+ 524416 && v && f && de(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
375
+ 786432 && f && fe(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
376
376
  8 && d && p();
377
377
  }, [
378
378
  o,
@@ -385,11 +385,11 @@ function Pe(s, e, t) {
385
385
  v,
386
386
  w,
387
387
  _,
388
- z,
389
388
  F,
390
389
  N,
390
+ z,
391
391
  O,
392
- L,
392
+ P,
393
393
  T,
394
394
  G,
395
395
  U,
@@ -397,21 +397,21 @@ function Pe(s, e, t) {
397
397
  f,
398
398
  Y,
399
399
  n,
400
- S,
401
400
  C,
401
+ S,
402
402
  j,
403
403
  R,
404
404
  x
405
405
  ];
406
406
  }
407
- class Le extends ae {
407
+ class Pe extends ae {
408
408
  constructor(e) {
409
409
  super(), se(
410
410
  this,
411
411
  e,
412
- Pe,
412
+ Le,
413
413
  ke,
414
- ne,
414
+ ie,
415
415
  {
416
416
  endpoint: 0,
417
417
  datasource: 1,
@@ -580,7 +580,7 @@ class Le extends ae {
580
580
  this.$$set({ mbsource: e }), l();
581
581
  }
582
582
  }
583
- 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);
583
+ 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);
584
584
  export {
585
- Le as default
585
+ Pe as default
586
586
  };
@@ -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 B, G as I, j as D, k as re, o as oe, l as ue, q as ce, r as me, m as ge, H as i, x as de, E as fe, J as he, P as ye } from "./CasinoCalendar-BIAqZUOC.js";
2
- import "./CasinoFavoritesSection-DC3TW3Ri.js";
3
- function V(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 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-C87haj_O.js";
2
+ import "./CasinoFavoritesSection-DHhGCYbk.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 Z = {
9
+ const V = {
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 Z = {
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;
40
40
  return {
41
41
  c() {
42
- e = P("casino-games-category-section"), i(
42
+ e = L("casino-games-category-section"), i(
43
43
  e,
44
44
  "session",
45
45
  /*session*/
@@ -137,7 +137,7 @@ function we(s) {
137
137
  );
138
138
  },
139
139
  m(t, n) {
140
- M(t, e, n);
140
+ D(t, e, n);
141
141
  },
142
142
  p(t, n) {
143
143
  n[0] & /*session*/
@@ -257,7 +257,7 @@ function we(s) {
257
257
  );
258
258
  },
259
259
  d(t) {
260
- t && D(e);
260
+ t && M(e);
261
261
  }
262
262
  };
263
263
  }
@@ -268,18 +268,18 @@ function _e(s) {
268
268
  ), n;
269
269
  return {
270
270
  c() {
271
- e = P("p"), n = de(t), A(e, "class", "SearchLoading");
271
+ e = L("p"), n = ce(t), A(e, "class", "SearchLoading");
272
272
  },
273
273
  m(o, r) {
274
- M(o, e, r), B(e, n);
274
+ D(o, e, r), Z(e, n);
275
275
  },
276
276
  p(o, r) {
277
277
  r[0] & /*$_*/
278
278
  2097152 && t !== (t = /*$_*/
279
- o[21]("noRecentGames") + "") && fe(n, t);
279
+ o[21]("noRecentGames") + "") && ue(n, t);
280
280
  },
281
281
  d(o) {
282
- o && D(e);
282
+ o && M(e);
283
283
  }
284
284
  };
285
285
  }
@@ -294,43 +294,43 @@ function ke(s) {
294
294
  let o = n(s), r = o(s);
295
295
  return {
296
296
  c() {
297
- e = P("div"), t = P("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
297
+ e = L("div"), t = L("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
298
298
  },
299
299
  m(m, d) {
300
- M(m, e, d), B(e, t), r.m(t, null), s[26](e);
300
+ D(m, e, d), Z(e, t), r.m(t, null), s[26](e);
301
301
  },
302
302
  p(m, d) {
303
303
  o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(t, null)));
304
304
  },
305
- i: I,
306
- o: I,
305
+ i: H,
306
+ o: H,
307
307
  d(m) {
308
- m && D(e), r.d(), s[26](null);
308
+ m && M(e), r.d(), s[26](null);
309
309
  }
310
310
  };
311
311
  }
312
- function Pe(s, e, t) {
312
+ function Le(s, e, t) {
313
313
  let n;
314
- re(s, he, (a) => t(21, n = a));
315
- 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;
314
+ le(s, ye, (a) => t(21, n = a));
315
+ 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;
316
316
  const Q = () => {
317
317
  fetch(w).then((g) => g.json()).then((g) => {
318
318
  Object.keys(g).forEach((u) => {
319
- V(u, g[u]);
319
+ K(u, g[u]);
320
320
  });
321
321
  }).catch((g) => {
322
322
  console.log(g);
323
323
  });
324
324
  };
325
- Object.keys(Z).forEach((a) => {
326
- V(a, Z[a]);
325
+ Object.keys(V).forEach((a) => {
326
+ K(a, V[a]);
327
327
  });
328
328
  const W = () => new Promise((a, g) => {
329
329
  let u = new URL(`${o}/v1/player/${y}/games/last-played`);
330
- 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) => {
330
+ 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) => {
331
331
  c.items = c.items.filter(($) => {
332
- let H = !0;
333
- return $.gameCode == "OddsMatrix2" && (c.count--, H = !1), H;
332
+ let J = !0;
333
+ return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
334
334
  }), a(c), window.postMessage(
335
335
  {
336
336
  type: "AddNewCategory",
@@ -349,7 +349,7 @@ function Pe(s, e, t) {
349
349
  let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
350
350
  h.searchParams.append("datasource", r), _ ? g.push(fetch(h.href).then((c) => c.json())) : g.push(fetch(h.href).then((c) => c.json()));
351
351
  }), Promise.all(g).then((u) => {
352
- 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);
352
+ 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);
353
353
  });
354
354
  } else
355
355
  t(20, Y = !0);
@@ -357,22 +357,22 @@ function Pe(s, e, t) {
357
357
  }, p = () => {
358
358
  be(d);
359
359
  };
360
- oe(() => () => {
360
+ re(() => () => {
361
361
  });
362
362
  function x(a) {
363
- ce[a ? "unshift" : "push"](() => {
363
+ oe[a ? "unshift" : "push"](() => {
364
364
  f = a, t(19, f);
365
365
  });
366
366
  }
367
367
  return s.$$set = (a) => {
368
- "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, 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(8, w = a.translationurl), "livecasino" in a && t(9, _ = a.livecasino), "integratedgameframemobile" in a && t(10, z = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, F = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, N = a.gamepagemodalurl), "showgamename" in a && t(13, O = a.showgamename), "visiblegames" in a && t(14, L = a.visiblegames), "favorites" in a && t(15, 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(16, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent), "mbsource" in a && t(18, q = a.mbsource);
368
+ "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(8, w = a.translationurl), "livecasino" in a && t(9, _ = a.livecasino), "integratedgameframemobile" in a && t(10, F = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, N = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, z = a.gamepagemodalurl), "showgamename" in a && t(13, O = a.showgamename), "visiblegames" in a && t(14, P = a.visiblegames), "favorites" in a && t(15, 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(16, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent), "mbsource" in a && t(18, q = a.mbsource);
369
369
  }, s.$$.update = () => {
370
370
  s.$$.dirty[0] & /*endpoint, userid, lang*/
371
371
  41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
372
372
  256 && w && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
373
- 524352 && b && f && me(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
374
- 524416 && v && f && ue(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
375
- 786432 && f && ge(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
373
+ 524352 && b && f && ge(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
374
+ 524416 && v && f && de(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
375
+ 786432 && f && fe(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
376
376
  8 && d && p();
377
377
  }, [
378
378
  o,
@@ -385,11 +385,11 @@ function Pe(s, e, t) {
385
385
  v,
386
386
  w,
387
387
  _,
388
- z,
389
388
  F,
390
389
  N,
390
+ z,
391
391
  O,
392
- L,
392
+ P,
393
393
  T,
394
394
  G,
395
395
  U,
@@ -397,21 +397,21 @@ function Pe(s, e, t) {
397
397
  f,
398
398
  Y,
399
399
  n,
400
- S,
401
400
  C,
401
+ S,
402
402
  j,
403
403
  R,
404
404
  x
405
405
  ];
406
406
  }
407
- class Le extends ae {
407
+ class Pe extends ae {
408
408
  constructor(e) {
409
409
  super(), se(
410
410
  this,
411
411
  e,
412
- Pe,
412
+ Le,
413
413
  ke,
414
- ne,
414
+ ie,
415
415
  {
416
416
  endpoint: 0,
417
417
  datasource: 1,
@@ -580,7 +580,7 @@ class Le extends ae {
580
580
  this.$$set({ mbsource: e }), l();
581
581
  }
582
582
  }
583
- 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);
583
+ 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);
584
584
  export {
585
- Le as default
585
+ Pe as default
586
586
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DA4m94gJ.cjs");require("./CasinoFavoritesSection-fGIU4dvk.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[18]),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,"translationurl",n[16]),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[17]),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]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),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]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),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]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),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[21]("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]&2097152&&a!==(a=o[21]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[20]?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(21,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(20,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,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(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&524416&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&524544&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&524352&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,G,P,F,c,T,i,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:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},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[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}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[18]}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-BYV7Jkb3.cjs");require("./CasinoFavoritesSection-0ld0leDz.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[18]),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,"translationurl",n[16]),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[17]),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]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),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]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),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]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),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[21]("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]&2097152&&a!==(a=o[21]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[20]?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(21,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(20,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,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(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&524416&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&524544&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&524352&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,G,P,F,c,T,i,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:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},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[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}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[18]}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;