@everymatrix/casino-lobby 1.85.20 → 1.85.22

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.
@@ -1,11 +1,11 @@
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-qxlVRlx3.js";
2
- function Ce(r, e) {
3
- Qe(r, 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 A, h as E, j as w, k as sn, o as on, l as ln, N as ve, C as ae, E as I, v as $, w as Ne, O as an, r as a, p as f, A as X, B as G, F as Q, U as ce, m as q, q as K, D as Ce, H as cn, I as un, J as dn, K as mn, L as fn } from "./CasinoCalendar-qxlVRlx3.js";
2
+ function gn(t, e) {
3
+ Qe(t, e);
4
4
  }
5
- function gn(r) {
6
- $e.set(r);
5
+ function hn(t) {
6
+ $e.set(t);
7
7
  }
8
- const ke = {
8
+ const bn = {
9
9
  en: {
10
10
  recentWinners: "Recent Winners",
11
11
  topWinners: "Top Winners",
@@ -121,8 +121,11 @@ const ke = {
121
121
  noWinnersMessage: "Currently there are no winners."
122
122
  }
123
123
  };
124
+ function pn(t, e, n) {
125
+ window.emMessageBus && window.emMessageBus.subscribe(t, n);
126
+ }
124
127
  if (typeof window < "u") {
125
- let r = function(e) {
128
+ let t = function(e) {
126
129
  return function(...n) {
127
130
  try {
128
131
  return e.apply(this, n);
@@ -133,69 +136,69 @@ if (typeof window < "u") {
133
136
  }
134
137
  };
135
138
  };
136
- customElements.define = r(customElements.define), import("./GeneralAnimationLoading-CPc2UOwA.js").then(({ default: e }) => {
139
+ customElements.define = t(customElements.define), import("./GeneralAnimationLoading-CPc2UOwA.js").then(({ default: e }) => {
137
140
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", e.element);
138
141
  });
139
142
  }
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}");
143
+ function yn(t) {
144
+ rn(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}");
142
145
  }
143
- function Me(r, e, n) {
144
- const i = r.slice();
145
- return i[72] = e[n], i;
146
+ function ke(t, e, n) {
147
+ const i = t.slice();
148
+ return i[74] = e[n], i;
146
149
  }
147
- function Fe(r, e, n) {
148
- const i = r.slice();
149
- return i[75] = e[n], i;
150
+ function Me(t, e, n) {
151
+ const i = t.slice();
152
+ return i[77] = e[n], i;
150
153
  }
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 = $(
154
+ function wn(t) {
155
+ let e, n, i, s, o, l, m, u, _, O, S, W, y, L, T, N, B, R, M, v = $(
153
156
  /*tabs*/
154
- r[16]
157
+ t[16]
155
158
  ), g = [];
156
159
  for (let c = 0; c < v.length; c += 1)
157
- g[c] = Ne(Fe(r, v, c));
158
- function z(c, y) {
160
+ g[c] = xe(Me(t, v, c));
161
+ function z(c, p) {
159
162
  return (
160
163
  /*isLoadingDelayed*/
161
- c[17] ? Wn : yn
164
+ c[17] ? vn : _n
162
165
  );
163
166
  }
164
- let A = z(r), C = A(r);
167
+ let x = z(t), C = x(t);
165
168
  return {
166
169
  c() {
167
- e = W("div"), n = W("div"), i = W("div");
170
+ e = w("div"), n = w("div"), i = w("div");
168
171
  for (let c = 0; c < g.length; c += 1)
169
172
  g[c].c();
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);
173
+ s = G(), o = w("div"), l = w("button"), m = Q("svg"), u = Q("path"), O = G(), S = w("button"), W = Q("svg"), y = Q("path"), N = G(), C.c(), a(i, "class", "WinnerButtonsContainer"), a(u, "style", _ = /*numberOfVisibleSlides*/
174
+ t[11] >= /*winners*/
175
+ 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(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(y, "style", L = /*numberOfVisibleSlides*/
176
+ t[11] >= /*winners*/
177
+ t[10].length ? "fill:#F6F6F62E" : ""), a(y, "id", "Path_36"), a(y, "data-name", "Path 36"), a(y, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), a(y, "transform", "translate(0 24.656) rotate(-90)"), a(y, "fill", "#fff"), a(W, "id", "Component_46_2"), a(W, "data-name", "Component 46 – 2"), a(W, "xmlns", "http://www.w3.org/2000/svg"), a(W, "width", "15"), a(W, "height", "15"), a(W, "viewBox", "0 0 16 24.656"), a(S, "class", "SliderButton"), a(o, "class", T = "ButtonsContainer " + /*enableautoscroll*/
178
+ (t[4] == "true" ? "ButtonsContainerNone" : "")), a(n, "class", "WinnersHeader"), a(e, "class", B = "CasinoWinners " + /*mobile*/
179
+ (t[12] ? "Mobile" : ""));
180
+ },
181
+ m(c, p) {
182
+ E(c, e, p), f(e, n), f(n, i);
180
183
  for (let d = 0; d < g.length; d += 1)
181
184
  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 = [
185
+ f(n, s), f(n, o), f(o, l), f(l, m), f(m, u), f(o, O), f(o, S), f(S, W), f(W, y), f(e, N), C.m(e, null), R || (M = [
183
186
  X(
184
187
  l,
185
188
  "click",
186
189
  /*click_handler_2*/
187
- r[47]
190
+ t[47]
188
191
  ),
189
192
  X(
190
193
  S,
191
194
  "click",
192
195
  /*click_handler_3*/
193
- r[48]
196
+ t[48]
194
197
  )
195
198
  ], R = !0);
196
199
  },
197
- p(c, y) {
198
- if (y[0] & /*winnersType, istopavailable, toggleTab, $_, tabs, isrecentavailable*/
200
+ p(c, p) {
201
+ if (p[0] & /*winnersType, istopavailable, toggleTab, $_, tabs, isrecentavailable*/
199
202
  852483) {
200
203
  v = $(
201
204
  /*tabs*/
@@ -203,48 +206,48 @@ function bn(r) {
203
206
  );
204
207
  let d;
205
208
  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));
209
+ const P = Me(c, v, d);
210
+ g[d] ? g[d].p(P, p) : (g[d] = xe(P), g[d].c(), g[d].m(i, null));
208
211
  }
209
212
  for (; d < g.length; d += 1)
210
213
  g[d].d(1);
211
214
  g.length = v.length;
212
215
  }
213
- y[0] & /*numberOfVisibleSlides, winners*/
214
- 3072 && w !== (w = /*numberOfVisibleSlides*/
216
+ p[0] & /*numberOfVisibleSlides, winners*/
217
+ 3072 && _ !== (_ = /*numberOfVisibleSlides*/
215
218
  c[11] >= /*winners*/
216
- c[10].length ? "fill:#F6F6F62E" : "") && a(u, "style", w), y[0] & /*numberOfVisibleSlides, winners*/
217
- 3072 && j !== (j = /*numberOfVisibleSlides*/
219
+ c[10].length ? "fill:#F6F6F62E" : "") && a(u, "style", _), p[0] & /*numberOfVisibleSlides, winners*/
220
+ 3072 && L !== (L = /*numberOfVisibleSlides*/
218
221
  c[11] >= /*winners*/
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
+ c[10].length ? "fill:#F6F6F62E" : "") && a(y, "style", L), p[0] & /*enableautoscroll*/
223
+ 16 && T !== (T = "ButtonsContainer " + /*enableautoscroll*/
224
+ (c[4] == "true" ? "ButtonsContainerNone" : "")) && a(o, "class", T), x === (x = z(c)) && C ? C.p(c, p) : (C.d(1), C = x(c), C && (C.c(), C.m(e, null))), p[0] & /*mobile*/
222
225
  4096 && B !== (B = "CasinoWinners " + /*mobile*/
223
226
  (c[12] ? "Mobile" : "")) && a(e, "class", B);
224
227
  },
225
228
  d(c) {
226
- c && E(e), Ee(g, c), C.d(), R = !1, an(M);
229
+ c && A(e), Ne(g, c), C.d(), R = !1, an(M);
227
230
  }
228
231
  };
229
232
  }
230
- function pn(r) {
233
+ function Wn(t) {
231
234
  let e;
232
235
  return {
233
236
  c() {
234
- e = W("general-animation-loading"), I(
237
+ e = w("general-animation-loading"), I(
235
238
  e,
236
239
  "clientstyling",
237
240
  /*clientstyling*/
238
- r[2]
241
+ t[2]
239
242
  ), I(
240
243
  e,
241
244
  "clientstylingurl",
242
245
  /*clientstylingurl*/
243
- r[3]
246
+ t[3]
244
247
  );
245
248
  },
246
249
  m(n, i) {
247
- T(n, e, i);
250
+ E(n, e, i);
248
251
  },
249
252
  p(n, i) {
250
253
  i[0] & /*clientstyling*/
@@ -262,47 +265,47 @@ function pn(r) {
262
265
  );
263
266
  },
264
267
  d(n) {
265
- n && E(e);
268
+ n && A(e);
266
269
  }
267
270
  };
268
271
  }
269
- function Se(r) {
272
+ function Fe(t) {
270
273
  let e, n = (
271
274
  /*isrecentavailable*/
272
- r[0] === "true" && Be(r)
275
+ t[0] === "true" && Se(t)
273
276
  );
274
277
  return {
275
278
  c() {
276
- n && n.c(), e = ae();
279
+ n && n.c(), e = ce();
277
280
  },
278
281
  m(i, s) {
279
- n && n.m(i, s), T(i, e, s);
282
+ n && n.m(i, s), E(i, e, s);
280
283
  },
281
284
  p(i, s) {
282
285
  /*isrecentavailable*/
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);
286
+ i[0] === "true" ? n ? n.p(i, s) : (n = Se(i), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null);
284
287
  },
285
288
  d(i) {
286
- i && E(e), n && n.d(i);
289
+ i && A(e), n && n.d(i);
287
290
  }
288
291
  };
289
292
  }
290
- function Be(r) {
293
+ function Se(t) {
291
294
  let e, n = (
292
295
  /*$_*/
293
- r[18]("recentWinners") + ""
296
+ t[18]("recentWinners") + ""
294
297
  ), i, s, o, l;
295
298
  return {
296
299
  c() {
297
- e = W("button"), i = K(n), a(e, "class", s = "WinnersButton " + /*winnersType*/
298
- (r[9] == "recent" ? "Active" : ""));
300
+ e = w("button"), i = K(n), a(e, "class", s = "WinnersButton " + /*winnersType*/
301
+ (t[9] == "recent" ? "Active" : ""));
299
302
  },
300
303
  m(m, u) {
301
- T(m, e, u), f(e, i), o || (l = X(
304
+ E(m, e, u), f(e, i), o || (l = X(
302
305
  e,
303
306
  "click",
304
307
  /*click_handler*/
305
- r[45]
308
+ t[45]
306
309
  ), o = !0);
307
310
  },
308
311
  p(m, u) {
@@ -313,114 +316,114 @@ function Be(r) {
313
316
  (m[9] == "recent" ? "Active" : "")) && a(e, "class", s);
314
317
  },
315
318
  d(m) {
316
- m && E(e), o = !1, l();
319
+ m && A(e), o = !1, l();
317
320
  }
318
321
  };
319
322
  }
320
- function xe(r) {
323
+ function Be(t) {
321
324
  let e, n = (
322
325
  /*$_*/
323
- r[18]("topWinners") + ""
326
+ t[18]("topWinners") + ""
324
327
  ), i, s, o, l, m;
325
328
  return {
326
329
  c() {
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
+ e = w("button"), i = K(n), s = G(), a(e, "class", o = "WinnersButton " + /*winnersType*/
331
+ (t[9] == "top" ? "Active" : "") + " " + /*istopavailable*/
332
+ (t[1] == "false" ? "Off" : ""));
330
333
  },
331
- m(u, w) {
332
- T(u, e, w), f(e, i), f(e, s), l || (m = X(
334
+ m(u, _) {
335
+ E(u, e, _), f(e, i), f(e, s), l || (m = X(
333
336
  e,
334
337
  "click",
335
338
  /*click_handler_1*/
336
- r[46]
339
+ t[46]
337
340
  ), l = !0);
338
341
  },
339
- p(u, w) {
340
- w[0] & /*$_*/
342
+ p(u, _) {
343
+ _[0] & /*$_*/
341
344
  262144 && n !== (n = /*$_*/
342
- u[18]("topWinners") + "") && q(i, n), w[0] & /*winnersType, istopavailable*/
345
+ u[18]("topWinners") + "") && q(i, n), _[0] & /*winnersType, istopavailable*/
343
346
  514 && o !== (o = "WinnersButton " + /*winnersType*/
344
347
  (u[9] == "top" ? "Active" : "") + " " + /*istopavailable*/
345
348
  (u[1] == "false" ? "Off" : "")) && a(e, "class", o);
346
349
  },
347
350
  d(u) {
348
- u && E(e), l = !1, m();
351
+ u && A(e), l = !1, m();
349
352
  }
350
353
  };
351
354
  }
352
- function Ne(r) {
355
+ function xe(t) {
353
356
  let e, n, i = (
354
357
  /*tab*/
355
- r[75] == "recent" && Se(r)
358
+ t[77] == "recent" && Fe(t)
356
359
  ), s = (
357
360
  /*tab*/
358
- r[75] == "top" && xe(r)
361
+ t[77] == "top" && Be(t)
359
362
  );
360
363
  return {
361
364
  c() {
362
- i && i.c(), e = G(), s && s.c(), n = ae();
365
+ i && i.c(), e = G(), s && s.c(), n = ce();
363
366
  },
364
367
  m(o, l) {
365
- i && i.m(o, l), T(o, e, l), s && s.m(o, l), T(o, n, l);
368
+ i && i.m(o, l), E(o, e, l), s && s.m(o, l), E(o, n, l);
366
369
  },
367
370
  p(o, l) {
368
371
  /*tab*/
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);
372
+ o[77] == "recent" ? i ? i.p(o, l) : (i = Fe(o), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null), /*tab*/
373
+ o[77] == "top" ? s ? s.p(o, l) : (s = Be(o), s.c(), s.m(n.parentNode, n)) : s && (s.d(1), s = null);
371
374
  },
372
375
  d(o) {
373
- o && (E(e), E(n)), i && i.d(o), s && s.d(o);
376
+ o && (A(e), A(n)), i && i.d(o), s && s.d(o);
374
377
  }
375
378
  };
376
379
  }
377
- function yn(r) {
380
+ function _n(t) {
378
381
  let e;
379
382
  function n(o, l) {
380
383
  return (
381
384
  /*winners*/
382
- o[10].length !== 0 ? wn : _n
385
+ o[10].length !== 0 ? kn : Cn
383
386
  );
384
387
  }
385
- let i = n(r), s = i(r);
388
+ let i = n(t), s = i(t);
386
389
  return {
387
390
  c() {
388
- e = W("div"), s.c(), a(e, "class", "WinnersSlider");
391
+ e = w("div"), s.c(), a(e, "class", "WinnersSlider");
389
392
  },
390
393
  m(o, l) {
391
- T(o, e, l), s.m(e, null), r[51](e);
394
+ E(o, e, l), s.m(e, null), t[51](e);
392
395
  },
393
396
  p(o, l) {
394
397
  i === (i = n(o)) && s ? s.p(o, l) : (s.d(1), s = i(o), s && (s.c(), s.m(e, null)));
395
398
  },
396
399
  d(o) {
397
- o && E(e), s.d(), r[51](null);
400
+ o && A(e), s.d(), t[51](null);
398
401
  }
399
402
  };
400
403
  }
401
- function Wn(r) {
404
+ function vn(t) {
402
405
  let e;
403
406
  return {
404
407
  c() {
405
- e = W("general-animation-loading"), I(
408
+ e = w("general-animation-loading"), I(
406
409
  e,
407
410
  "clientstyling",
408
411
  /*clientstyling*/
409
- r[2]
412
+ t[2]
410
413
  ), I(
411
414
  e,
412
415
  "clientstylingurl",
413
416
  /*clientstylingurl*/
414
- r[3]
417
+ t[3]
415
418
  ), I(
416
419
  e,
417
420
  "mbsource",
418
421
  /*mbsource*/
419
- r[5]
422
+ t[5]
420
423
  );
421
424
  },
422
425
  m(n, i) {
423
- T(n, e, i);
426
+ E(n, e, i);
424
427
  },
425
428
  p(n, i) {
426
429
  i[0] & /*clientstyling*/
@@ -444,21 +447,21 @@ function Wn(r) {
444
447
  );
445
448
  },
446
449
  d(n) {
447
- n && E(e);
450
+ n && A(e);
448
451
  }
449
452
  };
450
453
  }
451
- function _n(r) {
454
+ function Cn(t) {
452
455
  let e, n = (
453
456
  /*$_*/
454
- r[18]("noWinnersMessage") + ""
457
+ t[18]("noWinnersMessage") + ""
455
458
  ), i;
456
459
  return {
457
460
  c() {
458
- e = W("p"), i = K(n), a(e, "class", "NoWinnersMessage");
461
+ e = w("p"), i = K(n), a(e, "class", "NoWinnersMessage");
459
462
  },
460
463
  m(s, o) {
461
- T(s, e, o), f(e, i);
464
+ E(s, e, o), f(e, i);
462
465
  },
463
466
  p(s, o) {
464
467
  o[0] & /*$_*/
@@ -466,27 +469,27 @@ function _n(r) {
466
469
  s[18]("noWinnersMessage") + "") && q(i, n);
467
470
  },
468
471
  d(s) {
469
- s && E(e);
472
+ s && A(e);
470
473
  }
471
474
  };
472
475
  }
473
- function wn(r) {
476
+ function kn(t) {
474
477
  let e, n = $(
475
478
  /*winners*/
476
- r[10]
479
+ t[10]
477
480
  ), i = [];
478
481
  for (let s = 0; s < n.length; s += 1)
479
- i[s] = Ae(Me(r, n, s));
482
+ i[s] = Te(ke(t, n, s));
480
483
  return {
481
484
  c() {
482
485
  for (let s = 0; s < i.length; s += 1)
483
486
  i[s].c();
484
- e = ae();
487
+ e = ce();
485
488
  },
486
489
  m(s, o) {
487
490
  for (let l = 0; l < i.length; l += 1)
488
491
  i[l] && i[l].m(s, o);
489
- T(s, e, o);
492
+ E(s, e, o);
490
493
  },
491
494
  p(s, o) {
492
495
  if (o[0] & /*addAnimation, winnerCardElem, getAmount, winners, $_, maskUsername, openWinnersGame*/
@@ -497,8 +500,8 @@ function wn(r) {
497
500
  );
498
501
  let l;
499
502
  for (l = 0; l < n.length; l += 1) {
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));
503
+ const m = ke(s, n, l);
504
+ i[l] ? i[l].p(m, o) : (i[l] = Te(m), i[l].c(), i[l].m(e.parentNode, e));
502
505
  }
503
506
  for (; l < i.length; l += 1)
504
507
  i[l].d(1);
@@ -506,93 +509,93 @@ function wn(r) {
506
509
  }
507
510
  },
508
511
  d(s) {
509
- s && E(e), Ee(i, s);
512
+ s && A(e), Ne(i, s);
510
513
  }
511
514
  };
512
515
  }
513
- function Ae(r) {
516
+ function Te(t) {
514
517
  let e, n, i, s, o, l, m, u = (
515
518
  /*winner*/
516
- r[72].gameName + ""
517
- ), w, O, S, _ = (
519
+ t[74].gameName + ""
520
+ ), _, O, S, W = (
518
521
  /*maskUsername*/
519
- r[20](
522
+ t[20](
520
523
  /*winner*/
521
- r[72].username
524
+ t[74].username
522
525
  ) + ""
523
- ), p, j, x, N = (
526
+ ), y, L, T, N = (
524
527
  /*$_*/
525
- r[18]("won") + ""
528
+ t[18]("won") + ""
526
529
  ), B, R, M, v = (
527
530
  /*getAmount*/
528
- r[24](
531
+ t[24](
529
532
  /*winner*/
530
- r[72].specifiedCurrencyAmount
533
+ t[74].specifiedCurrencyAmount
531
534
  ) + ""
532
- ), g, z, A, C;
535
+ ), g, z, x, C;
533
536
  function c() {
534
537
  return (
535
538
  /*click_handler_4*/
536
- r[49](
539
+ t[49](
537
540
  /*winner*/
538
- r[72]
541
+ t[74]
539
542
  )
540
543
  );
541
544
  }
542
545
  return {
543
546
  c() {
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*/
547
+ e = w("div"), n = w("div"), i = w("img"), l = G(), m = w("p"), _ = K(u), O = G(), S = w("p"), y = K(W), L = G(), T = w("p"), B = K(N), R = G(), M = w("p"), g = G(), Ce(i.src, s = /*winner*/
548
+ t[74]?.gameModel?.thumbnail) || a(i, "src", s), a(i, "alt", o = /*winner*/
549
+ t[74]?.gameModel?.thumbnail), a(i, "class", "WinnersImage"), a(T, "class", "WinnerUsername"), a(M, "class", "WinnerAmount"), a(n, "class", "WinnerCard"), a(e, "class", z = "CardWrapper " + /*addAnimation*/
550
+ (t[15] ? "CardWrapperAnimation" : ""));
551
+ },
552
+ m(p, d) {
553
+ E(p, e, d), f(e, n), f(n, i), f(n, l), f(n, m), f(m, _), f(n, O), f(n, S), f(S, y), f(n, L), f(n, T), f(T, B), f(n, R), f(n, M), M.innerHTML = v, t[50](n), f(e, g), x || (C = X(i, "click", c), x = !0);
554
+ },
555
+ p(p, d) {
556
+ t = p, d[0] & /*winners*/
557
+ 1024 && !Ce(i.src, s = /*winner*/
558
+ t[74]?.gameModel?.thumbnail) && a(i, "src", s), d[0] & /*winners*/
556
559
  1024 && o !== (o = /*winner*/
557
- r[72]?.gameModel?.thumbnail) && a(i, "alt", o), d[0] & /*winners*/
560
+ t[74]?.gameModel?.thumbnail) && a(i, "alt", o), d[0] & /*winners*/
558
561
  1024 && u !== (u = /*winner*/
559
- r[72].gameName + "") && q(w, u), d[0] & /*winners*/
560
- 1024 && _ !== (_ = /*maskUsername*/
561
- r[20](
562
+ t[74].gameName + "") && q(_, u), d[0] & /*winners*/
563
+ 1024 && W !== (W = /*maskUsername*/
564
+ t[20](
562
565
  /*winner*/
563
- r[72].username
564
- ) + "") && q(p, _), d[0] & /*$_*/
566
+ t[74].username
567
+ ) + "") && q(y, W), d[0] & /*$_*/
565
568
  262144 && N !== (N = /*$_*/
566
- r[18]("won") + "") && q(B, N), d[0] & /*winners*/
569
+ t[18]("won") + "") && q(B, N), d[0] & /*winners*/
567
570
  1024 && v !== (v = /*getAmount*/
568
- r[24](
571
+ t[24](
569
572
  /*winner*/
570
- r[72].specifiedCurrencyAmount
573
+ t[74].specifiedCurrencyAmount
571
574
  ) + "") && (M.innerHTML = v), d[0] & /*addAnimation*/
572
575
  32768 && z !== (z = "CardWrapper " + /*addAnimation*/
573
- (r[15] ? "CardWrapperAnimation" : "")) && a(e, "class", z);
576
+ (t[15] ? "CardWrapperAnimation" : "")) && a(e, "class", z);
574
577
  },
575
- d(y) {
576
- y && E(e), r[50](null), A = !1, C();
578
+ d(p) {
579
+ p && A(e), t[50](null), x = !1, C();
577
580
  }
578
581
  };
579
582
  }
580
- function vn(r) {
583
+ function Mn(t) {
581
584
  let e;
582
585
  function n(o, l) {
583
586
  return (
584
587
  /*isLoading*/
585
588
  o[13] || /*isLoadingCustomStyling*/
586
- o[14] ? pn : bn
589
+ o[14] ? Wn : wn
587
590
  );
588
591
  }
589
- let i = n(r), s = i(r);
592
+ let i = n(t), s = i(t);
590
593
  return {
591
594
  c() {
592
- e = W("div"), s.c();
595
+ e = w("div"), s.c();
593
596
  },
594
597
  m(o, l) {
595
- T(o, e, l), s.m(e, null), r[52](e);
598
+ E(o, e, l), s.m(e, null), t[52](e);
596
599
  },
597
600
  p(o, l) {
598
601
  i === (i = n(o)) && s ? s.p(o, l) : (s.d(1), s = i(o), s && (s.c(), s.m(e, null)));
@@ -600,191 +603,193 @@ function vn(r) {
600
603
  i: _e,
601
604
  o: _e,
602
605
  d(o) {
603
- o && E(e), s.d(), r[52](null);
606
+ o && A(e), s.d(), t[52](null);
604
607
  }
605
608
  };
606
609
  }
607
- function Cn(r, e, n) {
610
+ function Fn(t, e, n) {
608
611
  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
- });
612
+ sn(t, fn, (r) => n(18, i = r));
613
+ let { endpoint: s = "" } = e, { session: o = "" } = e, { userid: l = "" } = e, { periodrecent: m = "Today" } = e, { periodtop: u = "Last7Days" } = e, { numberusersrecent: _ = "20" } = e, { numberuserstop: O = "20" } = e, { amountlimit: S = "1" } = e, { vendorCategory: W = "All" } = e, { lang: y = "en" } = e, { isrecentavailable: L = "true" } = e, { istopavailable: T = "true" } = e, { defaultcurrency: N = "" } = e, { usercurrency: B = "" } = e, { customcurrencysymbol: R } = e, { clientstyling: M = "" } = e, { clientstylingurl: v = "" } = e, { enableautoscroll: g = "" } = e, { tabsorder: z = "" } = e, { translationurl: x = "" } = e, { winnersdatasources: C = "" } = e, { hascustomstyling: c = "false" } = e, { mbsource: p } = e, { currencylocale: d = "" } = e, P, V, D, U = [], k = 0, F = 0, Ae = window.navigator.userAgent, ue, Z, ee, j, ne = !0, de = !1, me = !1, fe, Y, te, J, ge = [], re = !1, Ee;
614
+ const ie = (r) => {
615
+ Object.keys(r).forEach((b) => {
616
+ gn(b, r[b]);
617
+ });
618
+ }, ze = () => {
619
+ let r = new URL(x);
620
+ fetch(r.href).then((b) => b.json()).then((b) => {
621
+ ie(b);
617
622
  }).catch((b) => {
618
623
  console.log(b);
619
624
  });
620
625
  };
621
- Object.keys(ke).forEach((t) => {
622
- Ce(t, ke[t]);
623
- });
624
- const ge = () => {
625
- fe = C.split(",").map(function(b) {
626
+ ie(bn);
627
+ const he = () => {
628
+ ge = C.split(",").map(function(b) {
626
629
  return b.trim();
627
630
  });
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
+ const r = new URL(`${s}/v1/casino/${D}-winners`);
632
+ n(17, re = !0), r.searchParams.append("limit", D == "recent" ? _ : O), r.searchParams.append("specifiedCurrency", J), r.searchParams.append("period", D == "recent" ? m : u), r.searchParams.append("language", y), r.searchParams.append("amountLimit", S), r.searchParams.append("vendorCategory", W), ge.forEach((b) => {
633
+ r.searchParams.append("dataSource", b);
631
634
  }), setTimeout(
632
635
  () => {
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();
636
+ fetch(r.href).then((b) => b.json()).then(async (b) => {
637
+ n(10, U = []), n(10, U = b.items.map((H) => H)), n(17, re = !1), await ve(), Re(), pe(), g == "true" && (clearInterval(Y), Oe()), n(13, ne = !1), Le();
635
638
  });
636
639
  },
637
640
  1e3
638
641
  );
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) => {
642
+ }, Le = () => {
643
+ const r = j.getRootNode().host;
644
+ r.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: r } }));
645
+ }, se = (r) => {
646
+ D !== r && (n(10, U = []), n(9, D = r), he());
647
+ }, je = (r) => r.slice(0, 2) + r.slice(2, -2).replace(/./g, "*") + r.slice(-2), be = (r, b, H, le) => {
645
648
  window.postMessage(
646
649
  {
647
650
  type: "OpenCasinoWinnersGame",
648
- gameId: t,
651
+ gameId: r,
649
652
  launchUrl: b,
650
- gameName: U,
651
- subVendor: oe
653
+ gameName: H,
654
+ subVendor: le
652
655
  },
653
656
  window.location.href
654
657
  ), typeof gtag == "function" && gtag("event", "OpenGame", {
655
658
  context: "WinnersWidget",
656
- gameId: `${t}`,
659
+ gameId: `${r}`,
657
660
  userId: `${ee || "Not logged in"}`
658
661
  });
659
- }, be = (t = 0) => {
662
+ }, pe = (r = 0) => {
660
663
  const b = [...P.children];
661
- me = b.length, b.forEach((U, oe) => {
662
- U.style.transform = `translateX(${100 * (oe - t)}%)`;
664
+ fe = b.length, b.forEach((H, le) => {
665
+ H.style.transform = `translateX(${100 * (le - r)}%)`;
663
666
  }), setTimeout(
664
667
  () => {
665
- n(15, de = !0);
668
+ n(15, me = !0);
666
669
  },
667
670
  10
668
671
  );
669
672
  }, Oe = () => {
670
- k = 0, F < me ? Y = setInterval(
673
+ k = 0, F < fe ? Y = setInterval(
671
674
  () => {
672
- se();
675
+ oe();
673
676
  },
674
677
  3e3
675
678
  ) : clearInterval(Y);
676
- }, pe = () => {
677
- be(k);
679
+ }, ye = () => {
680
+ pe(k);
678
681
  }, 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
+ await ve(), requestAnimationFrame(() => {
683
+ const r = V ? V.offsetWidth : 0;
684
+ P.offsetWidth && r ? n(11, F = Math.round(P.offsetWidth / r)) : n(11, F = 0);
682
685
  });
683
- }, ye = () => {
684
- if (F >= D.length)
686
+ }, we = () => {
687
+ if (F >= U.length)
685
688
  return;
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)
689
+ const r = U.length;
690
+ k === 0 ? k = r - F : k - F < 0 ? k = 0 : k = k - F, ye();
691
+ }, oe = () => {
692
+ if (F >= U.length)
690
693
  return;
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();
694
+ const r = U.length;
695
+ g == "true" && (k === r - F ? k = 0 : k++), g == "false" && (k === r - F ? k = 0 : r - F < k + F ? k = r - F : k += F), ye();
693
696
  }, Ie = () => {
694
- gn(p);
697
+ hn(y);
695
698
  }, Ge = () => {
696
699
  n(43, Z = !0), ee = l;
697
700
  }, We = () => {
698
701
  n(44, J = Z ? B : N);
699
- }, Pe = (t) => {
702
+ }, Pe = (r) => {
700
703
  const b = R ?? (Z ? B : N);
701
704
  return `${d ? Intl.NumberFormat(d, {
702
705
  minimumFractionDigits: 2,
703
706
  maximumFractionDigits: 2,
704
707
  style: "currency",
705
708
  currency: J
706
- }).format(t).replace(/\s/g, "") : t.toFixed(2)}<span class="CurrencySymbol">${b}</span>`;
709
+ }).format(r).replace(/\s/g, "") : r.toFixed(2)}<span class="CurrencySymbol">${b}</span>`;
707
710
  }, Ue = () => {
708
- c === "true" && (!M && !v && L && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !M && v && n(14, ue = !0));
711
+ c === "true" && (!M && !v && j && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !M && v && n(14, de = !0));
709
712
  }, De = () => {
710
- n(16, te = z.split(",")), n(9, H = te[0]), We(), n(13, ne = !1);
713
+ n(16, te = z.split(",")), n(9, D = te[0]), We(), n(13, ne = !1);
711
714
  };
712
- on(() => (n(12, ce = ln(Te)), () => {
715
+ on(() => (n(12, ue = ln(Ae)), () => {
713
716
  clearInterval(Y);
714
717
  }));
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);
718
+ const He = () => se("recent"), qe = () => se("top"), Ke = () => we(), Ve = () => oe(), Ze = (r) => be(r.gameId, r.gameModel.launchUrl, r.gameModel.name, r.gameModel.subVendor);
719
+ function Je(r) {
720
+ ae[r ? "unshift" : "push"](() => {
721
+ V = r, n(8, V);
719
722
  });
720
723
  }
721
- function Xe(t) {
722
- le[t ? "unshift" : "push"](() => {
723
- P = t, n(7, P);
724
+ function Xe(r) {
725
+ ae[r ? "unshift" : "push"](() => {
726
+ P = r, n(7, P);
724
727
  });
725
728
  }
726
- function Ye(t) {
727
- le[t ? "unshift" : "push"](() => {
728
- L = t, n(6, L);
729
+ function Ye(r) {
730
+ ae[r ? "unshift" : "push"](() => {
731
+ j = r, n(6, j);
729
732
  });
730
733
  }
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`);
734
+ return t.$$set = (r) => {
735
+ "endpoint" in r && n(25, s = r.endpoint), "session" in r && n(26, o = r.session), "userid" in r && n(27, l = r.userid), "periodrecent" in r && n(28, m = r.periodrecent), "periodtop" in r && n(29, u = r.periodtop), "numberusersrecent" in r && n(30, _ = r.numberusersrecent), "numberuserstop" in r && n(31, O = r.numberuserstop), "amountlimit" in r && n(32, S = r.amountlimit), "vendorCategory" in r && n(33, W = r.vendorCategory), "lang" in r && n(34, y = r.lang), "isrecentavailable" in r && n(0, L = r.isrecentavailable), "istopavailable" in r && n(1, T = r.istopavailable), "defaultcurrency" in r && n(35, N = r.defaultcurrency), "usercurrency" in r && n(36, B = r.usercurrency), "customcurrencysymbol" in r && n(37, R = r.customcurrencysymbol), "clientstyling" in r && n(2, M = r.clientstyling), "clientstylingurl" in r && n(3, v = r.clientstylingurl), "enableautoscroll" in r && n(4, g = r.enableautoscroll), "tabsorder" in r && n(38, z = r.tabsorder), "translationurl" in r && n(39, x = r.translationurl), "winnersdatasources" in r && n(40, C = r.winnersdatasources), "hascustomstyling" in r && n(41, c = r.hascustomstyling), "mbsource" in r && n(5, p = r.mbsource), "currencylocale" in r && n(42, d = r.currencylocale);
736
+ }, t.$$.update = () => {
737
+ t.$$.dirty[0] & /*isrecentavailable, istopavailable, periodrecent, periodtop, numberusersrecent*/
738
+ 1879048195 | t.$$.dirty[1] & /*numberuserstop, amountlimit, vendorCategory, lang, tabsorder*/
739
+ 143 && L && T && m && u && _ && O && S && W && y && z && De(), t.$$.dirty[0] & /*session*/
740
+ 67108864 && o && Ge(), t.$$.dirty[1] & /*isLoggedIn, usercurrency, defaultcurrency*/
741
+ 4144 && Z && (B || N) && We(), t.$$.dirty[0] & /*endpoint*/
742
+ 33554432 | t.$$.dirty[1] & /*winnersdatasources, currency*/
743
+ 8704 && s && C && J && he(), t.$$.dirty[1] & /*lang*/
744
+ 8 && y && Ie(), t.$$.dirty[1] & /*translationurl*/
745
+ 256 && x && ze(), t.$$.dirty[0] & /*mbsource*/
746
+ 32 | t.$$.dirty[1] & /*translationurl*/
747
+ 256 && p && !x && pn(`${p}.Translation`, Ee, ie), t.$$.dirty[1] & /*hascustomstyling*/
748
+ 1024 && c && Ue(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
749
+ 68 && M && j && cn(j, M), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
750
+ 72 && v && j && un(j, v), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
751
+ 96 && j && dn(j, `${p}.Style`);
747
752
  }, [
748
- j,
749
- x,
753
+ L,
754
+ T,
750
755
  M,
751
756
  v,
752
757
  g,
753
- y,
754
- L,
758
+ p,
759
+ j,
755
760
  P,
756
761
  V,
757
- H,
758
762
  D,
763
+ U,
759
764
  F,
760
- ce,
761
- ne,
762
765
  ue,
766
+ ne,
763
767
  de,
768
+ me,
764
769
  te,
765
770
  re,
766
771
  i,
767
- ie,
768
- Le,
769
- he,
770
- ye,
771
772
  se,
773
+ je,
774
+ be,
775
+ we,
776
+ oe,
772
777
  Pe,
773
778
  s,
774
779
  o,
775
780
  l,
776
781
  m,
777
782
  u,
778
- w,
783
+ _,
779
784
  O,
780
785
  S,
781
- _,
782
- p,
786
+ W,
787
+ y,
783
788
  N,
784
789
  B,
785
790
  R,
786
791
  z,
787
- A,
792
+ x,
788
793
  C,
789
794
  c,
790
795
  d,
@@ -800,13 +805,13 @@ function Cn(r, e, n) {
800
805
  Ye
801
806
  ];
802
807
  }
803
- class kn extends en {
808
+ class Sn extends en {
804
809
  constructor(e) {
805
810
  super(), nn(
806
811
  this,
807
812
  e,
808
- Cn,
809
- vn,
813
+ Fn,
814
+ Mn,
810
815
  tn,
811
816
  {
812
817
  endpoint: 25,
@@ -834,7 +839,7 @@ class kn extends en {
834
839
  mbsource: 5,
835
840
  currencylocale: 42
836
841
  },
837
- hn,
842
+ yn,
838
843
  [-1, -1, -1]
839
844
  );
840
845
  }
@@ -983,7 +988,7 @@ class kn extends en {
983
988
  this.$$set({ currencylocale: e }), h();
984
989
  }
985
990
  }
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);
991
+ mn(Sn, { 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);
987
992
  export {
988
- kn as default
993
+ Sn as default
989
994
  };