@everymatrix/casino-lobby-nd 1.94.4 → 1.94.6

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 (127) hide show
  1. package/components/{CasinoCalendar-ChcHsCuv.js → CasinoCalendar-DMGmxzVB.js} +39 -39
  2. package/components/{CasinoCalendar-DeTJu3D2.js → CasinoCalendar-DUkWuTPK.js} +24 -24
  3. package/components/{CasinoCalendar-C33P31BA.cjs → CasinoCalendar-yq4SXQ8v.cjs} +1 -1
  4. package/components/{CasinoCalendarDailyDetails-BGGygTGZ.js → CasinoCalendarDailyDetails-CQcDWWy6.js} +85 -85
  5. package/components/{CasinoCalendarDailyDetails-DczEg2pu.js → CasinoCalendarDailyDetails-CTfas3Aa.js} +59 -59
  6. package/components/{CasinoCalendarDailyDetails-8huehnAq.cjs → CasinoCalendarDailyDetails-CqYGEhmY.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-C7uNLmuH.cjs → CasinoCalendarDailyItem-CMk3_A_Q.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-C_YzNz9v.js → CasinoCalendarDailyItem-D-sZ6_hr.js} +35 -35
  9. package/components/{CasinoCalendarDailyItem-C_X8nQG6.js → CasinoCalendarDailyItem-DKTnJIBn.js} +26 -26
  10. package/components/{CasinoCategoriesSliderNd-BnBt6_ow.js → CasinoCategoriesSliderNd-Bhf0qstK.js} +50 -50
  11. package/components/{CasinoCategoriesSliderNd-Brb5YWjf.js → CasinoCategoriesSliderNd-CNc5qDig.js} +44 -44
  12. package/components/{CasinoCategoriesSliderNd-C3JH5VLQ.cjs → CasinoCategoriesSliderNd-DtgWPkmm.cjs} +1 -1
  13. package/components/{CasinoCollectionsProviders-OhP-y1ey.js → CasinoCollectionsProviders-BDWwMOmd.js} +84 -84
  14. package/components/{CasinoCollectionsProviders-ChNzYyno.cjs → CasinoCollectionsProviders-BDs7Ly3u.cjs} +1 -1
  15. package/components/{CasinoCollectionsProviders-Cfvmk8dG.js → CasinoCollectionsProviders-BLQPJYNj.js} +82 -82
  16. package/components/{CasinoFavoritesSectionNd-D85u7FMj.js → CasinoFavoritesSectionNd-CJ1ke8JT.js} +30 -30
  17. package/components/{CasinoFavoritesSectionNd-CRhYZmEW.js → CasinoFavoritesSectionNd-DcmYj6VE.js} +30 -30
  18. package/components/{CasinoFavoritesSectionNd-q0MIY5K6.cjs → CasinoFavoritesSectionNd-ltZmoB_0.cjs} +1 -1
  19. package/components/{CasinoFilter-CkH29cAz.js → CasinoFilter-C9HNcVgU.js} +79 -79
  20. package/components/{CasinoFilter-5Pm1Trij.js → CasinoFilter-Cpbn5y3Y.js} +77 -77
  21. package/components/{CasinoFilter-Dy1t6Ekn.cjs → CasinoFilter-NZYgaUe7.cjs} +1 -1
  22. package/components/{CasinoGameThumbnailNd-BG1gcJ7b.cjs → CasinoGameThumbnailNd-GyyMWTbm.cjs} +1 -1
  23. package/components/{CasinoGameThumbnailNd-C4KtGZNJ.js → CasinoGameThumbnailNd-Xkj-q3y-.js} +50 -50
  24. package/components/{CasinoGameThumbnailNd-DgepZ1dY.js → CasinoGameThumbnailNd-o-vJj6jp.js} +59 -59
  25. package/components/{CasinoGamesCategorySectionNd-BUqLR4aK.js → CasinoGamesCategorySectionNd-Bgytw7dm.js} +88 -88
  26. package/components/{CasinoGamesCategorySectionNd-lHik12Kw.js → CasinoGamesCategorySectionNd-Cr_NhZnT.js} +52 -52
  27. package/components/{CasinoGamesCategorySectionNd-vBvwQHe1.cjs → CasinoGamesCategorySectionNd-D7bhRx5b.cjs} +1 -1
  28. package/components/{CasinoJackpotBanner-CVJAQzUY.js → CasinoJackpotBanner-BVTjbEXI.js} +56 -56
  29. package/components/{CasinoJackpotBanner-BTWHCq1p.js → CasinoJackpotBanner-D6dT-djT.js} +69 -69
  30. package/components/{CasinoJackpotBanner-5KiAaZQf.cjs → CasinoJackpotBanner-yiT3bIto.cjs} +1 -1
  31. package/components/{CasinoLastPlayedSectionNd-VtAZQUAI.js → CasinoLastPlayedSectionNd-BC1nK8wD.js} +28 -28
  32. package/components/{CasinoLastPlayedSectionNd-DK3Ydc-z.cjs → CasinoLastPlayedSectionNd-BSUhVbFa.cjs} +1 -1
  33. package/components/{CasinoLastPlayedSectionNd-BTZHEffg.js → CasinoLastPlayedSectionNd-DW2n1ZHh.js} +28 -28
  34. package/components/{CasinoLobbyNd-BjrEPcav.js → CasinoLobbyNd-94Y-QnBn.js} +57 -57
  35. package/components/{CasinoLobbyNd-nKTGizeD.js → CasinoLobbyNd-CU-fkwCM.js} +56 -56
  36. package/components/{CasinoLobbyNd-DqQk5N2g.cjs → CasinoLobbyNd-DwiJeUic.cjs} +1 -1
  37. package/components/{CasinoMostPlayedSectionNd-CWidZx0v.cjs → CasinoMostPlayedSectionNd-BTF6iDz8.cjs} +1 -1
  38. package/components/{CasinoMostPlayedSectionNd-aGSfcsX_.js → CasinoMostPlayedSectionNd-CFRxFjE3.js} +37 -37
  39. package/components/{CasinoMostPlayedSectionNd-C-6htH3U.js → CasinoMostPlayedSectionNd-DDyQKSek.js} +37 -37
  40. package/components/{CasinoMyGamesNd-Dqb9e8OF.js → CasinoMyGamesNd-C2VbZept.js} +34 -34
  41. package/components/{CasinoMyGamesNd-B5kStDBY.js → CasinoMyGamesNd-D8OUroe-.js} +29 -29
  42. package/components/{CasinoMyGamesNd-CwYs2yrz.cjs → CasinoMyGamesNd-yazKqSkA.cjs} +1 -1
  43. package/components/{CasinoPageNd-BaH85NRj.cjs → CasinoPageNd-CO3iM3hj.cjs} +1 -1
  44. package/components/{CasinoPageNd-D-WMWSF2.js → CasinoPageNd-CpdHX_Gy.js} +930 -930
  45. package/components/{CasinoPageNd-BtH2zbRa.js → CasinoPageNd-DLTJ958-.js} +312 -312
  46. package/components/{CasinoRandomGame-C6xTPqZx.cjs → CasinoRandomGame-BnYnvVi3.cjs} +1 -1
  47. package/components/{CasinoRandomGame-BYFwlfdd.js → CasinoRandomGame-CYkmokzi.js} +75 -75
  48. package/components/{CasinoRandomGame-y55_G_Q3.js → CasinoRandomGame-CZdMwvV3.js} +80 -80
  49. package/components/{CasinoSearchNd-DnNct-fi.js → CasinoSearchNd-BwStsrli.js} +196 -192
  50. package/components/{CasinoSearchNd-C-7uIpp6.cjs → CasinoSearchNd-CWSRaLqO.cjs} +1 -1
  51. package/components/{CasinoSearchNd-B_BIw5LO.js → CasinoSearchNd-CdCubLN_.js} +175 -171
  52. package/components/{CasinoSliderNd-dHcF4jja.js → CasinoSliderNd-CCh_IEfi.js} +190 -190
  53. package/components/{CasinoSliderNd-C6oyurMH.js → CasinoSliderNd-CLW4Kqle.js} +251 -251
  54. package/components/{CasinoSliderNd-BdTQxBma.cjs → CasinoSliderNd-CYB60X-E.cjs} +1 -1
  55. package/components/{CasinoSort-DegElhFD.cjs → CasinoSort-2gZX4yet.cjs} +1 -1
  56. package/components/{CasinoSort-BWIrZWYL.js → CasinoSort-C-Jzsx9_.js} +44 -44
  57. package/components/{CasinoSort-BqIMD4ax.js → CasinoSort-C5XOtI5h.js} +35 -35
  58. package/components/{CasinoWinners-BzvzCE4t.js → CasinoWinners-D-85kx_w.js} +108 -108
  59. package/components/{CasinoWinners-CEkJIYWg.js → CasinoWinners-FqK-DW99.js} +99 -99
  60. package/components/{CasinoWinners-BgoFEx9j.cjs → CasinoWinners-l55o_06t.cjs} +1 -1
  61. package/components/{GeneralAnimationLoading-FCX1v6hM.js → GeneralAnimationLoading-B-UCGGch.js} +8 -8
  62. package/components/{GeneralAnimationLoading-6bSpAeHG.cjs → GeneralAnimationLoading-BFzD4Tkp.cjs} +1 -1
  63. package/components/{GeneralAnimationLoading-VYd8i95b.js → GeneralAnimationLoading-BL_5-F4R.js} +8 -8
  64. package/es2015/casino-lobby-nd.cjs +1 -1
  65. package/es2015/casino-lobby-nd.js +1 -1
  66. package/esnext/casino-lobby-nd.js +1 -1
  67. package/lazy/{casino-calendar-CxEvxyDm.cjs → casino-calendar-BdRo2RW_.cjs} +1 -1
  68. package/lazy/{casino-calendar-daily-details-BU8Mgpzz.js → casino-calendar-daily-details-B2QMkhxu.js} +1 -1
  69. package/lazy/{casino-calendar-daily-details-D26CuvSf.cjs → casino-calendar-daily-details-BSK5rlkE.cjs} +1 -1
  70. package/lazy/{casino-calendar-daily-details-D2jctUHi.js → casino-calendar-daily-details-CCrM9dGA.js} +1 -1
  71. package/lazy/{casino-calendar-daily-item-CKLSdiim.js → casino-calendar-daily-item-BgkHuWxq.js} +1 -1
  72. package/lazy/{casino-calendar-daily-item-DN364T5N.cjs → casino-calendar-daily-item-Bhg4Mx1v.cjs} +1 -1
  73. package/lazy/{casino-calendar-daily-item-D_CzsvOI.js → casino-calendar-daily-item-DBW_Q8Ye.js} +1 -1
  74. package/lazy/{casino-calendar-CvjqpP-f.js → casino-calendar-i1Sv-qPY.js} +1 -1
  75. package/lazy/{casino-calendar-CfGQ9747.js → casino-calendar-rrCFXZm9.js} +1 -1
  76. package/lazy/{casino-categories-slider-nd-2jA858bV.cjs → casino-categories-slider-nd-2iRdPuig.cjs} +1 -1
  77. package/lazy/{casino-categories-slider-nd-BnUvofbc.js → casino-categories-slider-nd-DRvtLYoQ.js} +1 -1
  78. package/lazy/{casino-categories-slider-nd-DfkAd2wG.js → casino-categories-slider-nd-cAPuUHrb.js} +1 -1
  79. package/lazy/{casino-collections-providers-DK3mU73U.js → casino-collections-providers-B47WYl_m.js} +1 -1
  80. package/lazy/{casino-collections-providers-x6EJiIXk.cjs → casino-collections-providers-BbDaAiwz.cjs} +1 -1
  81. package/lazy/{casino-collections-providers-D2fI5jZ9.js → casino-collections-providers-DJxKi9oa.js} +1 -1
  82. package/lazy/{casino-favorites-section-nd-bn4OoGzn.js → casino-favorites-section-nd-7erqbf7C.js} +1 -1
  83. package/lazy/{casino-favorites-section-nd-D9PkJvqK.js → casino-favorites-section-nd-CNSZOcOl.js} +1 -1
  84. package/lazy/{casino-favorites-section-nd-DkyAmtwt.cjs → casino-favorites-section-nd-DUlUZuWB.cjs} +1 -1
  85. package/lazy/{casino-filter-CXZcVQGX.js → casino-filter-BfWMbcME.js} +1 -1
  86. package/lazy/{casino-filter-zbfb1vC2.cjs → casino-filter-CwP95rvp.cjs} +1 -1
  87. package/lazy/{casino-filter-Qy_3KZlB.js → casino-filter-CzbPMz3E.js} +1 -1
  88. package/lazy/{casino-game-thumbnail-nd-Cuyl30x2.js → casino-game-thumbnail-nd-BNpinRWp.js} +1 -1
  89. package/lazy/{casino-game-thumbnail-nd-C4DDiSFj.js → casino-game-thumbnail-nd-DPd6X5eo.js} +1 -1
  90. package/lazy/{casino-game-thumbnail-nd-BVng7UNz.cjs → casino-game-thumbnail-nd-Uwtls8hu.cjs} +1 -1
  91. package/lazy/{casino-games-category-section-nd-CalNQ2rh.js → casino-games-category-section-nd-Cpw7BW64.js} +1 -1
  92. package/lazy/{casino-games-category-section-nd-DT6WNZ7x.cjs → casino-games-category-section-nd-DHBi-mil.cjs} +1 -1
  93. package/lazy/{casino-games-category-section-nd-BXkmNF8G.js → casino-games-category-section-nd-jnICysnC.js} +1 -1
  94. package/lazy/{casino-jackpot-banner-GyV5Ktva.js → casino-jackpot-banner-BNPzmYK7.js} +1 -1
  95. package/lazy/{casino-jackpot-banner-iGCFgt2D.js → casino-jackpot-banner-BhWS7LBb.js} +1 -1
  96. package/lazy/{casino-jackpot-banner-7V5NiXIc.cjs → casino-jackpot-banner-S_1N-3Q-.cjs} +1 -1
  97. package/lazy/{casino-last-played-section-nd-Nb-h7HXR.cjs → casino-last-played-section-nd-BnO-QC1T.cjs} +1 -1
  98. package/lazy/{casino-last-played-section-nd-B62Vq4Ch.js → casino-last-played-section-nd-CFThbjSs.js} +1 -1
  99. package/lazy/{casino-last-played-section-nd-Ck1jepHb.js → casino-last-played-section-nd-CubPPkdo.js} +1 -1
  100. package/lazy/{casino-most-played-section-nd-BIkBJcXR.js → casino-most-played-section-nd-BP_ouCxi.js} +1 -1
  101. package/lazy/{casino-most-played-section-nd-BsbdXXFs.cjs → casino-most-played-section-nd-C1xOxn2b.cjs} +1 -1
  102. package/lazy/{casino-most-played-section-nd-BQXAXIp1.js → casino-most-played-section-nd-U4Jyegs2.js} +1 -1
  103. package/lazy/{casino-my-games-nd-BSkxG98U.cjs → casino-my-games-nd-BKIMgqJL.cjs} +1 -1
  104. package/lazy/{casino-my-games-nd-CsjC99Ak.js → casino-my-games-nd-BkKV8lWI.js} +1 -1
  105. package/lazy/{casino-my-games-nd-De5_WefO.js → casino-my-games-nd-DFl2zZe9.js} +1 -1
  106. package/lazy/{casino-page-nd-CFK95sF4.js → casino-page-nd-CD_bp5k3.js} +1 -1
  107. package/lazy/{casino-page-nd-DXq4gh1-.js → casino-page-nd-DZjHr0u5.js} +1 -1
  108. package/lazy/{casino-page-nd-BnbntID0.cjs → casino-page-nd-eMlywpvD.cjs} +1 -1
  109. package/lazy/{casino-random-game-MkBl0tQQ.cjs → casino-random-game-BytinWj3.cjs} +1 -1
  110. package/lazy/{casino-random-game-CAnX7Y29.js → casino-random-game-CX0NPjv6.js} +1 -1
  111. package/lazy/{casino-random-game-Cf5Lmeg8.js → casino-random-game-ekI_c2s0.js} +1 -1
  112. package/lazy/{casino-search-nd-DRrxCPoB.cjs → casino-search-nd-BGZAiOPG.cjs} +1 -1
  113. package/lazy/{casino-search-nd-AmFJiMqW.js → casino-search-nd-BymQNr-P.js} +1 -1
  114. package/lazy/{casino-search-nd-DdfgYERy.js → casino-search-nd-C74Yo74x.js} +1 -1
  115. package/lazy/{casino-slider-nd-D20aT4-w.js → casino-slider-nd-BNa5X8cl.js} +1 -1
  116. package/lazy/{casino-slider-nd-rkoi66ta.js → casino-slider-nd-CAfRmhj3.js} +1 -1
  117. package/lazy/{casino-slider-nd-BbSTnL_W.cjs → casino-slider-nd-Dr4lH1FF.cjs} +1 -1
  118. package/lazy/{casino-sort-BE45oap7.js → casino-sort-DIy9miXQ.js} +1 -1
  119. package/lazy/{casino-sort-1M8xx2Jl.cjs → casino-sort-TpshbDH0.cjs} +1 -1
  120. package/lazy/{casino-sort-BKTlW2gH.js → casino-sort-XhuNTfgS.js} +1 -1
  121. package/lazy/{casino-winners-D3QKldwq.js → casino-winners-B9qbVi66.js} +1 -1
  122. package/lazy/{casino-winners-CMjoXgpy.js → casino-winners-CGwzQoFZ.js} +1 -1
  123. package/lazy/{casino-winners-D-avk83m.cjs → casino-winners-do3xmyMU.cjs} +1 -1
  124. package/lazy/{general-animation-loading-Dak6RADx.js → general-animation-loading-B_Nl7_XG.js} +1 -1
  125. package/lazy/{general-animation-loading-bScY8JOi.js → general-animation-loading-BulqkvHX.js} +1 -1
  126. package/lazy/{general-animation-loading-CqkehvGI.cjs → general-animation-loading-Di312CCx.cjs} +1 -1
  127. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
- import { a as Ne, S as Ge, i as _e, f as r, s as Le, c as we, b as ve, n as j, d as F, e as P, g as w, h as z, j as Me, o as Se, k as Ce, l as ke, m as o, p as Te, $ as Ae, q as qe, r as je, t as Fe, u as Pe } from "./CasinoLobbyNd-nKTGizeD.js";
2
- import "../lazy/casino-slider-nd-D20aT4-w.js";
1
+ import { d as Ne, S as Ge, x as Le, s as r, K as _e, k as we, f as Me, D as j, o as q, y as P, p as w, g as z, j as ve, F as Se, t as Ce, h as ke, O as o, e as Te, a as Ae, L as Fe, M as je, N as qe, Y as Pe } from "./CasinoLobbyNd-CU-fkwCM.js";
2
+ import "../lazy/casino-slider-nd-BNa5X8cl.js";
3
3
  function ze(i, e) {
4
4
  Ne(i, e);
5
5
  }
6
- const Ee = {
6
+ const Oe = {
7
7
  en: {
8
8
  lobbyName: "Lobby",
9
9
  myGamesName: "My games"
@@ -77,11 +77,11 @@ const Ee = {
77
77
  myGamesName: "My games"
78
78
  }
79
79
  };
80
- function Oe(i, e, t) {
80
+ function Ee(i, e, t) {
81
81
  return window.emMessageBus && (e = window.emMessageBus.subscribe(i, t)), e;
82
82
  }
83
83
  function Be(i) {
84
- ve(i, "svelte-ciaihq", ".svelte-ciaihq{font-family:inherit}.CasinoCategoriesLoading.svelte-ciaihq{height:52px}p.svelte-ciaihq{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-ciaihq{background:transparent;border-radius:var(--emw--border-radius-medium, 10px);padding-top:20px}");
84
+ Me(i, "svelte-ciaihq", ".svelte-ciaihq{font-family:inherit}.CasinoCategoriesLoading.svelte-ciaihq{height:52px}p.svelte-ciaihq{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-ciaihq{background:transparent;border-radius:var(--emw--border-radius-medium, 10px);padding-top:20px}");
85
85
  }
86
86
  function De(i) {
87
87
  let e, t;
@@ -255,7 +255,7 @@ function De(i) {
255
255
  );
256
256
  },
257
257
  d(n) {
258
- n && F(e);
258
+ n && q(e);
259
259
  }
260
260
  };
261
261
  }
@@ -270,7 +270,7 @@ function Re(i) {
270
270
  },
271
271
  p: j,
272
272
  d(t) {
273
- t && F(e);
273
+ t && q(e);
274
274
  }
275
275
  };
276
276
  }
@@ -285,7 +285,7 @@ function Ue(i) {
285
285
  },
286
286
  p: j,
287
287
  d(t) {
288
- t && F(e);
288
+ t && q(e);
289
289
  }
290
290
  };
291
291
  }
@@ -294,7 +294,7 @@ function Ie(i) {
294
294
  function t(m, u) {
295
295
  return (
296
296
  /*isLoading*/
297
- m[13] || He || Ye ? Ue : (
297
+ m[13] || Ye || xe ? Ue : (
298
298
  /*hasErrors*/
299
299
  m[15] ? Re : De
300
300
  )
@@ -314,29 +314,29 @@ function Ie(i) {
314
314
  i: j,
315
315
  o: j,
316
316
  d(m) {
317
- m && F(e), a.d(), i[28](null);
317
+ m && q(e), a.d(), i[28](null);
318
318
  }
319
319
  };
320
320
  }
321
- let I = "CasinoSliderData", He = !1, Ye = !1;
322
- function xe(i, e, t) {
321
+ let I = "CasinoSliderData", Ye = !1, xe = !1;
322
+ function He(i, e, t) {
323
323
  let n;
324
- Me(i, Ae, (s) => t(34, n = s));
325
- let { endpoint: a = "" } = e, { datasource: m = "" } = e, { lang: u = "" } = e, { userid: H = "" } = e, { session: v = "" } = e, { mostplayed: M = "" } = e, { lastplayed: S = "false" } = e, { favorites: C = "" } = e, { mbsource: d } = e, { clientstyling: k = "" } = e, { clientstylingurl: T = "" } = e, { activecategory: b = "" } = e, { actionevent: Y = "" } = e, { sessioncheck: x = "" } = e, { location: W = "secondaryMenu" } = e, { showsubgroups: E = "false" } = e, { filteredcategories: A = "" } = e, { translationurl: _ = "" } = e, { categoriesicon: J = "" } = e, { lobbyiconimage: K = "" } = e, { mygamesiconimage: Q = "" } = e, { customizecategoryicon: O = "false" } = e, V, X, f = !0, N, G = [], h = !1, te = window.navigator.userAgent, y, se, ie, Z, p = !1, B = !1, ae = b;
324
+ ve(i, Ae, (s) => t(34, n = s));
325
+ let { endpoint: a = "" } = e, { datasource: m = "" } = e, { lang: u = "" } = e, { userid: Y = "" } = e, { session: M = "" } = e, { mostplayed: v = "" } = e, { lastplayed: S = "false" } = e, { favorites: C = "" } = e, { mbsource: d } = e, { clientstyling: k = "" } = e, { clientstylingurl: T = "" } = e, { activecategory: b = "" } = e, { actionevent: x = "" } = e, { sessioncheck: H = "" } = e, { location: K = "secondaryMenu" } = e, { showsubgroups: O = "false" } = e, { filteredcategories: A = "" } = e, { translationurl: L = "" } = e, { categoriesicon: W = "" } = e, { lobbyiconimage: J = "" } = e, { mygamesiconimage: Q = "" } = e, { customizecategoryicon: E = "false" } = e, V, X, f = !0, N, G = [], h = !1, te = window.navigator.userAgent, y, se, ie, Z, p = !1, B = !1, ae = b;
326
326
  const D = (s) => {
327
327
  Object.keys(s).forEach((l) => {
328
328
  ze(l, s[l]);
329
329
  });
330
330
  }, ne = () => {
331
- fetch(_).then((l) => l.json()).then((l) => {
331
+ fetch(L).then((l) => l.json()).then((l) => {
332
332
  D(l);
333
333
  }).catch((l) => {
334
334
  console.log(l);
335
335
  });
336
336
  };
337
- D(Ee);
337
+ D(Oe);
338
338
  const oe = () => {
339
- p == !1 && (C == "true" || M == "true" || S == "true") && G.splice(1, 0, {
339
+ p == !1 && (C == "true" || v == "true" || S == "true") && G.splice(1, 0, {
340
340
  // @ts-ignore
341
341
  id: "MYGAMES",
342
342
  name: V,
@@ -362,21 +362,21 @@ function xe(i, e, t) {
362
362
  let s = new URL(`${a}/v2/casino/groups/${m}`);
363
363
  s.searchParams.append("language", u), s.searchParams.append("platform", Ce(te));
364
364
  let l = "id,name,games(href),flags";
365
- O === "true" && (l += ",icon"), s.searchParams.append("fields", l), fetch(s).then((g) => g.json()).then(
365
+ E === "true" && (l += ",icon"), s.searchParams.append("fields", l), fetch(s).then((g) => g.json()).then(
366
366
  (g) => {
367
367
  const U = new Set(A ? A.split(",").map((c) => c.trim()).filter(Boolean) : []), fe = (c) => c ? Array.isArray(c) ? c : [c] : [], he = (c) => !fe(c.flags).some((de) => U.has(de));
368
- let L = g.items.filter(he).map((c) => ({
368
+ let _ = g.items.filter(he).map((c) => ({
369
369
  ...c,
370
370
  gamesTotal: c?.games?.total ?? c?.gamesTotal ?? 0,
371
371
  subGroups: c?.subGroups ? {
372
372
  ...c.subGroups,
373
- items: (c.subGroups.items ?? []).map((q) => ({
374
- ...q,
375
- gamesTotal: q?.games?.total ?? q?.gamesTotal ?? 0
373
+ items: (c.subGroups.items ?? []).map((F) => ({
374
+ ...F,
375
+ gamesTotal: F?.games?.total ?? F?.gamesTotal ?? 0
376
376
  }))
377
377
  } : void 0
378
378
  }));
379
- E === "true" ? L = L.map(ge).filter(me) : L = L.filter((c) => (c?.gamesTotal ?? 0) > 0), G = [], G = G.concat(L), G.unshift({
379
+ O === "true" ? _ = _.map(ge).filter(me) : _ = _.filter((c) => (c?.gamesTotal ?? 0) > 0), G = [], G = G.concat(_), G.unshift({
380
380
  // @ts-ignore
381
381
  id: "LOBBY",
382
382
  name: X,
@@ -415,17 +415,17 @@ function xe(i, e, t) {
415
415
  });
416
416
  }
417
417
  return i.$$set = (s) => {
418
- "endpoint" in s && t(1, a = s.endpoint), "datasource" in s && t(2, m = s.datasource), "lang" in s && t(3, u = s.lang), "userid" in s && t(18, H = s.userid), "session" in s && t(19, v = s.session), "mostplayed" in s && t(20, M = s.mostplayed), "lastplayed" in s && t(21, S = s.lastplayed), "favorites" in s && t(22, C = s.favorites), "mbsource" in s && t(4, d = s.mbsource), "clientstyling" in s && t(5, k = s.clientstyling), "clientstylingurl" in s && t(6, T = s.clientstylingurl), "activecategory" in s && t(0, b = s.activecategory), "actionevent" in s && t(7, Y = s.actionevent), "sessioncheck" in s && t(23, x = s.sessioncheck), "location" in s && t(8, W = s.location), "showsubgroups" in s && t(9, E = s.showsubgroups), "filteredcategories" in s && t(24, A = s.filteredcategories), "translationurl" in s && t(25, _ = s.translationurl), "categoriesicon" in s && t(10, J = s.categoriesicon), "lobbyiconimage" in s && t(11, K = s.lobbyiconimage), "mygamesiconimage" in s && t(12, Q = s.mygamesiconimage), "customizecategoryicon" in s && t(26, O = s.customizecategoryicon);
418
+ "endpoint" in s && t(1, a = s.endpoint), "datasource" in s && t(2, m = s.datasource), "lang" in s && t(3, u = s.lang), "userid" in s && t(18, Y = s.userid), "session" in s && t(19, M = s.session), "mostplayed" in s && t(20, v = s.mostplayed), "lastplayed" in s && t(21, S = s.lastplayed), "favorites" in s && t(22, C = s.favorites), "mbsource" in s && t(4, d = s.mbsource), "clientstyling" in s && t(5, k = s.clientstyling), "clientstylingurl" in s && t(6, T = s.clientstylingurl), "activecategory" in s && t(0, b = s.activecategory), "actionevent" in s && t(7, x = s.actionevent), "sessioncheck" in s && t(23, H = s.sessioncheck), "location" in s && t(8, K = s.location), "showsubgroups" in s && t(9, O = s.showsubgroups), "filteredcategories" in s && t(24, A = s.filteredcategories), "translationurl" in s && t(25, L = s.translationurl), "categoriesicon" in s && t(10, W = s.categoriesicon), "lobbyiconimage" in s && t(11, J = s.lobbyiconimage), "mygamesiconimage" in s && t(12, Q = s.mygamesiconimage), "customizecategoryicon" in s && t(26, E = s.customizecategoryicon);
419
419
  }, i.$$.update = () => {
420
420
  i.$$.dirty[0] & /*endpoint, datasource, lang*/
421
421
  14 && a && m && u && ue(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
422
- 7872514 && a && v && (M || S || C) && !f && oe(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
423
- 134750209 && !f && b && (!v || B) && ye(), i.$$.dirty[0] & /*translationurl*/
424
- 33554432 && _ && ne(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
425
- 16416 && k && y && qe(y, k), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
422
+ 7872514 && a && M && (v || S || C) && !f && oe(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
423
+ 134750209 && !f && b && (!M || B) && ye(), i.$$.dirty[0] & /*translationurl*/
424
+ 33554432 && L && ne(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
425
+ 16416 && k && y && Fe(y, k), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
426
426
  16448 && T && y && je(y, T), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
427
- 16400 && d && y && Fe(y, `${d}.Style`, se), i.$$.dirty[0] & /*mbsource, translationurl*/
428
- 33554448 && d && !_ && Oe(`${d}.Translation`, ie, D);
427
+ 16400 && d && y && qe(y, `${d}.Style`, se), i.$$.dirty[0] & /*mbsource, translationurl*/
428
+ 33554448 && d && !L && Ee(`${d}.Translation`, ie, D);
429
429
  }, t(16, Z = 0), [
430
430
  b,
431
431
  a,
@@ -434,38 +434,38 @@ function xe(i, e, t) {
434
434
  d,
435
435
  k,
436
436
  T,
437
- Y,
437
+ x,
438
+ K,
439
+ O,
438
440
  W,
439
- E,
440
441
  J,
441
- K,
442
442
  Q,
443
443
  f,
444
444
  y,
445
445
  h,
446
446
  Z,
447
447
  ae,
448
- H,
449
- v,
448
+ Y,
450
449
  M,
450
+ v,
451
451
  S,
452
452
  C,
453
- x,
453
+ H,
454
454
  A,
455
- _,
456
- O,
455
+ L,
456
+ E,
457
457
  B,
458
458
  be
459
459
  ];
460
460
  }
461
461
  class ee extends Ge {
462
462
  constructor(e) {
463
- super(), _e(
463
+ super(), Le(
464
464
  this,
465
465
  e,
466
- xe,
466
+ He,
467
467
  Ie,
468
- Le,
468
+ _e,
469
469
  {
470
470
  endpoint: 1,
471
471
  datasource: 2,
@@ -628,11 +628,11 @@ class ee extends Ge {
628
628
  }
629
629
  }
630
630
  we(ee, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, customizecategoryicon: {} }, [], [], !0);
631
- const Ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
631
+ const Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
632
632
  __proto__: null,
633
633
  default: ee
634
634
  }, Symbol.toStringTag, { value: "Module" }));
635
635
  export {
636
- Ke as C,
637
- Oe as g
636
+ Je as C,
637
+ Ee as g
638
638
  };
@@ -1 +1 @@
1
- "use strict";var ve=Object.defineProperty,Me=Object.defineProperties;var Ce=Object.getOwnPropertyDescriptors;var ne=Object.getOwnPropertySymbols;var ke=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable;var oe=(a,e,t)=>e in a?ve(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,v=(a,e)=>{for(var t in e||(e={}))ke.call(e,t)&&oe(a,t,e[t]);if(ne)for(var t of ne(e))we.call(e,t)&&oe(a,t,e[t]);return a},M=(a,e)=>Me(a,Ce(e));const s=require("./CasinoLobbyNd-DqQk5N2g.cjs");require("../lazy/casino-slider-nd-BbSTnL_W.cjs");function Te(a,e){s.addMessages(a,e)}const Ae={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobi",myGamesName:"Oyunlarım"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Lobby",myGamesName:"Moje igre"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"},"pt-br":{lobbyName:"Lobby",myGamesName:"Meus jogos"},"es-mx":{lobbyName:"Lobby",myGamesName:"Mis juegos"},"en-us":{lobbyName:"Lobby",myGamesName:"My games"}};function le(a,e,t){return window.emMessageBus&&(e=window.emMessageBus.subscribe(a,t)),e}function qe(a){s.append_styles(a,"svelte-ciaihq",".svelte-ciaihq{font-family:inherit}.CasinoCategoriesLoading.svelte-ciaihq{height:52px}p.svelte-ciaihq{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-ciaihq{background:transparent;border-radius:var(--emw--border-radius-medium, 10px);padding-top:20px}")}function Fe(a){let e,t;return{c(){e=s.element("div"),t=s.element("casino-slider-nd"),s.set_custom_element_data(t,"lang",a[3]),s.set_custom_element_data(t,"datasource",a[2]),s.set_custom_element_data(t,"endpoint",a[1]),s.set_custom_element_data(t,"identity",I),s.set_custom_element_data(t,"favoritesnumber",a[16]),s.set_custom_element_data(t,"showsubgroups",a[9]),s.set_custom_element_data(t,"clientstyling",a[5]),s.set_custom_element_data(t,"clientstylingurl",a[6]),s.set_custom_element_data(t,"initialactivecategory",a[17]),s.set_custom_element_data(t,"activeindex",a[0]),s.set_custom_element_data(t,"actionevent",a[7]),s.set_custom_element_data(t,"location",a[8]),s.set_custom_element_data(t,"categoriesicon",a[10]),s.set_custom_element_data(t,"lobbyiconimage",a[11]),s.set_custom_element_data(t,"mygamesiconimage",a[12]),s.set_custom_element_data(t,"mbsource",a[4]),s.set_custom_element_data(t,"class","svelte-ciaihq"),s.attr(e,"class","CasinoCategoriesContainer svelte-ciaihq")},m(o,n){s.insert(o,e,n),s.append(e,t)},p(o,n){n[0]&8&&s.set_custom_element_data(t,"lang",o[3]),n[0]&4&&s.set_custom_element_data(t,"datasource",o[2]),n[0]&2&&s.set_custom_element_data(t,"endpoint",o[1]),n[0]&65536&&s.set_custom_element_data(t,"favoritesnumber",o[16]),n[0]&512&&s.set_custom_element_data(t,"showsubgroups",o[9]),n[0]&32&&s.set_custom_element_data(t,"clientstyling",o[5]),n[0]&64&&s.set_custom_element_data(t,"clientstylingurl",o[6]),n[0]&1&&s.set_custom_element_data(t,"activeindex",o[0]),n[0]&128&&s.set_custom_element_data(t,"actionevent",o[7]),n[0]&256&&s.set_custom_element_data(t,"location",o[8]),n[0]&1024&&s.set_custom_element_data(t,"categoriesicon",o[10]),n[0]&2048&&s.set_custom_element_data(t,"lobbyiconimage",o[11]),n[0]&4096&&s.set_custom_element_data(t,"mygamesiconimage",o[12]),n[0]&16&&s.set_custom_element_data(t,"mbsource",o[4])},d(o){o&&s.detach(e)}}}function je(a){let e;return{c(){e=s.element("p"),e.textContent="500 Error - Internal Server Error.",s.attr(e,"class","SearchLoading svelte-ciaihq")},m(t,o){s.insert(t,e,o)},p:s.noop,d(t){t&&s.detach(e)}}}function Pe(a){let e;return{c(){e=s.element("div"),s.attr(e,"class","CasinoCategoriesLoading svelte-ciaihq")},m(t,o){s.insert(t,e,o)},p:s.noop,d(t){t&&s.detach(e)}}}function ze(a){let e;function t(m,u){return m[13]||Ee||Oe?Pe:m[15]?je:Fe}let o=t(a),n=o(a);return{c(){e=s.element("div"),n.c(),s.attr(e,"class","svelte-ciaihq")},m(m,u){s.insert(m,e,u),n.m(e,null),a[28](e)},p(m,u){o===(o=t(m))&&n?n.p(m,u):(n.d(1),n=o(m),n&&(n.c(),n.m(e,null)))},i:s.noop,o:s.noop,d(m){m&&s.detach(e),n.d(),a[28](null)}}}let I="CasinoSliderData",Ee=!1,Oe=!1;function Be(a,e,t){let o;s.component_subscribe(a,s.$format,i=>t(34,o=i));let{endpoint:n=""}=e,{datasource:m=""}=e,{lang:u=""}=e,{userid:H=""}=e,{session:w=""}=e,{mostplayed:T=""}=e,{lastplayed:A="false"}=e,{favorites:q=""}=e,{mbsource:N}=e,{clientstyling:F=""}=e,{clientstylingurl:j=""}=e,{activecategory:y=""}=e,{actionevent:Y=""}=e,{sessioncheck:W=""}=e,{location:x="secondaryMenu"}=e,{showsubgroups:O="false"}=e,{filteredcategories:P=""}=e,{translationurl:C=""}=e,{categoriesicon:J=""}=e,{lobbyiconimage:K=""}=e,{mygamesiconimage:Q=""}=e,{customizecategoryicon:B="false"}=e,V,X,f=!0,G,L=[],h=!1,me=window.navigator.userAgent,g,ce,ue,Z,p=!1,D=!1,ge=y;const R=i=>{Object.keys(i).forEach(r=>{Te(r,i[r])})},ye=()=>{fetch(C).then(r=>r.json()).then(r=>{R(r)}).catch(r=>{console.log(r)})};R(Ae);const de=()=>{p==!1&&(q=="true"||T=="true"||A=="true")&&L.splice(1,0,{id:"MYGAMES",name:V,href:"",games:[]}),s.tick(),p=!0,t(27,D=!0),U()},fe=()=>(n||(G="Endpoint is missing! Please provide a valid endpointURL.",t(15,h=!0),t(13,f=!1),console.error(G)),m||(G="Datasource is missing! Please provide a valid datasource.",t(15,h=!0),t(13,f=!1),console.error(G)),(!u||u.length<2)&&(G="Language is missing! Please provide a valid language (alpha2code)",t(15,h=!0),t(13,f=!1),console.error(G)),h),he=i=>{var r;return((r=i==null?void 0:i.gamesTotal)!=null?r:0)>0},be=i=>{var r;return Array.isArray((r=i==null?void 0:i.subGroups)==null?void 0:r.items)&&i.subGroups.items.some(c=>{var b;return((b=c==null?void 0:c.gamesTotal)!=null?b:0)>0})},_e=i=>he(i)||be(i),Ne=i=>{var b,z;const r=(z=(b=i==null?void 0:i.subGroups)==null?void 0:b.items)!=null?z:null;if(!Array.isArray(r))return i;const c=r.filter(k=>{var d;return((d=k==null?void 0:k.gamesTotal)!=null?d:0)>0});return c.length===r.length?i:M(v({},i),{subGroups:M(v({},i.subGroups),{items:c,count:c.length,total:c.length})})},Ge=()=>{if(V=o("myGamesName"),X=o("lobbyName"),!fe()){let i=new URL(`${n}/v2/casino/groups/${m}`);i.searchParams.append("language",u),i.searchParams.append("platform",s.getDevice(me));let r="id,name,games(href),flags";B==="true"&&(r+=",icon"),i.searchParams.append("fields",r),fetch(i).then(c=>c.json()).then(c=>{const b=new Set(P?P.split(",").map(l=>l.trim()).filter(Boolean):[]),z=l=>l?Array.isArray(l)?l:[l]:[],k=l=>!z(l.flags).some(E=>b.has(E));let d=c.items.filter(k).map(l=>{var S,E,ee,te;return M(v({},l),{gamesTotal:(ee=(E=(S=l==null?void 0:l.games)==null?void 0:S.total)!=null?E:l==null?void 0:l.gamesTotal)!=null?ee:0,subGroups:l!=null&&l.subGroups?M(v({},l.subGroups),{items:((te=l.subGroups.items)!=null?te:[]).map(_=>{var se,ie,ae;return M(v({},_),{gamesTotal:(ae=(ie=(se=_==null?void 0:_.games)==null?void 0:se.total)!=null?ie:_==null?void 0:_.gamesTotal)!=null?ae:0})})}):void 0})});O==="true"?d=d.map(Ne).filter(_e):d=d.filter(l=>{var S;return((S=l==null?void 0:l.gamesTotal)!=null?S:0)>0}),L=[],L=L.concat(d),L.unshift({id:"LOBBY",name:X,href:"",games:[]}),U(),t(13,f=!1)},c=>{t(15,h=!0),console.error("There was an error while fetching the categories",c)}).catch(c=>{t(15,h=!0),console.error("There was an error while fetching the categories",c)})}},Le=()=>{let i=y.split("$");t(0,y=i.length>2?y.split("$").slice(0,2).join("$"):y)},U=()=>{window.postMessage({type:"SliderData",identity:I,data:L},window.location.href)},$=i=>{i.data&&i.data.type=="SliderMounted"&&i.data.identity==I&&U()};s.onMount(()=>(window.addEventListener("message",$),()=>{window.removeEventListener("message",$)}));function Se(i){s.binding_callbacks[i?"unshift":"push"](()=>{g=i,t(14,g)})}return a.$$set=i=>{"endpoint"in i&&t(1,n=i.endpoint),"datasource"in i&&t(2,m=i.datasource),"lang"in i&&t(3,u=i.lang),"userid"in i&&t(18,H=i.userid),"session"in i&&t(19,w=i.session),"mostplayed"in i&&t(20,T=i.mostplayed),"lastplayed"in i&&t(21,A=i.lastplayed),"favorites"in i&&t(22,q=i.favorites),"mbsource"in i&&t(4,N=i.mbsource),"clientstyling"in i&&t(5,F=i.clientstyling),"clientstylingurl"in i&&t(6,j=i.clientstylingurl),"activecategory"in i&&t(0,y=i.activecategory),"actionevent"in i&&t(7,Y=i.actionevent),"sessioncheck"in i&&t(23,W=i.sessioncheck),"location"in i&&t(8,x=i.location),"showsubgroups"in i&&t(9,O=i.showsubgroups),"filteredcategories"in i&&t(24,P=i.filteredcategories),"translationurl"in i&&t(25,C=i.translationurl),"categoriesicon"in i&&t(10,J=i.categoriesicon),"lobbyiconimage"in i&&t(11,K=i.lobbyiconimage),"mygamesiconimage"in i&&t(12,Q=i.mygamesiconimage),"customizecategoryicon"in i&&t(26,B=i.customizecategoryicon)},a.$$.update=()=>{a.$$.dirty[0]&14&&n&&m&&u&&Ge(),a.$$.dirty[0]&7872514&&n&&w&&(T||A||q)&&!f&&de(),a.$$.dirty[0]&134750209&&!f&&y&&(!w||D)&&Le(),a.$$.dirty[0]&33554432&&C&&ye(),a.$$.dirty[0]&16416&&F&&g&&s.setClientStyling(g,F),a.$$.dirty[0]&16448&&j&&g&&s.setClientStylingURL(g,j),a.$$.dirty[0]&16400&&N&&g&&s.setStreamStyling(g,`${N}.Style`,ce),a.$$.dirty[0]&33554448&&N&&!C&&le(`${N}.Translation`,ue,R)},t(16,Z=0),[y,n,m,u,N,F,j,Y,x,O,J,K,Q,f,g,h,Z,ge,H,w,T,A,q,W,P,C,B,D,Se]}class re extends s.SvelteComponent{constructor(e){super(),s.init(this,e,Be,ze,s.safe_not_equal,{endpoint:1,datasource:2,lang:3,userid:18,session:19,mostplayed:20,lastplayed:21,favorites:22,mbsource:4,clientstyling:5,clientstylingurl:6,activecategory:0,actionevent:7,sessioncheck:23,location:8,showsubgroups:9,filteredcategories:24,translationurl:25,categoriesicon:10,lobbyiconimage:11,mygamesiconimage:12,customizecategoryicon:26},qe,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),s.flush()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),s.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),s.flush()}get userid(){return this.$$.ctx[18]}set userid(e){this.$$set({userid:e}),s.flush()}get session(){return this.$$.ctx[19]}set session(e){this.$$set({session:e}),s.flush()}get mostplayed(){return this.$$.ctx[20]}set mostplayed(e){this.$$set({mostplayed:e}),s.flush()}get lastplayed(){return this.$$.ctx[21]}set lastplayed(e){this.$$set({lastplayed:e}),s.flush()}get favorites(){return this.$$.ctx[22]}set favorites(e){this.$$set({favorites:e}),s.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(e){this.$$set({mbsource:e}),s.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),s.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),s.flush()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),s.flush()}get actionevent(){return this.$$.ctx[7]}set actionevent(e){this.$$set({actionevent:e}),s.flush()}get sessioncheck(){return this.$$.ctx[23]}set sessioncheck(e){this.$$set({sessioncheck:e}),s.flush()}get location(){return this.$$.ctx[8]}set location(e){this.$$set({location:e}),s.flush()}get showsubgroups(){return this.$$.ctx[9]}set showsubgroups(e){this.$$set({showsubgroups:e}),s.flush()}get filteredcategories(){return this.$$.ctx[24]}set filteredcategories(e){this.$$set({filteredcategories:e}),s.flush()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),s.flush()}get categoriesicon(){return this.$$.ctx[10]}set categoriesicon(e){this.$$set({categoriesicon:e}),s.flush()}get lobbyiconimage(){return this.$$.ctx[11]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),s.flush()}get mygamesiconimage(){return this.$$.ctx[12]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),s.flush()}get customizecategoryicon(){return this.$$.ctx[26]}set customizecategoryicon(e){this.$$set({customizecategoryicon:e}),s.flush()}}s.create_custom_element(re,{endpoint:{},datasource:{},lang:{},userid:{},session:{},mostplayed:{},lastplayed:{},favorites:{},mbsource:{},clientstyling:{},clientstylingurl:{},activecategory:{},actionevent:{},sessioncheck:{},location:{},showsubgroups:{},filteredcategories:{},translationurl:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},customizecategoryicon:{}},[],[],!0);const De=Object.freeze(Object.defineProperty({__proto__:null,default:re},Symbol.toStringTag,{value:"Module"}));exports.CasinoCategoriesSliderNd_ce=De;exports.getStreamTranslations=le;
1
+ "use strict";var ve=Object.defineProperty,Me=Object.defineProperties;var Ce=Object.getOwnPropertyDescriptors;var ne=Object.getOwnPropertySymbols;var ke=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable;var oe=(a,e,t)=>e in a?ve(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,v=(a,e)=>{for(var t in e||(e={}))ke.call(e,t)&&oe(a,t,e[t]);if(ne)for(var t of ne(e))we.call(e,t)&&oe(a,t,e[t]);return a},M=(a,e)=>Me(a,Ce(e));const s=require("./CasinoLobbyNd-DwiJeUic.cjs");require("../lazy/casino-slider-nd-Dr4lH1FF.cjs");function Te(a,e){s.addMessages(a,e)}const Ae={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobi",myGamesName:"Oyunlarım"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Lobby",myGamesName:"Moje igre"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"},"pt-br":{lobbyName:"Lobby",myGamesName:"Meus jogos"},"es-mx":{lobbyName:"Lobby",myGamesName:"Mis juegos"},"en-us":{lobbyName:"Lobby",myGamesName:"My games"}};function le(a,e,t){return window.emMessageBus&&(e=window.emMessageBus.subscribe(a,t)),e}function qe(a){s.append_styles(a,"svelte-ciaihq",".svelte-ciaihq{font-family:inherit}.CasinoCategoriesLoading.svelte-ciaihq{height:52px}p.svelte-ciaihq{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-ciaihq{background:transparent;border-radius:var(--emw--border-radius-medium, 10px);padding-top:20px}")}function Fe(a){let e,t;return{c(){e=s.element("div"),t=s.element("casino-slider-nd"),s.set_custom_element_data(t,"lang",a[3]),s.set_custom_element_data(t,"datasource",a[2]),s.set_custom_element_data(t,"endpoint",a[1]),s.set_custom_element_data(t,"identity",I),s.set_custom_element_data(t,"favoritesnumber",a[16]),s.set_custom_element_data(t,"showsubgroups",a[9]),s.set_custom_element_data(t,"clientstyling",a[5]),s.set_custom_element_data(t,"clientstylingurl",a[6]),s.set_custom_element_data(t,"initialactivecategory",a[17]),s.set_custom_element_data(t,"activeindex",a[0]),s.set_custom_element_data(t,"actionevent",a[7]),s.set_custom_element_data(t,"location",a[8]),s.set_custom_element_data(t,"categoriesicon",a[10]),s.set_custom_element_data(t,"lobbyiconimage",a[11]),s.set_custom_element_data(t,"mygamesiconimage",a[12]),s.set_custom_element_data(t,"mbsource",a[4]),s.set_custom_element_data(t,"class","svelte-ciaihq"),s.attr(e,"class","CasinoCategoriesContainer svelte-ciaihq")},m(o,n){s.insert(o,e,n),s.append(e,t)},p(o,n){n[0]&8&&s.set_custom_element_data(t,"lang",o[3]),n[0]&4&&s.set_custom_element_data(t,"datasource",o[2]),n[0]&2&&s.set_custom_element_data(t,"endpoint",o[1]),n[0]&65536&&s.set_custom_element_data(t,"favoritesnumber",o[16]),n[0]&512&&s.set_custom_element_data(t,"showsubgroups",o[9]),n[0]&32&&s.set_custom_element_data(t,"clientstyling",o[5]),n[0]&64&&s.set_custom_element_data(t,"clientstylingurl",o[6]),n[0]&1&&s.set_custom_element_data(t,"activeindex",o[0]),n[0]&128&&s.set_custom_element_data(t,"actionevent",o[7]),n[0]&256&&s.set_custom_element_data(t,"location",o[8]),n[0]&1024&&s.set_custom_element_data(t,"categoriesicon",o[10]),n[0]&2048&&s.set_custom_element_data(t,"lobbyiconimage",o[11]),n[0]&4096&&s.set_custom_element_data(t,"mygamesiconimage",o[12]),n[0]&16&&s.set_custom_element_data(t,"mbsource",o[4])},d(o){o&&s.detach(e)}}}function je(a){let e;return{c(){e=s.element("p"),e.textContent="500 Error - Internal Server Error.",s.attr(e,"class","SearchLoading svelte-ciaihq")},m(t,o){s.insert(t,e,o)},p:s.noop,d(t){t&&s.detach(e)}}}function Pe(a){let e;return{c(){e=s.element("div"),s.attr(e,"class","CasinoCategoriesLoading svelte-ciaihq")},m(t,o){s.insert(t,e,o)},p:s.noop,d(t){t&&s.detach(e)}}}function ze(a){let e;function t(m,u){return m[13]||Ee||Oe?Pe:m[15]?je:Fe}let o=t(a),n=o(a);return{c(){e=s.element("div"),n.c(),s.attr(e,"class","svelte-ciaihq")},m(m,u){s.insert(m,e,u),n.m(e,null),a[28](e)},p(m,u){o===(o=t(m))&&n?n.p(m,u):(n.d(1),n=o(m),n&&(n.c(),n.m(e,null)))},i:s.noop,o:s.noop,d(m){m&&s.detach(e),n.d(),a[28](null)}}}let I="CasinoSliderData",Ee=!1,Oe=!1;function Be(a,e,t){let o;s.component_subscribe(a,s.$format,i=>t(34,o=i));let{endpoint:n=""}=e,{datasource:m=""}=e,{lang:u=""}=e,{userid:H=""}=e,{session:w=""}=e,{mostplayed:T=""}=e,{lastplayed:A="false"}=e,{favorites:q=""}=e,{mbsource:N}=e,{clientstyling:F=""}=e,{clientstylingurl:j=""}=e,{activecategory:y=""}=e,{actionevent:Y=""}=e,{sessioncheck:W=""}=e,{location:x="secondaryMenu"}=e,{showsubgroups:O="false"}=e,{filteredcategories:P=""}=e,{translationurl:C=""}=e,{categoriesicon:J=""}=e,{lobbyiconimage:K=""}=e,{mygamesiconimage:Q=""}=e,{customizecategoryicon:B="false"}=e,V,X,f=!0,G,L=[],h=!1,me=window.navigator.userAgent,g,ce,ue,Z,p=!1,D=!1,ge=y;const R=i=>{Object.keys(i).forEach(r=>{Te(r,i[r])})},ye=()=>{fetch(C).then(r=>r.json()).then(r=>{R(r)}).catch(r=>{console.log(r)})};R(Ae);const de=()=>{p==!1&&(q=="true"||T=="true"||A=="true")&&L.splice(1,0,{id:"MYGAMES",name:V,href:"",games:[]}),s.tick(),p=!0,t(27,D=!0),U()},fe=()=>(n||(G="Endpoint is missing! Please provide a valid endpointURL.",t(15,h=!0),t(13,f=!1),console.error(G)),m||(G="Datasource is missing! Please provide a valid datasource.",t(15,h=!0),t(13,f=!1),console.error(G)),(!u||u.length<2)&&(G="Language is missing! Please provide a valid language (alpha2code)",t(15,h=!0),t(13,f=!1),console.error(G)),h),he=i=>{var r;return((r=i==null?void 0:i.gamesTotal)!=null?r:0)>0},be=i=>{var r;return Array.isArray((r=i==null?void 0:i.subGroups)==null?void 0:r.items)&&i.subGroups.items.some(c=>{var b;return((b=c==null?void 0:c.gamesTotal)!=null?b:0)>0})},_e=i=>he(i)||be(i),Ne=i=>{var b,z;const r=(z=(b=i==null?void 0:i.subGroups)==null?void 0:b.items)!=null?z:null;if(!Array.isArray(r))return i;const c=r.filter(k=>{var d;return((d=k==null?void 0:k.gamesTotal)!=null?d:0)>0});return c.length===r.length?i:M(v({},i),{subGroups:M(v({},i.subGroups),{items:c,count:c.length,total:c.length})})},Ge=()=>{if(V=o("myGamesName"),X=o("lobbyName"),!fe()){let i=new URL(`${n}/v2/casino/groups/${m}`);i.searchParams.append("language",u),i.searchParams.append("platform",s.getDevice(me));let r="id,name,games(href),flags";B==="true"&&(r+=",icon"),i.searchParams.append("fields",r),fetch(i).then(c=>c.json()).then(c=>{const b=new Set(P?P.split(",").map(l=>l.trim()).filter(Boolean):[]),z=l=>l?Array.isArray(l)?l:[l]:[],k=l=>!z(l.flags).some(E=>b.has(E));let d=c.items.filter(k).map(l=>{var S,E,ee,te;return M(v({},l),{gamesTotal:(ee=(E=(S=l==null?void 0:l.games)==null?void 0:S.total)!=null?E:l==null?void 0:l.gamesTotal)!=null?ee:0,subGroups:l!=null&&l.subGroups?M(v({},l.subGroups),{items:((te=l.subGroups.items)!=null?te:[]).map(_=>{var se,ie,ae;return M(v({},_),{gamesTotal:(ae=(ie=(se=_==null?void 0:_.games)==null?void 0:se.total)!=null?ie:_==null?void 0:_.gamesTotal)!=null?ae:0})})}):void 0})});O==="true"?d=d.map(Ne).filter(_e):d=d.filter(l=>{var S;return((S=l==null?void 0:l.gamesTotal)!=null?S:0)>0}),L=[],L=L.concat(d),L.unshift({id:"LOBBY",name:X,href:"",games:[]}),U(),t(13,f=!1)},c=>{t(15,h=!0),console.error("There was an error while fetching the categories",c)}).catch(c=>{t(15,h=!0),console.error("There was an error while fetching the categories",c)})}},Le=()=>{let i=y.split("$");t(0,y=i.length>2?y.split("$").slice(0,2).join("$"):y)},U=()=>{window.postMessage({type:"SliderData",identity:I,data:L},window.location.href)},$=i=>{i.data&&i.data.type=="SliderMounted"&&i.data.identity==I&&U()};s.onMount(()=>(window.addEventListener("message",$),()=>{window.removeEventListener("message",$)}));function Se(i){s.binding_callbacks[i?"unshift":"push"](()=>{g=i,t(14,g)})}return a.$$set=i=>{"endpoint"in i&&t(1,n=i.endpoint),"datasource"in i&&t(2,m=i.datasource),"lang"in i&&t(3,u=i.lang),"userid"in i&&t(18,H=i.userid),"session"in i&&t(19,w=i.session),"mostplayed"in i&&t(20,T=i.mostplayed),"lastplayed"in i&&t(21,A=i.lastplayed),"favorites"in i&&t(22,q=i.favorites),"mbsource"in i&&t(4,N=i.mbsource),"clientstyling"in i&&t(5,F=i.clientstyling),"clientstylingurl"in i&&t(6,j=i.clientstylingurl),"activecategory"in i&&t(0,y=i.activecategory),"actionevent"in i&&t(7,Y=i.actionevent),"sessioncheck"in i&&t(23,W=i.sessioncheck),"location"in i&&t(8,x=i.location),"showsubgroups"in i&&t(9,O=i.showsubgroups),"filteredcategories"in i&&t(24,P=i.filteredcategories),"translationurl"in i&&t(25,C=i.translationurl),"categoriesicon"in i&&t(10,J=i.categoriesicon),"lobbyiconimage"in i&&t(11,K=i.lobbyiconimage),"mygamesiconimage"in i&&t(12,Q=i.mygamesiconimage),"customizecategoryicon"in i&&t(26,B=i.customizecategoryicon)},a.$$.update=()=>{a.$$.dirty[0]&14&&n&&m&&u&&Ge(),a.$$.dirty[0]&7872514&&n&&w&&(T||A||q)&&!f&&de(),a.$$.dirty[0]&134750209&&!f&&y&&(!w||D)&&Le(),a.$$.dirty[0]&33554432&&C&&ye(),a.$$.dirty[0]&16416&&F&&g&&s.setClientStyling(g,F),a.$$.dirty[0]&16448&&j&&g&&s.setClientStylingURL(g,j),a.$$.dirty[0]&16400&&N&&g&&s.setStreamStyling(g,`${N}.Style`,ce),a.$$.dirty[0]&33554448&&N&&!C&&le(`${N}.Translation`,ue,R)},t(16,Z=0),[y,n,m,u,N,F,j,Y,x,O,J,K,Q,f,g,h,Z,ge,H,w,T,A,q,W,P,C,B,D,Se]}class re extends s.SvelteComponent{constructor(e){super(),s.init(this,e,Be,ze,s.safe_not_equal,{endpoint:1,datasource:2,lang:3,userid:18,session:19,mostplayed:20,lastplayed:21,favorites:22,mbsource:4,clientstyling:5,clientstylingurl:6,activecategory:0,actionevent:7,sessioncheck:23,location:8,showsubgroups:9,filteredcategories:24,translationurl:25,categoriesicon:10,lobbyiconimage:11,mygamesiconimage:12,customizecategoryicon:26},qe,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),s.flush()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),s.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),s.flush()}get userid(){return this.$$.ctx[18]}set userid(e){this.$$set({userid:e}),s.flush()}get session(){return this.$$.ctx[19]}set session(e){this.$$set({session:e}),s.flush()}get mostplayed(){return this.$$.ctx[20]}set mostplayed(e){this.$$set({mostplayed:e}),s.flush()}get lastplayed(){return this.$$.ctx[21]}set lastplayed(e){this.$$set({lastplayed:e}),s.flush()}get favorites(){return this.$$.ctx[22]}set favorites(e){this.$$set({favorites:e}),s.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(e){this.$$set({mbsource:e}),s.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),s.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),s.flush()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),s.flush()}get actionevent(){return this.$$.ctx[7]}set actionevent(e){this.$$set({actionevent:e}),s.flush()}get sessioncheck(){return this.$$.ctx[23]}set sessioncheck(e){this.$$set({sessioncheck:e}),s.flush()}get location(){return this.$$.ctx[8]}set location(e){this.$$set({location:e}),s.flush()}get showsubgroups(){return this.$$.ctx[9]}set showsubgroups(e){this.$$set({showsubgroups:e}),s.flush()}get filteredcategories(){return this.$$.ctx[24]}set filteredcategories(e){this.$$set({filteredcategories:e}),s.flush()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),s.flush()}get categoriesicon(){return this.$$.ctx[10]}set categoriesicon(e){this.$$set({categoriesicon:e}),s.flush()}get lobbyiconimage(){return this.$$.ctx[11]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),s.flush()}get mygamesiconimage(){return this.$$.ctx[12]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),s.flush()}get customizecategoryicon(){return this.$$.ctx[26]}set customizecategoryicon(e){this.$$set({customizecategoryicon:e}),s.flush()}}s.create_custom_element(re,{endpoint:{},datasource:{},lang:{},userid:{},session:{},mostplayed:{},lastplayed:{},favorites:{},mbsource:{},clientstyling:{},clientstylingurl:{},activecategory:{},actionevent:{},sessioncheck:{},location:{},showsubgroups:{},filteredcategories:{},translationurl:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},customizecategoryicon:{}},[],[],!0);const De=Object.freeze(Object.defineProperty({__proto__:null,default:re},Symbol.toStringTag,{value:"Module"}));exports.CasinoCategoriesSliderNd_ce=De;exports.getStreamTranslations=le;