@everymatrix/player-limit-notification 0.19.49 → 0.19.51
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.
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CLdcPgbv.js → PlayerAccountGamingLimitsHistory2Nd-BmIU_HIE.js} +2 -2
- package/components/{PlayerAccountGamingLimitsHistory2Nd-D3bNqXRL.js → PlayerAccountGamingLimitsHistory2Nd-wOy1UkpE.js} +2 -2
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BB6TtVZ6.cjs → PlayerAccountGamingLimitsHistory2Nd-yF-IqkJN.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BI8LsteG.js → PlayerAccountGamingLimitsPage2Gm16Nd-BuILW00X.js} +1173 -1165
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BHVxZqXk.js → PlayerAccountGamingLimitsPage2Gm16Nd-C7pe7X2o.js} +10 -10
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CqiBJdVP.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-LvVq-dI7.cjs} +7 -7
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-D891JPc5.cjs → PlayerAccountGamingLimitsWrapper2Nd-BhUrwtpD.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-B1YhJb_H.js → PlayerAccountGamingLimitsWrapper2Nd-BlwaAQui.js} +499 -471
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DyxYOP5G.js → PlayerAccountGamingLimitsWrapper2Nd-CP3ivFSA.js} +504 -472
- package/components/{PlayerLimitNotification-C5YACuuY.cjs → PlayerLimitNotification-BZY3ey8U.cjs} +1 -1
- package/components/{PlayerLimitNotification-BGarW9tl.js → PlayerLimitNotification-DGz2dSF8.js} +1 -1
- package/components/{PlayerLimitNotification-0wo7XMq9.js → PlayerLimitNotification-ZNFLmlqi.js} +1 -1
- package/es2015/player-limit-notification.cjs +1 -1
- package/es2015/player-limit-notification.js +1 -1
- package/esnext/player-limit-notification.js +1 -1
- package/package.json +1 -1
|
@@ -10,24 +10,24 @@ var Oi = (i, e, t) => e in i ? Za(i, e, { enumerable: !0, configurable: !0, writ
|
|
|
10
10
|
$a.call(e, t) && Oi(i, t, e[t]);
|
|
11
11
|
return i;
|
|
12
12
|
}, De = (i, e) => Xa(i, Ja(e));
|
|
13
|
-
var Ae = (i, e, t) => new Promise((
|
|
13
|
+
var Ae = (i, e, t) => new Promise((a, n) => {
|
|
14
14
|
var r = (m) => {
|
|
15
15
|
try {
|
|
16
16
|
u(t.next(m));
|
|
17
17
|
} catch (f) {
|
|
18
|
-
|
|
18
|
+
n(f);
|
|
19
19
|
}
|
|
20
20
|
}, s = (m) => {
|
|
21
21
|
try {
|
|
22
22
|
u(t.throw(m));
|
|
23
23
|
} catch (f) {
|
|
24
|
-
|
|
24
|
+
n(f);
|
|
25
25
|
}
|
|
26
|
-
}, u = (m) => m.done ?
|
|
26
|
+
}, u = (m) => m.done ? a(m.value) : Promise.resolve(m.value).then(r, s);
|
|
27
27
|
u((t = t.apply(i, e)).next());
|
|
28
28
|
});
|
|
29
|
-
import { a as en, $ as tn, S as on, i as an, s as nn, f as ee, b as sn, d as A, t as Et, e as It, D as rn, j as ln, k as C, l as c, m as
|
|
30
|
-
import { i as vn } from "./PlayerAccountGamingLimitsWrapper2Nd-
|
|
29
|
+
import { a as en, $ as tn, S as on, i as an, s as nn, f as ee, b as sn, d as A, t as Et, e as It, D as rn, j as ln, k as C, l as c, m as w, n as B, p as un, r as mn, M as vt, o as g, c as mi, u as di, g as pi, h as ci, x as dt, B as Ce, C as it, N as st, v as U, O as Eo, P as Mt, z as ge, w as j, Q as Ri, y as dn, E as tt, R as Kt, T as Io, U as kt, G as bt, A as ie, V as pn, W as cn, H as fn, I as gn, J as Ln, K as hn, L as yn } from "./PlayerLimitNotification-DGz2dSF8.js";
|
|
30
|
+
import { i as vn } from "./PlayerAccountGamingLimitsWrapper2Nd-BlwaAQui.js";
|
|
31
31
|
import "../stencil/ui-skeleton-xXZA3rYO.js";
|
|
32
32
|
const ae = {
|
|
33
33
|
lugas: {
|
|
@@ -1427,17 +1427,17 @@ function gi(i) {
|
|
|
1427
1427
|
function wn(i, e, t) {
|
|
1428
1428
|
if (typeof sessionStorage != "undefined")
|
|
1429
1429
|
try {
|
|
1430
|
-
const
|
|
1431
|
-
|
|
1432
|
-
} catch (
|
|
1430
|
+
const a = gi(i);
|
|
1431
|
+
a[e] = t, sessionStorage.setItem(fi(i), JSON.stringify(a));
|
|
1432
|
+
} catch (a) {
|
|
1433
1433
|
}
|
|
1434
1434
|
}
|
|
1435
1435
|
function _n(i, e) {
|
|
1436
1436
|
if (!(typeof sessionStorage == "undefined" || e.length === 0))
|
|
1437
1437
|
try {
|
|
1438
1438
|
const t = gi(i);
|
|
1439
|
-
e.forEach((
|
|
1440
|
-
delete t[
|
|
1439
|
+
e.forEach((a) => {
|
|
1440
|
+
delete t[a];
|
|
1441
1441
|
}), sessionStorage.setItem(fi(i), JSON.stringify(t));
|
|
1442
1442
|
} catch (t) {
|
|
1443
1443
|
}
|
|
@@ -1449,21 +1449,21 @@ function Wi(i) {
|
|
|
1449
1449
|
function Sn(i) {
|
|
1450
1450
|
const e = /* @__PURE__ */ new Set();
|
|
1451
1451
|
return i != null && i.length && i.forEach((t) => {
|
|
1452
|
-
var
|
|
1453
|
-
const
|
|
1454
|
-
|
|
1452
|
+
var n;
|
|
1453
|
+
const a = (n = t.schedules) != null && n.length ? t.schedules[0].id : null;
|
|
1454
|
+
a && e.add(a);
|
|
1455
1455
|
}), e;
|
|
1456
1456
|
}
|
|
1457
1457
|
function An(i, e, t) {
|
|
1458
|
-
const
|
|
1458
|
+
const a = /* @__PURE__ */ new Set();
|
|
1459
1459
|
t.forEach((s) => {
|
|
1460
|
-
i.has(s) ||
|
|
1460
|
+
i.has(s) || a.add(s);
|
|
1461
1461
|
}), Object.keys(e).forEach((s) => {
|
|
1462
|
-
i.has(s) ||
|
|
1462
|
+
i.has(s) || a.add(s);
|
|
1463
1463
|
});
|
|
1464
|
-
const
|
|
1464
|
+
const n = new Set(t), r = Object.keys(e).filter((s) => i.has(s) && !n.has(s)).map((s) => ({ scheduleId: s, acknowledgedAt: e[s] }));
|
|
1465
1465
|
return {
|
|
1466
|
-
toRemove:
|
|
1466
|
+
toRemove: a,
|
|
1467
1467
|
toRestore: r
|
|
1468
1468
|
};
|
|
1469
1469
|
}
|
|
@@ -1504,9 +1504,9 @@ const J = {
|
|
|
1504
1504
|
Monthly: 2,
|
|
1505
1505
|
None: 3
|
|
1506
1506
|
};
|
|
1507
|
-
return i.sort((t,
|
|
1508
|
-
var
|
|
1509
|
-
return ((
|
|
1507
|
+
return i.sort((t, a) => {
|
|
1508
|
+
var n, r;
|
|
1509
|
+
return ((n = e[t.period]) != null ? n : 99) - ((r = e[a.period]) != null ? r : 99);
|
|
1510
1510
|
});
|
|
1511
1511
|
}, Fi = (i, e) => {
|
|
1512
1512
|
if (!i || !i.type)
|
|
@@ -1518,14 +1518,14 @@ const J = {
|
|
|
1518
1518
|
internalServerError: ["F0004", "F0006"]
|
|
1519
1519
|
}, Cn = (i, e) => {
|
|
1520
1520
|
let t = 0;
|
|
1521
|
-
return Object.keys(i).forEach((
|
|
1522
|
-
t += i[
|
|
1521
|
+
return Object.keys(i).forEach((a) => {
|
|
1522
|
+
t += i[a].size;
|
|
1523
1523
|
}), t <= Number(e);
|
|
1524
1524
|
}, Pn = (i, e) => {
|
|
1525
1525
|
let t = !1;
|
|
1526
|
-
return Object.keys(i).forEach((
|
|
1527
|
-
const
|
|
1528
|
-
return e.includes(
|
|
1526
|
+
return Object.keys(i).forEach((a) => {
|
|
1527
|
+
const n = i[a].name.split(".").pop();
|
|
1528
|
+
return e.includes(n) ? t = !0 : t = !1;
|
|
1529
1529
|
}), t;
|
|
1530
1530
|
}, nt = (i, e) => {
|
|
1531
1531
|
const t = e || "en-GB";
|
|
@@ -1544,67 +1544,67 @@ function Tn(i) {
|
|
|
1544
1544
|
}
|
|
1545
1545
|
const zn = (i) => ({}), Gi = (i) => ({});
|
|
1546
1546
|
function Hi(i, e, t) {
|
|
1547
|
-
const
|
|
1548
|
-
return
|
|
1547
|
+
const a = i.slice();
|
|
1548
|
+
return a[192] = e[t], a;
|
|
1549
1549
|
}
|
|
1550
1550
|
function Ki(i, e, t) {
|
|
1551
|
-
const
|
|
1552
|
-
return
|
|
1551
|
+
const a = i.slice();
|
|
1552
|
+
return a[192] = e[t], a;
|
|
1553
1553
|
}
|
|
1554
1554
|
function Yi(i, e, t) {
|
|
1555
|
-
const
|
|
1556
|
-
return
|
|
1555
|
+
const a = i.slice();
|
|
1556
|
+
return a[197] = e[t], a[199] = t, a;
|
|
1557
1557
|
}
|
|
1558
1558
|
function Zi(i, e, t) {
|
|
1559
|
-
const
|
|
1560
|
-
return
|
|
1559
|
+
const a = i.slice();
|
|
1560
|
+
return a[197] = e[t], a;
|
|
1561
1561
|
}
|
|
1562
1562
|
function Xi(i, e, t) {
|
|
1563
1563
|
var r;
|
|
1564
|
-
const
|
|
1565
|
-
|
|
1566
|
-
const
|
|
1564
|
+
const a = i.slice();
|
|
1565
|
+
a[202] = e[t];
|
|
1566
|
+
const n = (
|
|
1567
1567
|
/*currentTabLimits*/
|
|
1568
|
-
(r =
|
|
1568
|
+
(r = a[202]) == null ? void 0 : r.some((s) => {
|
|
1569
1569
|
var u;
|
|
1570
1570
|
return ((u = s.visibleLimitsInUI) == null ? void 0 : u.length) > 0;
|
|
1571
1571
|
})
|
|
1572
1572
|
);
|
|
1573
|
-
return
|
|
1573
|
+
return a[203] = n, a;
|
|
1574
1574
|
}
|
|
1575
1575
|
function Ji(i, e, t) {
|
|
1576
|
-
const
|
|
1577
|
-
return
|
|
1576
|
+
const a = i.slice();
|
|
1577
|
+
return a[197] = e[t], a;
|
|
1578
1578
|
}
|
|
1579
1579
|
function Qi(i, e, t) {
|
|
1580
|
-
const
|
|
1581
|
-
return
|
|
1580
|
+
const a = i.slice();
|
|
1581
|
+
return a[197] = e[t], a;
|
|
1582
1582
|
}
|
|
1583
1583
|
function $i(i, e, t) {
|
|
1584
|
-
const
|
|
1585
|
-
|
|
1586
|
-
const
|
|
1584
|
+
const a = i.slice();
|
|
1585
|
+
a[208] = e[t], a[211] = t;
|
|
1586
|
+
const n = (
|
|
1587
1587
|
/*availableLimits*/
|
|
1588
|
-
|
|
1588
|
+
a[9].indexOf(
|
|
1589
1589
|
/*limit*/
|
|
1590
|
-
|
|
1590
|
+
a[197]
|
|
1591
1591
|
)
|
|
1592
1592
|
);
|
|
1593
|
-
return
|
|
1593
|
+
return a[209] = n, a;
|
|
1594
1594
|
}
|
|
1595
1595
|
const Dn = (i) => ({}), eo = (i) => ({});
|
|
1596
1596
|
function En(i, e, t) {
|
|
1597
|
-
const
|
|
1598
|
-
return
|
|
1597
|
+
const a = i.slice();
|
|
1598
|
+
return a[189] = e[t], a;
|
|
1599
1599
|
}
|
|
1600
1600
|
const In = (i) => ({}), to = (i) => ({});
|
|
1601
1601
|
function io(i, e, t) {
|
|
1602
|
-
const
|
|
1603
|
-
return
|
|
1602
|
+
const a = i.slice();
|
|
1603
|
+
return a[214] = e[t], a;
|
|
1604
1604
|
}
|
|
1605
1605
|
function oo(i) {
|
|
1606
|
-
let e, t,
|
|
1607
|
-
function
|
|
1606
|
+
let e, t, a;
|
|
1607
|
+
function n(u, m) {
|
|
1608
1608
|
return (
|
|
1609
1609
|
/*popupReady*/
|
|
1610
1610
|
u[32] ? (
|
|
@@ -1614,10 +1614,10 @@ function oo(i) {
|
|
|
1614
1614
|
) : jn
|
|
1615
1615
|
);
|
|
1616
1616
|
}
|
|
1617
|
-
let r =
|
|
1617
|
+
let r = n(i), s = r(i);
|
|
1618
1618
|
return {
|
|
1619
1619
|
c() {
|
|
1620
|
-
e =
|
|
1620
|
+
e = w("div"), t = w("div"), s.c(), g(t, "class", a = "PopupContainer " + /*popupClass*/
|
|
1621
1621
|
i[18] + " " + (/*isDesktop*/
|
|
1622
1622
|
i[42] ? "" : "Mobile")), g(e, "class", "PopupOverlay");
|
|
1623
1623
|
},
|
|
@@ -1625,10 +1625,10 @@ function oo(i) {
|
|
|
1625
1625
|
C(u, e, m), c(e, t), s.m(t, null);
|
|
1626
1626
|
},
|
|
1627
1627
|
p(u, m) {
|
|
1628
|
-
r === (r =
|
|
1629
|
-
262144 &&
|
|
1628
|
+
r === (r = n(u)) && s ? s.p(u, m) : (s.d(1), s = r(u), s && (s.c(), s.m(t, null))), m[0] & /*popupClass*/
|
|
1629
|
+
262144 && a !== (a = "PopupContainer " + /*popupClass*/
|
|
1630
1630
|
u[18] + " " + (/*isDesktop*/
|
|
1631
|
-
u[42] ? "" : "Mobile")) && g(t, "class",
|
|
1631
|
+
u[42] ? "" : "Mobile")) && g(t, "class", a);
|
|
1632
1632
|
},
|
|
1633
1633
|
d(u) {
|
|
1634
1634
|
u && A(e), s.d();
|
|
@@ -1636,14 +1636,14 @@ function oo(i) {
|
|
|
1636
1636
|
};
|
|
1637
1637
|
}
|
|
1638
1638
|
function Mn(i) {
|
|
1639
|
-
let e, t,
|
|
1639
|
+
let e, t, a = (
|
|
1640
1640
|
/*$_*/
|
|
1641
1641
|
i[41](
|
|
1642
1642
|
/*customPopupTitleKey*/
|
|
1643
1643
|
i[19]
|
|
1644
1644
|
) + ""
|
|
1645
|
-
),
|
|
1646
|
-
function
|
|
1645
|
+
), n, r, s, u, m, f, p, b, S, k, v, _, T;
|
|
1646
|
+
function E(H, se) {
|
|
1647
1647
|
return (
|
|
1648
1648
|
/*popupErrorDisplay*/
|
|
1649
1649
|
H[30] ? Bn : (
|
|
@@ -1652,7 +1652,7 @@ function Mn(i) {
|
|
|
1652
1652
|
)
|
|
1653
1653
|
);
|
|
1654
1654
|
}
|
|
1655
|
-
let M =
|
|
1655
|
+
let M = E(i), G = M(i);
|
|
1656
1656
|
function Y(H, se) {
|
|
1657
1657
|
return (
|
|
1658
1658
|
/*popupErrorDisplay*/
|
|
@@ -1662,7 +1662,7 @@ function Mn(i) {
|
|
|
1662
1662
|
)
|
|
1663
1663
|
);
|
|
1664
1664
|
}
|
|
1665
|
-
let te = Y(i),
|
|
1665
|
+
let te = Y(i), x = te(i);
|
|
1666
1666
|
function q(H, se) {
|
|
1667
1667
|
return (
|
|
1668
1668
|
/*popupVariant*/
|
|
@@ -1672,12 +1672,12 @@ function Mn(i) {
|
|
|
1672
1672
|
let _e = q(i), Le = _e(i);
|
|
1673
1673
|
return {
|
|
1674
1674
|
c() {
|
|
1675
|
-
e =
|
|
1675
|
+
e = w("div"), t = w("span"), n = j(a), r = B(), s = w("button"), s.textContent = "X", u = B(), m = w("div"), f = w("div"), G.c(), p = B(), x.c(), b = B(), S = w("p"), k = B(), Le.c(), v = tt(), g(t, "class", "PopupTitle"), g(s, "class", "ClosePopup"), g(e, "class", "PopupTitleWrapper"), g(f, "class", "ResultIconWrapper"), g(S, "class", "DescriptionParagraph " + (/*isDesktop*/
|
|
1676
1676
|
i[42] ? "" : "Mobile")), g(m, "class", "DescriptionWrapper");
|
|
1677
1677
|
},
|
|
1678
1678
|
m(H, se) {
|
|
1679
|
-
C(H, e, se), c(e, t), c(t,
|
|
1680
|
-
i[17], C(H,
|
|
1679
|
+
C(H, e, se), c(e, t), c(t, n), c(e, r), c(e, s), C(H, u, se), C(H, m, se), c(m, f), G.m(f, null), c(f, p), x.m(f, null), c(m, b), c(m, S), S.innerHTML = /*popupContent*/
|
|
1680
|
+
i[17], C(H, k, se), Le.m(H, se), C(H, v, se), _ || (T = ge(
|
|
1681
1681
|
s,
|
|
1682
1682
|
"click",
|
|
1683
1683
|
/*closePopup*/
|
|
@@ -1687,41 +1687,41 @@ function Mn(i) {
|
|
|
1687
1687
|
p(H, se) {
|
|
1688
1688
|
se[0] & /*customPopupTitleKey*/
|
|
1689
1689
|
524288 | se[1] & /*$_*/
|
|
1690
|
-
1024 &&
|
|
1690
|
+
1024 && a !== (a = /*$_*/
|
|
1691
1691
|
H[41](
|
|
1692
1692
|
/*customPopupTitleKey*/
|
|
1693
1693
|
H[19]
|
|
1694
|
-
) + "") &&
|
|
1695
|
-
131072 && (
|
|
1696
|
-
H[17]), _e === (_e = q(H)) && Le ? Le.p(H, se) : (Le.d(1), Le = _e(H), Le && (Le.c(), Le.m(
|
|
1694
|
+
) + "") && U(n, a), M !== (M = E(H)) && (G.d(1), G = M(H), G && (G.c(), G.m(f, p))), te === (te = Y(H)) && x ? x.p(H, se) : (x.d(1), x = te(H), x && (x.c(), x.m(f, null))), se[0] & /*popupContent*/
|
|
1695
|
+
131072 && (S.innerHTML = /*popupContent*/
|
|
1696
|
+
H[17]), _e === (_e = q(H)) && Le ? Le.p(H, se) : (Le.d(1), Le = _e(H), Le && (Le.c(), Le.m(v.parentNode, v)));
|
|
1697
1697
|
},
|
|
1698
1698
|
d(H) {
|
|
1699
|
-
H && (A(e), A(u), A(m), A(
|
|
1699
|
+
H && (A(e), A(u), A(m), A(k), A(v)), G.d(), x.d(), Le.d(H), _ = !1, T();
|
|
1700
1700
|
}
|
|
1701
1701
|
};
|
|
1702
1702
|
}
|
|
1703
1703
|
function xn(i) {
|
|
1704
|
-
let e, t,
|
|
1704
|
+
let e, t, a = (
|
|
1705
1705
|
/*$_*/
|
|
1706
1706
|
i[41]("documentUploadTitle") + ""
|
|
1707
|
-
),
|
|
1707
|
+
), n, r, s, u, m, f, p, b, S, k, v = (
|
|
1708
1708
|
/*$_*/
|
|
1709
1709
|
i[41]("uploadDocumentHeader") + ""
|
|
1710
|
-
), _,
|
|
1710
|
+
), _, T, E, M = (
|
|
1711
1711
|
/*$_*/
|
|
1712
1712
|
i[41]("uploadDocumentContent") + ""
|
|
1713
|
-
), G, Y, te,
|
|
1713
|
+
), G, Y, te, x, q, _e = (
|
|
1714
1714
|
/*$_*/
|
|
1715
1715
|
i[41]("uploadHistory") + ""
|
|
1716
1716
|
), Le, H, se, he, Pe, le = (
|
|
1717
1717
|
/*$_*/
|
|
1718
1718
|
i[41]("submitButton") + ""
|
|
1719
1719
|
), de, ue, pe, ye;
|
|
1720
|
-
function Ze(
|
|
1720
|
+
function Ze(N, F) {
|
|
1721
1721
|
return (
|
|
1722
1722
|
/*uploadedFiles*/
|
|
1723
|
-
|
|
1724
|
-
|
|
1723
|
+
N[23] && /*uploadedFiles*/
|
|
1724
|
+
N[23].length > 0 ? Gn : qn
|
|
1725
1725
|
);
|
|
1726
1726
|
}
|
|
1727
1727
|
let Re = Ze(i), re = Re(i), P = !/*isUploadValid*/
|
|
@@ -1730,7 +1730,7 @@ function xn(i) {
|
|
|
1730
1730
|
i[23].length > 0 && no(i);
|
|
1731
1731
|
return {
|
|
1732
1732
|
c() {
|
|
1733
|
-
e =
|
|
1733
|
+
e = w("div"), t = w("span"), n = j(a), r = B(), s = w("button"), s.textContent = "X", u = B(), m = w("div"), f = w("div"), p = w("label"), b = w("div"), b.innerHTML = `<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 486.3 486.3" xml:space="preserve"><g><g><path d="M395.5,135.8c-5.2-30.9-20.5-59.1-43.9-80.5c-26-23.8-59.8-36.9-95-36.9c-27.2,0-53.7,7.8-76.4,22.5
|
|
1734
1734
|
c-18.9,12.2-34.6,28.7-45.7,48.1c-4.8-0.9-9.8-1.4-14.8-1.4c-42.5,0-77.1,34.6-77.1,77.1c0,5.5,0.6,10.8,1.6,16
|
|
1735
1735
|
C16.7,200.7,0,232.9,0,267.2c0,27.7,10.3,54.6,29.1,75.9c19.3,21.8,44.8,34.7,72,36.2c0.3,0,0.5,0,0.8,0h86
|
|
1736
1736
|
c7.5,0,13.5-6,13.5-13.5s-6-13.5-13.5-13.5h-85.6C61.4,349.8,27,310.9,27,267.1c0-28.3,15.2-54.7,39.7-69
|
|
@@ -1739,14 +1739,14 @@ function xn(i) {
|
|
|
1739
1739
|
c0,49.7-39.1,92.9-87.3,96.6h-73.7c-7.5,0-13.5,6-13.5,13.5s6,13.5,13.5,13.5h74.2c0.3,0,0.6,0,1,0c30.5-2.2,59-16.2,80.2-39.6
|
|
1740
1740
|
c21.1-23.2,32.6-53,32.6-84C486.2,199.5,447.9,149.6,395.5,135.8z"></path><path d="M324.2,280c5.3-5.3,5.3-13.8,0-19.1l-71.5-71.5c-2.5-2.5-6-4-9.5-4s-7,1.4-9.5,4l-71.5,71.5c-5.3,5.3-5.3,13.8,0,19.1
|
|
1741
1741
|
c2.6,2.6,6.1,4,9.5,4s6.9-1.3,9.5-4l48.5-48.5v222.9c0,7.5,6,13.5,13.5,13.5s13.5-6,13.5-13.5V231.5l48.5,48.5
|
|
1742
|
-
C310.4,285.3,318.9,285.3,324.2,280z"></path></g></g></svg>`,
|
|
1742
|
+
C310.4,285.3,318.9,285.3,324.2,280z"></path></g></g></svg>`, S = B(), k = w("header"), _ = j(v), T = B(), E = w("span"), G = B(), Y = w("input"), te = B(), x = w("div"), q = w("p"), Le = j(_e), H = B(), re.c(), se = B(), P && P.c(), he = B(), Pe = w("button"), de = j(le), g(t, "class", "PopupTitle"), g(s, "class", "ClosePopup"), g(e, "class", "PopupTitleWrapper"), g(b, "class", "icon"), g(Y, "id", "files"), g(Y, "type", "file"), kt(Y, "display", "none"), g(p, "class", "documentDragArea"), g(p, "for", "files"), g(q, "class", "historyHeader"), g(x, "class", "uploadHistory"), g(Pe, "class", "SubmitDocumentButton " + (/*isDesktop*/
|
|
1743
1743
|
i[42] ? "" : "Mobile")), Pe.disabled = ue = !/*uploadedFiles*/
|
|
1744
1744
|
i[23] || !/*uploadedFiles*/
|
|
1745
1745
|
(i[23].length > 0) || !/*isUploadValid*/
|
|
1746
1746
|
i[33], g(f, "class", "documentAction"), g(m, "class", "DescriptionWrapper");
|
|
1747
1747
|
},
|
|
1748
|
-
m(
|
|
1749
|
-
C(
|
|
1748
|
+
m(N, F) {
|
|
1749
|
+
C(N, e, F), c(e, t), c(t, n), c(e, r), c(e, s), C(N, u, F), C(N, m, F), c(m, f), c(f, p), c(p, b), c(p, S), c(p, k), c(k, _), c(p, T), c(p, E), E.innerHTML = M, c(p, G), c(p, Y), c(f, te), c(f, x), c(x, q), c(q, Le), c(x, H), re.m(x, null), c(f, se), P && P.m(f, null), c(f, he), c(f, Pe), c(Pe, de), pe || (ye = [
|
|
1750
1750
|
ge(
|
|
1751
1751
|
s,
|
|
1752
1752
|
"click",
|
|
@@ -1767,29 +1767,29 @@ function xn(i) {
|
|
|
1767
1767
|
)
|
|
1768
1768
|
], pe = !0);
|
|
1769
1769
|
},
|
|
1770
|
-
p(
|
|
1770
|
+
p(N, F) {
|
|
1771
1771
|
F[1] & /*$_*/
|
|
1772
|
-
1024 &&
|
|
1773
|
-
|
|
1774
|
-
1024 &&
|
|
1775
|
-
|
|
1772
|
+
1024 && a !== (a = /*$_*/
|
|
1773
|
+
N[41]("documentUploadTitle") + "") && U(n, a), F[1] & /*$_*/
|
|
1774
|
+
1024 && v !== (v = /*$_*/
|
|
1775
|
+
N[41]("uploadDocumentHeader") + "") && U(_, v), F[1] & /*$_*/
|
|
1776
1776
|
1024 && M !== (M = /*$_*/
|
|
1777
|
-
|
|
1777
|
+
N[41]("uploadDocumentContent") + "") && (E.innerHTML = M), F[1] & /*$_*/
|
|
1778
1778
|
1024 && _e !== (_e = /*$_*/
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1779
|
+
N[41]("uploadHistory") + "") && U(Le, _e), Re === (Re = Ze(N)) && re ? re.p(N, F) : (re.d(1), re = Re(N), re && (re.c(), re.m(x, null))), !/*isUploadValid*/
|
|
1780
|
+
N[33] && /*uploadedFiles*/
|
|
1781
|
+
N[23] && /*uploadedFiles*/
|
|
1782
|
+
N[23].length > 0 ? P ? P.p(N, F) : (P = no(N), P.c(), P.m(f, he)) : P && (P.d(1), P = null), F[1] & /*$_*/
|
|
1783
1783
|
1024 && le !== (le = /*$_*/
|
|
1784
|
-
|
|
1784
|
+
N[41]("submitButton") + "") && U(de, le), F[0] & /*uploadedFiles*/
|
|
1785
1785
|
8388608 | F[1] & /*isUploadValid*/
|
|
1786
1786
|
4 && ue !== (ue = !/*uploadedFiles*/
|
|
1787
|
-
|
|
1788
|
-
(
|
|
1789
|
-
|
|
1787
|
+
N[23] || !/*uploadedFiles*/
|
|
1788
|
+
(N[23].length > 0) || !/*isUploadValid*/
|
|
1789
|
+
N[33]) && (Pe.disabled = ue);
|
|
1790
1790
|
},
|
|
1791
|
-
d(
|
|
1792
|
-
|
|
1791
|
+
d(N) {
|
|
1792
|
+
N && (A(e), A(u), A(m)), re.d(), P && P.d(), pe = !1, st(ye);
|
|
1793
1793
|
}
|
|
1794
1794
|
};
|
|
1795
1795
|
}
|
|
@@ -1797,10 +1797,10 @@ function jn(i) {
|
|
|
1797
1797
|
let e;
|
|
1798
1798
|
return {
|
|
1799
1799
|
c() {
|
|
1800
|
-
e =
|
|
1800
|
+
e = w("div"), g(e, "class", "LoadingIndicator");
|
|
1801
1801
|
},
|
|
1802
|
-
m(t,
|
|
1803
|
-
C(t, e,
|
|
1802
|
+
m(t, a) {
|
|
1803
|
+
C(t, e, a);
|
|
1804
1804
|
},
|
|
1805
1805
|
p: dt,
|
|
1806
1806
|
d(t) {
|
|
@@ -1809,17 +1809,17 @@ function jn(i) {
|
|
|
1809
1809
|
};
|
|
1810
1810
|
}
|
|
1811
1811
|
function Un(i) {
|
|
1812
|
-
let e, t,
|
|
1812
|
+
let e, t, a, n, r, s;
|
|
1813
1813
|
return {
|
|
1814
1814
|
c() {
|
|
1815
|
-
e = ie("svg"), t = ie("defs"),
|
|
1815
|
+
e = ie("svg"), t = ie("defs"), a = ie("style"), n = j(`.fil0 {
|
|
1816
1816
|
fill: black;
|
|
1817
1817
|
fill-rule: nonzero;
|
|
1818
1818
|
}
|
|
1819
|
-
`), r = ie("g"), s = ie("polygon"), g(
|
|
1819
|
+
`), r = ie("g"), s = ie("polygon"), g(a, "type", "text/css"), g(s, "class", "fil0"), g(s, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), g(e, "xmlns", "http://www.w3.org/2000/svg"), g(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), g(e, "xml:space", "preserve"), g(e, "version", "1.1"), kt(e, "shape-rendering", "geometricPrecision"), kt(e, "text-rendering", "geometricPrecision"), kt(e, "image-rendering", "optimizeQuality"), g(e, "viewBox", "0 0 90 69"), g(e, "x", "0px"), g(e, "y", "0px"), g(e, "fill-rule", "evenodd"), g(e, "clip-rule", "evenodd");
|
|
1820
1820
|
},
|
|
1821
1821
|
m(u, m) {
|
|
1822
|
-
C(u, e, m), c(e, t), c(t,
|
|
1822
|
+
C(u, e, m), c(e, t), c(t, a), c(a, n), c(e, r), c(r, s);
|
|
1823
1823
|
},
|
|
1824
1824
|
d(u) {
|
|
1825
1825
|
u && A(e);
|
|
@@ -1827,34 +1827,34 @@ function Un(i) {
|
|
|
1827
1827
|
};
|
|
1828
1828
|
}
|
|
1829
1829
|
function Nn(i) {
|
|
1830
|
-
let e, t,
|
|
1830
|
+
let e, t, a;
|
|
1831
1831
|
return {
|
|
1832
1832
|
c() {
|
|
1833
|
-
e = ie("svg"), t = ie("g"),
|
|
1833
|
+
e = ie("svg"), t = ie("g"), a = ie("path"), g(a, "id", "XMLID_6_"), g(a, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
|
|
1834
1834
|
c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55
|
|
1835
1835
|
c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1
|
|
1836
1836
|
h256.5v-82.1H429v366.5H429.9z`), g(t, "id", "XMLID_1_"), g(e, "version", "1.1"), g(e, "id", "Layer_1"), g(e, "xmlns", "http://www.w3.org/2000/svg"), g(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), g(e, "x", "0px"), g(e, "y", "0px"), g(e, "viewBox", "0 0 512 512"), kt(e, "enable-background", "new 0 0 512 512"), g(e, "xml:space", "preserve");
|
|
1837
1837
|
},
|
|
1838
|
-
m(
|
|
1839
|
-
C(
|
|
1838
|
+
m(n, r) {
|
|
1839
|
+
C(n, e, r), c(e, t), c(t, a);
|
|
1840
1840
|
},
|
|
1841
|
-
d(
|
|
1842
|
-
|
|
1841
|
+
d(n) {
|
|
1842
|
+
n && A(e);
|
|
1843
1843
|
}
|
|
1844
1844
|
};
|
|
1845
1845
|
}
|
|
1846
1846
|
function Bn(i) {
|
|
1847
|
-
let e, t,
|
|
1847
|
+
let e, t, a, n, r, s, u, m, f, p, b, S, k, v, _, T, E, M, G;
|
|
1848
1848
|
return {
|
|
1849
1849
|
c() {
|
|
1850
|
-
e = ie("svg"), t = ie("g"),
|
|
1851
|
-
S12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z`), g(
|
|
1850
|
+
e = ie("svg"), t = ie("g"), a = ie("path"), n = ie("path"), r = ie("g"), s = ie("g"), u = ie("g"), m = ie("g"), f = ie("g"), p = ie("g"), b = ie("g"), S = ie("g"), k = ie("g"), v = ie("g"), _ = ie("g"), T = ie("g"), E = ie("g"), M = ie("g"), G = ie("g"), g(a, "d", `M26,0C11.664,0,0,11.663,0,26s11.664,26,26,26s26-11.663,26-26S40.336,0,26,0z M26,50C12.767,50,2,39.233,2,26
|
|
1851
|
+
S12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z`), g(n, "d", `M35.707,16.293c-0.391-0.391-1.023-0.391-1.414,0L26,24.586l-8.293-8.293c-0.391-0.391-1.023-0.391-1.414,0
|
|
1852
1852
|
s-0.391,1.023,0,1.414L24.586,26l-8.293,8.293c-0.391,0.391-0.391,1.023,0,1.414C16.488,35.902,16.744,36,17,36
|
|
1853
1853
|
s0.512-0.098,0.707-0.293L26,27.414l8.293,8.293C34.488,35.902,34.744,36,35,36s0.512-0.098,0.707-0.293
|
|
1854
1854
|
c0.391-0.391,0.391-1.023,0-1.414L27.414,26l8.293-8.293C36.098,17.316,36.098,16.684,35.707,16.293z`), g(e, "version", "1.1"), g(e, "id", "Capa_1"), g(e, "xmlns", "http://www.w3.org/2000/svg"), g(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), g(e, "x", "0px"), g(e, "y", "0px"), g(e, "viewBox", "0 0 52 52"), kt(e, "enable-background", "new 0 0 52 52"), g(e, "xml:space", "preserve");
|
|
1855
1855
|
},
|
|
1856
1856
|
m(Y, te) {
|
|
1857
|
-
C(Y, e, te), c(e, t), c(t,
|
|
1857
|
+
C(Y, e, te), c(e, t), c(t, a), c(t, n), c(e, r), c(e, s), c(e, u), c(e, m), c(e, f), c(e, p), c(e, b), c(e, S), c(e, k), c(e, v), c(e, _), c(e, T), c(e, E), c(e, M), c(e, G);
|
|
1858
1858
|
},
|
|
1859
1859
|
d(Y) {
|
|
1860
1860
|
Y && A(e);
|
|
@@ -1865,21 +1865,21 @@ function On(i) {
|
|
|
1865
1865
|
let e, t = (
|
|
1866
1866
|
/*$_*/
|
|
1867
1867
|
i[41]("popupSuccess") + ""
|
|
1868
|
-
),
|
|
1868
|
+
), a;
|
|
1869
1869
|
return {
|
|
1870
1870
|
c() {
|
|
1871
|
-
e =
|
|
1871
|
+
e = w("p"), a = j(t);
|
|
1872
1872
|
},
|
|
1873
|
-
m(
|
|
1874
|
-
C(
|
|
1873
|
+
m(n, r) {
|
|
1874
|
+
C(n, e, r), c(e, a);
|
|
1875
1875
|
},
|
|
1876
|
-
p(
|
|
1876
|
+
p(n, r) {
|
|
1877
1877
|
r[1] & /*$_*/
|
|
1878
1878
|
1024 && t !== (t = /*$_*/
|
|
1879
|
-
|
|
1879
|
+
n[41]("popupSuccess") + "") && U(a, t);
|
|
1880
1880
|
},
|
|
1881
|
-
d(
|
|
1882
|
-
|
|
1881
|
+
d(n) {
|
|
1882
|
+
n && A(e);
|
|
1883
1883
|
}
|
|
1884
1884
|
};
|
|
1885
1885
|
}
|
|
@@ -1887,21 +1887,21 @@ function Rn(i) {
|
|
|
1887
1887
|
let e, t = (
|
|
1888
1888
|
/*$_*/
|
|
1889
1889
|
i[41]("docsRequired") + ""
|
|
1890
|
-
),
|
|
1890
|
+
), a;
|
|
1891
1891
|
return {
|
|
1892
1892
|
c() {
|
|
1893
|
-
e =
|
|
1893
|
+
e = w("p"), a = j(t);
|
|
1894
1894
|
},
|
|
1895
|
-
m(
|
|
1896
|
-
C(
|
|
1895
|
+
m(n, r) {
|
|
1896
|
+
C(n, e, r), c(e, a);
|
|
1897
1897
|
},
|
|
1898
|
-
p(
|
|
1898
|
+
p(n, r) {
|
|
1899
1899
|
r[1] & /*$_*/
|
|
1900
1900
|
1024 && t !== (t = /*$_*/
|
|
1901
|
-
|
|
1901
|
+
n[41]("docsRequired") + "") && U(a, t);
|
|
1902
1902
|
},
|
|
1903
|
-
d(
|
|
1904
|
-
|
|
1903
|
+
d(n) {
|
|
1904
|
+
n && A(e);
|
|
1905
1905
|
}
|
|
1906
1906
|
};
|
|
1907
1907
|
}
|
|
@@ -1909,21 +1909,21 @@ function Vn(i) {
|
|
|
1909
1909
|
let e, t = (
|
|
1910
1910
|
/*$_*/
|
|
1911
1911
|
i[41]("popupError") + ""
|
|
1912
|
-
),
|
|
1912
|
+
), a;
|
|
1913
1913
|
return {
|
|
1914
1914
|
c() {
|
|
1915
|
-
e =
|
|
1915
|
+
e = w("p"), a = j(t);
|
|
1916
1916
|
},
|
|
1917
|
-
m(
|
|
1918
|
-
C(
|
|
1917
|
+
m(n, r) {
|
|
1918
|
+
C(n, e, r), c(e, a);
|
|
1919
1919
|
},
|
|
1920
|
-
p(
|
|
1920
|
+
p(n, r) {
|
|
1921
1921
|
r[1] & /*$_*/
|
|
1922
1922
|
1024 && t !== (t = /*$_*/
|
|
1923
|
-
|
|
1923
|
+
n[41]("popupError") + "") && U(a, t);
|
|
1924
1924
|
},
|
|
1925
|
-
d(
|
|
1926
|
-
|
|
1925
|
+
d(n) {
|
|
1926
|
+
n && A(e);
|
|
1927
1927
|
}
|
|
1928
1928
|
};
|
|
1929
1929
|
}
|
|
@@ -1931,27 +1931,27 @@ function Wn(i) {
|
|
|
1931
1931
|
let e, t = (
|
|
1932
1932
|
/*$_*/
|
|
1933
1933
|
i[41]("okButton") + ""
|
|
1934
|
-
),
|
|
1934
|
+
), a, n, r;
|
|
1935
1935
|
return {
|
|
1936
1936
|
c() {
|
|
1937
|
-
e =
|
|
1937
|
+
e = w("button"), a = j(t), g(e, "class", "ConfirmButton " + (/*isDesktop*/
|
|
1938
1938
|
i[42] ? "" : "Mobile"));
|
|
1939
1939
|
},
|
|
1940
1940
|
m(s, u) {
|
|
1941
|
-
C(s, e, u), c(e,
|
|
1941
|
+
C(s, e, u), c(e, a), n || (r = ge(
|
|
1942
1942
|
e,
|
|
1943
1943
|
"click",
|
|
1944
1944
|
/*closePopup*/
|
|
1945
1945
|
i[57]
|
|
1946
|
-
),
|
|
1946
|
+
), n = !0);
|
|
1947
1947
|
},
|
|
1948
1948
|
p(s, u) {
|
|
1949
1949
|
u[1] & /*$_*/
|
|
1950
1950
|
1024 && t !== (t = /*$_*/
|
|
1951
|
-
s[41]("okButton") + "") &&
|
|
1951
|
+
s[41]("okButton") + "") && U(a, t);
|
|
1952
1952
|
},
|
|
1953
1953
|
d(s) {
|
|
1954
|
-
s && A(e),
|
|
1954
|
+
s && A(e), n = !1, r();
|
|
1955
1955
|
}
|
|
1956
1956
|
};
|
|
1957
1957
|
}
|
|
@@ -1959,16 +1959,16 @@ function Fn(i) {
|
|
|
1959
1959
|
let e, t = (
|
|
1960
1960
|
/*$_*/
|
|
1961
1961
|
i[41]("uploadDocumentsButton") + ""
|
|
1962
|
-
),
|
|
1962
|
+
), a, n, r = (
|
|
1963
1963
|
/*$_*/
|
|
1964
1964
|
i[41]("closeButton") + ""
|
|
1965
1965
|
), s, u, m;
|
|
1966
1966
|
return {
|
|
1967
1967
|
c() {
|
|
1968
|
-
e =
|
|
1968
|
+
e = w("button"), a = B(), n = w("button"), s = j(r), g(e, "class", "ConfirmButton"), g(n, "class", "CloseButton");
|
|
1969
1969
|
},
|
|
1970
1970
|
m(f, p) {
|
|
1971
|
-
C(f, e, p), e.innerHTML = t, C(f,
|
|
1971
|
+
C(f, e, p), e.innerHTML = t, C(f, a, p), C(f, n, p), c(n, s), u || (m = [
|
|
1972
1972
|
ge(
|
|
1973
1973
|
e,
|
|
1974
1974
|
"click",
|
|
@@ -1976,7 +1976,7 @@ function Fn(i) {
|
|
|
1976
1976
|
i[58]
|
|
1977
1977
|
),
|
|
1978
1978
|
ge(
|
|
1979
|
-
|
|
1979
|
+
n,
|
|
1980
1980
|
"click",
|
|
1981
1981
|
/*closePopup*/
|
|
1982
1982
|
i[57]
|
|
@@ -1988,10 +1988,10 @@ function Fn(i) {
|
|
|
1988
1988
|
1024 && t !== (t = /*$_*/
|
|
1989
1989
|
f[41]("uploadDocumentsButton") + "") && (e.innerHTML = t), p[1] & /*$_*/
|
|
1990
1990
|
1024 && r !== (r = /*$_*/
|
|
1991
|
-
f[41]("closeButton") + "") &&
|
|
1991
|
+
f[41]("closeButton") + "") && U(s, r);
|
|
1992
1992
|
},
|
|
1993
1993
|
d(f) {
|
|
1994
|
-
f && (A(e), A(
|
|
1994
|
+
f && (A(e), A(a), A(n)), u = !1, st(m);
|
|
1995
1995
|
}
|
|
1996
1996
|
};
|
|
1997
1997
|
}
|
|
@@ -1999,21 +1999,21 @@ function qn(i) {
|
|
|
1999
1999
|
let e, t = (
|
|
2000
2000
|
/*$_*/
|
|
2001
2001
|
i[41]("noFileUploaded") + ""
|
|
2002
|
-
),
|
|
2002
|
+
), a;
|
|
2003
2003
|
return {
|
|
2004
2004
|
c() {
|
|
2005
|
-
e =
|
|
2005
|
+
e = w("p"), a = j(t), g(e, "class", "historyItem");
|
|
2006
2006
|
},
|
|
2007
|
-
m(
|
|
2008
|
-
C(
|
|
2007
|
+
m(n, r) {
|
|
2008
|
+
C(n, e, r), c(e, a);
|
|
2009
2009
|
},
|
|
2010
|
-
p(
|
|
2010
|
+
p(n, r) {
|
|
2011
2011
|
r[1] & /*$_*/
|
|
2012
2012
|
1024 && t !== (t = /*$_*/
|
|
2013
|
-
|
|
2013
|
+
n[41]("noFileUploaded") + "") && U(a, t);
|
|
2014
2014
|
},
|
|
2015
|
-
d(
|
|
2016
|
-
|
|
2015
|
+
d(n) {
|
|
2016
|
+
n && A(e);
|
|
2017
2017
|
}
|
|
2018
2018
|
};
|
|
2019
2019
|
}
|
|
@@ -2021,39 +2021,39 @@ function Gn(i) {
|
|
|
2021
2021
|
let e, t = Ce(Array.from(
|
|
2022
2022
|
/*uploadedFiles*/
|
|
2023
2023
|
i[23]
|
|
2024
|
-
)),
|
|
2025
|
-
for (let
|
|
2026
|
-
n
|
|
2024
|
+
)), a = [];
|
|
2025
|
+
for (let n = 0; n < t.length; n += 1)
|
|
2026
|
+
a[n] = ao(io(i, t, n));
|
|
2027
2027
|
return {
|
|
2028
2028
|
c() {
|
|
2029
|
-
for (let
|
|
2030
|
-
n
|
|
2029
|
+
for (let n = 0; n < a.length; n += 1)
|
|
2030
|
+
a[n].c();
|
|
2031
2031
|
e = tt();
|
|
2032
2032
|
},
|
|
2033
|
-
m(
|
|
2034
|
-
for (let s = 0; s <
|
|
2035
|
-
|
|
2036
|
-
C(
|
|
2033
|
+
m(n, r) {
|
|
2034
|
+
for (let s = 0; s < a.length; s += 1)
|
|
2035
|
+
a[s] && a[s].m(n, r);
|
|
2036
|
+
C(n, e, r);
|
|
2037
2037
|
},
|
|
2038
|
-
p(
|
|
2038
|
+
p(n, r) {
|
|
2039
2039
|
if (r[0] & /*uploadedFiles*/
|
|
2040
2040
|
8388608) {
|
|
2041
2041
|
t = Ce(Array.from(
|
|
2042
2042
|
/*uploadedFiles*/
|
|
2043
|
-
|
|
2043
|
+
n[23]
|
|
2044
2044
|
));
|
|
2045
2045
|
let s;
|
|
2046
2046
|
for (s = 0; s < t.length; s += 1) {
|
|
2047
|
-
const u = io(
|
|
2048
|
-
|
|
2047
|
+
const u = io(n, t, s);
|
|
2048
|
+
a[s] ? a[s].p(u, r) : (a[s] = ao(u), a[s].c(), a[s].m(e.parentNode, e));
|
|
2049
2049
|
}
|
|
2050
|
-
for (; s <
|
|
2051
|
-
|
|
2052
|
-
|
|
2050
|
+
for (; s < a.length; s += 1)
|
|
2051
|
+
a[s].d(1);
|
|
2052
|
+
a.length = t.length;
|
|
2053
2053
|
}
|
|
2054
2054
|
},
|
|
2055
|
-
d(
|
|
2056
|
-
|
|
2055
|
+
d(n) {
|
|
2056
|
+
n && A(e), it(a, n);
|
|
2057
2057
|
}
|
|
2058
2058
|
};
|
|
2059
2059
|
}
|
|
@@ -2061,21 +2061,21 @@ function ao(i) {
|
|
|
2061
2061
|
let e, t = (
|
|
2062
2062
|
/*file*/
|
|
2063
2063
|
i[214].name + ""
|
|
2064
|
-
),
|
|
2064
|
+
), a;
|
|
2065
2065
|
return {
|
|
2066
2066
|
c() {
|
|
2067
|
-
e =
|
|
2067
|
+
e = w("p"), a = j(t), g(e, "class", "historyItem");
|
|
2068
2068
|
},
|
|
2069
|
-
m(
|
|
2070
|
-
C(
|
|
2069
|
+
m(n, r) {
|
|
2070
|
+
C(n, e, r), c(e, a);
|
|
2071
2071
|
},
|
|
2072
|
-
p(
|
|
2072
|
+
p(n, r) {
|
|
2073
2073
|
r[0] & /*uploadedFiles*/
|
|
2074
2074
|
8388608 && t !== (t = /*file*/
|
|
2075
|
-
|
|
2075
|
+
n[214].name + "") && U(a, t);
|
|
2076
2076
|
},
|
|
2077
|
-
d(
|
|
2078
|
-
|
|
2077
|
+
d(n) {
|
|
2078
|
+
n && A(e);
|
|
2079
2079
|
}
|
|
2080
2080
|
};
|
|
2081
2081
|
}
|
|
@@ -2083,35 +2083,35 @@ function no(i) {
|
|
|
2083
2083
|
let e, t = (
|
|
2084
2084
|
/*$_*/
|
|
2085
2085
|
i[41]("filesUploadError") + ""
|
|
2086
|
-
),
|
|
2086
|
+
), a;
|
|
2087
2087
|
return {
|
|
2088
2088
|
c() {
|
|
2089
|
-
e =
|
|
2089
|
+
e = w("p"), a = j(t), g(e, "class", "filesError");
|
|
2090
2090
|
},
|
|
2091
|
-
m(
|
|
2092
|
-
C(
|
|
2091
|
+
m(n, r) {
|
|
2092
|
+
C(n, e, r), c(e, a);
|
|
2093
2093
|
},
|
|
2094
|
-
p(
|
|
2094
|
+
p(n, r) {
|
|
2095
2095
|
r[1] & /*$_*/
|
|
2096
2096
|
1024 && t !== (t = /*$_*/
|
|
2097
|
-
|
|
2097
|
+
n[41]("filesUploadError") + "") && U(a, t);
|
|
2098
2098
|
},
|
|
2099
|
-
d(
|
|
2100
|
-
|
|
2099
|
+
d(n) {
|
|
2100
|
+
n && A(e);
|
|
2101
2101
|
}
|
|
2102
2102
|
};
|
|
2103
2103
|
}
|
|
2104
2104
|
function Hn(i) {
|
|
2105
|
-
let e, t,
|
|
2105
|
+
let e, t, a, n, r, s, u = (
|
|
2106
2106
|
/*$_*/
|
|
2107
2107
|
i[41]("setLimit") + ""
|
|
2108
|
-
), m, f, p,
|
|
2108
|
+
), m, f, p, b, S, k, v, _ = (
|
|
2109
2109
|
/*multiplePeriods*/
|
|
2110
2110
|
i[27] ? `${/*$_*/
|
|
2111
2111
|
i[41]("amount")}` : `${/*$_*/
|
|
2112
2112
|
i[41](`new${/*selectedPeriod*/
|
|
2113
2113
|
i[14]}Limit`)}`
|
|
2114
|
-
),
|
|
2114
|
+
), T, E, M, G, Y, te, x, q, _e, Le;
|
|
2115
2115
|
const H = (
|
|
2116
2116
|
/*#slots*/
|
|
2117
2117
|
i[89].LimitsList
|
|
@@ -2160,26 +2160,26 @@ function Hn(i) {
|
|
|
2160
2160
|
), re = Re || cs(i);
|
|
2161
2161
|
return {
|
|
2162
2162
|
c() {
|
|
2163
|
-
e =
|
|
2163
|
+
e = w("div"), t = w("div"), he && he.c(), a = B(), n = w("form");
|
|
2164
2164
|
for (let P = 0; P < le.length; P += 1)
|
|
2165
2165
|
le[P].c();
|
|
2166
|
-
r = B(), s =
|
|
2167
|
-
i[42] ? "" : "Mobile")), g(
|
|
2166
|
+
r = B(), s = w("p"), m = j(u), f = B(), de && de.c(), p = B(), ue && ue.c(), b = B(), pe && pe.c(), S = B(), k = w("label"), v = w("span"), T = j(_), E = B(), M = w("input"), Y = B(), ye && ye.c(), te = B(), re && re.c(), g(s, "class", "LimitTitle " + (/*isDesktop*/
|
|
2167
|
+
i[42] ? "" : "Mobile")), g(v, "class", "LimitInputText"), g(M, "type", "number"), g(M, "pattern", "[0-9]*"), g(M, "step", G = /*inputhasdecimals*/
|
|
2168
2168
|
i[6] === "true" ? "0.01" : "1"), M.disabled = /*disableLimitInput*/
|
|
2169
|
-
i[37], g(
|
|
2170
|
-
i[42] ? "" : "Mobile")), g(
|
|
2171
|
-
i[42] ? "" : "Mobile")), g(t, "class", "LimitsPageContainer"), g(e, "class",
|
|
2169
|
+
i[37], g(k, "class", "LimitAmountInputWrapper " + (/*isDesktop*/
|
|
2170
|
+
i[42] ? "" : "Mobile")), g(n, "class", "LimitsInteractionArea " + (/*isDesktop*/
|
|
2171
|
+
i[42] ? "" : "Mobile")), g(t, "class", "LimitsPageContainer"), g(e, "class", x = "player-account-gaming-limits-page-2-gm16 " + ("LimitTab" + /*limittabindex*/
|
|
2172
2172
|
i[4]));
|
|
2173
2173
|
},
|
|
2174
|
-
m(P,
|
|
2175
|
-
C(P, e,
|
|
2174
|
+
m(P, N) {
|
|
2175
|
+
C(P, e, N), c(e, t), he && he.m(t, null), c(t, a), c(t, n);
|
|
2176
2176
|
for (let F = 0; F < le.length; F += 1)
|
|
2177
|
-
le[F] && le[F].m(
|
|
2178
|
-
c(
|
|
2177
|
+
le[F] && le[F].m(n, null);
|
|
2178
|
+
c(n, r), c(n, s), c(s, m), c(n, f), de && de.m(n, null), c(n, p), ue && ue.m(n, null), c(n, b), pe && pe.m(n, null), c(n, S), c(n, k), c(k, v), c(v, T), c(k, E), c(k, M), Mt(
|
|
2179
2179
|
M,
|
|
2180
2180
|
/*inputAmount*/
|
|
2181
2181
|
i[21]
|
|
2182
|
-
), c(
|
|
2182
|
+
), c(k, Y), ye && ye.m(k, null), c(n, te), re && re.m(n, null), q = !0, _e || (Le = [
|
|
2183
2183
|
ge(
|
|
2184
2184
|
M,
|
|
2185
2185
|
"input",
|
|
@@ -2199,15 +2199,15 @@ function Hn(i) {
|
|
|
2199
2199
|
i[50]
|
|
2200
2200
|
),
|
|
2201
2201
|
ge(
|
|
2202
|
-
|
|
2202
|
+
n,
|
|
2203
2203
|
"submit",
|
|
2204
2204
|
/*handleSubmit*/
|
|
2205
2205
|
i[51]
|
|
2206
2206
|
)
|
|
2207
2207
|
], _e = !0);
|
|
2208
2208
|
},
|
|
2209
|
-
p(P,
|
|
2210
|
-
if (se ? se.p && (!q ||
|
|
2209
|
+
p(P, N) {
|
|
2210
|
+
if (se ? se.p && (!q || N[2] & /*$$scope*/
|
|
2211
2211
|
67108864) && di(
|
|
2212
2212
|
se,
|
|
2213
2213
|
H,
|
|
@@ -2218,17 +2218,17 @@ function Hn(i) {
|
|
|
2218
2218
|
H,
|
|
2219
2219
|
/*$$scope*/
|
|
2220
2220
|
P[88],
|
|
2221
|
-
|
|
2221
|
+
N,
|
|
2222
2222
|
Dn
|
|
2223
2223
|
) : pi(
|
|
2224
2224
|
/*$$scope*/
|
|
2225
2225
|
P[88]
|
|
2226
2226
|
),
|
|
2227
2227
|
eo
|
|
2228
|
-
) : he && he.p && (!q ||
|
|
2229
|
-
50335243 |
|
|
2230
|
-
1536) && he.p(P, q ?
|
|
2231
|
-
512 |
|
|
2228
|
+
) : he && he.p && (!q || N[0] & /*availableLimits, isCompanyLimitsInfoEnabled, isNetDepositProgress, deletelimit, acknowledgedLimits, currencySymbols, currency, lang*/
|
|
2229
|
+
50335243 | N[1] & /*currentTypes, $_*/
|
|
2230
|
+
1536) && he.p(P, q ? N : [-1, -1, -1, -1, -1, -1, -1]), N[0] & /*availableLimits*/
|
|
2231
|
+
512 | N[1] & /*isDesktop, $_*/
|
|
2232
2232
|
3072) {
|
|
2233
2233
|
Pe = Ce(
|
|
2234
2234
|
/*availableLimits*/
|
|
@@ -2237,33 +2237,33 @@ function Hn(i) {
|
|
|
2237
2237
|
let F;
|
|
2238
2238
|
for (F = 0; F < Pe.length; F += 1) {
|
|
2239
2239
|
const We = Zi(P, Pe, F);
|
|
2240
|
-
le[F] ? le[F].p(We,
|
|
2240
|
+
le[F] ? le[F].p(We, N) : (le[F] = _o(We), le[F].c(), le[F].m(n, r));
|
|
2241
2241
|
}
|
|
2242
2242
|
for (; F < le.length; F += 1)
|
|
2243
2243
|
le[F].d(1);
|
|
2244
2244
|
le.length = Pe.length;
|
|
2245
2245
|
}
|
|
2246
|
-
(!q ||
|
|
2246
|
+
(!q || N[1] & /*$_*/
|
|
2247
2247
|
1024) && u !== (u = /*$_*/
|
|
2248
|
-
P[41]("setLimit") + "") &&
|
|
2249
|
-
P[2] === "true" ? de ? de.p(P,
|
|
2250
|
-
P[26] ? ue ? ue.p(P,
|
|
2248
|
+
P[41]("setLimit") + "") && U(m, u), /*enablecompliancetext*/
|
|
2249
|
+
P[2] === "true" ? de ? de.p(P, N) : (de = So(P), de.c(), de.m(n, p)) : de && (de.d(1), de = null), /*multipleLimits*/
|
|
2250
|
+
P[26] ? ue ? ue.p(P, N) : (ue = Ao(P), ue.c(), ue.m(n, b)) : ue && (ue.d(1), ue = null), /*multiplePeriods*/
|
|
2251
2251
|
P[27] && /*selectedLimit*/
|
|
2252
2252
|
P[13] && /*limitsConfig*/
|
|
2253
2253
|
P[12][
|
|
2254
2254
|
/*selectedLimit*/
|
|
2255
2255
|
P[13]
|
|
2256
|
-
] ? pe ? pe.p(P,
|
|
2257
|
-
134234112 |
|
|
2256
|
+
] ? pe ? pe.p(P, N) : (pe = Po(P), pe.c(), pe.m(n, S)) : pe && (pe.d(1), pe = null), (!q || N[0] & /*multiplePeriods, selectedPeriod*/
|
|
2257
|
+
134234112 | N[1] & /*$_*/
|
|
2258
2258
|
1024) && _ !== (_ = /*multiplePeriods*/
|
|
2259
2259
|
P[27] ? `${/*$_*/
|
|
2260
2260
|
P[41]("amount")}` : `${/*$_*/
|
|
2261
2261
|
P[41](`new${/*selectedPeriod*/
|
|
2262
|
-
P[14]}Limit`)}`) &&
|
|
2262
|
+
P[14]}Limit`)}`) && U(T, _), (!q || N[0] & /*inputhasdecimals*/
|
|
2263
2263
|
64 && G !== (G = /*inputhasdecimals*/
|
|
2264
|
-
P[6] === "true" ? "0.01" : "1")) && g(M, "step", G), (!q ||
|
|
2264
|
+
P[6] === "true" ? "0.01" : "1")) && g(M, "step", G), (!q || N[1] & /*disableLimitInput*/
|
|
2265
2265
|
64) && (M.disabled = /*disableLimitInput*/
|
|
2266
|
-
P[37]),
|
|
2266
|
+
P[37]), N[0] & /*inputAmount*/
|
|
2267
2267
|
2097152 && Eo(M.value) !== /*inputAmount*/
|
|
2268
2268
|
P[21] && Mt(
|
|
2269
2269
|
M,
|
|
@@ -2272,7 +2272,7 @@ function Hn(i) {
|
|
|
2272
2272
|
), /*showInputError*/
|
|
2273
2273
|
P[36] && /*invalidInput*/
|
|
2274
2274
|
P[35] && !/*disableLimitInput*/
|
|
2275
|
-
P[37] ? ye ? ye.p(P,
|
|
2275
|
+
P[37] ? ye ? ye.p(P, N) : (ye = Do(P), ye.c(), ye.m(k, null)) : ye && (ye.d(1), ye = null), Re ? Re.p && (!q || N[2] & /*$$scope*/
|
|
2276
2276
|
67108864) && di(
|
|
2277
2277
|
Re,
|
|
2278
2278
|
Ze,
|
|
@@ -2283,17 +2283,17 @@ function Hn(i) {
|
|
|
2283
2283
|
Ze,
|
|
2284
2284
|
/*$$scope*/
|
|
2285
2285
|
P[88],
|
|
2286
|
-
|
|
2286
|
+
N,
|
|
2287
2287
|
zn
|
|
2288
2288
|
) : pi(
|
|
2289
2289
|
/*$$scope*/
|
|
2290
2290
|
P[88]
|
|
2291
2291
|
),
|
|
2292
2292
|
Gi
|
|
2293
|
-
) : re && re.p && (!q ||
|
|
2294
|
-
1168) && re.p(P, q ?
|
|
2295
|
-
16 &&
|
|
2296
|
-
P[4]))) && g(e, "class",
|
|
2293
|
+
) : re && re.p && (!q || N[1] & /*invalidInput, coolOffActive, $_*/
|
|
2294
|
+
1168) && re.p(P, q ? N : [-1, -1, -1, -1, -1, -1, -1]), (!q || N[0] & /*limittabindex*/
|
|
2295
|
+
16 && x !== (x = "player-account-gaming-limits-page-2-gm16 " + ("LimitTab" + /*limittabindex*/
|
|
2296
|
+
P[4]))) && g(e, "class", x);
|
|
2297
2297
|
},
|
|
2298
2298
|
i(P) {
|
|
2299
2299
|
q || (It(he, P), It(re, P), q = !0);
|
|
@@ -2310,10 +2310,10 @@ function Kn(i) {
|
|
|
2310
2310
|
let e;
|
|
2311
2311
|
return {
|
|
2312
2312
|
c() {
|
|
2313
|
-
e =
|
|
2313
|
+
e = w("p"), e.textContent = "500 Server error";
|
|
2314
2314
|
},
|
|
2315
|
-
m(t,
|
|
2316
|
-
C(t, e,
|
|
2315
|
+
m(t, a) {
|
|
2316
|
+
C(t, e, a);
|
|
2317
2317
|
},
|
|
2318
2318
|
p: dt,
|
|
2319
2319
|
i: dt,
|
|
@@ -2328,24 +2328,24 @@ function Yn(i) {
|
|
|
2328
2328
|
const t = (
|
|
2329
2329
|
/*#slots*/
|
|
2330
2330
|
i[89].LimitSkeleton
|
|
2331
|
-
),
|
|
2331
|
+
), a = mi(
|
|
2332
2332
|
t,
|
|
2333
2333
|
i,
|
|
2334
2334
|
/*$$scope*/
|
|
2335
2335
|
i[88],
|
|
2336
2336
|
to
|
|
2337
|
-
),
|
|
2337
|
+
), n = a || gs(i);
|
|
2338
2338
|
return {
|
|
2339
2339
|
c() {
|
|
2340
|
-
|
|
2340
|
+
n && n.c();
|
|
2341
2341
|
},
|
|
2342
2342
|
m(r, s) {
|
|
2343
|
-
|
|
2343
|
+
n && n.m(r, s), e = !0;
|
|
2344
2344
|
},
|
|
2345
2345
|
p(r, s) {
|
|
2346
|
-
|
|
2346
|
+
a && a.p && (!e || s[2] & /*$$scope*/
|
|
2347
2347
|
67108864) && di(
|
|
2348
|
-
|
|
2348
|
+
a,
|
|
2349
2349
|
t,
|
|
2350
2350
|
r,
|
|
2351
2351
|
/*$$scope*/
|
|
@@ -2364,13 +2364,13 @@ function Yn(i) {
|
|
|
2364
2364
|
);
|
|
2365
2365
|
},
|
|
2366
2366
|
i(r) {
|
|
2367
|
-
e || (It(
|
|
2367
|
+
e || (It(n, r), e = !0);
|
|
2368
2368
|
},
|
|
2369
2369
|
o(r) {
|
|
2370
|
-
Et(
|
|
2370
|
+
Et(n, r), e = !1;
|
|
2371
2371
|
},
|
|
2372
2372
|
d(r) {
|
|
2373
|
-
|
|
2373
|
+
n && n.d(r);
|
|
2374
2374
|
}
|
|
2375
2375
|
};
|
|
2376
2376
|
}
|
|
@@ -2381,47 +2381,47 @@ function so(i) {
|
|
|
2381
2381
|
/*func*/
|
|
2382
2382
|
i[91]
|
|
2383
2383
|
)
|
|
2384
|
-
]),
|
|
2385
|
-
for (let
|
|
2386
|
-
n
|
|
2384
|
+
]), a = [];
|
|
2385
|
+
for (let n = 0; n < 1; n += 1)
|
|
2386
|
+
a[n] = ko(Xi(i, t, n));
|
|
2387
2387
|
return {
|
|
2388
2388
|
c() {
|
|
2389
|
-
for (let
|
|
2390
|
-
n
|
|
2389
|
+
for (let n = 0; n < 1; n += 1)
|
|
2390
|
+
a[n].c();
|
|
2391
2391
|
e = tt();
|
|
2392
2392
|
},
|
|
2393
|
-
m(
|
|
2393
|
+
m(n, r) {
|
|
2394
2394
|
for (let s = 0; s < 1; s += 1)
|
|
2395
|
-
|
|
2396
|
-
C(
|
|
2395
|
+
a[s] && a[s].m(n, r);
|
|
2396
|
+
C(n, e, r);
|
|
2397
2397
|
},
|
|
2398
|
-
p(
|
|
2398
|
+
p(n, r) {
|
|
2399
2399
|
if (r[0] & /*availableLimits, isCompanyLimitsInfoEnabled, isNetDepositProgress, deletelimit, acknowledgedLimits, currencySymbols, currency, lang*/
|
|
2400
2400
|
50335243 | r[1] & /*isDesktop, $_, currentTypes, determineLimitName, cancelLimitSwitch, confirmLimitSwitch, removeLimitSwitch, readLimits16*/
|
|
2401
2401
|
63049216) {
|
|
2402
2402
|
t = Ce([
|
|
2403
2403
|
/*availableLimits*/
|
|
2404
|
-
|
|
2404
|
+
n[9].filter(
|
|
2405
2405
|
/*func*/
|
|
2406
|
-
|
|
2406
|
+
n[91]
|
|
2407
2407
|
)
|
|
2408
2408
|
]);
|
|
2409
2409
|
let s;
|
|
2410
2410
|
for (s = 0; s < 1; s += 1) {
|
|
2411
|
-
const u = Xi(
|
|
2412
|
-
|
|
2411
|
+
const u = Xi(n, t, s);
|
|
2412
|
+
a[s] ? a[s].p(u, r) : (a[s] = ko(u), a[s].c(), a[s].m(e.parentNode, e));
|
|
2413
2413
|
}
|
|
2414
2414
|
for (; s < 1; s += 1)
|
|
2415
|
-
|
|
2415
|
+
a[s].d(1);
|
|
2416
2416
|
}
|
|
2417
2417
|
},
|
|
2418
|
-
d(
|
|
2419
|
-
|
|
2418
|
+
d(n) {
|
|
2419
|
+
n && A(e), it(a, n);
|
|
2420
2420
|
}
|
|
2421
2421
|
};
|
|
2422
2422
|
}
|
|
2423
2423
|
function Zn(i) {
|
|
2424
|
-
let e = [], t = /* @__PURE__ */ new Map(),
|
|
2424
|
+
let e = [], t = /* @__PURE__ */ new Map(), a, n = Ce(
|
|
2425
2425
|
/*currentTabLimits*/
|
|
2426
2426
|
i[202]
|
|
2427
2427
|
);
|
|
@@ -2430,42 +2430,43 @@ function Zn(i) {
|
|
|
2430
2430
|
s[197].product + /*limit*/
|
|
2431
2431
|
s[197].value
|
|
2432
2432
|
);
|
|
2433
|
-
for (let s = 0; s <
|
|
2434
|
-
let u = Ji(i,
|
|
2433
|
+
for (let s = 0; s < n.length; s += 1) {
|
|
2434
|
+
let u = Ji(i, n, s), m = r(u);
|
|
2435
2435
|
t.set(m, e[s] = yo(m, u));
|
|
2436
2436
|
}
|
|
2437
2437
|
return {
|
|
2438
2438
|
c() {
|
|
2439
2439
|
for (let s = 0; s < e.length; s += 1)
|
|
2440
2440
|
e[s].c();
|
|
2441
|
-
|
|
2441
|
+
a = tt();
|
|
2442
2442
|
},
|
|
2443
2443
|
m(s, u) {
|
|
2444
2444
|
for (let m = 0; m < e.length; m += 1)
|
|
2445
2445
|
e[m] && e[m].m(s, u);
|
|
2446
|
-
C(s,
|
|
2446
|
+
C(s, a, u);
|
|
2447
2447
|
},
|
|
2448
2448
|
p(s, u) {
|
|
2449
2449
|
u[0] & /*availableLimits, isCompanyLimitsInfoEnabled, isNetDepositProgress, deletelimit, acknowledgedLimits, currencySymbols, currency, lang*/
|
|
2450
2450
|
50335243 | u[1] & /*currentTypes, isDesktop, cancelLimitSwitch, $_, confirmLimitSwitch, removeLimitSwitch, readLimits16, determineLimitName*/
|
|
2451
|
-
63049216 && (
|
|
2451
|
+
63049216 && (n = Ce(
|
|
2452
2452
|
/*currentTabLimits*/
|
|
2453
2453
|
s[202]
|
|
2454
|
-
), e = pn(e, u, r, 1, s,
|
|
2454
|
+
), e = pn(e, u, r, 1, s, n, t, a.parentNode, cn, yo, a, Ji));
|
|
2455
2455
|
},
|
|
2456
2456
|
d(s) {
|
|
2457
|
-
s && A(
|
|
2457
|
+
s && A(a);
|
|
2458
2458
|
for (let u = 0; u < e.length; u += 1)
|
|
2459
2459
|
e[u].d(s);
|
|
2460
2460
|
}
|
|
2461
2461
|
};
|
|
2462
2462
|
}
|
|
2463
2463
|
function Xn(i) {
|
|
2464
|
+
var b, S;
|
|
2464
2465
|
let e, t = (
|
|
2465
2466
|
/*currentTabLimits*/
|
|
2466
|
-
i[202][0].value === "netdeposit" && /*$_*/
|
|
2467
|
+
((S = (b = i[202]) == null ? void 0 : b[0]) == null ? void 0 : S.value) === "netdeposit" && /*$_*/
|
|
2467
2468
|
i[41]("newLimitInfoText").trim().length > 0
|
|
2468
|
-
),
|
|
2469
|
+
), a, n, r, s = (
|
|
2469
2470
|
/*$_*/
|
|
2470
2471
|
i[41]("noLimitText") + ""
|
|
2471
2472
|
), u, m, f = (
|
|
@@ -2474,24 +2475,25 @@ function Xn(i) {
|
|
|
2474
2475
|
), p = t && bo(i);
|
|
2475
2476
|
return {
|
|
2476
2477
|
c() {
|
|
2477
|
-
f && f.c(), e = B(), p && p.c(),
|
|
2478
|
-
i[42] ? "" : "Mobile")), g(
|
|
2478
|
+
f && f.c(), e = B(), p && p.c(), a = B(), n = w("div"), r = w("p"), u = j(s), m = B(), g(r, "class", "LimitsInfoText " + (/*isDesktop*/
|
|
2479
|
+
i[42] ? "" : "Mobile")), g(n, "class", "NoLimitMessageInfo");
|
|
2479
2480
|
},
|
|
2480
|
-
m(
|
|
2481
|
-
f && f.m(
|
|
2481
|
+
m(k, v) {
|
|
2482
|
+
f && f.m(k, v), C(k, e, v), p && p.m(k, v), C(k, a, v), C(k, n, v), c(n, r), c(r, u), c(n, m);
|
|
2482
2483
|
},
|
|
2483
|
-
p(
|
|
2484
|
+
p(k, v) {
|
|
2485
|
+
var _, T;
|
|
2484
2486
|
/*currentTabLimits*/
|
|
2485
|
-
|
|
2486
|
-
512 |
|
|
2487
|
+
k[202].length > 0 ? f ? f.p(k, v) : (f = vo(k), f.c(), f.m(e.parentNode, e)) : f && (f.d(1), f = null), v[0] & /*availableLimits*/
|
|
2488
|
+
512 | v[1] & /*currentTypes, $_*/
|
|
2487
2489
|
1536 && (t = /*currentTabLimits*/
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
+
((T = (_ = k[202]) == null ? void 0 : _[0]) == null ? void 0 : T.value) === "netdeposit" && /*$_*/
|
|
2491
|
+
k[41]("newLimitInfoText").trim().length > 0), t ? p ? p.p(k, v) : (p = bo(k), p.c(), p.m(a.parentNode, a)) : p && (p.d(1), p = null), v[1] & /*$_*/
|
|
2490
2492
|
1024 && s !== (s = /*$_*/
|
|
2491
|
-
|
|
2493
|
+
k[41]("noLimitText") + "") && U(u, s);
|
|
2492
2494
|
},
|
|
2493
|
-
d(
|
|
2494
|
-
|
|
2495
|
+
d(k) {
|
|
2496
|
+
k && (A(e), A(a), A(n)), f && f.d(k), p && p.d(k);
|
|
2495
2497
|
}
|
|
2496
2498
|
};
|
|
2497
2499
|
}
|
|
@@ -2502,90 +2504,91 @@ function Jn(i) {
|
|
|
2502
2504
|
/*limit*/
|
|
2503
2505
|
i[197]
|
|
2504
2506
|
) + ""
|
|
2505
|
-
),
|
|
2507
|
+
), a, n, r, s, u, m, f, p = (
|
|
2506
2508
|
/*$_*/
|
|
2507
2509
|
i[41]("noLimitText") + ""
|
|
2508
|
-
),
|
|
2510
|
+
), b, S, k, v = Ce(
|
|
2509
2511
|
/*availableLimits*/
|
|
2510
2512
|
i[9]
|
|
2511
2513
|
), _ = [];
|
|
2512
|
-
for (let
|
|
2513
|
-
_[
|
|
2514
|
+
for (let T = 0; T < v.length; T += 1)
|
|
2515
|
+
_[T] = lo(Qi(i, v, T));
|
|
2514
2516
|
return {
|
|
2515
2517
|
c() {
|
|
2516
|
-
e =
|
|
2517
|
-
for (let
|
|
2518
|
-
_[
|
|
2519
|
-
r = B(), s =
|
|
2518
|
+
e = w("p"), a = j(t), n = B();
|
|
2519
|
+
for (let T = 0; T < _.length; T += 1)
|
|
2520
|
+
_[T].c();
|
|
2521
|
+
r = B(), s = w("div"), u = w("div"), m = w("div"), f = w("div"), b = j(p), S = B(), g(e, "class", "LimitTitle " + (/*isDesktop*/
|
|
2520
2522
|
i[42] ? "" : "Mobile")), g(f, "class", "LimitDetailsTextWrapper " + (/*isDesktop*/
|
|
2521
|
-
i[42] ? "" : "Mobile")), g(m, "class", "LimitDetailsWrapper"), g(u, "class", "LimitDetails"), g(s, "class",
|
|
2523
|
+
i[42] ? "" : "Mobile")), g(m, "class", "LimitDetailsWrapper"), g(u, "class", "LimitDetails"), g(s, "class", k = "LimitWrapper " + /*limit*/
|
|
2522
2524
|
i[197].value + " " + (/*isDesktop*/
|
|
2523
2525
|
i[42] ? "" : "Mobile"));
|
|
2524
2526
|
},
|
|
2525
|
-
m(
|
|
2526
|
-
C(
|
|
2527
|
+
m(T, E) {
|
|
2528
|
+
C(T, e, E), c(e, a), C(T, n, E);
|
|
2527
2529
|
for (let M = 0; M < _.length; M += 1)
|
|
2528
|
-
_[M] && _[M].m(
|
|
2529
|
-
C(
|
|
2530
|
+
_[M] && _[M].m(T, E);
|
|
2531
|
+
C(T, r, E), C(T, s, E), c(s, u), c(u, m), c(m, f), c(f, b), c(s, S);
|
|
2530
2532
|
},
|
|
2531
|
-
p(
|
|
2532
|
-
if (
|
|
2533
|
-
512 |
|
|
2533
|
+
p(T, E) {
|
|
2534
|
+
if (E[0] & /*availableLimits*/
|
|
2535
|
+
512 | E[1] & /*currentTypes*/
|
|
2534
2536
|
512 && t !== (t = /*determineLimitName*/
|
|
2535
|
-
|
|
2537
|
+
T[56](
|
|
2536
2538
|
/*limit*/
|
|
2537
|
-
|
|
2538
|
-
) + "") &&
|
|
2539
|
-
512 |
|
|
2539
|
+
T[197]
|
|
2540
|
+
) + "") && U(a, t), E[0] & /*availableLimits*/
|
|
2541
|
+
512 | E[1] & /*isDesktop, $_*/
|
|
2540
2542
|
3072) {
|
|
2541
|
-
|
|
2543
|
+
v = Ce(
|
|
2542
2544
|
/*availableLimits*/
|
|
2543
|
-
|
|
2545
|
+
T[9]
|
|
2544
2546
|
);
|
|
2545
2547
|
let M;
|
|
2546
|
-
for (M = 0; M <
|
|
2547
|
-
const G = Qi(
|
|
2548
|
-
_[M] ? _[M].p(G,
|
|
2548
|
+
for (M = 0; M < v.length; M += 1) {
|
|
2549
|
+
const G = Qi(T, v, M);
|
|
2550
|
+
_[M] ? _[M].p(G, E) : (_[M] = lo(G), _[M].c(), _[M].m(r.parentNode, r));
|
|
2549
2551
|
}
|
|
2550
2552
|
for (; M < _.length; M += 1)
|
|
2551
2553
|
_[M].d(1);
|
|
2552
|
-
_.length =
|
|
2554
|
+
_.length = v.length;
|
|
2553
2555
|
}
|
|
2554
|
-
|
|
2556
|
+
E[1] & /*$_*/
|
|
2555
2557
|
1024 && p !== (p = /*$_*/
|
|
2556
|
-
|
|
2557
|
-
512 |
|
|
2558
|
-
512 &&
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
},
|
|
2562
|
-
d(
|
|
2563
|
-
|
|
2558
|
+
T[41]("noLimitText") + "") && U(b, p), E[0] & /*availableLimits*/
|
|
2559
|
+
512 | E[1] & /*currentTypes*/
|
|
2560
|
+
512 && k !== (k = "LimitWrapper " + /*limit*/
|
|
2561
|
+
T[197].value + " " + (/*isDesktop*/
|
|
2562
|
+
T[42] ? "" : "Mobile")) && g(s, "class", k);
|
|
2563
|
+
},
|
|
2564
|
+
d(T) {
|
|
2565
|
+
T && (A(e), A(n), A(r), A(s)), it(_, T);
|
|
2564
2566
|
}
|
|
2565
2567
|
};
|
|
2566
2568
|
}
|
|
2567
2569
|
function Qn(i) {
|
|
2570
|
+
var k;
|
|
2568
2571
|
let e, t = (
|
|
2569
2572
|
/*determineLimitName*/
|
|
2570
2573
|
i[56](
|
|
2571
2574
|
/*limit*/
|
|
2572
2575
|
i[197]
|
|
2573
2576
|
) + ""
|
|
2574
|
-
),
|
|
2577
|
+
), a, n, r = (
|
|
2575
2578
|
/*limit*/
|
|
2576
|
-
i[197].value === "netdeposit" && /*$_*/
|
|
2579
|
+
((k = i[197]) == null ? void 0 : k.value) === "netdeposit" && /*$_*/
|
|
2577
2580
|
i[41]("newLimitInfoText").trim().length > 0
|
|
2578
|
-
), s, u, m, f, p = r && uo(i),
|
|
2581
|
+
), s, u, m, f, p = r && uo(i), b = Ce(
|
|
2579
2582
|
/*limit*/
|
|
2580
2583
|
i[197].visibleLimitsInUI
|
|
2581
|
-
),
|
|
2582
|
-
for (let v = 0; v <
|
|
2583
|
-
|
|
2584
|
+
), S = [];
|
|
2585
|
+
for (let v = 0; v < b.length; v += 1)
|
|
2586
|
+
S[v] = ho($i(i, b, v));
|
|
2584
2587
|
return {
|
|
2585
2588
|
c() {
|
|
2586
|
-
e =
|
|
2587
|
-
for (let v = 0; v <
|
|
2588
|
-
|
|
2589
|
+
e = w("p"), a = j(t), n = B(), p && p.c(), s = B(), u = w("div");
|
|
2590
|
+
for (let v = 0; v < S.length; v += 1)
|
|
2591
|
+
S[v].c();
|
|
2589
2592
|
m = B(), g(e, "class", "LimitTitle " + (/*isDesktop*/
|
|
2590
2593
|
i[42] ? "" : "Mobile")), g(u, "class", f = "LimitWrapper " + /*limit*/
|
|
2591
2594
|
i[197].value + " " + /*isCompanyLimitsInfoEnabled*/
|
|
@@ -2594,41 +2597,42 @@ function Qn(i) {
|
|
|
2594
2597
|
i[197].value.toLowerCase().includes("netdeposit") ? "ActiveProgressBar" : "") + " " + (/*isDesktop*/
|
|
2595
2598
|
i[42] ? "" : "Mobile"));
|
|
2596
2599
|
},
|
|
2597
|
-
m(v,
|
|
2598
|
-
C(v, e,
|
|
2599
|
-
for (let
|
|
2600
|
-
|
|
2600
|
+
m(v, _) {
|
|
2601
|
+
C(v, e, _), c(e, a), C(v, n, _), p && p.m(v, _), C(v, s, _), C(v, u, _);
|
|
2602
|
+
for (let T = 0; T < S.length; T += 1)
|
|
2603
|
+
S[T] && S[T].m(u, null);
|
|
2601
2604
|
c(u, m);
|
|
2602
2605
|
},
|
|
2603
|
-
p(v,
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
+
p(v, _) {
|
|
2607
|
+
var T;
|
|
2608
|
+
if (_[0] & /*availableLimits*/
|
|
2609
|
+
512 | _[1] & /*currentTypes*/
|
|
2606
2610
|
512 && t !== (t = /*determineLimitName*/
|
|
2607
2611
|
v[56](
|
|
2608
2612
|
/*limit*/
|
|
2609
2613
|
v[197]
|
|
2610
|
-
) + "") &&
|
|
2611
|
-
512 |
|
|
2614
|
+
) + "") && U(a, t), _[0] & /*availableLimits*/
|
|
2615
|
+
512 | _[1] & /*currentTypes, $_*/
|
|
2612
2616
|
1536 && (r = /*limit*/
|
|
2613
|
-
v[197].value === "netdeposit" && /*$_*/
|
|
2614
|
-
v[41]("newLimitInfoText").trim().length > 0), r ? p ? p.p(v,
|
|
2615
|
-
50332171 |
|
|
2617
|
+
((T = v[197]) == null ? void 0 : T.value) === "netdeposit" && /*$_*/
|
|
2618
|
+
v[41]("newLimitInfoText").trim().length > 0), r ? p ? p.p(v, _) : (p = uo(v), p.c(), p.m(s.parentNode, s)) : p && (p.d(1), p = null), _[0] & /*availableLimits, deletelimit, acknowledgedLimits, currencySymbols, currency, lang*/
|
|
2619
|
+
50332171 | _[1] & /*isDesktop, currentTypes, cancelLimitSwitch, $_, confirmLimitSwitch, removeLimitSwitch, readLimits16*/
|
|
2616
2620
|
29494784) {
|
|
2617
|
-
|
|
2621
|
+
b = Ce(
|
|
2618
2622
|
/*limit*/
|
|
2619
2623
|
v[197].visibleLimitsInUI
|
|
2620
2624
|
);
|
|
2621
|
-
let
|
|
2622
|
-
for (
|
|
2623
|
-
const
|
|
2624
|
-
|
|
2625
|
+
let E;
|
|
2626
|
+
for (E = 0; E < b.length; E += 1) {
|
|
2627
|
+
const M = $i(v, b, E);
|
|
2628
|
+
S[E] ? S[E].p(M, _) : (S[E] = ho(M), S[E].c(), S[E].m(u, m));
|
|
2625
2629
|
}
|
|
2626
|
-
for (;
|
|
2627
|
-
|
|
2628
|
-
|
|
2630
|
+
for (; E < S.length; E += 1)
|
|
2631
|
+
S[E].d(1);
|
|
2632
|
+
S.length = b.length;
|
|
2629
2633
|
}
|
|
2630
|
-
|
|
2631
|
-
3584 |
|
|
2634
|
+
_[0] & /*availableLimits, isCompanyLimitsInfoEnabled, isNetDepositProgress*/
|
|
2635
|
+
3584 | _[1] & /*currentTypes*/
|
|
2632
2636
|
512 && f !== (f = "LimitWrapper " + /*limit*/
|
|
2633
2637
|
v[197].value + " " + /*isCompanyLimitsInfoEnabled*/
|
|
2634
2638
|
(v[10] || /*isNetDepositProgress*/
|
|
@@ -2637,7 +2641,7 @@ function Qn(i) {
|
|
|
2637
2641
|
v[42] ? "" : "Mobile")) && g(u, "class", f);
|
|
2638
2642
|
},
|
|
2639
2643
|
d(v) {
|
|
2640
|
-
v && (A(e), A(
|
|
2644
|
+
v && (A(e), A(n), A(s), A(u)), p && p.d(v), it(S, v);
|
|
2641
2645
|
}
|
|
2642
2646
|
};
|
|
2643
2647
|
}
|
|
@@ -2645,47 +2649,49 @@ function ro(i) {
|
|
|
2645
2649
|
let e, t = (
|
|
2646
2650
|
/*$_*/
|
|
2647
2651
|
i[41]("activeLimitsInfoText") + ""
|
|
2648
|
-
),
|
|
2652
|
+
), a;
|
|
2649
2653
|
return {
|
|
2650
2654
|
c() {
|
|
2651
|
-
e =
|
|
2655
|
+
e = w("p"), a = j(t), g(e, "class", "LimitsInfoText " + (/*isDesktop*/
|
|
2652
2656
|
i[42] ? "" : "Mobile"));
|
|
2653
2657
|
},
|
|
2654
|
-
m(
|
|
2655
|
-
C(
|
|
2658
|
+
m(n, r) {
|
|
2659
|
+
C(n, e, r), c(e, a);
|
|
2656
2660
|
},
|
|
2657
|
-
p(
|
|
2661
|
+
p(n, r) {
|
|
2658
2662
|
r[1] & /*$_*/
|
|
2659
2663
|
1024 && t !== (t = /*$_*/
|
|
2660
|
-
|
|
2664
|
+
n[41]("activeLimitsInfoText") + "") && U(a, t);
|
|
2661
2665
|
},
|
|
2662
|
-
d(
|
|
2663
|
-
|
|
2666
|
+
d(n) {
|
|
2667
|
+
n && A(e);
|
|
2664
2668
|
}
|
|
2665
2669
|
};
|
|
2666
2670
|
}
|
|
2667
2671
|
function lo(i) {
|
|
2672
|
+
var n;
|
|
2668
2673
|
let e = (
|
|
2669
2674
|
/*limit*/
|
|
2670
|
-
i[197].value === "netdeposit" && /*$_*/
|
|
2675
|
+
((n = i[197]) == null ? void 0 : n.value) === "netdeposit" && /*$_*/
|
|
2671
2676
|
i[41]("newLimitInfoText").trim().length > 0
|
|
2672
|
-
), t,
|
|
2677
|
+
), t, a = e && ro(i);
|
|
2673
2678
|
return {
|
|
2674
2679
|
c() {
|
|
2675
|
-
|
|
2680
|
+
a && a.c(), t = tt();
|
|
2676
2681
|
},
|
|
2677
|
-
m(
|
|
2678
|
-
|
|
2682
|
+
m(r, s) {
|
|
2683
|
+
a && a.m(r, s), C(r, t, s);
|
|
2679
2684
|
},
|
|
2680
|
-
p(
|
|
2681
|
-
|
|
2682
|
-
|
|
2685
|
+
p(r, s) {
|
|
2686
|
+
var u;
|
|
2687
|
+
s[0] & /*availableLimits*/
|
|
2688
|
+
512 | s[1] & /*$_*/
|
|
2683
2689
|
1024 && (e = /*limit*/
|
|
2684
|
-
|
|
2685
|
-
|
|
2690
|
+
((u = r[197]) == null ? void 0 : u.value) === "netdeposit" && /*$_*/
|
|
2691
|
+
r[41]("newLimitInfoText").trim().length > 0), e ? a ? a.p(r, s) : (a = ro(r), a.c(), a.m(t.parentNode, t)) : a && (a.d(1), a = null);
|
|
2686
2692
|
},
|
|
2687
|
-
d(
|
|
2688
|
-
|
|
2693
|
+
d(r) {
|
|
2694
|
+
r && A(t), a && a.d(r);
|
|
2689
2695
|
}
|
|
2690
2696
|
};
|
|
2691
2697
|
}
|
|
@@ -2693,22 +2699,22 @@ function uo(i) {
|
|
|
2693
2699
|
let e, t = (
|
|
2694
2700
|
/*$_*/
|
|
2695
2701
|
i[41]("activeLimitsInfoText") + ""
|
|
2696
|
-
),
|
|
2702
|
+
), a;
|
|
2697
2703
|
return {
|
|
2698
2704
|
c() {
|
|
2699
|
-
e =
|
|
2705
|
+
e = w("p"), a = j(t), g(e, "class", "LimitsInfoText " + (/*isDesktop*/
|
|
2700
2706
|
i[42] ? "" : "Mobile"));
|
|
2701
2707
|
},
|
|
2702
|
-
m(
|
|
2703
|
-
C(
|
|
2708
|
+
m(n, r) {
|
|
2709
|
+
C(n, e, r), c(e, a);
|
|
2704
2710
|
},
|
|
2705
|
-
p(
|
|
2711
|
+
p(n, r) {
|
|
2706
2712
|
r[1] & /*$_*/
|
|
2707
2713
|
1024 && t !== (t = /*$_*/
|
|
2708
|
-
|
|
2714
|
+
n[41]("activeLimitsInfoText") + "") && U(a, t);
|
|
2709
2715
|
},
|
|
2710
|
-
d(
|
|
2711
|
-
|
|
2716
|
+
d(n) {
|
|
2717
|
+
n && A(e);
|
|
2712
2718
|
}
|
|
2713
2719
|
};
|
|
2714
2720
|
}
|
|
@@ -2720,7 +2726,7 @@ function $n(i) {
|
|
|
2720
2726
|
i[1]
|
|
2721
2727
|
] || /*currency*/
|
|
2722
2728
|
i[1]) + ""
|
|
2723
|
-
),
|
|
2729
|
+
), a, n = nt(
|
|
2724
2730
|
/*vLimit*/
|
|
2725
2731
|
i[208].amount,
|
|
2726
2732
|
/*lang*/
|
|
@@ -2728,10 +2734,10 @@ function $n(i) {
|
|
|
2728
2734
|
) + "", r;
|
|
2729
2735
|
return {
|
|
2730
2736
|
c() {
|
|
2731
|
-
e =
|
|
2737
|
+
e = w("span"), a = j(t), r = j(n);
|
|
2732
2738
|
},
|
|
2733
2739
|
m(s, u) {
|
|
2734
|
-
C(s, e, u), c(e,
|
|
2740
|
+
C(s, e, u), c(e, a), c(e, r);
|
|
2735
2741
|
},
|
|
2736
2742
|
p(s, u) {
|
|
2737
2743
|
u[0] & /*currencySymbols, currency*/
|
|
@@ -2740,14 +2746,14 @@ function $n(i) {
|
|
|
2740
2746
|
/*currency*/
|
|
2741
2747
|
s[1]
|
|
2742
2748
|
] || /*currency*/
|
|
2743
|
-
s[1]) + "") &&
|
|
2749
|
+
s[1]) + "") && U(a, t), u[0] & /*availableLimits, lang*/
|
|
2744
2750
|
513 | u[1] & /*currentTypes*/
|
|
2745
|
-
512 &&
|
|
2751
|
+
512 && n !== (n = nt(
|
|
2746
2752
|
/*vLimit*/
|
|
2747
2753
|
s[208].amount,
|
|
2748
2754
|
/*lang*/
|
|
2749
2755
|
s[0]
|
|
2750
|
-
) + "") &&
|
|
2756
|
+
) + "") && U(r, n);
|
|
2751
2757
|
},
|
|
2752
2758
|
d(s) {
|
|
2753
2759
|
s && A(e);
|
|
@@ -2762,7 +2768,7 @@ function es(i) {
|
|
|
2762
2768
|
i[1]
|
|
2763
2769
|
] || /*currency*/
|
|
2764
2770
|
i[1]) + ""
|
|
2765
|
-
),
|
|
2771
|
+
), a, n = nt(
|
|
2766
2772
|
/*vLimit*/
|
|
2767
2773
|
i[208].updateAmount,
|
|
2768
2774
|
/*lang*/
|
|
@@ -2770,10 +2776,10 @@ function es(i) {
|
|
|
2770
2776
|
) + "", r;
|
|
2771
2777
|
return {
|
|
2772
2778
|
c() {
|
|
2773
|
-
e =
|
|
2779
|
+
e = w("span"), a = j(t), r = j(n);
|
|
2774
2780
|
},
|
|
2775
2781
|
m(s, u) {
|
|
2776
|
-
C(s, e, u), c(e,
|
|
2782
|
+
C(s, e, u), c(e, a), c(e, r);
|
|
2777
2783
|
},
|
|
2778
2784
|
p(s, u) {
|
|
2779
2785
|
u[0] & /*currencySymbols, currency*/
|
|
@@ -2782,14 +2788,14 @@ function es(i) {
|
|
|
2782
2788
|
/*currency*/
|
|
2783
2789
|
s[1]
|
|
2784
2790
|
] || /*currency*/
|
|
2785
|
-
s[1]) + "") &&
|
|
2791
|
+
s[1]) + "") && U(a, t), u[0] & /*availableLimits, lang*/
|
|
2786
2792
|
513 | u[1] & /*currentTypes*/
|
|
2787
|
-
512 &&
|
|
2793
|
+
512 && n !== (n = nt(
|
|
2788
2794
|
/*vLimit*/
|
|
2789
2795
|
s[208].updateAmount,
|
|
2790
2796
|
/*lang*/
|
|
2791
2797
|
s[0]
|
|
2792
|
-
) + "") &&
|
|
2798
|
+
) + "") && U(r, n);
|
|
2793
2799
|
},
|
|
2794
2800
|
d(s) {
|
|
2795
2801
|
s && A(e);
|
|
@@ -2800,10 +2806,10 @@ function ts(i) {
|
|
|
2800
2806
|
let e;
|
|
2801
2807
|
return {
|
|
2802
2808
|
c() {
|
|
2803
|
-
e =
|
|
2809
|
+
e = w("span");
|
|
2804
2810
|
},
|
|
2805
|
-
m(t,
|
|
2806
|
-
C(t, e,
|
|
2811
|
+
m(t, a) {
|
|
2812
|
+
C(t, e, a);
|
|
2807
2813
|
},
|
|
2808
2814
|
p: dt,
|
|
2809
2815
|
d(t) {
|
|
@@ -2815,7 +2821,7 @@ function mo(i) {
|
|
|
2815
2821
|
let e, t = (
|
|
2816
2822
|
/*$_*/
|
|
2817
2823
|
i[41]("companyLimitsInfoText") + ""
|
|
2818
|
-
),
|
|
2824
|
+
), a, n, r, s = (
|
|
2819
2825
|
/*currencySymbols*/
|
|
2820
2826
|
(i[24][
|
|
2821
2827
|
/*currency*/
|
|
@@ -2830,28 +2836,28 @@ function mo(i) {
|
|
|
2830
2836
|
) + "", f;
|
|
2831
2837
|
return {
|
|
2832
2838
|
c() {
|
|
2833
|
-
e =
|
|
2839
|
+
e = w("div"), a = j(t), n = B(), r = w("span"), u = j(s), f = j(m), g(e, "class", "CompanyLimitsInfoText");
|
|
2834
2840
|
},
|
|
2835
|
-
m(p,
|
|
2836
|
-
C(p, e,
|
|
2841
|
+
m(p, b) {
|
|
2842
|
+
C(p, e, b), c(e, a), c(e, n), c(e, r), c(r, u), c(r, f);
|
|
2837
2843
|
},
|
|
2838
|
-
p(p,
|
|
2839
|
-
|
|
2844
|
+
p(p, b) {
|
|
2845
|
+
b[1] & /*$_*/
|
|
2840
2846
|
1024 && t !== (t = /*$_*/
|
|
2841
|
-
p[41]("companyLimitsInfoText") + "") &&
|
|
2847
|
+
p[41]("companyLimitsInfoText") + "") && U(a, t), b[0] & /*currencySymbols, currency*/
|
|
2842
2848
|
16777218 && s !== (s = /*currencySymbols*/
|
|
2843
2849
|
(p[24][
|
|
2844
2850
|
/*currency*/
|
|
2845
2851
|
p[1]
|
|
2846
2852
|
] || /*currency*/
|
|
2847
|
-
p[1]) + "") &&
|
|
2848
|
-
513 |
|
|
2853
|
+
p[1]) + "") && U(u, s), b[0] & /*availableLimits, lang*/
|
|
2854
|
+
513 | b[1] & /*currentTypes*/
|
|
2849
2855
|
512 && m !== (m = nt(
|
|
2850
2856
|
/*vLimit*/
|
|
2851
2857
|
p[208].restrictiveDisplayAmount,
|
|
2852
2858
|
/*lang*/
|
|
2853
2859
|
p[0]
|
|
2854
|
-
) + "") &&
|
|
2860
|
+
) + "") && U(f, m);
|
|
2855
2861
|
},
|
|
2856
2862
|
d(p) {
|
|
2857
2863
|
p && A(e);
|
|
@@ -2859,51 +2865,51 @@ function mo(i) {
|
|
|
2859
2865
|
};
|
|
2860
2866
|
}
|
|
2861
2867
|
function is(i) {
|
|
2862
|
-
let e, t,
|
|
2868
|
+
let e, t, a = (
|
|
2863
2869
|
/*currencySymbols*/
|
|
2864
2870
|
(i[24][
|
|
2865
2871
|
/*currency*/
|
|
2866
2872
|
i[1]
|
|
2867
2873
|
] || /*currency*/
|
|
2868
2874
|
i[1]) + ""
|
|
2869
|
-
),
|
|
2875
|
+
), n, r = nt(
|
|
2870
2876
|
/*vLimit*/
|
|
2871
2877
|
i[208].updateAmount,
|
|
2872
2878
|
/*lang*/
|
|
2873
2879
|
i[0]
|
|
2874
2880
|
) + "", s, u;
|
|
2875
|
-
function m(
|
|
2881
|
+
function m(b, S) {
|
|
2876
2882
|
return (
|
|
2877
2883
|
/*vLimit*/
|
|
2878
|
-
|
|
2884
|
+
b[208].isCoolOffCompleted ? rs : ss
|
|
2879
2885
|
);
|
|
2880
2886
|
}
|
|
2881
2887
|
let f = m(i), p = f(i);
|
|
2882
2888
|
return {
|
|
2883
2889
|
c() {
|
|
2884
|
-
e =
|
|
2890
|
+
e = w("div"), t = w("span"), n = j(a), s = j(r), u = B(), p.c(), g(e, "class", "PendingLimit");
|
|
2885
2891
|
},
|
|
2886
|
-
m(
|
|
2887
|
-
C(
|
|
2892
|
+
m(b, S) {
|
|
2893
|
+
C(b, e, S), c(e, t), c(t, n), c(t, s), c(e, u), p.m(e, null);
|
|
2888
2894
|
},
|
|
2889
|
-
p(
|
|
2890
|
-
|
|
2891
|
-
16777218 &&
|
|
2892
|
-
(
|
|
2895
|
+
p(b, S) {
|
|
2896
|
+
S[0] & /*currencySymbols, currency*/
|
|
2897
|
+
16777218 && a !== (a = /*currencySymbols*/
|
|
2898
|
+
(b[24][
|
|
2893
2899
|
/*currency*/
|
|
2894
|
-
|
|
2900
|
+
b[1]
|
|
2895
2901
|
] || /*currency*/
|
|
2896
|
-
|
|
2897
|
-
513 |
|
|
2902
|
+
b[1]) + "") && U(n, a), S[0] & /*availableLimits, lang*/
|
|
2903
|
+
513 | S[1] & /*currentTypes*/
|
|
2898
2904
|
512 && r !== (r = nt(
|
|
2899
2905
|
/*vLimit*/
|
|
2900
|
-
|
|
2906
|
+
b[208].updateAmount,
|
|
2901
2907
|
/*lang*/
|
|
2902
|
-
|
|
2903
|
-
) + "") &&
|
|
2908
|
+
b[0]
|
|
2909
|
+
) + "") && U(s, r), f === (f = m(b)) && p ? p.p(b, S) : (p.d(1), p = f(b), p && (p.c(), p.m(e, null)));
|
|
2904
2910
|
},
|
|
2905
|
-
d(
|
|
2906
|
-
|
|
2911
|
+
d(b) {
|
|
2912
|
+
b && A(e), p.d();
|
|
2907
2913
|
}
|
|
2908
2914
|
};
|
|
2909
2915
|
}
|
|
@@ -2915,19 +2921,19 @@ function os(i) {
|
|
|
2915
2921
|
r[208].isCoolOffCompleted ? us : ls
|
|
2916
2922
|
);
|
|
2917
2923
|
}
|
|
2918
|
-
let
|
|
2924
|
+
let a = t(i), n = a(i);
|
|
2919
2925
|
return {
|
|
2920
2926
|
c() {
|
|
2921
|
-
e =
|
|
2927
|
+
e = w("div"), n.c(), g(e, "class", "PendingLimit");
|
|
2922
2928
|
},
|
|
2923
2929
|
m(r, s) {
|
|
2924
|
-
C(r, e, s),
|
|
2930
|
+
C(r, e, s), n.m(e, null);
|
|
2925
2931
|
},
|
|
2926
2932
|
p(r, s) {
|
|
2927
|
-
|
|
2933
|
+
a === (a = t(r)) && n ? n.p(r, s) : (n.d(1), n = a(r), n && (n.c(), n.m(e, null)));
|
|
2928
2934
|
},
|
|
2929
2935
|
d(r) {
|
|
2930
|
-
r && A(e),
|
|
2936
|
+
r && A(e), n.d();
|
|
2931
2937
|
}
|
|
2932
2938
|
};
|
|
2933
2939
|
}
|
|
@@ -2935,33 +2941,33 @@ function as(i) {
|
|
|
2935
2941
|
let e, t = (
|
|
2936
2942
|
/*$_*/
|
|
2937
2943
|
i[41]("acknowledgedLimit") + ""
|
|
2938
|
-
),
|
|
2944
|
+
), a;
|
|
2939
2945
|
return {
|
|
2940
2946
|
c() {
|
|
2941
|
-
e =
|
|
2947
|
+
e = w("div"), a = j(t), g(e, "class", "PendingLimit");
|
|
2942
2948
|
},
|
|
2943
|
-
m(
|
|
2944
|
-
C(
|
|
2949
|
+
m(n, r) {
|
|
2950
|
+
C(n, e, r), c(e, a);
|
|
2945
2951
|
},
|
|
2946
|
-
p(
|
|
2952
|
+
p(n, r) {
|
|
2947
2953
|
r[1] & /*$_*/
|
|
2948
2954
|
1024 && t !== (t = /*$_*/
|
|
2949
|
-
|
|
2955
|
+
n[41]("acknowledgedLimit") + "") && U(a, t);
|
|
2950
2956
|
},
|
|
2951
|
-
d(
|
|
2952
|
-
|
|
2957
|
+
d(n) {
|
|
2958
|
+
n && A(e);
|
|
2953
2959
|
}
|
|
2954
2960
|
};
|
|
2955
2961
|
}
|
|
2956
2962
|
function ns(i) {
|
|
2957
|
-
let e, t,
|
|
2963
|
+
let e, t, a = (
|
|
2958
2964
|
/*currencySymbols*/
|
|
2959
2965
|
(i[24][
|
|
2960
2966
|
/*currency*/
|
|
2961
2967
|
i[1]
|
|
2962
2968
|
] || /*currency*/
|
|
2963
2969
|
i[1]) + ""
|
|
2964
|
-
),
|
|
2970
|
+
), n, r = (
|
|
2965
2971
|
/*vLimit*/
|
|
2966
2972
|
(i[208].reviewPending.requestAmount || 0).toFixed(2) + ""
|
|
2967
2973
|
), s, u, m = ` ${/*$_*/
|
|
@@ -2972,29 +2978,29 @@ function ns(i) {
|
|
|
2972
2978
|
i[41]("updateAfterDocApproval")}`, f;
|
|
2973
2979
|
return {
|
|
2974
2980
|
c() {
|
|
2975
|
-
e =
|
|
2981
|
+
e = w("div"), t = w("span"), n = j(a), s = j(r), u = B(), f = j(m), g(e, "class", "PendingLimit");
|
|
2976
2982
|
},
|
|
2977
|
-
m(p,
|
|
2978
|
-
C(p, e,
|
|
2983
|
+
m(p, b) {
|
|
2984
|
+
C(p, e, b), c(e, t), c(t, n), c(t, s), c(e, u), c(e, f);
|
|
2979
2985
|
},
|
|
2980
|
-
p(p,
|
|
2981
|
-
|
|
2982
|
-
16777218 &&
|
|
2986
|
+
p(p, b) {
|
|
2987
|
+
b[0] & /*currencySymbols, currency*/
|
|
2988
|
+
16777218 && a !== (a = /*currencySymbols*/
|
|
2983
2989
|
(p[24][
|
|
2984
2990
|
/*currency*/
|
|
2985
2991
|
p[1]
|
|
2986
2992
|
] || /*currency*/
|
|
2987
|
-
p[1]) + "") &&
|
|
2988
|
-
512 |
|
|
2993
|
+
p[1]) + "") && U(n, a), b[0] & /*availableLimits*/
|
|
2994
|
+
512 | b[1] & /*currentTypes*/
|
|
2989
2995
|
512 && r !== (r = /*vLimit*/
|
|
2990
|
-
(p[208].reviewPending.requestAmount || 0).toFixed(2) + "") &&
|
|
2991
|
-
512 |
|
|
2996
|
+
(p[208].reviewPending.requestAmount || 0).toFixed(2) + "") && U(s, r), b[0] & /*availableLimits*/
|
|
2997
|
+
512 | b[1] & /*$_, currentTypes*/
|
|
2992
2998
|
1536 && m !== (m = ` ${/*$_*/
|
|
2993
2999
|
p[41](
|
|
2994
3000
|
/*vLimit*/
|
|
2995
3001
|
p[208].period
|
|
2996
3002
|
)} ${/*$_*/
|
|
2997
|
-
p[41]("updateAfterDocApproval")}`) &&
|
|
3003
|
+
p[41]("updateAfterDocApproval")}`) && U(f, m);
|
|
2998
3004
|
},
|
|
2999
3005
|
d(p) {
|
|
3000
3006
|
p && A(e);
|
|
@@ -3011,24 +3017,24 @@ function ss(i) {
|
|
|
3011
3017
|
i[208].expiryDate}`, t;
|
|
3012
3018
|
return {
|
|
3013
3019
|
c() {
|
|
3014
|
-
t =
|
|
3020
|
+
t = j(e);
|
|
3015
3021
|
},
|
|
3016
|
-
m(
|
|
3017
|
-
C(
|
|
3022
|
+
m(a, n) {
|
|
3023
|
+
C(a, t, n);
|
|
3018
3024
|
},
|
|
3019
|
-
p(
|
|
3020
|
-
|
|
3021
|
-
512 |
|
|
3025
|
+
p(a, n) {
|
|
3026
|
+
n[0] & /*availableLimits*/
|
|
3027
|
+
512 | n[1] & /*$_, currentTypes*/
|
|
3022
3028
|
1536 && e !== (e = ` ${/*$_*/
|
|
3023
|
-
|
|
3029
|
+
a[41](
|
|
3024
3030
|
/*vLimit*/
|
|
3025
|
-
|
|
3031
|
+
a[208].period
|
|
3026
3032
|
)} ${/*$_*/
|
|
3027
|
-
|
|
3028
|
-
|
|
3033
|
+
a[41]("updateText")} ${/*vLimit*/
|
|
3034
|
+
a[208].expiryDate}`) && U(t, e);
|
|
3029
3035
|
},
|
|
3030
|
-
d(
|
|
3031
|
-
|
|
3036
|
+
d(a) {
|
|
3037
|
+
a && A(t);
|
|
3032
3038
|
}
|
|
3033
3039
|
};
|
|
3034
3040
|
}
|
|
@@ -3041,23 +3047,23 @@ function rs(i) {
|
|
|
3041
3047
|
i[41]("updateAfterConfirm")}`, t;
|
|
3042
3048
|
return {
|
|
3043
3049
|
c() {
|
|
3044
|
-
t =
|
|
3050
|
+
t = j(e);
|
|
3045
3051
|
},
|
|
3046
|
-
m(
|
|
3047
|
-
C(
|
|
3052
|
+
m(a, n) {
|
|
3053
|
+
C(a, t, n);
|
|
3048
3054
|
},
|
|
3049
|
-
p(
|
|
3050
|
-
|
|
3051
|
-
512 |
|
|
3055
|
+
p(a, n) {
|
|
3056
|
+
n[0] & /*availableLimits*/
|
|
3057
|
+
512 | n[1] & /*$_, currentTypes*/
|
|
3052
3058
|
1536 && e !== (e = ` ${/*$_*/
|
|
3053
|
-
|
|
3059
|
+
a[41](
|
|
3054
3060
|
/*vLimit*/
|
|
3055
|
-
|
|
3061
|
+
a[208].period
|
|
3056
3062
|
)} ${/*$_*/
|
|
3057
|
-
|
|
3063
|
+
a[41]("updateAfterConfirm")}`) && U(t, e);
|
|
3058
3064
|
},
|
|
3059
|
-
d(
|
|
3060
|
-
|
|
3065
|
+
d(a) {
|
|
3066
|
+
a && A(t);
|
|
3061
3067
|
}
|
|
3062
3068
|
};
|
|
3063
3069
|
}
|
|
@@ -3065,27 +3071,27 @@ function ls(i) {
|
|
|
3065
3071
|
let e = (
|
|
3066
3072
|
/*$_*/
|
|
3067
3073
|
i[41]("removedLimitText") + ""
|
|
3068
|
-
), t,
|
|
3074
|
+
), t, a, n = (
|
|
3069
3075
|
/*vLimit*/
|
|
3070
3076
|
i[208].expiryDate + ""
|
|
3071
3077
|
), r;
|
|
3072
3078
|
return {
|
|
3073
3079
|
c() {
|
|
3074
|
-
t =
|
|
3080
|
+
t = j(e), a = B(), r = j(n);
|
|
3075
3081
|
},
|
|
3076
3082
|
m(s, u) {
|
|
3077
|
-
C(s, t, u), C(s,
|
|
3083
|
+
C(s, t, u), C(s, a, u), C(s, r, u);
|
|
3078
3084
|
},
|
|
3079
3085
|
p(s, u) {
|
|
3080
3086
|
u[1] & /*$_*/
|
|
3081
3087
|
1024 && e !== (e = /*$_*/
|
|
3082
|
-
s[41]("removedLimitText") + "") &&
|
|
3088
|
+
s[41]("removedLimitText") + "") && U(t, e), u[0] & /*availableLimits*/
|
|
3083
3089
|
512 | u[1] & /*currentTypes*/
|
|
3084
|
-
512 &&
|
|
3085
|
-
s[208].expiryDate + "") &&
|
|
3090
|
+
512 && n !== (n = /*vLimit*/
|
|
3091
|
+
s[208].expiryDate + "") && U(r, n);
|
|
3086
3092
|
},
|
|
3087
3093
|
d(s) {
|
|
3088
|
-
s && (A(t), A(
|
|
3094
|
+
s && (A(t), A(a), A(r));
|
|
3089
3095
|
}
|
|
3090
3096
|
};
|
|
3091
3097
|
}
|
|
@@ -3096,35 +3102,35 @@ function us(i) {
|
|
|
3096
3102
|
), t;
|
|
3097
3103
|
return {
|
|
3098
3104
|
c() {
|
|
3099
|
-
t =
|
|
3105
|
+
t = j(e);
|
|
3100
3106
|
},
|
|
3101
|
-
m(
|
|
3102
|
-
C(
|
|
3107
|
+
m(a, n) {
|
|
3108
|
+
C(a, t, n);
|
|
3103
3109
|
},
|
|
3104
|
-
p(
|
|
3105
|
-
|
|
3110
|
+
p(a, n) {
|
|
3111
|
+
n[1] & /*$_*/
|
|
3106
3112
|
1024 && e !== (e = /*$_*/
|
|
3107
|
-
|
|
3113
|
+
a[41]("removeAfterConfirm") + "") && U(t, e);
|
|
3108
3114
|
},
|
|
3109
|
-
d(
|
|
3110
|
-
|
|
3115
|
+
d(a) {
|
|
3116
|
+
a && A(t);
|
|
3111
3117
|
}
|
|
3112
3118
|
};
|
|
3113
3119
|
}
|
|
3114
3120
|
function po(i) {
|
|
3115
|
-
let e, t,
|
|
3121
|
+
let e, t, a = !/*vLimit*/
|
|
3116
3122
|
i[208].isModified && /*deletelimit*/
|
|
3117
3123
|
i[3].toLowerCase().includes(
|
|
3118
3124
|
/*limit*/
|
|
3119
3125
|
i[197].value.toLowerCase()
|
|
3120
3126
|
) && (!/*vLimit*/
|
|
3121
3127
|
i[208].reviewPending || !/*vLimit*/
|
|
3122
|
-
i[208].reviewPending.id),
|
|
3128
|
+
i[208].reviewPending.id), n, r = (
|
|
3123
3129
|
/*vLimit*/
|
|
3124
3130
|
i[208].acknowledgedLimit && (!/*vLimit*/
|
|
3125
3131
|
i[208].reviewPending || !/*vLimit*/
|
|
3126
3132
|
i[208].reviewPending.id) && co(i)
|
|
3127
|
-
), s =
|
|
3133
|
+
), s = a && fo(i), u = (
|
|
3128
3134
|
/*vLimit*/
|
|
3129
3135
|
i[208].isCoolOffCompleted && !/*vLimit*/
|
|
3130
3136
|
i[208].acknowledgedLimit && (!/*vLimit*/
|
|
@@ -3133,11 +3139,11 @@ function po(i) {
|
|
|
3133
3139
|
);
|
|
3134
3140
|
return {
|
|
3135
3141
|
c() {
|
|
3136
|
-
e =
|
|
3142
|
+
e = w("div"), r && r.c(), t = B(), s && s.c(), n = B(), u && u.c(), g(e, "class", "ContainerLimitActions " + (/*isDesktop*/
|
|
3137
3143
|
i[42] ? "" : "Mobile"));
|
|
3138
3144
|
},
|
|
3139
3145
|
m(m, f) {
|
|
3140
|
-
C(m, e, f), r && r.m(e, null), c(e, t), s && s.m(e, null), c(e,
|
|
3146
|
+
C(m, e, f), r && r.m(e, null), c(e, t), s && s.m(e, null), c(e, n), u && u.m(e, null);
|
|
3141
3147
|
},
|
|
3142
3148
|
p(m, f) {
|
|
3143
3149
|
/*vLimit*/
|
|
@@ -3145,14 +3151,14 @@ function po(i) {
|
|
|
3145
3151
|
m[208].reviewPending || !/*vLimit*/
|
|
3146
3152
|
m[208].reviewPending.id) ? r ? r.p(m, f) : (r = co(m), r.c(), r.m(e, t)) : r && (r.d(1), r = null), f[0] & /*availableLimits, deletelimit*/
|
|
3147
3153
|
520 | f[1] & /*currentTypes*/
|
|
3148
|
-
512 && (
|
|
3154
|
+
512 && (a = !/*vLimit*/
|
|
3149
3155
|
m[208].isModified && /*deletelimit*/
|
|
3150
3156
|
m[3].toLowerCase().includes(
|
|
3151
3157
|
/*limit*/
|
|
3152
3158
|
m[197].value.toLowerCase()
|
|
3153
3159
|
) && (!/*vLimit*/
|
|
3154
3160
|
m[208].reviewPending || !/*vLimit*/
|
|
3155
|
-
m[208].reviewPending.id)),
|
|
3161
|
+
m[208].reviewPending.id)), a ? s ? s.p(m, f) : (s = fo(m), s.c(), s.m(e, n)) : s && (s.d(1), s = null), /*vLimit*/
|
|
3156
3162
|
m[208].isCoolOffCompleted && !/*vLimit*/
|
|
3157
3163
|
m[208].acknowledgedLimit && (!/*vLimit*/
|
|
3158
3164
|
m[208].reviewPending || !/*vLimit*/
|
|
@@ -3171,11 +3177,11 @@ function co(i) {
|
|
|
3171
3177
|
/*vLimit*/
|
|
3172
3178
|
i[208].scheduleId
|
|
3173
3179
|
]) == null ? void 0 : u.timer) || "Reload") + ""
|
|
3174
|
-
),
|
|
3180
|
+
), a, n, r, s;
|
|
3175
3181
|
return {
|
|
3176
3182
|
c() {
|
|
3177
3183
|
var m;
|
|
3178
|
-
e =
|
|
3184
|
+
e = w("button"), a = j(t), g(e, "class", n = "ReloadLimitButton " + (/*isDesktop*/
|
|
3179
3185
|
i[42] ? "" : "Mobile") + " " + /*acknowledgedLimits*/
|
|
3180
3186
|
((m = i[25][
|
|
3181
3187
|
/*vLimit*/
|
|
@@ -3183,7 +3189,7 @@ function co(i) {
|
|
|
3183
3189
|
]) != null && m.timerStopped ? "" : "disabled"));
|
|
3184
3190
|
},
|
|
3185
3191
|
m(m, f) {
|
|
3186
|
-
C(m, e, f), c(e,
|
|
3192
|
+
C(m, e, f), c(e, a), r || (s = ge(
|
|
3187
3193
|
e,
|
|
3188
3194
|
"click",
|
|
3189
3195
|
/*click_handler*/
|
|
@@ -3191,21 +3197,21 @@ function co(i) {
|
|
|
3191
3197
|
), r = !0);
|
|
3192
3198
|
},
|
|
3193
3199
|
p(m, f) {
|
|
3194
|
-
var p,
|
|
3200
|
+
var p, b;
|
|
3195
3201
|
f[0] & /*acknowledgedLimits, availableLimits*/
|
|
3196
3202
|
33554944 | f[1] & /*currentTypes*/
|
|
3197
3203
|
512 && t !== (t = /*acknowledgedLimits*/
|
|
3198
3204
|
(((p = m[25][
|
|
3199
3205
|
/*vLimit*/
|
|
3200
3206
|
m[208].scheduleId
|
|
3201
|
-
]) == null ? void 0 : p.timer) || "Reload") + "") &&
|
|
3207
|
+
]) == null ? void 0 : p.timer) || "Reload") + "") && U(a, t), f[0] & /*acknowledgedLimits, availableLimits*/
|
|
3202
3208
|
33554944 | f[1] & /*currentTypes*/
|
|
3203
|
-
512 &&
|
|
3209
|
+
512 && n !== (n = "ReloadLimitButton " + (/*isDesktop*/
|
|
3204
3210
|
m[42] ? "" : "Mobile") + " " + /*acknowledgedLimits*/
|
|
3205
|
-
((
|
|
3211
|
+
((b = m[25][
|
|
3206
3212
|
/*vLimit*/
|
|
3207
3213
|
m[208].scheduleId
|
|
3208
|
-
]) != null &&
|
|
3214
|
+
]) != null && b.timerStopped ? "" : "disabled")) && g(e, "class", n);
|
|
3209
3215
|
},
|
|
3210
3216
|
d(m) {
|
|
3211
3217
|
m && A(e), r = !1, s();
|
|
@@ -3216,7 +3222,7 @@ function fo(i) {
|
|
|
3216
3222
|
let e, t = (
|
|
3217
3223
|
/*$_*/
|
|
3218
3224
|
i[41]("removeLimit") + ""
|
|
3219
|
-
),
|
|
3225
|
+
), a, n, r;
|
|
3220
3226
|
function s() {
|
|
3221
3227
|
return (
|
|
3222
3228
|
/*click_handler_1*/
|
|
@@ -3228,19 +3234,19 @@ function fo(i) {
|
|
|
3228
3234
|
}
|
|
3229
3235
|
return {
|
|
3230
3236
|
c() {
|
|
3231
|
-
e =
|
|
3237
|
+
e = w("button"), a = j(t), g(e, "class", "RemoveLimitButton " + (/*isDesktop*/
|
|
3232
3238
|
i[42] ? "" : "Mobile"));
|
|
3233
3239
|
},
|
|
3234
3240
|
m(u, m) {
|
|
3235
|
-
C(u, e, m), c(e,
|
|
3241
|
+
C(u, e, m), c(e, a), n || (r = ge(e, "click", s), n = !0);
|
|
3236
3242
|
},
|
|
3237
3243
|
p(u, m) {
|
|
3238
3244
|
i = u, m[1] & /*$_*/
|
|
3239
3245
|
1024 && t !== (t = /*$_*/
|
|
3240
|
-
i[41]("removeLimit") + "") &&
|
|
3246
|
+
i[41]("removeLimit") + "") && U(a, t);
|
|
3241
3247
|
},
|
|
3242
3248
|
d(u) {
|
|
3243
|
-
u && A(e),
|
|
3249
|
+
u && A(e), n = !1, r();
|
|
3244
3250
|
}
|
|
3245
3251
|
};
|
|
3246
3252
|
}
|
|
@@ -3248,7 +3254,7 @@ function go(i) {
|
|
|
3248
3254
|
let e, t = (
|
|
3249
3255
|
/*$_*/
|
|
3250
3256
|
i[41]("confirmUpdateLimit") + ""
|
|
3251
|
-
),
|
|
3257
|
+
), a, n, r, s = (
|
|
3252
3258
|
/*$_*/
|
|
3253
3259
|
i[41]("cancelUpdateLimit") + ""
|
|
3254
3260
|
), u, m, f;
|
|
@@ -3261,7 +3267,7 @@ function go(i) {
|
|
|
3261
3267
|
)
|
|
3262
3268
|
);
|
|
3263
3269
|
}
|
|
3264
|
-
function
|
|
3270
|
+
function b() {
|
|
3265
3271
|
return (
|
|
3266
3272
|
/*click_handler_3*/
|
|
3267
3273
|
i[95](
|
|
@@ -3272,25 +3278,25 @@ function go(i) {
|
|
|
3272
3278
|
}
|
|
3273
3279
|
return {
|
|
3274
3280
|
c() {
|
|
3275
|
-
e =
|
|
3281
|
+
e = w("button"), a = j(t), n = B(), r = w("button"), u = j(s), g(e, "class", "ConfirmLimitButton " + (/*isDesktop*/
|
|
3276
3282
|
i[42] ? "" : "Mobile")), g(r, "class", "CancelLimitButton " + (/*isDesktop*/
|
|
3277
3283
|
i[42] ? "" : "Mobile"));
|
|
3278
3284
|
},
|
|
3279
|
-
m(
|
|
3280
|
-
C(
|
|
3285
|
+
m(S, k) {
|
|
3286
|
+
C(S, e, k), c(e, a), C(S, n, k), C(S, r, k), c(r, u), m || (f = [
|
|
3281
3287
|
ge(e, "click", p),
|
|
3282
|
-
ge(r, "click",
|
|
3288
|
+
ge(r, "click", b)
|
|
3283
3289
|
], m = !0);
|
|
3284
3290
|
},
|
|
3285
|
-
p(
|
|
3286
|
-
i =
|
|
3291
|
+
p(S, k) {
|
|
3292
|
+
i = S, k[1] & /*$_*/
|
|
3287
3293
|
1024 && t !== (t = /*$_*/
|
|
3288
|
-
i[41]("confirmUpdateLimit") + "") &&
|
|
3294
|
+
i[41]("confirmUpdateLimit") + "") && U(a, t), k[1] & /*$_*/
|
|
3289
3295
|
1024 && s !== (s = /*$_*/
|
|
3290
|
-
i[41]("cancelUpdateLimit") + "") &&
|
|
3296
|
+
i[41]("cancelUpdateLimit") + "") && U(u, s);
|
|
3291
3297
|
},
|
|
3292
|
-
d(
|
|
3293
|
-
|
|
3298
|
+
d(S) {
|
|
3299
|
+
S && (A(e), A(n), A(r)), m = !1, st(f);
|
|
3294
3300
|
}
|
|
3295
3301
|
};
|
|
3296
3302
|
}
|
|
@@ -3298,102 +3304,102 @@ function Lo(i) {
|
|
|
3298
3304
|
let e, t;
|
|
3299
3305
|
return {
|
|
3300
3306
|
c() {
|
|
3301
|
-
e =
|
|
3307
|
+
e = w("div"), g(e, "class", "ProgressBarContainer"), g(e, "id", t = `progress-${/*realIndex*/
|
|
3302
3308
|
i[209]}-${/*idx*/
|
|
3303
3309
|
i[211]}`);
|
|
3304
3310
|
},
|
|
3305
|
-
m(
|
|
3306
|
-
C(
|
|
3311
|
+
m(a, n) {
|
|
3312
|
+
C(a, e, n);
|
|
3307
3313
|
},
|
|
3308
|
-
p(
|
|
3309
|
-
|
|
3310
|
-
512 |
|
|
3314
|
+
p(a, n) {
|
|
3315
|
+
n[0] & /*availableLimits*/
|
|
3316
|
+
512 | n[1] & /*currentTypes*/
|
|
3311
3317
|
512 && t !== (t = `progress-${/*realIndex*/
|
|
3312
|
-
|
|
3313
|
-
|
|
3318
|
+
a[209]}-${/*idx*/
|
|
3319
|
+
a[211]}`) && g(e, "id", t);
|
|
3314
3320
|
},
|
|
3315
|
-
d(
|
|
3316
|
-
|
|
3321
|
+
d(a) {
|
|
3322
|
+
a && A(e);
|
|
3317
3323
|
}
|
|
3318
3324
|
};
|
|
3319
3325
|
}
|
|
3320
3326
|
function ho(i) {
|
|
3321
|
-
let e, t,
|
|
3327
|
+
let e, t, a, n, r, s, u = ` ${/*$_*/
|
|
3322
3328
|
i[41](
|
|
3323
3329
|
/*vLimit*/
|
|
3324
3330
|
i[208].period
|
|
3325
|
-
)}`, m, f, p,
|
|
3326
|
-
function
|
|
3331
|
+
)}`, m, f, p, b, S;
|
|
3332
|
+
function k(x, q) {
|
|
3327
3333
|
return (
|
|
3328
3334
|
/*vLimit*/
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3335
|
+
x[208].isVirtual || /*vLimit*/
|
|
3336
|
+
x[208].amount === 1 / 0 || /*vLimit*/
|
|
3337
|
+
x[208].amount === null ? ts : (
|
|
3332
3338
|
/*vLimit*/
|
|
3333
|
-
|
|
3339
|
+
x[208].acknowledgedLimit ? es : $n
|
|
3334
3340
|
)
|
|
3335
3341
|
);
|
|
3336
3342
|
}
|
|
3337
|
-
let
|
|
3343
|
+
let v = k(i), _ = v(i), T = (
|
|
3338
3344
|
/*vLimit*/
|
|
3339
3345
|
i[208].showInfoMessage && mo(i)
|
|
3340
3346
|
);
|
|
3341
|
-
function
|
|
3347
|
+
function E(x, q) {
|
|
3342
3348
|
if (
|
|
3343
3349
|
/*vLimit*/
|
|
3344
|
-
|
|
3345
|
-
|
|
3350
|
+
x[208].reviewPending && /*vLimit*/
|
|
3351
|
+
x[208].reviewPending.id
|
|
3346
3352
|
)
|
|
3347
3353
|
return ns;
|
|
3348
3354
|
if (
|
|
3349
3355
|
/*vLimit*/
|
|
3350
|
-
|
|
3356
|
+
x[208].acknowledgedLimit
|
|
3351
3357
|
)
|
|
3352
3358
|
return as;
|
|
3353
3359
|
if (
|
|
3354
3360
|
/*vLimit*/
|
|
3355
|
-
|
|
3356
|
-
|
|
3361
|
+
x[208].isModified && /*vLimit*/
|
|
3362
|
+
x[208].updateAmount === 0
|
|
3357
3363
|
)
|
|
3358
3364
|
return os;
|
|
3359
3365
|
if (
|
|
3360
3366
|
/*vLimit*/
|
|
3361
|
-
|
|
3367
|
+
x[208].isModified
|
|
3362
3368
|
)
|
|
3363
3369
|
return is;
|
|
3364
3370
|
}
|
|
3365
|
-
let M =
|
|
3371
|
+
let M = E(i), G = M && M(i), Y = !/*vLimit*/
|
|
3366
3372
|
i[208].isOperator && po(i), te = !/*vLimit*/
|
|
3367
3373
|
i[208].shouldHideProgress && Lo(i);
|
|
3368
3374
|
return {
|
|
3369
3375
|
c() {
|
|
3370
|
-
e =
|
|
3376
|
+
e = w("div"), t = w("div"), a = w("div"), n = w("div"), r = w("div"), _.c(), s = B(), m = j(u), f = B(), T && T.c(), p = B(), G && G.c(), b = B(), Y && Y.c(), S = B(), te && te.c(), g(r, "class", "CurrentLimit"), g(n, "class", "CurrentLimitContainer"), g(a, "class", "LimitDetailsTextWrapper " + (/*isDesktop*/
|
|
3371
3377
|
i[42] ? "" : "Mobile") + " " + /*idx*/
|
|
3372
3378
|
(i[211] > 0 ? "SubsequentLimit" : "")), g(t, "class", "LimitDetailsWrapper"), g(e, "class", "LimitDetails");
|
|
3373
3379
|
},
|
|
3374
|
-
m(
|
|
3375
|
-
C(
|
|
3380
|
+
m(x, q) {
|
|
3381
|
+
C(x, e, q), c(e, t), c(t, a), c(a, n), c(n, r), _.m(r, null), c(r, s), c(r, m), c(n, f), T && T.m(n, null), c(a, p), G && G.m(a, null), c(a, b), Y && Y.m(a, null), c(a, S), te && te.m(a, null);
|
|
3376
3382
|
},
|
|
3377
|
-
p(
|
|
3378
|
-
|
|
3383
|
+
p(x, q) {
|
|
3384
|
+
v === (v = k(x)) && _ ? _.p(x, q) : (_.d(1), _ = v(x), _ && (_.c(), _.m(r, s))), q[0] & /*availableLimits*/
|
|
3379
3385
|
512 | q[1] & /*$_, currentTypes*/
|
|
3380
3386
|
1536 && u !== (u = ` ${/*$_*/
|
|
3381
|
-
|
|
3387
|
+
x[41](
|
|
3382
3388
|
/*vLimit*/
|
|
3383
|
-
|
|
3384
|
-
)}`) &&
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
},
|
|
3389
|
-
d(
|
|
3390
|
-
|
|
3389
|
+
x[208].period
|
|
3390
|
+
)}`) && U(m, u), /*vLimit*/
|
|
3391
|
+
x[208].showInfoMessage ? T ? T.p(x, q) : (T = mo(x), T.c(), T.m(n, null)) : T && (T.d(1), T = null), M === (M = E(x)) && G ? G.p(x, q) : (G && G.d(1), G = M && M(x), G && (G.c(), G.m(a, b))), /*vLimit*/
|
|
3392
|
+
x[208].isOperator ? Y && (Y.d(1), Y = null) : Y ? Y.p(x, q) : (Y = po(x), Y.c(), Y.m(a, S)), /*vLimit*/
|
|
3393
|
+
x[208].shouldHideProgress ? te && (te.d(1), te = null) : te ? te.p(x, q) : (te = Lo(x), te.c(), te.m(a, null));
|
|
3394
|
+
},
|
|
3395
|
+
d(x) {
|
|
3396
|
+
x && A(e), _.d(), T && T.d(), G && G.d(), Y && Y.d(), te && te.d();
|
|
3391
3397
|
}
|
|
3392
3398
|
};
|
|
3393
3399
|
}
|
|
3394
3400
|
function yo(i, e) {
|
|
3395
|
-
let t,
|
|
3396
|
-
function
|
|
3401
|
+
let t, a;
|
|
3402
|
+
function n(u, m) {
|
|
3397
3403
|
if (
|
|
3398
3404
|
/*limit*/
|
|
3399
3405
|
u[197].visibleLimitsInUI && /*limit*/
|
|
@@ -3404,21 +3410,21 @@ function yo(i, e) {
|
|
|
3404
3410
|
u[10])
|
|
3405
3411
|
return Jn;
|
|
3406
3412
|
}
|
|
3407
|
-
let r =
|
|
3413
|
+
let r = n(e), s = r && r(e);
|
|
3408
3414
|
return {
|
|
3409
3415
|
key: i,
|
|
3410
3416
|
first: null,
|
|
3411
3417
|
c() {
|
|
3412
|
-
t = tt(), s && s.c(),
|
|
3418
|
+
t = tt(), s && s.c(), a = tt(), this.first = t;
|
|
3413
3419
|
},
|
|
3414
3420
|
m(u, m) {
|
|
3415
|
-
C(u, t, m), s && s.m(u, m), C(u,
|
|
3421
|
+
C(u, t, m), s && s.m(u, m), C(u, a, m);
|
|
3416
3422
|
},
|
|
3417
3423
|
p(u, m) {
|
|
3418
|
-
e = u, r === (r =
|
|
3424
|
+
e = u, r === (r = n(e)) && s ? s.p(e, m) : (s && s.d(1), s = r && r(e), s && (s.c(), s.m(a.parentNode, a)));
|
|
3419
3425
|
},
|
|
3420
3426
|
d(u) {
|
|
3421
|
-
u && (A(t), A(
|
|
3427
|
+
u && (A(t), A(a)), s && s.d(u);
|
|
3422
3428
|
}
|
|
3423
3429
|
};
|
|
3424
3430
|
}
|
|
@@ -3429,26 +3435,26 @@ function vo(i) {
|
|
|
3429
3435
|
/*currentTabLimits*/
|
|
3430
3436
|
i[202][0]
|
|
3431
3437
|
) + ""
|
|
3432
|
-
),
|
|
3438
|
+
), a;
|
|
3433
3439
|
return {
|
|
3434
3440
|
c() {
|
|
3435
|
-
e =
|
|
3441
|
+
e = w("p"), a = j(t), g(e, "class", "LimitTitle " + (/*isDesktop*/
|
|
3436
3442
|
i[42] ? "" : "Mobile"));
|
|
3437
3443
|
},
|
|
3438
|
-
m(
|
|
3439
|
-
C(
|
|
3444
|
+
m(n, r) {
|
|
3445
|
+
C(n, e, r), c(e, a);
|
|
3440
3446
|
},
|
|
3441
|
-
p(
|
|
3447
|
+
p(n, r) {
|
|
3442
3448
|
r[0] & /*availableLimits*/
|
|
3443
3449
|
512 | r[1] & /*currentTypes*/
|
|
3444
3450
|
512 && t !== (t = /*determineLimitName*/
|
|
3445
|
-
|
|
3451
|
+
n[56](
|
|
3446
3452
|
/*currentTabLimits*/
|
|
3447
|
-
|
|
3448
|
-
) + "") &&
|
|
3453
|
+
n[202][0]
|
|
3454
|
+
) + "") && U(a, t);
|
|
3449
3455
|
},
|
|
3450
|
-
d(
|
|
3451
|
-
|
|
3456
|
+
d(n) {
|
|
3457
|
+
n && A(e);
|
|
3452
3458
|
}
|
|
3453
3459
|
};
|
|
3454
3460
|
}
|
|
@@ -3456,22 +3462,22 @@ function bo(i) {
|
|
|
3456
3462
|
let e, t = (
|
|
3457
3463
|
/*$_*/
|
|
3458
3464
|
i[41]("activeLimitsInfoText") + ""
|
|
3459
|
-
),
|
|
3465
|
+
), a;
|
|
3460
3466
|
return {
|
|
3461
3467
|
c() {
|
|
3462
|
-
e =
|
|
3468
|
+
e = w("p"), a = j(t), g(e, "class", "LimitsInfoText " + (/*isDesktop*/
|
|
3463
3469
|
i[42] ? "" : "Mobile"));
|
|
3464
3470
|
},
|
|
3465
|
-
m(
|
|
3466
|
-
C(
|
|
3471
|
+
m(n, r) {
|
|
3472
|
+
C(n, e, r), c(e, a);
|
|
3467
3473
|
},
|
|
3468
|
-
p(
|
|
3474
|
+
p(n, r) {
|
|
3469
3475
|
r[1] & /*$_*/
|
|
3470
3476
|
1024 && t !== (t = /*$_*/
|
|
3471
|
-
|
|
3477
|
+
n[41]("activeLimitsInfoText") + "") && U(a, t);
|
|
3472
3478
|
},
|
|
3473
|
-
d(
|
|
3474
|
-
|
|
3479
|
+
d(n) {
|
|
3480
|
+
n && A(e);
|
|
3475
3481
|
}
|
|
3476
3482
|
};
|
|
3477
3483
|
}
|
|
@@ -3484,19 +3490,19 @@ function ko(i) {
|
|
|
3484
3490
|
r[203] ? Xn : Zn
|
|
3485
3491
|
);
|
|
3486
3492
|
}
|
|
3487
|
-
let
|
|
3493
|
+
let a = t(i), n = a(i);
|
|
3488
3494
|
return {
|
|
3489
3495
|
c() {
|
|
3490
|
-
|
|
3496
|
+
n.c(), e = tt();
|
|
3491
3497
|
},
|
|
3492
3498
|
m(r, s) {
|
|
3493
|
-
|
|
3499
|
+
n.m(r, s), C(r, e, s);
|
|
3494
3500
|
},
|
|
3495
3501
|
p(r, s) {
|
|
3496
|
-
|
|
3502
|
+
a === (a = t(r)) && n ? n.p(r, s) : (n.d(1), n = a(r), n && (n.c(), n.m(e.parentNode, e)));
|
|
3497
3503
|
},
|
|
3498
3504
|
d(r) {
|
|
3499
|
-
r && A(e),
|
|
3505
|
+
r && A(e), n.d(r);
|
|
3500
3506
|
}
|
|
3501
3507
|
};
|
|
3502
3508
|
}
|
|
@@ -3507,17 +3513,17 @@ function ms(i) {
|
|
|
3507
3513
|
);
|
|
3508
3514
|
return {
|
|
3509
3515
|
c() {
|
|
3510
|
-
e =
|
|
3516
|
+
e = w("div"), t && t.c(), g(e, "class", "LimitsList");
|
|
3511
3517
|
},
|
|
3512
|
-
m(
|
|
3513
|
-
C(
|
|
3518
|
+
m(a, n) {
|
|
3519
|
+
C(a, e, n), t && t.m(e, null);
|
|
3514
3520
|
},
|
|
3515
|
-
p(
|
|
3521
|
+
p(a, n) {
|
|
3516
3522
|
/*availableLimits*/
|
|
3517
|
-
|
|
3523
|
+
a[9] ? t ? t.p(a, n) : (t = so(a), t.c(), t.m(e, null)) : t && (t.d(1), t = null);
|
|
3518
3524
|
},
|
|
3519
|
-
d(
|
|
3520
|
-
|
|
3525
|
+
d(a) {
|
|
3526
|
+
a && A(e), t && t.d();
|
|
3521
3527
|
}
|
|
3522
3528
|
};
|
|
3523
3529
|
}
|
|
@@ -3525,68 +3531,70 @@ function wo(i) {
|
|
|
3525
3531
|
let e, t = (
|
|
3526
3532
|
/*$_*/
|
|
3527
3533
|
i[41]("newLimitInfoText") + ""
|
|
3528
|
-
),
|
|
3534
|
+
), a;
|
|
3529
3535
|
return {
|
|
3530
3536
|
c() {
|
|
3531
|
-
e =
|
|
3537
|
+
e = w("p"), a = j(t), g(e, "class", "LimitsInfoText " + (/*isDesktop*/
|
|
3532
3538
|
i[42] ? "" : "Mobile"));
|
|
3533
3539
|
},
|
|
3534
|
-
m(
|
|
3535
|
-
C(
|
|
3540
|
+
m(n, r) {
|
|
3541
|
+
C(n, e, r), c(e, a);
|
|
3536
3542
|
},
|
|
3537
|
-
p(
|
|
3543
|
+
p(n, r) {
|
|
3538
3544
|
r[1] & /*$_*/
|
|
3539
3545
|
1024 && t !== (t = /*$_*/
|
|
3540
|
-
|
|
3546
|
+
n[41]("newLimitInfoText") + "") && U(a, t);
|
|
3541
3547
|
},
|
|
3542
|
-
d(
|
|
3543
|
-
|
|
3548
|
+
d(n) {
|
|
3549
|
+
n && A(e);
|
|
3544
3550
|
}
|
|
3545
3551
|
};
|
|
3546
3552
|
}
|
|
3547
3553
|
function _o(i) {
|
|
3554
|
+
var n;
|
|
3548
3555
|
let e = (
|
|
3549
3556
|
/*limit*/
|
|
3550
|
-
i[197].value === "netdeposit" && /*$_*/
|
|
3557
|
+
((n = i[197]) == null ? void 0 : n.value) === "netdeposit" && /*$_*/
|
|
3551
3558
|
i[41]("newLimitInfoText") !== "newLimitInfoText" && /*$_*/
|
|
3552
3559
|
i[41]("newLimitInfoText").trim().length
|
|
3553
|
-
), t,
|
|
3560
|
+
), t, a = e && wo(i);
|
|
3554
3561
|
return {
|
|
3555
3562
|
c() {
|
|
3556
|
-
|
|
3563
|
+
a && a.c(), t = tt();
|
|
3557
3564
|
},
|
|
3558
|
-
m(
|
|
3559
|
-
|
|
3565
|
+
m(r, s) {
|
|
3566
|
+
a && a.m(r, s), C(r, t, s);
|
|
3560
3567
|
},
|
|
3561
|
-
p(
|
|
3562
|
-
|
|
3563
|
-
|
|
3568
|
+
p(r, s) {
|
|
3569
|
+
var u;
|
|
3570
|
+
s[0] & /*availableLimits*/
|
|
3571
|
+
512 | s[1] & /*$_*/
|
|
3564
3572
|
1024 && (e = /*limit*/
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3573
|
+
((u = r[197]) == null ? void 0 : u.value) === "netdeposit" && /*$_*/
|
|
3574
|
+
r[41]("newLimitInfoText") !== "newLimitInfoText" && /*$_*/
|
|
3575
|
+
r[41]("newLimitInfoText").trim().length), e ? a ? a.p(r, s) : (a = wo(r), a.c(), a.m(t.parentNode, t)) : a && (a.d(1), a = null);
|
|
3568
3576
|
},
|
|
3569
|
-
d(
|
|
3570
|
-
|
|
3577
|
+
d(r) {
|
|
3578
|
+
r && A(t), a && a.d(r);
|
|
3571
3579
|
}
|
|
3572
3580
|
};
|
|
3573
3581
|
}
|
|
3574
3582
|
function So(i) {
|
|
3575
|
-
let e, t,
|
|
3583
|
+
let e, t, a = (
|
|
3576
3584
|
/*$_*/
|
|
3577
3585
|
i[41]("complianceText") + ""
|
|
3578
|
-
),
|
|
3586
|
+
), n;
|
|
3579
3587
|
return {
|
|
3580
3588
|
c() {
|
|
3581
|
-
e =
|
|
3589
|
+
e = w("div"), t = w("p"), n = j(a), g(t, "class", "LimitComplianceText"), g(e, "class", "LimitCompliance");
|
|
3582
3590
|
},
|
|
3583
3591
|
m(r, s) {
|
|
3584
|
-
C(r, e, s), c(e, t), c(t,
|
|
3592
|
+
C(r, e, s), c(e, t), c(t, n);
|
|
3585
3593
|
},
|
|
3586
3594
|
p(r, s) {
|
|
3587
3595
|
s[1] & /*$_*/
|
|
3588
|
-
1024 &&
|
|
3589
|
-
r[41]("complianceText") + "") &&
|
|
3596
|
+
1024 && a !== (a = /*$_*/
|
|
3597
|
+
r[41]("complianceText") + "") && U(n, a);
|
|
3590
3598
|
},
|
|
3591
3599
|
d(r) {
|
|
3592
3600
|
r && A(e);
|
|
@@ -3594,20 +3602,20 @@ function So(i) {
|
|
|
3594
3602
|
};
|
|
3595
3603
|
}
|
|
3596
3604
|
function Ao(i) {
|
|
3597
|
-
let e, t,
|
|
3605
|
+
let e, t, a = (
|
|
3598
3606
|
/*$_*/
|
|
3599
3607
|
i[41]("limitType") + ""
|
|
3600
|
-
),
|
|
3608
|
+
), n, r, s, u, m, f = Ce(
|
|
3601
3609
|
/*availableLimits*/
|
|
3602
3610
|
i[9]
|
|
3603
3611
|
), p = [];
|
|
3604
|
-
for (let
|
|
3605
|
-
p[
|
|
3612
|
+
for (let b = 0; b < f.length; b += 1)
|
|
3613
|
+
p[b] = Co(Yi(i, f, b));
|
|
3606
3614
|
return {
|
|
3607
3615
|
c() {
|
|
3608
|
-
e =
|
|
3609
|
-
for (let
|
|
3610
|
-
p[
|
|
3616
|
+
e = w("label"), t = w("span"), n = j(a), r = B(), s = w("select");
|
|
3617
|
+
for (let b = 0; b < p.length; b += 1)
|
|
3618
|
+
p[b].c();
|
|
3611
3619
|
g(t, "class", "LimitSelectText"), g(s, "name", ""), g(s, "id", ""), /*selectedIndex*/
|
|
3612
3620
|
i[20] === void 0 && Io(() => (
|
|
3613
3621
|
/*select_change_handler*/
|
|
@@ -3615,10 +3623,10 @@ function Ao(i) {
|
|
|
3615
3623
|
)), g(e, "class", "LimitTypeDropdownWrapper " + (/*isDesktop*/
|
|
3616
3624
|
i[42] ? "" : "Mobile"));
|
|
3617
3625
|
},
|
|
3618
|
-
m(
|
|
3619
|
-
C(
|
|
3620
|
-
for (let
|
|
3621
|
-
p[
|
|
3626
|
+
m(b, S) {
|
|
3627
|
+
C(b, e, S), c(e, t), c(t, n), c(e, r), c(e, s);
|
|
3628
|
+
for (let k = 0; k < p.length; k += 1)
|
|
3629
|
+
p[k] && p[k].m(s, null);
|
|
3622
3630
|
Kt(
|
|
3623
3631
|
s,
|
|
3624
3632
|
/*selectedIndex*/
|
|
@@ -3639,34 +3647,34 @@ function Ao(i) {
|
|
|
3639
3647
|
)
|
|
3640
3648
|
], u = !0);
|
|
3641
3649
|
},
|
|
3642
|
-
p(
|
|
3643
|
-
if (
|
|
3644
|
-
1024 &&
|
|
3645
|
-
|
|
3646
|
-
512 |
|
|
3650
|
+
p(b, S) {
|
|
3651
|
+
if (S[1] & /*$_*/
|
|
3652
|
+
1024 && a !== (a = /*$_*/
|
|
3653
|
+
b[41]("limitType") + "") && U(n, a), S[0] & /*availableLimits*/
|
|
3654
|
+
512 | S[1] & /*determineLimitName*/
|
|
3647
3655
|
33554432) {
|
|
3648
3656
|
f = Ce(
|
|
3649
3657
|
/*availableLimits*/
|
|
3650
|
-
|
|
3658
|
+
b[9]
|
|
3651
3659
|
);
|
|
3652
|
-
let
|
|
3653
|
-
for (
|
|
3654
|
-
const
|
|
3655
|
-
p[
|
|
3660
|
+
let k;
|
|
3661
|
+
for (k = 0; k < f.length; k += 1) {
|
|
3662
|
+
const v = Yi(b, f, k);
|
|
3663
|
+
p[k] ? p[k].p(v, S) : (p[k] = Co(v), p[k].c(), p[k].m(s, null));
|
|
3656
3664
|
}
|
|
3657
|
-
for (;
|
|
3658
|
-
p[
|
|
3665
|
+
for (; k < p.length; k += 1)
|
|
3666
|
+
p[k].d(1);
|
|
3659
3667
|
p.length = f.length;
|
|
3660
3668
|
}
|
|
3661
|
-
|
|
3669
|
+
S[0] & /*selectedIndex*/
|
|
3662
3670
|
1048576 && Kt(
|
|
3663
3671
|
s,
|
|
3664
3672
|
/*selectedIndex*/
|
|
3665
|
-
|
|
3673
|
+
b[20]
|
|
3666
3674
|
);
|
|
3667
3675
|
},
|
|
3668
|
-
d(
|
|
3669
|
-
|
|
3676
|
+
d(b) {
|
|
3677
|
+
b && A(e), it(p, b), u = !1, st(m);
|
|
3670
3678
|
}
|
|
3671
3679
|
};
|
|
3672
3680
|
}
|
|
@@ -3677,33 +3685,33 @@ function Co(i) {
|
|
|
3677
3685
|
/*limit*/
|
|
3678
3686
|
i[197]
|
|
3679
3687
|
) + ""
|
|
3680
|
-
),
|
|
3688
|
+
), a;
|
|
3681
3689
|
return {
|
|
3682
3690
|
c() {
|
|
3683
|
-
e =
|
|
3691
|
+
e = w("option"), a = j(t), e.__value = /*i*/
|
|
3684
3692
|
i[199], Mt(e, e.__value);
|
|
3685
3693
|
},
|
|
3686
|
-
m(
|
|
3687
|
-
C(
|
|
3694
|
+
m(n, r) {
|
|
3695
|
+
C(n, e, r), c(e, a);
|
|
3688
3696
|
},
|
|
3689
|
-
p(
|
|
3697
|
+
p(n, r) {
|
|
3690
3698
|
r[0] & /*availableLimits*/
|
|
3691
3699
|
512 && t !== (t = /*determineLimitName*/
|
|
3692
|
-
|
|
3700
|
+
n[56](
|
|
3693
3701
|
/*limit*/
|
|
3694
|
-
|
|
3695
|
-
) + "") &&
|
|
3702
|
+
n[197]
|
|
3703
|
+
) + "") && U(a, t);
|
|
3696
3704
|
},
|
|
3697
|
-
d(
|
|
3698
|
-
|
|
3705
|
+
d(n) {
|
|
3706
|
+
n && A(e);
|
|
3699
3707
|
}
|
|
3700
3708
|
};
|
|
3701
3709
|
}
|
|
3702
3710
|
function Po(i) {
|
|
3703
|
-
let e, t,
|
|
3711
|
+
let e, t, a = (
|
|
3704
3712
|
/*$_*/
|
|
3705
3713
|
i[41]("period") + ""
|
|
3706
|
-
),
|
|
3714
|
+
), n, r;
|
|
3707
3715
|
function s(f, p) {
|
|
3708
3716
|
return (
|
|
3709
3717
|
/*usecustomdropdown*/
|
|
@@ -3713,16 +3721,16 @@ function Po(i) {
|
|
|
3713
3721
|
let u = s(i), m = u(i);
|
|
3714
3722
|
return {
|
|
3715
3723
|
c() {
|
|
3716
|
-
e =
|
|
3724
|
+
e = w("div"), t = w("span"), n = j(a), r = B(), m.c(), g(t, "class", "PeriodSelectText"), g(e, "class", "LimitPeriodDropdownWrapper " + (/*isDesktop*/
|
|
3717
3725
|
i[42] ? "" : "Mobile"));
|
|
3718
3726
|
},
|
|
3719
3727
|
m(f, p) {
|
|
3720
|
-
C(f, e, p), c(e, t), c(t,
|
|
3728
|
+
C(f, e, p), c(e, t), c(t, n), c(e, r), m.m(e, null);
|
|
3721
3729
|
},
|
|
3722
3730
|
p(f, p) {
|
|
3723
3731
|
p[1] & /*$_*/
|
|
3724
|
-
1024 &&
|
|
3725
|
-
f[41]("period") + "") &&
|
|
3732
|
+
1024 && a !== (a = /*$_*/
|
|
3733
|
+
f[41]("period") + "") && U(n, a), u === (u = s(f)) && m ? m.p(f, p) : (m.d(1), m = u(f), m && (m.c(), m.m(e, null)));
|
|
3726
3734
|
},
|
|
3727
3735
|
d(f) {
|
|
3728
3736
|
f && A(e), m.d();
|
|
@@ -3730,18 +3738,18 @@ function Po(i) {
|
|
|
3730
3738
|
};
|
|
3731
3739
|
}
|
|
3732
3740
|
function ds(i) {
|
|
3733
|
-
let e, t,
|
|
3741
|
+
let e, t, a, n = Ce(
|
|
3734
3742
|
/*limitsConfig*/
|
|
3735
3743
|
i[12][
|
|
3736
3744
|
/*selectedLimit*/
|
|
3737
3745
|
i[13]
|
|
3738
3746
|
].periods
|
|
3739
3747
|
), r = [];
|
|
3740
|
-
for (let s = 0; s <
|
|
3741
|
-
r[s] = To(Hi(i,
|
|
3748
|
+
for (let s = 0; s < n.length; s += 1)
|
|
3749
|
+
r[s] = To(Hi(i, n, s));
|
|
3742
3750
|
return {
|
|
3743
3751
|
c() {
|
|
3744
|
-
e =
|
|
3752
|
+
e = w("select");
|
|
3745
3753
|
for (let s = 0; s < r.length; s += 1)
|
|
3746
3754
|
r[s].c();
|
|
3747
3755
|
g(e, "name", ""), g(e, "id", ""), e.disabled = /*disableLimitInput*/
|
|
@@ -3760,7 +3768,7 @@ function ds(i) {
|
|
|
3760
3768
|
/*selectedPeriod*/
|
|
3761
3769
|
i[14],
|
|
3762
3770
|
!0
|
|
3763
|
-
), t || (
|
|
3771
|
+
), t || (a = [
|
|
3764
3772
|
ge(
|
|
3765
3773
|
e,
|
|
3766
3774
|
"change",
|
|
@@ -3779,7 +3787,7 @@ function ds(i) {
|
|
|
3779
3787
|
if (u[0] & /*limitsConfig, selectedLimit*/
|
|
3780
3788
|
12288 | u[1] & /*$_*/
|
|
3781
3789
|
1024) {
|
|
3782
|
-
|
|
3790
|
+
n = Ce(
|
|
3783
3791
|
/*limitsConfig*/
|
|
3784
3792
|
s[12][
|
|
3785
3793
|
/*selectedLimit*/
|
|
@@ -3787,13 +3795,13 @@ function ds(i) {
|
|
|
3787
3795
|
].periods
|
|
3788
3796
|
);
|
|
3789
3797
|
let m;
|
|
3790
|
-
for (m = 0; m <
|
|
3791
|
-
const f = Hi(s,
|
|
3798
|
+
for (m = 0; m < n.length; m += 1) {
|
|
3799
|
+
const f = Hi(s, n, m);
|
|
3792
3800
|
r[m] ? r[m].p(f, u) : (r[m] = To(f), r[m].c(), r[m].m(e, null));
|
|
3793
3801
|
}
|
|
3794
3802
|
for (; m < r.length; m += 1)
|
|
3795
3803
|
r[m].d(1);
|
|
3796
|
-
r.length =
|
|
3804
|
+
r.length = n.length;
|
|
3797
3805
|
}
|
|
3798
3806
|
u[1] & /*disableLimitInput*/
|
|
3799
3807
|
64 && (e.disabled = /*disableLimitInput*/
|
|
@@ -3805,31 +3813,31 @@ function ds(i) {
|
|
|
3805
3813
|
);
|
|
3806
3814
|
},
|
|
3807
3815
|
d(s) {
|
|
3808
|
-
s && A(e), it(r, s), t = !1, st(
|
|
3816
|
+
s && A(e), it(r, s), t = !1, st(a);
|
|
3809
3817
|
}
|
|
3810
3818
|
};
|
|
3811
3819
|
}
|
|
3812
3820
|
function ps(i) {
|
|
3813
|
-
let e, t,
|
|
3821
|
+
let e, t, a, n = (
|
|
3814
3822
|
/*$_*/
|
|
3815
3823
|
i[41](
|
|
3816
3824
|
/*selectedPeriod*/
|
|
3817
3825
|
i[14]
|
|
3818
3826
|
) + ""
|
|
3819
|
-
), r, s, u, m, f, p,
|
|
3827
|
+
), r, s, u, m, f, p, b, S, k = Ce(
|
|
3820
3828
|
/*limitsConfig*/
|
|
3821
3829
|
i[12][
|
|
3822
3830
|
/*selectedLimit*/
|
|
3823
3831
|
i[13]
|
|
3824
3832
|
].periods
|
|
3825
|
-
),
|
|
3826
|
-
for (let _ = 0; _ <
|
|
3827
|
-
|
|
3833
|
+
), v = [];
|
|
3834
|
+
for (let _ = 0; _ < k.length; _ += 1)
|
|
3835
|
+
v[_] = zo(Ki(i, k, _));
|
|
3828
3836
|
return {
|
|
3829
3837
|
c() {
|
|
3830
|
-
e =
|
|
3831
|
-
for (let _ = 0; _ <
|
|
3832
|
-
|
|
3838
|
+
e = w("div"), t = w("div"), a = w("p"), r = j(n), s = B(), u = ie("svg"), m = ie("path"), f = B(), p = w("div");
|
|
3839
|
+
for (let _ = 0; _ < v.length; _ += 1)
|
|
3840
|
+
v[_].c();
|
|
3833
3841
|
g(m, "d", "M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"), g(u, "xmlns", "http://www.w3.org/2000/svg"), g(u, "viewBox", "0 0 100 100"), g(u, "class", "LimitsConfigIcon"), bt(
|
|
3834
3842
|
u,
|
|
3835
3843
|
"active",
|
|
@@ -3848,11 +3856,11 @@ function ps(i) {
|
|
|
3848
3856
|
i[39]
|
|
3849
3857
|
);
|
|
3850
3858
|
},
|
|
3851
|
-
m(_,
|
|
3852
|
-
C(_, e,
|
|
3853
|
-
for (let
|
|
3854
|
-
|
|
3855
|
-
|
|
3859
|
+
m(_, T) {
|
|
3860
|
+
C(_, e, T), c(e, t), c(t, a), c(a, r), c(t, s), c(t, u), c(u, m), c(e, f), c(e, p);
|
|
3861
|
+
for (let E = 0; E < v.length; E += 1)
|
|
3862
|
+
v[E] && v[E].m(p, null);
|
|
3863
|
+
b || (S = [
|
|
3856
3864
|
ge(
|
|
3857
3865
|
t,
|
|
3858
3866
|
"click",
|
|
@@ -3865,47 +3873,47 @@ function ps(i) {
|
|
|
3865
3873
|
/*keydown_handler*/
|
|
3866
3874
|
i[98]
|
|
3867
3875
|
)
|
|
3868
|
-
],
|
|
3876
|
+
], b = !0);
|
|
3869
3877
|
},
|
|
3870
|
-
p(_,
|
|
3871
|
-
if (
|
|
3872
|
-
16384 |
|
|
3873
|
-
1024 &&
|
|
3878
|
+
p(_, T) {
|
|
3879
|
+
if (T[0] & /*selectedPeriod*/
|
|
3880
|
+
16384 | T[1] & /*$_*/
|
|
3881
|
+
1024 && n !== (n = /*$_*/
|
|
3874
3882
|
_[41](
|
|
3875
3883
|
/*selectedPeriod*/
|
|
3876
3884
|
_[14]
|
|
3877
|
-
) + "") &&
|
|
3885
|
+
) + "") && U(r, n), T[1] & /*isDropDownToggled*/
|
|
3878
3886
|
256 && bt(
|
|
3879
3887
|
u,
|
|
3880
3888
|
"active",
|
|
3881
3889
|
/*isDropDownToggled*/
|
|
3882
3890
|
_[39]
|
|
3883
|
-
),
|
|
3884
|
-
28672 |
|
|
3891
|
+
), T[0] & /*selectedPeriod, limitsConfig, selectedLimit*/
|
|
3892
|
+
28672 | T[1] & /*selectOption, $_*/
|
|
3885
3893
|
9216) {
|
|
3886
|
-
|
|
3894
|
+
k = Ce(
|
|
3887
3895
|
/*limitsConfig*/
|
|
3888
3896
|
_[12][
|
|
3889
3897
|
/*selectedLimit*/
|
|
3890
3898
|
_[13]
|
|
3891
3899
|
].periods
|
|
3892
3900
|
);
|
|
3893
|
-
let
|
|
3894
|
-
for (
|
|
3895
|
-
const M = Ki(_,
|
|
3896
|
-
|
|
3901
|
+
let E;
|
|
3902
|
+
for (E = 0; E < k.length; E += 1) {
|
|
3903
|
+
const M = Ki(_, k, E);
|
|
3904
|
+
v[E] ? v[E].p(M, T) : (v[E] = zo(M), v[E].c(), v[E].m(p, null));
|
|
3897
3905
|
}
|
|
3898
|
-
for (;
|
|
3899
|
-
|
|
3900
|
-
|
|
3906
|
+
for (; E < v.length; E += 1)
|
|
3907
|
+
v[E].d(1);
|
|
3908
|
+
v.length = k.length;
|
|
3901
3909
|
}
|
|
3902
|
-
|
|
3910
|
+
T[1] & /*isDropDownToggled*/
|
|
3903
3911
|
256 && bt(
|
|
3904
3912
|
p,
|
|
3905
3913
|
"active",
|
|
3906
3914
|
/*isDropDownToggled*/
|
|
3907
3915
|
_[39]
|
|
3908
|
-
),
|
|
3916
|
+
), T[1] & /*isDropDownToggled*/
|
|
3909
3917
|
256 && bt(
|
|
3910
3918
|
e,
|
|
3911
3919
|
"active",
|
|
@@ -3914,7 +3922,7 @@ function ps(i) {
|
|
|
3914
3922
|
);
|
|
3915
3923
|
},
|
|
3916
3924
|
d(_) {
|
|
3917
|
-
_ && A(e), it(
|
|
3925
|
+
_ && A(e), it(v, _), b = !1, st(S);
|
|
3918
3926
|
}
|
|
3919
3927
|
};
|
|
3920
3928
|
}
|
|
@@ -3925,14 +3933,14 @@ function To(i) {
|
|
|
3925
3933
|
/*period*/
|
|
3926
3934
|
i[192]
|
|
3927
3935
|
) + ""
|
|
3928
|
-
),
|
|
3936
|
+
), a, n;
|
|
3929
3937
|
return {
|
|
3930
3938
|
c() {
|
|
3931
|
-
e =
|
|
3939
|
+
e = w("option"), a = j(t), e.__value = n = /*period*/
|
|
3932
3940
|
i[192], Mt(e, e.__value);
|
|
3933
3941
|
},
|
|
3934
3942
|
m(r, s) {
|
|
3935
|
-
C(r, e, s), c(e,
|
|
3943
|
+
C(r, e, s), c(e, a);
|
|
3936
3944
|
},
|
|
3937
3945
|
p(r, s) {
|
|
3938
3946
|
s[0] & /*limitsConfig, selectedLimit*/
|
|
@@ -3941,9 +3949,9 @@ function To(i) {
|
|
|
3941
3949
|
r[41](
|
|
3942
3950
|
/*period*/
|
|
3943
3951
|
r[192]
|
|
3944
|
-
) + "") &&
|
|
3945
|
-
12288 &&
|
|
3946
|
-
r[192]) && (e.__value =
|
|
3952
|
+
) + "") && U(a, t), s[0] & /*limitsConfig, selectedLimit*/
|
|
3953
|
+
12288 && n !== (n = /*period*/
|
|
3954
|
+
r[192]) && (e.__value = n, Mt(e, e.__value));
|
|
3947
3955
|
},
|
|
3948
3956
|
d(r) {
|
|
3949
3957
|
r && A(e);
|
|
@@ -3957,7 +3965,7 @@ function zo(i) {
|
|
|
3957
3965
|
/*period*/
|
|
3958
3966
|
i[192]
|
|
3959
3967
|
) + ""
|
|
3960
|
-
),
|
|
3968
|
+
), a, n, r, s, u;
|
|
3961
3969
|
function m() {
|
|
3962
3970
|
return (
|
|
3963
3971
|
/*click_handler_4*/
|
|
@@ -3979,24 +3987,24 @@ function zo(i) {
|
|
|
3979
3987
|
}
|
|
3980
3988
|
return {
|
|
3981
3989
|
c() {
|
|
3982
|
-
e =
|
|
3990
|
+
e = w("div"), a = j(t), n = B(), g(e, "role", "option"), g(e, "tabindex", "0"), g(e, "aria-selected", r = /*selectedPeriod*/
|
|
3983
3991
|
i[14] === /*period*/
|
|
3984
3992
|
i[192]);
|
|
3985
3993
|
},
|
|
3986
|
-
m(p,
|
|
3987
|
-
C(p, e,
|
|
3994
|
+
m(p, b) {
|
|
3995
|
+
C(p, e, b), c(e, a), c(e, n), s || (u = [
|
|
3988
3996
|
ge(e, "click", m),
|
|
3989
3997
|
ge(e, "keydown", f)
|
|
3990
3998
|
], s = !0);
|
|
3991
3999
|
},
|
|
3992
|
-
p(p,
|
|
3993
|
-
i = p,
|
|
3994
|
-
12288 |
|
|
4000
|
+
p(p, b) {
|
|
4001
|
+
i = p, b[0] & /*limitsConfig, selectedLimit*/
|
|
4002
|
+
12288 | b[1] & /*$_*/
|
|
3995
4003
|
1024 && t !== (t = /*$_*/
|
|
3996
4004
|
i[41](
|
|
3997
4005
|
/*period*/
|
|
3998
4006
|
i[192]
|
|
3999
|
-
) + "") &&
|
|
4007
|
+
) + "") && U(a, t), b[0] & /*selectedPeriod, limitsConfig, selectedLimit*/
|
|
4000
4008
|
28672 && r !== (r = /*selectedPeriod*/
|
|
4001
4009
|
i[14] === /*period*/
|
|
4002
4010
|
i[192]) && g(e, "aria-selected", r);
|
|
@@ -4047,59 +4055,59 @@ function Do(i) {
|
|
|
4047
4055
|
}
|
|
4048
4056
|
})}`
|
|
4049
4057
|
)
|
|
4050
|
-
),
|
|
4058
|
+
), a;
|
|
4051
4059
|
return {
|
|
4052
4060
|
c() {
|
|
4053
|
-
e =
|
|
4061
|
+
e = w("p"), a = j(t), g(e, "class", "InvalidInput");
|
|
4054
4062
|
},
|
|
4055
|
-
m(
|
|
4056
|
-
C(
|
|
4063
|
+
m(n, r) {
|
|
4064
|
+
C(n, e, r), c(e, a);
|
|
4057
4065
|
},
|
|
4058
|
-
p(
|
|
4066
|
+
p(n, r) {
|
|
4059
4067
|
r[0] & /*inputAmount, minLimit, maxLimit, currency*/
|
|
4060
4068
|
2195458 | r[1] & /*$_*/
|
|
4061
4069
|
1024 && t !== (t = /*inputAmount*/
|
|
4062
|
-
|
|
4063
|
-
|
|
4070
|
+
n[21] === null ? `${/*$_*/
|
|
4071
|
+
n[41]("invalidInputMessage")}` : (
|
|
4064
4072
|
/*inputAmount*/
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4073
|
+
n[21] < /*minLimit*/
|
|
4074
|
+
n[15] ? `${/*$_*/
|
|
4075
|
+
n[41]("invalidInputMessageLimitMin", {
|
|
4068
4076
|
values: {
|
|
4069
4077
|
minValue: (
|
|
4070
4078
|
/*minLimit*/
|
|
4071
|
-
|
|
4079
|
+
n[15]
|
|
4072
4080
|
),
|
|
4073
4081
|
maxValue: (
|
|
4074
4082
|
/*maxLimit*/
|
|
4075
|
-
|
|
4083
|
+
n[16]
|
|
4076
4084
|
),
|
|
4077
4085
|
currency: (
|
|
4078
4086
|
/*currency*/
|
|
4079
|
-
|
|
4087
|
+
n[1]
|
|
4080
4088
|
)
|
|
4081
4089
|
}
|
|
4082
4090
|
})}` : `${/*$_*/
|
|
4083
|
-
|
|
4091
|
+
n[41]("invalidInputMessageLimitMax", {
|
|
4084
4092
|
values: {
|
|
4085
4093
|
minValue: (
|
|
4086
4094
|
/*minLimit*/
|
|
4087
|
-
|
|
4095
|
+
n[15]
|
|
4088
4096
|
),
|
|
4089
4097
|
maxValue: (
|
|
4090
4098
|
/*maxLimit*/
|
|
4091
|
-
|
|
4099
|
+
n[16]
|
|
4092
4100
|
),
|
|
4093
4101
|
currency: (
|
|
4094
4102
|
/*currency*/
|
|
4095
|
-
|
|
4103
|
+
n[1]
|
|
4096
4104
|
)
|
|
4097
4105
|
}
|
|
4098
4106
|
})}`
|
|
4099
|
-
)) &&
|
|
4107
|
+
)) && U(a, t);
|
|
4100
4108
|
},
|
|
4101
|
-
d(
|
|
4102
|
-
|
|
4109
|
+
d(n) {
|
|
4110
|
+
n && A(e);
|
|
4103
4111
|
}
|
|
4104
4112
|
};
|
|
4105
4113
|
}
|
|
@@ -4107,24 +4115,24 @@ function cs(i) {
|
|
|
4107
4115
|
let e, t = (
|
|
4108
4116
|
/*$_*/
|
|
4109
4117
|
i[41]("setLimit") + ""
|
|
4110
|
-
),
|
|
4118
|
+
), a, n;
|
|
4111
4119
|
return {
|
|
4112
4120
|
c() {
|
|
4113
|
-
e =
|
|
4114
|
-
i[42] ? "" : "Mobile")), g(e, "type", "submit"), e.disabled =
|
|
4121
|
+
e = w("button"), a = j(t), g(e, "class", "LimitSubmitButton " + (/*isDesktop*/
|
|
4122
|
+
i[42] ? "" : "Mobile")), g(e, "type", "submit"), e.disabled = n = /*invalidInput*/
|
|
4115
4123
|
i[35] || /*coolOffActive*/
|
|
4116
4124
|
i[38];
|
|
4117
4125
|
},
|
|
4118
4126
|
m(r, s) {
|
|
4119
|
-
C(r, e, s), c(e,
|
|
4127
|
+
C(r, e, s), c(e, a);
|
|
4120
4128
|
},
|
|
4121
4129
|
p(r, s) {
|
|
4122
4130
|
s[1] & /*$_*/
|
|
4123
4131
|
1024 && t !== (t = /*$_*/
|
|
4124
|
-
r[41]("setLimit") + "") &&
|
|
4125
|
-
144 &&
|
|
4132
|
+
r[41]("setLimit") + "") && U(a, t), s[1] & /*invalidInput, coolOffActive*/
|
|
4133
|
+
144 && n !== (n = /*invalidInput*/
|
|
4126
4134
|
r[35] || /*coolOffActive*/
|
|
4127
|
-
r[38]) && (e.disabled =
|
|
4135
|
+
r[38]) && (e.disabled = n);
|
|
4128
4136
|
},
|
|
4129
4137
|
d(r) {
|
|
4130
4138
|
r && A(e);
|
|
@@ -4135,10 +4143,10 @@ function fs(i) {
|
|
|
4135
4143
|
let e;
|
|
4136
4144
|
return {
|
|
4137
4145
|
c() {
|
|
4138
|
-
e =
|
|
4146
|
+
e = w("div"), e.innerHTML = '<div class="skeletonLimitAmount"><div class="skeletonAmountText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonSubText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div></div> <div class="skeletonLimitButton"><div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div> ', g(e, "class", "skeletonLimitContent");
|
|
4139
4147
|
},
|
|
4140
|
-
m(t,
|
|
4141
|
-
C(t, e,
|
|
4148
|
+
m(t, a) {
|
|
4149
|
+
C(t, e, a);
|
|
4142
4150
|
},
|
|
4143
4151
|
p: dt,
|
|
4144
4152
|
d(t) {
|
|
@@ -4147,20 +4155,20 @@ function fs(i) {
|
|
|
4147
4155
|
};
|
|
4148
4156
|
}
|
|
4149
4157
|
function gs(i) {
|
|
4150
|
-
let e, t,
|
|
4158
|
+
let e, t, a, n, r, s, u = Ce(Array(3)), m = [];
|
|
4151
4159
|
for (let f = 0; f < u.length; f += 1)
|
|
4152
4160
|
m[f] = fs(En(i, u, f));
|
|
4153
4161
|
return {
|
|
4154
4162
|
c() {
|
|
4155
|
-
e =
|
|
4163
|
+
e = w("div"), t = w("div"), t.innerHTML = '<ui-skeleton width="auto" height="25px" structure="text" margin-right="auto"></ui-skeleton>', a = B(), n = w("div");
|
|
4156
4164
|
for (let f = 0; f < m.length; f += 1)
|
|
4157
4165
|
m[f].c();
|
|
4158
|
-
r = B(), s =
|
|
4166
|
+
r = B(), s = w("div"), s.innerHTML = '<div class="skletonHeader"><ui-skeleton width="auto" height="25px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skletonSubText"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonPeriod"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skletonSubText"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonInputAmount"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeletonButton"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div>', g(t, "class", "skeletonLimitText"), g(n, "class", "skeletonLimitWrapper"), g(s, "class", "skeletonInputWrapper"), g(e, "class", "skeletonLimitContainer");
|
|
4159
4167
|
},
|
|
4160
4168
|
m(f, p) {
|
|
4161
|
-
C(f, e, p), c(e, t), c(e,
|
|
4162
|
-
for (let
|
|
4163
|
-
m[
|
|
4169
|
+
C(f, e, p), c(e, t), c(e, a), c(e, n);
|
|
4170
|
+
for (let b = 0; b < m.length; b += 1)
|
|
4171
|
+
m[b] && m[b].m(n, null);
|
|
4164
4172
|
c(e, r), c(e, s);
|
|
4165
4173
|
},
|
|
4166
4174
|
p: dt,
|
|
@@ -4170,13 +4178,13 @@ function gs(i) {
|
|
|
4170
4178
|
};
|
|
4171
4179
|
}
|
|
4172
4180
|
function Ls(i) {
|
|
4173
|
-
let e, t,
|
|
4181
|
+
let e, t, a, n, r, s = (
|
|
4174
4182
|
/*popupVisible*/
|
|
4175
4183
|
i[31] && /*isLimitNotification*/
|
|
4176
4184
|
i[5] === "false" && oo(i)
|
|
4177
4185
|
);
|
|
4178
4186
|
const u = [Yn, Kn, Hn], m = [];
|
|
4179
|
-
function f(p,
|
|
4187
|
+
function f(p, b) {
|
|
4180
4188
|
return (
|
|
4181
4189
|
/*skeletonLoading*/
|
|
4182
4190
|
p[28] ? 0 : (
|
|
@@ -4188,56 +4196,56 @@ function Ls(i) {
|
|
|
4188
4196
|
)
|
|
4189
4197
|
);
|
|
4190
4198
|
}
|
|
4191
|
-
return ~(
|
|
4199
|
+
return ~(a = f(i)) && (n = m[a] = u[a](i)), {
|
|
4192
4200
|
c() {
|
|
4193
|
-
e =
|
|
4201
|
+
e = w("div"), s && s.c(), t = B(), n && n.c();
|
|
4194
4202
|
},
|
|
4195
|
-
m(p,
|
|
4196
|
-
C(p, e,
|
|
4203
|
+
m(p, b) {
|
|
4204
|
+
C(p, e, b), s && s.m(e, null), c(e, t), ~a && m[a].m(e, null), i[103](e), r = !0;
|
|
4197
4205
|
},
|
|
4198
|
-
p(p,
|
|
4206
|
+
p(p, b) {
|
|
4199
4207
|
/*popupVisible*/
|
|
4200
4208
|
p[31] && /*isLimitNotification*/
|
|
4201
|
-
p[5] === "false" ? s ? s.p(p,
|
|
4202
|
-
let
|
|
4203
|
-
|
|
4204
|
-
m[
|
|
4205
|
-
}), ln()), ~
|
|
4209
|
+
p[5] === "false" ? s ? s.p(p, b) : (s = oo(p), s.c(), s.m(e, t)) : s && (s.d(1), s = null);
|
|
4210
|
+
let S = a;
|
|
4211
|
+
a = f(p), a === S ? ~a && m[a].p(p, b) : (n && (rn(), Et(m[S], 1, 1, () => {
|
|
4212
|
+
m[S] = null;
|
|
4213
|
+
}), ln()), ~a ? (n = m[a], n ? n.p(p, b) : (n = m[a] = u[a](p), n.c()), It(n, 1), n.m(e, null)) : n = null);
|
|
4206
4214
|
},
|
|
4207
4215
|
i(p) {
|
|
4208
|
-
r || (It(
|
|
4216
|
+
r || (It(n), r = !0);
|
|
4209
4217
|
},
|
|
4210
4218
|
o(p) {
|
|
4211
|
-
Et(
|
|
4219
|
+
Et(n), r = !1;
|
|
4212
4220
|
},
|
|
4213
4221
|
d(p) {
|
|
4214
|
-
p && A(e), s && s.d(), ~
|
|
4222
|
+
p && A(e), s && s.d(), ~a && m[a].d(), i[103](null);
|
|
4215
4223
|
}
|
|
4216
4224
|
};
|
|
4217
4225
|
}
|
|
4218
4226
|
function hs(i, e, t) {
|
|
4219
|
-
let
|
|
4220
|
-
un(i, yn, (
|
|
4221
|
-
let { $$slots: u = {}, $$scope: m } = e, { lang: f = "en" } = e, { currency: p = "" } = e, { limits:
|
|
4222
|
-
const bi = (
|
|
4223
|
-
if (
|
|
4227
|
+
let a, n, r, s;
|
|
4228
|
+
un(i, yn, (o) => t(41, s = o));
|
|
4229
|
+
let { $$slots: u = {}, $$scope: m } = e, { lang: f = "en" } = e, { currency: p = "" } = e, { limits: b = "" } = e, { session: S = "" } = e, { userid: k = "" } = e, { endpoint: v = "" } = e, { apiversion: _ = "" } = e, { companylimits: T = "false" } = e, { tablabels: E = "" } = e, { showcompanylimitsinfo: M = "false" } = e, { customcurrencysymbols: G = "" } = e, { netdepositprogress: Y = "false" } = e, { enablecompliancetext: te = "" } = e, { deletelimit: x = "" } = e, { amountsconfig: q = "" } = e, { periodsconfig: _e = "" } = e, { defaultperiod: Le = "" } = e, { limittabindex: H = "" } = e, { tabcategory: se = "" } = e, { limitformat: he = "" } = e, { allowedextenssion: Pe = ".jpg,.jpeg,.png,.pdf,.webp,image/png" } = e, { filesizeallow: le = "12934000" } = e, { clientstyling: de = "" } = e, { clientstylingurl: ue = "" } = e, { translationurl: pe = "" } = e, { mbsource: ye } = e, { timezone: Ze = "GMT" } = e, { isLimitNotification: Re = "false" } = e, { cooloffstrictmode: re = "false" } = e, { inputhasdecimals: P } = e, { usecustomdropdown: N = "false" } = e, F, We = [], Mo, xo = window.navigator.userAgent, jo = !vn(xo), xt = 1 / 0, jt = 1 / 0, wt = 0, K = "", ve = "", Ge = "", pt = 0, ct = 0, Ut = "", $e = "", Te = "", _t = "", Nt = "popupTitle", Xe = 0, Li, $, St, R = [], ke = {}, Je = {}, ft = {}, Uo = {}, rt, gt = ne({}, li), Bt = { remove: {} }, Se = {}, Ee = {}, hi = !1, Yt = !1, we = !0, He = !1, Zt = !1, Lt = !1, Ve = !1, ot = !1, At = !1, Qe = !0, Ct = !1, yi = !1, vi = !1, Ot = !1, Ie = !1, Rt = !1, Vt = !1, lt = !1;
|
|
4230
|
+
const bi = (o) => {
|
|
4231
|
+
if (o === "local")
|
|
4224
4232
|
return bi(Intl.DateTimeFormat().resolvedOptions().timeZone);
|
|
4225
4233
|
try {
|
|
4226
|
-
return Intl.DateTimeFormat(void 0, { timeZone:
|
|
4234
|
+
return Intl.DateTimeFormat(void 0, { timeZone: o }), o;
|
|
4227
4235
|
} catch (l) {
|
|
4228
|
-
return console.warn(`[Player Account Gaming Limits] Invalid timezone "${
|
|
4236
|
+
return console.warn(`[Player Account Gaming Limits] Invalid timezone "${o}" — falling back to "GMT".`), "GMT";
|
|
4229
4237
|
}
|
|
4230
|
-
}, No = (
|
|
4238
|
+
}, No = (o, l = /* @__PURE__ */ new Date()) => {
|
|
4231
4239
|
var d, L;
|
|
4232
|
-
if (
|
|
4240
|
+
if (o === "GMT" || o === "UTC" || o === "Etc/GMT")
|
|
4233
4241
|
return "GMT";
|
|
4234
4242
|
try {
|
|
4235
|
-
return (L = (d = Intl.DateTimeFormat("en-US", { timeZone:
|
|
4236
|
-
} catch (
|
|
4237
|
-
return
|
|
4243
|
+
return (L = (d = Intl.DateTimeFormat("en-US", { timeZone: o, timeZoneName: "short" }).formatToParts(l).find((y) => y.type === "timeZoneName")) == null ? void 0 : d.value) != null ? L : o;
|
|
4244
|
+
} catch (y) {
|
|
4245
|
+
return o;
|
|
4238
4246
|
}
|
|
4239
|
-
}, ki = bi(Ze), ht = (
|
|
4240
|
-
const l = new Date(
|
|
4247
|
+
}, ki = bi(Ze), ht = (o) => {
|
|
4248
|
+
const l = new Date(o);
|
|
4241
4249
|
if (isNaN(l.getTime()))
|
|
4242
4250
|
return "-";
|
|
4243
4251
|
const d = No(ki, l);
|
|
@@ -4252,18 +4260,18 @@ function hs(i, e, t) {
|
|
|
4252
4260
|
minute: "numeric"
|
|
4253
4261
|
}
|
|
4254
4262
|
).format(l).replaceAll("/", ".")} (${d})`;
|
|
4255
|
-
}, Xt = (
|
|
4256
|
-
const L = new URL(
|
|
4263
|
+
}, Xt = (o, l = "GET", d = null) => Ae(this, null, function* () {
|
|
4264
|
+
const L = new URL(o.startsWith("http") ? o : `${v}${o}`), y = {
|
|
4257
4265
|
method: l,
|
|
4258
4266
|
headers: {
|
|
4259
|
-
"X-SessionID":
|
|
4267
|
+
"X-SessionID": S,
|
|
4260
4268
|
"Content-Type": "application/json",
|
|
4261
4269
|
Accept: "application/json"
|
|
4262
4270
|
}
|
|
4263
4271
|
};
|
|
4264
|
-
d && (
|
|
4265
|
-
const
|
|
4266
|
-
return Be(
|
|
4272
|
+
d && (y.body = JSON.stringify(d));
|
|
4273
|
+
const h = yield fetch(L.href, y);
|
|
4274
|
+
return Be(h);
|
|
4267
4275
|
}), Bo = () => {
|
|
4268
4276
|
fetch(pe).then((l) => l.json()).then((l) => {
|
|
4269
4277
|
Object.keys(l).forEach((d) => {
|
|
@@ -4273,76 +4281,76 @@ function hs(i, e, t) {
|
|
|
4273
4281
|
console.log(l);
|
|
4274
4282
|
});
|
|
4275
4283
|
};
|
|
4276
|
-
Object.keys(et).forEach((
|
|
4277
|
-
Vi(
|
|
4284
|
+
Object.keys(et).forEach((o) => {
|
|
4285
|
+
Vi(o, et[o]);
|
|
4278
4286
|
});
|
|
4279
|
-
const Jt = (
|
|
4287
|
+
const Jt = (o) => `dataLayer-${o}`, Me = (o, l) => {
|
|
4280
4288
|
if (typeof gtag == "function") {
|
|
4281
|
-
const d = (Ge || "").toLowerCase(), L = (K || "").toLowerCase(),
|
|
4289
|
+
const d = (Ge || "").toLowerCase(), L = (K || "").toLowerCase(), y = (ve || "").toLowerCase();
|
|
4282
4290
|
gtag({
|
|
4283
|
-
event:
|
|
4291
|
+
event: o,
|
|
4284
4292
|
limit_category: et[f][Jt(d)] || Ge,
|
|
4285
4293
|
limit_type: et[f][Jt(L)] || K,
|
|
4286
|
-
limit_period: et[f][Jt(
|
|
4294
|
+
limit_period: et[f][Jt(y)] || ve,
|
|
4287
4295
|
limit_amount: $ || l
|
|
4288
4296
|
});
|
|
4289
4297
|
}
|
|
4290
|
-
}, wi = () => t(39, Ot = !Ot), Qt = (
|
|
4291
|
-
t(14, ve =
|
|
4298
|
+
}, wi = () => t(39, Ot = !Ot), Qt = (o) => {
|
|
4299
|
+
t(14, ve = o), t(39, Ot = !1);
|
|
4292
4300
|
}, Oo = () => {
|
|
4293
4301
|
var L;
|
|
4294
|
-
const
|
|
4295
|
-
for (let [
|
|
4296
|
-
if (
|
|
4297
|
-
throw new Error(`Limit config mismatch: "${
|
|
4298
|
-
const d =
|
|
4299
|
-
(
|
|
4300
|
-
const W =
|
|
4302
|
+
const o = q.split(",").map((y) => y.split(":")), l = _e.split(",").map((y) => y.split(":"));
|
|
4303
|
+
for (let [y, h] of o.entries())
|
|
4304
|
+
if (h[0] !== l[y][0])
|
|
4305
|
+
throw new Error(`Limit config mismatch: "${h[0]}" does not match "${l[y][0]}"`);
|
|
4306
|
+
const d = o.reduce(
|
|
4307
|
+
(y, h, V) => {
|
|
4308
|
+
const W = h[0].slice(h[0].indexOf("(") + 1, h[0].indexOf(")")), Z = h[0].slice(0, h[0].indexOf("(")), O = h[1], I = l[V][1].trim().replace("D", "Daily").replace("W", "Weekly").replace("M", "Monthly").replace("N", "None").split("-"), z = {
|
|
4301
4309
|
value: W,
|
|
4302
4310
|
product: Z,
|
|
4303
4311
|
minMax: O,
|
|
4304
|
-
periods:
|
|
4312
|
+
periods: I,
|
|
4305
4313
|
callValue: ae[W].callValue,
|
|
4306
4314
|
callValue16: ae[W].callValue16,
|
|
4307
4315
|
title: ae[W].title
|
|
4308
4316
|
};
|
|
4309
|
-
return
|
|
4317
|
+
return y.push(z), y;
|
|
4310
4318
|
},
|
|
4311
4319
|
[]
|
|
4312
4320
|
);
|
|
4313
|
-
for (let
|
|
4314
|
-
t(9, R[
|
|
4315
|
-
Ut = (L = R[0]) == null ? void 0 : L.value, R.forEach((
|
|
4316
|
-
Je[
|
|
4321
|
+
for (let y = 0; y < d.length; y++)
|
|
4322
|
+
t(9, R[y].product = d[y].product, R), t(9, R[y].min = parseInt(d[y].minMax.split("-")[0], 10), R), t(9, R[y].max = parseInt(d[y].minMax.split("-")[1], 10), R), t(12, ae[d[y].value].periods = d[y].periods, ae);
|
|
4323
|
+
Ut = (L = R[0]) == null ? void 0 : L.value, R.forEach((y) => {
|
|
4324
|
+
Je[y.value] = { min: y.min, max: y.max }, Uo[y.value] = y.product;
|
|
4317
4325
|
}), Je && (Je[Ut] ? (t(15, pt = Je[Ut].min), t(16, ct = Je[Ut].max)) : (t(15, pt = 1), t(16, ct = 9999999)));
|
|
4318
|
-
}, Ro = () => [...q.matchAll(J.LIMIT_TYPE_EXTRACTOR)].map((
|
|
4326
|
+
}, Ro = () => [...q.matchAll(J.LIMIT_TYPE_EXTRACTOR)].map((o) => o[1]), Vo = () => {
|
|
4319
4327
|
t(9, R = []), Ro().forEach((d) => {
|
|
4320
4328
|
ae[d] ? R.push(ne({}, ae[d])) : console.error(`Unknown limit: ${d}`);
|
|
4321
4329
|
}), Oo(), t(13, K = R[0].value);
|
|
4322
4330
|
const l = ae[K].periods;
|
|
4323
4331
|
t(14, ve = Le && l.find((d) => d === Le) || l[0]), Ge = R[0].product, t(26, hi = R.length > 1), t(27, Yt = ae[K].periods.length > 1);
|
|
4324
|
-
}, Wo = (
|
|
4325
|
-
var L,
|
|
4326
|
-
const d = (
|
|
4327
|
-
return (
|
|
4332
|
+
}, Wo = (o, l) => {
|
|
4333
|
+
var L, y, h;
|
|
4334
|
+
const d = (y = (L = o == null ? void 0 : o[Xe]) == null ? void 0 : L.currentLimits) == null ? void 0 : y.find((V) => V.period === l);
|
|
4335
|
+
return (h = d == null ? void 0 : d.isCoolOffCompleted) != null ? h : !0;
|
|
4328
4336
|
}, Fo = () => {
|
|
4329
4337
|
re === "true" && t(38, vi = !Wo(R, ve));
|
|
4330
4338
|
}, $t = () => {
|
|
4331
|
-
var
|
|
4332
|
-
R[Xe] || t(20, Xe = 0), R.length > 0 && R[Xe] && (t(13, K = R[Xe].value), t(14, ve = ((
|
|
4339
|
+
var o, l, d;
|
|
4340
|
+
R[Xe] || t(20, Xe = 0), R.length > 0 && R[Xe] && (t(13, K = R[Xe].value), t(14, ve = ((o = ae[K]) == null ? void 0 : o.periods[0]) || ""), t(27, Yt = (((d = (l = ae[K]) == null ? void 0 : l.periods) == null ? void 0 : d.length) || 0) > 1));
|
|
4333
4341
|
}, _i = () => {
|
|
4334
4342
|
Ge = R[Xe].product;
|
|
4335
|
-
}, Be = (
|
|
4336
|
-
if (
|
|
4337
|
-
qo(
|
|
4343
|
+
}, Be = (o) => {
|
|
4344
|
+
if (o.status >= 300)
|
|
4345
|
+
qo(o);
|
|
4338
4346
|
else
|
|
4339
|
-
return t(30, Zt = !1),
|
|
4340
|
-
}, qo = (
|
|
4347
|
+
return t(30, Zt = !1), o.status !== 204 ? o.json() : o;
|
|
4348
|
+
}, qo = (o) => {
|
|
4341
4349
|
t(29, He = !0);
|
|
4342
4350
|
let l;
|
|
4343
|
-
throw
|
|
4351
|
+
throw o.json().then((d) => {
|
|
4344
4352
|
for (const L in qi)
|
|
4345
|
-
if (d.error && qi[L].some((
|
|
4353
|
+
if (d.error && qi[L].some((y) => d.error.includes(y))) {
|
|
4346
4354
|
l = L;
|
|
4347
4355
|
break;
|
|
4348
4356
|
}
|
|
@@ -4354,7 +4362,7 @@ function hs(i, e, t) {
|
|
|
4354
4362
|
if (!($ > 0))
|
|
4355
4363
|
return;
|
|
4356
4364
|
qe(), t(28, we = !0);
|
|
4357
|
-
let
|
|
4365
|
+
let o = new URL(`${v}/v2/player/${k}/limits`), l = {};
|
|
4358
4366
|
K === J.SESSION_LIMIT ? l = {
|
|
4359
4367
|
sessionLimit: $,
|
|
4360
4368
|
sessionLimitUnit: "minute"
|
|
@@ -4373,31 +4381,31 @@ function hs(i, e, t) {
|
|
|
4373
4381
|
let d = {
|
|
4374
4382
|
method: "PUT",
|
|
4375
4383
|
headers: {
|
|
4376
|
-
"X-SessionID":
|
|
4384
|
+
"X-SessionID": S,
|
|
4377
4385
|
"Content-Type": "application/json",
|
|
4378
4386
|
Accept: "application/json"
|
|
4379
4387
|
},
|
|
4380
4388
|
body: JSON.stringify(l)
|
|
4381
4389
|
};
|
|
4382
|
-
const L = yield fetch(
|
|
4390
|
+
const L = yield fetch(o.href, d);
|
|
4383
4391
|
yield Be(L), Me(Ne.limitation_success), yield Fe();
|
|
4384
4392
|
}), Ho = () => {
|
|
4385
|
-
var L,
|
|
4386
|
-
const
|
|
4393
|
+
var L, y;
|
|
4394
|
+
const o = R[Xe], l = ae[K].callValue16;
|
|
4387
4395
|
let d = null;
|
|
4388
4396
|
if (Ie) {
|
|
4389
|
-
const
|
|
4397
|
+
const h = {
|
|
4390
4398
|
type: l,
|
|
4391
4399
|
period: ve,
|
|
4392
4400
|
product: Ge
|
|
4393
4401
|
};
|
|
4394
|
-
d = ((L = ke == null ? void 0 : ke.limits) == null ? void 0 : L.find((V) => Fi(V,
|
|
4402
|
+
d = ((L = ke == null ? void 0 : ke.limits) == null ? void 0 : L.find((V) => Fi(V, h))) || null;
|
|
4395
4403
|
} else {
|
|
4396
|
-
const
|
|
4397
|
-
d = ((
|
|
4398
|
-
var O,
|
|
4404
|
+
const h = Ge.toLowerCase();
|
|
4405
|
+
d = ((y = o == null ? void 0 : o.currentLimits) != null ? y : []).find((W) => {
|
|
4406
|
+
var O, I, z;
|
|
4399
4407
|
const Z = W;
|
|
4400
|
-
return Z.period === ve && ((
|
|
4408
|
+
return Z.period === ve && ((z = (I = (O = Z.rawLimit) == null ? void 0 : O.products) != null ? I : Z.products) != null ? z : []).some((D) => D.toLowerCase() === h);
|
|
4401
4409
|
}) || null;
|
|
4402
4410
|
}
|
|
4403
4411
|
return d ? {
|
|
@@ -4412,7 +4420,7 @@ function hs(i, e, t) {
|
|
|
4412
4420
|
method: "POST",
|
|
4413
4421
|
endpointVersion: "v1"
|
|
4414
4422
|
};
|
|
4415
|
-
}, Ko = (
|
|
4423
|
+
}, Ko = (o) => !o || o.reviewPending && o.reviewPending.id ? !1 : !!(o.reviewRequired && !$e && $ && $ > (o.amount || 0)), Yo = (o) => o.action === "UPDATE" ? $e ? {
|
|
4416
4424
|
amount: $,
|
|
4417
4425
|
skipCoolOff: !1,
|
|
4418
4426
|
payload: { DocumentId: $e }
|
|
@@ -4420,31 +4428,31 @@ function hs(i, e, t) {
|
|
|
4420
4428
|
amount: $,
|
|
4421
4429
|
currency: p,
|
|
4422
4430
|
period: ae[K].periods[0] === "None" ? null : ve,
|
|
4423
|
-
type:
|
|
4431
|
+
type: o.targetType,
|
|
4424
4432
|
products: [Ge],
|
|
4425
|
-
walletTypes: ["Deposit", "NetDeposit"].includes(
|
|
4433
|
+
walletTypes: ["Deposit", "NetDeposit"].includes(o.targetType) ? ["All"] : ["RealCash"]
|
|
4426
4434
|
}, Si = () => Ae(this, null, function* () {
|
|
4427
|
-
const
|
|
4428
|
-
if (Ko(
|
|
4435
|
+
const o = Di();
|
|
4436
|
+
if (Ko(o)) {
|
|
4429
4437
|
t(34, At = !0), t(32, Ve = !0), qe(), t(28, we = !1);
|
|
4430
4438
|
return;
|
|
4431
4439
|
}
|
|
4432
4440
|
const l = Ho(), d = Yo(l);
|
|
4433
4441
|
qe(), t(28, we = !0);
|
|
4434
|
-
const L = l.action === "UPDATE" ? `${
|
|
4442
|
+
const L = l.action === "UPDATE" ? `${v}/${l.endpointVersion}/player/${k}/limits/monetary/${l.limitId}` : `${v}/${l.endpointVersion}/player/${k}/limits/monetary`, y = new URL(L);
|
|
4435
4443
|
try {
|
|
4436
|
-
const
|
|
4444
|
+
const h = yield fetch(y.href, {
|
|
4437
4445
|
method: l.method,
|
|
4438
4446
|
headers: {
|
|
4439
|
-
"X-SessionID":
|
|
4447
|
+
"X-SessionID": S,
|
|
4440
4448
|
"Content-Type": "application/json",
|
|
4441
4449
|
Accept: "application/json"
|
|
4442
4450
|
},
|
|
4443
4451
|
body: JSON.stringify(d)
|
|
4444
4452
|
});
|
|
4445
|
-
yield Be(
|
|
4446
|
-
} catch (
|
|
4447
|
-
console.error(
|
|
4453
|
+
yield Be(h), Me(Ne.limitation_success), yield Fe();
|
|
4454
|
+
} catch (h) {
|
|
4455
|
+
console.error(h);
|
|
4448
4456
|
} finally {
|
|
4449
4457
|
t(28, we = !1), t(34, At = !1), $e = "";
|
|
4450
4458
|
}
|
|
@@ -4452,20 +4460,20 @@ function hs(i, e, t) {
|
|
|
4452
4460
|
if (!($ > 0))
|
|
4453
4461
|
return;
|
|
4454
4462
|
qe(), t(28, we = !0);
|
|
4455
|
-
const
|
|
4463
|
+
const o = {
|
|
4456
4464
|
sessionLimit: $,
|
|
4457
4465
|
sessionLimitUnit: "minute"
|
|
4458
4466
|
};
|
|
4459
|
-
yield Xt(`/v1/player/${
|
|
4467
|
+
yield Xt(`/v1/player/${k}/limits/session/`, "PUT", o), Me(Ne.limitation_success), yield Fe();
|
|
4460
4468
|
}), Xo = () => Ae(this, null, function* () {
|
|
4461
4469
|
if (!($ > 0))
|
|
4462
4470
|
return;
|
|
4463
4471
|
qe(), t(28, we = !0);
|
|
4464
|
-
const
|
|
4472
|
+
const o = new URL(`${v}/v1/player/${k}/limits/session/`);
|
|
4465
4473
|
let L = {
|
|
4466
4474
|
method: "PUT",
|
|
4467
4475
|
headers: {
|
|
4468
|
-
"X-SessionID":
|
|
4476
|
+
"X-SessionID": S,
|
|
4469
4477
|
"Content-Type": "application/json",
|
|
4470
4478
|
Accept: "application/json"
|
|
4471
4479
|
},
|
|
@@ -4478,18 +4486,18 @@ function hs(i, e, t) {
|
|
|
4478
4486
|
]
|
|
4479
4487
|
})
|
|
4480
4488
|
};
|
|
4481
|
-
const
|
|
4482
|
-
yield Be(
|
|
4489
|
+
const y = yield fetch(o.href, L);
|
|
4490
|
+
yield Be(y), Me(Ne.limitation_success), yield Fe();
|
|
4483
4491
|
}), Jo = () => Ae(this, null, function* () {
|
|
4484
4492
|
if (!($ > 0))
|
|
4485
4493
|
return;
|
|
4486
4494
|
qe(), t(28, we = !0);
|
|
4487
|
-
const
|
|
4495
|
+
const o = {
|
|
4488
4496
|
amount: $,
|
|
4489
4497
|
roleLimitAmount: 0,
|
|
4490
4498
|
softMigration: !1,
|
|
4491
4499
|
keepLimit: !1
|
|
4492
|
-
}, l = yield Xt(`/v2/player/${
|
|
4500
|
+
}, l = yield Xt(`/v2/player/${k}/limit/lugas`, "POST", o);
|
|
4493
4501
|
t(22, St = l.popup), Li = l.regulatorDepositLimitAmount, Me(Ne.limitation_success), yield Fe();
|
|
4494
4502
|
}), Qo = () => Ae(this, null, function* () {
|
|
4495
4503
|
ft = {};
|
|
@@ -4520,7 +4528,7 @@ function hs(i, e, t) {
|
|
|
4520
4528
|
},
|
|
4521
4529
|
window.location.href
|
|
4522
4530
|
), window.postMessage({ type: "SubmitLimitNotificationSuccess" }, window.location.href));
|
|
4523
|
-
} catch (
|
|
4531
|
+
} catch (o) {
|
|
4524
4532
|
Re === "true" && window.postMessage(
|
|
4525
4533
|
{
|
|
4526
4534
|
type: "WidgetNotification",
|
|
@@ -4530,7 +4538,7 @@ function hs(i, e, t) {
|
|
|
4530
4538
|
}
|
|
4531
4539
|
},
|
|
4532
4540
|
window.location.href
|
|
4533
|
-
), console.error("limitUpdateError:",
|
|
4541
|
+
), console.error("limitUpdateError:", o);
|
|
4534
4542
|
}
|
|
4535
4543
|
Me(Ne.limitation_request);
|
|
4536
4544
|
}), Fe = () => Ae(this, null, function* () {
|
|
@@ -4544,16 +4552,16 @@ function hs(i, e, t) {
|
|
|
4544
4552
|
}
|
|
4545
4553
|
}), $o = () => Ae(this, null, function* () {
|
|
4546
4554
|
t(28, we = !0);
|
|
4547
|
-
let
|
|
4555
|
+
let o = new URL(`${v}/v2/player/${k}/limits`), l = {
|
|
4548
4556
|
method: "GET",
|
|
4549
4557
|
headers: {
|
|
4550
|
-
"X-SessionID":
|
|
4558
|
+
"X-SessionID": S,
|
|
4551
4559
|
"Content-Type": "application/json",
|
|
4552
4560
|
Accept: "application/json"
|
|
4553
4561
|
}
|
|
4554
4562
|
};
|
|
4555
4563
|
try {
|
|
4556
|
-
const d = yield fetch(
|
|
4564
|
+
const d = yield fetch(o.href, l);
|
|
4557
4565
|
ke = Be(d), Lt && Tt(), la(ke), ua(ke), t(21, $ = null), t(35, Qe = !0), t(36, Ct = !1);
|
|
4558
4566
|
} catch (d) {
|
|
4559
4567
|
console.error("Error LimitsWidget: ", d), t(29, He = !0);
|
|
@@ -4563,16 +4571,16 @@ function hs(i, e, t) {
|
|
|
4563
4571
|
}), Ai = () => ({
|
|
4564
4572
|
method: "GET",
|
|
4565
4573
|
headers: {
|
|
4566
|
-
"X-SessionID":
|
|
4574
|
+
"X-SessionID": S,
|
|
4567
4575
|
"Content-Type": "application/json",
|
|
4568
4576
|
Accept: "application/json"
|
|
4569
4577
|
}
|
|
4570
4578
|
}), ea = () => Ae(this, null, function* () {
|
|
4571
|
-
const
|
|
4572
|
-
if (!
|
|
4579
|
+
const o = Ie || Rt;
|
|
4580
|
+
if (!o && !lt)
|
|
4573
4581
|
return;
|
|
4574
4582
|
let l = Dt[r] || [];
|
|
4575
|
-
if (
|
|
4583
|
+
if (o && (r === me.deposit || r === me.netdeposit)) {
|
|
4576
4584
|
const d = [
|
|
4577
4585
|
...Dt[me.deposit] || [],
|
|
4578
4586
|
...Dt[me.netdeposit] || []
|
|
@@ -4584,44 +4592,44 @@ function hs(i, e, t) {
|
|
|
4584
4592
|
yield aa(d);
|
|
4585
4593
|
}
|
|
4586
4594
|
}), ta = () => Ae(this, null, function* () {
|
|
4587
|
-
const
|
|
4595
|
+
const o = new URL(`${v}/v1/player/${k}/limits/monetary`), l = yield fetch(o.href, Ai()), d = yield Be(l);
|
|
4588
4596
|
ke = d, pa(d), yield oa(), yield ea(), ti(), Lt && K !== J.SESSION_LIMIT && K !== J.CUMULATIVE_SESSION && Tt(), yield vt(), Pt(), t(21, $ = null), t(35, Qe = !0), t(36, Ct = !1);
|
|
4589
4597
|
}), ia = () => Ae(this, null, function* () {
|
|
4590
|
-
const
|
|
4598
|
+
const o = new URL(`${v}/v1/player/${k}/limits/session`), l = yield fetch(o.href, Ai()), d = yield Be(l);
|
|
4591
4599
|
ca(d), fa(d), Lt && (K === J.SESSION_LIMIT || K === J.CUMULATIVE_SESSION) && Tt(), t(21, $ = null), t(35, Qe = !0), t(36, Ct = !1);
|
|
4592
4600
|
}), ei = () => Ae(this, null, function* () {
|
|
4593
4601
|
t(28, we = !0), t(29, He = !1);
|
|
4594
|
-
const
|
|
4602
|
+
const o = R.some((l) => l.value === J.SESSION_LIMIT || l.value === J.CUMULATIVE_SESSION);
|
|
4595
4603
|
try {
|
|
4596
4604
|
const l = [ta()];
|
|
4597
|
-
|
|
4605
|
+
o && l.push(ia()), yield Promise.all(l);
|
|
4598
4606
|
} catch (l) {
|
|
4599
4607
|
t(29, He = !0);
|
|
4600
4608
|
} finally {
|
|
4601
4609
|
t(28, we = !1);
|
|
4602
4610
|
}
|
|
4603
4611
|
}), oa = () => Ae(this, null, function* () {
|
|
4604
|
-
let
|
|
4612
|
+
let o = new URL(`${v}/v1/player/${k}/limits/monetary/balance`);
|
|
4605
4613
|
const l = {
|
|
4606
4614
|
method: "GET",
|
|
4607
4615
|
headers: {
|
|
4608
|
-
"X-SessionID":
|
|
4616
|
+
"X-SessionID": S,
|
|
4609
4617
|
"Content-Type": "application/json",
|
|
4610
4618
|
Accept: "application/json"
|
|
4611
4619
|
}
|
|
4612
4620
|
};
|
|
4613
4621
|
try {
|
|
4614
|
-
const d = yield fetch(
|
|
4622
|
+
const d = yield fetch(o.href, l), L = yield Be(d);
|
|
4615
4623
|
if (!L)
|
|
4616
4624
|
return;
|
|
4617
|
-
let
|
|
4618
|
-
Array.isArray(
|
|
4619
|
-
if (!
|
|
4620
|
-
return
|
|
4621
|
-
const V = (
|
|
4625
|
+
let y = L.limitBalances || [];
|
|
4626
|
+
Array.isArray(y[0]) && (y = y.flat()), t(9, R = R.map((h) => {
|
|
4627
|
+
if (!h.currentLimits)
|
|
4628
|
+
return h;
|
|
4629
|
+
const V = (h.product || "").toLowerCase(), W = (h.value || "").toLowerCase(), Z = W.includes(me.netdeposit), O = W.includes(me.deposit) && !Z, I = W.includes(me.loss), z = W.includes(me.wager), D = h.currentLimits.map((X) => {
|
|
4622
4630
|
var oe, xe;
|
|
4623
|
-
const Q =
|
|
4624
|
-
const Ue = (je.limitType || "").toLowerCase(), Ye = je.limitPeriod || "", yt = X.period || "", zt = Ue.includes(me.netdeposit), Wt = Ue.includes(me.deposit) && !zt, at = Ue.includes(me.loss), Ft = Ue.includes(me.wager), qt = O && Wt || Z && zt ||
|
|
4631
|
+
const Q = y.filter((je) => {
|
|
4632
|
+
const Ue = (je.limitType || "").toLowerCase(), Ye = je.limitPeriod || "", yt = X.period || "", zt = Ue.includes(me.netdeposit), Wt = Ue.includes(me.deposit) && !zt, at = Ue.includes(me.loss), Ft = Ue.includes(me.wager), qt = O && Wt || Z && zt || I && at || z && Ft;
|
|
4625
4633
|
return (Ue === W || Ue === `operator${W}` || Ue === `system${W}` || qt) && (Ye === yt || Ye === "Monthly" && yt === "Month" || Ye === "Month" && yt === "Monthly");
|
|
4626
4634
|
}), ce = (je) => Q.find((Ue) => (Ue.limitProducts || []).map((Ye) => Ye.toLowerCase()).includes(je));
|
|
4627
4635
|
let fe = ce(V);
|
|
@@ -4636,183 +4644,183 @@ function hs(i, e, t) {
|
|
|
4636
4644
|
}
|
|
4637
4645
|
});
|
|
4638
4646
|
});
|
|
4639
|
-
return
|
|
4647
|
+
return h.currentLimits = mt(D), h;
|
|
4640
4648
|
})), ti(), t(9, R = [...R]), yield vt(), Pt();
|
|
4641
4649
|
} catch (d) {
|
|
4642
4650
|
console.error(d);
|
|
4643
4651
|
}
|
|
4644
4652
|
}), Pt = () => {
|
|
4645
|
-
R.forEach((
|
|
4646
|
-
ii(l, -1),
|
|
4653
|
+
R.forEach((o, l) => {
|
|
4654
|
+
ii(l, -1), o.visibleLimitsInUI && o.visibleLimitsInUI.forEach((d, L) => {
|
|
4647
4655
|
ii(l, L);
|
|
4648
4656
|
});
|
|
4649
4657
|
});
|
|
4650
|
-
}, aa = (
|
|
4651
|
-
let l =
|
|
4652
|
-
if (!l && r !== void 0 && (l = (Dt[r] || []).map((
|
|
4658
|
+
}, aa = (o = "") => Ae(this, null, function* () {
|
|
4659
|
+
let l = o;
|
|
4660
|
+
if (!l && r !== void 0 && (l = (Dt[r] || []).map((h) => `playerLimitTypes=${h}`).join("&")), !l)
|
|
4653
4661
|
return;
|
|
4654
|
-
const d = new URL(`/api/pam/v1/limit-balances/most-restrictive?userId=${
|
|
4662
|
+
const d = new URL(`/api/pam/v1/limit-balances/most-restrictive?userId=${k}&${l}`, v), L = {
|
|
4655
4663
|
method: "GET",
|
|
4656
4664
|
headers: {
|
|
4657
|
-
"X-SessionID":
|
|
4665
|
+
"X-SessionID": S,
|
|
4658
4666
|
"Content-Type": "application/json",
|
|
4659
4667
|
Accept: "application/json"
|
|
4660
4668
|
}
|
|
4661
4669
|
};
|
|
4662
4670
|
try {
|
|
4663
|
-
const
|
|
4664
|
-
na(
|
|
4665
|
-
} catch (
|
|
4671
|
+
const y = yield fetch(d.href, L), h = yield Be(y);
|
|
4672
|
+
na(h);
|
|
4673
|
+
} catch (y) {
|
|
4666
4674
|
t(29, He = !0);
|
|
4667
4675
|
}
|
|
4668
|
-
}), na = (
|
|
4669
|
-
if (_ !== "gm16" || !(
|
|
4676
|
+
}), na = (o) => {
|
|
4677
|
+
if (_ !== "gm16" || !(o != null && o.limitBalances))
|
|
4670
4678
|
return;
|
|
4671
|
-
let l =
|
|
4679
|
+
let l = o.limitBalances;
|
|
4672
4680
|
Array.isArray(l[0]) && (l = l.flat());
|
|
4673
|
-
const d = (
|
|
4674
|
-
xt = 1 / 0, jt = 1 / 0, wt = 0, l.forEach((
|
|
4681
|
+
const d = (h) => h == null ? 0 : typeof h == "number" ? h : typeof h == "object" && h.parsedValue !== void 0 ? parseFloat(h.parsedValue) : typeof h == "object" && h.amount !== void 0 ? d(h.amount) : typeof h == "string" && parseFloat(h.replace(J.COMMA_REMOVAL_REGEX, "")) || 0, L = me.deposit.toLowerCase(), y = me.netdeposit.toLowerCase();
|
|
4682
|
+
xt = 1 / 0, jt = 1 / 0, wt = 0, l.forEach((h) => {
|
|
4675
4683
|
var W, Z;
|
|
4676
|
-
const V = (
|
|
4677
|
-
if (V.includes(L) || V.includes(
|
|
4678
|
-
const O = d(
|
|
4679
|
-
O > 0 && O < xt && (xt = O),
|
|
4684
|
+
const V = (h.limitType || "").toLowerCase();
|
|
4685
|
+
if (V.includes(L) || V.includes(y)) {
|
|
4686
|
+
const O = d(h.limitAmount), I = d((Z = (W = h.spentBalance) == null ? void 0 : W.amount) != null ? Z : h.spentBalance), z = Math.max(0, O - I);
|
|
4687
|
+
O > 0 && O < xt && (xt = O), z < jt && (jt = z), I > wt && (wt = I);
|
|
4680
4688
|
}
|
|
4681
|
-
}), t(9, R = R.map((
|
|
4682
|
-
const V = (
|
|
4689
|
+
}), t(9, R = R.map((h) => {
|
|
4690
|
+
const V = (h.value || "").toLowerCase(), W = (h.product || "").toLowerCase();
|
|
4683
4691
|
let Z = [];
|
|
4684
|
-
l.forEach((
|
|
4692
|
+
l.forEach((I) => {
|
|
4685
4693
|
var Q, ce;
|
|
4686
|
-
const
|
|
4687
|
-
(
|
|
4688
|
-
amount: d(
|
|
4689
|
-
period:
|
|
4690
|
-
spent: d((ce = (Q =
|
|
4694
|
+
const z = (I.limitType || "").toLowerCase(), D = (I.limitProducts || []).map((fe) => (fe || "").toLowerCase());
|
|
4695
|
+
(z === V || z === `operator${V}`) && (D.includes(W) || D.includes("all")) && Z.push(De(ne({}, I), {
|
|
4696
|
+
amount: d(I.limitAmount),
|
|
4697
|
+
period: I.limitPeriod,
|
|
4698
|
+
spent: d((ce = (Q = I.spentBalance) == null ? void 0 : Q.amount) != null ? ce : I.spentBalance),
|
|
4691
4699
|
source: "API",
|
|
4692
4700
|
isCrossFamily: !1,
|
|
4693
|
-
isOperator:
|
|
4701
|
+
isOperator: z.includes("operator") || z.includes("system")
|
|
4694
4702
|
}));
|
|
4695
|
-
}),
|
|
4696
|
-
var
|
|
4697
|
-
Z.push(De(ne({},
|
|
4698
|
-
amount: parseFloat(
|
|
4699
|
-
spent: (D = (
|
|
4703
|
+
}), h.currentLimits && h.currentLimits.forEach((I) => {
|
|
4704
|
+
var z, D;
|
|
4705
|
+
Z.push(De(ne({}, I), {
|
|
4706
|
+
amount: parseFloat(I.amount.toString().replace(J.COMMA_REMOVAL_REGEX, "")),
|
|
4707
|
+
spent: (D = (z = I.spentBalance) == null ? void 0 : z.amount) != null ? D : 0,
|
|
4700
4708
|
source: J.LOCAL.toUpperCase()
|
|
4701
4709
|
}));
|
|
4702
4710
|
});
|
|
4703
4711
|
const O = Z.reduce(
|
|
4704
|
-
(
|
|
4712
|
+
(I, z) => {
|
|
4705
4713
|
var X, Q;
|
|
4706
|
-
const D = Ie ?
|
|
4707
|
-
if (!
|
|
4708
|
-
|
|
4714
|
+
const D = Ie ? z.period : `${z.period}_${z.isOperator ? "operator" : "user"}`;
|
|
4715
|
+
if (!I[D])
|
|
4716
|
+
I[D] = ne({}, z);
|
|
4709
4717
|
else {
|
|
4710
|
-
const ce = (X =
|
|
4711
|
-
|
|
4718
|
+
const ce = (X = I[D].reviewPending) != null && X.id ? I[D].reviewPending : z.reviewPending, fe = (Q = I[D].schedules) != null && Q.length ? I[D].schedules : z.schedules, Oe = I[D].isModified || z.isModified;
|
|
4719
|
+
z.amount <= I[D].amount ? I[D] = ne(ne({}, I[D]), z) : I[D] = ne(ne({}, z), I[D]), ce != null && ce.id && (I[D].reviewPending = ce), fe != null && fe.length && (I[D].schedules = fe), I[D].isModified = Oe;
|
|
4712
4720
|
}
|
|
4713
|
-
return
|
|
4721
|
+
return I;
|
|
4714
4722
|
},
|
|
4715
4723
|
{}
|
|
4716
4724
|
);
|
|
4717
|
-
return
|
|
4725
|
+
return h.allValidLimits = mt(Object.values(O)), h;
|
|
4718
4726
|
})), ti();
|
|
4719
4727
|
}, ti = () => {
|
|
4720
4728
|
if (_ !== "gm16")
|
|
4721
4729
|
return;
|
|
4722
|
-
const
|
|
4730
|
+
const o = me.netdeposit, l = me.deposit;
|
|
4723
4731
|
t(9, R = R.map((d) => {
|
|
4724
|
-
const L = (d.value || "").toLowerCase(),
|
|
4732
|
+
const L = (d.value || "").toLowerCase(), y = L.includes(o), h = L.includes(l) && !y, V = h || y;
|
|
4725
4733
|
let W = Vt && d.allValidLimits !== void 0 ? [...d.allValidLimits] : [...d.currentLimits || []];
|
|
4726
4734
|
Ie || (W = W.filter((O) => !O.isOperator || O.isModified || O.reviewPending && O.reviewPending.id));
|
|
4727
4735
|
const Z = W.filter((O) => Vt ? !O.isCrossFamily : !O.isExternalFamily).map((O) => {
|
|
4728
|
-
const
|
|
4736
|
+
const I = O.reviewPending && O.reviewPending.id, z = (d.currentLimits || []).find((X) => X.period === O.period), D = z ? z.amount : O.amount;
|
|
4729
4737
|
return V && xt !== 1 / 0 ? De(ne({}, O), {
|
|
4730
|
-
isModified: O.isModified || !!
|
|
4738
|
+
isModified: O.isModified || !!I,
|
|
4731
4739
|
amount: Ie ? O.amount : D,
|
|
4732
4740
|
effectiveAmount: O.amount,
|
|
4733
4741
|
spent: O.spent !== void 0 ? O.spent : wt,
|
|
4734
4742
|
spentBalance: {
|
|
4735
4743
|
amount: O.spent !== void 0 ? O.spent : wt
|
|
4736
4744
|
},
|
|
4737
|
-
showInfoMessage: Vt &&
|
|
4745
|
+
showInfoMessage: Vt && h,
|
|
4738
4746
|
restrictiveDisplayAmount: jt,
|
|
4739
|
-
shouldHideProgress: Ie ? !1 :
|
|
4747
|
+
shouldHideProgress: Ie ? !1 : y ? Y !== "true" : !0
|
|
4740
4748
|
}) : De(ne({}, O), {
|
|
4741
|
-
isModified: O.isModified || !!
|
|
4749
|
+
isModified: O.isModified || !!I,
|
|
4742
4750
|
amount: Ie ? O.amount : D,
|
|
4743
4751
|
shouldHideProgress: !Ie
|
|
4744
4752
|
});
|
|
4745
4753
|
});
|
|
4746
4754
|
return De(ne({}, d), { visibleLimitsInUI: Z });
|
|
4747
4755
|
})), t(9, R = [...R]);
|
|
4748
|
-
}, sa = () => R.every((
|
|
4749
|
-
var L,
|
|
4750
|
-
return (((L =
|
|
4751
|
-
}), ra = (
|
|
4756
|
+
}, sa = () => R.every((o, l) => {
|
|
4757
|
+
var L, y;
|
|
4758
|
+
return (((L = o.visibleLimitsInUI) == null ? void 0 : L.length) || 0) === ((y = We[l]) == null ? void 0 : y.length) && We[l].every((h) => h !== null);
|
|
4759
|
+
}), ra = (o, l, d, L) => {
|
|
4752
4760
|
try {
|
|
4753
|
-
const
|
|
4754
|
-
V.className = `Progress-bar-container ${
|
|
4761
|
+
const y = o > 0 ? Math.min(l / o * 100, 100) : 0, h = Math.round(y), V = document.createElement("div");
|
|
4762
|
+
V.className = `Progress-bar-container ${h === 0 ? "ZeroProgress" : ""}`;
|
|
4755
4763
|
const W = document.createElement("div");
|
|
4756
|
-
W.className = "Progress-bar-fill", W.style.width = `${
|
|
4764
|
+
W.className = "Progress-bar-fill", W.style.width = `${y}%`;
|
|
4757
4765
|
const Z = document.createElement("span");
|
|
4758
4766
|
Z.className = "Progress-bar-label";
|
|
4759
|
-
const O = isNaN(L) ? 0 : L,
|
|
4760
|
-
return Z.textContent = `${
|
|
4761
|
-
} catch (
|
|
4762
|
-
return console.error(
|
|
4767
|
+
const O = isNaN(L) ? 0 : L, I = gt[d] || d;
|
|
4768
|
+
return Z.textContent = `${I}${O.toFixed(2)}`, V.appendChild(W), V.appendChild(Z), V;
|
|
4769
|
+
} catch (y) {
|
|
4770
|
+
return console.error(y), document.createElement("div");
|
|
4763
4771
|
}
|
|
4764
|
-
}, ii = (
|
|
4772
|
+
}, ii = (o, l) => {
|
|
4765
4773
|
var V;
|
|
4766
|
-
const d = R[
|
|
4774
|
+
const d = R[o];
|
|
4767
4775
|
if (!d || !((V = d.visibleLimitsInUI) != null && V[l]))
|
|
4768
4776
|
return;
|
|
4769
|
-
const L = d.visibleLimitsInUI[l],
|
|
4770
|
-
if (
|
|
4777
|
+
const L = d.visibleLimitsInUI[l], y = `#progress-${o}-${l}`, h = F == null ? void 0 : F.querySelector(y);
|
|
4778
|
+
if (h) {
|
|
4771
4779
|
if (L.shouldHideProgress) {
|
|
4772
|
-
|
|
4780
|
+
h.innerHTML = "";
|
|
4773
4781
|
return;
|
|
4774
4782
|
}
|
|
4775
|
-
|
|
4783
|
+
h.innerHTML = "", h.appendChild(ra(L.amount, L.spent, p, L.spent));
|
|
4776
4784
|
}
|
|
4777
4785
|
}, oi = () => Ae(this, null, function* () {
|
|
4778
4786
|
var l, d;
|
|
4779
4787
|
yield vt();
|
|
4780
|
-
let
|
|
4788
|
+
let o = !0;
|
|
4781
4789
|
for (let L = 0; L < R.length; L++) {
|
|
4782
|
-
const
|
|
4783
|
-
for (let
|
|
4784
|
-
if (!We[L] || !We[L][
|
|
4785
|
-
|
|
4790
|
+
const y = ((l = R[L].visibleLimitsInUI) == null ? void 0 : l.length) || 0;
|
|
4791
|
+
for (let h = 0; h < y; h++)
|
|
4792
|
+
if (!We[L] || !We[L][h]) {
|
|
4793
|
+
o = !1;
|
|
4786
4794
|
break;
|
|
4787
4795
|
}
|
|
4788
|
-
if (!
|
|
4796
|
+
if (!o)
|
|
4789
4797
|
break;
|
|
4790
4798
|
}
|
|
4791
|
-
if (!
|
|
4799
|
+
if (!o) {
|
|
4792
4800
|
setTimeout(() => oi(), 10);
|
|
4793
4801
|
return;
|
|
4794
4802
|
}
|
|
4795
4803
|
for (let L = 0; L < R.length; L++) {
|
|
4796
|
-
const
|
|
4797
|
-
for (let
|
|
4798
|
-
ii(L,
|
|
4804
|
+
const y = ((d = R[L].visibleLimitsInUI) == null ? void 0 : d.length) || 0;
|
|
4805
|
+
for (let h = 0; h < y; h++)
|
|
4806
|
+
ii(L, h);
|
|
4799
4807
|
}
|
|
4800
|
-
}), la = (
|
|
4808
|
+
}), la = (o) => {
|
|
4801
4809
|
R.forEach((l) => {
|
|
4802
4810
|
l.currentLimits = [];
|
|
4803
|
-
const d = Array.isArray(
|
|
4804
|
-
d.length === 0 || d[0] === void 0 || (d.forEach((L,
|
|
4811
|
+
const d = Array.isArray(o[ae[l.value].callValue]) ? o[ae[l.value].callValue] : [o[ae[l.value].callValue]];
|
|
4812
|
+
d.length === 0 || d[0] === void 0 || (d.forEach((L, y) => {
|
|
4805
4813
|
var V;
|
|
4806
|
-
const
|
|
4807
|
-
l.currentLimits.push({}), l.currentLimits[
|
|
4814
|
+
const h = o[ae[l.value].callValue][y];
|
|
4815
|
+
l.currentLimits.push({}), l.currentLimits[y].limitType = l.value, l.currentLimits[y].amount = he ? h.amount : Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(h.amount), l.currentLimits[y].currency = (V = gt[h.currency]) != null ? V : h.currency, l.currentLimits[y].period = h.period, l.currentLimits[y].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(h.updateAmount), l.currentLimits[y].isModified = h.isModified, l.currentLimits[y].expiryDate = ht(h.expiryDate);
|
|
4808
4816
|
}), l.currentLimits = mt(l.currentLimits));
|
|
4809
4817
|
});
|
|
4810
|
-
}, ua = (
|
|
4818
|
+
}, ua = (o) => {
|
|
4811
4819
|
const l = s("minutes");
|
|
4812
4820
|
R.filter((d) => d.value === J.SESSION_LIMIT || d.value === J.CUMULATIVE_SESSION).forEach((d) => {
|
|
4813
4821
|
var L;
|
|
4814
|
-
d.currentLimits = [], (L =
|
|
4815
|
-
const V =
|
|
4822
|
+
d.currentLimits = [], (L = o[ae[d.value].callValue]) == null || L.forEach((y, h) => {
|
|
4823
|
+
const V = o[ae[d.value].callValue][h];
|
|
4816
4824
|
d.currentLimits.push({
|
|
4817
4825
|
limitType: d.value,
|
|
4818
4826
|
amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(V.minutes),
|
|
@@ -4824,23 +4832,23 @@ function hs(i, e, t) {
|
|
|
4824
4832
|
});
|
|
4825
4833
|
}), d.currentLimits = mt(d.currentLimits);
|
|
4826
4834
|
});
|
|
4827
|
-
}, ma = (
|
|
4828
|
-
|
|
4835
|
+
}, ma = (o) => {
|
|
4836
|
+
o.forEach((l) => {
|
|
4829
4837
|
Ee[l] && window.clearInterval(Ee[l]);
|
|
4830
|
-
}), t(25, Se = Object.fromEntries(Object.entries(Se).filter(([l]) => !
|
|
4831
|
-
}, da = (
|
|
4838
|
+
}), t(25, Se = Object.fromEntries(Object.entries(Se).filter(([l]) => !o.has(l)))), Ee = Object.fromEntries(Object.entries(Ee).filter(([l]) => !o.has(l))), o.size > 0 && _n(k, [...o]);
|
|
4839
|
+
}, da = (o) => {
|
|
4832
4840
|
const l = et[f].seconds, d = et[f].reloadLimitsButton;
|
|
4833
|
-
|
|
4834
|
-
const
|
|
4835
|
-
timer:
|
|
4836
|
-
timerStopped:
|
|
4841
|
+
o.forEach(({ scheduleId: L, acknowledgedAt: y }) => {
|
|
4842
|
+
const h = Wi(y), V = {
|
|
4843
|
+
timer: h > 0 ? `${h} ${l}` : d,
|
|
4844
|
+
timerStopped: h <= 0
|
|
4837
4845
|
};
|
|
4838
4846
|
if (t(25, Se = De(ne({}, Se), {
|
|
4839
4847
|
[L]: V
|
|
4840
|
-
})),
|
|
4848
|
+
})), h > 0) {
|
|
4841
4849
|
const W = window.setInterval(
|
|
4842
4850
|
() => {
|
|
4843
|
-
const Z = Wi(
|
|
4851
|
+
const Z = Wi(y);
|
|
4844
4852
|
Z <= 0 ? (Ee[L] && window.clearInterval(Ee[L]), Ee = Object.fromEntries(Object.entries(Ee).filter(([O]) => O !== L)), t(25, Se = De(ne({}, Se), {
|
|
4845
4853
|
[L]: { timer: d, timerStopped: !0 }
|
|
4846
4854
|
}))) : t(25, Se = De(ne({}, Se), {
|
|
@@ -4857,28 +4865,28 @@ function hs(i, e, t) {
|
|
|
4857
4865
|
});
|
|
4858
4866
|
}
|
|
4859
4867
|
});
|
|
4860
|
-
}, pa = (
|
|
4861
|
-
if (!(
|
|
4868
|
+
}, pa = (o) => {
|
|
4869
|
+
if (!(o != null && o.limits))
|
|
4862
4870
|
return;
|
|
4863
|
-
const l = Sn(
|
|
4864
|
-
ma(L), da(
|
|
4865
|
-
const V = (
|
|
4866
|
-
if (!
|
|
4871
|
+
const l = Sn(o.limits), d = gi(k), { toRemove: L, toRestore: y } = An(l, d, Object.keys(Se));
|
|
4872
|
+
ma(L), da(y), t(9, R = R.map((h) => {
|
|
4873
|
+
const V = (h.product || "").toLowerCase(), W = (h.callValue16 || "").toLowerCase(), O = o.limits.filter((z) => {
|
|
4874
|
+
if (!z || !z.type)
|
|
4867
4875
|
return !1;
|
|
4868
|
-
const D =
|
|
4876
|
+
const D = z.type.toLowerCase(), X = ui(D);
|
|
4869
4877
|
if (!Ie && X)
|
|
4870
4878
|
return !1;
|
|
4871
4879
|
let Q = !1;
|
|
4872
4880
|
W === me.deposit ? Q = D.includes(me.deposit) && !D.includes(me.netdeposit) : W === me.netdeposit ? Q = D.includes(me.netdeposit) : Q = D.includes(W);
|
|
4873
|
-
const ce = (Array.isArray(
|
|
4881
|
+
const ce = (Array.isArray(z.products) ? z.products : [z.products]).map((Oe) => (Oe || "").toLowerCase());
|
|
4874
4882
|
let fe = ce.includes(V) || V !== "all" && ce.includes("all");
|
|
4875
4883
|
return Q && fe;
|
|
4876
4884
|
}).reduce(
|
|
4877
|
-
(
|
|
4885
|
+
(z, D) => {
|
|
4878
4886
|
var Ke, be, oe, xe, je, Ue, Ye, yt, zt, Wt;
|
|
4879
|
-
const X = D.period, Q =
|
|
4887
|
+
const X = D.period, Q = z[X], ce = (h.product || "").toLowerCase(), fe = (D.products || []).some((at) => at.toLowerCase() === ce), Oe = Q ? (Q.products || []).some((at) => at.toLowerCase() === ce) : !1;
|
|
4880
4888
|
if (!Q)
|
|
4881
|
-
|
|
4889
|
+
z[X] = ne({}, D);
|
|
4882
4890
|
else {
|
|
4883
4891
|
const at = (oe = (be = (Ke = D.amount) == null ? void 0 : Ke.parsedValue) != null ? be : D.amount) != null ? oe : 0, Ft = (Ue = (je = (xe = Q.amount) == null ? void 0 : xe.parsedValue) != null ? je : Q.amount) != null ? Ue : 0, qt = (D.type || "").toLowerCase().includes("operator") || (D.type || "").toLowerCase().includes("system"), ri = (Q.type || "").toLowerCase().includes("operator") || (Q.type || "").toLowerCase().includes("system"), Ni = W.includes("loss");
|
|
4884
4892
|
let ut = !1;
|
|
@@ -4891,14 +4899,14 @@ function hs(i, e, t) {
|
|
|
4891
4899
|
const ze = fe ? D : Oe ? Q : null;
|
|
4892
4900
|
(zt = ze == null ? void 0 : ze.schedules) != null && zt.length && (Gt = ze.schedules), (Wt = ze == null ? void 0 : ze.reviewPending) != null && Wt.id && (Ht = ze.reviewPending);
|
|
4893
4901
|
}
|
|
4894
|
-
ut && (
|
|
4902
|
+
ut && (z[X] = ne({}, D)), Gt && (z[X].schedules = Gt), Ht && (z[X].reviewPending = Ht);
|
|
4895
4903
|
}
|
|
4896
|
-
return
|
|
4904
|
+
return z;
|
|
4897
4905
|
},
|
|
4898
4906
|
{}
|
|
4899
|
-
),
|
|
4907
|
+
), I = Object.values(O).map((z) => {
|
|
4900
4908
|
var fe, Oe, Ke;
|
|
4901
|
-
const D =
|
|
4909
|
+
const D = z.schedules && z.schedules.length > 0 ? z.schedules[0] : null, X = z.reviewPending && z.reviewPending.id ? z.reviewPending : null, Q = (be) => {
|
|
4902
4910
|
var oe, xe;
|
|
4903
4911
|
return be && typeof be == "object" ? (xe = (oe = be.parsedValue) != null ? oe : be.amount) != null ? xe : 0 : be != null ? be : 0;
|
|
4904
4912
|
};
|
|
@@ -4909,46 +4917,46 @@ function hs(i, e, t) {
|
|
|
4909
4917
|
} else
|
|
4910
4918
|
X && (ce = Q(X.requestAmount));
|
|
4911
4919
|
return {
|
|
4912
|
-
id:
|
|
4913
|
-
limitType:
|
|
4914
|
-
amount: Q(
|
|
4915
|
-
currency:
|
|
4916
|
-
period:
|
|
4920
|
+
id: z.id,
|
|
4921
|
+
limitType: h.value,
|
|
4922
|
+
amount: Q(z.amount),
|
|
4923
|
+
currency: z.currency,
|
|
4924
|
+
period: z.period,
|
|
4917
4925
|
isModified: !!D,
|
|
4918
4926
|
updateAmount: ce,
|
|
4919
4927
|
expiryDate: D ? ht(D.applyAt) : "",
|
|
4920
4928
|
scheduleId: D ? D.id : null,
|
|
4921
4929
|
acknowledgedLimit: D ? !!Se[D.id] : !1,
|
|
4922
4930
|
isCoolOffCompleted: D ? D.isCoolOffCompleted : !1,
|
|
4923
|
-
isOperator: (
|
|
4924
|
-
source: V !== "all" && (
|
|
4925
|
-
rawLimit:
|
|
4926
|
-
reviewRequired: (Ke =
|
|
4931
|
+
isOperator: (z.type || "").toLowerCase().includes("operator") || (z.type || "").toLowerCase().includes("system"),
|
|
4932
|
+
source: V !== "all" && (z.products || []).map((be) => (be || "").toLowerCase()).includes("all") ? "Inherited" : "API",
|
|
4933
|
+
rawLimit: z,
|
|
4934
|
+
reviewRequired: (Ke = z.reviewRequired) != null ? Ke : !1,
|
|
4927
4935
|
reviewPending: X ? De(ne({}, X), {
|
|
4928
4936
|
requestAmount: Q(X.requestAmount)
|
|
4929
4937
|
}) : {}
|
|
4930
4938
|
};
|
|
4931
4939
|
});
|
|
4932
|
-
return De(ne({},
|
|
4933
|
-
currentLimits: mt(
|
|
4940
|
+
return De(ne({}, h), {
|
|
4941
|
+
currentLimits: mt(I)
|
|
4934
4942
|
});
|
|
4935
4943
|
}));
|
|
4936
|
-
}, ca = (
|
|
4937
|
-
|
|
4944
|
+
}, ca = (o) => {
|
|
4945
|
+
o != null && o.sessionLimit && R.filter((l) => l.value === J.SESSION_LIMIT).forEach((l) => {
|
|
4938
4946
|
l.currentLimits = [], l.currentLimits.push({
|
|
4939
4947
|
limitType: J.SESSION_LIMIT,
|
|
4940
|
-
amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(
|
|
4948
|
+
amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(o.sessionLimit.minutes),
|
|
4941
4949
|
currency: s("minutes"),
|
|
4942
|
-
isModified:
|
|
4950
|
+
isModified: o.sessionLimit.isModified,
|
|
4943
4951
|
period: "None",
|
|
4944
|
-
updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(
|
|
4945
|
-
expiryDate:
|
|
4952
|
+
updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(o.sessionLimit.updateMinutes),
|
|
4953
|
+
expiryDate: o.sessionLimit.expiryDate
|
|
4946
4954
|
}), l.currentLimits = mt(l.currentLimits);
|
|
4947
4955
|
});
|
|
4948
|
-
}, fa = (
|
|
4949
|
-
|
|
4956
|
+
}, fa = (o) => {
|
|
4957
|
+
o != null && o.cumulativeSessionLimits && R.filter((l) => l.value === J.CUMULATIVE_SESSION).forEach((l) => {
|
|
4950
4958
|
l.currentLimits = [];
|
|
4951
|
-
for (const d of
|
|
4959
|
+
for (const d of o.cumulativeSessionLimits)
|
|
4952
4960
|
l.currentLimits.push({
|
|
4953
4961
|
limitType: J.CUMULATIVE_SESSION,
|
|
4954
4962
|
amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(d.minutes),
|
|
@@ -4960,59 +4968,59 @@ function hs(i, e, t) {
|
|
|
4960
4968
|
});
|
|
4961
4969
|
l.currentLimits = mt(l.currentLimits);
|
|
4962
4970
|
});
|
|
4963
|
-
}, Ci = (
|
|
4964
|
-
window.postMessage({ type: "InValidLimit", data:
|
|
4971
|
+
}, Ci = (o) => {
|
|
4972
|
+
window.postMessage({ type: "InValidLimit", data: o }, window.location.href);
|
|
4965
4973
|
}, Pi = () => {
|
|
4966
4974
|
if (t(36, Ct = !0), $ === null || Number.isNaN($)) {
|
|
4967
4975
|
t(35, Qe = !0), Ci(Qe);
|
|
4968
4976
|
return;
|
|
4969
4977
|
}
|
|
4970
4978
|
if (P === "false") {
|
|
4971
|
-
const
|
|
4972
|
-
$ !==
|
|
4979
|
+
const o = Math.round($);
|
|
4980
|
+
$ !== o && t(21, $ = o);
|
|
4973
4981
|
}
|
|
4974
4982
|
t(35, Qe = $ < pt || $ > ct), Ci(Qe);
|
|
4975
|
-
}, ga = (
|
|
4976
|
-
|
|
4983
|
+
}, ga = (o) => o.preventDefault(), Ti = (o) => {
|
|
4984
|
+
o && o.preventDefault(), Pi(), Qe || Qo();
|
|
4977
4985
|
}, zi = () => {
|
|
4978
4986
|
t(35, Qe = !1), Je != null && Je[K] ? (t(15, pt = Je[K].min), t(16, ct = Je[K].max)) : (t(15, pt = 1), t(16, ct = 9999999));
|
|
4979
4987
|
}, La = () => {
|
|
4980
4988
|
if (ke) {
|
|
4981
|
-
const
|
|
4982
|
-
let d = s("popupImmediateUpdate").replace("{selectedLimit}", ni(
|
|
4983
|
-
t(17, Te =
|
|
4989
|
+
const o = ke[ae[K].callValue].find((L) => L.period === ve), l = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(o.amount);
|
|
4990
|
+
let d = s("popupImmediateUpdate").replace("{selectedLimit}", ni(o)).replace("{updatedAmount}", l).replace("{currency}", gt[o.currency] || o.currency).replace("{selectedPeriod}", s(`${ve}`));
|
|
4991
|
+
t(17, Te = o.isModified ? `${s("popupPendingUpdate")} ${ht(o.expiryDate)}` : d);
|
|
4984
4992
|
}
|
|
4985
4993
|
t(32, Ve = !0);
|
|
4986
4994
|
}, Di = () => {
|
|
4987
4995
|
var l, d;
|
|
4988
4996
|
if (!ke || !ke.limits)
|
|
4989
4997
|
return null;
|
|
4990
|
-
let
|
|
4998
|
+
let o = null;
|
|
4991
4999
|
if (Object.keys(ft).length > 0)
|
|
4992
|
-
|
|
5000
|
+
o = ke.limits.find((L) => L.id === ft.id);
|
|
4993
5001
|
else {
|
|
4994
|
-
const
|
|
5002
|
+
const y = {
|
|
4995
5003
|
type: ((l = ae[K]) == null ? void 0 : l.callValue16) || me[K],
|
|
4996
5004
|
period: ve,
|
|
4997
5005
|
product: Ge
|
|
4998
5006
|
};
|
|
4999
|
-
|
|
5007
|
+
o = ke.limits.find((h) => Fi(h, y));
|
|
5000
5008
|
}
|
|
5001
|
-
return ((d =
|
|
5002
|
-
}, ai = (
|
|
5009
|
+
return ((d = o == null ? void 0 : o.schedules) == null ? void 0 : d.length) > 0 && Se[o.schedules[0].id] && (o.amount = o.schedules[0].updateAmount), o;
|
|
5010
|
+
}, ai = (o) => {
|
|
5003
5011
|
var l, d;
|
|
5004
|
-
return
|
|
5012
|
+
return o == null ? 0 : Number(typeof o == "object" ? (d = (l = o.parsedValue) != null ? l : o.amount) != null ? d : 0 : o);
|
|
5005
5013
|
}, ha = () => {
|
|
5006
|
-
var W, Z, O,
|
|
5007
|
-
let
|
|
5008
|
-
if (!
|
|
5014
|
+
var W, Z, O, I, z, D;
|
|
5015
|
+
let o = Di();
|
|
5016
|
+
if (!o || !o.period) {
|
|
5009
5017
|
t(32, Ve = !0);
|
|
5010
5018
|
return;
|
|
5011
5019
|
}
|
|
5012
|
-
const l = za(
|
|
5013
|
-
let L = s("popupImmediateUpdate").replace("{selectedLimit}", ni(
|
|
5020
|
+
const l = za(o) || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(o.amount || 0), d = ((W = o.schedules) == null ? void 0 : W.length) > 0 ? ht(o.schedules[0].applyAt) : "";
|
|
5021
|
+
let L = s("popupImmediateUpdate").replace("{selectedLimit}", ni(o)).replace("{updatedAmount}", l).replace("{selectedPeriod}", s(`${o.period}`)), y = !1, h = !1;
|
|
5014
5022
|
if (Ie && (ke != null && ke.limits)) {
|
|
5015
|
-
const X = ((O = (Z = ae[K]) == null ? void 0 : Z.callValue16) == null ? void 0 : O.toLowerCase()) || "", Q = (
|
|
5023
|
+
const X = ((O = (Z = ae[K]) == null ? void 0 : Z.callValue16) == null ? void 0 : O.toLowerCase()) || "", Q = (o.period || "").toLowerCase(), ce = (oe) => {
|
|
5016
5024
|
const xe = (oe || "").toLowerCase();
|
|
5017
5025
|
switch (xe) {
|
|
5018
5026
|
case "day":
|
|
@@ -5025,20 +5033,20 @@ function hs(i, e, t) {
|
|
|
5025
5033
|
return xe;
|
|
5026
5034
|
}
|
|
5027
5035
|
}, fe = (oe) => ce(oe) === ce(Q);
|
|
5028
|
-
let Oe = ((
|
|
5036
|
+
let Oe = ((I = o.schedules) == null ? void 0 : I.length) > 0 ? ai(o.schedules[0].updateAmount) : ai(o.amount);
|
|
5029
5037
|
Oe === 0 && $ > 0 && (Oe = $);
|
|
5030
5038
|
const Ke = (oe, xe) => (oe.products || []).some((je) => (je || "").toLowerCase() === xe), be = (oe) => (oe.type || "").toLowerCase().replace("operator", "").replace("system", "") === X && fe(oe.period) && Oe > ai(oe.amount);
|
|
5031
|
-
|
|
5039
|
+
y = ke.limits.some((oe) => {
|
|
5032
5040
|
const xe = (oe.type || "").toLowerCase();
|
|
5033
5041
|
return ui(xe) ? ((oe.products || []).length === 0 || Ke(oe, (Ge || "").toLowerCase()) || Ke(oe, "all")) && be(oe) : !1;
|
|
5034
|
-
}),
|
|
5042
|
+
}), h = X.includes("loss") && (Ge || "").toLowerCase() !== "all" && ke.limits.some((oe) => !ui((oe.type || "").toLowerCase()) && Ke(oe, "all") && be(oe));
|
|
5035
5043
|
}
|
|
5036
|
-
if (((
|
|
5037
|
-
const X = Number(
|
|
5044
|
+
if (((z = o.schedules) == null ? void 0 : z.length) > 0 && !!Se[o.schedules[0].id]) {
|
|
5045
|
+
const X = Number(o.schedules[0].updateAmount) === 0;
|
|
5038
5046
|
t(17, Te = X ? s("popupLimitRemoved") : L), t(19, Nt = "popupTitle");
|
|
5039
5047
|
} else {
|
|
5040
|
-
const X =
|
|
5041
|
-
t(19, Nt = X ? "popupTitleAdded" : "popupTitle"), ((D =
|
|
5048
|
+
const X = y || h;
|
|
5049
|
+
t(19, Nt = X ? "popupTitleAdded" : "popupTitle"), ((D = o.schedules) == null ? void 0 : D.length) > 0 ? t(17, Te = X ? `${s("popupPendingOperatorLimit")} ${d}` : `${s("popupPendingUpdate")} ${d}`) : t(17, Te = X ? s("popupOperatorLimitInPlace") : L);
|
|
5042
5050
|
}
|
|
5043
5051
|
t(32, Ve = !0);
|
|
5044
5052
|
}, ya = () => {
|
|
@@ -5047,34 +5055,34 @@ function hs(i, e, t) {
|
|
|
5047
5055
|
t(17, Te = s("sessionLimitUpdated")), t(32, Ve = !0);
|
|
5048
5056
|
}, ba = () => {
|
|
5049
5057
|
if (ke) {
|
|
5050
|
-
const
|
|
5058
|
+
const o = ke[ae[K].callValue].find((L) => (L.period === ve || ve === "None") && L.products[0] === Ge), l = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(o.minutes);
|
|
5051
5059
|
let d = s("popupImmediateUpdate").replace("{selectedLimit}", s(`${K}`)).replace("{updatedAmount}", l).replace("{currency}", s("minutes")).replace("{selectedPeriod}", s(`${ve}`));
|
|
5052
|
-
t(17, Te =
|
|
5060
|
+
t(17, Te = o.isModified ? `${s("popupPendingUpdate")} ${ht(o.expiryDate)}` : d);
|
|
5053
5061
|
}
|
|
5054
5062
|
t(32, Ve = !0);
|
|
5055
|
-
}, ka = (
|
|
5063
|
+
}, ka = (o) => {
|
|
5056
5064
|
var l;
|
|
5057
|
-
return (l =
|
|
5058
|
-
}, wa = (
|
|
5065
|
+
return (l = o == null ? void 0 : o.error) == null ? void 0 : l.includes("Limit update is not permitted due to LimitUpdateControl");
|
|
5066
|
+
}, wa = (o) => {
|
|
5059
5067
|
var l;
|
|
5060
|
-
return (l =
|
|
5061
|
-
}, _a = (
|
|
5068
|
+
return (l = o == null ? void 0 : o.error) == null ? void 0 : l.includes("Limit remove is not permitted due to LimitUpdateControl");
|
|
5069
|
+
}, _a = (o) => {
|
|
5062
5070
|
var l;
|
|
5063
|
-
return (l =
|
|
5064
|
-
}, Sa = (
|
|
5071
|
+
return (l = o == null ? void 0 : o.error) == null ? void 0 : l.includes("[NotFoundException] Limit does not exist");
|
|
5072
|
+
}, Sa = (o) => {
|
|
5065
5073
|
var l;
|
|
5066
|
-
return (l =
|
|
5067
|
-
}, Aa = (
|
|
5074
|
+
return (l = o == null ? void 0 : o.error) == null ? void 0 : l.includes("[Exception] Schedule does not exist");
|
|
5075
|
+
}, Aa = (o) => {
|
|
5068
5076
|
var l, d;
|
|
5069
|
-
return ((l =
|
|
5070
|
-
}, Tt = (
|
|
5077
|
+
return ((l = o.details) == null ? void 0 : l.includes("Invalid Session")) || ((d = o.error) == null ? void 0 : d.includes("Invalid Session"));
|
|
5078
|
+
}, Tt = (o) => {
|
|
5071
5079
|
var l;
|
|
5072
5080
|
if (window.postMessage({ type: "OpenLimitsPopup" }, window.location.href), He) {
|
|
5073
|
-
if (t(30, Zt = !0), !
|
|
5081
|
+
if (t(30, Zt = !0), !o) {
|
|
5074
5082
|
t(32, Ve = !0);
|
|
5075
5083
|
return;
|
|
5076
5084
|
}
|
|
5077
|
-
ka(
|
|
5085
|
+
ka(o) ? t(17, Te = s("popupUpdateLimitException")) : wa(o) ? t(17, Te = s("popupRemoveLimitException")) : _a(o) ? t(17, Te = s("notFoundException")) : Sa(o) ? t(17, Te = s("scheduleNotFoundException")) : (l = o == null ? void 0 : o.error) != null && l.includes("LimitUnderReviewException") ? t(17, Te = s("limitInDocReview")) : Aa(o) ? t(17, Te = s("sessionExpiredException")) : t(17, Te = s("genericLimitsPopupError")), t(32, Ve = !0);
|
|
5078
5086
|
return;
|
|
5079
5087
|
}
|
|
5080
5088
|
switch (_) {
|
|
@@ -5089,29 +5097,29 @@ function hs(i, e, t) {
|
|
|
5089
5097
|
}
|
|
5090
5098
|
}, qe = () => {
|
|
5091
5099
|
t(31, Lt = !0), window.postMessage({ type: "DisableScroll" }, window.location.href);
|
|
5092
|
-
}, Ca = (
|
|
5093
|
-
t(13, K =
|
|
5094
|
-
let l = `/v2/player/${
|
|
5095
|
-
|
|
5100
|
+
}, Ca = (o) => Ae(this, null, function* () {
|
|
5101
|
+
t(13, K = o.limitType), t(14, ve = o.period), qe(), t(28, we = !0);
|
|
5102
|
+
let l = `/v2/player/${k}/limits/${me[o.limitType]}`;
|
|
5103
|
+
o.limitType !== J.SESSION_LIMIT && (l += `?periods=${o.period}`);
|
|
5096
5104
|
try {
|
|
5097
|
-
yield Xt(l, "DELETE"), Me(Ne.success,
|
|
5105
|
+
yield Xt(l, "DELETE"), Me(Ne.success, o.amount), Fe();
|
|
5098
5106
|
} catch (d) {
|
|
5099
|
-
Me(Ne.failed,
|
|
5107
|
+
Me(Ne.failed, o.amount), console.log(d), t(29, He = !0);
|
|
5100
5108
|
}
|
|
5101
|
-
}), Ei = (
|
|
5102
|
-
switch (Bt.remove =
|
|
5109
|
+
}), Ei = (o) => {
|
|
5110
|
+
switch (Bt.remove = o, t(13, K = o.limitType || ""), _) {
|
|
5103
5111
|
case "gmcore":
|
|
5104
|
-
Ca(
|
|
5112
|
+
Ca(o);
|
|
5105
5113
|
break;
|
|
5106
5114
|
case "gm16":
|
|
5107
|
-
ft =
|
|
5115
|
+
ft = o, o.limitType === J.SESSION_LIMIT || o.limitType === J.CUMULATIVE_SESSION ? Pa(o) : Ii(o);
|
|
5108
5116
|
break;
|
|
5109
5117
|
}
|
|
5110
|
-
Me(Ne.request,
|
|
5111
|
-
}, Pa = (
|
|
5112
|
-
const l = new URL(`${
|
|
5118
|
+
Me(Ne.request, o.amount);
|
|
5119
|
+
}, Pa = (o) => {
|
|
5120
|
+
const l = new URL(`${v}/v1/player/${k}/limits/session/session`), d = new URL(`${v}/v1/player/${k}/limits/session/cumulativeSession?periods=${o.period}`);
|
|
5113
5121
|
let L;
|
|
5114
|
-
switch (
|
|
5122
|
+
switch (o.limitType) {
|
|
5115
5123
|
case J.SESSION_LIMIT:
|
|
5116
5124
|
L = l;
|
|
5117
5125
|
break;
|
|
@@ -5119,97 +5127,97 @@ function hs(i, e, t) {
|
|
|
5119
5127
|
L = d;
|
|
5120
5128
|
break;
|
|
5121
5129
|
default:
|
|
5122
|
-
throw Error(`Unknown limit.limitType: ${
|
|
5130
|
+
throw Error(`Unknown limit.limitType: ${o.limitType}`);
|
|
5123
5131
|
}
|
|
5124
5132
|
qe(), t(28, we = !0);
|
|
5125
|
-
let
|
|
5133
|
+
let y = {
|
|
5126
5134
|
method: "DELETE",
|
|
5127
5135
|
headers: {
|
|
5128
|
-
"X-SessionID":
|
|
5136
|
+
"X-SessionID": S,
|
|
5129
5137
|
"Content-Type": "application/json",
|
|
5130
5138
|
Accept: "application/json"
|
|
5131
5139
|
}
|
|
5132
5140
|
};
|
|
5133
|
-
fetch(L.href,
|
|
5134
|
-
Me(Ne.success,
|
|
5135
|
-
}).catch((
|
|
5136
|
-
Me(Ne.failed,
|
|
5141
|
+
fetch(L.href, y).then((h) => Be(h)).then((h) => {
|
|
5142
|
+
Me(Ne.success, o.amount), Fe();
|
|
5143
|
+
}).catch((h) => {
|
|
5144
|
+
Me(Ne.failed, o.amount), console.log(h), t(29, He = !0);
|
|
5137
5145
|
});
|
|
5138
|
-
}, Ii = (
|
|
5139
|
-
if (
|
|
5146
|
+
}, Ii = (o) => {
|
|
5147
|
+
if (o && o.reviewRequired && !$e) {
|
|
5140
5148
|
t(34, At = !0), t(32, Ve = !0), qe();
|
|
5141
5149
|
return;
|
|
5142
5150
|
}
|
|
5143
5151
|
qe(), t(28, we = !0);
|
|
5144
|
-
const l = new URL(`${
|
|
5152
|
+
const l = new URL(`${v}/v1/player/${k}/limits/monetary/${o.id}`);
|
|
5145
5153
|
$e && l.searchParams.append("documentId", $e);
|
|
5146
5154
|
let d = {
|
|
5147
5155
|
method: "DELETE",
|
|
5148
5156
|
headers: {
|
|
5149
|
-
"X-SessionID":
|
|
5157
|
+
"X-SessionID": S,
|
|
5150
5158
|
"Content-Type": "application/json",
|
|
5151
5159
|
Accept: "application/json"
|
|
5152
5160
|
}
|
|
5153
5161
|
};
|
|
5154
|
-
fetch(l.href, d).then((L) => Be(L)).then(() => (Me(Ne.success,
|
|
5162
|
+
fetch(l.href, d).then((L) => Be(L)).then(() => (Me(Ne.success, o.amount), Fe())).then(() => {
|
|
5155
5163
|
$t();
|
|
5156
5164
|
}).catch((L) => {
|
|
5157
5165
|
console.error(L), t(29, He = !0), Fe();
|
|
5158
5166
|
}).finally(() => {
|
|
5159
5167
|
Bt.remove = {}, t(34, At = !1), $e = "", t(28, we = !1);
|
|
5160
5168
|
});
|
|
5161
|
-
}, Mi = (
|
|
5162
|
-
const l = new URL(`${
|
|
5169
|
+
}, Mi = (o) => {
|
|
5170
|
+
const l = new URL(`${v}/v1/player/${k}/limits/schedule/${o.scheduleId}`);
|
|
5163
5171
|
qe(), t(28, we = !0);
|
|
5164
5172
|
let d = {
|
|
5165
5173
|
method: "DELETE",
|
|
5166
5174
|
headers: {
|
|
5167
|
-
"X-SessionID":
|
|
5175
|
+
"X-SessionID": S,
|
|
5168
5176
|
"Content-Type": "application/json",
|
|
5169
5177
|
Accept: "application/json"
|
|
5170
5178
|
}
|
|
5171
5179
|
};
|
|
5172
5180
|
fetch(l.href, d).then((L) => Be(L)).then((L) => {
|
|
5173
|
-
ft =
|
|
5181
|
+
ft = o, Me(Ne.success, o.updateAmount), Fe();
|
|
5174
5182
|
}).catch((L) => {
|
|
5175
|
-
Me(Ne.failed,
|
|
5183
|
+
Me(Ne.failed, o.updateAmount), console.log(L);
|
|
5176
5184
|
});
|
|
5177
|
-
}, xi = (
|
|
5178
|
-
const l = new URL(`${
|
|
5185
|
+
}, xi = (o) => {
|
|
5186
|
+
const l = new URL(`${v}/v1/player/${k}/limits/schedule/acknowledge/${o.scheduleId}`);
|
|
5179
5187
|
qe(), t(28, we = !0);
|
|
5180
5188
|
let d = {
|
|
5181
5189
|
method: "PATCH",
|
|
5182
5190
|
headers: {
|
|
5183
|
-
"X-SessionID":
|
|
5191
|
+
"X-SessionID": S,
|
|
5184
5192
|
"Content-Type": "application/json",
|
|
5185
5193
|
Accept: "application/json"
|
|
5186
5194
|
}
|
|
5187
5195
|
};
|
|
5188
5196
|
fetch(l.href, d).then((L) => Be(L)).then((L) => {
|
|
5189
|
-
ft =
|
|
5197
|
+
ft = o, wn(k, o.scheduleId, Date.now()), Ta(o), Me(Ne.success, o.amount), Fe();
|
|
5190
5198
|
}).catch((L) => {
|
|
5191
|
-
Me(Ne.failed,
|
|
5199
|
+
Me(Ne.failed, o.amount), console.log(L);
|
|
5192
5200
|
});
|
|
5193
|
-
}, Ta = (
|
|
5194
|
-
Ee[
|
|
5201
|
+
}, Ta = (o) => {
|
|
5202
|
+
Ee[o.scheduleId] && window.clearInterval(Ee[o.scheduleId]);
|
|
5195
5203
|
const l = et[f].seconds, d = et[f].reloadLimitsButton;
|
|
5196
5204
|
let L = 60;
|
|
5197
5205
|
t(25, Se = De(ne({}, Se), {
|
|
5198
|
-
[
|
|
5206
|
+
[o.scheduleId]: {
|
|
5199
5207
|
timer: `${L} ${l}`,
|
|
5200
5208
|
timerStopped: !1
|
|
5201
5209
|
}
|
|
5202
5210
|
}));
|
|
5203
|
-
const
|
|
5211
|
+
const y = window.setInterval(
|
|
5204
5212
|
() => {
|
|
5205
5213
|
if (L === 0) {
|
|
5206
|
-
window.clearInterval(
|
|
5207
|
-
[
|
|
5214
|
+
window.clearInterval(y), Ee = Object.fromEntries(Object.entries(Ee).filter(([h]) => h !== o.scheduleId)), t(25, Se = De(ne({}, Se), {
|
|
5215
|
+
[o.scheduleId]: { timer: d, timerStopped: !0 }
|
|
5208
5216
|
}));
|
|
5209
5217
|
return;
|
|
5210
5218
|
}
|
|
5211
5219
|
L -= 1, t(25, Se = De(ne({}, Se), {
|
|
5212
|
-
[
|
|
5220
|
+
[o.scheduleId]: {
|
|
5213
5221
|
timer: `${L} ${l}`,
|
|
5214
5222
|
timerStopped: !1
|
|
5215
5223
|
}
|
|
@@ -5218,39 +5226,39 @@ function hs(i, e, t) {
|
|
|
5218
5226
|
1e3
|
|
5219
5227
|
);
|
|
5220
5228
|
Ee = De(ne({}, Ee), {
|
|
5221
|
-
[
|
|
5229
|
+
[o.scheduleId]: y
|
|
5222
5230
|
});
|
|
5223
|
-
}, ni = (
|
|
5231
|
+
}, ni = (o) => {
|
|
5224
5232
|
var O;
|
|
5225
|
-
if (!
|
|
5233
|
+
if (!o)
|
|
5226
5234
|
return s(K || "");
|
|
5227
|
-
const l = (
|
|
5228
|
-
if (V !==
|
|
5235
|
+
const l = (o.value || o.limitType || o.type || "").toLowerCase(), d = ((O = Object.entries(me).sort((I, z) => z[1].length - I[1].length).find(([I, z]) => l.includes(z.toLowerCase()) || l.includes(I.toLowerCase()))) == null ? void 0 : O[0]) || l, L = (o.product || o.products && o.products[0] || "").toLowerCase(), y = L && L !== "all" ? L.charAt(0).toUpperCase() + L.slice(1) : "", h = d + y, V = s(h);
|
|
5236
|
+
if (V !== h)
|
|
5229
5237
|
return V;
|
|
5230
5238
|
const W = s(d);
|
|
5231
5239
|
if (W !== d)
|
|
5232
5240
|
return W;
|
|
5233
|
-
const Z = (
|
|
5234
|
-
const
|
|
5235
|
-
return (
|
|
5241
|
+
const Z = (I) => {
|
|
5242
|
+
const z = s(I);
|
|
5243
|
+
return (z !== I ? z : I.charAt(0).toUpperCase() + I.slice(1)).replace(J.LIMIT_SUFFIX_REGEX, "").trim();
|
|
5236
5244
|
};
|
|
5237
5245
|
if (L && L !== "" && L !== "all") {
|
|
5238
|
-
const
|
|
5239
|
-
return `${
|
|
5246
|
+
const I = Z(d), z = Z(L);
|
|
5247
|
+
return `${I} - ${z} Limit`;
|
|
5240
5248
|
}
|
|
5241
5249
|
return d.charAt(0).toUpperCase() + d.slice(1);
|
|
5242
|
-
}, za = (
|
|
5250
|
+
}, za = (o, l = !1, d = !1) => {
|
|
5243
5251
|
if (!he)
|
|
5244
|
-
return d ? `${
|
|
5252
|
+
return d ? `${o.reviewPending.requestAmount}${o.currency}` : l ? `${o.updateAmount}${o.currency}` : `${o.amount}${o.currency}`;
|
|
5245
5253
|
let L = he;
|
|
5246
|
-
const
|
|
5254
|
+
const y = L.match(J.DYNAMIC_DECIMALS_REGEX), h = P === "true" ? y ? parseInt(y[1], 10) : 2 : 0, V = y ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
|
|
5247
5255
|
let W;
|
|
5248
|
-
d ? W =
|
|
5249
|
-
let Z = P === "true" ? parseFloat(W).toFixed(
|
|
5250
|
-
const [O,
|
|
5251
|
-
let [
|
|
5252
|
-
if (
|
|
5253
|
-
const X =
|
|
5256
|
+
d ? W = o.reviewPending.requestAmount || 0 : W = l ? o.updateAmount : o.amount;
|
|
5257
|
+
let Z = P === "true" ? parseFloat(W).toFixed(h) : Math.round(parseFloat(W)).toString();
|
|
5258
|
+
const [O, I] = he.includes(".") ? [",", "."] : [".", ","];
|
|
5259
|
+
let [z, D] = Z.includes(".") ? Z.split(".") : [Z, ""];
|
|
5260
|
+
if (z = z.replace(/\B(?=(\d{3})+(?!\d))/g, O), L = L.replace("{currency}", gt[o.currency] || o.currency).replace("{amount}", z).replace(V, P === "true" && D ? D : ""), P === "true" || !D) {
|
|
5261
|
+
const X = I === "." ? "\\." : I, Q = new RegExp(`${X}(?=[\\s\\D]|$)`, "g");
|
|
5254
5262
|
L = L.replace(Q, "").trim();
|
|
5255
5263
|
}
|
|
5256
5264
|
return L;
|
|
@@ -5258,26 +5266,26 @@ function hs(i, e, t) {
|
|
|
5258
5266
|
t(32, Ve = t(31, Lt = !1)), t(18, _t = ""), t(19, Nt = "popupTitle"), window.postMessage({ type: "CloseLimitsPopup" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href), t(28, we = !1);
|
|
5259
5267
|
}, Da = () => {
|
|
5260
5268
|
window.postMessage({ type: "uploadDocuments" }, window.location.href), si();
|
|
5261
|
-
}, ji = (
|
|
5269
|
+
}, ji = (o) => !o && !(o.length > 0) ? t(33, ot = !1) : (t(23, rt = o), Cn(rt, le) ? Pn(rt, Pe) ? t(33, ot = !0) : (console.error(s("fileExtenssionDeny")), t(33, ot = !1)) : (console.error(s("fileSizeExceeded")), t(33, ot = !1))), Ea = () => {
|
|
5262
5270
|
if (!ot)
|
|
5263
5271
|
return;
|
|
5264
5272
|
t(32, Ve = !1);
|
|
5265
|
-
const
|
|
5273
|
+
const o = new URL(`${v}/api/v1/mm/content/${k}/url-upload/`), l = {
|
|
5266
5274
|
method: "POST",
|
|
5267
5275
|
headers: {
|
|
5268
5276
|
"Content-Type": "application/json",
|
|
5269
|
-
"X-SessionId":
|
|
5277
|
+
"X-SessionId": S
|
|
5270
5278
|
},
|
|
5271
5279
|
body: JSON.stringify({})
|
|
5272
5280
|
};
|
|
5273
|
-
fetch(
|
|
5281
|
+
fetch(o, l).then((d) => Be(d)).then((d) => {
|
|
5274
5282
|
Ia(d);
|
|
5275
5283
|
}).catch((d) => {
|
|
5276
5284
|
console.error(s("errorUploadDocument"), d), t(23, rt = null), t(33, ot = !1);
|
|
5277
5285
|
});
|
|
5278
|
-
}, Ia = (
|
|
5286
|
+
}, Ia = (o) => {
|
|
5279
5287
|
const l = new FormData();
|
|
5280
|
-
l.append(
|
|
5288
|
+
l.append(o.requestId, rt[0]), fetch(o.url, { method: "POST", body: l }).then((d) => Be(d)).then((d) => {
|
|
5281
5289
|
window.postMessage(
|
|
5282
5290
|
{
|
|
5283
5291
|
type: "WidgetNotification",
|
|
@@ -5303,30 +5311,30 @@ function hs(i, e, t) {
|
|
|
5303
5311
|
si(), t(23, rt = null), t(33, ot = !1);
|
|
5304
5312
|
});
|
|
5305
5313
|
}, Ma = () => {
|
|
5306
|
-
let
|
|
5314
|
+
let o = ne({}, li), l = "";
|
|
5307
5315
|
if (G) {
|
|
5308
5316
|
const d = G.split(","), L = d[0].trim();
|
|
5309
5317
|
if (L.includes(":")) {
|
|
5310
|
-
const [
|
|
5311
|
-
l =
|
|
5318
|
+
const [y, h] = L.split(":").map((V) => V.trim());
|
|
5319
|
+
l = h || y;
|
|
5312
5320
|
} else
|
|
5313
5321
|
l = L;
|
|
5314
|
-
d.forEach((
|
|
5315
|
-
if (
|
|
5316
|
-
const [
|
|
5317
|
-
|
|
5322
|
+
d.forEach((y) => {
|
|
5323
|
+
if (y.includes(":")) {
|
|
5324
|
+
const [h, V] = y.split(":").map((W) => W.trim());
|
|
5325
|
+
h && (o[h] = V || h);
|
|
5318
5326
|
}
|
|
5319
5327
|
});
|
|
5320
5328
|
} else
|
|
5321
5329
|
p && (l = li[p] || p);
|
|
5322
|
-
l && (
|
|
5330
|
+
l && (o.GBP = l, o.EUR = l, o.USD = l, p && (o[p] = l)), t(24, gt = o);
|
|
5323
5331
|
}, xa = () => {
|
|
5324
5332
|
bn(f);
|
|
5325
|
-
}, Ui = (
|
|
5326
|
-
if (
|
|
5327
|
-
switch (
|
|
5333
|
+
}, Ui = (o) => {
|
|
5334
|
+
if (o.data)
|
|
5335
|
+
switch (o.data.type) {
|
|
5328
5336
|
case "LimitDisableState": {
|
|
5329
|
-
t(37, yi =
|
|
5337
|
+
t(37, yi = o.data.data);
|
|
5330
5338
|
break;
|
|
5331
5339
|
}
|
|
5332
5340
|
case "SubmitLimitNotification": {
|
|
@@ -5338,16 +5346,16 @@ function hs(i, e, t) {
|
|
|
5338
5346
|
mn(() => (window.addEventListener("message", Ui), lt && R.length && oi(), () => {
|
|
5339
5347
|
window.removeEventListener("message", Ui);
|
|
5340
5348
|
}));
|
|
5341
|
-
const ja = (
|
|
5349
|
+
const ja = (o) => ji(o.target.files), Ua = (o) => o && o.value && a.some((l) => l && l.toLowerCase() === o.value.toLowerCase()) && !o.isHiddenByHierarchy, Na = () => ei(), Ba = (o) => Ei(o.rawLimit), Oa = (o) => xi(o), Ra = (o) => Mi(o);
|
|
5342
5350
|
function Va() {
|
|
5343
5351
|
Xe = Ri(this), t(20, Xe);
|
|
5344
5352
|
}
|
|
5345
5353
|
const Wa = () => {
|
|
5346
5354
|
_i(), $t(), zi();
|
|
5347
|
-
}, Fa = (
|
|
5348
|
-
(
|
|
5349
|
-
}, qa = (
|
|
5350
|
-
(l.key === "Enter" || l.key === " ") && (l.preventDefault(), Qt(
|
|
5355
|
+
}, Fa = (o) => {
|
|
5356
|
+
(o.key === "Enter" || o.key === " ") && (o.preventDefault(), wi());
|
|
5357
|
+
}, qa = (o) => Qt(o), Ga = (o, l) => {
|
|
5358
|
+
(l.key === "Enter" || l.key === " ") && (l.preventDefault(), Qt(o));
|
|
5351
5359
|
};
|
|
5352
5360
|
function Ha() {
|
|
5353
5361
|
ve = Ri(this), t(14, ve), t(12, ae), t(13, K);
|
|
@@ -5355,17 +5363,17 @@ function hs(i, e, t) {
|
|
|
5355
5363
|
function Ka() {
|
|
5356
5364
|
$ = Eo(this.value), t(21, $);
|
|
5357
5365
|
}
|
|
5358
|
-
function Ya(
|
|
5359
|
-
dn[
|
|
5360
|
-
F =
|
|
5366
|
+
function Ya(o) {
|
|
5367
|
+
dn[o ? "unshift" : "push"](() => {
|
|
5368
|
+
F = o, t(8, F);
|
|
5361
5369
|
});
|
|
5362
5370
|
}
|
|
5363
|
-
return i.$$set = (
|
|
5364
|
-
"lang" in
|
|
5371
|
+
return i.$$set = (o) => {
|
|
5372
|
+
"lang" in o && t(0, f = o.lang), "currency" in o && t(1, p = o.currency), "limits" in o && t(61, b = o.limits), "session" in o && t(62, S = o.session), "userid" in o && t(63, k = o.userid), "endpoint" in o && t(64, v = o.endpoint), "apiversion" in o && t(65, _ = o.apiversion), "companylimits" in o && t(66, T = o.companylimits), "tablabels" in o && t(67, E = o.tablabels), "showcompanylimitsinfo" in o && t(68, M = o.showcompanylimitsinfo), "customcurrencysymbols" in o && t(69, G = o.customcurrencysymbols), "netdepositprogress" in o && t(70, Y = o.netdepositprogress), "enablecompliancetext" in o && t(2, te = o.enablecompliancetext), "deletelimit" in o && t(3, x = o.deletelimit), "amountsconfig" in o && t(71, q = o.amountsconfig), "periodsconfig" in o && t(72, _e = o.periodsconfig), "defaultperiod" in o && t(73, Le = o.defaultperiod), "limittabindex" in o && t(4, H = o.limittabindex), "tabcategory" in o && t(74, se = o.tabcategory), "limitformat" in o && t(75, he = o.limitformat), "allowedextenssion" in o && t(76, Pe = o.allowedextenssion), "filesizeallow" in o && t(77, le = o.filesizeallow), "clientstyling" in o && t(78, de = o.clientstyling), "clientstylingurl" in o && t(79, ue = o.clientstylingurl), "translationurl" in o && t(80, pe = o.translationurl), "mbsource" in o && t(81, ye = o.mbsource), "timezone" in o && t(82, Ze = o.timezone), "isLimitNotification" in o && t(5, Re = o.isLimitNotification), "cooloffstrictmode" in o && t(83, re = o.cooloffstrictmode), "inputhasdecimals" in o && t(6, P = o.inputhasdecimals), "usecustomdropdown" in o && t(7, N = o.usecustomdropdown), "$$scope" in o && t(88, m = o.$$scope);
|
|
5365
5373
|
}, i.$$.update = () => {
|
|
5366
5374
|
if (i.$$.dirty[2] & /*showcompanylimitsinfo*/
|
|
5367
5375
|
64 && t(10, Ie = M === "true"), i.$$.dirty[2] & /*companylimits*/
|
|
5368
|
-
16 && t(85, Rt =
|
|
5376
|
+
16 && t(85, Rt = T === "true"), i.$$.dirty[0] & /*isCompanyLimitsInfoEnabled*/
|
|
5369
5377
|
1024 | i.$$.dirty[2] & /*isCompanyLimits*/
|
|
5370
5378
|
8388608 && (Vt = Ie || Rt), i.$$.dirty[2] & /*netdepositprogress*/
|
|
5371
5379
|
256 && t(11, lt = Y === "true"), i.$$.dirty[0] & /*currency*/
|
|
@@ -5374,7 +5382,7 @@ function hs(i, e, t) {
|
|
|
5374
5382
|
1536 && _e && q && Vo(), i.$$.dirty[0] & /*lang*/
|
|
5375
5383
|
1 && f && xa(), i.$$.dirty[0] & /*lang, limittabindex*/
|
|
5376
5384
|
17 | i.$$.dirty[2] & /*userid, session, endpoint, apiversion, amountsconfig, periodsconfig*/
|
|
5377
|
-
1551 &&
|
|
5385
|
+
1551 && k && S && v && _ && f && H && q && _e && Fe(), i.$$.dirty[0] & /*customStylingContainer*/
|
|
5378
5386
|
256 | i.$$.dirty[2] & /*clientstyling*/
|
|
5379
5387
|
65536 && de && F && fn(F, de), i.$$.dirty[0] & /*customStylingContainer*/
|
|
5380
5388
|
256 | i.$$.dirty[2] & /*clientstylingurl*/
|
|
@@ -5383,20 +5391,20 @@ function hs(i, e, t) {
|
|
|
5383
5391
|
524288 && ye && F && Ln(F, `${ye}.Style`, Mo), i.$$.dirty[2] & /*translationurl*/
|
|
5384
5392
|
262144 && pe && Bo(), i.$$.dirty[0] & /*limittabindex*/
|
|
5385
5393
|
16 | i.$$.dirty[2] & /*tablabels*/
|
|
5386
|
-
32 && t(87,
|
|
5387
|
-
33554432 && t(86, r =
|
|
5388
|
-
16777216 && t(40,
|
|
5394
|
+
32 && t(87, n = (E || "").split(",")[Math.max(0, Number(H) - 1)] || ""), i.$$.dirty[2] & /*currentTabLabel*/
|
|
5395
|
+
33554432 && t(86, r = n.toLowerCase().includes("net") ? "netdeposit" : n.toLowerCase().includes("deposit") ? "deposit" : n.toLowerCase().includes("loss") ? "loss" : n.toLowerCase().includes("wager") ? "wagering" : ""), i.$$.dirty[2] & /*derivedCategory*/
|
|
5396
|
+
16777216 && t(40, a = Dt[r] || []), i.$$.dirty[0] & /*isNetDepositProgress, isCompanyLimitsInfoEnabled, availableLimits*/
|
|
5389
5397
|
3584 | i.$$.dirty[2] & /*progressBarContainers*/
|
|
5390
5398
|
4194304 && (lt || Ie) && R.length) {
|
|
5391
|
-
const
|
|
5392
|
-
var
|
|
5393
|
-
const L = ((
|
|
5399
|
+
const o = R.map((d) => {
|
|
5400
|
+
var y;
|
|
5401
|
+
const L = ((y = d.visibleLimitsInUI) == null ? void 0 : y.length) || 0;
|
|
5394
5402
|
return new Array(L).fill(null);
|
|
5395
5403
|
});
|
|
5396
|
-
(We.length !==
|
|
5397
|
-
var
|
|
5398
|
-
return (d == null ? void 0 : d.length) !== ((
|
|
5399
|
-
})) && (t(84, We =
|
|
5404
|
+
(We.length !== o.length || We.some((d, L) => {
|
|
5405
|
+
var y;
|
|
5406
|
+
return (d == null ? void 0 : d.length) !== ((y = o[L]) == null ? void 0 : y.length);
|
|
5407
|
+
})) && (t(84, We = o), vt().then(() => {
|
|
5400
5408
|
Pt();
|
|
5401
5409
|
}));
|
|
5402
5410
|
}
|
|
@@ -5416,11 +5424,11 @@ function hs(i, e, t) {
|
|
|
5416
5424
|
f,
|
|
5417
5425
|
p,
|
|
5418
5426
|
te,
|
|
5419
|
-
|
|
5427
|
+
x,
|
|
5420
5428
|
H,
|
|
5421
5429
|
Re,
|
|
5422
5430
|
P,
|
|
5423
|
-
|
|
5431
|
+
N,
|
|
5424
5432
|
F,
|
|
5425
5433
|
R,
|
|
5426
5434
|
Ie,
|
|
@@ -5453,7 +5461,7 @@ function hs(i, e, t) {
|
|
|
5453
5461
|
yi,
|
|
5454
5462
|
vi,
|
|
5455
5463
|
Ot,
|
|
5456
|
-
|
|
5464
|
+
a,
|
|
5457
5465
|
s,
|
|
5458
5466
|
jo,
|
|
5459
5467
|
wi,
|
|
@@ -5474,13 +5482,13 @@ function hs(i, e, t) {
|
|
|
5474
5482
|
Da,
|
|
5475
5483
|
ji,
|
|
5476
5484
|
Ea,
|
|
5477
|
-
|
|
5478
|
-
w,
|
|
5479
|
-
v,
|
|
5485
|
+
b,
|
|
5480
5486
|
S,
|
|
5487
|
+
k,
|
|
5488
|
+
v,
|
|
5481
5489
|
_,
|
|
5482
|
-
|
|
5483
|
-
|
|
5490
|
+
T,
|
|
5491
|
+
E,
|
|
5484
5492
|
M,
|
|
5485
5493
|
G,
|
|
5486
5494
|
Y,
|
|
@@ -5500,7 +5508,7 @@ function hs(i, e, t) {
|
|
|
5500
5508
|
We,
|
|
5501
5509
|
Rt,
|
|
5502
5510
|
r,
|
|
5503
|
-
|
|
5511
|
+
n,
|
|
5504
5512
|
m,
|
|
5505
5513
|
u,
|
|
5506
5514
|
ja,
|