@everymatrix/player-account-controller-nd 1.49.2 → 1.50.1
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/GeneralLogout-BBoBE1Lx.cjs +8 -0
- package/components/{GeneralLogout-CT6JdzJJ.js → GeneralLogout-CpfJL45A.js} +323 -317
- package/components/PlayerAccountBettingHistory-BhFyAw7S.cjs +1 -0
- package/components/{PlayerAccountBettingHistory-BQS41tJM.js → PlayerAccountBettingHistory-C6Jnecgm.js} +35 -35
- package/components/{PlayerAccountBiometrics-BrG1qQsh.js → PlayerAccountBiometrics-CbgGBdjA.js} +38 -38
- package/components/PlayerAccountBiometrics-U1ab8cUd.cjs +1 -0
- package/components/PlayerAccountClosureNd-CLRXe1KM.cjs +1 -0
- package/components/{PlayerAccountClosureNd-DZGf20sc.js → PlayerAccountClosureNd-CQa6GJ-9.js} +22 -22
- package/components/{PlayerAccountControllerNd-DfkUpXUA.js → PlayerAccountControllerNd-BSVMbuxt.js} +21 -21
- package/components/PlayerAccountControllerNd-CuHyqivG.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-DZT2yHAi.js → PlayerAccountGamingLimits-BysIpKq_.js} +43 -43
- package/components/PlayerAccountGamingLimits-ImaSq8Bu.cjs +1 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-B1H9kGBj.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Ct6y_gaE.js → PlayerAccountGamingLimitsConfirmationModal-C1JaSEj9.js} +21 -21
- package/components/{PlayerAccountGamingLimitsGroupEdit-Cf0Vwm5f.js → PlayerAccountGamingLimitsGroupEdit-DvbllfiB.js} +178 -178
- package/components/{PlayerAccountGamingLimitsGroupEdit-C0TmN9tW.cjs → PlayerAccountGamingLimitsGroupEdit-mkhXUxp2.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2Nd-NOHMlmb-.js → PlayerAccountGamingLimitsHistory2Nd-5utMOF-c.js} +59 -59
- package/components/PlayerAccountGamingLimitsHistory2Nd-PWXwK3xR.cjs +1 -0
- package/components/PlayerAccountGamingLimitsInfoCard-CcdNEm3s.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-gzrqsmTe.js → PlayerAccountGamingLimitsInfoCard-Cf-_Q_Il.js} +80 -80
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Dbm8J6qJ.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-Cd5sgo9y.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CDvdIJm8.js → PlayerAccountGamingLimitsPage2Gm16Nd-Dgj11XWr.js} +2 -2
- package/components/{PlayerAccountGamingLimitsPopup-P4wj3V9k.js → PlayerAccountGamingLimitsPopup-BGVFSakv.js} +14 -14
- package/components/PlayerAccountGamingLimitsPopup-C47JGdE1.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2Nd-B1d5eGWo.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-CbVCR27v.js → PlayerAccountGamingLimitsWrapper2Nd-D2CBz_5K.js} +14 -14
- package/components/{PlayerAccountMenuNd-BgsY7YQL.js → PlayerAccountMenuNd-Cy1yKfxC.js} +75 -75
- package/components/PlayerAccountMenuNd-T9fpXE8-.cjs +1 -0
- package/components/{PlayerAccountModal-CIR41mpM.cjs → PlayerAccountModal-CUdeZ6ZD.cjs} +1 -1
- package/components/{PlayerAccountModal-Dl52frb-.js → PlayerAccountModal-CcuAGQY1.js} +1 -1
- package/components/PlayerAccountNotifications-B5y5G3E_.cjs +1 -0
- package/components/{PlayerAccountNotifications-sQPz396P.js → PlayerAccountNotifications-BS8gXEjF.js} +5 -5
- package/components/{PlayerAccountSelfExclusionNd-BtlWGpcC.js → PlayerAccountSelfExclusionNd-DJdimTeI.js} +483 -4
- package/components/{PlayerAccountSelfExclusionNd-Wf-Zcu-v.cjs → PlayerAccountSelfExclusionNd-uHrwQnpT.cjs} +482 -4
- package/components/PlayerAccountTimeout-CNtkqjo7.cjs +1 -0
- package/components/{PlayerAccountTimeout-4Wj662L_.js → PlayerAccountTimeout-CoL4r8kh.js} +42 -42
- package/components/PlayerActiveBonuses-DOOKCxQp.cjs +1 -0
- package/components/{PlayerActiveBonuses-BE0qfJz_.js → PlayerActiveBonuses-Dm8oJ-8E.js} +33 -33
- package/components/{PlayerBonusCard-DdxYH7lf.cjs → PlayerBonusCard-Bt-n3Mxi.cjs} +1 -1
- package/components/{PlayerBonusCard-BwUugzC6.js → PlayerBonusCard-y6Mmy7BC.js} +2 -2
- package/components/{PlayerBonusHistory-CpVXrw4-.js → PlayerBonusHistory-BAqio45G.js} +4 -4
- package/components/{PlayerBonusHistory-DNRm6rTc.cjs → PlayerBonusHistory-CwcvkOns.cjs} +1 -1
- package/components/{PlayerChangePassword-BDyXZ2_q.cjs → PlayerChangePassword-C-8QN3hH.cjs} +1 -1
- package/components/{PlayerChangePassword-Cv6wa7VL.js → PlayerChangePassword-CU9ISaq8.js} +1 -1
- package/components/{PlayerDeposit-CYpXuZIT.cjs → PlayerDeposit-BLymLH97.cjs} +1 -1
- package/components/{PlayerDeposit-DvSZCw5N.js → PlayerDeposit-BO3gHJ2M.js} +1 -1
- package/components/{PlayerGamingHistory-DXKWBhvu.cjs → PlayerGamingHistory-Bsrdosmr.cjs} +1 -1
- package/components/{PlayerGamingHistory-DB4CakRN.js → PlayerGamingHistory-dHWr4quw.js} +4 -4
- package/components/{PlayerPendingWithdrawals-pwyPkm03.js → PlayerPendingWithdrawals-CSQvhjqu.js} +1 -1
- package/components/{PlayerPendingWithdrawals-Dn63yKxo.cjs → PlayerPendingWithdrawals-CUpLO6X3.cjs} +1 -1
- package/components/{PlayerProfileInfo-i7DhTVz2.cjs → PlayerProfileInfo-8LQ0QT94.cjs} +1 -1
- package/components/{PlayerProfileInfo-BqvwYfPx.js → PlayerProfileInfo-CFjLZ0AP.js} +1 -1
- package/components/PlayerRealityCheck-B--KgOX7.cjs +1 -0
- package/components/{PlayerRealityCheck-BVQGrSeS.js → PlayerRealityCheck-CKMxPxsj.js} +52 -52
- package/components/{PlayerTransactionHistory-BLQrFvTx.js → PlayerTransactionHistory-1P_fFQ9M.js} +1 -1
- package/components/{PlayerTransactionHistory-DJICk5qY.cjs → PlayerTransactionHistory-KkAMcV0S.cjs} +1 -1
- package/components/{PlayerWithdrawal-gkzbD0rI.js → PlayerWithdrawal-Bho97r_v.js} +1 -1
- package/components/{PlayerWithdrawal-DuxGAxKs.cjs → PlayerWithdrawal-Bt2B8luj.cjs} +1 -1
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/components/GeneralLogout-bc8vhI_H.cjs +0 -8
- package/components/PlayerAccountBettingHistory-BK6xPWSw.cjs +0 -1
- package/components/PlayerAccountBiometrics-C-3zrtyy.cjs +0 -1
- package/components/PlayerAccountClosureNd-DWE1BQjS.cjs +0 -1
- package/components/PlayerAccountControllerNd-C3AI8QtD.cjs +0 -1
- package/components/PlayerAccountGamingLimits-a_ERECbs.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-l6qA-tGo.cjs +0 -1
- package/components/PlayerAccountGamingLimitsHistory2Nd-BNHdTsFe.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-0xDp-CBL.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPopup-CRCoJtQR.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2Nd-x7iKhdJf.cjs +0 -1
- package/components/PlayerAccountMenuNd-uyqoX0xo.cjs +0 -1
- package/components/PlayerAccountNotifications-DNWMsUnC.cjs +0 -1
- package/components/PlayerAccountTimeout-C0nlqzAC.cjs +0 -1
- package/components/PlayerActiveBonuses-D2PR-NJe.cjs +0 -1
- package/components/PlayerRealityCheck-BaBE_tNE.cjs +0 -1
|
@@ -9,7 +9,7 @@ var q = (t, e, i) => e in t ? pe(t, e, { enumerable: !0, configurable: !0, writa
|
|
|
9
9
|
ue.call(e, i) && q(t, i, e[i]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { a as ce, $ as ge, S as he, i as ve, f as k, c as Le, s as fe, b as
|
|
12
|
+
import { a as ce, $ as ge, S as he, i as ve, f as k, c as Le, s as fe, b as ze, e as w, g as y, k as D, o as E, p as j, q as be, T as Te, v as we, x as X, K as Q, t as A, d as R, w as N, U as _e, h as F, l as p, m as Se, n as C, L as Pe, V as Y, y as ke } from "./GeneralLogout-CpfJL45A.js";
|
|
13
13
|
function J(t, e) {
|
|
14
14
|
ce(t, e);
|
|
15
15
|
}
|
|
@@ -248,7 +248,7 @@ const G = {
|
|
|
248
248
|
}
|
|
249
249
|
};
|
|
250
250
|
function Ce(t) {
|
|
251
|
-
|
|
251
|
+
ze(t, "svelte-16zv8bz", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-16zv8bz.svelte-16zv8bz,.svelte-16zv8bz.svelte-16zv8bz::before,.svelte-16zv8bz.svelte-16zv8bz::after{color:var(--emw--color-typography-contrast, #444444);margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-16zv8bz.svelte-16zv8bz{color:var(--emw--color-white, #FFFFFF)}button.svelte-16zv8bz.svelte-16zv8bz{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-16zv8bz.svelte-16zv8bz{display:flex;align-items:center;margin-right:-14px;background:transparent;border:none;color:var(--emw--color-primary, #22B04E);font-size:var(--emw--font-size-large, 20px);text-transform:capitalize;font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.Mobile.svelte-16zv8bz.svelte-16zv8bz{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-16zv8bz svg.svelte-16zv8bz{width:40px;height:auto;margin-left:-4px}.extended.svelte-16zv8bz.svelte-16zv8bz{transform:rotate(180deg)}.HistoryWrapper.svelte-16zv8bz.svelte-16zv8bz{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea.svelte-16zv8bz{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 20px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea .LimitType.svelte-16zv8bz{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea.Mobile.svelte-16zv8bz{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-16zv8bz.svelte-16zv8bz{display:none}.HistoryRow.svelte-16zv8bz.svelte-16zv8bz{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-16zv8bz.svelte-16zv8bz{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-16zv8bz.svelte-16zv8bz{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-16zv8bz.svelte-16zv8bz{animation:svelte-16zv8bz-animateEntry 0.7s ease-in}@keyframes svelte-16zv8bz-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
|
|
252
252
|
}
|
|
253
253
|
function Z(t, e, i) {
|
|
254
254
|
const r = t.slice();
|
|
@@ -258,7 +258,7 @@ function xe(t) {
|
|
|
258
258
|
let e, i, r, o = (
|
|
259
259
|
/*$_*/
|
|
260
260
|
t[9]("expandLimits") + ""
|
|
261
|
-
), m, l, n, L, v, u, c, f,
|
|
261
|
+
), m, l, n, L, v, u, c, f, b, _ = Q(
|
|
262
262
|
/*lazyShowedHistoryArray*/
|
|
263
263
|
t[7]
|
|
264
264
|
), g = [];
|
|
@@ -266,45 +266,45 @@ function xe(t) {
|
|
|
266
266
|
g[a] = $(Z(t, _, a));
|
|
267
267
|
return {
|
|
268
268
|
c() {
|
|
269
|
-
e =
|
|
269
|
+
e = w("div"), i = w("div"), r = w("button"), m = A(o), l = R(), n = N("svg"), L = N("path"), v = N("path"), u = R(), c = w("div");
|
|
270
270
|
for (let a = 0; a < g.length; a += 1)
|
|
271
271
|
g[a].c();
|
|
272
|
-
y(L, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), y(L, "class", "svelte-
|
|
273
|
-
t[10] ? "" : "Mobile") + " svelte-
|
|
272
|
+
y(L, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), y(L, "class", "svelte-16zv8bz"), y(v, "d", "M0 0h36v36h-36z"), y(v, "fill", "none"), y(v, "class", "svelte-16zv8bz"), y(n, "class", "ExpandArrow " + (/*isDesktop*/
|
|
273
|
+
t[10] ? "" : "Mobile") + " svelte-16zv8bz"), y(n, "xmlns", "http://www.w3.org/2000/svg"), y(n, "width", "36"), y(n, "height", "36"), y(n, "viewBox", "0 0 36 36"), _e(n, "fill", "var(--emw--color-primary, #22B04E)"), F(
|
|
274
274
|
n,
|
|
275
275
|
"extended",
|
|
276
276
|
/*extended*/
|
|
277
277
|
t[8]
|
|
278
278
|
), y(r, "class", "ExpandButton " + (/*isDesktop*/
|
|
279
|
-
t[10] ? "" : "Mobile") + " svelte-
|
|
280
|
-
t[10] ? "" : "Mobile") + " svelte-
|
|
279
|
+
t[10] ? "" : "Mobile") + " svelte-16zv8bz"), y(c, "class", "HistoryDisplayArea " + (/*isDesktop*/
|
|
280
|
+
t[10] ? "" : "Mobile") + " svelte-16zv8bz"), F(
|
|
281
281
|
c,
|
|
282
282
|
"hidden",
|
|
283
283
|
/*hidden*/
|
|
284
284
|
t[5]
|
|
285
|
-
), y(i, "class", "HistoryWrapper svelte-
|
|
285
|
+
), y(i, "class", "HistoryWrapper svelte-16zv8bz"), y(e, "class", "player-account-gaming-limits-history-2 svelte-16zv8bz");
|
|
286
286
|
},
|
|
287
|
-
m(a,
|
|
288
|
-
D(a, e,
|
|
287
|
+
m(a, z) {
|
|
288
|
+
D(a, e, z), p(e, i), p(i, r), p(r, m), p(r, l), p(r, n), p(n, L), p(n, v), p(i, u), p(i, c);
|
|
289
289
|
for (let d = 0; d < g.length; d += 1)
|
|
290
290
|
g[d] && g[d].m(c, null);
|
|
291
|
-
f || (
|
|
291
|
+
f || (b = Se(
|
|
292
292
|
r,
|
|
293
293
|
"click",
|
|
294
294
|
/*toggleHistoryDisplayArea*/
|
|
295
295
|
t[11]
|
|
296
296
|
), f = !0);
|
|
297
297
|
},
|
|
298
|
-
p(a,
|
|
299
|
-
if (
|
|
298
|
+
p(a, z) {
|
|
299
|
+
if (z[0] & /*$_*/
|
|
300
300
|
512 && o !== (o = /*$_*/
|
|
301
|
-
a[9]("expandLimits") + "") && C(m, o),
|
|
301
|
+
a[9]("expandLimits") + "") && C(m, o), z[0] & /*extended*/
|
|
302
302
|
256 && F(
|
|
303
303
|
n,
|
|
304
304
|
"extended",
|
|
305
305
|
/*extended*/
|
|
306
306
|
a[8]
|
|
307
|
-
),
|
|
307
|
+
), z[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
|
|
308
308
|
650) {
|
|
309
309
|
_ = Q(
|
|
310
310
|
/*lazyShowedHistoryArray*/
|
|
@@ -313,13 +313,13 @@ function xe(t) {
|
|
|
313
313
|
let d;
|
|
314
314
|
for (d = 0; d < _.length; d += 1) {
|
|
315
315
|
const S = Z(a, _, d);
|
|
316
|
-
g[d] ? g[d].p(S,
|
|
316
|
+
g[d] ? g[d].p(S, z) : (g[d] = $(S), g[d].c(), g[d].m(c, null));
|
|
317
317
|
}
|
|
318
318
|
for (; d < g.length; d += 1)
|
|
319
319
|
g[d].d(1);
|
|
320
320
|
g.length = _.length;
|
|
321
321
|
}
|
|
322
|
-
|
|
322
|
+
z[0] & /*hidden*/
|
|
323
323
|
32 && F(
|
|
324
324
|
c,
|
|
325
325
|
"hidden",
|
|
@@ -328,7 +328,7 @@ function xe(t) {
|
|
|
328
328
|
);
|
|
329
329
|
},
|
|
330
330
|
d(a) {
|
|
331
|
-
a && j(e), Pe(g, a), f = !1,
|
|
331
|
+
a && j(e), Pe(g, a), f = !1, b();
|
|
332
332
|
}
|
|
333
333
|
};
|
|
334
334
|
}
|
|
@@ -345,7 +345,7 @@ function De(t) {
|
|
|
345
345
|
), r;
|
|
346
346
|
return {
|
|
347
347
|
c() {
|
|
348
|
-
e =
|
|
348
|
+
e = w("p"), r = A(i), y(e, "class", "svelte-16zv8bz");
|
|
349
349
|
},
|
|
350
350
|
m(o, m) {
|
|
351
351
|
D(o, e, m), p(e, r);
|
|
@@ -373,19 +373,19 @@ function je(t) {
|
|
|
373
373
|
), L, v, u = (
|
|
374
374
|
/*history*/
|
|
375
375
|
t[36].currency + ""
|
|
376
|
-
), c, f,
|
|
376
|
+
), c, f, b = (
|
|
377
377
|
/*history*/
|
|
378
378
|
t[36].period + ""
|
|
379
379
|
), _, g, a = (
|
|
380
380
|
/*history*/
|
|
381
381
|
t[36].date + ""
|
|
382
|
-
),
|
|
382
|
+
), z;
|
|
383
383
|
return {
|
|
384
384
|
c() {
|
|
385
|
-
e =
|
|
385
|
+
e = w("div"), i = w("span"), r = w("span"), m = A(o), l = w("span"), L = A(n), v = R(), c = A(u), f = R(), _ = A(b), g = w("span"), z = A(a), y(r, "class", "LimitType svelte-16zv8bz"), y(l, "class", "LimitAmountPeriod svelte-16zv8bz"), y(i, "class", "GeneralLimitInformation svelte-16zv8bz"), y(g, "class", "DateLimitInformation svelte-16zv8bz"), y(e, "class", "HistoryRow svelte-16zv8bz");
|
|
386
386
|
},
|
|
387
387
|
m(d, S) {
|
|
388
|
-
D(d, e, S), p(e, i), p(i, r), p(r, m), p(i, l), p(l, L), p(l, v), p(l, c), p(l, f), p(l, _), p(e, g), p(g,
|
|
388
|
+
D(d, e, S), p(e, i), p(i, r), p(r, m), p(i, l), p(l, L), p(l, v), p(l, c), p(l, f), p(l, _), p(e, g), p(g, z);
|
|
389
389
|
},
|
|
390
390
|
p(d, S) {
|
|
391
391
|
S[0] & /*lazyShowedHistoryArray*/
|
|
@@ -395,10 +395,10 @@ function je(t) {
|
|
|
395
395
|
d[36].amount + "") && C(L, n), S[0] & /*lazyShowedHistoryArray*/
|
|
396
396
|
128 && u !== (u = /*history*/
|
|
397
397
|
d[36].currency + "") && C(c, u), S[0] & /*lazyShowedHistoryArray*/
|
|
398
|
-
128 &&
|
|
399
|
-
d[36].period + "") && C(_,
|
|
398
|
+
128 && b !== (b = /*history*/
|
|
399
|
+
d[36].period + "") && C(_, b), S[0] & /*lazyShowedHistoryArray*/
|
|
400
400
|
128 && a !== (a = /*history*/
|
|
401
|
-
d[36].date + "") && C(
|
|
401
|
+
d[36].date + "") && C(z, a);
|
|
402
402
|
},
|
|
403
403
|
d(d) {
|
|
404
404
|
d && j(e);
|
|
@@ -418,17 +418,17 @@ function Re(t) {
|
|
|
418
418
|
), c;
|
|
419
419
|
return {
|
|
420
420
|
c() {
|
|
421
|
-
e =
|
|
421
|
+
e = w("div"), i = w("span"), r = w("span"), m = A(o), l = w("span"), L = A(n), v = w("span"), c = A(u), y(r, "class", "LimitType svelte-16zv8bz"), y(l, "class", "LimitAmountPeriod svelte-16zv8bz"), y(i, "class", "GeneralLimitInformation svelte-16zv8bz"), y(v, "class", "DateLimitInformation svelte-16zv8bz"), y(e, "class", "HistoryRow svelte-16zv8bz");
|
|
422
422
|
},
|
|
423
|
-
m(f,
|
|
424
|
-
D(f, e,
|
|
423
|
+
m(f, b) {
|
|
424
|
+
D(f, e, b), p(e, i), p(i, r), p(r, m), p(i, l), p(l, L), p(e, v), p(v, c);
|
|
425
425
|
},
|
|
426
|
-
p(f,
|
|
427
|
-
|
|
426
|
+
p(f, b) {
|
|
427
|
+
b[0] & /*lazyShowedHistoryArray*/
|
|
428
428
|
128 && o !== (o = /*history*/
|
|
429
|
-
f[36].type + "") && C(m, o),
|
|
429
|
+
f[36].type + "") && C(m, o), b[0] & /*$_*/
|
|
430
430
|
512 && n !== (n = /*$_*/
|
|
431
|
-
f[9]("limitRemoved") + "") && C(L, n),
|
|
431
|
+
f[9]("limitRemoved") + "") && C(L, n), b[0] & /*lazyShowedHistoryArray*/
|
|
432
432
|
128 && u !== (u = /*history*/
|
|
433
433
|
f[36].date + "") && C(c, u);
|
|
434
434
|
},
|
|
@@ -458,11 +458,11 @@ function $(t) {
|
|
|
458
458
|
);
|
|
459
459
|
return {
|
|
460
460
|
c() {
|
|
461
|
-
e =
|
|
461
|
+
e = w("div"), n.c(), i = R(), y(e, "class", r = Y(
|
|
462
462
|
/*index*/
|
|
463
463
|
t[38] > +/*numberofentries*/
|
|
464
464
|
t[1] ? "LimitContainer" : ""
|
|
465
|
-
) + " svelte-
|
|
465
|
+
) + " svelte-16zv8bz");
|
|
466
466
|
},
|
|
467
467
|
m(u, c) {
|
|
468
468
|
D(u, e, c), n.m(e, null), p(e, i), L();
|
|
@@ -473,7 +473,7 @@ function $(t) {
|
|
|
473
473
|
/*index*/
|
|
474
474
|
t[38] > +/*numberofentries*/
|
|
475
475
|
t[1] ? "LimitContainer" : ""
|
|
476
|
-
) + " svelte-
|
|
476
|
+
) + " svelte-16zv8bz") && y(e, "class", r), o !== /*index*/
|
|
477
477
|
t[38] && (v(), o = /*index*/
|
|
478
478
|
t[38], L());
|
|
479
479
|
},
|
|
@@ -496,7 +496,7 @@ function We(t) {
|
|
|
496
496
|
let r = i(t), o = r(t);
|
|
497
497
|
return {
|
|
498
498
|
c() {
|
|
499
|
-
e =
|
|
499
|
+
e = w("div"), o.c(), y(e, "class", "svelte-16zv8bz");
|
|
500
500
|
},
|
|
501
501
|
m(m, l) {
|
|
502
502
|
D(m, e, l), o.m(e, null), t[21](e);
|
|
@@ -513,8 +513,8 @@ function We(t) {
|
|
|
513
513
|
}
|
|
514
514
|
function He(t, e, i) {
|
|
515
515
|
let r;
|
|
516
|
-
|
|
517
|
-
let o = window.navigator.userAgent, m = !
|
|
516
|
+
be(t, ke, (s) => i(9, r = s));
|
|
517
|
+
let o = window.navigator.userAgent, m = !Te(o), { lang: l = "" } = e, { userid: n = "" } = e, { session: L = "" } = e, { endpoint: v = "" } = e, { apiversion: u = "" } = e, { numberofentries: c = "10" } = e, { customcurrencysymbols: f = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: g = "" } = e, a, z = new Array(), d = parseInt(c, 10), S = !1, W = !0, H = [], I = [], O = !0, M = !1, B = { EUR: "€", RON: "lei" };
|
|
518
518
|
const ee = () => {
|
|
519
519
|
fetch(g).then((h) => h.json()).then((h) => {
|
|
520
520
|
Object.keys(h).forEach((P) => {
|
|
@@ -534,21 +534,21 @@ function He(t, e, i) {
|
|
|
534
534
|
method: "GET",
|
|
535
535
|
headers: { "X-SessionID": L }
|
|
536
536
|
};
|
|
537
|
-
fetch(h.href, P).then((
|
|
538
|
-
if (
|
|
537
|
+
fetch(h.href, P).then((T) => {
|
|
538
|
+
if (T.status >= 300)
|
|
539
539
|
throw i(4, W = !1), i(6, S = !0), new Error("There was an error fetching the limits");
|
|
540
|
-
return
|
|
540
|
+
return T.json();
|
|
541
541
|
}).then(
|
|
542
|
-
(
|
|
543
|
-
|
|
542
|
+
(T) => {
|
|
543
|
+
T.length && (H = ie(T), i(7, I = H.slice(0, d))), i(4, W = !1);
|
|
544
544
|
},
|
|
545
|
-
(
|
|
546
|
-
console.error("There was an error",
|
|
545
|
+
(T) => {
|
|
546
|
+
console.error("There was an error", T), i(6, S = !0);
|
|
547
547
|
}
|
|
548
548
|
);
|
|
549
549
|
}, ie = (s) => {
|
|
550
550
|
const h = !!G[l];
|
|
551
|
-
return s.map((
|
|
551
|
+
return s.map((T) => {
|
|
552
552
|
let x = {
|
|
553
553
|
amount: "",
|
|
554
554
|
currency: "",
|
|
@@ -557,7 +557,7 @@ function He(t, e, i) {
|
|
|
557
557
|
type: "",
|
|
558
558
|
removed: !1
|
|
559
559
|
};
|
|
560
|
-
return x.amount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(
|
|
560
|
+
return x.amount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(T.limitAmount), x.currency = h ? B[T.limitCurrencyCode] : T.limitCurrencyCode, x.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(T.limitDate)), x.period = r(`${T.limitPeriod.toLowerCase()}`), x.type = u === "gmcore" ? r(`historyLimitType${T.limitType.split(" ")[0]}`) : r(`historyLimitType${T.limitType.split(" ")[0]}`) + " " + r(`historyProductType${T.limitProductType}`), x.removed = T.limitAmount === -1, x;
|
|
561
561
|
});
|
|
562
562
|
}, se = () => {
|
|
563
563
|
i(5, O = !O), i(8, M = !M);
|
|
@@ -568,7 +568,7 @@ function He(t, e, i) {
|
|
|
568
568
|
});
|
|
569
569
|
});
|
|
570
570
|
const re = () => {
|
|
571
|
-
K.observe(
|
|
571
|
+
K.observe(z[z.length - 1]);
|
|
572
572
|
}, oe = () => {
|
|
573
573
|
if (!f) return;
|
|
574
574
|
let s = {};
|
|
@@ -578,7 +578,7 @@ function He(t, e, i) {
|
|
|
578
578
|
}), B = U(U({}, B), s);
|
|
579
579
|
}, ne = () => {
|
|
580
580
|
let s = document.createElement("style");
|
|
581
|
-
s.innerHTML =
|
|
581
|
+
s.innerHTML = b, a.appendChild(s);
|
|
582
582
|
}, ae = () => {
|
|
583
583
|
let s = new URL(_), h = document.createElement("style");
|
|
584
584
|
fetch(s.href).then((P) => P.text()).then((P) => {
|
|
@@ -596,12 +596,12 @@ function He(t, e, i) {
|
|
|
596
596
|
}, le = () => {
|
|
597
597
|
Ae(l);
|
|
598
598
|
};
|
|
599
|
-
|
|
600
|
-
K.unobserve(
|
|
599
|
+
we(() => () => {
|
|
600
|
+
K.unobserve(z[z.length - 1]);
|
|
601
601
|
});
|
|
602
602
|
function me(s, h) {
|
|
603
603
|
X[s ? "unshift" : "push"](() => {
|
|
604
|
-
|
|
604
|
+
z[h] = s, i(3, z);
|
|
605
605
|
});
|
|
606
606
|
}
|
|
607
607
|
function de(s) {
|
|
@@ -610,21 +610,21 @@ function He(t, e, i) {
|
|
|
610
610
|
});
|
|
611
611
|
}
|
|
612
612
|
return t.$$set = (s) => {
|
|
613
|
-
"lang" in s && i(0, l = s.lang), "userid" in s && i(12, n = s.userid), "session" in s && i(13, L = s.session), "endpoint" in s && i(14, v = s.endpoint), "apiversion" in s && i(15, u = s.apiversion), "numberofentries" in s && i(1, c = s.numberofentries), "customcurrencysymbols" in s && i(16, f = s.customcurrencysymbols), "clientstyling" in s && i(17,
|
|
613
|
+
"lang" in s && i(0, l = s.lang), "userid" in s && i(12, n = s.userid), "session" in s && i(13, L = s.session), "endpoint" in s && i(14, v = s.endpoint), "apiversion" in s && i(15, u = s.apiversion), "numberofentries" in s && i(1, c = s.numberofentries), "customcurrencysymbols" in s && i(16, f = s.customcurrencysymbols), "clientstyling" in s && i(17, b = s.clientstyling), "clientstylingurl" in s && i(18, _ = s.clientstylingurl), "translationurl" in s && i(19, g = s.translationurl);
|
|
614
614
|
}, t.$$.update = () => {
|
|
615
615
|
t.$$.dirty[0] & /*customcurrencysymbols*/
|
|
616
616
|
65536 && f && oe(), t.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
|
|
617
617
|
61440 && v && n && L && u && te(), t.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
|
|
618
|
-
56 &&
|
|
618
|
+
56 && z[0] && !W && !O && re(), t.$$.dirty[0] & /*lang*/
|
|
619
619
|
1 && l && le(), t.$$.dirty[0] & /*clientstylingurl*/
|
|
620
620
|
262144 && _ && ae(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
621
|
-
131076 &&
|
|
621
|
+
131076 && b && a && ne(), t.$$.dirty[0] & /*translationurl, customStylingContainer*/
|
|
622
622
|
524292 && g && a && ee();
|
|
623
623
|
}, [
|
|
624
624
|
l,
|
|
625
625
|
c,
|
|
626
626
|
a,
|
|
627
|
-
|
|
627
|
+
z,
|
|
628
628
|
W,
|
|
629
629
|
O,
|
|
630
630
|
S,
|
|
@@ -638,7 +638,7 @@ function He(t, e, i) {
|
|
|
638
638
|
v,
|
|
639
639
|
u,
|
|
640
640
|
f,
|
|
641
|
-
|
|
641
|
+
b,
|
|
642
642
|
_,
|
|
643
643
|
g,
|
|
644
644
|
me,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var Z=Object.defineProperty;var W=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable;var H=(i,t,s)=>t in i?Z(i,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[t]=s,D=(i,t)=>{for(var s in t||(t={}))$.call(t,s)&&H(i,s,t[s]);if(W)for(var s of W(t))ee.call(t,s)&&H(i,s,t[s]);return i};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-BBoBE1Lx.cjs");function I(i,t){e.addMessages(i,t)}function te(i){e.$locale.set(i)}const j={en:{expandLimits:"Limit history",daily:"per day",weekly:"per week",monthly:"per month",loss:"Loss Limit",deposit:"Deposit Limit",wagering:"Wagering Limit",max:"Stake limit",wageringSports:"Stake Limit",loading:"Loading limits history...",error:"Something went wrong. Please try again.",limitRemoved:"Limit removed",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},de:{expandLimits:"Limit-Verlauf",daily:"pro Tag",weekly:"pro Woche",monthly:"pro Monat",loss:"Verlustlimit",deposit:"Einzahlungslimit",wagering:"Einsatzlimit",max:"Einsatzlimit",loading:"Lädt ...",error:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",limitRemoved:"Limit entfernt",historyProductTypeSports:"Sport",historyProductTypeAll:"Alle",historyProductTypeCasino:"Slots",historyLimitTypeDeposit:"Einzahlungslimit",historyLimitTypeWagering:"Einsatzlimit",historyLimitTypeLoss:"Verlustlimit"},hr:{expandLimits:"Povijest ograničenja",daily:"dnevno",weekly:"tjedno",monthly:"mjesečno",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wagering:"Ograničenje igranja",max:"Ograničenje uloga",loading:"Učitavanje povijesti ograničenja...",error:"Nešto je pošlo po zlu. Molimo vas pokušajte ponovno.",limitRemoved:"Ograničenje uklonjeno",historyProductTypeSports:"Sportovi",historyProductTypeAll:"Sve",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Ograničenje uplate",historyLimitTypeWagering:"Ograničenje igranja",historyLimitTypeLoss:"Ograničenje gubitka",wageringSports:"Ograničenje uloga"},sl:{expandLimits:"Limit zgodovina",daily:"na dan",weekly:"na teden",monthly:"na mesec",loss:"Limit izgube",deposit:"Limit vplačila",wagering:"Limit na vložek",max:"Limit vložkov",loading:"Nalaga...",error:"Nekaj je šlo narobe. Prosim poskusite ponovno.",limitRemoved:"Limit odstranjen",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},pl:{expandLimits:"Historia limitu",daily:"na dzień",weekly:"na tydzień",monthly:"na miesiąc",loss:"Limit Strat",deposit:"Limit depozytów",wagering:"Limit Stawek",max:"Limit stawek",loading:"Ładowanie...",error:"Coś poszło nie tak. Proszę spróbuj ponownie.",limitRemoved:"Usunięty limit",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"zh-hk":{expandLimits:"极限历史",daily:"每天",weekly:"每个星期",monthly:"每月",loss:"损失限额",deposit:"存款限额",wagering:"投注限额",loading:"加载请稍候...",error:"500 - 服务器错误",limitRemoved:"移除限制",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},fr:{expandLimits:"Limiter l'historique",daily:"par jour",weekly:"par semaine",monthly:"par mois",loss:"Limite de perte",deposit:"Limite de dépôt",wagering:"Limite de mise",loading:"Chargement, veuillez patienter...",error:"500 - Erreur de serveur",limitRemoved:"Limite supprimée",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},ro:{expandLimits:"Istoric limite",daily:"pe zi",weekly:"pe saptamana",monthly:"pe luna",loss:"Limita de pierdere",deposit:"Limita de incarcare",loading:"Se incarca, va rugam asteptati...",error:"500 - Eroare de server",limitRemoved:"Limita eliminata",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Limita depunere",historyLimitTypeWagering:"Limita pariere",historyLimitTypeLoss:"Limita pierdere"},es:{expandLimits:"Historial de límites",daily:"por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdida",deposit:"Límite de depósito",wagering:"Límite de apuestas",max:"Límite de apuesta",loading:"Cargando historial de límites…",error:"Algo salió mal. Por favor inténtalo de nuevo.",limitRemoved:"Límite eliminado",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"pt-br":{expandLimits:"Histórico de limite",daily:"Por dia",weekly:"por semana",monthly:"por mês",loss:"Limite de perda",deposit:"Limite de depósito",wagering:"Limite de Quantidade de Apostas",max:"Limite de apostas",wageringSports:"Limite de Quantidade de Apostas Esportivas",Loading:"Carregando histórico de limite...",error:"Algo deu errado. Por favor, tente novamente",limitRemoved:"Limite removido",historyProductTypeSports:"Esportes",historyProductTypeAll:"Todos",historyProductTypeCasino:"casino",historyLimitTypeDeposit:"Limite de depósito",historyLimitTypeWagering:"Limite de valor da aposta",historyLimitTypeLoss:"Limite de perda"},"es-mx":{expandLimits:"Historial de límites",daily:"Por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdidas",deposit:"Límite de depósito",wagering:"Límite de monto de apuestas",max:"Límite de apuestas",wageringSports:"Límite de monto de apuestas deportivas",Loading:"Cargando historial de límites...",error:"Algo salió mal. Por favor intente de nuevo",limitRemoved:"Límite removido",historyProductTypeSports:"Deportes",historyProductTypeAll:"Todo",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Límite de depósito",historyLimitTypeWagering:"Límite de monto de apuesta",historyLimitTypeLoss:"Límite de pérdida"},tr:{expandLimits:"SINIR GEÇMİŞİ",daily:"günlük",weekly:"haftada",monthly:"her ay",loss:"Kayıp Limiti",deposit:"Para Yatırma Limiti",wagering:"Bahis Limiti",max:"Bahis limiti",wageringSports:"Bahis Limiti",loading:"Limit geçmişi yükleniyor...",error:"Bir şeyler yanlış gitti. Lütfen tekrar deneyin.",limitRemoved:"Sınır kaldırıldı",historyProductTypeSports:"Spor Dalları",historyProductTypeAll:"Tüm",historyProductTypeCasino:"Kumarhane",historyLimitTypeDeposit:"Para Yatırma Limiti",historyLimitTypeWagering:"Bahis Limiti",historyLimitTypeLoss:"Kayıp Limiti"}};function ie(i){e.append_styles(i,"svelte-16zv8bz",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-16zv8bz.svelte-16zv8bz,.svelte-16zv8bz.svelte-16zv8bz::before,.svelte-16zv8bz.svelte-16zv8bz::after{color:var(--emw--color-typography-contrast, #444444);margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-16zv8bz.svelte-16zv8bz{color:var(--emw--color-white, #FFFFFF)}button.svelte-16zv8bz.svelte-16zv8bz{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-16zv8bz.svelte-16zv8bz{display:flex;align-items:center;margin-right:-14px;background:transparent;border:none;color:var(--emw--color-primary, #22B04E);font-size:var(--emw--font-size-large, 20px);text-transform:capitalize;font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.Mobile.svelte-16zv8bz.svelte-16zv8bz{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-16zv8bz svg.svelte-16zv8bz{width:40px;height:auto;margin-left:-4px}.extended.svelte-16zv8bz.svelte-16zv8bz{transform:rotate(180deg)}.HistoryWrapper.svelte-16zv8bz.svelte-16zv8bz{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea.svelte-16zv8bz{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 20px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea .LimitType.svelte-16zv8bz{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea.Mobile.svelte-16zv8bz{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-16zv8bz.svelte-16zv8bz{display:none}.HistoryRow.svelte-16zv8bz.svelte-16zv8bz{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-16zv8bz.svelte-16zv8bz{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-16zv8bz.svelte-16zv8bz{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-16zv8bz.svelte-16zv8bz{animation:svelte-16zv8bz-animateEntry 0.7s ease-in}@keyframes svelte-16zv8bz-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}')}function O(i,t,s){const o=i.slice();return o[36]=t[s],o[37]=t,o[38]=s,o}function se(i){let t,s,o,n=i[9]("expandLimits")+"",p,m,a,v,h,y,u,L,z,T=e.ensure_array_like(i[7]),c=[];for(let l=0;l<T.length;l+=1)c[l]=M(O(i,T,l));return{c(){t=e.element("div"),s=e.element("div"),o=e.element("button"),p=e.text(n),m=e.space(),a=e.svg_element("svg"),v=e.svg_element("path"),h=e.svg_element("path"),y=e.space(),u=e.element("div");for(let l=0;l<c.length;l+=1)c[l].c();e.attr(v,"d","M10.5 15l7.5 7.5 7.5-7.5z"),e.attr(v,"class","svelte-16zv8bz"),e.attr(h,"d","M0 0h36v36h-36z"),e.attr(h,"fill","none"),e.attr(h,"class","svelte-16zv8bz"),e.attr(a,"class","ExpandArrow "+(i[10]?"":"Mobile")+" svelte-16zv8bz"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","36"),e.attr(a,"height","36"),e.attr(a,"viewBox","0 0 36 36"),e.set_style(a,"fill","var(--emw--color-primary, #22B04E)"),e.toggle_class(a,"extended",i[8]),e.attr(o,"class","ExpandButton "+(i[10]?"":"Mobile")+" svelte-16zv8bz"),e.attr(u,"class","HistoryDisplayArea "+(i[10]?"":"Mobile")+" svelte-16zv8bz"),e.toggle_class(u,"hidden",i[5]),e.attr(s,"class","HistoryWrapper svelte-16zv8bz"),e.attr(t,"class","player-account-gaming-limits-history-2 svelte-16zv8bz")},m(l,f){e.insert(l,t,f),e.append(t,s),e.append(s,o),e.append(o,p),e.append(o,m),e.append(o,a),e.append(a,v),e.append(a,h),e.append(s,y),e.append(s,u);for(let d=0;d<c.length;d+=1)c[d]&&c[d].m(u,null);L||(z=e.listen(o,"click",i[11]),L=!0)},p(l,f){if(f[0]&512&&n!==(n=l[9]("expandLimits")+"")&&e.set_data(p,n),f[0]&256&&e.toggle_class(a,"extended",l[8]),f[0]&650){T=e.ensure_array_like(l[7]);let d;for(d=0;d<T.length;d+=1){const w=O(l,T,d);c[d]?c[d].p(w,f):(c[d]=M(w),c[d].c(),c[d].m(u,null))}for(;d<c.length;d+=1)c[d].d(1);c.length=T.length}f[0]&32&&e.toggle_class(u,"hidden",l[5])},d(l){l&&e.detach(t),e.destroy_each(c,l),L=!1,z()}}}function re(i){return{c:e.noop,m:e.noop,p:e.noop,d:e.noop}}function oe(i){let t,s=(i[0]?i[9]("error"):"500 Server Error")+"",o;return{c(){t=e.element("p"),o=e.text(s),e.attr(t,"class","svelte-16zv8bz")},m(n,p){e.insert(n,t,p),e.append(t,o)},p(n,p){p[0]&513&&s!==(s=(n[0]?n[9]("error"):"500 Server Error")+"")&&e.set_data(o,s)},d(n){n&&e.detach(t)}}}function ne(i){let t,s,o,n=i[36].type+"",p,m,a=i[36].amount+"",v,h,y=i[36].currency+"",u,L,z=i[36].period+"",T,c,l=i[36].date+"",f;return{c(){t=e.element("div"),s=e.element("span"),o=e.element("span"),p=e.text(n),m=e.element("span"),v=e.text(a),h=e.space(),u=e.text(y),L=e.space(),T=e.text(z),c=e.element("span"),f=e.text(l),e.attr(o,"class","LimitType svelte-16zv8bz"),e.attr(m,"class","LimitAmountPeriod svelte-16zv8bz"),e.attr(s,"class","GeneralLimitInformation svelte-16zv8bz"),e.attr(c,"class","DateLimitInformation svelte-16zv8bz"),e.attr(t,"class","HistoryRow svelte-16zv8bz")},m(d,w){e.insert(d,t,w),e.append(t,s),e.append(s,o),e.append(o,p),e.append(s,m),e.append(m,v),e.append(m,h),e.append(m,u),e.append(m,L),e.append(m,T),e.append(t,c),e.append(c,f)},p(d,w){w[0]&128&&n!==(n=d[36].type+"")&&e.set_data(p,n),w[0]&128&&a!==(a=d[36].amount+"")&&e.set_data(v,a),w[0]&128&&y!==(y=d[36].currency+"")&&e.set_data(u,y),w[0]&128&&z!==(z=d[36].period+"")&&e.set_data(T,z),w[0]&128&&l!==(l=d[36].date+"")&&e.set_data(f,l)},d(d){d&&e.detach(t)}}}function ae(i){let t,s,o,n=i[36].type+"",p,m,a=i[9]("limitRemoved")+"",v,h,y=i[36].date+"",u;return{c(){t=e.element("div"),s=e.element("span"),o=e.element("span"),p=e.text(n),m=e.element("span"),v=e.text(a),h=e.element("span"),u=e.text(y),e.attr(o,"class","LimitType svelte-16zv8bz"),e.attr(m,"class","LimitAmountPeriod svelte-16zv8bz"),e.attr(s,"class","GeneralLimitInformation svelte-16zv8bz"),e.attr(h,"class","DateLimitInformation svelte-16zv8bz"),e.attr(t,"class","HistoryRow svelte-16zv8bz")},m(L,z){e.insert(L,t,z),e.append(t,s),e.append(s,o),e.append(o,p),e.append(s,m),e.append(m,v),e.append(t,h),e.append(h,u)},p(L,z){z[0]&128&&n!==(n=L[36].type+"")&&e.set_data(p,n),z[0]&512&&a!==(a=L[9]("limitRemoved")+"")&&e.set_data(v,a),z[0]&128&&y!==(y=L[36].date+"")&&e.set_data(u,y)},d(L){L&&e.detach(t)}}}function M(i){let t,s,o,n=i[38];function p(y,u){return y[36].removed?ae:ne}let m=p(i),a=m(i);const v=()=>i[20](t,n),h=()=>i[20](null,n);return{c(){t=e.element("div"),a.c(),s=e.space(),e.attr(t,"class",o=e.null_to_empty(i[38]>+i[1]?"LimitContainer":"")+" svelte-16zv8bz")},m(y,u){e.insert(y,t,u),a.m(t,null),e.append(t,s),v()},p(y,u){i=y,m===(m=p(i))&&a?a.p(i,u):(a.d(1),a=m(i),a&&(a.c(),a.m(t,s))),u[0]&2&&o!==(o=e.null_to_empty(i[38]>+i[1]?"LimitContainer":"")+" svelte-16zv8bz")&&e.attr(t,"class",o),n!==i[38]&&(h(),n=i[38],v())},d(y){y&&e.detach(t),a.d(),h()}}}function le(i){let t;function s(p,m){return p[6]?oe:p[4]?re:se}let o=s(i),n=o(i);return{c(){t=e.element("div"),n.c(),e.attr(t,"class","svelte-16zv8bz")},m(p,m){e.insert(p,t,m),n.m(t,null),i[21](t)},p(p,m){o===(o=s(p))&&n?n.p(p,m):(n.d(1),n=o(p),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(p){p&&e.detach(t),n.d(),i[21](null)}}}function me(i,t,s){let o;e.component_subscribe(i,e.$format,r=>s(9,o=r));let n=window.navigator.userAgent,p=!e.isMobile(n),{lang:m=""}=t,{userid:a=""}=t,{session:v=""}=t,{endpoint:h=""}=t,{apiversion:y=""}=t,{numberofentries:u="10"}=t,{customcurrencysymbols:L=""}=t,{clientstyling:z=""}=t,{clientstylingurl:T=""}=t,{translationurl:c=""}=t,l,f=new Array,d=parseInt(u,10),w=!1,P=!0,k=[],x=[],A=!0,C=!1,E={EUR:"€",RON:"lei"};const B=()=>{fetch(c).then(g=>g.json()).then(g=>{Object.keys(g).forEach(_=>{I(_,g[_])})}).catch(g=>{console.log(g)})};Object.keys(j).forEach(r=>{I(r,j[r])});const N=()=>{let r=y==="gmcore"?`/v2/player/${a}/transactions/limit`:`/v1/player/${a}/limits/monetary/history`,g=new URL(r,h);g.searchParams.append("startDate",`${new Date("2022").toISOString()}`),g.searchParams.append("endDate",`${new Date("2099").toISOString()}`),g.searchParams.append("limit","10000");let _={method:"GET",headers:{"X-SessionID":v}};fetch(g.href,_).then(b=>{if(b.status>=300)throw s(4,P=!1),s(6,w=!0),new Error("There was an error fetching the limits");return b.json()}).then(b=>{b.length&&(k=U(b),s(7,x=k.slice(0,d))),s(4,P=!1)},b=>{console.error("There was an error",b),s(6,w=!0)})},U=r=>{const g=!!j[m];return r.map(b=>{let S={amount:"",currency:"",date:"",period:"",type:"",removed:!1};return S.amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(b.limitAmount),S.currency=g?E[b.limitCurrencyCode]:b.limitCurrencyCode,S.date=new Intl.DateTimeFormat("de",{dateStyle:"medium"}).format(new Date(b.limitDate)),S.period=o(`${b.limitPeriod.toLowerCase()}`),S.type=y==="gmcore"?o(`historyLimitType${b.limitType.split(" ")[0]}`):o(`historyLimitType${b.limitType.split(" ")[0]}`)+" "+o(`historyProductType${b.limitProductType}`),S.removed=b.limitAmount===-1,S})},G=()=>{s(5,A=!A),s(8,C=!C)};let R=new IntersectionObserver(r=>{r.forEach(g=>{g.isIntersecting&&(d+=parseInt(u,10)||10,x.length<k.length&&s(7,x=k.slice(0,d)))})});const q=()=>{R.observe(f[f.length-1])},K=()=>{if(!L)return;let r={};L.split(",").forEach(g=>{let _=g.split(":");r[_[0].trim()]=_[1].trim()}),E=D(D({},E),r)},V=()=>{let r=document.createElement("style");r.innerHTML=z,l.appendChild(r)},X=()=>{let r=new URL(T),g=document.createElement("style");fetch(r.href).then(_=>_.text()).then(_=>{g.innerHTML=_,l&&(setTimeout(()=>{l.appendChild(g)},1),setTimeout(()=>{},500))})},Q=()=>{te(m)};e.onMount(()=>()=>{R.unobserve(f[f.length-1])});function Y(r,g){e.binding_callbacks[r?"unshift":"push"](()=>{f[g]=r,s(3,f)})}function J(r){e.binding_callbacks[r?"unshift":"push"](()=>{l=r,s(2,l)})}return i.$$set=r=>{"lang"in r&&s(0,m=r.lang),"userid"in r&&s(12,a=r.userid),"session"in r&&s(13,v=r.session),"endpoint"in r&&s(14,h=r.endpoint),"apiversion"in r&&s(15,y=r.apiversion),"numberofentries"in r&&s(1,u=r.numberofentries),"customcurrencysymbols"in r&&s(16,L=r.customcurrencysymbols),"clientstyling"in r&&s(17,z=r.clientstyling),"clientstylingurl"in r&&s(18,T=r.clientstylingurl),"translationurl"in r&&s(19,c=r.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&65536&&L&&K(),i.$$.dirty[0]&61440&&h&&a&&v&&y&&N(),i.$$.dirty[0]&56&&f[0]&&!P&&!A&&q(),i.$$.dirty[0]&1&&m&&Q(),i.$$.dirty[0]&262144&&T&&X(),i.$$.dirty[0]&131076&&z&&l&&V(),i.$$.dirty[0]&524292&&c&&l&&B()},[m,u,l,f,P,A,w,x,C,o,p,G,a,v,h,y,L,z,T,c,Y,J]}class F extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,le,e.safe_not_equal,{lang:0,userid:12,session:13,endpoint:14,apiversion:15,numberofentries:1,customcurrencysymbols:16,clientstyling:17,clientstylingurl:18,translationurl:19},ie,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[12]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[13]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[15]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get numberofentries(){return this.$$.ctx[1]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[16]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[19]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(F,{lang:{},userid:{},session:{},endpoint:{},apiversion:{},numberofentries:{},customcurrencysymbols:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=F;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-BBoBE1Lx.cjs"),B=require("./PlayerAccountGamingLimitsGroupEdit-mkhXUxp2.cjs");function H(i,n){e.addMessages(i,n)}function se(i){e.$locale.set(i)}const V={en:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"},"zh-hk":{name:"信息",amountChanged:"您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",daily:"日常的",weekly:"每週",monthly:"月刊",removeLimitText:"您確定要刪除 {limit} 嗎?",removeLimitsText:"您確定要刪除所有 {limit} 嗎?",minutes:"分鐘",noLimit:"沒有限制",expirationDate:"截止日期",notAvailable:"不適用",edit:"編輯",removeLimits:"移除限制",depositLimit:"存款限額",timeLimit:"時限",wageringLimit:"投注限額",lossLimit:"損失限額",timeLimitLower:"時限",depositLimitLower:"存款限額",wageringLimitLower:"投注限額",lossLimitLower:"損失限額",time:"時間",currency:"貨幣"},fr:{name:"Info",amountChanged:"Votre limite a été modifiée ou augmentée: {amount} {currency}. Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",daily:"Quotidiennement",weekly:"Hebdomadaire",monthly:"Mensuel",removeLimitText:"êtes-vous sûr de vouloir supprimer la{limit}?",removeLimitsText:"êtes-vous sûr de vouloir supprimer tous les {limit}s?",minutes:"minutes",noLimit:"Aucune limite",expirationDate:"Date d'expiration",notAvailable:"N/A",edit:"Modifier",removeLimits:"Supprimer les limites",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte",timeLimitLower:"Limite de temps",depositLimitLower:"Limite de dépôt",wageringLimitLower:"Limite de mise",lossLimitLower:"Limite de perte",time:"Temps",currency:"Monnaie"},ro:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare:",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",removeLimitText:"Ești sigur că vrei să elimini această limită?",removeLimitsText:"Ești sigur că vrei să elimini toate limitele?",minutes:"minute",noLimit:"Fără Limită",expirationDate:"Dată Expirare",notAvailable:"N/A",edit:"Editează",removeLimits:"Elimină limitele",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limite de pierdere",timeLimitLower:"limită de timp",depositLimitLower:"limită de depunere",wageringLimitLower:"limită de pariere",lossLimitLower:"limită de pierdere",time:"timp",currency:"monedă"},es:{name:"Información",amountChanged:"Tú limite ha sido cambiado o incrementado: {amount} {currency}. Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"Estas seguro de quitar el {limit}?",removeLimitsText:"Estas seguro de retirar todos los {limit}es?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No Disponible",edit:"Editar",removeLimits:"Retirar límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de apuestas",lossLimitLower:"Límite de pérdida",time:"tiempo",currency:"moneda"},pt:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",removeLimitText:"Tem certeza de que deseja remover o {limite}??",removeLimitsText:"Tem certeza de que deseja remover todos os {limite}s??",minutes:"Minutos",noLimit:"Sem limite",expirationDate:"Data de Validade",notAvailable:"Não Disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de Depósito",timeLimit:"Limite de Tempo",wageringLimit:"Limite de Apostas",lossLimit:"Limite de Perda",timeLimitLower:"Limite de tempo",depositLimitLower:"limite de depósito",wageringLimitLower:"limite de apostas",lossLimitLower:"limite de perda",time:"Tempo",currency:"Moeda"},hr:{name:"Informacije",amountChanged:"Vaše ograničenje je promijenjeno ili povećano: {iznos} {valuta}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",removeLimitText:"Jeste li sigurni da želite ukloniti {limit}?",removeLimitsText:"Jeste li sigurni da želite ukloniti sve {limit}e?",minutes:"minute",noLimit:"Nema ograničenja",expirationDate:"Datum isteka",notAvailable:"N/A",edit:"Uredi",removeLimits:"Ukloni ograničenja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka",timeLimitLower:"vremensko ograničenje",depositLimitLower:"ograničenje uplate",wageringLimitLower:"ograničenje igranja",lossLimitLower:"ograničenje gubitka",time:"vrijeme",currency:"valuta"},"pt-br":{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diário",weekly:"Semanalmente",monthly:"Por mês",removeLimitText:"Tem certeza de que deseja remover o limite {limit}?",removeLimitsText:"Tem certeza de que deseja remover todos os limites {limit}s?",minutes:"minutos",noLimit:"Sem limite",expirationDate:"Data de expiração",notAvailable:"Não disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de Quantidade de Apostas",lossLimit:"Limite de perda",timeLimitLower:"Limite de tempo",depositLimitLower:"Limite de depósito",wageringLimitLower:"Limite de Quantidade de Apostas",lossLimitLower:"Limite de perda",time:"tempo",currency:"moeda"},"es-mx":{name:"Información",amountChanged:"Su límite ha sido cambiado o aumentado:{amount} {currency}. Tendrá que esperar para su fecha de expiración para que su nuevo límite entre en efecto:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"¿Está seguro que quiere remover el límite {limit}?",removeLimitsText:"¿Está seguro que quiere remover todos los límites {limit}s?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No disponible",edit:"Editar",removeLimits:"Remover Límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de monto de apuestas",lossLimit:"Límite de pérdidas",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de monto de apuestas",lossLimitLower:"Límite de pérdidas",time:"tiempo",currency:"moneda"},tr:{name:"Bilgi",amountChanged:"Limitiniz değiştirildi veya artırıldı: {amount} {currency}. Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir:",daily:"Günlük",weekly:"Haftalık",monthly:"Aylık",removeLimitText:"{limit} sınırını kaldırmak istediğinizden emin misiniz?",removeLimitsText:"Tüm {limit}'leri kaldırmak istediğinizden emin misiniz?",minutes:"dakika",noLimit:"Limit yok",expirationDate:"Son kullanma tarihi",notAvailable:"Yok",edit:"Düzenlemek",removeLimits:"Sınırları Kaldır",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti",timeLimitLower:"zaman sınırı",depositLimitLower:"para yatırma limiti",wageringLimitLower:"bahis limiti",lossLimitLower:"kayıp limiti",time:"zaman",currency:"para birimi"}};if(typeof window!="undefined"){let i=function(n){return function(...a){try{return n.apply(this,a)}catch(o){if(o instanceof DOMException&&o.message.includes("has already been used with this registry")||o.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw o}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsGroupEdit-mkhXUxp2.cjs")).then(n=>n.PlayerAccountGamingLimitsGroupEdit_ce).then(({default:n})=>{!customElements.get("player-account-gaming-limits-group-edit")&&customElements.define("player-account-gaming-limits-group-edit",n.element)})}function de(i){e.append_styles(i,"svelte-ldgjli",'@charset "UTF-8";.InfoCard{padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 3px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardTableRow>.InfoCardRow:nth-child(2){font-size:12px}.InfoCardTableHeaderBox{display:flex;flex-direction:column}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:var(--emw--color-gray-300, #58586B);font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border:1px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:"❌";font-size:7px;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--emw--color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));margin-right:10px}.InfoCardControlArea .InfoCardEditButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid var(--emw--color-black, #000000)}.InfoCardControlArea .InfoCardRemoveButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper span{display:flex;width:20px;height:20px;background:transparent;border:1px solid ar(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}')}function G(i,n,a){const o=i.slice();return o[41]=n[a],o[43]=a,o}function O(i,n,a){const o=i.slice();return o[41]=n[a],o[43]=a,o}function pe(i){let n,a,o,t,l=(i[0]?i[15](i[1].charAt(0).toLowerCase()+i[1].substring(1).replace(/\s/g,"")):"")+"",r,s,c,v,y,f,h,T,k,Y,M,R,A,E,I=i[15]("edit")+"",j,w,D,z,b;function C(g,N){return g[1]==="Time Limit"?fe:ce}let p=C(i),u=p(i),d=!i[9]&&!i[0].isModified&&i[14]&&Z(i),_=i[11]&&X(i);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),t=e.element("h5"),r=e.text(l),s=e.space(),c=e.element("div"),v=e.element("span"),v.textContent="i",y=e.space(),f=e.element("player-account-gaming-limits-popup"),T=e.space(),k=e.element("div"),Y=e.element("div"),M=e.element("div"),u.c(),R=e.space(),A=e.element("div"),E=e.element("button"),j=e.text(I),w=e.space(),d&&d.c(),D=e.space(),_&&_.c(),e.attr(v,"class","InfoCardIcon"),e.set_custom_element_data(f,"showpopup",h=i[8][0]),e.set_custom_element_data(f,"lang",i[3]),e.set_custom_element_data(f,"clientstyling",i[4]),e.set_custom_element_data(f,"clientstylingurl",i[5]),e.attr(c,"class","InfoCardIconWrapper "+(i[16]?"InfoCardIconMobileWrapper":"")),e.attr(o,"class","InfoCardHeader "+(i[16]?"InfoCardMobileHeader":"")),e.attr(M,"class","InfoCardTableRow"),e.attr(Y,"class","InfoCardTableWrapper"),e.attr(E,"class","InfoCardEditButton"),e.attr(A,"class","InfoCardControlArea"),e.attr(k,"class","InfoCard"),e.attr(a,"class","InfoCardWrapper"),e.attr(n,"class","InfoCardSection")},m(g,N){e.insert(g,n,N),e.append(n,a),e.append(a,o),e.append(o,t),e.append(t,r),e.append(o,s),e.append(o,c),e.append(c,v),e.append(c,y),e.append(c,f),e.append(a,T),e.append(a,k),e.append(k,Y),e.append(Y,M),u.m(M,null),e.append(k,R),e.append(k,A),e.append(A,E),e.append(E,j),e.append(A,w),d&&d.m(A,null),e.append(n,D),_&&_.m(n,null),z||(b=[e.listen(v,"click",e.prevent_default(i[23])),e.listen(E,"click",i[26])],z=!0)},p(g,N){N[0]&32771&&l!==(l=(g[0]?g[15](g[1].charAt(0).toLowerCase()+g[1].substring(1).replace(/\s/g,"")):"")+"")&&e.set_data(r,l),N[0]&256&&h!==(h=g[8][0])&&e.set_custom_element_data(f,"showpopup",h),N[0]&8&&e.set_custom_element_data(f,"lang",g[3]),N[0]&16&&e.set_custom_element_data(f,"clientstyling",g[4]),N[0]&32&&e.set_custom_element_data(f,"clientstylingurl",g[5]),p===(p=C(g))&&u?u.p(g,N):(u.d(1),u=p(g),u&&(u.c(),u.m(M,null))),N[0]&32768&&I!==(I=g[15]("edit")+"")&&e.set_data(j,I),!g[9]&&!g[0].isModified&&g[14]?d?d.p(g,N):(d=Z(g),d.c(),d.m(A,null)):d&&(d.d(1),d=null),g[11]?_?_.p(g,N):(_=X(g),_.c(),_.m(n,null)):_&&(_.d(1),_=null)},d(g){g&&e.detach(n),u.d(),d&&d.d(),_&&_.d(),z=!1,e.run_all(b)}}}function ue(i){let n;return{c(){n=e.element("div"),e.attr(n,"class","ModalLoader")},m(a,o){e.insert(a,n,o)},p:e.noop,d(a){a&&e.detach(n)}}}function ce(i){let n,a=e.ensure_array_like(i[0]),o=[];for(let t=0;t<a.length;t+=1)o[t]=Q(G(i,a,t));return{c(){for(let t=0;t<o.length;t+=1)o[t].c();n=e.empty()},m(t,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(t,l);e.insert(t,n,l)},p(t,l){if(l[0]&3375423){a=e.ensure_array_like(t[0]);let r;for(r=0;r<a.length;r+=1){const s=G(t,a,r);o[r]?o[r].p(s,l):(o[r]=Q(s),o[r].c(),o[r].m(n.parentNode,n))}for(;r<o.length;r+=1)o[r].d(1);o.length=a.length}},d(t){t&&e.detach(n),e.destroy_each(o,t)}}}function fe(i){let n,a=e.ensure_array_like(i[0]),o=[];for(let t=0;t<a.length;t+=1)o[t]=K(O(i,a,t));return{c(){for(let t=0;t<o.length;t+=1)o[t].c();n=e.empty()},m(t,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(t,l);e.insert(t,n,l)},p(t,l){if(l[0]&3375419){a=e.ensure_array_like(t[0]);let r;for(r=0;r<a.length;r+=1){const s=O(t,a,r);o[r]?o[r].p(s,l):(o[r]=K(s),o[r].c(),o[r].m(n.parentNode,n))}for(;r<o.length;r+=1)o[r].d(1);o.length=a.length}},d(t){t&&e.detach(n),e.destroy_each(o,t)}}}function U(i){let n,a=(i[41]?i[41].currency:"")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(t,l){e.insert(t,n,l),e.append(n,o)},p(t,l){l[0]&1&&a!==(a=(t[41]?t[41].currency:"")+"")&&e.set_data(o,a)},d(t){t&&e.detach(n)}}}function _e(i){let n,a=i[15]("notAvailable")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(t,l){e.insert(t,n,l),e.append(n,o)},p(t,l){l[0]&32768&&a!==(a=t[15]("notAvailable")+"")&&e.set_data(o,a)},d(t){t&&e.detach(n)}}}function ge(i){let n,a=(i[41]?B.hooks(i[41].expiryDate).year()>i[17].year()+30?i[17].clone().add(5,"years").format("D/M/YYYY - h:mm A"):B.hooks(i[41].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(t,l){e.insert(t,n,l),e.append(n,o)},p(t,l){l[0]&1&&a!==(a=(t[41]?B.hooks(t[41].expiryDate).year()>t[17].year()+30?t[17].clone().add(5,"years").format("D/M/YYYY - h:mm A"):B.hooks(t[41].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&e.set_data(o,a)},d(t){t&&e.detach(n)}}}function Le(i){let n,a,o,t,l,r,s,c;function v(){return i[25](i[43])}return{c(){n=e.element("div"),a=e.element("span"),a.textContent="i",o=e.space(),t=e.element("player-account-gaming-limits-popup"),e.attr(a,"class","InfoCardIcon"),e.set_custom_element_data(t,"showpopup",l=i[8][i[43]+1]),e.set_custom_element_data(t,"iteminfoamount",r=i[41].updateAmount),e.set_custom_element_data(t,"playercurrency",i[2]),e.set_custom_element_data(t,"lang",i[3]),e.set_custom_element_data(t,"clientstyling",i[4]),e.set_custom_element_data(t,"clientstylingurl",i[5]),e.attr(n,"class","InfoCardIconWrapper "+(i[16]?"InfoCardIconMobileWrapper":""))},m(y,f){e.insert(y,n,f),e.append(n,a),e.append(n,o),e.append(n,t),s||(c=e.listen(a,"click",e.prevent_default(v)),s=!0)},p(y,f){i=y,f[0]&256&&l!==(l=i[8][i[43]+1])&&e.set_custom_element_data(t,"showpopup",l),f[0]&1&&r!==(r=i[41].updateAmount)&&e.set_custom_element_data(t,"iteminfoamount",r),f[0]&4&&e.set_custom_element_data(t,"playercurrency",i[2]),f[0]&8&&e.set_custom_element_data(t,"lang",i[3]),f[0]&16&&e.set_custom_element_data(t,"clientstyling",i[4]),f[0]&32&&e.set_custom_element_data(t,"clientstylingurl",i[5])},d(y){y&&e.detach(n),s=!1,c()}}}function ye(i){let n,a,o;return{c(){n=e.element("div"),n.innerHTML="<span></span>",e.attr(n,"class","InfoCardRemoveIcon")},m(t,l){e.insert(t,n,l),a||(o=e.listen(n,"click",function(){e.is_function(i[20](i[41],i[1]))&&i[20](i[41],i[1]).apply(this,arguments)}),a=!0)},p(t,l){i=t},d(t){t&&e.detach(n),a=!1,o()}}}function Q(i){let n,a,o,t,l=(i[41]?i[15](i[41].period.charAt(0).toLowerCase()+i[41].period.substring(1)):"")+"",r,s,c,v=(i[41]?i[41].amount==="No limit"?i[15]("noLimit"):i[41].amount:0)+"",y,f,h=i[41].amount!="No limit"&&i[41].amount!=i[15]("noLimit"),T,k,Y,M=i[15]("expirationDate")+"",R,A,E,I,j,w=h&&U(i);function D(d,_){return d[41].expiryDate?ge:_e}let z=D(i),b=z(i);function C(d,_){if(_[0]&32769&&(I=null),I==null&&(I=d[41].amount!==d[15]("noLimit")&&d[41].amount!=="No limit"&&!d[41].isModified),I)return ye;if(d[41].amount!="No limit"&&d[41].isModified)return Le}let p=C(i,[-1,-1]),u=p&&p(i);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),t=e.element("div"),r=e.text(l),s=e.space(),c=e.element("div"),y=e.text(v),f=e.space(),w&&w.c(),T=e.space(),k=e.element("div"),Y=e.element("div"),R=e.text(M),A=e.space(),b.c(),E=e.space(),u&&u.c(),j=e.space(),e.attr(t,"class","InfoCardRowTitle"),e.attr(c,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(Y,"class","InfoCardRowTitle"),e.attr(k,"class","InfoCardRow"),e.attr(a,"class","InfoCardRowContainer"),e.attr(n,"class","InfoCardBox InfoCardMultipleItems")},m(d,_){e.insert(d,n,_),e.append(n,a),e.append(a,o),e.append(o,t),e.append(t,r),e.append(o,s),e.append(o,c),e.append(c,y),e.append(c,f),w&&w.m(c,null),e.append(a,T),e.append(a,k),e.append(k,Y),e.append(Y,R),e.append(k,A),b.m(k,null),e.append(n,E),u&&u.m(n,null),e.append(n,j)},p(d,_){_[0]&32769&&l!==(l=(d[41]?d[15](d[41].period.charAt(0).toLowerCase()+d[41].period.substring(1)):"")+"")&&e.set_data(r,l),_[0]&32769&&v!==(v=(d[41]?d[41].amount==="No limit"?d[15]("noLimit"):d[41].amount:0)+"")&&e.set_data(y,v),_[0]&32769&&(h=d[41].amount!="No limit"&&d[41].amount!=d[15]("noLimit")),h?w?w.p(d,_):(w=U(d),w.c(),w.m(c,null)):w&&(w.d(1),w=null),_[0]&32768&&M!==(M=d[15]("expirationDate")+"")&&e.set_data(R,M),z===(z=D(d))&&b?b.p(d,_):(b.d(1),b=z(d),b&&(b.c(),b.m(k,null))),p===(p=C(d,_))&&u?u.p(d,_):(u&&u.d(1),u=p&&p(d),u&&(u.c(),u.m(n,j)))},d(d){d&&e.detach(n),w&&w.d(),b.d(),u&&u.d()}}}function he(i){let n,a=i[15]("noLimit")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(t,l){e.insert(t,n,l),e.append(n,o)},p(t,l){l[0]&32768&&a!==(a=t[15]("noLimit")+"")&&e.set_data(o,a)},d(t){t&&e.detach(n)}}}function we(i){let n=(i[41]?i[41].amount==="No limit"?i[15]("noLimit"):i[41].amount:0)+"",a,o,t=i[41].amount!=="No limit"&&i[41].amount!==i[15]("noLimit"),l,r=t&&J(i);return{c(){a=e.text(n),o=e.space(),r&&r.c(),l=e.empty()},m(s,c){e.insert(s,a,c),e.insert(s,o,c),r&&r.m(s,c),e.insert(s,l,c)},p(s,c){c[0]&32769&&n!==(n=(s[41]?s[41].amount==="No limit"?s[15]("noLimit"):s[41].amount:0)+"")&&e.set_data(a,n),c[0]&32769&&(t=s[41].amount!=="No limit"&&s[41].amount!==s[15]("noLimit")),t?r?r.p(s,c):(r=J(s),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(s){s&&(e.detach(a),e.detach(o),e.detach(l)),r&&r.d(s)}}}function J(i){let n,a=i[15]("minutes")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(t,l){e.insert(t,n,l),e.append(n,o)},p(t,l){l[0]&32768&&a!==(a=t[15]("minutes")+"")&&e.set_data(o,a)},d(t){t&&e.detach(n)}}}function ve(i){let n,a=i[15]("notAvailable")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(t,l){e.insert(t,n,l),e.append(n,o)},p(t,l){l[0]&32768&&a!==(a=t[15]("notAvailable")+"")&&e.set_data(o,a)},d(t){t&&e.detach(n)}}}function be(i){let n,a=(i[41]?B.hooks(i[41].expiryDate).year()>i[17].year()+30?i[17].clone().add(5,"years").format("D/M/YYYY - h:mm A"):B.hooks(i[41].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(t,l){e.insert(t,n,l),e.append(n,o)},p(t,l){l[0]&1&&a!==(a=(t[41]?B.hooks(t[41].expiryDate).year()>t[17].year()+30?t[17].clone().add(5,"years").format("D/M/YYYY - h:mm A"):B.hooks(t[41].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&e.set_data(o,a)},d(t){t&&e.detach(n)}}}function Ce(i){let n,a,o,t,l,r,s,c,v;function y(){return i[24](i[43])}return{c(){n=e.element("div"),a=e.element("span"),a.textContent="i",o=e.space(),t=e.element("player-account-gaming-limits-popup"),e.attr(a,"class","InfoCardIcon"),e.set_custom_element_data(t,"showpopup",l=i[8][i[43]+1]),e.set_custom_element_data(t,"iteminfoamount",r=i[41].updateMinutes),e.set_custom_element_data(t,"playercurrency",s=i[15]("minutes")),e.set_custom_element_data(t,"lang",i[3]),e.set_custom_element_data(t,"clientstyling",i[4]),e.set_custom_element_data(t,"clientstylingurl",i[5]),e.attr(n,"class","InfoCardIconWrapper "+(i[16]?"InfoCardIconMobileWrapper":""))},m(f,h){e.insert(f,n,h),e.append(n,a),e.append(n,o),e.append(n,t),c||(v=e.listen(a,"click",e.prevent_default(y)),c=!0)},p(f,h){i=f,h[0]&256&&l!==(l=i[8][i[43]+1])&&e.set_custom_element_data(t,"showpopup",l),h[0]&1&&r!==(r=i[41].updateMinutes)&&e.set_custom_element_data(t,"iteminfoamount",r),h[0]&32768&&s!==(s=i[15]("minutes"))&&e.set_custom_element_data(t,"playercurrency",s),h[0]&8&&e.set_custom_element_data(t,"lang",i[3]),h[0]&16&&e.set_custom_element_data(t,"clientstyling",i[4]),h[0]&32&&e.set_custom_element_data(t,"clientstylingurl",i[5])},d(f){f&&e.detach(n),c=!1,v()}}}function ke(i){let n,a,o;return{c(){n=e.element("div"),n.innerHTML="<span></span>",e.attr(n,"class","InfoCardRemoveIcon")},m(t,l){e.insert(t,n,l),a||(o=e.listen(n,"click",function(){e.is_function(i[20](i[41],i[1]))&&i[20](i[41],i[1]).apply(this,arguments)}),a=!0)},p(t,l){i=t},d(t){t&&e.detach(n),a=!1,o()}}}function K(i){let n,a,o,t,l=(i[41]?i[15](i[41].period.charAt(0).toLowerCase()+i[41].period.substring(1)):"")+"",r,s,c,v,y,f,h=i[15]("expirationDate")+"",T,k,Y,M,R;function A(p,u){return p[41].amount!==0?we:he}let E=A(i),I=E(i);function j(p,u){return p[41].expiryDate?be:ve}let w=j(i),D=w(i);function z(p,u){if(u[0]&32769&&(M=null),M==null&&(M=p[41].amount!==p[15]("noLimit")&&p[41].amount!=="No limit"&&!p[41].isModified),M)return ke;if(p[41].amount!="No limit"&&p[41].isModified)return Ce}let b=z(i,[-1,-1]),C=b&&b(i);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),t=e.element("div"),r=e.text(l),s=e.space(),c=e.element("div"),I.c(),v=e.space(),y=e.element("div"),f=e.element("div"),T=e.text(h),k=e.space(),D.c(),Y=e.space(),C&&C.c(),R=e.space(),e.attr(t,"class","InfoCardRowTitle"),e.attr(c,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(f,"class","InfoCardRowTitle"),e.attr(y,"class","InfoCardRow"),e.attr(a,"class","InfoCardRowContainer"),e.attr(n,"class","InfoCardBox InfoCardMultipleItems")},m(p,u){e.insert(p,n,u),e.append(n,a),e.append(a,o),e.append(o,t),e.append(t,r),e.append(o,s),e.append(o,c),I.m(c,null),e.append(a,v),e.append(a,y),e.append(y,f),e.append(f,T),e.append(y,k),D.m(y,null),e.append(n,Y),C&&C.m(n,null),e.append(n,R)},p(p,u){u[0]&32769&&l!==(l=(p[41]?p[15](p[41].period.charAt(0).toLowerCase()+p[41].period.substring(1)):"")+"")&&e.set_data(r,l),E===(E=A(p))&&I?I.p(p,u):(I.d(1),I=E(p),I&&(I.c(),I.m(c,null))),u[0]&32768&&h!==(h=p[15]("expirationDate")+"")&&e.set_data(T,h),w===(w=j(p))&&D?D.p(p,u):(D.d(1),D=w(p),D&&(D.c(),D.m(y,null))),b===(b=z(p,u))&&C?C.p(p,u):(C&&C.d(1),C=b&&b(p),C&&(C.c(),C.m(n,R)))},d(p){p&&e.detach(n),I.d(),D.d(),C&&C.d()}}}function Z(i){let n,a=i[15]("removeLimits")+"",o,t,l;return{c(){n=e.element("button"),o=e.text(a),e.attr(n,"class","InfoCardRemoveButton")},m(r,s){e.insert(r,n,s),e.append(n,o),t||(l=e.listen(n,"click",i[27]),t=!0)},p(r,s){s[0]&32768&&a!==(a=r[15]("removeLimits")+"")&&e.set_data(o,a)},d(r){r&&e.detach(n),t=!1,l()}}}function X(i){let n,a,o;return{c(){n=e.element("player-account-modal"),a=e.element("player-account-gaming-limits-confirmation-modal"),e.set_custom_element_data(a,"modaltext",o=i[10]?i[12]:i[13]),e.set_custom_element_data(a,"modalsource","infoCard"),e.set_custom_element_data(a,"lang",i[3]),e.set_custom_element_data(a,"clientstyling",i[4]),e.set_custom_element_data(a,"clientstylingurl",i[5]),e.set_custom_element_data(n,"clientstyling",i[4]),e.set_custom_element_data(n,"clientstylingurl",i[5])},m(t,l){e.insert(t,n,l),e.append(n,a)},p(t,l){l[0]&13312&&o!==(o=t[10]?t[12]:t[13])&&e.set_custom_element_data(a,"modaltext",o),l[0]&8&&e.set_custom_element_data(a,"lang",t[3]),l[0]&16&&e.set_custom_element_data(a,"clientstyling",t[4]),l[0]&32&&e.set_custom_element_data(a,"clientstylingurl",t[5]),l[0]&16&&e.set_custom_element_data(n,"clientstyling",t[4]),l[0]&32&&e.set_custom_element_data(n,"clientstylingurl",t[5])},d(t){t&&e.detach(n)}}}function Ie(i){let n;function a(l,r){return l[7]?ue:pe}let o=a(i),t=o(i);return{c(){n=e.element("div"),t.c()},m(l,r){e.insert(l,n,r),t.m(n,null),i[28](n)},p(l,r){o===(o=a(l))&&t?t.p(l,r):(t.d(1),t=o(l),t&&(t.c(),t.m(n,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(n),t.d(),i[28](null)}}}function De(i,n,a){let o;e.component_subscribe(i,e.$format,m=>a(15,o=m));let{limitsdata:t=[]}=n,{limitname:l=""}=n,{playercurrency:r=""}=n,{lang:s="en"}=n,{clientstyling:c=""}=n,{clientstylingurl:v=""}=n,{translationurl:y=""}=n;const f=()=>{fetch(y).then(L=>L.json()).then(L=>{Object.keys(L).forEach(S=>{H(S,L[S])})}).catch(L=>{console.log(L)})};Object.keys(V).forEach(m=>{H(m,V[m])});let h=!0,T,k=new Array(5).fill(0),Y=["Daily","Weekly","Monthly"],M=!0,R=!0,A=!1,E=window.navigator.userAgent,I=e.getDevice(E)!=="PC",j="",w="",D=!0,z=B.hooks();const b=m=>{window.postMessage({type:"EditPlayerAccountGamingLimits",edit:m,name:l},window.location.href)},C=m=>{a(11,A=!0),a(10,R=!0),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:l},window.location.href)},p=(m,L)=>{a(11,A=!0),a(10,R=!1),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:L},window.location.href)},u=m=>{window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href),setTimeout(()=>{a(8,k[m]=!0,k)},50)},d=m=>{let L=[...m];Y.forEach((S,q)=>{L.find(W=>W.period===S)||(L=_(L,q,S));const F=L.find(W=>W.period===S);F&&F.amount!=="No limit"&&a(9,M=!1)}),m.splice(0,m.length,...L),a(7,h=!1)},_=(m,L,S)=>{const q={period:S,amount:"No limit",currency:"",isModified:!1,expiryDate:""},F=[...m];return F.splice(L,0,q),F},g=(m,L)=>m.period==="Weekly"&&L.period==="Daily"||m.period==="Monthly"&&L.period==="Daily"||m.period==="Monthly"&&L.period==="Weekly"?1:m.period==="Daily"&&L.period==="Weekly"||m.period==="Daily"&&L.period==="Monthly"||m.period==="Weekly"&&L.period==="Monthly"?-1:0,N=()=>{let m="";m=l==="Time Limit"?"time limit":l==="Deposit Limit"?"deposit limit":l==="Wagering Limit"?"wagering limit":"loss limit",a(12,j=o("removeLimitsText",{values:{limit:m}})),a(13,w=o("removeLimitText",{values:{limit:m}}))},$=m=>{m.forEach(L=>{L.isModified&&a(14,D=!1)})},ee=()=>{se(s),N(),$(t),d(t),t.sort(g)},P=m=>{if(m.data)switch(m.data.type){case"ClosePlayerAccountGamingLimitsPopup":a(8,k=new Array(5).fill(0));break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),a(11,A=!1),a(10,R=!1);break}},te=()=>{let m=document.createElement("style");m.innerHTML=c,T.appendChild(m)},ie=()=>{let m=new URL(v),L=document.createElement("style");fetch(m.href).then(S=>S.text()).then(S=>{L.innerHTML=S,setTimeout(()=>{T.appendChild(L)},1)})};e.onMount(()=>(window.addEventListener("message",P,!1),()=>{window.removeEventListener("message",P)}));const ne=()=>u(0),ae=m=>u(m+1),oe=m=>u(m+1),le=()=>b(t),re=()=>C(t);function me(m){e.binding_callbacks[m?"unshift":"push"](()=>{T=m,a(6,T)})}return i.$$set=m=>{"limitsdata"in m&&a(0,t=m.limitsdata),"limitname"in m&&a(1,l=m.limitname),"playercurrency"in m&&a(2,r=m.playercurrency),"lang"in m&&a(3,s=m.lang),"clientstyling"in m&&a(4,c=m.clientstyling),"clientstylingurl"in m&&a(5,v=m.clientstylingurl),"translationurl"in m&&a(22,y=m.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&11&&t&&l&&s&&ee(),i.$$.dirty[0]&80&&c&&T&&te(),i.$$.dirty[0]&96&&v&&T&&ie(),i.$$.dirty[0]&4194304&&y&&f()},[t,l,r,s,c,v,T,h,k,M,R,A,j,w,D,o,I,z,b,C,p,u,y,ne,ae,oe,le,re,me]}class x extends e.SvelteComponent{constructor(n){super(),e.init(this,n,De,Ie,e.safe_not_equal,{limitsdata:0,limitname:1,playercurrency:2,lang:3,clientstyling:4,clientstylingurl:5,translationurl:22},de,[-1,-1])}get limitsdata(){return this.$$.ctx[0]}set limitsdata(n){this.$$set({limitsdata:n}),e.flush()}get limitname(){return this.$$.ctx[1]}set limitname(n){this.$$set({limitname:n}),e.flush()}get playercurrency(){return this.$$.ctx[2]}set playercurrency(n){this.$$set({playercurrency:n}),e.flush()}get lang(){return this.$$.ctx[3]}set lang(n){this.$$set({lang:n}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(n){this.$$set({clientstyling:n}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(n){this.$$set({clientstylingurl:n}),e.flush()}get translationurl(){return this.$$.ctx[22]}set translationurl(n){this.$$set({translationurl:n}),e.flush()}}e.create_custom_element(x,{limitsdata:{},limitname:{},playercurrency:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=x;
|