@everymatrix/casino-tournaments-controller 1.50.1 → 1.51.0

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/{CasinoTournamentsController-Bh0F1F9j.js → CasinoTournamentsController-D4fqxCja.js} +8 -2
  2. package/components/{CasinoTournamentsController-BgOnVyOd.cjs → CasinoTournamentsController-WRSyK2QY.cjs} +2 -2
  3. package/components/CasinoTournamentsFilterController-D0T7rVhL.cjs +1 -0
  4. package/components/{CasinoTournamentsFilterController-Cms4Mj5a.js → CasinoTournamentsFilterController-D9Tidq8w.js} +41 -34
  5. package/components/{CasinoTournamentsListController-DT-ABEal.js → CasinoTournamentsListController-Bj5LNl9h.js} +5 -2
  6. package/components/{CasinoTournamentsListController-COIcfqhk.cjs → CasinoTournamentsListController-CWi9-FPc.cjs} +2 -2
  7. package/components/{CasinoTournamentsThumbnail-BqchSYJX.cjs → CasinoTournamentsThumbnail-CXUAscGP.cjs} +2 -2
  8. package/components/{CasinoTournamentsThumbnail-JPADMzmC.js → CasinoTournamentsThumbnail-Dq4yRdNG.js} +162 -131
  9. package/components/CasinoTournamentsThumbnailController-BHFgnbwb.cjs +1 -0
  10. package/components/{CasinoTournamentsThumbnailController-Cyz1tkwX.js → CasinoTournamentsThumbnailController-cb4JbcxA.js} +42 -34
  11. package/components/{CasinoTournamentsThumbnailDuration-Dq6XZBFw.js → CasinoTournamentsThumbnailDuration-COqsPwJj.js} +21 -13
  12. package/components/CasinoTournamentsThumbnailDuration-CQkAFLBa.cjs +1 -0
  13. package/components/{CasinoTournamentsThumbnailGamesSlider-DUruRKxn.js → CasinoTournamentsThumbnailGamesSlider--YAPEoXl.js} +19 -16
  14. package/components/CasinoTournamentsThumbnailGamesSlider-LY1F0kxk.cjs +1 -0
  15. package/components/{CasinoTournamentsThumbnailPrizes-ATuGyLaj.js → CasinoTournamentsThumbnailPrizes-BbCxQeLs.js} +33 -28
  16. package/components/CasinoTournamentsThumbnailPrizes-CY5bdmwv.cjs +1 -0
  17. package/es2015/casino-tournaments-controller.cjs +1 -1
  18. package/es2015/casino-tournaments-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/components/CasinoTournamentsFilterController-Ue-NUlO5.cjs +0 -1
  21. package/components/CasinoTournamentsThumbnailController-DLec91GP.cjs +0 -1
  22. package/components/CasinoTournamentsThumbnailDuration-Df8PCRBm.cjs +0 -1
  23. package/components/CasinoTournamentsThumbnailGamesSlider-BqLvv5tS.cjs +0 -1
  24. package/components/CasinoTournamentsThumbnailPrizes-CmlKwpPW.cjs +0 -1
@@ -1,11 +1,11 @@
1
- import { a as me, z as de, S as ce, i as ge, f as C, c as be, s as fe, b as he, e as v, m as W, t as M, d as u, h as z, o as c, p as D, n as q, j, k as pe, w as ke, A as L, x as ye, B as Ce, r as Se, C as Ae, u as _e, D as K, $ as Te } from "./CasinoTournamentsController-Bh0F1F9j.js";
2
- function Z(i, e) {
1
+ import { a as me, z as de, S as ce, i as ge, f as S, c as be, s as fe, b as he, e as M, m as O, t as v, d as u, h as F, o as c, p as D, n as q, j as z, k as pe, w as ye, A as L, x as ke, B as Se, r as Ce, C as Ae, u as _e, D as K, $ as Te } from "./CasinoTournamentsController-D4fqxCja.js";
2
+ function Y(i, e) {
3
3
  me(i, e);
4
4
  }
5
- function ve(i) {
5
+ function Me(i) {
6
6
  de.set(i);
7
7
  }
8
- const Y = {
8
+ const Z = {
9
9
  en: {
10
10
  enrolled: "Enrolled",
11
11
  scoreCriteria: "Score Criteria",
@@ -304,42 +304,73 @@ const Y = {
304
304
  October: "October",
305
305
  November: "November",
306
306
  December: "December"
307
+ },
308
+ "en-us": {
309
+ enrolled: "Enrolled",
310
+ scoreCriteria: "Score Criteria",
311
+ minbet: "min bet count",
312
+ seegames: "You can see the games",
313
+ here: "here",
314
+ scheduled: "Scheduled",
315
+ ongoing: "Ongoing",
316
+ finished: "Finished",
317
+ startingAt: "Starting at:",
318
+ startedAt: "Started at:",
319
+ startingAtWithTime: "Starts {startTime}",
320
+ startedAtWithTime: "Started {startTime}",
321
+ mostRounds: "Most Rounds",
322
+ betCount: "Number of Bets",
323
+ maxWinStakeRatio: "Max Win per Stake",
324
+ winStakeRatio: "Total Win per Stake",
325
+ stake: "Turnover",
326
+ January: "January",
327
+ February: "February",
328
+ March: "March",
329
+ April: "April",
330
+ May: "May",
331
+ June: "June",
332
+ July: "July",
333
+ August: "August",
334
+ September: "September",
335
+ October: "October",
336
+ November: "November",
337
+ December: "December"
307
338
  }
308
339
  };
309
- function Me(i) {
340
+ function ve(i) {
310
341
  he(i, "svelte-1gxooas", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{font-size:18px;padding-bottom:10px}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}');
311
342
  }
312
343
  function Q(i) {
313
- let e, t, r, s, o, n;
344
+ let e, t, r, s, l, n;
314
345
  return {
315
346
  c() {
316
- e = v("div"), t = M(
347
+ e = M("div"), t = v(
317
348
  /*shownStatus*/
318
349
  i[13]
319
350
  ), u(e, "class", r = "Status " + /*statusClass*/
320
351
  i[15]), u(e, "part", s = "Status " + /*statusClass*/
321
352
  i[15]);
322
353
  },
323
- m(l, b) {
324
- z(l, e, b), c(e, t), o || (n = L(
354
+ m(o, b) {
355
+ F(o, e, b), c(e, t), l || (n = L(
325
356
  /*matchStatus*/
326
357
  i[18].call(null, e)
327
- ), o = !0);
358
+ ), l = !0);
328
359
  },
329
- p(l, b) {
360
+ p(o, b) {
330
361
  b[0] & /*shownStatus*/
331
362
  8192 && D(
332
363
  t,
333
364
  /*shownStatus*/
334
- l[13]
365
+ o[13]
335
366
  ), b[0] & /*statusClass*/
336
367
  32768 && r !== (r = "Status " + /*statusClass*/
337
- l[15]) && u(e, "class", r), b[0] & /*statusClass*/
368
+ o[15]) && u(e, "class", r), b[0] & /*statusClass*/
338
369
  32768 && s !== (s = "Status " + /*statusClass*/
339
- l[15]) && u(e, "part", s);
370
+ o[15]) && u(e, "part", s);
340
371
  },
341
- d(l) {
342
- l && j(e), o = !1, n();
372
+ d(o) {
373
+ o && z(e), l = !1, n();
343
374
  }
344
375
  };
345
376
  }
@@ -350,17 +381,17 @@ function X(i) {
350
381
  );
351
382
  return {
352
383
  c() {
353
- t && t.c(), e = ye();
384
+ t && t.c(), e = ke();
354
385
  },
355
386
  m(r, s) {
356
- t && t.m(r, s), z(r, e, s);
387
+ t && t.m(r, s), F(r, e, s);
357
388
  },
358
389
  p(r, s) {
359
390
  /*userenrolled*/
360
391
  r[5] ? t ? t.p(r, s) : (t = $(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
361
392
  },
362
393
  d(r) {
363
- r && j(e), t && t.d(r);
394
+ r && z(e), t && t.d(r);
364
395
  }
365
396
  };
366
397
  }
@@ -371,95 +402,95 @@ function $(i) {
371
402
  ), r;
372
403
  return {
373
404
  c() {
374
- e = v("div"), r = M(t), u(e, "class", "Enrolled"), u(e, "part", "Enrolled");
405
+ e = M("div"), r = v(t), u(e, "class", "Enrolled"), u(e, "part", "Enrolled");
375
406
  },
376
- m(s, o) {
377
- z(s, e, o), c(e, r);
407
+ m(s, l) {
408
+ F(s, e, l), c(e, r);
378
409
  },
379
- p(s, o) {
380
- o[0] & /*$_*/
410
+ p(s, l) {
411
+ l[0] & /*$_*/
381
412
  65536 && t !== (t = /*$_*/
382
413
  s[16]("enrolled") + "") && D(r, t);
383
414
  },
384
415
  d(s) {
385
- s && j(e);
416
+ s && z(e);
386
417
  }
387
418
  };
388
419
  }
389
420
  function we(i) {
390
- let e, t, r, s, o;
421
+ let e, t, r, s, l;
391
422
  return {
392
423
  c() {
393
- e = v("div"), u(e, "class", t = "CardImg " + /*status*/
424
+ e = M("div"), u(e, "class", t = "CardImg " + /*status*/
394
425
  (i[0] == "Closing" || /*status*/
395
426
  i[0] == "Closed" ? "CardImgFinished" : "")), u(e, "part", r = "CardImg " + /*status*/
396
427
  (i[0] == "Closing" || /*status*/
397
428
  i[0] == "Closed" ? "CardImgFinished" : "")), K(e, "background-image", "url('https://i.stack.imgur.com/y9DpT.jpg')");
398
429
  },
399
- m(n, l) {
400
- z(n, e, l), s || (o = L(
430
+ m(n, o) {
431
+ F(n, e, o), s || (l = L(
401
432
  /*matchStatus*/
402
433
  i[18].call(null, e)
403
434
  ), s = !0);
404
435
  },
405
- p(n, l) {
406
- l[0] & /*status*/
436
+ p(n, o) {
437
+ o[0] & /*status*/
407
438
  1 && t !== (t = "CardImg " + /*status*/
408
439
  (n[0] == "Closing" || /*status*/
409
- n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "class", t), l[0] & /*status*/
440
+ n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "class", t), o[0] & /*status*/
410
441
  1 && r !== (r = "CardImg " + /*status*/
411
442
  (n[0] == "Closing" || /*status*/
412
443
  n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "part", r);
413
444
  },
414
445
  d(n) {
415
- n && j(e), s = !1, o();
446
+ n && z(e), s = !1, l();
416
447
  }
417
448
  };
418
449
  }
419
450
  function Re(i) {
420
- let e, t, r, s, o;
451
+ let e, t, r, s, l;
421
452
  return {
422
453
  c() {
423
- e = v("div"), u(e, "class", t = "CardImg " + /*status*/
454
+ e = M("div"), u(e, "class", t = "CardImg " + /*status*/
424
455
  (i[0] == "Closing" || /*status*/
425
456
  i[0] == "Closed" ? "CardImgFinished" : "")), u(e, "part", r = "CardImg " + /*status*/
426
457
  (i[0] == "Closing" || /*status*/
427
458
  i[0] == "Closed" ? "CardImgFinished" : "")), K(e, "background-image", "url('" + /*thumbnail*/
428
459
  i[4] + "')");
429
460
  },
430
- m(n, l) {
431
- z(n, e, l), s || (o = L(
461
+ m(n, o) {
462
+ F(n, e, o), s || (l = L(
432
463
  /*matchStatus*/
433
464
  i[18].call(null, e)
434
465
  ), s = !0);
435
466
  },
436
- p(n, l) {
437
- l[0] & /*status*/
467
+ p(n, o) {
468
+ o[0] & /*status*/
438
469
  1 && t !== (t = "CardImg " + /*status*/
439
470
  (n[0] == "Closing" || /*status*/
440
- n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "class", t), l[0] & /*status*/
471
+ n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "class", t), o[0] & /*status*/
441
472
  1 && r !== (r = "CardImg " + /*status*/
442
473
  (n[0] == "Closing" || /*status*/
443
- n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "part", r), l[0] & /*thumbnail*/
474
+ n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "part", r), o[0] & /*thumbnail*/
444
475
  16 && K(e, "background-image", "url('" + /*thumbnail*/
445
476
  n[4] + "')");
446
477
  },
447
478
  d(n) {
448
- n && j(e), s = !1, o();
479
+ n && z(e), s = !1, l();
449
480
  }
450
481
  };
451
482
  }
452
483
  function ee(i) {
453
- let e, t, r, s, o;
484
+ let e, t, r, s, l;
454
485
  return {
455
486
  c() {
456
- e = v("div"), t = M(
487
+ e = M("div"), t = v(
457
488
  /*shownDate*/
458
489
  i[11]
459
490
  ), u(e, "class", "Date"), u(e, "part", "Date");
460
491
  },
461
- m(n, l) {
462
- z(n, e, l), c(e, t), s || (o = L(r = /*formatDate*/
492
+ m(n, o) {
493
+ F(n, e, o), c(e, t), s || (l = L(r = /*formatDate*/
463
494
  i[17].call(
464
495
  null,
465
496
  e,
@@ -467,13 +498,13 @@ function ee(i) {
467
498
  i[2]
468
499
  )), s = !0);
469
500
  },
470
- p(n, l) {
471
- l[0] & /*shownDate*/
501
+ p(n, o) {
502
+ o[0] & /*shownDate*/
472
503
  2048 && D(
473
504
  t,
474
505
  /*shownDate*/
475
506
  n[11]
476
- ), r && Ce(r.update) && l[0] & /*startdate*/
507
+ ), r && Se(r.update) && o[0] & /*startdate*/
477
508
  4 && r.update.call(
478
509
  null,
479
510
  /*startdate*/
@@ -481,7 +512,7 @@ function ee(i) {
481
512
  );
482
513
  },
483
514
  d(n) {
484
- n && j(e), s = !1, o();
515
+ n && z(e), s = !1, l();
485
516
  }
486
517
  };
487
518
  }
@@ -489,42 +520,42 @@ function te(i) {
489
520
  let e, t, r = (
490
521
  /*$_*/
491
522
  i[16]("scoreCriteria") + ""
492
- ), s, o, n, l, b, w = (
523
+ ), s, l, n, o, b, w = (
493
524
  /*$_*/
494
525
  i[16]("minbet") + ""
495
- ), f, h, A, J, y, g, d, m = (
526
+ ), f, h, A, J, k, g, d, m = (
496
527
  /*$_*/
497
528
  i[16]("seegames") + ""
498
- ), k, E, _, R = (
529
+ ), y, E, _, R = (
499
530
  /*$_*/
500
531
  i[16]("here") + ""
501
- ), B, F, I, N;
532
+ ), B, j, I, N;
502
533
  return {
503
534
  c() {
504
- e = v("div"), t = v("p"), s = M(r), o = M(`:
535
+ e = M("div"), t = M("p"), s = v(r), l = v(`:
505
536
 
506
- `), n = v("span"), l = M(
537
+ `), n = M("span"), o = v(
507
538
  /*showScoreCriteria*/
508
539
  i[14]
509
- ), b = M(`
510
- (`), f = M(w), h = W(), A = M(
540
+ ), b = v(`
541
+ (`), f = v(w), h = O(), A = v(
511
542
  /*minbetcount*/
512
543
  i[6]
513
- ), J = M(")"), y = W(), g = v("div"), d = v("p"), k = M(m), E = W(), _ = v("a"), B = M(R), u(n, "part", "ScoreCriteriaSpan"), u(t, "part", "ScoreCriteriaP"), u(e, "class", "ScoreCriteria"), u(e, "part", "ScoreCriteria"), u(_, "part", "GamesAnchor"), u(
544
+ ), J = v(")"), k = O(), g = M("div"), d = M("p"), y = v(m), E = O(), _ = M("a"), B = v(R), u(n, "part", "ScoreCriteriaSpan"), u(t, "part", "ScoreCriteriaP"), u(e, "class", "ScoreCriteria"), u(e, "part", "ScoreCriteria"), u(_, "part", "GamesAnchor"), u(
514
545
  _,
515
546
  "href",
516
547
  /*gameurl*/
517
548
  i[8]
518
- ), u(_, "target", F = /*keepbrowsercontext*/
549
+ ), u(_, "target", j = /*keepbrowsercontext*/
519
550
  i[9] === "true" ? "_self" : "_blank"), u(d, "part", "GamesP"), u(g, "class", "Games"), u(g, "part", "Games");
520
551
  },
521
552
  m(p, T) {
522
- z(p, e, T), c(e, t), c(t, s), c(t, o), c(t, n), c(n, l), c(t, b), c(t, f), c(t, h), c(t, A), c(t, J), z(p, y, T), z(p, g, T), c(g, d), c(d, k), c(d, E), c(d, _), c(_, B), I || (N = [
553
+ F(p, e, T), c(e, t), c(t, s), c(t, l), c(t, n), c(n, o), c(t, b), c(t, f), c(t, h), c(t, A), c(t, J), F(p, k, T), F(p, g, T), c(g, d), c(d, y), c(d, E), c(d, _), c(_, B), I || (N = [
523
554
  L(
524
555
  /*matchScoreCriteria*/
525
556
  i[19].call(null, n)
526
557
  ),
527
- Se(
558
+ Ce(
528
559
  _,
529
560
  "click",
530
561
  /*click_handler*/
@@ -537,7 +568,7 @@ function te(i) {
537
568
  65536 && r !== (r = /*$_*/
538
569
  p[16]("scoreCriteria") + "") && D(s, r), T[0] & /*showScoreCriteria*/
539
570
  16384 && D(
540
- l,
571
+ o,
541
572
  /*showScoreCriteria*/
542
573
  p[14]
543
574
  ), T[0] & /*$_*/
@@ -549,7 +580,7 @@ function te(i) {
549
580
  p[6]
550
581
  ), T[0] & /*$_*/
551
582
  65536 && m !== (m = /*$_*/
552
- p[16]("seegames") + "") && D(k, m), T[0] & /*$_*/
583
+ p[16]("seegames") + "") && D(y, m), T[0] & /*$_*/
553
584
  65536 && R !== (R = /*$_*/
554
585
  p[16]("here") + "") && D(B, R), T[0] & /*gameurl*/
555
586
  256 && u(
@@ -558,29 +589,29 @@ function te(i) {
558
589
  /*gameurl*/
559
590
  p[8]
560
591
  ), T[0] & /*keepbrowsercontext*/
561
- 512 && F !== (F = /*keepbrowsercontext*/
562
- p[9] === "true" ? "_self" : "_blank") && u(_, "target", F);
592
+ 512 && j !== (j = /*keepbrowsercontext*/
593
+ p[9] === "true" ? "_self" : "_blank") && u(_, "target", j);
563
594
  },
564
595
  d(p) {
565
- p && (j(e), j(y), j(g)), I = !1, Ae(N);
596
+ p && (z(e), z(k), z(g)), I = !1, Ae(N);
566
597
  }
567
598
  };
568
599
  }
569
600
  function Je(i) {
570
- let e, t, r, s, o, n, l, b, w, f = (
601
+ let e, t, r, s, l, n, o, b, w, f = (
571
602
  /*status*/
572
603
  i[0] && Q(i)
573
604
  ), h = (
574
605
  /*showenrolled*/
575
606
  i[7] == "true" && X(i)
576
607
  );
577
- function A(m, k) {
608
+ function A(m, y) {
578
609
  return (
579
610
  /*thumbnail*/
580
611
  m[4] ? Re : we
581
612
  );
582
613
  }
583
- let J = A(i), y = J(i), g = (
614
+ let J = A(i), k = J(i), g = (
584
615
  /*startdate*/
585
616
  i[2] && ee(i)
586
617
  ), d = (
@@ -589,77 +620,77 @@ function Je(i) {
589
620
  );
590
621
  return {
591
622
  c() {
592
- e = v("div"), f && f.c(), t = W(), h && h.c(), r = W(), y.c(), s = W(), o = v("div"), n = v("div"), l = M(
623
+ e = M("div"), f && f.c(), t = O(), h && h.c(), r = O(), k.c(), s = O(), l = M("div"), n = M("div"), o = v(
593
624
  /*title*/
594
625
  i[1]
595
- ), b = W(), g && g.c(), w = W(), d && d.c(), u(n, "class", "Title"), u(n, "part", "Title"), u(o, "class", "Details"), u(o, "part", "Details"), u(e, "class", "Thumbnail"), u(e, "part", "Thumbnail");
626
+ ), b = O(), g && g.c(), w = O(), d && d.c(), u(n, "class", "Title"), u(n, "part", "Title"), u(l, "class", "Details"), u(l, "part", "Details"), u(e, "class", "Thumbnail"), u(e, "part", "Thumbnail");
596
627
  },
597
- m(m, k) {
598
- z(m, e, k), f && f.m(e, null), c(e, t), h && h.m(e, null), c(e, r), y.m(e, null), c(e, s), c(e, o), c(o, n), c(n, l), c(o, b), g && g.m(o, null), c(o, w), d && d.m(o, null), i[29](e);
628
+ m(m, y) {
629
+ F(m, e, y), f && f.m(e, null), c(e, t), h && h.m(e, null), c(e, r), k.m(e, null), c(e, s), c(e, l), c(l, n), c(n, o), c(l, b), g && g.m(l, null), c(l, w), d && d.m(l, null), i[29](e);
599
630
  },
600
- p(m, k) {
631
+ p(m, y) {
601
632
  /*status*/
602
- m[0] ? f ? f.p(m, k) : (f = Q(m), f.c(), f.m(e, t)) : f && (f.d(1), f = null), /*showenrolled*/
603
- m[7] == "true" ? h ? h.p(m, k) : (h = X(m), h.c(), h.m(e, r)) : h && (h.d(1), h = null), J === (J = A(m)) && y ? y.p(m, k) : (y.d(1), y = J(m), y && (y.c(), y.m(e, s))), k[0] & /*title*/
633
+ m[0] ? f ? f.p(m, y) : (f = Q(m), f.c(), f.m(e, t)) : f && (f.d(1), f = null), /*showenrolled*/
634
+ m[7] == "true" ? h ? h.p(m, y) : (h = X(m), h.c(), h.m(e, r)) : h && (h.d(1), h = null), J === (J = A(m)) && k ? k.p(m, y) : (k.d(1), k = J(m), k && (k.c(), k.m(e, s))), y[0] & /*title*/
604
635
  2 && D(
605
- l,
636
+ o,
606
637
  /*title*/
607
638
  m[1]
608
639
  ), /*startdate*/
609
- m[2] ? g ? g.p(m, k) : (g = ee(m), g.c(), g.m(o, w)) : g && (g.d(1), g = null), /*isLoggedIn*/
610
- m[12] ? d ? d.p(m, k) : (d = te(m), d.c(), d.m(o, null)) : d && (d.d(1), d = null);
640
+ m[2] ? g ? g.p(m, y) : (g = ee(m), g.c(), g.m(l, w)) : g && (g.d(1), g = null), /*isLoggedIn*/
641
+ m[12] ? d ? d.p(m, y) : (d = te(m), d.c(), d.m(l, null)) : d && (d.d(1), d = null);
611
642
  },
612
643
  i: q,
613
644
  o: q,
614
645
  d(m) {
615
- m && j(e), f && f.d(), h && h.d(), y.d(), g && g.d(), d && d.d(), i[29](null);
646
+ m && z(e), f && f.d(), h && h.d(), k.d(), g && g.d(), d && d.d(), i[29](null);
616
647
  }
617
648
  };
618
649
  }
619
650
  function De(i, e, t) {
620
651
  let r;
621
652
  pe(i, Te, (a) => t(16, r = a));
622
- let { session: s = "" } = e, { userid: o = "" } = e, { title: n = "" } = e, { startdate: l = "" } = e, { status: b = "" } = e, { tourid: w = "" } = e, { thumbnail: f = "" } = e, { userenrolled: h = "" } = e, { scorecriteria: A = "" } = e, { minbetcount: J = "" } = e, { showenrolled: y = "false" } = e, { gameurl: g = "" } = e, { lang: d = "en" } = e, { keepbrowsercontext: m = "false" } = e, { clientstyling: k = "" } = e, { clientstylingurl: E = "" } = e, { translationurl: _ = "" } = e, R, B = "", F = !1, I = "", N = "", p = "";
653
+ let { session: s = "" } = e, { userid: l = "" } = e, { title: n = "" } = e, { startdate: o = "" } = e, { status: b = "" } = e, { tourid: w = "" } = e, { thumbnail: f = "" } = e, { userenrolled: h = "" } = e, { scorecriteria: A = "" } = e, { minbetcount: J = "" } = e, { showenrolled: k = "false" } = e, { gameurl: g = "" } = e, { lang: d = "en" } = e, { keepbrowsercontext: m = "false" } = e, { clientstyling: y = "" } = e, { clientstylingurl: E = "" } = e, { translationurl: _ = "" } = e, R, B = "", j = !1, I = "", N = "", p = "";
623
654
  const T = () => {
624
- fetch(_).then((S) => S.json()).then((S) => {
625
- Object.keys(S).forEach((O) => {
626
- Z(O, S[O]);
655
+ fetch(_).then((C) => C.json()).then((C) => {
656
+ Object.keys(C).forEach((W) => {
657
+ Y(W, C[W]);
627
658
  });
628
- }).catch((S) => {
629
- console.log(S);
659
+ }).catch((C) => {
660
+ console.log(C);
630
661
  });
631
662
  };
632
- Object.keys(Y).forEach((a) => {
633
- Z(a, Y[a]);
663
+ Object.keys(Z).forEach((a) => {
664
+ Y(a, Z[a]);
634
665
  });
635
666
  const U = (a) => {
636
- a.data && (a.data && a.data.type == "SessionID" && t(12, F = !0), a.data.type == `TournamentStatus_${w}` && t(0, b = a.data.status));
667
+ a.data && (a.data && a.data.type == "SessionID" && t(12, j = !0), a.data.type == `TournamentStatus_${w}` && t(0, b = a.data.status));
637
668
  }, P = () => {
638
669
  const a = { month: "long" };
639
- let S = new Date(l), O = new Intl.DateTimeFormat("en", a).format(S), le = S.getDate(), oe = S.toLocaleString("en-GB", {
670
+ let C = new Date(o), W = new Intl.DateTimeFormat("en", a).format(C), oe = C.getDate(), le = C.toLocaleString("en-GB", {
640
671
  hour: "numeric",
641
672
  minute: "numeric",
642
673
  hour12: !1
643
674
  });
644
675
  const ue = () => r(b === "Running" ? "startedAt" : "startingAt");
645
- t(11, B = `${le} ` + r(`${O}`) + ", " + ue() + ` ${oe}`);
676
+ t(11, B = `${oe} ` + r(`${W}`) + ", " + ue() + ` ${le}`);
646
677
  }, x = () => {
647
678
  b == "Unstarted" && (t(13, I = r("scheduled")), t(15, p = "StatusUnstarted")), b == "Running" && (t(13, I = r("ongoing")), t(15, p = "StatusRunning")), (b == "Closed" || b == "Closing") && t(13, I = r("finished")), b == "Closed" && t(15, p = "StatusClosed"), b == "Closing" && t(15, p = "StatusClosing");
648
679
  }, G = () => {
649
680
  A == "BetCount" && t(14, N = r("betCount")), A == "MaxWinStakeRatio" && t(14, N = r("maxWinStakeRatio")), A == "WinStakeRatio" && t(14, N = r("winStakeRatio")), A == "Stake" && t(14, N = r("stake"));
650
- }, V = (a, S) => {
651
- window.postMessage({ type: "tournamentGamesClicked", tourId: S }, window.location.href);
681
+ }, V = (a, C) => {
682
+ window.postMessage({ type: "tournamentGamesClicked", tourId: C }, window.location.href);
652
683
  }, ie = () => {
653
- s.length > 0 && s != "false" ? t(12, F = !0) : t(12, F = !1);
684
+ s.length > 0 && s != "false" ? t(12, j = !0) : t(12, j = !1);
654
685
  }, ae = () => {
655
686
  let a = document.createElement("style");
656
- a.innerHTML = k, R.appendChild(a);
687
+ a.innerHTML = y, R.appendChild(a);
657
688
  }, re = () => {
658
- let a = new URL(E), S = document.createElement("style");
659
- fetch(a.href).then((O) => O.text()).then((O) => {
660
- S.innerHTML = O, setTimeout(
689
+ let a = new URL(E), C = document.createElement("style");
690
+ fetch(a.href).then((W) => W.text()).then((W) => {
691
+ C.innerHTML = W, setTimeout(
661
692
  () => {
662
- R.appendChild(S);
693
+ R.appendChild(C);
663
694
  },
664
695
  1
665
696
  ), setTimeout(
@@ -669,11 +700,11 @@ function De(i, e, t) {
669
700
  );
670
701
  });
671
702
  };
672
- ke(() => (setTimeout(() => H(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", U, !1), () => {
703
+ ye(() => (setTimeout(() => H(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", U, !1), () => {
673
704
  window.removeEventListener("message", U);
674
705
  }));
675
706
  const H = () => {
676
- ve(d), G(), x(), l && P();
707
+ Me(d), G(), x(), o && P();
677
708
  }, ne = () => V();
678
709
  function se(a) {
679
710
  _e[a ? "unshift" : "push"](() => {
@@ -681,31 +712,31 @@ function De(i, e, t) {
681
712
  });
682
713
  }
683
714
  return i.$$set = (a) => {
684
- "session" in a && t(21, s = a.session), "userid" in a && t(22, o = a.userid), "title" in a && t(1, n = a.title), "startdate" in a && t(2, l = a.startdate), "status" in a && t(0, b = a.status), "tourid" in a && t(3, w = a.tourid), "thumbnail" in a && t(4, f = a.thumbnail), "userenrolled" in a && t(5, h = a.userenrolled), "scorecriteria" in a && t(23, A = a.scorecriteria), "minbetcount" in a && t(6, J = a.minbetcount), "showenrolled" in a && t(7, y = a.showenrolled), "gameurl" in a && t(8, g = a.gameurl), "lang" in a && t(24, d = a.lang), "keepbrowsercontext" in a && t(9, m = a.keepbrowsercontext), "clientstyling" in a && t(25, k = a.clientstyling), "clientstylingurl" in a && t(26, E = a.clientstylingurl), "translationurl" in a && t(27, _ = a.translationurl);
715
+ "session" in a && t(21, s = a.session), "userid" in a && t(22, l = a.userid), "title" in a && t(1, n = a.title), "startdate" in a && t(2, o = a.startdate), "status" in a && t(0, b = a.status), "tourid" in a && t(3, w = a.tourid), "thumbnail" in a && t(4, f = a.thumbnail), "userenrolled" in a && t(5, h = a.userenrolled), "scorecriteria" in a && t(23, A = a.scorecriteria), "minbetcount" in a && t(6, J = a.minbetcount), "showenrolled" in a && t(7, k = a.showenrolled), "gameurl" in a && t(8, g = a.gameurl), "lang" in a && t(24, d = a.lang), "keepbrowsercontext" in a && t(9, m = a.keepbrowsercontext), "clientstyling" in a && t(25, y = a.clientstyling), "clientstylingurl" in a && t(26, E = a.clientstylingurl), "translationurl" in a && t(27, _ = a.translationurl);
685
716
  }, i.$$.update = () => {
686
717
  i.$$.dirty[0] & /*customStylingContainer, clientstyling*/
687
- 33555456 && R && k && ae(), i.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
718
+ 33555456 && R && y && ae(), i.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
688
719
  67109888 && R && E && re(), i.$$.dirty[0] & /*translationurl*/
689
720
  134217728 && _ && T(), i.$$.dirty[0] & /*session*/
690
721
  2097152 && s && ie(), i.$$.dirty[0] & /*status*/
691
722
  1 && b && x(), i.$$.dirty[0] & /*title, lang*/
692
723
  16777218 && n && d && H(), i.$$.dirty[0] & /*startdate*/
693
- 4 && l && P(), i.$$.dirty[0] & /*scorecriteria*/
724
+ 4 && o && P(), i.$$.dirty[0] & /*scorecriteria*/
694
725
  8388608 && A && G();
695
726
  }, [
696
727
  b,
697
728
  n,
698
- l,
729
+ o,
699
730
  w,
700
731
  f,
701
732
  h,
702
733
  J,
703
- y,
734
+ k,
704
735
  g,
705
736
  m,
706
737
  R,
707
738
  B,
708
- F,
739
+ j,
709
740
  I,
710
741
  N,
711
742
  p,
@@ -715,17 +746,17 @@ function De(i, e, t) {
715
746
  G,
716
747
  V,
717
748
  s,
718
- o,
749
+ l,
719
750
  A,
720
751
  d,
721
- k,
752
+ y,
722
753
  E,
723
754
  _,
724
755
  ne,
725
756
  se
726
757
  ];
727
758
  }
728
- class ze extends ce {
759
+ class Fe extends ce {
729
760
  constructor(e) {
730
761
  super(), ge(
731
762
  this,
@@ -752,7 +783,7 @@ class ze extends ce {
752
783
  clientstylingurl: 26,
753
784
  translationurl: 27
754
785
  },
755
- Me,
786
+ ve,
756
787
  [-1, -1]
757
788
  );
758
789
  }
@@ -760,106 +791,106 @@ class ze extends ce {
760
791
  return this.$$.ctx[21];
761
792
  }
762
793
  set session(e) {
763
- this.$$set({ session: e }), C();
794
+ this.$$set({ session: e }), S();
764
795
  }
765
796
  get userid() {
766
797
  return this.$$.ctx[22];
767
798
  }
768
799
  set userid(e) {
769
- this.$$set({ userid: e }), C();
800
+ this.$$set({ userid: e }), S();
770
801
  }
771
802
  get title() {
772
803
  return this.$$.ctx[1];
773
804
  }
774
805
  set title(e) {
775
- this.$$set({ title: e }), C();
806
+ this.$$set({ title: e }), S();
776
807
  }
777
808
  get startdate() {
778
809
  return this.$$.ctx[2];
779
810
  }
780
811
  set startdate(e) {
781
- this.$$set({ startdate: e }), C();
812
+ this.$$set({ startdate: e }), S();
782
813
  }
783
814
  get status() {
784
815
  return this.$$.ctx[0];
785
816
  }
786
817
  set status(e) {
787
- this.$$set({ status: e }), C();
818
+ this.$$set({ status: e }), S();
788
819
  }
789
820
  get tourid() {
790
821
  return this.$$.ctx[3];
791
822
  }
792
823
  set tourid(e) {
793
- this.$$set({ tourid: e }), C();
824
+ this.$$set({ tourid: e }), S();
794
825
  }
795
826
  get thumbnail() {
796
827
  return this.$$.ctx[4];
797
828
  }
798
829
  set thumbnail(e) {
799
- this.$$set({ thumbnail: e }), C();
830
+ this.$$set({ thumbnail: e }), S();
800
831
  }
801
832
  get userenrolled() {
802
833
  return this.$$.ctx[5];
803
834
  }
804
835
  set userenrolled(e) {
805
- this.$$set({ userenrolled: e }), C();
836
+ this.$$set({ userenrolled: e }), S();
806
837
  }
807
838
  get scorecriteria() {
808
839
  return this.$$.ctx[23];
809
840
  }
810
841
  set scorecriteria(e) {
811
- this.$$set({ scorecriteria: e }), C();
842
+ this.$$set({ scorecriteria: e }), S();
812
843
  }
813
844
  get minbetcount() {
814
845
  return this.$$.ctx[6];
815
846
  }
816
847
  set minbetcount(e) {
817
- this.$$set({ minbetcount: e }), C();
848
+ this.$$set({ minbetcount: e }), S();
818
849
  }
819
850
  get showenrolled() {
820
851
  return this.$$.ctx[7];
821
852
  }
822
853
  set showenrolled(e) {
823
- this.$$set({ showenrolled: e }), C();
854
+ this.$$set({ showenrolled: e }), S();
824
855
  }
825
856
  get gameurl() {
826
857
  return this.$$.ctx[8];
827
858
  }
828
859
  set gameurl(e) {
829
- this.$$set({ gameurl: e }), C();
860
+ this.$$set({ gameurl: e }), S();
830
861
  }
831
862
  get lang() {
832
863
  return this.$$.ctx[24];
833
864
  }
834
865
  set lang(e) {
835
- this.$$set({ lang: e }), C();
866
+ this.$$set({ lang: e }), S();
836
867
  }
837
868
  get keepbrowsercontext() {
838
869
  return this.$$.ctx[9];
839
870
  }
840
871
  set keepbrowsercontext(e) {
841
- this.$$set({ keepbrowsercontext: e }), C();
872
+ this.$$set({ keepbrowsercontext: e }), S();
842
873
  }
843
874
  get clientstyling() {
844
875
  return this.$$.ctx[25];
845
876
  }
846
877
  set clientstyling(e) {
847
- this.$$set({ clientstyling: e }), C();
878
+ this.$$set({ clientstyling: e }), S();
848
879
  }
849
880
  get clientstylingurl() {
850
881
  return this.$$.ctx[26];
851
882
  }
852
883
  set clientstylingurl(e) {
853
- this.$$set({ clientstylingurl: e }), C();
884
+ this.$$set({ clientstylingurl: e }), S();
854
885
  }
855
886
  get translationurl() {
856
887
  return this.$$.ctx[27];
857
888
  }
858
889
  set translationurl(e) {
859
- this.$$set({ translationurl: e }), C();
890
+ this.$$set({ translationurl: e }), S();
860
891
  }
861
892
  }
862
- be(ze, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
893
+ be(Fe, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
863
894
  export {
864
- ze as default
895
+ Fe as default
865
896
  };