@everymatrix/player-limit-notification 0.6.2 → 0.6.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/PlayerAccountGamingLimitsHistory2Nd-CVtyVFxN.cjs +18 -0
- package/components/{PlayerAccountGamingLimitsHistory2Nd-Rz7KSqHF.js → PlayerAccountGamingLimitsHistory2Nd-gc0INEye.js} +1048 -1069
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BetTT8pd.js → PlayerAccountGamingLimitsHistory2Nd-mWkH_LLa.js} +895 -916
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-6jezdPSI.js → PlayerAccountGamingLimitsPage2Gm16Nd-BCOHZYpc.js} +129 -129
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-fgfmAwLi.js → PlayerAccountGamingLimitsPage2Gm16Nd-BKCbMIUy.js} +126 -126
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DTS6QEQW.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-DbNTVmeR.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-2z3_GBiO.cjs → PlayerAccountGamingLimitsWrapper2Nd-C7RelM81.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-Cf_X2Mhf.js → PlayerAccountGamingLimitsWrapper2Nd-DmnJjBml.js} +63 -63
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-CV2C9zMp.js → PlayerAccountGamingLimitsWrapper2Nd-jQgjwmoV.js} +56 -56
- package/components/{PlayerLimitNotification-DMo7_odP.js → PlayerLimitNotification-DKJyH3PY.js} +51 -51
- package/components/{PlayerLimitNotification-zuggJ4lR.js → PlayerLimitNotification-DbORJ66O.js} +47 -47
- package/components/{PlayerLimitNotification-BrMdgJrq.cjs → PlayerLimitNotification-jhgxEbHZ.cjs} +1 -1
- package/es2015/player-limit-notification.cjs +1 -1
- package/es2015/player-limit-notification.js +1 -1
- package/esnext/player-limit-notification.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-CMoQ4Pov.js +503 -0
- package/stencil/index-b2193545-CQaBo5im.cjs +1 -0
- package/stencil/index-b2193545-DvP9W4Go.js +519 -0
- package/stencil/{ui-skeleton-BreIU6e5.cjs → ui-skeleton-C7KTfaPd.cjs} +1 -1
- package/stencil/{ui-skeleton-W50o8tfg.js → ui-skeleton-Cn9Rv2BY.js} +2 -2
- package/stencil/{ui-skeleton-xXZA3rYO.js → ui-skeleton-YNoAIoec.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-CVY4B-CP.js → ui-skeleton-ed169f8f-BA-lE0xf.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-D3TjbVKy.js → ui-skeleton-ed169f8f-b70BXhTZ.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-CpiCXJrP.cjs → ui-skeleton-ed169f8f-cGTgZqRU.cjs} +1 -1
- package/components/PlayerAccountGamingLimitsHistory2Nd-BPDMvyK7.cjs +0 -18
- package/stencil/index-b2193545-9K-aI7zC.cjs +0 -1
- package/stencil/index-b2193545-DsMHU6jb.js +0 -519
- package/stencil/index-b2193545-R7ZoV-kY.js +0 -503
package/components/{PlayerLimitNotification-DMo7_odP.js → PlayerLimitNotification-DKJyH3PY.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as Z, $, S as tt, i as it, f as o,
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
3
|
-
function
|
|
1
|
+
import { a as Z, $, S as tt, i as it, f as o, c as et, s as nt, b as st, e as c, d as j, A as O, q as a, g as lt, h as s, C as R, D as V, G as H, l as ot, F as at, m as rt, o as mt, p as ct, v as U, y as ut, z as dt, Q as pt } from "./PlayerAccountGamingLimitsHistory2Nd-gc0INEye.js";
|
|
2
|
+
import "../stencil/ui-skeleton-YNoAIoec.js";
|
|
3
|
+
function q(e, t) {
|
|
4
4
|
Z(e, t);
|
|
5
5
|
}
|
|
6
6
|
function gt(e) {
|
|
7
7
|
$.set(e);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const J = {
|
|
10
10
|
en: {
|
|
11
11
|
savePlayerLimit: "SAVE",
|
|
12
12
|
skipLimitLimitDescription: "I do not wish to set a limit at this time.",
|
|
@@ -44,7 +44,7 @@ if (typeof window != "undefined") {
|
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
|
-
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsWrapper2Nd-
|
|
47
|
+
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsWrapper2Nd-jQgjwmoV.js").then(({ default: t }) => {
|
|
48
48
|
!customElements.get("player-account-gaming-limits-wrapper-2-nd") && customElements.define(
|
|
49
49
|
"player-account-gaming-limits-wrapper-2-nd",
|
|
50
50
|
t.element
|
|
@@ -55,28 +55,28 @@ function ht(e) {
|
|
|
55
55
|
st(e, "svelte-19al6x0", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-limit-modal{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;padding:0 10px;background-color:var(--emw--color-modal-background, rgba(0, 0, 0, 0.7))}.player-limit-modal .limit-modal-container{max-width:700px;min-width:300px;max-height:90vh;overflow-y:auto;position:relative;min-height:200px;border-radius:var(--emw--border-radius-medium, 10px)}.player-limit-modal .limit-submit-button{margin-top:20px;min-width:320px;height:40px;background-color:var(--emw--color-primary, #22b04e);border:none;border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));cursor:pointer;font-size:var(--emw--font-size-large, 20px)}.player-limit-modal .limit-submit-button.Mobile{font-size:var(--emw--font-size-small, 14px);padding:8px 0}.player-limit-modal .limit-submit-button:disabled{opacity:0.3;cursor:not-allowed}.player-limit-modal .toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;cursor:pointer;gap:10px}.player-limit-modal .toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;font-size:14px;line-height:14px;height:14px;vertical-align:middle}.player-limit-modal .toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.player-limit-modal .toggle-content .skip-switch.checked .skip-switch-core::after{left:100%;margin-left:-12px}.player-limit-modal .toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.player-limit-modal .toggle-content .skip-switch .skip-switch-core{width:22px;margin:0;display:inline-block;position:relative;height:14px;border:1px solid #ababab;outline:none;border-radius:10px;box-sizing:border-box;border-color:var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);cursor:pointer;transition:border-color 0.3s, background-color 0.3s;vertical-align:middle}.player-limit-modal .toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:1px;left:1px;border-radius:100%;transition:all 0.3s;width:10px;height:10px;background:#fff}.player-limit-modal .limit-skeleton{width:100%;container-type:inline-size;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.player-limit-modal .limit-skeleton .skeleton-wrapper{display:flex;flex-direction:column;width:320px;gap:10px}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-header{width:100%;margin-top:20px}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-sub-text{width:40%}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-period,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-input-amount,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{width:100%;border-radius:30px;overflow:hidden}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{margin-top:20px}@container (max-width: 768px){.player-limit-modal .limit-skeleton .skeleton-wrapper{width:100%}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-period,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-input-amount,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{width:inherit}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-sub-text{margin-top:10px}}');
|
|
56
56
|
}
|
|
57
57
|
function ft(e) {
|
|
58
|
-
let t, n, l, b, w, y,
|
|
58
|
+
let t, n, l, b, w, y, C, x, v, d, p, g, L, D, E, S, M, h, _, z = (
|
|
59
59
|
/*$_*/
|
|
60
60
|
e[4]("skipLimitLimitDescription") + ""
|
|
61
|
-
),
|
|
61
|
+
), A, T, r, m = (
|
|
62
62
|
/*$_*/
|
|
63
63
|
e[4]("savePlayerLimit") + ""
|
|
64
64
|
), k, P, G;
|
|
65
65
|
return {
|
|
66
66
|
c() {
|
|
67
|
-
t = c("div"), n = c("div"), l = c("player-account-gaming-limits-wrapper-2-nd"), b = c("section"), w = j(), y = c("section"),
|
|
67
|
+
t = c("div"), n = c("div"), l = c("player-account-gaming-limits-wrapper-2-nd"), b = c("section"), w = j(), y = c("section"), C = j(), x = c("section"), x.innerHTML = '<div class="limit-skeleton"><div class="skeleton-wrapper"><div class="skeleton-header"><ui-skeleton width="auto" height="25px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-period"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-input-amount"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-button"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div></div>', v = j(), d = c("section"), p = c("button"), g = c("div"), L = c("input"), D = j(), E = c("span"), M = j(), h = c("div"), _ = c("p"), A = O(z), T = j(), r = c("button"), k = O(m), a(b, "slot", "LimitWrapperTitle"), a(y, "slot", "LimitsList"), a(x, "slot", "LimitSkeleton"), a(L, "type", "checkbox"), a(L, "class", "skip-switch-input"), a(E, "class", "skip-switch-core"), a(g, "class", S = "skip-switch " + /*skipLimit*/
|
|
68
68
|
(e[0] ? "checked" : "")), a(_, "class", "label"), a(h, "class", "skip-limit-label"), a(p, "class", "toggle-content"), a(r, "class", "limit-submit-button"), a(r, "type", "submit"), r.disabled = /*disableSaveLimit*/
|
|
69
69
|
e[3], a(d, "slot", "LimitSubmitButton"), a(n, "class", "limit-modal-container"), a(t, "class", "player-limit-modal");
|
|
70
70
|
},
|
|
71
|
-
m(f,
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
m(f, N) {
|
|
72
|
+
lt(f, t, N), s(t, n), s(n, l), s(l, b), s(l, w), s(l, y), s(l, C), s(l, x), s(l, v), s(l, d), s(d, p), s(p, g), s(g, L), s(g, D), s(g, E), s(p, M), s(p, h), s(h, _), s(_, A), s(d, T), s(d, r), s(r, k), e[25](l), e[26](t), P || (G = [
|
|
73
|
+
R(
|
|
74
74
|
p,
|
|
75
75
|
"click",
|
|
76
76
|
/*toggleSkipLimit*/
|
|
77
77
|
e[6]
|
|
78
78
|
),
|
|
79
|
-
|
|
79
|
+
R(
|
|
80
80
|
r,
|
|
81
81
|
"click",
|
|
82
82
|
/*submitLimit*/
|
|
@@ -84,28 +84,28 @@ function ft(e) {
|
|
|
84
84
|
)
|
|
85
85
|
], P = !0);
|
|
86
86
|
},
|
|
87
|
-
p(f,
|
|
88
|
-
|
|
87
|
+
p(f, N) {
|
|
88
|
+
N[0] & /*skipLimit*/
|
|
89
89
|
1 && S !== (S = "skip-switch " + /*skipLimit*/
|
|
90
|
-
(f[0] ? "checked" : "")) && a(g, "class", S),
|
|
91
|
-
16 &&
|
|
92
|
-
f[4]("skipLimitLimitDescription") + "") &&
|
|
90
|
+
(f[0] ? "checked" : "")) && a(g, "class", S), N[0] & /*$_*/
|
|
91
|
+
16 && z !== (z = /*$_*/
|
|
92
|
+
f[4]("skipLimitLimitDescription") + "") && V(A, z), N[0] & /*$_*/
|
|
93
93
|
16 && m !== (m = /*$_*/
|
|
94
|
-
f[4]("savePlayerLimit") + "") &&
|
|
94
|
+
f[4]("savePlayerLimit") + "") && V(k, m), N[0] & /*disableSaveLimit*/
|
|
95
95
|
8 && (r.disabled = /*disableSaveLimit*/
|
|
96
96
|
f[3]);
|
|
97
97
|
},
|
|
98
|
-
i:
|
|
99
|
-
o:
|
|
98
|
+
i: H,
|
|
99
|
+
o: H,
|
|
100
100
|
d(f) {
|
|
101
|
-
f &&
|
|
101
|
+
f && ot(t), e[25](null), e[26](null), P = !1, at(G);
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
function bt(e, t, n) {
|
|
106
106
|
let l;
|
|
107
|
-
rt(e,
|
|
108
|
-
let { clientstyling: b = "" } = t, { clientstylingurl: w = "" } = t, { mbsource: y } = t, { session:
|
|
107
|
+
rt(e, pt, (i) => n(4, l = i));
|
|
108
|
+
let { clientstyling: b = "" } = t, { clientstylingurl: w = "" } = t, { mbsource: y } = t, { session: C = "" } = t, { userid: x = "" } = t, { lang: v = "" } = t, { endpoint: d = "" } = t, { tablabels: p = "Deposit Limits" } = t, { limitsamount: g = "All(deposit):1-50000" } = t, { limitsperiods: L = "All(deposit): D-W-M" } = t, { limitformat: D = "" } = t, { currency: E = "" } = t, { customcurrencysymbols: S = "" } = t, { apiversion: M = "" } = t, { translationurl: h = "" } = t, { timezone: _ = "GMT" } = t, { defaultperiod: z = "Monthly" } = t, A = !0, T = !0, r = !1, m, k;
|
|
109
109
|
const P = `
|
|
110
110
|
.GamingLimitsWrapper div.GamingLimitsContent {
|
|
111
111
|
min-height: revert;
|
|
@@ -143,20 +143,20 @@ function bt(e, t, n) {
|
|
|
143
143
|
margin-right: 5px;
|
|
144
144
|
}
|
|
145
145
|
`, G = () => {
|
|
146
|
-
gt(
|
|
146
|
+
gt(v);
|
|
147
147
|
}, f = () => {
|
|
148
148
|
fetch(h).then((u) => u.json()).then((u) => {
|
|
149
149
|
Object.keys(u).forEach((I) => {
|
|
150
|
-
|
|
150
|
+
q(I, u[I]);
|
|
151
151
|
});
|
|
152
152
|
}).catch((u) => {
|
|
153
153
|
console.log(u);
|
|
154
154
|
});
|
|
155
155
|
};
|
|
156
|
-
Object.keys(
|
|
157
|
-
|
|
156
|
+
Object.keys(J).forEach((i) => {
|
|
157
|
+
q(i, J[i]);
|
|
158
158
|
});
|
|
159
|
-
const
|
|
159
|
+
const N = () => {
|
|
160
160
|
if (!T) {
|
|
161
161
|
if (r) {
|
|
162
162
|
Q();
|
|
@@ -168,7 +168,7 @@ function bt(e, t, n) {
|
|
|
168
168
|
const i = new URL(`${d}/api/pam/v1/player-notifications`);
|
|
169
169
|
i.searchParams.append("createNotificationIfNotFound", "true"), fetch(i, {
|
|
170
170
|
headers: {
|
|
171
|
-
"X-SessionId":
|
|
171
|
+
"X-SessionId": C,
|
|
172
172
|
"Content-Type": "application/json"
|
|
173
173
|
},
|
|
174
174
|
method: "PATCH",
|
|
@@ -213,11 +213,11 @@ function bt(e, t, n) {
|
|
|
213
213
|
},
|
|
214
214
|
window.location.href
|
|
215
215
|
);
|
|
216
|
-
},
|
|
216
|
+
}, F = (i) => {
|
|
217
217
|
if (i.data)
|
|
218
218
|
switch (i.data.type) {
|
|
219
219
|
case "InValidLimit": {
|
|
220
|
-
n(24,
|
|
220
|
+
n(24, A = i.data.data);
|
|
221
221
|
break;
|
|
222
222
|
}
|
|
223
223
|
}
|
|
@@ -232,26 +232,26 @@ function bt(e, t, n) {
|
|
|
232
232
|
limittabvisible: "true",
|
|
233
233
|
endpoint: d,
|
|
234
234
|
userid: x,
|
|
235
|
-
session:
|
|
235
|
+
session: C,
|
|
236
236
|
timezone: _,
|
|
237
|
-
lang:
|
|
237
|
+
lang: v,
|
|
238
238
|
tablabels: p,
|
|
239
239
|
limitsamount: g,
|
|
240
|
-
limitsperiods:
|
|
241
|
-
currency:
|
|
240
|
+
limitsperiods: L,
|
|
241
|
+
currency: E,
|
|
242
242
|
customcurrencysymbols: S,
|
|
243
243
|
apiversion: M,
|
|
244
244
|
translationurl: h,
|
|
245
245
|
clientstylingurl: w,
|
|
246
246
|
mbsource: y,
|
|
247
|
-
defaultperiod:
|
|
247
|
+
defaultperiod: z,
|
|
248
248
|
limitformat: D
|
|
249
249
|
}).forEach(([I, W]) => {
|
|
250
250
|
W != null && i.setAttribute(I, W.toString());
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
mt(() => (window.addEventListener("message",
|
|
254
|
-
window.removeEventListener("message",
|
|
253
|
+
mt(() => (window.addEventListener("message", F), () => {
|
|
254
|
+
window.removeEventListener("message", F);
|
|
255
255
|
}));
|
|
256
256
|
function Y(i) {
|
|
257
257
|
U[i ? "unshift" : "push"](() => {
|
|
@@ -264,15 +264,15 @@ function bt(e, t, n) {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return e.$$set = (i) => {
|
|
267
|
-
"clientstyling" in i && n(7, b = i.clientstyling), "clientstylingurl" in i && n(8, w = i.clientstylingurl), "mbsource" in i && n(9, y = i.mbsource), "session" in i && n(10,
|
|
267
|
+
"clientstyling" in i && n(7, b = i.clientstyling), "clientstylingurl" in i && n(8, w = i.clientstylingurl), "mbsource" in i && n(9, y = i.mbsource), "session" in i && n(10, C = i.session), "userid" in i && n(11, x = i.userid), "lang" in i && n(12, v = i.lang), "endpoint" in i && n(13, d = i.endpoint), "tablabels" in i && n(14, p = i.tablabels), "limitsamount" in i && n(15, g = i.limitsamount), "limitsperiods" in i && n(16, L = i.limitsperiods), "limitformat" in i && n(17, D = i.limitformat), "currency" in i && n(18, E = i.currency), "customcurrencysymbols" in i && n(19, S = i.customcurrencysymbols), "apiversion" in i && n(20, M = i.apiversion), "translationurl" in i && n(21, h = i.translationurl), "timezone" in i && n(22, _ = i.timezone), "defaultperiod" in i && n(23, z = i.defaultperiod);
|
|
268
268
|
}, e.$$.update = () => {
|
|
269
269
|
e.$$.dirty[0] & /*lang*/
|
|
270
|
-
4096 &&
|
|
270
|
+
4096 && v && G(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
271
271
|
130 && b && m && ut(m, b), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
272
272
|
258 && w && m && dt(m, w), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
273
|
-
514 && y && m &&
|
|
273
|
+
514 && y && m && ct(m, `${y}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
274
274
|
2097152 && h && f(), e.$$.dirty[0] & /*skipLimit, invalidLimitInput*/
|
|
275
|
-
16777217 && n(3, T = r ? !1 :
|
|
275
|
+
16777217 && n(3, T = r ? !1 : A), e.$$.dirty[0] & /*innerComponent*/
|
|
276
276
|
4 && k && X(k);
|
|
277
277
|
}, [
|
|
278
278
|
r,
|
|
@@ -280,26 +280,26 @@ function bt(e, t, n) {
|
|
|
280
280
|
k,
|
|
281
281
|
T,
|
|
282
282
|
l,
|
|
283
|
-
|
|
283
|
+
N,
|
|
284
284
|
B,
|
|
285
285
|
b,
|
|
286
286
|
w,
|
|
287
287
|
y,
|
|
288
|
-
|
|
288
|
+
C,
|
|
289
289
|
x,
|
|
290
|
-
|
|
290
|
+
v,
|
|
291
291
|
d,
|
|
292
292
|
p,
|
|
293
293
|
g,
|
|
294
|
-
|
|
294
|
+
L,
|
|
295
295
|
D,
|
|
296
|
-
|
|
296
|
+
E,
|
|
297
297
|
S,
|
|
298
298
|
M,
|
|
299
299
|
h,
|
|
300
300
|
_,
|
|
301
|
-
|
|
302
|
-
|
|
301
|
+
z,
|
|
302
|
+
A,
|
|
303
303
|
Y,
|
|
304
304
|
K
|
|
305
305
|
];
|
|
@@ -311,7 +311,7 @@ class yt extends tt {
|
|
|
311
311
|
t,
|
|
312
312
|
bt,
|
|
313
313
|
ft,
|
|
314
|
-
|
|
314
|
+
nt,
|
|
315
315
|
{
|
|
316
316
|
clientstyling: 7,
|
|
317
317
|
clientstylingurl: 8,
|
|
@@ -438,7 +438,7 @@ class yt extends tt {
|
|
|
438
438
|
this.$$set({ defaultperiod: t }), o();
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
|
-
|
|
441
|
+
et(yt, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, session: {}, userid: {}, lang: {}, endpoint: {}, tablabels: {}, limitsamount: {}, limitsperiods: {}, limitformat: {}, currency: {}, customcurrencysymbols: {}, apiversion: {}, translationurl: {}, timezone: {}, defaultperiod: {} }, [], [], !0);
|
|
442
442
|
export {
|
|
443
443
|
yt as default
|
|
444
444
|
};
|
package/components/{PlayerLimitNotification-zuggJ4lR.js → PlayerLimitNotification-DbORJ66O.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as Z, $,
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
3
|
-
function
|
|
1
|
+
import { a as Z, $, c as tt, S as it, i as et, s as nt, f as o, b as st, e as c, d as P, A as O, q as a, g as lt, h as s, C as R, D as V, G as H, l as ot, F as at, m as rt, o as mt, p as ct, v as U, y as ut, z as dt, Q as pt } from "./PlayerAccountGamingLimitsHistory2Nd-mWkH_LLa.js";
|
|
2
|
+
import "../stencil/ui-skeleton-Cn9Rv2BY.js";
|
|
3
|
+
function q(e, t) {
|
|
4
4
|
Z(e, t);
|
|
5
5
|
}
|
|
6
6
|
function gt(e) {
|
|
7
7
|
$.set(e);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const J = {
|
|
10
10
|
en: {
|
|
11
11
|
savePlayerLimit: "SAVE",
|
|
12
12
|
skipLimitLimitDescription: "I do not wish to set a limit at this time.",
|
|
@@ -44,7 +44,7 @@ if (typeof window < "u") {
|
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
|
-
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsWrapper2Nd-
|
|
47
|
+
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsWrapper2Nd-DmnJjBml.js").then(({ default: t }) => {
|
|
48
48
|
!customElements.get("player-account-gaming-limits-wrapper-2-nd") && customElements.define(
|
|
49
49
|
"player-account-gaming-limits-wrapper-2-nd",
|
|
50
50
|
t.element
|
|
@@ -55,28 +55,28 @@ function ht(e) {
|
|
|
55
55
|
st(e, "svelte-19al6x0", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-limit-modal{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;padding:0 10px;background-color:var(--emw--color-modal-background, rgba(0, 0, 0, 0.7))}.player-limit-modal .limit-modal-container{max-width:700px;min-width:300px;max-height:90vh;overflow-y:auto;position:relative;min-height:200px;border-radius:var(--emw--border-radius-medium, 10px)}.player-limit-modal .limit-submit-button{margin-top:20px;min-width:320px;height:40px;background-color:var(--emw--color-primary, #22b04e);border:none;border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));cursor:pointer;font-size:var(--emw--font-size-large, 20px)}.player-limit-modal .limit-submit-button.Mobile{font-size:var(--emw--font-size-small, 14px);padding:8px 0}.player-limit-modal .limit-submit-button:disabled{opacity:0.3;cursor:not-allowed}.player-limit-modal .toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;cursor:pointer;gap:10px}.player-limit-modal .toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;font-size:14px;line-height:14px;height:14px;vertical-align:middle}.player-limit-modal .toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.player-limit-modal .toggle-content .skip-switch.checked .skip-switch-core::after{left:100%;margin-left:-12px}.player-limit-modal .toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.player-limit-modal .toggle-content .skip-switch .skip-switch-core{width:22px;margin:0;display:inline-block;position:relative;height:14px;border:1px solid #ababab;outline:none;border-radius:10px;box-sizing:border-box;border-color:var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);cursor:pointer;transition:border-color 0.3s, background-color 0.3s;vertical-align:middle}.player-limit-modal .toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:1px;left:1px;border-radius:100%;transition:all 0.3s;width:10px;height:10px;background:#fff}.player-limit-modal .limit-skeleton{width:100%;container-type:inline-size;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.player-limit-modal .limit-skeleton .skeleton-wrapper{display:flex;flex-direction:column;width:320px;gap:10px}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-header{width:100%;margin-top:20px}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-sub-text{width:40%}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-period,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-input-amount,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{width:100%;border-radius:30px;overflow:hidden}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{margin-top:20px}@container (max-width: 768px){.player-limit-modal .limit-skeleton .skeleton-wrapper{width:100%}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-period,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-input-amount,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{width:inherit}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-sub-text{margin-top:10px}}');
|
|
56
56
|
}
|
|
57
57
|
function ft(e) {
|
|
58
|
-
let t, n, l, b, w, y, C, x, v, d, p, g, L,
|
|
58
|
+
let t, n, l, b, w, y, C, x, v, d, p, g, L, D, E, S, M, h, _, z = (
|
|
59
59
|
/*$_*/
|
|
60
60
|
e[4]("skipLimitLimitDescription") + ""
|
|
61
|
-
),
|
|
61
|
+
), A, T, r, m = (
|
|
62
62
|
/*$_*/
|
|
63
63
|
e[4]("savePlayerLimit") + ""
|
|
64
|
-
), k, j,
|
|
64
|
+
), k, j, G;
|
|
65
65
|
return {
|
|
66
66
|
c() {
|
|
67
|
-
t = c("div"), n = c("div"), l = c("player-account-gaming-limits-wrapper-2-nd"), b = c("section"), w =
|
|
67
|
+
t = c("div"), n = c("div"), l = c("player-account-gaming-limits-wrapper-2-nd"), b = c("section"), w = P(), y = c("section"), C = P(), x = c("section"), x.innerHTML = '<div class="limit-skeleton"><div class="skeleton-wrapper"><div class="skeleton-header"><ui-skeleton width="auto" height="25px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-period"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-input-amount"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-button"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div></div>', v = P(), d = c("section"), p = c("button"), g = c("div"), L = c("input"), D = P(), E = c("span"), M = P(), h = c("div"), _ = c("p"), A = O(z), T = P(), r = c("button"), k = O(m), a(b, "slot", "LimitWrapperTitle"), a(y, "slot", "LimitsList"), a(x, "slot", "LimitSkeleton"), a(L, "type", "checkbox"), a(L, "class", "skip-switch-input"), a(E, "class", "skip-switch-core"), a(g, "class", S = "skip-switch " + /*skipLimit*/
|
|
68
68
|
(e[0] ? "checked" : "")), a(_, "class", "label"), a(h, "class", "skip-limit-label"), a(p, "class", "toggle-content"), a(r, "class", "limit-submit-button"), a(r, "type", "submit"), r.disabled = /*disableSaveLimit*/
|
|
69
69
|
e[3], a(d, "slot", "LimitSubmitButton"), a(n, "class", "limit-modal-container"), a(t, "class", "player-limit-modal");
|
|
70
70
|
},
|
|
71
|
-
m(f,
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
m(f, N) {
|
|
72
|
+
lt(f, t, N), s(t, n), s(n, l), s(l, b), s(l, w), s(l, y), s(l, C), s(l, x), s(l, v), s(l, d), s(d, p), s(p, g), s(g, L), s(g, D), s(g, E), s(p, M), s(p, h), s(h, _), s(_, A), s(d, T), s(d, r), s(r, k), e[25](l), e[26](t), j || (G = [
|
|
73
|
+
R(
|
|
74
74
|
p,
|
|
75
75
|
"click",
|
|
76
76
|
/*toggleSkipLimit*/
|
|
77
77
|
e[6]
|
|
78
78
|
),
|
|
79
|
-
|
|
79
|
+
R(
|
|
80
80
|
r,
|
|
81
81
|
"click",
|
|
82
82
|
/*submitLimit*/
|
|
@@ -84,28 +84,28 @@ function ft(e) {
|
|
|
84
84
|
)
|
|
85
85
|
], j = !0);
|
|
86
86
|
},
|
|
87
|
-
p(f,
|
|
88
|
-
|
|
87
|
+
p(f, N) {
|
|
88
|
+
N[0] & /*skipLimit*/
|
|
89
89
|
1 && S !== (S = "skip-switch " + /*skipLimit*/
|
|
90
|
-
(f[0] ? "checked" : "")) && a(g, "class", S),
|
|
91
|
-
16 &&
|
|
92
|
-
f[4]("skipLimitLimitDescription") + "") &&
|
|
90
|
+
(f[0] ? "checked" : "")) && a(g, "class", S), N[0] & /*$_*/
|
|
91
|
+
16 && z !== (z = /*$_*/
|
|
92
|
+
f[4]("skipLimitLimitDescription") + "") && V(A, z), N[0] & /*$_*/
|
|
93
93
|
16 && m !== (m = /*$_*/
|
|
94
|
-
f[4]("savePlayerLimit") + "") &&
|
|
94
|
+
f[4]("savePlayerLimit") + "") && V(k, m), N[0] & /*disableSaveLimit*/
|
|
95
95
|
8 && (r.disabled = /*disableSaveLimit*/
|
|
96
96
|
f[3]);
|
|
97
97
|
},
|
|
98
|
-
i:
|
|
99
|
-
o:
|
|
98
|
+
i: H,
|
|
99
|
+
o: H,
|
|
100
100
|
d(f) {
|
|
101
|
-
f &&
|
|
101
|
+
f && ot(t), e[25](null), e[26](null), j = !1, at(G);
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
function bt(e, t, n) {
|
|
106
106
|
let l;
|
|
107
|
-
rt(e,
|
|
108
|
-
let { clientstyling: b = "" } = t, { clientstylingurl: w = "" } = t, { mbsource: y } = t, { session: C = "" } = t, { userid: x = "" } = t, { lang: v = "" } = t, { endpoint: d = "" } = t, { tablabels: p = "Deposit Limits" } = t, { limitsamount: g = "All(deposit):1-50000" } = t, { limitsperiods: L = "All(deposit): D-W-M" } = t, { limitformat:
|
|
107
|
+
rt(e, pt, (i) => n(4, l = i));
|
|
108
|
+
let { clientstyling: b = "" } = t, { clientstylingurl: w = "" } = t, { mbsource: y } = t, { session: C = "" } = t, { userid: x = "" } = t, { lang: v = "" } = t, { endpoint: d = "" } = t, { tablabels: p = "Deposit Limits" } = t, { limitsamount: g = "All(deposit):1-50000" } = t, { limitsperiods: L = "All(deposit): D-W-M" } = t, { limitformat: D = "" } = t, { currency: E = "" } = t, { customcurrencysymbols: S = "" } = t, { apiversion: M = "" } = t, { translationurl: h = "" } = t, { timezone: _ = "GMT" } = t, { defaultperiod: z = "Monthly" } = t, A = !0, T = !0, r = !1, m, k;
|
|
109
109
|
const j = `
|
|
110
110
|
.GamingLimitsWrapper div.GamingLimitsContent {
|
|
111
111
|
min-height: revert;
|
|
@@ -142,22 +142,22 @@ function bt(e, t, n) {
|
|
|
142
142
|
font-size: 10px;
|
|
143
143
|
margin-right: 5px;
|
|
144
144
|
}
|
|
145
|
-
`,
|
|
145
|
+
`, G = () => {
|
|
146
146
|
gt(v);
|
|
147
147
|
}, f = () => {
|
|
148
148
|
fetch(h).then((u) => u.json()).then((u) => {
|
|
149
|
-
Object.keys(u).forEach((
|
|
150
|
-
|
|
149
|
+
Object.keys(u).forEach((I) => {
|
|
150
|
+
q(I, u[I]);
|
|
151
151
|
});
|
|
152
152
|
}).catch((u) => {
|
|
153
153
|
console.log(u);
|
|
154
154
|
});
|
|
155
155
|
};
|
|
156
|
-
Object.keys(
|
|
157
|
-
|
|
156
|
+
Object.keys(J).forEach((i) => {
|
|
157
|
+
q(i, J[i]);
|
|
158
158
|
});
|
|
159
|
-
const
|
|
160
|
-
if (!
|
|
159
|
+
const N = () => {
|
|
160
|
+
if (!T) {
|
|
161
161
|
if (r) {
|
|
162
162
|
Q();
|
|
163
163
|
return;
|
|
@@ -217,7 +217,7 @@ function bt(e, t, n) {
|
|
|
217
217
|
if (i.data)
|
|
218
218
|
switch (i.data.type) {
|
|
219
219
|
case "InValidLimit": {
|
|
220
|
-
n(24,
|
|
220
|
+
n(24, A = i.data.data);
|
|
221
221
|
break;
|
|
222
222
|
}
|
|
223
223
|
}
|
|
@@ -240,14 +240,14 @@ function bt(e, t, n) {
|
|
|
240
240
|
limitsperiods: L,
|
|
241
241
|
currency: E,
|
|
242
242
|
customcurrencysymbols: S,
|
|
243
|
-
apiversion:
|
|
243
|
+
apiversion: M,
|
|
244
244
|
translationurl: h,
|
|
245
245
|
clientstylingurl: w,
|
|
246
246
|
mbsource: y,
|
|
247
|
-
defaultperiod:
|
|
248
|
-
limitformat:
|
|
249
|
-
}).forEach(([
|
|
250
|
-
|
|
247
|
+
defaultperiod: z,
|
|
248
|
+
limitformat: D
|
|
249
|
+
}).forEach(([I, W]) => {
|
|
250
|
+
W != null && i.setAttribute(I, W.toString());
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
253
|
mt(() => (window.addEventListener("message", F), () => {
|
|
@@ -264,23 +264,23 @@ function bt(e, t, n) {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return e.$$set = (i) => {
|
|
267
|
-
"clientstyling" in i && n(7, b = i.clientstyling), "clientstylingurl" in i && n(8, w = i.clientstylingurl), "mbsource" in i && n(9, y = i.mbsource), "session" in i && n(10, C = i.session), "userid" in i && n(11, x = i.userid), "lang" in i && n(12, v = i.lang), "endpoint" in i && n(13, d = i.endpoint), "tablabels" in i && n(14, p = i.tablabels), "limitsamount" in i && n(15, g = i.limitsamount), "limitsperiods" in i && n(16, L = i.limitsperiods), "limitformat" in i && n(17,
|
|
267
|
+
"clientstyling" in i && n(7, b = i.clientstyling), "clientstylingurl" in i && n(8, w = i.clientstylingurl), "mbsource" in i && n(9, y = i.mbsource), "session" in i && n(10, C = i.session), "userid" in i && n(11, x = i.userid), "lang" in i && n(12, v = i.lang), "endpoint" in i && n(13, d = i.endpoint), "tablabels" in i && n(14, p = i.tablabels), "limitsamount" in i && n(15, g = i.limitsamount), "limitsperiods" in i && n(16, L = i.limitsperiods), "limitformat" in i && n(17, D = i.limitformat), "currency" in i && n(18, E = i.currency), "customcurrencysymbols" in i && n(19, S = i.customcurrencysymbols), "apiversion" in i && n(20, M = i.apiversion), "translationurl" in i && n(21, h = i.translationurl), "timezone" in i && n(22, _ = i.timezone), "defaultperiod" in i && n(23, z = i.defaultperiod);
|
|
268
268
|
}, e.$$.update = () => {
|
|
269
269
|
e.$$.dirty[0] & /*lang*/
|
|
270
|
-
4096 && v &&
|
|
270
|
+
4096 && v && G(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
271
271
|
130 && b && m && ut(m, b), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
272
272
|
258 && w && m && dt(m, w), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
273
|
-
514 && y && m &&
|
|
273
|
+
514 && y && m && ct(m, `${y}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
274
274
|
2097152 && h && f(), e.$$.dirty[0] & /*skipLimit, invalidLimitInput*/
|
|
275
|
-
16777217 && n(3,
|
|
275
|
+
16777217 && n(3, T = r ? !1 : A), e.$$.dirty[0] & /*innerComponent*/
|
|
276
276
|
4 && k && X(k);
|
|
277
277
|
}, [
|
|
278
278
|
r,
|
|
279
279
|
m,
|
|
280
280
|
k,
|
|
281
|
-
|
|
281
|
+
T,
|
|
282
282
|
l,
|
|
283
|
-
|
|
283
|
+
N,
|
|
284
284
|
B,
|
|
285
285
|
b,
|
|
286
286
|
w,
|
|
@@ -292,14 +292,14 @@ function bt(e, t, n) {
|
|
|
292
292
|
p,
|
|
293
293
|
g,
|
|
294
294
|
L,
|
|
295
|
-
|
|
295
|
+
D,
|
|
296
296
|
E,
|
|
297
297
|
S,
|
|
298
|
-
|
|
298
|
+
M,
|
|
299
299
|
h,
|
|
300
300
|
_,
|
|
301
|
-
|
|
302
|
-
|
|
301
|
+
z,
|
|
302
|
+
A,
|
|
303
303
|
Y,
|
|
304
304
|
K
|
|
305
305
|
];
|
package/components/{PlayerLimitNotification-BrMdgJrq.cjs → PlayerLimitNotification-jhgxEbHZ.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountGamingLimitsHistory2Nd-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountGamingLimitsHistory2Nd-CVtyVFxN.cjs");require("../stencil/ui-skeleton-C7KTfaPd.cjs");function G(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const I={en:{savePlayerLimit:"SAVE",skipLimitLimitDescription:"I do not wish to set a limit at this time.",skipLimitSuccessful:"Your account limit has been successfully set.",limitNotificationFail:"Something went wrong while setting your account limits. Try again later."},fr:{savePlayerLimit:"SAUVEGARDER",skipLimitLimitDescription:"Je ne souhaite pas fixer de limite pour le moment.",skipLimitSuccessful:"La limite de votre compte a été définie avec succès.",limitNotificationFail:"Quelque chose s'est mal passé lors de la définition des limites de votre compte. Veuillez réessayer plus tard."},ro:{savePlayerLimit:"SALVAȚI",skipLimitLimitDescription:"Nu doresc să stabilesc o limită în acest moment.",skipLimitSuccessful:"Limita contului dvs. a fost setată cu succes.",limitNotificationFail:"Ceva nu a funcționat corect la setarea limitelor contului dvs. Încercați din nou mai târziu."},hu:{savePlayerLimit:"MENTÉS",skipLimitLimitDescription:"Jelenleg nem kívánok limitet beállítani.",skipLimitSuccessful:"Fiókkorlátja sikeresen beállítva.",limitNotificationFail:"Hiba történt a fiókkorlátok beállítása során. Próbálja újra később."}};if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsWrapper2Nd-C7RelM81.cjs")).then(({default:e})=>{!customElements.get("player-account-gaming-limits-wrapper-2-nd")&&customElements.define("player-account-gaming-limits-wrapper-2-nd",e.element)})}function U(n){t.append_styles(n,"svelte-19al6x0",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-limit-modal{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;padding:0 10px;background-color:var(--emw--color-modal-background, rgba(0, 0, 0, 0.7))}.player-limit-modal .limit-modal-container{max-width:700px;min-width:300px;max-height:90vh;overflow-y:auto;position:relative;min-height:200px;border-radius:var(--emw--border-radius-medium, 10px)}.player-limit-modal .limit-submit-button{margin-top:20px;min-width:320px;height:40px;background-color:var(--emw--color-primary, #22b04e);border:none;border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));cursor:pointer;font-size:var(--emw--font-size-large, 20px)}.player-limit-modal .limit-submit-button.Mobile{font-size:var(--emw--font-size-small, 14px);padding:8px 0}.player-limit-modal .limit-submit-button:disabled{opacity:0.3;cursor:not-allowed}.player-limit-modal .toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;cursor:pointer;gap:10px}.player-limit-modal .toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;font-size:14px;line-height:14px;height:14px;vertical-align:middle}.player-limit-modal .toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.player-limit-modal .toggle-content .skip-switch.checked .skip-switch-core::after{left:100%;margin-left:-12px}.player-limit-modal .toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.player-limit-modal .toggle-content .skip-switch .skip-switch-core{width:22px;margin:0;display:inline-block;position:relative;height:14px;border:1px solid #ababab;outline:none;border-radius:10px;box-sizing:border-box;border-color:var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);cursor:pointer;transition:border-color 0.3s, background-color 0.3s;vertical-align:middle}.player-limit-modal .toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:1px;left:1px;border-radius:100%;transition:all 0.3s;width:10px;height:10px;background:#fff}.player-limit-modal .limit-skeleton{width:100%;container-type:inline-size;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.player-limit-modal .limit-skeleton .skeleton-wrapper{display:flex;flex-direction:column;width:320px;gap:10px}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-header{width:100%;margin-top:20px}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-sub-text{width:40%}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-period,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-input-amount,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{width:100%;border-radius:30px;overflow:hidden}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{margin-top:20px}@container (max-width: 768px){.player-limit-modal .limit-skeleton .skeleton-wrapper{width:100%}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-period,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-input-amount,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{width:inherit}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-sub-text{margin-top:10px}}')}function J(n){let e,s,l,g,b,h,_,y,k,m,c,u,w,E,N,x,M,d,v,L=n[4]("skipLimitLimitDescription")+"",z,A,o,a=n[4]("savePlayerLimit")+"",f,C,P;return{c(){e=t.element("div"),s=t.element("div"),l=t.element("player-account-gaming-limits-wrapper-2-nd"),g=t.element("section"),b=t.space(),h=t.element("section"),_=t.space(),y=t.element("section"),y.innerHTML='<div class="limit-skeleton"><div class="skeleton-wrapper"><div class="skeleton-header"><ui-skeleton width="auto" height="25px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-period"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-input-amount"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-button"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div></div>',k=t.space(),m=t.element("section"),c=t.element("button"),u=t.element("div"),w=t.element("input"),E=t.space(),N=t.element("span"),M=t.space(),d=t.element("div"),v=t.element("p"),z=t.text(L),A=t.space(),o=t.element("button"),f=t.text(a),t.attr(g,"slot","LimitWrapperTitle"),t.attr(h,"slot","LimitsList"),t.attr(y,"slot","LimitSkeleton"),t.attr(w,"type","checkbox"),t.attr(w,"class","skip-switch-input"),t.attr(N,"class","skip-switch-core"),t.attr(u,"class",x="skip-switch "+(n[0]?"checked":"")),t.attr(v,"class","label"),t.attr(d,"class","skip-limit-label"),t.attr(c,"class","toggle-content"),t.attr(o,"class","limit-submit-button"),t.attr(o,"type","submit"),o.disabled=n[3],t.attr(m,"slot","LimitSubmitButton"),t.attr(s,"class","limit-modal-container"),t.attr(e,"class","player-limit-modal")},m(p,S){t.insert(p,e,S),t.append(e,s),t.append(s,l),t.append(l,g),t.append(l,b),t.append(l,h),t.append(l,_),t.append(l,y),t.append(l,k),t.append(l,m),t.append(m,c),t.append(c,u),t.append(u,w),t.append(u,E),t.append(u,N),t.append(c,M),t.append(c,d),t.append(d,v),t.append(v,z),t.append(m,A),t.append(m,o),t.append(o,f),n[25](l),n[26](e),C||(P=[t.listen(c,"click",n[6]),t.listen(o,"click",n[5])],C=!0)},p(p,S){S[0]&1&&x!==(x="skip-switch "+(p[0]?"checked":""))&&t.attr(u,"class",x),S[0]&16&&L!==(L=p[4]("skipLimitLimitDescription")+"")&&t.set_data(z,L),S[0]&16&&a!==(a=p[4]("savePlayerLimit")+"")&&t.set_data(f,a),S[0]&8&&(o.disabled=p[3])},i:t.noop,o:t.noop,d(p){p&&t.detach(e),n[25](null),n[26](null),C=!1,t.run_all(P)}}}function B(n,e,s){let l;t.component_subscribe(n,t.$format,i=>s(4,l=i));let{clientstyling:g=""}=e,{clientstylingurl:b=""}=e,{mbsource:h}=e,{session:_=""}=e,{userid:y=""}=e,{lang:k=""}=e,{endpoint:m=""}=e,{tablabels:c="Deposit Limits"}=e,{limitsamount:u="All(deposit):1-50000"}=e,{limitsperiods:w="All(deposit): D-W-M"}=e,{limitformat:E=""}=e,{currency:N=""}=e,{customcurrencysymbols:x=""}=e,{apiversion:M=""}=e,{translationurl:d=""}=e,{timezone:v="GMT"}=e,{defaultperiod:L="Monthly"}=e,z=!0,A=!0,o=!1,a,f;const C=`
|
|
2
2
|
.GamingLimitsWrapper div.GamingLimitsContent {
|
|
3
3
|
min-height: revert;
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerLimitNotification-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerLimitNotification-jhgxEbHZ.cjs")).then(({default:t})=>{!customElements.get("player-limit-notification")&&customElements.define("player-limit-notification",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerLimitNotification-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerLimitNotification-DKJyH3PY.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-limit-notification") && customElements.define("player-limit-notification", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|