@everymatrix/player-account-gaming-limits-wrapper-2 1.49.2 → 1.50.0
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/{PlayerAccountGamingLimitsHistory2-BZJIzRes.cjs → PlayerAccountGamingLimitsHistory2-B37ktFhx.cjs} +3 -3
- package/components/{PlayerAccountGamingLimitsHistory2-D27aKXo9.js → PlayerAccountGamingLimitsHistory2-DgEolro2.js} +232 -232
- package/components/{PlayerAccountGamingLimitsPage2Gm16-D_hcaHbk.js → PlayerAccountGamingLimitsPage2Gm16-BK6f2HyS.js} +113 -113
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DBOkv9Ga.cjs → PlayerAccountGamingLimitsPage2Gm16-Biw3XAh5.cjs} +5 -5
- package/components/{PlayerAccountGamingLimitsWrapper2-DWGESnCL.js → PlayerAccountGamingLimitsWrapper2-BO8ZCA6y.js} +49 -49
- package/components/PlayerAccountGamingLimitsWrapper2-DA2TIjl6.cjs +1 -0
- package/es2015/player-account-gaming-limits-wrapper-2.cjs +1 -1
- package/es2015/player-account-gaming-limits-wrapper-2.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsWrapper2-DK1P2N0m.cjs +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { $ as X, G as
|
|
1
|
+
import { $ as X, G as de, a as be, S as ye, i as _e, f as y, c as pe, s as we, b as Le, e as v, d as S, r as R, g as d, h as _, j as M, w as U, n as D, k, l as ve, H as ke, I as Ee, o as Me, E as A, v as ne, q as O, x as j, u as Te, z as le, J as r, D as Ce } from "./PlayerAccountGamingLimitsHistory2-DgEolro2.js";
|
|
2
2
|
function Ge({ withLocale: i, translations: e }) {
|
|
3
3
|
X.subscribe((t) => {
|
|
4
|
-
t == null && (
|
|
4
|
+
t == null && (de.set(e), X.set(i));
|
|
5
5
|
});
|
|
6
6
|
}
|
|
7
7
|
function Ae(i, e) {
|
|
@@ -51,7 +51,7 @@ if (typeof window != "undefined") {
|
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
|
-
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsPage2Gm16-
|
|
54
|
+
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsPage2Gm16-BK6f2HyS.js").then(({ default: e }) => {
|
|
55
55
|
!customElements.get("player-account-gaming-limits-page-2-gm16") && customElements.define(
|
|
56
56
|
"player-account-gaming-limits-page-2-gm16",
|
|
57
57
|
e.element
|
|
@@ -70,7 +70,7 @@ if (typeof window != "undefined") {
|
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
};
|
|
73
|
-
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsHistory2-
|
|
73
|
+
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsHistory2-DgEolro2.js").then((e) => e.P).then(({ default: e }) => {
|
|
74
74
|
!customElements.get("player-account-gaming-limits-history-2") && customElements.define(
|
|
75
75
|
"player-account-gaming-limits-history-2",
|
|
76
76
|
e.element
|
|
@@ -79,7 +79,7 @@ if (typeof window != "undefined") {
|
|
|
79
79
|
}
|
|
80
80
|
const { document: De } = Me;
|
|
81
81
|
function Se(i) {
|
|
82
|
-
Le(i, "svelte-
|
|
82
|
+
Le(i, "svelte-r6lh3z", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px 50px 30px 50px}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.LimitsWrapper{display:flex;flex-direction:column}.TabsContainer{height:50px;display:flex;margin-bottom:12px;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-300, #58586B);justify-content:center;background:var(--emw--color-white, #FFFFFF);box-shadow:0 0.15rem 0.2rem 0 rgba(0, 0, 0, 0.12)}.LimitsTab{font-size:1.3rem;line-height:1.4rem;margin-bottom:3px;display:flex;justify-content:center;align-items:center;padding:0 1rem;box-sizing:content-box}.hidden{display:none}h2{margin:20px 0px}.PlayerAccountGamingLmitsWrapper2{margin-bottom:20px}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C))}.GamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));font-weight:400}.GamingLimitsTitleMobile{font-size:16px}.GamingLimitsTitleNone{display:none}.selected{border-bottom:0.2rem solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));margin:0}');
|
|
83
83
|
}
|
|
84
84
|
function x(i, e, t) {
|
|
85
85
|
const n = i.slice();
|
|
@@ -96,31 +96,31 @@ function We(i) {
|
|
|
96
96
|
), L, E, b;
|
|
97
97
|
return {
|
|
98
98
|
c() {
|
|
99
|
-
e = v("div"), t = A("svg"), n = A("defs"), l = A("style"), a =
|
|
99
|
+
e = v("div"), t = A("svg"), n = A("defs"), l = A("style"), a = R(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));}"), m = A("g"), c = A("g"), u = A("path"), o = S(), g = v("h2"), L = R(f), d(u, "class", "aaa"), d(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(u, "transform", "translate(15 15) rotate(180)"), d(c, "transform", "translate(20 158)"), d(m, "transform", "translate(-20 -158)"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "15"), d(t, "height", "15"), d(t, "viewBox", "0 0 15 15"), d(g, "class", "GamingLimitsTitleMobile"), d(e, "class", "MenuReturnButton"), d(e, "part", "MenuReturnButton");
|
|
100
100
|
},
|
|
101
|
-
m(
|
|
102
|
-
M(
|
|
101
|
+
m(h, w) {
|
|
102
|
+
M(h, e, w), _(e, t), _(t, n), _(n, l), _(l, a), _(t, m), _(m, c), _(c, u), _(e, o), _(e, g), _(g, L), E || (b = ne(
|
|
103
103
|
e,
|
|
104
104
|
"click",
|
|
105
105
|
/*click_handler*/
|
|
106
106
|
i[30]
|
|
107
107
|
), E = !0);
|
|
108
108
|
},
|
|
109
|
-
p(
|
|
109
|
+
p(h, w) {
|
|
110
110
|
w[0] & /*$_*/
|
|
111
111
|
4194304 && f !== (f = /*$_*/
|
|
112
|
-
|
|
112
|
+
h[22]("title") + "") && U(L, f);
|
|
113
113
|
},
|
|
114
|
-
d(
|
|
115
|
-
|
|
114
|
+
d(h) {
|
|
115
|
+
h && k(e), E = !1, b();
|
|
116
116
|
}
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function ze(i) {
|
|
120
120
|
let e, t, n, l, a = (
|
|
121
121
|
/*limitTabs*/
|
|
122
|
-
i[23].length > 1 &&
|
|
123
|
-
), m =
|
|
122
|
+
i[23].length > 1 && Re(i)
|
|
123
|
+
), m = j(
|
|
124
124
|
/*limitTabs*/
|
|
125
125
|
i[23]
|
|
126
126
|
), c = [];
|
|
@@ -135,7 +135,7 @@ function Pe(i) {
|
|
|
135
135
|
a && a.c(), e = S(), t = v("div");
|
|
136
136
|
for (let o = 0; o < c.length; o += 1)
|
|
137
137
|
c[o].c();
|
|
138
|
-
n = S(), u && u.c(), l = Te(),
|
|
138
|
+
n = S(), u && u.c(), l = Te(), d(t, "class", "PlayerAccountGamingLmitsWrapper2");
|
|
139
139
|
},
|
|
140
140
|
m(o, g) {
|
|
141
141
|
a && a.m(o, g), M(o, e, g), M(o, t, g);
|
|
@@ -149,7 +149,7 @@ function Pe(i) {
|
|
|
149
149
|
o[23].length > 1 && a.p(o, g), g[0] & /*lang, currency, amountsArray, periodsArray, userid, deletelimit, enablecompliancetext, session, endpoint, apiversion, clientstyling, clientstylingurl, translationurl, customcurrencysymbols, limitformat*/
|
|
150
150
|
3177919
|
|
151
151
|
) {
|
|
152
|
-
m =
|
|
152
|
+
m = j(
|
|
153
153
|
/*limitTabs*/
|
|
154
154
|
o[23]
|
|
155
155
|
);
|
|
@@ -170,11 +170,11 @@ function Pe(i) {
|
|
|
170
170
|
}
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function Pe(i) {
|
|
174
174
|
return { c: D, m: D, p: D, d: D };
|
|
175
175
|
}
|
|
176
|
-
function
|
|
177
|
-
let e, t =
|
|
176
|
+
function Re(i) {
|
|
177
|
+
let e, t = j(
|
|
178
178
|
/*limitTabs*/
|
|
179
179
|
i[23]
|
|
180
180
|
), n = [];
|
|
@@ -185,7 +185,7 @@ function je(i) {
|
|
|
185
185
|
e = v("div");
|
|
186
186
|
for (let l = 0; l < n.length; l += 1)
|
|
187
187
|
n[l].c();
|
|
188
|
-
|
|
188
|
+
d(e, "class", "TabsContainer");
|
|
189
189
|
},
|
|
190
190
|
m(l, a) {
|
|
191
191
|
M(l, e, a);
|
|
@@ -196,7 +196,7 @@ function je(i) {
|
|
|
196
196
|
p(l, a) {
|
|
197
197
|
if (a[0] & /*selectTab, tabLabelArray, limitTabs*/
|
|
198
198
|
42205184) {
|
|
199
|
-
t =
|
|
199
|
+
t = j(
|
|
200
200
|
/*limitTabs*/
|
|
201
201
|
l[23]
|
|
202
202
|
);
|
|
@@ -238,7 +238,7 @@ function ee(i) {
|
|
|
238
238
|
}
|
|
239
239
|
return {
|
|
240
240
|
c() {
|
|
241
|
-
e = v("div"), n =
|
|
241
|
+
e = v("div"), n = R(t), d(e, "class", "LimitsTab");
|
|
242
242
|
},
|
|
243
243
|
m(u, o) {
|
|
244
244
|
M(u, e, o), _(e, n), l || (a = ne(e, "click", m), l = !0);
|
|
@@ -570,7 +570,7 @@ function ie(i) {
|
|
|
570
570
|
}
|
|
571
571
|
};
|
|
572
572
|
}
|
|
573
|
-
function
|
|
573
|
+
function je(i) {
|
|
574
574
|
let e, t, n, l, a, m, c, u = (
|
|
575
575
|
/*$_*/
|
|
576
576
|
i[22]("title") + ""
|
|
@@ -578,51 +578,51 @@ function ze(i) {
|
|
|
578
578
|
/*isMobile*/
|
|
579
579
|
i[24] && We(i)
|
|
580
580
|
);
|
|
581
|
-
function L(
|
|
581
|
+
function L(h, w) {
|
|
582
582
|
return (
|
|
583
583
|
/*isLoading*/
|
|
584
|
-
|
|
584
|
+
h[15] ? Pe : ze
|
|
585
585
|
);
|
|
586
586
|
}
|
|
587
587
|
let E = L(i), b = E(i);
|
|
588
588
|
return {
|
|
589
589
|
c() {
|
|
590
|
-
e = v("meta"), t = S(), n = v("div"), l = v("div"), a = v("div"), f && f.c(), m = S(), c = v("h2"), o =
|
|
591
|
-
(i[24] ? "GamingLimitsTitleNone" : "")),
|
|
590
|
+
e = v("meta"), t = S(), n = v("div"), l = v("div"), a = v("div"), f && f.c(), m = S(), c = v("h2"), o = R(u), g = S(), b.c(), d(e, "name", "viewport"), d(e, "content", "width=device-width, initial-scale=1"), d(c, "class", "GamingLimitsTitle " + /*isMobile*/
|
|
591
|
+
(i[24] ? "GamingLimitsTitleNone" : "")), d(a, "class", "TitleSection"), d(l, "class", "GamingLimitsWrapper " + /*isMobile*/
|
|
592
592
|
(i[24] ? "GamingLimitsWrapperMobile" : ""));
|
|
593
593
|
},
|
|
594
|
-
m(
|
|
595
|
-
_(De.head, e), M(
|
|
594
|
+
m(h, w) {
|
|
595
|
+
_(De.head, e), M(h, t, w), M(h, n, w), _(n, l), _(l, a), f && f.m(a, null), _(a, m), _(a, c), _(c, o), _(l, g), b.m(l, null), i[34](n);
|
|
596
596
|
},
|
|
597
|
-
p(
|
|
597
|
+
p(h, w) {
|
|
598
598
|
/*isMobile*/
|
|
599
|
-
|
|
599
|
+
h[24] && f.p(h, w), w[0] & /*$_*/
|
|
600
600
|
4194304 && u !== (u = /*$_*/
|
|
601
|
-
|
|
601
|
+
h[22]("title") + "") && U(o, u), E === (E = L(h)) && b ? b.p(h, w) : (b.d(1), b = E(h), b && (b.c(), b.m(l, null)));
|
|
602
602
|
},
|
|
603
603
|
i: D,
|
|
604
604
|
o: D,
|
|
605
|
-
d(
|
|
606
|
-
|
|
605
|
+
d(h) {
|
|
606
|
+
h && (k(t), k(n)), k(e), f && f.d(), b.d(), i[34](null);
|
|
607
607
|
}
|
|
608
608
|
};
|
|
609
609
|
}
|
|
610
610
|
function Fe(i, e, t) {
|
|
611
611
|
let n;
|
|
612
612
|
ve(i, Ce, (s) => t(22, n = s));
|
|
613
|
-
let { lang: l = "" } = e, { userid: a = "" } = e, { session: m = "" } = e, { endpoint: c = "" } = e, { currency: u = "" } = e, { apiversion: o = "" } = e, { tablabels: g = "" } = e, { historyenabled: f = "true" } = e, { enablecompliancetext: L = "false" } = e, { deletelimit: E = "" } = e, { limitsamount: b = "" } = e, { limitsperiods:
|
|
613
|
+
let { lang: l = "" } = e, { userid: a = "" } = e, { session: m = "" } = e, { endpoint: c = "" } = e, { currency: u = "" } = e, { apiversion: o = "" } = e, { tablabels: g = "" } = e, { historyenabled: f = "true" } = e, { enablecompliancetext: L = "false" } = e, { deletelimit: E = "" } = e, { limitsamount: b = "" } = e, { limitsperiods: h = "" } = e, { numberofentries: w = "" } = e, { customcurrencysymbols: q = "" } = e, { limitformat: J = "" } = e, { clientstyling: W = "" } = e, { clientstylingurl: z = "" } = e, { translationurl: V = "" } = e;
|
|
614
614
|
Ge({ withLocale: "en", translations: {} });
|
|
615
|
-
let F = !0, G, B = [], Z, C, T,
|
|
615
|
+
let F = !0, G, B = [], Z, C, T, P, H, se = window.navigator.userAgent, K = ke(se) !== "PC";
|
|
616
616
|
Object.keys(Y).forEach((s) => {
|
|
617
617
|
Ae(s, Y[s]);
|
|
618
618
|
});
|
|
619
619
|
const re = (s, p) => {
|
|
620
|
-
if (t(20,
|
|
620
|
+
if (t(20, P = s.replace(/\s/g, "").split("|")), t(21, H = p.replace(/\s/g, "").split("|")), P.length === 0)
|
|
621
621
|
throw new Error("Please provide a full limits configuration.");
|
|
622
|
-
if (
|
|
622
|
+
if (P.length !== H.length)
|
|
623
623
|
throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.");
|
|
624
624
|
}, ae = () => {
|
|
625
|
-
re(b,
|
|
625
|
+
re(b, h), b.split("|").forEach((p) => {
|
|
626
626
|
B.includes(p) || B.push(p);
|
|
627
627
|
}), t(18, Z = g.split(",").map((p) => p.trim())), t(15, F = !1);
|
|
628
628
|
}, N = (s) => {
|
|
@@ -641,7 +641,7 @@ function Fe(i, e, t) {
|
|
|
641
641
|
let s = document.createElement("style");
|
|
642
642
|
s.innerHTML = W, G.appendChild(s);
|
|
643
643
|
}, me = () => {
|
|
644
|
-
let s = new URL(
|
|
644
|
+
let s = new URL(z), p = document.createElement("style");
|
|
645
645
|
fetch(s.href).then((I) => I.text()).then((I) => {
|
|
646
646
|
p.innerHTML = I, setTimeout(
|
|
647
647
|
() => {
|
|
@@ -665,18 +665,18 @@ function Fe(i, e, t) {
|
|
|
665
665
|
C = s, t(17, C);
|
|
666
666
|
});
|
|
667
667
|
}
|
|
668
|
-
function
|
|
668
|
+
function he(s) {
|
|
669
669
|
O[s ? "unshift" : "push"](() => {
|
|
670
670
|
G = s, t(16, G);
|
|
671
671
|
});
|
|
672
672
|
}
|
|
673
673
|
return i.$$set = (s) => {
|
|
674
|
-
"lang" in s && t(0, l = s.lang), "userid" in s && t(1, a = s.userid), "session" in s && t(2, m = s.session), "endpoint" in s && t(3, c = s.endpoint), "currency" in s && t(4, u = s.currency), "apiversion" in s && t(5, o = s.apiversion), "tablabels" in s && t(27, g = s.tablabels), "historyenabled" in s && t(6, f = s.historyenabled), "enablecompliancetext" in s && t(7, L = s.enablecompliancetext), "deletelimit" in s && t(8, E = s.deletelimit), "limitsamount" in s && t(28, b = s.limitsamount), "limitsperiods" in s && t(29,
|
|
674
|
+
"lang" in s && t(0, l = s.lang), "userid" in s && t(1, a = s.userid), "session" in s && t(2, m = s.session), "endpoint" in s && t(3, c = s.endpoint), "currency" in s && t(4, u = s.currency), "apiversion" in s && t(5, o = s.apiversion), "tablabels" in s && t(27, g = s.tablabels), "historyenabled" in s && t(6, f = s.historyenabled), "enablecompliancetext" in s && t(7, L = s.enablecompliancetext), "deletelimit" in s && t(8, E = s.deletelimit), "limitsamount" in s && t(28, b = s.limitsamount), "limitsperiods" in s && t(29, h = s.limitsperiods), "numberofentries" in s && t(9, w = s.numberofentries), "customcurrencysymbols" in s && t(10, q = s.customcurrencysymbols), "limitformat" in s && t(11, J = s.limitformat), "clientstyling" in s && t(12, W = s.clientstyling), "clientstylingurl" in s && t(13, z = s.clientstylingurl), "translationurl" in s && t(14, V = s.translationurl);
|
|
675
675
|
}, i.$$.update = () => {
|
|
676
676
|
i.$$.dirty[0] & /*userid, session, endpoint, tablabels, lang, apiversion*/
|
|
677
677
|
134217775 && a && m && c && g && l && o && ae(), i.$$.dirty[0] & /*mainContainer, isLoading*/
|
|
678
678
|
163840 && C && !F && N(0), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
679
|
-
73728 &&
|
|
679
|
+
73728 && z && G && me(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
680
680
|
69632 && W && G && oe();
|
|
681
681
|
}, [
|
|
682
682
|
l,
|
|
@@ -692,14 +692,14 @@ function Fe(i, e, t) {
|
|
|
692
692
|
q,
|
|
693
693
|
J,
|
|
694
694
|
W,
|
|
695
|
-
|
|
695
|
+
z,
|
|
696
696
|
V,
|
|
697
697
|
F,
|
|
698
698
|
G,
|
|
699
699
|
C,
|
|
700
700
|
Z,
|
|
701
701
|
T,
|
|
702
|
-
|
|
702
|
+
P,
|
|
703
703
|
H,
|
|
704
704
|
n,
|
|
705
705
|
B,
|
|
@@ -708,12 +708,12 @@ function Fe(i, e, t) {
|
|
|
708
708
|
Q,
|
|
709
709
|
g,
|
|
710
710
|
b,
|
|
711
|
-
|
|
711
|
+
h,
|
|
712
712
|
ce,
|
|
713
713
|
ue,
|
|
714
714
|
fe,
|
|
715
715
|
ge,
|
|
716
|
-
|
|
716
|
+
he
|
|
717
717
|
];
|
|
718
718
|
}
|
|
719
719
|
class Be extends ye {
|
|
@@ -722,7 +722,7 @@ class Be extends ye {
|
|
|
722
722
|
this,
|
|
723
723
|
e,
|
|
724
724
|
Fe,
|
|
725
|
-
|
|
725
|
+
je,
|
|
726
726
|
we,
|
|
727
727
|
{
|
|
728
728
|
lang: 0,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountGamingLimitsHistory2-B37ktFhx.cjs");function ee({withLocale:i,translations:t}){e.$locale.subscribe(n=>{n==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function te(i,t){e.addMessages(i,t)}const F={en:{title:"Limits"},"zh-hk":{title:"Limits"},fr:{title:"Limits"},ro:{title:"Limits"},es:{title:"Limits"},pt:{title:"Limits"},hr:{title:"Ograničenja"},"pt-br":{title:"Limites"},"es-mx":{title:"Límites"},tr:{title:"Sınırlar"}};if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}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=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsPage2Gm16-Biw3XAh5.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-page-2-gm16")&&customElements.define("player-account-gaming-limits-page-2-gm16",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}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=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsHistory2-B37ktFhx.cjs")).then(t=>t.PlayerAccountGamingLimitsHistory2_ce).then(({default:t})=>{!customElements.get("player-account-gaming-limits-history-2")&&customElements.define("player-account-gaming-limits-history-2",t.element)})}const{document:ne}=e.globals;function ie(i){e.append_styles(i,"svelte-r6lh3z",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px 50px 30px 50px}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.LimitsWrapper{display:flex;flex-direction:column}.TabsContainer{height:50px;display:flex;margin-bottom:12px;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-300, #58586B);justify-content:center;background:var(--emw--color-white, #FFFFFF);box-shadow:0 0.15rem 0.2rem 0 rgba(0, 0, 0, 0.12)}.LimitsTab{font-size:1.3rem;line-height:1.4rem;margin-bottom:3px;display:flex;justify-content:center;align-items:center;padding:0 1rem;box-sizing:content-box}.hidden{display:none}h2{margin:20px 0px}.PlayerAccountGamingLmitsWrapper2{margin-bottom:20px}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C))}.GamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));font-weight:400}.GamingLimitsTitleMobile{font-size:16px}.GamingLimitsTitleNone{display:none}.selected{border-bottom:0.2rem solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));margin:0}')}function H(i,t,n){const l=i.slice();return l[41]=t[n],l[43]=n,l}function B(i,t,n){const l=i.slice();return l[44]=t[n],l[43]=n,l}function le(i){let t,n,l,s,r,o,c,u,m,d,_=i[22]("title")+"",b,y,g;return{c(){t=e.element("div"),n=e.svg_element("svg"),l=e.svg_element("defs"),s=e.svg_element("style"),r=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));}"),o=e.svg_element("g"),c=e.svg_element("g"),u=e.svg_element("path"),m=e.space(),d=e.element("h2"),b=e.text(_),e.attr(u,"class","aaa"),e.attr(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(u,"transform","translate(15 15) rotate(180)"),e.attr(c,"transform","translate(20 158)"),e.attr(o,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(d,"class","GamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(f,p){e.insert(f,t,p),e.append(t,n),e.append(n,l),e.append(l,s),e.append(s,r),e.append(n,o),e.append(o,c),e.append(c,u),e.append(t,m),e.append(t,d),e.append(d,b),y||(g=e.listen(t,"click",i[30]),y=!0)},p(f,p){p[0]&4194304&&_!==(_=f[22]("title")+"")&&e.set_data(b,_)},d(f){f&&e.detach(t),y=!1,g()}}}function se(i){let t,n,l,s,r=i[23].length>1&&re(i),o=e.ensure_array_like(i[23]),c=[];for(let m=0;m<o.length;m+=1)c[m]=O(H(i,o,m));let u=i[6]==="true"&&q(i);return{c(){r&&r.c(),t=e.space(),n=e.element("div");for(let m=0;m<c.length;m+=1)c[m].c();l=e.space(),u&&u.c(),s=e.empty(),e.attr(n,"class","PlayerAccountGamingLmitsWrapper2")},m(m,d){r&&r.m(m,d),e.insert(m,t,d),e.insert(m,n,d);for(let _=0;_<c.length;_+=1)c[_]&&c[_].m(n,null);i[33](n),e.insert(m,l,d),u&&u.m(m,d),e.insert(m,s,d)},p(m,d){if(m[23].length>1&&r.p(m,d),d[0]&3177919){o=e.ensure_array_like(m[23]);let _;for(_=0;_<o.length;_+=1){const b=H(m,o,_);c[_]?c[_].p(b,d):(c[_]=O(b),c[_].c(),c[_].m(n,null))}for(;_<c.length;_+=1)c[_].d(1);c.length=o.length}m[6]==="true"?u?u.p(m,d):(u=q(m),u.c(),u.m(s.parentNode,s)):u&&(u.d(1),u=null)},d(m){m&&(e.detach(t),e.detach(n),e.detach(l),e.detach(s)),r&&r.d(m),e.destroy_each(c,m),i[33](null),u&&u.d(m)}}}function ae(i){return{c:e.noop,m:e.noop,p:e.noop,d:e.noop}}function re(i){let t,n=e.ensure_array_like(i[23]),l=[];for(let s=0;s<n.length;s+=1)l[s]=N(B(i,n,s));return{c(){t=e.element("div");for(let s=0;s<l.length;s+=1)l[s].c();e.attr(t,"class","TabsContainer")},m(s,r){e.insert(s,t,r);for(let o=0;o<l.length;o+=1)l[o]&&l[o].m(t,null);i[32](t)},p(s,r){if(r[0]&42205184){n=e.ensure_array_like(s[23]);let o;for(o=0;o<n.length;o+=1){const c=B(s,n,o);l[o]?l[o].p(c,r):(l[o]=N(c),l[o].c(),l[o].m(t,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=n.length}},d(s){s&&e.detach(t),e.destroy_each(l,s),i[32](null)}}}function N(i){var c;let t,n=((c=i[18][i[43]])!=null?c:i[44])+"",l,s,r;function o(){return i[31](i[43])}return{c(){t=e.element("div"),l=e.text(n),e.attr(t,"class","LimitsTab")},m(u,m){e.insert(u,t,m),e.append(t,l),s||(r=e.listen(t,"click",o),s=!0)},p(u,m){var d;i=u,m[0]&262144&&n!==(n=((d=i[18][i[43]])!=null?d:i[44])+"")&&e.set_data(l,n)},d(u){u&&e.detach(t),s=!1,r()}}}function O(i){let t,n,l;return{c(){t=e.element("player-account-gaming-limits-page-2-gm16"),e.set_custom_element_data(t,"class","hidden selected"),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"currency",i[4]),e.set_custom_element_data(t,"amountsconfig",n=i[20][i[43]]),e.set_custom_element_data(t,"periodsconfig",l=i[21][i[43]]),e.set_custom_element_data(t,"limittabindex",i[43]+1),e.set_custom_element_data(t,"userid",i[1]),e.set_custom_element_data(t,"deletelimit",i[8]),e.set_custom_element_data(t,"enablecompliancetext",i[7]),e.set_custom_element_data(t,"session",i[2]),e.set_custom_element_data(t,"endpoint",i[3]),e.set_custom_element_data(t,"apiversion",i[5]),e.set_custom_element_data(t,"clientstyling",i[12]),e.set_custom_element_data(t,"clientstylingurl",i[13]),e.set_custom_element_data(t,"translationurl",i[14]),e.set_custom_element_data(t,"customcurrencysymbols",i[10]),e.set_custom_element_data(t,"limitformat",i[11])},m(s,r){e.insert(s,t,r)},p(s,r){r[0]&1&&e.set_custom_element_data(t,"lang",s[0]),r[0]&16&&e.set_custom_element_data(t,"currency",s[4]),r[0]&1048576&&n!==(n=s[20][s[43]])&&e.set_custom_element_data(t,"amountsconfig",n),r[0]&2097152&&l!==(l=s[21][s[43]])&&e.set_custom_element_data(t,"periodsconfig",l),r[0]&2&&e.set_custom_element_data(t,"userid",s[1]),r[0]&256&&e.set_custom_element_data(t,"deletelimit",s[8]),r[0]&128&&e.set_custom_element_data(t,"enablecompliancetext",s[7]),r[0]&4&&e.set_custom_element_data(t,"session",s[2]),r[0]&8&&e.set_custom_element_data(t,"endpoint",s[3]),r[0]&32&&e.set_custom_element_data(t,"apiversion",s[5]),r[0]&4096&&e.set_custom_element_data(t,"clientstyling",s[12]),r[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",s[13]),r[0]&16384&&e.set_custom_element_data(t,"translationurl",s[14]),r[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",s[10]),r[0]&2048&&e.set_custom_element_data(t,"limitformat",s[11])},d(s){s&&e.detach(t)}}}function q(i){let t;return{c(){t=e.element("player-account-gaming-limits-history-2"),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"userid",i[1]),e.set_custom_element_data(t,"session",i[2]),e.set_custom_element_data(t,"endpoint",i[3]),e.set_custom_element_data(t,"apiversion",i[5]),e.set_custom_element_data(t,"numberofentries",i[9]),e.set_custom_element_data(t,"clientstyling",i[12]),e.set_custom_element_data(t,"clientstylingurl",i[13]),e.set_custom_element_data(t,"translationurl",i[14]),e.set_custom_element_data(t,"customcurrencysymbols",i[10])},m(n,l){e.insert(n,t,l)},p(n,l){l[0]&1&&e.set_custom_element_data(t,"lang",n[0]),l[0]&2&&e.set_custom_element_data(t,"userid",n[1]),l[0]&4&&e.set_custom_element_data(t,"session",n[2]),l[0]&8&&e.set_custom_element_data(t,"endpoint",n[3]),l[0]&32&&e.set_custom_element_data(t,"apiversion",n[5]),l[0]&512&&e.set_custom_element_data(t,"numberofentries",n[9]),l[0]&4096&&e.set_custom_element_data(t,"clientstyling",n[12]),l[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",n[13]),l[0]&16384&&e.set_custom_element_data(t,"translationurl",n[14]),l[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",n[10])},d(n){n&&e.detach(t)}}}function me(i){let t,n,l,s,r,o,c,u=i[22]("title")+"",m,d,_=i[24]&&le(i);function b(f,p){return f[15]?ae:se}let y=b(i),g=y(i);return{c(){t=e.element("meta"),n=e.space(),l=e.element("div"),s=e.element("div"),r=e.element("div"),_&&_.c(),o=e.space(),c=e.element("h2"),m=e.text(u),d=e.space(),g.c(),e.attr(t,"name","viewport"),e.attr(t,"content","width=device-width, initial-scale=1"),e.attr(c,"class","GamingLimitsTitle "+(i[24]?"GamingLimitsTitleNone":"")),e.attr(r,"class","TitleSection"),e.attr(s,"class","GamingLimitsWrapper "+(i[24]?"GamingLimitsWrapperMobile":""))},m(f,p){e.append(ne.head,t),e.insert(f,n,p),e.insert(f,l,p),e.append(l,s),e.append(s,r),_&&_.m(r,null),e.append(r,o),e.append(r,c),e.append(c,m),e.append(s,d),g.m(s,null),i[34](l)},p(f,p){f[24]&&_.p(f,p),p[0]&4194304&&u!==(u=f[22]("title")+"")&&e.set_data(m,u),y===(y=b(f))&&g?g.p(f,p):(g.d(1),g=y(f),g&&(g.c(),g.m(s,null)))},i:e.noop,o:e.noop,d(f){f&&(e.detach(n),e.detach(l)),e.detach(t),_&&_.d(),g.d(),i[34](null)}}}function oe(i,t,n){let l;e.component_subscribe(i,e.$format,a=>n(22,l=a));let{lang:s=""}=t,{userid:r=""}=t,{session:o=""}=t,{endpoint:c=""}=t,{currency:u=""}=t,{apiversion:m=""}=t,{tablabels:d=""}=t,{historyenabled:_="true"}=t,{enablecompliancetext:b="false"}=t,{deletelimit:y=""}=t,{limitsamount:g=""}=t,{limitsperiods:f=""}=t,{numberofentries:p=""}=t,{customcurrencysymbols:P=""}=t,{limitformat:D=""}=t,{clientstyling:k=""}=t,{clientstylingurl:M=""}=t,{translationurl:W=""}=t;ee({withLocale:"en",translations:{}});let E=!0,L,C=[],R,v,w,T,A,U=window.navigator.userAgent,j=e.getDevice(U)!=="PC";Object.keys(F).forEach(a=>{te(a,F[a])});const V=(a,h)=>{if(n(20,T=a.replace(/\s/g,"").split("|")),n(21,A=h.replace(/\s/g,"").split("|")),T.length===0)throw new Error("Please provide a full limits configuration.");if(T.length!==A.length)throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.")},Z=()=>{V(g,f),g.split("|").forEach(h=>{C.includes(h)||C.push(h)}),n(18,R=d.split(",").map(h=>h.trim())),n(15,E=!1)},G=a=>{if(v.children.length>0)for(let h=0;h<v.children.length;h++)a===h?(v.children[h].classList.remove("hidden"),w==null||w.children[h].classList.add("selected")):(v.children[h].classList.add("hidden"),w==null||w.children[h].classList.remove("selected"))},z=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:j},window.location.href)},J=()=>{let a=document.createElement("style");a.innerHTML=k,L.appendChild(a)},K=()=>{let a=new URL(M),h=document.createElement("style");fetch(a.href).then(S=>S.text()).then(S=>{h.innerHTML=S,setTimeout(()=>{L.appendChild(h)},1)})};e.onMount(()=>()=>{n(17,v=null),n(19,w=null)});const Q=()=>z(),X=a=>G(a);function Y(a){e.binding_callbacks[a?"unshift":"push"](()=>{w=a,n(19,w)})}function x(a){e.binding_callbacks[a?"unshift":"push"](()=>{v=a,n(17,v)})}function $(a){e.binding_callbacks[a?"unshift":"push"](()=>{L=a,n(16,L)})}return i.$$set=a=>{"lang"in a&&n(0,s=a.lang),"userid"in a&&n(1,r=a.userid),"session"in a&&n(2,o=a.session),"endpoint"in a&&n(3,c=a.endpoint),"currency"in a&&n(4,u=a.currency),"apiversion"in a&&n(5,m=a.apiversion),"tablabels"in a&&n(27,d=a.tablabels),"historyenabled"in a&&n(6,_=a.historyenabled),"enablecompliancetext"in a&&n(7,b=a.enablecompliancetext),"deletelimit"in a&&n(8,y=a.deletelimit),"limitsamount"in a&&n(28,g=a.limitsamount),"limitsperiods"in a&&n(29,f=a.limitsperiods),"numberofentries"in a&&n(9,p=a.numberofentries),"customcurrencysymbols"in a&&n(10,P=a.customcurrencysymbols),"limitformat"in a&&n(11,D=a.limitformat),"clientstyling"in a&&n(12,k=a.clientstyling),"clientstylingurl"in a&&n(13,M=a.clientstylingurl),"translationurl"in a&&n(14,W=a.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&134217775&&r&&o&&c&&d&&s&&m&&Z(),i.$$.dirty[0]&163840&&v&&!E&&G(0),i.$$.dirty[0]&73728&&M&&L&&K(),i.$$.dirty[0]&69632&&k&&L&&J()},[s,r,o,c,u,m,_,b,y,p,P,D,k,M,W,E,L,v,R,w,T,A,l,C,j,G,z,d,g,f,Q,X,Y,x,$]}class I extends e.SvelteComponent{constructor(t){super(),e.init(this,t,oe,me,e.safe_not_equal,{lang:0,userid:1,session:2,endpoint:3,currency:4,apiversion:5,tablabels:27,historyenabled:6,enablecompliancetext:7,deletelimit:8,limitsamount:28,limitsperiods:29,numberofentries:9,customcurrencysymbols:10,limitformat:11,clientstyling:12,clientstylingurl:13,translationurl:14},ie,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[2]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[3]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get currency(){return this.$$.ctx[4]}set currency(t){this.$$set({currency:t}),e.flush()}get apiversion(){return this.$$.ctx[5]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get tablabels(){return this.$$.ctx[27]}set tablabels(t){this.$$set({tablabels:t}),e.flush()}get historyenabled(){return this.$$.ctx[6]}set historyenabled(t){this.$$set({historyenabled:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[7]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[8]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get limitsamount(){return this.$$.ctx[28]}set limitsamount(t){this.$$set({limitsamount:t}),e.flush()}get limitsperiods(){return this.$$.ctx[29]}set limitsperiods(t){this.$$set({limitsperiods:t}),e.flush()}get numberofentries(){return this.$$.ctx[9]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[10]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get limitformat(){return this.$$.ctx[11]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(I,{lang:{},userid:{},session:{},endpoint:{},currency:{},apiversion:{},tablabels:{},historyenabled:{},enablecompliancetext:{},deletelimit:{},limitsamount:{},limitsperiods:{},numberofentries:{},customcurrencysymbols:{},limitformat:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=I;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}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/PlayerAccountGamingLimitsWrapper2-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}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/PlayerAccountGamingLimitsWrapper2-DA2TIjl6.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-wrapper-2")&&customElements.define("player-account-gaming-limits-wrapper-2",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerAccountGamingLimitsWrapper2-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerAccountGamingLimitsWrapper2-BO8ZCA6y.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-account-gaming-limits-wrapper-2") && customElements.define(
|
|
15
15
|
"player-account-gaming-limits-wrapper-2",
|
|
16
16
|
t.element
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountGamingLimitsHistory2-BZJIzRes.cjs");function ee({withLocale:i,translations:t}){e.$locale.subscribe(n=>{n==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function te(i,t){e.addMessages(i,t)}const H={en:{title:"Limits"},"zh-hk":{title:"Limits"},fr:{title:"Limits"},ro:{title:"Limits"},es:{title:"Limits"},pt:{title:"Limits"},hr:{title:"Ograničenja"},"pt-br":{title:"Limites"},"es-mx":{title:"Límites"},tr:{title:"Sınırlar"}};if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}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=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsPage2Gm16-DBOkv9Ga.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-page-2-gm16")&&customElements.define("player-account-gaming-limits-page-2-gm16",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}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=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsHistory2-BZJIzRes.cjs")).then(t=>t.PlayerAccountGamingLimitsHistory2_ce).then(({default:t})=>{!customElements.get("player-account-gaming-limits-history-2")&&customElements.define("player-account-gaming-limits-history-2",t.element)})}const{document:ne}=e.globals;function ie(i){e.append_styles(i,"svelte-1l04dxf",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px 50px 30px 50px}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.LimitsWrapper{display:flex;flex-direction:column}.TabsContainer{height:50px;display:flex;margin-bottom:12px;cursor:pointer;border-bottom:1px solid var(--emfe-w-color-gray-300, #58586B);justify-content:center;background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 0.15rem 0.2rem 0 rgba(0, 0, 0, 0.12)}.LimitsTab{font-size:1.3rem;line-height:1.4rem;margin-bottom:3px;display:flex;justify-content:center;align-items:center;padding:0 1rem;box-sizing:content-box}.hidden{display:none}h2{margin:20px 0px}.PlayerAccountGamingLmitsWrapper2{margin-bottom:20px}.MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C))}.GamingLimitsTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));font-weight:400}.GamingLimitsTitleMobile{font-size:16px}.GamingLimitsTitleNone{display:none}.selected{border-bottom:0.2rem solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));margin:0}')}function z(i,t,n){const l=i.slice();return l[41]=t[n],l[43]=n,l}function B(i,t,n){const l=i.slice();return l[44]=t[n],l[43]=n,l}function le(i){let t,n,l,s,r,o,c,u,m,f,_=i[22]("title")+"",b,y,g;return{c(){t=e.element("div"),n=e.svg_element("svg"),l=e.svg_element("defs"),s=e.svg_element("style"),r=e.text(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));}"),o=e.svg_element("g"),c=e.svg_element("g"),u=e.svg_element("path"),m=e.space(),f=e.element("h2"),b=e.text(_),e.attr(u,"class","aaa"),e.attr(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(u,"transform","translate(15 15) rotate(180)"),e.attr(c,"transform","translate(20 158)"),e.attr(o,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(f,"class","GamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(d,p){e.insert(d,t,p),e.append(t,n),e.append(n,l),e.append(l,s),e.append(s,r),e.append(n,o),e.append(o,c),e.append(c,u),e.append(t,m),e.append(t,f),e.append(f,b),y||(g=e.listen(t,"click",i[30]),y=!0)},p(d,p){p[0]&4194304&&_!==(_=d[22]("title")+"")&&e.set_data(b,_)},d(d){d&&e.detach(t),y=!1,g()}}}function se(i){let t,n,l,s,r=i[23].length>1&&re(i),o=e.ensure_array_like(i[23]),c=[];for(let m=0;m<o.length;m+=1)c[m]=O(z(i,o,m));let u=i[6]==="true"&&q(i);return{c(){r&&r.c(),t=e.space(),n=e.element("div");for(let m=0;m<c.length;m+=1)c[m].c();l=e.space(),u&&u.c(),s=e.empty(),e.attr(n,"class","PlayerAccountGamingLmitsWrapper2")},m(m,f){r&&r.m(m,f),e.insert(m,t,f),e.insert(m,n,f);for(let _=0;_<c.length;_+=1)c[_]&&c[_].m(n,null);i[33](n),e.insert(m,l,f),u&&u.m(m,f),e.insert(m,s,f)},p(m,f){if(m[23].length>1&&r.p(m,f),f[0]&3177919){o=e.ensure_array_like(m[23]);let _;for(_=0;_<o.length;_+=1){const b=z(m,o,_);c[_]?c[_].p(b,f):(c[_]=O(b),c[_].c(),c[_].m(n,null))}for(;_<c.length;_+=1)c[_].d(1);c.length=o.length}m[6]==="true"?u?u.p(m,f):(u=q(m),u.c(),u.m(s.parentNode,s)):u&&(u.d(1),u=null)},d(m){m&&(e.detach(t),e.detach(n),e.detach(l),e.detach(s)),r&&r.d(m),e.destroy_each(c,m),i[33](null),u&&u.d(m)}}}function ae(i){return{c:e.noop,m:e.noop,p:e.noop,d:e.noop}}function re(i){let t,n=e.ensure_array_like(i[23]),l=[];for(let s=0;s<n.length;s+=1)l[s]=N(B(i,n,s));return{c(){t=e.element("div");for(let s=0;s<l.length;s+=1)l[s].c();e.attr(t,"class","TabsContainer")},m(s,r){e.insert(s,t,r);for(let o=0;o<l.length;o+=1)l[o]&&l[o].m(t,null);i[32](t)},p(s,r){if(r[0]&42205184){n=e.ensure_array_like(s[23]);let o;for(o=0;o<n.length;o+=1){const c=B(s,n,o);l[o]?l[o].p(c,r):(l[o]=N(c),l[o].c(),l[o].m(t,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=n.length}},d(s){s&&e.detach(t),e.destroy_each(l,s),i[32](null)}}}function N(i){var c;let t,n=((c=i[18][i[43]])!=null?c:i[44])+"",l,s,r;function o(){return i[31](i[43])}return{c(){t=e.element("div"),l=e.text(n),e.attr(t,"class","LimitsTab")},m(u,m){e.insert(u,t,m),e.append(t,l),s||(r=e.listen(t,"click",o),s=!0)},p(u,m){var f;i=u,m[0]&262144&&n!==(n=((f=i[18][i[43]])!=null?f:i[44])+"")&&e.set_data(l,n)},d(u){u&&e.detach(t),s=!1,r()}}}function O(i){let t,n,l;return{c(){t=e.element("player-account-gaming-limits-page-2-gm16"),e.set_custom_element_data(t,"class","hidden selected"),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"currency",i[4]),e.set_custom_element_data(t,"amountsconfig",n=i[20][i[43]]),e.set_custom_element_data(t,"periodsconfig",l=i[21][i[43]]),e.set_custom_element_data(t,"limittabindex",i[43]+1),e.set_custom_element_data(t,"userid",i[1]),e.set_custom_element_data(t,"deletelimit",i[8]),e.set_custom_element_data(t,"enablecompliancetext",i[7]),e.set_custom_element_data(t,"session",i[2]),e.set_custom_element_data(t,"endpoint",i[3]),e.set_custom_element_data(t,"apiversion",i[5]),e.set_custom_element_data(t,"clientstyling",i[12]),e.set_custom_element_data(t,"clientstylingurl",i[13]),e.set_custom_element_data(t,"translationurl",i[14]),e.set_custom_element_data(t,"customcurrencysymbols",i[10]),e.set_custom_element_data(t,"limitformat",i[11])},m(s,r){e.insert(s,t,r)},p(s,r){r[0]&1&&e.set_custom_element_data(t,"lang",s[0]),r[0]&16&&e.set_custom_element_data(t,"currency",s[4]),r[0]&1048576&&n!==(n=s[20][s[43]])&&e.set_custom_element_data(t,"amountsconfig",n),r[0]&2097152&&l!==(l=s[21][s[43]])&&e.set_custom_element_data(t,"periodsconfig",l),r[0]&2&&e.set_custom_element_data(t,"userid",s[1]),r[0]&256&&e.set_custom_element_data(t,"deletelimit",s[8]),r[0]&128&&e.set_custom_element_data(t,"enablecompliancetext",s[7]),r[0]&4&&e.set_custom_element_data(t,"session",s[2]),r[0]&8&&e.set_custom_element_data(t,"endpoint",s[3]),r[0]&32&&e.set_custom_element_data(t,"apiversion",s[5]),r[0]&4096&&e.set_custom_element_data(t,"clientstyling",s[12]),r[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",s[13]),r[0]&16384&&e.set_custom_element_data(t,"translationurl",s[14]),r[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",s[10]),r[0]&2048&&e.set_custom_element_data(t,"limitformat",s[11])},d(s){s&&e.detach(t)}}}function q(i){let t;return{c(){t=e.element("player-account-gaming-limits-history-2"),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"userid",i[1]),e.set_custom_element_data(t,"session",i[2]),e.set_custom_element_data(t,"endpoint",i[3]),e.set_custom_element_data(t,"apiversion",i[5]),e.set_custom_element_data(t,"numberofentries",i[9]),e.set_custom_element_data(t,"clientstyling",i[12]),e.set_custom_element_data(t,"clientstylingurl",i[13]),e.set_custom_element_data(t,"translationurl",i[14]),e.set_custom_element_data(t,"customcurrencysymbols",i[10])},m(n,l){e.insert(n,t,l)},p(n,l){l[0]&1&&e.set_custom_element_data(t,"lang",n[0]),l[0]&2&&e.set_custom_element_data(t,"userid",n[1]),l[0]&4&&e.set_custom_element_data(t,"session",n[2]),l[0]&8&&e.set_custom_element_data(t,"endpoint",n[3]),l[0]&32&&e.set_custom_element_data(t,"apiversion",n[5]),l[0]&512&&e.set_custom_element_data(t,"numberofentries",n[9]),l[0]&4096&&e.set_custom_element_data(t,"clientstyling",n[12]),l[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",n[13]),l[0]&16384&&e.set_custom_element_data(t,"translationurl",n[14]),l[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",n[10])},d(n){n&&e.detach(t)}}}function me(i){let t,n,l,s,r,o,c,u=i[22]("title")+"",m,f,_=i[24]&&le(i);function b(d,p){return d[15]?ae:se}let y=b(i),g=y(i);return{c(){t=e.element("meta"),n=e.space(),l=e.element("div"),s=e.element("div"),r=e.element("div"),_&&_.c(),o=e.space(),c=e.element("h2"),m=e.text(u),f=e.space(),g.c(),e.attr(t,"name","viewport"),e.attr(t,"content","width=device-width, initial-scale=1"),e.attr(c,"class","GamingLimitsTitle "+(i[24]?"GamingLimitsTitleNone":"")),e.attr(r,"class","TitleSection"),e.attr(s,"class","GamingLimitsWrapper "+(i[24]?"GamingLimitsWrapperMobile":""))},m(d,p){e.append(ne.head,t),e.insert(d,n,p),e.insert(d,l,p),e.append(l,s),e.append(s,r),_&&_.m(r,null),e.append(r,o),e.append(r,c),e.append(c,m),e.append(s,f),g.m(s,null),i[34](l)},p(d,p){d[24]&&_.p(d,p),p[0]&4194304&&u!==(u=d[22]("title")+"")&&e.set_data(m,u),y===(y=b(d))&&g?g.p(d,p):(g.d(1),g=y(d),g&&(g.c(),g.m(s,null)))},i:e.noop,o:e.noop,d(d){d&&(e.detach(n),e.detach(l)),e.detach(t),_&&_.d(),g.d(),i[34](null)}}}function oe(i,t,n){let l;e.component_subscribe(i,e.$format,a=>n(22,l=a));let{lang:s=""}=t,{userid:r=""}=t,{session:o=""}=t,{endpoint:c=""}=t,{currency:u=""}=t,{apiversion:m=""}=t,{tablabels:f=""}=t,{historyenabled:_="true"}=t,{enablecompliancetext:b="false"}=t,{deletelimit:y=""}=t,{limitsamount:g=""}=t,{limitsperiods:d=""}=t,{numberofentries:p=""}=t,{customcurrencysymbols:P=""}=t,{limitformat:D=""}=t,{clientstyling:k=""}=t,{clientstylingurl:M=""}=t,{translationurl:W=""}=t;ee({withLocale:"en",translations:{}});let E=!0,L,C=[],R,v,w,T,A,U=window.navigator.userAgent,j=e.getDevice(U)!=="PC";Object.keys(H).forEach(a=>{te(a,H[a])});const V=(a,h)=>{if(n(20,T=a.replace(/\s/g,"").split("|")),n(21,A=h.replace(/\s/g,"").split("|")),T.length===0)throw new Error("Please provide a full limits configuration.");if(T.length!==A.length)throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.")},Z=()=>{V(g,d),g.split("|").forEach(h=>{C.includes(h)||C.push(h)}),n(18,R=f.split(",").map(h=>h.trim())),n(15,E=!1)},G=a=>{if(v.children.length>0)for(let h=0;h<v.children.length;h++)a===h?(v.children[h].classList.remove("hidden"),w==null||w.children[h].classList.add("selected")):(v.children[h].classList.add("hidden"),w==null||w.children[h].classList.remove("selected"))},F=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:j},window.location.href)},J=()=>{let a=document.createElement("style");a.innerHTML=k,L.appendChild(a)},K=()=>{let a=new URL(M),h=document.createElement("style");fetch(a.href).then(S=>S.text()).then(S=>{h.innerHTML=S,setTimeout(()=>{L.appendChild(h)},1)})};e.onMount(()=>()=>{n(17,v=null),n(19,w=null)});const Q=()=>F(),X=a=>G(a);function Y(a){e.binding_callbacks[a?"unshift":"push"](()=>{w=a,n(19,w)})}function x(a){e.binding_callbacks[a?"unshift":"push"](()=>{v=a,n(17,v)})}function $(a){e.binding_callbacks[a?"unshift":"push"](()=>{L=a,n(16,L)})}return i.$$set=a=>{"lang"in a&&n(0,s=a.lang),"userid"in a&&n(1,r=a.userid),"session"in a&&n(2,o=a.session),"endpoint"in a&&n(3,c=a.endpoint),"currency"in a&&n(4,u=a.currency),"apiversion"in a&&n(5,m=a.apiversion),"tablabels"in a&&n(27,f=a.tablabels),"historyenabled"in a&&n(6,_=a.historyenabled),"enablecompliancetext"in a&&n(7,b=a.enablecompliancetext),"deletelimit"in a&&n(8,y=a.deletelimit),"limitsamount"in a&&n(28,g=a.limitsamount),"limitsperiods"in a&&n(29,d=a.limitsperiods),"numberofentries"in a&&n(9,p=a.numberofentries),"customcurrencysymbols"in a&&n(10,P=a.customcurrencysymbols),"limitformat"in a&&n(11,D=a.limitformat),"clientstyling"in a&&n(12,k=a.clientstyling),"clientstylingurl"in a&&n(13,M=a.clientstylingurl),"translationurl"in a&&n(14,W=a.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&134217775&&r&&o&&c&&f&&s&&m&&Z(),i.$$.dirty[0]&163840&&v&&!E&&G(0),i.$$.dirty[0]&73728&&M&&L&&K(),i.$$.dirty[0]&69632&&k&&L&&J()},[s,r,o,c,u,m,_,b,y,p,P,D,k,M,W,E,L,v,R,w,T,A,l,C,j,G,F,f,g,d,Q,X,Y,x,$]}class I extends e.SvelteComponent{constructor(t){super(),e.init(this,t,oe,me,e.safe_not_equal,{lang:0,userid:1,session:2,endpoint:3,currency:4,apiversion:5,tablabels:27,historyenabled:6,enablecompliancetext:7,deletelimit:8,limitsamount:28,limitsperiods:29,numberofentries:9,customcurrencysymbols:10,limitformat:11,clientstyling:12,clientstylingurl:13,translationurl:14},ie,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[2]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[3]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get currency(){return this.$$.ctx[4]}set currency(t){this.$$set({currency:t}),e.flush()}get apiversion(){return this.$$.ctx[5]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get tablabels(){return this.$$.ctx[27]}set tablabels(t){this.$$set({tablabels:t}),e.flush()}get historyenabled(){return this.$$.ctx[6]}set historyenabled(t){this.$$set({historyenabled:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[7]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[8]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get limitsamount(){return this.$$.ctx[28]}set limitsamount(t){this.$$set({limitsamount:t}),e.flush()}get limitsperiods(){return this.$$.ctx[29]}set limitsperiods(t){this.$$set({limitsperiods:t}),e.flush()}get numberofentries(){return this.$$.ctx[9]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[10]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get limitformat(){return this.$$.ctx[11]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(I,{lang:{},userid:{},session:{},endpoint:{},currency:{},apiversion:{},tablabels:{},historyenabled:{},enablecompliancetext:{},deletelimit:{},limitsamount:{},limitsperiods:{},numberofentries:{},customcurrencysymbols:{},limitformat:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=I;
|