@everymatrix/casino-lobby 1.77.32 → 1.80.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/components/{CasinoFavoritesSection-DjiIRQLn.cjs → CasinoFavoritesSection-BIGtfL1s.cjs} +1 -1
  2. package/components/{CasinoFavoritesSection-BJE-MQG7.js → CasinoFavoritesSection-Bugjro3Y.js} +1 -1
  3. package/components/{CasinoFavoritesSection-5t-YdXxm.js → CasinoFavoritesSection-C8KncrTL.js} +1 -1
  4. package/components/{CasinoGamesCategorySection-5LFU5yuj.js → CasinoGamesCategorySection-CBHpXRrV.js} +47 -43
  5. package/components/{CasinoGamesCategorySection-CRaxNGy0.cjs → CasinoGamesCategorySection-iIuq0llb.cjs} +1 -1
  6. package/components/{CasinoGamesCategorySection-CXzA9Pec.js → CasinoGamesCategorySection-y3Z4pBvF.js} +147 -143
  7. package/components/{CasinoLastPlayedSection-9KTmn4zi.cjs → CasinoLastPlayedSection-BZHiFaEo.cjs} +1 -1
  8. package/components/{CasinoLastPlayedSection-O8WbOixZ.js → CasinoLastPlayedSection-BaspFefs.js} +1 -1
  9. package/components/{CasinoLastPlayedSection-CNaFhDz8.js → CasinoLastPlayedSection-CyVLry7C.js} +1 -1
  10. package/components/{CasinoLobby-BgA2Yfeh.js → CasinoLobby-BbHLjKPx.js} +1 -1
  11. package/components/{CasinoLobby-BFQ4We_Z.js → CasinoLobby-D6sFsRK_.js} +1 -1
  12. package/components/{CasinoLobby-BtMWFSuO.cjs → CasinoLobby-DX_Qd91r.cjs} +1 -1
  13. package/components/{CasinoMostPlayedSection-CCxUcNEd.cjs → CasinoMostPlayedSection-dwTtqs_w.cjs} +1 -1
  14. package/components/{CasinoMostPlayedSection-DHre12XW.js → CasinoMostPlayedSection-nHIv8lW-.js} +1 -1
  15. package/components/{CasinoMostPlayedSection-Akkt-8zb.js → CasinoMostPlayedSection-oEQLt9w8.js} +1 -1
  16. package/components/{CasinoMyGames-6UepUaP6.js → CasinoMyGames-B4ieVuL8.js} +3 -3
  17. package/components/{CasinoMyGames-C5pDZdI8.cjs → CasinoMyGames-BFea_UrU.cjs} +1 -1
  18. package/components/{CasinoMyGames-CxerF-Yu.js → CasinoMyGames-DlC52mK8.js} +3 -3
  19. package/components/{CasinoPage-Baakldpz.js → CasinoPage-BIZQumiz.js} +290 -295
  20. package/components/{CasinoPage-DpOZxl2w.js → CasinoPage-DdK4hcFm.js} +293 -298
  21. package/components/CasinoPage-HrqcYSKZ.cjs +1 -0
  22. package/components/{CasinoSearch-D6g4OD8M.js → CasinoSearch-D1_qy8Lo.js} +1 -1
  23. package/components/{CasinoSearch-CpZ8gqIq.cjs → CasinoSearch-D7hSVSFK.cjs} +1 -1
  24. package/components/{CasinoSearch--k-N3P69.js → CasinoSearch-nKD3ksk0.js} +1 -1
  25. package/components/CasinoWinners-C-oBUHXb.cjs +1 -0
  26. package/components/{CasinoWinners-D9hsy2fX.js → CasinoWinners-CAn_YMPe.js} +368 -357
  27. package/components/{CasinoWinners-BO9ep3XD.js → CasinoWinners-Dg7YkHoI.js} +300 -289
  28. package/es2015/casino-lobby.cjs +1 -1
  29. package/es2015/casino-lobby.js +1 -1
  30. package/esnext/casino-lobby.js +1 -1
  31. package/package.json +1 -1
  32. package/components/CasinoPage-Dcsv0xP0.cjs +0 -1
  33. package/components/CasinoWinners-4uQChe2F.cjs +0 -1
@@ -1,9 +1,9 @@
1
- import { a as Ye, $ as Qe, S as $e, i as en, s as nn, f as h, b as tn, n as _e, d as z, h as j, j as b, k as rn, o as sn, l as on, N as We, C as oe, E as G, v as Q, w as Ee, O as ln, r as a, p as f, A as J, B as P, F as Y, U as le, m as H, q as K, D as we, H as an, I as cn, J as un, K as dn, L as fn } from "./CasinoCalendar-CMIWRUUm.js";
2
- function ve(t, e) {
3
- Ye(t, e);
1
+ import { a as Qe, $ as $e, S as en, i as nn, s as tn, f as h, b as rn, n as _e, d as E, h as T, j as W, k as sn, o as on, l as ln, N as we, C as le, E as I, v as $, w as Ee, O as an, r as a, p as f, A as X, B as G, F as Q, U as ae, m as q, q as K, D as ve, H as cn, I as un, J as dn, K as mn, L as fn } from "./CasinoCalendar-CMIWRUUm.js";
2
+ function Ce(r, e) {
3
+ Qe(r, e);
4
4
  }
5
- function mn(t) {
6
- Qe.set(t);
5
+ function gn(r) {
6
+ $e.set(r);
7
7
  }
8
8
  const ke = {
9
9
  en: {
@@ -122,139 +122,139 @@ const ke = {
122
122
  }
123
123
  };
124
124
  if (typeof window < "u") {
125
- let t = function(e) {
125
+ let r = function(e) {
126
126
  return function(...n) {
127
127
  try {
128
128
  return e.apply(this, n);
129
- } catch (r) {
130
- if (r instanceof DOMException && r.message.includes("has already been used with this registry") || r.message.includes("Cannot define multiple custom elements with the same tag name"))
129
+ } catch (i) {
130
+ 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"))
131
131
  return !1;
132
- throw r;
132
+ throw i;
133
133
  }
134
134
  };
135
135
  };
136
- customElements.define = t(customElements.define), import("./GeneralAnimationLoading-yNj1-Ym_.js").then(({ default: e }) => {
136
+ customElements.define = r(customElements.define), import("./GeneralAnimationLoading-yNj1-Ym_.js").then(({ default: e }) => {
137
137
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", e.element);
138
138
  });
139
139
  }
140
- function gn(t) {
141
- tn(t, "svelte-d1flp7", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{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:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #22B04E;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{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 p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}");
140
+ function hn(r) {
141
+ rn(r, "svelte-d1flp7", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{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:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #22B04E;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{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 p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}");
142
142
  }
143
- function Ce(t, e, n) {
144
- const r = t.slice();
145
- return r[71] = e[n], r;
143
+ function Me(r, e, n) {
144
+ const i = r.slice();
145
+ return i[72] = e[n], i;
146
146
  }
147
- function Me(t, e, n) {
148
- const r = t.slice();
149
- return r[74] = e[n], r;
147
+ function Fe(r, e, n) {
148
+ const i = r.slice();
149
+ return i[75] = e[n], i;
150
150
  }
151
- function hn(t) {
152
- let e, n, r, s, o, l, d, u, w, R, S, y, p, L, N, E, B, T, A, k = Q(
151
+ function bn(r) {
152
+ let e, n, i, s, o, l, m, u, w, O, S, _, p, j, x, N, B, R, M, v = $(
153
153
  /*tabs*/
154
- t[16]
154
+ r[16]
155
155
  ), g = [];
156
- for (let c = 0; c < k.length; c += 1)
157
- g[c] = xe(Me(t, k, c));
158
- function I(c, C) {
156
+ for (let c = 0; c < v.length; c += 1)
157
+ g[c] = Ne(Fe(r, v, c));
158
+ function z(c, y) {
159
159
  return (
160
160
  /*isLoadingDelayed*/
161
- c[17] ? yn : bn
161
+ c[17] ? Wn : yn
162
162
  );
163
163
  }
164
- let x = I(t), _ = x(t);
164
+ let A = z(r), C = A(r);
165
165
  return {
166
166
  c() {
167
- e = b("div"), n = b("div"), r = b("div");
167
+ e = W("div"), n = W("div"), i = W("div");
168
168
  for (let c = 0; c < g.length; c += 1)
169
169
  g[c].c();
170
- s = P(), o = b("div"), l = b("button"), d = Y("svg"), u = Y("path"), R = P(), S = b("button"), y = Y("svg"), p = Y("path"), E = P(), _.c(), a(r, "class", "WinnerButtonsContainer"), a(u, "style", w = /*numberOfVisibleSlides*/
171
- t[11] >= /*winners*/
172
- t[10].length ? "fill:#F6F6F62E" : ""), a(u, "id", "Path_36"), a(u, "data-name", "Path 36"), a(u, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), a(u, "transform", "translate(14.656 0) rotate(90)"), a(u, "fill", "#fff"), a(d, "id", "Component_46_2"), a(d, "data-name", "Component 46 – 2"), a(d, "xmlns", "http://www.w3.org/2000/svg"), a(d, "width", "15"), a(d, "height", "15"), a(d, "viewBox", "0 0 16 24.656"), a(l, "class", "SliderButton"), a(p, "style", L = /*numberOfVisibleSlides*/
173
- t[11] >= /*winners*/
174
- t[10].length ? "fill:#F6F6F62E" : ""), a(p, "id", "Path_36"), a(p, "data-name", "Path 36"), a(p, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), a(p, "transform", "translate(0 24.656) rotate(-90)"), a(p, "fill", "#fff"), a(y, "id", "Component_46_2"), a(y, "data-name", "Component 46 – 2"), a(y, "xmlns", "http://www.w3.org/2000/svg"), a(y, "width", "15"), a(y, "height", "15"), a(y, "viewBox", "0 0 16 24.656"), a(S, "class", "SliderButton"), a(o, "class", N = "ButtonsContainer " + /*enableautoscroll*/
175
- (t[4] == "true" ? "ButtonsContainerNone" : "")), a(n, "class", "WinnersHeader"), a(e, "class", B = "CasinoWinners " + /*mobile*/
176
- (t[12] ? "Mobile" : ""));
177
- },
178
- m(c, C) {
179
- j(c, e, C), f(e, n), f(n, r);
180
- for (let m = 0; m < g.length; m += 1)
181
- g[m] && g[m].m(r, null);
182
- f(n, s), f(n, o), f(o, l), f(l, d), f(d, u), f(o, R), f(o, S), f(S, y), f(y, p), f(e, E), _.m(e, null), T || (A = [
183
- J(
170
+ s = G(), o = W("div"), l = W("button"), m = Q("svg"), u = Q("path"), O = G(), S = W("button"), _ = Q("svg"), p = Q("path"), N = G(), C.c(), a(i, "class", "WinnerButtonsContainer"), a(u, "style", w = /*numberOfVisibleSlides*/
171
+ r[11] >= /*winners*/
172
+ r[10].length ? "fill:#F6F6F62E" : ""), a(u, "id", "Path_36"), a(u, "data-name", "Path 36"), a(u, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), a(u, "transform", "translate(14.656 0) rotate(90)"), a(u, "fill", "#fff"), a(m, "id", "Component_46_2"), a(m, "data-name", "Component 46 – 2"), a(m, "xmlns", "http://www.w3.org/2000/svg"), a(m, "width", "15"), a(m, "height", "15"), a(m, "viewBox", "0 0 16 24.656"), a(l, "class", "SliderButton"), a(p, "style", j = /*numberOfVisibleSlides*/
173
+ r[11] >= /*winners*/
174
+ r[10].length ? "fill:#F6F6F62E" : ""), a(p, "id", "Path_36"), a(p, "data-name", "Path 36"), a(p, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), a(p, "transform", "translate(0 24.656) rotate(-90)"), a(p, "fill", "#fff"), a(_, "id", "Component_46_2"), a(_, "data-name", "Component 46 – 2"), a(_, "xmlns", "http://www.w3.org/2000/svg"), a(_, "width", "15"), a(_, "height", "15"), a(_, "viewBox", "0 0 16 24.656"), a(S, "class", "SliderButton"), a(o, "class", x = "ButtonsContainer " + /*enableautoscroll*/
175
+ (r[4] == "true" ? "ButtonsContainerNone" : "")), a(n, "class", "WinnersHeader"), a(e, "class", B = "CasinoWinners " + /*mobile*/
176
+ (r[12] ? "Mobile" : ""));
177
+ },
178
+ m(c, y) {
179
+ T(c, e, y), f(e, n), f(n, i);
180
+ for (let d = 0; d < g.length; d += 1)
181
+ g[d] && g[d].m(i, null);
182
+ f(n, s), f(n, o), f(o, l), f(l, m), f(m, u), f(o, O), f(o, S), f(S, _), f(_, p), f(e, N), C.m(e, null), R || (M = [
183
+ X(
184
184
  l,
185
185
  "click",
186
186
  /*click_handler_2*/
187
- t[46]
187
+ r[47]
188
188
  ),
189
- J(
189
+ X(
190
190
  S,
191
191
  "click",
192
192
  /*click_handler_3*/
193
- t[47]
193
+ r[48]
194
194
  )
195
- ], T = !0);
195
+ ], R = !0);
196
196
  },
197
- p(c, C) {
198
- if (C[0] & /*winnersType, istopavailable, toggleTab, $_, tabs, isrecentavailable*/
197
+ p(c, y) {
198
+ if (y[0] & /*winnersType, istopavailable, toggleTab, $_, tabs, isrecentavailable*/
199
199
  852483) {
200
- k = Q(
200
+ v = $(
201
201
  /*tabs*/
202
202
  c[16]
203
203
  );
204
- let m;
205
- for (m = 0; m < k.length; m += 1) {
206
- const v = Me(c, k, m);
207
- g[m] ? g[m].p(v, C) : (g[m] = xe(v), g[m].c(), g[m].m(r, null));
204
+ let d;
205
+ for (d = 0; d < v.length; d += 1) {
206
+ const P = Fe(c, v, d);
207
+ g[d] ? g[d].p(P, y) : (g[d] = Ne(P), g[d].c(), g[d].m(i, null));
208
208
  }
209
- for (; m < g.length; m += 1)
210
- g[m].d(1);
211
- g.length = k.length;
209
+ for (; d < g.length; d += 1)
210
+ g[d].d(1);
211
+ g.length = v.length;
212
212
  }
213
- C[0] & /*numberOfVisibleSlides, winners*/
213
+ y[0] & /*numberOfVisibleSlides, winners*/
214
214
  3072 && w !== (w = /*numberOfVisibleSlides*/
215
215
  c[11] >= /*winners*/
216
- c[10].length ? "fill:#F6F6F62E" : "") && a(u, "style", w), C[0] & /*numberOfVisibleSlides, winners*/
217
- 3072 && L !== (L = /*numberOfVisibleSlides*/
216
+ c[10].length ? "fill:#F6F6F62E" : "") && a(u, "style", w), y[0] & /*numberOfVisibleSlides, winners*/
217
+ 3072 && j !== (j = /*numberOfVisibleSlides*/
218
218
  c[11] >= /*winners*/
219
- c[10].length ? "fill:#F6F6F62E" : "") && a(p, "style", L), C[0] & /*enableautoscroll*/
220
- 16 && N !== (N = "ButtonsContainer " + /*enableautoscroll*/
221
- (c[4] == "true" ? "ButtonsContainerNone" : "")) && a(o, "class", N), x === (x = I(c)) && _ ? _.p(c, C) : (_.d(1), _ = x(c), _ && (_.c(), _.m(e, null))), C[0] & /*mobile*/
219
+ c[10].length ? "fill:#F6F6F62E" : "") && a(p, "style", j), y[0] & /*enableautoscroll*/
220
+ 16 && x !== (x = "ButtonsContainer " + /*enableautoscroll*/
221
+ (c[4] == "true" ? "ButtonsContainerNone" : "")) && a(o, "class", x), A === (A = z(c)) && C ? C.p(c, y) : (C.d(1), C = A(c), C && (C.c(), C.m(e, null))), y[0] & /*mobile*/
222
222
  4096 && B !== (B = "CasinoWinners " + /*mobile*/
223
223
  (c[12] ? "Mobile" : "")) && a(e, "class", B);
224
224
  },
225
225
  d(c) {
226
- c && z(e), Ee(g, c), _.d(), T = !1, ln(A);
226
+ c && E(e), Ee(g, c), C.d(), R = !1, an(M);
227
227
  }
228
228
  };
229
229
  }
230
- function pn(t) {
230
+ function pn(r) {
231
231
  let e;
232
232
  return {
233
233
  c() {
234
- e = b("general-animation-loading"), G(
234
+ e = W("general-animation-loading"), I(
235
235
  e,
236
236
  "clientstyling",
237
237
  /*clientstyling*/
238
- t[2]
239
- ), G(
238
+ r[2]
239
+ ), I(
240
240
  e,
241
241
  "clientstylingurl",
242
242
  /*clientstylingurl*/
243
- t[3]
243
+ r[3]
244
244
  );
245
245
  },
246
- m(n, r) {
247
- j(n, e, r);
246
+ m(n, i) {
247
+ T(n, e, i);
248
248
  },
249
- p(n, r) {
250
- r[0] & /*clientstyling*/
251
- 4 && G(
249
+ p(n, i) {
250
+ i[0] & /*clientstyling*/
251
+ 4 && I(
252
252
  e,
253
253
  "clientstyling",
254
254
  /*clientstyling*/
255
255
  n[2]
256
- ), r[0] & /*clientstylingurl*/
257
- 8 && G(
256
+ ), i[0] & /*clientstylingurl*/
257
+ 8 && I(
258
258
  e,
259
259
  "clientstylingurl",
260
260
  /*clientstylingurl*/
@@ -262,181 +262,181 @@ function pn(t) {
262
262
  );
263
263
  },
264
264
  d(n) {
265
- n && z(e);
265
+ n && E(e);
266
266
  }
267
267
  };
268
268
  }
269
- function Fe(t) {
269
+ function Se(r) {
270
270
  let e, n = (
271
271
  /*isrecentavailable*/
272
- t[0] === "true" && Se(t)
272
+ r[0] === "true" && Be(r)
273
273
  );
274
274
  return {
275
275
  c() {
276
- n && n.c(), e = le();
276
+ n && n.c(), e = ae();
277
277
  },
278
- m(r, s) {
279
- n && n.m(r, s), j(r, e, s);
278
+ m(i, s) {
279
+ n && n.m(i, s), T(i, e, s);
280
280
  },
281
- p(r, s) {
281
+ p(i, s) {
282
282
  /*isrecentavailable*/
283
- r[0] === "true" ? n ? n.p(r, s) : (n = Se(r), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null);
283
+ i[0] === "true" ? n ? n.p(i, s) : (n = Be(i), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null);
284
284
  },
285
- d(r) {
286
- r && z(e), n && n.d(r);
285
+ d(i) {
286
+ i && E(e), n && n.d(i);
287
287
  }
288
288
  };
289
289
  }
290
- function Se(t) {
290
+ function Be(r) {
291
291
  let e, n = (
292
292
  /*$_*/
293
- t[18]("recentWinners") + ""
294
- ), r, s, o, l;
293
+ r[18]("recentWinners") + ""
294
+ ), i, s, o, l;
295
295
  return {
296
296
  c() {
297
- e = b("button"), r = K(n), a(e, "class", s = "WinnersButton " + /*winnersType*/
298
- (t[9] == "recent" ? "Active" : ""));
297
+ e = W("button"), i = K(n), a(e, "class", s = "WinnersButton " + /*winnersType*/
298
+ (r[9] == "recent" ? "Active" : ""));
299
299
  },
300
- m(d, u) {
301
- j(d, e, u), f(e, r), o || (l = J(
300
+ m(m, u) {
301
+ T(m, e, u), f(e, i), o || (l = X(
302
302
  e,
303
303
  "click",
304
304
  /*click_handler*/
305
- t[44]
305
+ r[45]
306
306
  ), o = !0);
307
307
  },
308
- p(d, u) {
308
+ p(m, u) {
309
309
  u[0] & /*$_*/
310
310
  262144 && n !== (n = /*$_*/
311
- d[18]("recentWinners") + "") && H(r, n), u[0] & /*winnersType*/
311
+ m[18]("recentWinners") + "") && q(i, n), u[0] & /*winnersType*/
312
312
  512 && s !== (s = "WinnersButton " + /*winnersType*/
313
- (d[9] == "recent" ? "Active" : "")) && a(e, "class", s);
313
+ (m[9] == "recent" ? "Active" : "")) && a(e, "class", s);
314
314
  },
315
- d(d) {
316
- d && z(e), o = !1, l();
315
+ d(m) {
316
+ m && E(e), o = !1, l();
317
317
  }
318
318
  };
319
319
  }
320
- function Be(t) {
320
+ function xe(r) {
321
321
  let e, n = (
322
322
  /*$_*/
323
- t[18]("topWinners") + ""
324
- ), r, s, o, l, d;
323
+ r[18]("topWinners") + ""
324
+ ), i, s, o, l, m;
325
325
  return {
326
326
  c() {
327
- e = b("button"), r = K(n), s = P(), a(e, "class", o = "WinnersButton " + /*winnersType*/
328
- (t[9] == "top" ? "Active" : "") + " " + /*istopavailable*/
329
- (t[1] == "false" ? "Off" : ""));
327
+ e = W("button"), i = K(n), s = G(), a(e, "class", o = "WinnersButton " + /*winnersType*/
328
+ (r[9] == "top" ? "Active" : "") + " " + /*istopavailable*/
329
+ (r[1] == "false" ? "Off" : ""));
330
330
  },
331
331
  m(u, w) {
332
- j(u, e, w), f(e, r), f(e, s), l || (d = J(
332
+ T(u, e, w), f(e, i), f(e, s), l || (m = X(
333
333
  e,
334
334
  "click",
335
335
  /*click_handler_1*/
336
- t[45]
336
+ r[46]
337
337
  ), l = !0);
338
338
  },
339
339
  p(u, w) {
340
340
  w[0] & /*$_*/
341
341
  262144 && n !== (n = /*$_*/
342
- u[18]("topWinners") + "") && H(r, n), w[0] & /*winnersType, istopavailable*/
342
+ u[18]("topWinners") + "") && q(i, n), w[0] & /*winnersType, istopavailable*/
343
343
  514 && o !== (o = "WinnersButton " + /*winnersType*/
344
344
  (u[9] == "top" ? "Active" : "") + " " + /*istopavailable*/
345
345
  (u[1] == "false" ? "Off" : "")) && a(e, "class", o);
346
346
  },
347
347
  d(u) {
348
- u && z(e), l = !1, d();
348
+ u && E(e), l = !1, m();
349
349
  }
350
350
  };
351
351
  }
352
- function xe(t) {
353
- let e, n, r = (
352
+ function Ne(r) {
353
+ let e, n, i = (
354
354
  /*tab*/
355
- t[74] == "recent" && Fe(t)
355
+ r[75] == "recent" && Se(r)
356
356
  ), s = (
357
357
  /*tab*/
358
- t[74] == "top" && Be(t)
358
+ r[75] == "top" && xe(r)
359
359
  );
360
360
  return {
361
361
  c() {
362
- r && r.c(), e = P(), s && s.c(), n = le();
362
+ i && i.c(), e = G(), s && s.c(), n = ae();
363
363
  },
364
364
  m(o, l) {
365
- r && r.m(o, l), j(o, e, l), s && s.m(o, l), j(o, n, l);
365
+ i && i.m(o, l), T(o, e, l), s && s.m(o, l), T(o, n, l);
366
366
  },
367
367
  p(o, l) {
368
368
  /*tab*/
369
- o[74] == "recent" ? r ? r.p(o, l) : (r = Fe(o), r.c(), r.m(e.parentNode, e)) : r && (r.d(1), r = null), /*tab*/
370
- o[74] == "top" ? s ? s.p(o, l) : (s = Be(o), s.c(), s.m(n.parentNode, n)) : s && (s.d(1), s = null);
369
+ o[75] == "recent" ? i ? i.p(o, l) : (i = Se(o), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null), /*tab*/
370
+ o[75] == "top" ? s ? s.p(o, l) : (s = xe(o), s.c(), s.m(n.parentNode, n)) : s && (s.d(1), s = null);
371
371
  },
372
372
  d(o) {
373
- o && (z(e), z(n)), r && r.d(o), s && s.d(o);
373
+ o && (E(e), E(n)), i && i.d(o), s && s.d(o);
374
374
  }
375
375
  };
376
376
  }
377
- function bn(t) {
377
+ function yn(r) {
378
378
  let e;
379
379
  function n(o, l) {
380
380
  return (
381
381
  /*winners*/
382
- o[10].length !== 0 ? Wn : _n
382
+ o[10].length !== 0 ? wn : _n
383
383
  );
384
384
  }
385
- let r = n(t), s = r(t);
385
+ let i = n(r), s = i(r);
386
386
  return {
387
387
  c() {
388
- e = b("div"), s.c(), a(e, "class", "WinnersSlider");
388
+ e = W("div"), s.c(), a(e, "class", "WinnersSlider");
389
389
  },
390
390
  m(o, l) {
391
- j(o, e, l), s.m(e, null), t[50](e);
391
+ T(o, e, l), s.m(e, null), r[51](e);
392
392
  },
393
393
  p(o, l) {
394
- r === (r = n(o)) && s ? s.p(o, l) : (s.d(1), s = r(o), s && (s.c(), s.m(e, null)));
394
+ i === (i = n(o)) && s ? s.p(o, l) : (s.d(1), s = i(o), s && (s.c(), s.m(e, null)));
395
395
  },
396
396
  d(o) {
397
- o && z(e), s.d(), t[50](null);
397
+ o && E(e), s.d(), r[51](null);
398
398
  }
399
399
  };
400
400
  }
401
- function yn(t) {
401
+ function Wn(r) {
402
402
  let e;
403
403
  return {
404
404
  c() {
405
- e = b("general-animation-loading"), G(
405
+ e = W("general-animation-loading"), I(
406
406
  e,
407
407
  "clientstyling",
408
408
  /*clientstyling*/
409
- t[2]
410
- ), G(
409
+ r[2]
410
+ ), I(
411
411
  e,
412
412
  "clientstylingurl",
413
413
  /*clientstylingurl*/
414
- t[3]
415
- ), G(
414
+ r[3]
415
+ ), I(
416
416
  e,
417
417
  "mbsource",
418
418
  /*mbsource*/
419
- t[5]
419
+ r[5]
420
420
  );
421
421
  },
422
- m(n, r) {
423
- j(n, e, r);
422
+ m(n, i) {
423
+ T(n, e, i);
424
424
  },
425
- p(n, r) {
426
- r[0] & /*clientstyling*/
427
- 4 && G(
425
+ p(n, i) {
426
+ i[0] & /*clientstyling*/
427
+ 4 && I(
428
428
  e,
429
429
  "clientstyling",
430
430
  /*clientstyling*/
431
431
  n[2]
432
- ), r[0] & /*clientstylingurl*/
433
- 8 && G(
432
+ ), i[0] & /*clientstylingurl*/
433
+ 8 && I(
434
434
  e,
435
435
  "clientstylingurl",
436
436
  /*clientstylingurl*/
437
437
  n[3]
438
- ), r[0] & /*mbsource*/
439
- 32 && G(
438
+ ), i[0] & /*mbsource*/
439
+ 32 && I(
440
440
  e,
441
441
  "mbsource",
442
442
  /*mbsource*/
@@ -444,366 +444,370 @@ function yn(t) {
444
444
  );
445
445
  },
446
446
  d(n) {
447
- n && z(e);
447
+ n && E(e);
448
448
  }
449
449
  };
450
450
  }
451
- function _n(t) {
451
+ function _n(r) {
452
452
  let e, n = (
453
453
  /*$_*/
454
- t[18]("noWinnersMessage") + ""
455
- ), r;
454
+ r[18]("noWinnersMessage") + ""
455
+ ), i;
456
456
  return {
457
457
  c() {
458
- e = b("p"), r = K(n), a(e, "class", "NoWinnersMessage");
458
+ e = W("p"), i = K(n), a(e, "class", "NoWinnersMessage");
459
459
  },
460
460
  m(s, o) {
461
- j(s, e, o), f(e, r);
461
+ T(s, e, o), f(e, i);
462
462
  },
463
463
  p(s, o) {
464
464
  o[0] & /*$_*/
465
465
  262144 && n !== (n = /*$_*/
466
- s[18]("noWinnersMessage") + "") && H(r, n);
466
+ s[18]("noWinnersMessage") + "") && q(i, n);
467
467
  },
468
468
  d(s) {
469
- s && z(e);
469
+ s && E(e);
470
470
  }
471
471
  };
472
472
  }
473
- function Wn(t) {
474
- let e, n = Q(
473
+ function wn(r) {
474
+ let e, n = $(
475
475
  /*winners*/
476
- t[10]
477
- ), r = [];
476
+ r[10]
477
+ ), i = [];
478
478
  for (let s = 0; s < n.length; s += 1)
479
- r[s] = Ne(Ce(t, n, s));
479
+ i[s] = Ae(Me(r, n, s));
480
480
  return {
481
481
  c() {
482
- for (let s = 0; s < r.length; s += 1)
483
- r[s].c();
484
- e = le();
482
+ for (let s = 0; s < i.length; s += 1)
483
+ i[s].c();
484
+ e = ae();
485
485
  },
486
486
  m(s, o) {
487
- for (let l = 0; l < r.length; l += 1)
488
- r[l] && r[l].m(s, o);
489
- j(s, e, o);
487
+ for (let l = 0; l < i.length; l += 1)
488
+ i[l] && i[l].m(s, o);
489
+ T(s, e, o);
490
490
  },
491
491
  p(s, o) {
492
492
  if (o[0] & /*addAnimation, winnerCardElem, getAmount, winners, $_, maskUsername, openWinnersGame*/
493
493
  20219136) {
494
- n = Q(
494
+ n = $(
495
495
  /*winners*/
496
496
  s[10]
497
497
  );
498
498
  let l;
499
499
  for (l = 0; l < n.length; l += 1) {
500
- const d = Ce(s, n, l);
501
- r[l] ? r[l].p(d, o) : (r[l] = Ne(d), r[l].c(), r[l].m(e.parentNode, e));
500
+ const m = Me(s, n, l);
501
+ i[l] ? i[l].p(m, o) : (i[l] = Ae(m), i[l].c(), i[l].m(e.parentNode, e));
502
502
  }
503
- for (; l < r.length; l += 1)
504
- r[l].d(1);
505
- r.length = n.length;
503
+ for (; l < i.length; l += 1)
504
+ i[l].d(1);
505
+ i.length = n.length;
506
506
  }
507
507
  },
508
508
  d(s) {
509
- s && z(e), Ee(r, s);
509
+ s && E(e), Ee(i, s);
510
510
  }
511
511
  };
512
512
  }
513
- function Ne(t) {
514
- let e, n, r, s, o, l, d, u = (
513
+ function Ae(r) {
514
+ let e, n, i, s, o, l, m, u = (
515
515
  /*winner*/
516
- t[71].gameName + ""
517
- ), w, R, S, y = (
516
+ r[72].gameName + ""
517
+ ), w, O, S, _ = (
518
518
  /*maskUsername*/
519
- t[20](
519
+ r[20](
520
520
  /*winner*/
521
- t[71].username
521
+ r[72].username
522
522
  ) + ""
523
- ), p, L, N, E = (
523
+ ), p, j, x, N = (
524
524
  /*$_*/
525
- t[18]("won") + ""
526
- ), B, T, A, k = (
525
+ r[18]("won") + ""
526
+ ), B, R, M, v = (
527
527
  /*getAmount*/
528
- t[24](
528
+ r[24](
529
529
  /*winner*/
530
- t[71].specifiedCurrencyAmount
530
+ r[72].specifiedCurrencyAmount
531
531
  ) + ""
532
- ), g, I, x, _, c;
533
- function C() {
532
+ ), g, z, A, C;
533
+ function c() {
534
534
  return (
535
535
  /*click_handler_4*/
536
- t[48](
536
+ r[49](
537
537
  /*winner*/
538
- t[71]
538
+ r[72]
539
539
  )
540
540
  );
541
541
  }
542
542
  return {
543
543
  c() {
544
- e = b("div"), n = b("div"), r = b("img"), l = P(), d = b("p"), w = K(u), R = P(), S = b("p"), p = K(y), L = P(), N = b("p"), B = K(E), T = P(), A = b("p"), g = K(k), I = P(), we(r.src, s = /*winner*/
545
- t[71]?.gameModel?.thumbnail) || a(r, "src", s), a(r, "alt", o = /*winner*/
546
- t[71]?.gameModel?.thumbnail), a(r, "class", "WinnersImage"), a(N, "class", "WinnerUsername"), a(n, "class", "WinnerCard"), a(e, "class", x = "CardWrapper " + /*addAnimation*/
547
- (t[15] ? "CardWrapperAnimation" : ""));
548
- },
549
- m(m, v) {
550
- j(m, e, v), f(e, n), f(n, r), f(n, l), f(n, d), f(d, w), f(n, R), f(n, S), f(S, p), f(n, L), f(n, N), f(N, B), f(n, T), f(n, A), f(A, g), t[49](n), f(e, I), _ || (c = J(r, "click", C), _ = !0);
551
- },
552
- p(m, v) {
553
- t = m, v[0] & /*winners*/
554
- 1024 && !we(r.src, s = /*winner*/
555
- t[71]?.gameModel?.thumbnail) && a(r, "src", s), v[0] & /*winners*/
544
+ e = W("div"), n = W("div"), i = W("img"), l = G(), m = W("p"), w = K(u), O = G(), S = W("p"), p = K(_), j = G(), x = W("p"), B = K(N), R = G(), M = W("p"), g = G(), ve(i.src, s = /*winner*/
545
+ r[72]?.gameModel?.thumbnail) || a(i, "src", s), a(i, "alt", o = /*winner*/
546
+ r[72]?.gameModel?.thumbnail), a(i, "class", "WinnersImage"), a(x, "class", "WinnerUsername"), a(M, "class", "WinnerAmount"), a(n, "class", "WinnerCard"), a(e, "class", z = "CardWrapper " + /*addAnimation*/
547
+ (r[15] ? "CardWrapperAnimation" : ""));
548
+ },
549
+ m(y, d) {
550
+ T(y, e, d), f(e, n), f(n, i), f(n, l), f(n, m), f(m, w), f(n, O), f(n, S), f(S, p), f(n, j), f(n, x), f(x, B), f(n, R), f(n, M), M.innerHTML = v, r[50](n), f(e, g), A || (C = X(i, "click", c), A = !0);
551
+ },
552
+ p(y, d) {
553
+ r = y, d[0] & /*winners*/
554
+ 1024 && !ve(i.src, s = /*winner*/
555
+ r[72]?.gameModel?.thumbnail) && a(i, "src", s), d[0] & /*winners*/
556
556
  1024 && o !== (o = /*winner*/
557
- t[71]?.gameModel?.thumbnail) && a(r, "alt", o), v[0] & /*winners*/
557
+ r[72]?.gameModel?.thumbnail) && a(i, "alt", o), d[0] & /*winners*/
558
558
  1024 && u !== (u = /*winner*/
559
- t[71].gameName + "") && H(w, u), v[0] & /*winners*/
560
- 1024 && y !== (y = /*maskUsername*/
561
- t[20](
559
+ r[72].gameName + "") && q(w, u), d[0] & /*winners*/
560
+ 1024 && _ !== (_ = /*maskUsername*/
561
+ r[20](
562
562
  /*winner*/
563
- t[71].username
564
- ) + "") && H(p, y), v[0] & /*$_*/
565
- 262144 && E !== (E = /*$_*/
566
- t[18]("won") + "") && H(B, E), v[0] & /*winners*/
567
- 1024 && k !== (k = /*getAmount*/
568
- t[24](
563
+ r[72].username
564
+ ) + "") && q(p, _), d[0] & /*$_*/
565
+ 262144 && N !== (N = /*$_*/
566
+ r[18]("won") + "") && q(B, N), d[0] & /*winners*/
567
+ 1024 && v !== (v = /*getAmount*/
568
+ r[24](
569
569
  /*winner*/
570
- t[71].specifiedCurrencyAmount
571
- ) + "") && H(g, k), v[0] & /*addAnimation*/
572
- 32768 && x !== (x = "CardWrapper " + /*addAnimation*/
573
- (t[15] ? "CardWrapperAnimation" : "")) && a(e, "class", x);
570
+ r[72].specifiedCurrencyAmount
571
+ ) + "") && (M.innerHTML = v), d[0] & /*addAnimation*/
572
+ 32768 && z !== (z = "CardWrapper " + /*addAnimation*/
573
+ (r[15] ? "CardWrapperAnimation" : "")) && a(e, "class", z);
574
574
  },
575
- d(m) {
576
- m && z(e), t[49](null), _ = !1, c();
575
+ d(y) {
576
+ y && E(e), r[50](null), A = !1, C();
577
577
  }
578
578
  };
579
579
  }
580
- function wn(t) {
580
+ function vn(r) {
581
581
  let e;
582
582
  function n(o, l) {
583
583
  return (
584
584
  /*isLoading*/
585
585
  o[13] || /*isLoadingCustomStyling*/
586
- o[14] ? pn : hn
586
+ o[14] ? pn : bn
587
587
  );
588
588
  }
589
- let r = n(t), s = r(t);
589
+ let i = n(r), s = i(r);
590
590
  return {
591
591
  c() {
592
- e = b("div"), s.c();
592
+ e = W("div"), s.c();
593
593
  },
594
594
  m(o, l) {
595
- j(o, e, l), s.m(e, null), t[51](e);
595
+ T(o, e, l), s.m(e, null), r[52](e);
596
596
  },
597
597
  p(o, l) {
598
- r === (r = n(o)) && s ? s.p(o, l) : (s.d(1), s = r(o), s && (s.c(), s.m(e, null)));
598
+ i === (i = n(o)) && s ? s.p(o, l) : (s.d(1), s = i(o), s && (s.c(), s.m(e, null)));
599
599
  },
600
600
  i: _e,
601
601
  o: _e,
602
602
  d(o) {
603
- o && z(e), s.d(), t[51](null);
603
+ o && E(e), s.d(), r[52](null);
604
604
  }
605
605
  };
606
606
  }
607
- function vn(t, e, n) {
608
- let r;
609
- rn(t, fn, (i) => n(18, r = i));
610
- let { endpoint: s = "" } = e, { session: o = "" } = e, { userid: l = "" } = e, { periodrecent: d = "Today" } = e, { periodtop: u = "Last7Days" } = e, { numberusersrecent: w = "20" } = e, { numberuserstop: R = "20" } = e, { amountlimit: S = "1" } = e, { vendorCategory: y = "All" } = e, { lang: p = "en" } = e, { isrecentavailable: L = "true" } = e, { istopavailable: N = "true" } = e, { defaultcurrency: E = "" } = e, { usercurrency: B = "" } = e, { clientstyling: T = "" } = e, { clientstylingurl: A = "" } = e, { enableautoscroll: k = "" } = e, { tabsorder: g = "" } = e, { translationurl: I = "" } = e, { winnersdatasources: x = "" } = e, { hascustomstyling: _ = "false" } = e, { mbsource: c } = e, { currencylocale: C = "" } = e, m, v, q, U = [], M = 0, F = 0, Te = window.navigator.userAgent, ae, V, $, O, ee = !0, ce = !1, ue = !1, de, X, ne, Z, fe = [], te = !1;
611
- const Ae = () => {
612
- let i = new URL(I);
613
- fetch(i.href).then((W) => W.json()).then((W) => {
614
- Object.keys(W).forEach((D) => {
615
- ve(D, W[D]);
607
+ function Cn(r, e, n) {
608
+ let i;
609
+ sn(r, fn, (t) => n(18, i = t));
610
+ let { endpoint: s = "" } = e, { session: o = "" } = e, { userid: l = "" } = e, { periodrecent: m = "Today" } = e, { periodtop: u = "Last7Days" } = e, { numberusersrecent: w = "20" } = e, { numberuserstop: O = "20" } = e, { amountlimit: S = "1" } = e, { vendorCategory: _ = "All" } = e, { lang: p = "en" } = e, { isrecentavailable: j = "true" } = e, { istopavailable: x = "true" } = e, { defaultcurrency: N = "" } = e, { usercurrency: B = "" } = e, { customcurrencysymbol: R } = e, { clientstyling: M = "" } = e, { clientstylingurl: v = "" } = e, { enableautoscroll: g = "" } = e, { tabsorder: z = "" } = e, { translationurl: A = "" } = e, { winnersdatasources: C = "" } = e, { hascustomstyling: c = "false" } = e, { mbsource: y } = e, { currencylocale: d = "" } = e, P, V, H, D = [], k = 0, F = 0, Te = window.navigator.userAgent, ce, Z, ee, L, ne = !0, ue = !1, de = !1, me, Y, te, J, fe = [], re = !1;
611
+ const ze = () => {
612
+ let t = new URL(A);
613
+ fetch(t.href).then((b) => b.json()).then((b) => {
614
+ Object.keys(b).forEach((U) => {
615
+ Ce(U, b[U]);
616
616
  });
617
- }).catch((W) => {
618
- console.log(W);
617
+ }).catch((b) => {
618
+ console.log(b);
619
619
  });
620
620
  };
621
- Object.keys(ke).forEach((i) => {
622
- ve(i, ke[i]);
621
+ Object.keys(ke).forEach((t) => {
622
+ Ce(t, ke[t]);
623
623
  });
624
- const me = () => {
625
- fe = x.split(",").map(function(W) {
626
- return W.trim();
624
+ const ge = () => {
625
+ fe = C.split(",").map(function(b) {
626
+ return b.trim();
627
627
  });
628
- const i = new URL(`${s}/v1/casino/${q}-winners`);
629
- n(17, te = !0), i.searchParams.append("limit", q == "recent" ? w : R), i.searchParams.append("specifiedCurrency", Z), i.searchParams.append("period", q == "recent" ? d : u), i.searchParams.append("language", p), i.searchParams.append("amountLimit", S), i.searchParams.append("vendorCategory", y), fe.forEach((W) => {
630
- i.searchParams.append("dataSource", W);
628
+ const t = new URL(`${s}/v1/casino/${H}-winners`);
629
+ n(17, re = !0), t.searchParams.append("limit", H == "recent" ? w : O), t.searchParams.append("specifiedCurrency", J), t.searchParams.append("period", H == "recent" ? m : u), t.searchParams.append("language", p), t.searchParams.append("amountLimit", S), t.searchParams.append("vendorCategory", _), fe.forEach((b) => {
630
+ t.searchParams.append("dataSource", b);
631
631
  }), setTimeout(
632
632
  () => {
633
- fetch(i.href).then((W) => W.json()).then(async (W) => {
634
- n(10, U = []), n(10, U = W.items.map((D) => D)), n(17, te = !1), await We(), Oe(), he(), k == "true" && (clearInterval(X), Le()), n(13, ee = !1), ze();
633
+ fetch(t.href).then((b) => b.json()).then(async (b) => {
634
+ n(10, D = []), n(10, D = b.items.map((U) => U)), n(17, re = !1), await we(), Re(), be(), g == "true" && (clearInterval(Y), Oe()), n(13, ne = !1), je();
635
635
  });
636
636
  },
637
637
  1e3
638
638
  );
639
- }, ze = () => {
640
- const i = O.getRootNode().host;
641
- i.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: i } }));
642
- }, re = (i) => {
643
- q !== i && (n(10, U = []), n(9, q = i), me());
644
- }, je = (i) => i.slice(0, 2) + i.slice(2, -2).replace(/./g, "*") + i.slice(-2), ge = (i, W, D, se) => {
639
+ }, je = () => {
640
+ const t = L.getRootNode().host;
641
+ t.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: t } }));
642
+ }, ie = (t) => {
643
+ H !== t && (n(10, D = []), n(9, H = t), ge());
644
+ }, Le = (t) => t.slice(0, 2) + t.slice(2, -2).replace(/./g, "*") + t.slice(-2), he = (t, b, U, oe) => {
645
645
  window.postMessage(
646
646
  {
647
647
  type: "OpenCasinoWinnersGame",
648
- gameId: i,
649
- launchUrl: W,
650
- gameName: D,
651
- subVendor: se
648
+ gameId: t,
649
+ launchUrl: b,
650
+ gameName: U,
651
+ subVendor: oe
652
652
  },
653
653
  window.location.href
654
654
  ), typeof gtag == "function" && gtag("event", "OpenGame", {
655
655
  context: "WinnersWidget",
656
- gameId: `${i}`,
657
- userId: `${$ || "Not logged in"}`
656
+ gameId: `${t}`,
657
+ userId: `${ee || "Not logged in"}`
658
658
  });
659
- }, he = (i = 0) => {
660
- const W = [...m.children];
661
- de = W.length, W.forEach((D, se) => {
662
- D.style.transform = `translateX(${100 * (se - i)}%)`;
659
+ }, be = (t = 0) => {
660
+ const b = [...P.children];
661
+ me = b.length, b.forEach((U, oe) => {
662
+ U.style.transform = `translateX(${100 * (oe - t)}%)`;
663
663
  }), setTimeout(
664
664
  () => {
665
- n(15, ue = !0);
665
+ n(15, de = !0);
666
666
  },
667
667
  10
668
668
  );
669
- }, Le = () => {
670
- M = 0, F < de ? X = setInterval(
669
+ }, Oe = () => {
670
+ k = 0, F < me ? Y = setInterval(
671
671
  () => {
672
- ie();
672
+ se();
673
673
  },
674
674
  3e3
675
- ) : clearInterval(X);
675
+ ) : clearInterval(Y);
676
676
  }, pe = () => {
677
- he(M);
678
- }, Oe = async () => {
679
- await We(), requestAnimationFrame(() => {
680
- const i = v ? v.offsetWidth : 0;
681
- m.offsetWidth && i ? n(11, F = Math.round(m.offsetWidth / i)) : n(11, F = 0);
677
+ be(k);
678
+ }, Re = async () => {
679
+ await we(), requestAnimationFrame(() => {
680
+ const t = V ? V.offsetWidth : 0;
681
+ P.offsetWidth && t ? n(11, F = Math.round(P.offsetWidth / t)) : n(11, F = 0);
682
682
  });
683
- }, be = () => {
684
- if (F >= U.length)
683
+ }, ye = () => {
684
+ if (F >= D.length)
685
685
  return;
686
- const i = U.length;
687
- M === 0 ? M = i - F : M - F < 0 ? M = 0 : M = M - F, pe();
688
- }, ie = () => {
689
- if (F >= U.length)
686
+ const t = D.length;
687
+ k === 0 ? k = t - F : k - F < 0 ? k = 0 : k = k - F, pe();
688
+ }, se = () => {
689
+ if (F >= D.length)
690
690
  return;
691
- const i = U.length;
692
- k == "true" && (M === i - F ? M = 0 : M++), k == "false" && (M === i - F ? M = 0 : i - F < M + F ? M = i - F : M += F), pe();
693
- }, Re = () => {
694
- mn(p);
691
+ const t = D.length;
692
+ g == "true" && (k === t - F ? k = 0 : k++), g == "false" && (k === t - F ? k = 0 : t - F < k + F ? k = t - F : k += F), pe();
695
693
  }, Ie = () => {
696
- n(42, V = !0), $ = l;
697
- }, ye = () => {
698
- n(43, Z = V ? B : E);
699
- }, Ge = (i) => C ? Intl.NumberFormat(C, {
700
- minimumFractionDigits: 2,
701
- maximumFractionDigits: 2,
702
- style: "currency",
703
- currency: Z
704
- }).format(i).replace(/\s/g, "") : `${i.toFixed(2)} ${V ? B : E}`, Pe = () => {
705
- _ === "true" && (!T && !A && O && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !T && A && n(14, ce = !0));
694
+ gn(p);
695
+ }, Ge = () => {
696
+ n(43, Z = !0), ee = l;
697
+ }, We = () => {
698
+ n(44, J = Z ? B : N);
699
+ }, Pe = (t) => {
700
+ const b = R ?? (Z ? B : N);
701
+ return `${d ? Intl.NumberFormat(d, {
702
+ minimumFractionDigits: 2,
703
+ maximumFractionDigits: 2,
704
+ style: "currency",
705
+ currency: J
706
+ }).format(t).replace(/\s/g, "") : t.toFixed(2)}<span class="CurrencySymbol">${b}</span>`;
706
707
  }, Ue = () => {
707
- n(16, ne = g.split(",")), n(9, q = ne[0]), ye(), n(13, ee = !1);
708
+ c === "true" && (!M && !v && L && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !M && v && n(14, ue = !0));
709
+ }, De = () => {
710
+ n(16, te = z.split(",")), n(9, H = te[0]), We(), n(13, ne = !1);
708
711
  };
709
- sn(() => (n(12, ae = on(Te)), () => {
710
- clearInterval(X);
712
+ on(() => (n(12, ce = ln(Te)), () => {
713
+ clearInterval(Y);
711
714
  }));
712
- const De = () => re("recent"), qe = () => re("top"), He = () => be(), Ke = () => ie(), Ve = (i) => ge(i.gameId, i.gameModel.launchUrl, i.gameModel.name, i.gameModel.subVendor);
713
- function Ze(i) {
714
- oe[i ? "unshift" : "push"](() => {
715
- v = i, n(8, v);
715
+ const He = () => ie("recent"), qe = () => ie("top"), Ke = () => ye(), Ve = () => se(), Ze = (t) => he(t.gameId, t.gameModel.launchUrl, t.gameModel.name, t.gameModel.subVendor);
716
+ function Je(t) {
717
+ le[t ? "unshift" : "push"](() => {
718
+ V = t, n(8, V);
716
719
  });
717
720
  }
718
- function Je(i) {
719
- oe[i ? "unshift" : "push"](() => {
720
- m = i, n(7, m);
721
+ function Xe(t) {
722
+ le[t ? "unshift" : "push"](() => {
723
+ P = t, n(7, P);
721
724
  });
722
725
  }
723
- function Xe(i) {
724
- oe[i ? "unshift" : "push"](() => {
725
- O = i, n(6, O);
726
+ function Ye(t) {
727
+ le[t ? "unshift" : "push"](() => {
728
+ L = t, n(6, L);
726
729
  });
727
730
  }
728
- return t.$$set = (i) => {
729
- "endpoint" in i && n(25, s = i.endpoint), "session" in i && n(26, o = i.session), "userid" in i && n(27, l = i.userid), "periodrecent" in i && n(28, d = i.periodrecent), "periodtop" in i && n(29, u = i.periodtop), "numberusersrecent" in i && n(30, w = i.numberusersrecent), "numberuserstop" in i && n(31, R = i.numberuserstop), "amountlimit" in i && n(32, S = i.amountlimit), "vendorCategory" in i && n(33, y = i.vendorCategory), "lang" in i && n(34, p = i.lang), "isrecentavailable" in i && n(0, L = i.isrecentavailable), "istopavailable" in i && n(1, N = i.istopavailable), "defaultcurrency" in i && n(35, E = i.defaultcurrency), "usercurrency" in i && n(36, B = i.usercurrency), "clientstyling" in i && n(2, T = i.clientstyling), "clientstylingurl" in i && n(3, A = i.clientstylingurl), "enableautoscroll" in i && n(4, k = i.enableautoscroll), "tabsorder" in i && n(37, g = i.tabsorder), "translationurl" in i && n(38, I = i.translationurl), "winnersdatasources" in i && n(39, x = i.winnersdatasources), "hascustomstyling" in i && n(40, _ = i.hascustomstyling), "mbsource" in i && n(5, c = i.mbsource), "currencylocale" in i && n(41, C = i.currencylocale);
730
- }, t.$$.update = () => {
731
- t.$$.dirty[0] & /*isrecentavailable, istopavailable, periodrecent, periodtop, numberusersrecent*/
732
- 1879048195 | t.$$.dirty[1] & /*numberuserstop, amountlimit, vendorCategory, lang, tabsorder*/
733
- 79 && L && N && d && u && w && R && S && y && p && g && Ue(), t.$$.dirty[0] & /*session*/
734
- 67108864 && o && Ie(), t.$$.dirty[1] & /*isLoggedIn, usercurrency, defaultcurrency*/
735
- 2096 && V && (B || E) && ye(), t.$$.dirty[0] & /*endpoint*/
736
- 33554432 | t.$$.dirty[1] & /*winnersdatasources, currency*/
737
- 4352 && s && x && Z && me(), t.$$.dirty[1] & /*lang*/
738
- 8 && p && Re(), t.$$.dirty[1] & /*translationurl*/
739
- 128 && I && Ae(), t.$$.dirty[1] & /*hascustomstyling*/
740
- 512 && _ && Pe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
741
- 68 && T && O && an(O, T), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
742
- 72 && A && O && cn(O, A), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
743
- 96 && O && un(O, `${c}.Style`);
731
+ return r.$$set = (t) => {
732
+ "endpoint" in t && n(25, s = t.endpoint), "session" in t && n(26, o = t.session), "userid" in t && n(27, l = t.userid), "periodrecent" in t && n(28, m = t.periodrecent), "periodtop" in t && n(29, u = t.periodtop), "numberusersrecent" in t && n(30, w = t.numberusersrecent), "numberuserstop" in t && n(31, O = t.numberuserstop), "amountlimit" in t && n(32, S = t.amountlimit), "vendorCategory" in t && n(33, _ = t.vendorCategory), "lang" in t && n(34, p = t.lang), "isrecentavailable" in t && n(0, j = t.isrecentavailable), "istopavailable" in t && n(1, x = t.istopavailable), "defaultcurrency" in t && n(35, N = t.defaultcurrency), "usercurrency" in t && n(36, B = t.usercurrency), "customcurrencysymbol" in t && n(37, R = t.customcurrencysymbol), "clientstyling" in t && n(2, M = t.clientstyling), "clientstylingurl" in t && n(3, v = t.clientstylingurl), "enableautoscroll" in t && n(4, g = t.enableautoscroll), "tabsorder" in t && n(38, z = t.tabsorder), "translationurl" in t && n(39, A = t.translationurl), "winnersdatasources" in t && n(40, C = t.winnersdatasources), "hascustomstyling" in t && n(41, c = t.hascustomstyling), "mbsource" in t && n(5, y = t.mbsource), "currencylocale" in t && n(42, d = t.currencylocale);
733
+ }, r.$$.update = () => {
734
+ r.$$.dirty[0] & /*isrecentavailable, istopavailable, periodrecent, periodtop, numberusersrecent*/
735
+ 1879048195 | r.$$.dirty[1] & /*numberuserstop, amountlimit, vendorCategory, lang, tabsorder*/
736
+ 143 && j && x && m && u && w && O && S && _ && p && z && De(), r.$$.dirty[0] & /*session*/
737
+ 67108864 && o && Ge(), r.$$.dirty[1] & /*isLoggedIn, usercurrency, defaultcurrency*/
738
+ 4144 && Z && (B || N) && We(), r.$$.dirty[0] & /*endpoint*/
739
+ 33554432 | r.$$.dirty[1] & /*winnersdatasources, currency*/
740
+ 8704 && s && C && J && ge(), r.$$.dirty[1] & /*lang*/
741
+ 8 && p && Ie(), r.$$.dirty[1] & /*translationurl*/
742
+ 256 && A && ze(), r.$$.dirty[1] & /*hascustomstyling*/
743
+ 1024 && c && Ue(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
744
+ 68 && M && L && cn(L, M), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
745
+ 72 && v && L && un(L, v), r.$$.dirty[0] & /*customStylingContainer, mbsource*/
746
+ 96 && L && dn(L, `${y}.Style`);
744
747
  }, [
745
- L,
746
- N,
747
- T,
748
- A,
749
- k,
750
- c,
751
- O,
752
- m,
748
+ j,
749
+ x,
750
+ M,
753
751
  v,
754
- q,
755
- U,
752
+ g,
753
+ y,
754
+ L,
755
+ P,
756
+ V,
757
+ H,
758
+ D,
756
759
  F,
757
- ae,
758
- ee,
759
760
  ce,
760
- ue,
761
761
  ne,
762
+ ue,
763
+ de,
762
764
  te,
763
- r,
764
765
  re,
765
- je,
766
- ge,
767
- be,
766
+ i,
768
767
  ie,
769
- Ge,
768
+ Le,
769
+ he,
770
+ ye,
771
+ se,
772
+ Pe,
770
773
  s,
771
774
  o,
772
775
  l,
773
- d,
776
+ m,
774
777
  u,
775
778
  w,
776
- R,
779
+ O,
777
780
  S,
778
- y,
781
+ _,
779
782
  p,
780
- E,
783
+ N,
781
784
  B,
782
- g,
783
- I,
784
- x,
785
- _,
785
+ R,
786
+ z,
787
+ A,
786
788
  C,
787
- V,
789
+ c,
790
+ d,
788
791
  Z,
789
- De,
790
- qe,
792
+ J,
791
793
  He,
794
+ qe,
792
795
  Ke,
793
796
  Ve,
794
797
  Ze,
795
798
  Je,
796
- Xe
799
+ Xe,
800
+ Ye
797
801
  ];
798
802
  }
799
- class kn extends $e {
803
+ class kn extends en {
800
804
  constructor(e) {
801
- super(), en(
805
+ super(), nn(
802
806
  this,
803
807
  e,
808
+ Cn,
804
809
  vn,
805
- wn,
806
- nn,
810
+ tn,
807
811
  {
808
812
  endpoint: 25,
809
813
  session: 26,
@@ -819,17 +823,18 @@ class kn extends $e {
819
823
  istopavailable: 1,
820
824
  defaultcurrency: 35,
821
825
  usercurrency: 36,
826
+ customcurrencysymbol: 37,
822
827
  clientstyling: 2,
823
828
  clientstylingurl: 3,
824
829
  enableautoscroll: 4,
825
- tabsorder: 37,
826
- translationurl: 38,
827
- winnersdatasources: 39,
828
- hascustomstyling: 40,
830
+ tabsorder: 38,
831
+ translationurl: 39,
832
+ winnersdatasources: 40,
833
+ hascustomstyling: 41,
829
834
  mbsource: 5,
830
- currencylocale: 41
835
+ currencylocale: 42
831
836
  },
832
- gn,
837
+ hn,
833
838
  [-1, -1, -1]
834
839
  );
835
840
  }
@@ -917,6 +922,12 @@ class kn extends $e {
917
922
  set usercurrency(e) {
918
923
  this.$$set({ usercurrency: e }), h();
919
924
  }
925
+ get customcurrencysymbol() {
926
+ return this.$$.ctx[37];
927
+ }
928
+ set customcurrencysymbol(e) {
929
+ this.$$set({ customcurrencysymbol: e }), h();
930
+ }
920
931
  get clientstyling() {
921
932
  return this.$$.ctx[2];
922
933
  }
@@ -936,25 +947,25 @@ class kn extends $e {
936
947
  this.$$set({ enableautoscroll: e }), h();
937
948
  }
938
949
  get tabsorder() {
939
- return this.$$.ctx[37];
950
+ return this.$$.ctx[38];
940
951
  }
941
952
  set tabsorder(e) {
942
953
  this.$$set({ tabsorder: e }), h();
943
954
  }
944
955
  get translationurl() {
945
- return this.$$.ctx[38];
956
+ return this.$$.ctx[39];
946
957
  }
947
958
  set translationurl(e) {
948
959
  this.$$set({ translationurl: e }), h();
949
960
  }
950
961
  get winnersdatasources() {
951
- return this.$$.ctx[39];
962
+ return this.$$.ctx[40];
952
963
  }
953
964
  set winnersdatasources(e) {
954
965
  this.$$set({ winnersdatasources: e }), h();
955
966
  }
956
967
  get hascustomstyling() {
957
- return this.$$.ctx[40];
968
+ return this.$$.ctx[41];
958
969
  }
959
970
  set hascustomstyling(e) {
960
971
  this.$$set({ hascustomstyling: e }), h();
@@ -966,13 +977,13 @@ class kn extends $e {
966
977
  this.$$set({ mbsource: e }), h();
967
978
  }
968
979
  get currencylocale() {
969
- return this.$$.ctx[41];
980
+ return this.$$.ctx[42];
970
981
  }
971
982
  set currencylocale(e) {
972
983
  this.$$set({ currencylocale: e }), h();
973
984
  }
974
985
  }
975
- dn(kn, { endpoint: {}, session: {}, userid: {}, periodrecent: {}, periodtop: {}, numberusersrecent: {}, numberuserstop: {}, amountlimit: {}, vendorCategory: {}, lang: {}, isrecentavailable: {}, istopavailable: {}, defaultcurrency: {}, usercurrency: {}, clientstyling: {}, clientstylingurl: {}, enableautoscroll: {}, tabsorder: {}, translationurl: {}, winnersdatasources: {}, hascustomstyling: {}, mbsource: {}, currencylocale: {} }, [], [], !0);
986
+ mn(kn, { endpoint: {}, session: {}, userid: {}, periodrecent: {}, periodtop: {}, numberusersrecent: {}, numberuserstop: {}, amountlimit: {}, vendorCategory: {}, lang: {}, isrecentavailable: {}, istopavailable: {}, defaultcurrency: {}, usercurrency: {}, customcurrencysymbol: {}, clientstyling: {}, clientstylingurl: {}, enableautoscroll: {}, tabsorder: {}, translationurl: {}, winnersdatasources: {}, hascustomstyling: {}, mbsource: {}, currencylocale: {} }, [], [], !0);
976
987
  export {
977
988
  kn as default
978
989
  };