@everymatrix/casino-tournaments-limited-controller 1.54.8 → 1.54.9

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.
@@ -75,10 +75,10 @@ function Pe(e) {
75
75
  function Ce(e) {
76
76
  return document.createTextNode(e);
77
77
  }
78
- function Ae() {
78
+ function ve() {
79
79
  return Ce(" ");
80
80
  }
81
- function bt(e, t, n, r) {
81
+ function At(e, t, n, r) {
82
82
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
83
83
  }
84
84
  function B(e, t, n) {
@@ -119,7 +119,7 @@ function zr(e, t) {
119
119
  ), r.setAttribute("aria-hidden", "true"), r.tabIndex = -1;
120
120
  const i = Qr();
121
121
  let o;
122
- return i ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = bt(
122
+ return i ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = At(
123
123
  window,
124
124
  "message",
125
125
  /** @param {MessageEvent} event */
@@ -127,7 +127,7 @@ function zr(e, t) {
127
127
  s.source === r.contentWindow && t();
128
128
  }
129
129
  )) : (r.src = "about:blank", r.onload = () => {
130
- o = bt(r.contentWindow, "resize", t), t();
130
+ o = At(r.contentWindow, "resize", t), t();
131
131
  }), M(e, r), () => {
132
132
  (i || o && r.contentWindow) && o(), V(r);
133
133
  };
@@ -162,7 +162,7 @@ let zt = !1;
162
162
  function Zr() {
163
163
  zt || (zt = !0, Vr.then(fe));
164
164
  }
165
- function vt(e) {
165
+ function bt(e) {
166
166
  ke.push(e);
167
167
  }
168
168
  const Pt = /* @__PURE__ */ new Set();
@@ -195,7 +195,7 @@ function Wr(e) {
195
195
  if (e.fragment !== null) {
196
196
  e.update(), tt(e.before_update);
197
197
  const t = e.dirty;
198
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(vt);
198
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(bt);
199
199
  }
200
200
  }
201
201
  function Yr(e) {
@@ -211,10 +211,10 @@ function Le(e) {
211
211
  }
212
212
  function $r(e, t, n) {
213
213
  const { fragment: r, after_update: i } = e.$$;
214
- r && r.m(t, n), vt(() => {
214
+ r && r.m(t, n), bt(() => {
215
215
  const o = e.$$.on_mount.map(zn).filter(an);
216
216
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : tt(o), e.$$.on_mount = [];
217
- }), i.forEach(vt);
217
+ }), i.forEach(bt);
218
218
  }
219
219
  function ei(e, t) {
220
220
  const n = e.$$;
@@ -537,7 +537,7 @@ var Jt = function(e, t) {
537
537
  for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
538
538
  }, Jt(e, t);
539
539
  };
540
- function ve(e, t) {
540
+ function be(e, t) {
541
541
  if (typeof t != "function" && t !== null)
542
542
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
543
543
  Jt(e, t);
@@ -595,7 +595,7 @@ function Ue(e, t, n) {
595
595
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
596
596
  return e.concat(o || Array.prototype.slice.call(t));
597
597
  }
598
- function be(e) {
598
+ function Ae(e) {
599
599
  return typeof e == "function";
600
600
  }
601
601
  function $n(e) {
@@ -647,7 +647,7 @@ var xt = function() {
647
647
  else
648
648
  s.remove(this);
649
649
  var c = this.initialTeardown;
650
- if (be(c))
650
+ if (Ae(c))
651
651
  try {
652
652
  c();
653
653
  } catch (x) {
@@ -709,10 +709,10 @@ var xt = function() {
709
709
  }(), e;
710
710
  }(), er = xt.EMPTY;
711
711
  function tr(e) {
712
- return e instanceof xt || e && "closed" in e && be(e.remove) && be(e.add) && be(e.unsubscribe);
712
+ return e instanceof xt || e && "closed" in e && Ae(e.remove) && Ae(e.add) && Ae(e.unsubscribe);
713
713
  }
714
714
  function gn(e) {
715
- be(e) ? e() : e.unsubscribe();
715
+ Ae(e) ? e() : e.unsubscribe();
716
716
  }
717
717
  var ui = {
718
718
  Promise: void 0
@@ -732,13 +732,13 @@ function hi(e) {
732
732
  throw e;
733
733
  });
734
734
  }
735
- function An() {
735
+ function vn() {
736
736
  }
737
737
  function mt(e) {
738
738
  e();
739
739
  }
740
740
  var nr = function(e) {
741
- ve(t, e);
741
+ be(t, e);
742
742
  function t(n) {
743
743
  var r = e.call(this) || this;
744
744
  return r.isStopped = !1, n ? (r.destination = n, tr(n) && n.add(r)) : r.destination = di, r;
@@ -800,10 +800,10 @@ var nr = function(e) {
800
800
  }
801
801
  }, e;
802
802
  }(), Wt = function(e) {
803
- ve(t, e);
803
+ be(t, e);
804
804
  function t(n, r, i) {
805
805
  var o = e.call(this) || this, s;
806
- return be(n) || !n ? s = {
806
+ return Ae(n) || !n ? s = {
807
807
  next: n ?? void 0,
808
808
  error: r ?? void 0,
809
809
  complete: i ?? void 0
@@ -819,9 +819,9 @@ function ci(e) {
819
819
  }
820
820
  var di = {
821
821
  closed: !0,
822
- next: An,
822
+ next: vn,
823
823
  error: ci,
824
- complete: An
824
+ complete: vn
825
825
  }, pi = function() {
826
826
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
827
827
  }();
@@ -835,7 +835,7 @@ function gi(e) {
835
835
  }, n);
836
836
  };
837
837
  }
838
- var bn = function() {
838
+ var An = function() {
839
839
  function e(t) {
840
840
  t && (this._subscribe = t);
841
841
  }
@@ -843,7 +843,7 @@ var bn = function() {
843
843
  var n = new e();
844
844
  return n.source = this, n.operator = t, n;
845
845
  }, e.prototype.subscribe = function(t, n, r) {
846
- var i = this, o = bi(t) ? t : new Wt(t, n, r);
846
+ var i = this, o = Ai(t) ? t : new Wt(t, n, r);
847
847
  return mt(function() {
848
848
  var s = i, a = s.operator, l = s.source;
849
849
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -856,7 +856,7 @@ var bn = function() {
856
856
  }
857
857
  }, e.prototype.forEach = function(t, n) {
858
858
  var r = this;
859
- return n = vn(n), new n(function(i, o) {
859
+ return n = bn(n), new n(function(i, o) {
860
860
  var s = new Wt({
861
861
  next: function(a) {
862
862
  try {
@@ -881,7 +881,7 @@ var bn = function() {
881
881
  return gi(t)(this);
882
882
  }, e.prototype.toPromise = function(t) {
883
883
  var n = this;
884
- return t = vn(t), new t(function(r, i) {
884
+ return t = bn(t), new t(function(r, i) {
885
885
  var o;
886
886
  n.subscribe(function(s) {
887
887
  return o = s;
@@ -895,22 +895,22 @@ var bn = function() {
895
895
  return new e(t);
896
896
  }, e;
897
897
  }();
898
- function vn(e) {
898
+ function bn(e) {
899
899
  var t;
900
900
  return (t = e ?? ui.Promise) !== null && t !== void 0 ? t : Promise;
901
901
  }
902
- function Ai(e) {
903
- return e && be(e.next) && be(e.error) && be(e.complete);
902
+ function vi(e) {
903
+ return e && Ae(e.next) && Ae(e.error) && Ae(e.complete);
904
904
  }
905
- function bi(e) {
906
- return e && e instanceof nr || Ai(e) && tr(e);
905
+ function Ai(e) {
906
+ return e && e instanceof nr || vi(e) && tr(e);
907
907
  }
908
- var vi = $n(function(e) {
908
+ var bi = $n(function(e) {
909
909
  return function() {
910
910
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
911
911
  };
912
912
  }), rr = function(e) {
913
- ve(t, e);
913
+ be(t, e);
914
914
  function t() {
915
915
  var n = e.call(this) || this;
916
916
  return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
@@ -920,7 +920,7 @@ var vi = $n(function(e) {
920
920
  return r.operator = n, r;
921
921
  }, t.prototype._throwIfClosed = function() {
922
922
  if (this.closed)
923
- throw new vi();
923
+ throw new bi();
924
924
  }, t.prototype.next = function(n) {
925
925
  var r = this;
926
926
  mt(function() {
@@ -983,13 +983,13 @@ var vi = $n(function(e) {
983
983
  var r = this, i = r.hasError, o = r.thrownError, s = r.isStopped;
984
984
  i ? n.error(o) : s && n.complete();
985
985
  }, t.prototype.asObservable = function() {
986
- var n = new bn();
986
+ var n = new An();
987
987
  return n.source = this, n;
988
988
  }, t.create = function(n, r) {
989
989
  return new En(n, r);
990
990
  }, t;
991
- }(bn), En = function(e) {
992
- ve(t, e);
991
+ }(An), En = function(e) {
992
+ be(t, e);
993
993
  function t(n, r) {
994
994
  var i = e.call(this) || this;
995
995
  return i.destination = n, i.source = r, i;
@@ -1013,7 +1013,7 @@ var vi = $n(function(e) {
1013
1013
  },
1014
1014
  delegate: void 0
1015
1015
  }, Ei = function(e) {
1016
- ve(t, e);
1016
+ be(t, e);
1017
1017
  function t(n, r, i) {
1018
1018
  n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = ir);
1019
1019
  var o = e.call(this) || this;
@@ -1387,14 +1387,14 @@ function Ki(e) {
1387
1387
  function $i(e) {
1388
1388
  return e.replace(/^(.*?)-/, "");
1389
1389
  }
1390
- var Bn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, eo = /(\*)(0+)|(#+)(0+)|(0+)/g, Ar = /^(0+)$/;
1390
+ var Bn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, eo = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
1391
1391
  function Tn(e) {
1392
1392
  var t = {};
1393
1393
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(n, r, i) {
1394
1394
  return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1395
1395
  }), t;
1396
1396
  }
1397
- function br(e) {
1397
+ function Ar(e) {
1398
1398
  switch (e) {
1399
1399
  case "sign-auto":
1400
1400
  return {
@@ -1442,14 +1442,14 @@ function to(e) {
1442
1442
  notation: "scientific"
1443
1443
  }, e = e.slice(1)), t) {
1444
1444
  var n = e.slice(0, 2);
1445
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ar.test(e))
1445
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !vr.test(e))
1446
1446
  throw new Error("Malformed concise eng/scientific notation");
1447
1447
  t.minimumIntegerDigits = e.length;
1448
1448
  }
1449
1449
  return t;
1450
1450
  }
1451
1451
  function Cn(e) {
1452
- var t = {}, n = br(e);
1452
+ var t = {}, n = Ar(e);
1453
1453
  return n || t;
1454
1454
  }
1455
1455
  function no(e) {
@@ -1551,7 +1551,7 @@ function no(e) {
1551
1551
  });
1552
1552
  continue;
1553
1553
  }
1554
- if (Ar.test(i.stem)) {
1554
+ if (vr.test(i.stem)) {
1555
1555
  t.minimumIntegerDigits = i.stem.length;
1556
1556
  continue;
1557
1557
  }
@@ -1569,7 +1569,7 @@ function no(e) {
1569
1569
  t = P(P({}, t), Tn(i.stem));
1570
1570
  continue;
1571
1571
  }
1572
- var s = br(i.stem);
1572
+ var s = Ar(i.stem);
1573
1573
  s && (t = P(P({}, t), s));
1574
1574
  var a = to(i.stem);
1575
1575
  a && (t = P(P({}, t), a));
@@ -3075,7 +3075,7 @@ var Sn = ao ? (
3075
3075
  return n;
3076
3076
  }
3077
3077
  )
3078
- ), vr = ho ? (
3078
+ ), br = ho ? (
3079
3079
  // Native
3080
3080
  function(t, n) {
3081
3081
  return t.codePointAt(n);
@@ -3089,7 +3089,7 @@ var Sn = ao ? (
3089
3089
  return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3090
3090
  }
3091
3091
  }
3092
- ), Ao = fo ? (
3092
+ ), vo = fo ? (
3093
3093
  // Native
3094
3094
  function(t) {
3095
3095
  return t.trimStart();
@@ -3099,7 +3099,7 @@ var Sn = ao ? (
3099
3099
  function(t) {
3100
3100
  return t.replace(oo, "");
3101
3101
  }
3102
- ), bo = co ? (
3102
+ ), Ao = co ? (
3103
3103
  // Native
3104
3104
  function(t) {
3105
3105
  return t.trimEnd();
@@ -3125,14 +3125,14 @@ if (qt) {
3125
3125
  } else
3126
3126
  $t = function(t, n) {
3127
3127
  for (var r = []; ; ) {
3128
- var i = vr(t, n);
3128
+ var i = br(t, n);
3129
3129
  if (i === void 0 || yr(i) || wo(i))
3130
3130
  break;
3131
3131
  r.push(i), n += i >= 65536 ? 2 : 1;
3132
3132
  }
3133
3133
  return Kt.apply(void 0, r);
3134
3134
  };
3135
- var vo = (
3135
+ var bo = (
3136
3136
  /** @class */
3137
3137
  function() {
3138
3138
  function e(t, n) {
@@ -3330,7 +3330,7 @@ var vo = (
3330
3330
  var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3331
3331
  if (f.err)
3332
3332
  return f;
3333
- var d = bo(f.val);
3333
+ var d = Ao(f.val);
3334
3334
  if (d.length === 0)
3335
3335
  return this.error(H.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
3336
3336
  var E = O(c, this.clonePosition());
@@ -3341,7 +3341,7 @@ var vo = (
3341
3341
  return T;
3342
3342
  var x = O(i, this.clonePosition());
3343
3343
  if (u && Sn(u?.style, "::", 0)) {
3344
- var U = Ao(u.style.slice(2));
3344
+ var U = vo(u.style.slice(2));
3345
3345
  if (a === "number") {
3346
3346
  var f = this.parseNumberSkeletonFromString(U, u.styleLocation);
3347
3347
  return f.err ? f : {
@@ -3378,9 +3378,9 @@ var vo = (
3378
3378
  case "plural":
3379
3379
  case "selectordinal":
3380
3380
  case "select": {
3381
- var b = this.clonePosition();
3381
+ var A = this.clonePosition();
3382
3382
  if (this.bumpSpace(), !this.bumpIf(","))
3383
- return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, O(b, P({}, b)));
3383
+ return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, O(A, P({}, A)));
3384
3384
  this.bumpSpace();
3385
3385
  var I = this.parseIdentifierIfPossible(), N = 0;
3386
3386
  if (a !== "select" && I.value === "offset") {
@@ -3534,7 +3534,7 @@ var vo = (
3534
3534
  var t = this.position.offset;
3535
3535
  if (t >= this.message.length)
3536
3536
  throw Error("out of bound");
3537
- var n = vr(this.message, t);
3537
+ var n = br(this.message, t);
3538
3538
  if (n === void 0)
3539
3539
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3540
3540
  return n;
@@ -3610,7 +3610,7 @@ function tn(e) {
3610
3610
  }
3611
3611
  function xo(e, t) {
3612
3612
  t === void 0 && (t = {}), t = P({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3613
- var n = new vo(e, t).parse();
3613
+ var n = new bo(e, t).parse();
3614
3614
  if (n.err) {
3615
3615
  var r = SyntaxError(H[n.err.kind]);
3616
3616
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
@@ -3624,7 +3624,7 @@ var je;
3624
3624
  var Bt = (
3625
3625
  /** @class */
3626
3626
  function(e) {
3627
- ve(t, e);
3627
+ be(t, e);
3628
3628
  function t(n, r, i) {
3629
3629
  var o = e.call(this, n) || this;
3630
3630
  return o.code = r, o.originalMessage = i, o;
@@ -3636,7 +3636,7 @@ var Bt = (
3636
3636
  ), On = (
3637
3637
  /** @class */
3638
3638
  function(e) {
3639
- ve(t, e);
3639
+ be(t, e);
3640
3640
  function t(n, r, i, o) {
3641
3641
  return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), je.INVALID_VALUE, o) || this;
3642
3642
  }
@@ -3645,7 +3645,7 @@ var Bt = (
3645
3645
  ), Io = (
3646
3646
  /** @class */
3647
3647
  function(e) {
3648
- ve(t, e);
3648
+ be(t, e);
3649
3649
  function t(n, r, i) {
3650
3650
  return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), je.INVALID_VALUE, i) || this;
3651
3651
  }
@@ -3654,7 +3654,7 @@ var Bt = (
3654
3654
  ), Bo = (
3655
3655
  /** @class */
3656
3656
  function(e) {
3657
- ve(t, e);
3657
+ be(t, e);
3658
3658
  function t(n, r) {
3659
3659
  return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), je.MISSING_VALUE, r) || this;
3660
3660
  }
@@ -3747,25 +3747,25 @@ function gt(e, t, n, r, i, o, s) {
3747
3747
  }));
3748
3748
  }
3749
3749
  if (fr(c)) {
3750
- var b = c.options[d] || c.options.other;
3751
- if (!b)
3750
+ var A = c.options[d] || c.options.other;
3751
+ if (!A)
3752
3752
  throw new On(c.value, d, Object.keys(c.options), s);
3753
- a.push.apply(a, gt(b.value, t, n, r, i));
3753
+ a.push.apply(a, gt(A.value, t, n, r, i));
3754
3754
  continue;
3755
3755
  }
3756
3756
  if (cr(c)) {
3757
- var b = c.options["=".concat(d)];
3758
- if (!b) {
3757
+ var A = c.options["=".concat(d)];
3758
+ if (!A) {
3759
3759
  if (!Intl.PluralRules)
3760
3760
  throw new Bt(`Intl.PluralRules is not available in this environment.
3761
3761
  Try polyfilling it using "@formatjs/intl-pluralrules"
3762
3762
  `, je.MISSING_INTL_API, s);
3763
3763
  var I = n.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3764
- b = c.options[I] || c.options.other;
3764
+ A = c.options[I] || c.options.other;
3765
3765
  }
3766
- if (!b)
3766
+ if (!A)
3767
3767
  throw new On(c.value, d, Object.keys(c.options), s);
3768
- a.push.apply(a, gt(b.value, t, n, r, i, d - (c.offset || 0)));
3768
+ a.push.apply(a, gt(A.value, t, n, r, i, d - (c.offset || 0)));
3769
3769
  continue;
3770
3770
  }
3771
3771
  }
@@ -4004,12 +4004,12 @@ ze(
4004
4004
  ([e]) => Object.keys(e)
4005
4005
  );
4006
4006
  Je.subscribe((e) => ln = e);
4007
- const At = {};
4007
+ const vt = {};
4008
4008
  function Mo(e, t) {
4009
- At[e].delete(t), At[e].size === 0 && delete At[e];
4009
+ vt[e].delete(t), vt[e].size === 0 && delete vt[e];
4010
4010
  }
4011
4011
  function Br(e) {
4012
- return At[e];
4012
+ return vt[e];
4013
4013
  }
4014
4014
  function ko(e) {
4015
4015
  return Tt(e).map((t) => {
@@ -4494,11 +4494,11 @@ var sn = { exports: {} };
4494
4494
  return 3;
4495
4495
  throw new Error();
4496
4496
  }
4497
- for (var p = 65533, y = "", v = this.bitsNeeded, C = this.codePoint, z = 0; z < h.length; z += 1) {
4497
+ for (var p = 65533, y = "", b = this.bitsNeeded, C = this.codePoint, z = 0; z < h.length; z += 1) {
4498
4498
  var R = h[z];
4499
- v !== 0 && (R < 128 || R > 191 || !m(C << 6 | R & 63, v - 6, g(v, C))) && (v = 0, C = p, y += String.fromCharCode(C)), v === 0 ? (R >= 0 && R <= 127 ? (v = 0, C = R) : R >= 192 && R <= 223 ? (v = 6 * 1, C = R & 31) : R >= 224 && R <= 239 ? (v = 6 * 2, C = R & 15) : R >= 240 && R <= 247 ? (v = 6 * 3, C = R & 7) : (v = 0, C = p), v !== 0 && !m(C, v, g(v, C)) && (v = 0, C = p)) : (v -= 6, C = C << 6 | R & 63), v === 0 && (C <= 65535 ? y += String.fromCharCode(C) : (y += String.fromCharCode(55296 + (C - 65535 - 1 >> 10)), y += String.fromCharCode(56320 + (C - 65535 - 1 & 1023))));
4499
+ b !== 0 && (R < 128 || R > 191 || !m(C << 6 | R & 63, b - 6, g(b, C))) && (b = 0, C = p, y += String.fromCharCode(C)), b === 0 ? (R >= 0 && R <= 127 ? (b = 0, C = R) : R >= 192 && R <= 223 ? (b = 6 * 1, C = R & 31) : R >= 224 && R <= 239 ? (b = 6 * 2, C = R & 15) : R >= 240 && R <= 247 ? (b = 6 * 3, C = R & 7) : (b = 0, C = p), b !== 0 && !m(C, b, g(b, C)) && (b = 0, C = p)) : (b -= 6, C = C << 6 | R & 63), b === 0 && (C <= 65535 ? y += String.fromCharCode(C) : (y += String.fromCharCode(55296 + (C - 65535 - 1 >> 10)), y += String.fromCharCode(56320 + (C - 65535 - 1 & 1023))));
4500
4500
  }
4501
- return this.bitsNeeded = v, this.codePoint = C, y;
4501
+ return this.bitsNeeded = b, this.codePoint = C, y;
4502
4502
  };
4503
4503
  var S = function() {
4504
4504
  try {
@@ -4509,16 +4509,16 @@ var sn = { exports: {} };
4509
4509
  return !1;
4510
4510
  };
4511
4511
  (E == null || T == null || !S()) && (E = X);
4512
- var b = function() {
4512
+ var A = function() {
4513
4513
  };
4514
4514
  function I(h) {
4515
- this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = b, this.onload = b, this.onerror = b, this.onreadystatechange = b, this._contentType = "", this._xhr = h, this._sendTimeout = 0, this._abort = b;
4515
+ this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = A, this.onload = A, this.onerror = A, this.onreadystatechange = A, this._contentType = "", this._xhr = h, this._sendTimeout = 0, this._abort = A;
4516
4516
  }
4517
4517
  I.prototype.open = function(h, m) {
4518
4518
  this._abort(!0);
4519
- var g = this, p = this._xhr, y = 1, v = 0;
4519
+ var g = this, p = this._xhr, y = 1, b = 0;
4520
4520
  this._abort = function(w) {
4521
- g._sendTimeout !== 0 && (i(g._sendTimeout), g._sendTimeout = 0), (y === 1 || y === 2 || y === 3) && (y = 4, p.onload = b, p.onerror = b, p.onabort = b, p.onprogress = b, p.onreadystatechange = b, p.abort(), v !== 0 && (i(v), v = 0), w || (g.readyState = 4, g.onabort(null), g.onreadystatechange())), y = 0;
4521
+ g._sendTimeout !== 0 && (i(g._sendTimeout), g._sendTimeout = 0), (y === 1 || y === 2 || y === 3) && (y = 4, p.onload = A, p.onerror = A, p.onabort = A, p.onprogress = A, p.onreadystatechange = A, p.abort(), b !== 0 && (i(b), b = 0), w || (g.readyState = 4, g.onabort(null), g.onreadystatechange())), y = 0;
4522
4522
  };
4523
4523
  var C = function() {
4524
4524
  if (y === 1) {
@@ -4545,9 +4545,9 @@ var sn = { exports: {} };
4545
4545
  }
4546
4546
  }, R = function(w, J) {
4547
4547
  if ((J == null || J.preventDefault == null) && (J = {
4548
- preventDefault: b
4548
+ preventDefault: A
4549
4549
  }), z(), y === 1 || y === 2 || y === 3) {
4550
- if (y = 4, v !== 0 && (i(v), v = 0), g.readyState = 4, w === "load")
4550
+ if (y = 4, b !== 0 && (i(b), b = 0), g.readyState = 4, w === "load")
4551
4551
  g.onload(J);
4552
4552
  else if (w === "error")
4553
4553
  g.onerror(J);
@@ -4560,7 +4560,7 @@ var sn = { exports: {} };
4560
4560
  }, L = function(w) {
4561
4561
  p != null && (p.readyState === 4 ? (!("onload" in p) || !("onerror" in p) || !("onabort" in p)) && R(p.responseText === "" ? "error" : "load", w) : p.readyState === 3 ? "onprogress" in p || z() : p.readyState === 2 && C());
4562
4562
  }, k = function() {
4563
- v = r(function() {
4563
+ b = r(function() {
4564
4564
  k();
4565
4565
  }, 500), p.readyState === 3 && z();
4566
4566
  };
@@ -4572,7 +4572,7 @@ var sn = { exports: {} };
4572
4572
  R("abort", w);
4573
4573
  }), "onprogress" in p && (p.onprogress = z), "onreadystatechange" in p && (p.onreadystatechange = function(w) {
4574
4574
  L(w);
4575
- }), ("contentType" in p || !("ontimeout" in o.prototype)) && (m += (m.indexOf("?") === -1 ? "?" : "&") + "padding=true"), p.open(h, m, !0), "readyState" in p && (v = r(function() {
4575
+ }), ("contentType" in p || !("ontimeout" in o.prototype)) && (m += (m.indexOf("?") === -1 ? "?" : "&") + "padding=true"), p.open(h, m, !0), "readyState" in p && (b = r(function() {
4576
4576
  k();
4577
4577
  }, 0));
4578
4578
  }, I.prototype.abort = function() {
@@ -4608,7 +4608,7 @@ var sn = { exports: {} };
4608
4608
  function W(h) {
4609
4609
  for (var m = /* @__PURE__ */ Object.create(null), g = h.split(`\r
4610
4610
  `), p = 0; p < g.length; p += 1) {
4611
- var y = g[p], v = y.split(": "), C = v.shift(), z = v.join(": ");
4611
+ var y = g[p], b = y.split(": "), C = b.shift(), z = b.join(": ");
4612
4612
  m[N(C)] = z;
4613
4613
  }
4614
4614
  this._map = m;
@@ -4618,7 +4618,7 @@ var sn = { exports: {} };
4618
4618
  }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
4619
4619
  function F() {
4620
4620
  }
4621
- F.prototype.open = function(h, m, g, p, y, v, C) {
4621
+ F.prototype.open = function(h, m, g, p, y, b, C) {
4622
4622
  h.open("GET", y);
4623
4623
  var z = 0;
4624
4624
  h.onprogress = function() {
@@ -4635,7 +4635,7 @@ var sn = { exports: {} };
4635
4635
  var L = h.status, k = h.statusText, w = h.getResponseHeader("Content-Type"), J = h.getAllResponseHeaders();
4636
4636
  m(L, k, w, new W(J));
4637
4637
  }
4638
- }, h.withCredentials = v;
4638
+ }, h.withCredentials = b;
4639
4639
  for (var R in C)
4640
4640
  Object.prototype.hasOwnProperty.call(C, R) && h.setRequestHeader(R, C[R]);
4641
4641
  return h.send(), h;
@@ -4648,11 +4648,11 @@ var sn = { exports: {} };
4648
4648
  };
4649
4649
  function K() {
4650
4650
  }
4651
- K.prototype.open = function(h, m, g, p, y, v, C) {
4651
+ K.prototype.open = function(h, m, g, p, y, b, C) {
4652
4652
  var z = null, R = new x(), L = R.signal, k = new E();
4653
4653
  return f(y, {
4654
4654
  headers: C,
4655
- credentials: v ? "include" : "same-origin",
4655
+ credentials: b ? "include" : "same-origin",
4656
4656
  signal: L,
4657
4657
  cache: "no-store"
4658
4658
  }).then(function(w) {
@@ -4698,23 +4698,23 @@ var sn = { exports: {} };
4698
4698
  var y = m[p];
4699
4699
  try {
4700
4700
  typeof y.handleEvent == "function" ? y.handleEvent(h) : y.call(this, h);
4701
- } catch (v) {
4702
- nt(v);
4701
+ } catch (b) {
4702
+ nt(b);
4703
4703
  }
4704
4704
  }
4705
4705
  }, Be.prototype.addEventListener = function(h, m) {
4706
4706
  h = String(h);
4707
4707
  var g = this._listeners, p = g[h];
4708
4708
  p == null && (p = [], g[h] = p);
4709
- for (var y = !1, v = 0; v < p.length; v += 1)
4710
- p[v] === m && (y = !0);
4709
+ for (var y = !1, b = 0; b < p.length; b += 1)
4710
+ p[b] === m && (y = !0);
4711
4711
  y || p.push(m);
4712
4712
  }, Be.prototype.removeEventListener = function(h, m) {
4713
4713
  h = String(h);
4714
4714
  var g = this._listeners, p = g[h];
4715
4715
  if (p != null) {
4716
- for (var y = [], v = 0; v < p.length; v += 1)
4717
- p[v] !== m && y.push(p[v]);
4716
+ for (var y = [], b = 0; b < p.length; b += 1)
4717
+ p[b] !== m && y.push(p[b]);
4718
4718
  y.length === 0 ? delete g[h] : g[h] = y;
4719
4719
  }
4720
4720
  };
@@ -4733,7 +4733,7 @@ var sn = { exports: {} };
4733
4733
  Ee.call(this, h), this.error = m.error;
4734
4734
  }
4735
4735
  it.prototype = Object.create(Ee.prototype);
4736
- var Ve = -1, ce = 0, we = 1, A = 2, D = -1, _ = 0, $ = 1, ot = 2, St = 3, Ht = /^text\/event\-stream(;.*)?$/i, Or = 1e3, Nr = 18e6, Rt = function(h, m) {
4736
+ var Ve = -1, ce = 0, we = 1, v = 2, D = -1, _ = 0, $ = 1, ot = 2, St = 3, Ht = /^text\/event\-stream(;.*)?$/i, Or = 1e3, Nr = 18e6, Rt = function(h, m) {
4737
4737
  var g = h == null ? m : parseInt(h, 10);
4738
4738
  return g !== g && (g = m), Ot(g);
4739
4739
  }, Ot = function(h) {
@@ -4754,10 +4754,10 @@ var sn = { exports: {} };
4754
4754
  var Pr = f != null && d != null && "body" in d.prototype;
4755
4755
  function Dr(h, m, g) {
4756
4756
  m = String(m);
4757
- var p = !!g.withCredentials, y = g.lastEventIdQueryParameterName || "lastEventId", v = Ot(1e3), C = Rt(g.heartbeatTimeout, 45e3), z = "", R = v, L = !1, k = 0, w = g.headers || {}, J = g.Transport, de = Pr && J == null ? void 0 : new I(J != null ? new J() : _r()), Ze = J != null && typeof J != "string" ? new J() : de == null ? new K() : new F(), se = void 0, ne = 0, he = Ve, Re = "", st = "", pe = "", at = "", re = _, Nt = 0, Te = 0, Lr = function(Y, Z, ae, ue) {
4757
+ var p = !!g.withCredentials, y = g.lastEventIdQueryParameterName || "lastEventId", b = Ot(1e3), C = Rt(g.heartbeatTimeout, 45e3), z = "", R = b, L = !1, k = 0, w = g.headers || {}, J = g.Transport, de = Pr && J == null ? void 0 : new I(J != null ? new J() : _r()), Ze = J != null && typeof J != "string" ? new J() : de == null ? new K() : new F(), se = void 0, ne = 0, he = Ve, Re = "", st = "", pe = "", at = "", re = _, Nt = 0, Te = 0, Lr = function(Y, Z, ae, ue) {
4758
4758
  if (he === ce)
4759
4759
  if (Y === 200 && ae != null && Ht.test(ae)) {
4760
- he = we, L = Date.now(), R = v, h.readyState = we;
4760
+ he = we, L = Date.now(), R = b, h.readyState = we;
4761
4761
  var ie = new ye("open", {
4762
4762
  status: Y,
4763
4763
  statusText: Z,
@@ -4791,7 +4791,7 @@ var sn = { exports: {} };
4791
4791
  re === $ && (Te = ee + 1);
4792
4792
  var me = ie.slice(Nt, Te - 1), ge = ie.slice(Te + (Te < ee && ie.charCodeAt(Te) === 32 ? 1 : 0), ee);
4793
4793
  me === "data" ? (Re += `
4794
- `, Re += ge) : me === "id" ? st = ge : me === "event" ? pe = ge : me === "retry" ? (v = Rt(ge, v), R = v) : me === "heartbeatTimeout" && (C = Rt(ge, C), ne !== 0 && (i(ne), ne = r(function() {
4794
+ `, Re += ge) : me === "id" ? st = ge : me === "event" ? pe = ge : me === "retry" ? (b = Rt(ge, b), R = b) : me === "heartbeatTimeout" && (C = Rt(ge, C), ne !== 0 && (i(ne), ne = r(function() {
4795
4795
  We();
4796
4796
  }, C)));
4797
4797
  }
@@ -4802,7 +4802,7 @@ var sn = { exports: {} };
4802
4802
  data: Re.slice(1),
4803
4803
  lastEventId: st
4804
4804
  });
4805
- if (h.dispatchEvent(Oe), pe === "open" ? He(h, h.onopen, Oe) : pe === "message" ? He(h, h.onmessage, Oe) : pe === "error" && He(h, h.onerror, Oe), he === A)
4805
+ if (h.dispatchEvent(Oe), pe === "open" ? He(h, h.onopen, Oe) : pe === "message" ? He(h, h.onmessage, Oe) : pe === "error" && He(h, h.onerror, Oe), he === v)
4806
4806
  return;
4807
4807
  }
4808
4808
  Re = "", pe = "";
@@ -4816,12 +4816,12 @@ var sn = { exports: {} };
4816
4816
  if (he === we || he === ce) {
4817
4817
  he = Ve, ne !== 0 && (i(ne), ne = 0), ne = r(function() {
4818
4818
  We();
4819
- }, R), R = Ot(Math.min(v * 16, R * 2)), h.readyState = ce;
4819
+ }, R), R = Ot(Math.min(b * 16, R * 2)), h.readyState = ce;
4820
4820
  var Z = new it("error", { error: Y });
4821
4821
  h.dispatchEvent(Z), He(h, h.onerror, Z), Y != null && console.error(Y);
4822
4822
  }
4823
4823
  }, _t = function() {
4824
- he = A, se != null && (se.abort(), se = void 0), ne !== 0 && (i(ne), ne = 0), h.readyState = A;
4824
+ he = v, se != null && (se.abort(), se = void 0), ne !== 0 && (i(ne), ne = 0), h.readyState = v;
4825
4825
  }, We = function() {
4826
4826
  if (ne = 0, he !== Ve) {
4827
4827
  if (!L && se != null)
@@ -4858,9 +4858,9 @@ var sn = { exports: {} };
4858
4858
  };
4859
4859
  h.url = m, h.readyState = ce, h.withCredentials = p, h.headers = w, h._close = _t, We();
4860
4860
  }
4861
- le.prototype = Object.create(Be.prototype), le.prototype.CONNECTING = ce, le.prototype.OPEN = we, le.prototype.CLOSED = A, le.prototype.close = function() {
4861
+ le.prototype = Object.create(Be.prototype), le.prototype.CONNECTING = ce, le.prototype.OPEN = we, le.prototype.CLOSED = v, le.prototype.close = function() {
4862
4862
  this._close();
4863
- }, le.CONNECTING = ce, le.OPEN = we, le.CLOSED = A, le.prototype.withCredentials = void 0;
4863
+ }, le.CONNECTING = ce, le.OPEN = we, le.CLOSED = v, le.prototype.withCredentials = void 0;
4864
4864
  var fn = l;
4865
4865
  o != null && (l == null || !("withCredentials" in l.prototype)) && (fn = le), function(h) {
4866
4866
  {
@@ -4873,7 +4873,7 @@ var sn = { exports: {} };
4873
4873
  })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : xi : globalThis);
4874
4874
  })(sn, sn.exports);
4875
4875
  var gs = sn.exports;
4876
- const Rr = (e) => window.postMessage(e, window.location.href), As = (e, t) => {
4876
+ const Rr = (e) => window.postMessage(e, window.location.href), vs = (e, t) => {
4877
4877
  Rr({
4878
4878
  type: "TournamentsTabTotalUpdate",
4879
4879
  state: e,
@@ -4885,15 +4885,15 @@ const Rr = (e) => window.postMessage(e, window.location.href), As = (e, t) => {
4885
4885
  state: e,
4886
4886
  text: t
4887
4887
  });
4888
- }, bs = (e) => (n) => {
4888
+ }, As = (e) => (n) => {
4889
4889
  Object.keys(e).map((r) => {
4890
4890
  if (n.data && n.data.type == r) {
4891
4891
  const { type: i, ...o } = n.data;
4892
4892
  e[r](o);
4893
4893
  }
4894
4894
  });
4895
- }, vs = (e) => {
4896
- const t = bs(e);
4895
+ }, bs = (e) => {
4896
+ const t = As(e);
4897
4897
  Zn(() => (window.addEventListener("message", t), () => {
4898
4898
  window.removeEventListener("message", t);
4899
4899
  }));
@@ -4934,7 +4934,7 @@ if (typeof window < "u") {
4934
4934
  }
4935
4935
  };
4936
4936
  };
4937
- customElements.define = e(customElements.define), import("./CasinoTournamentsTab-C9Q0pAnC.js").then(({ default: t }) => {
4937
+ customElements.define = e(customElements.define), import("./CasinoTournamentsTab-CIqnibzp.js").then(({ default: t }) => {
4938
4938
  !customElements.get("casino-tournaments-tab") && customElements.define("casino-tournaments-tab", t.element);
4939
4939
  });
4940
4940
  }
@@ -4984,7 +4984,7 @@ function Bs(e) {
4984
4984
  let o = i(e), s = o(e);
4985
4985
  return {
4986
4986
  c() {
4987
- t = j("section"), n = j("casino-tournaments-tab"), r = Ae(), s.c(), ut(
4987
+ t = j("section"), n = j("casino-tournaments-tab"), r = ve(), s.c(), ut(
4988
4988
  n,
4989
4989
  "tabs",
4990
4990
  /*states*/
@@ -5073,7 +5073,7 @@ function Ss(e) {
5073
5073
  t = j("table"), n = j("thead"), r = j("tr");
5074
5074
  for (let u = 0; u < 4; u += 1)
5075
5075
  s[u].c();
5076
- i = Ae();
5076
+ i = ve();
5077
5077
  for (let u = 0; u < l.length; u += 1)
5078
5078
  l[u].c();
5079
5079
  },
@@ -5173,14 +5173,14 @@ function Gn(e) {
5173
5173
  /*item*/
5174
5174
  e[33].enddate
5175
5175
  )), S = [];
5176
- for (let b = 0; b < X.length; b += 1)
5177
- S[b] = jn(kn(e, X, b));
5176
+ for (let A = 0; A < X.length; A += 1)
5177
+ S[A] = jn(kn(e, X, A));
5178
5178
  return {
5179
5179
  c() {
5180
- t = j("td"), r = Ce(n), i = Ae(), o = j("td"), a = Ce(s), l = Ae(), u = j("td");
5181
- for (let b = 0; b < S.length; b += 1)
5182
- S[b].c();
5183
- c = Ae(), f = j("td"), E = Ce(d), B(t, "class", "Title"), B(t, "part", "Title"), B(o, "class", "Rank"), ht(
5180
+ t = j("td"), r = Ce(n), i = ve(), o = j("td"), a = Ce(s), l = ve(), u = j("td");
5181
+ for (let A = 0; A < S.length; A += 1)
5182
+ S[A].c();
5183
+ c = ve(), f = j("td"), E = Ce(d), B(t, "class", "Title"), B(t, "part", "Title"), B(o, "class", "Rank"), ht(
5184
5184
  o,
5185
5185
  "active",
5186
5186
  /*item*/
@@ -5192,14 +5192,14 @@ function Gn(e) {
5192
5192
  e[33].prize
5193
5193
  );
5194
5194
  },
5195
- m(b, I) {
5196
- q(b, t, I), M(t, r), q(b, i, I), q(b, o, I), M(o, a), q(b, l, I), q(b, u, I);
5195
+ m(A, I) {
5196
+ q(A, t, I), M(t, r), q(A, i, I), q(A, o, I), M(o, a), q(A, l, I), q(A, u, I);
5197
5197
  for (let N = 0; N < S.length; N += 1)
5198
5198
  S[N] && S[N].m(u, null);
5199
- q(b, c, I), q(b, f, I), M(f, E), T || (x = bt(t, "click", U), T = !0);
5199
+ q(A, c, I), q(A, f, I), M(f, E), T || (x = At(t, "click", U), T = !0);
5200
5200
  },
5201
- p(b, I) {
5202
- if (e = b, I[0] & /*list*/
5201
+ p(A, I) {
5202
+ if (e = A, I[0] & /*list*/
5203
5203
  32 && n !== (n = /*item*/
5204
5204
  e[33].title + "") && Me(r, n), I[0] & /*list*/
5205
5205
  32 && s !== (s = /*item*/
@@ -5234,8 +5234,8 @@ function Gn(e) {
5234
5234
  e[33].prize
5235
5235
  );
5236
5236
  },
5237
- d(b) {
5238
- b && (V(t), V(i), V(o), V(l), V(u), V(c), V(f)), jt(S, b), T = !1, x();
5237
+ d(A) {
5238
+ A && (V(t), V(i), V(o), V(l), V(u), V(c), V(f)), jt(S, A), T = !1, x();
5239
5239
  }
5240
5240
  };
5241
5241
  }
@@ -5268,7 +5268,7 @@ function Qn(e) {
5268
5268
  );
5269
5269
  return {
5270
5270
  c() {
5271
- t = j("tbody"), n = j("tr"), i && i.c(), r = Ae();
5271
+ t = j("tbody"), n = j("tr"), i && i.c(), r = ve();
5272
5272
  },
5273
5273
  m(o, s) {
5274
5274
  q(o, t, s), M(t, n), i && i.m(n, null), M(t, r);
@@ -5286,7 +5286,7 @@ function Hs(e) {
5286
5286
  let t, n, r, i, o, s, a, l, u, c, f, d, E = (
5287
5287
  /*$_*/
5288
5288
  e[6]("myTournaments") + ""
5289
- ), T, x, U, X, S, b, I = (
5289
+ ), T, x, U, X, S, A, I = (
5290
5290
  /*href*/
5291
5291
  e[7] && Is(e)
5292
5292
  );
@@ -5299,7 +5299,7 @@ function Hs(e) {
5299
5299
  let W = N(e), F = W(e);
5300
5300
  return {
5301
5301
  c() {
5302
- t = j("div"), n = j("div"), r = j("div"), i = Pe("svg"), o = Pe("rect"), s = Pe("defs"), a = Pe("pattern"), l = Pe("use"), I && I.c(), f = Ae(), d = j("div"), T = Ce(E), x = Ae(), U = j("div"), U.textContent = "X", X = Ae(), F.c(), B(
5302
+ t = j("div"), n = j("div"), r = j("div"), i = Pe("svg"), o = Pe("rect"), s = Pe("defs"), a = Pe("pattern"), l = Pe("use"), I && I.c(), f = ve(), d = j("div"), T = Ce(E), x = ve(), U = j("div"), U.textContent = "X", X = ve(), F.c(), B(
5303
5303
  o,
5304
5304
  "width",
5305
5305
  /*svgSize*/
@@ -5321,7 +5321,7 @@ function Hs(e) {
5321
5321
  e[3]
5322
5322
  ), B(i, "viewBox", u = `0 0 ${/*svgSize*/
5323
5323
  e[3]} ${/*svgSize*/
5324
- e[3]}`), B(i, "fill", "none"), B(i, "xmlns", "http://www.w3.org/2000/svg"), B(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), B(r, "class", "svg"), vt(() => (
5324
+ e[3]}`), B(i, "fill", "none"), B(i, "xmlns", "http://www.w3.org/2000/svg"), B(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), B(r, "class", "svg"), bt(() => (
5325
5325
  /*div0_elementresize_handler*/
5326
5326
  e[18].call(r)
5327
5327
  )), B(d, "class", "text"), B(U, "class", "CloseButton"), B(U, "part", "CloseButton"), B(n, "class", "top-wrapper"), B(t, "class", "Root"), B(t, "part", "Root");
@@ -5331,7 +5331,7 @@ function Hs(e) {
5331
5331
  r,
5332
5332
  /*div0_elementresize_handler*/
5333
5333
  e[18].bind(r)
5334
- ), M(n, f), M(n, d), M(d, T), M(n, x), M(n, U), M(t, X), F.m(t, null), e[21](t), S || (b = bt(
5334
+ ), M(n, f), M(n, d), M(d, T), M(n, x), M(n, U), M(t, X), F.m(t, null), e[21](t), S || (A = At(
5335
5335
  U,
5336
5336
  "click",
5337
5337
  /*click_handler*/
@@ -5374,13 +5374,13 @@ function Hs(e) {
5374
5374
  i: te,
5375
5375
  o: te,
5376
5376
  d(Q) {
5377
- Q && V(t), I && I.d(), c(), F.d(), e[21](null), S = !1, b();
5377
+ Q && V(t), I && I.d(), c(), F.d(), e[21](null), S = !1, A();
5378
5378
  }
5379
5379
  };
5380
5380
  }
5381
5381
  function Rs(e, t, n) {
5382
5382
  let r, i, o, s, a;
5383
- Ur(e, hs, (A) => n(6, a = A));
5383
+ Ur(e, hs, (v) => n(6, a = v));
5384
5384
  let { endpoint: l = "" } = t, { lang: u = "en" } = t, { session: c = "" } = t, { state: f = void 0 } = t, { states: d = "Scheduled,Ongoing,Finished" } = t, { filter: E = "" } = t, { clientstyling: T = "" } = t, { clientstylingurl: x = "" } = t, { translationurl: U = "" } = t;
5385
5385
  Hr({ withLocale: "en", translations: {} });
5386
5386
  const X = () => {
@@ -5392,15 +5392,15 @@ function Rs(e, t, n) {
5392
5392
  console.log(D);
5393
5393
  });
5394
5394
  };
5395
- Object.keys(wt).forEach((A) => {
5396
- on(A, wt[A]);
5395
+ Object.keys(wt).forEach((v) => {
5396
+ on(v, wt[v]);
5397
5397
  });
5398
- let S, b, I = 0, N = ri, W = !0, F = {};
5399
- const Q = (A) => {
5398
+ let S, A, I = 0, N = ri, W = !0, F = {};
5399
+ const Q = (v) => {
5400
5400
  let D = {};
5401
5401
  i.map((_) => {
5402
5402
  D[_] || (D[_] = []);
5403
- }), A.items.map((_) => {
5403
+ }), v.items.map((_) => {
5404
5404
  const { id: $, nameOrTitle: ot, endTime: St } = _.tournament, Ht = {
5405
5405
  id: $,
5406
5406
  title: ot,
@@ -5411,14 +5411,14 @@ function Rs(e, t, n) {
5411
5411
  D[Ln(_.tournament.state)].push(Ht);
5412
5412
  }), n(15, F = D);
5413
5413
  }, K = ws({
5414
- PlayerLeaderBoardsUpdate: (A) => {
5415
- Q(A), o.map((D) => {
5416
- As(D, F[D].length);
5414
+ PlayerLeaderBoardsUpdate: (v) => {
5415
+ Q(v), o.map((D) => {
5416
+ vs(D, F[D].length);
5417
5417
  });
5418
5418
  },
5419
- TournamentUpdate: (A) => {
5420
- if (A.item) {
5421
- const D = A.item;
5419
+ TournamentUpdate: (v) => {
5420
+ if (v.item) {
5421
+ const D = v.item;
5422
5422
  let _ = Ln(D.state);
5423
5423
  n(15, F = {
5424
5424
  ...F,
@@ -5430,19 +5430,19 @@ function Rs(e, t, n) {
5430
5430
  });
5431
5431
  }
5432
5432
  }
5433
- }), Be = async (A, D) => {
5433
+ }), Be = async (v, D) => {
5434
5434
  const _ = `${l}/v1/tournaments`, $ = new URL(_);
5435
- $.searchParams.append("pagination", `offset=${A},limit=${D}`), $.searchParams.append("sortField", "StartTime"), $.searchParams.append("sortOrder", "desc"), $.searchParams.append("language", u), $.searchParams.append("XSessionId", c), E && $.searchParams.append("filter", E), b = ys(b, Es(`${_}/leaderboard/player/updates?${$.searchParams.toString()}`), K);
5435
+ $.searchParams.append("pagination", `offset=${v},limit=${D}`), $.searchParams.append("sortField", "StartTime"), $.searchParams.append("sortOrder", "desc"), $.searchParams.append("language", u), $.searchParams.append("XSessionId", c), E && $.searchParams.append("filter", E), A = ys(A, Es(`${_}/leaderboard/player/updates?${$.searchParams.toString()}`), K);
5436
5436
  };
5437
5437
  ms();
5438
5438
  const nt = () => {
5439
5439
  Be(0, 30), ps(u), ye();
5440
5440
  }, Ee = () => {
5441
- let A = document.createElement("style");
5442
- A.innerHTML = T, S.appendChild(A);
5441
+ let v = document.createElement("style");
5442
+ v.innerHTML = T, S.appendChild(v);
5443
5443
  }, rt = () => {
5444
- let A = new URL(x), D = document.createElement("style");
5445
- fetch(A.href).then((_) => _.text()).then((_) => {
5444
+ let v = new URL(x), D = document.createElement("style");
5445
+ fetch(v.href).then((_) => _.text()).then((_) => {
5446
5446
  D.innerHTML = _, setTimeout(
5447
5447
  () => {
5448
5448
  S.appendChild(D);
@@ -5457,42 +5457,42 @@ function Rs(e, t, n) {
5457
5457
  }, ye = () => {
5458
5458
  setTimeout(
5459
5459
  () => {
5460
- const A = (D) => a(`${D}`);
5461
- Gt("Scheduled", A("scheduled")), Gt("Ongoing", A("ongoing")), Gt("Finished", `${A("finished")} (${A("last")} 48h)`);
5460
+ const v = (D) => a(`${D}`);
5461
+ Gt("Scheduled", v("scheduled")), Gt("Ongoing", v("ongoing")), Gt("Finished", `${v("finished")} (${v("last")} 48h)`);
5462
5462
  },
5463
5463
  1
5464
5464
  );
5465
5465
  };
5466
5466
  Zn(() => () => {
5467
- b && b.removeEventListener("message", K);
5468
- }), vs({
5469
- TournamentsTabSwitch: async (A) => n(16, r = A.tab)
5467
+ A && A.removeEventListener("message", K);
5468
+ }), bs({
5469
+ TournamentsTabSwitch: async (v) => n(16, r = v.tab)
5470
5470
  });
5471
5471
  function it() {
5472
5472
  I = this.clientWidth, n(3, I);
5473
5473
  }
5474
- const Ve = () => window.postMessage({ type: "OnCloseThumbnail" }, window.location.href), ce = (A) => {
5474
+ const Ve = () => window.postMessage({ type: "OnCloseThumbnail" }, window.location.href), ce = (v) => {
5475
5475
  window.postMessage(
5476
5476
  {
5477
5477
  type: "MyTournamentFromNavClicked",
5478
- tournamentId: A.id,
5478
+ tournamentId: v.id,
5479
5479
  showLeaderboard: !0
5480
5480
  },
5481
5481
  window.location.href
5482
5482
  );
5483
5483
  };
5484
- function we(A) {
5485
- Qt[A ? "unshift" : "push"](() => {
5486
- S = A, n(2, S);
5484
+ function we(v) {
5485
+ Qt[v ? "unshift" : "push"](() => {
5486
+ S = v, n(2, S);
5487
5487
  });
5488
5488
  }
5489
- return e.$$set = (A) => {
5490
- "endpoint" in A && n(8, l = A.endpoint), "lang" in A && n(9, u = A.lang), "session" in A && n(10, c = A.session), "state" in A && n(0, f = A.state), "states" in A && n(1, d = A.states), "filter" in A && n(11, E = A.filter), "clientstyling" in A && n(12, T = A.clientstyling), "clientstylingurl" in A && n(13, x = A.clientstylingurl), "translationurl" in A && n(14, U = A.translationurl);
5489
+ return e.$$set = (v) => {
5490
+ "endpoint" in v && n(8, l = v.endpoint), "lang" in v && n(9, u = v.lang), "session" in v && n(10, c = v.session), "state" in v && n(0, f = v.state), "states" in v && n(1, d = v.states), "filter" in v && n(11, E = v.filter), "clientstyling" in v && n(12, T = v.clientstyling), "clientstylingurl" in v && n(13, x = v.clientstylingurl), "translationurl" in v && n(14, U = v.translationurl);
5491
5491
  }, e.$$.update = () => {
5492
5492
  e.$$.dirty[0] & /*state*/
5493
5493
  1 && n(16, r = f), e.$$.dirty[0] & /*states*/
5494
5494
  2 && n(17, i = d.split(",")), e.$$.dirty[0] & /*__states*/
5495
- 131072 && (o = i.filter((A) => A !== "Finished")), e.$$.dirty[0] & /*tournamentsMatrix, __state*/
5495
+ 131072 && (o = i.filter((v) => v !== "Finished")), e.$$.dirty[0] & /*tournamentsMatrix, __state*/
5496
5496
  98304 && n(5, s = F[r]), e.$$.dirty[0] & /*endpoint, filter, lang, session*/
5497
5497
  3840 && l && E && u && c && nt(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5498
5498
  4100 && T && S && Ee(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
@@ -5622,8 +5622,8 @@ export {
5622
5622
  M as m,
5623
5623
  te as n,
5624
5624
  Zn as o,
5625
- bt as p,
5626
- Ae as q,
5625
+ At as p,
5626
+ ve as q,
5627
5627
  un as s,
5628
5628
  Ce as t
5629
5629
  };