@everymatrix/casino-lobby 1.59.2 → 1.60.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/components/{CasinoCategoriesSlider-CZHyRC-C.js → CasinoCategoriesSlider-DRIsr69C.js} +1 -1
  2. package/components/{CasinoCategoriesSlider-Dm2i_QTf.js → CasinoCategoriesSlider-DYab11Z3.js} +1 -1
  3. package/components/{CasinoCategoriesSlider-DMR3iCVW.cjs → CasinoCategoriesSlider-_X531XfJ.cjs} +1 -1
  4. package/components/{CasinoFavoritesSection-C949lfcK.js → CasinoFavoritesSection-BPeaXKGM.js} +1 -1
  5. package/components/{CasinoFavoritesSection-V5ybOUJC.js → CasinoFavoritesSection-D5EqqGMj.js} +1 -1
  6. package/components/{CasinoFavoritesSection-hHKNAcoS.cjs → CasinoFavoritesSection-DIHre_7t.cjs} +1 -1
  7. package/components/{CasinoGameThumbnail-CVz7FpsB.js → CasinoGameThumbnail-CMvbY2cI.js} +200 -184
  8. package/components/CasinoGameThumbnail-Fwlc2vjJ.cjs +38 -0
  9. package/components/{CasinoGameThumbnail-NLieCJGe.js → CasinoGameThumbnail-XbLpvdZ1.js} +201 -185
  10. package/components/{CasinoGamesCategorySection-BP3bZsZg.js → CasinoGamesCategorySection-Cgi_LzIk.js} +1 -1
  11. package/components/CasinoGamesCategorySection-DHyFvtM3.cjs +1 -0
  12. package/components/{CasinoGamesCategorySection-Bpy9vh6D.js → CasinoGamesCategorySection-kZn6gz5M.js} +1 -1
  13. package/components/{CasinoLastPlayedSection-CVEuFsbi.js → CasinoLastPlayedSection-BmYQ5e4f.js} +1 -1
  14. package/components/{CasinoLastPlayedSection-COAM1aoc.cjs → CasinoLastPlayedSection-DtfR0xRC.cjs} +1 -1
  15. package/components/{CasinoLastPlayedSection-B9I2fZm5.js → CasinoLastPlayedSection-NSl0yoZv.js} +1 -1
  16. package/components/{CasinoLobby-CYqI5Bvp.cjs → CasinoLobby-Bsmr_ax3.cjs} +1 -1
  17. package/components/{CasinoLobby-AoZlXLOV.js → CasinoLobby-CX4NLxiX.js} +2 -2
  18. package/components/{CasinoLobby-BRiasSXJ.js → CasinoLobby-Q5uhRd4e.js} +2 -2
  19. package/components/{CasinoMostPlayedSection-DwZh0uxo.js → CasinoMostPlayedSection-BCjRlbbD.js} +1 -1
  20. package/components/{CasinoMostPlayedSection-BUwIld9p.cjs → CasinoMostPlayedSection-C_ohqFyM.cjs} +1 -1
  21. package/components/{CasinoMostPlayedSection-9B6X9czZ.js → CasinoMostPlayedSection-CtfOCgLC.js} +1 -1
  22. package/components/{CasinoMyGames-76IMIo9z.js → CasinoMyGames-B7uSkUNa.js} +3 -3
  23. package/components/{CasinoMyGames-DTGaTHyO.cjs → CasinoMyGames-CCejo695.cjs} +1 -1
  24. package/components/{CasinoMyGames-DRCxYUHg.js → CasinoMyGames-DR5bMRpI.js} +3 -3
  25. package/components/{CasinoPage-BPxxsTeq.js → CasinoPage-Bvi4UG6U.js} +3 -3
  26. package/components/{CasinoPage-DZ6Yhwli.cjs → CasinoPage-D67L8dJp.cjs} +1 -1
  27. package/components/{CasinoPage-CikRIum6.js → CasinoPage-D_LGB2VJ.js} +3 -3
  28. package/components/{CasinoSearch-Cs8FRwGb.js → CasinoSearch-Bdtzeemo.js} +47 -46
  29. package/components/CasinoSearch-BzqcnIfq.cjs +1 -0
  30. package/components/{CasinoSearch-CCcjmB9U.js → CasinoSearch-DgadCAWn.js} +47 -46
  31. package/components/CasinoSlider---x4M_hm.js +803 -0
  32. package/components/CasinoSlider-BsszznrS.cjs +1 -0
  33. package/components/{CasinoSlider-0rdHVHjG.js → CasinoSlider-PeKujgAE.js} +111 -111
  34. package/es2015/casino-lobby.cjs +1 -1
  35. package/es2015/casino-lobby.js +1 -1
  36. package/esnext/casino-lobby.js +1 -1
  37. package/package.json +2 -2
  38. package/components/CasinoGameThumbnail-DK9cpR-G.cjs +0 -38
  39. package/components/CasinoGamesCategorySection-BAcJus2G.cjs +0 -1
  40. package/components/CasinoSearch-CZSrkWFZ.cjs +0 -1
  41. package/components/CasinoSlider-CMKmgXUK.cjs +0 -1
  42. package/components/CasinoSlider-CleETLFf.js +0 -803
@@ -1,10 +1,11 @@
1
- import { a as Ae, $ as Oe, S as qe, i as He, f as L, c as We, s as Ue, b as Ve, e as y, w as N, J as ie, y as f, O as te, d as j, z as _, V as ce, A as Z, G as ue, j as z, R as Je, k as Ze, o as Ye, l as Ke, x as q, E as H, q as he, r as Xe, m as Qe, v as de, K as Re, F as $e, P as u, I as et } from "./CasinoCalendar-Km8tdNHN.js";
2
- import "./CasinoGamesCategorySection-BP3bZsZg.js";
1
+ import { a as Ae, $ as Oe, S as qe, i as He, f as L, c as We, s as Ue, b as Ve, e as R, w as N, J as ie, y as f, O as te, d as j, z as _, V as ce, A as Z, G as ue, j as z, R as Je, k as Ze, o as Ye, l as Ke, x as q, E as H, q as he, r as Xe, m as Qe, v as de, K as Re, F as $e, P as u, I as et } from "./CasinoCalendar-Km8tdNHN.js";
2
+ import { d as tt } from "./CasinoGameThumbnail-XbLpvdZ1.js";
3
+ import "./CasinoGamesCategorySection-Cgi_LzIk.js";
3
4
  import { h as $ } from "./CasinoGamePage-ssKF-ZD1.js";
4
5
  function me(a, e) {
5
6
  Ae(a, e);
6
7
  }
7
- function tt(a) {
8
+ function at(a) {
8
9
  Oe.set(a);
9
10
  }
10
11
  const ge = {
@@ -190,7 +191,7 @@ const ge = {
190
191
  noRecentSearches: "No recent searches yet. Search for any of our games."
191
192
  }
192
193
  };
193
- function at(a) {
194
+ function nt(a) {
194
195
  Ve(a, "svelte-8vixmz", "*,*::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:30px 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;margin-bottom:20px;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:30px 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}");
195
196
  }
196
197
  function fe(a, e, t) {
@@ -204,7 +205,7 @@ function pe(a) {
204
205
  ), n, r, l, s;
205
206
  return {
206
207
  c() {
207
- e = y("small"), n = q(t), f(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
208
+ e = R("small"), n = q(t), f(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
208
209
  (a[13] ? "NotVisible" : ""));
209
210
  },
210
211
  m(i, c) {
@@ -227,7 +228,7 @@ function pe(a) {
227
228
  }
228
229
  };
229
230
  }
230
- function nt(a) {
231
+ function rt(a) {
231
232
  let e, t, n, r;
232
233
  function l(h, g) {
233
234
  if (
@@ -235,12 +236,12 @@ function nt(a) {
235
236
  h[17] == !0 && /*searchValue*/
236
237
  h[12].length < 2
237
238
  )
238
- return st;
239
+ return lt;
239
240
  if (
240
241
  /*searchArray*/
241
242
  h[15].length != 0
242
243
  )
243
- return ot;
244
+ return st;
244
245
  }
245
246
  let s = l(a), i = s && s(a), c = (
246
247
  /*searchCancelled*/
@@ -252,7 +253,7 @@ function nt(a) {
252
253
  );
253
254
  return {
254
255
  c() {
255
- i && i.c(), e = N(), t = y("div"), c && c.c(), n = N(), m && m.c(), f(t, "class", r = "SearchResultsContainer " + /*searchActive*/
256
+ i && i.c(), e = N(), t = R("div"), c && c.c(), n = N(), m && m.c(), f(t, "class", r = "SearchResultsContainer " + /*searchActive*/
256
257
  (a[17] == !0 ? "" : "NotVisible"));
257
258
  },
258
259
  m(h, g) {
@@ -271,14 +272,14 @@ function nt(a) {
271
272
  }
272
273
  };
273
274
  }
274
- function rt(a) {
275
+ function ot(a) {
275
276
  let e, t = (
276
277
  /*$_*/
277
278
  a[21]("loading") + ""
278
279
  ), n;
279
280
  return {
280
281
  c() {
281
- e = y("p"), n = q(t), f(e, "class", "LoadingContent");
282
+ e = R("p"), n = q(t), f(e, "class", "LoadingContent");
282
283
  },
283
284
  m(r, l) {
284
285
  j(r, e, l), _(e, n);
@@ -293,14 +294,14 @@ function rt(a) {
293
294
  }
294
295
  };
295
296
  }
296
- function ot(a) {
297
+ function st(a) {
297
298
  let e, t = (
298
299
  /*$_*/
299
300
  a[21]("searchResult") + ""
300
301
  ), n;
301
302
  return {
302
303
  c() {
303
- e = y("p"), n = q(t), f(e, "class", "SearchMessage");
304
+ e = R("p"), n = q(t), f(e, "class", "SearchMessage");
304
305
  },
305
306
  m(r, l) {
306
307
  j(r, e, l), _(e, n);
@@ -315,7 +316,7 @@ function ot(a) {
315
316
  }
316
317
  };
317
318
  }
318
- function st(a) {
319
+ function lt(a) {
319
320
  let e, t, n = (
320
321
  /*searchArray*/
321
322
  a[15].length !== 0 && Se(a)
@@ -347,7 +348,7 @@ function Se(a) {
347
348
  ), n;
348
349
  return {
349
350
  c() {
350
- e = y("p"), n = q(t), f(e, "class", "SearchMessage");
351
+ e = R("p"), n = q(t), f(e, "class", "SearchMessage");
351
352
  },
352
353
  m(r, l) {
353
354
  j(r, e, l), _(e, n);
@@ -372,7 +373,7 @@ function _e(a) {
372
373
  );
373
374
  return {
374
375
  c() {
375
- e = y("div"), i && i.c(), t = N(), n = y("p"), l = q(r), f(n, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
376
+ e = R("div"), i && i.c(), t = N(), n = R("p"), l = q(r), f(n, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
376
377
  (a[10] == "true" ? "WithIcon" : ""));
377
378
  },
378
379
  m(c, m) {
@@ -395,7 +396,7 @@ function be(a) {
395
396
  let e;
396
397
  return {
397
398
  c() {
398
- e = y("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', f(e, "class", "SearchErrorIcon");
399
+ e = R("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', f(e, "class", "SearchErrorIcon");
399
400
  },
400
401
  m(t, n) {
401
402
  j(t, e, n);
@@ -449,7 +450,7 @@ function ve(a) {
449
450
  let e, t, n, r, l, s, i, c, m, h, g, w;
450
451
  return {
451
452
  c() {
452
- e = y("casino-game-thumbnail"), u(
453
+ e = R("casino-game-thumbnail"), u(
453
454
  e,
454
455
  "endpoint",
455
456
  /*endpoint*/
@@ -654,7 +655,7 @@ function ke(a) {
654
655
  );
655
656
  return {
656
657
  c() {
657
- e = y("div"), g && g.c(), t = N(), n = y("p"), l = q(r), s = N(), i = y("p"), m = q(c), f(n, "class", "SearchMessage"), f(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
658
+ e = R("div"), g && g.c(), t = N(), n = R("p"), l = q(r), s = N(), i = R("p"), m = q(c), f(n, "class", "SearchMessage"), f(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
658
659
  (a[10] == "true" ? "WithIcon" : ""));
659
660
  },
660
661
  m(w, d) {
@@ -679,7 +680,7 @@ function ye(a) {
679
680
  let e;
680
681
  return {
681
682
  c() {
682
- e = y("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', f(e, "class", "SearchErrorIcon");
683
+ e = R("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', f(e, "class", "SearchErrorIcon");
683
684
  },
684
685
  m(t, n) {
685
686
  j(t, e, n);
@@ -689,7 +690,7 @@ function ye(a) {
689
690
  }
690
691
  };
691
692
  }
692
- function lt(a) {
693
+ function it(a) {
693
694
  let e, t, n, r, l, s, i, c, m, h, g, w, d, p, D, P, M, U, A, W, v = (
694
695
  /*cancelbutton*/
695
696
  a[9] === "true" && pe(a)
@@ -697,14 +698,14 @@ function lt(a) {
697
698
  function I(b, T) {
698
699
  return (
699
700
  /*isLoading*/
700
- b[18] ? rt : nt
701
+ b[18] ? ot : rt
701
702
  );
702
703
  }
703
- let B = I(a), R = B(a);
704
+ let B = I(a), y = B(a);
704
705
  return {
705
706
  c() {
706
- e = y("div"), t = y("div"), n = y("div"), r = y("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', l = N(), s = y("input"), c = N(), m = y("span"), h = ie("svg"), g = ie("path"), d = N(), v && v.c(), D = N(), P = y("div"), U = N(), R.c(), f(r, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
707
- a[21]("placeHolderSearchGames")), f(s, "maxlength", it), 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*/
707
+ e = R("div"), t = R("div"), n = R("div"), r = R("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', l = N(), s = R("input"), c = N(), m = R("span"), h = ie("svg"), g = ie("path"), d = N(), v && v.c(), D = N(), P = R("div"), U = N(), y.c(), f(r, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
708
+ a[21]("placeHolderSearchGames")), f(s, "maxlength", ct), 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*/
708
709
  (a[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
709
710
  (a[12].length != 0 ? "" : "NotVisible")), f(n, "class", p = "Search " + /*searchCancelled*/
710
711
  (a[13] ? "" : "SearchAnimation")), f(t, "class", "SearchWrap"), f(P, "class", M = /*cancelbutton*/
@@ -718,7 +719,7 @@ function lt(a) {
718
719
  s,
719
720
  /*searchValue*/
720
721
  a[12]
721
- ), a[34](s), _(n, c), _(n, m), _(m, h), _(h, g), _(n, d), v && v.m(n, null), _(e, D), _(e, P), _(e, U), R.m(e, null), a[37](e), A || (W = [
722
+ ), a[34](s), _(n, c), _(n, m), _(m, h), _(h, g), _(n, d), v && v.m(n, null), _(e, D), _(e, P), _(e, U), y.m(e, null), a[37](e), A || (W = [
722
723
  Z(
723
724
  s,
724
725
  "input",
@@ -762,20 +763,20 @@ function lt(a) {
762
763
  8192 && p !== (p = "Search " + /*searchCancelled*/
763
764
  (b[13] ? "" : "SearchAnimation")) && f(n, "class", p), T[0] & /*cancelbutton*/
764
765
  512 && M !== (M = /*cancelbutton*/
765
- b[9] != "true" ? "OverlayCancel" : "") && f(P, "class", M), B === (B = I(b)) && R ? R.p(b, T) : (R.d(1), R = B(b), R && (R.c(), R.m(e, null)));
766
+ b[9] != "true" ? "OverlayCancel" : "") && f(P, "class", M), B === (B = I(b)) && y ? y.p(b, T) : (y.d(1), y = B(b), y && (y.c(), y.m(e, null)));
766
767
  },
767
768
  i: ue,
768
769
  o: ue,
769
770
  d(b) {
770
- b && z(e), a[34](null), v && v.d(), R.d(), a[37](null), A = !1, Je(W);
771
+ b && z(e), a[34](null), v && v.d(), y.d(), a[37](null), A = !1, Je(W);
771
772
  }
772
773
  };
773
774
  }
774
- let it = 50;
775
- function ct(a, e, t) {
775
+ let ct = 50;
776
+ function ut(a, e, t) {
776
777
  let n;
777
778
  Ze(a, et, (o) => t(21, n = o));
778
- let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: D = "" } = e, { showfavorites: P = "" } = e, { cancelbutton: M = "true" } = e, { notfoundicon: U = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], I = [], B = {}, R = "", b, T = !0, V = !1, E = !1, x, Y = !1, K, X, ae = [];
779
+ let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: D = "" } = e, { showfavorites: P = "" } = e, { cancelbutton: M = "true" } = e, { notfoundicon: U = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], I = [], B = {}, y = "", b, T = !0, V = !1, E = !1, x, Y = !1, K, X, ae = [];
779
780
  const Ce = () => {
780
781
  fetch(D).then((S) => S.json()).then((S) => {
781
782
  Object.keys(S).forEach((k) => {
@@ -791,7 +792,7 @@ function ct(a, e, t) {
791
792
  const ne = (o) => {
792
793
  o.data && o.data.type == "SearchedItemClicked" && Ie(o.data.gameId), o.data.type == "UserSessionID" && (t(19, K = o.data.session), t(20, X = o.data.userid), t(32, Y = !0)), o.data.type == "CategoryChange" && Q();
793
794
  }, re = () => {
794
- if (t(13, T = !1), t(17, V = !0), r && l && c && R.length < 2) {
795
+ if (t(13, T = !1), t(17, V = !0), r && l && c && y.length < 2) {
795
796
  t(15, v = []);
796
797
  let o = localStorage.getItem("searchedGamesWds_casino"), S = [];
797
798
  o && (S = o.split(","));
@@ -854,9 +855,9 @@ function ct(a, e, t) {
854
855
  I.unshift(o), S = I.join(","), localStorage.setItem("searchedGamesWds_casino", S);
855
856
  }
856
857
  }, Q = () => {
857
- t(12, R = ""), t(13, T = !0), t(18, E = !1), t(15, v = []), t(17, V = !1), le(V);
858
+ t(12, y = ""), t(13, T = !0), t(18, E = !1), t(15, v = []), t(17, V = !1), le(V);
858
859
  }, se = () => {
859
- t(12, R = ""), b.focus();
860
+ t(12, y = ""), b.focus();
860
861
  }, le = (o) => {
861
862
  window.postMessage(
862
863
  {
@@ -866,13 +867,13 @@ function ct(a, e, t) {
866
867
  window.location.href
867
868
  );
868
869
  }, Ee = () => {
869
- tt(c);
870
+ at(c);
870
871
  };
871
872
  Ye(() => (window.addEventListener("message", ne, !1), () => {
872
873
  window.removeEventListener("message", ne);
873
874
  }));
874
875
  function Ne() {
875
- R = this.value, t(12, R);
876
+ y = this.value, t(12, y);
876
877
  }
877
878
  function Pe(o) {
878
879
  he[o ? "unshift" : "push"](() => {
@@ -890,10 +891,10 @@ function ct(a, e, t) {
890
891
  }, a.$$.update = () => {
891
892
  if (a.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/
892
893
  268447747)
893
- if (R.length >= 2) {
894
+ if (y.length >= 2) {
894
895
  const o = new URL(`${r}/v1/casino/games`);
895
- o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", te(W)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", `name=${R}`), Le(o).then((S) => {
896
- t(15, v = S.items.map((k) => (k.isFavorite = oe(k.id), k)));
896
+ o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", te(W)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", `name=${y}`), Le(o).then((S) => {
897
+ tt("game_search", { searchValue: y }), t(15, v = S.items.map((k) => (k.isFavorite = oe(k.id), k)));
897
898
  });
898
899
  } else
899
900
  T || re();
@@ -919,7 +920,7 @@ function ct(a, e, t) {
919
920
  M,
920
921
  U,
921
922
  A,
922
- R,
923
+ y,
923
924
  T,
924
925
  x,
925
926
  v,
@@ -947,13 +948,13 @@ function ct(a, e, t) {
947
948
  Be
948
949
  ];
949
950
  }
950
- class ut extends qe {
951
+ class ht extends qe {
951
952
  constructor(e) {
952
953
  super(), He(
953
954
  this,
954
955
  e,
955
- ct,
956
- lt,
956
+ ut,
957
+ it,
957
958
  Ue,
958
959
  {
959
960
  endpoint: 0,
@@ -973,7 +974,7 @@ class ut extends qe {
973
974
  notfoundicon: 10,
974
975
  mbsource: 11
975
976
  },
976
- at,
977
+ nt,
977
978
  [-1, -1]
978
979
  );
979
980
  }
@@ -1074,7 +1075,7 @@ class ut extends qe {
1074
1075
  this.$$set({ mbsource: e }), L();
1075
1076
  }
1076
1077
  }
1077
- We(ut, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, mbsource: {} }, [], [], !0);
1078
+ We(ht, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, mbsource: {} }, [], [], !0);
1078
1079
  export {
1079
- ut as default
1080
+ ht as default
1080
1081
  };