@everymatrix/casino-tournaments-list-controller 1.69.0 → 1.69.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/components/{CasinoTournamentsListController-DZAcldSI.js → CasinoTournamentsListController-CWyvrsWz.js} +1 -1
  2. package/components/{CasinoTournamentsListController-916JL4F7.js → CasinoTournamentsListController-Cu7VBkAP.js} +1 -1
  3. package/components/{CasinoTournamentsListController-CLH2CE8z.cjs → CasinoTournamentsListController-K7tyF6ih.cjs} +1 -1
  4. package/components/{CasinoTournamentsThumbnail-nwxK7LAX.js → CasinoTournamentsThumbnail-Bb-WePb4.js} +3 -3
  5. package/components/{CasinoTournamentsThumbnail-CPbOt4AY.cjs → CasinoTournamentsThumbnail-BmETv_-A.cjs} +1 -1
  6. package/components/{CasinoTournamentsThumbnail-CO-eYscS.js → CasinoTournamentsThumbnail-Dkj3BdZR.js} +3 -3
  7. package/components/{CasinoTournamentsThumbnailController-CKIWWza3.js → CasinoTournamentsThumbnailController-BDec0Jdb.js} +526 -524
  8. package/components/CasinoTournamentsThumbnailController-BiQGMoYB.cjs +16 -0
  9. package/components/{CasinoTournamentsThumbnailController-Bq1AssJj.js → CasinoTournamentsThumbnailController-Cu1REl-S.js} +469 -433
  10. package/components/{CasinoTournamentsThumbnailDuration-CoD7UhLT.js → CasinoTournamentsThumbnailDuration-ByHdwoSq.js} +1 -1
  11. package/components/{CasinoTournamentsThumbnailDuration-D96wnUeF.cjs → CasinoTournamentsThumbnailDuration-DgtH4LSC.cjs} +1 -1
  12. package/components/{CasinoTournamentsThumbnailDuration-Cs4yX-Vh.js → CasinoTournamentsThumbnailDuration-DkW8QZTq.js} +1 -1
  13. package/components/{CasinoTournamentsThumbnailGamesSlider-DyvJUNdJ.js → CasinoTournamentsThumbnailGamesSlider-CjtPMu3T.js} +2 -2
  14. package/components/{CasinoTournamentsThumbnailGamesSlider-DeZzlvbO.js → CasinoTournamentsThumbnailGamesSlider-CwP-Pm0u.js} +2 -2
  15. package/components/{CasinoTournamentsThumbnailGamesSlider-BsYSU3V2.cjs → CasinoTournamentsThumbnailGamesSlider-Dp3x8V93.cjs} +1 -1
  16. package/components/{CasinoTournamentsThumbnailPrizes-BJHbDTCY.js → CasinoTournamentsThumbnailPrizes-DGkTPnY-.js} +1 -1
  17. package/components/{CasinoTournamentsThumbnailPrizes-8tONX9SA.cjs → CasinoTournamentsThumbnailPrizes-Ha9ohG1t.cjs} +1 -1
  18. package/components/{CasinoTournamentsThumbnailPrizes-CuVL_zHr.js → CasinoTournamentsThumbnailPrizes-Tz6K0v4r.js} +1 -1
  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 → index-97d17652-B0NIExnR.js} +1 -1
  24. package/stencil/{index-97d17652-WK_DbPS4.js → index-97d17652-D6HPqRtr.js} +1 -1
  25. package/stencil/{index-97d17652-D5_8Vwfn.cjs → index-97d17652-DNpK20ur.cjs} +1 -1
  26. package/stencil/{index-b2193545-CFn9dM-v.js → index-b2193545-BS7xFIk4.js} +1 -1
  27. package/stencil/{index-b2193545-DPygl1Qn.cjs → index-b2193545-BTdVi7--.cjs} +1 -1
  28. package/stencil/{index-b2193545-BOMvxBzV.js → index-b2193545-rfNAj6ri.js} +1 -1
  29. package/stencil/ui-image-B374V2Sk.js +7 -0
  30. package/stencil/ui-image-BBrwf8a4.cjs +1 -0
  31. package/stencil/ui-image-CQSJVNNX.js +25 -0
  32. package/stencil/{ui-image-b7b48fe5-Cf9Vq5pI.js → ui-image-b7b48fe5-BXmf73Ou.js} +1 -1
  33. package/stencil/{ui-image-b7b48fe5-DCck2kk1.cjs → ui-image-b7b48fe5-DaWM2RbJ.cjs} +1 -1
  34. package/stencil/{ui-image-b7b48fe5-V9vp4faA.js → ui-image-b7b48fe5-c0NIgcTj.js} +1 -1
  35. package/stencil/ui-image_2-Cdo33umq.cjs +55 -0
  36. package/stencil/ui-image_2-DbQ7SENq.js +157 -0
  37. package/stencil/ui-image_2-L-CYescb.js +157 -0
  38. package/stencil/ui-skeleton-B0BB970e.cjs +1 -0
  39. package/stencil/ui-skeleton-D8L-WY77.js +29 -0
  40. package/stencil/ui-skeleton-DSebcnN1.js +11 -0
  41. package/stencil/ui-skeleton-ae35c6f2-BH4D8vHD.js +155 -0
  42. package/stencil/ui-skeleton-ae35c6f2-CcPx4a2P.js +155 -0
  43. package/stencil/ui-skeleton-ae35c6f2-DDiK5zGt.cjs +55 -0
  44. package/components/CasinoTournamentsThumbnailController-A_BKNTJR.cjs +0 -16
  45. package/stencil/ui-image-3hy4ZvUC.js +0 -25
  46. package/stencil/ui-image-D0wxuPze.js +0 -7
  47. package/stencil/ui-image-DE8MJHCZ.cjs +0 -1
  48. package/stencil/ui-image_2-B56t6kXT.js +0 -154
  49. package/stencil/ui-image_2-BncuYpLi.js +0 -154
  50. package/stencil/ui-image_2-YkYxLKu7.cjs +0 -73
  51. package/stencil/ui-skeleton-1cb75d00-B-R8GbLJ.js +0 -152
  52. package/stencil/ui-skeleton-1cb75d00-BTnhspbc.cjs +0 -73
  53. package/stencil/ui-skeleton-1cb75d00-Dy30RNE6.js +0 -152
  54. package/stencil/ui-skeleton-CVBjRUvi.js +0 -29
  55. package/stencil/ui-skeleton-RkXNxPG1.js +0 -11
  56. package/stencil/ui-skeleton-se83zfWh.cjs +0 -1
@@ -1,4 +1,20 @@
1
- import { $ as he, a as kt, b as St, S as Tt, i as Ft, f as S, s as Et, C as jt, c as zt, n as pe, d as y, x as u, e as d, g as v, h as w, j as P, k as D, l as Pt, o as Ct, m as M, t as I, p as Bt, q as Ot, u as xt, v as G, r as rt, E as R, y as Dt, D as At, z as Lt, A as It, B as Mt } from "./CasinoTournamentsListController-916JL4F7.js";
1
+ var de = (n, t, e) => new Promise((r, i) => {
2
+ var o = (d) => {
3
+ try {
4
+ l(e.next(d));
5
+ } catch (h) {
6
+ i(h);
7
+ }
8
+ }, s = (d) => {
9
+ try {
10
+ l(e.throw(d));
11
+ } catch (h) {
12
+ i(h);
13
+ }
14
+ }, l = (d) => d.done ? r(d.value) : Promise.resolve(d.value).then(o, s);
15
+ l((e = e.apply(n, t)).next());
16
+ });
17
+ import { $ as he, a as kt, b as St, S as Tt, i as Ft, s as Et, f as _, c as jt, n as re, d as g, x as u, e as p, g as b, h as v, j as k, k as j, l as zt, o as Pt, p as Bt, r as ve, m as x, t as C, q as Ct, u as xt, v as R, E as O, y as Ot, z as At, A as Dt, B as Lt, C as It, D as Mt } from "./CasinoTournamentsListController-CWyvrsWz.js";
2
18
  /*! *****************************************************************************
3
19
  Copyright (c) Microsoft Corporation.
4
20
 
@@ -13,24 +29,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
29
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
30
  PERFORMANCE OF THIS SOFTWARE.
15
31
  ***************************************************************************** */
16
- var ge = function(n, t) {
17
- return ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, r) {
32
+ var pe = function(n, t) {
33
+ return pe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, r) {
18
34
  e.__proto__ = r;
19
35
  } || function(e, r) {
20
36
  for (var i in r)
21
37
  Object.prototype.hasOwnProperty.call(r, i) && (e[i] = r[i]);
22
- }, ge(n, t);
38
+ }, pe(n, t);
23
39
  };
24
- function N(n, t) {
40
+ function U(n, t) {
25
41
  if (typeof t != "function" && t !== null)
26
42
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
27
- ge(n, t);
43
+ pe(n, t);
28
44
  function e() {
29
45
  this.constructor = n;
30
46
  }
31
47
  n.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
32
48
  }
33
- function be(n) {
49
+ function ge(n) {
34
50
  var t = typeof Symbol == "function" && Symbol.iterator, e = t && n[t], r = 0;
35
51
  if (e)
36
52
  return e.call(n);
@@ -42,7 +58,7 @@ function be(n) {
42
58
  };
43
59
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
44
60
  }
45
- function we(n, t) {
61
+ function be(n, t) {
46
62
  var e = typeof Symbol == "function" && n[Symbol.iterator];
47
63
  if (!e)
48
64
  return n;
@@ -62,13 +78,13 @@ function we(n, t) {
62
78
  }
63
79
  return o;
64
80
  }
65
- function ye(n, t, e) {
81
+ function we(n, t, e) {
66
82
  if (arguments.length === 2)
67
83
  for (var r = 0, i = t.length, o; r < i; r++)
68
84
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
69
85
  return n.concat(o || t);
70
86
  }
71
- function L(n) {
87
+ function B(n) {
72
88
  return typeof n == "function";
73
89
  }
74
90
  function nt(n) {
@@ -86,13 +102,13 @@ var me = nt(function(n) {
86
102
  `) : "", this.name = "UnsubscriptionError", this.errors = e;
87
103
  };
88
104
  });
89
- function ve(n, t) {
105
+ function ye(n, t) {
90
106
  if (n) {
91
107
  var e = n.indexOf(t);
92
108
  0 <= e && n.splice(e, 1);
93
109
  }
94
110
  }
95
- var ie = function() {
111
+ var ne = function() {
96
112
  function n(t) {
97
113
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
98
114
  }
@@ -104,15 +120,15 @@ var ie = function() {
104
120
  if (s)
105
121
  if (this._parentage = null, Array.isArray(s))
106
122
  try {
107
- for (var l = be(s), c = l.next(); !c.done; c = l.next()) {
108
- var h = c.value;
123
+ for (var l = ge(s), d = l.next(); !d.done; d = l.next()) {
124
+ var h = d.value;
109
125
  h.remove(this);
110
126
  }
111
- } catch (T) {
112
- t = { error: T };
127
+ } catch (S) {
128
+ t = { error: S };
113
129
  } finally {
114
130
  try {
115
- c && !c.done && (e = l.return) && e.call(l);
131
+ d && !d.done && (e = l.return) && e.call(l);
116
132
  } finally {
117
133
  if (t)
118
134
  throw t.error;
@@ -121,29 +137,29 @@ var ie = function() {
121
137
  else
122
138
  s.remove(this);
123
139
  var m = this.initialTeardown;
124
- if (L(m))
140
+ if (B(m))
125
141
  try {
126
142
  m();
127
- } catch (T) {
128
- o = T instanceof me ? T.errors : [T];
143
+ } catch (S) {
144
+ o = S instanceof me ? S.errors : [S];
129
145
  }
130
- var g = this._finalizers;
131
- if (g) {
146
+ var f = this._finalizers;
147
+ if (f) {
132
148
  this._finalizers = null;
133
149
  try {
134
- for (var j = be(g), _ = j.next(); !_.done; _ = j.next()) {
135
- var b = _.value;
150
+ for (var c = ge(f), w = c.next(); !w.done; w = c.next()) {
151
+ var z = w.value;
136
152
  try {
137
- Me(b);
138
- } catch (T) {
139
- o = o ?? [], T instanceof me ? o = ye(ye([], we(o)), we(T.errors)) : o.push(T);
153
+ Ue(z);
154
+ } catch (S) {
155
+ o = o != null ? o : [], S instanceof me ? o = we(we([], be(o)), be(S.errors)) : o.push(S);
140
156
  }
141
157
  }
142
- } catch (T) {
143
- r = { error: T };
158
+ } catch (S) {
159
+ r = { error: S };
144
160
  } finally {
145
161
  try {
146
- _ && !_.done && (i = j.return) && i.call(j);
162
+ w && !w.done && (i = c.return) && i.call(c);
147
163
  } finally {
148
164
  if (r)
149
165
  throw r.error;
@@ -157,7 +173,7 @@ var ie = function() {
157
173
  var e;
158
174
  if (t && t !== this)
159
175
  if (this.closed)
160
- Me(t);
176
+ Ue(t);
161
177
  else {
162
178
  if (t instanceof n) {
163
179
  if (t.closed || t._hasParent(this))
@@ -174,20 +190,20 @@ var ie = function() {
174
190
  this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
175
191
  }, n.prototype._removeParent = function(t) {
176
192
  var e = this._parentage;
177
- e === t ? this._parentage = null : Array.isArray(e) && ve(e, t);
193
+ e === t ? this._parentage = null : Array.isArray(e) && ye(e, t);
178
194
  }, n.prototype.remove = function(t) {
179
195
  var e = this._finalizers;
180
- e && ve(e, t), t instanceof n && t._removeParent(this);
196
+ e && ye(e, t), t instanceof n && t._removeParent(this);
181
197
  }, n.EMPTY = function() {
182
198
  var t = new n();
183
199
  return t.closed = !0, t;
184
200
  }(), n;
185
- }(), it = ie.EMPTY;
201
+ }(), it = ne.EMPTY;
186
202
  function ot(n) {
187
- return n instanceof ie || n && "closed" in n && L(n.remove) && L(n.add) && L(n.unsubscribe);
203
+ return n instanceof ne || n && "closed" in n && B(n.remove) && B(n.add) && B(n.unsubscribe);
188
204
  }
189
- function Me(n) {
190
- L(n) ? n() : n.unsubscribe();
205
+ function Ue(n) {
206
+ B(n) ? n() : n.unsubscribe();
191
207
  }
192
208
  var Rt = {
193
209
  Promise: void 0
@@ -195,7 +211,7 @@ var Rt = {
195
211
  setTimeout: function(n, t) {
196
212
  for (var e = [], r = 2; r < arguments.length; r++)
197
213
  e[r - 2] = arguments[r];
198
- return setTimeout.apply(void 0, ye([n, t], we(e)));
214
+ return setTimeout.apply(void 0, we([n, t], be(e)));
199
215
  },
200
216
  clearTimeout: function(n) {
201
217
  return clearTimeout(n);
@@ -207,13 +223,13 @@ function Jt(n) {
207
223
  throw n;
208
224
  });
209
225
  }
210
- function Re() {
226
+ function Je() {
211
227
  }
212
- function ne(n) {
228
+ function te(n) {
213
229
  n();
214
230
  }
215
231
  var st = function(n) {
216
- N(t, n);
232
+ U(t, n);
217
233
  function t(e) {
218
234
  var r = n.call(this) || this;
219
235
  return r.isStopped = !1, e ? (r.destination = e, ot(e) && e.add(r)) : r.destination = qt, r;
@@ -243,7 +259,7 @@ var st = function(n) {
243
259
  this.unsubscribe();
244
260
  }
245
261
  }, t;
246
- }(ie), Wt = function() {
262
+ }(ne), Wt = function() {
247
263
  function n(t) {
248
264
  this.partialObserver = t;
249
265
  }
@@ -253,7 +269,7 @@ var st = function(n) {
253
269
  try {
254
270
  e.next(t);
255
271
  } catch (r) {
256
- re(r);
272
+ ee(r);
257
273
  }
258
274
  }, n.prototype.error = function(t) {
259
275
  var e = this.partialObserver;
@@ -261,32 +277,32 @@ var st = function(n) {
261
277
  try {
262
278
  e.error(t);
263
279
  } catch (r) {
264
- re(r);
280
+ ee(r);
265
281
  }
266
282
  else
267
- re(t);
283
+ ee(t);
268
284
  }, n.prototype.complete = function() {
269
285
  var t = this.partialObserver;
270
286
  if (t.complete)
271
287
  try {
272
288
  t.complete();
273
289
  } catch (e) {
274
- re(e);
290
+ ee(e);
275
291
  }
276
292
  }, n;
277
293
  }(), _e = function(n) {
278
- N(t, n);
294
+ U(t, n);
279
295
  function t(e, r, i) {
280
296
  var o = n.call(this) || this, s;
281
- return L(e) || !e ? s = {
282
- next: e ?? void 0,
283
- error: r ?? void 0,
284
- complete: i ?? void 0
297
+ return B(e) || !e ? s = {
298
+ next: e != null ? e : void 0,
299
+ error: r != null ? r : void 0,
300
+ complete: i != null ? i : void 0
285
301
  } : s = e, o.destination = new Wt(s), o;
286
302
  }
287
303
  return t;
288
304
  }(st);
289
- function re(n) {
305
+ function ee(n) {
290
306
  Jt(n);
291
307
  }
292
308
  function Ht(n) {
@@ -294,9 +310,9 @@ function Ht(n) {
294
310
  }
295
311
  var qt = {
296
312
  closed: !0,
297
- next: Re,
313
+ next: Je,
298
314
  error: Ht,
299
- complete: Re
315
+ complete: Je
300
316
  }, Gt = function() {
301
317
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
302
318
  }();
@@ -310,7 +326,7 @@ function Yt(n) {
310
326
  }, e);
311
327
  };
312
328
  }
313
- var Ue = function() {
329
+ var We = function() {
314
330
  function n(t) {
315
331
  t && (this._subscribe = t);
316
332
  }
@@ -319,9 +335,9 @@ var Ue = function() {
319
335
  return e.source = this, e.operator = t, e;
320
336
  }, n.prototype.subscribe = function(t, e, r) {
321
337
  var i = this, o = Vt(t) ? t : new _e(t, e, r);
322
- return ne(function() {
323
- var s = i, l = s.operator, c = s.source;
324
- o.add(l ? l.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));
338
+ return te(function() {
339
+ var s = i, l = s.operator, d = s.source;
340
+ o.add(l ? l.call(o, d) : d ? i._subscribe(o) : i._trySubscribe(o));
325
341
  }), o;
326
342
  }, n.prototype._trySubscribe = function(t) {
327
343
  try {
@@ -331,13 +347,13 @@ var Ue = function() {
331
347
  }
332
348
  }, n.prototype.forEach = function(t, e) {
333
349
  var r = this;
334
- return e = Je(e), new e(function(i, o) {
350
+ return e = He(e), new e(function(i, o) {
335
351
  var s = new _e({
336
352
  next: function(l) {
337
353
  try {
338
354
  t(l);
339
- } catch (c) {
340
- o(c), s.unsubscribe();
355
+ } catch (d) {
356
+ o(d), s.unsubscribe();
341
357
  }
342
358
  },
343
359
  error: o,
@@ -356,7 +372,7 @@ var Ue = function() {
356
372
  return Yt(t)(this);
357
373
  }, n.prototype.toPromise = function(t) {
358
374
  var e = this;
359
- return t = Je(t), new t(function(r, i) {
375
+ return t = He(t), new t(function(r, i) {
360
376
  var o;
361
377
  e.subscribe(function(s) {
362
378
  return o = s;
@@ -370,12 +386,12 @@ var Ue = function() {
370
386
  return new n(t);
371
387
  }, n;
372
388
  }();
373
- function Je(n) {
389
+ function He(n) {
374
390
  var t;
375
- return (t = n ?? Rt.Promise) !== null && t !== void 0 ? t : Promise;
391
+ return (t = n != null ? n : Rt.Promise) !== null && t !== void 0 ? t : Promise;
376
392
  }
377
393
  function Kt(n) {
378
- return n && L(n.next) && L(n.error) && L(n.complete);
394
+ return n && B(n.next) && B(n.error) && B(n.complete);
379
395
  }
380
396
  function Vt(n) {
381
397
  return n && n instanceof st || Kt(n) && ot(n);
@@ -384,28 +400,28 @@ var Xt = nt(function(n) {
384
400
  return function() {
385
401
  n(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
386
402
  };
387
- }), at = function(n) {
388
- N(t, n);
403
+ }), lt = function(n) {
404
+ U(t, n);
389
405
  function t() {
390
406
  var e = n.call(this) || this;
391
407
  return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
392
408
  }
393
409
  return t.prototype.lift = function(e) {
394
- var r = new We(this, this);
410
+ var r = new qe(this, this);
395
411
  return r.operator = e, r;
396
412
  }, t.prototype._throwIfClosed = function() {
397
413
  if (this.closed)
398
414
  throw new Xt();
399
415
  }, t.prototype.next = function(e) {
400
416
  var r = this;
401
- ne(function() {
417
+ te(function() {
402
418
  var i, o;
403
419
  if (r._throwIfClosed(), !r.isStopped) {
404
420
  r.currentObservers || (r.currentObservers = Array.from(r.observers));
405
421
  try {
406
- for (var s = be(r.currentObservers), l = s.next(); !l.done; l = s.next()) {
407
- var c = l.value;
408
- c.next(e);
422
+ for (var s = ge(r.currentObservers), l = s.next(); !l.done; l = s.next()) {
423
+ var d = l.value;
424
+ d.next(e);
409
425
  }
410
426
  } catch (h) {
411
427
  i = { error: h };
@@ -421,7 +437,7 @@ var Xt = nt(function(n) {
421
437
  });
422
438
  }, t.prototype.error = function(e) {
423
439
  var r = this;
424
- ne(function() {
440
+ te(function() {
425
441
  if (r._throwIfClosed(), !r.isStopped) {
426
442
  r.hasError = r.isStopped = !0, r.thrownError = e;
427
443
  for (var i = r.observers; i.length; )
@@ -430,7 +446,7 @@ var Xt = nt(function(n) {
430
446
  });
431
447
  }, t.prototype.complete = function() {
432
448
  var e = this;
433
- ne(function() {
449
+ te(function() {
434
450
  if (e._throwIfClosed(), !e.isStopped) {
435
451
  e.isStopped = !0;
436
452
  for (var r = e.observers; r.length; )
@@ -452,20 +468,20 @@ var Xt = nt(function(n) {
452
468
  return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
453
469
  }, t.prototype._innerSubscribe = function(e) {
454
470
  var r = this, i = this, o = i.hasError, s = i.isStopped, l = i.observers;
455
- return o || s ? it : (this.currentObservers = null, l.push(e), new ie(function() {
456
- r.currentObservers = null, ve(l, e);
471
+ return o || s ? it : (this.currentObservers = null, l.push(e), new ne(function() {
472
+ r.currentObservers = null, ye(l, e);
457
473
  }));
458
474
  }, t.prototype._checkFinalizedStatuses = function(e) {
459
475
  var r = this, i = r.hasError, o = r.thrownError, s = r.isStopped;
460
476
  i ? e.error(o) : s && e.complete();
461
477
  }, t.prototype.asObservable = function() {
462
- var e = new Ue();
478
+ var e = new We();
463
479
  return e.source = this, e;
464
480
  }, t.create = function(e, r) {
465
- return new We(e, r);
481
+ return new qe(e, r);
466
482
  }, t;
467
- }(Ue), We = function(n) {
468
- N(t, n);
483
+ }(We), qe = function(n) {
484
+ U(t, n);
469
485
  function t(e, r) {
470
486
  var i = n.call(this) || this;
471
487
  return i.destination = e, i.source = r, i;
@@ -483,56 +499,56 @@ var Xt = nt(function(n) {
483
499
  var r, i;
484
500
  return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(e)) !== null && i !== void 0 ? i : it;
485
501
  }, t;
486
- }(at), lt = {
502
+ }(lt), at = {
487
503
  now: function() {
488
- return (lt.delegate || Date).now();
504
+ return (at.delegate || Date).now();
489
505
  },
490
506
  delegate: void 0
491
507
  }, Zt = function(n) {
492
- N(t, n);
508
+ U(t, n);
493
509
  function t(e, r, i) {
494
- e === void 0 && (e = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = lt);
510
+ e === void 0 && (e = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = at);
495
511
  var o = n.call(this) || this;
496
512
  return o._bufferSize = e, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, e), o._windowTime = Math.max(1, r), o;
497
513
  }
498
514
  return t.prototype.next = function(e) {
499
- var r = this, i = r.isStopped, o = r._buffer, s = r._infiniteTimeWindow, l = r._timestampProvider, c = r._windowTime;
500
- i || (o.push(e), !s && o.push(l.now() + c)), this._trimBuffer(), n.prototype.next.call(this, e);
515
+ var r = this, i = r.isStopped, o = r._buffer, s = r._infiniteTimeWindow, l = r._timestampProvider, d = r._windowTime;
516
+ i || (o.push(e), !s && o.push(l.now() + d)), this._trimBuffer(), n.prototype.next.call(this, e);
501
517
  }, t.prototype._subscribe = function(e) {
502
518
  this._throwIfClosed(), this._trimBuffer();
503
- for (var r = 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)
504
- e.next(l[c]);
519
+ for (var r = this._innerSubscribe(e), i = this, o = i._infiniteTimeWindow, s = i._buffer, l = s.slice(), d = 0; d < l.length && !e.closed; d += o ? 1 : 2)
520
+ e.next(l[d]);
505
521
  return this._checkFinalizedStatuses(e), r;
506
522
  }, t.prototype._trimBuffer = function() {
507
523
  var e = this, r = e._bufferSize, i = e._timestampProvider, o = e._buffer, s = e._infiniteTimeWindow, l = (s ? 1 : 2) * r;
508
524
  if (r < 1 / 0 && l < o.length && o.splice(0, o.length - l), !s) {
509
- for (var c = i.now(), h = 0, m = 1; m < o.length && o[m] <= c; m += 2)
525
+ for (var d = i.now(), h = 0, m = 1; m < o.length && o[m] <= d; m += 2)
510
526
  h = m;
511
527
  h && o.splice(0, h + 1);
512
528
  }
513
529
  }, t;
514
- }(at);
515
- const He = [], qe = {}, Qt = (n, t = 0) => {
516
- if (He.indexOf(n) == -1) {
530
+ }(lt);
531
+ const Ge = [], Ne = {}, Qt = (n, t = 0) => {
532
+ if (Ge.indexOf(n) == -1) {
517
533
  const e = new Zt(t);
518
- qe[n] = e, He.push(n);
534
+ Ne[n] = e, Ge.push(n);
519
535
  }
520
- return qe[n];
536
+ return Ne[n];
521
537
  };
522
538
  window.emWidgets = { topic: Qt };
523
- const Ge = (n) => n.toLowerCase().match(/android/i) ? "Android" : n.toLowerCase().match(/iphone/i) ? "iPhone" : n.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
539
+ const Ye = (n) => n.toLowerCase().match(/android/i) ? "Android" : n.toLowerCase().match(/iphone/i) ? "iPhone" : n.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
524
540
  function $t({ withLocale: n, translations: t }) {
525
541
  he.subscribe((e) => {
526
542
  e == null && (kt.set(t), he.set(n));
527
543
  });
528
544
  }
529
- function Ne(n, t) {
545
+ function Ke(n, t) {
530
546
  St(n, t);
531
547
  }
532
548
  function er(n) {
533
549
  he.set(n);
534
550
  }
535
- const Ye = {
551
+ const Ve = {
536
552
  en: {
537
553
  login: "Log in",
538
554
  register: "Register",
@@ -622,7 +638,7 @@ const Ye = {
622
638
  joinerror: "An error occurred while registering in the tournament, please try again."
623
639
  }
624
640
  };
625
- if (typeof window < "u") {
641
+ if (typeof window != "undefined") {
626
642
  let n = function(t) {
627
643
  return function(...e) {
628
644
  try {
@@ -634,11 +650,11 @@ if (typeof window < "u") {
634
650
  }
635
651
  };
636
652
  };
637
- customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnail-nwxK7LAX.js").then(({ default: t }) => {
653
+ customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnail-Dkj3BdZR.js").then(({ default: t }) => {
638
654
  !customElements.get("casino-tournaments-thumbnail") && customElements.define("casino-tournaments-thumbnail", t.element);
639
655
  });
640
656
  }
641
- if (typeof window < "u") {
657
+ if (typeof window != "undefined") {
642
658
  let n = function(t) {
643
659
  return function(...e) {
644
660
  try {
@@ -650,14 +666,14 @@ if (typeof window < "u") {
650
666
  }
651
667
  };
652
668
  };
653
- customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailDuration-Cs4yX-Vh.js").then(({ default: t }) => {
669
+ customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailDuration-DkW8QZTq.js").then(({ default: t }) => {
654
670
  !customElements.get("casino-tournaments-thumbnail-duration") && customElements.define(
655
671
  "casino-tournaments-thumbnail-duration",
656
672
  t.element
657
673
  );
658
674
  });
659
675
  }
660
- if (typeof window < "u") {
676
+ if (typeof window != "undefined") {
661
677
  let n = function(t) {
662
678
  return function(...e) {
663
679
  try {
@@ -669,11 +685,11 @@ if (typeof window < "u") {
669
685
  }
670
686
  };
671
687
  };
672
- customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailPrizes-CuVL_zHr.js").then(({ default: t }) => {
688
+ customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailPrizes-Tz6K0v4r.js").then(({ default: t }) => {
673
689
  !customElements.get("casino-tournaments-thumbnail-prizes") && customElements.define("casino-tournaments-thumbnail-prizes", t.element);
674
690
  });
675
691
  }
676
- if (typeof window < "u") {
692
+ if (typeof window != "undefined") {
677
693
  let n = function(t) {
678
694
  return function(...e) {
679
695
  try {
@@ -685,7 +701,7 @@ if (typeof window < "u") {
685
701
  }
686
702
  };
687
703
  };
688
- customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-DeZzlvbO.js").then(
704
+ customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-CwP-Pm0u.js").then(
689
705
  ({ default: t }) => {
690
706
  !customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
691
707
  "casino-tournaments-thumbnail-games-slider",
@@ -695,30 +711,79 @@ if (typeof window < "u") {
695
711
  );
696
712
  }
697
713
  function tr(n) {
698
- zt(n, "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}');
714
+ jt(n, "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}');
699
715
  }
700
- function Ke(n) {
701
- let t;
716
+ function rr(n) {
717
+ let t, e, r, i, o, s = (
718
+ /*isLoggedIn*/
719
+ n[15] && Xe(n)
720
+ );
721
+ function l(c, w) {
722
+ if (!/*isLoggedIn*/
723
+ c[15])
724
+ return sr;
725
+ if (
726
+ /*status*/
727
+ c[24] != "Closed" && /*status*/
728
+ c[24] != "Closing"
729
+ )
730
+ return or;
731
+ if (
732
+ /*showdetails*/
733
+ c[3] == "true"
734
+ )
735
+ return ir;
736
+ }
737
+ let d = l(n), h = d && d(n), m = (
738
+ /*errorJoin*/
739
+ (n[18] || /*errorJoinConcurrently*/
740
+ n[20]) && et(n)
741
+ ), f = (
742
+ /*showslider*/
743
+ n[4] == "true" && tt(n)
744
+ );
702
745
  return {
703
746
  c() {
704
- t = P("div"), t.innerHTML = '<div class="TournamentPrizesIconSection" part="TournamentPrizesIconSection"><ui-skeleton structure="rectangle" width="200px" height="80px"></ui-skeleton></div>', d(t, "class", "TournamentPrizes"), d(t, "part", "TournamentPrizes");
747
+ s && s.c(), t = j(), e = k("div"), h && h.c(), r = j(), m && m.c(), i = j(), f && f.c(), o = ve(), p(e, "class", "TournamentButtons"), p(e, "part", "TournamentButtons");
705
748
  },
706
- m(e, r) {
707
- v(e, t, r);
749
+ m(c, w) {
750
+ s && s.m(c, w), b(c, t, w), b(c, e, w), h && h.m(e, null), b(c, r, w), m && m.m(c, w), b(c, i, w), f && f.m(c, w), b(c, o, w);
708
751
  },
709
- d(e) {
710
- e && y(t);
752
+ p(c, w) {
753
+ /*isLoggedIn*/
754
+ c[15] ? s ? s.p(c, w) : (s = Xe(c), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), d === (d = l(c)) && h ? h.p(c, w) : (h && h.d(1), h = d && d(c), h && (h.c(), h.m(e, null))), /*errorJoin*/
755
+ c[18] || /*errorJoinConcurrently*/
756
+ c[20] ? m ? m.p(c, w) : (m = et(c), m.c(), m.m(i.parentNode, i)) : m && (m.d(1), m = null), /*showslider*/
757
+ c[4] == "true" ? f ? f.p(c, w) : (f = tt(c), f.c(), f.m(o.parentNode, o)) : f && (f.d(1), f = null);
758
+ },
759
+ d(c) {
760
+ c && (g(t), g(e), g(r), g(i), g(o)), s && s.d(c), h && h.d(), m && m.d(c), f && f.d(c);
711
761
  }
712
762
  };
713
763
  }
714
- function Ve(n) {
764
+ function nr(n) {
765
+ let t, e, r;
766
+ return {
767
+ c() {
768
+ t = k("div"), t.innerHTML = '<div class="TournamentPrizesIconSection" part="TournamentPrizesIconSection"><ui-skeleton structure="rectangle" width="200px" height="80px"></ui-skeleton></div>', e = j(), r = k("div"), r.innerHTML = '<ui-skeleton structure="rectangle" width="200px" height="80px"></ui-skeleton>', p(t, "class", "TournamentPrizes"), p(t, "part", "TournamentPrizes"), p(r, "class", "TournamentButtons"), p(r, "part", "TournamentButtons");
769
+ },
770
+ m(i, o) {
771
+ b(i, t, o), b(i, e, o), b(i, r, o);
772
+ },
773
+ p: re,
774
+ d(i) {
775
+ i && (g(t), g(e), g(r));
776
+ }
777
+ };
778
+ }
779
+ function Xe(n) {
715
780
  let t, e, r = (
716
781
  /*tourid*/
717
- n[25] && Xe(n)
782
+ n[25] && Ze(n)
718
783
  );
719
784
  return {
720
785
  c() {
721
- r && r.c(), t = D(), e = P("casino-tournaments-thumbnail-duration"), u(
786
+ r && r.c(), t = j(), e = k("casino-tournaments-thumbnail-duration"), u(
722
787
  e,
723
788
  "clientstyling",
724
789
  /*clientstyling*/
@@ -761,11 +826,11 @@ function Ve(n) {
761
826
  ), u(e, "exportparts", "TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill");
762
827
  },
763
828
  m(i, o) {
764
- r && r.m(i, o), v(i, t, o), v(i, e, o);
829
+ r && r.m(i, o), b(i, t, o), b(i, e, o);
765
830
  },
766
831
  p(i, o) {
767
832
  /*tourid*/
768
- i[25] ? r ? r.p(i, o) : (r = Xe(i), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null), o[0] & /*clientstyling*/
833
+ i[25] ? r ? r.p(i, o) : (r = Ze(i), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null), o[0] & /*clientstyling*/
769
834
  1024 && u(
770
835
  e,
771
836
  "clientstyling",
@@ -816,15 +881,15 @@ function Ve(n) {
816
881
  );
817
882
  },
818
883
  d(i) {
819
- i && (y(t), y(e)), r && r.d(i);
884
+ i && (g(t), g(e)), r && r.d(i);
820
885
  }
821
886
  };
822
887
  }
823
- function Xe(n) {
888
+ function Ze(n) {
824
889
  let t, e, r, i;
825
890
  return {
826
891
  c() {
827
- t = P("casino-tournaments-thumbnail-prizes"), u(
892
+ t = k("casino-tournaments-thumbnail-prizes"), u(
828
893
  t,
829
894
  "tourid",
830
895
  /*tourid*/
@@ -852,7 +917,7 @@ function Xe(n) {
852
917
  ), u(t, "exportparts", "TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank, TournamentPrizesIconSection, TournamentPrizesIconWrapper");
853
918
  },
854
919
  m(o, s) {
855
- v(o, t, s), r || (i = Ot(e = /*sendTournamentPrizes*/
920
+ b(o, t, s), r || (i = Ct(e = /*sendTournamentPrizes*/
856
921
  n[38].call(
857
922
  null,
858
923
  t,
@@ -891,7 +956,7 @@ function Xe(n) {
891
956
  "translationurl",
892
957
  /*translationurl*/
893
958
  o[12]
894
- ), e && Dt(e.update) && s[0] & /*tourid*/
959
+ ), e && Ot(e.update) && s[0] & /*tourid*/
895
960
  33554432 && e.update.call(
896
961
  null,
897
962
  /*tourid*/
@@ -899,288 +964,288 @@ function Xe(n) {
899
964
  );
900
965
  },
901
966
  d(o) {
902
- o && y(t), r = !1, i();
967
+ o && g(t), r = !1, i();
903
968
  }
904
969
  };
905
970
  }
906
- function rr(n) {
971
+ function ir(n) {
907
972
  let t, e = (
908
973
  /*$_*/
909
974
  n[33]("details") + ""
910
975
  ), r, i, o;
911
976
  return {
912
977
  c() {
913
- t = P("button"), r = I(e), d(t, "class", "DetailsLargeButton"), d(t, "part", "DetailsLargeButton");
978
+ t = k("button"), r = C(e), p(t, "class", "DetailsLargeButton"), p(t, "part", "DetailsLargeButton");
914
979
  },
915
980
  m(s, l) {
916
- v(s, t, l), w(t, r), i || (o = G(
981
+ b(s, t, l), v(t, r), i || (o = R(
917
982
  t,
918
983
  "click",
919
984
  /*click_handler_4*/
920
- n[52]
985
+ n[51]
921
986
  ), i = !0);
922
987
  },
923
988
  p(s, l) {
924
989
  l[1] & /*$_*/
925
990
  4 && e !== (e = /*$_*/
926
- s[33]("details") + "") && M(r, e);
991
+ s[33]("details") + "") && x(r, e);
927
992
  },
928
993
  d(s) {
929
- s && y(t), i = !1, o();
994
+ s && g(t), i = !1, o();
930
995
  }
931
996
  };
932
997
  }
933
- function nr(n) {
998
+ function or(n) {
934
999
  let t, e, r = (
935
1000
  /*showdetails*/
936
- n[3] == "true" && Ze(n)
1001
+ n[3] == "true" && Qe(n)
937
1002
  );
938
- function i(l, c) {
1003
+ function i(l, d) {
939
1004
  return (
940
1005
  /*userenrolled*/
941
- l[27] ? sr : or
1006
+ l[27] ? ar : lr
942
1007
  );
943
1008
  }
944
1009
  let o = i(n), s = o(n);
945
1010
  return {
946
1011
  c() {
947
- r && r.c(), t = D(), s.c(), e = rt();
1012
+ r && r.c(), t = j(), s.c(), e = ve();
948
1013
  },
949
- m(l, c) {
950
- r && r.m(l, c), v(l, t, c), s.m(l, c), v(l, e, c);
1014
+ m(l, d) {
1015
+ r && r.m(l, d), b(l, t, d), s.m(l, d), b(l, e, d);
951
1016
  },
952
- p(l, c) {
1017
+ p(l, d) {
953
1018
  /*showdetails*/
954
- l[3] == "true" ? r ? r.p(l, c) : (r = Ze(l), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null), o === (o = i(l)) && s ? s.p(l, c) : (s.d(1), s = o(l), s && (s.c(), s.m(e.parentNode, e)));
1019
+ l[3] == "true" ? r ? r.p(l, d) : (r = Qe(l), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null), o === (o = i(l)) && s ? s.p(l, d) : (s.d(1), s = o(l), s && (s.c(), s.m(e.parentNode, e)));
955
1020
  },
956
1021
  d(l) {
957
- l && (y(t), y(e)), r && r.d(l), s.d(l);
1022
+ l && (g(t), g(e)), r && r.d(l), s.d(l);
958
1023
  }
959
1024
  };
960
1025
  }
961
- function ir(n) {
1026
+ function sr(n) {
962
1027
  let t, e = (
963
1028
  /*$_*/
964
1029
  n[33]("login") + ""
965
1030
  ), r, i, o, s = (
966
1031
  /*$_*/
967
1032
  n[33]("register") + ""
968
- ), l, c, h;
1033
+ ), l, d, h;
969
1034
  return {
970
1035
  c() {
971
- t = P("button"), r = I(e), i = D(), o = P("button"), l = I(s), d(t, "class", "LoginButton"), d(t, "part", "LoginButton"), d(o, "class", "RegisterButton"), d(o, "part", "RegisterButton");
1036
+ t = k("button"), r = C(e), i = j(), o = k("button"), l = C(s), p(t, "class", "LoginButton"), p(t, "part", "LoginButton"), p(o, "class", "RegisterButton"), p(o, "part", "RegisterButton");
972
1037
  },
973
- m(m, g) {
974
- v(m, t, g), w(t, r), v(m, i, g), v(m, o, g), w(o, l), c || (h = [
975
- G(
1038
+ m(m, f) {
1039
+ b(m, t, f), v(t, r), b(m, i, f), b(m, o, f), v(o, l), d || (h = [
1040
+ R(
976
1041
  t,
977
1042
  "click",
978
1043
  /*click_handler*/
979
- n[48]
1044
+ n[47]
980
1045
  ),
981
- G(
1046
+ R(
982
1047
  o,
983
1048
  "click",
984
1049
  /*click_handler_1*/
985
- n[49]
1050
+ n[48]
986
1051
  )
987
- ], c = !0);
1052
+ ], d = !0);
988
1053
  },
989
- p(m, g) {
990
- g[1] & /*$_*/
1054
+ p(m, f) {
1055
+ f[1] & /*$_*/
991
1056
  4 && e !== (e = /*$_*/
992
- m[33]("login") + "") && M(r, e), g[1] & /*$_*/
1057
+ m[33]("login") + "") && x(r, e), f[1] & /*$_*/
993
1058
  4 && s !== (s = /*$_*/
994
- m[33]("register") + "") && M(l, s);
1059
+ m[33]("register") + "") && x(l, s);
995
1060
  },
996
1061
  d(m) {
997
- m && (y(t), y(i), y(o)), c = !1, xt(h);
1062
+ m && (g(t), g(i), g(o)), d = !1, xt(h);
998
1063
  }
999
1064
  };
1000
1065
  }
1001
- function Ze(n) {
1066
+ function Qe(n) {
1002
1067
  let t, e = (
1003
1068
  /*$_*/
1004
1069
  n[33]("details") + ""
1005
1070
  ), r, i, o;
1006
1071
  return {
1007
1072
  c() {
1008
- t = P("button"), r = I(e), d(t, "class", "DetailsButton"), d(t, "part", "DetailsButton");
1073
+ t = k("button"), r = C(e), p(t, "class", "DetailsButton"), p(t, "part", "DetailsButton");
1009
1074
  },
1010
1075
  m(s, l) {
1011
- v(s, t, l), w(t, r), i || (o = G(
1076
+ b(s, t, l), v(t, r), i || (o = R(
1012
1077
  t,
1013
1078
  "click",
1014
1079
  /*click_handler_2*/
1015
- n[50]
1080
+ n[49]
1016
1081
  ), i = !0);
1017
1082
  },
1018
1083
  p(s, l) {
1019
1084
  l[1] & /*$_*/
1020
1085
  4 && e !== (e = /*$_*/
1021
- s[33]("details") + "") && M(r, e);
1086
+ s[33]("details") + "") && x(r, e);
1022
1087
  },
1023
1088
  d(s) {
1024
- s && y(t), i = !1, o();
1089
+ s && g(t), i = !1, o();
1025
1090
  }
1026
1091
  };
1027
1092
  }
1028
- function or(n) {
1093
+ function lr(n) {
1029
1094
  let t, e, r, i, o;
1030
1095
  function s(h, m) {
1031
1096
  return (
1032
1097
  /*joinButtonLoading*/
1033
- h[17] == !0 ? lr : ar
1098
+ h[17] == !0 ? cr : ur
1034
1099
  );
1035
1100
  }
1036
- let l = s(n), c = l(n);
1101
+ let l = s(n), d = l(n);
1037
1102
  return {
1038
1103
  c() {
1039
- t = P("button"), c.c(), d(t, "class", e = "JoinButton " + /*fullsize*/
1040
- (n[7] ? "JoinButtonFullSize" : "")), d(t, "part", r = "JoinButton " + /*fullsize*/
1104
+ t = k("button"), d.c(), p(t, "class", e = "JoinButton " + /*fullsize*/
1105
+ (n[7] ? "JoinButtonFullSize" : "")), p(t, "part", r = "JoinButton " + /*fullsize*/
1041
1106
  (n[7] ? "JoinButtonFullSize" : "")), t.disabled = /*errorJoin*/
1042
1107
  n[18];
1043
1108
  },
1044
1109
  m(h, m) {
1045
- v(h, t, m), c.m(t, null), i || (o = G(
1110
+ b(h, t, m), d.m(t, null), i || (o = R(
1046
1111
  t,
1047
1112
  "click",
1048
1113
  /*click_handler_3*/
1049
- n[51]
1114
+ n[50]
1050
1115
  ), i = !0);
1051
1116
  },
1052
1117
  p(h, m) {
1053
- 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*/
1118
+ l === (l = s(h)) && d ? d.p(h, m) : (d.d(1), d = l(h), d && (d.c(), d.m(t, null))), m[0] & /*fullsize*/
1054
1119
  128 && e !== (e = "JoinButton " + /*fullsize*/
1055
- (h[7] ? "JoinButtonFullSize" : "")) && d(t, "class", e), m[0] & /*fullsize*/
1120
+ (h[7] ? "JoinButtonFullSize" : "")) && p(t, "class", e), m[0] & /*fullsize*/
1056
1121
  128 && r !== (r = "JoinButton " + /*fullsize*/
1057
- (h[7] ? "JoinButtonFullSize" : "")) && d(t, "part", r), m[0] & /*errorJoin*/
1122
+ (h[7] ? "JoinButtonFullSize" : "")) && p(t, "part", r), m[0] & /*errorJoin*/
1058
1123
  262144 && (t.disabled = /*errorJoin*/
1059
1124
  h[18]);
1060
1125
  },
1061
1126
  d(h) {
1062
- h && y(t), c.d(), i = !1, o();
1127
+ h && g(t), d.d(), i = !1, o();
1063
1128
  }
1064
1129
  };
1065
1130
  }
1066
- function sr(n) {
1131
+ function ar(n) {
1067
1132
  let t, e = (
1068
1133
  /*showdetails*/
1069
- n[3] == "true" && Qe(n)
1134
+ n[3] == "true" && $e(n)
1070
1135
  );
1071
1136
  return {
1072
1137
  c() {
1073
- e && e.c(), t = rt();
1138
+ e && e.c(), t = ve();
1074
1139
  },
1075
1140
  m(r, i) {
1076
- e && e.m(r, i), v(r, t, i);
1141
+ e && e.m(r, i), b(r, t, i);
1077
1142
  },
1078
1143
  p(r, i) {
1079
1144
  /*showdetails*/
1080
- r[3] == "true" ? e ? e.p(r, i) : (e = Qe(r), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
1145
+ r[3] == "true" ? e ? e.p(r, i) : (e = $e(r), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
1081
1146
  },
1082
1147
  d(r) {
1083
- r && y(t), e && e.d(r);
1148
+ r && g(t), e && e.d(r);
1084
1149
  }
1085
1150
  };
1086
1151
  }
1087
- function ar(n) {
1152
+ function ur(n) {
1088
1153
  let t, e = (
1089
1154
  /*$_*/
1090
1155
  n[33]("join") + ""
1091
- ), r, i, o, s, l, c, h, m;
1156
+ ), r, i, o, s, l, d, h, m;
1092
1157
  return {
1093
1158
  c() {
1094
- t = P("span"), r = I(e), i = D(), o = R("svg"), s = R("defs"), l = R("style"), c = I(".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");
1159
+ t = k("span"), r = C(e), i = j(), o = O("svg"), s = O("defs"), l = O("style"), d = C(".a{fill:var(--emw--color-white, #FFFFFF);}"), h = O("g"), m = O("path"), p(t, "part", "JoinButtonSpan"), p(m, "class", "a"), p(m, "part", "a JoinButtonSvgA"), p(m, "d", "M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"), p(m, "transform", "translate(26 26) rotate(180)"), p(h, "transform", "translate(26 26) rotate(180)"), p(o, "part", "JoinButtonSvg"), p(o, "xmlns", "http://www.w3.org/2000/svg"), p(o, "width", "26"), p(o, "height", "26"), p(o, "viewBox", "0 0 26 26");
1095
1160
  },
1096
- m(g, j) {
1097
- v(g, t, j), w(t, r), v(g, i, j), v(g, o, j), w(o, s), w(s, l), w(l, c), w(o, h), w(h, m);
1161
+ m(f, c) {
1162
+ b(f, t, c), v(t, r), b(f, i, c), b(f, o, c), v(o, s), v(s, l), v(l, d), v(o, h), v(h, m);
1098
1163
  },
1099
- p(g, j) {
1100
- j[1] & /*$_*/
1164
+ p(f, c) {
1165
+ c[1] & /*$_*/
1101
1166
  4 && e !== (e = /*$_*/
1102
- g[33]("join") + "") && M(r, e);
1167
+ f[33]("join") + "") && x(r, e);
1103
1168
  },
1104
- d(g) {
1105
- g && (y(t), y(i), y(o));
1169
+ d(f) {
1170
+ f && (g(t), g(i), g(o));
1106
1171
  }
1107
1172
  };
1108
1173
  }
1109
- function lr(n) {
1174
+ function cr(n) {
1110
1175
  let t, e;
1111
1176
  return {
1112
1177
  c() {
1113
- t = R("svg"), e = R("circle"), d(e, "cx", "20"), d(e, "cy", "20"), d(e, "r", "18"), d(t, "class", "spinner"), d(t, "part", "spinner");
1178
+ t = O("svg"), e = O("circle"), p(e, "cx", "20"), p(e, "cy", "20"), p(e, "r", "18"), p(t, "class", "spinner"), p(t, "part", "spinner");
1114
1179
  },
1115
1180
  m(r, i) {
1116
- v(r, t, i), w(t, e);
1181
+ b(r, t, i), v(t, e);
1117
1182
  },
1118
- p: pe,
1183
+ p: re,
1119
1184
  d(r) {
1120
- r && y(t);
1185
+ r && g(t);
1121
1186
  }
1122
1187
  };
1123
1188
  }
1124
- function Qe(n) {
1189
+ function $e(n) {
1125
1190
  let t, e = (
1126
1191
  /*$_*/
1127
1192
  n[33]("enrolled") + ""
1128
1193
  ), r;
1129
1194
  return {
1130
1195
  c() {
1131
- t = P("button"), r = I(e), d(t, "class", "EnrolledButton"), d(t, "part", "EnrolledButton"), t.disabled = !0;
1196
+ t = k("button"), r = C(e), p(t, "class", "EnrolledButton"), p(t, "part", "EnrolledButton"), t.disabled = !0;
1132
1197
  },
1133
1198
  m(i, o) {
1134
- v(i, t, o), w(t, r);
1199
+ b(i, t, o), v(t, r);
1135
1200
  },
1136
1201
  p(i, o) {
1137
1202
  o[1] & /*$_*/
1138
1203
  4 && e !== (e = /*$_*/
1139
- i[33]("enrolled") + "") && M(r, e);
1204
+ i[33]("enrolled") + "") && x(r, e);
1140
1205
  },
1141
1206
  d(i) {
1142
- i && y(t);
1207
+ i && g(t);
1143
1208
  }
1144
1209
  };
1145
1210
  }
1146
- function $e(n) {
1211
+ function et(n) {
1147
1212
  let t, e = (
1148
1213
  /*$_*/
1149
1214
  n[33]("joinerror") + ""
1150
1215
  ), r, i, o;
1151
1216
  return {
1152
1217
  c() {
1153
- t = P("span"), r = I(e), i = D(), o = I(
1218
+ t = k("span"), r = C(e), i = j(), o = C(
1154
1219
  /*errorJoinText*/
1155
1220
  n[19]
1156
- ), d(t, "class", "ErrorText"), d(t, "part", "ErrorText");
1221
+ ), p(t, "class", "ErrorText"), p(t, "part", "ErrorText");
1157
1222
  },
1158
1223
  m(s, l) {
1159
- v(s, t, l), w(t, r), w(t, i), w(t, o);
1224
+ b(s, t, l), v(t, r), v(t, i), v(t, o);
1160
1225
  },
1161
1226
  p(s, l) {
1162
1227
  l[1] & /*$_*/
1163
1228
  4 && e !== (e = /*$_*/
1164
- s[33]("joinerror") + "") && M(r, e), l[0] & /*errorJoinText*/
1165
- 524288 && M(
1229
+ s[33]("joinerror") + "") && x(r, e), l[0] & /*errorJoinText*/
1230
+ 524288 && x(
1166
1231
  o,
1167
1232
  /*errorJoinText*/
1168
1233
  s[19]
1169
1234
  );
1170
1235
  },
1171
1236
  d(s) {
1172
- s && y(t);
1237
+ s && g(t);
1173
1238
  }
1174
1239
  };
1175
1240
  }
1176
- function et(n) {
1241
+ function tt(n) {
1177
1242
  let t, e, r = (
1178
1243
  /*isLoading*/
1179
- n[16] && tt()
1244
+ n[16] && rt()
1180
1245
  );
1181
1246
  return {
1182
1247
  c() {
1183
- r && r.c(), t = D(), e = P("casino-tournaments-thumbnail-games-slider"), u(
1248
+ r && r.c(), t = j(), e = k("casino-tournaments-thumbnail-games-slider"), u(
1184
1249
  e,
1185
1250
  "clientstyling",
1186
1251
  /*clientstyling*/
@@ -1213,11 +1278,11 @@ function et(n) {
1213
1278
  ), u(e, "scrollby", "2"), u(e, "exportparts", "TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton");
1214
1279
  },
1215
1280
  m(i, o) {
1216
- r && r.m(i, o), v(i, t, o), v(i, e, o);
1281
+ r && r.m(i, o), b(i, t, o), b(i, e, o);
1217
1282
  },
1218
1283
  p(i, o) {
1219
1284
  /*isLoading*/
1220
- i[16] ? r || (r = tt(), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null), o[0] & /*clientstyling*/
1285
+ i[16] ? r || (r = rt(), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null), o[0] & /*clientstyling*/
1221
1286
  1024 && u(
1222
1287
  e,
1223
1288
  "clientstyling",
@@ -1256,59 +1321,36 @@ function et(n) {
1256
1321
  );
1257
1322
  },
1258
1323
  d(i) {
1259
- i && (y(t), y(e)), r && r.d(i);
1324
+ i && (g(t), g(e)), r && r.d(i);
1260
1325
  }
1261
1326
  };
1262
1327
  }
1263
- function tt(n) {
1328
+ function rt(n) {
1264
1329
  let t;
1265
1330
  return {
1266
1331
  c() {
1267
- t = P("div"), t.innerHTML = '<ui-skeleton structure="rectangle" width="290px" height="80px"></ui-skeleton>', d(t, "class", "TournamentsGamesSlider");
1332
+ t = k("div"), t.innerHTML = '<ui-skeleton structure="rectangle" width="290px" height="80px"></ui-skeleton>', p(t, "class", "TournamentsGamesSlider");
1268
1333
  },
1269
1334
  m(e, r) {
1270
- v(e, t, r);
1335
+ b(e, t, r);
1271
1336
  },
1272
1337
  d(e) {
1273
- e && y(t);
1338
+ e && g(t);
1274
1339
  }
1275
1340
  };
1276
1341
  }
1277
- function ur(n) {
1278
- let t, e, r, i, o, s, l, c, h, m, g, j, _ = (
1279
- /*isLoading*/
1280
- n[16] && Ke()
1281
- ), b = (
1282
- /*isLoggedIn*/
1283
- n[15] && Ve(n)
1284
- );
1285
- function T(f, p) {
1286
- if (!/*isLoggedIn*/
1287
- f[15])
1288
- return ir;
1289
- if (
1290
- /*status*/
1291
- f[24] != "Closed" && /*status*/
1292
- f[24] != "Closing"
1293
- )
1294
- return nr;
1295
- if (
1296
- /*showdetails*/
1297
- f[3] == "true"
1298
- )
1299
- return rr;
1342
+ function fr(n) {
1343
+ let t, e, r, i, o, s, l;
1344
+ function d(f, c) {
1345
+ return (
1346
+ /*isLoading*/
1347
+ f[16] ? nr : rr
1348
+ );
1300
1349
  }
1301
- let O = T(n), F = O && O(n), E = (
1302
- /*errorJoin*/
1303
- (n[18] || /*errorJoinConcurrently*/
1304
- n[20]) && $e(n)
1305
- ), z = (
1306
- /*showslider*/
1307
- n[4] == "true" && et(n)
1308
- );
1350
+ let h = d(n), m = h(n);
1309
1351
  return {
1310
1352
  c() {
1311
- t = P("div"), e = P("div"), r = P("casino-tournaments-thumbnail"), i = D(), _ && _.c(), o = D(), b && b.c(), s = D(), l = P("div"), F && F.c(), c = D(), E && E.c(), h = D(), z && z.c(), u(
1353
+ t = k("div"), e = k("div"), r = k("casino-tournaments-thumbnail"), i = j(), m.c(), u(
1312
1354
  r,
1313
1355
  "session",
1314
1356
  /*session*/
@@ -1398,218 +1440,213 @@ function ur(n) {
1398
1440
  "keepbrowsercontext",
1399
1441
  /*keepbrowsercontext*/
1400
1442
  n[9]
1401
- ), u(r, "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*/
1443
+ ), u(r, "exportparts", "Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing"), p(e, "class", o = "TournamentCard " + /*maxwidth*/
1402
1444
  (n[6] ? "CardMaxWidth" : "") + /*fullsize*/
1403
1445
  (n[7] ? "CardFullSize" : "") + " " + /*isChanging*/
1404
- (n[32] ? "elementToFadeOut" : "elementToFadeIn")), d(e, "part", g = "TournamentCard " + /*maxwidth*/
1446
+ (n[32] ? "elementToFadeOut" : "elementToFadeIn")), p(e, "part", s = "TournamentCard " + /*maxwidth*/
1405
1447
  (n[6] ? "CardMaxWidth" : "") + /*fullsize*/
1406
1448
  (n[7] ? "CardFullSize" : "") + " " + /*isChanging*/
1407
1449
  (n[32] ? "elementToFadeOut" : "elementToFadeIn") + " " + /*isChanging*/
1408
- (n[32] ? "elementToFadeOut" : "elementToFadeIn")), d(t, "class", j = `${/*isLoading*/
1450
+ (n[32] ? "elementToFadeOut" : "elementToFadeIn")), p(t, "class", l = `${/*isLoading*/
1409
1451
  n[16] ? "Loading" : ""}`);
1410
1452
  },
1411
- m(f, p) {
1412
- v(f, t, p), w(t, e), w(e, r), w(e, i), _ && _.m(e, null), w(e, o), b && b.m(e, null), w(e, s), w(e, l), F && F.m(l, null), w(e, c), E && E.m(e, null), w(e, h), z && z.m(e, null), n[53](t);
1453
+ m(f, c) {
1454
+ b(f, t, c), v(t, e), v(e, r), v(e, i), m.m(e, null), n[52](t);
1413
1455
  },
1414
- p(f, p) {
1415
- p[0] & /*session*/
1456
+ p(f, c) {
1457
+ c[0] & /*session*/
1416
1458
  1 && u(
1417
1459
  r,
1418
1460
  "session",
1419
1461
  /*session*/
1420
1462
  f[0]
1421
- ), p[0] & /*userid*/
1463
+ ), c[0] & /*userid*/
1422
1464
  2 && u(
1423
1465
  r,
1424
1466
  "userid",
1425
1467
  /*userid*/
1426
1468
  f[1]
1427
- ), p[0] & /*title*/
1469
+ ), c[0] & /*title*/
1428
1470
  2097152 && u(
1429
1471
  r,
1430
1472
  "title",
1431
1473
  /*title*/
1432
1474
  f[21]
1433
- ), p[0] & /*status*/
1475
+ ), c[0] & /*status*/
1434
1476
  16777216 && u(
1435
1477
  r,
1436
1478
  "status",
1437
1479
  /*status*/
1438
1480
  f[24]
1439
- ), p[0] & /*startdate*/
1481
+ ), c[0] & /*startdate*/
1440
1482
  4194304 && u(
1441
1483
  r,
1442
1484
  "startdate",
1443
1485
  /*startdate*/
1444
1486
  f[22]
1445
- ), p[0] & /*tourid*/
1487
+ ), c[0] & /*tourid*/
1446
1488
  33554432 && u(
1447
1489
  r,
1448
1490
  "tourid",
1449
1491
  /*tourid*/
1450
1492
  f[25]
1451
- ), p[0] & /*scorecriteria*/
1493
+ ), c[0] & /*scorecriteria*/
1452
1494
  268435456 && u(
1453
1495
  r,
1454
1496
  "scorecriteria",
1455
1497
  /*scorecriteria*/
1456
1498
  f[28]
1457
- ), p[0] & /*minbetcount*/
1499
+ ), c[0] & /*minbetcount*/
1458
1500
  536870912 && u(
1459
1501
  r,
1460
1502
  "minbetcount",
1461
1503
  /*minbetcount*/
1462
1504
  f[29]
1463
- ), p[0] & /*thumbnail*/
1505
+ ), c[0] & /*thumbnail*/
1464
1506
  67108864 && u(
1465
1507
  r,
1466
1508
  "thumbnail",
1467
1509
  /*thumbnail*/
1468
1510
  f[26]
1469
- ), p[0] & /*showenrolled*/
1511
+ ), c[0] & /*showenrolled*/
1470
1512
  32 && u(
1471
1513
  r,
1472
1514
  "showenrolled",
1473
1515
  /*showenrolled*/
1474
1516
  f[5]
1475
- ), p[1] & /*gameurl*/
1517
+ ), c[1] & /*gameurl*/
1476
1518
  1 && u(
1477
1519
  r,
1478
1520
  "gameurl",
1479
1521
  /*gameurl*/
1480
1522
  f[31]
1481
- ), p[0] & /*mbsource*/
1523
+ ), c[0] & /*mbsource*/
1482
1524
  8192 && u(
1483
1525
  r,
1484
1526
  "mbsource",
1485
1527
  /*mbsource*/
1486
1528
  f[13]
1487
- ), p[0] & /*userenrolled*/
1529
+ ), c[0] & /*userenrolled*/
1488
1530
  134217728 && u(
1489
1531
  r,
1490
1532
  "userenrolled",
1491
1533
  /*userenrolled*/
1492
1534
  f[27]
1493
- ), p[0] & /*clientstyling*/
1535
+ ), c[0] & /*clientstyling*/
1494
1536
  1024 && u(
1495
1537
  r,
1496
1538
  "clientstyling",
1497
1539
  /*clientstyling*/
1498
1540
  f[10]
1499
- ), p[0] & /*clientstylingurl*/
1541
+ ), c[0] & /*clientstylingurl*/
1500
1542
  2048 && u(
1501
1543
  r,
1502
1544
  "clientstylingurl",
1503
1545
  /*clientstylingurl*/
1504
1546
  f[11]
1505
- ), p[0] & /*translationurl*/
1547
+ ), c[0] & /*translationurl*/
1506
1548
  4096 && u(
1507
1549
  r,
1508
1550
  "translationurl",
1509
1551
  /*translationurl*/
1510
1552
  f[12]
1511
- ), p[0] & /*lang*/
1553
+ ), c[0] & /*lang*/
1512
1554
  256 && u(
1513
1555
  r,
1514
1556
  "lang",
1515
1557
  /*lang*/
1516
1558
  f[8]
1517
- ), p[0] & /*keepbrowsercontext*/
1559
+ ), c[0] & /*keepbrowsercontext*/
1518
1560
  512 && u(
1519
1561
  r,
1520
1562
  "keepbrowsercontext",
1521
1563
  /*keepbrowsercontext*/
1522
1564
  f[9]
1523
- ), /*isLoading*/
1524
- f[16] ? _ || (_ = Ke(), _.c(), _.m(e, o)) : _ && (_.d(1), _ = null), /*isLoggedIn*/
1525
- f[15] ? b ? b.p(f, p) : (b = Ve(f), b.c(), b.m(e, s)) : b && (b.d(1), b = null), O === (O = T(f)) && F ? F.p(f, p) : (F && F.d(1), F = O && O(f), F && (F.c(), F.m(l, null))), /*errorJoin*/
1526
- f[18] || /*errorJoinConcurrently*/
1527
- f[20] ? E ? E.p(f, p) : (E = $e(f), E.c(), E.m(e, h)) : E && (E.d(1), E = null), /*showslider*/
1528
- f[4] == "true" ? z ? z.p(f, p) : (z = et(f), z.c(), z.m(e, null)) : z && (z.d(1), z = null), p[0] & /*maxwidth, fullsize*/
1529
- 192 | p[1] & /*isChanging*/
1530
- 2 && m !== (m = "TournamentCard " + /*maxwidth*/
1565
+ ), h === (h = d(f)) && m ? m.p(f, c) : (m.d(1), m = h(f), m && (m.c(), m.m(e, null))), c[0] & /*maxwidth, fullsize*/
1566
+ 192 | c[1] & /*isChanging*/
1567
+ 2 && o !== (o = "TournamentCard " + /*maxwidth*/
1531
1568
  (f[6] ? "CardMaxWidth" : "") + /*fullsize*/
1532
1569
  (f[7] ? "CardFullSize" : "") + " " + /*isChanging*/
1533
- (f[32] ? "elementToFadeOut" : "elementToFadeIn")) && d(e, "class", m), p[0] & /*maxwidth, fullsize*/
1534
- 192 | p[1] & /*isChanging*/
1535
- 2 && g !== (g = "TournamentCard " + /*maxwidth*/
1570
+ (f[32] ? "elementToFadeOut" : "elementToFadeIn")) && p(e, "class", o), c[0] & /*maxwidth, fullsize*/
1571
+ 192 | c[1] & /*isChanging*/
1572
+ 2 && s !== (s = "TournamentCard " + /*maxwidth*/
1536
1573
  (f[6] ? "CardMaxWidth" : "") + /*fullsize*/
1537
1574
  (f[7] ? "CardFullSize" : "") + " " + /*isChanging*/
1538
1575
  (f[32] ? "elementToFadeOut" : "elementToFadeIn") + " " + /*isChanging*/
1539
- (f[32] ? "elementToFadeOut" : "elementToFadeIn")) && d(e, "part", g), p[0] & /*isLoading*/
1540
- 65536 && j !== (j = `${/*isLoading*/
1541
- f[16] ? "Loading" : ""}`) && d(t, "class", j);
1576
+ (f[32] ? "elementToFadeOut" : "elementToFadeIn")) && p(e, "part", s), c[0] & /*isLoading*/
1577
+ 65536 && l !== (l = `${/*isLoading*/
1578
+ f[16] ? "Loading" : ""}`) && p(t, "class", l);
1542
1579
  },
1543
- i: pe,
1544
- o: pe,
1580
+ i: re,
1581
+ o: re,
1545
1582
  d(f) {
1546
- f && y(t), _ && _.d(), b && b.d(), F && F.d(), E && E.d(), z && z.d(), n[53](null);
1583
+ f && g(t), m.d(), n[52](null);
1547
1584
  }
1548
1585
  };
1549
1586
  }
1550
- function cr(n, t, e) {
1587
+ function dr(n, t, e) {
1551
1588
  let r;
1552
- Pt(n, At, (a) => e(33, r = a));
1553
- 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: _ = "" } = t, { lang: b = "" } = t, { loginevent: T = "" } = t, { registerevent: O = "" } = 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, { mbsource: X } = t, A, J = !1, Z = "", W = !0, ke = window.navigator.userAgent, Q = !1, $ = !1, Se = "There was an error while trying to join the tournament", oe = !1, se, Te, Fe, H, x, Ee, ae, je, ze, Pe = [], le = [], Ce = "#", ue, ee = !1;
1589
+ zt(n, Mt, (a) => e(33, r = a));
1590
+ let { session: i = "" } = t, { userid: o = "" } = t, { tournamenturl: s = "" } = t, { touridx: l } = t, { endpoint: d = "" } = t, { showdetails: h = "" } = t, { showslider: m = "" } = t, { showenrolled: f = "" } = t, { maxwidth: c = "" } = t, { fullsize: w = "" } = t, { lang: z = "" } = t, { loginevent: S = "" } = t, { registerevent: J = "" } = t, { loginurl: W = "" } = t, { registerurl: H = "" } = t, { currency: ie = "" } = t, { keepbrowsercontext: ke = "false" } = t, { clientstyling: q = "" } = t, { clientstylingurl: G = "" } = t, { translationurl: N = "" } = t, { tournamentinfo: Y } = t, { mbsource: K } = t, P, D = !1, V = "", L = !0, Se = window.navigator.userAgent, X = !1, Z = !1, Te = "There was an error while trying to join the tournament", oe = !1, se, Fe, Ee, I, E, je, le, ze, Pe, Be = [], ae = [], Ce = "#", Q = !1;
1554
1591
  $t({ withLocale: "en", translations: {} });
1555
1592
  const ct = () => {
1556
- fetch(K).then((k) => k.json()).then((k) => {
1557
- Object.keys(k).forEach((C) => {
1558
- Ne(C, k[C]);
1593
+ fetch(N).then((y) => y.json()).then((y) => {
1594
+ Object.keys(y).forEach((F) => {
1595
+ Ke(F, y[F]);
1559
1596
  });
1560
- }).catch((k) => {
1561
- console.log(k);
1597
+ }).catch((y) => {
1598
+ console.log(y);
1562
1599
  });
1563
1600
  };
1564
- Object.keys(Ye).forEach((a) => {
1565
- Ne(a, Ye[a]);
1601
+ Object.keys(Ve).forEach((a) => {
1602
+ Ke(a, Ve[a]);
1566
1603
  });
1567
- const Be = (a) => {
1568
- ft(a), fe(a), Le(this, x);
1604
+ const xe = (a) => {
1605
+ ft(a), ce(a), Ie(this, E);
1569
1606
  }, Oe = (a) => {
1570
- if (a.data && a.data.type == "UserSessionID" && (e(15, J = !0), Z = a.data.session), a.data.type == "UpdateTournamentView") {
1571
- let k = a.data.tournamentData;
1572
- if (x && x != k.id)
1607
+ if (a.data && a.data.type == "UserSessionID" && (e(15, D = !0), V = a.data.session), a.data.type == "UpdateTournamentView") {
1608
+ let y = a.data.tournamentData;
1609
+ if (E && E != y.id)
1573
1610
  return;
1574
- Be(k);
1611
+ xe(y);
1575
1612
  }
1576
1613
  if (a.data && a.data.type == `UpdateSingleTournament_${l}`) {
1577
- let k = a.data.tournamentData, C = l < 4 ? l * 100 : Math.random() * 300 + 300;
1578
- e(32, ee = l == 1), setTimeout(
1614
+ let y = a.data.tournamentData, F = l < 4 ? l * 100 : Math.random() * 300 + 300;
1615
+ e(32, Q = l == 1), setTimeout(
1579
1616
  () => {
1580
- e(32, ee = !0), e(25, x = k.id), Be(k);
1617
+ e(32, Q = !0), e(25, E = y.id), xe(y);
1581
1618
  },
1582
- C
1619
+ F
1583
1620
  ), setTimeout(
1584
1621
  () => {
1585
- e(32, ee = !1);
1622
+ e(32, Q = !1);
1586
1623
  },
1587
- C + 200
1624
+ F + 200
1588
1625
  );
1589
1626
  }
1590
1627
  }, ft = (a) => {
1591
- a.state != H && (e(24, H = a.state), window.postMessage(
1628
+ a.state != I && (e(24, I = a.state), window.postMessage(
1592
1629
  {
1593
- type: `TournamentStatus_${x}`,
1594
- status: H
1630
+ type: `TournamentStatus_${E}`,
1631
+ status: I
1595
1632
  },
1596
1633
  window.location.href
1597
1634
  ));
1598
- }, xe = () => {
1599
- T && (window.postMessage({ type: T, transition: "Login" }, window.location.href), typeof gtag == "function" && gtag("event", "OpenLoginModal", {
1635
+ }, Ae = () => {
1636
+ S && (window.postMessage({ type: S, transition: "Login" }, window.location.href), typeof gtag == "function" && gtag("event", "OpenLoginModal", {
1600
1637
  context: "TournamentsThumbnailController"
1601
- })), F && (window.location = F);
1638
+ })), W && (window.location = W);
1602
1639
  }, De = () => {
1603
- O && (window.postMessage(
1640
+ J && (window.postMessage(
1604
1641
  {
1605
- type: O,
1642
+ type: J,
1606
1643
  transition: "Register"
1607
1644
  },
1608
1645
  window.location.href
1609
1646
  ), typeof gtag == "function" && gtag("event", "OpenRegisterModal", {
1610
1647
  context: "TournamentsThumbnailController"
1611
- })), E && (window.location = E);
1612
- }, ce = (a) => {
1648
+ })), H && (window.location = H);
1649
+ }, ue = (a) => {
1613
1650
  window.postMessage(
1614
1651
  {
1615
1652
  type: "TournamentDetailsClicked",
@@ -1618,150 +1655,149 @@ function cr(n, t, e) {
1618
1655
  },
1619
1656
  window.location.href
1620
1657
  );
1621
- }, Ae = async (a, k) => {
1622
- e(18, $ = !1), e(20, oe = !1), window.postMessage(
1658
+ }, Le = (a, y) => de(this, null, function* () {
1659
+ var Re;
1660
+ e(18, Z = !1), e(20, oe = !1), window.postMessage(
1623
1661
  {
1624
1662
  type: "TournamentJoinRequest",
1625
1663
  tournamentId: a
1626
1664
  },
1627
1665
  window.location.href
1628
- ), e(17, Q = !0);
1629
- let C = new URL(`${c}/v1/bonus/claim`), te = new Headers(), U = {};
1630
- C.searchParams.append("language", b), C.searchParams.append("platform", Ge(ke)), te.append("Content-Type", "application/json"), te.append("X-SessionID", Z), k && k.length >= 1 && (U = {
1631
- language: b,
1632
- bonusCode: k[0].code,
1633
- currency: z,
1666
+ ), e(17, X = !0);
1667
+ let F = new URL(`${d}/v1/bonus/claim`), $ = new Headers(), A = {};
1668
+ F.searchParams.append("language", z), F.searchParams.append("platform", Ye(Se)), $.append("Content-Type", "application/json"), $.append("X-SessionID", V), y && y.length >= 1 && (A = {
1669
+ language: z,
1670
+ bonusCode: y[0].code,
1671
+ currency: ie,
1634
1672
  type: "tournament"
1635
1673
  });
1636
- let _t = {
1674
+ let vt = {
1637
1675
  method: "PUT",
1638
- headers: te,
1639
- body: JSON.stringify(U)
1676
+ headers: $,
1677
+ body: JSON.stringify(A)
1640
1678
  };
1641
- const Ie = () => {
1642
- e(17, Q = !1), e(27, ae = !0);
1643
- }, de = (B) => {
1644
- e(17, Q = !1), B && e(19, Se = B), e(18, $ = !0);
1645
- }, q = await (async () => {
1646
- let B;
1679
+ const Me = () => {
1680
+ e(17, X = !1), e(27, le = !0);
1681
+ }, fe = (T) => {
1682
+ e(17, X = !1), T && e(19, Te = T), e(18, Z = !0);
1683
+ }, M = yield de(this, null, function* () {
1684
+ let T;
1647
1685
  try {
1648
- B = await fetch(C, _t), B = await B.json();
1649
- } catch {
1650
- de();
1686
+ T = yield fetch(F, vt), T = yield T.json();
1687
+ } catch (hr) {
1688
+ fe();
1651
1689
  }
1652
- return B;
1653
- })();
1654
- if (q)
1655
- if (q.success == !0)
1656
- Ie();
1657
- else if (q.errorMessage.match("VersionMismatchException")) {
1658
- let B;
1659
- B = await fetch(`${c}/tournaments/${x}`, { headers: { "X-SessionID": i } }), B = await B.json(), B?.item?.playerEnrolled ? Ie() : (de(q.errorMessage), e(20, oe = !0), e(18, $ = !1));
1690
+ return T;
1691
+ });
1692
+ if (M)
1693
+ if (M.success == !0)
1694
+ Me();
1695
+ else if (M.errorMessage.match("VersionMismatchException")) {
1696
+ let T;
1697
+ T = yield fetch(`${d}/tournaments/${E}`, { headers: { "X-SessionID": i } }), T = yield T.json(), (Re = T == null ? void 0 : T.item) != null && Re.playerEnrolled ? Me() : (fe(M.errorMessage), e(20, oe = !0), e(18, Z = !1));
1660
1698
  } else
1661
- de(q.errorMessage);
1662
- }, Le = (a, k) => {
1699
+ fe(M.errorMessage);
1700
+ }), Ie = (a, y) => {
1663
1701
  window.postMessage(
1664
1702
  {
1665
- type: `TournamentPrizes_${k}`,
1666
- prizes: Pe
1703
+ type: `TournamentPrizes_${y}`,
1704
+ prizes: Be
1667
1705
  },
1668
1706
  window.location.href
1669
1707
  );
1670
- }, fe = (a) => {
1671
- a && (e(21, se = a.nameOrTitle || ""), e(22, Te = a.startTime), e(23, Fe = a.endTime), e(24, H = a.state), e(25, x = a.id), e(26, Ee = a.thumbnail), e(27, ae = a.playerEnrolled === "true" || a.playerEnrolled == !0 || !1), e(28, je = a.scoreCriteria), e(29, ze = a.minBetCount), Pe = a.prizes, e(30, le = a.wallets || []), e(31, Ce = a.termsUrl || "#"));
1708
+ }, ce = (a) => {
1709
+ a && (e(21, se = a.nameOrTitle || ""), e(22, Fe = a.startTime), e(23, Ee = a.endTime), e(24, I = a.state), e(25, E = a.id), e(26, je = a.thumbnail), e(27, le = a.playerEnrolled === "true" || a.playerEnrolled == !0 || !1), e(28, ze = a.scoreCriteria), e(29, Pe = a.minBetCount), Be = a.prizes, e(30, ae = a.wallets || []), e(31, Ce = a.termsUrl || "#"));
1672
1710
  }, dt = (a) => {
1673
- e(16, W = !0);
1674
- let k = new URL(a), C = new Headers();
1675
- k.searchParams.append("language", b), k.searchParams.append("platform", Ge(ke)), J && C.append("X-SessionID", Z), fetch(k, { method: "GET", headers: C }).then((U) => U.json()).then((U) => {
1676
- fe(U.item);
1711
+ e(16, L = !0);
1712
+ let y = new URL(a), F = new Headers();
1713
+ y.searchParams.append("language", z), y.searchParams.append("platform", Ye(Se)), D && F.append("X-SessionID", V), fetch(y, { method: "GET", headers: F }).then((A) => A.json()).then((A) => {
1714
+ ce(A.item);
1677
1715
  }).finally(() => {
1678
- e(16, W = !1);
1716
+ e(16, L = !1);
1679
1717
  });
1680
1718
  }, mt = () => {
1681
- i.length > 0 && i != "false" ? (Z = i, e(15, J = !0)) : e(15, J = !1);
1719
+ e(15, D = (i == null ? void 0 : i.length) > 10), D && (V = i);
1682
1720
  }, ht = () => {
1683
- if (V) {
1684
- fe(V);
1721
+ if (Y) {
1722
+ ce(Y);
1685
1723
  return;
1686
1724
  }
1687
- e(16, W = !0), dt(s);
1725
+ e(16, L = !0), dt(s);
1688
1726
  };
1689
- Ct(() => (e(16, W = !se), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", Oe, !1), () => {
1727
+ Pt(() => (e(16, L = !se), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", Oe, !1), () => {
1690
1728
  window.removeEventListener("message", Oe);
1691
1729
  }));
1692
- const pt = () => xe(), gt = () => De(), bt = () => ce(x), wt = () => Ae(x, le), yt = () => ce(x);
1693
- function vt(a) {
1730
+ const pt = () => Ae(), gt = () => De(), bt = () => ue(E), wt = () => Le(E, ae), yt = () => ue(E);
1731
+ function _t(a) {
1694
1732
  Bt[a ? "unshift" : "push"](() => {
1695
- A = a, e(14, A);
1733
+ P = a, e(14, P);
1696
1734
  });
1697
1735
  }
1698
1736
  return n.$$set = (a) => {
1699
- "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(39, l = a.touridx), "endpoint" in a && e(40, 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, _ = a.fullsize), "lang" in a && e(8, b = a.lang), "loginevent" in a && e(41, T = a.loginevent), "registerevent" in a && e(42, O = a.registerevent), "loginurl" in a && e(43, F = a.loginurl), "registerurl" in a && e(44, E = a.registerurl), "currency" in a && e(45, z = a.currency), "keepbrowsercontext" in a && e(9, f = a.keepbrowsercontext), "clientstyling" in a && e(10, p = a.clientstyling), "clientstylingurl" in a && e(11, Y = a.clientstylingurl), "translationurl" in a && e(12, K = a.translationurl), "tournamentinfo" in a && e(46, V = a.tournamentinfo), "mbsource" in a && e(13, X = a.mbsource);
1737
+ "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(39, l = a.touridx), "endpoint" in a && e(40, d = a.endpoint), "showdetails" in a && e(3, h = a.showdetails), "showslider" in a && e(4, m = a.showslider), "showenrolled" in a && e(5, f = a.showenrolled), "maxwidth" in a && e(6, c = a.maxwidth), "fullsize" in a && e(7, w = a.fullsize), "lang" in a && e(8, z = a.lang), "loginevent" in a && e(41, S = a.loginevent), "registerevent" in a && e(42, J = a.registerevent), "loginurl" in a && e(43, W = a.loginurl), "registerurl" in a && e(44, H = a.registerurl), "currency" in a && e(45, ie = a.currency), "keepbrowsercontext" in a && e(9, ke = a.keepbrowsercontext), "clientstyling" in a && e(10, q = a.clientstyling), "clientstylingurl" in a && e(11, G = a.clientstylingurl), "translationurl" in a && e(12, N = a.translationurl), "tournamentinfo" in a && e(46, Y = a.tournamentinfo), "mbsource" in a && e(13, K = a.mbsource);
1700
1738
  }, n.$$.update = () => {
1701
1739
  n.$$.dirty[0] & /*lang*/
1702
- 256 && b && er(b), n.$$.dirty[0] & /*translationurl*/
1703
- 4096 && K && ct(), n.$$.dirty[0] & /*session*/
1740
+ 256 && z && er(z), n.$$.dirty[0] & /*translationurl*/
1741
+ 4096 && N && ct(), n.$$.dirty[0] & /*session*/
1704
1742
  1 && i && mt(), n.$$.dirty[0] & /*tournamenturl, lang*/
1705
- 260 && e(47, ue = s && b), n.$$.dirty[1] & /*initialParameters*/
1706
- 65536 && ue && ht(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1707
- 17408 && p && A && Lt(A, p), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1708
- 18432 && Y && A && It(A, Y), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
1709
- 24576 && X && A && Mt(A, `${X}.Style`);
1743
+ 260 && s && z && ht(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1744
+ 17408 && q && P && At(P, q), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1745
+ 18432 && G && P && Dt(P, G), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
1746
+ 24576 && K && P && Lt(P, `${K}.Style`);
1710
1747
  }, [
1711
1748
  i,
1712
1749
  o,
1713
1750
  s,
1714
1751
  h,
1715
1752
  m,
1716
- g,
1717
- j,
1718
- _,
1719
- b,
1720
1753
  f,
1721
- p,
1722
- Y,
1754
+ c,
1755
+ w,
1756
+ z,
1757
+ ke,
1758
+ q,
1759
+ G,
1760
+ N,
1723
1761
  K,
1762
+ P,
1763
+ D,
1764
+ L,
1724
1765
  X,
1725
- A,
1726
- J,
1727
- W,
1728
- Q,
1729
- $,
1730
- Se,
1766
+ Z,
1767
+ Te,
1731
1768
  oe,
1732
1769
  se,
1733
- Te,
1734
1770
  Fe,
1735
- H,
1736
- x,
1737
1771
  Ee,
1738
- ae,
1772
+ I,
1773
+ E,
1739
1774
  je,
1740
- ze,
1741
1775
  le,
1776
+ ze,
1777
+ Pe,
1778
+ ae,
1742
1779
  Ce,
1743
- ee,
1780
+ Q,
1744
1781
  r,
1745
- xe,
1746
- De,
1747
- ce,
1748
1782
  Ae,
1783
+ De,
1784
+ ue,
1749
1785
  Le,
1786
+ Ie,
1750
1787
  l,
1751
- c,
1752
- T,
1753
- O,
1754
- F,
1755
- E,
1756
- z,
1757
- V,
1758
- ue,
1788
+ d,
1789
+ S,
1790
+ J,
1791
+ W,
1792
+ H,
1793
+ ie,
1794
+ Y,
1759
1795
  pt,
1760
1796
  gt,
1761
1797
  bt,
1762
1798
  wt,
1763
1799
  yt,
1764
- vt
1800
+ _t
1765
1801
  ];
1766
1802
  }
1767
1803
  class ut extends Tt {
@@ -1769,8 +1805,8 @@ class ut extends Tt {
1769
1805
  super(), Ft(
1770
1806
  this,
1771
1807
  t,
1772
- cr,
1773
- ur,
1808
+ dr,
1809
+ fr,
1774
1810
  Et,
1775
1811
  {
1776
1812
  session: 0,
@@ -1804,141 +1840,141 @@ class ut extends Tt {
1804
1840
  return this.$$.ctx[0];
1805
1841
  }
1806
1842
  set session(t) {
1807
- this.$$set({ session: t }), S();
1843
+ this.$$set({ session: t }), _();
1808
1844
  }
1809
1845
  get userid() {
1810
1846
  return this.$$.ctx[1];
1811
1847
  }
1812
1848
  set userid(t) {
1813
- this.$$set({ userid: t }), S();
1849
+ this.$$set({ userid: t }), _();
1814
1850
  }
1815
1851
  get tournamenturl() {
1816
1852
  return this.$$.ctx[2];
1817
1853
  }
1818
1854
  set tournamenturl(t) {
1819
- this.$$set({ tournamenturl: t }), S();
1855
+ this.$$set({ tournamenturl: t }), _();
1820
1856
  }
1821
1857
  get touridx() {
1822
1858
  return this.$$.ctx[39];
1823
1859
  }
1824
1860
  set touridx(t) {
1825
- this.$$set({ touridx: t }), S();
1861
+ this.$$set({ touridx: t }), _();
1826
1862
  }
1827
1863
  get endpoint() {
1828
1864
  return this.$$.ctx[40];
1829
1865
  }
1830
1866
  set endpoint(t) {
1831
- this.$$set({ endpoint: t }), S();
1867
+ this.$$set({ endpoint: t }), _();
1832
1868
  }
1833
1869
  get showdetails() {
1834
1870
  return this.$$.ctx[3];
1835
1871
  }
1836
1872
  set showdetails(t) {
1837
- this.$$set({ showdetails: t }), S();
1873
+ this.$$set({ showdetails: t }), _();
1838
1874
  }
1839
1875
  get showslider() {
1840
1876
  return this.$$.ctx[4];
1841
1877
  }
1842
1878
  set showslider(t) {
1843
- this.$$set({ showslider: t }), S();
1879
+ this.$$set({ showslider: t }), _();
1844
1880
  }
1845
1881
  get showenrolled() {
1846
1882
  return this.$$.ctx[5];
1847
1883
  }
1848
1884
  set showenrolled(t) {
1849
- this.$$set({ showenrolled: t }), S();
1885
+ this.$$set({ showenrolled: t }), _();
1850
1886
  }
1851
1887
  get maxwidth() {
1852
1888
  return this.$$.ctx[6];
1853
1889
  }
1854
1890
  set maxwidth(t) {
1855
- this.$$set({ maxwidth: t }), S();
1891
+ this.$$set({ maxwidth: t }), _();
1856
1892
  }
1857
1893
  get fullsize() {
1858
1894
  return this.$$.ctx[7];
1859
1895
  }
1860
1896
  set fullsize(t) {
1861
- this.$$set({ fullsize: t }), S();
1897
+ this.$$set({ fullsize: t }), _();
1862
1898
  }
1863
1899
  get lang() {
1864
1900
  return this.$$.ctx[8];
1865
1901
  }
1866
1902
  set lang(t) {
1867
- this.$$set({ lang: t }), S();
1903
+ this.$$set({ lang: t }), _();
1868
1904
  }
1869
1905
  get loginevent() {
1870
1906
  return this.$$.ctx[41];
1871
1907
  }
1872
1908
  set loginevent(t) {
1873
- this.$$set({ loginevent: t }), S();
1909
+ this.$$set({ loginevent: t }), _();
1874
1910
  }
1875
1911
  get registerevent() {
1876
1912
  return this.$$.ctx[42];
1877
1913
  }
1878
1914
  set registerevent(t) {
1879
- this.$$set({ registerevent: t }), S();
1915
+ this.$$set({ registerevent: t }), _();
1880
1916
  }
1881
1917
  get loginurl() {
1882
1918
  return this.$$.ctx[43];
1883
1919
  }
1884
1920
  set loginurl(t) {
1885
- this.$$set({ loginurl: t }), S();
1921
+ this.$$set({ loginurl: t }), _();
1886
1922
  }
1887
1923
  get registerurl() {
1888
1924
  return this.$$.ctx[44];
1889
1925
  }
1890
1926
  set registerurl(t) {
1891
- this.$$set({ registerurl: t }), S();
1927
+ this.$$set({ registerurl: t }), _();
1892
1928
  }
1893
1929
  get currency() {
1894
1930
  return this.$$.ctx[45];
1895
1931
  }
1896
1932
  set currency(t) {
1897
- this.$$set({ currency: t }), S();
1933
+ this.$$set({ currency: t }), _();
1898
1934
  }
1899
1935
  get keepbrowsercontext() {
1900
1936
  return this.$$.ctx[9];
1901
1937
  }
1902
1938
  set keepbrowsercontext(t) {
1903
- this.$$set({ keepbrowsercontext: t }), S();
1939
+ this.$$set({ keepbrowsercontext: t }), _();
1904
1940
  }
1905
1941
  get clientstyling() {
1906
1942
  return this.$$.ctx[10];
1907
1943
  }
1908
1944
  set clientstyling(t) {
1909
- this.$$set({ clientstyling: t }), S();
1945
+ this.$$set({ clientstyling: t }), _();
1910
1946
  }
1911
1947
  get clientstylingurl() {
1912
1948
  return this.$$.ctx[11];
1913
1949
  }
1914
1950
  set clientstylingurl(t) {
1915
- this.$$set({ clientstylingurl: t }), S();
1951
+ this.$$set({ clientstylingurl: t }), _();
1916
1952
  }
1917
1953
  get translationurl() {
1918
1954
  return this.$$.ctx[12];
1919
1955
  }
1920
1956
  set translationurl(t) {
1921
- this.$$set({ translationurl: t }), S();
1957
+ this.$$set({ translationurl: t }), _();
1922
1958
  }
1923
1959
  get tournamentinfo() {
1924
1960
  return this.$$.ctx[46];
1925
1961
  }
1926
1962
  set tournamentinfo(t) {
1927
- this.$$set({ tournamentinfo: t }), S();
1963
+ this.$$set({ tournamentinfo: t }), _();
1928
1964
  }
1929
1965
  get mbsource() {
1930
1966
  return this.$$.ctx[13];
1931
1967
  }
1932
1968
  set mbsource(t) {
1933
- this.$$set({ mbsource: t }), S();
1969
+ this.$$set({ mbsource: t }), _();
1934
1970
  }
1935
1971
  }
1936
- jt(ut, { session: {}, userid: {}, tournamenturl: {}, touridx: {}, endpoint: {}, showdetails: {}, showslider: {}, showenrolled: {}, maxwidth: {}, fullsize: {}, lang: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tournamentinfo: {}, mbsource: {} }, [], [], !0);
1937
- const hr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1972
+ It(ut, { session: {}, userid: {}, tournamenturl: {}, touridx: {}, endpoint: {}, showdetails: {}, showslider: {}, showenrolled: {}, maxwidth: {}, fullsize: {}, lang: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tournamentinfo: {}, mbsource: {} }, [], [], !0);
1973
+ const br = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1938
1974
  __proto__: null,
1939
1975
  default: ut
1940
1976
  }, Symbol.toStringTag, { value: "Module" }));
1941
1977
  export {
1942
- hr as C,
1943
- Ge as g
1978
+ br as C,
1979
+ Ye as g
1944
1980
  };