@everymatrix/casino-page-nd 1.85.21 → 1.85.22

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 (60) hide show
  1. package/components/{CasinoFavoritesSectionNd-CdQ3fLwT.js → CasinoFavoritesSectionNd-BG6pm2Zc.js} +1 -1
  2. package/components/{CasinoFavoritesSectionNd-C_MI3OzV.cjs → CasinoFavoritesSectionNd-BLXqyURj.cjs} +1 -1
  3. package/components/{CasinoFavoritesSectionNd-DGVHkXZG.js → CasinoFavoritesSectionNd-BSBUjl98.js} +1 -1
  4. package/components/{CasinoGameThumbnailNd-BbXXVZTj.js → CasinoGameThumbnailNd-BJOwb878.js} +682 -710
  5. package/components/{CasinoGameThumbnailNd-t_P0DlOE.js → CasinoGameThumbnailNd-BhMXUEuY.js} +517 -536
  6. package/components/CasinoGameThumbnailNd-C7-a2gFP.cjs +30 -0
  7. package/components/{CasinoGamesCategorySectionNd-CqhMaxDs.js → CasinoGamesCategorySectionNd-4Y9j2CTp.js} +515 -567
  8. package/components/{CasinoGamesCategorySectionNd-X5VTJMrS.js → CasinoGamesCategorySectionNd-CcIA7A2_.js} +733 -785
  9. package/components/CasinoGamesCategorySectionNd-DFjizJHZ.cjs +1 -0
  10. package/components/{CasinoLastPlayedSectionNd-DF1S3XPY.js → CasinoLastPlayedSectionNd-B-qpM121.js} +1 -1
  11. package/components/{CasinoLastPlayedSectionNd-CtEdE2cy.js → CasinoLastPlayedSectionNd-C2_p1XnX.js} +1 -1
  12. package/components/{CasinoLastPlayedSectionNd-DhkX1ZI6.cjs → CasinoLastPlayedSectionNd-vCZFhZlA.cjs} +1 -1
  13. package/components/{CasinoMostPlayedSectionNd-gglzqL6T.js → CasinoMostPlayedSectionNd-BPgmDns2.js} +1 -1
  14. package/components/{CasinoMostPlayedSectionNd-DmrDQQ7m.js → CasinoMostPlayedSectionNd-CzImrQ3h.js} +1 -1
  15. package/components/{CasinoMostPlayedSectionNd-Dp2x0yW4.cjs → CasinoMostPlayedSectionNd-uB4-C_na.cjs} +1 -1
  16. package/components/{CasinoMyGamesNd-CBtEwTf_.js → CasinoMyGamesNd-Bop6WAH3.js} +191 -190
  17. package/components/CasinoMyGamesNd-C-1cL3yu.cjs +1 -0
  18. package/components/{CasinoMyGamesNd-Bs3mGR1p.js → CasinoMyGamesNd-CKRn9fvF.js} +206 -203
  19. package/components/CasinoPageNd-AVCfA1IM.cjs +1 -0
  20. package/components/{CasinoPageNd-CjrxsCq6.js → CasinoPageNd-C6N29yee.js} +545 -543
  21. package/components/{CasinoPageNd-G4pRO4no.js → CasinoPageNd-DwyUEhz5.js} +206 -204
  22. package/components/{CasinoSearchNd-Bhmpq1GZ.js → CasinoSearchNd-Bkbd55Uy.js} +225 -223
  23. package/components/{CasinoSearchNd-DUYxZ6-B.js → CasinoSearchNd-KS2rbEcX.js} +221 -219
  24. package/components/{CasinoSearchNd-CmYrhX5G.cjs → CasinoSearchNd-ik5X5b1Y.cjs} +1 -1
  25. package/components/{CasinoWinners-CtJGIZpT.js → CasinoWinners--Sn5RpG3.js} +181 -178
  26. package/components/{CasinoWinners-Ck1T1TfT.js → CasinoWinners-BXqKa3QL.js} +279 -276
  27. package/components/CasinoWinners-DGEdj61G.cjs +1 -0
  28. package/es2015/casino-page-nd.cjs +1 -1
  29. package/es2015/casino-page-nd.js +1 -1
  30. package/esnext/casino-page-nd.js +1 -1
  31. package/lazy/{casino-favorites-section-nd-CevH4fK5.cjs → casino-favorites-section-nd-BhI8Zirm.cjs} +1 -1
  32. package/lazy/{casino-favorites-section-nd-B-1RMBLm.js → casino-favorites-section-nd-CA-sShLT.js} +1 -1
  33. package/lazy/{casino-favorites-section-nd-_typwKZ1.js → casino-favorites-section-nd-DgsE3inV.js} +1 -1
  34. package/lazy/{casino-game-thumbnail-nd-DoOJu9R7.js → casino-game-thumbnail-nd-BRX8CtFL.js} +1 -1
  35. package/lazy/{casino-game-thumbnail-nd-CKVLon-j.cjs → casino-game-thumbnail-nd-BxXa51lv.cjs} +1 -1
  36. package/lazy/{casino-game-thumbnail-nd-dFbVs_2u.js → casino-game-thumbnail-nd-N5nWpTDy.js} +1 -1
  37. package/lazy/{casino-games-category-section-nd-C_ncobUK.cjs → casino-games-category-section-nd-BmDDmO6k.cjs} +1 -1
  38. package/lazy/{casino-games-category-section-nd-BY8uevwS.js → casino-games-category-section-nd-CbFAe4SQ.js} +1 -1
  39. package/lazy/{casino-games-category-section-nd-fYOh5LHt.js → casino-games-category-section-nd-CoFLpfgi.js} +1 -1
  40. package/lazy/{casino-last-played-section-nd-B5ndbQzM.js → casino-last-played-section-nd-C8Muv-kQ.js} +1 -1
  41. package/lazy/{casino-last-played-section-nd-DbZTADJN.js → casino-last-played-section-nd-DRDk-3RU.js} +1 -1
  42. package/lazy/{casino-last-played-section-nd-zuVW35-E.cjs → casino-last-played-section-nd-s6pPWeNP.cjs} +1 -1
  43. package/lazy/{casino-most-played-section-nd-DecDOWVk.cjs → casino-most-played-section-nd-B5XtMtEZ.cjs} +1 -1
  44. package/lazy/{casino-most-played-section-nd-D_eTY5lQ.js → casino-most-played-section-nd-CDI47ytS.js} +1 -1
  45. package/lazy/{casino-most-played-section-nd-lPxEY5hn.js → casino-most-played-section-nd-CFFQjWF1.js} +1 -1
  46. package/lazy/{casino-my-games-nd-D-8jZF2r.cjs → casino-my-games-nd-2gWCduhh.cjs} +1 -1
  47. package/lazy/{casino-my-games-nd-D-mbXiY1.js → casino-my-games-nd-C38wNBeh.js} +1 -1
  48. package/lazy/{casino-my-games-nd-DjtL18L_.js → casino-my-games-nd-DA1cUHJd.js} +1 -1
  49. package/lazy/{casino-search-nd-BEpC-U-4.js → casino-search-nd-1gebmJnT.js} +1 -1
  50. package/lazy/{casino-search-nd-C3y3c6pI.js → casino-search-nd-D2pb2tim.js} +1 -1
  51. package/lazy/{casino-search-nd-C-AkKlS2.cjs → casino-search-nd-D8GPyMVJ.cjs} +1 -1
  52. package/lazy/{casino-winners-BEkC1nlL.js → casino-winners-CDoQxoRf.js} +1 -1
  53. package/lazy/{casino-winners-DGkIqi7j.cjs → casino-winners-DwTj0vSa.cjs} +1 -1
  54. package/lazy/{casino-winners-BuBN4hdI.js → casino-winners-qCV1DXuS.js} +1 -1
  55. package/package.json +1 -1
  56. package/components/CasinoGameThumbnailNd-fBv7VBUI.cjs +0 -30
  57. package/components/CasinoGamesCategorySectionNd-BmZsIuGe.cjs +0 -1
  58. package/components/CasinoMyGamesNd-mlkg-cR2.cjs +0 -1
  59. package/components/CasinoPageNd-ei50Ymi8.cjs +0 -1
  60. package/components/CasinoWinners-D5jx9aZ9.cjs +0 -1
@@ -1,40 +1,40 @@
1
1
  var nt = Object.defineProperty;
2
- var fe = Object.getOwnPropertySymbols;
2
+ var pe = Object.getOwnPropertySymbols;
3
3
  var rt = Object.prototype.hasOwnProperty, ot = Object.prototype.propertyIsEnumerable;
4
- var pe = (a, e, t) => e in a ? nt(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t, Se = (a, e) => {
4
+ var Se = (a, e, t) => e in a ? nt(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t, _e = (a, e) => {
5
5
  for (var t in e || (e = {}))
6
- rt.call(e, t) && pe(a, t, e[t]);
7
- if (fe)
8
- for (var t of fe(e))
9
- ot.call(e, t) && pe(a, t, e[t]);
6
+ rt.call(e, t) && Se(a, t, e[t]);
7
+ if (pe)
8
+ for (var t of pe(e))
9
+ ot.call(e, t) && Se(a, t, e[t]);
10
10
  return a;
11
11
  };
12
- var _e = (a, e, t) => new Promise((r, o) => {
12
+ var we = (a, e, t) => new Promise((r, o) => {
13
13
  var l = (c) => {
14
14
  try {
15
15
  i(t.next(c));
16
- } catch (d) {
17
- o(d);
16
+ } catch (h) {
17
+ o(h);
18
18
  }
19
19
  }, s = (c) => {
20
20
  try {
21
21
  i(t.throw(c));
22
- } catch (d) {
23
- o(d);
22
+ } catch (h) {
23
+ o(h);
24
24
  }
25
25
  }, i = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(l, s);
26
26
  i((t = t.apply(a, e)).next());
27
27
  });
28
- import { a as st, $ as lt, S as it, i as ct, s as ut, f as F, b as ht, n as we, d as I, M as dt, r as p, Q as be, h as G, p as w, A as K, j as R, B as D, F as ve, P as le, k as gt, o as mt, m as x, q as W, C as ke, v as ye, w as ft, T as De, E as u, H as pt, I as St, J as _t, K as wt, L as bt } from "./CasinoCalendar-BpwU4Nrb.js";
29
- import "../lazy/casino-game-thumbnail-nd-dFbVs_2u.js";
30
- import { d as Re, i as vt, a as kt } from "./CasinoGameThumbnailNd-BbXXVZTj.js";
31
- function Ce(a, e) {
28
+ import { a as st, $ as lt, S as it, i as ct, s as ut, f as F, b as ht, n as be, d as I, M as dt, r as p, Q as ve, h as G, p as w, A as K, j as R, B as D, F as ye, P as ie, k as gt, o as mt, m as x, q as W, C as ke, v as Re, w as ft, T as Pe, E as u, H as pt, I as St, J as _t, K as wt, L as bt } from "./CasinoCalendar-BpwU4Nrb.js";
29
+ import "../lazy/casino-game-thumbnail-nd-N5nWpTDy.js";
30
+ import { g as vt, d as Ce, i as yt, a as kt } from "./CasinoGameThumbnailNd-BJOwb878.js";
31
+ function Rt(a, e) {
32
32
  st(a, e);
33
33
  }
34
- function yt(a) {
34
+ function Ct(a) {
35
35
  lt.set(a);
36
36
  }
37
- const Fe = {
37
+ const Ft = {
38
38
  en: {
39
39
  recentSearch: "Recent search",
40
40
  placeHolderSearchGames: "Search for Games",
@@ -216,19 +216,19 @@ const Fe = {
216
216
  notFoundText: "Please type the correct name of the game to start to play.",
217
217
  noRecentSearches: "No recent searches yet. Search for any of our games."
218
218
  }
219
- }, Rt = (a, e) => function(...t) {
219
+ }, Lt = (a, e) => function(...t) {
220
220
  clearTimeout(this.debounceTimer), this.debounceTimer = setTimeout(() => {
221
221
  a.apply(this, t);
222
222
  }, e);
223
223
  };
224
- function Ct(a) {
224
+ function Tt(a) {
225
225
  ht(a, "svelte-1vt65d9", "*,*::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}.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%}}.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{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 .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}");
226
226
  }
227
- function Le(a, e, t) {
227
+ function Fe(a, e, t) {
228
228
  const r = a.slice();
229
- return r[65] = e[t], r;
229
+ return r[67] = e[t], r;
230
230
  }
231
- function Te(a) {
231
+ function Le(a) {
232
232
  let e, t = (
233
233
  /*$_*/
234
234
  a[21]("cancel") + ""
@@ -258,51 +258,51 @@ function Te(a) {
258
258
  }
259
259
  };
260
260
  }
261
- function Ft(a) {
261
+ function It(a) {
262
262
  let e, t, r, o;
263
- function l(h, m) {
263
+ function l(d, m) {
264
264
  if (
265
265
  /*searchActive*/
266
- h[17] == !0 && /*searchValue*/
267
- h[14].length < 2
266
+ d[17] == !0 && /*searchValue*/
267
+ d[14].length < 2
268
268
  )
269
- return It;
269
+ return Et;
270
270
  if (
271
271
  /*searchArray*/
272
- h[13].length != 0
272
+ d[13].length != 0
273
273
  )
274
- return Tt;
274
+ return jt;
275
275
  }
276
276
  let s = l(a), i = s && s(a), c = (
277
277
  /*searchCancelled*/
278
- a[16] === !1 && Ee(a)
279
- ), d = (
278
+ a[16] === !1 && je(a)
279
+ ), h = (
280
280
  /*searchValue*/
281
281
  a[14].length >= 2 && /*searchArray*/
282
- a[13].length == 0 && Ne(a)
282
+ a[13].length == 0 && ze(a)
283
283
  );
284
284
  return {
285
285
  c() {
286
- i && i.c(), e = D(), t = R("div"), c && c.c(), r = D(), d && d.c(), p(t, "class", o = "SearchResultsContainer " + /*searchActive*/
286
+ i && i.c(), e = D(), t = R("div"), c && c.c(), r = D(), h && h.c(), p(t, "class", o = "SearchResultsContainer " + /*searchActive*/
287
287
  (a[17] == !0 ? "" : "NotVisible"));
288
288
  },
289
- m(h, m) {
290
- i && i.m(h, m), G(h, e, m), G(h, t, m), c && c.m(t, null), w(t, r), d && d.m(t, null);
289
+ m(d, m) {
290
+ i && i.m(d, m), G(d, e, m), G(d, t, m), c && c.m(t, null), w(t, r), h && h.m(t, null);
291
291
  },
292
- p(h, m) {
293
- 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*/
294
- h[16] === !1 ? c ? c.p(h, m) : (c = Ee(h), c.c(), c.m(t, r)) : c && (c.d(1), c = null), /*searchValue*/
295
- h[14].length >= 2 && /*searchArray*/
296
- h[13].length == 0 ? d ? d.p(h, m) : (d = Ne(h), d.c(), d.m(t, null)) : d && (d.d(1), d = null), m[0] & /*searchActive*/
292
+ p(d, m) {
293
+ s === (s = l(d)) && i ? i.p(d, m) : (i && i.d(1), i = s && s(d), i && (i.c(), i.m(e.parentNode, e))), /*searchCancelled*/
294
+ d[16] === !1 ? c ? c.p(d, m) : (c = je(d), c.c(), c.m(t, r)) : c && (c.d(1), c = null), /*searchValue*/
295
+ d[14].length >= 2 && /*searchArray*/
296
+ d[13].length == 0 ? h ? h.p(d, m) : (h = ze(d), h.c(), h.m(t, null)) : h && (h.d(1), h = null), m[0] & /*searchActive*/
297
297
  131072 && o !== (o = "SearchResultsContainer " + /*searchActive*/
298
- (h[17] == !0 ? "" : "NotVisible")) && p(t, "class", o);
298
+ (d[17] == !0 ? "" : "NotVisible")) && p(t, "class", o);
299
299
  },
300
- d(h) {
301
- h && (I(e), I(t)), i && i.d(h), c && c.d(), d && d.d();
300
+ d(d) {
301
+ d && (I(e), I(t)), i && i.d(d), c && c.d(), h && h.d();
302
302
  }
303
303
  };
304
304
  }
305
- function Lt(a) {
305
+ function Gt(a) {
306
306
  let e, t = (
307
307
  /*$_*/
308
308
  a[21]("loading") + ""
@@ -324,7 +324,7 @@ function Lt(a) {
324
324
  }
325
325
  };
326
326
  }
327
- function Tt(a) {
327
+ function jt(a) {
328
328
  let e, t = (
329
329
  /*$_*/
330
330
  a[21]("searchResult") + ""
@@ -346,32 +346,32 @@ function Tt(a) {
346
346
  }
347
347
  };
348
348
  }
349
- function It(a) {
349
+ function Et(a) {
350
350
  let e, t, r = (
351
351
  /*searchArray*/
352
- a[13].length !== 0 && Ie(a)
352
+ a[13].length !== 0 && Te(a)
353
353
  ), o = (
354
354
  /*searchArray*/
355
- a[13].length == 0 && Ge(a)
355
+ a[13].length == 0 && Ie(a)
356
356
  );
357
357
  return {
358
358
  c() {
359
- r && r.c(), e = D(), o && o.c(), t = De();
359
+ r && r.c(), e = D(), o && o.c(), t = Pe();
360
360
  },
361
361
  m(l, s) {
362
362
  r && r.m(l, s), G(l, e, s), o && o.m(l, s), G(l, t, s);
363
363
  },
364
364
  p(l, s) {
365
365
  /*searchArray*/
366
- l[13].length !== 0 ? r ? r.p(l, s) : (r = Ie(l), r.c(), r.m(e.parentNode, e)) : r && (r.d(1), r = null), /*searchArray*/
367
- l[13].length == 0 ? o ? o.p(l, s) : (o = Ge(l), o.c(), o.m(t.parentNode, t)) : o && (o.d(1), o = null);
366
+ l[13].length !== 0 ? r ? r.p(l, s) : (r = Te(l), r.c(), r.m(e.parentNode, e)) : r && (r.d(1), r = null), /*searchArray*/
367
+ l[13].length == 0 ? o ? o.p(l, s) : (o = Ie(l), o.c(), o.m(t.parentNode, t)) : o && (o.d(1), o = null);
368
368
  },
369
369
  d(l) {
370
370
  l && (I(e), I(t)), r && r.d(l), o && o.d(l);
371
371
  }
372
372
  };
373
373
  }
374
- function Ie(a) {
374
+ function Te(a) {
375
375
  let e, t = (
376
376
  /*$_*/
377
377
  a[21]("recentSearch") + ""
@@ -393,27 +393,27 @@ function Ie(a) {
393
393
  }
394
394
  };
395
395
  }
396
- function Ge(a) {
396
+ function Ie(a) {
397
397
  let e, t, r, o = (
398
398
  /*$_*/
399
399
  a[21]("noRecentSearches") + ""
400
400
  ), l, s, i = (
401
401
  /*notfoundicon*/
402
- a[11] === "true" && je()
402
+ a[11] === "true" && Ge()
403
403
  );
404
404
  return {
405
405
  c() {
406
406
  e = R("div"), i && i.c(), t = D(), r = R("p"), l = W(o), p(r, "class", "SearchMessage"), p(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
407
407
  (a[11] == "true" ? "WithIcon" : ""));
408
408
  },
409
- m(c, d) {
410
- G(c, e, d), i && i.m(e, null), w(e, t), w(e, r), w(r, l);
409
+ m(c, h) {
410
+ G(c, e, h), i && i.m(e, null), w(e, t), w(e, r), w(r, l);
411
411
  },
412
- p(c, d) {
412
+ p(c, h) {
413
413
  /*notfoundicon*/
414
- c[11] === "true" ? i || (i = je(), i.c(), i.m(e, t)) : i && (i.d(1), i = null), d[0] & /*$_*/
414
+ c[11] === "true" ? i || (i = Ge(), i.c(), i.m(e, t)) : i && (i.d(1), i = null), h[0] & /*$_*/
415
415
  2097152 && o !== (o = /*$_*/
416
- c[21]("noRecentSearches") + "") && x(l, o), d[0] & /*notfoundicon*/
416
+ c[21]("noRecentSearches") + "") && x(l, o), h[0] & /*notfoundicon*/
417
417
  2048 && s !== (s = "ResultsContainerError " + /*notfoundicon*/
418
418
  (c[11] == "true" ? "WithIcon" : "")) && p(e, "class", s);
419
419
  },
@@ -422,7 +422,7 @@ function Ge(a) {
422
422
  }
423
423
  };
424
424
  }
425
- function je(a) {
425
+ function Ge(a) {
426
426
  let e;
427
427
  return {
428
428
  c() {
@@ -436,18 +436,18 @@ function je(a) {
436
436
  }
437
437
  };
438
438
  }
439
- function Ee(a) {
440
- let e, t = ye(
439
+ function je(a) {
440
+ let e, t = Re(
441
441
  /*searchArray*/
442
442
  a[13]
443
443
  ), r = [];
444
444
  for (let o = 0; o < t.length; o += 1)
445
- r[o] = ze(Le(a, t, o));
445
+ r[o] = Ee(Fe(a, t, o));
446
446
  return {
447
447
  c() {
448
448
  for (let o = 0; o < r.length; o += 1)
449
449
  r[o].c();
450
- e = De();
450
+ e = Pe();
451
451
  },
452
452
  m(o, l) {
453
453
  for (let s = 0; s < r.length; s += 1)
@@ -457,14 +457,14 @@ function Ee(a) {
457
457
  p(o, l) {
458
458
  if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, getRequiredIcon, addGameTag, showgamename, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl, mbsource*/
459
459
  77079551) {
460
- t = ye(
460
+ t = Re(
461
461
  /*searchArray*/
462
462
  o[13]
463
463
  );
464
464
  let s;
465
465
  for (s = 0; s < t.length; s += 1) {
466
- const i = Le(o, t, s);
467
- r[s] ? r[s].p(i, l) : (r[s] = ze(i), r[s].c(), r[s].m(e.parentNode, e));
466
+ const i = Fe(o, t, s);
467
+ r[s] ? r[s].p(i, l) : (r[s] = Ee(i), r[s].c(), r[s].m(e.parentNode, e));
468
468
  }
469
469
  for (; s < r.length; s += 1)
470
470
  r[s].d(1);
@@ -476,8 +476,8 @@ function Ee(a) {
476
476
  }
477
477
  };
478
478
  }
479
- function ze(a) {
480
- let e, t, r, o, l, s, i, c, d, h, m, k, T;
479
+ function Ee(a) {
480
+ let e, t, r, o, l, s, i, c, h, d, m, y, T;
481
481
  return {
482
482
  c() {
483
483
  var g, S;
@@ -507,32 +507,32 @@ function ze(a) {
507
507
  /*lang*/
508
508
  a[1]
509
509
  ), u(e, "gamethumbnail", t = /*game*/
510
- a[65].thumbnail), u(e, "icon", r = /*getRequiredIcon*/
510
+ a[67].thumbnail), u(e, "icon", r = /*getRequiredIcon*/
511
511
  a[23](
512
512
  /*game*/
513
- (g = a[65]) == null ? void 0 : g.icons
513
+ (g = a[67]) == null ? void 0 : g.icons
514
514
  )), u(e, "gamename", o = /*game*/
515
- a[65].name), u(e, "gamevendor", l = /*game*/
516
- a[65].vendor.name), u(e, "gameLaunchUrl", s = /*game*/
517
- a[65].launchUrl), u(e, "gameisnew", i = /*game*/
518
- a[65].isNew), u(e, "gametag", c = /*game*/
519
- ((S = a[65].advancedTags) == null ? void 0 : S.length) > 0 && /*addGameTag*/
515
+ a[67].name), u(e, "gamevendor", l = /*game*/
516
+ a[67].vendor.name), u(e, "gameLaunchUrl", s = /*game*/
517
+ a[67].launchUrl), u(e, "gameisnew", i = /*game*/
518
+ a[67].isNew), u(e, "gametag", c = /*game*/
519
+ ((S = a[67].advancedTags) == null ? void 0 : S.length) > 0 && /*addGameTag*/
520
520
  a[26](
521
521
  /*game*/
522
- a[65].advancedTags
523
- )), u(e, "gamecellsize", d = /*game*/
524
- a[65].cellSize), u(e, "gameid", h = /*game*/
525
- a[65].id), u(
522
+ a[67].advancedTags
523
+ )), u(e, "gamecellsize", h = /*game*/
524
+ a[67].cellSize), u(e, "gameid", d = /*game*/
525
+ a[67].id), u(
526
526
  e,
527
527
  "showgamename",
528
528
  /*showgamename*/
529
529
  a[7]
530
530
  ), u(e, "gamefunmode", m = /*game*/
531
- a[65].hasFunMode), u(e, "gamefavorite", k = /*game*/
532
- a[65].isFavorite), u(e, "livelobbyendpoint", T = /*game*/
533
- a[65].details ? (
531
+ a[67].hasFunMode), u(e, "gamefavorite", y = /*game*/
532
+ a[67].isFavorite), u(e, "livelobbyendpoint", T = /*game*/
533
+ a[67].details ? (
534
534
  /*game*/
535
- a[65].launchUrl
535
+ a[67].launchUrl
536
536
  ) : ""), u(
537
537
  e,
538
538
  "integratedgameframedesktop",
@@ -569,7 +569,7 @@ function ze(a) {
569
569
  G(g, e, S);
570
570
  },
571
571
  p(g, S) {
572
- var E, N;
572
+ var j, N;
573
573
  S[0] & /*endpoint*/
574
574
  1 && u(
575
575
  e,
@@ -602,30 +602,30 @@ function ze(a) {
602
602
  g[1]
603
603
  ), S[0] & /*searchArray*/
604
604
  8192 && t !== (t = /*game*/
605
- g[65].thumbnail) && u(e, "gamethumbnail", t), S[0] & /*searchArray*/
605
+ g[67].thumbnail) && u(e, "gamethumbnail", t), S[0] & /*searchArray*/
606
606
  8192 && r !== (r = /*getRequiredIcon*/
607
607
  g[23](
608
608
  /*game*/
609
- (E = g[65]) == null ? void 0 : E.icons
609
+ (j = g[67]) == null ? void 0 : j.icons
610
610
  )) && u(e, "icon", r), S[0] & /*searchArray*/
611
611
  8192 && o !== (o = /*game*/
612
- g[65].name) && u(e, "gamename", o), S[0] & /*searchArray*/
612
+ g[67].name) && u(e, "gamename", o), S[0] & /*searchArray*/
613
613
  8192 && l !== (l = /*game*/
614
- g[65].vendor.name) && u(e, "gamevendor", l), S[0] & /*searchArray*/
614
+ g[67].vendor.name) && u(e, "gamevendor", l), S[0] & /*searchArray*/
615
615
  8192 && s !== (s = /*game*/
616
- g[65].launchUrl) && u(e, "gameLaunchUrl", s), S[0] & /*searchArray*/
616
+ g[67].launchUrl) && u(e, "gameLaunchUrl", s), S[0] & /*searchArray*/
617
617
  8192 && i !== (i = /*game*/
618
- g[65].isNew) && u(e, "gameisnew", i), S[0] & /*searchArray*/
618
+ g[67].isNew) && u(e, "gameisnew", i), S[0] & /*searchArray*/
619
619
  8192 && c !== (c = /*game*/
620
- ((N = g[65].advancedTags) == null ? void 0 : N.length) > 0 && /*addGameTag*/
620
+ ((N = g[67].advancedTags) == null ? void 0 : N.length) > 0 && /*addGameTag*/
621
621
  g[26](
622
622
  /*game*/
623
- g[65].advancedTags
623
+ g[67].advancedTags
624
624
  )) && u(e, "gametag", c), S[0] & /*searchArray*/
625
- 8192 && d !== (d = /*game*/
626
- g[65].cellSize) && u(e, "gamecellsize", d), S[0] & /*searchArray*/
627
625
  8192 && h !== (h = /*game*/
628
- g[65].id) && u(e, "gameid", h), S[0] & /*showgamename*/
626
+ g[67].cellSize) && u(e, "gamecellsize", h), S[0] & /*searchArray*/
627
+ 8192 && d !== (d = /*game*/
628
+ g[67].id) && u(e, "gameid", d), S[0] & /*showgamename*/
629
629
  128 && u(
630
630
  e,
631
631
  "showgamename",
@@ -633,13 +633,13 @@ function ze(a) {
633
633
  g[7]
634
634
  ), S[0] & /*searchArray*/
635
635
  8192 && m !== (m = /*game*/
636
- g[65].hasFunMode) && u(e, "gamefunmode", m), S[0] & /*searchArray*/
637
- 8192 && k !== (k = /*game*/
638
- g[65].isFavorite) && u(e, "gamefavorite", k), S[0] & /*searchArray*/
636
+ g[67].hasFunMode) && u(e, "gamefunmode", m), S[0] & /*searchArray*/
637
+ 8192 && y !== (y = /*game*/
638
+ g[67].isFavorite) && u(e, "gamefavorite", y), S[0] & /*searchArray*/
639
639
  8192 && T !== (T = /*game*/
640
- g[65].details ? (
640
+ g[67].details ? (
641
641
  /*game*/
642
- g[65].launchUrl
642
+ g[67].launchUrl
643
643
  ) : "") && u(e, "livelobbyendpoint", T), S[0] & /*integratedgameframedesktop*/
644
644
  32 && u(
645
645
  e,
@@ -683,41 +683,41 @@ function ze(a) {
683
683
  }
684
684
  };
685
685
  }
686
- function Ne(a) {
686
+ function ze(a) {
687
687
  let e, t, r, o = (
688
688
  /*$_*/
689
689
  a[21]("notFound") + ""
690
690
  ), l, s, i, c = (
691
691
  /*$_*/
692
692
  a[21]("notFoundText") + ""
693
- ), d, h, m = (
693
+ ), h, d, m = (
694
694
  /*notfoundicon*/
695
- a[11] === "true" && Pe()
695
+ a[11] === "true" && Ne()
696
696
  );
697
697
  return {
698
698
  c() {
699
- e = R("div"), m && m.c(), t = D(), r = R("p"), l = W(o), s = D(), i = R("p"), d = W(c), p(r, "class", "SearchMessage"), p(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
699
+ e = R("div"), m && m.c(), t = D(), r = R("p"), l = W(o), s = D(), i = R("p"), h = W(c), p(r, "class", "SearchMessage"), p(e, "class", d = "ResultsContainerError " + /*notfoundicon*/
700
700
  (a[11] == "true" ? "WithIcon" : ""));
701
701
  },
702
- m(k, T) {
703
- G(k, e, T), m && m.m(e, null), w(e, t), w(e, r), w(r, l), w(e, s), w(e, i), w(i, d);
702
+ m(y, T) {
703
+ G(y, e, T), m && m.m(e, null), w(e, t), w(e, r), w(r, l), w(e, s), w(e, i), w(i, h);
704
704
  },
705
- p(k, T) {
705
+ p(y, T) {
706
706
  /*notfoundicon*/
707
- k[11] === "true" ? m || (m = Pe(), m.c(), m.m(e, t)) : m && (m.d(1), m = null), T[0] & /*$_*/
707
+ y[11] === "true" ? m || (m = Ne(), m.c(), m.m(e, t)) : m && (m.d(1), m = null), T[0] & /*$_*/
708
708
  2097152 && o !== (o = /*$_*/
709
- k[21]("notFound") + "") && x(l, o), T[0] & /*$_*/
709
+ y[21]("notFound") + "") && x(l, o), T[0] & /*$_*/
710
710
  2097152 && c !== (c = /*$_*/
711
- k[21]("notFoundText") + "") && x(d, c), T[0] & /*notfoundicon*/
712
- 2048 && h !== (h = "ResultsContainerError " + /*notfoundicon*/
713
- (k[11] == "true" ? "WithIcon" : "")) && p(e, "class", h);
711
+ y[21]("notFoundText") + "") && x(h, c), T[0] & /*notfoundicon*/
712
+ 2048 && d !== (d = "ResultsContainerError " + /*notfoundicon*/
713
+ (y[11] == "true" ? "WithIcon" : "")) && p(e, "class", d);
714
714
  },
715
- d(k) {
716
- k && I(e), m && m.d();
715
+ d(y) {
716
+ y && I(e), m && m.d();
717
717
  }
718
718
  };
719
719
  }
720
- function Pe(a) {
720
+ function Ne(a) {
721
721
  let e;
722
722
  return {
723
723
  c() {
@@ -731,36 +731,36 @@ function Pe(a) {
731
731
  }
732
732
  };
733
733
  }
734
- function Gt(a) {
735
- let e, t, r, o, l, s, i, c, d, h, m, k, T, g, S, E, N, U, V, B, L = (
734
+ function zt(a) {
735
+ let e, t, r, o, l, s, i, c, h, d, m, y, T, g, S, j, N, U, V, q, L = (
736
736
  /*cancelbutton*/
737
- a[10] === "true" && Te(a)
737
+ a[10] === "true" && Le(a)
738
738
  );
739
739
  function J(_, C) {
740
740
  return (
741
741
  /*isLoading*/
742
- _[18] ? Lt : Ft
742
+ _[18] ? Gt : It
743
743
  );
744
744
  }
745
- let Z = J(a), j = Z(a);
745
+ let Z = J(a), E = Z(a);
746
746
  return {
747
747
  c() {
748
- e = R("div"), t = 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 = D(), s = R("input"), c = D(), d = R("span"), h = ve("svg"), m = ve("path"), T = D(), L && L.c(), S = D(), E = R("div"), U = D(), j.c(), p(o, "class", "SearchIcon"), p(s, "class", "SearchInput"), p(s, "type", "search"), p(s, "placeholder", i = /*$_*/
749
- a[21]("placeHolderSearchGames")), p(s, "maxlength", Me), p(m, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), p(m, "stroke", "#717171"), p(m, "stroke-width", "2"), p(m, "stroke-linecap", "round"), p(m, "stroke-linejoin", "round"), p(h, "width", "11"), p(h, "height", "11"), p(h, "fill", "none"), p(h, "xmlns", "http://www.w3.org/2000/svg"), p(d, "class", k = "SearchClearButton " + /*cancelbutton*/
748
+ e = R("div"), t = 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 = D(), s = R("input"), c = D(), h = R("span"), d = ye("svg"), m = ye("path"), T = D(), L && L.c(), S = D(), j = R("div"), U = D(), E.c(), p(o, "class", "SearchIcon"), p(s, "class", "SearchInput"), p(s, "type", "search"), p(s, "placeholder", i = /*$_*/
749
+ a[21]("placeHolderSearchGames")), p(s, "maxlength", De), p(m, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), p(m, "stroke", "#717171"), p(m, "stroke-width", "2"), p(m, "stroke-linecap", "round"), p(m, "stroke-linejoin", "round"), p(d, "width", "11"), p(d, "height", "11"), p(d, "fill", "none"), p(d, "xmlns", "http://www.w3.org/2000/svg"), p(h, "class", y = "SearchClearButton " + /*cancelbutton*/
750
750
  (a[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
751
751
  (a[14].length != 0 ? "" : "NotVisible")), p(r, "class", g = "Search " + /*searchCancelled*/
752
- (a[16] ? "" : "SearchAnimation")), p(t, "class", "SearchWrap"), p(E, "class", N = /*cancelbutton*/
753
- a[10] != "true" ? "OverlayCancel" : ""), p(e, "class", (le(
752
+ (a[16] ? "" : "SearchAnimation")), p(t, "class", "SearchWrap"), p(j, "class", N = /*cancelbutton*/
753
+ a[10] != "true" ? "OverlayCancel" : ""), p(e, "class", (ie(
754
754
  /*userAgent*/
755
755
  a[22]
756
756
  ) !== "PC" ? "" : "Desktop") + " CasinoSearch");
757
757
  },
758
758
  m(_, C) {
759
- G(_, e, C), w(e, t), w(t, r), w(r, o), w(r, l), w(r, s), be(
759
+ G(_, e, C), w(e, t), w(t, r), w(r, o), w(r, l), w(r, s), ve(
760
760
  s,
761
761
  /*searchValue*/
762
762
  a[14]
763
- ), a[39](s), w(r, c), w(r, d), w(d, h), w(h, m), w(r, T), L && L.m(r, null), w(e, S), w(e, E), w(e, U), j.m(e, null), a[42](e), V || (B = [
763
+ ), a[39](s), w(r, c), w(r, h), w(h, d), w(d, m), w(r, T), L && L.m(r, null), w(e, S), w(e, j), w(e, U), E.m(e, null), a[42](e), V || (q = [
764
764
  K(
765
765
  s,
766
766
  "input",
@@ -780,13 +780,13 @@ function Gt(a) {
780
780
  a[29]
781
781
  ),
782
782
  K(
783
- d,
783
+ h,
784
784
  "click",
785
785
  /*click_handler*/
786
786
  a[40]
787
787
  ),
788
788
  K(
789
- E,
789
+ j,
790
790
  "click",
791
791
  /*handleOverlay*/
792
792
  a[25]
@@ -798,106 +798,106 @@ function Gt(a) {
798
798
  2097152 && i !== (i = /*$_*/
799
799
  _[21]("placeHolderSearchGames")) && p(s, "placeholder", i), C[0] & /*searchValue*/
800
800
  16384 && s.value !== /*searchValue*/
801
- _[14] && be(
801
+ _[14] && ve(
802
802
  s,
803
803
  /*searchValue*/
804
804
  _[14]
805
805
  ), C[0] & /*cancelbutton, searchValue*/
806
- 17408 && k !== (k = "SearchClearButton " + /*cancelbutton*/
806
+ 17408 && y !== (y = "SearchClearButton " + /*cancelbutton*/
807
807
  (_[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
808
- (_[14].length != 0 ? "" : "NotVisible")) && p(d, "class", k), /*cancelbutton*/
809
- _[10] === "true" ? L ? L.p(_, C) : (L = Te(_), L.c(), L.m(r, null)) : L && (L.d(1), L = null), C[0] & /*searchCancelled*/
808
+ (_[14].length != 0 ? "" : "NotVisible")) && p(h, "class", y), /*cancelbutton*/
809
+ _[10] === "true" ? L ? L.p(_, C) : (L = Le(_), L.c(), L.m(r, null)) : L && (L.d(1), L = null), C[0] & /*searchCancelled*/
810
810
  65536 && g !== (g = "Search " + /*searchCancelled*/
811
811
  (_[16] ? "" : "SearchAnimation")) && p(r, "class", g), C[0] & /*cancelbutton*/
812
812
  1024 && N !== (N = /*cancelbutton*/
813
- _[10] != "true" ? "OverlayCancel" : "") && p(E, "class", N), Z === (Z = J(_)) && j ? j.p(_, C) : (j.d(1), j = Z(_), j && (j.c(), j.m(e, null)));
813
+ _[10] != "true" ? "OverlayCancel" : "") && p(j, "class", N), Z === (Z = J(_)) && E ? E.p(_, C) : (E.d(1), E = Z(_), E && (E.c(), E.m(e, null)));
814
814
  },
815
- i: we,
816
- o: we,
815
+ i: be,
816
+ o: be,
817
817
  d(_) {
818
- _ && I(e), a[39](null), L && L.d(), j.d(), a[42](null), V = !1, dt(B);
818
+ _ && I(e), a[39](null), L && L.d(), E.d(), a[42](null), V = !1, dt(q);
819
819
  }
820
820
  };
821
821
  }
822
- let Me = 50;
823
- function jt(a, e, t) {
822
+ let De = 50;
823
+ function Nt(a, e, t) {
824
824
  let r;
825
825
  gt(a, bt, (n) => t(21, r = n));
826
- 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: k = "false" } = e, { integratedgameframemobile: T = "false" } = e, { showgamename: g = "" } = e, { gamepagemodalurl: S = "true" } = e, { translationurl: E = "" } = e, { showfavorites: N = "" } = e, { cancelbutton: U = "true" } = e, { notfoundicon: V = "false" } = e, { controlchannel: B = "casino-search" } = e, { allowedorigins: L = window.location.origin } = e, { requiredicon: J = "false" } = e;
826
+ let { endpoint: o = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { mbsource: h } = e, { clientstyling: d = "" } = e, { clientstylingurl: m = "" } = e, { integratedgameframedesktop: y = "false" } = e, { integratedgameframemobile: T = "false" } = e, { showgamename: g = "" } = e, { gamepagemodalurl: S = "true" } = e, { translationurl: j = "" } = e, { showfavorites: N = "" } = e, { cancelbutton: U = "true" } = e, { notfoundicon: V = "false" } = e, { controlchannel: q = "casino-search" } = e, { allowedorigins: L = window.location.origin } = e, { requiredicon: J = "false" } = e;
827
827
  const Z = () => (L || "").split(",").map((n) => n.trim()).filter(Boolean);
828
- let j = window.navigator.userAgent, _ = [], C = [], ne = {}, M = "", O, $ = !0, A = !1, P = !1, q, ee = !1, te, ae, ie = [];
829
- const Ae = () => {
830
- fetch(E).then((f) => f.json()).then((f) => {
831
- Object.keys(f).forEach((b) => {
832
- Ce(b, f[b]);
833
- });
828
+ let E = window.navigator.userAgent, _ = [], C = [], ne = {}, M = "", H, $ = !0, A = !1, P = !1, B, Me, ee = !1, te, ae, ce = [];
829
+ const re = (n) => {
830
+ Object.keys(n).forEach((f) => {
831
+ Rt(f, n[f]);
832
+ });
833
+ }, Ae = () => {
834
+ fetch(j).then((f) => f.json()).then((f) => {
835
+ re(f);
834
836
  }).catch((f) => {
835
837
  console.log(f);
836
838
  });
837
839
  };
838
- Object.keys(Fe).forEach((n) => {
839
- Ce(n, Fe[n]);
840
- });
841
- const ce = (n) => {
840
+ re(Ft);
841
+ const ue = (n) => {
842
842
  var f;
843
843
  n.data && n.data.type == "SearchedItemClicked" && Ze(n.data.gameId), n.data.type == "UserSessionID" && (t(19, te = n.data.session), t(20, ae = n.data.userid), t(37, ee = !0)), n.data.type == "CategoryChange" && X();
844
844
  try {
845
845
  const b = n.origin === window.location.origin, v = Z();
846
- if (!(b || v.length > 0 && v.includes(n.origin)) || !n.data || n.data.channel !== B)
846
+ if (!(b || v.length > 0 && v.includes(n.origin)) || !n.data || n.data.channel !== q)
847
847
  return;
848
848
  switch (n.data.type) {
849
849
  case "OpenSearch":
850
- oe();
850
+ se();
851
851
  break;
852
852
  case "CloseSearch":
853
- ue();
853
+ he();
854
854
  break;
855
855
  case "ToggleSearch":
856
- Be();
856
+ qe();
857
857
  break;
858
858
  case "SetSearchQuery":
859
- Oe(String((f = n.data.value) != null ? f : ""));
859
+ He(String((f = n.data.value) != null ? f : ""));
860
860
  break;
861
861
  }
862
862
  } catch (b) {
863
863
  }
864
- }, qe = (n) => J !== "true" ? void 0 : Object.values(n != null ? n : {}).pop(), re = () => {
864
+ }, Be = (n) => J !== "true" ? void 0 : Object.values(n != null ? n : {}).pop(), oe = () => {
865
865
  if (t(16, $ = !1), t(17, A = !0), o && l && c && M.length < 2) {
866
866
  t(13, _ = []);
867
867
  let n = localStorage.getItem("searchedGamesWds_casino"), f = [];
868
868
  n && (f = n.split(","));
869
- let b = [], v = 0, y = f.length;
870
- if (y > 0) {
871
- for (v = 0; v < y; v++) {
869
+ let b = [], v = 0, k = f.length;
870
+ if (k > 0) {
871
+ for (v = 0; v < k; v++) {
872
872
  let z = new URL(`${o}/v1/casino/games/${f[v]}`);
873
- z.searchParams.append("language", c), z.searchParams.append("datasource", l), z.searchParams.append("platform", le(j)), b.push(We(z, f[v]));
873
+ z.searchParams.append("language", c), z.searchParams.append("datasource", l), z.searchParams.append("platform", ie(E)), b.push(We(z, f[v]));
874
874
  }
875
875
  Promise.all(b).then((z) => {
876
- z = z.filter(function(H) {
877
- return !!H;
878
- }), t(13, _ = z.map((H) => (H.isFavorite = he(H.id), H))), _.length ? Q("searchSuccess", "SearchWidget") : Q("searchFail", "SearchWidget");
876
+ z = z.filter(function(O) {
877
+ return !!O;
878
+ }), t(13, _ = z.map((O) => (O.isFavorite = de(O.id), O))), _.length ? Q("searchSuccess", "SearchWidget") : Q("searchFail", "SearchWidget");
879
879
  }).catch((z) => {
880
880
  Q("searchError", "SearchWidget");
881
881
  });
882
882
  }
883
883
  }
884
- ge(A), Q("searchAttempt", "SearchWidget"), Q("SearchInitialized", "SearchWidget");
884
+ me(A), Q("searchAttempt", "SearchWidget"), Q("SearchInitialized", "SearchWidget");
885
885
  };
886
- function oe() {
887
- A || (re(), requestAnimationFrame(() => O == null ? void 0 : O.focus()), Y({ type: "SearchOpen" }));
886
+ function se() {
887
+ A || (oe(), requestAnimationFrame(() => H == null ? void 0 : H.focus()), Y({ type: "SearchOpen" }));
888
888
  }
889
- function ue() {
889
+ function he() {
890
890
  A && (X(), Y({ type: "SearchClose" }));
891
891
  }
892
- function Be() {
893
- A ? ue() : oe();
892
+ function qe() {
893
+ A ? he() : se();
894
894
  }
895
- function Oe(n) {
896
- t(14, M = (n != null ? n : "").slice(0, Me)), A || oe(), me();
895
+ function He(n) {
896
+ t(14, M = (n != null ? n : "").slice(0, De)), A || se(), fe();
897
897
  }
898
898
  const Q = (n, f) => {
899
899
  typeof gtag == "function" && gtag("event", n, { context: f });
900
- }, He = () => {
900
+ }, Oe = () => {
901
901
  U != "true" && X();
902
902
  }, xe = (n) => new Promise((f, b) => {
903
903
  t(18, P = !0), fetch(n.href).then((v) => v.json()).then((v) => {
@@ -909,23 +909,23 @@ function jt(a, e, t) {
909
909
  type: "SearchError",
910
910
  message: String(v)
911
911
  });
912
- } catch (y) {
912
+ } catch (k) {
913
913
  }
914
914
  b(v);
915
915
  });
916
916
  }), We = (n, f) => new Promise((b, v) => {
917
- t(18, P = !0), f && Object.keys(ne).indexOf(f) >= 0 ? (t(18, P = !1), b(ne[f])) : fetch(n).then((y) => y.json()).then((y) => {
918
- t(18, P = !1), y.error || (ne[y[0].gameId] = y[0]), b(y[0]);
919
- }).catch((y) => {
920
- t(18, P = !1), console.error(y);
917
+ t(18, P = !0), f && Object.keys(ne).indexOf(f) >= 0 ? (t(18, P = !1), b(ne[f])) : fetch(n).then((k) => k.json()).then((k) => {
918
+ t(18, P = !1), k.error || (ne[k[0].gameId] = k[0]), b(k[0]);
919
+ }).catch((k) => {
920
+ t(18, P = !1), console.error(k);
921
921
  try {
922
922
  Y({
923
923
  type: "SearchError",
924
- message: String(y)
924
+ message: String(k)
925
925
  });
926
926
  } catch (z) {
927
927
  }
928
- v(y);
928
+ v(k);
929
929
  });
930
930
  }), Ue = () => {
931
931
  const n = new URL(`${o}/v1/player/${ae}/favorites/`);
@@ -935,18 +935,18 @@ function jt(a, e, t) {
935
935
  headers: { "X-SessionID": te }
936
936
  };
937
937
  fetch(n.href, f).then((b) => b.json()).then((b) => {
938
- t(18, P = !1), ie = b.items.map((v) => v.id);
938
+ t(18, P = !1), ce = b.items.map((v) => v.id);
939
939
  });
940
940
  }, Ve = () => {
941
941
  t(37, ee = !0), t(19, te = s), t(20, ae = i);
942
- }, he = (n) => ie.findIndex((f) => f == n) !== -1, Je = (n) => {
942
+ }, de = (n) => ce.findIndex((f) => f == n) !== -1, Je = (n) => {
943
943
  if ((n == null ? void 0 : n.length) === 0)
944
944
  return "";
945
945
  let f, b = 99999999999, v;
946
- const y = new Date(Date.now());
947
- return n.forEach((z, H) => {
948
- const at = new Date(z.schedules[0].startTime), se = new Date(z.schedules[0].endTime);
949
- Re(new Date(se), new Date(y)) < b && (b = Re(new Date(se), new Date(y)), v = H), vt(new Date(y), new Date(at)) && kt(new Date(y), new Date(se)) && (f = n[v].name);
946
+ const k = new Date(Date.now());
947
+ return n.forEach((z, O) => {
948
+ const at = new Date(z.schedules[0].startTime), le = new Date(z.schedules[0].endTime);
949
+ Ce(new Date(le), new Date(k)) < b && (b = Ce(new Date(le), new Date(k)), v = O), yt(new Date(k), new Date(at)) && kt(new Date(k), new Date(le)) && (f = n[v].name);
950
950
  }), f;
951
951
  }, Ze = (n) => {
952
952
  if (C = localStorage.getItem("searchedGamesWds_casino"), C ? C = C.split(",") : C = [], C.indexOf(n) === -1) {
@@ -954,10 +954,10 @@ function jt(a, e, t) {
954
954
  C.unshift(n), f = C.join(","), localStorage.setItem("searchedGamesWds_casino", f);
955
955
  }
956
956
  }, X = () => {
957
- t(14, M = ""), t(16, $ = !0), t(18, P = !1), t(13, _ = []), t(17, A = !1), ge(A);
958
- }, de = () => {
959
- t(14, M = ""), O.focus();
960
- }, ge = (n) => {
957
+ t(14, M = ""), t(16, $ = !0), t(18, P = !1), t(13, _ = []), t(17, A = !1), me(A);
958
+ }, ge = () => {
959
+ t(14, M = ""), H.focus();
960
+ }, me = (n) => {
961
961
  window.postMessage(
962
962
  {
963
963
  type: n === !0 ? "searchActive" : "searchCancelled",
@@ -970,18 +970,18 @@ function jt(a, e, t) {
970
970
  };
971
971
  function Y(n) {
972
972
  try {
973
- const f = Se({ channel: B }, n);
973
+ const f = _e({ channel: q }, n);
974
974
  window.postMessage(f, window.location.href);
975
975
  } catch (f) {
976
976
  }
977
977
  }
978
978
  const Ye = () => {
979
- yt(c);
980
- }, me = () => _e(this, null, function* () {
979
+ Ct(c);
980
+ }, fe = () => we(this, null, function* () {
981
981
  if (M.length >= 2) {
982
982
  const n = new URL(`${o}/v1/casino/games`);
983
- n.searchParams.append("datasource", l), n.searchParams.append("expand", "vendor"), n.searchParams.append("platform", le(j)), n.searchParams.append("language", c), n.searchParams.append("pagination", "offset=0,limit=30"), n.searchParams.append("filter", `name=${M}`), xe(n).then((f) => {
984
- t(13, _ = f.items.map((b) => (b.isFavorite = he(b.id), b)));
983
+ n.searchParams.append("datasource", l), n.searchParams.append("expand", "vendor"), n.searchParams.append("platform", ie(E)), n.searchParams.append("language", c), n.searchParams.append("pagination", "offset=0,limit=30"), n.searchParams.append("filter", `name=${M}`), xe(n).then((f) => {
984
+ t(13, _ = f.items.map((b) => (b.isFavorite = de(b.id), b)));
985
985
  try {
986
986
  Y({
987
987
  type: "SearchResults",
@@ -991,73 +991,75 @@ function jt(a, e, t) {
991
991
  }
992
992
  });
993
993
  } else
994
- $ || re();
995
- }), Ke = Rt(me, 500);
996
- mt(() => (window.addEventListener("message", ce, !1), () => {
997
- window.removeEventListener("message", ce);
994
+ $ || oe();
995
+ }), Ke = Lt(fe, 500);
996
+ mt(() => (window.addEventListener("message", ue, !1), () => {
997
+ window.removeEventListener("message", ue);
998
998
  }));
999
999
  function Qe() {
1000
1000
  M = this.value, t(14, M);
1001
1001
  }
1002
1002
  function Xe(n) {
1003
1003
  ke[n ? "unshift" : "push"](() => {
1004
- O = n, t(15, O);
1004
+ H = n, t(15, H);
1005
1005
  });
1006
1006
  }
1007
- const $e = () => de(), et = () => X();
1007
+ const $e = () => ge(), et = () => X();
1008
1008
  function tt(n) {
1009
1009
  ke[n ? "unshift" : "push"](() => {
1010
- q = n, t(12, q);
1010
+ B = n, t(12, B);
1011
1011
  });
1012
1012
  }
1013
1013
  return a.$$set = (n) => {
1014
- "endpoint" in n && t(0, o = n.endpoint), "datasource" in n && t(30, l = n.datasource), "session" in n && t(31, s = n.session), "userid" in n && t(32, i = n.userid), "lang" in n && t(1, c = n.lang), "mbsource" in n && t(2, d = n.mbsource), "clientstyling" in n && t(3, h = n.clientstyling), "clientstylingurl" in n && t(4, m = n.clientstylingurl), "integratedgameframedesktop" in n && t(5, k = n.integratedgameframedesktop), "integratedgameframemobile" in n && t(6, T = n.integratedgameframemobile), "showgamename" in n && t(7, g = n.showgamename), "gamepagemodalurl" in n && t(8, S = n.gamepagemodalurl), "translationurl" in n && t(33, E = n.translationurl), "showfavorites" in n && t(9, N = n.showfavorites), "cancelbutton" in n && t(10, U = n.cancelbutton), "notfoundicon" in n && t(11, V = n.notfoundicon), "controlchannel" in n && t(34, B = n.controlchannel), "allowedorigins" in n && t(35, L = n.allowedorigins), "requiredicon" in n && t(36, J = n.requiredicon);
1014
+ "endpoint" in n && t(0, o = n.endpoint), "datasource" in n && t(30, l = n.datasource), "session" in n && t(31, s = n.session), "userid" in n && t(32, i = n.userid), "lang" in n && t(1, c = n.lang), "mbsource" in n && t(2, h = n.mbsource), "clientstyling" in n && t(3, d = n.clientstyling), "clientstylingurl" in n && t(4, m = n.clientstylingurl), "integratedgameframedesktop" in n && t(5, y = n.integratedgameframedesktop), "integratedgameframemobile" in n && t(6, T = n.integratedgameframemobile), "showgamename" in n && t(7, g = n.showgamename), "gamepagemodalurl" in n && t(8, S = n.gamepagemodalurl), "translationurl" in n && t(33, j = n.translationurl), "showfavorites" in n && t(9, N = n.showfavorites), "cancelbutton" in n && t(10, U = n.cancelbutton), "notfoundicon" in n && t(11, V = n.notfoundicon), "controlchannel" in n && t(34, q = n.controlchannel), "allowedorigins" in n && t(35, L = n.allowedorigins), "requiredicon" in n && t(36, J = n.requiredicon);
1015
1015
  }, a.$$.update = () => {
1016
1016
  a.$$.dirty[0] & /*lang*/
1017
1017
  2 && c && Ye(), a.$$.dirty[1] & /*translationurl*/
1018
- 4 && E && Ae(), a.$$.dirty[1] & /*session, userid*/
1018
+ 4 && j && Ae(), a.$$.dirty[1] & /*session, userid*/
1019
1019
  3 && s && i && Ve(), a.$$.dirty[0] & /*showfavorites*/
1020
1020
  512 | a.$$.dirty[1] & /*isLoggedIn*/
1021
1021
  64 && N && ee && Ue(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1022
- 4104 && h && q && pt(q, h), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1023
- 4112 && m && q && St(q, m), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
1024
- 4100 && d && q && _t(q, `${d}.Style`);
1022
+ 4104 && d && B && pt(B, d), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1023
+ 4112 && m && B && St(B, m), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
1024
+ 4100 && h && B && _t(B, `${h}.Style`), a.$$.dirty[0] & /*mbsource*/
1025
+ 4 | a.$$.dirty[1] & /*translationurl*/
1026
+ 4 && h && !j && vt(`${h}.Translation`, Me, re);
1025
1027
  }, [
1026
1028
  o,
1027
1029
  c,
1028
- d,
1029
1030
  h,
1031
+ d,
1030
1032
  m,
1031
- k,
1033
+ y,
1032
1034
  T,
1033
1035
  g,
1034
1036
  S,
1035
1037
  N,
1036
1038
  U,
1037
1039
  V,
1038
- q,
1040
+ B,
1039
1041
  _,
1040
1042
  M,
1041
- O,
1043
+ H,
1042
1044
  $,
1043
1045
  A,
1044
1046
  P,
1045
1047
  te,
1046
1048
  ae,
1047
1049
  r,
1048
- j,
1049
- qe,
1050
- re,
1051
- He,
1050
+ E,
1051
+ Be,
1052
+ oe,
1053
+ Oe,
1052
1054
  Je,
1053
1055
  X,
1054
- de,
1056
+ ge,
1055
1057
  Ke,
1056
1058
  l,
1057
1059
  s,
1058
1060
  i,
1059
- E,
1060
- B,
1061
+ j,
1062
+ q,
1061
1063
  L,
1062
1064
  J,
1063
1065
  ee,
@@ -1068,13 +1070,13 @@ function jt(a, e, t) {
1068
1070
  tt
1069
1071
  ];
1070
1072
  }
1071
- class Et extends it {
1073
+ class Pt extends it {
1072
1074
  constructor(e) {
1073
1075
  super(), ct(
1074
1076
  this,
1075
1077
  e,
1076
- jt,
1077
- Gt,
1078
+ Nt,
1079
+ zt,
1078
1080
  ut,
1079
1081
  {
1080
1082
  endpoint: 0,
@@ -1097,7 +1099,7 @@ class Et extends it {
1097
1099
  allowedorigins: 35,
1098
1100
  requiredicon: 36
1099
1101
  },
1100
- Ct,
1102
+ Tt,
1101
1103
  [-1, -1, -1]
1102
1104
  );
1103
1105
  }
@@ -1216,7 +1218,7 @@ class Et extends it {
1216
1218
  this.$$set({ requiredicon: e }), F();
1217
1219
  }
1218
1220
  }
1219
- wt(Et, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, controlchannel: {}, allowedorigins: {}, requiredicon: {} }, [], [], !0);
1221
+ wt(Pt, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, controlchannel: {}, allowedorigins: {}, requiredicon: {} }, [], [], !0);
1220
1222
  export {
1221
- Et as default
1223
+ Pt as default
1222
1224
  };