@everymatrix/casino-lobby 1.59.0 → 1.59.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 (99) hide show
  1. package/components/{CasinoCalendar-BWZKTjt3.js → CasinoCalendar-BYTytQgJ.js} +836 -833
  2. package/components/{CasinoCalendar-CEPKCmvL.js → CasinoCalendar-CI-C6zUY.js} +850 -847
  3. package/components/{CasinoCalendar-YzaZrGBf.cjs → CasinoCalendar-DqS7aKva.cjs} +6 -6
  4. package/components/{CasinoCalendarDailyDetails-C4rdfT96.js → CasinoCalendarDailyDetails-DQB9Y3_Q.js} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-CneP-8H4.cjs → CasinoCalendarDailyDetails-DUQWFLJJ.cjs} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-BZxw5rrd.js → CasinoCalendarDailyDetails-Xi-Uo8v-.js} +1 -1
  7. package/components/{CasinoCalendarDailyItem-yxm1jout.cjs → CasinoCalendarDailyItem-CVt2FFo1.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-B3mEEjHA.js → CasinoCalendarDailyItem-CjRZKnnD.js} +1 -1
  9. package/components/{CasinoCalendarDailyItem-DAH0pKrw.js → CasinoCalendarDailyItem-DC91__VM.js} +1 -1
  10. package/components/{CasinoCategoriesSlider-t9Ea10Xr.js → CasinoCategoriesSlider-BeqGvJrA.js} +2 -2
  11. package/components/{CasinoCategoriesSlider-Dd33-jys.js → CasinoCategoriesSlider-Cvb-krxJ.js} +2 -2
  12. package/components/{CasinoCategoriesSlider-DozoHOzF.cjs → CasinoCategoriesSlider-DZpvR9sw.cjs} +1 -1
  13. package/components/{CasinoCollectionsProviders-bmfbt1iI.js → CasinoCollectionsProviders-BMyAx20Y.js} +111 -108
  14. package/components/{CasinoCollectionsProviders-DAgGlzwM.js → CasinoCollectionsProviders-B_4F6cIK.js} +106 -103
  15. package/components/{CasinoCollectionsProviders-CBiEhbus.cjs → CasinoCollectionsProviders-FGrPURo4.cjs} +1 -1
  16. package/components/{CasinoFavoritesSection-B9pa_5wC.js → CasinoFavoritesSection-BZmf5I3g.js} +2 -2
  17. package/components/{CasinoFavoritesSection-n_i25VDL.cjs → CasinoFavoritesSection-CBb3Eo8J.cjs} +1 -1
  18. package/components/{CasinoFavoritesSection-Dm0Ylorq.js → CasinoFavoritesSection-Dmko0_Ik.js} +2 -2
  19. package/components/{CasinoFilter-BaCM2CFg.js → CasinoFilter-BHLJqOwW.js} +3 -3
  20. package/components/{CasinoFilter-B7H_n_MD.cjs → CasinoFilter-Bg-VilMd.cjs} +1 -1
  21. package/components/{CasinoFilter-BTP1X8zp.js → CasinoFilter-Dt8GhenI.js} +3 -3
  22. package/components/{CasinoGamePage-jh3dkrf4.js → CasinoGamePage-5moXxd0d.js} +1 -1
  23. package/components/{CasinoGamePage-CIvFWln2.cjs → CasinoGamePage-BmgERtPr.cjs} +1 -1
  24. package/components/{CasinoGamePage-DSk7OmI2.js → CasinoGamePage-D_TzJsC-.js} +1 -1
  25. package/components/CasinoGameThumbnail-DSjNVacg.js +1850 -0
  26. package/components/CasinoGameThumbnail-DqBpfUwf.js +1866 -0
  27. package/components/CasinoGameThumbnail-OrvrYv4V.cjs +38 -0
  28. package/components/{CasinoGamesCategorySection-dyyrntic.js → CasinoGamesCategorySection-Ce43OSOZ.js} +296 -291
  29. package/components/{CasinoGamesCategorySection-BBfNK7Mo.cjs → CasinoGamesCategorySection-DEh7yuGp.cjs} +1 -1
  30. package/components/{CasinoGamesCategorySection-BU3JMFcx.js → CasinoGamesCategorySection-d8QOFywW.js} +402 -397
  31. package/components/CasinoJackpotBanner-B_CnR3Kj.cjs +1 -0
  32. package/components/{CasinoJackpotBanner-BvW5shKI.js → CasinoJackpotBanner-Dxq2Y_-S.js} +186 -181
  33. package/components/{CasinoJackpotBanner-7unbFH4I.js → CasinoJackpotBanner-UQaC63Zv.js} +157 -152
  34. package/components/{CasinoLastPlayedSection-BtSsd68j.js → CasinoLastPlayedSection-BVANPPTi.js} +2 -2
  35. package/components/{CasinoLastPlayedSection--cJ8dS0F.js → CasinoLastPlayedSection-Bmr8n1pA.js} +2 -2
  36. package/components/{CasinoLastPlayedSection-YmqYIIYS.cjs → CasinoLastPlayedSection-CyL83M3y.cjs} +1 -1
  37. package/components/{CasinoLobby--nSc5THC.js → CasinoLobby-CWzN0imw.js} +5 -5
  38. package/components/{CasinoLobby-DngFRvmY.js → CasinoLobby-DUI1Ki3q.js} +5 -5
  39. package/components/{CasinoLobby-BUcjKu4u.cjs → CasinoLobby-os94WdnE.cjs} +1 -1
  40. package/components/{CasinoModal-88yfZulM.js → CasinoModal-BaV1FE12.js} +1 -1
  41. package/components/{CasinoModal-D9_hs2c9.js → CasinoModal-Bn6r73ff.js} +1 -1
  42. package/components/{CasinoModal-Ce5Pthg0.cjs → CasinoModal-DWbCqr0p.cjs} +1 -1
  43. package/components/{CasinoMostPlayedSection-BldCqqK1.js → CasinoMostPlayedSection-B4SHGVp4.js} +2 -2
  44. package/components/{CasinoMostPlayedSection-CvX-e31F.js → CasinoMostPlayedSection-CD00UC6r.js} +2 -2
  45. package/components/{CasinoMostPlayedSection-DI5TANog.cjs → CasinoMostPlayedSection-y-GWnOes.cjs} +1 -1
  46. package/components/{CasinoMyGames-CJm9ApZ8.js → CasinoMyGames-BBsq56wQ.js} +4 -4
  47. package/components/{CasinoMyGames-DQEE59aC.cjs → CasinoMyGames-DKu8rYmc.cjs} +1 -1
  48. package/components/{CasinoMyGames-CNSxKFTG.js → CasinoMyGames-DRCL87dq.js} +4 -4
  49. package/components/CasinoPage-BJ2hLXJb.js +3755 -0
  50. package/components/CasinoPage-CXAKd3oS.cjs +1 -0
  51. package/components/{CasinoPage-Renb8OYu.js → CasinoPage-DXP80Vgm.js} +1494 -1448
  52. package/components/{CasinoRandomGame-CjLDPmJh.cjs → CasinoRandomGame-BO7BqLXA.cjs} +1 -1
  53. package/components/{CasinoRandomGame-CaLII6na.js → CasinoRandomGame-CsA5xgwc.js} +1 -1
  54. package/components/{CasinoRandomGame-8kMXdgrA.js → CasinoRandomGame-DLzqJj4x.js} +1 -1
  55. package/components/{CasinoSearch-Cf4ivtxM.cjs → CasinoSearch-CxFbGTdy.cjs} +1 -1
  56. package/components/{CasinoSearch-eN8ZAKdn.js → CasinoSearch-CzUqsTgU.js} +3 -3
  57. package/components/{CasinoSearch-ISBqoS_l.js → CasinoSearch-atJ6AGYa.js} +3 -3
  58. package/components/{CasinoSlider-BqOuFEE1.cjs → CasinoSlider-CgiDJzPs.cjs} +1 -1
  59. package/components/{CasinoSlider-DLY4ZBJR.js → CasinoSlider-DjqwMakd.js} +1 -1
  60. package/components/{CasinoSlider-DTLHID6G.js → CasinoSlider-zHVThApL.js} +1 -1
  61. package/components/{CasinoSort-BpUmCYRy.cjs → CasinoSort-23PYwtO1.cjs} +1 -1
  62. package/components/{CasinoSort-BNFUwAYT.js → CasinoSort-B3A_Ar_A.js} +1 -1
  63. package/components/{CasinoSort-DKL_qMEQ.js → CasinoSort-DtUIrmuZ.js} +1 -1
  64. package/components/{CasinoWinners-BoSyqMDy.js → CasinoWinners-CF_PptIS.js} +117 -114
  65. package/components/{CasinoWinners-Czg0Gq3N.js → CasinoWinners-Gb2w2dXe.js} +118 -115
  66. package/components/{CasinoWinners-DRdsN9K_.cjs → CasinoWinners-KEY7dD3z.cjs} +1 -1
  67. package/components/{GeneralAnimationLoading-DL8bFxE7.js → GeneralAnimationLoading-8TvNjXay.js} +1 -1
  68. package/components/{GeneralAnimationLoading-CVr2zyUi.cjs → GeneralAnimationLoading-B-6s0l9d.cjs} +1 -1
  69. package/components/{GeneralAnimationLoading-swHQRr7H.js → GeneralAnimationLoading-Bbxdne1m.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 +3 -2
  74. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
  75. package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
  76. package/stencil/{casino-play-random-game-NcJEjFWA.js → casino-play-random-game-CLSQBVzD.js} +19 -17
  77. package/stencil/{casino-play-random-game-DjdZ0XM0.cjs → casino-play-random-game-CdZKN03s.cjs} +2 -2
  78. package/stencil/{casino-play-random-game-BOnTgUqC.js → casino-play-random-game-Dm8A9dTR.js} +20 -18
  79. package/stencil/index-ab3202d6-C1hgKWrC.cjs +1 -0
  80. package/stencil/{index-510a6ba4-1RrL4Z6e.js → index-ab3202d6-OPh7hJp9.js} +120 -109
  81. package/stencil/{index-510a6ba4-CNr-xCZE.js → index-ab3202d6-hGs51skN.js} +121 -110
  82. package/stencil/index-ae04a8b1-BhaHMrLE.js +516 -0
  83. package/stencil/index-ae04a8b1-Dn3cponN.js +532 -0
  84. package/stencil/index-ae04a8b1-jEvGbYrB.cjs +1 -0
  85. package/stencil/ui-skeleton-Bz6cw7xJ.js +11 -0
  86. package/stencil/ui-skeleton-D9k-xWaS.cjs +1 -0
  87. package/stencil/ui-skeleton-DDYD_XHU.js +29 -0
  88. package/stencil/ui-skeleton-a642cced-Bg6oYmhk.js +122 -0
  89. package/stencil/ui-skeleton-a642cced-CVw8zpGJ.cjs +1 -0
  90. package/stencil/ui-skeleton-a642cced-MvzXi5-c.js +122 -0
  91. package/components/CasinoGameThumbnail-BXCu7VY7.js +0 -1834
  92. package/components/CasinoGameThumbnail-Mnpd_s_M.js +0 -1850
  93. package/components/CasinoGameThumbnail-uCJn0tBq.cjs +0 -38
  94. package/components/CasinoJackpotBanner-RjyciaDJ.cjs +0 -1
  95. package/components/CasinoPage-DeZ_xrWS.js +0 -3709
  96. package/components/CasinoPage-_d_6nEdh.cjs +0 -1
  97. package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
  98. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
  99. package/stencil/index-510a6ba4-eEczisTR.cjs +0 -1
@@ -1,9 +1,9 @@
1
- import { a as ye, $ as _e, S as we, i as Se, s as ke, f as M, b as Ge, n as B, d as x, h as T, j as y, k as Pe, o as Le, l as Me, C as $, r as m, v as H, w as se, m as q, p as v, q as U, B as F, R as je, A as z, G as R, D as A, T as xe, I as Te, J as Fe, K as Oe, L as Be, M as He } from "./CasinoCalendar-CEPKCmvL.js";
1
+ import { a as _e, $ as we, S as Se, i as ke, s as Ge, f as j, b as Pe, n as B, d as x, h as T, j as y, k as Le, o as Me, l as je, C as $, r as m, v as H, w as se, m as I, p as v, q, B as F, R as xe, A as z, G as E, D as A, T as Te, I as Fe, J as Oe, K as Be, L as He, M as ze } from "./CasinoCalendar-CI-C6zUY.js";
2
2
  function ee(t, e) {
3
- ye(t, e);
3
+ _e(t, e);
4
4
  }
5
- function ze(t) {
6
- _e.set(t);
5
+ function Ae(t) {
6
+ we.set(t);
7
7
  }
8
8
  const te = {
9
9
  en: {
@@ -102,18 +102,18 @@ const te = {
102
102
  loading: "Loading, please wait ..."
103
103
  }
104
104
  };
105
- function Ae(t) {
106
- Ge(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)}}');
105
+ function Ne(t) {
106
+ Pe(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
107
  }
108
108
  function ie(t, e, i) {
109
109
  const n = t.slice();
110
- return n[40] = e[i], n;
110
+ return n[41] = e[i], n;
111
111
  }
112
112
  function oe(t, e, i) {
113
113
  const n = t.slice();
114
- return n[43] = e[i], n;
114
+ return n[44] = e[i], n;
115
115
  }
116
- function Ne(t) {
116
+ function Re(t) {
117
117
  let e, i, n, l = (
118
118
  /*type*/
119
119
  (t[0] === "vendor" ? (
@@ -135,7 +135,7 @@ function Ne(t) {
135
135
  a[c] = ae(ie(t, f, c));
136
136
  return {
137
137
  c() {
138
- e = y("div"), i = y("div"), n = y("p"), r = U(l), d = F(), s && s.c(), _ = F(), b = y("div");
138
+ e = y("div"), i = y("div"), n = y("p"), r = q(l), d = F(), s && s.c(), _ = F(), b = y("div");
139
139
  for (let c = 0; c < a.length; c += 1)
140
140
  a[c].c();
141
141
  m(n, "class", "Title"), m(i, "class", "CategoriesHeader"), m(b, "class", "CategoriesSlider"), m(e, "class", k = "CasinoCollectionsProviders " + /*mobile*/
@@ -157,7 +157,7 @@ function Ne(t) {
157
157
  ) : (
158
158
  /*$_*/
159
159
  c[10]("collections")
160
- )) + "") && q(r, l), /*numberOfSlides*/
160
+ )) + "") && I(r, l), /*numberOfSlides*/
161
161
  c[7] > /*numberOfVisibleSlides*/
162
162
  c[8] ? s ? s.p(c, g) : (s = le(c), s.c(), s.m(i, null)) : s && (s.d(1), s = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
163
163
  24590) {
@@ -184,7 +184,7 @@ function Ne(t) {
184
184
  }
185
185
  };
186
186
  }
187
- function Ie(t) {
187
+ function Ee(t) {
188
188
  let e;
189
189
  return {
190
190
  c() {
@@ -223,18 +223,18 @@ function le(t) {
223
223
  },
224
224
  p: B,
225
225
  d(_) {
226
- _ && x(e), r = !1, je(d);
226
+ _ && x(e), r = !1, xe(d);
227
227
  }
228
228
  };
229
229
  }
230
- function Re(t) {
230
+ function Ie(t) {
231
231
  let e, i = (
232
232
  /*category*/
233
- t[40].name + ""
233
+ t[41].name + ""
234
234
  ), n;
235
235
  return {
236
236
  c() {
237
- e = y("p"), n = U(i), m(e, "class", "CategorySlideTitle");
237
+ e = y("p"), n = q(i), m(e, "class", "CategorySlideTitle");
238
238
  },
239
239
  m(l, r) {
240
240
  T(l, e, r), v(e, n);
@@ -242,7 +242,7 @@ function Re(t) {
242
242
  p(l, r) {
243
243
  r[0] & /*gameCategories*/
244
244
  8 && i !== (i = /*category*/
245
- l[40].name + "") && q(n, i);
245
+ l[41].name + "") && I(n, i);
246
246
  },
247
247
  d(l) {
248
248
  l && x(e);
@@ -254,8 +254,8 @@ function qe(t) {
254
254
  return {
255
255
  c() {
256
256
  e = y("img"), m(e, "class", "CategorySlideLogo"), A(e.src, i = /*category*/
257
- t[40].icon) || m(e, "src", i), m(e, "alt", n = /*category*/
258
- t[40].name + " icon");
257
+ t[41].icon) || m(e, "src", i), m(e, "alt", n = /*category*/
258
+ t[41].name + " icon");
259
259
  },
260
260
  m(l, r) {
261
261
  T(l, e, r);
@@ -263,9 +263,9 @@ function qe(t) {
263
263
  p(l, r) {
264
264
  r[0] & /*gameCategories*/
265
265
  8 && !A(e.src, i = /*category*/
266
- l[40].icon) && m(e, "src", i), r[0] & /*gameCategories*/
266
+ l[41].icon) && m(e, "src", i), r[0] & /*gameCategories*/
267
267
  8 && n !== (n = /*category*/
268
- l[40].name + " icon") && m(e, "alt", n);
268
+ l[41].name + " icon") && m(e, "alt", n);
269
269
  },
270
270
  d(l) {
271
271
  l && x(e);
@@ -275,12 +275,12 @@ function qe(t) {
275
275
  function ne(t) {
276
276
  let e, i = (
277
277
  /*game*/
278
- t[43].name + ""
278
+ t[44].name + ""
279
279
  ), n, l;
280
280
  return {
281
281
  c() {
282
- e = y("p"), n = U(i), m(e, "title", l = /*game*/
283
- t[43].name);
282
+ e = y("p"), n = q(i), m(e, "title", l = /*game*/
283
+ t[44].name);
284
284
  },
285
285
  m(r, d) {
286
286
  T(r, e, d), v(e, n);
@@ -288,9 +288,9 @@ function ne(t) {
288
288
  p(r, d) {
289
289
  d[0] & /*gameCategories*/
290
290
  8 && i !== (i = /*game*/
291
- r[43].name + "") && q(n, i), d[0] & /*gameCategories*/
291
+ r[44].name + "") && I(n, i), d[0] & /*gameCategories*/
292
292
  8 && l !== (l = /*game*/
293
- r[43].name) && m(e, "title", l);
293
+ r[44].name) && m(e, "title", l);
294
294
  },
295
295
  d(r) {
296
296
  r && x(e);
@@ -304,7 +304,7 @@ function re(t) {
304
304
  /*click_handler*/
305
305
  t[23](
306
306
  /*game*/
307
- t[43]
307
+ t[44]
308
308
  )
309
309
  );
310
310
  }
@@ -315,18 +315,18 @@ function re(t) {
315
315
  return {
316
316
  c() {
317
317
  e = y("div"), i = y("img"), r = F(), s && s.c(), d = F(), m(i, "class", "CategorySlideGameImage"), A(i.src, n = /*game*/
318
- t[43].defaultThumbnail) || m(i, "src", n), m(i, "alt", l = /*game*/
319
- t[43].name), m(e, "class", "CategorySlideGames");
318
+ t[44].defaultThumbnail) || m(i, "src", n), m(i, "alt", l = /*game*/
319
+ t[44].name), m(e, "class", "CategorySlideGames");
320
320
  },
321
321
  m(f, a) {
322
- T(f, e, a), v(e, i), v(e, r), s && s.m(e, null), v(e, d), _ || (b = z(i, "click", xe(k)), _ = !0);
322
+ T(f, e, a), v(e, i), v(e, r), s && s.m(e, null), v(e, d), _ || (b = z(i, "click", Te(k)), _ = !0);
323
323
  },
324
324
  p(f, a) {
325
325
  t = f, a[0] & /*gameCategories*/
326
326
  8 && !A(i.src, n = /*game*/
327
- t[43].defaultThumbnail) && m(i, "src", n), a[0] & /*gameCategories*/
327
+ t[44].defaultThumbnail) && m(i, "src", n), a[0] & /*gameCategories*/
328
328
  8 && l !== (l = /*game*/
329
- t[43].name) && m(i, "alt", l), /*collectionprovidersgamenames*/
329
+ t[44].name) && m(i, "alt", l), /*collectionprovidersgamenames*/
330
330
  t[2] == "true" ? s ? s.p(t, a) : (s = ne(t), s.c(), s.m(e, d)) : s && (s.d(1), s = null);
331
331
  },
332
332
  d(f) {
@@ -346,11 +346,11 @@ function ae(t) {
346
346
  /*titletype*/
347
347
  u[1] === "title"
348
348
  )
349
- return Re;
349
+ return Ie;
350
350
  }
351
351
  let f = s(t), a = f && f(t), c = H(
352
352
  /*category*/
353
- t[40].games
353
+ t[41].games
354
354
  ), g = [];
355
355
  for (let u = 0; u < c.length; u += 1)
356
356
  g[u] = re(oe(t, c, u));
@@ -359,7 +359,7 @@ function ae(t) {
359
359
  /*click_handler_1*/
360
360
  t[24](
361
361
  /*category*/
362
- t[40]
362
+ t[41]
363
363
  )
364
364
  );
365
365
  }
@@ -370,8 +370,8 @@ function ae(t) {
370
370
  for (let C = 0; C < g.length; C += 1)
371
371
  g[C].c();
372
372
  _ = F(), m(n, "class", "CategorySlideTopContainer"), m(r, "class", "CategorySlideGameContainer"), m(i, "class", d = "CategorySlide " + /*category*/
373
- (((u = t[40]) == null ? void 0 : u.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")), R(i, "background-image", "url(" + /*category*/
374
- ((p = t[40]) == null ? void 0 : p.background) + ")"), R(i, "background-size", "cover"), m(e, "class", "CategoriesSliderWrapper Animation");
373
+ (((u = t[41]) == null ? void 0 : u.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")), E(i, "background-image", "url(" + /*category*/
374
+ ((p = t[41]) == null ? void 0 : p.background) + ")"), E(i, "background-size", "cover"), m(e, "class", "CategoriesSliderWrapper Animation");
375
375
  },
376
376
  m(u, p) {
377
377
  T(u, e, p), v(e, i), v(i, n), a && a.m(n, null), v(i, l), v(i, r);
@@ -385,7 +385,7 @@ function ae(t) {
385
385
  8204) {
386
386
  c = H(
387
387
  /*category*/
388
- t[40].games
388
+ t[41].games
389
389
  );
390
390
  let w;
391
391
  for (w = 0; w < c.length; w += 1) {
@@ -398,9 +398,9 @@ function ae(t) {
398
398
  }
399
399
  p[0] & /*gameCategories*/
400
400
  8 && d !== (d = "CategorySlide " + /*category*/
401
- (((C = t[40]) == null ? void 0 : C.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")) && m(i, "class", d), p[0] & /*gameCategories*/
402
- 8 && R(i, "background-image", "url(" + /*category*/
403
- ((G = t[40]) == null ? void 0 : G.background) + ")");
401
+ (((C = t[41]) == null ? void 0 : C.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")) && m(i, "class", d), p[0] & /*gameCategories*/
402
+ 8 && E(i, "background-image", "url(" + /*category*/
403
+ ((G = t[41]) == null ? void 0 : G.background) + ")");
404
404
  },
405
405
  d(u) {
406
406
  u && x(e), a && a.d(), se(g, u), b = !1, k();
@@ -412,7 +412,7 @@ function Ue(t) {
412
412
  function i(r, d) {
413
413
  return (
414
414
  /*isLoading*/
415
- r[6] ? Ie : Ne
415
+ r[6] ? Ee : Re
416
416
  );
417
417
  }
418
418
  let n = i(t), l = n(t);
@@ -435,12 +435,12 @@ function Ue(t) {
435
435
  }
436
436
  function Ve(t, e, i) {
437
437
  let n;
438
- Pe(t, He, (o) => i(10, n = o));
439
- let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: _ = "" } = e, { titletype: b = "" } = e, { clientstyling: k = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: f = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: c } = e, g = [], h = !0, u, p = 0, C = 0, G = 0, w, O, V = 0, N = 50, I = !1, j, ce = window.navigator.userAgent, W;
438
+ Le(t, ze, (o) => i(10, n = o));
439
+ let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: _ = "" } = e, { titletype: b = "" } = e, { clientstyling: k = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: f = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: c } = e, g = [], h = !0, u, p = 0, C = 0, G = 0, w, O, U = 0, N = 50, R = !1, P, ce = window.navigator.userAgent, V;
440
440
  const de = () => {
441
441
  fetch(f).then((S) => S.json()).then((S) => {
442
- Object.keys(S).forEach((P) => {
443
- ee(P, S[P]);
442
+ Object.keys(S).forEach((L) => {
443
+ ee(L, S[L]);
444
444
  });
445
445
  }).catch((S) => {
446
446
  console.log(S);
@@ -449,48 +449,51 @@ function Ve(t, e, i) {
449
449
  Object.keys(te).forEach((o) => {
450
450
  ee(o, te[o]);
451
451
  });
452
- const D = () => {
452
+ const W = () => {
453
453
  const o = new URL(`${l}/v2/casino/groups/${r}`);
454
- o.searchParams.append("language", d), o.searchParams.append("expand", "games"), o.searchParams.append("filter", `$and(flags=${_})`), o.searchParams.append("pagination", `offset=${V},limit=${N}`), fetch(o.href).then((S) => S.json()).then((S) => {
455
- i(6, h = !1), S.total > N && (V += 50, N += 50, i(22, I = !0));
456
- let P = S.items.map((L) => {
454
+ o.searchParams.append("language", d), o.searchParams.append("expand", "games"), o.searchParams.append("filter", `$and(flags=${_})`), o.searchParams.append("pagination", `offset=${U},limit=${N}`), fetch(o.href).then((S) => S.json()).then((S) => {
455
+ i(6, h = !1), S.total > N && (U += 50, N += 50, i(22, R = !0));
456
+ let L = S.items.map((M) => {
457
457
  var X, Y, Q;
458
458
  return {
459
- id: L.id,
460
- name: L.name,
461
- icon: L.icon ? L.icon : (Q = (Y = (X = L.vendors) == null ? void 0 : X.items[0]) == null ? void 0 : Y.subVendors[0]) == null ? void 0 : Q.logo,
462
- games: L.games.items.slice(0, 4).map((Ce) => Ce),
463
- background: L.background,
464
- flag: L.flags
459
+ id: M.id,
460
+ name: M.name,
461
+ icon: M.icon ? M.icon : (Q = (Y = (X = M.vendors) == null ? void 0 : X.items[0]) == null ? void 0 : Y.subVendors[0]) == null ? void 0 : Q.logo,
462
+ games: M.games.items.slice(0, 4).map((ye) => ye),
463
+ background: M.background,
464
+ flag: M.flags
465
465
  };
466
466
  });
467
- i(3, g = [...g, ...P]), i(7, C = g.length);
467
+ i(3, g = [...g, ...L]), i(7, C = g.length), ge();
468
468
  });
469
- }, E = (o) => {
470
- O = [...u.children], O.forEach((S, P) => {
471
- S.style.transform = `translateX(${100 * (o ? P - o : P)}%)`;
472
- }), w = O[0].getBoundingClientRect().width, ge();
473
469
  }, ge = () => {
470
+ const o = P.getRootNode().host;
471
+ o.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: o } }));
472
+ }, D = (o) => {
473
+ O = [...u.children], O.forEach((S, L) => {
474
+ S.style.transform = `translateX(${100 * (o ? L - o : L)}%)`;
475
+ }), w = O[0].getBoundingClientRect().width, ue();
476
+ }, ue = () => {
474
477
  i(8, G = Math.floor(u.clientWidth / w));
475
478
  }, K = () => {
476
- E(p);
477
- }, ue = () => {
478
- p === 0 ? p = C - G : p - G < -1 ? p = 0 : p--, K();
479
+ D(p);
479
480
  }, me = () => {
481
+ p === 0 ? p = C - G : p - G < -1 ? p = 0 : p--, K();
482
+ }, fe = () => {
480
483
  p === C - G ? p = 0 : C - G < p + 1 ? p = C - G : p++, K();
481
- }, J = (o, S, P, L) => {
484
+ }, J = (o, S, L, M) => {
482
485
  window.postMessage(
483
486
  {
484
487
  type: "OpenCollectionsProvidersGame",
485
488
  gameId: o,
486
489
  launchUrl: S,
487
- gameName: P,
488
- subVendor: L
490
+ gameName: L,
491
+ subVendor: M
489
492
  },
490
493
  window.location.href
491
494
  ), typeof gtag == "function" && gtag("event", "OpenGame", {
492
495
  context: "CollectionsProviders",
493
- gameName: `${P}`
496
+ gameName: `${L}`
494
497
  });
495
498
  }, Z = (o) => {
496
499
  window.postMessage(
@@ -500,48 +503,48 @@ function Ve(t, e, i) {
500
503
  },
501
504
  window.location.href
502
505
  );
503
- }, fe = () => {
504
- ze(d);
506
+ }, pe = () => {
507
+ Ae(d);
505
508
  };
506
- Le(() => (i(9, W = Me(ce)), () => {
509
+ Me(() => (i(9, V = je(ce)), () => {
507
510
  }));
508
- const pe = (o) => J(o.gameId, o.launchUrl, o.name, o.subVendor), he = (o) => Z(o.id);
509
- function ve(o) {
511
+ const he = (o) => J(o.gameId, o.launchUrl, o.name, o.subVendor), ve = (o) => Z(o.id);
512
+ function be(o) {
510
513
  $[o ? "unshift" : "push"](() => {
511
514
  u = o, i(4, u);
512
515
  });
513
516
  }
514
- function be(o) {
517
+ function Ce(o) {
515
518
  $[o ? "unshift" : "push"](() => {
516
- j = o, i(5, j);
519
+ P = o, i(5, P);
517
520
  });
518
521
  }
519
522
  return t.$$set = (o) => {
520
523
  "endpoint" in o && i(15, l = o.endpoint), "datasource" in o && i(16, r = o.datasource), "lang" in o && i(17, d = o.lang), "type" in o && i(0, _ = o.type), "titletype" in o && i(1, b = o.titletype), "clientstyling" in o && i(18, k = o.clientstyling), "clientstylingurl" in o && i(19, s = o.clientstylingurl), "translationurl" in o && i(20, f = o.translationurl), "collectionprovidersgamenames" in o && i(2, a = o.collectionprovidersgamenames), "mbsource" in o && i(21, c = o.mbsource);
521
524
  }, t.$$.update = () => {
522
525
  t.$$.dirty[0] & /*endpoint, datasource, lang*/
523
- 229376 && l && r && d && D(), t.$$.dirty[0] & /*gameCategories, categoriesSlider*/
524
- 24 && g && u && E(), t.$$.dirty[0] & /*lang*/
525
- 131072 && d && fe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
526
- 262176 && k && j && Te(j, k), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
527
- 524320 && s && j && Fe(j, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
528
- 2097184 && j && Oe(j, `${c}.Style`), t.$$.dirty[0] & /*translationurl*/
526
+ 229376 && l && r && d && W(), t.$$.dirty[0] & /*gameCategories, categoriesSlider*/
527
+ 24 && g && u && D(), t.$$.dirty[0] & /*lang*/
528
+ 131072 && d && pe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
529
+ 262176 && k && P && Fe(P, k), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
530
+ 524320 && s && P && Oe(P, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
531
+ 2097184 && P && Be(P, `${c}.Style`), t.$$.dirty[0] & /*translationurl*/
529
532
  1048576 && f && de(), t.$$.dirty[0] & /*paginationrequired*/
530
- 4194304 && I && D();
533
+ 4194304 && R && W();
531
534
  }, [
532
535
  _,
533
536
  b,
534
537
  a,
535
538
  g,
536
539
  u,
537
- j,
540
+ P,
538
541
  h,
539
542
  C,
540
543
  G,
541
- W,
544
+ V,
542
545
  n,
543
- ue,
544
546
  me,
547
+ fe,
545
548
  J,
546
549
  Z,
547
550
  l,
@@ -551,21 +554,21 @@ function Ve(t, e, i) {
551
554
  s,
552
555
  f,
553
556
  c,
554
- I,
555
- pe,
557
+ R,
556
558
  he,
557
559
  ve,
558
- be
560
+ be,
561
+ Ce
559
562
  ];
560
563
  }
561
- class We extends we {
564
+ class We extends Se {
562
565
  constructor(e) {
563
- super(), Se(
566
+ super(), ke(
564
567
  this,
565
568
  e,
566
569
  Ve,
567
570
  Ue,
568
- ke,
571
+ Ge,
569
572
  {
570
573
  endpoint: 15,
571
574
  datasource: 16,
@@ -578,7 +581,7 @@ class We extends we {
578
581
  collectionprovidersgamenames: 2,
579
582
  mbsource: 21
580
583
  },
581
- Ae,
584
+ Ne,
582
585
  [-1, -1]
583
586
  );
584
587
  }
@@ -586,64 +589,64 @@ class We extends we {
586
589
  return this.$$.ctx[15];
587
590
  }
588
591
  set endpoint(e) {
589
- this.$$set({ endpoint: e }), M();
592
+ this.$$set({ endpoint: e }), j();
590
593
  }
591
594
  get datasource() {
592
595
  return this.$$.ctx[16];
593
596
  }
594
597
  set datasource(e) {
595
- this.$$set({ datasource: e }), M();
598
+ this.$$set({ datasource: e }), j();
596
599
  }
597
600
  get lang() {
598
601
  return this.$$.ctx[17];
599
602
  }
600
603
  set lang(e) {
601
- this.$$set({ lang: e }), M();
604
+ this.$$set({ lang: e }), j();
602
605
  }
603
606
  get type() {
604
607
  return this.$$.ctx[0];
605
608
  }
606
609
  set type(e) {
607
- this.$$set({ type: e }), M();
610
+ this.$$set({ type: e }), j();
608
611
  }
609
612
  get titletype() {
610
613
  return this.$$.ctx[1];
611
614
  }
612
615
  set titletype(e) {
613
- this.$$set({ titletype: e }), M();
616
+ this.$$set({ titletype: e }), j();
614
617
  }
615
618
  get clientstyling() {
616
619
  return this.$$.ctx[18];
617
620
  }
618
621
  set clientstyling(e) {
619
- this.$$set({ clientstyling: e }), M();
622
+ this.$$set({ clientstyling: e }), j();
620
623
  }
621
624
  get clientstylingurl() {
622
625
  return this.$$.ctx[19];
623
626
  }
624
627
  set clientstylingurl(e) {
625
- this.$$set({ clientstylingurl: e }), M();
628
+ this.$$set({ clientstylingurl: e }), j();
626
629
  }
627
630
  get translationurl() {
628
631
  return this.$$.ctx[20];
629
632
  }
630
633
  set translationurl(e) {
631
- this.$$set({ translationurl: e }), M();
634
+ this.$$set({ translationurl: e }), j();
632
635
  }
633
636
  get collectionprovidersgamenames() {
634
637
  return this.$$.ctx[2];
635
638
  }
636
639
  set collectionprovidersgamenames(e) {
637
- this.$$set({ collectionprovidersgamenames: e }), M();
640
+ this.$$set({ collectionprovidersgamenames: e }), j();
638
641
  }
639
642
  get mbsource() {
640
643
  return this.$$.ctx[21];
641
644
  }
642
645
  set mbsource(e) {
643
- this.$$set({ mbsource: e }), M();
646
+ this.$$set({ mbsource: e }), j();
644
647
  }
645
648
  }
646
- Be(We, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
649
+ He(We, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
647
650
  export {
648
651
  We as default
649
652
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-YzaZrGBf.cjs");function I(i,t){e.addMessages(i,t)}function re(i){e.$locale.set(i)}const R={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."},"en-us":{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};function ae(i){e.append_styles(i,"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)}}')}function U(i,t,l){const r=i.slice();return r[40]=t[l],r}function V(i,t,l){const r=i.slice();return r[43]=t[l],r}function se(i){let t,l,r,o=(i[0]==="vendor"?i[10]("providers"):i[10]("collections"))+"",a,g,b,v,w,d=i[7]>i[8]&&W(i),m=e.ensure_array_like(i[3]),s=[];for(let c=0;c<m.length;c+=1)s[c]=K(U(i,m,c));return{c(){t=e.element("div"),l=e.element("div"),r=e.element("p"),a=e.text(o),g=e.space(),d&&d.c(),b=e.space(),v=e.element("div");for(let c=0;c<s.length;c+=1)s[c].c();e.attr(r,"class","Title"),e.attr(l,"class","CategoriesHeader"),e.attr(v,"class","CategoriesSlider"),e.attr(t,"class",w="CasinoCollectionsProviders "+(i[9]?"Mobile":"")+" "+(i[0]==="vendor"?"Providers":"Collections"))},m(c,u){e.insert(c,t,u),e.append(t,l),e.append(l,r),e.append(r,a),e.append(l,g),d&&d.m(l,null),e.append(t,b),e.append(t,v);for(let h=0;h<s.length;h+=1)s[h]&&s[h].m(v,null);i[25](v)},p(c,u){if(u[0]&1025&&o!==(o=(c[0]==="vendor"?c[10]("providers"):c[10]("collections"))+"")&&e.set_data(a,o),c[7]>c[8]?d?d.p(c,u):(d=W(c),d.c(),d.m(l,null)):d&&(d.d(1),d=null),u[0]&24590){m=e.ensure_array_like(c[3]);let h;for(h=0;h<m.length;h+=1){const p=U(c,m,h);s[h]?s[h].p(p,u):(s[h]=K(p),s[h].c(),s[h].m(v,null))}for(;h<s.length;h+=1)s[h].d(1);s.length=m.length}u[0]&513&&w!==(w="CasinoCollectionsProviders "+(c[9]?"Mobile":"")+" "+(c[0]==="vendor"?"Providers":"Collections"))&&e.attr(t,"class",w)},d(c){c&&e.detach(t),d&&d.d(),e.destroy_each(s,c),i[25](null)}}}function de(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,r){e.insert(l,t,r)},p:e.noop,d(l){l&&e.detach(t)}}}function W(i){let t,l,r,o,a,g;return{c(){t=e.element("div"),l=e.element("button"),l.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',r=e.space(),o=e.element("button"),o.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',e.attr(t,"class","ButtonsContainer")},m(b,v){e.insert(b,t,v),e.append(t,l),e.append(t,r),e.append(t,o),a||(g=[e.listen(l,"click",i[11]),e.listen(o,"click",i[12])],a=!0)},p:e.noop,d(b){b&&e.detach(t),a=!1,e.run_all(g)}}}function ce(i){let t,l=i[40].name+"",r;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"class","CategorySlideTitle")},m(o,a){e.insert(o,t,a),e.append(t,r)},p(o,a){a[0]&8&&l!==(l=o[40].name+"")&&e.set_data(r,l)},d(o){o&&e.detach(t)}}}function ge(i){let t,l,r;return{c(){t=e.element("img"),e.attr(t,"class","CategorySlideLogo"),e.src_url_equal(t.src,l=i[40].icon)||e.attr(t,"src",l),e.attr(t,"alt",r=i[40].name+" icon")},m(o,a){e.insert(o,t,a)},p(o,a){a[0]&8&&!e.src_url_equal(t.src,l=o[40].icon)&&e.attr(t,"src",l),a[0]&8&&r!==(r=o[40].name+" icon")&&e.attr(t,"alt",r)},d(o){o&&e.detach(t)}}}function E(i){let t,l=i[43].name+"",r,o;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"title",o=i[43].name)},m(a,g){e.insert(a,t,g),e.append(t,r)},p(a,g){g[0]&8&&l!==(l=a[43].name+"")&&e.set_data(r,l),g[0]&8&&o!==(o=a[43].name)&&e.attr(t,"title",o)},d(a){a&&e.detach(t)}}}function D(i){let t,l,r,o,a,g,b,v;function w(){return i[23](i[43])}let d=i[2]=="true"&&E(i);return{c(){t=e.element("div"),l=e.element("img"),a=e.space(),d&&d.c(),g=e.space(),e.attr(l,"class","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[43].defaultThumbnail)||e.attr(l,"src",r),e.attr(l,"alt",o=i[43].name),e.attr(t,"class","CategorySlideGames")},m(m,s){e.insert(m,t,s),e.append(t,l),e.append(t,a),d&&d.m(t,null),e.append(t,g),b||(v=e.listen(l,"click",e.stop_propagation(w)),b=!0)},p(m,s){i=m,s[0]&8&&!e.src_url_equal(l.src,r=i[43].defaultThumbnail)&&e.attr(l,"src",r),s[0]&8&&o!==(o=i[43].name)&&e.attr(l,"alt",o),i[2]=="true"?d?d.p(i,s):(d=E(i),d.c(),d.m(t,g)):d&&(d.d(1),d=null)},d(m){m&&e.detach(t),d&&d.d(),b=!1,v()}}}function K(i){let t,l,r,o,a,g,b,v,w;function d(p,f){if(p[1]==="logo")return ge;if(p[1]==="title")return ce}let m=d(i),s=m&&m(i),c=e.ensure_array_like(i[40].games),u=[];for(let p=0;p<c.length;p+=1)u[p]=D(V(i,c,p));function h(){return i[24](i[40])}return{c(){var p,f;t=e.element("div"),l=e.element("div"),r=e.element("div"),s&&s.c(),o=e.space(),a=e.element("div");for(let _=0;_<u.length;_+=1)u[_].c();b=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((p=i[40])==null?void 0:p.flag[0])==="vendor"?"CategorySlideNoHighlight":"")),e.set_style(l,"background-image","url("+((f=i[40])==null?void 0:f.background)+")"),e.set_style(l,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation")},m(p,f){e.insert(p,t,f),e.append(t,l),e.append(l,r),s&&s.m(r,null),e.append(l,o),e.append(l,a);for(let _=0;_<u.length;_+=1)u[_]&&u[_].m(a,null);e.append(t,b),v||(w=e.listen(l,"click",h),v=!0)},p(p,f){var _,S;if(i=p,m===(m=d(i))&&s?s.p(i,f):(s&&s.d(1),s=m&&m(i),s&&(s.c(),s.m(r,null))),f[0]&8204){c=e.ensure_array_like(i[40].games);let y;for(y=0;y<c.length;y+=1){const L=V(i,c,y);u[y]?u[y].p(L,f):(u[y]=D(L),u[y].c(),u[y].m(a,null))}for(;y<u.length;y+=1)u[y].d(1);u.length=c.length}f[0]&8&&g!==(g="CategorySlide "+(((_=i[40])==null?void 0:_.flag[0])==="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),f[0]&8&&e.set_style(l,"background-image","url("+((S=i[40])==null?void 0:S.background)+")")},d(p){p&&e.detach(t),s&&s.d(),e.destroy_each(u,p),v=!1,w()}}}function ue(i){let t;function l(a,g){return a[6]?de:se}let r=l(i),o=r(i);return{c(){t=e.element("div"),o.c()},m(a,g){e.insert(a,t,g),o.m(t,null),i[26](t)},p(a,g){r===(r=l(a))&&o?o.p(a,g):(o.d(1),o=r(a),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),o.d(),i[26](null)}}}function pe(i,t,l){let r;e.component_subscribe(i,e.$format,n=>l(10,r=n));let{endpoint:o=""}=t,{datasource:a=""}=t,{lang:g=""}=t,{type:b=""}=t,{titletype:v=""}=t,{clientstyling:w=""}=t,{clientstylingurl:d=""}=t,{translationurl:m=""}=t,{collectionprovidersgamenames:s=""}=t,{mbsource:c}=t,u=[],h=!0,p,f=0,_=0,S=0,y,L,x=0,M=50,j=!1,P,J=window.navigator.userAgent,T;const X=()=>{fetch(m).then(C=>C.json()).then(C=>{Object.keys(C).forEach(k=>{I(k,C[k])})}).catch(C=>{console.log(C)})};Object.keys(R).forEach(n=>{I(n,R[n])});const F=()=>{const n=new URL(`${o}/v2/casino/groups/${a}`);n.searchParams.append("language",g),n.searchParams.append("expand","games"),n.searchParams.append("filter",`$and(flags=${b})`),n.searchParams.append("pagination",`offset=${x},limit=${M}`),fetch(n.href).then(C=>C.json()).then(C=>{l(6,h=!1),C.total>M&&(x+=50,M+=50,l(22,j=!0));let k=C.items.map(G=>{var q,A,N;return{id:G.id,name:G.name,icon:G.icon?G.icon:(N=(A=(q=G.vendors)==null?void 0:q.items[0])==null?void 0:A.subVendors[0])==null?void 0:N.logo,games:G.games.items.slice(0,4).map(oe=>oe),background:G.background,flag:G.flags}});l(3,u=[...u,...k]),l(7,_=u.length)})},O=n=>{L=[...p.children],L.forEach((C,k)=>{C.style.transform=`translateX(${100*(n?k-n:k)}%)`}),y=L[0].getBoundingClientRect().width,Y()},Y=()=>{l(8,S=Math.floor(p.clientWidth/y))},H=()=>{O(f)},Q=()=>{f===0?f=_-S:f-S<-1?f=0:f--,H()},$=()=>{f===_-S?f=0:_-S<f+1?f=_-S:f++,H()},z=(n,C,k,G)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:C,gameName:k,subVendor:G},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:`${k}`})},B=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},ee=()=>{re(g)};e.onMount(()=>(l(9,T=e.isMobile(J)),()=>{}));const te=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),ie=n=>B(n.id);function le(n){e.binding_callbacks[n?"unshift":"push"](()=>{p=n,l(4,p)})}function ne(n){e.binding_callbacks[n?"unshift":"push"](()=>{P=n,l(5,P)})}return i.$$set=n=>{"endpoint"in n&&l(15,o=n.endpoint),"datasource"in n&&l(16,a=n.datasource),"lang"in n&&l(17,g=n.lang),"type"in n&&l(0,b=n.type),"titletype"in n&&l(1,v=n.titletype),"clientstyling"in n&&l(18,w=n.clientstyling),"clientstylingurl"in n&&l(19,d=n.clientstylingurl),"translationurl"in n&&l(20,m=n.translationurl),"collectionprovidersgamenames"in n&&l(2,s=n.collectionprovidersgamenames),"mbsource"in n&&l(21,c=n.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&229376&&o&&a&&g&&F(),i.$$.dirty[0]&24&&u&&p&&O(),i.$$.dirty[0]&131072&&g&&ee(),i.$$.dirty[0]&262176&&w&&P&&e.setClientStyling(P,w),i.$$.dirty[0]&524320&&d&&P&&e.setClientStylingURL(P,d),i.$$.dirty[0]&2097184&&P&&e.setStreamStyling(P,`${c}.Style`),i.$$.dirty[0]&1048576&&m&&X(),i.$$.dirty[0]&4194304&&j&&F()},[b,v,s,u,p,P,h,_,S,T,r,Q,$,z,B,o,a,g,w,d,m,c,j,te,ie,le,ne]}class Z extends e.SvelteComponent{constructor(t){super(),e.init(this,t,pe,ue,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,type:0,titletype:1,clientstyling:18,clientstylingurl:19,translationurl:20,collectionprovidersgamenames:2,mbsource:21},ae,[-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 type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(Z,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=Z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DqS7aKva.cjs");function E(i,t){e.addMessages(i,t)}function ae(i){e.$locale.set(i)}const R={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."},"en-us":{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};function se(i){e.append_styles(i,"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)}}')}function I(i,t,l){const r=i.slice();return r[41]=t[l],r}function U(i,t,l){const r=i.slice();return r[44]=t[l],r}function de(i){let t,l,r,o=(i[0]==="vendor"?i[10]("providers"):i[10]("collections"))+"",a,g,b,v,w,d=i[7]>i[8]&&V(i),m=e.ensure_array_like(i[3]),s=[];for(let c=0;c<m.length;c+=1)s[c]=K(I(i,m,c));return{c(){t=e.element("div"),l=e.element("div"),r=e.element("p"),a=e.text(o),g=e.space(),d&&d.c(),b=e.space(),v=e.element("div");for(let c=0;c<s.length;c+=1)s[c].c();e.attr(r,"class","Title"),e.attr(l,"class","CategoriesHeader"),e.attr(v,"class","CategoriesSlider"),e.attr(t,"class",w="CasinoCollectionsProviders "+(i[9]?"Mobile":"")+" "+(i[0]==="vendor"?"Providers":"Collections"))},m(c,u){e.insert(c,t,u),e.append(t,l),e.append(l,r),e.append(r,a),e.append(l,g),d&&d.m(l,null),e.append(t,b),e.append(t,v);for(let h=0;h<s.length;h+=1)s[h]&&s[h].m(v,null);i[25](v)},p(c,u){if(u[0]&1025&&o!==(o=(c[0]==="vendor"?c[10]("providers"):c[10]("collections"))+"")&&e.set_data(a,o),c[7]>c[8]?d?d.p(c,u):(d=V(c),d.c(),d.m(l,null)):d&&(d.d(1),d=null),u[0]&24590){m=e.ensure_array_like(c[3]);let h;for(h=0;h<m.length;h+=1){const p=I(c,m,h);s[h]?s[h].p(p,u):(s[h]=K(p),s[h].c(),s[h].m(v,null))}for(;h<s.length;h+=1)s[h].d(1);s.length=m.length}u[0]&513&&w!==(w="CasinoCollectionsProviders "+(c[9]?"Mobile":"")+" "+(c[0]==="vendor"?"Providers":"Collections"))&&e.attr(t,"class",w)},d(c){c&&e.detach(t),d&&d.d(),e.destroy_each(s,c),i[25](null)}}}function ce(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,r){e.insert(l,t,r)},p:e.noop,d(l){l&&e.detach(t)}}}function V(i){let t,l,r,o,a,g;return{c(){t=e.element("div"),l=e.element("button"),l.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',r=e.space(),o=e.element("button"),o.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',e.attr(t,"class","ButtonsContainer")},m(b,v){e.insert(b,t,v),e.append(t,l),e.append(t,r),e.append(t,o),a||(g=[e.listen(l,"click",i[11]),e.listen(o,"click",i[12])],a=!0)},p:e.noop,d(b){b&&e.detach(t),a=!1,e.run_all(g)}}}function ge(i){let t,l=i[41].name+"",r;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"class","CategorySlideTitle")},m(o,a){e.insert(o,t,a),e.append(t,r)},p(o,a){a[0]&8&&l!==(l=o[41].name+"")&&e.set_data(r,l)},d(o){o&&e.detach(t)}}}function ue(i){let t,l,r;return{c(){t=e.element("img"),e.attr(t,"class","CategorySlideLogo"),e.src_url_equal(t.src,l=i[41].icon)||e.attr(t,"src",l),e.attr(t,"alt",r=i[41].name+" icon")},m(o,a){e.insert(o,t,a)},p(o,a){a[0]&8&&!e.src_url_equal(t.src,l=o[41].icon)&&e.attr(t,"src",l),a[0]&8&&r!==(r=o[41].name+" icon")&&e.attr(t,"alt",r)},d(o){o&&e.detach(t)}}}function W(i){let t,l=i[44].name+"",r,o;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"title",o=i[44].name)},m(a,g){e.insert(a,t,g),e.append(t,r)},p(a,g){g[0]&8&&l!==(l=a[44].name+"")&&e.set_data(r,l),g[0]&8&&o!==(o=a[44].name)&&e.attr(t,"title",o)},d(a){a&&e.detach(t)}}}function D(i){let t,l,r,o,a,g,b,v;function w(){return i[23](i[44])}let d=i[2]=="true"&&W(i);return{c(){t=e.element("div"),l=e.element("img"),a=e.space(),d&&d.c(),g=e.space(),e.attr(l,"class","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[44].defaultThumbnail)||e.attr(l,"src",r),e.attr(l,"alt",o=i[44].name),e.attr(t,"class","CategorySlideGames")},m(m,s){e.insert(m,t,s),e.append(t,l),e.append(t,a),d&&d.m(t,null),e.append(t,g),b||(v=e.listen(l,"click",e.stop_propagation(w)),b=!0)},p(m,s){i=m,s[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.attr(l,"src",r),s[0]&8&&o!==(o=i[44].name)&&e.attr(l,"alt",o),i[2]=="true"?d?d.p(i,s):(d=W(i),d.c(),d.m(t,g)):d&&(d.d(1),d=null)},d(m){m&&e.detach(t),d&&d.d(),b=!1,v()}}}function K(i){let t,l,r,o,a,g,b,v,w;function d(p,f){if(p[1]==="logo")return ue;if(p[1]==="title")return ge}let m=d(i),s=m&&m(i),c=e.ensure_array_like(i[41].games),u=[];for(let p=0;p<c.length;p+=1)u[p]=D(U(i,c,p));function h(){return i[24](i[41])}return{c(){var p,f;t=e.element("div"),l=e.element("div"),r=e.element("div"),s&&s.c(),o=e.space(),a=e.element("div");for(let _=0;_<u.length;_+=1)u[_].c();b=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((p=i[41])==null?void 0:p.flag[0])==="vendor"?"CategorySlideNoHighlight":"")),e.set_style(l,"background-image","url("+((f=i[41])==null?void 0:f.background)+")"),e.set_style(l,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation")},m(p,f){e.insert(p,t,f),e.append(t,l),e.append(l,r),s&&s.m(r,null),e.append(l,o),e.append(l,a);for(let _=0;_<u.length;_+=1)u[_]&&u[_].m(a,null);e.append(t,b),v||(w=e.listen(l,"click",h),v=!0)},p(p,f){var _,S;if(i=p,m===(m=d(i))&&s?s.p(i,f):(s&&s.d(1),s=m&&m(i),s&&(s.c(),s.m(r,null))),f[0]&8204){c=e.ensure_array_like(i[41].games);let y;for(y=0;y<c.length;y+=1){const L=U(i,c,y);u[y]?u[y].p(L,f):(u[y]=D(L),u[y].c(),u[y].m(a,null))}for(;y<u.length;y+=1)u[y].d(1);u.length=c.length}f[0]&8&&g!==(g="CategorySlide "+(((_=i[41])==null?void 0:_.flag[0])==="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),f[0]&8&&e.set_style(l,"background-image","url("+((S=i[41])==null?void 0:S.background)+")")},d(p){p&&e.detach(t),s&&s.d(),e.destroy_each(u,p),v=!1,w()}}}function pe(i){let t;function l(a,g){return a[6]?ce:de}let r=l(i),o=r(i);return{c(){t=e.element("div"),o.c()},m(a,g){e.insert(a,t,g),o.m(t,null),i[26](t)},p(a,g){r===(r=l(a))&&o?o.p(a,g):(o.d(1),o=r(a),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),o.d(),i[26](null)}}}function me(i,t,l){let r;e.component_subscribe(i,e.$format,n=>l(10,r=n));let{endpoint:o=""}=t,{datasource:a=""}=t,{lang:g=""}=t,{type:b=""}=t,{titletype:v=""}=t,{clientstyling:w=""}=t,{clientstylingurl:d=""}=t,{translationurl:m=""}=t,{collectionprovidersgamenames:s=""}=t,{mbsource:c}=t,u=[],h=!0,p,f=0,_=0,S=0,y,L,x=0,M=50,j=!1,k,J=window.navigator.userAgent,T;const X=()=>{fetch(m).then(C=>C.json()).then(C=>{Object.keys(C).forEach(G=>{E(G,C[G])})}).catch(C=>{console.log(C)})};Object.keys(R).forEach(n=>{E(n,R[n])});const F=()=>{const n=new URL(`${o}/v2/casino/groups/${a}`);n.searchParams.append("language",g),n.searchParams.append("expand","games"),n.searchParams.append("filter",`$and(flags=${b})`),n.searchParams.append("pagination",`offset=${x},limit=${M}`),fetch(n.href).then(C=>C.json()).then(C=>{l(6,h=!1),C.total>M&&(x+=50,M+=50,l(22,j=!0));let G=C.items.map(P=>{var q,A,N;return{id:P.id,name:P.name,icon:P.icon?P.icon:(N=(A=(q=P.vendors)==null?void 0:q.items[0])==null?void 0:A.subVendors[0])==null?void 0:N.logo,games:P.games.items.slice(0,4).map(re=>re),background:P.background,flag:P.flags}});l(3,u=[...u,...G]),l(7,_=u.length),Y()})},Y=()=>{const n=k.getRootNode().host;n.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:n}}))},O=n=>{L=[...p.children],L.forEach((C,G)=>{C.style.transform=`translateX(${100*(n?G-n:G)}%)`}),y=L[0].getBoundingClientRect().width,Q()},Q=()=>{l(8,S=Math.floor(p.clientWidth/y))},H=()=>{O(f)},$=()=>{f===0?f=_-S:f-S<-1?f=0:f--,H()},ee=()=>{f===_-S?f=0:_-S<f+1?f=_-S:f++,H()},z=(n,C,G,P)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:C,gameName:G,subVendor:P},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:`${G}`})},B=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},te=()=>{ae(g)};e.onMount(()=>(l(9,T=e.isMobile(J)),()=>{}));const ie=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>B(n.id);function ne(n){e.binding_callbacks[n?"unshift":"push"](()=>{p=n,l(4,p)})}function oe(n){e.binding_callbacks[n?"unshift":"push"](()=>{k=n,l(5,k)})}return i.$$set=n=>{"endpoint"in n&&l(15,o=n.endpoint),"datasource"in n&&l(16,a=n.datasource),"lang"in n&&l(17,g=n.lang),"type"in n&&l(0,b=n.type),"titletype"in n&&l(1,v=n.titletype),"clientstyling"in n&&l(18,w=n.clientstyling),"clientstylingurl"in n&&l(19,d=n.clientstylingurl),"translationurl"in n&&l(20,m=n.translationurl),"collectionprovidersgamenames"in n&&l(2,s=n.collectionprovidersgamenames),"mbsource"in n&&l(21,c=n.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&229376&&o&&a&&g&&F(),i.$$.dirty[0]&24&&u&&p&&O(),i.$$.dirty[0]&131072&&g&&te(),i.$$.dirty[0]&262176&&w&&k&&e.setClientStyling(k,w),i.$$.dirty[0]&524320&&d&&k&&e.setClientStylingURL(k,d),i.$$.dirty[0]&2097184&&k&&e.setStreamStyling(k,`${c}.Style`),i.$$.dirty[0]&1048576&&m&&X(),i.$$.dirty[0]&4194304&&j&&F()},[b,v,s,u,p,k,h,_,S,T,r,$,ee,z,B,o,a,g,w,d,m,c,j,ie,le,ne,oe]}class Z extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,pe,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,type:0,titletype:1,clientstyling:18,clientstylingurl:19,translationurl:20,collectionprovidersgamenames:2,mbsource:21},se,[-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 type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(Z,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=Z;
@@ -1,4 +1,4 @@
1
- import { $ as E, U as M, S as R, i as U, s as j, f as l, b as z, n as L, d as O, h as q, j as A, r as J, o as K, O as s, C as T, I as V, J as B, K as G, L as H } from "./CasinoCalendar-BWZKTjt3.js";
1
+ import { $ as E, U as M, S as R, i as U, s as j, f as l, b as z, n as L, d as O, h as q, j as A, r as J, o as K, O as s, C as T, I as V, J as B, K as G, L as H } from "./CasinoCalendar-BYTytQgJ.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-dyyrntic.js").then(({ default: e }) => {
14
+ customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-Ce43OSOZ.js").then(({ default: e }) => {
15
15
  !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
16
16
  });
17
17
  }