@everymatrix/casino-page 1.60.2 → 1.61.0

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 (101) hide show
  1. package/components/{CasinoCalendar-DEC4kbu7.cjs → CasinoCalendar-3HhwEwWn.cjs} +1 -1
  2. package/components/{CasinoCalendar-DNaLXH6n.js → CasinoCalendar-GcgbEHRq.js} +20 -20
  3. package/components/{CasinoCalendar-Ckt1PYIP.js → CasinoCalendar-oLa-PBk3.js} +20 -20
  4. package/components/CasinoCalendarDailyDetails-BEdoO9V0.js +694 -0
  5. package/components/CasinoCalendarDailyDetails-C-hKLl6t.cjs +1 -0
  6. package/components/CasinoCalendarDailyDetails-CXZ_e7er.js +694 -0
  7. package/components/CasinoCalendarDailyItem-B0UT8hgo.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-BYnarlby.js +307 -0
  9. package/components/CasinoCalendarDailyItem-C4zOqGfT.js +307 -0
  10. package/components/{CasinoCollectionsProviders-CMFOwKOw.js → CasinoCollectionsProviders-Bd9bpqwJ.js} +189 -188
  11. package/components/{CasinoCollectionsProviders-GaeLz6Pl.js → CasinoCollectionsProviders-BsCnHvy0.js} +178 -177
  12. package/components/CasinoCollectionsProviders-C9JSj4NQ.cjs +1 -0
  13. package/components/{CasinoFavoritesSection-DPSiSNGk.js → CasinoFavoritesSection-BuCiSBck.js} +18 -18
  14. package/components/{CasinoFavoritesSection-CkE51xeT.cjs → CasinoFavoritesSection-CF66gauh.cjs} +1 -1
  15. package/components/{CasinoFavoritesSection-CfVT3epR.js → CasinoFavoritesSection-CpfPEdvZ.js} +18 -18
  16. package/components/CasinoFilter-BDAzYLsu.cjs +1 -0
  17. package/components/{CasinoFilter-Cf6wLS_J.js → CasinoFilter-DGSFnnFj.js} +96 -94
  18. package/components/{CasinoFilter-DT_mfIxJ.js → CasinoFilter-DlzXE2oW.js} +50 -50
  19. package/components/CasinoGameThumbnail-8ZDDnalK.js +3592 -0
  20. package/components/CasinoGameThumbnail-CmqedVBx.js +3608 -0
  21. package/components/CasinoGameThumbnail-YSK9ny6q.cjs +39 -0
  22. package/components/{CasinoGamesCategorySection-DkGmDHac.js → CasinoGamesCategorySection-Cl02LfPB.js} +5 -5
  23. package/components/{CasinoGamesCategorySection-DGSWlFTH.js → CasinoGamesCategorySection-f_qKSuc4.js} +5 -5
  24. package/components/{CasinoGamesCategorySection-hJflAIRq.cjs → CasinoGamesCategorySection-op_Pcf3z.cjs} +1 -1
  25. package/components/CasinoJackpotBanner-BxJ0cXYz.js +698 -0
  26. package/components/CasinoJackpotBanner-CUg-WrqE.cjs +1 -0
  27. package/components/CasinoJackpotBanner-DltYb9oB.js +694 -0
  28. package/components/{CasinoLastPlayedSection-BbNJh01t.js → CasinoLastPlayedSection-B9ZLZ2fh.js} +15 -15
  29. package/components/{CasinoLastPlayedSection-C_j3LPmT.js → CasinoLastPlayedSection-BCY1n_9B.js} +15 -15
  30. package/components/{CasinoLastPlayedSection-AVoAf4mv.cjs → CasinoLastPlayedSection-DvpriSWH.cjs} +1 -1
  31. package/components/{CasinoMostPlayedSection-BlPs8slF.js → CasinoMostPlayedSection-Cf6tsgDE.js} +18 -18
  32. package/components/{CasinoMostPlayedSection-rBy5-Jnu.js → CasinoMostPlayedSection-Cuc6JAr3.js} +18 -18
  33. package/components/{CasinoMostPlayedSection-DDmHLMWJ.cjs → CasinoMostPlayedSection-DbcxZpH3.cjs} +1 -1
  34. package/components/{CasinoMyGames-D9v6VO98.cjs → CasinoMyGames-CaL_anj-.cjs} +1 -1
  35. package/components/{CasinoMyGames-BTb99mJz.js → CasinoMyGames-D8iC3rfB.js} +8 -8
  36. package/components/{CasinoMyGames-Da7YFLZB.js → CasinoMyGames-DJ7UmtLu.js} +7 -7
  37. package/components/{CasinoPage-DQL-iD56.cjs → CasinoPage-Bhbhj9cp.cjs} +1 -1
  38. package/components/{CasinoPage-S9SAAOBP.js → CasinoPage-D-SgeItH.js} +11 -11
  39. package/components/{CasinoPage-8NYVpmeY.js → CasinoPage-WV1OQ9DA.js} +11 -11
  40. package/components/{CasinoRandomGame-FAQztl67.js → CasinoRandomGame-C06GQcl6.js} +180 -179
  41. package/components/{CasinoRandomGame-CTVNBAys.js → CasinoRandomGame-C5dTPlxd.js} +138 -137
  42. package/components/CasinoRandomGame-CqD9l308.cjs +2 -0
  43. package/components/{CasinoSearch-C5VwVBaf.js → CasinoSearch-CP7pv_Rx.js} +47 -47
  44. package/components/{CasinoSearch-CZ4AR6hH.cjs → CasinoSearch-DOe-FAq6.cjs} +1 -1
  45. package/components/{CasinoSearch-uRmrNr_r.js → CasinoSearch-VAKEMXqH.js} +47 -47
  46. package/components/{CasinoSort-jHGGKT4T.js → CasinoSort-CFs4TBdS.js} +4 -4
  47. package/components/{CasinoSort-D-E5cV7V.js → CasinoSort-CScmWM1F.js} +4 -4
  48. package/components/{CasinoSort-CD6jHMIw.cjs → CasinoSort-DdDbgCmx.cjs} +1 -1
  49. package/components/CasinoWinners-C5CqUsG7.cjs +1 -0
  50. package/components/{CasinoWinners-BpeW82lE.js → CasinoWinners-ClL_FA-b.js} +110 -109
  51. package/components/{CasinoWinners-BnSu5nnB.js → CasinoWinners-yd5GvHIp.js} +109 -108
  52. package/components/{GeneralAnimationLoading-Bl-AgLq7.js → GeneralAnimationLoading-CrrQFcSB.js} +6 -6
  53. package/components/{GeneralAnimationLoading-vwMxZgQG.cjs → GeneralAnimationLoading-DKjMWmUN.cjs} +1 -1
  54. package/components/{GeneralAnimationLoading-oiUh9Rwe.js → GeneralAnimationLoading-Dhq5pG4U.js} +6 -6
  55. package/es2015/casino-page.cjs +1 -1
  56. package/es2015/casino-page.js +1 -1
  57. package/esnext/casino-page.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/app-globals-0f993ce5-4b17CI_n.cjs +1 -0
  60. package/stencil/{app-globals-0f993ce5-Cgk0KVAu.js → app-globals-0f993ce5-DfNOCk8l.js} +3 -1
  61. package/stencil/{casino-play-random-game-CLSQBVzD.js → casino-play-random-game-6EpPs13y.js} +3 -8
  62. package/stencil/{casino-play-random-game-Dm8A9dTR.js → casino-play-random-game-BUvMKyaw.js} +6 -11
  63. package/stencil/{casino-play-random-game-CdZKN03s.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
  64. package/stencil/{index-ab3202d6-OPh7hJp9.js → index-ab3202d6-9zuW-dLG.js} +1 -1
  65. package/stencil/{index-ab3202d6-hGs51skN.js → index-ab3202d6-CGVciVSL.js} +1 -1
  66. package/stencil/{index-ab3202d6-C1hgKWrC.cjs → index-ab3202d6-c7Vf1NJ1.cjs} +1 -1
  67. package/stencil/{index-b2193545-MPc38oBt.js → index-b2193545-CGYrx6SV.js} +1 -1
  68. package/stencil/{index-b2193545-DCd44oUP.cjs → index-b2193545-DU7jU8hT.cjs} +1 -1
  69. package/stencil/{index-b2193545-lFMF9wMV.js → index-b2193545-k_uiu1dU.js} +1 -1
  70. package/stencil/index-b7bbd57e-BMsMsYAr.js +550 -0
  71. package/stencil/index-b7bbd57e-CPxyz2y0.js +534 -0
  72. package/stencil/index-b7bbd57e-CiQAmzc6.cjs +1 -0
  73. package/stencil/ui-image-38c3c15f--IPbitii.js +39 -0
  74. package/stencil/ui-image-38c3c15f-CQXMTl7T.js +39 -0
  75. package/stencil/ui-image-38c3c15f-Dv8v2u8d.cjs +1 -0
  76. package/stencil/ui-image-CV8AJ9cY.js +29 -0
  77. package/stencil/ui-image-DG3xEaHN.js +11 -0
  78. package/stencil/ui-image-LuWVcxjH.cjs +1 -0
  79. package/stencil/{ui-skeleton-0M0DsgcH.js → ui-skeleton-22AocHRT.js} +8 -8
  80. package/stencil/{ui-skeleton-ea659b95-Denrk3xZ.js → ui-skeleton-6d1c12ae-4HBL8qol.js} +2 -2
  81. package/stencil/{ui-skeleton-ea659b95-DoJviCLo.cjs → ui-skeleton-6d1c12ae-C3POR2WV.cjs} +2 -2
  82. package/stencil/{ui-skeleton-ea659b95-Doo7piTc.js → ui-skeleton-6d1c12ae-f1sFu8zZ.js} +2 -2
  83. package/stencil/{ui-skeleton-DGBcSK-r.js → ui-skeleton-CMD3xF0X.js} +5 -5
  84. package/stencil/{ui-skeleton-Dt8jS6rz.cjs → ui-skeleton-Di9b-pPK.cjs} +1 -1
  85. package/components/CasinoCalendarDailyDetails-BdhBt4HO.js +0 -693
  86. package/components/CasinoCalendarDailyDetails-DOhd-4ZT.js +0 -693
  87. package/components/CasinoCalendarDailyDetails-EinwK-x0.cjs +0 -1
  88. package/components/CasinoCalendarDailyItem-254MG7d4.js +0 -306
  89. package/components/CasinoCalendarDailyItem-CEbe-dts.cjs +0 -1
  90. package/components/CasinoCalendarDailyItem-I0d1EuRW.js +0 -306
  91. package/components/CasinoCollectionsProviders-CYXVu8jO.cjs +0 -1
  92. package/components/CasinoFilter-DkRFodLT.cjs +0 -1
  93. package/components/CasinoGameThumbnail-CauadTSp.js +0 -4390
  94. package/components/CasinoGameThumbnail-DrSyOUlK.cjs +0 -47
  95. package/components/CasinoGameThumbnail-DsxrYUeR.js +0 -4406
  96. package/components/CasinoJackpotBanner-Dt56Ssbv.js +0 -697
  97. package/components/CasinoJackpotBanner-QjY0RFqn.js +0 -693
  98. package/components/CasinoJackpotBanner-W78-HVH9.cjs +0 -1
  99. package/components/CasinoRandomGame-CH4DPGtX.cjs +0 -2
  100. package/components/CasinoWinners-DM9Vf73b.cjs +0 -1
  101. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
@@ -1,11 +1,11 @@
1
- import { a as Ae, $ as qe, S as He, i as Oe, s as We, f as L, b as Ue, n as ie, d as j, N as Ve, r as f, T as ce, h as I, p as _, A as Z, j as R, B as N, E as ue, R as te, k as Je, o as Ze, m as H, q as O, C as he, v as de, w as Ye, F as Re, Q as u, I as Ke, J as Xe, K as Qe, L as $e, M as et } from "./CasinoCalendar-DNaLXH6n.js";
2
- import { d as tt, h as $ } from "./CasinoGameThumbnail-CauadTSp.js";
3
- import "./CasinoGamesCategorySection-DkGmDHac.js";
1
+ import { a as Ae, $ as Oe, S as qe, i as He, s as We, f as L, b as Ue, n as ie, d as j, O as Ve, r as f, T as ce, h as G, p as _, A as Z, j as R, B as N, F as ue, R as te, k as Je, o as Ze, m as q, q as H, C as he, v as de, w as Ye, G as Re, E as u, J as Ke, K as Xe, L as Qe, M as $e, N as et } from "./CasinoCalendar-GcgbEHRq.js";
2
+ import { d as tt, h as $ } from "./CasinoGameThumbnail-8ZDDnalK.js";
3
+ import "./CasinoGamesCategorySection-Cl02LfPB.js";
4
4
  function me(a, e) {
5
5
  Ae(a, e);
6
6
  }
7
7
  function at(a) {
8
- qe.set(a);
8
+ Oe.set(a);
9
9
  }
10
10
  const ge = {
11
11
  en: {
@@ -204,11 +204,11 @@ function pe(a) {
204
204
  ), n, r, l, s;
205
205
  return {
206
206
  c() {
207
- e = R("small"), n = O(t), f(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
207
+ e = R("small"), n = H(t), f(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
208
208
  (a[13] ? "NotVisible" : ""));
209
209
  },
210
210
  m(i, c) {
211
- I(i, e, c), _(e, n), l || (s = Z(
211
+ G(i, e, c), _(e, n), l || (s = Z(
212
212
  e,
213
213
  "click",
214
214
  /*click_handler_1*/
@@ -218,7 +218,7 @@ function pe(a) {
218
218
  p(i, c) {
219
219
  c[0] & /*$_*/
220
220
  2097152 && t !== (t = /*$_*/
221
- i[21]("cancel") + "") && H(n, t), c[0] & /*searchCancelled*/
221
+ i[21]("cancel") + "") && q(n, t), c[0] & /*searchCancelled*/
222
222
  8192 && r !== (r = "SearchCancelButton " + /*searchCancelled*/
223
223
  (i[13] ? "NotVisible" : "")) && f(e, "class", r);
224
224
  },
@@ -256,7 +256,7 @@ function rt(a) {
256
256
  (a[17] == !0 ? "" : "NotVisible"));
257
257
  },
258
258
  m(h, g) {
259
- i && i.m(h, g), I(h, e, g), I(h, t, g), c && c.m(t, null), _(t, n), m && m.m(t, null);
259
+ i && i.m(h, g), G(h, e, g), G(h, t, g), c && c.m(t, null), _(t, n), m && m.m(t, null);
260
260
  },
261
261
  p(h, g) {
262
262
  s === (s = l(h)) && i ? i.p(h, g) : (i && i.d(1), i = s && s(h), i && (i.c(), i.m(e.parentNode, e))), /*searchCancelled*/
@@ -278,15 +278,15 @@ function ot(a) {
278
278
  ), n;
279
279
  return {
280
280
  c() {
281
- e = R("p"), n = O(t), f(e, "class", "LoadingContent");
281
+ e = R("p"), n = H(t), f(e, "class", "LoadingContent");
282
282
  },
283
283
  m(r, l) {
284
- I(r, e, l), _(e, n);
284
+ G(r, e, l), _(e, n);
285
285
  },
286
286
  p(r, l) {
287
287
  l[0] & /*$_*/
288
288
  2097152 && t !== (t = /*$_*/
289
- r[21]("loading") + "") && H(n, t);
289
+ r[21]("loading") + "") && q(n, t);
290
290
  },
291
291
  d(r) {
292
292
  r && j(e);
@@ -300,15 +300,15 @@ function st(a) {
300
300
  ), n;
301
301
  return {
302
302
  c() {
303
- e = R("p"), n = O(t), f(e, "class", "SearchMessage");
303
+ e = R("p"), n = H(t), f(e, "class", "SearchMessage");
304
304
  },
305
305
  m(r, l) {
306
- I(r, e, l), _(e, n);
306
+ G(r, e, l), _(e, n);
307
307
  },
308
308
  p(r, l) {
309
309
  l[0] & /*$_*/
310
310
  2097152 && t !== (t = /*$_*/
311
- r[21]("searchResult") + "") && H(n, t);
311
+ r[21]("searchResult") + "") && q(n, t);
312
312
  },
313
313
  d(r) {
314
314
  r && j(e);
@@ -328,7 +328,7 @@ function lt(a) {
328
328
  n && n.c(), e = N(), r && r.c(), t = Re();
329
329
  },
330
330
  m(l, s) {
331
- n && n.m(l, s), I(l, e, s), r && r.m(l, s), I(l, t, s);
331
+ n && n.m(l, s), G(l, e, s), r && r.m(l, s), G(l, t, s);
332
332
  },
333
333
  p(l, s) {
334
334
  /*searchArray*/
@@ -347,15 +347,15 @@ function Se(a) {
347
347
  ), n;
348
348
  return {
349
349
  c() {
350
- e = R("p"), n = O(t), f(e, "class", "SearchMessage");
350
+ e = R("p"), n = H(t), f(e, "class", "SearchMessage");
351
351
  },
352
352
  m(r, l) {
353
- I(r, e, l), _(e, n);
353
+ G(r, e, l), _(e, n);
354
354
  },
355
355
  p(r, l) {
356
356
  l[0] & /*$_*/
357
357
  2097152 && t !== (t = /*$_*/
358
- r[21]("recentSearch") + "") && H(n, t);
358
+ r[21]("recentSearch") + "") && q(n, t);
359
359
  },
360
360
  d(r) {
361
361
  r && j(e);
@@ -372,17 +372,17 @@ function _e(a) {
372
372
  );
373
373
  return {
374
374
  c() {
375
- e = R("div"), i && i.c(), t = N(), n = R("p"), l = O(r), f(n, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
375
+ e = R("div"), i && i.c(), t = N(), n = R("p"), l = H(r), f(n, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
376
376
  (a[10] == "true" ? "WithIcon" : ""));
377
377
  },
378
378
  m(c, m) {
379
- I(c, e, m), i && i.m(e, null), _(e, t), _(e, n), _(n, l);
379
+ G(c, e, m), i && i.m(e, null), _(e, t), _(e, n), _(n, l);
380
380
  },
381
381
  p(c, m) {
382
382
  /*notfoundicon*/
383
383
  c[10] === "true" ? i || (i = be(), i.c(), i.m(e, t)) : i && (i.d(1), i = null), m[0] & /*$_*/
384
384
  2097152 && r !== (r = /*$_*/
385
- c[21]("noRecentSearches") + "") && H(l, r), m[0] & /*notfoundicon*/
385
+ c[21]("noRecentSearches") + "") && q(l, r), m[0] & /*notfoundicon*/
386
386
  1024 && s !== (s = "ResultsContainerError " + /*notfoundicon*/
387
387
  (c[10] == "true" ? "WithIcon" : "")) && f(e, "class", s);
388
388
  },
@@ -398,7 +398,7 @@ function be(a) {
398
398
  e = R("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', f(e, "class", "SearchErrorIcon");
399
399
  },
400
400
  m(t, n) {
401
- I(t, e, n);
401
+ G(t, e, n);
402
402
  },
403
403
  d(t) {
404
404
  t && j(e);
@@ -421,7 +421,7 @@ function we(a) {
421
421
  m(r, l) {
422
422
  for (let s = 0; s < n.length; s += 1)
423
423
  n[s] && n[s].m(r, l);
424
- I(r, e, l);
424
+ G(r, e, l);
425
425
  },
426
426
  p(r, l) {
427
427
  if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, mbsource, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/
@@ -530,7 +530,7 @@ function ve(a) {
530
530
  );
531
531
  },
532
532
  m(d, p) {
533
- I(d, e, p);
533
+ G(d, e, p);
534
534
  },
535
535
  p(d, p) {
536
536
  p[0] & /*endpoint*/
@@ -654,19 +654,19 @@ function ke(a) {
654
654
  );
655
655
  return {
656
656
  c() {
657
- e = R("div"), g && g.c(), t = N(), n = R("p"), l = O(r), s = N(), i = R("p"), m = O(c), f(n, "class", "SearchMessage"), f(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
657
+ e = R("div"), g && g.c(), t = N(), n = R("p"), l = H(r), s = N(), i = R("p"), m = H(c), f(n, "class", "SearchMessage"), f(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
658
658
  (a[10] == "true" ? "WithIcon" : ""));
659
659
  },
660
660
  m(w, d) {
661
- I(w, e, d), g && g.m(e, null), _(e, t), _(e, n), _(n, l), _(e, s), _(e, i), _(i, m);
661
+ G(w, e, d), g && g.m(e, null), _(e, t), _(e, n), _(n, l), _(e, s), _(e, i), _(i, m);
662
662
  },
663
663
  p(w, d) {
664
664
  /*notfoundicon*/
665
665
  w[10] === "true" ? g || (g = ye(), g.c(), g.m(e, t)) : g && (g.d(1), g = null), d[0] & /*$_*/
666
666
  2097152 && r !== (r = /*$_*/
667
- w[21]("notFound") + "") && H(l, r), d[0] & /*$_*/
667
+ w[21]("notFound") + "") && q(l, r), d[0] & /*$_*/
668
668
  2097152 && c !== (c = /*$_*/
669
- w[21]("notFoundText") + "") && H(m, c), d[0] & /*notfoundicon*/
669
+ w[21]("notFoundText") + "") && q(m, c), d[0] & /*notfoundicon*/
670
670
  1024 && h !== (h = "ResultsContainerError " + /*notfoundicon*/
671
671
  (w[10] == "true" ? "WithIcon" : "")) && f(e, "class", h);
672
672
  },
@@ -682,7 +682,7 @@ function ye(a) {
682
682
  e = R("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', f(e, "class", "SearchErrorIcon");
683
683
  },
684
684
  m(t, n) {
685
- I(t, e, n);
685
+ G(t, e, n);
686
686
  },
687
687
  d(t) {
688
688
  t && j(e);
@@ -694,13 +694,13 @@ function it(a) {
694
694
  /*cancelbutton*/
695
695
  a[9] === "true" && pe(a)
696
696
  );
697
- function G(b, T) {
697
+ function I(b, T) {
698
698
  return (
699
699
  /*isLoading*/
700
700
  b[18] ? ot : rt
701
701
  );
702
702
  }
703
- let B = G(a), y = B(a);
703
+ let B = I(a), y = B(a);
704
704
  return {
705
705
  c() {
706
706
  e = R("div"), t = R("div"), n = R("div"), r = R("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', l = N(), s = R("input"), c = N(), m = R("span"), h = ue("svg"), g = ue("path"), d = N(), v && v.c(), D = N(), P = R("div"), U = N(), y.c(), f(r, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
@@ -714,7 +714,7 @@ function it(a) {
714
714
  ) !== "PC" ? "" : "Desktop") + " CasinoSearch");
715
715
  },
716
716
  m(b, T) {
717
- I(b, e, T), _(e, t), _(t, n), _(n, r), _(n, l), _(n, s), ce(
717
+ G(b, e, T), _(e, t), _(t, n), _(n, r), _(n, l), _(n, s), ce(
718
718
  s,
719
719
  /*searchValue*/
720
720
  a[12]
@@ -762,7 +762,7 @@ function it(a) {
762
762
  8192 && p !== (p = "Search " + /*searchCancelled*/
763
763
  (b[13] ? "" : "SearchAnimation")) && f(n, "class", p), T[0] & /*cancelbutton*/
764
764
  512 && M !== (M = /*cancelbutton*/
765
- b[9] != "true" ? "OverlayCancel" : "") && f(P, "class", M), B === (B = G(b)) && y ? y.p(b, T) : (y.d(1), y = B(b), y && (y.c(), y.m(e, null)));
765
+ b[9] != "true" ? "OverlayCancel" : "") && f(P, "class", M), B === (B = I(b)) && y ? y.p(b, T) : (y.d(1), y = B(b), y && (y.c(), y.m(e, null)));
766
766
  },
767
767
  i: ie,
768
768
  o: ie,
@@ -775,7 +775,7 @@ let ct = 50;
775
775
  function ut(a, e, t) {
776
776
  let n;
777
777
  Je(a, et, (o) => t(21, n = o));
778
- let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: D = "" } = e, { showfavorites: P = "" } = e, { cancelbutton: M = "true" } = e, { notfoundicon: U = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], G = [], B = {}, y = "", b, T = !0, V = !1, E = !1, x, Y = !1, K, X, ae = [];
778
+ let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: D = "" } = e, { showfavorites: P = "" } = e, { cancelbutton: M = "true" } = e, { notfoundicon: U = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], I = [], B = {}, y = "", b, T = !0, V = !1, E = !1, x, Y = !1, K, X, ae = [];
779
779
  const Ce = () => {
780
780
  fetch(D).then((S) => S.json()).then((S) => {
781
781
  Object.keys(S).forEach((k) => {
@@ -789,7 +789,7 @@ function ut(a, e, t) {
789
789
  me(o, ge[o]);
790
790
  });
791
791
  const ne = (o) => {
792
- o.data && o.data.type == "SearchedItemClicked" && Ge(o.data.gameId), o.data.type == "UserSessionID" && (t(19, K = o.data.session), t(20, X = o.data.userid), t(32, Y = !0)), o.data.type == "CategoryChange" && Q();
792
+ o.data && o.data.type == "SearchedItemClicked" && Ie(o.data.gameId), o.data.type == "UserSessionID" && (t(19, K = o.data.session), t(20, X = o.data.userid), t(32, Y = !0)), o.data.type == "CategoryChange" && Q();
793
793
  }, re = () => {
794
794
  if (t(13, T = !1), t(17, V = !0), r && l && c && y.length < 2) {
795
795
  t(15, v = []);
@@ -802,9 +802,9 @@ function ut(a, e, t) {
802
802
  z.searchParams.append("language", c), z.searchParams.append("datasource", l), z.searchParams.append("platform", te(W)), k.push(Te(z, S[C]));
803
803
  }
804
804
  Promise.all(k).then((z) => {
805
- z = z.filter(function(q) {
806
- return !!q;
807
- }), t(15, v = z.map((q) => (q.isFavorite = oe(q.id), q))), v.length ? J("searchSuccess", "SearchWidget") : J("searchFail", "SearchWidget");
805
+ z = z.filter(function(O) {
806
+ return !!O;
807
+ }), t(15, v = z.map((O) => (O.isFavorite = oe(O.id), O))), v.length ? J("searchSuccess", "SearchWidget") : J("searchFail", "SearchWidget");
808
808
  }).catch((z) => {
809
809
  J("searchError", "SearchWidget");
810
810
  });
@@ -837,21 +837,21 @@ function ut(a, e, t) {
837
837
  fetch(o.href, S).then((k) => k.json()).then((k) => {
838
838
  t(18, E = !1), ae = k.items.map((C) => C.id);
839
839
  });
840
- }, Ie = () => {
840
+ }, Ge = () => {
841
841
  t(32, Y = !0), t(19, K = s), t(20, X = i);
842
842
  }, oe = (o) => ae.findIndex((S) => S == o) !== -1, ze = (o) => {
843
843
  if (o?.length === 0)
844
844
  return "";
845
845
  let S, k = 99999999999, C;
846
846
  const F = new Date(Date.now());
847
- return o.forEach((z, q) => {
847
+ return o.forEach((z, O) => {
848
848
  const De = new Date(z.schedules[0].startTime), ee = new Date(z.schedules[0].endTime);
849
- $(ee).diff(F) < k && (k = $(ee).diff(F), C = q), $(F).isAfter(De) && $(F).isBefore(ee) && (S = o[C].name);
849
+ $(ee).diff(F) < k && (k = $(ee).diff(F), C = O), $(F).isAfter(De) && $(F).isBefore(ee) && (S = o[C].name);
850
850
  }), S;
851
- }, Ge = (o) => {
852
- if (G = localStorage.getItem("searchedGamesWds_casino"), G ? G = G.split(",") : G = [], G.indexOf(o) === -1) {
851
+ }, Ie = (o) => {
852
+ if (I = localStorage.getItem("searchedGamesWds_casino"), I ? I = I.split(",") : I = [], I.indexOf(o) === -1) {
853
853
  let S;
854
- G.unshift(o), S = G.join(","), localStorage.setItem("searchedGamesWds_casino", S);
854
+ I.unshift(o), S = I.join(","), localStorage.setItem("searchedGamesWds_casino", S);
855
855
  }
856
856
  }, Q = () => {
857
857
  t(12, y = ""), t(13, T = !0), t(18, E = !1), t(15, v = []), t(17, V = !1), le(V);
@@ -900,7 +900,7 @@ function ut(a, e, t) {
900
900
  a.$$.dirty[0] & /*lang*/
901
901
  2 && c && Ee(), a.$$.dirty[1] & /*translationurl*/
902
902
  1 && D && Ce(), a.$$.dirty[0] & /*session, userid*/
903
- 1610612736 && s && i && Ie(), a.$$.dirty[0] & /*showfavorites*/
903
+ 1610612736 && s && i && Ge(), a.$$.dirty[0] & /*showfavorites*/
904
904
  256 | a.$$.dirty[1] & /*isLoggedIn*/
905
905
  2 && P && Y && je(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
906
906
  16388 && m && x && Ke(x, m), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
@@ -947,9 +947,9 @@ function ut(a, e, t) {
947
947
  Be
948
948
  ];
949
949
  }
950
- class ht extends He {
950
+ class ht extends qe {
951
951
  constructor(e) {
952
- super(), Oe(
952
+ super(), He(
953
953
  this,
954
954
  e,
955
955
  ut,
@@ -1,4 +1,4 @@
1
- import { $ as q, P as et, a as rt, S as ot, i as nt, s as at, f as L, b as st, n as U, d as P, h as R, j as m, k as lt, o as it, C as ct, v as K, w as dt, m as G, r, p as l, A as tt, E as N, B as Z, q as Q, I as pt, J as gt, K as ut, L as ht, M as mt } from "./CasinoCalendar-Ckt1PYIP.js";
1
+ import { $ as q, Q as et, a as rt, S as ot, i as nt, s as at, f as L, b as st, n as U, d as P, h as R, j as m, k as lt, o as it, C as ct, v as K, w as dt, m as Q, r, p as l, A as tt, F as N, B as Z, q as G, J as pt, K as gt, L as ut, M as ht, N as mt } from "./CasinoCalendar-oLa-PBk3.js";
2
2
  function ft({ withLocale: t, translations: e }) {
3
3
  q.subscribe((o) => {
4
4
  o == null && (et.set(e), q.set(t));
@@ -158,7 +158,7 @@ function wt(t) {
158
158
  b[c] = $(Y(t, H, c));
159
159
  return {
160
160
  c() {
161
- e = m("div"), o = m("div"), a = m("div"), s = N("svg"), i = N("g"), d = N("path"), f = N("path"), g = N("path"), x = Z(), p = m("div"), y = m("span"), w = Q(_), S = Z(), I = m("div"), C = m("span"), B = Q(O), D = Z(), z = m("span"), A = N("svg"), F = N("path"), u = Z(), v = m("div"), T = m("ul");
161
+ e = m("div"), o = m("div"), a = m("div"), s = N("svg"), i = N("g"), d = N("path"), f = N("path"), g = N("path"), x = Z(), p = m("div"), y = m("span"), w = G(_), S = Z(), I = m("div"), C = m("span"), B = G(O), D = Z(), z = m("span"), A = N("svg"), F = N("path"), u = Z(), v = m("div"), T = m("ul");
162
162
  for (let c = 0; c < b.length; c += 1)
163
163
  b[c].c();
164
164
  r(d, "id", "Path_5267"), r(d, "data-name", "Path 5267"), r(d, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), r(d, "transform", "translate(-206.448 0)"), r(d, "fill", "#fff"), r(f, "id", "Path_5268"), r(f, "data-name", "Path 5268"), r(f, "d", "M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"), r(f, "transform", "translate(0 0)"), r(f, "fill", "#fff"), r(g, "id", "Path_5269"), r(g, "data-name", "Path 5269"), r(g, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), r(g, "transform", "translate(-412.896 0)"), r(g, "fill", "#fff"), r(i, "id", "sortby"), r(i, "transform", "translate(-306 -342)"), r(s, "xmlns", "http://www.w3.org/2000/svg"), r(s, "width", "20"), r(s, "height", "20"), r(s, "viewBox", "0 0 26.003 22.819"), r(y, "class", "SorterName"), r(I, "class", "SorterValueContainer"), r(p, "class", "SorterTextContainer"), r(a, "class", "SorterMainArea"), r(F, "id", "arrow"), r(F, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), r(F, "transform", "translate(-274.511 -441.088)"), r(F, "fill", "#d1d1d1"), r(A, "xmlns", "http://www.w3.org/2000/svg"), r(A, "width", "14"), r(A, "height", "6.835"), r(A, "viewBox", "0 0 14 6.835"), r(z, "class", M = "TriangleInactive " + /*isSorterActive*/
@@ -180,10 +180,10 @@ function wt(t) {
180
180
  p(c, k) {
181
181
  if (k & /*$_*/
182
182
  16 && _ !== (_ = /*$_*/
183
- c[4]("sortby") + "") && G(w, _), k & /*vendorSortingBy, $_*/
183
+ c[4]("sortby") + "") && Q(w, _), k & /*vendorSortingBy, $_*/
184
184
  24 && O !== (O = /*vendorSortingBy*/
185
185
  (c[3] || /*$_*/
186
- c[4]("all")) + "") && G(B, O), k & /*isSorterActive*/
186
+ c[4]("all")) + "") && Q(B, O), k & /*isSorterActive*/
187
187
  2 && M !== (M = "TriangleInactive " + /*isSorterActive*/
188
188
  (c[1] ? "TriangleActive" : "")) && r(z, "class", M), k & /*isSorterActive*/
189
189
  2 && n !== (n = "SorterSelector " + /*isSorterActive*/
@@ -1,4 +1,4 @@
1
- import { $ as q, P as et, a as rt, S as ot, i as nt, s as at, f as L, b as st, n as U, d as P, h as R, j as h, k as lt, o as it, C as ct, v as K, w as dt, m as G, r, p as l, A as tt, E as N, B as Z, q as Q, I as pt, J as gt, K as ut, L as ht, M as mt } from "./CasinoCalendar-DNaLXH6n.js";
1
+ import { $ as q, Q as et, a as rt, S as ot, i as nt, s as at, f as L, b as st, n as U, d as P, h as R, j as h, k as lt, o as it, C as ct, v as K, w as dt, m as Q, r, p as l, A as tt, F as N, B as Z, q as G, J as pt, K as gt, L as ut, M as ht, N as mt } from "./CasinoCalendar-GcgbEHRq.js";
2
2
  function ft({ withLocale: t, translations: e }) {
3
3
  q.subscribe((o) => {
4
4
  o == null && (et.set(e), q.set(t));
@@ -158,7 +158,7 @@ function wt(t) {
158
158
  b[c] = $(Y(t, H, c));
159
159
  return {
160
160
  c() {
161
- e = h("div"), o = h("div"), a = h("div"), s = N("svg"), i = N("g"), d = N("path"), m = N("path"), g = N("path"), x = Z(), p = h("div"), f = h("span"), y = Q(_), S = Z(), I = h("div"), C = h("span"), B = Q(O), D = Z(), z = h("span"), A = N("svg"), F = N("path"), w = Z(), v = h("div"), T = h("ul");
161
+ e = h("div"), o = h("div"), a = h("div"), s = N("svg"), i = N("g"), d = N("path"), m = N("path"), g = N("path"), x = Z(), p = h("div"), f = h("span"), y = G(_), S = Z(), I = h("div"), C = h("span"), B = G(O), D = Z(), z = h("span"), A = N("svg"), F = N("path"), w = Z(), v = h("div"), T = h("ul");
162
162
  for (let c = 0; c < b.length; c += 1)
163
163
  b[c].c();
164
164
  r(d, "id", "Path_5267"), r(d, "data-name", "Path 5267"), r(d, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), r(d, "transform", "translate(-206.448 0)"), r(d, "fill", "#fff"), r(m, "id", "Path_5268"), r(m, "data-name", "Path 5268"), r(m, "d", "M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"), r(m, "transform", "translate(0 0)"), r(m, "fill", "#fff"), r(g, "id", "Path_5269"), r(g, "data-name", "Path 5269"), r(g, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), r(g, "transform", "translate(-412.896 0)"), r(g, "fill", "#fff"), r(i, "id", "sortby"), r(i, "transform", "translate(-306 -342)"), r(s, "xmlns", "http://www.w3.org/2000/svg"), r(s, "width", "20"), r(s, "height", "20"), r(s, "viewBox", "0 0 26.003 22.819"), r(f, "class", "SorterName"), r(I, "class", "SorterValueContainer"), r(p, "class", "SorterTextContainer"), r(a, "class", "SorterMainArea"), r(F, "id", "arrow"), r(F, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), r(F, "transform", "translate(-274.511 -441.088)"), r(F, "fill", "#d1d1d1"), r(A, "xmlns", "http://www.w3.org/2000/svg"), r(A, "width", "14"), r(A, "height", "6.835"), r(A, "viewBox", "0 0 14 6.835"), r(z, "class", M = "TriangleInactive " + /*isSorterActive*/
@@ -180,10 +180,10 @@ function wt(t) {
180
180
  p(c, k) {
181
181
  if (k & /*$_*/
182
182
  16 && _ !== (_ = /*$_*/
183
- c[4]("sortby") + "") && G(y, _), k & /*vendorSortingBy, $_*/
183
+ c[4]("sortby") + "") && Q(y, _), k & /*vendorSortingBy, $_*/
184
184
  24 && O !== (O = /*vendorSortingBy*/
185
185
  (c[3] || /*$_*/
186
- c[4]("all")) + "") && G(B, O), k & /*isSorterActive*/
186
+ c[4]("all")) + "") && Q(B, O), k & /*isSorterActive*/
187
187
  2 && M !== (M = "TriangleInactive " + /*isSorterActive*/
188
188
  (c[1] ? "TriangleActive" : "")) && r(z, "class", M), k & /*isSorterActive*/
189
189
  2 && n !== (n = "SorterSelector " + /*isSorterActive*/
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DEC4kbu7.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function T(e,r){t.addMessages(e,r)}const j={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"},"en-us":{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};function J(e){t.append_styles(e,"svelte-54zse8",':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}')}function E(e,r,n){const o=e.slice();return o[23]=r[n],o}function q(e){let r,n,o,l,s,p,h,d,S,c,m,v=e[4]("sortby")+"",f,w,z,A,F=(e[3]||e[4]("all"))+"",N,O,k,_,C,Z,a,g,b,M,B,H,D,I=t.ensure_array_like(Object.values(e[5])),y=[];for(let i=0;i<I.length;i+=1)y[i]=P(E(e,I,i));return{c(){r=t.element("div"),n=t.element("div"),o=t.element("div"),l=t.svg_element("svg"),s=t.svg_element("g"),p=t.svg_element("path"),h=t.svg_element("path"),d=t.svg_element("path"),S=t.space(),c=t.element("div"),m=t.element("span"),f=t.text(v),w=t.space(),z=t.element("div"),A=t.element("span"),N=t.text(F),O=t.space(),k=t.element("span"),_=t.svg_element("svg"),C=t.svg_element("path"),g=t.space(),b=t.element("div"),M=t.element("ul");for(let i=0;i<y.length;i+=1)y[i].c();t.attr(p,"id","Path_5267"),t.attr(p,"data-name","Path 5267"),t.attr(p,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),t.attr(p,"transform","translate(-206.448 0)"),t.attr(p,"fill","#fff"),t.attr(h,"id","Path_5268"),t.attr(h,"data-name","Path 5268"),t.attr(h,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),t.attr(h,"transform","translate(0 0)"),t.attr(h,"fill","#fff"),t.attr(d,"id","Path_5269"),t.attr(d,"data-name","Path 5269"),t.attr(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),t.attr(d,"transform","translate(-412.896 0)"),t.attr(d,"fill","#fff"),t.attr(s,"id","sortby"),t.attr(s,"transform","translate(-306 -342)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","20"),t.attr(l,"height","20"),t.attr(l,"viewBox","0 0 26.003 22.819"),t.attr(m,"class","SorterName"),t.attr(z,"class","SorterValueContainer"),t.attr(c,"class","SorterTextContainer"),t.attr(o,"class","SorterMainArea"),t.attr(C,"id","arrow"),t.attr(C,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),t.attr(C,"transform","translate(-274.511 -441.088)"),t.attr(C,"fill","#d1d1d1"),t.attr(_,"xmlns","http://www.w3.org/2000/svg"),t.attr(_,"width","14"),t.attr(_,"height","6.835"),t.attr(_,"viewBox","0 0 14 6.835"),t.attr(k,"class",Z="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",a="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(M,"class","SorterDropdown"),t.attr(b,"class",B="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(i,x){t.insert(i,r,x),t.append(r,n),t.append(n,o),t.append(o,l),t.append(l,s),t.append(s,p),t.append(s,h),t.append(s,d),t.append(o,S),t.append(o,c),t.append(c,m),t.append(m,f),t.append(c,w),t.append(c,z),t.append(z,A),t.append(A,N),t.append(n,O),t.append(n,k),t.append(k,_),t.append(_,C),t.append(r,g),t.append(r,b),t.append(b,M);for(let u=0;u<y.length;u+=1)y[u]&&y[u].m(M,null);H||(D=t.listen(n,"click",e[14]),H=!0)},p(i,x){if(x&16&&v!==(v=i[4]("sortby")+"")&&t.set_data(f,v),x&24&&F!==(F=(i[3]||i[4]("all"))+"")&&t.set_data(N,F),x&2&&Z!==(Z="TriangleInactive "+(i[1]?"TriangleActive":""))&&t.attr(k,"class",Z),x&2&&a!==(a="SorterSelector "+(i[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",a),x&120){I=t.ensure_array_like(Object.values(i[5]));let u;for(u=0;u<I.length;u+=1){const L=E(i,I,u);y[u]?y[u].p(L,x):(y[u]=P(L),y[u].c(),y[u].m(M,null))}for(;u<y.length;u+=1)y[u].d(1);y.length=I.length}x&2&&B!==(B="SorterDropdownContainer "+(i[1]?"SorterOpen":""))&&t.attr(b,"class",B)},d(i){i&&t.detach(r),t.destroy_each(y,i),H=!1,D()}}}function P(e){let r,n,o,l,s,p,h,d,S,c,m;function v(){return e[15](e[23])}return{c(){r=t.element("li"),n=t.element("label"),o=t.element("input"),s=t.space(),p=t.element("span"),h=t.space(),d=t.element("span"),d.textContent=`${e[23]}`,S=t.space(),t.attr(o,"type","radio"),t.attr(o,"name","radio"),o.value=e[23],o.checked=l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"),t.attr(p,"class","SortersCheckmark"),t.attr(n,"class","SorterLabel CustomRadioButton"),t.attr(r,"class","SorterItem"),r.value=e[23]},m(f,w){t.insert(f,r,w),t.append(r,n),t.append(n,o),t.append(n,s),t.append(n,p),t.append(n,h),t.append(n,d),t.append(r,S),c||(m=t.listen(o,"click",v),c=!0)},p(f,w){e=f,w&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(o.checked=l)},d(f){f&&t.detach(r),c=!1,m()}}}function U(e){let r;function n(s,p){if(!s[2])return q}let o=n(e),l=o&&o(e);return{c(){r=t.element("div"),l&&l.c()},m(s,p){t.insert(s,r,p),l&&l.m(r,null),e[16](r)},p(s,[p]){o===(o=n(s))&&l?l.p(s,p):(l&&l.d(1),l=o&&o(s),l&&(l.c(),l.m(r,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(r),l&&l.d(),e[16](null)}}}function G(e,r,n){let o;t.component_subscribe(e,t.$format,a=>n(4,o=a));let{lang:l=""}=r,{translationurl:s=""}=r,{clientstyling:p=""}=r,{clientstylingurl:h=""}=r,{categoryid:d=""}=r,{mbsource:S}=r,c,m=!1,v=!0,f="",w="All";V({withLocale:"en",translations:{}});const z=()=>{fetch(s).then(g=>g.json()).then(g=>{Object.keys(g).forEach(b=>{T(b,g[b])})}).catch(g=>{console.log(g)})};Object.keys(j).forEach(a=>{T(a,j[a])});const A={All:o("all"),name:o("az"),isNew:o("newest"),"advancedTags(name(hot))":o("hottest")},F=()=>{var g;n(3,w="All"),n(2,v=!1),n(1,m=!1);let a=(g=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:g[d];a?n(3,w=a):n(3,w="All"),n(3,w=A[a])},N=a=>{n(3,w=a);let g=localStorage.getItem("vendorSortingBy");f=a;for(let b in A)if(A[b]===a){f=b;break}g==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[d]:f})):(g=JSON.parse(g),g[d]=f,localStorage.setItem("vendorSortingBy",JSON.stringify(g))),window.postMessage({type:"ApplySorter",sortBy:f,itemId:d},window.location.href),n(1,m=!m)},O=()=>{n(1,m=!m),window.postMessage({type:"SortingOpened"},window.location.href)},k=a=>{a.data.type=="FilterOpened"&&n(1,m=!1)};t.onMount(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)}));const _=()=>O(),C=a=>N(a);function Z(a){t.binding_callbacks[a?"unshift":"push"](()=>{c=a,n(0,c)})}return e.$$set=a=>{"lang"in a&&n(8,l=a.lang),"translationurl"in a&&n(9,s=a.translationurl),"clientstyling"in a&&n(10,p=a.clientstyling),"clientstylingurl"in a&&n(11,h=a.clientstylingurl),"categoryid"in a&&n(12,d=a.categoryid),"mbsource"in a&&n(13,S=a.mbsource)},e.$$.update=()=>{e.$$.dirty&4096&&d&&F(),e.$$.dirty&1025&&p&&c&&t.setClientStyling(c,p),e.$$.dirty&2049&&h&&c&&t.setClientStylingURL(c,h),e.$$.dirty&8193&&c&&t.setStreamStyling(c,`${S}.Style`),e.$$.dirty&512&&s&&z()},[c,m,v,w,o,A,N,O,l,s,p,h,d,S,_,C,Z]}class R extends t.SvelteComponent{constructor(r){super(),t.init(this,r,G,U,t.safe_not_equal,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12,mbsource:13},J)}get lang(){return this.$$.ctx[8]}set lang(r){this.$$set({lang:r}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(r){this.$$set({translationurl:r}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(r){this.$$set({clientstyling:r}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),t.flush()}get categoryid(){return this.$$.ctx[12]}set categoryid(r){this.$$set({categoryid:r}),t.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(r){this.$$set({mbsource:r}),t.flush()}}t.create_custom_element(R,{lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},mbsource:{}},[],[],!0);exports.default=R;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-3HhwEwWn.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function T(e,r){t.addMessages(e,r)}const j={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"},"en-us":{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};function J(e){t.append_styles(e,"svelte-54zse8",':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}')}function E(e,r,n){const o=e.slice();return o[23]=r[n],o}function q(e){let r,n,o,l,s,p,h,d,S,c,m,v=e[4]("sortby")+"",f,w,z,A,F=(e[3]||e[4]("all"))+"",N,O,k,_,C,Z,a,g,b,M,B,H,D,I=t.ensure_array_like(Object.values(e[5])),y=[];for(let i=0;i<I.length;i+=1)y[i]=P(E(e,I,i));return{c(){r=t.element("div"),n=t.element("div"),o=t.element("div"),l=t.svg_element("svg"),s=t.svg_element("g"),p=t.svg_element("path"),h=t.svg_element("path"),d=t.svg_element("path"),S=t.space(),c=t.element("div"),m=t.element("span"),f=t.text(v),w=t.space(),z=t.element("div"),A=t.element("span"),N=t.text(F),O=t.space(),k=t.element("span"),_=t.svg_element("svg"),C=t.svg_element("path"),g=t.space(),b=t.element("div"),M=t.element("ul");for(let i=0;i<y.length;i+=1)y[i].c();t.attr(p,"id","Path_5267"),t.attr(p,"data-name","Path 5267"),t.attr(p,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),t.attr(p,"transform","translate(-206.448 0)"),t.attr(p,"fill","#fff"),t.attr(h,"id","Path_5268"),t.attr(h,"data-name","Path 5268"),t.attr(h,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),t.attr(h,"transform","translate(0 0)"),t.attr(h,"fill","#fff"),t.attr(d,"id","Path_5269"),t.attr(d,"data-name","Path 5269"),t.attr(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),t.attr(d,"transform","translate(-412.896 0)"),t.attr(d,"fill","#fff"),t.attr(s,"id","sortby"),t.attr(s,"transform","translate(-306 -342)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","20"),t.attr(l,"height","20"),t.attr(l,"viewBox","0 0 26.003 22.819"),t.attr(m,"class","SorterName"),t.attr(z,"class","SorterValueContainer"),t.attr(c,"class","SorterTextContainer"),t.attr(o,"class","SorterMainArea"),t.attr(C,"id","arrow"),t.attr(C,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),t.attr(C,"transform","translate(-274.511 -441.088)"),t.attr(C,"fill","#d1d1d1"),t.attr(_,"xmlns","http://www.w3.org/2000/svg"),t.attr(_,"width","14"),t.attr(_,"height","6.835"),t.attr(_,"viewBox","0 0 14 6.835"),t.attr(k,"class",Z="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",a="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(M,"class","SorterDropdown"),t.attr(b,"class",B="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(i,x){t.insert(i,r,x),t.append(r,n),t.append(n,o),t.append(o,l),t.append(l,s),t.append(s,p),t.append(s,h),t.append(s,d),t.append(o,S),t.append(o,c),t.append(c,m),t.append(m,f),t.append(c,w),t.append(c,z),t.append(z,A),t.append(A,N),t.append(n,O),t.append(n,k),t.append(k,_),t.append(_,C),t.append(r,g),t.append(r,b),t.append(b,M);for(let u=0;u<y.length;u+=1)y[u]&&y[u].m(M,null);H||(D=t.listen(n,"click",e[14]),H=!0)},p(i,x){if(x&16&&v!==(v=i[4]("sortby")+"")&&t.set_data(f,v),x&24&&F!==(F=(i[3]||i[4]("all"))+"")&&t.set_data(N,F),x&2&&Z!==(Z="TriangleInactive "+(i[1]?"TriangleActive":""))&&t.attr(k,"class",Z),x&2&&a!==(a="SorterSelector "+(i[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",a),x&120){I=t.ensure_array_like(Object.values(i[5]));let u;for(u=0;u<I.length;u+=1){const L=E(i,I,u);y[u]?y[u].p(L,x):(y[u]=P(L),y[u].c(),y[u].m(M,null))}for(;u<y.length;u+=1)y[u].d(1);y.length=I.length}x&2&&B!==(B="SorterDropdownContainer "+(i[1]?"SorterOpen":""))&&t.attr(b,"class",B)},d(i){i&&t.detach(r),t.destroy_each(y,i),H=!1,D()}}}function P(e){let r,n,o,l,s,p,h,d,S,c,m;function v(){return e[15](e[23])}return{c(){r=t.element("li"),n=t.element("label"),o=t.element("input"),s=t.space(),p=t.element("span"),h=t.space(),d=t.element("span"),d.textContent=`${e[23]}`,S=t.space(),t.attr(o,"type","radio"),t.attr(o,"name","radio"),o.value=e[23],o.checked=l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"),t.attr(p,"class","SortersCheckmark"),t.attr(n,"class","SorterLabel CustomRadioButton"),t.attr(r,"class","SorterItem"),r.value=e[23]},m(f,w){t.insert(f,r,w),t.append(r,n),t.append(n,o),t.append(n,s),t.append(n,p),t.append(n,h),t.append(n,d),t.append(r,S),c||(m=t.listen(o,"click",v),c=!0)},p(f,w){e=f,w&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(o.checked=l)},d(f){f&&t.detach(r),c=!1,m()}}}function U(e){let r;function n(s,p){if(!s[2])return q}let o=n(e),l=o&&o(e);return{c(){r=t.element("div"),l&&l.c()},m(s,p){t.insert(s,r,p),l&&l.m(r,null),e[16](r)},p(s,[p]){o===(o=n(s))&&l?l.p(s,p):(l&&l.d(1),l=o&&o(s),l&&(l.c(),l.m(r,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(r),l&&l.d(),e[16](null)}}}function G(e,r,n){let o;t.component_subscribe(e,t.$format,a=>n(4,o=a));let{lang:l=""}=r,{translationurl:s=""}=r,{clientstyling:p=""}=r,{clientstylingurl:h=""}=r,{categoryid:d=""}=r,{mbsource:S}=r,c,m=!1,v=!0,f="",w="All";V({withLocale:"en",translations:{}});const z=()=>{fetch(s).then(g=>g.json()).then(g=>{Object.keys(g).forEach(b=>{T(b,g[b])})}).catch(g=>{console.log(g)})};Object.keys(j).forEach(a=>{T(a,j[a])});const A={All:o("all"),name:o("az"),isNew:o("newest"),"advancedTags(name(hot))":o("hottest")},F=()=>{var g;n(3,w="All"),n(2,v=!1),n(1,m=!1);let a=(g=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:g[d];a?n(3,w=a):n(3,w="All"),n(3,w=A[a])},N=a=>{n(3,w=a);let g=localStorage.getItem("vendorSortingBy");f=a;for(let b in A)if(A[b]===a){f=b;break}g==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[d]:f})):(g=JSON.parse(g),g[d]=f,localStorage.setItem("vendorSortingBy",JSON.stringify(g))),window.postMessage({type:"ApplySorter",sortBy:f,itemId:d},window.location.href),n(1,m=!m)},O=()=>{n(1,m=!m),window.postMessage({type:"SortingOpened"},window.location.href)},k=a=>{a.data.type=="FilterOpened"&&n(1,m=!1)};t.onMount(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)}));const _=()=>O(),C=a=>N(a);function Z(a){t.binding_callbacks[a?"unshift":"push"](()=>{c=a,n(0,c)})}return e.$$set=a=>{"lang"in a&&n(8,l=a.lang),"translationurl"in a&&n(9,s=a.translationurl),"clientstyling"in a&&n(10,p=a.clientstyling),"clientstylingurl"in a&&n(11,h=a.clientstylingurl),"categoryid"in a&&n(12,d=a.categoryid),"mbsource"in a&&n(13,S=a.mbsource)},e.$$.update=()=>{e.$$.dirty&4096&&d&&F(),e.$$.dirty&1025&&p&&c&&t.setClientStyling(c,p),e.$$.dirty&2049&&h&&c&&t.setClientStylingURL(c,h),e.$$.dirty&8193&&c&&t.setStreamStyling(c,`${S}.Style`),e.$$.dirty&512&&s&&z()},[c,m,v,w,o,A,N,O,l,s,p,h,d,S,_,C,Z]}class R extends t.SvelteComponent{constructor(r){super(),t.init(this,r,G,U,t.safe_not_equal,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12,mbsource:13},J)}get lang(){return this.$$.ctx[8]}set lang(r){this.$$set({lang:r}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(r){this.$$set({translationurl:r}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(r){this.$$set({clientstyling:r}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),t.flush()}get categoryid(){return this.$$.ctx[12]}set categoryid(r){this.$$set({categoryid:r}),t.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(r){this.$$set({mbsource:r}),t.flush()}}t.create_custom_element(R,{lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},mbsource:{}},[],[],!0);exports.default=R;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-3HhwEwWn.cjs");require("../stencil/ui-image-LuWVcxjH.cjs");function le(r,t){e.addMessages(r,t)}function Ae(r){e.$locale.set(r)}const ae={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢",noWinnersMessage:"現在暫時沒有贏家!"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen",noWinnersMessage:"Zurzeit gibt es keine Gewinner!"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Non ci sono vincitori al momento!"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner",noWinnersMessage:"Il n’y a pas de gagnants pour le moment !"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores",noWinnersMessage:"No hay ganadores en este momento."},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε",noWinnersMessage:"Δεν υπάρχουν νικητές αυτή τη στιγμή!"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı",noWinnersMessage:"Şu anda kazanan yok!"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"В данный момент нет победителей!"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat",noWinnersMessage:"Nu există câștigători în acest moment!"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio",noWinnersMessage:"Trenutno nema pobjednika!"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert",noWinnersMessage:"Jelenleg nincsenek nyertesek!"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Obecnie nie ma żadnych zwycięzców!"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Trenutno nema pobednika!"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar",noWinnersMessage:"Não há vencedores no momento!"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano",noWinnersMessage:"No hay ganadores en este momento."},"en-us":{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."}};if(typeof window!="undefined"){let r=function(t){return function(...n){try{return t.apply(this,n)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-DKjMWmUN.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function je(r){e.append_styles(r,"svelte-1x13ubp","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}")}function oe(r,t,n){const i=r.slice();return i[70]=t[n],i}function ce(r,t,n){const i=r.slice();return i[73]=t[n],i}function Ee(r){let t,n,i,l,a,o,d,u,W,j,F,h,p,A,x,z,B,T,k,w=e.ensure_array_like(r[18]),f=[];for(let c=0;c<w.length;c+=1)f[c]=fe(ce(r,w,c));function E(c,_){return c[19]?Re:Oe}let N=E(r),g=N(r);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div");for(let c=0;c<f.length;c+=1)f[c].c();l=e.space(),a=e.element("div"),o=e.element("button"),d=e.svg_element("svg"),u=e.svg_element("path"),j=e.space(),F=e.element("button"),h=e.svg_element("svg"),p=e.svg_element("path"),z=e.space(),g.c(),e.attr(i,"class","WinnerButtonsContainer"),e.attr(u,"style",W=r[13]>=r[12].length?"fill:#F6F6F62E":""),e.attr(u,"id","Path_36"),e.attr(u,"data-name","Path 36"),e.attr(u,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(u,"transform","translate(14.656 0) rotate(90)"),e.attr(u,"fill","#fff"),e.attr(d,"id","Component_46_2"),e.attr(d,"data-name","Component 46 – 2"),e.attr(d,"xmlns","http://www.w3.org/2000/svg"),e.attr(d,"width","15"),e.attr(d,"height","15"),e.attr(d,"viewBox","0 0 16 24.656"),e.attr(o,"class","SliderButton"),e.attr(p,"style",A=r[13]>=r[12].length?"fill:#F6F6F62E":""),e.attr(p,"id","Path_36"),e.attr(p,"data-name","Path 36"),e.attr(p,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(p,"transform","translate(0 24.656) rotate(-90)"),e.attr(p,"fill","#fff"),e.attr(h,"id","Component_46_2"),e.attr(h,"data-name","Component 46 – 2"),e.attr(h,"xmlns","http://www.w3.org/2000/svg"),e.attr(h,"width","15"),e.attr(h,"height","15"),e.attr(h,"viewBox","0 0 16 24.656"),e.attr(F,"class","SliderButton"),e.attr(a,"class",x="ButtonsContainer "+(r[6]=="true"?"ButtonsContainerNone":"")),e.attr(n,"class","WinnersHeader"),e.attr(t,"class",B="CasinoWinners "+(r[14]?"Mobile":""))},m(c,_){e.insert(c,t,_),e.append(t,n),e.append(n,i);for(let m=0;m<f.length;m+=1)f[m]&&f[m].m(i,null);e.append(n,l),e.append(n,a),e.append(a,o),e.append(o,d),e.append(d,u),e.append(a,j),e.append(a,F),e.append(F,h),e.append(h,p),e.append(t,z),g.m(t,null),T||(k=[e.listen(o,"click",r[44]),e.listen(F,"click",r[45])],T=!0)},p(c,_){if(_[0]&6555651){w=e.ensure_array_like(c[18]);let m;for(m=0;m<w.length;m+=1){const M=ce(c,w,m);f[m]?f[m].p(M,_):(f[m]=fe(M),f[m].c(),f[m].m(i,null))}for(;m<f.length;m+=1)f[m].d(1);f.length=w.length}_[0]&12288&&W!==(W=c[13]>=c[12].length?"fill:#F6F6F62E":"")&&e.attr(u,"style",W),_[0]&12288&&A!==(A=c[13]>=c[12].length?"fill:#F6F6F62E":"")&&e.attr(p,"style",A),_[0]&64&&x!==(x="ButtonsContainer "+(c[6]=="true"?"ButtonsContainerNone":""))&&e.attr(a,"class",x),N===(N=E(c))&&g?g.p(c,_):(g.d(1),g=N(c),g&&(g.c(),g.m(t,null))),_[0]&16384&&B!==(B="CasinoWinners "+(c[14]?"Mobile":""))&&e.attr(t,"class",B)},d(c){c&&e.detach(t),e.destroy_each(f,c),g.d(),T=!1,e.run_all(k)}}}function Le(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[4]),e.set_custom_element_data(t,"clientstylingurl",r[5])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&16&&e.set_custom_element_data(t,"clientstyling",n[4]),i[0]&32&&e.set_custom_element_data(t,"clientstylingurl",n[5])},d(n){n&&e.detach(t)}}}function ue(r){let t,n=r[0]==="true"&&de(r);return{c(){n&&n.c(),t=e.empty()},m(i,l){n&&n.m(i,l),e.insert(i,t,l)},p(i,l){i[0]==="true"?n?n.p(i,l):(n=de(i),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(i){i&&e.detach(t),n&&n.d(i)}}}function de(r){let t,n=r[21]("recentWinners")+"",i,l,a,o;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class",l="WinnersButton "+(r[11]=="recent"?"Active":""))},m(d,u){e.insert(d,t,u),e.append(t,i),a||(o=e.listen(t,"click",r[42]),a=!0)},p(d,u){u[0]&2097152&&n!==(n=d[21]("recentWinners")+"")&&e.set_data(i,n),u[0]&2048&&l!==(l="WinnersButton "+(d[11]=="recent"?"Active":""))&&e.attr(t,"class",l)},d(d){d&&e.detach(t),a=!1,o()}}}function me(r){let t,n=r[21]("topWinners")+"",i,l,a,o,d;return{c(){t=e.element("button"),i=e.text(n),l=e.space(),e.attr(t,"class",a="WinnersButton "+(r[11]=="top"?"Active":"")+" "+(r[1]=="false"?"Off":""))},m(u,W){e.insert(u,t,W),e.append(t,i),e.append(t,l),o||(d=e.listen(t,"click",r[43]),o=!0)},p(u,W){W[0]&2097152&&n!==(n=u[21]("topWinners")+"")&&e.set_data(i,n),W[0]&2050&&a!==(a="WinnersButton "+(u[11]=="top"?"Active":"")+" "+(u[1]=="false"?"Off":""))&&e.attr(t,"class",a)},d(u){u&&e.detach(t),o=!1,d()}}}function fe(r){let t,n,i=r[73]=="recent"&&ue(r),l=r[73]=="top"&&me(r);return{c(){i&&i.c(),t=e.space(),l&&l.c(),n=e.empty()},m(a,o){i&&i.m(a,o),e.insert(a,t,o),l&&l.m(a,o),e.insert(a,n,o)},p(a,o){a[73]=="recent"?i?i.p(a,o):(i=ue(a),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),a[73]=="top"?l?l.p(a,o):(l=me(a),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},d(a){a&&(e.detach(t),e.detach(n)),i&&i.d(a),l&&l.d(a)}}}function Oe(r){let t;function n(a,o){return a[12].length!==0?Ge:Pe}let i=n(r),l=i(r);return{c(){t=e.element("div"),l.c(),e.attr(t,"class","WinnersSlider")},m(a,o){e.insert(a,t,o),l.m(t,null),r[48](t)},p(a,o){i===(i=n(a))&&l?l.p(a,o):(l.d(1),l=i(a),l&&(l.c(),l.m(t,null)))},d(a){a&&e.detach(t),l.d(),r[48](null)}}}function Re(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[4]),e.set_custom_element_data(t,"clientstylingurl",r[5]),e.set_custom_element_data(t,"mbsource",r[7])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&16&&e.set_custom_element_data(t,"clientstyling",n[4]),i[0]&32&&e.set_custom_element_data(t,"clientstylingurl",n[5]),i[0]&128&&e.set_custom_element_data(t,"mbsource",n[7])},d(n){n&&e.detach(t)}}}function Pe(r){let t,n=r[21]("noWinnersMessage")+"",i;return{c(){t=e.element("p"),i=e.text(n),e.attr(t,"class","NoWinnersMessage")},m(l,a){e.insert(l,t,a),e.append(t,i)},p(l,a){a[0]&2097152&&n!==(n=l[21]("noWinnersMessage")+"")&&e.set_data(i,n)},d(l){l&&e.detach(t)}}}function Ge(r){let t,n=e.ensure_array_like(r[12]),i=[];for(let l=0;l<n.length;l+=1)i[l]=pe(oe(r,n,l));return{c(){for(let l=0;l<i.length;l+=1)i[l].c();t=e.empty()},m(l,a){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(l,a);e.insert(l,t,a)},p(l,a){if(a[0]&28446988){n=e.ensure_array_like(l[12]);let o;for(o=0;o<n.length;o+=1){const d=oe(l,n,o);i[o]?i[o].p(d,a):(i[o]=pe(d),i[o].c(),i[o].m(t.parentNode,t))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(i,l)}}}function pe(r){let t,n,i,l,a,o,d,u=r[70].gameName+"",W,j,F,h=r[23](r[70].username)+"",p,A,x,z=r[21]("won")+"",B,T,k,w=r[70].specifiedCurrencyAmount.toFixed(2)+"",f,E,N,g=(r[8]?r[3]:r[2])+"",c,_,m,M,b;function v(){return r[46](r[70])}return{c(){var L,C,O,R;t=e.element("div"),n=e.element("div"),i=e.element("ui-image"),o=e.space(),d=e.element("p"),W=e.text(u),j=e.space(),F=e.element("p"),p=e.text(h),A=e.space(),x=e.element("p"),B=e.text(z),T=e.space(),k=e.element("p"),f=e.text(w),E=e.space(),N=e.element("span"),c=e.text(g),_=e.space(),e.src_url_equal(i.src,l=(C=(L=r[70])==null?void 0:L.gameModel)==null?void 0:C.thumbnail)||e.set_custom_element_data(i,"src",l),e.set_custom_element_data(i,"alt",a=(R=(O=r[70])==null?void 0:O.gameModel)==null?void 0:R.thumbnail),e.set_custom_element_data(i,"imgClass","WinnersImage"),e.attr(x,"class","WinnerUsername"),e.attr(n,"class","WinnerCard"),e.attr(t,"class",m="CardWrapper "+(r[17]?"CardWrapperAnimation":""))},m(L,C){e.insert(L,t,C),e.append(t,n),e.append(n,i),e.append(n,o),e.append(n,d),e.append(d,W),e.append(n,j),e.append(n,F),e.append(F,p),e.append(n,A),e.append(n,x),e.append(x,B),e.append(n,T),e.append(n,k),e.append(k,f),e.append(k,E),e.append(k,N),e.append(N,c),e.append(t,_),r[47](t),M||(b=e.listen(i,"click",v),M=!0)},p(L,C){var O,R,S,G;r=L,C[0]&4096&&!e.src_url_equal(i.src,l=(R=(O=r[70])==null?void 0:O.gameModel)==null?void 0:R.thumbnail)&&e.set_custom_element_data(i,"src",l),C[0]&4096&&a!==(a=(G=(S=r[70])==null?void 0:S.gameModel)==null?void 0:G.thumbnail)&&e.set_custom_element_data(i,"alt",a),C[0]&4096&&u!==(u=r[70].gameName+"")&&e.set_data(W,u),C[0]&4096&&h!==(h=r[23](r[70].username)+"")&&e.set_data(p,h),C[0]&2097152&&z!==(z=r[21]("won")+"")&&e.set_data(B,z),C[0]&4096&&w!==(w=r[70].specifiedCurrencyAmount.toFixed(2)+"")&&e.set_data(f,w),C[0]&268&&g!==(g=(r[8]?r[3]:r[2])+"")&&e.set_data(c,g),C[0]&131072&&m!==(m="CardWrapper "+(r[17]?"CardWrapperAnimation":""))&&e.attr(t,"class",m)},d(L){L&&e.detach(t),r[47](null),M=!1,b()}}}function De(r){let t;function n(a,o){return a[15]||a[16]?Le:Ee}let i=n(r),l=i(r);return{c(){t=e.element("div"),l.c()},m(a,o){e.insert(a,t,o),l.m(t,null),r[49](t)},p(a,o){i===(i=n(a))&&l?l.p(a,o):(l.d(1),l=i(a),l&&(l.c(),l.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),l.d(),r[49](null)}}}function Ie(r,t,n){let i;e.component_subscribe(r,e.$format,s=>n(21,i=s));let{endpoint:l=""}=t,{session:a=""}=t,{userid:o=""}=t,{periodrecent:d="Today"}=t,{periodtop:u="Last7Days"}=t,{numberusersrecent:W="20"}=t,{numberuserstop:j="20"}=t,{amountlimit:F="1"}=t,{vendorCategory:h="All"}=t,{lang:p="en"}=t,{isrecentavailable:A="true"}=t,{istopavailable:x="true"}=t,{defaultcurrency:z=""}=t,{usercurrency:B=""}=t,{clientstyling:T=""}=t,{clientstylingurl:k=""}=t,{enableautoscroll:w=""}=t,{tabsorder:f=""}=t,{translationurl:E=""}=t,{winnersdatasources:N=""}=t,{hascustomstyling:g="false"}=t,{mbsource:c}=t,_,m,M=[],b=0,v=0,L=window.navigator.userAgent,C,O,R,S,G=!0,J=!1,X=!1,Y,D,V,I,Q=[],H=!1,U,$=0;const he=()=>{let s=new URL(E);fetch(s.href).then(y=>y.json()).then(y=>{Object.keys(y).forEach(P=>{le(P,y[P])})}).catch(y=>{console.log(y)})};Object.keys(ae).forEach(s=>{le(s,ae[s])});const ee=()=>{Q=N.split(",").map(function(y){return y.trim()});const s=new URL(`${l}/v1/casino/${m}-winners`);n(19,H=!0),s.searchParams.append("limit",m=="recent"?W:j),s.searchParams.append("specifiedCurrency",I),s.searchParams.append("period",m=="recent"?d:u),s.searchParams.append("language",p),s.searchParams.append("amountLimit",F),s.searchParams.append("vendorCategory",h),Q.forEach(y=>{s.searchParams.append("dataSource",y)}),setTimeout(()=>{fetch(s.href).then(y=>y.json()).then(y=>{n(12,M=[]),n(12,M=y.items.map(P=>P)),n(19,H=!1),setTimeout(()=>{We(),ne(),w=="true"&&(clearInterval(D),ye()),n(15,G=!1),_e()},5)})},1e3)},_e=()=>{const s=S.getRootNode().host;s.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:s}}))},K=s=>{m!==s&&(n(12,M=[]),n(11,m=s),ee())},be=s=>s.slice(0,2)+s.slice(2,-2).replace(/./g,"*")+s.slice(-2),te=(s,y,P,q)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:s,launchUrl:y,gameName:P,subVendor:q},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:`${s}`,userId:`${R||"Not logged in"}`})},ne=s=>{const y=[..._.children];Y=y.length,y.forEach((P,q)=>{P.style.transform=`translateX(${100*(s?q-s:q)}%)`}),setTimeout(()=>{n(17,X=!0)},10)},ye=()=>{b=0,v<Y?D=setInterval(()=>{Z()},3e3):clearInterval(D)},re=()=>{ne(b)},We=()=>{$=U.offsetWidth,n(13,v=Math.round(_.offsetWidth/$))},ie=()=>{if(v>=M.length)return;const s=M.length;b===0?b=s-v:b-v<0?b=0:b=b-v,re()},Z=()=>{if(v>=M.length)return;const s=M.length;w=="true"&&(b===s-v?b=0:b++),w=="false"&&(b===s-v?b=0:s-v<b+v?b=s-v:b+=v),re()},we=()=>{Ae(p)},ve=()=>{n(8,O=!0),R=o},se=()=>{n(41,I=O?B:z)},Ce=()=>{g==="true"&&(!T&&!k&&S&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!T&&k&&n(16,J=!0))},ke=()=>{n(18,V=f.split(",")),n(11,m=V[0]),se(),n(15,G=!1)};e.onMount(()=>(n(14,C=e.isMobile(L)),()=>{clearInterval(D)}));const Me=()=>K("recent"),Fe=()=>K("top"),Se=()=>ie(),xe=()=>Z(),Be=s=>te(s.gameId,s.gameModel.launchUrl,s.gameModel.name,s.gameModel.subVendor);function Te(s){e.binding_callbacks[s?"unshift":"push"](()=>{U=s,n(20,U)})}function Ne(s){e.binding_callbacks[s?"unshift":"push"](()=>{_=s,n(10,_)})}function ze(s){e.binding_callbacks[s?"unshift":"push"](()=>{S=s,n(9,S)})}return r.$$set=s=>{"endpoint"in s&&n(27,l=s.endpoint),"session"in s&&n(28,a=s.session),"userid"in s&&n(29,o=s.userid),"periodrecent"in s&&n(30,d=s.periodrecent),"periodtop"in s&&n(31,u=s.periodtop),"numberusersrecent"in s&&n(32,W=s.numberusersrecent),"numberuserstop"in s&&n(33,j=s.numberuserstop),"amountlimit"in s&&n(34,F=s.amountlimit),"vendorCategory"in s&&n(35,h=s.vendorCategory),"lang"in s&&n(36,p=s.lang),"isrecentavailable"in s&&n(0,A=s.isrecentavailable),"istopavailable"in s&&n(1,x=s.istopavailable),"defaultcurrency"in s&&n(2,z=s.defaultcurrency),"usercurrency"in s&&n(3,B=s.usercurrency),"clientstyling"in s&&n(4,T=s.clientstyling),"clientstylingurl"in s&&n(5,k=s.clientstylingurl),"enableautoscroll"in s&&n(6,w=s.enableautoscroll),"tabsorder"in s&&n(37,f=s.tabsorder),"translationurl"in s&&n(38,E=s.translationurl),"winnersdatasources"in s&&n(39,N=s.winnersdatasources),"hascustomstyling"in s&&n(40,g=s.hascustomstyling),"mbsource"in s&&n(7,c=s.mbsource)},r.$$.update=()=>{r.$$.dirty[0]&1073741827|r.$$.dirty[1]&127&&A&&x&&d&&u&&W&&j&&F&&h&&p&&f&&ke(),r.$$.dirty[0]&268435456&&a&&ve(),r.$$.dirty[0]&268&&O&&(B||z)&&se(),r.$$.dirty[0]&134217728|r.$$.dirty[1]&1280&&l&&N&&I&&ee(),r.$$.dirty[1]&32&&p&&we(),r.$$.dirty[1]&128&&E&&he(),r.$$.dirty[1]&512&&g&&Ce(),r.$$.dirty[0]&528&&T&&S&&e.setClientStyling(S,T),r.$$.dirty[0]&544&&k&&S&&e.setClientStylingURL(S,k),r.$$.dirty[0]&640&&S&&e.setStreamStyling(S,`${c}.Style`)},[A,x,z,B,T,k,w,c,O,S,_,m,M,v,C,G,J,X,V,H,U,i,K,be,te,ie,Z,l,a,o,d,u,W,j,F,h,p,f,E,N,g,I,Me,Fe,Se,xe,Be,Te,Ne,ze]}class ge extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Ie,De,e.safe_not_equal,{endpoint:27,session:28,userid:29,periodrecent:30,periodtop:31,numberusersrecent:32,numberuserstop:33,amountlimit:34,vendorCategory:35,lang:36,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:4,clientstylingurl:5,enableautoscroll:6,tabsorder:37,translationurl:38,winnersdatasources:39,hascustomstyling:40,mbsource:7},je,[-1,-1,-1])}get endpoint(){return this.$$.ctx[27]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[28]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[29]}set userid(t){this.$$set({userid:t}),e.flush()}get periodrecent(){return this.$$.ctx[30]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[31]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[32]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[33]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[34]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get vendorCategory(){return this.$$.ctx[35]}set vendorCategory(t){this.$$set({vendorCategory:t}),e.flush()}get lang(){return this.$$.ctx[36]}set lang(t){this.$$set({lang:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(t){this.$$set({usercurrency:t}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[6]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get tabsorder(){return this.$$.ctx[37]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get translationurl(){return this.$$.ctx[38]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[39]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get hascustomstyling(){return this.$$.ctx[40]}set hascustomstyling(t){this.$$set({hascustomstyling:t}),e.flush()}get mbsource(){return this.$$.ctx[7]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(ge,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{},mbsource:{}},[],[],!0);exports.default=ge;