@everymatrix/casino-tournaments-list-controller 1.45.0 → 1.45.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 (24) hide show
  1. package/components/{CasinoTournamentsListController-DKdmeWUn.js → CasinoTournamentsListController-DQkRGglO.js} +205 -205
  2. package/components/{CasinoTournamentsListController-BI700b_r.cjs → CasinoTournamentsListController-Dxc2MrGE.cjs} +5 -5
  3. package/components/CasinoTournamentsThumbnail-F3yd6zuc.cjs +4 -0
  4. package/components/{CasinoTournamentsThumbnail-DvqVgpqK.js → CasinoTournamentsThumbnail-rgNkt8jX.js} +188 -188
  5. package/components/CasinoTournamentsThumbnailController-Btof54Ze.js +1881 -0
  6. package/components/CasinoTournamentsThumbnailController-DT2N9cxC.cjs +3 -0
  7. package/components/CasinoTournamentsThumbnailDuration-C36qRcBp.js +495 -0
  8. package/components/CasinoTournamentsThumbnailDuration-CeJ__224.cjs +1 -0
  9. package/components/CasinoTournamentsThumbnailGamesSlider--nbq1N9x.js +439 -0
  10. package/components/CasinoTournamentsThumbnailGamesSlider-a0sQ72y8.cjs +1 -0
  11. package/components/CasinoTournamentsThumbnailPrizes-CyENln5i.cjs +1 -0
  12. package/components/CasinoTournamentsThumbnailPrizes-e1up8aDE.js +310 -0
  13. package/es2015/casino-tournaments-list-controller.cjs +1 -1
  14. package/es2015/casino-tournaments-list-controller.js +1 -1
  15. package/package.json +2 -2
  16. package/components/CasinoTournamentsThumbnail-BiHKMblV.cjs +0 -4
  17. package/components/CasinoTournamentsThumbnailController-B9Itmkhr.cjs +0 -3
  18. package/components/CasinoTournamentsThumbnailController-tU-U1qDq.js +0 -1881
  19. package/components/CasinoTournamentsThumbnailDuration-BKtOkvAC.cjs +0 -1
  20. package/components/CasinoTournamentsThumbnailDuration-DFBCO700.js +0 -495
  21. package/components/CasinoTournamentsThumbnailGamesSlider-BJ6olJeN.js +0 -439
  22. package/components/CasinoTournamentsThumbnailGamesSlider-Ba6b2okX.cjs +0 -1
  23. package/components/CasinoTournamentsThumbnailPrizes-BO1L1Nff.js +0 -310
  24. package/components/CasinoTournamentsThumbnailPrizes-DgXBrfnZ.cjs +0 -1
@@ -0,0 +1,1881 @@
1
+ var fe = (r, t, e) => new Promise((n, i) => {
2
+ var o = (f) => {
3
+ try {
4
+ l(e.next(f));
5
+ } catch (h) {
6
+ i(h);
7
+ }
8
+ }, s = (f) => {
9
+ try {
10
+ l(e.throw(f));
11
+ } catch (h) {
12
+ i(h);
13
+ }
14
+ }, l = (f) => f.done ? n(f.value) : Promise.resolve(f.value).then(o, s);
15
+ l((e = e.apply(r, t)).next());
16
+ });
17
+ import { _ as me, z as he, A as pe, B as W, $ as Le, C as Ft, a as Et, S as Ct, i as jt, f as S, c as zt, s as Bt, b as Pt, e as E, h as k, n as ge, l as T, m as Ot, o as Dt, w as It, d as B, D as u, g as m, j as _, p as At, r as Mt, t as O, k as D, y as xt, u as J, q as tt, v as Lt, E as A } from "./CasinoTournamentsListController-DQkRGglO.js";
18
+ function P(r) {
19
+ return typeof r == "function";
20
+ }
21
+ function rt(r) {
22
+ var t = function(n) {
23
+ Error.call(n), n.stack = new Error().stack;
24
+ }, e = r(t);
25
+ return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
26
+ }
27
+ var ce = rt(function(r) {
28
+ return function(e) {
29
+ r(this), this.message = e ? e.length + ` errors occurred during unsubscription:
30
+ ` + e.map(function(n, i) {
31
+ return i + 1 + ") " + n.toString();
32
+ }).join(`
33
+ `) : "", this.name = "UnsubscriptionError", this.errors = e;
34
+ };
35
+ });
36
+ function be(r, t) {
37
+ if (r) {
38
+ var e = r.indexOf(t);
39
+ 0 <= e && r.splice(e, 1);
40
+ }
41
+ }
42
+ var te = function() {
43
+ function r(t) {
44
+ this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
45
+ }
46
+ return r.prototype.unsubscribe = function() {
47
+ var t, e, n, i, o;
48
+ if (!this.closed) {
49
+ this.closed = !0;
50
+ var s = this._parentage;
51
+ if (s)
52
+ if (this._parentage = null, Array.isArray(s))
53
+ try {
54
+ for (var l = me(s), f = l.next(); !f.done; f = l.next()) {
55
+ var h = f.value;
56
+ h.remove(this);
57
+ }
58
+ } catch (g) {
59
+ t = { error: g };
60
+ } finally {
61
+ try {
62
+ f && !f.done && (e = l.return) && e.call(l);
63
+ } finally {
64
+ if (t) throw t.error;
65
+ }
66
+ }
67
+ else
68
+ s.remove(this);
69
+ var d = this.initialTeardown;
70
+ if (P(d))
71
+ try {
72
+ d();
73
+ } catch (g) {
74
+ o = g instanceof ce ? g.errors : [g];
75
+ }
76
+ var w = this._finalizers;
77
+ if (w) {
78
+ this._finalizers = null;
79
+ try {
80
+ for (var F = me(w), y = F.next(); !y.done; y = F.next()) {
81
+ var v = y.value;
82
+ try {
83
+ Re(v);
84
+ } catch (g) {
85
+ o = o != null ? o : [], g instanceof ce ? o = he(he([], pe(o)), pe(g.errors)) : o.push(g);
86
+ }
87
+ }
88
+ } catch (g) {
89
+ n = { error: g };
90
+ } finally {
91
+ try {
92
+ y && !y.done && (i = F.return) && i.call(F);
93
+ } finally {
94
+ if (n) throw n.error;
95
+ }
96
+ }
97
+ }
98
+ if (o)
99
+ throw new ce(o);
100
+ }
101
+ }, r.prototype.add = function(t) {
102
+ var e;
103
+ if (t && t !== this)
104
+ if (this.closed)
105
+ Re(t);
106
+ else {
107
+ if (t instanceof r) {
108
+ if (t.closed || t._hasParent(this))
109
+ return;
110
+ t._addParent(this);
111
+ }
112
+ (this._finalizers = (e = this._finalizers) !== null && e !== void 0 ? e : []).push(t);
113
+ }
114
+ }, r.prototype._hasParent = function(t) {
115
+ var e = this._parentage;
116
+ return e === t || Array.isArray(e) && e.includes(t);
117
+ }, r.prototype._addParent = function(t) {
118
+ var e = this._parentage;
119
+ this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
120
+ }, r.prototype._removeParent = function(t) {
121
+ var e = this._parentage;
122
+ e === t ? this._parentage = null : Array.isArray(e) && be(e, t);
123
+ }, r.prototype.remove = function(t) {
124
+ var e = this._finalizers;
125
+ e && be(e, t), t instanceof r && t._removeParent(this);
126
+ }, r.EMPTY = function() {
127
+ var t = new r();
128
+ return t.closed = !0, t;
129
+ }(), r;
130
+ }(), nt = te.EMPTY;
131
+ function it(r) {
132
+ return r instanceof te || r && "closed" in r && P(r.remove) && P(r.add) && P(r.unsubscribe);
133
+ }
134
+ function Re(r) {
135
+ P(r) ? r() : r.unsubscribe();
136
+ }
137
+ var ot = {
138
+ onUnhandledError: null,
139
+ onStoppedNotification: null,
140
+ Promise: void 0,
141
+ useDeprecatedSynchronousErrorHandling: !1,
142
+ useDeprecatedNextContext: !1
143
+ }, st = {
144
+ setTimeout: function(r, t) {
145
+ for (var e = [], n = 2; n < arguments.length; n++)
146
+ e[n - 2] = arguments[n];
147
+ return setTimeout.apply(void 0, he([r, t], pe(e)));
148
+ },
149
+ clearTimeout: function(r) {
150
+ var t = st.delegate;
151
+ return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(r);
152
+ },
153
+ delegate: void 0
154
+ };
155
+ function Rt(r) {
156
+ st.setTimeout(function() {
157
+ throw r;
158
+ });
159
+ }
160
+ function Ue() {
161
+ }
162
+ function ee(r) {
163
+ r();
164
+ }
165
+ var at = function(r) {
166
+ W(t, r);
167
+ function t(e) {
168
+ var n = r.call(this) || this;
169
+ return n.isStopped = !1, e ? (n.destination = e, it(e) && e.add(n)) : n.destination = Ht, n;
170
+ }
171
+ return t.create = function(e, n, i) {
172
+ return new we(e, n, i);
173
+ }, t.prototype.next = function(e) {
174
+ this.isStopped || this._next(e);
175
+ }, t.prototype.error = function(e) {
176
+ this.isStopped || (this.isStopped = !0, this._error(e));
177
+ }, t.prototype.complete = function() {
178
+ this.isStopped || (this.isStopped = !0, this._complete());
179
+ }, t.prototype.unsubscribe = function() {
180
+ this.closed || (this.isStopped = !0, r.prototype.unsubscribe.call(this), this.destination = null);
181
+ }, t.prototype._next = function(e) {
182
+ this.destination.next(e);
183
+ }, t.prototype._error = function(e) {
184
+ try {
185
+ this.destination.error(e);
186
+ } finally {
187
+ this.unsubscribe();
188
+ }
189
+ }, t.prototype._complete = function() {
190
+ try {
191
+ this.destination.complete();
192
+ } finally {
193
+ this.unsubscribe();
194
+ }
195
+ }, t;
196
+ }(te), Ut = Function.prototype.bind;
197
+ function de(r, t) {
198
+ return Ut.call(r, t);
199
+ }
200
+ var Jt = function() {
201
+ function r(t) {
202
+ this.partialObserver = t;
203
+ }
204
+ return r.prototype.next = function(t) {
205
+ var e = this.partialObserver;
206
+ if (e.next)
207
+ try {
208
+ e.next(t);
209
+ } catch (n) {
210
+ $(n);
211
+ }
212
+ }, r.prototype.error = function(t) {
213
+ var e = this.partialObserver;
214
+ if (e.error)
215
+ try {
216
+ e.error(t);
217
+ } catch (n) {
218
+ $(n);
219
+ }
220
+ else
221
+ $(t);
222
+ }, r.prototype.complete = function() {
223
+ var t = this.partialObserver;
224
+ if (t.complete)
225
+ try {
226
+ t.complete();
227
+ } catch (e) {
228
+ $(e);
229
+ }
230
+ }, r;
231
+ }(), we = function(r) {
232
+ W(t, r);
233
+ function t(e, n, i) {
234
+ var o = r.call(this) || this, s;
235
+ if (P(e) || !e)
236
+ s = {
237
+ next: e != null ? e : void 0,
238
+ error: n != null ? n : void 0,
239
+ complete: i != null ? i : void 0
240
+ };
241
+ else {
242
+ var l;
243
+ o && ot.useDeprecatedNextContext ? (l = Object.create(e), l.unsubscribe = function() {
244
+ return o.unsubscribe();
245
+ }, s = {
246
+ next: e.next && de(e.next, l),
247
+ error: e.error && de(e.error, l),
248
+ complete: e.complete && de(e.complete, l)
249
+ }) : s = e;
250
+ }
251
+ return o.destination = new Jt(s), o;
252
+ }
253
+ return t;
254
+ }(at);
255
+ function $(r) {
256
+ Rt(r);
257
+ }
258
+ function Wt(r) {
259
+ throw r;
260
+ }
261
+ var Ht = {
262
+ closed: !0,
263
+ next: Ue,
264
+ error: Wt,
265
+ complete: Ue
266
+ }, qt = function() {
267
+ return typeof Symbol == "function" && Symbol.observable || "@@observable";
268
+ }();
269
+ function Gt(r) {
270
+ return r;
271
+ }
272
+ function Yt(r) {
273
+ return r.length === 0 ? Gt : r.length === 1 ? r[0] : function(e) {
274
+ return r.reduce(function(n, i) {
275
+ return i(n);
276
+ }, e);
277
+ };
278
+ }
279
+ var Je = function() {
280
+ function r(t) {
281
+ t && (this._subscribe = t);
282
+ }
283
+ return r.prototype.lift = function(t) {
284
+ var e = new r();
285
+ return e.source = this, e.operator = t, e;
286
+ }, r.prototype.subscribe = function(t, e, n) {
287
+ var i = this, o = Vt(t) ? t : new we(t, e, n);
288
+ return ee(function() {
289
+ var s = i, l = s.operator, f = s.source;
290
+ o.add(l ? l.call(o, f) : f ? i._subscribe(o) : i._trySubscribe(o));
291
+ }), o;
292
+ }, r.prototype._trySubscribe = function(t) {
293
+ try {
294
+ return this._subscribe(t);
295
+ } catch (e) {
296
+ t.error(e);
297
+ }
298
+ }, r.prototype.forEach = function(t, e) {
299
+ var n = this;
300
+ return e = We(e), new e(function(i, o) {
301
+ var s = new we({
302
+ next: function(l) {
303
+ try {
304
+ t(l);
305
+ } catch (f) {
306
+ o(f), s.unsubscribe();
307
+ }
308
+ },
309
+ error: o,
310
+ complete: i
311
+ });
312
+ n.subscribe(s);
313
+ });
314
+ }, r.prototype._subscribe = function(t) {
315
+ var e;
316
+ return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
317
+ }, r.prototype[qt] = function() {
318
+ return this;
319
+ }, r.prototype.pipe = function() {
320
+ for (var t = [], e = 0; e < arguments.length; e++)
321
+ t[e] = arguments[e];
322
+ return Yt(t)(this);
323
+ }, r.prototype.toPromise = function(t) {
324
+ var e = this;
325
+ return t = We(t), new t(function(n, i) {
326
+ var o;
327
+ e.subscribe(function(s) {
328
+ return o = s;
329
+ }, function(s) {
330
+ return i(s);
331
+ }, function() {
332
+ return n(o);
333
+ });
334
+ });
335
+ }, r.create = function(t) {
336
+ return new r(t);
337
+ }, r;
338
+ }();
339
+ function We(r) {
340
+ var t;
341
+ return (t = r != null ? r : ot.Promise) !== null && t !== void 0 ? t : Promise;
342
+ }
343
+ function Kt(r) {
344
+ return r && P(r.next) && P(r.error) && P(r.complete);
345
+ }
346
+ function Vt(r) {
347
+ return r && r instanceof at || Kt(r) && it(r);
348
+ }
349
+ var Xt = rt(function(r) {
350
+ return function() {
351
+ r(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
352
+ };
353
+ }), lt = function(r) {
354
+ W(t, r);
355
+ function t() {
356
+ var e = r.call(this) || this;
357
+ return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
358
+ }
359
+ return t.prototype.lift = function(e) {
360
+ var n = new He(this, this);
361
+ return n.operator = e, n;
362
+ }, t.prototype._throwIfClosed = function() {
363
+ if (this.closed)
364
+ throw new Xt();
365
+ }, t.prototype.next = function(e) {
366
+ var n = this;
367
+ ee(function() {
368
+ var i, o;
369
+ if (n._throwIfClosed(), !n.isStopped) {
370
+ n.currentObservers || (n.currentObservers = Array.from(n.observers));
371
+ try {
372
+ for (var s = me(n.currentObservers), l = s.next(); !l.done; l = s.next()) {
373
+ var f = l.value;
374
+ f.next(e);
375
+ }
376
+ } catch (h) {
377
+ i = { error: h };
378
+ } finally {
379
+ try {
380
+ l && !l.done && (o = s.return) && o.call(s);
381
+ } finally {
382
+ if (i) throw i.error;
383
+ }
384
+ }
385
+ }
386
+ });
387
+ }, t.prototype.error = function(e) {
388
+ var n = this;
389
+ ee(function() {
390
+ if (n._throwIfClosed(), !n.isStopped) {
391
+ n.hasError = n.isStopped = !0, n.thrownError = e;
392
+ for (var i = n.observers; i.length; )
393
+ i.shift().error(e);
394
+ }
395
+ });
396
+ }, t.prototype.complete = function() {
397
+ var e = this;
398
+ ee(function() {
399
+ if (e._throwIfClosed(), !e.isStopped) {
400
+ e.isStopped = !0;
401
+ for (var n = e.observers; n.length; )
402
+ n.shift().complete();
403
+ }
404
+ });
405
+ }, t.prototype.unsubscribe = function() {
406
+ this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
407
+ }, Object.defineProperty(t.prototype, "observed", {
408
+ get: function() {
409
+ var e;
410
+ return ((e = this.observers) === null || e === void 0 ? void 0 : e.length) > 0;
411
+ },
412
+ enumerable: !1,
413
+ configurable: !0
414
+ }), t.prototype._trySubscribe = function(e) {
415
+ return this._throwIfClosed(), r.prototype._trySubscribe.call(this, e);
416
+ }, t.prototype._subscribe = function(e) {
417
+ return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
418
+ }, t.prototype._innerSubscribe = function(e) {
419
+ var n = this, i = this, o = i.hasError, s = i.isStopped, l = i.observers;
420
+ return o || s ? nt : (this.currentObservers = null, l.push(e), new te(function() {
421
+ n.currentObservers = null, be(l, e);
422
+ }));
423
+ }, t.prototype._checkFinalizedStatuses = function(e) {
424
+ var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
425
+ i ? e.error(o) : s && e.complete();
426
+ }, t.prototype.asObservable = function() {
427
+ var e = new Je();
428
+ return e.source = this, e;
429
+ }, t.create = function(e, n) {
430
+ return new He(e, n);
431
+ }, t;
432
+ }(Je), He = function(r) {
433
+ W(t, r);
434
+ function t(e, n) {
435
+ var i = r.call(this) || this;
436
+ return i.destination = e, i.source = n, i;
437
+ }
438
+ return t.prototype.next = function(e) {
439
+ var n, i;
440
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, e);
441
+ }, t.prototype.error = function(e) {
442
+ var n, i;
443
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, e);
444
+ }, t.prototype.complete = function() {
445
+ var e, n;
446
+ (n = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || n === void 0 || n.call(e);
447
+ }, t.prototype._subscribe = function(e) {
448
+ var n, i;
449
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(e)) !== null && i !== void 0 ? i : nt;
450
+ }, t;
451
+ }(lt), ut = {
452
+ now: function() {
453
+ return (ut.delegate || Date).now();
454
+ },
455
+ delegate: void 0
456
+ }, Nt = function(r) {
457
+ W(t, r);
458
+ function t(e, n, i) {
459
+ e === void 0 && (e = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = ut);
460
+ var o = r.call(this) || this;
461
+ return o._bufferSize = e, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, e), o._windowTime = Math.max(1, n), o;
462
+ }
463
+ return t.prototype.next = function(e) {
464
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, l = n._timestampProvider, f = n._windowTime;
465
+ i || (o.push(e), !s && o.push(l.now() + f)), this._trimBuffer(), r.prototype.next.call(this, e);
466
+ }, t.prototype._subscribe = function(e) {
467
+ this._throwIfClosed(), this._trimBuffer();
468
+ for (var n = this._innerSubscribe(e), i = this, o = i._infiniteTimeWindow, s = i._buffer, l = s.slice(), f = 0; f < l.length && !e.closed; f += o ? 1 : 2)
469
+ e.next(l[f]);
470
+ return this._checkFinalizedStatuses(e), n;
471
+ }, t.prototype._trimBuffer = function() {
472
+ var e = this, n = e._bufferSize, i = e._timestampProvider, o = e._buffer, s = e._infiniteTimeWindow, l = (s ? 1 : 2) * n;
473
+ if (n < 1 / 0 && l < o.length && o.splice(0, o.length - l), !s) {
474
+ for (var f = i.now(), h = 0, d = 1; d < o.length && o[d] <= f; d += 2)
475
+ h = d;
476
+ h && o.splice(0, h + 1);
477
+ }
478
+ }, t;
479
+ }(lt);
480
+ const qe = [], Ge = {}, Zt = (r, t = 0) => {
481
+ if (qe.indexOf(r) == -1) {
482
+ const e = new Nt(t);
483
+ Ge[r] = e, qe.push(r);
484
+ }
485
+ return Ge[r];
486
+ };
487
+ window.emWidgets = { topic: Zt };
488
+ const Ye = (r) => r.toLowerCase().match(/android/i) ? "Android" : r.toLowerCase().match(/iphone/i) ? "iPhone" : r.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
489
+ function Qt({ withLocale: r, translations: t }) {
490
+ Le.subscribe((e) => {
491
+ e == null && (Ft.set(t), Le.set(r));
492
+ });
493
+ }
494
+ function Ke(r, t) {
495
+ Et(r, t);
496
+ }
497
+ const Ve = {
498
+ en: {
499
+ login: "Log in",
500
+ register: "Register",
501
+ details: "Details",
502
+ enrolled: "Enrolled",
503
+ join: "Join",
504
+ joinerror: "An error occurred while registering in the tournament, please try again."
505
+ },
506
+ hr: {
507
+ login: "Prijava",
508
+ register: "Registracija",
509
+ details: "Detalji",
510
+ enrolled: "Upisan",
511
+ join: "Pridruži se",
512
+ joinerror: "Došlo je do pogreške prilikom registracije na turnir, molimo pokušajte ponovno."
513
+ },
514
+ "zh-hk": {
515
+ login: "登錄",
516
+ register: "登記",
517
+ details: "細節",
518
+ enrolled: "已註冊",
519
+ join: "加入",
520
+ joinerror: "加入錦標賽時出錯,請重試"
521
+ },
522
+ fr: {
523
+ login: "Connexion",
524
+ register: "Enregistre",
525
+ details: "Détails",
526
+ enrolled: "Inscrits",
527
+ join: "Rejoignez",
528
+ joinerror: "Une erreur s'est produite lors de l'inscription au tournoi"
529
+ },
530
+ ro: {
531
+ login: "Autentificare",
532
+ register: "Înregistrare",
533
+ details: "Detalii",
534
+ enrolled: "Înscris",
535
+ join: "Participă",
536
+ joinerror: "A apărut o eroare la înregistrarea în turneu, te rugăm să încerci din nou."
537
+ },
538
+ tr: {
539
+ login: "Giriş yapmak",
540
+ register: "Kayıt olmak",
541
+ details: "Detaylar",
542
+ enrolled: "Katıldın",
543
+ join: "Katılmak",
544
+ joinerror: "Turnuvaya kayıt olurken bir hata oluştu, lütfen tekrar deneyin."
545
+ },
546
+ el: {
547
+ login: "Είσοδος",
548
+ register: "Εγγραφή",
549
+ details: "Λεπτομέρειες",
550
+ enrolled: "Εγγεγραμμένος",
551
+ join: "Συμμετοχή",
552
+ joinerror: "Παρουσιάστηκε σφάλμα κατά τη διαδικασία εγγραφής στο τουρνουά, παρακαλούμε δοκιμάστε ξανά."
553
+ },
554
+ es: {
555
+ login: "Iniciar sesión",
556
+ register: "Regístrate",
557
+ details: "Detalles",
558
+ enrolled: "Participando",
559
+ join: "Unirse",
560
+ joinerror: "Ha ocurrido un error mientras se registra en el Torneo"
561
+ },
562
+ hu: {
563
+ login: "Bejelentkezés",
564
+ register: "Regisztráció",
565
+ details: "Adatok",
566
+ enrolled: "Feliratkozott",
567
+ join: "Csatlakozás",
568
+ joinerror: "Hiba történt a versenyre való regisztráció során, kérjük próbálja újra."
569
+ },
570
+ pt: {
571
+ login: "Entrar",
572
+ register: "Registro",
573
+ details: "Detalhes",
574
+ enrolled: "Inscrito",
575
+ join: "Junte-se",
576
+ joinerror: "Ocorreu um erro ao entrar no torneio"
577
+ }
578
+ };
579
+ if (typeof window != "undefined") {
580
+ let r = function(t) {
581
+ return function(...e) {
582
+ try {
583
+ return t.apply(this, e);
584
+ } catch (n) {
585
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
586
+ return !1;
587
+ throw n;
588
+ }
589
+ };
590
+ };
591
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-rgNkt8jX.js").then(({ default: t }) => {
592
+ !customElements.get("casino-tournaments-thumbnail") && customElements.define("casino-tournaments-thumbnail", t.element);
593
+ });
594
+ }
595
+ if (typeof window != "undefined") {
596
+ let r = function(t) {
597
+ return function(...e) {
598
+ try {
599
+ return t.apply(this, e);
600
+ } catch (n) {
601
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
602
+ return !1;
603
+ throw n;
604
+ }
605
+ };
606
+ };
607
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-C36qRcBp.js").then(({ default: t }) => {
608
+ !customElements.get("casino-tournaments-thumbnail-duration") && customElements.define(
609
+ "casino-tournaments-thumbnail-duration",
610
+ t.element
611
+ );
612
+ });
613
+ }
614
+ if (typeof window != "undefined") {
615
+ let r = function(t) {
616
+ return function(...e) {
617
+ try {
618
+ return t.apply(this, e);
619
+ } catch (n) {
620
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
621
+ return !1;
622
+ throw n;
623
+ }
624
+ };
625
+ };
626
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-e1up8aDE.js").then(({ default: t }) => {
627
+ !customElements.get("casino-tournaments-thumbnail-prizes") && customElements.define("casino-tournaments-thumbnail-prizes", t.element);
628
+ });
629
+ }
630
+ if (typeof window != "undefined") {
631
+ let r = function(t) {
632
+ return function(...e) {
633
+ try {
634
+ return t.apply(this, e);
635
+ } catch (n) {
636
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
637
+ return !1;
638
+ throw n;
639
+ }
640
+ };
641
+ };
642
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider--nbq1N9x.js").then(
643
+ ({ default: t }) => {
644
+ !customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
645
+ "casino-tournaments-thumbnail-games-slider",
646
+ t.element
647
+ );
648
+ }
649
+ );
650
+ }
651
+ function $t(r) {
652
+ Pt(r, "svelte-e8vjpc", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}button{cursor:pointer}.TournamentCard{position:relative;background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-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(--emfe-w-color-contrast, #07072A);width:50%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.LoginButton:hover{opacity:0.7}.RegisterButton{background:var(--emfe-w-color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emfe-w-color-green, #48952a);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.RegisterButton:hover{opacity:0.7}.DetailsButton{background:var(--emfe-w-color-contrast, #07072A);width:40%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsButton:hover{opacity:0.7}.DetailsLargeButton{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsLargeButton:hover{opacity:0.7}.EnrolledButton{background:var(--emfe-w-color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emfe-w-color-green, #48952a);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.JoinButton{background:var(--emfe-w-color-green, #48952a);width:60%;height:50px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);border:solid var(--emfe-w-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(--emfe-w-color-contrast, #07072A);border:1px solid var(--emfe-w-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(--emfe-w-color-contrast, #07072A), 0) 46%, rgba(var(--emfe-w-color-contrast, #07072A), 0.35) 50%, rgba(var(--emfe-w-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(--emfe-w-color-gray-100, #E6E6E6)}.ph-row .big,.ph-row.big div{height:20px}.ph-row .empty{background-color:rgba(var(--emfe-w-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(--emfe-w-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(--emfe-w-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(--emfe-w-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}');
653
+ }
654
+ function er(r) {
655
+ let t, e, n, i, o, s, l, f, h, d = (
656
+ /*isLoggedIn*/
657
+ r[14] && Xe(r)
658
+ );
659
+ function w(c, p) {
660
+ if (!/*isLoggedIn*/
661
+ c[14]) return ir;
662
+ if (
663
+ /*status*/
664
+ c[23] != "Closed" && /*status*/
665
+ c[23] != "Closing"
666
+ ) return nr;
667
+ if (
668
+ /*showdetails*/
669
+ c[3] == "true"
670
+ ) return rr;
671
+ }
672
+ let F = w(r), y = F && F(r), v = (
673
+ /*errorJoin*/
674
+ (r[17] || /*errorJoinConcurrently*/
675
+ r[19]) && $e(r)
676
+ ), g = (
677
+ /*showslider*/
678
+ r[4] == "true" && et(r)
679
+ );
680
+ return {
681
+ c() {
682
+ t = E("div"), e = E("casino-tournaments-thumbnail"), n = B(), d && d.c(), i = B(), o = E("div"), y && y.c(), s = B(), v && v.c(), l = B(), g && g.c(), u(
683
+ e,
684
+ "session",
685
+ /*session*/
686
+ r[0]
687
+ ), u(
688
+ e,
689
+ "userid",
690
+ /*userid*/
691
+ r[1]
692
+ ), u(
693
+ e,
694
+ "title",
695
+ /*title*/
696
+ r[20]
697
+ ), u(
698
+ e,
699
+ "status",
700
+ /*status*/
701
+ r[23]
702
+ ), u(
703
+ e,
704
+ "startdate",
705
+ /*startdate*/
706
+ r[21]
707
+ ), u(
708
+ e,
709
+ "tourid",
710
+ /*tourid*/
711
+ r[24]
712
+ ), u(
713
+ e,
714
+ "scorecriteria",
715
+ /*scorecriteria*/
716
+ r[27]
717
+ ), u(
718
+ e,
719
+ "minbetcount",
720
+ /*minbetcount*/
721
+ r[28]
722
+ ), u(
723
+ e,
724
+ "thumbnail",
725
+ /*thumbnail*/
726
+ r[25]
727
+ ), u(
728
+ e,
729
+ "showenrolled",
730
+ /*showenrolled*/
731
+ r[5]
732
+ ), u(
733
+ e,
734
+ "gameurl",
735
+ /*gameurl*/
736
+ r[30]
737
+ ), u(
738
+ e,
739
+ "userenrolled",
740
+ /*userenrolled*/
741
+ r[26]
742
+ ), u(
743
+ e,
744
+ "clientstyling",
745
+ /*clientstyling*/
746
+ r[10]
747
+ ), u(
748
+ e,
749
+ "clientstylingurl",
750
+ /*clientstylingurl*/
751
+ r[11]
752
+ ), u(
753
+ e,
754
+ "translationurl",
755
+ /*translationurl*/
756
+ r[12]
757
+ ), u(
758
+ e,
759
+ "lang",
760
+ /*lang*/
761
+ r[8]
762
+ ), u(
763
+ e,
764
+ "keepbrowsercontext",
765
+ /*keepbrowsercontext*/
766
+ r[9]
767
+ ), u(e, "exportparts", "Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing"), m(o, "class", "TournamentButtons"), m(o, "part", "TournamentButtons"), m(t, "class", f = "TournamentCard " + /*maxwidth*/
768
+ (r[6] ? "CardMaxWidth" : "") + /*fullsize*/
769
+ (r[7] ? "CardFullSize" : "") + " " + /*isChanging*/
770
+ (r[31] ? "elementToFadeOut" : "elementToFadeIn")), m(t, "part", h = "TournamentCard " + /*maxwidth*/
771
+ (r[6] ? "CardMaxWidth" : "") + /*fullsize*/
772
+ (r[7] ? "CardFullSize" : "") + " " + /*isChanging*/
773
+ (r[31] ? "elementToFadeOut" : "elementToFadeIn") + " " + /*isChanging*/
774
+ (r[31] ? "elementToFadeOut" : "elementToFadeIn"));
775
+ },
776
+ m(c, p) {
777
+ k(c, t, p), _(t, e), _(t, n), d && d.m(t, null), _(t, i), _(t, o), y && y.m(o, null), _(t, s), v && v.m(t, null), _(t, l), g && g.m(t, null);
778
+ },
779
+ p(c, p) {
780
+ p[0] & /*session*/
781
+ 1 && u(
782
+ e,
783
+ "session",
784
+ /*session*/
785
+ c[0]
786
+ ), p[0] & /*userid*/
787
+ 2 && u(
788
+ e,
789
+ "userid",
790
+ /*userid*/
791
+ c[1]
792
+ ), p[0] & /*title*/
793
+ 1048576 && u(
794
+ e,
795
+ "title",
796
+ /*title*/
797
+ c[20]
798
+ ), p[0] & /*status*/
799
+ 8388608 && u(
800
+ e,
801
+ "status",
802
+ /*status*/
803
+ c[23]
804
+ ), p[0] & /*startdate*/
805
+ 2097152 && u(
806
+ e,
807
+ "startdate",
808
+ /*startdate*/
809
+ c[21]
810
+ ), p[0] & /*tourid*/
811
+ 16777216 && u(
812
+ e,
813
+ "tourid",
814
+ /*tourid*/
815
+ c[24]
816
+ ), p[0] & /*scorecriteria*/
817
+ 134217728 && u(
818
+ e,
819
+ "scorecriteria",
820
+ /*scorecriteria*/
821
+ c[27]
822
+ ), p[0] & /*minbetcount*/
823
+ 268435456 && u(
824
+ e,
825
+ "minbetcount",
826
+ /*minbetcount*/
827
+ c[28]
828
+ ), p[0] & /*thumbnail*/
829
+ 33554432 && u(
830
+ e,
831
+ "thumbnail",
832
+ /*thumbnail*/
833
+ c[25]
834
+ ), p[0] & /*showenrolled*/
835
+ 32 && u(
836
+ e,
837
+ "showenrolled",
838
+ /*showenrolled*/
839
+ c[5]
840
+ ), p[0] & /*gameurl*/
841
+ 1073741824 && u(
842
+ e,
843
+ "gameurl",
844
+ /*gameurl*/
845
+ c[30]
846
+ ), p[0] & /*userenrolled*/
847
+ 67108864 && u(
848
+ e,
849
+ "userenrolled",
850
+ /*userenrolled*/
851
+ c[26]
852
+ ), p[0] & /*clientstyling*/
853
+ 1024 && u(
854
+ e,
855
+ "clientstyling",
856
+ /*clientstyling*/
857
+ c[10]
858
+ ), p[0] & /*clientstylingurl*/
859
+ 2048 && u(
860
+ e,
861
+ "clientstylingurl",
862
+ /*clientstylingurl*/
863
+ c[11]
864
+ ), p[0] & /*translationurl*/
865
+ 4096 && u(
866
+ e,
867
+ "translationurl",
868
+ /*translationurl*/
869
+ c[12]
870
+ ), p[0] & /*lang*/
871
+ 256 && u(
872
+ e,
873
+ "lang",
874
+ /*lang*/
875
+ c[8]
876
+ ), p[0] & /*keepbrowsercontext*/
877
+ 512 && u(
878
+ e,
879
+ "keepbrowsercontext",
880
+ /*keepbrowsercontext*/
881
+ c[9]
882
+ ), /*isLoggedIn*/
883
+ c[14] ? d ? d.p(c, p) : (d = Xe(c), d.c(), d.m(t, i)) : d && (d.d(1), d = null), F === (F = w(c)) && y ? y.p(c, p) : (y && y.d(1), y = F && F(c), y && (y.c(), y.m(o, null))), /*errorJoin*/
884
+ c[17] || /*errorJoinConcurrently*/
885
+ c[19] ? v ? v.p(c, p) : (v = $e(c), v.c(), v.m(t, l)) : v && (v.d(1), v = null), /*showslider*/
886
+ c[4] == "true" ? g ? g.p(c, p) : (g = et(c), g.c(), g.m(t, null)) : g && (g.d(1), g = null), p[0] & /*maxwidth, fullsize*/
887
+ 192 | p[1] & /*isChanging*/
888
+ 1 && f !== (f = "TournamentCard " + /*maxwidth*/
889
+ (c[6] ? "CardMaxWidth" : "") + /*fullsize*/
890
+ (c[7] ? "CardFullSize" : "") + " " + /*isChanging*/
891
+ (c[31] ? "elementToFadeOut" : "elementToFadeIn")) && m(t, "class", f), p[0] & /*maxwidth, fullsize*/
892
+ 192 | p[1] & /*isChanging*/
893
+ 1 && h !== (h = "TournamentCard " + /*maxwidth*/
894
+ (c[6] ? "CardMaxWidth" : "") + /*fullsize*/
895
+ (c[7] ? "CardFullSize" : "") + " " + /*isChanging*/
896
+ (c[31] ? "elementToFadeOut" : "elementToFadeIn") + " " + /*isChanging*/
897
+ (c[31] ? "elementToFadeOut" : "elementToFadeIn")) && m(t, "part", h);
898
+ },
899
+ d(c) {
900
+ c && T(t), d && d.d(), y && y.d(), v && v.d(), g && g.d();
901
+ }
902
+ };
903
+ }
904
+ function tr(r) {
905
+ let t, e, n, i;
906
+ return {
907
+ c() {
908
+ t = E("div"), e = E("div"), e.innerHTML = '<div class="ph-col-12" part="ph-col-12"><div class="ph-picture" part="ph-picture"></div> <div class="ph-row" part="ph-row"><div class="ph-col-6 big" part="ph-col-6 big"></div> <div class="ph-col-4 empty big" part="ph-col-4 empty big"></div> <div class="ph-col-4" part="ph-col-4"></div> <div class="ph-col-8 empty" part="ph-col-8 empty"></div> <div class="ph-col-6" part="ph-col-6"></div> <div class="ph-col-6 empty" part="ph-col-6 empty"></div> <div class="ph-col-12" part="ph-col-12"></div></div></div>', m(e, "class", "ph-item"), m(e, "part", "ph-item"), m(t, "class", n = "TournamentCard " + /*maxwidth*/
909
+ (r[6] ? "CardMaxWidth" : "") + /*fullsize*/
910
+ (r[7] ? "CardFullSize" : "") + " " + /*isChanging*/
911
+ (r[31] ? "elementToFadeOut" : "elementToFadeIn")), m(t, "part", i = "TournamentCard " + /*maxwidth*/
912
+ (r[6] ? "CardMaxWidth" : "") + /*fullsize*/
913
+ (r[7] ? "CardFullSize" : "") + " " + /*isChanging*/
914
+ (r[31] ? "elementToFadeOut" : "elementToFadeIn") + " " + /*isChanging*/
915
+ (r[31] ? "elementToFadeOut" : "elementToFadeIn"));
916
+ },
917
+ m(o, s) {
918
+ k(o, t, s), _(t, e);
919
+ },
920
+ p(o, s) {
921
+ s[0] & /*maxwidth, fullsize*/
922
+ 192 | s[1] & /*isChanging*/
923
+ 1 && n !== (n = "TournamentCard " + /*maxwidth*/
924
+ (o[6] ? "CardMaxWidth" : "") + /*fullsize*/
925
+ (o[7] ? "CardFullSize" : "") + " " + /*isChanging*/
926
+ (o[31] ? "elementToFadeOut" : "elementToFadeIn")) && m(t, "class", n), s[0] & /*maxwidth, fullsize*/
927
+ 192 | s[1] & /*isChanging*/
928
+ 1 && i !== (i = "TournamentCard " + /*maxwidth*/
929
+ (o[6] ? "CardMaxWidth" : "") + /*fullsize*/
930
+ (o[7] ? "CardFullSize" : "") + " " + /*isChanging*/
931
+ (o[31] ? "elementToFadeOut" : "elementToFadeIn") + " " + /*isChanging*/
932
+ (o[31] ? "elementToFadeOut" : "elementToFadeIn")) && m(t, "part", i);
933
+ },
934
+ d(o) {
935
+ o && T(t);
936
+ }
937
+ };
938
+ }
939
+ function Xe(r) {
940
+ let t, e, n = (
941
+ /*tourid*/
942
+ r[24] && Ne(r)
943
+ );
944
+ return {
945
+ c() {
946
+ n && n.c(), t = B(), e = E("casino-tournaments-thumbnail-duration"), u(
947
+ e,
948
+ "clientstyling",
949
+ /*clientstyling*/
950
+ r[10]
951
+ ), u(
952
+ e,
953
+ "clientstylingurl",
954
+ /*clientstylingurl*/
955
+ r[11]
956
+ ), u(
957
+ e,
958
+ "translationurl",
959
+ /*translationurl*/
960
+ r[12]
961
+ ), u(
962
+ e,
963
+ "status",
964
+ /*status*/
965
+ r[23]
966
+ ), u(
967
+ e,
968
+ "startdate",
969
+ /*startdate*/
970
+ r[21]
971
+ ), u(
972
+ e,
973
+ "lang",
974
+ /*lang*/
975
+ r[8]
976
+ ), u(
977
+ e,
978
+ "enddate",
979
+ /*enddate*/
980
+ r[22]
981
+ ), u(e, "exportparts", "TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill");
982
+ },
983
+ m(i, o) {
984
+ n && n.m(i, o), k(i, t, o), k(i, e, o);
985
+ },
986
+ p(i, o) {
987
+ /*tourid*/
988
+ i[24] ? n ? n.p(i, o) : (n = Ne(i), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null), o[0] & /*clientstyling*/
989
+ 1024 && u(
990
+ e,
991
+ "clientstyling",
992
+ /*clientstyling*/
993
+ i[10]
994
+ ), o[0] & /*clientstylingurl*/
995
+ 2048 && u(
996
+ e,
997
+ "clientstylingurl",
998
+ /*clientstylingurl*/
999
+ i[11]
1000
+ ), o[0] & /*translationurl*/
1001
+ 4096 && u(
1002
+ e,
1003
+ "translationurl",
1004
+ /*translationurl*/
1005
+ i[12]
1006
+ ), o[0] & /*status*/
1007
+ 8388608 && u(
1008
+ e,
1009
+ "status",
1010
+ /*status*/
1011
+ i[23]
1012
+ ), o[0] & /*startdate*/
1013
+ 2097152 && u(
1014
+ e,
1015
+ "startdate",
1016
+ /*startdate*/
1017
+ i[21]
1018
+ ), o[0] & /*lang*/
1019
+ 256 && u(
1020
+ e,
1021
+ "lang",
1022
+ /*lang*/
1023
+ i[8]
1024
+ ), o[0] & /*enddate*/
1025
+ 4194304 && u(
1026
+ e,
1027
+ "enddate",
1028
+ /*enddate*/
1029
+ i[22]
1030
+ );
1031
+ },
1032
+ d(i) {
1033
+ i && (T(t), T(e)), n && n.d(i);
1034
+ }
1035
+ };
1036
+ }
1037
+ function Ne(r) {
1038
+ let t, e, n, i;
1039
+ return {
1040
+ c() {
1041
+ t = E("casino-tournaments-thumbnail-prizes"), u(
1042
+ t,
1043
+ "tourid",
1044
+ /*tourid*/
1045
+ r[24]
1046
+ ), u(
1047
+ t,
1048
+ "clientstyling",
1049
+ /*clientstyling*/
1050
+ r[10]
1051
+ ), u(
1052
+ t,
1053
+ "clientstylingurl",
1054
+ /*clientstylingurl*/
1055
+ r[11]
1056
+ ), u(
1057
+ t,
1058
+ "translationurl",
1059
+ /*translationurl*/
1060
+ r[12]
1061
+ ), u(t, "exportparts", "TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank, TournamentPrizesIconSection, TournamentPrizesIconWrapper");
1062
+ },
1063
+ m(o, s) {
1064
+ k(o, t, s), n || (i = At(e = /*sendTournamentPrizes*/
1065
+ r[37].call(
1066
+ null,
1067
+ t,
1068
+ /*tourid*/
1069
+ r[24]
1070
+ )), n = !0);
1071
+ },
1072
+ p(o, s) {
1073
+ s[0] & /*tourid*/
1074
+ 16777216 && u(
1075
+ t,
1076
+ "tourid",
1077
+ /*tourid*/
1078
+ o[24]
1079
+ ), s[0] & /*clientstyling*/
1080
+ 1024 && u(
1081
+ t,
1082
+ "clientstyling",
1083
+ /*clientstyling*/
1084
+ o[10]
1085
+ ), s[0] & /*clientstylingurl*/
1086
+ 2048 && u(
1087
+ t,
1088
+ "clientstylingurl",
1089
+ /*clientstylingurl*/
1090
+ o[11]
1091
+ ), s[0] & /*translationurl*/
1092
+ 4096 && u(
1093
+ t,
1094
+ "translationurl",
1095
+ /*translationurl*/
1096
+ o[12]
1097
+ ), e && Mt(e.update) && s[0] & /*tourid*/
1098
+ 16777216 && e.update.call(
1099
+ null,
1100
+ /*tourid*/
1101
+ o[24]
1102
+ );
1103
+ },
1104
+ d(o) {
1105
+ o && T(t), n = !1, i();
1106
+ }
1107
+ };
1108
+ }
1109
+ function rr(r) {
1110
+ let t, e = (
1111
+ /*$_*/
1112
+ r[32]("details") + ""
1113
+ ), n, i, o;
1114
+ return {
1115
+ c() {
1116
+ t = E("button"), n = O(e), m(t, "class", "DetailsLargeButton"), m(t, "part", "DetailsLargeButton");
1117
+ },
1118
+ m(s, l) {
1119
+ k(s, t, l), _(t, n), i || (o = J(
1120
+ t,
1121
+ "click",
1122
+ /*click_handler_4*/
1123
+ r[51]
1124
+ ), i = !0);
1125
+ },
1126
+ p(s, l) {
1127
+ l[1] & /*$_*/
1128
+ 2 && e !== (e = /*$_*/
1129
+ s[32]("details") + "") && D(n, e);
1130
+ },
1131
+ d(s) {
1132
+ s && T(t), i = !1, o();
1133
+ }
1134
+ };
1135
+ }
1136
+ function nr(r) {
1137
+ let t, e, n = (
1138
+ /*showdetails*/
1139
+ r[3] == "true" && Ze(r)
1140
+ );
1141
+ function i(l, f) {
1142
+ return (
1143
+ /*userenrolled*/
1144
+ l[26] ? sr : or
1145
+ );
1146
+ }
1147
+ let o = i(r), s = o(r);
1148
+ return {
1149
+ c() {
1150
+ n && n.c(), t = B(), s.c(), e = tt();
1151
+ },
1152
+ m(l, f) {
1153
+ n && n.m(l, f), k(l, t, f), s.m(l, f), k(l, e, f);
1154
+ },
1155
+ p(l, f) {
1156
+ /*showdetails*/
1157
+ l[3] == "true" ? n ? n.p(l, f) : (n = Ze(l), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null), o === (o = i(l)) && s ? s.p(l, f) : (s.d(1), s = o(l), s && (s.c(), s.m(e.parentNode, e)));
1158
+ },
1159
+ d(l) {
1160
+ l && (T(t), T(e)), n && n.d(l), s.d(l);
1161
+ }
1162
+ };
1163
+ }
1164
+ function ir(r) {
1165
+ let t, e = (
1166
+ /*$_*/
1167
+ r[32]("login") + ""
1168
+ ), n, i, o, s = (
1169
+ /*$_*/
1170
+ r[32]("register") + ""
1171
+ ), l, f, h;
1172
+ return {
1173
+ c() {
1174
+ t = E("button"), n = O(e), i = B(), o = E("button"), l = O(s), m(t, "class", "LoginButton"), m(t, "part", "LoginButton"), m(o, "class", "RegisterButton"), m(o, "part", "RegisterButton");
1175
+ },
1176
+ m(d, w) {
1177
+ k(d, t, w), _(t, n), k(d, i, w), k(d, o, w), _(o, l), f || (h = [
1178
+ J(
1179
+ t,
1180
+ "click",
1181
+ /*click_handler*/
1182
+ r[47]
1183
+ ),
1184
+ J(
1185
+ o,
1186
+ "click",
1187
+ /*click_handler_1*/
1188
+ r[48]
1189
+ )
1190
+ ], f = !0);
1191
+ },
1192
+ p(d, w) {
1193
+ w[1] & /*$_*/
1194
+ 2 && e !== (e = /*$_*/
1195
+ d[32]("login") + "") && D(n, e), w[1] & /*$_*/
1196
+ 2 && s !== (s = /*$_*/
1197
+ d[32]("register") + "") && D(l, s);
1198
+ },
1199
+ d(d) {
1200
+ d && (T(t), T(i), T(o)), f = !1, Lt(h);
1201
+ }
1202
+ };
1203
+ }
1204
+ function Ze(r) {
1205
+ let t, e = (
1206
+ /*$_*/
1207
+ r[32]("details") + ""
1208
+ ), n, i, o;
1209
+ return {
1210
+ c() {
1211
+ t = E("button"), n = O(e), m(t, "class", "DetailsButton"), m(t, "part", "DetailsButton");
1212
+ },
1213
+ m(s, l) {
1214
+ k(s, t, l), _(t, n), i || (o = J(
1215
+ t,
1216
+ "click",
1217
+ /*click_handler_2*/
1218
+ r[49]
1219
+ ), i = !0);
1220
+ },
1221
+ p(s, l) {
1222
+ l[1] & /*$_*/
1223
+ 2 && e !== (e = /*$_*/
1224
+ s[32]("details") + "") && D(n, e);
1225
+ },
1226
+ d(s) {
1227
+ s && T(t), i = !1, o();
1228
+ }
1229
+ };
1230
+ }
1231
+ function or(r) {
1232
+ let t, e, n, i, o;
1233
+ function s(h, d) {
1234
+ return (
1235
+ /*joinButtonLoading*/
1236
+ h[16] == !0 ? lr : ar
1237
+ );
1238
+ }
1239
+ let l = s(r), f = l(r);
1240
+ return {
1241
+ c() {
1242
+ t = E("button"), f.c(), m(t, "class", e = "JoinButton " + /*fullsize*/
1243
+ (r[7] ? "JoinButtonFullSize" : "")), m(t, "part", n = "JoinButton " + /*fullsize*/
1244
+ (r[7] ? "JoinButtonFullSize" : "")), t.disabled = /*errorJoin*/
1245
+ r[17];
1246
+ },
1247
+ m(h, d) {
1248
+ k(h, t, d), f.m(t, null), i || (o = J(
1249
+ t,
1250
+ "click",
1251
+ /*click_handler_3*/
1252
+ r[50]
1253
+ ), i = !0);
1254
+ },
1255
+ p(h, d) {
1256
+ l === (l = s(h)) && f ? f.p(h, d) : (f.d(1), f = l(h), f && (f.c(), f.m(t, null))), d[0] & /*fullsize*/
1257
+ 128 && e !== (e = "JoinButton " + /*fullsize*/
1258
+ (h[7] ? "JoinButtonFullSize" : "")) && m(t, "class", e), d[0] & /*fullsize*/
1259
+ 128 && n !== (n = "JoinButton " + /*fullsize*/
1260
+ (h[7] ? "JoinButtonFullSize" : "")) && m(t, "part", n), d[0] & /*errorJoin*/
1261
+ 131072 && (t.disabled = /*errorJoin*/
1262
+ h[17]);
1263
+ },
1264
+ d(h) {
1265
+ h && T(t), f.d(), i = !1, o();
1266
+ }
1267
+ };
1268
+ }
1269
+ function sr(r) {
1270
+ let t, e = (
1271
+ /*showdetails*/
1272
+ r[3] == "true" && Qe(r)
1273
+ );
1274
+ return {
1275
+ c() {
1276
+ e && e.c(), t = tt();
1277
+ },
1278
+ m(n, i) {
1279
+ e && e.m(n, i), k(n, t, i);
1280
+ },
1281
+ p(n, i) {
1282
+ /*showdetails*/
1283
+ n[3] == "true" ? e ? e.p(n, i) : (e = Qe(n), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
1284
+ },
1285
+ d(n) {
1286
+ n && T(t), e && e.d(n);
1287
+ }
1288
+ };
1289
+ }
1290
+ function ar(r) {
1291
+ let t, e = (
1292
+ /*$_*/
1293
+ r[32]("join") + ""
1294
+ ), n, i, o, s, l, f, h, d;
1295
+ return {
1296
+ c() {
1297
+ t = E("span"), n = O(e), i = B(), o = A("svg"), s = A("defs"), l = A("style"), f = O(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"), h = A("g"), d = A("path"), m(t, "part", "JoinButtonSpan"), m(d, "class", "a"), m(d, "part", "a JoinButtonSvgA"), m(d, "d", "M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"), m(d, "transform", "translate(26 26) rotate(180)"), m(h, "transform", "translate(26 26) rotate(180)"), m(o, "part", "JoinButtonSvg"), m(o, "xmlns", "http://www.w3.org/2000/svg"), m(o, "width", "26"), m(o, "height", "26"), m(o, "viewBox", "0 0 26 26");
1298
+ },
1299
+ m(w, F) {
1300
+ k(w, t, F), _(t, n), k(w, i, F), k(w, o, F), _(o, s), _(s, l), _(l, f), _(o, h), _(h, d);
1301
+ },
1302
+ p(w, F) {
1303
+ F[1] & /*$_*/
1304
+ 2 && e !== (e = /*$_*/
1305
+ w[32]("join") + "") && D(n, e);
1306
+ },
1307
+ d(w) {
1308
+ w && (T(t), T(i), T(o));
1309
+ }
1310
+ };
1311
+ }
1312
+ function lr(r) {
1313
+ let t, e;
1314
+ return {
1315
+ c() {
1316
+ t = A("svg"), e = A("circle"), m(e, "cx", "20"), m(e, "cy", "20"), m(e, "r", "18"), m(t, "class", "spinner"), m(t, "part", "spinner");
1317
+ },
1318
+ m(n, i) {
1319
+ k(n, t, i), _(t, e);
1320
+ },
1321
+ p: ge,
1322
+ d(n) {
1323
+ n && T(t);
1324
+ }
1325
+ };
1326
+ }
1327
+ function Qe(r) {
1328
+ let t, e = (
1329
+ /*$_*/
1330
+ r[32]("enrolled") + ""
1331
+ ), n;
1332
+ return {
1333
+ c() {
1334
+ t = E("button"), n = O(e), m(t, "class", "EnrolledButton"), m(t, "part", "EnrolledButton"), t.disabled = !0;
1335
+ },
1336
+ m(i, o) {
1337
+ k(i, t, o), _(t, n);
1338
+ },
1339
+ p(i, o) {
1340
+ o[1] & /*$_*/
1341
+ 2 && e !== (e = /*$_*/
1342
+ i[32]("enrolled") + "") && D(n, e);
1343
+ },
1344
+ d(i) {
1345
+ i && T(t);
1346
+ }
1347
+ };
1348
+ }
1349
+ function $e(r) {
1350
+ let t, e = (
1351
+ /*$_*/
1352
+ r[32]("joinerror") + ""
1353
+ ), n, i, o;
1354
+ return {
1355
+ c() {
1356
+ t = E("span"), n = O(e), i = B(), o = O(
1357
+ /*errorJoinText*/
1358
+ r[18]
1359
+ ), m(t, "class", "ErrorText"), m(t, "part", "ErrorText");
1360
+ },
1361
+ m(s, l) {
1362
+ k(s, t, l), _(t, n), _(t, i), _(t, o);
1363
+ },
1364
+ p(s, l) {
1365
+ l[1] & /*$_*/
1366
+ 2 && e !== (e = /*$_*/
1367
+ s[32]("joinerror") + "") && D(n, e), l[0] & /*errorJoinText*/
1368
+ 262144 && D(
1369
+ o,
1370
+ /*errorJoinText*/
1371
+ s[18]
1372
+ );
1373
+ },
1374
+ d(s) {
1375
+ s && T(t);
1376
+ }
1377
+ };
1378
+ }
1379
+ function et(r) {
1380
+ let t;
1381
+ return {
1382
+ c() {
1383
+ t = E("casino-tournaments-thumbnail-games-slider"), u(
1384
+ t,
1385
+ "clientstyling",
1386
+ /*clientstyling*/
1387
+ r[10]
1388
+ ), u(
1389
+ t,
1390
+ "clientstylingurl",
1391
+ /*clientstylingurl*/
1392
+ r[11]
1393
+ ), u(
1394
+ t,
1395
+ "translationurl",
1396
+ /*translationurl*/
1397
+ r[12]
1398
+ ), u(
1399
+ t,
1400
+ "tournamenturl",
1401
+ /*tournamenturl*/
1402
+ r[2]
1403
+ ), u(
1404
+ t,
1405
+ "lang",
1406
+ /*lang*/
1407
+ r[8]
1408
+ ), u(t, "scrollby", "2"), u(t, "exportparts", "TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton");
1409
+ },
1410
+ m(e, n) {
1411
+ k(e, t, n);
1412
+ },
1413
+ p(e, n) {
1414
+ n[0] & /*clientstyling*/
1415
+ 1024 && u(
1416
+ t,
1417
+ "clientstyling",
1418
+ /*clientstyling*/
1419
+ e[10]
1420
+ ), n[0] & /*clientstylingurl*/
1421
+ 2048 && u(
1422
+ t,
1423
+ "clientstylingurl",
1424
+ /*clientstylingurl*/
1425
+ e[11]
1426
+ ), n[0] & /*translationurl*/
1427
+ 4096 && u(
1428
+ t,
1429
+ "translationurl",
1430
+ /*translationurl*/
1431
+ e[12]
1432
+ ), n[0] & /*tournamenturl*/
1433
+ 4 && u(
1434
+ t,
1435
+ "tournamenturl",
1436
+ /*tournamenturl*/
1437
+ e[2]
1438
+ ), n[0] & /*lang*/
1439
+ 256 && u(
1440
+ t,
1441
+ "lang",
1442
+ /*lang*/
1443
+ e[8]
1444
+ );
1445
+ },
1446
+ d(e) {
1447
+ e && T(t);
1448
+ }
1449
+ };
1450
+ }
1451
+ function ur(r) {
1452
+ let t;
1453
+ function e(o, s) {
1454
+ if (
1455
+ /*isLoading*/
1456
+ o[15]
1457
+ ) return tr;
1458
+ if (
1459
+ /*title*/
1460
+ o[20]
1461
+ ) return er;
1462
+ }
1463
+ let n = e(r), i = n && n(r);
1464
+ return {
1465
+ c() {
1466
+ t = E("div"), i && i.c();
1467
+ },
1468
+ m(o, s) {
1469
+ k(o, t, s), i && i.m(t, null), r[52](t);
1470
+ },
1471
+ p(o, s) {
1472
+ n === (n = e(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
1473
+ },
1474
+ i: ge,
1475
+ o: ge,
1476
+ d(o) {
1477
+ o && T(t), i && i.d(), r[52](null);
1478
+ }
1479
+ };
1480
+ }
1481
+ function fr(r, t, e) {
1482
+ let n;
1483
+ Ot(r, xt, (a) => e(32, n = a));
1484
+ let { session: i = "" } = t, { userid: o = "" } = t, { tournamenturl: s = "" } = t, { touridx: l } = t, { endpoint: f = "" } = t, { showdetails: h = "" } = t, { showslider: d = "" } = t, { showenrolled: w = "" } = t, { maxwidth: F = "" } = t, { fullsize: y = "" } = t, { lang: v = "" } = t, { loginevent: g = "" } = t, { registerevent: c = "" } = t, { loginurl: p = "" } = t, { registerurl: H = "" } = t, { currency: re = "" } = t, { keepbrowsercontext: ye = "false" } = t, { clientstyling: q = "" } = t, { clientstylingurl: G = "" } = t, { translationurl: Y = "" } = t, { tournamentinfo: K } = t, I, x = !1, V = "", L = !0, ve = window.navigator.userAgent, X = !1, N = !1, _e = "There was an error while trying to join the tournament", ne = !1, ke, Te, Se, R, z, Fe, ie, Ee, Ce, je = [], oe = [], ze = "#", se, Z = !1;
1485
+ Qt({ withLocale: "en", translations: {} });
1486
+ const ct = () => {
1487
+ fetch(Y).then((b) => b.json()).then((b) => {
1488
+ Object.keys(b).forEach((C) => {
1489
+ Ke(C, b[C]);
1490
+ });
1491
+ }).catch((b) => {
1492
+ console.log(b);
1493
+ });
1494
+ };
1495
+ Object.keys(Ve).forEach((a) => {
1496
+ Ke(a, Ve[a]);
1497
+ });
1498
+ const Be = (a) => {
1499
+ dt(a), le(a), Ae(this, z);
1500
+ }, Pe = (a) => {
1501
+ if (a.data && a.data.type == "UserSessionID" && (e(14, x = !0), V = a.data.session), a.data.type == "UpdateTournamentView") {
1502
+ let b = a.data.tournamentData;
1503
+ if (z && z != b.id)
1504
+ return;
1505
+ Be(b);
1506
+ }
1507
+ if (a.data && a.data.type == `UpdateSingleTournament_${l}`) {
1508
+ let b = a.data.tournamentData, C = l < 4 ? l * 100 : Math.random() * 300 + 300;
1509
+ e(31, Z = l == 1), setTimeout(
1510
+ () => {
1511
+ e(31, Z = !0), e(24, z = b.id), Be(b);
1512
+ },
1513
+ C
1514
+ ), setTimeout(
1515
+ () => {
1516
+ e(31, Z = !1);
1517
+ },
1518
+ C + 200
1519
+ );
1520
+ }
1521
+ }, dt = (a) => {
1522
+ a.state != R && (e(23, R = a.state), window.postMessage(
1523
+ {
1524
+ type: `TournamentStatus_${z}`,
1525
+ status: R
1526
+ },
1527
+ window.location.href
1528
+ ));
1529
+ }, Oe = () => {
1530
+ g && (window.postMessage({ type: g, transition: "Login" }, window.location.href), typeof gtag == "function" && gtag("event", "OpenLoginModal", {
1531
+ context: "TournamentsThumbnailController"
1532
+ })), p && (window.location = p);
1533
+ }, De = () => {
1534
+ c && (window.postMessage(
1535
+ {
1536
+ type: c,
1537
+ transition: "Register"
1538
+ },
1539
+ window.location.href
1540
+ ), typeof gtag == "function" && gtag("event", "OpenRegisterModal", {
1541
+ context: "TournamentsThumbnailController"
1542
+ })), H && (window.location = H);
1543
+ }, ae = (a) => {
1544
+ window.postMessage(
1545
+ {
1546
+ type: "TournamentDetailsClicked",
1547
+ tournamentId: a,
1548
+ showLeaderboard: !0
1549
+ },
1550
+ window.location.href
1551
+ );
1552
+ }, Ie = (a, b) => fe(this, null, function* () {
1553
+ var xe;
1554
+ e(17, N = !1), e(19, ne = !1), window.postMessage(
1555
+ {
1556
+ type: "TournamentJoinRequest",
1557
+ tournamentId: a
1558
+ },
1559
+ window.location.href
1560
+ ), e(16, X = !0);
1561
+ let C = new URL(`${f}/v1/bonus/claim`), Q = new Headers(), M = {};
1562
+ C.searchParams.append("language", v), C.searchParams.append("platform", Ye(ve)), Q.append("Content-Type", "application/json"), Q.append("X-SessionID", V), b && b.length >= 1 && (M = {
1563
+ language: v,
1564
+ bonusCode: b[0].code,
1565
+ currency: re,
1566
+ type: "tournament"
1567
+ });
1568
+ let St = {
1569
+ method: "PUT",
1570
+ headers: Q,
1571
+ body: JSON.stringify(M)
1572
+ };
1573
+ const Me = () => {
1574
+ e(16, X = !1), e(26, ie = !0);
1575
+ }, ue = (j) => {
1576
+ e(16, X = !1), j && e(18, _e = j), e(17, N = !0);
1577
+ }, U = yield fe(this, null, function* () {
1578
+ let j;
1579
+ try {
1580
+ j = yield fetch(C, St), j = yield j.json();
1581
+ } catch (dr) {
1582
+ ue();
1583
+ }
1584
+ return j;
1585
+ });
1586
+ if (U)
1587
+ if (U.success == !0)
1588
+ Me();
1589
+ else if (U.errorMessage.match("VersionMismatchException")) {
1590
+ let j;
1591
+ j = yield fetch(`${f}/tournaments/${z}`, { headers: { "X-SessionID": i } }), j = yield j.json(), (xe = j == null ? void 0 : j.item) != null && xe.playerEnrolled ? Me() : (ue(U.errorMessage), e(19, ne = !0), e(17, N = !1));
1592
+ } else
1593
+ ue(U.errorMessage);
1594
+ }), Ae = (a, b) => {
1595
+ window.postMessage(
1596
+ {
1597
+ type: `TournamentPrizes_${b}`,
1598
+ prizes: je
1599
+ },
1600
+ window.location.href
1601
+ );
1602
+ }, le = (a) => {
1603
+ a && (e(20, ke = a.nameOrTitle || ""), e(21, Te = a.startTime), e(22, Se = a.endTime), e(23, R = a.state), e(24, z = a.id), e(25, Fe = a.thumbnail), e(26, ie = a.playerEnrolled === "true" || a.playerEnrolled == !0 || !1), e(27, Ee = a.scoreCriteria), e(28, Ce = a.minBetCount), je = a.prizes, e(29, oe = a.wallets || []), e(30, ze = a.termsUrl || "#"));
1604
+ }, mt = (a) => {
1605
+ e(15, L = !0);
1606
+ let b = new URL(a), C = new Headers();
1607
+ b.searchParams.append("language", v), b.searchParams.append("platform", Ye(ve)), x && C.append("X-SessionID", V), fetch(b, { method: "GET", headers: C }).then((M) => M.json()).then((M) => {
1608
+ e(15, L = !1), le(M.item);
1609
+ });
1610
+ }, ht = () => {
1611
+ i.length > 0 && i != "false" ? (V = i, e(14, x = !0)) : e(14, x = !1);
1612
+ }, pt = () => {
1613
+ if (K) {
1614
+ le(K);
1615
+ return;
1616
+ }
1617
+ e(15, L = !0), mt(s);
1618
+ }, gt = () => {
1619
+ let a = document.createElement("style");
1620
+ a.innerHTML = q, I.appendChild(a);
1621
+ }, bt = () => {
1622
+ let a = new URL(G), b = document.createElement("style");
1623
+ fetch(a.href).then((C) => C.text()).then((C) => {
1624
+ b.innerHTML = C, setTimeout(
1625
+ () => {
1626
+ I.appendChild(b);
1627
+ },
1628
+ 1
1629
+ ), setTimeout(
1630
+ () => {
1631
+ },
1632
+ 500
1633
+ );
1634
+ });
1635
+ };
1636
+ Dt(() => (e(15, L = !1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", Pe, !1), () => {
1637
+ window.removeEventListener("message", Pe);
1638
+ }));
1639
+ const wt = () => Oe(), yt = () => De(), vt = () => ae(z), _t = () => Ie(z, oe), kt = () => ae(z);
1640
+ function Tt(a) {
1641
+ It[a ? "unshift" : "push"](() => {
1642
+ I = a, e(13, I);
1643
+ });
1644
+ }
1645
+ return r.$$set = (a) => {
1646
+ "session" in a && e(0, i = a.session), "userid" in a && e(1, o = a.userid), "tournamenturl" in a && e(2, s = a.tournamenturl), "touridx" in a && e(38, l = a.touridx), "endpoint" in a && e(39, f = a.endpoint), "showdetails" in a && e(3, h = a.showdetails), "showslider" in a && e(4, d = a.showslider), "showenrolled" in a && e(5, w = a.showenrolled), "maxwidth" in a && e(6, F = a.maxwidth), "fullsize" in a && e(7, y = a.fullsize), "lang" in a && e(8, v = a.lang), "loginevent" in a && e(40, g = a.loginevent), "registerevent" in a && e(41, c = a.registerevent), "loginurl" in a && e(42, p = a.loginurl), "registerurl" in a && e(43, H = a.registerurl), "currency" in a && e(44, re = a.currency), "keepbrowsercontext" in a && e(9, ye = a.keepbrowsercontext), "clientstyling" in a && e(10, q = a.clientstyling), "clientstylingurl" in a && e(11, G = a.clientstylingurl), "translationurl" in a && e(12, Y = a.translationurl), "tournamentinfo" in a && e(45, K = a.tournamentinfo);
1647
+ }, r.$$.update = () => {
1648
+ r.$$.dirty[0] & /*customStylingContainer, clientstyling*/
1649
+ 9216 && I && q && gt(), r.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
1650
+ 10240 && I && G && bt(), r.$$.dirty[0] & /*translationurl*/
1651
+ 4096 && Y && ct(), r.$$.dirty[0] & /*session*/
1652
+ 1 && i && ht(), r.$$.dirty[0] & /*tournamenturl, lang*/
1653
+ 260 && e(46, se = s && v), r.$$.dirty[1] & /*initialParameters*/
1654
+ 32768 && se && pt();
1655
+ }, [
1656
+ i,
1657
+ o,
1658
+ s,
1659
+ h,
1660
+ d,
1661
+ w,
1662
+ F,
1663
+ y,
1664
+ v,
1665
+ ye,
1666
+ q,
1667
+ G,
1668
+ Y,
1669
+ I,
1670
+ x,
1671
+ L,
1672
+ X,
1673
+ N,
1674
+ _e,
1675
+ ne,
1676
+ ke,
1677
+ Te,
1678
+ Se,
1679
+ R,
1680
+ z,
1681
+ Fe,
1682
+ ie,
1683
+ Ee,
1684
+ Ce,
1685
+ oe,
1686
+ ze,
1687
+ Z,
1688
+ n,
1689
+ Oe,
1690
+ De,
1691
+ ae,
1692
+ Ie,
1693
+ Ae,
1694
+ l,
1695
+ f,
1696
+ g,
1697
+ c,
1698
+ p,
1699
+ H,
1700
+ re,
1701
+ K,
1702
+ se,
1703
+ wt,
1704
+ yt,
1705
+ vt,
1706
+ _t,
1707
+ kt,
1708
+ Tt
1709
+ ];
1710
+ }
1711
+ class ft extends Ct {
1712
+ constructor(t) {
1713
+ super(), jt(
1714
+ this,
1715
+ t,
1716
+ fr,
1717
+ ur,
1718
+ Bt,
1719
+ {
1720
+ session: 0,
1721
+ userid: 1,
1722
+ tournamenturl: 2,
1723
+ touridx: 38,
1724
+ endpoint: 39,
1725
+ showdetails: 3,
1726
+ showslider: 4,
1727
+ showenrolled: 5,
1728
+ maxwidth: 6,
1729
+ fullsize: 7,
1730
+ lang: 8,
1731
+ loginevent: 40,
1732
+ registerevent: 41,
1733
+ loginurl: 42,
1734
+ registerurl: 43,
1735
+ currency: 44,
1736
+ keepbrowsercontext: 9,
1737
+ clientstyling: 10,
1738
+ clientstylingurl: 11,
1739
+ translationurl: 12,
1740
+ tournamentinfo: 45
1741
+ },
1742
+ $t,
1743
+ [-1, -1, -1]
1744
+ );
1745
+ }
1746
+ get session() {
1747
+ return this.$$.ctx[0];
1748
+ }
1749
+ set session(t) {
1750
+ this.$$set({ session: t }), S();
1751
+ }
1752
+ get userid() {
1753
+ return this.$$.ctx[1];
1754
+ }
1755
+ set userid(t) {
1756
+ this.$$set({ userid: t }), S();
1757
+ }
1758
+ get tournamenturl() {
1759
+ return this.$$.ctx[2];
1760
+ }
1761
+ set tournamenturl(t) {
1762
+ this.$$set({ tournamenturl: t }), S();
1763
+ }
1764
+ get touridx() {
1765
+ return this.$$.ctx[38];
1766
+ }
1767
+ set touridx(t) {
1768
+ this.$$set({ touridx: t }), S();
1769
+ }
1770
+ get endpoint() {
1771
+ return this.$$.ctx[39];
1772
+ }
1773
+ set endpoint(t) {
1774
+ this.$$set({ endpoint: t }), S();
1775
+ }
1776
+ get showdetails() {
1777
+ return this.$$.ctx[3];
1778
+ }
1779
+ set showdetails(t) {
1780
+ this.$$set({ showdetails: t }), S();
1781
+ }
1782
+ get showslider() {
1783
+ return this.$$.ctx[4];
1784
+ }
1785
+ set showslider(t) {
1786
+ this.$$set({ showslider: t }), S();
1787
+ }
1788
+ get showenrolled() {
1789
+ return this.$$.ctx[5];
1790
+ }
1791
+ set showenrolled(t) {
1792
+ this.$$set({ showenrolled: t }), S();
1793
+ }
1794
+ get maxwidth() {
1795
+ return this.$$.ctx[6];
1796
+ }
1797
+ set maxwidth(t) {
1798
+ this.$$set({ maxwidth: t }), S();
1799
+ }
1800
+ get fullsize() {
1801
+ return this.$$.ctx[7];
1802
+ }
1803
+ set fullsize(t) {
1804
+ this.$$set({ fullsize: t }), S();
1805
+ }
1806
+ get lang() {
1807
+ return this.$$.ctx[8];
1808
+ }
1809
+ set lang(t) {
1810
+ this.$$set({ lang: t }), S();
1811
+ }
1812
+ get loginevent() {
1813
+ return this.$$.ctx[40];
1814
+ }
1815
+ set loginevent(t) {
1816
+ this.$$set({ loginevent: t }), S();
1817
+ }
1818
+ get registerevent() {
1819
+ return this.$$.ctx[41];
1820
+ }
1821
+ set registerevent(t) {
1822
+ this.$$set({ registerevent: t }), S();
1823
+ }
1824
+ get loginurl() {
1825
+ return this.$$.ctx[42];
1826
+ }
1827
+ set loginurl(t) {
1828
+ this.$$set({ loginurl: t }), S();
1829
+ }
1830
+ get registerurl() {
1831
+ return this.$$.ctx[43];
1832
+ }
1833
+ set registerurl(t) {
1834
+ this.$$set({ registerurl: t }), S();
1835
+ }
1836
+ get currency() {
1837
+ return this.$$.ctx[44];
1838
+ }
1839
+ set currency(t) {
1840
+ this.$$set({ currency: t }), S();
1841
+ }
1842
+ get keepbrowsercontext() {
1843
+ return this.$$.ctx[9];
1844
+ }
1845
+ set keepbrowsercontext(t) {
1846
+ this.$$set({ keepbrowsercontext: t }), S();
1847
+ }
1848
+ get clientstyling() {
1849
+ return this.$$.ctx[10];
1850
+ }
1851
+ set clientstyling(t) {
1852
+ this.$$set({ clientstyling: t }), S();
1853
+ }
1854
+ get clientstylingurl() {
1855
+ return this.$$.ctx[11];
1856
+ }
1857
+ set clientstylingurl(t) {
1858
+ this.$$set({ clientstylingurl: t }), S();
1859
+ }
1860
+ get translationurl() {
1861
+ return this.$$.ctx[12];
1862
+ }
1863
+ set translationurl(t) {
1864
+ this.$$set({ translationurl: t }), S();
1865
+ }
1866
+ get tournamentinfo() {
1867
+ return this.$$.ctx[45];
1868
+ }
1869
+ set tournamentinfo(t) {
1870
+ this.$$set({ tournamentinfo: t }), S();
1871
+ }
1872
+ }
1873
+ zt(ft, { session: {}, userid: {}, tournamenturl: {}, touridx: {}, endpoint: {}, showdetails: {}, showslider: {}, showenrolled: {}, maxwidth: {}, fullsize: {}, lang: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tournamentinfo: {} }, [], [], !0);
1874
+ const pr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1875
+ __proto__: null,
1876
+ default: ft
1877
+ }, Symbol.toStringTag, { value: "Module" }));
1878
+ export {
1879
+ pr as C,
1880
+ Ye as g
1881
+ };