@everymatrix/player-account-gaming-limits 1.94.4 → 1.94.6
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/{PlayerAccountGamingLimits-BcTONyZx.js → PlayerAccountGamingLimits-B2lDPqYe.js} +49 -49
- package/components/{PlayerAccountGamingLimits-DGPSEhSq.js → PlayerAccountGamingLimits-D4DRsnTb.js} +50 -50
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BzR0iTgA.js → PlayerAccountGamingLimitsConfirmationModal-CUXCSKFo.js} +11 -11
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DW9YXD09.js → PlayerAccountGamingLimitsConfirmationModal-tekC2aaa.js} +11 -11
- package/components/{PlayerAccountGamingLimitsGroupEdit-D9DLL9Ub.js → PlayerAccountGamingLimitsGroupEdit-B9doyIOX.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-_gevbTGG.js → PlayerAccountGamingLimitsGroupEdit-Bo3sCzp6.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-BEt0a6to.js → PlayerAccountGamingLimitsInfoCard-9HesPRnr.js} +45 -45
- package/components/{PlayerAccountGamingLimitsInfoCard-DXtq_IAq.js → PlayerAccountGamingLimitsInfoCard-BSUZSU0f.js} +45 -45
- package/components/{PlayerAccountGamingLimitsPopup-CW8vMurg.js → PlayerAccountGamingLimitsPopup-CPN4Aefp.js} +11 -11
- package/components/{PlayerAccountGamingLimitsPopup-BQq6ufhO.js → PlayerAccountGamingLimitsPopup-SN4eLJfD.js} +16 -16
- package/components/{PlayerAccountModal-CBgVyRp8.js → PlayerAccountModal-Bxi0vsQd.js} +28 -28
- package/components/{PlayerAccountModal-DotD4tIf.js → PlayerAccountModal-D7Yq-3_8.js} +32 -32
- package/es2015/player-account-gaming-limits.js +1 -1
- package/esnext/player-account-gaming-limits.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as Qe, a as Ge, S as Xe, x as Je, F as Ke, r as G, e as Ze, B as fe, n as W, y as N, o as v, i as $e, s as et, C as tt, g as it, f as L, E as nt, M as B, L as p, d as m, A as K, D as pe, R as H, O as U, q as ne, m as Pe, p as ge, z as Ee, I as at, J as rt, K as ot, k as lt, $ as st } from "./PlayerAccountGamingLimits-B2lDPqYe.js";
|
|
2
2
|
function ve(t, e) {
|
|
3
3
|
Qe(t, e);
|
|
4
4
|
}
|
|
@@ -294,7 +294,7 @@ if (typeof window != "undefined") {
|
|
|
294
294
|
}
|
|
295
295
|
};
|
|
296
296
|
};
|
|
297
|
-
customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsPopup-
|
|
297
|
+
customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsPopup-SN4eLJfD.js").then(({ default: e }) => {
|
|
298
298
|
!customElements.get("player-account-gaming-limits-popup") && customElements.define("player-account-gaming-limits-popup", e.element);
|
|
299
299
|
});
|
|
300
300
|
}
|
|
@@ -310,7 +310,7 @@ if (typeof window != "undefined") {
|
|
|
310
310
|
}
|
|
311
311
|
};
|
|
312
312
|
};
|
|
313
|
-
customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsGroupEdit-
|
|
313
|
+
customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsGroupEdit-Bo3sCzp6.js").then(({ default: e }) => {
|
|
314
314
|
!customElements.get("player-account-gaming-limits-group-edit") && customElements.define(
|
|
315
315
|
"player-account-gaming-limits-group-edit",
|
|
316
316
|
e.element
|
|
@@ -1129,10 +1129,10 @@ var Le = function(e, i) {
|
|
|
1129
1129
|
p: Ae,
|
|
1130
1130
|
P: Tt
|
|
1131
1131
|
}, Mt = ["D", "DD"], It = ["YY", "YYYY"];
|
|
1132
|
-
function
|
|
1132
|
+
function Ot(t) {
|
|
1133
1133
|
return Mt.indexOf(t) !== -1;
|
|
1134
1134
|
}
|
|
1135
|
-
function
|
|
1135
|
+
function St(t) {
|
|
1136
1136
|
return It.indexOf(t) !== -1;
|
|
1137
1137
|
}
|
|
1138
1138
|
function _e(t, e, i) {
|
|
@@ -1543,7 +1543,7 @@ function le(t, e, i) {
|
|
|
1543
1543
|
var k = V(t);
|
|
1544
1544
|
if (!pt(k))
|
|
1545
1545
|
throw new RangeError("Invalid time value");
|
|
1546
|
-
var R = ct(k), j = gt(k, R),
|
|
1546
|
+
var R = ct(k), j = gt(k, R), O = {
|
|
1547
1547
|
firstWeekContainsDate: C,
|
|
1548
1548
|
weekStartsOn: q,
|
|
1549
1549
|
locale: P,
|
|
@@ -1563,7 +1563,7 @@ function le(t, e, i) {
|
|
|
1563
1563
|
return gi(c);
|
|
1564
1564
|
var f = kt[g];
|
|
1565
1565
|
if (f)
|
|
1566
|
-
return
|
|
1566
|
+
return St(c) && _e(c, e, String(t)), Ot(c) && _e(c, e, String(t)), f(j, c, P.localize, O);
|
|
1567
1567
|
if (g.match(pi))
|
|
1568
1568
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + g + "`");
|
|
1569
1569
|
return c;
|
|
@@ -1602,7 +1602,7 @@ function vi(t) {
|
|
|
1602
1602
|
), o, l, s, h, w, u, y, M, b, Y, I, F, A, P, C = (
|
|
1603
1603
|
/*$_*/
|
|
1604
1604
|
t[16]("edit") + ""
|
|
1605
|
-
), q, k, R, j,
|
|
1605
|
+
), q, k, R, j, O;
|
|
1606
1606
|
function E(T, x) {
|
|
1607
1607
|
return (
|
|
1608
1608
|
/*limitname*/
|
|
@@ -1612,9 +1612,9 @@ function vi(t) {
|
|
|
1612
1612
|
let c = E(t), g = c(t), f = !/*amountIsUnset*/
|
|
1613
1613
|
t[10] && !/*limitsdata*/
|
|
1614
1614
|
t[0].isModified && /*changeableDataset*/
|
|
1615
|
-
t[15] &&
|
|
1615
|
+
t[15] && Oe(t), _ = (
|
|
1616
1616
|
/*openLimitsModal*/
|
|
1617
|
-
t[12] &&
|
|
1617
|
+
t[12] && Se(t)
|
|
1618
1618
|
);
|
|
1619
1619
|
return {
|
|
1620
1620
|
c() {
|
|
@@ -1644,7 +1644,7 @@ function vi(t) {
|
|
|
1644
1644
|
(t[17] ? "InfoCardMobileHeader" : "")), L(I, "class", "InfoCardTableRow"), L(Y, "class", "InfoCardTableWrapper"), L(P, "class", "InfoCardEditButton"), L(A, "class", "InfoCardControlArea"), L(b, "class", "InfoCard"), L(i, "class", "InfoCardWrapper"), L(e, "class", "InfoCardSection");
|
|
1645
1645
|
},
|
|
1646
1646
|
m(T, x) {
|
|
1647
|
-
N(T, e, x), m(e, i), m(i, a), m(a, n), m(n, o), m(a, l), m(a, s), m(s, h), m(s, w), m(s, u), m(i, M), m(i, b), m(b, Y), m(Y, I), g.m(I, null), m(b, F), m(b, A), m(A, P), m(P, q), m(A, k), f && f.m(A, null), m(e, R), _ && _.m(e, null), j || (
|
|
1647
|
+
N(T, e, x), m(e, i), m(i, a), m(a, n), m(n, o), m(a, l), m(a, s), m(s, h), m(s, w), m(s, u), m(i, M), m(i, b), m(b, Y), m(Y, I), g.m(I, null), m(b, F), m(b, A), m(A, P), m(P, q), m(A, k), f && f.m(A, null), m(e, R), _ && _.m(e, null), j || (O = [
|
|
1648
1648
|
K(h, "click", pe(
|
|
1649
1649
|
/*click_handler*/
|
|
1650
1650
|
t[24]
|
|
@@ -1698,11 +1698,11 @@ function vi(t) {
|
|
|
1698
1698
|
T[16]("edit") + "") && B(q, C), !/*amountIsUnset*/
|
|
1699
1699
|
T[10] && !/*limitsdata*/
|
|
1700
1700
|
T[0].isModified && /*changeableDataset*/
|
|
1701
|
-
T[15] ? f ? f.p(T, x) : (f =
|
|
1702
|
-
T[12] ? _ ? _.p(T, x) : (_ =
|
|
1701
|
+
T[15] ? f ? f.p(T, x) : (f = Oe(T), f.c(), f.m(A, null)) : f && (f.d(1), f = null), /*openLimitsModal*/
|
|
1702
|
+
T[12] ? _ ? _.p(T, x) : (_ = Se(T), _.c(), _.m(e, null)) : _ && (_.d(1), _ = null);
|
|
1703
1703
|
},
|
|
1704
1704
|
d(T) {
|
|
1705
|
-
T && W(e), g.d(), f && f.d(), _ && _.d(), j = !1, nt(
|
|
1705
|
+
T && W(e), g.d(), f && f.d(), _ && _.d(), j = !1, nt(O);
|
|
1706
1706
|
}
|
|
1707
1707
|
};
|
|
1708
1708
|
}
|
|
@@ -2055,7 +2055,7 @@ function De(t) {
|
|
|
2055
2055
|
f[41].expiryDate ? _i : Li
|
|
2056
2056
|
);
|
|
2057
2057
|
}
|
|
2058
|
-
let j = R(t),
|
|
2058
|
+
let j = R(t), O = j(t);
|
|
2059
2059
|
function E(f, _) {
|
|
2060
2060
|
if (_[0] & /*limitsdata, $_*/
|
|
2061
2061
|
65537 && (C = null), C == null && (C = /*itemInfo*/
|
|
@@ -2074,10 +2074,10 @@ function De(t) {
|
|
|
2074
2074
|
let c = E(t, [-1, -1]), g = c && c(t);
|
|
2075
2075
|
return {
|
|
2076
2076
|
c() {
|
|
2077
|
-
e = v("div"), i = v("div"), a = v("div"), n = v("div"), o = H(r), l = U(), s = v("div"), w = H(h), u = U(), k && k.c(), M = U(), b = v("div"), Y = v("div"), F = H(I), A = U(),
|
|
2077
|
+
e = v("div"), i = v("div"), a = v("div"), n = v("div"), o = H(r), l = U(), s = v("div"), w = H(h), u = U(), k && k.c(), M = U(), b = v("div"), Y = v("div"), F = H(I), A = U(), O.c(), P = U(), g && g.c(), q = U(), L(n, "class", "InfoCardRowTitle"), L(s, "class", "InfoCardRowValue"), L(a, "class", "InfoCardRow InfoMainRow"), L(Y, "class", "InfoCardRowTitle"), L(b, "class", "InfoCardRow"), L(i, "class", "InfoCardRowContainer"), L(e, "class", "InfoCardBox InfoCardMultipleItems");
|
|
2078
2078
|
},
|
|
2079
2079
|
m(f, _) {
|
|
2080
|
-
N(f, e, _), m(e, i), m(i, a), m(a, n), m(n, o), m(a, l), m(a, s), m(s, w), m(s, u), k && k.m(s, null), m(i, M), m(i, b), m(b, Y), m(Y, F), m(b, A),
|
|
2080
|
+
N(f, e, _), m(e, i), m(i, a), m(a, n), m(n, o), m(a, l), m(a, s), m(s, w), m(s, u), k && k.m(s, null), m(i, M), m(i, b), m(b, Y), m(Y, F), m(b, A), O.m(b, null), m(e, P), g && g.m(e, null), m(e, q);
|
|
2081
2081
|
},
|
|
2082
2082
|
p(f, _) {
|
|
2083
2083
|
_[0] & /*limitsdata, $_*/
|
|
@@ -2106,10 +2106,10 @@ function De(t) {
|
|
|
2106
2106
|
f[41].amount != /*$_*/
|
|
2107
2107
|
f[16]("noLimit")), y ? k ? k.p(f, _) : (k = Te(f), k.c(), k.m(s, null)) : k && (k.d(1), k = null), _[0] & /*$_*/
|
|
2108
2108
|
65536 && I !== (I = /*$_*/
|
|
2109
|
-
f[16]("expirationDate") + "") && B(F, I), j === (j = R(f)) &&
|
|
2109
|
+
f[16]("expirationDate") + "") && B(F, I), j === (j = R(f)) && O ? O.p(f, _) : (O.d(1), O = j(f), O && (O.c(), O.m(b, null))), c === (c = E(f, _)) && g ? g.p(f, _) : (g && g.d(1), g = c && c(f), g && (g.c(), g.m(e, q)));
|
|
2110
2110
|
},
|
|
2111
2111
|
d(f) {
|
|
2112
|
-
f && W(e), k && k.d(),
|
|
2112
|
+
f && W(e), k && k.d(), O.d(), g && g.d();
|
|
2113
2113
|
}
|
|
2114
2114
|
};
|
|
2115
2115
|
}
|
|
@@ -2268,7 +2268,7 @@ function Ii(t) {
|
|
|
2268
2268
|
}
|
|
2269
2269
|
};
|
|
2270
2270
|
}
|
|
2271
|
-
function
|
|
2271
|
+
function Oi(t) {
|
|
2272
2272
|
let e, i, a, n, r, o, l, s, h;
|
|
2273
2273
|
function w() {
|
|
2274
2274
|
return (
|
|
@@ -2354,7 +2354,7 @@ function Si(t) {
|
|
|
2354
2354
|
}
|
|
2355
2355
|
};
|
|
2356
2356
|
}
|
|
2357
|
-
function
|
|
2357
|
+
function Si(t) {
|
|
2358
2358
|
let e, i, a;
|
|
2359
2359
|
return {
|
|
2360
2360
|
c() {
|
|
@@ -2422,15 +2422,15 @@ function Ie(t) {
|
|
|
2422
2422
|
c[16]("noLimit") && /*itemInfo*/
|
|
2423
2423
|
c[41].amount !== "No limit" && !/*itemInfo*/
|
|
2424
2424
|
c[41].isModified), I)
|
|
2425
|
-
return
|
|
2425
|
+
return Si;
|
|
2426
2426
|
if (
|
|
2427
2427
|
/*itemInfo*/
|
|
2428
2428
|
c[41].amount != "No limit" && /*itemInfo*/
|
|
2429
2429
|
c[41].isModified
|
|
2430
2430
|
)
|
|
2431
|
-
return
|
|
2431
|
+
return Oi;
|
|
2432
2432
|
}
|
|
2433
|
-
let
|
|
2433
|
+
let O = j(t, [-1, -1]), E = O && O(t);
|
|
2434
2434
|
return {
|
|
2435
2435
|
c() {
|
|
2436
2436
|
e = v("div"), i = v("div"), a = v("div"), n = v("div"), o = H(r), l = U(), s = v("div"), C.c(), h = U(), w = v("div"), u = v("div"), M = H(y), b = U(), R.c(), Y = U(), E && E.c(), F = U(), L(n, "class", "InfoCardRowTitle"), L(s, "class", "InfoCardRowValue"), L(a, "class", "InfoCardRow InfoMainRow"), L(u, "class", "InfoCardRowTitle"), L(w, "class", "InfoCardRow"), L(i, "class", "InfoCardRowContainer"), L(e, "class", "InfoCardBox InfoCardMultipleItems");
|
|
@@ -2450,14 +2450,14 @@ function Ie(t) {
|
|
|
2450
2450
|
)
|
|
2451
2451
|
) : "") + "") && B(o, r), P === (P = A(c)) && C ? C.p(c, g) : (C.d(1), C = P(c), C && (C.c(), C.m(s, null))), g[0] & /*$_*/
|
|
2452
2452
|
65536 && y !== (y = /*$_*/
|
|
2453
|
-
c[16]("expirationDate") + "") && B(M, y), k === (k = q(c)) && R ? R.p(c, g) : (R.d(1), R = k(c), R && (R.c(), R.m(w, null))),
|
|
2453
|
+
c[16]("expirationDate") + "") && B(M, y), k === (k = q(c)) && R ? R.p(c, g) : (R.d(1), R = k(c), R && (R.c(), R.m(w, null))), O === (O = j(c, g)) && E ? E.p(c, g) : (E && E.d(1), E = O && O(c), E && (E.c(), E.m(e, F)));
|
|
2454
2454
|
},
|
|
2455
2455
|
d(c) {
|
|
2456
2456
|
c && W(e), C.d(), R.d(), E && E.d();
|
|
2457
2457
|
}
|
|
2458
2458
|
};
|
|
2459
2459
|
}
|
|
2460
|
-
function
|
|
2460
|
+
function Oe(t) {
|
|
2461
2461
|
let e, i = (
|
|
2462
2462
|
/*$_*/
|
|
2463
2463
|
t[16]("removeLimits") + ""
|
|
@@ -2484,7 +2484,7 @@ function Se(t) {
|
|
|
2484
2484
|
}
|
|
2485
2485
|
};
|
|
2486
2486
|
}
|
|
2487
|
-
function
|
|
2487
|
+
function Se(t) {
|
|
2488
2488
|
let e, i, a;
|
|
2489
2489
|
return {
|
|
2490
2490
|
c() {
|
|
@@ -2624,18 +2624,18 @@ function Ei(t, e, i) {
|
|
|
2624
2624
|
$e(t, st, (d) => i(16, a = d));
|
|
2625
2625
|
let { limitsdata: n = [] } = e, { limitname: r = "" } = e, { currency: o = "" } = e, { lang: l = "en" } = e, { clientstyling: s = "" } = e, { clientstylingurl: h = "" } = e, { mbsource: w } = e, { translationurl: u = "" } = e;
|
|
2626
2626
|
const y = () => {
|
|
2627
|
-
fetch(u).then((
|
|
2628
|
-
Object.keys(
|
|
2629
|
-
ve(Q,
|
|
2627
|
+
fetch(u).then((S) => S.json()).then((S) => {
|
|
2628
|
+
Object.keys(S).forEach((Q) => {
|
|
2629
|
+
ve(Q, S[Q]);
|
|
2630
2630
|
});
|
|
2631
|
-
}).catch((
|
|
2632
|
-
console.log(
|
|
2631
|
+
}).catch((S) => {
|
|
2632
|
+
console.log(S);
|
|
2633
2633
|
});
|
|
2634
2634
|
};
|
|
2635
2635
|
Object.keys(we).forEach((d) => {
|
|
2636
2636
|
ve(d, we[d]);
|
|
2637
2637
|
});
|
|
2638
|
-
let M = !0, b, Y, I = new Array(5).fill(0), F = ["Daily", "Weekly", "Monthly"], A = !0, P = !0, C = !1, q = window.navigator.userAgent, k = et(q) !== "PC", R = "", j = "",
|
|
2638
|
+
let M = !0, b, Y, I = new Array(5).fill(0), F = ["Daily", "Weekly", "Monthly"], A = !0, P = !0, C = !1, q = window.navigator.userAgent, k = et(q) !== "PC", R = "", j = "", O = !0, E = /* @__PURE__ */ new Date();
|
|
2639
2639
|
const c = (d) => {
|
|
2640
2640
|
window.postMessage(
|
|
2641
2641
|
{
|
|
@@ -2654,12 +2654,12 @@ function Ei(t, e, i) {
|
|
|
2654
2654
|
},
|
|
2655
2655
|
window.location.href
|
|
2656
2656
|
);
|
|
2657
|
-
}, f = (d,
|
|
2657
|
+
}, f = (d, S) => {
|
|
2658
2658
|
i(12, C = !0), i(11, P = !1), window.postMessage({ type: "ShowLimitsConfirmationModal" }, window.location.href), window.postMessage(
|
|
2659
2659
|
{
|
|
2660
2660
|
type: "DeleteLimitsItem",
|
|
2661
2661
|
removeData: d,
|
|
2662
|
-
removeName:
|
|
2662
|
+
removeName: S
|
|
2663
2663
|
},
|
|
2664
2664
|
window.location.href
|
|
2665
2665
|
);
|
|
@@ -2676,13 +2676,13 @@ function Ei(t, e, i) {
|
|
|
2676
2676
|
50
|
|
2677
2677
|
);
|
|
2678
2678
|
}, T = (d) => {
|
|
2679
|
-
let
|
|
2679
|
+
let S = [...d];
|
|
2680
2680
|
F.forEach((Q, me) => {
|
|
2681
|
-
|
|
2682
|
-
const ee =
|
|
2681
|
+
S.find((de) => de.period === Q) || (S = x(S, me, Q));
|
|
2682
|
+
const ee = S.find((de) => de.period === Q);
|
|
2683
2683
|
ee && ee.amount !== "No limit" && i(10, A = !1);
|
|
2684
|
-
}), d.splice(0, d.length, ...
|
|
2685
|
-
}, x = (d,
|
|
2684
|
+
}), d.splice(0, d.length, ...S), i(8, M = !1);
|
|
2685
|
+
}, x = (d, S, Q) => {
|
|
2686
2686
|
const me = {
|
|
2687
2687
|
period: Q,
|
|
2688
2688
|
amount: "No limit",
|
|
@@ -2690,13 +2690,13 @@ function Ei(t, e, i) {
|
|
|
2690
2690
|
isModified: !1,
|
|
2691
2691
|
expiryDate: ""
|
|
2692
2692
|
}, ee = [...d];
|
|
2693
|
-
return ee.splice(
|
|
2694
|
-
}, Ye = (d,
|
|
2693
|
+
return ee.splice(S, 0, me), ee;
|
|
2694
|
+
}, Ye = (d, S) => d.period === "Weekly" && S.period === "Daily" || d.period === "Monthly" && S.period === "Daily" || d.period === "Monthly" && S.period === "Weekly" ? 1 : d.period === "Daily" && S.period === "Weekly" || d.period === "Daily" && S.period === "Monthly" || d.period === "Weekly" && S.period === "Monthly" ? -1 : 0, Ue = () => {
|
|
2695
2695
|
let d = "";
|
|
2696
2696
|
d = r === "Time Limit" ? "time limit" : r === "Deposit Limit" ? "deposit limit" : r === "Wagering Limit" ? "wagering limit" : "loss limit", i(13, R = a("removeLimitsText", { values: { limit: d } })), i(14, j = a("removeLimitText", { values: { limit: d } }));
|
|
2697
2697
|
}, Fe = (d) => {
|
|
2698
|
-
d.forEach((
|
|
2699
|
-
|
|
2698
|
+
d.forEach((S) => {
|
|
2699
|
+
S.isModified && i(15, O = !1);
|
|
2700
2700
|
});
|
|
2701
2701
|
}, qe = () => {
|
|
2702
2702
|
ut(l), Ue(), Fe(n), T(n), n.sort(Ye);
|
|
@@ -2745,7 +2745,7 @@ function Ei(t, e, i) {
|
|
|
2745
2745
|
C,
|
|
2746
2746
|
R,
|
|
2747
2747
|
j,
|
|
2748
|
-
|
|
2748
|
+
O,
|
|
2749
2749
|
a,
|
|
2750
2750
|
k,
|
|
2751
2751
|
E,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as Qe, a as Ge, S as Xe, x as Je, r as G, F as Ke, k as Ze, e as $e, B as fe, n as W, y as N, o as v, i as et, s as tt, C as it, g as nt, f as L, E as at, M as B, L as p, d as m, A as K, D as pe, R as H, O as U, q as ne, m as Pe, p as ge, z as Ee, $ as rt, I as ot, J as lt, K as st } from "./PlayerAccountGamingLimits-D4DRsnTb.js";
|
|
2
2
|
function ve(t, e) {
|
|
3
3
|
Qe(t, e);
|
|
4
4
|
}
|
|
@@ -294,7 +294,7 @@ if (typeof window < "u") {
|
|
|
294
294
|
}
|
|
295
295
|
};
|
|
296
296
|
};
|
|
297
|
-
customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsPopup-
|
|
297
|
+
customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsPopup-CPN4Aefp.js").then(({ default: e }) => {
|
|
298
298
|
!customElements.get("player-account-gaming-limits-popup") && customElements.define("player-account-gaming-limits-popup", e.element);
|
|
299
299
|
});
|
|
300
300
|
}
|
|
@@ -310,7 +310,7 @@ if (typeof window < "u") {
|
|
|
310
310
|
}
|
|
311
311
|
};
|
|
312
312
|
};
|
|
313
|
-
customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsGroupEdit-
|
|
313
|
+
customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsGroupEdit-B9doyIOX.js").then(({ default: e }) => {
|
|
314
314
|
!customElements.get("player-account-gaming-limits-group-edit") && customElements.define(
|
|
315
315
|
"player-account-gaming-limits-group-edit",
|
|
316
316
|
e.element
|
|
@@ -1129,10 +1129,10 @@ var Le = function(e, i) {
|
|
|
1129
1129
|
p: Ae,
|
|
1130
1130
|
P: Tt
|
|
1131
1131
|
}, Mt = ["D", "DD"], It = ["YY", "YYYY"];
|
|
1132
|
-
function
|
|
1132
|
+
function Ot(t) {
|
|
1133
1133
|
return Mt.indexOf(t) !== -1;
|
|
1134
1134
|
}
|
|
1135
|
-
function
|
|
1135
|
+
function St(t) {
|
|
1136
1136
|
return It.indexOf(t) !== -1;
|
|
1137
1137
|
}
|
|
1138
1138
|
function _e(t, e, i) {
|
|
@@ -1543,7 +1543,7 @@ function le(t, e, i) {
|
|
|
1543
1543
|
var k = V(t);
|
|
1544
1544
|
if (!pt(k))
|
|
1545
1545
|
throw new RangeError("Invalid time value");
|
|
1546
|
-
var R = ct(k), j = gt(k, R),
|
|
1546
|
+
var R = ct(k), j = gt(k, R), O = {
|
|
1547
1547
|
firstWeekContainsDate: C,
|
|
1548
1548
|
weekStartsOn: q,
|
|
1549
1549
|
locale: P,
|
|
@@ -1563,7 +1563,7 @@ function le(t, e, i) {
|
|
|
1563
1563
|
return gi(c);
|
|
1564
1564
|
var f = kt[g];
|
|
1565
1565
|
if (f)
|
|
1566
|
-
return
|
|
1566
|
+
return St(c) && _e(c, e, String(t)), Ot(c) && _e(c, e, String(t)), f(j, c, P.localize, O);
|
|
1567
1567
|
if (g.match(pi))
|
|
1568
1568
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + g + "`");
|
|
1569
1569
|
return c;
|
|
@@ -1602,7 +1602,7 @@ function vi(t) {
|
|
|
1602
1602
|
), o, l, s, h, w, u, y, M, b, Y, I, F, A, P, C = (
|
|
1603
1603
|
/*$_*/
|
|
1604
1604
|
t[16]("edit") + ""
|
|
1605
|
-
), q, k, R, j,
|
|
1605
|
+
), q, k, R, j, O;
|
|
1606
1606
|
function E(T, x) {
|
|
1607
1607
|
return (
|
|
1608
1608
|
/*limitname*/
|
|
@@ -1612,9 +1612,9 @@ function vi(t) {
|
|
|
1612
1612
|
let c = E(t), g = c(t), f = !/*amountIsUnset*/
|
|
1613
1613
|
t[10] && !/*limitsdata*/
|
|
1614
1614
|
t[0].isModified && /*changeableDataset*/
|
|
1615
|
-
t[15] &&
|
|
1615
|
+
t[15] && Oe(t), _ = (
|
|
1616
1616
|
/*openLimitsModal*/
|
|
1617
|
-
t[12] &&
|
|
1617
|
+
t[12] && Se(t)
|
|
1618
1618
|
);
|
|
1619
1619
|
return {
|
|
1620
1620
|
c() {
|
|
@@ -1644,7 +1644,7 @@ function vi(t) {
|
|
|
1644
1644
|
(t[17] ? "InfoCardMobileHeader" : "")), L(I, "class", "InfoCardTableRow"), L(Y, "class", "InfoCardTableWrapper"), L(P, "class", "InfoCardEditButton"), L(A, "class", "InfoCardControlArea"), L(b, "class", "InfoCard"), L(i, "class", "InfoCardWrapper"), L(e, "class", "InfoCardSection");
|
|
1645
1645
|
},
|
|
1646
1646
|
m(T, x) {
|
|
1647
|
-
N(T, e, x), m(e, i), m(i, a), m(a, n), m(n, o), m(a, l), m(a, s), m(s, h), m(s, w), m(s, u), m(i, M), m(i, b), m(b, Y), m(Y, I), g.m(I, null), m(b, F), m(b, A), m(A, P), m(P, q), m(A, k), f && f.m(A, null), m(e, R), _ && _.m(e, null), j || (
|
|
1647
|
+
N(T, e, x), m(e, i), m(i, a), m(a, n), m(n, o), m(a, l), m(a, s), m(s, h), m(s, w), m(s, u), m(i, M), m(i, b), m(b, Y), m(Y, I), g.m(I, null), m(b, F), m(b, A), m(A, P), m(P, q), m(A, k), f && f.m(A, null), m(e, R), _ && _.m(e, null), j || (O = [
|
|
1648
1648
|
K(h, "click", pe(
|
|
1649
1649
|
/*click_handler*/
|
|
1650
1650
|
t[24]
|
|
@@ -1698,11 +1698,11 @@ function vi(t) {
|
|
|
1698
1698
|
T[16]("edit") + "") && B(q, C), !/*amountIsUnset*/
|
|
1699
1699
|
T[10] && !/*limitsdata*/
|
|
1700
1700
|
T[0].isModified && /*changeableDataset*/
|
|
1701
|
-
T[15] ? f ? f.p(T, x) : (f =
|
|
1702
|
-
T[12] ? _ ? _.p(T, x) : (_ =
|
|
1701
|
+
T[15] ? f ? f.p(T, x) : (f = Oe(T), f.c(), f.m(A, null)) : f && (f.d(1), f = null), /*openLimitsModal*/
|
|
1702
|
+
T[12] ? _ ? _.p(T, x) : (_ = Se(T), _.c(), _.m(e, null)) : _ && (_.d(1), _ = null);
|
|
1703
1703
|
},
|
|
1704
1704
|
d(T) {
|
|
1705
|
-
T && W(e), g.d(), f && f.d(), _ && _.d(), j = !1, at(
|
|
1705
|
+
T && W(e), g.d(), f && f.d(), _ && _.d(), j = !1, at(O);
|
|
1706
1706
|
}
|
|
1707
1707
|
};
|
|
1708
1708
|
}
|
|
@@ -2055,7 +2055,7 @@ function De(t) {
|
|
|
2055
2055
|
f[41].expiryDate ? _i : Li
|
|
2056
2056
|
);
|
|
2057
2057
|
}
|
|
2058
|
-
let j = R(t),
|
|
2058
|
+
let j = R(t), O = j(t);
|
|
2059
2059
|
function E(f, _) {
|
|
2060
2060
|
if (_[0] & /*limitsdata, $_*/
|
|
2061
2061
|
65537 && (C = null), C == null && (C = /*itemInfo*/
|
|
@@ -2074,10 +2074,10 @@ function De(t) {
|
|
|
2074
2074
|
let c = E(t, [-1, -1]), g = c && c(t);
|
|
2075
2075
|
return {
|
|
2076
2076
|
c() {
|
|
2077
|
-
e = v("div"), i = v("div"), a = v("div"), n = v("div"), o = H(r), l = U(), s = v("div"), w = H(h), u = U(), k && k.c(), M = U(), b = v("div"), Y = v("div"), F = H(I), A = U(),
|
|
2077
|
+
e = v("div"), i = v("div"), a = v("div"), n = v("div"), o = H(r), l = U(), s = v("div"), w = H(h), u = U(), k && k.c(), M = U(), b = v("div"), Y = v("div"), F = H(I), A = U(), O.c(), P = U(), g && g.c(), q = U(), L(n, "class", "InfoCardRowTitle"), L(s, "class", "InfoCardRowValue"), L(a, "class", "InfoCardRow InfoMainRow"), L(Y, "class", "InfoCardRowTitle"), L(b, "class", "InfoCardRow"), L(i, "class", "InfoCardRowContainer"), L(e, "class", "InfoCardBox InfoCardMultipleItems");
|
|
2078
2078
|
},
|
|
2079
2079
|
m(f, _) {
|
|
2080
|
-
N(f, e, _), m(e, i), m(i, a), m(a, n), m(n, o), m(a, l), m(a, s), m(s, w), m(s, u), k && k.m(s, null), m(i, M), m(i, b), m(b, Y), m(Y, F), m(b, A),
|
|
2080
|
+
N(f, e, _), m(e, i), m(i, a), m(a, n), m(n, o), m(a, l), m(a, s), m(s, w), m(s, u), k && k.m(s, null), m(i, M), m(i, b), m(b, Y), m(Y, F), m(b, A), O.m(b, null), m(e, P), g && g.m(e, null), m(e, q);
|
|
2081
2081
|
},
|
|
2082
2082
|
p(f, _) {
|
|
2083
2083
|
_[0] & /*limitsdata, $_*/
|
|
@@ -2106,10 +2106,10 @@ function De(t) {
|
|
|
2106
2106
|
f[41].amount != /*$_*/
|
|
2107
2107
|
f[16]("noLimit")), y ? k ? k.p(f, _) : (k = Te(f), k.c(), k.m(s, null)) : k && (k.d(1), k = null), _[0] & /*$_*/
|
|
2108
2108
|
65536 && I !== (I = /*$_*/
|
|
2109
|
-
f[16]("expirationDate") + "") && B(F, I), j === (j = R(f)) &&
|
|
2109
|
+
f[16]("expirationDate") + "") && B(F, I), j === (j = R(f)) && O ? O.p(f, _) : (O.d(1), O = j(f), O && (O.c(), O.m(b, null))), c === (c = E(f, _)) && g ? g.p(f, _) : (g && g.d(1), g = c && c(f), g && (g.c(), g.m(e, q)));
|
|
2110
2110
|
},
|
|
2111
2111
|
d(f) {
|
|
2112
|
-
f && W(e), k && k.d(),
|
|
2112
|
+
f && W(e), k && k.d(), O.d(), g && g.d();
|
|
2113
2113
|
}
|
|
2114
2114
|
};
|
|
2115
2115
|
}
|
|
@@ -2268,7 +2268,7 @@ function Ii(t) {
|
|
|
2268
2268
|
}
|
|
2269
2269
|
};
|
|
2270
2270
|
}
|
|
2271
|
-
function
|
|
2271
|
+
function Oi(t) {
|
|
2272
2272
|
let e, i, a, n, r, o, l, s, h;
|
|
2273
2273
|
function w() {
|
|
2274
2274
|
return (
|
|
@@ -2354,7 +2354,7 @@ function Si(t) {
|
|
|
2354
2354
|
}
|
|
2355
2355
|
};
|
|
2356
2356
|
}
|
|
2357
|
-
function
|
|
2357
|
+
function Si(t) {
|
|
2358
2358
|
let e, i, a;
|
|
2359
2359
|
return {
|
|
2360
2360
|
c() {
|
|
@@ -2422,15 +2422,15 @@ function Ie(t) {
|
|
|
2422
2422
|
c[16]("noLimit") && /*itemInfo*/
|
|
2423
2423
|
c[41].amount !== "No limit" && !/*itemInfo*/
|
|
2424
2424
|
c[41].isModified), I)
|
|
2425
|
-
return
|
|
2425
|
+
return Si;
|
|
2426
2426
|
if (
|
|
2427
2427
|
/*itemInfo*/
|
|
2428
2428
|
c[41].amount != "No limit" && /*itemInfo*/
|
|
2429
2429
|
c[41].isModified
|
|
2430
2430
|
)
|
|
2431
|
-
return
|
|
2431
|
+
return Oi;
|
|
2432
2432
|
}
|
|
2433
|
-
let
|
|
2433
|
+
let O = j(t, [-1, -1]), E = O && O(t);
|
|
2434
2434
|
return {
|
|
2435
2435
|
c() {
|
|
2436
2436
|
e = v("div"), i = v("div"), a = v("div"), n = v("div"), o = H(r), l = U(), s = v("div"), C.c(), h = U(), w = v("div"), u = v("div"), M = H(y), b = U(), R.c(), Y = U(), E && E.c(), F = U(), L(n, "class", "InfoCardRowTitle"), L(s, "class", "InfoCardRowValue"), L(a, "class", "InfoCardRow InfoMainRow"), L(u, "class", "InfoCardRowTitle"), L(w, "class", "InfoCardRow"), L(i, "class", "InfoCardRowContainer"), L(e, "class", "InfoCardBox InfoCardMultipleItems");
|
|
@@ -2450,14 +2450,14 @@ function Ie(t) {
|
|
|
2450
2450
|
)
|
|
2451
2451
|
) : "") + "") && B(o, r), P === (P = A(c)) && C ? C.p(c, g) : (C.d(1), C = P(c), C && (C.c(), C.m(s, null))), g[0] & /*$_*/
|
|
2452
2452
|
65536 && y !== (y = /*$_*/
|
|
2453
|
-
c[16]("expirationDate") + "") && B(M, y), k === (k = q(c)) && R ? R.p(c, g) : (R.d(1), R = k(c), R && (R.c(), R.m(w, null))),
|
|
2453
|
+
c[16]("expirationDate") + "") && B(M, y), k === (k = q(c)) && R ? R.p(c, g) : (R.d(1), R = k(c), R && (R.c(), R.m(w, null))), O === (O = j(c, g)) && E ? E.p(c, g) : (E && E.d(1), E = O && O(c), E && (E.c(), E.m(e, F)));
|
|
2454
2454
|
},
|
|
2455
2455
|
d(c) {
|
|
2456
2456
|
c && W(e), C.d(), R.d(), E && E.d();
|
|
2457
2457
|
}
|
|
2458
2458
|
};
|
|
2459
2459
|
}
|
|
2460
|
-
function
|
|
2460
|
+
function Oe(t) {
|
|
2461
2461
|
let e, i = (
|
|
2462
2462
|
/*$_*/
|
|
2463
2463
|
t[16]("removeLimits") + ""
|
|
@@ -2484,7 +2484,7 @@ function Se(t) {
|
|
|
2484
2484
|
}
|
|
2485
2485
|
};
|
|
2486
2486
|
}
|
|
2487
|
-
function
|
|
2487
|
+
function Se(t) {
|
|
2488
2488
|
let e, i, a;
|
|
2489
2489
|
return {
|
|
2490
2490
|
c() {
|
|
@@ -2624,18 +2624,18 @@ function Ei(t, e, i) {
|
|
|
2624
2624
|
et(t, rt, (d) => i(16, a = d));
|
|
2625
2625
|
let { limitsdata: n = [] } = e, { limitname: r = "" } = e, { currency: o = "" } = e, { lang: l = "en" } = e, { clientstyling: s = "" } = e, { clientstylingurl: h = "" } = e, { mbsource: w } = e, { translationurl: u = "" } = e;
|
|
2626
2626
|
const y = () => {
|
|
2627
|
-
fetch(u).then((
|
|
2628
|
-
Object.keys(
|
|
2629
|
-
ve(Q,
|
|
2627
|
+
fetch(u).then((S) => S.json()).then((S) => {
|
|
2628
|
+
Object.keys(S).forEach((Q) => {
|
|
2629
|
+
ve(Q, S[Q]);
|
|
2630
2630
|
});
|
|
2631
|
-
}).catch((
|
|
2632
|
-
console.log(
|
|
2631
|
+
}).catch((S) => {
|
|
2632
|
+
console.log(S);
|
|
2633
2633
|
});
|
|
2634
2634
|
};
|
|
2635
2635
|
Object.keys(we).forEach((d) => {
|
|
2636
2636
|
ve(d, we[d]);
|
|
2637
2637
|
});
|
|
2638
|
-
let M = !0, b, Y, I = new Array(5).fill(0), F = ["Daily", "Weekly", "Monthly"], A = !0, P = !0, C = !1, q = window.navigator.userAgent, k = tt(q) !== "PC", R = "", j = "",
|
|
2638
|
+
let M = !0, b, Y, I = new Array(5).fill(0), F = ["Daily", "Weekly", "Monthly"], A = !0, P = !0, C = !1, q = window.navigator.userAgent, k = tt(q) !== "PC", R = "", j = "", O = !0, E = /* @__PURE__ */ new Date();
|
|
2639
2639
|
const c = (d) => {
|
|
2640
2640
|
window.postMessage(
|
|
2641
2641
|
{
|
|
@@ -2654,12 +2654,12 @@ function Ei(t, e, i) {
|
|
|
2654
2654
|
},
|
|
2655
2655
|
window.location.href
|
|
2656
2656
|
);
|
|
2657
|
-
}, f = (d,
|
|
2657
|
+
}, f = (d, S) => {
|
|
2658
2658
|
i(12, C = !0), i(11, P = !1), window.postMessage({ type: "ShowLimitsConfirmationModal" }, window.location.href), window.postMessage(
|
|
2659
2659
|
{
|
|
2660
2660
|
type: "DeleteLimitsItem",
|
|
2661
2661
|
removeData: d,
|
|
2662
|
-
removeName:
|
|
2662
|
+
removeName: S
|
|
2663
2663
|
},
|
|
2664
2664
|
window.location.href
|
|
2665
2665
|
);
|
|
@@ -2676,13 +2676,13 @@ function Ei(t, e, i) {
|
|
|
2676
2676
|
50
|
|
2677
2677
|
);
|
|
2678
2678
|
}, T = (d) => {
|
|
2679
|
-
let
|
|
2679
|
+
let S = [...d];
|
|
2680
2680
|
F.forEach((Q, me) => {
|
|
2681
|
-
|
|
2682
|
-
const ee =
|
|
2681
|
+
S.find((de) => de.period === Q) || (S = x(S, me, Q));
|
|
2682
|
+
const ee = S.find((de) => de.period === Q);
|
|
2683
2683
|
ee && ee.amount !== "No limit" && i(10, A = !1);
|
|
2684
|
-
}), d.splice(0, d.length, ...
|
|
2685
|
-
}, x = (d,
|
|
2684
|
+
}), d.splice(0, d.length, ...S), i(8, M = !1);
|
|
2685
|
+
}, x = (d, S, Q) => {
|
|
2686
2686
|
const me = {
|
|
2687
2687
|
period: Q,
|
|
2688
2688
|
amount: "No limit",
|
|
@@ -2690,13 +2690,13 @@ function Ei(t, e, i) {
|
|
|
2690
2690
|
isModified: !1,
|
|
2691
2691
|
expiryDate: ""
|
|
2692
2692
|
}, ee = [...d];
|
|
2693
|
-
return ee.splice(
|
|
2694
|
-
}, Ye = (d,
|
|
2693
|
+
return ee.splice(S, 0, me), ee;
|
|
2694
|
+
}, Ye = (d, S) => d.period === "Weekly" && S.period === "Daily" || d.period === "Monthly" && S.period === "Daily" || d.period === "Monthly" && S.period === "Weekly" ? 1 : d.period === "Daily" && S.period === "Weekly" || d.period === "Daily" && S.period === "Monthly" || d.period === "Weekly" && S.period === "Monthly" ? -1 : 0, Ue = () => {
|
|
2695
2695
|
let d = "";
|
|
2696
2696
|
d = r === "Time Limit" ? "time limit" : r === "Deposit Limit" ? "deposit limit" : r === "Wagering Limit" ? "wagering limit" : "loss limit", i(13, R = a("removeLimitsText", { values: { limit: d } })), i(14, j = a("removeLimitText", { values: { limit: d } }));
|
|
2697
2697
|
}, Fe = (d) => {
|
|
2698
|
-
d.forEach((
|
|
2699
|
-
|
|
2698
|
+
d.forEach((S) => {
|
|
2699
|
+
S.isModified && i(15, O = !1);
|
|
2700
2700
|
});
|
|
2701
2701
|
}, qe = () => {
|
|
2702
2702
|
ut(l), Ue(), Fe(n), T(n), n.sort(Ye);
|
|
@@ -2745,7 +2745,7 @@ function Ei(t, e, i) {
|
|
|
2745
2745
|
C,
|
|
2746
2746
|
R,
|
|
2747
2747
|
j,
|
|
2748
|
-
|
|
2748
|
+
O,
|
|
2749
2749
|
a,
|
|
2750
2750
|
k,
|
|
2751
2751
|
E,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as A, a as B, S as O, x as Y, F as D, r as v, e as V, B as W, n as q, y as _, p as H, i as N, s as U, C as R, M as z, f as m, d, A as K, D as Q, o as h, O as M, R as F, g as J, I as X, J as Z, K as $, k as ee, $ as te } from "./PlayerAccountGamingLimits-D4DRsnTb.js";
|
|
2
2
|
function L(a, e) {
|
|
3
3
|
A(a, e);
|
|
4
4
|
}
|
|
@@ -84,7 +84,7 @@ function E(a) {
|
|
|
84
84
|
let k = T(a), s = k(a);
|
|
85
85
|
return {
|
|
86
86
|
c() {
|
|
87
|
-
e = h("section"), t = h("div"), i = h("div"), o = h("div"), o.textContent = "i", r = M(), p = h("div"), g =
|
|
87
|
+
e = h("section"), t = h("div"), i = h("div"), o = h("div"), o.textContent = "i", r = M(), p = h("div"), g = F(b), C = M(), c = h("div"), c.innerHTML = '<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>', w = M(), x = h("div"), s.c(), m(o, "class", "InfoCardPopupIcon"), m(p, "class", "InfoCardPopupTitle"), m(c, "class", "InfoCardPopupCloseButton"), m(i, "class", "InfoCardPopupHeader"), m(x, "class", "InfoCardPopupContentArea"), m(t, "class", f = "InfoCardPopupWrapper " + /*isMobile*/
|
|
88
88
|
(a[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
|
|
89
89
|
(a[0] ? "InfoCardPopupLimitChanged" : "")), m(
|
|
90
90
|
e,
|
|
@@ -94,7 +94,7 @@ function E(a) {
|
|
|
94
94
|
);
|
|
95
95
|
},
|
|
96
96
|
m(l, y) {
|
|
97
|
-
_(l, e, y), d(e, t), d(t, i), d(i, o), d(i, r), d(i, p), d(p, g), d(i, C), d(i, c), d(t, w), d(t, x), s.m(x, null), a[13](e), u || (I =
|
|
97
|
+
_(l, e, y), d(e, t), d(t, i), d(i, o), d(i, r), d(i, p), d(p, g), d(i, C), d(i, c), d(t, w), d(t, x), s.m(x, null), a[13](e), u || (I = K(c, "click", Q(
|
|
98
98
|
/*closeInfoPopup*/
|
|
99
99
|
a[6]
|
|
100
100
|
)), u = !0);
|
|
@@ -119,7 +119,7 @@ function oe(a) {
|
|
|
119
119
|
), i;
|
|
120
120
|
return {
|
|
121
121
|
c() {
|
|
122
|
-
e = h("p"), i =
|
|
122
|
+
e = h("p"), i = F(t), m(e, "class", "InfoCardPopupContent");
|
|
123
123
|
},
|
|
124
124
|
m(o, r) {
|
|
125
125
|
_(o, e, r), d(e, i);
|
|
@@ -152,7 +152,7 @@ function ne(a) {
|
|
|
152
152
|
), i;
|
|
153
153
|
return {
|
|
154
154
|
c() {
|
|
155
|
-
e = h("p"), i =
|
|
155
|
+
e = h("p"), i = F(t), m(e, "class", "InfoCardPopupContent");
|
|
156
156
|
},
|
|
157
157
|
m(o, r) {
|
|
158
158
|
_(o, e, r), d(e, i);
|
|
@@ -207,8 +207,8 @@ function le(a, e, t) {
|
|
|
207
207
|
let { showpopup: o = "" } = e, { iteminfoamount: r = "" } = e, { lang: p = "en" } = e, { currency: b = "USD" } = e, { clientstyling: g = "" } = e, { clientstylingurl: C = "" } = e, { translationurl: c = "" } = e, { mbsource: w } = e;
|
|
208
208
|
const x = () => {
|
|
209
209
|
fetch(c).then((P) => P.json()).then((P) => {
|
|
210
|
-
Object.keys(P).forEach((
|
|
211
|
-
L(
|
|
210
|
+
Object.keys(P).forEach((j) => {
|
|
211
|
+
L(j, P[j]);
|
|
212
212
|
});
|
|
213
213
|
}).catch((P) => {
|
|
214
214
|
console.log(P);
|
|
@@ -230,7 +230,7 @@ function le(a, e, t) {
|
|
|
230
230
|
}, y = () => {
|
|
231
231
|
ae(p), r < 0 && t(0, r = "0"), t(3, f = o);
|
|
232
232
|
};
|
|
233
|
-
|
|
233
|
+
R(() => (window.addEventListener("message", l, !1), () => {
|
|
234
234
|
window.removeEventListener("message", l);
|
|
235
235
|
}));
|
|
236
236
|
function G(n) {
|
|
@@ -264,14 +264,14 @@ function le(a, e, t) {
|
|
|
264
264
|
G
|
|
265
265
|
];
|
|
266
266
|
}
|
|
267
|
-
class ue extends
|
|
267
|
+
class ue extends O {
|
|
268
268
|
constructor(e) {
|
|
269
|
-
super(),
|
|
269
|
+
super(), Y(
|
|
270
270
|
this,
|
|
271
271
|
e,
|
|
272
272
|
le,
|
|
273
273
|
re,
|
|
274
|
-
|
|
274
|
+
D,
|
|
275
275
|
{
|
|
276
276
|
showpopup: 7,
|
|
277
277
|
iteminfoamount: 0,
|