@everymatrix/player-account-controller-nd 1.54.0 → 1.54.4
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-BtWyed39.js → GeneralLogout-3tCkYOBy.js} +1094 -1131
- package/components/{PlayerAccountBettingHistory-jlr-NObV.js → PlayerAccountBettingHistory-DAOgOPGf.js} +34 -35
- package/components/{PlayerAccountBiometrics-C54a7r-9.js → PlayerAccountBiometrics-sCg1trpD.js} +1 -1
- package/components/{PlayerAccountClosureNd-BDFuLumd.js → PlayerAccountClosureNd-De5JqWgf.js} +1 -1
- package/components/{PlayerAccountControllerNd-C-2tav1W.js → PlayerAccountControllerNd-COEYGY9w.js} +400 -417
- package/components/{PlayerAccountGamingLimits-11hMW47h.js → PlayerAccountGamingLimits-CqTz7Ici.js} +3 -3
- package/components/{PlayerAccountGamingLimitsConfirmationModal-D-CsaFkg.js → PlayerAccountGamingLimitsConfirmationModal-BjoIf8Bc.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-CGnoaPKg.js → PlayerAccountGamingLimitsGroupEdit-DAdNIZpE.js} +16 -16
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BEobV_rb.js → PlayerAccountGamingLimitsHistory2Nd-DhHA1RpB.js} +122 -133
- package/components/{PlayerAccountGamingLimitsInfoCard-BKjqkeZR.js → PlayerAccountGamingLimitsInfoCard-Dm4s5EwR.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-S0iDe8or.js → PlayerAccountGamingLimitsPage2Gm16Nd-DKULeWa-.js} +843 -874
- package/components/{PlayerAccountGamingLimitsPopup-gmuszZSb.js → PlayerAccountGamingLimitsPopup-Df_x-yrG.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DLlx2k_P.js → PlayerAccountGamingLimitsWrapper2Nd-DQ3dr7To.js} +111 -117
- package/components/{PlayerAccountGeneralConfirmationModal-B_nnNCCl.js → PlayerAccountGeneralConfirmationModal-Nvr-pqYF.js} +1 -1
- package/components/{PlayerAccountMenuNd-t6hDlobb.js → PlayerAccountMenuNd-z4P33Khe.js} +68 -69
- package/components/{PlayerAccountModal-0zGW_PaL.js → PlayerAccountModal-BvKEdvD_.js} +1 -1
- package/components/{PlayerAccountNotifications-CnakmgwG.js → PlayerAccountNotifications-BFv2Nw_e.js} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-D1bSwsQ2.js → PlayerAccountSelfExclusionNd-D0XYPrl9.js} +1488 -1572
- package/components/{PlayerAccountTimeout-BrmadDVi.js → PlayerAccountTimeout-rttX6IYz.js} +4 -4
- package/components/{PlayerActiveBonuses-DuRJuBww.js → PlayerActiveBonuses-LfCU2WnE.js} +119 -120
- package/components/{PlayerBonusCard-Cs7krVbC.js → PlayerBonusCard-CbzYE1Iz.js} +2 -2
- package/components/{PlayerBonusHistory-Dw5CWQDm.js → PlayerBonusHistory-D61Y7LPQ.js} +53 -53
- package/components/{PlayerChangePassword-BkjAcj4x.js → PlayerChangePassword-CtlTmVcf.js} +1 -1
- package/components/{PlayerDeposit-D5fEWazq.js → PlayerDeposit-_rTfbSEr.js} +1 -1
- package/components/{PlayerGamingHistory-DaDCBXVi.js → PlayerGamingHistory-szc4XDy6.js} +375 -388
- package/components/{PlayerPendingWithdrawals--vyYysmT.js → PlayerPendingWithdrawals-BhEz708_.js} +1 -1
- package/components/{PlayerProfileInfo-CjhfS-zh.js → PlayerProfileInfo-BbyV3TvC.js} +532 -549
- package/components/{PlayerRealityCheck-BVS-ZwGk.js → PlayerRealityCheck-DMRjX5t_.js} +175 -191
- package/components/{PlayerTransactionHistory-Dd5Xk8dK.js → PlayerTransactionHistory-C4ne-FLe.js} +1 -1
- package/components/{PlayerWithdrawal-ZUk_jlsP.js → PlayerWithdrawal-Bn5jvB2N.js} +1 -1
- package/esnext/player-account-controller-nd.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/{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-sVfmFhoT.js +7 -0
- package/stencil/{toggle-checkbox-input-BCrxxTpc.js → toggle-checkbox-input-CCLW6-uK.js} +1 -1
- 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/PlayerAccountClosureNd-BOdzF3ZS.cjs +0 -1
- package/components/PlayerAccountControllerNd-BZinIfCX.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/PlayerAccountGamingLimitsHistory2Nd-ieMEHssX.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-Au2vobro.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-C_v3NfIe.cjs +0 -21
- package/components/PlayerAccountGamingLimitsPopup-BtbGIQFb.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2Nd-_Ze6bW4r.cjs +0 -1
- package/components/PlayerAccountGeneralConfirmationModal-xMxALug3.cjs +0 -1
- package/components/PlayerAccountMenuNd-B8H3so10.cjs +0 -1
- package/components/PlayerAccountModal-BitbPM3Z.cjs +0 -1
- package/components/PlayerAccountNotifications-DDu6ZWkh.cjs +0 -1
- package/components/PlayerAccountSelfExclusionNd-B5wR57a_.cjs +0 -3828
- package/components/PlayerAccountTimeout-E-jDJfAE.cjs +0 -1
- package/components/PlayerActiveBonuses-BVQwAh2z.cjs +0 -1
- package/components/PlayerBonusCard-UTTIEBwb.cjs +0 -1
- package/components/PlayerBonusHistory-DDWO5PPl.cjs +0 -1
- package/components/PlayerChangePassword-XpKJjnFu.cjs +0 -3
- package/components/PlayerDeposit-Do7vb_4b.cjs +0 -1
- package/components/PlayerGamingHistory-CJOG_M6n.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-nd.cjs +0 -1
- package/es2015/player-account-controller-nd.js +0 -16
- package/stencil/active-mixin-59dfae2a-1hMz67mM.cjs +0 -1519
- package/stencil/app-globals-0f993ce5-sCt45RkC.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-Dyvby5gX.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-Cer2RaBb.cjs +0 -1
- package/stencil/player-change-password-gm2-Do4_2F3u.js +0 -25
- package/stencil/toggle-checkbox-input-BYoIi-jG.cjs +0 -1
- package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +0 -1
|
@@ -1,22 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var J = (t, e, i) => e in t ? fe(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, K = (t, e) => {
|
|
5
|
-
for (var i in e || (e = {}))
|
|
6
|
-
ze.call(e, i) && J(t, i, e[i]);
|
|
7
|
-
if (Q)
|
|
8
|
-
for (var i of Q(e))
|
|
9
|
-
be.call(e, i) && J(t, i, e[i]);
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import { a as Te, $ as we, S as _e, i as Se, f as P, c as Pe, s as Ae, b as Ce, e as T, g as d, k as D, o as E, p as R, q as ke, T as xe, v as Ee, x as Z, K as $, t as C, d as X, w as V, U as De, h as M, l as g, m as Re, n as k, L as je, V as ee, y as We } from "./GeneralLogout-BtWyed39.js";
|
|
13
|
-
function te(t, e) {
|
|
14
|
-
Te(t, e);
|
|
1
|
+
import { a as he, $ as ve, S as Le, i as fe, f as P, c as ze, s as be, b as Te, e as T, g as d, k as D, o as E, p as R, q as we, T as _e, v as Se, x as Y, K as Q, t as C, d as q, w as K, U as Pe, h as M, l as g, m as Ae, n as k, L as Ce, V as J, y as ke } from "./GeneralLogout-3tCkYOBy.js";
|
|
2
|
+
function Z(t, e) {
|
|
3
|
+
he(t, e);
|
|
15
4
|
}
|
|
16
|
-
function
|
|
17
|
-
|
|
5
|
+
function xe(t) {
|
|
6
|
+
ve.set(t);
|
|
18
7
|
}
|
|
19
|
-
const
|
|
8
|
+
const V = {
|
|
20
9
|
en: {
|
|
21
10
|
expandLimits: "Limit history",
|
|
22
11
|
daily: "per day",
|
|
@@ -247,30 +236,30 @@ const q = {
|
|
|
247
236
|
historyLimitTypeLoss: "Kayıp Limiti"
|
|
248
237
|
}
|
|
249
238
|
};
|
|
250
|
-
function
|
|
251
|
-
|
|
239
|
+
function Ee(t) {
|
|
240
|
+
Te(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
241
|
}
|
|
253
|
-
function
|
|
242
|
+
function $(t, e, s) {
|
|
254
243
|
const r = t.slice();
|
|
255
|
-
return r[38] = e[
|
|
244
|
+
return r[38] = e[s], r[39] = e, r[40] = s, r;
|
|
256
245
|
}
|
|
257
|
-
function
|
|
258
|
-
let e,
|
|
246
|
+
function De(t) {
|
|
247
|
+
let e, s, r, o = (
|
|
259
248
|
/*$_*/
|
|
260
249
|
t[9]("expandLimits") + ""
|
|
261
|
-
), l, a, n, f, v, p, y, u, L, S =
|
|
250
|
+
), l, a, n, f, v, p, y, u, L, S = Q(
|
|
262
251
|
/*lazyShowedHistoryArray*/
|
|
263
252
|
t[7]
|
|
264
253
|
), z = [];
|
|
265
254
|
for (let h = 0; h < S.length; h += 1)
|
|
266
|
-
z[h] =
|
|
255
|
+
z[h] = ee($(t, S, h));
|
|
267
256
|
return {
|
|
268
257
|
c() {
|
|
269
|
-
e = T("div"),
|
|
258
|
+
e = T("div"), s = T("div"), r = T("button"), l = C(o), a = q(), n = K("svg"), f = K("path"), v = K("path"), p = q(), y = T("div");
|
|
270
259
|
for (let h = 0; h < z.length; h += 1)
|
|
271
260
|
z[h].c();
|
|
272
261
|
d(f, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), d(f, "class", "svelte-16zv8bz"), d(v, "d", "M0 0h36v36h-36z"), d(v, "fill", "none"), d(v, "class", "svelte-16zv8bz"), d(n, "class", "ExpandArrow " + (/*isDesktop*/
|
|
273
|
-
t[10] ? "" : "Mobile") + " svelte-16zv8bz"), d(n, "xmlns", "http://www.w3.org/2000/svg"), d(n, "width", "36"), d(n, "height", "36"), d(n, "viewBox", "0 0 36 36"),
|
|
262
|
+
t[10] ? "" : "Mobile") + " svelte-16zv8bz"), d(n, "xmlns", "http://www.w3.org/2000/svg"), d(n, "width", "36"), d(n, "height", "36"), d(n, "viewBox", "0 0 36 36"), Pe(n, "fill", "var(--emw--color-primary, #22B04E)"), M(
|
|
274
263
|
n,
|
|
275
264
|
"extended",
|
|
276
265
|
/*extended*/
|
|
@@ -282,13 +271,13 @@ function Fe(t) {
|
|
|
282
271
|
"hidden",
|
|
283
272
|
/*hidden*/
|
|
284
273
|
t[5]
|
|
285
|
-
), d(
|
|
274
|
+
), d(s, "class", "HistoryWrapper svelte-16zv8bz"), d(e, "class", "player-account-gaming-limits-history-2 svelte-16zv8bz");
|
|
286
275
|
},
|
|
287
276
|
m(h, w) {
|
|
288
|
-
D(h, e, w), g(e,
|
|
277
|
+
D(h, e, w), g(e, s), g(s, r), g(r, l), g(r, a), g(r, n), g(n, f), g(n, v), g(s, p), g(s, y);
|
|
289
278
|
for (let c = 0; c < z.length; c += 1)
|
|
290
279
|
z[c] && z[c].m(y, null);
|
|
291
|
-
u || (L =
|
|
280
|
+
u || (L = Ae(
|
|
292
281
|
r,
|
|
293
282
|
"click",
|
|
294
283
|
/*toggleHistoryDisplayArea*/
|
|
@@ -306,14 +295,14 @@ function Fe(t) {
|
|
|
306
295
|
h[8]
|
|
307
296
|
), w[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
|
|
308
297
|
650) {
|
|
309
|
-
S =
|
|
298
|
+
S = Q(
|
|
310
299
|
/*lazyShowedHistoryArray*/
|
|
311
300
|
h[7]
|
|
312
301
|
);
|
|
313
302
|
let c;
|
|
314
303
|
for (c = 0; c < S.length; c += 1) {
|
|
315
|
-
const x =
|
|
316
|
-
z[c] ? z[c].p(x, w) : (z[c] =
|
|
304
|
+
const x = $(h, S, c);
|
|
305
|
+
z[c] ? z[c].p(x, w) : (z[c] = ee(x), z[c].c(), z[c].m(y, null));
|
|
317
306
|
}
|
|
318
307
|
for (; c < z.length; c += 1)
|
|
319
308
|
z[c].d(1);
|
|
@@ -328,15 +317,15 @@ function Fe(t) {
|
|
|
328
317
|
);
|
|
329
318
|
},
|
|
330
319
|
d(h) {
|
|
331
|
-
h && R(e),
|
|
320
|
+
h && R(e), Ce(z, h), u = !1, L();
|
|
332
321
|
}
|
|
333
322
|
};
|
|
334
323
|
}
|
|
335
|
-
function
|
|
324
|
+
function Re(t) {
|
|
336
325
|
return { c: E, m: E, p: E, d: E };
|
|
337
326
|
}
|
|
338
|
-
function
|
|
339
|
-
let e,
|
|
327
|
+
function je(t) {
|
|
328
|
+
let e, s = (
|
|
340
329
|
/*lang*/
|
|
341
330
|
(t[0] ? (
|
|
342
331
|
/*$_*/
|
|
@@ -345,26 +334,26 @@ function Me(t) {
|
|
|
345
334
|
), r;
|
|
346
335
|
return {
|
|
347
336
|
c() {
|
|
348
|
-
e = T("p"), r = C(
|
|
337
|
+
e = T("p"), r = C(s), d(e, "class", "svelte-16zv8bz");
|
|
349
338
|
},
|
|
350
339
|
m(o, l) {
|
|
351
340
|
D(o, e, l), g(e, r);
|
|
352
341
|
},
|
|
353
342
|
p(o, l) {
|
|
354
343
|
l[0] & /*lang, $_*/
|
|
355
|
-
513 &&
|
|
344
|
+
513 && s !== (s = /*lang*/
|
|
356
345
|
(o[0] ? (
|
|
357
346
|
/*$_*/
|
|
358
347
|
o[9]("error")
|
|
359
|
-
) : "500 Server Error") + "") && k(r,
|
|
348
|
+
) : "500 Server Error") + "") && k(r, s);
|
|
360
349
|
},
|
|
361
350
|
d(o) {
|
|
362
351
|
o && R(e);
|
|
363
352
|
}
|
|
364
353
|
};
|
|
365
354
|
}
|
|
366
|
-
function
|
|
367
|
-
let e,
|
|
355
|
+
function We(t) {
|
|
356
|
+
let e, s, r, o = (
|
|
368
357
|
/*history*/
|
|
369
358
|
t[38].type + ""
|
|
370
359
|
), l, a, n = (
|
|
@@ -376,10 +365,10 @@ function Be(t) {
|
|
|
376
365
|
), y;
|
|
377
366
|
return {
|
|
378
367
|
c() {
|
|
379
|
-
e = T("div"),
|
|
368
|
+
e = T("div"), s = T("span"), r = T("span"), l = C(o), a = T("span"), f = C(n), v = T("span"), y = C(p), d(r, "class", "LimitType svelte-16zv8bz"), d(a, "class", "LimitAmountPeriod svelte-16zv8bz"), d(s, "class", "GeneralLimitInformation svelte-16zv8bz"), d(v, "class", "DateLimitInformation svelte-16zv8bz"), d(e, "class", "HistoryRow svelte-16zv8bz");
|
|
380
369
|
},
|
|
381
370
|
m(u, L) {
|
|
382
|
-
D(u, e, L), g(e,
|
|
371
|
+
D(u, e, L), g(e, s), g(s, r), g(r, l), g(s, a), g(a, f), g(e, v), g(v, y);
|
|
383
372
|
},
|
|
384
373
|
p(u, L) {
|
|
385
374
|
L[0] & /*lazyShowedHistoryArray*/
|
|
@@ -395,8 +384,8 @@ function Be(t) {
|
|
|
395
384
|
}
|
|
396
385
|
};
|
|
397
386
|
}
|
|
398
|
-
function
|
|
399
|
-
let e,
|
|
387
|
+
function He(t) {
|
|
388
|
+
let e, s, r, o = (
|
|
400
389
|
/*history*/
|
|
401
390
|
t[38].type + ""
|
|
402
391
|
), l, a, n = (
|
|
@@ -408,10 +397,10 @@ function Ue(t) {
|
|
|
408
397
|
), y;
|
|
409
398
|
return {
|
|
410
399
|
c() {
|
|
411
|
-
e = T("div"),
|
|
400
|
+
e = T("div"), s = T("span"), r = T("span"), l = C(o), a = T("span"), f = C(n), v = T("span"), y = C(p), d(r, "class", "LimitType svelte-16zv8bz"), d(a, "class", "LimitAmountPeriod svelte-16zv8bz"), d(s, "class", "GeneralLimitInformation svelte-16zv8bz"), d(v, "class", "DateLimitInformation svelte-16zv8bz"), d(e, "class", "HistoryRow svelte-16zv8bz");
|
|
412
401
|
},
|
|
413
402
|
m(u, L) {
|
|
414
|
-
D(u, e, L), g(e,
|
|
403
|
+
D(u, e, L), g(e, s), g(s, r), g(r, l), g(s, a), g(a, f), g(e, v), g(v, y);
|
|
415
404
|
},
|
|
416
405
|
p(u, L) {
|
|
417
406
|
L[0] & /*lazyShowedHistoryArray*/
|
|
@@ -427,15 +416,15 @@ function Ue(t) {
|
|
|
427
416
|
}
|
|
428
417
|
};
|
|
429
418
|
}
|
|
430
|
-
function
|
|
431
|
-
let e,
|
|
419
|
+
function ee(t) {
|
|
420
|
+
let e, s, r, o = (
|
|
432
421
|
/*index*/
|
|
433
422
|
t[40]
|
|
434
423
|
);
|
|
435
424
|
function l(p, y) {
|
|
436
425
|
return (
|
|
437
426
|
/*history*/
|
|
438
|
-
p[38].removed ?
|
|
427
|
+
p[38].removed ? He : We
|
|
439
428
|
);
|
|
440
429
|
}
|
|
441
430
|
let a = l(t), n = a(t);
|
|
@@ -448,18 +437,18 @@ function se(t) {
|
|
|
448
437
|
);
|
|
449
438
|
return {
|
|
450
439
|
c() {
|
|
451
|
-
e = T("div"), n.c(),
|
|
440
|
+
e = T("div"), n.c(), s = q(), d(e, "class", r = J(
|
|
452
441
|
/*index*/
|
|
453
442
|
t[40] > +/*numberofentries*/
|
|
454
443
|
t[1] ? "LimitContainer" : ""
|
|
455
444
|
) + " svelte-16zv8bz");
|
|
456
445
|
},
|
|
457
446
|
m(p, y) {
|
|
458
|
-
D(p, e, y), n.m(e, null), g(e,
|
|
447
|
+
D(p, e, y), n.m(e, null), g(e, s), f();
|
|
459
448
|
},
|
|
460
449
|
p(p, y) {
|
|
461
|
-
t = p, a === (a = l(t)) && n ? n.p(t, y) : (n.d(1), n = a(t), n && (n.c(), n.m(e,
|
|
462
|
-
2 && r !== (r =
|
|
450
|
+
t = p, a === (a = l(t)) && n ? n.p(t, y) : (n.d(1), n = a(t), n && (n.c(), n.m(e, s))), y[0] & /*numberofentries*/
|
|
451
|
+
2 && r !== (r = J(
|
|
463
452
|
/*index*/
|
|
464
453
|
t[40] > +/*numberofentries*/
|
|
465
454
|
t[1] ? "LimitContainer" : ""
|
|
@@ -472,18 +461,18 @@ function se(t) {
|
|
|
472
461
|
}
|
|
473
462
|
};
|
|
474
463
|
}
|
|
475
|
-
function
|
|
464
|
+
function Ie(t) {
|
|
476
465
|
let e;
|
|
477
|
-
function
|
|
466
|
+
function s(l, a) {
|
|
478
467
|
return (
|
|
479
468
|
/*hasErrors*/
|
|
480
|
-
l[6] ?
|
|
469
|
+
l[6] ? je : (
|
|
481
470
|
/*isLoading*/
|
|
482
|
-
l[4] ?
|
|
471
|
+
l[4] ? Re : De
|
|
483
472
|
)
|
|
484
473
|
);
|
|
485
474
|
}
|
|
486
|
-
let r =
|
|
475
|
+
let r = s(t), o = r(t);
|
|
487
476
|
return {
|
|
488
477
|
c() {
|
|
489
478
|
e = T("div"), o.c(), d(e, "class", "svelte-16zv8bz");
|
|
@@ -492,7 +481,7 @@ function Ne(t) {
|
|
|
492
481
|
D(l, e, a), o.m(e, null), t[22](e);
|
|
493
482
|
},
|
|
494
483
|
p(l, a) {
|
|
495
|
-
r === (r =
|
|
484
|
+
r === (r = s(l)) && o ? o.p(l, a) : (o.d(1), o = r(l), o && (o.c(), o.m(e, null)));
|
|
496
485
|
},
|
|
497
486
|
i: E,
|
|
498
487
|
o: E,
|
|
@@ -501,24 +490,24 @@ function Ne(t) {
|
|
|
501
490
|
}
|
|
502
491
|
};
|
|
503
492
|
}
|
|
504
|
-
function
|
|
493
|
+
function Fe(t, e, s) {
|
|
505
494
|
let r;
|
|
506
|
-
|
|
507
|
-
let o = window.navigator.userAgent, l = !
|
|
508
|
-
const
|
|
495
|
+
we(t, ke, (i) => s(9, r = i));
|
|
496
|
+
let o = window.navigator.userAgent, l = !_e(o), { lang: a = "" } = e, { userid: n = "" } = e, { session: f = "" } = e, { endpoint: v = "" } = e, { apiversion: p = "" } = e, { numberofentries: y = "10" } = e, { customcurrencysymbols: u = "" } = e, { limitformat: L = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: z = "" } = e, { translationurl: h = "" } = e, w, c = new Array(), x = parseInt(y, 10), B = !1, W = !0, H = [], I = [], F = !0, U = !1, j = { EUR: "€", RON: "lei", TRY: "₺" };
|
|
497
|
+
const te = () => {
|
|
509
498
|
fetch(h).then((m) => m.json()).then((m) => {
|
|
510
499
|
Object.keys(m).forEach((_) => {
|
|
511
|
-
|
|
500
|
+
Z(_, m[_]);
|
|
512
501
|
});
|
|
513
502
|
}).catch((m) => {
|
|
514
503
|
console.log(m);
|
|
515
504
|
});
|
|
516
505
|
};
|
|
517
|
-
Object.keys(
|
|
518
|
-
|
|
506
|
+
Object.keys(V).forEach((i) => {
|
|
507
|
+
Z(i, V[i]);
|
|
519
508
|
});
|
|
520
|
-
const
|
|
521
|
-
let
|
|
509
|
+
const ie = () => {
|
|
510
|
+
let i = p === "gmcore" ? `/v2/player/${n}/transactions/limit` : `/v1/player/${n}/limits/monetary/history`, m = new URL(i, v);
|
|
522
511
|
m.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), m.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), m.searchParams.append("limit", "10000");
|
|
523
512
|
let _ = {
|
|
524
513
|
method: "GET",
|
|
@@ -526,19 +515,19 @@ function Ge(t, e, i) {
|
|
|
526
515
|
};
|
|
527
516
|
fetch(m.href, _).then((b) => {
|
|
528
517
|
if (b.status >= 300)
|
|
529
|
-
throw
|
|
518
|
+
throw s(4, W = !1), s(6, B = !0), new Error("There was an error fetching the limits");
|
|
530
519
|
return b.json();
|
|
531
520
|
}).then(
|
|
532
521
|
(b) => {
|
|
533
|
-
b.length && (H =
|
|
522
|
+
b.length && (H = se(b), s(7, I = H.slice(0, x))), s(4, W = !1);
|
|
534
523
|
},
|
|
535
524
|
(b) => {
|
|
536
|
-
console.error("There was an error", b),
|
|
525
|
+
console.error("There was an error", b), s(6, B = !0);
|
|
537
526
|
}
|
|
538
527
|
);
|
|
539
|
-
},
|
|
540
|
-
const m = !!
|
|
541
|
-
return
|
|
528
|
+
}, se = (i) => {
|
|
529
|
+
const m = !!V[a];
|
|
530
|
+
return i.map((b) => {
|
|
542
531
|
let A = {
|
|
543
532
|
amount: "",
|
|
544
533
|
currency: "",
|
|
@@ -547,46 +536,46 @@ function Ge(t, e, i) {
|
|
|
547
536
|
type: "",
|
|
548
537
|
removed: !1
|
|
549
538
|
};
|
|
550
|
-
return A.amount =
|
|
539
|
+
return A.amount = re(b), A.currency = m ? j[b.limitCurrencyCode] : b.limitCurrencyCode, A.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(b.limitDate)), A.period = r(`${b.limitPeriod.toLowerCase()}`), A.type = p === "gmcore" ? r(`historyLimitType${b.limitType.split(" ")[0]}`) : r(`historyLimitType${b.limitType.split(" ")[0]}`) + " " + r(`historyProductType${b.limitProductType}`), A.removed = b.limitAmount === -1, A;
|
|
551
540
|
});
|
|
552
|
-
},
|
|
553
|
-
let m = L || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(
|
|
541
|
+
}, re = (i) => {
|
|
542
|
+
let m = L || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(i.limitAmount);
|
|
554
543
|
if (!L) {
|
|
555
|
-
let
|
|
556
|
-
return `${m}${
|
|
544
|
+
let ge = j[i.limitCurrencyCode] || i.limitCurrencyCode;
|
|
545
|
+
return `${m}${ge}`;
|
|
557
546
|
}
|
|
558
|
-
typeof
|
|
547
|
+
typeof i.limitAmount == "string" && i.limitAmount.includes(",") && (i.limitAmount = i.limitAmount.replaceAll(",", ""));
|
|
559
548
|
const _ = m.match(/\{(\d+)decimals\}/), b = _ ? parseInt(_[1], 10) : 2, A = _ ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
|
|
560
|
-
let O = parseFloat(
|
|
561
|
-
const [
|
|
562
|
-
let [G,
|
|
563
|
-
return G = G.replace(/\B(?=(\d{3})+(?!\d))/g,
|
|
549
|
+
let O = parseFloat(i.limitAmount).toFixed(b);
|
|
550
|
+
const [ce, N] = L.includes(".") ? [",", "."] : [".", ","];
|
|
551
|
+
let [G, ue] = O.split(".");
|
|
552
|
+
return G = G.replace(/\B(?=(\d{3})+(?!\d))/g, ce), O = `${G}${N}${ue}`, m = m.replace("{currency}", j[i.limitCurrencyCode] || i.limitCurrencyCode).replace("{amount}", O.split(N)[0]).replace(
|
|
564
553
|
A,
|
|
565
554
|
O.split(N)[1]
|
|
566
555
|
), m;
|
|
567
|
-
},
|
|
568
|
-
|
|
556
|
+
}, oe = () => {
|
|
557
|
+
s(5, F = !F), s(8, U = !U);
|
|
569
558
|
};
|
|
570
|
-
let
|
|
571
|
-
|
|
572
|
-
m.isIntersecting && (x += parseInt(y, 10) || 10, I.length < H.length &&
|
|
559
|
+
let X = new IntersectionObserver((i) => {
|
|
560
|
+
i.forEach((m) => {
|
|
561
|
+
m.isIntersecting && (x += parseInt(y, 10) || 10, I.length < H.length && s(7, I = H.slice(0, x)));
|
|
573
562
|
});
|
|
574
563
|
});
|
|
575
|
-
const
|
|
576
|
-
|
|
577
|
-
},
|
|
564
|
+
const ne = () => {
|
|
565
|
+
X.observe(c[c.length - 1]);
|
|
566
|
+
}, le = () => {
|
|
578
567
|
if (!u) return;
|
|
579
|
-
let
|
|
568
|
+
let i = {};
|
|
580
569
|
u.split(",").forEach((m) => {
|
|
581
570
|
let _ = m.split(":");
|
|
582
|
-
|
|
583
|
-
}), j =
|
|
584
|
-
},
|
|
585
|
-
let
|
|
586
|
-
|
|
587
|
-
},
|
|
588
|
-
let
|
|
589
|
-
fetch(
|
|
571
|
+
i[_[0].trim()] = _[1].trim();
|
|
572
|
+
}), j = { ...j, ...i };
|
|
573
|
+
}, ae = () => {
|
|
574
|
+
let i = document.createElement("style");
|
|
575
|
+
i.innerHTML = S, w.appendChild(i);
|
|
576
|
+
}, me = () => {
|
|
577
|
+
let i = new URL(z), m = document.createElement("style");
|
|
578
|
+
fetch(i.href).then((_) => _.text()).then((_) => {
|
|
590
579
|
m.innerHTML = _, w && (setTimeout(
|
|
591
580
|
() => {
|
|
592
581
|
w.appendChild(m);
|
|
@@ -598,33 +587,33 @@ function Ge(t, e, i) {
|
|
|
598
587
|
500
|
|
599
588
|
));
|
|
600
589
|
});
|
|
601
|
-
},
|
|
602
|
-
|
|
590
|
+
}, de = () => {
|
|
591
|
+
xe(a);
|
|
603
592
|
};
|
|
604
|
-
|
|
605
|
-
|
|
593
|
+
Se(() => () => {
|
|
594
|
+
X.unobserve(c[c.length - 1]);
|
|
606
595
|
});
|
|
607
|
-
function
|
|
608
|
-
|
|
609
|
-
c[m] =
|
|
596
|
+
function pe(i, m) {
|
|
597
|
+
Y[i ? "unshift" : "push"](() => {
|
|
598
|
+
c[m] = i, s(3, c);
|
|
610
599
|
});
|
|
611
600
|
}
|
|
612
|
-
function
|
|
613
|
-
|
|
614
|
-
w =
|
|
601
|
+
function ye(i) {
|
|
602
|
+
Y[i ? "unshift" : "push"](() => {
|
|
603
|
+
w = i, s(2, w);
|
|
615
604
|
});
|
|
616
605
|
}
|
|
617
|
-
return t.$$set = (
|
|
618
|
-
"lang" in
|
|
606
|
+
return t.$$set = (i) => {
|
|
607
|
+
"lang" in i && s(0, a = i.lang), "userid" in i && s(12, n = i.userid), "session" in i && s(13, f = i.session), "endpoint" in i && s(14, v = i.endpoint), "apiversion" in i && s(15, p = i.apiversion), "numberofentries" in i && s(1, y = i.numberofentries), "customcurrencysymbols" in i && s(16, u = i.customcurrencysymbols), "limitformat" in i && s(17, L = i.limitformat), "clientstyling" in i && s(18, S = i.clientstyling), "clientstylingurl" in i && s(19, z = i.clientstylingurl), "translationurl" in i && s(20, h = i.translationurl);
|
|
619
608
|
}, t.$$.update = () => {
|
|
620
609
|
t.$$.dirty[0] & /*customcurrencysymbols*/
|
|
621
|
-
65536 && u &&
|
|
622
|
-
61440 && v && n && f && p &&
|
|
623
|
-
56 && c[0] && !W && !F &&
|
|
624
|
-
1 && a &&
|
|
625
|
-
524288 && z &&
|
|
626
|
-
262148 && S && w &&
|
|
627
|
-
1048580 && h && w &&
|
|
610
|
+
65536 && u && le(), t.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
|
|
611
|
+
61440 && v && n && f && p && ie(), t.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
|
|
612
|
+
56 && c[0] && !W && !F && ne(), t.$$.dirty[0] & /*lang*/
|
|
613
|
+
1 && a && de(), t.$$.dirty[0] & /*clientstylingurl*/
|
|
614
|
+
524288 && z && me(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
615
|
+
262148 && S && w && ae(), t.$$.dirty[0] & /*translationurl, customStylingContainer*/
|
|
616
|
+
1048580 && h && w && te();
|
|
628
617
|
}, [
|
|
629
618
|
a,
|
|
630
619
|
y,
|
|
@@ -637,7 +626,7 @@ function Ge(t, e, i) {
|
|
|
637
626
|
U,
|
|
638
627
|
r,
|
|
639
628
|
l,
|
|
640
|
-
|
|
629
|
+
oe,
|
|
641
630
|
n,
|
|
642
631
|
f,
|
|
643
632
|
v,
|
|
@@ -647,18 +636,18 @@ function Ge(t, e, i) {
|
|
|
647
636
|
S,
|
|
648
637
|
z,
|
|
649
638
|
h,
|
|
650
|
-
|
|
651
|
-
|
|
639
|
+
pe,
|
|
640
|
+
ye
|
|
652
641
|
];
|
|
653
642
|
}
|
|
654
|
-
class
|
|
643
|
+
class Oe extends Le {
|
|
655
644
|
constructor(e) {
|
|
656
|
-
super(),
|
|
645
|
+
super(), fe(
|
|
657
646
|
this,
|
|
658
647
|
e,
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
648
|
+
Fe,
|
|
649
|
+
Ie,
|
|
650
|
+
be,
|
|
662
651
|
{
|
|
663
652
|
lang: 0,
|
|
664
653
|
userid: 12,
|
|
@@ -672,7 +661,7 @@ class Ke extends _e {
|
|
|
672
661
|
clientstylingurl: 19,
|
|
673
662
|
translationurl: 20
|
|
674
663
|
},
|
|
675
|
-
|
|
664
|
+
Ee,
|
|
676
665
|
[-1, -1]
|
|
677
666
|
);
|
|
678
667
|
}
|
|
@@ -743,7 +732,7 @@ class Ke extends _e {
|
|
|
743
732
|
this.$$set({ translationurl: e }), P();
|
|
744
733
|
}
|
|
745
734
|
}
|
|
746
|
-
|
|
735
|
+
ze(Oe, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
747
736
|
export {
|
|
748
|
-
|
|
737
|
+
Oe as default
|
|
749
738
|
};
|
|
@@ -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-3tCkYOBy.js";
|
|
2
|
+
import { h as U } from "./PlayerAccountGamingLimitsGroupEdit-DAdNIZpE.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-DAdNIZpE.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
|