@everymatrix/player-account-controller 1.54.0 → 1.54.2
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-CsWa2j6i.js → GeneralLogout-Ddt-oH9k.js} +1094 -1131
- package/components/{PlayerAccountBettingHistory-D_8K8e-E.js → PlayerAccountBettingHistory-C7xwYi03.js} +34 -35
- package/components/{PlayerAccountBiometrics-FWYyFKmB.js → PlayerAccountBiometrics-D7WS5cnI.js} +1 -1
- package/components/{PlayerAccountClosure-BJP8eejl.js → PlayerAccountClosure-yRlo8hXR.js} +1 -1
- package/components/{PlayerAccountController-DQGj69Re.js → PlayerAccountController-BZYAo3oo.js} +336 -353
- package/components/{PlayerAccountGamingLimits-Dt8hOZzW.js → PlayerAccountGamingLimits-CTBhVGgC.js} +3 -3
- package/components/{PlayerAccountGamingLimitsConfirmationModal-B6SPYMpk.js → PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-BG2VPqUz.js → PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js} +16 -16
- package/components/{PlayerAccountGamingLimitsHistory2-65MLJ2rD.js → PlayerAccountGamingLimitsHistory2-CXKA0L0d.js} +121 -132
- package/components/{PlayerAccountGamingLimitsInfoCard-CqTAvCh7.js → PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16-C3dTjA-p.js → PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js} +737 -768
- package/components/{PlayerAccountGamingLimitsPopup-diUVGesC.js → PlayerAccountGamingLimitsPopup-CJu5RRl6.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-BmDihzLr.js → PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js} +75 -81
- package/components/{PlayerAccountGeneralConfirmationModal-D3tbAl7Q.js → PlayerAccountGeneralConfirmationModal-DG0N686t.js} +1 -1
- package/components/{PlayerAccountMenu-CbXhpL1a.js → PlayerAccountMenu-CZBa8_5G.js} +66 -67
- package/components/{PlayerAccountModal-5TJbkUF8.js → PlayerAccountModal-BmKjtXKT.js} +1 -1
- package/components/{PlayerAccountNotifications-BVY-SXyT.js → PlayerAccountNotifications-B4Ht-hHj.js} +1 -1
- package/components/{PlayerAccountSelfExclusion-BGfuEA4r.js → PlayerAccountSelfExclusion-DxGHXTb8.js} +1488 -1572
- package/components/{PlayerAccountTimeout-BDDMm0XX.js → PlayerAccountTimeout-DOSjICsY.js} +4 -4
- package/components/{PlayerActiveBonuses-D0RUTvjl.js → PlayerActiveBonuses-DMAG7NUP.js} +119 -120
- package/components/{PlayerBonusCard-CU67pLmG.js → PlayerBonusCard-Dss1REmn.js} +2 -2
- package/components/{PlayerBonusHistory-BLedlLHg.js → PlayerBonusHistory-BxBiQwQf.js} +53 -53
- package/components/{PlayerChangePassword-8ZD6eOj-.js → PlayerChangePassword-DnCj-wcc.js} +1 -1
- package/components/{PlayerDeposit-D5Xuk21T.js → PlayerDeposit-CHIQ8EaC.js} +1 -1
- package/components/{PlayerGamingHistory-tb-rMGdz.js → PlayerGamingHistory-BtQ73TId.js} +375 -388
- package/components/{PlayerPendingWithdrawals-DuN3Qn3P.js → PlayerPendingWithdrawals-BbTa7_8U.js} +1 -1
- package/components/{PlayerProfileInfo-DmKFg0dn.js → PlayerProfileInfo-CvAqD3Dk.js} +532 -549
- package/components/{PlayerRealityCheck-BUW8tvj3.js → PlayerRealityCheck-3d-B64ie.js} +175 -191
- package/components/{PlayerTransactionHistory-hGi2tOL2.js → PlayerTransactionHistory-BYJNabMB.js} +1 -1
- package/components/{PlayerWithdrawal-CR3Xpytk.js → PlayerWithdrawal-DDWroufG.js} +1 -1
- package/esnext/player-account-controller.js +14 -0
- package/package.json +11 -31
- package/stencil/{active-mixin-59dfae2a-CJN1Jc-g.js → active-mixin-59dfae2a-BphP4pp5.js} +745 -776
- package/stencil/{checkbox-group-input_9-DQoOMgN8.js → checkbox-group-input_9-CMFoK7_E.js} +1873 -1942
- package/stencil/{general-input-bzWxIJkt.js → general-input-DnFPstQP.js} +1 -1
- package/stencil/{index-062e829b-DPj_pEuI.js → index-062e829b-DAFsZs6D.js} +220 -236
- package/stencil/{index-33f005e1-DGGQe5wK.js → index-33f005e1-fFxPaeNy.js} +223 -239
- package/stencil/{index-9b3245b3-3zj7bxxu.js → index-9b3245b3-rzHgwqlB.js} +166 -193
- package/stencil/{index-fc58390d-DeoeGpBS.js → index-fc58390d-BSwfXuUs.js} +267 -294
- package/stencil/{password-input_2-Dx1lICIg.js → password-input_2-Bb9Q6Fe0.js} +136 -154
- package/stencil/{player-change-password-gm2-98dcb7bc-F9HM0T8d.js → player-change-password-gm2-98dcb7bc-gLcZhl3S.js} +1 -1
- package/stencil/player-change-password-gm2-DR3e2gh5.js +7 -0
- package/stencil/{player-kyc-verification-o-RUWyY4.js → player-kyc-verification-BQZdJFEJ.js} +61 -83
- package/stencil/{toggle-checkbox-input-BCrxxTpc.js → toggle-checkbox-input-CCLW6-uK.js} +1 -1
- package/stencil/{user-deposit-withdrawal-DEMVRyvk.js → user-deposit-withdrawal-CmF0LoNb.js} +175 -197
- package/stencil/{user-transaction-history-CevHOCcm.js → user-transaction-history-BgV-k2Cl.js} +81 -107
- package/components/GeneralLogout-DfI2_eQe.cjs +0 -8
- package/components/PlayerAccountBettingHistory-ldAp8-yN.cjs +0 -1
- package/components/PlayerAccountBiometrics-Cft2jzuJ.cjs +0 -1
- package/components/PlayerAccountClosure-DvHhtHhl.cjs +0 -1
- package/components/PlayerAccountController-DDLO4xVW.cjs +0 -1
- package/components/PlayerAccountGamingLimits-EQC_UZag.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-Ciz1fSFW.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-CLjUmEQv.cjs +0 -10
- package/components/PlayerAccountGamingLimitsHistory2-CG4RnfZE.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-Au2vobro.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16-CMnCgRU1.cjs +0 -21
- package/components/PlayerAccountGamingLimitsPopup-BtbGIQFb.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2-CW3N7E83.cjs +0 -1
- package/components/PlayerAccountGeneralConfirmationModal-xMxALug3.cjs +0 -1
- package/components/PlayerAccountMenu-DHGBVm64.cjs +0 -1
- package/components/PlayerAccountModal-BitbPM3Z.cjs +0 -1
- package/components/PlayerAccountNotifications-DDu6ZWkh.cjs +0 -1
- package/components/PlayerAccountSelfExclusion-9vzbBY28.cjs +0 -3828
- package/components/PlayerAccountTimeout-f4vPyQE-.cjs +0 -1
- package/components/PlayerActiveBonuses-BVQwAh2z.cjs +0 -1
- package/components/PlayerBonusCard-UTTIEBwb.cjs +0 -1
- package/components/PlayerBonusHistory-EXOvKzDr.cjs +0 -1
- package/components/PlayerChangePassword-XpKJjnFu.cjs +0 -3
- package/components/PlayerDeposit-Do7vb_4b.cjs +0 -1
- package/components/PlayerGamingHistory-OEU1L3Q2.cjs +0 -1
- package/components/PlayerPendingWithdrawals-Bu2MOezw.cjs +0 -1
- package/components/PlayerProfileInfo-lMeb2jBi.cjs +0 -1
- package/components/PlayerRealityCheck-CA0P_3BC.cjs +0 -1
- package/components/PlayerTransactionHistory-CvZcvyBx.cjs +0 -1
- package/components/PlayerWithdrawal-DxLwjX7x.cjs +0 -1
- package/es2015/player-account-controller.cjs +0 -1
- package/es2015/player-account-controller.js +0 -16
- package/stencil/active-mixin-59dfae2a-1hMz67mM.cjs +0 -1519
- package/stencil/app-globals-0f993ce5-8artnnwr.cjs +0 -1
- package/stencil/checkbox-group-input_9-DiXERGqn.cjs +0 -4193
- package/stencil/general-input-fzGwoSoE.cjs +0 -1
- package/stencil/index-062e829b-CpXLBOEz.cjs +0 -1
- package/stencil/index-33f005e1-BS5PFnj3.cjs +0 -1
- package/stencil/index-9b3245b3-ByXtSZIM.cjs +0 -1
- package/stencil/index-fc58390d-DgBOSsU7.cjs +0 -1
- package/stencil/locale-B5abSHU_.cjs +0 -1
- package/stencil/password-input_2-DvDzz75b.cjs +0 -1248
- package/stencil/player-change-password-gm2-98dcb7bc-CCEw2GA2.cjs +0 -1
- package/stencil/player-change-password-gm2-BEYcuzS-.cjs +0 -1
- package/stencil/player-change-password-gm2-NWnv4CCw.js +0 -25
- package/stencil/player-kyc-verification-_iT3bbO9.cjs +0 -180
- package/stencil/toggle-checkbox-input-BYoIi-jG.cjs +0 -1
- package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +0 -1
- package/stencil/user-deposit-withdrawal-_jt0Ivg5.cjs +0 -59
- package/stencil/user-transaction-history-U0c__t1q.cjs +0 -1
|
@@ -1,22 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var J = (t, e, i) => e in t ? ve(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, V = (t, e) => {
|
|
5
|
-
for (var i in e || (e = {}))
|
|
6
|
-
Te.call(e, i) && J(t, i, e[i]);
|
|
7
|
-
if (q)
|
|
8
|
-
for (var i of q(e))
|
|
9
|
-
we.call(e, i) && J(t, i, e[i]);
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import { a as Se, $ as _e, S as Ae, i as Pe, f as b, c as be, s as ke, b as Ce, e as S, g as a, k as x, o as D, p as R, q as Ie, T as Ee, v as De, x as Z, K as $, t as C, d as Q, w as Y, h as F, l as g, m as xe, n as I, L as Re, U as ee, y as Oe } from "./GeneralLogout-CsWa2j6i.js";
|
|
13
|
-
function te(t, e) {
|
|
14
|
-
Se(t, e);
|
|
1
|
+
import { a as he, $ as Le, S as fe, i as ve, f as b, c as Te, s as we, b as Se, e as S, g as a, k as x, o as D, p as R, q as _e, T as Ae, v as Pe, x as X, K as q, t as C, d as K, w as V, h as F, l as g, m as be, n as I, L as ke, U as J, y as Ce } from "./GeneralLogout-Ddt-oH9k.js";
|
|
2
|
+
function Z(t, e) {
|
|
3
|
+
he(t, e);
|
|
15
4
|
}
|
|
16
|
-
function
|
|
17
|
-
|
|
5
|
+
function Ie(t) {
|
|
6
|
+
Le.set(t);
|
|
18
7
|
}
|
|
19
|
-
const
|
|
8
|
+
const Y = {
|
|
20
9
|
en: {
|
|
21
10
|
expandLimits: "LIMIT HISTORY",
|
|
22
11
|
daily: "per day",
|
|
@@ -267,26 +256,26 @@ const K = {
|
|
|
267
256
|
historyLimitTypeLoss: "Loss Limit"
|
|
268
257
|
}
|
|
269
258
|
};
|
|
270
|
-
function
|
|
271
|
-
|
|
259
|
+
function Ee(t) {
|
|
260
|
+
Se(t, "svelte-19ml84y", ':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-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
|
|
272
261
|
}
|
|
273
|
-
function
|
|
262
|
+
function $(t, e, s) {
|
|
274
263
|
const r = t.slice();
|
|
275
|
-
return r[38] = e[
|
|
264
|
+
return r[38] = e[s], r[39] = e, r[40] = s, r;
|
|
276
265
|
}
|
|
277
|
-
function
|
|
278
|
-
let e,
|
|
266
|
+
function De(t) {
|
|
267
|
+
let e, s, r, o = (
|
|
279
268
|
/*$_*/
|
|
280
269
|
t[9]("expandLimits") + ""
|
|
281
|
-
), l, m, n, v, L, d, p, c, f, P =
|
|
270
|
+
), l, m, n, v, L, d, p, c, f, P = q(
|
|
282
271
|
/*lazyShowedHistoryArray*/
|
|
283
272
|
t[7]
|
|
284
273
|
), T = [];
|
|
285
274
|
for (let h = 0; h < P.length; h += 1)
|
|
286
|
-
T[h] =
|
|
275
|
+
T[h] = ee($(t, P, h));
|
|
287
276
|
return {
|
|
288
277
|
c() {
|
|
289
|
-
e = S("div"),
|
|
278
|
+
e = S("div"), s = S("div"), r = S("button"), l = C(o), m = K(), n = V("svg"), v = V("path"), L = V("path"), d = K(), p = S("div");
|
|
290
279
|
for (let h = 0; h < T.length; h += 1)
|
|
291
280
|
T[h].c();
|
|
292
281
|
a(v, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), a(v, "class", "svelte-19ml84y"), a(L, "d", "M0 0h36v36h-36z"), a(L, "fill", "none"), a(L, "class", "svelte-19ml84y"), a(n, "class", "ExpandArrow svelte-19ml84y"), a(n, "xmlns", "http://www.w3.org/2000/svg"), a(n, "width", "36"), a(n, "height", "36"), a(n, "viewBox", "0 0 36 36"), a(n, "fill", "#999"), F(
|
|
@@ -299,14 +288,14 @@ function ze(t) {
|
|
|
299
288
|
"hidden",
|
|
300
289
|
/*hidden*/
|
|
301
290
|
t[5]
|
|
302
|
-
), a(
|
|
291
|
+
), a(s, "class", "HistoryWrapper " + /*isDesktop*/
|
|
303
292
|
(t[10] ? "Desktop" : "") + " svelte-19ml84y"), a(e, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
|
|
304
293
|
},
|
|
305
294
|
m(h, _) {
|
|
306
|
-
x(h, e, _), g(e,
|
|
295
|
+
x(h, e, _), g(e, s), g(s, r), g(r, l), g(r, m), g(r, n), g(n, v), g(n, L), g(s, d), g(s, p);
|
|
307
296
|
for (let u = 0; u < T.length; u += 1)
|
|
308
297
|
T[u] && T[u].m(p, null);
|
|
309
|
-
c || (f =
|
|
298
|
+
c || (f = be(
|
|
310
299
|
r,
|
|
311
300
|
"click",
|
|
312
301
|
/*toggleHistoryDisplayArea*/
|
|
@@ -324,14 +313,14 @@ function ze(t) {
|
|
|
324
313
|
h[8]
|
|
325
314
|
), _[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
|
|
326
315
|
650) {
|
|
327
|
-
P =
|
|
316
|
+
P = q(
|
|
328
317
|
/*lazyShowedHistoryArray*/
|
|
329
318
|
h[7]
|
|
330
319
|
);
|
|
331
320
|
let u;
|
|
332
321
|
for (u = 0; u < P.length; u += 1) {
|
|
333
|
-
const E =
|
|
334
|
-
T[u] ? T[u].p(E, _) : (T[u] =
|
|
322
|
+
const E = $(h, P, u);
|
|
323
|
+
T[u] ? T[u].p(E, _) : (T[u] = ee(E), T[u].c(), T[u].m(p, null));
|
|
335
324
|
}
|
|
336
325
|
for (; u < T.length; u += 1)
|
|
337
326
|
T[u].d(1);
|
|
@@ -346,15 +335,15 @@ function ze(t) {
|
|
|
346
335
|
);
|
|
347
336
|
},
|
|
348
337
|
d(h) {
|
|
349
|
-
h && R(e),
|
|
338
|
+
h && R(e), ke(T, h), c = !1, f();
|
|
350
339
|
}
|
|
351
340
|
};
|
|
352
341
|
}
|
|
353
|
-
function
|
|
342
|
+
function xe(t) {
|
|
354
343
|
return { c: D, m: D, p: D, d: D };
|
|
355
344
|
}
|
|
356
|
-
function
|
|
357
|
-
let e,
|
|
345
|
+
function Re(t) {
|
|
346
|
+
let e, s = (
|
|
358
347
|
/*lang*/
|
|
359
348
|
(t[0] ? (
|
|
360
349
|
/*$_*/
|
|
@@ -363,26 +352,26 @@ function Me(t) {
|
|
|
363
352
|
), r;
|
|
364
353
|
return {
|
|
365
354
|
c() {
|
|
366
|
-
e = S("p"), r = C(
|
|
355
|
+
e = S("p"), r = C(s), a(e, "class", "svelte-19ml84y");
|
|
367
356
|
},
|
|
368
357
|
m(o, l) {
|
|
369
358
|
x(o, e, l), g(e, r);
|
|
370
359
|
},
|
|
371
360
|
p(o, l) {
|
|
372
361
|
l[0] & /*lang, $_*/
|
|
373
|
-
513 &&
|
|
362
|
+
513 && s !== (s = /*lang*/
|
|
374
363
|
(o[0] ? (
|
|
375
364
|
/*$_*/
|
|
376
365
|
o[9]("error")
|
|
377
|
-
) : "500 Server Error") + "") && I(r,
|
|
366
|
+
) : "500 Server Error") + "") && I(r, s);
|
|
378
367
|
},
|
|
379
368
|
d(o) {
|
|
380
369
|
o && R(e);
|
|
381
370
|
}
|
|
382
371
|
};
|
|
383
372
|
}
|
|
384
|
-
function
|
|
385
|
-
let e,
|
|
373
|
+
function Oe(t) {
|
|
374
|
+
let e, s, r, o = (
|
|
386
375
|
/*history*/
|
|
387
376
|
t[38].type + ""
|
|
388
377
|
), l, m, n = (
|
|
@@ -394,10 +383,10 @@ function Fe(t) {
|
|
|
394
383
|
), p;
|
|
395
384
|
return {
|
|
396
385
|
c() {
|
|
397
|
-
e = S("div"),
|
|
386
|
+
e = S("div"), s = S("span"), r = S("span"), l = C(o), m = S("span"), v = C(n), L = S("span"), p = C(d), a(r, "class", "LimitType svelte-19ml84y"), a(m, "class", "LimitAmountPeriod svelte-19ml84y"), a(s, "class", "GeneralLimitInformation svelte-19ml84y"), a(L, "class", "DateLimitInformation svelte-19ml84y"), a(e, "class", "HistoryRow svelte-19ml84y");
|
|
398
387
|
},
|
|
399
388
|
m(c, f) {
|
|
400
|
-
x(c, e, f), g(e,
|
|
389
|
+
x(c, e, f), g(e, s), g(s, r), g(r, l), g(s, m), g(m, v), g(e, L), g(L, p);
|
|
401
390
|
},
|
|
402
391
|
p(c, f) {
|
|
403
392
|
f[0] & /*lazyShowedHistoryArray*/
|
|
@@ -413,8 +402,8 @@ function Fe(t) {
|
|
|
413
402
|
}
|
|
414
403
|
};
|
|
415
404
|
}
|
|
416
|
-
function
|
|
417
|
-
let e,
|
|
405
|
+
function We(t) {
|
|
406
|
+
let e, s, r, o = (
|
|
418
407
|
/*history*/
|
|
419
408
|
t[38].type + ""
|
|
420
409
|
), l, m, n = (
|
|
@@ -426,10 +415,10 @@ function Ue(t) {
|
|
|
426
415
|
), p;
|
|
427
416
|
return {
|
|
428
417
|
c() {
|
|
429
|
-
e = S("div"),
|
|
418
|
+
e = S("div"), s = S("span"), r = S("span"), l = C(o), m = S("span"), v = C(n), L = S("span"), p = C(d), a(r, "class", "LimitType svelte-19ml84y"), a(m, "class", "LimitAmountPeriod svelte-19ml84y"), a(s, "class", "GeneralLimitInformation svelte-19ml84y"), a(L, "class", "DateLimitInformation svelte-19ml84y"), a(e, "class", "HistoryRow svelte-19ml84y");
|
|
430
419
|
},
|
|
431
420
|
m(c, f) {
|
|
432
|
-
x(c, e, f), g(e,
|
|
421
|
+
x(c, e, f), g(e, s), g(s, r), g(r, l), g(s, m), g(m, v), g(e, L), g(L, p);
|
|
433
422
|
},
|
|
434
423
|
p(c, f) {
|
|
435
424
|
f[0] & /*lazyShowedHistoryArray*/
|
|
@@ -445,15 +434,15 @@ function Ue(t) {
|
|
|
445
434
|
}
|
|
446
435
|
};
|
|
447
436
|
}
|
|
448
|
-
function
|
|
449
|
-
let e,
|
|
437
|
+
function ee(t) {
|
|
438
|
+
let e, s, r, o = (
|
|
450
439
|
/*index*/
|
|
451
440
|
t[40]
|
|
452
441
|
);
|
|
453
442
|
function l(d, p) {
|
|
454
443
|
return (
|
|
455
444
|
/*history*/
|
|
456
|
-
d[38].removed ?
|
|
445
|
+
d[38].removed ? We : Oe
|
|
457
446
|
);
|
|
458
447
|
}
|
|
459
448
|
let m = l(t), n = m(t);
|
|
@@ -466,18 +455,18 @@ function se(t) {
|
|
|
466
455
|
);
|
|
467
456
|
return {
|
|
468
457
|
c() {
|
|
469
|
-
e = S("div"), n.c(),
|
|
458
|
+
e = S("div"), n.c(), s = K(), a(e, "class", r = J(
|
|
470
459
|
/*index*/
|
|
471
460
|
t[40] > +/*numberofentries*/
|
|
472
461
|
t[1] ? "LimitContainer" : ""
|
|
473
462
|
) + " svelte-19ml84y");
|
|
474
463
|
},
|
|
475
464
|
m(d, p) {
|
|
476
|
-
x(d, e, p), n.m(e, null), g(e,
|
|
465
|
+
x(d, e, p), n.m(e, null), g(e, s), v();
|
|
477
466
|
},
|
|
478
467
|
p(d, p) {
|
|
479
|
-
t = d, m === (m = l(t)) && n ? n.p(t, p) : (n.d(1), n = m(t), n && (n.c(), n.m(e,
|
|
480
|
-
2 && r !== (r =
|
|
468
|
+
t = d, m === (m = l(t)) && n ? n.p(t, p) : (n.d(1), n = m(t), n && (n.c(), n.m(e, s))), p[0] & /*numberofentries*/
|
|
469
|
+
2 && r !== (r = J(
|
|
481
470
|
/*index*/
|
|
482
471
|
t[40] > +/*numberofentries*/
|
|
483
472
|
t[1] ? "LimitContainer" : ""
|
|
@@ -490,18 +479,18 @@ function se(t) {
|
|
|
490
479
|
}
|
|
491
480
|
};
|
|
492
481
|
}
|
|
493
|
-
function
|
|
482
|
+
function je(t) {
|
|
494
483
|
let e;
|
|
495
|
-
function
|
|
484
|
+
function s(l, m) {
|
|
496
485
|
return (
|
|
497
486
|
/*hasErrors*/
|
|
498
|
-
l[6] ?
|
|
487
|
+
l[6] ? Re : (
|
|
499
488
|
/*isLoading*/
|
|
500
|
-
l[4] ?
|
|
489
|
+
l[4] ? xe : De
|
|
501
490
|
)
|
|
502
491
|
);
|
|
503
492
|
}
|
|
504
|
-
let r =
|
|
493
|
+
let r = s(t), o = r(t);
|
|
505
494
|
return {
|
|
506
495
|
c() {
|
|
507
496
|
e = S("div"), o.c(), a(e, "class", "svelte-19ml84y");
|
|
@@ -510,7 +499,7 @@ function Ne(t) {
|
|
|
510
499
|
x(l, e, m), o.m(e, null), t[22](e);
|
|
511
500
|
},
|
|
512
501
|
p(l, m) {
|
|
513
|
-
r === (r =
|
|
502
|
+
r === (r = s(l)) && o ? o.p(l, m) : (o.d(1), o = r(l), o && (o.c(), o.m(e, null)));
|
|
514
503
|
},
|
|
515
504
|
i: D,
|
|
516
505
|
o: D,
|
|
@@ -519,24 +508,24 @@ function Ne(t) {
|
|
|
519
508
|
}
|
|
520
509
|
};
|
|
521
510
|
}
|
|
522
|
-
function
|
|
511
|
+
function ze(t, e, s) {
|
|
523
512
|
let r;
|
|
524
|
-
|
|
525
|
-
let o = window.navigator.userAgent, l = !
|
|
526
|
-
const
|
|
513
|
+
_e(t, Ce, (i) => s(9, r = i));
|
|
514
|
+
let o = window.navigator.userAgent, l = !Ae(o), { lang: m = "" } = e, { userid: n = "" } = e, { session: v = "" } = e, { endpoint: L = "" } = e, { apiversion: d = "" } = e, { numberofentries: p = "10" } = e, { customcurrencysymbols: c = "" } = e, { limitformat: f = "" } = e, { clientstyling: P = "" } = e, { clientstylingurl: T = "" } = e, { translationurl: h = "" } = e, _, u = new Array(), E = parseInt(p, 10), U = !1, W = !0, j = [], z = [], H = !0, N = !1, O = { EUR: "€", RON: "lei", TRY: "₺" };
|
|
515
|
+
const te = () => {
|
|
527
516
|
fetch(h).then((y) => y.json()).then((y) => {
|
|
528
517
|
Object.keys(y).forEach((A) => {
|
|
529
|
-
|
|
518
|
+
Z(A, y[A]);
|
|
530
519
|
});
|
|
531
520
|
}).catch((y) => {
|
|
532
521
|
console.log(y);
|
|
533
522
|
});
|
|
534
523
|
};
|
|
535
|
-
Object.keys(
|
|
536
|
-
|
|
524
|
+
Object.keys(Y).forEach((i) => {
|
|
525
|
+
Z(i, Y[i]);
|
|
537
526
|
});
|
|
538
|
-
const
|
|
539
|
-
let
|
|
527
|
+
const ie = () => {
|
|
528
|
+
let i = d === "gmcore" ? `/v2/player/${n}/transactions/limit` : `/v1/player/${n}/limits/monetary/history`, y = new URL(i, L);
|
|
540
529
|
y.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), y.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), y.searchParams.append("limit", "10000");
|
|
541
530
|
let A = {
|
|
542
531
|
method: "GET",
|
|
@@ -544,19 +533,19 @@ function Be(t, e, i) {
|
|
|
544
533
|
};
|
|
545
534
|
fetch(y.href, A).then((w) => {
|
|
546
535
|
if (w.status >= 300)
|
|
547
|
-
throw
|
|
536
|
+
throw s(4, W = !1), s(6, U = !0), new Error("There was an error fetching the limits");
|
|
548
537
|
return w.json();
|
|
549
538
|
}).then(
|
|
550
539
|
(w) => {
|
|
551
|
-
w.length && (j =
|
|
540
|
+
w.length && (j = se(w), s(7, z = j.slice(0, E))), s(4, W = !1);
|
|
552
541
|
},
|
|
553
542
|
(w) => {
|
|
554
|
-
console.error("There was an error", w),
|
|
543
|
+
console.error("There was an error", w), s(6, U = !0);
|
|
555
544
|
}
|
|
556
545
|
);
|
|
557
|
-
},
|
|
558
|
-
const y = !!
|
|
559
|
-
return
|
|
546
|
+
}, se = (i) => {
|
|
547
|
+
const y = !!Y[m];
|
|
548
|
+
return i.map((w) => {
|
|
560
549
|
let k = {
|
|
561
550
|
amount: "",
|
|
562
551
|
currency: "",
|
|
@@ -565,46 +554,46 @@ function Be(t, e, i) {
|
|
|
565
554
|
type: "",
|
|
566
555
|
removed: !1
|
|
567
556
|
};
|
|
568
|
-
return k.amount =
|
|
557
|
+
return k.amount = re(w), k.currency = y ? O[w.limitCurrencyCode] : w.limitCurrencyCode, k.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(w.limitDate)), k.period = r(`${w.limitPeriod.toLowerCase()}`), k.type = d === "gmcore" ? r(`historyLimitType${w.limitType.split(" ")[0]}`) : r(`historyLimitType${w.limitType.split(" ")[0]}`) + " " + r(`historyProductType${w.limitProductType}`), k.removed = w.limitAmount === -1, k;
|
|
569
558
|
});
|
|
570
|
-
},
|
|
571
|
-
let y = f || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(
|
|
559
|
+
}, re = (i) => {
|
|
560
|
+
let y = f || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(i.limitAmount);
|
|
572
561
|
if (!f) {
|
|
573
|
-
let
|
|
574
|
-
return `${y}${
|
|
562
|
+
let ge = O[i.limitCurrencyCode] || i.limitCurrencyCode;
|
|
563
|
+
return `${y}${ge}`;
|
|
575
564
|
}
|
|
576
|
-
typeof
|
|
565
|
+
typeof i.limitAmount == "string" && i.limitAmount.includes(",") && (i.limitAmount = i.limitAmount.replaceAll(",", ""));
|
|
577
566
|
const A = y.match(/\{(\d+)decimals\}/), w = A ? parseInt(A[1], 10) : 2, k = A ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
|
|
578
|
-
let M = parseFloat(
|
|
579
|
-
const [
|
|
580
|
-
let [G,
|
|
581
|
-
return G = G.replace(/\B(?=(\d{3})+(?!\d))/g,
|
|
567
|
+
let M = parseFloat(i.limitAmount).toFixed(w);
|
|
568
|
+
const [ue, B] = f.includes(".") ? [",", "."] : [".", ","];
|
|
569
|
+
let [G, ce] = M.split(".");
|
|
570
|
+
return G = G.replace(/\B(?=(\d{3})+(?!\d))/g, ue), M = `${G}${B}${ce}`, y = y.replace("{currency}", O[i.limitCurrencyCode] || i.limitCurrencyCode).replace("{amount}", M.split(B)[0]).replace(
|
|
582
571
|
k,
|
|
583
572
|
M.split(B)[1]
|
|
584
573
|
), y;
|
|
585
|
-
},
|
|
586
|
-
|
|
574
|
+
}, oe = () => {
|
|
575
|
+
s(5, H = !H), s(8, N = !N);
|
|
587
576
|
};
|
|
588
|
-
let
|
|
589
|
-
|
|
590
|
-
y.isIntersecting && (E += parseInt(p, 10) || 10, z.length < j.length &&
|
|
577
|
+
let Q = new IntersectionObserver((i) => {
|
|
578
|
+
i.forEach((y) => {
|
|
579
|
+
y.isIntersecting && (E += parseInt(p, 10) || 10, z.length < j.length && s(7, z = j.slice(0, E)));
|
|
591
580
|
});
|
|
592
581
|
});
|
|
593
|
-
const
|
|
594
|
-
|
|
595
|
-
},
|
|
582
|
+
const ne = () => {
|
|
583
|
+
Q.observe(u[u.length - 1]);
|
|
584
|
+
}, le = () => {
|
|
596
585
|
if (!c) return;
|
|
597
|
-
let
|
|
586
|
+
let i = {};
|
|
598
587
|
c.split(",").forEach((y) => {
|
|
599
588
|
let A = y.split(":");
|
|
600
|
-
|
|
601
|
-
}), O =
|
|
602
|
-
},
|
|
603
|
-
let
|
|
604
|
-
|
|
605
|
-
},
|
|
606
|
-
let
|
|
607
|
-
fetch(
|
|
589
|
+
i[A[0].trim()] = A[1].trim();
|
|
590
|
+
}), O = { ...O, ...i };
|
|
591
|
+
}, ae = () => {
|
|
592
|
+
let i = document.createElement("style");
|
|
593
|
+
i.innerHTML = P, _.appendChild(i);
|
|
594
|
+
}, me = () => {
|
|
595
|
+
let i = new URL(T), y = document.createElement("style");
|
|
596
|
+
fetch(i.href).then((A) => A.text()).then((A) => {
|
|
608
597
|
y.innerHTML = A, _ && (setTimeout(
|
|
609
598
|
() => {
|
|
610
599
|
_.appendChild(y);
|
|
@@ -616,33 +605,33 @@ function Be(t, e, i) {
|
|
|
616
605
|
500
|
|
617
606
|
));
|
|
618
607
|
});
|
|
619
|
-
},
|
|
620
|
-
|
|
608
|
+
}, ye = () => {
|
|
609
|
+
Ie(m);
|
|
621
610
|
};
|
|
622
|
-
|
|
623
|
-
|
|
611
|
+
Pe(() => () => {
|
|
612
|
+
Q.unobserve(u[u.length - 1]);
|
|
624
613
|
});
|
|
625
|
-
function
|
|
626
|
-
|
|
627
|
-
u[y] =
|
|
614
|
+
function de(i, y) {
|
|
615
|
+
X[i ? "unshift" : "push"](() => {
|
|
616
|
+
u[y] = i, s(3, u);
|
|
628
617
|
});
|
|
629
618
|
}
|
|
630
|
-
function
|
|
631
|
-
|
|
632
|
-
_ =
|
|
619
|
+
function pe(i) {
|
|
620
|
+
X[i ? "unshift" : "push"](() => {
|
|
621
|
+
_ = i, s(2, _);
|
|
633
622
|
});
|
|
634
623
|
}
|
|
635
|
-
return t.$$set = (
|
|
636
|
-
"lang" in
|
|
624
|
+
return t.$$set = (i) => {
|
|
625
|
+
"lang" in i && s(0, m = i.lang), "userid" in i && s(12, n = i.userid), "session" in i && s(13, v = i.session), "endpoint" in i && s(14, L = i.endpoint), "apiversion" in i && s(15, d = i.apiversion), "numberofentries" in i && s(1, p = i.numberofentries), "customcurrencysymbols" in i && s(16, c = i.customcurrencysymbols), "limitformat" in i && s(17, f = i.limitformat), "clientstyling" in i && s(18, P = i.clientstyling), "clientstylingurl" in i && s(19, T = i.clientstylingurl), "translationurl" in i && s(20, h = i.translationurl);
|
|
637
626
|
}, t.$$.update = () => {
|
|
638
627
|
t.$$.dirty[0] & /*customcurrencysymbols*/
|
|
639
|
-
65536 && c &&
|
|
640
|
-
61440 && L && n && v && d &&
|
|
641
|
-
56 && u[0] && !W && !H &&
|
|
642
|
-
1 && m &&
|
|
643
|
-
524288 && T &&
|
|
644
|
-
262148 && P && _ &&
|
|
645
|
-
1048580 && h && _ &&
|
|
628
|
+
65536 && c && le(), t.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
|
|
629
|
+
61440 && L && n && v && d && ie(), t.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
|
|
630
|
+
56 && u[0] && !W && !H && ne(), t.$$.dirty[0] & /*lang*/
|
|
631
|
+
1 && m && ye(), t.$$.dirty[0] & /*clientstylingurl*/
|
|
632
|
+
524288 && T && me(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
633
|
+
262148 && P && _ && ae(), t.$$.dirty[0] & /*translationurl, customStylingContainer*/
|
|
634
|
+
1048580 && h && _ && te();
|
|
646
635
|
}, [
|
|
647
636
|
m,
|
|
648
637
|
p,
|
|
@@ -655,7 +644,7 @@ function Be(t, e, i) {
|
|
|
655
644
|
N,
|
|
656
645
|
r,
|
|
657
646
|
l,
|
|
658
|
-
|
|
647
|
+
oe,
|
|
659
648
|
n,
|
|
660
649
|
v,
|
|
661
650
|
L,
|
|
@@ -665,18 +654,18 @@ function Be(t, e, i) {
|
|
|
665
654
|
P,
|
|
666
655
|
T,
|
|
667
656
|
h,
|
|
668
|
-
|
|
669
|
-
|
|
657
|
+
de,
|
|
658
|
+
pe
|
|
670
659
|
];
|
|
671
660
|
}
|
|
672
|
-
class
|
|
661
|
+
class He extends fe {
|
|
673
662
|
constructor(e) {
|
|
674
|
-
super(),
|
|
663
|
+
super(), ve(
|
|
675
664
|
this,
|
|
676
665
|
e,
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
666
|
+
ze,
|
|
667
|
+
je,
|
|
668
|
+
we,
|
|
680
669
|
{
|
|
681
670
|
lang: 0,
|
|
682
671
|
userid: 12,
|
|
@@ -690,7 +679,7 @@ class Ge extends Ae {
|
|
|
690
679
|
clientstylingurl: 19,
|
|
691
680
|
translationurl: 20
|
|
692
681
|
},
|
|
693
|
-
|
|
682
|
+
Ee,
|
|
694
683
|
[-1, -1]
|
|
695
684
|
);
|
|
696
685
|
}
|
|
@@ -761,7 +750,7 @@ class Ge extends Ae {
|
|
|
761
750
|
this.$$set({ translationurl: e }), b();
|
|
762
751
|
}
|
|
763
752
|
}
|
|
764
|
-
|
|
753
|
+
Te(He, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
765
754
|
export {
|
|
766
|
-
|
|
755
|
+
He as default
|
|
767
756
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as Ie, $ as ke, S as De, i as Me, f as G, c as Ae, s as Te, b as Re, e as u, k as M, o as x, p as A, q as Ee, u as Ye, v as Ne, x as je, t as S, d as E, g, j as p, l as m, m as J, J as $, n as B, r as ze, y as Se, K as Q, B as ee, L as pe, R as fe } from "./GeneralLogout-
|
|
2
|
-
import { h as U } from "./PlayerAccountGamingLimitsGroupEdit-
|
|
1
|
+
import { a as Ie, $ as ke, S as De, i as Me, f as G, c as Ae, s as Te, b as Re, e as u, k as M, o as x, p as A, q as Ee, u as Ye, v as Ne, x as je, t as S, d as E, g, j as p, l as m, m as J, J as $, n as B, r as ze, y as Se, K as Q, B as ee, L as pe, R as fe } from "./GeneralLogout-Ddt-oH9k.js";
|
|
2
|
+
import { h as U } from "./PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js";
|
|
3
3
|
function te(i, t) {
|
|
4
4
|
Ie(i, t);
|
|
5
5
|
}
|
|
@@ -283,7 +283,7 @@ const oe = {
|
|
|
283
283
|
currency: "currency"
|
|
284
284
|
}
|
|
285
285
|
};
|
|
286
|
-
if (typeof window
|
|
286
|
+
if (typeof window < "u") {
|
|
287
287
|
let i = function(t) {
|
|
288
288
|
return function(...o) {
|
|
289
289
|
try {
|
|
@@ -295,7 +295,7 @@ if (typeof window != "undefined") {
|
|
|
295
295
|
}
|
|
296
296
|
};
|
|
297
297
|
};
|
|
298
|
-
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsGroupEdit-
|
|
298
|
+
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js").then((t) => t.P).then(({ default: t }) => {
|
|
299
299
|
!customElements.get("player-account-gaming-limits-group-edit") && customElements.define(
|
|
300
300
|
"player-account-gaming-limits-group-edit",
|
|
301
301
|
t.element
|