@everymatrix/casino-tournaments-list-controller 1.65.0 → 1.65.2

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 (51) hide show
  1. package/components/{CasinoTournamentsListController-CVPwowHa.js → CasinoTournamentsListController-BbMxlacs.js} +1621 -1653
  2. package/components/{CasinoTournamentsListController-DIsKnFU6.js → CasinoTournamentsListController-BmResUm1.js} +1595 -1627
  3. package/components/CasinoTournamentsListController-QOpDP1gT.cjs +15 -0
  4. package/components/{CasinoTournamentsThumbnail-DgekeA1s.js → CasinoTournamentsThumbnail-BLl6r3kP.js} +30 -30
  5. package/components/{CasinoTournamentsThumbnail-FQ1DQ2zF.js → CasinoTournamentsThumbnail-BctgkfiG.js} +30 -30
  6. package/components/{CasinoTournamentsThumbnail-Bjg4Q0vT.cjs → CasinoTournamentsThumbnail-GGpqWUUU.cjs} +1 -1
  7. package/components/CasinoTournamentsThumbnailController-Bdh5qjnp.cjs +16 -0
  8. package/components/{CasinoTournamentsThumbnailController-yPtxPaIY.js → CasinoTournamentsThumbnailController-LQRpg-1c.js} +268 -219
  9. package/components/{CasinoTournamentsThumbnailController-BE1o3Jkp.js → CasinoTournamentsThumbnailController-qtMqHOKR.js} +308 -259
  10. package/components/{CasinoTournamentsThumbnailDuration-CzWSj-pH.cjs → CasinoTournamentsThumbnailDuration-BEkKAuX-.cjs} +1 -1
  11. package/components/{CasinoTournamentsThumbnailDuration-C1u-mRmn.js → CasinoTournamentsThumbnailDuration-C5E3xPWt.js} +35 -35
  12. package/components/{CasinoTournamentsThumbnailDuration-Cwg68ppS.js → CasinoTournamentsThumbnailDuration-CLG474CZ.js} +35 -35
  13. package/components/{CasinoTournamentsThumbnailGamesSlider-BCZv_-vy.js → CasinoTournamentsThumbnailGamesSlider-BZPzU1n_.js} +56 -56
  14. package/components/{CasinoTournamentsThumbnailGamesSlider-Ci3I9AHa.cjs → CasinoTournamentsThumbnailGamesSlider-Cs5RTcj-.cjs} +1 -1
  15. package/components/{CasinoTournamentsThumbnailGamesSlider-B3tSVigD.js → CasinoTournamentsThumbnailGamesSlider-gRsycWHT.js} +56 -56
  16. package/components/{CasinoTournamentsThumbnailPrizes-Co3GJpZd.cjs → CasinoTournamentsThumbnailPrizes-1UaFyOK_.cjs} +1 -1
  17. package/components/{CasinoTournamentsThumbnailPrizes-Bew_fIuA.js → CasinoTournamentsThumbnailPrizes-BGoHCct2.js} +37 -37
  18. package/components/{CasinoTournamentsThumbnailPrizes-hdobT4hp.js → CasinoTournamentsThumbnailPrizes-BRyr6n6l.js} +37 -37
  19. package/es2015/casino-tournaments-list-controller.cjs +1 -1
  20. package/es2015/casino-tournaments-list-controller.js +1 -1
  21. package/esnext/casino-tournaments-list-controller.js +1 -1
  22. package/package.json +1 -1
  23. package/stencil/index-97d17652-BEnqZAxL.js +558 -0
  24. package/stencil/index-97d17652-D5_8Vwfn.cjs +1 -0
  25. package/stencil/index-97d17652-WK_DbPS4.js +542 -0
  26. package/stencil/index-b2193545-BOMvxBzV.js +519 -0
  27. package/stencil/index-b2193545-CFn9dM-v.js +503 -0
  28. package/stencil/index-b2193545-DPygl1Qn.cjs +1 -0
  29. package/stencil/{ui-image-BdKD9mn4.js → ui-image-3hy4ZvUC.js} +1 -1
  30. package/stencil/{ui-image-Brhx0VeQ.js → ui-image-D0wxuPze.js} +1 -1
  31. package/stencil/{ui-image-DEQHOm9Q.cjs → ui-image-DE8MJHCZ.cjs} +1 -1
  32. package/stencil/{ui-image-b7b48fe5-7wF4sIlr.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +1 -1
  33. package/stencil/{ui-image-b7b48fe5-DQE3WxuL.cjs → ui-image-b7b48fe5-DCck2kk1.cjs} +1 -1
  34. package/stencil/{ui-image-b7b48fe5-kIlLPkYB.js → ui-image-b7b48fe5-V9vp4faA.js} +1 -1
  35. package/stencil/{ui-image_2-Db7N7hzA.js → ui-image_2-B56t6kXT.js} +2 -2
  36. package/stencil/{ui-image_2-oohpKuRS.js → ui-image_2-BncuYpLi.js} +2 -2
  37. package/stencil/{ui-image_2-CJHJWEhi.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
  38. package/stencil/{ui-skeleton-1cb75d00-CoUSUuCH.js → ui-skeleton-1cb75d00-B-R8GbLJ.js} +1 -1
  39. package/stencil/{ui-skeleton-1cb75d00-HdJyBz6W.cjs → ui-skeleton-1cb75d00-BTnhspbc.cjs} +1 -1
  40. package/stencil/{ui-skeleton-1cb75d00-DwCQPKmJ.js → ui-skeleton-1cb75d00-Dy30RNE6.js} +1 -1
  41. package/stencil/{ui-skeleton-DdjXy3Vl.js → ui-skeleton-CVBjRUvi.js} +2 -2
  42. package/stencil/{ui-skeleton-BhWinivj.js → ui-skeleton-RkXNxPG1.js} +2 -2
  43. package/stencil/{ui-skeleton-06DDwuG9.cjs → ui-skeleton-se83zfWh.cjs} +1 -1
  44. package/components/CasinoTournamentsListController-uObzfu6y.cjs +0 -28
  45. package/components/CasinoTournamentsThumbnailController-CK9TeIe4.cjs +0 -3
  46. package/stencil/index-97d17652-BzQXAkmg.js +0 -558
  47. package/stencil/index-97d17652-DYGS0vqJ.cjs +0 -1
  48. package/stencil/index-97d17652-mbOyENH9.js +0 -542
  49. package/stencil/index-b2193545-C2pLoBGJ.js +0 -503
  50. package/stencil/index-b2193545-CoXVDra7.js +0 -519
  51. package/stencil/index-b2193545-CwpolrjE.cjs +0 -1
@@ -1,4 +1,73 @@
1
- import { _ as he, A as pe, B as ge, C as Y, $ as be, D as Tt, a as Ft, S as Et, i as jt, f as S, c as zt, s as Ct, b as Pt, e as C, d as L, y as u, g as d, h as _, j as y, n as we, k as v, l as Bt, o as xt, p as Dt, r as Lt, t as O, m as I, w as At, u as G, q as tt, v as Ot, z as It, E as R } from "./CasinoTournamentsListController-DIsKnFU6.js";
1
+ import { $ as me, A as St, a as Tt, S as Ft, i as Et, f as S, s as jt, y as zt, b as Ct, n as he, d as v, w as u, c as d, e as _, g as y, h as C, j as D, k as Pt, o as xt, l as I, t as L, m as Bt, p as Ot, r as Dt, u as G, q as tt, B as R, x as At, z as Lt } from "./CasinoTournamentsListController-BmResUm1.js";
2
+ /*! *****************************************************************************
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted.
7
+
8
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
+ PERFORMANCE OF THIS SOFTWARE.
15
+ ***************************************************************************** */
16
+ var pe = function(r, t) {
17
+ return pe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, n) {
18
+ e.__proto__ = n;
19
+ } || function(e, n) {
20
+ for (var i in n)
21
+ Object.prototype.hasOwnProperty.call(n, i) && (e[i] = n[i]);
22
+ }, pe(r, t);
23
+ };
24
+ function N(r, t) {
25
+ if (typeof t != "function" && t !== null)
26
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
27
+ pe(r, t);
28
+ function e() {
29
+ this.constructor = r;
30
+ }
31
+ r.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
32
+ }
33
+ function ge(r) {
34
+ var t = typeof Symbol == "function" && Symbol.iterator, e = t && r[t], n = 0;
35
+ if (e)
36
+ return e.call(r);
37
+ if (r && typeof r.length == "number")
38
+ return {
39
+ next: function() {
40
+ return r && n >= r.length && (r = void 0), { value: r && r[n++], done: !r };
41
+ }
42
+ };
43
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
44
+ }
45
+ function be(r, t) {
46
+ var e = typeof Symbol == "function" && r[Symbol.iterator];
47
+ if (!e)
48
+ return r;
49
+ var n = e.call(r), i, o = [], s;
50
+ try {
51
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
52
+ o.push(i.value);
53
+ } catch (a) {
54
+ s = { error: a };
55
+ } finally {
56
+ try {
57
+ i && !i.done && (e = n.return) && e.call(n);
58
+ } finally {
59
+ if (s)
60
+ throw s.error;
61
+ }
62
+ }
63
+ return o;
64
+ }
65
+ function we(r, t, e) {
66
+ if (arguments.length === 2)
67
+ for (var n = 0, i = t.length, o; n < i; n++)
68
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
69
+ return r.concat(o || t);
70
+ }
2
71
  function A(r) {
3
72
  return typeof r == "function";
4
73
  }
@@ -35,7 +104,7 @@ var re = function() {
35
104
  if (s)
36
105
  if (this._parentage = null, Array.isArray(s))
37
106
  try {
38
- for (var l = he(s), c = l.next(); !c.done; c = l.next()) {
107
+ for (var a = ge(s), c = a.next(); !c.done; c = a.next()) {
39
108
  var h = c.value;
40
109
  h.remove(this);
41
110
  }
@@ -43,7 +112,7 @@ var re = function() {
43
112
  t = { error: T };
44
113
  } finally {
45
114
  try {
46
- c && !c.done && (e = l.return) && e.call(l);
115
+ c && !c.done && (e = a.return) && e.call(a);
47
116
  } finally {
48
117
  if (t)
49
118
  throw t.error;
@@ -62,12 +131,12 @@ var re = function() {
62
131
  if (g) {
63
132
  this._finalizers = null;
64
133
  try {
65
- for (var j = he(g), k = j.next(); !k.done; k = j.next()) {
134
+ for (var j = ge(g), k = j.next(); !k.done; k = j.next()) {
66
135
  var b = k.value;
67
136
  try {
68
137
  Ie(b);
69
138
  } catch (T) {
70
- o = o ?? [], T instanceof de ? o = pe(pe([], ge(o)), ge(T.errors)) : o.push(T);
139
+ o = o ?? [], T instanceof de ? o = we(we([], be(o)), be(T.errors)) : o.push(T);
71
140
  }
72
141
  }
73
142
  } catch (T) {
@@ -120,17 +189,13 @@ function it(r) {
120
189
  function Ie(r) {
121
190
  A(r) ? r() : r.unsubscribe();
122
191
  }
123
- var ot = {
124
- onUnhandledError: null,
125
- onStoppedNotification: null,
126
- Promise: void 0,
127
- useDeprecatedSynchronousErrorHandling: !1,
128
- useDeprecatedNextContext: !1
192
+ var It = {
193
+ Promise: void 0
129
194
  }, Mt = {
130
195
  setTimeout: function(r, t) {
131
196
  for (var e = [], n = 2; n < arguments.length; n++)
132
197
  e[n - 2] = arguments[n];
133
- return setTimeout.apply(void 0, pe([r, t], ge(e)));
198
+ return setTimeout.apply(void 0, we([r, t], be(e)));
134
199
  },
135
200
  clearTimeout: function(r) {
136
201
  return clearTimeout(r);
@@ -147,14 +212,14 @@ function Me() {
147
212
  function ne(r) {
148
213
  r();
149
214
  }
150
- var st = function(r) {
151
- Y(t, r);
215
+ var ot = function(r) {
216
+ N(t, r);
152
217
  function t(e) {
153
218
  var n = r.call(this) || this;
154
- return n.isStopped = !1, e ? (n.destination = e, it(e) && e.add(n)) : n.destination = Wt, n;
219
+ return n.isStopped = !1, e ? (n.destination = e, it(e) && e.add(n)) : n.destination = Ht, n;
155
220
  }
156
221
  return t.create = function(e, n, i) {
157
- return new _e(e, n, i);
222
+ return new ve(e, n, i);
158
223
  }, t.prototype.next = function(e) {
159
224
  this.isStopped || this._next(e);
160
225
  }, t.prototype.error = function(e) {
@@ -178,11 +243,7 @@ var st = function(r) {
178
243
  this.unsubscribe();
179
244
  }
180
245
  }, t;
181
- }(re), Ut = Function.prototype.bind;
182
- function me(r, t) {
183
- return Ut.call(r, t);
184
- }
185
- var Jt = function() {
246
+ }(re), Ut = function() {
186
247
  function r(t) {
187
248
  this.partialObserver = t;
188
249
  }
@@ -213,49 +274,37 @@ var Jt = function() {
213
274
  te(e);
214
275
  }
215
276
  }, r;
216
- }(), _e = function(r) {
217
- Y(t, r);
277
+ }(), ve = function(r) {
278
+ N(t, r);
218
279
  function t(e, n, i) {
219
280
  var o = r.call(this) || this, s;
220
- if (A(e) || !e)
221
- s = {
222
- next: e ?? void 0,
223
- error: n ?? void 0,
224
- complete: i ?? void 0
225
- };
226
- else {
227
- var l;
228
- o && ot.useDeprecatedNextContext ? (l = Object.create(e), l.unsubscribe = function() {
229
- return o.unsubscribe();
230
- }, s = {
231
- next: e.next && me(e.next, l),
232
- error: e.error && me(e.error, l),
233
- complete: e.complete && me(e.complete, l)
234
- }) : s = e;
235
- }
236
- return o.destination = new Jt(s), o;
281
+ return A(e) || !e ? s = {
282
+ next: e ?? void 0,
283
+ error: n ?? void 0,
284
+ complete: i ?? void 0
285
+ } : s = e, o.destination = new Ut(s), o;
237
286
  }
238
287
  return t;
239
- }(st);
288
+ }(ot);
240
289
  function te(r) {
241
290
  Rt(r);
242
291
  }
243
- function Ht(r) {
292
+ function Jt(r) {
244
293
  throw r;
245
294
  }
246
- var Wt = {
295
+ var Ht = {
247
296
  closed: !0,
248
297
  next: Me,
249
- error: Ht,
298
+ error: Jt,
250
299
  complete: Me
251
- }, qt = function() {
300
+ }, Wt = function() {
252
301
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
253
302
  }();
254
- function Gt(r) {
303
+ function qt(r) {
255
304
  return r;
256
305
  }
257
- function Yt(r) {
258
- return r.length === 0 ? Gt : r.length === 1 ? r[0] : function(e) {
306
+ function Gt(r) {
307
+ return r.length === 0 ? qt : r.length === 1 ? r[0] : function(e) {
259
308
  return r.reduce(function(n, i) {
260
309
  return i(n);
261
310
  }, e);
@@ -269,10 +318,10 @@ var Re = function() {
269
318
  var e = new r();
270
319
  return e.source = this, e.operator = t, e;
271
320
  }, r.prototype.subscribe = function(t, e, n) {
272
- var i = this, o = Vt(t) ? t : new _e(t, e, n);
321
+ var i = this, o = Yt(t) ? t : new ve(t, e, n);
273
322
  return ne(function() {
274
- var s = i, l = s.operator, c = s.source;
275
- o.add(l ? l.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));
323
+ var s = i, a = s.operator, c = s.source;
324
+ o.add(a ? a.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));
276
325
  }), o;
277
326
  }, r.prototype._trySubscribe = function(t) {
278
327
  try {
@@ -283,10 +332,10 @@ var Re = function() {
283
332
  }, r.prototype.forEach = function(t, e) {
284
333
  var n = this;
285
334
  return e = Ue(e), new e(function(i, o) {
286
- var s = new _e({
287
- next: function(l) {
335
+ var s = new ve({
336
+ next: function(a) {
288
337
  try {
289
- t(l);
338
+ t(a);
290
339
  } catch (c) {
291
340
  o(c), s.unsubscribe();
292
341
  }
@@ -299,12 +348,12 @@ var Re = function() {
299
348
  }, r.prototype._subscribe = function(t) {
300
349
  var e;
301
350
  return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
302
- }, r.prototype[qt] = function() {
351
+ }, r.prototype[Wt] = function() {
303
352
  return this;
304
353
  }, r.prototype.pipe = function() {
305
354
  for (var t = [], e = 0; e < arguments.length; e++)
306
355
  t[e] = arguments[e];
307
- return Yt(t)(this);
356
+ return Gt(t)(this);
308
357
  }, r.prototype.toPromise = function(t) {
309
358
  var e = this;
310
359
  return t = Ue(t), new t(function(n, i) {
@@ -323,20 +372,20 @@ var Re = function() {
323
372
  }();
324
373
  function Ue(r) {
325
374
  var t;
326
- return (t = r ?? ot.Promise) !== null && t !== void 0 ? t : Promise;
375
+ return (t = r ?? It.Promise) !== null && t !== void 0 ? t : Promise;
327
376
  }
328
- function Kt(r) {
377
+ function Nt(r) {
329
378
  return r && A(r.next) && A(r.error) && A(r.complete);
330
379
  }
331
- function Vt(r) {
332
- return r && r instanceof st || Kt(r) && it(r);
380
+ function Yt(r) {
381
+ return r && r instanceof ot || Nt(r) && it(r);
333
382
  }
334
- var Xt = nt(function(r) {
383
+ var Kt = nt(function(r) {
335
384
  return function() {
336
385
  r(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
337
386
  };
338
- }), at = function(r) {
339
- Y(t, r);
387
+ }), st = function(r) {
388
+ N(t, r);
340
389
  function t() {
341
390
  var e = r.call(this) || this;
342
391
  return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
@@ -346,7 +395,7 @@ var Xt = nt(function(r) {
346
395
  return n.operator = e, n;
347
396
  }, t.prototype._throwIfClosed = function() {
348
397
  if (this.closed)
349
- throw new Xt();
398
+ throw new Kt();
350
399
  }, t.prototype.next = function(e) {
351
400
  var n = this;
352
401
  ne(function() {
@@ -354,15 +403,15 @@ var Xt = nt(function(r) {
354
403
  if (n._throwIfClosed(), !n.isStopped) {
355
404
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
356
405
  try {
357
- for (var s = he(n.currentObservers), l = s.next(); !l.done; l = s.next()) {
358
- var c = l.value;
406
+ for (var s = ge(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
407
+ var c = a.value;
359
408
  c.next(e);
360
409
  }
361
410
  } catch (h) {
362
411
  i = { error: h };
363
412
  } finally {
364
413
  try {
365
- l && !l.done && (o = s.return) && o.call(s);
414
+ a && !a.done && (o = s.return) && o.call(s);
366
415
  } finally {
367
416
  if (i)
368
417
  throw i.error;
@@ -402,9 +451,9 @@ var Xt = nt(function(r) {
402
451
  }, t.prototype._subscribe = function(e) {
403
452
  return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
404
453
  }, t.prototype._innerSubscribe = function(e) {
405
- var n = this, i = this, o = i.hasError, s = i.isStopped, l = i.observers;
406
- return o || s ? rt : (this.currentObservers = null, l.push(e), new re(function() {
407
- n.currentObservers = null, ye(l, e);
454
+ var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
455
+ return o || s ? rt : (this.currentObservers = null, a.push(e), new re(function() {
456
+ n.currentObservers = null, ye(a, e);
408
457
  }));
409
458
  }, t.prototype._checkFinalizedStatuses = function(e) {
410
459
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
@@ -416,7 +465,7 @@ var Xt = nt(function(r) {
416
465
  return new Je(e, n);
417
466
  }, t;
418
467
  }(Re), Je = function(r) {
419
- Y(t, r);
468
+ N(t, r);
420
469
  function t(e, n) {
421
470
  var i = r.call(this) || this;
422
471
  return i.destination = e, i.source = n, i;
@@ -434,56 +483,56 @@ var Xt = nt(function(r) {
434
483
  var n, i;
435
484
  return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(e)) !== null && i !== void 0 ? i : rt;
436
485
  }, t;
437
- }(at), lt = {
486
+ }(st), lt = {
438
487
  now: function() {
439
488
  return (lt.delegate || Date).now();
440
489
  },
441
490
  delegate: void 0
442
- }, Nt = function(r) {
443
- Y(t, r);
491
+ }, Vt = function(r) {
492
+ N(t, r);
444
493
  function t(e, n, i) {
445
494
  e === void 0 && (e = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = lt);
446
495
  var o = r.call(this) || this;
447
496
  return o._bufferSize = e, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, e), o._windowTime = Math.max(1, n), o;
448
497
  }
449
498
  return t.prototype.next = function(e) {
450
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, l = n._timestampProvider, c = n._windowTime;
451
- i || (o.push(e), !s && o.push(l.now() + c)), this._trimBuffer(), r.prototype.next.call(this, e);
499
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, c = n._windowTime;
500
+ i || (o.push(e), !s && o.push(a.now() + c)), this._trimBuffer(), r.prototype.next.call(this, e);
452
501
  }, t.prototype._subscribe = function(e) {
453
502
  this._throwIfClosed(), this._trimBuffer();
454
- for (var n = this._innerSubscribe(e), i = this, o = i._infiniteTimeWindow, s = i._buffer, l = s.slice(), c = 0; c < l.length && !e.closed; c += o ? 1 : 2)
455
- e.next(l[c]);
503
+ for (var n = this._innerSubscribe(e), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), c = 0; c < a.length && !e.closed; c += o ? 1 : 2)
504
+ e.next(a[c]);
456
505
  return this._checkFinalizedStatuses(e), n;
457
506
  }, t.prototype._trimBuffer = function() {
458
- var e = this, n = e._bufferSize, i = e._timestampProvider, o = e._buffer, s = e._infiniteTimeWindow, l = (s ? 1 : 2) * n;
459
- if (n < 1 / 0 && l < o.length && o.splice(0, o.length - l), !s) {
507
+ var e = this, n = e._bufferSize, i = e._timestampProvider, o = e._buffer, s = e._infiniteTimeWindow, a = (s ? 1 : 2) * n;
508
+ if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
460
509
  for (var c = i.now(), h = 0, m = 1; m < o.length && o[m] <= c; m += 2)
461
510
  h = m;
462
511
  h && o.splice(0, h + 1);
463
512
  }
464
513
  }, t;
465
- }(at);
466
- const He = [], We = {}, Zt = (r, t = 0) => {
514
+ }(st);
515
+ const He = [], We = {}, Xt = (r, t = 0) => {
467
516
  if (He.indexOf(r) == -1) {
468
- const e = new Nt(t);
517
+ const e = new Vt(t);
469
518
  We[r] = e, He.push(r);
470
519
  }
471
520
  return We[r];
472
521
  };
473
- window.emWidgets = { topic: Zt };
522
+ window.emWidgets = { topic: Xt };
474
523
  const qe = (r) => r.toLowerCase().match(/android/i) ? "Android" : r.toLowerCase().match(/iphone/i) ? "iPhone" : r.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
475
- function Qt({ withLocale: r, translations: t }) {
476
- be.subscribe((e) => {
477
- e == null && (Tt.set(t), be.set(r));
524
+ function Zt({ withLocale: r, translations: t }) {
525
+ me.subscribe((e) => {
526
+ e == null && (St.set(t), me.set(r));
478
527
  });
479
528
  }
480
529
  function Ge(r, t) {
481
- Ft(r, t);
530
+ Tt(r, t);
482
531
  }
483
- function $t(r) {
484
- be.set(r);
532
+ function Qt(r) {
533
+ me.set(r);
485
534
  }
486
- const Ye = {
535
+ const Ne = {
487
536
  en: {
488
537
  login: "Log in",
489
538
  register: "Register",
@@ -585,7 +634,7 @@ if (typeof window < "u") {
585
634
  }
586
635
  };
587
636
  };
588
- customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-DgekeA1s.js").then(({ default: t }) => {
637
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-BLl6r3kP.js").then(({ default: t }) => {
589
638
  !customElements.get("casino-tournaments-thumbnail") && customElements.define("casino-tournaments-thumbnail", t.element);
590
639
  });
591
640
  }
@@ -601,7 +650,7 @@ if (typeof window < "u") {
601
650
  }
602
651
  };
603
652
  };
604
- customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-C1u-mRmn.js").then(({ default: t }) => {
653
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-C5E3xPWt.js").then(({ default: t }) => {
605
654
  !customElements.get("casino-tournaments-thumbnail-duration") && customElements.define(
606
655
  "casino-tournaments-thumbnail-duration",
607
656
  t.element
@@ -620,7 +669,7 @@ if (typeof window < "u") {
620
669
  }
621
670
  };
622
671
  };
623
- customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-Bew_fIuA.js").then(({ default: t }) => {
672
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-BGoHCct2.js").then(({ default: t }) => {
624
673
  !customElements.get("casino-tournaments-thumbnail-prizes") && customElements.define("casino-tournaments-thumbnail-prizes", t.element);
625
674
  });
626
675
  }
@@ -636,7 +685,7 @@ if (typeof window < "u") {
636
685
  }
637
686
  };
638
687
  };
639
- customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-B3tSVigD.js").then(
688
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-BZPzU1n_.js").then(
640
689
  ({ default: t }) => {
641
690
  !customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
642
691
  "casino-tournaments-thumbnail-games-slider",
@@ -645,10 +694,10 @@ if (typeof window < "u") {
645
694
  }
646
695
  );
647
696
  }
648
- function en(r) {
649
- Pt(r, "svelte-chi6uq", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Loading .TournamentCard{background-color:transparent}.Loading .TournamentButtons,.Loading .TournamentPrizes,.Loading .TournamentsGamesSlider{width:100%;display:block;margin:0}.Loading .TournamentButtons .Rectangle.Skeleton,.Loading .TournamentPrizes .Rectangle.Skeleton,.Loading .TournamentsGamesSlider .Rectangle.Skeleton{width:100%}button{cursor:pointer}.TournamentCard{position:relative;background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);border:solid 1px #30313c;gap:20px;display:flex;flex-direction:column;padding-bottom:20px;margin:0 auto}.CardFullSize{width:100%}.CardMaxWidth{max-width:600px}.TournamentButtons{display:flex;justify-content:center;gap:20px;margin:0 20px}.TournamentButtons button{cursor:pointer}.LoginButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.LoginButton:hover{opacity:0.7}.RegisterButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.RegisterButton:hover{opacity:0.7}.DetailsButton{background:var(--emw--color-contrast, #07072A);width:40%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsButton:hover{opacity:0.7}.DetailsLargeButton{background:var(--emw--color-contrast, #07072A);width:100%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsLargeButton:hover{opacity:0.7}.EnrolledButton{background:var(--emw--color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.JoinButton{background:var(--emw--color-green, #48952a);width:60%;height:50px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px}.JoinButton:hover{opacity:0.7}.JoinButton:disabled{cursor:default;opacity:0.7}.JoinButtonFullSize{width:100%}.ErrorText{margin:0 20px;color:red;font-size:14px;font-weight:bold}.ph-item{position:relative;display:flex;flex-wrap:wrap;margin-bottom:30px;padding:30px 15px 15px 15px;overflow:hidden;direction:ltr;background-color:var(--emw--color-contrast, #07072A);border:1px solid var(--emw--color-footer-bg, #212529);border-radius:2px}.ph-item,.ph-item *,.ph-item ::after,.ph-item ::before{box-sizing:border-box}.ph-item::before{position:absolute;top:0;right:0;bottom:0;left:50%;z-index:1;width:500%;margin-left:-250%;background:linear-gradient(to right, rgba(var(--emw--color-contrast, #07072A), 0) 46%, rgba(var(--emw--color-contrast, #07072A), 0.35) 50%, rgba(var(--emw--color-contrast, #07072A), 0) 54%) 50% 50%;animation:phAnimation 0.8s linear infinite;content:" ";pointer-events:none}.ph-item>*{display:flex;flex:1 1 auto;flex-flow:column;margin-bottom:15px;padding-right:15px;padding-left:15px}.ph-row{display:flex;flex-wrap:wrap;margin-top:-7.5px}.ph-row div{height:10px;margin-top:7.5px;background-color:var(--emw--color-gray-100, #E6E6E6)}.ph-row .big,.ph-row.big div{height:20px}.ph-row .empty{background-color:rgba(var(--emw--color-contrast, #07072A), 0)}.ph-col-2{flex:0 0 16.6666666667%}.ph-col-4{flex:0 0 33.3333333333%}.ph-col-6{flex:0 0 50%}.ph-col-8{flex:0 0 66.6666666667%}.ph-col-10{flex:0 0 83.3333333333%}.ph-col-12{flex:0 0 100%}[class*=ph-col]{direction:ltr}[class*=ph-col]>*+.ph-row{margin-top:0}[class*=ph-col]>*+*{margin-top:7.5px}.ph-avatar{position:relative;width:100%;min-width:60px;overflow:hidden;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.ph-avatar::before{display:block;padding-top:100%;content:" "}.ph-picture{width:100%;height:120px;background-color:var(--emw--color-gray-100, #E6E6E6)}@keyframes phAnimation{0%{transform:translate3d(-30%, 0, 0)}100%{transform:translate3d(30%, 0, 0)}}svg.spinner{width:40px;height:40px;x:0px;y:0px;viewBox:0 0 40 40}svg.spinner circle{fill:transparent;stroke:var(--emw--color-contrast, #07072A);stroke-width:4;stroke-linecap:round;stroke-dasharray:125.6;-webkit-transform-origin:20px 20px 0;-moz-transform-origin:20px 20px 0;-ms-transform-origin:20px 20px 0;-o-transform-origin:20px 20px 0;transform-origin:20px 20px 0;-webkit-animation:spinner 2s linear infinite;-moz-animation:spinner 2s linear infinite;-ms-animation:spinner 2s linear infinite;-o-animation:spinner 2s linear infinite;animation:spinner 2s linear infinite}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-webkit-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-webkit-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-moz-keyframes spinner{0%{-moz-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-moz-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-moz-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-ms-keyframes spinner{0%{-ms-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-ms-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-ms-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-o-keyframes spinner{0%{-o-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-o-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-o-transform:rotate(1080deg);stroke-dashoffset:26.4}}@keyframes spinner{0%{transform:rotate(0deg);stroke-dashoffset:26.4}50%{transform:rotate(720deg);stroke-dashoffset:125.6}100%{transform:rotate(1080deg);stroke-dashoffset:26.4}}@-webkit-keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}@keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}.elementToFadeIn{-webkit-animation:fadein 2s linear forwards;animation:fadein 2s linear forwards}.elementToFadeOut{-webkit-animation:fadeout 0.1s ease-out forwards;animation:fadeout 0.1s ease-out forwards}');
697
+ function $t(r) {
698
+ Ct(r, "svelte-chi6uq", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Loading .TournamentCard{background-color:transparent}.Loading .TournamentButtons,.Loading .TournamentPrizes,.Loading .TournamentsGamesSlider{width:100%;display:block;margin:0}.Loading .TournamentButtons .Rectangle.Skeleton,.Loading .TournamentPrizes .Rectangle.Skeleton,.Loading .TournamentsGamesSlider .Rectangle.Skeleton{width:100%}button{cursor:pointer}.TournamentCard{position:relative;background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);border:solid 1px #30313c;gap:20px;display:flex;flex-direction:column;padding-bottom:20px;margin:0 auto}.CardFullSize{width:100%}.CardMaxWidth{max-width:600px}.TournamentButtons{display:flex;justify-content:center;gap:20px;margin:0 20px}.TournamentButtons button{cursor:pointer}.LoginButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.LoginButton:hover{opacity:0.7}.RegisterButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.RegisterButton:hover{opacity:0.7}.DetailsButton{background:var(--emw--color-contrast, #07072A);width:40%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsButton:hover{opacity:0.7}.DetailsLargeButton{background:var(--emw--color-contrast, #07072A);width:100%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsLargeButton:hover{opacity:0.7}.EnrolledButton{background:var(--emw--color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.JoinButton{background:var(--emw--color-green, #48952a);width:60%;height:50px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px}.JoinButton:hover{opacity:0.7}.JoinButton:disabled{cursor:default;opacity:0.7}.JoinButtonFullSize{width:100%}.ErrorText{margin:0 20px;color:red;font-size:14px;font-weight:bold}.ph-item{position:relative;display:flex;flex-wrap:wrap;margin-bottom:30px;padding:30px 15px 15px 15px;overflow:hidden;direction:ltr;background-color:var(--emw--color-contrast, #07072A);border:1px solid var(--emw--color-footer-bg, #212529);border-radius:2px}.ph-item,.ph-item *,.ph-item ::after,.ph-item ::before{box-sizing:border-box}.ph-item::before{position:absolute;top:0;right:0;bottom:0;left:50%;z-index:1;width:500%;margin-left:-250%;background:linear-gradient(to right, rgba(var(--emw--color-contrast, #07072A), 0) 46%, rgba(var(--emw--color-contrast, #07072A), 0.35) 50%, rgba(var(--emw--color-contrast, #07072A), 0) 54%) 50% 50%;animation:phAnimation 0.8s linear infinite;content:" ";pointer-events:none}.ph-item>*{display:flex;flex:1 1 auto;flex-flow:column;margin-bottom:15px;padding-right:15px;padding-left:15px}.ph-row{display:flex;flex-wrap:wrap;margin-top:-7.5px}.ph-row div{height:10px;margin-top:7.5px;background-color:var(--emw--color-gray-100, #E6E6E6)}.ph-row .big,.ph-row.big div{height:20px}.ph-row .empty{background-color:rgba(var(--emw--color-contrast, #07072A), 0)}.ph-col-2{flex:0 0 16.6666666667%}.ph-col-4{flex:0 0 33.3333333333%}.ph-col-6{flex:0 0 50%}.ph-col-8{flex:0 0 66.6666666667%}.ph-col-10{flex:0 0 83.3333333333%}.ph-col-12{flex:0 0 100%}[class*=ph-col]{direction:ltr}[class*=ph-col]>*+.ph-row{margin-top:0}[class*=ph-col]>*+*{margin-top:7.5px}.ph-avatar{position:relative;width:100%;min-width:60px;overflow:hidden;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.ph-avatar::before{display:block;padding-top:100%;content:" "}.ph-picture{width:100%;height:120px;background-color:var(--emw--color-gray-100, #E6E6E6)}@keyframes phAnimation{0%{transform:translate3d(-30%, 0, 0)}100%{transform:translate3d(30%, 0, 0)}}svg.spinner{width:40px;height:40px;x:0px;y:0px;viewBox:0 0 40 40}svg.spinner circle{fill:transparent;stroke:var(--emw--color-contrast, #07072A);stroke-width:4;stroke-linecap:round;stroke-dasharray:125.6;-webkit-transform-origin:20px 20px 0;-moz-transform-origin:20px 20px 0;-ms-transform-origin:20px 20px 0;-o-transform-origin:20px 20px 0;transform-origin:20px 20px 0;-webkit-animation:spinner 2s linear infinite;-moz-animation:spinner 2s linear infinite;-ms-animation:spinner 2s linear infinite;-o-animation:spinner 2s linear infinite;animation:spinner 2s linear infinite}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-webkit-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-webkit-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-moz-keyframes spinner{0%{-moz-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-moz-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-moz-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-ms-keyframes spinner{0%{-ms-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-ms-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-ms-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-o-keyframes spinner{0%{-o-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-o-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-o-transform:rotate(1080deg);stroke-dashoffset:26.4}}@keyframes spinner{0%{transform:rotate(0deg);stroke-dashoffset:26.4}50%{transform:rotate(720deg);stroke-dashoffset:125.6}100%{transform:rotate(1080deg);stroke-dashoffset:26.4}}@-webkit-keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}@keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}.elementToFadeIn{-webkit-animation:fadein 2s linear forwards;animation:fadein 2s linear forwards}.elementToFadeOut{-webkit-animation:fadeout 0.1s ease-out forwards;animation:fadeout 0.1s ease-out forwards}');
650
699
  }
651
- function Ke(r) {
700
+ function Ye(r) {
652
701
  let t;
653
702
  return {
654
703
  c() {
@@ -662,14 +711,14 @@ function Ke(r) {
662
711
  }
663
712
  };
664
713
  }
665
- function Ve(r) {
714
+ function Ke(r) {
666
715
  let t, e, n = (
667
716
  /*tourid*/
668
- r[24] && Xe(r)
717
+ r[24] && Ve(r)
669
718
  );
670
719
  return {
671
720
  c() {
672
- n && n.c(), t = L(), e = C("casino-tournaments-thumbnail-duration"), u(
721
+ n && n.c(), t = D(), e = C("casino-tournaments-thumbnail-duration"), u(
673
722
  e,
674
723
  "clientstyling",
675
724
  /*clientstyling*/
@@ -711,7 +760,7 @@ function Ve(r) {
711
760
  },
712
761
  p(i, o) {
713
762
  /*tourid*/
714
- i[24] ? n ? n.p(i, o) : (n = Xe(i), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null), o[0] & /*clientstyling*/
763
+ i[24] ? n ? n.p(i, o) : (n = Ve(i), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null), o[0] & /*clientstyling*/
715
764
  1024 && u(
716
765
  e,
717
766
  "clientstyling",
@@ -760,7 +809,7 @@ function Ve(r) {
760
809
  }
761
810
  };
762
811
  }
763
- function Xe(r) {
812
+ function Ve(r) {
764
813
  let t, e, n, i;
765
814
  return {
766
815
  c() {
@@ -787,7 +836,7 @@ function Xe(r) {
787
836
  ), u(t, "exportparts", "TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank, TournamentPrizesIconSection, TournamentPrizesIconWrapper");
788
837
  },
789
838
  m(o, s) {
790
- _(o, t, s), n || (i = Dt(e = /*sendTournamentPrizes*/
839
+ _(o, t, s), n || (i = Ot(e = /*sendTournamentPrizes*/
791
840
  r[37].call(
792
841
  null,
793
842
  t,
@@ -820,7 +869,7 @@ function Xe(r) {
820
869
  "translationurl",
821
870
  /*translationurl*/
822
871
  o[12]
823
- ), e && Lt(e.update) && s[0] & /*tourid*/
872
+ ), e && At(e.update) && s[0] & /*tourid*/
824
873
  16777216 && e.update.call(
825
874
  null,
826
875
  /*tourid*/
@@ -832,25 +881,25 @@ function Xe(r) {
832
881
  }
833
882
  };
834
883
  }
835
- function tn(r) {
884
+ function en(r) {
836
885
  let t, e = (
837
886
  /*$_*/
838
887
  r[32]("details") + ""
839
888
  ), n, i, o;
840
889
  return {
841
890
  c() {
842
- t = C("button"), n = O(e), d(t, "class", "DetailsLargeButton"), d(t, "part", "DetailsLargeButton");
891
+ t = C("button"), n = L(e), d(t, "class", "DetailsLargeButton"), d(t, "part", "DetailsLargeButton");
843
892
  },
844
- m(s, l) {
845
- _(s, t, l), y(t, n), i || (o = G(
893
+ m(s, a) {
894
+ _(s, t, a), y(t, n), i || (o = G(
846
895
  t,
847
896
  "click",
848
897
  /*click_handler_4*/
849
898
  r[51]
850
899
  ), i = !0);
851
900
  },
852
- p(s, l) {
853
- l[1] & /*$_*/
901
+ p(s, a) {
902
+ a[1] & /*$_*/
854
903
  2 && e !== (e = /*$_*/
855
904
  s[32]("details") + "") && I(n, e);
856
905
  },
@@ -859,48 +908,48 @@ function tn(r) {
859
908
  }
860
909
  };
861
910
  }
862
- function nn(r) {
911
+ function tn(r) {
863
912
  let t, e, n = (
864
913
  /*showdetails*/
865
- r[3] == "true" && Ne(r)
914
+ r[3] == "true" && Xe(r)
866
915
  );
867
- function i(l, c) {
916
+ function i(a, c) {
868
917
  return (
869
918
  /*userenrolled*/
870
- l[26] ? sn : on
919
+ a[26] ? on : rn
871
920
  );
872
921
  }
873
922
  let o = i(r), s = o(r);
874
923
  return {
875
924
  c() {
876
- n && n.c(), t = L(), s.c(), e = tt();
925
+ n && n.c(), t = D(), s.c(), e = tt();
877
926
  },
878
- m(l, c) {
879
- n && n.m(l, c), _(l, t, c), s.m(l, c), _(l, e, c);
927
+ m(a, c) {
928
+ n && n.m(a, c), _(a, t, c), s.m(a, c), _(a, e, c);
880
929
  },
881
- p(l, c) {
930
+ p(a, c) {
882
931
  /*showdetails*/
883
- l[3] == "true" ? n ? n.p(l, c) : (n = Ne(l), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null), o === (o = i(l)) && s ? s.p(l, c) : (s.d(1), s = o(l), s && (s.c(), s.m(e.parentNode, e)));
932
+ a[3] == "true" ? n ? n.p(a, c) : (n = Xe(a), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null), o === (o = i(a)) && s ? s.p(a, c) : (s.d(1), s = o(a), s && (s.c(), s.m(e.parentNode, e)));
884
933
  },
885
- d(l) {
886
- l && (v(t), v(e)), n && n.d(l), s.d(l);
934
+ d(a) {
935
+ a && (v(t), v(e)), n && n.d(a), s.d(a);
887
936
  }
888
937
  };
889
938
  }
890
- function rn(r) {
939
+ function nn(r) {
891
940
  let t, e = (
892
941
  /*$_*/
893
942
  r[32]("login") + ""
894
943
  ), n, i, o, s = (
895
944
  /*$_*/
896
945
  r[32]("register") + ""
897
- ), l, c, h;
946
+ ), a, c, h;
898
947
  return {
899
948
  c() {
900
- t = C("button"), n = O(e), i = L(), o = C("button"), l = O(s), d(t, "class", "LoginButton"), d(t, "part", "LoginButton"), d(o, "class", "RegisterButton"), d(o, "part", "RegisterButton");
949
+ t = C("button"), n = L(e), i = D(), o = C("button"), a = L(s), d(t, "class", "LoginButton"), d(t, "part", "LoginButton"), d(o, "class", "RegisterButton"), d(o, "part", "RegisterButton");
901
950
  },
902
951
  m(m, g) {
903
- _(m, t, g), y(t, n), _(m, i, g), _(m, o, g), y(o, l), c || (h = [
952
+ _(m, t, g), y(t, n), _(m, i, g), _(m, o, g), y(o, a), c || (h = [
904
953
  G(
905
954
  t,
906
955
  "click",
@@ -920,32 +969,32 @@ function rn(r) {
920
969
  2 && e !== (e = /*$_*/
921
970
  m[32]("login") + "") && I(n, e), g[1] & /*$_*/
922
971
  2 && s !== (s = /*$_*/
923
- m[32]("register") + "") && I(l, s);
972
+ m[32]("register") + "") && I(a, s);
924
973
  },
925
974
  d(m) {
926
- m && (v(t), v(i), v(o)), c = !1, Ot(h);
975
+ m && (v(t), v(i), v(o)), c = !1, Dt(h);
927
976
  }
928
977
  };
929
978
  }
930
- function Ne(r) {
979
+ function Xe(r) {
931
980
  let t, e = (
932
981
  /*$_*/
933
982
  r[32]("details") + ""
934
983
  ), n, i, o;
935
984
  return {
936
985
  c() {
937
- t = C("button"), n = O(e), d(t, "class", "DetailsButton"), d(t, "part", "DetailsButton");
986
+ t = C("button"), n = L(e), d(t, "class", "DetailsButton"), d(t, "part", "DetailsButton");
938
987
  },
939
- m(s, l) {
940
- _(s, t, l), y(t, n), i || (o = G(
988
+ m(s, a) {
989
+ _(s, t, a), y(t, n), i || (o = G(
941
990
  t,
942
991
  "click",
943
992
  /*click_handler_2*/
944
993
  r[49]
945
994
  ), i = !0);
946
995
  },
947
- p(s, l) {
948
- l[1] & /*$_*/
996
+ p(s, a) {
997
+ a[1] & /*$_*/
949
998
  2 && e !== (e = /*$_*/
950
999
  s[32]("details") + "") && I(n, e);
951
1000
  },
@@ -954,15 +1003,15 @@ function Ne(r) {
954
1003
  }
955
1004
  };
956
1005
  }
957
- function on(r) {
1006
+ function rn(r) {
958
1007
  let t, e, n, i, o;
959
1008
  function s(h, m) {
960
1009
  return (
961
1010
  /*joinButtonLoading*/
962
- h[16] == !0 ? ln : an
1011
+ h[16] == !0 ? ln : sn
963
1012
  );
964
1013
  }
965
- let l = s(r), c = l(r);
1014
+ let a = s(r), c = a(r);
966
1015
  return {
967
1016
  c() {
968
1017
  t = C("button"), c.c(), d(t, "class", e = "JoinButton " + /*fullsize*/
@@ -979,7 +1028,7 @@ function on(r) {
979
1028
  ), i = !0);
980
1029
  },
981
1030
  p(h, m) {
982
- l === (l = s(h)) && c ? c.p(h, m) : (c.d(1), c = l(h), c && (c.c(), c.m(t, null))), m[0] & /*fullsize*/
1031
+ a === (a = s(h)) && c ? c.p(h, m) : (c.d(1), c = a(h), c && (c.c(), c.m(t, null))), m[0] & /*fullsize*/
983
1032
  128 && e !== (e = "JoinButton " + /*fullsize*/
984
1033
  (h[7] ? "JoinButtonFullSize" : "")) && d(t, "class", e), m[0] & /*fullsize*/
985
1034
  128 && n !== (n = "JoinButton " + /*fullsize*/
@@ -992,7 +1041,7 @@ function on(r) {
992
1041
  }
993
1042
  };
994
1043
  }
995
- function sn(r) {
1044
+ function on(r) {
996
1045
  let t, e = (
997
1046
  /*showdetails*/
998
1047
  r[3] == "true" && Ze(r)
@@ -1013,17 +1062,17 @@ function sn(r) {
1013
1062
  }
1014
1063
  };
1015
1064
  }
1016
- function an(r) {
1065
+ function sn(r) {
1017
1066
  let t, e = (
1018
1067
  /*$_*/
1019
1068
  r[32]("join") + ""
1020
- ), n, i, o, s, l, c, h, m;
1069
+ ), n, i, o, s, a, c, h, m;
1021
1070
  return {
1022
1071
  c() {
1023
- t = C("span"), n = O(e), i = L(), o = R("svg"), s = R("defs"), l = R("style"), c = O(".a{fill:var(--emw--color-white, #FFFFFF);}"), h = R("g"), m = R("path"), d(t, "part", "JoinButtonSpan"), d(m, "class", "a"), d(m, "part", "a JoinButtonSvgA"), d(m, "d", "M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"), d(m, "transform", "translate(26 26) rotate(180)"), d(h, "transform", "translate(26 26) rotate(180)"), d(o, "part", "JoinButtonSvg"), d(o, "xmlns", "http://www.w3.org/2000/svg"), d(o, "width", "26"), d(o, "height", "26"), d(o, "viewBox", "0 0 26 26");
1072
+ t = C("span"), n = L(e), i = D(), o = R("svg"), s = R("defs"), a = R("style"), c = L(".a{fill:var(--emw--color-white, #FFFFFF);}"), h = R("g"), m = R("path"), d(t, "part", "JoinButtonSpan"), d(m, "class", "a"), d(m, "part", "a JoinButtonSvgA"), d(m, "d", "M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"), d(m, "transform", "translate(26 26) rotate(180)"), d(h, "transform", "translate(26 26) rotate(180)"), d(o, "part", "JoinButtonSvg"), d(o, "xmlns", "http://www.w3.org/2000/svg"), d(o, "width", "26"), d(o, "height", "26"), d(o, "viewBox", "0 0 26 26");
1024
1073
  },
1025
1074
  m(g, j) {
1026
- _(g, t, j), y(t, n), _(g, i, j), _(g, o, j), y(o, s), y(s, l), y(l, c), y(o, h), y(h, m);
1075
+ _(g, t, j), y(t, n), _(g, i, j), _(g, o, j), y(o, s), y(s, a), y(a, c), y(o, h), y(h, m);
1027
1076
  },
1028
1077
  p(g, j) {
1029
1078
  j[1] & /*$_*/
@@ -1044,7 +1093,7 @@ function ln(r) {
1044
1093
  m(n, i) {
1045
1094
  _(n, t, i), y(t, e);
1046
1095
  },
1047
- p: we,
1096
+ p: he,
1048
1097
  d(n) {
1049
1098
  n && v(t);
1050
1099
  }
@@ -1057,7 +1106,7 @@ function Ze(r) {
1057
1106
  ), n;
1058
1107
  return {
1059
1108
  c() {
1060
- t = C("button"), n = O(e), d(t, "class", "EnrolledButton"), d(t, "part", "EnrolledButton"), t.disabled = !0;
1109
+ t = C("button"), n = L(e), d(t, "class", "EnrolledButton"), d(t, "part", "EnrolledButton"), t.disabled = !0;
1061
1110
  },
1062
1111
  m(i, o) {
1063
1112
  _(i, t, o), y(t, n);
@@ -1079,18 +1128,18 @@ function Qe(r) {
1079
1128
  ), n, i, o;
1080
1129
  return {
1081
1130
  c() {
1082
- t = C("span"), n = O(e), i = L(), o = O(
1131
+ t = C("span"), n = L(e), i = D(), o = L(
1083
1132
  /*errorJoinText*/
1084
1133
  r[18]
1085
1134
  ), d(t, "class", "ErrorText"), d(t, "part", "ErrorText");
1086
1135
  },
1087
- m(s, l) {
1088
- _(s, t, l), y(t, n), y(t, i), y(t, o);
1136
+ m(s, a) {
1137
+ _(s, t, a), y(t, n), y(t, i), y(t, o);
1089
1138
  },
1090
- p(s, l) {
1091
- l[1] & /*$_*/
1139
+ p(s, a) {
1140
+ a[1] & /*$_*/
1092
1141
  2 && e !== (e = /*$_*/
1093
- s[32]("joinerror") + "") && I(n, e), l[0] & /*errorJoinText*/
1142
+ s[32]("joinerror") + "") && I(n, e), a[0] & /*errorJoinText*/
1094
1143
  262144 && I(
1095
1144
  o,
1096
1145
  /*errorJoinText*/
@@ -1109,7 +1158,7 @@ function $e(r) {
1109
1158
  );
1110
1159
  return {
1111
1160
  c() {
1112
- n && n.c(), t = L(), e = C("casino-tournaments-thumbnail-games-slider"), u(
1161
+ n && n.c(), t = D(), e = C("casino-tournaments-thumbnail-games-slider"), u(
1113
1162
  e,
1114
1163
  "clientstyling",
1115
1164
  /*clientstyling*/
@@ -1192,31 +1241,31 @@ function et(r) {
1192
1241
  }
1193
1242
  };
1194
1243
  }
1195
- function un(r) {
1196
- let t, e, n, i, o, s, l, c, h, m, g, j, k = (
1244
+ function an(r) {
1245
+ let t, e, n, i, o, s, a, c, h, m, g, j, k = (
1197
1246
  /*isLoading*/
1198
- r[15] && Ke()
1247
+ r[15] && Ye()
1199
1248
  ), b = (
1200
1249
  /*isLoggedIn*/
1201
- r[14] && Ve(r)
1250
+ r[14] && Ke(r)
1202
1251
  );
1203
1252
  function T(f, p) {
1204
1253
  if (!/*isLoggedIn*/
1205
1254
  f[14])
1206
- return rn;
1255
+ return nn;
1207
1256
  if (
1208
1257
  /*status*/
1209
1258
  f[23] != "Closed" && /*status*/
1210
1259
  f[23] != "Closing"
1211
1260
  )
1212
- return nn;
1261
+ return tn;
1213
1262
  if (
1214
1263
  /*showdetails*/
1215
1264
  f[3] == "true"
1216
1265
  )
1217
- return tn;
1266
+ return en;
1218
1267
  }
1219
- let x = T(r), F = x && x(r), E = (
1268
+ let B = T(r), F = B && B(r), E = (
1220
1269
  /*errorJoin*/
1221
1270
  (r[17] || /*errorJoinConcurrently*/
1222
1271
  r[19]) && Qe(r)
@@ -1226,7 +1275,7 @@ function un(r) {
1226
1275
  );
1227
1276
  return {
1228
1277
  c() {
1229
- t = C("div"), e = C("div"), n = C("casino-tournaments-thumbnail"), i = L(), k && k.c(), o = L(), b && b.c(), s = L(), l = C("div"), F && F.c(), c = L(), E && E.c(), h = L(), z && z.c(), u(
1278
+ t = C("div"), e = C("div"), n = C("casino-tournaments-thumbnail"), i = D(), k && k.c(), o = D(), b && b.c(), s = D(), a = C("div"), F && F.c(), c = D(), E && E.c(), h = D(), z && z.c(), u(
1230
1279
  n,
1231
1280
  "session",
1232
1281
  /*session*/
@@ -1311,7 +1360,7 @@ function un(r) {
1311
1360
  "keepbrowsercontext",
1312
1361
  /*keepbrowsercontext*/
1313
1362
  r[9]
1314
- ), u(n, "exportparts", "Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing"), d(l, "class", "TournamentButtons"), d(l, "part", "TournamentButtons"), d(e, "class", m = "TournamentCard " + /*maxwidth*/
1363
+ ), u(n, "exportparts", "Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing"), d(a, "class", "TournamentButtons"), d(a, "part", "TournamentButtons"), d(e, "class", m = "TournamentCard " + /*maxwidth*/
1315
1364
  (r[6] ? "CardMaxWidth" : "") + /*fullsize*/
1316
1365
  (r[7] ? "CardFullSize" : "") + " " + /*isChanging*/
1317
1366
  (r[31] ? "elementToFadeOut" : "elementToFadeIn")), d(e, "part", g = "TournamentCard " + /*maxwidth*/
@@ -1322,7 +1371,7 @@ function un(r) {
1322
1371
  r[15] ? "Loading" : ""}`);
1323
1372
  },
1324
1373
  m(f, p) {
1325
- _(f, t, p), y(t, e), y(e, n), y(e, i), k && k.m(e, null), y(e, o), b && b.m(e, null), y(e, s), y(e, l), F && F.m(l, null), y(e, c), E && E.m(e, null), y(e, h), z && z.m(e, null), r[52](t);
1374
+ _(f, t, p), y(t, e), y(e, n), y(e, i), k && k.m(e, null), y(e, o), b && b.m(e, null), y(e, s), y(e, a), F && F.m(a, null), y(e, c), E && E.m(e, null), y(e, h), z && z.m(e, null), r[52](t);
1326
1375
  },
1327
1376
  p(f, p) {
1328
1377
  p[0] & /*session*/
@@ -1428,8 +1477,8 @@ function un(r) {
1428
1477
  /*keepbrowsercontext*/
1429
1478
  f[9]
1430
1479
  ), /*isLoading*/
1431
- f[15] ? k || (k = Ke(), k.c(), k.m(e, o)) : k && (k.d(1), k = null), /*isLoggedIn*/
1432
- f[14] ? b ? b.p(f, p) : (b = Ve(f), b.c(), b.m(e, s)) : b && (b.d(1), b = null), x === (x = T(f)) && F ? F.p(f, p) : (F && F.d(1), F = x && x(f), F && (F.c(), F.m(l, null))), /*errorJoin*/
1480
+ f[15] ? k || (k = Ye(), k.c(), k.m(e, o)) : k && (k.d(1), k = null), /*isLoggedIn*/
1481
+ f[14] ? b ? b.p(f, p) : (b = Ke(f), b.c(), b.m(e, s)) : b && (b.d(1), b = null), B === (B = T(f)) && F ? F.p(f, p) : (F && F.d(1), F = B && B(f), F && (F.c(), F.m(a, null))), /*errorJoin*/
1433
1482
  f[17] || /*errorJoinConcurrently*/
1434
1483
  f[19] ? E ? E.p(f, p) : (E = Qe(f), E.c(), E.m(e, h)) : E && (E.d(1), E = null), /*showslider*/
1435
1484
  f[4] == "true" ? z ? z.p(f, p) : (z = $e(f), z.c(), z.m(e, null)) : z && (z.d(1), z = null), p[0] & /*maxwidth, fullsize*/
@@ -1447,20 +1496,20 @@ function un(r) {
1447
1496
  32768 && j !== (j = `${/*isLoading*/
1448
1497
  f[15] ? "Loading" : ""}`) && d(t, "class", j);
1449
1498
  },
1450
- i: we,
1451
- o: we,
1499
+ i: he,
1500
+ o: he,
1452
1501
  d(f) {
1453
1502
  f && v(t), k && k.d(), b && b.d(), F && F.d(), E && E.d(), z && z.d(), r[52](null);
1454
1503
  }
1455
1504
  };
1456
1505
  }
1457
- function cn(r, t, e) {
1506
+ function un(r, t, e) {
1458
1507
  let n;
1459
- Bt(r, It, (a) => e(32, n = a));
1460
- let { session: i = "" } = t, { userid: o = "" } = t, { tournamenturl: s = "" } = t, { touridx: l } = t, { endpoint: c = "" } = t, { showdetails: h = "" } = t, { showslider: m = "" } = t, { showenrolled: g = "" } = t, { maxwidth: j = "" } = t, { fullsize: k = "" } = t, { lang: b = "" } = t, { loginevent: T = "" } = t, { registerevent: x = "" } = t, { loginurl: F = "" } = t, { registerurl: E = "" } = t, { currency: z = "" } = t, { keepbrowsercontext: f = "false" } = t, { clientstyling: p = "" } = t, { clientstylingurl: K = "" } = t, { translationurl: V = "" } = t, { tournamentinfo: X } = t, M, J = !1, N = "", H = !0, ve = window.navigator.userAgent, Z = !1, Q = !1, ke = "There was an error while trying to join the tournament", ie = !1, oe, Se, Te, W, D, Fe, se, Ee, je, ze = [], ae = [], Ce = "#", le, $ = !1;
1461
- Qt({ withLocale: "en", translations: {} });
1462
- const ct = () => {
1463
- fetch(V).then((w) => w.json()).then((w) => {
1508
+ Pt(r, Lt, (l) => e(32, n = l));
1509
+ let { session: i = "" } = t, { userid: o = "" } = t, { tournamenturl: s = "" } = t, { touridx: a } = t, { endpoint: c = "" } = t, { showdetails: h = "" } = t, { showslider: m = "" } = t, { showenrolled: g = "" } = t, { maxwidth: j = "" } = t, { fullsize: k = "" } = t, { lang: b = "" } = t, { loginevent: T = "" } = t, { registerevent: B = "" } = t, { loginurl: F = "" } = t, { registerurl: E = "" } = t, { currency: z = "" } = t, { keepbrowsercontext: f = "false" } = t, { clientstyling: p = "" } = t, { clientstylingurl: Y = "" } = t, { translationurl: K = "" } = t, { tournamentinfo: V } = t, M, J = !1, X = "", H = !0, _e = window.navigator.userAgent, Z = !1, Q = !1, ke = "There was an error while trying to join the tournament", ie = !1, oe, Se, Te, W, O, Fe, se, Ee, je, ze = [], le = [], Ce = "#", ae, $ = !1;
1510
+ Zt({ withLocale: "en", translations: {} });
1511
+ const ut = () => {
1512
+ fetch(K).then((w) => w.json()).then((w) => {
1464
1513
  Object.keys(w).forEach((P) => {
1465
1514
  Ge(P, w[P]);
1466
1515
  });
@@ -1468,23 +1517,23 @@ function cn(r, t, e) {
1468
1517
  console.log(w);
1469
1518
  });
1470
1519
  };
1471
- Object.keys(Ye).forEach((a) => {
1472
- Ge(a, Ye[a]);
1520
+ Object.keys(Ne).forEach((l) => {
1521
+ Ge(l, Ne[l]);
1473
1522
  });
1474
- const Pe = (a) => {
1475
- ft(a), ce(a), Ae(this, D);
1476
- }, Be = (a) => {
1477
- if (a.data && a.data.type == "UserSessionID" && (e(14, J = !0), N = a.data.session), a.data.type == "UpdateTournamentView") {
1478
- let w = a.data.tournamentData;
1479
- if (D && D != w.id)
1523
+ const Pe = (l) => {
1524
+ ct(l), ce(l), Ae(this, O);
1525
+ }, xe = (l) => {
1526
+ if (l.data && l.data.type == "UserSessionID" && (e(14, J = !0), X = l.data.session), l.data.type == "UpdateTournamentView") {
1527
+ let w = l.data.tournamentData;
1528
+ if (O && O != w.id)
1480
1529
  return;
1481
1530
  Pe(w);
1482
1531
  }
1483
- if (a.data && a.data.type == `UpdateSingleTournament_${l}`) {
1484
- let w = a.data.tournamentData, P = l < 4 ? l * 100 : Math.random() * 300 + 300;
1485
- e(31, $ = l == 1), setTimeout(
1532
+ if (l.data && l.data.type == `UpdateSingleTournament_${a}`) {
1533
+ let w = l.data.tournamentData, P = a < 4 ? a * 100 : Math.random() * 300 + 300;
1534
+ e(31, $ = a == 1), setTimeout(
1486
1535
  () => {
1487
- e(31, $ = !0), e(24, D = w.id), Pe(w);
1536
+ e(31, $ = !0), e(24, O = w.id), Pe(w);
1488
1537
  },
1489
1538
  P
1490
1539
  ), setTimeout(
@@ -1494,79 +1543,79 @@ function cn(r, t, e) {
1494
1543
  P + 200
1495
1544
  );
1496
1545
  }
1497
- }, ft = (a) => {
1498
- a.state != W && (e(23, W = a.state), window.postMessage(
1546
+ }, ct = (l) => {
1547
+ l.state != W && (e(23, W = l.state), window.postMessage(
1499
1548
  {
1500
- type: `TournamentStatus_${D}`,
1549
+ type: `TournamentStatus_${O}`,
1501
1550
  status: W
1502
1551
  },
1503
1552
  window.location.href
1504
1553
  ));
1505
- }, xe = () => {
1554
+ }, Be = () => {
1506
1555
  T && (window.postMessage({ type: T, transition: "Login" }, window.location.href), typeof gtag == "function" && gtag("event", "OpenLoginModal", {
1507
1556
  context: "TournamentsThumbnailController"
1508
1557
  })), F && (window.location = F);
1509
- }, De = () => {
1510
- x && (window.postMessage(
1558
+ }, Oe = () => {
1559
+ B && (window.postMessage(
1511
1560
  {
1512
- type: x,
1561
+ type: B,
1513
1562
  transition: "Register"
1514
1563
  },
1515
1564
  window.location.href
1516
1565
  ), typeof gtag == "function" && gtag("event", "OpenRegisterModal", {
1517
1566
  context: "TournamentsThumbnailController"
1518
1567
  })), E && (window.location = E);
1519
- }, ue = (a) => {
1568
+ }, ue = (l) => {
1520
1569
  window.postMessage(
1521
1570
  {
1522
1571
  type: "TournamentDetailsClicked",
1523
- tournamentId: a,
1572
+ tournamentId: l,
1524
1573
  showLeaderboard: !0
1525
1574
  },
1526
1575
  window.location.href
1527
1576
  );
1528
- }, Le = async (a, w) => {
1577
+ }, De = async (l, w) => {
1529
1578
  e(17, Q = !1), e(19, ie = !1), window.postMessage(
1530
1579
  {
1531
1580
  type: "TournamentJoinRequest",
1532
- tournamentId: a
1581
+ tournamentId: l
1533
1582
  },
1534
1583
  window.location.href
1535
1584
  ), e(16, Z = !0);
1536
1585
  let P = new URL(`${c}/v1/bonus/claim`), ee = new Headers(), U = {};
1537
- P.searchParams.append("language", b), P.searchParams.append("platform", qe(ve)), ee.append("Content-Type", "application/json"), ee.append("X-SessionID", N), w && w.length >= 1 && (U = {
1586
+ P.searchParams.append("language", b), P.searchParams.append("platform", qe(_e)), ee.append("Content-Type", "application/json"), ee.append("X-SessionID", X), w && w.length >= 1 && (U = {
1538
1587
  language: b,
1539
1588
  bonusCode: w[0].code,
1540
1589
  currency: z,
1541
1590
  type: "tournament"
1542
1591
  });
1543
- let St = {
1592
+ let kt = {
1544
1593
  method: "PUT",
1545
1594
  headers: ee,
1546
1595
  body: JSON.stringify(U)
1547
1596
  };
1548
- const Oe = () => {
1597
+ const Le = () => {
1549
1598
  e(16, Z = !1), e(26, se = !0);
1550
- }, fe = (B) => {
1551
- e(16, Z = !1), B && e(18, ke = B), e(17, Q = !0);
1599
+ }, fe = (x) => {
1600
+ e(16, Z = !1), x && e(18, ke = x), e(17, Q = !0);
1552
1601
  }, q = await (async () => {
1553
- let B;
1602
+ let x;
1554
1603
  try {
1555
- B = await fetch(P, St), B = await B.json();
1604
+ x = await fetch(P, kt), x = await x.json();
1556
1605
  } catch {
1557
1606
  fe();
1558
1607
  }
1559
- return B;
1608
+ return x;
1560
1609
  })();
1561
1610
  if (q)
1562
1611
  if (q.success == !0)
1563
- Oe();
1612
+ Le();
1564
1613
  else if (q.errorMessage.match("VersionMismatchException")) {
1565
- let B;
1566
- B = await fetch(`${c}/tournaments/${D}`, { headers: { "X-SessionID": i } }), B = await B.json(), B?.item?.playerEnrolled ? Oe() : (fe(q.errorMessage), e(19, ie = !0), e(17, Q = !1));
1614
+ let x;
1615
+ x = await fetch(`${c}/tournaments/${O}`, { headers: { "X-SessionID": i } }), x = await x.json(), x?.item?.playerEnrolled ? Le() : (fe(q.errorMessage), e(19, ie = !0), e(17, Q = !1));
1567
1616
  } else
1568
1617
  fe(q.errorMessage);
1569
- }, Ae = (a, w) => {
1618
+ }, Ae = (l, w) => {
1570
1619
  window.postMessage(
1571
1620
  {
1572
1621
  type: `TournamentPrizes_${w}`,
@@ -1574,30 +1623,30 @@ function cn(r, t, e) {
1574
1623
  },
1575
1624
  window.location.href
1576
1625
  );
1577
- }, ce = (a) => {
1578
- a && (e(20, oe = a.nameOrTitle || ""), e(21, Se = a.startTime), e(22, Te = a.endTime), e(23, W = a.state), e(24, D = a.id), e(25, Fe = a.thumbnail), e(26, se = a.playerEnrolled === "true" || a.playerEnrolled == !0 || !1), e(27, Ee = a.scoreCriteria), e(28, je = a.minBetCount), ze = a.prizes, e(29, ae = a.wallets || []), e(30, Ce = a.termsUrl || "#"));
1579
- }, dt = (a) => {
1626
+ }, ce = (l) => {
1627
+ l && (e(20, oe = l.nameOrTitle || ""), e(21, Se = l.startTime), e(22, Te = l.endTime), e(23, W = l.state), e(24, O = l.id), e(25, Fe = l.thumbnail), e(26, se = l.playerEnrolled === "true" || l.playerEnrolled == !0 || !1), e(27, Ee = l.scoreCriteria), e(28, je = l.minBetCount), ze = l.prizes, e(29, le = l.wallets || []), e(30, Ce = l.termsUrl || "#"));
1628
+ }, ft = (l) => {
1580
1629
  e(15, H = !0);
1581
- let w = new URL(a), P = new Headers();
1582
- w.searchParams.append("language", b), w.searchParams.append("platform", qe(ve)), J && P.append("X-SessionID", N), fetch(w, { method: "GET", headers: P }).then((U) => U.json()).then((U) => {
1630
+ let w = new URL(l), P = new Headers();
1631
+ w.searchParams.append("language", b), w.searchParams.append("platform", qe(_e)), J && P.append("X-SessionID", X), fetch(w, { method: "GET", headers: P }).then((U) => U.json()).then((U) => {
1583
1632
  ce(U.item);
1584
1633
  }).finally(() => {
1585
1634
  e(15, H = !1);
1586
1635
  });
1636
+ }, dt = () => {
1637
+ i.length > 0 && i != "false" ? (X = i, e(14, J = !0)) : e(14, J = !1);
1587
1638
  }, mt = () => {
1588
- i.length > 0 && i != "false" ? (N = i, e(14, J = !0)) : e(14, J = !1);
1589
- }, ht = () => {
1590
- if (X) {
1591
- ce(X);
1639
+ if (V) {
1640
+ ce(V);
1592
1641
  return;
1593
1642
  }
1594
- e(15, H = !0), dt(s);
1643
+ e(15, H = !0), ft(s);
1644
+ }, ht = () => {
1645
+ let l = document.createElement("style");
1646
+ l.innerHTML = p, M.appendChild(l);
1595
1647
  }, pt = () => {
1596
- let a = document.createElement("style");
1597
- a.innerHTML = p, M.appendChild(a);
1598
- }, gt = () => {
1599
- let a = new URL(K), w = document.createElement("style");
1600
- fetch(a.href).then((P) => P.text()).then((P) => {
1648
+ let l = new URL(Y), w = document.createElement("style");
1649
+ fetch(l.href).then((P) => P.text()).then((P) => {
1601
1650
  w.innerHTML = P, setTimeout(
1602
1651
  () => {
1603
1652
  M.appendChild(w);
@@ -1610,26 +1659,26 @@ function cn(r, t, e) {
1610
1659
  );
1611
1660
  });
1612
1661
  };
1613
- xt(() => (e(15, H = !oe), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", Be, !1), () => {
1614
- window.removeEventListener("message", Be);
1662
+ xt(() => (e(15, H = !oe), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", xe, !1), () => {
1663
+ window.removeEventListener("message", xe);
1615
1664
  }));
1616
- const bt = () => xe(), wt = () => De(), yt = () => ue(D), _t = () => Le(D, ae), vt = () => ue(D);
1617
- function kt(a) {
1618
- At[a ? "unshift" : "push"](() => {
1619
- M = a, e(13, M);
1665
+ const gt = () => Be(), bt = () => Oe(), wt = () => ue(O), yt = () => De(O, le), vt = () => ue(O);
1666
+ function _t(l) {
1667
+ Bt[l ? "unshift" : "push"](() => {
1668
+ M = l, e(13, M);
1620
1669
  });
1621
1670
  }
1622
- return r.$$set = (a) => {
1623
- "session" in a && e(0, i = a.session), "userid" in a && e(1, o = a.userid), "tournamenturl" in a && e(2, s = a.tournamenturl), "touridx" in a && e(38, l = a.touridx), "endpoint" in a && e(39, c = a.endpoint), "showdetails" in a && e(3, h = a.showdetails), "showslider" in a && e(4, m = a.showslider), "showenrolled" in a && e(5, g = a.showenrolled), "maxwidth" in a && e(6, j = a.maxwidth), "fullsize" in a && e(7, k = a.fullsize), "lang" in a && e(8, b = a.lang), "loginevent" in a && e(40, T = a.loginevent), "registerevent" in a && e(41, x = a.registerevent), "loginurl" in a && e(42, F = a.loginurl), "registerurl" in a && e(43, E = a.registerurl), "currency" in a && e(44, z = a.currency), "keepbrowsercontext" in a && e(9, f = a.keepbrowsercontext), "clientstyling" in a && e(10, p = a.clientstyling), "clientstylingurl" in a && e(11, K = a.clientstylingurl), "translationurl" in a && e(12, V = a.translationurl), "tournamentinfo" in a && e(45, X = a.tournamentinfo);
1671
+ return r.$$set = (l) => {
1672
+ "session" in l && e(0, i = l.session), "userid" in l && e(1, o = l.userid), "tournamenturl" in l && e(2, s = l.tournamenturl), "touridx" in l && e(38, a = l.touridx), "endpoint" in l && e(39, c = l.endpoint), "showdetails" in l && e(3, h = l.showdetails), "showslider" in l && e(4, m = l.showslider), "showenrolled" in l && e(5, g = l.showenrolled), "maxwidth" in l && e(6, j = l.maxwidth), "fullsize" in l && e(7, k = l.fullsize), "lang" in l && e(8, b = l.lang), "loginevent" in l && e(40, T = l.loginevent), "registerevent" in l && e(41, B = l.registerevent), "loginurl" in l && e(42, F = l.loginurl), "registerurl" in l && e(43, E = l.registerurl), "currency" in l && e(44, z = l.currency), "keepbrowsercontext" in l && e(9, f = l.keepbrowsercontext), "clientstyling" in l && e(10, p = l.clientstyling), "clientstylingurl" in l && e(11, Y = l.clientstylingurl), "translationurl" in l && e(12, K = l.translationurl), "tournamentinfo" in l && e(45, V = l.tournamentinfo);
1624
1673
  }, r.$$.update = () => {
1625
1674
  r.$$.dirty[0] & /*lang*/
1626
- 256 && b && $t(b), r.$$.dirty[0] & /*customStylingContainer, clientstyling*/
1627
- 9216 && M && p && pt(), r.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
1628
- 10240 && M && K && gt(), r.$$.dirty[0] & /*translationurl*/
1629
- 4096 && V && ct(), r.$$.dirty[0] & /*session*/
1630
- 1 && i && mt(), r.$$.dirty[0] & /*tournamenturl, lang*/
1631
- 260 && e(46, le = s && b), r.$$.dirty[1] & /*initialParameters*/
1632
- 32768 && le && ht();
1675
+ 256 && b && Qt(b), r.$$.dirty[0] & /*customStylingContainer, clientstyling*/
1676
+ 9216 && M && p && ht(), r.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
1677
+ 10240 && M && Y && pt(), r.$$.dirty[0] & /*translationurl*/
1678
+ 4096 && K && ut(), r.$$.dirty[0] & /*session*/
1679
+ 1 && i && dt(), r.$$.dirty[0] & /*tournamenturl, lang*/
1680
+ 260 && e(46, ae = s && b), r.$$.dirty[1] & /*initialParameters*/
1681
+ 32768 && ae && mt();
1633
1682
  }, [
1634
1683
  i,
1635
1684
  o,
@@ -1642,8 +1691,8 @@ function cn(r, t, e) {
1642
1691
  b,
1643
1692
  f,
1644
1693
  p,
1694
+ Y,
1645
1695
  K,
1646
- V,
1647
1696
  M,
1648
1697
  J,
1649
1698
  H,
@@ -1655,45 +1704,45 @@ function cn(r, t, e) {
1655
1704
  Se,
1656
1705
  Te,
1657
1706
  W,
1658
- D,
1707
+ O,
1659
1708
  Fe,
1660
1709
  se,
1661
1710
  Ee,
1662
1711
  je,
1663
- ae,
1712
+ le,
1664
1713
  Ce,
1665
1714
  $,
1666
1715
  n,
1667
- xe,
1668
- De,
1716
+ Be,
1717
+ Oe,
1669
1718
  ue,
1670
- Le,
1719
+ De,
1671
1720
  Ae,
1672
- l,
1721
+ a,
1673
1722
  c,
1674
1723
  T,
1675
- x,
1724
+ B,
1676
1725
  F,
1677
1726
  E,
1678
1727
  z,
1679
- X,
1680
- le,
1728
+ V,
1729
+ ae,
1730
+ gt,
1681
1731
  bt,
1682
1732
  wt,
1683
1733
  yt,
1684
- _t,
1685
1734
  vt,
1686
- kt
1735
+ _t
1687
1736
  ];
1688
1737
  }
1689
- class ut extends Et {
1738
+ class at extends Ft {
1690
1739
  constructor(t) {
1691
- super(), jt(
1740
+ super(), Et(
1692
1741
  this,
1693
1742
  t,
1694
- cn,
1695
1743
  un,
1696
- Ct,
1744
+ an,
1745
+ jt,
1697
1746
  {
1698
1747
  session: 0,
1699
1748
  userid: 1,
@@ -1717,7 +1766,7 @@ class ut extends Et {
1717
1766
  translationurl: 12,
1718
1767
  tournamentinfo: 45
1719
1768
  },
1720
- en,
1769
+ $t,
1721
1770
  [-1, -1, -1]
1722
1771
  );
1723
1772
  }
@@ -1848,12 +1897,12 @@ class ut extends Et {
1848
1897
  this.$$set({ tournamentinfo: t }), S();
1849
1898
  }
1850
1899
  }
1851
- zt(ut, { session: {}, userid: {}, tournamenturl: {}, touridx: {}, endpoint: {}, showdetails: {}, showslider: {}, showenrolled: {}, maxwidth: {}, fullsize: {}, lang: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tournamentinfo: {} }, [], [], !0);
1852
- const hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1900
+ zt(at, { session: {}, userid: {}, tournamenturl: {}, touridx: {}, endpoint: {}, showdetails: {}, showslider: {}, showenrolled: {}, maxwidth: {}, fullsize: {}, lang: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tournamentinfo: {} }, [], [], !0);
1901
+ const mn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1853
1902
  __proto__: null,
1854
- default: ut
1903
+ default: at
1855
1904
  }, Symbol.toStringTag, { value: "Module" }));
1856
1905
  export {
1857
- hn as C,
1906
+ mn as C,
1858
1907
  qe as g
1859
1908
  };