@everymatrix/casino-tournaments-thumbnail-controller 1.86.12 → 1.86.20

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