@everymatrix/player-account-gaming-limits-page-2-gmcore 1.64.6 → 1.64.7

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.
@@ -27,7 +27,7 @@ var Bt = (e, t, i) => new Promise((r, n) => {
27
27
  }, a = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(o, s);
28
28
  a((i = i.apply(e, t)).next());
29
29
  });
30
- function U() {
30
+ function j() {
31
31
  }
32
32
  function mi(e) {
33
33
  return e();
@@ -51,7 +51,7 @@ function di(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const r of t)
53
53
  r(void 0);
54
- return U;
54
+ return j;
55
55
  }
56
56
  const i = e.subscribe(...t);
57
57
  return i.unsubscribe ? () => i.unsubscribe() : i;
@@ -65,7 +65,7 @@ function d(e, t) {
65
65
  function yr(e, t, i) {
66
66
  const r = vr(e);
67
67
  if (!r.getElementById(t)) {
68
- const n = y("style");
68
+ const n = v("style");
69
69
  n.id = t, n.textContent = i, _r(r, n);
70
70
  }
71
71
  }
@@ -89,14 +89,14 @@ function _r(e, t) {
89
89
  function B(e, t, i) {
90
90
  e.insertBefore(t, i || null);
91
91
  }
92
- function P(e) {
92
+ function A(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
95
  function De(e, t) {
96
96
  for (let i = 0; i < e.length; i += 1)
97
97
  e[i] && e[i].d(t);
98
98
  }
99
- function y(e) {
99
+ function v(e) {
100
100
  return document.createElement(e);
101
101
  }
102
102
  function de(e) {
@@ -105,7 +105,7 @@ function de(e) {
105
105
  function $(e) {
106
106
  return document.createTextNode(e);
107
107
  }
108
- function j() {
108
+ function U() {
109
109
  return $(" ");
110
110
  }
111
111
  function Er() {
@@ -114,7 +114,7 @@ function Er() {
114
114
  function q(e, t, i, r) {
115
115
  return e.addEventListener(t, i, r), () => e.removeEventListener(t, i, r);
116
116
  }
117
- function b(e, t, i) {
117
+ function g(e, t, i) {
118
118
  i == null ? e.removeAttribute(t) : e.getAttribute(t) !== i && e.setAttribute(t, i);
119
119
  }
120
120
  function bi(e) {
@@ -245,7 +245,7 @@ function kr(e, t, i, r, n, o, s = null, a = [-1]) {
245
245
  ctx: [],
246
246
  // state
247
247
  props: o,
248
- update: U,
248
+ update: j,
249
249
  not_equal: n,
250
250
  bound: Nt(),
251
251
  // lifecycle
@@ -269,7 +269,7 @@ function kr(e, t, i, r, n, o, s = null, a = [-1]) {
269
269
  }) : [], u.update(), l = !0, ie(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
270
270
  if (t.hydrate) {
271
271
  const h = Lr(t.target);
272
- u.fragment && u.fragment.l(h), h.forEach(P);
272
+ u.fragment && u.fragment.l(h), h.forEach(A);
273
273
  } else
274
274
  u.fragment && u.fragment.c();
275
275
  t.intro && Or(e.$$.fragment), Ir(e, t.target, t.anchor), X();
@@ -321,7 +321,7 @@ typeof HTMLElement == "function" && (gi = class extends HTMLElement {
321
321
  let s;
322
322
  return {
323
323
  c: function() {
324
- s = y("slot"), o !== "default" && b(s, "name", o);
324
+ s = v("slot"), o !== "default" && g(s, "name", o);
325
325
  },
326
326
  /**
327
327
  * @param {HTMLElement} target
@@ -331,7 +331,7 @@ typeof HTMLElement == "function" && (gi = class extends HTMLElement {
331
331
  B(u, s, l);
332
332
  },
333
333
  d: function(u) {
334
- u && P(s);
334
+ u && A(s);
335
335
  }
336
336
  };
337
337
  };
@@ -479,7 +479,7 @@ class Dr {
479
479
  }
480
480
  /** @returns {void} */
481
481
  $destroy() {
482
- Hr(this, 1), this.$destroy = U;
482
+ Hr(this, 1), this.$destroy = j;
483
483
  }
484
484
  /**
485
485
  * @template {Extract<keyof Events, string>} K
@@ -489,7 +489,7 @@ class Dr {
489
489
  */
490
490
  $on(t, i) {
491
491
  if (!vt(i))
492
- return U;
492
+ return j;
493
493
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
494
494
  return r.push(i), () => {
495
495
  const n = r.indexOf(i);
@@ -537,7 +537,7 @@ function jr(e, t) {
537
537
  subscribe: Re(e, t).subscribe
538
538
  };
539
539
  }
540
- function Re(e, t = U) {
540
+ function Re(e, t = j) {
541
541
  let i;
542
542
  const r = /* @__PURE__ */ new Set();
543
543
  function n(a) {
@@ -555,9 +555,9 @@ function Re(e, t = U) {
555
555
  function o(a) {
556
556
  n(a(e));
557
557
  }
558
- function s(a, c = U) {
558
+ function s(a, c = j) {
559
559
  const u = [a, c];
560
- return r.add(u), r.size === 1 && (i = t(n, o) || U), a(e), () => {
560
+ return r.add(u), r.size === 1 && (i = t(n, o) || j), a(e), () => {
561
561
  r.delete(u), r.size === 0 && i && (i(), i = null);
562
562
  };
563
563
  }
@@ -571,13 +571,13 @@ function fe(e, t, i) {
571
571
  return jr(i, (s, a) => {
572
572
  let c = !1;
573
573
  const u = [];
574
- let l = 0, h = U;
574
+ let l = 0, h = j;
575
575
  const m = () => {
576
576
  if (l)
577
577
  return;
578
578
  h();
579
579
  const p = t(r ? u[0] : u, s, a);
580
- o ? s(p) : h = vt(p) ? p : U;
580
+ o ? s(p) : h = vt(p) ? p : j;
581
581
  }, f = n.map(
582
582
  (p, _) => di(
583
583
  p,
@@ -2933,7 +2933,7 @@ var Cn = (
2933
2933
  if (this.bumpSpace(), !this.bumpIf(","))
2934
2934
  return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, T(w, Me({}, w)));
2935
2935
  this.bumpSpace();
2936
- var O = this.parseIdentifierIfPossible(), A = 0;
2936
+ var O = this.parseIdentifierIfPossible(), P = 0;
2937
2937
  if (a !== "select" && O.value === "offset") {
2938
2938
  if (!this.bumpIf(":"))
2939
2939
  return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
@@ -2941,7 +2941,7 @@ var Cn = (
2941
2941
  var h = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2942
2942
  if (h.err)
2943
2943
  return h;
2944
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), A = h.val;
2944
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), P = h.val;
2945
2945
  }
2946
2946
  var H = this.tryParsePluralOrSelectOptions(t, a, i, O);
2947
2947
  if (H.err)
@@ -2963,7 +2963,7 @@ var Cn = (
2963
2963
  type: I.plural,
2964
2964
  value: r,
2965
2965
  options: jt(H.val),
2966
- offset: A,
2966
+ offset: P,
2967
2967
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2968
2968
  location: D
2969
2969
  },
@@ -3288,13 +3288,13 @@ function Be(e, t, i, r, n, o, s) {
3288
3288
  var p = l.children, _ = l.value, R = n[_];
3289
3289
  if (!zn(R))
3290
3290
  throw new $n(_, "function", s);
3291
- var S = Be(p, t, i, r, n, o), L = R(S.map(function(A) {
3292
- return A.value;
3291
+ var S = Be(p, t, i, r, n, o), L = R(S.map(function(P) {
3292
+ return P.value;
3293
3293
  }));
3294
- Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(A) {
3294
+ Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(P) {
3295
3295
  return {
3296
- type: typeof A == "string" ? z.literal : z.object,
3297
- value: A
3296
+ type: typeof P == "string" ? z.literal : z.object,
3297
+ value: P
3298
3298
  };
3299
3299
  }));
3300
3300
  }
@@ -4825,8 +4825,8 @@ function oi(e) {
4825
4825
  let n = r(e), o = n(e);
4826
4826
  return {
4827
4827
  c() {
4828
- t = y("div"), i = y("div"), o.c(), b(i, "class", "PopupContainer " + /*isDesktop*/
4829
- (e[14] ? "Desktop" : "")), b(t, "class", "PopupOverlay");
4828
+ t = v("div"), i = v("div"), o.c(), g(i, "class", "PopupContainer " + /*isDesktop*/
4829
+ (e[14] ? "Desktop" : "")), g(t, "class", "PopupOverlay");
4830
4830
  },
4831
4831
  m(s, a) {
4832
4832
  B(s, t, a), d(t, i), o.m(i, null);
@@ -4835,7 +4835,7 @@ function oi(e) {
4835
4835
  n === (n = r(s)) && o ? o.p(s, a) : (o.d(1), o = n(s), o && (o.c(), o.m(i, null)));
4836
4836
  },
4837
4837
  d(s) {
4838
- s && P(t), o.d();
4838
+ s && A(t), o.d();
4839
4839
  }
4840
4840
  };
4841
4841
  }
@@ -4847,10 +4847,10 @@ function Yo(e) {
4847
4847
  e[9] && si(e);
4848
4848
  return {
4849
4849
  c() {
4850
- t = y("div"), i = y("span"), n = $(r), o = j(), s = y("button"), s.textContent = "X", a = j(), c = y("div"), u = y("div"), S && S.c(), l = j(), h = y("p"), m = $(
4850
+ t = v("div"), i = v("span"), n = $(r), o = U(), s = v("button"), s.textContent = "X", a = U(), c = v("div"), u = v("div"), S && S.c(), l = U(), h = v("p"), m = $(
4851
4851
  /*popupContent*/
4852
4852
  e[12]
4853
- ), f = j(), p = y("button"), p.textContent = "OK", b(i, "class", "PopupTitle"), b(s, "class", "ClosePopup"), b(t, "class", "PopupTitleWrapper"), b(u, "class", "ResultIconWrapper"), b(h, "class", "DescriptionParagraph"), b(c, "class", "DescriptionWrapper"), b(p, "class", "ConfirmButton");
4853
+ ), f = U(), p = v("button"), p.textContent = "OK", g(i, "class", "PopupTitle"), g(s, "class", "ClosePopup"), g(t, "class", "PopupTitleWrapper"), g(u, "class", "ResultIconWrapper"), g(h, "class", "DescriptionParagraph"), g(c, "class", "DescriptionWrapper"), g(p, "class", "ConfirmButton");
4854
4854
  },
4855
4855
  m(L, w) {
4856
4856
  B(L, t, w), d(t, i), d(i, n), d(t, o), d(t, s), B(L, a, w), B(L, c, w), d(c, u), S && S.m(u, null), d(c, l), d(c, h), d(h, m), B(L, f, w), B(L, p, w), _ || (R = [
@@ -4880,7 +4880,7 @@ function Yo(e) {
4880
4880
  );
4881
4881
  },
4882
4882
  d(L) {
4883
- L && (P(t), P(a), P(c), P(f), P(p)), S && S.d(), _ = !1, ie(R);
4883
+ L && (A(t), A(a), A(c), A(f), A(p)), S && S.d(), _ = !1, ie(R);
4884
4884
  }
4885
4885
  };
4886
4886
  }
@@ -4888,14 +4888,14 @@ function qo(e) {
4888
4888
  let t;
4889
4889
  return {
4890
4890
  c() {
4891
- t = y("div"), b(t, "class", "LoadingIndicator");
4891
+ t = v("div"), g(t, "class", "LoadingIndicator");
4892
4892
  },
4893
4893
  m(i, r) {
4894
4894
  B(i, t, r);
4895
4895
  },
4896
- p: U,
4896
+ p: j,
4897
4897
  d(i) {
4898
- i && P(t);
4898
+ i && A(t);
4899
4899
  }
4900
4900
  };
4901
4901
  }
@@ -4907,7 +4907,7 @@ function si(e) {
4907
4907
  return {
4908
4908
  c() {
4909
4909
  t = de("svg"), i = de("defs"), r = de("style"), n = $(`.fil0 {fill:black;fill-rule:nonzero}
4910
- `), o = de("g"), s = de("polygon"), a = j(), c = y("p"), l = $(u), b(r, "type", "text/css"), b(s, "class", "fil0"), b(s, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), b(t, "xmlns", "http://www.w3.org/2000/svg"), b(t, "xmlns:xlink", "http://www.w3.org/1999/xlink"), b(t, "xml:space", "preserve"), b(t, "version", "1.1"), Ze(t, "shape-rendering", "geometricPrecision"), Ze(t, "text-rendering", "geometricPrecision"), Ze(t, "image-rendering", "optimizeQuality"), b(t, "viewBox", "0 0 90 69"), b(t, "x", "0px"), b(t, "y", "0px"), b(t, "fill-rule", "evenodd"), b(t, "clip-rule", "evenodd");
4910
+ `), o = de("g"), s = de("polygon"), a = U(), c = v("p"), l = $(u), g(r, "type", "text/css"), g(s, "class", "fil0"), g(s, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "xmlns:xlink", "http://www.w3.org/1999/xlink"), g(t, "xml:space", "preserve"), g(t, "version", "1.1"), Ze(t, "shape-rendering", "geometricPrecision"), Ze(t, "text-rendering", "geometricPrecision"), Ze(t, "image-rendering", "optimizeQuality"), g(t, "viewBox", "0 0 90 69"), g(t, "x", "0px"), g(t, "y", "0px"), g(t, "fill-rule", "evenodd"), g(t, "clip-rule", "evenodd");
4911
4911
  },
4912
4912
  m(h, m) {
4913
4913
  B(h, t, m), d(t, i), d(i, r), d(r, n), d(t, o), d(o, s), B(h, a, m), B(h, c, m), d(c, l);
@@ -4918,7 +4918,7 @@ function si(e) {
4918
4918
  h[13]("popupSuccess") + "") && W(l, u);
4919
4919
  },
4920
4920
  d(h) {
4921
- h && (P(t), P(a), P(c));
4921
+ h && (A(t), A(a), A(c));
4922
4922
  }
4923
4923
  };
4924
4924
  }
@@ -4937,9 +4937,9 @@ function Jo(e) {
4937
4937
  ), S, L, w, O = te(
4938
4938
  /*availableLimits*/
4939
4939
  e[15]
4940
- ), A = [];
4940
+ ), P = [];
4941
4941
  for (let E = 0; E < O.length; E += 1)
4942
- A[E] = ui(ri(e, O, E));
4942
+ P[E] = ui(ri(e, O, E));
4943
4943
  let H = (
4944
4944
  /*multipleLimits*/
4945
4945
  e[5] && li(e)
@@ -4949,17 +4949,17 @@ function Jo(e) {
4949
4949
  );
4950
4950
  return {
4951
4951
  c() {
4952
- t = y("div"), i = y("div"), r = y("div");
4953
- for (let E = 0; E < A.length; E += 1)
4954
- A[E].c();
4955
- n = j(), o = y("form"), H && H.c(), s = j(), D && D.c(), a = j(), c = y("label"), u = y("span"), h = $(l), m = j(), f = y("input"), p = j(), _ = y("button"), S = $(R), b(r, "class", "LimitsList " + /*isDesktop*/
4956
- (e[14] ? "Desktop" : "")), b(u, "class", "LimitInputText"), b(c, "class", "LimitAmountInputWrapper"), b(f, "type", "number"), b(f, "pattern", "[0-9]*"), b(_, "class", "LimitSubmitButton"), b(_, "type", "button"), _.disabled = !0, b(o, "class", "LimitsInteractionArea " + /*isDesktop*/
4957
- (e[14] ? "Desktop" : "")), b(i, "class", "LimitsPageContainer"), b(t, "class", "player-account-gaming-limits-page-2-gmcore");
4952
+ t = v("div"), i = v("div"), r = v("div");
4953
+ for (let E = 0; E < P.length; E += 1)
4954
+ P[E].c();
4955
+ n = U(), o = v("form"), H && H.c(), s = U(), D && D.c(), a = U(), c = v("label"), u = v("span"), h = $(l), m = U(), f = v("input"), p = U(), _ = v("button"), S = $(R), g(r, "class", "LimitsList " + /*isDesktop*/
4956
+ (e[14] ? "Desktop" : "")), g(u, "class", "LimitInputText"), g(c, "class", "LimitAmountInputWrapper"), g(f, "type", "number"), g(f, "pattern", "[0-9]*"), g(_, "class", "LimitSubmitButton"), g(_, "type", "button"), _.disabled = !0, g(o, "class", "LimitsInteractionArea " + /*isDesktop*/
4957
+ (e[14] ? "Desktop" : "")), g(i, "class", "LimitsPageContainer"), g(t, "class", "player-account-gaming-limits-page-2-gmcore");
4958
4958
  },
4959
4959
  m(E, G) {
4960
4960
  B(E, t, G), d(t, i), d(i, r);
4961
- for (let M = 0; M < A.length; M += 1)
4962
- A[M] && A[M].m(r, null);
4961
+ for (let M = 0; M < P.length; M += 1)
4962
+ P[M] && P[M].m(r, null);
4963
4963
  d(i, n), d(i, o), H && H.m(o, null), d(o, s), D && D.m(o, null), d(o, a), d(o, c), d(c, u), d(u, h), d(o, m), d(o, f), ye(
4964
4964
  f,
4965
4965
  /*inputAmount*/
@@ -5001,11 +5001,11 @@ function Jo(e) {
5001
5001
  let M;
5002
5002
  for (M = 0; M < O.length; M += 1) {
5003
5003
  const K = ri(E, O, M);
5004
- A[M] ? A[M].p(K, G) : (A[M] = ui(K), A[M].c(), A[M].m(r, null));
5004
+ P[M] ? P[M].p(K, G) : (P[M] = ui(K), P[M].c(), P[M].m(r, null));
5005
5005
  }
5006
- for (; M < A.length; M += 1)
5007
- A[M].d(1);
5008
- A.length = O.length;
5006
+ for (; M < P.length; M += 1)
5007
+ P[M].d(1);
5008
+ P.length = O.length;
5009
5009
  }
5010
5010
  /*multipleLimits*/
5011
5011
  E[5] ? H ? H.p(E, G) : (H = li(E), H.c(), H.m(o, s)) : H && (H.d(1), H = null), /*multiplePeriods*/
@@ -5027,7 +5027,7 @@ function Jo(e) {
5027
5027
  E[13]("setLimit") + "") && W(S, R);
5028
5028
  },
5029
5029
  d(E) {
5030
- E && P(t), De(A, E), H && H.d(), D && D.d(), e[35](null), L = !1, ie(w);
5030
+ E && A(t), De(P, E), H && H.d(), D && D.d(), e[35](null), L = !1, ie(w);
5031
5031
  }
5032
5032
  };
5033
5033
  }
@@ -5035,32 +5035,32 @@ function Qo(e) {
5035
5035
  let t;
5036
5036
  return {
5037
5037
  c() {
5038
- t = y("p"), t.textContent = "500 Server error";
5038
+ t = v("p"), t.textContent = "500 Server error";
5039
5039
  },
5040
5040
  m(i, r) {
5041
5041
  B(i, t, r);
5042
5042
  },
5043
- p: U,
5043
+ p: j,
5044
5044
  d(i) {
5045
- i && P(t);
5045
+ i && A(t);
5046
5046
  }
5047
5047
  };
5048
5048
  }
5049
5049
  function Ko(e) {
5050
- return { c: U, m: U, p: U, d: U };
5050
+ return { c: j, m: j, p: j, d: j };
5051
5051
  }
5052
5052
  function es(e) {
5053
5053
  let t;
5054
5054
  return {
5055
5055
  c() {
5056
- t = y("div"), b(t, "class", "LoadingIndicator");
5056
+ t = v("div"), g(t, "class", "LoadingIndicator");
5057
5057
  },
5058
5058
  m(i, r) {
5059
5059
  B(i, t, r);
5060
5060
  },
5061
- p: U,
5061
+ p: j,
5062
5062
  d(i) {
5063
- i && P(t);
5063
+ i && A(t);
5064
5064
  }
5065
5065
  };
5066
5066
  }
@@ -5071,7 +5071,7 @@ function ts(e) {
5071
5071
  ), o;
5072
5072
  return {
5073
5073
  c() {
5074
- t = y("div"), i = y("div"), r = y("div"), o = $(n), b(r, "class", "LimitDetailsTextWrapper"), b(i, "class", "LimitDetailsWrapper"), b(t, "class", "LimitDetails");
5074
+ t = v("div"), i = v("div"), r = v("div"), o = $(n), g(r, "class", "LimitDetailsTextWrapper"), g(i, "class", "LimitDetailsWrapper"), g(t, "class", "LimitDetails");
5075
5075
  },
5076
5076
  m(s, a) {
5077
5077
  B(s, t, a), d(t, i), d(i, r), d(r, o);
@@ -5082,7 +5082,7 @@ function ts(e) {
5082
5082
  s[13]("noLimitText") + "") && W(o, n);
5083
5083
  },
5084
5084
  d(s) {
5085
- s && P(t);
5085
+ s && A(t);
5086
5086
  }
5087
5087
  };
5088
5088
  }
@@ -5122,7 +5122,7 @@ function is(e) {
5122
5122
  }
5123
5123
  },
5124
5124
  d(n) {
5125
- n && P(t), De(r, n);
5125
+ n && A(t), De(r, n);
5126
5126
  }
5127
5127
  };
5128
5128
  }
@@ -5132,7 +5132,7 @@ function rs(e) {
5132
5132
  e[58].expiryDate}`, r;
5133
5133
  return {
5134
5134
  c() {
5135
- t = y("div"), r = $(i), b(t, "class", "PendingLimit");
5135
+ t = v("div"), r = $(i), g(t, "class", "PendingLimit");
5136
5136
  },
5137
5137
  m(n, o) {
5138
5138
  B(n, t, o), d(t, r);
@@ -5144,7 +5144,7 @@ function rs(e) {
5144
5144
  n[58].expiryDate}`) && W(r, i);
5145
5145
  },
5146
5146
  d(n) {
5147
- n && P(t);
5147
+ n && A(t);
5148
5148
  }
5149
5149
  };
5150
5150
  }
@@ -5158,7 +5158,7 @@ function ns(e) {
5158
5158
  e[58].expiryDate}`, r;
5159
5159
  return {
5160
5160
  c() {
5161
- t = y("div"), r = $(i), b(t, "class", "PendingLimit");
5161
+ t = v("div"), r = $(i), g(t, "class", "PendingLimit");
5162
5162
  },
5163
5163
  m(n, o) {
5164
5164
  B(n, t, o), d(t, r);
@@ -5174,7 +5174,7 @@ function ns(e) {
5174
5174
  n[58].expiryDate}`) && W(r, i);
5175
5175
  },
5176
5176
  d(n) {
5177
- n && P(t);
5177
+ n && A(t);
5178
5178
  }
5179
5179
  };
5180
5180
  }
@@ -5194,7 +5194,7 @@ function os(e) {
5194
5194
  }
5195
5195
  return {
5196
5196
  c() {
5197
- t = y("button"), r = $(i), b(t, "class", "RemoveLimitButton");
5197
+ t = v("button"), r = $(i), g(t, "class", "RemoveLimitButton");
5198
5198
  },
5199
5199
  m(a, c) {
5200
5200
  B(a, t, c), d(t, r), n || (o = q(t, "click", s), n = !0);
@@ -5205,7 +5205,7 @@ function os(e) {
5205
5205
  e[13]("gamingLimits.removeLimit") + "") && W(r, i);
5206
5206
  },
5207
5207
  d(a) {
5208
- a && P(t), n = !1, o();
5208
+ a && A(t), n = !1, o();
5209
5209
  }
5210
5210
  };
5211
5211
  }
@@ -5232,7 +5232,7 @@ function ai(e) {
5232
5232
  e[58].isModified && os(e);
5233
5233
  return {
5234
5234
  c() {
5235
- t = y("div"), i = y("div"), r = y("div"), o = $(n), s = j(), h && h.c(), a = j(), m && m.c(), c = j(), b(r, "class", "CurrentLimit"), b(i, "class", "LimitDetailsTextWrapper"), b(t, "class", "LimitDetails");
5235
+ t = v("div"), i = v("div"), r = v("div"), o = $(n), s = U(), h && h.c(), a = U(), m && m.c(), c = U(), g(r, "class", "CurrentLimit"), g(i, "class", "LimitDetailsTextWrapper"), g(t, "class", "LimitDetails");
5236
5236
  },
5237
5237
  m(f, p) {
5238
5238
  B(f, t, p), d(t, i), d(i, r), d(r, o), d(i, s), h && h.m(i, null), d(t, a), m && m.m(t, null), d(t, c);
@@ -5247,7 +5247,7 @@ function ai(e) {
5247
5247
  f[58].isModified || m.p(f, p);
5248
5248
  },
5249
5249
  d(f) {
5250
- f && P(t), h && h.d(), m && m.d();
5250
+ f && A(t), h && h.d(), m && m.d();
5251
5251
  }
5252
5252
  };
5253
5253
  }
@@ -5266,7 +5266,7 @@ function ui(e) {
5266
5266
  let u = a(e)(e);
5267
5267
  return {
5268
5268
  c() {
5269
- t = y("div"), i = y("p"), n = $(r), o = j(), u.c(), s = j(), b(i, "class", "LimitTitle"), b(t, "class", "LimitWrapper " + /*isDesktop*/
5269
+ t = v("div"), i = v("p"), n = $(r), o = U(), u.c(), s = U(), g(i, "class", "LimitTitle"), g(t, "class", "LimitWrapper " + /*isDesktop*/
5270
5270
  (e[14] ? "Desktop" : ""));
5271
5271
  },
5272
5272
  m(l, h) {
@@ -5279,7 +5279,7 @@ function ui(e) {
5279
5279
  l[53].value}`) + "") && W(n, r), u.p(l, h);
5280
5280
  },
5281
5281
  d(l) {
5282
- l && P(t), u.d();
5282
+ l && A(t), u.d();
5283
5283
  }
5284
5284
  };
5285
5285
  }
@@ -5295,14 +5295,14 @@ function li(e) {
5295
5295
  l[h] = ci(ii(e, u, h));
5296
5296
  return {
5297
5297
  c() {
5298
- t = y("label"), i = y("span"), n = $(r), o = j(), s = y("select");
5298
+ t = v("label"), i = v("span"), n = $(r), o = U(), s = v("select");
5299
5299
  for (let h = 0; h < l.length; h += 1)
5300
5300
  l[h].c();
5301
- b(i, "class", "LimitSelectText"), b(s, "name", ""), b(s, "id", ""), /*selectedLimit*/
5301
+ g(i, "class", "LimitSelectText"), g(s, "name", ""), g(s, "id", ""), /*selectedLimit*/
5302
5302
  e[1] === void 0 && _e(() => (
5303
5303
  /*select_change_handler*/
5304
5304
  e[32].call(s)
5305
- )), b(t, "class", "LimitTypeDropdownWrapper");
5305
+ )), g(t, "class", "LimitTypeDropdownWrapper");
5306
5306
  },
5307
5307
  m(h, m) {
5308
5308
  B(h, t, m), d(t, i), d(i, n), d(t, o), d(t, s);
@@ -5354,7 +5354,7 @@ function li(e) {
5354
5354
  );
5355
5355
  },
5356
5356
  d(h) {
5357
- h && P(t), De(l, h), a = !1, ie(c);
5357
+ h && A(t), De(l, h), a = !1, ie(c);
5358
5358
  }
5359
5359
  };
5360
5360
  }
@@ -5365,15 +5365,15 @@ function ci(e) {
5365
5365
  ), r;
5366
5366
  return {
5367
5367
  c() {
5368
- t = y("option"), r = $(i), t.__value = /*limit*/
5368
+ t = v("option"), r = $(i), t.__value = /*limit*/
5369
5369
  e[53].value, ye(t, t.__value);
5370
5370
  },
5371
5371
  m(n, o) {
5372
5372
  B(n, t, o), d(t, r);
5373
5373
  },
5374
- p: U,
5374
+ p: j,
5375
5375
  d(n) {
5376
- n && P(t);
5376
+ n && A(t);
5377
5377
  }
5378
5378
  };
5379
5379
  }
@@ -5389,10 +5389,10 @@ function hi(e) {
5389
5389
  l[h] = fi(ti(e, u, h));
5390
5390
  return {
5391
5391
  c() {
5392
- t = y("label"), i = y("span"), n = $(r), o = j(), s = y("select");
5392
+ t = v("label"), i = v("span"), n = $(r), o = U(), s = v("select");
5393
5393
  for (let h = 0; h < l.length; h += 1)
5394
5394
  l[h].c();
5395
- b(i, "class", "PeriodSelectText"), b(t, "class", "LimitPeriodDropdownWrapper"), b(s, "name", ""), b(s, "id", ""), /*selectedPeriod*/
5395
+ g(i, "class", "PeriodSelectText"), g(t, "class", "LimitPeriodDropdownWrapper"), g(s, "name", ""), g(s, "id", ""), /*selectedPeriod*/
5396
5396
  e[2] === void 0 && _e(() => (
5397
5397
  /*select_change_handler_1*/
5398
5398
  e[33].call(s)
@@ -5440,7 +5440,7 @@ function hi(e) {
5440
5440
  );
5441
5441
  },
5442
5442
  d(h) {
5443
- h && (P(t), P(o), P(s)), De(l, h), a = !1, c();
5443
+ h && (A(t), A(o), A(s)), De(l, h), a = !1, c();
5444
5444
  }
5445
5445
  };
5446
5446
  }
@@ -5452,7 +5452,7 @@ function fi(e) {
5452
5452
  ), r, n;
5453
5453
  return {
5454
5454
  c() {
5455
- t = y("option"), r = $(i), t.__value = n = /*period*/
5455
+ t = v("option"), r = $(i), t.__value = n = /*period*/
5456
5456
  e[50], ye(t, t.__value), t.selected = !0;
5457
5457
  },
5458
5458
  m(o, s) {
@@ -5467,68 +5467,68 @@ function fi(e) {
5467
5467
  o[50]) && (t.__value = n, ye(t, t.__value));
5468
5468
  },
5469
5469
  d(o) {
5470
- o && P(t);
5470
+ o && A(t);
5471
5471
  }
5472
5472
  };
5473
5473
  }
5474
5474
  function ss(e) {
5475
- let t, i, r, n, o = (
5475
+ let t, i, r = (
5476
5476
  /*popupVisible*/
5477
5477
  e[10] && oi(e)
5478
5478
  );
5479
- function s(u, l) {
5479
+ function n(a, c) {
5480
5480
  return (
5481
5481
  /*isLoading*/
5482
- u[7] && !/*popupVisible*/
5483
- u[10] ? es : (
5482
+ a[7] && !/*popupVisible*/
5483
+ a[10] ? es : (
5484
5484
  /*isLoading*/
5485
- u[7] ? Ko : (
5485
+ a[7] ? Ko : (
5486
5486
  /*fetchError*/
5487
- u[8] ? Qo : Jo
5487
+ a[8] ? Qo : Jo
5488
5488
  )
5489
5489
  )
5490
5490
  );
5491
5491
  }
5492
- let a = s(e), c = a(e);
5492
+ let o = n(e), s = o(e);
5493
5493
  return {
5494
5494
  c() {
5495
- t = y("meta"), i = j(), r = y("div"), o && o.c(), n = j(), c.c(), b(t, "name", "viewport"), b(t, "content", "width=device-width, initial-scale=1");
5495
+ t = v("div"), r && r.c(), i = U(), s.c();
5496
5496
  },
5497
- m(u, l) {
5498
- d(document.head, t), B(u, i, l), B(u, r, l), o && o.m(r, null), d(r, n), c.m(r, null), e[36](r);
5497
+ m(a, c) {
5498
+ B(a, t, c), r && r.m(t, null), d(t, i), s.m(t, null), e[36](t);
5499
5499
  },
5500
- p(u, l) {
5500
+ p(a, c) {
5501
5501
  /*popupVisible*/
5502
- u[10] ? o ? o.p(u, l) : (o = oi(u), o.c(), o.m(r, n)) : o && (o.d(1), o = null), a === (a = s(u)) && c ? c.p(u, l) : (c.d(1), c = a(u), c && (c.c(), c.m(r, null)));
5502
+ a[10] ? r ? r.p(a, c) : (r = oi(a), r.c(), r.m(t, i)) : r && (r.d(1), r = null), o === (o = n(a)) && s ? s.p(a, c) : (s.d(1), s = o(a), s && (s.c(), s.m(t, null)));
5503
5503
  },
5504
- i: U,
5505
- o: U,
5506
- d(u) {
5507
- u && (P(i), P(r)), P(t), o && o.d(), c.d(), e[36](null);
5504
+ i: j,
5505
+ o: j,
5506
+ d(a) {
5507
+ a && A(t), r && r.d(), s.d(), e[36](null);
5508
5508
  }
5509
5509
  };
5510
5510
  }
5511
5511
  function as(e, t, i) {
5512
5512
  let r;
5513
- gr(e, Ao, (g) => i(13, r = g));
5514
- let { lang: n = "en" } = t, { currency: o = "" } = t, { limits: s = "" } = t, { session: a = "" } = t, { userid: c = "" } = t, { endpoint: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: m = "" } = t, { mbsource: f } = t, p, _ = window.navigator.userAgent, R = !zo(_), S = [], L = "", w = "", O, A, H = !1, D = !1, E = !0, G = !1, M = !1, K = !1, ze = !1, We = "", we;
5513
+ gr(e, Ao, (b) => i(13, r = b));
5514
+ let { lang: n = "en" } = t, { currency: o = "" } = t, { limits: s = "" } = t, { session: a = "" } = t, { userid: c = "" } = t, { endpoint: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: m = "" } = t, { mbsource: f } = t, p, _ = window.navigator.userAgent, R = !zo(_), S = [], L = "", w = "", O, P, H = !1, D = !1, E = !0, G = !1, M = !1, K = !1, ze = !1, We = "", we;
5515
5515
  const Lt = { EUR: "€", RON: " lei" }, Zi = {
5516
5516
  updatePendingError: ["SYS_1037", "SYS_1142", "SYS_1140"]
5517
5517
  }, Yi = () => {
5518
- fetch(m).then((v) => v.json()).then((v) => {
5519
- Object.keys(v).forEach((N) => {
5520
- Vt(N, v[N]);
5518
+ fetch(m).then((y) => y.json()).then((y) => {
5519
+ Object.keys(y).forEach((N) => {
5520
+ Vt(N, y[N]);
5521
5521
  });
5522
- }).catch((v) => {
5523
- console.log(v);
5522
+ }).catch((y) => {
5523
+ console.log(y);
5524
5524
  });
5525
5525
  };
5526
- Object.keys(Xt).forEach((g) => {
5527
- Vt(g, Xt[g]);
5526
+ Object.keys(Xt).forEach((b) => {
5527
+ Vt(b, Xt[b]);
5528
5528
  });
5529
5529
  const qi = () => {
5530
- s.split(" ").forEach((v) => {
5531
- Z[v] ? S.push(Z[v]) : console.error(`Unknown limit: ${v}`);
5530
+ s.split(" ").forEach((y) => {
5531
+ Z[y] ? S.push(Z[y]) : console.error(`Unknown limit: ${y}`);
5532
5532
  }), i(1, L = S[0].value), i(2, w = Z[L].periods[0]), i(5, H = S.length > 1), i(6, D = Z[L].periods.length > 1);
5533
5533
  }, Ji = () => {
5534
5534
  i(2, w = Z[L].periods[0]), i(6, D = Z[L].periods.length > 1);
@@ -5536,9 +5536,9 @@ function as(e, t, i) {
5536
5536
  if (!(O > 0))
5537
5537
  return;
5538
5538
  i(10, K = !0), i(7, E = !0);
5539
- let g = new URL(`/v2/player/${c}/limits`, u);
5540
- const v = {};
5541
- v[Z[L].callValue] = [
5539
+ let b = new URL(`/v2/player/${c}/limits`, u);
5540
+ const y = {};
5541
+ y[Z[L].callValue] = [
5542
5542
  {
5543
5543
  period: w,
5544
5544
  amount: O,
@@ -5552,22 +5552,22 @@ function as(e, t, i) {
5552
5552
  "Content-Type": "application/json",
5553
5553
  Accept: "application/json"
5554
5554
  },
5555
- body: JSON.stringify(v)
5555
+ body: JSON.stringify(y)
5556
5556
  };
5557
- fetch(g.href, N).then((k) => (k.status >= 300 && i(9, M = !0), k.json())).then((k) => {
5557
+ fetch(b.href, N).then((k) => (k.status >= 300 && i(9, M = !0), k.json())).then((k) => {
5558
5558
  Ve(), M && Ki(k);
5559
5559
  }).catch((k) => {
5560
5560
  console.log(k), i(7, E = !1), i(8, G = !0);
5561
5561
  });
5562
- }, Ki = (g) => {
5563
- const v = g.error.match(/errorCode:(.*)\)/)[1];
5564
- console.error(`API response error: ${v}`);
5562
+ }, Ki = (b) => {
5563
+ const y = b.error.match(/errorCode:(.*)\)/)[1];
5564
+ console.error(`API response error: ${y}`);
5565
5565
  let N;
5566
5566
  for (const [k, F] of Object.entries(Zi))
5567
- F.includes(v) && (N = r(`gamingLimits.${k}`));
5568
- N = N != null ? N : r("gamingLimits.genericError"), xt(v, N);
5567
+ F.includes(y) && (N = r(`gamingLimits.${k}`));
5568
+ N = N != null ? N : r("gamingLimits.genericError"), xt(y, N);
5569
5569
  }, Ve = () => {
5570
- let g = new URL(`/v2/player/${c}/limits`, u), v = !M, N = {
5570
+ let b = new URL(`/v2/player/${c}/limits`, u), y = !M, N = {
5571
5571
  method: "GET",
5572
5572
  headers: {
5573
5573
  "X-SessionID": a,
@@ -5575,34 +5575,34 @@ function as(e, t, i) {
5575
5575
  Accept: "application/json"
5576
5576
  }
5577
5577
  };
5578
- fetch(g.href, N).then((k) => {
5578
+ fetch(b.href, N).then((k) => {
5579
5579
  if (k.status >= 300)
5580
5580
  throw i(7, E = !1), i(8, G = !0), new Error("There was an error fetching the limits");
5581
5581
  return k.json();
5582
5582
  }).then((k) => {
5583
- we = k, K && v && xt(), er(we), i(7, E = !1), i(3, O = null);
5583
+ we = k, K && y && xt(), er(we), i(7, E = !1), i(3, O = null);
5584
5584
  }).catch((k) => {
5585
5585
  console.log(k), i(7, E = !1), i(8, G = !0);
5586
5586
  });
5587
- }, er = (g) => {
5588
- S.forEach((v) => {
5587
+ }, er = (b) => {
5588
+ S.forEach((y) => {
5589
5589
  var N;
5590
- v.currentLimits = [], (N = g[Z[v.value].callValue]) == null || N.forEach((k, F) => {
5590
+ y.currentLimits = [], (N = b[Z[y.value].callValue]) == null || N.forEach((k, F) => {
5591
5591
  var wt;
5592
- const J = g[Z[v.value].callValue][F];
5593
- v.currentLimits.push({}), v.currentLimits[F].limitType = v.value, v.currentLimits[F].amount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(J.amount), v.currentLimits[F].currency = (wt = Lt[J.currency]) != null ? wt : J.currency, v.currentLimits[F].period = J.period, v.currentLimits[F].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(J.updateAmount), v.currentLimits[F].isModified = J.isModified, v.currentLimits[F].expiryDate = `${new Date(J.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`;
5594
- }), v.currentLimits = tr(v.currentLimits);
5592
+ const J = b[Z[y.value].callValue][F];
5593
+ y.currentLimits.push({}), y.currentLimits[F].limitType = y.value, y.currentLimits[F].amount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(J.amount), y.currentLimits[F].currency = (wt = Lt[J.currency]) != null ? wt : J.currency, y.currentLimits[F].period = J.period, y.currentLimits[F].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(J.updateAmount), y.currentLimits[F].isModified = J.isModified, y.currentLimits[F].expiryDate = `${new Date(J.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`;
5594
+ }), y.currentLimits = tr(y.currentLimits);
5595
5595
  });
5596
- }, tr = (g) => {
5597
- const v = { Daily: 0, Weekly: 1, Monthly: 2 };
5598
- return g.sort((N, k) => v[N.period] - v[k.period]), g;
5596
+ }, tr = (b) => {
5597
+ const y = { Daily: 0, Weekly: 1, Monthly: 2 };
5598
+ return b.sort((N, k) => y[N.period] - y[k.period]), b;
5599
5599
  }, ir = () => {
5600
5600
  O > 999999999999999 && i(3, O = 999999999999999);
5601
- const v = O - Math.floor(O) === 0;
5602
- O > 0 && v ? A.removeAttribute("disabled") : A.setAttribute("disabled", "true");
5603
- }, xt = (g, v) => {
5604
- if (g)
5605
- i(12, We = v);
5601
+ const y = O - Math.floor(O) === 0;
5602
+ O > 0 && y ? P.removeAttribute("disabled") : P.setAttribute("disabled", "true");
5603
+ }, xt = (b, y) => {
5604
+ if (b)
5605
+ i(12, We = y);
5606
5606
  else if (we) {
5607
5607
  const N = we[Z[L].callValue].filter((J) => J.period === w)[0], k = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(N.amount);
5608
5608
  let F = r("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}", r(`gamingLimits.${L}`).toLowerCase()).replace("{updatedAmount}", k).replace("{currency}", Lt[N.currency] || N.currency).replace("{selectedPeriod}", r(`gamingLimits.${w}`).toLowerCase());
@@ -5610,14 +5610,14 @@ function as(e, t, i) {
5610
5610
  } else
5611
5611
  console.error("Couldn't populate popupContent");
5612
5612
  i(11, ze = !0);
5613
- }, Tt = (g) => {
5614
- const v = {
5613
+ }, Tt = (b) => {
5614
+ const y = {
5615
5615
  wager: "wagering",
5616
5616
  loss: "loss",
5617
5617
  deposit: "deposit"
5618
5618
  };
5619
5619
  i(10, K = !0), i(7, E = !0);
5620
- let N = new URL(`/v2/player/${c}/limits/${v[g.limitType]}?periods=${g.period}`, u), k = {
5620
+ let N = new URL(`/v2/player/${c}/limits/${y[b.limitType]}?periods=${b.period}`, u), k = {
5621
5621
  method: "DELETE",
5622
5622
  headers: {
5623
5623
  "X-SessionID": a,
@@ -5637,7 +5637,7 @@ function as(e, t, i) {
5637
5637
  };
5638
5638
  wr(() => () => {
5639
5639
  });
5640
- const or = (g) => Tt(g);
5640
+ const or = (b) => Tt(b);
5641
5641
  function sr() {
5642
5642
  L = Ot(this), i(1, L), i(15, S);
5643
5643
  }
@@ -5647,18 +5647,18 @@ function as(e, t, i) {
5647
5647
  function ur() {
5648
5648
  O = bi(this.value), i(3, O);
5649
5649
  }
5650
- function lr(g) {
5651
- He[g ? "unshift" : "push"](() => {
5652
- A = g, i(4, A);
5650
+ function lr(b) {
5651
+ He[b ? "unshift" : "push"](() => {
5652
+ P = b, i(4, P);
5653
5653
  });
5654
5654
  }
5655
- function cr(g) {
5656
- He[g ? "unshift" : "push"](() => {
5657
- p = g, i(0, p);
5655
+ function cr(b) {
5656
+ He[b ? "unshift" : "push"](() => {
5657
+ p = b, i(0, p);
5658
5658
  });
5659
5659
  }
5660
- return e.$$set = (g) => {
5661
- "lang" in g && i(21, n = g.lang), "currency" in g && i(22, o = g.currency), "limits" in g && i(23, s = g.limits), "session" in g && i(24, a = g.session), "userid" in g && i(25, c = g.userid), "endpoint" in g && i(26, u = g.endpoint), "clientstyling" in g && i(27, l = g.clientstyling), "clientstylingurl" in g && i(28, h = g.clientstylingurl), "translationurl" in g && i(29, m = g.translationurl), "mbsource" in g && i(30, f = g.mbsource);
5660
+ return e.$$set = (b) => {
5661
+ "lang" in b && i(21, n = b.lang), "currency" in b && i(22, o = b.currency), "limits" in b && i(23, s = b.limits), "session" in b && i(24, a = b.session), "userid" in b && i(25, c = b.userid), "endpoint" in b && i(26, u = b.endpoint), "clientstyling" in b && i(27, l = b.clientstyling), "clientstylingurl" in b && i(28, h = b.clientstylingurl), "translationurl" in b && i(29, m = b.translationurl), "mbsource" in b && i(30, f = b.mbsource);
5662
5662
  }, e.$$.update = () => {
5663
5663
  e.$$.dirty[0] & /*limits*/
5664
5664
  8388608 && s && qi(), e.$$.dirty[0] & /*lang*/
@@ -5673,7 +5673,7 @@ function as(e, t, i) {
5673
5673
  L,
5674
5674
  w,
5675
5675
  O,
5676
- A,
5676
+ P,
5677
5677
  H,
5678
5678
  D,
5679
5679
  E,