@everymatrix/casino-lobby 1.45.0 → 1.45.3

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 (84) hide show
  1. package/components/{CasinoCalendar-DEhfBjpm.js → CasinoCalendar-3HRZGpnG.js} +57 -61
  2. package/components/{CasinoCalendar-egUFg4eK.cjs → CasinoCalendar-9cVNHt1-.cjs} +5 -5
  3. package/components/CasinoCalendarDailyDetails-Dcf0TKzH.cjs +1 -0
  4. package/components/CasinoCalendarDailyDetails-MwTyCObT.js +605 -0
  5. package/components/CasinoCalendarDailyItem-B-h-76yh.js +220 -0
  6. package/components/CasinoCalendarDailyItem-Cahte_IM.cjs +1 -0
  7. package/components/{CasinoCategoriesSlider-BfuTLKom.cjs → CasinoCategoriesSlider-AAgG2_xb.cjs} +1 -1
  8. package/components/{CasinoCategoriesSlider-BQvWcqNm.js → CasinoCategoriesSlider-B3Aneyii.js} +2 -2
  9. package/components/CasinoCollectionsProviders-BvEenHqO.cjs +1 -0
  10. package/components/CasinoCollectionsProviders-D-DgSMvu.js +659 -0
  11. package/components/CasinoFavoritesSection-CxQ69OwL.cjs +1 -0
  12. package/components/{CasinoFavoritesSection-BBWM7_dI.js → CasinoFavoritesSection-DE0M_xZ_.js} +8 -8
  13. package/components/CasinoFilter-BWEtfBml.js +628 -0
  14. package/components/CasinoFilter-Bdc0mE0X.cjs +1 -0
  15. package/components/{CasinoGamePage-BHxY5XUD.cjs → CasinoGamePage-C4x_GUg3.cjs} +5 -5
  16. package/components/CasinoGamePage-r1xLmvzf.js +4282 -0
  17. package/components/CasinoGameThumbnail-BG_6FsqW.cjs +38 -0
  18. package/components/CasinoGameThumbnail-wQFR0AuM.js +1822 -0
  19. package/components/CasinoGamesCategorySection-BGgw1sdg.cjs +1 -0
  20. package/components/CasinoGamesCategorySection-Cbto2aD4.js +3018 -0
  21. package/components/CasinoJackpotBanner-BftFjZpI.cjs +1 -0
  22. package/components/CasinoJackpotBanner-D1RCyJGt.js +615 -0
  23. package/components/{CasinoLastPlayedSection-Dkh43VxC.js → CasinoLastPlayedSection-CAirOYgJ.js} +31 -31
  24. package/components/CasinoLastPlayedSection-Dm6f8H02.cjs +1 -0
  25. package/components/{CasinoLobby-Djp4HDWL.js → CasinoLobby-Cq0Hm2md.js} +88 -92
  26. package/components/CasinoLobby-CvaYUpUV.cjs +1 -0
  27. package/components/CasinoModal-CZbdtmLm.js +372 -0
  28. package/components/CasinoModal-DqBbtAjA.cjs +1 -0
  29. package/components/CasinoMostPlayedSection-DTXKjmPl.cjs +1 -0
  30. package/components/{CasinoMostPlayedSection-BDP2HyE6.js → CasinoMostPlayedSection-k3_ln2SB.js} +58 -58
  31. package/components/CasinoMyGames-CVTzyBkk.cjs +1 -0
  32. package/components/{CasinoMyGames-CILl0Jt1.js → CasinoMyGames-DcJpzIEq.js} +385 -385
  33. package/components/{CasinoPage-CCcJd2fQ.js → CasinoPage-BbRpHGEc.js} +1171 -1171
  34. package/components/CasinoPage-srXwB6ik.cjs +1 -0
  35. package/components/CasinoRandomGame-BSD5DYtt.js +641 -0
  36. package/components/CasinoRandomGame-CNdoKY0C.cjs +2 -0
  37. package/components/CasinoSearch-BsgUvsbs.js +1062 -0
  38. package/components/CasinoSearch-CMn_5Aa4.cjs +1 -0
  39. package/components/CasinoSlider-D5B-CjPM.js +803 -0
  40. package/components/CasinoSlider-kzZxK81G.cjs +1 -0
  41. package/components/CasinoSort-9pQqbHyF.cjs +1 -0
  42. package/components/CasinoSort-T6UQhFka.js +425 -0
  43. package/components/CasinoWinners-CD5HS4Gb.cjs +1 -0
  44. package/components/CasinoWinners-auSd-4D9.js +884 -0
  45. package/components/GeneralAnimationLoading-CIYgtCsE.cjs +1 -0
  46. package/components/GeneralAnimationLoading-DRiG33XR.js +75 -0
  47. package/es2015/casino-lobby.cjs +1 -1
  48. package/es2015/casino-lobby.js +1 -1
  49. package/package.json +2 -2
  50. package/components/CasinoCalendarDailyDetails-CfTziMCu.js +0 -605
  51. package/components/CasinoCalendarDailyDetails-KP4_YYmO.cjs +0 -1
  52. package/components/CasinoCalendarDailyItem-4bXAKAZj.cjs +0 -1
  53. package/components/CasinoCalendarDailyItem-CQ8syIIe.js +0 -220
  54. package/components/CasinoCollectionsProviders-C9_6w0OJ.cjs +0 -1
  55. package/components/CasinoCollectionsProviders-CwJY8Pmw.js +0 -659
  56. package/components/CasinoFavoritesSection-Da0-zSyn.cjs +0 -1
  57. package/components/CasinoFilter-BkpU5f2V.cjs +0 -1
  58. package/components/CasinoFilter-D3p7c7qu.js +0 -628
  59. package/components/CasinoGamePage-Bp4OKmdA.js +0 -4282
  60. package/components/CasinoGameThumbnail-BmmqFK_6.js +0 -1822
  61. package/components/CasinoGameThumbnail-DVMHCqZf.cjs +0 -38
  62. package/components/CasinoGamesCategorySection-6X3_pD0A.js +0 -3022
  63. package/components/CasinoGamesCategorySection-CasxxP7n.cjs +0 -1
  64. package/components/CasinoJackpotBanner-8_TAP4xY.cjs +0 -1
  65. package/components/CasinoJackpotBanner-wk2wOmJp.js +0 -619
  66. package/components/CasinoLastPlayedSection-DvORiff-.cjs +0 -1
  67. package/components/CasinoLobby-Jn45jhzr.cjs +0 -1
  68. package/components/CasinoModal-BebrYWjS.cjs +0 -1
  69. package/components/CasinoModal-CSwMAX-g.js +0 -372
  70. package/components/CasinoMostPlayedSection-CF5vlzLT.cjs +0 -1
  71. package/components/CasinoMyGames-shcqTml8.cjs +0 -1
  72. package/components/CasinoPage-DZmE3VFL.cjs +0 -1
  73. package/components/CasinoRandomGame-4mi3rRbq.js +0 -641
  74. package/components/CasinoRandomGame-G4VfFJ2L.cjs +0 -2
  75. package/components/CasinoSearch-CW-eesDy.cjs +0 -1
  76. package/components/CasinoSearch-DkEAmw-j.js +0 -1066
  77. package/components/CasinoSlider-CNWDP_I-.js +0 -803
  78. package/components/CasinoSlider-CjA8vWoz.cjs +0 -1
  79. package/components/CasinoSort-BVh0Ouwu.cjs +0 -1
  80. package/components/CasinoSort-CPcJqhWU.js +0 -425
  81. package/components/CasinoWinners-BTNdGlUD.cjs +0 -1
  82. package/components/CasinoWinners-DSsJp1KQ.js +0 -884
  83. package/components/GeneralAnimationLoading-BtIh_bSy.js +0 -75
  84. package/components/GeneralAnimationLoading-CEAKVCu9.cjs +0 -1
@@ -1,659 +0,0 @@
1
- import { I as qe, $ as we, S as Se, i as ke, f as L, c as Ge, s as Pe, b as Le, e as C, d as g, g as M, C as z, k as j, J as Me, o as je, m as Te, n as X, q as H, u as N, r as T, P as xe, v as _, Q as Fe, A as R, B as ae, w as O, R as ze, G as A, O as He, D as B, T as Oe } from "./CasinoCalendar-DEhfBjpm.js";
2
- function Y(t, e) {
3
- qe(t, e);
4
- }
5
- function Be(t) {
6
- we.set(t);
7
- }
8
- const $ = {
9
- en: {
10
- collections: "Game Collections",
11
- providers: "Game Providers",
12
- loading: "Loading, please wait ..."
13
- },
14
- "zh-hk": {
15
- collections: "收藏品",
16
- providers: "供应商",
17
- loading: "加載請稍候 ..."
18
- },
19
- de: {
20
- collections: "Game Collections",
21
- providers: "Game Providers",
22
- loading: "Laden, bitte warten..."
23
- },
24
- it: {
25
- collections: "Game Collections",
26
- providers: "Game Providers",
27
- loading: "Loading, please wait ..."
28
- },
29
- fr: {
30
- collections: "Collections",
31
- providers: "Fournisseurs",
32
- loading: "Chargement, veuillez patienter ..."
33
- },
34
- es: {
35
- collections: "Colecciones de juegos",
36
- providers: "Proveedores de juegos",
37
- loading: "Cargando…"
38
- },
39
- el: {
40
- collections: "Game Collections",
41
- providers: "Game Providers",
42
- loading: "Φορτώνει, παρακαλούμε περιμένετε ..."
43
- },
44
- tr: {
45
- collections: "Oyun Koleksiyonları",
46
- providers: "Oyun Sağlayıcıları",
47
- loading: "Yükleniyor, lütfen bekleyin..."
48
- },
49
- ru: {
50
- collections: "Game Collections",
51
- providers: "Game Providers",
52
- loading: "Loading, please wait ..."
53
- },
54
- ro: {
55
- collections: "Selectie Jocuri",
56
- providers: "Furnizori",
57
- loading: "Se încarcă, asteptati ..."
58
- },
59
- hr: {
60
- collections: "Kolekcije igara",
61
- providers: "Brendovi igara",
62
- loading: "Učitavam"
63
- },
64
- hu: {
65
- collections: "Game Collections",
66
- providers: "Game Providers",
67
- loading: "Betöltés, kérjük várjon..."
68
- },
69
- pl: {
70
- collections: "Game Collections",
71
- providers: "Game Providers",
72
- loading: "Loading, please wait ..."
73
- },
74
- pt: {
75
- collections: "Game Collections",
76
- providers: "Game Providers",
77
- loading: "Carregando, por favor espere ..."
78
- },
79
- sl: {
80
- collections: "Game Collections",
81
- providers: "Game Providers",
82
- loading: "Loading, please wait ..."
83
- },
84
- sr: {
85
- collections: "Game Collections",
86
- providers: "Game Providers",
87
- loading: "Loading, please wait ..."
88
- },
89
- "pt-br": {
90
- collections: "Coleções de jogos",
91
- providers: "Provedores de jogos",
92
- Loading: "Carregando, por favor espere..."
93
- },
94
- "es-mx": {
95
- collections: "Colecciones de juego",
96
- providers: "Proveedores de juego",
97
- Loading: "Cargando, por favor espere..."
98
- }
99
- };
100
- function Ae(t) {
101
- Le(t, "svelte-5qs4ma", '.svelte-5qs4ma.svelte-5qs4ma,.svelte-5qs4ma.svelte-5qs4ma::before,.svelte-5qs4ma.svelte-5qs4ma::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders.svelte-5qs4ma.svelte-5qs4ma{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader.svelte-5qs4ma.svelte-5qs4ma{display:flex;justify-content:space-between;height:70px}.CategoriesHeader.svelte-5qs4ma .Title.svelte-5qs4ma{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader.svelte-5qs4ma .ButtonsContainer button.svelte-5qs4ma{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.svelte-5qs4ma .ButtonsContainer button.svelte-5qs4ma:active{opacity:0.7}.CategoriesSlider.svelte-5qs4ma.svelte-5qs4ma{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper.svelte-5qs4ma.svelte-5qs4ma{position:absolute;top:0;left:0}.CategoriesSlider.svelte-5qs4ma .Animation.svelte-5qs4ma{transition:transform 0.8s}.CategoriesSlider.svelte-5qs4ma .CategorySlide.svelte-5qs4ma{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.svelte-5qs4ma .CategorySlide.svelte-5qs4ma:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider.svelte-5qs4ma .CategorySlideTopContainer.svelte-5qs4ma{height:100px;display:flex;align-items:center}.CategoriesSlider.svelte-5qs4ma .CategorySlideLogo.svelte-5qs4ma{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider.svelte-5qs4ma .CategorySlideTitle.svelte-5qs4ma{color:var(--emfe-w-casino-typography, var(--emfe-w-color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider.svelte-5qs4ma .CategorySlideGameContainer.svelte-5qs4ma{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider.svelte-5qs4ma .CategorySlideGameImage.svelte-5qs4ma{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider.svelte-5qs4ma .CategorySlideGames.svelte-5qs4ma{color:white;text-align:center}.CategoriesSlider.svelte-5qs4ma .CategorySlideGames p.svelte-5qs4ma{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers.svelte-5qs4ma.svelte-5qs4ma{padding:25px 10px}.Mobile.Collections.svelte-5qs4ma.svelte-5qs4ma{padding:25px 10px}.Mobile.CasinoCollectionsProviders.svelte-5qs4ma.svelte-5qs4ma{padding:25px 10px}.Mobile.svelte-5qs4ma .CategoriesSlider.svelte-5qs4ma{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile.svelte-5qs4ma .CategoriesSlider.svelte-5qs4ma::-webkit-scrollbar{display:none}.Mobile.svelte-5qs4ma .CategorySlide.svelte-5qs4ma{width:80vw;scroll-snap-align:start}.Mobile.svelte-5qs4ma .ButtonsContainer.svelte-5qs4ma{display:none}.Mobile.svelte-5qs4ma .CategorySlideGameImage.svelte-5qs4ma{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner.svelte-5qs4ma.svelte-5qs4ma{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner.svelte-5qs4ma.svelte-5qs4ma:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:svelte-5qs4ma-LoadingSpinner 1.2s linear infinite}@keyframes svelte-5qs4ma-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
102
- }
103
- function ee(t, e, l) {
104
- const o = t.slice();
105
- return o[41] = e[l], o;
106
- }
107
- function te(t, e, l) {
108
- const o = t.slice();
109
- return o[44] = e[l], o;
110
- }
111
- function Ne(t) {
112
- let e, l, o, i = (
113
- /*type*/
114
- (t[0] == "vendor" ? (
115
- /*$_*/
116
- t[11]("providers")
117
- ) : (
118
- /*$_*/
119
- t[11]("collections")
120
- )) + ""
121
- ), a, d, b, f, k, v, c = (
122
- /*numberOfSlides*/
123
- t[8] > /*numberOfVisibleSlides*/
124
- t[9] && le(t)
125
- ), m = H(
126
- /*gameCategories*/
127
- t[3]
128
- ), u = [];
129
- for (let r = 0; r < m.length; r += 1)
130
- u[r] = oe(ee(t, m, r));
131
- return {
132
- c() {
133
- e = C("div"), l = C("div"), o = C("p"), a = N(i), d = T(), c && c.c(), b = T(), f = C("div");
134
- for (let r = 0; r < u.length; r += 1)
135
- u[r].c();
136
- g(o, "class", "Title svelte-5qs4ma"), g(l, "class", "CategoriesHeader svelte-5qs4ma"), g(f, "class", "CategoriesSlider svelte-5qs4ma"), xe(() => (
137
- /*div1_elementresize_handler*/
138
- t[27].call(f)
139
- )), g(e, "class", v = "CasinoCollectionsProviders " + /*mobile*/
140
- (t[10] ? "Mobile" : "") + " " + /*type*/
141
- (t[0] === "vendor" ? "Providers" : "Collections") + " svelte-5qs4ma");
142
- },
143
- m(r, w) {
144
- M(r, e, w), _(e, l), _(l, o), _(o, a), _(l, d), c && c.m(l, null), _(e, b), _(e, f);
145
- for (let n = 0; n < u.length; n += 1)
146
- u[n] && u[n].m(f, null);
147
- t[26](f), k = Fe(
148
- f,
149
- /*div1_elementresize_handler*/
150
- t[27].bind(f)
151
- );
152
- },
153
- p(r, w) {
154
- if (w[0] & /*type, $_*/
155
- 2049 && i !== (i = /*type*/
156
- (r[0] == "vendor" ? (
157
- /*$_*/
158
- r[11]("providers")
159
- ) : (
160
- /*$_*/
161
- r[11]("collections")
162
- )) + "") && R(a, i), /*numberOfSlides*/
163
- r[8] > /*numberOfVisibleSlides*/
164
- r[9] ? c ? c.p(r, w) : (c = le(r), c.c(), c.m(l, null)) : c && (c.d(1), c = null), w[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
165
- 49166) {
166
- m = H(
167
- /*gameCategories*/
168
- r[3]
169
- );
170
- let n;
171
- for (n = 0; n < m.length; n += 1) {
172
- const p = ee(r, m, n);
173
- u[n] ? u[n].p(p, w) : (u[n] = oe(p), u[n].c(), u[n].m(f, null));
174
- }
175
- for (; n < u.length; n += 1)
176
- u[n].d(1);
177
- u.length = m.length;
178
- }
179
- w[0] & /*mobile, type*/
180
- 1025 && v !== (v = "CasinoCollectionsProviders " + /*mobile*/
181
- (r[10] ? "Mobile" : "") + " " + /*type*/
182
- (r[0] === "vendor" ? "Providers" : "Collections") + " svelte-5qs4ma") && g(e, "class", v);
183
- },
184
- d(r) {
185
- r && j(e), c && c.d(), ae(u, r), t[26](null), k();
186
- }
187
- };
188
- }
189
- function Re(t) {
190
- let e;
191
- return {
192
- c() {
193
- e = C("div"), g(e, "class", "LoadingSpinner svelte-5qs4ma");
194
- },
195
- m(l, o) {
196
- M(l, e, o);
197
- },
198
- p: z,
199
- d(l) {
200
- l && j(e);
201
- }
202
- };
203
- }
204
- function le(t) {
205
- let e, l, o, i, a, d;
206
- return {
207
- c() {
208
- e = C("div"), l = C("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" class="svelte-5qs4ma"><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" class="svelte-5qs4ma"></path></svg>', o = T(), 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" class="svelte-5qs4ma"><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" class="svelte-5qs4ma"></path></svg>', g(l, "class", "svelte-5qs4ma"), g(i, "class", "svelte-5qs4ma"), g(e, "class", "ButtonsContainer svelte-5qs4ma");
209
- },
210
- m(b, f) {
211
- M(b, e, f), _(e, l), _(e, o), _(e, i), a || (d = [
212
- O(
213
- l,
214
- "click",
215
- /*click_handler*/
216
- t[22]
217
- ),
218
- O(
219
- i,
220
- "click",
221
- /*click_handler_1*/
222
- t[23]
223
- )
224
- ], a = !0);
225
- },
226
- p: z,
227
- d(b) {
228
- b && j(e), a = !1, ze(d);
229
- }
230
- };
231
- }
232
- function Ie(t) {
233
- let e, l = (
234
- /*category*/
235
- t[41].name + ""
236
- ), o;
237
- return {
238
- c() {
239
- e = C("p"), o = N(l), g(e, "class", "CategorySlideTitle svelte-5qs4ma");
240
- },
241
- m(i, a) {
242
- M(i, e, a), _(e, o);
243
- },
244
- p(i, a) {
245
- a[0] & /*gameCategories*/
246
- 8 && l !== (l = /*category*/
247
- i[41].name + "") && R(o, l);
248
- },
249
- d(i) {
250
- i && j(e);
251
- }
252
- };
253
- }
254
- function Ue(t) {
255
- let e, l, o;
256
- return {
257
- c() {
258
- e = C("img"), g(e, "class", "CategorySlideLogo svelte-5qs4ma"), B(e.src, l = /*category*/
259
- t[41].icon) || g(e, "src", l), g(e, "alt", o = /*category*/
260
- t[41].name + " icon");
261
- },
262
- m(i, a) {
263
- M(i, e, a);
264
- },
265
- p(i, a) {
266
- a[0] & /*gameCategories*/
267
- 8 && !B(e.src, l = /*category*/
268
- i[41].icon) && g(e, "src", l), a[0] & /*gameCategories*/
269
- 8 && o !== (o = /*category*/
270
- i[41].name + " icon") && g(e, "alt", o);
271
- },
272
- d(i) {
273
- i && j(e);
274
- }
275
- };
276
- }
277
- function se(t) {
278
- let e, l = (
279
- /*game*/
280
- t[44].name + ""
281
- ), o, i;
282
- return {
283
- c() {
284
- e = C("p"), o = N(l), g(e, "title", i = /*game*/
285
- t[44].name), g(e, "class", "svelte-5qs4ma");
286
- },
287
- m(a, d) {
288
- M(a, e, d), _(e, o);
289
- },
290
- p(a, d) {
291
- d[0] & /*gameCategories*/
292
- 8 && l !== (l = /*game*/
293
- a[44].name + "") && R(o, l), d[0] & /*gameCategories*/
294
- 8 && i !== (i = /*game*/
295
- a[44].name) && g(e, "title", i);
296
- },
297
- d(a) {
298
- a && j(e);
299
- }
300
- };
301
- }
302
- function ie(t) {
303
- let e, l, o, i, a, d, b, f;
304
- function k() {
305
- return (
306
- /*click_handler_2*/
307
- t[24](
308
- /*game*/
309
- t[44]
310
- )
311
- );
312
- }
313
- let v = (
314
- /*collectionprovidersgamenames*/
315
- t[2] == "true" && se(t)
316
- );
317
- return {
318
- c() {
319
- e = C("div"), l = C("img"), a = T(), v && v.c(), d = T(), g(l, "class", "CategorySlideGameImage svelte-5qs4ma"), B(l.src, o = /*game*/
320
- t[44].defaultThumbnail) || g(l, "src", o), g(l, "alt", i = /*game*/
321
- t[44].name), g(e, "class", "CategorySlideGames svelte-5qs4ma");
322
- },
323
- m(c, m) {
324
- M(c, e, m), _(e, l), _(e, a), v && v.m(e, null), _(e, d), b || (f = O(l, "click", Oe(k)), b = !0);
325
- },
326
- p(c, m) {
327
- t = c, m[0] & /*gameCategories*/
328
- 8 && !B(l.src, o = /*game*/
329
- t[44].defaultThumbnail) && g(l, "src", o), m[0] & /*gameCategories*/
330
- 8 && i !== (i = /*game*/
331
- t[44].name) && g(l, "alt", i), /*collectionprovidersgamenames*/
332
- t[2] == "true" ? v ? v.p(t, m) : (v = se(t), v.c(), v.m(e, d)) : v && (v.d(1), v = null);
333
- },
334
- d(c) {
335
- c && j(e), v && v.d(), b = !1, f();
336
- }
337
- };
338
- }
339
- function oe(t) {
340
- let e, l, o, i, a, d, b, f, k;
341
- function v(n, p) {
342
- if (
343
- /*titletype*/
344
- n[1] == "logo"
345
- ) return Ue;
346
- if (
347
- /*titletype*/
348
- n[1] == "title"
349
- ) return Ie;
350
- }
351
- let c = v(t), m = c && c(t), u = H(
352
- /*category*/
353
- t[41].games
354
- ), r = [];
355
- for (let n = 0; n < u.length; n += 1)
356
- r[n] = ie(te(t, u, n));
357
- function w() {
358
- return (
359
- /*click_handler_3*/
360
- t[25](
361
- /*category*/
362
- t[41]
363
- )
364
- );
365
- }
366
- return {
367
- c() {
368
- var n, p;
369
- e = C("div"), l = C("div"), o = C("div"), m && m.c(), i = T(), a = C("div");
370
- for (let h = 0; h < r.length; h += 1)
371
- r[h].c();
372
- b = T(), g(o, "class", "CategorySlideTopContainer svelte-5qs4ma"), g(a, "class", "CategorySlideGameContainer svelte-5qs4ma"), g(l, "class", d = "CategorySlide " + /*category*/
373
- (((n = t[41]) == null ? void 0 : n.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "") + " svelte-5qs4ma"), A(l, "background-image", "url(" + /*category*/
374
- ((p = t[41]) == null ? void 0 : p.background) + ")"), A(l, "background-size", "cover"), g(e, "class", "CategoriesSliderWrapper Animation svelte-5qs4ma");
375
- },
376
- m(n, p) {
377
- M(n, e, p), _(e, l), _(l, o), m && m.m(o, null), _(l, i), _(l, a);
378
- for (let h = 0; h < r.length; h += 1)
379
- r[h] && r[h].m(a, null);
380
- _(e, b), f || (k = O(l, "click", w), f = !0);
381
- },
382
- p(n, p) {
383
- var h, x;
384
- if (t = n, c === (c = v(t)) && m ? m.p(t, p) : (m && m.d(1), m = c && c(t), m && (m.c(), m.m(o, null))), p[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
385
- 16396) {
386
- u = H(
387
- /*category*/
388
- t[41].games
389
- );
390
- let q;
391
- for (q = 0; q < u.length; q += 1) {
392
- const P = te(t, u, q);
393
- r[q] ? r[q].p(P, p) : (r[q] = ie(P), r[q].c(), r[q].m(a, null));
394
- }
395
- for (; q < r.length; q += 1)
396
- r[q].d(1);
397
- r.length = u.length;
398
- }
399
- p[0] & /*gameCategories*/
400
- 8 && d !== (d = "CategorySlide " + /*category*/
401
- (((h = t[41]) == null ? void 0 : h.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "") + " svelte-5qs4ma") && g(l, "class", d), p[0] & /*gameCategories*/
402
- 8 && A(l, "background-image", "url(" + /*category*/
403
- ((x = t[41]) == null ? void 0 : x.background) + ")");
404
- },
405
- d(n) {
406
- n && j(e), m && m.d(), ae(r, n), f = !1, k();
407
- }
408
- };
409
- }
410
- function Ee(t) {
411
- let e;
412
- function l(a, d) {
413
- return (
414
- /*isLoading*/
415
- a[7] ? Re : Ne
416
- );
417
- }
418
- let o = l(t), i = o(t);
419
- return {
420
- c() {
421
- e = C("div"), i.c(), g(e, "class", "svelte-5qs4ma");
422
- },
423
- m(a, d) {
424
- M(a, e, d), i.m(e, null), t[28](e);
425
- },
426
- p(a, d) {
427
- o === (o = l(a)) && i ? i.p(a, d) : (i.d(1), i = o(a), i && (i.c(), i.m(e, null)));
428
- },
429
- i: z,
430
- o: z,
431
- d(a) {
432
- a && j(e), i.d(), t[28](null);
433
- }
434
- };
435
- }
436
- function We(t, e, l) {
437
- let o;
438
- Me(t, He, (s) => l(11, o = s));
439
- let { endpoint: i = "" } = e, { datasource: a = "" } = e, { lang: d = "" } = e, { type: b = "" } = e, { titletype: f = "" } = e, { clientstyling: k = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: c = "" } = e, { collectionprovidersgamenames: m = "" } = e, u = [], r = !0, w, n = 0, p = 0, h = 0, x, q, P, ne = window.navigator.userAgent, I, F = 0;
440
- const re = () => {
441
- fetch(c).then((y) => y.json()).then((y) => {
442
- Object.keys(y).forEach((S) => {
443
- Y(S, y[S]);
444
- });
445
- }).catch((y) => {
446
- console.log(y);
447
- });
448
- };
449
- Object.keys($).forEach((s) => {
450
- Y(s, $[s]);
451
- });
452
- const ce = () => {
453
- const s = new URL(`${i}/v2/casino/groups/${a}`);
454
- s.searchParams.append("language", d), s.searchParams.append("expand", "games"), fetch(s.href).then((y) => y.json()).then((y) => {
455
- l(7, r = !1);
456
- let S = y.items.filter((G) => G.flags == b);
457
- l(3, u = S.map((G) => {
458
- var K, Z, Q;
459
- return {
460
- id: G.id,
461
- name: G.name,
462
- icon: G.icon ? G.icon : (Q = (Z = (K = G.vendors) == null ? void 0 : K.items[0]) == null ? void 0 : Z.subVendors[0]) == null ? void 0 : Q.logo,
463
- games: G.games.items.slice(0, 4).map((ye) => ye),
464
- background: G.background,
465
- flag: G.flags
466
- };
467
- })), l(8, p = u.length);
468
- });
469
- }, U = (s) => {
470
- q = [...w.children], q.forEach((y, S) => {
471
- y.style.transform = `translateX(${100 * (s ? S - s : S)}%)`;
472
- }), x = q[0].getBoundingClientRect().width, de();
473
- }, de = () => {
474
- l(9, h = Math.floor(F / x));
475
- }, E = () => {
476
- U(n);
477
- }, W = () => {
478
- n === 0 ? n = p - h : n - h < -1 ? n = 0 : n--, E();
479
- }, D = () => {
480
- n === p - h ? n = 0 : p - h < n + 1 ? n = p - h : n++, E();
481
- }, V = (s, y, S, G) => {
482
- window.postMessage(
483
- {
484
- type: "OpenCollectionsProvidersGame",
485
- gameId: s,
486
- launchUrl: y,
487
- gameName: S,
488
- subVendor: G
489
- },
490
- window.location.href
491
- ), typeof gtag == "function" && gtag("event", "OpenGame", {
492
- context: "CollectionsProviders",
493
- gameName: `${S}`
494
- });
495
- }, J = (s) => {
496
- window.postMessage(
497
- {
498
- type: "OpenCollectionsProvidersCategory",
499
- categoryId: s
500
- },
501
- window.location.href
502
- );
503
- }, me = () => {
504
- Be(d);
505
- }, ge = () => {
506
- let s = document.createElement("style");
507
- s.innerHTML = k, P.appendChild(s);
508
- }, ve = () => {
509
- let s = new URL(v), y = document.createElement("style");
510
- fetch(s.href).then((S) => S.text()).then((S) => {
511
- y.innerHTML = S, setTimeout(
512
- () => {
513
- P.appendChild(y);
514
- },
515
- 1
516
- );
517
- });
518
- };
519
- je(() => {
520
- l(10, I = Te(ne));
521
- });
522
- const ue = () => W(), fe = () => D(), pe = (s) => V(s.gameId, s.launchUrl, s.name, s.subVendor), he = (s) => J(s.id);
523
- function _e(s) {
524
- X[s ? "unshift" : "push"](() => {
525
- w = s, l(4, w);
526
- });
527
- }
528
- function Ce() {
529
- F = this.clientWidth, l(6, F);
530
- }
531
- function be(s) {
532
- X[s ? "unshift" : "push"](() => {
533
- P = s, l(5, P);
534
- });
535
- }
536
- return t.$$set = (s) => {
537
- "endpoint" in s && l(16, i = s.endpoint), "datasource" in s && l(17, a = s.datasource), "lang" in s && l(18, d = s.lang), "type" in s && l(0, b = s.type), "titletype" in s && l(1, f = s.titletype), "clientstyling" in s && l(19, k = s.clientstyling), "clientstylingurl" in s && l(20, v = s.clientstylingurl), "translationurl" in s && l(21, c = s.translationurl), "collectionprovidersgamenames" in s && l(2, m = s.collectionprovidersgamenames);
538
- }, t.$$.update = () => {
539
- t.$$.dirty[0] & /*endpoint, datasource, lang*/
540
- 458752 && i && a && d && ce(), t.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
541
- 88 && F && u && w && U(), t.$$.dirty[0] & /*lang*/
542
- 262144 && d && me(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
543
- 524320 && k && P && ge(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
544
- 1048608 && v && P && ve(), t.$$.dirty[0] & /*translationurl*/
545
- 2097152 && c && re();
546
- }, [
547
- b,
548
- f,
549
- m,
550
- u,
551
- w,
552
- P,
553
- F,
554
- r,
555
- p,
556
- h,
557
- I,
558
- o,
559
- W,
560
- D,
561
- V,
562
- J,
563
- i,
564
- a,
565
- d,
566
- k,
567
- v,
568
- c,
569
- ue,
570
- fe,
571
- pe,
572
- he,
573
- _e,
574
- Ce,
575
- be
576
- ];
577
- }
578
- class De extends Se {
579
- constructor(e) {
580
- super(), ke(
581
- this,
582
- e,
583
- We,
584
- Ee,
585
- Pe,
586
- {
587
- endpoint: 16,
588
- datasource: 17,
589
- lang: 18,
590
- type: 0,
591
- titletype: 1,
592
- clientstyling: 19,
593
- clientstylingurl: 20,
594
- translationurl: 21,
595
- collectionprovidersgamenames: 2
596
- },
597
- Ae,
598
- [-1, -1]
599
- );
600
- }
601
- get endpoint() {
602
- return this.$$.ctx[16];
603
- }
604
- set endpoint(e) {
605
- this.$$set({ endpoint: e }), L();
606
- }
607
- get datasource() {
608
- return this.$$.ctx[17];
609
- }
610
- set datasource(e) {
611
- this.$$set({ datasource: e }), L();
612
- }
613
- get lang() {
614
- return this.$$.ctx[18];
615
- }
616
- set lang(e) {
617
- this.$$set({ lang: e }), L();
618
- }
619
- get type() {
620
- return this.$$.ctx[0];
621
- }
622
- set type(e) {
623
- this.$$set({ type: e }), L();
624
- }
625
- get titletype() {
626
- return this.$$.ctx[1];
627
- }
628
- set titletype(e) {
629
- this.$$set({ titletype: e }), L();
630
- }
631
- get clientstyling() {
632
- return this.$$.ctx[19];
633
- }
634
- set clientstyling(e) {
635
- this.$$set({ clientstyling: e }), L();
636
- }
637
- get clientstylingurl() {
638
- return this.$$.ctx[20];
639
- }
640
- set clientstylingurl(e) {
641
- this.$$set({ clientstylingurl: e }), L();
642
- }
643
- get translationurl() {
644
- return this.$$.ctx[21];
645
- }
646
- set translationurl(e) {
647
- this.$$set({ translationurl: e }), L();
648
- }
649
- get collectionprovidersgamenames() {
650
- return this.$$.ctx[2];
651
- }
652
- set collectionprovidersgamenames(e) {
653
- this.$$set({ collectionprovidersgamenames: e }), L();
654
- }
655
- }
656
- Ge(De, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {} }, [], [], !0);
657
- export {
658
- De as default
659
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-egUFg4eK.cjs");if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-CasxxP7n.cjs")).then(({default:t})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",t.element)})}function M({withLocale:a,translations:t}){e.$locale.subscribe(s=>{s==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function q(a){e.append_styles(a,"svelte-g88cii",".CasinoFavoritesSectionContainer.svelte-g88cii{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}")}function O(a){let t,s;return{c(){t=e.element("div"),s=e.element("casino-games-category-section"),e.set_custom_element_data(s,"session",a[4]),e.set_custom_element_data(s,"userid",a[5]),e.set_custom_element_data(s,"endpoint",a[0]),e.set_custom_element_data(s,"datasource",a[1]),e.set_custom_element_data(s,"lang",a[3]),e.set_custom_element_data(s,"currency",a[2]),e.set_custom_element_data(s,"favorites",a[14]),e.set_custom_element_data(s,"fetchviaevent",a[16]),e.set_custom_element_data(s,"categoryid","FAVORITES"),e.set_custom_element_data(s,"class","CategoryContainer"),e.set_custom_element_data(s,"showgamename",a[11]),e.set_custom_element_data(s,"clientstyling",a[6]),e.set_custom_element_data(s,"clientstylingurl",a[7]),e.set_custom_element_data(s,"livecasino",a[8]),e.set_custom_element_data(s,"visiblegames",a[13]),e.set_custom_element_data(s,"gamepagemodalurl",a[12]),e.set_custom_element_data(s,"integratedgameframedesktop",a[10]),e.set_custom_element_data(s,"integratedgameframemobile",a[9]),e.set_custom_element_data(s,"casinomygames",a[15]),e.attr(t,"class","CasinoFavoritesSectionContainer svelte-g88cii")},m(i,l){e.insert(i,t,l),e.append(t,s),a[18](t)},p(i,[l]){l&16&&e.set_custom_element_data(s,"session",i[4]),l&32&&e.set_custom_element_data(s,"userid",i[5]),l&1&&e.set_custom_element_data(s,"endpoint",i[0]),l&2&&e.set_custom_element_data(s,"datasource",i[1]),l&8&&e.set_custom_element_data(s,"lang",i[3]),l&4&&e.set_custom_element_data(s,"currency",i[2]),l&16384&&e.set_custom_element_data(s,"favorites",i[14]),l&65536&&e.set_custom_element_data(s,"fetchviaevent",i[16]),l&2048&&e.set_custom_element_data(s,"showgamename",i[11]),l&64&&e.set_custom_element_data(s,"clientstyling",i[6]),l&128&&e.set_custom_element_data(s,"clientstylingurl",i[7]),l&256&&e.set_custom_element_data(s,"livecasino",i[8]),l&8192&&e.set_custom_element_data(s,"visiblegames",i[13]),l&4096&&e.set_custom_element_data(s,"gamepagemodalurl",i[12]),l&1024&&e.set_custom_element_data(s,"integratedgameframedesktop",i[10]),l&512&&e.set_custom_element_data(s,"integratedgameframemobile",i[9]),l&32768&&e.set_custom_element_data(s,"casinomygames",i[15])},i:e.noop,o:e.noop,d(i){i&&e.detach(t),a[18](null)}}}function R(a,t,s){let{endpoint:i=""}=t,{datasource:l=""}=t,{currency:g=""}=t,{lang:r=""}=t,{session:f=""}=t,{userid:_=""}=t,{clientstyling:c=""}=t,{clientstylingurl:o=""}=t,{livecasino:d="false"}=t,{integratedgameframemobile:h="false"}=t,{integratedgameframedesktop:y="false"}=t,{showgamename:v=""}=t,{gamepagemodalurl:b="false"}=t,{visiblegames:w=""}=t,{favorites:C=""}=t,{casinomygames:k="false"}=t,{fetchviaevent:F="true"}=t,m;M({withLocale:"en",translations:{}});const E=()=>{let n=document.createElement("style");n.innerHTML=c,m.appendChild(n)},L=()=>{let n=document.createElement("style");fetch(new URL(o)).then(u=>u.text()).then(u=>{n.innerHTML=u,setTimeout(()=>{m.appendChild(n)},1)})};function T(n){e.binding_callbacks[n?"unshift":"push"](()=>{m=n,s(17,m)})}return a.$$set=n=>{"endpoint"in n&&s(0,i=n.endpoint),"datasource"in n&&s(1,l=n.datasource),"currency"in n&&s(2,g=n.currency),"lang"in n&&s(3,r=n.lang),"session"in n&&s(4,f=n.session),"userid"in n&&s(5,_=n.userid),"clientstyling"in n&&s(6,c=n.clientstyling),"clientstylingurl"in n&&s(7,o=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)},a.$$.update=()=>{a.$$.dirty&131136&&c&&m&&E(),a.$$.dirty&131200&&o&&m&&L()},[i,l,g,r,f,_,c,o,d,h,y,v,b,w,C,k,F,m,T]}class S extends e.SvelteComponent{constructor(t){super(),e.init(this,t,R,O,e.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},q)}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[1]}set datasource(t){this.$$set({datasource:t}),e.flush()}get currency(){return this.$$.ctx[2]}set currency(t){this.$$set({currency:t}),e.flush()}get lang(){return this.$$.ctx[3]}set lang(t){this.$$set({lang:t}),e.flush()}get session(){return this.$$.ctx[4]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[5]}set userid(t){this.$$set({userid:t}),e.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get favorites(){return this.$$.ctx[14]}set favorites(t){this.$$set({favorites:t}),e.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(t){this.$$set({fetchviaevent:t}),e.flush()}}e.create_custom_element(S,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},showgamename:{},gamepagemodalurl:{},visiblegames:{},favorites:{},casinomygames:{},fetchviaevent:{}},[],[],!0);exports.default=S;