@everymatrix/casino-lobby 1.59.2 → 1.59.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 (97) hide show
  1. package/components/{CasinoCalendar-Km8tdNHN.js → CasinoCalendar-BYTytQgJ.js} +690 -712
  2. package/components/{CasinoCalendar-6ncpIgng.js → CasinoCalendar-CI-C6zUY.js} +696 -718
  3. package/components/CasinoCalendar-DqS7aKva.cjs +22 -0
  4. package/components/{CasinoCalendarDailyDetails-CGaAU2gc.js → CasinoCalendarDailyDetails-DQB9Y3_Q.js} +48 -48
  5. package/components/{CasinoCalendarDailyDetails-CsEZhtVE.cjs → CasinoCalendarDailyDetails-DUQWFLJJ.cjs} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-CAbwFBvZ.js → CasinoCalendarDailyDetails-Xi-Uo8v-.js} +48 -48
  7. package/components/{CasinoCalendarDailyItem-DSlC0F3s.cjs → CasinoCalendarDailyItem-CVt2FFo1.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-5aqnKIMr.js → CasinoCalendarDailyItem-CjRZKnnD.js} +41 -41
  9. package/components/{CasinoCalendarDailyItem-D_MTrKed.js → CasinoCalendarDailyItem-DC91__VM.js} +41 -41
  10. package/components/{CasinoCategoriesSlider-CZHyRC-C.js → CasinoCategoriesSlider-BeqGvJrA.js} +67 -67
  11. package/components/{CasinoCategoriesSlider-Dm2i_QTf.js → CasinoCategoriesSlider-Cvb-krxJ.js} +66 -66
  12. package/components/CasinoCategoriesSlider-DZpvR9sw.cjs +1 -0
  13. package/components/{CasinoCollectionsProviders-B7d5LuGP.js → CasinoCollectionsProviders-BMyAx20Y.js} +73 -73
  14. package/components/{CasinoCollectionsProviders-pk8jpLQt.js → CasinoCollectionsProviders-B_4F6cIK.js} +71 -71
  15. package/components/{CasinoCollectionsProviders-B6occ8TF.cjs → CasinoCollectionsProviders-FGrPURo4.cjs} +1 -1
  16. package/components/{CasinoFavoritesSection-C949lfcK.js → CasinoFavoritesSection-BZmf5I3g.js} +26 -26
  17. package/components/{CasinoFavoritesSection-hHKNAcoS.cjs → CasinoFavoritesSection-CBb3Eo8J.cjs} +1 -1
  18. package/components/{CasinoFavoritesSection-V5ybOUJC.js → CasinoFavoritesSection-Dmko0_Ik.js} +26 -26
  19. package/components/{CasinoFilter-BWjq7W1e.js → CasinoFilter-BHLJqOwW.js} +235 -234
  20. package/components/CasinoFilter-Bg-VilMd.cjs +1 -0
  21. package/components/{CasinoFilter-BTof425X.js → CasinoFilter-Dt8GhenI.js} +246 -247
  22. package/components/{CasinoGamePage-ssKF-ZD1.js → CasinoGamePage-5moXxd0d.js} +741 -741
  23. package/components/{CasinoGamePage-D2huRBJX.cjs → CasinoGamePage-BmgERtPr.cjs} +6 -6
  24. package/components/{CasinoGamePage-Cp2CKRka.js → CasinoGamePage-D_TzJsC-.js} +742 -742
  25. package/components/{CasinoGameThumbnail-CVz7FpsB.js → CasinoGameThumbnail-DSjNVacg.js} +512 -528
  26. package/components/{CasinoGameThumbnail-NLieCJGe.js → CasinoGameThumbnail-DqBpfUwf.js} +436 -420
  27. package/components/{CasinoGameThumbnail-DK9cpR-G.cjs → CasinoGameThumbnail-OrvrYv4V.cjs} +15 -15
  28. package/components/{CasinoGamesCategorySection-BP3bZsZg.js → CasinoGamesCategorySection-Ce43OSOZ.js} +247 -247
  29. package/components/{CasinoGamesCategorySection-BAcJus2G.cjs → CasinoGamesCategorySection-DEh7yuGp.cjs} +1 -1
  30. package/components/{CasinoGamesCategorySection-Bpy9vh6D.js → CasinoGamesCategorySection-d8QOFywW.js} +247 -247
  31. package/components/{CasinoJackpotBanner-DredUN6K.cjs → CasinoJackpotBanner-B_CnR3Kj.cjs} +1 -1
  32. package/components/{CasinoJackpotBanner-CuP8WP5Q.js → CasinoJackpotBanner-Dxq2Y_-S.js} +74 -74
  33. package/components/{CasinoJackpotBanner-Dl2rX6vI.js → CasinoJackpotBanner-UQaC63Zv.js} +69 -69
  34. package/components/{CasinoLastPlayedSection-CVEuFsbi.js → CasinoLastPlayedSection-BVANPPTi.js} +43 -43
  35. package/components/{CasinoLastPlayedSection-B9I2fZm5.js → CasinoLastPlayedSection-Bmr8n1pA.js} +43 -43
  36. package/components/{CasinoLastPlayedSection-COAM1aoc.cjs → CasinoLastPlayedSection-CyL83M3y.cjs} +1 -1
  37. package/components/{CasinoLobby-AoZlXLOV.js → CasinoLobby-CWzN0imw.js} +45 -45
  38. package/components/{CasinoLobby-BRiasSXJ.js → CasinoLobby-DUI1Ki3q.js} +47 -47
  39. package/components/{CasinoLobby-CYqI5Bvp.cjs → CasinoLobby-os94WdnE.cjs} +1 -1
  40. package/components/{CasinoModal-B9Gmdwc0.js → CasinoModal-BaV1FE12.js} +41 -41
  41. package/components/{CasinoModal-DLgyWFbs.js → CasinoModal-Bn6r73ff.js} +41 -41
  42. package/components/{CasinoModal-d1VUXUWj.cjs → CasinoModal-DWbCqr0p.cjs} +1 -1
  43. package/components/{CasinoMostPlayedSection-9B6X9czZ.js → CasinoMostPlayedSection-B4SHGVp4.js} +50 -50
  44. package/components/{CasinoMostPlayedSection-DwZh0uxo.js → CasinoMostPlayedSection-CD00UC6r.js} +50 -50
  45. package/components/{CasinoMostPlayedSection-BUwIld9p.cjs → CasinoMostPlayedSection-y-GWnOes.cjs} +1 -1
  46. package/components/{CasinoMyGames-76IMIo9z.js → CasinoMyGames-BBsq56wQ.js} +50 -50
  47. package/components/{CasinoMyGames-DTGaTHyO.cjs → CasinoMyGames-DKu8rYmc.cjs} +1 -1
  48. package/components/{CasinoMyGames-DRCxYUHg.js → CasinoMyGames-DRCL87dq.js} +53 -53
  49. package/components/{CasinoPage-CikRIum6.js → CasinoPage-BJ2hLXJb.js} +93 -93
  50. package/components/{CasinoPage-DZ6Yhwli.cjs → CasinoPage-CXAKd3oS.cjs} +1 -1
  51. package/components/{CasinoPage-BPxxsTeq.js → CasinoPage-DXP80Vgm.js} +85 -85
  52. package/components/{CasinoRandomGame-CBcSHzZL.cjs → CasinoRandomGame-BO7BqLXA.cjs} +1 -1
  53. package/components/{CasinoRandomGame-CfOiAKHl.js → CasinoRandomGame-CsA5xgwc.js} +63 -63
  54. package/components/{CasinoRandomGame-CqripZYr.js → CasinoRandomGame-DLzqJj4x.js} +64 -64
  55. package/components/{CasinoSearch-CZSrkWFZ.cjs → CasinoSearch-CxFbGTdy.cjs} +1 -1
  56. package/components/{CasinoSearch-CCcjmB9U.js → CasinoSearch-CzUqsTgU.js} +72 -72
  57. package/components/{CasinoSearch-Cs8FRwGb.js → CasinoSearch-atJ6AGYa.js} +72 -72
  58. package/components/{CasinoSlider-CMKmgXUK.cjs → CasinoSlider-CgiDJzPs.cjs} +1 -1
  59. package/components/{CasinoSlider-0rdHVHjG.js → CasinoSlider-DjqwMakd.js} +65 -65
  60. package/components/{CasinoSlider-CleETLFf.js → CasinoSlider-zHVThApL.js} +74 -74
  61. package/components/{CasinoSort-C78a6veQ.cjs → CasinoSort-23PYwtO1.cjs} +1 -1
  62. package/components/{CasinoSort-xZsxfLYC.js → CasinoSort-B3A_Ar_A.js} +110 -111
  63. package/components/{CasinoSort-BRC8Jmi_.js → CasinoSort-DtUIrmuZ.js} +104 -103
  64. package/components/{CasinoWinners-DD8ZyQkV.js → CasinoWinners-CF_PptIS.js} +162 -162
  65. package/components/{CasinoWinners-BEOhs5WG.js → CasinoWinners-Gb2w2dXe.js} +179 -179
  66. package/components/{CasinoWinners-Cp1yMlzb.cjs → CasinoWinners-KEY7dD3z.cjs} +1 -1
  67. package/components/{GeneralAnimationLoading-CURVDkRT.js → GeneralAnimationLoading-8TvNjXay.js} +16 -16
  68. package/components/{GeneralAnimationLoading-Bl6_sP-d.cjs → GeneralAnimationLoading-B-6s0l9d.cjs} +1 -1
  69. package/components/{GeneralAnimationLoading-uswxvfCW.js → GeneralAnimationLoading-Bbxdne1m.js} +16 -16
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +2 -2
  74. package/stencil/{casino-play-random-game-Bk7toWLj.js → casino-play-random-game-CLSQBVzD.js} +2 -2
  75. package/stencil/{casino-play-random-game-CKM_xKne.cjs → casino-play-random-game-CdZKN03s.cjs} +2 -2
  76. package/stencil/{casino-play-random-game-BW66Civ1.js → casino-play-random-game-Dm8A9dTR.js} +2 -2
  77. package/stencil/index-ab3202d6-C1hgKWrC.cjs +1 -0
  78. package/stencil/index-ab3202d6-OPh7hJp9.js +575 -0
  79. package/stencil/index-ab3202d6-hGs51skN.js +559 -0
  80. package/stencil/index-ae04a8b1-BhaHMrLE.js +516 -0
  81. package/stencil/index-ae04a8b1-Dn3cponN.js +532 -0
  82. package/stencil/index-ae04a8b1-jEvGbYrB.cjs +1 -0
  83. package/stencil/{ui-skeleton-DET4YE0J.js → ui-skeleton-Bz6cw7xJ.js} +2 -2
  84. package/stencil/{ui-skeleton-DlNNnOZy.cjs → ui-skeleton-D9k-xWaS.cjs} +1 -1
  85. package/stencil/{ui-skeleton-C02hm1pt.js → ui-skeleton-DDYD_XHU.js} +2 -2
  86. package/stencil/{ui-skeleton-a642cced-Dn9GOtgo.js → ui-skeleton-a642cced-Bg6oYmhk.js} +1 -1
  87. package/stencil/{ui-skeleton-a642cced-BhVS1i2r.cjs → ui-skeleton-a642cced-CVw8zpGJ.cjs} +1 -1
  88. package/stencil/{ui-skeleton-a642cced-7C4Fyb2d.js → ui-skeleton-a642cced-MvzXi5-c.js} +1 -1
  89. package/components/CasinoCalendar-CkNAiTx8.cjs +0 -22
  90. package/components/CasinoCategoriesSlider-DMR3iCVW.cjs +0 -1
  91. package/components/CasinoFilter-C2Q93qQz.cjs +0 -1
  92. package/stencil/index-ab3202d6-BW1TSmQg.js +0 -575
  93. package/stencil/index-ab3202d6-C6VFhXtX.cjs +0 -1
  94. package/stencil/index-ab3202d6-CkTejM5U.js +0 -559
  95. package/stencil/index-ae04a8b1-BvZmaj3p.js +0 -532
  96. package/stencil/index-ae04a8b1-DoeYpoC5.js +0 -516
  97. package/stencil/index-ae04a8b1-OBbo8Dzb.cjs +0 -1
@@ -1,12 +1,12 @@
1
- import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as P, y as A, d as M, z as B, G as H, j as D, k as re, o as oe, l as ue, q as ce, r as me, m as ge, P as i, x as de, E as fe, I as he, O as ye } from "./CasinoCalendar-6ncpIgng.js";
2
- import "./CasinoFavoritesSection-V5ybOUJC.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, O as i, N as me, I as ge, J as de, K as fe, L as he, M as ye } from "./CasinoCalendar-CI-C6zUY.js";
2
+ import "./CasinoFavoritesSection-Dmko0_Ik.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*/
@@ -132,7 +132,7 @@ function we(s) {
132
132
  );
133
133
  },
134
134
  m(t, n) {
135
- M(t, e, n);
135
+ D(t, e, n);
136
136
  },
137
137
  p(t, n) {
138
138
  n[0] & /*session*/
@@ -246,7 +246,7 @@ function we(s) {
246
246
  );
247
247
  },
248
248
  d(t) {
249
- t && D(e);
249
+ t && M(e);
250
250
  }
251
251
  };
252
252
  }
@@ -257,18 +257,18 @@ function _e(s) {
257
257
  ), n;
258
258
  return {
259
259
  c() {
260
- e = P("p"), n = de(t), A(e, "class", "SearchLoading");
260
+ e = L("p"), n = ce(t), A(e, "class", "SearchLoading");
261
261
  },
262
262
  m(o, r) {
263
- M(o, e, r), B(e, n);
263
+ D(o, e, r), Z(e, n);
264
264
  },
265
265
  p(o, r) {
266
266
  r[0] & /*$_*/
267
267
  1048576 && t !== (t = /*$_*/
268
- o[20]("noRecentGames") + "") && fe(n, t);
268
+ o[20]("noRecentGames") + "") && ue(n, t);
269
269
  },
270
270
  d(o) {
271
- o && D(e);
271
+ o && M(e);
272
272
  }
273
273
  };
274
274
  }
@@ -283,10 +283,10 @@ function ke(s) {
283
283
  let o = n(s), r = o(s);
284
284
  return {
285
285
  c() {
286
- e = P("div"), t = P("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
286
+ e = L("div"), t = L("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
287
287
  },
288
288
  m(m, d) {
289
- M(m, e, d), B(e, t), r.m(t, null), s[26](e);
289
+ D(m, e, d), Z(e, t), r.m(t, null), s[26](e);
290
290
  },
291
291
  p(m, d) {
292
292
  o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(t, null)));
@@ -294,29 +294,29 @@ function ke(s) {
294
294
  i: H,
295
295
  o: H,
296
296
  d(m) {
297
- m && D(e), r.d(), s[26](null);
297
+ m && M(e), r.d(), s[26](null);
298
298
  }
299
299
  };
300
300
  }
301
- function Pe(s, e, t) {
301
+ function Le(s, e, t) {
302
302
  let n;
303
- re(s, he, (a) => t(20, n = a));
304
- let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { 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 = [], I, f;
303
+ le(s, ye, (a) => t(20, n = a));
304
+ let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: N = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: E = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: O = "false" } = e, { showgamename: z = "" } = 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;
305
305
  const Q = () => {
306
306
  fetch(w).then((g) => g.json()).then((g) => {
307
307
  Object.keys(g).forEach((u) => {
308
- V(u, g[u]);
308
+ K(u, g[u]);
309
309
  });
310
310
  }).catch((g) => {
311
311
  console.log(g);
312
312
  });
313
313
  };
314
- Object.keys(Z).forEach((a) => {
315
- V(a, Z[a]);
314
+ Object.keys(V).forEach((a) => {
315
+ K(a, V[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", C), u.searchParams.append("period", S), ye(K) === "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", 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) => {
320
320
  c.items = c.items.filter(($) => {
321
321
  let J = !0;
322
322
  return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
@@ -338,46 +338,46 @@ function Pe(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(L))), 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(P))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: k }, window.location.href);
342
342
  });
343
343
  } else
344
344
  t(19, Y = !0);
345
345
  });
346
- }, x = () => {
346
+ }, p = () => {
347
347
  be(d);
348
348
  };
349
- oe(() => () => {
349
+ re(() => () => {
350
350
  });
351
- function p(a) {
352
- ce[a ? "unshift" : "push"](() => {
351
+ function x(a) {
352
+ oe[a ? "unshift" : "push"](() => {
353
353
  f = a, t(18, f);
354
354
  });
355
355
  }
356
356
  return s.$$set = (a) => {
357
- "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "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);
357
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, N = a.session), "userid" in a && t(5, y = a.userid), "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, E = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, F = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, O = a.gamepagemodalurl), "showgamename" in a && t(12, z = 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);
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 && me(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
363
- 262272 && v && f && ue(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
364
- 393216 && f && ge(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
365
- 8 && d && x();
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*/
365
+ 8 && d && p();
366
366
  }, [
367
367
  o,
368
368
  r,
369
369
  m,
370
370
  d,
371
- E,
371
+ N,
372
372
  y,
373
373
  b,
374
374
  v,
375
375
  _,
376
- z,
376
+ E,
377
377
  F,
378
- N,
379
378
  O,
380
- L,
379
+ z,
380
+ P,
381
381
  T,
382
382
  G,
383
383
  U,
@@ -386,21 +386,21 @@ function Pe(s, e, t) {
386
386
  Y,
387
387
  n,
388
388
  w,
389
- S,
390
389
  C,
390
+ S,
391
391
  j,
392
392
  R,
393
- p
393
+ x
394
394
  ];
395
395
  }
396
- class Le extends ae {
396
+ class Pe extends ae {
397
397
  constructor(e) {
398
398
  super(), se(
399
399
  this,
400
400
  e,
401
- Pe,
401
+ Le,
402
402
  ke,
403
- ne,
403
+ ie,
404
404
  {
405
405
  endpoint: 0,
406
406
  datasource: 1,
@@ -569,7 +569,7 @@ class Le extends ae {
569
569
  this.$$set({ mbsource: e }), l();
570
570
  }
571
571
  }
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);
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);
573
573
  export {
574
- Le as default
574
+ Pe as default
575
575
  };
@@ -1,12 +1,12 @@
1
- import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as P, y as A, d as M, z as B, G as H, j as D, k as re, o as oe, l as ue, q as ce, r as me, m as ge, P as i, x as de, E as fe, I as he, O as ye } from "./CasinoCalendar-Km8tdNHN.js";
2
- import "./CasinoFavoritesSection-C949lfcK.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, O as i, N as me, I as ge, J as de, K as fe, L as he, M as ye } from "./CasinoCalendar-BYTytQgJ.js";
2
+ import "./CasinoFavoritesSection-BZmf5I3g.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*/
@@ -132,7 +132,7 @@ function we(s) {
132
132
  );
133
133
  },
134
134
  m(t, n) {
135
- M(t, e, n);
135
+ D(t, e, n);
136
136
  },
137
137
  p(t, n) {
138
138
  n[0] & /*session*/
@@ -246,7 +246,7 @@ function we(s) {
246
246
  );
247
247
  },
248
248
  d(t) {
249
- t && D(e);
249
+ t && M(e);
250
250
  }
251
251
  };
252
252
  }
@@ -257,18 +257,18 @@ function _e(s) {
257
257
  ), n;
258
258
  return {
259
259
  c() {
260
- e = P("p"), n = de(t), A(e, "class", "SearchLoading");
260
+ e = L("p"), n = ce(t), A(e, "class", "SearchLoading");
261
261
  },
262
262
  m(o, r) {
263
- M(o, e, r), B(e, n);
263
+ D(o, e, r), Z(e, n);
264
264
  },
265
265
  p(o, r) {
266
266
  r[0] & /*$_*/
267
267
  1048576 && t !== (t = /*$_*/
268
- o[20]("noRecentGames") + "") && fe(n, t);
268
+ o[20]("noRecentGames") + "") && ue(n, t);
269
269
  },
270
270
  d(o) {
271
- o && D(e);
271
+ o && M(e);
272
272
  }
273
273
  };
274
274
  }
@@ -283,10 +283,10 @@ function ke(s) {
283
283
  let o = n(s), r = o(s);
284
284
  return {
285
285
  c() {
286
- e = P("div"), t = P("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
286
+ e = L("div"), t = L("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
287
287
  },
288
288
  m(m, d) {
289
- M(m, e, d), B(e, t), r.m(t, null), s[26](e);
289
+ D(m, e, d), Z(e, t), r.m(t, null), s[26](e);
290
290
  },
291
291
  p(m, d) {
292
292
  o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(t, null)));
@@ -294,29 +294,29 @@ function ke(s) {
294
294
  i: H,
295
295
  o: H,
296
296
  d(m) {
297
- m && D(e), r.d(), s[26](null);
297
+ m && M(e), r.d(), s[26](null);
298
298
  }
299
299
  };
300
300
  }
301
- function Pe(s, e, t) {
301
+ function Le(s, e, t) {
302
302
  let n;
303
- re(s, he, (a) => t(20, n = a));
304
- let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { 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 = [], I, f;
303
+ le(s, ye, (a) => t(20, n = a));
304
+ let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: N = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: E = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: O = "false" } = e, { showgamename: z = "" } = 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;
305
305
  const Q = () => {
306
306
  fetch(w).then((g) => g.json()).then((g) => {
307
307
  Object.keys(g).forEach((u) => {
308
- V(u, g[u]);
308
+ K(u, g[u]);
309
309
  });
310
310
  }).catch((g) => {
311
311
  console.log(g);
312
312
  });
313
313
  };
314
- Object.keys(Z).forEach((a) => {
315
- V(a, Z[a]);
314
+ Object.keys(V).forEach((a) => {
315
+ K(a, V[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", C), u.searchParams.append("period", S), ye(K) === "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", 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) => {
320
320
  c.items = c.items.filter(($) => {
321
321
  let J = !0;
322
322
  return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
@@ -338,46 +338,46 @@ function Pe(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(L))), 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(P))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: k }, window.location.href);
342
342
  });
343
343
  } else
344
344
  t(19, Y = !0);
345
345
  });
346
- }, x = () => {
346
+ }, p = () => {
347
347
  be(d);
348
348
  };
349
- oe(() => () => {
349
+ re(() => () => {
350
350
  });
351
- function p(a) {
352
- ce[a ? "unshift" : "push"](() => {
351
+ function x(a) {
352
+ oe[a ? "unshift" : "push"](() => {
353
353
  f = a, t(18, f);
354
354
  });
355
355
  }
356
356
  return s.$$set = (a) => {
357
- "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "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);
357
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, N = a.session), "userid" in a && t(5, y = a.userid), "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, E = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, F = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, O = a.gamepagemodalurl), "showgamename" in a && t(12, z = 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);
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 && me(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
363
- 262272 && v && f && ue(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
364
- 393216 && f && ge(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
365
- 8 && d && x();
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*/
365
+ 8 && d && p();
366
366
  }, [
367
367
  o,
368
368
  r,
369
369
  m,
370
370
  d,
371
- E,
371
+ N,
372
372
  y,
373
373
  b,
374
374
  v,
375
375
  _,
376
- z,
376
+ E,
377
377
  F,
378
- N,
379
378
  O,
380
- L,
379
+ z,
380
+ P,
381
381
  T,
382
382
  G,
383
383
  U,
@@ -386,21 +386,21 @@ function Pe(s, e, t) {
386
386
  Y,
387
387
  n,
388
388
  w,
389
- S,
390
389
  C,
390
+ S,
391
391
  j,
392
392
  R,
393
- p
393
+ x
394
394
  ];
395
395
  }
396
- class Le extends ae {
396
+ class Pe extends ae {
397
397
  constructor(e) {
398
398
  super(), se(
399
399
  this,
400
400
  e,
401
- Pe,
401
+ Le,
402
402
  ke,
403
- ne,
403
+ ie,
404
404
  {
405
405
  endpoint: 0,
406
406
  datasource: 1,
@@ -569,7 +569,7 @@ class Le extends ae {
569
569
  this.$$set({ mbsource: e }), l();
570
570
  }
571
571
  }
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);
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);
573
573
  export {
574
- Le as default
574
+ Pe as default
575
575
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-CkNAiTx8.cjs");require("./CasinoFavoritesSection-hHKNAcoS.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"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))}")}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[14]),t.set_custom_element_data(e,"fetchviaevent",n[16]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),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,"mbsource",n[17]),t.set_custom_element_data(e,"showgamename",n[12]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"livecasino",n[8]),t.set_custom_element_data(e,"visiblegames",n[13]),t.set_custom_element_data(e,"gamepagemodalurl",n[11]),t.set_custom_element_data(e,"integratedgameframedesktop",n[10]),t.set_custom_element_data(e,"integratedgameframemobile",n[9]),t.set_custom_element_data(e,"casinomygames",n[15])},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]&16384&&t.set_custom_element_data(e,"favorites",a[14]),i[0]&65536&&t.set_custom_element_data(e,"fetchviaevent",a[16]),i[0]&131072&&t.set_custom_element_data(e,"mbsource",a[17]),i[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),i[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),i[0]&8192&&t.set_custom_element_data(e,"visiblegames",a[13]),i[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),i[0]&512&&t.set_custom_element_data(e,"integratedgameframemobile",a[9]),i[0]&32768&&t.set_custom_element_data(e,"casinomygames",a[15])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[20]("noRecentGames")+"",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]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[19]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{clientstyling:h=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:k=""}=e,{favorites:E=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:L=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:F="true"}=e,{mbsource:q}=e,I=window.navigator.userAgent,N=!1,w=[],O,g;const J=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${_}/games/last-played`);r.searchParams.append("unique",j),r.searchParams.append("limit",C),r.searchParams.append("order",L),r.searchParams.append("period",P),t.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),O=v?r:r.href,fetch(O).then(m=>m.json()).then(m=>{m.items=m.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),v?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{w=r.filter(f=>!("error"in f)).map(f=>f[0]),S==="true"&&(w=w.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else a(19,N=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(18,g)})}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,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"clientstyling"in s&&a(6,h=s.clientstyling),"clientstylingurl"in s&&a(7,y=s.clientstylingurl),"translationurl"in s&&a(21,b=s.translationurl),"livecasino"in s&&a(8,v=s.livecasino),"integratedgameframemobile"in s&&a(9,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(10,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(11,M=s.gamepagemodalurl),"showgamename"in s&&a(12,D=s.showgamename),"visiblegames"in s&&a(13,k=s.visiblegames),"favorites"in s&&a(14,E=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,L=s.lastplayedorder),"lastplayedlimit"in s&&a(24,C=s.lastplayedlimit),"casinomygames"in s&&a(15,S=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(16,F=s.fetchviaevent),"mbsource"in s&&a(17,q=s.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&2097152&&b&&J(),n.$$.dirty[0]&262208&&h&&g&&t.setClientStyling(g,h),n.$$.dirty[0]&262272&&y&&g&&t.setClientStylingURL(g,y),n.$$.dirty[0]&393216&&g&&t.setStreamStyling(g,`${q}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,v,R,A,M,D,k,E,S,F,q,g,N,i,b,P,L,C,j,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:21,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:15,lastplayedunique:25,fetchviaevent:16,mbsource: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 clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=Y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DqS7aKva.cjs");require("./CasinoFavoritesSection-CBb3Eo8J.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"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))}")}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[14]),t.set_custom_element_data(e,"fetchviaevent",n[16]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),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,"mbsource",n[17]),t.set_custom_element_data(e,"showgamename",n[12]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"livecasino",n[8]),t.set_custom_element_data(e,"visiblegames",n[13]),t.set_custom_element_data(e,"gamepagemodalurl",n[11]),t.set_custom_element_data(e,"integratedgameframedesktop",n[10]),t.set_custom_element_data(e,"integratedgameframemobile",n[9]),t.set_custom_element_data(e,"casinomygames",n[15])},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]&16384&&t.set_custom_element_data(e,"favorites",a[14]),i[0]&65536&&t.set_custom_element_data(e,"fetchviaevent",a[16]),i[0]&131072&&t.set_custom_element_data(e,"mbsource",a[17]),i[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),i[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),i[0]&8192&&t.set_custom_element_data(e,"visiblegames",a[13]),i[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),i[0]&512&&t.set_custom_element_data(e,"integratedgameframemobile",a[9]),i[0]&32768&&t.set_custom_element_data(e,"casinomygames",a[15])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[20]("noRecentGames")+"",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]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[19]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{clientstyling:h=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:k=""}=e,{favorites:E=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:L=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:F="true"}=e,{mbsource:q}=e,I=window.navigator.userAgent,N=!1,w=[],O,g;const J=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${_}/games/last-played`);r.searchParams.append("unique",j),r.searchParams.append("limit",C),r.searchParams.append("order",L),r.searchParams.append("period",P),t.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),O=v?r:r.href,fetch(O).then(m=>m.json()).then(m=>{m.items=m.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),v?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{w=r.filter(f=>!("error"in f)).map(f=>f[0]),S==="true"&&(w=w.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else a(19,N=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(18,g)})}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,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"clientstyling"in s&&a(6,h=s.clientstyling),"clientstylingurl"in s&&a(7,y=s.clientstylingurl),"translationurl"in s&&a(21,b=s.translationurl),"livecasino"in s&&a(8,v=s.livecasino),"integratedgameframemobile"in s&&a(9,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(10,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(11,M=s.gamepagemodalurl),"showgamename"in s&&a(12,D=s.showgamename),"visiblegames"in s&&a(13,k=s.visiblegames),"favorites"in s&&a(14,E=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,L=s.lastplayedorder),"lastplayedlimit"in s&&a(24,C=s.lastplayedlimit),"casinomygames"in s&&a(15,S=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(16,F=s.fetchviaevent),"mbsource"in s&&a(17,q=s.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&2097152&&b&&J(),n.$$.dirty[0]&262208&&h&&g&&t.setClientStyling(g,h),n.$$.dirty[0]&262272&&y&&g&&t.setClientStylingURL(g,y),n.$$.dirty[0]&393216&&g&&t.setStreamStyling(g,`${q}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,v,R,A,M,D,k,E,S,F,q,g,N,i,b,P,L,C,j,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:21,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:15,lastplayedunique:25,fetchviaevent:16,mbsource: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 clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=Y;