@everymatrix/casino-lobby 1.61.1 → 1.62.1

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 (118) hide show
  1. package/components/CasinoCalendar-C8B0eACb.cjs +22 -0
  2. package/components/{CasinoCalendar-WuTw9Z8d.js → CasinoCalendar-izYyDxua.js} +912 -869
  3. package/components/{CasinoCalendar-C4nbeq1g.js → CasinoCalendar-lTuMef5g.js} +1136 -1093
  4. package/components/{CasinoCalendarDailyDetails-CHONyOB5.js → CasinoCalendarDailyDetails-BO_acJjS.js} +3 -3
  5. package/components/{CasinoCalendarDailyDetails-BAGuydyF.js → CasinoCalendarDailyDetails-BRtsgmSz.js} +3 -3
  6. package/components/{CasinoCalendarDailyDetails-DrcJ9qsj.cjs → CasinoCalendarDailyDetails-DB-0YZ9U.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-eOgZSp2O.js → CasinoCalendarDailyItem-CE-i7Rjk.js} +2 -2
  8. package/components/{CasinoCalendarDailyItem-CPM6-0C8.js → CasinoCalendarDailyItem-CearDjmk.js} +2 -2
  9. package/components/{CasinoCalendarDailyItem-B3npUDyl.cjs → CasinoCalendarDailyItem-DAkal_aw.cjs} +1 -1
  10. package/components/{CasinoCategoriesSlider-DgQayYzE.js → CasinoCategoriesSlider-CbZRQLJS.js} +2 -2
  11. package/components/{CasinoCategoriesSlider-DyNiM5Xn.js → CasinoCategoriesSlider-CtsT7oWX.js} +2 -2
  12. package/components/{CasinoCategoriesSlider-CWcGEpfR.cjs → CasinoCategoriesSlider-DtDec725.cjs} +1 -1
  13. package/components/CasinoCollectionsProviders-Bs5ioZVG.cjs +1 -0
  14. package/components/{CasinoCollectionsProviders-5PJh4coY.js → CasinoCollectionsProviders-BsANDUWq.js} +33 -33
  15. package/components/{CasinoCollectionsProviders-DvICMch1.js → CasinoCollectionsProviders-C6vH48GA.js} +31 -31
  16. package/components/{CasinoFavoritesSection-BLswksE3.js → CasinoFavoritesSection-6WkSSin3.js} +2 -2
  17. package/components/{CasinoFavoritesSection-D57jT5yq.js → CasinoFavoritesSection-Binip-ga.js} +2 -2
  18. package/components/{CasinoFavoritesSection-DXEM7KtA.cjs → CasinoFavoritesSection-Xa7P63xe.cjs} +1 -1
  19. package/components/CasinoFilter-Dg58c3Om.cjs +1 -0
  20. package/components/CasinoFilter-N8qvxcNm.js +645 -0
  21. package/components/CasinoFilter-xLSNxOV2.js +644 -0
  22. package/components/{CasinoGamePage-NTjXPK0_.js → CasinoGamePage-AxIvVXWI.js} +6 -6
  23. package/components/{CasinoGamePage-D4oYftHp.js → CasinoGamePage-DJFhafR6.js} +110 -110
  24. package/components/{CasinoGamePage-DhNoxzWb.cjs → CasinoGamePage-DQL-yFsp.cjs} +2 -2
  25. package/components/CasinoGameThumbnail-BjLYh64K.js +1836 -0
  26. package/components/CasinoGameThumbnail-CYUpL3dx.cjs +38 -0
  27. package/components/CasinoGameThumbnail-dOxN1fba.js +1852 -0
  28. package/components/{CasinoGamesCategorySection-Br-ZBeEp.js → CasinoGamesCategorySection-BUxtHhON.js} +756 -742
  29. package/components/CasinoGamesCategorySection-C0zpuZl3.cjs +1 -0
  30. package/components/{CasinoGamesCategorySection-DrL01BnG.js → CasinoGamesCategorySection-pmibtuJd.js} +1048 -1035
  31. package/components/{CasinoJackpotBanner-Yo5HGzmD.js → CasinoJackpotBanner-CdjXlJzV.js} +48 -48
  32. package/components/{CasinoJackpotBanner-CG4fFV2M.js → CasinoJackpotBanner-DcU4dn5c.js} +92 -92
  33. package/components/CasinoJackpotBanner-DkGsDt5a.cjs +1 -0
  34. package/components/{CasinoLastPlayedSection-BUIc0ZEt.js → CasinoLastPlayedSection-BP5rPSQ_.js} +2 -2
  35. package/components/{CasinoLastPlayedSection-CFEzl7GR.cjs → CasinoLastPlayedSection-D0h-rsdy.cjs} +1 -1
  36. package/components/{CasinoLastPlayedSection-DjRKGJ8F.js → CasinoLastPlayedSection-vlivUYOC.js} +2 -2
  37. package/components/{CasinoLobby-L5w-S2-2.js → CasinoLobby-CPaRNRtp.js} +262 -242
  38. package/components/{CasinoLobby-CQVjJ22J.js → CasinoLobby-CyDr4hqy.js} +262 -242
  39. package/components/CasinoLobby-Ds5HlH8Y.cjs +1 -0
  40. package/components/{CasinoModal-CeEDc631.cjs → CasinoModal-Cr5ZiTlh.cjs} +1 -1
  41. package/components/{CasinoModal-Cx4skobD.js → CasinoModal-D9IpMDiG.js} +1 -1
  42. package/components/{CasinoModal-DrALs71O.js → CasinoModal-Dk3TnqEW.js} +1 -1
  43. package/components/{CasinoMostPlayedSection-BrjuU2ad.js → CasinoMostPlayedSection-20MO7enx.js} +2 -2
  44. package/components/{CasinoMostPlayedSection-Dru8l_gX.js → CasinoMostPlayedSection-CbfiaETY.js} +2 -2
  45. package/components/{CasinoMostPlayedSection-D72Posxa.cjs → CasinoMostPlayedSection-D26xQEsr.cjs} +1 -1
  46. package/components/{CasinoMyGames-DP5VtRtX.cjs → CasinoMyGames-BpDT9BLf.cjs} +1 -1
  47. package/components/{CasinoMyGames-Cc8aQUy5.js → CasinoMyGames-CFxQ8X8x.js} +4 -4
  48. package/components/{CasinoMyGames-Eco1Z13t.js → CasinoMyGames-CadZECEx.js} +4 -4
  49. package/components/CasinoPage-CqUxa6JX.cjs +1 -0
  50. package/components/CasinoPage-DFLtQdP3.js +4071 -0
  51. package/components/{CasinoPage-BvKvwzQq.js → CasinoPage-jKeNqwgL.js} +1698 -1543
  52. package/components/{CasinoRandomGame-RYfnY5_c.js → CasinoRandomGame-CMMdb6MX.js} +192 -193
  53. package/components/CasinoRandomGame-CQSoF_L9.cjs +2 -0
  54. package/components/{CasinoRandomGame-5kYiDYSm.js → CasinoRandomGame-Dfk5ExSm.js} +153 -154
  55. package/components/{CasinoSearch-CnWoNOtX.js → CasinoSearch-B-DNLDkb.js} +4 -4
  56. package/components/{CasinoSearch-D-hwTHcV.cjs → CasinoSearch-CBYRtC_2.cjs} +1 -1
  57. package/components/{CasinoSearch-Nqv4h_zq.js → CasinoSearch-ulzQNNP2.js} +4 -4
  58. package/components/CasinoSlider-Bvy9S6qQ.cjs +1 -0
  59. package/components/{CasinoSlider-D1JzP31y.js → CasinoSlider-DCODvBVc.js} +141 -142
  60. package/components/{CasinoSlider-Cr-fAktO.js → CasinoSlider-M-ePf6YF.js} +208 -209
  61. package/components/{CasinoSort-ByAjtAxn.cjs → CasinoSort-CMyP4b81.cjs} +1 -1
  62. package/components/{CasinoSort-D51DNHxk.js → CasinoSort-Cz8W-yKd.js} +1 -1
  63. package/components/{CasinoSort-DXiP4dA5.js → CasinoSort-DJlRNRiq.js} +1 -1
  64. package/components/{CasinoWinners-B1BXrca1.js → CasinoWinners-B11A2z1V.js} +4 -4
  65. package/components/{CasinoWinners-pzI08CdT.js → CasinoWinners-B44zvyCP.js} +4 -4
  66. package/components/{CasinoWinners-CEq9st2v.cjs → CasinoWinners-CTbjyBxP.cjs} +1 -1
  67. package/components/{GeneralAnimationLoading-CI4qqgO_.js → GeneralAnimationLoading-N8PSBBga.js} +1 -1
  68. package/components/{GeneralAnimationLoading-DiZmxxRF.cjs → GeneralAnimationLoading-s32ZAU4z.cjs} +1 -1
  69. package/components/{GeneralAnimationLoading-CIaY2Gvf.js → GeneralAnimationLoading-yZge1VnD.js} +1 -1
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/index-97d17652-CCalHFFZ.js +558 -0
  75. package/stencil/index-97d17652-CeszPuI-.cjs +1 -0
  76. package/stencil/index-97d17652-De_e2iwD.js +542 -0
  77. package/stencil/{index-b2193545-k_uiu1dU.js → index-b2193545-60VR4wV3.js} +1 -1
  78. package/stencil/{index-b2193545-CGYrx6SV.js → index-b2193545-LYFajSbf.js} +1 -1
  79. package/stencil/{index-b2193545-DU7jU8hT.cjs → index-b2193545-nJb2J-aJ.cjs} +1 -1
  80. package/stencil/ui-image-3911756b-B-U8CxGn.cjs +1 -0
  81. package/stencil/ui-image-3911756b-C-PJ3oso.js +39 -0
  82. package/stencil/ui-image-3911756b-D1cmuQAe.js +39 -0
  83. package/stencil/ui-image-CUjXE1FQ.js +25 -0
  84. package/stencil/ui-image-DO4by88q.js +7 -0
  85. package/stencil/ui-image-DgVuZYOM.cjs +1 -0
  86. package/stencil/ui-image_2-8wL-gGdE.cjs +73 -0
  87. package/stencil/ui-image_2-BcBI-Hq7.js +154 -0
  88. package/stencil/ui-image_2-CIsvIZfV.js +154 -0
  89. package/stencil/{ui-skeleton-6d1c12ae-f1sFu8zZ.js → ui-skeleton-1cb75d00-BWUmrSx4.js} +4 -4
  90. package/stencil/{ui-skeleton-6d1c12ae-C3POR2WV.cjs → ui-skeleton-1cb75d00-C9ZtbYpX.cjs} +2 -2
  91. package/stencil/{ui-skeleton-6d1c12ae-4HBL8qol.js → ui-skeleton-1cb75d00-D5AevndQ.js} +4 -4
  92. package/stencil/{ui-skeleton-22AocHRT.js → ui-skeleton-CDhNSEbX.js} +2 -2
  93. package/stencil/{ui-skeleton-Di9b-pPK.cjs → ui-skeleton-CUmVjhrn.cjs} +1 -1
  94. package/stencil/{ui-skeleton-CMD3xF0X.js → ui-skeleton-D5ACyLBl.js} +2 -2
  95. package/components/CasinoCalendar-BaQd3tuL.cjs +0 -22
  96. package/components/CasinoCollectionsProviders-BMFI1FD2.cjs +0 -1
  97. package/components/CasinoFilter-B9G8cs2A.cjs +0 -1
  98. package/components/CasinoFilter-BH7-Laxf.js +0 -632
  99. package/components/CasinoFilter-COinUQ6E.js +0 -633
  100. package/components/CasinoGameThumbnail-C_F6ViBB.js +0 -1068
  101. package/components/CasinoGameThumbnail-DWRrHNvN.cjs +0 -30
  102. package/components/CasinoGameThumbnail-pajQYCwc.js +0 -1084
  103. package/components/CasinoGamesCategorySection-BXWd7Cck.cjs +0 -1
  104. package/components/CasinoJackpotBanner-BoWCKFIJ.cjs +0 -1
  105. package/components/CasinoLobby-DnBSVJ5P.cjs +0 -1
  106. package/components/CasinoPage-DAptP7ZQ.cjs +0 -1
  107. package/components/CasinoPage-mARxTyiZ.js +0 -3916
  108. package/components/CasinoRandomGame-BJiVFaRb.cjs +0 -2
  109. package/components/CasinoSlider-B3dV89iI.cjs +0 -1
  110. package/stencil/index-b7bbd57e-BMsMsYAr.js +0 -550
  111. package/stencil/index-b7bbd57e-CPxyz2y0.js +0 -534
  112. package/stencil/index-b7bbd57e-CiQAmzc6.cjs +0 -1
  113. package/stencil/ui-image-38c3c15f--IPbitii.js +0 -39
  114. package/stencil/ui-image-38c3c15f-CQXMTl7T.js +0 -39
  115. package/stencil/ui-image-38c3c15f-Dv8v2u8d.cjs +0 -1
  116. package/stencil/ui-image-CV8AJ9cY.js +0 -29
  117. package/stencil/ui-image-DG3xEaHN.js +0 -11
  118. package/stencil/ui-image-LuWVcxjH.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { a as we, $ as Se, S as ke, i as Ge, s as Pe, f as M, b as Le, n as H, d as T, h as F, j as _, k as Me, o as je, l as xe, C as ee, r as w, v as z, w as ce, m as q, p as h, q as U, B as O, R as Te, A, I, D as N, E as j, T as Fe, J as Oe, K as Be, L as He, M as ze, N as Ae } from "./CasinoCalendar-WuTw9Z8d.js";
2
- import "../stencil/ui-image-CV8AJ9cY.js";
1
+ import { a as we, $ as Se, S as ke, i as Ge, s as Pe, f as M, b as Le, n as H, d as T, h as F, j as _, k as Me, o as xe, l as je, C as ee, r as w, v as z, w as ce, m as U, p as h, q, B as O, R as Te, A, I, D as N, E as x, T as Fe, J as Oe, K as Be, L as He, M as ze, N as Ae } from "./CasinoCalendar-izYyDxua.js";
2
+ import "../stencil/ui-image-CUjXE1FQ.js";
3
3
  function te(t, e) {
4
4
  we(t, e);
5
5
  }
@@ -104,7 +104,7 @@ const ie = {
104
104
  }
105
105
  };
106
106
  function Ee(t) {
107
- Le(t, "svelte-3oqkg3", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.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--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
107
+ Le(t, "svelte-ci1i8", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:inherit;font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:70px;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:60px;height:40px;object-fit:cover}.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--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
108
108
  }
109
109
  function oe(t, e, i) {
110
110
  const n = t.slice();
@@ -136,7 +136,7 @@ function Re(t) {
136
136
  a[c] = se(oe(t, m, c));
137
137
  return {
138
138
  c() {
139
- e = _("div"), i = _("div"), n = _("p"), r = U(l), d = O(), s && s.c(), C = O(), v = _("div");
139
+ e = _("div"), i = _("div"), n = _("p"), r = q(l), d = O(), s && s.c(), C = O(), v = _("div");
140
140
  for (let c = 0; c < a.length; c += 1)
141
141
  a[c].c();
142
142
  w(n, "class", "Title"), w(i, "class", "CategoriesHeader"), w(v, "class", "CategoriesSlider"), w(e, "class", k = "CasinoCollectionsProviders " + /*mobile*/
@@ -158,7 +158,7 @@ function Re(t) {
158
158
  ) : (
159
159
  /*$_*/
160
160
  c[10]("collections")
161
- )) + "") && q(r, l), /*numberOfSlides*/
161
+ )) + "") && U(r, l), /*numberOfSlides*/
162
162
  c[7] > /*numberOfVisibleSlides*/
163
163
  c[8] ? s ? s.p(c, g) : (s = ne(c), s.c(), s.m(i, null)) : s && (s.d(1), s = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
164
164
  24590) {
@@ -228,14 +228,14 @@ function ne(t) {
228
228
  }
229
229
  };
230
230
  }
231
- function qe(t) {
231
+ function Ue(t) {
232
232
  let e, i = (
233
233
  /*category*/
234
234
  t[41].name + ""
235
235
  ), n;
236
236
  return {
237
237
  c() {
238
- e = _("p"), n = U(i), w(e, "class", "CategorySlideTitle");
238
+ e = _("p"), n = q(i), w(e, "class", "CategorySlideTitle");
239
239
  },
240
240
  m(l, r) {
241
241
  F(l, e, r), h(e, n);
@@ -243,19 +243,19 @@ function qe(t) {
243
243
  p(l, r) {
244
244
  r[0] & /*gameCategories*/
245
245
  8 && i !== (i = /*category*/
246
- l[41].name + "") && q(n, i);
246
+ l[41].name + "") && U(n, i);
247
247
  },
248
248
  d(l) {
249
249
  l && T(e);
250
250
  }
251
251
  };
252
252
  }
253
- function Ue(t) {
253
+ function qe(t) {
254
254
  let e, i, n;
255
255
  return {
256
256
  c() {
257
- e = _("ui-image"), j(e, "imgClass", "CategorySlideLogo"), N(e.src, i = /*category*/
258
- t[41].icon) || j(e, "src", i), j(e, "alt", n = /*category*/
257
+ e = _("ui-image"), x(e, "class", "CategorySlideLogo"), N(e.src, i = /*category*/
258
+ t[41].icon) || x(e, "src", i), x(e, "alt", n = /*category*/
259
259
  t[41].name + " icon");
260
260
  },
261
261
  m(l, r) {
@@ -264,9 +264,9 @@ function Ue(t) {
264
264
  p(l, r) {
265
265
  r[0] & /*gameCategories*/
266
266
  8 && !N(e.src, i = /*category*/
267
- l[41].icon) && j(e, "src", i), r[0] & /*gameCategories*/
267
+ l[41].icon) && x(e, "src", i), r[0] & /*gameCategories*/
268
268
  8 && n !== (n = /*category*/
269
- l[41].name + " icon") && j(e, "alt", n);
269
+ l[41].name + " icon") && x(e, "alt", n);
270
270
  },
271
271
  d(l) {
272
272
  l && T(e);
@@ -280,7 +280,7 @@ function re(t) {
280
280
  ), n, l;
281
281
  return {
282
282
  c() {
283
- e = _("p"), n = U(i), w(e, "title", l = /*game*/
283
+ e = _("p"), n = q(i), w(e, "title", l = /*game*/
284
284
  t[44].name);
285
285
  },
286
286
  m(r, d) {
@@ -289,7 +289,7 @@ function re(t) {
289
289
  p(r, d) {
290
290
  d[0] & /*gameCategories*/
291
291
  8 && i !== (i = /*game*/
292
- r[44].name + "") && q(n, i), d[0] & /*gameCategories*/
292
+ r[44].name + "") && U(n, i), d[0] & /*gameCategories*/
293
293
  8 && l !== (l = /*game*/
294
294
  r[44].name) && w(e, "title", l);
295
295
  },
@@ -315,8 +315,8 @@ function ae(t) {
315
315
  );
316
316
  return {
317
317
  c() {
318
- e = _("div"), i = _("ui-image"), r = O(), s && s.c(), d = O(), j(i, "imgClass", "CategorySlideGameImage"), N(i.src, n = /*game*/
319
- t[44].defaultThumbnail) || j(i, "src", n), j(i, "alt", l = /*game*/
318
+ e = _("div"), i = _("ui-image"), r = O(), s && s.c(), d = O(), x(i, "class", "CategorySlideGameImage"), N(i.src, n = /*game*/
319
+ t[44].defaultThumbnail) || x(i, "src", n), x(i, "alt", l = /*game*/
320
320
  t[44].name), w(e, "class", "CategorySlideGames");
321
321
  },
322
322
  m(m, a) {
@@ -325,9 +325,9 @@ function ae(t) {
325
325
  p(m, a) {
326
326
  t = m, a[0] & /*gameCategories*/
327
327
  8 && !N(i.src, n = /*game*/
328
- t[44].defaultThumbnail) && j(i, "src", n), a[0] & /*gameCategories*/
328
+ t[44].defaultThumbnail) && x(i, "src", n), a[0] & /*gameCategories*/
329
329
  8 && l !== (l = /*game*/
330
- t[44].name) && j(i, "alt", l), /*collectionprovidersgamenames*/
330
+ t[44].name) && x(i, "alt", l), /*collectionprovidersgamenames*/
331
331
  t[2] == "true" ? s ? s.p(t, a) : (s = re(t), s.c(), s.m(e, d)) : s && (s.d(1), s = null);
332
332
  },
333
333
  d(m) {
@@ -342,12 +342,12 @@ function se(t) {
342
342
  /*titletype*/
343
343
  u[1] === "logo"
344
344
  )
345
- return Ue;
345
+ return qe;
346
346
  if (
347
347
  /*titletype*/
348
348
  u[1] === "title"
349
349
  )
350
- return qe;
350
+ return Ue;
351
351
  }
352
352
  let m = s(t), a = m && m(t), c = z(
353
353
  /*category*/
@@ -440,8 +440,8 @@ function We(t, e, i) {
440
440
  let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: C = "" } = e, { titletype: v = "" } = e, { clientstyling: k = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: m = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: c } = e, g = [], p = !0, u, f = 0, b = 0, P = 0, S, B, V = 0, E = 50, R = !1, L, de = window.navigator.userAgent, W;
441
441
  const ge = () => {
442
442
  fetch(m).then((y) => y.json()).then((y) => {
443
- Object.keys(y).forEach((x) => {
444
- te(x, y[x]);
443
+ Object.keys(y).forEach((j) => {
444
+ te(j, y[j]);
445
445
  });
446
446
  }).catch((y) => {
447
447
  console.log(y);
@@ -454,7 +454,7 @@ function We(t, e, i) {
454
454
  const o = new URL(`${l}/v2/casino/groups/${r}`);
455
455
  o.searchParams.append("language", d), o.searchParams.append("expand", "games"), o.searchParams.append("filter", `$and(flags=${C})`), o.searchParams.append("pagination", `offset=${V},limit=${E}`), fetch(o.href).then((y) => y.json()).then((y) => {
456
456
  i(6, p = !1), y.total > E && (V += 50, E += 50, i(22, R = !0));
457
- let x = y.items.map((G) => {
457
+ let j = y.items.map((G) => {
458
458
  var Y, Q, $;
459
459
  return {
460
460
  id: G.id,
@@ -465,15 +465,15 @@ function We(t, e, i) {
465
465
  flag: G.flags
466
466
  };
467
467
  });
468
- i(3, g = [...g, ...x]), i(7, b = g.length), ue();
468
+ i(3, g = [...g, ...j]), i(7, b = g.length), ue();
469
469
  });
470
470
  }, ue = () => {
471
471
  const o = L.getRootNode().host;
472
472
  o.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: o } }));
473
473
  }, K = (o) => {
474
474
  var y;
475
- B = [...u.children], B.forEach((x, G) => {
476
- x.style.transform = `translateX(${100 * (o ? G - o : G)}%)`;
475
+ B = [...u.children], B.forEach((j, G) => {
476
+ j.style.transform = `translateX(${100 * (o ? G - o : G)}%)`;
477
477
  }), S = (y = B[0]) == null ? void 0 : y.getBoundingClientRect().width, me();
478
478
  }, me = () => {
479
479
  i(8, P = Math.floor(u.clientWidth / S));
@@ -483,19 +483,19 @@ function We(t, e, i) {
483
483
  f === 0 ? f = b - P : f - P < -1 ? f = 0 : f--, J();
484
484
  }, pe = () => {
485
485
  f === b - P ? f = 0 : b - P < f + 1 ? f = b - P : f++, J();
486
- }, Z = (o, y, x, G) => {
486
+ }, Z = (o, y, j, G) => {
487
487
  window.postMessage(
488
488
  {
489
489
  type: "OpenCollectionsProvidersGame",
490
490
  gameId: o,
491
491
  launchUrl: y,
492
- gameName: x,
492
+ gameName: j,
493
493
  subVendor: G
494
494
  },
495
495
  window.location.href
496
496
  ), typeof gtag == "function" && gtag("event", "OpenGame", {
497
497
  context: "CollectionsProviders",
498
- gameName: `${x}`
498
+ gameName: `${j}`
499
499
  });
500
500
  }, X = (o) => {
501
501
  window.postMessage(
@@ -508,7 +508,7 @@ function We(t, e, i) {
508
508
  }, he = () => {
509
509
  Ne(d);
510
510
  };
511
- je(() => (i(9, W = xe(de)), () => {
511
+ xe(() => (i(9, W = je(de)), () => {
512
512
  }));
513
513
  const ve = (o) => Z(o.gameId, o.launchUrl, o.name, o.subVendor), be = (o) => X(o.id);
514
514
  function _e(o) {
@@ -1,4 +1,4 @@
1
- import { $ as E, U as O, S as R, i as U, s as j, f as l, b as z, n as L, d as q, h as A, j as D, r as J, o as K, E as s, C as T, J as V, K as B, L as G, M as H } from "./CasinoCalendar-WuTw9Z8d.js";
1
+ import { $ as E, U as O, S as R, i as U, s as j, f as l, b as z, n as L, d as q, h as A, j as D, r as J, o as K, E as s, C as T, J as V, K as B, L as G, M as H } from "./CasinoCalendar-izYyDxua.js";
2
2
  if (typeof window != "undefined") {
3
3
  let n = function(e) {
4
4
  return function(...t) {
@@ -11,7 +11,7 @@ if (typeof window != "undefined") {
11
11
  }
12
12
  };
13
13
  };
14
- customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-Br-ZBeEp.js").then(({ default: e }) => {
14
+ customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-BUxtHhON.js").then(({ default: e }) => {
15
15
  !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
16
16
  });
17
17
  }
@@ -1,4 +1,4 @@
1
- import { $ as E, U as O, S as R, i as U, s as j, f as l, b as z, n as L, d as q, h as A, j as D, r as J, o as K, E as s, C as T, J as V, K as B, L as G, M as H } from "./CasinoCalendar-C4nbeq1g.js";
1
+ import { $ as E, U as O, S as R, i as U, s as j, f as l, b as z, n as L, d as q, h as A, j as D, r as J, o as K, E as s, C as T, J as V, K as B, L as G, M as H } from "./CasinoCalendar-lTuMef5g.js";
2
2
  if (typeof window < "u") {
3
3
  let n = function(e) {
4
4
  return function(...t) {
@@ -11,7 +11,7 @@ if (typeof window < "u") {
11
11
  }
12
12
  };
13
13
  };
14
- customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-DrL01BnG.js").then(({ default: e }) => {
14
+ customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-pmibtuJd.js").then(({ default: e }) => {
15
15
  !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
16
16
  });
17
17
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BaQd3tuL.cjs");if(typeof window!="undefined"){let a=function(e){return function(...s){try{return e.apply(this,s)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-BXWd7Cck.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",e.element)})}function L({withLocale:a,translations:e}){t.$locale.subscribe(s=>{s==null&&(t.$dictionary.set(e),t.$locale.set(a))})}function M(a){t.append_styles(a,"svelte-nazqps",".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function F(a){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",a[4]),t.set_custom_element_data(e,"userid",a[5]),t.set_custom_element_data(e,"endpoint",a[0]),t.set_custom_element_data(e,"datasource",a[1]),t.set_custom_element_data(e,"lang",a[3]),t.set_custom_element_data(e,"currency",a[2]),t.set_custom_element_data(e,"favorites",a[14]),t.set_custom_element_data(e,"fetchviaevent",a[16]),t.set_custom_element_data(e,"mbsource",a[17]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",a[11]),t.set_custom_element_data(e,"clientstyling",a[6]),t.set_custom_element_data(e,"clientstylingurl",a[7]),t.set_custom_element_data(e,"livecasino",a[8]),t.set_custom_element_data(e,"visiblegames",a[13]),t.set_custom_element_data(e,"gamepagemodalurl",a[12]),t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),t.set_custom_element_data(e,"integratedgameframemobile",a[9]),t.set_custom_element_data(e,"casinomygames",a[15])},m(s,i){t.insert(s,e,i)},p(s,i){i&16&&t.set_custom_element_data(e,"session",s[4]),i&32&&t.set_custom_element_data(e,"userid",s[5]),i&1&&t.set_custom_element_data(e,"endpoint",s[0]),i&2&&t.set_custom_element_data(e,"datasource",s[1]),i&8&&t.set_custom_element_data(e,"lang",s[3]),i&4&&t.set_custom_element_data(e,"currency",s[2]),i&16384&&t.set_custom_element_data(e,"favorites",s[14]),i&65536&&t.set_custom_element_data(e,"fetchviaevent",s[16]),i&131072&&t.set_custom_element_data(e,"mbsource",s[17]),i&2048&&t.set_custom_element_data(e,"showgamename",s[11]),i&64&&t.set_custom_element_data(e,"clientstyling",s[6]),i&128&&t.set_custom_element_data(e,"clientstylingurl",s[7]),i&256&&t.set_custom_element_data(e,"livecasino",s[8]),i&8192&&t.set_custom_element_data(e,"visiblegames",s[13]),i&4096&&t.set_custom_element_data(e,"gamepagemodalurl",s[12]),i&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",s[10]),i&512&&t.set_custom_element_data(e,"integratedgameframemobile",s[9]),i&32768&&t.set_custom_element_data(e,"casinomygames",s[15])},d(s){s&&t.detach(e)}}}function O(a){let e,s=a[4]&&F(a);return{c(){e=t.element("div"),s&&s.c(),t.attr(e,"class","CasinoFavoritesSectionContainer")},m(i,l){t.insert(i,e,l),s&&s.m(e,null),a[19](e)},p(i,[l]){i[4]?s?s.p(i,l):(s=F(i),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:t.noop,o:t.noop,d(i){i&&t.detach(e),s&&s.d(),a[19](null)}}}function A(a,e,s){let{endpoint:i=""}=e,{datasource:l=""}=e,{currency:g=""}=e,{lang:r=""}=e,{session:f=""}=e,{userid:_=""}=e,{clientstyling:o=""}=e,{clientstylingurl:u=""}=e,{livecasino:d="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:y="false"}=e,{showgamename:b=""}=e,{gamepagemodalurl:v="false"}=e,{visiblegames:w=""}=e,{favorites:k=""}=e,{casinomygames:C="false"}=e,{fetchviaevent:S="true"}=e,{mbsource:c}=e,m;L({withLocale:"en",translations:{}}),t.onMount(()=>()=>{});function q(n){t.binding_callbacks[n?"unshift":"push"](()=>{m=n,s(18,m)})}return a.$$set=n=>{"endpoint"in n&&s(0,i=n.endpoint),"datasource"in n&&s(1,l=n.datasource),"currency"in n&&s(2,g=n.currency),"lang"in n&&s(3,r=n.lang),"session"in n&&s(4,f=n.session),"userid"in n&&s(5,_=n.userid),"clientstyling"in n&&s(6,o=n.clientstyling),"clientstylingurl"in n&&s(7,u=n.clientstylingurl),"livecasino"in n&&s(8,d=n.livecasino),"integratedgameframemobile"in n&&s(9,h=n.integratedgameframemobile),"integratedgameframedesktop"in n&&s(10,y=n.integratedgameframedesktop),"showgamename"in n&&s(11,b=n.showgamename),"gamepagemodalurl"in n&&s(12,v=n.gamepagemodalurl),"visiblegames"in n&&s(13,w=n.visiblegames),"favorites"in n&&s(14,k=n.favorites),"casinomygames"in n&&s(15,C=n.casinomygames),"fetchviaevent"in n&&s(16,S=n.fetchviaevent),"mbsource"in n&&s(17,c=n.mbsource)},a.$$.update=()=>{a.$$.dirty&262208&&o&&m&&t.setClientStyling(m,o),a.$$.dirty&262272&&u&&m&&t.setClientStylingURL(m,u),a.$$.dirty&393216&&m&&t.setStreamStyling(m,`${c}.Style`)},[i,l,g,r,f,_,o,u,d,h,y,b,v,w,k,C,S,c,m,q]}class E extends t.SvelteComponent{constructor(e){super(),t.init(this,e,A,O,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,casinomygames:15,fetchviaevent:16,mbsource:17},M)}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(E,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},showgamename:{},gamepagemodalurl:{},visiblegames:{},favorites:{},casinomygames:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-C8B0eACb.cjs");if(typeof window!="undefined"){let a=function(e){return function(...s){try{return e.apply(this,s)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-C0zpuZl3.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",e.element)})}function L({withLocale:a,translations:e}){t.$locale.subscribe(s=>{s==null&&(t.$dictionary.set(e),t.$locale.set(a))})}function M(a){t.append_styles(a,"svelte-nazqps",".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function F(a){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",a[4]),t.set_custom_element_data(e,"userid",a[5]),t.set_custom_element_data(e,"endpoint",a[0]),t.set_custom_element_data(e,"datasource",a[1]),t.set_custom_element_data(e,"lang",a[3]),t.set_custom_element_data(e,"currency",a[2]),t.set_custom_element_data(e,"favorites",a[14]),t.set_custom_element_data(e,"fetchviaevent",a[16]),t.set_custom_element_data(e,"mbsource",a[17]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",a[11]),t.set_custom_element_data(e,"clientstyling",a[6]),t.set_custom_element_data(e,"clientstylingurl",a[7]),t.set_custom_element_data(e,"livecasino",a[8]),t.set_custom_element_data(e,"visiblegames",a[13]),t.set_custom_element_data(e,"gamepagemodalurl",a[12]),t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),t.set_custom_element_data(e,"integratedgameframemobile",a[9]),t.set_custom_element_data(e,"casinomygames",a[15])},m(s,i){t.insert(s,e,i)},p(s,i){i&16&&t.set_custom_element_data(e,"session",s[4]),i&32&&t.set_custom_element_data(e,"userid",s[5]),i&1&&t.set_custom_element_data(e,"endpoint",s[0]),i&2&&t.set_custom_element_data(e,"datasource",s[1]),i&8&&t.set_custom_element_data(e,"lang",s[3]),i&4&&t.set_custom_element_data(e,"currency",s[2]),i&16384&&t.set_custom_element_data(e,"favorites",s[14]),i&65536&&t.set_custom_element_data(e,"fetchviaevent",s[16]),i&131072&&t.set_custom_element_data(e,"mbsource",s[17]),i&2048&&t.set_custom_element_data(e,"showgamename",s[11]),i&64&&t.set_custom_element_data(e,"clientstyling",s[6]),i&128&&t.set_custom_element_data(e,"clientstylingurl",s[7]),i&256&&t.set_custom_element_data(e,"livecasino",s[8]),i&8192&&t.set_custom_element_data(e,"visiblegames",s[13]),i&4096&&t.set_custom_element_data(e,"gamepagemodalurl",s[12]),i&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",s[10]),i&512&&t.set_custom_element_data(e,"integratedgameframemobile",s[9]),i&32768&&t.set_custom_element_data(e,"casinomygames",s[15])},d(s){s&&t.detach(e)}}}function O(a){let e,s=a[4]&&F(a);return{c(){e=t.element("div"),s&&s.c(),t.attr(e,"class","CasinoFavoritesSectionContainer")},m(i,l){t.insert(i,e,l),s&&s.m(e,null),a[19](e)},p(i,[l]){i[4]?s?s.p(i,l):(s=F(i),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:t.noop,o:t.noop,d(i){i&&t.detach(e),s&&s.d(),a[19](null)}}}function A(a,e,s){let{endpoint:i=""}=e,{datasource:l=""}=e,{currency:g=""}=e,{lang:r=""}=e,{session:f=""}=e,{userid:_=""}=e,{clientstyling:o=""}=e,{clientstylingurl:u=""}=e,{livecasino:d="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:y="false"}=e,{showgamename:b=""}=e,{gamepagemodalurl:v="false"}=e,{visiblegames:w=""}=e,{favorites:k=""}=e,{casinomygames:C="false"}=e,{fetchviaevent:S="true"}=e,{mbsource:c}=e,m;L({withLocale:"en",translations:{}}),t.onMount(()=>()=>{});function q(n){t.binding_callbacks[n?"unshift":"push"](()=>{m=n,s(18,m)})}return a.$$set=n=>{"endpoint"in n&&s(0,i=n.endpoint),"datasource"in n&&s(1,l=n.datasource),"currency"in n&&s(2,g=n.currency),"lang"in n&&s(3,r=n.lang),"session"in n&&s(4,f=n.session),"userid"in n&&s(5,_=n.userid),"clientstyling"in n&&s(6,o=n.clientstyling),"clientstylingurl"in n&&s(7,u=n.clientstylingurl),"livecasino"in n&&s(8,d=n.livecasino),"integratedgameframemobile"in n&&s(9,h=n.integratedgameframemobile),"integratedgameframedesktop"in n&&s(10,y=n.integratedgameframedesktop),"showgamename"in n&&s(11,b=n.showgamename),"gamepagemodalurl"in n&&s(12,v=n.gamepagemodalurl),"visiblegames"in n&&s(13,w=n.visiblegames),"favorites"in n&&s(14,k=n.favorites),"casinomygames"in n&&s(15,C=n.casinomygames),"fetchviaevent"in n&&s(16,S=n.fetchviaevent),"mbsource"in n&&s(17,c=n.mbsource)},a.$$.update=()=>{a.$$.dirty&262208&&o&&m&&t.setClientStyling(m,o),a.$$.dirty&262272&&u&&m&&t.setClientStylingURL(m,u),a.$$.dirty&393216&&m&&t.setStreamStyling(m,`${c}.Style`)},[i,l,g,r,f,_,o,u,d,h,y,b,v,w,k,C,S,c,m,q]}class E extends t.SvelteComponent{constructor(e){super(),t.init(this,e,A,O,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,casinomygames:15,fetchviaevent:16,mbsource:17},M)}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(E,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},showgamename:{},gamepagemodalurl:{},visiblegames:{},favorites:{},casinomygames:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=E;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-C8B0eACb.cjs");function $({withLocale:i,translations:t}){e.$locale.subscribe(l=>{l==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function Z(i,t){e.addMessages(i,t)}const G={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"},"en-us":{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"}};function ee(i){e.append_styles(i,"svelte-15yj9h0",':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}')}function K(i,t,l){const a=i.slice();return a[37]=t[l],a[38]=t,a[39]=l,a}function te(i){let t,l,a,n,s,g,b,y,h=i[11]("filterby")+"",p,_,F,L,S=i[11]("providers")+"",C,w,m,u,d,k,P,D,j,v,A,J,I,T=i[11]("clear")+"",E,N,z,M,B,q;function H(o,f){return o[7]?ie:re}let V=H(i),x=V(i),O=e.ensure_array_like(i[5]),r=[];for(let o=0;o<O.length;o+=1)r[o]=Q(K(i,O,o));return{c(){t=e.element("div"),l=e.element("div"),a=e.element("div"),n=e.svg_element("svg"),s=e.svg_element("path"),g=e.space(),b=e.element("div"),y=e.element("span"),p=e.text(h),_=e.space(),F=e.element("div"),L=e.element("span"),C=e.text(S),w=e.space(),x.c(),m=e.space(),u=e.element("span"),d=e.svg_element("svg"),k=e.svg_element("path"),j=e.space(),v=e.element("div"),A=e.element("ul");for(let o=0;o<r.length;o+=1)r[o].c();J=e.space(),I=e.element("button"),E=e.text(T),e.attr(s,"id","noun_filter_736223"),e.attr(s,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),e.attr(s,"transform","translate(-5 -6.2)"),e.attr(s,"fill","#fff"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","16"),e.attr(n,"height","16"),e.attr(n,"viewBox","0 0 16 16"),e.attr(y,"class","FilterName"),e.attr(F,"class","FilterValueContainer"),e.attr(b,"class","FilterTextContainer"),e.attr(a,"class","FilterMainArea"),e.attr(k,"id","arrow"),e.attr(k,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),e.attr(k,"transform","translate(-274.511 -441.088)"),e.attr(k,"fill","#d1d1d1"),e.attr(d,"xmlns","http://www.w3.org/2000/svg"),e.attr(d,"width","14"),e.attr(d,"height","6.835"),e.attr(d,"viewBox","0 0 14 6.835"),e.attr(u,"class",P="TriangleInactive "+(i[4]?"TriangleActive":"")),e.attr(l,"class",D="FilterSelector "+(i[4]?"FilterSelectorOpen":"")),e.attr(A,"class","FilterDropdown"),e.attr(I,"class","ClearFilters"),I.disabled=N=i[7]&&i[6].length!=i[5].length,e.attr(v,"class",z="FilterDropdownContainer "+(i[4]?"FilterOpen":"")),e.attr(t,"class",M="FilterContainer "+(i[0]=="true"&&i[1]=="true"?"FilerContainerSplit":""))},m(o,f){e.insert(o,t,f),e.append(t,l),e.append(l,a),e.append(a,n),e.append(n,s),e.append(a,g),e.append(a,b),e.append(b,y),e.append(y,p),e.append(b,_),e.append(b,F),e.append(F,L),e.append(L,C),e.append(F,w),x.m(F,null),e.append(l,m),e.append(l,u),e.append(u,d),e.append(d,k),e.append(t,j),e.append(t,v),e.append(v,A);for(let c=0;c<r.length;c+=1)r[c]&&r[c].m(A,null);e.append(v,J),e.append(v,I),e.append(I,E),B||(q=[e.listen(l,"click",i[24]),e.listen(I,"click",i[27])],B=!0)},p(o,f){if(f[0]&2048&&h!==(h=o[11]("filterby")+"")&&e.set_data(p,h),f[0]&2048&&S!==(S=o[11]("providers")+"")&&e.set_data(C,S),V===(V=H(o))&&x?x.p(o,f):(x.d(1),x=V(o),x&&(x.c(),x.m(F,null))),f[0]&16&&P!==(P="TriangleInactive "+(o[4]?"TriangleActive":""))&&e.attr(u,"class",P),f[0]&16&&D!==(D="FilterSelector "+(o[4]?"FilterSelectorOpen":""))&&e.attr(l,"class",D),f[0]&8228){O=e.ensure_array_like(o[5]);let c;for(c=0;c<O.length;c+=1){const W=K(o,O,c);r[c]?r[c].p(W,f):(r[c]=Q(W),r[c].c(),r[c].m(A,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=O.length}f[0]&2048&&T!==(T=o[11]("clear")+"")&&e.set_data(E,T),f[0]&224&&N!==(N=o[7]&&o[6].length!=o[5].length)&&(I.disabled=N),f[0]&16&&z!==(z="FilterDropdownContainer "+(o[4]?"FilterOpen":""))&&e.attr(v,"class",z),f[0]&3&&M!==(M="FilterContainer "+(o[0]=="true"&&o[1]=="true"?"FilerContainerSplit":""))&&e.attr(t,"class",M)},d(o){o&&e.detach(t),x.d(),e.destroy_each(r,o),B=!1,e.run_all(q)}}}function le(i){let t,l=i[11]("500")+"",a;return{c(){t=e.element("p"),a=e.text(l),e.attr(t,"class","SearchLoading")},m(n,s){e.insert(n,t,s),e.append(t,a)},p(n,s){s[0]&2048&&l!==(l=n[11]("500")+"")&&e.set_data(a,l)},d(n){n&&e.detach(t)}}}function re(i){let t,l;return{c(){t=e.element("span"),l=e.text(i[8]),e.attr(t,"class","FilterCounter")},m(a,n){e.insert(a,t,n),e.append(t,l)},p(a,n){n[0]&256&&e.set_data(l,a[8])},d(a){a&&e.detach(t)}}}function ie(i){let t,l=i[11]("all")+"",a;return{c(){t=e.element("span"),a=e.text(l),e.attr(t,"class","FilterCounter")},m(n,s){e.insert(n,t,s),e.append(t,a)},p(n,s){s[0]&2048&&l!==(l=n[11]("all")+"")&&e.set_data(a,l)},d(n){n&&e.detach(t)}}}function ae(i){let t,l;return{c(){t=e.element("img"),e.src_url_equal(t.src,l=i[37].logo)||e.attr(t,"src",l),e.attr(t,"alt","vendor logo")},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&32&&!e.src_url_equal(t.src,l=a[37].logo)&&e.attr(t,"src",l)},d(a){a&&e.detach(t)}}}function ne(i){let t,l,a=i[37].name+"",n,s,g,b,y=i[37].games.total+"",h,p;return{c(){t=e.element("div"),l=e.element("span"),n=e.text(a),s=e.space(),g=e.element("span"),b=e.text("("),h=e.text(y),p=e.text(")"),e.attr(l,"class","VendorName"),e.attr(t,"class","FilterItemLabel")},m(_,F){e.insert(_,t,F),e.append(t,l),e.append(l,n),e.append(t,s),e.append(t,g),e.append(g,b),e.append(g,h),e.append(g,p)},p(_,F){F[0]&32&&a!==(a=_[37].name+"")&&e.set_data(n,a),F[0]&32&&y!==(y=_[37].games.total+"")&&e.set_data(h,y)},d(_){_&&e.detach(t)}}}function Q(i){let t,l,a,n,s,g,b,y,h,p,_,F;function L(){i[25].call(a,i[38],i[39])}function S(){return i[26](i[37])}function C(u,d){if(u[2]==="false")return ne;if(u[2]==="true")return ae}let w=C(i),m=w&&w(i);return{c(){t=e.element("li"),l=e.element("label"),a=e.element("input"),s=e.space(),g=e.element("span"),b=e.space(),m&&m.c(),y=e.space(),e.attr(a,"type","checkbox"),e.attr(a,"name","checkbox"),a.__value=n=i[37].name,e.set_input_value(a,a.__value),e.attr(g,"class","FiltersCheckmark"),e.attr(l,"class","FilterLabel"),e.attr(t,"class",h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":"")),t.value=p=i[37].name},m(u,d){e.insert(u,t,d),e.append(t,l),e.append(l,a),a.checked=i[37].isFilterSelected,e.append(l,s),e.append(l,g),e.append(l,b),m&&m.m(l,null),e.append(t,y),_||(F=[e.listen(a,"change",L),e.listen(a,"click",S)],_=!0)},p(u,d){i=u,d[0]&32&&n!==(n=i[37].name)&&(a.__value=n,e.set_input_value(a,a.__value)),d[0]&32&&(a.checked=i[37].isFilterSelected),w===(w=C(i))&&m?m.p(i,d):(m&&m.d(1),m=w&&w(i),m&&(m.c(),m.m(l,null))),d[0]&4&&h!==(h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":""))&&e.attr(t,"class",h),d[0]&32&&p!==(p=i[37].name)&&(t.value=p)},d(u){u&&e.detach(t),m&&m.d(),_=!1,e.run_all(F)}}}function oe(i){let t;function l(s,g){if(s[10])return le;if(!s[9])return te}let a=l(i),n=a&&a(i);return{c(){t=e.element("div"),n&&n.c()},m(s,g){e.insert(s,t,g),n&&n.m(t,null),i[28](t)},p(s,g){a===(a=l(s))&&n?n.p(s,g):(n&&n.d(1),n=a&&a(s),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),n&&n.d(),i[28](null)}}}function se(i,t,l){let a;e.component_subscribe(i,e.$format,r=>l(11,a=r));let{endpoint:n=""}=t,{datasource:s=""}=t,{lang:g=""}=t,{translationurl:b=""}=t,{clientstyling:y=""}=t,{clientstylingurl:h=""}=t,{categoryid:p=""}=t,{addfilterselector:_="false"}=t,{addsortingselector:F="false"}=t,{filterbylogo:L="false"}=t,{mbsource:S}=t,{usesinglevendorfilter:C="false"}=t,w=!1,m=window.navigator.userAgent,u=[],d=[],k={},P=!1,D=0,j=!0,v,A=!1;$({withLocale:"en",translations:{}});const J=()=>{fetch(b).then(o=>o.json()).then(o=>{Object.keys(o).forEach(f=>{Z(f,o[f])})}).catch(o=>{console.log(o)})};Object.keys(G).forEach(r=>{Z(r,G[r])}),k[p]&&(k={[p]:[]});const I=()=>{l(4,w=!w),window.postMessage({type:"FilterOpened"},window.location.href)},T=r=>(l(9,j=!0),new Promise((o,f)=>{fetch(r).then(c=>c.json()).then(c=>{c=c.items,o(c.items),l(6,d=[]);let W=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));const Y=C==="true"?"*":p;c.forEach(R=>{var U;W||(W={currentCategoryId:[]}),((U=W[Y])==null?void 0:U.indexOf(R.id))>=0?(R.isFilterSelected=!0,d.push(R)):R.isFilterSelected=!1}),l(5,u=c),N()}).catch(c=>{console.error(c),l(10,A=!0),f(c)}).finally(()=>{l(9,j=!1)})})),E=r=>{let o=localStorage.getItem("vendorFiltersByCategory");r.isFilterSelected=!r.isFilterSelected,!d.length||d.filter(c=>c.name===r.name).length==0?d.push(r):l(6,d=d.filter(c=>c.name!==r.name));const f=C==="true"?"*":p;o==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(k={[f]:d.map(c=>c.id)})):(o=JSON.parse(o),o[f]=d.map(c=>c.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(o))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),N()},N=()=>{l(7,P=d.length===u.length||d.length==0),l(8,D=d.length)},z=()=>{if(u.length&&C==="true")return;const r=new URL(`${n}/v1/casino/vendors`);l(4,w=!1),r.searchParams.append("fields","id,name,logo,subVendors,games"),r.searchParams.append("language",g),r.searchParams.append("datasource",s),r.searchParams.append("platform",e.getDevice(m)),C==="true"||((p.match(/\$/g)||[]).length>1?(r.searchParams.append("filter",`games(subGroups=${p})`),r.searchParams.append("subVendors",`games(subGroups=${p})`)):r.searchParams.append("filter",`games(groups=${p})`)),T(r)},M=()=>{l(6,d=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(k={[C==="true"?"*":p]:d.map(r=>r.id)})),u.forEach(r=>r.isFilterSelected=!1),l(5,u),window.postMessage({type:"ApplyFilters"},window.location.href),l(7,P=!0),l(4,w=!1)},B=r=>{r.data.type=="SortingOpened"&&l(4,w=!1)};e.onMount(()=>(window.addEventListener("message",B,!1),()=>{window.removeEventListener("message",B)}));const q=()=>I();function H(r,o){r[o].isFilterSelected=this.checked,l(5,u)}const V=r=>E(r),x=()=>M();function O(r){e.binding_callbacks[r?"unshift":"push"](()=>{v=r,l(3,v)})}return i.$$set=r=>{"endpoint"in r&&l(15,n=r.endpoint),"datasource"in r&&l(16,s=r.datasource),"lang"in r&&l(17,g=r.lang),"translationurl"in r&&l(18,b=r.translationurl),"clientstyling"in r&&l(19,y=r.clientstyling),"clientstylingurl"in r&&l(20,h=r.clientstylingurl),"categoryid"in r&&l(21,p=r.categoryid),"addfilterselector"in r&&l(0,_=r.addfilterselector),"addsortingselector"in r&&l(1,F=r.addsortingselector),"filterbylogo"in r&&l(2,L=r.filterbylogo),"mbsource"in r&&l(22,S=r.mbsource),"usesinglevendorfilter"in r&&l(23,C=r.usesinglevendorfilter)},i.$$.update=()=>{i.$$.dirty[0]&2195460&&n&&s&&p&&L&&z(),i.$$.dirty[0]&524296&&y&&v&&e.setClientStyling(v,y),i.$$.dirty[0]&1048584&&h&&v&&e.setClientStylingURL(v,h),i.$$.dirty[0]&4194312&&v&&e.setStreamStyling(v,`${S}.Style`),i.$$.dirty[0]&262144&&b&&J()},[_,F,L,v,w,u,d,P,D,j,A,a,I,E,M,n,s,g,b,y,h,p,S,C,q,H,V,x,O]}class X extends e.SvelteComponent{constructor(t){super(),e.init(this,t,se,oe,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2,mbsource:22,usesinglevendorfilter:23},ee,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get translationurl(){return this.$$.ctx[18]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get categoryid(){return this.$$.ctx[21]}set categoryid(t){this.$$set({categoryid:t}),e.flush()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get usesinglevendorfilter(){return this.$$.ctx[23]}set usesinglevendorfilter(t){this.$$set({usesinglevendorfilter:t}),e.flush()}}e.create_custom_element(X,{endpoint:{},datasource:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},mbsource:{},usesinglevendorfilter:{}},[],[],!0);exports.default=X;