@everymatrix/player-account-controller 1.49.2 → 1.50.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/GeneralLogout-BBoBE1Lx.cjs +8 -0
- package/components/{GeneralLogout-DI0_2Ld2.js → GeneralLogout-DJd6W-jT.js} +323 -317
- package/components/PlayerAccountBettingHistory-BhFyAw7S.cjs +1 -0
- package/components/{PlayerAccountBettingHistory-p8-C5d_q.js → PlayerAccountBettingHistory-Dok1ua2N.js} +35 -35
- package/components/PlayerAccountBiometrics-U1ab8cUd.cjs +1 -0
- package/components/{PlayerAccountBiometrics-36-jzvmv.js → PlayerAccountBiometrics-jc45EBJe.js} +38 -38
- package/components/{PlayerAccountClosure-Buc1jxH3.js → PlayerAccountClosure-BWlW6NXe.js} +26 -26
- package/components/PlayerAccountClosure-D_4hIhg0.cjs +1 -0
- package/components/{PlayerAccountController-BdLllhC8.js → PlayerAccountController-CoXvSbbl.js} +24 -24
- package/components/PlayerAccountController-J02GKY2h.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-X6i1dxNz.js → PlayerAccountGamingLimits-D0orq8W7.js} +43 -43
- package/components/PlayerAccountGamingLimits-ImaSq8Bu.cjs +1 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-B1H9kGBj.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-_s70hpGn.js → PlayerAccountGamingLimitsConfirmationModal-DOXtkhFY.js} +21 -21
- package/components/{PlayerAccountGamingLimitsGroupEdit-BQ82HYJY.js → PlayerAccountGamingLimitsGroupEdit-BgpIOnsM.js} +178 -178
- package/components/{PlayerAccountGamingLimitsGroupEdit-C0TmN9tW.cjs → PlayerAccountGamingLimitsGroupEdit-mkhXUxp2.cjs} +4 -4
- package/components/PlayerAccountGamingLimitsHistory2-BnREqLe2.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsHistory2-BkYPsgPu.js → PlayerAccountGamingLimitsHistory2-Dg_3TWDc.js} +144 -144
- package/components/PlayerAccountGamingLimitsInfoCard-CcdNEm3s.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-DQkGickX.js → PlayerAccountGamingLimitsInfoCard-DiVtmzLb.js} +80 -80
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CtJzX00K.js → PlayerAccountGamingLimitsPage2Gm16-BejFjGCU.js} +113 -113
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CdbhXN3g.cjs → PlayerAccountGamingLimitsPage2Gm16-DegZSaNr.cjs} +4 -4
- package/components/PlayerAccountGamingLimitsPopup-C47JGdE1.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsPopup-BRVwX_uG.js → PlayerAccountGamingLimitsPopup-DWkmHcWc.js} +14 -14
- package/components/{PlayerAccountGamingLimitsWrapper2-DbRyF9CO.js → PlayerAccountGamingLimitsWrapper2-IJW0DW26.js} +21 -21
- package/components/PlayerAccountGamingLimitsWrapper2-j5Wlpz38.cjs +1 -0
- package/components/PlayerAccountMenu-C6fxzyFi.cjs +1 -0
- package/components/{PlayerAccountMenu-hM5ZxGE7.js → PlayerAccountMenu-CmSW4Stb.js} +43 -43
- package/components/{PlayerAccountModal-BK_133rp.js → PlayerAccountModal-9gulcpFn.js} +1 -1
- package/components/{PlayerAccountModal-CIR41mpM.cjs → PlayerAccountModal-CUdeZ6ZD.cjs} +1 -1
- package/components/PlayerAccountNotifications-B5y5G3E_.cjs +1 -0
- package/components/{PlayerAccountNotifications-COx0wvVZ.js → PlayerAccountNotifications-r_nD_SnF.js} +4 -4
- package/components/{PlayerAccountSelfExclusion-DhyhbeQg.cjs → PlayerAccountSelfExclusion-BrQRXxUR.cjs} +482 -4
- package/components/{PlayerAccountSelfExclusion-Cd9TNqFJ.js → PlayerAccountSelfExclusion-_cYII1on.js} +483 -4
- package/components/PlayerAccountTimeout-CNtkqjo7.cjs +1 -0
- package/components/{PlayerAccountTimeout-DMvUsWoq.js → PlayerAccountTimeout-Cs_68FK0.js} +42 -42
- package/components/{PlayerActiveBonuses-CIvyQppa.js → PlayerActiveBonuses-D513ru66.js} +33 -33
- package/components/PlayerActiveBonuses-DOOKCxQp.cjs +1 -0
- package/components/{PlayerBonusCard-DdxYH7lf.cjs → PlayerBonusCard-Bt-n3Mxi.cjs} +1 -1
- package/components/{PlayerBonusCard-DGoTFlMq.js → PlayerBonusCard-_Oaycov5.js} +2 -2
- package/components/{PlayerBonusHistory-Bm1MJlBw.cjs → PlayerBonusHistory-CAlPJQEf.cjs} +1 -1
- package/components/{PlayerBonusHistory-R8RT-te2.js → PlayerBonusHistory-CwIKvt3Y.js} +4 -4
- package/components/{PlayerChangePassword-BDyXZ2_q.cjs → PlayerChangePassword-C-8QN3hH.cjs} +1 -1
- package/components/{PlayerChangePassword-BkRFX3fB.js → PlayerChangePassword-hFf7xt_1.js} +1 -1
- package/components/{PlayerDeposit-CYpXuZIT.cjs → PlayerDeposit-BLymLH97.cjs} +1 -1
- package/components/{PlayerDeposit-T-QxU0tF.js → PlayerDeposit-D9bCHq7N.js} +1 -1
- package/components/{PlayerGamingHistory-4xRJDl6N.cjs → PlayerGamingHistory-BVez9eZG.cjs} +1 -1
- package/components/{PlayerGamingHistory-BqyyldNf.js → PlayerGamingHistory-CkMB0clE.js} +4 -4
- package/components/{PlayerPendingWithdrawals-DR9D_EFU.js → PlayerPendingWithdrawals-BTPeOPBb.js} +1 -1
- package/components/{PlayerPendingWithdrawals-Dn63yKxo.cjs → PlayerPendingWithdrawals-CUpLO6X3.cjs} +1 -1
- package/components/{PlayerProfileInfo-i7DhTVz2.cjs → PlayerProfileInfo-8LQ0QT94.cjs} +1 -1
- package/components/{PlayerProfileInfo-DwpHwaIZ.js → PlayerProfileInfo-D5uooVx1.js} +1 -1
- package/components/{PlayerRealityCheck-CRHHpeWT.js → PlayerRealityCheck-6gXKQK_Z.js} +52 -52
- package/components/PlayerRealityCheck-B--KgOX7.cjs +1 -0
- package/components/{PlayerTransactionHistory-HQMXVkZj.js → PlayerTransactionHistory-DES2KQ6g.js} +1 -1
- package/components/{PlayerTransactionHistory-DJICk5qY.cjs → PlayerTransactionHistory-KkAMcV0S.cjs} +1 -1
- package/components/{PlayerWithdrawal-BToCctRz.js → PlayerWithdrawal-6XSetxz1.js} +1 -1
- package/components/{PlayerWithdrawal-DuxGAxKs.cjs → PlayerWithdrawal-Bt2B8luj.cjs} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/index-0437c9c0-06LlHN6E.cjs +1 -0
- package/stencil/{index-065b5928-DXYOROKQ.js → index-0437c9c0-1mLvhyVA.js} +193 -185
- package/stencil/{index-04d3e726-B-NTRQkL.js → index-657e7a14-DpOUEft6.js} +248 -240
- package/stencil/index-657e7a14-dS-WIK3f.cjs +1 -0
- package/stencil/index-e8249896-BNsgFr_R.cjs +1 -0
- package/stencil/{index-b111cb50-CuFaYbey.js → index-e8249896-CIP0iOYr.js} +112 -104
- package/stencil/player-kyc-verification-B9QbNY0o.cjs +180 -0
- package/stencil/{player-kyc-verification-CZYvrNVs.js → player-kyc-verification-BwGXWzTR.js} +12 -12
- package/stencil/user-deposit-withdrawal-Btrso_5e.js +597 -0
- package/stencil/user-deposit-withdrawal-Cxv_U-OE.cjs +59 -0
- package/stencil/user-transaction-history-AoseShHM.cjs +1 -0
- package/stencil/{user-transaction-history-W4vbS2--.js → user-transaction-history-DcAGbFDl.js} +1 -1
- package/components/GeneralLogout-bc8vhI_H.cjs +0 -8
- package/components/PlayerAccountBettingHistory-BK6xPWSw.cjs +0 -1
- package/components/PlayerAccountBiometrics-C-3zrtyy.cjs +0 -1
- package/components/PlayerAccountClosure-C8BNtCld.cjs +0 -1
- package/components/PlayerAccountController-BFFK-NR4.cjs +0 -1
- package/components/PlayerAccountGamingLimits-a_ERECbs.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-l6qA-tGo.cjs +0 -1
- package/components/PlayerAccountGamingLimitsHistory2-BQABSfo3.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-0xDp-CBL.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPopup-CRCoJtQR.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2-BtHosvRh.cjs +0 -1
- package/components/PlayerAccountMenu-_QF6LQHb.cjs +0 -1
- package/components/PlayerAccountNotifications-DNWMsUnC.cjs +0 -1
- package/components/PlayerAccountTimeout-C0nlqzAC.cjs +0 -1
- package/components/PlayerActiveBonuses-D2PR-NJe.cjs +0 -1
- package/components/PlayerRealityCheck-BaBE_tNE.cjs +0 -1
- package/stencil/index-04d3e726-DeGaIccQ.cjs +0 -1
- package/stencil/index-065b5928-DELlxqkN.cjs +0 -1
- package/stencil/index-b111cb50-b1-cqkbU.cjs +0 -1
- package/stencil/player-kyc-verification-3V5MFDaD.cjs +0 -180
- package/stencil/user-deposit-withdrawal-DLw9KjHG.cjs +0 -59
- package/stencil/user-deposit-withdrawal-DlTyKrkT.js +0 -242
- package/stencil/user-transaction-history-B5a4uXlv.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as X, z as he, 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 D, t as
|
|
1
|
+
import { $ as X, z as he, 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 D, t as j, g as h, l as _, k as T, n as U, o as S, p as k, q as ve, u as ke, v as Me, V as Te, w as G, m as ne, x as I, K as B, B as Ee, L as le, j as r, y as Ce } from "./GeneralLogout-DJd6W-jT.js";
|
|
2
2
|
function Ae({ withLocale: i, translations: e }) {
|
|
3
3
|
X.subscribe((t) => {
|
|
4
4
|
t == null && (he.set(e), X.set(i));
|
|
@@ -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-BejFjGCU.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-Dg_3TWDc.js").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: Se } = Te;
|
|
81
81
|
function De(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,7 +96,7 @@ function We(i) {
|
|
|
96
96
|
), L, M, b;
|
|
97
97
|
return {
|
|
98
98
|
c() {
|
|
99
|
-
e = v("div"), t = G("svg"), n = G("defs"), l = G("style"), a =
|
|
99
|
+
e = v("div"), t = G("svg"), n = G("defs"), l = G("style"), a = j(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));}"), m = G("g"), c = G("g"), u = G("path"), o = D(), g = v("h2"), L = j(f), h(u, "class", "aaa"), h(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), h(u, "transform", "translate(15 15) rotate(180)"), h(c, "transform", "translate(20 158)"), h(m, "transform", "translate(-20 -158)"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "15"), h(t, "height", "15"), h(t, "viewBox", "0 0 15 15"), h(g, "class", "GamingLimitsTitleMobile"), h(e, "class", "MenuReturnButton"), h(e, "part", "MenuReturnButton");
|
|
100
100
|
},
|
|
101
101
|
m(d, w) {
|
|
102
102
|
T(d, e, w), _(e, t), _(t, n), _(n, l), _(l, a), _(t, m), _(m, c), _(c, u), _(e, o), _(e, g), _(g, L), M || (b = ne(
|
|
@@ -116,10 +116,10 @@ function We(i) {
|
|
|
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 &&
|
|
122
|
+
i[23].length > 1 && je(i)
|
|
123
123
|
), m = B(
|
|
124
124
|
/*limitTabs*/
|
|
125
125
|
i[23]
|
|
@@ -170,10 +170,10 @@ function Re(i) {
|
|
|
170
170
|
}
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function Re(i) {
|
|
174
174
|
return { c: S, m: S, p: S, d: S };
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function je(i) {
|
|
177
177
|
let e, t = B(
|
|
178
178
|
/*limitTabs*/
|
|
179
179
|
i[23]
|
|
@@ -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 = j(t), h(e, "class", "LimitsTab");
|
|
242
242
|
},
|
|
243
243
|
m(u, o) {
|
|
244
244
|
T(u, e, o), _(e, n), l || (a = ne(e, "click", m), l = !0);
|
|
@@ -581,13 +581,13 @@ function Be(i) {
|
|
|
581
581
|
function L(d, w) {
|
|
582
582
|
return (
|
|
583
583
|
/*isLoading*/
|
|
584
|
-
d[15] ?
|
|
584
|
+
d[15] ? Re : ze
|
|
585
585
|
);
|
|
586
586
|
}
|
|
587
587
|
let M = L(i), b = M(i);
|
|
588
588
|
return {
|
|
589
589
|
c() {
|
|
590
|
-
e = v("meta"), t = D(), n = v("div"), l = v("div"), a = v("div"), f && f.c(), m = D(), c = v("h2"), o =
|
|
590
|
+
e = v("meta"), t = D(), n = v("div"), l = v("div"), a = v("div"), f && f.c(), m = D(), c = v("h2"), o = j(u), g = D(), b.c(), h(e, "name", "viewport"), h(e, "content", "width=device-width, initial-scale=1"), h(c, "class", "GamingLimitsTitle " + /*isMobile*/
|
|
591
591
|
(i[24] ? "GamingLimitsTitleNone" : "")), h(a, "class", "TitleSection"), h(l, "class", "GamingLimitsWrapper " + /*isMobile*/
|
|
592
592
|
(i[24] ? "GamingLimitsWrapperMobile" : ""));
|
|
593
593
|
},
|
|
@@ -610,16 +610,16 @@ function Be(i) {
|
|
|
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: M = "" } = e, { limitsamount: b = "" } = e, { limitsperiods: d = "" } = e, { numberofentries: w = "" } = e, { customcurrencysymbols: q = "" } = e, { limitformat: V = "" } = e, { clientstyling: W = "" } = e, { clientstylingurl:
|
|
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: M = "" } = e, { limitsamount: b = "" } = e, { limitsperiods: d = "" } = e, { numberofentries: w = "" } = e, { customcurrencysymbols: q = "" } = e, { limitformat: V = "" } = e, { clientstyling: W = "" } = e, { clientstylingurl: z = "" } = e, { translationurl: K = "" } = e;
|
|
614
614
|
Ae({ withLocale: "en", translations: {} });
|
|
615
|
-
let F = !0, A, P = [], Z, C, E,
|
|
615
|
+
let F = !0, A, P = [], Z, C, E, R, N, se = window.navigator.userAgent, J = ke(se) !== "PC";
|
|
616
616
|
Object.keys(Y).forEach((s) => {
|
|
617
617
|
Ge(s, Y[s]);
|
|
618
618
|
});
|
|
619
619
|
const re = (s, p) => {
|
|
620
|
-
if (t(20,
|
|
620
|
+
if (t(20, R = s.replace(/\s/g, "").split("|")), t(21, N = p.replace(/\s/g, "").split("|")), R.length === 0)
|
|
621
621
|
throw new Error("Please provide a full limits configuration.");
|
|
622
|
-
if (
|
|
622
|
+
if (R.length !== N.length)
|
|
623
623
|
throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.");
|
|
624
624
|
}, ae = () => {
|
|
625
625
|
re(b, d), b.split("|").forEach((p) => {
|
|
@@ -641,7 +641,7 @@ function Fe(i, e, t) {
|
|
|
641
641
|
let s = document.createElement("style");
|
|
642
642
|
s.innerHTML = W, A.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((O) => O.text()).then((O) => {
|
|
646
646
|
p.innerHTML = O, setTimeout(
|
|
647
647
|
() => {
|
|
@@ -671,12 +671,12 @@ function Fe(i, e, t) {
|
|
|
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, M = s.deletelimit), "limitsamount" in s && t(28, b = s.limitsamount), "limitsperiods" in s && t(29, d = s.limitsperiods), "numberofentries" in s && t(9, w = s.numberofentries), "customcurrencysymbols" in s && t(10, q = s.customcurrencysymbols), "limitformat" in s && t(11, V = s.limitformat), "clientstyling" in s && t(12, W = s.clientstyling), "clientstylingurl" in s && t(13,
|
|
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, M = s.deletelimit), "limitsamount" in s && t(28, b = s.limitsamount), "limitsperiods" in s && t(29, d = s.limitsperiods), "numberofentries" in s && t(9, w = s.numberofentries), "customcurrencysymbols" in s && t(10, q = s.customcurrencysymbols), "limitformat" in s && t(11, V = s.limitformat), "clientstyling" in s && t(12, W = s.clientstyling), "clientstylingurl" in s && t(13, z = s.clientstylingurl), "translationurl" in s && t(14, K = 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 && H(0), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
679
|
-
73728 &&
|
|
679
|
+
73728 && z && A && me(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
680
680
|
69632 && W && A && oe();
|
|
681
681
|
}, [
|
|
682
682
|
l,
|
|
@@ -692,14 +692,14 @@ function Fe(i, e, t) {
|
|
|
692
692
|
q,
|
|
693
693
|
V,
|
|
694
694
|
W,
|
|
695
|
-
|
|
695
|
+
z,
|
|
696
696
|
K,
|
|
697
697
|
F,
|
|
698
698
|
A,
|
|
699
699
|
C,
|
|
700
700
|
Z,
|
|
701
701
|
E,
|
|
702
|
-
|
|
702
|
+
R,
|
|
703
703
|
N,
|
|
704
704
|
n,
|
|
705
705
|
P,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-BBoBE1Lx.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-DegZSaNr.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-BnREqLe2.cjs")).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 B(i,t,n){const l=i.slice();return l[41]=t[n],l[43]=n,l}function N(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,m,c,u,o,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));}"),m=e.svg_element("g"),c=e.svg_element("g"),u=e.svg_element("path"),o=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(m,"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,m),e.append(m,c),e.append(c,u),e.append(t,o),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),m=e.ensure_array_like(i[23]),c=[];for(let o=0;o<m.length;o+=1)c[o]=H(B(i,m,o));let u=i[6]==="true"&&q(i);return{c(){r&&r.c(),t=e.space(),n=e.element("div");for(let o=0;o<c.length;o+=1)c[o].c();l=e.space(),u&&u.c(),s=e.empty(),e.attr(n,"class","PlayerAccountGamingLmitsWrapper2")},m(o,d){r&&r.m(o,d),e.insert(o,t,d),e.insert(o,n,d);for(let _=0;_<c.length;_+=1)c[_]&&c[_].m(n,null);i[33](n),e.insert(o,l,d),u&&u.m(o,d),e.insert(o,s,d)},p(o,d){if(o[23].length>1&&r.p(o,d),d[0]&3177919){m=e.ensure_array_like(o[23]);let _;for(_=0;_<m.length;_+=1){const b=B(o,m,_);c[_]?c[_].p(b,d):(c[_]=H(b),c[_].c(),c[_].m(n,null))}for(;_<c.length;_+=1)c[_].d(1);c.length=m.length}o[6]==="true"?u?u.p(o,d):(u=q(o),u.c(),u.m(s.parentNode,s)):u&&(u.d(1),u=null)},d(o){o&&(e.detach(t),e.detach(n),e.detach(l),e.detach(s)),r&&r.d(o),e.destroy_each(c,o),i[33](null),u&&u.d(o)}}}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]=O(N(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 m=0;m<l.length;m+=1)l[m]&&l[m].m(t,null);i[32](t)},p(s,r){if(r[0]&42205184){n=e.ensure_array_like(s[23]);let m;for(m=0;m<n.length;m+=1){const c=N(s,n,m);l[m]?l[m].p(c,r):(l[m]=O(c),l[m].c(),l[m].m(t,null))}for(;m<l.length;m+=1)l[m].d(1);l.length=n.length}},d(s){s&&e.detach(t),e.destroy_each(l,s),i[32](null)}}}function O(i){var c;let t,n=((c=i[18][i[43]])!=null?c:i[44])+"",l,s,r;function m(){return i[31](i[43])}return{c(){t=e.element("div"),l=e.text(n),e.attr(t,"class","LimitsTab")},m(u,o){e.insert(u,t,o),e.append(t,l),s||(r=e.listen(t,"click",m),s=!0)},p(u,o){var d;i=u,o[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 H(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 oe(i){let t,n,l,s,r,m,c,u=i[22]("title")+"",o,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(),m=e.space(),c=e.element("h2"),o=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,m),e.append(r,c),e.append(c,o),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(o,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 me(i,t,n){let l;e.component_subscribe(i,e.$format,a=>n(22,l=a));let{lang:s=""}=t,{userid:r=""}=t,{session:m=""}=t,{endpoint:c=""}=t,{currency:u=""}=t,{apiversion:o=""}=t,{tablabels:d=""}=t,{historyenabled:_="true"}=t,{enablecompliancetext:b="false"}=t,{deletelimit:y=""}=t,{limitsamount:g=""}=t,{limitsperiods:f=""}=t,{numberofentries:p=""}=t,{customcurrencysymbols:D=""}=t,{limitformat:P=""}=t,{clientstyling:k=""}=t,{clientstylingurl:M=""}=t,{translationurl:W=""}=t;ee({withLocale:"en",translations:{}});let E=!0,L,C=[],R,v,w,T,G,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,G=h.replace(/\s/g,"").split("|")),T.length===0)throw new Error("Please provide a full limits configuration.");if(T.length!==G.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)},A=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=>A(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,m=a.session),"endpoint"in a&&n(3,c=a.endpoint),"currency"in a&&n(4,u=a.currency),"apiversion"in a&&n(5,o=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,D=a.customcurrencysymbols),"limitformat"in a&&n(11,P=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&&m&&c&&d&&s&&o&&Z(),i.$$.dirty[0]&163840&&v&&!E&&A(0),i.$$.dirty[0]&73728&&M&&L&&K(),i.$$.dirty[0]&69632&&k&&L&&J()},[s,r,m,c,u,o,_,b,y,p,D,P,k,M,W,E,L,v,R,w,T,G,l,C,j,A,z,d,g,f,Q,X,Y,x,$]}class I extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,oe,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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-BBoBE1Lx.cjs");function k(l,t){e.addMessages(l,t)}function Q(l){e.$locale.set(l)}const L={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"}};if(typeof window!="undefined"){let l=function(t){return function(...n){try{return t.apply(this,n)}catch(o){if(o instanceof DOMException&&o.message.includes("has already been used with this registry")||o.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw o}}};customElements.define=l(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-BBoBE1Lx.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function V(l){e.append_styles(l,"svelte-g6nv6v",".PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px;text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.PlayerAccountMenuList{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountLogOutArea{background:var(--emw--color-gray-300, #58586B);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));width:100%;flex-grow:0;border-top:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer{height:unset}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emw--color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}")}function T(l,t,n){const o=l.slice();return o[35]=t[n],o}function X(l){let t,n,o,r,m,u,d,h,M,A,y,P,_=l[10]&&Z(l),p=l[10]&&J(l),i=e.ensure_array_like(l[5]),s=[];for(let c=0;c<i.length;c+=1)s[c]=E(T(l,i,c));let v=!l[10]&&K(l);return{c(){t=e.element("div"),n=e.element("div"),_&&_.c(),o=e.space(),r=e.element("p"),m=e.text(l[7]),u=e.space(),d=e.element("p"),h=e.text(l[8]),M=e.space(),p&&p.c(),A=e.space(),y=e.element("div");for(let c=0;c<s.length;c+=1)s[c].c();P=e.space(),v&&v.c(),e.attr(r,"class","PlayerAccountMenuUser"),e.attr(d,"class","PlayerAccountMenuEmail"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[10]?"PlayerAccountMenuHeaderMobile":"")),e.attr(y,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[10]?"PlayerAccountMobileContainer":"")+" "+(l[11].matches&&l[10]?"PlayerAccountTabletContainer":""))},m(c,w){e.insert(c,t,w),e.append(t,n),_&&_.m(n,null),e.append(n,o),e.append(n,r),e.append(r,m),e.append(n,u),e.append(n,d),e.append(d,h),e.append(n,M),p&&p.m(n,null),e.append(t,A),e.append(t,y);for(let g=0;g<s.length;g+=1)s[g]&&s[g].m(y,null);e.append(t,P),v&&v.m(t,null)},p(c,w){if(c[10]&&_.p(c,w),w[0]&128&&e.set_data(m,c[7]),w[0]&256&&e.set_data(h,c[8]),c[10]&&p.p(c,w),w[0]&5216){i=e.ensure_array_like(c[5]);let g;for(g=0;g<i.length;g+=1){const x=T(c,i,g);s[g]?s[g].p(x,w):(s[g]=E(x),s[g].c(),s[g].m(y,null))}for(;g<s.length;g+=1)s[g].d(1);s.length=i.length}c[10]||v.p(c,w)},d(c){c&&e.detach(t),_&&_.d(),p&&p.d(),e.destroy_each(s,c),v&&v.d()}}}function Z(l){let t,n,o,r,m,u,d,h,M,A,y=l[9]("title")+"",P,_,p;return{c(){t=e.element("div"),n=e.svg_element("svg"),o=e.svg_element("defs"),r=e.svg_element("style"),m=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),u=e.svg_element("g"),d=e.svg_element("g"),h=e.svg_element("path"),M=e.space(),A=e.element("h3"),P=e.text(y),e.attr(h,"class","aaa"),e.attr(h,"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(h,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(u,"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(A,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(i,s){e.insert(i,t,s),e.append(t,n),e.append(n,o),e.append(o,r),e.append(r,m),e.append(n,u),e.append(u,d),e.append(d,h),e.append(t,M),e.append(t,A),e.append(A,P),_||(p=[e.listen(n,"click",l[13]),e.listen(A,"click",l[13])],_=!0)},p(i,s){s[0]&512&&y!==(y=i[9]("title")+"")&&e.set_data(P,y)},d(i){i&&e.detach(t),_=!1,e.run_all(p)}}}function J(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.attr(t,"class","PlayerAccountLogOutArea")},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",o[1]),r[0]&1&&e.set_custom_element_data(n,"session",o[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",o[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",o[3])},d(o){o&&e.detach(t)}}}function E(l){let t,n,o,r,m,u,d=l[35].label+"",h,M,A,y,P;function _(){return l[21](l[35])}return{c(){t=e.element("div"),n=e.element("p"),o=e.element("img"),m=e.space(),u=e.element("span"),h=e.text(d),M=e.space(),e.attr(o,"class","PlayerAccountMenuItemIcon "+(l[10]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(o.src,r=l[35].img)||e.attr(o,"src",r),e.attr(u,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",A="PlayerAccountMenuItemBox "+(l[6]===l[35].id&&!l[10]?"PlayerAccountMenuActiveItemBox":""))},m(p,i){e.insert(p,t,i),e.append(t,n),e.append(n,o),e.append(n,m),e.append(n,u),e.append(u,h),e.append(t,M),y||(P=e.listen(t,"click",_),y=!0)},p(p,i){l=p,i[0]&32&&!e.src_url_equal(o.src,r=l[35].img)&&e.attr(o,"src",r),i[0]&32&&d!==(d=l[35].label+"")&&e.set_data(h,d),i[0]&96&&A!==(A="PlayerAccountMenuItemBox "+(l[6]===l[35].id&&!l[10]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",A)},d(p){p&&e.detach(t),y=!1,P()}}}function K(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.attr(t,"class","PlayerAccountLogOutArea")},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",o[1]),r[0]&1&&e.set_custom_element_data(n,"session",o[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",o[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",o[3])},d(o){o&&e.detach(t)}}}function Y(l){let t;function n(m,u){return X}let r=n()(l);return{c(){t=e.element("div"),r.c()},m(m,u){e.insert(m,t,u),r.m(t,null),l[22](t)},p(m,u){r.p(m,u)},i:e.noop,o:e.noop,d(m){m&&e.detach(t),r.d(),l[22](null)}}}function $(l,t,n){let o;e.component_subscribe(l,e.$format,a=>n(9,o=a));let{endpoint:r=""}=t,{cmsendpoint:m=""}=t,{env:u=""}=t,{session:d=""}=t,{playerid:h=""}=t,{lang:M="en"}=t,{userroles:A=""}=t,{clientstyling:y=""}=t,{clientstylingurl:P=""}=t,{translationurl:_=""}=t,{activemenuitem:p=""}=t,i,s=[],v,c=window.navigator.userAgent,w=e.getDevice(c)!=="PC",g="",x="";const H=window.matchMedia("(min-width: 768px)"),z=()=>{fetch(_).then(f=>f.json()).then(f=>{Object.keys(f).forEach(b=>{k(b,f[b])})}).catch(f=>{console.error(f)})};Object.keys(L).forEach(a=>{k(a,L[a])});const C=a=>{if(a.data)switch(a.data.type){case"UserSessionID":n(0,d=a.data.session);break}},S=()=>{let a=e.getDevice(c);if(a)return a==="PC"?"dk":"mtWeb"},W=()=>{const a=new URL(`${m}/${M}/profile-menu?env=${u}`);a.searchParams.append("device",S()),fetch(a.href).then(f=>f.json()).then(f=>{n(5,s=f),F()}).catch(f=>{console.error("Error getting menu items",f)})},D=()=>{let a=new URL(`${r}/v1/player/${h}/profile`);a.searchParams.append("userRoles",A);let f={method:"GET",headers:{"X-SessionID":d}};fetch(a.href,f).then(b=>b.json()).then(b=>{n(7,g=b.username),n(8,x=b.email)},b=>{console.error(b)})},I=a=>{window.postMessage({type:"ChangeAccountPage",page:a},window.location.href),n(6,v=a.id)},F=()=>{var a;n(6,v=(a=s.find(f=>f.path.includes(p)))==null?void 0:a.id)},O=()=>{Q(M)},U=()=>{D()},j=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},R=()=>{let a=document.createElement("style");a.innerHTML=y,i.appendChild(a)},q=()=>{let a=new URL(P),f=document.createElement("style");fetch(a.href).then(b=>b.text()).then(b=>{f.innerHTML=b,setTimeout(()=>{i.appendChild(f)},1)})};e.onMount(()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)}));const G=a=>I(a);function N(a){e.binding_callbacks[a?"unshift":"push"](()=>{i=a,n(4,i)})}return l.$$set=a=>{"endpoint"in a&&n(1,r=a.endpoint),"cmsendpoint"in a&&n(14,m=a.cmsendpoint),"env"in a&&n(15,u=a.env),"session"in a&&n(0,d=a.session),"playerid"in a&&n(16,h=a.playerid),"lang"in a&&n(17,M=a.lang),"userroles"in a&&n(18,A=a.userroles),"clientstyling"in a&&n(2,y=a.clientstyling),"clientstylingurl"in a&&n(3,P=a.clientstylingurl),"translationurl"in a&&n(19,_=a.translationurl),"activemenuitem"in a&&n(20,p=a.activemenuitem)},l.$$.update=()=>{l.$$.dirty[0]&131072&&M&&O(),l.$$.dirty[0]&196611&&r&&d&&h&&M&&U(),l.$$.dirty[0]&180224&&m&&M&&u&&W(),l.$$.dirty[0]&1048576&&p&&F(),l.$$.dirty[0]&24&&P&&i&&q(),l.$$.dirty[0]&20&&y&&i&&R(),l.$$.dirty[0]&524288&&_&&z()},[d,r,y,P,i,s,v,g,x,o,w,H,I,j,m,u,h,M,A,_,p,G,N]}class B extends e.SvelteComponent{constructor(t){super(),e.init(this,t,$,Y,e.safe_not_equal,{endpoint:1,cmsendpoint:14,env:15,session:0,playerid:16,lang:17,userroles:18,clientstyling:2,clientstylingurl:3,translationurl:19,activemenuitem:20},V,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[14]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[15]}set env(t){this.$$set({env:t}),e.flush()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[16]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get userroles(){return this.$$.ctx[18]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[19]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[20]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}}e.create_custom_element(B,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{}},[],[],!0);exports.default=B;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ae, $ as ie, S as ce, i as se, f as F, c as ue, s as me, b as ye, e as v, k as T, o as D, p as E, q as ge, u as O, v as
|
|
1
|
+
import { a as ae, $ as ie, S as ce, i as se, f as F, c as ue, s as me, b as ye, e as v, k as T, o as D, p as E, q as ge, u as O, v as pe, x as de, y as fe, K as R, d as k, t as H, g as s, l as a, n as z, L as he, w as L, m as W, r as Ae, j as P, X as q } from "./GeneralLogout-DJd6W-jT.js";
|
|
2
2
|
function N(n, e) {
|
|
3
3
|
ae(n, e);
|
|
4
4
|
}
|
|
@@ -49,19 +49,19 @@ if (typeof window != "undefined") {
|
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
|
-
customElements.define = n(customElements.define), import("./GeneralLogout-
|
|
52
|
+
customElements.define = n(customElements.define), import("./GeneralLogout-DJd6W-jT.js").then((e) => e.a4).then(({ default: e }) => {
|
|
53
53
|
!customElements.get("general-logout") && customElements.define("general-logout", e.element);
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
56
|
function Pe(n) {
|
|
57
|
-
ye(n, "svelte-
|
|
57
|
+
ye(n, "svelte-g6nv6v", ".PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px;text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.PlayerAccountMenuList{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountLogOutArea{background:var(--emw--color-gray-300, #58586B);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));width:100%;flex-grow:0;border-top:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer{height:unset}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emw--color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}");
|
|
58
58
|
}
|
|
59
59
|
function X(n, e, t) {
|
|
60
60
|
const o = n.slice();
|
|
61
61
|
return o[35] = e[t], o;
|
|
62
62
|
}
|
|
63
63
|
function be(n) {
|
|
64
|
-
let e, t, o, r, y, m,
|
|
64
|
+
let e, t, o, r, y, m, p, A, w, b, f, _, M = (
|
|
65
65
|
/*isMobile*/
|
|
66
66
|
n[10] && we(n)
|
|
67
67
|
), g = (
|
|
@@ -80,22 +80,22 @@ function be(n) {
|
|
|
80
80
|
e = v("div"), t = v("div"), M && M.c(), o = k(), r = v("p"), y = H(
|
|
81
81
|
/*profileUsername*/
|
|
82
82
|
n[7]
|
|
83
|
-
), m = k(),
|
|
83
|
+
), m = k(), p = v("p"), A = H(
|
|
84
84
|
/*profileEmail*/
|
|
85
85
|
n[8]
|
|
86
|
-
), w = k(), g && g.c(), b = k(),
|
|
86
|
+
), w = k(), g && g.c(), b = k(), f = v("div");
|
|
87
87
|
for (let i = 0; i < u.length; i += 1)
|
|
88
88
|
u[i].c();
|
|
89
|
-
_ = k(), C && C.c(), s(r, "class", "PlayerAccountMenuUser"), s(
|
|
90
|
-
(n[10] ? "PlayerAccountMenuHeaderMobile" : "")), s(
|
|
89
|
+
_ = k(), C && C.c(), s(r, "class", "PlayerAccountMenuUser"), s(p, "class", "PlayerAccountMenuEmail"), s(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
|
|
90
|
+
(n[10] ? "PlayerAccountMenuHeaderMobile" : "")), s(f, "class", "PlayerAccountMenuList"), s(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
|
|
91
91
|
(n[10] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
|
|
92
92
|
(n[11].matches && /*isMobile*/
|
|
93
93
|
n[10] ? "PlayerAccountTabletContainer" : ""));
|
|
94
94
|
},
|
|
95
95
|
m(i, I) {
|
|
96
|
-
T(i, e, I), a(e, t), M && M.m(t, null), a(t, o), a(t, r), a(r, y), a(t, m), a(t,
|
|
97
|
-
for (let
|
|
98
|
-
u[
|
|
96
|
+
T(i, e, I), a(e, t), M && M.m(t, null), a(t, o), a(t, r), a(r, y), a(t, m), a(t, p), a(p, A), a(t, w), g && g.m(t, null), a(e, b), a(e, f);
|
|
97
|
+
for (let d = 0; d < u.length; d += 1)
|
|
98
|
+
u[d] && u[d].m(f, null);
|
|
99
99
|
a(e, _), C && C.m(e, null);
|
|
100
100
|
},
|
|
101
101
|
p(i, I) {
|
|
@@ -119,13 +119,13 @@ function be(n) {
|
|
|
119
119
|
/*menuItems*/
|
|
120
120
|
i[5]
|
|
121
121
|
);
|
|
122
|
-
let
|
|
123
|
-
for (
|
|
124
|
-
const B = X(i, c,
|
|
125
|
-
u[
|
|
122
|
+
let d;
|
|
123
|
+
for (d = 0; d < c.length; d += 1) {
|
|
124
|
+
const B = X(i, c, d);
|
|
125
|
+
u[d] ? u[d].p(B, I) : (u[d] = K(B), u[d].c(), u[d].m(f, null));
|
|
126
126
|
}
|
|
127
|
-
for (;
|
|
128
|
-
u[
|
|
127
|
+
for (; d < u.length; d += 1)
|
|
128
|
+
u[d].d(1);
|
|
129
129
|
u.length = c.length;
|
|
130
130
|
}
|
|
131
131
|
/*isMobile*/
|
|
@@ -137,16 +137,16 @@ function be(n) {
|
|
|
137
137
|
};
|
|
138
138
|
}
|
|
139
139
|
function we(n) {
|
|
140
|
-
let e, t, o, r, y, m,
|
|
140
|
+
let e, t, o, r, y, m, p, A, w, b, f = (
|
|
141
141
|
/*$_*/
|
|
142
142
|
n[9]("title") + ""
|
|
143
143
|
), _, M, g;
|
|
144
144
|
return {
|
|
145
145
|
c() {
|
|
146
|
-
e = v("div"), t = L("svg"), o = L("defs"), r = L("style"), y = H(".aaa{fill:var(--
|
|
146
|
+
e = v("div"), t = L("svg"), o = L("defs"), r = L("style"), y = H(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), m = L("g"), p = L("g"), A = L("path"), w = k(), b = v("h3"), _ = H(f), s(A, "class", "aaa"), s(A, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), s(A, "transform", "translate(15 15) rotate(180)"), s(p, "transform", "translate(20 158)"), s(m, "transform", "translate(-20 -158)"), s(t, "xmlns", "http://www.w3.org/2000/svg"), s(t, "width", "15"), s(t, "height", "15"), s(t, "viewBox", "0 0 15 15"), s(b, "class", "PlayerAccountMenuCategoryTitle"), s(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
147
147
|
},
|
|
148
148
|
m(c, u) {
|
|
149
|
-
T(c, e, u), a(e, t), a(t, o), a(o, r), a(r, y), a(t, m), a(m,
|
|
149
|
+
T(c, e, u), a(e, t), a(t, o), a(o, r), a(r, y), a(t, m), a(m, p), a(p, A), a(e, w), a(e, b), a(b, _), M || (g = [
|
|
150
150
|
W(
|
|
151
151
|
t,
|
|
152
152
|
"click",
|
|
@@ -163,8 +163,8 @@ function we(n) {
|
|
|
163
163
|
},
|
|
164
164
|
p(c, u) {
|
|
165
165
|
u[0] & /*$_*/
|
|
166
|
-
512 &&
|
|
167
|
-
c[9]("title") + "") && z(_,
|
|
166
|
+
512 && f !== (f = /*$_*/
|
|
167
|
+
c[9]("title") + "") && z(_, f);
|
|
168
168
|
},
|
|
169
169
|
d(c) {
|
|
170
170
|
c && E(e), M = !1, Ae(g);
|
|
@@ -233,10 +233,10 @@ function ve(n) {
|
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
function K(n) {
|
|
236
|
-
let e, t, o, r, y, m,
|
|
236
|
+
let e, t, o, r, y, m, p = (
|
|
237
237
|
/*menuItem*/
|
|
238
238
|
n[35].label + ""
|
|
239
|
-
), A, w, b,
|
|
239
|
+
), A, w, b, f, _;
|
|
240
240
|
function M() {
|
|
241
241
|
return (
|
|
242
242
|
/*click_handler*/
|
|
@@ -248,7 +248,7 @@ function K(n) {
|
|
|
248
248
|
}
|
|
249
249
|
return {
|
|
250
250
|
c() {
|
|
251
|
-
e = v("div"), t = v("p"), o = v("img"), y = k(), m = v("span"), A = H(
|
|
251
|
+
e = v("div"), t = v("p"), o = v("img"), y = k(), m = v("span"), A = H(p), w = k(), s(o, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
|
|
252
252
|
(n[10] ? "PlayerAccountMenuItemIconMobile" : "")), q(o.src, r = /*menuItem*/
|
|
253
253
|
n[35].img) || s(o, "src", r), s(m, "class", "PlayerAccountMenuItemTitle"), s(t, "class", "PlayerAccountMenuItemWrapper"), s(e, "class", b = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
254
254
|
(n[6] === /*menuItem*/
|
|
@@ -256,21 +256,21 @@ function K(n) {
|
|
|
256
256
|
n[10] ? "PlayerAccountMenuActiveItemBox" : ""));
|
|
257
257
|
},
|
|
258
258
|
m(g, c) {
|
|
259
|
-
T(g, e, c), a(e, t), a(t, o), a(t, y), a(t, m), a(m, A), a(e, w),
|
|
259
|
+
T(g, e, c), a(e, t), a(t, o), a(t, y), a(t, m), a(m, A), a(e, w), f || (_ = W(e, "click", M), f = !0);
|
|
260
260
|
},
|
|
261
261
|
p(g, c) {
|
|
262
262
|
n = g, c[0] & /*menuItems*/
|
|
263
263
|
32 && !q(o.src, r = /*menuItem*/
|
|
264
264
|
n[35].img) && s(o, "src", r), c[0] & /*menuItems*/
|
|
265
|
-
32 &&
|
|
266
|
-
n[35].label + "") && z(A,
|
|
265
|
+
32 && p !== (p = /*menuItem*/
|
|
266
|
+
n[35].label + "") && z(A, p), c[0] & /*selectedItem, menuItems*/
|
|
267
267
|
96 && b !== (b = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
268
268
|
(n[6] === /*menuItem*/
|
|
269
269
|
n[35].id && !/*isMobile*/
|
|
270
270
|
n[10] ? "PlayerAccountMenuActiveItemBox" : "")) && s(e, "class", b);
|
|
271
271
|
},
|
|
272
272
|
d(g) {
|
|
273
|
-
g && E(e),
|
|
273
|
+
g && E(e), f = !1, _();
|
|
274
274
|
}
|
|
275
275
|
};
|
|
276
276
|
}
|
|
@@ -360,8 +360,8 @@ function xe(n) {
|
|
|
360
360
|
}
|
|
361
361
|
function Ce(n, e, t) {
|
|
362
362
|
let o;
|
|
363
|
-
ge(n,
|
|
364
|
-
let { endpoint: r = "" } = e, { cmsendpoint: y = "" } = e, { env: m = "" } = e, { session:
|
|
363
|
+
ge(n, fe, (l) => t(9, o = l));
|
|
364
|
+
let { endpoint: r = "" } = e, { cmsendpoint: y = "" } = e, { env: m = "" } = e, { session: p = "" } = e, { playerid: A = "" } = e, { lang: w = "en" } = e, { userroles: b = "" } = e, { clientstyling: f = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: M = "" } = e, { activemenuitem: g = "" } = e, c, u = [], C, i = window.navigator.userAgent, I = O(i) !== "PC", d = "", B = "";
|
|
365
365
|
const Q = window.matchMedia("(min-width: 768px)"), V = () => {
|
|
366
366
|
fetch(M).then((h) => h.json()).then((h) => {
|
|
367
367
|
Object.keys(h).forEach((x) => {
|
|
@@ -378,7 +378,7 @@ function Ce(n, e, t) {
|
|
|
378
378
|
if (l.data)
|
|
379
379
|
switch (l.data.type) {
|
|
380
380
|
case "UserSessionID":
|
|
381
|
-
t(0,
|
|
381
|
+
t(0, p = l.data.session);
|
|
382
382
|
break;
|
|
383
383
|
}
|
|
384
384
|
}, Z = () => {
|
|
@@ -397,11 +397,11 @@ function Ce(n, e, t) {
|
|
|
397
397
|
l.searchParams.append("userRoles", b);
|
|
398
398
|
let h = {
|
|
399
399
|
method: "GET",
|
|
400
|
-
headers: { "X-SessionID":
|
|
400
|
+
headers: { "X-SessionID": p }
|
|
401
401
|
};
|
|
402
402
|
fetch(l.href, h).then((x) => x.json()).then(
|
|
403
403
|
(x) => {
|
|
404
|
-
t(7,
|
|
404
|
+
t(7, d = x.username), t(8, B = x.email);
|
|
405
405
|
},
|
|
406
406
|
(x) => {
|
|
407
407
|
console.error(x);
|
|
@@ -420,7 +420,7 @@ function Ce(n, e, t) {
|
|
|
420
420
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
421
421
|
}, ne = () => {
|
|
422
422
|
let l = document.createElement("style");
|
|
423
|
-
l.innerHTML =
|
|
423
|
+
l.innerHTML = f, c.appendChild(l);
|
|
424
424
|
}, le = () => {
|
|
425
425
|
let l = new URL(_), h = document.createElement("style");
|
|
426
426
|
fetch(l.href).then((x) => x.text()).then((x) => {
|
|
@@ -432,35 +432,35 @@ function Ce(n, e, t) {
|
|
|
432
432
|
);
|
|
433
433
|
});
|
|
434
434
|
};
|
|
435
|
-
|
|
435
|
+
pe(() => (window.addEventListener("message", S, !1), () => {
|
|
436
436
|
window.removeEventListener("message", S);
|
|
437
437
|
}));
|
|
438
438
|
const oe = (l) => U(l);
|
|
439
439
|
function re(l) {
|
|
440
|
-
|
|
440
|
+
de[l ? "unshift" : "push"](() => {
|
|
441
441
|
c = l, t(4, c);
|
|
442
442
|
});
|
|
443
443
|
}
|
|
444
444
|
return n.$$set = (l) => {
|
|
445
|
-
"endpoint" in l && t(1, r = l.endpoint), "cmsendpoint" in l && t(14, y = l.cmsendpoint), "env" in l && t(15, m = l.env), "session" in l && t(0,
|
|
445
|
+
"endpoint" in l && t(1, r = l.endpoint), "cmsendpoint" in l && t(14, y = l.cmsendpoint), "env" in l && t(15, m = l.env), "session" in l && t(0, p = l.session), "playerid" in l && t(16, A = l.playerid), "lang" in l && t(17, w = l.lang), "userroles" in l && t(18, b = l.userroles), "clientstyling" in l && t(2, f = l.clientstyling), "clientstylingurl" in l && t(3, _ = l.clientstylingurl), "translationurl" in l && t(19, M = l.translationurl), "activemenuitem" in l && t(20, g = l.activemenuitem);
|
|
446
446
|
}, n.$$.update = () => {
|
|
447
447
|
n.$$.dirty[0] & /*lang*/
|
|
448
448
|
131072 && w && $(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
|
|
449
|
-
196611 && r &&
|
|
449
|
+
196611 && r && p && A && w && ee(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
|
|
450
450
|
180224 && y && w && m && J(), n.$$.dirty[0] & /*activemenuitem*/
|
|
451
451
|
1048576 && g && j(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
452
452
|
24 && _ && c && le(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
453
|
-
20 &&
|
|
453
|
+
20 && f && c && ne(), n.$$.dirty[0] & /*translationurl*/
|
|
454
454
|
524288 && M && V();
|
|
455
455
|
}, [
|
|
456
|
-
|
|
456
|
+
p,
|
|
457
457
|
r,
|
|
458
|
-
|
|
458
|
+
f,
|
|
459
459
|
_,
|
|
460
460
|
c,
|
|
461
461
|
u,
|
|
462
462
|
C,
|
|
463
|
-
|
|
463
|
+
d,
|
|
464
464
|
B,
|
|
465
465
|
o,
|
|
466
466
|
I,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Y as z, S as B, i as F, f, c as P, s as R, b as U, B as W, k as L, H as c, I as m, Z as j, p as E, v as q, D as A, e as h, g as y, l as p, E as G, F as I, G as N, P as Y, _ as M, a0 as Z, x as C } from "./GeneralLogout-
|
|
1
|
+
import { Y as z, S as B, i as F, f, c as P, s as R, b as U, B as W, k as L, H as c, I as m, Z as j, p as E, v as q, D as A, e as h, g as y, l as p, E as G, F as I, G as N, P as Y, _ as M, a0 as Z, x as C } from "./GeneralLogout-DJd6W-jT.js";
|
|
2
2
|
function S(e, { delay: t = 0, duration: i = 400, easing: n = z } = {}) {
|
|
3
3
|
const s = +getComputedStyle(e).opacity;
|
|
4
4
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-BBoBE1Lx.cjs");function y(n,{delay:e=0,duration:l=400,easing:i=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:l,easing:i,css:r=>`opacity: ${r*s}`}}function S(n){t.append_styles(n,"svelte-126fglp","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}")}function m(n){let e,l,i,s,r;const d=n[7].default,a=t.create_slot(d,n,n[6],null);return{c(){e=t.element("div"),l=t.element("div"),i=t.element("div"),a&&a.c(),t.attr(i,"class","ModalContainer"),t.attr(l,"class","ModalWindow"),t.attr(l,"id","Modal")},m(u,c){t.insert(u,e,c),t.append(e,l),t.append(l,i),a&&a.m(i,null),n[8](l),n[9](e),r=!0},p(u,c){n=u,a&&a.p&&(!r||c&64)&&t.update_slot_base(a,d,n,n[6],r?t.get_slot_changes(d,n[6],c,null):t.get_all_dirty_from_scope(n[6]),null)},i(u){r||(t.transition_in(a,u),u&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(l,y,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(u){t.transition_out(a,u),u&&(s||(s=t.create_bidirectional_transition(l,y,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(u){u&&t.detach(e),a&&a.d(u),n[8](null),u&&s&&s.end(),n[9](null)}}}function L(n){let e,l,i=n[0]&&m(n);return{c(){i&&i.c(),e=t.empty()},m(s,r){i&&i.m(s,r),t.insert(s,e,r),l=!0},p(s,[r]){s[0]?i?(i.p(s,r),r&1&&t.transition_in(i,1)):(i=m(s),i.c(),t.transition_in(i,1),i.m(e.parentNode,e)):i&&(t.group_outros(),t.transition_out(i,1,1,()=>{i=null}),t.check_outros())},i(s){l||(t.transition_in(i),l=!0)},o(s){t.transition_out(i),l=!1},d(s){s&&t.detach(e),i&&i.d(s)}}}function k(n,e,l){let{$$slots:i={},$$scope:s}=e,{show:r=!1}=e,{duration:d=350}=e,{clientstyling:a=""}=e,{clientstylingurl:u=""}=e,c,f;const g=o=>{o.data.type=="ModalClosed"&&l(0,r=!1),o.data.type==="ShowLimitsConfirmationModal"&&(l(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href))},w=()=>{let o=document.createElement("style");o.innerHTML=a,c.appendChild(o)},p=()=>{let o=new URL(u),h=document.createElement("style");fetch(o.href).then(_=>_.text()).then(_=>{h.innerHTML=_,setTimeout(()=>{c.appendChild(h)},1)})};t.onMount(()=>(window.addEventListener("message",g,!1),()=>{window.removeEventListener("message",g)}));function M(o){t.binding_callbacks[o?"unshift":"push"](()=>{f=o,l(3,f)})}function C(o){t.binding_callbacks[o?"unshift":"push"](()=>{c=o,l(2,c)})}return n.$$set=o=>{"show"in o&&l(0,r=o.show),"duration"in o&&l(1,d=o.duration),"clientstyling"in o&&l(4,a=o.clientstyling),"clientstylingurl"in o&&l(5,u=o.clientstylingurl),"$$scope"in o&&l(6,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&36&&u&&c&&p(),n.$$.dirty&20&&a&&c&&w()},[r,d,c,f,a,u,s,i,M,C]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,k,L,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5},S)}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),t.flush()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{}},["default"],[],!0);exports.default=b;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-BBoBE1Lx.cjs");function M(o){t.append_styles(o,"svelte-8rjudp",'.PlayerAccountNotificationsContainer{padding:0 5px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:var(--emw--color-gray-300, #58586B);color:var(--emw--color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}')}function x(o,e,a){const n=o.slice();return n[20]=e[a],n}function B(o){let e,a=t.ensure_array_like(o[1]),n=[];for(let i=0;i<a.length;i+=1)n[i]=A(x(o,a,i));return{c(){e=t.element("div");for(let i=0;i<n.length;i+=1)n[i].c();t.attr(e,"class","PlayerAccountNotificationsContainer "+(o[2]&&o[3].matches?"PlayerAccountNotificationsTabletContainer":o[2]?"PlayerAccountNotificationsMobileContainer":"")),t.attr(e,"part","PlayerAccountNotificationsContainer "+(o[2]&&o[3].matches?"PlayerAccountNotificationsTabletContainer":o[2]?"PlayerAccountNotificationsMobileContainer":""))},m(i,r){t.insert(i,e,r);for(let c=0;c<n.length;c+=1)n[c]&&n[c].m(e,null)},p(i,r){if(r&2){a=t.ensure_array_like(i[1]);let c;for(c=0;c<a.length;c+=1){const u=x(i,a,c);n[c]?n[c].p(u,r):(n[c]=A(u),n[c].c(),n[c].m(e,null))}for(;c<n.length;c+=1)n[c].d(1);n.length=a.length}},d(i){i&&t.detach(e),t.destroy_each(n,i)}}}function A(o){let e,a,n,i,r,c,u,d=o[20].title+"",h,f,p,P=o[20].description+"",y;return{c(){e=t.element("div"),a=t.element("div"),n=t.element("img"),c=t.space(),u=t.element("p"),h=t.text(d),f=t.space(),p=t.element("p"),y=t.space(),t.attr(n,"class","PlayerAccountNotificationIcon"),t.src_url_equal(n.src,i=o[20].icon)||t.attr(n,"src",i),t.attr(n,"alt",r=o[20].title),t.attr(u,"class","PlayerAccountNotificationTitle"),t.attr(a,"class","PlayerAccountNotificationBoxHeader"),t.attr(p,"class","PlayerAccountNotificationText"),t.attr(e,"class","PlayerAccountNotificationBox"),t.set_style(e,"background",o[20].backgroundColor)},m(s,g){t.insert(s,e,g),t.append(e,a),t.append(a,n),t.append(a,c),t.append(a,u),t.append(u,h),t.append(e,f),t.append(e,p),p.innerHTML=P,t.append(e,y)},p(s,g){g&2&&!t.src_url_equal(n.src,i=s[20].icon)&&t.attr(n,"src",i),g&2&&r!==(r=s[20].title)&&t.attr(n,"alt",r),g&2&&d!==(d=s[20].title+"")&&t.set_data(h,d),g&2&&P!==(P=s[20].description+"")&&(p.innerHTML=P),g&2&&t.set_style(e,"background",s[20].backgroundColor)},d(s){s&&t.detach(e)}}}function H(o){let e;function a(r,c){if(r[1].length)return B}let n=a(o),i=n&&n(o);return{c(){e=t.element("div"),i&&i.c()},m(r,c){t.insert(r,e,c),i&&i.m(e,null),o[11](e)},p(r,[c]){n===(n=a(r))&&i?i.p(r,c):(i&&i.d(1),i=n&&n(r),i&&(i.c(),i.m(e,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),i&&i.d(),o[11](null)}}}function L(o,e,a){let{lang:n=""}=e,{cmsendpoint:i=""}=e,{env:r=""}=e,{userroles:c=""}=e,{customnotif:u=""}=e,{clientstyling:d=""}=e,{clientstylingurl:h=""}=e,f,p=window.navigator.userAgent,P=t.getDevice(p)!=="PC",y=[],s=[],g=C();const v=window.matchMedia("(min-width: 768px)");function C(){const l=t.getDevice(p);if(l)return l==="PC"?"dk":"mtWeb"}const w=()=>{const l=new URL(`${i}/${n}/support-information`);l.searchParams.append("env",r),l.searchParams.append("userRoles",c),l.searchParams.append("device",g),fetch(l.href).then(m=>m.json()).then(m=>{m.length&&(a(1,y=m[0].children),y.forEach(_=>{s.length&&(_.backgroundColor=s[0],s.shift())}))},m=>{console.error(m)})},b=()=>{u.replace(" ",""),s=u.split(",")},T=()=>{let l=document.createElement("style");l.innerHTML=d,f.appendChild(l)},k=()=>{let l=new URL(h),m=document.createElement("style");fetch(l.href).then(_=>_.text()).then(_=>{m.innerHTML=_,setTimeout(()=>{f.appendChild(m)},1)})};function F(l){t.binding_callbacks[l?"unshift":"push"](()=>{f=l,a(0,f)})}return o.$$set=l=>{"lang"in l&&a(4,n=l.lang),"cmsendpoint"in l&&a(5,i=l.cmsendpoint),"env"in l&&a(6,r=l.env),"userroles"in l&&a(7,c=l.userroles),"customnotif"in l&&a(8,u=l.customnotif),"clientstyling"in l&&a(9,d=l.clientstyling),"clientstylingurl"in l&&a(10,h=l.clientstylingurl)},o.$$.update=()=>{o.$$.dirty&256&&u&&b(),o.$$.dirty&2&&y&&b(),o.$$.dirty&240&&c&&i&&r&&n&&w(),o.$$.dirty&1025&&h&&f&&k(),o.$$.dirty&513&&d&&f&&T()},[f,y,P,v,n,i,r,c,u,d,h,F]}class N extends t.SvelteComponent{constructor(e){super(),t.init(this,e,L,H,t.safe_not_equal,{lang:4,cmsendpoint:5,env:6,userroles:7,customnotif:8,clientstyling:9,clientstylingurl:10},M)}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),t.flush()}get cmsendpoint(){return this.$$.ctx[5]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),t.flush()}get env(){return this.$$.ctx[6]}set env(e){this.$$set({env:e}),t.flush()}get userroles(){return this.$$.ctx[7]}set userroles(e){this.$$set({userroles:e}),t.flush()}get customnotif(){return this.$$.ctx[8]}set customnotif(e){this.$$set({customnotif:e}),t.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(N,{lang:{},cmsendpoint:{},env:{},userroles:{},customnotif:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=N;
|
package/components/{PlayerAccountNotifications-COx0wvVZ.js → PlayerAccountNotifications-r_nD_SnF.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as U, i as W, f as x, c as
|
|
1
|
+
import { S as U, i as W, f as x, c as j, s as q, b as K, e as A, k as C, o as k, p as v, u as T, x as Q, K as F, g as u, L as V, d as _, t as X, X as M, W as B, l as p, n as G } from "./GeneralLogout-DJd6W-jT.js";
|
|
2
2
|
function J(n) {
|
|
3
|
-
K(n, "svelte-
|
|
3
|
+
K(n, "svelte-8rjudp", '.PlayerAccountNotificationsContainer{padding:0 5px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:var(--emw--color-gray-300, #58586B);color:var(--emw--color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}');
|
|
4
4
|
}
|
|
5
5
|
function H(n, t, a) {
|
|
6
6
|
const i = n.slice();
|
|
@@ -199,7 +199,7 @@ class $ extends U {
|
|
|
199
199
|
t,
|
|
200
200
|
Z,
|
|
201
201
|
Y,
|
|
202
|
-
|
|
202
|
+
q,
|
|
203
203
|
{
|
|
204
204
|
lang: 4,
|
|
205
205
|
cmsendpoint: 5,
|
|
@@ -255,7 +255,7 @@ class $ extends U {
|
|
|
255
255
|
this.$$set({ clientstylingurl: t }), x();
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
|
-
|
|
258
|
+
j($, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
259
259
|
export {
|
|
260
260
|
$ as default
|
|
261
261
|
};
|