@everymatrix/casino-page-nd 1.98.0 → 1.98.2

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 (113) hide show
  1. package/components/{CasinoCalendar-DKqEsgeX.cjs → CasinoCalendar-BK06jPkH.cjs} +1 -1
  2. package/components/{CasinoCalendar-BFu7sYwT.js → CasinoCalendar-BbUeetfl.js} +3 -3
  3. package/components/{CasinoCalendar-Bh73vime.js → CasinoCalendar-xwuHJkir.js} +3 -3
  4. package/components/{CasinoCalendarDailyDetails-Cl9FhDFh.cjs → CasinoCalendarDailyDetails-Cv-HJs9x.cjs} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-Bhp6rRrm.js → CasinoCalendarDailyDetails-DOOazn9E.js} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-Co9xiAbx.js → CasinoCalendarDailyDetails-mLWgBIYC.js} +1 -1
  7. package/components/{CasinoCalendarDailyItem-BsNYXmzK.js → CasinoCalendarDailyItem-D47RlntI.js} +1 -1
  8. package/components/{CasinoCalendarDailyItem-DDqwZgRT.cjs → CasinoCalendarDailyItem-LsTJwpIW.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-1d-kIpuP.js → CasinoCalendarDailyItem-XzsK2bjr.js} +1 -1
  10. package/components/{CasinoCollectionsProviders-BYT4gqSK.js → CasinoCollectionsProviders-721eH9aE.js} +1 -1
  11. package/components/{CasinoCollectionsProviders-BmcfYRKZ.cjs → CasinoCollectionsProviders-CUO1OjZ7.cjs} +1 -1
  12. package/components/{CasinoCollectionsProviders-h65PSNai.js → CasinoCollectionsProviders-otb3RCTN.js} +1 -1
  13. package/components/{CasinoFavoritesSectionNd-D7r8jakX.js → CasinoFavoritesSectionNd-7qlzHL8s.js} +2 -2
  14. package/components/{CasinoFavoritesSectionNd-CCGzAc9j.js → CasinoFavoritesSectionNd-Cgi20Fu8.js} +2 -2
  15. package/components/{CasinoFavoritesSectionNd-2mcqjQzG.cjs → CasinoFavoritesSectionNd-DaNu3MvW.cjs} +1 -1
  16. package/components/{CasinoFilter-CkYJ0eOt.js → CasinoFilter-BCWz1oTk.js} +1 -1
  17. package/components/{CasinoFilter-D0l3VN_d.cjs → CasinoFilter-BuTe5orC.cjs} +1 -1
  18. package/components/{CasinoFilter-BIKWm2IF.js → CasinoFilter-DDca4HvR.js} +1 -1
  19. package/components/CasinoGameThumbnailNd-BZFft3mV.cjs +30 -0
  20. package/components/CasinoGameThumbnailNd-C5st3HYo.js +2161 -0
  21. package/components/CasinoGameThumbnailNd-DmZ1z_Ep.js +2182 -0
  22. package/components/{CasinoGamesCategorySectionNd-ZAojd4l-.js → CasinoGamesCategorySectionNd-Bd9yVOKq.js} +4 -4
  23. package/components/{CasinoGamesCategorySectionNd-DyPaiPE5.js → CasinoGamesCategorySectionNd-CRC_G0tf.js} +4 -4
  24. package/components/{CasinoGamesCategorySectionNd-Dvx5a8fg.cjs → CasinoGamesCategorySectionNd-CnuWFIZW.cjs} +1 -1
  25. package/components/{CasinoJackpotBanner-DIMJMouV.js → CasinoJackpotBanner-CUzAgmDV.js} +1 -1
  26. package/components/{CasinoJackpotBanner-BLYHdfY2.cjs → CasinoJackpotBanner-Df0XSOav.cjs} +1 -1
  27. package/components/{CasinoJackpotBanner-CPnkJQAK.js → CasinoJackpotBanner-am5ijcAg.js} +1 -1
  28. package/components/{CasinoLastPlayedSectionNd-C1-a6DhW.js → CasinoLastPlayedSectionNd-BSG541hQ.js} +2 -2
  29. package/components/{CasinoLastPlayedSectionNd-7Q2AU9MF.js → CasinoLastPlayedSectionNd-CkcO3kae.js} +2 -2
  30. package/components/{CasinoLastPlayedSectionNd-9l54u_tJ.cjs → CasinoLastPlayedSectionNd-jZMi8f0p.cjs} +1 -1
  31. package/components/{CasinoMostPlayedSectionNd-DpIFuin3.js → CasinoMostPlayedSectionNd-CLgAPKnD.js} +2 -2
  32. package/components/{CasinoMostPlayedSectionNd-B_5BiGEN.js → CasinoMostPlayedSectionNd-DO38x0Mt.js} +2 -2
  33. package/components/{CasinoMostPlayedSectionNd-ZDO8r1kR.cjs → CasinoMostPlayedSectionNd-KIb6q5qp.cjs} +1 -1
  34. package/components/{CasinoMyGamesNd-CRQDXGd1.cjs → CasinoMyGamesNd-BDtIw9eR.cjs} +1 -1
  35. package/components/{CasinoMyGamesNd-BTJcCZrU.js → CasinoMyGamesNd-Crdp3X51.js} +4 -4
  36. package/components/{CasinoMyGamesNd-2eF9NFM4.js → CasinoMyGamesNd-xd3sX6b_.js} +4 -4
  37. package/components/{CasinoPageNd-BSPPsKWc.cjs → CasinoPageNd-CWNJre0Y.cjs} +1 -1
  38. package/components/{CasinoPageNd-CPLVjk7T.js → CasinoPageNd-R99w78L1.js} +9 -9
  39. package/components/{CasinoPageNd-DPvNfXPt.js → CasinoPageNd-tUMTxzsH.js} +9 -9
  40. package/components/{CasinoRandomGame-D9XFXMpp.cjs → CasinoRandomGame-BL2AHwus.cjs} +1 -1
  41. package/components/{CasinoRandomGame-76nuZ0d_.js → CasinoRandomGame-CYp2Y8X7.js} +1 -1
  42. package/components/{CasinoRandomGame-CnxSqZks.js → CasinoRandomGame-jIQKkQCh.js} +1 -1
  43. package/components/{CasinoSearchNd-CK6D6nlb.js → CasinoSearchNd-CUswwuwI.js} +76 -74
  44. package/components/CasinoSearchNd-Cf9SPc2F.cjs +1 -0
  45. package/components/{CasinoSearchNd-SyS5oi9G.js → CasinoSearchNd-Dvju0Ikx.js} +118 -115
  46. package/components/{CasinoSort-BYhlCWwF.js → CasinoSort-D4kke_J0.js} +1 -1
  47. package/components/{CasinoSort-DCpGc4kG.cjs → CasinoSort-D6c5-E7T.cjs} +1 -1
  48. package/components/{CasinoSort-Co5GBGxD.js → CasinoSort-D8H8NPkG.js} +1 -1
  49. package/components/{CasinoWinners-CDBHl69r.cjs → CasinoWinners-C3-9qYmc.cjs} +1 -1
  50. package/components/{CasinoWinners-DHRPOtQx.js → CasinoWinners-CyzCgSgk.js} +3 -3
  51. package/components/{CasinoWinners-CYECAN28.js → CasinoWinners-DhJji7AD.js} +3 -3
  52. package/components/{GeneralAnimationLoading-mF-dcC2g.js → GeneralAnimationLoading-DKkw3Ca0.js} +1 -1
  53. package/components/{GeneralAnimationLoading-BzC-ql35.js → GeneralAnimationLoading-Dgq8umCX.js} +1 -1
  54. package/components/{GeneralAnimationLoading-CzO8-J_p.cjs → GeneralAnimationLoading-eqhqNCpE.cjs} +1 -1
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/lazy/{casino-calendar-C-v8COBG.cjs → casino-calendar-Bzr6fm7i.cjs} +1 -1
  59. package/lazy/{casino-calendar-BHDTKUDG.js → casino-calendar-DivIR-gY.js} +1 -1
  60. package/lazy/{casino-calendar-By6B2yQ3.js → casino-calendar-VgjQiNAE.js} +1 -1
  61. package/lazy/{casino-calendar-daily-details-NBJS2iTN.js → casino-calendar-daily-details-B-NtiKoO.js} +1 -1
  62. package/lazy/{casino-calendar-daily-details-DdGZz0jV.cjs → casino-calendar-daily-details-CAw9jT6L.cjs} +1 -1
  63. package/lazy/{casino-calendar-daily-details--mAoxco-.js → casino-calendar-daily-details-DnsFz6eP.js} +1 -1
  64. package/lazy/{casino-calendar-daily-item-BTOktVYC.cjs → casino-calendar-daily-item-CIF_2nN-.cjs} +1 -1
  65. package/lazy/{casino-calendar-daily-item-ByeDjNCv.js → casino-calendar-daily-item-FMo_e26k.js} +1 -1
  66. package/lazy/{casino-calendar-daily-item-CpHFtNvo.js → casino-calendar-daily-item-pPD6Paul.js} +1 -1
  67. package/lazy/{casino-collections-providers-BS1LoRrA.cjs → casino-collections-providers-BZdlrGhr.cjs} +1 -1
  68. package/lazy/{casino-collections-providers-S__b2tPt.js → casino-collections-providers-D8scupmJ.js} +1 -1
  69. package/lazy/{casino-collections-providers-_3rTEey3.js → casino-collections-providers-l5BGUsQy.js} +1 -1
  70. package/lazy/{casino-favorites-section-nd-BIvXN7FB.js → casino-favorites-section-nd-CuOxHtOA.js} +1 -1
  71. package/lazy/{casino-favorites-section-nd-DkJ_p_Br.cjs → casino-favorites-section-nd-Dfp_hN4Y.cjs} +1 -1
  72. package/lazy/{casino-favorites-section-nd-DNTQt2pJ.js → casino-favorites-section-nd-a-hOSZQP.js} +1 -1
  73. package/lazy/{casino-filter-DaTmAL3s.cjs → casino-filter-CUB3b2yL.cjs} +1 -1
  74. package/lazy/{casino-filter-Be5Xusol.js → casino-filter-CjlehGJj.js} +1 -1
  75. package/lazy/{casino-filter-RYNwo5ZR.js → casino-filter-EBXsFGFs.js} +1 -1
  76. package/lazy/{casino-game-thumbnail-nd-BaT_4vve.cjs → casino-game-thumbnail-nd-By289Pz_.cjs} +1 -1
  77. package/lazy/{casino-game-thumbnail-nd-D1OiBS2v.js → casino-game-thumbnail-nd-Clr1UEvT.js} +1 -1
  78. package/lazy/{casino-game-thumbnail-nd-CylByLQw.js → casino-game-thumbnail-nd-DcE5VZet.js} +1 -1
  79. package/lazy/{casino-games-category-section-nd-Bl0Q72Uw.cjs → casino-games-category-section-nd-BPn9wMaJ.cjs} +1 -1
  80. package/lazy/{casino-games-category-section-nd-CU83DInj.js → casino-games-category-section-nd-Ct2NY6aB.js} +1 -1
  81. package/lazy/{casino-games-category-section-nd-CYPRiia1.js → casino-games-category-section-nd-DRDam3in.js} +1 -1
  82. package/lazy/{casino-jackpot-banner-C9FpIAaz.js → casino-jackpot-banner-Bhh6MGP7.js} +1 -1
  83. package/lazy/{casino-jackpot-banner-q4nyF88R.cjs → casino-jackpot-banner-D4FF6lUv.cjs} +1 -1
  84. package/lazy/{casino-jackpot-banner-BTX7N_5K.js → casino-jackpot-banner-DqF7isT1.js} +1 -1
  85. package/lazy/{casino-last-played-section-nd-X6hW-04h.js → casino-last-played-section-nd-BWJrVET2.js} +1 -1
  86. package/lazy/{casino-last-played-section-nd-CRFNlJKo.js → casino-last-played-section-nd-BjHBWYYC.js} +1 -1
  87. package/lazy/{casino-last-played-section-nd-DX0_PUmo.cjs → casino-last-played-section-nd-Oemx7I-L.cjs} +1 -1
  88. package/lazy/{casino-most-played-section-nd-BD1lHlvE.cjs → casino-most-played-section-nd-DxzcTvkb.cjs} +1 -1
  89. package/lazy/{casino-most-played-section-nd-DpSFrKwc.js → casino-most-played-section-nd-kFD2HAME.js} +1 -1
  90. package/lazy/{casino-most-played-section-nd-HGLAammK.js → casino-most-played-section-nd-miWnfO4f.js} +1 -1
  91. package/lazy/{casino-my-games-nd-Pp5-2B6b.js → casino-my-games-nd-BmzN5oG1.js} +1 -1
  92. package/lazy/{casino-my-games-nd-CVoJYX-O.js → casino-my-games-nd-BybSCufH.js} +1 -1
  93. package/lazy/{casino-my-games-nd-D8piJOdG.cjs → casino-my-games-nd-Dt2yAuwD.cjs} +1 -1
  94. package/lazy/{casino-random-game-B-dBRR1Z.js → casino-random-game-3955gcme.js} +1 -1
  95. package/lazy/{casino-random-game-Dp_kEn3G.cjs → casino-random-game-8yYurStc.cjs} +1 -1
  96. package/lazy/{casino-random-game-Vsf1Vyld.js → casino-random-game-CL2v2mna.js} +1 -1
  97. package/lazy/{casino-search-nd-u4I8rbEO.js → casino-search-nd-BnCL9M7R.js} +1 -1
  98. package/lazy/{casino-search-nd-D5Irlw-u.js → casino-search-nd-Cu01aGCH.js} +1 -1
  99. package/lazy/{casino-search-nd-B705mf9n.cjs → casino-search-nd-DUleR44e.cjs} +1 -1
  100. package/lazy/{casino-sort-BtPgj1rz.js → casino-sort-B7RpLT6x.js} +1 -1
  101. package/lazy/{casino-sort-BDMvX9d1.cjs → casino-sort-DRyQydzF.cjs} +1 -1
  102. package/lazy/{casino-sort-BUGkA1UP.js → casino-sort-DkskQ_ze.js} +1 -1
  103. package/lazy/{casino-winners-Bz5VseD2.js → casino-winners-ClYXc6hb.js} +1 -1
  104. package/lazy/{casino-winners-BobJhBVE.cjs → casino-winners-DZKe6aqN.cjs} +1 -1
  105. package/lazy/{casino-winners-ptMBCD_v.js → casino-winners-D_ZkkFem.js} +1 -1
  106. package/lazy/{general-animation-loading-DqmFisjJ.js → general-animation-loading-BzK8FmBF.js} +1 -1
  107. package/lazy/{general-animation-loading-WMljzNm5.cjs → general-animation-loading-Ugunnl1G.cjs} +1 -1
  108. package/lazy/{general-animation-loading-SLcWxH6l.js → general-animation-loading-vkCIl1qx.js} +1 -1
  109. package/package.json +1 -1
  110. package/components/CasinoGameThumbnailNd-C7V_yfHQ.js +0 -2013
  111. package/components/CasinoGameThumbnailNd-CMw9qzAT.js +0 -2034
  112. package/components/CasinoGameThumbnailNd-dPX7_0ip.cjs +0 -30
  113. package/components/CasinoSearchNd-B6lqbkxk.cjs +0 -1
@@ -1,6 +1,6 @@
1
- import { a as ta, $ as na, S as ra, i as oa, s as sa, f as k, b as ia, n as _e, d as T, W as la, j as f, _ as be, v as se, c as x, e as S, F as K, g as R, h as N, G as ve, k as ca, l as ua, o as ha, p as da, w as U, x as V, r as ke, y as ye, z as ga, A as ma, t as Ee, B as u, H as fa, I as pa, J as Sa, K as wa } from "./CasinoPageNd-DPvNfXPt.js";
2
- import { a as Re, i as _a, b as ba, d as va } from "./CasinoGamesCategorySectionNd-DyPaiPE5.js";
3
- import "../lazy/casino-game-thumbnail-nd-CylByLQw.js";
1
+ import { a as ta, $ as na, S as ra, i as oa, s as sa, f as k, b as ia, n as _e, d as I, W as la, j as f, _ as be, v as se, c as x, e as S, F as K, g as R, h as N, G as ve, k as ca, l as ua, o as ha, p as da, w as U, x as V, r as ke, y as ye, z as ga, A as ma, t as Ee, B as u, H as fa, I as pa, J as Sa, K as wa } from "./CasinoPageNd-tUMTxzsH.js";
2
+ import { a as Re, i as _a, b as ba, d as va } from "./CasinoGamesCategorySectionNd-CRC_G0tf.js";
3
+ import "../lazy/casino-game-thumbnail-nd-DcE5VZet.js";
4
4
  function ka(n, e) {
5
5
  ta(n, e);
6
6
  }
@@ -223,7 +223,7 @@ function Fe(n) {
223
223
  (i[18] ? "NotVisible" : "")) && f(e, "class", o);
224
224
  },
225
225
  d(i) {
226
- i && T(e), l = !1, s();
226
+ i && I(e), l = !1, s();
227
227
  }
228
228
  };
229
229
  }
@@ -244,7 +244,7 @@ function Fa(n) {
244
244
  }
245
245
  let s = l(n), i = s && s(n), c = (
246
246
  /*searchCancelled*/
247
- n[18] === !1 && xe(n)
247
+ n[18] === !1 && Ie(n)
248
248
  ), d = (
249
249
  /*searchValue*/
250
250
  n[16].length >= 2 && /*searchArray*/
@@ -260,14 +260,14 @@ function Fa(n) {
260
260
  },
261
261
  p(h, m) {
262
262
  s === (s = l(h)) && i ? i.p(h, m) : (i && i.d(1), i = s && s(h), i && (i.c(), i.m(e.parentNode, e))), /*searchCancelled*/
263
- h[18] === !1 ? c ? c.p(h, m) : (c = xe(h), c.c(), c.m(a, r)) : c && (c.d(1), c = null), /*searchValue*/
263
+ h[18] === !1 ? c ? c.p(h, m) : (c = Ie(h), c.c(), c.m(a, r)) : c && (c.d(1), c = null), /*searchValue*/
264
264
  h[16].length >= 2 && /*searchArray*/
265
265
  h[15].length == 0 ? d ? d.p(h, m) : (d = ze(h), d.c(), d.m(a, null)) : d && (d.d(1), d = null), m[0] & /*searchActive*/
266
266
  524288 && o !== (o = "SearchResultsContainer " + /*searchActive*/
267
267
  (h[19] == !0 ? "" : "NotVisible")) && f(a, "class", o);
268
268
  },
269
269
  d(h) {
270
- h && (T(e), T(a)), i && i.d(h), c && c.d(), d && d.d();
270
+ h && (I(e), I(a)), i && i.d(h), c && c.d(), d && d.d();
271
271
  }
272
272
  };
273
273
  }
@@ -289,7 +289,7 @@ function La(n) {
289
289
  o[23]("loading") + "") && U(r, a);
290
290
  },
291
291
  d(o) {
292
- o && T(e);
292
+ o && I(e);
293
293
  }
294
294
  };
295
295
  }
@@ -311,7 +311,7 @@ function Ga(n) {
311
311
  o[23]("searchResult") + "") && U(r, a);
312
312
  },
313
313
  d(o) {
314
- o && T(e);
314
+ o && I(e);
315
315
  }
316
316
  };
317
317
  }
@@ -336,7 +336,7 @@ function Ta(n) {
336
336
  l[15].length == 0 ? o ? o.p(l, s) : (o = Ge(l), o.c(), o.m(a.parentNode, a)) : o && (o.d(1), o = null);
337
337
  },
338
338
  d(l) {
339
- l && (T(e), T(a)), r && r.d(l), o && o.d(l);
339
+ l && (I(e), I(a)), r && r.d(l), o && o.d(l);
340
340
  }
341
341
  };
342
342
  }
@@ -358,7 +358,7 @@ function Le(n) {
358
358
  o[23]("recentSearch") + "") && U(r, a);
359
359
  },
360
360
  d(o) {
361
- o && T(e);
361
+ o && I(e);
362
362
  }
363
363
  };
364
364
  }
@@ -387,7 +387,7 @@ function Ge(n) {
387
387
  (c[11] == "true" ? "WithIcon" : "")) && f(e, "class", s);
388
388
  },
389
389
  d(c) {
390
- c && T(e), i && i.d();
390
+ c && I(e), i && i.d();
391
391
  }
392
392
  };
393
393
  }
@@ -401,11 +401,11 @@ function Te(n) {
401
401
  x(a, e, r);
402
402
  },
403
403
  d(a) {
404
- a && T(e);
404
+ a && I(e);
405
405
  }
406
406
  };
407
407
  }
408
- function xe(n) {
408
+ function Ie(n) {
409
409
  let e = [], a = /* @__PURE__ */ new Map(), r, o = ye(
410
410
  /*searchArray*/
411
411
  n[15]
@@ -416,7 +416,7 @@ function xe(n) {
416
416
  );
417
417
  for (let s = 0; s < o.length; s += 1) {
418
418
  let i = Ce(n, o, s), c = l(i);
419
- a.set(c, e[s] = Ie(c, i));
419
+ a.set(c, e[s] = xe(c, i));
420
420
  }
421
421
  return {
422
422
  c() {
@@ -434,17 +434,17 @@ function xe(n) {
434
434
  308319231 && (o = ye(
435
435
  /*searchArray*/
436
436
  s[15]
437
- ), e = ga(e, i, l, 1, s, o, a, r.parentNode, ma, Ie, r, Ce));
437
+ ), e = ga(e, i, l, 1, s, o, a, r.parentNode, ma, xe, r, Ce));
438
438
  },
439
439
  d(s) {
440
- s && T(r);
440
+ s && I(r);
441
441
  for (let i = 0; i < e.length; i += 1)
442
442
  e[i].d(s);
443
443
  }
444
444
  };
445
445
  }
446
- function Ie(n, e) {
447
- let a, r, o, l, s, i, c, d, h, m, b, G, I, P;
446
+ function xe(n, e) {
447
+ let a, r, o, l, s, i, c, d, h, m, b, G, z, P;
448
448
  return {
449
449
  key: n,
450
450
  first: null,
@@ -485,7 +485,7 @@ function Ie(n, e) {
485
485
  e[69]?.icons
486
486
  )), u(a, "gamename", s = /*game*/
487
487
  e[69].name), u(a, "gamevendor", i = /*game*/
488
- e[69].vendor.name), u(a, "gameLaunchUrl", c = /*game*/
488
+ e[69].vendor?.name), u(a, "gameLaunchUrl", c = /*game*/
489
489
  e[69].launchUrl), u(a, "gameisnew", d = /*game*/
490
490
  e[69].isNew), u(a, "gametag", h = /*game*/
491
491
  e[69].advancedTags?.length > 0 && /*addGameTag*/
@@ -500,7 +500,7 @@ function Ie(n, e) {
500
500
  /*showgamename*/
501
501
  e[7]
502
502
  ), u(a, "gamefunmode", G = /*game*/
503
- e[69].hasFunMode), u(a, "gamefavorite", I = /*game*/
503
+ e[69].hasFunMode), u(a, "gamefavorite", z = /*game*/
504
504
  e[69].isFavorite), u(a, "livelobbyendpoint", P = /*game*/
505
505
  e[69].details ? (
506
506
  /*game*/
@@ -542,11 +542,11 @@ function Ie(n, e) {
542
542
  e[12]
543
543
  ), this.first = a;
544
544
  },
545
- m(L, p) {
546
- x(L, a, p);
545
+ m(F, p) {
546
+ x(F, a, p);
547
547
  },
548
- p(L, p) {
549
- e = L, p[0] & /*searchArray*/
548
+ p(F, p) {
549
+ e = F, p[0] & /*searchArray*/
550
550
  32768 && r !== (r = "game-tile-" + /*game*/
551
551
  (e[69].cellSize ? (
552
552
  /*game*/
@@ -592,7 +592,7 @@ function Ie(n, e) {
592
592
  32768 && s !== (s = /*game*/
593
593
  e[69].name) && u(a, "gamename", s), p[0] & /*searchArray*/
594
594
  32768 && i !== (i = /*game*/
595
- e[69].vendor.name) && u(a, "gamevendor", i), p[0] & /*searchArray*/
595
+ e[69].vendor?.name) && u(a, "gamevendor", i), p[0] & /*searchArray*/
596
596
  32768 && c !== (c = /*game*/
597
597
  e[69].launchUrl) && u(a, "gameLaunchUrl", c), p[0] & /*searchArray*/
598
598
  32768 && d !== (d = /*game*/
@@ -615,8 +615,8 @@ function Ie(n, e) {
615
615
  ), p[0] & /*searchArray*/
616
616
  32768 && G !== (G = /*game*/
617
617
  e[69].hasFunMode) && u(a, "gamefunmode", G), p[0] & /*searchArray*/
618
- 32768 && I !== (I = /*game*/
619
- e[69].isFavorite) && u(a, "gamefavorite", I), p[0] & /*searchArray*/
618
+ 32768 && z !== (z = /*game*/
619
+ e[69].isFavorite) && u(a, "gamefavorite", z), p[0] & /*searchArray*/
620
620
  32768 && P !== (P = /*game*/
621
621
  e[69].details ? (
622
622
  /*game*/
@@ -665,8 +665,8 @@ function Ie(n, e) {
665
665
  e[12]
666
666
  );
667
667
  },
668
- d(L) {
669
- L && T(a);
668
+ d(F) {
669
+ F && I(a);
670
670
  }
671
671
  };
672
672
  }
@@ -700,7 +700,7 @@ function ze(n) {
700
700
  (b[11] == "true" ? "WithIcon" : "")) && f(e, "class", h);
701
701
  },
702
702
  d(b) {
703
- b && T(e), m && m.d();
703
+ b && I(e), m && m.d();
704
704
  }
705
705
  };
706
706
  }
@@ -714,12 +714,12 @@ function je(n) {
714
714
  x(a, e, r);
715
715
  },
716
716
  d(a) {
717
- a && T(e);
717
+ a && I(e);
718
718
  }
719
719
  };
720
720
  }
721
- function xa(n) {
722
- let e, a, r, o, l, s, i, c, d, h, m, b, G, I, P, L, p, J, H, A, Z, C = (
721
+ function Ia(n) {
722
+ let e, a, r, o, l, s, i, c, d, h, m, b, G, z, P, F, p, J, H, A, Z, C = (
723
723
  /*cancelbutton*/
724
724
  n[10] === "true" && Fe(n)
725
725
  );
@@ -729,14 +729,14 @@ function xa(n) {
729
729
  w[20] ? La : Fa
730
730
  );
731
731
  }
732
- let O = Q(n), z = O(n);
732
+ let O = Q(n), j = O(n);
733
733
  return {
734
734
  c() {
735
- e = R("div"), a = R("div"), r = R("div"), o = R("div"), o.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" 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="#FFF" stroke-width="1.5"></circle></svg>', l = N(), s = R("input"), c = N(), d = R("span"), h = ve("svg"), m = ve("path"), G = N(), C && C.c(), P = N(), L = R("div"), J = N(), z.c(), f(o, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
735
+ e = R("div"), a = R("div"), r = R("div"), o = R("div"), o.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" 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="#FFF" stroke-width="1.5"></circle></svg>', l = N(), s = R("input"), c = N(), d = R("span"), h = ve("svg"), m = ve("path"), G = N(), C && C.c(), P = N(), F = R("div"), J = N(), j.c(), f(o, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
736
736
  n[23]("placeHolderSearchGames")), f(s, "maxlength", Ne), f(m, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), f(m, "stroke", "#717171"), f(m, "stroke-width", "2"), f(m, "stroke-linecap", "round"), f(m, "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(d, "class", b = "SearchClearButton " + /*cancelbutton*/
737
737
  (n[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
738
- (n[16].length != 0 ? "" : "NotVisible")), f(r, "class", I = "Search " + /*searchCancelled*/
739
- (n[18] ? "" : "SearchAnimation")), f(a, "class", "SearchWrap"), f(L, "class", p = /*cancelbutton*/
738
+ (n[16].length != 0 ? "" : "NotVisible")), f(r, "class", z = "Search " + /*searchCancelled*/
739
+ (n[18] ? "" : "SearchAnimation")), f(a, "class", "SearchWrap"), f(F, "class", p = /*cancelbutton*/
740
740
  n[10] != "true" ? "OverlayCancel" : ""), f(e, "class", H = (se(
741
741
  /*userAgent*/
742
742
  n[24]
@@ -748,7 +748,7 @@ function xa(n) {
748
748
  s,
749
749
  /*searchValue*/
750
750
  n[16]
751
- ), n[42](s), S(r, c), S(r, d), S(d, h), S(h, m), S(r, G), C && C.m(r, null), S(e, P), S(e, L), S(e, J), z.m(e, null), n[45](e), A || (Z = [
751
+ ), n[42](s), S(r, c), S(r, d), S(d, h), S(h, m), S(r, G), C && C.m(r, null), S(e, P), S(e, F), S(e, J), j.m(e, null), n[45](e), A || (Z = [
752
752
  K(
753
753
  s,
754
754
  "input",
@@ -774,7 +774,7 @@ function xa(n) {
774
774
  n[43]
775
775
  ),
776
776
  K(
777
- L,
777
+ F,
778
778
  "click",
779
779
  /*handleOverlay*/
780
780
  n[27]
@@ -795,10 +795,10 @@ function xa(n) {
795
795
  (w[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
796
796
  (w[16].length != 0 ? "" : "NotVisible")) && f(d, "class", b), /*cancelbutton*/
797
797
  w[10] === "true" ? C ? C.p(w, y) : (C = Fe(w), C.c(), C.m(r, null)) : C && (C.d(1), C = null), y[0] & /*searchCancelled*/
798
- 262144 && I !== (I = "Search " + /*searchCancelled*/
799
- (w[18] ? "" : "SearchAnimation")) && f(r, "class", I), y[0] & /*cancelbutton*/
798
+ 262144 && z !== (z = "Search " + /*searchCancelled*/
799
+ (w[18] ? "" : "SearchAnimation")) && f(r, "class", z), y[0] & /*cancelbutton*/
800
800
  1024 && p !== (p = /*cancelbutton*/
801
- w[10] != "true" ? "OverlayCancel" : "") && f(L, "class", p), O === (O = Q(w)) && z ? z.p(w, y) : (z.d(1), z = O(w), z && (z.c(), z.m(e, null))), y[0] & /*enablesearchcontainergrid*/
801
+ w[10] != "true" ? "OverlayCancel" : "") && f(F, "class", p), O === (O = Q(w)) && j ? j.p(w, y) : (j.d(1), j = O(w), j && (j.c(), j.m(e, null))), y[0] & /*enablesearchcontainergrid*/
802
802
  8192 && H !== (H = (se(
803
803
  /*userAgent*/
804
804
  w[24]
@@ -808,23 +808,23 @@ function xa(n) {
808
808
  i: _e,
809
809
  o: _e,
810
810
  d(w) {
811
- w && T(e), n[42](null), C && C.d(), z.d(), n[45](null), A = !1, la(Z);
811
+ w && I(e), n[42](null), C && C.d(), j.d(), n[45](null), A = !1, la(Z);
812
812
  }
813
813
  };
814
814
  }
815
815
  let Ne = 50;
816
- function Ia(n, e, a) {
816
+ function xa(n, e, a) {
817
817
  let r;
818
818
  ca(n, ua, (t) => a(23, r = t));
819
- let { endpoint: o = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { mbsource: d } = e, { clientstyling: h = "" } = e, { clientstylingurl: m = "" } = e, { integratedgameframedesktop: b = "false" } = e, { integratedgameframemobile: G = "false" } = e, { showgamename: I = "" } = e, { gamepagemodalurl: P = "true" } = e, { translationurl: L = "" } = e, { showfavorites: p = "" } = e, { cancelbutton: J = "true" } = e, { notfoundicon: H = "false" } = e, { controlchannel: A = "casino-search" } = e, { allowedorigins: Z = window.location.origin } = e, { requiredicon: C = "false" } = e, { allowsingleclickgameentry: Q = "false" } = e, { enablesearchcontainergrid: O = "false" } = e;
820
- const z = () => (Z || "").split(",").map((t) => t.trim()).filter(Boolean);
819
+ let { endpoint: o = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { mbsource: d } = e, { clientstyling: h = "" } = e, { clientstylingurl: m = "" } = e, { integratedgameframedesktop: b = "false" } = e, { integratedgameframemobile: G = "false" } = e, { showgamename: z = "" } = e, { gamepagemodalurl: P = "true" } = e, { translationurl: F = "" } = e, { showfavorites: p = "" } = e, { cancelbutton: J = "true" } = e, { notfoundicon: H = "false" } = e, { controlchannel: A = "casino-search" } = e, { allowedorigins: Z = window.location.origin } = e, { requiredicon: C = "false" } = e, { allowsingleclickgameentry: Q = "false" } = e, { enablesearchcontainergrid: O = "false" } = e;
820
+ const j = () => (Z || "").split(",").map((t) => t.trim()).filter(Boolean);
821
821
  let w = window.navigator.userAgent, y = [], B = [], ie = {}, D = "", X, te = !0, q = !1, E = !1, M, $, Pe, ne = !1, re, oe, de = [];
822
822
  const le = (t) => {
823
823
  Object.keys(t).forEach((g) => {
824
824
  ka(g, t[g]);
825
825
  });
826
826
  }, De = () => {
827
- fetch(L).then((g) => g.json()).then((g) => {
827
+ fetch(F).then((g) => g.json()).then((g) => {
828
828
  le(g);
829
829
  }).catch((g) => {
830
830
  console.log(g);
@@ -834,7 +834,7 @@ function Ia(n, e, a) {
834
834
  const ge = (t) => {
835
835
  t.data && t.data.type == "SearchedItemClicked" && Je(t.data.gameId), t.data.type == "UserSessionID" && (a(21, re = t.data.session), a(22, oe = t.data.userid), a(40, ne = !0)), t.data.type == "CategoryChange" && ae();
836
836
  try {
837
- const g = t.origin === window.location.origin, _ = z();
837
+ const g = t.origin === window.location.origin, _ = j();
838
838
  if (!(g || _.length > 0 && _.includes(t.origin)) || !t.data || t.data.channel !== A)
839
839
  return;
840
840
  switch (t.data.type) {
@@ -858,17 +858,17 @@ function Ia(n, e, a) {
858
858
  a(15, y = []);
859
859
  let t = localStorage.getItem("searchedGamesWds_casino"), g = [];
860
860
  t && (g = t.split(","));
861
- let _ = [], v = 0, F = g.length;
862
- if (F > 0) {
863
- for (v = 0; v < F; v++) {
864
- let j = new URL(`${o}/v1/casino/games/${g[v]}`);
865
- j.searchParams.append("language", c), j.searchParams.append("datasource", l), j.searchParams.append("platform", se(w)), _.push(Oe(j, g[v]));
861
+ let _ = [], v = 0, T = g.length;
862
+ if (T > 0) {
863
+ for (v = 0; v < T; v++) {
864
+ let L = new URL(`${o}/v1/casino/games/${g[v]}`);
865
+ L.searchParams.append("language", c), L.searchParams.append("datasource", l), L.searchParams.append("platform", se(w)), _.push(Oe(L, g[v]));
866
866
  }
867
- Promise.all(_).then((j) => {
868
- j = j.filter(function(W) {
867
+ Promise.all(_).then((L) => {
868
+ L = L.filter(function(W) {
869
869
  return !!W;
870
- }), a(15, y = j.map((W) => (W.isFavorite = fe(W.id), W))), y.length ? ee("searchSuccess", "SearchWidget") : ee("searchFail", "SearchWidget");
871
- }).catch((j) => {
870
+ }), a(15, y = L.map((W) => (W.isFavorite = fe(W.id), W))), y.length ? ee("searchSuccess", "SearchWidget") : ee("searchFail", "SearchWidget");
871
+ }).catch((L) => {
872
872
  ee("searchError", "SearchWidget");
873
873
  });
874
874
  }
@@ -906,18 +906,20 @@ function Ia(n, e, a) {
906
906
  _(v);
907
907
  });
908
908
  }), Oe = (t, g) => new Promise((_, v) => {
909
- a(20, E = !0), g && Object.keys(ie).indexOf(g) >= 0 ? (a(20, E = !1), _(ie[g])) : fetch(t).then((F) => F.json()).then((F) => {
910
- a(20, E = !1), F.error || (ie[F[0].gameId] = F[0]), _(F[0]);
911
- }).catch((F) => {
912
- a(20, E = !1), console.error(F);
909
+ a(20, E = !0), g && Object.keys(ie).indexOf(g) >= 0 ? (a(20, E = !1), _(ie[g])) : fetch(t).then((T) => T.json()).then((T) => {
910
+ a(20, E = !1);
911
+ const L = T?.[0]?.gameId ? T[0] : null;
912
+ L && (ie[L.gameId] = L), _(L);
913
+ }).catch((T) => {
914
+ a(20, E = !1), console.error(T);
913
915
  try {
914
916
  Y({
915
917
  type: "SearchError",
916
- message: String(F)
918
+ message: String(T)
917
919
  });
918
920
  } catch {
919
921
  }
920
- v(F);
922
+ v(T);
921
923
  });
922
924
  }), We = () => {
923
925
  const t = new URL(`${o}/v1/player/${oe}/favorites/`);
@@ -935,10 +937,10 @@ function Ia(n, e, a) {
935
937
  if (t?.length === 0)
936
938
  return "";
937
939
  let g, _ = 99999999999, v;
938
- const F = new Date(Date.now());
939
- return t.forEach((j, W) => {
940
- const aa = new Date(j.schedules[0].startTime), he = new Date(j.schedules[0].endTime);
941
- Re(new Date(he), new Date(F)) < _ && (_ = Re(new Date(he), new Date(F)), v = W), _a(new Date(F), new Date(aa)) && ba(new Date(F), new Date(he)) && (g = t[v].name);
940
+ const T = new Date(Date.now());
941
+ return t.forEach((L, W) => {
942
+ const aa = new Date(L.schedules[0].startTime), he = new Date(L.schedules[0].endTime);
943
+ Re(new Date(he), new Date(T)) < _ && (_ = Re(new Date(he), new Date(T)), v = W), _a(new Date(T), new Date(aa)) && ba(new Date(T), new Date(he)) && (g = t[v].name);
942
944
  }), g;
943
945
  }, Je = (t) => {
944
946
  if (B = localStorage.getItem("searchedGamesWds_casino"), B ? B = B.split(",") : B = [], B.indexOf(t) === -1) {
@@ -1007,11 +1009,11 @@ function Ia(n, e, a) {
1007
1009
  });
1008
1010
  }
1009
1011
  return n.$$set = (t) => {
1010
- "endpoint" in t && a(0, o = t.endpoint), "datasource" in t && a(32, l = t.datasource), "session" in t && a(33, s = t.session), "userid" in t && a(34, i = t.userid), "lang" in t && a(1, c = t.lang), "mbsource" in t && a(2, d = t.mbsource), "clientstyling" in t && a(3, h = t.clientstyling), "clientstylingurl" in t && a(4, m = t.clientstylingurl), "integratedgameframedesktop" in t && a(5, b = t.integratedgameframedesktop), "integratedgameframemobile" in t && a(6, G = t.integratedgameframemobile), "showgamename" in t && a(7, I = t.showgamename), "gamepagemodalurl" in t && a(8, P = t.gamepagemodalurl), "translationurl" in t && a(35, L = t.translationurl), "showfavorites" in t && a(9, p = t.showfavorites), "cancelbutton" in t && a(10, J = t.cancelbutton), "notfoundicon" in t && a(11, H = t.notfoundicon), "controlchannel" in t && a(36, A = t.controlchannel), "allowedorigins" in t && a(37, Z = t.allowedorigins), "requiredicon" in t && a(38, C = t.requiredicon), "allowsingleclickgameentry" in t && a(12, Q = t.allowsingleclickgameentry), "enablesearchcontainergrid" in t && a(13, O = t.enablesearchcontainergrid);
1012
+ "endpoint" in t && a(0, o = t.endpoint), "datasource" in t && a(32, l = t.datasource), "session" in t && a(33, s = t.session), "userid" in t && a(34, i = t.userid), "lang" in t && a(1, c = t.lang), "mbsource" in t && a(2, d = t.mbsource), "clientstyling" in t && a(3, h = t.clientstyling), "clientstylingurl" in t && a(4, m = t.clientstylingurl), "integratedgameframedesktop" in t && a(5, b = t.integratedgameframedesktop), "integratedgameframemobile" in t && a(6, G = t.integratedgameframemobile), "showgamename" in t && a(7, z = t.showgamename), "gamepagemodalurl" in t && a(8, P = t.gamepagemodalurl), "translationurl" in t && a(35, F = t.translationurl), "showfavorites" in t && a(9, p = t.showfavorites), "cancelbutton" in t && a(10, J = t.cancelbutton), "notfoundicon" in t && a(11, H = t.notfoundicon), "controlchannel" in t && a(36, A = t.controlchannel), "allowedorigins" in t && a(37, Z = t.allowedorigins), "requiredicon" in t && a(38, C = t.requiredicon), "allowsingleclickgameentry" in t && a(12, Q = t.allowsingleclickgameentry), "enablesearchcontainergrid" in t && a(13, O = t.enablesearchcontainergrid);
1011
1013
  }, n.$$.update = () => {
1012
1014
  n.$$.dirty[0] & /*lang*/
1013
1015
  2 && c && Ze(), n.$$.dirty[1] & /*translationurl*/
1014
- 16 && L && De(), n.$$.dirty[1] & /*session, userid*/
1016
+ 16 && F && De(), n.$$.dirty[1] & /*session, userid*/
1015
1017
  12 && s && i && Ue(), n.$$.dirty[0] & /*showfavorites*/
1016
1018
  512 | n.$$.dirty[1] & /*isLoggedIn*/
1017
1019
  512 && p && ne && We(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
@@ -1020,7 +1022,7 @@ function Ia(n, e, a) {
1020
1022
  16388 | n.$$.dirty[1] & /*styleSubscription*/
1021
1023
  256 && d && M && a(39, $ = Sa(M, `${d}.Style`, $, !0)), n.$$.dirty[0] & /*mbsource*/
1022
1024
  4 | n.$$.dirty[1] & /*translationurl*/
1023
- 16 && d && !L && da(`${d}.Translation`, Pe, le);
1025
+ 16 && d && !F && da(`${d}.Translation`, Pe, le);
1024
1026
  }, [
1025
1027
  o,
1026
1028
  c,
@@ -1029,7 +1031,7 @@ function Ia(n, e, a) {
1029
1031
  m,
1030
1032
  b,
1031
1033
  G,
1032
- I,
1034
+ z,
1033
1035
  P,
1034
1036
  p,
1035
1037
  J,
@@ -1057,7 +1059,7 @@ function Ia(n, e, a) {
1057
1059
  l,
1058
1060
  s,
1059
1061
  i,
1060
- L,
1062
+ F,
1061
1063
  A,
1062
1064
  Z,
1063
1065
  C,
@@ -1075,8 +1077,8 @@ class za extends ra {
1075
1077
  super(), oa(
1076
1078
  this,
1077
1079
  e,
1078
- Ia,
1079
1080
  xa,
1081
+ Ia,
1080
1082
  sa,
1081
1083
  {
1082
1084
  endpoint: 0,
@@ -0,0 +1 @@
1
+ "use strict";var We=Object.defineProperty;var ce=Object.getOwnPropertySymbols;var Ue=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable;var ue=(r,t,a)=>t in r?We(r,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[t]=a,de=(r,t)=>{for(var a in t||(t={}))Ue.call(t,a)&&ue(r,a,t[a]);if(ce)for(var a of ce(t))Ve.call(t,a)&&ue(r,a,t[a]);return r};var he=(r,t,a)=>new Promise((s,o)=>{var u=c=>{try{i(a.next(c))}catch(d){o(d)}},l=c=>{try{i(a.throw(c))}catch(d){o(d)}},i=c=>c.done?s(c.value):Promise.resolve(c.value).then(u,l);i((a=a.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoPageNd-CWNJre0Y.cjs"),V=require("./CasinoGamesCategorySectionNd-CnuWFIZW.cjs");require("../lazy/casino-game-thumbnail-nd-By289Pz_.cjs");function Je(r,t){e.addMessages(r,t)}function Ze(r){e.$locale.set(r)}const Ye={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:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",loading:"Kayıt olmak",searchResult:"PARA YATIR",cancel:"İptal:",notFound:"Hepsi",notFoundText:"A-Z",noRecentSearches:"En Yeni",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 Ke(r){e.append_styles(r,"svelte-1kmljoj","*,*::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 10px;position:relative}.CasinoSearch.ResponsiveGrid{container-type:inline-size}.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;color:var(--emw--color-gray-100, #E6E6E6);border:none;background:var(--emw--color-secondary, #194127);border-radius:var(--emw--border-radius-medium, 10px);display:block;font-size:16px;font-weight:300;padding:14px 30px 14px 46px;width:100%;transition:3s}.SearchInput::placeholder{color:var(--emw--color-white, #FFF);font-size:16px;font-weight:300}.SearchInput:focus{background:var(--emw--color-primary, #194127)}.SearchInput:focus-visible{outline-width:0}.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%}}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{gap:var(--emw--casino-category-grid-gap, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-scroll, 237px), 46%), 1fr));grid-template-rows:unset;grid-auto-rows:auto;grid-auto-columns:var(--emw--casino-category-grid-cell-size-scroll, 237px);grid-auto-flow:row dense}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer casino-game-thumbnail-nd{aspect-ratio:3/2}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-2x1{grid-row:span 2;aspect-ratio:unset}@container (max-width: 375px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-2x1{grid-row:span 1;aspect-ratio:3/2}}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-2x2{grid-row:span 2;grid-column:span 2;aspect-ratio:unset}@container (max-width: 375px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-2x2{grid-row:span 1;grid-column:span 1;aspect-ratio:3/2}}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-1x2{grid-column:span 1}}@container (max-width: 836px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{grid-template-columns:repeat(4, 1fr);column-gap:8px;row-gap:4px}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer casino-game-thumbnail-nd{aspect-ratio:16/10}}@container (max-width: 550px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{grid-template-columns:repeat(3, 1fr)}}@container (max-width: 350px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{grid-template-columns:repeat(2, 1fr)}}@container (max-width: 230px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{grid-template-columns:1fr;row-gap:10px}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer casino-game-thumbnail-nd{aspect-ratio:16/9}}@media screen and (max-width: 1300px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:relative;grid-column:1/-1;margin:10px auto 0;z-index:1}casino-game-thumbnail{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:relative;margin:10px auto 0;z-index:1}.Desktop .ResultsContainerError.WithIcon{margin-top:10px}.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 .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 me(r,t,a){const s=r.slice();return s[69]=t[a],s}function ge(r){let t,a=r[23]("cancel")+"",s,o,u,l;return{c(){t=e.element("small"),s=e.text(a),e.attr(t,"class",o="SearchCancelButton "+(r[18]?"NotVisible":""))},m(i,c){e.insert(i,t,c),e.append(t,s),u||(l=e.listen(t,"click",r[44]),u=!0)},p(i,c){c[0]&8388608&&a!==(a=i[23]("cancel")+"")&&e.set_data(s,a),c[0]&262144&&o!==(o="SearchCancelButton "+(i[18]?"NotVisible":""))&&e.attr(t,"class",o)},d(i){i&&e.detach(t),u=!1,l()}}}function Qe(r){let t,a,s,o;function u(h,g){if(h[19]==!0&&h[16].length<2)return et;if(h[15].length!=0)return $e}let l=u(r),i=l&&l(r),c=r[18]===!1&&Se(r),d=r[16].length>=2&&r[15].length==0&&be(r);return{c(){i&&i.c(),t=e.space(),a=e.element("div"),c&&c.c(),s=e.space(),d&&d.c(),e.attr(a,"class",o="SearchResultsContainer "+(r[19]==!0?"":"NotVisible"))},m(h,g){i&&i.m(h,g),e.insert(h,t,g),e.insert(h,a,g),c&&c.m(a,null),e.append(a,s),d&&d.m(a,null)},p(h,g){l===(l=u(h))&&i?i.p(h,g):(i&&i.d(1),i=l&&l(h),i&&(i.c(),i.m(t.parentNode,t))),h[18]===!1?c?c.p(h,g):(c=Se(h),c.c(),c.m(a,s)):c&&(c.d(1),c=null),h[16].length>=2&&h[15].length==0?d?d.p(h,g):(d=be(h),d.c(),d.m(a,null)):d&&(d.d(1),d=null),g[0]&524288&&o!==(o="SearchResultsContainer "+(h[19]==!0?"":"NotVisible"))&&e.attr(a,"class",o)},d(h){h&&(e.detach(t),e.detach(a)),i&&i.d(h),c&&c.d(),d&&d.d()}}}function Xe(r){let t,a=r[23]("loading")+"",s;return{c(){t=e.element("p"),s=e.text(a),e.attr(t,"class","LoadingContent")},m(o,u){e.insert(o,t,u),e.append(t,s)},p(o,u){u[0]&8388608&&a!==(a=o[23]("loading")+"")&&e.set_data(s,a)},d(o){o&&e.detach(t)}}}function $e(r){let t,a=r[23]("searchResult")+"",s;return{c(){t=e.element("p"),s=e.text(a),e.attr(t,"class","SearchMessage")},m(o,u){e.insert(o,t,u),e.append(t,s)},p(o,u){u[0]&8388608&&a!==(a=o[23]("searchResult")+"")&&e.set_data(s,a)},d(o){o&&e.detach(t)}}}function et(r){let t,a,s=r[15].length!==0&&fe(r),o=r[15].length==0&&pe(r);return{c(){s&&s.c(),t=e.space(),o&&o.c(),a=e.empty()},m(u,l){s&&s.m(u,l),e.insert(u,t,l),o&&o.m(u,l),e.insert(u,a,l)},p(u,l){u[15].length!==0?s?s.p(u,l):(s=fe(u),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null),u[15].length==0?o?o.p(u,l):(o=pe(u),o.c(),o.m(a.parentNode,a)):o&&(o.d(1),o=null)},d(u){u&&(e.detach(t),e.detach(a)),s&&s.d(u),o&&o.d(u)}}}function fe(r){let t,a=r[23]("recentSearch")+"",s;return{c(){t=e.element("p"),s=e.text(a),e.attr(t,"class","SearchMessage")},m(o,u){e.insert(o,t,u),e.append(t,s)},p(o,u){u[0]&8388608&&a!==(a=o[23]("recentSearch")+"")&&e.set_data(s,a)},d(o){o&&e.detach(t)}}}function pe(r){let t,a,s,o=r[23]("noRecentSearches")+"",u,l,i=r[11]==="true"&&_e();return{c(){t=e.element("div"),i&&i.c(),a=e.space(),s=e.element("p"),u=e.text(o),e.attr(s,"class","SearchMessage"),e.attr(t,"class",l="ResultsContainerError "+(r[11]=="true"?"WithIcon":""))},m(c,d){e.insert(c,t,d),i&&i.m(t,null),e.append(t,a),e.append(t,s),e.append(s,u)},p(c,d){c[11]==="true"?i||(i=_e(),i.c(),i.m(t,a)):i&&(i.d(1),i=null),d[0]&8388608&&o!==(o=c[23]("noRecentSearches")+"")&&e.set_data(u,o),d[0]&2048&&l!==(l="ResultsContainerError "+(c[11]=="true"?"WithIcon":""))&&e.attr(t,"class",l)},d(c){c&&e.detach(t),i&&i.d()}}}function _e(r){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(a,s){e.insert(a,t,s)},d(a){a&&e.detach(t)}}}function Se(r){let t=[],a=new Map,s,o=e.ensure_array_like(r[15]);const u=l=>l[69].id;for(let l=0;l<o.length;l+=1){let i=me(r,o,l),c=u(i);a.set(c,t[l]=we(c,i))}return{c(){for(let l=0;l<t.length;l+=1)t[l].c();s=e.empty()},m(l,i){for(let c=0;c<t.length;c+=1)t[c]&&t[c].m(l,i);e.insert(l,s,i)},p(l,i){i[0]&308319231&&(o=e.ensure_array_like(l[15]),t=e.update_keyed_each(t,i,u,1,l,o,a,s.parentNode,e.destroy_block,we,s,me))},d(l){l&&e.detach(s);for(let i=0;i<t.length;i+=1)t[i].d(l)}}}function we(r,t){let a,s,o,u,l,i,c,d,h,g,w,C,F,I;return{key:r,first:null,c(){var b,f,L;a=e.element("casino-game-thumbnail-nd"),e.set_custom_element_data(a,"class",s="game-tile-"+(t[69].cellSize?t[69].cellSize:"1x1")),e.set_custom_element_data(a,"endpoint",t[0]),e.set_custom_element_data(a,"session",t[21]),e.set_custom_element_data(a,"userid",t[22]),e.set_custom_element_data(a,"favorites",t[9]),e.set_custom_element_data(a,"lang",t[1]),e.set_custom_element_data(a,"gamethumbnail",o=t[69].thumbnail),e.set_custom_element_data(a,"icon",u=t[25]((b=t[69])==null?void 0:b.icons)),e.set_custom_element_data(a,"gamename",l=t[69].name),e.set_custom_element_data(a,"gamevendor",i=(f=t[69].vendor)==null?void 0:f.name),e.set_custom_element_data(a,"gameLaunchUrl",c=t[69].launchUrl),e.set_custom_element_data(a,"gameisnew",d=t[69].isNew),e.set_custom_element_data(a,"gametag",h=((L=t[69].advancedTags)==null?void 0:L.length)>0&&t[28](t[69].advancedTags)),e.set_custom_element_data(a,"gamecellsize",g=t[69].cellSize),e.set_custom_element_data(a,"gameid",w=t[69].id),e.set_custom_element_data(a,"showgamename",t[7]),e.set_custom_element_data(a,"gamefunmode",C=t[69].hasFunMode),e.set_custom_element_data(a,"gamefavorite",F=t[69].isFavorite),e.set_custom_element_data(a,"livelobbyendpoint",I=t[69].details?t[69].launchUrl:""),e.set_custom_element_data(a,"integratedgameframedesktop",t[5]),e.set_custom_element_data(a,"integratedgameframemobile",t[6]),e.set_custom_element_data(a,"clientstyling",t[3]),e.set_custom_element_data(a,"clientstylingurl",t[4]),e.set_custom_element_data(a,"gamepagemodalurl",t[8]),e.set_custom_element_data(a,"mbsource",t[2]),e.set_custom_element_data(a,"allowsingleclickgameentry",t[12]),this.first=a},m(b,f){e.insert(b,a,f)},p(b,f){var L,z,x;t=b,f[0]&32768&&s!==(s="game-tile-"+(t[69].cellSize?t[69].cellSize:"1x1"))&&e.set_custom_element_data(a,"class",s),f[0]&1&&e.set_custom_element_data(a,"endpoint",t[0]),f[0]&2097152&&e.set_custom_element_data(a,"session",t[21]),f[0]&4194304&&e.set_custom_element_data(a,"userid",t[22]),f[0]&512&&e.set_custom_element_data(a,"favorites",t[9]),f[0]&2&&e.set_custom_element_data(a,"lang",t[1]),f[0]&32768&&o!==(o=t[69].thumbnail)&&e.set_custom_element_data(a,"gamethumbnail",o),f[0]&32768&&u!==(u=t[25]((L=t[69])==null?void 0:L.icons))&&e.set_custom_element_data(a,"icon",u),f[0]&32768&&l!==(l=t[69].name)&&e.set_custom_element_data(a,"gamename",l),f[0]&32768&&i!==(i=(z=t[69].vendor)==null?void 0:z.name)&&e.set_custom_element_data(a,"gamevendor",i),f[0]&32768&&c!==(c=t[69].launchUrl)&&e.set_custom_element_data(a,"gameLaunchUrl",c),f[0]&32768&&d!==(d=t[69].isNew)&&e.set_custom_element_data(a,"gameisnew",d),f[0]&32768&&h!==(h=((x=t[69].advancedTags)==null?void 0:x.length)>0&&t[28](t[69].advancedTags))&&e.set_custom_element_data(a,"gametag",h),f[0]&32768&&g!==(g=t[69].cellSize)&&e.set_custom_element_data(a,"gamecellsize",g),f[0]&32768&&w!==(w=t[69].id)&&e.set_custom_element_data(a,"gameid",w),f[0]&128&&e.set_custom_element_data(a,"showgamename",t[7]),f[0]&32768&&C!==(C=t[69].hasFunMode)&&e.set_custom_element_data(a,"gamefunmode",C),f[0]&32768&&F!==(F=t[69].isFavorite)&&e.set_custom_element_data(a,"gamefavorite",F),f[0]&32768&&I!==(I=t[69].details?t[69].launchUrl:"")&&e.set_custom_element_data(a,"livelobbyendpoint",I),f[0]&32&&e.set_custom_element_data(a,"integratedgameframedesktop",t[5]),f[0]&64&&e.set_custom_element_data(a,"integratedgameframemobile",t[6]),f[0]&8&&e.set_custom_element_data(a,"clientstyling",t[3]),f[0]&16&&e.set_custom_element_data(a,"clientstylingurl",t[4]),f[0]&256&&e.set_custom_element_data(a,"gamepagemodalurl",t[8]),f[0]&4&&e.set_custom_element_data(a,"mbsource",t[2]),f[0]&4096&&e.set_custom_element_data(a,"allowsingleclickgameentry",t[12])},d(b){b&&e.detach(a)}}}function be(r){let t,a,s,o=r[23]("notFound")+"",u,l,i,c=r[23]("notFoundText")+"",d,h,g=r[11]==="true"&&ve();return{c(){t=e.element("div"),g&&g.c(),a=e.space(),s=e.element("p"),u=e.text(o),l=e.space(),i=e.element("p"),d=e.text(c),e.attr(s,"class","SearchMessage"),e.attr(t,"class",h="ResultsContainerError "+(r[11]=="true"?"WithIcon":""))},m(w,C){e.insert(w,t,C),g&&g.m(t,null),e.append(t,a),e.append(t,s),e.append(s,u),e.append(t,l),e.append(t,i),e.append(i,d)},p(w,C){w[11]==="true"?g||(g=ve(),g.c(),g.m(t,a)):g&&(g.d(1),g=null),C[0]&8388608&&o!==(o=w[23]("notFound")+"")&&e.set_data(u,o),C[0]&8388608&&c!==(c=w[23]("notFoundText")+"")&&e.set_data(d,c),C[0]&2048&&h!==(h="ResultsContainerError "+(w[11]=="true"?"WithIcon":""))&&e.attr(t,"class",h)},d(w){w&&e.detach(t),g&&g.d()}}}function ve(r){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(a,s){e.insert(a,t,s)},d(a){a&&e.detach(t)}}}function tt(r){let t,a,s,o,u,l,i,c,d,h,g,w,C,F,I,b,f,L,z,x,A,k=r[10]==="true"&&ge(r);function O(p,v){return p[20]?Xe:Qe}let M=O(r),G=M(r);return{c(){t=e.element("div"),a=e.element("div"),s=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="#FFF" 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="#FFF" stroke-width="1.5"></circle></svg>',u=e.space(),l=e.element("input"),c=e.space(),d=e.element("span"),h=e.svg_element("svg"),g=e.svg_element("path"),C=e.space(),k&&k.c(),I=e.space(),b=e.element("div"),L=e.space(),G.c(),e.attr(o,"class","SearchIcon"),e.attr(l,"class","SearchInput"),e.attr(l,"type","search"),e.attr(l,"placeholder",i=r[23]("placeHolderSearchGames")),e.attr(l,"maxlength",ye),e.attr(g,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),e.attr(g,"stroke","#717171"),e.attr(g,"stroke-width","2"),e.attr(g,"stroke-linecap","round"),e.attr(g,"stroke-linejoin","round"),e.attr(h,"width","11"),e.attr(h,"height","11"),e.attr(h,"fill","none"),e.attr(h,"xmlns","http://www.w3.org/2000/svg"),e.attr(d,"class",w="SearchClearButton "+(r[10]!="true"?"WithoutCancel":"")+" "+(r[16].length!=0?"":"NotVisible")),e.attr(s,"class",F="Search "+(r[18]?"":"SearchAnimation")),e.attr(a,"class","SearchWrap"),e.attr(b,"class",f=r[10]!="true"?"OverlayCancel":""),e.attr(t,"class",z=(e.getDevice(r[24])!=="PC"?"":"Desktop")+" CasinoSearch "+(r[13]==="true"?"ResponsiveGrid":""))},m(p,v){e.insert(p,t,v),e.append(t,a),e.append(a,s),e.append(s,o),e.append(s,u),e.append(s,l),e.set_input_value(l,r[16]),r[42](l),e.append(s,c),e.append(s,d),e.append(d,h),e.append(h,g),e.append(s,C),k&&k.m(s,null),e.append(t,I),e.append(t,b),e.append(t,L),G.m(t,null),r[45](t),x||(A=[e.listen(l,"input",r[41]),e.listen(l,"focus",r[26]),e.listen(l,"input",r[31]),e.listen(d,"click",r[43]),e.listen(b,"click",r[27])],x=!0)},p(p,v){v[0]&8388608&&i!==(i=p[23]("placeHolderSearchGames"))&&e.attr(l,"placeholder",i),v[0]&65536&&l.value!==p[16]&&e.set_input_value(l,p[16]),v[0]&66560&&w!==(w="SearchClearButton "+(p[10]!="true"?"WithoutCancel":"")+" "+(p[16].length!=0?"":"NotVisible"))&&e.attr(d,"class",w),p[10]==="true"?k?k.p(p,v):(k=ge(p),k.c(),k.m(s,null)):k&&(k.d(1),k=null),v[0]&262144&&F!==(F="Search "+(p[18]?"":"SearchAnimation"))&&e.attr(s,"class",F),v[0]&1024&&f!==(f=p[10]!="true"?"OverlayCancel":"")&&e.attr(b,"class",f),M===(M=O(p))&&G?G.p(p,v):(G.d(1),G=M(p),G&&(G.c(),G.m(t,null))),v[0]&8192&&z!==(z=(e.getDevice(p[24])!=="PC"?"":"Desktop")+" CasinoSearch "+(p[13]==="true"?"ResponsiveGrid":""))&&e.attr(t,"class",z)},i:e.noop,o:e.noop,d(p){p&&e.detach(t),r[42](null),k&&k.d(),G.d(),r[45](null),x=!1,e.run_all(A)}}}let ye=50;function at(r,t,a){let s;e.component_subscribe(r,e.$format,n=>a(23,s=n));let{endpoint:o=""}=t,{datasource:u=""}=t,{session:l=""}=t,{userid:i=""}=t,{lang:c="en"}=t,{mbsource:d}=t,{clientstyling:h=""}=t,{clientstylingurl:g=""}=t,{integratedgameframedesktop:w="false"}=t,{integratedgameframemobile:C="false"}=t,{showgamename:F=""}=t,{gamepagemodalurl:I="true"}=t,{translationurl:b=""}=t,{showfavorites:f=""}=t,{cancelbutton:L="true"}=t,{notfoundicon:z="false"}=t,{controlchannel:x="casino-search"}=t,{allowedorigins:A=window.location.origin}=t,{requiredicon:k="false"}=t,{allowsingleclickgameentry:O="false"}=t,{enablesearchcontainergrid:M="false"}=t;const G=()=>(A||"").split(",").map(n=>n.trim()).filter(Boolean);let p=window.navigator.userAgent,v=[],D=[],Q={},E="",q,J=!0,N=!1,T=!1,P,H,Re,Z=!1,Y,K,ae=[];const X=n=>{Object.keys(n).forEach(m=>{Je(m,n[m])})},Ce=()=>{fetch(b).then(m=>m.json()).then(m=>{X(m)}).catch(m=>{console.log(m)})};X(Ye);const ne=n=>{var m;n.data&&n.data.type=="SearchedItemClicked"&&Ne(n.data.gameId),n.data.type=="UserSessionID"&&(a(21,Y=n.data.session),a(22,K=n.data.userid),a(40,Z=!0)),n.data.type=="CategoryChange"&&U();try{const _=n.origin===window.location.origin,S=G();if(!(_||S.length>0&&S.includes(n.origin))||!n.data||n.data.channel!==x)return;switch(n.data.type){case"OpenSearch":ee();break;case"CloseSearch":re();break;case"ToggleSearch":Le();break;case"SetSearchQuery":Ge(String((m=n.data.value)!=null?m:""));break}}catch(_){}},Fe=n=>k!=="true"?void 0:Object.values(n!=null?n:{}).pop(),$=()=>{if(a(18,J=!1),a(19,N=!0),o&&u&&c&&E.length<2){a(15,v=[]);let n=localStorage.getItem("searchedGamesWds_casino"),m=[];n&&(m=n.split(","));let _=[],S=0,y=m.length;if(y>0){for(S=0;S<y;S++){let R=new URL(`${o}/v1/casino/games/${m[S]}`);R.searchParams.append("language",c),R.searchParams.append("datasource",u),R.searchParams.append("platform",e.getDevice(p)),_.push(Ie(R,m[S]))}Promise.all(_).then(R=>{R=R.filter(function(j){return!!j}),a(15,v=R.map(j=>(j.isFavorite=se(j.id),j))),v.length?W("searchSuccess","SearchWidget"):W("searchFail","SearchWidget")}).catch(R=>{W("searchError","SearchWidget")})}}le(N),W("searchAttempt","SearchWidget"),W("SearchInitialized","SearchWidget")};function ee(){N||($(),requestAnimationFrame(()=>q==null?void 0:q.focus()),B({type:"SearchOpen"}))}function re(){N&&(U(),B({type:"SearchClose"}))}function Le(){N?re():ee()}function Ge(n){a(16,E=(n!=null?n:"").slice(0,ye)),N||ee(),ie()}const W=(n,m)=>{typeof gtag=="function"&&gtag("event",n,{context:m})},xe=()=>{L!="true"&&U()},Te=n=>new Promise((m,_)=>{a(20,T=!0),fetch(n.href).then(S=>S.json()).then(S=>{a(20,T=!1),m(S)}).catch(S=>{a(20,T=!1),console.error(S);try{B({type:"SearchError",message:String(S)})}catch(y){}_(S)})}),Ie=(n,m)=>new Promise((_,S)=>{a(20,T=!0),m&&Object.keys(Q).indexOf(m)>=0?(a(20,T=!1),_(Q[m])):fetch(n).then(y=>y.json()).then(y=>{var j;a(20,T=!1);const R=(j=y==null?void 0:y[0])!=null&&j.gameId?y[0]:null;R&&(Q[R.gameId]=R),_(R)}).catch(y=>{a(20,T=!1),console.error(y);try{B({type:"SearchError",message:String(y)})}catch(R){}S(y)})}),ze=()=>{const n=new URL(`${o}/v1/player/${K}/favorites/`);a(20,T=!0);let m={method:"GET",headers:{"X-SessionID":Y}};fetch(n.href,m).then(_=>_.json()).then(_=>{a(20,T=!1),ae=_.items.map(S=>S.id)})},je=()=>{a(40,Z=!0),a(21,Y=l),a(22,K=i)},se=n=>ae.findIndex(m=>m==n)!==-1,Ee=n=>{if((n==null?void 0:n.length)===0)return"";let m,_=99999999999,S;const y=new Date(Date.now());return n.forEach((R,j)=>{const He=new Date(R.schedules[0].startTime),te=new Date(R.schedules[0].endTime);V.differenceInMilliseconds(new Date(te),new Date(y))<_&&(_=V.differenceInMilliseconds(new Date(te),new Date(y)),S=j),V.isAfter(new Date(y),new Date(He))&&V.isBefore(new Date(y),new Date(te))&&(m=n[S].name)}),m},Ne=n=>{if(D=localStorage.getItem("searchedGamesWds_casino"),D?D=D.split(","):D=[],D.indexOf(n)===-1){let m;D.unshift(n),m=D.join(","),localStorage.setItem("searchedGamesWds_casino",m)}},U=()=>{a(16,E=""),a(18,J=!0),a(20,T=!1),a(15,v=[]),a(19,N=!1),le(N)},oe=()=>{a(16,E=""),q.focus()},le=n=>{window.postMessage({type:n===!0?"searchActive":"searchCancelled",searchStatus:n},window.location.href),B({type:n?"SearchOpen":"SearchClose"})};function B(n){try{const m=de({channel:x},n);window.postMessage(m,window.location.href)}catch(m){}}const Pe=()=>{Ze(c)},ie=()=>he(this,null,function*(){if(E.length>=2){const n=new URL(`${o}/v1/casino/games`);n.searchParams.append("datasource",u),n.searchParams.append("expand","vendor"),n.searchParams.append("platform",e.getDevice(p)),n.searchParams.append("language",c),n.searchParams.append("pagination","offset=0,limit=30"),n.searchParams.append("filter",`name=${E}`),Te(n).then(m=>{if(m.error)throw m.error;a(15,v=m.items.map(_=>(_.isFavorite=se(_.id),_)));try{B({type:"SearchResults",count:v.length})}catch(_){}}).catch(m=>{console.error(m),a(15,v=[])})}else J||$()}),De=V.debounce(ie,500);e.onMount(()=>(window.addEventListener("message",ne,!1),()=>{H&&H.unsubscribe(),window.removeEventListener("message",ne)}));function Me(){E=this.value,a(16,E)}function qe(n){e.binding_callbacks[n?"unshift":"push"](()=>{q=n,a(17,q)})}const Ae=()=>oe(),Be=()=>U();function Oe(n){e.binding_callbacks[n?"unshift":"push"](()=>{P=n,a(14,P)})}return r.$$set=n=>{"endpoint"in n&&a(0,o=n.endpoint),"datasource"in n&&a(32,u=n.datasource),"session"in n&&a(33,l=n.session),"userid"in n&&a(34,i=n.userid),"lang"in n&&a(1,c=n.lang),"mbsource"in n&&a(2,d=n.mbsource),"clientstyling"in n&&a(3,h=n.clientstyling),"clientstylingurl"in n&&a(4,g=n.clientstylingurl),"integratedgameframedesktop"in n&&a(5,w=n.integratedgameframedesktop),"integratedgameframemobile"in n&&a(6,C=n.integratedgameframemobile),"showgamename"in n&&a(7,F=n.showgamename),"gamepagemodalurl"in n&&a(8,I=n.gamepagemodalurl),"translationurl"in n&&a(35,b=n.translationurl),"showfavorites"in n&&a(9,f=n.showfavorites),"cancelbutton"in n&&a(10,L=n.cancelbutton),"notfoundicon"in n&&a(11,z=n.notfoundicon),"controlchannel"in n&&a(36,x=n.controlchannel),"allowedorigins"in n&&a(37,A=n.allowedorigins),"requiredicon"in n&&a(38,k=n.requiredicon),"allowsingleclickgameentry"in n&&a(12,O=n.allowsingleclickgameentry),"enablesearchcontainergrid"in n&&a(13,M=n.enablesearchcontainergrid)},r.$$.update=()=>{r.$$.dirty[0]&2&&c&&Pe(),r.$$.dirty[1]&16&&b&&Ce(),r.$$.dirty[1]&12&&l&&i&&je(),r.$$.dirty[0]&512|r.$$.dirty[1]&512&&f&&Z&&ze(),r.$$.dirty[0]&16392&&h&&P&&e.setClientStyling(P,h),r.$$.dirty[0]&16400&&g&&P&&e.setClientStylingURL(P,g),r.$$.dirty[0]&16388|r.$$.dirty[1]&256&&d&&P&&a(39,H=e.setStreamStyling(P,`${d}.Style`,H,!0)),r.$$.dirty[0]&4|r.$$.dirty[1]&16&&d&&!b&&e.getStreamTranslations(`${d}.Translation`,Re,X)},[o,c,d,h,g,w,C,F,I,f,L,z,O,M,P,v,E,q,J,N,T,Y,K,s,p,Fe,$,xe,Ee,U,oe,De,u,l,i,b,x,A,k,H,Z,Me,qe,Ae,Be,Oe]}class ke extends e.SvelteComponent{constructor(t){super(),e.init(this,t,at,tt,e.safe_not_equal,{endpoint:0,datasource:32,session:33,userid:34,lang:1,mbsource:2,clientstyling:3,clientstylingurl:4,integratedgameframedesktop:5,integratedgameframemobile:6,showgamename:7,gamepagemodalurl:8,translationurl:35,showfavorites:9,cancelbutton:10,notfoundicon:11,controlchannel:36,allowedorigins:37,requiredicon:38,allowsingleclickgameentry:12,enablesearchcontainergrid:13},Ke,[-1,-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[32]}set datasource(t){this.$$set({datasource:t}),e.flush()}get session(){return this.$$.ctx[33]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[34]}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 mbsource(){return this.$$.ctx[2]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[5]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[6]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get showgamename(){return this.$$.ctx[7]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[8]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get translationurl(){return this.$$.ctx[35]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showfavorites(){return this.$$.ctx[9]}set showfavorites(t){this.$$set({showfavorites:t}),e.flush()}get cancelbutton(){return this.$$.ctx[10]}set cancelbutton(t){this.$$set({cancelbutton:t}),e.flush()}get notfoundicon(){return this.$$.ctx[11]}set notfoundicon(t){this.$$set({notfoundicon:t}),e.flush()}get controlchannel(){return this.$$.ctx[36]}set controlchannel(t){this.$$set({controlchannel:t}),e.flush()}get allowedorigins(){return this.$$.ctx[37]}set allowedorigins(t){this.$$set({allowedorigins:t}),e.flush()}get requiredicon(){return this.$$.ctx[38]}set requiredicon(t){this.$$set({requiredicon:t}),e.flush()}get allowsingleclickgameentry(){return this.$$.ctx[12]}set allowsingleclickgameentry(t){this.$$set({allowsingleclickgameentry:t}),e.flush()}get enablesearchcontainergrid(){return this.$$.ctx[13]}set enablesearchcontainergrid(t){this.$$set({enablesearchcontainergrid:t}),e.flush()}}e.create_custom_element(ke,{endpoint:{},datasource:{},session:{},userid:{},lang:{},mbsource:{},clientstyling:{},clientstylingurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},showgamename:{},gamepagemodalurl:{},translationurl:{},showfavorites:{},cancelbutton:{},notfoundicon:{},controlchannel:{},allowedorigins:{},requiredicon:{},allowsingleclickgameentry:{},enablesearchcontainergrid:{}},[],[],!0);exports.default=ke;