@everymatrix/casino-lobby 1.86.2 → 1.86.4

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 (110) hide show
  1. package/components/CasinoCalendar-Bh1m4DYa.cjs +19 -0
  2. package/components/{CasinoCalendar-DeuDpvc7.js → CasinoCalendar-CTTcluAF.js} +1012 -1033
  3. package/components/{CasinoCalendar-qxlVRlx3.js → CasinoCalendar-g3C0yL-l.js} +828 -849
  4. package/components/{CasinoCalendarDailyDetails-DgSA6Oos.js → CasinoCalendarDailyDetails-BReSw0PH.js} +38 -38
  5. package/components/{CasinoCalendarDailyDetails-oDArpqk3.js → CasinoCalendarDailyDetails-C6NZu63m.js} +38 -38
  6. package/components/{CasinoCalendarDailyDetails-0DzEjr4I.cjs → CasinoCalendarDailyDetails-MbSzyBl-.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-D1UMrOrr.js → CasinoCalendarDailyItem-DW4bwJrg.js} +34 -34
  8. package/components/{CasinoCalendarDailyItem--x4C1v1R.js → CasinoCalendarDailyItem-D_-hgIOG.js} +34 -34
  9. package/components/{CasinoCalendarDailyItem-BT_oTw81.cjs → CasinoCalendarDailyItem-vF8QUewM.cjs} +1 -1
  10. package/components/CasinoCategoriesSlider-CMW1BzhU.cjs +1 -0
  11. package/components/{CasinoCategoriesSlider-DnJiwJ-i.js → CasinoCategoriesSlider-DLioXO8u.js} +73 -73
  12. package/components/{CasinoCategoriesSlider-BmkD2GJJ.js → CasinoCategoriesSlider-uIpxZEDW.js} +70 -70
  13. package/components/{CasinoCollectionsProviders-DS-cICru.js → CasinoCollectionsProviders-BDJPyhyP.js} +64 -64
  14. package/components/{CasinoCollectionsProviders-KucGv4ev.cjs → CasinoCollectionsProviders-C66FXn8E.cjs} +1 -1
  15. package/components/{CasinoCollectionsProviders-SF9NUz_s.js → CasinoCollectionsProviders-l8Bj7gLF.js} +77 -77
  16. package/components/{CasinoFavoritesSection-DBOa4rLG.js → CasinoFavoritesSection-1xjeruY9.js} +19 -19
  17. package/components/{CasinoFavoritesSection-Q91WkZtR.js → CasinoFavoritesSection-JbXta4ej.js} +19 -19
  18. package/components/{CasinoFavoritesSection-ioWl2WWa.cjs → CasinoFavoritesSection-flqQ1Txz.cjs} +1 -1
  19. package/components/{CasinoFilter-WlNu83Yo.js → CasinoFilter-AWMGrvg7.js} +222 -223
  20. package/components/CasinoFilter-CrCTTPvH.cjs +1 -0
  21. package/components/{CasinoFilter-Iy2ZAp7X.js → CasinoFilter-DK1IJtKj.js} +245 -244
  22. package/components/{CasinoGameThumbnail-yvrHp66V.js → CasinoGameThumbnail-AMyBxNdq.js} +762 -778
  23. package/components/{CasinoGameThumbnail-Ddpsxirj.js → CasinoGameThumbnail-DgEB-dkM.js} +1268 -1252
  24. package/components/CasinoGameThumbnail-Dymq8wWq.cjs +47 -0
  25. package/components/{CasinoGamesCategorySection-COcAuqTG.js → CasinoGamesCategorySection-UbxtEgDx.js} +301 -301
  26. package/components/{CasinoGamesCategorySection-DUgz8uau.cjs → CasinoGamesCategorySection-ZiaOwaIX.cjs} +1 -1
  27. package/components/{CasinoGamesCategorySection-DDqd3M8L.js → CasinoGamesCategorySection-blhrWiJn.js} +302 -302
  28. package/components/{CasinoJackpotBanner-DEsoDJ4R.cjs → CasinoJackpotBanner-15vjCxeq.cjs} +1 -1
  29. package/components/{CasinoJackpotBanner-ovGVK744.js → CasinoJackpotBanner-OEQ6kTNX.js} +84 -84
  30. package/components/{CasinoJackpotBanner-CuHjieHv.js → CasinoJackpotBanner-sKWQEAXI.js} +89 -89
  31. package/components/{CasinoLastPlayedSection-C8WSFXnj.js → CasinoLastPlayedSection-DlDq9l_7.js} +33 -33
  32. package/components/{CasinoLastPlayedSection-cSkPcLtL.js → CasinoLastPlayedSection-Dv7S9x-o.js} +33 -33
  33. package/components/{CasinoLastPlayedSection-BHV-LRk1.cjs → CasinoLastPlayedSection-kM9yLvhD.cjs} +1 -1
  34. package/components/{CasinoLobby-Bkj4ZQu6.js → CasinoLobby-BknjaOeS.js} +59 -59
  35. package/components/{CasinoLobby-Bc2QHTe4.js → CasinoLobby-Dho7eG4P.js} +59 -59
  36. package/components/{CasinoLobby-Cs6HmQRu.cjs → CasinoLobby-odJbcWRR.cjs} +1 -1
  37. package/components/{CasinoMostPlayedSection-DsX-pIXm.cjs → CasinoMostPlayedSection-BJpdcEGe.cjs} +1 -1
  38. package/components/{CasinoMostPlayedSection-CQdqKCZj.js → CasinoMostPlayedSection-CGxtqevB.js} +45 -45
  39. package/components/{CasinoMostPlayedSection-smiwW5Ol.js → CasinoMostPlayedSection-PvqfZR6v.js} +45 -45
  40. package/components/{CasinoMyGames-CJ7rioBh.cjs → CasinoMyGames-Baaz8xfL.cjs} +1 -1
  41. package/components/{CasinoMyGames-CYZ5nWjJ.js → CasinoMyGames-C22R6240.js} +29 -29
  42. package/components/{CasinoMyGames-CnnjGYeT.js → CasinoMyGames-Cr-QJTaa.js} +29 -29
  43. package/components/{CasinoPage-Dg5sPuQa.js → CasinoPage-BGrASQhH.js} +109 -109
  44. package/components/{CasinoPage-BzASY7Hg.cjs → CasinoPage-BZnxTJSo.cjs} +1 -1
  45. package/components/{CasinoPage-CUUEVdPt.js → CasinoPage-DcXwVMup.js} +123 -123
  46. package/components/{CasinoRandomGame-Dh5EVxCR.js → CasinoRandomGame-CLsTaSPD.js} +53 -53
  47. package/components/{CasinoRandomGame-DRJXaM_Z.cjs → CasinoRandomGame-Cz5w1Xkm.cjs} +1 -1
  48. package/components/{CasinoRandomGame-DBzLZj0J.js → CasinoRandomGame-DoBaxDNA.js} +52 -52
  49. package/components/{CasinoSearch--8BCnmOG.js → CasinoSearch-D4nuoT1C.js} +85 -85
  50. package/components/{CasinoSearch-r9ofFlZt.cjs → CasinoSearch-DHRGmpEd.cjs} +1 -1
  51. package/components/{CasinoSearch-BxyP0Ga2.js → CasinoSearch-M-zypI5B.js} +82 -82
  52. package/components/{CasinoSlider-C0mxz0hk.cjs → CasinoSlider-B_WI_7Qb.cjs} +1 -1
  53. package/components/{CasinoSlider-BihCQ92y.js → CasinoSlider-DvI5SCyj.js} +86 -86
  54. package/components/{CasinoSlider-DpYeYJhK.js → CasinoSlider-OSPrTvMo.js} +87 -87
  55. package/components/{CasinoSort-CbOOYzWs.js → CasinoSort-COpZLKBV.js} +102 -103
  56. package/components/{CasinoSort-BOsO5Bfe.js → CasinoSort-DEbYB6BH.js} +112 -111
  57. package/components/{CasinoSort-L9UM4M85.cjs → CasinoSort-KSHMLnqL.cjs} +1 -1
  58. package/components/{CasinoWinners-DAW-pGRt.js → CasinoWinners-6u19h4xG.js} +151 -151
  59. package/components/{CasinoWinners-CDQfWIM6.js → CasinoWinners-CtR1v_xw.js} +148 -148
  60. package/components/{CasinoWinners-CxuidCR1.cjs → CasinoWinners-DlPnBzX-.cjs} +1 -1
  61. package/components/{GeneralAnimationLoading-CPc2UOwA.js → GeneralAnimationLoading-CEqG5qMY.js} +14 -14
  62. package/components/{GeneralAnimationLoading-CFokXkWs.cjs → GeneralAnimationLoading-oehLt3ob.cjs} +1 -1
  63. package/components/{GeneralAnimationLoading-D0quTPWA.js → GeneralAnimationLoading-rntZi33z.js} +14 -14
  64. package/es2015/casino-lobby.cjs +1 -1
  65. package/es2015/casino-lobby.js +1 -1
  66. package/esnext/casino-lobby.js +1 -1
  67. package/package.json +1 -1
  68. package/stencil/{casino-play-random-game-rBIQ75Yb.cjs → casino-play-random-game-111R1Frl.cjs} +1 -1
  69. package/stencil/{casino-play-random-game-bUDjgSKo.js → casino-play-random-game-D9PFB7B2.js} +1 -1
  70. package/stencil/{casino-play-random-game-DmsXPThq.js → casino-play-random-game-Dge6-qaF.js} +1 -1
  71. package/stencil/{casino-play-random-game_2-Bf4CHBc9.js → casino-play-random-game_2-CunwpDd1.js} +2 -2
  72. package/stencil/{casino-play-random-game_2-C30-vRGp.js → casino-play-random-game_2-auPXMZnz.js} +2 -2
  73. package/stencil/{casino-play-random-game_2-CCCLDakd.cjs → casino-play-random-game_2-cZvlv_fo.cjs} +2 -2
  74. package/stencil/index-328e660d-A_dWaOAX.cjs +1 -0
  75. package/stencil/index-328e660d-BiHqu78m.js +576 -0
  76. package/stencil/index-328e660d-DJbpQFmN.js +560 -0
  77. package/stencil/index-97d17652-DvplcHtm.js +558 -0
  78. package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
  79. package/stencil/index-97d17652-p-iQtjus.js +542 -0
  80. package/stencil/index-b2193545-BkP0Nc2C.cjs +1 -0
  81. package/stencil/index-b2193545-CejVSlwL.js +519 -0
  82. package/stencil/index-b2193545-DL1I-QYR.js +503 -0
  83. package/stencil/{ui-image-BmLAbwvr.cjs → ui-image-C1Fl5HOc.cjs} +1 -1
  84. package/stencil/{ui-image-DDulMZDF.js → ui-image-DnOuibDF.js} +1 -1
  85. package/stencil/{ui-image-DwWgscwP.js → ui-image-_mAQXh8W.js} +1 -1
  86. package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
  87. package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
  88. package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
  89. package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BESQEo1l.js} +2 -2
  90. package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BfZmduAK.js} +2 -2
  91. package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
  92. package/stencil/{ui-skeleton-BWEKzqTN.cjs → ui-skeleton-CWdppDyF.cjs} +1 -1
  93. package/stencil/{ui-skeleton-DgZQnowa.js → ui-skeleton-QCtPK7l5.js} +2 -2
  94. package/stencil/{ui-skeleton-D_tu1FGi.js → ui-skeleton-TkMXeWrD.js} +2 -2
  95. package/stencil/{ui-skeleton-ed169f8f-Ti6Ksz7V.cjs → ui-skeleton-ed169f8f-BT7QFq3s.cjs} +1 -1
  96. package/stencil/{ui-skeleton-ed169f8f-Bs1q2JQr.js → ui-skeleton-ed169f8f-CiWqRE71.js} +1 -1
  97. package/stencil/{ui-skeleton-ed169f8f-D2rWx_KU.js → ui-skeleton-ed169f8f-pTYMIneT.js} +1 -1
  98. package/components/CasinoCalendar-CDybCkBw.cjs +0 -19
  99. package/components/CasinoCategoriesSlider-CDsrUsbe.cjs +0 -1
  100. package/components/CasinoFilter-S-pUTxvR.cjs +0 -1
  101. package/components/CasinoGameThumbnail-B386-P3k.cjs +0 -47
  102. package/stencil/index-328e660d-B6ge05AJ.js +0 -560
  103. package/stencil/index-328e660d-C6OCQOhB.cjs +0 -1
  104. package/stencil/index-328e660d-Duk3nD23.js +0 -576
  105. package/stencil/index-97d17652-B6BYeRne.js +0 -542
  106. package/stencil/index-97d17652-BOr4KAqq.js +0 -558
  107. package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
  108. package/stencil/index-b2193545-BZAG_Jnw.js +0 -503
  109. package/stencil/index-b2193545-DG7pnr-7.js +0 -519
  110. package/stencil/index-b2193545-DuCTLpV-.cjs +0 -1
@@ -1,12 +1,12 @@
1
- import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as L, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, M as me, H as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-qxlVRlx3.js";
2
- import "./CasinoFavoritesSection-DBOa4rLG.js";
3
- function K(s, e) {
1
+ import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as L, y as A, d as M, z as B, G as I, j as D, k as re, o as oe, p as ue, q as ce, r as me, l as ge, H as i, x as de, E as fe, J as he, N as ye } from "./CasinoCalendar-CTTcluAF.js";
2
+ import "./CasinoFavoritesSection-JbXta4ej.js";
3
+ function V(s, e) {
4
4
  ee(s, e);
5
5
  }
6
6
  function be(s) {
7
7
  te.set(s);
8
8
  }
9
- const V = {
9
+ const Z = {
10
10
  en: {
11
11
  noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
12
12
  },
@@ -33,7 +33,7 @@ const V = {
33
33
  }
34
34
  };
35
35
  function ve(s) {
36
- ne(s, "svelte-9pcrt1", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
36
+ le(s, "svelte-9pcrt1", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
37
37
  }
38
38
  function we(s) {
39
39
  let e;
@@ -137,7 +137,7 @@ function we(s) {
137
137
  );
138
138
  },
139
139
  m(t, n) {
140
- D(t, e, n);
140
+ M(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 && M(e);
260
+ t && D(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 = L("p"), n = ce(t), A(e, "class", "SearchLoading");
271
+ e = L("p"), n = de(t), A(e, "class", "SearchLoading");
272
272
  },
273
273
  m(o, r) {
274
- D(o, e, r), Z(e, n);
274
+ M(o, e, r), B(e, n);
275
275
  },
276
276
  p(o, r) {
277
277
  r[0] & /*$_*/
278
278
  2097152 && t !== (t = /*$_*/
279
- o[21]("noRecentGames") + "") && ue(n, t);
279
+ o[21]("noRecentGames") + "") && fe(n, t);
280
280
  },
281
281
  d(o) {
282
- o && M(e);
282
+ o && D(e);
283
283
  }
284
284
  };
285
285
  }
@@ -297,40 +297,40 @@ function ke(s) {
297
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
- D(m, e, d), Z(e, t), r.m(t, null), s[26](e);
300
+ M(m, e, d), B(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: H,
306
- o: H,
305
+ i: I,
306
+ o: I,
307
307
  d(m) {
308
- m && M(e), r.d(), s[26](null);
308
+ m && D(e), r.d(), s[26](null);
309
309
  }
310
310
  };
311
311
  }
312
312
  function Le(s, e, t) {
313
313
  let n;
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;
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: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: O = "" } = e, { visiblegames: P = "" } = 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;
316
316
  const Q = () => {
317
317
  fetch(w).then((g) => g.json()).then((g) => {
318
318
  Object.keys(g).forEach((u) => {
319
- K(u, g[u]);
319
+ V(u, g[u]);
320
320
  });
321
321
  }).catch((g) => {
322
322
  console.log(g);
323
323
  });
324
324
  };
325
- Object.keys(V).forEach((a) => {
326
- K(a, V[a]);
325
+ Object.keys(Z).forEach((a) => {
326
+ V(a, Z[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", 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) => {
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) => {
331
331
  c.items = c.items.filter(($) => {
332
- let J = !0;
333
- return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
332
+ let H = !0;
333
+ return $.gameCode == "OddsMatrix2" && (c.count--, H = !1), H;
334
334
  }), a(c), window.postMessage(
335
335
  {
336
336
  type: "AddNewCategory",
@@ -357,22 +357,22 @@ function Le(s, e, t) {
357
357
  }, p = () => {
358
358
  be(d);
359
359
  };
360
- re(() => () => {
360
+ oe(() => () => {
361
361
  });
362
362
  function x(a) {
363
- oe[a ? "unshift" : "push"](() => {
363
+ ue[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, 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);
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, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, F = a.gamepagemodalurl), "showgamename" in a && t(13, O = a.showgamename), "visiblegames" in a && t(14, P = 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);
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 && 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*/
373
+ 524352 && b && f && ce(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
374
+ 524416 && v && f && me(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
375
+ 786432 && f && ge(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
376
376
  8 && d && p();
377
377
  }, [
378
378
  o,
@@ -385,9 +385,9 @@ function Le(s, e, t) {
385
385
  v,
386
386
  w,
387
387
  _,
388
- F,
389
388
  N,
390
389
  z,
390
+ F,
391
391
  O,
392
392
  P,
393
393
  T,
@@ -397,8 +397,8 @@ function Le(s, e, t) {
397
397
  f,
398
398
  Y,
399
399
  n,
400
- C,
401
400
  S,
401
+ C,
402
402
  j,
403
403
  R,
404
404
  x
@@ -411,7 +411,7 @@ class Pe extends ae {
411
411
  e,
412
412
  Le,
413
413
  ke,
414
- ie,
414
+ ne,
415
415
  {
416
416
  endpoint: 0,
417
417
  datasource: 1,
@@ -580,7 +580,7 @@ class Pe extends ae {
580
580
  this.$$set({ mbsource: e }), l();
581
581
  }
582
582
  }
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);
583
+ ie(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
585
  Pe as default
586
586
  };
@@ -1,12 +1,12 @@
1
- import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as L, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, M as me, H as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-DeuDpvc7.js";
2
- import "./CasinoFavoritesSection-Q91WkZtR.js";
3
- function K(s, e) {
1
+ import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as L, y as A, d as M, z as B, G as I, j as D, k as re, o as oe, p as ue, q as ce, r as me, l as ge, H as i, x as de, E as fe, J as he, N as ye } from "./CasinoCalendar-g3C0yL-l.js";
2
+ import "./CasinoFavoritesSection-1xjeruY9.js";
3
+ function V(s, e) {
4
4
  ee(s, e);
5
5
  }
6
6
  function be(s) {
7
7
  te.set(s);
8
8
  }
9
- const V = {
9
+ const Z = {
10
10
  en: {
11
11
  noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
12
12
  },
@@ -33,7 +33,7 @@ const V = {
33
33
  }
34
34
  };
35
35
  function ve(s) {
36
- ne(s, "svelte-9pcrt1", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
36
+ le(s, "svelte-9pcrt1", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
37
37
  }
38
38
  function we(s) {
39
39
  let e;
@@ -137,7 +137,7 @@ function we(s) {
137
137
  );
138
138
  },
139
139
  m(t, n) {
140
- D(t, e, n);
140
+ M(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 && M(e);
260
+ t && D(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 = L("p"), n = ce(t), A(e, "class", "SearchLoading");
271
+ e = L("p"), n = de(t), A(e, "class", "SearchLoading");
272
272
  },
273
273
  m(o, r) {
274
- D(o, e, r), Z(e, n);
274
+ M(o, e, r), B(e, n);
275
275
  },
276
276
  p(o, r) {
277
277
  r[0] & /*$_*/
278
278
  2097152 && t !== (t = /*$_*/
279
- o[21]("noRecentGames") + "") && ue(n, t);
279
+ o[21]("noRecentGames") + "") && fe(n, t);
280
280
  },
281
281
  d(o) {
282
- o && M(e);
282
+ o && D(e);
283
283
  }
284
284
  };
285
285
  }
@@ -297,40 +297,40 @@ function ke(s) {
297
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
- D(m, e, d), Z(e, t), r.m(t, null), s[26](e);
300
+ M(m, e, d), B(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: H,
306
- o: H,
305
+ i: I,
306
+ o: I,
307
307
  d(m) {
308
- m && M(e), r.d(), s[26](null);
308
+ m && D(e), r.d(), s[26](null);
309
309
  }
310
310
  };
311
311
  }
312
312
  function Le(s, e, t) {
313
313
  let n;
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;
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: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: O = "" } = e, { visiblegames: P = "" } = 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;
316
316
  const Q = () => {
317
317
  fetch(w).then((g) => g.json()).then((g) => {
318
318
  Object.keys(g).forEach((u) => {
319
- K(u, g[u]);
319
+ V(u, g[u]);
320
320
  });
321
321
  }).catch((g) => {
322
322
  console.log(g);
323
323
  });
324
324
  };
325
- Object.keys(V).forEach((a) => {
326
- K(a, V[a]);
325
+ Object.keys(Z).forEach((a) => {
326
+ V(a, Z[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", 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) => {
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) => {
331
331
  c.items = c.items.filter(($) => {
332
- let J = !0;
333
- return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
332
+ let H = !0;
333
+ return $.gameCode == "OddsMatrix2" && (c.count--, H = !1), H;
334
334
  }), a(c), window.postMessage(
335
335
  {
336
336
  type: "AddNewCategory",
@@ -357,22 +357,22 @@ function Le(s, e, t) {
357
357
  }, p = () => {
358
358
  be(d);
359
359
  };
360
- re(() => () => {
360
+ oe(() => () => {
361
361
  });
362
362
  function x(a) {
363
- oe[a ? "unshift" : "push"](() => {
363
+ ue[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, 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);
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, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, F = a.gamepagemodalurl), "showgamename" in a && t(13, O = a.showgamename), "visiblegames" in a && t(14, P = 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);
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 && 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*/
373
+ 524352 && b && f && ce(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
374
+ 524416 && v && f && me(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
375
+ 786432 && f && ge(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
376
376
  8 && d && p();
377
377
  }, [
378
378
  o,
@@ -385,9 +385,9 @@ function Le(s, e, t) {
385
385
  v,
386
386
  w,
387
387
  _,
388
- F,
389
388
  N,
390
389
  z,
390
+ F,
391
391
  O,
392
392
  P,
393
393
  T,
@@ -397,8 +397,8 @@ function Le(s, e, t) {
397
397
  f,
398
398
  Y,
399
399
  n,
400
- C,
401
400
  S,
401
+ C,
402
402
  j,
403
403
  R,
404
404
  x
@@ -411,7 +411,7 @@ class Pe extends ae {
411
411
  e,
412
412
  Le,
413
413
  ke,
414
- ie,
414
+ ne,
415
415
  {
416
416
  endpoint: 0,
417
417
  datasource: 1,
@@ -580,7 +580,7 @@ class Pe extends ae {
580
580
  this.$$set({ mbsource: e }), l();
581
581
  }
582
582
  }
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);
583
+ ie(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
585
  Pe as default
586
586
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-CDybCkBw.cjs");require("./CasinoFavoritesSection-ioWl2WWa.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[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),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[18]),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"translationurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&262144&&t.set_custom_element_data(e,"mbsource",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),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,"translationurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[21]("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]&2097152&&a!==(a=o[21]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[20]?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(21,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(m=>{z(m,c[m])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let m=new URL(`${o}/v1/player/${_}/games/last-played`);m.searchParams.append("unique",j),m.searchParams.append("limit",C),m.searchParams.append("order",L),m.searchParams.append("period",P),t.getDevice(I)==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"),O=v?m:m.href,fetch(O).then(r=>r.json()).then(r=>{r.items=r.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(r.count--,T=!1),T}),s(r),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:r},window.location.href)}).catch(r=>{console.error(r),c(r)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(m=>{let f=new URL(`${o}/v1/casino/games/${m.gameId}`);f.searchParams.append("datasource",l),v?c.push(fetch(f.href).then(r=>r.json())):c.push(fetch(f.href).then(r=>r.json()))}),Promise.all(c).then(m=>{w=m.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(20,N=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(19,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(8,b=s.translationurl),"livecasino"in s&&a(9,v=s.livecasino),"integratedgameframemobile"in s&&a(10,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,M=s.gamepagemodalurl),"showgamename"in s&&a(13,D=s.showgamename),"visiblegames"in s&&a(14,k=s.visiblegames),"favorites"in s&&a(15,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(16,S=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(17,F=s.fetchviaevent),"mbsource"in s&&a(18,q=s.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&256&&b&&J(),n.$$.dirty[0]&524352&&h&&g&&t.setClientStyling(g,h),n.$$.dirty[0]&524416&&y&&g&&t.setClientStylingURL(g,y),n.$$.dirty[0]&786432&&g&&t.setStreamStyling(g,`${q}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,b,v,R,A,M,D,k,E,S,F,q,g,N,i,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:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:16,lastplayedunique:25,fetchviaevent:17,mbsource: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 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[8]}set translationurl(e){this.$$set({translationurl: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 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[16]}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[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[18]}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-Bh1m4DYa.cjs");require("./CasinoFavoritesSection-flqQ1Txz.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[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),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[18]),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"translationurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&262144&&t.set_custom_element_data(e,"mbsource",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),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,"translationurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[21]("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]&2097152&&a!==(a=o[21]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[20]?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(21,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(m=>{z(m,c[m])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let m=new URL(`${o}/v1/player/${_}/games/last-played`);m.searchParams.append("unique",j),m.searchParams.append("limit",C),m.searchParams.append("order",L),m.searchParams.append("period",P),t.getDevice(I)==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"),O=v?m:m.href,fetch(O).then(r=>r.json()).then(r=>{r.items=r.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(r.count--,T=!1),T}),s(r),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:r},window.location.href)}).catch(r=>{console.error(r),c(r)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(m=>{let f=new URL(`${o}/v1/casino/games/${m.gameId}`);f.searchParams.append("datasource",l),v?c.push(fetch(f.href).then(r=>r.json())):c.push(fetch(f.href).then(r=>r.json()))}),Promise.all(c).then(m=>{w=m.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(20,N=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(19,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(8,b=s.translationurl),"livecasino"in s&&a(9,v=s.livecasino),"integratedgameframemobile"in s&&a(10,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,M=s.gamepagemodalurl),"showgamename"in s&&a(13,D=s.showgamename),"visiblegames"in s&&a(14,k=s.visiblegames),"favorites"in s&&a(15,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(16,S=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(17,F=s.fetchviaevent),"mbsource"in s&&a(18,q=s.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&256&&b&&J(),n.$$.dirty[0]&524352&&h&&g&&t.setClientStyling(g,h),n.$$.dirty[0]&524416&&y&&g&&t.setClientStylingURL(g,y),n.$$.dirty[0]&786432&&g&&t.setStreamStyling(g,`${q}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,b,v,R,A,M,D,k,E,S,F,q,g,N,i,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:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:16,lastplayedunique:25,fetchviaevent:17,mbsource: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 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[8]}set translationurl(e){this.$$set({translationurl: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 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[16]}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[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[18]}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;