@everymatrix/player-account-controller 1.94.4 → 1.94.5
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-Bha0yTpv.js → GeneralLogout-kTqNTgvC.js} +53 -53
- package/components/{GeneralLogout-7tP5h3jn.js → GeneralLogout-zgSN4JXC.js} +69 -69
- package/components/{PlayerAccountBettingHistory-BLKHpLDv.js → PlayerAccountBettingHistory-CMXH0Rg-.js} +27 -27
- package/components/{PlayerAccountBettingHistory-CzSUqX4-.js → PlayerAccountBettingHistory-CPbEbbHQ.js} +24 -24
- package/components/{PlayerAccountBiometrics-BbWTzLmW.js → PlayerAccountBiometrics-Btxg2ReE.js} +29 -29
- package/components/{PlayerAccountBiometrics-wJjVWuLg.js → PlayerAccountBiometrics-C3OhQX00.js} +29 -29
- package/components/{PlayerAccountBiometricsAction-DTE7fauZ.js → PlayerAccountBiometricsAction-BpWHzxpk.js} +20 -20
- package/components/{PlayerAccountBiometricsAction-C_Ds4M9z.js → PlayerAccountBiometricsAction-_fvfCCxj.js} +29 -29
- package/components/{PlayerAccountClosure-9e1V1Bgg.js → PlayerAccountClosure-C1d0pUoW.js} +8 -8
- package/components/{PlayerAccountClosure--RdqSNxo.js → PlayerAccountClosure-C4jgSJYP.js} +24 -24
- package/components/{PlayerAccountController-B430ceZf.js → PlayerAccountController-Bd-Ammrb.js} +86 -86
- package/components/{PlayerAccountController-DVklos1f.js → PlayerAccountController-C6MS18Sd.js} +86 -86
- package/components/{PlayerAccountGamingLimits-CAbMnlAS.js → PlayerAccountGamingLimits-CCe9uOfh.js} +32 -32
- package/components/{PlayerAccountGamingLimits-Bd7JHvzc.js → PlayerAccountGamingLimits-chP_kSHR.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BvQbZgf9.js → PlayerAccountGamingLimitsConfirmationModal-BfjfP8D_.js} +25 -25
- package/components/{PlayerAccountGamingLimitsConfirmationModal-qmX0rgQK.js → PlayerAccountGamingLimitsConfirmationModal-OxqOTLbT.js} +34 -34
- package/components/{PlayerAccountGamingLimitsGroupEdit-CDF7eCZN.js → PlayerAccountGamingLimitsGroupEdit-B6jYzCP7.js} +47 -47
- package/components/{PlayerAccountGamingLimitsGroupEdit-7nm5cjrt.js → PlayerAccountGamingLimitsGroupEdit-DFKPrpCJ.js} +47 -47
- package/components/{PlayerAccountGamingLimitsHistory2-C0PbUvKM.js → PlayerAccountGamingLimitsHistory2-BmfZwZgM.js} +35 -35
- package/components/{PlayerAccountGamingLimitsHistory2-GzGGIvMm.js → PlayerAccountGamingLimitsHistory2-BqwQ-RB0.js} +45 -45
- package/components/{PlayerAccountGamingLimitsInfoCard-CblD1OVC.js → PlayerAccountGamingLimitsInfoCard-CRZKXfQf.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-BlHaLjVK.js → PlayerAccountGamingLimitsInfoCard-DgtRTtMC.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CGlHVADm.js → PlayerAccountGamingLimitsPage2Gm16-D5TyY7Fa.js} +105 -105
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Cn67nizU.js → PlayerAccountGamingLimitsPage2Gm16-zj-tjh23.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-CeOcyDI3.js → PlayerAccountGamingLimitsPopup-DeQD-dRc.js} +15 -15
- package/components/{PlayerAccountGamingLimitsPopup-BbNgJsHZ.js → PlayerAccountGamingLimitsPopup-XYvk39nq.js} +19 -19
- package/components/{PlayerAccountGamingLimitsWrapper2-CcYreFqv.js → PlayerAccountGamingLimitsWrapper2-DNUy1TDd.js} +58 -58
- package/components/{PlayerAccountGamingLimitsWrapper2-BjqyubKt.js → PlayerAccountGamingLimitsWrapper2-UCXXUa_j.js} +54 -54
- package/components/{PlayerAccountGeneralConfirmationModal-DRvL_r6O.js → PlayerAccountGeneralConfirmationModal-BJ5GkodH.js} +35 -35
- package/components/{PlayerAccountGeneralConfirmationModal-B200_trQ.js → PlayerAccountGeneralConfirmationModal-DUbqZsUq.js} +38 -38
- package/components/{PlayerAccountMenu-c3gM3MPi.js → PlayerAccountMenu-C3r2hbOd.js} +23 -23
- package/components/{PlayerAccountMenu-D6Z78XnT.js → PlayerAccountMenu-CjkwZGQ-.js} +23 -23
- package/components/{PlayerAccountModal-Y5eL_L2Z.js → PlayerAccountModal-CmOPmRtc.js} +51 -51
- package/components/{PlayerAccountModal-Cc07dmeL.js → PlayerAccountModal-rB45bRsX.js} +55 -55
- package/components/{PlayerAccountNotifications-D4xCBw7G.js → PlayerAccountNotifications-BA8xOkk7.js} +29 -29
- package/components/{PlayerAccountNotifications-1PCTvR7e.js → PlayerAccountNotifications-BHkmggUK.js} +88 -88
- package/components/{PlayerAccountProductRestriction-4FPDh3Hk.js → PlayerAccountProductRestriction-B9Wce-J2.js} +3 -3
- package/components/{PlayerAccountProductRestriction-DVpMIVrg.js → PlayerAccountProductRestriction-CeJ8nyQV.js} +3 -3
- package/components/{PlayerAccountReviewFrequency-wyzvT3Ik.js → PlayerAccountReviewFrequency-D14a7YnP.js} +31 -31
- package/components/{PlayerAccountReviewFrequency-BczDG8au.js → PlayerAccountReviewFrequency-DdXg8T1C.js} +30 -30
- package/components/{PlayerAccountSelfExclusion-PRFgILKF.js → PlayerAccountSelfExclusion-ANDK6YB8.js} +99 -99
- package/components/{PlayerAccountSelfExclusion-XdDh-fNL.js → PlayerAccountSelfExclusion-X4m9-Wif.js} +86 -86
- package/components/{PlayerAccountTimeout-CxDwxebO.js → PlayerAccountTimeout-DW_64okl.js} +3 -3
- package/components/{PlayerAccountTimeout-wNjiIPLI.js → PlayerAccountTimeout-IFygbRsF.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-D8A0SS05.js → PlayerAccountTransactionsHistory-BH_S2QvH.js} +36 -36
- package/components/{PlayerAccountTransactionsHistory-CA9cbykX.js → PlayerAccountTransactionsHistory-DOmEjYBs.js} +35 -35
- package/components/{PlayerActiveBonuses-C6FKMj_X.js → PlayerActiveBonuses-BN5q9S2-.js} +212 -212
- package/components/{PlayerActiveBonuses-BVdNdqEt.js → PlayerActiveBonuses-DDyHb_RP.js} +208 -208
- package/components/{PlayerBonusCard-DrJ4bS7D.js → PlayerBonusCard-BQAGPKpP.js} +47 -47
- package/components/{PlayerBonusCard-DHQTr3aH.js → PlayerBonusCard-Bpm8P9Sa.js} +47 -47
- package/components/{PlayerBonusHistory-of8uKAmD.js → PlayerBonusHistory-DBtOIHzS.js} +2 -2
- package/components/{PlayerBonusHistory-Cs6Gdps6.js → PlayerBonusHistory-k7HL08qe.js} +2 -2
- package/components/{PlayerChangePassword-DYRkG5nE.js → PlayerChangePassword-BJkTqzxD.js} +71 -71
- package/components/{PlayerChangePassword-eJGqfAII.js → PlayerChangePassword-BUai6xC1.js} +71 -71
- package/components/{PlayerDeposit-4_o_NFGK.js → PlayerDeposit-C0XRt5EK.js} +24 -24
- package/components/{PlayerDeposit-6hXz_9v7.js → PlayerDeposit-CLyGovJD.js} +28 -28
- package/components/{PlayerGamingHistory-C9xM29Vi.js → PlayerGamingHistory-BsHSSyhU.js} +94 -94
- package/components/{PlayerGamingHistory-D5dMYWVN.js → PlayerGamingHistory-m0lb-SaP.js} +114 -114
- package/components/{PlayerPendingWithdrawals-DGogVO8X.js → PlayerPendingWithdrawals-BvhroTya.js} +30 -30
- package/components/{PlayerPendingWithdrawals--OYoMoFM.js → PlayerPendingWithdrawals-CavqhbX6.js} +34 -34
- package/components/{PlayerProfileInfo-DP8fJSNR.js → PlayerProfileInfo-DejS3qt9.js} +364 -364
- package/components/{PlayerProfileInfo-C02AbZW2.js → PlayerProfileInfo-DrBabxG-.js} +342 -342
- package/components/{PlayerRealityCheck-Cd4dAGMs.js → PlayerRealityCheck-DcTKJjjQ.js} +55 -55
- package/components/{PlayerRealityCheck-_0ZGOtHq.js → PlayerRealityCheck-DefrXfkM.js} +54 -54
- package/components/{PlayerTransactionHistory-CN2H47lf.js → PlayerTransactionHistory-4CZSZQMz.js} +31 -31
- package/components/{PlayerTransactionHistory-ApS5e3Vt.js → PlayerTransactionHistory-DTSGZtwn.js} +44 -44
- package/components/{PlayerWithdrawal-g6QfK2Iy.js → PlayerWithdrawal-C4-ZL4z5.js} +25 -25
- package/components/{PlayerWithdrawal-DEiwVGDy.js → PlayerWithdrawal-DAU0uggw.js} +25 -25
- package/components/{QrSessionGenerator-FKRJT6BR.js → QrSessionGenerator-BMd3QegI.js} +48 -48
- package/components/{QrSessionGenerator-BkgpTp0U.js → QrSessionGenerator-CGtWSfMU.js} +37 -37
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_16-BzEg4TpU.js → checkbox-group-input_16-BMVEaVtV.js} +3 -3
- package/stencil/{checkbox-group-input_16-nRSc7WyI.js → checkbox-group-input_16-C6fU4lxi.js} +3 -3
- package/stencil/{index-7469517b-B-IR-z1N.js → index-7469517b-BFmBiraV.js} +1 -1
- package/stencil/{index-7469517b-C42JdpYE.js → index-7469517b-CCwm-ipO.js} +1 -1
- package/stencil/{pam-change-password-259289fa-DS0Y7TKw.js → pam-change-password-259289fa-B_ApylOR.js} +3 -3
- package/stencil/{pam-change-password-259289fa-CkW8tAwL.js → pam-change-password-259289fa-DJ_lsyvr.js} +3 -3
- package/stencil/{pam-change-password-Fz6dpHWP.js → pam-change-password-BOIp7Ttz.js} +1 -1
- package/stencil/{pam-change-password-Cd7FdKp2.js → pam-change-password-DH0owsL8.js} +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
1
|
+
import { c as q, b as z, S as V, B as Q, Q as Y, t as p, f as Z, J as F, p as v, D as B, q as w, k as J, w as W, M as X, h as K, e as f, I as E, a2 as x, a3 as k, a0 as $, g as b, _ as tt, Y as I, U as L, V as et, W as nt, m as ot, a as st } from "./PlayerAccountController-Bd-Ammrb.js";
|
|
2
|
+
const lt = (e, t = {}) => {
|
|
3
3
|
const o = new CustomEvent("track-custom-event", {
|
|
4
4
|
detail: {
|
|
5
5
|
type: e,
|
|
@@ -11,10 +11,10 @@ const it = (e, t = {}) => {
|
|
|
11
11
|
document.dispatchEvent(o);
|
|
12
12
|
};
|
|
13
13
|
function P(e, t) {
|
|
14
|
-
|
|
14
|
+
q(e, t);
|
|
15
15
|
}
|
|
16
|
-
function
|
|
17
|
-
|
|
16
|
+
function it(e) {
|
|
17
|
+
z.set(e);
|
|
18
18
|
}
|
|
19
19
|
const S = {
|
|
20
20
|
en: {
|
|
@@ -52,19 +52,19 @@ const S = {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
function at(e) {
|
|
55
|
-
|
|
55
|
+
Z(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
|
|
56
56
|
}
|
|
57
57
|
function rt(e) {
|
|
58
|
-
let t, o,
|
|
58
|
+
let t, o, i, n = (
|
|
59
59
|
/*$_*/
|
|
60
60
|
e[2]("logoutButton") + ""
|
|
61
|
-
),
|
|
61
|
+
), l, a, c;
|
|
62
62
|
return {
|
|
63
63
|
c() {
|
|
64
|
-
t = w("div"), o = w("button"),
|
|
64
|
+
t = w("div"), o = w("button"), i = w("span"), l = k(n), b(t, "class", "GeneralLogout");
|
|
65
65
|
},
|
|
66
66
|
m(r, d) {
|
|
67
|
-
B(r, t, d), f(t, o), f(o,
|
|
67
|
+
B(r, t, d), f(t, o), f(o, i), f(i, l), a || (c = E(
|
|
68
68
|
o,
|
|
69
69
|
"click",
|
|
70
70
|
/*click_handler_1*/
|
|
@@ -74,7 +74,7 @@ function rt(e) {
|
|
|
74
74
|
p(r, d) {
|
|
75
75
|
d & /*$_*/
|
|
76
76
|
4 && n !== (n = /*$_*/
|
|
77
|
-
r[2]("logoutButton") + "") && I(
|
|
77
|
+
r[2]("logoutButton") + "") && I(l, n);
|
|
78
78
|
},
|
|
79
79
|
d(r) {
|
|
80
80
|
r && v(t), a = !1, c();
|
|
@@ -82,11 +82,11 @@ function rt(e) {
|
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
function ut(e) {
|
|
85
|
-
let t, o,
|
|
85
|
+
let t, o, i, n, l, a, c, r, d, m, _, g = !/*isMobile*/
|
|
86
86
|
e[3] && ct(e);
|
|
87
87
|
return {
|
|
88
88
|
c() {
|
|
89
|
-
t = w("p"), o = w("span"),
|
|
89
|
+
t = w("p"), o = w("span"), i = x("svg"), n = x("defs"), l = x("style"), a = k(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), c = x("path"), r = x("path"), d = $(), g && g.c(), b(c, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), b(c, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), b(r, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), b(r, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), b(i, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), b(i, "data-name", "Layer 1"), b(i, "xmlns", "http://www.w3.org/2000/svg"), b(i, "viewBox", "0 0 150 150"), tt(o, "width", /*isMobile*/
|
|
90
90
|
e[3] ? (
|
|
91
91
|
/*mediaQuery*/
|
|
92
92
|
e[4].matches ? "20px" : "24px"
|
|
@@ -96,7 +96,7 @@ function ut(e) {
|
|
|
96
96
|
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
97
97
|
},
|
|
98
98
|
m(h, u) {
|
|
99
|
-
B(h, t, u), f(t, o), f(o,
|
|
99
|
+
B(h, t, u), f(t, o), f(o, i), f(i, n), f(n, l), f(l, a), f(i, c), f(i, r), f(t, d), g && g.m(t, null), m || (_ = E(
|
|
100
100
|
t,
|
|
101
101
|
"click",
|
|
102
102
|
/*click_handler*/
|
|
@@ -116,18 +116,18 @@ function ct(e) {
|
|
|
116
116
|
let t, o = (
|
|
117
117
|
/*$_*/
|
|
118
118
|
e[2]("logoutButton") + ""
|
|
119
|
-
),
|
|
119
|
+
), i;
|
|
120
120
|
return {
|
|
121
121
|
c() {
|
|
122
|
-
t = w("span"),
|
|
122
|
+
t = w("span"), i = k(o), b(t, "class", "PlayerLogoutText");
|
|
123
123
|
},
|
|
124
|
-
m(n,
|
|
125
|
-
B(n, t,
|
|
124
|
+
m(n, l) {
|
|
125
|
+
B(n, t, l), f(t, i);
|
|
126
126
|
},
|
|
127
|
-
p(n,
|
|
128
|
-
|
|
127
|
+
p(n, l) {
|
|
128
|
+
l & /*$_*/
|
|
129
129
|
4 && o !== (o = /*$_*/
|
|
130
|
-
n[2]("logoutButton") + "") && I(
|
|
130
|
+
n[2]("logoutButton") + "") && I(i, o);
|
|
131
131
|
},
|
|
132
132
|
d(n) {
|
|
133
133
|
n && v(t);
|
|
@@ -136,35 +136,35 @@ function ct(e) {
|
|
|
136
136
|
}
|
|
137
137
|
function dt(e) {
|
|
138
138
|
let t;
|
|
139
|
-
function o(
|
|
139
|
+
function o(l, a) {
|
|
140
140
|
return (
|
|
141
141
|
/*buttonlocation*/
|
|
142
|
-
|
|
142
|
+
l[0] === "PlayerAccountMenu" ? ut : rt
|
|
143
143
|
);
|
|
144
144
|
}
|
|
145
|
-
let
|
|
145
|
+
let i = o(e), n = i(e);
|
|
146
146
|
return {
|
|
147
147
|
c() {
|
|
148
148
|
t = w("div"), n.c();
|
|
149
149
|
},
|
|
150
|
-
m(
|
|
151
|
-
B(
|
|
150
|
+
m(l, a) {
|
|
151
|
+
B(l, t, a), n.m(t, null), e[15](t);
|
|
152
152
|
},
|
|
153
|
-
p(
|
|
154
|
-
|
|
153
|
+
p(l, [a]) {
|
|
154
|
+
i === (i = o(l)) && n ? n.p(l, a) : (n.d(1), n = i(l), n && (n.c(), n.m(t, null)));
|
|
155
155
|
},
|
|
156
|
-
i:
|
|
157
|
-
o:
|
|
158
|
-
d(
|
|
159
|
-
|
|
156
|
+
i: F,
|
|
157
|
+
o: F,
|
|
158
|
+
d(l) {
|
|
159
|
+
l && v(t), n.d(), e[15](null);
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
162
|
}
|
|
163
163
|
function gt(e, t, o) {
|
|
164
|
-
let
|
|
165
|
-
|
|
166
|
-
let { endpoint: n = "" } = t, { session:
|
|
167
|
-
const
|
|
164
|
+
let i;
|
|
165
|
+
J(e, st, (s) => o(2, i = s));
|
|
166
|
+
let { endpoint: n = "" } = t, { session: l = "" } = t, { buttonlocation: a = "" } = t, { lang: c = "" } = t, { mbsource: r } = t, { clientstyling: d = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: _ = "" } = t, g = "", h = !1, u, C, T = window.navigator.userAgent, O = W(T) !== "PC";
|
|
167
|
+
const H = window.matchMedia("(min-width: 768px)"), j = () => {
|
|
168
168
|
fetch(_).then((y) => y.json()).then((y) => {
|
|
169
169
|
Object.keys(y).forEach((A) => {
|
|
170
170
|
P(A, y[A]);
|
|
@@ -178,42 +178,42 @@ function gt(e, t, o) {
|
|
|
178
178
|
});
|
|
179
179
|
const M = () => {
|
|
180
180
|
let s = new Headers();
|
|
181
|
-
s.append("Content-type", "application/json"), s.append("X-SessionID",
|
|
181
|
+
s.append("Content-type", "application/json"), s.append("X-SessionID", l);
|
|
182
182
|
let y = { method: "DELETE", headers: s };
|
|
183
183
|
fetch(`${n}/v1/player/session/player`, y).then((A) => {
|
|
184
|
-
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href),
|
|
184
|
+
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), lt("logged_out", {});
|
|
185
185
|
});
|
|
186
|
-
}, G = () => (n || (g = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", h = !0, console.error(g)),
|
|
187
|
-
|
|
186
|
+
}, G = () => (n || (g = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", h = !0, console.error(g)), l || (g = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", h = !0, console.error(g)), h), U = () => {
|
|
187
|
+
it(c);
|
|
188
188
|
};
|
|
189
|
-
|
|
189
|
+
X(() => () => {
|
|
190
190
|
});
|
|
191
191
|
const D = () => M(), N = () => M();
|
|
192
192
|
function R(s) {
|
|
193
|
-
|
|
193
|
+
K[s ? "unshift" : "push"](() => {
|
|
194
194
|
u = s, o(1, u);
|
|
195
195
|
});
|
|
196
196
|
}
|
|
197
197
|
return e.$$set = (s) => {
|
|
198
|
-
"endpoint" in s && o(6, n = s.endpoint), "session" in s && o(7,
|
|
198
|
+
"endpoint" in s && o(6, n = s.endpoint), "session" in s && o(7, l = s.session), "buttonlocation" in s && o(0, a = s.buttonlocation), "lang" in s && o(8, c = s.lang), "mbsource" in s && o(9, r = s.mbsource), "clientstyling" in s && o(10, d = s.clientstyling), "clientstylingurl" in s && o(11, m = s.clientstylingurl), "translationurl" in s && o(12, _ = s.translationurl);
|
|
199
199
|
}, e.$$.update = () => {
|
|
200
200
|
e.$$.dirty & /*endpoint, session, buttonlocation*/
|
|
201
|
-
193 && n &&
|
|
202
|
-
256 && c &&
|
|
203
|
-
1026 && d && u &&
|
|
204
|
-
1026 && d && u &&
|
|
201
|
+
193 && n && l && a && G(), e.$$.dirty & /*lang*/
|
|
202
|
+
256 && c && U(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
203
|
+
1026 && d && u && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
204
|
+
1026 && d && u && L(u, d), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
205
205
|
2050 && m && u && et(u, m), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
206
206
|
514 && r && u && nt(u, `${r}.Style`, C), e.$$.dirty & /*translationurl*/
|
|
207
|
-
4096 && _ &&
|
|
207
|
+
4096 && _ && j();
|
|
208
208
|
}, [
|
|
209
209
|
a,
|
|
210
210
|
u,
|
|
211
|
-
|
|
211
|
+
i,
|
|
212
212
|
O,
|
|
213
|
-
|
|
213
|
+
H,
|
|
214
214
|
M,
|
|
215
215
|
n,
|
|
216
|
-
|
|
216
|
+
l,
|
|
217
217
|
c,
|
|
218
218
|
r,
|
|
219
219
|
d,
|
|
@@ -226,12 +226,12 @@ function gt(e, t, o) {
|
|
|
226
226
|
}
|
|
227
227
|
class ft extends V {
|
|
228
228
|
constructor(t) {
|
|
229
|
-
super(),
|
|
229
|
+
super(), Q(
|
|
230
230
|
this,
|
|
231
231
|
t,
|
|
232
232
|
gt,
|
|
233
233
|
dt,
|
|
234
|
-
|
|
234
|
+
Y,
|
|
235
235
|
{
|
|
236
236
|
endpoint: 6,
|
|
237
237
|
session: 7,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
1
|
+
import { c as q, b as z, S as V, B as Q, Q as Y, t as p, f as Z, J as F, p as v, D as B, q as w, k as J, w as W, M as X, h as K, e as f, I as E, a2 as x, a3 as k, a0 as $, g as b, _ as tt, Y as I, U as L, V as et, W as nt, m as ot, a as st } from "./PlayerAccountController-C6MS18Sd.js";
|
|
2
|
+
const lt = (e, t = {}) => {
|
|
3
3
|
const o = new CustomEvent("track-custom-event", {
|
|
4
4
|
detail: {
|
|
5
5
|
type: e,
|
|
@@ -13,7 +13,7 @@ const it = (e, t = {}) => {
|
|
|
13
13
|
function P(e, t) {
|
|
14
14
|
q(e, t);
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function it(e) {
|
|
17
17
|
z.set(e);
|
|
18
18
|
}
|
|
19
19
|
const S = {
|
|
@@ -52,19 +52,19 @@ const S = {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
function at(e) {
|
|
55
|
-
|
|
55
|
+
Z(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
|
|
56
56
|
}
|
|
57
57
|
function rt(e) {
|
|
58
|
-
let t, o,
|
|
58
|
+
let t, o, i, n = (
|
|
59
59
|
/*$_*/
|
|
60
60
|
e[2]("logoutButton") + ""
|
|
61
|
-
),
|
|
61
|
+
), l, a, c;
|
|
62
62
|
return {
|
|
63
63
|
c() {
|
|
64
|
-
t =
|
|
64
|
+
t = w("div"), o = w("button"), i = w("span"), l = k(n), b(t, "class", "GeneralLogout");
|
|
65
65
|
},
|
|
66
66
|
m(r, d) {
|
|
67
|
-
B(r, t, d), f(t, o), f(o,
|
|
67
|
+
B(r, t, d), f(t, o), f(o, i), f(i, l), a || (c = E(
|
|
68
68
|
o,
|
|
69
69
|
"click",
|
|
70
70
|
/*click_handler_1*/
|
|
@@ -74,19 +74,19 @@ function rt(e) {
|
|
|
74
74
|
p(r, d) {
|
|
75
75
|
d & /*$_*/
|
|
76
76
|
4 && n !== (n = /*$_*/
|
|
77
|
-
r[2]("logoutButton") + "") && I(
|
|
77
|
+
r[2]("logoutButton") + "") && I(l, n);
|
|
78
78
|
},
|
|
79
79
|
d(r) {
|
|
80
|
-
r &&
|
|
80
|
+
r && v(t), a = !1, c();
|
|
81
81
|
}
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
function ut(e) {
|
|
85
|
-
let t, o,
|
|
85
|
+
let t, o, i, n, l, a, c, r, d, m, _, g = !/*isMobile*/
|
|
86
86
|
e[3] && ct(e);
|
|
87
87
|
return {
|
|
88
88
|
c() {
|
|
89
|
-
t =
|
|
89
|
+
t = w("p"), o = w("span"), i = x("svg"), n = x("defs"), l = x("style"), a = k(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), c = x("path"), r = x("path"), d = $(), g && g.c(), b(c, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), b(c, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), b(r, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), b(r, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), b(i, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), b(i, "data-name", "Layer 1"), b(i, "xmlns", "http://www.w3.org/2000/svg"), b(i, "viewBox", "0 0 150 150"), tt(o, "width", /*isMobile*/
|
|
90
90
|
e[3] ? (
|
|
91
91
|
/*mediaQuery*/
|
|
92
92
|
e[4].matches ? "20px" : "24px"
|
|
@@ -95,20 +95,20 @@ function ut(e) {
|
|
|
95
95
|
(e[4].matches && /*isMobile*/
|
|
96
96
|
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
97
97
|
},
|
|
98
|
-
m(
|
|
99
|
-
B(
|
|
98
|
+
m(h, u) {
|
|
99
|
+
B(h, t, u), f(t, o), f(o, i), f(i, n), f(n, l), f(l, a), f(i, c), f(i, r), f(t, d), g && g.m(t, null), m || (_ = E(
|
|
100
100
|
t,
|
|
101
101
|
"click",
|
|
102
102
|
/*click_handler*/
|
|
103
103
|
e[13]
|
|
104
|
-
),
|
|
104
|
+
), m = !0);
|
|
105
105
|
},
|
|
106
|
-
p(
|
|
106
|
+
p(h, u) {
|
|
107
107
|
/*isMobile*/
|
|
108
|
-
|
|
108
|
+
h[3] || g.p(h, u);
|
|
109
109
|
},
|
|
110
|
-
d(
|
|
111
|
-
|
|
110
|
+
d(h) {
|
|
111
|
+
h && v(t), g && g.d(), m = !1, _();
|
|
112
112
|
}
|
|
113
113
|
};
|
|
114
114
|
}
|
|
@@ -116,61 +116,61 @@ function ct(e) {
|
|
|
116
116
|
let t, o = (
|
|
117
117
|
/*$_*/
|
|
118
118
|
e[2]("logoutButton") + ""
|
|
119
|
-
),
|
|
119
|
+
), i;
|
|
120
120
|
return {
|
|
121
121
|
c() {
|
|
122
|
-
t =
|
|
122
|
+
t = w("span"), i = k(o), b(t, "class", "PlayerLogoutText");
|
|
123
123
|
},
|
|
124
|
-
m(n,
|
|
125
|
-
B(n, t,
|
|
124
|
+
m(n, l) {
|
|
125
|
+
B(n, t, l), f(t, i);
|
|
126
126
|
},
|
|
127
|
-
p(n,
|
|
128
|
-
|
|
127
|
+
p(n, l) {
|
|
128
|
+
l & /*$_*/
|
|
129
129
|
4 && o !== (o = /*$_*/
|
|
130
|
-
n[2]("logoutButton") + "") && I(
|
|
130
|
+
n[2]("logoutButton") + "") && I(i, o);
|
|
131
131
|
},
|
|
132
132
|
d(n) {
|
|
133
|
-
n &&
|
|
133
|
+
n && v(t);
|
|
134
134
|
}
|
|
135
135
|
};
|
|
136
136
|
}
|
|
137
137
|
function dt(e) {
|
|
138
138
|
let t;
|
|
139
|
-
function o(
|
|
139
|
+
function o(l, a) {
|
|
140
140
|
return (
|
|
141
141
|
/*buttonlocation*/
|
|
142
|
-
|
|
142
|
+
l[0] === "PlayerAccountMenu" ? ut : rt
|
|
143
143
|
);
|
|
144
144
|
}
|
|
145
|
-
let
|
|
145
|
+
let i = o(e), n = i(e);
|
|
146
146
|
return {
|
|
147
147
|
c() {
|
|
148
|
-
t =
|
|
148
|
+
t = w("div"), n.c();
|
|
149
149
|
},
|
|
150
|
-
m(
|
|
151
|
-
B(
|
|
150
|
+
m(l, a) {
|
|
151
|
+
B(l, t, a), n.m(t, null), e[15](t);
|
|
152
152
|
},
|
|
153
|
-
p(
|
|
154
|
-
|
|
153
|
+
p(l, [a]) {
|
|
154
|
+
i === (i = o(l)) && n ? n.p(l, a) : (n.d(1), n = i(l), n && (n.c(), n.m(t, null)));
|
|
155
155
|
},
|
|
156
156
|
i: F,
|
|
157
157
|
o: F,
|
|
158
|
-
d(
|
|
159
|
-
|
|
158
|
+
d(l) {
|
|
159
|
+
l && v(t), n.d(), e[15](null);
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
162
|
}
|
|
163
163
|
function gt(e, t, o) {
|
|
164
|
-
let
|
|
165
|
-
|
|
166
|
-
let { endpoint: n = "" } = t, { session:
|
|
167
|
-
const
|
|
168
|
-
fetch(_).then((
|
|
169
|
-
Object.keys(
|
|
170
|
-
P(A,
|
|
164
|
+
let i;
|
|
165
|
+
J(e, st, (s) => o(2, i = s));
|
|
166
|
+
let { endpoint: n = "" } = t, { session: l = "" } = t, { buttonlocation: a = "" } = t, { lang: c = "" } = t, { mbsource: r } = t, { clientstyling: d = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: _ = "" } = t, g = "", h = !1, u, C, T = window.navigator.userAgent, O = W(T) !== "PC";
|
|
167
|
+
const H = window.matchMedia("(min-width: 768px)"), j = () => {
|
|
168
|
+
fetch(_).then((y) => y.json()).then((y) => {
|
|
169
|
+
Object.keys(y).forEach((A) => {
|
|
170
|
+
P(A, y[A]);
|
|
171
171
|
});
|
|
172
|
-
}).catch((
|
|
173
|
-
console.log(
|
|
172
|
+
}).catch((y) => {
|
|
173
|
+
console.log(y);
|
|
174
174
|
});
|
|
175
175
|
};
|
|
176
176
|
Object.keys(S).forEach((s) => {
|
|
@@ -178,60 +178,60 @@ function gt(e, t, o) {
|
|
|
178
178
|
});
|
|
179
179
|
const M = () => {
|
|
180
180
|
let s = new Headers();
|
|
181
|
-
s.append("Content-type", "application/json"), s.append("X-SessionID",
|
|
182
|
-
let
|
|
183
|
-
fetch(`${n}/v1/player/session/player`,
|
|
184
|
-
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href),
|
|
181
|
+
s.append("Content-type", "application/json"), s.append("X-SessionID", l);
|
|
182
|
+
let y = { method: "DELETE", headers: s };
|
|
183
|
+
fetch(`${n}/v1/player/session/player`, y).then((A) => {
|
|
184
|
+
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), lt("logged_out", {});
|
|
185
185
|
});
|
|
186
|
-
}, G = () => (n || (g = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.",
|
|
187
|
-
|
|
186
|
+
}, G = () => (n || (g = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", h = !0, console.error(g)), l || (g = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", h = !0, console.error(g)), h), U = () => {
|
|
187
|
+
it(c);
|
|
188
188
|
};
|
|
189
|
-
|
|
189
|
+
X(() => () => {
|
|
190
190
|
});
|
|
191
|
-
const
|
|
192
|
-
function
|
|
193
|
-
|
|
191
|
+
const D = () => M(), N = () => M();
|
|
192
|
+
function R(s) {
|
|
193
|
+
K[s ? "unshift" : "push"](() => {
|
|
194
194
|
u = s, o(1, u);
|
|
195
195
|
});
|
|
196
196
|
}
|
|
197
197
|
return e.$$set = (s) => {
|
|
198
|
-
"endpoint" in s && o(6, n = s.endpoint), "session" in s && o(7,
|
|
198
|
+
"endpoint" in s && o(6, n = s.endpoint), "session" in s && o(7, l = s.session), "buttonlocation" in s && o(0, a = s.buttonlocation), "lang" in s && o(8, c = s.lang), "mbsource" in s && o(9, r = s.mbsource), "clientstyling" in s && o(10, d = s.clientstyling), "clientstylingurl" in s && o(11, m = s.clientstylingurl), "translationurl" in s && o(12, _ = s.translationurl);
|
|
199
199
|
}, e.$$.update = () => {
|
|
200
200
|
e.$$.dirty & /*endpoint, session, buttonlocation*/
|
|
201
|
-
193 && n &&
|
|
202
|
-
256 && c &&
|
|
201
|
+
193 && n && l && a && G(), e.$$.dirty & /*lang*/
|
|
202
|
+
256 && c && U(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
203
203
|
1026 && d && u && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
204
204
|
1026 && d && u && L(u, d), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
205
|
-
2050 &&
|
|
205
|
+
2050 && m && u && et(u, m), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
206
206
|
514 && r && u && nt(u, `${r}.Style`, C), e.$$.dirty & /*translationurl*/
|
|
207
|
-
4096 && _ &&
|
|
207
|
+
4096 && _ && j();
|
|
208
208
|
}, [
|
|
209
209
|
a,
|
|
210
210
|
u,
|
|
211
|
-
|
|
211
|
+
i,
|
|
212
212
|
O,
|
|
213
|
-
|
|
213
|
+
H,
|
|
214
214
|
M,
|
|
215
215
|
n,
|
|
216
|
-
|
|
216
|
+
l,
|
|
217
217
|
c,
|
|
218
218
|
r,
|
|
219
219
|
d,
|
|
220
|
-
|
|
220
|
+
m,
|
|
221
221
|
_,
|
|
222
|
+
D,
|
|
222
223
|
N,
|
|
223
|
-
R
|
|
224
|
-
U
|
|
224
|
+
R
|
|
225
225
|
];
|
|
226
226
|
}
|
|
227
227
|
class ft extends V {
|
|
228
228
|
constructor(t) {
|
|
229
|
-
super(),
|
|
229
|
+
super(), Q(
|
|
230
230
|
this,
|
|
231
231
|
t,
|
|
232
232
|
gt,
|
|
233
233
|
dt,
|
|
234
|
-
|
|
234
|
+
Y,
|
|
235
235
|
{
|
|
236
236
|
endpoint: 6,
|
|
237
237
|
session: 7,
|