@everymatrix/casino-lobby 1.94.57 → 1.94.59

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 (67) hide show
  1. package/components/{CasinoCalendar-BjySUHyZ.js → CasinoCalendar-CoaTz_jR.js} +3 -3
  2. package/components/{CasinoCalendar-CPSaANk_.cjs → CasinoCalendar-Cp-imCH1.cjs} +1 -1
  3. package/components/{CasinoCalendar-BSSrHXNQ.js → CasinoCalendar-CpaQx7sA.js} +3 -3
  4. package/components/{CasinoCalendarDailyDetails-DhX-usiB.js → CasinoCalendarDailyDetails-Cq0gOl_e.js} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-BoDKzZAL.js → CasinoCalendarDailyDetails-DPsdd4en.js} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-VGdSGrVK.cjs → CasinoCalendarDailyDetails-jlH67T60.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-C3xfp-OS.cjs → CasinoCalendarDailyItem-CfD9-CcH.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-CA5M4JX2.js → CasinoCalendarDailyItem-Cyly6Ir9.js} +1 -1
  9. package/components/{CasinoCalendarDailyItem-CMjiC6kY.js → CasinoCalendarDailyItem-VSzwjWqR.js} +1 -1
  10. package/components/{CasinoCategoriesSlider-DEc0M4Jn.js → CasinoCategoriesSlider-09ZR9FJl.js} +2 -2
  11. package/components/{CasinoCategoriesSlider-BTw-gZW4.cjs → CasinoCategoriesSlider-D6-g9QQ6.cjs} +1 -1
  12. package/components/{CasinoCategoriesSlider-DmIIvJxr.js → CasinoCategoriesSlider-pRUcUYxN.js} +2 -2
  13. package/components/{CasinoCollectionsProviders-CmZnRhGO.js → CasinoCollectionsProviders-BPJ5XdqV.js} +1 -1
  14. package/components/{CasinoCollectionsProviders-BX2V3tDm.cjs → CasinoCollectionsProviders-C_qO0CNL.cjs} +1 -1
  15. package/components/{CasinoCollectionsProviders-Bk2Q_dKh.js → CasinoCollectionsProviders-DbGO_0Zh.js} +1 -1
  16. package/components/{CasinoFavoritesSection-DE_s0gS_.cjs → CasinoFavoritesSection-Bg6d_TfW.cjs} +1 -1
  17. package/components/{CasinoFavoritesSection-NizzPczK.js → CasinoFavoritesSection-CGK-zv4A.js} +2 -2
  18. package/components/{CasinoFavoritesSection-B5IloH92.js → CasinoFavoritesSection-COd3yDuY.js} +2 -2
  19. package/components/{CasinoFilter-CFym68mv.cjs → CasinoFilter-CzyjKfS5.cjs} +1 -1
  20. package/components/{CasinoFilter-UrtcDtAa.js → CasinoFilter-XOd7bayt.js} +1 -1
  21. package/components/{CasinoFilter-C4hPyQNk.js → CasinoFilter-XcOn7zhO.js} +1 -1
  22. package/components/{CasinoGameThumbnail-Cu4ldhfo.js → CasinoGameThumbnail-BsaAFg6n.js} +2 -2
  23. package/components/{CasinoGameThumbnail-Dg2U96dy.cjs → CasinoGameThumbnail-D3tdL4v7.cjs} +1 -1
  24. package/components/{CasinoGameThumbnail-DkOf6fv3.js → CasinoGameThumbnail-Y61tRQJx.js} +2 -2
  25. package/components/{CasinoGamesCategorySection-xB7lSgTz.js → CasinoGamesCategorySection-BDQ1Xucu.js} +4 -4
  26. package/components/{CasinoGamesCategorySection-BMVgv-gE.cjs → CasinoGamesCategorySection-OA_n5yaA.cjs} +2 -2
  27. package/components/{CasinoGamesCategorySection-C6V4Owht.js → CasinoGamesCategorySection-plXXoswJ.js} +4 -4
  28. package/components/{CasinoJackpotBanner-g0vrCtzB.js → CasinoJackpotBanner-BRmfIs-2.js} +1 -1
  29. package/components/{CasinoJackpotBanner-Czp2f53o.js → CasinoJackpotBanner-D5j-xWkO.js} +1 -1
  30. package/components/{CasinoJackpotBanner-Cmi7j_9o.cjs → CasinoJackpotBanner-DJK8xqfn.cjs} +1 -1
  31. package/components/{CasinoLastPlayedSection-BeXbhcJS.js → CasinoLastPlayedSection-BOOdIrXu.js} +2 -2
  32. package/components/{CasinoLastPlayedSection-DIOQytk1.js → CasinoLastPlayedSection-CJxufw1K.js} +2 -2
  33. package/components/{CasinoLastPlayedSection-eVskdQwE.cjs → CasinoLastPlayedSection-CkTxJ6SO.cjs} +1 -1
  34. package/components/{CasinoLobby-CTZObrkO.cjs → CasinoLobby-DIkig4WG.cjs} +1 -1
  35. package/components/{CasinoLobby-DlkT0ycq.js → CasinoLobby-DRjYP2iF.js} +2 -2
  36. package/components/{CasinoLobby-CmAf2BJ4.js → CasinoLobby-DyaYqltG.js} +2 -2
  37. package/components/{CasinoMostPlayedSection-D08L25CV.cjs → CasinoMostPlayedSection-82I7E9ZL.cjs} +1 -1
  38. package/components/{CasinoMostPlayedSection-BdNavRAR.js → CasinoMostPlayedSection-C8XgLZ91.js} +2 -2
  39. package/components/{CasinoMostPlayedSection-CsYfyBz6.js → CasinoMostPlayedSection-Dg-0RPhz.js} +2 -2
  40. package/components/{CasinoMyGames-DquSH-8S.js → CasinoMyGames-BoZehbQx.js} +4 -4
  41. package/components/{CasinoMyGames-BkZPnCAU.cjs → CasinoMyGames-CDvUNXwc.cjs} +1 -1
  42. package/components/{CasinoMyGames-DXHLKn-b.js → CasinoMyGames-PTaJ1yEA.js} +4 -4
  43. package/components/{CasinoPage-BMNjtSeY.js → CasinoPage-B66gbJsn.js} +10 -10
  44. package/components/{CasinoPage-Z_i9BoVq.cjs → CasinoPage-CO_xYgnl.cjs} +1 -1
  45. package/components/{CasinoPage-6DlUJdNB.js → CasinoPage-CTbeMyxv.js} +10 -10
  46. package/components/{CasinoRandomGame-CmSz_YAA.js → CasinoRandomGame-BFf6CAdf.js} +1 -1
  47. package/components/{CasinoRandomGame-sGQ_8-fH.cjs → CasinoRandomGame-CSbnApbA.cjs} +1 -1
  48. package/components/{CasinoRandomGame-CZbhowv3.js → CasinoRandomGame-osKbYiaZ.js} +1 -1
  49. package/components/{CasinoSearch-YX2fRFUd.js → CasinoSearch-Bk1qpBEr.js} +71 -71
  50. package/components/{CasinoSearch-DaPqNPP0.js → CasinoSearch-Bp_fbYTc.js} +71 -71
  51. package/components/{CasinoSearch-DDc1Do7_.cjs → CasinoSearch-CRYZwtHG.cjs} +1 -1
  52. package/components/{CasinoSlider-BtDxtbI7.js → CasinoSlider-DJ_62L1M.js} +1 -1
  53. package/components/{CasinoSlider-Cz1PnHTs.cjs → CasinoSlider-D__0DCfj.cjs} +1 -1
  54. package/components/{CasinoSlider-C2_jk1q5.js → CasinoSlider-tMLSNfLx.js} +1 -1
  55. package/components/{CasinoSort-k10aVq_3.js → CasinoSort-BUG8Ttqf.js} +1 -1
  56. package/components/{CasinoSort-RSvZK7cN.cjs → CasinoSort-Btc3CmAR.cjs} +1 -1
  57. package/components/{CasinoSort-8w8Vz2RT.js → CasinoSort-DaPZ-3lK.js} +1 -1
  58. package/components/{CasinoWinners-CYwfUKUr.js → CasinoWinners-B_vnkkma.js} +2 -2
  59. package/components/{CasinoWinners-BO86kYDi.cjs → CasinoWinners-DCy9pcHz.cjs} +1 -1
  60. package/components/{CasinoWinners-Ck4zkyiP.js → CasinoWinners-tJ3cGXbC.js} +2 -2
  61. package/components/{GeneralAnimationLoading-CULwno4n.js → GeneralAnimationLoading-BOkme8mJ.js} +1 -1
  62. package/components/{GeneralAnimationLoading-BqJ_ozRW.cjs → GeneralAnimationLoading-Cb4rxG4A.cjs} +1 -1
  63. package/components/{GeneralAnimationLoading-XCOgxsu9.js → GeneralAnimationLoading-JswN4ukT.js} +1 -1
  64. package/es2015/casino-lobby.cjs +1 -1
  65. package/es2015/casino-lobby.js +1 -1
  66. package/esnext/casino-lobby.js +1 -1
  67. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { a as Ue, v as Ve, S as Je, i as Ze, s as Ye, f as L, b as Ke, n as ue, d as j, K as Xe, l as f, a2 as he, e as I, p as b, M as U, g as k, C as z, a0 as de, j as ae, h as Qe, o as $e, E as q, F as H, k as me, I as ge, Z as et, D as Le, m as u, q as tt, r as at, t as nt, c as rt, $ as ot } from "./CasinoLobby-DlkT0ycq.js";
2
- import { d as st } from "./CasinoWinners-CYwfUKUr.js";
3
- import "./CasinoGamesCategorySection-xB7lSgTz.js";
1
+ import { a as Ue, v as Ve, S as Je, i as Ze, s as Ye, f as L, b as Ke, n as ue, d as j, K as Xe, l as f, a2 as he, e as I, p as b, M as U, g as R, C as z, a0 as de, j as ae, h as Qe, o as $e, E as q, F as H, k as me, I as ge, Z as et, D as Le, m as u, q as tt, r as at, t as nt, c as rt, $ as ot } from "./CasinoLobby-DRjYP2iF.js";
2
+ import { d as st } from "./CasinoWinners-B_vnkkma.js";
3
+ import "./CasinoGamesCategorySection-BDQ1Xucu.js";
4
4
  function fe(t, e) {
5
5
  Ue(t, e);
6
6
  }
@@ -234,7 +234,7 @@ function _e(t) {
234
234
  ), n, r, l, s;
235
235
  return {
236
236
  c() {
237
- e = k("small"), n = H(a), f(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
237
+ e = R("small"), n = H(a), f(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
238
238
  (t[16] ? "NotVisible" : ""));
239
239
  },
240
240
  m(i, c) {
@@ -282,7 +282,7 @@ function ht(t) {
282
282
  );
283
283
  return {
284
284
  c() {
285
- i && i.c(), e = z(), a = k("div"), c && c.c(), n = z(), m && m.c(), f(a, "class", r = "SearchResultsContainer " + /*searchActive*/
285
+ i && i.c(), e = z(), a = R("div"), c && c.c(), n = z(), m && m.c(), f(a, "class", r = "SearchResultsContainer " + /*searchActive*/
286
286
  (t[17] == !0 ? "" : "NotVisible"));
287
287
  },
288
288
  m(h, g) {
@@ -308,7 +308,7 @@ function dt(t) {
308
308
  ), n;
309
309
  return {
310
310
  c() {
311
- e = k("p"), n = H(a), f(e, "class", "LoadingContent");
311
+ e = R("p"), n = H(a), f(e, "class", "LoadingContent");
312
312
  },
313
313
  m(r, l) {
314
314
  I(r, e, l), b(e, n);
@@ -330,7 +330,7 @@ function mt(t) {
330
330
  ), n;
331
331
  return {
332
332
  c() {
333
- e = k("p"), n = H(a), f(e, "class", "SearchMessage");
333
+ e = R("p"), n = H(a), f(e, "class", "SearchMessage");
334
334
  },
335
335
  m(r, l) {
336
336
  I(r, e, l), b(e, n);
@@ -377,7 +377,7 @@ function we(t) {
377
377
  ), n;
378
378
  return {
379
379
  c() {
380
- e = k("p"), n = H(a), f(e, "class", "SearchMessage");
380
+ e = R("p"), n = H(a), f(e, "class", "SearchMessage");
381
381
  },
382
382
  m(r, l) {
383
383
  I(r, e, l), b(e, n);
@@ -402,7 +402,7 @@ function ve(t) {
402
402
  );
403
403
  return {
404
404
  c() {
405
- e = k("div"), i && i.c(), a = z(), n = k("p"), l = H(r), f(n, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
405
+ e = R("div"), i && i.c(), a = z(), n = R("p"), l = H(r), f(n, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
406
406
  (t[10] == "true" ? "WithIcon" : ""));
407
407
  },
408
408
  m(c, m) {
@@ -425,7 +425,7 @@ function ye(t) {
425
425
  let e;
426
426
  return {
427
427
  c() {
428
- e = k("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");
428
+ 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");
429
429
  },
430
430
  m(a, n) {
431
431
  I(a, e, n);
@@ -476,10 +476,10 @@ function ke(t) {
476
476
  };
477
477
  }
478
478
  function Re(t) {
479
- let e, a, n, r, l, s, i, c, m, h, g, w;
479
+ let e, a, n, r, l, s, i, c, m, h, g, v;
480
480
  return {
481
481
  c() {
482
- e = k("casino-game-thumbnail"), u(
482
+ e = R("casino-game-thumbnail"), u(
483
483
  e,
484
484
  "endpoint",
485
485
  /*endpoint*/
@@ -523,7 +523,7 @@ function Re(t) {
523
523
  t[6]
524
524
  ), u(e, "gamefunmode", h = /*game*/
525
525
  t[55].hasFunMode), u(e, "gamefavorite", g = /*game*/
526
- t[55].isFavorite), u(e, "livelobbyendpoint", w = /*game*/
526
+ t[55].isFavorite), u(e, "livelobbyendpoint", v = /*game*/
527
527
  t[55].details ? (
528
528
  /*game*/
529
529
  t[55].launchUrl
@@ -624,11 +624,11 @@ function Re(t) {
624
624
  d[55].hasFunMode) && u(e, "gamefunmode", h), p[0] & /*searchArray*/
625
625
  8192 && g !== (g = /*game*/
626
626
  d[55].isFavorite) && u(e, "gamefavorite", g), p[0] & /*searchArray*/
627
- 8192 && w !== (w = /*game*/
627
+ 8192 && v !== (v = /*game*/
628
628
  d[55].details ? (
629
629
  /*game*/
630
630
  d[55].launchUrl
631
- ) : "") && u(e, "livelobbyendpoint", w), p[0] & /*integratedgameframedesktop*/
631
+ ) : "") && u(e, "livelobbyendpoint", v), p[0] & /*integratedgameframedesktop*/
632
632
  16 && u(
633
633
  e,
634
634
  "integratedgameframedesktop",
@@ -684,24 +684,24 @@ function Ce(t) {
684
684
  );
685
685
  return {
686
686
  c() {
687
- e = k("div"), g && g.c(), a = z(), n = k("p"), l = H(r), s = z(), i = k("p"), m = H(c), f(n, "class", "SearchMessage"), f(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
687
+ e = R("div"), g && g.c(), a = z(), n = R("p"), l = H(r), s = z(), i = R("p"), m = H(c), f(n, "class", "SearchMessage"), f(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
688
688
  (t[10] == "true" ? "WithIcon" : ""));
689
689
  },
690
- m(w, d) {
691
- I(w, e, d), g && g.m(e, null), b(e, a), b(e, n), b(n, l), b(e, s), b(e, i), b(i, m);
690
+ m(v, d) {
691
+ I(v, e, d), g && g.m(e, null), b(e, a), b(e, n), b(n, l), b(e, s), b(e, i), b(i, m);
692
692
  },
693
- p(w, d) {
693
+ p(v, d) {
694
694
  /*notfoundicon*/
695
- w[10] === "true" ? g || (g = Fe(), g.c(), g.m(e, a)) : g && (g.d(1), g = null), d[0] & /*$_*/
695
+ v[10] === "true" ? g || (g = Fe(), g.c(), g.m(e, a)) : g && (g.d(1), g = null), d[0] & /*$_*/
696
696
  2097152 && r !== (r = /*$_*/
697
- w[21]("notFound") + "") && q(l, r), d[0] & /*$_*/
697
+ v[21]("notFound") + "") && q(l, r), d[0] & /*$_*/
698
698
  2097152 && c !== (c = /*$_*/
699
- w[21]("notFoundText") + "") && q(m, c), d[0] & /*notfoundicon*/
699
+ v[21]("notFoundText") + "") && q(m, c), d[0] & /*notfoundicon*/
700
700
  1024 && h !== (h = "ResultsContainerError " + /*notfoundicon*/
701
- (w[10] == "true" ? "WithIcon" : "")) && f(e, "class", h);
701
+ (v[10] == "true" ? "WithIcon" : "")) && f(e, "class", h);
702
702
  },
703
- d(w) {
704
- w && j(e), g && g.d();
703
+ d(v) {
704
+ v && j(e), g && g.d();
705
705
  }
706
706
  };
707
707
  }
@@ -709,7 +709,7 @@ function Fe(t) {
709
709
  let e;
710
710
  return {
711
711
  c() {
712
- e = k("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");
712
+ 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");
713
713
  },
714
714
  m(a, n) {
715
715
  I(a, e, n);
@@ -720,7 +720,7 @@ function Fe(t) {
720
720
  };
721
721
  }
722
722
  function ft(t) {
723
- let e, a, n, r, l, s, i, c, m, h, g, w, d, p, B, N, x, J, A, W, v = (
723
+ let e, a, n, r, l, s, i, c, m, h, g, v, d, p, B, N, x, J, A, W, y = (
724
724
  /*cancelbutton*/
725
725
  t[9] === "true" && _e(t)
726
726
  );
@@ -730,11 +730,11 @@ function ft(t) {
730
730
  _[18] ? dt : ht
731
731
  );
732
732
  }
733
- let M = G(t), R = M(t);
733
+ let M = G(t), C = M(t);
734
734
  return {
735
735
  c() {
736
- e = k("div"), a = k("div"), n = k("div"), r = k("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 = z(), s = k("input"), c = z(), m = k("span"), h = de("svg"), g = de("path"), d = z(), v && v.c(), B = z(), N = k("div"), J = z(), R.c(), f(r, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
737
- t[21]("placeHolderSearchGames")), f(s, "maxlength", pt), f(g, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), f(g, "stroke", "#717171"), f(g, "stroke-width", "2"), f(g, "stroke-linecap", "round"), f(g, "stroke-linejoin", "round"), f(h, "width", "11"), f(h, "height", "11"), f(h, "fill", "none"), f(h, "xmlns", "http://www.w3.org/2000/svg"), f(m, "class", w = "SearchClearButton " + /*cancelbutton*/
736
+ e = R("div"), a = 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 = z(), s = R("input"), c = z(), m = R("span"), h = de("svg"), g = de("path"), d = z(), y && y.c(), B = z(), N = R("div"), J = z(), C.c(), f(r, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
737
+ t[21]("placeHolderSearchGames")), f(s, "maxlength", pt), f(g, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), f(g, "stroke", "#717171"), f(g, "stroke-width", "2"), f(g, "stroke-linecap", "round"), f(g, "stroke-linejoin", "round"), f(h, "width", "11"), f(h, "height", "11"), f(h, "fill", "none"), f(h, "xmlns", "http://www.w3.org/2000/svg"), f(m, "class", v = "SearchClearButton " + /*cancelbutton*/
738
738
  (t[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
739
739
  (t[14].length != 0 ? "" : "NotVisible")), f(n, "class", p = "Search " + /*searchCancelled*/
740
740
  (t[16] ? "" : "SearchAnimation")), f(a, "class", "SearchWrap"), f(N, "class", x = /*cancelbutton*/
@@ -748,7 +748,7 @@ function ft(t) {
748
748
  s,
749
749
  /*searchValue*/
750
750
  t[14]
751
- ), t[35](s), b(n, c), b(n, m), b(m, h), b(h, g), b(n, d), v && v.m(n, null), b(e, B), b(e, N), b(e, J), R.m(e, null), t[38](e), A || (W = [
751
+ ), t[35](s), b(n, c), b(n, m), b(m, h), b(h, g), b(n, d), y && y.m(n, null), b(e, B), b(e, N), b(e, J), C.m(e, null), t[38](e), A || (W = [
752
752
  U(
753
753
  s,
754
754
  "input",
@@ -791,19 +791,19 @@ function ft(t) {
791
791
  /*searchValue*/
792
792
  _[14]
793
793
  ), T[0] & /*cancelbutton, searchValue*/
794
- 16896 && w !== (w = "SearchClearButton " + /*cancelbutton*/
794
+ 16896 && v !== (v = "SearchClearButton " + /*cancelbutton*/
795
795
  (_[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
796
- (_[14].length != 0 ? "" : "NotVisible")) && f(m, "class", w), /*cancelbutton*/
797
- _[9] === "true" ? v ? v.p(_, T) : (v = _e(_), v.c(), v.m(n, null)) : v && (v.d(1), v = null), T[0] & /*searchCancelled*/
796
+ (_[14].length != 0 ? "" : "NotVisible")) && f(m, "class", v), /*cancelbutton*/
797
+ _[9] === "true" ? y ? y.p(_, T) : (y = _e(_), y.c(), y.m(n, null)) : y && (y.d(1), y = null), T[0] & /*searchCancelled*/
798
798
  65536 && p !== (p = "Search " + /*searchCancelled*/
799
799
  (_[16] ? "" : "SearchAnimation")) && f(n, "class", p), T[0] & /*cancelbutton*/
800
800
  512 && x !== (x = /*cancelbutton*/
801
- _[9] != "true" ? "OverlayCancel" : "") && f(N, "class", x), M === (M = G(_)) && R ? R.p(_, T) : (R.d(1), R = M(_), R && (R.c(), R.m(e, null)));
801
+ _[9] != "true" ? "OverlayCancel" : "") && f(N, "class", x), M === (M = G(_)) && C ? C.p(_, T) : (C.d(1), C = M(_), C && (C.c(), C.m(e, null)));
802
802
  },
803
803
  i: ue,
804
804
  o: ue,
805
805
  d(_) {
806
- _ && j(e), t[35](null), v && v.d(), R.d(), t[38](null), A = !1, Xe(W);
806
+ _ && j(e), t[35](null), y && y.d(), C.d(), t[38](null), A = !1, Xe(W);
807
807
  }
808
808
  };
809
809
  }
@@ -811,11 +811,11 @@ let pt = 50;
811
811
  function St(t, e, a) {
812
812
  let n;
813
813
  Qe(t, ot, (o) => a(21, n = o));
814
- 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: B = "" } = e, { showfavorites: N = "" } = e, { cancelbutton: x = "true" } = e, { notfoundicon: J = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], G = [], M = {}, R = "", _, T = !0, Z = !1, E = !1, P, K = !1, X, Q, re = [], Te;
814
+ 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: v = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: B = "" } = e, { showfavorites: N = "" } = e, { cancelbutton: x = "true" } = e, { notfoundicon: J = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, y = [], G = [], M = {}, C = "", _, T = !0, Z = !1, E = !1, P, K = !1, X, Q, re = [], Te;
815
815
  const je = () => {
816
816
  fetch(B).then((S) => S.json()).then((S) => {
817
- Object.keys(S).forEach((y) => {
818
- fe(y, S[y]);
817
+ Object.keys(S).forEach((k) => {
818
+ fe(k, S[k]);
819
819
  });
820
820
  }).catch((S) => {
821
821
  console.log(S);
@@ -827,20 +827,20 @@ function St(t, e, a) {
827
827
  const oe = (o) => {
828
828
  o.data && o.data.type == "SearchedItemClicked" && Pe(o.data.gameId), o.data.type == "UserSessionID" && (a(19, X = o.data.session), a(20, Q = o.data.userid), a(33, K = !0)), o.data.type == "CategoryChange" && $();
829
829
  }, se = () => {
830
- if (a(16, T = !1), a(17, Z = !0), r && l && c && R.length < 2) {
831
- a(13, v = []);
830
+ if (a(16, T = !1), a(17, Z = !0), r && l && c && C.length < 2) {
831
+ a(13, y = []);
832
832
  let o = localStorage.getItem("searchedGamesWds_casino"), S = [];
833
833
  o && (S = o.split(","));
834
- let y = [], C = 0, F = S.length;
834
+ let k = [], w = 0, F = S.length;
835
835
  if (F > 0) {
836
- for (C = 0; C < F; C++) {
837
- let D = new URL(`${r}/v1/casino/games/${S[C]}`);
838
- D.searchParams.append("language", c), D.searchParams.append("datasource", l), D.searchParams.append("platform", ae(W)), y.push(Ge(D, S[C]));
836
+ for (w = 0; w < F; w++) {
837
+ let D = new URL(`${r}/v1/casino/games/${S[w]}`);
838
+ D.searchParams.append("language", c), D.searchParams.append("datasource", l), D.searchParams.append("platform", ae(W)), k.push(Ge(D, S[w]));
839
839
  }
840
- Promise.all(y).then((D) => {
840
+ Promise.all(k).then((D) => {
841
841
  D = D.filter(function(O) {
842
842
  return !!O;
843
- }), a(13, v = D.map((O) => (O.isFavorite = le(O.id), O))), v.length ? Y("searchSuccess", "SearchWidget") : Y("searchFail", "SearchWidget");
843
+ }), a(13, y = D.map((O) => (O.isFavorite = le(O.id), O))), y.length ? Y("searchSuccess", "SearchWidget") : Y("searchFail", "SearchWidget");
844
844
  }).catch((D) => {
845
845
  Y("searchError", "SearchWidget");
846
846
  });
@@ -851,17 +851,17 @@ function St(t, e, a) {
851
851
  typeof gtag == "function" && gtag("event", o, { context: S });
852
852
  }, Ie = () => {
853
853
  x != "true" && $();
854
- }, De = (o) => new Promise((S, y) => {
855
- a(18, E = !0), fetch(o.href).then((C) => C.json()).then((C) => {
856
- a(18, E = !1), S(C);
857
- }).catch((C) => {
858
- a(18, E = !1), console.error(C), y(C);
854
+ }, De = (o) => new Promise((S, k) => {
855
+ a(18, E = !0), fetch(o.href).then((w) => w.json()).then((w) => {
856
+ a(18, E = !1), S(w);
857
+ }).catch((w) => {
858
+ a(18, E = !1), console.error(w), k(w);
859
859
  });
860
- }), Ge = (o, S) => new Promise((y, C) => {
861
- a(18, E = !0), S && Object.keys(M).indexOf(S) >= 0 ? (a(18, E = !1), y(M[S])) : fetch(o).then((F) => F.json()).then((F) => {
862
- a(18, E = !1), F.error || (M[F[0].gameId] = F[0]), y(F[0]);
860
+ }), Ge = (o, S) => new Promise((k, w) => {
861
+ a(18, E = !0), S && Object.keys(M).indexOf(S) >= 0 ? (a(18, E = !1), k(M[S])) : fetch(o).then((F) => F.json()).then((F) => {
862
+ a(18, E = !1), F.error || (M[F[0].gameId] = F[0]), k(F[0]);
863
863
  }).catch((F) => {
864
- a(18, E = !1), console.error(F), C(F);
864
+ a(18, E = !1), console.error(F), w(F);
865
865
  });
866
866
  }), Ee = () => {
867
867
  const o = new URL(`${r}/v1/player/${Q}/favorites/`);
@@ -870,19 +870,19 @@ function St(t, e, a) {
870
870
  method: "GET",
871
871
  headers: { "X-SessionID": X }
872
872
  };
873
- fetch(o.href, S).then((y) => y.json()).then((y) => {
874
- a(18, E = !1), re = y.items.map((C) => C.id);
873
+ fetch(o.href, S).then((k) => k.json()).then((k) => {
874
+ a(18, E = !1), re = k.items.map((w) => w.id);
875
875
  });
876
876
  }, ze = () => {
877
877
  a(33, K = !0), a(19, X = s), a(20, Q = i);
878
878
  }, le = (o) => re.findIndex((S) => S == o) !== -1, Ne = (o) => {
879
879
  if (o?.length === 0)
880
880
  return "";
881
- let S, y = 99999999999, C;
881
+ let S, k = 99999999999, w;
882
882
  const F = new Date(Date.now());
883
883
  return o.forEach((D, O) => {
884
884
  const We = new Date(D.schedules[0].startTime), te = new Date(D.schedules[0].endTime);
885
- Se(new Date(te), new Date(F)) < y && (y = Se(new Date(te), new Date(F)), C = O), it(new Date(F), new Date(We)) && ct(new Date(F), new Date(te)) && (S = o[C].name);
885
+ Se(new Date(te), new Date(F)) < k && (k = Se(new Date(te), new Date(F)), w = O), it(new Date(F), new Date(We)) && ct(new Date(F), new Date(te)) && (S = o[w].name);
886
886
  }), S;
887
887
  }, Pe = (o) => {
888
888
  if (G = localStorage.getItem("searchedGamesWds_casino"), G ? G = G.split(",") : G = [], G.indexOf(o) === -1) {
@@ -890,9 +890,9 @@ function St(t, e, a) {
890
890
  G.unshift(o), S = G.join(","), localStorage.setItem("searchedGamesWds_casino", S);
891
891
  }
892
892
  }, $ = () => {
893
- a(14, R = ""), a(16, T = !0), a(18, E = !1), a(13, v = []), a(17, Z = !1), ce(Z);
893
+ a(14, C = ""), a(16, T = !0), a(18, E = !1), a(13, y = []), a(17, Z = !1), ce(Z);
894
894
  }, ie = () => {
895
- a(14, R = ""), _.focus();
895
+ a(14, C = ""), _.focus();
896
896
  }, ce = (o) => {
897
897
  window.postMessage(
898
898
  {
@@ -904,10 +904,10 @@ function St(t, e, a) {
904
904
  }, xe = () => {
905
905
  lt(c);
906
906
  }, Me = st(async () => {
907
- if (R.length >= 2) {
908
- const o = new URL(`${r}/v1/casino/games`);
909
- o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", ae(W)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", `name=${R}`), De(o).then((S) => {
910
- a(13, v = S.items.map((y) => (y.isFavorite = le(y.id), y)));
907
+ if (C.length >= 2) {
908
+ const o = new URL(`${r}/v1/casino/games`), S = C.trim().split(/[\s,.]+/).filter(Boolean);
909
+ o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", ae(W)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", S.map((k) => `name=${k}`).join(",")), De(o).then((k) => {
910
+ a(13, y = k.items.map((w) => (w.isFavorite = le(w.id), w)));
911
911
  });
912
912
  } else
913
913
  T || se();
@@ -916,7 +916,7 @@ function St(t, e, a) {
916
916
  window.removeEventListener("message", oe);
917
917
  }));
918
918
  function Be() {
919
- R = this.value, a(14, R);
919
+ C = this.value, a(14, C);
920
920
  }
921
921
  function Ae(o) {
922
922
  me[o ? "unshift" : "push"](() => {
@@ -930,7 +930,7 @@ function St(t, e, a) {
930
930
  });
931
931
  }
932
932
  return t.$$set = (o) => {
933
- "endpoint" in o && a(0, r = o.endpoint), "datasource" in o && a(29, l = o.datasource), "session" in o && a(30, s = o.session), "userid" in o && a(31, i = o.userid), "lang" in o && a(1, c = o.lang), "clientstyling" in o && a(2, m = o.clientstyling), "clientstylingurl" in o && a(3, h = o.clientstylingurl), "integratedgameframedesktop" in o && a(4, g = o.integratedgameframedesktop), "integratedgameframemobile" in o && a(5, w = o.integratedgameframemobile), "showgamename" in o && a(6, d = o.showgamename), "gamepagemodalurl" in o && a(7, p = o.gamepagemodalurl), "translationurl" in o && a(32, B = o.translationurl), "showfavorites" in o && a(8, N = o.showfavorites), "cancelbutton" in o && a(9, x = o.cancelbutton), "notfoundicon" in o && a(10, J = o.notfoundicon), "mbsource" in o && a(11, A = o.mbsource);
933
+ "endpoint" in o && a(0, r = o.endpoint), "datasource" in o && a(29, l = o.datasource), "session" in o && a(30, s = o.session), "userid" in o && a(31, i = o.userid), "lang" in o && a(1, c = o.lang), "clientstyling" in o && a(2, m = o.clientstyling), "clientstylingurl" in o && a(3, h = o.clientstylingurl), "integratedgameframedesktop" in o && a(4, g = o.integratedgameframedesktop), "integratedgameframemobile" in o && a(5, v = o.integratedgameframemobile), "showgamename" in o && a(6, d = o.showgamename), "gamepagemodalurl" in o && a(7, p = o.gamepagemodalurl), "translationurl" in o && a(32, B = o.translationurl), "showfavorites" in o && a(8, N = o.showfavorites), "cancelbutton" in o && a(9, x = o.cancelbutton), "notfoundicon" in o && a(10, J = o.notfoundicon), "mbsource" in o && a(11, A = o.mbsource);
934
934
  }, t.$$.update = () => {
935
935
  t.$$.dirty[0] & /*lang*/
936
936
  2 && c && xe(), t.$$.dirty[1] & /*translationurl*/
@@ -948,7 +948,7 @@ function St(t, e, a) {
948
948
  m,
949
949
  h,
950
950
  g,
951
- w,
951
+ v,
952
952
  d,
953
953
  p,
954
954
  N,
@@ -956,8 +956,8 @@ function St(t, e, a) {
956
956
  J,
957
957
  A,
958
958
  P,
959
- v,
960
- R,
959
+ y,
960
+ C,
961
961
  _,
962
962
  T,
963
963
  Z,
@@ -1 +1 @@
1
- "use strict";var $=(a,t,n)=>new Promise((r,o)=>{var i=u=>{try{c(n.next(u))}catch(h){o(h)}},l=u=>{try{c(n.throw(u))}catch(h){o(h)}},c=u=>u.done?r(u.value):Promise.resolve(u.value).then(i,l);c((n=n.apply(a,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoLobby-CTZObrkO.cjs"),De=require("./CasinoWinners-BO86kYDi.cjs");require("./CasinoGamesCategorySection-BMVgv-gE.cjs");function ee(a,t){e.addMessages(a,t)}function Ge(a){e.$locale.set(a)}const te={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Son arama",loading:"Yükleniyor, lütfen bekleyin...",searchResult:"Arama sonucu",cancel:"İptal",notFound:"Oyun bulunamadı!",notFoundText:"Oynamaya başlamak için lütfen oyunun doğru adını yazın.",noRecentSearches:"Henüz son arama yok. Oyunlarımızdan herhangi birini arayın.",placeHolderSearchGames:"Oyun ara ..."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",placeHolderSearchGames:"Pesquisar jogos",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"es-mx":{recentSearch:"Búsqueda reciente",loading:"Cargando, por favor espera",searchResult:"Resultado de la búsqueda",placeHolderSearchGames:"Buscar juegos",cancel:"Cancelar",notFound:"¡Juego no encontrado!",notFoundText:"Por favor, escribe el nombre correcto del juego para comenzar a jugar.",noRecentSearches:"Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."},"pt-br":{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Buscar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."},"en-us":{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}};function V(a){"@babel/helpers - typeof";return V=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},V(a)}function H(a,t){if(t.length<a)throw new TypeError(a+" argument"+(a>1?"s":"")+" required, but only "+t.length+" present")}function P(a){H(1,arguments);var t=Object.prototype.toString.call(a);return a instanceof Date||V(a)==="object"&&t==="[object Date]"?new Date(a.getTime()):typeof a=="number"||t==="[object Number]"?new Date(a):((typeof a=="string"||t==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function ae(a,t){return H(2,arguments),P(a).getTime()-P(t).getTime()}function ze(a,t){H(2,arguments);var n=P(a),r=P(t);return n.getTime()>r.getTime()}function Ee(a,t){H(2,arguments);var n=P(a),r=P(t);return n.getTime()<r.getTime()}function Ne(a){e.append_styles(a,"svelte-nijkoq","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:10px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;padding-right:28px}.SearchInput::placeholder{color:var(--emw--color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emw--color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail-nd{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:10px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}")}function ne(a,t,n){const r=a.slice();return r[55]=t[n],r}function re(a){let t,n=a[21]("cancel")+"",r,o,i,l;return{c(){t=e.element("small"),r=e.text(n),e.attr(t,"class",o="SearchCancelButton "+(a[16]?"NotVisible":""))},m(c,u){e.insert(c,t,u),e.append(t,r),i||(l=e.listen(t,"click",a[37]),i=!0)},p(c,u){u[0]&2097152&&n!==(n=c[21]("cancel")+"")&&e.set_data(r,n),u[0]&65536&&o!==(o="SearchCancelButton "+(c[16]?"NotVisible":""))&&e.attr(t,"class",o)},d(c){c&&e.detach(t),i=!1,l()}}}function Pe(a){let t,n,r,o;function i(d,f){if(d[17]==!0&&d[14].length<2)return Be;if(d[13].length!=0)return Me}let l=i(a),c=l&&l(a),u=a[16]===!1&&ie(a),h=a[14].length>=2&&a[13].length==0&&ue(a);return{c(){c&&c.c(),t=e.space(),n=e.element("div"),u&&u.c(),r=e.space(),h&&h.c(),e.attr(n,"class",o="SearchResultsContainer "+(a[17]==!0?"":"NotVisible"))},m(d,f){c&&c.m(d,f),e.insert(d,t,f),e.insert(d,n,f),u&&u.m(n,null),e.append(n,r),h&&h.m(n,null)},p(d,f){l===(l=i(d))&&c?c.p(d,f):(c&&c.d(1),c=l&&l(d),c&&(c.c(),c.m(t.parentNode,t))),d[16]===!1?u?u.p(d,f):(u=ie(d),u.c(),u.m(n,r)):u&&(u.d(1),u=null),d[14].length>=2&&d[13].length==0?h?h.p(d,f):(h=ue(d),h.c(),h.m(n,null)):h&&(h.d(1),h=null),f[0]&131072&&o!==(o="SearchResultsContainer "+(d[17]==!0?"":"NotVisible"))&&e.attr(n,"class",o)},d(d){d&&(e.detach(t),e.detach(n)),c&&c.d(d),u&&u.d(),h&&h.d()}}}function xe(a){let t,n=a[21]("loading")+"",r;return{c(){t=e.element("p"),r=e.text(n),e.attr(t,"class","LoadingContent")},m(o,i){e.insert(o,t,i),e.append(t,r)},p(o,i){i[0]&2097152&&n!==(n=o[21]("loading")+"")&&e.set_data(r,n)},d(o){o&&e.detach(t)}}}function Me(a){let t,n=a[21]("searchResult")+"",r;return{c(){t=e.element("p"),r=e.text(n),e.attr(t,"class","SearchMessage")},m(o,i){e.insert(o,t,i),e.append(t,r)},p(o,i){i[0]&2097152&&n!==(n=o[21]("searchResult")+"")&&e.set_data(r,n)},d(o){o&&e.detach(t)}}}function Be(a){let t,n,r=a[13].length!==0&&oe(a),o=a[13].length==0&&se(a);return{c(){r&&r.c(),t=e.space(),o&&o.c(),n=e.empty()},m(i,l){r&&r.m(i,l),e.insert(i,t,l),o&&o.m(i,l),e.insert(i,n,l)},p(i,l){i[13].length!==0?r?r.p(i,l):(r=oe(i),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),i[13].length==0?o?o.p(i,l):(o=se(i),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},d(i){i&&(e.detach(t),e.detach(n)),r&&r.d(i),o&&o.d(i)}}}function oe(a){let t,n=a[21]("recentSearch")+"",r;return{c(){t=e.element("p"),r=e.text(n),e.attr(t,"class","SearchMessage")},m(o,i){e.insert(o,t,i),e.append(t,r)},p(o,i){i[0]&2097152&&n!==(n=o[21]("recentSearch")+"")&&e.set_data(r,n)},d(o){o&&e.detach(t)}}}function se(a){let t,n,r,o=a[21]("noRecentSearches")+"",i,l,c=a[10]==="true"&&le();return{c(){t=e.element("div"),c&&c.c(),n=e.space(),r=e.element("p"),i=e.text(o),e.attr(r,"class","SearchMessage"),e.attr(t,"class",l="ResultsContainerError "+(a[10]=="true"?"WithIcon":""))},m(u,h){e.insert(u,t,h),c&&c.m(t,null),e.append(t,n),e.append(t,r),e.append(r,i)},p(u,h){u[10]==="true"?c||(c=le(),c.c(),c.m(t,n)):c&&(c.d(1),c=null),h[0]&2097152&&o!==(o=u[21]("noRecentSearches")+"")&&e.set_data(i,o),h[0]&1024&&l!==(l="ResultsContainerError "+(u[10]=="true"?"WithIcon":""))&&e.attr(t,"class",l)},d(u){u&&e.detach(t),c&&c.d()}}}function le(a){let t;return{c(){t=e.element("div"),t.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>',e.attr(t,"class","SearchErrorIcon")},m(n,r){e.insert(n,t,r)},d(n){n&&e.detach(t)}}}function ie(a){let t,n=e.ensure_array_like(a[13]),r=[];for(let o=0;o<n.length;o+=1)r[o]=ce(ne(a,n,o));return{c(){for(let o=0;o<r.length;o+=1)r[o].c();t=e.empty()},m(o,i){for(let l=0;l<r.length;l+=1)r[l]&&r[l].m(o,i);e.insert(o,t,i)},p(o,i){if(i[0]&35138047){n=e.ensure_array_like(o[13]);let l;for(l=0;l<n.length;l+=1){const c=ne(o,n,l);r[l]?r[l].p(c,i):(r[l]=ce(c),r[l].c(),r[l].m(t.parentNode,t))}for(;l<r.length;l+=1)r[l].d(1);r.length=n.length}},d(o){o&&e.detach(t),e.destroy_each(r,o)}}}function ce(a){let t,n,r,o,i,l,c,u,h,d,f,S;return{c(){var m;t=e.element("casino-game-thumbnail"),e.set_custom_element_data(t,"endpoint",a[0]),e.set_custom_element_data(t,"session",a[19]),e.set_custom_element_data(t,"userid",a[20]),e.set_custom_element_data(t,"favorites",a[8]),e.set_custom_element_data(t,"lang",a[1]),e.set_custom_element_data(t,"gamethumbnail",n=a[55].thumbnail),e.set_custom_element_data(t,"gamename",r=a[55].name),e.set_custom_element_data(t,"gamevendor",o=a[55].vendor.displayName),e.set_custom_element_data(t,"gameLaunchUrl",i=a[55].launchUrl),e.set_custom_element_data(t,"gameisnew",l=a[55].isNew),e.set_custom_element_data(t,"gametag",c=((m=a[55].advancedTags)==null?void 0:m.length)>0&&a[25](a[55].advancedTags)),e.set_custom_element_data(t,"gamecellsize",u=a[55].cellSize),e.set_custom_element_data(t,"gameid",h=a[55].id),e.set_custom_element_data(t,"showgamename",a[6]),e.set_custom_element_data(t,"gamefunmode",d=a[55].hasFunMode),e.set_custom_element_data(t,"gamefavorite",f=a[55].isFavorite),e.set_custom_element_data(t,"livelobbyendpoint",S=a[55].details?a[55].launchUrl:""),e.set_custom_element_data(t,"integratedgameframedesktop",a[4]),e.set_custom_element_data(t,"mbsource",a[11]),e.set_custom_element_data(t,"integratedgameframemobile",a[5]),e.set_custom_element_data(t,"clientstyling",a[2]),e.set_custom_element_data(t,"clientstylingurl",a[3]),e.set_custom_element_data(t,"gamepagemodalurl",a[7])},m(m,g){e.insert(m,t,g)},p(m,g){var T;g[0]&1&&e.set_custom_element_data(t,"endpoint",m[0]),g[0]&524288&&e.set_custom_element_data(t,"session",m[19]),g[0]&1048576&&e.set_custom_element_data(t,"userid",m[20]),g[0]&256&&e.set_custom_element_data(t,"favorites",m[8]),g[0]&2&&e.set_custom_element_data(t,"lang",m[1]),g[0]&8192&&n!==(n=m[55].thumbnail)&&e.set_custom_element_data(t,"gamethumbnail",n),g[0]&8192&&r!==(r=m[55].name)&&e.set_custom_element_data(t,"gamename",r),g[0]&8192&&o!==(o=m[55].vendor.displayName)&&e.set_custom_element_data(t,"gamevendor",o),g[0]&8192&&i!==(i=m[55].launchUrl)&&e.set_custom_element_data(t,"gameLaunchUrl",i),g[0]&8192&&l!==(l=m[55].isNew)&&e.set_custom_element_data(t,"gameisnew",l),g[0]&8192&&c!==(c=((T=m[55].advancedTags)==null?void 0:T.length)>0&&m[25](m[55].advancedTags))&&e.set_custom_element_data(t,"gametag",c),g[0]&8192&&u!==(u=m[55].cellSize)&&e.set_custom_element_data(t,"gamecellsize",u),g[0]&8192&&h!==(h=m[55].id)&&e.set_custom_element_data(t,"gameid",h),g[0]&64&&e.set_custom_element_data(t,"showgamename",m[6]),g[0]&8192&&d!==(d=m[55].hasFunMode)&&e.set_custom_element_data(t,"gamefunmode",d),g[0]&8192&&f!==(f=m[55].isFavorite)&&e.set_custom_element_data(t,"gamefavorite",f),g[0]&8192&&S!==(S=m[55].details?m[55].launchUrl:"")&&e.set_custom_element_data(t,"livelobbyendpoint",S),g[0]&16&&e.set_custom_element_data(t,"integratedgameframedesktop",m[4]),g[0]&2048&&e.set_custom_element_data(t,"mbsource",m[11]),g[0]&32&&e.set_custom_element_data(t,"integratedgameframemobile",m[5]),g[0]&4&&e.set_custom_element_data(t,"clientstyling",m[2]),g[0]&8&&e.set_custom_element_data(t,"clientstylingurl",m[3]),g[0]&128&&e.set_custom_element_data(t,"gamepagemodalurl",m[7])},d(m){m&&e.detach(t)}}}function ue(a){let t,n,r,o=a[21]("notFound")+"",i,l,c,u=a[21]("notFoundText")+"",h,d,f=a[10]==="true"&&de();return{c(){t=e.element("div"),f&&f.c(),n=e.space(),r=e.element("p"),i=e.text(o),l=e.space(),c=e.element("p"),h=e.text(u),e.attr(r,"class","SearchMessage"),e.attr(t,"class",d="ResultsContainerError "+(a[10]=="true"?"WithIcon":""))},m(S,m){e.insert(S,t,m),f&&f.m(t,null),e.append(t,n),e.append(t,r),e.append(r,i),e.append(t,l),e.append(t,c),e.append(c,h)},p(S,m){S[10]==="true"?f||(f=de(),f.c(),f.m(t,n)):f&&(f.d(1),f=null),m[0]&2097152&&o!==(o=S[21]("notFound")+"")&&e.set_data(i,o),m[0]&2097152&&u!==(u=S[21]("notFoundText")+"")&&e.set_data(h,u),m[0]&1024&&d!==(d="ResultsContainerError "+(S[10]=="true"?"WithIcon":""))&&e.attr(t,"class",d)},d(S){S&&e.detach(t),f&&f.d()}}}function de(a){let t;return{c(){t=e.element("div"),t.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>',e.attr(t,"class","SearchErrorIcon")},m(n,r){e.insert(n,t,r)},d(n){n&&e.detach(t)}}}function qe(a){let t,n,r,o,i,l,c,u,h,d,f,S,m,g,T,j,D,x,z,N,b=a[9]==="true"&&re(a);function F(_,C){return _[18]?xe:Pe}let G=F(a),v=G(a);return{c(){t=e.element("div"),n=e.element("div"),r=e.element("div"),o=e.element("div"),o.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>',i=e.space(),l=e.element("input"),u=e.space(),h=e.element("span"),d=e.svg_element("svg"),f=e.svg_element("path"),m=e.space(),b&&b.c(),T=e.space(),j=e.element("div"),x=e.space(),v.c(),e.attr(o,"class","SearchIcon"),e.attr(l,"class","SearchInput"),e.attr(l,"type","search"),e.attr(l,"placeholder",c=a[21]("placeHolderSearchGames")),e.attr(l,"maxlength",Ae),e.attr(f,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),e.attr(f,"stroke","#717171"),e.attr(f,"stroke-width","2"),e.attr(f,"stroke-linecap","round"),e.attr(f,"stroke-linejoin","round"),e.attr(d,"width","11"),e.attr(d,"height","11"),e.attr(d,"fill","none"),e.attr(d,"xmlns","http://www.w3.org/2000/svg"),e.attr(h,"class",S="SearchClearButton "+(a[9]!="true"?"WithoutCancel":"")+" "+(a[14].length!=0?"":"NotVisible")),e.attr(r,"class",g="Search "+(a[16]?"":"SearchAnimation")),e.attr(n,"class","SearchWrap"),e.attr(j,"class",D=a[9]!="true"?"OverlayCancel":""),e.attr(t,"class",(e.getDevice(a[22])!=="PC"?"":"Desktop")+" CasinoSearch")},m(_,C){e.insert(_,t,C),e.append(t,n),e.append(n,r),e.append(r,o),e.append(r,i),e.append(r,l),e.set_input_value(l,a[14]),a[35](l),e.append(r,u),e.append(r,h),e.append(h,d),e.append(d,f),e.append(r,m),b&&b.m(r,null),e.append(t,T),e.append(t,j),e.append(t,x),v.m(t,null),a[38](t),z||(N=[e.listen(l,"input",a[34]),e.listen(l,"focus",a[23]),e.listen(l,"input",a[28]),e.listen(h,"click",a[36]),e.listen(j,"click",a[24])],z=!0)},p(_,C){C[0]&2097152&&c!==(c=_[21]("placeHolderSearchGames"))&&e.attr(l,"placeholder",c),C[0]&16384&&l.value!==_[14]&&e.set_input_value(l,_[14]),C[0]&16896&&S!==(S="SearchClearButton "+(_[9]!="true"?"WithoutCancel":"")+" "+(_[14].length!=0?"":"NotVisible"))&&e.attr(h,"class",S),_[9]==="true"?b?b.p(_,C):(b=re(_),b.c(),b.m(r,null)):b&&(b.d(1),b=null),C[0]&65536&&g!==(g="Search "+(_[16]?"":"SearchAnimation"))&&e.attr(r,"class",g),C[0]&512&&D!==(D=_[9]!="true"?"OverlayCancel":"")&&e.attr(j,"class",D),G===(G=F(_))&&v?v.p(_,C):(v.d(1),v=G(_),v&&(v.c(),v.m(t,null)))},i:e.noop,o:e.noop,d(_){_&&e.detach(t),a[35](null),b&&b.d(),v.d(),a[38](null),z=!1,e.run_all(N)}}}let Ae=50;function Oe(a,t,n){let r;e.component_subscribe(a,e.$format,s=>n(21,r=s));let{endpoint:o=""}=t,{datasource:i=""}=t,{session:l=""}=t,{userid:c=""}=t,{lang:u="en"}=t,{clientstyling:h=""}=t,{clientstylingurl:d=""}=t,{integratedgameframedesktop:f="false"}=t,{integratedgameframemobile:S="false"}=t,{showgamename:m=""}=t,{gamepagemodalurl:g="true"}=t,{translationurl:T=""}=t,{showfavorites:j=""}=t,{cancelbutton:D="true"}=t,{notfoundicon:x="false"}=t,{mbsource:z}=t,N=window.navigator.userAgent,b=[],F=[],G={},v="",_,C=!0,M=!1,L=!1,I,q=!1,A,O,J=[],he;const fe=()=>{fetch(T).then(p=>p.json()).then(p=>{Object.keys(p).forEach(w=>{ee(w,p[w])})}).catch(p=>{console.log(p)})};Object.keys(te).forEach(s=>{ee(s,te[s])});const Z=s=>{s.data&&s.data.type=="SearchedItemClicked"&&ve(s.data.gameId),s.data.type=="UserSessionID"&&(n(19,A=s.data.session),n(20,O=s.data.userid),n(33,q=!0)),s.data.type=="CategoryChange"&&W()},Y=()=>{if(n(16,C=!1),n(17,M=!0),o&&i&&u&&v.length<2){n(13,b=[]);let s=localStorage.getItem("searchedGamesWds_casino"),p=[];s&&(p=s.split(","));let w=[],y=0,k=p.length;if(k>0){for(y=0;y<k;y++){let R=new URL(`${o}/v1/casino/games/${p[y]}`);R.searchParams.append("language",u),R.searchParams.append("datasource",i),R.searchParams.append("platform",e.getDevice(N)),w.push(_e(R,p[y]))}Promise.all(w).then(R=>{R=R.filter(function(E){return!!E}),n(13,b=R.map(E=>(E.isFavorite=X(E.id),E))),b.length?B("searchSuccess","SearchWidget"):B("searchFail","SearchWidget")}).catch(R=>{B("searchError","SearchWidget")})}}Q(M),B("searchAttempt","SearchWidget"),B("SearchInitialized","SearchWidget")},B=(s,p)=>{typeof gtag=="function"&&gtag("event",s,{context:p})},ge=()=>{D!="true"&&W()},pe=s=>new Promise((p,w)=>{n(18,L=!0),fetch(s.href).then(y=>y.json()).then(y=>{n(18,L=!1),p(y)}).catch(y=>{n(18,L=!1),console.error(y),w(y)})}),_e=(s,p)=>new Promise((w,y)=>{n(18,L=!0),p&&Object.keys(G).indexOf(p)>=0?(n(18,L=!1),w(G[p])):fetch(s).then(k=>k.json()).then(k=>{n(18,L=!1),k.error||(G[k[0].gameId]=k[0]),w(k[0])}).catch(k=>{n(18,L=!1),console.error(k),y(k)})}),Se=()=>{const s=new URL(`${o}/v1/player/${O}/favorites/`);n(18,L=!0);let p={method:"GET",headers:{"X-SessionID":A}};fetch(s.href,p).then(w=>w.json()).then(w=>{n(18,L=!1),J=w.items.map(y=>y.id)})},be=()=>{n(33,q=!0),n(19,A=l),n(20,O=c)},X=s=>J.findIndex(p=>p==s)!==-1,we=s=>{if((s==null?void 0:s.length)===0)return"";let p,w=99999999999,y;const k=new Date(Date.now());return s.forEach((R,E)=>{const Ie=new Date(R.schedules[0].startTime),U=new Date(R.schedules[0].endTime);ae(new Date(U),new Date(k))<w&&(w=ae(new Date(U),new Date(k)),y=E),ze(new Date(k),new Date(Ie))&&Ee(new Date(k),new Date(U))&&(p=s[y].name)}),p},ve=s=>{if(F=localStorage.getItem("searchedGamesWds_casino"),F?F=F.split(","):F=[],F.indexOf(s)===-1){let p;F.unshift(s),p=F.join(","),localStorage.setItem("searchedGamesWds_casino",p)}},W=()=>{n(14,v=""),n(16,C=!0),n(18,L=!1),n(13,b=[]),n(17,M=!1),Q(M)},K=()=>{n(14,v=""),_.focus()},Q=s=>{window.postMessage({type:s===!0?"searchActive":"searchCancelled",searchStatus:s},window.location.href)},ye=()=>{Ge(u)},ke=()=>$(this,null,function*(){if(v.length>=2){const s=new URL(`${o}/v1/casino/games`);s.searchParams.append("datasource",i),s.searchParams.append("expand","vendor"),s.searchParams.append("platform",e.getDevice(N)),s.searchParams.append("language",u),s.searchParams.append("pagination","offset=0,limit=30"),s.searchParams.append("filter",`name=${v}`),pe(s).then(p=>{n(13,b=p.items.map(w=>(w.isFavorite=X(w.id),w)))})}else C||Y()}),Ce=De.debounce(ke,500);e.onMount(()=>(window.addEventListener("message",Z,!1),()=>{window.removeEventListener("message",Z)}));function Re(){v=this.value,n(14,v)}function Fe(s){e.binding_callbacks[s?"unshift":"push"](()=>{_=s,n(15,_)})}const Le=()=>K(),Te=()=>W();function je(s){e.binding_callbacks[s?"unshift":"push"](()=>{I=s,n(12,I)})}return a.$$set=s=>{"endpoint"in s&&n(0,o=s.endpoint),"datasource"in s&&n(29,i=s.datasource),"session"in s&&n(30,l=s.session),"userid"in s&&n(31,c=s.userid),"lang"in s&&n(1,u=s.lang),"clientstyling"in s&&n(2,h=s.clientstyling),"clientstylingurl"in s&&n(3,d=s.clientstylingurl),"integratedgameframedesktop"in s&&n(4,f=s.integratedgameframedesktop),"integratedgameframemobile"in s&&n(5,S=s.integratedgameframemobile),"showgamename"in s&&n(6,m=s.showgamename),"gamepagemodalurl"in s&&n(7,g=s.gamepagemodalurl),"translationurl"in s&&n(32,T=s.translationurl),"showfavorites"in s&&n(8,j=s.showfavorites),"cancelbutton"in s&&n(9,D=s.cancelbutton),"notfoundicon"in s&&n(10,x=s.notfoundicon),"mbsource"in s&&n(11,z=s.mbsource)},a.$$.update=()=>{a.$$.dirty[0]&2&&u&&ye(),a.$$.dirty[1]&2&&T&&fe(),a.$$.dirty[0]&1073741824|a.$$.dirty[1]&1&&l&&c&&be(),a.$$.dirty[0]&256|a.$$.dirty[1]&4&&j&&q&&Se(),a.$$.dirty[0]&4100&&h&&I&&e.setClientStyling(I,h),a.$$.dirty[0]&4104&&d&&I&&e.setClientStylingURL(I,d),a.$$.dirty[0]&6144&&I&&e.setStreamStyling(I,`${z}.Style`,he)},[o,u,h,d,f,S,m,g,j,D,x,z,I,b,v,_,C,M,L,A,O,r,N,Y,ge,we,W,K,Ce,i,l,c,T,q,Re,Fe,Le,Te,je]}class me extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Oe,qe,e.safe_not_equal,{endpoint:0,datasource:29,session:30,userid:31,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,showgamename:6,gamepagemodalurl:7,translationurl:32,showfavorites:8,cancelbutton:9,notfoundicon:10,mbsource:11},Ne,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[29]}set datasource(t){this.$$set({datasource:t}),e.flush()}get session(){return this.$$.ctx[30]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[31]}set userid(t){this.$$set({userid:t}),e.flush()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get showgamename(){return this.$$.ctx[6]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[7]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get translationurl(){return this.$$.ctx[32]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(t){this.$$set({showfavorites:t}),e.flush()}get cancelbutton(){return this.$$.ctx[9]}set cancelbutton(t){this.$$set({cancelbutton:t}),e.flush()}get notfoundicon(){return this.$$.ctx[10]}set notfoundicon(t){this.$$set({notfoundicon:t}),e.flush()}get mbsource(){return this.$$.ctx[11]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(me,{endpoint:{},datasource:{},session:{},userid:{},lang:{},clientstyling:{},clientstylingurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},showgamename:{},gamepagemodalurl:{},translationurl:{},showfavorites:{},cancelbutton:{},notfoundicon:{},mbsource:{}},[],[],!0);exports.default=me;
1
+ "use strict";var $=(a,t,n)=>new Promise((r,o)=>{var i=u=>{try{c(n.next(u))}catch(h){o(h)}},l=u=>{try{c(n.throw(u))}catch(h){o(h)}},c=u=>u.done?r(u.value):Promise.resolve(u.value).then(i,l);c((n=n.apply(a,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoLobby-DIkig4WG.cjs"),De=require("./CasinoWinners-DCy9pcHz.cjs");require("./CasinoGamesCategorySection-OA_n5yaA.cjs");function ee(a,t){e.addMessages(a,t)}function Ge(a){e.$locale.set(a)}const te={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Son arama",loading:"Yükleniyor, lütfen bekleyin...",searchResult:"Arama sonucu",cancel:"İptal",notFound:"Oyun bulunamadı!",notFoundText:"Oynamaya başlamak için lütfen oyunun doğru adını yazın.",noRecentSearches:"Henüz son arama yok. Oyunlarımızdan herhangi birini arayın.",placeHolderSearchGames:"Oyun ara ..."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",placeHolderSearchGames:"Pesquisar jogos",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"es-mx":{recentSearch:"Búsqueda reciente",loading:"Cargando, por favor espera",searchResult:"Resultado de la búsqueda",placeHolderSearchGames:"Buscar juegos",cancel:"Cancelar",notFound:"¡Juego no encontrado!",notFoundText:"Por favor, escribe el nombre correcto del juego para comenzar a jugar.",noRecentSearches:"Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."},"pt-br":{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Buscar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."},"en-us":{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}};function V(a){"@babel/helpers - typeof";return V=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},V(a)}function H(a,t){if(t.length<a)throw new TypeError(a+" argument"+(a>1?"s":"")+" required, but only "+t.length+" present")}function P(a){H(1,arguments);var t=Object.prototype.toString.call(a);return a instanceof Date||V(a)==="object"&&t==="[object Date]"?new Date(a.getTime()):typeof a=="number"||t==="[object Number]"?new Date(a):((typeof a=="string"||t==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function ae(a,t){return H(2,arguments),P(a).getTime()-P(t).getTime()}function ze(a,t){H(2,arguments);var n=P(a),r=P(t);return n.getTime()>r.getTime()}function Ee(a,t){H(2,arguments);var n=P(a),r=P(t);return n.getTime()<r.getTime()}function Ne(a){e.append_styles(a,"svelte-nijkoq","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:10px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;padding-right:28px}.SearchInput::placeholder{color:var(--emw--color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emw--color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail-nd{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:10px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}")}function ne(a,t,n){const r=a.slice();return r[55]=t[n],r}function re(a){let t,n=a[21]("cancel")+"",r,o,i,l;return{c(){t=e.element("small"),r=e.text(n),e.attr(t,"class",o="SearchCancelButton "+(a[16]?"NotVisible":""))},m(c,u){e.insert(c,t,u),e.append(t,r),i||(l=e.listen(t,"click",a[37]),i=!0)},p(c,u){u[0]&2097152&&n!==(n=c[21]("cancel")+"")&&e.set_data(r,n),u[0]&65536&&o!==(o="SearchCancelButton "+(c[16]?"NotVisible":""))&&e.attr(t,"class",o)},d(c){c&&e.detach(t),i=!1,l()}}}function Pe(a){let t,n,r,o;function i(d,f){if(d[17]==!0&&d[14].length<2)return Be;if(d[13].length!=0)return Me}let l=i(a),c=l&&l(a),u=a[16]===!1&&ie(a),h=a[14].length>=2&&a[13].length==0&&ue(a);return{c(){c&&c.c(),t=e.space(),n=e.element("div"),u&&u.c(),r=e.space(),h&&h.c(),e.attr(n,"class",o="SearchResultsContainer "+(a[17]==!0?"":"NotVisible"))},m(d,f){c&&c.m(d,f),e.insert(d,t,f),e.insert(d,n,f),u&&u.m(n,null),e.append(n,r),h&&h.m(n,null)},p(d,f){l===(l=i(d))&&c?c.p(d,f):(c&&c.d(1),c=l&&l(d),c&&(c.c(),c.m(t.parentNode,t))),d[16]===!1?u?u.p(d,f):(u=ie(d),u.c(),u.m(n,r)):u&&(u.d(1),u=null),d[14].length>=2&&d[13].length==0?h?h.p(d,f):(h=ue(d),h.c(),h.m(n,null)):h&&(h.d(1),h=null),f[0]&131072&&o!==(o="SearchResultsContainer "+(d[17]==!0?"":"NotVisible"))&&e.attr(n,"class",o)},d(d){d&&(e.detach(t),e.detach(n)),c&&c.d(d),u&&u.d(),h&&h.d()}}}function xe(a){let t,n=a[21]("loading")+"",r;return{c(){t=e.element("p"),r=e.text(n),e.attr(t,"class","LoadingContent")},m(o,i){e.insert(o,t,i),e.append(t,r)},p(o,i){i[0]&2097152&&n!==(n=o[21]("loading")+"")&&e.set_data(r,n)},d(o){o&&e.detach(t)}}}function Me(a){let t,n=a[21]("searchResult")+"",r;return{c(){t=e.element("p"),r=e.text(n),e.attr(t,"class","SearchMessage")},m(o,i){e.insert(o,t,i),e.append(t,r)},p(o,i){i[0]&2097152&&n!==(n=o[21]("searchResult")+"")&&e.set_data(r,n)},d(o){o&&e.detach(t)}}}function Be(a){let t,n,r=a[13].length!==0&&oe(a),o=a[13].length==0&&se(a);return{c(){r&&r.c(),t=e.space(),o&&o.c(),n=e.empty()},m(i,l){r&&r.m(i,l),e.insert(i,t,l),o&&o.m(i,l),e.insert(i,n,l)},p(i,l){i[13].length!==0?r?r.p(i,l):(r=oe(i),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),i[13].length==0?o?o.p(i,l):(o=se(i),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},d(i){i&&(e.detach(t),e.detach(n)),r&&r.d(i),o&&o.d(i)}}}function oe(a){let t,n=a[21]("recentSearch")+"",r;return{c(){t=e.element("p"),r=e.text(n),e.attr(t,"class","SearchMessage")},m(o,i){e.insert(o,t,i),e.append(t,r)},p(o,i){i[0]&2097152&&n!==(n=o[21]("recentSearch")+"")&&e.set_data(r,n)},d(o){o&&e.detach(t)}}}function se(a){let t,n,r,o=a[21]("noRecentSearches")+"",i,l,c=a[10]==="true"&&le();return{c(){t=e.element("div"),c&&c.c(),n=e.space(),r=e.element("p"),i=e.text(o),e.attr(r,"class","SearchMessage"),e.attr(t,"class",l="ResultsContainerError "+(a[10]=="true"?"WithIcon":""))},m(u,h){e.insert(u,t,h),c&&c.m(t,null),e.append(t,n),e.append(t,r),e.append(r,i)},p(u,h){u[10]==="true"?c||(c=le(),c.c(),c.m(t,n)):c&&(c.d(1),c=null),h[0]&2097152&&o!==(o=u[21]("noRecentSearches")+"")&&e.set_data(i,o),h[0]&1024&&l!==(l="ResultsContainerError "+(u[10]=="true"?"WithIcon":""))&&e.attr(t,"class",l)},d(u){u&&e.detach(t),c&&c.d()}}}function le(a){let t;return{c(){t=e.element("div"),t.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>',e.attr(t,"class","SearchErrorIcon")},m(n,r){e.insert(n,t,r)},d(n){n&&e.detach(t)}}}function ie(a){let t,n=e.ensure_array_like(a[13]),r=[];for(let o=0;o<n.length;o+=1)r[o]=ce(ne(a,n,o));return{c(){for(let o=0;o<r.length;o+=1)r[o].c();t=e.empty()},m(o,i){for(let l=0;l<r.length;l+=1)r[l]&&r[l].m(o,i);e.insert(o,t,i)},p(o,i){if(i[0]&35138047){n=e.ensure_array_like(o[13]);let l;for(l=0;l<n.length;l+=1){const c=ne(o,n,l);r[l]?r[l].p(c,i):(r[l]=ce(c),r[l].c(),r[l].m(t.parentNode,t))}for(;l<r.length;l+=1)r[l].d(1);r.length=n.length}},d(o){o&&e.detach(t),e.destroy_each(r,o)}}}function ce(a){let t,n,r,o,i,l,c,u,h,d,f,b;return{c(){var m;t=e.element("casino-game-thumbnail"),e.set_custom_element_data(t,"endpoint",a[0]),e.set_custom_element_data(t,"session",a[19]),e.set_custom_element_data(t,"userid",a[20]),e.set_custom_element_data(t,"favorites",a[8]),e.set_custom_element_data(t,"lang",a[1]),e.set_custom_element_data(t,"gamethumbnail",n=a[55].thumbnail),e.set_custom_element_data(t,"gamename",r=a[55].name),e.set_custom_element_data(t,"gamevendor",o=a[55].vendor.displayName),e.set_custom_element_data(t,"gameLaunchUrl",i=a[55].launchUrl),e.set_custom_element_data(t,"gameisnew",l=a[55].isNew),e.set_custom_element_data(t,"gametag",c=((m=a[55].advancedTags)==null?void 0:m.length)>0&&a[25](a[55].advancedTags)),e.set_custom_element_data(t,"gamecellsize",u=a[55].cellSize),e.set_custom_element_data(t,"gameid",h=a[55].id),e.set_custom_element_data(t,"showgamename",a[6]),e.set_custom_element_data(t,"gamefunmode",d=a[55].hasFunMode),e.set_custom_element_data(t,"gamefavorite",f=a[55].isFavorite),e.set_custom_element_data(t,"livelobbyendpoint",b=a[55].details?a[55].launchUrl:""),e.set_custom_element_data(t,"integratedgameframedesktop",a[4]),e.set_custom_element_data(t,"mbsource",a[11]),e.set_custom_element_data(t,"integratedgameframemobile",a[5]),e.set_custom_element_data(t,"clientstyling",a[2]),e.set_custom_element_data(t,"clientstylingurl",a[3]),e.set_custom_element_data(t,"gamepagemodalurl",a[7])},m(m,g){e.insert(m,t,g)},p(m,g){var T;g[0]&1&&e.set_custom_element_data(t,"endpoint",m[0]),g[0]&524288&&e.set_custom_element_data(t,"session",m[19]),g[0]&1048576&&e.set_custom_element_data(t,"userid",m[20]),g[0]&256&&e.set_custom_element_data(t,"favorites",m[8]),g[0]&2&&e.set_custom_element_data(t,"lang",m[1]),g[0]&8192&&n!==(n=m[55].thumbnail)&&e.set_custom_element_data(t,"gamethumbnail",n),g[0]&8192&&r!==(r=m[55].name)&&e.set_custom_element_data(t,"gamename",r),g[0]&8192&&o!==(o=m[55].vendor.displayName)&&e.set_custom_element_data(t,"gamevendor",o),g[0]&8192&&i!==(i=m[55].launchUrl)&&e.set_custom_element_data(t,"gameLaunchUrl",i),g[0]&8192&&l!==(l=m[55].isNew)&&e.set_custom_element_data(t,"gameisnew",l),g[0]&8192&&c!==(c=((T=m[55].advancedTags)==null?void 0:T.length)>0&&m[25](m[55].advancedTags))&&e.set_custom_element_data(t,"gametag",c),g[0]&8192&&u!==(u=m[55].cellSize)&&e.set_custom_element_data(t,"gamecellsize",u),g[0]&8192&&h!==(h=m[55].id)&&e.set_custom_element_data(t,"gameid",h),g[0]&64&&e.set_custom_element_data(t,"showgamename",m[6]),g[0]&8192&&d!==(d=m[55].hasFunMode)&&e.set_custom_element_data(t,"gamefunmode",d),g[0]&8192&&f!==(f=m[55].isFavorite)&&e.set_custom_element_data(t,"gamefavorite",f),g[0]&8192&&b!==(b=m[55].details?m[55].launchUrl:"")&&e.set_custom_element_data(t,"livelobbyendpoint",b),g[0]&16&&e.set_custom_element_data(t,"integratedgameframedesktop",m[4]),g[0]&2048&&e.set_custom_element_data(t,"mbsource",m[11]),g[0]&32&&e.set_custom_element_data(t,"integratedgameframemobile",m[5]),g[0]&4&&e.set_custom_element_data(t,"clientstyling",m[2]),g[0]&8&&e.set_custom_element_data(t,"clientstylingurl",m[3]),g[0]&128&&e.set_custom_element_data(t,"gamepagemodalurl",m[7])},d(m){m&&e.detach(t)}}}function ue(a){let t,n,r,o=a[21]("notFound")+"",i,l,c,u=a[21]("notFoundText")+"",h,d,f=a[10]==="true"&&de();return{c(){t=e.element("div"),f&&f.c(),n=e.space(),r=e.element("p"),i=e.text(o),l=e.space(),c=e.element("p"),h=e.text(u),e.attr(r,"class","SearchMessage"),e.attr(t,"class",d="ResultsContainerError "+(a[10]=="true"?"WithIcon":""))},m(b,m){e.insert(b,t,m),f&&f.m(t,null),e.append(t,n),e.append(t,r),e.append(r,i),e.append(t,l),e.append(t,c),e.append(c,h)},p(b,m){b[10]==="true"?f||(f=de(),f.c(),f.m(t,n)):f&&(f.d(1),f=null),m[0]&2097152&&o!==(o=b[21]("notFound")+"")&&e.set_data(i,o),m[0]&2097152&&u!==(u=b[21]("notFoundText")+"")&&e.set_data(h,u),m[0]&1024&&d!==(d="ResultsContainerError "+(b[10]=="true"?"WithIcon":""))&&e.attr(t,"class",d)},d(b){b&&e.detach(t),f&&f.d()}}}function de(a){let t;return{c(){t=e.element("div"),t.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>',e.attr(t,"class","SearchErrorIcon")},m(n,r){e.insert(n,t,r)},d(n){n&&e.detach(t)}}}function qe(a){let t,n,r,o,i,l,c,u,h,d,f,b,m,g,T,j,D,x,z,N,w=a[9]==="true"&&re(a);function F(_,C){return _[18]?xe:Pe}let G=F(a),y=G(a);return{c(){t=e.element("div"),n=e.element("div"),r=e.element("div"),o=e.element("div"),o.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>',i=e.space(),l=e.element("input"),u=e.space(),h=e.element("span"),d=e.svg_element("svg"),f=e.svg_element("path"),m=e.space(),w&&w.c(),T=e.space(),j=e.element("div"),x=e.space(),y.c(),e.attr(o,"class","SearchIcon"),e.attr(l,"class","SearchInput"),e.attr(l,"type","search"),e.attr(l,"placeholder",c=a[21]("placeHolderSearchGames")),e.attr(l,"maxlength",Ae),e.attr(f,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),e.attr(f,"stroke","#717171"),e.attr(f,"stroke-width","2"),e.attr(f,"stroke-linecap","round"),e.attr(f,"stroke-linejoin","round"),e.attr(d,"width","11"),e.attr(d,"height","11"),e.attr(d,"fill","none"),e.attr(d,"xmlns","http://www.w3.org/2000/svg"),e.attr(h,"class",b="SearchClearButton "+(a[9]!="true"?"WithoutCancel":"")+" "+(a[14].length!=0?"":"NotVisible")),e.attr(r,"class",g="Search "+(a[16]?"":"SearchAnimation")),e.attr(n,"class","SearchWrap"),e.attr(j,"class",D=a[9]!="true"?"OverlayCancel":""),e.attr(t,"class",(e.getDevice(a[22])!=="PC"?"":"Desktop")+" CasinoSearch")},m(_,C){e.insert(_,t,C),e.append(t,n),e.append(n,r),e.append(r,o),e.append(r,i),e.append(r,l),e.set_input_value(l,a[14]),a[35](l),e.append(r,u),e.append(r,h),e.append(h,d),e.append(d,f),e.append(r,m),w&&w.m(r,null),e.append(t,T),e.append(t,j),e.append(t,x),y.m(t,null),a[38](t),z||(N=[e.listen(l,"input",a[34]),e.listen(l,"focus",a[23]),e.listen(l,"input",a[28]),e.listen(h,"click",a[36]),e.listen(j,"click",a[24])],z=!0)},p(_,C){C[0]&2097152&&c!==(c=_[21]("placeHolderSearchGames"))&&e.attr(l,"placeholder",c),C[0]&16384&&l.value!==_[14]&&e.set_input_value(l,_[14]),C[0]&16896&&b!==(b="SearchClearButton "+(_[9]!="true"?"WithoutCancel":"")+" "+(_[14].length!=0?"":"NotVisible"))&&e.attr(h,"class",b),_[9]==="true"?w?w.p(_,C):(w=re(_),w.c(),w.m(r,null)):w&&(w.d(1),w=null),C[0]&65536&&g!==(g="Search "+(_[16]?"":"SearchAnimation"))&&e.attr(r,"class",g),C[0]&512&&D!==(D=_[9]!="true"?"OverlayCancel":"")&&e.attr(j,"class",D),G===(G=F(_))&&y?y.p(_,C):(y.d(1),y=G(_),y&&(y.c(),y.m(t,null)))},i:e.noop,o:e.noop,d(_){_&&e.detach(t),a[35](null),w&&w.d(),y.d(),a[38](null),z=!1,e.run_all(N)}}}let Ae=50;function Oe(a,t,n){let r;e.component_subscribe(a,e.$format,s=>n(21,r=s));let{endpoint:o=""}=t,{datasource:i=""}=t,{session:l=""}=t,{userid:c=""}=t,{lang:u="en"}=t,{clientstyling:h=""}=t,{clientstylingurl:d=""}=t,{integratedgameframedesktop:f="false"}=t,{integratedgameframemobile:b="false"}=t,{showgamename:m=""}=t,{gamepagemodalurl:g="true"}=t,{translationurl:T=""}=t,{showfavorites:j=""}=t,{cancelbutton:D="true"}=t,{notfoundicon:x="false"}=t,{mbsource:z}=t,N=window.navigator.userAgent,w=[],F=[],G={},y="",_,C=!0,M=!1,L=!1,I,q=!1,A,O,J=[],he;const fe=()=>{fetch(T).then(p=>p.json()).then(p=>{Object.keys(p).forEach(v=>{ee(v,p[v])})}).catch(p=>{console.log(p)})};Object.keys(te).forEach(s=>{ee(s,te[s])});const Z=s=>{s.data&&s.data.type=="SearchedItemClicked"&&ve(s.data.gameId),s.data.type=="UserSessionID"&&(n(19,A=s.data.session),n(20,O=s.data.userid),n(33,q=!0)),s.data.type=="CategoryChange"&&W()},Y=()=>{if(n(16,C=!1),n(17,M=!0),o&&i&&u&&y.length<2){n(13,w=[]);let s=localStorage.getItem("searchedGamesWds_casino"),p=[];s&&(p=s.split(","));let v=[],S=0,k=p.length;if(k>0){for(S=0;S<k;S++){let R=new URL(`${o}/v1/casino/games/${p[S]}`);R.searchParams.append("language",u),R.searchParams.append("datasource",i),R.searchParams.append("platform",e.getDevice(N)),v.push(_e(R,p[S]))}Promise.all(v).then(R=>{R=R.filter(function(E){return!!E}),n(13,w=R.map(E=>(E.isFavorite=X(E.id),E))),w.length?B("searchSuccess","SearchWidget"):B("searchFail","SearchWidget")}).catch(R=>{B("searchError","SearchWidget")})}}Q(M),B("searchAttempt","SearchWidget"),B("SearchInitialized","SearchWidget")},B=(s,p)=>{typeof gtag=="function"&&gtag("event",s,{context:p})},ge=()=>{D!="true"&&W()},pe=s=>new Promise((p,v)=>{n(18,L=!0),fetch(s.href).then(S=>S.json()).then(S=>{n(18,L=!1),p(S)}).catch(S=>{n(18,L=!1),console.error(S),v(S)})}),_e=(s,p)=>new Promise((v,S)=>{n(18,L=!0),p&&Object.keys(G).indexOf(p)>=0?(n(18,L=!1),v(G[p])):fetch(s).then(k=>k.json()).then(k=>{n(18,L=!1),k.error||(G[k[0].gameId]=k[0]),v(k[0])}).catch(k=>{n(18,L=!1),console.error(k),S(k)})}),Se=()=>{const s=new URL(`${o}/v1/player/${O}/favorites/`);n(18,L=!0);let p={method:"GET",headers:{"X-SessionID":A}};fetch(s.href,p).then(v=>v.json()).then(v=>{n(18,L=!1),J=v.items.map(S=>S.id)})},be=()=>{n(33,q=!0),n(19,A=l),n(20,O=c)},X=s=>J.findIndex(p=>p==s)!==-1,we=s=>{if((s==null?void 0:s.length)===0)return"";let p,v=99999999999,S;const k=new Date(Date.now());return s.forEach((R,E)=>{const Ie=new Date(R.schedules[0].startTime),U=new Date(R.schedules[0].endTime);ae(new Date(U),new Date(k))<v&&(v=ae(new Date(U),new Date(k)),S=E),ze(new Date(k),new Date(Ie))&&Ee(new Date(k),new Date(U))&&(p=s[S].name)}),p},ve=s=>{if(F=localStorage.getItem("searchedGamesWds_casino"),F?F=F.split(","):F=[],F.indexOf(s)===-1){let p;F.unshift(s),p=F.join(","),localStorage.setItem("searchedGamesWds_casino",p)}},W=()=>{n(14,y=""),n(16,C=!0),n(18,L=!1),n(13,w=[]),n(17,M=!1),Q(M)},K=()=>{n(14,y=""),_.focus()},Q=s=>{window.postMessage({type:s===!0?"searchActive":"searchCancelled",searchStatus:s},window.location.href)},ye=()=>{Ge(u)},ke=()=>$(this,null,function*(){if(y.length>=2){const s=new URL(`${o}/v1/casino/games`),p=y.trim().split(/[\s,.]+/).filter(Boolean);s.searchParams.append("datasource",i),s.searchParams.append("expand","vendor"),s.searchParams.append("platform",e.getDevice(N)),s.searchParams.append("language",u),s.searchParams.append("pagination","offset=0,limit=30"),s.searchParams.append("filter",p.map(v=>`name=${v}`).join(",")),pe(s).then(v=>{n(13,w=v.items.map(S=>(S.isFavorite=X(S.id),S)))})}else C||Y()}),Ce=De.debounce(ke,500);e.onMount(()=>(window.addEventListener("message",Z,!1),()=>{window.removeEventListener("message",Z)}));function Re(){y=this.value,n(14,y)}function Fe(s){e.binding_callbacks[s?"unshift":"push"](()=>{_=s,n(15,_)})}const Le=()=>K(),Te=()=>W();function je(s){e.binding_callbacks[s?"unshift":"push"](()=>{I=s,n(12,I)})}return a.$$set=s=>{"endpoint"in s&&n(0,o=s.endpoint),"datasource"in s&&n(29,i=s.datasource),"session"in s&&n(30,l=s.session),"userid"in s&&n(31,c=s.userid),"lang"in s&&n(1,u=s.lang),"clientstyling"in s&&n(2,h=s.clientstyling),"clientstylingurl"in s&&n(3,d=s.clientstylingurl),"integratedgameframedesktop"in s&&n(4,f=s.integratedgameframedesktop),"integratedgameframemobile"in s&&n(5,b=s.integratedgameframemobile),"showgamename"in s&&n(6,m=s.showgamename),"gamepagemodalurl"in s&&n(7,g=s.gamepagemodalurl),"translationurl"in s&&n(32,T=s.translationurl),"showfavorites"in s&&n(8,j=s.showfavorites),"cancelbutton"in s&&n(9,D=s.cancelbutton),"notfoundicon"in s&&n(10,x=s.notfoundicon),"mbsource"in s&&n(11,z=s.mbsource)},a.$$.update=()=>{a.$$.dirty[0]&2&&u&&ye(),a.$$.dirty[1]&2&&T&&fe(),a.$$.dirty[0]&1073741824|a.$$.dirty[1]&1&&l&&c&&be(),a.$$.dirty[0]&256|a.$$.dirty[1]&4&&j&&q&&Se(),a.$$.dirty[0]&4100&&h&&I&&e.setClientStyling(I,h),a.$$.dirty[0]&4104&&d&&I&&e.setClientStylingURL(I,d),a.$$.dirty[0]&6144&&I&&e.setStreamStyling(I,`${z}.Style`,he)},[o,u,h,d,f,b,m,g,j,D,x,z,I,w,y,_,C,M,L,A,O,r,N,Y,ge,we,W,K,Ce,i,l,c,T,q,Re,Fe,Le,Te,je]}class me extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Oe,qe,e.safe_not_equal,{endpoint:0,datasource:29,session:30,userid:31,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,showgamename:6,gamepagemodalurl:7,translationurl:32,showfavorites:8,cancelbutton:9,notfoundicon:10,mbsource:11},Ne,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[29]}set datasource(t){this.$$set({datasource:t}),e.flush()}get session(){return this.$$.ctx[30]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[31]}set userid(t){this.$$set({userid:t}),e.flush()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get showgamename(){return this.$$.ctx[6]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[7]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get translationurl(){return this.$$.ctx[32]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(t){this.$$set({showfavorites:t}),e.flush()}get cancelbutton(){return this.$$.ctx[9]}set cancelbutton(t){this.$$set({cancelbutton:t}),e.flush()}get notfoundicon(){return this.$$.ctx[10]}set notfoundicon(t){this.$$set({notfoundicon:t}),e.flush()}get mbsource(){return this.$$.ctx[11]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(me,{endpoint:{},datasource:{},session:{},userid:{},lang:{},clientstyling:{},clientstylingurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},showgamename:{},gamepagemodalurl:{},translationurl:{},showfavorites:{},cancelbutton:{},notfoundicon:{},mbsource:{}},[],[],!0);exports.default=me;
@@ -1,4 +1,4 @@
1
- import { v as Z, w as Ye, a as qe, S as xe, i as Ue, s as Xe, f as C, b as Pe, n as ae, d as L, K as Ke, l as f, e as D, p, M as H, V as Ve, g as _, C as W, o as Je, I as j, J as be, W as ve, D as G, X as Ze, k as J, Y as le, E as Q, F as $, Z as Qe, q as $e, r as et, t as tt, c as rt } from "./CasinoLobby-DlkT0ycq.js";
1
+ import { v as Z, w as Ye, a as qe, S as xe, i as Ue, s as Xe, f as C, b as Pe, n as ae, d as L, K as Ke, l as f, e as D, p, M as H, V as Ve, g as _, C as W, o as Je, I as j, J as be, W as ve, D as G, X as Ze, k as J, Y as le, E as Q, F as $, Z as Qe, q as $e, r as et, t as tt, c as rt } from "./CasinoLobby-DRjYP2iF.js";
2
2
  function ot({ withLocale: n, translations: e }) {
3
3
  Z.subscribe((t) => {
4
4
  t == null && (Ye.set(e), Z.set(n));