@everymatrix/casino-lobby 1.0.69 → 1.0.71

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 (47) hide show
  1. package/components/CasinoCalendar-1k0BBA2l.js +5133 -0
  2. package/components/CasinoCalendar-BWBvGSII.cjs +9 -0
  3. package/components/CasinoCalendarDailyDetails-BJKIAkbG.js +605 -0
  4. package/components/CasinoCalendarDailyDetails-DgCaDV2E.cjs +1 -0
  5. package/components/CasinoCalendarDailyItem-C_l5_Cbi.cjs +1 -0
  6. package/components/CasinoCalendarDailyItem-TzcXj_xp.js +228 -0
  7. package/components/CasinoCategoriesSlider-DOK-1TsD.cjs +1 -0
  8. package/components/CasinoCategoriesSlider-H9kgmTPC.js +597 -0
  9. package/components/CasinoCollectionsProviders-CTMcJfG2.cjs +1 -0
  10. package/components/CasinoCollectionsProviders-DcAD0Be0.js +624 -0
  11. package/components/CasinoFavoritesSection-BZ_XLRmR.cjs +1 -0
  12. package/components/CasinoFavoritesSection-DH6BKL3S.js +418 -0
  13. package/components/CasinoFilter-D7CEXK-l.cjs +1 -0
  14. package/components/CasinoFilter-ud_GEK1c.js +628 -0
  15. package/components/CasinoGamePage-CCUgU-We.js +4282 -0
  16. package/components/CasinoGamePage-DWdj6K_K.cjs +18 -0
  17. package/components/CasinoGameThumbnail-C1lv7WRh.js +1823 -0
  18. package/components/CasinoGameThumbnail-d4TgneFz.cjs +38 -0
  19. package/components/CasinoGamesCategorySection-BHD5W6Ng.cjs +1 -0
  20. package/components/CasinoGamesCategorySection-Exr1MKB1.js +3018 -0
  21. package/components/CasinoJackpotBanner-BFf1l5SE.cjs +1 -0
  22. package/components/CasinoJackpotBanner-CQopUNVw.js +619 -0
  23. package/components/CasinoLastPlayedSection-CT0J4KWo.cjs +1 -0
  24. package/components/CasinoLastPlayedSection-Cg5CoSZQ.js +563 -0
  25. package/components/CasinoLobby-CQ5QQCC5.js +2341 -0
  26. package/components/CasinoLobby-CeXBQomU.cjs +1 -0
  27. package/components/CasinoModal-DRQwRcHh.cjs +1 -0
  28. package/components/CasinoModal-tGpCX8AS.js +372 -0
  29. package/components/CasinoMostPlayedSection-DxHuPS1x.js +580 -0
  30. package/components/CasinoMostPlayedSection-mR65chYs.cjs +1 -0
  31. package/components/CasinoMyGames-BEQmLbuR.js +1313 -0
  32. package/components/CasinoMyGames-fIZN6Hwx.cjs +1 -0
  33. package/components/CasinoPage-B3P3Beyx.js +3525 -0
  34. package/components/CasinoPage-CV3pXWvT.cjs +1 -0
  35. package/components/CasinoRandomGame-BHTCDUvy.cjs +2 -0
  36. package/components/CasinoRandomGame-DVAINYig.js +641 -0
  37. package/components/CasinoSearch-CEyowN7y.cjs +1 -0
  38. package/components/CasinoSearch-DhJUhsQG.js +1066 -0
  39. package/components/CasinoSlider-C9caYXJM.js +803 -0
  40. package/components/CasinoSlider-CeyUOxE1.cjs +1 -0
  41. package/components/CasinoSort-BKpaIJVo.js +425 -0
  42. package/components/CasinoSort-C_BR2AM6.cjs +1 -0
  43. package/components/CasinoWinners-OIwhz7Uv.cjs +1 -0
  44. package/components/CasinoWinners-osa_wAsU.js +878 -0
  45. package/components/GeneralAnimationLoading-Bn_rjnZO.cjs +1 -0
  46. package/components/GeneralAnimationLoading-hP0Vi1pK.js +75 -0
  47. package/package.json +8 -7
@@ -0,0 +1,878 @@
1
+ import { I as He, $ as Ve, S as qe, i as Ke, f as k, c as Ze, s as Je, b as Xe, e as _, d as o, g as G, C as ge, k as U, J as Ye, o as Qe, m as $e, n as he, q as ee, r as N, E as $, v as d, w as J, B as Me, P as et, M as I, F as tt, O as nt, u as V, A as q, D as ve } from "./CasinoCalendar-1k0BBA2l.js";
2
+ function pe(n, e) {
3
+ He(n, e);
4
+ }
5
+ function lt(n) {
6
+ Ve.set(n);
7
+ }
8
+ const ke = {
9
+ en: {
10
+ recentWinners: "Recent Winners",
11
+ topWinners: "Top Winners",
12
+ won: "just won"
13
+ },
14
+ "zh-hk": {
15
+ recentWinners: "最近的获奖者",
16
+ topWinners: "最佳获奖者",
17
+ won: "刚赢"
18
+ },
19
+ de: {
20
+ recentWinners: "Kürzliche Gewinner",
21
+ topWinners: "Top Gewinner",
22
+ won: "Eben gewonnen"
23
+ },
24
+ it: {
25
+ recentWinners: "Recent Winners",
26
+ topWinners: "Top Winners",
27
+ won: "just won"
28
+ },
29
+ fr: {
30
+ recentWinners: "Gagnants récents",
31
+ topWinners: "Meilleurs gagnants",
32
+ won: "vient de gagner"
33
+ },
34
+ es: {
35
+ recentWinners: "Ganadores Recientes",
36
+ topWinners: "Ganadores Top",
37
+ won: "Últimos Ganadores"
38
+ },
39
+ el: {
40
+ recentWinners: "Πρόσφατοι νικητές",
41
+ topWinners: "Κορυφαίοι νικητές",
42
+ won: "μόλις κέρδισε"
43
+ },
44
+ tr: {
45
+ recentWinners: "Son Kazananlar",
46
+ topWinners: "En Çok Kazananlar",
47
+ won: "Sadece kazandı"
48
+ },
49
+ ru: {
50
+ recentWinners: "Recent Winners",
51
+ topWinners: "Top Winners",
52
+ won: "just won"
53
+ },
54
+ ro: {
55
+ recentWinners: "Ultimii câștigători",
56
+ topWinners: "Câștigători de top",
57
+ won: "tocmai a câștigat"
58
+ },
59
+ hr: {
60
+ recentWinners: "Nedavni dobitnici",
61
+ topWinners: "Top dobitnici",
62
+ won: "upravo osvojio"
63
+ },
64
+ hu: {
65
+ recentWinners: "Legutóbbi nyertesek",
66
+ topWinners: "Top nyertesek",
67
+ won: "Nyert"
68
+ },
69
+ pl: {
70
+ recentWinners: "Recent Winners",
71
+ topWinners: "Top Winners",
72
+ won: "just won"
73
+ },
74
+ pt: {
75
+ recentWinners: "Recent Winners",
76
+ topWinners: "Top Winners",
77
+ won: "just won"
78
+ },
79
+ sl: {
80
+ recentWinners: "Recent Winners",
81
+ topWinners: "Top Winners",
82
+ won: "just won"
83
+ },
84
+ sr: {
85
+ recentWinners: "Recent Winners",
86
+ topWinners: "Top Winners",
87
+ won: "just won"
88
+ },
89
+ "pt-br": {
90
+ recentWinners: "Vencedores recentes",
91
+ topWinners: "Principais vencedores",
92
+ won: "acabei de ganhar"
93
+ },
94
+ "es-mx": {
95
+ recentWinners: "Ganadores recientes",
96
+ topWinners: "Mejores Ganadores",
97
+ won: "recién gano"
98
+ }
99
+ };
100
+ if (typeof window != "undefined") {
101
+ let n = function(e) {
102
+ return function(...t) {
103
+ try {
104
+ return e.apply(this, t);
105
+ } catch (s) {
106
+ if (s instanceof DOMException && s.message.includes("has already been used with this registry") || s.message.includes("Cannot define multiple custom elements with the same tag name"))
107
+ return !1;
108
+ throw s;
109
+ }
110
+ };
111
+ };
112
+ customElements.define = n(customElements.define), import("./GeneralAnimationLoading-hP0Vi1pK.js").then(({ default: e }) => {
113
+ !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", e.element);
114
+ });
115
+ }
116
+ function st(n) {
117
+ Xe(n, "svelte-e7kblj", ".svelte-e7kblj.svelte-e7kblj,.svelte-e7kblj.svelte-e7kblj::before,.svelte-e7kblj.svelte-e7kblj::after{margin:0;padding:0;box-sizing:border-box}.Off.svelte-e7kblj.svelte-e7kblj{display:none}.CasinoWinners.svelte-e7kblj.svelte-e7kblj{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile.svelte-e7kblj.svelte-e7kblj{padding:25px 10px;height:250px}.WinnersHeader.svelte-e7kblj.svelte-e7kblj{display:flex;justify-content:space-between}.SliderButton.svelte-e7kblj.svelte-e7kblj{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton.svelte-e7kblj.svelte-e7kblj:active{transform:translateY(1px)}.WinnerButtonsContainer.svelte-e7kblj.svelte-e7kblj{display:flex;margin-bottom:42px}.WinnersButton.svelte-e7kblj.svelte-e7kblj{border:none;background:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton.svelte-e7kblj.svelte-e7kblj:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton.svelte-e7kblj.svelte-e7kblj:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton.Active.svelte-e7kblj.svelte-e7kblj{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.WinnersButton.Active.svelte-e7kblj.svelte-e7kblj{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.ButtonsContainerNone.svelte-e7kblj.svelte-e7kblj{display:none}.WinnersSlider.svelte-e7kblj.svelte-e7kblj{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper.svelte-e7kblj.svelte-e7kblj{position:absolute;top:0;left:0}.CardWrapperAnimation.svelte-e7kblj.svelte-e7kblj{transition:transform 2s}.WinnerCard.svelte-e7kblj.svelte-e7kblj{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard.svelte-e7kblj p.svelte-e7kblj:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard.svelte-e7kblj p.svelte-e7kblj:nth-child(3){text-align:center;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard.svelte-e7kblj p.svelte-e7kblj:nth-child(4){color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard.svelte-e7kblj p.svelte-e7kblj:last-of-type{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:16px}.WinnerCard.svelte-e7kblj.svelte-e7kblj:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage.svelte-e7kblj.svelte-e7kblj{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile.svelte-e7kblj .WinnersHeader.svelte-e7kblj{justify-content:flex-start}.Mobile.svelte-e7kblj .WinnersButton.svelte-e7kblj{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile.svelte-e7kblj .WinnersButton.svelte-e7kblj:last-child{margin-right:0}.Mobile.svelte-e7kblj .WinnersButton.Active.svelte-e7kblj{padding-bottom:4px}.Mobile.svelte-e7kblj .WinnersSlider.svelte-e7kblj{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile.svelte-e7kblj .WinnersSlider.svelte-e7kblj::-webkit-scrollbar{display:none}.Mobile.svelte-e7kblj .SliderButton.svelte-e7kblj{display:none}.Mobile.svelte-e7kblj .WinnerCard.svelte-e7kblj{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile.svelte-e7kblj .WinnerCard p.svelte-e7kblj:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile.svelte-e7kblj .WinnerCard p.svelte-e7kblj:nth-child(3){font-size:10px}.Mobile.svelte-e7kblj .WinnerCard p.svelte-e7kblj:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile.svelte-e7kblj .WinnerCard p.svelte-e7kblj:last-of-type{font-size:11px}.Mobile.svelte-e7kblj .WinnerButtonsContainer.svelte-e7kblj{margin-bottom:20px}");
118
+ }
119
+ function ye(n, e, t) {
120
+ const s = n.slice();
121
+ return s[67] = e[t], s;
122
+ }
123
+ function je(n, e, t) {
124
+ const s = n.slice();
125
+ return s[70] = e[t], s;
126
+ }
127
+ function it(n) {
128
+ let e, t, s, i, r, a, u, f, w, D, F, y, v, L, T, z, A, E, S, C = ee(
129
+ /*tabs*/
130
+ n[17]
131
+ ), m = [];
132
+ for (let c = 0; c < C.length; c += 1)
133
+ m[c] = We(je(n, C, c));
134
+ function P(c, p) {
135
+ return (
136
+ /*isLoadingDelayed*/
137
+ c[18] ? at : ot
138
+ );
139
+ }
140
+ let x = P(n), j = x(n);
141
+ return {
142
+ c() {
143
+ e = _("div"), t = _("div"), s = _("div");
144
+ for (let c = 0; c < m.length; c += 1)
145
+ m[c].c();
146
+ i = N(), r = _("div"), a = _("button"), u = $("svg"), f = $("path"), D = N(), F = _("button"), y = $("svg"), v = $("path"), z = N(), j.c(), o(s, "class", "WinnerButtonsContainer svelte-e7kblj"), o(f, "style", w = /*numberOfVisibleSlides*/
147
+ n[12] >= /*winners*/
148
+ n[11].length ? "fill:#F6F6F62E" : ""), o(f, "id", "Path_36"), o(f, "data-name", "Path 36"), o(f, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), o(f, "transform", "translate(14.656 0) rotate(90)"), o(f, "fill", "#fff"), o(f, "class", "svelte-e7kblj"), o(u, "id", "Component_46_2"), o(u, "data-name", "Component 46 – 2"), o(u, "xmlns", "http://www.w3.org/2000/svg"), o(u, "width", "15"), o(u, "height", "15"), o(u, "viewBox", "0 0 16 24.656"), o(u, "class", "svelte-e7kblj"), o(a, "class", "SliderButton svelte-e7kblj"), o(v, "style", L = /*numberOfVisibleSlides*/
149
+ n[12] >= /*winners*/
150
+ n[11].length ? "fill:#F6F6F62E" : ""), o(v, "id", "Path_36"), o(v, "data-name", "Path 36"), o(v, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), o(v, "transform", "translate(0 24.656) rotate(-90)"), o(v, "fill", "#fff"), o(v, "class", "svelte-e7kblj"), o(y, "id", "Component_46_2"), o(y, "data-name", "Component 46 – 2"), o(y, "xmlns", "http://www.w3.org/2000/svg"), o(y, "width", "15"), o(y, "height", "15"), o(y, "viewBox", "0 0 16 24.656"), o(y, "class", "svelte-e7kblj"), o(F, "class", "SliderButton svelte-e7kblj"), o(r, "class", T = "ButtonsContainer " + /*enableautoscroll*/
151
+ (n[6] == "true" ? "ButtonsContainerNone" : "") + " svelte-e7kblj"), o(t, "class", "WinnersHeader svelte-e7kblj"), o(e, "class", A = "CasinoWinners " + /*mobile*/
152
+ (n[13] ? "Mobile" : "") + " svelte-e7kblj");
153
+ },
154
+ m(c, p) {
155
+ G(c, e, p), d(e, t), d(t, s);
156
+ for (let b = 0; b < m.length; b += 1)
157
+ m[b] && m[b].m(s, null);
158
+ d(t, i), d(t, r), d(r, a), d(a, u), d(u, f), d(r, D), d(r, F), d(F, y), d(y, v), d(e, z), j.m(e, null), E || (S = [
159
+ J(
160
+ a,
161
+ "click",
162
+ /*click_handler_2*/
163
+ n[42]
164
+ ),
165
+ J(
166
+ F,
167
+ "click",
168
+ /*click_handler_3*/
169
+ n[43]
170
+ )
171
+ ], E = !0);
172
+ },
173
+ p(c, p) {
174
+ if (p[0] & /*winnersType, istopavailable, toggleTab, $_, tabs, isrecentavailable*/
175
+ 1704963) {
176
+ C = ee(
177
+ /*tabs*/
178
+ c[17]
179
+ );
180
+ let b;
181
+ for (b = 0; b < C.length; b += 1) {
182
+ const g = je(c, C, b);
183
+ m[b] ? m[b].p(g, p) : (m[b] = We(g), m[b].c(), m[b].m(s, null));
184
+ }
185
+ for (; b < m.length; b += 1)
186
+ m[b].d(1);
187
+ m.length = C.length;
188
+ }
189
+ p[0] & /*numberOfVisibleSlides, winners*/
190
+ 6144 && w !== (w = /*numberOfVisibleSlides*/
191
+ c[12] >= /*winners*/
192
+ c[11].length ? "fill:#F6F6F62E" : "") && o(f, "style", w), p[0] & /*numberOfVisibleSlides, winners*/
193
+ 6144 && L !== (L = /*numberOfVisibleSlides*/
194
+ c[12] >= /*winners*/
195
+ c[11].length ? "fill:#F6F6F62E" : "") && o(v, "style", L), p[0] & /*enableautoscroll*/
196
+ 64 && T !== (T = "ButtonsContainer " + /*enableautoscroll*/
197
+ (c[6] == "true" ? "ButtonsContainerNone" : "") + " svelte-e7kblj") && o(r, "class", T), x === (x = P(c)) && j ? j.p(c, p) : (j.d(1), j = x(c), j && (j.c(), j.m(e, null))), p[0] & /*mobile*/
198
+ 8192 && A !== (A = "CasinoWinners " + /*mobile*/
199
+ (c[13] ? "Mobile" : "") + " svelte-e7kblj") && o(e, "class", A);
200
+ },
201
+ d(c) {
202
+ c && U(e), Me(m, c), j.d(), E = !1, et(S);
203
+ }
204
+ };
205
+ }
206
+ function rt(n) {
207
+ let e;
208
+ return {
209
+ c() {
210
+ e = _("general-animation-loading"), I(
211
+ e,
212
+ "clientstyling",
213
+ /*clientstyling*/
214
+ n[4]
215
+ ), I(
216
+ e,
217
+ "clientstylingurl",
218
+ /*clientstylingurl*/
219
+ n[5]
220
+ ), I(e, "class", "svelte-e7kblj");
221
+ },
222
+ m(t, s) {
223
+ G(t, e, s);
224
+ },
225
+ p(t, s) {
226
+ s[0] & /*clientstyling*/
227
+ 16 && I(
228
+ e,
229
+ "clientstyling",
230
+ /*clientstyling*/
231
+ t[4]
232
+ ), s[0] & /*clientstylingurl*/
233
+ 32 && I(
234
+ e,
235
+ "clientstylingurl",
236
+ /*clientstylingurl*/
237
+ t[5]
238
+ );
239
+ },
240
+ d(t) {
241
+ t && U(e);
242
+ }
243
+ };
244
+ }
245
+ function _e(n) {
246
+ let e, t = (
247
+ /*$_*/
248
+ n[19]("recentWinners") + ""
249
+ ), s, i, r, a;
250
+ return {
251
+ c() {
252
+ e = _("button"), s = V(t), o(e, "class", i = "WinnersButton " + /*winnersType*/
253
+ (n[10] == "recent" ? "Active" : "") + " " + /*isrecentavailable*/
254
+ (n[0] == "false" ? "Off" : "") + " svelte-e7kblj");
255
+ },
256
+ m(u, f) {
257
+ G(u, e, f), d(e, s), r || (a = J(
258
+ e,
259
+ "click",
260
+ /*click_handler*/
261
+ n[40]
262
+ ), r = !0);
263
+ },
264
+ p(u, f) {
265
+ f[0] & /*$_*/
266
+ 524288 && t !== (t = /*$_*/
267
+ u[19]("recentWinners") + "") && q(s, t), f[0] & /*winnersType, isrecentavailable*/
268
+ 1025 && i !== (i = "WinnersButton " + /*winnersType*/
269
+ (u[10] == "recent" ? "Active" : "") + " " + /*isrecentavailable*/
270
+ (u[0] == "false" ? "Off" : "") + " svelte-e7kblj") && o(e, "class", i);
271
+ },
272
+ d(u) {
273
+ u && U(e), r = !1, a();
274
+ }
275
+ };
276
+ }
277
+ function we(n) {
278
+ let e, t = (
279
+ /*$_*/
280
+ n[19]("topWinners") + ""
281
+ ), s, i, r, a, u;
282
+ return {
283
+ c() {
284
+ e = _("button"), s = V(t), i = N(), o(e, "class", r = "WinnersButton " + /*winnersType*/
285
+ (n[10] == "top" ? "Active" : "") + " " + /*istopavailable*/
286
+ (n[1] == "false" ? "Off" : "") + " svelte-e7kblj");
287
+ },
288
+ m(f, w) {
289
+ G(f, e, w), d(e, s), d(e, i), a || (u = J(
290
+ e,
291
+ "click",
292
+ /*click_handler_1*/
293
+ n[41]
294
+ ), a = !0);
295
+ },
296
+ p(f, w) {
297
+ w[0] & /*$_*/
298
+ 524288 && t !== (t = /*$_*/
299
+ f[19]("topWinners") + "") && q(s, t), w[0] & /*winnersType, istopavailable*/
300
+ 1026 && r !== (r = "WinnersButton " + /*winnersType*/
301
+ (f[10] == "top" ? "Active" : "") + " " + /*istopavailable*/
302
+ (f[1] == "false" ? "Off" : "") + " svelte-e7kblj") && o(e, "class", r);
303
+ },
304
+ d(f) {
305
+ f && U(e), a = !1, u();
306
+ }
307
+ };
308
+ }
309
+ function We(n) {
310
+ let e, t, s = (
311
+ /*tab*/
312
+ n[70] == "recent" && _e(n)
313
+ ), i = (
314
+ /*tab*/
315
+ n[70] == "top" && we(n)
316
+ );
317
+ return {
318
+ c() {
319
+ s && s.c(), e = N(), i && i.c(), t = tt();
320
+ },
321
+ m(r, a) {
322
+ s && s.m(r, a), G(r, e, a), i && i.m(r, a), G(r, t, a);
323
+ },
324
+ p(r, a) {
325
+ /*tab*/
326
+ r[70] == "recent" ? s ? s.p(r, a) : (s = _e(r), s.c(), s.m(e.parentNode, e)) : s && (s.d(1), s = null), /*tab*/
327
+ r[70] == "top" ? i ? i.p(r, a) : (i = we(r), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null);
328
+ },
329
+ d(r) {
330
+ r && (U(e), U(t)), s && s.d(r), i && i.d(r);
331
+ }
332
+ };
333
+ }
334
+ function ot(n) {
335
+ let e, t = ee(
336
+ /*winners*/
337
+ n[11]
338
+ ), s = [];
339
+ for (let i = 0; i < t.length; i += 1)
340
+ s[i] = Ce(ye(n, t, i));
341
+ return {
342
+ c() {
343
+ e = _("div");
344
+ for (let i = 0; i < s.length; i += 1)
345
+ s[i].c();
346
+ o(e, "class", "WinnersSlider svelte-e7kblj");
347
+ },
348
+ m(i, r) {
349
+ G(i, e, r);
350
+ for (let a = 0; a < s.length; a += 1)
351
+ s[a] && s[a].m(e, null);
352
+ n[45](e);
353
+ },
354
+ p(i, r) {
355
+ if (r[0] & /*addAnimation, isLoggedIn, usercurrency, defaultcurrency, winners, $_, maskUsername, openWinnersGame*/
356
+ 6883468) {
357
+ t = ee(
358
+ /*winners*/
359
+ i[11]
360
+ );
361
+ let a;
362
+ for (a = 0; a < t.length; a += 1) {
363
+ const u = ye(i, t, a);
364
+ s[a] ? s[a].p(u, r) : (s[a] = Ce(u), s[a].c(), s[a].m(e, null));
365
+ }
366
+ for (; a < s.length; a += 1)
367
+ s[a].d(1);
368
+ s.length = t.length;
369
+ }
370
+ },
371
+ d(i) {
372
+ i && U(e), Me(s, i), n[45](null);
373
+ }
374
+ };
375
+ }
376
+ function at(n) {
377
+ let e;
378
+ return {
379
+ c() {
380
+ e = _("general-animation-loading"), I(
381
+ e,
382
+ "clientstyling",
383
+ /*clientstyling*/
384
+ n[4]
385
+ ), I(
386
+ e,
387
+ "clientstylingurl",
388
+ /*clientstylingurl*/
389
+ n[5]
390
+ ), I(e, "class", "svelte-e7kblj");
391
+ },
392
+ m(t, s) {
393
+ G(t, e, s);
394
+ },
395
+ p(t, s) {
396
+ s[0] & /*clientstyling*/
397
+ 16 && I(
398
+ e,
399
+ "clientstyling",
400
+ /*clientstyling*/
401
+ t[4]
402
+ ), s[0] & /*clientstylingurl*/
403
+ 32 && I(
404
+ e,
405
+ "clientstylingurl",
406
+ /*clientstylingurl*/
407
+ t[5]
408
+ );
409
+ },
410
+ d(t) {
411
+ t && U(e);
412
+ }
413
+ };
414
+ }
415
+ function Ce(n) {
416
+ let e, t, s, i, r, a, u, f = (
417
+ /*winner*/
418
+ n[67].gameName + ""
419
+ ), w, D, F, y = (
420
+ /*maskUsername*/
421
+ n[21](
422
+ /*winner*/
423
+ n[67].username
424
+ ) + ""
425
+ ), v, L, T, z = (
426
+ /*$_*/
427
+ n[19]("won") + ""
428
+ ), A, E, S, C = (
429
+ /*winner*/
430
+ n[67].specifiedCurrencyAmount.toFixed(2) + ""
431
+ ), m, P, x, j = (
432
+ /*isLoggedIn*/
433
+ (n[7] ? (
434
+ /*usercurrency*/
435
+ n[3]
436
+ ) : (
437
+ /*defaultcurrency*/
438
+ n[2]
439
+ )) + ""
440
+ ), c, p, b, g, M;
441
+ function te() {
442
+ return (
443
+ /*click_handler_4*/
444
+ n[44](
445
+ /*winner*/
446
+ n[67]
447
+ )
448
+ );
449
+ }
450
+ return {
451
+ c() {
452
+ var R, W, H, B;
453
+ e = _("div"), t = _("div"), s = _("img"), a = N(), u = _("p"), w = V(f), D = N(), F = _("p"), v = V(y), L = N(), T = _("p"), A = V(z), E = N(), S = _("p"), m = V(C), P = N(), x = _("span"), c = V(j), p = N(), ve(s.src, i = /*winner*/
454
+ (W = (R = n[67]) == null ? void 0 : R.gameModel) == null ? void 0 : W.thumbnail) || o(s, "src", i), o(s, "alt", r = /*winner*/
455
+ (B = (H = n[67]) == null ? void 0 : H.gameModel) == null ? void 0 : B.thumbnail), o(s, "class", "WinnersImage svelte-e7kblj"), o(u, "class", "svelte-e7kblj"), o(F, "class", "svelte-e7kblj"), o(T, "class", "WinnerUsername svelte-e7kblj"), o(x, "class", "svelte-e7kblj"), o(S, "class", "svelte-e7kblj"), o(t, "class", "WinnerCard svelte-e7kblj"), o(e, "class", b = "CardWrapper " + /*addAnimation*/
456
+ (n[16] ? "CardWrapperAnimation" : "") + " svelte-e7kblj");
457
+ },
458
+ m(R, W) {
459
+ G(R, e, W), d(e, t), d(t, s), d(t, a), d(t, u), d(u, w), d(t, D), d(t, F), d(F, v), d(t, L), d(t, T), d(T, A), d(t, E), d(t, S), d(S, m), d(S, P), d(S, x), d(x, c), d(e, p), g || (M = J(s, "click", te), g = !0);
460
+ },
461
+ p(R, W) {
462
+ var H, B, K, Z;
463
+ n = R, W[0] & /*winners*/
464
+ 2048 && !ve(s.src, i = /*winner*/
465
+ (B = (H = n[67]) == null ? void 0 : H.gameModel) == null ? void 0 : B.thumbnail) && o(s, "src", i), W[0] & /*winners*/
466
+ 2048 && r !== (r = /*winner*/
467
+ (Z = (K = n[67]) == null ? void 0 : K.gameModel) == null ? void 0 : Z.thumbnail) && o(s, "alt", r), W[0] & /*winners*/
468
+ 2048 && f !== (f = /*winner*/
469
+ n[67].gameName + "") && q(w, f), W[0] & /*winners*/
470
+ 2048 && y !== (y = /*maskUsername*/
471
+ n[21](
472
+ /*winner*/
473
+ n[67].username
474
+ ) + "") && q(v, y), W[0] & /*$_*/
475
+ 524288 && z !== (z = /*$_*/
476
+ n[19]("won") + "") && q(A, z), W[0] & /*winners*/
477
+ 2048 && C !== (C = /*winner*/
478
+ n[67].specifiedCurrencyAmount.toFixed(2) + "") && q(m, C), W[0] & /*isLoggedIn, usercurrency, defaultcurrency*/
479
+ 140 && j !== (j = /*isLoggedIn*/
480
+ (n[7] ? (
481
+ /*usercurrency*/
482
+ n[3]
483
+ ) : (
484
+ /*defaultcurrency*/
485
+ n[2]
486
+ )) + "") && q(c, j), W[0] & /*addAnimation*/
487
+ 65536 && b !== (b = "CardWrapper " + /*addAnimation*/
488
+ (n[16] ? "CardWrapperAnimation" : "") + " svelte-e7kblj") && o(e, "class", b);
489
+ },
490
+ d(R) {
491
+ R && U(e), g = !1, M();
492
+ }
493
+ };
494
+ }
495
+ function ct(n) {
496
+ let e;
497
+ function t(r, a) {
498
+ return (
499
+ /*isLoading*/
500
+ r[14] || /*isLoadingCustomStyling*/
501
+ r[15] ? rt : it
502
+ );
503
+ }
504
+ let s = t(n), i = s(n);
505
+ return {
506
+ c() {
507
+ e = _("div"), i.c(), o(e, "class", "svelte-e7kblj");
508
+ },
509
+ m(r, a) {
510
+ G(r, e, a), i.m(e, null), n[46](e);
511
+ },
512
+ p(r, a) {
513
+ s === (s = t(r)) && i ? i.p(r, a) : (i.d(1), i = s(r), i && (i.c(), i.m(e, null)));
514
+ },
515
+ i: ge,
516
+ o: ge,
517
+ d(r) {
518
+ r && U(e), i.d(), n[46](null);
519
+ }
520
+ };
521
+ }
522
+ const ut = 225;
523
+ function ft(n, e, t) {
524
+ let s;
525
+ Ye(n, nt, (l) => t(19, s = l));
526
+ let { endpoint: i = "" } = e, { session: r = "" } = e, { userid: a = "" } = e, { periodrecent: u = "Today" } = e, { periodtop: f = "Last7Days" } = e, { numberusersrecent: w = "20" } = e, { numberuserstop: D = "20" } = e, { amountlimit: F = "1" } = e, { vendorCategory: y = "All" } = e, { lang: v = "en" } = e, { isrecentavailable: L = "true" } = e, { istopavailable: T = "true" } = e, { defaultcurrency: z = "" } = e, { usercurrency: A = "" } = e, { clientstyling: E = "" } = e, { clientstylingurl: S = "" } = e, { enableautoscroll: C = "" } = e, { tabsorder: m = "" } = e, { translationurl: P = "" } = e, { winnersdatasources: x = "" } = e, { hascustomstyling: j = "false" } = e, c, p, b = [], g = 0, M = 0, te = window.navigator.userAgent, R, W, H, B, K = !0, Z = !1, re = !1, oe, X, ne, Y, ae = [], le = !1;
527
+ const Fe = () => {
528
+ let l = new URL(P);
529
+ fetch(l.href).then((h) => h.json()).then((h) => {
530
+ Object.keys(h).forEach((O) => {
531
+ pe(O, h[O]);
532
+ });
533
+ }).catch((h) => {
534
+ console.log(h);
535
+ });
536
+ };
537
+ Object.keys(ke).forEach((l) => {
538
+ pe(l, ke[l]);
539
+ });
540
+ const ce = () => {
541
+ ae = x.split(",").map(function(h) {
542
+ return h.trim();
543
+ });
544
+ const l = new URL(`${i}/v1/casino/${p}-winners`);
545
+ t(18, le = !0), l.searchParams.append("limit", p == "recent" ? w : D), l.searchParams.append("specifiedCurrency", Y), l.searchParams.append("period", p == "recent" ? u : f), l.searchParams.append("language", v), l.searchParams.append("amountLimit", F), l.searchParams.append("vendorCategory", y), ae.forEach((h) => {
546
+ l.searchParams.append("dataSource", h);
547
+ }), setTimeout(
548
+ () => {
549
+ fetch(l.href).then((h) => h.json()).then((h) => {
550
+ t(11, b = []), t(11, b = h.items.map((O) => O)), t(18, le = !1), setTimeout(
551
+ () => {
552
+ Be(), fe(), C == "true" && (clearInterval(X), xe()), t(14, K = !1);
553
+ },
554
+ 5
555
+ );
556
+ });
557
+ },
558
+ 1e3
559
+ );
560
+ }, se = (l) => {
561
+ p !== l && (t(11, b = []), t(10, p = l), ce());
562
+ }, Se = (l) => l.slice(0, 2) + l.slice(2, -2).replace(/./g, "*") + l.slice(-2), ue = (l, h, O, Q) => {
563
+ window.postMessage(
564
+ {
565
+ type: "OpenCasinoWinnersGame",
566
+ gameId: l,
567
+ launchUrl: h,
568
+ gameName: O,
569
+ subVendor: Q
570
+ },
571
+ window.location.href
572
+ ), typeof gtag == "function" && gtag("event", "OpenGame", {
573
+ context: "WinnersWidget",
574
+ gameId: `${l}`,
575
+ userId: `${H || "Not logged in"}`
576
+ });
577
+ }, fe = (l) => {
578
+ const h = [...c.children];
579
+ oe = h.length, h.forEach((O, Q) => {
580
+ O.style.transform = `translateX(${100 * (l ? Q - l : Q)}%)`;
581
+ }), setTimeout(
582
+ () => {
583
+ t(16, re = !0);
584
+ },
585
+ 10
586
+ );
587
+ }, xe = () => {
588
+ g = 0, M < oe ? X = setInterval(
589
+ () => {
590
+ ie();
591
+ },
592
+ 3e3
593
+ ) : clearInterval(X);
594
+ }, de = () => {
595
+ fe(g);
596
+ }, Be = () => {
597
+ t(12, M = Math.round(c.offsetWidth / ut));
598
+ }, be = () => {
599
+ if (M >= b.length) return;
600
+ const l = b.length;
601
+ g === 0 ? g = l - M : g - M < 0 ? g = 0 : g = g - M, de();
602
+ }, ie = () => {
603
+ if (M >= b.length) return;
604
+ const l = b.length;
605
+ C == "true" && (g === l - M ? g = 0 : g++), C == "false" && (g === l - M ? g = 0 : l - M < g + M ? g = l - M : g += M), de();
606
+ }, Te = () => {
607
+ lt(v);
608
+ }, Ae = () => {
609
+ t(7, W = !0), H = a;
610
+ }, me = () => {
611
+ t(39, Y = W ? A : z);
612
+ }, Ee = () => {
613
+ let l = document.createElement("style");
614
+ l.innerHTML = E, B.appendChild(l);
615
+ }, Le = () => {
616
+ let l = new URL(S), h = document.createElement("style");
617
+ fetch(l.href).then((O) => O.text()).then((O) => {
618
+ h.innerHTML = O, setTimeout(
619
+ () => {
620
+ B.appendChild(h);
621
+ },
622
+ 1
623
+ ), setTimeout(
624
+ () => {
625
+ },
626
+ 500
627
+ ), t(15, Z = !1);
628
+ });
629
+ }, ze = () => {
630
+ j === "true" && (!E && !S && B && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !E && S && t(15, Z = !0));
631
+ }, Oe = () => {
632
+ t(17, ne = m.split(",")), t(10, p = ne[0]), L == "false" && t(25, F = ""), me(), t(14, K = !1);
633
+ };
634
+ Qe(() => (t(13, R = $e(te)), () => {
635
+ clearInterval(X);
636
+ }));
637
+ const Re = () => se("recent"), Ne = () => se("top"), De = () => be(), Pe = () => ie(), Ie = (l) => ue(l.gameId, l.gameModel.launchUrl, l.gameModel.name, l.gameModel.subVendor);
638
+ function Ge(l) {
639
+ he[l ? "unshift" : "push"](() => {
640
+ c = l, t(9, c);
641
+ });
642
+ }
643
+ function Ue(l) {
644
+ he[l ? "unshift" : "push"](() => {
645
+ B = l, t(8, B);
646
+ });
647
+ }
648
+ return n.$$set = (l) => {
649
+ "endpoint" in l && t(26, i = l.endpoint), "session" in l && t(27, r = l.session), "userid" in l && t(28, a = l.userid), "periodrecent" in l && t(29, u = l.periodrecent), "periodtop" in l && t(30, f = l.periodtop), "numberusersrecent" in l && t(31, w = l.numberusersrecent), "numberuserstop" in l && t(32, D = l.numberuserstop), "amountlimit" in l && t(25, F = l.amountlimit), "vendorCategory" in l && t(33, y = l.vendorCategory), "lang" in l && t(34, v = l.lang), "isrecentavailable" in l && t(0, L = l.isrecentavailable), "istopavailable" in l && t(1, T = l.istopavailable), "defaultcurrency" in l && t(2, z = l.defaultcurrency), "usercurrency" in l && t(3, A = l.usercurrency), "clientstyling" in l && t(4, E = l.clientstyling), "clientstylingurl" in l && t(5, S = l.clientstylingurl), "enableautoscroll" in l && t(6, C = l.enableautoscroll), "tabsorder" in l && t(35, m = l.tabsorder), "translationurl" in l && t(36, P = l.translationurl), "winnersdatasources" in l && t(37, x = l.winnersdatasources), "hascustomstyling" in l && t(38, j = l.hascustomstyling);
650
+ }, n.$$.update = () => {
651
+ n.$$.dirty[0] & /*isrecentavailable, istopavailable, periodrecent, periodtop, amountlimit*/
652
+ 1644167171 | n.$$.dirty[1] & /*numberusersrecent, numberuserstop, vendorCategory, lang, tabsorder*/
653
+ 31 && L && T && u && f && w && D && F && y && v && m && Oe(), n.$$.dirty[0] & /*session*/
654
+ 134217728 && r && Ae(), n.$$.dirty[0] & /*isLoggedIn, usercurrency, defaultcurrency*/
655
+ 140 && W && (A || z) && me(), n.$$.dirty[0] & /*endpoint*/
656
+ 67108864 | n.$$.dirty[1] & /*winnersdatasources, currency*/
657
+ 320 && i && x && Y && ce(), n.$$.dirty[1] & /*lang*/
658
+ 8 && v && Te(), n.$$.dirty[1] & /*translationurl*/
659
+ 32 && P && Fe(), n.$$.dirty[1] & /*hascustomstyling*/
660
+ 128 && j && ze(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
661
+ 272 && E && B && Ee(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
662
+ 288 && S && B && Le();
663
+ }, [
664
+ L,
665
+ T,
666
+ z,
667
+ A,
668
+ E,
669
+ S,
670
+ C,
671
+ W,
672
+ B,
673
+ c,
674
+ p,
675
+ b,
676
+ M,
677
+ R,
678
+ K,
679
+ Z,
680
+ re,
681
+ ne,
682
+ le,
683
+ s,
684
+ se,
685
+ Se,
686
+ ue,
687
+ be,
688
+ ie,
689
+ F,
690
+ i,
691
+ r,
692
+ a,
693
+ u,
694
+ f,
695
+ w,
696
+ D,
697
+ y,
698
+ v,
699
+ m,
700
+ P,
701
+ x,
702
+ j,
703
+ Y,
704
+ Re,
705
+ Ne,
706
+ De,
707
+ Pe,
708
+ Ie,
709
+ Ge,
710
+ Ue
711
+ ];
712
+ }
713
+ class dt extends qe {
714
+ constructor(e) {
715
+ super(), Ke(
716
+ this,
717
+ e,
718
+ ft,
719
+ ct,
720
+ Je,
721
+ {
722
+ endpoint: 26,
723
+ session: 27,
724
+ userid: 28,
725
+ periodrecent: 29,
726
+ periodtop: 30,
727
+ numberusersrecent: 31,
728
+ numberuserstop: 32,
729
+ amountlimit: 25,
730
+ vendorCategory: 33,
731
+ lang: 34,
732
+ isrecentavailable: 0,
733
+ istopavailable: 1,
734
+ defaultcurrency: 2,
735
+ usercurrency: 3,
736
+ clientstyling: 4,
737
+ clientstylingurl: 5,
738
+ enableautoscroll: 6,
739
+ tabsorder: 35,
740
+ translationurl: 36,
741
+ winnersdatasources: 37,
742
+ hascustomstyling: 38
743
+ },
744
+ st,
745
+ [-1, -1, -1]
746
+ );
747
+ }
748
+ get endpoint() {
749
+ return this.$$.ctx[26];
750
+ }
751
+ set endpoint(e) {
752
+ this.$$set({ endpoint: e }), k();
753
+ }
754
+ get session() {
755
+ return this.$$.ctx[27];
756
+ }
757
+ set session(e) {
758
+ this.$$set({ session: e }), k();
759
+ }
760
+ get userid() {
761
+ return this.$$.ctx[28];
762
+ }
763
+ set userid(e) {
764
+ this.$$set({ userid: e }), k();
765
+ }
766
+ get periodrecent() {
767
+ return this.$$.ctx[29];
768
+ }
769
+ set periodrecent(e) {
770
+ this.$$set({ periodrecent: e }), k();
771
+ }
772
+ get periodtop() {
773
+ return this.$$.ctx[30];
774
+ }
775
+ set periodtop(e) {
776
+ this.$$set({ periodtop: e }), k();
777
+ }
778
+ get numberusersrecent() {
779
+ return this.$$.ctx[31];
780
+ }
781
+ set numberusersrecent(e) {
782
+ this.$$set({ numberusersrecent: e }), k();
783
+ }
784
+ get numberuserstop() {
785
+ return this.$$.ctx[32];
786
+ }
787
+ set numberuserstop(e) {
788
+ this.$$set({ numberuserstop: e }), k();
789
+ }
790
+ get amountlimit() {
791
+ return this.$$.ctx[25];
792
+ }
793
+ set amountlimit(e) {
794
+ this.$$set({ amountlimit: e }), k();
795
+ }
796
+ get vendorCategory() {
797
+ return this.$$.ctx[33];
798
+ }
799
+ set vendorCategory(e) {
800
+ this.$$set({ vendorCategory: e }), k();
801
+ }
802
+ get lang() {
803
+ return this.$$.ctx[34];
804
+ }
805
+ set lang(e) {
806
+ this.$$set({ lang: e }), k();
807
+ }
808
+ get isrecentavailable() {
809
+ return this.$$.ctx[0];
810
+ }
811
+ set isrecentavailable(e) {
812
+ this.$$set({ isrecentavailable: e }), k();
813
+ }
814
+ get istopavailable() {
815
+ return this.$$.ctx[1];
816
+ }
817
+ set istopavailable(e) {
818
+ this.$$set({ istopavailable: e }), k();
819
+ }
820
+ get defaultcurrency() {
821
+ return this.$$.ctx[2];
822
+ }
823
+ set defaultcurrency(e) {
824
+ this.$$set({ defaultcurrency: e }), k();
825
+ }
826
+ get usercurrency() {
827
+ return this.$$.ctx[3];
828
+ }
829
+ set usercurrency(e) {
830
+ this.$$set({ usercurrency: e }), k();
831
+ }
832
+ get clientstyling() {
833
+ return this.$$.ctx[4];
834
+ }
835
+ set clientstyling(e) {
836
+ this.$$set({ clientstyling: e }), k();
837
+ }
838
+ get clientstylingurl() {
839
+ return this.$$.ctx[5];
840
+ }
841
+ set clientstylingurl(e) {
842
+ this.$$set({ clientstylingurl: e }), k();
843
+ }
844
+ get enableautoscroll() {
845
+ return this.$$.ctx[6];
846
+ }
847
+ set enableautoscroll(e) {
848
+ this.$$set({ enableautoscroll: e }), k();
849
+ }
850
+ get tabsorder() {
851
+ return this.$$.ctx[35];
852
+ }
853
+ set tabsorder(e) {
854
+ this.$$set({ tabsorder: e }), k();
855
+ }
856
+ get translationurl() {
857
+ return this.$$.ctx[36];
858
+ }
859
+ set translationurl(e) {
860
+ this.$$set({ translationurl: e }), k();
861
+ }
862
+ get winnersdatasources() {
863
+ return this.$$.ctx[37];
864
+ }
865
+ set winnersdatasources(e) {
866
+ this.$$set({ winnersdatasources: e }), k();
867
+ }
868
+ get hascustomstyling() {
869
+ return this.$$.ctx[38];
870
+ }
871
+ set hascustomstyling(e) {
872
+ this.$$set({ hascustomstyling: e }), k();
873
+ }
874
+ }
875
+ Ze(dt, { endpoint: {}, session: {}, userid: {}, periodrecent: {}, periodtop: {}, numberusersrecent: {}, numberuserstop: {}, amountlimit: {}, vendorCategory: {}, lang: {}, isrecentavailable: {}, istopavailable: {}, defaultcurrency: {}, usercurrency: {}, clientstyling: {}, clientstylingurl: {}, enableautoscroll: {}, tabsorder: {}, translationurl: {}, winnersdatasources: {}, hascustomstyling: {} }, [], [], !0);
876
+ export {
877
+ dt as default
878
+ };