@everymatrix/casino-lobby 1.54.6 → 1.54.8

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 (81) hide show
  1. package/components/{CasinoCalendar-Ic3lq1UY.js → CasinoCalendar-B6zL0TaE.js} +506 -514
  2. package/components/CasinoCalendar-BMfA7KN3.cjs +9 -0
  3. package/components/CasinoCalendar-yoWAbEkY.js +5197 -0
  4. package/components/{CasinoCalendarDailyDetails-buDoufAV.js → CasinoCalendarDailyDetails-CHjjPOPl.js} +90 -90
  5. package/components/CasinoCalendarDailyDetails-CfDJdZRl.cjs +1 -0
  6. package/components/CasinoCalendarDailyDetails-D3u4HZe8.js +701 -0
  7. package/components/{CasinoCalendarDailyItem-koPRd703.js → CasinoCalendarDailyItem-C0cqN7uc.js} +46 -46
  8. package/components/CasinoCalendarDailyItem-CUUQD6LO.cjs +1 -0
  9. package/components/CasinoCalendarDailyItem-DMCRSt77.js +315 -0
  10. package/components/CasinoCategoriesSlider-BcJr5qw4.js +606 -0
  11. package/components/{CasinoCategoriesSlider-Bp9JHeM_.js → CasinoCategoriesSlider-ClyY2tVk.js} +29 -29
  12. package/components/CasinoCategoriesSlider-Du23Vwbe.cjs +1 -0
  13. package/components/CasinoCollectionsProviders-D_RrWmcu.js +664 -0
  14. package/components/{CasinoCollectionsProviders-CrpNb22N.js → CasinoCollectionsProviders-DfPQERZb.js} +58 -58
  15. package/components/CasinoCollectionsProviders-okanqqGb.cjs +1 -0
  16. package/components/CasinoFavoritesSection-6Sdpq5gN.cjs +1 -0
  17. package/components/CasinoFavoritesSection-B73CXUAy.js +439 -0
  18. package/components/{CasinoFavoritesSection-D4Du3N5n.js → CasinoFavoritesSection-Bueg3sTp.js} +16 -16
  19. package/components/CasinoFilter-CLgilXuM.js +634 -0
  20. package/components/{CasinoFilter-CYZHW74M.js → CasinoFilter-Ck2-RKNG.js} +55 -55
  21. package/components/CasinoFilter-d5NvPsIU.cjs +1 -0
  22. package/components/{CasinoGamePage-C0VvUfCV.js → CasinoGamePage-B9T32UnC.js} +90 -90
  23. package/components/CasinoGamePage-BvAh0DGO.js +4300 -0
  24. package/components/CasinoGamePage-C99GYj8V.cjs +18 -0
  25. package/components/{CasinoGameThumbnail-C-zG9Jn9.js → CasinoGameThumbnail-Bl2lRTS5.js} +63 -63
  26. package/components/CasinoGameThumbnail-Cnth3w2v.js +1850 -0
  27. package/components/CasinoGameThumbnail-DFxPFhew.cjs +38 -0
  28. package/components/CasinoGamesCategorySection-Cy8ehDrS.cjs +1 -0
  29. package/components/{CasinoGamesCategorySection-DVd_DDkc.js → CasinoGamesCategorySection-DU23YHrX.js} +125 -125
  30. package/components/CasinoGamesCategorySection-Vx-6j2_y.js +3032 -0
  31. package/components/{CasinoJackpotBanner-CL7SMQDH.js → CasinoJackpotBanner-CwBo5Mul.js} +68 -68
  32. package/components/CasinoJackpotBanner-D8mirkf9.js +618 -0
  33. package/components/CasinoJackpotBanner-pF19c3bB.cjs +1 -0
  34. package/components/CasinoLastPlayedSection-CTeLaz5e.cjs +1 -0
  35. package/components/{CasinoLastPlayedSection-VbQH2qG2.js → CasinoLastPlayedSection-D2i1KYd6.js} +29 -29
  36. package/components/CasinoLastPlayedSection-DeHKMRjb.js +566 -0
  37. package/components/{CasinoLobby-CSsnpzSn.js → CasinoLobby-DIuXNBMc.js} +49 -49
  38. package/components/CasinoLobby-DjqoKJ_Z.cjs +1 -0
  39. package/components/CasinoLobby-Ds8nok67.js +2337 -0
  40. package/components/{CasinoModal-z0xixUlG.js → CasinoModal-CdxckMSF.js} +69 -69
  41. package/components/CasinoModal-Cj4CFSu2.cjs +1 -0
  42. package/components/CasinoModal-_ukjEJqy.js +372 -0
  43. package/components/CasinoMostPlayedSection-BRG_Uq6C.cjs +1 -0
  44. package/components/{CasinoMostPlayedSection-BIXY9riB.js → CasinoMostPlayedSection-BvIjl5pV.js} +32 -32
  45. package/components/CasinoMostPlayedSection-C9ey8EVj.js +583 -0
  46. package/components/CasinoMyGames-BH19YGDz.js +1318 -0
  47. package/components/{CasinoMyGames-DqRPb7fX.js → CasinoMyGames-CO15Aytm.js} +52 -52
  48. package/components/CasinoMyGames-DNs8c3Rb.cjs +1 -0
  49. package/components/CasinoPage-BEFfjziT.js +3550 -0
  50. package/components/{CasinoPage-Cm-vD67m.js → CasinoPage-DXue0b0t.js} +123 -123
  51. package/components/CasinoPage-sSUBPWhS.cjs +1 -0
  52. package/components/CasinoRandomGame-C57JuHHz.cjs +2 -0
  53. package/components/CasinoRandomGame-r6ZN573_.js +668 -0
  54. package/components/{CasinoRandomGame-efA8CEqy.js → CasinoRandomGame-z14CxLuC.js} +51 -51
  55. package/components/CasinoSearch-C5_rhVBG.js +1072 -0
  56. package/components/{CasinoSearch-BEXK-fFP.js → CasinoSearch-Cbyb3s0J.js} +83 -83
  57. package/components/CasinoSearch-D1uEkiG3.cjs +1 -0
  58. package/components/CasinoSlider-C7bHIIsP.js +806 -0
  59. package/components/{CasinoSlider-BPqJIB5d.js → CasinoSlider-C90aPXd2.js} +78 -78
  60. package/components/CasinoSlider-D1u-7DmV.cjs +1 -0
  61. package/components/CasinoSort-5a6WYp-y.cjs +1 -0
  62. package/components/{CasinoSort-CBtcK7i0.js → CasinoSort-B9ucfWgD.js} +16 -16
  63. package/components/CasinoSort-DWu-WSlc.js +432 -0
  64. package/components/{CasinoWinners-Db2ivy-R.js → CasinoWinners-BFkE1Nu3.js} +62 -62
  65. package/components/CasinoWinners-D-KQ7v4o.cjs +1 -0
  66. package/components/CasinoWinners-fPZD2C86.js +971 -0
  67. package/components/{GeneralAnimationLoading-DiwFEyef.js → GeneralAnimationLoading-BCUksgAT.js} +8 -8
  68. package/components/GeneralAnimationLoading-BtZxU34J.cjs +1 -0
  69. package/components/GeneralAnimationLoading-DSCrLTeR.js +75 -0
  70. package/es2015/casino-lobby.cjs +1 -0
  71. package/es2015/casino-lobby.js +16 -0
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +4 -1
  74. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  75. package/stencil/casino-play-random-game-BKQH1Zx1.cjs +371 -0
  76. package/stencil/casino-play-random-game-BqK1nKDT.js +577 -0
  77. package/stencil/{casino-play-random-game-BrayzMrR.js → casino-play-random-game-pLVMnBV9.js} +1 -1
  78. package/stencil/index-f923e8d1-BWfXmHlD.js +645 -0
  79. package/stencil/index-f923e8d1-DEpJEd5d.cjs +1 -0
  80. package/stencil/index-f923e8d1-DkIbJRWP.js +629 -0
  81. package/stencil/index-47910d1c-CWwDm8i3.js +0 -623
@@ -1,5 +1,5 @@
1
- import { a as Ce, $ as be, S as ye, i as we, f as P, c as Se, s as ke, b as Ge, e as C, d as L, D as z, j as M, k as Pe, o as Le, m as Me, n as Z, q as H, u as R, r as x, v as m, O as je, w as v, P as xe, B as E, C as le, x as O, Q as Te, I as N, F as Fe, E as B, R as ze } from "./CasinoCalendar-Ic3lq1UY.js";
2
- function J(t, e) {
1
+ import { a as Ce, $ as be, S as ye, i as we, s as Se, f as P, b as ke, n as z, d as L, h as M, j as C, k as Ge, o as Pe, l as Le, C as K, r as m, v as H, w as le, m as R, p as v, O as Me, q as I, B as T, P as je, Q as Te, A as O, G as N, D as B, R as xe, I as Fe, J as ze } from "./CasinoCalendar-B6zL0TaE.js";
2
+ function Z(t, e) {
3
3
  Ce(t, e);
4
4
  }
5
5
  function He(t) {
@@ -103,7 +103,7 @@ const Q = {
103
103
  }
104
104
  };
105
105
  function Oe(t) {
106
- Ge(t, "svelte-1myc38z", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.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)}}');
106
+ ke(t, "svelte-1myc38z", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.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 X(t, e, i) {
109
109
  const r = t.slice();
@@ -135,7 +135,7 @@ function Be(t) {
135
135
  f[s] = ie(X(t, g, s));
136
136
  return {
137
137
  c() {
138
- e = C("div"), i = C("div"), r = C("p"), a = R(o), d = x(), c && c.c(), b = x(), h = C("div");
138
+ e = C("div"), i = C("div"), r = C("p"), a = I(o), d = T(), c && c.c(), b = T(), h = C("div");
139
139
  for (let s = 0; s < f.length; s += 1)
140
140
  f[s].c();
141
141
  m(r, "class", "Title"), m(i, "class", "CategoriesHeader"), m(h, "class", "CategoriesSlider"), je(() => (
@@ -146,10 +146,10 @@ function Be(t) {
146
146
  (t[0] === "vendor" ? "Providers" : "Collections"));
147
147
  },
148
148
  m(s, w) {
149
- L(s, e, w), v(e, i), v(i, r), v(r, a), v(i, d), c && c.m(i, null), v(e, b), v(e, h);
149
+ M(s, e, w), v(e, i), v(i, r), v(r, a), v(i, d), c && c.m(i, null), v(e, b), v(e, h);
150
150
  for (let n = 0; n < f.length; n += 1)
151
151
  f[n] && f[n].m(h, null);
152
- t[26](h), k = xe(
152
+ t[26](h), k = Me(
153
153
  h,
154
154
  /*div1_elementresize_handler*/
155
155
  t[27].bind(h)
@@ -164,7 +164,7 @@ function Be(t) {
164
164
  ) : (
165
165
  /*$_*/
166
166
  s[11]("collections")
167
- )) + "") && E(a, o), /*numberOfSlides*/
167
+ )) + "") && R(a, o), /*numberOfSlides*/
168
168
  s[8] > /*numberOfVisibleSlides*/
169
169
  s[9] ? c ? c.p(s, w) : (c = $(s), c.c(), c.m(i, null)) : c && (c.d(1), c = null), w[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
170
170
  49166) {
@@ -187,7 +187,7 @@ function Be(t) {
187
187
  (s[0] === "vendor" ? "Providers" : "Collections")) && m(e, "class", u);
188
188
  },
189
189
  d(s) {
190
- s && M(e), c && c.d(), le(f, s), t[26](null), k();
190
+ s && L(e), c && c.d(), le(f, s), t[26](null), k();
191
191
  }
192
192
  };
193
193
  }
@@ -198,11 +198,11 @@ function Ae(t) {
198
198
  e = C("div"), m(e, "class", "LoadingSpinner");
199
199
  },
200
200
  m(i, r) {
201
- L(i, e, r);
201
+ M(i, e, r);
202
202
  },
203
203
  p: z,
204
204
  d(i) {
205
- i && M(e);
205
+ i && L(e);
206
206
  }
207
207
  };
208
208
  }
@@ -210,10 +210,10 @@ function $(t) {
210
210
  let e, i, r, o, a, d;
211
211
  return {
212
212
  c() {
213
- e = C("div"), i = C("button"), i.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 = x(), o = C("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>', m(e, "class", "ButtonsContainer");
213
+ e = C("div"), i = C("button"), i.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 = T(), o = C("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>', m(e, "class", "ButtonsContainer");
214
214
  },
215
215
  m(b, h) {
216
- L(b, e, h), v(e, i), v(e, r), v(e, o), a || (d = [
216
+ M(b, e, h), v(e, i), v(e, r), v(e, o), a || (d = [
217
217
  O(
218
218
  i,
219
219
  "click",
@@ -230,7 +230,7 @@ function $(t) {
230
230
  },
231
231
  p: z,
232
232
  d(b) {
233
- b && M(e), a = !1, Te(d);
233
+ b && L(e), a = !1, Te(d);
234
234
  }
235
235
  };
236
236
  }
@@ -241,18 +241,18 @@ function Ne(t) {
241
241
  ), r;
242
242
  return {
243
243
  c() {
244
- e = C("p"), r = R(i), m(e, "class", "CategorySlideTitle");
244
+ e = C("p"), r = I(i), m(e, "class", "CategorySlideTitle");
245
245
  },
246
246
  m(o, a) {
247
- L(o, e, a), v(e, r);
247
+ M(o, e, a), v(e, r);
248
248
  },
249
249
  p(o, a) {
250
250
  a[0] & /*gameCategories*/
251
251
  8 && i !== (i = /*category*/
252
- o[41].name + "") && E(r, i);
252
+ o[41].name + "") && R(r, i);
253
253
  },
254
254
  d(o) {
255
- o && M(e);
255
+ o && L(e);
256
256
  }
257
257
  };
258
258
  }
@@ -265,7 +265,7 @@ function Re(t) {
265
265
  t[41].name + " icon");
266
266
  },
267
267
  m(o, a) {
268
- L(o, e, a);
268
+ M(o, e, a);
269
269
  },
270
270
  p(o, a) {
271
271
  a[0] & /*gameCategories*/
@@ -275,7 +275,7 @@ function Re(t) {
275
275
  o[41].name + " icon") && m(e, "alt", r);
276
276
  },
277
277
  d(o) {
278
- o && M(e);
278
+ o && L(e);
279
279
  }
280
280
  };
281
281
  }
@@ -286,21 +286,21 @@ function ee(t) {
286
286
  ), r, o;
287
287
  return {
288
288
  c() {
289
- e = C("p"), r = R(i), m(e, "title", o = /*game*/
289
+ e = C("p"), r = I(i), m(e, "title", o = /*game*/
290
290
  t[44].name);
291
291
  },
292
292
  m(a, d) {
293
- L(a, e, d), v(e, r);
293
+ M(a, e, d), v(e, r);
294
294
  },
295
295
  p(a, d) {
296
296
  d[0] & /*gameCategories*/
297
297
  8 && i !== (i = /*game*/
298
- a[44].name + "") && E(r, i), d[0] & /*gameCategories*/
298
+ a[44].name + "") && R(r, i), d[0] & /*gameCategories*/
299
299
  8 && o !== (o = /*game*/
300
300
  a[44].name) && m(e, "title", o);
301
301
  },
302
302
  d(a) {
303
- a && M(e);
303
+ a && L(e);
304
304
  }
305
305
  };
306
306
  }
@@ -321,12 +321,12 @@ function te(t) {
321
321
  );
322
322
  return {
323
323
  c() {
324
- e = C("div"), i = C("img"), a = x(), u && u.c(), d = x(), m(i, "class", "CategorySlideGameImage"), B(i.src, r = /*game*/
324
+ e = C("div"), i = C("img"), a = T(), u && u.c(), d = T(), m(i, "class", "CategorySlideGameImage"), B(i.src, r = /*game*/
325
325
  t[44].defaultThumbnail) || m(i, "src", r), m(i, "alt", o = /*game*/
326
326
  t[44].name), m(e, "class", "CategorySlideGames");
327
327
  },
328
328
  m(c, g) {
329
- L(c, e, g), v(e, i), v(e, a), u && u.m(e, null), v(e, d), b || (h = O(i, "click", ze(k)), b = !0);
329
+ M(c, e, g), v(e, i), v(e, a), u && u.m(e, null), v(e, d), b || (h = O(i, "click", xe(k)), b = !0);
330
330
  },
331
331
  p(c, g) {
332
332
  t = c, g[0] & /*gameCategories*/
@@ -337,7 +337,7 @@ function te(t) {
337
337
  t[2] == "true" ? u ? u.p(t, g) : (u = ee(t), u.c(), u.m(e, d)) : u && (u.d(1), u = null);
338
338
  },
339
339
  d(c) {
340
- c && M(e), u && u.d(), b = !1, h();
340
+ c && L(e), u && u.d(), b = !1, h();
341
341
  }
342
342
  };
343
343
  }
@@ -370,15 +370,15 @@ function ie(t) {
370
370
  }
371
371
  return {
372
372
  c() {
373
- e = C("div"), i = C("div"), r = C("div"), g && g.c(), o = x(), a = C("div");
373
+ e = C("div"), i = C("div"), r = C("div"), g && g.c(), o = T(), a = C("div");
374
374
  for (let n = 0; n < s.length; n += 1)
375
375
  s[n].c();
376
- b = x(), m(r, "class", "CategorySlideTopContainer"), m(a, "class", "CategorySlideGameContainer"), m(i, "class", d = "CategorySlide " + /*category*/
376
+ b = T(), m(r, "class", "CategorySlideTopContainer"), m(a, "class", "CategorySlideGameContainer"), m(i, "class", d = "CategorySlide " + /*category*/
377
377
  (t[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")), N(i, "background-image", "url(" + /*category*/
378
378
  t[41]?.background + ")"), N(i, "background-size", "cover"), m(e, "class", "CategoriesSliderWrapper Animation");
379
379
  },
380
380
  m(n, _) {
381
- L(n, e, _), v(e, i), v(i, r), g && g.m(r, null), v(i, o), v(i, a);
381
+ M(n, e, _), v(e, i), v(i, r), g && g.m(r, null), v(i, o), v(i, a);
382
382
  for (let p = 0; p < s.length; p += 1)
383
383
  s[p] && s[p].m(a, null);
384
384
  v(e, b), h || (k = O(i, "click", w), h = !0);
@@ -392,8 +392,8 @@ function ie(t) {
392
392
  );
393
393
  let p;
394
394
  for (p = 0; p < f.length; p += 1) {
395
- const T = Y(t, f, p);
396
- s[p] ? s[p].p(T, _) : (s[p] = te(T), s[p].c(), s[p].m(a, null));
395
+ const x = Y(t, f, p);
396
+ s[p] ? s[p].p(x, _) : (s[p] = te(x), s[p].c(), s[p].m(a, null));
397
397
  }
398
398
  for (; p < s.length; p += 1)
399
399
  s[p].d(1);
@@ -406,11 +406,11 @@ function ie(t) {
406
406
  t[41]?.background + ")");
407
407
  },
408
408
  d(n) {
409
- n && M(e), g && g.d(), le(s, n), h = !1, k();
409
+ n && L(e), g && g.d(), le(s, n), h = !1, k();
410
410
  }
411
411
  };
412
412
  }
413
- function Ee(t) {
413
+ function Ie(t) {
414
414
  let e;
415
415
  function i(a, d) {
416
416
  return (
@@ -424,7 +424,7 @@ function Ee(t) {
424
424
  e = C("div"), o.c();
425
425
  },
426
426
  m(a, d) {
427
- L(a, e, d), o.m(e, null), t[28](e);
427
+ M(a, e, d), o.m(e, null), t[28](e);
428
428
  },
429
429
  p(a, d) {
430
430
  r === (r = i(a)) && o ? o.p(a, d) : (o.d(1), o = r(a), o && (o.c(), o.m(e, null)));
@@ -432,25 +432,25 @@ function Ee(t) {
432
432
  i: z,
433
433
  o: z,
434
434
  d(a) {
435
- a && M(e), o.d(), t[28](null);
435
+ a && L(e), o.d(), t[28](null);
436
436
  }
437
437
  };
438
438
  }
439
- function Ie(t, e, i) {
439
+ function Ue(t, e, i) {
440
440
  let r;
441
- Pe(t, Fe, (l) => i(11, r = l));
442
- let { endpoint: o = "" } = e, { datasource: a = "" } = e, { lang: d = "" } = e, { type: b = "" } = e, { titletype: h = "" } = e, { clientstyling: k = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: c = "" } = e, { collectionprovidersgamenames: g = "" } = e, f = [], s = !0, w, n = 0, _ = 0, p = 0, T, A, j, oe = window.navigator.userAgent, I, F = 0;
441
+ Ge(t, ze, (l) => i(11, r = l));
442
+ let { endpoint: o = "" } = e, { datasource: a = "" } = e, { lang: d = "" } = e, { type: b = "" } = e, { titletype: h = "" } = e, { clientstyling: k = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: c = "" } = e, { collectionprovidersgamenames: g = "" } = e, f = [], s = !0, w, n = 0, _ = 0, p = 0, x, A, j, oe = window.navigator.userAgent, U, F = 0;
443
443
  const ne = () => {
444
444
  fetch(c).then((y) => y.json()).then((y) => {
445
445
  Object.keys(y).forEach((S) => {
446
- J(S, y[S]);
446
+ Z(S, y[S]);
447
447
  });
448
448
  }).catch((y) => {
449
449
  console.log(y);
450
450
  });
451
451
  };
452
452
  Object.keys(Q).forEach((l) => {
453
- J(l, Q[l]);
453
+ Z(l, Q[l]);
454
454
  });
455
455
  const re = () => {
456
456
  const l = new URL(`${o}/v2/casino/groups/${a}`);
@@ -466,14 +466,14 @@ function Ie(t, e, i) {
466
466
  flag: G.flags
467
467
  }))), i(8, _ = f.length);
468
468
  });
469
- }, U = (l) => {
469
+ }, E = (l) => {
470
470
  A = [...w.children], A.forEach((y, S) => {
471
471
  y.style.transform = `translateX(${100 * (l ? S - l : S)}%)`;
472
- }), T = A[0].getBoundingClientRect().width, ae();
472
+ }), x = A[0].getBoundingClientRect().width, ae();
473
473
  }, ae = () => {
474
- i(9, p = Math.floor(F / T));
474
+ i(9, p = Math.floor(F / x));
475
475
  }, W = () => {
476
- U(n);
476
+ E(n);
477
477
  }, D = () => {
478
478
  n === 0 ? n = _ - p : n - p < -1 ? n = 0 : n--, W();
479
479
  }, V = () => {
@@ -492,7 +492,7 @@ function Ie(t, e, i) {
492
492
  context: "CollectionsProviders",
493
493
  gameName: `${S}`
494
494
  });
495
- }, K = (l) => {
495
+ }, J = (l) => {
496
496
  window.postMessage(
497
497
  {
498
498
  type: "OpenCollectionsProvidersCategory",
@@ -516,12 +516,12 @@ function Ie(t, e, i) {
516
516
  );
517
517
  });
518
518
  };
519
- Le(() => {
520
- i(10, I = Me(oe));
519
+ Pe(() => {
520
+ i(10, U = Le(oe));
521
521
  });
522
- const ge = () => D(), ue = () => V(), fe = (l) => q(l.gameId, l.launchUrl, l.name, l.subVendor), me = (l) => K(l.id);
522
+ const ge = () => D(), ue = () => V(), fe = (l) => q(l.gameId, l.launchUrl, l.name, l.subVendor), me = (l) => J(l.id);
523
523
  function pe(l) {
524
- Z[l ? "unshift" : "push"](() => {
524
+ K[l ? "unshift" : "push"](() => {
525
525
  w = l, i(4, w);
526
526
  });
527
527
  }
@@ -529,7 +529,7 @@ function Ie(t, e, i) {
529
529
  F = this.clientWidth, i(6, F);
530
530
  }
531
531
  function ve(l) {
532
- Z[l ? "unshift" : "push"](() => {
532
+ K[l ? "unshift" : "push"](() => {
533
533
  j = l, i(5, j);
534
534
  });
535
535
  }
@@ -538,7 +538,7 @@ function Ie(t, e, i) {
538
538
  }, t.$$.update = () => {
539
539
  t.$$.dirty[0] & /*endpoint, datasource, lang*/
540
540
  458752 && o && a && d && re(), t.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
541
- 88 && F && f && w && U(), t.$$.dirty[0] & /*lang*/
541
+ 88 && F && f && w && E(), t.$$.dirty[0] & /*lang*/
542
542
  262144 && d && se(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
543
543
  524320 && k && j && ce(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
544
544
  1048608 && u && j && de(), t.$$.dirty[0] & /*translationurl*/
@@ -554,12 +554,12 @@ function Ie(t, e, i) {
554
554
  s,
555
555
  _,
556
556
  p,
557
- I,
557
+ U,
558
558
  r,
559
559
  D,
560
560
  V,
561
561
  q,
562
- K,
562
+ J,
563
563
  o,
564
564
  a,
565
565
  d,
@@ -575,14 +575,14 @@ function Ie(t, e, i) {
575
575
  ve
576
576
  ];
577
577
  }
578
- class Ue extends ye {
578
+ class Ee extends ye {
579
579
  constructor(e) {
580
580
  super(), we(
581
581
  this,
582
582
  e,
583
+ Ue,
583
584
  Ie,
584
- Ee,
585
- ke,
585
+ Se,
586
586
  {
587
587
  endpoint: 16,
588
588
  datasource: 17,
@@ -653,7 +653,7 @@ class Ue extends ye {
653
653
  this.$$set({ collectionprovidersgamenames: e }), P();
654
654
  }
655
655
  }
656
- Se(Ue, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {} }, [], [], !0);
656
+ Fe(Ee, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {} }, [], [], !0);
657
657
  export {
658
- Ue as default
658
+ Ee as default
659
659
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BMfA7KN3.cjs");function N(i,t){e.addMessages(i,t)}function se(i){e.$locale.set(i)}const q={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 de(i){e.append_styles(i,"svelte-1myc38z",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.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 R(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 ce(i){let t,l,r,o=(i[0]=="vendor"?i[11]("providers"):i[11]("collections"))+"",a,g,v,f,k,u,c=i[8]>i[9]&&E(i),p=e.ensure_array_like(i[3]),m=[];for(let d=0;d<p.length;d+=1)m[d]=V(R(i,p,d));return{c(){t=e.element("div"),l=e.element("div"),r=e.element("p"),a=e.text(o),g=e.space(),c&&c.c(),v=e.space(),f=e.element("div");for(let d=0;d<m.length;d+=1)m[d].c();e.attr(r,"class","Title"),e.attr(l,"class","CategoriesHeader"),e.attr(f,"class","CategoriesSlider"),e.add_render_callback(()=>i[27].call(f)),e.attr(t,"class",u="CasinoCollectionsProviders "+(i[10]?"Mobile":"")+" "+(i[0]==="vendor"?"Providers":"Collections"))},m(d,y){e.insert(d,t,y),e.append(t,l),e.append(l,r),e.append(r,a),e.append(l,g),c&&c.m(l,null),e.append(t,v),e.append(t,f);for(let s=0;s<m.length;s+=1)m[s]&&m[s].m(f,null);i[26](f),k=e.add_iframe_resize_listener(f,i[27].bind(f))},p(d,y){if(y[0]&2049&&o!==(o=(d[0]=="vendor"?d[11]("providers"):d[11]("collections"))+"")&&e.set_data(a,o),d[8]>d[9]?c?c.p(d,y):(c=E(d),c.c(),c.m(l,null)):c&&(c.d(1),c=null),y[0]&49166){p=e.ensure_array_like(d[3]);let s;for(s=0;s<p.length;s+=1){const h=R(d,p,s);m[s]?m[s].p(h,y):(m[s]=V(h),m[s].c(),m[s].m(f,null))}for(;s<m.length;s+=1)m[s].d(1);m.length=p.length}y[0]&1025&&u!==(u="CasinoCollectionsProviders "+(d[10]?"Mobile":"")+" "+(d[0]==="vendor"?"Providers":"Collections"))&&e.attr(t,"class",u)},d(d){d&&e.detach(t),c&&c.d(),e.destroy_each(m,d),i[26](null),k()}}}function ge(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 E(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(v,f){e.insert(v,t,f),e.append(t,l),e.append(t,r),e.append(t,o),a||(g=[e.listen(l,"click",i[22]),e.listen(o,"click",i[23])],a=!0)},p:e.noop,d(v){v&&e.detach(t),a=!1,e.run_all(g)}}}function pe(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 I(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 W(i){let t,l,r,o,a,g,v,f;function k(){return i[24](i[44])}let u=i[2]=="true"&&I(i);return{c(){t=e.element("div"),l=e.element("img"),a=e.space(),u&&u.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(c,p){e.insert(c,t,p),e.append(t,l),e.append(t,a),u&&u.m(t,null),e.append(t,g),v||(f=e.listen(l,"click",e.stop_propagation(k)),v=!0)},p(c,p){i=c,p[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.attr(l,"src",r),p[0]&8&&o!==(o=i[44].name)&&e.attr(l,"alt",o),i[2]=="true"?u?u.p(i,p):(u=I(i),u.c(),u.m(t,g)):u&&(u.d(1),u=null)},d(c){c&&e.detach(t),u&&u.d(),v=!1,f()}}}function V(i){let t,l,r,o,a,g,v,f,k;function u(s,h){if(s[1]=="logo")return ue;if(s[1]=="title")return pe}let c=u(i),p=c&&c(i),m=e.ensure_array_like(i[41].games),d=[];for(let s=0;s<m.length;s+=1)d[s]=W(U(i,m,s));function y(){return i[25](i[41])}return{c(){var s,h;t=e.element("div"),l=e.element("div"),r=e.element("div"),p&&p.c(),o=e.space(),a=e.element("div");for(let _=0;_<d.length;_+=1)d[_].c();v=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((s=i[41])==null?void 0:s.flag[0])=="vendor"?"CategorySlideNoHighlight":"")),e.set_style(l,"background-image","url("+((h=i[41])==null?void 0:h.background)+")"),e.set_style(l,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation")},m(s,h){e.insert(s,t,h),e.append(t,l),e.append(l,r),p&&p.m(r,null),e.append(l,o),e.append(l,a);for(let _=0;_<d.length;_+=1)d[_]&&d[_].m(a,null);e.append(t,v),f||(k=e.listen(l,"click",y),f=!0)},p(s,h){var _,P;if(i=s,c===(c=u(i))&&p?p.p(i,h):(p&&p.d(1),p=c&&c(i),p&&(p.c(),p.m(r,null))),h[0]&16396){m=e.ensure_array_like(i[41].games);let b;for(b=0;b<m.length;b+=1){const G=U(i,m,b);d[b]?d[b].p(G,h):(d[b]=W(G),d[b].c(),d[b].m(a,null))}for(;b<d.length;b+=1)d[b].d(1);d.length=m.length}h[0]&8&&g!==(g="CategorySlide "+(((_=i[41])==null?void 0:_.flag[0])=="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),h[0]&8&&e.set_style(l,"background-image","url("+((P=i[41])==null?void 0:P.background)+")")},d(s){s&&e.detach(t),p&&p.d(),e.destroy_each(d,s),f=!1,k()}}}function me(i){let t;function l(a,g){return a[7]?ge:ce}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[28](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[28](null)}}}function fe(i,t,l){let r;e.component_subscribe(i,e.$format,n=>l(11,r=n));let{endpoint:o=""}=t,{datasource:a=""}=t,{lang:g=""}=t,{type:v=""}=t,{titletype:f=""}=t,{clientstyling:k=""}=t,{clientstylingurl:u=""}=t,{translationurl:c=""}=t,{collectionprovidersgamenames:p=""}=t,m=[],d=!0,y,s=0,h=0,_=0,P,b,G,K=window.navigator.userAgent,M,L=0;const Z=()=>{fetch(c).then(C=>C.json()).then(C=>{Object.keys(C).forEach(w=>{N(w,C[w])})}).catch(C=>{console.log(C)})};Object.keys(q).forEach(n=>{N(n,q[n])});const J=()=>{const n=new URL(`${o}/v2/casino/groups/${a}`);n.searchParams.append("language",g),n.searchParams.append("expand","games"),fetch(n.href).then(C=>C.json()).then(C=>{l(7,d=!1);let w=C.items.filter(S=>S.flags==v);l(3,m=w.map(S=>{var O,B,A;return{id:S.id,name:S.name,icon:S.icon?S.icon:(A=(B=(O=S.vendors)==null?void 0:O.items[0])==null?void 0:B.subVendors[0])==null?void 0:A.logo,games:S.games.items.slice(0,4).map(ae=>ae),background:S.background,flag:S.flags}})),l(8,h=m.length)})},j=n=>{b=[...y.children],b.forEach((C,w)=>{C.style.transform=`translateX(${100*(n?w-n:w)}%)`}),P=b[0].getBoundingClientRect().width,X()},X=()=>{l(9,_=Math.floor(L/P))},T=()=>{j(s)},x=()=>{s===0?s=h-_:s-_<-1?s=0:s--,T()},F=()=>{s===h-_?s=0:h-_<s+1?s=h-_:s++,T()},z=(n,C,w,S)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:C,gameName:w,subVendor:S},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:`${w}`})},H=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},Y=()=>{se(g)},Q=()=>{let n=document.createElement("style");n.innerHTML=k,G.appendChild(n)},$=()=>{let n=new URL(u),C=document.createElement("style");fetch(n.href).then(w=>w.text()).then(w=>{C.innerHTML=w,setTimeout(()=>{G.appendChild(C)},1)})};e.onMount(()=>{l(10,M=e.isMobile(K))});const ee=()=>x(),te=()=>F(),ie=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>H(n.id);function ne(n){e.binding_callbacks[n?"unshift":"push"](()=>{y=n,l(4,y)})}function oe(){L=this.clientWidth,l(6,L)}function re(n){e.binding_callbacks[n?"unshift":"push"](()=>{G=n,l(5,G)})}return i.$$set=n=>{"endpoint"in n&&l(16,o=n.endpoint),"datasource"in n&&l(17,a=n.datasource),"lang"in n&&l(18,g=n.lang),"type"in n&&l(0,v=n.type),"titletype"in n&&l(1,f=n.titletype),"clientstyling"in n&&l(19,k=n.clientstyling),"clientstylingurl"in n&&l(20,u=n.clientstylingurl),"translationurl"in n&&l(21,c=n.translationurl),"collectionprovidersgamenames"in n&&l(2,p=n.collectionprovidersgamenames)},i.$$.update=()=>{i.$$.dirty[0]&458752&&o&&a&&g&&J(),i.$$.dirty[0]&88&&L&&m&&y&&j(),i.$$.dirty[0]&262144&&g&&Y(),i.$$.dirty[0]&524320&&k&&G&&Q(),i.$$.dirty[0]&1048608&&u&&G&&$(),i.$$.dirty[0]&2097152&&c&&Z()},[v,f,p,m,y,G,L,d,h,_,M,r,x,F,z,H,o,a,g,k,u,c,ee,te,ie,le,ne,oe,re]}class D extends e.SvelteComponent{constructor(t){super(),e.init(this,t,fe,me,e.safe_not_equal,{endpoint:16,datasource:17,lang:18,type:0,titletype:1,clientstyling:19,clientstylingurl:20,translationurl:21,collectionprovidersgamenames:2},de,[-1,-1])}get endpoint(){return this.$$.ctx[16]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[17]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[18]}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[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 translationurl(){return this.$$.ctx[21]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}}e.create_custom_element(D,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{}},[],[],!0);exports.default=D;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BMfA7KN3.cjs");if(typeof window!="undefined"){let i=function(e){return function(...s){try{return e.apply(this,s)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-Cy8ehDrS.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",e.element)})}function M({withLocale:i,translations:e}){t.$locale.subscribe(s=>{s==null&&(t.$dictionary.set(e),t.$locale.set(i))})}function O(i){t.append_styles(i,"svelte-1rh2qpg",".CasinoFavoritesSectionContainer{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function S(i){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",i[4]),t.set_custom_element_data(e,"userid",i[5]),t.set_custom_element_data(e,"endpoint",i[0]),t.set_custom_element_data(e,"datasource",i[1]),t.set_custom_element_data(e,"lang",i[3]),t.set_custom_element_data(e,"currency",i[2]),t.set_custom_element_data(e,"favorites",i[14]),t.set_custom_element_data(e,"fetchviaevent",i[16]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",i[11]),t.set_custom_element_data(e,"clientstyling",i[6]),t.set_custom_element_data(e,"clientstylingurl",i[7]),t.set_custom_element_data(e,"livecasino",i[8]),t.set_custom_element_data(e,"visiblegames",i[13]),t.set_custom_element_data(e,"gamepagemodalurl",i[12]),t.set_custom_element_data(e,"integratedgameframedesktop",i[10]),t.set_custom_element_data(e,"integratedgameframemobile",i[9]),t.set_custom_element_data(e,"casinomygames",i[15])},m(s,a){t.insert(s,e,a)},p(s,a){a&16&&t.set_custom_element_data(e,"session",s[4]),a&32&&t.set_custom_element_data(e,"userid",s[5]),a&1&&t.set_custom_element_data(e,"endpoint",s[0]),a&2&&t.set_custom_element_data(e,"datasource",s[1]),a&8&&t.set_custom_element_data(e,"lang",s[3]),a&4&&t.set_custom_element_data(e,"currency",s[2]),a&16384&&t.set_custom_element_data(e,"favorites",s[14]),a&65536&&t.set_custom_element_data(e,"fetchviaevent",s[16]),a&2048&&t.set_custom_element_data(e,"showgamename",s[11]),a&64&&t.set_custom_element_data(e,"clientstyling",s[6]),a&128&&t.set_custom_element_data(e,"clientstylingurl",s[7]),a&256&&t.set_custom_element_data(e,"livecasino",s[8]),a&8192&&t.set_custom_element_data(e,"visiblegames",s[13]),a&4096&&t.set_custom_element_data(e,"gamepagemodalurl",s[12]),a&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",s[10]),a&512&&t.set_custom_element_data(e,"integratedgameframemobile",s[9]),a&32768&&t.set_custom_element_data(e,"casinomygames",s[15])},d(s){s&&t.detach(e)}}}function R(i){let e,s=i[4]&&S(i);return{c(){e=t.element("div"),s&&s.c(),t.attr(e,"class","CasinoFavoritesSectionContainer")},m(a,m){t.insert(a,e,m),s&&s.m(e,null),i[18](e)},p(a,[m]){a[4]?s?s.p(a,m):(s=S(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:t.noop,o:t.noop,d(a){a&&t.detach(e),s&&s.d(),i[18](null)}}}function A(i,e,s){let{endpoint:a=""}=e,{datasource:m=""}=e,{currency:g=""}=e,{lang:r=""}=e,{session:f=""}=e,{userid:_=""}=e,{clientstyling:o=""}=e,{clientstylingurl:c=""}=e,{livecasino:d="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:y="false"}=e,{showgamename:v=""}=e,{gamepagemodalurl:b="false"}=e,{visiblegames:w=""}=e,{favorites:C=""}=e,{casinomygames:k="false"}=e,{fetchviaevent:F="true"}=e,l;M({withLocale:"en",translations:{}});const L=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},T=()=>{let n=document.createElement("style");fetch(new URL(c)).then(u=>u.text()).then(u=>{n.innerHTML=u,setTimeout(()=>{l.appendChild(n)},1)})};function q(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(17,l)})}return i.$$set=n=>{"endpoint"in n&&s(0,a=n.endpoint),"datasource"in n&&s(1,m=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,c=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,v=n.showgamename),"gamepagemodalurl"in n&&s(12,b=n.gamepagemodalurl),"visiblegames"in n&&s(13,w=n.visiblegames),"favorites"in n&&s(14,C=n.favorites),"casinomygames"in n&&s(15,k=n.casinomygames),"fetchviaevent"in n&&s(16,F=n.fetchviaevent)},i.$$.update=()=>{i.$$.dirty&131136&&o&&l&&L(),i.$$.dirty&131200&&c&&l&&T()},[a,m,g,r,f,_,o,c,d,h,y,v,b,w,C,k,F,l,q]}class E extends t.SvelteComponent{constructor(e){super(),t.init(this,e,A,R,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},O)}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()}}t.create_custom_element(E,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},showgamename:{},gamepagemodalurl:{},visiblegames:{},favorites:{},casinomygames:{},fetchviaevent:{}},[],[],!0);exports.default=E;