@everymatrix/casino-lobby 1.94.20 → 1.94.21

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 (45) hide show
  1. package/components/{CasinoCalendar-wema5m1L.js → CasinoCalendar-BSSrHXNQ.js} +35 -35
  2. package/components/{CasinoCalendar-DiGa7WOB.js → CasinoCalendar-BjySUHyZ.js} +35 -35
  3. package/components/{CasinoCalendarDailyDetails-DaL1s4RB.js → CasinoCalendarDailyDetails-BoDKzZAL.js} +21 -21
  4. package/components/{CasinoCalendarDailyDetails-B78-hZrg.js → CasinoCalendarDailyDetails-DhX-usiB.js} +34 -34
  5. package/components/{CasinoCalendarDailyItem-CKLi-qk3.js → CasinoCalendarDailyItem-CA5M4JX2.js} +36 -36
  6. package/components/{CasinoCalendarDailyItem-BsriuRI8.js → CasinoCalendarDailyItem-CMjiC6kY.js} +36 -36
  7. package/components/{CasinoCategoriesSlider-Iuvnu1yi.js → CasinoCategoriesSlider-DEc0M4Jn.js} +19 -19
  8. package/components/{CasinoCategoriesSlider-BAEkLZ0a.js → CasinoCategoriesSlider-DmIIvJxr.js} +19 -19
  9. package/components/{CasinoCollectionsProviders-06lJHA-8.js → CasinoCollectionsProviders-Bk2Q_dKh.js} +76 -76
  10. package/components/{CasinoCollectionsProviders-b1UyeEfY.js → CasinoCollectionsProviders-CmZnRhGO.js} +65 -65
  11. package/components/{CasinoFavoritesSection-gL0wYg3v.js → CasinoFavoritesSection-B5IloH92.js} +34 -34
  12. package/components/{CasinoFavoritesSection-BfLobvVM.js → CasinoFavoritesSection-NizzPczK.js} +34 -34
  13. package/components/{CasinoFilter-BdBt4Qeo.js → CasinoFilter-C4hPyQNk.js} +80 -80
  14. package/components/{CasinoFilter-BUlBYglD.js → CasinoFilter-UrtcDtAa.js} +79 -79
  15. package/components/{CasinoGameThumbnail-C1HOULby.js → CasinoGameThumbnail-Cu4ldhfo.js} +41 -41
  16. package/components/{CasinoGameThumbnail-DQNWwhYO.js → CasinoGameThumbnail-DkOf6fv3.js} +41 -41
  17. package/components/{CasinoGamesCategorySection-DzL6ClvR.js → CasinoGamesCategorySection-C6V4Owht.js} +4 -4
  18. package/components/{CasinoGamesCategorySection-BsJoa-RE.js → CasinoGamesCategorySection-xB7lSgTz.js} +4 -4
  19. package/components/{CasinoJackpotBanner-DK02E4Sv.js → CasinoJackpotBanner-Czp2f53o.js} +79 -79
  20. package/components/{CasinoJackpotBanner-B9qX5ktZ.js → CasinoJackpotBanner-g0vrCtzB.js} +90 -90
  21. package/components/{CasinoLastPlayedSection-Bxhbdeg0.js → CasinoLastPlayedSection-BeXbhcJS.js} +41 -41
  22. package/components/{CasinoLastPlayedSection-CN4xtkfy.js → CasinoLastPlayedSection-DIOQytk1.js} +41 -41
  23. package/components/{CasinoLobby-CDOhHuQr.js → CasinoLobby-CmAf2BJ4.js} +59 -59
  24. package/components/{CasinoLobby-BQYyPma8.js → CasinoLobby-DlkT0ycq.js} +59 -59
  25. package/components/{CasinoMostPlayedSection-BuDxxWXc.js → CasinoMostPlayedSection-BdNavRAR.js} +41 -41
  26. package/components/{CasinoMostPlayedSection-xRqqFbB7.js → CasinoMostPlayedSection-CsYfyBz6.js} +41 -41
  27. package/components/{CasinoMyGames-CWYRptxX.js → CasinoMyGames-DXHLKn-b.js} +25 -25
  28. package/components/{CasinoMyGames-BHLUBVSx.js → CasinoMyGames-DquSH-8S.js} +23 -23
  29. package/components/{CasinoPage-C4ZeYvz2.js → CasinoPage-6DlUJdNB.js} +292 -292
  30. package/components/{CasinoPage-CBj_iE-2.js → CasinoPage-BMNjtSeY.js} +10 -10
  31. package/components/{CasinoRandomGame-Dv6CwM7x.js → CasinoRandomGame-CZbhowv3.js} +80 -80
  32. package/components/{CasinoRandomGame-BukwpxIJ.js → CasinoRandomGame-CmSz_YAA.js} +80 -80
  33. package/components/{CasinoSearch-D6tEGZOG.js → CasinoSearch-DaPqNPP0.js} +46 -46
  34. package/components/{CasinoSearch--OaOk05f.js → CasinoSearch-YX2fRFUd.js} +46 -46
  35. package/components/{CasinoSlider-CCcpCTws.js → CasinoSlider-BtDxtbI7.js} +70 -70
  36. package/components/{CasinoSlider-CC8wtxbN.js → CasinoSlider-C2_jk1q5.js} +74 -74
  37. package/components/{CasinoSort-Bb1Gdwb6.js → CasinoSort-8w8Vz2RT.js} +58 -58
  38. package/components/{CasinoSort-DrC7Ps-6.js → CasinoSort-k10aVq_3.js} +36 -36
  39. package/components/{CasinoWinners-BuAQ_2Ui.js → CasinoWinners-CYwfUKUr.js} +106 -106
  40. package/components/{CasinoWinners-DqHxxM8I.js → CasinoWinners-Ck4zkyiP.js} +112 -112
  41. package/components/{GeneralAnimationLoading-DARF2mD5.js → GeneralAnimationLoading-CULwno4n.js} +9 -9
  42. package/components/{GeneralAnimationLoading-CsDYexjL.js → GeneralAnimationLoading-XCOgxsu9.js} +5 -5
  43. package/es2015/casino-lobby.js +1 -1
  44. package/esnext/casino-lobby.js +1 -1
  45. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { d as Ue, b as Ve, S as Je, y as Ze, M as Ye, t as L, f as Xe, E as ue, p as j, L as Ke, g as f, T as he, z as I, e as b, D as U, q as k, V as E, Y as de, u as ae, k as Qe, G as $e, R as q, Z as H, h as me, s as ge, o as et, r as Le, Q as u, N as tt, O as at, P as nt, l as rt, a as ot } from "./CasinoLobby-BQYyPma8.js";
2
- import { d as st } from "./CasinoWinners-BuAQ_2Ui.js";
3
- import "./CasinoGamesCategorySection-BsJoa-RE.js";
1
+ import { a as Ue, v as Ve, S as Je, i as Ze, s as Ye, f as L, b as Ke, n as ue, d as j, K as Xe, l as f, a2 as he, e as I, p as b, M as U, g as k, C as z, a0 as de, j as ae, h as Qe, o as $e, E as q, F as H, k as me, I as ge, Z as et, D as Le, m as u, q as tt, r as at, t as nt, c as rt, $ as ot } from "./CasinoLobby-DlkT0ycq.js";
2
+ import { d as st } from "./CasinoWinners-CYwfUKUr.js";
3
+ import "./CasinoGamesCategorySection-xB7lSgTz.js";
4
4
  function fe(t, e) {
5
5
  Ue(t, e);
6
6
  }
@@ -221,7 +221,7 @@ function ct(t, e) {
221
221
  return a.getTime() < n.getTime();
222
222
  }
223
223
  function ut(t) {
224
- Xe(t, "svelte-nijkoq", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:10px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;padding-right:28px}.SearchInput::placeholder{color:var(--emw--color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emw--color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail-nd{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:10px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}");
224
+ Ke(t, "svelte-nijkoq", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:10px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;padding-right:28px}.SearchInput::placeholder{color:var(--emw--color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emw--color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail-nd{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:10px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}");
225
225
  }
226
226
  function be(t, e, a) {
227
227
  const n = t.slice();
@@ -282,7 +282,7 @@ function ht(t) {
282
282
  );
283
283
  return {
284
284
  c() {
285
- i && i.c(), e = E(), a = k("div"), c && c.c(), n = E(), m && m.c(), f(a, "class", r = "SearchResultsContainer " + /*searchActive*/
285
+ i && i.c(), e = z(), a = k("div"), c && c.c(), n = z(), m && m.c(), f(a, "class", r = "SearchResultsContainer " + /*searchActive*/
286
286
  (t[17] == !0 ? "" : "NotVisible"));
287
287
  },
288
288
  m(h, g) {
@@ -355,7 +355,7 @@ function gt(t) {
355
355
  );
356
356
  return {
357
357
  c() {
358
- n && n.c(), e = E(), r && r.c(), a = Le();
358
+ n && n.c(), e = z(), r && r.c(), a = Le();
359
359
  },
360
360
  m(l, s) {
361
361
  n && n.m(l, s), I(l, e, s), r && r.m(l, s), I(l, a, s);
@@ -402,7 +402,7 @@ function ve(t) {
402
402
  );
403
403
  return {
404
404
  c() {
405
- e = k("div"), i && i.c(), a = E(), n = k("p"), l = H(r), f(n, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
405
+ e = k("div"), i && i.c(), a = z(), n = k("p"), l = H(r), f(n, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
406
406
  (t[10] == "true" ? "WithIcon" : ""));
407
407
  },
408
408
  m(c, m) {
@@ -684,7 +684,7 @@ function Ce(t) {
684
684
  );
685
685
  return {
686
686
  c() {
687
- e = k("div"), g && g.c(), a = E(), n = k("p"), l = H(r), s = E(), i = k("p"), m = H(c), f(n, "class", "SearchMessage"), f(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
687
+ e = k("div"), g && g.c(), a = z(), n = k("p"), l = H(r), s = z(), i = k("p"), m = H(c), f(n, "class", "SearchMessage"), f(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
688
688
  (t[10] == "true" ? "WithIcon" : ""));
689
689
  },
690
690
  m(w, d) {
@@ -724,16 +724,16 @@ function ft(t) {
724
724
  /*cancelbutton*/
725
725
  t[9] === "true" && _e(t)
726
726
  );
727
- function D(_, T) {
727
+ function G(_, T) {
728
728
  return (
729
729
  /*isLoading*/
730
730
  _[18] ? dt : ht
731
731
  );
732
732
  }
733
- let M = D(t), R = M(t);
733
+ let M = G(t), R = M(t);
734
734
  return {
735
735
  c() {
736
- e = k("div"), a = k("div"), n = k("div"), r = k("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', l = E(), s = k("input"), c = E(), m = k("span"), h = de("svg"), g = de("path"), d = E(), v && v.c(), B = E(), N = k("div"), J = E(), R.c(), f(r, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
736
+ e = k("div"), a = k("div"), n = k("div"), r = k("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', l = z(), s = k("input"), c = z(), m = k("span"), h = de("svg"), g = de("path"), d = z(), v && v.c(), B = z(), N = k("div"), J = z(), R.c(), f(r, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
737
737
  t[21]("placeHolderSearchGames")), f(s, "maxlength", pt), f(g, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), f(g, "stroke", "#717171"), f(g, "stroke-width", "2"), f(g, "stroke-linecap", "round"), f(g, "stroke-linejoin", "round"), f(h, "width", "11"), f(h, "height", "11"), f(h, "fill", "none"), f(h, "xmlns", "http://www.w3.org/2000/svg"), f(m, "class", w = "SearchClearButton " + /*cancelbutton*/
738
738
  (t[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
739
739
  (t[14].length != 0 ? "" : "NotVisible")), f(n, "class", p = "Search " + /*searchCancelled*/
@@ -798,12 +798,12 @@ function ft(t) {
798
798
  65536 && p !== (p = "Search " + /*searchCancelled*/
799
799
  (_[16] ? "" : "SearchAnimation")) && f(n, "class", p), T[0] & /*cancelbutton*/
800
800
  512 && x !== (x = /*cancelbutton*/
801
- _[9] != "true" ? "OverlayCancel" : "") && f(N, "class", x), M === (M = D(_)) && R ? R.p(_, T) : (R.d(1), R = M(_), R && (R.c(), R.m(e, null)));
801
+ _[9] != "true" ? "OverlayCancel" : "") && f(N, "class", x), M === (M = G(_)) && R ? R.p(_, T) : (R.d(1), R = M(_), R && (R.c(), R.m(e, null)));
802
802
  },
803
803
  i: ue,
804
804
  o: ue,
805
805
  d(_) {
806
- _ && j(e), t[35](null), v && v.d(), R.d(), t[38](null), A = !1, Ke(W);
806
+ _ && j(e), t[35](null), v && v.d(), R.d(), t[38](null), A = !1, Xe(W);
807
807
  }
808
808
  };
809
809
  }
@@ -811,7 +811,7 @@ let pt = 50;
811
811
  function St(t, e, a) {
812
812
  let n;
813
813
  Qe(t, ot, (o) => a(21, n = o));
814
- let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: B = "" } = e, { showfavorites: N = "" } = e, { cancelbutton: x = "true" } = e, { notfoundicon: J = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], D = [], M = {}, R = "", _, T = !0, Z = !1, z = !1, P, X = !1, K, Q, re = [], Te;
814
+ let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: B = "" } = e, { showfavorites: N = "" } = e, { cancelbutton: x = "true" } = e, { notfoundicon: J = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], G = [], M = {}, R = "", _, T = !0, Z = !1, E = !1, P, K = !1, X, Q, re = [], Te;
815
815
  const je = () => {
816
816
  fetch(B).then((S) => S.json()).then((S) => {
817
817
  Object.keys(S).forEach((y) => {
@@ -825,7 +825,7 @@ function St(t, e, a) {
825
825
  fe(o, pe[o]);
826
826
  });
827
827
  const oe = (o) => {
828
- o.data && o.data.type == "SearchedItemClicked" && Pe(o.data.gameId), o.data.type == "UserSessionID" && (a(19, K = o.data.session), a(20, Q = o.data.userid), a(33, X = !0)), o.data.type == "CategoryChange" && $();
828
+ o.data && o.data.type == "SearchedItemClicked" && Pe(o.data.gameId), o.data.type == "UserSessionID" && (a(19, X = o.data.session), a(20, Q = o.data.userid), a(33, K = !0)), o.data.type == "CategoryChange" && $();
829
829
  }, se = () => {
830
830
  if (a(16, T = !1), a(17, Z = !0), r && l && c && R.length < 2) {
831
831
  a(13, v = []);
@@ -834,14 +834,14 @@ function St(t, e, a) {
834
834
  let y = [], C = 0, F = S.length;
835
835
  if (F > 0) {
836
836
  for (C = 0; C < F; C++) {
837
- let G = new URL(`${r}/v1/casino/games/${S[C]}`);
838
- G.searchParams.append("language", c), G.searchParams.append("datasource", l), G.searchParams.append("platform", ae(W)), y.push(De(G, S[C]));
837
+ let D = new URL(`${r}/v1/casino/games/${S[C]}`);
838
+ D.searchParams.append("language", c), D.searchParams.append("datasource", l), D.searchParams.append("platform", ae(W)), y.push(Ge(D, S[C]));
839
839
  }
840
- Promise.all(y).then((G) => {
841
- G = G.filter(function(O) {
840
+ Promise.all(y).then((D) => {
841
+ D = D.filter(function(O) {
842
842
  return !!O;
843
- }), a(13, v = G.map((O) => (O.isFavorite = le(O.id), O))), v.length ? Y("searchSuccess", "SearchWidget") : Y("searchFail", "SearchWidget");
844
- }).catch((G) => {
843
+ }), a(13, v = D.map((O) => (O.isFavorite = le(O.id), O))), v.length ? Y("searchSuccess", "SearchWidget") : Y("searchFail", "SearchWidget");
844
+ }).catch((D) => {
845
845
  Y("searchError", "SearchWidget");
846
846
  });
847
847
  }
@@ -851,46 +851,46 @@ function St(t, e, a) {
851
851
  typeof gtag == "function" && gtag("event", o, { context: S });
852
852
  }, Ie = () => {
853
853
  x != "true" && $();
854
- }, Ge = (o) => new Promise((S, y) => {
855
- a(18, z = !0), fetch(o.href).then((C) => C.json()).then((C) => {
856
- a(18, z = !1), S(C);
854
+ }, De = (o) => new Promise((S, y) => {
855
+ a(18, E = !0), fetch(o.href).then((C) => C.json()).then((C) => {
856
+ a(18, E = !1), S(C);
857
857
  }).catch((C) => {
858
- a(18, z = !1), console.error(C), y(C);
858
+ a(18, E = !1), console.error(C), y(C);
859
859
  });
860
- }), De = (o, S) => new Promise((y, C) => {
861
- a(18, z = !0), S && Object.keys(M).indexOf(S) >= 0 ? (a(18, z = !1), y(M[S])) : fetch(o).then((F) => F.json()).then((F) => {
862
- a(18, z = !1), F.error || (M[F[0].gameId] = F[0]), y(F[0]);
860
+ }), Ge = (o, S) => new Promise((y, C) => {
861
+ a(18, E = !0), S && Object.keys(M).indexOf(S) >= 0 ? (a(18, E = !1), y(M[S])) : fetch(o).then((F) => F.json()).then((F) => {
862
+ a(18, E = !1), F.error || (M[F[0].gameId] = F[0]), y(F[0]);
863
863
  }).catch((F) => {
864
- a(18, z = !1), console.error(F), C(F);
864
+ a(18, E = !1), console.error(F), C(F);
865
865
  });
866
- }), ze = () => {
866
+ }), Ee = () => {
867
867
  const o = new URL(`${r}/v1/player/${Q}/favorites/`);
868
- a(18, z = !0);
868
+ a(18, E = !0);
869
869
  let S = {
870
870
  method: "GET",
871
- headers: { "X-SessionID": K }
871
+ headers: { "X-SessionID": X }
872
872
  };
873
873
  fetch(o.href, S).then((y) => y.json()).then((y) => {
874
- a(18, z = !1), re = y.items.map((C) => C.id);
874
+ a(18, E = !1), re = y.items.map((C) => C.id);
875
875
  });
876
- }, Ee = () => {
877
- a(33, X = !0), a(19, K = s), a(20, Q = i);
876
+ }, ze = () => {
877
+ a(33, K = !0), a(19, X = s), a(20, Q = i);
878
878
  }, le = (o) => re.findIndex((S) => S == o) !== -1, Ne = (o) => {
879
879
  if (o?.length === 0)
880
880
  return "";
881
881
  let S, y = 99999999999, C;
882
882
  const F = new Date(Date.now());
883
- return o.forEach((G, O) => {
884
- const We = new Date(G.schedules[0].startTime), te = new Date(G.schedules[0].endTime);
883
+ return o.forEach((D, O) => {
884
+ const We = new Date(D.schedules[0].startTime), te = new Date(D.schedules[0].endTime);
885
885
  Se(new Date(te), new Date(F)) < y && (y = Se(new Date(te), new Date(F)), C = O), it(new Date(F), new Date(We)) && ct(new Date(F), new Date(te)) && (S = o[C].name);
886
886
  }), S;
887
887
  }, Pe = (o) => {
888
- if (D = localStorage.getItem("searchedGamesWds_casino"), D ? D = D.split(",") : D = [], D.indexOf(o) === -1) {
888
+ if (G = localStorage.getItem("searchedGamesWds_casino"), G ? G = G.split(",") : G = [], G.indexOf(o) === -1) {
889
889
  let S;
890
- D.unshift(o), S = D.join(","), localStorage.setItem("searchedGamesWds_casino", S);
890
+ G.unshift(o), S = G.join(","), localStorage.setItem("searchedGamesWds_casino", S);
891
891
  }
892
892
  }, $ = () => {
893
- a(14, R = ""), a(16, T = !0), a(18, z = !1), a(13, v = []), a(17, Z = !1), ce(Z);
893
+ a(14, R = ""), a(16, T = !0), a(18, E = !1), a(13, v = []), a(17, Z = !1), ce(Z);
894
894
  }, ie = () => {
895
895
  a(14, R = ""), _.focus();
896
896
  }, ce = (o) => {
@@ -906,7 +906,7 @@ function St(t, e, a) {
906
906
  }, Me = st(async () => {
907
907
  if (R.length >= 2) {
908
908
  const o = new URL(`${r}/v1/casino/games`);
909
- o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", ae(W)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", `name=${R}`), Ge(o).then((S) => {
909
+ o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", ae(W)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", `name=${R}`), De(o).then((S) => {
910
910
  a(13, v = S.items.map((y) => (y.isFavorite = le(y.id), y)));
911
911
  });
912
912
  } else
@@ -936,9 +936,9 @@ function St(t, e, a) {
936
936
  2 && c && xe(), t.$$.dirty[1] & /*translationurl*/
937
937
  2 && B && je(), t.$$.dirty[0] & /*session*/
938
938
  1073741824 | t.$$.dirty[1] & /*userid*/
939
- 1 && s && i && Ee(), t.$$.dirty[0] & /*showfavorites*/
939
+ 1 && s && i && ze(), t.$$.dirty[0] & /*showfavorites*/
940
940
  256 | t.$$.dirty[1] & /*isLoggedIn*/
941
- 4 && N && X && ze(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
941
+ 4 && N && K && Ee(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
942
942
  4100 && m && P && tt(P, m), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
943
943
  4104 && h && P && at(P, h), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
944
944
  6144 && P && nt(P, `${A}.Style`, Te);
@@ -961,8 +961,8 @@ function St(t, e, a) {
961
961
  _,
962
962
  T,
963
963
  Z,
964
- z,
965
- K,
964
+ E,
965
+ X,
966
966
  Q,
967
967
  n,
968
968
  W,
@@ -976,7 +976,7 @@ function St(t, e, a) {
976
976
  s,
977
977
  i,
978
978
  B,
979
- X,
979
+ K,
980
980
  Be,
981
981
  Ae,
982
982
  Oe,
@@ -14,9 +14,9 @@ var ue = (t, e, a) => new Promise((n, r) => {
14
14
  }, i = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(l, s);
15
15
  i((a = a.apply(t, e)).next());
16
16
  });
17
- import { d as Ve, b as Je, S as Ze, y as Ye, M as Xe, t as L, f as Ke, E as he, p as j, L as Qe, g, T as de, z as I, e as b, D as U, q as k, V as E, Y as me, u as ae, k as $e, G as et, R as q, Z as H, h as fe, s as ge, o as tt, r as Te, Q as u, N as at, O as nt, P as rt, l as ot, a as st } from "./CasinoLobby-CDOhHuQr.js";
18
- import { d as lt } from "./CasinoWinners-DqHxxM8I.js";
19
- import "./CasinoGamesCategorySection-DzL6ClvR.js";
17
+ import { a as Ve, v as Je, S as Ze, i as Ye, s as Ke, f as L, b as Xe, n as he, d as j, K as Qe, k as g, a2 as de, c as I, m as b, M as U, e as k, C as z, a0 as me, h as ae, g as $e, o as et, E as q, F as H, j as fe, I as ge, Z as tt, D as Te, l as u, p as at, q as nt, r as rt, t as ot, $ as st } from "./CasinoLobby-CmAf2BJ4.js";
18
+ import { d as lt } from "./CasinoWinners-Ck4zkyiP.js";
19
+ import "./CasinoGamesCategorySection-C6V4Owht.js";
20
20
  function pe(t, e) {
21
21
  Ve(t, e);
22
22
  }
@@ -237,7 +237,7 @@ function ut(t, e) {
237
237
  return a.getTime() < n.getTime();
238
238
  }
239
239
  function ht(t) {
240
- Ke(t, "svelte-nijkoq", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:10px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;padding-right:28px}.SearchInput::placeholder{color:var(--emw--color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emw--color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail-nd{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:10px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}");
240
+ Xe(t, "svelte-nijkoq", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:10px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;padding-right:28px}.SearchInput::placeholder{color:var(--emw--color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emw--color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail-nd{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:10px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}");
241
241
  }
242
242
  function _e(t, e, a) {
243
243
  const n = t.slice();
@@ -298,7 +298,7 @@ function dt(t) {
298
298
  );
299
299
  return {
300
300
  c() {
301
- i && i.c(), e = E(), a = k("div"), c && c.c(), n = E(), m && m.c(), g(a, "class", r = "SearchResultsContainer " + /*searchActive*/
301
+ i && i.c(), e = z(), a = k("div"), c && c.c(), n = z(), m && m.c(), g(a, "class", r = "SearchResultsContainer " + /*searchActive*/
302
302
  (t[17] == !0 ? "" : "NotVisible"));
303
303
  },
304
304
  m(h, f) {
@@ -371,7 +371,7 @@ function gt(t) {
371
371
  );
372
372
  return {
373
373
  c() {
374
- n && n.c(), e = E(), r && r.c(), a = Te();
374
+ n && n.c(), e = z(), r && r.c(), a = Te();
375
375
  },
376
376
  m(l, s) {
377
377
  n && n.m(l, s), I(l, e, s), r && r.m(l, s), I(l, a, s);
@@ -418,7 +418,7 @@ function ye(t) {
418
418
  );
419
419
  return {
420
420
  c() {
421
- e = k("div"), i && i.c(), a = E(), n = k("p"), l = H(r), g(n, "class", "SearchMessage"), g(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
421
+ e = k("div"), i && i.c(), a = z(), n = k("p"), l = H(r), g(n, "class", "SearchMessage"), g(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
422
422
  (t[10] == "true" ? "WithIcon" : ""));
423
423
  },
424
424
  m(c, m) {
@@ -702,7 +702,7 @@ function Fe(t) {
702
702
  );
703
703
  return {
704
704
  c() {
705
- e = k("div"), f && f.c(), a = E(), n = k("p"), l = H(r), s = E(), i = k("p"), m = H(c), g(n, "class", "SearchMessage"), g(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
705
+ e = k("div"), f && f.c(), a = z(), n = k("p"), l = H(r), s = z(), i = k("p"), m = H(c), g(n, "class", "SearchMessage"), g(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
706
706
  (t[10] == "true" ? "WithIcon" : ""));
707
707
  },
708
708
  m(w, d) {
@@ -742,16 +742,16 @@ function pt(t) {
742
742
  /*cancelbutton*/
743
743
  t[9] === "true" && we(t)
744
744
  );
745
- function D(_, T) {
745
+ function G(_, T) {
746
746
  return (
747
747
  /*isLoading*/
748
748
  _[18] ? mt : dt
749
749
  );
750
750
  }
751
- let B = D(t), R = B(t);
751
+ let B = G(t), R = B(t);
752
752
  return {
753
753
  c() {
754
- e = k("div"), a = k("div"), n = k("div"), r = k("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', l = E(), s = k("input"), c = E(), m = k("span"), h = me("svg"), f = me("path"), d = E(), v && v.c(), N = E(), P = k("div"), J = E(), R.c(), g(r, "class", "SearchIcon"), g(s, "class", "SearchInput"), g(s, "type", "search"), g(s, "placeholder", i = /*$_*/
754
+ e = k("div"), a = k("div"), n = k("div"), r = k("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', l = z(), s = k("input"), c = z(), m = k("span"), h = me("svg"), f = me("path"), d = z(), v && v.c(), N = z(), P = k("div"), J = z(), R.c(), g(r, "class", "SearchIcon"), g(s, "class", "SearchInput"), g(s, "type", "search"), g(s, "placeholder", i = /*$_*/
755
755
  t[21]("placeHolderSearchGames")), g(s, "maxlength", St), g(f, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), g(f, "stroke", "#717171"), g(f, "stroke-width", "2"), g(f, "stroke-linecap", "round"), g(f, "stroke-linejoin", "round"), g(h, "width", "11"), g(h, "height", "11"), g(h, "fill", "none"), g(h, "xmlns", "http://www.w3.org/2000/svg"), g(m, "class", w = "SearchClearButton " + /*cancelbutton*/
756
756
  (t[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
757
757
  (t[14].length != 0 ? "" : "NotVisible")), g(n, "class", p = "Search " + /*searchCancelled*/
@@ -816,7 +816,7 @@ function pt(t) {
816
816
  65536 && p !== (p = "Search " + /*searchCancelled*/
817
817
  (_[16] ? "" : "SearchAnimation")) && g(n, "class", p), T[0] & /*cancelbutton*/
818
818
  512 && M !== (M = /*cancelbutton*/
819
- _[9] != "true" ? "OverlayCancel" : "") && g(P, "class", M), B === (B = D(_)) && R ? R.p(_, T) : (R.d(1), R = B(_), R && (R.c(), R.m(e, null)));
819
+ _[9] != "true" ? "OverlayCancel" : "") && g(P, "class", M), B === (B = G(_)) && R ? R.p(_, T) : (R.d(1), R = B(_), R && (R.c(), R.m(e, null)));
820
820
  },
821
821
  i: he,
822
822
  o: he,
@@ -829,7 +829,7 @@ let St = 50;
829
829
  function bt(t, e, a) {
830
830
  let n;
831
831
  $e(t, st, (o) => a(21, n = o));
832
- let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: f = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: N = "" } = e, { showfavorites: P = "" } = e, { cancelbutton: M = "true" } = e, { notfoundicon: J = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], D = [], B = {}, R = "", _, T = !0, Z = !1, z = !1, x, X = !1, K, Q, re = [], je;
832
+ let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: f = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: N = "" } = e, { showfavorites: P = "" } = e, { cancelbutton: M = "true" } = e, { notfoundicon: J = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], G = [], B = {}, R = "", _, T = !0, Z = !1, E = !1, x, K = !1, X, Q, re = [], je;
833
833
  const Ie = () => {
834
834
  fetch(N).then((S) => S.json()).then((S) => {
835
835
  Object.keys(S).forEach((y) => {
@@ -843,7 +843,7 @@ function bt(t, e, a) {
843
843
  pe(o, Se[o]);
844
844
  });
845
845
  const oe = (o) => {
846
- o.data && o.data.type == "SearchedItemClicked" && xe(o.data.gameId), o.data.type == "UserSessionID" && (a(19, K = o.data.session), a(20, Q = o.data.userid), a(33, X = !0)), o.data.type == "CategoryChange" && $();
846
+ o.data && o.data.type == "SearchedItemClicked" && xe(o.data.gameId), o.data.type == "UserSessionID" && (a(19, X = o.data.session), a(20, Q = o.data.userid), a(33, K = !0)), o.data.type == "CategoryChange" && $();
847
847
  }, se = () => {
848
848
  if (a(16, T = !1), a(17, Z = !0), r && l && c && R.length < 2) {
849
849
  a(13, v = []);
@@ -852,14 +852,14 @@ function bt(t, e, a) {
852
852
  let y = [], C = 0, F = S.length;
853
853
  if (F > 0) {
854
854
  for (C = 0; C < F; C++) {
855
- let G = new URL(`${r}/v1/casino/games/${S[C]}`);
856
- G.searchParams.append("language", c), G.searchParams.append("datasource", l), G.searchParams.append("platform", ae(W)), y.push(ze(G, S[C]));
855
+ let D = new URL(`${r}/v1/casino/games/${S[C]}`);
856
+ D.searchParams.append("language", c), D.searchParams.append("datasource", l), D.searchParams.append("platform", ae(W)), y.push(Ee(D, S[C]));
857
857
  }
858
- Promise.all(y).then((G) => {
859
- G = G.filter(function(O) {
858
+ Promise.all(y).then((D) => {
859
+ D = D.filter(function(O) {
860
860
  return !!O;
861
- }), a(13, v = G.map((O) => (O.isFavorite = le(O.id), O))), v.length ? Y("searchSuccess", "SearchWidget") : Y("searchFail", "SearchWidget");
862
- }).catch((G) => {
861
+ }), a(13, v = D.map((O) => (O.isFavorite = le(O.id), O))), v.length ? Y("searchSuccess", "SearchWidget") : Y("searchFail", "SearchWidget");
862
+ }).catch((D) => {
863
863
  Y("searchError", "SearchWidget");
864
864
  });
865
865
  }
@@ -867,48 +867,48 @@ function bt(t, e, a) {
867
867
  ce(Z), Y("searchAttempt", "SearchWidget"), Y("SearchInitialized", "SearchWidget");
868
868
  }, Y = (o, S) => {
869
869
  typeof gtag == "function" && gtag("event", o, { context: S });
870
- }, Ge = () => {
870
+ }, De = () => {
871
871
  M != "true" && $();
872
- }, De = (o) => new Promise((S, y) => {
873
- a(18, z = !0), fetch(o.href).then((C) => C.json()).then((C) => {
874
- a(18, z = !1), S(C);
872
+ }, Ge = (o) => new Promise((S, y) => {
873
+ a(18, E = !0), fetch(o.href).then((C) => C.json()).then((C) => {
874
+ a(18, E = !1), S(C);
875
875
  }).catch((C) => {
876
- a(18, z = !1), console.error(C), y(C);
876
+ a(18, E = !1), console.error(C), y(C);
877
877
  });
878
- }), ze = (o, S) => new Promise((y, C) => {
879
- a(18, z = !0), S && Object.keys(B).indexOf(S) >= 0 ? (a(18, z = !1), y(B[S])) : fetch(o).then((F) => F.json()).then((F) => {
880
- a(18, z = !1), F.error || (B[F[0].gameId] = F[0]), y(F[0]);
878
+ }), Ee = (o, S) => new Promise((y, C) => {
879
+ a(18, E = !0), S && Object.keys(B).indexOf(S) >= 0 ? (a(18, E = !1), y(B[S])) : fetch(o).then((F) => F.json()).then((F) => {
880
+ a(18, E = !1), F.error || (B[F[0].gameId] = F[0]), y(F[0]);
881
881
  }).catch((F) => {
882
- a(18, z = !1), console.error(F), C(F);
882
+ a(18, E = !1), console.error(F), C(F);
883
883
  });
884
- }), Ee = () => {
884
+ }), ze = () => {
885
885
  const o = new URL(`${r}/v1/player/${Q}/favorites/`);
886
- a(18, z = !0);
886
+ a(18, E = !0);
887
887
  let S = {
888
888
  method: "GET",
889
- headers: { "X-SessionID": K }
889
+ headers: { "X-SessionID": X }
890
890
  };
891
891
  fetch(o.href, S).then((y) => y.json()).then((y) => {
892
- a(18, z = !1), re = y.items.map((C) => C.id);
892
+ a(18, E = !1), re = y.items.map((C) => C.id);
893
893
  });
894
894
  }, Ne = () => {
895
- a(33, X = !0), a(19, K = s), a(20, Q = i);
895
+ a(33, K = !0), a(19, X = s), a(20, Q = i);
896
896
  }, le = (o) => re.findIndex((S) => S == o) !== -1, Pe = (o) => {
897
897
  if ((o == null ? void 0 : o.length) === 0)
898
898
  return "";
899
899
  let S, y = 99999999999, C;
900
900
  const F = new Date(Date.now());
901
- return o.forEach((G, O) => {
902
- const Ue = new Date(G.schedules[0].startTime), te = new Date(G.schedules[0].endTime);
901
+ return o.forEach((D, O) => {
902
+ const Ue = new Date(D.schedules[0].startTime), te = new Date(D.schedules[0].endTime);
903
903
  be(new Date(te), new Date(F)) < y && (y = be(new Date(te), new Date(F)), C = O), ct(new Date(F), new Date(Ue)) && ut(new Date(F), new Date(te)) && (S = o[C].name);
904
904
  }), S;
905
905
  }, xe = (o) => {
906
- if (D = localStorage.getItem("searchedGamesWds_casino"), D ? D = D.split(",") : D = [], D.indexOf(o) === -1) {
906
+ if (G = localStorage.getItem("searchedGamesWds_casino"), G ? G = G.split(",") : G = [], G.indexOf(o) === -1) {
907
907
  let S;
908
- D.unshift(o), S = D.join(","), localStorage.setItem("searchedGamesWds_casino", S);
908
+ G.unshift(o), S = G.join(","), localStorage.setItem("searchedGamesWds_casino", S);
909
909
  }
910
910
  }, $ = () => {
911
- a(14, R = ""), a(16, T = !0), a(18, z = !1), a(13, v = []), a(17, Z = !1), ce(Z);
911
+ a(14, R = ""), a(16, T = !0), a(18, E = !1), a(13, v = []), a(17, Z = !1), ce(Z);
912
912
  }, ie = () => {
913
913
  a(14, R = ""), _.focus();
914
914
  }, ce = (o) => {
@@ -924,7 +924,7 @@ function bt(t, e, a) {
924
924
  }, Be = lt(() => ue(this, null, function* () {
925
925
  if (R.length >= 2) {
926
926
  const o = new URL(`${r}/v1/casino/games`);
927
- o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", ae(W)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", `name=${R}`), De(o).then((S) => {
927
+ o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", ae(W)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", `name=${R}`), Ge(o).then((S) => {
928
928
  a(13, v = S.items.map((y) => (y.isFavorite = le(y.id), y)));
929
929
  });
930
930
  } else
@@ -956,7 +956,7 @@ function bt(t, e, a) {
956
956
  1073741824 | t.$$.dirty[1] & /*userid*/
957
957
  1 && s && i && Ne(), t.$$.dirty[0] & /*showfavorites*/
958
958
  256 | t.$$.dirty[1] & /*isLoggedIn*/
959
- 4 && P && X && Ee(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
959
+ 4 && P && K && ze(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
960
960
  4100 && m && x && at(x, m), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
961
961
  4104 && h && x && nt(x, h), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
962
962
  6144 && x && rt(x, `${A}.Style`, je);
@@ -979,13 +979,13 @@ function bt(t, e, a) {
979
979
  _,
980
980
  T,
981
981
  Z,
982
- z,
983
- K,
982
+ E,
983
+ X,
984
984
  Q,
985
985
  n,
986
986
  W,
987
987
  se,
988
- Ge,
988
+ De,
989
989
  Pe,
990
990
  $,
991
991
  ie,
@@ -994,7 +994,7 @@ function bt(t, e, a) {
994
994
  s,
995
995
  i,
996
996
  N,
997
- X,
997
+ K,
998
998
  Ae,
999
999
  Oe,
1000
1000
  qe,
@@ -1009,7 +1009,7 @@ class _t extends Ze {
1009
1009
  e,
1010
1010
  bt,
1011
1011
  pt,
1012
- Xe,
1012
+ Ke,
1013
1013
  {
1014
1014
  endpoint: 0,
1015
1015
  datasource: 29,