@everymatrix/player-limit-notification 0.14.4 → 0.14.5

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.
@@ -26,8 +26,8 @@ var we = (i, e, t) => new Promise((n, o) => {
26
26
  }, u = (m) => m.done ? n(m.value) : Promise.resolve(m.value).then(r, s);
27
27
  u((t = t.apply(i, e)).next());
28
28
  });
29
- import { a as Na, $ as Ba, S as Ra, i as Oa, s as Va, f as Z, b as Wa, d as C, t as Pt, e as zt, D as Fa, j as qa, k as P, l as c, m as k, n as j, p as Ha, r as Ga, M as gt, o as g, c as ei, u as ti, g as ii, h as oi, x as lt, B as Ae, C as ot, N as at, v as M, O as go, P as Tt, z as pe, w as x, Q as zi, y as Ka, E as tt, R as Rt, T as Lo, U as ht, G as Lt, A as ie, V as Ya, W as Xa, H as Ja, I as Za, J as Qa, K as $a, L as en } from "./PlayerLimitNotification-Cli_k3bu.js";
30
- import { i as tn } from "./PlayerAccountGamingLimitsWrapper2Nd-BIq6Loz_.js";
29
+ import { b as Na, a as Ba, S as Ra, w as Oa, D as Va, s as J, e as Wa, o as C, W as Pt, V as zt, v as Fa, h as qa, x as P, d as c, p as k, N as j, i as Ha, B as Ga, R as gt, f as g, l as ei, Y as ti, t as ii, u as oi, z as lt, r as Ae, n as ot, C as at, K as M, T as go, L as Tt, y as pe, Q as x, F as zi, g as Ka, q as tt, E as Rt, c as Lo, M as ht, U as Lt, O as ie, X as Ya, m as Xa, G as Za, H as Ja, I as Qa, k as $a, $ as en } from "./PlayerLimitNotification-Y644HK5a.js";
30
+ import { i as tn } from "./PlayerAccountGamingLimitsWrapper2Nd-Cau8L8MQ.js";
31
31
  import "../stencil/ui-skeleton-xXZA3rYO.js";
32
32
  const oe = {
33
33
  lugas: {
@@ -85,7 +85,7 @@ function Ti(i, e) {
85
85
  function on(i) {
86
86
  Ba.set(i);
87
87
  }
88
- const Je = {
88
+ const Ze = {
89
89
  en: {
90
90
  loadingText: "Loading, please wait...",
91
91
  Monthly: "per month",
@@ -2138,7 +2138,7 @@ function Tn(i) {
2138
2138
  /*$$scope*/
2139
2139
  i[87],
2140
2140
  Ii
2141
- ), ae = je || Jn(i);
2141
+ ), ae = je || Zn(i);
2142
2142
  return {
2143
2143
  c() {
2144
2144
  e = k("div"), t = k("div"), fe && fe.c(), n = j(), o = k("form");
@@ -3011,7 +3011,7 @@ function Gn(i) {
3011
3011
  }
3012
3012
  };
3013
3013
  }
3014
- function Ji(i) {
3014
+ function Zi(i) {
3015
3015
  let e, t, n = !/*vLimit*/
3016
3016
  i[202].isModified && /*deletelimit*/
3017
3017
  i[3].toLowerCase().includes(
@@ -3023,7 +3023,7 @@ function Ji(i) {
3023
3023
  /*vLimit*/
3024
3024
  i[202].acknowledgedLimit && (!/*vLimit*/
3025
3025
  i[202].reviewPending || !/*vLimit*/
3026
- i[202].reviewPending.id) && Zi(i)
3026
+ i[202].reviewPending.id) && Ji(i)
3027
3027
  ), s = n && Qi(i), u = (
3028
3028
  /*vLimit*/
3029
3029
  i[202].isCoolOffCompleted && !/*vLimit*/
@@ -3043,7 +3043,7 @@ function Ji(i) {
3043
3043
  /*vLimit*/
3044
3044
  m[202].acknowledgedLimit && (!/*vLimit*/
3045
3045
  m[202].reviewPending || !/*vLimit*/
3046
- m[202].reviewPending.id) ? r ? r.p(m, f) : (r = Zi(m), r.c(), r.m(e, t)) : r && (r.d(1), r = null), f[0] & /*availableLimits, deletelimit*/
3046
+ m[202].reviewPending.id) ? r ? r.p(m, f) : (r = Ji(m), r.c(), r.m(e, t)) : r && (r.d(1), r = null), f[0] & /*availableLimits, deletelimit*/
3047
3047
  520 | f[1] & /*currentTypes*/
3048
3048
  256 && (n = !/*vLimit*/
3049
3049
  m[202].isModified && /*deletelimit*/
@@ -3063,7 +3063,7 @@ function Ji(i) {
3063
3063
  }
3064
3064
  };
3065
3065
  }
3066
- function Zi(i) {
3066
+ function Ji(i) {
3067
3067
  var u;
3068
3068
  let e, t = (
3069
3069
  /*acknowledgedLimits*/
@@ -3263,7 +3263,7 @@ function to(i) {
3263
3263
  return Rn;
3264
3264
  }
3265
3265
  let F = G(i), q = F && F(i), Y = !/*vLimit*/
3266
- i[202].isOperator && Ji(i), Q = !/*vLimit*/
3266
+ i[202].isOperator && Zi(i), Q = !/*vLimit*/
3267
3267
  i[202].shouldHideProgress && eo(i);
3268
3268
  return {
3269
3269
  c() {
@@ -3283,7 +3283,7 @@ function to(i) {
3283
3283
  D[202].period
3284
3284
  )}`) && M(m, u), /*vLimit*/
3285
3285
  D[202].showInfoMessage ? O ? O.p(D, V) : (O = Xi(D), O.c(), O.m(o, null)) : O && (O.d(1), O = null), F === (F = G(D)) && q ? q.p(D, V) : (q && q.d(1), q = F && F(D), q && (q.c(), q.m(n, b))), /*vLimit*/
3286
- D[202].isOperator ? Y && (Y.d(1), Y = null) : Y ? Y.p(D, V) : (Y = Ji(D), Y.c(), Y.m(n, _)), /*vLimit*/
3286
+ D[202].isOperator ? Y && (Y.d(1), Y = null) : Y ? Y.p(D, V) : (Y = Zi(D), Y.c(), Y.m(n, _)), /*vLimit*/
3287
3287
  D[202].shouldHideProgress ? Q && (Q.d(1), Q = null) : Q ? Q.p(D, V) : (Q = eo(D), Q.c(), Q.m(n, null));
3288
3288
  },
3289
3289
  d(D) {
@@ -3980,7 +3980,7 @@ function fo(i) {
3980
3980
  }
3981
3981
  };
3982
3982
  }
3983
- function Jn(i) {
3983
+ function Zn(i) {
3984
3984
  let e, t = (
3985
3985
  /*$_*/
3986
3986
  i[40]("setLimit") + ""
@@ -4008,7 +4008,7 @@ function Jn(i) {
4008
4008
  }
4009
4009
  };
4010
4010
  }
4011
- function Zn(i) {
4011
+ function Jn(i) {
4012
4012
  let e;
4013
4013
  return {
4014
4014
  c() {
@@ -4026,7 +4026,7 @@ function Zn(i) {
4026
4026
  function Qn(i) {
4027
4027
  let e, t, n, o, r, s, u = Ae(Array(3)), m = [];
4028
4028
  for (let f = 0; f < u.length; f += 1)
4029
- m[f] = Zn(fn(i, u, f));
4029
+ m[f] = Jn(fn(i, u, f));
4030
4030
  return {
4031
4031
  c() {
4032
4032
  e = k("div"), t = k("div"), t.innerHTML = '<ui-skeleton width="auto" height="25px" structure="text" margin-right="auto"></ui-skeleton>', n = j(), o = k("div");
@@ -4095,7 +4095,7 @@ function $n(i) {
4095
4095
  function es(i, e, t) {
4096
4096
  let n, o, r, s;
4097
4097
  Ha(i, en, (a) => t(40, s = a));
4098
- let { $$slots: u = {}, $$scope: m } = e, { lang: f = "en" } = e, { currency: p = "" } = e, { limits: b = "" } = e, { session: _ = "" } = e, { userid: h = "" } = e, { endpoint: w = "" } = e, { apiversion: A = "" } = e, { companylimits: O = "false" } = e, { tablabels: G = "" } = e, { showcompanylimitsinfo: F = "false" } = e, { customcurrencysymbols: q = "" } = e, { netdepositprogress: Y = "false" } = e, { enablecompliancetext: Q = "" } = e, { deletelimit: D = "" } = e, { amountsconfig: V = "" } = e, { periodsconfig: ve = "" } = e, { defaultperiod: ce = "" } = e, { limittabindex: H = "" } = e, { tabcategory: ne = "" } = e, { limitformat: fe = "" } = e, { allowedextenssion: _e = ".jpg,.jpeg,.png,.pdf,.webp,image/png" } = e, { filesizeallow: re = "12934000" } = e, { clientstyling: ue = "" } = e, { clientstylingurl: le = "" } = e, { translationurl: me = "" } = e, { mbsource: ge } = e, { timezone: Ee = "GMT" } = e, { isLimitNotification: je = "false" } = e, { cooloffstrictmode: ae = "false" } = e, { inputhasdecimals: S } = e, { usecustomdropdown: I = "false" } = e, R, Re = [], ho, yo = window.navigator.userAgent, vo = !tn(yo), Dt = 1 / 0, Et = 1 / 0, yt = 0, K = "", Le = "", Ye = "", ut = 0, mt = 0, xt = "", Xe = "", Ce = "", vt = "", qe = 0, si, $, bt, U = [], xe = {}, He = {}, dt = {}, bo = {}, nt, pt = te({}, $t), It = { remove: {} }, be = {}, Pe = {}, ri = !1, Ot = !1, ye = !0, We = !1, Vt = !1, ct = !1, Be = !1, Ze = !1, kt = !1, Ge = !0, wt = !1, li = !1, ui = !1, Mt = !1, Ie = !1, jt = !1, Ut = !1, st = !1;
4098
+ let { $$slots: u = {}, $$scope: m } = e, { lang: f = "en" } = e, { currency: p = "" } = e, { limits: b = "" } = e, { session: _ = "" } = e, { userid: h = "" } = e, { endpoint: w = "" } = e, { apiversion: A = "" } = e, { companylimits: O = "false" } = e, { tablabels: G = "" } = e, { showcompanylimitsinfo: F = "false" } = e, { customcurrencysymbols: q = "" } = e, { netdepositprogress: Y = "false" } = e, { enablecompliancetext: Q = "" } = e, { deletelimit: D = "" } = e, { amountsconfig: V = "" } = e, { periodsconfig: ve = "" } = e, { defaultperiod: ce = "" } = e, { limittabindex: H = "" } = e, { tabcategory: ne = "" } = e, { limitformat: fe = "" } = e, { allowedextenssion: _e = ".jpg,.jpeg,.png,.pdf,.webp,image/png" } = e, { filesizeallow: re = "12934000" } = e, { clientstyling: ue = "" } = e, { clientstylingurl: le = "" } = e, { translationurl: me = "" } = e, { mbsource: ge } = e, { timezone: Ee = "GMT" } = e, { isLimitNotification: je = "false" } = e, { cooloffstrictmode: ae = "false" } = e, { inputhasdecimals: S } = e, { usecustomdropdown: I = "false" } = e, R, Re = [], ho, yo = window.navigator.userAgent, vo = !tn(yo), Dt = 1 / 0, Et = 1 / 0, yt = 0, K = "", Le = "", Ye = "", ut = 0, mt = 0, xt = "", Xe = "", Ce = "", vt = "", qe = 0, si, $, bt, U = [], xe = {}, He = {}, dt = {}, bo = {}, nt, pt = te({}, $t), It = { remove: {} }, be = {}, Pe = {}, ri = !1, Ot = !1, ye = !0, We = !1, Vt = !1, ct = !1, Be = !1, Je = !1, kt = !1, Ge = !0, wt = !1, li = !1, ui = !1, Mt = !1, Ie = !1, jt = !1, Ut = !1, st = !1;
4099
4099
  const Wt = (a, l = "GET", d = null) => we(this, null, function* () {
4100
4100
  const L = new URL(a.startsWith("http") ? a : `${w}${a}`), v = {
4101
4101
  method: l,
@@ -4117,17 +4117,17 @@ function es(i, e, t) {
4117
4117
  console.log(l);
4118
4118
  });
4119
4119
  };
4120
- Object.keys(Je).forEach((a) => {
4121
- Ti(a, Je[a]);
4120
+ Object.keys(Ze).forEach((a) => {
4121
+ Ti(a, Ze[a]);
4122
4122
  });
4123
4123
  const Ft = (a) => `dataLayer-${a}`, ze = (a, l) => {
4124
4124
  if (typeof gtag == "function") {
4125
4125
  const d = (Ye || "").toLowerCase(), L = (K || "").toLowerCase(), v = (Le || "").toLowerCase();
4126
4126
  gtag({
4127
4127
  event: a,
4128
- limit_category: Je[f][Ft(d)] || Ye,
4129
- limit_type: Je[f][Ft(L)] || K,
4130
- limit_period: Je[f][Ft(v)] || Le,
4128
+ limit_category: Ze[f][Ft(d)] || Ye,
4129
+ limit_type: Ze[f][Ft(L)] || K,
4130
+ limit_period: Ze[f][Ft(v)] || Le,
4131
4131
  limit_amount: $ || l
4132
4132
  });
4133
4133
  }
@@ -4141,9 +4141,9 @@ function es(i, e, t) {
4141
4141
  throw new Error(`Limit config mismatch: "${y[0]}" does not match "${l[v][0]}"`);
4142
4142
  const d = a.reduce(
4143
4143
  (v, y, N) => {
4144
- const W = y[0].slice(y[0].indexOf("(") + 1, y[0].indexOf(")")), J = y[0].slice(0, y[0].indexOf("(")), B = y[1], E = l[N][1].trim().replace("D", "Daily").replace("W", "Weekly").replace("M", "Monthly").replace("N", "None").split("-"), z = {
4144
+ const W = y[0].slice(y[0].indexOf("(") + 1, y[0].indexOf(")")), Z = y[0].slice(0, y[0].indexOf("(")), B = y[1], E = l[N][1].trim().replace("D", "Daily").replace("W", "Weekly").replace("M", "Monthly").replace("N", "None").split("-"), z = {
4145
4145
  value: W,
4146
- product: J,
4146
+ product: Z,
4147
4147
  minMax: B,
4148
4148
  periods: E,
4149
4149
  callValue: oe[W].callValue,
@@ -4240,8 +4240,8 @@ function es(i, e, t) {
4240
4240
  const y = Ye.toLowerCase();
4241
4241
  d = ((v = a == null ? void 0 : a.currentLimits) != null ? v : []).find((W) => {
4242
4242
  var B, E, z;
4243
- const J = W;
4244
- return J.period === Le && ((z = (E = (B = J.rawLimit) == null ? void 0 : B.products) != null ? E : J.products) != null ? z : []).some((T) => T.toLowerCase() === y);
4243
+ const Z = W;
4244
+ return Z.period === Le && ((z = (E = (B = Z.rawLimit) == null ? void 0 : B.products) != null ? E : Z.products) != null ? z : []).some((T) => T.toLowerCase() === y);
4245
4245
  }) || null;
4246
4246
  }
4247
4247
  return d ? {
@@ -4432,7 +4432,7 @@ function es(i, e, t) {
4432
4432
  xe = d, Xo(d), yield Oo(), yield No(), Kt(), ct && K !== X.SESSION_LIMIT && K !== X.CUMULATIVE_SESSION && St(), yield gt(), _t(), t(20, $ = null), t(34, Ge = !0), t(35, wt = !1);
4433
4433
  }), Ro = () => we(this, null, function* () {
4434
4434
  const a = new URL(`${w}/v1/player/${h}/limits/session`), l = yield fetch(a.href, ci()), d = yield Me(l);
4435
- Jo(d), Zo(d), ct && (K === X.SESSION_LIMIT || K === X.CUMULATIVE_SESSION) && St(), t(20, $ = null), t(34, Ge = !0), t(35, wt = !1);
4435
+ Zo(d), Jo(d), ct && (K === X.SESSION_LIMIT || K === X.CUMULATIVE_SESSION) && St(), t(20, $ = null), t(34, Ge = !0), t(35, wt = !1);
4436
4436
  }), Gt = () => we(this, null, function* () {
4437
4437
  t(27, ye = !0), t(28, We = !1);
4438
4438
  const a = U.some((l) => l.value === X.SESSION_LIMIT || l.value === X.CUMULATIVE_SESSION);
@@ -4462,10 +4462,10 @@ function es(i, e, t) {
4462
4462
  Array.isArray(v[0]) && (v = v.flat()), t(9, U = U.map((y) => {
4463
4463
  if (!y.currentLimits)
4464
4464
  return y;
4465
- const N = (y.product || "").toLowerCase(), W = (y.value || "").toLowerCase(), J = W.includes(he.netdeposit), B = W.includes(he.deposit) && !J, E = W.includes(he.loss), z = y.currentLimits.map((T) => {
4465
+ const N = (y.product || "").toLowerCase(), W = (y.value || "").toLowerCase(), Z = W.includes(he.netdeposit), B = W.includes(he.deposit) && !Z, E = W.includes(he.loss), z = y.currentLimits.map((T) => {
4466
4466
  var ke, $e;
4467
4467
  const se = v.filter((Te) => {
4468
- const Ne = (Te.limitType || "").toLowerCase(), Fe = Te.limitPeriod || "", ft = T.period || "", At = Ne.includes(he.netdeposit), et = Ne.includes(he.deposit) && !At, Nt = Ne.includes(he.loss), Bt = B && et || J && At || E && Nt;
4468
+ const Ne = (Te.limitType || "").toLowerCase(), Fe = Te.limitPeriod || "", ft = T.period || "", At = Ne.includes(he.netdeposit), et = Ne.includes(he.deposit) && !At, Nt = Ne.includes(he.loss), Bt = B && et || Z && At || E && Nt;
4469
4469
  return (Ne === W || Ne === `operator${W}` || Ne === `system${W}` || Bt) && (Fe === ft || Fe === "Monthly" && ft === "Month" || Fe === "Month" && ft === "Monthly");
4470
4470
  }), ee = (Te) => se.find((Ne) => (Ne.limitProducts || []).map((Fe) => Fe.toLowerCase()).includes(Te));
4471
4471
  let de = ee(N);
@@ -4516,19 +4516,19 @@ function es(i, e, t) {
4516
4516
  Array.isArray(l[0]) && (l = l.flat());
4517
4517
  const d = (y) => y == null ? 0 : typeof y == "number" ? y : typeof y == "object" && y.parsedValue !== void 0 ? parseFloat(y.parsedValue) : typeof y == "object" && y.amount !== void 0 ? d(y.amount) : typeof y == "string" && parseFloat(y.replace(X.COMMA_REMOVAL_REGEX, "")) || 0, L = he.deposit.toLowerCase(), v = he.netdeposit.toLowerCase();
4518
4518
  Dt = 1 / 0, Et = 1 / 0, yt = 0, l.forEach((y) => {
4519
- var W, J;
4519
+ var W, Z;
4520
4520
  const N = (y.limitType || "").toLowerCase();
4521
4521
  if (N.includes(L) || N.includes(v)) {
4522
- const B = d(y.limitAmount), E = d((J = (W = y.spentBalance) == null ? void 0 : W.amount) != null ? J : y.spentBalance), z = Math.max(0, B - E);
4522
+ const B = d(y.limitAmount), E = d((Z = (W = y.spentBalance) == null ? void 0 : W.amount) != null ? Z : y.spentBalance), z = Math.max(0, B - E);
4523
4523
  B > 0 && B < Dt && (Dt = B), z < Et && (Et = z), E > yt && (yt = E);
4524
4524
  }
4525
4525
  }), t(9, U = U.map((y) => {
4526
4526
  const N = (y.value || "").toLowerCase(), W = (y.product || "").toLowerCase();
4527
- let J = [];
4527
+ let Z = [];
4528
4528
  l.forEach((E) => {
4529
4529
  var ee, de;
4530
4530
  const z = (E.limitType || "").toLowerCase(), T = (E.limitProducts || []).map((Ue) => (Ue || "").toLowerCase());
4531
- (z === N || z === `operator${N}`) && (T.includes(W) || T.includes("all")) && J.push(Se(te({}, E), {
4531
+ (z === N || z === `operator${N}`) && (T.includes(W) || T.includes("all")) && Z.push(Se(te({}, E), {
4532
4532
  amount: d(E.limitAmount),
4533
4533
  period: E.limitPeriod,
4534
4534
  spent: d((de = (ee = E.spentBalance) == null ? void 0 : ee.amount) != null ? de : E.spentBalance),
@@ -4538,13 +4538,13 @@ function es(i, e, t) {
4538
4538
  }));
4539
4539
  }), y.currentLimits && y.currentLimits.forEach((E) => {
4540
4540
  var z, T;
4541
- J.push(Se(te({}, E), {
4541
+ Z.push(Se(te({}, E), {
4542
4542
  amount: parseFloat(E.amount.toString().replace(X.COMMA_REMOVAL_REGEX, "")),
4543
4543
  spent: (T = (z = E.spentBalance) == null ? void 0 : z.amount) != null ? T : 0,
4544
4544
  source: X.LOCAL.toUpperCase()
4545
4545
  }));
4546
4546
  });
4547
- const B = J.reduce(
4547
+ const B = Z.reduce(
4548
4548
  (E, z) => {
4549
4549
  var se, ee;
4550
4550
  const T = Ie ? z.period : `${z.period}_${z.isOperator ? "operator" : "user"}`;
@@ -4568,7 +4568,7 @@ function es(i, e, t) {
4568
4568
  const L = (d.value || "").toLowerCase(), v = L.includes(a), y = L.includes(l) && !v, N = y || v;
4569
4569
  let W = Ut && d.allValidLimits !== void 0 ? [...d.allValidLimits] : [...d.currentLimits || []];
4570
4570
  Ie || (W = W.filter((B) => !B.isOperator || B.isModified || B.reviewPending && B.reviewPending.id));
4571
- const J = W.filter((B) => Ut ? !B.isCrossFamily : !B.isExternalFamily).map((B) => {
4571
+ const Z = W.filter((B) => Ut ? !B.isCrossFamily : !B.isExternalFamily).map((B) => {
4572
4572
  const E = B.reviewPending && B.reviewPending.id, z = (d.currentLimits || []).find((se) => se.period === B.period), T = z ? z.amount : B.amount;
4573
4573
  return N && Dt !== 1 / 0 ? Se(te({}, B), {
4574
4574
  isModified: B.isModified || !!E,
@@ -4587,7 +4587,7 @@ function es(i, e, t) {
4587
4587
  shouldHideProgress: !Ie
4588
4588
  });
4589
4589
  });
4590
- return Se(te({}, d), { visibleLimitsInUI: J });
4590
+ return Se(te({}, d), { visibleLimitsInUI: Z });
4591
4591
  })), t(9, U = [...U]);
4592
4592
  }, Fo = () => U.every((a, l) => {
4593
4593
  var L, v;
@@ -4598,10 +4598,10 @@ function es(i, e, t) {
4598
4598
  N.className = `Progress-bar-container ${y === 0 ? "ZeroProgress" : ""}`;
4599
4599
  const W = document.createElement("div");
4600
4600
  W.className = "Progress-bar-fill", W.style.width = `${v}%`;
4601
- const J = document.createElement("span");
4602
- J.className = "Progress-bar-label";
4601
+ const Z = document.createElement("span");
4602
+ Z.className = "Progress-bar-label";
4603
4603
  const B = isNaN(L) ? 0 : L, E = pt[d] || d;
4604
- return J.textContent = `${E}${B.toFixed(2)}`, N.appendChild(W), N.appendChild(J), N;
4604
+ return Z.textContent = `${E}${B.toFixed(2)}`, N.appendChild(W), N.appendChild(Z), N;
4605
4605
  } catch (v) {
4606
4606
  return console.error(v), document.createElement("div");
4607
4607
  }
@@ -4673,7 +4673,7 @@ function es(i, e, t) {
4673
4673
  Pe[l] && window.clearInterval(Pe[l]);
4674
4674
  }), t(24, be = Object.fromEntries(Object.entries(be).filter(([l]) => !a.has(l)))), Pe = Object.fromEntries(Object.entries(Pe).filter(([l]) => !a.has(l))), a.size > 0 && sn(h, [...a]);
4675
4675
  }, Yo = (a) => {
4676
- const l = Je[f].seconds, d = Je[f].reloadLimitsButton;
4676
+ const l = Ze[f].seconds, d = Ze[f].reloadLimitsButton;
4677
4677
  a.forEach(({ scheduleId: L, acknowledgedAt: v }) => {
4678
4678
  const y = Di(v), N = {
4679
4679
  timer: y > 0 ? `${y} ${l}` : d,
@@ -4684,12 +4684,12 @@ function es(i, e, t) {
4684
4684
  })), y > 0) {
4685
4685
  const W = window.setInterval(
4686
4686
  () => {
4687
- const J = Di(v);
4688
- J <= 0 ? (Pe[L] && window.clearInterval(Pe[L]), Pe = Object.fromEntries(Object.entries(Pe).filter(([B]) => B !== L)), t(24, be = Se(te({}, be), {
4687
+ const Z = Di(v);
4688
+ Z <= 0 ? (Pe[L] && window.clearInterval(Pe[L]), Pe = Object.fromEntries(Object.entries(Pe).filter(([B]) => B !== L)), t(24, be = Se(te({}, be), {
4689
4689
  [L]: { timer: d, timerStopped: !0 }
4690
4690
  }))) : t(24, be = Se(te({}, be), {
4691
4691
  [L]: {
4692
- timer: `${J} ${l}`,
4692
+ timer: `${Z} ${l}`,
4693
4693
  timerStopped: !1
4694
4694
  }
4695
4695
  }));
@@ -4767,7 +4767,7 @@ function es(i, e, t) {
4767
4767
  currentLimits: rt(E)
4768
4768
  });
4769
4769
  }));
4770
- }, Jo = (a) => {
4770
+ }, Zo = (a) => {
4771
4771
  a != null && a.sessionLimit && U.filter((l) => l.value === X.SESSION_LIMIT).forEach((l) => {
4772
4772
  l.currentLimits = [], l.currentLimits.push({
4773
4773
  limitType: X.SESSION_LIMIT,
@@ -4779,7 +4779,7 @@ function es(i, e, t) {
4779
4779
  expiryDate: a.sessionLimit.expiryDate
4780
4780
  }), l.currentLimits = rt(l.currentLimits);
4781
4781
  });
4782
- }, Zo = (a) => {
4782
+ }, Jo = (a) => {
4783
4783
  a != null && a.cumulativeSessionLimits && U.filter((l) => l.value === X.CUMULATIVE_SESSION).forEach((l) => {
4784
4784
  l.currentLimits = [];
4785
4785
  for (const d of a.cumulativeSessionLimits)
@@ -4813,7 +4813,7 @@ function es(i, e, t) {
4813
4813
  }, $o = () => {
4814
4814
  if (xe) {
4815
4815
  const a = xe[oe[K].callValue].find((L) => L.period === Le), l = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(a.amount);
4816
- let d = s("popupImmediateUpdate").replace("{selectedLimit}", Jt(a)).replace("{updatedAmount}", l).replace("{currency}", pt[a.currency] || a.currency).replace("{selectedPeriod}", s(`${Le}`));
4816
+ let d = s("popupImmediateUpdate").replace("{selectedLimit}", Zt(a)).replace("{updatedAmount}", l).replace("{currency}", pt[a.currency] || a.currency).replace("{selectedPeriod}", s(`${Le}`));
4817
4817
  t(17, Ce = a.isModified ? `${s("popupPendingUpdate")} ${new Date(a.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (${Ee})` : d);
4818
4818
  }
4819
4819
  t(31, Be = !0);
@@ -4841,7 +4841,7 @@ function es(i, e, t) {
4841
4841
  return;
4842
4842
  }
4843
4843
  const l = pa(a) || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(a.amount || 0), d = ((v = a.schedules) == null ? void 0 : v.length) > 0 ? `${new Date(a.schedules[0].applyAt).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (${Ee})` : "";
4844
- let L = s("popupImmediateUpdate").replace("{selectedLimit}", Jt(a)).replace("{updatedAmount}", l).replace("{selectedPeriod}", s(`${a.period}`));
4844
+ let L = s("popupImmediateUpdate").replace("{selectedLimit}", Zt(a)).replace("{updatedAmount}", l).replace("{selectedPeriod}", s(`${a.period}`));
4845
4845
  if (a.schedules.length > 0 && be[a.schedules[0].id]) {
4846
4846
  const N = Number(a.schedules[0].updateAmount) === 0;
4847
4847
  t(17, Ce = N ? s("popupLimitRemoved") : L);
@@ -4999,7 +4999,7 @@ function es(i, e, t) {
4999
4999
  });
5000
5000
  }, da = (a) => {
5001
5001
  Pe[a.scheduleId] && window.clearInterval(Pe[a.scheduleId]);
5002
- const l = Je[f].seconds, d = Je[f].reloadLimitsButton;
5002
+ const l = Ze[f].seconds, d = Ze[f].reloadLimitsButton;
5003
5003
  let L = 60;
5004
5004
  t(24, be = Se(te({}, be), {
5005
5005
  [a.scheduleId]: {
@@ -5027,7 +5027,7 @@ function es(i, e, t) {
5027
5027
  Pe = Se(te({}, Pe), {
5028
5028
  [a.scheduleId]: v
5029
5029
  });
5030
- }, Jt = (a) => {
5030
+ }, Zt = (a) => {
5031
5031
  var B;
5032
5032
  if (!a)
5033
5033
  return s(K || "");
@@ -5037,12 +5037,12 @@ function es(i, e, t) {
5037
5037
  const W = s(d);
5038
5038
  if (W !== d)
5039
5039
  return W;
5040
- const J = (E) => {
5040
+ const Z = (E) => {
5041
5041
  const z = s(E);
5042
5042
  return (z !== E ? z : E.charAt(0).toUpperCase() + E.slice(1)).replace(X.LIMIT_SUFFIX_REGEX, "").trim();
5043
5043
  };
5044
5044
  if (L && L !== "" && L !== "all") {
5045
- const E = J(d), z = J(L);
5045
+ const E = Z(d), z = Z(L);
5046
5046
  return `${E} - ${z} Limit`;
5047
5047
  }
5048
5048
  return d.charAt(0).toUpperCase() + d.slice(1);
@@ -5053,20 +5053,20 @@ function es(i, e, t) {
5053
5053
  const v = L.match(X.DYNAMIC_DECIMALS_REGEX), y = S === "true" ? v ? parseInt(v[1], 10) : 2 : 0, N = v ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
5054
5054
  let W;
5055
5055
  d ? W = a.reviewPending.requestAmount || 0 : W = l ? a.updateAmount : a.amount;
5056
- let J = S === "true" ? parseFloat(W).toFixed(y) : Math.round(parseFloat(W)).toString();
5056
+ let Z = S === "true" ? parseFloat(W).toFixed(y) : Math.round(parseFloat(W)).toString();
5057
5057
  const [B, E] = fe.includes(".") ? [",", "."] : [".", ","];
5058
- let [z, T] = J.includes(".") ? J.split(".") : [J, ""];
5058
+ let [z, T] = Z.includes(".") ? Z.split(".") : [Z, ""];
5059
5059
  if (z = z.replace(/\B(?=(\d{3})+(?!\d))/g, B), L = L.replace("{currency}", pt[a.currency] || a.currency).replace("{amount}", z).replace(N, S === "true" && T ? T : ""), S === "true" || !T) {
5060
5060
  const se = E === "." ? "\\." : E, ee = new RegExp(`${se}(?=[\\s\\D]|$)`, "g");
5061
5061
  L = L.replace(ee, "").trim();
5062
5062
  }
5063
5063
  return L;
5064
- }, Zt = () => {
5064
+ }, Jt = () => {
5065
5065
  t(31, Be = t(30, ct = !1)), t(18, vt = ""), window.postMessage({ type: "CloseLimitsPopup" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href), t(27, ye = !1);
5066
5066
  }, ca = () => {
5067
- window.postMessage({ type: "uploadDocuments" }, window.location.href), Zt();
5068
- }, _i = (a) => !a && !(a.length > 0) ? t(32, Ze = !1) : (t(22, nt = a), un(nt, re) ? mn(nt, _e) ? t(32, Ze = !0) : (console.error(s("fileExtenssionDeny")), t(32, Ze = !1)) : (console.error(s("fileSizeExceeded")), t(32, Ze = !1))), fa = () => {
5069
- if (!Ze)
5067
+ window.postMessage({ type: "uploadDocuments" }, window.location.href), Jt();
5068
+ }, _i = (a) => !a && !(a.length > 0) ? t(32, Je = !1) : (t(22, nt = a), un(nt, re) ? mn(nt, _e) ? t(32, Je = !0) : (console.error(s("fileExtenssionDeny")), t(32, Je = !1)) : (console.error(s("fileSizeExceeded")), t(32, Je = !1))), fa = () => {
5069
+ if (!Je)
5070
5070
  return;
5071
5071
  t(31, Be = !1);
5072
5072
  const a = new URL(`${w}/api/v1/mm/content/${h}/url-upload/`), l = {
@@ -5080,7 +5080,7 @@ function es(i, e, t) {
5080
5080
  fetch(a, l).then((d) => Me(d)).then((d) => {
5081
5081
  ga(d);
5082
5082
  }).catch((d) => {
5083
- console.error(s("errorUploadDocument"), d), t(22, nt = null), t(32, Ze = !1);
5083
+ console.error(s("errorUploadDocument"), d), t(22, nt = null), t(32, Je = !1);
5084
5084
  });
5085
5085
  }, ga = (a) => {
5086
5086
  const l = new FormData();
@@ -5107,7 +5107,7 @@ function es(i, e, t) {
5107
5107
  window.location.href
5108
5108
  ), console.error(s("errorUploadDocument"), d);
5109
5109
  }).finally(() => {
5110
- Zt(), t(22, nt = null), t(32, Ze = !1);
5110
+ Jt(), t(22, nt = null), t(32, Je = !1);
5111
5111
  });
5112
5112
  }, La = () => {
5113
5113
  let a = te({}, $t), l = "";
@@ -5184,9 +5184,9 @@ function es(i, e, t) {
5184
5184
  1073741824 | i.$$.dirty[2] & /*userid, endpoint, apiversion, amountsconfig, periodsconfig*/
5185
5185
  775 && h && _ && w && A && f && H && V && ve && Oe(), i.$$.dirty[0] & /*customStylingContainer*/
5186
5186
  256 | i.$$.dirty[2] & /*clientstyling*/
5187
- 32768 && ue && R && Ja(R, ue), i.$$.dirty[0] & /*customStylingContainer*/
5187
+ 32768 && ue && R && Za(R, ue), i.$$.dirty[0] & /*customStylingContainer*/
5188
5188
  256 | i.$$.dirty[2] & /*clientstylingurl*/
5189
- 65536 && le && R && Za(R, le), i.$$.dirty[0] & /*customStylingContainer*/
5189
+ 65536 && le && R && Ja(R, le), i.$$.dirty[0] & /*customStylingContainer*/
5190
5190
  256 | i.$$.dirty[2] & /*mbsource*/
5191
5191
  262144 && ge && R && Qa(R, `${ge}.Style`, ho), i.$$.dirty[2] & /*translationurl*/
5192
5192
  131072 && me && ko(), i.$$.dirty[0] & /*limittabindex*/
@@ -5253,7 +5253,7 @@ function es(i, e, t) {
5253
5253
  Vt,
5254
5254
  ct,
5255
5255
  Be,
5256
- Ze,
5256
+ Je,
5257
5257
  kt,
5258
5258
  Ge,
5259
5259
  wt,
@@ -5276,8 +5276,8 @@ function es(i, e, t) {
5276
5276
  vi,
5277
5277
  ki,
5278
5278
  wi,
5279
- Jt,
5280
5279
  Zt,
5280
+ Jt,
5281
5281
  ca,
5282
5282
  _i,
5283
5283
  fa,
@@ -5375,187 +5375,187 @@ class ts extends Ra {
5375
5375
  return this.$$.ctx[0];
5376
5376
  }
5377
5377
  set lang(e) {
5378
- this.$$set({ lang: e }), Z();
5378
+ this.$$set({ lang: e }), J();
5379
5379
  }
5380
5380
  get currency() {
5381
5381
  return this.$$.ctx[1];
5382
5382
  }
5383
5383
  set currency(e) {
5384
- this.$$set({ currency: e }), Z();
5384
+ this.$$set({ currency: e }), J();
5385
5385
  }
5386
5386
  get limits() {
5387
5387
  return this.$$.ctx[60];
5388
5388
  }
5389
5389
  set limits(e) {
5390
- this.$$set({ limits: e }), Z();
5390
+ this.$$set({ limits: e }), J();
5391
5391
  }
5392
5392
  get session() {
5393
5393
  return this.$$.ctx[61];
5394
5394
  }
5395
5395
  set session(e) {
5396
- this.$$set({ session: e }), Z();
5396
+ this.$$set({ session: e }), J();
5397
5397
  }
5398
5398
  get userid() {
5399
5399
  return this.$$.ctx[62];
5400
5400
  }
5401
5401
  set userid(e) {
5402
- this.$$set({ userid: e }), Z();
5402
+ this.$$set({ userid: e }), J();
5403
5403
  }
5404
5404
  get endpoint() {
5405
5405
  return this.$$.ctx[63];
5406
5406
  }
5407
5407
  set endpoint(e) {
5408
- this.$$set({ endpoint: e }), Z();
5408
+ this.$$set({ endpoint: e }), J();
5409
5409
  }
5410
5410
  get apiversion() {
5411
5411
  return this.$$.ctx[64];
5412
5412
  }
5413
5413
  set apiversion(e) {
5414
- this.$$set({ apiversion: e }), Z();
5414
+ this.$$set({ apiversion: e }), J();
5415
5415
  }
5416
5416
  get companylimits() {
5417
5417
  return this.$$.ctx[65];
5418
5418
  }
5419
5419
  set companylimits(e) {
5420
- this.$$set({ companylimits: e }), Z();
5420
+ this.$$set({ companylimits: e }), J();
5421
5421
  }
5422
5422
  get tablabels() {
5423
5423
  return this.$$.ctx[66];
5424
5424
  }
5425
5425
  set tablabels(e) {
5426
- this.$$set({ tablabels: e }), Z();
5426
+ this.$$set({ tablabels: e }), J();
5427
5427
  }
5428
5428
  get showcompanylimitsinfo() {
5429
5429
  return this.$$.ctx[67];
5430
5430
  }
5431
5431
  set showcompanylimitsinfo(e) {
5432
- this.$$set({ showcompanylimitsinfo: e }), Z();
5432
+ this.$$set({ showcompanylimitsinfo: e }), J();
5433
5433
  }
5434
5434
  get customcurrencysymbols() {
5435
5435
  return this.$$.ctx[68];
5436
5436
  }
5437
5437
  set customcurrencysymbols(e) {
5438
- this.$$set({ customcurrencysymbols: e }), Z();
5438
+ this.$$set({ customcurrencysymbols: e }), J();
5439
5439
  }
5440
5440
  get netdepositprogress() {
5441
5441
  return this.$$.ctx[69];
5442
5442
  }
5443
5443
  set netdepositprogress(e) {
5444
- this.$$set({ netdepositprogress: e }), Z();
5444
+ this.$$set({ netdepositprogress: e }), J();
5445
5445
  }
5446
5446
  get enablecompliancetext() {
5447
5447
  return this.$$.ctx[2];
5448
5448
  }
5449
5449
  set enablecompliancetext(e) {
5450
- this.$$set({ enablecompliancetext: e }), Z();
5450
+ this.$$set({ enablecompliancetext: e }), J();
5451
5451
  }
5452
5452
  get deletelimit() {
5453
5453
  return this.$$.ctx[3];
5454
5454
  }
5455
5455
  set deletelimit(e) {
5456
- this.$$set({ deletelimit: e }), Z();
5456
+ this.$$set({ deletelimit: e }), J();
5457
5457
  }
5458
5458
  get amountsconfig() {
5459
5459
  return this.$$.ctx[70];
5460
5460
  }
5461
5461
  set amountsconfig(e) {
5462
- this.$$set({ amountsconfig: e }), Z();
5462
+ this.$$set({ amountsconfig: e }), J();
5463
5463
  }
5464
5464
  get periodsconfig() {
5465
5465
  return this.$$.ctx[71];
5466
5466
  }
5467
5467
  set periodsconfig(e) {
5468
- this.$$set({ periodsconfig: e }), Z();
5468
+ this.$$set({ periodsconfig: e }), J();
5469
5469
  }
5470
5470
  get defaultperiod() {
5471
5471
  return this.$$.ctx[72];
5472
5472
  }
5473
5473
  set defaultperiod(e) {
5474
- this.$$set({ defaultperiod: e }), Z();
5474
+ this.$$set({ defaultperiod: e }), J();
5475
5475
  }
5476
5476
  get limittabindex() {
5477
5477
  return this.$$.ctx[4];
5478
5478
  }
5479
5479
  set limittabindex(e) {
5480
- this.$$set({ limittabindex: e }), Z();
5480
+ this.$$set({ limittabindex: e }), J();
5481
5481
  }
5482
5482
  get tabcategory() {
5483
5483
  return this.$$.ctx[73];
5484
5484
  }
5485
5485
  set tabcategory(e) {
5486
- this.$$set({ tabcategory: e }), Z();
5486
+ this.$$set({ tabcategory: e }), J();
5487
5487
  }
5488
5488
  get limitformat() {
5489
5489
  return this.$$.ctx[74];
5490
5490
  }
5491
5491
  set limitformat(e) {
5492
- this.$$set({ limitformat: e }), Z();
5492
+ this.$$set({ limitformat: e }), J();
5493
5493
  }
5494
5494
  get allowedextenssion() {
5495
5495
  return this.$$.ctx[75];
5496
5496
  }
5497
5497
  set allowedextenssion(e) {
5498
- this.$$set({ allowedextenssion: e }), Z();
5498
+ this.$$set({ allowedextenssion: e }), J();
5499
5499
  }
5500
5500
  get filesizeallow() {
5501
5501
  return this.$$.ctx[76];
5502
5502
  }
5503
5503
  set filesizeallow(e) {
5504
- this.$$set({ filesizeallow: e }), Z();
5504
+ this.$$set({ filesizeallow: e }), J();
5505
5505
  }
5506
5506
  get clientstyling() {
5507
5507
  return this.$$.ctx[77];
5508
5508
  }
5509
5509
  set clientstyling(e) {
5510
- this.$$set({ clientstyling: e }), Z();
5510
+ this.$$set({ clientstyling: e }), J();
5511
5511
  }
5512
5512
  get clientstylingurl() {
5513
5513
  return this.$$.ctx[78];
5514
5514
  }
5515
5515
  set clientstylingurl(e) {
5516
- this.$$set({ clientstylingurl: e }), Z();
5516
+ this.$$set({ clientstylingurl: e }), J();
5517
5517
  }
5518
5518
  get translationurl() {
5519
5519
  return this.$$.ctx[79];
5520
5520
  }
5521
5521
  set translationurl(e) {
5522
- this.$$set({ translationurl: e }), Z();
5522
+ this.$$set({ translationurl: e }), J();
5523
5523
  }
5524
5524
  get mbsource() {
5525
5525
  return this.$$.ctx[80];
5526
5526
  }
5527
5527
  set mbsource(e) {
5528
- this.$$set({ mbsource: e }), Z();
5528
+ this.$$set({ mbsource: e }), J();
5529
5529
  }
5530
5530
  get timezone() {
5531
5531
  return this.$$.ctx[81];
5532
5532
  }
5533
5533
  set timezone(e) {
5534
- this.$$set({ timezone: e }), Z();
5534
+ this.$$set({ timezone: e }), J();
5535
5535
  }
5536
5536
  get isLimitNotification() {
5537
5537
  return this.$$.ctx[5];
5538
5538
  }
5539
5539
  set isLimitNotification(e) {
5540
- this.$$set({ isLimitNotification: e }), Z();
5540
+ this.$$set({ isLimitNotification: e }), J();
5541
5541
  }
5542
5542
  get cooloffstrictmode() {
5543
5543
  return this.$$.ctx[82];
5544
5544
  }
5545
5545
  set cooloffstrictmode(e) {
5546
- this.$$set({ cooloffstrictmode: e }), Z();
5546
+ this.$$set({ cooloffstrictmode: e }), J();
5547
5547
  }
5548
5548
  get inputhasdecimals() {
5549
5549
  return this.$$.ctx[6];
5550
5550
  }
5551
5551
  set inputhasdecimals(e) {
5552
- this.$$set({ inputhasdecimals: e }), Z();
5552
+ this.$$set({ inputhasdecimals: e }), J();
5553
5553
  }
5554
5554
  get usecustomdropdown() {
5555
5555
  return this.$$.ctx[7];
5556
5556
  }
5557
5557
  set usecustomdropdown(e) {
5558
- this.$$set({ usecustomdropdown: e }), Z();
5558
+ this.$$set({ usecustomdropdown: e }), J();
5559
5559
  }
5560
5560
  }
5561
5561
  $a(ts, { lang: {}, currency: {}, limits: {}, session: {}, userid: {}, endpoint: {}, apiversion: {}, companylimits: {}, tablabels: {}, showcompanylimitsinfo: {}, customcurrencysymbols: {}, netdepositprogress: {}, enablecompliancetext: {}, deletelimit: {}, amountsconfig: {}, periodsconfig: {}, defaultperiod: {}, limittabindex: {}, tabcategory: {}, limitformat: {}, allowedextenssion: {}, filesizeallow: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, timezone: {}, isLimitNotification: {}, cooloffstrictmode: {}, inputhasdecimals: {}, usecustomdropdown: {} }, ["LimitSkeleton", "LimitsList", "LimitSubmitButton"], [], !0);