@everymatrix/casino-lobby 1.50.1 → 1.52.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 (54) hide show
  1. package/components/CasinoCategoriesSlider-C6tCM7PI.cjs +1 -0
  2. package/components/{CasinoCategoriesSlider-BnLGhDj2.js → CasinoCategoriesSlider-DZ3Xi2sD.js} +44 -40
  3. package/components/CasinoCollectionsProviders-BrLC6Grn.cjs +1 -0
  4. package/components/{CasinoCollectionsProviders-O5eYWKqu.js → CasinoCollectionsProviders-CNZ2cCAe.js} +5 -0
  5. package/components/{CasinoFavoritesSection-CumUm71T.js → CasinoFavoritesSection-B9gBh0NZ.js} +1 -1
  6. package/components/{CasinoFavoritesSection-CSDBLW4w.cjs → CasinoFavoritesSection-ChFh3su6.cjs} +1 -1
  7. package/components/CasinoFilter-BRH4KgQb.cjs +1 -0
  8. package/components/{CasinoFilter-Ba4pyyzC.js → CasinoFilter-D4w5681f.js} +6 -0
  9. package/components/{CasinoGamePage-D-0bV9s0.js → CasinoGamePage-CDh-e6Wj.js} +102 -93
  10. package/components/{CasinoGamePage-CAEcKO2C.cjs → CasinoGamePage-D-wyPyQN.cjs} +1 -1
  11. package/components/CasinoGameThumbnail-Cy1VrIc2.cjs +38 -0
  12. package/components/{CasinoGameThumbnail-Br4gzW2I.js → CasinoGameThumbnail-E3DsUeGg.js} +89 -81
  13. package/components/CasinoGamesCategorySection-B4Qu6J6Z.cjs +1 -0
  14. package/components/{CasinoGamesCategorySection-IDIjeUsC.js → CasinoGamesCategorySection-BMrvvE60.js} +93 -80
  15. package/components/CasinoJackpotBanner-BlShS5Vc.cjs +1 -0
  16. package/components/{CasinoJackpotBanner-D-0bynYa.js → CasinoJackpotBanner-DPuhYIS9.js} +30 -27
  17. package/components/CasinoLastPlayedSection-DffnfNRE.cjs +1 -0
  18. package/components/{CasinoLastPlayedSection-BHZA2U-l.js → CasinoLastPlayedSection-dSLftjtV.js} +43 -40
  19. package/components/{CasinoLobby-DQGjTjXn.cjs → CasinoLobby-Dz801OXj.cjs} +1 -1
  20. package/components/{CasinoLobby-BSBqQiwz.js → CasinoLobby-Th0vuI9M.js} +3 -3
  21. package/components/{CasinoMostPlayedSection-B4cUve-8.js → CasinoMostPlayedSection-CVtfFNhO.js} +35 -32
  22. package/components/CasinoMostPlayedSection-DZGaHB3O.cjs +1 -0
  23. package/components/{CasinoMyGames-DG40cnqo.js → CasinoMyGames-BnnaietT.js} +40 -35
  24. package/components/CasinoMyGames-CfS6qq0G.cjs +1 -0
  25. package/components/{CasinoPage-DZofqKdq.js → CasinoPage-Bl_V6Pl7.js} +600 -588
  26. package/components/CasinoPage-BmEQljJI.cjs +1 -0
  27. package/components/CasinoRandomGame-BpdxwlFB.cjs +2 -0
  28. package/components/{CasinoRandomGame-ClDKDIUi.js → CasinoRandomGame-Cw331FLx.js} +75 -69
  29. package/components/CasinoSearch-Dd4amKB_.cjs +1 -0
  30. package/components/{CasinoSearch-nhPFLDr6.js → CasinoSearch-Y5NcDcXt.js} +60 -50
  31. package/components/CasinoSlider-GXmtset2.cjs +1 -0
  32. package/components/{CasinoSlider-DDJYl0_C.js → CasinoSlider-b2MX1hWZ.js} +164 -159
  33. package/components/CasinoSort-Bb3WIr_q.cjs +1 -0
  34. package/components/{CasinoSort-COqebE70.js → CasinoSort-ContI1pC.js} +24 -17
  35. package/components/CasinoWinners-CUORt5E8.cjs +1 -0
  36. package/components/{CasinoWinners-B-NBTMbI.js → CasinoWinners-CwPF3r2V.js} +102 -92
  37. package/es2015/casino-lobby.cjs +1 -1
  38. package/es2015/casino-lobby.js +1 -1
  39. package/package.json +1 -1
  40. package/components/CasinoCategoriesSlider-MGSqtuSH.cjs +0 -1
  41. package/components/CasinoCollectionsProviders-7MJNy6vH.cjs +0 -1
  42. package/components/CasinoFilter-DPFQTDnp.cjs +0 -1
  43. package/components/CasinoGameThumbnail-q80EbGZc.cjs +0 -38
  44. package/components/CasinoGamesCategorySection-ChO8lRW6.cjs +0 -1
  45. package/components/CasinoJackpotBanner-DBLcL6wU.cjs +0 -1
  46. package/components/CasinoLastPlayedSection-Dn26Po-i.cjs +0 -1
  47. package/components/CasinoMostPlayedSection-DWj3eB25.cjs +0 -1
  48. package/components/CasinoMyGames-JPu4ITbh.cjs +0 -1
  49. package/components/CasinoPage-CUgnyFdX.cjs +0 -1
  50. package/components/CasinoRandomGame-BopxEXk6.cjs +0 -2
  51. package/components/CasinoSearch-BHqi_Ojn.cjs +0 -1
  52. package/components/CasinoSlider-DzlnKD97.cjs +0 -1
  53. package/components/CasinoSort-DqAXg8IN.cjs +0 -1
  54. package/components/CasinoWinners-GJyWRA8u.cjs +0 -1
@@ -14,10 +14,10 @@ var Ie = (n, a, i) => new Promise((o, l) => {
14
14
  }, c = (u) => u.done ? o(u.value) : Promise.resolve(u.value).then(s, m);
15
15
  c((i = i.apply(n, a)).next());
16
16
  });
17
- import { I as Ra, $ as Pa, S as Da, i as Ua, f as N, c as Oa, s as Ha, b as Va, e as C, u as h, d as S, C as ve, j as F, J as qa, o as Ba, Y as He, L as Wa, m as le, q as W, l as be, v as y, F as X, O as Ya, r as U, A as V, p as se, Z as ga, _ as da, M as t, B as Ja, E as x, w as Ka } from "./CasinoCalendar-0AyYaYr6.js";
18
- import { h as Ne } from "./CasinoGamePage-D-0bV9s0.js";
17
+ import { I as La, $ as Pa, S as Da, i as Ua, f as N, c as Oa, s as Ha, b as Va, e as C, u as h, d as S, C as ve, j as F, J as qa, o as Wa, Y as He, L as Ba, m as le, q as B, l as be, v as y, F as X, O as Ya, r as U, A as V, p as se, Z as ga, _ as da, M as t, B as Ja, E as x, w as Ka } from "./CasinoCalendar-0AyYaYr6.js";
18
+ import { h as Ne } from "./CasinoGamePage-CDh-e6Wj.js";
19
19
  function Ze(n, a) {
20
- Ra(n, a);
20
+ La(n, a);
21
21
  }
22
22
  function Xa(n) {
23
23
  Pa.set(n);
@@ -206,6 +206,19 @@ const Qe = {
206
206
  noFavorites: "De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",
207
207
  noFavoritesTitle: "Aún not tiene juegos seleccionados como favoritos",
208
208
  waiting: "Esperando"
209
+ },
210
+ "en-us": {
211
+ showMore: "More",
212
+ viewAll: "Show all",
213
+ searchedItems: "Search result",
214
+ recentSearchedItems: "Recently searched",
215
+ favorites: "Favorites",
216
+ noRecentSearch: "No search started yet. Simply search for a game.",
217
+ noResults: "Sorry, no results found. Please try again.",
218
+ noFavoritesMobile: "Click on the star icon at the top right corner of a game to save it as favorite.",
219
+ noFavorites: "Click on the star icon at the top right corner of a game to save it as favorite.",
220
+ noFavoritesTitle: "You do not have any favored games yet.",
221
+ waiting: "Waiting"
209
222
  }
210
223
  };
211
224
  if (typeof window != "undefined") {
@@ -220,7 +233,7 @@ if (typeof window != "undefined") {
220
233
  }
221
234
  };
222
235
  };
223
- customElements.define = n(customElements.define), import("./CasinoGameThumbnail-Br4gzW2I.js").then(({ default: a }) => {
236
+ customElements.define = n(customElements.define), import("./CasinoGameThumbnail-E3DsUeGg.js").then(({ default: a }) => {
224
237
  !customElements.get("casino-game-thumbnail") && customElements.define("casino-game-thumbnail", a.element);
225
238
  });
226
239
  }
@@ -236,7 +249,7 @@ if (typeof window != "undefined") {
236
249
  }
237
250
  };
238
251
  };
239
- customElements.define = n(customElements.define), import("./CasinoFilter-Ba4pyyzC.js").then(({ default: a }) => {
252
+ customElements.define = n(customElements.define), import("./CasinoFilter-D4w5681f.js").then(({ default: a }) => {
240
253
  !customElements.get("casino-filter") && customElements.define("casino-filter", a.element);
241
254
  });
242
255
  }
@@ -252,7 +265,7 @@ if (typeof window != "undefined") {
252
265
  }
253
266
  };
254
267
  };
255
- customElements.define = n(customElements.define), import("./CasinoSort-COqebE70.js").then(({ default: a }) => {
268
+ customElements.define = n(customElements.define), import("./CasinoSort-ContI1pC.js").then(({ default: a }) => {
256
269
  !customElements.get("casino-sort") && customElements.define("casino-sort", a.element);
257
270
  });
258
271
  }
@@ -320,7 +333,7 @@ function xa(n) {
320
333
  let u = c(n), g = u(n);
321
334
  return {
322
335
  c() {
323
- a = C("div"), i = C("div"), m.c(), o = W(), g.c(), h(i, "class", "CasinoGamesHeader Searched " + (be(
336
+ a = C("div"), i = C("div"), m.c(), o = B(), g.c(), h(i, "class", "CasinoGamesHeader Searched " + (be(
324
337
  /*userAgent*/
325
338
  n[42]
326
339
  ) ? "CasinoGamesHeaderMobile" : "")), h(a, "class", "CasinoGamesContainer");
@@ -378,7 +391,7 @@ function ei(n) {
378
391
  let c = m(n), u = c(n);
379
392
  return {
380
393
  c() {
381
- a = C("div"), s && s.c(), i = W(), o = C("ul"), u.c(), h(o, "class", l = /*favoriteGamesData*/
394
+ a = C("div"), s && s.c(), i = B(), o = C("ul"), u.c(), h(o, "class", l = /*favoriteGamesData*/
382
395
  (n[40].items.length != 0 ? "CasinoGamesGrid" : "") + " 'GamesListIncreasedGap'}"), h(a, "class", "CasinoGamesContainer");
383
396
  },
384
397
  m(g, p) {
@@ -413,7 +426,7 @@ function ai(n) {
413
426
  let s = l(n), m = s(n);
414
427
  return {
415
428
  c() {
416
- a = C("div"), o && o.c(), i = W(), m.c(), h(a, "class", "CasinoGamesContainer");
429
+ a = C("div"), o && o.c(), i = B(), m.c(), h(a, "class", "CasinoGamesContainer");
417
430
  },
418
431
  m(c, u) {
419
432
  S(c, a, u), o && o.m(a, null), y(a, i), m.m(a, null);
@@ -437,7 +450,7 @@ function aa(n) {
437
450
  ), g, p;
438
451
  return {
439
452
  c() {
440
- a = C("div"), i = C("h3"), l = U(o), s = W(), m = C("span"), c = U("("), g = U(u), p = U(")"), h(m, "class", "CategoryFavName"), h(i, "class", "CategoryName"), h(a, "class", "CasinoGamesHeader");
453
+ a = C("div"), i = C("h3"), l = U(o), s = B(), m = C("span"), c = U("("), g = U(u), p = U(")"), h(m, "class", "CategoryFavName"), h(i, "class", "CategoryName"), h(a, "class", "CasinoGamesHeader");
441
454
  },
442
455
  m(v, G) {
443
456
  S(v, a, G), y(a, i), y(i, l), y(i, s), y(i, m), y(m, c), y(m, g), y(m, p), n[55](i);
@@ -547,7 +560,7 @@ function ia(n) {
547
560
  let P = f(n)(n);
548
561
  return {
549
562
  c() {
550
- a = C("p"), i = x("svg"), o = x("rect"), l = x("rect"), s = x("circle"), m = x("path"), c = x("path"), u = x("path"), g = x("path"), p = W(), v = C("span"), I = U(G), w = W(), P.c(), T = W(), h(o, "x", "1"), h(o, "y", "18.053"), h(o, "width", "90.263"), h(o, "height", "90.263"), h(o, "rx", "12"), h(o, "stroke", "var(--emw--color-gray-150, #828282)"), h(o, "stroke-width", "1.5"), h(l, "x", "106.737"), h(l, "y", "56.737"), h(l, "width", "90.263"), h(l, "height", "90.263"), h(l, "rx", "12"), h(l, "stroke", "var(--emw--color-gray-150, #828282)"), h(l, "stroke-width", "1.5"), h(s, "cx", "70.5"), h(s, "cy", "32.237"), h(s, "r", "31.487"), h(s, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(s, "stroke-width", "1.5"), h(s, "stroke-dasharray", "5 0"), h(m, "d", "M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"), h(m, "fill", "var(--emw--color-gray-150, #828282)"), h(c, "d", "M78 43h11v13H78V43z"), h(c, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(u, "d", "m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"), h(u, "fill", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(u, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(u, "stroke-linecap", "round"), h(u, "stroke-linejoin", "round"), h(g, "d", "m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"), h(g, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(g, "stroke-width", "1.5"), h(g, "stroke-linecap", "round"), h(g, "stroke-linejoin", "round"), h(i, "width", "198"), h(i, "height", "148"), h(i, "viewBox", "0 0 198 148"), h(i, "fill", "none"), h(i, "xmlns", "http://www.w3.org/2000/svg"), h(v, "class", "NoFavoriteText NoFavoriteTextHighlight"), h(a, "class", "NoFavoriteGames " + (be(
563
+ a = C("p"), i = x("svg"), o = x("rect"), l = x("rect"), s = x("circle"), m = x("path"), c = x("path"), u = x("path"), g = x("path"), p = B(), v = C("span"), I = U(G), w = B(), P.c(), T = B(), h(o, "x", "1"), h(o, "y", "18.053"), h(o, "width", "90.263"), h(o, "height", "90.263"), h(o, "rx", "12"), h(o, "stroke", "var(--emw--color-gray-150, #828282)"), h(o, "stroke-width", "1.5"), h(l, "x", "106.737"), h(l, "y", "56.737"), h(l, "width", "90.263"), h(l, "height", "90.263"), h(l, "rx", "12"), h(l, "stroke", "var(--emw--color-gray-150, #828282)"), h(l, "stroke-width", "1.5"), h(s, "cx", "70.5"), h(s, "cy", "32.237"), h(s, "r", "31.487"), h(s, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(s, "stroke-width", "1.5"), h(s, "stroke-dasharray", "5 0"), h(m, "d", "M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"), h(m, "fill", "var(--emw--color-gray-150, #828282)"), h(c, "d", "M78 43h11v13H78V43z"), h(c, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(u, "d", "m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"), h(u, "fill", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(u, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(u, "stroke-linecap", "round"), h(u, "stroke-linejoin", "round"), h(g, "d", "m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"), h(g, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(g, "stroke-width", "1.5"), h(g, "stroke-linecap", "round"), h(g, "stroke-linejoin", "round"), h(i, "width", "198"), h(i, "height", "148"), h(i, "viewBox", "0 0 198 148"), h(i, "fill", "none"), h(i, "xmlns", "http://www.w3.org/2000/svg"), h(v, "class", "NoFavoriteText NoFavoriteTextHighlight"), h(a, "class", "NoFavoriteGames " + (be(
551
564
  /*userAgent*/
552
565
  n[42]
553
566
  ) ? "NoFavoriteGamesMobile" : ""));
@@ -1295,7 +1308,7 @@ function sa(n) {
1295
1308
  let c = m(n), u = c(n);
1296
1309
  return {
1297
1310
  c() {
1298
- a = C("div"), i = C("h3"), l = U(o), s = W(), u.c(), h(i, "class", "CategoryName"), h(a, "class", "CasinoGamesHeader");
1311
+ a = C("div"), i = C("h3"), l = U(o), s = B(), u.c(), h(i, "class", "CategoryName"), h(a, "class", "CasinoGamesHeader");
1299
1312
  },
1300
1313
  m(g, p) {
1301
1314
  S(g, a, p), y(a, i), y(i, l), n[51](i), y(a, s), u.m(a, null);
@@ -1320,7 +1333,7 @@ function ui(n) {
1320
1333
  );
1321
1334
  return {
1322
1335
  c() {
1323
- a = C("div"), l && l.c(), i = W(), s && s.c(), h(a, "class", o = /*addfilterselector*/
1336
+ a = C("div"), l && l.c(), i = B(), s && s.c(), h(a, "class", o = /*addfilterselector*/
1324
1337
  n[1] == "true" && /*addsortingselector*/
1325
1338
  n[2] == "true" ? "CategoryFilterContainer" : "");
1326
1339
  },
@@ -2058,7 +2071,7 @@ function wi(n) {
2058
2071
  }
2059
2072
  return {
2060
2073
  c() {
2061
- s && s.c(), a = W(), i = C("ul");
2074
+ s && s.c(), a = B(), i = C("ul");
2062
2075
  for (let u = 0; u < o.length; u += 1)
2063
2076
  o[u].c();
2064
2077
  h(i, "class", "CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap");
@@ -2433,7 +2446,7 @@ let Fi = 0;
2433
2446
  function Gi(n, a, i) {
2434
2447
  let o;
2435
2448
  qa(n, Ya, (r) => i(41, o = r));
2436
- let { endpoint: l = "" } = a, { datasource: s = "" } = a, { lang: m = "" } = a, { session: c = "" } = a, { userid: u = "" } = a, { favorites: g = "" } = a, { clientstyling: p = "" } = a, { clientstylingurl: v = "" } = a, { translationurl: G = "" } = a, { currency: I = "" } = a, { categoryid: w = "" } = a, { showgamename: T = "" } = a, { livecasino: f = "false" } = a, { gamepagemodalurl: d = "true" } = a, { integratedgameframedesktop: P = "false" } = a, { integratedgameframemobile: E = "false" } = a, { casinomygames: b = "false" } = a, { addfilterselector: $ = "false" } = a, { addsortingselector: we = "false" } = a, { filterbylogo: Ve = "" } = a, { casinogamesgridslider: qe = "false" } = a, { fetchviaevent: re = "false" } = a, { showallpage: Te = "casino" } = a, { actionevent: Ee = "CategoryChange" } = a, { displayedgamecount: ke = "10" } = a, { showallbuttongamescount: ye = "10" } = a, Z = !0, je = !1, Se, Fe, ee = !0, Be = window.navigator.userAgent, D, M = [], Y = !0, ae = 40, J = !1, Ge = !1, We = !1, me = !1, Ae = !1, Le = !0, ue = !1, ce, Re, fe, ge = !1, ie, Ce = !1, de = new Array(1e4), he = {}, Pe = "", ne = "", Me, De, O, B = [], ze = new AbortController(), te = { items: [], count: 0, name: "" };
2449
+ let { endpoint: l = "" } = a, { datasource: s = "" } = a, { lang: m = "" } = a, { session: c = "" } = a, { userid: u = "" } = a, { favorites: g = "" } = a, { clientstyling: p = "" } = a, { clientstylingurl: v = "" } = a, { translationurl: G = "" } = a, { currency: I = "" } = a, { categoryid: w = "" } = a, { showgamename: T = "" } = a, { livecasino: f = "false" } = a, { gamepagemodalurl: d = "true" } = a, { integratedgameframedesktop: P = "false" } = a, { integratedgameframemobile: E = "false" } = a, { casinomygames: b = "false" } = a, { addfilterselector: $ = "false" } = a, { addsortingselector: we = "false" } = a, { filterbylogo: Ve = "" } = a, { casinogamesgridslider: qe = "false" } = a, { fetchviaevent: re = "false" } = a, { showallpage: Te = "casino" } = a, { actionevent: Ee = "CategoryChange" } = a, { displayedgamecount: ke = "10" } = a, { showallbuttongamescount: ye = "10" } = a, Z = !0, Ae = !1, Se, Fe, ee = !0, We = window.navigator.userAgent, D, M = [], Y = !0, ae = 40, J = !1, Ge = !1, Be = !1, me = !1, je = !1, Re = !0, ue = !1, ce, Le, fe, ge = !1, ie, Ce = !1, de = new Array(1e4), he = {}, Pe = "", ne = "", Me, De, O, W = [], ze = new AbortController(), te = { items: [], count: 0, name: "" };
2437
2450
  const ha = () => {
2438
2451
  fetch(G).then((_) => _.json()).then((_) => {
2439
2452
  Object.keys(_).forEach((k) => {
@@ -2448,23 +2461,23 @@ function Gi(n, a, i) {
2448
2461
  }), typeof document.hidden != "undefined" ? Me = "hidden" : typeof document.msHidden != "undefined" ? Me = "msHidden" : typeof document.webkitHidden != "undefined" && (Me = "webkitHidden");
2449
2462
  let pa = new IntersectionObserver((r) => {
2450
2463
  r.forEach((_) => Ie(this, null, function* () {
2451
- let k = _.target.gameid, j = _.target.elems_index;
2452
- _.isIntersecting ? (j * 1.2 > ae && ka(w), i(38, he[k] = 1, he)) : i(38, he[k] = 0, he);
2464
+ let k = _.target.gameid, A = _.target.elems_index;
2465
+ _.isIntersecting ? (A * 1.2 > ae && ka(w), i(38, he[k] = 1, he)) : i(38, he[k] = 0, he);
2453
2466
  }));
2454
2467
  });
2455
2468
  const Ye = (r, _) => {
2456
2469
  let k = `${l}/v1/player/${_}/favorites/`;
2457
2470
  i(23, Z = !0);
2458
- let j = {
2471
+ let A = {
2459
2472
  method: "GET",
2460
2473
  headers: { "X-SessionID": r }
2461
2474
  };
2462
- return new Promise((A, z) => {
2463
- fetch(k, j).then((L) => L.json()).then((L) => {
2475
+ return new Promise((j, z) => {
2476
+ fetch(k, A).then((R) => R.json()).then((R) => {
2464
2477
  var Q;
2465
- if (i(23, Z = !1), O = [], L) {
2466
- L.items.forEach((R) => {
2467
- R.gameModel && (O.push(R), B.includes(R.id) || B.push(R.id));
2478
+ if (i(23, Z = !1), O = [], R) {
2479
+ R.items.forEach((L) => {
2480
+ L.gameModel && (O.push(L), W.includes(L.id) || W.push(L.id));
2468
2481
  });
2469
2482
  const oe = (Q = He(O)) == null ? void 0 : Q.length;
2470
2483
  window.postMessage({
@@ -2477,37 +2490,37 @@ function Gi(n, a, i) {
2477
2490
  oe.isFavorite = K(oe.id);
2478
2491
  });
2479
2492
  let q = M;
2480
- i(27, M = void 0), i(27, M = q), A(O);
2481
- }).catch((L) => {
2482
- console.error(L), z(L);
2493
+ i(27, M = void 0), i(27, M = q), j(O);
2494
+ }).catch((R) => {
2495
+ console.error(R), z(R);
2483
2496
  });
2484
2497
  });
2485
2498
  }, pe = (r, _, k) => {
2486
2499
  ze && ze.abort(), ze = new AbortController();
2487
- const j = ze.signal;
2500
+ const A = ze.signal;
2488
2501
  i(23, Z = !0);
2489
- let A = "", z = "", L = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), q = JSON.parse(localStorage.getItem("vendorSortingBy"));
2490
- return (r.match(/\$/g) || []).length > 1 ? (A = r.split("$").slice(0, 2).join("$"), z = new URL(`${l}/v1/casino/groups/${s}/${A}/subGroups`)) : z = new URL(`${l}/v1/casino/groups/${s}/${r}`), new Promise((Q, oe) => {
2491
- if (z.searchParams.delete("pagination"), z.searchParams.append("expand", "games(vendor)"), z.searchParams.append("fields", "id,name,games"), z.searchParams.append("platform", Wa(Be)), z.searchParams.append("pagination", `games(offset=${_},limit=${k})`), z.searchParams.append("language", m), window.postMessage({ type: "CategoryVendors", categoryid: r }, window.location.href), L && L[r])
2492
- if (L[r].length && ee === !1 && ge === !1) {
2493
- let R = "";
2494
- i(32, Ae = !0), L[r].forEach((_e) => {
2495
- R = R + (R ? `,games(vendor(id=${_e}))` : `games(vendor(id=${_e}))`);
2496
- }), z.searchParams.append("filter", `${R}`);
2502
+ let j = "", z = "", R = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), q = JSON.parse(localStorage.getItem("vendorSortingBy"));
2503
+ return (r.match(/\$/g) || []).length > 1 ? (j = r.split("$").slice(0, 2).join("$"), z = new URL(`${l}/v1/casino/groups/${s}/${j}/subGroups`)) : z = new URL(`${l}/v1/casino/groups/${s}/${r}`), new Promise((Q, oe) => {
2504
+ if (z.searchParams.delete("pagination"), z.searchParams.append("expand", "games(vendor)"), z.searchParams.append("fields", "id,name,games"), z.searchParams.append("platform", Ba(We)), z.searchParams.append("pagination", `games(offset=${_},limit=${k})`), z.searchParams.append("language", m), window.postMessage({ type: "CategoryVendors", categoryid: r }, window.location.href), R && R[r])
2505
+ if (R[r].length && ee === !1 && ge === !1) {
2506
+ let L = "";
2507
+ i(32, je = !0), R[r].forEach((_e) => {
2508
+ L = L + (L ? `,games(vendor(id=${_e}))` : `games(vendor(id=${_e}))`);
2509
+ }), z.searchParams.append("filter", `${L}`);
2497
2510
  } else
2498
- i(32, Ae = !1);
2499
- q && (q[r] ? q[r] && q[r] != "All" && (q[r] == "isNew" || q[r] == "advancedTags(name(hot))" ? (z.searchParams.append("sortedField", `games(${q[r]})`), z.searchParams.append("orderBy", "DES")) : z.searchParams.append("sortedField", `games(${q[r]})`)) : ne && ne != "All" && (ne == "advancedTags(name(hot))" || ne == "isNew" ? (z.searchParams.append("sortedField", `games(${ne})`), z.searchParams.append("orderBy", "DES")) : z.searchParams.append("sortedField", `games(${ne})`))), fetch(z, { signal: j }).then((R) => R.json()).then((R) => {
2500
- j.aborted || (i(23, Z = !1), (r.match(/\$/g) || []).length > 1 && (R = R.items.filter((_e) => {
2511
+ i(32, je = !1);
2512
+ q && (q[r] ? q[r] && q[r] != "All" && (q[r] == "isNew" || q[r] == "advancedTags(name(hot))" ? (z.searchParams.append("sortedField", `games(${q[r]})`), z.searchParams.append("orderBy", "DES")) : z.searchParams.append("sortedField", `games(${q[r]})`)) : ne && ne != "All" && (ne == "advancedTags(name(hot))" || ne == "isNew" ? (z.searchParams.append("sortedField", `games(${ne})`), z.searchParams.append("orderBy", "DES")) : z.searchParams.append("sortedField", `games(${ne})`))), fetch(z, { signal: A }).then((L) => L.json()).then((L) => {
2513
+ A.aborted || (i(23, Z = !1), (r.match(/\$/g) || []).length > 1 && (L = L.items.filter((_e) => {
2501
2514
  if (_e.id == r) return _e;
2502
- })[0]), i(50, De = !0), i(24, je = !1), Re = R.games.total, i(34, ue = !0), Q(R));
2503
- }).catch((R) => {
2504
- R.name !== "AbortError" && (i(24, je = !0), console.error(R), oe(R));
2515
+ })[0]), i(50, De = !0), i(24, Ae = !1), Le = L.games.total, i(34, ue = !0), Q(L));
2516
+ }).catch((L) => {
2517
+ L.name !== "AbortError" && (i(24, Ae = !0), console.error(L), oe(L));
2505
2518
  });
2506
2519
  });
2507
2520
  }, _a = (r, _, k) => {
2508
- r !== "" && (i(29, J = !1), i(25, ee = !0), i(1, $ = "false"), i(2, we = "false"), i(31, me = !1), Ce = !1, i(28, Y = +_ > +k), pe(r, 0, +_).then((j) => {
2509
- i(26, D = j), i(27, M = D.games.items), M && M.forEach((A) => {
2510
- A.isFavorite = K(A.id);
2521
+ r !== "" && (i(29, J = !1), i(25, ee = !0), i(1, $ = "false"), i(2, we = "false"), i(31, me = !1), Ce = !1, i(28, Y = +_ > +k), pe(r, 0, +_).then((A) => {
2522
+ i(26, D = A), i(27, M = D.games.items), M && M.forEach((j) => {
2523
+ j.isFavorite = K(j.id);
2511
2524
  });
2512
2525
  }));
2513
2526
  }, Ue = (r) => {
@@ -2539,9 +2552,9 @@ function Gi(n, a, i) {
2539
2552
  r.data.operatordetail;
2540
2553
  break;
2541
2554
  case "RecentSearchData":
2542
- i(29, J = !0), i(30, Ge = !0), r.data.searchData.length > 0 ? (i(27, M = r.data.searchData), i(33, Le = !0), M && M.forEach((_) => {
2555
+ i(29, J = !0), i(30, Ge = !0), r.data.searchData.length > 0 ? (i(27, M = r.data.searchData), i(33, Re = !0), M && M.forEach((_) => {
2543
2556
  _.isFavorite = K(_.id);
2544
- })) : (i(27, M = []), i(33, Le = !1));
2557
+ })) : (i(27, M = []), i(33, Re = !1));
2545
2558
  break;
2546
2559
  case "OutOfRecentSearches":
2547
2560
  i(29, J = !1), i(30, Ge = !1);
@@ -2553,7 +2566,7 @@ function Gi(n, a, i) {
2553
2566
  break;
2554
2567
  case `CategoryData_${w}`:
2555
2568
  i(29, J = !1), i(25, ee = !0), i(1, $ = "false"), i(2, we = "false"), i(31, me = !1), Ce = !1, r.data.receivedFavoriteResults && (O = r.data.receivedFavoriteResults.items), pe(r.data.categoryId, 0, r.data.visiblegames).then((_) => {
2556
- i(26, D = _), i(27, M = D.games.items), Re <= r.data.visiblegames ? i(28, Y = !1) : i(28, Y = !0), M && M.forEach((k) => {
2569
+ i(26, D = _), i(27, M = D.games.items), Le <= r.data.visiblegames ? i(28, Y = !1) : i(28, Y = !0), M && M.forEach((k) => {
2557
2570
  k.isFavorite = K(k.id);
2558
2571
  });
2559
2572
  });
@@ -2586,9 +2599,9 @@ function Gi(n, a, i) {
2586
2599
  i(29, J = !1), i(25, ee = !1), i(31, me = !1), Ce = !0, i(34, ue = !1), i(0, w = r), w !== "MOSTPLAYED" && i(28, Y = !1), b !== "true" && pe(w, 0, ae).then((_) => {
2587
2600
  i(26, D = _), D.games.items.forEach((k) => {
2588
2601
  k.isFavorite = K(k.id);
2589
- }), i(27, M = D.games.items), i(28, Y = !1), M.length < 10 && e.data.origin == !1 && (We = !0, setTimeout(
2602
+ }), i(27, M = D.games.items), i(28, Y = !1), M.length < 10 && e.data.origin == !1 && (Be = !0, setTimeout(
2590
2603
  () => {
2591
- window.postMessage({ type: "WidgetTopReference", scrollTop: We }, window.location.href);
2604
+ window.postMessage({ type: "WidgetTopReference", scrollTop: Be }, window.location.href);
2592
2605
  },
2593
2606
  500
2594
2607
  ));
@@ -2602,53 +2615,53 @@ function Gi(n, a, i) {
2602
2615
  return (_ = O == null ? void 0 : O.some((k) => k.id === r)) != null ? _ : !1;
2603
2616
  };
2604
2617
  let ba = (r, _, k) => Ie(this, null, function* () {
2605
- yield Oe(r, _), B.includes(k) || B.push(k);
2606
- let A = {
2618
+ yield Oe(r, _), W.includes(k) || W.push(k);
2619
+ let j = {
2607
2620
  method: "POST",
2608
2621
  headers: {
2609
2622
  "X-SessionID": _,
2610
2623
  "Content-Type": "application/json",
2611
2624
  Accept: "application/json"
2612
2625
  },
2613
- body: JSON.stringify({ items: B })
2626
+ body: JSON.stringify({ items: W })
2614
2627
  };
2615
- fetch(r, A).then((z) => z.json()).then(() => {
2628
+ fetch(r, j).then((z) => z.json()).then(() => {
2616
2629
  window.postMessage({ type: `AddFavoriteThumbnail_${k}` }, window.location.href);
2617
2630
  }).catch((z) => {
2618
2631
  console.error("Err", z);
2619
2632
  });
2620
2633
  });
2621
2634
  const wa = (r, _, k) => {
2622
- let j = {
2635
+ let A = {
2623
2636
  method: "DELETE",
2624
2637
  headers: { "X-SessionID": _ }
2625
2638
  };
2626
- fetch(`${r}/${k}`, j).then((A) => A.json()).then(() => {
2639
+ fetch(`${r}/${k}`, A).then((j) => j.json()).then(() => {
2627
2640
  window.postMessage(
2628
2641
  {
2629
2642
  type: `RemoveFavoriteThumbnail_${k}`
2630
2643
  },
2631
2644
  window.location.href
2632
2645
  ), Oe(r, _);
2633
- }), B.includes(k) && (B = B.filter((A) => A != k));
2646
+ }), W.includes(k) && (W = W.filter((j) => j != k));
2634
2647
  }, Oe = (r, _) => Ie(this, null, function* () {
2635
2648
  return fetch(r, {
2636
2649
  method: "GET",
2637
2650
  headers: { "X-SessionID": _ }
2638
- }).then((j) => j.json()).then((j) => {
2651
+ }).then((A) => A.json()).then((A) => {
2639
2652
  var z;
2640
- O = j.items, re ? (O.forEach((L) => {
2641
- B.includes(L.id) || B.push(L.id);
2642
- }), va()) : O.forEach((L) => {
2643
- L.isFavorite = K(L.id);
2653
+ O = A.items, re ? (O.forEach((R) => {
2654
+ W.includes(R.id) || W.push(R.id);
2655
+ }), va()) : O.forEach((R) => {
2656
+ R.isFavorite = K(R.id);
2644
2657
  });
2645
- const A = (z = He(O)) == null ? void 0 : z.length;
2658
+ const j = (z = He(O)) == null ? void 0 : z.length;
2646
2659
  w === "FAVORITES" && (window.postMessage({
2647
2660
  type: "UpdateFavoritesCount",
2648
- favoriteGamesLength: A
2661
+ favoriteGamesLength: j
2649
2662
  }), Ke(O));
2650
- }).catch((j) => {
2651
- console.error(j);
2663
+ }).catch((A) => {
2664
+ console.error(A);
2652
2665
  });
2653
2666
  }), Ke = (r) => {
2654
2667
  if (!r) return;
@@ -2657,18 +2670,18 @@ function Gi(n, a, i) {
2657
2670
  k.gameModel && (k.gameModel.isFavorite = !0);
2658
2671
  }), i(40, te.items = He(_, te.items), te), i(40, te.name = "Favorites", te), i(23, Z = !1);
2659
2672
  }, ka = (r) => {
2660
- ae += 1, i(34, ue = !0), ae <= Re && pe(r, Fi, ae).then((_) => {
2673
+ ae += 1, i(34, ue = !0), ae <= Le && pe(r, Fi, ae).then((_) => {
2661
2674
  i(26, D = _), D.games.items.length > M.length && (i(27, M = D.games.items), M.forEach((k) => {
2662
2675
  k.isFavorite = K(k.id);
2663
2676
  })), i(34, ue = !1);
2664
2677
  });
2665
2678
  }, ya = (r) => {
2666
2679
  if ((r == null ? void 0 : r.length) === 0) return "";
2667
- let _ = "", k = 999999999999, j;
2668
- const A = new Date(Date.now());
2669
- return r.forEach((z, L) => {
2680
+ let _ = "", k = 999999999999, A;
2681
+ const j = new Date(Date.now());
2682
+ return r.forEach((z, R) => {
2670
2683
  const q = new Date(z.schedules[0].startTime), Q = new Date(z.schedules[0].endTime);
2671
- Ne(Q).diff(A) < k && (k = Ne(Q).diff(A), j = L), Ne(A).isAfter(q) && Ne(A).isBefore(Q) && (_ = r[j].name);
2684
+ Ne(Q).diff(j) < k && (k = Ne(Q).diff(j), A = R), Ne(j).isAfter(q) && Ne(j).isBefore(Q) && (_ = r[A].name);
2672
2685
  }), _;
2673
2686
  }, Xe = (r) => {
2674
2687
  window.postMessage(
@@ -2716,7 +2729,7 @@ function Gi(n, a, i) {
2716
2729
  );
2717
2730
  });
2718
2731
  };
2719
- Ba(() => (window.addEventListener("visibilitychange", (r) => Fa()), window.addEventListener("message", Ue, !1), () => {
2732
+ Wa(() => (window.addEventListener("visibilitychange", (r) => Fa()), window.addEventListener("message", Ue, !1), () => {
2720
2733
  window.removeEventListener("message", Ue), window.removeEventListener("visibilitychange", Ue);
2721
2734
  }));
2722
2735
  function Ia(r) {
@@ -2735,17 +2748,17 @@ function Gi(n, a, i) {
2735
2748
  ce = r, i(35, ce);
2736
2749
  });
2737
2750
  }
2738
- function ja(r) {
2751
+ function Aa(r) {
2739
2752
  le[r ? "unshift" : "push"](() => {
2740
2753
  fe = r, i(36, fe);
2741
2754
  });
2742
2755
  }
2743
- function Aa(r) {
2756
+ function ja(r) {
2744
2757
  le[r ? "unshift" : "push"](() => {
2745
2758
  ce = r, i(35, ce);
2746
2759
  });
2747
2760
  }
2748
- function La(r) {
2761
+ function Ra(r) {
2749
2762
  le[r ? "unshift" : "push"](() => {
2750
2763
  ie = r, i(21, ie);
2751
2764
  });
@@ -2789,7 +2802,7 @@ function Gi(n, a, i) {
2789
2802
  ie,
2790
2803
  de,
2791
2804
  Z,
2792
- je,
2805
+ Ae,
2793
2806
  ee,
2794
2807
  D,
2795
2808
  M,
@@ -2797,8 +2810,8 @@ function Gi(n, a, i) {
2797
2810
  J,
2798
2811
  Ge,
2799
2812
  me,
2800
- Ae,
2801
- Le,
2813
+ je,
2814
+ Re,
2802
2815
  ue,
2803
2816
  ce,
2804
2817
  fe,
@@ -2807,7 +2820,7 @@ function Gi(n, a, i) {
2807
2820
  Pe,
2808
2821
  te,
2809
2822
  o,
2810
- Be,
2823
+ We,
2811
2824
  ya,
2812
2825
  Xe,
2813
2826
  re,
@@ -2820,9 +2833,9 @@ function Gi(n, a, i) {
2820
2833
  Na,
2821
2834
  Ta,
2822
2835
  Ea,
2823
- ja,
2824
2836
  Aa,
2825
- La
2837
+ ja,
2838
+ Ra
2826
2839
  ];
2827
2840
  }
2828
2841
  class Ci extends Da {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-aMUXtMPt.cjs");function de(l,t){e.addMessages(l,t)}function he(l){e.$locale.set(l)}const ue={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."},"en-us":{loadingText:"Loading, please wait..."}};function ye(l){e.append_styles(l,"svelte-4fxl7w",':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function ge(l,t,a){const i=l.slice();return i[48]=t[a],i[50]=a,i}function _e(l){let t,a,i,r,o,s,k,v,u,x,y,w,L,h,j;function g(c,C){return c[5]?ke:xe}let f=g(l),d=f(l);return{c(){t=e.element("div"),a=e.element("div"),i=e.element("div"),r=e.element("div"),o=e.space(),s=e.element("div"),d.c(),k=e.space(),v=e.element("div"),u=e.element("img"),e.attr(r,"class","vendorLogo"),e.set_style(r,"background-image","url("+l[6]+")"),e.attr(s,"class","displayContainer"),e.src_url_equal(u.src,x=l[11])||e.attr(u,"src",x),e.attr(u,"alt",""),e.attr(v,"class","title"),e.attr(i,"class",y="mainWrapper "+l[0]+" "+(l[4]&&!l[5]?"mobile":l[5]?"tablet":"")),e.set_style(i,"background","url("+l[10]+")"),e.attr(a,"class","jackpotBanner"),e.attr(t,"class",w=l[12]?"DisplayNone":""),e.attr(t,"part",L=l[12]?"DisplayNone":"")},m(c,C){e.insert(c,t,C),e.append(t,a),e.append(a,i),e.append(i,r),e.append(i,o),e.append(i,s),d.m(s,null),e.append(i,k),e.append(i,v),e.append(v,u),h||(j=e.listen(a,"click",l[31]),h=!0)},p(c,C){C[0]&64&&e.set_style(r,"background-image","url("+c[6]+")"),f===(f=g(c))&&d?d.p(c,C):(d.d(1),d=f(c),d&&(d.c(),d.m(s,null))),C[0]&2048&&!e.src_url_equal(u.src,x=c[11])&&e.attr(u,"src",x),C[0]&49&&y!==(y="mainWrapper "+c[0]+" "+(c[4]&&!c[5]?"mobile":c[5]?"tablet":""))&&e.attr(i,"class",y),C[0]&1024&&e.set_style(i,"background","url("+c[10]+")"),C[0]&4096&&w!==(w=c[12]?"DisplayNone":"")&&e.attr(t,"class",w),C[0]&4096&&L!==(L=c[12]?"DisplayNone":"")&&e.attr(t,"part",L)},d(c){c&&e.detach(t),d.d(),h=!1,j()}}}function be(l){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner"),e.attr(t,"part","LoadingSpinner")},m(a,i){e.insert(a,t,i)},p:e.noop,d(a){a&&e.detach(t)}}}function ve(l){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(a,i){e.insert(a,t,i)},p:e.noop,d(a){a&&e.detach(t)}}}function ke(l){let t,a,i,r,o,s,k=l[8][0]+"",v,u,x,y=l[7][0]+"",w,L,h,j,g,f,d,c,C,J,N=l[8][1]+"",H,A,V,M=l[7][1]+"",P,Z,D,F,S,W,I,z,T,G,U,Y=l[8][2]+"",$,E,K,Q=l[7][2]+"",ee,ne,O,te,le,R,B,q,n,p,_=l[8][3]+"",ae,X,ie,re=l[7][3]+"",ce,pe,se,oe;return{c(){t=e.element("div"),a=e.element("div"),i=e.element("div"),r=e.element("img"),s=e.element("span"),v=e.text(k),u=e.element("span"),x=e.element("span"),w=e.text(y),L=e.space(),h=e.element("span"),j=e.text(l[1]),g=e.space(),f=e.element("div"),d=e.element("div"),c=e.element("img"),J=e.element("span"),H=e.text(N),A=e.element("span"),V=e.element("span"),P=e.text(M),Z=e.space(),D=e.element("span"),F=e.text(l[1]),S=e.space(),W=e.element("div"),I=e.element("div"),z=e.element("div"),T=e.element("img"),U=e.element("span"),$=e.text(Y),E=e.element("span"),K=e.element("span"),ee=e.text(Q),ne=e.space(),O=e.element("span"),te=e.text(l[1]),le=e.space(),R=e.element("div"),B=e.element("div"),q=e.element("img"),p=e.element("span"),ae=e.text(_),X=e.element("span"),ie=e.element("span"),ce=e.text(re),pe=e.space(),se=e.element("span"),oe=e.text(l[1]),e.attr(r,"class","displayCardIcon"),e.src_url_equal(r.src,o=l[9][0])||e.attr(r,"src",o),e.attr(r,"alt",""),e.attr(s,"class","cardLabel"),e.attr(i,"class","iconWrapper"),e.attr(x,"class","jackpotValue"),e.attr(h,"class","jackpot-currency"),e.attr(u,"class","cardTextWrapper"),e.attr(a,"class","displayCard"),e.attr(c,"class","displayCardIcon"),e.src_url_equal(c.src,C=l[9][1])||e.attr(c,"src",C),e.attr(c,"alt",""),e.attr(J,"class","cardLabel"),e.attr(d,"class","iconWrapper"),e.attr(V,"class","jackpotValue"),e.attr(D,"class","jackpot-currency"),e.attr(A,"class","cardTextWrapper"),e.attr(f,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.attr(T,"class","displayCardIcon"),e.src_url_equal(T.src,G=l[9][2])||e.attr(T,"src",G),e.attr(T,"alt",""),e.attr(U,"class","cardLabel"),e.attr(z,"class","iconWrapper"),e.attr(K,"class","jackpotValue"),e.attr(O,"class","jackpot-currency"),e.attr(E,"class","cardTextWrapper"),e.attr(I,"class","displayCard"),e.attr(q,"class","displayCardIcon"),e.src_url_equal(q.src,n=l[9][3])||e.attr(q,"src",n),e.attr(q,"alt",""),e.attr(p,"class","cardLabel"),e.attr(B,"class","iconWrapper"),e.attr(ie,"class","jackpotValue"),e.attr(se,"class","jackpot-currency"),e.attr(X,"class","cardTextWrapper"),e.attr(R,"class","displayCard"),e.attr(W,"class","pairWrapper")},m(m,b){e.insert(m,t,b),e.append(t,a),e.append(a,i),e.append(i,r),e.append(i,s),e.append(s,v),e.append(a,u),e.append(u,x),e.append(x,w),e.append(u,L),e.append(u,h),e.append(h,j),e.append(t,g),e.append(t,f),e.append(f,d),e.append(d,c),e.append(d,J),e.append(J,H),e.append(f,A),e.append(A,V),e.append(V,P),e.append(A,Z),e.append(A,D),e.append(D,F),e.insert(m,S,b),e.insert(m,W,b),e.append(W,I),e.append(I,z),e.append(z,T),e.append(z,U),e.append(U,$),e.append(I,E),e.append(E,K),e.append(K,ee),e.append(E,ne),e.append(E,O),e.append(O,te),e.append(W,le),e.append(W,R),e.append(R,B),e.append(B,q),e.append(B,p),e.append(p,ae),e.append(R,X),e.append(X,ie),e.append(ie,ce),e.append(X,pe),e.append(X,se),e.append(se,oe)},p(m,b){b[0]&512&&!e.src_url_equal(r.src,o=m[9][0])&&e.attr(r,"src",o),b[0]&256&&k!==(k=m[8][0]+"")&&e.set_data(v,k),b[0]&128&&y!==(y=m[7][0]+"")&&e.set_data(w,y),b[0]&2&&e.set_data(j,m[1]),b[0]&512&&!e.src_url_equal(c.src,C=m[9][1])&&e.attr(c,"src",C),b[0]&256&&N!==(N=m[8][1]+"")&&e.set_data(H,N),b[0]&128&&M!==(M=m[7][1]+"")&&e.set_data(P,M),b[0]&2&&e.set_data(F,m[1]),b[0]&512&&!e.src_url_equal(T.src,G=m[9][2])&&e.attr(T,"src",G),b[0]&256&&Y!==(Y=m[8][2]+"")&&e.set_data($,Y),b[0]&128&&Q!==(Q=m[7][2]+"")&&e.set_data(ee,Q),b[0]&2&&e.set_data(te,m[1]),b[0]&512&&!e.src_url_equal(q.src,n=m[9][3])&&e.attr(q,"src",n),b[0]&256&&_!==(_=m[8][3]+"")&&e.set_data(ae,_),b[0]&128&&re!==(re=m[7][3]+"")&&e.set_data(ce,re),b[0]&2&&e.set_data(oe,m[1])},d(m){m&&(e.detach(t),e.detach(S),e.detach(W))}}}function xe(l){let t,a=e.ensure_array_like(Array(4)),i=[];for(let r=0;r<a.length;r+=1)i[r]=fe(ge(l,a,r));return{c(){for(let r=0;r<i.length;r+=1)i[r].c();t=e.empty()},m(r,o){for(let s=0;s<i.length;s+=1)i[s]&&i[s].m(r,o);e.insert(r,t,o)},p(r,o){if(o[0]&898){a=e.ensure_array_like(Array(4));let s;for(s=0;s<a.length;s+=1){const k=ge(r,a,s);i[s]?i[s].p(k,o):(i[s]=fe(k),i[s].c(),i[s].m(t.parentNode,t))}for(;s<i.length;s+=1)i[s].d(1);i.length=a.length}},d(r){r&&e.detach(t),e.destroy_each(i,r)}}}function fe(l){var j;let t,a,i,r,o,s=l[8][l[50]]+"",k,v,u,x=((j=l[7][l[50]])!=null?j:"")+"",y,w,L,h;return{c(){t=e.element("div"),a=e.element("div"),i=e.element("img"),o=e.element("span"),k=e.text(s),v=e.element("span"),u=e.element("span"),y=e.text(x),w=e.space(),L=e.element("span"),h=e.text(l[1]),e.attr(i,"class","displayCardIcon"),e.src_url_equal(i.src,r=l[9][l[50]])||e.attr(i,"src",r),e.attr(i,"alt",""),e.attr(o,"class","cardLabel"),e.attr(a,"class","iconWrapper"),e.attr(u,"class","jackpotValue"),e.attr(L,"class","jackpot-currency"),e.attr(v,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(g,f){e.insert(g,t,f),e.append(t,a),e.append(a,i),e.append(a,o),e.append(o,k),e.append(t,v),e.append(v,u),e.append(u,y),e.append(v,w),e.append(v,L),e.append(L,h)},p(g,f){var d;f[0]&512&&!e.src_url_equal(i.src,r=g[9][g[50]])&&e.attr(i,"src",r),f[0]&256&&s!==(s=g[8][g[50]]+"")&&e.set_data(k,s),f[0]&128&&x!==(x=((d=g[7][g[50]])!=null?d:"")+"")&&e.set_data(y,x),f[0]&2&&e.set_data(h,g[1])},d(g){g&&e.detach(t)}}}function Ce(l){let t;function a(o,s){return o[13]?ve:o[3]?be:_e}let i=a(l),r=i(l);return{c(){t=e.element("div"),r.c()},m(o,s){e.insert(o,t,s),r.m(t,null),l[32](t)},p(o,s){i===(i=a(o))&&r?r.p(o,s):(r.d(1),r=i(o),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(t),r.d(),l[32](null)}}}function we(l,t,a){let{visualstructure:i=""}=t,{title:r=""}=t,{caticon0:o=""}=t,{caticon1:s=""}=t,{caticon2:k=""}=t,{caticon3:v=""}=t,{iconlabels:u=""}=t,{backgroundsrc:x=""}=t,{currency:y=""}=t,{backgroundsrcmobile:w=""}=t,{titlelogopath:L=""}=t,{lang:h="en"}=t,{clientstyling:j=""}=t,{clientstylingurl:g=""}=t,{translationurl:f=""}=t,{endpoint:d=""}=t,{gameid:c=""}=t,C=window.navigator.userAgent,J=!1,N=!1,H="",A=[],V=[],M=[],P=[],Z=[],D="",F="",S,W=!1,I=!0,z=!1,T;const G=()=>{fetch(f).then(p=>p.json()).then(p=>{Object.keys(p).forEach(_=>{de(_,p[_])})}).catch(p=>{console.log(p)})};Object.keys(ue).forEach(n=>{de(n,ue[n])});const U=["typeSpread","typeLeft"],Y=n=>{var _;const p=(_=n==null?void 0:n.items[0])==null?void 0:_.additionalData;p&&Object.values(p).forEach(ae=>A.push(+ae))},$=n=>{var p;a(6,H=((p=n==null?void 0:n.items[0])==null?void 0:p.vendorLogo)||"")},E=()=>{if(d&&h&&y){let n=new URL(`${d}/v1/casino/jackpots`);n.searchParams.append("filter",`id=${c}`),n.searchParams.append("language",h),n.searchParams.append("additionalDataCurrency",y),fetch(n.href).then(p=>p.json().then(_=>{a(3,I=!1),T=_,V.includes(c)&&(Y(T),$(T))}).catch(_=>{a(13,z=!0),a(3,I=!1),console.error(_)}))}},K=()=>{let n=new URL(`${d}/v1/casino/jackpots/config`);fetch(n.href).then(p=>p.json()).then(p=>{a(30,V=p.egtJackpotIds.map(_=>_))})},Q=()=>{a(4,J=e.isMobile(C)&&window.innerHeight/window.innerWidth>1),a(5,N=ne()),A.length!==0&&a(7,M=ee(A)),a(8,P=u?u.split(",").map(n=>n.trim().toUpperCase()):new Array(4).fill("")),U.includes(i.trim())?a(0,i=i.trim()):(console.warn(`Invalid Attribute Value: "${i}" is not a valid value for the "visualstructure" attribute. Defaulting to "${U[0]}"`),a(0,i=U[0])),a(10,D=w&&J&&!N?w:x),a(11,F=L),a(9,Z=[o,s,k,v])},ee=n=>n.map(p=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(p)),ne=()=>{const n=window.innerHeight/window.innerWidth;return .75<n&&n<1.6},O=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:c},window.location.href),typeof gtag=="function"&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${c}`})},te=()=>{let n=document.createElement("style");n.innerHTML=j,S.appendChild(n)},le=()=>{a(12,W=!0);let n=new URL(g),p=document.createElement("style");fetch(n.href).then(_=>_.text()).then(_=>{p.innerHTML=_,setTimeout(()=>{S.appendChild(p)},1),setTimeout(()=>{a(12,W=!1)},500)})},R=()=>{he(h)},B=()=>O();function q(n){e.binding_callbacks[n?"unshift":"push"](()=>{S=n,a(2,S)})}return l.$$set=n=>{"visualstructure"in n&&a(0,i=n.visualstructure),"title"in n&&a(15,r=n.title),"caticon0"in n&&a(16,o=n.caticon0),"caticon1"in n&&a(17,s=n.caticon1),"caticon2"in n&&a(18,k=n.caticon2),"caticon3"in n&&a(19,v=n.caticon3),"iconlabels"in n&&a(20,u=n.iconlabels),"backgroundsrc"in n&&a(21,x=n.backgroundsrc),"currency"in n&&a(1,y=n.currency),"backgroundsrcmobile"in n&&a(22,w=n.backgroundsrcmobile),"titlelogopath"in n&&a(23,L=n.titlelogopath),"lang"in n&&a(24,h=n.lang),"clientstyling"in n&&a(25,j=n.clientstyling),"clientstylingurl"in n&&a(26,g=n.clientstylingurl),"translationurl"in n&&a(27,f=n.translationurl),"endpoint"in n&&a(28,d=n.endpoint),"gameid"in n&&a(29,c=n.gameid)},l.$$.update=()=>{l.$$.dirty[0]&268435456&&d&&K(),l.$$.dirty[0]&33554436&&S&&j&&te(),l.$$.dirty[0]&67108868&&S&&g&&le(),l.$$.dirty[0]&1358954498&&d&&h&&y&&V.length>0&&E(),l.$$.dirty[0]&16777226&&y&&h&&!I&&Q(),l.$$.dirty[0]&16777216&&h&&R(),l.$$.dirty[0]&134217728&&f&&G()},[i,y,S,I,J,N,H,M,P,Z,D,F,W,z,O,r,o,s,k,v,u,x,w,L,h,j,g,f,d,c,V,B,q]}class me extends e.SvelteComponent{constructor(t){super(),e.init(this,t,we,Ce,e.safe_not_equal,{visualstructure:0,title:15,caticon0:16,caticon1:17,caticon2:18,caticon3:19,iconlabels:20,backgroundsrc:21,currency:1,backgroundsrcmobile:22,titlelogopath:23,lang:24,clientstyling:25,clientstylingurl:26,translationurl:27,endpoint:28,gameid:29},ye,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[15]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[16]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[17]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[18]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[19]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[20]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[21]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[22]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[23]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[24]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[27]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[28]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[29]}set gameid(t){this.$$set({gameid:t}),e.flush()}}e.create_custom_element(me,{visualstructure:{},title:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},iconlabels:{},backgroundsrc:{},currency:{},backgroundsrcmobile:{},titlelogopath:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},endpoint:{},gameid:{}},[],[],!0);exports.default=me;