@everymatrix/casino-page-nd 1.76.13 → 1.76.14

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 (92) hide show
  1. package/components/{CasinoCalendar-DDXo_sLW.js → CasinoCalendar-BpmBQMqg.js} +835 -856
  2. package/components/CasinoCalendar-CzrlHwD6.cjs +19 -0
  3. package/components/{CasinoCalendar-DdCnnpAB.js → CasinoCalendar-DIKM6-FX.js} +992 -1013
  4. package/components/{CasinoCalendarDailyDetails-CY7B1lxS.js → CasinoCalendarDailyDetails-B2rPnr-r.js} +37 -37
  5. package/components/{CasinoCalendarDailyDetails-CQZJ4CVD.js → CasinoCalendarDailyDetails-CR3HaDXZ.js} +38 -38
  6. package/components/{CasinoCalendarDailyDetails-C27NHVH_.cjs → CasinoCalendarDailyDetails-Db4V8lzv.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-BqL5H57o.cjs → CasinoCalendarDailyItem-BYf0S582.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-CwQkhLDC.js → CasinoCalendarDailyItem-BtpO8qS-.js} +36 -36
  9. package/components/{CasinoCalendarDailyItem-DGbWXxCR.js → CasinoCalendarDailyItem-EtfFPL69.js} +39 -39
  10. package/components/{CasinoCollectionsProviders-BoWCBksj.js → CasinoCollectionsProviders-CGHuHGKJ.js} +68 -68
  11. package/components/{CasinoCollectionsProviders-D9evjksc.js → CasinoCollectionsProviders-DRvdCXk8.js} +65 -65
  12. package/components/{CasinoCollectionsProviders-DuN6pZVH.cjs → CasinoCollectionsProviders-zDF0lel_.cjs} +1 -1
  13. package/components/{CasinoFavoritesSectionNd-CGOlvGdM.js → CasinoFavoritesSectionNd-D_iRqzx7.js} +24 -24
  14. package/components/{CasinoFavoritesSectionNd-H7nx1r94.js → CasinoFavoritesSectionNd-Vth9qKYe.js} +27 -27
  15. package/components/{CasinoFavoritesSectionNd-CvXJsyAP.cjs → CasinoFavoritesSectionNd-wD4aGs9L.cjs} +1 -1
  16. package/components/CasinoFilter-BVW1b78L.cjs +1 -0
  17. package/components/{CasinoFilter-KfWVyYe3.js → CasinoFilter-DzWurkh4.js} +235 -236
  18. package/components/{CasinoFilter-DnMTdTn9.js → CasinoFilter-PMuyKrfM.js} +254 -253
  19. package/components/CasinoGameThumbnailNd-B-r_T1ag.cjs +30 -0
  20. package/components/{CasinoGameThumbnailNd-NR9WwTZ6.js → CasinoGameThumbnailNd-Bew7sNHs.js} +64 -62
  21. package/components/{CasinoGameThumbnailNd-Bzu_4Oxw.js → CasinoGameThumbnailNd-a3JP2Y65.js} +66 -64
  22. package/components/{CasinoGamesCategorySectionNd-CblCav-m.js → CasinoGamesCategorySectionNd-BViAsj82.js} +162 -162
  23. package/components/{CasinoGamesCategorySectionNd-CIcaCq68.cjs → CasinoGamesCategorySectionNd-BxnBPZSN.cjs} +1 -1
  24. package/components/{CasinoGamesCategorySectionNd-Rm6DYIBP.js → CasinoGamesCategorySectionNd-Dmc0zltf.js} +136 -136
  25. package/components/{CasinoJackpotBanner-C6wXEguN.js → CasinoJackpotBanner-BqnIz0Jh.js} +58 -58
  26. package/components/{CasinoJackpotBanner-MCIBXYea.js → CasinoJackpotBanner-BvlsWFl7.js} +103 -103
  27. package/components/{CasinoJackpotBanner-BwX1dP1o.cjs → CasinoJackpotBanner-DVQ8suFI.cjs} +1 -1
  28. package/components/{CasinoLastPlayedSectionNd-CN3yKI9-.js → CasinoLastPlayedSectionNd-DP2wNqqR.js} +34 -34
  29. package/components/{CasinoLastPlayedSectionNd-fAiSSaIh.js → CasinoLastPlayedSectionNd-DgT1mzLh.js} +41 -41
  30. package/components/{CasinoLastPlayedSectionNd-Bxs8eYQG.cjs → CasinoLastPlayedSectionNd-jre5mCnw.cjs} +1 -1
  31. package/components/{CasinoMostPlayedSectionNd-B1at83la.js → CasinoMostPlayedSectionNd-B60c74Nx.js} +36 -36
  32. package/components/{CasinoMostPlayedSectionNd-G7f4yFDo.js → CasinoMostPlayedSectionNd-BDbP0dVK.js} +42 -42
  33. package/components/{CasinoMostPlayedSectionNd-C-cloax-.cjs → CasinoMostPlayedSectionNd-C9EPOuC_.cjs} +1 -1
  34. package/components/{CasinoMyGamesNd-CxF3mFQs.cjs → CasinoMyGamesNd-Bhufp11n.cjs} +1 -1
  35. package/components/{CasinoMyGamesNd-DwAtzu1i.js → CasinoMyGamesNd-DMqZrYBo.js} +37 -37
  36. package/components/{CasinoMyGamesNd-Bj2okvQP.js → CasinoMyGamesNd-VCvq-Ujh.js} +28 -28
  37. package/components/{CasinoPageNd-Bo7ns-k8.js → CasinoPageNd-BvQvfzbo.js} +113 -113
  38. package/components/{CasinoPageNd-DxVmo3F5.cjs → CasinoPageNd-D34CwHfP.cjs} +1 -1
  39. package/components/{CasinoPageNd-B6pJElK0.js → CasinoPageNd-DA7qMS-l.js} +109 -109
  40. package/components/{CasinoRandomGame-DlzNumMI.js → CasinoRandomGame-BPjl3Vyt.js} +49 -49
  41. package/components/{CasinoRandomGame-8L_f477H.js → CasinoRandomGame-Dbm27S1o.js} +58 -58
  42. package/components/{CasinoRandomGame-CxZ9BOdC.cjs → CasinoRandomGame-Er_WDp3Q.cjs} +1 -1
  43. package/components/{CasinoSearchNd-BGNGhn3i.cjs → CasinoSearchNd-CNcdxlUR.cjs} +1 -1
  44. package/components/{CasinoSearchNd-DlBxnUCa.js → CasinoSearchNd-DW1Pw7-Q.js} +69 -69
  45. package/components/{CasinoSearchNd-DHWo9Sq0.js → CasinoSearchNd-Dk2PKhWq.js} +82 -82
  46. package/components/{CasinoSort-DNllDxl4.js → CasinoSort-CkIWjxkg.js} +117 -116
  47. package/components/{CasinoSort-BXkq0BBq.cjs → CasinoSort-T5gzvKTb.cjs} +1 -1
  48. package/components/{CasinoSort-D-B4gJyW.js → CasinoSort-zIeABc70.js} +107 -108
  49. package/components/{CasinoWinners-BXurlLis.js → CasinoWinners-BdPKRRdb.js} +162 -162
  50. package/components/{CasinoWinners-eDycJCzQ.cjs → CasinoWinners-DSywKe-Y.cjs} +1 -1
  51. package/components/{CasinoWinners-Gp8fceSt.js → CasinoWinners-iRjkvip2.js} +155 -155
  52. package/components/{GeneralAnimationLoading-CGEL9clS.cjs → GeneralAnimationLoading-BxgOtrDA.cjs} +1 -1
  53. package/components/{GeneralAnimationLoading-vgt-l_aE.js → GeneralAnimationLoading-D0OVj1dQ.js} +8 -8
  54. package/components/{GeneralAnimationLoading-DZ1wrvtM.js → GeneralAnimationLoading-DzWSt2Rd.js} +10 -10
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/casino-play-random-game-CUpRDmsd.js +29 -0
  60. package/stencil/casino-play-random-game-Cn7_43lQ.js +11 -0
  61. package/stencil/casino-play-random-game-fvC6k6u_.cjs +1 -0
  62. package/stencil/{casino-play-random-game_2-C2bZyPjR.js → casino-play-random-game_3-B7x6w4BA.js} +155 -66
  63. package/stencil/{casino-play-random-game_2-BdD78js8.js → casino-play-random-game_3-D2RbqU-v.js} +155 -66
  64. package/stencil/casino-play-random-game_3-y8iURQaW.cjs +432 -0
  65. package/stencil/index-242ac81a-Bl2OSy8h.js +538 -0
  66. package/stencil/index-242ac81a-Czg480dJ.js +554 -0
  67. package/stencil/index-242ac81a-DDPF_SYN.cjs +1 -0
  68. package/stencil/index-27b314b8-9-rvsddy.js +566 -0
  69. package/stencil/index-27b314b8-CCprWmCo.js +582 -0
  70. package/stencil/index-27b314b8-DoR1KfK8.cjs +1 -0
  71. package/stencil/{ui-image-2ff23cd5-BHGIWJop.cjs → ui-image-2ff23cd5-BU5r6gJa.cjs} +1 -1
  72. package/stencil/{ui-image-2ff23cd5-DCLQ0SIO.js → ui-image-2ff23cd5-CBX1vdMZ.js} +1 -1
  73. package/stencil/{ui-image-2ff23cd5-D0rXudCW.js → ui-image-2ff23cd5-DZZYCsK1.js} +1 -1
  74. package/stencil/{ui-image-Bj3y-YhF.js → ui-image-BqbNkjGg.js} +1 -1
  75. package/stencil/{ui-image-SXcjABMO.cjs → ui-image-CNN86Aho.cjs} +1 -1
  76. package/stencil/{ui-image-BTT8PTe6.js → ui-image-_f0XGSO2.js} +1 -1
  77. package/stencil/{ui-image_2-CLk629jW.cjs → ui-image_2-Bsl4RJfi.cjs} +1 -1
  78. package/stencil/{ui-image_2-B21W_djK.js → ui-image_2-ID_1Oi3k.js} +2 -2
  79. package/stencil/{ui-image_2-VgK3B8gQ.js → ui-image_2-exO7RXKL.js} +2 -2
  80. package/components/CasinoCalendar-1EiuG4ja.cjs +0 -19
  81. package/components/CasinoFilter-Da1iRlYf.cjs +0 -1
  82. package/components/CasinoGameThumbnailNd-CZW4Modc.cjs +0 -30
  83. package/stencil/casino-play-random-game-BpDaQ8lr.js +0 -29
  84. package/stencil/casino-play-random-game-BtyKwZuB.cjs +0 -1
  85. package/stencil/casino-play-random-game-DkvncoWi.js +0 -11
  86. package/stencil/casino-play-random-game_2-CYSobUaR.cjs +0 -432
  87. package/stencil/index-242ac81a-BqeIndhr.js +0 -554
  88. package/stencil/index-242ac81a-CI4JxPRf.js +0 -538
  89. package/stencil/index-242ac81a-CjjM4VND.cjs +0 -1
  90. package/stencil/index-328e660d-B9ooleuJ.js +0 -561
  91. package/stencil/index-328e660d-C6jlVqfy.js +0 -577
  92. package/stencil/index-328e660d-D9ZPPQF8.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as K, d as A, h as F, q as H, j as P, u as M, k as ie, l as oe, o as le, P as re, D as me, p as ge, r as ce, F as n, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-DDXo_sLW.js";
2
- import "./CasinoFavoritesSectionNd-CGOlvGdM.js";
1
+ import { a as $, $ as ee, S as te, i as se, s as ae, f as l, c as ne, b as ie, e as P, z as M, d as A, A as K, H as J, k as F, l as oe, m as le, o as re, p as me, q as ge, r as ce, P as ue, u as de, I as n, y as fe, F as he } from "./CasinoCalendar-DIKM6-FX.js";
2
+ import "./CasinoFavoritesSectionNd-Vth9qKYe.js";
3
3
  function Y(a, e) {
4
4
  $(a, e);
5
5
  }
@@ -63,7 +63,7 @@ const B = {
63
63
  }
64
64
  };
65
65
  function be(a) {
66
- ne(a, "svelte-1de9den", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
66
+ ie(a, "svelte-1de9den", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
67
67
  }
68
68
  function ve(a) {
69
69
  let e;
@@ -167,7 +167,7 @@ function ve(a) {
167
167
  );
168
168
  },
169
169
  m(s, i) {
170
- F(s, e, i);
170
+ A(s, e, i);
171
171
  },
172
172
  p(s, i) {
173
173
  i[0] & /*session*/
@@ -287,7 +287,7 @@ function ve(a) {
287
287
  );
288
288
  },
289
289
  d(s) {
290
- s && A(e);
290
+ s && F(e);
291
291
  }
292
292
  };
293
293
  }
@@ -298,18 +298,18 @@ function _e(a) {
298
298
  ), i;
299
299
  return {
300
300
  c() {
301
- e = P("p"), i = ce(s), M(e, "class", "SearchLoading");
301
+ e = P("p"), i = fe(s), M(e, "class", "SearchLoading");
302
302
  },
303
303
  m(m, r) {
304
- F(m, e, r), H(e, i);
304
+ A(m, e, r), K(e, i);
305
305
  },
306
306
  p(m, r) {
307
307
  r[0] & /*$_*/
308
308
  2097152 && s !== (s = /*$_*/
309
- m[21]("noGames") + "") && ge(i, s);
309
+ m[21]("noGames") + "") && he(i, s);
310
310
  },
311
311
  d(m) {
312
- m && A(e);
312
+ m && F(e);
313
313
  }
314
314
  };
315
315
  }
@@ -327,22 +327,22 @@ function ke(a) {
327
327
  e = P("div"), s = P("div"), r.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
328
328
  },
329
329
  m(g, c) {
330
- F(g, e, c), H(e, s), r.m(s, null), a[24](e);
330
+ A(g, e, c), K(e, s), r.m(s, null), a[24](e);
331
331
  },
332
332
  p(g, c) {
333
333
  m === (m = i(g)) && r ? r.p(g, c) : (r.d(1), r = m(g), r && (r.c(), r.m(s, null)));
334
334
  },
335
- i: K,
336
- o: K,
335
+ i: J,
336
+ o: J,
337
337
  d(g) {
338
- g && A(e), r.d(), a[24](null);
338
+ g && F(e), r.d(), a[24](null);
339
339
  }
340
340
  };
341
341
  }
342
342
  function we(a, e, s) {
343
343
  let i;
344
- ie(a, oe, (t) => s(21, i = t));
345
- let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: D = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: E = "false" } = e, { integratedgameframedesktop: O = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: G = "" } = e, { casinomygames: S = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: I = "true" } = e, Q = window.navigator.userAgent;
344
+ oe(a, le, (t) => s(21, i = t));
345
+ let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: E = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: S } = e, { favorites: U = "" } = e, { translationurl: G = "" } = e, { casinomygames: j = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: z = "true" } = e, Q = window.navigator.userAgent;
346
346
  const V = () => {
347
347
  fetch(G).then((o) => o.json()).then((o) => {
348
348
  Object.keys(o).forEach((d) => {
@@ -355,16 +355,16 @@ function we(a, e, s) {
355
355
  Object.keys(B).forEach((t) => {
356
356
  Y(t, B[t]);
357
357
  });
358
- let N = [], q, z = !1, u;
358
+ let N = [], I, q = !1, u;
359
359
  const W = (t) => {
360
360
  let o = new URL(`${m}/v1/player/${b}/games/most-played`);
361
361
  t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", C);
362
362
  let d = t.device;
363
- return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), q = w ? o : o.href, new Promise((f, y) => {
364
- fetch(q).then((h) => h.json()).then((h) => {
363
+ return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), I = w ? o : o.href, new Promise((f, y) => {
364
+ fetch(I).then((h) => h.json()).then((h) => {
365
365
  h.items = h.items.filter((x) => {
366
- let J = !0;
367
- return x.gameCode == "OddsMatrix2" && (h.count--, J = !1), J;
366
+ let H = !0;
367
+ return x.gameCode == "OddsMatrix2" && (h.count--, H = !1), H;
368
368
  }), f(h);
369
369
  }).catch((h) => {
370
370
  console.error(h), y(h);
@@ -373,7 +373,7 @@ function we(a, e, s) {
373
373
  }, X = () => {
374
374
  W({
375
375
  limit: 100,
376
- device: re(Q),
376
+ device: ue(Q),
377
377
  rounds: L
378
378
  }).then((t) => {
379
379
  if (t.count > 0) {
@@ -382,29 +382,29 @@ function we(a, e, s) {
382
382
  let f = new URL(`${m}/v1/casino/games/${d.gameId}`);
383
383
  f.searchParams.append("datasource", r), w ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
384
384
  }), Promise.all(o).then((d) => {
385
- N = d.filter((f) => !("error" in f)).map((f) => f[0]), S === "true" && (N = N.slice(0, JSON.parse(j))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
385
+ N = d.filter((f) => !("error" in f)).map((f) => f[0]), j === "true" && (N = N.slice(0, JSON.parse(S))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
386
386
  });
387
387
  } else
388
- s(20, z = !0);
388
+ s(20, q = !0);
389
389
  });
390
390
  }, Z = () => {
391
391
  ye(c);
392
392
  };
393
- le(() => () => {
393
+ re(() => () => {
394
394
  });
395
395
  function p(t) {
396
- me[t ? "unshift" : "push"](() => {
396
+ de[t ? "unshift" : "push"](() => {
397
397
  u = t, s(19, u);
398
398
  });
399
399
  }
400
400
  return a.$$set = (t) => {
401
- "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, D = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, k = t.clientstylingurl), "livecasino" in t && s(9, w = t.livecasino), "integratedgameframemobile" in t && s(10, E = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, O = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, j = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(16, G = t.translationurl), "casinomygames" in t && s(17, S = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(18, I = t.fetchviaevent);
401
+ "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, E = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, k = t.clientstylingurl), "livecasino" in t && s(9, w = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, S = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(16, G = t.translationurl), "casinomygames" in t && s(17, j = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(18, z = t.fetchviaevent);
402
402
  }, a.$$.update = () => {
403
403
  a.$$.dirty[0] & /*endpoint, userid, lang*/
404
404
  41 && m && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
405
- 524416 && _ && u && ue(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
406
- 524544 && k && u && de(u, k), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
407
- 524352 && v && u && fe(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
405
+ 524416 && _ && u && me(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
406
+ 524544 && k && u && ge(u, k), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
407
+ 524352 && v && u && ce(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
408
408
  65536 && G && V(), a.$$.dirty[0] & /*lang*/
409
409
  8 && c && Z();
410
410
  }, [
@@ -412,23 +412,23 @@ function we(a, e, s) {
412
412
  r,
413
413
  g,
414
414
  c,
415
- D,
415
+ E,
416
416
  b,
417
417
  v,
418
418
  _,
419
419
  k,
420
420
  w,
421
- E,
422
421
  O,
422
+ D,
423
423
  R,
424
424
  T,
425
- j,
425
+ S,
426
426
  U,
427
427
  G,
428
- S,
429
- I,
430
- u,
428
+ j,
431
429
  z,
430
+ u,
431
+ q,
432
432
  i,
433
433
  C,
434
434
  L,
@@ -597,7 +597,7 @@ class Ge extends te {
597
597
  this.$$set({ fetchviaevent: e }), l();
598
598
  }
599
599
  }
600
- he(Ge, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
600
+ ne(Ge, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
601
601
  export {
602
602
  Ge as default
603
603
  };
@@ -1,12 +1,12 @@
1
- import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as H, d as A, h as E, p as B, j as P, r as M, k as ie, o as oe, P as le, C as re, m as me, q as ge, E as n, H as ce, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-DdCnnpAB.js";
2
- import "./CasinoFavoritesSectionNd-H7nx1r94.js";
3
- function K(a, e) {
1
+ import { a as $, $ as ee, S as te, i as se, s as ae, f as l, c as ne, b as ie, e as P, z as M, d as A, A as K, H as J, k as F, l as oe, m as le, o as re, p as me, q as ge, r as ce, P as ue, u as de, I as n, y as fe, F as he } from "./CasinoCalendar-BpmBQMqg.js";
2
+ import "./CasinoFavoritesSectionNd-D_iRqzx7.js";
3
+ function Y(a, e) {
4
4
  $(a, e);
5
5
  }
6
6
  function ye(a) {
7
7
  ee.set(a);
8
8
  }
9
- const Y = {
9
+ const B = {
10
10
  en: {
11
11
  noGames: "No games in most played"
12
12
  },
@@ -63,7 +63,7 @@ const Y = {
63
63
  }
64
64
  };
65
65
  function be(a) {
66
- ne(a, "svelte-1de9den", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
66
+ ie(a, "svelte-1de9den", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
67
67
  }
68
68
  function ve(a) {
69
69
  let e;
@@ -167,7 +167,7 @@ function ve(a) {
167
167
  );
168
168
  },
169
169
  m(s, i) {
170
- E(s, e, i);
170
+ A(s, e, i);
171
171
  },
172
172
  p(s, i) {
173
173
  i[0] & /*session*/
@@ -287,7 +287,7 @@ function ve(a) {
287
287
  );
288
288
  },
289
289
  d(s) {
290
- s && A(e);
290
+ s && F(e);
291
291
  }
292
292
  };
293
293
  }
@@ -298,18 +298,18 @@ function _e(a) {
298
298
  ), i;
299
299
  return {
300
300
  c() {
301
- e = P("p"), i = ge(s), M(e, "class", "SearchLoading");
301
+ e = P("p"), i = fe(s), M(e, "class", "SearchLoading");
302
302
  },
303
303
  m(m, r) {
304
- E(m, e, r), B(e, i);
304
+ A(m, e, r), K(e, i);
305
305
  },
306
306
  p(m, r) {
307
307
  r[0] & /*$_*/
308
308
  2097152 && s !== (s = /*$_*/
309
- m[21]("noGames") + "") && me(i, s);
309
+ m[21]("noGames") + "") && he(i, s);
310
310
  },
311
311
  d(m) {
312
- m && A(e);
312
+ m && F(e);
313
313
  }
314
314
  };
315
315
  }
@@ -327,44 +327,44 @@ function ke(a) {
327
327
  e = P("div"), s = P("div"), r.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
328
328
  },
329
329
  m(g, c) {
330
- E(g, e, c), B(e, s), r.m(s, null), a[24](e);
330
+ A(g, e, c), K(e, s), r.m(s, null), a[24](e);
331
331
  },
332
332
  p(g, c) {
333
333
  m === (m = i(g)) && r ? r.p(g, c) : (r.d(1), r = m(g), r && (r.c(), r.m(s, null)));
334
334
  },
335
- i: H,
336
- o: H,
335
+ i: J,
336
+ o: J,
337
337
  d(g) {
338
- g && A(e), r.d(), a[24](null);
338
+ g && F(e), r.d(), a[24](null);
339
339
  }
340
340
  };
341
341
  }
342
342
  function we(a, e, s) {
343
343
  let i;
344
- ie(a, he, (t) => s(21, i = t));
345
- let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: G = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: S = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: I = "true" } = e, Q = window.navigator.userAgent;
344
+ oe(a, le, (t) => s(21, i = t));
345
+ let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: E = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: S } = e, { favorites: U = "" } = e, { translationurl: G = "" } = e, { casinomygames: j = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: z = "true" } = e, Q = window.navigator.userAgent;
346
346
  const V = () => {
347
347
  fetch(G).then((o) => o.json()).then((o) => {
348
348
  Object.keys(o).forEach((d) => {
349
- K(d, o[d]);
349
+ Y(d, o[d]);
350
350
  });
351
351
  }).catch((o) => {
352
352
  console.log(o);
353
353
  });
354
354
  };
355
- Object.keys(Y).forEach((t) => {
356
- K(t, Y[t]);
355
+ Object.keys(B).forEach((t) => {
356
+ Y(t, B[t]);
357
357
  });
358
- let N = [], q, z = !1, u;
358
+ let N = [], I, q = !1, u;
359
359
  const W = (t) => {
360
360
  let o = new URL(`${m}/v1/player/${b}/games/most-played`);
361
- t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", S);
361
+ t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", C);
362
362
  let d = t.device;
363
- return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), q = w ? o : o.href, new Promise((f, y) => {
364
- fetch(q).then((h) => h.json()).then((h) => {
363
+ return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), I = w ? o : o.href, new Promise((f, y) => {
364
+ fetch(I).then((h) => h.json()).then((h) => {
365
365
  h.items = h.items.filter((x) => {
366
- let J = !0;
367
- return x.gameCode == "OddsMatrix2" && (h.count--, J = !1), J;
366
+ let H = !0;
367
+ return x.gameCode == "OddsMatrix2" && (h.count--, H = !1), H;
368
368
  }), f(h);
369
369
  }).catch((h) => {
370
370
  console.error(h), y(h);
@@ -373,7 +373,7 @@ function we(a, e, s) {
373
373
  }, X = () => {
374
374
  W({
375
375
  limit: 100,
376
- device: le(Q),
376
+ device: ue(Q),
377
377
  rounds: L
378
378
  }).then((t) => {
379
379
  if (t.count > 0) {
@@ -382,29 +382,29 @@ function we(a, e, s) {
382
382
  let f = new URL(`${m}/v1/casino/games/${d.gameId}`);
383
383
  f.searchParams.append("datasource", r), w ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
384
384
  }), Promise.all(o).then((d) => {
385
- N = d.filter((f) => !("error" in f)).map((f) => f[0]), C === "true" && (N = N.slice(0, JSON.parse(j))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
385
+ N = d.filter((f) => !("error" in f)).map((f) => f[0]), j === "true" && (N = N.slice(0, JSON.parse(S))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
386
386
  });
387
387
  } else
388
- s(20, z = !0);
388
+ s(20, q = !0);
389
389
  });
390
390
  }, Z = () => {
391
391
  ye(c);
392
392
  };
393
- oe(() => () => {
393
+ re(() => () => {
394
394
  });
395
395
  function p(t) {
396
- re[t ? "unshift" : "push"](() => {
396
+ de[t ? "unshift" : "push"](() => {
397
397
  u = t, s(19, u);
398
398
  });
399
399
  }
400
400
  return a.$$set = (t) => {
401
- "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, F = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, k = t.clientstylingurl), "livecasino" in t && s(9, w = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, j = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(16, G = t.translationurl), "casinomygames" in t && s(17, C = t.casinomygames), "mostplayedperiod" in t && s(22, S = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(18, I = t.fetchviaevent);
401
+ "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, E = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, k = t.clientstylingurl), "livecasino" in t && s(9, w = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, S = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(16, G = t.translationurl), "casinomygames" in t && s(17, j = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(18, z = t.fetchviaevent);
402
402
  }, a.$$.update = () => {
403
403
  a.$$.dirty[0] & /*endpoint, userid, lang*/
404
404
  41 && m && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
405
- 524416 && _ && u && ce(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
406
- 524544 && k && u && ue(u, k), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
407
- 524352 && v && u && de(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
405
+ 524416 && _ && u && me(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
406
+ 524544 && k && u && ge(u, k), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
407
+ 524352 && v && u && ce(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
408
408
  65536 && G && V(), a.$$.dirty[0] & /*lang*/
409
409
  8 && c && Z();
410
410
  }, [
@@ -412,7 +412,7 @@ function we(a, e, s) {
412
412
  r,
413
413
  g,
414
414
  c,
415
- F,
415
+ E,
416
416
  b,
417
417
  v,
418
418
  _,
@@ -422,15 +422,15 @@ function we(a, e, s) {
422
422
  D,
423
423
  R,
424
424
  T,
425
- j,
425
+ S,
426
426
  U,
427
427
  G,
428
- C,
429
- I,
430
- u,
428
+ j,
431
429
  z,
430
+ u,
431
+ q,
432
432
  i,
433
- S,
433
+ C,
434
434
  L,
435
435
  p
436
436
  ];
@@ -597,7 +597,7 @@ class Ge extends te {
597
597
  this.$$set({ fetchviaevent: e }), l();
598
598
  }
599
599
  }
600
- fe(Ge, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
600
+ ne(Ge, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
601
601
  export {
602
602
  Ge as default
603
603
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-1EiuG4ja.cjs");require("./CasinoFavoritesSectionNd-CvXJsyAP.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[20]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,f)=>{fetch(D).then(_=>_.json()).then(_=>{_.items=_.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(_.count--,R=!1),R}),g(_)}).catch(_=>{console.error(_),f(_)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(f=>f.json())):m.push(fetch(g.href).then(f=>f.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(20,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&524416&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&524544&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&524352&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,G,P,F,c,T,i,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-CzrlHwD6.cjs");require("./CasinoFavoritesSectionNd-wD4aGs9L.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[20]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,f)=>{fetch(D).then(_=>_.json()).then(_=>{_.items=_.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(_.count--,R=!1),R}),g(_)}).catch(_=>{console.error(_),f(_)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(f=>f.json())):m.push(fetch(g.href).then(f=>f.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(20,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&524416&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&524544&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&524352&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,G,P,F,c,T,i,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-1EiuG4ja.cjs");function ae({withLocale:a,translations:t}){e.$locale.subscribe(o=>{o==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function U(a,t){e.addMessages(a,t)}function se(a){e.$locale.set(a)}const I={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSectionNd-CvXJsyAP.cjs")).then(t=>t.CasinoFavoritesSectionNd_ce).then(({default:t})=>{!customElements.get("casino-favorites-section-nd")&&customElements.define("casino-favorites-section-nd",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSectionNd-Bxs8eYQG.cjs")).then(({default:t})=>{!customElements.get("casino-last-played-section-nd")&&customElements.define("casino-last-played-section-nd",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSectionNd-C-cloax-.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-nd",t.element)})}function le(a){e.append_styles(a,"svelte-kjgz4h",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.CasinoMyGames casino-favorites-section-nd{display:none}.CasinoMyGames casino-favorites-section-nd.Active{display:block}.CasinoMyGames casino-most-played-section-nd{display:none}.CasinoMyGames casino-most-played-section-nd.Active{display:block}.CasinoMyGames casino-last-played-section-nd{display:none}.CasinoMyGames casino-last-played-section-nd.Active{display:block}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function R(a,t,o){const r=a.slice();return r[43]=t[o],r}function ne(a){let t,o,r,_,u,n,c,l,h,d,p,y=e.ensure_array_like(a[29]),f=[];for(let s=0;s<y.length;s+=1)f[s]=K(R(a,y,s));return{c(){t=e.element("div"),o=e.element("div"),r=e.element("div");for(let s=0;s<f.length;s+=1)f[s].c();_=e.space(),u=e.element("div"),n=e.element("casino-favorites-section-nd"),c=e.space(),l=e.element("casino-most-played-section-nd"),h=e.space(),d=e.element("casino-last-played-section-nd"),e.attr(r,"class","MyGamesButtonsContainer"),e.attr(o,"class","MyGamesHeader"),e.set_custom_element_data(n,"session",a[1]),e.set_custom_element_data(n,"userid",a[0]),e.set_custom_element_data(n,"endpoint",a[2]),e.set_custom_element_data(n,"datasource",a[3]),e.set_custom_element_data(n,"lang",a[4]),e.set_custom_element_data(n,"currency",a[5]),e.set_custom_element_data(n,"favorites",a[16]),e.set_custom_element_data(n,"categoryid","FAVORITES"),e.set_custom_element_data(n,"class","CategoryContainer"),e.set_custom_element_data(n,"showgamename",a[12]),e.set_custom_element_data(n,"clientstyling",a[7]),e.set_custom_element_data(n,"clientstylingurl",a[8]),e.set_custom_element_data(n,"translationurl",a[15]),e.set_custom_element_data(n,"livecasino",a[9]),e.set_custom_element_data(n,"visiblegames",a[10]),e.set_custom_element_data(n,"gamepagemodalurl",a[11]),e.set_custom_element_data(n,"integratedgameframedesktop",a[13]),e.set_custom_element_data(n,"integratedgameframemobile",a[14]),e.set_custom_element_data(n,"casinomygames",a[19]),e.set_custom_element_data(n,"mbsource",a[6]),e.toggle_class(n,"Active",a[27]=="Favorites"),e.set_custom_element_data(l,"endpoint",a[2]),e.set_custom_element_data(l,"datasource",a[3]),e.set_custom_element_data(l,"lang",a[4]),e.set_custom_element_data(l,"currency",a[5]),e.set_custom_element_data(l,"session",a[1]),e.set_custom_element_data(l,"userid",a[0]),e.set_custom_element_data(l,"favorites",a[16]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",a[12]),e.set_custom_element_data(l,"clientstyling",a[7]),e.set_custom_element_data(l,"clientstylingurl",a[8]),e.set_custom_element_data(l,"translationurl",a[15]),e.set_custom_element_data(l,"livecasino",a[9]),e.set_custom_element_data(l,"visiblegames",a[10]),e.set_custom_element_data(l,"gamepagemodalurl",a[11]),e.set_custom_element_data(l,"mostplayedrounds",a[25]),e.set_custom_element_data(l,"integratedgameframedesktop",a[13]),e.set_custom_element_data(l,"integratedgameframemobile",a[14]),e.set_custom_element_data(l,"mostplayedperiod",a[21]),e.set_custom_element_data(l,"casinomygames",a[19]),e.set_custom_element_data(l,"mbsource",a[6]),e.toggle_class(l,"Active",a[27]=="MostPlayed"),e.set_custom_element_data(d,"userid",a[0]),e.set_custom_element_data(d,"endpoint",a[2]),e.set_custom_element_data(d,"datasource",a[3]),e.set_custom_element_data(d,"favorites",a[16]),e.set_custom_element_data(d,"lang",a[4]),e.set_custom_element_data(d,"currency",a[5]),e.set_custom_element_data(d,"session",a[1]),e.set_custom_element_data(d,"class","CategoryContainer"),e.set_custom_element_data(d,"showgamename",a[12]),e.set_custom_element_data(d,"clientstyling",a[7]),e.set_custom_element_data(d,"clientstylingurl",a[8]),e.set_custom_element_data(d,"translationurl",a[15]),e.set_custom_element_data(d,"livecasino",a[9]),e.set_custom_element_data(d,"visiblegames",a[10]),e.set_custom_element_data(d,"lastplayedperiod",a[20]),e.set_custom_element_data(d,"lastplayedorder",a[22]),e.set_custom_element_data(d,"lastplayedlimit",a[23]),e.set_custom_element_data(d,"lastplayedunique",a[24]),e.set_custom_element_data(d,"gamepagemodalurl",a[11]),e.set_custom_element_data(d,"integratedgameframedesktop",a[13]),e.set_custom_element_data(d,"integratedgameframemobile",a[14]),e.set_custom_element_data(d,"casinomygames",a[19]),e.set_custom_element_data(d,"mbsource",a[6]),e.toggle_class(d,"Active",a[27]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(a[28]?"Mobile":""))},m(s,i){e.insert(s,t,i),e.append(t,o),e.append(o,r);for(let g=0;g<f.length;g+=1)f[g]&&f[g].m(r,null);e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),e.append(u,h),e.append(u,d)},p(s,i){if(i[0]&1745289216|i[1]&3){y=e.ensure_array_like(s[29]);let g;for(g=0;g<y.length;g+=1){const M=R(s,y,g);f[g]?f[g].p(M,i):(f[g]=K(M),f[g].c(),f[g].m(r,null))}for(;g<f.length;g+=1)f[g].d(1);f.length=y.length}i[0]&2&&e.set_custom_element_data(n,"session",s[1]),i[0]&1&&e.set_custom_element_data(n,"userid",s[0]),i[0]&4&&e.set_custom_element_data(n,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(n,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(n,"lang",s[4]),i[0]&32&&e.set_custom_element_data(n,"currency",s[5]),i[0]&65536&&e.set_custom_element_data(n,"favorites",s[16]),i[0]&4096&&e.set_custom_element_data(n,"showgamename",s[12]),i[0]&128&&e.set_custom_element_data(n,"clientstyling",s[7]),i[0]&256&&e.set_custom_element_data(n,"clientstylingurl",s[8]),i[0]&32768&&e.set_custom_element_data(n,"translationurl",s[15]),i[0]&512&&e.set_custom_element_data(n,"livecasino",s[9]),i[0]&1024&&e.set_custom_element_data(n,"visiblegames",s[10]),i[0]&2048&&e.set_custom_element_data(n,"gamepagemodalurl",s[11]),i[0]&8192&&e.set_custom_element_data(n,"integratedgameframedesktop",s[13]),i[0]&16384&&e.set_custom_element_data(n,"integratedgameframemobile",s[14]),i[0]&524288&&e.set_custom_element_data(n,"casinomygames",s[19]),i[0]&64&&e.set_custom_element_data(n,"mbsource",s[6]),i[0]&134217728&&e.toggle_class(n,"Active",s[27]=="Favorites"),i[0]&4&&e.set_custom_element_data(l,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(l,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(l,"lang",s[4]),i[0]&32&&e.set_custom_element_data(l,"currency",s[5]),i[0]&2&&e.set_custom_element_data(l,"session",s[1]),i[0]&1&&e.set_custom_element_data(l,"userid",s[0]),i[0]&65536&&e.set_custom_element_data(l,"favorites",s[16]),i[0]&4096&&e.set_custom_element_data(l,"showgamename",s[12]),i[0]&128&&e.set_custom_element_data(l,"clientstyling",s[7]),i[0]&256&&e.set_custom_element_data(l,"clientstylingurl",s[8]),i[0]&32768&&e.set_custom_element_data(l,"translationurl",s[15]),i[0]&512&&e.set_custom_element_data(l,"livecasino",s[9]),i[0]&1024&&e.set_custom_element_data(l,"visiblegames",s[10]),i[0]&2048&&e.set_custom_element_data(l,"gamepagemodalurl",s[11]),i[0]&33554432&&e.set_custom_element_data(l,"mostplayedrounds",s[25]),i[0]&8192&&e.set_custom_element_data(l,"integratedgameframedesktop",s[13]),i[0]&16384&&e.set_custom_element_data(l,"integratedgameframemobile",s[14]),i[0]&2097152&&e.set_custom_element_data(l,"mostplayedperiod",s[21]),i[0]&524288&&e.set_custom_element_data(l,"casinomygames",s[19]),i[0]&64&&e.set_custom_element_data(l,"mbsource",s[6]),i[0]&134217728&&e.toggle_class(l,"Active",s[27]=="MostPlayed"),i[0]&1&&e.set_custom_element_data(d,"userid",s[0]),i[0]&4&&e.set_custom_element_data(d,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(d,"datasource",s[3]),i[0]&65536&&e.set_custom_element_data(d,"favorites",s[16]),i[0]&16&&e.set_custom_element_data(d,"lang",s[4]),i[0]&32&&e.set_custom_element_data(d,"currency",s[5]),i[0]&2&&e.set_custom_element_data(d,"session",s[1]),i[0]&4096&&e.set_custom_element_data(d,"showgamename",s[12]),i[0]&128&&e.set_custom_element_data(d,"clientstyling",s[7]),i[0]&256&&e.set_custom_element_data(d,"clientstylingurl",s[8]),i[0]&32768&&e.set_custom_element_data(d,"translationurl",s[15]),i[0]&512&&e.set_custom_element_data(d,"livecasino",s[9]),i[0]&1024&&e.set_custom_element_data(d,"visiblegames",s[10]),i[0]&1048576&&e.set_custom_element_data(d,"lastplayedperiod",s[20]),i[0]&4194304&&e.set_custom_element_data(d,"lastplayedorder",s[22]),i[0]&8388608&&e.set_custom_element_data(d,"lastplayedlimit",s[23]),i[0]&16777216&&e.set_custom_element_data(d,"lastplayedunique",s[24]),i[0]&2048&&e.set_custom_element_data(d,"gamepagemodalurl",s[11]),i[0]&8192&&e.set_custom_element_data(d,"integratedgameframedesktop",s[13]),i[0]&16384&&e.set_custom_element_data(d,"integratedgameframemobile",s[14]),i[0]&524288&&e.set_custom_element_data(d,"casinomygames",s[19]),i[0]&64&&e.set_custom_element_data(d,"mbsource",s[6]),i[0]&134217728&&e.toggle_class(d,"Active",s[27]=="LastPlayed"),i[0]&268435456&&p!==(p="CasinoMyGames "+(s[28]?"Mobile":""))&&e.attr(t,"class",p)},d(s){s&&e.detach(t),e.destroy_each(f,s)}}}function J(a){let t,o=a[31]("favorites")+"",r,_,u,n,c,l,h,d,p;return{c(){t=e.element("button"),r=e.text(o),_=e.space(),u=e.element("span"),n=e.text("("),c=e.text(a[30]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(a[27]=="Favorites"?"Active":"")+" "+(a[16]=="false"?"Off":""))},m(y,f){e.insert(y,t,f),e.append(t,r),e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),d||(p=e.listen(t,"click",a[33]),d=!0)},p(y,f){f[1]&1&&o!==(o=y[31]("favorites")+"")&&e.set_data(r,o),f[0]&1073741824&&e.set_data(c,y[30]),f[0]&134283264&&h!==(h="MyGamesButton "+(y[27]=="Favorites"?"Active":"")+" "+(y[16]=="false"?"Off":""))&&e.attr(t,"class",h)},d(y){y&&e.detach(t),d=!1,p()}}}function V(a){let t,o=a[31]("mostPlayed")+"",r,_,u,n;return{c(){t=e.element("button"),r=e.text(o),e.attr(t,"class",_="MyGamesButton "+(a[27]=="MostPlayed"?"Active":"")+" "+(a[17]=="false"?"Off":""))},m(c,l){e.insert(c,t,l),e.append(t,r),u||(n=e.listen(t,"click",a[34]),u=!0)},p(c,l){l[1]&1&&o!==(o=c[31]("mostPlayed")+"")&&e.set_data(r,o),l[0]&134348800&&_!==(_="MyGamesButton "+(c[27]=="MostPlayed"?"Active":"")+" "+(c[17]=="false"?"Off":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),u=!1,n()}}}function Z(a){let t,o=a[31]("recentlyPlayed")+"",r,_,u,n,c;return{c(){t=e.element("button"),r=e.text(o),_=e.space(),e.attr(t,"class",u="MyGamesButton "+(a[27]=="LastPlayed"?"Active":"")+" "+(a[18]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,r),e.append(t,_),n||(c=e.listen(t,"click",a[35]),n=!0)},p(l,h){h[1]&1&&o!==(o=l[31]("recentlyPlayed")+"")&&e.set_data(r,o),h[0]&134479872&&u!==(u="MyGamesButton "+(l[27]=="LastPlayed"?"Active":"")+" "+(l[18]=="false"?"Off":""))&&e.attr(t,"class",u)},d(l){l&&e.detach(t),n=!1,c()}}}function K(a){let t,o,r,_=a[43]=="Favorites"&&J(a),u=a[43]=="MostPlayed"&&V(a),n=a[43]=="LastPlayed"&&Z(a);return{c(){_&&_.c(),t=e.space(),u&&u.c(),o=e.space(),n&&n.c(),r=e.empty()},m(c,l){_&&_.m(c,l),e.insert(c,t,l),u&&u.m(c,l),e.insert(c,o,l),n&&n.m(c,l),e.insert(c,r,l)},p(c,l){c[43]=="Favorites"?_?_.p(c,l):(_=J(c),_.c(),_.m(t.parentNode,t)):_&&(_.d(1),_=null),c[43]=="MostPlayed"?u?u.p(c,l):(u=V(c),u.c(),u.m(o.parentNode,o)):u&&(u.d(1),u=null),c[43]=="LastPlayed"?n?n.p(c,l):(n=Z(c),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},d(c){c&&(e.detach(t),e.detach(o),e.detach(r)),_&&_.d(c),u&&u.d(c),n&&n.d(c)}}}function oe(a){let t;function o(u,n){if(u[19])return ne}let r=o(a),_=r&&r(a);return{c(){t=e.element("div"),_&&_.c()},m(u,n){e.insert(u,t,n),_&&_.m(t,null),a[36](t)},p(u,n){r===(r=o(u))&&_?_.p(u,n):(_&&_.d(1),_=r&&r(u),_&&(_.c(),_.m(t,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(t),_&&_.d(),a[36](null)}}}function ie(a,t,o){let r;e.component_subscribe(a,e.$format,m=>o(31,r=m));let{userid:_=""}=t,{session:u=""}=t,{endpoint:n=""}=t,{datasource:c=""}=t,{lang:l=""}=t,{currency:h=""}=t,{mbsource:d}=t,{clientstyling:p=""}=t,{clientstylingurl:y=""}=t,{livecasino:f=""}=t,{visiblegames:s=""}=t,{gamepagemodalurl:i=""}=t,{showgamename:g=""}=t,{integratedgameframedesktop:M=""}=t,{integratedgameframemobile:B=""}=t,{translationurl:G=""}=t,{favorites:w="false"}=t,{mostplayed:k="false"}=t,{lastplayed:F="false"}=t,{casinomygames:O="false"}=t,{lastplayedperiod:j="Last30Days"}=t,{mostplayedperiod:S="Last30Days"}=t,{lastplayedorder:q=""}=t,{lastplayedlimit:N=""}=t,{lastplayedunique:D="true"}=t,{mostplayedrounds:T=""}=t,W=window.navigator.userAgent,v,L="",z=!1,P=["","",""],A="0";ae({withLocale:"en",translations:{}});const X=()=>{fetch(G).then(b=>b.json()).then(b=>{Object.keys(b).forEach(C=>{U(C,b[C])})}).catch(b=>{console.log(b)})};Object.keys(I).forEach(m=>{U(m,I[m])});const E=m=>{L!==m&&o(27,L=m)},Y=()=>{o(27,L=w==="true"?"Favorites":k==="true"?"MostPlayed":F==="true"?"LastPlayed":""),o(29,P[0]=w==="true"?"Favorites":"",P),o(29,P[1]=k==="true"?"MostPlayed":"",P),o(29,P[2]=F==="true"?"LastPlayed":"",P),se(l)},H=m=>{var b,C;if(m.data)switch(m.data.type){case"UpdateFavoritesCount":m.data.favoriteGamesLength!==void 0?o(30,A=m.data.favoriteGamesLength):o(30,A=(C=(b=m.data.listOfFavoritesGames)==null?void 0:b.length)!=null?C:0);break}};e.onMount(()=>(window.addEventListener("message",H,!1),o(28,z=e.isMobile(W)),()=>{window.removeEventListener("message",H)}));const x=()=>E("Favorites"),$=()=>E("MostPlayed"),ee=()=>E("LastPlayed");function te(m){e.binding_callbacks[m?"unshift":"push"](()=>{v=m,o(26,v)})}return a.$$set=m=>{"userid"in m&&o(0,_=m.userid),"session"in m&&o(1,u=m.session),"endpoint"in m&&o(2,n=m.endpoint),"datasource"in m&&o(3,c=m.datasource),"lang"in m&&o(4,l=m.lang),"currency"in m&&o(5,h=m.currency),"mbsource"in m&&o(6,d=m.mbsource),"clientstyling"in m&&o(7,p=m.clientstyling),"clientstylingurl"in m&&o(8,y=m.clientstylingurl),"livecasino"in m&&o(9,f=m.livecasino),"visiblegames"in m&&o(10,s=m.visiblegames),"gamepagemodalurl"in m&&o(11,i=m.gamepagemodalurl),"showgamename"in m&&o(12,g=m.showgamename),"integratedgameframedesktop"in m&&o(13,M=m.integratedgameframedesktop),"integratedgameframemobile"in m&&o(14,B=m.integratedgameframemobile),"translationurl"in m&&o(15,G=m.translationurl),"favorites"in m&&o(16,w=m.favorites),"mostplayed"in m&&o(17,k=m.mostplayed),"lastplayed"in m&&o(18,F=m.lastplayed),"casinomygames"in m&&o(19,O=m.casinomygames),"lastplayedperiod"in m&&o(20,j=m.lastplayedperiod),"mostplayedperiod"in m&&o(21,S=m.mostplayedperiod),"lastplayedorder"in m&&o(22,q=m.lastplayedorder),"lastplayedlimit"in m&&o(23,N=m.lastplayedlimit),"lastplayedunique"in m&&o(24,D=m.lastplayedunique),"mostplayedrounds"in m&&o(25,T=m.mostplayedrounds)},a.$$.update=()=>{a.$$.dirty[0]&458780&&n&&c&&l&&w&&k&&F&&Y(),a.$$.dirty[0]&32768&&G&&X(),a.$$.dirty[0]&67108992&&p&&v&&e.setClientStyling(v,p),a.$$.dirty[0]&67109120&&y&&v&&e.setClientStylingURL(v,y),a.$$.dirty[0]&67108928&&d&&v&&e.setStreamStyling(v,`${d}.Style`)},[_,u,n,c,l,h,d,p,y,f,s,i,g,M,B,G,w,k,F,O,j,S,q,N,D,T,v,L,z,P,A,r,E,x,$,ee,te]}class Q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,oe,e.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,visiblegames:10,gamepagemodalurl:11,showgamename:12,integratedgameframedesktop:13,integratedgameframemobile:14,translationurl:15,favorites:16,mostplayed:17,lastplayed:18,casinomygames:19,lastplayedperiod:20,mostplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,lastplayedunique:24,mostplayedrounds:25},le,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[4]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get visiblegames(){return this.$$.ctx[10]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[13]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[14]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[16]}set favorites(t){this.$$set({favorites:t}),e.flush()}get mostplayed(){return this.$$.ctx[17]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[18]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get casinomygames(){return this.$$.ctx[19]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[20]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[25]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}}e.create_custom_element(Q,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{}},[],[],!0);exports.default=Q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CzrlHwD6.cjs");function ae({withLocale:a,translations:t}){e.$locale.subscribe(o=>{o==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function U(a,t){e.addMessages(a,t)}function se(a){e.$locale.set(a)}const I={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSectionNd-wD4aGs9L.cjs")).then(t=>t.CasinoFavoritesSectionNd_ce).then(({default:t})=>{!customElements.get("casino-favorites-section-nd")&&customElements.define("casino-favorites-section-nd",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSectionNd-jre5mCnw.cjs")).then(({default:t})=>{!customElements.get("casino-last-played-section-nd")&&customElements.define("casino-last-played-section-nd",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSectionNd-C9EPOuC_.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-nd",t.element)})}function le(a){e.append_styles(a,"svelte-kjgz4h",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.CasinoMyGames casino-favorites-section-nd{display:none}.CasinoMyGames casino-favorites-section-nd.Active{display:block}.CasinoMyGames casino-most-played-section-nd{display:none}.CasinoMyGames casino-most-played-section-nd.Active{display:block}.CasinoMyGames casino-last-played-section-nd{display:none}.CasinoMyGames casino-last-played-section-nd.Active{display:block}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function R(a,t,o){const r=a.slice();return r[43]=t[o],r}function ne(a){let t,o,r,_,u,n,c,l,h,d,p,y=e.ensure_array_like(a[29]),f=[];for(let s=0;s<y.length;s+=1)f[s]=K(R(a,y,s));return{c(){t=e.element("div"),o=e.element("div"),r=e.element("div");for(let s=0;s<f.length;s+=1)f[s].c();_=e.space(),u=e.element("div"),n=e.element("casino-favorites-section-nd"),c=e.space(),l=e.element("casino-most-played-section-nd"),h=e.space(),d=e.element("casino-last-played-section-nd"),e.attr(r,"class","MyGamesButtonsContainer"),e.attr(o,"class","MyGamesHeader"),e.set_custom_element_data(n,"session",a[1]),e.set_custom_element_data(n,"userid",a[0]),e.set_custom_element_data(n,"endpoint",a[2]),e.set_custom_element_data(n,"datasource",a[3]),e.set_custom_element_data(n,"lang",a[4]),e.set_custom_element_data(n,"currency",a[5]),e.set_custom_element_data(n,"favorites",a[16]),e.set_custom_element_data(n,"categoryid","FAVORITES"),e.set_custom_element_data(n,"class","CategoryContainer"),e.set_custom_element_data(n,"showgamename",a[12]),e.set_custom_element_data(n,"clientstyling",a[7]),e.set_custom_element_data(n,"clientstylingurl",a[8]),e.set_custom_element_data(n,"translationurl",a[15]),e.set_custom_element_data(n,"livecasino",a[9]),e.set_custom_element_data(n,"visiblegames",a[10]),e.set_custom_element_data(n,"gamepagemodalurl",a[11]),e.set_custom_element_data(n,"integratedgameframedesktop",a[13]),e.set_custom_element_data(n,"integratedgameframemobile",a[14]),e.set_custom_element_data(n,"casinomygames",a[19]),e.set_custom_element_data(n,"mbsource",a[6]),e.toggle_class(n,"Active",a[27]=="Favorites"),e.set_custom_element_data(l,"endpoint",a[2]),e.set_custom_element_data(l,"datasource",a[3]),e.set_custom_element_data(l,"lang",a[4]),e.set_custom_element_data(l,"currency",a[5]),e.set_custom_element_data(l,"session",a[1]),e.set_custom_element_data(l,"userid",a[0]),e.set_custom_element_data(l,"favorites",a[16]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",a[12]),e.set_custom_element_data(l,"clientstyling",a[7]),e.set_custom_element_data(l,"clientstylingurl",a[8]),e.set_custom_element_data(l,"translationurl",a[15]),e.set_custom_element_data(l,"livecasino",a[9]),e.set_custom_element_data(l,"visiblegames",a[10]),e.set_custom_element_data(l,"gamepagemodalurl",a[11]),e.set_custom_element_data(l,"mostplayedrounds",a[25]),e.set_custom_element_data(l,"integratedgameframedesktop",a[13]),e.set_custom_element_data(l,"integratedgameframemobile",a[14]),e.set_custom_element_data(l,"mostplayedperiod",a[21]),e.set_custom_element_data(l,"casinomygames",a[19]),e.set_custom_element_data(l,"mbsource",a[6]),e.toggle_class(l,"Active",a[27]=="MostPlayed"),e.set_custom_element_data(d,"userid",a[0]),e.set_custom_element_data(d,"endpoint",a[2]),e.set_custom_element_data(d,"datasource",a[3]),e.set_custom_element_data(d,"favorites",a[16]),e.set_custom_element_data(d,"lang",a[4]),e.set_custom_element_data(d,"currency",a[5]),e.set_custom_element_data(d,"session",a[1]),e.set_custom_element_data(d,"class","CategoryContainer"),e.set_custom_element_data(d,"showgamename",a[12]),e.set_custom_element_data(d,"clientstyling",a[7]),e.set_custom_element_data(d,"clientstylingurl",a[8]),e.set_custom_element_data(d,"translationurl",a[15]),e.set_custom_element_data(d,"livecasino",a[9]),e.set_custom_element_data(d,"visiblegames",a[10]),e.set_custom_element_data(d,"lastplayedperiod",a[20]),e.set_custom_element_data(d,"lastplayedorder",a[22]),e.set_custom_element_data(d,"lastplayedlimit",a[23]),e.set_custom_element_data(d,"lastplayedunique",a[24]),e.set_custom_element_data(d,"gamepagemodalurl",a[11]),e.set_custom_element_data(d,"integratedgameframedesktop",a[13]),e.set_custom_element_data(d,"integratedgameframemobile",a[14]),e.set_custom_element_data(d,"casinomygames",a[19]),e.set_custom_element_data(d,"mbsource",a[6]),e.toggle_class(d,"Active",a[27]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(a[28]?"Mobile":""))},m(s,i){e.insert(s,t,i),e.append(t,o),e.append(o,r);for(let g=0;g<f.length;g+=1)f[g]&&f[g].m(r,null);e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),e.append(u,h),e.append(u,d)},p(s,i){if(i[0]&1745289216|i[1]&3){y=e.ensure_array_like(s[29]);let g;for(g=0;g<y.length;g+=1){const M=R(s,y,g);f[g]?f[g].p(M,i):(f[g]=K(M),f[g].c(),f[g].m(r,null))}for(;g<f.length;g+=1)f[g].d(1);f.length=y.length}i[0]&2&&e.set_custom_element_data(n,"session",s[1]),i[0]&1&&e.set_custom_element_data(n,"userid",s[0]),i[0]&4&&e.set_custom_element_data(n,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(n,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(n,"lang",s[4]),i[0]&32&&e.set_custom_element_data(n,"currency",s[5]),i[0]&65536&&e.set_custom_element_data(n,"favorites",s[16]),i[0]&4096&&e.set_custom_element_data(n,"showgamename",s[12]),i[0]&128&&e.set_custom_element_data(n,"clientstyling",s[7]),i[0]&256&&e.set_custom_element_data(n,"clientstylingurl",s[8]),i[0]&32768&&e.set_custom_element_data(n,"translationurl",s[15]),i[0]&512&&e.set_custom_element_data(n,"livecasino",s[9]),i[0]&1024&&e.set_custom_element_data(n,"visiblegames",s[10]),i[0]&2048&&e.set_custom_element_data(n,"gamepagemodalurl",s[11]),i[0]&8192&&e.set_custom_element_data(n,"integratedgameframedesktop",s[13]),i[0]&16384&&e.set_custom_element_data(n,"integratedgameframemobile",s[14]),i[0]&524288&&e.set_custom_element_data(n,"casinomygames",s[19]),i[0]&64&&e.set_custom_element_data(n,"mbsource",s[6]),i[0]&134217728&&e.toggle_class(n,"Active",s[27]=="Favorites"),i[0]&4&&e.set_custom_element_data(l,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(l,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(l,"lang",s[4]),i[0]&32&&e.set_custom_element_data(l,"currency",s[5]),i[0]&2&&e.set_custom_element_data(l,"session",s[1]),i[0]&1&&e.set_custom_element_data(l,"userid",s[0]),i[0]&65536&&e.set_custom_element_data(l,"favorites",s[16]),i[0]&4096&&e.set_custom_element_data(l,"showgamename",s[12]),i[0]&128&&e.set_custom_element_data(l,"clientstyling",s[7]),i[0]&256&&e.set_custom_element_data(l,"clientstylingurl",s[8]),i[0]&32768&&e.set_custom_element_data(l,"translationurl",s[15]),i[0]&512&&e.set_custom_element_data(l,"livecasino",s[9]),i[0]&1024&&e.set_custom_element_data(l,"visiblegames",s[10]),i[0]&2048&&e.set_custom_element_data(l,"gamepagemodalurl",s[11]),i[0]&33554432&&e.set_custom_element_data(l,"mostplayedrounds",s[25]),i[0]&8192&&e.set_custom_element_data(l,"integratedgameframedesktop",s[13]),i[0]&16384&&e.set_custom_element_data(l,"integratedgameframemobile",s[14]),i[0]&2097152&&e.set_custom_element_data(l,"mostplayedperiod",s[21]),i[0]&524288&&e.set_custom_element_data(l,"casinomygames",s[19]),i[0]&64&&e.set_custom_element_data(l,"mbsource",s[6]),i[0]&134217728&&e.toggle_class(l,"Active",s[27]=="MostPlayed"),i[0]&1&&e.set_custom_element_data(d,"userid",s[0]),i[0]&4&&e.set_custom_element_data(d,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(d,"datasource",s[3]),i[0]&65536&&e.set_custom_element_data(d,"favorites",s[16]),i[0]&16&&e.set_custom_element_data(d,"lang",s[4]),i[0]&32&&e.set_custom_element_data(d,"currency",s[5]),i[0]&2&&e.set_custom_element_data(d,"session",s[1]),i[0]&4096&&e.set_custom_element_data(d,"showgamename",s[12]),i[0]&128&&e.set_custom_element_data(d,"clientstyling",s[7]),i[0]&256&&e.set_custom_element_data(d,"clientstylingurl",s[8]),i[0]&32768&&e.set_custom_element_data(d,"translationurl",s[15]),i[0]&512&&e.set_custom_element_data(d,"livecasino",s[9]),i[0]&1024&&e.set_custom_element_data(d,"visiblegames",s[10]),i[0]&1048576&&e.set_custom_element_data(d,"lastplayedperiod",s[20]),i[0]&4194304&&e.set_custom_element_data(d,"lastplayedorder",s[22]),i[0]&8388608&&e.set_custom_element_data(d,"lastplayedlimit",s[23]),i[0]&16777216&&e.set_custom_element_data(d,"lastplayedunique",s[24]),i[0]&2048&&e.set_custom_element_data(d,"gamepagemodalurl",s[11]),i[0]&8192&&e.set_custom_element_data(d,"integratedgameframedesktop",s[13]),i[0]&16384&&e.set_custom_element_data(d,"integratedgameframemobile",s[14]),i[0]&524288&&e.set_custom_element_data(d,"casinomygames",s[19]),i[0]&64&&e.set_custom_element_data(d,"mbsource",s[6]),i[0]&134217728&&e.toggle_class(d,"Active",s[27]=="LastPlayed"),i[0]&268435456&&p!==(p="CasinoMyGames "+(s[28]?"Mobile":""))&&e.attr(t,"class",p)},d(s){s&&e.detach(t),e.destroy_each(f,s)}}}function J(a){let t,o=a[31]("favorites")+"",r,_,u,n,c,l,h,d,p;return{c(){t=e.element("button"),r=e.text(o),_=e.space(),u=e.element("span"),n=e.text("("),c=e.text(a[30]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(a[27]=="Favorites"?"Active":"")+" "+(a[16]=="false"?"Off":""))},m(y,f){e.insert(y,t,f),e.append(t,r),e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),d||(p=e.listen(t,"click",a[33]),d=!0)},p(y,f){f[1]&1&&o!==(o=y[31]("favorites")+"")&&e.set_data(r,o),f[0]&1073741824&&e.set_data(c,y[30]),f[0]&134283264&&h!==(h="MyGamesButton "+(y[27]=="Favorites"?"Active":"")+" "+(y[16]=="false"?"Off":""))&&e.attr(t,"class",h)},d(y){y&&e.detach(t),d=!1,p()}}}function V(a){let t,o=a[31]("mostPlayed")+"",r,_,u,n;return{c(){t=e.element("button"),r=e.text(o),e.attr(t,"class",_="MyGamesButton "+(a[27]=="MostPlayed"?"Active":"")+" "+(a[17]=="false"?"Off":""))},m(c,l){e.insert(c,t,l),e.append(t,r),u||(n=e.listen(t,"click",a[34]),u=!0)},p(c,l){l[1]&1&&o!==(o=c[31]("mostPlayed")+"")&&e.set_data(r,o),l[0]&134348800&&_!==(_="MyGamesButton "+(c[27]=="MostPlayed"?"Active":"")+" "+(c[17]=="false"?"Off":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),u=!1,n()}}}function Z(a){let t,o=a[31]("recentlyPlayed")+"",r,_,u,n,c;return{c(){t=e.element("button"),r=e.text(o),_=e.space(),e.attr(t,"class",u="MyGamesButton "+(a[27]=="LastPlayed"?"Active":"")+" "+(a[18]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,r),e.append(t,_),n||(c=e.listen(t,"click",a[35]),n=!0)},p(l,h){h[1]&1&&o!==(o=l[31]("recentlyPlayed")+"")&&e.set_data(r,o),h[0]&134479872&&u!==(u="MyGamesButton "+(l[27]=="LastPlayed"?"Active":"")+" "+(l[18]=="false"?"Off":""))&&e.attr(t,"class",u)},d(l){l&&e.detach(t),n=!1,c()}}}function K(a){let t,o,r,_=a[43]=="Favorites"&&J(a),u=a[43]=="MostPlayed"&&V(a),n=a[43]=="LastPlayed"&&Z(a);return{c(){_&&_.c(),t=e.space(),u&&u.c(),o=e.space(),n&&n.c(),r=e.empty()},m(c,l){_&&_.m(c,l),e.insert(c,t,l),u&&u.m(c,l),e.insert(c,o,l),n&&n.m(c,l),e.insert(c,r,l)},p(c,l){c[43]=="Favorites"?_?_.p(c,l):(_=J(c),_.c(),_.m(t.parentNode,t)):_&&(_.d(1),_=null),c[43]=="MostPlayed"?u?u.p(c,l):(u=V(c),u.c(),u.m(o.parentNode,o)):u&&(u.d(1),u=null),c[43]=="LastPlayed"?n?n.p(c,l):(n=Z(c),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},d(c){c&&(e.detach(t),e.detach(o),e.detach(r)),_&&_.d(c),u&&u.d(c),n&&n.d(c)}}}function oe(a){let t;function o(u,n){if(u[19])return ne}let r=o(a),_=r&&r(a);return{c(){t=e.element("div"),_&&_.c()},m(u,n){e.insert(u,t,n),_&&_.m(t,null),a[36](t)},p(u,n){r===(r=o(u))&&_?_.p(u,n):(_&&_.d(1),_=r&&r(u),_&&(_.c(),_.m(t,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(t),_&&_.d(),a[36](null)}}}function ie(a,t,o){let r;e.component_subscribe(a,e.$format,m=>o(31,r=m));let{userid:_=""}=t,{session:u=""}=t,{endpoint:n=""}=t,{datasource:c=""}=t,{lang:l=""}=t,{currency:h=""}=t,{mbsource:d}=t,{clientstyling:p=""}=t,{clientstylingurl:y=""}=t,{livecasino:f=""}=t,{visiblegames:s=""}=t,{gamepagemodalurl:i=""}=t,{showgamename:g=""}=t,{integratedgameframedesktop:M=""}=t,{integratedgameframemobile:B=""}=t,{translationurl:G=""}=t,{favorites:w="false"}=t,{mostplayed:k="false"}=t,{lastplayed:F="false"}=t,{casinomygames:O="false"}=t,{lastplayedperiod:j="Last30Days"}=t,{mostplayedperiod:S="Last30Days"}=t,{lastplayedorder:q=""}=t,{lastplayedlimit:N=""}=t,{lastplayedunique:D="true"}=t,{mostplayedrounds:T=""}=t,W=window.navigator.userAgent,v,L="",z=!1,P=["","",""],A="0";ae({withLocale:"en",translations:{}});const X=()=>{fetch(G).then(b=>b.json()).then(b=>{Object.keys(b).forEach(C=>{U(C,b[C])})}).catch(b=>{console.log(b)})};Object.keys(I).forEach(m=>{U(m,I[m])});const E=m=>{L!==m&&o(27,L=m)},Y=()=>{o(27,L=w==="true"?"Favorites":k==="true"?"MostPlayed":F==="true"?"LastPlayed":""),o(29,P[0]=w==="true"?"Favorites":"",P),o(29,P[1]=k==="true"?"MostPlayed":"",P),o(29,P[2]=F==="true"?"LastPlayed":"",P),se(l)},H=m=>{var b,C;if(m.data)switch(m.data.type){case"UpdateFavoritesCount":m.data.favoriteGamesLength!==void 0?o(30,A=m.data.favoriteGamesLength):o(30,A=(C=(b=m.data.listOfFavoritesGames)==null?void 0:b.length)!=null?C:0);break}};e.onMount(()=>(window.addEventListener("message",H,!1),o(28,z=e.isMobile(W)),()=>{window.removeEventListener("message",H)}));const x=()=>E("Favorites"),$=()=>E("MostPlayed"),ee=()=>E("LastPlayed");function te(m){e.binding_callbacks[m?"unshift":"push"](()=>{v=m,o(26,v)})}return a.$$set=m=>{"userid"in m&&o(0,_=m.userid),"session"in m&&o(1,u=m.session),"endpoint"in m&&o(2,n=m.endpoint),"datasource"in m&&o(3,c=m.datasource),"lang"in m&&o(4,l=m.lang),"currency"in m&&o(5,h=m.currency),"mbsource"in m&&o(6,d=m.mbsource),"clientstyling"in m&&o(7,p=m.clientstyling),"clientstylingurl"in m&&o(8,y=m.clientstylingurl),"livecasino"in m&&o(9,f=m.livecasino),"visiblegames"in m&&o(10,s=m.visiblegames),"gamepagemodalurl"in m&&o(11,i=m.gamepagemodalurl),"showgamename"in m&&o(12,g=m.showgamename),"integratedgameframedesktop"in m&&o(13,M=m.integratedgameframedesktop),"integratedgameframemobile"in m&&o(14,B=m.integratedgameframemobile),"translationurl"in m&&o(15,G=m.translationurl),"favorites"in m&&o(16,w=m.favorites),"mostplayed"in m&&o(17,k=m.mostplayed),"lastplayed"in m&&o(18,F=m.lastplayed),"casinomygames"in m&&o(19,O=m.casinomygames),"lastplayedperiod"in m&&o(20,j=m.lastplayedperiod),"mostplayedperiod"in m&&o(21,S=m.mostplayedperiod),"lastplayedorder"in m&&o(22,q=m.lastplayedorder),"lastplayedlimit"in m&&o(23,N=m.lastplayedlimit),"lastplayedunique"in m&&o(24,D=m.lastplayedunique),"mostplayedrounds"in m&&o(25,T=m.mostplayedrounds)},a.$$.update=()=>{a.$$.dirty[0]&458780&&n&&c&&l&&w&&k&&F&&Y(),a.$$.dirty[0]&32768&&G&&X(),a.$$.dirty[0]&67108992&&p&&v&&e.setClientStyling(v,p),a.$$.dirty[0]&67109120&&y&&v&&e.setClientStylingURL(v,y),a.$$.dirty[0]&67108928&&d&&v&&e.setStreamStyling(v,`${d}.Style`)},[_,u,n,c,l,h,d,p,y,f,s,i,g,M,B,G,w,k,F,O,j,S,q,N,D,T,v,L,z,P,A,r,E,x,$,ee,te]}class Q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,oe,e.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,visiblegames:10,gamepagemodalurl:11,showgamename:12,integratedgameframedesktop:13,integratedgameframemobile:14,translationurl:15,favorites:16,mostplayed:17,lastplayed:18,casinomygames:19,lastplayedperiod:20,mostplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,lastplayedunique:24,mostplayedrounds:25},le,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[4]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get visiblegames(){return this.$$.ctx[10]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[13]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[14]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[16]}set favorites(t){this.$$set({favorites:t}),e.flush()}get mostplayed(){return this.$$.ctx[17]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[18]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get casinomygames(){return this.$$.ctx[19]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[20]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[25]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}}e.create_custom_element(Q,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{}},[],[],!0);exports.default=Q;